summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-02-20 23:56:21 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-02-20 23:56:21 +0100
commit7e4d3dbe18cec6f4ce0e9dfeb570d47af70af12c (patch)
tree76399a9b32909865ae7624d0b4f9bd92a4885a3f /libavcodec/aarch64
parent72458b3f0828eb4a821b77fbf4cc92f069818f6b (diff)
downloadffmpeg-7e4d3dbe18cec6f4ce0e9dfeb570d47af70af12c.tar.gz
lavc/aarch64/h264dsp_init: Only use neon horizontal intra loopfilter for 4:2:0.
Diffstat (limited to 'libavcodec/aarch64')
-rw-r--r--libavcodec/aarch64/h264dsp_init_aarch64.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/aarch64/h264dsp_init_aarch64.c b/libavcodec/aarch64/h264dsp_init_aarch64.c
index 80d3c0b3ec..649d2ab1d7 100644
--- a/libavcodec/aarch64/h264dsp_init_aarch64.c
+++ b/libavcodec/aarch64/h264dsp_init_aarch64.c
@@ -91,11 +91,12 @@ av_cold void ff_h264dsp_init_aarch64(H264DSPContext *c, const int bit_depth,
c->h264_h_loop_filter_luma_intra= ff_h264_h_loop_filter_luma_intra_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;
+ if (chroma_format_idc <= 1) {
+ c->h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon;
+ c->h264_h_loop_filter_chroma_intra = ff_h264_h_loop_filter_chroma_intra_neon;
+ c->h264_h_loop_filter_chroma_mbaff_intra = ff_h264_h_loop_filter_chroma_mbaff_intra_neon;
+ }
c->h264_v_loop_filter_chroma_intra = ff_h264_v_loop_filter_chroma_intra_neon;
- c->h264_h_loop_filter_chroma_intra = ff_h264_h_loop_filter_chroma_intra_neon;
- c->h264_h_loop_filter_chroma_mbaff_intra = ff_h264_h_loop_filter_chroma_mbaff_intra_neon;
c->weight_h264_pixels_tab[0] = ff_weight_h264_pixels_16_neon;
c->weight_h264_pixels_tab[1] = ff_weight_h264_pixels_8_neon;