static void map_val_34_to_20(INTFLOAT par[PS_MAX_NR_IIDICC])

{

#if USE_FIXED

    par[ 0] = (int)(((int64_t)(par[ 0] + (par[ 1]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 1] = (int)(((int64_t)((par[ 1]>>1) + par[ 2]) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 2] = (int)(((int64_t)(par[ 3] + (par[ 4]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 3] = (int)(((int64_t)((par[ 4]>>1) + par[ 5]) * 1431655765 + \

                      0x40000000) >> 31);

#else

    par[ 0] = (2*par[ 0] +   par[ 1]) * 0.33333333f;

    par[ 1] = (  par[ 1] + 2*par[ 2]) * 0.33333333f;

    par[ 2] = (2*par[ 3] +   par[ 4]) * 0.33333333f;

    par[ 3] = (  par[ 4] + 2*par[ 5]) * 0.33333333f;

#endif /* USE_FIXED */

    par[ 4] = AAC_HALF_SUM(par[ 6], par[ 7]);

    par[ 5] = AAC_HALF_SUM(par[ 8], par[ 9]);

    par[ 6] =    par[10];

    par[ 7] =    par[11];

    par[ 8] = AAC_HALF_SUM(par[12], par[13]);

    par[ 9] = AAC_HALF_SUM(par[14], par[15]);

    par[10] =    par[16];

    par[11] =    par[17];

    par[12] =    par[18];

    par[13] =    par[19];

    par[14] = AAC_HALF_SUM(par[20], par[21]);

    par[15] = AAC_HALF_SUM(par[22], par[23]);

    par[16] = AAC_HALF_SUM(par[24], par[25]);

    par[17] = AAC_HALF_SUM(par[26], par[27]);

#if USE_FIXED

    par[18] = (((par[28]+2)>>2) + ((par[29]+2)>>2) + ((par[30]+2)>>2) + ((par[31]+2)>>2));

#else

    par[18] = (  par[28] +   par[29] +   par[30] +   par[31]) * 0.25f;

#endif /* USE_FIXED */

    par[19] = AAC_HALF_SUM(par[32], par[33]);

}

static void map_val_34_to_20(INTFLOAT par[PS_MAX_NR_IIDICC])

{

#if USE_FIXED

    par[ 0] = (int)(((int64_t)(par[ 0] + (par[ 1]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 1] = (int)(((int64_t)((par[ 1]>>1) + par[ 2]) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 2] = (int)(((int64_t)(par[ 3] + (par[ 4]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    par[ 3] = (int)(((int64_t)((par[ 4]>>1) + par[ 5]) * 1431655765 + \

                      0x40000000) >> 31);

#else

    par[ 0] = (2*par[ 0] +   par[ 1]) * 0.33333333f;

    par[ 1] = (  par[ 1] + 2*par[ 2]) * 0.33333333f;

    par[ 2] = (2*par[ 3] +   par[ 4]) * 0.33333333f;

    par[ 3] = (  par[ 4] + 2*par[ 5]) * 0.33333333f;

#endif 

    par[ 4] = AAC_HALF_SUM(par[ 6], par[ 7]);

    par[ 5] = AAC_HALF_SUM(par[ 8], par[ 9]);

    par[ 6] =    par[10];

    par[ 7] =    par[11];

    par[ 8] = AAC_HALF_SUM(par[12], par[13]);

    par[ 9] = AAC_HALF_SUM(par[14], par[15]);

    par[10] =    par[16];

    par[11] =    par[17];

    par[12] =    par[18];

    par[13] =    par[19];

    par[14] = AAC_HALF_SUM(par[20], par[21]);

    par[15] = AAC_HALF_SUM(par[22], par[23]);

    par[16] = AAC_HALF_SUM(par[24], par[25]);

    par[17] = AAC_HALF_SUM(par[26], par[27]);

#if USE_FIXED

    par[18] = (((par[28]+2)>>2) + ((par[29]+2)>>2) + ((par[30]+2)>>2) + ((par[31]+2)>>2));

#else

    par[18] = (  par[28] +   par[29] +   par[30] +   par[31]) * 0.25f;

#endif 

    par[19] = AAC_HALF_SUM(par[32], par[33]);

}

    par[ 0] = (int)(((int64_t)(par[ 0] + (par[ 1]>>1)) * 1431655765 + \     par[ 1] = (int)(((int64_t)((par[ 1]>>1) + par[ 2]) * 1431655765 + \     par[ 2] = (int)(((int64_t)(par[ 3] + (par[ 4]>>1)) * 1431655765 + \     par[ 3] = (int)(((int64_t)((par[ 4]>>1) + par[ 5]) * 1431655765 + \
static void FUNC_0(INTFLOAT VAR_0[PS_MAX_NR_IIDICC])

{

#if USE_FIXED

    VAR_0[ 0] = (int)(((int64_t)(VAR_0[ 0] + (VAR_0[ 1]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    VAR_0[ 1] = (int)(((int64_t)((VAR_0[ 1]>>1) + VAR_0[ 2]) * 1431655765 + \

                      0x40000000) >> 31);

    VAR_0[ 2] = (int)(((int64_t)(VAR_0[ 3] + (VAR_0[ 4]>>1)) * 1431655765 + \

                      0x40000000) >> 31);

    VAR_0[ 3] = (int)(((int64_t)((VAR_0[ 4]>>1) + VAR_0[ 5]) * 1431655765 + \

                      0x40000000) >> 31);

#else

    VAR_0[ 0] = (2*VAR_0[ 0] +   VAR_0[ 1]) * 0.33333333f;

    VAR_0[ 1] = (  VAR_0[ 1] + 2*VAR_0[ 2]) * 0.33333333f;

    VAR_0[ 2] = (2*VAR_0[ 3] +   VAR_0[ 4]) * 0.33333333f;

    VAR_0[ 3] = (  VAR_0[ 4] + 2*VAR_0[ 5]) * 0.33333333f;

#endif 

    VAR_0[ 4] = AAC_HALF_SUM(VAR_0[ 6], VAR_0[ 7]);

    VAR_0[ 5] = AAC_HALF_SUM(VAR_0[ 8], VAR_0[ 9]);

    VAR_0[ 6] =    VAR_0[10];

    VAR_0[ 7] =    VAR_0[11];

    VAR_0[ 8] = AAC_HALF_SUM(VAR_0[12], VAR_0[13]);

    VAR_0[ 9] = AAC_HALF_SUM(VAR_0[14], VAR_0[15]);

    VAR_0[10] =    VAR_0[16];

    VAR_0[11] =    VAR_0[17];

    VAR_0[12] =    VAR_0[18];

    VAR_0[13] =    VAR_0[19];

    VAR_0[14] = AAC_HALF_SUM(VAR_0[20], VAR_0[21]);

    VAR_0[15] = AAC_HALF_SUM(VAR_0[22], VAR_0[23]);

    VAR_0[16] = AAC_HALF_SUM(VAR_0[24], VAR_0[25]);

    VAR_0[17] = AAC_HALF_SUM(VAR_0[26], VAR_0[27]);

#if USE_FIXED

    VAR_0[18] = (((VAR_0[28]+2)>>2) + ((VAR_0[29]+2)>>2) + ((VAR_0[30]+2)>>2) + ((VAR_0[31]+2)>>2));

#else

    VAR_0[18] = (  VAR_0[28] +   VAR_0[29] +   VAR_0[30] +   VAR_0[31]) * 0.25f;

#endif 

    VAR_0[19] = AAC_HALF_SUM(VAR_0[32], VAR_0[33]);

}

static void FUNC_0(INTFLOAT VAR_0[PS_MAX_NR_IIDICC])
{ #if USE_FIXED
VAR_0[ 0] = (int)(((int64_t)(VAR_0[ 0] + (VAR_0[ 1]>>1)) * 1431655765 + \
0x40000000) >> 31); VAR_0[ 1] = (int)(((int64_t)((VAR_0[ 1]>>1) + VAR_0[ 2]) * 1431655765 + \
0x40000000) >> 31); VAR_0[ 2] = (int)(((int64_t)(VAR_0[ 3] + (VAR_0[ 4]>>1)) * 1431655765 + \
0x40000000) >> 31); VAR_0[ 3] = (int)(((int64_t)((VAR_0[ 4]>>1) + VAR_0[ 5]) * 1431655765 + \
0x40000000) >> 31); #else
VAR_0[ 0] = (2*VAR_0[ 0] +   VAR_0[ 1]) * 0.33333333f; VAR_0[ 1] = (  VAR_0[ 1] + 2*VAR_0[ 2]) * 0.33333333f; VAR_0[ 2] = (2*VAR_0[ 3] +   VAR_0[ 4]) * 0.33333333f; VAR_0[ 3] = (  VAR_0[ 4] + 2*VAR_0[ 5]) * 0.33333333f; #endif
VAR_0[ 4] = AAC_HALF_SUM(VAR_0[ 6], VAR_0[ 7]); VAR_0[ 5] = AAC_HALF_SUM(VAR_0[ 8], VAR_0[ 9]); VAR_0[ 6] =    VAR_0[10]; VAR_0[ 7] =    VAR_0[11]; VAR_0[ 8] = AAC_HALF_SUM(VAR_0[12], VAR_0[13]); VAR_0[ 9] = AAC_HALF_SUM(VAR_0[14], VAR_0[15]); VAR_0[10] =    VAR_0[16]; VAR_0[11] =    VAR_0[17]; VAR_0[12] =    VAR_0[18]; VAR_0[13] =    VAR_0[19]; VAR_0[14] = AAC_HALF_SUM(VAR_0[20], VAR_0[21]); VAR_0[15] = AAC_HALF_SUM(VAR_0[22], VAR_0[23]); VAR_0[16] = AAC_HALF_SUM(VAR_0[24], VAR_0[25]); VAR_0[17] = AAC_HALF_SUM(VAR_0[26], VAR_0[27]); #if USE_FIXED
VAR_0[18] = (((VAR_0[28]+2)>>2) + ((VAR_0[29]+2)>>2) + ((VAR_0[30]+2)>>2) + ((VAR_0[31]+2)>>2)); #else
VAR_0[18] = (  VAR_0[28] +   VAR_0[29] +   VAR_0[30] +   VAR_0[31]) * 0.25f; #endif
VAR_0[19] = AAC_HALF_SUM(VAR_0[32], VAR_0[33]); }