Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:total_samples

1331 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples)
1335 FLAC__ASSERT(total_samples > 0);
1337 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
1359 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order)
1365 FLAC__ASSERT(total_samples > 0);
1367 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
1373 bits = FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale(lpc_error[index], error_scale) * (FLAC__double)(total_samples - order) + (FLAC__double)(order * overhead_bits_per_order);