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 463 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 471 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorU |
Holds the U channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 487 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorV |
Holds the V channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 493 of file nvmedia_ldc.h.
float NvMediaLdcMaskMapParameters::maskColorY |
Holds the Y channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 481 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 501 of file nvmedia_ldc.h.
bool NvMediaLdcMaskMapParameters::useMaskColor |
Indicates whether to fill the masked pixel with the mask color.
Definition at line 475 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 467 of file nvmedia_ldc.h.