Holds the Mask Map information.
With the destination rectangle, this mask map surface defines the region of interest in the destination image. The dstRect argument passed to NvMediaLdcSetGeometry() defines the destination rectangle.
Definition at line 427 of file nvmedia_ldc.h.
Data Fields | |
uint32_t | width |
Holds the width in pixels of the mask map surface, which must be equal to the width of the destination rectangle. More... | |
uint32_t | height |
Holds the height in pixels of the mask map surface, which must be equal to the height of the destination rectangle. More... | |
bool | useMaskColor |
Indicates whether to fill the masked pixel with the mask color. More... | |
float | maskColorY |
Holds the Y channel value of the mask color. More... | |
float | maskColorU |
Holds the U channel value of the mask color. More... | |
float | maskColorV |
Holds the V channel value of the mask color. More... | |
const bool * | pixelMasks |
Holds the value for the Mask Map surface. More... | |
uint32_t NvMediaLdcMaskMapParameters::height |
Holds the height in pixels of the mask map surface, which must be equal to the height of the destination rectangle.
Definition at line 435 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorU |
Holds the U channel value of the mask color.
Definition at line 445 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorV |
Holds the V channel value of the mask color.
Definition at line 448 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorY |
Holds the Y channel value of the mask color.
Definition at line 442 of file nvmedia_ldc.h.
const bool* NvMediaLdcMaskMapParameters::pixelMasks |
Holds the value for the Mask Map surface.
The Mask Map surface is stored row by row. Each stored bool value is used to indicate whether this pixel has been masked or not. A true value means that the pixel is not to be masked. The buffer needs to hold width * height bool objects.
Definition at line 456 of file nvmedia_ldc.h.
bool NvMediaLdcMaskMapParameters::useMaskColor |
Indicates whether to fill the masked pixel with the mask color.
Definition at line 439 of file nvmedia_ldc.h.
uint32_t NvMediaLdcMaskMapParameters::width |
Holds the width in pixels of the mask map surface, which must be equal to the width of the destination rectangle.
Definition at line 431 of file nvmedia_ldc.h.