You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the 'Wrapping' integer type instead of wrapping methods in IDCT
The IDCT code is full of wrapping integer arithmetic.
This commit changes the code to use std::num::Wrapping instead of
i32::wrapping_* methods.
This is a big commit in term of number of lines changed,
but this should have absolutely no impact on the generated machine code.
This just makes the IDCT code much easier to read,
which should in turn make it easier to optimize.
0 commit comments