diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-03-17 23:28:29 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-03-30 09:01:27 -0700 |
commit | a7110862c8a828e556dd2da0905c3e69f56eca29 (patch) | |
tree | 2596247d8712307a370e6d48a254a7e8f29ae94f /video/hwdec.h | |
parent | 872d0838a4040e6ed275e4510741c8a54035ff73 (diff) | |
download | mpv-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/hwdec.h')
-rw-r--r-- | video/hwdec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/hwdec.h b/video/hwdec.h index cfbb2eaf29..9585e32e25 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -15,8 +15,9 @@ enum hwdec_type { HWDEC_VAAPI_COPY = 5, HWDEC_DXVA2 = 6, HWDEC_DXVA2_COPY = 7, - HWDEC_RPI = 8, - HWDEC_MEDIACODEC = 9, + HWDEC_D3D11VA_COPY = 8, + HWDEC_RPI = 9, + HWDEC_MEDIACODEC = 10, }; // hwdec_type names (options.c) |