static int advanced_decode_i_mbs(VC9Context *v)

{

  int i, x, y, cbpcy, mqdiff, absmq, mquant, ac_pred, condover,

    current_mb = 0, over_flags_mb = 0;



    for (y=0; y<v->height_mb; y++)

    {

        for (x=0; x<v->width_mb; x++)

        {

            if (v->ac_pred_plane[i])

                ac_pred = get_bits(&v->gb, 1);

            if (condover == 3 && v->over_flags_plane)

                over_flags_mb = get_bits(&v->gb, 1);

            GET_MQUANT();

        }

        current_mb++;

    }

    return 0;

}

static int advanced_decode_i_mbs(VC9Context *v)

{

  int i, x, y, cbpcy, mqdiff, absmq, mquant, ac_pred, condover,

    current_mb = 0, over_flags_mb = 0;



    for (y=0; y<v->height_mb; y++)

    {

        for (x=0; x<v->width_mb; x++)

        {

            if (v->ac_pred_plane[i])

                ac_pred = get_bits(&v->gb, 1);

            if (condover == 3 && v->over_flags_plane)

                over_flags_mb = get_bits(&v->gb, 1);

            GET_MQUANT();

        }

        current_mb++;

    }

    return 0;

}

static int FUNC_0(VC9Context *VAR_0)

{

  int VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8, VAR_9,

    VAR_10 = 0, VAR_11 = 0;



    for (VAR_3=0; VAR_3<VAR_0->height_mb; VAR_3++)

    {

        for (VAR_2=0; VAR_2<VAR_0->width_mb; VAR_2++)

        {

            if (VAR_0->ac_pred_plane[VAR_1])

                VAR_8 = get_bits(&VAR_0->gb, 1);

            if (VAR_9 == 3 && VAR_0->over_flags_plane)

                VAR_11 = get_bits(&VAR_0->gb, 1);

            GET_MQUANT();

        }

        VAR_10++;

    }

    return 0;

}

static int FUNC_0(VC9Context *VAR_0)
{ int VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8, VAR_9,
VAR_10 = 0, VAR_11 = 0; for (VAR_3=0; VAR_3<VAR_0->height_mb; VAR_3++) { for (VAR_2=0; VAR_2<VAR_0->width_mb; VAR_2++) { if (VAR_0->ac_pred_plane[VAR_1])
VAR_8 = get_bits(&VAR_0->gb, 1); if (VAR_9 == 3 && VAR_0->over_flags_plane)
VAR_11 = get_bits(&VAR_0->gb, 1); GET_MQUANT(); } VAR_10++; } return 0; }