NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_vmp.h File Reference

Detailed Description

NVIDIA Media Interface: VMP Processing Control

Description: This file contains the Image Video Media Processing (VMP) API.

Definition in file nvmedia_vmp.h.

Go to the source code of this file.

Data Structures

struct  NvMediaVideoMixerAttributes
 Holds video mixer attributes. More...
 
struct  NvMediaBackground
 Background descriptor for video mixing. More...
 
struct  NvMediaVideoDesc
 Video descriptor for video mixing. More...
 
struct  NvMediaAlphaSurface
 Holds an Alpha Surface descriptor for video mixing. More...
 

Macros

#define NVMEDIA_VMP_VERSION_MAJOR   2
 Major Version number. More...
 
#define NVMEDIA_VMP_VERSION_MINOR   2
 Minor Version number. More...
 
#define NVMEDIA_VMP_FEATURE_BACKGROUND_PRESENT
 Specifies that background is used in the video mixer. More...
 
#define NVMEDIA_VMP_FEATURE_INTERLACED
 Video is interlaced. More...
 
#define NVMEDIA_VMP_FEATURE_DEINTERLACING
 Specifies that video is interlaced and it needs deiterlacing. More...
 
#define NVMEDIA_VMP_FEATURE_ADVANCED1_DEINTERLACING
 Enables support for advanced1 de-interlacing. More...
 
#define NVMEDIA_VMP_FEATURE_ADVANCED2_DEINTERLACING
 Enable support for advanced2 de-interlacing. More...
 
#define NVMEDIA_VMP_FEATURE_LIMITED_RGB_INPUT
 Input uses limited (16-235) RGB range. More...
 
#define NVMEDIA_VMP_FEATURE_INVERSE_TELECINE
 Enable support for inverse telecine processing. More...
 
#define NVMEDIA_VMP_FEATURE_NOISE_REDUCTION
 Enable support for noise reduction video processing. More...
 
#define NVMEDIA_VMP_FEATURE_SHARPENING
 Enable support for sharpening video processing. More...
 
#define NVMEDIA_VMP_FEATURE_ALPHA_SURFACE_MODE
 Enables the Alpha surface blending mode. More...
 
#define NVMEDIA_VMP_FEATURE_PROTECTED
 Enable support for processing into VPR surfaces. More...
 
#define NVMEDIA_VMP_FEATURE_ENABLE_DFS
 Enable dynamic frequency setting for mixer hardware block. More...
 
#define NVMEDIA_VMP_ATTR_BRIGHTNESS
 Brightness. More...
 
#define NVMEDIA_VMP_ATTR_CONTRAST
 Contrast. More...
 
#define NVMEDIA_VMP_ATTR_SATURATION
 Sturation. More...
 
#define NVMEDIA_VMP_ATTR_HUE
 Hue. More...
 
#define NVMEDIA_VMP_ATTR_COLOR_STANDARD
 Color Standard for video input. More...
 
#define NVMEDIA_VMP_ATTR_DEINTERLACE_TYPE
 Deintelacing type. More...
 
#define NVMEDIA_VMP_ATTR_NOISE_REDUCTION
 Noise reduction level. More...
 
#define NVMEDIA_VMP_ATTR_NOISE_REDUCTION_ALGORITHM
 Noise reduction algorithm. More...
 
#define NVMEDIA_VMP_ATTR_SHARPENING
 Sharpening level. More...
 
#define NVMEDIA_VMP_ATTR_INVERSE_TELECINE
 Inverse telecine control. More...
 
#define NVMEDIA_VMP_ATTR_FILTER_QUALITY
 Filter quality mode. More...
 
#define NVMEDIA_VMP_ATTR_DESTINATION_ALPHA
 Enables the alpha value for an RGBA surface. More...
 
#define NVMEDIA_VMP_ATTR_DESTINATION_PREMULTIPLY_ALPHA
 Premultiply the output with the provided alpha surface. More...
 
#define NVMEDIA_VMP_ATTR_TRANSFORM
 Apply transformation on the destination surface. More...
 

Typedefs

typedef void NvMediaVideoMixer
 A handle representing a video mixer object. More...
 

Enumerations

enum  NvMediaDeinterlaceType {
  NVMEDIA_DEINTERLACE_TYPE_BOB,
  NVMEDIA_DEINTERLACE_TYPE_ADVANCED1,
  NVMEDIA_DEINTERLACE_TYPE_ADVANCED2
}
 Defines deinterlace types. More...
 
enum  NvMediaPictureStructure {
  NVMEDIA_PICTURE_STRUCTURE_TOP_FIELD,
  NVMEDIA_PICTURE_STRUCTURE_BOTTOM_FIELD,
  NVMEDIA_PICTURE_STRUCTURE_FRAME
}
 Defines picture structure types. More...
 

Functions

NvMediaStatus NvMediaVideoMixerGetVersion (NvMediaVersion *version)
 Returns the version information for the Video Mixer library. More...
 
NvMediaVideoMixerNvMediaVideoMixerCreate (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 at the same time, such as deinterlacing. More...
 
void NvMediaVideoMixerDestroy (NvMediaVideoMixer *mixer)
 Destroys a mixer created by NvMediaVideoMixerCreate. More...
 
void NvMediaVideoMixerSetAttributes (NvMediaVideoMixer *mixer, uint32_t attributeMask, NvMediaVideoMixerAttributes *attributes)
 Sets NvMediaVideoMixer attributes. More...
 
NvMediaStatus NvMediaVideoMixerRenderSurface (NvMediaVideoMixer *mixer, NvMediaVideoSurface *outputSurface, NvMediaBackground *background, NvMediaVideoDesc *video)
 Performs a video post-processing and compositing operation to a surface. More...
 
NvMediaStatus NvMediaVideoMixerRenderSurfaceWithAlpha (NvMediaVideoMixer *mixer, NvMediaVideoSurface *outputSurface, NvMediaBackground *background, NvMediaVideoDesc *video, NvMediaAlphaSurface *alpha)
 Performs post-processing and compositing with alpha channel replacement. More...