Lines Matching refs:cmpt
413 jpc_dec_cmpt_t *cmpt; in jpc_dec_process_crg() local
417 for (cmptno = 0, cmpt = dec->cmpts; cmptno < dec->numcomps; ++cmptno, in jpc_dec_process_crg()
418 ++cmpt) { in jpc_dec_process_crg()
447 jpc_dec_cmpt_t *cmpt; in jpc_dec_process_sot() local
454 for (cmptno = 0, cmpt = dec->cmpts, compinfo = compinfos; in jpc_dec_process_sot()
455 cmptno < dec->numcomps; ++cmptno, ++cmpt, ++compinfo) { in jpc_dec_process_sot()
458 compinfo->prec = cmpt->prec; in jpc_dec_process_sot()
459 compinfo->sgnd = cmpt->sgnd; in jpc_dec_process_sot()
460 compinfo->width = cmpt->width; in jpc_dec_process_sot()
461 compinfo->height = cmpt->height; in jpc_dec_process_sot()
462 compinfo->hstep = cmpt->hstep; in jpc_dec_process_sot()
463 compinfo->vstep = cmpt->vstep; in jpc_dec_process_sot()
680 jpc_dec_cmpt_t *cmpt; in jpc_dec_tileinit() local
688 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno < in jpc_dec_tileinit()
689 dec->numcomps; ++compno, ++tcomp, ++cmpt) { in jpc_dec_tileinit()
700 cmpt->hstep), JPC_CEILDIV(tile->ystart, cmpt->vstep), in jpc_dec_tileinit()
701 JPC_CEILDIV(tile->xend, cmpt->hstep), JPC_CEILDIV(tile->yend, in jpc_dec_tileinit()
702 cmpt->vstep)))) { in jpc_dec_tileinit()
782 cmpt->prec + band->analgain); in jpc_dec_tileinit()
1029 jpc_dec_cmpt_t *cmpt; in jpc_dec_tiledecode() local
1098 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno < in jpc_dec_tiledecode()
1099 dec->numcomps; ++compno, ++tcomp, ++cmpt) { in jpc_dec_tiledecode()
1100 adjust = cmpt->sgnd ? 0 : (1 << (cmpt->prec - 1)); in jpc_dec_tiledecode()
1109 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno < in jpc_dec_tiledecode()
1110 dec->numcomps; ++compno, ++tcomp, ++cmpt) { in jpc_dec_tiledecode()
1113 mn = cmpt->sgnd ? (-(1 << (cmpt->prec - 1))) : (0); in jpc_dec_tiledecode()
1114 mx = cmpt->sgnd ? ((1 << (cmpt->prec - 1)) - 1) : ((1 << in jpc_dec_tiledecode()
1115 cmpt->prec) - 1); in jpc_dec_tiledecode()
1122 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno < in jpc_dec_tiledecode()
1123 dec->numcomps; ++compno, ++tcomp, ++cmpt) { in jpc_dec_tiledecode()
1125 JPC_CEILDIV(dec->xstart, cmpt->hstep), tcomp->ystart - in jpc_dec_tiledecode()
1126 JPC_CEILDIV(dec->ystart, cmpt->vstep), jas_matrix_numcols( in jpc_dec_tiledecode()
1169 jpc_dec_cmpt_t *cmpt; in jpc_dec_process_siz() local
1188 for (compno = 0, cmpt = dec->cmpts; compno < dec->numcomps; ++compno, in jpc_dec_process_siz()
1189 ++cmpt) { in jpc_dec_process_siz()
1190 cmpt->prec = siz->comps[compno].prec; in jpc_dec_process_siz()
1191 cmpt->sgnd = siz->comps[compno].sgnd; in jpc_dec_process_siz()
1192 cmpt->hstep = siz->comps[compno].hsamp; in jpc_dec_process_siz()
1193 cmpt->vstep = siz->comps[compno].vsamp; in jpc_dec_process_siz()
1194 cmpt->width = JPC_CEILDIV(dec->xend, cmpt->hstep) - in jpc_dec_process_siz()
1195 JPC_CEILDIV(dec->xstart, cmpt->hstep); in jpc_dec_process_siz()
1196 cmpt->height = JPC_CEILDIV(dec->yend, cmpt->vstep) - in jpc_dec_process_siz()
1197 JPC_CEILDIV(dec->ystart, cmpt->vstep); in jpc_dec_process_siz()
1198 cmpt->hsubstep = 0; in jpc_dec_process_siz()
1199 cmpt->vsubstep = 0; in jpc_dec_process_siz()
1235 for (compno = 0, cmpt = dec->cmpts, tcomp = tile->tcomps; in jpc_dec_process_siz()
1236 compno < dec->numcomps; ++compno, ++cmpt, ++tcomp) { in jpc_dec_process_siz()
1239 tcomp->xstart = JPC_CEILDIV(tile->xstart, cmpt->hstep); in jpc_dec_process_siz()
1240 tcomp->ystart = JPC_CEILDIV(tile->ystart, cmpt->vstep); in jpc_dec_process_siz()
1241 tcomp->xend = JPC_CEILDIV(tile->xend, cmpt->hstep); in jpc_dec_process_siz()
1242 tcomp->yend = JPC_CEILDIV(tile->yend, cmpt->vstep); in jpc_dec_process_siz()