static inline void decode_subblock3(DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc,

                                    int q_dc, int q_ac1, int q_ac2)

{

    int coeffs[4];



    coeffs[0] = modulo_three_table[code][0];

    coeffs[1] = modulo_three_table[code][1];

    coeffs[2] = modulo_three_table[code][2];

    coeffs[3] = modulo_three_table[code][3];

    decode_coeff(dst  , coeffs[0], 3, gb, vlc, q_dc);

    if(is_block2){

        decode_coeff(dst+8, coeffs[1], 2, gb, vlc, q_ac1);

        decode_coeff(dst+1, coeffs[2], 2, gb, vlc, q_ac1);

    }else{

        decode_coeff(dst+1, coeffs[1], 2, gb, vlc, q_ac1);

        decode_coeff(dst+8, coeffs[2], 2, gb, vlc, q_ac1);

    }

    decode_coeff(dst+9, coeffs[3], 2, gb, vlc, q_ac2);

}

static inline void decode_subblock3(DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc,

                                    int q_dc, int q_ac1, int q_ac2)

{

    int coeffs[4];



    coeffs[0] = modulo_three_table[code][0];

    coeffs[1] = modulo_three_table[code][1];

    coeffs[2] = modulo_three_table[code][2];

    coeffs[3] = modulo_three_table[code][3];

    decode_coeff(dst  , coeffs[0], 3, gb, vlc, q_dc);

    if(is_block2){

        decode_coeff(dst+8, coeffs[1], 2, gb, vlc, q_ac1);

        decode_coeff(dst+1, coeffs[2], 2, gb, vlc, q_ac1);

    }else{

        decode_coeff(dst+1, coeffs[1], 2, gb, vlc, q_ac1);

        decode_coeff(dst+8, coeffs[2], 2, gb, vlc, q_ac1);

    }

    decode_coeff(dst+9, coeffs[3], 2, gb, vlc, q_ac2);

}

static inline void FUNC_0(DCTELEM *VAR_0, int VAR_1, const int VAR_2, GetBitContext *VAR_3, VLC *VAR_4,

                                    int VAR_5, int VAR_6, int VAR_7)

{

    int VAR_8[4];



    VAR_8[0] = modulo_three_table[VAR_1][0];

    VAR_8[1] = modulo_three_table[VAR_1][1];

    VAR_8[2] = modulo_three_table[VAR_1][2];

    VAR_8[3] = modulo_three_table[VAR_1][3];

    decode_coeff(VAR_0  , VAR_8[0], 3, VAR_3, VAR_4, VAR_5);

    if(VAR_2){

        decode_coeff(VAR_0+8, VAR_8[1], 2, VAR_3, VAR_4, VAR_6);

        decode_coeff(VAR_0+1, VAR_8[2], 2, VAR_3, VAR_4, VAR_6);

    }else{

        decode_coeff(VAR_0+1, VAR_8[1], 2, VAR_3, VAR_4, VAR_6);

        decode_coeff(VAR_0+8, VAR_8[2], 2, VAR_3, VAR_4, VAR_6);

    }

    decode_coeff(VAR_0+9, VAR_8[3], 2, VAR_3, VAR_4, VAR_7);

}

static inline void FUNC_0(DCTELEM *VAR_0, int VAR_1, const int VAR_2, GetBitContext *VAR_3, VLC *VAR_4,
int VAR_5, int VAR_6, int VAR_7)
{ int VAR_8[4]; VAR_8[0] = modulo_three_table[VAR_1][0]; VAR_8[1] = modulo_three_table[VAR_1][1]; VAR_8[2] = modulo_three_table[VAR_1][2]; VAR_8[3] = modulo_three_table[VAR_1][3]; decode_coeff(VAR_0  , VAR_8[0], 3, VAR_3, VAR_4, VAR_5); if(VAR_2){ decode_coeff(VAR_0+8, VAR_8[1], 2, VAR_3, VAR_4, VAR_6); decode_coeff(VAR_0+1, VAR_8[2], 2, VAR_3, VAR_4, VAR_6); }else{ decode_coeff(VAR_0+1, VAR_8[1], 2, VAR_3, VAR_4, VAR_6); decode_coeff(VAR_0+8, VAR_8[2], 2, VAR_3, VAR_4, VAR_6); } decode_coeff(VAR_0+9, VAR_8[3], 2, VAR_3, VAR_4, VAR_7); }