Lines Matching refs:codsty
195 Jpeg2000CodingStyle *codsty,
204 if (codsty->nreslevels2decode <= 0) {
205 av_log(avctx, AV_LOG_ERROR, "nreslevels2decode %d invalid or uninitialized\n", codsty->nreslevels2decode);
210 codsty->nreslevels2decode - 1,
211 codsty->transform))
217 if (codsty->transform == FF_DWT97) {
228 comp->reslevel = av_mallocz_array(codsty->nreslevels, sizeof(*comp->reslevel));
232 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) {
233 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5
244 reslevel->log2_prec_width = codsty->log2_prec_widths[reslevelno];
245 reslevel->log2_prec_height = codsty->log2_prec_heights[reslevelno];
297 lut_gain[codsty->transform == FF_DWT53][bandno + (reslevelno > 0)];
340 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width,
342 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
358 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width,
360 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
481 void ff_jpeg2000_reinit(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty)
484 for (reslevelno = 0; reslevelno < codsty->nreslevels; reslevelno++) {
502 void ff_jpeg2000_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty)
506 comp->reslevel && reslevelno < codsty->nreslevels;