aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-30 01:39:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-30 01:40:54 +0200
commitb0387edd5e766b1032f946d6cdb35b765bb45435 (patch)
treedd3ca8577a8d3b05efee8b1214a80f845ddeb47f /tests/ref/fate
parent8619362ff1de6605ffe6da8a42bdfe4fb7be75c1 (diff)
parentf919cc7df6ab844bc12f89fe7bef4fb915a47725 (diff)
downloadffmpeg-b0387edd5e766b1032f946d6cdb35b765bb45435.tar.gz
Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725'
* commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725': fate: fix acodec/vsynth tests for make 3.81 pcm_mpeg: fix number of consumed bytes to include the header. avfilter: include required header file avfilter.h in video.h x86: Avoid movs on BUTTERFLYPS when in AVX mode x86: use new schema for ASM macros fate: convert codec-regression.sh to makefile rules fate: allow tests to specify unit size for psnr comparison fate: teach videogen/rotozoom to output a single raw video stream http: Add support for reusing the http socket for subsequent requests http: Add support for using persistent connections Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r--tests/ref/fate/acodec-adpcm-adx4
-rw-r--r--tests/ref/fate/acodec-adpcm-ima_qt4
-rw-r--r--tests/ref/fate/acodec-adpcm-ima_wav4
-rw-r--r--tests/ref/fate/acodec-adpcm-ms4
-rw-r--r--tests/ref/fate/acodec-adpcm-swf4
-rw-r--r--tests/ref/fate/acodec-adpcm-yamaha4
-rw-r--r--tests/ref/fate/acodec-adpcm_ima_qt4
-rw-r--r--tests/ref/fate/acodec-alac4
-rw-r--r--tests/ref/fate/acodec-aref4
-rw-r--r--tests/ref/fate/acodec-dca4
-rw-r--r--tests/ref/fate/acodec-flac4
-rw-r--r--tests/ref/fate/acodec-g723_14
-rw-r--r--tests/ref/fate/acodec-mp24
-rw-r--r--tests/ref/fate/acodec-pcm-alaw4
-rw-r--r--tests/ref/fate/acodec-pcm-f32be4
-rw-r--r--tests/ref/fate/acodec-pcm-f32le4
-rw-r--r--tests/ref/fate/acodec-pcm-f64be4
-rw-r--r--tests/ref/fate/acodec-pcm-f64le4
-rw-r--r--tests/ref/fate/acodec-pcm-mulaw4
-rw-r--r--tests/ref/fate/acodec-pcm-s16be4
-rw-r--r--tests/ref/fate/acodec-pcm-s16le4
-rw-r--r--tests/ref/fate/acodec-pcm-s24be4
-rw-r--r--tests/ref/fate/acodec-pcm-s24le4
-rw-r--r--tests/ref/fate/acodec-pcm-s32be4
-rw-r--r--tests/ref/fate/acodec-pcm-s32le4
-rw-r--r--tests/ref/fate/acodec-pcm-s84
-rw-r--r--tests/ref/fate/acodec-pcm-u84
-rw-r--r--tests/ref/fate/acodec-ra1444
-rw-r--r--tests/ref/fate/acodec-roqaudio4
-rw-r--r--tests/ref/fate/vsynth1-amv4
-rw-r--r--tests/ref/fate/vsynth1-asv14
-rw-r--r--tests/ref/fate/vsynth1-asv24
-rw-r--r--tests/ref/fate/vsynth1-avui4
-rw-r--r--tests/ref/fate/vsynth1-cljr4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-1080i4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p-10bit4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p-rd4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd_1080i4
-rw-r--r--tests/ref/fate/vsynth1-dv4
-rw-r--r--tests/ref/fate/vsynth1-dv-4114
-rw-r--r--tests/ref/fate/vsynth1-dv-504
-rw-r--r--tests/ref/fate/vsynth1-dv_4114
-rw-r--r--tests/ref/fate/vsynth1-ffv14
-rw-r--r--tests/ref/fate/vsynth1-ffvhuff4
-rw-r--r--tests/ref/fate/vsynth1-flashsv4
-rw-r--r--tests/ref/fate/vsynth1-flashsv24
-rw-r--r--tests/ref/fate/vsynth1-flv4
-rw-r--r--tests/ref/fate/vsynth1-h2614
-rw-r--r--tests/ref/fate/vsynth1-h2634
-rw-r--r--tests/ref/fate/vsynth1-h263p4
-rw-r--r--tests/ref/fate/vsynth1-huffyuv4
-rw-r--r--tests/ref/fate/vsynth1-j2k4
-rw-r--r--tests/ref/fate/vsynth1-jpegls4
-rw-r--r--tests/ref/fate/vsynth1-ljpeg4
-rw-r--r--tests/ref/fate/vsynth1-mjpeg4
-rw-r--r--tests/ref/fate/vsynth1-mpeg14
-rw-r--r--tests/ref/fate/vsynth1-mpeg1b4
-rw-r--r--tests/ref/fate/vsynth1-mpeg24
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-4224
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-idct-int4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-ilace4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-ivlc-qprd4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-thread4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-thread-ivlc4
-rw-r--r--tests/ref/fate/vsynth1-mpeg44
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-adap4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-adv4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-error4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-nr4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-qpel4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-qprd4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-rc4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-thread4
-rw-r--r--tests/ref/fate/vsynth1-mpng4
-rw-r--r--tests/ref/fate/vsynth1-msmpeg44
-rw-r--r--tests/ref/fate/vsynth1-msmpeg4v24
-rw-r--r--tests/ref/fate/vsynth1-msvideo14
-rw-r--r--tests/ref/fate/vsynth1-prores4
-rw-r--r--tests/ref/fate/vsynth1-prores_kostya4
-rw-r--r--tests/ref/fate/vsynth1-qtrle4
-rw-r--r--tests/ref/fate/vsynth1-qtrlegray4
-rw-r--r--tests/ref/fate/vsynth1-r2104
-rw-r--r--tests/ref/fate/vsynth1-rgb4
-rw-r--r--tests/ref/fate/vsynth1-roqvideo4
-rw-r--r--tests/ref/fate/vsynth1-rv104
-rw-r--r--tests/ref/fate/vsynth1-rv204
-rw-r--r--tests/ref/fate/vsynth1-snow4
-rw-r--r--tests/ref/fate/vsynth1-snow-ll4
-rw-r--r--tests/ref/fate/vsynth1-svq14
-rw-r--r--tests/ref/fate/vsynth1-v2104
-rw-r--r--tests/ref/fate/vsynth1-v3084
-rw-r--r--tests/ref/fate/vsynth1-v4084
-rw-r--r--tests/ref/fate/vsynth1-wmv14
-rw-r--r--tests/ref/fate/vsynth1-wmv24
-rw-r--r--tests/ref/fate/vsynth1-y41p4
-rw-r--r--tests/ref/fate/vsynth1-yuv4
-rw-r--r--tests/ref/fate/vsynth1-yuv44
-rw-r--r--tests/ref/fate/vsynth1-zlib4
-rw-r--r--tests/ref/fate/vsynth1-zmbv4
-rw-r--r--tests/ref/fate/vsynth2-amv4
-rw-r--r--tests/ref/fate/vsynth2-asv14
-rw-r--r--tests/ref/fate/vsynth2-asv24
-rw-r--r--tests/ref/fate/vsynth2-avui4
-rw-r--r--tests/ref/fate/vsynth2-cljr4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-1080i4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p-10bit4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p-rd4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd_1080i4
-rw-r--r--tests/ref/fate/vsynth2-dv4
-rw-r--r--tests/ref/fate/vsynth2-dv-4114
-rw-r--r--tests/ref/fate/vsynth2-dv-504
-rw-r--r--tests/ref/fate/vsynth2-dv_4114
-rw-r--r--tests/ref/fate/vsynth2-ffv14
-rw-r--r--tests/ref/fate/vsynth2-ffvhuff4
-rw-r--r--tests/ref/fate/vsynth2-flashsv4
-rw-r--r--tests/ref/fate/vsynth2-flashsv24
-rw-r--r--tests/ref/fate/vsynth2-flv4
-rw-r--r--tests/ref/fate/vsynth2-h2614
-rw-r--r--tests/ref/fate/vsynth2-h2634
-rw-r--r--tests/ref/fate/vsynth2-h263p4
-rw-r--r--tests/ref/fate/vsynth2-huffyuv4
-rw-r--r--tests/ref/fate/vsynth2-j2k4
-rw-r--r--tests/ref/fate/vsynth2-jpegls4
-rw-r--r--tests/ref/fate/vsynth2-ljpeg4
-rw-r--r--tests/ref/fate/vsynth2-mjpeg4
-rw-r--r--tests/ref/fate/vsynth2-mpeg14
-rw-r--r--tests/ref/fate/vsynth2-mpeg1b4
-rw-r--r--tests/ref/fate/vsynth2-mpeg24
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-4224
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-idct-int4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-ilace4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-ivlc-qprd4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-thread4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-thread-ivlc4
-rw-r--r--tests/ref/fate/vsynth2-mpeg44
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-adap4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-adv4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-error4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-nr4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-qpel4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-qprd4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-rc4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-thread4
-rw-r--r--tests/ref/fate/vsynth2-mpng4
-rw-r--r--tests/ref/fate/vsynth2-msmpeg44
-rw-r--r--tests/ref/fate/vsynth2-msmpeg4v24
-rw-r--r--tests/ref/fate/vsynth2-msvideo14
-rw-r--r--tests/ref/fate/vsynth2-prores4
-rw-r--r--tests/ref/fate/vsynth2-prores_kostya4
-rw-r--r--tests/ref/fate/vsynth2-qtrle4
-rw-r--r--tests/ref/fate/vsynth2-qtrlegray4
-rw-r--r--tests/ref/fate/vsynth2-r2104
-rw-r--r--tests/ref/fate/vsynth2-rgb4
-rw-r--r--tests/ref/fate/vsynth2-roqvideo4
-rw-r--r--tests/ref/fate/vsynth2-rv104
-rw-r--r--tests/ref/fate/vsynth2-rv204
-rw-r--r--tests/ref/fate/vsynth2-snow4
-rw-r--r--tests/ref/fate/vsynth2-snow-ll4
-rw-r--r--tests/ref/fate/vsynth2-svq14
-rw-r--r--tests/ref/fate/vsynth2-v2104
-rw-r--r--tests/ref/fate/vsynth2-v3084
-rw-r--r--tests/ref/fate/vsynth2-v4084
-rw-r--r--tests/ref/fate/vsynth2-wmv14
-rw-r--r--tests/ref/fate/vsynth2-wmv24
-rw-r--r--tests/ref/fate/vsynth2-y41p4
-rw-r--r--tests/ref/fate/vsynth2-yuv4
-rw-r--r--tests/ref/fate/vsynth2-yuv44
-rw-r--r--tests/ref/fate/vsynth2-zlib4
-rw-r--r--tests/ref/fate/vsynth2-zmbv4
171 files changed, 684 insertions, 0 deletions
diff --git a/tests/ref/fate/acodec-adpcm-adx b/tests/ref/fate/acodec-adpcm-adx
new file mode 100644
index 0000000000..2bc49ab94b
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-adx
@@ -0,0 +1,4 @@
+0a30509d9296b857e134b762b76dbc31 *tests/data/fate/acodec-adpcm-adx.adx
+297720 tests/data/fate/acodec-adpcm-adx.adx
+2dbc601ed5259f4d74dc48ccd8da7eaf *tests/data/fate/acodec-adpcm-adx.out.wav
+stddev: 6989.46 PSNR: 19.44 MAXDIFF:65398 bytes: 1058400/ 1058432
diff --git a/tests/ref/fate/acodec-adpcm-ima_qt b/tests/ref/fate/acodec-adpcm-ima_qt
new file mode 100644
index 0000000000..80015275fc
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ima_qt
@@ -0,0 +1,4 @@
+23cbae1182e150ebf28e0abfb9cba127 *tests/data/fate/acodec-adpcm-ima_qt.aiff
+281252 tests/data/fate/acodec-adpcm-ima_qt.aiff
+b0fafd002c38fb70acaddfda1a31ed61 *tests/data/fate/acodec-adpcm-ima_qt.out.wav
+stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058400/ 1058560
diff --git a/tests/ref/fate/acodec-adpcm-ima_wav b/tests/ref/fate/acodec-adpcm-ima_wav
new file mode 100644
index 0000000000..6d83fd5f1c
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ima_wav
@@ -0,0 +1,4 @@
+56b75c3a6dacedcf2ce7b0586aa33594 *tests/data/fate/acodec-adpcm-ima_wav.wav
+267324 tests/data/fate/acodec-adpcm-ima_wav.wav
+ddddfa47302da540abf19224202bef57 *tests/data/fate/acodec-adpcm-ima_wav.out.wav
+stddev: 903.51 PSNR: 37.21 MAXDIFF:34026 bytes: 1058400/ 1061748
diff --git a/tests/ref/fate/acodec-adpcm-ms b/tests/ref/fate/acodec-adpcm-ms
new file mode 100644
index 0000000000..eb8515d986
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ms
@@ -0,0 +1,4 @@
+a407b87daeef5b25dfb6c5b3f519e9c1 *tests/data/fate/acodec-adpcm-ms.wav
+268378 tests/data/fate/acodec-adpcm-ms.wav
+22863fb278c4e0ebe9c34cb15db5dd6b *tests/data/fate/acodec-adpcm-ms.out.wav
+stddev: 1050.01 PSNR: 35.91 MAXDIFF:29806 bytes: 1058400/ 1060576
diff --git a/tests/ref/fate/acodec-adpcm-swf b/tests/ref/fate/acodec-adpcm-swf
new file mode 100644
index 0000000000..fddb771c8b
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-swf
@@ -0,0 +1,4 @@
+42d4639866ed4d692eaf126228a4fa2a *tests/data/fate/acodec-adpcm-swf.flv
+269166 tests/data/fate/acodec-adpcm-swf.flv
+f7df69d3fe708303820f2a9d00140a5b *tests/data/fate/acodec-adpcm-swf.out.wav
+stddev: 933.58 PSNR: 36.93 MAXDIFF:51119 bytes: 1058400/ 1064960
diff --git a/tests/ref/fate/acodec-adpcm-yamaha b/tests/ref/fate/acodec-adpcm-yamaha
new file mode 100644
index 0000000000..da60f44d58
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-yamaha
@@ -0,0 +1,4 @@
+e9c14f701d25947317db9367b9dc772d *tests/data/fate/acodec-adpcm-yamaha.wav
+265274 tests/data/fate/acodec-adpcm-yamaha.wav
+1488b5974fa040a65f0d407fc0224c6a *tests/data/fate/acodec-adpcm-yamaha.out.wav
+stddev: 1247.60 PSNR: 34.41 MAXDIFF:39895 bytes: 1058400/ 1060864
diff --git a/tests/ref/fate/acodec-adpcm_ima_qt b/tests/ref/fate/acodec-adpcm_ima_qt
new file mode 100644
index 0000000000..a50c30a27c
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm_ima_qt
@@ -0,0 +1,4 @@
+23cbae1182e150ebf28e0abfb9cba127 *./tests/data/acodec/adpcm_qt.aiff
+281252 ./tests/data/acodec/adpcm_qt.aiff
+b0fafd002c38fb70acaddfda1a31ed61 *./tests/data/adpcm_ima_qt.acodec.out.wav
+stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058560/ 1058400
diff --git a/tests/ref/fate/acodec-alac b/tests/ref/fate/acodec-alac
new file mode 100644
index 0000000000..6f52d8b084
--- /dev/null
+++ b/tests/ref/fate/acodec-alac
@@ -0,0 +1,4 @@
+1e5266b204b33ab4608e368d309716cb *tests/data/fate/acodec-alac.mov
+388994 tests/data/fate/acodec-alac.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-alac.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-aref b/tests/ref/fate/acodec-aref
new file mode 100644
index 0000000000..d70876d9d9
--- /dev/null
+++ b/tests/ref/fate/acodec-aref
@@ -0,0 +1,4 @@
+64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/acodec.ref.wav
+1058446 ./tests/data/acodec.ref.wav
+ce524631c2ad0a40aaab46e3a80a1176 *./tests/data/acodec-16000-1.ref.wav
+192046 ./tests/data/acodec-16000-1.ref.wav
diff --git a/tests/ref/fate/acodec-dca b/tests/ref/fate/acodec-dca
new file mode 100644
index 0000000000..f4f4a1963b
--- /dev/null
+++ b/tests/ref/fate/acodec-dca
@@ -0,0 +1,4 @@
+66bd0e602be7fb97dc19151554c0ee29 *./tests/data/acodec/dca.dts
+1097124 ./tests/data/acodec/dca.dts
+stddev: 8944.44 PSNR: 17.30 MAXDIFF:56478 bytes: 1060864/ 1058400
+stddev: 2424.93 PSNR: 28.64 MAXDIFF:13723 bytes: 1058944/ 1058400
diff --git a/tests/ref/fate/acodec-flac b/tests/ref/fate/acodec-flac
new file mode 100644
index 0000000000..1cc3770667
--- /dev/null
+++ b/tests/ref/fate/acodec-flac
@@ -0,0 +1,4 @@
+151eef9097f944726968bec48649f00a *tests/data/fate/acodec-flac.flac
+361582 tests/data/fate/acodec-flac.flac
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-flac.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-g723_1 b/tests/ref/fate/acodec-g723_1
new file mode 100644
index 0000000000..6452661baa
--- /dev/null
+++ b/tests/ref/fate/acodec-g723_1
@@ -0,0 +1,4 @@
+d34f35011a3d596eb359cc62c92fa737 *tests/data/fate/acodec-g723_1.g723_1
+4800 tests/data/fate/acodec-g723_1.g723_1
+bc1807ce2a90997c09df66ced6900ebc *tests/data/fate/acodec-g723_1.out.wav
+stddev: 8507.27 PSNR: 17.73 MAXDIFF:26473 bytes: 1058400/ 96000
diff --git a/tests/ref/fate/acodec-mp2 b/tests/ref/fate/acodec-mp2
new file mode 100644
index 0000000000..42381b4784
--- /dev/null
+++ b/tests/ref/fate/acodec-mp2
@@ -0,0 +1,4 @@
+f6eb0a205350bbd7fb1028a01c7ae8aa *tests/data/fate/acodec-mp2.mp2
+96130 tests/data/fate/acodec-mp2.mp2
+5a669ca7321adc6ab66a3eade4035909 *tests/data/fate/acodec-mp2.out.wav
+stddev: 4384.33 PSNR: 23.49 MAXDIFF:52631 bytes: 1058400/ 1057916
diff --git a/tests/ref/fate/acodec-pcm-alaw b/tests/ref/fate/acodec-pcm-alaw
new file mode 100644
index 0000000000..28ce960efe
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-alaw
@@ -0,0 +1,4 @@
+a2dd6a934ec6d5ec901a211652e85227 *tests/data/fate/acodec-pcm-alaw.wav
+529258 tests/data/fate/acodec-pcm-alaw.wav
+f323f7551ffad91de8613f44dcb198b6 *tests/data/fate/acodec-pcm-alaw.out.wav
+stddev: 101.67 PSNR: 56.19 MAXDIFF: 515 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f32be b/tests/ref/fate/acodec-pcm-f32be
new file mode 100644
index 0000000000..5b0f4980d5
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f32be
@@ -0,0 +1,4 @@
+118ff3dc83c62ce9ce669eef57e55bb2 *tests/data/fate/acodec-pcm-f32be.au
+2116824 tests/data/fate/acodec-pcm-f32be.au
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f32le b/tests/ref/fate/acodec-pcm-f32le
new file mode 100644
index 0000000000..681f0836c8
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f32le
@@ -0,0 +1,4 @@
+653d82a64b7bd96ac193e105e9f92d4c *tests/data/fate/acodec-pcm-f32le.wav
+2116880 tests/data/fate/acodec-pcm-f32le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f64be b/tests/ref/fate/acodec-pcm-f64be
new file mode 100644
index 0000000000..dd882d38b8
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f64be
@@ -0,0 +1,4 @@
+8112296b1ed94f72f20d04b1a54850a7 *tests/data/fate/acodec-pcm-f64be.au
+4233624 tests/data/fate/acodec-pcm-f64be.au
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f64le b/tests/ref/fate/acodec-pcm-f64le
new file mode 100644
index 0000000000..c6cb027220
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f64le
@@ -0,0 +1,4 @@
+48b4cd378f47a50dc902aa03cc8280ed *tests/data/fate/acodec-pcm-f64le.wav
+4233680 tests/data/fate/acodec-pcm-f64le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-mulaw b/tests/ref/fate/acodec-pcm-mulaw
new file mode 100644
index 0000000000..bd2a1e81b5
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-mulaw
@@ -0,0 +1,4 @@
+fd10ee54bd298fc29fd6fc70baa71414 *tests/data/fate/acodec-pcm-mulaw.wav
+529258 tests/data/fate/acodec-pcm-mulaw.wav
+7ae8c3fc804bd574006fd547fe28980c *tests/data/fate/acodec-pcm-mulaw.out.wav
+stddev: 103.38 PSNR: 56.04 MAXDIFF: 644 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s16be b/tests/ref/fate/acodec-pcm-s16be
new file mode 100644
index 0000000000..00285b8bfd
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16be
@@ -0,0 +1,4 @@
+a874f5c08b8d104a6bbf41b21454180d *tests/data/fate/acodec-pcm-s16be.mov
+1059045 tests/data/fate/acodec-pcm-s16be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s16le b/tests/ref/fate/acodec-pcm-s16le
new file mode 100644
index 0000000000..51366ad0d7
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16le
@@ -0,0 +1,4 @@
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.wav
+1058446 tests/data/fate/acodec-pcm-s16le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s24be b/tests/ref/fate/acodec-pcm-s24be
new file mode 100644
index 0000000000..894844a1c2
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s24be
@@ -0,0 +1,4 @@
+833d4afd907139af7106a5642a9c23d3 *tests/data/fate/acodec-pcm-s24be.mov
+1588245 tests/data/fate/acodec-pcm-s24be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s24le b/tests/ref/fate/acodec-pcm-s24le
new file mode 100644
index 0000000000..a7e77e2fc1
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s24le
@@ -0,0 +1,4 @@
+18ea73985dbdf59e23f5aba66145e6fe *tests/data/fate/acodec-pcm-s24le.wav
+1587668 tests/data/fate/acodec-pcm-s24le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s32be b/tests/ref/fate/acodec-pcm-s32be
new file mode 100644
index 0000000000..5360fc1038
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s32be
@@ -0,0 +1,4 @@
+c02c96e37b321f2c978968e3a102c669 *tests/data/fate/acodec-pcm-s32be.mov
+2117449 tests/data/fate/acodec-pcm-s32be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s32le b/tests/ref/fate/acodec-pcm-s32le
new file mode 100644
index 0000000000..1c3e412427
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s32le
@@ -0,0 +1,4 @@
+8d8849fa5c5d91b9cb74f5c74e937faf *tests/data/fate/acodec-pcm-s32le.wav
+2116868 tests/data/fate/acodec-pcm-s32le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s8 b/tests/ref/fate/acodec-pcm-s8
new file mode 100644
index 0000000000..e7c09f4430
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s8
@@ -0,0 +1,4 @@
+111d465266385298fde83005402ac171 *tests/data/fate/acodec-pcm-s8.mov
+529829 tests/data/fate/acodec-pcm-s8.mov
+651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-s8.out.wav
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u8 b/tests/ref/fate/acodec-pcm-u8
new file mode 100644
index 0000000000..80e70eab04
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u8
@@ -0,0 +1,4 @@
+70fecbae732f81143a560c7315eda49a *tests/data/fate/acodec-pcm-u8.wav
+529246 tests/data/fate/acodec-pcm-u8.wav
+651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-u8.out.wav
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-ra144 b/tests/ref/fate/acodec-ra144
new file mode 100644
index 0000000000..129b276c4d
--- /dev/null
+++ b/tests/ref/fate/acodec-ra144
@@ -0,0 +1,4 @@
+d6740bee5e20fa665e6c94298125b834 *tests/data/fate/acodec-ra144.rm
+53227 tests/data/fate/acodec-ra144.rm
+16d1a0d6cae06cf8a4db009d0fe7a952 *tests/data/fate/acodec-ra144.out.wav
+stddev: 5696.26 PSNR: 21.22 MAXDIFF:44956 bytes: 1058400/ 1058560
diff --git a/tests/ref/fate/acodec-roqaudio b/tests/ref/fate/acodec-roqaudio
new file mode 100644
index 0000000000..ec28668983
--- /dev/null
+++ b/tests/ref/fate/acodec-roqaudio
@@ -0,0 +1,4 @@
+c8ff13cf7ebece23af76502f5785202e *tests/data/fate/acodec-roqaudio.roq
+265992 tests/data/fate/acodec-roqaudio.roq
+709fd60aea880c73b375094ab5307c77 *tests/data/fate/acodec-roqaudio.out.wav
+stddev: 4610.71 PSNR: 23.05 MAXDIFF:43883 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/vsynth1-amv b/tests/ref/fate/vsynth1-amv
new file mode 100644
index 0000000000..a2d114169e
--- /dev/null
+++ b/tests/ref/fate/vsynth1-amv
@@ -0,0 +1,4 @@
+539c26ba470de4d72279855fcf61f5a2 *tests/data/fate/vsynth1-amv.avi
+1365534 tests/data/fate/vsynth1-amv.avi
+cd45dca00f94927bb36ade2ea7d1f77e *tests/data/fate/vsynth1-amv.out.rawvideo
+stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-asv1 b/tests/ref/fate/vsynth1-asv1
new file mode 100644
index 0000000000..768729e05b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-asv1
@@ -0,0 +1,4 @@
+b4ce4698764ef2328346badb7227ecbe *tests/data/fate/vsynth1-asv1.avi
+1489656 tests/data/fate/vsynth1-asv1.avi
+2dfc5dfc2c1cbbc2543257cd3d2df6af *tests/data/fate/vsynth1-asv1.out.rawvideo
+stddev: 20.00 PSNR: 22.11 MAXDIFF: 158 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-asv2 b/tests/ref/fate/vsynth1-asv2
new file mode 100644
index 0000000000..38c6cefe24
--- /dev/null
+++ b/tests/ref/fate/vsynth1-asv2
@@ -0,0 +1,4 @@
+dfba6eaf58e515e324c2b370bfcd9158 *tests/data/fate/vsynth1-asv2.avi
+1456056 tests/data/fate/vsynth1-asv2.avi
+d451be09793cd0f35b6d91fc36e2571a *tests/data/fate/vsynth1-asv2.out.rawvideo
+stddev: 18.82 PSNR: 22.63 MAXDIFF: 131 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-avui b/tests/ref/fate/vsynth1-avui
new file mode 100644
index 0000000000..810c694813
--- /dev/null
+++ b/tests/ref/fate/vsynth1-avui
@@ -0,0 +1,4 @@
+6eaf08e0e02bccb135b934c5036eac25 *tests/data/fate/vsynth1-avui.mov
+42624903 tests/data/fate/vsynth1-avui.mov
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-avui.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-cljr b/tests/ref/fate/vsynth1-cljr
new file mode 100644
index 0000000000..77d73b210f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-cljr
@@ -0,0 +1,4 @@
+041982e4fa83428c621a127647d47b3f *tests/data/fate/vsynth1-cljr.avi
+5075660 tests/data/fate/vsynth1-cljr.avi
+7bd979b8b397f7bac22a0102c7889452 *tests/data/fate/vsynth1-cljr.out.rawvideo
+stddev: 6.74 PSNR: 31.55 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dnxhd-1080i b/tests/ref/fate/vsynth1-dnxhd-1080i
new file mode 100644
index 0000000000..3a9fd6667f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-1080i
@@ -0,0 +1,4 @@
+027c985483caab9397592bf27477dce1 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
+0c651e840f860592f0d5b66030d9fa32 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
+stddev: 6.29 PSNR: 32.15 MAXDIFF: 64 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p b/tests/ref/fate/vsynth1-dnxhd-720p
new file mode 100644
index 0000000000..94c28ed2fc
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p
@@ -0,0 +1,4 @@
+81f5be451dc18cf8a1d333c7885de60b *tests/data/fate/vsynth1-dnxhd-720p.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p.dnxhd
+94b21e5e68ccf9471eff74afd0ebe319 *tests/data/fate/vsynth1-dnxhd-720p.out.rawvideo
+stddev: 6.32 PSNR: 32.11 MAXDIFF: 183 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-10bit b/tests/ref/fate/vsynth1-dnxhd-720p-10bit
new file mode 100644
index 0000000000..a667b9d144
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p-10bit
@@ -0,0 +1,4 @@
+b5e24a055af02edec8674333260214fd *tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd
+4466ff3d73d01bbe75ea25001d379b63 *tests/data/fate/vsynth1-dnxhd-720p-10bit.out.rawvideo
+stddev: 6.27 PSNR: 32.18 MAXDIFF: 64 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-rd b/tests/ref/fate/vsynth1-dnxhd-720p-rd
new file mode 100644
index 0000000000..1de576a870
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p-rd
@@ -0,0 +1,4 @@
+1dc6e95925c4f3a230848ec17c02abed *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+02972d2aec120ec1577ec9053d68ae0f *tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
+stddev: 6.26 PSNR: 32.19 MAXDIFF: 65 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd_1080i b/tests/ref/fate/vsynth1-dnxhd_1080i
new file mode 100644
index 0000000000..f8f6df09bf
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd_1080i
@@ -0,0 +1,4 @@
+027c985483caab9397592bf27477dce1 *./tests/data/vsynth1/dnxhd-1080i.mov
+3031911 ./tests/data/vsynth1/dnxhd-1080i.mov
+0c651e840f860592f0d5b66030d9fa32 *./tests/data/dnxhd_1080i.vsynth1.out.yuv
+stddev: 6.29 PSNR: 32.15 MAXDIFF: 64 bytes: 760320/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv b/tests/ref/fate/vsynth1-dv
new file mode 100644
index 0000000000..d051e8d810
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv
@@ -0,0 +1,4 @@
+4d572f758b55a1756adf9f54132f3b9e *tests/data/fate/vsynth1-dv.dv
+7200000 tests/data/fate/vsynth1-dv.dv
+02ac7cdeab91d4d5621e7ce96dddc498 *tests/data/fate/vsynth1-dv.out.rawvideo
+stddev: 6.90 PSNR: 31.34 MAXDIFF: 76 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv-411 b/tests/ref/fate/vsynth1-dv-411
new file mode 100644
index 0000000000..bc4b8026a4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv-411
@@ -0,0 +1,4 @@
+f179899efba432c6f01149c36c709092 *tests/data/fate/vsynth1-dv-411.dv
+7200000 tests/data/fate/vsynth1-dv-411.dv
+53946d51762b7826773e681fb02f377b *tests/data/fate/vsynth1-dv-411.out.rawvideo
+stddev: 9.45 PSNR: 28.62 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv-50 b/tests/ref/fate/vsynth1-dv-50
new file mode 100644
index 0000000000..e747075b22
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv-50
@@ -0,0 +1,4 @@
+a193c5f92bf6e74c604e759d5f4f0f94 *tests/data/fate/vsynth1-dv-50.dv
+14400000 tests/data/fate/vsynth1-dv-50.dv
+a2ff093e93ffed10f730fa21df02fc50 *tests/data/fate/vsynth1-dv-50.out.rawvideo
+stddev: 1.72 PSNR: 43.38 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv_411 b/tests/ref/fate/vsynth1-dv_411
new file mode 100644
index 0000000000..c45b593c02
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv_411
@@ -0,0 +1,4 @@
+f179899efba432c6f01149c36c709092 *./tests/data/vsynth1/dv411.dv
+7200000 ./tests/data/vsynth1/dv411.dv
+b6640a3a572353f51284acb746eb00c4 *./tests/data/dv_411.vsynth1.out.yuv
+stddev: 30.76 PSNR: 18.37 MAXDIFF: 205 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-ffv1 b/tests/ref/fate/vsynth1-ffv1
new file mode 100644
index 0000000000..ab1a58280b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ffv1
@@ -0,0 +1,4 @@
+67ddc7edde5cca49290245d881787890 *tests/data/fate/vsynth1-ffv1.avi
+2655376 tests/data/fate/vsynth1-ffv1.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffv1.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-ffvhuff b/tests/ref/fate/vsynth1-ffvhuff
new file mode 100644
index 0000000000..fc44dffa2b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ffvhuff
@@ -0,0 +1,4 @@
+0632ffae6f1e06dd299bf41a845b9099 *tests/data/fate/vsynth1-ffvhuff.avi
+5987208 tests/data/fate/vsynth1-ffvhuff.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffvhuff.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flashsv b/tests/ref/fate/vsynth1-flashsv
new file mode 100644
index 0000000000..8b2783032b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flashsv
@@ -0,0 +1,4 @@
+97894502b4cb57aca1105b6333f72dae *tests/data/fate/vsynth1-flashsv.flv
+14681925 tests/data/fate/vsynth1-flashsv.flv
+791e1fb999deb2e4156e2286d48c4ed1 *tests/data/fate/vsynth1-flashsv.out.rawvideo
+stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flashsv2 b/tests/ref/fate/vsynth1-flashsv2
new file mode 100644
index 0000000000..d21d63f2d6
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flashsv2
@@ -0,0 +1,4 @@
+8d105780bb79915bc36f96f7a754f289 *tests/data/fate/vsynth1-flashsv2.flv
+9371095 tests/data/fate/vsynth1-flashsv2.flv
+efa88d09115a2e947eff00ee435ba3f3 *tests/data/fate/vsynth1-flashsv2.out.rawvideo
+stddev: 3.47 PSNR: 37.31 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flv b/tests/ref/fate/vsynth1-flv
new file mode 100644
index 0000000000..4b57bdfb5f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flv
@@ -0,0 +1,4 @@
+d6a80659cedee7698aefe9c4a8285fa4 *tests/data/fate/vsynth1-flv.flv
+636269 tests/data/fate/vsynth1-flv.flv
+5ab46d8dd01dbb1d63df2a84858a4b05 *tests/data/fate/vsynth1-flv.out.rawvideo
+stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h261 b/tests/ref/fate/vsynth1-h261
new file mode 100644
index 0000000000..be7f80a4a3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h261
@@ -0,0 +1,4 @@
+d155470b713aeebacb85980b0d5f2ce3 *tests/data/fate/vsynth1-h261.avi
+707588 tests/data/fate/vsynth1-h261.avi
+716e83cb51afb1246bfaa80967df48ea *tests/data/fate/vsynth1-h261.out.rawvideo
+stddev: 9.11 PSNR: 28.93 MAXDIFF: 113 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h263 b/tests/ref/fate/vsynth1-h263
new file mode 100644
index 0000000000..5d5d28adf0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h263
@@ -0,0 +1,4 @@
+fb4dc9b9eac2628c56cb82cf332e1f58 *tests/data/fate/vsynth1-h263.avi
+659686 tests/data/fate/vsynth1-h263.avi
+1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-h263.out.rawvideo
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h263p b/tests/ref/fate/vsynth1-h263p
new file mode 100644
index 0000000000..9161a1d5cd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h263p
@@ -0,0 +1,4 @@
+bbcadeceba295e1dad148aea1e57c370 *tests/data/fate/vsynth1-h263p.avi
+2328348 tests/data/fate/vsynth1-h263p.avi
+9554cda00c3487ab3ffda2c3ea22fa2f *tests/data/fate/vsynth1-h263p.out.rawvideo
+stddev: 2.06 PSNR: 41.83 MAXDIFF: 20 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-huffyuv b/tests/ref/fate/vsynth1-huffyuv
new file mode 100644
index 0000000000..3d55c6b3fb
--- /dev/null
+++ b/tests/ref/fate/vsynth1-huffyuv
@@ -0,0 +1,4 @@
+f5f2e109af0612694ff3cd6464063e82 *tests/data/fate/vsynth1-huffyuv.avi
+7933800 tests/data/fate/vsynth1-huffyuv.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-huffyuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-j2k b/tests/ref/fate/vsynth1-j2k
new file mode 100644
index 0000000000..e434db82a1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-j2k
@@ -0,0 +1,4 @@
+8da8ef50cccb9996f4bebbc585c4edb4 *tests/data/fate/vsynth1-j2k.avi
+2306914 tests/data/fate/vsynth1-j2k.avi
+ee9b245b3b07eed90bc6f2147bbd916c *tests/data/fate/vsynth1-j2k.out.rawvideo
+stddev: 5.47 PSNR: 33.37 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-jpegls b/tests/ref/fate/vsynth1-jpegls
new file mode 100644
index 0000000000..de4f1095b0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-jpegls
@@ -0,0 +1,4 @@
+870dceeb6d3931dd68b34f0c33be5d26 *tests/data/fate/vsynth1-jpegls.avi
+9089812 tests/data/fate/vsynth1-jpegls.avi
+791e1fb999deb2e4156e2286d48c4ed1 *tests/data/fate/vsynth1-jpegls.out.rawvideo
+stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-ljpeg b/tests/ref/fate/vsynth1-ljpeg
new file mode 100644
index 0000000000..4f9566740f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ljpeg
@@ -0,0 +1,4 @@
+9092f306f165b98ab0bb4f576f198ad5 *tests/data/fate/vsynth1-ljpeg.avi
+6312936 tests/data/fate/vsynth1-ljpeg.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ljpeg.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mjpeg b/tests/ref/fate/vsynth1-mjpeg
new file mode 100644
index 0000000000..e32f452e5d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mjpeg
@@ -0,0 +1,4 @@
+8bbf9513b1822945539f27a6eff3c7fa *tests/data/fate/vsynth1-mjpeg.avi
+1516140 tests/data/fate/vsynth1-mjpeg.avi
+c6ae81b5b896e4d05ff584311aebdb18 *tests/data/fate/vsynth1-mjpeg.out.rawvideo
+stddev: 7.87 PSNR: 30.21 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1 b/tests/ref/fate/vsynth1-mpeg1
new file mode 100644
index 0000000000..5f3d703d68
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg1
@@ -0,0 +1,4 @@
+1428744c6d5835f27506e69be4f837f4 *tests/data/fate/vsynth1-mpeg1.mpeg1video
+712006 tests/data/fate/vsynth1-mpeg1.mpeg1video
+58f0c332bf689117b57fa629a2bc0d2b *tests/data/fate/vsynth1-mpeg1.out.rawvideo
+stddev: 7.62 PSNR: 30.48 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1b b/tests/ref/fate/vsynth1-mpeg1b
new file mode 100644
index 0000000000..ddd9bef6c2
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg1b
@@ -0,0 +1,4 @@
+777639666b449ab0a7ef260511e40532 *tests/data/fate/vsynth1-mpeg1b.mpeg1video
+1030337 tests/data/fate/vsynth1-mpeg1b.mpeg1video
+91a7fce732b34748e7bf753ebabe2483 *tests/data/fate/vsynth1-mpeg1b.out.rawvideo
+stddev: 6.30 PSNR: 32.13 MAXDIFF: 75 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2 b/tests/ref/fate/vsynth1-mpeg2
new file mode 100644
index 0000000000..1ee3674abc
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2
@@ -0,0 +1,4 @@
+fbddea2368cd2028fc8db4dfd4682e94 *tests/data/fate/vsynth1-mpeg2.mpeg2video
+728044 tests/data/fate/vsynth1-mpeg2.mpeg2video
+b41ca49c1a02e66ce64d262e2cdaec15 *tests/data/fate/vsynth1-mpeg2.out.rawvideo
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-422 b/tests/ref/fate/vsynth1-mpeg2-422
new file mode 100644
index 0000000000..5948446899
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-422
@@ -0,0 +1,4 @@
+af0cb75451aaa807beb5102707a98823 *tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+728200 tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+eb7fe83ce09af2d79ec16577c9d44e3c *tests/data/fate/vsynth1-mpeg2-422.out.rawvideo
+stddev: 10.29 PSNR: 27.88 MAXDIFF: 168 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-idct-int b/tests/ref/fate/vsynth1-mpeg2-idct-int
new file mode 100644
index 0000000000..dd72d715b0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-idct-int
@@ -0,0 +1,4 @@
+4c067397b504d65532d7779cd36f3f88 *tests/data/fate/vsynth1-mpeg2-idct-int.mpeg2video
+725668 tests/data/fate/vsynth1-mpeg2-idct-int.mpeg2video
+8130f71a467315c9e7bd1a25a01dbb23 *tests/data/fate/vsynth1-mpeg2-idct-int.out.rawvideo
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ilace b/tests/ref/fate/vsynth1-mpeg2-ilace
new file mode 100644
index 0000000000..be08c3136b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-ilace
@@ -0,0 +1,4 @@
+ec3f6713c88a2b41f6c369fd64341077 *tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+737473 tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+97615390fdd69abfcbc7e02df863a7d2 *tests/data/fate/vsynth1-mpeg2-ilace.out.rawvideo
+stddev: 7.67 PSNR: 30.43 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
new file mode 100644
index 0000000000..5ef30cd360
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
@@ -0,0 +1,4 @@
+8f6b20714918e6443e0c03716ed06f0d *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+783552 tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+98eb9da15f880978e7f2ee1e7ce476ef *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.out.rawvideo
+stddev: 10.07 PSNR: 28.06 MAXDIFF: 165 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread b/tests/ref/fate/vsynth1-mpeg2-thread
new file mode 100644
index 0000000000..55a4fab343
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-thread
@@ -0,0 +1,4 @@
+ecd183706688bd977c9994c3d1b23d61 *tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+801313 tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread.out.rawvideo
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread-ivlc b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
new file mode 100644
index 0000000000..7d040526cd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
@@ -0,0 +1,4 @@
+23d600b026222253c2340e23300a4c02 *tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+791773 tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread-ivlc.out.rawvideo
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4 b/tests/ref/fate/vsynth1-mpeg4
new file mode 100644
index 0000000000..988c921236
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4
@@ -0,0 +1,4 @@
+6ea715a2de70af8d37128ce643e4cca0 *tests/data/fate/vsynth1-mpeg4.mp4
+539996 tests/data/fate/vsynth1-mpeg4.mp4
+8828a375448dc5c2215163ba70656f89 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adap b/tests/ref/fate/vsynth1-mpeg4-adap
new file mode 100644
index 0000000000..12cd15e6d1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-adap
@@ -0,0 +1,4 @@
+2d870c0da9ab2231ab5fc06981e70399 *tests/data/fate/vsynth1-mpeg4-adap.avi
+403456 tests/data/fate/vsynth1-mpeg4-adap.avi
+fa2049396479b5f170aa764fed5b2a31 *tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
+stddev: 14.05 PSNR: 25.17 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adv b/tests/ref/fate/vsynth1-mpeg4-adv
new file mode 100644
index 0000000000..e223d5f92d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-adv
@@ -0,0 +1,4 @@
+7d8eb01fd68d83d62a98585757704d47 *tests/data/fate/vsynth1-mpeg4-adv.avi
+589716 tests/data/fate/vsynth1-mpeg4-adv.avi
+f8b226876b1b2c0b98fd6928fd9adbd8 *tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
+stddev: 6.98 PSNR: 31.25 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-error b/tests/ref/fate/vsynth1-mpeg4-error
new file mode 100644
index 0000000000..74d5aaa710
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-error
@@ -0,0 +1,4 @@
+7416dfd319f04044d4575dc9d1b406e1 *tests/data/fate/vsynth1-mpeg4-error.avi
+756836 tests/data/fate/vsynth1-mpeg4-error.avi
+79e94ba32b37759397362cbcb479d4d3 *tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
+stddev: 18.36 PSNR: 22.85 MAXDIFF: 243 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-nr b/tests/ref/fate/vsynth1-mpeg4-nr
new file mode 100644
index 0000000000..a83f4fd1d3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-nr
@@ -0,0 +1,4 @@
+c02f54157ba08ca12ad979c6308212ad *tests/data/fate/vsynth1-mpeg4-nr.avi
+675638 tests/data/fate/vsynth1-mpeg4-nr.avi
+d2b89d5958fb7331f6c9e5b7ecaaa5b6 *tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
+stddev: 6.99 PSNR: 31.23 MAXDIFF: 86 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qpel b/tests/ref/fate/vsynth1-mpeg4-qpel
new file mode 100644
index 0000000000..254c3ee091
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-qpel
@@ -0,0 +1,4 @@
+3bf17c3d04f52988386ce106a2a58976 *tests/data/fate/vsynth1-mpeg4-qpel.avi
+860678 tests/data/fate/vsynth1-mpeg4-qpel.avi
+756928496245ecc701f79eebeec8e5e6 *tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
+stddev: 5.63 PSNR: 33.12 MAXDIFF: 70 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qprd b/tests/ref/fate/vsynth1-mpeg4-qprd
new file mode 100644
index 0000000000..1a61654608
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-qprd
@@ -0,0 +1,4 @@
+d6b7e724a6ad66ab5e4c5a499218b40d *tests/data/fate/vsynth1-mpeg4-qprd.avi
+710944 tests/data/fate/vsynth1-mpeg4-qprd.avi
+e65f4c7f343fe2bad1cac44b7da5f7c4 *tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
+stddev: 9.79 PSNR: 28.31 MAXDIFF: 176 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-rc b/tests/ref/fate/vsynth1-mpeg4-rc
new file mode 100644
index 0000000000..180df10800
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-rc
@@ -0,0 +1,4 @@
+1c6dadf75f60f4ba59a0fe0b6eaedf57 *tests/data/fate/vsynth1-mpeg4-rc.avi
+830160 tests/data/fate/vsynth1-mpeg4-rc.avi
+4d95e340db9bc57a559162c039f3784e *tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
+stddev: 10.24 PSNR: 27.92 MAXDIFF: 196 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-thread b/tests/ref/fate/vsynth1-mpeg4-thread
new file mode 100644
index 0000000000..66a5508c2b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-thread
@@ -0,0 +1,4 @@
+4f4ea04faad7212374919aa1ec7ff994 *tests/data/fate/vsynth1-mpeg4-thread.avi
+774760 tests/data/fate/vsynth1-mpeg4-thread.avi
+64b96cddf5301990e118978b3a3bcd0d *tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
+stddev: 10.13 PSNR: 28.02 MAXDIFF: 183 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpng b/tests/ref/fate/vsynth1-mpng
new file mode 100644
index 0000000000..875d81b4a6
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpng
@@ -0,0 +1,4 @@
+a8e7393fa534289eee9319ded7807f99 *tests/data/fate/vsynth1-mpng.avi
+12157242 tests/data/fate/vsynth1-mpng.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-mpng.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4 b/tests/ref/fate/vsynth1-msmpeg4
new file mode 100644
index 0000000000..55fb06d694
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msmpeg4
@@ -0,0 +1,4 @@
+4b08952b0afceb17ee3db31b67f6b778 *tests/data/fate/vsynth1-msmpeg4.avi
+624718 tests/data/fate/vsynth1-msmpeg4.avi
+5ca72c39e3fc5df8e62f223c869589f5 *tests/data/fate/vsynth1-msmpeg4.out.rawvideo
+stddev: 7.98 PSNR: 30.09 MAXDIFF: 104 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4v2 b/tests/ref/fate/vsynth1-msmpeg4v2
new file mode 100644
index 0000000000..839078a56d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msmpeg4v2
@@ -0,0 +1,4 @@
+88957e35efcc718bce0307627ad3298d *tests/data/fate/vsynth1-msmpeg4v2.avi
+623788 tests/data/fate/vsynth1-msmpeg4v2.avi
+c6ff1041a0ef62c2a2e5ef519e5e94c4 *tests/data/fate/vsynth1-msmpeg4v2.out.rawvideo
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msvideo1 b/tests/ref/fate/vsynth1-msvideo1
new file mode 100644
index 0000000000..9beb739afe
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msvideo1
@@ -0,0 +1,4 @@
+37aa67b5928794534cb6a268d4adf48c *tests/data/fate/vsynth1-msvideo1.avi
+2162264 tests/data/fate/vsynth1-msvideo1.avi
+c0665fac1bd896b6fe7fe0eead805bd5 *tests/data/fate/vsynth1-msvideo1.out.rawvideo
+stddev: 11.80 PSNR: 26.69 MAXDIFF: 151 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-prores b/tests/ref/fate/vsynth1-prores
new file mode 100644
index 0000000000..1df41d67b4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-prores
@@ -0,0 +1,4 @@
+31159cc9d1693bc66ad7a3083c48bcc4 *tests/data/fate/vsynth1-prores.mov
+5022811 tests/data/fate/vsynth1-prores.mov
+a2e2d1d45341a94ff994d1d92629f778 *tests/data/fate/vsynth1-prores.out.rawvideo
+stddev: 2.47 PSNR: 40.27 MAXDIFF: 31 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-prores_kostya b/tests/ref/fate/vsynth1-prores_kostya
new file mode 100644
index 0000000000..c9350e9135
--- /dev/null
+++ b/tests/ref/fate/vsynth1-prores_kostya
@@ -0,0 +1,4 @@
+f8fe98b7f9bb66857c81dbca409a9037 *tests/data/fate/vsynth1-prores_kostya.mov
+3858901 tests/data/fate/vsynth1-prores_kostya.mov
+0a4153637d0cc0a88a8bcbf04cfaf8c6 *tests/data/fate/vsynth1-prores_kostya.out.rawvideo
+stddev: 3.17 PSNR: 38.09 MAXDIFF: 39 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-qtrle b/tests/ref/fate/vsynth1-qtrle
new file mode 100644
index 0000000000..8c12699ea3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-qtrle
@@ -0,0 +1,4 @@
+9c6ee876369fceac1ff2478a0225bc9b *tests/data/fate/vsynth1-qtrle.mov
+15263148 tests/data/fate/vsynth1-qtrle.mov
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-qtrle.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-qtrlegray b/tests/ref/fate/vsynth1-qtrlegray
new file mode 100644
index 0000000000..3fe3e30378
--- /dev/null
+++ b/tests/ref/fate/vsynth1-qtrlegray
@@ -0,0 +1,4 @@
+dfb185e38b3557eca0ead72d57ca48f8 *tests/data/fate/vsynth1-qtrlegray.mov
+5113284 tests/data/fate/vsynth1-qtrlegray.mov
+29def4aed035ed65d3a89f7d382fccbe *tests/data/fate/vsynth1-qtrlegray.out.rawvideo
+stddev: 25.95 PSNR: 19.85 MAXDIFF: 122 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-r210 b/tests/ref/fate/vsynth1-r210
new file mode 100644
index 0000000000..68cdac8fb3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-r210
@@ -0,0 +1,4 @@
+604a34c9f9151891c2d63d2652b75329 *tests/data/fate/vsynth1-r210.avi
+22125260 tests/data/fate/vsynth1-r210.avi
+ecaafa9eec11b5e1453a63ed6d194eed *tests/data/fate/vsynth1-r210.out.rawvideo
+stddev: 3.23 PSNR: 37.94 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-rgb b/tests/ref/fate/vsynth1-rgb
new file mode 100644
index 0000000000..94e11e99b1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rgb
@@ -0,0 +1,4 @@
+05f0719cb52486d9a4beb9cfae3f2571 *tests/data/fate/vsynth1-rgb.avi
+15213260 tests/data/fate/vsynth1-rgb.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-rgb.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-roqvideo b/tests/ref/fate/vsynth1-roqvideo
new file mode 100644
index 0000000000..5adba69490
--- /dev/null
+++ b/tests/ref/fate/vsynth1-roqvideo
@@ -0,0 +1,4 @@
+cf8b7b0e539bab3169c234ca63d71dd8 *tests/data/fate/vsynth1-roqvideo.roq
+101671 tests/data/fate/vsynth1-roqvideo.roq
+0ad983c291b1ed373645c5b12a108c61 *tests/data/fate/vsynth1-roqvideo.out.rawvideo
+stddev: 7.74 PSNR: 30.35 MAXDIFF: 89 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-rv10 b/tests/ref/fate/vsynth1-rv10
new file mode 100644
index 0000000000..234015f46d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rv10
@@ -0,0 +1,4 @@
+4d7e82de72a83905cf84b8abc3e70b8f *tests/data/fate/vsynth1-rv10.rm
+653905 tests/data/fate/vsynth1-rv10.rm
+1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-rv10.out.rawvideo
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-rv20 b/tests/ref/fate/vsynth1-rv20
new file mode 100644
index 0000000000..abcc4a1f7a
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rv20
@@ -0,0 +1,4 @@
+81868601e602eee5b6d80f5ece4aaa98 *tests/data/fate/vsynth1-rv20.rm
+646016 tests/data/fate/vsynth1-rv20.rm
+b45fdb0201b06f7649f44050e262c54c *tests/data/fate/vsynth1-rv20.out.rawvideo
+stddev: 8.26 PSNR: 29.79 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-snow b/tests/ref/fate/vsynth1-snow
new file mode 100644
index 0000000000..0b47513158
--- /dev/null
+++ b/tests/ref/fate/vsynth1-snow
@@ -0,0 +1,4 @@
+d593b3c1a9729ce6dd1721f58fa93712 *tests/data/fate/vsynth1-snow.avi
+136088 tests/data/fate/vsynth1-snow.avi
+91021b7d6d7908648fe78cc1975af8c4 *tests/data/fate/vsynth1-snow.out.rawvideo
+stddev: 22.77 PSNR: 20.98 MAXDIFF: 172 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-snow-ll b/tests/ref/fate/vsynth1-snow-ll
new file mode 100644
index 0000000000..fdc5046fb4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-snow-ll
@@ -0,0 +1,4 @@
+6d29e8c06a645cdee45073c4f3d0004e *tests/data/fate/vsynth1-snow-ll.avi
+3419980 tests/data/fate/vsynth1-snow-ll.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-snow-ll.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-svq1 b/tests/ref/fate/vsynth1-svq1
new file mode 100644
index 0000000000..0c40dbd4b2
--- /dev/null
+++ b/tests/ref/fate/vsynth1-svq1
@@ -0,0 +1,4 @@
+4654e7af0d4aa58c3db1eb145e278038 *tests/data/fate/vsynth1-svq1.mov
+1334223 tests/data/fate/vsynth1-svq1.mov
+9cc35c54b2c77d36bd7e308b393c1f81 *tests/data/fate/vsynth1-svq1.out.rawvideo
+stddev: 9.58 PSNR: 28.50 MAXDIFF: 210 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v210 b/tests/ref/fate/vsynth1-v210
new file mode 100644
index 0000000000..5248676d05
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v210
@@ -0,0 +1,4 @@
+dd6c870a2a52c9e75ce61c3670e710e7 *tests/data/fate/vsynth1-v210.avi
+14752460 tests/data/fate/vsynth1-v210.avi
+50973792d3f1abe04a51ee0121f077f2 *tests/data/fate/vsynth1-v210.out.rawvideo
+stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v308 b/tests/ref/fate/vsynth1-v308
new file mode 100644
index 0000000000..137dcf9737
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v308
@@ -0,0 +1,4 @@
+8d5f2065ce6547acc51041a679b7d6c4 *tests/data/fate/vsynth1-v308.avi
+15213260 tests/data/fate/vsynth1-v308.avi
+10fb42f1abf40a289c3edafc0390482c *tests/data/fate/vsynth1-v308.out.rawvideo
+stddev: 2.67 PSNR: 39.60 MAXDIFF: 43 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v408 b/tests/ref/fate/vsynth1-v408
new file mode 100644
index 0000000000..c7f414cbd4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v408
@@ -0,0 +1,4 @@
+98057c4d5ce12a1b1b3ca15839f47c95 *tests/data/fate/vsynth1-v408.avi
+20282060 tests/data/fate/vsynth1-v408.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-v408.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-wmv1 b/tests/ref/fate/vsynth1-wmv1
new file mode 100644
index 0000000000..d487e4ef3f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-wmv1
@@ -0,0 +1,4 @@
+4f3461315776e5118866fa3819cff9b6 *tests/data/fate/vsynth1-wmv1.avi
+626908 tests/data/fate/vsynth1-wmv1.avi
+5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv1.out.rawvideo
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-wmv2 b/tests/ref/fate/vsynth1-wmv2
new file mode 100644
index 0000000000..14304dd6dd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-wmv2
@@ -0,0 +1,4 @@
+13efda9d3811345aadc0632fc9a9332b *tests/data/fate/vsynth1-wmv2.avi
+659852 tests/data/fate/vsynth1-wmv2.avi
+5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv2.out.rawvideo
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-y41p b/tests/ref/fate/vsynth1-y41p
new file mode 100644
index 0000000000..d2147f6f81
--- /dev/null
+++ b/tests/ref/fate/vsynth1-y41p
@@ -0,0 +1,4 @@
+70bbcb52acac0a3cb3217719669a8242 *tests/data/fate/vsynth1-y41p.avi
+7610060 tests/data/fate/vsynth1-y41p.avi
+3aef1d83732a3f9835ee2523a11c95c1 *tests/data/fate/vsynth1-y41p.out.rawvideo
+stddev: 5.98 PSNR: 32.59 MAXDIFF: 87 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-yuv b/tests/ref/fate/vsynth1-yuv
new file mode 100644
index 0000000000..5dc29aa255
--- /dev/null
+++ b/tests/ref/fate/vsynth1-yuv
@@ -0,0 +1,4 @@
+eaa66c3b27a2602e882befe154a8b119 *tests/data/fate/vsynth1-yuv.avi
+7610060 tests/data/fate/vsynth1-yuv.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-yuv4 b/tests/ref/fate/vsynth1-yuv4
new file mode 100644
index 0000000000..5b7b925736
--- /dev/null
+++ b/tests/ref/fate/vsynth1-yuv4
@@ -0,0 +1,4 @@
+e0d593eb635432f421b93224e425ee03 *tests/data/fate/vsynth1-yuv4.avi
+7610060 tests/data/fate/vsynth1-yuv4.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv4.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-zlib b/tests/ref/fate/vsynth1-zlib
new file mode 100644
index 0000000000..068f15448a
--- /dev/null
+++ b/tests/ref/fate/vsynth1-zlib
@@ -0,0 +1,4 @@
+fe4983e551b48dc555e1aeaf628f649f *tests/data/fate/vsynth1-zlib.avi
+12108644 tests/data/fate/vsynth1-zlib.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-zlib.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-zmbv b/tests/ref/fate/vsynth1-zmbv
new file mode 100644
index 0000000000..c608c4bb36
--- /dev/null
+++ b/tests/ref/fate/vsynth1-zmbv
@@ -0,0 +1,4 @@
+09bae55394f86ddb9e5c3254b174f865 *tests/data/fate/vsynth1-zmbv.avi
+2285442 tests/data/fate/vsynth1-zmbv.avi
+4ad1ca9de7c65eab68a619c54fffaec8 *tests/data/fate/vsynth1-zmbv.out.rawvideo
+stddev: 8.61 PSNR: 29.43 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-amv b/tests/ref/fate/vsynth2-amv
new file mode 100644
index 0000000000..fa0672d654
--- /dev/null
+++ b/tests/ref/fate/vsynth2-amv
@@ -0,0 +1,4 @@
+816a4226fe7640a835139f8a44286a12 *tests/data/fate/vsynth2-amv.avi
+761976 tests/data/fate/vsynth2-amv.avi
+4f8991a2b25c90f44b18c4b83eb0090d *tests/data/fate/vsynth2-amv.out.rawvideo
+stddev: 4.30 PSNR: 35.46 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-asv1 b/tests/ref/fate/vsynth2-asv1
new file mode 100644
index 0000000000..702244e5f8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-asv1
@@ -0,0 +1,4 @@
+4eb34d2de25f67a2706456e999338fe9 *tests/data/fate/vsynth2-asv1.avi
+832512 tests/data/fate/vsynth2-asv1.avi
+c96ff7fd17c52f99ddb7922a4cb9168f *tests/data/fate/vsynth2-asv1.out.rawvideo
+stddev: 10.47 PSNR: 27.73 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-asv2 b/tests/ref/fate/vsynth2-asv2
new file mode 100644
index 0000000000..8f6f617e9b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-asv2
@@ -0,0 +1,4 @@
+9649a4b68fb1107bad13e8a7574cc72d *tests/data/fate/vsynth2-asv2.avi
+789072 tests/data/fate/vsynth2-asv2.avi
+74a78015b64b2cf8cb9da2e44f508a69 *tests/data/fate/vsynth2-asv2.out.rawvideo
+stddev: 10.28 PSNR: 27.89 MAXDIFF: 95 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-avui b/tests/ref/fate/vsynth2-avui
new file mode 100644
index 0000000000..f24023cc31
--- /dev/null
+++ b/tests/ref/fate/vsynth2-avui
@@ -0,0 +1,4 @@
+3f7c7bb5eba0006feb727badcad2b9bd *tests/data/fate/vsynth2-avui.mov
+42624903 tests/data/fate/vsynth2-avui.mov
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-avui.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-cljr b/tests/ref/fate/vsynth2-cljr
new file mode 100644
index 0000000000..ae131856ed
--- /dev/null
+++ b/tests/ref/fate/vsynth2-cljr
@@ -0,0 +1,4 @@
+fdc1926e0a599de94513f0a3472b598f *tests/data/fate/vsynth2-cljr.avi
+5075660 tests/data/fate/vsynth2-cljr.avi
+965c4a134144b30b24d6d138b03ddb8c *tests/data/fate/vsynth2-cljr.out.rawvideo
+stddev: 3.29 PSNR: 37.76 MAXDIFF: 23 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dnxhd-1080i b/tests/ref/fate/vsynth2-dnxhd-1080i
new file mode 100644
index 0000000000..ba5bc85add
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-1080i
@@ -0,0 +1,4 @@
+204e80f2e406ada90fca596ab2810b3e *tests/data/fate/vsynth2-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
+3c559af629ae0a8fb1a9a0e4b4da7733 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 23 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p b/tests/ref/fate/vsynth2-dnxhd-720p
new file mode 100644
index 0000000000..afc6fde333
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p
@@ -0,0 +1,4 @@
+58e07cc6ae0a2d36787044d0e82708a6 *tests/data/fate/vsynth2-dnxhd-720p.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p.dnxhd
+ab601eaafef74d80d3d20b780dddd836 *tests/data/fate/vsynth2-dnxhd-720p.out.rawvideo
+stddev: 1.36 PSNR: 45.45 MAXDIFF: 127 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-10bit b/tests/ref/fate/vsynth2-dnxhd-720p-10bit
new file mode 100644
index 0000000000..f087c133b1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p-10bit
@@ -0,0 +1,4 @@
+4b57da2c0c1280469ff3579f7151c227 *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd
+31a6aa8b8702e85fa3b48e73f035c4e4 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo
+stddev: 1.35 PSNR: 45.46 MAXDIFF: 23 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-rd b/tests/ref/fate/vsynth2-dnxhd-720p-rd
new file mode 100644
index 0000000000..c1b8f9630d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p-rd
@@ -0,0 +1,4 @@
+092ffb7b8cf3c11556bb05dbb8b476ac *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+33547ca318acff9448cba719cb99296d *tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
+stddev: 1.32 PSNR: 45.66 MAXDIFF: 22 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd_1080i b/tests/ref/fate/vsynth2-dnxhd_1080i
new file mode 100644
index 0000000000..81ecc5eb44
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd_1080i
@@ -0,0 +1,4 @@
+204e80f2e406ada90fca596ab2810b3e *./tests/data/vsynth2/dnxhd-1080i.mov
+3031911 ./tests/data/vsynth2/dnxhd-1080i.mov
+3c559af629ae0a8fb1a9a0e4b4da7733 *./tests/data/dnxhd_1080i.vsynth2.out.yuv
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 23 bytes: 760320/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv b/tests/ref/fate/vsynth2-dv
new file mode 100644
index 0000000000..0d1465cfc7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv
@@ -0,0 +1,4 @@
+85b8d55b0b68bb3fc2e90babb580f9b7 *tests/data/fate/vsynth2-dv.dv
+7200000 tests/data/fate/vsynth2-dv.dv
+7ec62bd3350a6848364669e6e1e4b9cc *tests/data/fate/vsynth2-dv.out.rawvideo
+stddev: 1.71 PSNR: 43.47 MAXDIFF: 33 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv-411 b/tests/ref/fate/vsynth2-dv-411
new file mode 100644
index 0000000000..d0e6d291ba
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv-411
@@ -0,0 +1,4 @@
+e428508f400327aeb96969c08fb9e1b5 *tests/data/fate/vsynth2-dv-411.dv
+7200000 tests/data/fate/vsynth2-dv-411.dv
+3cd4b85065d67bfb7fbab3bea4039711 *tests/data/fate/vsynth2-dv-411.out.rawvideo
+stddev: 2.89 PSNR: 38.91 MAXDIFF: 45 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv-50 b/tests/ref/fate/vsynth2-dv-50
new file mode 100644
index 0000000000..c5ac608aa2
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv-50
@@ -0,0 +1,4 @@
+0032a07167199e6f49e07fa7ed4d5f62 *tests/data/fate/vsynth2-dv-50.dv
+14400000 tests/data/fate/vsynth2-dv-50.dv
+af3f2dd5ab62c1a1d98b07d4aeb6852f *tests/data/fate/vsynth2-dv-50.out.rawvideo
+stddev: 0.82 PSNR: 49.82 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv_411 b/tests/ref/fate/vsynth2-dv_411
new file mode 100644
index 0000000000..708ac889f6
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv_411
@@ -0,0 +1,4 @@
+e428508f400327aeb96969c08fb9e1b5 *./tests/data/vsynth2/dv411.dv
+7200000 ./tests/data/vsynth2/dv411.dv
+7f9fa421028aabb11eaf4c6513a5a843 *./tests/data/dv_411.vsynth2.out.yuv
+stddev: 10.09 PSNR: 28.05 MAXDIFF: 60 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-ffv1 b/tests/ref/fate/vsynth2-ffv1
new file mode 100644
index 0000000000..0a6b1841dd
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ffv1
@@ -0,0 +1,4 @@
+d72b0960e162d4998b9acbabb07e99ab *tests/data/fate/vsynth2-ffv1.avi
+3525804 tests/data/fate/vsynth2-ffv1.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ffv1.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-ffvhuff b/tests/ref/fate/vsynth2-ffvhuff
new file mode 100644
index 0000000000..ac58147d91
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ffvhuff
@@ -0,0 +1,4 @@
+63926d8835dd5779dca0a4bc081ca8ae *tests/data/fate/vsynth2-ffvhuff.avi
+4988056 tests/data/fate/vsynth2-ffvhuff.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ffvhuff.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flashsv b/tests/ref/fate/vsynth2-flashsv
new file mode 100644
index 0000000000..e44fa8fc42
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flashsv
@@ -0,0 +1,4 @@
+0667077971e0cb63b5f49c580006e90e *tests/data/fate/vsynth2-flashsv.flv
+12368953 tests/data/fate/vsynth2-flashsv.flv
+3a984506f1ebfc9fb73b6814cab201cc *tests/data/fate/vsynth2-flashsv.out.rawvideo
+stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flashsv2 b/tests/ref/fate/vsynth2-flashsv2
new file mode 100644
index 0000000000..0ccfb9126f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flashsv2
@@ -0,0 +1,4 @@
+3f4a7454fa664896ac7532e3551c4071 *tests/data/fate/vsynth2-flashsv2.flv
+9293862 tests/data/fate/vsynth2-flashsv2.flv
+8f63e24049ba1789a7f8353c695a3d99 *tests/data/fate/vsynth2-flashsv2.out.rawvideo
+stddev: 2.39 PSNR: 40.55 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flv b/tests/ref/fate/vsynth2-flv
new file mode 100644
index 0000000000..6864a1ba40
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flv
@@ -0,0 +1,4 @@
+2edc92093d36506bcc0a5c0e17e86113 *tests/data/fate/vsynth2-flv.flv
+131360 tests/data/fate/vsynth2-flv.flv
+8999c8264fb0941561f64c4a736e9d88 *tests/data/fate/vsynth2-flv.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h261 b/tests/ref/fate/vsynth2-h261
new file mode 100644
index 0000000000..908e670ce2
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h261
@@ -0,0 +1,4 @@
+dfd005d4c9030a0dc889c828a6408b9c *tests/data/fate/vsynth2-h261.avi
+191086 tests/data/fate/vsynth2-h261.avi
+db7ceff174823b98834faa2320ca89ac *tests/data/fate/vsynth2-h261.out.rawvideo
+stddev: 6.37 PSNR: 32.03 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h263 b/tests/ref/fate/vsynth2-h263
new file mode 100644
index 0000000000..46169d7631
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h263
@@ -0,0 +1,4 @@
+9a368687ab34c48079f11a202839a6bc *tests/data/fate/vsynth2-h263.avi
+160106 tests/data/fate/vsynth2-h263.avi
+61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-h263.out.rawvideo
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h263p b/tests/ref/fate/vsynth2-h263p
new file mode 100644
index 0000000000..6e45957fa7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h263p
@@ -0,0 +1,4 @@
+c7644d40e9f40bbd98e5a978f9f94bb4 *tests/data/fate/vsynth2-h263p.avi
+868018 tests/data/fate/vsynth2-h263p.avi
+4b0ee791f280029dc03c528f76f195d4 *tests/data/fate/vsynth2-h263p.out.rawvideo
+stddev: 1.91 PSNR: 42.50 MAXDIFF: 19 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-huffyuv b/tests/ref/fate/vsynth2-huffyuv
new file mode 100644
index 0000000000..d94cbd6bc7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-huffyuv
@@ -0,0 +1,4 @@
+ed66182be0d515e8b6cb970ad63162da *tests/data/fate/vsynth2-huffyuv.avi
+6455232 tests/data/fate/vsynth2-huffyuv.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-huffyuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-j2k b/tests/ref/fate/vsynth2-j2k
new file mode 100644
index 0000000000..1ad4482be0
--- /dev/null
+++ b/tests/ref/fate/vsynth2-j2k
@@ -0,0 +1,4 @@
+b30dc1851c0fb37726d977ec1d5ad527 *tests/data/fate/vsynth2-j2k.avi
+1151156 tests/data/fate/vsynth2-j2k.avi
+ec5218eec33a021945c28c72093382a5 *tests/data/fate/vsynth2-j2k.out.rawvideo
+stddev: 4.54 PSNR: 34.99 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-jpegls b/tests/ref/fate/vsynth2-jpegls
new file mode 100644
index 0000000000..728d54fceb
--- /dev/null
+++ b/tests/ref/fate/vsynth2-jpegls
@@ -0,0 +1,4 @@
+8a94dc94b6df8bdde9a639246351d816 *tests/data/fate/vsynth2-jpegls.avi
+8334630 tests/data/fate/vsynth2-jpegls.avi
+3a984506f1ebfc9fb73b6814cab201cc *tests/data/fate/vsynth2-jpegls.out.rawvideo
+stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-ljpeg b/tests/ref/fate/vsynth2-ljpeg
new file mode 100644
index 0000000000..529b790be1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ljpeg
@@ -0,0 +1,4 @@
+554a4a6a5a9058c588f8bf2de405bc70 *tests/data/fate/vsynth2-ljpeg.avi
+4766914 tests/data/fate/vsynth2-ljpeg.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ljpeg.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mjpeg b/tests/ref/fate/vsynth2-mjpeg
new file mode 100644
index 0000000000..e7649fff6d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mjpeg
@@ -0,0 +1,4 @@
+89df32b46c977fb4cb140ec6c489dd76 *tests/data/fate/vsynth2-mjpeg.avi
+673224 tests/data/fate/vsynth2-mjpeg.avi
+a96a4e15ffcb13e44360df642d049496 *tests/data/fate/vsynth2-mjpeg.out.rawvideo
+stddev: 4.32 PSNR: 35.40 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1 b/tests/ref/fate/vsynth2-mpeg1
new file mode 100644
index 0000000000..a9759732fc
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg1
@@ -0,0 +1,4 @@
+73ca6f1deab02d1d67a0e8495c026a9e *tests/data/fate/vsynth2-mpeg1.mpeg1video
+192783 tests/data/fate/vsynth2-mpeg1.mpeg1video
+56147e94b12f08df7213e610e177823d *tests/data/fate/vsynth2-mpeg1.out.rawvideo
+stddev: 4.95 PSNR: 34.22 MAXDIFF: 57 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1b b/tests/ref/fate/vsynth2-mpeg1b
new file mode 100644
index 0000000000..4b92ac570a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg1b
@@ -0,0 +1,4 @@
+e026a2fef80c9679776d2b5c8be09338 *tests/data/fate/vsynth2-mpeg1b.mpeg1video
+225198 tests/data/fate/vsynth2-mpeg1b.mpeg1video
+1150495f4bd487486ee53326c42d0bb8 *tests/data/fate/vsynth2-mpeg1b.out.rawvideo
+stddev: 4.10 PSNR: 35.86 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2 b/tests/ref/fate/vsynth2-mpeg2
new file mode 100644
index 0000000000..a2a2ca6f9a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2
@@ -0,0 +1,4 @@
+2d55ce623a7be4e8136f80266e487678 *tests/data/fate/vsynth2-mpeg2.mpeg2video
+198667 tests/data/fate/vsynth2-mpeg2.mpeg2video
+b7cae8a1f751b821cddcbe4d5dbc518c *tests/data/fate/vsynth2-mpeg2.out.rawvideo
+stddev: 4.96 PSNR: 34.20 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-422 b/tests/ref/fate/vsynth2-mpeg2-422
new file mode 100644
index 0000000000..2405cf0c8e
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-422
@@ -0,0 +1,4 @@
+2c8e33c2d2efab86fc16a195f6877682 *tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+356124 tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+df6e54e2d8a4feb8382029286857ca6d *tests/data/fate/vsynth2-mpeg2-422.out.rawvideo
+stddev: 3.16 PSNR: 38.13 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-idct-int b/tests/ref/fate/vsynth2-mpeg2-idct-int
new file mode 100644
index 0000000000..83874b14d8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-idct-int
@@ -0,0 +1,4 @@
+f979bcca866e6e4cad5dc6cb06e56cfb *tests/data/fate/vsynth2-mpeg2-idct-int.mpeg2video
+198041 tests/data/fate/vsynth2-mpeg2-idct-int.mpeg2video
+92794e70e4a19a494f10efe353d9895d *tests/data/fate/vsynth2-mpeg2-idct-int.out.rawvideo
+stddev: 4.97 PSNR: 34.19 MAXDIFF: 58 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-ilace b/tests/ref/fate/vsynth2-mpeg2-ilace
new file mode 100644
index 0000000000..e488bc545b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-ilace
@@ -0,0 +1,4 @@
+f90197a8b6e62ae25f82625337f27240 *tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+204579 tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+ea5057b60146c06d40449cdfc686bf13 *tests/data/fate/vsynth2-mpeg2-ilace.out.rawvideo
+stddev: 4.98 PSNR: 34.18 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd b/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd
new file mode 100644
index 0000000000..30e129bafa
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd
@@ -0,0 +1,4 @@
+1ba5efeb53fab7b4b71edc96d86f6c91 *tests/data/fate/vsynth2-mpeg2-ivlc-qprd.mpeg2video
+244694 tests/data/fate/vsynth2-mpeg2-ivlc-qprd.mpeg2video
+b26e21599dee48a174bdbc40b2817e55 *tests/data/fate/vsynth2-mpeg2-ivlc-qprd.out.rawvideo
+stddev: 4.15 PSNR: 35.76 MAXDIFF: 74 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread b/tests/ref/fate/vsynth2-mpeg2-thread
new file mode 100644
index 0000000000..f43cdbc72d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-thread
@@ -0,0 +1,4 @@
+889c754a42d7689b228853e1ece6d345 *tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+179650 tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread.out.rawvideo
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread-ivlc b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
new file mode 100644
index 0000000000..2c42a21bab
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
@@ -0,0 +1,4 @@
+10b900e32809758857c596d56746e00e *tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+178801 tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread-ivlc.out.rawvideo
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4 b/tests/ref/fate/vsynth2-mpeg4
new file mode 100644
index 0000000000..9e81c17796
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4
@@ -0,0 +1,4 @@
+051ff85797971b9047723044eaec07be *tests/data/fate/vsynth2-mpeg4.mp4
+119649 tests/data/fate/vsynth2-mpeg4.mp4
+90a3577850239083a9042bef33c50e85 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
+stddev: 5.34 PSNR: 33.57 MAXDIFF: 83 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-adap b/tests/ref/fate/vsynth2-mpeg4-adap
new file mode 100644
index 0000000000..d2f3bd19fc
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-adap
@@ -0,0 +1,4 @@
+547e1849dcf910935ff6383ca49e5706 *tests/data/fate/vsynth2-mpeg4-adap.avi
+198510 tests/data/fate/vsynth2-mpeg4-adap.avi
+4affb83f6adc94f31024b4f9e0168945 *tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
+stddev: 3.75 PSNR: 36.65 MAXDIFF: 71 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-adv b/tests/ref/fate/vsynth2-mpeg4-adv
new file mode 100644
index 0000000000..6d7d507a4b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-adv
@@ -0,0 +1,4 @@
+dee7be19486a76d96c88d18eefba8f86 *tests/data/fate/vsynth2-mpeg4-adv.avi
+141546 tests/data/fate/vsynth2-mpeg4-adv.avi
+3f3a21e9db85a9c0f7022f557a5374c1 *tests/data/fate/vsynth2-mpeg4-adv.out.rawvideo
+stddev: 4.94 PSNR: 34.25 MAXDIFF: 69 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-error b/tests/ref/fate/vsynth2-mpeg4-error
new file mode 100644
index 0000000000..a3f4453704
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-error
@@ -0,0 +1,4 @@
+90e65096aa9ebafa3fe3f44a5a47cdc4 *tests/data/fate/vsynth2-mpeg4-error.avi
+176588 tests/data/fate/vsynth2-mpeg4-error.avi
+96baa9e4c24c837a3ba5abd8dd2cdd30 *tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
+stddev: 8.98 PSNR: 29.06 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-nr b/tests/ref/fate/vsynth2-mpeg4-nr
new file mode 100644
index 0000000000..752b504582
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-nr
@@ -0,0 +1,4 @@
+c41187c99588fb7229ad330b2f80d28b *tests/data/fate/vsynth2-mpeg4-nr.avi
+155044 tests/data/fate/vsynth2-mpeg4-nr.avi
+f7fc191308679f709405e62271f5c65f *tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
+stddev: 4.73 PSNR: 34.63 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qpel b/tests/ref/fate/vsynth2-mpeg4-qpel
new file mode 100644
index 0000000000..3cba30d01f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-qpel
@@ -0,0 +1,4 @@
+7680d2e7d34399dfdfb8a49cf1e10239 *tests/data/fate/vsynth2-mpeg4-qpel.avi
+163688 tests/data/fate/vsynth2-mpeg4-qpel.avi
+26dc7c78955fa678fbf150e236eb5627 *tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
+stddev: 3.97 PSNR: 36.14 MAXDIFF: 54 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qprd b/tests/ref/fate/vsynth2-mpeg4-qprd
new file mode 100644
index 0000000000..87f5e02097
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-qprd
@@ -0,0 +1,4 @@
+fd5ab0f55dbc959316e32923e86290df *tests/data/fate/vsynth2-mpeg4-qprd.avi
+231458 tests/data/fate/vsynth2-mpeg4-qprd.avi
+de8a883865e2dff7a51f66da6c48df48 *tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
+stddev: 3.71 PSNR: 36.72 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-rc b/tests/ref/fate/vsynth2-mpeg4-rc
new file mode 100644
index 0000000000..bdd897b007
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-rc
@@ -0,0 +1,4 @@
+c25ede9e268b834a09a63f5136cd1b95 *tests/data/fate/vsynth2-mpeg4-rc.avi
+226332 tests/data/fate/vsynth2-mpeg4-rc.avi
+2b34e606af895b62a250de98749a19b0 *tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
+stddev: 4.23 PSNR: 35.60 MAXDIFF: 85 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-thread b/tests/ref/fate/vsynth2-mpeg4-thread
new file mode 100644
index 0000000000..e0040090a8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-thread
@@ -0,0 +1,4 @@
+ba30d10ff70d46e7c5b7fa859ea1faa4 *tests/data/fate/vsynth2-mpeg4-thread.avi
+250140 tests/data/fate/vsynth2-mpeg4-thread.avi
+5355deb8c7609a3f1ff2173aab1dee70 *tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
+stddev: 3.69 PSNR: 36.78 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpng b/tests/ref/fate/vsynth2-mpng
new file mode 100644
index 0000000000..1a298f982d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpng
@@ -0,0 +1,4 @@
+198a3d67c56e1b5b12bdd3ffa67d8128 *tests/data/fate/vsynth2-mpng.avi
+12557288 tests/data/fate/vsynth2-mpng.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-mpng.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4 b/tests/ref/fate/vsynth2-msmpeg4
new file mode 100644
index 0000000000..c65a9af1c9
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msmpeg4
@@ -0,0 +1,4 @@
+26dee25a62a66daba4f38ac6bd8f4677 *tests/data/fate/vsynth2-msmpeg4.avi
+127680 tests/data/fate/vsynth2-msmpeg4.avi
+0e1c6e25c71c6a8fa8e506e3d97ca4c9 *tests/data/fate/vsynth2-msmpeg4.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 78 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4v2 b/tests/ref/fate/vsynth2-msmpeg4v2
new file mode 100644
index 0000000000..d2b63d8387
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msmpeg4v2
@@ -0,0 +1,4 @@
+c09815e40a9d260628e1ebad8b2b3774 *tests/data/fate/vsynth2-msmpeg4v2.avi
+129918 tests/data/fate/vsynth2-msmpeg4v2.avi
+8920194f8bf8f9cdd6c65b3df9e1a292 *tests/data/fate/vsynth2-msmpeg4v2.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msvideo1 b/tests/ref/fate/vsynth2-msvideo1
new file mode 100644
index 0000000000..8338ac4fb5
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msvideo1
@@ -0,0 +1,4 @@
+e70658b8b97eb4c7e63b2081c3a602de *tests/data/fate/vsynth2-msvideo1.avi
+1259308 tests/data/fate/vsynth2-msvideo1.avi
+cd83ffcbc73573044e3aead3094229e5 *tests/data/fate/vsynth2-msvideo1.out.rawvideo
+stddev: 7.42 PSNR: 30.72 MAXDIFF: 123 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-prores b/tests/ref/fate/vsynth2-prores
new file mode 100644
index 0000000000..5db45d9a13
--- /dev/null
+++ b/tests/ref/fate/vsynth2-prores
@@ -0,0 +1,4 @@
+0faf42c187120c61d64a5e0cea4fc92a *tests/data/fate/vsynth2-prores.mov
+2844066 tests/data/fate/vsynth2-prores.mov
+b5844025c0f4c7c37db702c3213db232 *tests/data/fate/vsynth2-prores.out.rawvideo
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 11 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-prores_kostya b/tests/ref/fate/vsynth2-prores_kostya
new file mode 100644
index 0000000000..68acf9cc01
--- /dev/null
+++ b/tests/ref/fate/vsynth2-prores_kostya
@@ -0,0 +1,4 @@
+26adb18726c08dde23bc4bee2eb591e2 *tests/data/fate/vsynth2-prores_kostya.mov
+3884586 tests/data/fate/vsynth2-prores_kostya.mov
+ca2f6c1162635dedfa468c90f1fdc0ef *tests/data/fate/vsynth2-prores_kostya.out.rawvideo
+stddev: 0.92 PSNR: 48.77 MAXDIFF: 10 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-qtrle b/tests/ref/fate/vsynth2-qtrle
new file mode 100644
index 0000000000..d3b045b068
--- /dev/null
+++ b/tests/ref/fate/vsynth2-qtrle
@@ -0,0 +1,4 @@
+6ac61c011e1811ebd045535b141351de *tests/data/fate/vsynth2-qtrle.mov
+14798335 tests/data/fate/vsynth2-qtrle.mov
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-qtrle.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-qtrlegray b/tests/ref/fate/vsynth2-qtrlegray
new file mode 100644
index 0000000000..1306f3e17a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-qtrlegray
@@ -0,0 +1,4 @@
+5a66c6d2b2db71eddbc50819483aa647 *tests/data/fate/vsynth2-qtrlegray.mov
+5111273 tests/data/fate/vsynth2-qtrlegray.mov
+f63b5ebdfdba750e547c25131b0a3fd1 *tests/data/fate/vsynth2-qtrlegray.out.rawvideo
+stddev: 19.42 PSNR: 22.36 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-r210 b/tests/ref/fate/vsynth2-r210
new file mode 100644
index 0000000000..610ba2c9d6
--- /dev/null
+++ b/tests/ref/fate/vsynth2-r210
@@ -0,0 +1,4 @@
+d7a6f298e6869a74c0988fc3b30d0351 *tests/data/fate/vsynth2-r210.avi
+22125260 tests/data/fate/vsynth2-r210.avi
+6ea4fcd93fc83defc8770e85b64b60bb *tests/data/fate/vsynth2-r210.out.rawvideo
+stddev: 0.70 PSNR: 51.12 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-rgb b/tests/ref/fate/vsynth2-rgb
new file mode 100644
index 0000000000..c89f46fa1f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rgb
@@ -0,0 +1,4 @@
+f2e9c419023c743bf99aa5b2e55ad233 *tests/data/fate/vsynth2-rgb.avi
+15213260 tests/data/fate/vsynth2-rgb.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-rgb.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-roqvideo b/tests/ref/fate/vsynth2-roqvideo
new file mode 100644
index 0000000000..d4c075a89d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-roqvideo
@@ -0,0 +1,4 @@
+b46f899b2363065c60f3782ba1f8b7bd *tests/data/fate/vsynth2-roqvideo.roq
+92786 tests/data/fate/vsynth2-roqvideo.roq
+e69fca960dd0911e9b8d589c13e11dc1 *tests/data/fate/vsynth2-roqvideo.out.rawvideo
+stddev: 3.81 PSNR: 36.49 MAXDIFF: 54 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-rv10 b/tests/ref/fate/vsynth2-rv10
new file mode 100644
index 0000000000..7afe4fca40
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rv10
@@ -0,0 +1,4 @@
+b1467b0e8d8cad730e36d1e8ab49d573 *tests/data/fate/vsynth2-rv10.rm
+154310 tests/data/fate/vsynth2-rv10.rm
+61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-rv10.out.rawvideo
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-rv20 b/tests/ref/fate/vsynth2-rv20
new file mode 100644
index 0000000000..a3440fa0cb
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rv20
@@ -0,0 +1,4 @@
+96acb098850b9bf309f89e48b08fe96f *tests/data/fate/vsynth2-rv20.rm
+153302 tests/data/fate/vsynth2-rv20.rm
+46f314e70d9bac2e7d82cfc230534977 *tests/data/fate/vsynth2-rv20.out.rawvideo
+stddev: 5.48 PSNR: 33.35 MAXDIFF: 81 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-snow b/tests/ref/fate/vsynth2-snow
new file mode 100644
index 0000000000..0e78f3245d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-snow
@@ -0,0 +1,4 @@
+af651d8ef0a66257ac8b2ef8b229f27b *tests/data/fate/vsynth2-snow.avi
+57700 tests/data/fate/vsynth2-snow.avi
+8890189af71a0dd3447c4e8424c9a76b *tests/data/fate/vsynth2-snow.out.rawvideo
+stddev: 10.47 PSNR: 27.72 MAXDIFF: 119 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-snow-ll b/tests/ref/fate/vsynth2-snow-ll
new file mode 100644
index 0000000000..2d33b083f1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-snow-ll
@@ -0,0 +1,4 @@
+a8fccf278bbb17d37a756ecf11672b09 *tests/data/fate/vsynth2-snow-ll.avi
+2721758 tests/data/fate/vsynth2-snow-ll.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-snow-ll.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-svq1 b/tests/ref/fate/vsynth2-svq1
new file mode 100644
index 0000000000..b2cd35f8b3
--- /dev/null
+++ b/tests/ref/fate/vsynth2-svq1
@@ -0,0 +1,4 @@
+320a7fbbaecc0989df054bf9678bfdf6 *tests/data/fate/vsynth2-svq1.mov
+766691 tests/data/fate/vsynth2-svq1.mov
+aa03471dac3f49455a33a2b19fda1098 *tests/data/fate/vsynth2-svq1.out.rawvideo
+stddev: 3.23 PSNR: 37.93 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v210 b/tests/ref/fate/vsynth2-v210
new file mode 100644
index 0000000000..407ad0e5a0
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v210
@@ -0,0 +1,4 @@
+db0579bd46e1ba133ff86c0f7cdd761f *tests/data/fate/vsynth2-v210.avi
+14752460 tests/data/fate/vsynth2-v210.avi
+a627fb50c8276200fd71383977d87ca3 *tests/data/fate/vsynth2-v210.out.rawvideo
+stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v308 b/tests/ref/fate/vsynth2-v308
new file mode 100644
index 0000000000..cd20214b69
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v308
@@ -0,0 +1,4 @@
+214671673e6c82bad8190d0329f01fdc *tests/data/fate/vsynth2-v308.avi
+15213260 tests/data/fate/vsynth2-v308.avi
+d43cb310c130c69214332d74f6ee5f9a *tests/data/fate/vsynth2-v308.out.rawvideo
+stddev: 0.41 PSNR: 55.80 MAXDIFF: 7 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v408 b/tests/ref/fate/vsynth2-v408
new file mode 100644
index 0000000000..8d12fc706a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v408
@@ -0,0 +1,4 @@
+033d112ec5a1a78882233d0b791e5ef7 *tests/data/fate/vsynth2-v408.avi
+20282060 tests/data/fate/vsynth2-v408.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-v408.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-wmv1 b/tests/ref/fate/vsynth2-wmv1
new file mode 100644
index 0000000000..4545d4247d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-wmv1
@@ -0,0 +1,4 @@
+1011e26e7d351c96d7bbfe106d831b69 *tests/data/fate/vsynth2-wmv1.avi
+129530 tests/data/fate/vsynth2-wmv1.avi
+81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv1.out.rawvideo
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-wmv2 b/tests/ref/fate/vsynth2-wmv2
new file mode 100644
index 0000000000..a7384ad853
--- /dev/null
+++ b/tests/ref/fate/vsynth2-wmv2
@@ -0,0 +1,4 @@
+1f6598e9776ed00aebdc44cc8d48cb7c *tests/data/fate/vsynth2-wmv2.avi
+129860 tests/data/fate/vsynth2-wmv2.avi
+81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv2.out.rawvideo
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-y41p b/tests/ref/fate/vsynth2-y41p
new file mode 100644
index 0000000000..b310e3bf66
--- /dev/null
+++ b/tests/ref/fate/vsynth2-y41p
@@ -0,0 +1,4 @@
+8e0139963e79180a0fc1c154e36cebe5 *tests/data/fate/vsynth2-y41p.avi
+7610060 tests/data/fate/vsynth2-y41p.avi
+d27a84ccdac09055724d122e03fea82a *tests/data/fate/vsynth2-y41p.out.rawvideo
+stddev: 1.07 PSNR: 47.54 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-yuv b/tests/ref/fate/vsynth2-yuv
new file mode 100644
index 0000000000..e5409b0d5b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-yuv
@@ -0,0 +1,4 @@
+3d5ee6d2023bc15bba898819e4977e46 *tests/data/fate/vsynth2-yuv.avi
+7610060 tests/data/fate/vsynth2-yuv.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-yuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-yuv4 b/tests/ref/fate/vsynth2-yuv4
new file mode 100644
index 0000000000..a5e9ee5a09
--- /dev/null
+++ b/tests/ref/fate/vsynth2-yuv4
@@ -0,0 +1,4 @@
+3d24f1d320c4ead1efbf3c952a902379 *tests/data/fate/vsynth2-yuv4.avi
+7610060 tests/data/fate/vsynth2-yuv4.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-yuv4.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-zlib b/tests/ref/fate/vsynth2-zlib
new file mode 100644
index 0000000000..d3295e3b0a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-zlib
@@ -0,0 +1,4 @@
+f4bfa774c853abe8f06a29596c1f16cb *tests/data/fate/vsynth2-zlib.avi
+12517188 tests/data/fate/vsynth2-zlib.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-zlib.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-zmbv b/tests/ref/fate/vsynth2-zmbv
new file mode 100644
index 0000000000..93e0b6ac29
--- /dev/null
+++ b/tests/ref/fate/vsynth2-zmbv
@@ -0,0 +1,4 @@
+e9cc761eb3fedc36ce5f97744196ed8b *tests/data/fate/vsynth2-zmbv.avi
+1808720 tests/data/fate/vsynth2-zmbv.avi
+ee68a5292fd0745834246b4ec0d85e9b *tests/data/fate/vsynth2-zmbv.out.rawvideo
+stddev: 8.12 PSNR: 29.94 MAXDIFF: 32 bytes: 7603200/ 7603200