Lines Matching refs:ct

210 		mqc->ct = 7;  in opj_mqc_byteout()
216 mqc->ct = 8; in opj_mqc_byteout()
224 mqc->ct = 7; in opj_mqc_byteout()
229 mqc->ct = 8; in opj_mqc_byteout()
239 mqc->ct--; in opj_mqc_renorme()
240 if (mqc->ct == 0) { in opj_mqc_renorme()
312 mqc->ct = i & 0x0f; in opj_mqc_bytein()
327 mqc->ct = 8; in opj_mqc_bytein()
331 mqc->ct = 7; in opj_mqc_bytein()
336 mqc->ct = 8; in opj_mqc_bytein()
340 mqc->ct = 8; in opj_mqc_bytein()
347 if (mqc->ct == 0) { in opj_mqc_renormd()
352 mqc->ct--; in opj_mqc_renormd()
397 mqc->ct = 12; in opj_mqc_init_enc()
399 mqc->ct = 13; in opj_mqc_init_enc()
414 mqc->c <<= mqc->ct; in opj_mqc_flush()
416 mqc->c <<= mqc->ct; in opj_mqc_flush()
426 mqc->ct = 8; in opj_mqc_bypass_init_enc()
433 mqc->ct--; in opj_mqc_bypass_enc()
434 mqc->c = mqc->c + (d << mqc->ct); in opj_mqc_bypass_enc()
435 if (mqc->ct == 0) { in opj_mqc_bypass_enc()
438 mqc->ct = 8; in opj_mqc_bypass_enc()
440 mqc->ct = 7; in opj_mqc_bypass_enc()
451 if (mqc->ct != 0) { in opj_mqc_bypass_flush_enc()
452 while (mqc->ct > 0) { in opj_mqc_bypass_flush_enc()
453 mqc->ct--; in opj_mqc_bypass_flush_enc()
454 mqc->c += (OPJ_UINT32)(bit_padding << mqc->ct); in opj_mqc_bypass_flush_enc()
459 mqc->ct = 8; in opj_mqc_bypass_flush_enc()
477 OPJ_INT32 n = (OPJ_INT32)(27 - 15 - mqc->ct); in opj_mqc_restart_enc()
478 mqc->c <<= mqc->ct; in opj_mqc_restart_enc()
481 n -= (OPJ_INT32)mqc->ct; in opj_mqc_restart_enc()
482 mqc->c <<= mqc->ct; in opj_mqc_restart_enc()
494 mqc->ct = 12; in opj_mqc_restart_init_enc()
497 mqc->ct = 13; in opj_mqc_restart_init_enc()
502 OPJ_INT32 k = (OPJ_INT32)(11 - mqc->ct + 1); in opj_mqc_erterm_enc()
505 mqc->c <<= mqc->ct; in opj_mqc_erterm_enc()
506 mqc->ct = 0; in opj_mqc_erterm_enc()
508 k -= (OPJ_INT32)mqc->ct; in opj_mqc_erterm_enc()
579 mqc->ct -= 7; in opj_mqc_init_dec()