Searched refs:logN (Results 1 – 7 of 7) sorted by relevance
/external/libopus/celt/ |
D | modes.c | 231 opus_int16 *logN; in opus_custom_mode_create() local 383 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16)); in opus_custom_mode_create() 384 if (logN==NULL) in opus_custom_mode_create() 388 logN[i] = log2_frac(mode->eBands[i+1]-mode->eBands[i], BITRES); in opus_custom_mode_create() 389 mode->logN = logN; in opus_custom_mode_create() 433 opus_free((opus_int16*)mode->logN); in opus_custom_mode_destroy()
|
D | modes.h | 67 const opus_int16 *logN; member
|
D | rate.c | 192 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()
|
D | celt_encoder.c | 931 int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, in dynalloc_analysis() argument 950 noise_floor[i] = MULT16_16(QCONST16(0.0625f, DB_SHIFT),logN[i]) in dynalloc_analysis() 1836 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec()
|
D | bands.c | 110 int shift = celt_ilog2(maxval) - 14 + (((m->logN[i]>>BITRES)+LM+1)>>1); in compute_band_energies() 700 pulse_cap = m->logN[i]+LM*(1<<BITRES); in compute_theta()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 108 int16_t zeros, log2, frac, logN; in CalcLogN() local 113 logN = (int16_t)(log2 * 22713 >> 15); // log(2) = 0.693147 = 22713 in Q15 in CalcLogN() 114 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN(x))^2 error over all x. in CalcLogN() 116 return logN; in CalcLogN()
|
/external/libopus/celt/dump_modes/ |
D | dump_modes.c | 124 fprintf (file, "%d, ", mode->logN[j]); in dump_modes()
|