I am trying to modify libjpeg turbo, specifically to change how the quantization are calculated on per block basis.
The library is rather big, and C code is not easily re