mfxExtLAFrameStatistics

Definition

 

 

typedef struct

{

    mfxU16  Width;

    mfxU16  Height;

 

    mfxU32  FrameType;

    mfxU32  FrameDisplayOrder;

    mfxU32  FrameEncodeOrder;

 

    mfxU32  IntraCost;

    mfxU32  InterCost;

    mfxU32  DependencyCost;

    mfxU16  Layer;

    mfxU16  reserved[23];

 

    mfxU64 EstimatedRate[52];

}mfxLAFrameInfo;

 

typedef struct  {

    mfxExtBuffer    Header;

 

    mfxU16  reserved[20];

 

    mfxU16  NumAlloc;

    mfxU16  NumStream;

    mfxU16  NumFrame;

    mfxLAFrameInfo   *FrameStat;

 

    mfxFrameSurface1 *OutSurface;

 

} mfxExtLAFrameStatistics;

 

Description

 

 

The mfxExtLAFrameStatistics structure is used to pass standalone look ahead statistics to the SDK encoder in one to N transcode scenario. This structure is used at runtime and should be attached to the mfxENCOutput structure and then passed, attached, to the mfxEncodeCtrl structure.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_LOOKAHEAD_STAT.

 

 

NumAlloc

Number of allocated elements in the FrameStat array.

 

 

NumStream

Number of streams in the FrameStat array.

 

 

NumFrame

Number of frames for each stream in the FrameStat array.

 

 

FrameStat

LA statistics for each frame in output stream.

 

 

Width

Output stream width.

 

 

Height

Output stream height.

 

 

FrameType

Output frame type.

 

 

FrameDisplayOrder

Output frame number in display order.

 

 

FrameEncodeOrder

Output frame number in encoding order.

 

 

IntraCost

Intra cost of output frame.

 

 

InterCost

Inter cost of output frame.

 

 

DependencyCost

Aggregated dependency cost. It shows how this frame influences subsequent frames.

 

 

Layer

BPyramid layer number. zero if BPyramid is not used.

 

 

EstimatedRate

Estimated rate for each QP.

 

 

OutSurface

Output surface.

 

Change History

 

This structure is available since SDK API 1.10.

 

 

The SDK API 1.15 adds Layer field.

 

 

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