Lines Matching refs:lyrsizes
1395 tile->lyrsizes[lyrno] = tile->rawsize * jpc_fixtodbl( in jpc_enc_encodemainbody()
1398 tile->lyrsizes[tile->numlyrs - 1] = (cp->totalsize != UINT_FAST32_MAX) ? 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()
1410 if (rateallocate(enc, tile->numlyrs, tile->lyrsizes)) { in jpc_enc_encodemainbody()
1932 tile->lyrsizes = 0; in jpc_enc_tile_create()
1958 if (!(tile->lyrsizes = jas_alloc2(tile->numlyrs, in jpc_enc_tile_create()
1963 tile->lyrsizes[lyrno] = 0; in jpc_enc_tile_create()
2032 if (tile->lyrsizes) { in jpc_enc_tile_destroy()
2033 jas_free(tile->lyrsizes); in jpc_enc_tile_destroy()