Searched refs:lpc_error (Results 1 - 3 of 3) sorted by relevance

/external/flac/libFLAC/include/private/
H A Dlpc.h190 * IN lpc_error >= 0.0 error returned from calculating LP coefficients
194 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples);
195 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(FLAC__double lpc_error, FLAC__double error_scale);
203 * IN lpc_error[0,max_order-1] >= 0.0 error returned from calculating LP coefficients
210 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order);
/external/flac/libFLAC/
H A Dlpc.c1331 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples) argument
1339 return FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(lpc_error, error_scale);
1342 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(FLAC__double lpc_error, FLAC__double error_scale) argument
1344 if(lpc_error > 0.0) {
1345 FLAC__double bps = (FLAC__double)0.5 * log(error_scale * lpc_error) / M_LN2;
1351 else if(lpc_error < 0.0) { /* error should not be negative but can happen due to inadequate floating-point resolution */
1359 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order) argument
1361 unsigned order, index, best_index; /* 'index' the index into lpc_error; index==order-1 since lpc_error[0] is for order==1, lpc_error[
[all...]
H A Dstream_encoder.c3195 FLAC__double lpc_error[FLAC__MAX_LPC_ORDER]; local
3313 FLAC__lpc_compute_lp_coefficients(autoc, &max_lpc_order, encoder->private_->lp_coeff, lpc_error);
3320 lpc_error,
3334 lpc_residual_bits_per_sample = FLAC__lpc_compute_expected_bits_per_residual_sample(lpc_error[lpc_order-1], frame_header->blocksize-lpc_order);

Completed in 257 milliseconds