Lines Matching full:cblk
163 jpc_dec_cblk_t *cblk;
249 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks;
250 ++cblkno, ++cblk) {
252 if (!cblk->numpasses) {
267 if (!cblk->numpasses) {
279 cblk->numimsbs = i - 1;
280 cblk->firstpassno = cblk->numimsbs * 3;
286 seg = cblk->curseg;
293 cblk->numlenbits += m;
296 passno = cblk->firstpassno + cblk->numpasses + mycounter;
298 maxpasses = JPC_SEGPASSCNT(passno, cblk->firstpassno, 10000, (ccp->cblkctx & JPC_COX_LAZY) != 0, (ccp->cblkctx & JPC_COX_TERMALL) != 0);
303 jpc_seglist_insert(&cblk->segs, cblk->segs.tail, seg);
304 if (!cblk->curseg) {
305 cblk->curseg = seg;
308 seg->type = JPC_SEGTYPE(seg->passno, cblk->firstpassno, (ccp->cblkctx & JPC_COX_LAZY) != 0);
314 if ((len = jpc_bitstream_getbits(inb, cblk->numlenbits + jpc_floorlog2(n))) < 0) {
327 cblk->numpasses += savenumnewpasses;
381 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks;
382 ++cblkno, ++cblk) {
383 seg = cblk->curseg;
391 jas_eprintf("lyrno=%02d, compno=%02d, lvlno=%02d, prcno=%02d, bandno=%02d, cblkno=%02d, passno=%02d numpasses=%02d cnt=%d numbps=%d, numimsbs=%d\n", lyrno, compno, rlvlno, prcno, band - rlvl->bands, cblk - prc->cblks, seg->passno, seg->numpasses, seg->cnt, band->numbps, cblk->numimsbs);
400 cblk->curseg = seg->next;