NVIDIA DRIVE OS Linux API Reference Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaAlphaSurface Struct Reference

Detailed Description

Holds an Alpha Surface descriptor for video mixing.

Definition at line 469 of file nvmedia_vmp.h.

Collaboration diagram for NvMediaAlphaSurface:

Data Fields

 Holds a pointer to the surface. More...
 Holds the source rectangle. More...

Field Documentation

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.

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