summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorSteve Lhomme <robux4@videolabs.io>2015-05-11 10:52:47 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-05-25 11:47:08 +0200
commitd8039ef8d221ea273aa4f1e62e5df21bf618c772 (patch)
treee2d844c800e9e01d0fb5d755aa9df1cb53051840 /libavcodec/hevc.c
parent4e17946f10d39eec6cc03fb249ae8147373141b6 (diff)
D3D11va: add a Direct3D11 video decoder similar to DXVA2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 1b5e2edeb5..62768aa1e5 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -446,6 +446,9 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps)
#if CONFIG_HEVC_DXVA2_HWACCEL
*fmt++ = AV_PIX_FMT_DXVA2_VLD;
#endif
+#if CONFIG_HEVC_D3D11VA_HWACCEL
+ *fmt++ = AV_PIX_FMT_D3D11VA_VLD;
+#endif
}
*fmt++ = sps->pix_fmt;