diff options
author | Steve Lhomme <robux4@videolabs.io> | 2015-05-11 10:52:47 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-05-25 11:47:08 +0200 |
commit | d8039ef8d221ea273aa4f1e62e5df21bf618c772 (patch) | |
tree | e2d844c800e9e01d0fb5d755aa9df1cb53051840 /libavcodec/hevc.c | |
parent | 4e17946f10d39eec6cc03fb249ae8147373141b6 (diff) | |
download | ffmpeg-d8039ef8d221ea273aa4f1e62e5df21bf618c772.tar.gz |
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.c | 3 |
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; |