NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only
NvMediaVideoMixerAttributes Struct Reference

Detailed Description

Holds video mixer attributes.

Definition at line 318 of file nvmedia_vmp.h.

Data Fields

float_t brightness
 A value clamped to between -1.0 and 1.0, initialized to 0.0 at NvMediaVideoMixer creation. More...
 
float_t contrast
 A value clamped to between 0.0 and 10.0, initialized to 1.0 at NvMediaVideoMixer creation. More...
 
float_t saturation
 A value clamped to between 0.0 and 10.0, initialized to 1.0 at NvMediaVideoMixer creation. More...
 
float_t hue
 A value clamped to between -PI and PI, initialized to 0.0 at NvMediaVideoMixer creation. More...
 
NvMediaColorStandard colorStandard
 Color standard for input video. More...
 
NvMediaDeinterlaceType deinterlaceType
 Deintelacing type for input video. More...
 
float_t noiseReduction
 Holds a value confined to the range 0.0 to 1.0, initialized 0.0 at NvMediaVideoMixer creation. More...
 
NvMediaNoiseReductionAlgorithm noiseReductionAlgorithm
 Holds a Noise Reduction Algorithm, which must be one of the following: More...
 
float_t sharpening
 A value confined to the range 0.0 and 1.0, initialized 0.0 at NvMediaVideoMixer creation. More...
 
NvMediaBool inverseTelecine
 A boolean initialized to NVMEDIA_FALSE at NvMediaVideoMixer creation. More...
 
NvMediaFilterQuality filterQuality
 Filter quality. More...
 
float_t destinationAlpha
 Holds a value confined to the range 0.0 and 1.0. More...
 
NvMediaBool premultiplyAlpha
 Holds a flag that specifies to pre-multiply the output surface by the alpha channel. More...
 
NvMediaTransform dstTransform
 Specifies one of the destination transformation: More...
 

Field Documentation

◆ brightness

float_t NvMediaVideoMixerAttributes::brightness

A value clamped to between -1.0 and 1.0, initialized to 0.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_BRIGHTNESS.

Definition at line 323 of file nvmedia_vmp.h.

◆ colorStandard

NvMediaColorStandard NvMediaVideoMixerAttributes::colorStandard

Color standard for input video.

One of the following:

Definition at line 346 of file nvmedia_vmp.h.

◆ contrast

float_t NvMediaVideoMixerAttributes::contrast

A value clamped to between 0.0 and 10.0, initialized to 1.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_CONTRAST.

Definition at line 328 of file nvmedia_vmp.h.

◆ deinterlaceType

NvMediaDeinterlaceType NvMediaVideoMixerAttributes::deinterlaceType

Deintelacing type for input video.

One of the following:

Definition at line 353 of file nvmedia_vmp.h.

◆ destinationAlpha

float_t NvMediaVideoMixerAttributes::destinationAlpha

Holds a value confined to the range 0.0 and 1.0.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_DESTINATION_ALPHA.

Definition at line 399 of file nvmedia_vmp.h.

◆ dstTransform

◆ filterQuality

NvMediaFilterQuality NvMediaVideoMixerAttributes::filterQuality

Filter quality.

One of the following:

Definition at line 393 of file nvmedia_vmp.h.

◆ hue

float_t NvMediaVideoMixerAttributes::hue

A value clamped to between -PI and PI, initialized to 0.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_HUE.

Definition at line 338 of file nvmedia_vmp.h.

◆ inverseTelecine

NvMediaBool NvMediaVideoMixerAttributes::inverseTelecine

A boolean initialized to NVMEDIA_FALSE at NvMediaVideoMixer creation.

This option is ignored unless using ADVANCED1/2 deinterlacing at field-rate output. The corresponding attribute mask is NVMEDIA_VMP_ATTR_INVERSE_TELECINE.

Definition at line 385 of file nvmedia_vmp.h.

◆ noiseReduction

float_t NvMediaVideoMixerAttributes::noiseReduction

Holds a value confined to the range 0.0 to 1.0, initialized 0.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_NOISE_REDUCTION.

Definition at line 359 of file nvmedia_vmp.h.

◆ noiseReductionAlgorithm

◆ premultiplyAlpha

NvMediaBool NvMediaVideoMixerAttributes::premultiplyAlpha

Holds a flag that specifies to pre-multiply the output surface by the alpha channel.

The flag is initialized to NVMEDIA_FALSE at NvMediaVideoMixer creation. This option is applies only when using API NvMediaVideoMixerRenderSurfaceWithAlpha(). The corresponding attribute mask is NVMEDIA_VMP_ATTR_DESTINATION_PREMULTIPLY_ALPHA. With this option enabled, the output surface is pre-multiplied by the alpha channel.

Definition at line 411 of file nvmedia_vmp.h.

◆ saturation

float_t NvMediaVideoMixerAttributes::saturation

A value clamped to between 0.0 and 10.0, initialized to 1.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_SATURATION.

Definition at line 333 of file nvmedia_vmp.h.

◆ sharpening

float_t NvMediaVideoMixerAttributes::sharpening

A value confined to the range 0.0 and 1.0, initialized 0.0 at NvMediaVideoMixer creation.

The corresponding attribute mask is NVMEDIA_VMP_ATTR_SHARPENING.

Definition at line 377 of file nvmedia_vmp.h.


The documentation for this struct was generated from the following file: