Lines Matching refs:cblk
428 prec->cblk = av_mallocz_array(prec->nb_codeblocks_width *
430 sizeof(*prec->cblk));
431 if (!prec->cblk)
434 Jpeg2000Cblk *cblk = prec->cblk + cblkno;
441 cblk->coord[0][0] = FFMAX(Cx0, prec->coord[0][0]);
446 cblk->coord[1][0] = FFMAX(Cy0, prec->coord[1][0]);
449 cblk->coord[0][1] = FFMIN(Cx0 + (1 << band->log2_cblk_width),
453 cblk->coord[1][1] = FFMIN(Cy0 + (1 << band->log2_cblk_height),
457 cblk->coord[0][0] += comp->reslevel[reslevelno-1].coord[0][1] -
459 cblk->coord[0][1] += comp->reslevel[reslevelno-1].coord[0][1] -
463 cblk->coord[1][0] += comp->reslevel[reslevelno-1].coord[1][1] -
465 cblk->coord[1][1] += comp->reslevel[reslevelno-1].coord[1][1] -
469 cblk->zero = 0;
470 cblk->lblock = 3;
471 cblk->length = 0;
472 cblk->lengthinc = 0;
473 cblk->npasses = 0;
493 Jpeg2000Cblk *cblk = prec->cblk + cblkno;
494 cblk->length = 0;
495 cblk->lblock = 3;
526 av_freep(&prec->cblk);