mfxIMPL

Description

 

 

The mfxIMPL enumerator itemizes SDK implementation types. The implementation type is a bit OR’ed value of the base type and any decorative flags.

 

Name/Description

 

 

MFX_IMPL_AUTO

Find the best SDK implementation automatically. It includes either hardware-accelerated implementation on the default acceleration device or software implementation.

This value is obsolete and it is recommended to use MFX_IMPL_AUTO_ANY instead.

 

 

MFX_IMPL_SOFTWARE

Use the software implementation

 

 

MFX_IMPL_HARDWARE

Use the hardware-accelerated implementation on the default acceleration device

 

 

MFX_IMPL_RUNTIME

This value cannot be used for session initialization. It may be returned by MFXQueryIMPL function to show that session has been initialized in run time mode.

 

 

MFX_IMPL_UNSUPPORTED

Failed to locate the desired SDK implementation

 

If the acceleration device is not default device, use the following values to initialize the SDK libraries on an alternative acceleration device.

 

 

MFX_IMPL_AUTO_ANY

Find the SDK implementation on any acceleration device including the default acceleration device and the SDK software library.

 

 

MFX_IMPL_HARDWARE_ANY

Find the hardware-accelerated implementation on any acceleration device including the default acceleration device.

 

 

MFX_IMPL_HARDWARE2

Use the hardware-accelerated implementation on the second acceleration device.

 

 

MFX_IMPL_HARDWARE3

Use the hardware-accelerated implementation on the third acceleration device.

 

 

MFX_IMPL_HARDWARE4

Use the hardware-accelerated implementation on the fourth acceleration device.

 

Use the following decorative flags to specify the OS infrastructure that hardware acceleration should base on.

 

 

MFX_IMPL_VIA_D3D9

Hardware acceleration goes through the Microsoft* Direct3D9* infrastructure.

 

 

MFX_IMPL_VIA_D3D11

Hardware acceleration goes through the Microsoft* Direct3D11* infrastructure.

 

 

MFX_IMPL_VIA_VAAPI

Hardware acceleration goes through the Linux* VA API infrastructure.

 

 

MFX_IMPL_VIA_ANY

Hardware acceleration can go through any supported OS infrastructure. This is default value, it is used by the SDK if none of MFX_IMPL_VIA_xxx flag is specified by application.

 

 

 

 

MFX_IMPL_AUDIO

Load audio library. It can be used only together with MFX_IMPL_SOFTWARE, any other combinations lead to error.

 

Change History

 

This enumerator is available since SDK API 1.0.

SDK API 1.1 added support of multiple devices.

SDK API 1.3 added support of OS infrastructure definitions.

SDK API 1.6 changed defauls OS infrustructure from MFX_IMPL_VIA_D3D9 to MFX_IMPL_VIA_ANY.

SDK API 1.8 added support of MFX_IMPL_AUDIO and MFX_IMPL_VIA_VAAPI.

 

Remarks

 

 

The application can use the macro MFX_IMPL_BASETYPE(x) to obtain the base implementation type.

It is recommended that the application use MFX_IMPL_VIA_ANY if the application uses system memory or opaque surface for I/O exclusively.

 

 

 

 

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