summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-09-09 10:44:33 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-09-09 10:44:33 +0100
commitda64bd6a992c5aa3b07d45412b34d26302e67c82 (patch)
treeb10d42d5b19eb8fdc7115c83a4bbc7a61adfec0e /tests
parentb421455ee09982b403a2b3428d2b01c835663ed7 (diff)
aaccoder: tweak PNS implementation further
This commit changes a few things about the noise substitution logic: - Brings back the quantization factor (reduced to 3) during scalefactor index calculations. - Rejects any zeroed bands. They should be inaudiable and it's a waste transmitting the scalefactor indices for these. - Uses swb_offsets instead of incrementing a 'start' with every window group size. - Rejects all PNS during short windows. Overall improves quality. There was a plan to use the lfg system to create the random numbers instead of using whatever the decoder uses but for now this works fine. Entropy is far from important here. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'tests')
-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 4391106c9a..2f533e2bdc 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 = 637.66
+fate-aac-pns-encode: CMP_TARGET = 633.77
fate-aac-pns-encode: SIZE_TOLERANCE = 3560
fate-aac-pns-encode: FUZZ = 5