• Martin Storsjö's avatar
    g722: Fix the QMF scaling · b087ce2b
    Martin Storsjö authored
    This fixes clipping if the encoder input used the full 16 bit
    input range (samples with a magnitude below 16383 worked fine).
    The filtered subband samples should be 15 bit maximum, while
    the code earlier produced them scaled to 16 bit.
    
    This makes the decoder output have double the magnitude
    compared to before.
    
    The spec reference samples doesn't test the QMF at all, which
    was why this part slipped past initially.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    b087ce2b
Name
Last commit
Last update
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
avconv.c Loading commit data...
avplay.c Loading commit data...
avprobe.c Loading commit data...
avserver.c Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...