• Rostislav Pehlivanov's avatar
    aacenc_tns: encode coefficients directly and reenable compression · 7b786638
    Rostislav Pehlivanov authored
    This commit was made possible with the earlier commits since the
    new quantization method basically means we're working always with
    unsigned values. The specifications mention to use compression when
    the first 2 bits are identical but they didn't mention if this should
    happen before or after the conversion to signed values. Actually
    they said nothing about conversion to signed values.
    
    With this commit, coefficient compression usually always happens
    which saves a lot of space, especially at extremely low bitrates
    and doesn't change the quality at all.
    Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
    7b786638
aacenc_tns.c 8 KB