Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bertrand <nicoinattendu@gmail.com>2013-07-13 01:01:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-07-13 01:43:09 +0400
commitdd1382ac9534bd9b5ec7833eed9ab6f383e68a50 (patch)
treeb9a3d04b87897df874a124d3699f75122b223fa1 /libavcodec/mqc.h
parent7f4a1fddd39e331464e443f95f10e225882b5c53 (diff)
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.h5
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
*/