mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 15:19:38 +03:00
S16 saturating sum must be computed dot-product-first. The MMI code added the offset to the first product before adding the second product. Swap the paddsh pairs in biweight_pixels16/8/4_8_mmi to form the dot product first. This fixes bi-weight checkasm test for MIPS as MSA already handles these cases. Signed-off-by: Zuxy Meng <zuxy.meng@gmail.com>