diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-09-06 18:36:42 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-09-06 18:36:42 +0100 |
commit | 1956cfbaedd364b30095e956fc881f7eaa1e21ff (patch) | |
tree | 19af9c6d74dc89c57d1164097929534f3a09199d /tests/fate/aac.mak | |
parent | ff99a388557480ac32fdf924c4f2f16a3cabfe0a (diff) | |
download | ffmpeg-1956cfbaedd364b30095e956fc881f7eaa1e21ff.tar.gz |
aacenc_is: take absolute coefficient value upon energy calculations
This was an oversight when the IS system was being first implemented.
The ener01 part was largely a result of trial and error and the fact
that the sum of coef0 and coef1 could result in a zero was
overlooked. Once ener01 turns to zero it's used to divide the left
channel energy which doesn't turn out so well as it fills IS[]
with -nan's and inf's which in turn confused the quantize_band_cost.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'tests/fate/aac.mak')
-rw-r--r-- | tests/fate/aac.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index de415c407b..910bac00c8 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/aac.mak @@ -181,7 +181,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 = 619.67 +fate-aac-is-encode: CMP_TARGET = 616.75 fate-aac-is-encode: SIZE_TOLERANCE = 3560 fate-aac-is-encode: FUZZ = 35 |