[FFmpeg-cvslog] lavc/aarch64: Do not use the neon horizontal chroma loop filter for H.264 4:2:2.

Carl Eugen Hoyos git at videolan.org
Tue Feb 17 19:49:58 CET 2015


ffmpeg | branch: release/2.2 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Jan 31 10:01:37 2015 +0100| [b1b69baa0110ab28dcd7f5646d4a8eddc3038ce9] | committer: Michael Niedermayer

lavc/aarch64: Do not use the neon horizontal chroma loop filter for H.264 4:2:2.
(cherry picked from commit 4faea46bd906b3897018736208123aa36c3f45d5)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1b69baa0110ab28dcd7f5646d4a8eddc3038ce9
---

 libavcodec/aarch64/h264dsp_init_aarch64.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/aarch64/h264dsp_init_aarch64.c b/libavcodec/aarch64/h264dsp_init_aarch64.c
index ed5e4bd..e0f378f 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;



More information about the ffmpeg-cvslog mailing list