mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 13:28:17 +00: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>