diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-11-07 14:09:04 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-11-07 14:15:08 -0500 |
commit | 8b906c102b37ce74571898c8879c01b2a9088fb3 (patch) | |
tree | d3e256501a238161cdd008f96de39994e0b17a05 /celt/bands.h | |
parent | 7aa593a5569a767cd12620f66fc3ed65c9379a28 (diff) | |
download | opus-8b906c102b37ce74571898c8879c01b2a9088fb3.tar.gz |
Changed denormalize_bands() to only work between "start" and "end"
Diffstat (limited to 'celt/bands.h')
-rw-r--r-- | celt/bands.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/celt/bands.h b/celt/bands.h index 47d15b6d..66b69cc7 100644 --- a/celt/bands.h +++ b/celt/bands.h @@ -58,7 +58,8 @@ void normalise_bands(const CELTMode *m, const celt_sig * OPUS_RESTRICT freq, cel * @param X Spectrum (returned de-normalised) * @param bands Square root of the energy for each band */ -void denormalise_bands(const CELTMode *m, const celt_norm * OPUS_RESTRICT X, celt_sig * OPUS_RESTRICT freq, const celt_ener *bandE, int end, int C, int M); +void denormalise_bands(const CELTMode *m, const celt_norm * OPUS_RESTRICT X, + celt_sig * OPUS_RESTRICT freq, const celt_ener *bandE, int start, int end, int C, int M); #define SPREAD_NONE (0) #define SPREAD_LIGHT (1) |