Lines Matching refs:cblks
139 static void cblk_destroy(jpc_enc_cblk_t *cblks);
1611 if (!prc->cblks) { in dump_layeringinfo()
1614 for (cblkno = 0, cblk = prc->cblks; cblkno < in dump_layeringinfo()
1689 if (!prc->cblks) { in rateallocate()
1692 endcblks = &prc->cblks[prc->numcblks]; in rateallocate()
1693 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in rateallocate()
1760 if (!prc->cblks) { in rateallocate()
1763 endcblks = &prc->cblks[prc->numcblks]; in rateallocate()
1764 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in rateallocate()
1854 if (!prc->cblks) { in rateallocate()
1857 endcblks = &prc->cblks[prc->numcblks]; in rateallocate()
1858 for (cblk = prc->cblks; cblk != endcblks; ++cblk) { in rateallocate()
2298 prc->cblks = 0; in band_create()
2360 prc->cblks = 0; in prc_create()
2425 if (!(prc->cblks = jas_alloc2(prc->numcblks, sizeof(jpc_enc_cblk_t)))) { in prc_create()
2428 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in prc_create()
2437 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in prc_create()
2450 prc->cblks = 0; in prc_create()
2469 if (prc->cblks) { in prc_destroy()
2470 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in prc_destroy()
2474 jas_free(prc->cblks); in prc_destroy()
2504 cblkno = cblk - prc->cblks; in cblk_create()
2609 if (!prc->cblks) { in jpc_enc_dump()
2612 for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks; in jpc_enc_dump()