avcodec/jpeg2000: Move L band scaling from the 9/7f wavelet to quantization stage
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jun 2015 00:46:35 +0000 (02:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jun 2015 01:01:24 +0000 (03:01 +0200)
commit4e926fb969acbb27415c2109d7339259875b6909
tree3c5d53ef58d42b7161d9c2f1dd27626e6b6e565b
parentb1fdf81c6eed786742c08037a9aa662ef7967ab2
avcodec/jpeg2000: Move L band scaling from the 9/7f wavelet to quantization stage

This reduces the number of operations
Its not done for 9/7i as that would overflow thanks to JPEG2000 allowing
32 decomposition levels

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000.c
libavcodec/jpeg2000dwt.c