mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Use AVX2 luma interpolation for SMP and AMP as well
This commit is contained in:
parent
7ce68761c2
commit
33295bf350
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue