ID3D12Device * device
Device used for objects creation and access.
void(* unlock)(void *lock_ctx)
This struct is used to sync d3d12 execution.
This struct is allocated as AVHWFramesContext.hwctx.
D3D12_RESOURCE_FLAGS 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.
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.