Searched refs:celt_sqrt (Results 1 – 9 of 9) sorted by relevance
/external/libopus/celt/ |
D | mathops.h | 84 #define celt_sqrt(x) ((float)sqrt(x)) macro 85 #define celt_rsqrt(x) (1.f/celt_sqrt(x)) 164 opus_val32 celt_sqrt(opus_val32 x);
|
D | vq.c | 398 mid = celt_sqrt(Emid); in stereo_itheta() 399 side = celt_sqrt(Eside); in stereo_itheta()
|
D | mathops.c | 118 opus_val32 celt_sqrt(opus_val32 x) in celt_sqrt() function
|
D | bands.c | 125 bandE[i+c*m->nbEBands] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); in compute_band_energies() 168 bandE[i+c*m->nbEBands] = celt_sqrt(sum); in compute_band_energies() 375 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); in intensity_stereo() 1191 n = celt_sqrt(SHL32(EXTEND32(N0),22)); in quant_band()
|
D | celt_encoder.c | 333 mean = MULT16_16(celt_sqrt(mean), celt_sqrt(MULT16_16(maxE,len2>>1))); in transient_analysis() 335 mean = celt_sqrt(mean * maxE*.5*len2); in transient_analysis() 364 tf_max = MAX16(0,celt_sqrt(27*mask_metric)-42); in transient_analysis() 366 …*tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… in transient_analysis()
|
D | celt_decoder.c | 601 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); in celt_decode_lost() 672 opus_val16 ratio = celt_sqrt(frac_div32(SHR32(S1,1)+1,S2+1)); in celt_decode_lost()
|
D | pitch.c | 446 return xy/celt_sqrt(1+xx*yy); in compute_pitch_gain()
|
/external/libopus/celt/tests/ |
D | test_unit_mathops.c | 116 val = celt_sqrt(i); in testsqrt()
|
/external/libopus/src/ |
D | opus_encoder.c | 918 sqrt_xx = celt_sqrt(mem->XX); in compute_stereo_width() 919 sqrt_yy = celt_sqrt(mem->YY); in compute_stereo_width() 920 qrrt_xx = celt_sqrt(sqrt_xx); in compute_stereo_width() 921 qrrt_yy = celt_sqrt(sqrt_yy); in compute_stereo_width() 927 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); in compute_stereo_width()
|