Lines Matching refs:ct
83 bio->ct = bio->buf == 0xff00 ? 7 : 8; in opj_bio_byteout()
93 bio->ct = bio->buf == 0xff00 ? 7 : 8; in opj_bio_bytein()
102 if (bio->ct == 0) { in opj_bio_putbit()
105 bio->ct--; in opj_bio_putbit()
106 bio->buf |= b << bio->ct; in opj_bio_putbit()
110 if (bio->ct == 0) { in opj_bio_getbit()
113 bio->ct--; in opj_bio_getbit()
114 return (bio->buf >> bio->ct) & 1; in opj_bio_getbit()
143 bio->ct = 8; in opj_bio_init_enc()
151 bio->ct = 0; in opj_bio_init_dec()
175 if (bio->ct == 7) { in opj_bio_flush()
189 bio->ct = 0; in opj_bio_inalign()