NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

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

Detailed Description

Holds the NvMedia mask map surface.

With the destination rectangle, this mask map surface defines the region of interest in the destination image. The dstRect argument passed to NvMediaLDCCreateNew() defines the destination rectangle.

Definition at line 334 of file nvmedia_ldc.h.

Data Fields

uint16_t width
 Holds the width in bytes of the mask map surface, which must be equal to the width of the destination rectangle. More...
 
uint16_t height
 Holds the height in bytes of the mask map surface, which must be equal to the height of the destination rectangle. More...
 
void * mapPtr
 Holds the value for the mask map surface. More...
 
NvMediaBool maskedPixelFillColor
 Holds a flag indicating whether to fill the masked pixel with the specified color. More...
 

Field Documentation

uint16_t NvMediaLDCBitMaskMap::height

Holds the height in bytes of the mask map surface, which must be equal to the height of the destination rectangle.

Definition at line 341 of file nvmedia_ldc.h.

void* NvMediaLDCBitMaskMap::mapPtr

Holds the value for the mask map surface.

The mask map surface is stored row by row. Each byte is used to indicate whether this pixel has been masked or not. A non-zero pixel value means that the pixel is not to be masked. The size of this buffer in bytes must be width * height.

Definition at line 348 of file nvmedia_ldc.h.

NvMediaBool NvMediaLDCBitMaskMap::maskedPixelFillColor

Holds a flag indicating whether to fill the masked pixel with the specified color.

Definition at line 352 of file nvmedia_ldc.h.

uint16_t NvMediaLDCBitMaskMap::width

Holds the width in bytes of the mask map surface, which must be equal to the width of the destination rectangle.

Definition at line 337 of file nvmedia_ldc.h.


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