diff options
author | Nicolas Bertrand <nicoinattendu@gmail.com> | 2013-07-12 23:01:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-12 23:43:09 +0200 |
commit | dd1382ac9534bd9b5ec7833eed9ab6f383e68a50 (patch) | |
tree | b9a3d04b87897df874a124d3699f75122b223fa1 /libavcodec/mqc.h | |
parent | 7f4a1fddd39e331464e443f95f10e225882b5c53 (diff) | |
download | ffmpeg-dd1382ac9534bd9b5ec7833eed9ab6f383e68a50.tar.gz |
jpeg2000: Initialize only once mqc arrays
Increases encoding and decoding speed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mqc.h')
-rw-r--r-- | libavcodec/mqc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mqc.h b/libavcodec/mqc.h index a0112d1159..c0827bd526 100644 --- a/libavcodec/mqc.h +++ b/libavcodec/mqc.h @@ -79,6 +79,11 @@ int ff_mqc_decode(MqcState *mqc, uint8_t *cxstate); /* common */ /** + * MQ-coder Initialize context tables (QE, NLPS, NMPS) + */ +void ff_mqc_init_context_tables(void); + +/** * MQ-coder context initialisations. * @param mqc MQ-coder context */ |