Lines Matching refs:l_res

669 	opj_tcd_resolution_t *l_res = 00;
795 l_res = l_tilec->resolutions;
812 l_res->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no);
813 l_res->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no);
814 l_res->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no);
815 l_res->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no);
816 /*fprintf(stderr, "\t\t\tres_x0= %d, res_y0 =%d, res_x1=%d, res_y1=%d\n", l_res->x0, l_res->y0, l_res->x1, l_res->y1);*/
822 l_tl_prc_x_start = opj_int_floordivpow2(l_res->x0, (OPJ_INT32)l_pdx) << l_pdx;
823 l_tl_prc_y_start = opj_int_floordivpow2(l_res->y0, (OPJ_INT32)l_pdy) << l_pdy;
824 l_br_prc_x_end = opj_int_ceildivpow2(l_res->x1, (OPJ_INT32)l_pdx) << l_pdx;
825 l_br_prc_y_end = opj_int_ceildivpow2(l_res->y1, (OPJ_INT32)l_pdy) << l_pdy;
828 l_res->pw = (l_res->x0 == l_res->x1) ? 0 : (OPJ_UINT32)((l_br_prc_x_end - l_tl_prc_x_start) >> l_pdx);
829 l_res->ph = (l_res->y0 == l_res->y1) ? 0 : (OPJ_UINT32)((l_br_prc_y_end - l_tl_prc_y_start) >> l_pdy);
830 /*fprintf(stderr, "\t\t\tres_pw=%d, res_ph=%d\n", l_res->pw, l_res->ph );*/
832 if (l_res->pw && ((OPJ_UINT32)-1) / l_res->pw < l_res->ph) {
835 l_nb_precincts = l_res->pw * l_res->ph;
848 l_res->numbands = 1;
857 l_res->numbands = 3;
862 l_band = l_res->bands;
864 for (bandno = 0; bandno < l_res->numbands; ++bandno) {
866 /*fprintf(stderr, "\t\t\tband_no=%d/%d\n", bandno, l_res->numbands );*/
922 OPJ_INT32 cbgxstart = tlcbgxstart + (OPJ_INT32)(precno % l_res->pw) * (1 << cbgwidthexpn);
923 OPJ_INT32 cbgystart = tlcbgystart + (OPJ_INT32)(precno / l_res->pw) * (1 << cbgheightexpn);
927 /*fprintf(stderr, "\t tlcbgxstart(=%d) + (precno(=%d) percent res->pw(=%d)) * (1 << cbgwidthexpn(=%d)) \n",tlcbgxstart,precno,l_res->pw,cbgwidthexpn);*/
1053 ++l_res;
1165 opj_tcd_resolution_t * l_res = 00;
1184 l_res = l_tile_comp->resolutions + l_tile_comp->minimum_num_resolutions - 1;
1185 l_temp = (OPJ_UINT32)((l_res->x1 - l_res->x0) * (l_res->y1 - l_res->y0)); /* x1*y1 can't overflow */
1386 opj_tcd_resolution_t * l_res;
1401 l_res = l_tilec->resolutions + l_img_comp->resno_decoded;
1402 l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
1403 l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);
1498 opj_tcd_resolution_t *l_res = 00;
1527 l_res = l_tile_comp->resolutions;
1528 if (l_res) {
1532 l_band = l_res->bands;
1552 ++l_res;
1763 opj_tcd_resolution_t* l_res = 00;
1776 l_res = l_tile_comp->resolutions + l_img_comp->resno_decoded;
1777 l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
1778 l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);