Move some MQC functions into a header for speed
[openjpeg.git] / src / lib / openjp2 / mqc.h
index 69a2d4602992c36b7983ee2a59287fa31a421522..574c599bf401f274eb91e933e5d64fec2a654dc1 100644 (file)
@@ -82,6 +82,8 @@ typedef struct opj_mqc {
 #endif
 } opj_mqc_t;
 
+#include "mqc_inl.h"
+
 /** @name Exported functions */
 /*@{*/
 /* ----------------------------------------------------------------------- */
@@ -198,7 +200,7 @@ Decode a symbol
 @param mqc MQC handle
 @return Returns the decoded symbol (0 or 1)
 */
-OPJ_INT32 opj_mqc_decode(opj_mqc_t * const mqc);
+static INLINE OPJ_INT32 opj_mqc_decode(opj_mqc_t * const mqc);
 /* ----------------------------------------------------------------------- */
 /*@}*/