19 #ifndef AVUTIL_HWCONTEXT_D3D11VA_H 20 #define AVUTIL_HWCONTEXT_D3D11VA_H 94 void (*
lock)(
void *lock_ctx);
95 void (*unlock)(
void *lock_ctx);
struct AVD3D11VAFramesContext AVD3D11VAFramesContext
This struct is allocated as AVHWFramesContext.hwctx.
ID3D11Texture2D * texture
The texture in which the frame is located.
Definition: hwcontext_d3d11va.h:117
UINT MiscFlags
D3D11_TEXTURE2D_DESC.MiscFlags used for texture creation.
Definition: hwcontext_d3d11va.h:166
UINT BindFlags
D3D11_TEXTURE2D_DESC.BindFlags used for texture creation.
Definition: hwcontext_d3d11va.h:160
ID3D11Device * device
Device used for texture creation and access.
Definition: hwcontext_d3d11va.h:56
struct AVD3D11VADeviceContext AVD3D11VADeviceContext
This struct is allocated as AVHWDeviceContext.hwctx.
D3D11 frame descriptor for pool allocation.
Definition: hwcontext_d3d11va.h:109
ID3D11VideoContext * video_context
If unset, this will be set from the device_context field on init.
Definition: hwcontext_d3d11va.h:80
ID3D11VideoDevice * video_device
If unset, this will be set from the device field on init.
Definition: hwcontext_d3d11va.h:72
intptr_t index
The index into the array texture element representing the frame, or 0 if the texture is not an array ...
Definition: hwcontext_d3d11va.h:125
struct AVD3D11FrameDescriptor AVD3D11FrameDescriptor
D3D11 frame descriptor for pool allocation.
ID3D11Texture2D * texture
The canonical texture used for pool allocation.
Definition: hwcontext_d3d11va.h:152
This struct is allocated as AVHWFramesContext.hwctx.
Definition: hwcontext_d3d11va.h:131
void(* lock)(void *lock_ctx)
Callbacks for locking.
Definition: hwcontext_d3d11va.h:94
This struct is allocated as AVHWDeviceContext.hwctx.
Definition: hwcontext_d3d11va.h:45
ID3D11DeviceContext * device_context
If unset, this will be set from the device field on init.
Definition: hwcontext_d3d11va.h:64