jpeg2000: Initialize only once mqc arrays
authorNicolas Bertrand <nicoinattendu@gmail.com>
Fri, 12 Jul 2013 21:01:43 +0000 (23:01 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 28 Jul 2013 02:07:02 +0000 (04:07 +0200)
commite0d88cfd18184bc3b5b68b1f59661fb5ef79f7a5
tree3bbde39d5d703b6f015cf1d51df5e86d8dc1f8ce
parent18043e3d2282ec19ff541335b2bb9f2c75a3e270
jpeg2000: Initialize only once mqc arrays

Increases encoding and decoding speed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit dd1382ac9534bd9b5ec7833eed9ab6f383e68a50)
libavcodec/j2kenc.c
libavcodec/jpeg2000dec.c
libavcodec/mqc.c
libavcodec/mqc.h