summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ref/acodec/adpcm_ima_qt2
-rw-r--r--tests/ref/acodec/adpcm_ima_wav2
-rw-r--r--tests/ref/acodec/adpcm_ms2
-rw-r--r--tests/ref/acodec/adpcm_swf2
-rw-r--r--tests/ref/acodec/adpcm_yam2
-rw-r--r--tests/ref/acodec/alac2
-rw-r--r--tests/ref/acodec/flac2
-rw-r--r--tests/ref/acodec/g7262
-rw-r--r--tests/ref/acodec/mp24
-rw-r--r--tests/ref/acodec/pcm36
-rw-r--r--tests/ref/acodec/wmav14
-rw-r--r--tests/ref/acodec/wmav24
-rw-r--r--tests/ref/vsynth1/asv12
-rw-r--r--tests/ref/vsynth1/asv22
-rw-r--r--tests/ref/vsynth1/dnxhd_1080i2
-rw-r--r--tests/ref/vsynth1/dnxhd_720p2
-rw-r--r--tests/ref/vsynth1/dnxhd_720p_rd2
-rw-r--r--tests/ref/vsynth1/dv4
-rw-r--r--tests/ref/vsynth1/dv502
-rw-r--r--tests/ref/vsynth1/error2
-rw-r--r--tests/ref/vsynth1/ffv12
-rw-r--r--tests/ref/vsynth1/flashsv2
-rw-r--r--tests/ref/vsynth1/flv2
-rw-r--r--tests/ref/vsynth1/h2612
-rw-r--r--tests/ref/vsynth1/h2632
-rw-r--r--tests/ref/vsynth1/h263p2
-rw-r--r--tests/ref/vsynth1/huffyuv2
-rw-r--r--tests/ref/vsynth1/jpegls2
-rw-r--r--tests/ref/vsynth1/ljpeg2
-rw-r--r--tests/ref/vsynth1/mjpeg2
-rw-r--r--tests/ref/vsynth1/mpeg2
-rw-r--r--tests/ref/vsynth1/mpeg1b2
-rw-r--r--tests/ref/vsynth1/mpeg210
-rw-r--r--tests/ref/vsynth1/mpeg2thread6
-rw-r--r--tests/ref/vsynth1/mpeg42
-rw-r--r--tests/ref/vsynth1/mpeg4adv8
-rw-r--r--tests/ref/vsynth1/mpeg4nr2
-rw-r--r--tests/ref/vsynth1/mpeg4thread2
-rw-r--r--tests/ref/vsynth1/msmpeg42
-rw-r--r--tests/ref/vsynth1/msmpeg4v22
-rw-r--r--tests/ref/vsynth1/rc2
-rw-r--r--tests/ref/vsynth1/rgb2
-rw-r--r--tests/ref/vsynth1/roq2
-rw-r--r--tests/ref/vsynth1/rv102
-rw-r--r--tests/ref/vsynth1/rv202
-rw-r--r--tests/ref/vsynth1/snow2
-rw-r--r--tests/ref/vsynth1/snowll2
-rw-r--r--tests/ref/vsynth1/svq12
-rw-r--r--tests/ref/vsynth1/wmv12
-rw-r--r--tests/ref/vsynth1/wmv22
-rw-r--r--tests/ref/vsynth1/yuv2
-rw-r--r--tests/ref/vsynth2/asv12
-rw-r--r--tests/ref/vsynth2/asv22
-rw-r--r--tests/ref/vsynth2/dnxhd_1080i2
-rw-r--r--tests/ref/vsynth2/dnxhd_720p2
-rw-r--r--tests/ref/vsynth2/dnxhd_720p_rd2
-rw-r--r--tests/ref/vsynth2/dv4
-rw-r--r--tests/ref/vsynth2/dv502
-rw-r--r--tests/ref/vsynth2/error2
-rw-r--r--tests/ref/vsynth2/ffv12
-rw-r--r--tests/ref/vsynth2/flashsv2
-rw-r--r--tests/ref/vsynth2/flv2
-rw-r--r--tests/ref/vsynth2/h2612
-rw-r--r--tests/ref/vsynth2/h2632
-rw-r--r--tests/ref/vsynth2/h263p2
-rw-r--r--tests/ref/vsynth2/huffyuv2
-rw-r--r--tests/ref/vsynth2/jpegls2
-rw-r--r--tests/ref/vsynth2/ljpeg2
-rw-r--r--tests/ref/vsynth2/mjpeg2
-rw-r--r--tests/ref/vsynth2/mpeg2
-rw-r--r--tests/ref/vsynth2/mpeg1b2
-rw-r--r--tests/ref/vsynth2/mpeg210
-rw-r--r--tests/ref/vsynth2/mpeg2thread6
-rw-r--r--tests/ref/vsynth2/mpeg42
-rw-r--r--tests/ref/vsynth2/mpeg4adv8
-rw-r--r--tests/ref/vsynth2/mpeg4nr2
-rw-r--r--tests/ref/vsynth2/mpeg4thread2
-rw-r--r--tests/ref/vsynth2/msmpeg42
-rw-r--r--tests/ref/vsynth2/msmpeg4v22
-rw-r--r--tests/ref/vsynth2/rc2
-rw-r--r--tests/ref/vsynth2/rgb2
-rw-r--r--tests/ref/vsynth2/roq2
-rw-r--r--tests/ref/vsynth2/rv102
-rw-r--r--tests/ref/vsynth2/rv202
-rw-r--r--tests/ref/vsynth2/snow2
-rw-r--r--tests/ref/vsynth2/snowll2
-rw-r--r--tests/ref/vsynth2/svq12
-rw-r--r--tests/ref/vsynth2/wmv12
-rw-r--r--tests/ref/vsynth2/wmv22
-rw-r--r--tests/ref/vsynth2/yuv2
-rw-r--r--tests/tiny_psnr.c7
91 files changed, 136 insertions, 131 deletions
diff --git a/tests/ref/acodec/adpcm_ima_qt b/tests/ref/acodec/adpcm_ima_qt
index 4fef154823..f096e07b68 100644
--- a/tests/ref/acodec/adpcm_ima_qt
+++ b/tests/ref/acodec/adpcm_ima_qt
@@ -1,4 +1,4 @@
3c06fd2f7831e3e8735b936e23ca220c *./tests/data/acodec/adpcm_qt.aiff
281252 ./tests/data/acodec/adpcm_qt.aiff
9580492803ba1c1a3746367b24b751c8 *./tests/data/adpcm_ima_qt.acodec.out.wav
-stddev: 914.63 PSNR: 37.10 bytes: 1058604/ 1058444
+stddev: 914.63 PSNR: 37.10 MAXDIFF:34026 bytes: 1058604/ 1058444
diff --git a/tests/ref/acodec/adpcm_ima_wav b/tests/ref/acodec/adpcm_ima_wav
index a58c279881..9d4494bea0 100644
--- a/tests/ref/acodec/adpcm_ima_wav
+++ b/tests/ref/acodec/adpcm_ima_wav
@@ -1,4 +1,4 @@
56b75c3a6dacedcf2ce7b0586aa33594 *./tests/data/acodec/adpcm_ima.wav
267324 ./tests/data/acodec/adpcm_ima.wav
78a2af1c895792d0c221d127bdd48ece *./tests/data/adpcm_ima_wav.acodec.out.wav
-stddev: 903.51 PSNR: 37.21 bytes: 1061792/ 1058444
+stddev: 903.51 PSNR: 37.21 MAXDIFF:34026 bytes: 1061792/ 1058444
diff --git a/tests/ref/acodec/adpcm_ms b/tests/ref/acodec/adpcm_ms
index 99a7105fcb..1fdf053ed2 100644
--- a/tests/ref/acodec/adpcm_ms
+++ b/tests/ref/acodec/adpcm_ms
@@ -1,4 +1,4 @@
a407b87daeef5b25dfb6c5b3f519e9c1 *./tests/data/acodec/adpcm_ms.wav
268378 ./tests/data/acodec/adpcm_ms.wav
7be370f937c51e8a967e6a3d08d5156a *./tests/data/adpcm_ms.acodec.out.wav
-stddev: 1050.00 PSNR: 35.91 bytes: 1060620/ 1058444
+stddev: 1050.00 PSNR: 35.91 MAXDIFF:29806 bytes: 1060620/ 1058444
diff --git a/tests/ref/acodec/adpcm_swf b/tests/ref/acodec/adpcm_swf
index 59bf8f3a4b..8e0274cb77 100644
--- a/tests/ref/acodec/adpcm_swf
+++ b/tests/ref/acodec/adpcm_swf
@@ -1,4 +1,4 @@
42d4639866ed4d692eaf126228a4fa2a *./tests/data/acodec/adpcm_swf.flv
269166 ./tests/data/acodec/adpcm_swf.flv
628089745a7059ae4055c2515b6d668b *./tests/data/adpcm_swf.acodec.out.wav
-stddev: 933.65 PSNR: 36.93 bytes: 1065004/ 1058444
+stddev: 933.65 PSNR: 36.93 MAXDIFF:51119 bytes: 1065004/ 1058444
diff --git a/tests/ref/acodec/adpcm_yam b/tests/ref/acodec/adpcm_yam
index 9889dd90db..48e2174277 100644
--- a/tests/ref/acodec/adpcm_yam
+++ b/tests/ref/acodec/adpcm_yam
@@ -1,4 +1,4 @@
2546d72df736b5ffa1557e8c9c9ef788 *./tests/data/acodec/adpcm_yam.wav
266296 ./tests/data/acodec/adpcm_yam.wav
c80c847a53a0fee17a88fa889ec34a4e *./tests/data/adpcm_yam.acodec.out.wav
-stddev: 1247.64 PSNR: 34.41 bytes: 1065004/ 1058444
+stddev: 1247.64 PSNR: 34.41 MAXDIFF:39895 bytes: 1065004/ 1058444
diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac
index 143b1f3cd6..039cf14029 100644
--- a/tests/ref/acodec/alac
+++ b/tests/ref/acodec/alac
@@ -1,4 +1,4 @@
c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/acodec/alac.m4a
389386 ./tests/data/acodec/alac.m4a
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
diff --git a/tests/ref/acodec/flac b/tests/ref/acodec/flac
index b1e417426c..5214cc676c 100644
--- a/tests/ref/acodec/flac
+++ b/tests/ref/acodec/flac
@@ -1,4 +1,4 @@
151eef9097f944726968bec48649f00a *./tests/data/acodec/flac.flac
361582 ./tests/data/acodec/flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
diff --git a/tests/ref/acodec/g726 b/tests/ref/acodec/g726
index 02b9eea651..1d5475242b 100644
--- a/tests/ref/acodec/g726
+++ b/tests/ref/acodec/g726
@@ -1,4 +1,4 @@
5d8cce28f83dd33c3c7eaf43a5db5294 *./tests/data/acodec/g726.wav
24082 ./tests/data/acodec/g726.wav
4f1ba1af75dee64625a1c852e6cd01d3 *./tests/data/g726.acodec.out.wav
-stddev: 8506.46 PSNR: 17.73 bytes: 96148/ 1058444
+stddev: 8506.46 PSNR: 17.73 MAXDIFF:36208 bytes: 96148/ 1058444
diff --git a/tests/ref/acodec/mp2 b/tests/ref/acodec/mp2
index 0607caba1e..3b80e5476f 100644
--- a/tests/ref/acodec/mp2
+++ b/tests/ref/acodec/mp2
@@ -1,5 +1,5 @@
f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/acodec/mp2.mp2
96130 ./tests/data/acodec/mp2.mp2
74c7b6b15a001add199619fafe4059a1 *./tests/data/mp2.acodec.out.wav
-stddev: 9315.80 PSNR: 16.94 bytes: 1059884/ 1058444
-stddev: 4385.25 PSNR: 23.49 bytes: 1057960/ 1058444
+stddev: 9315.80 PSNR: 16.94 MAXDIFF:65388 bytes: 1059884/ 1058444
+stddev: 4385.25 PSNR: 23.49 MAXDIFF:52631 bytes: 1057960/ 1058444
diff --git a/tests/ref/acodec/pcm b/tests/ref/acodec/pcm
index 6f2c56e3ac..b37b05497d 100644
--- a/tests/ref/acodec/pcm
+++ b/tests/ref/acodec/pcm
@@ -1,72 +1,72 @@
89f5b8dd97e0dddbe59af0d44fd229f3 *./tests/data/acodec/pcm_alaw.wav
529256 ./tests/data/acodec/pcm_alaw.wav
0568b0b9a72e31559e150e7e09d301cd *./tests/data/pcm.acodec.out.wav
-stddev: 101.67 PSNR: 56.19 bytes: 1058444/ 1058444
+stddev: 101.67 PSNR: 56.19 MAXDIFF: 515 bytes: 1058444/ 1058444
f443a8eeb1647ec1eeb8370c939e52d4 *./tests/data/acodec/pcm_mulaw.wav
529256 ./tests/data/acodec/pcm_mulaw.wav
1c3eeaa8814ebd4916780dff80ed6dc5 *./tests/data/pcm.acodec.out.wav
-stddev: 103.38 PSNR: 56.04 bytes: 1058444/ 1058444
+stddev: 103.38 PSNR: 56.04 MAXDIFF: 644 bytes: 1058444/ 1058444
b7936d7170e0efefb379349d81aed360 *./tests/data/acodec/pcm_s8.mov
530837 ./tests/data/acodec/pcm_s8.mov
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.acodec.out.wav
-stddev: 147.89 PSNR: 52.93 bytes: 1058444/ 1058444
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058444/ 1058444
98cadb3502dbdc99e6e077c28b1a036c *./tests/data/acodec/pcm_u8.wav
529244 ./tests/data/acodec/pcm_u8.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.acodec.out.wav
-stddev: 147.89 PSNR: 52.93 bytes: 1058444/ 1058444
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058444/ 1058444
c42b9c04305455250366c84e17c1023f *./tests/data/acodec/pcm_s16be.mov
1060037 ./tests/data/acodec/pcm_s16be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/acodec/pcm_s16le.wav
1058444 ./tests/data/acodec/pcm_s16le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
352a6bcf51d0f3ca4bf27c423a3d4d14 *./tests/data/acodec/pcm_s16be.mkv
1060650 ./tests/data/acodec/pcm_s16be.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
2c089d83b2699c02c9358415e00a9707 *./tests/data/acodec/pcm_s16le.mkv
1060650 ./tests/data/acodec/pcm_s16le.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
07ffe7ffb78f3648b6524debdde5aec1 *./tests/data/acodec/pcm_s24be.mov
1589237 ./tests/data/acodec/pcm_s24be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
a85380fb79b0d4fff38e24ac1e34bb94 *./tests/data/acodec/pcm_s24le.wav
1587668 ./tests/data/acodec/pcm_s24le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
d7792f0343cd66fda8b50b569e2bcc48 *./tests/data/acodec/pcm_s32be.mov
2118437 ./tests/data/acodec/pcm_s32be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
da6ed80f4f40f0082577dea80827e014 *./tests/data/acodec/pcm_s32le.wav
2116868 ./tests/data/acodec/pcm_s32le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
118ff3dc83c62ce9ce669eef57e55bb2 *./tests/data/acodec/pcm_f32be.au
2116824 ./tests/data/acodec/pcm_f32be.au
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
46f44f86a18984a832206ab9e29a79f2 *./tests/data/acodec/pcm_f32le.wav
2116880 ./tests/data/acodec/pcm_f32le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
8112296b1ed94f72f20d04b1a54850a7 *./tests/data/acodec/pcm_f64be.au
4233624 ./tests/data/acodec/pcm_f64be.au
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
ba17c6d1a270e1333e981f239bf7eb45 *./tests/data/acodec/pcm_f64le.wav
4233680 ./tests/data/acodec/pcm_f64le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.acodec.out.wav
-stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058444/ 1058444
8c74234928ed425b1171211a89f67ead *./tests/data/acodec/pcm_zork.wav
529256 ./tests/data/acodec/pcm_zork.wav
864c8c866ac25642c29a13b122c70709 *./tests/data/pcm.acodec.out.wav
-stddev: 633.10 PSNR: 40.30 bytes: 1058444/ 1058444
+stddev: 633.10 PSNR: 40.30 MAXDIFF:32768 bytes: 1058444/ 1058444
8168a5c1343553ef027541830f2cb879 *./tests/data/acodec/pcm_s24daud.302
10368730 ./tests/data/acodec/pcm_s24daud.302
f552afadfdfcd6348a07095da6382de5 *./tests/data/pcm.acodec.out.wav
-stddev: 9415.16 PSNR: 16.85 bytes: 6911864/ 1058444
+stddev: 9415.16 PSNR: 16.85 MAXDIFF:51900 bytes: 6911864/ 1058444
diff --git a/tests/ref/acodec/wmav1 b/tests/ref/acodec/wmav1
index f1bb69c4f9..fcf4424144 100644
--- a/tests/ref/acodec/wmav1
+++ b/tests/ref/acodec/wmav1
@@ -1,4 +1,4 @@
26a7f6b0f0b7181df8df3fa589f6bf81 *./tests/data/acodec/wmav1.asf
106004 ./tests/data/acodec/wmav1.asf
-stddev:12245.27 PSNR: 14.57 bytes: 1065004/ 1058444
-stddev: 2097.78 PSNR: 29.89 bytes: 1056812/ 1058444
+stddev:12245.27 PSNR: 14.57 MAXDIFF:65521 bytes: 1065004/ 1058444
+stddev: 2097.78 PSNR: 29.89 MAXDIFF:27658 bytes: 1056812/ 1058444
diff --git a/tests/ref/acodec/wmav2 b/tests/ref/acodec/wmav2
index ca18dea7a5..001d9395bc 100644
--- a/tests/ref/acodec/wmav2
+++ b/tests/ref/acodec/wmav2
@@ -1,4 +1,4 @@
7c6c0cb692af01b312ae345723674b5f *./tests/data/acodec/wmav2.asf
106044 ./tests/data/acodec/wmav2.asf
-stddev:12249.69 PSNR: 14.57 bytes: 1065004/ 1058444
-stddev: 2091.12 PSNR: 29.92 bytes: 1056812/ 1058444
+stddev:12249.69 PSNR: 14.57 MAXDIFF:65521 bytes: 1065004/ 1058444
+stddev: 2091.12 PSNR: 29.92 MAXDIFF:27650 bytes: 1056812/ 1058444
diff --git a/tests/ref/vsynth1/asv1 b/tests/ref/vsynth1/asv1
index 15ba70b2a0..10c1b0376e 100644
--- a/tests/ref/vsynth1/asv1
+++ b/tests/ref/vsynth1/asv1
@@ -1,4 +1,4 @@
b4ce4698764ef2328346badb7227ecbe *./tests/data/vsynth1/asv1.avi
1489656 ./tests/data/vsynth1/asv1.avi
2dfc5dfc2c1cbbc2543257cd3d2df6af *./tests/data/asv1.vsynth1.out.yuv
-stddev: 20.00 PSNR: 22.11 bytes: 7603200/ 7603200
+stddev: 20.00 PSNR: 22.11 MAXDIFF: 158 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/asv2 b/tests/ref/vsynth1/asv2
index 4ac42e1c54..14b0d1cd79 100644
--- a/tests/ref/vsynth1/asv2
+++ b/tests/ref/vsynth1/asv2
@@ -1,4 +1,4 @@
dfba6eaf58e515e324c2b370bfcd9158 *./tests/data/vsynth1/asv2.avi
1456056 ./tests/data/vsynth1/asv2.avi
d451be09793cd0f35b6d91fc36e2571a *./tests/data/asv2.vsynth1.out.yuv
-stddev: 18.82 PSNR: 22.63 bytes: 7603200/ 7603200
+stddev: 18.82 PSNR: 22.63 MAXDIFF: 131 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_1080i b/tests/ref/vsynth1/dnxhd_1080i
index 7429b7d915..2be782f462 100644
--- a/tests/ref/vsynth1/dnxhd_1080i
+++ b/tests/ref/vsynth1/dnxhd_1080i
@@ -1,4 +1,4 @@
cd1489f18d2186a49ab23c61ed33bce7 *./tests/data/vsynth1/dnxhd-1080i.mov
3031875 ./tests/data/vsynth1/dnxhd-1080i.mov
0c651e840f860592f0d5b66030d9fa32 *./tests/data/dnxhd_1080i.vsynth1.out.yuv
-stddev: 6.29 PSNR: 32.15 bytes: 760320/ 7603200
+stddev: 6.29 PSNR: 32.15 MAXDIFF: 64 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_720p b/tests/ref/vsynth1/dnxhd_720p
index 490a9ea643..263843df57 100644
--- a/tests/ref/vsynth1/dnxhd_720p
+++ b/tests/ref/vsynth1/dnxhd_720p
@@ -1,4 +1,4 @@
81f5be451dc18cf8a1d333c7885de60b *./tests/data/vsynth1/dnxhd-720p.dnxhd
2293760 ./tests/data/vsynth1/dnxhd-720p.dnxhd
94b21e5e68ccf9471eff74afd0ebe319 *./tests/data/dnxhd_720p.vsynth1.out.yuv
-stddev: 6.32 PSNR: 32.11 bytes: 760320/ 7603200
+stddev: 6.32 PSNR: 32.11 MAXDIFF: 183 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_720p_rd b/tests/ref/vsynth1/dnxhd_720p_rd
index f18ae2da1a..e77c725a42 100644
--- a/tests/ref/vsynth1/dnxhd_720p_rd
+++ b/tests/ref/vsynth1/dnxhd_720p_rd
@@ -1,4 +1,4 @@
1dc6e95925c4f3a230848ec17c02abed *./tests/data/vsynth1/dnxhd-720p-rd.dnxhd
2293760 ./tests/data/vsynth1/dnxhd-720p-rd.dnxhd
02972d2aec120ec1577ec9053d68ae0f *./tests/data/dnxhd_720p_rd.vsynth1.out.yuv
-stddev: 6.26 PSNR: 32.19 bytes: 760320/ 7603200
+stddev: 6.26 PSNR: 32.19 MAXDIFF: 65 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dv b/tests/ref/vsynth1/dv
index 7b6f1f962c..cb0427c558 100644
--- a/tests/ref/vsynth1/dv
+++ b/tests/ref/vsynth1/dv
@@ -1,8 +1,8 @@
27ade3031b17214cf81c19cbf70f37d7 *./tests/data/vsynth1/dv.dv
7200000 ./tests/data/vsynth1/dv.dv
02ac7cdeab91d4d5621e7ce96dddc498 *./tests/data/dv.vsynth1.out.yuv
-stddev: 6.90 PSNR: 31.34 bytes: 7603200/ 7603200
+stddev: 6.90 PSNR: 31.34 MAXDIFF: 76 bytes: 7603200/ 7603200
bd67f2431db160d4bb6dcd791cea6efd *./tests/data/vsynth1/dv411.dv
7200000 ./tests/data/vsynth1/dv411.dv
b6640a3a572353f51284acb746eb00c4 *./tests/data/dv.vsynth1.out.yuv
-stddev: 30.76 PSNR: 18.37 bytes: 7603200/ 7603200
+stddev: 30.76 PSNR: 18.37 MAXDIFF: 205 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/dv50 b/tests/ref/vsynth1/dv50
index 1e6454d9b7..9ae338527d 100644
--- a/tests/ref/vsynth1/dv50
+++ b/tests/ref/vsynth1/dv50
@@ -1,4 +1,4 @@
26dba84f0ea895b914ef5b333d8394ac *./tests/data/vsynth1/dv50.dv
14400000 ./tests/data/vsynth1/dv50.dv
a2ff093e93ffed10f730fa21df02fc50 *./tests/data/dv50.vsynth1.out.yuv
-stddev: 1.72 PSNR: 43.38 bytes: 7603200/ 7603200
+stddev: 1.72 PSNR: 43.38 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/error b/tests/ref/vsynth1/error
index 6b8a49e50f..c3543f9d36 100644
--- a/tests/ref/vsynth1/error
+++ b/tests/ref/vsynth1/error
@@ -1,4 +1,4 @@
7416dfd319f04044d4575dc9d1b406e1 *./tests/data/vsynth1/error-mpeg4-adv.avi
756836 ./tests/data/vsynth1/error-mpeg4-adv.avi
ef8bfcd6e0883daba95d0f32486ebe2d *./tests/data/error.vsynth1.out.yuv
-stddev: 18.05 PSNR: 23.00 bytes: 7603200/ 7603200
+stddev: 18.05 PSNR: 23.00 MAXDIFF: 245 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/ffv1 b/tests/ref/vsynth1/ffv1
index e888d96e7c..bf909153cd 100644
--- a/tests/ref/vsynth1/ffv1
+++ b/tests/ref/vsynth1/ffv1
@@ -1,4 +1,4 @@
67ddc7edde5cca49290245d881787890 *./tests/data/vsynth1/ffv1.avi
2655376 ./tests/data/vsynth1/ffv1.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/ffv1.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/flashsv b/tests/ref/vsynth1/flashsv
index 6d76e9a652..7920193aa7 100644
--- a/tests/ref/vsynth1/flashsv
+++ b/tests/ref/vsynth1/flashsv
@@ -1,4 +1,4 @@
97894502b4cb57aca1105b6333f72dae *./tests/data/vsynth1/flashsv.flv
14681925 ./tests/data/vsynth1/flashsv.flv
947cb24ec45a453348ae6fe3fa278071 *./tests/data/flashsv.vsynth1.out.yuv
-stddev: 2.85 PSNR: 39.03 bytes: 7603200/ 7603200
+stddev: 2.85 PSNR: 39.03 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/flv b/tests/ref/vsynth1/flv
index 04e22eb87f..17f565608b 100644
--- a/tests/ref/vsynth1/flv
+++ b/tests/ref/vsynth1/flv
@@ -1,4 +1,4 @@
d6a80659cedee7698aefe9c4a8285fa4 *./tests/data/vsynth1/flv.flv
636269 ./tests/data/vsynth1/flv.flv
5ab46d8dd01dbb1d63df2a84858a4b05 *./tests/data/flv.vsynth1.out.yuv
-stddev: 8.02 PSNR: 30.04 bytes: 7603200/ 7603200
+stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h261 b/tests/ref/vsynth1/h261
index 2be9855788..36d04f1736 100644
--- a/tests/ref/vsynth1/h261
+++ b/tests/ref/vsynth1/h261
@@ -1,4 +1,4 @@
d155470b713aeebacb85980b0d5f2ce3 *./tests/data/vsynth1/h261.avi
707588 ./tests/data/vsynth1/h261.avi
716e83cb51afb1246bfaa80967df48ea *./tests/data/h261.vsynth1.out.yuv
-stddev: 9.11 PSNR: 28.93 bytes: 7603200/ 7603200
+stddev: 9.11 PSNR: 28.93 MAXDIFF: 113 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h263 b/tests/ref/vsynth1/h263
index 5703029c2e..6351adc7ae 100644
--- a/tests/ref/vsynth1/h263
+++ b/tests/ref/vsynth1/h263
@@ -1,4 +1,4 @@
fb4dc9b9eac2628c56cb82cf332e1f58 *./tests/data/vsynth1/h263.avi
659686 ./tests/data/vsynth1/h263.avi
1a1ba9a3a63ec1a1a9585fded0a7c954 *./tests/data/h263.vsynth1.out.yuv
-stddev: 8.03 PSNR: 30.03 bytes: 7603200/ 7603200
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h263p b/tests/ref/vsynth1/h263p
index 6ca658f6dd..93df5497b1 100644
--- a/tests/ref/vsynth1/h263p
+++ b/tests/ref/vsynth1/h263p
@@ -1,4 +1,4 @@
bbcadeceba295e1dad148aea1e57c370 *./tests/data/vsynth1/h263p.avi
2328348 ./tests/data/vsynth1/h263p.avi
9554cda00c3487ab3ffda2c3ea22fa2f *./tests/data/h263p.vsynth1.out.yuv
-stddev: 2.06 PSNR: 41.83 bytes: 7603200/ 7603200
+stddev: 2.06 PSNR: 41.83 MAXDIFF: 20 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/huffyuv b/tests/ref/vsynth1/huffyuv
index f84eee437a..fefc84a3b4 100644
--- a/tests/ref/vsynth1/huffyuv
+++ b/tests/ref/vsynth1/huffyuv
@@ -1,4 +1,4 @@
ace2536fa169d835d0fb332abde28d51 *./tests/data/vsynth1/huffyuv.avi
7933800 ./tests/data/vsynth1/huffyuv.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/huffyuv.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/jpegls b/tests/ref/vsynth1/jpegls
index 4e26ec6210..636f7fc556 100644
--- a/tests/ref/vsynth1/jpegls
+++ b/tests/ref/vsynth1/jpegls
@@ -1,4 +1,4 @@
519e26bb1ac0f3db8f90b36537f2f760 *./tests/data/vsynth1/jpegls.avi
9089812 ./tests/data/vsynth1/jpegls.avi
947cb24ec45a453348ae6fe3fa278071 *./tests/data/jpegls.vsynth1.out.yuv
-stddev: 2.85 PSNR: 39.03 bytes: 7603200/ 7603200
+stddev: 2.85 PSNR: 39.03 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/ljpeg b/tests/ref/vsynth1/ljpeg
index 3202bfcf9d..01d59e71c6 100644
--- a/tests/ref/vsynth1/ljpeg
+++ b/tests/ref/vsynth1/ljpeg
@@ -1,4 +1,4 @@
9092f306f165b98ab0bb4f576f198ad5 *./tests/data/vsynth1/ljpeg.avi
6312936 ./tests/data/vsynth1/ljpeg.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/ljpeg.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mjpeg b/tests/ref/vsynth1/mjpeg
index fe54d6f978..63a0ff0328 100644
--- a/tests/ref/vsynth1/mjpeg
+++ b/tests/ref/vsynth1/mjpeg
@@ -1,4 +1,4 @@
8bbf9513b1822945539f27a6eff3c7fa *./tests/data/vsynth1/mjpeg.avi
1516140 ./tests/data/vsynth1/mjpeg.avi
c6ae81b5b896e4d05ff584311aebdb18 *./tests/data/mjpeg.vsynth1.out.yuv
-stddev: 7.87 PSNR: 30.21 bytes: 7603200/ 7603200
+stddev: 7.87 PSNR: 30.21 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg b/tests/ref/vsynth1/mpeg
index 882486b70b..7ae92f10e6 100644
--- a/tests/ref/vsynth1/mpeg
+++ b/tests/ref/vsynth1/mpeg
@@ -1,4 +1,4 @@
1428744c6d5835f27506e69be4f837f4 *./tests/data/vsynth1/mpeg1.mpg
712006 ./tests/data/vsynth1/mpeg1.mpg
58f0c332bf689117b57fa629a2bc0d2b *./tests/data/mpeg.vsynth1.out.yuv
-stddev: 7.62 PSNR: 30.48 bytes: 7603200/ 7603200
+stddev: 7.62 PSNR: 30.48 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg1b b/tests/ref/vsynth1/mpeg1b
index 913515eb34..897a0ce8f3 100644
--- a/tests/ref/vsynth1/mpeg1b
+++ b/tests/ref/vsynth1/mpeg1b
@@ -1,4 +1,4 @@
777639666b449ab0a7ef260511e40532 *./tests/data/vsynth1/mpeg1b.mpg
1030337 ./tests/data/vsynth1/mpeg1b.mpg
91a7fce732b34748e7bf753ebabe2483 *./tests/data/mpeg1b.vsynth1.out.yuv
-stddev: 6.30 PSNR: 32.13 bytes: 7603200/ 7603200
+stddev: 6.30 PSNR: 32.13 MAXDIFF: 75 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2 b/tests/ref/vsynth1/mpeg2
index 7269080519..e6d404dc09 100644
--- a/tests/ref/vsynth1/mpeg2
+++ b/tests/ref/vsynth1/mpeg2
@@ -1,20 +1,20 @@
fbddea2368cd2028fc8db4dfd4682e94 *./tests/data/vsynth1/mpeg2.mpg
728044 ./tests/data/vsynth1/mpeg2.mpg
b41ca49c1a02e66ce64d262e2cdaec15 *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 7.65 PSNR: 30.45 bytes: 7603200/ 7603200
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 84 bytes: 7603200/ 7603200
8f6b20714918e6443e0c03716ed06f0d *./tests/data/vsynth1/mpeg2ivlc-qprd.mpg
783552 ./tests/data/vsynth1/mpeg2ivlc-qprd.mpg
98eb9da15f880978e7f2ee1e7ce476ef *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 10.07 PSNR: 28.06 bytes: 7603200/ 7603200
+stddev: 10.07 PSNR: 28.06 MAXDIFF: 165 bytes: 7603200/ 7603200
af0cb75451aaa807beb5102707a98823 *./tests/data/vsynth1/mpeg2_422.mpg
728200 ./tests/data/vsynth1/mpeg2_422.mpg
29b518282493203e83b27a939795dc3a *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 63.33 PSNR: 12.10 bytes: 10137600/ 7603200
+stddev: 63.33 PSNR: 12.10 MAXDIFF: 242 bytes: 10137600/ 7603200
4c067397b504d65532d7779cd36f3f88 *./tests/data/vsynth1/mpeg2.mpg
725668 ./tests/data/vsynth1/mpeg2.mpg
9f7b065f98d57cdecf90e6f7a2524eb5 *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 7.65 PSNR: 30.45 bytes: 7603200/ 7603200
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 81 bytes: 7603200/ 7603200
ec3f6713c88a2b41f6c369fd64341077 *./tests/data/vsynth1/mpeg2i.mpg
737473 ./tests/data/vsynth1/mpeg2i.mpg
97615390fdd69abfcbc7e02df863a7d2 *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 7.67 PSNR: 30.43 bytes: 7603200/ 7603200
+stddev: 7.67 PSNR: 30.43 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2thread b/tests/ref/vsynth1/mpeg2thread
index c2e2c4f1f6..470c2e91b2 100644
--- a/tests/ref/vsynth1/mpeg2thread
+++ b/tests/ref/vsynth1/mpeg2thread
@@ -1,12 +1,12 @@
ecd183706688bd977c9994c3d1b23d61 *./tests/data/vsynth1/mpeg2thread.mpg
801313 ./tests/data/vsynth1/mpeg2thread.mpg
d1658911ca83f5616c1d32abc40750de *./tests/data/mpeg2thread.vsynth1.out.yuv
-stddev: 7.63 PSNR: 30.48 bytes: 7603200/ 7603200
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
23d600b026222253c2340e23300a4c02 *./tests/data/vsynth1/mpeg2threadivlc.mpg
791773 ./tests/data/vsynth1/mpeg2threadivlc.mpg
d1658911ca83f5616c1d32abc40750de *./tests/data/mpeg2thread.vsynth1.out.yuv
-stddev: 7.63 PSNR: 30.48 bytes: 7603200/ 7603200
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
d119fe917dd81d1ff758b4ce684a8d9d *./tests/data/vsynth1/mpeg2reuse.mpg
2074636 ./tests/data/vsynth1/mpeg2reuse.mpg
92ced6afe8c02304943c400cce51a5f4 *./tests/data/mpeg2thread.vsynth1.out.yuv
-stddev: 7.66 PSNR: 30.44 bytes: 7603200/ 7603200
+stddev: 7.66 PSNR: 30.44 MAXDIFF: 111 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4 b/tests/ref/vsynth1/mpeg4
index 3156fed8c4..76b3904886 100644
--- a/tests/ref/vsynth1/mpeg4
+++ b/tests/ref/vsynth1/mpeg4
@@ -1,4 +1,4 @@
fd83f2ef5887a62b4d755d7cb5f0ac59 *./tests/data/vsynth1/odivx.mp4
540144 ./tests/data/vsynth1/odivx.mp4
8828a375448dc5c2215163ba70656f89 *./tests/data/mpeg4.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.10 bytes: 7603200/ 7603200
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4adv b/tests/ref/vsynth1/mpeg4adv
index bbd996b0b9..d61431028a 100644
--- a/tests/ref/vsynth1/mpeg4adv
+++ b/tests/ref/vsynth1/mpeg4adv
@@ -1,16 +1,16 @@
7d8eb01fd68d83d62a98585757704d47 *./tests/data/vsynth1/mpeg4-adv.avi
589716 ./tests/data/vsynth1/mpeg4-adv.avi
f8b226876b1b2c0b98fd6928fd9adbd8 *./tests/data/mpeg4adv.vsynth1.out.yuv
-stddev: 6.98 PSNR: 31.25 bytes: 7603200/ 7603200
+stddev: 6.98 PSNR: 31.25 MAXDIFF: 84 bytes: 7603200/ 7603200
d6b7e724a6ad66ab5e4c5a499218b40d *./tests/data/vsynth1/mpeg4-qprd.avi
710944 ./tests/data/vsynth1/mpeg4-qprd.avi
e65f4c7f343fe2bad1cac44b7da5f7c4 *./tests/data/mpeg4adv.vsynth1.out.yuv
-stddev: 9.79 PSNR: 28.31 bytes: 7603200/ 7603200
+stddev: 9.79 PSNR: 28.31 MAXDIFF: 176 bytes: 7603200/ 7603200
2d870c0da9ab2231ab5fc06981e70399 *./tests/data/vsynth1/mpeg4-adap.avi
403456 ./tests/data/vsynth1/mpeg4-adap.avi
fa2049396479b5f170aa764fed5b2a31 *./tests/data/mpeg4adv.vsynth1.out.yuv
-stddev: 14.05 PSNR: 25.17 bytes: 7603200/ 7603200
+stddev: 14.05 PSNR: 25.17 MAXDIFF: 184 bytes: 7603200/ 7603200
3bf17c3d04f52988386ce106a2a58976 *./tests/data/vsynth1/mpeg4-Q.avi
860678 ./tests/data/vsynth1/mpeg4-Q.avi
756928496245ecc701f79eebeec8e5e6 *./tests/data/mpeg4adv.vsynth1.out.yuv
-stddev: 5.63 PSNR: 33.12 bytes: 7603200/ 7603200
+stddev: 5.63 PSNR: 33.12 MAXDIFF: 70 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4nr b/tests/ref/vsynth1/mpeg4nr
index 24ed8de287..c821490304 100644
--- a/tests/ref/vsynth1/mpeg4nr
+++ b/tests/ref/vsynth1/mpeg4nr
@@ -1,4 +1,4 @@
c02f54157ba08ca12ad979c6308212ad *./tests/data/vsynth1/mpeg4-nr.avi
675638 ./tests/data/vsynth1/mpeg4-nr.avi
d2b89d5958fb7331f6c9e5b7ecaaa5b6 *./tests/data/mpeg4nr.vsynth1.out.yuv
-stddev: 6.99 PSNR: 31.23 bytes: 7603200/ 7603200
+stddev: 6.99 PSNR: 31.23 MAXDIFF: 86 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4thread b/tests/ref/vsynth1/mpeg4thread
index d8e06fe5dc..d04f43685b 100644
--- a/tests/ref/vsynth1/mpeg4thread
+++ b/tests/ref/vsynth1/mpeg4thread
@@ -1,4 +1,4 @@
4f4ea04faad7212374919aa1ec7ff994 *./tests/data/vsynth1/mpeg4-thread.avi
774760 ./tests/data/vsynth1/mpeg4-thread.avi
64b96cddf5301990e118978b3a3bcd0d *./tests/data/mpeg4thread.vsynth1.out.yuv
-stddev: 10.13 PSNR: 28.02 bytes: 7603200/ 7603200
+stddev: 10.13 PSNR: 28.02 MAXDIFF: 183 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/msmpeg4 b/tests/ref/vsynth1/msmpeg4
index 46b72f12da..b4e903ac1d 100644
--- a/tests/ref/vsynth1/msmpeg4
+++ b/tests/ref/vsynth1/msmpeg4
@@ -1,4 +1,4 @@
d437c6ab3775c50fdec00fa744bb5add *./tests/data/vsynth1/msmpeg4.avi
624718 ./tests/data/vsynth1/msmpeg4.avi
5ca72c39e3fc5df8e62f223c869589f5 *./tests/data/msmpeg4.vsynth1.out.yuv
-stddev: 7.98 PSNR: 30.09 bytes: 7603200/ 7603200
+stddev: 7.98 PSNR: 30.09 MAXDIFF: 104 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/msmpeg4v2 b/tests/ref/vsynth1/msmpeg4v2
index 69bd62f077..dde152d81a 100644
--- a/tests/ref/vsynth1/msmpeg4v2
+++ b/tests/ref/vsynth1/msmpeg4v2
@@ -1,4 +1,4 @@
88957e35efcc718bce0307627ad3298d *./tests/data/vsynth1/msmpeg4v2.avi
623788 ./tests/data/vsynth1/msmpeg4v2.avi
c6ff1041a0ef62c2a2e5ef519e5e94c4 *./tests/data/msmpeg4v2.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.10 bytes: 7603200/ 7603200
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rc b/tests/ref/vsynth1/rc
index cf852a8bd8..be50952075 100644
--- a/tests/ref/vsynth1/rc
+++ b/tests/ref/vsynth1/rc
@@ -1,4 +1,4 @@
1c6dadf75f60f4ba59a0fe0b6eaedf57 *./tests/data/vsynth1/mpeg4-rc.avi
830160 ./tests/data/vsynth1/mpeg4-rc.avi
4d95e340db9bc57a559162c039f3784e *./tests/data/rc.vsynth1.out.yuv
-stddev: 10.24 PSNR: 27.92 bytes: 7603200/ 7603200
+stddev: 10.24 PSNR: 27.92 MAXDIFF: 196 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rgb b/tests/ref/vsynth1/rgb
index d8708988eb..10a0a13329 100644
--- a/tests/ref/vsynth1/rgb
+++ b/tests/ref/vsynth1/rgb
@@ -1,4 +1,4 @@
05f0719cb52486d9a4beb9cfae3f2571 *./tests/data/vsynth1/rgb.avi
15213260 ./tests/data/vsynth1/rgb.avi
243325fb2cae1a9245efd49aff936327 *./tests/data/rgb.vsynth1.out.yuv
-stddev: 3.42 PSNR: 37.43 bytes: 7603200/ 7603200
+stddev: 3.42 PSNR: 37.43 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/roq b/tests/ref/vsynth1/roq
index 086ae1ce74..42456e4e34 100644
--- a/tests/ref/vsynth1/roq
+++ b/tests/ref/vsynth1/roq
@@ -1,4 +1,4 @@
cf8b7b0e539bab3169c234ca63d71dd8 *./tests/data/vsynth1/roqav.roq
101671 ./tests/data/vsynth1/roqav.roq
0ad983c291b1ed373645c5b12a108c61 *./tests/data/roq.vsynth1.out.yuv
-stddev: 7.74 PSNR: 30.35 bytes: 760320/ 7603200
+stddev: 7.74 PSNR: 30.35 MAXDIFF: 89 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/rv10 b/tests/ref/vsynth1/rv10
index 7cd50d14d6..9e0ceec2f1 100644
--- a/tests/ref/vsynth1/rv10
+++ b/tests/ref/vsynth1/rv10
@@ -1,4 +1,4 @@
4d7e82de72a83905cf84b8abc3e70b8f *./tests/data/vsynth1/rv10.rm
653905 ./tests/data/vsynth1/rv10.rm
1a1ba9a3a63ec1a1a9585fded0a7c954 *./tests/data/rv10.vsynth1.out.yuv
-stddev: 8.03 PSNR: 30.03 bytes: 7603200/ 7603200
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rv20 b/tests/ref/vsynth1/rv20
index d8cc2ccea7..19e4474db7 100644
--- a/tests/ref/vsynth1/rv20
+++ b/tests/ref/vsynth1/rv20
@@ -1,4 +1,4 @@
49f656b3a84bd7173ca219fae310750c *./tests/data/vsynth1/rv20.rm
627450 ./tests/data/vsynth1/rv20.rm
a94d2babdc506b95951977cb55642981 *./tests/data/rv20.vsynth1.out.yuv
-stddev: 8.24 PSNR: 29.81 bytes: 7603200/ 7603200
+stddev: 8.24 PSNR: 29.81 MAXDIFF: 108 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/snow b/tests/ref/vsynth1/snow
index 9178115132..ac34760783 100644
--- a/tests/ref/vsynth1/snow
+++ b/tests/ref/vsynth1/snow
@@ -1,4 +1,4 @@
d593b3c1a9729ce6dd1721f58fa93712 *./tests/data/vsynth1/snow.avi
136088 ./tests/data/vsynth1/snow.avi
91021b7d6d7908648fe78cc1975af8c4 *./tests/data/snow.vsynth1.out.yuv
-stddev: 22.77 PSNR: 20.98 bytes: 7603200/ 7603200
+stddev: 22.77 PSNR: 20.98 MAXDIFF: 172 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/snowll b/tests/ref/vsynth1/snowll
index 0246038dec..427e52de5b 100644
--- a/tests/ref/vsynth1/snowll
+++ b/tests/ref/vsynth1/snowll
@@ -1,4 +1,4 @@
6d29e8c06a645cdee45073c4f3d0004e *./tests/data/vsynth1/snow53.avi
3419980 ./tests/data/vsynth1/snow53.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/snowll.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/svq1 b/tests/ref/vsynth1/svq1
index b6c95ea6cc..8c647c7870 100644
--- a/tests/ref/vsynth1/svq1
+++ b/tests/ref/vsynth1/svq1
@@ -1,4 +1,4 @@
595fc4e38734521356b60e67b813f0fa *./tests/data/vsynth1/svq1.mov
1334367 ./tests/data/vsynth1/svq1.mov
9cc35c54b2c77d36bd7e308b393c1f81 *./tests/data/svq1.vsynth1.out.yuv
-stddev: 9.58 PSNR: 28.50 bytes: 7603200/ 7603200
+stddev: 9.58 PSNR: 28.50 MAXDIFF: 210 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/wmv1 b/tests/ref/vsynth1/wmv1
index 891c88be8e..8c32ea80c5 100644
--- a/tests/ref/vsynth1/wmv1
+++ b/tests/ref/vsynth1/wmv1
@@ -1,4 +1,4 @@
4f3461315776e5118866fa3819cff9b6 *./tests/data/vsynth1/wmv1.avi
626908 ./tests/data/vsynth1/wmv1.avi
5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv1.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.09 bytes: 7603200/ 7603200
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/wmv2 b/tests/ref/vsynth1/wmv2
index 2e72290faf..8e1e88d6fd 100644
--- a/tests/ref/vsynth1/wmv2
+++ b/tests/ref/vsynth1/wmv2
@@ -1,4 +1,4 @@
13efda9d3811345aadc0632fc9a9332b *./tests/data/vsynth1/wmv2.avi
659852 ./tests/data/vsynth1/wmv2.avi
5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv2.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.09 bytes: 7603200/ 7603200
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/yuv b/tests/ref/vsynth1/yuv
index fdb4d9eb68..b98dda503a 100644
--- a/tests/ref/vsynth1/yuv
+++ b/tests/ref/vsynth1/yuv
@@ -1,4 +1,4 @@
aa6b9e862aebcf8902a6d770e7729d59 *./tests/data/vsynth1/yuv.avi
7610060 ./tests/data/vsynth1/yuv.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/asv1 b/tests/ref/vsynth2/asv1
index a584645a99..1d0385c942 100644
--- a/tests/ref/vsynth2/asv1
+++ b/tests/ref/vsynth2/asv1
@@ -1,4 +1,4 @@
4eb34d2de25f67a2706456e999338fe9 *./tests/data/vsynth2/asv1.avi
832512 ./tests/data/vsynth2/asv1.avi
c96ff7fd17c52f99ddb7922a4cb9168f *./tests/data/asv1.vsynth2.out.yuv
-stddev: 10.47 PSNR: 27.73 bytes: 7603200/ 7603200
+stddev: 10.47 PSNR: 27.73 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/asv2 b/tests/ref/vsynth2/asv2
index b8984204da..21ce40aab4 100644
--- a/tests/ref/vsynth2/asv2
+++ b/tests/ref/vsynth2/asv2
@@ -1,4 +1,4 @@
9649a4b68fb1107bad13e8a7574cc72d *./tests/data/vsynth2/asv2.avi
789072 ./tests/data/vsynth2/asv2.avi
74a78015b64b2cf8cb9da2e44f508a69 *./tests/data/asv2.vsynth2.out.yuv
-stddev: 10.28 PSNR: 27.89 bytes: 7603200/ 7603200
+stddev: 10.28 PSNR: 27.89 MAXDIFF: 95 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_1080i b/tests/ref/vsynth2/dnxhd_1080i
index 6ab7fbbbf9..69ec10cc5b 100644
--- a/tests/ref/vsynth2/dnxhd_1080i
+++ b/tests/ref/vsynth2/dnxhd_1080i
@@ -1,4 +1,4 @@
1a4594983ae91f41907b89fe3174c527 *./tests/data/vsynth2/dnxhd-1080i.mov
3031875 ./tests/data/vsynth2/dnxhd-1080i.mov
3c559af629ae0a8fb1a9a0e4b4da7733 *./tests/data/dnxhd_1080i.vsynth2.out.yuv
-stddev: 1.31 PSNR: 45.77 bytes: 760320/ 7603200
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 23 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p b/tests/ref/vsynth2/dnxhd_720p
index cbf3f37575..eab04c609b 100644
--- a/tests/ref/vsynth2/dnxhd_720p
+++ b/tests/ref/vsynth2/dnxhd_720p
@@ -1,4 +1,4 @@
58e07cc6ae0a2d36787044d0e82708a6 *./tests/data/vsynth2/dnxhd-720p.dnxhd
2293760 ./tests/data/vsynth2/dnxhd-720p.dnxhd
ab601eaafef74d80d3d20b780dddd836 *./tests/data/dnxhd_720p.vsynth2.out.yuv
-stddev: 1.36 PSNR: 45.45 bytes: 760320/ 7603200
+stddev: 1.36 PSNR: 45.45 MAXDIFF: 127 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p_rd b/tests/ref/vsynth2/dnxhd_720p_rd
index e922495226..2d5c4d5509 100644
--- a/tests/ref/vsynth2/dnxhd_720p_rd
+++ b/tests/ref/vsynth2/dnxhd_720p_rd
@@ -1,4 +1,4 @@
092ffb7b8cf3c11556bb05dbb8b476ac *./tests/data/vsynth2/dnxhd-720p-rd.dnxhd
2293760 ./tests/data/vsynth2/dnxhd-720p-rd.dnxhd
33547ca318acff9448cba719cb99296d *./tests/data/dnxhd_720p_rd.vsynth2.out.yuv
-stddev: 1.32 PSNR: 45.66 bytes: 760320/ 7603200
+stddev: 1.32 PSNR: 45.66 MAXDIFF: 22 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dv b/tests/ref/vsynth2/dv
index 72e4350ce9..676b209c58 100644
--- a/tests/ref/vsynth2/dv
+++ b/tests/ref/vsynth2/dv
@@ -1,8 +1,8 @@
bfa766f89bfeabc0ae1044f3954bed52 *./tests/data/vsynth2/dv.dv
7200000 ./tests/data/vsynth2/dv.dv
7ec62bd3350a6848364669e6e1e4b9cc *./tests/data/dv.vsynth2.out.yuv
-stddev: 1.71 PSNR: 43.47 bytes: 7603200/ 7603200
+stddev: 1.71 PSNR: 43.47 MAXDIFF: 33 bytes: 7603200/ 7603200
00a9d8683ac6826af41bcf7223fb0389 *./tests/data/vsynth2/dv411.dv
7200000 ./tests/data/vsynth2/dv411.dv
7f9fa421028aabb11eaf4c6513a5a843 *./tests/data/dv.vsynth2.out.yuv
-stddev: 10.09 PSNR: 28.05 bytes: 7603200/ 7603200
+stddev: 10.09 PSNR: 28.05 MAXDIFF: 60 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/dv50 b/tests/ref/vsynth2/dv50
index 79c25a8b8c..7e0083bfc1 100644
--- a/tests/ref/vsynth2/dv50
+++ b/tests/ref/vsynth2/dv50
@@ -1,4 +1,4 @@
61e31c79e8949b25c849753a0785b0d7 *./tests/data/vsynth2/dv50.dv
14400000 ./tests/data/vsynth2/dv50.dv
af3f2dd5ab62c1a1d98b07d4aeb6852f *./tests/data/dv50.vsynth2.out.yuv
-stddev: 0.82 PSNR: 49.82 bytes: 7603200/ 7603200
+stddev: 0.82 PSNR: 49.82 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/error b/tests/ref/vsynth2/error
index b273e002c1..4181b2d299 100644
--- a/tests/ref/vsynth2/error
+++ b/tests/ref/vsynth2/error
@@ -1,4 +1,4 @@
90e65096aa9ebafa3fe3f44a5a47cdc4 *./tests/data/vsynth2/error-mpeg4-adv.avi
176588 ./tests/data/vsynth2/error-mpeg4-adv.avi
9fe1082179f80179439953c7397a46ef *./tests/data/error.vsynth2.out.yuv
-stddev: 9.00 PSNR: 29.04 bytes: 7603200/ 7603200
+stddev: 9.00 PSNR: 29.04 MAXDIFF: 168 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/ffv1 b/tests/ref/vsynth2/ffv1
index f7dd8e9f89..d251af557a 100644
--- a/tests/ref/vsynth2/ffv1
+++ b/tests/ref/vsynth2/ffv1
@@ -1,4 +1,4 @@
d72b0960e162d4998b9acbabb07e99ab *./tests/data/vsynth2/ffv1.avi
3525804 ./tests/data/vsynth2/ffv1.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ffv1.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/flashsv b/tests/ref/vsynth2/flashsv
index b5f0bcee3c..bfbb9e1c08 100644
--- a/tests/ref/vsynth2/flashsv
+++ b/tests/ref/vsynth2/flashsv
@@ -1,4 +1,4 @@
0667077971e0cb63b5f49c580006e90e *./tests/data/vsynth2/flashsv.flv
12368953 ./tests/data/vsynth2/flashsv.flv
592b3321994e26a990deb3a0a1415de9 *./tests/data/flashsv.vsynth2.out.yuv
-stddev: 0.65 PSNR: 51.84 bytes: 7603200/ 7603200
+stddev: 0.65 PSNR: 51.84 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/flv b/tests/ref/vsynth2/flv
index 7fa57db9e1..716177fb9b 100644
--- a/tests/ref/vsynth2/flv
+++ b/tests/ref/vsynth2/flv
@@ -1,4 +1,4 @@
2edc92093d36506bcc0a5c0e17e86113 *./tests/data/vsynth2/flv.flv
131360 ./tests/data/vsynth2/flv.flv
8999c8264fb0941561f64c4a736e9d88 *./tests/data/flv.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 bytes: 7603200/ 7603200
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h261 b/tests/ref/vsynth2/h261
index ef9454cd18..07c29ab677 100644
--- a/tests/ref/vsynth2/h261
+++ b/tests/ref/vsynth2/h261
@@ -1,4 +1,4 @@
dfd005d4c9030a0dc889c828a6408b9c *./tests/data/vsynth2/h261.avi
191086 ./tests/data/vsynth2/h261.avi
db7ceff174823b98834faa2320ca89ac *./tests/data/h261.vsynth2.out.yuv
-stddev: 6.37 PSNR: 32.03 bytes: 7603200/ 7603200
+stddev: 6.37 PSNR: 32.03 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h263 b/tests/ref/vsynth2/h263
index 739ba52926..7e3fd33447 100644
--- a/tests/ref/vsynth2/h263
+++ b/tests/ref/vsynth2/h263
@@ -1,4 +1,4 @@
9a368687ab34c48079f11a202839a6bc *./tests/data/vsynth2/h263.avi
160106 ./tests/data/vsynth2/h263.avi
61213b91b359697ebcefb9e0a53ac54a *./tests/data/h263.vsynth2.out.yuv
-stddev: 5.43 PSNR: 33.42 bytes: 7603200/ 7603200
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h263p b/tests/ref/vsynth2/h263p
index 3c26eb0530..314726fd7c 100644
--- a/tests/ref/vsynth2/h263p
+++ b/tests/ref/vsynth2/h263p
@@ -1,4 +1,4 @@
c7644d40e9f40bbd98e5a978f9f94bb4 *./tests/data/vsynth2/h263p.avi
868018 ./tests/data/vsynth2/h263p.avi
4b0ee791f280029dc03c528f76f195d4 *./tests/data/h263p.vsynth2.out.yuv
-stddev: 1.91 PSNR: 42.50 bytes: 7603200/ 7603200
+stddev: 1.91 PSNR: 42.50 MAXDIFF: 19 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/huffyuv b/tests/ref/vsynth2/huffyuv
index e0e7277ede..740862aba4 100644
--- a/tests/ref/vsynth2/huffyuv
+++ b/tests/ref/vsynth2/huffyuv
@@ -1,4 +1,4 @@
56cd44907a48990e06bd065e189ff461 *./tests/data/vsynth2/huffyuv.avi
6455232 ./tests/data/vsynth2/huffyuv.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/huffyuv.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/jpegls b/tests/ref/vsynth2/jpegls
index 3f87fd2fd2..e7fa2df46c 100644
--- a/tests/ref/vsynth2/jpegls
+++ b/tests/ref/vsynth2/jpegls
@@ -1,4 +1,4 @@
4fc53937f048c900ae6d50fda9dba206 *./tests/data/vsynth2/jpegls.avi
8334630 ./tests/data/vsynth2/jpegls.avi
592b3321994e26a990deb3a0a1415de9 *./tests/data/jpegls.vsynth2.out.yuv
-stddev: 0.65 PSNR: 51.84 bytes: 7603200/ 7603200
+stddev: 0.65 PSNR: 51.84 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/ljpeg b/tests/ref/vsynth2/ljpeg
index aec9b56725..54c1d864dc 100644
--- a/tests/ref/vsynth2/ljpeg
+++ b/tests/ref/vsynth2/ljpeg
@@ -1,4 +1,4 @@
554a4a6a5a9058c588f8bf2de405bc70 *./tests/data/vsynth2/ljpeg.avi
4766914 ./tests/data/vsynth2/ljpeg.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ljpeg.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mjpeg b/tests/ref/vsynth2/mjpeg
index 0b501f9f4f..adee328055 100644
--- a/tests/ref/vsynth2/mjpeg
+++ b/tests/ref/vsynth2/mjpeg
@@ -1,4 +1,4 @@
89df32b46c977fb4cb140ec6c489dd76 *./tests/data/vsynth2/mjpeg.avi
673224 ./tests/data/vsynth2/mjpeg.avi
a96a4e15ffcb13e44360df642d049496 *./tests/data/mjpeg.vsynth2.out.yuv
-stddev: 4.32 PSNR: 35.40 bytes: 7603200/ 7603200
+stddev: 4.32 PSNR: 35.40 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg b/tests/ref/vsynth2/mpeg
index 1f995eb0f3..5a051c8a60 100644
--- a/tests/ref/vsynth2/mpeg
+++ b/tests/ref/vsynth2/mpeg
@@ -1,4 +1,4 @@
73ca6f1deab02d1d67a0e8495c026a9e *./tests/data/vsynth2/mpeg1.mpg
192783 ./tests/data/vsynth2/mpeg1.mpg
56147e94b12f08df7213e610e177823d *./tests/data/mpeg.vsynth2.out.yuv
-stddev: 4.95 PSNR: 34.22 bytes: 7603200/ 7603200
+stddev: 4.95 PSNR: 34.22 MAXDIFF: 57 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg1b b/tests/ref/vsynth2/mpeg1b
index 626fbd017f..f51aa3fd68 100644
--- a/tests/ref/vsynth2/mpeg1b
+++ b/tests/ref/vsynth2/mpeg1b
@@ -1,4 +1,4 @@
e026a2fef80c9679776d2b5c8be09338 *./tests/data/vsynth2/mpeg1b.mpg
225198 ./tests/data/vsynth2/mpeg1b.mpg
1150495f4bd487486ee53326c42d0bb8 *./tests/data/mpeg1b.vsynth2.out.yuv
-stddev: 4.10 PSNR: 35.86 bytes: 7603200/ 7603200
+stddev: 4.10 PSNR: 35.86 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2 b/tests/ref/vsynth2/mpeg2
index f4a1c96589..a6ab3f6b90 100644
--- a/tests/ref/vsynth2/mpeg2
+++ b/tests/ref/vsynth2/mpeg2
@@ -1,20 +1,20 @@
2d55ce623a7be4e8136f80266e487678 *./tests/data/vsynth2/mpeg2.mpg
198667 ./tests/data/vsynth2/mpeg2.mpg
b7cae8a1f751b821cddcbe4d5dbc518c *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 4.96 PSNR: 34.20 bytes: 7603200/ 7603200
+stddev: 4.96 PSNR: 34.20 MAXDIFF: 59 bytes: 7603200/ 7603200
1ba5efeb53fab7b4b71edc96d86f6c91 *./tests/data/vsynth2/mpeg2ivlc-qprd.mpg
244694 ./tests/data/vsynth2/mpeg2ivlc-qprd.mpg
b26e21599dee48a174bdbc40b2817e55 *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 4.15 PSNR: 35.76 bytes: 7603200/ 7603200
+stddev: 4.15 PSNR: 35.76 MAXDIFF: 74 bytes: 7603200/ 7603200
2c8e33c2d2efab86fc16a195f6877682 *./tests/data/vsynth2/mpeg2_422.mpg
356124 ./tests/data/vsynth2/mpeg2_422.mpg
de44597c6c470f3e7019b31245a3ff69 *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 54.55 PSNR: 13.39 bytes: 10137600/ 7603200
+stddev: 54.55 PSNR: 13.39 MAXDIFF: 201 bytes: 10137600/ 7603200
f979bcca866e6e4cad5dc6cb06e56cfb *./tests/data/vsynth2/mpeg2.mpg
198041 ./tests/data/vsynth2/mpeg2.mpg
f6d9bf24ff8676a7f6076c05cd2c81a3 *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 4.97 PSNR: 34.19 bytes: 7603200/ 7603200
+stddev: 4.97 PSNR: 34.19 MAXDIFF: 58 bytes: 7603200/ 7603200
f90197a8b6e62ae25f82625337f27240 *./tests/data/vsynth2/mpeg2i.mpg
204579 ./tests/data/vsynth2/mpeg2i.mpg
ea5057b60146c06d40449cdfc686bf13 *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 4.98 PSNR: 34.18 bytes: 7603200/ 7603200
+stddev: 4.98 PSNR: 34.18 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2thread b/tests/ref/vsynth2/mpeg2thread
index 9253d7f3dd..3c9c0d016d 100644
--- a/tests/ref/vsynth2/mpeg2thread
+++ b/tests/ref/vsynth2/mpeg2thread
@@ -1,12 +1,12 @@
889c754a42d7689b228853e1ece6d345 *./tests/data/vsynth2/mpeg2thread.mpg
179650 ./tests/data/vsynth2/mpeg2thread.mpg
8c6a7ed2eb73bd18fd2bb9829464100d *./tests/data/mpeg2thread.vsynth2.out.yuv
-stddev: 4.72 PSNR: 34.65 bytes: 7603200/ 7603200
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
10b900e32809758857c596d56746e00e *./tests/data/vsynth2/mpeg2threadivlc.mpg
178801 ./tests/data/vsynth2/mpeg2threadivlc.mpg
8c6a7ed2eb73bd18fd2bb9829464100d *./tests/data/mpeg2thread.vsynth2.out.yuv
-stddev: 4.72 PSNR: 34.65 bytes: 7603200/ 7603200
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
864d6bf2982a61e510003a518be65a2d *./tests/data/vsynth2/mpeg2reuse.mpg
383419 ./tests/data/vsynth2/mpeg2reuse.mpg
bb20fa080cfd2b0a687ea7376ff4f902 *./tests/data/mpeg2thread.vsynth2.out.yuv
-stddev: 4.73 PSNR: 34.63 bytes: 7603200/ 7603200
+stddev: 4.73 PSNR: 34.63 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4 b/tests/ref/vsynth2/mpeg4
index c24cbd0d86..9a6158c67e 100644
--- a/tests/ref/vsynth2/mpeg4
+++ b/tests/ref/vsynth2/mpeg4
@@ -1,4 +1,4 @@
47de227982e77830a2db278214a08773 *./tests/data/vsynth2/odivx.mp4
119797 ./tests/data/vsynth2/odivx.mp4
90a3577850239083a9042bef33c50e85 *./tests/data/mpeg4.vsynth2.out.yuv
-stddev: 5.34 PSNR: 33.57 bytes: 7603200/ 7603200
+stddev: 5.34 PSNR: 33.57 MAXDIFF: 83 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4adv b/tests/ref/vsynth2/mpeg4adv
index 89d21ac846..f8568c7828 100644
--- a/tests/ref/vsynth2/mpeg4adv
+++ b/tests/ref/vsynth2/mpeg4adv
@@ -1,16 +1,16 @@
dee7be19486a76d96c88d18eefba8f86 *./tests/data/vsynth2/mpeg4-adv.avi
141546 ./tests/data/vsynth2/mpeg4-adv.avi
3f3a21e9db85a9c0f7022f557a5374c1 *./tests/data/mpeg4adv.vsynth2.out.yuv
-stddev: 4.94 PSNR: 34.25 bytes: 7603200/ 7603200
+stddev: 4.94 PSNR: 34.25 MAXDIFF: 69 bytes: 7603200/ 7603200
fd5ab0f55dbc959316e32923e86290df *./tests/data/vsynth2/mpeg4-qprd.avi
231458 ./tests/data/vsynth2/mpeg4-qprd.avi
de8a883865e2dff7a51f66da6c48df48 *./tests/data/mpeg4adv.vsynth2.out.yuv
-stddev: 3.71 PSNR: 36.72 bytes: 7603200/ 7603200
+stddev: 3.71 PSNR: 36.72 MAXDIFF: 61 bytes: 7603200/ 7603200
547e1849dcf910935ff6383ca49e5706 *./tests/data/vsynth2/mpeg4-adap.avi
198510 ./tests/data/vsynth2/mpeg4-adap.avi
4affb83f6adc94f31024b4f9e0168945 *./tests/data/mpeg4adv.vsynth2.out.yuv
-stddev: 3.75 PSNR: 36.65 bytes: 7603200/ 7603200
+stddev: 3.75 PSNR: 36.65 MAXDIFF: 71 bytes: 7603200/ 7603200
7680d2e7d34399dfdfb8a49cf1e10239 *./tests/data/vsynth2/mpeg4-Q.avi
163688 ./tests/data/vsynth2/mpeg4-Q.avi
26dc7c78955fa678fbf150e236eb5627 *./tests/data/mpeg4adv.vsynth2.out.yuv
-stddev: 3.97 PSNR: 36.14 bytes: 7603200/ 7603200
+stddev: 3.97 PSNR: 36.14 MAXDIFF: 54 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4nr b/tests/ref/vsynth2/mpeg4nr
index 1f9499fc73..ec36d27bd3 100644
--- a/tests/ref/vsynth2/mpeg4nr
+++ b/tests/ref/vsynth2/mpeg4nr
@@ -1,4 +1,4 @@
c41187c99588fb7229ad330b2f80d28b *./tests/data/vsynth2/mpeg4-nr.avi
155044 ./tests/data/vsynth2/mpeg4-nr.avi
f7fc191308679f709405e62271f5c65f *./tests/data/mpeg4nr.vsynth2.out.yuv
-stddev: 4.73 PSNR: 34.63 bytes: 7603200/ 7603200
+stddev: 4.73 PSNR: 34.63 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4thread b/tests/ref/vsynth2/mpeg4thread
index c881aa4db3..63f355ba12 100644
--- a/tests/ref/vsynth2/mpeg4thread
+++ b/tests/ref/vsynth2/mpeg4thread
@@ -1,4 +1,4 @@
ba30d10ff70d46e7c5b7fa859ea1faa4 *./tests/data/vsynth2/mpeg4-thread.avi
250140 ./tests/data/vsynth2/mpeg4-thread.avi
5355deb8c7609a3f1ff2173aab1dee70 *./tests/data/mpeg4thread.vsynth2.out.yuv
-stddev: 3.69 PSNR: 36.78 bytes: 7603200/ 7603200
+stddev: 3.69 PSNR: 36.78 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/msmpeg4 b/tests/ref/vsynth2/msmpeg4
index d77a4549ed..75ec82cd40 100644
--- a/tests/ref/vsynth2/msmpeg4
+++ b/tests/ref/vsynth2/msmpeg4
@@ -1,4 +1,4 @@
3069f95f2ffca1f20c8ea36e2625fabc *./tests/data/vsynth2/msmpeg4.avi
127680 ./tests/data/vsynth2/msmpeg4.avi
0e1c6e25c71c6a8fa8e506e3d97ca4c9 *./tests/data/msmpeg4.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 bytes: 7603200/ 7603200
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 78 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/msmpeg4v2 b/tests/ref/vsynth2/msmpeg4v2
index 3bfd83934c..9fe913d62e 100644
--- a/tests/ref/vsynth2/msmpeg4v2
+++ b/tests/ref/vsynth2/msmpeg4v2
@@ -1,4 +1,4 @@
c09815e40a9d260628e1ebad8b2b3774 *./tests/data/vsynth2/msmpeg4v2.avi
129918 ./tests/data/vsynth2/msmpeg4v2.avi
8920194f8bf8f9cdd6c65b3df9e1a292 *./tests/data/msmpeg4v2.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 bytes: 7603200/ 7603200
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rc b/tests/ref/vsynth2/rc
index d6eab6932f..14d9a6ce0a 100644
--- a/tests/ref/vsynth2/rc
+++ b/tests/ref/vsynth2/rc
@@ -1,4 +1,4 @@
c25ede9e268b834a09a63f5136cd1b95 *./tests/data/vsynth2/mpeg4-rc.avi
226332 ./tests/data/vsynth2/mpeg4-rc.avi
2b34e606af895b62a250de98749a19b0 *./tests/data/rc.vsynth2.out.yuv
-stddev: 4.23 PSNR: 35.60 bytes: 7603200/ 7603200
+stddev: 4.23 PSNR: 35.60 MAXDIFF: 85 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rgb b/tests/ref/vsynth2/rgb
index 4dae1053b8..ea83470814 100644
--- a/tests/ref/vsynth2/rgb
+++ b/tests/ref/vsynth2/rgb
@@ -1,4 +1,4 @@
f2e9c419023c743bf99aa5b2e55ad233 *./tests/data/vsynth2/rgb.avi
15213260 ./tests/data/vsynth2/rgb.avi
b2418e0e3a9a8619b31219cbcf24dc82 *./tests/data/rgb.vsynth2.out.yuv
-stddev: 1.26 PSNR: 46.06 bytes: 7603200/ 7603200
+stddev: 1.26 PSNR: 46.06 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/roq b/tests/ref/vsynth2/roq
index f82f6409e2..a9650deef1 100644
--- a/tests/ref/vsynth2/roq
+++ b/tests/ref/vsynth2/roq
@@ -1,4 +1,4 @@
b46f899b2363065c60f3782ba1f8b7bd *./tests/data/vsynth2/roqav.roq
92786 ./tests/data/vsynth2/roqav.roq
e69fca960dd0911e9b8d589c13e11dc1 *./tests/data/roq.vsynth2.out.yuv
-stddev: 3.81 PSNR: 36.49 bytes: 760320/ 7603200
+stddev: 3.81 PSNR: 36.49 MAXDIFF: 54 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/rv10 b/tests/ref/vsynth2/rv10
index c71d0dbbce..75b92652d9 100644
--- a/tests/ref/vsynth2/rv10
+++ b/tests/ref/vsynth2/rv10
@@ -1,4 +1,4 @@
b1467b0e8d8cad730e36d1e8ab49d573 *./tests/data/vsynth2/rv10.rm
154310 ./tests/data/vsynth2/rv10.rm
61213b91b359697ebcefb9e0a53ac54a *./tests/data/rv10.vsynth2.out.yuv
-stddev: 5.43 PSNR: 33.42 bytes: 7603200/ 7603200
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rv20 b/tests/ref/vsynth2/rv20
index d029e50374..45150cc0e7 100644
--- a/tests/ref/vsynth2/rv20
+++ b/tests/ref/vsynth2/rv20
@@ -1,4 +1,4 @@
d864475aa16d84dd99de13e65003672a *./tests/data/vsynth2/rv20.rm
132734 ./tests/data/vsynth2/rv20.rm
c66afdcc0daac2f1b4167b9811968877 *./tests/data/rv20.vsynth2.out.yuv
-stddev: 5.42 PSNR: 33.45 bytes: 7603200/ 7603200
+stddev: 5.42 PSNR: 33.45 MAXDIFF: 81 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/snow b/tests/ref/vsynth2/snow
index 521d56388e..922110bfa9 100644
--- a/tests/ref/vsynth2/snow
+++ b/tests/ref/vsynth2/snow
@@ -1,4 +1,4 @@
af651d8ef0a66257ac8b2ef8b229f27b *./tests/data/vsynth2/snow.avi
57700 ./tests/data/vsynth2/snow.avi
8890189af71a0dd3447c4e8424c9a76b *./tests/data/snow.vsynth2.out.yuv
-stddev: 10.47 PSNR: 27.72 bytes: 7603200/ 7603200
+stddev: 10.47 PSNR: 27.72 MAXDIFF: 119 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/snowll b/tests/ref/vsynth2/snowll
index 111a2f223d..0eb494513f 100644
--- a/tests/ref/vsynth2/snowll
+++ b/tests/ref/vsynth2/snowll
@@ -1,4 +1,4 @@
a8fccf278bbb17d37a756ecf11672b09 *./tests/data/vsynth2/snow53.avi
2721758 ./tests/data/vsynth2/snow53.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/snowll.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/svq1 b/tests/ref/vsynth2/svq1
index 2a391c3ea5..7c54c74ac9 100644
--- a/tests/ref/vsynth2/svq1
+++ b/tests/ref/vsynth2/svq1
@@ -1,4 +1,4 @@
7f9fbe4890bc1df67867bf03803dca48 *./tests/data/vsynth2/svq1.mov
766851 ./tests/data/vsynth2/svq1.mov
aa03471dac3f49455a33a2b19fda1098 *./tests/data/svq1.vsynth2.out.yuv
-stddev: 3.23 PSNR: 37.93 bytes: 7603200/ 7603200
+stddev: 3.23 PSNR: 37.93 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/wmv1 b/tests/ref/vsynth2/wmv1
index 3339a95e2b..12c3f5765c 100644
--- a/tests/ref/vsynth2/wmv1
+++ b/tests/ref/vsynth2/wmv1
@@ -1,4 +1,4 @@
1011e26e7d351c96d7bbfe106d831b69 *./tests/data/vsynth2/wmv1.avi
129530 ./tests/data/vsynth2/wmv1.avi
81eee429b665254d19a06607463c0b5e *./tests/data/wmv1.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.60 bytes: 7603200/ 7603200
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/wmv2 b/tests/ref/vsynth2/wmv2
index 61bb5a5c68..27fcd12872 100644
--- a/tests/ref/vsynth2/wmv2
+++ b/tests/ref/vsynth2/wmv2
@@ -1,4 +1,4 @@
1f6598e9776ed00aebdc44cc8d48cb7c *./tests/data/vsynth2/wmv2.avi
129860 ./tests/data/vsynth2/wmv2.avi
81eee429b665254d19a06607463c0b5e *./tests/data/wmv2.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.60 bytes: 7603200/ 7603200
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/yuv b/tests/ref/vsynth2/yuv
index 7bf5cae89a..6593ce9b3d 100644
--- a/tests/ref/vsynth2/yuv
+++ b/tests/ref/vsynth2/yuv
@@ -1,4 +1,4 @@
30a400773ab26f2c83e469198b156f1d *./tests/data/vsynth2/yuv.avi
7610060 ./tests/data/vsynth2/yuv.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 bytes: 7603200/ 7603200
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c
index f8d1b7bfa5..66b6747af3 100644
--- a/tests/tiny_psnr.c
+++ b/tests/tiny_psnr.c
@@ -113,6 +113,7 @@ int main(int argc,char* argv[]){
int skip_bytes = argc<6 ? 0 : atoi(argv[5]);
int size0=0;
int size1=0;
+ int maxdist = 0;
if(argc<3){
printf("tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes>]]]\n");
@@ -139,11 +140,14 @@ int main(int argc,char* argv[]){
for(j=0; j<FFMIN(s0,s1); j++){
int64_t a= buf[0][j];
int64_t b= buf[1][j];
+ int dist;
if(len==2){
a= (int16_t)(a | (buf[0][++j]<<8));
b= (int16_t)(b | (buf[1][ j]<<8));
}
sse += (a-b) * (a-b);
+ dist = abs(a-b);
+ if (dist > maxdist) maxdist = dist;
}
size0 += s0;
size1 += s1;
@@ -159,9 +163,10 @@ int main(int argc,char* argv[]){
else
psnr= 1000*F-1; //floating point free infinity :)
- printf("stddev:%5d.%02d PSNR:%3d.%02d bytes:%9d/%9d\n",
+ printf("stddev:%5d.%02d PSNR:%3d.%02d MAXDIFF:%5d bytes:%9d/%9d\n",
(int)(dev/F), (int)(dev%F),
(int)(psnr/F), (int)(psnr%F),
+ maxdist,
size0, size1);
return 0;
}