summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-27 16:29:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-27 16:30:01 +0100
commitf5c0b9aa6f3843d33961981aa16317d05d74e9dc (patch)
tree06a695f4e3663d4310bdbc3eed0906de92920f25 /libavcodec/h264.c
parentedde562130feb901f29d7cef930c4b5b133661b9 (diff)
parent96753bd00d6d4046db6818c0aadc21bf2a11d77b (diff)
Merge commit '96753bd00d6d4046db6818c0aadc21bf2a11d77b'
* commit '96753bd00d6d4046db6818c0aadc21bf2a11d77b': dsputil: x86: Correct the number of registers used in put_no_rnd_pixels16_l2 dsputil: add missing HAVE_YASM guard hwaccel: do not offer unsupported pixel formats vdpau: add missing pixel format for H.264 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 624c407f97..8436032b18 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -67,9 +67,18 @@ static const uint8_t div6[QP_MAX_NUM + 1] = {
};
static const enum AVPixelFormat hwaccel_pixfmt_list_h264_jpeg_420[] = {
+#if CONFIG_H264_DXVA2_HWACCEL
AV_PIX_FMT_DXVA2_VLD,
+#endif
+#if CONFIG_H264_VAAPI_HWACCEL
AV_PIX_FMT_VAAPI_VLD,
+#endif
+#if CONFIG_H264_VDA_HWACCEL
AV_PIX_FMT_VDA_VLD,
+#endif
+#if CONFIG_H264_VDPAU_HWACCEL
+ AV_PIX_FMT_VDPAU,
+#endif
AV_PIX_FMT_YUVJ420P,
AV_PIX_FMT_NONE
};