static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,

                               Jpeg2000Component *comp,

                               Jpeg2000T1Context *t1, Jpeg2000Band *band)

{

    int i, j, idx;

    int32_t *datap =

        (int32_t *) &comp->data[(comp->coord[0][1] - comp->coord[0][0]) * y + x];

    for (j = 0; j < (cblk->coord[1][1] - cblk->coord[1][0]); ++j)

        for (i = 0; i < (cblk->coord[0][1] - cblk->coord[0][0]); ++i) {

            idx        = (comp->coord[0][1] - comp->coord[0][0]) * j + i;

            datap[idx] =

                ((int32_t)(t1->data[j][i]) * band->i_stepsize + (1 << 15)) >> 16;

        }

}

static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,

                               Jpeg2000Component *comp,

                               Jpeg2000T1Context *t1, Jpeg2000Band *band)

{

    int i, j, idx;

    int32_t *datap =

        (int32_t *) &comp->data[(comp->coord[0][1] - comp->coord[0][0]) * y + x];

    for (j = 0; j < (cblk->coord[1][1] - cblk->coord[1][0]); ++j)

        for (i = 0; i < (cblk->coord[0][1] - cblk->coord[0][0]); ++i) {

            idx        = (comp->coord[0][1] - comp->coord[0][0]) * j + i;

            datap[idx] =

                ((int32_t)(t1->data[j][i]) * band->i_stepsize + (1 << 15)) >> 16;

        }

}

    int32_t *datap =         (int32_t *) &comp->data[(comp->coord[0][1] - comp->coord[0][0]) * y + x];     int32_t *datap =         (int32_t *) &comp->data[(comp->coord[0][1] - comp->coord[0][0]) * y + x];
static void FUNC_0(int VAR_0, int VAR_1, Jpeg2000Cblk *VAR_2,

                               Jpeg2000Component *VAR_3,

                               Jpeg2000T1Context *VAR_4, Jpeg2000Band *VAR_5)

{

    int VAR_6, VAR_7, VAR_8;

    int32_t *datap =

        (int32_t *) &VAR_3->data[(VAR_3->coord[0][1] - VAR_3->coord[0][0]) * VAR_1 + VAR_0];

    for (VAR_7 = 0; VAR_7 < (VAR_2->coord[1][1] - VAR_2->coord[1][0]); ++VAR_7)

        for (VAR_6 = 0; VAR_6 < (VAR_2->coord[0][1] - VAR_2->coord[0][0]); ++VAR_6) {

            VAR_8        = (VAR_3->coord[0][1] - VAR_3->coord[0][0]) * VAR_7 + VAR_6;

            datap[VAR_8] =

                ((int32_t)(VAR_4->data[VAR_7][VAR_6]) * VAR_5->i_stepsize + (1 << 15)) >> 16;

        }

}

static void FUNC_0(int VAR_0, int VAR_1, Jpeg2000Cblk *VAR_2,
Jpeg2000Component *VAR_3,
Jpeg2000T1Context *VAR_4, Jpeg2000Band *VAR_5)
{ int VAR_6, VAR_7, VAR_8; int32_t *datap =
(int32_t *) &VAR_3->data[(VAR_3->coord[0][1] - VAR_3->coord[0][0]) * VAR_1 + VAR_0]; for (VAR_7 = 0; VAR_7 < (VAR_2->coord[1][1] - VAR_2->coord[1][0]); ++VAR_7) for (VAR_6 = 0; VAR_6 < (VAR_2->coord[0][1] - VAR_2->coord[0][0]); ++VAR_6) { VAR_8        = (VAR_3->coord[0][1] - VAR_3->coord[0][0]) * VAR_7 + VAR_6; datap[VAR_8] =
((int32_t)(VAR_4->data[VAR_7][VAR_6]) * VAR_5->i_stepsize + (1 << 15)) >> 16; } }