Commit 7dd6bc32 authored by Steve Lhomme's avatar Steve Lhomme

decoder device: use a structure to read the opaque of VLC_DECODER_DEVICE_D3D11VA

For now it's just a ID3D11DeviceContext but it might evolve into a ID3D11Device
combined with an adapter LUID, or just the adapter LUID.
parent 2545a0a3
......@@ -524,7 +524,7 @@ typedef struct vlc_decoder_device
* VAAPI: VADisplay
* VDPAU: vdp_t *
* DXVA2: d3d9_decoder_device_t*
* D3D11VA: ID3D11DeviceContext*
* D3D11VA: d3d11_decoder_device_t*
* AWindow: android AWindowHandler*
* NVDEC: decoder_device_nvdec_t*
* MMAL: MMAL_PORT_T*
......
......@@ -79,6 +79,11 @@ typedef struct
DXGI_FORMAT formatTexture;
} picture_sys_d3d11_t;
typedef struct
{
ID3D11DeviceContext *device;
} d3d11_decoder_device_t;
/* index to use for texture/resource that use a known DXGI format
* (ie not DXGI_FORMAT_UNKNWON) */
#define KNOWN_DXGI_INDEX 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment