NVIDIA DRIVE OS Linux API Reference

5.1.0.2 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 destination rectangle, this mask map surface defines the region of interest in the destination image. The dstRect argument passed to NvMediaLDCCreate() defines the destination rectangle.

Definition at line 324 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 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 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 331 of file nvmedia_ldc.h.

void* NvMediaLDCBitMaskMap::mapPtr

Holds the value for 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. Non-zero value pixel means will not be masked. The size of this buffer in bytes must be: width * height.

Definition at line 338 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 341 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 destination rectangle.

Definition at line 327 of file nvmedia_ldc.h.


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