mfxExtCodingOptionVPS

Definition

 

 

typedef struct {

    mfxExtBuffer    Header;

 

    union {

        mfxU8       *VPSBuffer;

        mfxU64      reserved1;

    };

    mfxU16          VPSBufSize;

    mfxU16          VPSId;

 

    mfxU16          reserved[6];

} mfxExtCodingOptionVPS;

 

Description

 

 

Attach this structure as part of the mfxVideoParam extended buffers to configure the SDK encoder during MFXVideoENCODE_Init. The sequence or picture parameters specified by this structure overwrite any such parameters specified by the mfxVideoParam structure or any other extended buffers attached therein.

If the encoder does not support the specified parameters, the encoder does not initialize and returns the status code MFX_ERR_INCOMPATIBLE_VIDEO_PARAM.

Check with the MFXVideoENCODE_Query function for the support of this multiple segemnt encoding feature. If this feature is not supported, the query returns MFX_ERR_UNSUPPORTED.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_CODING_OPTION_VPS.

 

 

VPSBuffer

Pointer to a valid bitstream that contains the VPS (video parameter set for HEVC) buffer.

 

 

VPSBufSize

Size of the VPS in bytes

 

 

VPSId

VPS identifier; the value is reserved and must be zero.

 

Change History

 

This structure is available since SDK API 1.17.

 

 

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