From 19564cb4f77660cdb2f980ca619d4b979b9fe342 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Mon, 27 Nov 2023 22:46:29 -0500 Subject: New upstream version 0.19.0 --- src/dsp/arm/convolve_neon.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/dsp/arm/convolve_neon.cc') diff --git a/src/dsp/arm/convolve_neon.cc b/src/dsp/arm/convolve_neon.cc index 5b80da2..97b3f26 100644 --- a/src/dsp/arm/convolve_neon.cc +++ b/src/dsp/arm/convolve_neon.cc @@ -371,16 +371,14 @@ void FilterHorizontal(const uint8_t* LIBGAV1_RESTRICT const src, assert(width <= 4); assert(filter_index >= 3 && filter_index <= 5); if (filter_index >= 3 && filter_index <= 5) { - if (width == 4) { - FilterHorizontalWidth4( - src, src_stride, dest, pred_stride, height, v_tap); - return; - } - assert(width == 2); - if (!is_compound) { + if (width == 2 && !is_compound) { FilterHorizontalWidth2(src, src_stride, dest, pred_stride, height, v_tap); + return; } + assert(width == 4); + FilterHorizontalWidth4( + src, src_stride, dest, pred_stride, height, v_tap); } } -- cgit v1.2.3