diff mbox

[FFmpeg-devel] avformat/movenc: write track data in minf->hdlr for MOV

Message ID 0dcbe286-5358-640e-ed4f-b1a9951581cb@gmail.com
State New
Headers show

Commit Message

Gyan July 8, 2018, 6:59 a.m. UTC
From 13c0956d4892fd236e2923e88ef8d4fb0de1e080 Mon Sep 17 00:00:00 2001
From: Gyan Doshi <ffmpeg@gyani.pro>
Date: Sun, 8 Jul 2018 12:05:34 +0530
Subject: [PATCH] avformat/movenc: write track data in minf->hdlr for MOV

95 FATE references updated due to changed track handler names

Fixes #7104
---
 libavformat/movenc.c                             |  4 ++--
 libavformat/version.h                            |  2 +-
 tests/ref/acodec/alac                            |  4 ++--
 tests/ref/acodec/pcm-s16be                       |  4 ++--
 tests/ref/acodec/pcm-s24be                       |  4 ++--
 tests/ref/acodec/pcm-s32be                       |  4 ++--
 tests/ref/acodec/pcm-s8                          |  4 ++--
 tests/ref/fate/adtstoasc_ticket3715              |  4 ++--
 tests/ref/fate/copy-trac236                      |  4 ++--
 .../hapqa-extract-nosnappy-to-hapalphaonly-mov   |  2 +-
 .../ref/fate/hapqa-extract-nosnappy-to-hapq-mov  |  2 +-
 tests/ref/lavf-fate/mov_qtrle_mace6              |  4 ++--
 tests/ref/lavf/mov                               | 16 ++++++++--------
 tests/ref/vsynth/vsynth1-avui                    |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-1080i             |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit       |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-1080i-colr        |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov         |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov         |  4 ++--
 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov         |  4 ++--
 tests/ref/vsynth/vsynth1-mov-bgr24               |  4 ++--
 tests/ref/vsynth/vsynth1-mov-bpp15               |  4 ++--
 tests/ref/vsynth/vsynth1-mov-bpp16               |  4 ++--
 tests/ref/vsynth/vsynth1-prores                  |  4 ++--
 tests/ref/vsynth/vsynth1-prores_ks               |  4 ++--
 tests/ref/vsynth/vsynth1-qtrle                   |  4 ++--
 tests/ref/vsynth/vsynth1-qtrlegray               |  4 ++--
 tests/ref/vsynth/vsynth1-svq1                    |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-420p                |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-420p10              |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-420p12              |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-422p                |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-422p10              |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-422p12              |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-444p                |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-444p10              |  4 ++--
 tests/ref/vsynth/vsynth1-vc2-444p12              |  4 ++--
 tests/ref/vsynth/vsynth2-avui                    |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-1080i             |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit       |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-1080i-colr        |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov         |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov         |  4 ++--
 tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov         |  4 ++--
 tests/ref/vsynth/vsynth2-mov-bgr24               |  4 ++--
 tests/ref/vsynth/vsynth2-mov-bpp15               |  4 ++--
 tests/ref/vsynth/vsynth2-mov-bpp16               |  4 ++--
 tests/ref/vsynth/vsynth2-prores                  |  4 ++--
 tests/ref/vsynth/vsynth2-prores_ks               |  4 ++--
 tests/ref/vsynth/vsynth2-qtrle                   |  4 ++--
 tests/ref/vsynth/vsynth2-qtrlegray               |  4 ++--
 tests/ref/vsynth/vsynth2-svq1                    |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-420p                |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-420p10              |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-420p12              |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-422p                |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-422p10              |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-422p12              |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-444p                |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-444p10              |  4 ++--
 tests/ref/vsynth/vsynth2-vc2-444p12              |  4 ++--
 tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit       |  4 ++--
 tests/ref/vsynth/vsynth3-dnxhd-1080i-colr        |  4 ++--
 tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov         |  4 ++--
 tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov         |  4 ++--
 tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov         |  4 ++--
 tests/ref/vsynth/vsynth3-mov-bgr24               |  4 ++--
 tests/ref/vsynth/vsynth3-mov-bpp15               |  4 ++--
 tests/ref/vsynth/vsynth3-mov-bpp16               |  4 ++--
 tests/ref/vsynth/vsynth3-prores                  |  4 ++--
 tests/ref/vsynth/vsynth3-prores_ks               |  4 ++--
 tests/ref/vsynth/vsynth3-qtrle                   |  4 ++--
 tests/ref/vsynth/vsynth3-svq1                    |  4 ++--
 tests/ref/vsynth/vsynth_lena-avui                |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i         |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit   |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr    |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov     |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov     |  4 ++--
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov     |  4 ++--
 tests/ref/vsynth/vsynth_lena-mov-bgr24           |  4 ++--
 tests/ref/vsynth/vsynth_lena-mov-bpp15           |  4 ++--
 tests/ref/vsynth/vsynth_lena-mov-bpp16           |  4 ++--
 tests/ref/vsynth/vsynth_lena-prores              |  4 ++--
 tests/ref/vsynth/vsynth_lena-prores_ks           |  4 ++--
 tests/ref/vsynth/vsynth_lena-qtrle               |  4 ++--
 tests/ref/vsynth/vsynth_lena-qtrlegray           |  4 ++--
 tests/ref/vsynth/vsynth_lena-svq1                |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-420p            |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-420p10          |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-420p12          |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-422p            |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-422p10          |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-422p12          |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-444p            |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-444p10          |  4 ++--
 tests/ref/vsynth/vsynth_lena-vc2-444p12          |  4 ++--
 97 files changed, 197 insertions(+), 197 deletions(-)

Comments

Gyan July 10, 2018, 5:10 p.m. UTC | #1
Plan to push in a day if no objections.
Gyan July 14, 2018, 8:47 a.m. UTC | #2
On 10-07-2018 10:40 PM, Gyan Doshi wrote:
> 
> Plan to push in a day if no objections.

I checked some MOVs generated by Apple s/w like FCP or QT and saw that 
they don't set stream-specific handlers in minf.

Correct way to convey handler name from input MOV to output MOV is by 
not updating handler_name from minf during demux.

This patch is superseded by

https://patchwork.ffmpeg.org/patch/9724/

Regards,
Gyan
diff mbox

Patch

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 78291a9adc..d553d7f968 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2674,8 +2674,8 @@  static int mov_write_minf_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext
     } else if (track->tag == MKTAG('g','p','m','d')) {
         mov_write_gmhd_tag(pb, track);
     }
-    if (track->mode == MODE_MOV) /* FIXME: Why do it for MODE_MOV only ? */
-        mov_write_hdlr_tag(s, pb, NULL);
+    if (track->mode == MODE_MOV) /* ISO 14496-12 8.4.3.1 specifies hdlr only within mdia or meta boxes */
+        mov_write_hdlr_tag(s, pb, track);
     mov_write_dinf_tag(pb);
     if ((ret = mov_write_stbl_tag(s, pb, mov, track)) < 0)
         return ret;
diff --git a/libavformat/version.h b/libavformat/version.h
index 57b6599e71..79e94fc808 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -33,7 +33,7 @@ 
 // Also please add any ticket numbers that you believe might be affected here
 #define LIBAVFORMAT_VERSION_MAJOR  58
 #define LIBAVFORMAT_VERSION_MINOR  17
-#define LIBAVFORMAT_VERSION_MICRO 101
+#define LIBAVFORMAT_VERSION_MICRO 102
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
                                                LIBAVFORMAT_VERSION_MINOR, \
diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac
index 7d6ebe8c8b..543a116651 100644
--- a/tests/ref/acodec/alac
+++ b/tests/ref/acodec/alac
@@ -1,4 +1,4 @@ 
-8d9fb9f5433962e7880b666e6e2e428e *tests/data/fate/acodec-alac.mov
-389018 tests/data/fate/acodec-alac.mov
+fd4e5eba27d27d6c11ac504f7e15357e *tests/data/fate/acodec-alac.mov
+389019 tests/data/fate/acodec-alac.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-alac.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s16be b/tests/ref/acodec/pcm-s16be
index a9b4593b54..84895518a1 100644
--- a/tests/ref/acodec/pcm-s16be
+++ b/tests/ref/acodec/pcm-s16be
@@ -1,4 +1,4 @@ 
-d2515f35266ae6dba525c700bb76d893 *tests/data/fate/acodec-pcm-s16be.mov
-1059069 tests/data/fate/acodec-pcm-s16be.mov
+e94c64d89ba8536c7a2c0fd0cdac9ab3 *tests/data/fate/acodec-pcm-s16be.mov
+1059070 tests/data/fate/acodec-pcm-s16be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s24be b/tests/ref/acodec/pcm-s24be
index 916aceb01b..a1aea411d3 100644
--- a/tests/ref/acodec/pcm-s24be
+++ b/tests/ref/acodec/pcm-s24be
@@ -1,4 +1,4 @@ 
-0f4a37a77619124f486f656f03c53d33 *tests/data/fate/acodec-pcm-s24be.mov
-1588323 tests/data/fate/acodec-pcm-s24be.mov
+ed14809e32b1513035d58979fb343531 *tests/data/fate/acodec-pcm-s24be.mov
+1588324 tests/data/fate/acodec-pcm-s24be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s32be b/tests/ref/acodec/pcm-s32be
index 5a48bb2757..4932b08cc9 100644
--- a/tests/ref/acodec/pcm-s32be
+++ b/tests/ref/acodec/pcm-s32be
@@ -1,4 +1,4 @@ 
-d6380bf54ac3e452c190ce302c264bf0 *tests/data/fate/acodec-pcm-s32be.mov
-2117527 tests/data/fate/acodec-pcm-s32be.mov
+ee2a68366846489a89bf76bfdc5ba4ab *tests/data/fate/acodec-pcm-s32be.mov
+2117528 tests/data/fate/acodec-pcm-s32be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s8 b/tests/ref/acodec/pcm-s8
index 14f4c8562b..0856e7fa89 100644
--- a/tests/ref/acodec/pcm-s8
+++ b/tests/ref/acodec/pcm-s8
@@ -1,4 +1,4 @@ 
-00a9d90e06e8ecb79e5dd4c6c8460836 *tests/data/fate/acodec-pcm-s8.mov
-529853 tests/data/fate/acodec-pcm-s8.mov
+f4b290f66d571c8d8ddb88571042482d *tests/data/fate/acodec-pcm-s8.mov
+529854 tests/data/fate/acodec-pcm-s8.mov
 652edf30f35ad89bf27bcc9d2f9c7b53 *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/adtstoasc_ticket3715 b/tests/ref/fate/adtstoasc_ticket3715
index c5f03e4561..837aee61f4 100644
--- a/tests/ref/fate/adtstoasc_ticket3715
+++ b/tests/ref/fate/adtstoasc_ticket3715
@@ -1,5 +1,5 @@ 
-0221e04333e6ac432fa42960502f0d5a *tests/data/fate/adtstoasc_ticket3715.mov
-33324 tests/data/fate/adtstoasc_ticket3715.mov
+0cf1454fd46654317ce464f8536e6756 *tests/data/fate/adtstoasc_ticket3715.mov
+33325 tests/data/fate/adtstoasc_ticket3715.mov
 #extradata 0:        2, 0x00340022
 #tb 0: 1/44100
 #media_type 0: audio
diff --git a/tests/ref/fate/copy-trac236 b/tests/ref/fate/copy-trac236
index 6470c05a05..855fa06e2d 100644
--- a/tests/ref/fate/copy-trac236
+++ b/tests/ref/fate/copy-trac236
@@ -1,5 +1,5 @@ 
-8b57d14c14bb4cdaca660d161e08eb8f *tests/data/fate/copy-trac236.mov
-630861 tests/data/fate/copy-trac236.mov
+3b023ebf9a6c79b3908da48bb9260310 *tests/data/fate/copy-trac236.mov
+630926 tests/data/fate/copy-trac236.mov
 #tb 0: 100/2997
 #media_type 0: video
 #codec_id 0: rawvideo
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
index f5ecdd4311..cf398146d2 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
@@ -68,6 +68,6 @@  DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 TAG:language=eng
-TAG:handler_name=DataHandler
+TAG:handler_name=Gestionnaire d�alias Apple
 TAG:encoder=HAPAlpha Only
 [/STREAM]
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
index c3a0a599fd..6e9c707a8a 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
@@ -68,6 +68,6 @@  DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 TAG:language=eng
-TAG:handler_name=DataHandler
+TAG:handler_name=Gestionnaire d�alias Apple
 TAG:encoder=HAPQ
 [/STREAM]
diff --git a/tests/ref/lavf-fate/mov_qtrle_mace6 b/tests/ref/lavf-fate/mov_qtrle_mace6
index 3afb909574..ab6694f867 100644
--- a/tests/ref/lavf-fate/mov_qtrle_mace6
+++ b/tests/ref/lavf-fate/mov_qtrle_mace6
@@ -1,3 +1,3 @@ 
-f9715cc38a3206bcdf105786905255af *./tests/data/lavf-fate/lavf.mov
-1270415 ./tests/data/lavf-fate/lavf.mov
+73f6c66042bf4e0599e90817a18a075d *./tests/data/lavf-fate/lavf.mov
+1270445 ./tests/data/lavf-fate/lavf.mov
 ./tests/data/lavf-fate/lavf.mov CRC=0x9320cd26
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index 2e1f24dfc6..9ba8fb5fac 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,14 +1,14 @@ 
-a10d50f2679df92264e1fc21cb8be630 *./tests/data/lavf/lavf.mov
-366449 ./tests/data/lavf/lavf.mov
+376db291059865ca6570e55f6d5067fa *./tests/data/lavf/lavf.mov
+366451 ./tests/data/lavf/lavf.mov
 ./tests/data/lavf/lavf.mov CRC=0xbb2b949b
-6258f70f974e3c802e01d02ac33c7bbd *./tests/data/lavf/lavf.mov
-357539 ./tests/data/lavf/lavf.mov
+dd2b794132197d92b73c2d9e6fa85fcf *./tests/data/lavf/lavf.mov
+357545 ./tests/data/lavf/lavf.mov
 ./tests/data/lavf/lavf.mov CRC=0xbb2b949b
-ba3b8b49e420510a0d417400dbedfc2d *./tests/data/lavf/lavf.mov
-366621 ./tests/data/lavf/lavf.mov
+9195beef91dbbf9f50c11b2fb28e3c4e *./tests/data/lavf/lavf.mov
+366627 ./tests/data/lavf/lavf.mov
 ./tests/data/lavf/lavf.mov CRC=0xa9793231
-fd0e4de8e7f6d0c8c0681d7020f00f50 *./tests/data/lavf/lavf.mov
-356921 ./tests/data/lavf/lavf.mov
+6122632f4b802d25bed074cf045fa8dc *./tests/data/lavf/lavf.mov
+356923 ./tests/data/lavf/lavf.mov
 ./tests/data/lavf/lavf.mov CRC=0xbb2b949b
 ebca72c186a4f3ba9bb17d9cb5b74fef *./tests/data/lavf/lavf.mp4
 312457 ./tests/data/lavf/lavf.mp4
diff --git a/tests/ref/vsynth/vsynth1-avui b/tests/ref/vsynth/vsynth1-avui
index 1f080532b5..e35089b3d6 100644
--- a/tests/ref/vsynth/vsynth1-avui
+++ b/tests/ref/vsynth/vsynth1-avui
@@ -1,4 +1,4 @@ 
-25ef49e1aee0b20d4feee89b8dc093b4 *tests/data/fate/vsynth1-avui.mov
-42625037 tests/data/fate/vsynth1-avui.mov
+451485130910e2d01db671cd94df64ee *tests/data/fate/vsynth1-avui.mov
+42625038 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/vsynth/vsynth1-dnxhd-1080i b/tests/ref/vsynth/vsynth1-dnxhd-1080i
index 02f989f307..f5937a10d4 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i
@@ -1,4 +1,4 @@ 
-a0234e0a8516d958f423b119aa9e35c4 *tests/data/fate/vsynth1-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
+8965184ded032ff1e4a9b7d647356279 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+3031912 tests/data/fate/vsynth1-dnxhd-1080i.mov
 fed9ed2a5179c9df0ef58772b025e303 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
 stddev:    6.18 PSNR: 32.31 MAXDIFF:   64 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
index dd96e1423e..e0d3e326d5 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@ 
-f562845d1848bf5d3e524b418b742e01 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+0173b758086d3a641541fae8e1cb8d0f *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+4588392 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
 31032fcb7e6af79daaac02288254c6d6 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo
 stddev:    5.69 PSNR: 33.02 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
index ac429667d6..e6740c4a4f 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
@@ -1,4 +1,4 @@ 
-5fccdb16c0f14dea1b6b603bac90b97e *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+ea0c21fffe4b6a8122fe0535f87a6cff *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+3031930 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
 6f2d5429ffc4529a76acfeb28b560542 *tests/data/fate/vsynth1-dnxhd-1080i-colr.out.rawvideo
 stddev:    5.65 PSNR: 33.09 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
index 559c2f0183..701e5f8677 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@ 
-c8b5d2bde45776bbf13f0262c915f5b9 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+d45872099c544c893a5fa52261ab97ef *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+4772600 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
 388c7c84573abe28cc963e3ad5e15a31 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    5.73 PSNR: 32.96 MAXDIFF:   56 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
index 2e2b4a3017..784eb58a5e 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@ 
-254aa3f0be811882ff351172fd391492 *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+be014bc126112b37501959d027c33b2d *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+3748600 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
 21c68252f500bada13ccce232e1ecfca *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    5.59 PSNR: 33.17 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
index 2c52e3e923..3f4d052371 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@ 
-7d7fb47e926aa565b51661264f1a39e9 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+466e925901b79b0c614d0fee92ca39fe *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+2560764 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
 66d29f91cdf038753894dd42e65d997a *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    5.77 PSNR: 32.91 MAXDIFF:   58 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-mov-bgr24 b/tests/ref/vsynth/vsynth1-mov-bgr24
index ec60442fae..08f826f82c 100644
--- a/tests/ref/vsynth/vsynth1-mov-bgr24
+++ b/tests/ref/vsynth/vsynth1-mov-bgr24
@@ -1,4 +1,4 @@ 
-93d3a2e5701c3da06da27cffa04fb730 *tests/data/fate/vsynth1-mov-bgr24.mov
-15207169 tests/data/fate/vsynth1-mov-bgr24.mov
+d81b210ee502a831553f4d28d252dad6 *tests/data/fate/vsynth1-mov-bgr24.mov
+15207170 tests/data/fate/vsynth1-mov-bgr24.mov
 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-mov-bgr24.out.rawvideo
 stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp15 b/tests/ref/vsynth/vsynth1-mov-bpp15
index cfb5e861d5..53393909e3 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp15
+++ b/tests/ref/vsynth/vsynth1-mov-bpp15
@@ -1,4 +1,4 @@ 
-00cd1f0cf8c335b8f4d7dfa81e188e75 *tests/data/fate/vsynth1-mov-bpp15.mov
-10138329 tests/data/fate/vsynth1-mov-bpp15.mov
+84d6e8b09c058f753055e9231346008d *tests/data/fate/vsynth1-mov-bpp15.mov
+10138330 tests/data/fate/vsynth1-mov-bpp15.mov
 99bece160cfb0da47f446b60d42fa3ae *tests/data/fate/vsynth1-mov-bpp15.out.rawvideo
 stddev:    4.06 PSNR: 35.94 MAXDIFF:   47 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp16 b/tests/ref/vsynth/vsynth1-mov-bpp16
index 8b17895c0e..ed3baa3ab4 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp16
+++ b/tests/ref/vsynth/vsynth1-mov-bpp16
@@ -1,4 +1,4 @@ 
-623f62ed23abf406c2d67bf65adaf421 *tests/data/fate/vsynth1-mov-bpp16.mov
-10138329 tests/data/fate/vsynth1-mov-bpp16.mov
+735991a229cfd1156fe48da40ba3431c *tests/data/fate/vsynth1-mov-bpp16.mov
+10138330 tests/data/fate/vsynth1-mov-bpp16.mov
 0cea382b9b0a4ce88260c1edc20b3f5b *tests/data/fate/vsynth1-mov-bpp16.out.rawvideo
 stddev:    3.79 PSNR: 36.55 MAXDIFF:   46 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores b/tests/ref/vsynth/vsynth1-prores
index 14de8b9cf3..56fce07562 100644
--- a/tests/ref/vsynth/vsynth1-prores
+++ b/tests/ref/vsynth/vsynth1-prores
@@ -1,4 +1,4 @@ 
-7ca7d2f9f5d8ac2ead691b1b6a70d409 *tests/data/fate/vsynth1-prores.mov
-5022821 tests/data/fate/vsynth1-prores.mov
+0d3fc9c90e382914492d40d5c9af1dac *tests/data/fate/vsynth1-prores.mov
+5022822 tests/data/fate/vsynth1-prores.mov
 fb4a9e025d12afc0dbbca8d82831858f *tests/data/fate/vsynth1-prores.out.rawvideo
 stddev:    2.47 PSNR: 40.27 MAXDIFF:   31 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_ks b/tests/ref/vsynth/vsynth1-prores_ks
index 6e5ed172b2..e883da70a4 100644
--- a/tests/ref/vsynth/vsynth1-prores_ks
+++ b/tests/ref/vsynth/vsynth1-prores_ks
@@ -1,4 +1,4 @@ 
-fe41a284da97ea5ec8866ca9a55b84da *tests/data/fate/vsynth1-prores_ks.mov
-3858911 tests/data/fate/vsynth1-prores_ks.mov
+32f0ac7253e71ef08255b473943e952e *tests/data/fate/vsynth1-prores_ks.mov
+3858912 tests/data/fate/vsynth1-prores_ks.mov
 100eb002413fe7a632d440dfbdf7e3ff *tests/data/fate/vsynth1-prores_ks.out.rawvideo
 stddev:    3.17 PSNR: 38.09 MAXDIFF:   39 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-qtrle b/tests/ref/vsynth/vsynth1-qtrle
index 4b920815ce..556fe3dc7b 100644
--- a/tests/ref/vsynth/vsynth1-qtrle
+++ b/tests/ref/vsynth/vsynth1-qtrle
@@ -1,4 +1,4 @@ 
-35d8a1446d886fadcdffae192bed7e4e *tests/data/fate/vsynth1-qtrle.mov
-15263158 tests/data/fate/vsynth1-qtrle.mov
+6967866605619b9f14fc1c22d834358c *tests/data/fate/vsynth1-qtrle.mov
+15263159 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/vsynth/vsynth1-qtrlegray b/tests/ref/vsynth/vsynth1-qtrlegray
index c3d571d92b..95a56037b2 100644
--- a/tests/ref/vsynth/vsynth1-qtrlegray
+++ b/tests/ref/vsynth/vsynth1-qtrlegray
@@ -1,4 +1,4 @@ 
-651b745a37a06ddd52adfe8e0a45b115 *tests/data/fate/vsynth1-qtrlegray.mov
-5113293 tests/data/fate/vsynth1-qtrlegray.mov
+33f87682732bb6254f101a9e09839c94 *tests/data/fate/vsynth1-qtrlegray.mov
+5113294 tests/data/fate/vsynth1-qtrlegray.mov
 cb20af0e5a65aad7cf47002fcb52288e *tests/data/fate/vsynth1-qtrlegray.out.rawvideo
 stddev:   25.34 PSNR: 20.05 MAXDIFF:  122 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-svq1 b/tests/ref/vsynth/vsynth1-svq1
index 9c1b6ff7ac..ab09335039 100644
--- a/tests/ref/vsynth/vsynth1-svq1
+++ b/tests/ref/vsynth/vsynth1-svq1
@@ -1,4 +1,4 @@ 
-a3206831d34197a2d236d82dd0248646 *tests/data/fate/vsynth1-svq1.mov
-1334233 tests/data/fate/vsynth1-svq1.mov
+d4c46e6df7351d200d423af13bc5e4a6 *tests/data/fate/vsynth1-svq1.mov
+1334234 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/vsynth/vsynth1-vc2-420p b/tests/ref/vsynth/vsynth1-vc2-420p
index e925c53bae..600d31a7f6 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p
+++ b/tests/ref/vsynth/vsynth1-vc2-420p
@@ -1,4 +1,4 @@ 
-fb8fffcfc17558c87dd11a67ccb0f615 *tests/data/fate/vsynth1-vc2-420p.mov
-1155415 tests/data/fate/vsynth1-vc2-420p.mov
+790c6855ea37072f81703efd4f4aa618 *tests/data/fate/vsynth1-vc2-420p.mov
+1155416 tests/data/fate/vsynth1-vc2-420p.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p10 b/tests/ref/vsynth/vsynth1-vc2-420p10
index 025a1cc779..28e515abe6 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p10
+++ b/tests/ref/vsynth/vsynth1-vc2-420p10
@@ -1,4 +1,4 @@ 
-1365742985b6315f6796c765aa17f39e *tests/data/fate/vsynth1-vc2-420p10.mov
-1417047 tests/data/fate/vsynth1-vc2-420p10.mov
+a4f40d9ec8fce3fd7c68599670183420 *tests/data/fate/vsynth1-vc2-420p10.mov
+1417048 tests/data/fate/vsynth1-vc2-420p10.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p12 b/tests/ref/vsynth/vsynth1-vc2-420p12
index 719f0d5f37..e73ff9ccea 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p12
+++ b/tests/ref/vsynth/vsynth1-vc2-420p12
@@ -1,4 +1,4 @@ 
-08a844d17940cd612da269fb08430628 *tests/data/fate/vsynth1-vc2-420p12.mov
-1746007 tests/data/fate/vsynth1-vc2-420p12.mov
+563614fbf13cf670ac89fd8b5b06b836 *tests/data/fate/vsynth1-vc2-420p12.mov
+1746008 tests/data/fate/vsynth1-vc2-420p12.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p b/tests/ref/vsynth/vsynth1-vc2-422p
index 8fc61887d7..6ea96e97ac 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p
+++ b/tests/ref/vsynth/vsynth1-vc2-422p
@@ -1,4 +1,4 @@ 
-19f01a985e87e14664e0e5d14c02d046 *tests/data/fate/vsynth1-vc2-422p.mov
-1229783 tests/data/fate/vsynth1-vc2-422p.mov
+c9cc8ee62eafeb9c44cbda7e083e95f1 *tests/data/fate/vsynth1-vc2-422p.mov
+1229784 tests/data/fate/vsynth1-vc2-422p.mov
 57a7f41235e7f9f094aa7ba5bdc82f02 *tests/data/fate/vsynth1-vc2-422p.out.rawvideo
 stddev:    1.89 PSNR: 42.58 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p10 b/tests/ref/vsynth/vsynth1-vc2-422p10
index ac1072f3d1..0bb20e5ba7 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p10
+++ b/tests/ref/vsynth/vsynth1-vc2-422p10
@@ -1,4 +1,4 @@ 
-88e3488e4689cf06e75959c71e2f9d96 *tests/data/fate/vsynth1-vc2-422p10.mov
-1684055 tests/data/fate/vsynth1-vc2-422p10.mov
+48895936b42e0561f8becfbd90149f7c *tests/data/fate/vsynth1-vc2-422p10.mov
+1684056 tests/data/fate/vsynth1-vc2-422p10.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p12 b/tests/ref/vsynth/vsynth1-vc2-422p12
index 0ad4798e6b..4a36dea5ac 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p12
+++ b/tests/ref/vsynth/vsynth1-vc2-422p12
@@ -1,4 +1,4 @@ 
-b162a7c531fb06f436c79b38fb3d7403 *tests/data/fate/vsynth1-vc2-422p12.mov
-2135131 tests/data/fate/vsynth1-vc2-422p12.mov
+84e10404d45b713aef83b3dbb69cee2c *tests/data/fate/vsynth1-vc2-422p12.mov
+2135132 tests/data/fate/vsynth1-vc2-422p12.mov
 1b56b3d127320c0e6c643e3430b7ffd1 *tests/data/fate/vsynth1-vc2-422p12.out.rawvideo
 stddev:    1.88 PSNR: 42.62 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p b/tests/ref/vsynth/vsynth1-vc2-444p
index d01e9381b3..7e8448b0bc 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p
+++ b/tests/ref/vsynth/vsynth1-vc2-444p
@@ -1,4 +1,4 @@ 
-b3f0d987dcb0b5d1eb0b87f356ad21c4 *tests/data/fate/vsynth1-vc2-444p.mov
-1593810 tests/data/fate/vsynth1-vc2-444p.mov
+7381677619af44c3b205545c214d31a9 *tests/data/fate/vsynth1-vc2-444p.mov
+1593811 tests/data/fate/vsynth1-vc2-444p.mov
 791cf0f21558ad4a4cad43da05628e06 *tests/data/fate/vsynth1-vc2-444p.out.rawvideo
 stddev:    2.69 PSNR: 39.51 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p10 b/tests/ref/vsynth/vsynth1-vc2-444p10
index af00746782..55c4bb2a1e 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p10
+++ b/tests/ref/vsynth/vsynth1-vc2-444p10
@@ -1,4 +1,4 @@ 
-ef286696c5d37277b4064c4f87f6e564 *tests/data/fate/vsynth1-vc2-444p10.mov
-2167643 tests/data/fate/vsynth1-vc2-444p10.mov
+0c9cc8fef279853d81c09320746eaac5 *tests/data/fate/vsynth1-vc2-444p10.mov
+2167644 tests/data/fate/vsynth1-vc2-444p10.mov
 0e2cd6d0e1d68ffee64d269dcb57d66d *tests/data/fate/vsynth1-vc2-444p10.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p12 b/tests/ref/vsynth/vsynth1-vc2-444p12
index 6a71b6735b..62aba1c4d6 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p12
+++ b/tests/ref/vsynth/vsynth1-vc2-444p12
@@ -1,4 +1,4 @@ 
-21aaed7828fa847ce5b75399efbc768c *tests/data/fate/vsynth1-vc2-444p12.mov
-2755159 tests/data/fate/vsynth1-vc2-444p12.mov
+ebc35f35ec74f9ef7429cdbe249131cb *tests/data/fate/vsynth1-vc2-444p12.mov
+2755160 tests/data/fate/vsynth1-vc2-444p12.mov
 55998114d7386d219a49011c8b804a58 *tests/data/fate/vsynth1-vc2-444p12.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-avui b/tests/ref/vsynth/vsynth2-avui
index 2423916f4d..ef528a544e 100644
--- a/tests/ref/vsynth/vsynth2-avui
+++ b/tests/ref/vsynth/vsynth2-avui
@@ -1,4 +1,4 @@ 
-8f6ab410bb6b5dc4599e12968dbd0366 *tests/data/fate/vsynth2-avui.mov
-42625037 tests/data/fate/vsynth2-avui.mov
+0618ee6f8f6f78c57e5e45e75179734a *tests/data/fate/vsynth2-avui.mov
+42625038 tests/data/fate/vsynth2-avui.mov
 36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i b/tests/ref/vsynth/vsynth2-dnxhd-1080i
index eabb6a2b28..1ebc8ca854 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i
@@ -1,4 +1,4 @@ 
-2b75889122f8d918e1b068d128b618ca *tests/data/fate/vsynth2-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
+91ba383a13c81307f81135365d5447c2 *tests/data/fate/vsynth2-dnxhd-1080i.mov
+3031912 tests/data/fate/vsynth2-dnxhd-1080i.mov
 e941d2587cfeccddc450da7f41f7f911 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
 stddev:    1.50 PSNR: 44.56 MAXDIFF:   31 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
index 3361c9341d..d90dfe86f3 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@ 
-514607eecfd9004aa4da1d216f7620ce *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+bf449823f5a8d2bd48626b212ca4fbf8 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+4588392 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
 e4ca9be476869afb94962d945f90bdf6 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.57 PSNR: 44.18 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
index 06731a885c..6a5a288e38 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
@@ -1,4 +1,4 @@ 
-f9827e9867b0ea4f7585d8e362a58413 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+993185aed440dfcb5fdec6c4bc0d6139 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+3031930 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
 ec40a8014b819d02951b2f06bee7b514 *tests/data/fate/vsynth2-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.54 PSNR: 44.33 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
index ab49a3aae9..27b013ddee 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@ 
-a15a4d267dcaeba7a366733be0b508df *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+f15a846490a0b18f359c8eac4785fd2c *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+4772600 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
 9c087836b5e07bddb96533d27939219f *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.56 PSNR: 44.25 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
index 1f0f496885..21afd056ab 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@ 
-f8c366051fb16025e97f1bf78f13e1af *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+bc1e34bdcea2818f2c979c0dc9fe8c4e *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+3748600 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
 6d4cdd8822ead300690af9ce52db037c *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.52 PSNR: 44.49 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
index 7bffbedb4c..1227f0b28a 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@ 
-863b1780cfdabfd713ddf722792a5e61 *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+ebe768d9eab58352dfbe0341e329370f *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+2560764 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
 ba86d472b3f160e2f1d00cf569231e3f *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.58 PSNR: 44.13 MAXDIFF:   35 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-mov-bgr24 b/tests/ref/vsynth/vsynth2-mov-bgr24
index 8d9adc1f3d..b19a463429 100644
--- a/tests/ref/vsynth/vsynth2-mov-bgr24
+++ b/tests/ref/vsynth/vsynth2-mov-bgr24
@@ -1,4 +1,4 @@ 
-ed8dbb665820659d9c4fa659e0a20c65 *tests/data/fate/vsynth2-mov-bgr24.mov
-15207169 tests/data/fate/vsynth2-mov-bgr24.mov
+1a90579efa08dc48fd68728ab1ab7357 *tests/data/fate/vsynth2-mov-bgr24.mov
+15207170 tests/data/fate/vsynth2-mov-bgr24.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-mov-bgr24.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp15 b/tests/ref/vsynth/vsynth2-mov-bpp15
index c61b88a73f..6a804e4246 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp15
+++ b/tests/ref/vsynth/vsynth2-mov-bpp15
@@ -1,4 +1,4 @@ 
-d694493c1fe20211e12d797620d622ec *tests/data/fate/vsynth2-mov-bpp15.mov
-10138329 tests/data/fate/vsynth2-mov-bpp15.mov
+cc8eae1d9d3fb61591dcebd012c059bf *tests/data/fate/vsynth2-mov-bpp15.mov
+10138330 tests/data/fate/vsynth2-mov-bpp15.mov
 eb3f0c974ed17ede7cd3ce30ce417d8d *tests/data/fate/vsynth2-mov-bpp15.out.rawvideo
 stddev:    2.81 PSNR: 39.14 MAXDIFF:   19 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp16 b/tests/ref/vsynth/vsynth2-mov-bpp16
index 1839e55cc2..c12b5bb73b 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp16
+++ b/tests/ref/vsynth/vsynth2-mov-bpp16
@@ -1,4 +1,4 @@ 
-c2685405eaec39007a68108c4533ba0e *tests/data/fate/vsynth2-mov-bpp16.mov
-10138329 tests/data/fate/vsynth2-mov-bpp16.mov
+7f867e9c39a8b5bef9e96ac64751f7f0 *tests/data/fate/vsynth2-mov-bpp16.mov
+10138330 tests/data/fate/vsynth2-mov-bpp16.mov
 7747ab837f0e832be2124120d4f7df1c *tests/data/fate/vsynth2-mov-bpp16.out.rawvideo
 stddev:    2.21 PSNR: 41.24 MAXDIFF:   18 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores b/tests/ref/vsynth/vsynth2-prores
index a1b4bb748f..a22b2a6e3e 100644
--- a/tests/ref/vsynth/vsynth2-prores
+++ b/tests/ref/vsynth/vsynth2-prores
@@ -1,4 +1,4 @@ 
-aa57fd1221b7eefaf1f34f9d57d6a7cb *tests/data/fate/vsynth2-prores.mov
-3265056 tests/data/fate/vsynth2-prores.mov
+7f67d455f6623d47986a306ae510257d *tests/data/fate/vsynth2-prores.mov
+3265057 tests/data/fate/vsynth2-prores.mov
 537b0ff66d7c8c3c12faa89d042e6a49 *tests/data/fate/vsynth2-prores.out.rawvideo
 stddev:    1.38 PSNR: 45.29 MAXDIFF:   12 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_ks b/tests/ref/vsynth/vsynth2-prores_ks
index b42e7b38cf..bd70479bd2 100644
--- a/tests/ref/vsynth/vsynth2-prores_ks
+++ b/tests/ref/vsynth/vsynth2-prores_ks
@@ -1,4 +1,4 @@ 
-00c75fc738859e41c48cbe36ad60c2e2 *tests/data/fate/vsynth2-prores_ks.mov
-3868162 tests/data/fate/vsynth2-prores_ks.mov
+06a1efecde99f2994caf7854291496e3 *tests/data/fate/vsynth2-prores_ks.mov
+3868163 tests/data/fate/vsynth2-prores_ks.mov
 fe7ad707205c6100e9a3956d4e1c300e *tests/data/fate/vsynth2-prores_ks.out.rawvideo
 stddev:    1.17 PSNR: 46.72 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrle b/tests/ref/vsynth/vsynth2-qtrle
index 4adf913d18..8f6ab1fbb5 100644
--- a/tests/ref/vsynth/vsynth2-qtrle
+++ b/tests/ref/vsynth/vsynth2-qtrle
@@ -1,4 +1,4 @@ 
-b44d1cd0bb4c1e7c57d668bd9c1d319a *tests/data/fate/vsynth2-qtrle.mov
-14035926 tests/data/fate/vsynth2-qtrle.mov
+0a8b186c7ca6251eeea4f882de4adde7 *tests/data/fate/vsynth2-qtrle.mov
+14035927 tests/data/fate/vsynth2-qtrle.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-qtrle.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrlegray b/tests/ref/vsynth/vsynth2-qtrlegray
index 824e64b283..4c240e5468 100644
--- a/tests/ref/vsynth/vsynth2-qtrlegray
+++ b/tests/ref/vsynth/vsynth2-qtrlegray
@@ -1,4 +1,4 @@ 
-4910471607743da624ef7339637a33e2 *tests/data/fate/vsynth2-qtrlegray.mov
-4988372 tests/data/fate/vsynth2-qtrlegray.mov
+f255456b02e353499ff296e4d2fea13f *tests/data/fate/vsynth2-qtrlegray.mov
+4988373 tests/data/fate/vsynth2-qtrlegray.mov
 510a92a21b552c51fcafab8188982f4d *tests/data/fate/vsynth2-qtrlegray.out.rawvideo
 stddev:   16.31 PSNR: 23.88 MAXDIFF:   89 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-svq1 b/tests/ref/vsynth/vsynth2-svq1
index 9c7db7f035..0dd4fa3332 100644
--- a/tests/ref/vsynth/vsynth2-svq1
+++ b/tests/ref/vsynth/vsynth2-svq1
@@ -1,4 +1,4 @@ 
-c767386f0f6f36b554d278592bc6e9a4 *tests/data/fate/vsynth2-svq1.mov
-940289 tests/data/fate/vsynth2-svq1.mov
+9463982d832ccb72811467b6240e2afd *tests/data/fate/vsynth2-svq1.mov
+940290 tests/data/fate/vsynth2-svq1.mov
 a8cd3b833cd7f570ddbf1e6b3eb125b6 *tests/data/fate/vsynth2-svq1.out.rawvideo
 stddev:    3.71 PSNR: 36.72 MAXDIFF:  210 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p b/tests/ref/vsynth/vsynth2-vc2-420p
index f355e8d30c..bc0a4911e6 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p
+++ b/tests/ref/vsynth/vsynth2-vc2-420p
@@ -1,4 +1,4 @@ 
-ac4df937fed73532bd8713b0e07870c9 *tests/data/fate/vsynth2-vc2-420p.mov
-860743 tests/data/fate/vsynth2-vc2-420p.mov
+8c88589cc1e3aee4f5c31c5207ba0bde *tests/data/fate/vsynth2-vc2-420p.mov
+860744 tests/data/fate/vsynth2-vc2-420p.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p10 b/tests/ref/vsynth/vsynth2-vc2-420p10
index 48d97d60e4..c086675943 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p10
+++ b/tests/ref/vsynth/vsynth2-vc2-420p10
@@ -1,4 +1,4 @@ 
-1197f8108683b9eb6b0777adb2db1aa8 *tests/data/fate/vsynth2-vc2-420p10.mov
-1181271 tests/data/fate/vsynth2-vc2-420p10.mov
+71267d4ccec1c0bbcd616f4b4e6e6d87 *tests/data/fate/vsynth2-vc2-420p10.mov
+1181272 tests/data/fate/vsynth2-vc2-420p10.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p12 b/tests/ref/vsynth/vsynth2-vc2-420p12
index 9b9ccb8ec1..5334692e44 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p12
+++ b/tests/ref/vsynth/vsynth2-vc2-420p12
@@ -1,4 +1,4 @@ 
-0e6b3aefd70fca45e67dc8cbc99640e8 *tests/data/fate/vsynth2-vc2-420p12.mov
-1525079 tests/data/fate/vsynth2-vc2-420p12.mov
+def8f5320af6dafdf9ad2c7bed9a2604 *tests/data/fate/vsynth2-vc2-420p12.mov
+1525080 tests/data/fate/vsynth2-vc2-420p12.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p b/tests/ref/vsynth/vsynth2-vc2-422p
index 83689a73ef..6d8273383b 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p
+++ b/tests/ref/vsynth/vsynth2-vc2-422p
@@ -1,4 +1,4 @@ 
-b2573399e0ed62ede66b1708de86412a *tests/data/fate/vsynth2-vc2-422p.mov
-1035207 tests/data/fate/vsynth2-vc2-422p.mov
+73beb190ec8a5584e57349238c250d8b *tests/data/fate/vsynth2-vc2-422p.mov
+1035208 tests/data/fate/vsynth2-vc2-422p.mov
 c14eb0038a5dba9382f42f750d46ed3c *tests/data/fate/vsynth2-vc2-422p.out.rawvideo
 stddev:    0.35 PSNR: 57.21 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p10 b/tests/ref/vsynth/vsynth2-vc2-422p10
index af9a0b15f7..f6fe5ddfe3 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p10
+++ b/tests/ref/vsynth/vsynth2-vc2-422p10
@@ -1,4 +1,4 @@ 
-ca65de033b17c67be94356e0b6e0b128 *tests/data/fate/vsynth2-vc2-422p10.mov
-1321687 tests/data/fate/vsynth2-vc2-422p10.mov
+e8c8d3f69c08d53d0ef56b650a93aab0 *tests/data/fate/vsynth2-vc2-422p10.mov
+1321688 tests/data/fate/vsynth2-vc2-422p10.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-422p10.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p12 b/tests/ref/vsynth/vsynth2-vc2-422p12
index 16f978a87f..4b2a4f0790 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p12
+++ b/tests/ref/vsynth/vsynth2-vc2-422p12
@@ -1,4 +1,4 @@ 
-4e95706b063adbcc1f7f82a4e7d7d027 *tests/data/fate/vsynth2-vc2-422p12.mov
-1752535 tests/data/fate/vsynth2-vc2-422p12.mov
+861a6e37d1ec34a80ff2bd2719e27001 *tests/data/fate/vsynth2-vc2-422p12.mov
+1752536 tests/data/fate/vsynth2-vc2-422p12.mov
 7241b922e7c17d14701567db6c743a9e *tests/data/fate/vsynth2-vc2-422p12.out.rawvideo
 stddev:    0.37 PSNR: 56.73 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p b/tests/ref/vsynth/vsynth2-vc2-444p
index 83979964dd..b19093cb3b 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p
+++ b/tests/ref/vsynth/vsynth2-vc2-444p
@@ -1,4 +1,4 @@ 
-644a39d1b853f44722a4332d5a13797e *tests/data/fate/vsynth2-vc2-444p.mov
-1202386 tests/data/fate/vsynth2-vc2-444p.mov
+e74b70b98bc29922cc61cc189eadcd8a *tests/data/fate/vsynth2-vc2-444p.mov
+1202387 tests/data/fate/vsynth2-vc2-444p.mov
 6b35f3ddc3b52f4424237d4191a2461f *tests/data/fate/vsynth2-vc2-444p.out.rawvideo
 stddev:    0.44 PSNR: 55.07 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p10 b/tests/ref/vsynth/vsynth2-vc2-444p10
index 7d9367a4c5..78fae8fd70 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p10
+++ b/tests/ref/vsynth/vsynth2-vc2-444p10
@@ -1,4 +1,4 @@ 
-36cfc3da2ab6ff6d48f17ab43e77774d *tests/data/fate/vsynth2-vc2-444p10.mov
-1603927 tests/data/fate/vsynth2-vc2-444p10.mov
+74bf8c92f70e65a5e7b7bca098f9d455 *tests/data/fate/vsynth2-vc2-444p10.mov
+1603928 tests/data/fate/vsynth2-vc2-444p10.mov
 d5c80ee1881a0306b0487e3c868529a3 *tests/data/fate/vsynth2-vc2-444p10.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p12 b/tests/ref/vsynth/vsynth2-vc2-444p12
index 00098309af..9cadb3de89 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p12
+++ b/tests/ref/vsynth/vsynth2-vc2-444p12
@@ -1,4 +1,4 @@ 
-6117c2ee6d5c22ee5a0b0ac6b70e6c17 *tests/data/fate/vsynth2-vc2-444p12.mov
-2145499 tests/data/fate/vsynth2-vc2-444p12.mov
+dfc1fe1cdd79ddbe6a84f0b8e7cfdcb7 *tests/data/fate/vsynth2-vc2-444p12.mov
+2145500 tests/data/fate/vsynth2-vc2-444p12.mov
 38836be5c12b951c9b280d15fe3b31ce *tests/data/fate/vsynth2-vc2-444p12.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
index 006af6c5d4..ef8e0075ce 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@ 
-dea8862f8ae9fb03f665f358dde75962 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+14ad7384c2828e78fd38eafa184dd263 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+4588392 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
 c192f36ef8687e56c72a3dc416c7e191 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
index 8d7d3b6533..8942bd7fb6 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
@@ -1,4 +1,4 @@ 
-ee7a70832f37793b62642f770d988bdb *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+08045cbc7db92a254a47ed38d22c04ac *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+3031930 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
 f907fd2d48bedbc5283fbfc3fb9f61a0 *tests/data/fate/vsynth3-dnxhd-1080i-colr.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
index e46e1514b0..ab5684d52d 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@ 
-ca442de6ac8971a1da0afed0ee7fbd18 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+319671ecfea83f102e3a36aa37d6c385 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+4772600 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
 aa2e6c13a1e7760a22fccfca9faacdf3 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
index f869caf0c7..d67e7e973b 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@ 
-921f16751950320d8da7a1dde215c2ff *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+47b855895c4fa82f00c3227c9a03ce2f *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+3748600 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
 1a4d12fd893e4585944dd9c68fb23edf *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
index b247ce787a..c5c6548340 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@ 
-aa51e1aaf9bd8899e282096d2dcb4f25 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+48f4b67265b02c831f94ecbebfe6c076 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+2560764 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
 730c00cc5a24e13ee99a75789806cb28 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    6.91 PSNR: 31.33 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-mov-bgr24 b/tests/ref/vsynth/vsynth3-mov-bgr24
index 9ceb69eed5..5dfcf1a63b 100644
--- a/tests/ref/vsynth/vsynth3-mov-bgr24
+++ b/tests/ref/vsynth/vsynth3-mov-bgr24
@@ -1,4 +1,4 @@ 
-9af1caa30e99cc422c8a0734051f7f95 *tests/data/fate/vsynth3-mov-bgr24.mov
-174093 tests/data/fate/vsynth3-mov-bgr24.mov
+8b5a2ae365a4a479e45adceae25094ec *tests/data/fate/vsynth3-mov-bgr24.mov
+174094 tests/data/fate/vsynth3-mov-bgr24.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-mov-bgr24.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp15 b/tests/ref/vsynth/vsynth3-mov-bpp15
index dfee45858f..054ec34ee5 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp15
+++ b/tests/ref/vsynth/vsynth3-mov-bpp15
@@ -1,4 +1,4 @@ 
-3d64ea4e9c78e72fcedca5e00363db7b *tests/data/fate/vsynth3-mov-bpp15.mov
-116293 tests/data/fate/vsynth3-mov-bpp15.mov
+9d906752c429be180f95821dcd6cb681 *tests/data/fate/vsynth3-mov-bpp15.mov
+116294 tests/data/fate/vsynth3-mov-bpp15.mov
 19f61c34cbdef98b0f4aca6c19f59ed4 *tests/data/fate/vsynth3-mov-bpp15.out.rawvideo
 stddev:    4.35 PSNR: 35.35 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp16 b/tests/ref/vsynth/vsynth3-mov-bpp16
index 86c6d7ae65..744421c9dd 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp16
+++ b/tests/ref/vsynth/vsynth3-mov-bpp16
@@ -1,4 +1,4 @@ 
-ddff7831e0d3e950cee4fdb7fceeb76a *tests/data/fate/vsynth3-mov-bpp16.mov
-116293 tests/data/fate/vsynth3-mov-bpp16.mov
+3d9ebcd97b3e67471bd2ba587bd388db *tests/data/fate/vsynth3-mov-bpp16.mov
+116294 tests/data/fate/vsynth3-mov-bpp16.mov
 756f68dd5412d245d4bbeda7b5d51829 *tests/data/fate/vsynth3-mov-bpp16.out.rawvideo
 stddev:    4.07 PSNR: 35.93 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores b/tests/ref/vsynth/vsynth3-prores
index f63a7a736f..c54be1de80 100644
--- a/tests/ref/vsynth/vsynth3-prores
+++ b/tests/ref/vsynth/vsynth3-prores
@@ -1,4 +1,4 @@ 
-b060c59be88b4b089ece5ee8dc4f1c58 *tests/data/fate/vsynth3-prores.mov
-105367 tests/data/fate/vsynth3-prores.mov
+8f17f9dd3320be5912f974e7d4f1e22f *tests/data/fate/vsynth3-prores.mov
+105368 tests/data/fate/vsynth3-prores.mov
 fff5e7ad21d78501c8fa4749bf4bf289 *tests/data/fate/vsynth3-prores.out.rawvideo
 stddev:    2.80 PSNR: 39.17 MAXDIFF:   27 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_ks b/tests/ref/vsynth/vsynth3-prores_ks
index 99cfc1397e..421db608a6 100644
--- a/tests/ref/vsynth/vsynth3-prores_ks
+++ b/tests/ref/vsynth/vsynth3-prores_ks
@@ -1,4 +1,4 @@ 
-7ceff8c9cffca766f8a167ba73dad0e2 *tests/data/fate/vsynth3-prores_ks.mov
-95053 tests/data/fate/vsynth3-prores_ks.mov
+80f54d845544e3b6db24d543bc9bfdfe *tests/data/fate/vsynth3-prores_ks.mov
+95054 tests/data/fate/vsynth3-prores_ks.mov
 9ab6d3e3cc7749796cd9fa984c60d890 *tests/data/fate/vsynth3-prores_ks.out.rawvideo
 stddev:    4.09 PSNR: 35.88 MAXDIFF:   35 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-qtrle b/tests/ref/vsynth/vsynth3-qtrle
index 6f93232789..d3ba8c0452 100644
--- a/tests/ref/vsynth/vsynth3-qtrle
+++ b/tests/ref/vsynth/vsynth3-qtrle
@@ -1,4 +1,4 @@ 
-33ec7d4f0a18fcf6da3bdacb494e2035 *tests/data/fate/vsynth3-qtrle.mov
-179656 tests/data/fate/vsynth3-qtrle.mov
+696554466fa6bb1152e80d76a283b7fd *tests/data/fate/vsynth3-qtrle.mov
+179657 tests/data/fate/vsynth3-qtrle.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-qtrle.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-svq1 b/tests/ref/vsynth/vsynth3-svq1
index b51fa03e83..96f0b8dd58 100644
--- a/tests/ref/vsynth/vsynth3-svq1
+++ b/tests/ref/vsynth/vsynth3-svq1
@@ -1,4 +1,4 @@ 
-1eaf318269afd7426406d73397c39a48 *tests/data/fate/vsynth3-svq1.mov
-40773 tests/data/fate/vsynth3-svq1.mov
+05699edb14a5001cdc79e90171d6113d *tests/data/fate/vsynth3-svq1.mov
+40774 tests/data/fate/vsynth3-svq1.mov
 a1e5334cf67649bf8c7d95dc4d1bf148 *tests/data/fate/vsynth3-svq1.out.rawvideo
 stddev:   14.49 PSNR: 24.91 MAXDIFF:  183 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-avui b/tests/ref/vsynth/vsynth_lena-avui
index c2fced8e6c..79970dd429 100644
--- a/tests/ref/vsynth/vsynth_lena-avui
+++ b/tests/ref/vsynth/vsynth_lena-avui
@@ -1,4 +1,4 @@ 
-26805e15d9e732cd24aea91ae564d5c3 *tests/data/fate/vsynth_lena-avui.mov
-42625037 tests/data/fate/vsynth_lena-avui.mov
+0f3cdf3b6ce3aa7c52ffa2a8e4c3248c *tests/data/fate/vsynth_lena-avui.mov
+42625038 tests/data/fate/vsynth_lena-avui.mov
 dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
index 16702db712..11a9c4b1b0 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
@@ -1,4 +1,4 @@ 
-f7412afbcb4454692f7492f6710189e3 *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+833784292905b8649c4e7c2be0d589f9 *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+3031912 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
 7d0ca92f12711535d57eff3609462b31 *tests/data/fate/vsynth_lena-dnxhd-1080i.out.rawvideo
 stddev:    1.29 PSNR: 45.87 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
index 109e3d5623..c60c33e798 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@ 
-72144676d0c6e320ff2c9b28bc3e4fa2 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+db357445bfc9e3d38e391e8e86bb0ea1 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+4588392 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
 f2dc4375c58e0406d442e0cb28573e91 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.36 PSNR: 45.40 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
index 8e43a3f9de..4dfada9519 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
@@ -1,4 +1,4 @@ 
-5ba3ddb58b10e5f0069cb4f82d594695 *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+426bea9ded2c93c0293080643f8cef4c *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+3031930 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
 ce4993a69ef55c8c4b18138716f17b6f *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.33 PSNR: 45.59 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
index 9cea762423..1c267bfc1c 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@ 
-b232775e04c6a6a7995799db6cd8c255 *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+7d920ce1619f44bd96dd312036032049 *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+4772600 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
 e6c3531cb32eb3d0c465c44098746fea *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.34 PSNR: 45.54 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
index a582b882d9..8ceed1b890 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@ 
-2c6881ebb8efdb02189862f67cd72851 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+8ecf1130f932213a122fd21a23da8162 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+3748600 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
 0951de00b90d1bf34d2ff10a51db705d *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.31 PSNR: 45.72 MAXDIFF:   21 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
index 80a6897852..01c5c3b859 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@ 
-b3b2380b019f0f655af5d61caa76cf12 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+54af314f773fa7672192c5e7972ad358 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+2560764 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
 95e7da46fc066ed795de4ec1cf4d4ab5 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.35 PSNR: 45.51 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bgr24 b/tests/ref/vsynth/vsynth_lena-mov-bgr24
index 3117bf2a8f..31e11c1bf9 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bgr24
+++ b/tests/ref/vsynth/vsynth_lena-mov-bgr24
@@ -1,4 +1,4 @@ 
-f1eccd8c8719e3fabfe7855dad997699 *tests/data/fate/vsynth_lena-mov-bgr24.mov
-15207169 tests/data/fate/vsynth_lena-mov-bgr24.mov
+ae16d4c46af5010c2e3d0d68c9329856 *tests/data/fate/vsynth_lena-mov-bgr24.mov
+15207170 tests/data/fate/vsynth_lena-mov-bgr24.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-mov-bgr24.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp15 b/tests/ref/vsynth/vsynth_lena-mov-bpp15
index 2a7ddd6713..68579ac62e 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp15
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp15
@@ -1,4 +1,4 @@ 
-286e9e0712da1efb186a7228b6d4a177 *tests/data/fate/vsynth_lena-mov-bpp15.mov
-10138329 tests/data/fate/vsynth_lena-mov-bpp15.mov
+d165d673ca3f2e2416b6ccdcaa401db5 *tests/data/fate/vsynth_lena-mov-bpp15.mov
+10138330 tests/data/fate/vsynth_lena-mov-bpp15.mov
 be0e64bdf519ce1097613063804eded9 *tests/data/fate/vsynth_lena-mov-bpp15.out.rawvideo
 stddev:    2.16 PSNR: 41.43 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp16 b/tests/ref/vsynth/vsynth_lena-mov-bpp16
index 2c478b9046..529b347424 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp16
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp16
@@ -1,4 +1,4 @@ 
-1da4058a0cfb241d735ed46a0b18efa3 *tests/data/fate/vsynth_lena-mov-bpp16.mov
-10138329 tests/data/fate/vsynth_lena-mov-bpp16.mov
+c276d67d152e15eb1f006d302d055d86 *tests/data/fate/vsynth_lena-mov-bpp16.mov
+10138330 tests/data/fate/vsynth_lena-mov-bpp16.mov
 789bfa1dc2a72f498928f2ae85e461c3 *tests/data/fate/vsynth_lena-mov-bpp16.out.rawvideo
 stddev:    1.76 PSNR: 43.18 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores b/tests/ref/vsynth/vsynth_lena-prores
index 5b8c3fe1b4..8f0566b102 100644
--- a/tests/ref/vsynth/vsynth_lena-prores
+++ b/tests/ref/vsynth/vsynth_lena-prores
@@ -1,4 +1,4 @@ 
-637f34b5fd81f072f76a967595fa6af7 *tests/data/fate/vsynth_lena-prores.mov
-2844076 tests/data/fate/vsynth_lena-prores.mov
+a115394ae4df25e7f42eadbc2146d638 *tests/data/fate/vsynth_lena-prores.mov
+2844077 tests/data/fate/vsynth_lena-prores.mov
 03fd29e3963716a09d232b6f817ecb57 *tests/data/fate/vsynth_lena-prores.out.rawvideo
 stddev:    1.31 PSNR: 45.77 MAXDIFF:   11 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_ks b/tests/ref/vsynth/vsynth_lena-prores_ks
index 0cdfa9bb2c..b7dc208d24 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_ks
+++ b/tests/ref/vsynth/vsynth_lena-prores_ks
@@ -1,4 +1,4 @@ 
-b03741c69037cbdcd2809278c00c0350 *tests/data/fate/vsynth_lena-prores_ks.mov
-3884596 tests/data/fate/vsynth_lena-prores_ks.mov
+8accb08b9988570d1d30b3c076e1984a *tests/data/fate/vsynth_lena-prores_ks.mov
+3884597 tests/data/fate/vsynth_lena-prores_ks.mov
 6cfe987de99cf8ac9d43bdc5cd150838 *tests/data/fate/vsynth_lena-prores_ks.out.rawvideo
 stddev:    0.92 PSNR: 48.78 MAXDIFF:   10 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrle b/tests/ref/vsynth/vsynth_lena-qtrle
index 9ce6abe5ba..6109335560 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrle
+++ b/tests/ref/vsynth/vsynth_lena-qtrle
@@ -1,4 +1,4 @@ 
-4863978263d966d704ffaaa6d23123bb *tests/data/fate/vsynth_lena-qtrle.mov
-14798345 tests/data/fate/vsynth_lena-qtrle.mov
+308d77a773099948f2eeb594338f74ad *tests/data/fate/vsynth_lena-qtrle.mov
+14798346 tests/data/fate/vsynth_lena-qtrle.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-qtrle.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrlegray b/tests/ref/vsynth/vsynth_lena-qtrlegray
index 951e7a7688..5e06d43af5 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrlegray
+++ b/tests/ref/vsynth/vsynth_lena-qtrlegray
@@ -1,4 +1,4 @@ 
-2c4e69b59d8e8e19903c843575806d5f *tests/data/fate/vsynth_lena-qtrlegray.mov
-5111283 tests/data/fate/vsynth_lena-qtrlegray.mov
+f1d48d46acfb77a53b6ff6aac34bb03f *tests/data/fate/vsynth_lena-qtrlegray.mov
+5111284 tests/data/fate/vsynth_lena-qtrlegray.mov
 d7bfbe259af9ae323bb94b09c33570a5 *tests/data/fate/vsynth_lena-qtrlegray.out.rawvideo
 stddev:   18.65 PSNR: 22.72 MAXDIFF:   72 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-svq1 b/tests/ref/vsynth/vsynth_lena-svq1
index 1558c504fb..294c05f068 100644
--- a/tests/ref/vsynth/vsynth_lena-svq1
+++ b/tests/ref/vsynth/vsynth_lena-svq1
@@ -1,4 +1,4 @@ 
-6e9678439ab7460db1fcc8e41ca1a1e0 *tests/data/fate/vsynth_lena-svq1.mov
-766701 tests/data/fate/vsynth_lena-svq1.mov
+8ac2804235b34699070de30d0d993bb0 *tests/data/fate/vsynth_lena-svq1.mov
+766702 tests/data/fate/vsynth_lena-svq1.mov
 aa03471dac3f49455a33a2b19fda1098 *tests/data/fate/vsynth_lena-svq1.out.rawvideo
 stddev:    3.23 PSNR: 37.93 MAXDIFF:   61 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p b/tests/ref/vsynth/vsynth_lena-vc2-420p
index 89966c2a54..a0c84d699d 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p
@@ -1,4 +1,4 @@ 
-b920eaf484af9ed3fbff4a85d043b544 *tests/data/fate/vsynth_lena-vc2-420p.mov
-849735 tests/data/fate/vsynth_lena-vc2-420p.mov
+a62db94d155ff391a8f54109380f17b6 *tests/data/fate/vsynth_lena-vc2-420p.mov
+849736 tests/data/fate/vsynth_lena-vc2-420p.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p10 b/tests/ref/vsynth/vsynth_lena-vc2-420p10
index 2558ef8e9b..97721729f5 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p10
@@ -1,4 +1,4 @@ 
-5bccec653c330f03b90065a84fad9b4b *tests/data/fate/vsynth_lena-vc2-420p10.mov
-1154775 tests/data/fate/vsynth_lena-vc2-420p10.mov
+a447143679740ad26bd1b179b80908ae *tests/data/fate/vsynth_lena-vc2-420p10.mov
+1154776 tests/data/fate/vsynth_lena-vc2-420p10.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p12 b/tests/ref/vsynth/vsynth_lena-vc2-420p12
index bc60116ffe..6cfd9c05d2 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p12
@@ -1,4 +1,4 @@ 
-d27a6d3517cc9a6d22e338f4b206545c *tests/data/fate/vsynth_lena-vc2-420p12.mov
-1516759 tests/data/fate/vsynth_lena-vc2-420p12.mov
+68e983ea482fa5bf8bf2456c5a0c081a *tests/data/fate/vsynth_lena-vc2-420p12.mov
+1516760 tests/data/fate/vsynth_lena-vc2-420p12.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p b/tests/ref/vsynth/vsynth_lena-vc2-422p
index 6f958387c1..d39e47b5f5 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p
@@ -1,4 +1,4 @@ 
-94d3a24e9eec6cb88c84780796adbec5 *tests/data/fate/vsynth_lena-vc2-422p.mov
-1049287 tests/data/fate/vsynth_lena-vc2-422p.mov
+d65768f0d294f7d48132faca1db2e79a *tests/data/fate/vsynth_lena-vc2-422p.mov
+1049288 tests/data/fate/vsynth_lena-vc2-422p.mov
 c4b2e69278c822f22655344068ea486d *tests/data/fate/vsynth_lena-vc2-422p.out.rawvideo
 stddev:    0.26 PSNR: 59.82 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p10 b/tests/ref/vsynth/vsynth_lena-vc2-422p10
index 11904c2d8e..f552494220 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p10
@@ -1,4 +1,4 @@ 
-fc955b863eb3f22694d37e8a70085a6c *tests/data/fate/vsynth_lena-vc2-422p10.mov
-1294039 tests/data/fate/vsynth_lena-vc2-422p10.mov
+ae2b567f2536b0832fb002cac502155f *tests/data/fate/vsynth_lena-vc2-422p10.mov
+1294040 tests/data/fate/vsynth_lena-vc2-422p10.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-422p10.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p12 b/tests/ref/vsynth/vsynth_lena-vc2-422p12
index 51a62d0cc8..86f80d77a9 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p12
@@ -1,4 +1,4 @@ 
-2cef57ce35f32642c829f24a0ca3e260 *tests/data/fate/vsynth_lena-vc2-422p12.mov
-1768027 tests/data/fate/vsynth_lena-vc2-422p12.mov
+1c7dccc6b27c8a63ae444806500dbc17 *tests/data/fate/vsynth_lena-vc2-422p12.mov
+1768028 tests/data/fate/vsynth_lena-vc2-422p12.mov
 bd374304997834410a69ee6c6e047d19 *tests/data/fate/vsynth_lena-vc2-422p12.out.rawvideo
 stddev:    0.29 PSNR: 58.76 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p b/tests/ref/vsynth/vsynth_lena-vc2-444p
index bf779181f9..af66254838 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p
@@ -1,4 +1,4 @@ 
-cbdf2421fdd6cf0789c1f308009666f6 *tests/data/fate/vsynth_lena-vc2-444p.mov
-1174738 tests/data/fate/vsynth_lena-vc2-444p.mov
+32c00f5531746272959db682be479b19 *tests/data/fate/vsynth_lena-vc2-444p.mov
+1174739 tests/data/fate/vsynth_lena-vc2-444p.mov
 f9306b14ff827ced1a992301d1ab02ca *tests/data/fate/vsynth_lena-vc2-444p.out.rawvideo
 stddev:    0.38 PSNR: 56.43 MAXDIFF:    6 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p10 b/tests/ref/vsynth/vsynth_lena-vc2-444p10
index 10a33e22db..8d27572888 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p10
@@ -1,4 +1,4 @@ 
-acda7042ecc5b917824d9cf62ee3b46c *tests/data/fate/vsynth_lena-vc2-444p10.mov
-1577815 tests/data/fate/vsynth_lena-vc2-444p10.mov
+0ad7c19b872e50ab51eaef733c099e6d *tests/data/fate/vsynth_lena-vc2-444p10.mov
+1577816 tests/data/fate/vsynth_lena-vc2-444p10.mov
 da13c67fe1c6d98dd73e92a6ba006edc *tests/data/fate/vsynth_lena-vc2-444p10.out.rawvideo
 stddev:    0.42 PSNR: 55.56 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p12 b/tests/ref/vsynth/vsynth_lena-vc2-444p12
index 7d6c21161c..86faead6c6 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p12
@@ -1,4 +1,4 @@ 
-a31f2e6a54896fb8c02272c9f50db716 *tests/data/fate/vsynth_lena-vc2-444p12.mov
-2134875 tests/data/fate/vsynth_lena-vc2-444p12.mov
+bb748098790819a1a8ec2b7452589726 *tests/data/fate/vsynth_lena-vc2-444p12.mov
+2134876 tests/data/fate/vsynth_lena-vc2-444p12.mov
 a505434ec95362772a57d274f63a3f5a *tests/data/fate/vsynth_lena-vc2-444p12.out.rawvideo
 stddev:    0.42 PSNR: 55.58 MAXDIFF:    7 bytes:  7603200/   760320