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 Merge remote-tracking branch 'qatar/master' 2014-04-06 23:43:02 +02:00
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 Merge commit 'acbe15a99f158dbb0edb837fb6557171dc4376d4' 2015-03-15 22:20:15 +01:00
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 Merge commit '6b081eff4dfc3c899960f69f30cb567266b7dca3' 2013-10-16 12:23:34 +02:00
demux.mak fate: test ea vp6 with alpha stream 2015-06-26 14:39:11 +02:00
dfa.mak
dnxhd.mak fate: add DNxHD/HR tests 2015-10-09 22:36:05 +02:00
dpcm.mak
ea.mak
exif.mak fate: add WebP Exif metadata test 2014-01-15 21:20:47 +01:00
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 Merge commit '24f45c16224d4c5d482e928676714766ffdda4fc' 2014-06-27 02:36:45 +02:00
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 avcodec/flacenc: Regression test for ticket #4628 2015-06-17 22:47:17 +02:00
gapless.mak fate: gapless: remove useless tests 2015-04-22 19:28:07 +02:00
gif.mak Fix TARGET_SAMPLES and TARGET_PATH for some fate tests. 2014-03-18 01:29:50 +01:00
h264.mak Merge commit '819bb3e81c72939ae1c1a4e5fc3dfdf3e98df074' 2014-07-21 02:27:28 +02:00
hevc.mak tests/fate/hevc: Use a bitexact scaler in the hevc param change test to avoid failing on non x86 2015-04-03 22:48:33 +02:00
image.mak Merge commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3' 2015-11-29 16:00:54 +01:00
indeo.mak
libavcodec.mak fate/api-tests: Move api-flac-test to API tests directory. 2015-06-27 03:43:23 +02:00
libavdevice.mak
libavformat.mak Merge commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead' 2015-11-16 16:19:27 +00:00
libavresample.mak Merge commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498' 2015-06-21 20:55:23 +02:00
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 Merge commit 'd3ea79e8a65ddad4da11813bb43c46701295f68c' 2015-06-28 11:41:23 +02:00
lossless-video.mak Merge commit 'fcda30f2dcb744d89df9d5d1ec89ba55279cb83c' 2015-04-20 05:19:03 +02:00
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 tests/fate: added mxf tests for essencegroups and missing index 2015-01-28 05:45:32 +01:00
opus.mak fate: Use the correct, local path to samples for opus reference files 2014-07-14 22:12:28 +03:00
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 Merge commit 'e21d85309943a51b7808f5e01dd258b262e09148' 2015-02-15 20:25:31 +01:00
qtrle.mak
real.mak Merge commit '28f5cd312c9da9072108edf8b7685d009374ea96' 2014-09-25 13:37:40 +02:00
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 utvideoenc: Enable support for multiple slices and use them 2014-02-14 21:38:00 +01:00
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 tests/fate/wma: use the existing reference files for wmapro tests 2015-06-28 11:58:57 +02:00
xvid.mak xvid: Add C IDCT 2014-09-02 14:41:13 -07:00