Lines Matching refs:tcd_tile
244 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_makelayer() local
246 tcd_tile->distolayer[layno] = 0; /* fixed_quality */ in opj_tcd_makelayer()
248 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer()
249 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_makelayer()
325 tcd_tile->distolayer[layno] += layer->disto; /* fixed_quality */ in opj_tcd_makelayer()
346 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_makelayer_fixed() local
349 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_makelayer_fixed()
350 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_makelayer_fixed()
457 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_rateallocate() local
463 tcd_tile->numpix = 0; /* fixed_quality */ in opj_tcd_rateallocate()
465 for (compno = 0; compno < tcd_tile->numcomps; compno++) { in opj_tcd_rateallocate()
466 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_rateallocate()
514 tcd_tile->numpix += ((cblk->x1 - cblk->x0) * (cblk->y1 - cblk->y0)); in opj_tcd_rateallocate()
529 tile_info->numpix = tcd_tile->numpix; in opj_tcd_rateallocate()
530 tile_info->distotile = tcd_tile->distotile; in opj_tcd_rateallocate()
550 distotarget = tcd_tile->distotile - ((K * maxSE) / pow((OPJ_FLOAT32)10, in opj_tcd_rateallocate()
577 if (! opj_t2_encode_packets(t2, tcd->tcd_tileno, tcd_tile, layno + 1, dest, in opj_tcd_rateallocate()
585 … tcd_tile->distolayer[0] : cumdisto[layno - 1] + tcd_tile->distolayer[layno]; in opj_tcd_rateallocate()
597 … tcd_tile->distolayer[0] : (cumdisto[layno - 1] + tcd_tile->distolayer[layno]); in opj_tcd_rateallocate()
607 if (! opj_t2_encode_packets(t2, tcd->tcd_tileno, tcd_tile, layno + 1, dest, in opj_tcd_rateallocate()
636 cumdisto[layno] = (layno == 0) ? tcd_tile->distolayer[0] : in opj_tcd_rateallocate()
637 (cumdisto[layno - 1] + tcd_tile->distolayer[layno]); in opj_tcd_rateallocate()