Fix the mask for odd widths for ScaleRowUp2_Linear*_Any_NEON

These NEON functions produce 16 pixels per iteration each, thus
use the mask 15, not 7.

Change-Id: I1f3eb691a9ca4af705393b2842b18b65f6878926
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2731801
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
Martin Storsjö 2021-03-03 14:11:36 +02:00 committed by Frank Barchard
parent cdabad5bfa
commit 95ff456c33

View File

@ -708,7 +708,7 @@ SUH2LANY(ScaleRowUp2_Linear_Any_NEON,
SUH2LANY(ScaleRowUp2_Linear_12_Any_NEON, SUH2LANY(ScaleRowUp2_Linear_12_Any_NEON,
ScaleRowUp2_Linear_12_NEON, ScaleRowUp2_Linear_12_NEON,
ScaleRowUp2_Linear_16_C, ScaleRowUp2_Linear_16_C,
7, 15,
uint16_t) uint16_t)
#endif #endif
@ -716,7 +716,7 @@ SUH2LANY(ScaleRowUp2_Linear_12_Any_NEON,
SUH2LANY(ScaleRowUp2_Linear_16_Any_NEON, SUH2LANY(ScaleRowUp2_Linear_16_Any_NEON,
ScaleRowUp2_Linear_16_NEON, ScaleRowUp2_Linear_16_NEON,
ScaleRowUp2_Linear_16_C, ScaleRowUp2_Linear_16_C,
7, 15,
uint16_t) uint16_t)
#endif #endif