Holds the LDC 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 NvMedia2DSetSrcGeometry() defines the destination rectangle.
Usage considerations
Definition at line 987 of file nvmedia_2d.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 NvMedia2DLdcMaskMapParameters::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 995 of file nvmedia_2d.h.
| float NvMedia2DLdcMaskMapParameters::maskColorU |
Holds the U channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 1011 of file nvmedia_2d.h.
| float NvMedia2DLdcMaskMapParameters::maskColorV |
Holds the V channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 1017 of file nvmedia_2d.h.
| float NvMedia2DLdcMaskMapParameters::maskColorY |
Holds the Y channel value of the mask color.
If used, must be in range [0, 1].
Definition at line 1005 of file nvmedia_2d.h.
| const bool* NvMedia2DLdcMaskMapParameters::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 1025 of file nvmedia_2d.h.
| bool NvMedia2DLdcMaskMapParameters::useMaskColor |
Indicates whether to fill the masked pixel with the mask color.
Definition at line 999 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcMaskMapParameters::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 991 of file nvmedia_2d.h.