• Home
  • Raw
  • Download

Lines Matching refs:codsty

199                                Jpeg2000CodingStyle *codsty,  in init_band_stepsize()  argument
234 if (codsty->transform != FF_DWT53) { in init_band_stepsize()
246 if (codsty->transform == FF_DWT97) { in init_band_stepsize()
247 … band->f_stepsize *= pow(F_LFTG_K, 2*(codsty->nreslevels2decode - reslevelno) + lband - 2); in init_band_stepsize()
268 Jpeg2000CodingStyle *codsty, in init_prec() argument
372 cblk->layers = av_mallocz_array(codsty->nlayers, sizeof(*cblk->layers)); in init_prec()
384 Jpeg2000CodingStyle *codsty, in init_band() argument
391 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5 in init_band()
396 init_band_stepsize(avctx, band, codsty, qntsty, bandno, gbandno, reslevelno, cbps); in init_band()
412 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width, in init_band()
414 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height, in init_band()
430 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width, in init_band()
432 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height, in init_band()
449 ret = init_prec(avctx, band, reslevel, comp, codsty, in init_band()
460 Jpeg2000CodingStyle *codsty, in ff_jpeg2000_init_component() argument
468 if (codsty->nreslevels2decode <= 0) { in ff_jpeg2000_init_component()
469 …av_log(avctx, AV_LOG_ERROR, "nreslevels2decode %d invalid or uninitialized\n", codsty->nreslevels2… in ff_jpeg2000_init_component()
474 codsty->nreslevels2decode - 1, in ff_jpeg2000_init_component()
475 codsty->transform)) in ff_jpeg2000_init_component()
489 if (codsty->transform == FF_DWT97) { in ff_jpeg2000_init_component()
502 comp->reslevel = av_mallocz_array(codsty->nreslevels, sizeof(*comp->reslevel)); in ff_jpeg2000_init_component()
506 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) { in ff_jpeg2000_init_component()
507 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5 in ff_jpeg2000_init_component()
518 reslevel->log2_prec_width = codsty->log2_prec_widths[reslevelno]; in ff_jpeg2000_init_component()
519 reslevel->log2_prec_height = codsty->log2_prec_heights[reslevelno]; in ff_jpeg2000_init_component()
559 comp, codsty, qntsty, in ff_jpeg2000_init_component()
569 void ff_jpeg2000_reinit(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty) in ff_jpeg2000_reinit() argument
572 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) { in ff_jpeg2000_reinit()
590 void ff_jpeg2000_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty) in ff_jpeg2000_cleanup() argument
594 comp->reslevel && reslevelno < codsty->nreslevels; in ff_jpeg2000_cleanup()