static void decode_parameters(SiprParameters* parms, GetBitContext *pgb,

                              const SiprModeParam *p)

{

    int i, j;



    parms->ma_pred_switch           = get_bits(pgb, p->ma_predictor_bits);



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

        parms->vq_indexes[i]        = get_bits(pgb, p->vq_indexes_bits[i]);



    for (i = 0; i < p->subframe_count; i++) {

        parms->pitch_delay[i]       = get_bits(pgb, p->pitch_delay_bits[i]);

        parms->gp_index[i]          = get_bits(pgb, p->gp_index_bits);



        for (j = 0; j < p->number_of_fc_indexes; j++)

            parms->fc_indexes[i][j] = get_bits(pgb, p->fc_index_bits[j]);



        parms->gc_index[i]          = get_bits(pgb, p->gc_index_bits);

    }

}

static void decode_parameters(SiprParameters* parms, GetBitContext *pgb,

                              const SiprModeParam *p)

{

    int i, j;



    parms->ma_pred_switch           = get_bits(pgb, p->ma_predictor_bits);



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

        parms->vq_indexes[i]        = get_bits(pgb, p->vq_indexes_bits[i]);



    for (i = 0; i < p->subframe_count; i++) {

        parms->pitch_delay[i]       = get_bits(pgb, p->pitch_delay_bits[i]);

        parms->gp_index[i]          = get_bits(pgb, p->gp_index_bits);



        for (j = 0; j < p->number_of_fc_indexes; j++)

            parms->fc_indexes[i][j] = get_bits(pgb, p->fc_index_bits[j]);



        parms->gc_index[i]          = get_bits(pgb, p->gc_index_bits);

    }

}

static void FUNC_0(SiprParameters* VAR_0, GetBitContext *VAR_1,

                              const SiprModeParam *VAR_2)

{

    int VAR_3, VAR_4;



    VAR_0->ma_pred_switch           = get_bits(VAR_1, VAR_2->ma_predictor_bits);



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

        VAR_0->vq_indexes[VAR_3]        = get_bits(VAR_1, VAR_2->vq_indexes_bits[VAR_3]);



    for (VAR_3 = 0; VAR_3 < VAR_2->subframe_count; VAR_3++) {

        VAR_0->pitch_delay[VAR_3]       = get_bits(VAR_1, VAR_2->pitch_delay_bits[VAR_3]);

        VAR_0->gp_index[VAR_3]          = get_bits(VAR_1, VAR_2->gp_index_bits);



        for (VAR_4 = 0; VAR_4 < VAR_2->number_of_fc_indexes; VAR_4++)

            VAR_0->fc_indexes[VAR_3][VAR_4] = get_bits(VAR_1, VAR_2->fc_index_bits[VAR_4]);



        VAR_0->gc_index[VAR_3]          = get_bits(VAR_1, VAR_2->gc_index_bits);

    }

}

static void FUNC_0(SiprParameters* VAR_0, GetBitContext *VAR_1,
const SiprModeParam *VAR_2)
{ int VAR_3, VAR_4; VAR_0->ma_pred_switch           = get_bits(VAR_1, VAR_2->ma_predictor_bits); for (VAR_3 = 0; VAR_3 < 5; VAR_3++) VAR_0->vq_indexes[VAR_3]        = get_bits(VAR_1, VAR_2->vq_indexes_bits[VAR_3]); for (VAR_3 = 0; VAR_3 < VAR_2->subframe_count; VAR_3++) { VAR_0->pitch_delay[VAR_3]       = get_bits(VAR_1, VAR_2->pitch_delay_bits[VAR_3]); VAR_0->gp_index[VAR_3]          = get_bits(VAR_1, VAR_2->gp_index_bits); for (VAR_4 = 0; VAR_4 < VAR_2->number_of_fc_indexes; VAR_4++) VAR_0->fc_indexes[VAR_3][VAR_4] = get_bits(VAR_1, VAR_2->fc_index_bits[VAR_4]); VAR_0->gc_index[VAR_3]          = get_bits(VAR_1, VAR_2->gc_index_bits); } }