Skip to content

arm64: itx: Fix overflow/clipping in negation in idct16

Martin Storsjö requested to merge mstorsjo/dav1d:arm64-itx-overflow into master

Don't assume we can do a clipped negation in 16 bit before the multiplication (as it might affect the end result), but do the multiplication first and negate in 32 bit, just like in the reference.

Merge request reports