|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.6 Release For Test and Development only
|
Go to the documentation of this file.
15 #ifndef _NVMEDIA_VMP_H
16 #define _NVMEDIA_VMP_H
40 #define NVMEDIA_VMP_VERSION_MAJOR 2
42 #define NVMEDIA_VMP_VERSION_MINOR 6
54 #define NVMEDIA_VMP_FEATURE_BACKGROUND_PRESENT (1<<0)
60 #define NVMEDIA_VMP_FEATURE_INTERLACED (1<<1)
66 #define NVMEDIA_VMP_FEATURE_DEINTERLACING (1<<2)
72 #define NVMEDIA_VMP_FEATURE_ADVANCED1_DEINTERLACING (1<<3)
78 #define NVMEDIA_VMP_FEATURE_ADVANCED2_DEINTERLACING (1<<4)
84 #define NVMEDIA_VMP_FEATURE_LIMITED_RGB_INPUT (1<<5)
91 #define NVMEDIA_VMP_FEATURE_INVERSE_TELECINE (1<<6)
97 #define NVMEDIA_VMP_FEATURE_NOISE_REDUCTION (1<<7)
103 #define NVMEDIA_VMP_FEATURE_SHARPENING (1<<8)
110 #define NVMEDIA_VMP_FEATURE_ALPHA_SURFACE_MODE (1<<9)
116 #define NVMEDIA_VMP_FEATURE_PROTECTED (1<<10)
122 #define NVMEDIA_VMP_FEATURE_ENABLE_DFS (1<<11)
136 #define NVMEDIA_VMP_ATTR_BRIGHTNESS (1<<0)
141 #define NVMEDIA_VMP_ATTR_CONTRAST (1<<1)
146 #define NVMEDIA_VMP_ATTR_SATURATION (1<<2)
151 #define NVMEDIA_VMP_ATTR_HUE (1<<3)
156 #define NVMEDIA_VMP_ATTR_COLOR_STANDARD (1<<4)
161 #define NVMEDIA_VMP_ATTR_DEINTERLACE_TYPE (1<<6)
166 #define NVMEDIA_VMP_ATTR_NOISE_REDUCTION (1<<7)
171 #define NVMEDIA_VMP_ATTR_NOISE_REDUCTION_ALGORITHM (1<<8)
176 #define NVMEDIA_VMP_ATTR_SHARPENING (1<<9)
181 #define NVMEDIA_VMP_ATTR_INVERSE_TELECINE (1<<10)
186 #define NVMEDIA_VMP_ATTR_FILTER_QUALITY (1<<11)
191 #define NVMEDIA_VMP_ATTR_DESTINATION_ALPHA (1<<12)
196 #define NVMEDIA_VMP_ATTR_DESTINATION_PREMULTIPLY_ALPHA (1<<13)
201 #define NVMEDIA_VMP_ATTR_TRANSFORM (1<<14)
298 uint16_t mixerHeight,
299 float_t sourceAspectRatio,
301 uint16_t videoHeight,
454 uint32_t attributeMask,
NvMediaDeinterlaceType
Defines deinterlace types.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
@ NVMEDIA_DEINTERLACE_TYPE_ADVANCED2
Advanced2 deinterlacing.
void NvMediaVideoMixerDestroy(NvMediaVideoMixer *mixer)
Destroys a mixer created by NvMediaVideoMixerCreate.
@ NVMEDIA_PICTURE_STRUCTURE_BOTTOM_FIELD
The picture is a field, and is the bottom field of the surface.
NvMediaStatus NvMediaVideoMixerRenderSurface(NvMediaVideoMixer *mixer, NvMediaVideoSurface *outputSurface, NvMediaBackground *background, NvMediaVideoDesc *video)
Performs a video post-processing and compositing operation to a surface.
NvMediaColorStandard
Defines color standards.
NvMediaFilterQuality
Defines filter quality levels.
@ NVMEDIA_PICTURE_STRUCTURE_TOP_FIELD
The picture is a field, and is the top field of the surface.
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NvMediaNoiseReductionAlgorithm
Noise Reduction Algorithm.
NvMediaStatus
Defines all possible error codes.
@ NVMEDIA_DEINTERLACE_TYPE_BOB
BOB deinterlacing.
NvMediaVideoMixer * NvMediaVideoMixerCreate(NvMediaDevice *device, NvMediaSurfaceType surfaceType, uint16_t mixerWidth, uint16_t mixerHeight, float_t sourceAspectRatio, uint16_t videoWidth, uint16_t videoHeight, uint32_t features)
The principle job of the video mixer is to convert YUV data to RGB, and perform other post-processing...
NvMediaPictureStructure
Defines picture structure types.
@ NVMEDIA_DEINTERLACE_TYPE_ADVANCED1
Advanced1 deinterlacing.
@ NVMEDIA_PICTURE_STRUCTURE_FRAME
The picture is a frame, and hence is the entire surface.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
NvMediaStatus NvMediaVideoMixerGetVersion(NvMediaVersion *version)
Returns the version information for the Video Mixer library.
void NvMediaVideoMixerSetAttributes(NvMediaVideoMixer *mixer, uint32_t attributeMask, NvMediaVideoMixerAttributes *attributes)
Sets NvMediaVideoMixer attributes.
void NvMediaVideoMixer
A handle representing a video mixer object.
NvMediaStatus NvMediaVideoMixerRenderSurfaceWithAlpha(NvMediaVideoMixer *mixer, NvMediaVideoSurface *outputSurface, NvMediaBackground *background, NvMediaVideoDesc *video, NvMediaAlphaSurface *alpha)
Performs post-processing and compositing with alpha channel replacement.