Description

 

 

The ExtMemFrameType enumerator specifies the memory type of frame. It is a bit-ORed value of the following. For information on working with video memory surfaces, see the section Working with hardware acceleration.

 

Name/Description

 

 

MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET

Frames are in video memory and belong to video decoder render targets.

 

 

MFX_MEMTYPE_VIDEO_MEMORY_PROCESSOR_TARGET

Frames are in video memory and belong to video processor render targets.

 

 

MFX_MEMTYPE_SYSTEM_MEMORY

The frames are in system memory.

 

 

MFX_MEMTYPE_FROM_ENCODE

Allocation request comes from an ENCODE function

 

 

MFX_MEMTYPE_FROM_DECODE

Allocation request comes from a DECODE function

 

 

MFX_MEMTYPE_FROM_VPPIN

Allocation request comes from a VPP function for input frame allocation

 

 

MFX_MEMTYPE_FROM_VPPOUT

Allocation request comes from a VPP function for output frame allocation

 

 

MFX_MEMTYPE_FROM_ENC

Allocation request comes from an ENC function

 

 

MFX_MEMTYPE_FROM_PAK

Reserved

 

 

MFX_MEMTYPE_INTERNAL_FRAME

Allocation request for internal frames

 

 

MFX_MEMTYPE_EXTERNAL_FRAME

Allocation request for I/O frames

 

 

MFX_MEMTYPE_OPAQUE_FRAME

Allocation request for opaque frames

 

 

MFX_MEMTYPE_EXPORT_FRAME

Application requests frame handle export to some associated object. For Linux frame handle can be considered to be exported to DRM Prime FD, DRM FLink or DRM FrameBuffer Handle. Specifics of export types and export procedure depends on external frame allocator implementation

 

 

MFX_MEMTYPE_SHARED_RESOURCE

For DX11 allocation use shared resource bind flag.

 

Remarks

 

The application may use macro MFX_MEMTYPE_BASE to extract the base memory types, one of MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET, MFX_MEMTYPE_VIDEO_MEMORY_PROCESSOR_TARGET, and MFX_MEMTYPE_SYSTEM_MEMORY.

 

Change History

 

This enumerator is available since SDK API 1.0. SDK API 1.3 extended the MFX_MEMTYPE_OPAQUE_FRAME definition and the MFX_MEMTYPE_BASE macro definition.

SDK API 1.17 adds MFX_MEMTYPE_EXPORT_FRAME.

SDK API 1.19 adds MFX_MEMTYPE_SHARED_RESOURCE.

 

 

 

 

 

Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.