Use AVX2 luma interpolation for SMP and AMP as well

This commit is contained in:
Ari Lemmetti 2021-03-07 19:36:20 +02:00
parent 7ce68761c2
commit 33295bf350

View file

@ -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];