Lines Matching refs:lyrno
361 uint_fast16_t lyrno; in cp_create() local
733 for (lyrno = 0; lyrno + 2 < tcp->numlyrs; ++lyrno) { in cp_create()
734 if (tcp->ilyrrates[lyrno] >= tcp->ilyrrates[lyrno + 1]) { in cp_create()
741 for (lyrno = 0; lyrno < tcp->numlyrs - 1; ++lyrno) { in cp_create()
742 if (jpc_fixtodbl(tcp->ilyrrates[lyrno]) > ((double) cp->totalsize) in cp_create()
1121 int lyrno; in jpc_enc_encodemainbody() local
1394 for (lyrno = 0; lyrno < tile->numlyrs - 1; ++lyrno) { in jpc_enc_encodemainbody()
1395 tile->lyrsizes[lyrno] = tile->rawsize * jpc_fixtodbl( in jpc_enc_encodemainbody()
1396 cp->tcp.ilyrrates[lyrno]); in jpc_enc_encodemainbody()
1400 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in jpc_enc_encodemainbody()
1401 if (tile->lyrsizes[lyrno] != UINT_FAST32_MAX) { in jpc_enc_encodemainbody()
1402 if (tilehdrlen <= JAS_CAST(long, tile->lyrsizes[lyrno])) { in jpc_enc_encodemainbody()
1403 tile->lyrsizes[lyrno] -= tilehdrlen; in jpc_enc_encodemainbody()
1405 tile->lyrsizes[lyrno] = 0; in jpc_enc_encodemainbody()
1476 (int)pass->start, (int)pass->end, (int)pass->type, (int)pass->term, (int)pass->lyrno, in dump_passes()
1590 int lyrno; in dump_layeringinfo() local
1595 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in dump_layeringinfo()
1596 jas_eprintf("lyrno = %02d\n", lyrno); in dump_layeringinfo()
1617 cblk->numpasses && pass->lyrno == lyrno; in dump_layeringinfo()
1619 …mptno=%02d rlvlno=%02d bandno=%02d prcno=%02d cblkno=%03d passno=%03d\n", lyrno, tcmptno, rlvlno, … in dump_layeringinfo()
1635 int lyrno; in rateallocate() local
1662 for (lyrno = 1; lyrno < numlyrs - 1; ++lyrno) { in rateallocate()
1663 if (cumlens[lyrno - 1] > cumlens[lyrno]) { in rateallocate()
1717 for (lyrno = 0; lyrno < numlyrs; ++lyrno) { in rateallocate()
1728 cumlen = cumlens[lyrno]; in rateallocate()
1732 assert(lyrno == numlyrs - 1); in rateallocate()
1774 pass->lyrno = lyrno; in rateallocate()
1777 pass->lyrno = -1; in rateallocate()
1795 … if (jpc_enc_encpkt(enc, out, comp - tile->tcmpts, lvl - comp->rlvls, prcno, lyrno)) { in rateallocate()
1870 pass->lyrno = lyrno; in rateallocate()
1873 pass->lyrno = -1; in rateallocate()
1891 … if (jpc_enc_encpkt(enc, out, comp - tile->tcmpts, lvl - comp->rlvls, prcno, lyrno)) { in rateallocate()
1922 uint_fast16_t lyrno; in jpc_enc_tile_create() local
1962 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in jpc_enc_tile_create()
1963 tile->lyrsizes[lyrno] = 0; in jpc_enc_tile_create()