static int standard_decode_i_mbs(VC9Context *v)

{

    int x, y, ac_pred, cbpcy;



    /* Select ttmb table depending on pq */

    if (v->pq < 5) v->ttmb_vlc = &vc9_ttmb_vlc[0];

    else if (v->pq < 13) v->ttmb_vlc = &vc9_ttmb_vlc[1];

    else v->ttmb_vlc = &vc9_ttmb_vlc[2];



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

    {

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

        {

            cbpcy = get_vlc2(&v->gb, vc9_cbpcy_i_vlc.table,

                             VC9_CBPCY_I_VLC_BITS, 2);

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

            //Decode blocks from that mb wrt cbpcy

        }

    }

    return 0;

}

static int standard_decode_i_mbs(VC9Context *v)

{

    int x, y, ac_pred, cbpcy;



    

    if (v->pq < 5) v->ttmb_vlc = &vc9_ttmb_vlc[0];

    else if (v->pq < 13) v->ttmb_vlc = &vc9_ttmb_vlc[1];

    else v->ttmb_vlc = &vc9_ttmb_vlc[2];



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

    {

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

        {

            cbpcy = get_vlc2(&v->gb, vc9_cbpcy_i_vlc.table,

                             VC9_CBPCY_I_VLC_BITS, 2);

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

            

        }

    }

    return 0;

}

static int FUNC_0(VC9Context *VAR_0)

{

    int VAR_1, VAR_2, VAR_3, VAR_4;



    

    if (VAR_0->pq < 5) VAR_0->ttmb_vlc = &vc9_ttmb_vlc[0];

    else if (VAR_0->pq < 13) VAR_0->ttmb_vlc = &vc9_ttmb_vlc[1];

    else VAR_0->ttmb_vlc = &vc9_ttmb_vlc[2];



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

    {

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

        {

            VAR_4 = get_vlc2(&VAR_0->gb, vc9_cbpcy_i_vlc.table,

                             VC9_CBPCY_I_VLC_BITS, 2);

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

            

        }

    }

    return 0;

}

static int FUNC_0(VC9Context *VAR_0)
{ int VAR_1, VAR_2, VAR_3, VAR_4; if (VAR_0->pq < 5) VAR_0->ttmb_vlc = &vc9_ttmb_vlc[0]; else if (VAR_0->pq < 13) VAR_0->ttmb_vlc = &vc9_ttmb_vlc[1]; else VAR_0->ttmb_vlc = &vc9_ttmb_vlc[2]; for (VAR_2=0; VAR_2<VAR_0->height_mb; VAR_2++) { for (VAR_1=0; VAR_1<VAR_0->width_mb; VAR_1++) { VAR_4 = get_vlc2(&VAR_0->gb, vc9_cbpcy_i_vlc.table,
VC9_CBPCY_I_VLC_BITS, 2); VAR_3 = get_bits(&VAR_0->gb, 1); } } return 0; }