ffmpeg/tests/fate
Claudio Freire ca203e9985 AAC encoder: improve SF range utilization
This patch does 4 things, all of which interact and thus it
woudln't be possible to commit them separately without causing
either quality regressions or assertion failures.

Fate comparison targets don't all reflect improvements in
quality, yet listening tests show substantially improved quality
and stability.

1. Increase SF range utilization.

The spec requires SF delta values to be constrained within the
range -60..60. The previous code was applying that range to
the whole SF array and not only the deltas of consecutive values,
because doing so requires smarter code: zeroing or otherwise
skipping a band may invalidate lots of SF choices.

This patch implements that logic to allow the coders to utilize
the full dynamic range of scalefactors, increasing quality quite
considerably, and fixing delta-SF-related assertion failures,
since now the limitation is enforced rather than asserted.

2. PNS tweaks

The previous modification makes big improvements in twoloop's
efficiency, and every time that happens PNS logic needs to be
tweaked accordingly to avoid it from stepping all over twoloop's
decisions. This patch includes modifications of the sort.

3. Account for lowpass cutoff during PSY analysis

The closer PSY's allocation is to final allocation the better
the quality is, and given these modifications, twoloop is now
very efficient at avoiding holes. Thus, to compute accurate
thresholds, PSY needs to account for the lowpass applied
implicitly during twoloop (by zeroing high bands).

This patch makes twoloop set the cutoff in psymodel's context
the first time it runs, and makes PSY account for it during
threshold computation, making PE and threshold computations
closer to the final allocation and thus achieving better
subjective quality.

4. Tweaks to RC lambda tracking loop in relation to PNS

Without this tweak some corner cases cause quality regressions.
Basically, lambda needs to react faster to overall bitrate
efficiency changes since now PNS can be quite successful in
enforcing maximum bitrates, when PSY allocates too many bits
to the lower bands, suppressing the signals RC logic uses to
lower lambda in those cases and causing aggressive PNS.

This tweak makes PNS much less aggressive, though it can still
use some further tweaks.

Also update MIPS specializations and adjust fuzz

Also in lavc/mips/aacpsy_mips.h: remove trailing whitespace
2015-12-02 07:47:37 -03:00
..
aac.mak AAC encoder: improve SF range utilization 2015-12-02 07:47:37 -03:00
ac3.mak fate: replace deprecated request_channels with request_channel_layout 2015-08-22 19:16:13 +02:00
acodec.mak fate: explicitly specify audio bitrate for adpcm/mp2fixed tests. 2015-08-17 18:13:03 -04:00
adpcm.mak
alac.mak
als.mak
amrnb.mak
amrwb.mak
api.mak fate: add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM tests 2015-11-26 17:05:54 +01:00
atrac.mak avcodec/atrac1: fix decoder: QMF delay compensation should be 39 samples 2015-11-21 11:38:45 +01:00
audio.mak
avformat.mak tests/fate/avformat: Fix fate-lavf 2015-11-10 04:53:47 +01:00
bmp.mak
cdxl.mak
checkasm.mak fate: add checkasm target 2015-07-18 01:06:45 +02:00
concatdec.mak fate: fix concat demuxer tests on msys/cygwin by using relative paths 2015-11-16 11:05:19 +01:00
cover-art.mak
demux.mak
dfa.mak
dnxhd.mak fate: add DNxHD/HR tests 2015-10-09 22:36:05 +02:00
dpcm.mak
ea.mak
exif.mak
ffmpeg.mak fate: add -fflags +bitexact in a few places. 2015-08-17 19:14:37 -04:00
ffprobe.mak fate: use PROGSSUF 2015-10-16 14:02:12 +02:00
fft.mak
filter-audio.mak fate: use 'c' for setting the channel_layout 2015-08-31 13:49:46 +02:00
filter-video.mak fate: add mpdecimate test. 2015-11-07 16:03:47 +01:00
flac.mak
gapless.mak
gif.mak
h264.mak
hevc.mak
image.mak Merge commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3' 2015-11-29 16:00:54 +01:00
indeo.mak
libavcodec.mak
libavdevice.mak
libavformat.mak Merge commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead' 2015-11-16 16:19:27 +00:00
libavresample.mak
libavutil.mak Add support for TEA (Tiny Encryption Algorithm) 2015-07-21 23:10:44 +02:00
libswresample.mak swresample/resample: increase precision for compensation 2015-11-11 18:17:18 +01:00
lossless-audio.mak
lossless-video.mak
microsoft.mak Merge commit 'faa3f17a76333b672ce4a40cf80f678ab68bdbae' 2015-08-24 10:25:41 +02:00
monkeysaudio.mak
mp3.mak tests/fate/mp3: increase mp3-float-extra_overread FUZZ for ppc64be-RHEL7.0-gcc-4.8.2-ibmcrl to 23 from 20 2015-08-07 02:54:59 +02:00
mpc.mak
mpeg4.mak fate: add -fflags +bitexact to the relevant targets 2015-08-30 23:31:10 +02:00
mxf.mak
opus.mak
pcm.mak tests/fate: replace all -f md5 by framemd5 2015-09-06 03:23:02 +02:00
probe.mak fate: use PROGSSUF 2015-10-16 14:02:12 +02:00
prores.mak
qt.mak
qtrle.mak
real.mak
screen.mak Merge commit '533a6198505edd1379e1cd722852350ae4a85acc' 2015-10-27 13:58:44 +01:00
seek.mak avformat/mp3dec: prefer "fast_seek" to TOC seek for CBR files. 2015-12-02 11:02:27 +01:00
source-check.sh fate: Add basic license header check 2015-09-29 18:52:35 +02:00
source.mak fate: Add basic license header check 2015-09-29 18:52:35 +02:00
subtitles.mak fate/subtitles: Add a new test for WebVTT 2015-10-12 22:14:44 +02:00
utvideo.mak
vcodec.mak fate: add 10bits YUV4:2:2 dnxhd test 2015-10-13 04:04:02 +02:00
video.mak lavc/cdg: Add transparency support. 2015-10-30 01:24:50 +01:00
voice.mak tests/fate: replace all -f md5 by framemd5 2015-09-06 03:23:02 +02:00
vorbis.mak
vpx.mak fate: use PROGSSUF 2015-10-16 14:02:12 +02:00
vqf.mak fate: add -fflags +bitexact to the relevant targets 2015-08-30 23:31:10 +02:00
wavpack.mak libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge. 2015-08-05 22:29:23 +02:00
wma.mak
xvid.mak