Lines Matching defs:codsty

206                                Jpeg2000CodingStyle *codsty,
222 // lut_gain[codsty->transform == FF_DWT53][bandno + (reslevelno > 0)];
241 if (codsty->transform != FF_DWT53) {
253 if (codsty->transform == FF_DWT97) {
254 band->f_stepsize *= pow(F_LFTG_K, 2*(codsty->nreslevels2decode - reslevelno) + lband - 2);
275 Jpeg2000CodingStyle *codsty,
379 cblk->layers = av_calloc(codsty->nlayers, sizeof(*cblk->layers));
391 Jpeg2000CodingStyle *codsty,
398 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5
403 init_band_stepsize(avctx, band, codsty, qntsty, bandno, gbandno, reslevelno, cbps);
419 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width,
421 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
437 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width,
439 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
456 ret = init_prec(avctx, band, reslevel, comp, codsty,
467 Jpeg2000CodingStyle *codsty,
475 if (codsty->nreslevels2decode <= 0) {
476 av_log(avctx, AV_LOG_ERROR, "nreslevels2decode %d invalid or uninitialized\n", codsty->nreslevels2decode);
481 codsty->nreslevels2decode - 1,
482 codsty->transform))
496 if (codsty->transform == FF_DWT97) {
509 comp->reslevel = av_calloc(codsty->nreslevels, sizeof(*comp->reslevel));
513 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) {
514 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5
525 reslevel->log2_prec_width = codsty->log2_prec_widths[reslevelno];
526 reslevel->log2_prec_height = codsty->log2_prec_heights[reslevelno];
566 comp, codsty, qntsty,
576 void ff_jpeg2000_reinit(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty)
579 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) {
597 void ff_jpeg2000_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty)
601 comp->reslevel && reslevelno < codsty->nreslevels;