static void mclms_predict(WmallDecodeCtx *s, int icoef, int *pred)

{

    int ich, i;

    int order        = s->mclms_order;

    int num_channels = s->num_channels;



    for (ich = 0; ich < num_channels; ich++) {

        pred[ich] = 0;

        if (!s->is_channel_coded[ich])

            continue;

        for (i = 0; i < order * num_channels; i++)

            pred[ich] += s->mclms_prevvalues[i + s->mclms_recent] *

                         s->mclms_coeffs[i + order * num_channels * ich];

        for (i = 0; i < ich; i++)

            pred[ich] += s->channel_residues[i][icoef] *

                         s->mclms_coeffs_cur[i + num_channels * ich];

        pred[ich] += 1 << s->mclms_scaling - 1;

        pred[ich] >>= s->mclms_scaling;

        s->channel_residues[ich][icoef] += pred[ich];

    }

}

static void mclms_predict(WmallDecodeCtx *s, int icoef, int *pred)

{

    int ich, i;

    int order        = s->mclms_order;

    int num_channels = s->num_channels;



    for (ich = 0; ich < num_channels; ich++) {

        pred[ich] = 0;

        if (!s->is_channel_coded[ich])

            continue;

        for (i = 0; i < order * num_channels; i++)

            pred[ich] += s->mclms_prevvalues[i + s->mclms_recent] *

                         s->mclms_coeffs[i + order * num_channels * ich];

        for (i = 0; i < ich; i++)

            pred[ich] += s->channel_residues[i][icoef] *

                         s->mclms_coeffs_cur[i + num_channels * ich];

        pred[ich] += 1 << s->mclms_scaling - 1;

        pred[ich] >>= s->mclms_scaling;

        s->channel_residues[ich][icoef] += pred[ich];

    }

}

            pred[ich] += s->mclms_prevvalues[i + s->mclms_recent] *             pred[ich] += s->channel_residues[i][icoef] *
static void FUNC_0(WmallDecodeCtx *VAR_0, int VAR_1, int *VAR_2)

{

    int VAR_3, VAR_4;

    int VAR_5        = VAR_0->mclms_order;

    int VAR_6 = VAR_0->VAR_6;



    for (VAR_3 = 0; VAR_3 < VAR_6; VAR_3++) {

        VAR_2[VAR_3] = 0;

        if (!VAR_0->is_channel_coded[VAR_3])

            continue;

        for (VAR_4 = 0; VAR_4 < VAR_5 * VAR_6; VAR_4++)

            VAR_2[VAR_3] += VAR_0->mclms_prevvalues[VAR_4 + VAR_0->mclms_recent] *

                         VAR_0->mclms_coeffs[VAR_4 + VAR_5 * VAR_6 * VAR_3];

        for (VAR_4 = 0; VAR_4 < VAR_3; VAR_4++)

            VAR_2[VAR_3] += VAR_0->channel_residues[VAR_4][VAR_1] *

                         VAR_0->mclms_coeffs_cur[VAR_4 + VAR_6 * VAR_3];

        VAR_2[VAR_3] += 1 << VAR_0->mclms_scaling - 1;

        VAR_2[VAR_3] >>= VAR_0->mclms_scaling;

        VAR_0->channel_residues[VAR_3][VAR_1] += VAR_2[VAR_3];

    }

}

static void FUNC_0(WmallDecodeCtx *VAR_0, int VAR_1, int *VAR_2)
{ int VAR_3, VAR_4; int VAR_5        = VAR_0->mclms_order; int VAR_6 = VAR_0->VAR_6; for (VAR_3 = 0; VAR_3 < VAR_6; VAR_3++) { VAR_2[VAR_3] = 0; if (!VAR_0->is_channel_coded[VAR_3])
continue; for (VAR_4 = 0; VAR_4 < VAR_5 * VAR_6; VAR_4++) VAR_2[VAR_3] += VAR_0->mclms_prevvalues[VAR_4 + VAR_0->mclms_recent] *
VAR_0->mclms_coeffs[VAR_4 + VAR_5 * VAR_6 * VAR_3]; for (VAR_4 = 0; VAR_4 < VAR_3; VAR_4++) VAR_2[VAR_3] += VAR_0->channel_residues[VAR_4][VAR_1] *
VAR_0->mclms_coeffs_cur[VAR_4 + VAR_6 * VAR_3]; VAR_2[VAR_3] += 1 << VAR_0->mclms_scaling - 1; VAR_2[VAR_3] >>= VAR_0->mclms_scaling; VAR_0->channel_residues[VAR_3][VAR_1] += VAR_2[VAR_3]; } }