Lines Matching refs:nreslevels

502     /*  nreslevels = number of resolution levels
504 c->nreslevels = bytestream2_get_byteu(&s->g) + 1;
505 if (c->nreslevels >= JPEG2000_MAX_RESLEVELS) {
506 av_log(s->avctx, AV_LOG_ERROR, "nreslevels %d is invalid\n", c->nreslevels);
510 if (c->nreslevels <= s->reduction_factor) {
515 av_log(s->avctx, AV_LOG_ERROR, "reduction_factor too large for this bitstream, max is %d\n", c->nreslevels - 1);
516 s->reduction_factor = c->nreslevels - 1;
521 c->nreslevels2decode = c->nreslevels - s->reduction_factor;
548 for (i = 0; i < c->nreslevels; i++) {
1330 if (reslevelno < codsty->nreslevels) {
1356 if (reslevelno < codsty->nreslevels) {
1382 if (RSpoc >= FFMIN(codsty->nreslevels, REpoc))
1385 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1386 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1400 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1402 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1451 if (reslevelno < codsty->nreslevels) {
1452 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1467 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1475 if (reslevelno >= codsty->nreslevels)
1526 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1527 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1550 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1552 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r