diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-06-07 18:11:17 +0300 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-06-27 19:05:02 +0300 |
commit | 70143a3954e1c4412efb2bf1a3a818adea2d3abf (patch) | |
tree | 24c14db2eac2c52a929cb18bcb11086f41c91147 /libavcodec/vc1dec.c | |
parent | 5659f7404731415c7e1cfdf4d8b0afeb6b1132de (diff) |
dxva: add support for new dxva2 and d3d11 hwaccel APIs
This also adds support to avconv (which is trivial due to the new
hwaccel API being generic enough).
The new decoder setup code in dxva2.c is significantly based on work by
Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites.
Merges Libav commit f9e7a2f95a7194a8736cc1416a03a1a0155a3e9f.
Also adds untested VP9 support.
The check for DXVA2 COBJs is removed. Just update your MinGW to
something newer than a 5 year old release.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 75d336583c..16c601e756 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1150,6 +1150,7 @@ static const enum AVPixelFormat vc1_hwaccel_pixfmt_list_420[] = { #endif #if CONFIG_VC1_D3D11VA_HWACCEL AV_PIX_FMT_D3D11VA_VLD, + AV_PIX_FMT_D3D11, #endif #if CONFIG_VC1_VAAPI_HWACCEL AV_PIX_FMT_VAAPI, |