mfxExtAVCRefLists

Definition

 

 

typedef struct {

    mfxExtBuffer    Header;

    mfxU16          NumRefIdxL0Active;

    mfxU16          NumRefIdxL1Active;

    mfxU16          reserved[2];

 

    struct mfxRefPic{

        mfxU32      FrameOrder;

        mfxU16      PicStruct;

        mfxU16      reserved[5];

    } RefPicList0[32], RefPicList1[32];

 

}mfxExtAVCRefLists;

 

Description

 

 

The mfxExtAVCRefLists structure specifies reference lists for the SDK encoder. It may be used together with the mfxExtAVCRefListCtrl structure to create customized reference lists. If both structures are used together, then the SDK encoder takes reference lists from mfxExtAVCRefLists structure and modifies them according to the mfxExtAVCRefListCtrl instructions. In case of interlaced coding, the first mfxExtAVCRefLists structure affects TOP field and the second – BOTTOM field.

Not all implementations of the SDK encoder support this structure. The application has to use query function to determine if it is supported

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_AVC_REFLISTS

 

 

NumRefIdxL0Active

Specify the number of reference frames in the active reference list L0. This number should be less or equal to the NumRefFrame parameter from encoding initialization.

 

 

NumRefIdxL1Active

Specify the number of reference frames in the active reference list L1. This number should be less or equal to the NumRefFrame parameter from encoding initialization.

 

 

RefPicList0, RefPicList1

Specify L0 and L1 reference lists.

 

 

FrameOrder

PicStruct

Together these fields are used to identify reference picture. Use FrameOrder = MFX_FRAMEORDER_UNKNOWN to mark unused entry. Use PicStruct = MFX_PICSTRUCT_FIELD_TFF for TOP field, PicStruct = MFX_PICSTRUCT_FIELD_BFF for BOTTOM field.

 

Change History

 

This structure is available since SDK API 1.9.

 

 

 

 

 

 

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