summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2015-11-29 15:03:45 -0300
committerClaudio Freire <klaussfreire@gmail.com>2015-11-29 15:03:45 -0300
commit88e498a87eb255eca48c40fd5570a42372491f2f (patch)
treecdce76a83b077f960597aa0799cb222836a098a3 /tests
parent15206ffdbee3c04e638a01cd4572050cf4cfad42 (diff)
AAC encoder: make pe.min a local minimum
As noted in a comment, pe.min in the reference encoder is centered around current pe. The bit reservoir algo needs pe.min to be a local minimum, because it can only account for local PE variations. If it's set to a global minimum as was being done, bit reservoir logic doesn't work as efficiently. This patch tries to forget old minimums and converge to a local minimum without losing the stability of the previous solution. Listening tests until now suggest this solves numerous RC issues.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/aac.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index bc9541e61d..2d418885be 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -146,7 +146,7 @@ fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aa
fate-aac-aref-encode: CMP = stddev
fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
fate-aac-aref-encode: CMP_SHIFT = -4096
-fate-aac-aref-encode: CMP_TARGET = 1127
+fate-aac-aref-encode: CMP_TARGET = 1139
fate-aac-aref-encode: SIZE_TOLERANCE = 2464
fate-aac-aref-encode: FUZZ = 6
@@ -191,7 +191,7 @@ fate-aac-is-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-ref
fate-aac-is-encode: CMP = stddev
fate-aac-is-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-aac-is-encode: CMP_SHIFT = -4096
-fate-aac-is-encode: CMP_TARGET = 582
+fate-aac-is-encode: CMP_TARGET = 584
fate-aac-is-encode: SIZE_TOLERANCE = 3560
fate-aac-is-encode: FUZZ = 1