Dispatcher API Define Reference

API

MFX_IMPL_NAME_LEN

MFX_IMPL_NAME_LEN

Maximum allowed length of the implementation name.

MFX_STRFIELD_LEN

MFX_STRFIELD_LEN

Maximum allowed length of the implementation name.

Helper macro definitions to add property with single value.

MFX_ADD_PROPERTY_U32

MFX_ADD_PROPERTY_U32(loader, name, value)

Adds single property of mfxU32 type.

Parameters
  • loader[in] Valid mfxLoader object

  • name[in] Property name string

  • value[in] Property value

MFX_ADD_PROPERTY_U16

MFX_ADD_PROPERTY_U16(loader, name, value)

Adds single property of mfxU16 type.

Parameters
  • loader[in] Valid mfxLoader object

  • name[in] Property name string

  • value[in] Property value

MFX_ADD_PROPERTY_PTR

MFX_ADD_PROPERTY_PTR(loader, name, value)

Adds single property of pointer type.

Parameters
  • loader[in] Valid mfxLoader object

  • name[in] Property name string

  • value[in] Property value

Helper macro definitions to update existing property.

MFX_UPDATE_PROPERTY_U32

MFX_UPDATE_PROPERTY_U32(loader, config, name, value)

Update existing property of mfxU32 type.

Parameters
  • loader[in] Valid mfxLoader object

  • config[in] Valid mfxConfig object

  • name[in] Property name string

  • value[in] Property value

MFX_UPDATE_PROPERTY_U16

MFX_UPDATE_PROPERTY_U16(loader, config, name, value)

Update existing property of mfxU16 type.

Parameters
  • loader[in] Valid mfxLoader object

  • config[in] Valid mfxConfig object

  • name[in] Property name string

  • value[in] Property value

MFX_UPDATE_PROPERTY_PTR

MFX_UPDATE_PROPERTY_PTR(loader, config, name, value)

Update existing property of pointer type.

Parameters
  • loader[in] Valid mfxLoader object

  • config[in] Valid mfxConfig object

  • name[in] Property name string

  • value[in] Property value