From a7110862c8a828e556dd2da0905c3e69f56eca29 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Thu, 17 Mar 2016 23:28:29 -0700 Subject: vd_lavc: add d3d11va hwdec This commit adds the d3d11va-copy hwdec mode using the ffmpeg d3d11va api. Functions in common with dxva2 are handled in a separate decode/d3d.c file. A future commit will rewrite decode/dxva2.c to share this code. --- video/img_format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video/img_format.h') diff --git a/video/img_format.h b/video/img_format.h index a58e445ea2..605dc920bd 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -195,7 +195,8 @@ enum mp_imgfmt { IMGFMT_VDPAU, // VdpVideoSurface IMGFMT_VDPAU_OUTPUT, // VdpOutputSurface IMGFMT_VAAPI, - IMGFMT_DXVA2, // IDirect3DSurface9 (NV12) + IMGFMT_D3D11VA, // ID3D11VideoDecoderOutputView (NV12/P010/P016) + IMGFMT_DXVA2, // IDirect3DSurface9 (NV12/P010/P016) IMGFMT_MMAL, // MMAL_BUFFER_HEADER_T IMGFMT_VIDEOTOOLBOX, // CVPixelBufferRef -- cgit v1.2.3