Lines Matching refs:ccps

380     cp->ccps = 0;  in cp_create()
406 if (!(cp->ccps = jas_alloc2(cp->numcmpts, sizeof(jpc_enc_ccp_t)))) { in cp_create()
409 for (cmptno = 0, ccp = cp->ccps; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno, in cp_create()
773 if (cp->ccps) { in jpc_enc_cp_destroy()
777 jas_free(cp->ccps); in jpc_enc_cp_destroy()
946 siz->comps[i].prec = cp->ccps[i].prec; in jpc_enc_encodemainhdr()
947 siz->comps[i].sgnd = cp->ccps[i].sgnd; in jpc_enc_encodemainhdr()
948 siz->comps[i].hsamp = cp->ccps[i].sampgrdstepx; in jpc_enc_encodemainhdr()
949 siz->comps[i].vsamp = cp->ccps[i].sampgrdstepy; in jpc_enc_encodemainhdr()
1009 cp->ccps[cmptno].stepsizes[bandno] = in jpc_enc_encodemainhdr()
1011 cp->ccps[cmptno].prec + analgain); in jpc_enc_encodemainhdr()
1013 cp->ccps[cmptno].numstepsizes = numbands; in jpc_enc_encodemainhdr()
1050 qcd->compparms.numstepsizes = cp->ccps[0].numstepsizes; in jpc_enc_encodemainhdr()
1052 qcd->compparms.stepsizes = cp->ccps[0].stepsizes; in jpc_enc_encodemainhdr()
1070 qcc->compparms.numstepsizes = cp->ccps[cmptno].numstepsizes; in jpc_enc_encodemainhdr()
1072 qcc->compparms.stepsizes = cp->ccps[cmptno].stepsizes; in jpc_enc_encodemainhdr()
1124 jpc_enc_ccp_t *ccps; in jpc_enc_encodemainbody() local
1156 if (!cp->ccps[cmptno].sgnd) { in jpc_enc_encodemainbody()
1157 adjust = 1 << (cp->ccps[cmptno].prec - 1); in jpc_enc_encodemainbody()
1230 numgbits = actualnumbps - (cp->ccps[cmptno].prec - 1 + in jpc_enc_encodemainbody()
1233 jas_eprintf("%d %d mag=%d actual=%d numgbits=%d\n", cp->ccps[cmptno].prec, band->analgain, mxmag, a… in jpc_enc_encodemainbody()
1246 band->absstepsize, cp->ccps[cmptno].prec + in jpc_enc_encodemainbody()
1335 ccps = &cp->ccps[cmptno]; in jpc_enc_encodemainbody()
1336 if (JAS_CAST(int, ccps->numstepsizes) == comp->numstepsizes) { in jpc_enc_encodemainbody()
1338 for (bandno = 0; bandno < JAS_CAST(int, ccps->numstepsizes); ++bandno) { in jpc_enc_encodemainbody()
1339 if (ccps->stepsizes[bandno] != comp->stepsizes[bandno]) { in jpc_enc_encodemainbody()
2064 ccp = &cp->ccps[cmptno]; in tcmpt_create()