ID3D12Device * device
Device used for objects creation and access.
AVD3D12VAFrameFlags flags
A combination of AVD3D12VAFrameFlags.
AVD3D12VAFrameFlags
Define the behaviours of frame allocation.
void(* unlock)(void *lock_ctx)
ID3D12Resource * texture_array
In texture array mode, the D3D12 uses the same texture array (resource)for all pictures.
This struct is used to sync d3d12 execution.
This struct is allocated as AVHWFramesContext.hwctx.
D3D12_RESOURCE_FLAGS resource_flags
Options for working with resources.
ID3D12VideoDevice * video_device
If unset, this will be set from the device field on init.
This struct is allocated as AVHWDeviceContext.hwctx.
@ AV_D3D12VA_FRAME_FLAG_TEXTURE_ARRAY
Indicates that frame data should be allocated using a texture array resource.
@ AV_D3D12VA_FRAME_FLAG_NONE
HANDLE event
A handle to the event object that's raised when the fence reaches a certain value.
void(* lock)(void *lock_ctx)
Callbacks for locking.
uint64_t fence_value
The fence value used for sync.