Lines Matching refs:curctx
43 #define opj_mqc_mpsexchange_macro(d, curctx, a) \ argument
45 if (a < (*curctx)->qeval) { \
46 d = !((*curctx)->mps); \
47 *curctx = (*curctx)->nlps; \
49 d = (*curctx)->mps; \
50 *curctx = (*curctx)->nmps; \
55 #define opj_mqc_lpsexchange_macro(d, curctx, a) \ argument
57 if (a < (*curctx)->qeval) { \
58 a = (*curctx)->qeval; \
59 d = (*curctx)->mps; \
60 *curctx = (*curctx)->nmps; \
62 a = (*curctx)->qeval; \
63 d = !((*curctx)->mps); \
64 *curctx = (*curctx)->nlps; \
138 #define opj_mqc_decode_macro(d, mqc, curctx, a, c, ct) \ argument
144 a -= (*curctx)->qeval; \
145 if ((c >> 16) < (*curctx)->qeval) { \
146 opj_mqc_lpsexchange_macro(d, curctx, a); \
149 c -= (*curctx)->qeval << 16; \
151 opj_mqc_mpsexchange_macro(d, curctx, a); \
154 d = (*curctx)->mps; \
159 #define DOWNLOAD_MQC_VARIABLES(mqc, curctx, c, a, ct) \ argument
160 register const opj_mqc_state_t **curctx = mqc->curctx; \
165 #define UPLOAD_MQC_VARIABLES(mqc, curctx, c, a, ct) \ argument
166 mqc->curctx = curctx; \
194 opj_mqc_decode_macro(d, mqc, mqc->curctx, mqc->a, mqc->c, mqc->ct)