Home
last modified time | relevance | path

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

/aosp_15_r20/external/libopus/celt/
H A 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()
H A Dpitch.c59 xshift = celt_ilog2(maxcorr)-14; in find_best_pitch()
159 shift = celt_ilog2(maxabs)-10; in pitch_downsample()
337 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
422 sx = celt_ilog2(xx)-14; in compute_pitch_gain()
423 sy = celt_ilog2(yy)-14; in compute_pitch_gain()
H A 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()
H A Dvq.c132 k = celt_ilog2(Ryy)>>1; in normalise_residual()
263 rshift = 1+celt_ilog2(K-pulsesLeft+i+1); in op_pvq_search_c()
395 k = celt_ilog2(E)>>1; in renormalise_vector()
H A Dfixed_c6x.h40 #define celt_ilog2(x) (30 - _norm(x)) macro
H A Dfixed_c5x.h73 #define celt_ilog2(x) (30 - _lnorm(x)) macro
H A 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()
H A Dcelt_lpc.c322 shift = celt_ilog2(ac0)-30+10; in _celt_autocorr()
H A Dkiss_fft.c456 st->scale_shift = celt_ilog2(st->nfft); in opus_fft_alloc_twiddles()
H A Dcelt_encoder.c313 shift = 14-celt_ilog2(MAX16(1, celt_maxabs16(tmp, len))); in transient_analysis()
/aosp_15_r20/external/rnnoise/src/
H A Dpitch.c60 xshift = celt_ilog2(maxcorr)-14; in find_best_pitch()
167 shift = celt_ilog2(maxabs)-10; in pitch_downsample()
313 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
396 sx = celt_ilog2(xx)-14; in compute_pitch_gain()
397 sy = celt_ilog2(yy)-14; in compute_pitch_gain()
H A Dcelt_lpc.c239 shift = celt_ilog2(ac0)-30+10; in _celt_autocorr()
H A Dkiss_fft.c453 st->scale_shift = celt_ilog2(st->nfft); in opus_fft_alloc_twiddles()
/aosp_15_r20/external/libopus/celt/mips/
H A Dvq_mipsr1.h102 k = celt_ilog2(E)>>1; in renormalise_vector()
/aosp_15_r20/external/libopus/celt/tests/
H A Dtest_unit_mathops.c236 lg = celt_ilog2(x); in testilog2()
/aosp_15_r20/external/libopus/src/
H A Dopus_encoder.c415 shift=celt_ilog2(Fs/(cutoff_Hz*4)); in dc_reject()
966 max_shift = celt_ilog2(len); in compute_frame_energy()
967 shift = IMAX(0, (celt_ilog2(1+sample_max) << 1) + max_shift - 28); in compute_frame_energy()