void ff_acelp_weighted_filter(

        int16_t *out,

        const int16_t* in,

        const int16_t *weight_pow,

        int filter_length)

{

    int n;

    for(n=0; n<filter_length; n++)

        out[n] = (in[n] * weight_pow[n] + 0x4000) >> 15; /* (3.12) = (0.15) * (3.12) with rounding */

}

void ff_acelp_weighted_filter(

        int16_t *out,

        const int16_t* in,

        const int16_t *weight_pow,

        int filter_length)

{

    int n;

    for(n=0; n<filter_length; n++)

        out[n] = (in[n] * weight_pow[n] + 0x4000) >> 15; 

}

void FUNC_0(

        int16_t *VAR_0,

        const int16_t* VAR_1,

        const int16_t *VAR_2,

        int VAR_3)

{

    int VAR_4;

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

        VAR_0[VAR_4] = (VAR_1[VAR_4] * VAR_2[VAR_4] + 0x4000) >> 15; 

}

void FUNC_0(
int16_t *VAR_0,
const int16_t* VAR_1,
const int16_t *VAR_2,
int VAR_3)
{ int VAR_4; for(VAR_4=0; VAR_4<VAR_3; VAR_4++) VAR_0[VAR_4] = (VAR_1[VAR_4] * VAR_2[VAR_4] + 0x4000) >> 15; }