From 33295bf350f521b1122591d57469996575438822 Mon Sep 17 00:00:00 2001 From: Ari Lemmetti Date: Sun, 7 Mar 2021 19:36:20 +0200 Subject: [PATCH] Use AVX2 luma interpolation for SMP and AMP as well --- src/strategies/avx2/ipol-avx2.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/strategies/avx2/ipol-avx2.c b/src/strategies/avx2/ipol-avx2.c index fa72cf27..e63cfb8a 100644 --- a/src/strategies/avx2/ipol-avx2.c +++ b/src/strategies/avx2/ipol-avx2.c @@ -1136,12 +1136,7 @@ static void kvz_sample_quarterpel_luma_avx2(const encoder_control_t * const enco int8_t ver_flag, const int16_t mv[2]) { - // TODO: Optimize SMP and AMP - if (width != height) { - kvz_sample_quarterpel_luma_generic(encoder, src, src_stride, width, height, dst, dst_stride, hor_flag, ver_flag, mv); - return; - } - + // TODO: horizontal and vertical only filtering int8_t *hor_fir = kvz_g_luma_filter[mv[0] & 3]; int8_t *ver_fir = kvz_g_luma_filter[mv[1] & 3];