mfxExtMBQP

Definition

 

 

typedef struct {

    mfxExtBuffer    Header;

 

    mfxU32 reserved[11];

    mfxU32 NumQPAlloc;

    union {

        mfxU8  *QP;

        mfxU64 reserved2;

    };

} mfxExtMBQP;

 

Description

 

 

The mfxExtMBQP structure specifies per-macroblock QP for current frame if mfxExtCodingOption3::EnableMBQP was turned ON during encoder initialization. The application can attach this extended buffer to the mfxEncodeCtrl during runtime.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_MBQP.

 

 

NumQPAlloc

The allocated QP array size.

 

 

QP

Pointer to a list of per-macroblock QP in raster scan order. In case of interlaced encoding the first half of QP array affects top field and the second – bottom field.

For AVC valid range is 1..51.

For MPEG2 QP corresponds to quantizer_scale of the ISO*/IEC* 13818-2 specification and have valid range 1..112.

 

Change History

 

This structure is available since SDK API 1.13.

 


 

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