summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-03-17 23:28:29 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-03-30 09:01:27 -0700
commita7110862c8a828e556dd2da0905c3e69f56eca29 (patch)
tree2596247d8712307a370e6d48a254a7e8f29ae94f /video/img_format.h
parent872d0838a4040e6ed275e4510741c8a54035ff73 (diff)
downloadmpv-a7110862c8a828e556dd2da0905c3e69f56eca29.tar.bz2
mpv-a7110862c8a828e556dd2da0905c3e69f56eca29.tar.xz
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.
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h3
1 files changed, 2 insertions, 1 deletions
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