Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__double

123 void FLAC__lpc_compute_lp_coefficients(const FLAC__real autoc[], unsigned *max_order, FLAC__real lp_coeff[][FLAC__MAX_LPC_ORDER], FLAC__double error[])
126 FLAC__double r, err, lpc[FLAC__MAX_LPC_ORDER];
145 FLAC__double tmp = lpc[j];
170 FLAC__double cmax;
185 const FLAC__double d = fabs(lp_coeff[i]);
210 FLAC__double error = 0.0;
236 FLAC__double error = 0.0;
1306 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples)
1308 FLAC__double error_scale;
1312 error_scale = 0.5 / (FLAC__double)total_samples;
1317 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(FLAC__double lpc_error, FLAC__double error_scale)
1320 FLAC__double bps = (FLAC__double)0.5 * log(error_scale * lpc_error) / M_LN2;
1334 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order)
1337 FLAC__double bits, best_bits, error_scale;
1342 error_scale = 0.5 / (FLAC__double)total_samples;
1348 bits = FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(lpc_error[indx], error_scale) * (FLAC__double)(total_samples - order) + (FLAC__double)(order * overhead_bits_per_order);