Searched refs:celt_sqrt (Results 1 – 9 of 9) sorted by relevance
/external/libopus/celt/ |
D | mathops.h | 116 #define celt_sqrt(x) ((float)sqrt(x)) macro 117 #define celt_rsqrt(x) (1.f/celt_sqrt(x)) 196 opus_val32 celt_sqrt(opus_val32 x);
|
D | vq.c | 428 mid = celt_sqrt(Emid); in stereo_itheta() 429 side = celt_sqrt(Eside); in stereo_itheta()
|
D | mathops.c | 119 opus_val32 celt_sqrt(opus_val32 x) in celt_sqrt() function
|
D | bands.c | 126 bandE[i+c*m->nbEBands] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); in compute_band_energies() 169 bandE[i+c*m->nbEBands] = celt_sqrt(sum); in compute_band_energies() 400 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); in intensity_stereo() 1225 n = celt_sqrt(SHL32(EXTEND32(N0),22)); in quant_band()
|
D | celt_encoder.c | 356 mean = MULT16_16(celt_sqrt(mean), celt_sqrt(MULT16_16(maxE,len2>>1))); in transient_analysis() 358 mean = celt_sqrt(mean * maxE*.5*len2); in transient_analysis() 398 tf_max = MAX16(0,celt_sqrt(27*mask_metric)-42); in transient_analysis() 400 …*tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… in transient_analysis()
|
D | pitch.c | 426 return xy/celt_sqrt(1+xx*yy); in compute_pitch_gain()
|
D | celt_decoder.c | 700 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); in celt_decode_lost() 774 opus_val16 ratio = celt_sqrt(frac_div32(SHR32(S1,1)+1,S2+1)); in celt_decode_lost()
|
/external/libopus/celt/tests/ |
D | test_unit_mathops.c | 78 val = celt_sqrt(i); in testsqrt()
|
/external/libopus/src/ |
D | opus_encoder.c | 699 sqrt_xx = celt_sqrt(mem->XX); in compute_stereo_width() 700 sqrt_yy = celt_sqrt(mem->YY); in compute_stereo_width() 701 qrrt_xx = celt_sqrt(sqrt_xx); in compute_stereo_width() 702 qrrt_yy = celt_sqrt(sqrt_yy); in compute_stereo_width() 708 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); in compute_stereo_width()
|