mfxFrameAllocRequest

Definition

 

 

typedef struct {

    union {

        mfxU32  AllocId;

        mfxU32  reserved[1];

    };

    mfxU32  reserved3[3];

    mfxFrameInfo    Info;

    mfxU16  Type;   /* decoder or processor render targets */

    mfxU16  NumFrameMin;

    mfxU16  NumFrameSuggested;

    mfxU16  reserved2;

} mfxFrameAllocRequest;

 

Description

 

 

The mfxFrameAllocRequest structure describes multiple frame allocations when initializing encoders, decoders and video preprocessors. A range specifies the number of video frames. Applications are free to allocate additional frames. In any case, the minimum number of frames must be at least NumFrameMin or the called function will return an error.

 

Members

 

 

AllocId

Unique (within the session) ID of component requested the allocation.

 

 

Info

Describes the properties of allocated frames

 

 

Type

Allocated memory type; see the ExtMemFrameType enumerator for details.

 

 

NumFrameMin

Minimum number of allocated frames

 

 

NumFrameSuggested

Suggested number of allocated frames

 

Change History

 

This structure is available since SDK API 1.0.

The SDK API 1.16 adds AllocId field.

 

 

 

 

 

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