1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/libavcodec/ppc
Zuxy Meng 3f77ce4dee avcodec/ppc/h264dsp: Fix edge cases for bi-weight on ppc
S16 saturating sum must be computed dot-product-first. The Altivec code
added the offset to the first product before adding the second product,
so an intermediate saturation could corrupt the result even when the
true sum fits.

Swap the two vec_adds to form the dot product first. This fixes
bi-weight checkasm test for PPC.

Signed-off-by: Zuxy Meng <zuxy.meng@gmail.com>
2026-10-01 17:49:31 -07:00
..
…
…
…
…
…
…
…
…
…