Expand description
Generated oneVPL struct/union/typedef bindings (types only — see build.rs),
plus the handful of opaque handle types bindgen never sees because their
home headers (mfxsession.h) are not part of this crate’s bindgen input
(see vendor/README.md).
C naming throughout — not snake_case/CamelCase by Rust convention, matching
every other -sys crate.
Structs§
- __
Bindgen Bitfield Unit - _mfx
Encrypted Data - mfxA2RG
B10 - Specifies “pixel” in A2RGB10 color format
- mfxABG
R16FP - Specifies “pixel” in ABGR 16 bit half float point color format
- mfxBitstream
- Defines the buffer that holds compressed video data.
- mfxBitstream__
bindgen_ ty_ 1__ bindgen_ ty_ 1 - mfxEncode
Ctrl - Contains parameters for per-frame based encoding control.
- mfxExt
Buffer - The common header definition for external buffers and video processing hints.
- mfxFrame
Data - Describes frame buffer pointers.
- mfxFrame
Id - Describes the view and layer of a frame picture.
- mfxFrame
Id__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - mfxFrame
Id__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - mfxFrame
Info - Specifies properties of video frames. See also “Configuration Parameter Constraints” chapter.
- mfxFrame
Info__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - mfxFrame
Info__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - mfxFrame
Surface1 - Defines the uncompressed frames surface information and data buffers. The frame surface is in the frame or complementary field pairs of pixels up to four color-channels, in two parts: mfxFrameInfo and mfxFrameData.
- mfxFrame
Surface Interface - Specifies frame surface interface.
- mfxGUID
- Represents Globally Unique Identifier (GUID) with memory layout compliant to RFC 4122. See https://www.rfc-editor.org/info/rfc4122 for details.
- mfxInfoMFX
- Specifies configurations for decoding, encoding, and transcoding processes. A zero value in any of these fields indicates that the field is not explicitly specified.
- mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 1 - mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 2 - mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 3 - mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 4 - mfxInfoVPP
- Specifies configurations for video processing. A zero value in any of the fields indicates that the corresponding field is not explicitly specified.
- mfxInit
Param - Specifies advanced initialization parameters. A zero value in any of the fields indicates that the corresponding field is not explicitly specified.
- mfxInit
Param__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - mfxPayload
- Describes user data payload in MPEG-2 or SEI message payload in H.264.
- mfxStruct
Version__ bindgen_ ty_ 1 - Structure with Major and Minor fields. / /! @struct Anonymous
- mfxVersion__
bindgen_ ty_ 1 - @brief Structure with Major and Minor fields. / /! @struct Anonymous
- mfxVideo
Param - Configuration parameters for encoding, decoding, transcoding, and video processing.
- mfxY410
- Specifies “pixel” in Y410 color format.
- mfxY416
- Specifies “pixel” in Y416 color format.
Constants§
- mfxHandle
Type_ MFX_ HANDLE_ CM_ DEVICE - < Pointer to CmDevice interface ( Intel(r) C for Metal Runtime ).
- mfxHandle
Type_ MFX_ HANDLE_ CONFIG_ INTERFACE - < Pointer to interface of type mfxConfigInterface.
- mfxHandle
Type_ MFX_ HANDLE_ D3D9_ DEVICE_ MANAGER - < Pointer to the IDirect3DDeviceManager9 interface. See Working with Microsoft* DirectX* Applications for more details on how to use this handle.
- mfxHandle
Type_ MFX_ HANDLE_ D3D11_ DEVICE - < Pointer to the ID3D11Device interface. See Working with Microsoft* DirectX* Applications for more details on how to use this handle.
- mfxHandle
Type_ MFX_ HANDLE_ DIREC T3D_ DEVICE_ MANAGE R9 - < Pointer to the IDirect3DDeviceManager9 interface. See Working with Microsoft* DirectX* Applications for more details on how to use this handle.
- mfxHandle
Type_ MFX_ HANDLE_ HDDLUNITE_ WORKLOADCONTEXT - < Pointer to HddlUnite::WorkloadContext interface.
- mfxHandle
Type_ MFX_ HANDLE_ PXP_ CONTEXT - < Pointer to PXP context for protected content support.
- mfxHandle
Type_ MFX_ HANDLE_ RESERVE D1 - mfxHandle
Type_ MFX_ HANDLE_ RESERVE D3 - mfxHandle
Type_ MFX_ HANDLE_ VA_ CONFIG_ ID - < Pointer to VAConfigID interface. It represents external VA config for Common Encryption usage model.
- mfxHandle
Type_ MFX_ HANDLE_ VA_ CONTEXT_ ID - < Pointer to VAContextID interface. It represents external VA context for Common Encryption usage model.
- mfxHandle
Type_ MFX_ HANDLE_ VA_ DISPLAY - < VADisplay interface. See Working with VA-API Applications for more details on how to use this handle.
- mfxResource
Type_ MFX_ RESOURCE_ DMA_ RESOURCE - < DMA resource.
- mfxResource
Type_ MFX_ RESOURCE_ DX9_ SURFACE - < Pointer to IDirect3DSurface9.
- mfxResource
Type_ MFX_ RESOURCE_ DX11_ TEXTURE - < Pointer to ID3D11Texture2D.
- mfxResource
Type_ MFX_ RESOURCE_ DX12_ RESOURCE - < Pointer to ID3D12Resource.
- mfxResource
Type_ MFX_ RESOURCE_ HDDLUNITE_ REMOTE_ MEMORY - < HDDL Unite Remote memory handle.
- mfxResource
Type_ MFX_ RESOURCE_ SYSTEM_ SURFACE - < System memory.
- mfxResource
Type_ MFX_ RESOURCE_ VA_ BUFFER - < Pointer to VA buffer index.
- mfxResource
Type_ MFX_ RESOURCE_ VA_ BUFFER_ PTR - < Pointer to VA buffer index.
- mfxResource
Type_ MFX_ RESOURCE_ VA_ SURFACE - < Pointer to VA surface index.
- mfxResource
Type_ MFX_ RESOURCE_ VA_ SURFACE_ PTR - < Pointer to VA surface index.
- mfxStatus_
MFX_ ERR_ ABORTED - < Operation aborted.
- mfxStatus_
MFX_ ERR_ DEVICE_ FAILED - < Device operation failure.
- mfxStatus_
MFX_ ERR_ DEVICE_ LOST - < Lose the hardware acceleration device.
- mfxStatus_
MFX_ ERR_ GPU_ HANG - < Device operation failure caused by GPU hang.
- mfxStatus_
MFX_ ERR_ INCOMPATIBLE_ VIDEO_ PARAM - < Incompatible video parameters.
- mfxStatus_
MFX_ ERR_ INVALID_ HANDLE - < Invalid handle.
- mfxStatus_
MFX_ ERR_ INVALID_ VIDEO_ PARAM - < Invalid video parameters.
- mfxStatus_
MFX_ ERR_ LOCK_ MEMORY - < Failed to lock the memory block.
- mfxStatus_
MFX_ ERR_ MEMORY_ ALLOC - < Failed to allocate memory.
- mfxStatus_
MFX_ ERR_ MORE_ BITSTREAM - < Expect more bitstream buffers at output.
- mfxStatus_
MFX_ ERR_ MORE_ DATA - < Expect more data at input.
- mfxStatus_
MFX_ ERR_ MORE_ DATA_ SUBMIT_ TASK - < Return MFX_ERR_MORE_DATA but submit internal asynchronous task.
- mfxStatus_
MFX_ ERR_ MORE_ EXTBUFFER - < Expect additional extended configuration buffer.
- mfxStatus_
MFX_ ERR_ MORE_ SURFACE - < Expect more surface at output.
- mfxStatus_
MFX_ ERR_ NONE - < No error.
- mfxStatus_
MFX_ ERR_ NONE_ PARTIAL_ OUTPUT - < Frame is not ready, but bitstream contains partial output.
- mfxStatus_
MFX_ ERR_ NOT_ ENOUGH_ BUFFER - < Insufficient buffer at input/output.
- mfxStatus_
MFX_ ERR_ NOT_ FOUND - < The specified object is not found.
- mfxStatus_
MFX_ ERR_ NOT_ IMPLEMENTED - < Feature or function not implemented.
- mfxStatus_
MFX_ ERR_ NOT_ INITIALIZED - < Member function called before initialization.
- mfxStatus_
MFX_ ERR_ NULL_ PTR - < Null pointer.
- mfxStatus_
MFX_ ERR_ REALLOC_ SURFACE - < Bigger output surface required.
- mfxStatus_
MFX_ ERR_ RESOURCE_ MAPPED - < Write access is already acquired and user requested another write access, or read access with MFX_MEMORY_NO_WAIT flag.
- mfxStatus_
MFX_ ERR_ UNDEFINED_ BEHAVIOR - < Undefined behavior.
- mfxStatus_
MFX_ ERR_ UNKNOWN - < Unknown error.
- mfxStatus_
MFX_ ERR_ UNSUPPORTED - < Unsupported feature.
- mfxStatus_
MFX_ TASK_ BUSY - < Task is waiting for resources.
- mfxStatus_
MFX_ TASK_ DONE - < Task has been completed.
- mfxStatus_
MFX_ TASK_ WORKING - < There is some more work to do.
- mfxStatus_
MFX_ WRN_ ALLOC_ TIMEOUT_ EXPIRED - < Timeout expired for internal frame allocation.
- mfxStatus_
MFX_ WRN_ DEVICE_ BUSY - < The hardware acceleration device is busy.
- mfxStatus_
MFX_ WRN_ FILTER_ SKIPPED - < One of requested filters has been skipped.
- mfxStatus_
MFX_ WRN_ INCOMPATIBLE_ VIDEO_ PARAM - < Incompatible video parameters.
- mfxStatus_
MFX_ WRN_ IN_ EXECUTION - < The previous asynchronous operation is in execution.
- mfxStatus_
MFX_ WRN_ OUT_ OF_ RANGE - < The value is out of valid range.
- mfxStatus_
MFX_ WRN_ PARTIAL_ ACCELERATION - < Software acceleration is used.
- mfxStatus_
MFX_ WRN_ VALUE_ NOT_ CHANGED - < The value is saturated based on its valid range.
- mfxStatus_
MFX_ WRN_ VIDEO_ PARAM_ CHANGED - < The video parameters are changed during decoding.
Type Aliases§
- mfxEncrypted
Data - mfxFP16
- mfxHDL
- mfxHandle
Type - The mfxHandleType enumerator itemizes system handle types that implementations might use.
- mfxI32
- mfxI64
- mfxIMPL
- This enumerator itemizes implementation types. The implementation type is a bit OR’ed value of the base type and any decorative flags. @note This enumerator is for legacy dispatcher compatibility only. The new dispatcher does not use it.
- mfxMem
Id - mfxResource
Type - The mfxResourceType enumerator specifies types of different native data frames and buffers.
- mfxSession
- Opaque oneVPL session handle (
mfxSession,typedef struct _mfxSession *mfxSession;—mfxsession.h). An opaque pointer has no fields to get wrong by hand-declaring it here;mfxsession.hitself is not part of this crate’sbindgeninput (seevendor/README.md). - mfxStatus
Error message *********************************************************************************/ /*! @enum mfxStatus Itemizes status codes returned by API functions.- mfxSync
Point - Synchronization point object handle (
mfxSyncPoint,typedef struct _mfxSyncPoint *mfxSyncPoint;—mfxcommon.hline 186). Forward-declared only upstream (never a defined struct body anywhere in oneVPL), and not reachable from any of this crate’sbindgen-allowlisted root types (only referenced by function signatures, whichbuild.rsignores — seevendor/README.md), so hand-declared here likemfxSessionabove. - mfxU8
- mfxU16
- mfxU32
- mfxU64
Unions§
- mfxBitstream__
bindgen_ ty_ 1 - @internal :unnamed(union) @endinternal
- mfxFrame
Data__ bindgen_ ty_ 1 - @name Extension Buffers / /! @{
- mfxFrame
Data__ bindgen_ ty_ 2 - mfxFrame
Data__ bindgen_ ty_ 3 - @name Color Planes Data pointers to corresponding color channels (planes). The frame buffer pointers must be 16-byte aligned. The application has to specify pointers to all color channels even for packed formats. For example, for YUY2 format the application must specify Y, U, and V pointers. For RGB32 format, the application must specify R, G, B, and A pointers. / /*! @{
- mfxFrame
Data__ bindgen_ ty_ 4 - mfxFrame
Data__ bindgen_ ty_ 5 - mfxFrame
Id__ bindgen_ ty_ 1 - mfxFrame
Info__ bindgen_ ty_ 1 - mfxFrame
Surface1__ bindgen_ ty_ 1 - mfxInfoMFX__
bindgen_ ty_ 1 - mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Rate control method; see the RateControlMethod enumerator for details.
- mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - mfxInfoMFX__
bindgen_ ty_ 1__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - mfxInit
Param__ bindgen_ ty_ 1 - @internal :unnamed(union) @endinternal
- mfxStruct
Version - Introduce the field Version for any structure. Assumed that any structure changes are backward binary compatible. mfxStructVersion starts from {1,0} for any new API structures. If mfxStructVersion is added to the existent legacy structure (replacing reserved fields) it starts from {1, 1}.
- mfxVersion
- The mfxVersion union describes the version of the implementation.
- mfxVideo
Param__ bindgen_ ty_ 1