From d8039ef8d221ea273aa4f1e62e5df21bf618c772 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 11 May 2015 10:52:47 +0200 Subject: D3D11va: add a Direct3D11 video decoder similar to DXVA2 Signed-off-by: Luca Barbato --- libavcodec/hevc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/hevc.c') diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 1b5e2edeb5..62768aa1e5 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -445,6 +445,9 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps) if (sps->pix_fmt == AV_PIX_FMT_YUV420P || sps->pix_fmt == AV_PIX_FMT_YUVJ420P) { #if CONFIG_HEVC_DXVA2_HWACCEL *fmt++ = AV_PIX_FMT_DXVA2_VLD; +#endif +#if CONFIG_HEVC_D3D11VA_HWACCEL + *fmt++ = AV_PIX_FMT_D3D11VA_VLD; #endif } -- cgit v1.2.3