• 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
..
ac3_fixed Loading commit data...
adpcm_adx Loading commit data...
adpcm_ima_qt Loading commit data...
adpcm_ima_wav Loading commit data...
adpcm_ms Loading commit data...
adpcm_swf Loading commit data...
adpcm_yam Loading commit data...
alac Loading commit data...
aref Loading commit data...
flac Loading commit data...
g722 Loading commit data...
g726 Loading commit data...
mp2 Loading commit data...
pcm_alaw Loading commit data...
pcm_f32be Loading commit data...
pcm_f32le Loading commit data...
pcm_f64be Loading commit data...
pcm_f64le Loading commit data...
pcm_mulaw Loading commit data...
pcm_s16be Loading commit data...
pcm_s16le Loading commit data...
pcm_s24be Loading commit data...
pcm_s24daud Loading commit data...
pcm_s24le Loading commit data...
pcm_s32be Loading commit data...
pcm_s32le Loading commit data...
pcm_s8 Loading commit data...
pcm_u8 Loading commit data...
wmav1 Loading commit data...
wmav2 Loading commit data...