Searched defs:lag (Results 1 - 6 of 6) sorted by relevance
/external/speex/libspeex/ |
H A D | lpc.c | 124 * for lags between 0 and lag-1, and x == 0 outside 0...n-1 130 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 131 int lag, 157 for (i=0;i<lag;i++) 179 * for lags between 0 and lag-1, and x == 0 outside 0...n-1 183 float *ac, /* out: [0...lag-1] ac values */ 184 int lag, 190 while (lag--) 192 for (i = lag, d = 0; i < n; i++) 193 d += x[i] * x[i-lag]; 128 _spx_autocorr( const spx_word16_t *x, spx_word16_t *ac, int lag, int n ) argument 181 _spx_autocorr( const spx_word16_t *x, float *ac, int lag, int n ) argument [all...] |
H A D | lpc_bfin.h | 39 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 40 int lag, 50 ac32top = ac32+lag-1; 53 lag_1 = lag-1; 71 xs = x+lag-1; 119 for (i=0;i<lag;i++) 37 _spx_autocorr( const spx_word16_t *x, spx_word16_t *ac, int lag, int n ) argument
|
/external/flac/libFLAC/ |
H A D | lpc.c | 63 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]) argument 70 FLAC__ASSERT(lag > 0); 71 FLAC__ASSERT(lag <= data_len); 80 while(lag--) { 81 for(i = lag, d = 0.0; i < data_len; i++) 82 d += data[i] * data[i - lag]; 83 autoc[lag] = d; 89 * ('data_len' is usually much larger than 'lag') 93 const unsigned limit = data_len - lag; 95 FLAC__ASSERT(lag > [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_filter.c | 23 * y(z) = x(z) + damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 26 * y(z) = x(z) - damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 28 * Note that |lag| is a floating number so we perform an interpolation to 29 * obtain the correct |lag|. 93 * lag : pitch-lag for the current segment of input. 94 * lag_offset : the offset of lag w.r.t. current sample. 109 double lag; member in struct:__anon16338 145 /* Index of |parameters->buffer| where samples are read for fractional-lag 218 /* Compute integer lag [all...] |
H A D | filter_functions.c | 94 int lag, n; local 98 for (lag = 0; lag <= order; lag++) 101 x_lag = &x[lag]; 103 for (n = 1; n < N - lag; n++) { 108 r[lag] = sum;
|
/external/aac/libAACenc/src/ |
H A D | aacenc_tns.cpp | 535 Calculate autocorellation value for one lag 540 \param lag to be calculated 541 \param scaling of the lag 548 const INT lag, 555 if (lag==0) { 561 for (i=startLine; i<(stopLine-lag); i++) { 562 result += (fMult(spectrum[i], spectrum[i+lag])>>scale); 628 int i, idx0, idx1, idx2, idx3, idx4, lag; local 672 /* compute autocorrelation value at lag zero, i. e. energy, for each quarter */ 685 for (lag 544 FDKaacEnc_CalcAutoCorrValue( const FIXP_DBL *spectrum, const INT startLine, const INT stopLine, const INT lag, const INT scale ) argument [all...] |
Completed in 235 milliseconds