Lines Matching refs:ctreg
95 #define jpc_mqenc_codemps9(areg, creg, ctreg, curctx, enc) \ argument
106 jpc_mqenc_renorme((areg), (creg), (ctreg), (enc)); \
112 #define jpc_mqenc_codelps2(areg, creg, ctreg, curctx, enc) \ argument
122 jpc_mqenc_renorme((areg), (creg), (ctreg), (enc)); \
125 #define jpc_mqenc_renorme(areg, creg, ctreg, enc) \ argument
130 if (!--(ctreg)) { \
131 jpc_mqenc_byteout((areg), (creg), (ctreg), (enc)); \
136 #define jpc_mqenc_byteout(areg, creg, ctreg, enc) \ argument
145 (ctreg) = 7; \
150 (ctreg) = 8; \
156 (ctreg) = 8; \
162 (ctreg) = 7; \
242 mqenc->ctreg = 12; in jpc_mqenc_init()
275 state->ctreg = mqenc->ctreg; in jpc_mqenc_getstate()
303 jpc_mqenc_codelps2(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc->curctx, mqenc); in jpc_mqenc_putbit_func()
322 jpc_mqenc_renorme(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc); in jpc_mqenc_codemps2()
328 jpc_mqenc_codelps2(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc->curctx, mqenc); in jpc_mqenc_codelps()
344 k = 11 - mqenc->ctreg + 1; in jpc_mqenc_flush()
346 mqenc->creg <<= mqenc->ctreg; in jpc_mqenc_flush()
347 mqenc->ctreg = 0; in jpc_mqenc_flush()
348 jpc_mqenc_byteout(mqenc->areg, mqenc->creg, mqenc->ctreg, in jpc_mqenc_flush()
350 k -= mqenc->ctreg; in jpc_mqenc_flush()
353 jpc_mqenc_byteout(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc); in jpc_mqenc_flush()
358 mqenc->creg <<= mqenc->ctreg; in jpc_mqenc_flush()
359 jpc_mqenc_byteout(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc); in jpc_mqenc_flush()
360 mqenc->creg <<= mqenc->ctreg; in jpc_mqenc_flush()
361 jpc_mqenc_byteout(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc); in jpc_mqenc_flush()
363 jpc_mqenc_byteout(mqenc->areg, mqenc->creg, mqenc->ctreg, mqenc); in jpc_mqenc_flush()
387 (unsigned)mqenc->areg, (unsigned)mqenc->creg, (int)mqenc->ctreg); in jpc_mqenc_dump()