Lines Matching refs:tcomp

682 	jpc_dec_tcomp_t *tcomp;
731 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno <
732 dec->numcomps; ++compno, ++tcomp, ++cmpt) {
737 tcomp->numrlvls = ccp->numrlvls;
738 if (!(tcomp->rlvls = jas_malloc(tcomp->numrlvls *
742 if (!(tcomp->data = jas_seq2d_create(JPC_CEILDIV(tile->xstart,
748 if (!(tcomp->tsfb = jpc_cod_gettsfb(ccp->qmfbid,
749 tcomp->numrlvls - 1))) {
753 jpc_tsfb_getbands(tcomp->tsfb, jas_seq2d_xstart(tcomp->data), jas_seq2d_ystart(tcomp->data), jas_seq2d_xend(tcomp->data), jas_seq2d_yend(tcomp->data), bnds);
755 for (rlvlno = 0, rlvl = tcomp->rlvls; rlvlno < tcomp->numrlvls;
758 rlvl->xstart = JPC_CEILDIVPOW2(tcomp->xstart,
759 tcomp->numrlvls - 1 - rlvlno);
760 rlvl->ystart = JPC_CEILDIVPOW2(tcomp->ystart,
761 tcomp->numrlvls - 1 - rlvlno);
762 rlvl->xend = JPC_CEILDIVPOW2(tcomp->xend,
763 tcomp->numrlvls - 1 - rlvlno);
764 rlvl->yend = JPC_CEILDIVPOW2(tcomp->yend,
765 tcomp->numrlvls - 1 - rlvlno);
823 tcomp->numrlvls - 1, rlvlno, band->orient);
838 jas_seq2d_bindsub(band->data, tcomp->data, bnd->locxstart, bnd->locystart, bnd->locxend, bnd->locyend);
954 jpc_dec_tcomp_t *tcomp;
968 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps;
969 ++compno, ++tcomp) {
970 for (rlvlno = 0, rlvl = tcomp->rlvls; rlvlno < tcomp->numrlvls;
1022 if (tcomp->rlvls) {
1023 jas_free(tcomp->rlvls);
1025 if (tcomp->data) {
1026 jas_matrix_destroy(tcomp->data);
1028 if (tcomp->tsfb) {
1029 jpc_tsfb_destroy(tcomp->tsfb);
1063 jpc_dec_tcomp_t *tcomp;
1080 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps;
1081 ++compno, ++tcomp) {
1083 for (rlvlno = 0, rlvl = tcomp->rlvls; rlvlno < tcomp->numrlvls;
1105 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps;
1106 ++compno, ++tcomp) {
1108 jpc_tsfb_synthesize(tcomp->tsfb, ((ccp->qmfbid ==
1109 JPC_COX_RFT) ? JPC_TSFB_RITIMODE : 0), tcomp->data);
1129 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps;
1130 ++compno, ++tcomp) {
1131 for (i = 0; i < jas_matrix_numrows(tcomp->data); ++i) {
1132 for (j = 0; j < jas_matrix_numcols(tcomp->data); ++j) {
1133 v = jas_matrix_get(tcomp->data, i, j);
1135 jas_matrix_set(tcomp->data, i, j, jpc_fixtoint(v));
1142 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno <
1143 dec->numcomps; ++compno, ++tcomp, ++cmpt) {
1145 for (i = 0; i < jas_matrix_numrows(tcomp->data); ++i) {
1146 for (j = 0; j < jas_matrix_numcols(tcomp->data); ++j) {
1147 *jas_matrix_getref(tcomp->data, i, j) += adjust;
1153 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno <
1154 dec->numcomps; ++compno, ++tcomp, ++cmpt) {
1160 jas_matrix_clip(tcomp->data, mn, mx);
1166 for (compno = 0, tcomp = tile->tcomps, cmpt = dec->cmpts; compno <
1167 dec->numcomps; ++compno, ++tcomp, ++cmpt) {
1168 if (jas_image_writecmpt(dec->image, compno, tcomp->xstart -
1169 JPC_CEILDIV(dec->xstart, cmpt->hstep), tcomp->ystart -
1171 tcomp->data), jas_matrix_numrows(tcomp->data), tcomp->data)) {
1206 jpc_dec_tcomp_t *tcomp;
1275 for (compno = 0, cmpt = dec->cmpts, tcomp = tile->tcomps;
1276 compno < dec->numcomps; ++compno, ++cmpt, ++tcomp) {
1277 tcomp->rlvls = 0;
1278 tcomp->data = 0;
1279 tcomp->xstart = JPC_CEILDIV(tile->xstart, cmpt->hstep);
1280 tcomp->ystart = JPC_CEILDIV(tile->ystart, cmpt->vstep);
1281 tcomp->xend = JPC_CEILDIV(tile->xend, cmpt->hstep);
1282 tcomp->yend = JPC_CEILDIV(tile->yend, cmpt->vstep);
1283 tcomp->tsfb = 0;
2016 jpc_dec_tcomp_t *tcomp;
2029 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps;
2030 ++compno, ++tcomp) {
2031 for (rlvlno = 0, rlvl = tcomp->rlvls; rlvlno <
2032 tcomp->numrlvls; ++rlvlno, ++rlvl) {