From f56fe04de3cc4cdc6b618dfe7a3506fc2ea79795 Mon Sep 17 00:00:00 2001 From: Nicolas Bertrand Date: Fri, 12 Jul 2013 23:15:43 +0200 Subject: jpeg2000: Initialize only once mqc arrays Improves decoding speed. Signed-off-by: Luca Barbato --- libavcodec/mqc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/mqc.h') diff --git a/libavcodec/mqc.h b/libavcodec/mqc.h index 3b849c2351..a65433e2b2 100644 --- a/libavcodec/mqc.h +++ b/libavcodec/mqc.h @@ -64,6 +64,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 -- cgit v1.2.1