diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2016-05-22 00:50:34 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2016-05-22 00:50:34 +0200 |
| commit | ba1edf6cd41415594729bc90ad3b0008af48251e (patch) | |
| tree | 04709cd494c2eafb2f074a6d7dd25580e139f2de /src/lib/openjp2/mqc.h | |
| parent | 23a01dfdef1a266754af268b07d912efbe04a759 (diff) | |
Reduce number of occurrences of orient function argument
This is essentially used to shift inside the lut_ctxno_zc, which we
can precompute at the beginning of opj_t1_decode_cblk() /
opj_t1_encode_cblk()
Diffstat (limited to 'src/lib/openjp2/mqc.h')
| -rw-r--r-- | src/lib/openjp2/mqc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/mqc.h b/src/lib/openjp2/mqc.h index 574c599b..491ee50e 100644 --- a/src/lib/openjp2/mqc.h +++ b/src/lib/openjp2/mqc.h @@ -77,6 +77,7 @@ typedef struct opj_mqc { OPJ_BYTE *end; opj_mqc_state_t *ctxs[MQC_NUMCTXS]; opj_mqc_state_t **curctx; + const OPJ_BYTE *lut_ctxno_zc_orient; /* lut_ctxno_zc shifted by 256 * bandno */ #ifdef MQC_PERF_OPT unsigned char *buffer; #endif |
