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/h264_slice.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/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index a250237be5..1cee6346de 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -861,6 +861,9 @@ static enum AVPixelFormat get_pixel_format(H264Context *h) #if CONFIG_H264_DXVA2_HWACCEL *fmt++ = AV_PIX_FMT_DXVA2_VLD; #endif +#if CONFIG_H264_D3D11VA_HWACCEL + *fmt++ = AV_PIX_FMT_D3D11VA_VLD; +#endif #if CONFIG_H264_VAAPI_HWACCEL *fmt++ = AV_PIX_FMT_VAAPI_VLD; #endif |