static float voice_factor(float *p_vector, float p_gain,

                          float *f_vector, float f_gain,

                          CELPMContext *ctx)

{

    double p_ener = (double) ctx->dot_productf(p_vector, p_vector,

                                                          AMRWB_SFR_SIZE) *

                    p_gain * p_gain;

    double f_ener = (double) ctx->dot_productf(f_vector, f_vector,

                                                          AMRWB_SFR_SIZE) *

                    f_gain * f_gain;



    return (p_ener - f_ener) / (p_ener + f_ener);

}

static float voice_factor(float *p_vector, float p_gain,

                          float *f_vector, float f_gain,

                          CELPMContext *ctx)

{

    double p_ener = (double) ctx->dot_productf(p_vector, p_vector,

                                                          AMRWB_SFR_SIZE) *

                    p_gain * p_gain;

    double f_ener = (double) ctx->dot_productf(f_vector, f_vector,

                                                          AMRWB_SFR_SIZE) *

                    f_gain * f_gain;



    return (p_ener - f_ener) / (p_ener + f_ener);

}

    return (p_ener - f_ener) / (p_ener + f_ener);
static float FUNC_0(float *VAR_0, float VAR_1,

                          float *VAR_2, float VAR_3,

                          CELPMContext *VAR_4)

{

    double VAR_5 = (double) VAR_4->dot_productf(VAR_0, VAR_0,

                                                          AMRWB_SFR_SIZE) *

                    VAR_1 * VAR_1;

    double VAR_6 = (double) VAR_4->dot_productf(VAR_2, VAR_2,

                                                          AMRWB_SFR_SIZE) *

                    VAR_3 * VAR_3;



    return (VAR_5 - VAR_6) / (VAR_5 + VAR_6);

}

static float FUNC_0(float *VAR_0, float VAR_1,
float *VAR_2, float VAR_3,
CELPMContext *VAR_4)
{ double VAR_5 = (double) VAR_4->dot_productf(VAR_0, VAR_0,
AMRWB_SFR_SIZE) *
VAR_1 * VAR_1; double VAR_6 = (double) VAR_4->dot_productf(VAR_2, VAR_2,
AMRWB_SFR_SIZE) *
VAR_3 * VAR_3; return (VAR_5 - VAR_6) / (VAR_5 + VAR_6); }