NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release
NvMediaAlphaSurface Struct Reference

Detailed Description

Holds an Alpha Surface descriptor for video mixing.

Definition at line 489 of file nvmedia_vmp.h.

Collaboration diagram for NvMediaAlphaSurface:

Data Fields

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

Field Documentation

◆ alphaSurface

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 496 of file nvmedia_vmp.h.

◆ srcRect

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 501 of file nvmedia_vmp.h.


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