opus/libcelt
Timothy B. Terriberry 682b6cf1ad Don't destroy stereo history when switching to mono.
The first version of the mono decoder with stereo output collapsed
 the historic energy values stored for anti-collapse down to one
 channel (by taking the max).
This means that a subsequent switch back would continue on using
 the the maximum of the two values instead of the original history,
 which would make anti-collapse produce louder noise (and
 potentially more pre-echo than otherwise).

This patch moves the max into the anti_collapse function itself,
 and does not store the values back into the source array, so the
 full stereo history is maintained if subsequent frames switch
 back.
It also fixes an encoder mismatch, which never took the max
 (assuming, apparently, that the output channel count would never
 change).
2011-01-31 17:26:02 -05:00
..
_kiss_fft_guts.h Updating dump_modes to include the MDCT and FFT. More work needed. 2010-08-25 18:01:50 -04:00
arch.h Clipping the encoder input to +/-2 to prevent scaling errors 2011-01-23 18:22:14 -05:00
bands.c Don't destroy stereo history when switching to mono. 2011-01-31 17:26:02 -05:00
bands.h Don't destroy stereo history when switching to mono. 2011-01-31 17:26:02 -05:00
c64_fft.c Changed all the celt*int*_t types to remove the _t suffix, which is reserved 2009-10-17 14:35:13 -04:00
c64_fft.h Changed all the celt*int*_t types to remove the _t suffix, which is reserved 2009-10-17 14:35:13 -04:00
celt.c Don't destroy stereo history when switching to mono. 2011-01-31 17:26:02 -05:00
celt.h Making it possible for the stereo decoder to decode a mono stream 2011-01-31 10:51:30 -05:00
celt_header.h No longer extracting the frame size from the mode to build the header 2011-01-31 13:27:21 -05:00
celt_types.h MacOS X typedef fix 2010-09-13 11:23:13 -04:00
cwrs.c Enabling the standard static mode by default 2011-01-28 22:42:09 -05:00
cwrs.h Removing the rest of the >32-bit PVQ code 2010-05-24 09:05:36 -04:00
dump_modes.c Merge branch 'exp_api_change' 2011-01-30 13:39:56 -05:00
ecintrin.h Use _BitScanReverse for EC_ILOG with MSVC. 2010-12-23 11:23:50 -05:00
entcode.c Updated copyright notices 2009-10-17 21:40:10 -04:00
entcode.h Clean up some type usage. 2010-12-23 14:33:32 -05:00
entdec.c Clean up some type usage. 2010-12-23 14:33:32 -05:00
entdec.h Changes to ec_dec_cdf() to support 8-bit tables. 2011-01-08 14:57:01 -05:00
entenc.c Fix a typo in ec_byte_write_done(). 2010-12-21 20:16:24 -05:00
entenc.h Changes to ec_dec_cdf() to support 8-bit tables. 2011-01-08 14:57:01 -05:00
fixed_c5x.h Removed the _t from all the celt*_t types to avoid clashing with POSIX 2009-10-17 22:12:42 -04:00
fixed_c6x.h Removed the _t from all the celt*_t types to avoid clashing with POSIX 2009-10-17 22:12:42 -04:00
fixed_debug.h Removed the _t from all the celt*_t types to avoid clashing with POSIX 2009-10-17 22:12:42 -04:00
fixed_generic.h Removed the _t from all the celt*_t types to avoid clashing with POSIX 2009-10-17 22:12:42 -04:00
float_cast.h Optimised float->int cast for Win64 2010-10-16 18:00:54 -04:00
header.c No longer extracting the frame size from the mode to build the header 2011-01-31 13:27:21 -05:00
kiss_fft.c Enabling the standard static mode by default 2011-01-28 22:42:09 -05:00
kiss_fft.h Fixed an old issue where the fixed-point MDCT twiddles were stored as 32-bit values 2010-08-25 22:20:35 -04:00
laplace.c Fix off-by-one error in ec_laplace_encode. 2011-01-24 15:55:02 -05:00
laplace.h Add coarse energy entropy model tuning. 2010-11-09 17:54:41 +08:00
Makefile.am Add --export-symbols-regex 2011-01-11 09:33:20 -05:00
match-test.sh Simplified the folding normalisation by creating renormalise_vector(). 2008-07-20 23:14:31 -04:00
mathops.c Fixes several fixed-point overflows in the PLC code 2010-11-06 22:02:32 -04:00
mathops.h Fixes fixed-point overflow on really low energy 2011-01-27 10:46:01 -05:00
mdct.c Enabling the standard static mode by default 2011-01-28 22:42:09 -05:00
mdct.h static modes update for MDCT 2010-08-25 21:21:43 -04:00
mfrngcod.h Updated copyright notices 2009-10-17 21:40:10 -04:00
modes.c Apply band caps to the band allocation table. 2011-01-31 01:38:52 -05:00
modes.h Merge branch 'exp_api_change' 2011-01-30 13:39:56 -05:00
os_support.h CELT no longer prints to stderr (unless assertions are enabled) 2010-08-27 17:52:38 -04:00
pitch.c Changing some double constants to float 2011-01-27 17:19:49 -05:00
pitch.h Removing more unused function params 2011-01-26 13:09:53 -05:00
plc.c Fixes several fixed-point overflows in the PLC code 2010-11-06 22:02:32 -04:00
plc.h Removing old PCL, added plc.h 2010-06-20 23:01:33 -04:00
quant_bands.c Changing some double constants to float 2011-01-27 17:19:49 -05:00
quant_bands.h Removing more unused function params 2011-01-26 13:09:53 -05:00
rangedec.c Changes to ec_dec_cdf() to support 8-bit tables. 2011-01-08 14:57:01 -05:00
rangeenc.c Changes to ec_dec_cdf() to support 8-bit tables. 2011-01-08 14:57:01 -05:00
rate.c Propagate balance from compute_allocation() to quant_all_bands(). 2011-01-31 15:37:01 -05:00
rate.h Propagate balance from compute_allocation() to quant_all_bands(). 2011-01-31 15:37:01 -05:00
stack_alloc.h _alloca() for Win32 2010-08-31 11:56:09 -04:00
static_modes_fixed.c More band caps updates. 2011-01-31 01:37:51 -05:00
static_modes_float.c More band caps updates. 2011-01-31 01:37:51 -05:00
testcelt.c Fix sample type conversion when resampling 2011-01-31 13:41:01 -05:00
vq.c Removes unused function parameters 2011-01-26 10:50:55 -05:00
vq.h Stop uselessly calling haar1() when resynth=0 2011-01-22 21:22:03 -05:00