aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/sub-charenc
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-09-07 12:39:04 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-09-07 12:44:09 +0100
commitb6cc8ec7ecc3bea2a84fe65fa278e22fbb26a48c (patch)
tree71f3803f41c53a5c7fee317d39101ff0f5a07832 /tests/ref/fate/sub-charenc
parent0c511eb272e007b5998fa0b4741618274b78b4df (diff)
downloadffmpeg-b6cc8ec7ecc3bea2a84fe65fa278e22fbb26a48c.tar.gz
aaccoder: add frequency scaling and quantization correction for PNS
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: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'tests/ref/fate/sub-charenc')
0 files changed, 0 insertions, 0 deletions