Home
last modified time | relevance | path

Searched refs:celt_ilog2 (Results 1 – 13 of 13) sorted by relevance

/external/libopus/celt/
Dmathops.c74 int shift = celt_ilog2(b)-29; in frac_div32()
129 k = (celt_ilog2(x)>>1)-7; in celt_sqrt()
187 i = celt_ilog2(x); in celt_rcp()
Dmathops.h180 static OPUS_INLINE opus_int16 celt_ilog2(opus_int32 x) in celt_ilog2() function
191 return x <= 0 ? 0 : celt_ilog2(x); in celt_zlog2()
210 i = celt_ilog2(x); in celt_log2()
Dpitch.c59 xshift = celt_ilog2(maxcorr)-14; in find_best_pitch()
159 shift = celt_ilog2(maxabs)-10; in pitch_downsample()
319 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
404 sx = celt_ilog2(xx)-14; in compute_pitch_gain()
405 sy = celt_ilog2(yy)-14; in compute_pitch_gain()
Dvq.c128 k = celt_ilog2(Ryy)>>1; in normalise_residual()
259 rshift = 1+celt_ilog2(K-pulsesLeft+i+1); in op_pvq_search_c()
391 k = celt_ilog2(E)>>1; in renormalise_vector()
Dfixed_c6x.h40 #define celt_ilog2(x) (30 - _norm(x)) macro
Dfixed_c5x.h73 #define celt_ilog2(x) (30 - _lnorm(x)) macro
Dbands.c111 int shift = celt_ilog2(maxval) - 14 + (((m->logN[i]>>BITRES)+LM+1)>>1); in compute_band_energies()
294 shift = celt_ilog2(t)>>1; in anti_collapse()
382 shift = celt_ilog2(EPSILON+MAX32(Ex, Ey))-14; in compute_channel_weights()
452 kl = celt_ilog2(El)>>1; in stereo_merge()
453 kr = celt_ilog2(Er)>>1; in stereo_merge()
Dcelt_lpc.c255 shift = celt_ilog2(ac0)-30+10; in _celt_autocorr()
Dkiss_fft.c456 st->scale_shift = celt_ilog2(st->nfft); in opus_fft_alloc_twiddles()
Dcelt_encoder.c305 shift = 14-celt_ilog2(MAX16(1, celt_maxabs16(tmp, len))); in transient_analysis()
/external/libopus/celt/mips/
Dvq_mipsr1.h108 k = celt_ilog2(E)>>1; in renormalise_vector_mips()
/external/libopus/celt/tests/
Dtest_unit_mathops.c236 lg = celt_ilog2(x); in testilog2()
/external/libopus/src/
Dopus_encoder.c389 shift=celt_ilog2(Fs/(cutoff_Hz*4)); in dc_reject()
873 max_shift = celt_ilog2(len); in compute_frame_energy()
874 shift = IMAX(0, (celt_ilog2(sample_max) << 1) + max_shift - 28); in compute_frame_energy()