Lines Matching refs:numlyrs
162 int rateallocate(jpc_enc_t *enc, int numlyrs, uint_fast32_t *cumlens);
429 tcp->numlyrs = 1; in cp_create()
658 tcp->numlyrs = numilyrrates + 1; in cp_create()
659 if (!(tcp->ilyrrates = jas_alloc2((tcp->numlyrs - 1), in cp_create()
663 for (i = 0; i < JAS_CAST(int, tcp->numlyrs - 1); ++i) { in cp_create()
708 if (cp->tcp.numlyrs > 16384) { in cp_create()
731 if (tcp->numlyrs > 1) { in cp_create()
733 for (lyrno = 0; lyrno + 2 < tcp->numlyrs; ++lyrno) { in cp_create()
741 for (lyrno = 0; lyrno < tcp->numlyrs - 1; ++lyrno) { in cp_create()
1025 cod->numlyrs = cp->tcp.numlyrs; in jpc_enc_encodemainhdr()
1316 cod->numlyrs = tile->numlyrs; in jpc_enc_encodemainbody()
1394 for (lyrno = 0; lyrno < tile->numlyrs - 1; ++lyrno) { in jpc_enc_encodemainbody()
1398 tile->lyrsizes[tile->numlyrs - 1] = (cp->totalsize != UINT_FAST32_MAX) ? in jpc_enc_encodemainbody()
1400 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in jpc_enc_encodemainbody()
1410 if (rateallocate(enc, tile->numlyrs, tile->lyrsizes)) { in jpc_enc_encodemainbody()
1595 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in dump_layeringinfo()
1629 int rateallocate(jpc_enc_t *enc, int numlyrs, uint_fast32_t *cumlens) in rateallocate() argument
1662 for (lyrno = 1; lyrno < numlyrs - 1; ++lyrno) { in rateallocate()
1717 for (lyrno = 0; lyrno < numlyrs; ++lyrno) { in rateallocate()
1732 assert(lyrno == numlyrs - 1); in rateallocate()
1957 tile->numlyrs = cp->tcp.numlyrs; in jpc_enc_tile_create()
1958 if (!(tile->lyrsizes = jas_alloc2(tile->numlyrs, in jpc_enc_tile_create()
1962 for (lyrno = 0; lyrno < tile->numlyrs; ++lyrno) { in jpc_enc_tile_create()