Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.9 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    NvMediaLdcMaskMapParameters Struct Reference

    Detailed Description

    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.

    See also
    NvMediaLdcSetMaskMapParameters()

    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...
     

    Field Documentation

    ◆ height

    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.

    ◆ maskColorU

    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.

    ◆ maskColorV

    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.

    ◆ maskColorY

    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.

    ◆ pixelMasks

    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.

    ◆ useMaskColor

    bool NvMediaLdcMaskMapParameters::useMaskColor

    Indicates whether to fill the masked pixel with the mask color.

    Definition at line 475 of file nvmedia_ldc.h.

    ◆ width

    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.


    The documentation for this struct was generated from the following file:
    人人超碰97caoporen国产