Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:total_samples

1305 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples)
1309 FLAC__ASSERT(total_samples > 0);
1311 error_scale = 0.5 / (FLAC__double)total_samples;
1333 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order)
1339 FLAC__ASSERT(total_samples > 0);
1341 error_scale = 0.5 / (FLAC__double)total_samples;
1347 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);