summaryrefslogtreecommitdiffstats
path: root/tests/fate/aac.mak
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/fate/aac.mak
parent0c511eb272e007b5998fa0b4741618274b78b4df (diff)
downloadffmpeg-streaming-b6cc8ec7ecc3bea2a84fe65fa278e22fbb26a48c.zip
ffmpeg-streaming-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/fate/aac.mak')
-rw-r--r--tests/fate/aac.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 910bac0..4391106 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -163,7 +163,7 @@ fate-aac-pns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-re
fate-aac-pns-encode: CMP = stddev
fate-aac-pns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-aac-pns-encode: CMP_SHIFT = -4096
-fate-aac-pns-encode: CMP_TARGET = 647.11
+fate-aac-pns-encode: CMP_TARGET = 637.66
fate-aac-pns-encode: SIZE_TOLERANCE = 3560
fate-aac-pns-encode: FUZZ = 5
OpenPOWER on IntegriCloud