Searched defs:autoc (Results 1 - 2 of 2) sorted by relevance
/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 83 autoc[lag] = d; 99 autoc[coeff] = 0.0; 103 autoc[coeff] += d * data[sample+coeff]; 108 autoc[coeff] += d * data[sample+coeff]; 112 void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real lp_coeff[][FLAC__MAX_LPC_ORDER], FLAC__double error[]) argument 120 FLAC__ASSERT(autoc[0] != 0.0); 122 err = autoc[0]; 126 r = -autoc[i+1]; 128 r -= lpc[j] * autoc[ [all...] |
H A D | stream_encoder.c | 376 void (*local_lpc_compute_autocorrelation)(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 3194 FLAC__real autoc[FLAC__MAX_LPC_ORDER+1]; /* WATCHOUT: the size is important even though encoder->protected_->max_lpc_order might be less; some asm routines need all the space */ local 3310 encoder->private_->local_lpc_compute_autocorrelation(encoder->private_->windowed_signal, frame_header->blocksize, max_lpc_order+1, autoc); 3311 /* if autoc[0] == 0.0, the signal is constant and we usually won't get here, but it can happen */ 3312 if(autoc[0] != 0.0) { 3313 FLAC__lpc_compute_lp_coefficients(autoc, &max_lpc_order, encoder->private_->lp_coeff, lpc_error);
|
Completed in 243 milliseconds