diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-04-28 00:11:31 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-04-28 00:11:31 +0000 |
commit | 6e2b5659c17ff050aa555862c8b97ea9b6330668 (patch) | |
tree | 71980a72e18636ee501abb242e12527dc93c0c62 /src/libFLAC/include/private/lpc.h | |
parent | 96d8cd2390d931659b897ad9eae5890d2039afcb (diff) | |
download | flac-6e2b5659c17ff050aa555862c8b97ea9b6330668.tar.gz |
fix a calcuation bug in FLAC__lpc_compute_best_order()
Diffstat (limited to 'src/libFLAC/include/private/lpc.h')
-rw-r--r-- | src/libFLAC/include/private/lpc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libFLAC/include/private/lpc.h b/src/libFLAC/include/private/lpc.h index a0d82f04..8ecc7ef8 100644 --- a/src/libFLAC/include/private/lpc.h +++ b/src/libFLAC/include/private/lpc.h @@ -200,10 +200,11 @@ FLAC__double FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scal * IN lpc_error[0,max_order-1] >= 0.0 error returned from calculating LP coefficients * IN max_order > 0 max LP order * IN total_samples > 0 # of samples in residual signal - * IN bits_per_signal_sample # of bits per sample in the original signal + * IN overhead_bits_per_order # of bits overhead for each increased LP order + * (includes warmup sample size and quantized LP coefficient) * RETURN [1,max_order] best order */ -unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned bits_per_signal_sample); +unsigned FLAC__lpc_compute_best_order(const FLAC__double lpc_error[], unsigned max_order, unsigned total_samples, unsigned overhead_bits_per_order); #endif /* !defined FLAC__INTEGER_ONLY_LIBRARY */ |