• Rostislav Pehlivanov's avatar
    aaccoder: add frequency scaling and quantization correction for PNS · b6cc8ec7
    Rostislav Pehlivanov authored
    This commit once again improves the PNS implementation by scaling the
    thresholds with frequency. The thresholds get looser as the frequency
    increases since higher frequencies are basically noise to human ears.
    
    Also, this introduces quantization error correction for PNS. Should
    the error be too much, no PNS will be used. The energy_ratio is used
    to regulate the actual encoded PNS energy: if the generated PNS
    energy is higher than the energy from the psy system, energy_ratio
    is used to correct it so that hopefully once requantized and
    transmitted the value in the decoder will be closer to what the
    encoder has.
    Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
    b6cc8ec7
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...