aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-01-31 10:01:37 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-01-31 10:05:10 +0100
commit4faea46bd906b3897018736208123aa36c3f45d5 (patch)
treea27f361fdfd5d711c03ab6c95256cd94a97b99a7 /libavcodec
parent9f73b88c624a0b70a3d1169b9f6fa49002dfb94a (diff)
downloadffmpeg-4faea46bd906b3897018736208123aa36c3f45d5.tar.gz
lavc/aarch64: Do not use the neon horizontal chroma loop filter for H.264 4:2:2.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aarch64/h264dsp_init_aarch64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aarch64/h264dsp_init_aarch64.c b/libavcodec/aarch64/h264dsp_init_aarch64.c
index ed5e4bdd9b..e0f378f5ab 100644
--- a/libavcodec/aarch64/h264dsp_init_aarch64.c
+++ b/libavcodec/aarch64/h264dsp_init_aarch64.c
@@ -78,6 +78,7 @@ av_cold void ff_h264dsp_init_aarch64(H264DSPContext *c, const int bit_depth,
c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon;
c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon;
c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon;
+ if (chroma_format_idc <= 1)
c->h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon;
c->weight_h264_pixels_tab[0] = ff_weight_h264_pixels_16_neon;