Commit 1a02439f authored by Committed by sebastien alaiwan
Huge speedup for range checking.
De-duplicate implementations of 'range_check', and use precomputed pixel value boundaries instead of computing the log2 of each pixel value. Overall speedup: encoding with enabled-range checks goes 3.3 times faster. Change-Id: I2f7c97cac4ad479b07898fb69c0131e3c7e0bf98
Showing with 29 additions and 35 deletions