56 #ifndef NV_VPI_ALGORITHMS_TEMPORAL_NOISE_REDUCTION_H 
   57 #define NV_VPI_ALGORITHMS_TEMPORAL_NOISE_REDUCTION_H 
   59 #include "../Export.h" 
   60 #include "../ImageFormat.h" 
   61 #include "../Status.h" 
struct VPIImageImpl * VPIImage
A handle to an image.
 
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
 
struct VPIStreamImpl * VPIStream
A handle to a stream.
 
float strength
Noise reduction strength.
 
VPITNRPreset preset
Scene preset to be used.
 
VPIStatus vpiSubmitTemporalNoiseReduction(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage prevFrame, VPIImage curFrame, VPIImage outFrame, const VPITNRParams *params)
Submits a Temporal Noise Reduction operation to the stream.
 
VPIStatus vpiInitTemporalNoiseReductionParams(VPITNRParams *params)
Initializes vpiSubmitTemporalNoiseReduction with default values.
 
VPITNRPreset
Defines scene presets for temporal noise reduction.
 
VPIStatus vpiCreateTemporalNoiseReduction(uint64_t backends, int32_t width, int32_t height, VPIImageFormat imgFormat, VPITNRVersion version, VPIPayload *payload)
Creates a payload for Temporal Noise Reduction algorithm.
 
VPITNRVersion
Defines the version of the Temporal Noise Reduction algorithm to be used.
 
@ VPI_TNR_PRESET_OUTDOOR_HIGH_LIGHT
Bright light outdoor scene.
 
@ VPI_TNR_PRESET_INDOOR_HIGH_LIGHT
Bright light indoor scene.
 
@ VPI_TNR_PRESET_DEFAULT
Default preset, suitable for most scenes.
 
@ VPI_TNR_PRESET_OUTDOOR_MEDIUM_LIGHT
Medium light outdoor scene.
 
@ VPI_TNR_PRESET_OUTDOOR_LOW_LIGHT
Low light outdoor scene.
 
@ VPI_TNR_PRESET_INDOOR_LOW_LIGHT
Low light indoor scene.
 
@ VPI_TNR_PRESET_INDOOR_MEDIUM_LIGHT
Medium light indoor scene.
 
@ VPI_TNR_V2
Version 2, offers noise reduction strength control with decent processing speed.
 
@ VPI_TNR_V3
Version 3, offers quite good quality overall, specially in dark scenes.
 
@ VPI_TNR_V1
Version 1, without scene control and somewhat poor noise reduction capability specially in dark scene...
 
@ VPI_TNR_DEFAULT
Chooses the version with best quality available in the current device and given backend.
 
Structure that defines the parameters for vpiSubmitTemporalNoiseReduction.