diff options
author | Nicolas Bertrand <nicoinattendu@gmail.com> | 2013-07-12 23:15:43 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-07-13 07:54:12 +0200 |
commit | f56fe04de3cc4cdc6b618dfe7a3506fc2ea79795 (patch) | |
tree | b6311f6651e417a2abb23940f01b3e3c4c2fe140 /libavcodec/mqc.h | |
parent | bec509db4364b9c8b00437939a4197fc12fec3e8 (diff) | |
download | ffmpeg-f56fe04de3cc4cdc6b618dfe7a3506fc2ea79795.tar.gz |
jpeg2000: Initialize only once mqc arrays
Improves decoding speed.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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 3b849c2351..a65433e2b2 100644 --- a/libavcodec/mqc.h +++ b/libavcodec/mqc.h @@ -65,6 +65,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 */ |