Lines Matching refs:tilec
64 opj_tcd_tilecomp_t *tilec = &tile->comps[compno]; in tcd_dump() local
68 tilec->x0, tilec->y0, tilec->x1, tilec->y1, tilec->numresolutions); in tcd_dump()
69 for (resno = 0; resno < tilec->numresolutions; resno++) { in tcd_dump()
70 opj_tcd_resolution_t *res = &tilec->resolutions[resno]; in tcd_dump()
249 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_makelayer() local
251 for (resno = 0; resno < tilec->numresolutions; resno++) { in opj_tcd_makelayer()
252 opj_tcd_resolution_t *res = &tilec->resolutions[resno]; in opj_tcd_makelayer()
350 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_makelayer_fixed() local
353 for (j = 0; j < tilec->numresolutions; j++) { in opj_tcd_makelayer_fixed()
357 tilec->numresolutions * 3 + j * 3 + k] in opj_tcd_makelayer_fixed()
363 for (resno = 0; resno < tilec->numresolutions; resno++) { in opj_tcd_makelayer_fixed()
364 opj_tcd_resolution_t *res = &tilec->resolutions[resno]; in opj_tcd_makelayer_fixed()
466 opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno]; in opj_tcd_rateallocate() local
467 tilec->numpix = 0; in opj_tcd_rateallocate()
469 for (resno = 0; resno < tilec->numresolutions; resno++) { in opj_tcd_rateallocate()
470 opj_tcd_resolution_t *res = &tilec->resolutions[resno]; in opj_tcd_rateallocate()
515 tilec->numpix += ((cblk->x1 - cblk->x0) * (cblk->y1 - cblk->y0)); in opj_tcd_rateallocate()
523 * ((OPJ_FLOAT64)(tilec->numpix)); in opj_tcd_rateallocate()
1524 opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]); in opj_tcd_decode_tile() local
1526 (tilec->resolutions[tilec->minimum_num_resolutions - 1]); in opj_tcd_decode_tile()
1552 tilec->data_size_needed = l_data_size; in opj_tcd_decode_tile()
1554 if (!opj_alloc_tile_component_data(tilec)) { in opj_tcd_decode_tile()
1566 opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]); in opj_tcd_decode_tile() local
1575 tilec->win_x0 = opj_uint_max( in opj_tcd_decode_tile()
1576 (OPJ_UINT32)tilec->x0, in opj_tcd_decode_tile()
1578 tilec->win_y0 = opj_uint_max( in opj_tcd_decode_tile()
1579 (OPJ_UINT32)tilec->y0, in opj_tcd_decode_tile()
1581 tilec->win_x1 = opj_uint_min( in opj_tcd_decode_tile()
1582 (OPJ_UINT32)tilec->x1, in opj_tcd_decode_tile()
1584 tilec->win_y1 = opj_uint_min( in opj_tcd_decode_tile()
1585 (OPJ_UINT32)tilec->y1, in opj_tcd_decode_tile()
1587 if (tilec->win_x1 < tilec->win_x0 || in opj_tcd_decode_tile()
1588 tilec->win_y1 < tilec->win_y0) { in opj_tcd_decode_tile()
1597 for (resno = 0; resno < tilec->numresolutions; ++resno) { in opj_tcd_decode_tile()
1598 opj_tcd_resolution_t *res = tilec->resolutions + resno; in opj_tcd_decode_tile()
1599 res->win_x0 = opj_uint_ceildivpow2(tilec->win_x0, in opj_tcd_decode_tile()
1600 tilec->numresolutions - 1 - resno); in opj_tcd_decode_tile()
1601 res->win_y0 = opj_uint_ceildivpow2(tilec->win_y0, in opj_tcd_decode_tile()
1602 tilec->numresolutions - 1 - resno); in opj_tcd_decode_tile()
1603 res->win_x1 = opj_uint_ceildivpow2(tilec->win_x1, in opj_tcd_decode_tile()
1604 tilec->numresolutions - 1 - resno); in opj_tcd_decode_tile()
1605 res->win_y1 = opj_uint_ceildivpow2(tilec->win_y1, in opj_tcd_decode_tile()
1606 tilec->numresolutions - 1 - resno); in opj_tcd_decode_tile()
1657 opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]); in opj_tcd_decode_tile() local
1659 opj_tcd_resolution_t *res = tilec->resolutions + image_comp->resno_decoded; in opj_tcd_decode_tile()
1664 opj_image_data_free(tilec->data_win); in opj_tcd_decode_tile()
1665 tilec->data_win = NULL; in opj_tcd_decode_tile()
1685 tilec->data_win = (OPJ_INT32*) opj_image_data_alloc(l_data_size); in opj_tcd_decode_tile()
1686 if (tilec->data_win == NULL) { in opj_tcd_decode_tile()
2726 opj_tcd_tilecomp_t *tilec = &(tcd->tcd_image->tiles->comps[compno]); in opj_tcd_is_subband_area_of_interest() local
2731 (OPJ_UINT32)tilec->x0, in opj_tcd_is_subband_area_of_interest()
2734 (OPJ_UINT32)tilec->y0, in opj_tcd_is_subband_area_of_interest()
2737 (OPJ_UINT32)tilec->x1, in opj_tcd_is_subband_area_of_interest()
2740 (OPJ_UINT32)tilec->y1, in opj_tcd_is_subband_area_of_interest()
2744 tilec->numresolutions - 1 : in opj_tcd_is_subband_area_of_interest()
2745 tilec->numresolutions - resno; in opj_tcd_is_subband_area_of_interest()
2799 opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]); in opj_tcd_is_whole_tilecomp_decoding() local
2804 (OPJ_UINT32)tilec->x0, in opj_tcd_is_whole_tilecomp_decoding()
2807 (OPJ_UINT32)tilec->y0, in opj_tcd_is_whole_tilecomp_decoding()
2810 (OPJ_UINT32)tilec->x1, in opj_tcd_is_whole_tilecomp_decoding()
2813 (OPJ_UINT32)tilec->y1, in opj_tcd_is_whole_tilecomp_decoding()
2816 OPJ_UINT32 shift = tilec->numresolutions - tilec->minimum_num_resolutions; in opj_tcd_is_whole_tilecomp_decoding()
2819 return (tcx0 >= (OPJ_UINT32)tilec->x0 && in opj_tcd_is_whole_tilecomp_decoding()
2820 tcy0 >= (OPJ_UINT32)tilec->y0 && in opj_tcd_is_whole_tilecomp_decoding()
2821 tcx1 <= (OPJ_UINT32)tilec->x1 && in opj_tcd_is_whole_tilecomp_decoding()
2822 tcy1 <= (OPJ_UINT32)tilec->y1 && in opj_tcd_is_whole_tilecomp_decoding()
2824 (((tcx0 - (OPJ_UINT32)tilec->x0) >> shift) == 0 && in opj_tcd_is_whole_tilecomp_decoding()
2825 ((tcy0 - (OPJ_UINT32)tilec->y0) >> shift) == 0 && in opj_tcd_is_whole_tilecomp_decoding()
2826 (((OPJ_UINT32)tilec->x1 - tcx1) >> shift) == 0 && in opj_tcd_is_whole_tilecomp_decoding()
2827 (((OPJ_UINT32)tilec->y1 - tcy1) >> shift) == 0))); in opj_tcd_is_whole_tilecomp_decoding()