aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-20 02:14:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-20 02:14:54 +0100
commit48706f41e1a17e04b0aa09852eff021833708233 (patch)
treed33af96fedd771264c6717eacd2d54800bc05aff
parent9d35fa43eea1c0646a5f3e4ba537d58f574b9ca7 (diff)
parenta85ce653fb14ae968419453fabf1ffe10d1f15df (diff)
downloadffmpeg-48706f41e1a17e04b0aa09852eff021833708233.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: mpeg12: check for available bits to avoid an infinite loop fate: add some shorthands to run groups of tests fate: Give some tests more sensible names. cosmetics: Rename ffsink to avsink. Conflicts: avconv.c cmdutils.c cmdutils.h ffmpeg.c ffplay.c tests/fate/audio.mak tests/fate/demux.mak tests/fate/dpcm.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/pcm.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/wma.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mpeg12.c2
-rw-r--r--tests/fate/adpcm.mak53
-rw-r--r--tests/fate/audio.mak7
-rw-r--r--tests/fate/demux.mak6
-rw-r--r--tests/fate/dpcm.mak7
-rw-r--r--tests/fate/fft.mak1
-rw-r--r--tests/fate/image.mak38
-rw-r--r--tests/fate/lossless-audio.mak12
-rw-r--r--tests/fate/lossless-video.mak7
-rw-r--r--tests/fate/microsoft.mak29
-rw-r--r--tests/fate/pcm.mak22
-rw-r--r--tests/fate/real.mak11
-rw-r--r--tests/fate/screen.mak40
-rw-r--r--tests/fate/video.mak82
-rw-r--r--tests/fate/voice.mak11
-rw-r--r--tests/fate/vpx.mak9
-rw-r--r--tests/fate/wma.mak19
-rw-r--r--tests/ref/fate/adpcm-creative (renamed from tests/ref/fate/creative-adpcm)0
-rw-r--r--tests/ref/fate/adpcm-creative-8-2.6bit (renamed from tests/ref/fate/creative-adpcm-8-2.6bit)0
-rw-r--r--tests/ref/fate/adpcm-creative-8-2bit (renamed from tests/ref/fate/creative-adpcm-8-2bit)0
-rw-r--r--tests/ref/fate/adpcm-creative-8-4bit (renamed from tests/ref/fate/creative-adpcm-8-4bit)0
-rw-r--r--tests/ref/fate/adpcm-ea-mad-ea-r1 (renamed from tests/ref/fate/ea-mad-adpcm-ea-r1)0
-rw-r--r--tests/ref/fate/adpcm-ea-tqi (renamed from tests/ref/fate/ea-tqi-adpcm)0
-rw-r--r--tests/ref/fate/adpcm-ima-dk3 (renamed from tests/ref/fate/duck-dk3)0
-rw-r--r--tests/ref/fate/adpcm-ima-dk4 (renamed from tests/ref/fate/duck-dk4)0
-rw-r--r--tests/ref/fate/adpcm-ima_wav-stereo (renamed from tests/ref/fate/qt-msimaadpcm-stereo)0
-rw-r--r--tests/ref/fate/adpcm-psx-str-v3 (renamed from tests/ref/fate/psx-str-v3-adpcm_xa)0
-rw-r--r--tests/ref/fate/adpcm-thp (renamed from tests/ref/fate/thp-mjpeg-adpcm)0
-rw-r--r--tests/ref/fate/adpcm_ms-stereo (renamed from tests/ref/fate/qt-msadpcm-stereo)0
-rw-r--r--tests/ref/fate/auravision-v1 (renamed from tests/ref/fate/auravision)0
-rw-r--r--tests/ref/fate/bink-video (renamed from tests/ref/fate/bink-demux-video)0
-rw-r--r--tests/ref/fate/cvid-partial (renamed from tests/ref/fate/cvid)0
-rw-r--r--tests/ref/fate/dpcm-idroq (renamed from tests/ref/fate/idroq-video-dpcm)0
-rw-r--r--tests/ref/fate/dpcm-sierra (renamed from tests/ref/fate/sierra-audio)0
-rw-r--r--tests/ref/fate/dxa-feeble (renamed from tests/ref/fate/feeble-dxa)0
-rw-r--r--tests/ref/fate/gsm-toast (renamed from tests/ref/fate/gsm)0
-rw-r--r--tests/ref/fate/lossless-alac (renamed from tests/ref/fate/lossless-appleaudio)0
-rw-r--r--tests/ref/fate/lossless-shorten (renamed from tests/ref/fate/lossless-shortenaudio)0
-rw-r--r--tests/ref/fate/lossless-wavpack (renamed from tests/ref/fate/lossless-wavpackaudio)0
-rw-r--r--tests/ref/fate/pcm_s16be-stereo (renamed from tests/ref/fate/qt-rawpcm-16bit-stereo-signed-be)0
-rw-r--r--tests/ref/fate/pcm_s16le-stereo (renamed from tests/ref/fate/qt-rawpcm-16bit-stereo-signed-le)0
-rw-r--r--tests/ref/fate/pcm_u8-mono (renamed from tests/ref/fate/qt-rawpcm-8bit-mono-unsigned)0
-rw-r--r--tests/ref/fate/pcm_u8-stereo (renamed from tests/ref/fate/qt-rawpcm-8bit-stereo-unsigned)0
-rw-r--r--tests/ref/fate/tiff-fax-g3 (renamed from tests/ref/fate/fax-g3)0
-rw-r--r--tests/ref/fate/tiff-fax-g3s (renamed from tests/ref/fate/fax-g3s)0
-rw-r--r--tests/ref/fate/truemotion2 (renamed from tests/ref/fate/duck-tm2)0
-rw-r--r--tests/ref/fate/vc1_sa00040 (renamed from tests/ref/fate/vc1)0
-rw-r--r--tests/ref/fate/videoxl (renamed from tests/ref/fate/video-xl)0
-rw-r--r--tests/ref/fate/vp31 (renamed from tests/ref/fate/vp3)0
49 files changed, 214 insertions, 142 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index c4c611b8ac..e83c35c7ec 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1694,7 +1694,7 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
if (mb_y == 0 && s->codec_tag == AV_RL32("SLIF")) {
skip_bits1(&s->gb);
} else {
- for (;;) {
+ while (get_bits_left(&s->gb) > 0) {
int code = get_vlc2(&s->gb, mbincr_vlc.table, MBINCR_VLC_BITS, 2);
if (code < 0) {
av_log(s->avctx, AV_LOG_ERROR, "first mb_incr damaged\n");
diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index 2a12d57369..202f0b2be0 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -1,35 +1,44 @@
-FATE_TESTS += fate-adpcm-ea-r2
+FATE_ADPCM += fate-adpcm-ea-r2
fate-adpcm-ea-r2: CMD = crc -i $(SAMPLES)/ea-mpc/THX_logo.mpc -vn
-FATE_TESTS += fate-adpcm-ea-r3
+FATE_ADPCM += fate-adpcm-ea-r3
fate-adpcm-ea-r3: CMD = crc -i $(SAMPLES)/ea-vp6/THX_logo.vp6 -vn
-FATE_TESTS += fate-creative-adpcm
-fate-creative-adpcm: CMD = md5 -i $(SAMPLES)/creative/intro-partial.wav -f s16le
+FATE_ADPCM += fate-adpcm-creative
+fate-adpcm-creative: CMD = md5 -i $(SAMPLES)/creative/intro-partial.wav -f s16le
-FATE_TESTS += fate-creative-adpcm-8-2bit
-fate-creative-adpcm-8-2bit: CMD = md5 -i $(SAMPLES)/creative/BBC_2BIT.VOC -f s16le
+FATE_ADPCM += fate-adpcm-creative-8-2bit
+fate-adpcm-creative-8-2bit: CMD = md5 -i $(SAMPLES)/creative/BBC_2BIT.VOC -f s16le
-FATE_TESTS += fate-creative-adpcm-8-2.6bit
-fate-creative-adpcm-8-2.6bit: CMD = md5 -i $(SAMPLES)/creative/BBC_3BIT.VOC -f s16le
+FATE_ADPCM += fate-adpcm-creative-8-2.6bit
+fate-adpcm-creative-8-2.6bit: CMD = md5 -i $(SAMPLES)/creative/BBC_3BIT.VOC -f s16le
-FATE_TESTS += fate-creative-adpcm-8-4bit
-fate-creative-adpcm-8-4bit: CMD = md5 -i $(SAMPLES)/creative/BBC_4BIT.VOC -f s16le
+FATE_ADPCM += fate-adpcm-creative-8-4bit
+fate-adpcm-creative-8-4bit: CMD = md5 -i $(SAMPLES)/creative/BBC_4BIT.VOC -f s16le
-FATE_TESTS += fate-ea-mad-adpcm-ea-r1
-fate-ea-mad-adpcm-ea-r1: CMD = framecrc -i $(SAMPLES)/ea-mad/NFS6LogoE.mad
+FATE_ADPCM += fate-adpcm-ea-mad-ea-r1
+fate-adpcm-ea-mad-ea-r1: CMD = framecrc -i $(SAMPLES)/ea-mad/NFS6LogoE.mad
-FATE_TESTS += fate-ea-tqi-adpcm
-fate-ea-tqi-adpcm: CMD = framecrc -i $(SAMPLES)/ea-wve/networkBackbone-partial.wve -frames:v 26
+FATE_ADPCM += fate-adpcm-ea-tqi
+fate-adpcm-ea-tqi: CMD = framecrc -i $(SAMPLES)/ea-wve/networkBackbone-partial.wve -frames:v 26
-FATE_TESTS += fate-psx-str-v3-adpcm_xa
-fate-psx-str-v3-adpcm_xa: CMD = framecrc -i $(SAMPLES)/psx-str/abc000_cut.str -vn
+FATE_ADPCM += fate-adpcm-ima-dk3
+fate-adpcm-ima-dk3: CMD = md5 -i $(SAMPLES)/duck/sop-audio-only.avi -f s16le
-FATE_TESTS += fate-qt-msadpcm-stereo
-fate-qt-msadpcm-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-ms02.mov -f s16le
+FATE_ADPCM += fate-adpcm-ima-dk4
+fate-adpcm-ima-dk4: CMD = md5 -i $(SAMPLES)/duck/salsa-audio-only.avi -f s16le
-FATE_TESTS += fate-qt-msimaadpcm-stereo
-fate-qt-msimaadpcm-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-ms11.mov -f s16le
+FATE_ADPCM += fate-adpcm-ima_wav-stereo
+fate-adpcm-ima_wav-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-ms11.mov -f s16le
-FATE_TESTS += fate-thp-mjpeg-adpcm
-fate-thp-mjpeg-adpcm: CMD = framecrc -idct simple -i $(SAMPLES)/thp/pikmin2-opening1-partial.thp
+FATE_ADPCM += fate-adpcm-psx-str-v3
+fate-adpcm-psx-str-v3: CMD = framecrc -i $(SAMPLES)/psx-str/abc000_cut.str -vn
+
+FATE_ADPCM += fate-adpcm-thp
+fate-adpcm-thp: CMD = framecrc -idct simple -i $(SAMPLES)/thp/pikmin2-opening1-partial.thp
+
+FATE_ADPCM += fate-adpcm_ms-stereo
+fate-adpcm_ms-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-ms02.mov -f s16le
+
+FATE_TESTS += $(FATE_ADPCM)
+fate-adpcm: $(FATE_ADPCM)
diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index 182dafdc76..bad874b623 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -1,15 +1,18 @@
-FATE_AUDIO += fate-binkaudio-dct
+FATE_BINKAUDIO += fate-binkaudio-dct
fate-binkaudio-dct: CMD = pcm -i $(SAMPLES)/bink/binkaudio_dct.bik
fate-binkaudio-dct: CMP = oneoff
fate-binkaudio-dct: REF = $(SAMPLES)/bink/binkaudio_dct.pcm
fate-binkaudio-dct: FUZZ = 2
-FATE_AUDIO += fate-binkaudio-rdft
+FATE_BINKAUDIO += fate-binkaudio-rdft
fate-binkaudio-rdft: CMD = pcm -i $(SAMPLES)/bink/binkaudio_rdft.bik
fate-binkaudio-rdft: CMP = oneoff
fate-binkaudio-rdft: REF = $(SAMPLES)/bink/binkaudio_rdft.pcm
fate-binkaudio-rdft: FUZZ = 2
+FATE_AUDIO += $(FATE_BINKAUDIO)
+fate-binkaudio: $(FATE_BINKAUDIO)
+
FATE_AUDIO += fate-dts
fate-dts: CMD = pcm -i $(SAMPLES)/dts/dts.ts
fate-dts: CMP = oneoff
diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index 415af59e20..349c36ba6b 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -7,9 +7,6 @@ fate-aea-demux: CMD = crc -i $(SAMPLES)/aea/chirp.aea -acodec copy
FATE_DEMUX += fate-bink-demux
fate-bink-demux: CMD = crc -i $(SAMPLES)/bink/Snd0a7d9b58.dee -vn -acodec copy
-FATE_DEMUX += fate-bink-demux-video
-fate-bink-demux-video: CMD = framecrc -i $(SAMPLES)/bink/hol2br.bik
-
FATE_DEMUX += fate-bmv
fate-bmv: CMD = framecrc -i $(SAMPLES)/bmv/SURFING-partial.BMV -pix_fmt rgb24
@@ -70,9 +67,6 @@ fate-qcp-demux: CMD = crc -i $(SAMPLES)/qcp/0036580847.QCP -acodec copy
FATE_DEMUX += fate-redcode-demux
fate-redcode-demux: CMD = framecrc -i $(SAMPLES)/r3d/4MB-sample.r3d -vcodec copy -acodec copy
-FATE_DEMUX += fate-sierra-audio
-fate-sierra-audio: CMD = md5 -i $(SAMPLES)/sol/lsl7sample.sol -f s16le
-
FATE_DEMUX += fate-sierra-vmd
fate-sierra-vmd: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vsync 0 -pix_fmt rgb24
diff --git a/tests/fate/dpcm.mak b/tests/fate/dpcm.mak
index ad921fd0f7..a8b8b3d8ed 100644
--- a/tests/fate/dpcm.mak
+++ b/tests/fate/dpcm.mak
@@ -1,5 +1,8 @@
-FATE_DPCM += fate-idroq-video-dpcm
-fate-idroq-video-dpcm: CMD = framecrc -i $(SAMPLES)/idroq/idlogo.roq
+FATE_DPCM += fate-dpcm-idroq
+fate-dpcm-idroq: CMD = framecrc -i $(SAMPLES)/idroq/idlogo.roq
+
+FATE_DPCM += fate-dpcm-sierra
+fate-dpcm-sierra: CMD = md5 -i $(SAMPLES)/sol/lsl7sample.sol -f s16le
FATE_DPCM += fate-dpcm-xan
fate-dpcm-xan: CMD = md5 -i $(SAMPLES)/wc4-xan/wc4_2.avi -vn -f s16le
diff --git a/tests/fate/fft.mak b/tests/fate/fft.mak
index feb47afe00..3afbbe0116 100644
--- a/tests/fate/fft.mak
+++ b/tests/fate/fft.mak
@@ -37,3 +37,4 @@ $(FATE_FFT_FIXED): libavcodec/fft-fixed-test$(EXESUF)
$(FATE_FFT_FIXED): REF = /dev/null
FATE_TESTS += $(FATE_FFT) $(FATE_FFT_FIXED)
+fate-fft: $(FATE_FFT) $(FATE_FFT_FIXED)
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 4c0d361f28..f5b648e3b9 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -1,37 +1,32 @@
FATE_IMAGE += fate-dpx
fate-dpx: CMD = framecrc -i $(SAMPLES)/dpx/lighthouse_rgb48.dpx
-FATE_IMAGE += fate-fax-g3
-fate-fax-g3: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31D.TIF
-
-FATE_IMAGE += fate-fax-g3s
-fate-fax-g3s: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31DS.TIF
-
FATE_IMAGE += fate-pictor
fate-pictor: CMD = framecrc -i $(SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
FATE_IMAGE += fate-ptx
fate-ptx: CMD = framecrc -i $(SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
-FATE_IMAGE += fate-sunraster-1bit-raw
+FATE_SUNRASTER += fate-sunraster-1bit-raw
fate-sunraster-1bit-raw: CMD = framecrc -i $(SAMPLES)/sunraster/lena-1bit-raw.sun
-FATE_IMAGE += fate-sunraster-1bit-rle
+FATE_SUNRASTER += fate-sunraster-1bit-rle
fate-sunraster-1bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-1bit-rle.sun
-FATE_IMAGE += fate-sunraster-8bit-raw
+FATE_SUNRASTER += fate-sunraster-8bit-raw
fate-sunraster-8bit-raw: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
-FATE_IMAGE += fate-sunraster-8bit-rle
+FATE_SUNRASTER += fate-sunraster-8bit-rle
fate-sunraster-8bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
-FATE_IMAGE += fate-sunraster-24bit-raw
+FATE_SUNRASTER += fate-sunraster-24bit-raw
fate-sunraster-24bit-raw: CMD = framecrc -i $(SAMPLES)/sunraster/lena-24bit-raw.sun
-FATE_IMAGE += fate-sunraster-24bit-rle
+FATE_SUNRASTER += fate-sunraster-24bit-rle
fate-sunraster-24bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-24bit-rle.sun
-FATE_TESTS += $(FATE_IMAGE)
-fate-image: $(FATE_IMAGE)
+
+FATE_IMAGE += $(FATE_SUNRASTER)
+fate-sunraster: $(FATE_SUNRASTER)
FATE_TARGA = CBW8 \
CCM8 \
@@ -47,7 +42,7 @@ FATE_TARGA = CBW8 \
FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
fate-targa-top-to-bottom
-FATE_TESTS += $(FATE_TARGA)
+FATE_IMAGE += $(FATE_TARGA)
fate-targa: $(FATE_TARGA)
fate-targa-conformance-CBW8: CMD = framecrc -i $(SAMPLES)/targa-conformance/CBW8.TGA
@@ -62,3 +57,16 @@ fate-targa-conformance-UTC24: CMD = framecrc -i $(SAMPLES)/targa-conformance/UTC
fate-targa-conformance-UTC32: CMD = framecrc -i $(SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
fate-targa-top-to-bottom: CMD = framecrc -i $(SAMPLES)/targa/lena-top-to-bottom.tga
+
+FATE_TIFF += fate-tiff-fax-g3
+fate-tiff-fax-g3: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31D.TIF
+
+FATE_TIFF += fate-tiff-fax-g3s
+fate-tiff-fax-g3s: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31DS.TIF
+
+FATE_IMAGE += $(FATE_TIFF)
+fate-tiff: $(FATE_TIFF)
+
+FATE_TESTS += $(FATE_IMAGE)
+fate-image: $(FATE_IMAGE)
+
diff --git a/tests/fate/lossless-audio.mak b/tests/fate/lossless-audio.mak
index 12abcc3694..0fa5dc8857 100644
--- a/tests/fate/lossless-audio.mak
+++ b/tests/fate/lossless-audio.mak
@@ -1,5 +1,5 @@
-FATE_LOSSLESS_AUDIO += fate-lossless-appleaudio
-fate-lossless-appleaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/inside.m4a -f s16le
+FATE_LOSSLESS_AUDIO += fate-lossless-alac
+fate-lossless-alac: CMD = md5 -i $(SAMPLES)/lossless-audio/inside.m4a -f s16le
FATE_LOSSLESS_AUDIO += fate-lossless-meridianaudio
fate-lossless-meridianaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.mlp -f s16le
@@ -7,14 +7,14 @@ fate-lossless-meridianaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-p
FATE_LOSSLESS_AUDIO += fate-lossless-monkeysaudio
fate-lossless-monkeysaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.ape -f s16le
-FATE_LOSSLESS_AUDIO += fate-lossless-shortenaudio
-fate-lossless-shortenaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.shn -f s16le
+FATE_LOSSLESS_AUDIO += fate-lossless-shorten
+fate-lossless-shorten: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.shn -f s16le
FATE_LOSSLESS_AUDIO += fate-lossless-tta
fate-lossless-tta: CMD = crc -i $(SAMPLES)/lossless-audio/inside.tta
-FATE_LOSSLESS_AUDIO += fate-lossless-wavpackaudio
-fate-lossless-wavpackaudio: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.wv -f s16le
+FATE_LOSSLESS_AUDIO += fate-lossless-wavpack
+fate-lossless-wavpack: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.wv -f s16le
FATE_TESTS += $(FATE_LOSSLESS_AUDIO)
fate-lossless-audio: $(FATE_LOSSLESS_AUDIO)
diff --git a/tests/fate/lossless-video.mak b/tests/fate/lossless-video.mak
index 5ec8cd65d7..7807beed2e 100644
--- a/tests/fate/lossless-video.mak
+++ b/tests/fate/lossless-video.mak
@@ -1,9 +1,12 @@
-FATE_LOSSLESS_VIDEO += fate-loco-rgb
+FATE_LOCO += fate-loco-rgb
fate-loco-rgb: CMD = framecrc -i $(SAMPLES)/loco/pig-loco-rgb.avi
-FATE_LOSSLESS_VIDEO += fate-loco-yuy2
+FATE_LOCO += fate-loco-yuy2
fate-loco-yuy2: CMD = framecrc -i $(SAMPLES)/loco/pig-loco-0.avi
+FATE_LOSSLESS_VIDEO += $(FATE_LOCO)
+fate-loco: $(FATE_LOCO)
+
FATE_LOSSLESS_VIDEO += fate-msrle-8bit
fate-msrle-8bit: CMD = framecrc -i $(SAMPLES)/msrle/Search-RLE.avi -pix_fmt rgb24
diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak
index d8993f9319..16ba798e1d 100644
--- a/tests/fate/microsoft.mak
+++ b/tests/fate/microsoft.mak
@@ -1,36 +1,45 @@
FATE_MICROSOFT += fate-msmpeg4v1
fate-msmpeg4v1: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/msmpeg4v1/mpg4.avi -an
-FATE_MICROSOFT += fate-msvideo1-16bit
+FATE_MSVIDEO1 += fate-msvideo1-16bit
fate-msvideo1-16bit: CMD = framecrc -i $(SAMPLES)/cram/clock-cram16.avi -pix_fmt rgb24
-FATE_MICROSOFT += fate-msvideo1-8bit
+FATE_MSVIDEO1 += fate-msvideo1-8bit
fate-msvideo1-8bit: CMD = framecrc -i $(SAMPLES)/cram/skating.avi -t 1 -pix_fmt rgb24
-FATE_MICROSOFT += fate-wmv8-drm
+FATE_MICROSOFT += $(FATE_MSVIDEO1)
+fate-msvideo1: $(FATE_MSVIDEO1)
+
+FATE_WMV8_DRM += fate-wmv8-drm
# discard last packet to avoid fails due to overread of VC-1 decoder
fate-wmv8-drm: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -an -vframes 162
-FATE_MICROSOFT += fate-wmv8-drm-nodec
+FATE_WMV8_DRM += fate-wmv8-drm-nodec
fate-wmv8-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -acodec copy -vcodec copy
#FATE_MICROSOFT += fate-wmv8-x8intra
#fate-wmv8-x8intra: CMD = framecrc -flags +bitexact -idct 19 -i $(SAMPLES)/wmv8/wmv8_x8intra.wmv -an
-FATE_MICROSOFT += fate-vc1
-fate-vc1: CMD = framecrc -i $(SAMPLES)/vc1/SA00040.vc1
+FATE_MICROSOFT += $(FATE_WMV8_DRM)
+fate-wmv8_drm: $(FATE_WMV8_DRM)
+
+FATE_VC1 += fate-vc1_sa00040
+fate-vc1_sa00040: CMD = framecrc -i $(SAMPLES)/vc1/SA00040.vc1
-FATE_MICROSOFT += fate-vc1_sa00050
+FATE_VC1 += fate-vc1_sa00050
fate-vc1_sa00050: CMD = framecrc -i $(SAMPLES)/vc1/SA00050.vc1
-FATE_MICROSOFT += fate-vc1_sa10091
+FATE_VC1 += fate-vc1_sa10091
fate-vc1_sa10091: CMD = framecrc -i $(SAMPLES)/vc1/SA10091.vc1
-FATE_MICROSOFT += fate-vc1_sa20021
+FATE_VC1 += fate-vc1_sa20021
fate-vc1_sa20021: CMD = framecrc -i $(SAMPLES)/vc1/SA20021.vc1
-FATE_MICROSOFT += fate-vc1-ism
+FATE_VC1 += fate-vc1-ism
fate-vc1-ism: CMD = framecrc -i $(SAMPLES)/isom/vc1-wmapro.ism -an
+FATE_MICROSOFT += $(FATE_VC1)
+fate-vc1: $(FATE_VC1)
+
FATE_TESTS += $(FATE_MICROSOFT)
fate-microsoft: $(FATE_MICROSOFT)
diff --git a/tests/fate/pcm.mak b/tests/fate/pcm.mak
index 41b4583c85..3ce04f9cea 100644
--- a/tests/fate/pcm.mak
+++ b/tests/fate/pcm.mak
@@ -1,9 +1,3 @@
-FATE_PCM += fate-duck-dk3
-fate-duck-dk3: CMD = md5 -i $(SAMPLES)/duck/sop-audio-only.avi -f s16le
-
-FATE_PCM += fate-duck-dk4
-fate-duck-dk4: CMD = md5 -i $(SAMPLES)/duck/salsa-audio-only.avi -f s16le
-
FATE_PCM += fate-ea-mad-pcm-planar
fate-ea-mad-pcm-planar: CMD = framecrc -i $(SAMPLES)/ea-mad/xeasport.mad
@@ -16,17 +10,17 @@ fate-iff-pcm: CMD = md5 -i $(SAMPLES)/iff/Bells -f s16le
FATE_PCM += fate-pcm_dvd
fate-pcm_dvd: CMD = framecrc -i $(SAMPLES)/pcm-dvd/coolitnow-partial.vob -vn
-FATE_PCM += fate-qt-rawpcm-8bit-mono-unsigned
-fate-qt-rawpcm-8bit-mono-unsigned: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-1-8-raw.mov -f s16le
+FATE_PCM += fate-pcm_s16be-stereo
+fate-pcm_s16be-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-B-twos.mov -f s16le
-FATE_PCM += fate-qt-rawpcm-8bit-stereo-unsigned
-fate-qt-rawpcm-8bit-stereo-unsigned: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-8-raw.mov -f s16le
+FATE_PCM += fate-pcm_s16le-stereo
+fate-pcm_s16le-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-sowt.mov -f s16le
-FATE_PCM += fate-qt-rawpcm-16bit-stereo-signed-be
-fate-qt-rawpcm-16bit-stereo-signed-be: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-B-twos.mov -f s16le
+FATE_PCM += fate-pcm_u8-mono
+fate-pcm_u8-mono: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-1-8-raw.mov -f s16le
-FATE_PCM += fate-qt-rawpcm-16bit-stereo-signed-le
-fate-qt-rawpcm-16bit-stereo-signed-le: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-16-L-sowt.mov -f s16le
+FATE_PCM += fate-pcm_u8-stereo
+fate-pcm_u8-stereo: CMD = md5 -i $(SAMPLES)/qt-surge-suite/surge-2-8-raw.mov -f s16le
FATE_PCM += fate-w64
fate-w64: CMD = crc -i $(SAMPLES)/w64/w64-pcm16.w64
diff --git a/tests/fate/real.mak b/tests/fate/real.mak
index 0d1fa4d6b5..6566db668d 100644
--- a/tests/fate/real.mak
+++ b/tests/fate/real.mak
@@ -18,25 +18,28 @@ fate-rv30: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLE
FATE_REAL += fate-real-rv40
fate-real-rv40: CMD = framecrc -i $(SAMPLES)/real/spygames-2MB.rmvb -t 10 -an -vsync 0
-FATE_REAL += fate-sipr-5k0
+FATE_SIPR += fate-sipr-5k0
fate-sipr-5k0: CMD = pcm -i $(SAMPLES)/sipr/sipr_5k0.rm
fate-sipr-5k0: CMP = oneoff
fate-sipr-5k0: REF = $(SAMPLES)/sipr/sipr_5k0.pcm
-FATE_REAL += fate-sipr-6k5
+FATE_SIPR += fate-sipr-6k5
fate-sipr-6k5: CMD = pcm -i $(SAMPLES)/sipr/sipr_6k5.rm
fate-sipr-6k5: CMP = oneoff
fate-sipr-6k5: REF = $(SAMPLES)/sipr/sipr_6k5.pcm
-FATE_REAL += fate-sipr-8k5
+FATE_SIPR += fate-sipr-8k5
fate-sipr-8k5: CMD = pcm -i $(SAMPLES)/sipr/sipr_8k5.rm
fate-sipr-8k5: CMP = oneoff
fate-sipr-8k5: REF = $(SAMPLES)/sipr/sipr_8k5.pcm
-FATE_REAL += fate-sipr-16k
+FATE_SIPR += fate-sipr-16k
fate-sipr-16k: CMD = pcm -i $(SAMPLES)/sipr/sipr_16k.rm
fate-sipr-16k: CMP = oneoff
fate-sipr-16k: REF = $(SAMPLES)/sipr/sipr_16k.pcm
+FATE_REAL += $(FATE_SIPR)
+fate-sipr: $(FATE_SIPR)
+
FATE_TESTS += $(FATE_REAL)
fate-real: $(FATE_REAL)
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index 0bc06e85a0..a115fd00cf 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -4,47 +4,59 @@ fate-cscd: CMD = framecrc -i $(SAMPLES)/CSCD/sample_video.avi -an -vsync 0 -pix_
FATE_SCREEN += fate-dxtory
fate-dxtory: CMD = framecrc -i $(SAMPLES)/dxtory/dxtory_mic.avi
-FATE_SCREEN += fate-fraps-v0
+FATE_FRAPS += fate-fraps-v0
fate-fraps-v0: CMD = framecrc -i $(SAMPLES)/fraps/Griffin_Ragdoll01-partial.avi
-FATE_SCREEN += fate-fraps-v1
+FATE_FRAPS += fate-fraps-v1
fate-fraps-v1: CMD = framecrc -i $(SAMPLES)/fraps/sample-v1.avi -an
-FATE_SCREEN += fate-fraps-v2
+FATE_FRAPS += fate-fraps-v2
fate-fraps-v2: CMD = framecrc -i $(SAMPLES)/fraps/test3-nosound-partial.avi
-FATE_SCREEN += fate-fraps-v3
+FATE_FRAPS += fate-fraps-v3
fate-fraps-v3: CMD = framecrc -i $(SAMPLES)/fraps/psclient-partial.avi -pix_fmt rgb24
-FATE_SCREEN += fate-fraps-v4
+FATE_FRAPS += fate-fraps-v4
fate-fraps-v4: CMD = framecrc -i $(SAMPLES)/fraps/WoW_2006-11-03_14-58-17-19-nosound-partial.avi
-FATE_SCREEN += fate-fraps-v5
+FATE_FRAPS += fate-fraps-v5
fate-fraps-v5: CMD = framecrc -i $(SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi
-FATE_SCREEN += fate-tscc-15bit
+FATE_SCREEN += $(FATE_FRAPS)
+fate-fraps: $(FATE_FRAPS)
+
+FATE_TSCC += fate-tscc-15bit
fate-tscc-15bit: CMD = framecrc -i $(SAMPLES)/tscc/oneminute.avi -t 15 -pix_fmt rgb24
-FATE_SCREEN += fate-tscc-32bit
+FATE_TSCC += fate-tscc-32bit
fate-tscc-32bit: CMD = framecrc -i $(SAMPLES)/tscc/2004-12-17-uebung9-partial.avi -pix_fmt rgb24 -an
-FATE_SCREEN += fate-vmnc-16bit
+FATE_SCREEN += $(FATE_TSCC)
+fate-tscc: $(FATE_TSCC)
+
+FATE_VMNC += fate-vmnc-16bit
fate-vmnc-16bit: CMD = framecrc -i $(SAMPLES)/VMnc/test.avi -pix_fmt rgb24
-FATE_SCREEN += fate-vmnc-32bit
+FATE_VMNC += fate-vmnc-32bit
fate-vmnc-32bit: CMD = framecrc -i $(SAMPLES)/VMnc/VS2k5DebugDemo-01-partial.avi -pix_fmt rgb24
-FATE_SCREEN += fate-zmbv-8bit
+FATE_SCREEN += $(FATE_VMNC)
+fate-vmnc: $(FATE_VMNC)
+
+FATE_ZMBV += fate-zmbv-8bit
fate-zmbv-8bit: CMD = framecrc -i $(SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24
-FATE_SCREEN += fate-zmbv-15bit
+FATE_ZMBV += fate-zmbv-15bit
fate-zmbv-15bit: CMD = framecrc -i $(SAMPLES)/zmbv/zmbv_15bit.avi -pix_fmt rgb24 -t 25
-FATE_SCREEN += fate-zmbv-16bit
+FATE_ZMBV += fate-zmbv-16bit
fate-zmbv-16bit: CMD = framecrc -i $(SAMPLES)/zmbv/zmbv_16bit.avi -pix_fmt rgb24 -t 25
-FATE_SCREEN += fate-zmbv-32bit
+FATE_ZMBV += fate-zmbv-32bit
fate-zmbv-32bit: CMD = framecrc -i $(SAMPLES)/zmbv/zmbv_32bit.avi -pix_fmt rgb24 -t 25
+FATE_SCREEN += $(FATE_ZMBV)
+fate-zmbv: $(FATE_ZMBV)
+
FATE_TESTS += $(FATE_SCREEN)
fate-screen: $(FATE_SCREEN)
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index bce941d6bd..4aa859d0e2 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -1,9 +1,12 @@
-FATE_VIDEO += fate-4xm-1
+FATE_4XM += fate-4xm-1
fate-4xm-1: CMD = framecrc -i $(SAMPLES)/4xm/version1.4xm -pix_fmt rgb24 -an
-FATE_VIDEO += fate-4xm-2
+FATE_4XM += fate-4xm-2
fate-4xm-2: CMD = framecrc -i $(SAMPLES)/4xm/version2.4xm -pix_fmt rgb24 -an
+FATE_VIDEO += $(FATE_4XM)
+fate-4xm: $(FATE_4XM)
+
FATE_VIDEO += fate-aasc
fate-aasc: CMD = framecrc -i $(SAMPLES)/aasc/AASC-1.5MB.AVI -pix_fmt rgb24
@@ -19,8 +22,8 @@ fate-ansi: CMD = framecrc -chars_per_frame 44100 -i $(SAMPLES)/ansi/TRE-IOM5.ANS
FATE_VIDEO += fate-armovie-escape124
fate-armovie-escape124: CMD = framecrc -i $(SAMPLES)/rpl/ESCAPE.RPL -pix_fmt rgb24
-FATE_VIDEO += fate-auravision
-fate-auravision: CMD = framecrc -i $(SAMPLES)/auravision/SOUVIDEO.AVI -an
+FATE_VIDEO += fate-auravision-v1
+fate-auravision-v1: CMD = framecrc -i $(SAMPLES)/auravision/SOUVIDEO.AVI -an
FATE_VIDEO += fate-auravision-v2
fate-auravision-v2: CMD = framecrc -i $(SAMPLES)/auravision/salma-hayek-in-ugly-betty-partial-avi -an
@@ -31,6 +34,9 @@ fate-bethsoft-vid: CMD = framecrc -i $(SAMPLES)/bethsoft-vid/ANIM0001.VID -vsync
FATE_VIDEO += fate-bfi
fate-bfi: CMD = framecrc -i $(SAMPLES)/bfi/2287.bfi -pix_fmt rgb24
+FATE_VIDEO += fate-bink-video
+fate-bink-video: CMD = framecrc -i $(SAMPLES)/bink/hol2br.bik
+
FATE_VIDEO += fate-cdgraphics
fate-cdgraphics: CMD = framecrc -i $(SAMPLES)/cdgraphics/BrotherJohn.cdg -pix_fmt rgb24 -t 1
@@ -43,15 +49,18 @@ fate-corepng: CMD = framecrc -i $(SAMPLES)/png1/corepng-partial.avi
FATE_VIDEO += fate-creatureshock-avs
fate-creatureshock-avs: CMD = framecrc -i $(SAMPLES)/creatureshock-avs/OUTATIME.AVS -pix_fmt rgb24
-FATE_VIDEO += fate-cvid
-fate-cvid: CMD = framecrc -i $(SAMPLES)/cvid/laracroft-cinepak-partial.avi -an
+FATE_CVID += fate-cvid-partial
+fate-cvid-partial: CMD = framecrc -i $(SAMPLES)/cvid/laracroft-cinepak-partial.avi -an
-FATE_VIDEO += fate-cvid-palette
+FATE_CVID += fate-cvid-palette
fate-cvid-palette: CMD = framecrc -i $(SAMPLES)/cvid/catfight-cvid-pal8-partial.mov -pix_fmt rgb24 -an
-FATE_VIDEO += fate-cvid-grayscale
+FATE_CVID += fate-cvid-grayscale
fate-cvid-grayscale: CMD = framecrc -i $(SAMPLES)/cvid/pcitva15.avi -an
+FATE_VIDEO += $(FATE_CVID)
+fate-cvid: $(FATE_CVID)
+
FATE_VIDEO += fate-cyberia-c93
fate-cyberia-c93: CMD = framecrc -i $(SAMPLES)/cyberia-c93/intro1.c93 -t 3 -pix_fmt rgb24
@@ -64,24 +73,39 @@ fate-delphine-cin: CMD = framecrc -i $(SAMPLES)/delphine-cin/LOGO-partial.CIN -p
FATE_VIDEO += fate-deluxepaint-anm
fate-deluxepaint-anm: CMD = framecrc -i $(SAMPLES)/deluxepaint-anm/INTRO1.ANM -pix_fmt rgb24
-FATE_VIDEO += fate-duck-tm2
-fate-duck-tm2: CMD = framecrc -i $(SAMPLES)/duck/tm20.avi
+FATE_TRUEMOTION1 += fate-truemotion1-15
+fate-truemotion1-15: CMD = framecrc -i $(SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24
+
+FATE_TRUEMOTION1 += fate-truemotion1-24
+fate-truemotion1-24: CMD = framecrc -i $(SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24
+
+FATE_VIDEO += $(FATE_TRUEMOTION1)
+fate-truemotion1: $(FATE_TRUEMOTION1)
+
+FATE_VIDEO += fate-truemotion2
+fate-truemotion2: CMD = framecrc -i $(SAMPLES)/duck/tm20.avi
-FATE_VIDEO += fate-dxa-scummvm
+FATE_DXA += fate-dxa-feeble
+fate-dxa-feeble: CMD = framecrc -i $(SAMPLES)/dxa/meetsquid.dxa -t 2 -pix_fmt rgb24
+
+FATE_DXA += fate-dxa-scummvm
fate-dxa-scummvm: CMD = framecrc -i $(SAMPLES)/dxa/scummvm.dxa -pix_fmt rgb24
-FATE_VIDEO += fate-feeble-dxa
-fate-feeble-dxa: CMD = framecrc -i $(SAMPLES)/dxa/meetsquid.dxa -t 2 -pix_fmt rgb24
+FATE_VIDEO += $(FATE_DXA)
+fate-dxa: $(FATE_DXA)
-FATE_VIDEO += fate-flic-af11-palette-change
+FATE_FLIC += fate-flic-af11-palette-change
fate-flic-af11-palette-change: CMD = framecrc -i $(SAMPLES)/fli/fli-engines.fli -t 3.3 -pix_fmt rgb24
-FATE_VIDEO += fate-flic-af12
+FATE_FLIC += fate-flic-af12
fate-flic-af12: CMD = framecrc -i $(SAMPLES)/fli/jj00c2.fli -pix_fmt rgb24
-FATE_VIDEO += fate-flic-magiccarpet
+FATE_FLIC += fate-flic-magiccarpet
fate-flic-magiccarpet: CMD = framecrc -i $(SAMPLES)/fli/intel.dat -pix_fmt rgb24
+FATE_VIDEO += $(FATE_FLIC)
+fate-flic: $(FATE_FLIC)
+
FATE_VIDEO += fate-frwu
fate-frwu: CMD = framecrc -i $(SAMPLES)/frwu/frwu.avi
@@ -91,15 +115,18 @@ fate-id-cin-video: CMD = framecrc -i $(SAMPLES)/idcin/idlog-2MB.cin -pix_fmt rgb
FATE_VIDEO-$(CONFIG_AVFILTER) += fate-idroq-video-encode
fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -sws_flags +bitexact -vf pad=512:512:80:112 -f RoQ -t 0.2
-FATE_VIDEO += fate-iff-byterun1
+FATE_IFF += fate-iff-byterun1
fate-iff-byterun1: CMD = framecrc -i $(SAMPLES)/iff/ASH.LBM -pix_fmt rgb24
-FATE_VIDEO += fate-iff-fibonacci
+FATE_IFF += fate-iff-fibonacci
fate-iff-fibonacci: CMD = md5 -i $(SAMPLES)/iff/dasboot-in-compressed -f s16le
-FATE_VIDEO += fate-iff-ilbm
+FATE_IFF += fate-iff-ilbm
fate-iff-ilbm: CMD = framecrc -i $(SAMPLES)/iff/lms-matriks.ilbm -pix_fmt rgb24
+FATE_VIDEO += $(FATE_IFF)
+fate-iff: $(FATE_IFF)
+
FATE_VIDEO += fate-kmvc
fate-kmvc: CMD = framecrc -i $(SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24
@@ -145,18 +172,15 @@ fate-tiertex-seq: CMD = framecrc -i $(SAMPLES)/tiertex-seq/Gameover.seq -pix_fmt
FATE_VIDEO += fate-tmv
fate-tmv: CMD = framecrc -i $(SAMPLES)/tmv/pop-partial.tmv -pix_fmt rgb24
-FATE_VIDEO += fate-truemotion1-15
-fate-truemotion1-15: CMD = framecrc -i $(SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24
-
-FATE_VIDEO += fate-truemotion1-24
-fate-truemotion1-24: CMD = framecrc -i $(SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24
-
-FATE_VIDEO += fate-txd-16bpp
+FATE_TXD += fate-txd-16bpp
fate-txd-16bpp: CMD = framecrc -i $(SAMPLES)/txd/misc.txd -pix_fmt bgra -an
-FATE_VIDEO += fate-txd-pal8
+FATE_TXD += fate-txd-pal8
fate-txd-pal8: CMD = framecrc -i $(SAMPLES)/txd/outro.txd -pix_fmt rgb24 -an
+FATE_VIDEO += $(FATE_TXD)
+fate-txd: $(FATE_TXD)
+
FATE_VIDEO += fate-ulti
fate-ulti: CMD = framecrc -i $(SAMPLES)/ulti/hit12w.avi -an
@@ -173,8 +197,8 @@ fate-v410enc: CMD = md5 -f image2 -vcodec pgmyuv -i $(TARGET_PATH)/tests/vsynth1
FATE_VIDEO += fate-vcr1
fate-vcr1: CMD = framecrc -i $(SAMPLES)/vcr1/VCR1test.avi -an
-FATE_VIDEO += fate-video-xl
-fate-video-xl: CMD = framecrc -i $(SAMPLES)/vixl/pig-vixl.avi
+FATE_VIDEO += fate-videoxl
+fate-videoxl: CMD = framecrc -i $(SAMPLES)/vixl/pig-vixl.avi
FATE_VIDEO += fate-vqa-cc
fate-vqa-cc: CMD = framecrc -i $(SAMPLES)/vqa/cc-demo1-partial.vqa -pix_fmt rgb24
diff --git a/tests/fate/voice.mak b/tests/fate/voice.mak
index 3dd9697bcf..b9bf8e1e51 100644
--- a/tests/fate/voice.mak
+++ b/tests/fate/voice.mak
@@ -5,12 +5,15 @@ FATE_VOICE += fate-g722enc
fate-g722enc: tests/data/asynth-16000-1.sw
fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722
-FATE_VOICE += fate-gsm
-fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/sample-gsm-8000.mov -t 10
-
-FATE_VOICE += fate-gsm-ms
+FATE_GSM += fate-gsm-ms
fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav
+FATE_GSM += fate-gsm-toast
+fate-gsm-toast: CMD = framecrc -i $(SAMPLES)/gsm/sample-gsm-8000.mov -t 10
+
+FATE_VOICE += $(FATE_GSM)
+fate-gsm: $(FATE_GSM)
+
FATE_VOICE += fate-qcelp
fate-qcelp: CMD = pcm -i $(SAMPLES)/qcp/0036580847.QCP
fate-qcelp: CMP = oneoff
diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index 2d1c8fd619..f55771e773 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -4,12 +4,15 @@ fate-ea-vp60: CMD = framecrc -i $(SAMPLES)/ea-vp6/g36.vp6
FATE_TESTS += fate-ea-vp61
fate-ea-vp61: CMD = framecrc -i $(SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
-FATE_TESTS += fate-vp3
-fate-vp3: CMD = framecrc -i $(SAMPLES)/vp3/vp31.avi
+FATE_VP3 += fate-vp31
+fate-vp31: CMD = framecrc -i $(SAMPLES)/vp3/vp31.avi
-FATE_TESTS += fate-vp3-coeff-level64
+FATE_VP3 += fate-vp3-coeff-level64
fate-vp3-coeff-level64: CMD = framecrc -i $(SAMPLES)/vp3/coeff_level64.mkv
+FATE_TESTS += $(FATE_VP3)
+fate-vp3: $(FATE_VP3)
+
FATE_TESTS += fate-vp5
fate-vp5: CMD = framecrc -i $(SAMPLES)/vp5/potter512-400-partial.avi -an
diff --git a/tests/fate/wma.mak b/tests/fate/wma.mak
index c57ffe54c6..3d849ea146 100644
--- a/tests/fate/wma.mak
+++ b/tests/fate/wma.mak
@@ -1,35 +1,38 @@
-FATE_WMA += fate-wmapro-2ch
+FATE_WMAPRO += fate-wmapro-2ch
fate-wmapro-2ch: CMD = pcm -i $(SAMPLES)/wmapro/Beethovens_9th-1_small.wma
fate-wmapro-2ch: CMP = oneoff
fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
-FATE_WMA += fate-wmapro-5.1
+FATE_WMAPRO += fate-wmapro-5.1
fate-wmapro-5.1: CMD = pcm -i $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.wma
fate-wmapro-5.1: CMP = oneoff
fate-wmapro-5.1: REF = $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.pcm
-FATE_WMA += fate-wmapro-ism
+FATE_WMAPRO += fate-wmapro-ism
fate-wmapro-ism: CMD = pcm -i $(SAMPLES)/isom/vc1-wmapro.ism -vn
fate-wmapro-ism: CMP = oneoff
fate-wmapro-ism: REF = $(SAMPLES)/isom/vc1-wmapro.pcm
-FATE_WMA += fate-wmavoice-7k
+FATE_TESTS += $(FATE_WMAPRO)
+fate-wmapro: $(FATE_WMAPRO)
+
+FATE_WMAVOICE += fate-wmavoice-7k
fate-wmavoice-7k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-7K.wma
fate-wmavoice-7k: CMP = stddev
fate-wmavoice-7k: REF = $(SAMPLES)/wmavoice/streaming_CBR-7K.pcm
fate-wmavoice-7k: FUZZ = 3
-FATE_WMA += fate-wmavoice-11k
+FATE_WMAVOICE += fate-wmavoice-11k
fate-wmavoice-11k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-11K.wma
fate-wmavoice-11k: CMP = stddev
fate-wmavoice-11k: REF = $(SAMPLES)/wmavoice/streaming_CBR-11K.pcm
fate-wmavoice-11k: FUZZ = 3
-FATE_WMA += fate-wmavoice-19k
+FATE_WMAVOICE += fate-wmavoice-19k
fate-wmavoice-19k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-19K.wma
fate-wmavoice-19k: CMP = stddev
fate-wmavoice-19k: REF = $(SAMPLES)/wmavoice/streaming_CBR-19K.pcm
fate-wmavoice-19k: FUZZ = 3
-FATE_TESTS += $(FATE_WMA)
-fate-wma: $(FATE_WMA)
+FATE_TESTS += $(FATE_WMAVOICE)
+fate-wmavoice: $(FATE_WMAVOICE)
diff --git a/tests/ref/fate/creative-adpcm b/tests/ref/fate/adpcm-creative
index 039ca3ab67..039ca3ab67 100644
--- a/tests/ref/fate/creative-adpcm
+++ b/tests/ref/fate/adpcm-creative
diff --git a/tests/ref/fate/creative-adpcm-8-2.6bit b/tests/ref/fate/adpcm-creative-8-2.6bit
index 835760448b..835760448b 100644
--- a/tests/ref/fate/creative-adpcm-8-2.6bit
+++ b/tests/ref/fate/adpcm-creative-8-2.6bit
diff --git a/tests/ref/fate/creative-adpcm-8-2bit b/tests/ref/fate/adpcm-creative-8-2bit
index 4166846dcb..4166846dcb 100644
--- a/tests/ref/fate/creative-adpcm-8-2bit
+++ b/tests/ref/fate/adpcm-creative-8-2bit
diff --git a/tests/ref/fate/creative-adpcm-8-4bit b/tests/ref/fate/adpcm-creative-8-4bit
index 2d579aa91b..2d579aa91b 100644
--- a/tests/ref/fate/creative-adpcm-8-4bit
+++ b/tests/ref/fate/adpcm-creative-8-4bit
diff --git a/tests/ref/fate/ea-mad-adpcm-ea-r1 b/tests/ref/fate/adpcm-ea-mad-ea-r1
index b75de55f39..b75de55f39 100644
--- a/tests/ref/fate/ea-mad-adpcm-ea-r1
+++ b/tests/ref/fate/adpcm-ea-mad-ea-r1
diff --git a/tests/ref/fate/ea-tqi-adpcm b/tests/ref/fate/adpcm-ea-tqi
index 4fbc117070..4fbc117070 100644
--- a/tests/ref/fate/ea-tqi-adpcm
+++ b/tests/ref/fate/adpcm-ea-tqi
diff --git a/tests/ref/fate/duck-dk3 b/tests/ref/fate/adpcm-ima-dk3
index 9aad92beed..9aad92beed 100644
--- a/tests/ref/fate/duck-dk3
+++ b/tests/ref/fate/adpcm-ima-dk3
diff --git a/tests/ref/fate/duck-dk4 b/tests/ref/fate/adpcm-ima-dk4
index d47ef2071a..d47ef2071a 100644
--- a/tests/ref/fate/duck-dk4
+++ b/tests/ref/fate/adpcm-ima-dk4
diff --git a/tests/ref/fate/qt-msimaadpcm-stereo b/tests/ref/fate/adpcm-ima_wav-stereo
index cb6a481999..cb6a481999 100644
--- a/tests/ref/fate/qt-msimaadpcm-stereo
+++ b/tests/ref/fate/adpcm-ima_wav-stereo
diff --git a/tests/ref/fate/psx-str-v3-adpcm_xa b/tests/ref/fate/adpcm-psx-str-v3
index ee0c3543d3..ee0c3543d3 100644
--- a/tests/ref/fate/psx-str-v3-adpcm_xa
+++ b/tests/ref/fate/adpcm-psx-str-v3
diff --git a/tests/ref/fate/thp-mjpeg-adpcm b/tests/ref/fate/adpcm-thp
index b1046d8df5..b1046d8df5 100644
--- a/tests/ref/fate/thp-mjpeg-adpcm
+++ b/tests/ref/fate/adpcm-thp
diff --git a/tests/ref/fate/qt-msadpcm-stereo b/tests/ref/fate/adpcm_ms-stereo
index 6b131c1f97..6b131c1f97 100644
--- a/tests/ref/fate/qt-msadpcm-stereo
+++ b/tests/ref/fate/adpcm_ms-stereo
diff --git a/tests/ref/fate/auravision b/tests/ref/fate/auravision-v1
index a7bccc0d2c..a7bccc0d2c 100644
--- a/tests/ref/fate/auravision
+++ b/tests/ref/fate/auravision-v1
diff --git a/tests/ref/fate/bink-demux-video b/tests/ref/fate/bink-video
index f3adf76b25..f3adf76b25 100644
--- a/tests/ref/fate/bink-demux-video
+++ b/tests/ref/fate/bink-video
diff --git a/tests/ref/fate/cvid b/tests/ref/fate/cvid-partial
index 9a85275c69..9a85275c69 100644
--- a/tests/ref/fate/cvid
+++ b/tests/ref/fate/cvid-partial
diff --git a/tests/ref/fate/idroq-video-dpcm b/tests/ref/fate/dpcm-idroq
index 7e0a10ee2e..7e0a10ee2e 100644
--- a/tests/ref/fate/idroq-video-dpcm
+++ b/tests/ref/fate/dpcm-idroq
diff --git a/tests/ref/fate/sierra-audio b/tests/ref/fate/dpcm-sierra
index 16f226e89e..16f226e89e 100644
--- a/tests/ref/fate/sierra-audio
+++ b/tests/ref/fate/dpcm-sierra
diff --git a/tests/ref/fate/feeble-dxa b/tests/ref/fate/dxa-feeble
index caea4c2e2a..caea4c2e2a 100644
--- a/tests/ref/fate/feeble-dxa
+++ b/tests/ref/fate/dxa-feeble
diff --git a/tests/ref/fate/gsm b/tests/ref/fate/gsm-toast
index 89f87d429f..89f87d429f 100644
--- a/tests/ref/fate/gsm
+++ b/tests/ref/fate/gsm-toast
diff --git a/tests/ref/fate/lossless-appleaudio b/tests/ref/fate/lossless-alac
index df27061615..df27061615 100644
--- a/tests/ref/fate/lossless-appleaudio
+++ b/tests/ref/fate/lossless-alac
diff --git a/tests/ref/fate/lossless-shortenaudio b/tests/ref/fate/lossless-shorten
index 9cdb3690e3..9cdb3690e3 100644
--- a/tests/ref/fate/lossless-shortenaudio
+++ b/tests/ref/fate/lossless-shorten
diff --git a/tests/ref/fate/lossless-wavpackaudio b/tests/ref/fate/lossless-wavpack
index 6281924c41..6281924c41 100644
--- a/tests/ref/fate/lossless-wavpackaudio
+++ b/tests/ref/fate/lossless-wavpack
diff --git a/tests/ref/fate/qt-rawpcm-16bit-stereo-signed-be b/tests/ref/fate/pcm_s16be-stereo
index 2500ba26f1..2500ba26f1 100644
--- a/tests/ref/fate/qt-rawpcm-16bit-stereo-signed-be
+++ b/tests/ref/fate/pcm_s16be-stereo
diff --git a/tests/ref/fate/qt-rawpcm-16bit-stereo-signed-le b/tests/ref/fate/pcm_s16le-stereo
index f0837d1206..f0837d1206 100644
--- a/tests/ref/fate/qt-rawpcm-16bit-stereo-signed-le
+++ b/tests/ref/fate/pcm_s16le-stereo
diff --git a/tests/ref/fate/qt-rawpcm-8bit-mono-unsigned b/tests/ref/fate/pcm_u8-mono
index 2b46dbc062..2b46dbc062 100644
--- a/tests/ref/fate/qt-rawpcm-8bit-mono-unsigned
+++ b/tests/ref/fate/pcm_u8-mono
diff --git a/tests/ref/fate/qt-rawpcm-8bit-stereo-unsigned b/tests/ref/fate/pcm_u8-stereo
index 701a515f3c..701a515f3c 100644
--- a/tests/ref/fate/qt-rawpcm-8bit-stereo-unsigned
+++ b/tests/ref/fate/pcm_u8-stereo
diff --git a/tests/ref/fate/fax-g3 b/tests/ref/fate/tiff-fax-g3
index b712dd2a8a..b712dd2a8a 100644
--- a/tests/ref/fate/fax-g3
+++ b/tests/ref/fate/tiff-fax-g3
diff --git a/tests/ref/fate/fax-g3s b/tests/ref/fate/tiff-fax-g3s
index b712dd2a8a..b712dd2a8a 100644
--- a/tests/ref/fate/fax-g3s
+++ b/tests/ref/fate/tiff-fax-g3s
diff --git a/tests/ref/fate/duck-tm2 b/tests/ref/fate/truemotion2
index e7c4ee47f4..e7c4ee47f4 100644
--- a/tests/ref/fate/duck-tm2
+++ b/tests/ref/fate/truemotion2
diff --git a/tests/ref/fate/vc1 b/tests/ref/fate/vc1_sa00040
index 901f81a97f..901f81a97f 100644
--- a/tests/ref/fate/vc1
+++ b/tests/ref/fate/vc1_sa00040
diff --git a/tests/ref/fate/video-xl b/tests/ref/fate/videoxl
index aca08645a7..aca08645a7 100644
--- a/tests/ref/fate/video-xl
+++ b/tests/ref/fate/videoxl
diff --git a/tests/ref/fate/vp3 b/tests/ref/fate/vp31
index 7c3d7d191a..7c3d7d191a 100644
--- a/tests/ref/fate/vp3
+++ b/tests/ref/fate/vp31