• Claudio Freire's avatar
    AAC Encoder: clipping avoidance · 59216e05
    Claudio Freire authored
    Avoid clipping due to quantization noise to produce audible
    artifacts, by detecting near-clipping signals and both attenuating
    them a little and encoding escape-encoded bands (usually the
    loudest) rounding towards zero instead of nearest, which tends to
    decrease overall energy and thus clipping.
    
    Currently fate tests measure numerical error so this change makes
    tests using asynth (which are near clipping) report higher error
    not less, because of window attenuation. Yet, they sound better,
    not worse (albeit subtle, other samples aren't subtle at all).
    Only measuring psychoacoustically weighted error would make for
    a representative test, so that will be left for a future patch.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    59216e05
Name
Last commit
Last update
..
api Loading commit data...
checkasm Loading commit data...
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
fate-run.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
ffserver-regression.sh Loading commit data...
ffserver.conf Loading commit data...
ffserver.regression.ref Loading commit data...
lavf-regression.sh Loading commit data...
md5.sh Loading commit data...
reference.pnm Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
tiny_ssim.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...