Home | History | Annotate | Download | only in libjasper

Lines Matching full:tccp

353     jpc_enc_tccp_t *tccp;
432 tccp = &cp->tccp;
433 tccp->csty = 0;
434 tccp->maxrlvls = 6;
435 tccp->cblkwidthexpn = 6;
436 tccp->cblkheightexpn = 6;
437 tccp->cblksty = 0;
438 tccp->numgbits = 2;
475 tccp->cblkwidthexpn =
479 tccp->cblkheightexpn =
504 tccp->maxrlvls = atoi(jas_tvparser_getval(tvp));
513 tccp->cblksty |= JPC_COX_LAZY;
516 tccp->cblksty |= JPC_COX_TERMALL;
519 tccp
522 tccp->cblksty |= JPC_COX_VSC;
525 tccp->cblksty |= JPC_COX_RESET;
528 tccp->cblksty |= JPC_COX_PTERM;
531 cp->tccp.numgbits = atoi(jas_tvparser_getval(tvp));
618 tccp->qmfbid = (tcp->intmode) ? (JPC_COX_RFT) : (JPC_COX_INS);
620 for (rlvlno = 0; rlvlno < tccp->maxrlvls; ++rlvlno) {
621 tccp->prcwidthexpns[rlvlno] = prcwidthexpn;
622 tccp->prcheightexpns[rlvlno] = prcheightexpn;
625 tccp->csty |= JPC_COX_PRT;
688 if (cp->tccp.cblkwidthexpn < 2 || cp->tccp.cblkwidthexpn > 12) {
690 JPC_POW2(cp->tccp.cblkwidthexpn));
695 if (cp->tccp.cblkheightexpn < 2 || cp->tccp.cblkheightexpn > 12) {
697 JPC_POW2(cp->tccp.cblkheightexpn));
702 if (cp->tccp.cblkwidthexpn + cp->tccp.cblkheightexpn > 12) {
714 if (cp->tccp.maxrlvls < 1) {
720 if (cp->tccp.numgbits > 8) {
898 jpc_enc_tccp_t *tccp;
990 tccp = &cp->tccp;
992 tsfb = jpc_cod_gettsfb(tccp->qmfbid, tccp->maxrlvls - 1);
993 jpc_tsfb_getbands(tsfb, 0, 0, 1 << tccp->maxrlvls, 1 << tccp->maxrlvls,
997 numbands = 3 * tccp->maxrlvls - 2;
1001 analgain = JPC_NOMINALGAIN(tccp->qmfbid, tccp->maxrlvls,
1020 cod->csty = cp->tccp.csty | cp->tcp.csty;
1021 cod->compparms.csty = cp->tccp.csty | cp->tcp.csty;
1022 cod->compparms.numdlvls = cp->tccp.maxrlvls - 1;
1023 cod->compparms.numrlvls = cp->tccp.maxrlvls;
1026 cod->compparms.cblkwidthval = JPC_COX_CBLKSIZEEXPN(cp->tccp.cblkwidthexpn);
1027 cod->compparms.cblkheightval = JPC_COX_CBLKSIZEEXPN(cp->tccp.cblkheightexpn);
1028 cod->compparms.cblksty = cp->tccp.cblksty;
1029 cod->compparms.qmfbid = cp->tccp.qmfbid;
1031 if (tccp->csty & JPC_COX_PRT) {
1032 for (rlvlno = 0; rlvlno < tccp->maxrlvls; ++rlvlno) {
1033 cod->compparms.rlvls[rlvlno].parwidthval = tccp->prcwidthexpns[rlvlno];
1034 cod->compparms.rlvls[rlvlno].parheightval = tccp->prcheightexpns[rlvlno];
1048 qcd->compparms.qntsty = (tccp->qmfbid == JPC_COX_INS) ?
1051 qcd->compparms.numguard = cp->tccp.numgbits;
1061 tccp = &cp->tccp;
1068 qcc->compparms.qntsty = (tccp->qmfbid == JPC_COX_INS) ?
1071 qcc->compparms.numguard = cp->tccp.numgbits;
1125 jpc_enc_tccp_t *tccp;
1248 band->numbps = cp->tccp.numgbits +
1270 if (mingbits > cp->tccp.numgbits) {
1302 tccp = &cp->tccp;
1305 if (comp->numrlvls != tccp->maxrlvls) {
1353 qcc->compparms.numguard = cp->tccp.numgbits;
2087 tcmpt->qmfbid = cp->tccp.qmfbid;
2088 tcmpt->numrlvls = cp->tccp.maxrlvls;
2095 tcmpt->prcwidthexpns[rlvlno] = cp->tccp.prcwidthexpns[rlvlno];
2096 tcmpt->prcheightexpns[rlvlno] = cp->tccp.prcheightexpns[rlvlno];
2098 tcmpt->cblkwidthexpn = cp->tccp.cblkwidthexpn;
2099 tcmpt->cblkheightexpn = cp->tccp.cblkheightexpn;
2100 tcmpt->cblksty = cp->tccp.cblksty;
2101 tcmpt->csty = cp->tccp.csty;
2195 rlvl->prcwidthexpn = cp->tccp.prcwidthexpns[rlvlno];
2196 rlvl->prcheightexpn = cp->tccp.prcheightexpns[rlvlno];
2204 rlvl->cblkwidthexpn = JAS_MIN(cp->tccp.cblkwidthexpn, rlvl->cbgwidthexpn);
2205 rlvl->cblkheightexpn = JAS_MIN(cp->tccp.cblkheightexpn, rlvl->cbgheightexpn);
2285 band->analgain = JPC_NOMINALGAIN(cp->tccp.qmfbid, tcmpt->numrlvls, rlvlno,