Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:error_scale

1333 	FLAC__double error_scale;
1337 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
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)
1345 FLAC__double bps = (FLAC__double)0.5 * log(error_scale * lpc_error) / M_LN2;
1362 FLAC__double bits, best_bits, error_scale;
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);