mfxExtAvcTemporalLayers

Definition

 

 

typedef struct {

    mfxExtBuffer    Header;

    mfxU32          reserved1[4];

    mfxU16          reserved2;

    mfxU16          BaseLayerPID;

 

    struct {

        mfxU16 Scale;

        mfxU16 reserved[3];

    } Layer[8];

} mfxExtAvcTemporalLayers;

 

Description

 

 

The mfxExtAvcTemporalLayers structure configures the H.264 temporal layers hierarchy. If application attaches it to the mfxVideoParam structure during initialization, the SDK encoder generates the temporal layers and inserts the prefix NAL unit before each slice to indicate the temporal and priority IDs of the layer.

This structure can be used with the display-order encoding mode only.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_AVC_TEMPORAL_LAYERS

 

 

BaseLayerPID

The priority ID of the base layer; the SDK encoder increases the ID for each temporal layer and writes to the prefix NAL unit.

 

 

Scale

The ratio between the frame rates of the current temporal layer and the base layer.

 

 

Layer

The array of temporal layers; Use Scale=0 to specify absent layers.

 

Change History

 

This structure is available since SDK API 1.3.

 

 

 

 

 

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