Searched refs:logN (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/
H A Dmodes.h75 const opus_int16 *logN; member in struct:OpusCustomMode
H A Dmodes.c230 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 Drate.c192 offset = ((m->logN[j]+((LM0+k)<<BITRES))>>1)-QTHETA_OFFSET;
208 offset = ((m->logN[j]+(i<<BITRES))>>1)-(N==2?QTHETA_OFFSET_TWOPHASE:QTHETA_OFFSET);
223 offset = ((m->logN[j] + (i<<BITRES))>>1)-FINE_OFFSET;
450 NClogN = den*(m->logN[j] + logM);
H A Dcelt_encoder.c890 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
H A Dbands.c690 pulse_cap = m->logN[i]+LM*(1<<BITRES);
/external/libopus/celt/
H A Dmodes.h75 const opus_int16 *logN; member in struct:OpusCustomMode
H A Dmodes.c230 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 Drate.c192 offset = ((m->logN[j]+((LM0+k)<<BITRES))>>1)-QTHETA_OFFSET;
208 offset = ((m->logN[j]+(i<<BITRES))>>1)-(N==2?QTHETA_OFFSET_TWOPHASE:QTHETA_OFFSET);
223 offset = ((m->logN[j] + (i<<BITRES))>>1)-FINE_OFFSET;
450 NClogN = den*(m->logN[j] + logM);
H A Dcelt_encoder.c890 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
H A Dbands.c690 pulse_cap = m->logN[i]+LM*(1<<BITRES);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dentropy_coding.c104 /* logN(x) = logN(2)*log2(x) = 0.6931*log2(x). Output in Q8. */
105 /* The input argument X to logN(X) is 2^17 times higher than the
109 X gets 2 thimes higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
110 177.445678 should be subtracted (since logN() returns a Q8 value).
114 int16_t zeros, log2, frac, logN; local
119 logN=(int16_t)WEBRTC_SPL_MUL_16_16_RSFT(log2,22713,15); //Q8*Q15 log(2) = 0.693147 = 22713 in Q15
120 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN(
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dentropy_coding.c70 /* logN(x) = logN(2)*log2(x) = 0.6931*log2(x). Output in Q8. */
71 /* The input argument X to logN(X) is 2^17 times higher than the
75 X gets 2 thimes higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
76 177.445678 should be subtracted (since logN() returns a Q8 value).
80 WebRtc_Word16 zeros, log2, frac, logN; local
85 logN=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(log2,22713,15); //Q8*Q15 log(2) = 0.693147 = 22713 in Q15
86 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN(
[all...]
/external/chromium_org/third_party/opus/src/celt/dump_modes/
H A Ddump_modes.c116 fprintf (file, "static const opus_int16 logN%d[%d] = {\n", framerate, mode->nbEBands);
118 fprintf (file, "%d, ", mode->logN[j]);
231 fprintf(file, "logN%d,\t/* logN */\n", framerate);
/external/chromium_org/third_party/sqlite/src/src/
H A Dwhere.c1549 ** the total cost of performing operations with O(logN) or O(NlogN)
1551 ** logN is a little off.
1554 double logN = 1; local
1557 logN += 1;
1560 return logN;
1743 double logN; /* log(nTableRow) */ local
1765 logN = estLog(nTableRow);
1766 costTempIdx = 2*logN*(nTableRow/pParse->nQueryLoop + 1);
1780 pCost->plan.nRow = logN + 1;
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c99208 double logN = 1; local
99397 double logN; /* log(nTableRow) */ local
[all...]

Completed in 339 milliseconds