diff options
author | Claudio Freire <klaussfreire@gmail.com> | 2015-09-25 03:56:32 -0300 |
---|---|---|
committer | Claudio Freire <klaussfreire@gmail.com> | 2015-09-25 03:56:32 -0300 |
commit | 9458a62decfcaa1313b1ba69276466de536d0768 (patch) | |
tree | 0d2411cb10a9e5f0ede5551a875482dbd87f5447 /tests | |
parent | aa6c43f3fdec8a7518534b9dab20c9eb4be11568 (diff) | |
download | ffmpeg-9458a62decfcaa1313b1ba69276466de536d0768.tar.gz |
AAC encoder: tweak PNS usage to be more aggressive
This patch tweaks search_for_pns to be both more
aggressive and more careful when applying PNS. On
the one side, it will again try to use PNS on zero
(or effectively zero) bands. For this, both zeroes
and band_type have to be checked (some ZERO bands
aren't marked in zeroes). On the other side, a more
accurate rate-distortion measure avoids using PNS
where it would cause audible distortion.
Also fixed a small bug in the computation of freq
that caused PNS usage on low-frequency bands during
8-short windows. This allows re-enabling PNS during
8-short.
Diffstat (limited to 'tests')
-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 8e9c91507f..d6a355e45b 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/aac.mak @@ -174,7 +174,7 @@ fate-aac-pns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.w fate-aac-pns-encode: CMP_SHIFT = -4096 fate-aac-pns-encode: CMP_TARGET = 623.77 fate-aac-pns-encode: SIZE_TOLERANCE = 3560 -fate-aac-pns-encode: FUZZ = 1 +fate-aac-pns-encode: FUZZ = 25 FATE_AAC_ENCODE += fate-aac-tns-encode fate-aac-tns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -aac_tns 1 -aac_is 0 -aac_pns 0 -b:a 128k |