Lines Matching refs:e_ratio
45 spx_word32_t e_ratio; /**< Ratio of energies: E(left+right)/[E(left)+E(right)] */
87 stereo->e_ratio = 16384;
94 stereo->e_ratio = .5f;
112 float balance, e_ratio;
121 e_ratio = e_tot/(1+e_left+e_right);
141 tmp=scal_quant(e_ratio*Q15_ONE, e_ratio_quant_bounds, 4);
150 spx_word32_t balance, e_ratio;
210 e_ratio = DIV32(e_tot, e_left+e_right+1);
212 e_ratio = e_tot/(1.+e_left+e_right);
215 tmp=scal_quant(EXTRACT16(e_ratio), e_ratio_quant_bounds, 4);
216 /*fprintf (stderr, "%d %d %d %d\n", largest, smallest, balance_id, e_ratio);*/
225 spx_word16_t e_left, e_right, e_ratio;
231 e_ratio=stereo->e_ratio;
234 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
252 spx_word16_t e_left, e_right, e_ratio;
258 e_ratio=stereo->e_ratio;
261 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
293 stereo->e_ratio = e_ratio_quant[tmp];