Home
last modified time | relevance | path

Searched refs:logN (Results 1 – 6 of 6) sorted by relevance

/external/libopus/celt/
Dmodes.c230 opus_int16 *logN; in opus_custom_mode_create() local
381 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16)); in opus_custom_mode_create()
382 if (logN==NULL) in opus_custom_mode_create()
386 logN[i] = log2_frac(mode->eBands[i+1]-mode->eBands[i], BITRES); in opus_custom_mode_create()
387 mode->logN = logN; in opus_custom_mode_create()
429 opus_free((opus_int16*)mode->logN); in opus_custom_mode_destroy()
Dmodes.h75 const opus_int16 *logN; member
Drate.c192 offset = ((m->logN[j]+((LM0+k)<<BITRES))>>1)-QTHETA_OFFSET; in compute_pulse_cache()
208 … offset = ((m->logN[j]+(i<<BITRES))>>1)-(N==2?QTHETA_OFFSET_TWOPHASE:QTHETA_OFFSET); in compute_pulse_cache()
223 offset = ((m->logN[j] + (i<<BITRES))>>1)-FINE_OFFSET; in compute_pulse_cache()
450 NClogN = den*(m->logN[j] + logM); in interp_bits2pulses()
Dcelt_encoder.c890 int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, in dynalloc_analysis() argument
910 noise_floor[i] = MULT16_16(QCONST16(0.0625f, DB_SHIFT),logN[i]) in dynalloc_analysis()
1764 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec()
Dbands.c690 pulse_cap = m->logN[i]+LM*(1<<BITRES); in compute_theta()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c80 WebRtc_Word16 zeros, log2, frac, logN; in CalcLogN() local
85logN=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(log2,22713,15); //Q8*Q15 log(2) = 0.693147 = 22713 i… in CalcLogN()
86 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN(x))^2 error over all x. in CalcLogN()
88 return logN; in CalcLogN()