Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching refs:l_res

668 	opj_tcd_resolution_t *l_res = 00;
784 l_res = l_tilec->resolutions;
801 l_res->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no);
802 l_res->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no);
803 l_res->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no);
804 l_res->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no);
805 /*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);*/
811 l_tl_prc_x_start = opj_int_floordivpow2(l_res->x0, (OPJ_INT32)l_pdx) << l_pdx;
812 l_tl_prc_y_start = opj_int_floordivpow2(l_res->y0, (OPJ_INT32)l_pdy) << l_pdy;
813 l_br_prc_x_end = opj_int_ceildivpow2(l_res->x1, (OPJ_INT32)l_pdx) << l_pdx;
814 l_br_prc_y_end = opj_int_ceildivpow2(l_res->y1, (OPJ_INT32)l_pdy) << l_pdy;
817 l_res->pw = (l_res->x0 == l_res->x1) ? 0 : (OPJ_UINT32)((l_br_prc_x_end - l_tl_prc_x_start) >> l_pdx);
818 l_res->ph = (l_res->y0 == l_res->y1) ? 0 : (OPJ_UINT32)((l_br_prc_y_end - l_tl_prc_y_start) >> l_pdy);
819 /*fprintf(stderr, "\t\t\tres_pw=%d, res_ph=%d\n", l_res->pw, l_res->ph );*/
821 l_nb_precincts = l_res->pw * l_res->ph;
830 l_res->numbands = 1;
839 l_res->numbands = 3;
844 l_band = l_res->bands;
846 for (bandno = 0; bandno < l_res->numbands; ++bandno) {
848 /*fprintf(stderr, "\t\t\tband_no=%d/%d\n", bandno, l_res->numbands );*/
905 OPJ_INT32 cbgxstart = tlcbgxstart + (OPJ_INT32)(precno % l_res->pw) * (1 << cbgwidthexpn);
906 OPJ_INT32 cbgystart = tlcbgystart + (OPJ_INT32)(precno / l_res->pw) * (1 << cbgheightexpn);
910 /*fprintf(stderr, "\t tlcbgxstart(=%d) + (precno(=%d) percent res->pw(=%d)) * (1 << cbgwidthexpn(=%d)) \n",tlcbgxstart,precno,l_res->pw,cbgwidthexpn);*/
1038 ++l_res;
1150 opj_tcd_resolution_t * l_res = 00;
1168 l_res = l_tile_comp->resolutions + l_tile_comp->minimum_num_resolutions - 1;
1169 l_data_size += l_size_comp * (OPJ_UINT32)((l_res->x1 - l_res->x0) * (l_res->y1 - l_res->y0));
1358 opj_tcd_resolution_t * l_res;
1373 l_res = l_tilec->resolutions + l_img_comp->resno_decoded;
1374 l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
1375 l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);
1470 opj_tcd_resolution_t *l_res = 00;
1499 l_res = l_tile_comp->resolutions;
1500 if (l_res) {
1504 l_band = l_res->bands;
1524 ++l_res;
1734 opj_tcd_resolution_t* l_res = 00;
1747 l_res = l_tile_comp->resolutions + l_img_comp->resno_decoded;
1748 l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
1749 l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);