Lines Matching defs:lag
60 uint8_t base_pitch_lag; ///< integer part of pitch lag for the next relative subframe
61 uint8_t pitch_lag_int; ///< integer part of pitch lag of the previous subframe
257 * Decode an adaptive codebook index into pitch lag (except 6k60, 8k85 modes).
258 * Calculate integer lag and fractional lag always using 1/4 resolution.
259 * In 1st and 3rd subframes the index is relative to last subframe integer lag.
261 * @param[out] lag_int Decoded integer pitch lag
262 * @param[out] lag_frac Decoded fractional pitch lag
264 * @param[in,out] base_lag_int Base integer lag used in relative subframes
282 /* minimum lag for next subframe */
296 * Decode an adaptive codebook index into pitch lag for 8k85 and 6k60 modes.
349 pitch lag using a hamming windowed sinc function */
591 // lag is less than 64, but this checking seems absent in reference and AMR-NB
920 static float auto_correlation(float *diff_isf, float mean, int lag)
926 float prod = (diff_isf[i] - mean) * (diff_isf[i - lag] - mean);