Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-25 23:02:00 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-05-25 23:24:34 +0300
commit947b74ee7da7984b666a478164917e42d4f4592d (patch)
treec2de5e9e2059cf14329979e77981819cc5cee7d3 /libavcodec/hevc.c
parent9aabc926ca14faf240d078c7e428045b62018c8b (diff)
parentd8039ef8d221ea273aa4f1e62e5df21bf618c772 (diff)
Merge commit 'd8039ef8d221ea273aa4f1e62e5df21bf618c772'
* commit 'd8039ef8d221ea273aa4f1e62e5df21bf618c772': D3D11va: add a Direct3D11 video decoder similar to DXVA2 Conflicts: Changelog configure libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dxva2_vc1.c libavcodec/version.h libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 df6cce6f8a..028ece82f9 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -343,6 +343,9 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps, enum AVPixelFormat pix_fm
#if CONFIG_HEVC_DXVA2_HWACCEL
*fmt++ = AV_PIX_FMT_DXVA2_VLD;
#endif
+#if CONFIG_HEVC_D3D11VA_HWACCEL
+ *fmt++ = AV_PIX_FMT_D3D11VA_VLD;
+#endif
}
if (pix_fmt == AV_PIX_FMT_NONE) {