Home | History | Annotate | Download | only in libjasper

Lines Matching full:band

643     jpc_dec_band_t *band;
771 for (bandno = 0, band = rlvl->bands;
772 bandno < rlvl->numbands; ++bandno, ++band) {
777 band->orient = bnd->orient;
778 band->stepsize = ccp->stepsizes[bndno];
779 band->analgain = JPC_NOMINALGAIN(ccp->qmfbid,
780 tcomp->numrlvls - 1, rlvlno, band->orient);
781 band->absstepsize = jpc_calcabsstepsize(band->stepsize,
782 cmpt->prec + band->analgain);
783 band->numbps = ccp->numguardbits +
784 JPC_QCX_GETEXPN(band->stepsize) - 1;
785 band->roishift = (ccp->roishift + band->numbps >= JPC_PREC) ?
786 (JPC_PREC - 1 - band->numbps) : ccp->roishift;
787 band->data = 0;
788 band->prcs = 0;
792 if (!(band->data = jas_seq2d_create(0, 0, 0, 0))) {
795 jas_seq2d_bindsub(band->data, tcomp->data, bnd->locxstart, bnd->locystart, bnd->locxend, bnd->locyend);
796 jas_seq2d_setshift(band->data, bnd->xstart, bnd->ystart);
800 if (!(band->prcs = jas_alloc2(rlvl->numprcs, sizeof(jpc_dec_prc_t)))) {
807 for (prccnt = rlvl->numprcs, prc = band->prcs;
811 prc->xstart = JAS_MAX(cbgxstart, JAS_CAST(uint_fast32_t, jas_seq2d_xstart(band->data)));
812 prc->ystart = JAS_MAX(cbgystart, JAS_CAST(uint_fast32_t, jas_seq2d_ystart(band->data)));
813 prc->xend = JAS_MIN(cbgxend, JAS_CAST(uint_fast32_t, jas_seq2d_xend(band->data)));
814 prc->yend = JAS_MIN(cbgyend, JAS_CAST(uint_fast32_t, jas_seq2d_yend(band->data)));
865 jas_seq2d_bindsub(cblk->data, band->data, tmpxstart, tmpystart, tmpxend, tmpyend);
915 jpc_dec_band_t *band;
932 for (bandno = 0, band = rlvl->bands; bandno < rlvl->numbands; ++bandno, ++band) {
933 if (band->prcs) {
934 for (prcno = 0, prc = band->prcs; prcno <
968 if (band->data) {
969 jas_matrix_destroy(band->data);
971 if (band->prcs) {
972 jas_free(band->prcs);
1022 jpc_dec_band_t *band;
1045 for (bandno = 0, band = rlvl->bands;
1046 bandno < rlvl->numbands; ++bandno, ++band) {
1047 if (!band->data) {
1050 jpc_undo_roi(band->data, band->roishift, ccp->roishift -
1051 band->roishift, band->numbps);
1053 jas_matrix_asl(band->data, JPC_FIX_FRACBITS);
1054 jpc_dequantize(band->data, band->absstepsize);
1991 jpc_dec_band_t *band;
2008 for (bandno = 0, band = rlvl->bands;
2009 bandno < rlvl->numbands; ++bandno, ++band) {
2010 fprintf(out, "BAND %d\n", bandno);
2012 (int)jas_seq2d_xstart(band->data), (int)jas_seq2d_ystart(band->data), (int)jas_seq2d_xend(band->data),
2013 (int)jas_seq2d_yend(band->data), (int)(jas_seq2d_xend(band->data) - jas_seq2d_xstart(band->data)),
2014 (int)(jas_seq2d_yend(band->data) - jas_seq2d_ystart(band->data)));
2015 for (prcno = 0, prc = band->prcs;