mfxExtVPPVideoSignalInfo

Definition

 

 

/* TransferMatrix */

enum {

    MFX_TRANSFERMATRIX_UNKNOWN = 0,

    MFX_TRANSFERMATRIX_BT709   = 1,

    MFX_TRANSFERMATRIX_BT601   = 2

};

 

/* NominalRange */

enum {

    MFX_NOMINALRANGE_UNKNOWN   = 0,

    MFX_NOMINALRANGE_0_255     = 1,

    MFX_NOMINALRANGE_16_235    = 2

};

 

typedef struct {

    mfxExtBuffer    Header;

    mfxU16          reserved1[4];

 

    union {

        struct { // Init

            struct  {

                mfxU16  TransferMatrix;

                mfxU16  NominalRange;

                mfxU16  reserved2[6];

            } In, Out;

        };

        struct { // Runtime

            mfxU16  TransferMatrix;

            mfxU16  NominalRange;

            mfxU16  reserved3[14];

        };

    };

} mfxExtVPPVideoSignalInfo;

 

Description

 

 

The mfxExtVPPVideoSignalInfo structure is used to control transfer matrix and nominal range of YUV frames. The application should provide it during initialization. It is supported for all kinds of conversion YUV->YUV, YUV->RGB, RGB->YUV.

This structure is used by VPP only and is not compatible with mfxExtVideoSignalInfo.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_VPP_VIDEO_SIGNAL_INFO

 

 

TransferMatrix

Transfer matrix

 

 

NominalRange

Nominal range

 

Change History

 

This structure is available since SDK API 1.8.

 

 

 

For more complete information about compiler optimizations, see our Optimization Notice.