Implementation Management¶
Structures used for implementation management.
API¶
mfxAdapterInfo¶
-
struct
mfxAdapterInfo
¶ Contains a description of the graphics adapter for the Legacy mode.
Public Members
-
mfxPlatform
Platform
¶ Platform type description. See mfxPlatform for details.
-
mfxPlatform
mfxAdaptersInfo¶
-
struct
mfxAdaptersInfo
¶ Contains description of all graphics adapters available on the current system.
Public Members
-
mfxAdapterInfo *
Adapters
¶ Pointer to array of mfxAdapterInfo structs allocated by user.
-
mfxAdapterInfo *
mfxExtThreadsParam¶
-
struct
mfxExtThreadsParam
¶ Specifies options for threads created by this session. Attached to the mfxInitParam structure during legacy Intel(r) Media SDK session initialization.
mfxInitParam¶
-
struct
mfxInitParam
¶ Specifies advanced initialization parameters. A zero value in any of the fields indicates that the corresponding field is not explicitly specified.
Public Members
-
mfxIMPL
Implementation
¶ Enumerator that indicates the desired legacy Intel(r) Media SDK implementation.
-
mfxVersion
Version
¶ Structure which specifies minimum library version or zero, if not specified.
-
mfxExtBuffer **
ExtParam
¶ Points to an array of pointers to the extra configuration structures; see the ExtendedBufferID enumerator for a list of extended configurations.
-
mfxIMPL
mfxPlatform¶
-
struct
mfxPlatform
¶ Contains information about hardware platform for the Legacy mode.
mfxVersion¶
-
union
mfxVersion
¶ - #include <mfxcommon.h>
The mfxVersion union describes the version of the implementation.
Major and Minor fields
Anonymous structure with Major and Minor fields.
Public Members
-
struct mfxVersion::[anonymous] [anonymous]¶
-
struct mfxVersion::[anonymous] [anonymous]¶
mfxExtDeviceAffinityMask¶
-
struct
mfxExtDeviceAffinityMask
¶ The mfxExtDeviceAffinityMask structure is used by the application to specify affinity mask for the device with given device ID. See mfxDeviceDescription for the device ID definition and sub device indexes. If the implementation manages CPU threads for some purpose, the user can set the CPU thread affinity mask by using this structure with DeviceID set to “CPU”.
Public Members
-
mfxExtBuffer
Header
¶ Extension buffer header. Header.BufferId must be equal to MFX_EXTBUFF_DEVICE_AFFINITY_MASK.
-
mfxChar
DeviceID
[MFX_STRFIELD_LEN
]¶ Null terminated string with device ID. In case of CPU affinity mask it must be equal to “CPU”.
-
mfxU8 *
Mask
¶ Mask array. Every bit represents sub-device (or thread for CPU). “1” means execution is allowed. “0” means that execution is prohibited on this sub-device (or thread). Length of the array is equal to the: “max_subdevices / 8” and rounded to the closest (from the right) integer. Bits order within each entry of the mask array is LSB: bit 0 holds data for sub device with index 0 and bit 8 for sub device with index 8. Index of sub device is defined by the mfxDeviceDescription structure.
-
mfxExtBuffer
mfxInitializationParam¶
-
struct
mfxInitializationParam
¶ Specifies initialization parameters for API version starting from 2.0.
Public Members
-
mfxAccelerationMode
AccelerationMode
¶ Hardware acceleration stack to use. OS dependent parameter. Use VA for Linux*, DX* for Windows* or HDDL.
-
mfxExtBuffer **
ExtParam
¶ Points to an array of pointers to the extra configuration structures; see the ExtendedBufferID enumerator for a list of extended configurations.
-
mfxU32
VendorImplID
¶ Vendor specific number with given implementation ID. Represents the same field from mfxImplDescription.
-
mfxAccelerationMode