Lines Matching defs:reslevelno
106 int tileno, compno, reslevelno, bandno, precno;
123 for(reslevelno = 0; reslevelno < s->nreslevels; reslevelno++){
124 Jpeg2000ResLevel *reslevel = comp->reslevel + reslevelno;
126 fprintf(fd, "reslevel %d:\n", reslevelno);
423 int compno, reslevelno, bandno;
429 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++){
430 int nbands, lev = codsty->nreslevels - reslevelno - 1;
431 nbands = reslevelno ? 3 : 1;
436 int bandpos = bandno + (reslevelno>0),
442 expn = ((bandno&2)>>1) + (reslevelno>0) + s->cbps[compno];
745 int compno, reslevelno, ret;
751 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++){
754 Jpeg2000ResLevel *reslevel = s->tile[tileno].comp[compno].reslevel + reslevelno;
756 if (ret = encode_packet(s, reslevel, precno, qntsty->expn + (reslevelno ? 3*reslevelno-2 : 0),
786 int precno, compno, reslevelno, bandno, cblkno, lev;
792 for (reslevelno = 0, lev = codsty->nreslevels-1; reslevelno < codsty->nreslevels; reslevelno++, lev--){
793 Jpeg2000ResLevel *reslevel = comp->reslevel + reslevelno;
797 int bandpos = bandno + (reslevelno > 0);
815 int compno, reslevelno, bandno, ret;
826 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++){
827 Jpeg2000ResLevel *reslevel = comp->reslevel + reslevelno;
833 yy0 = bandno == 0 ? 0 : comp->reslevel[reslevelno-1].coord[1][1] - comp->reslevel[reslevelno-1].coord[1][0];
841 bandpos = bandno + (reslevelno > 0);
844 if (reslevelno == 0 || bandno == 1)
847 xx0 = comp->reslevel[reslevelno-1].coord[0][1] - comp->reslevel[reslevelno-1].coord[0][0];
872 bandpos, codsty->nreslevels - reslevelno - 1);