![]() |
NVIDIA DRIVE 5.0 Linux SDK API Reference5.0.10.3 Release |
Holds an Alpha Surface descriptor for video mixing.
Definition at line 469 of file nvmedia_vmp.h.
Data Fields | |
NvMediaVideoSurface * | alphaSurface |
Holds a pointer to the surface. More... | |
NvMediaRect * | srcRect |
Holds the source rectangle. More... | |
NvMediaVideoSurface* NvMediaAlphaSurface::alphaSurface |
Holds a pointer to the surface.
This surface type must be obtained by /ref NvMediaSurfaceFormatGetType with: /ref NVM_SURF_FMT_SET_ATTR_RGBA(attr, ALPHA, UINT, 8, BL) /ref NVM_SURF_FMT_SET_ATTR_YUV(attr, YUV, 420, SEMI_PLANAR, UINT, 8, BL) If it is YUV 420 semi planar surface, the Y channel is used as the alpha surface.
Definition at line 476 of file nvmedia_vmp.h.
NvMediaRect* NvMediaAlphaSurface::srcRect |
Holds the source rectangle.
This rectangle is scaled to the mixer size. A value of NULL implies a rectangle that is the full size of the alpha surface.
Definition at line 481 of file nvmedia_vmp.h.