avcodec/jpeg2000: Move H band scaling from wavelet into quantization code
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Jun 2015 23:56:06 +0000 (01:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jun 2015 00:00:57 +0000 (02:00 +0200)
commit6c7b1597c7790da6018695dda6cd8a6b6690d6e5
tree5ac13be044df20137f52aa7cbb5d34056f5f45b4
parent69f7ccef8e12a9995ae08c9cca429bd4402bed69
avcodec/jpeg2000: Move H band scaling from wavelet into quantization code

This reduces the number of operations done and is equivalent except for
rounding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000.c
libavcodec/jpeg2000dwt.c
tests/ref/fate/j2k-dwt
tests/ref/fate/jpeg2000-dcinema
tests/ref/vsynth/vsynth1-jpeg2000-97
tests/ref/vsynth/vsynth2-jpeg2000-97
tests/ref/vsynth/vsynth3-jpeg2000-97
tests/ref/vsynth/vsynth_lena-jpeg2000-97