Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching full:cblk

272                                 opj_tcd_cblk_enc_t* cblk,
287 @param cblk Code-block coding parameters
293 opj_tcd_cblk_dec_t* cblk,
1289 opj_tcd_cblk_dec_t* cblk = &precinct->cblks.dec[cblkno];
1297 cblk,
1304 x = cblk->x0 - band->x0;
1305 y = cblk->y0 - band->y0;
1362 opj_tcd_cblk_dec_t* cblk,
1377 (OPJ_UINT32)(cblk->x1 - cblk->x0),
1378 (OPJ_UINT32)(cblk->y1 - cblk->y0)))
1383 bpno_plus_one = (OPJ_INT32)(roishift + cblk->numbps);
1391 for (segno = 0; segno < cblk->real_num_segs; ++segno) {
1392 opj_tcd_seg_t *seg = &cblk->segs[segno];
1395 type = ((bpno_plus_one <= ((OPJ_INT32) (cblk->numbps)) - 4) && (passtype < 2) && (cblksty & J2K_CCP_CBLKSTY_LAZY)) ? T1_TYPE_RAW : T1_TYPE_MQ;
1482 opj_tcd_cblk_enc_t* cblk = &prc->cblks.enc[cblkno];
1488 OPJ_INT32 x = cblk->x0 - band->x0;
1489 OPJ_INT32 y = cblk->y0 - band->y0;
1501 (OPJ_UINT32)(cblk->x1 - cblk->x0),
1502 (OPJ_UINT32)(cblk->y1 - cblk->y0)))
1538 cblk,
1560 opj_tcd_cblk_enc_t* cblk,
1593 cblk->numbps = max ? (OPJ_UINT32)((opj_int_floorlog2(max) + 1) - T1_NMSEDEC_FRACBITS) : 0;
1595 bpno = (OPJ_INT32)(cblk->numbps - 1);
1602 opj_mqc_init_enc(mqc, cblk->data);
1605 opj_tcd_pass_t *pass = &cblk->passes[passno];
1607 type = ((bpno < ((OPJ_INT32) (cblk->numbps) - 4)) && (passtype < 2) && (cblksty & J2K_CCP_CBLKSTY_LAZY)) ? T1_TYPE_RAW : T1_TYPE_MQ;
1641 if (((bpno < ((OPJ_INT32) (cblk->numbps) - 4) && (passtype > 0))
1642 || ((bpno == ((OPJ_INT32)cblk->numbps - 4)) && (passtype == 2))) && (cblksty & J2K_CCP_CBLKSTY_LAZY)) {
1663 type = ((bpno < ((OPJ_INT32) (cblk->numbps) - 4)) && (passtype < 2) && (cblksty & J2K_CCP_CBLKSTY_LAZY)) ? T1_TYPE_RAW : T1_TYPE_MQ;
1684 cblk->totalpasses = passno;
1686 for (passno = 0; passno<cblk->totalpasses; passno++) {
1687 opj_tcd_pass_t *pass = &cblk->passes[passno];
1691 if((pass->rate>1) && (cblk->data[pass->rate - 1] == 0xFF)){
1694 pass->len = pass->rate - (passno == 0 ? 0 : cblk->passes[passno - 1].rate);