Lines Matching defs:codsty

83     Jpeg2000CodingStyle codsty[4];
125 Jpeg2000CodingStyle codsty[4];
863 memcpy(tile->codsty, s->codsty, s->ncomponents * sizeof(Jpeg2000CodingStyle));
1026 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1047 if (!codsty->init)
1049 if (ret = ff_jpeg2000_init_component(comp, codsty, qntsty,
1096 int *tp_index, Jpeg2000CodingStyle *codsty)
1104 if (codsty->csty & JPEG2000_CSTY_SOP) {
1113 Jpeg2000CodingStyle *codsty,
1129 select_stream(s, tile, tp_index, codsty);
1202 if (needs_termination(codsty->cblk_style, cblk->npasses + newpasses1 - 1)) {
1232 if (codsty->csty & JPEG2000_CSTY_EPH) {
1242 select_stream(s, tile, tp_index, codsty);
1245 select_stream(s, tile, tp_index, codsty);
1293 if (codsty->csty & JPEG2000_CSTY_EPH) {
1301 select_stream(s, tile, tp_index, codsty);
1304 select_stream(s, tile, tp_index, codsty);
1328 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1330 if (reslevelno < codsty->nreslevels) {
1336 codsty, rlevel,
1354 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1356 if (reslevelno < codsty->nreslevels) {
1362 codsty, rlevel,
1377 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
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
1428 if ((ret = jpeg2000_decode_packet(s, tile, tp_index, codsty, rlevel,
1449 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1451 if (reslevelno < codsty->nreslevels) {
1452 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1465 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1467 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1475 if (reslevelno >= codsty->nreslevels)
1506 codsty, rlevel,
1524 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1526 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1527 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1544 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1550 for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
1552 uint8_t reducedresno = codsty->nreslevels - 1 -reslevelno; // ==> N_L - r
1582 if ((ret = jpeg2000_decode_packet(s, tile, tp_index, codsty, rlevel,
1613 FFMIN(e->LYEpoc, tile->codsty[0].nlayers),
1624 tile->codsty[0].nlayers,
1627 tile->codsty[0].prog_order,
1758 static int decode_cblk(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *codsty,
1764 int vert_causal_ctx_csty_symbol = codsty->cblk_style & JPEG2000_CBLK_VSC;
1799 codsty->cblk_style & JPEG2000_CBLK_SEGSYM,
1803 if (codsty->cblk_style & JPEG2000_CBLK_RESET) // XXX no testcase for just this
1806 if (passno && (coder_type = needs_termination(codsty->cblk_style, pass_cnt))) {
1915 if (tile->codsty[0].transform != tile->codsty[i].transform) {
1926 if (tile->codsty[0].transform == FF_DWT97)
1934 s->dsp.mct_decode[tile->codsty[0].transform](src[0], src[1], src[2], csize);
1959 Jpeg2000CodingStyle *codsty = tile->codsty + compno;
1962 t1.stride = (1<<codsty->log2_cblk_width) + 2;
1965 for (reslevelno = 0; reslevelno < codsty->nreslevels2decode; reslevelno++) {
1990 int ret = decode_cblk(s, codsty, &t1, cblk,
2003 if (codsty->transform == FF_DWT97)
2005 else if (codsty->transform == FF_DWT97_INT)
2016 ff_dwt_decode(&comp->dwt, codsty->transform == FF_DWT97 ? (void*)comp->f_data : (void*)comp->i_data);
2034 Jpeg2000CodingStyle *codsty = tile->codsty + compno; \
2058 if (codsty->transform == FF_DWT97) { \
2098 if (tile->codsty[0].mct)
2122 Jpeg2000CodingStyle *codsty = s->tile[tileno].codsty + compno;
2124 ff_jpeg2000_cleanup(comp, codsty);
2135 memset(s->codsty, 0, sizeof(s->codsty));
2145 Jpeg2000CodingStyle *codsty = s->codsty;
2224 ret = get_coc(s, codsty, properties);
2227 ret = get_cod(s, codsty, properties);
2250 codsty = s->tile[s->curtileno].codsty;