Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:total_samples

1306 FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample(FLAC__double lpc_error, unsigned total_samples)
1310 FLAC__ASSERT(total_samples > 0);
1312 error_scale = 0.5 / (FLAC__double)total_samples;
1334 unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order)
1340 FLAC__ASSERT(total_samples > 0);
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);