Lines Matching refs:e_ratio
45 spx_word32_t e_ratio; /**< Ratio of energies: E(left+right)/[E(left)+E(right)] */ member
87 stereo->e_ratio = 16384; in speex_stereo_state_reset()
94 stereo->e_ratio = .5f; in speex_stereo_state_reset()
112 float balance, e_ratio; in speex_encode_stereo() local
121 e_ratio = e_tot/(1+e_left+e_right); in speex_encode_stereo()
141 tmp=scal_quant(e_ratio*Q15_ONE, e_ratio_quant_bounds, 4); in speex_encode_stereo()
150 spx_word32_t balance, e_ratio; in speex_encode_stereo_int() local
210 e_ratio = DIV32(e_tot, e_left+e_right+1); in speex_encode_stereo_int()
212 e_ratio = e_tot/(1.+e_left+e_right); in speex_encode_stereo_int()
215 tmp=scal_quant(EXTRACT16(e_ratio), e_ratio_quant_bounds, 4); in speex_encode_stereo_int()
225 spx_word16_t e_left, e_right, e_ratio; in speex_decode_stereo() local
231 e_ratio=stereo->e_ratio; in speex_decode_stereo()
234 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo()
252 spx_word16_t e_left, e_right, e_ratio; in speex_decode_stereo_int() local
258 e_ratio=stereo->e_ratio; in speex_decode_stereo_int()
261 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo_int()
293 stereo->e_ratio = e_ratio_quant[tmp]; in speex_std_stereo_request_handler()