Searched defs:logN (Results 1 - 4 of 4) sorted by relevance
/external/libopus/celt/ |
H A D | modes.h | 75 const opus_int16 *logN; member in struct:OpusCustomMode
|
H A D | modes.c | 230 opus_int16 *logN; local 381 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16)); 382 if (logN==NULL) 386 logN[i] = log2_frac(mode->eBands[i+1]-mode->eBands[i], BITRES); 387 mode->logN = logN; 429 opus_free((opus_int16*)mode->logN);
|
H A D | celt_encoder.c | 890 int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, 910 noise_floor[i] = MULT16_16(QCONST16(0.0625f, DB_SHIFT),logN[i]) 1764 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, 889 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, int isTransient, int vbr, int constrained_vbr, const opus_int16 *eBands, int LM, int effectiveBytes, opus_int32 *tot_boost_, int lfe, opus_val16 *surround_dynalloc) argument
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | entropy_coding.c | 98 /* logN(x) = logN(2)*log2(x) = 0.6931*log2(x). Output in Q8. */ 99 /* The input argument X to logN(X) is 2^17 times higher than the 103 X gets 2 thimes higher, i.e. Z = logN(2)*256 = 0.693147180559*256 = 104 177.445678 should be subtracted (since logN() returns a Q8 value). 108 int16_t zeros, log2, frac, logN; local 113 logN = (int16_t)(log2 * 22713 >> 15); // log(2) = 0.693147 = 22713 in Q15 114 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN( [all...] |
Completed in 163 milliseconds