aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-22 11:23:47 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-29 14:17:11 +0100
commit05741d70c7a6d877cf4cfe472e316d0b5024dfc3 (patch)
tree06b2b39d9e384504f4b7c07f4b0163bf031e677d
parent9719528e05eb076bd689e51bfc14a52d38e1d309 (diff)
downloadffmpeg-05741d70c7a6d877cf4cfe472e316d0b5024dfc3.tar.gz
Fallback to input timestamps for non-delay encoders.
Causes FFmpeg to pass through the correct pts values, instead of clobbering all to AV_NOPTS_VALUE (the av_init_packet default) to then make up new ones based on only fps when muxing. Included are also the related FATE ref changes, which all some reasonable on quick investigation. Also set all H.264 references to us -vsync drop to reduce the diff for the ref files. Otherwise almost all H.264 references need to change, mostly due to now starting with negative pts values. About 20 additional H.264 conformance tests needed -vsync drop anyway because they create pts values that are out of order and thus not possible to mux otherwise. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--ffmpeg.c2
-rw-r--r--tests/fate/h264.mak366
-rw-r--r--tests/ref/fate/bethsoft-vid140
-rw-r--r--tests/ref/fate/cscd404
-rw-r--r--tests/ref/fate/deluxepaint-anm106
-rw-r--r--tests/ref/fate/film-cvid-pcm-stereo-8bit218
-rw-r--r--tests/ref/fate/h264-lossless18
-rw-r--r--tests/ref/fate/mimic150
-rw-r--r--tests/ref/fate/mpeg2-field-enc62
-rw-r--r--tests/ref/fate/nuv18
-rw-r--r--tests/ref/fate/quickdraw2
-rw-r--r--tests/ref/fate/sierra-vmd126
-rw-r--r--tests/ref/fate/tiertex-seq40
-rw-r--r--tests/ref/fate/tscc-32bit166
-rw-r--r--tests/ref/fate/vc1-ism238
-rw-r--r--tests/ref/fate/vc1_sa0004014
-rw-r--r--tests/ref/fate/vc1_sa0005030
-rw-r--r--tests/ref/fate/vc1_sa1009126
-rw-r--r--tests/ref/fate/vc1_sa2002162
-rw-r--r--tests/ref/fate/vmnc-32bit88
-rw-r--r--tests/ref/fate/vp8-sign-bias16
-rw-r--r--tests/ref/fate/wmv8-drm258
22 files changed, 1276 insertions, 1274 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 225b8d63bd..8659c25fbd 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1562,6 +1562,8 @@ static void do_video_out(AVFormatContext *s,
if (ret > 0) {
pkt.data = bit_buffer;
pkt.size = ret;
+ if (!(enc->codec->capabilities & CODEC_CAP_DELAY))
+ pkt.pts = av_rescale_q(ost->sync_opts, enc->time_base, ost->st->time_base);
if (enc->coded_frame->pts != AV_NOPTS_VALUE)
pkt.pts = av_rescale_q(enc->coded_frame->pts, enc->time_base, ost->st->time_base);
/*av_log(NULL, AV_LOG_DEBUG, "encoder -> %"PRId64"/%"PRId64"\n",
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 6abe048035..7628d67b8d 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -191,189 +191,189 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
FATE_TESTS += $(FATE_H264)
fate-h264: $(FATE_H264)
-fate-h264-conformance-aud_mw_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/AUD_MW_E.264
-fate-h264-conformance-ba1_ft_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BA1_FT_C.264
-fate-h264-conformance-ba1_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BA1_Sony_D.jsv
-fate-h264-conformance-ba2_sony_f: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BA2_Sony_F.jsv
-fate-h264-conformance-ba3_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BA3_SVA_C.264
-fate-h264-conformance-ba_mw_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BA_MW_D.264
-fate-h264-conformance-bamq1_jvc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BAMQ1_JVC_C.264
-fate-h264-conformance-bamq2_jvc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BAMQ2_JVC_C.264
-fate-h264-conformance-banm_mw_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BANM_MW_D.264
-fate-h264-conformance-basqp1_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/BASQP1_Sony_C.jsv
-fate-h264-conformance-caba1_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA1_Sony_D.jsv
-fate-h264-conformance-caba1_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA1_SVA_B.264
-fate-h264-conformance-caba2_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA2_Sony_E.jsv
-fate-h264-conformance-caba2_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA2_SVA_B.264
-fate-h264-conformance-caba3_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA3_Sony_C.jsv
-fate-h264-conformance-caba3_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA3_SVA_B.264
-fate-h264-conformance-caba3_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABA3_TOSHIBA_E.264
-fate-h264-conformance-cabac_mot_fld0_full: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/camp_mot_fld0_full.26l
-fate-h264-conformance-cabac_mot_frm0_full: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/camp_mot_frm0_full.26l
-fate-h264-conformance-cabac_mot_mbaff0_full: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/camp_mot_mbaff0_full.26l
-fate-h264-conformance-cabac_mot_picaff0_full: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/camp_mot_picaff0_full.26l
-fate-h264-conformance-cabaci3_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABACI3_Sony_B.jsv
-fate-h264-conformance-cabast3_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABAST3_Sony_E.jsv
-fate-h264-conformance-cabastbr3_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABASTBR3_Sony_B.jsv
-fate-h264-conformance-cabref3_sand_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CABREF3_Sand_D.264
-fate-h264-conformance-cacqp3_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CACQP3_Sony_D.jsv
-fate-h264-conformance-cafi1_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAFI1_SVA_C.264
-fate-h264-conformance-cama1_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMA1_Sony_C.jsv
-fate-h264-conformance-cama1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMA1_TOSHIBA_B.264
-fate-h264-conformance-cama1_vtc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cama1_vtc_c.avc
-fate-h264-conformance-cama2_vtc_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cama2_vtc_b.avc
-fate-h264-conformance-cama3_sand_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMA3_Sand_E.264
-fate-h264-conformance-cama3_vtc_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cama3_vtc_b.avc
-fate-h264-conformance-camaci3_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMACI3_Sony_C.jsv
-fate-h264-conformance-camanl1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMANL1_TOSHIBA_B.264
-fate-h264-conformance-camanl2_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMANL2_TOSHIBA_B.264
-fate-h264-conformance-camanl3_sand_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMANL3_Sand_E.264
-fate-h264-conformance-camasl3_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMASL3_Sony_B.jsv
-fate-h264-conformance-camp_mot_mbaff_l30: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L30.26l
-fate-h264-conformance-camp_mot_mbaff_l31: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L31.26l
-fate-h264-conformance-canl1_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL1_Sony_E.jsv
-fate-h264-conformance-canl1_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL1_SVA_B.264
-fate-h264-conformance-canl1_toshiba_g: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL1_TOSHIBA_G.264
-fate-h264-conformance-canl2_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL2_Sony_E.jsv
-fate-h264-conformance-canl2_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL2_SVA_B.264
-fate-h264-conformance-canl3_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL3_Sony_C.jsv
-fate-h264-conformance-canl3_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL3_SVA_B.264
-fate-h264-conformance-canl4_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANL4_SVA_B.264
-fate-h264-conformance-canlma2_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANLMA2_Sony_C.jsv
-fate-h264-conformance-canlma3_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CANLMA3_Sony_C.jsv
-fate-h264-conformance-capa1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAPA1_TOSHIBA_B.264
-fate-h264-conformance-capama3_sand_f: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAPAMA3_Sand_F.264
-fate-h264-conformance-capcm1_sand_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAPCM1_Sand_E.264
-fate-h264-conformance-capcmnl1_sand_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAPCMNL1_Sand_E.264
-fate-h264-conformance-capm3_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAPM3_Sony_D.jsv
-fate-h264-conformance-caqp1_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAQP1_Sony_B.jsv
-fate-h264-conformance-cavlc_mot_fld0_full_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cvmp_mot_fld0_full_B.26l
-fate-h264-conformance-cavlc_mot_frm0_full_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cvmp_mot_frm0_full_B.26l
-fate-h264-conformance-cavlc_mot_mbaff0_full_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cvmp_mot_mbaff0_full_B.26l
-fate-h264-conformance-cavlc_mot_picaff0_full_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/cvmp_mot_picaff0_full_B.26l
-fate-h264-conformance-cawp1_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAWP1_TOSHIBA_E.264
-fate-h264-conformance-cawp5_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CAWP5_TOSHIBA_E.264
-fate-h264-conformance-ci1_ft_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CI1_FT_B.264
-fate-h264-conformance-ci_mw_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CI_MW_D.264
-fate-h264-conformance-cvbs3_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVBS3_Sony_C.jsv
-fate-h264-conformance-cvcanlma2_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVCANLMA2_Sony_C.jsv
-fate-h264-conformance-cvfi1_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVFI1_Sony_D.jsv
-fate-h264-conformance-cvfi1_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVFI1_SVA_C.264
-fate-h264-conformance-cvfi2_sony_h: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVFI2_Sony_H.jsv
-fate-h264-conformance-cvfi2_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVFI2_SVA_C.264
-fate-h264-conformance-cvma1_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMA1_Sony_D.jsv
-fate-h264-conformance-cvma1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMA1_TOSHIBA_B.264
-fate-h264-conformance-cvmanl1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMANL1_TOSHIBA_B.264
-fate-h264-conformance-cvmanl2_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMANL2_TOSHIBA_B.264
-fate-h264-conformance-cvmapaqp3_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMAPAQP3_Sony_E.jsv
-fate-h264-conformance-cvmaqp2_sony_g: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMAQP2_Sony_G.jsv
-fate-h264-conformance-cvmaqp3_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMAQP3_Sony_D.jsv
-fate-h264-conformance-cvmp_mot_fld_l30_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMP_MOT_FLD_L30_B.26l
-fate-h264-conformance-cvmp_mot_frm_l31_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVMP_MOT_FRM_L31_B.26l
-fate-h264-conformance-cvnlfi1_sony_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVNLFI1_Sony_C.jsv
-fate-h264-conformance-cvnlfi2_sony_h: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVNLFI2_Sony_H.jsv
-fate-h264-conformance-cvpa1_toshiba_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVPA1_TOSHIBA_B.264
-fate-h264-conformance-cvpcmnl1_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVPCMNL1_SVA_C.264
-fate-h264-conformance-cvpcmnl2_sva_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVPCMNL2_SVA_C.264
-fate-h264-conformance-cvwp1_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVWP1_TOSHIBA_E.264
-fate-h264-conformance-cvwp2_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVWP2_TOSHIBA_E.264
-fate-h264-conformance-cvwp3_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVWP3_TOSHIBA_E.264
-fate-h264-conformance-cvwp5_toshiba_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/CVWP5_TOSHIBA_E.264
-fate-h264-conformance-fi1_sony_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FI1_Sony_E.jsv
-fate-h264-conformance-frext-alphaconformanceg: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/test8b43.264
-fate-h264-conformance-frext-bcrm_freh10: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh10.264 -vsync 0
-fate-h264-conformance-frext-brcm_freh11: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh11.264 -vsync 0
-fate-h264-conformance-frext-brcm_freh3: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh3.264
-fate-h264-conformance-frext-brcm_freh4: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh4.264 -vsync 0
-fate-h264-conformance-frext-brcm_freh5: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh5.264
-fate-h264-conformance-frext-brcm_freh8: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh8.264
-fate-h264-conformance-frext-brcm_freh9: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh9.264
-fate-h264-conformance-frext-freh12_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Freh12_B.264
-fate-h264-conformance-frext-freh1_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Freh1_B.264
-fate-h264-conformance-frext-freh2_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Freh2_B.264
-fate-h264-conformance-frext-freh6: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/freh6.264 -vsync 0
-fate-h264-conformance-frext-freh7_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Freh7_B.264 -vsync 0
-fate-h264-conformance-frext-frext01_jvc_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FREXT01_JVC_D.264
-fate-h264-conformance-frext-frext02_jvc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FREXT02_JVC_C.264
-fate-h264-conformance-frext-frext1_panasonic_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FRExt1_Panasonic.avc
-fate-h264-conformance-frext-frext2_panasonic_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FRExt2_Panasonic.avc -vsync 0
-fate-h264-conformance-frext-frext3_panasonic_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FRExt3_Panasonic.avc
-fate-h264-conformance-frext-frext4_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FRExt4_Panasonic.avc
-fate-h264-conformance-frext-frext_mmco4_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/FRExt_MMCO4_Sony_B.264
-fate-h264-conformance-frext-hcaff1_hhi_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAFF1_HHI.264
-fate-h264-conformance-frext-hcafr1_hhi_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAFR1_HHI.264
-fate-h264-conformance-frext-hcafr2_hhi_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAFR2_HHI.264
-fate-h264-conformance-frext-hcafr3_hhi_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAFR3_HHI.264
-fate-h264-conformance-frext-hcafr4_hhi_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAFR4_HHI.264
-fate-h264-conformance-frext-hcamff1_hhi_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HCAMFF1_HHI.264
-fate-h264-conformance-frext-hi422fr10_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Hi422FR10_SONY_B.264
-fate-h264-conformance-frext-hi422fr13_sony_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Hi422FR13_SONY_B.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-hi422fr1_sony_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Hi422FR1_SONY_A.jsv
-fate-h264-conformance-frext-hi422fr6_sony_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/Hi422FR6_SONY_A.jsv -pix_fmt yuv422p10le
-fate-h264-conformance-frext-hpca_brcm_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCA_BRCM_C.264
-fate-h264-conformance-frext-hpcadq_brcm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCADQ_BRCM_B.264
-fate-h264-conformance-frext-hpcafl_bcrm_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCAFL_BRCM_C.264 -vsync 0
-fate-h264-conformance-frext-hpcaflnl_bcrm_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCAFLNL_BRCM_C.264 -vsync 0
-fate-h264-conformance-frext-hpcalq_brcm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCALQ_BRCM_B.264
-fate-h264-conformance-frext-hpcamapalq_bcrm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCAMAPALQ_BRCM_B.264 -vsync 0
-fate-h264-conformance-frext-hpcamolq_brcm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCAMOLQ_BRCM_B.264
-fate-h264-conformance-frext-hpcanl_brcm_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCANL_BRCM_C.264
-fate-h264-conformance-frext-hpcaq2lq_brcm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCAQ2LQ_BRCM_B.264
-fate-h264-conformance-frext-hpcv_brcm_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCV_BRCM_A.264
-fate-h264-conformance-frext-hpcvfl_bcrm_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCVFL_BRCM_A.264 -vsync 0
-fate-h264-conformance-frext-hpcvflnl_bcrm_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCVFLNL_BRCM_A.264 -vsync 0
-fate-h264-conformance-frext-hpcvmolq_brcm_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCVMOLQ_BRCM_B.264
-fate-h264-conformance-frext-hpcvnl_brcm_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/HPCVNL_BRCM_A.264
-fate-h264-conformance-frext-pph10i1_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I1_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i2_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I2_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i3_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I3_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i4_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I4_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i5_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I5_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i6_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I6_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph10i7_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH10I7_Panasonic_A.264 -pix_fmt yuv420p10le
-fate-h264-conformance-frext-pph422i1_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I1_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i2_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I2_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i3_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I3_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i4_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I4_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i5_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I5_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i6_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I6_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-frext-pph422i7_panasonic_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/FRext/PPH422I7_Panasonic_A.264 -pix_fmt yuv422p10le
-fate-h264-conformance-hcbp2_hhi_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/HCBP2_HHI_A.264
-fate-h264-conformance-hcmp1_hhi_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/HCMP1_HHI_A.264
-fate-h264-conformance-ls_sva_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/LS_SVA_D.264
-fate-h264-conformance-midr_mw_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MIDR_MW_D.264
-fate-h264-conformance-mps_mw_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MPS_MW_A.264
-fate-h264-conformance-mr1_bt_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR1_BT_A.h264
-fate-h264-conformance-mr1_mw_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR1_MW_A.264
-fate-h264-conformance-mr2_mw_a: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR2_MW_A.264
-fate-h264-conformance-mr2_tandberg_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR2_TANDBERG_E.264
-fate-h264-conformance-mr3_tandberg_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR3_TANDBERG_B.264
-fate-h264-conformance-mr4_tandberg_c: CMD = framecrc -vsync 0 -strict 1 -i $(SAMPLES)/h264-conformance/MR4_TANDBERG_C.264
-fate-h264-conformance-mr5_tandberg_c: CMD = framecrc -vsync 0 -strict 1 -i $(SAMPLES)/h264-conformance/MR5_TANDBERG_C.264
-fate-h264-conformance-mr6_bt_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR6_BT_B.h264
-fate-h264-conformance-mr7_bt_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR7_BT_B.h264
-fate-h264-conformance-mr8_bt_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR8_BT_B.h264
-fate-h264-conformance-mr9_bt_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/MR9_BT_B.h264
-fate-h264-conformance-mv1_brcm_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/src19td.IBP.264
-fate-h264-conformance-nl1_sony_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NL1_Sony_D.jsv
-fate-h264-conformance-nl2_sony_h: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NL2_Sony_H.jsv
-fate-h264-conformance-nl3_sva_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NL3_SVA_E.264
-fate-h264-conformance-nlmq1_jvc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NLMQ1_JVC_C.264
-fate-h264-conformance-nlmq2_jvc_c: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NLMQ2_JVC_C.264
-fate-h264-conformance-nrf_mw_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/NRF_MW_E.264
-fate-h264-conformance-sharp_mp_field_1_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_1_B.jvt
-fate-h264-conformance-sharp_mp_field_2_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_2_B.jvt
-fate-h264-conformance-sharp_mp_field_3_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_3_B.jvt
-fate-h264-conformance-sharp_mp_paff_1r2: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/Sharp_MP_PAFF_1r2.jvt
-fate-h264-conformance-sharp_mp_paff_2r: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/Sharp_MP_PAFF_2.jvt
-fate-h264-conformance-sl1_sva_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SL1_SVA_B.264
-fate-h264-conformance-sva_ba1_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_BA1_B.264
-fate-h264-conformance-sva_ba2_d: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_BA2_D.264
-fate-h264-conformance-sva_base_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_Base_B.264
-fate-h264-conformance-sva_cl1_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_CL1_E.264
-fate-h264-conformance-sva_fm1_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_FM1_E.264
-fate-h264-conformance-sva_nl1_b: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_NL1_B.264
-fate-h264-conformance-sva_nl2_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264
+fate-h264-conformance-aud_mw_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/AUD_MW_E.264
+fate-h264-conformance-ba1_ft_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BA1_FT_C.264
+fate-h264-conformance-ba1_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BA1_Sony_D.jsv
+fate-h264-conformance-ba2_sony_f: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BA2_Sony_F.jsv
+fate-h264-conformance-ba3_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BA3_SVA_C.264
+fate-h264-conformance-ba_mw_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BA_MW_D.264
+fate-h264-conformance-bamq1_jvc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BAMQ1_JVC_C.264
+fate-h264-conformance-bamq2_jvc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BAMQ2_JVC_C.264
+fate-h264-conformance-banm_mw_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BANM_MW_D.264
+fate-h264-conformance-basqp1_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/BASQP1_Sony_C.jsv
+fate-h264-conformance-caba1_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA1_Sony_D.jsv
+fate-h264-conformance-caba1_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA1_SVA_B.264
+fate-h264-conformance-caba2_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA2_Sony_E.jsv
+fate-h264-conformance-caba2_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA2_SVA_B.264
+fate-h264-conformance-caba3_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA3_Sony_C.jsv
+fate-h264-conformance-caba3_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA3_SVA_B.264
+fate-h264-conformance-caba3_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABA3_TOSHIBA_E.264
+fate-h264-conformance-cabac_mot_fld0_full: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/camp_mot_fld0_full.26l
+fate-h264-conformance-cabac_mot_frm0_full: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/camp_mot_frm0_full.26l
+fate-h264-conformance-cabac_mot_mbaff0_full: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/camp_mot_mbaff0_full.26l
+fate-h264-conformance-cabac_mot_picaff0_full: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/camp_mot_picaff0_full.26l
+fate-h264-conformance-cabaci3_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABACI3_Sony_B.jsv
+fate-h264-conformance-cabast3_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABAST3_Sony_E.jsv
+fate-h264-conformance-cabastbr3_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABASTBR3_Sony_B.jsv
+fate-h264-conformance-cabref3_sand_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CABREF3_Sand_D.264
+fate-h264-conformance-cacqp3_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CACQP3_Sony_D.jsv
+fate-h264-conformance-cafi1_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAFI1_SVA_C.264
+fate-h264-conformance-cama1_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMA1_Sony_C.jsv
+fate-h264-conformance-cama1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMA1_TOSHIBA_B.264
+fate-h264-conformance-cama1_vtc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cama1_vtc_c.avc
+fate-h264-conformance-cama2_vtc_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cama2_vtc_b.avc
+fate-h264-conformance-cama3_sand_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMA3_Sand_E.264
+fate-h264-conformance-cama3_vtc_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cama3_vtc_b.avc
+fate-h264-conformance-camaci3_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMACI3_Sony_C.jsv
+fate-h264-conformance-camanl1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMANL1_TOSHIBA_B.264
+fate-h264-conformance-camanl2_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMANL2_TOSHIBA_B.264
+fate-h264-conformance-camanl3_sand_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMANL3_Sand_E.264
+fate-h264-conformance-camasl3_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMASL3_Sony_B.jsv
+fate-h264-conformance-camp_mot_mbaff_l30: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L30.26l
+fate-h264-conformance-camp_mot_mbaff_l31: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L31.26l
+fate-h264-conformance-canl1_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL1_Sony_E.jsv
+fate-h264-conformance-canl1_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL1_SVA_B.264
+fate-h264-conformance-canl1_toshiba_g: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL1_TOSHIBA_G.264
+fate-h264-conformance-canl2_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL2_Sony_E.jsv
+fate-h264-conformance-canl2_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL2_SVA_B.264
+fate-h264-conformance-canl3_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL3_Sony_C.jsv
+fate-h264-conformance-canl3_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL3_SVA_B.264
+fate-h264-conformance-canl4_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANL4_SVA_B.264
+fate-h264-conformance-canlma2_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANLMA2_Sony_C.jsv
+fate-h264-conformance-canlma3_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CANLMA3_Sony_C.jsv
+fate-h264-conformance-capa1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAPA1_TOSHIBA_B.264
+fate-h264-conformance-capama3_sand_f: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAPAMA3_Sand_F.264
+fate-h264-conformance-capcm1_sand_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAPCM1_Sand_E.264
+fate-h264-conformance-capcmnl1_sand_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAPCMNL1_Sand_E.264
+fate-h264-conformance-capm3_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAPM3_Sony_D.jsv
+fate-h264-conformance-caqp1_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAQP1_Sony_B.jsv
+fate-h264-conformance-cavlc_mot_fld0_full_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cvmp_mot_fld0_full_B.26l
+fate-h264-conformance-cavlc_mot_frm0_full_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cvmp_mot_frm0_full_B.26l
+fate-h264-conformance-cavlc_mot_mbaff0_full_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cvmp_mot_mbaff0_full_B.26l
+fate-h264-conformance-cavlc_mot_picaff0_full_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/cvmp_mot_picaff0_full_B.26l
+fate-h264-conformance-cawp1_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAWP1_TOSHIBA_E.264
+fate-h264-conformance-cawp5_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CAWP5_TOSHIBA_E.264
+fate-h264-conformance-ci1_ft_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CI1_FT_B.264
+fate-h264-conformance-ci_mw_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CI_MW_D.264
+fate-h264-conformance-cvbs3_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVBS3_Sony_C.jsv
+fate-h264-conformance-cvcanlma2_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVCANLMA2_Sony_C.jsv
+fate-h264-conformance-cvfi1_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVFI1_Sony_D.jsv
+fate-h264-conformance-cvfi1_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVFI1_SVA_C.264
+fate-h264-conformance-cvfi2_sony_h: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVFI2_Sony_H.jsv
+fate-h264-conformance-cvfi2_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVFI2_SVA_C.264
+fate-h264-conformance-cvma1_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMA1_Sony_D.jsv
+fate-h264-conformance-cvma1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMA1_TOSHIBA_B.264
+fate-h264-conformance-cvmanl1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMANL1_TOSHIBA_B.264
+fate-h264-conformance-cvmanl2_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMANL2_TOSHIBA_B.264
+fate-h264-conformance-cvmapaqp3_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMAPAQP3_Sony_E.jsv
+fate-h264-conformance-cvmaqp2_sony_g: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMAQP2_Sony_G.jsv
+fate-h264-conformance-cvmaqp3_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMAQP3_Sony_D.jsv
+fate-h264-conformance-cvmp_mot_fld_l30_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMP_MOT_FLD_L30_B.26l
+fate-h264-conformance-cvmp_mot_frm_l31_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVMP_MOT_FRM_L31_B.26l
+fate-h264-conformance-cvnlfi1_sony_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVNLFI1_Sony_C.jsv
+fate-h264-conformance-cvnlfi2_sony_h: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVNLFI2_Sony_H.jsv
+fate-h264-conformance-cvpa1_toshiba_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVPA1_TOSHIBA_B.264
+fate-h264-conformance-cvpcmnl1_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVPCMNL1_SVA_C.264
+fate-h264-conformance-cvpcmnl2_sva_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVPCMNL2_SVA_C.264
+fate-h264-conformance-cvwp1_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVWP1_TOSHIBA_E.264
+fate-h264-conformance-cvwp2_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVWP2_TOSHIBA_E.264
+fate-h264-conformance-cvwp3_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVWP3_TOSHIBA_E.264
+fate-h264-conformance-cvwp5_toshiba_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/CVWP5_TOSHIBA_E.264
+fate-h264-conformance-fi1_sony_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FI1_Sony_E.jsv
+fate-h264-conformance-frext-alphaconformanceg: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/test8b43.264
+fate-h264-conformance-frext-bcrm_freh10: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh10.264 -vsync drop
+fate-h264-conformance-frext-brcm_freh11: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh11.264 -vsync drop
+fate-h264-conformance-frext-brcm_freh3: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh3.264
+fate-h264-conformance-frext-brcm_freh4: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh4.264 -vsync drop
+fate-h264-conformance-frext-brcm_freh5: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh5.264
+fate-h264-conformance-frext-brcm_freh8: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh8.264
+fate-h264-conformance-frext-brcm_freh9: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh9.264
+fate-h264-conformance-frext-freh12_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Freh12_B.264
+fate-h264-conformance-frext-freh1_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Freh1_B.264
+fate-h264-conformance-frext-freh2_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Freh2_B.264
+fate-h264-conformance-frext-freh6: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/freh6.264 -vsync drop
+fate-h264-conformance-frext-freh7_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Freh7_B.264 -vsync drop
+fate-h264-conformance-frext-frext01_jvc_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FREXT01_JVC_D.264
+fate-h264-conformance-frext-frext02_jvc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FREXT02_JVC_C.264
+fate-h264-conformance-frext-frext1_panasonic_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FRExt1_Panasonic.avc
+fate-h264-conformance-frext-frext2_panasonic_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FRExt2_Panasonic.avc -vsync 0
+fate-h264-conformance-frext-frext3_panasonic_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FRExt3_Panasonic.avc
+fate-h264-conformance-frext-frext4_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FRExt4_Panasonic.avc
+fate-h264-conformance-frext-frext_mmco4_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/FRExt_MMCO4_Sony_B.264
+fate-h264-conformance-frext-hcaff1_hhi_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAFF1_HHI.264
+fate-h264-conformance-frext-hcafr1_hhi_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAFR1_HHI.264
+fate-h264-conformance-frext-hcafr2_hhi_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAFR2_HHI.264
+fate-h264-conformance-frext-hcafr3_hhi_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAFR3_HHI.264
+fate-h264-conformance-frext-hcafr4_hhi_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAFR4_HHI.264
+fate-h264-conformance-frext-hcamff1_hhi_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HCAMFF1_HHI.264
+fate-h264-conformance-frext-hi422fr10_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Hi422FR10_SONY_B.264
+fate-h264-conformance-frext-hi422fr13_sony_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Hi422FR13_SONY_B.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-hi422fr1_sony_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Hi422FR1_SONY_A.jsv
+fate-h264-conformance-frext-hi422fr6_sony_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/Hi422FR6_SONY_A.jsv -pix_fmt yuv422p10le
+fate-h264-conformance-frext-hpca_brcm_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCA_BRCM_C.264
+fate-h264-conformance-frext-hpcadq_brcm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCADQ_BRCM_B.264
+fate-h264-conformance-frext-hpcafl_bcrm_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCAFL_BRCM_C.264 -vsync drop
+fate-h264-conformance-frext-hpcaflnl_bcrm_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCAFLNL_BRCM_C.264 -vsync drop
+fate-h264-conformance-frext-hpcalq_brcm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCALQ_BRCM_B.264
+fate-h264-conformance-frext-hpcamapalq_bcrm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCAMAPALQ_BRCM_B.264 -vsync 0
+fate-h264-conformance-frext-hpcamolq_brcm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCAMOLQ_BRCM_B.264
+fate-h264-conformance-frext-hpcanl_brcm_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCANL_BRCM_C.264
+fate-h264-conformance-frext-hpcaq2lq_brcm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCAQ2LQ_BRCM_B.264
+fate-h264-conformance-frext-hpcv_brcm_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCV_BRCM_A.264
+fate-h264-conformance-frext-hpcvfl_bcrm_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCVFL_BRCM_A.264 -vsync drop
+fate-h264-conformance-frext-hpcvflnl_bcrm_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCVFLNL_BRCM_A.264 -vsync drop
+fate-h264-conformance-frext-hpcvmolq_brcm_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCVMOLQ_BRCM_B.264
+fate-h264-conformance-frext-hpcvnl_brcm_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/HPCVNL_BRCM_A.264
+fate-h264-conformance-frext-pph10i1_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I1_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i2_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I2_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i3_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I3_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i4_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I4_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i5_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I5_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i6_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I6_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph10i7_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH10I7_Panasonic_A.264 -pix_fmt yuv420p10le
+fate-h264-conformance-frext-pph422i1_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I1_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i2_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I2_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i3_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I3_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i4_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I4_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i5_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I5_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i6_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I6_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-frext-pph422i7_panasonic_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/FRext/PPH422I7_Panasonic_A.264 -pix_fmt yuv422p10le
+fate-h264-conformance-hcbp2_hhi_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/HCBP2_HHI_A.264
+fate-h264-conformance-hcmp1_hhi_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/HCMP1_HHI_A.264
+fate-h264-conformance-ls_sva_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/LS_SVA_D.264
+fate-h264-conformance-midr_mw_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MIDR_MW_D.264
+fate-h264-conformance-mps_mw_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MPS_MW_A.264
+fate-h264-conformance-mr1_bt_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR1_BT_A.h264
+fate-h264-conformance-mr1_mw_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR1_MW_A.264
+fate-h264-conformance-mr2_mw_a: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR2_MW_A.264
+fate-h264-conformance-mr2_tandberg_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR2_TANDBERG_E.264
+fate-h264-conformance-mr3_tandberg_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR3_TANDBERG_B.264
+fate-h264-conformance-mr4_tandberg_c: CMD = framecrc -vsync drop -strict 1 -i $(SAMPLES)/h264-conformance/MR4_TANDBERG_C.264
+fate-h264-conformance-mr5_tandberg_c: CMD = framecrc -vsync drop -strict 1 -i $(SAMPLES)/h264-conformance/MR5_TANDBERG_C.264
+fate-h264-conformance-mr6_bt_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR6_BT_B.h264
+fate-h264-conformance-mr7_bt_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR7_BT_B.h264
+fate-h264-conformance-mr8_bt_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR8_BT_B.h264
+fate-h264-conformance-mr9_bt_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/MR9_BT_B.h264
+fate-h264-conformance-mv1_brcm_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/src19td.IBP.264
+fate-h264-conformance-nl1_sony_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NL1_Sony_D.jsv
+fate-h264-conformance-nl2_sony_h: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NL2_Sony_H.jsv
+fate-h264-conformance-nl3_sva_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NL3_SVA_E.264
+fate-h264-conformance-nlmq1_jvc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NLMQ1_JVC_C.264
+fate-h264-conformance-nlmq2_jvc_c: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NLMQ2_JVC_C.264
+fate-h264-conformance-nrf_mw_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/NRF_MW_E.264
+fate-h264-conformance-sharp_mp_field_1_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_1_B.jvt
+fate-h264-conformance-sharp_mp_field_2_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_2_B.jvt
+fate-h264-conformance-sharp_mp_field_3_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/Sharp_MP_Field_3_B.jvt
+fate-h264-conformance-sharp_mp_paff_1r2: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/Sharp_MP_PAFF_1r2.jvt
+fate-h264-conformance-sharp_mp_paff_2r: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/Sharp_MP_PAFF_2.jvt
+fate-h264-conformance-sl1_sva_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SL1_SVA_B.264
+fate-h264-conformance-sva_ba1_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_BA1_B.264
+fate-h264-conformance-sva_ba2_d: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_BA2_D.264
+fate-h264-conformance-sva_base_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_Base_B.264
+fate-h264-conformance-sva_cl1_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_CL1_E.264
+fate-h264-conformance-sva_fm1_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_FM1_E.264
+fate-h264-conformance-sva_nl1_b: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_NL1_B.264
+fate-h264-conformance-sva_nl2_e: CMD = framecrc -vsync drop -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264
fate-h264-interlace-crop: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vframes 3
fate-h264-lossless: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264/lossless.h264
diff --git a/tests/ref/fate/bethsoft-vid b/tests/ref/fate/bethsoft-vid
index 801957a4fb..4f20c1d277 100644
--- a/tests/ref/fate/bethsoft-vid
+++ b/tests/ref/fate/bethsoft-vid
@@ -1,141 +1,141 @@
-0, 0, 192000, 0x00000000
1, 0, 1480, 0x00000000
-0, 1500, 192000, 0x5a5acf57
-0, 3000, 192000, 0xbd055cf1
-0, 4500, 192000, 0x28b1eefc
+0, 1500, 192000, 0x00000000
1, 5994, 1480, 0x20a92bd4
-0, 6000, 192000, 0x0636bacd
-0, 7500, 192000, 0xbfd33cbd
-0, 9000, 192000, 0x0bd150ef
-0, 10500, 192000, 0x780d891e
+0, 7500, 192000, 0x5a5acf57
1, 11988, 1850, 0xa9e48a74
-0, 12000, 192000, 0xacf5e205
-0, 13500, 192000, 0x37c900dc
-0, 15000, 192000, 0x4ee6add7
-0, 16500, 192000, 0x1844783a
-0, 18000, 192000, 0x7bf84848
+0, 15000, 192000, 0xbd055cf1
1, 19481, 1480, 0x23ecd018
-0, 19500, 192000, 0x1ec296bc
-0, 21000, 192000, 0xbaeb5292
-0, 22500, 192000, 0xcb18038d
-0, 24000, 192000, 0xb3cc8b65
+0, 21000, 192000, 0x28b1eefc
1, 25475, 1480, 0x206bb915
-0, 25500, 192000, 0x6f164685
-0, 27000, 192000, 0x304917c9
-0, 28500, 192000, 0x8269daa1
-0, 30000, 192000, 0x04d3500d
+0, 27000, 192000, 0x0636bacd
1, 31469, 1850, 0xb0e10e75
-0, 31500, 192000, 0x9788f7a5
-0, 33000, 192000, 0x05351c98
-0, 34500, 192000, 0xcc8bba97
-0, 36000, 192000, 0x76caf27b
-0, 37500, 192000, 0x28648040
+0, 34500, 192000, 0xbfd33cbd
1, 38961, 1480, 0x8d9baedd
-0, 39000, 192000, 0x99ea251f
-0, 40500, 192000, 0x20e7bf4d
-0, 42000, 192000, 0x046ed625
-0, 43500, 192000, 0x1613fb12
+0, 40500, 192000, 0x0bd150ef
1, 44955, 1480, 0xb802aae1
-0, 45000, 192000, 0xd8b52d16
-0, 46500, 192000, 0x31443aa9
-0, 48000, 192000, 0xd426de3d
-0, 49500, 192000, 0xb2bce77b
+0, 46500, 192000, 0x780d891e
1, 50950, 1480, 0xecd7b5cc
-0, 51000, 192000, 0x25a52805
-0, 52500, 192000, 0x04f03a87
-0, 54000, 192000, 0x41d56889
-0, 55500, 192000, 0x3d4d6de9
+0, 52500, 192000, 0xacf5e205
1, 56944, 1850, 0x16861355
-0, 57000, 192000, 0xa7a2abfe
-0, 58500, 192000, 0x663e9fca
-0, 60000, 192000, 0x29a67f86
-0, 61500, 192000, 0x51531bb0
-0, 63000, 192000, 0xd993277e
+0, 60000, 192000, 0x37c900dc
1, 64436, 1480, 0xa51690bd
-0, 64500, 192000, 0x4873e583
-0, 66000, 192000, 0x06df053b
-0, 67500, 192000, 0x044f7698
-0, 69000, 192000, 0xc2302a45
+0, 66000, 192000, 0x4ee6add7
1, 70430, 1480, 0xdd0b90d1
-0, 70500, 192000, 0xbdfec8ee
-0, 72000, 192000, 0x3b739286
-0, 73500, 192000, 0x3ca82cd6
-0, 75000, 192000, 0x25af10f2
+0, 72000, 192000, 0x1844783a
1, 76424, 1850, 0x3ce6e333
-0, 76500, 192000, 0x09ce32bf
-0, 78000, 192000, 0xdab399c2
-0, 79500, 192000, 0x77400d93
-0, 81000, 192000, 0x5e8e6fe7
-0, 82500, 192000, 0x277506c9
+0, 79500, 192000, 0x7bf84848
1, 83917, 1480, 0xf8ce8ea3
-0, 84000, 192000, 0xe91b59ac
-0, 85500, 192000, 0xc2aa6e19
-0, 87000, 192000, 0x12c63645
-0, 88500, 192000, 0xa39f27d6
+0, 85500, 192000, 0x1ec296bc
1, 89911, 1480, 0xda4597af
-0, 90000, 192000, 0x20c32512
-0, 91500, 192000, 0x385a26a0
-0, 93000, 192000, 0x2566a70c
-0, 94500, 192000, 0x7105cfb9
+0, 91500, 192000, 0xbaeb5292
1, 95905, 1480, 0x918f7cb3
-0, 96000, 192000, 0x725671a2
-0, 97500, 192000, 0x3ff2782a
-0, 99000, 192000, 0xdc0571c3
-0, 100500, 192000, 0x4a6a5405
+0, 97500, 192000, 0xcb18038d
1, 101899, 1850, 0xca6edb15
-0, 102000, 192000, 0x3ec3cce1
-0, 103500, 192000, 0x159313a8
+0, 105000, 192000, 0xb3cc8b65
1, 109392, 1480, 0xba279597
+0, 111000, 192000, 0x6f164685
1, 115386, 1480, 0xc5a38a9e
+0, 117000, 192000, 0x304917c9
1, 121380, 1850, 0x8147eef5
+0, 124500, 192000, 0x8269daa1
1, 128872, 1480, 0xce2c7cb5
+0, 130500, 192000, 0x04d3500d
1, 134866, 1480, 0x4282819f
+0, 136500, 192000, 0x9788f7a5
1, 140860, 1480, 0xbdbb8da6
+0, 142500, 192000, 0x05351c98
1, 146854, 1850, 0xdbbeea10
+0, 150000, 192000, 0xcc8bba97
1, 154347, 1480, 0xbe6a77c2
+0, 156000, 192000, 0x76caf27b
1, 160341, 1480, 0xa85c75b2
+0, 162000, 192000, 0x28648040
1, 166335, 1850, 0xa45bde21
+0, 169500, 192000, 0x99ea251f
1, 173828, 1480, 0x84aa7895
+0, 175500, 192000, 0x20e7bf4d
1, 179822, 1480, 0x147f7d9f
+0, 181500, 192000, 0x046ed625
1, 185816, 1480, 0xc8e77b85
+0, 187500, 192000, 0x1613fb12
1, 191810, 1850, 0x10d4d81b
+0, 195000, 192000, 0xd8b52d16
1, 199302, 1480, 0xb4ae8bb1
+0, 201000, 192000, 0x31443aa9
1, 205297, 1480, 0x3ef782a5
+0, 207000, 192000, 0xd426de3d
1, 211291, 1850, 0xdeebda14
+0, 214500, 192000, 0xb2bce77b
1, 218783, 1480, 0x4c7e7bbb
+0, 220500, 192000, 0x25a52805
1, 224777, 1480, 0x0e0e9198
+0, 226500, 192000, 0x04f03a87
1, 230771, 1480, 0x5c1f819f
+0, 232500, 192000, 0x41d56889
1, 236765, 1850, 0x0e4cf6ff
+0, 240000, 192000, 0x3d4d6de9
1, 244258, 1480, 0x374388a7
+0, 246000, 192000, 0xa7a2abfe
1, 250252, 1480, 0xed729389
+0, 252000, 192000, 0x663e9fca
1, 256246, 1850, 0xe0f1e43f
+0, 259500, 192000, 0x29a67f86
1, 263739, 1480, 0x3b27839a
+0, 265500, 192000, 0x51531bb0
1, 269733, 1480, 0xe6287e94
+0, 271500, 192000, 0xd993277e
1, 275727, 1480, 0x7e0d84b5
+0, 277500, 192000, 0x4873e583
1, 281721, 1850, 0xf08bebf7
+0, 285000, 192000, 0x06df053b
1, 289213, 1480, 0x94cf73a0
+0, 291000, 192000, 0x044f7698
1, 295207, 1480, 0xfef384ae
+0, 297000, 192000, 0xc2302a45
1, 301202, 1850, 0x3b93e0f7
+0, 304500, 192000, 0xbdfec8ee
1, 308694, 1480, 0x28d27bae
+0, 310500, 192000, 0x3b739286
1, 314688, 1480, 0x94d57da5
+0, 316500, 192000, 0x3ca82cd6
1, 320682, 1480, 0xc9327db5
+0, 322500, 192000, 0x25af10f2
1, 326676, 1850, 0xe781f604
+0, 330000, 192000, 0x09ce32bf
1, 334169, 1480, 0x752f8c5b
+0, 336000, 192000, 0xdab399c2
1, 340163, 1480, 0x30068032
+0, 342000, 192000, 0x77400d93
1, 346157, 1850, 0x7895023e
+0, 349500, 192000, 0x5e8e6fe7
1, 353650, 1480, 0xa1e0a6e1
+0, 355500, 192000, 0x277506c9
1, 359644, 1480, 0x6af4b500
+0, 361500, 192000, 0xe91b59ac
1, 365638, 1480, 0xc26ea4c7
+0, 367500, 192000, 0xc2aa6e19
1, 371632, 1850, 0x16a72419
+0, 375000, 192000, 0x12c63645
1, 379124, 1480, 0x1794aacc
+0, 381000, 192000, 0xa39f27d6
1, 385118, 1480, 0x2ecad8d0
+0, 387000, 192000, 0x20c32512
1, 391112, 1850, 0x2e645e07
+0, 394500, 192000, 0x385a26a0
1, 398605, 1480, 0x1c54dfe7
+0, 400500, 192000, 0x2566a70c
1, 404599, 1480, 0xbd35feec
+0, 406500, 192000, 0x7105cfb9
1, 410593, 1480, 0x419403d6
+0, 412500, 192000, 0x725671a2
1, 416587, 1850, 0x78699d2a
+0, 420000, 192000, 0x3ff2782a
1, 424080, 1480, 0x74ec68e0
+0, 426000, 192000, 0xdc0571c3
1, 430074, 1480, 0x76af64d9
+0, 432000, 192000, 0x4a6a5405
1, 436068, 1850, 0x5a303d1a
+0, 439500, 192000, 0x3ec3cce1
1, 443560, 1074, 0x142ce7ba
+0, 445500, 192000, 0x159313a8
1, 447910, 1850, 0x7ff682f7
diff --git a/tests/ref/fate/cscd b/tests/ref/fate/cscd
index e667984aaa..300caa86f7 100644
--- a/tests/ref/fate/cscd
+++ b/tests/ref/fate/cscd
@@ -1,208 +1,208 @@
0, 0, 270000, 0xf90015d8
-0, 450, 270000, 0xf90015d8
-0, 900, 270000, 0xf90015d8
-0, 1350, 270000, 0xf90015d8
-0, 1800, 270000, 0xf90015d8
-0, 2250, 270000, 0xf90015d8
-0, 2700, 270000, 0xf90015d8
-0, 3150, 270000, 0xf90015d8
-0, 3600, 270000, 0xf90015d8
0, 4050, 270000, 0xf90015d8
-0, 4500, 270000, 0xf90015d8
-0, 4950, 270000, 0xf90015d8
-0, 5400, 270000, 0xf90015d8
-0, 5850, 270000, 0xf90015d8
-0, 6300, 270000, 0xf90015d8
0, 6750, 270000, 0xf90015d8
-0, 7200, 270000, 0xf90015d8
-0, 7650, 270000, 0xf90015d8
-0, 8100, 270000, 0xf90015d8
-0, 8550, 270000, 0xf90015d8
-0, 9000, 270000, 0xf90015d8
-0, 9450, 270000, 0xf90015d8
0, 9900, 270000, 0xf90015d8
-0, 10350, 270000, 0xf90015d8
-0, 10800, 270000, 0xf90015d8
-0, 11250, 270000, 0xf90015d8
-0, 11700, 270000, 0xf90015d8
-0, 12150, 270000, 0xf90015d8
0, 12600, 270000, 0xf90015d8
-0, 13050, 270000, 0xf90015d8
-0, 13500, 270000, 0xf90015d8
-0, 13950, 270000, 0xf90015d8
-0, 14400, 270000, 0xf90015d8
-0, 14850, 270000, 0xf90015d8
0, 15300, 270000, 0xf90015d8
-0, 15750, 270000, 0xf90015d8
-0, 16200, 270000, 0xf90015d8
-0, 16650, 270000, 0xf90015d8
-0, 17100, 270000, 0xf90015d8
-0, 17550, 270000, 0x1f9c15d8
-0, 18000, 270000, 0x436f15d8
-0, 18450, 270000, 0xe90115d8
-0, 18900, 270000, 0xe90115d8
-0, 19350, 270000, 0x8ea215d8
-0, 19800, 270000, 0x424015d8
-0, 20250, 270000, 0x0ce315d8
-0, 20700, 270000, 0x14bc15d8
-0, 21150, 270000, 0x2a9215d8
-0, 21600, 270000, 0x233f15d8
-0, 22050, 270000, 0x764b15d8
-0, 22500, 270000, 0xf76115d8
-0, 22950, 270000, 0xbbe015d8
-0, 23400, 270000, 0x95af15d8
-0, 23850, 270000, 0x324815d8
-0, 24300, 270000, 0x311915d8
-0, 24750, 270000, 0x090ef191
-0, 25200, 270000, 0xd88974dc
-0, 25650, 270000, 0xfa7f58df
-0, 26100, 270000, 0x78f849c3
-0, 26550, 270000, 0xae174892
-0, 27000, 270000, 0x9d4e2332
-0, 27450, 270000, 0x874b09b4
-0, 27900, 270000, 0x4069fed6
-0, 28350, 270000, 0x4069fed6
-0, 28800, 270000, 0x4069fed6
-0, 29250, 270000, 0x4069fed6
-0, 29700, 270000, 0x4069fed6
-0, 30150, 270000, 0x4069fed6
-0, 30600, 270000, 0x4069fed6
-0, 31050, 270000, 0x4069fed6
-0, 31500, 270000, 0x4069fed6
-0, 31950, 270000, 0x4069fed6
-0, 32400, 270000, 0x4069fed6
-0, 32850, 270000, 0x773db046
-0, 33300, 270000, 0x773db046
-0, 33750, 270000, 0x773db046
-0, 34200, 270000, 0x773db046
-0, 34650, 270000, 0x773db046
-0, 35100, 270000, 0x773db046
-0, 35550, 270000, 0x773db046
-0, 36000, 270000, 0x773db046
-0, 36450, 270000, 0x773db046
-0, 36900, 270000, 0x773db046
-0, 37350, 270000, 0x773db046
-0, 37800, 270000, 0x773db046
-0, 38250, 270000, 0x773db046
-0, 38700, 270000, 0x773db046
-0, 39150, 270000, 0x773db046
-0, 39600, 270000, 0x773db046
-0, 40050, 270000, 0x773db046
-0, 40500, 270000, 0x17b9aec9
-0, 40950, 270000, 0x622fad4c
-0, 41400, 270000, 0xdaea3aef
-0, 41850, 270000, 0x61bb10e3
-0, 42300, 270000, 0xfc37ee0c
-0, 42750, 270000, 0x50dbd01e
-0, 43200, 270000, 0xcd66c27c
-0, 43650, 270000, 0xd13f1e4f
-0, 44100, 270000, 0xa4a2dbf5
-0, 44550, 270000, 0xf302c9ab
-0, 45000, 270000, 0x4479f7fe
-0, 45450, 270000, 0x1afe92c8
-0, 45900, 270000, 0x3007f4c3
-0, 46350, 270000, 0x5834c096
-0, 46800, 270000, 0x40109126
-0, 47250, 270000, 0x0a7b8882
-0, 47700, 270000, 0x15b8635d
-0, 48150, 270000, 0xeaa5598e
-0, 48600, 270000, 0x0b7b5489
-0, 49050, 270000, 0x0b7b5489
-0, 49500, 270000, 0x0b7b5489
-0, 49950, 270000, 0x0b7b5489
-0, 50400, 270000, 0x8f0e6eaa
-0, 50850, 270000, 0xc46fc0f2
-0, 51300, 270000, 0xadd7e605
-0, 51750, 270000, 0x9d23a056
-0, 52200, 270000, 0x365afa63
-0, 52650, 270000, 0x6ac3bda2
-0, 53100, 270000, 0x14f5daf2
-0, 53550, 270000, 0x4b3afb6a
-0, 54000, 270000, 0x1a3302e3
-0, 54450, 270000, 0x1a3302e3
-0, 54900, 270000, 0x1a3302e3
-0, 55350, 270000, 0x1a3302e3
-0, 55800, 270000, 0xc15526e2
-0, 56250, 270000, 0x3dd73006
-0, 56700, 270000, 0x60abb5bc
-0, 57150, 270000, 0xb960c27c
-0, 57600, 270000, 0x8fa4c01c
-0, 58050, 270000, 0x8fa4c01c
-0, 58500, 270000, 0x8fa4c01c
-0, 58950, 270000, 0xb20dcc38
-0, 59400, 270000, 0x03c6ad3c
-0, 59850, 270000, 0xe550b194
-0, 60300, 270000, 0xe550b194
-0, 60750, 270000, 0xe550b194
-0, 61200, 270000, 0xe550b194
-0, 61650, 270000, 0xe550b194
-0, 62100, 270000, 0xe550b194
-0, 62550, 270000, 0xe550b194
-0, 63000, 270000, 0xe550b194
-0, 63450, 270000, 0xe550b194
-0, 63900, 270000, 0xe550b194
-0, 64350, 270000, 0xe550b194
-0, 64800, 270000, 0xe550b194
-0, 65250, 270000, 0xe550b194
-0, 65700, 270000, 0xe550b194
-0, 66150, 270000, 0x4550a014
-0, 66600, 270000, 0xaf639da8
-0, 67050, 270000, 0xe4229da8
-0, 67500, 270000, 0x315d9da8
-0, 67950, 270000, 0x7e899da8
-0, 68400, 270000, 0x99b9a8a0
-0, 68850, 270000, 0x4588ac2a
-0, 69300, 270000, 0x1e79ae6e
-0, 69750, 270000, 0xa003cb14
-0, 70200, 270000, 0x03ef1bb8
-0, 70650, 270000, 0x3b3f30fc
-0, 71100, 270000, 0x4dad3525
-0, 71550, 270000, 0x5b600c12
-0, 72000, 270000, 0x75a1fab3
-0, 72450, 270000, 0xc9f7d9ad
-0, 72900, 270000, 0x9eaec58d
-0, 73350, 270000, 0xb91bc3e8
-0, 73800, 270000, 0x77bdbbfb
-0, 74250, 270000, 0x77bdbbfb
-0, 74700, 270000, 0x77bdbbfb
-0, 75150, 270000, 0x77bdbbfb
-0, 75600, 270000, 0x77bdbbfb
-0, 76050, 270000, 0x77bdbbfb
-0, 76500, 270000, 0x3d54eac2
-0, 76950, 270000, 0x3d54eac2
-0, 77400, 270000, 0x3d54eac2
-0, 77850, 270000, 0x3d54eac2
-0, 78300, 270000, 0x3d54eac2
-0, 78750, 270000, 0x3d54eac2
-0, 79200, 270000, 0x3d54eac2
-0, 79650, 270000, 0x3d54eac2
-0, 80100, 270000, 0x3d54eac2
-0, 80550, 270000, 0x3d54eac2
-0, 81000, 270000, 0x3d54eac2
-0, 81450, 270000, 0x3d54eac2
-0, 81900, 270000, 0x3d54eac2
-0, 82350, 270000, 0x3d54eac2
-0, 82800, 270000, 0x3d54eac2
-0, 83250, 270000, 0x3d54eac2
-0, 83700, 270000, 0x3d54eac2
-0, 84150, 270000, 0x3d54eac2
-0, 84600, 270000, 0x3d54eac2
-0, 85050, 270000, 0x5f3609ba
-0, 85500, 270000, 0x80921b0c
-0, 85950, 270000, 0x80921b0c
-0, 86400, 270000, 0x80921b0c
-0, 86850, 270000, 0x80921b0c
-0, 87300, 270000, 0x80921b0c
-0, 87750, 270000, 0x80921b0c
-0, 88200, 270000, 0x80921b0c
-0, 88650, 270000, 0x80921b0c
-0, 89100, 270000, 0x80921b0c
-0, 89550, 270000, 0x80921b0c
-0, 90000, 270000, 0x80921b0c
-0, 90450, 270000, 0x80921b0c
-0, 90900, 270000, 0x80921b0c
-0, 91350, 270000, 0x80921b0c
-0, 91800, 270000, 0x80921b0c
-0, 92250, 270000, 0x80921b0c
-0, 92700, 270000, 0xf0e626a8
-0, 93150, 270000, 0xf0e626a8
+0, 18000, 270000, 0xf90015d8
+0, 21150, 270000, 0xf90015d8
+0, 23850, 270000, 0xf90015d8
+0, 26550, 270000, 0xf90015d8
+0, 29250, 270000, 0xf90015d8
+0, 32400, 270000, 0xf90015d8
+0, 35100, 270000, 0xf90015d8
+0, 37800, 270000, 0xf90015d8
+0, 41850, 270000, 0xf90015d8
+0, 45000, 270000, 0xf90015d8
+0, 47700, 270000, 0xf90015d8
+0, 50400, 270000, 0xf90015d8
+0, 53100, 270000, 0xf90015d8
+0, 56250, 270000, 0xf90015d8
+0, 58950, 270000, 0xf90015d8
+0, 61650, 270000, 0xf90015d8
+0, 64350, 270000, 0xf90015d8
+0, 67500, 270000, 0xf90015d8
+0, 70200, 270000, 0xf90015d8
+0, 72900, 270000, 0xf90015d8
+0, 75600, 270000, 0xf90015d8
+0, 78750, 270000, 0xf90015d8
+0, 81450, 270000, 0xf90015d8
+0, 84150, 270000, 0xf90015d8
+0, 86850, 270000, 0xf90015d8
+0, 90000, 270000, 0xf90015d8
+0, 92700, 270000, 0xf90015d8
+0, 95400, 270000, 0xf90015d8
+0, 98100, 270000, 0xf90015d8
+0, 101250, 270000, 0xf90015d8
+0, 103950, 270000, 0xf90015d8
+0, 106650, 270000, 0xf90015d8
+0, 109350, 270000, 0xf90015d8
+0, 113850, 270000, 0x1f9c15d8
+0, 117900, 270000, 0x436f15d8
+0, 120600, 270000, 0xe90115d8
+0, 123750, 270000, 0xe90115d8
+0, 126450, 270000, 0x8ea215d8
+0, 130500, 270000, 0x424015d8
+0, 135000, 270000, 0x0ce315d8
+0, 139050, 270000, 0x14bc15d8
+0, 143100, 270000, 0x2a9215d8
+0, 147600, 270000, 0x233f15d8
+0, 151650, 270000, 0x764b15d8
+0, 156150, 270000, 0xf76115d8
+0, 160200, 270000, 0xbbe015d8
+0, 164250, 270000, 0x95af15d8
+0, 168750, 270000, 0x324815d8
+0, 172800, 270000, 0x311915d8
+0, 176850, 270000, 0x090ef191
+0, 181350, 270000, 0xd88974dc
+0, 185400, 270000, 0xfa7f58df
+0, 189900, 270000, 0x78f849c3
+0, 193950, 270000, 0xae174892
+0, 198000, 270000, 0x9d4e2332
+0, 202500, 270000, 0x874b09b4
+0, 206550, 270000, 0x4069fed6
+0, 209250, 270000, 0x4069fed6
+0, 212400, 270000, 0x4069fed6
+0, 215100, 270000, 0x4069fed6
+0, 217800, 270000, 0x4069fed6
+0, 220500, 270000, 0x4069fed6
+0, 225000, 270000, 0x4069fed6
+0, 227700, 270000, 0x4069fed6
+0, 230400, 270000, 0x4069fed6
+0, 233100, 270000, 0x4069fed6
+0, 236250, 270000, 0x4069fed6
+0, 248850, 270000, 0x773db046
+0, 251550, 270000, 0x773db046
+0, 254250, 270000, 0x773db046
+0, 257400, 270000, 0x773db046
+0, 260100, 270000, 0x773db046
+0, 262800, 270000, 0x773db046
+0, 265500, 270000, 0x773db046
+0, 268650, 270000, 0x773db046
+0, 271350, 270000, 0x773db046
+0, 274050, 270000, 0x773db046
+0, 276750, 270000, 0x773db046
+0, 279900, 270000, 0x773db046
+0, 282600, 270000, 0x773db046
+0, 285300, 270000, 0x773db046
+0, 288000, 270000, 0x773db046
+0, 291150, 270000, 0x773db046
+0, 293850, 270000, 0x773db046
+0, 297900, 270000, 0x17b9aec9
+0, 302400, 270000, 0x622fad4c
+0, 306450, 270000, 0xdaea3aef
+0, 309150, 270000, 0x61bb10e3
+0, 311850, 270000, 0xfc37ee0c
+0, 316350, 270000, 0x50dbd01e
+0, 320400, 270000, 0xcd66c27c
+0, 324900, 270000, 0xd13f1e4f
+0, 328950, 270000, 0xa4a2dbf5
+0, 333000, 270000, 0xf302c9ab
+0, 337500, 270000, 0x4479f7fe
+0, 341550, 270000, 0x1afe92c8
+0, 345600, 270000, 0x3007f4c3
+0, 350100, 270000, 0x5834c096
+0, 352800, 270000, 0x40109126
+0, 355500, 270000, 0x0a7b8882
+0, 360000, 270000, 0x15b8635d
+0, 362700, 270000, 0xeaa5598e
+0, 365400, 270000, 0x0b7b5489
+0, 368100, 270000, 0x0b7b5489
+0, 371250, 270000, 0x0b7b5489
+0, 373950, 270000, 0x0b7b5489
+0, 376650, 270000, 0x8f0e6eaa
+0, 381150, 270000, 0xc46fc0f2
+0, 385200, 270000, 0xadd7e605
+0, 389250, 270000, 0x9d23a056
+0, 393750, 270000, 0x365afa63
+0, 397800, 270000, 0x6ac3bda2
+0, 401850, 270000, 0x14f5daf2
+0, 406350, 270000, 0x4b3afb6a
+0, 409050, 270000, 0x1a3302e3
+0, 411750, 270000, 0x1a3302e3
+0, 414900, 270000, 0x1a3302e3
+0, 417600, 270000, 0x1a3302e3
+0, 420300, 270000, 0xc15526e2
+0, 424350, 270000, 0x3dd73006
+0, 428850, 270000, 0x60abb5bc
+0, 432900, 270000, 0xb960c27c
+0, 435600, 270000, 0x8fa4c01c
+0, 438750, 270000, 0x8fa4c01c
+0, 441450, 270000, 0x8fa4c01c
+0, 444150, 270000, 0xb20dcc38
+0, 448650, 270000, 0x03c6ad3c
+0, 452700, 270000, 0xe550b194
+0, 455400, 270000, 0xe550b194
+0, 458100, 270000, 0xe550b194
+0, 461250, 270000, 0xe550b194
+0, 463950, 270000, 0xe550b194
+0, 466650, 270000, 0xe550b194
+0, 469350, 270000, 0xe550b194
+0, 472500, 270000, 0xe550b194
+0, 475200, 270000, 0xe550b194
+0, 477900, 270000, 0xe550b194
+0, 480600, 270000, 0xe550b194
+0, 483750, 270000, 0xe550b194
+0, 486450, 270000, 0xe550b194
+0, 489150, 270000, 0xe550b194
+0, 491850, 270000, 0x4550a014
+0, 496350, 270000, 0xaf639da8
+0, 500400, 270000, 0xe4229da8
+0, 503100, 270000, 0x315d9da8
+0, 506250, 270000, 0x7e899da8
+0, 510300, 270000, 0x99b9a8a0
+0, 514350, 270000, 0x4588ac2a
+0, 518850, 270000, 0x1e79ae6e
+0, 522900, 270000, 0xa003cb14
+0, 527400, 270000, 0x03ef1bb8
+0, 531450, 270000, 0x3b3f30fc
+0, 535500, 270000, 0x4dad3525
+0, 540000, 270000, 0x5b600c12
+0, 544050, 270000, 0x75a1fab3
+0, 548100, 270000, 0xc9f7d9ad
+0, 552600, 270000, 0x9eaec58d
+0, 556650, 270000, 0xb91bc3e8
+0, 561150, 270000, 0x77bdbbfb
+0, 563850, 270000, 0x77bdbbfb
+0, 566550, 270000, 0x77bdbbfb
+0, 569250, 270000, 0x77bdbbfb
+0, 572400, 270000, 0x77bdbbfb
+0, 575100, 270000, 0x77bdbbfb
+0, 579150, 270000, 0x3d54eac2
+0, 581850, 270000, 0x3d54eac2
+0, 585000, 270000, 0x3d54eac2
+0, 587700, 270000, 0x3d54eac2
+0, 591750, 270000, 0x3d54eac2
+0, 594900, 270000, 0x3d54eac2
+0, 597600, 270000, 0x3d54eac2
+0, 600300, 270000, 0x3d54eac2
+0, 603000, 270000, 0x3d54eac2
+0, 606150, 270000, 0x3d54eac2
+0, 608850, 270000, 0x3d54eac2
+0, 611550, 270000, 0x3d54eac2
+0, 614250, 270000, 0x3d54eac2
+0, 617400, 270000, 0x3d54eac2
+0, 620100, 270000, 0x3d54eac2
+0, 622800, 270000, 0x3d54eac2
+0, 625500, 270000, 0x3d54eac2
+0, 628650, 270000, 0x3d54eac2
+0, 631350, 270000, 0x3d54eac2
+0, 635400, 270000, 0x5f3609ba
+0, 639900, 270000, 0x80921b0c
+0, 642600, 270000, 0x80921b0c
+0, 645300, 270000, 0x80921b0c
+0, 648000, 270000, 0x80921b0c
+0, 651150, 270000, 0x80921b0c
+0, 653850, 270000, 0x80921b0c
+0, 656550, 270000, 0x80921b0c
+0, 659250, 270000, 0x80921b0c
+0, 662400, 270000, 0x80921b0c
+0, 665100, 270000, 0x80921b0c
+0, 667800, 270000, 0x80921b0c
+0, 670500, 270000, 0x80921b0c
+0, 673650, 270000, 0x80921b0c
+0, 676350, 270000, 0x80921b0c
+0, 679050, 270000, 0x80921b0c
+0, 681750, 270000, 0x80921b0c
+0, 686250, 270000, 0xf0e626a8
+0, 688950, 270000, 0xf0e626a8
diff --git a/tests/ref/fate/deluxepaint-anm b/tests/ref/fate/deluxepaint-anm
index 98da9287a6..3e74e49bae 100644
--- a/tests/ref/fate/deluxepaint-anm
+++ b/tests/ref/fate/deluxepaint-anm
@@ -68,56 +68,56 @@
0, 201000, 192000, 0xa72a38ee
0, 204000, 192000, 0xdd7f371d
0, 207000, 192000, 0xeed134c6
-0, 210000, 192000, 0x362931f5
-0, 213000, 192000, 0xfb41331d
-0, 216000, 192000, 0x087433f8
-0, 219000, 192000, 0xf36b34a6
-0, 222000, 192000, 0x652a33cd
-0, 225000, 192000, 0x652a33cd
-0, 228000, 192000, 0xe50c336a
-0, 231000, 192000, 0x652a33cd
-0, 234000, 192000, 0xeed134c6
-0, 237000, 192000, 0x652a33cd
-0, 240000, 192000, 0x5d7633e5
-0, 243000, 192000, 0x845233b5
-0, 246000, 192000, 0x9d1c349b
-0, 249000, 192000, 0x25843317
-0, 252000, 192000, 0xc84b375c
-0, 255000, 192000, 0xaf2b3410
-0, 258000, 192000, 0xaf2b3410
-0, 261000, 192000, 0x26d23594
-0, 264000, 192000, 0xaf2b3410
-0, 267000, 192000, 0x26d23594
-0, 270000, 192000, 0xaf2b3410
-0, 273000, 192000, 0x72c4dfb9
-0, 276000, 192000, 0x3c72e390
-0, 279000, 192000, 0xb4466634
-0, 282000, 192000, 0x84f064f5
-0, 285000, 192000, 0xad43f3f5
-0, 288000, 192000, 0xa8644d57
-0, 291000, 192000, 0xfac35238
-0, 294000, 192000, 0xe9374d1e
-0, 297000, 192000, 0x0bd14cfa
-0, 300000, 192000, 0x7e51a437
-0, 303000, 192000, 0x92678dfa
-0, 306000, 192000, 0x43338d41
-0, 309000, 192000, 0x00000000
-0, 312000, 192000, 0x00000000
-0, 315000, 192000, 0x00000000
-0, 318000, 192000, 0x00000000
-0, 321000, 192000, 0x00000000
-0, 324000, 192000, 0x00000000
-0, 327000, 192000, 0x00000000
-0, 330000, 192000, 0x00000000
-0, 333000, 192000, 0x00000000
-0, 336000, 192000, 0x00000000
-0, 339000, 192000, 0x00000000
-0, 342000, 192000, 0x00000000
-0, 345000, 192000, 0x00000000
-0, 348000, 192000, 0x00000000
-0, 351000, 192000, 0x00000000
-0, 354000, 192000, 0x00000000
-0, 357000, 192000, 0x00000000
-0, 360000, 192000, 0x00000000
-0, 363000, 192000, 0x00000000
-0, 366000, 192000, 0x82a79641
+0, 309000, 192000, 0x362931f5
+0, 312000, 192000, 0xfb41331d
+0, 315000, 192000, 0x087433f8
+0, 318000, 192000, 0xf36b34a6
+0, 321000, 192000, 0x652a33cd
+0, 324000, 192000, 0x652a33cd
+0, 327000, 192000, 0xe50c336a
+0, 330000, 192000, 0x652a33cd
+0, 333000, 192000, 0xeed134c6
+0, 336000, 192000, 0x652a33cd
+0, 339000, 192000, 0x5d7633e5
+0, 342000, 192000, 0x845233b5
+0, 345000, 192000, 0x9d1c349b
+0, 348000, 192000, 0x25843317
+0, 351000, 192000, 0xc84b375c
+0, 354000, 192000, 0xaf2b3410
+0, 357000, 192000, 0xaf2b3410
+0, 360000, 192000, 0x26d23594
+0, 363000, 192000, 0xaf2b3410
+0, 366000, 192000, 0x26d23594
+0, 369000, 192000, 0xaf2b3410
+0, 372000, 192000, 0x72c4dfb9
+0, 375000, 192000, 0x3c72e390
+0, 378000, 192000, 0xb4466634
+0, 381000, 192000, 0x84f064f5
+0, 384000, 192000, 0xad43f3f5
+0, 387000, 192000, 0xa8644d57
+0, 390000, 192000, 0xfac35238
+0, 393000, 192000, 0xe9374d1e
+0, 396000, 192000, 0x0bd14cfa
+0, 399000, 192000, 0x7e51a437
+0, 402000, 192000, 0x92678dfa
+0, 405000, 192000, 0x43338d41
+0, 408000, 192000, 0x00000000
+0, 411000, 192000, 0x00000000
+0, 414000, 192000, 0x00000000
+0, 417000, 192000, 0x00000000
+0, 420000, 192000, 0x00000000
+0, 423000, 192000, 0x00000000
+0, 426000, 192000, 0x00000000
+0, 429000, 192000, 0x00000000
+0, 432000, 192000, 0x00000000
+0, 435000, 192000, 0x00000000
+0, 438000, 192000, 0x00000000
+0, 441000, 192000, 0x00000000
+0, 444000, 192000, 0x00000000
+0, 447000, 192000, 0x00000000
+0, 450000, 192000, 0x00000000
+0, 453000, 192000, 0x00000000
+0, 456000, 192000, 0x00000000
+0, 459000, 192000, 0x00000000
+0, 462000, 192000, 0x00000000
+0, 465000, 192000, 0x82a79641
diff --git a/tests/ref/fate/film-cvid-pcm-stereo-8bit b/tests/ref/fate/film-cvid-pcm-stereo-8bit
index 4f3fcf4689..a012040c81 100644
--- a/tests/ref/fate/film-cvid-pcm-stereo-8bit
+++ b/tests/ref/fate/film-cvid-pcm-stereo-8bit
@@ -1,139 +1,139 @@
0, 0, 107520, 0xa6c9fdd2
1, 0, 88192, 0x23bb50ae
-0, 3000, 107520, 0x61eb28c1
-0, 6000, 107520, 0x45e20af7
-0, 9000, 107520, 0x366970fc
-0, 12000, 107520, 0xa392bcb3
-0, 15000, 107520, 0xcf7bac98
-0, 18000, 107520, 0x222eba53
-0, 21000, 107520, 0x74e255a1
-0, 24000, 107520, 0xc19eec6f
-0, 27000, 107520, 0xa3880681
-0, 30000, 107520, 0x957878db
-0, 33000, 107520, 0x18340692
-0, 36000, 107520, 0x9970f24d
-0, 39000, 107520, 0xf08618aa
-0, 42000, 107520, 0xee7324f0
+0, 6000, 107520, 0x61eb28c1
+0, 12000, 107520, 0x45e20af7
+0, 18000, 107520, 0x366970fc
+0, 24000, 107520, 0xa392bcb3
+0, 30000, 107520, 0xcf7bac98
+0, 36000, 107520, 0x222eba53
+0, 42000, 107520, 0x74e255a1
1, 44996, 44112, 0x79600f01
-0, 45000, 107520, 0xe15025b3
-0, 48000, 107520, 0x8afa312e
-0, 51000, 107520, 0x717a7d0f
-0, 54000, 107520, 0x355c6e23
-0, 57000, 107520, 0x7015a50f
-0, 60000, 107520, 0xcdfc1a16
-0, 63000, 107520, 0x38d929e7
-0, 66000, 107520, 0x52913423
+0, 48000, 107520, 0xc19eec6f
+0, 54000, 107520, 0xa3880681
+0, 60000, 107520, 0x957878db
+0, 66000, 107520, 0x18340692
1, 67502, 44096, 0x09dbf7aa
-0, 69000, 107520, 0xe2c91c10
-0, 72000, 107520, 0x85516e9c
-0, 75000, 107520, 0xd1626030
-0, 78000, 107520, 0xea7b16de
-0, 81000, 107520, 0xa33eaa0d
-0, 84000, 107520, 0x8e3be6a6
-0, 87000, 107520, 0x14147bd6
-0, 90000, 107520, 0x07d54bec
+0, 72000, 107520, 0x9970f24d
+0, 78000, 107520, 0xf08618aa
+0, 84000, 107520, 0xee7324f0
+0, 90000, 107520, 0xe15025b3
1, 90000, 44112, 0x18fed048
-0, 93000, 107520, 0xe287a0a7
-0, 96000, 107520, 0xc023a14d
-0, 99000, 107520, 0x2437085d
-0, 102000, 107520, 0x63823918
-0, 105000, 107520, 0xbc17e198
-0, 108000, 107520, 0x9d99bc81
-0, 111000, 107520, 0x7e4ec71e
+0, 96000, 107520, 0x8afa312e
+0, 102000, 107520, 0x717a7d0f
+0, 108000, 107520, 0x355c6e23
1, 112506, 44112, 0x030d35ef
-0, 114000, 107520, 0x55b98376
-0, 117000, 107520, 0x356d8e9e
-0, 120000, 107520, 0xf77e8a61
-0, 123000, 107520, 0x5ae7c8c7
-0, 126000, 107520, 0x8acf9322
-0, 129000, 107520, 0x40a9177e
-0, 132000, 107520, 0x3e0e4d8d
-0, 135000, 107520, 0xd268865b
+0, 114000, 107520, 0x7015a50f
+0, 120000, 107520, 0xcdfc1a16
+0, 126000, 107520, 0x38d929e7
+0, 132000, 107520, 0x52913423
1, 135012, 44112, 0xc23154d5
-0, 138000, 107520, 0x89a4efeb
-0, 141000, 107520, 0x70ca2478
-0, 144000, 107520, 0xcc9ec981
-0, 147000, 107520, 0xf0648459
-0, 150000, 107520, 0x7e4a4cca
-0, 153000, 107520, 0xb315dc65
-0, 156000, 107520, 0x2aecc7b4
+0, 138000, 107520, 0xe2c91c10
+0, 144000, 107520, 0x85516e9c
+0, 150000, 107520, 0xd1626030
+0, 156000, 107520, 0xea7b16de
1, 157518, 44064, 0xe4713ee7
-0, 159000, 107520, 0x81742f51
-0, 162000, 107520, 0x3a1d7571
-0, 165000, 107520, 0x3a1d7571
-0, 168000, 107520, 0x3a1d7571
-0, 171000, 107520, 0x3a1d7571
-0, 174000, 107520, 0x3a1d7571
-0, 177000, 107520, 0x3a1d7571
-0, 180000, 107520, 0x3a1d7571
+0, 162000, 107520, 0xa33eaa0d
+0, 168000, 107520, 0x8e3be6a6
+0, 174000, 107520, 0x14147bd6
+0, 180000, 107520, 0x07d54bec
1, 180000, 44112, 0xddc19d91
-0, 183000, 107520, 0xe974733e
-0, 186000, 107520, 0x999c6fbf
-0, 189000, 107520, 0x26b56b6e
-0, 192000, 107520, 0xc9f9647b
-0, 195000, 107520, 0x6d025d00
-0, 198000, 107520, 0xf9c056c1
-0, 201000, 107520, 0xa5cc4d0b
+0, 186000, 107520, 0xe287a0a7
+0, 192000, 107520, 0xc023a14d
+0, 198000, 107520, 0x2437085d
1, 202506, 44112, 0x9591522d
-0, 204000, 107520, 0x1a4c4236
-0, 207000, 107520, 0xa9d538b6
-0, 210000, 107520, 0x14682d00
-0, 213000, 107520, 0x6236204f
-0, 216000, 107520, 0x303e14aa
-0, 219000, 107520, 0x943b0837
-0, 222000, 107520, 0xfce5fd07
-0, 225000, 107520, 0xd993f193
+0, 204000, 107520, 0x63823918
+0, 210000, 107520, 0xbc17e198
+0, 216000, 107520, 0x9d99bc81
+0, 222000, 107520, 0x7e4ec71e
1, 225012, 44112, 0x90deb013
-0, 228000, 107520, 0x4d48e7b4
-0, 231000, 107520, 0x61ccdf83
-0, 234000, 107520, 0xfb4fd608
-0, 237000, 107520, 0x5efdcdb3
-0, 240000, 107520, 0xb03ec886
-0, 243000, 107520, 0xf464c343
-0, 246000, 107520, 0xf464c343
+0, 228000, 107520, 0x55b98376
+0, 234000, 107520, 0x356d8e9e
+0, 240000, 107520, 0xf77e8a61
+0, 246000, 107520, 0x5ae7c8c7
1, 247518, 44064, 0x3842d420
-0, 249000, 107520, 0xf464c343
-0, 252000, 107520, 0xf464c343
-0, 255000, 107520, 0xf464c343
-0, 258000, 107520, 0xf464c343
-0, 261000, 107520, 0xf464c343
-0, 264000, 107520, 0xf464c343
-0, 267000, 107520, 0xf464c343
-0, 270000, 107520, 0xf464c343
+0, 252000, 107520, 0x8acf9322
+0, 258000, 107520, 0x40a9177e
+0, 264000, 107520, 0x3e0e4d8d
+0, 270000, 107520, 0xd268865b
1, 270000, 44112, 0x99c8c3d9
-0, 273000, 107520, 0xf464c343
-0, 276000, 107520, 0xf2b2c712
-0, 279000, 107520, 0xf2b2c712
-0, 282000, 107520, 0xf2b2c712
-0, 285000, 107520, 0xf2b2c712
-0, 288000, 107520, 0xb95e6bc8
-0, 291000, 107520, 0x33feee37
+0, 276000, 107520, 0x89a4efeb
+0, 282000, 107520, 0x70ca2478
+0, 288000, 107520, 0xcc9ec981
1, 292506, 44112, 0xffaf3824
-0, 294000, 107520, 0x36ee3cd5
-0, 297000, 107520, 0x59096471
-0, 300000, 107520, 0x53b470c6
-0, 303000, 107520, 0xdb7c64ff
-0, 306000, 107520, 0xe5a1596a
-0, 309000, 107520, 0x8c8942eb
-0, 312000, 107520, 0x5ecc379e
-0, 315000, 107520, 0xea09432a
+0, 294000, 107520, 0xf0648459
+0, 300000, 107520, 0x7e4a4cca
+0, 306000, 107520, 0xb315dc65
+0, 312000, 107520, 0x2aecc7b4
1, 315012, 44112, 0x3dbe1aef
-0, 318000, 107520, 0xe01e6b73
-0, 321000, 107520, 0x1d13bba8
-0, 324000, 107520, 0x3a993a6c
-0, 327000, 107520, 0x2ede041a
+0, 318000, 107520, 0x81742f51
+0, 324000, 107520, 0x3a1d7571
+0, 330000, 107520, 0x3a1d7571
+0, 336000, 107520, 0x3a1d7571
1, 337518, 44064, 0xed2c7dfb
+0, 342000, 107520, 0x3a1d7571
+0, 348000, 107520, 0x3a1d7571
+0, 354000, 107520, 0x3a1d7571
+0, 360000, 107520, 0x3a1d7571
1, 360000, 44112, 0x9e475274
+0, 366000, 107520, 0xe974733e
+0, 372000, 107520, 0x999c6fbf
+0, 378000, 107520, 0x26b56b6e
1, 382506, 44112, 0x541f05d4
+0, 384000, 107520, 0xc9f9647b
+0, 390000, 107520, 0x6d025d00
+0, 396000, 107520, 0xf9c056c1
+0, 402000, 107520, 0xa5cc4d0b
1, 405012, 44112, 0x09e39025
+0, 408000, 107520, 0x1a4c4236
+0, 414000, 107520, 0xa9d538b6
+0, 420000, 107520, 0x14682d00
+0, 426000, 107520, 0x6236204f
1, 427518, 44064, 0xdc111087
+0, 432000, 107520, 0x303e14aa
+0, 438000, 107520, 0x943b0837
+0, 444000, 107520, 0xfce5fd07
+0, 450000, 107520, 0xd993f193
1, 450000, 44112, 0xb8f86e48
+0, 456000, 107520, 0x4d48e7b4
+0, 462000, 107520, 0x61ccdf83
+0, 468000, 107520, 0xfb4fd608
1, 472506, 44112, 0xa1e0c75c
+0, 474000, 107520, 0x5efdcdb3
+0, 480000, 107520, 0xb03ec886
+0, 486000, 107520, 0xf464c343
+0, 492000, 107520, 0xf464c343
1, 495012, 44112, 0x0654dcb0
+0, 498000, 107520, 0xf464c343
+0, 504000, 107520, 0xf464c343
+0, 510000, 107520, 0xf464c343
+0, 516000, 107520, 0xf464c343
1, 517518, 44064, 0xb921e11a
+0, 522000, 107520, 0xf464c343
+0, 528000, 107520, 0xf464c343
+0, 534000, 107520, 0xf464c343
+0, 540000, 107520, 0xf464c343
1, 540000, 44112, 0xe0ac619f
+0, 546000, 107520, 0xf464c343
+0, 552000, 107520, 0xf2b2c712
+0, 558000, 107520, 0xf2b2c712
1, 562506, 44112, 0xb07aa65c
+0, 564000, 107520, 0xf2b2c712
+0, 570000, 107520, 0xf2b2c712
+0, 576000, 107520, 0xb95e6bc8
+0, 582000, 107520, 0x33feee37
1, 585012, 44112, 0x24610ff0
+0, 588000, 107520, 0x36ee3cd5
+0, 594000, 107520, 0x59096471
+0, 600000, 107520, 0x53b470c6
+0, 606000, 107520, 0xdb7c64ff
1, 607518, 44064, 0x00000000
+0, 612000, 107520, 0xe5a1596a
+0, 618000, 107520, 0x8c8942eb
+0, 624000, 107520, 0x5ecc379e
+0, 630000, 107520, 0xea09432a
1, 630000, 44112, 0x00000000
+0, 636000, 107520, 0xe01e6b73
+0, 642000, 107520, 0x1d13bba8
+0, 648000, 107520, 0x3a993a6c
1, 652506, 8800, 0x00000000
+0, 654000, 107520, 0x2ede041a
diff --git a/tests/ref/fate/h264-lossless b/tests/ref/fate/h264-lossless
index c6659ca830..6b45181fcd 100644
--- a/tests/ref/fate/h264-lossless
+++ b/tests/ref/fate/h264-lossless
@@ -1,10 +1,10 @@
0, 0, 460800, 0x7731dd2f
-0, 1500, 460800, 0x944b8c64
-0, 3000, 460800, 0xbe833041
-0, 4500, 460800, 0xbe95d96a
-0, 6000, 460800, 0xfe7ea5e6
-0, 7500, 460800, 0x381743c7
-0, 9000, 460800, 0x63fcc2e9
-0, 10500, 460800, 0x79574960
-0, 12000, 460800, 0xdab9e18a
-0, 13500, 460800, 0xd88e8fe8
+0, 3000, 460800, 0x944b8c64
+0, 4500, 460800, 0xbe833041
+0, 6000, 460800, 0xbe95d96a
+0, 7500, 460800, 0xfe7ea5e6
+0, 9000, 460800, 0x381743c7
+0, 10500, 460800, 0x63fcc2e9
+0, 12000, 460800, 0x79574960
+0, 13500, 460800, 0xdab9e18a
+0, 15000, 460800, 0xd88e8fe8
diff --git a/tests/ref/fate/mimic b/tests/ref/fate/mimic
index 8195cdcaba..b977ac5b8d 100644
--- a/tests/ref/fate/mimic
+++ b/tests/ref/fate/mimic
@@ -1,76 +1,76 @@
0, 0, 115200, 0xa974d407
-0, 90, 115200, 0x72618b84
-0, 180, 115200, 0x87768573
-0, 270, 115200, 0x5d218e3e
-0, 360, 115200, 0x0c0db41c
-0, 450, 115200, 0xb777fd48
-0, 540, 115200, 0x40765de7
-0, 630, 115200, 0x370a3c90
-0, 720, 115200, 0xc605785a
-0, 810, 115200, 0x49468b23
-0, 900, 115200, 0x986b6fd4
-0, 990, 115200, 0x30f22ef8
-0, 1080, 115200, 0xa90bd608
-0, 1170, 115200, 0x9cf36518
-0, 1260, 115200, 0x4ef1a679
-0, 1350, 115200, 0x0df65873
-0, 1440, 115200, 0xfecd4233
-0, 1530, 115200, 0xee2f26cb
-0, 1620, 115200, 0x795f612d
-0, 1710, 115200, 0xbbb90125
-0, 1800, 115200, 0x9230fb6e
-0, 1890, 115200, 0x11869996
-0, 1980, 115200, 0x6b5c892b
-0, 2070, 115200, 0x88bdb9cd
-0, 2160, 115200, 0x364bc5a0
-0, 2250, 115200, 0x6b66d817
-0, 2340, 115200, 0xd3a41252
-0, 2430, 115200, 0x0cf5612f
-0, 2520, 115200, 0x9752d055
-0, 2610, 115200, 0x486e9f6f
-0, 2700, 115200, 0x3eab62f8
-0, 2790, 115200, 0xa7f52762
-0, 2880, 115200, 0xfd4c4bbc
-0, 2970, 115200, 0x194023f6
-0, 3060, 115200, 0xd4668dad
-0, 3150, 115200, 0x6b20d64b
-0, 3240, 115200, 0xf2572aae
-0, 3330, 115200, 0xc3554f25
-0, 3420, 115200, 0xeeb5073a
-0, 3510, 115200, 0xbd46291f
-0, 3600, 115200, 0x0526838d
-0, 3690, 115200, 0x85b2e864
-0, 3780, 115200, 0xcfd894bc
-0, 3870, 115200, 0x644f10fb
-0, 3960, 115200, 0x556e4d88
-0, 4050, 115200, 0x93243614
-0, 4140, 115200, 0x754275c5
-0, 4230, 115200, 0x7f648bf3
-0, 4320, 115200, 0xece18c9b
-0, 4410, 115200, 0x385d52c1
-0, 4500, 115200, 0xafc58e4a
-0, 4590, 115200, 0x50daf750
-0, 4680, 115200, 0xf6bc67d1
-0, 4770, 115200, 0xb64b6e07
-0, 4860, 115200, 0x8751ed15
-0, 4950, 115200, 0x329ce803
-0, 5040, 115200, 0x40b2cb05
-0, 5130, 115200, 0x60f3517d
-0, 5220, 115200, 0xe0d46fdf
-0, 5310, 115200, 0x204529fa
-0, 5400, 115200, 0xd5afaf22
-0, 5490, 115200, 0xd3cb3d4c
-0, 5580, 115200, 0x87973a79
-0, 5670, 115200, 0xe3b2f917
-0, 5760, 115200, 0xf1923238
-0, 5850, 115200, 0x51494d71
-0, 5940, 115200, 0x58bc59bb
-0, 6030, 115200, 0xd0273fdb
-0, 6120, 115200, 0x6cc79700
-0, 6210, 115200, 0xc8172d31
-0, 6300, 115200, 0x8eb037ef
-0, 6390, 115200, 0xc0bc2d76
-0, 6480, 115200, 0x663c467a
-0, 6570, 115200, 0xd085e950
-0, 6660, 115200, 0x7d198d72
-0, 6750, 115200, 0x6ebacda0
+0, 49320, 115200, 0x72618b84
+0, 97920, 115200, 0x87768573
+0, 158310, 115200, 0x5d218e3e
+0, 219330, 115200, 0x0c0db41c
+0, 276840, 115200, 0xb777fd48
+0, 351720, 115200, 0x40765de7
+0, 409050, 115200, 0x370a3c90
+0, 458280, 115200, 0xc605785a
+0, 541440, 115200, 0x49468b23
+0, 590400, 115200, 0x986b6fd4
+0, 688320, 115200, 0x30f22ef8
+0, 734760, 115200, 0xa90bd608
+0, 795240, 115200, 0x9cf36518
+0, 866880, 115200, 0x4ef1a679
+0, 892980, 115200, 0x0df65873
+0, 928440, 115200, 0xfecd4233
+0, 999360, 115200, 0xee2f26cb
+0, 1059840, 115200, 0x795f612d
+0, 1108890, 115200, 0xbbb90125
+0, 1169280, 115200, 0x9230fb6e
+0, 1242450, 115200, 0x11869996
+0, 1302120, 115200, 0x6b5c892b
+0, 1362240, 115200, 0x88bdb9cd
+0, 1434330, 115200, 0x364bc5a0
+0, 1494720, 115200, 0x6b66d817
+0, 1555290, 115200, 0xd3a41252
+0, 1628010, 115200, 0x0cf5612f
+0, 1687860, 115200, 0x9752d055
+0, 1782720, 115200, 0x486e9f6f
+0, 1843560, 115200, 0x3eab62f8
+0, 1892790, 115200, 0xa7f52762
+0, 1976130, 115200, 0xfd4c4bbc
+0, 2024820, 115200, 0x194023f6
+0, 2059200, 115200, 0xd4668dad
+0, 2131200, 115200, 0x6b20d64b
+0, 2191770, 115200, 0xf2572aae
+0, 2241090, 115200, 0xc3554f25
+0, 2312550, 115200, 0xeeb5073a
+0, 2384550, 115200, 0xbd46291f
+0, 2433600, 115200, 0x0526838d
+0, 2529630, 115200, 0x85b2e864
+0, 2590020, 115200, 0xcfd894bc
+0, 2638440, 115200, 0x644f10fb
+0, 2721600, 115200, 0x556e4d88
+0, 2770740, 115200, 0x93243614
+0, 2878470, 115200, 0x754275c5
+0, 2963610, 115200, 0x7f648bf3
+0, 3024000, 115200, 0xece18c9b
+0, 3084390, 115200, 0x385d52c1
+0, 3168090, 115200, 0xafc58e4a
+0, 3216870, 115200, 0x50daf750
+0, 3274560, 115200, 0xf6bc67d1
+0, 3360960, 115200, 0xb64b6e07
+0, 3422520, 115200, 0x8751ed15
+0, 3479130, 115200, 0x329ce803
+0, 3540060, 115200, 0x40b2cb05
+0, 3611610, 115200, 0x60f3517d
+0, 3672180, 115200, 0xe0d46fdf
+0, 3732480, 115200, 0x204529fa
+0, 3804840, 115200, 0xd5afaf22
+0, 3864960, 115200, 0xd3cb3d4c
+0, 3925440, 115200, 0x87973a79
+0, 3997890, 115200, 0xe3b2f917
+0, 4058280, 115200, 0xf1923238
+0, 4106880, 115200, 0x51494d71
+0, 4190490, 115200, 0x58bc59bb
+0, 4239450, 115200, 0xd0273fdb
+0, 4299840, 115200, 0x6cc79700
+0, 4346460, 115200, 0xc8172d31
+0, 4406400, 115200, 0x8eb037ef
+0, 4455360, 115200, 0xc0bc2d76
+0, 4504770, 115200, 0x663c467a
+0, 4553730, 115200, 0xd085e950
+0, 4636800, 115200, 0x7d198d72
+0, 4688280, 115200, 0x6ebacda0
diff --git a/tests/ref/fate/mpeg2-field-enc b/tests/ref/fate/mpeg2-field-enc
index 9ae5d62bf0..3096c63520 100644
--- a/tests/ref/fate/mpeg2-field-enc
+++ b/tests/ref/fate/mpeg2-field-enc
@@ -1,31 +1,31 @@
-0, 0, 622080, 0xb3b66c5c
-0, 3600, 622080, 0x088ec02b
-0, 7200, 622080, 0x7a36db21
-0, 10800, 622080, 0x541b286f
-0, 14400, 622080, 0xb6c3e590
-0, 18000, 622080, 0x39dbed51
-0, 21600, 622080, 0x973dc728
-0, 25200, 622080, 0xd7a4f804
-0, 28800, 622080, 0xa2484762
-0, 32400, 622080, 0x0cd268d1
-0, 36000, 622080, 0x72eb663d
-0, 39600, 622080, 0x8fdbac59
-0, 43200, 622080, 0xa6f4feb9
-0, 46800, 622080, 0xadb828c6
-0, 50400, 622080, 0xea630a63
-0, 54000, 622080, 0xa901d925
-0, 57600, 622080, 0xac5e7087
-0, 61200, 622080, 0x10274a2b
-0, 64800, 622080, 0x143d541c
-0, 68400, 622080, 0xee94c93a
-0, 72000, 622080, 0xca030208
-0, 75600, 622080, 0x26f30ead
-0, 79200, 622080, 0xfc22f32c
-0, 82800, 622080, 0x940a5ff8
-0, 86400, 622080, 0x2164f805
-0, 90000, 622080, 0xa76f5aba
-0, 93600, 622080, 0x8c311471
-0, 97200, 622080, 0xa45e1d95
-0, 100800, 622080, 0x6cc61d6c
-0, 104400, 622080, 0x6983b417
-0, 108000, 622080, 0x982363c0
+0, 32400, 622080, 0xb3b66c5c
+0, 36000, 622080, 0x088ec02b
+0, 39600, 622080, 0x7a36db21
+0, 43200, 622080, 0x541b286f
+0, 46800, 622080, 0xb6c3e590
+0, 50400, 622080, 0x39dbed51
+0, 54000, 622080, 0x973dc728
+0, 57600, 622080, 0xd7a4f804
+0, 61200, 622080, 0xa2484762
+0, 64800, 622080, 0x0cd268d1
+0, 68400, 622080, 0x72eb663d
+0, 72000, 622080, 0x8fdbac59
+0, 75600, 622080, 0xa6f4feb9
+0, 79200, 622080, 0xadb828c6
+0, 82800, 622080, 0xea630a63
+0, 86400, 622080, 0xa901d925
+0, 90000, 622080, 0xac5e7087
+0, 93600, 622080, 0x10274a2b
+0, 97200, 622080, 0x143d541c
+0, 100800, 622080, 0xee94c93a
+0, 104400, 622080, 0xca030208
+0, 108000, 622080, 0x26f30ead
+0, 111600, 622080, 0xfc22f32c
+0, 115200, 622080, 0x940a5ff8
+0, 118800, 622080, 0x2164f805
+0, 122400, 622080, 0xa76f5aba
+0, 126000, 622080, 0x8c311471
+0, 129600, 622080, 0xa45e1d95
+0, 133200, 622080, 0x6cc61d6c
+0, 136800, 622080, 0x6983b417
+0, 140400, 622080, 0x982363c0
diff --git a/tests/ref/fate/nuv b/tests/ref/fate/nuv
index 46765f9086..d34f1f3ea7 100644
--- a/tests/ref/fate/nuv
+++ b/tests/ref/fate/nuv
@@ -1,27 +1,27 @@
-0, 0, 460800, 0x54aedafe
1, 0, 4096, 0x00000000
1, 2090, 4096, 0x4dfae7a6
-0, 3003, 460800, 0xb7aa8b56
1, 4180, 4096, 0x3fd9f5c6
-0, 6006, 460800, 0x283ea3b5
1, 6269, 4096, 0x7b86e310
1, 8359, 4096, 0x611cece5
-0, 9009, 460800, 0x283ea3b5
1, 10449, 4096, 0xb7d8e872
-0, 12012, 460800, 0x10e577de
+0, 12012, 460800, 0x54aedafe
1, 12539, 4096, 0x072ef72b
1, 14629, 4096, 0xb3560144
-0, 15015, 460800, 0x4e091ee2
+0, 15015, 460800, 0xb7aa8b56
1, 16718, 4096, 0x0a3d119e
-0, 18018, 460800, 0x2ea88828
+0, 18018, 460800, 0x283ea3b5
1, 18808, 4096, 0xbe391aa4
1, 20898, 4096, 0x28f7c6e5
-0, 21021, 460800, 0x4b7f4df0
+0, 21021, 460800, 0x283ea3b5
1, 22988, 4096, 0xca9d9df2
-0, 24024, 460800, 0xa57f20d0
+0, 24024, 460800, 0x10e577de
1, 25078, 4096, 0x5c6b95a9
+0, 27027, 460800, 0x4e091ee2
1, 27167, 4096, 0x0bdfc0bf
1, 29257, 4096, 0xd95a9277
+0, 30030, 460800, 0x2ea88828
1, 31347, 4096, 0xae2bef2c
+0, 33033, 460800, 0x4b7f4df0
1, 33437, 4096, 0xbf031e83
1, 35527, 4096, 0x4c83e2d1
+0, 36036, 460800, 0xa57f20d0
diff --git a/tests/ref/fate/quickdraw b/tests/ref/fate/quickdraw
index 5d6303b70d..0f78a17a94 100644
--- a/tests/ref/fate/quickdraw
+++ b/tests/ref/fate/quickdraw
@@ -1,2 +1,2 @@
0, 0, 921600, 0xc0e68764
-0, 6000, 921600, 0x01a16629
+0, 12000, 921600, 0x01a16629
diff --git a/tests/ref/fate/sierra-vmd b/tests/ref/fate/sierra-vmd
index 8ea1570472..6633fd33d6 100644
--- a/tests/ref/fate/sierra-vmd
+++ b/tests/ref/fate/sierra-vmd
@@ -79,131 +79,126 @@
1, 468000, 4410, 0x71e52909
0, 477000, 230400, 0xe4fd884d
1, 477000, 4410, 0x9f0a6f4d
-0, 486000, 230400, 0x9a228555
1, 486000, 4410, 0x901302f2
-0, 495000, 230400, 0x9eba8ed5
1, 495000, 4410, 0x855d5222
-0, 504000, 230400, 0x3d808a3d
1, 504000, 4410, 0x324bb2fe
-0, 513000, 230400, 0xf57e866d
+0, 513000, 230400, 0x9a228555
1, 513000, 4410, 0xe85f583f
-0, 522000, 230400, 0x85f594f5
+0, 522000, 230400, 0x9eba8ed5
1, 522000, 4410, 0x2cbc67c4
-0, 531000, 230400, 0xb09f99dd
+0, 531000, 230400, 0x3d808a3d
1, 531000, 4410, 0xc82e6aa1
-0, 540000, 230400, 0x2b368475
+0, 540000, 230400, 0xf57e866d
1, 540000, 4410, 0xb9fc423c
-0, 549000, 230400, 0xa2417afd
+0, 549000, 230400, 0x85f594f5
1, 549000, 4410, 0x6b9b4ef9
-0, 558000, 230400, 0x590b709d
+0, 558000, 230400, 0xb09f99dd
1, 558000, 4410, 0x39290f10
-0, 567000, 230400, 0x5d617705
+0, 567000, 230400, 0x2b368475
1, 567000, 4410, 0xad718eb4
-0, 576000, 230400, 0xabf981ad
+0, 576000, 230400, 0xa2417afd
1, 576000, 4410, 0x82f463ac
-0, 585000, 230400, 0x5a8590cd
+0, 585000, 230400, 0x590b709d
1, 585000, 4410, 0xfac87cac
-0, 594000, 230400, 0x1bff853d
+0, 594000, 230400, 0x5d617705
1, 594000, 4410, 0x9e8bcca7
-0, 603000, 230400, 0x71d08055
+0, 603000, 230400, 0xabf981ad
1, 603000, 4410, 0x52f79c99
-0, 612000, 230400, 0x2ebd817d
+0, 612000, 230400, 0x5a8590cd
1, 612000, 4410, 0xf2d14de2
-0, 621000, 230400, 0x6e838255
+0, 621000, 230400, 0x1bff853d
1, 621000, 4410, 0x367f95e1
-0, 630000, 230400, 0x043984cd
+0, 630000, 230400, 0x71d08055
1, 630000, 4410, 0x8bfac293
-0, 639000, 230400, 0x7ff18495
+0, 639000, 230400, 0x2ebd817d
1, 639000, 4410, 0x01ea5040
-0, 648000, 230400, 0xa43b8385
+0, 648000, 230400, 0x6e838255
1, 648000, 4410, 0x8ff5e212
-0, 657000, 230400, 0x72b5825d
+0, 657000, 230400, 0x043984cd
1, 657000, 4410, 0x93f32824
-0, 666000, 230400, 0x3a178085
+0, 666000, 230400, 0x7ff18495
1, 666000, 4410, 0x998f90dc
-0, 675000, 230400, 0x67748245
+0, 675000, 230400, 0xa43b8385
1, 675000, 4410, 0x65231170
-0, 684000, 230400, 0xeddf81d5
+0, 684000, 230400, 0x72b5825d
1, 684000, 4410, 0xc79039a1
-0, 693000, 230400, 0x8b088665
+0, 693000, 230400, 0x3a178085
1, 693000, 4410, 0x0b0e58bd
-0, 702000, 230400, 0x6c408e15
+0, 702000, 230400, 0x67748245
1, 702000, 4410, 0xc24ab4fa
-0, 711000, 230400, 0x81f196dd
+0, 711000, 230400, 0xeddf81d5
1, 711000, 4410, 0xd3796a8e
-0, 720000, 230400, 0xab9f953d
+0, 720000, 230400, 0x8b088665
1, 720000, 4410, 0xa37f8295
-0, 729000, 230400, 0xa5f69795
+0, 729000, 230400, 0x6c408e15
1, 729000, 4410, 0xb760fed7
-0, 738000, 230400, 0xa772950d
+0, 738000, 230400, 0x81f196dd
1, 738000, 4410, 0x05495a34
-0, 747000, 230400, 0x6a5596d5
+0, 747000, 230400, 0xab9f953d
1, 747000, 4410, 0x6f203437
-0, 756000, 230400, 0x1355958d
+0, 756000, 230400, 0xa5f69795
1, 756000, 4410, 0x71299402
-0, 765000, 230400, 0x4134981d
+0, 765000, 230400, 0xa772950d
1, 765000, 4410, 0x72e7b346
-0, 774000, 230400, 0x8b929515
+0, 774000, 230400, 0x6a5596d5
1, 774000, 4410, 0x879b0dae
-0, 783000, 230400, 0x482f95c5
+0, 783000, 230400, 0x1355958d
1, 783000, 4410, 0x041aa1bd
-0, 792000, 230400, 0x7a9795d5
+0, 792000, 230400, 0x4134981d
1, 792000, 4410, 0x18a962e6
-0, 801000, 230400, 0x21c29abd
+0, 801000, 230400, 0x8b929515
1, 801000, 4410, 0x21d20539
-0, 810000, 230400, 0x9ae6a475
+0, 810000, 230400, 0x482f95c5
1, 810000, 4410, 0x8f449267
-0, 819000, 230400, 0x3734aee5
+0, 819000, 230400, 0x7a9795d5
1, 819000, 4410, 0xecdc01d6
-0, 828000, 230400, 0xa0a1b365
+0, 828000, 230400, 0x21c29abd
1, 828000, 4410, 0x458abd5a
-0, 837000, 230400, 0x2dcab1c5
+0, 837000, 230400, 0x9ae6a475
1, 837000, 4410, 0xa070ea63
-0, 846000, 230400, 0x9c8b6c44
+0, 846000, 230400, 0x3734aee5
1, 846000, 4410, 0xc25b26ce
-0, 855000, 230400, 0x5da75feb
+0, 855000, 230400, 0xa0a1b365
1, 855000, 4410, 0x4d9237ca
-0, 864000, 230400, 0x4d02f8e3
+0, 864000, 230400, 0x2dcab1c5
1, 864000, 4410, 0x748e1801
-0, 873000, 230400, 0x66824f3a
+0, 873000, 230400, 0x9c8b6c44
1, 873000, 4410, 0xc96b69e6
-0, 882000, 230400, 0x0c9257e2
+0, 882000, 230400, 0x5da75feb
1, 882000, 4410, 0x6663186c
-0, 891000, 230400, 0xb2927092
+0, 891000, 230400, 0x4d02f8e3
1, 891000, 4410, 0x7f6d3081
-0, 900000, 230400, 0xb5dc6e9a
+0, 900000, 230400, 0x66824f3a
1, 900000, 4410, 0x1a0343b5
-0, 909000, 230400, 0x6e567bc6
+0, 909000, 230400, 0x0c9257e2
1, 909000, 4410, 0xc48e338c
-0, 918000, 230400, 0xbf9e0f7a
+0, 918000, 230400, 0xb2927092
1, 918000, 4410, 0x26fc03c8
-0, 927000, 230400, 0xb16f684a
+0, 927000, 230400, 0xb5dc6e9a
1, 927000, 4410, 0x69be7e2d
-0, 936000, 230400, 0xf9e55e81
+0, 936000, 230400, 0x6e567bc6
1, 936000, 4410, 0x69a74da1
-0, 945000, 230400, 0xd8d0bcba
+0, 945000, 230400, 0xbf9e0f7a
1, 945000, 4410, 0x85bd2ab3
-0, 954000, 230400, 0x44720ac0
+0, 954000, 230400, 0xb16f684a
1, 954000, 4410, 0xeff05426
-0, 963000, 230400, 0x7d4c2058
+0, 963000, 230400, 0xf9e55e81
1, 963000, 4410, 0x292829e0
-0, 972000, 230400, 0xb0973eb9
+0, 972000, 230400, 0xd8d0bcba
1, 972000, 4410, 0x8f741798
-0, 981000, 230400, 0x405a13ce
+0, 981000, 230400, 0x44720ac0
1, 981000, 4410, 0x6b9337e9
-0, 990000, 230400, 0x6422f00a
+0, 990000, 230400, 0x7d4c2058
1, 990000, 4410, 0xe4e1703f
-0, 999000, 230400, 0x924b6c1e
1, 999000, 4410, 0x043d6c35
-0, 1008000, 230400, 0xcf7809c0
1, 1008000, 4410, 0x3a8988e7
-0, 1017000, 230400, 0x883a3863
+0, 1017000, 230400, 0xb0973eb9
1, 1017000, 4410, 0x1fa7d2a9
-0, 1026000, 230400, 0x6adc9e03
+0, 1026000, 230400, 0x405a13ce
1, 1026000, 4410, 0xe28799e3
-0, 1035000, 230400, 0x4f5ab7a8
+0, 1035000, 230400, 0x6422f00a
1, 1035000, 4410, 0xc2df4470
-0, 1044000, 230400, 0xdc0aab94
+0, 1044000, 230400, 0x924b6c1e
1, 1044000, 4410, 0x694d0cf5
1, 1053000, 4410, 0x5aac2dcf
1, 1062000, 4410, 0x259fa2db
@@ -233,9 +228,13 @@
1, 1278000, 4410, 0x5e13c602
1, 1287000, 4410, 0xe955b5e3
1, 1296000, 4410, 0xefad19a1
+0, 1305000, 230400, 0xcf7809c0
1, 1305000, 4410, 0x435950de
+0, 1314000, 230400, 0x883a3863
1, 1314000, 4410, 0x9d624ebe
+0, 1323000, 230400, 0x6adc9e03
1, 1323000, 4410, 0x774a9158
+0, 1332000, 230400, 0x4f5ab7a8
1, 1332000, 4410, 0x8c41e66a
1, 1341000, 4410, 0x70112740
1, 1350000, 4410, 0x55abc7a2
@@ -302,6 +301,7 @@
1, 1899000, 4410, 0x115c25be
1, 1908000, 4410, 0x1100f085
1, 1917000, 4410, 0x00000000
+0, 1926000, 230400, 0xdc0aab94
1, 1926000, 4410, 0x00000000
1, 1935000, 4410, 0x00000000
1, 1944000, 4410, 0x00000000
diff --git a/tests/ref/fate/tiertex-seq b/tests/ref/fate/tiertex-seq
index 24819ebf62..e16f73466b 100644
--- a/tests/ref/fate/tiertex-seq
+++ b/tests/ref/fate/tiertex-seq
@@ -1,96 +1,96 @@
0, 0, 98304, 0x2e5db4a4
1, 0, 1764, 0x00000000
-0, 3600, 98304, 0xb20c19d0
1, 3600, 1764, 0x80a253d9
-0, 7200, 98304, 0x6b8538c0
1, 7200, 1764, 0x95a16721
-0, 10800, 98304, 0x172207e3
1, 10800, 1764, 0x0f0d4cb6
-0, 14400, 98304, 0x63fb7dc1
+0, 14400, 98304, 0xb20c19d0
1, 14400, 1764, 0x75026779
-0, 18000, 98304, 0x37cf1601
1, 18000, 1764, 0xb4356e37
-0, 21600, 98304, 0x82941990
1, 21600, 1764, 0xfafa64cb
-0, 25200, 98304, 0xe0a5309e
+0, 25200, 98304, 0x6b8538c0
1, 25200, 1764, 0xe8fd7970
-0, 28800, 98304, 0x164cb67d
1, 28800, 1764, 0x666879b7
-0, 32400, 98304, 0xed2189f8
1, 32400, 1764, 0xf2cd7770
-0, 36000, 98304, 0x7215e529
1, 36000, 1764, 0x54317a1c
-0, 39600, 98304, 0x170c783b
+0, 39600, 98304, 0x172207e3
1, 39600, 1764, 0x9c396930
-0, 43200, 98304, 0xf6bd74c7
1, 43200, 1764, 0x87115ec4
-0, 46800, 98304, 0x1efd38c4
1, 46800, 1764, 0x0c9b69b6
-0, 50400, 98304, 0x29c26bba
+0, 50400, 98304, 0x63fb7dc1
1, 50400, 1764, 0x8c3a758a
-0, 54000, 98304, 0x880a6313
1, 54000, 1764, 0x605d776a
-0, 57600, 98304, 0x73f5bb00
1, 57600, 1764, 0x0556852d
-0, 61200, 98304, 0xc85b19ec
1, 61200, 1764, 0x7d4363f8
-0, 64800, 98304, 0x00000000
+0, 64800, 98304, 0x37cf1601
1, 64800, 1764, 0xc5cd75d0
-0, 68400, 98304, 0x00000000
1, 68400, 1764, 0x3ff3646d
-0, 72000, 98304, 0x00000000
1, 72000, 1764, 0x10136d25
1, 75600, 1764, 0xeb1a6cd0
+0, 79200, 98304, 0x82941990
1, 79200, 1764, 0xef937ed1
1, 82800, 1764, 0x2d2b6f79
1, 86400, 1764, 0x6f457231
+0, 90000, 98304, 0xe0a5309e
1, 90000, 1764, 0x56267c9d
1, 93600, 1764, 0xd49e79c8
1, 97200, 1764, 0xc726703d
1, 100800, 1764, 0x2abf8074
+0, 104400, 98304, 0x164cb67d
1, 104400, 1764, 0xb50c556d
1, 108000, 1764, 0xc1f2523c
1, 111600, 1764, 0x850a6f93
+0, 115200, 98304, 0xed2189f8
1, 115200, 1764, 0x8da76c31
1, 118800, 1764, 0xfcccdf13
1, 122400, 1764, 0x00000000
1, 126000, 1764, 0x00000000
+0, 129600, 98304, 0x7215e529
1, 129600, 1764, 0x00000000
1, 133200, 1764, 0x00000000
1, 136800, 1764, 0x00000000
+0, 140400, 98304, 0x170c783b
1, 140400, 1764, 0x00000000
1, 144000, 1764, 0x00000000
1, 147600, 1764, 0x00000000
1, 151200, 1764, 0x00000000
+0, 154800, 98304, 0xf6bd74c7
1, 154800, 1764, 0x00000000
1, 158400, 1764, 0x00000000
1, 162000, 1764, 0x00000000
1, 165600, 1764, 0x00000000
+0, 169200, 98304, 0x1efd38c4
1, 169200, 1764, 0x00000000
1, 172800, 1764, 0x00000000
1, 176400, 1764, 0x00000000
+0, 180000, 98304, 0x29c26bba
1, 180000, 1764, 0x00000000
1, 183600, 1764, 0x00000000
1, 187200, 1764, 0x00000000
1, 190800, 1764, 0x00000000
+0, 194400, 98304, 0x880a6313
1, 194400, 1764, 0x00000000
1, 198000, 1764, 0x00000000
1, 201600, 1764, 0x00000000
+0, 205200, 98304, 0x73f5bb00
1, 205200, 1764, 0x00000000
1, 208800, 1764, 0x00000000
1, 212400, 1764, 0x00000000
1, 216000, 1764, 0x00000000
+0, 219600, 98304, 0xc85b19ec
1, 219600, 1764, 0x00000000
1, 223200, 1764, 0x00000000
1, 226800, 1764, 0x00000000
+0, 230400, 98304, 0x00000000
1, 230400, 1764, 0x00000000
1, 234000, 1764, 0x00000000
1, 237600, 1764, 0x00000000
1, 241200, 1764, 0x00000000
+0, 244800, 98304, 0x00000000
1, 244800, 1764, 0x00000000
1, 248400, 1764, 0x00000000
1, 252000, 1764, 0x00000000
1, 255600, 1764, 0x00000000
+0, 259200, 98304, 0x00000000
1, 259200, 1764, 0x00000000
1, 262800, 1764, 0x00000000
1, 266400, 1764, 0x00000000
diff --git a/tests/ref/fate/tscc-32bit b/tests/ref/fate/tscc-32bit
index 90deaf561b..ce567be54d 100644
--- a/tests/ref/fate/tscc-32bit
+++ b/tests/ref/fate/tscc-32bit
@@ -8,149 +8,149 @@
0, 42000, 2359296, 0xe990f855
0, 48000, 2359296, 0xe990f855
0, 54000, 2359296, 0x3ec2c64e
-0, 60000, 2359296, 0xda3ba3cf
-0, 66000, 2359296, 0x60a070fd
-0, 72000, 2359296, 0x42e5fedc
-0, 78000, 2359296, 0x42e5fedc
-0, 84000, 2359296, 0x699cf990
-0, 90000, 2359296, 0x699cf990
-0, 96000, 2359296, 0x699cf990
+0, 78000, 2359296, 0xda3ba3cf
+0, 84000, 2359296, 0x60a070fd
+0, 90000, 2359296, 0x42e5fedc
+0, 96000, 2359296, 0x42e5fedc
0, 102000, 2359296, 0x699cf990
0, 108000, 2359296, 0x699cf990
0, 114000, 2359296, 0x699cf990
0, 120000, 2359296, 0x699cf990
-0, 126000, 2359296, 0x1524160c
-0, 132000, 2359296, 0x1524160c
-0, 138000, 2359296, 0x1524160c
+0, 126000, 2359296, 0x699cf990
+0, 132000, 2359296, 0x699cf990
+0, 138000, 2359296, 0x699cf990
0, 144000, 2359296, 0x1524160c
0, 150000, 2359296, 0x1524160c
0, 156000, 2359296, 0x1524160c
0, 162000, 2359296, 0x1524160c
-0, 168000, 2359296, 0x33df0c8c
-0, 174000, 2359296, 0x33df0c8c
-0, 180000, 2359296, 0x33df0c8c
+0, 168000, 2359296, 0x1524160c
+0, 174000, 2359296, 0x1524160c
+0, 180000, 2359296, 0x1524160c
0, 186000, 2359296, 0x33df0c8c
0, 192000, 2359296, 0x33df0c8c
0, 198000, 2359296, 0x33df0c8c
0, 204000, 2359296, 0x33df0c8c
-0, 210000, 2359296, 0xfe3d29f8
-0, 216000, 2359296, 0xfe3d29f8
-0, 222000, 2359296, 0xfe3d29f8
+0, 210000, 2359296, 0x33df0c8c
+0, 216000, 2359296, 0x33df0c8c
+0, 222000, 2359296, 0x33df0c8c
0, 228000, 2359296, 0xfe3d29f8
0, 234000, 2359296, 0xfe3d29f8
0, 240000, 2359296, 0xfe3d29f8
0, 246000, 2359296, 0xfe3d29f8
-0, 252000, 2359296, 0x1b9d197f
-0, 258000, 2359296, 0x1b9d197f
-0, 264000, 2359296, 0x1b9d197f
+0, 252000, 2359296, 0xfe3d29f8
+0, 258000, 2359296, 0xfe3d29f8
+0, 264000, 2359296, 0xfe3d29f8
0, 270000, 2359296, 0x1b9d197f
0, 276000, 2359296, 0x1b9d197f
0, 282000, 2359296, 0x1b9d197f
0, 288000, 2359296, 0x1b9d197f
-0, 294000, 2359296, 0x48c126fb
-0, 300000, 2359296, 0x48c126fb
-0, 306000, 2359296, 0x48c126fb
+0, 294000, 2359296, 0x1b9d197f
+0, 300000, 2359296, 0x1b9d197f
+0, 306000, 2359296, 0x1b9d197f
0, 312000, 2359296, 0x48c126fb
0, 318000, 2359296, 0x48c126fb
0, 324000, 2359296, 0x48c126fb
0, 330000, 2359296, 0x48c126fb
-0, 336000, 2359296, 0xcaa31c7c
-0, 342000, 2359296, 0xcaa31c7c
-0, 348000, 2359296, 0xcaa31c7c
+0, 336000, 2359296, 0x48c126fb
+0, 342000, 2359296, 0x48c126fb
+0, 348000, 2359296, 0x48c126fb
0, 354000, 2359296, 0xcaa31c7c
0, 360000, 2359296, 0xcaa31c7c
0, 366000, 2359296, 0xcaa31c7c
0, 372000, 2359296, 0xcaa31c7c
-0, 378000, 2359296, 0xc6a333ee
-0, 384000, 2359296, 0xc6a333ee
-0, 390000, 2359296, 0xc6a333ee
+0, 378000, 2359296, 0xcaa31c7c
+0, 384000, 2359296, 0xcaa31c7c
+0, 390000, 2359296, 0xcaa31c7c
0, 396000, 2359296, 0xc6a333ee
0, 402000, 2359296, 0xc6a333ee
0, 408000, 2359296, 0xc6a333ee
0, 414000, 2359296, 0xc6a333ee
-0, 420000, 2359296, 0xb96d1583
-0, 426000, 2359296, 0xb96d1583
-0, 432000, 2359296, 0xb96d1583
+0, 420000, 2359296, 0xc6a333ee
+0, 426000, 2359296, 0xc6a333ee
+0, 432000, 2359296, 0xc6a333ee
0, 438000, 2359296, 0xb96d1583
0, 444000, 2359296, 0xb96d1583
0, 450000, 2359296, 0xb96d1583
0, 456000, 2359296, 0xb96d1583
-0, 462000, 2359296, 0x878135ec
-0, 468000, 2359296, 0x878135ec
-0, 474000, 2359296, 0x878135ec
+0, 462000, 2359296, 0xb96d1583
+0, 468000, 2359296, 0xb96d1583
+0, 474000, 2359296, 0xb96d1583
0, 480000, 2359296, 0x878135ec
-0, 486000, 2359296, 0x878135ec
0, 492000, 2359296, 0x878135ec
0, 498000, 2359296, 0x878135ec
-0, 504000, 2359296, 0x76922870
-0, 510000, 2359296, 0x76922870
-0, 516000, 2359296, 0x76922870
-0, 522000, 2359296, 0x76922870
+0, 504000, 2359296, 0x878135ec
+0, 510000, 2359296, 0x878135ec
+0, 516000, 2359296, 0x878135ec
+0, 522000, 2359296, 0x878135ec
0, 528000, 2359296, 0x76922870
0, 534000, 2359296, 0x76922870
0, 540000, 2359296, 0x76922870
-0, 546000, 2359296, 0xb0e031f0
-0, 552000, 2359296, 0xb0e031f0
-0, 558000, 2359296, 0xb0e031f0
-0, 564000, 2359296, 0xb0e031f0
+0, 546000, 2359296, 0x76922870
+0, 552000, 2359296, 0x76922870
+0, 558000, 2359296, 0x76922870
+0, 564000, 2359296, 0x76922870
0, 570000, 2359296, 0xb0e031f0
0, 576000, 2359296, 0xb0e031f0
0, 582000, 2359296, 0xb0e031f0
-0, 588000, 2359296, 0xb2ef2a6e
-0, 594000, 2359296, 0xb2ef2a6e
-0, 600000, 2359296, 0xb2ef2a6e
-0, 606000, 2359296, 0x083c2474
-0, 612000, 2359296, 0x083c2474
-0, 618000, 2359296, 0x083c2474
-0, 624000, 2359296, 0x083c2474
-0, 630000, 2359296, 0xbdfe2ef3
-0, 636000, 2359296, 0xbdfe2ef3
-0, 642000, 2359296, 0xbdfe2ef3
-0, 648000, 2359296, 0xbdfe2ef3
+0, 588000, 2359296, 0xb0e031f0
+0, 594000, 2359296, 0xb0e031f0
+0, 600000, 2359296, 0xb0e031f0
+0, 606000, 2359296, 0xb0e031f0
+0, 612000, 2359296, 0xb2ef2a6e
+0, 618000, 2359296, 0xb2ef2a6e
+0, 624000, 2359296, 0xb2ef2a6e
+0, 630000, 2359296, 0x083c2474
+0, 636000, 2359296, 0x083c2474
+0, 642000, 2359296, 0x083c2474
+0, 648000, 2359296, 0x083c2474
0, 654000, 2359296, 0xbdfe2ef3
0, 660000, 2359296, 0xbdfe2ef3
0, 666000, 2359296, 0xbdfe2ef3
-0, 672000, 2359296, 0x934b1484
-0, 678000, 2359296, 0x934b1484
-0, 684000, 2359296, 0x934b1484
-0, 690000, 2359296, 0x934b1484
-0, 696000, 2359296, 0x3e0d1a7e
-0, 702000, 2359296, 0x3e0d1a7e
-0, 708000, 2359296, 0x3e0d1a7e
-0, 714000, 2359296, 0x3ce539e8
-0, 720000, 2359296, 0x3ce539e8
-0, 726000, 2359296, 0x3ce539e8
-0, 732000, 2359296, 0x3ce539e8
+0, 672000, 2359296, 0xbdfe2ef3
+0, 678000, 2359296, 0xbdfe2ef3
+0, 684000, 2359296, 0xbdfe2ef3
+0, 690000, 2359296, 0xbdfe2ef3
+0, 696000, 2359296, 0x934b1484
+0, 702000, 2359296, 0x934b1484
+0, 708000, 2359296, 0x934b1484
+0, 714000, 2359296, 0x934b1484
+0, 720000, 2359296, 0x3e0d1a7e
+0, 726000, 2359296, 0x3e0d1a7e
+0, 732000, 2359296, 0x3e0d1a7e
0, 738000, 2359296, 0x3ce539e8
0, 744000, 2359296, 0x3ce539e8
0, 750000, 2359296, 0x3ce539e8
-0, 756000, 2359296, 0xd46c2f69
-0, 762000, 2359296, 0xd46c2f69
-0, 768000, 2359296, 0xd46c2f69
-0, 774000, 2359296, 0xd46c2f69
+0, 756000, 2359296, 0x3ce539e8
+0, 762000, 2359296, 0x3ce539e8
+0, 768000, 2359296, 0x3ce539e8
+0, 774000, 2359296, 0x3ce539e8
0, 780000, 2359296, 0xd46c2f69
0, 786000, 2359296, 0xd46c2f69
0, 792000, 2359296, 0xd46c2f69
-0, 798000, 2359296, 0x8d2933ee
-0, 804000, 2359296, 0x8d2933ee
-0, 810000, 2359296, 0x8d2933ee
-0, 816000, 2359296, 0x8d2933ee
+0, 798000, 2359296, 0xd46c2f69
+0, 804000, 2359296, 0xd46c2f69
+0, 810000, 2359296, 0xd46c2f69
+0, 816000, 2359296, 0xd46c2f69
0, 822000, 2359296, 0x8d2933ee
0, 828000, 2359296, 0x8d2933ee
0, 834000, 2359296, 0x8d2933ee
-0, 840000, 2359296, 0xb6092b6d
-0, 846000, 2359296, 0xb6092b6d
-0, 852000, 2359296, 0xb6092b6d
-0, 858000, 2359296, 0xb6092b6d
+0, 840000, 2359296, 0x8d2933ee
+0, 846000, 2359296, 0x8d2933ee
+0, 852000, 2359296, 0x8d2933ee
+0, 858000, 2359296, 0x8d2933ee
0, 864000, 2359296, 0xb6092b6d
0, 870000, 2359296, 0xb6092b6d
0, 876000, 2359296, 0xb6092b6d
-0, 882000, 2359296, 0xe4ef27fa
-0, 888000, 2359296, 0xe4ef27fa
-0, 894000, 2359296, 0xe4ef27fa
-0, 900000, 2359296, 0xe4ef27fa
+0, 882000, 2359296, 0xb6092b6d
+0, 888000, 2359296, 0xb6092b6d
+0, 894000, 2359296, 0xb6092b6d
+0, 900000, 2359296, 0xb6092b6d
0, 906000, 2359296, 0xe4ef27fa
0, 912000, 2359296, 0xe4ef27fa
0, 918000, 2359296, 0xe4ef27fa
-0, 924000, 2359296, 0x5e5b2672
-0, 930000, 2359296, 0x5e5b2672
+0, 924000, 2359296, 0xe4ef27fa
+0, 930000, 2359296, 0xe4ef27fa
+0, 936000, 2359296, 0xe4ef27fa
+0, 942000, 2359296, 0xe4ef27fa
+0, 948000, 2359296, 0x5e5b2672
+0, 954000, 2359296, 0x5e5b2672
diff --git a/tests/ref/fate/vc1-ism b/tests/ref/fate/vc1-ism
index 886e583c5d..e2fda62d18 100644
--- a/tests/ref/fate/vc1-ism
+++ b/tests/ref/fate/vc1-ism
@@ -1,120 +1,120 @@
0, 0, 37440, 0xd1bc5235
-0, 3750, 37440, 0x158e6167
-0, 7500, 37440, 0x0faa4481
-0, 11250, 37440, 0x427158c5
-0, 15000, 37440, 0x4eb53ac6
-0, 18750, 37440, 0x99304eea
-0, 22500, 37440, 0xcc554a6f
-0, 26250, 37440, 0xabeb6c35
-0, 30000, 37440, 0xddfc7e18
-0, 33750, 37440, 0xaa79b504
-0, 37500, 37440, 0x5cb1c839
-0, 41250, 37440, 0x7e36ecca
-0, 45000, 37440, 0xf486f425
-0, 48750, 37440, 0xf1b4138f
-0, 52500, 37440, 0x966f1a49
-0, 56250, 37440, 0x5eff21da
-0, 60000, 37440, 0x333f39b1
-0, 63750, 37440, 0x62e5963e
-0, 67500, 37440, 0x26930671
-0, 71250, 37440, 0x27b4bb6c
-0, 75000, 37440, 0xdbd07766
-0, 78750, 37440, 0x04260104
-0, 82500, 37440, 0x9b1e078b
-0, 86250, 37440, 0xdf4e2474
-0, 90000, 37440, 0x57d44986
-0, 93750, 37440, 0x8780e34c
-0, 97500, 37440, 0xf80c8bc0
-0, 101250, 37440, 0x630a7583
-0, 105000, 37440, 0x235ae089
-0, 108750, 37440, 0x984b8f0e
-0, 112500, 37440, 0x865cf592
-0, 116250, 37440, 0x70f376f2
-0, 120000, 37440, 0x8b30c035
-0, 123750, 37440, 0xde772d79
-0, 127500, 37440, 0x8e076be5
-0, 131250, 37440, 0x3dc2bd9f
-0, 135000, 37440, 0xb782eb67
-0, 138750, 37440, 0x02025d73
-0, 142500, 37440, 0x86bbbce8
-0, 146250, 37440, 0xd6554f62
-0, 150000, 37440, 0xb831b917
-0, 153750, 37440, 0x80643560
-0, 157500, 37440, 0x4ecf9afd
-0, 161250, 37440, 0x9ce51e0b
-0, 165000, 37440, 0x179466cd
-0, 168750, 37440, 0x145fc900
-0, 172500, 37440, 0xb1b50402
-0, 176250, 37440, 0x0a87552a
-0, 180000, 37440, 0x8f53821d
-0, 183750, 37440, 0x1c07c825
-0, 187500, 37440, 0x49dde82f
-0, 191250, 37440, 0xb1a32605
-0, 195000, 37440, 0x410f3cd5
-0, 198750, 37440, 0xff5e6696
-0, 202500, 37440, 0x96f678c9
-0, 206250, 37440, 0x6c9e9e68
-0, 210000, 37440, 0x79a2a655
-0, 213750, 37440, 0xf237bd6c
-0, 217500, 37440, 0x4051b611
-0, 221250, 37440, 0xc7ccc918
-0, 225000, 37440, 0xbd02c122
-0, 228750, 37440, 0xacb3c881
-0, 232500, 37440, 0x2abdb940
-0, 236250, 37440, 0x19d5be85
-0, 240000, 37440, 0xfa5fb1ba
-0, 243750, 37440, 0xdae7a7aa
-0, 247500, 37440, 0x6b0f9f69
-0, 251250, 37440, 0x353e8201
-0, 255000, 37440, 0xa21443aa
-0, 258750, 37440, 0x66c8d7e0
-0, 262500, 37440, 0xc332068e
-0, 266250, 37440, 0x71431b9b
-0, 270000, 37440, 0x392f15cb
-0, 273750, 37440, 0x95a146bb
-0, 277500, 37440, 0x7c51740a
-0, 281250, 37440, 0xa3bdd43c
-0, 285000, 37440, 0xa079f965
-0, 288750, 37440, 0xa95423ea
-0, 292500, 37440, 0xd1bd2c67
-0, 296250, 37440, 0x6cf82844
-0, 300000, 37440, 0xd401e128
-0, 303750, 37440, 0x1f7db118
-0, 307500, 37440, 0x2e0a65a9
-0, 311250, 37440, 0x321c1c40
-0, 315000, 37440, 0x95b2a127
-0, 318750, 37440, 0xa1471f4b
-0, 322500, 37440, 0x29d148c0
-0, 326250, 37440, 0x24c07107
-0, 330000, 37440, 0x0ead678d
-0, 333750, 37440, 0xd0ca6495
-0, 337500, 37440, 0x08f935ef
-0, 341250, 37440, 0xb5ec3c38
-0, 345000, 37440, 0xce371628
-0, 348750, 37440, 0x68170812
-0, 352500, 37440, 0xe222699e
-0, 356250, 37440, 0xd688706c
-0, 360000, 37440, 0x81a033f9
-0, 363750, 37440, 0x28bd0fbf
-0, 367500, 37440, 0xe36db7b2
-0, 371250, 37440, 0x30559121
-0, 375000, 37440, 0xbf2b5fc8
-0, 378750, 37440, 0x4b427672
-0, 382500, 37440, 0x0544b0b4
-0, 386250, 37440, 0x38a70b06
-0, 390000, 37440, 0x4ed62607
-0, 393750, 37440, 0x6efe8ea6
-0, 397500, 37440, 0x81197e11
-0, 401250, 37440, 0xf4060050
-0, 405000, 37440, 0xaf205f13
-0, 408750, 37440, 0x5fa21382
-0, 412500, 37440, 0x8627ad05
-0, 416250, 37440, 0xf7130133
-0, 420000, 37440, 0x76dea7ba
-0, 423750, 37440, 0x1dbae1be
-0, 427500, 37440, 0x74a933f7
-0, 431250, 37440, 0xbdcd41a3
-0, 435000, 37440, 0xf0fe8c1c
-0, 438750, 37440, 0xc0036222
-0, 442500, 37440, 0x3058385c
-0, 446250, 37440, 0x68141016
+0, 7500, 37440, 0x158e6167
+0, 11250, 37440, 0x0faa4481
+0, 15000, 37440, 0x427158c5
+0, 18750, 37440, 0x4eb53ac6
+0, 22500, 37440, 0x99304eea
+0, 26250, 37440, 0xcc554a6f
+0, 30000, 37440, 0xabeb6c35
+0, 33750, 37440, 0xddfc7e18
+0, 37500, 37440, 0xaa79b504
+0, 41250, 37440, 0x5cb1c839
+0, 45000, 37440, 0x7e36ecca
+0, 48750, 37440, 0xf486f425
+0, 52500, 37440, 0xf1b4138f
+0, 56250, 37440, 0x966f1a49
+0, 60000, 37440, 0x5eff21da
+0, 63750, 37440, 0x333f39b1
+0, 67500, 37440, 0x62e5963e
+0, 71250, 37440, 0x26930671
+0, 75000, 37440, 0x27b4bb6c
+0, 78750, 37440, 0xdbd07766
+0, 82500, 37440, 0x04260104
+0, 86250, 37440, 0x9b1e078b
+0, 90000, 37440, 0xdf4e2474
+0, 93750, 37440, 0x57d44986
+0, 97500, 37440, 0x8780e34c
+0, 101250, 37440, 0xf80c8bc0
+0, 105000, 37440, 0x630a7583
+0, 108750, 37440, 0x235ae089
+0, 112500, 37440, 0x984b8f0e
+0, 116250, 37440, 0x865cf592
+0, 120000, 37440, 0x70f376f2
+0, 123750, 37440, 0x8b30c035
+0, 127500, 37440, 0xde772d79
+0, 131250, 37440, 0x8e076be5
+0, 135000, 37440, 0x3dc2bd9f
+0, 138750, 37440, 0xb782eb67
+0, 142500, 37440, 0x02025d73
+0, 146250, 37440, 0x86bbbce8
+0, 150000, 37440, 0xd6554f62
+0, 153750, 37440, 0xb831b917
+0, 157500, 37440, 0x80643560
+0, 161250, 37440, 0x4ecf9afd
+0, 165000, 37440, 0x9ce51e0b
+0, 168750, 37440, 0x179466cd
+0, 172500, 37440, 0x145fc900
+0, 176250, 37440, 0xb1b50402
+0, 180000, 37440, 0x0a87552a
+0, 183750, 37440, 0x8f53821d
+0, 187500, 37440, 0x1c07c825
+0, 191250, 37440, 0x49dde82f
+0, 195000, 37440, 0xb1a32605
+0, 198750, 37440, 0x410f3cd5
+0, 202500, 37440, 0xff5e6696
+0, 206250, 37440, 0x96f678c9
+0, 210000, 37440, 0x6c9e9e68
+0, 213750, 37440, 0x79a2a655
+0, 217500, 37440, 0xf237bd6c
+0, 221250, 37440, 0x4051b611
+0, 225000, 37440, 0xc7ccc918
+0, 228750, 37440, 0xbd02c122
+0, 232500, 37440, 0xacb3c881
+0, 236250, 37440, 0x2abdb940
+0, 240000, 37440, 0x19d5be85
+0, 243750, 37440, 0xfa5fb1ba
+0, 247500, 37440, 0xdae7a7aa
+0, 251250, 37440, 0x6b0f9f69
+0, 255000, 37440, 0x353e8201
+0, 258750, 37440, 0xa21443aa
+0, 262500, 37440, 0x66c8d7e0
+0, 266250, 37440, 0xc332068e
+0, 270000, 37440, 0x71431b9b
+0, 273750, 37440, 0x392f15cb
+0, 277500, 37440, 0x95a146bb
+0, 281250, 37440, 0x7c51740a
+0, 285000, 37440, 0xa3bdd43c
+0, 288750, 37440, 0xa079f965
+0, 292500, 37440, 0xa95423ea
+0, 296250, 37440, 0xd1bd2c67
+0, 300000, 37440, 0x6cf82844
+0, 303750, 37440, 0xd401e128
+0, 307500, 37440, 0x1f7db118
+0, 311250, 37440, 0x2e0a65a9
+0, 315000, 37440, 0x321c1c40
+0, 318750, 37440, 0x95b2a127
+0, 322500, 37440, 0xa1471f4b
+0, 326250, 37440, 0x29d148c0
+0, 330000, 37440, 0x24c07107
+0, 333750, 37440, 0x0ead678d
+0, 337500, 37440, 0xd0ca6495
+0, 341250, 37440, 0x08f935ef
+0, 345000, 37440, 0xb5ec3c38
+0, 348750, 37440, 0xce371628
+0, 352500, 37440, 0x68170812
+0, 356250, 37440, 0xe222699e
+0, 360000, 37440, 0xd688706c
+0, 363750, 37440, 0x81a033f9
+0, 367500, 37440, 0x28bd0fbf
+0, 371250, 37440, 0xe36db7b2
+0, 375000, 37440, 0x30559121
+0, 378750, 37440, 0xbf2b5fc8
+0, 382500, 37440, 0x4b427672
+0, 386250, 37440, 0x0544b0b4
+0, 390000, 37440, 0x38a70b06
+0, 393750, 37440, 0x4ed62607
+0, 397500, 37440, 0x6efe8ea6
+0, 401250, 37440, 0x81197e11
+0, 405000, 37440, 0xf4060050
+0, 408750, 37440, 0xaf205f13
+0, 412500, 37440, 0x5fa21382
+0, 416250, 37440, 0x8627ad05
+0, 420000, 37440, 0xf7130133
+0, 423750, 37440, 0x76dea7ba
+0, 427500, 37440, 0x1dbae1be
+0, 431250, 37440, 0x74a933f7
+0, 435000, 37440, 0xbdcd41a3
+0, 438750, 37440, 0xf0fe8c1c
+0, 442500, 37440, 0xc0036222
+0, 446250, 37440, 0x3058385c
+0, 450000, 37440, 0x68141016
diff --git a/tests/ref/fate/vc1_sa00040 b/tests/ref/fate/vc1_sa00040
index 901f81a97f..e532606e36 100644
--- a/tests/ref/fate/vc1_sa00040
+++ b/tests/ref/fate/vc1_sa00040
@@ -1,15 +1,15 @@
0, 0, 38016, 0xa6f15db5
-0, 3600, 38016, 0xa6f15db5
0, 7200, 38016, 0xa6f15db5
-0, 10800, 38016, 0x5c4ef0e7
-0, 14400, 38016, 0x53a42d1d
-0, 18000, 38016, 0x68f7d89e
-0, 21600, 38016, 0xc15f4368
+0, 10800, 38016, 0xa6f15db5
+0, 14400, 38016, 0x5c4ef0e7
+0, 18000, 38016, 0x53a42d1d
+0, 21600, 38016, 0x68f7d89e
0, 25200, 38016, 0xc15f4368
-0, 28800, 38016, 0xd1bd47a8
+0, 28800, 38016, 0xc15f4368
0, 32400, 38016, 0xd1bd47a8
-0, 36000, 38016, 0xe1e821ca
+0, 36000, 38016, 0xd1bd47a8
0, 39600, 38016, 0xe1e821ca
0, 43200, 38016, 0xe1e821ca
0, 46800, 38016, 0xe1e821ca
0, 50400, 38016, 0xe1e821ca
+0, 54000, 38016, 0xe1e821ca
diff --git a/tests/ref/fate/vc1_sa00050 b/tests/ref/fate/vc1_sa00050
index 3eb27bd3c5..08e8e6552a 100644
--- a/tests/ref/fate/vc1_sa00050
+++ b/tests/ref/fate/vc1_sa00050
@@ -1,14 +1,13 @@
0, 0, 115200, 0xb8830eef
-0, 3600, 115200, 0xb8830eef
0, 7200, 115200, 0xb8830eef
-0, 10800, 115200, 0x952ff5e1
-0, 14400, 115200, 0xa4362b14
-0, 18000, 115200, 0x32bacbe7
-0, 21600, 115200, 0x509eb814
+0, 10800, 115200, 0xb8830eef
+0, 14400, 115200, 0x952ff5e1
+0, 18000, 115200, 0xa4362b14
+0, 21600, 115200, 0x32bacbe7
0, 25200, 115200, 0x509eb814
-0, 28800, 115200, 0x11a76c3e
+0, 28800, 115200, 0x509eb814
0, 32400, 115200, 0x11a76c3e
-0, 36000, 115200, 0x00cf734a
+0, 36000, 115200, 0x11a76c3e
0, 39600, 115200, 0x00cf734a
0, 43200, 115200, 0x00cf734a
0, 46800, 115200, 0x00cf734a
@@ -16,15 +15,16 @@
0, 54000, 115200, 0x00cf734a
0, 57600, 115200, 0x00cf734a
0, 61200, 115200, 0x00cf734a
-0, 64800, 115200, 0xfddf48e6
+0, 64800, 115200, 0x00cf734a
0, 68400, 115200, 0xfddf48e6
-0, 72000, 115200, 0x1eccebbf
-0, 75600, 115200, 0x3da2f77e
-0, 79200, 115200, 0x7c232572
-0, 82800, 115200, 0xedf426e5
-0, 86400, 115200, 0x5324ab20
+0, 72000, 115200, 0xfddf48e6
+0, 75600, 115200, 0x1eccebbf
+0, 79200, 115200, 0x3da2f77e
+0, 82800, 115200, 0x7c232572
+0, 86400, 115200, 0xedf426e5
0, 90000, 115200, 0x5324ab20
-0, 93600, 115200, 0xa23e66bb
-0, 97200, 115200, 0x680a50ff
+0, 93600, 115200, 0x5324ab20
+0, 97200, 115200, 0xa23e66bb
0, 100800, 115200, 0x680a50ff
0, 104400, 115200, 0x680a50ff
+0, 108000, 115200, 0x680a50ff
diff --git a/tests/ref/fate/vc1_sa10091 b/tests/ref/fate/vc1_sa10091
index c121090097..79f40c0014 100644
--- a/tests/ref/fate/vc1_sa10091
+++ b/tests/ref/fate/vc1_sa10091
@@ -1,30 +1,30 @@
0, 0, 518400, 0xae20b4fa
-0, 3600, 518400, 0x2b4ccdf9
0, 7200, 518400, 0x2b4ccdf9
0, 10800, 518400, 0x2b4ccdf9
0, 14400, 518400, 0x2b4ccdf9
0, 18000, 518400, 0x2b4ccdf9
-0, 21600, 518400, 0x70d9a891
+0, 21600, 518400, 0x2b4ccdf9
0, 25200, 518400, 0x70d9a891
0, 28800, 518400, 0x70d9a891
-0, 32400, 518400, 0xa461ee86
-0, 36000, 518400, 0x722bc6e8
+0, 32400, 518400, 0x70d9a891
+0, 36000, 518400, 0xa461ee86
0, 39600, 518400, 0x722bc6e8
0, 43200, 518400, 0x722bc6e8
-0, 46800, 518400, 0xf752fd2c
+0, 46800, 518400, 0x722bc6e8
0, 50400, 518400, 0xf752fd2c
-0, 54000, 518400, 0x91abcaca
-0, 57600, 518400, 0x572727c3
+0, 54000, 518400, 0xf752fd2c
+0, 57600, 518400, 0x91abcaca
0, 61200, 518400, 0x572727c3
-0, 64800, 518400, 0x24c12382
+0, 64800, 518400, 0x572727c3
0, 68400, 518400, 0x24c12382
-0, 72000, 518400, 0x9aa39fe8
+0, 72000, 518400, 0x24c12382
0, 75600, 518400, 0x9aa39fe8
-0, 79200, 518400, 0x5cb6bd19
-0, 82800, 518400, 0x704d9300
-0, 86400, 518400, 0x590fad49
+0, 79200, 518400, 0x9aa39fe8
+0, 82800, 518400, 0x5cb6bd19
+0, 86400, 518400, 0x704d9300
0, 90000, 518400, 0x590fad49
0, 93600, 518400, 0x590fad49
-0, 97200, 518400, 0x46bea10b
+0, 97200, 518400, 0x590fad49
0, 100800, 518400, 0x46bea10b
0, 104400, 518400, 0x46bea10b
+0, 108000, 518400, 0x46bea10b
diff --git a/tests/ref/fate/vc1_sa20021 b/tests/ref/fate/vc1_sa20021
index aae607bbbc..21b37e0936 100644
--- a/tests/ref/fate/vc1_sa20021
+++ b/tests/ref/fate/vc1_sa20021
@@ -1,60 +1,60 @@
0, 0, 506880, 0x884bc093
-0, 3600, 506880, 0x4b09548f
-0, 7200, 506880, 0x195cbee1
-0, 10800, 506880, 0xc8141e28
-0, 14400, 506880, 0xb170c49b
-0, 18000, 506880, 0x2782268a
+0, 7200, 506880, 0x4b09548f
+0, 10800, 506880, 0x195cbee1
+0, 14400, 506880, 0xc8141e28
+0, 18000, 506880, 0xb170c49b
0, 21600, 506880, 0x2782268a
0, 25200, 506880, 0x2782268a
0, 28800, 506880, 0x2782268a
-0, 32400, 506880, 0xe6803b32
+0, 32400, 506880, 0x2782268a
0, 36000, 506880, 0xe6803b32
-0, 39600, 506880, 0xa5ef9baf
+0, 39600, 506880, 0xe6803b32
0, 43200, 506880, 0xa5ef9baf
-0, 46800, 506880, 0x46e8cbcb
-0, 50400, 506880, 0x28a2239b
-0, 54000, 506880, 0x7667af2f
+0, 46800, 506880, 0xa5ef9baf
+0, 50400, 506880, 0x46e8cbcb
+0, 54000, 506880, 0x28a2239b
0, 57600, 506880, 0x7667af2f
-0, 61200, 506880, 0x8011bcaf
-0, 64800, 506880, 0xd422115b
+0, 61200, 506880, 0x7667af2f
+0, 64800, 506880, 0x8011bcaf
0, 68400, 506880, 0xd422115b
0, 72000, 506880, 0xd422115b
-0, 75600, 506880, 0xbcee0b5b
-0, 79200, 506880, 0x08fe9ec8
-0, 82800, 506880, 0xc8fb8b37
+0, 75600, 506880, 0xd422115b
+0, 79200, 506880, 0xbcee0b5b
+0, 82800, 506880, 0x08fe9ec8
0, 86400, 506880, 0xc8fb8b37
-0, 90000, 506880, 0x2c698b52
+0, 90000, 506880, 0xc8fb8b37
0, 93600, 506880, 0x2c698b52
0, 97200, 506880, 0x2c698b52
-0, 100800, 506880, 0x2b4ad9bc
+0, 100800, 506880, 0x2c698b52
0, 104400, 506880, 0x2b4ad9bc
0, 108000, 506880, 0x2b4ad9bc
0, 111600, 506880, 0x2b4ad9bc
-0, 115200, 506880, 0x92e84ebb
+0, 115200, 506880, 0x2b4ad9bc
0, 118800, 506880, 0x92e84ebb
-0, 122400, 506880, 0xdb877da3
+0, 122400, 506880, 0x92e84ebb
0, 126000, 506880, 0xdb877da3
0, 129600, 506880, 0xdb877da3
-0, 133200, 506880, 0x44610654
+0, 133200, 506880, 0xdb877da3
0, 136800, 506880, 0x44610654
-0, 140400, 506880, 0xe254ce67
-0, 144000, 506880, 0xa6085385
-0, 147600, 506880, 0x2d45d744
+0, 140400, 506880, 0x44610654
+0, 144000, 506880, 0xe254ce67
+0, 147600, 506880, 0xa6085385
0, 151200, 506880, 0x2d45d744
-0, 154800, 506880, 0x6e684f51
-0, 158400, 506880, 0xe96186cf
-0, 162000, 506880, 0xb535d369
+0, 154800, 506880, 0x2d45d744
+0, 158400, 506880, 0x6e684f51
+0, 162000, 506880, 0xe96186cf
0, 165600, 506880, 0xb535d369
0, 169200, 506880, 0xb535d369
-0, 172800, 506880, 0xeed0b7e0
+0, 172800, 506880, 0xb535d369
0, 176400, 506880, 0xeed0b7e0
0, 180000, 506880, 0xeed0b7e0
0, 183600, 506880, 0xeed0b7e0
-0, 187200, 506880, 0x8789b20b
-0, 190800, 506880, 0x0a0f42fb
-0, 194400, 506880, 0x09bbac2d
+0, 187200, 506880, 0xeed0b7e0
+0, 190800, 506880, 0x8789b20b
+0, 194400, 506880, 0x0a0f42fb
0, 198000, 506880, 0x09bbac2d
0, 201600, 506880, 0x09bbac2d
0, 205200, 506880, 0x09bbac2d
0, 208800, 506880, 0x09bbac2d
-0, 212400, 506880, 0xda77f0df
+0, 212400, 506880, 0x09bbac2d
+0, 216000, 506880, 0xda77f0df
diff --git a/tests/ref/fate/vmnc-32bit b/tests/ref/fate/vmnc-32bit
index 6abcd0dea8..62211026ba 100644
--- a/tests/ref/fate/vmnc-32bit
+++ b/tests/ref/fate/vmnc-32bit
@@ -1,49 +1,49 @@
0, 0, 3655644, 0x87973530
0, 18000, 3655644, 0x87973530
0, 36000, 3655644, 0x3c3167fd
-0, 54000, 3655644, 0x87973530
-0, 72000, 3655644, 0x3c3167fd
0, 90000, 3655644, 0x87973530
-0, 108000, 3655644, 0x87973530
0, 126000, 3655644, 0x3c3167fd
-0, 144000, 3655644, 0x87973530
-0, 162000, 3655644, 0x4f0da763
-0, 180000, 3655644, 0x66a4a763
-0, 198000, 3655644, 0xb20a7496
-0, 216000, 3655644, 0x66a4a763
-0, 234000, 3655644, 0x5600644a
-0, 252000, 3655644, 0xce5880ee
-0, 270000, 3655644, 0xa993ef3d
-0, 288000, 3655644, 0x73564014
-0, 306000, 3655644, 0x2a6e1e8c
-0, 324000, 3655644, 0xbae02e7c
-0, 342000, 3655644, 0x55af4a2d
-0, 360000, 3655644, 0x54b7ff2d
-0, 378000, 3655644, 0x39af1aed
-0, 396000, 3655644, 0xe48dd11c
-0, 414000, 3655644, 0xba15c78d
-0, 432000, 3655644, 0x39af1aed
-0, 450000, 3655644, 0x27f96cd8
-0, 468000, 3655644, 0xf4f068dc
-0, 486000, 3655644, 0xf1c55cf5
-0, 504000, 3655644, 0xd932633d
-0, 522000, 3655644, 0xc6e95e0a
-0, 540000, 3655644, 0x9a63c9de
-0, 558000, 3655644, 0xf166ad4f
-0, 576000, 3655644, 0xe9eeba41
-0, 594000, 3655644, 0x7e598ad7
-0, 612000, 3655644, 0xf3bd257e
-0, 630000, 3655644, 0xf35b3852
-0, 648000, 3655644, 0x9d553959
-0, 666000, 3655644, 0x0a9de8e2
-0, 684000, 3655644, 0xf2325b6c
-0, 702000, 3655644, 0xcf924028
-0, 720000, 3655644, 0x8dae55bc
-0, 738000, 3655644, 0x57b08ced
-0, 756000, 3655644, 0xef89a1d8
-0, 774000, 3655644, 0x69e5503a
-0, 792000, 3655644, 0xc3de7b3f
-0, 810000, 3655644, 0x88eea64a
-0, 828000, 3655644, 0xe39cce1f
-0, 846000, 3655644, 0xf0ed0d04
-0, 864000, 3655644, 0x32490d3e
+0, 180000, 3655644, 0x87973530
+0, 198000, 3655644, 0x87973530
+0, 216000, 3655644, 0x3c3167fd
+0, 270000, 3655644, 0x87973530
+0, 324000, 3655644, 0x4f0da763
+0, 342000, 3655644, 0x66a4a763
+0, 360000, 3655644, 0xb20a7496
+0, 414000, 3655644, 0x66a4a763
+0, 432000, 3655644, 0x5600644a
+0, 468000, 3655644, 0xce5880ee
+0, 882000, 3655644, 0xa993ef3d
+0, 1098000, 3655644, 0x73564014
+0, 1152000, 3655644, 0x2a6e1e8c
+0, 1224000, 3655644, 0xbae02e7c
+0, 1296000, 3655644, 0x55af4a2d
+0, 1314000, 3655644, 0x54b7ff2d
+0, 1386000, 3655644, 0x39af1aed
+0, 1476000, 3655644, 0xe48dd11c
+0, 1602000, 3655644, 0xba15c78d
+0, 1728000, 3655644, 0x39af1aed
+0, 1854000, 3655644, 0x27f96cd8
+0, 1980000, 3655644, 0xf4f068dc
+0, 1998000, 3655644, 0xf1c55cf5
+0, 2034000, 3655644, 0xd932633d
+0, 2052000, 3655644, 0xc6e95e0a
+0, 2070000, 3655644, 0x9a63c9de
+0, 2088000, 3655644, 0xf166ad4f
+0, 2106000, 3655644, 0xe9eeba41
+0, 2124000, 3655644, 0x7e598ad7
+0, 2214000, 3655644, 0xf3bd257e
+0, 2286000, 3655644, 0xf35b3852
+0, 2304000, 3655644, 0x9d553959
+0, 2322000, 3655644, 0x0a9de8e2
+0, 2430000, 3655644, 0xf2325b6c
+0, 2466000, 3655644, 0xcf924028
+0, 2502000, 3655644, 0x8dae55bc
+0, 2538000, 3655644, 0x57b08ced
+0, 2574000, 3655644, 0xef89a1d8
+0, 2610000, 3655644, 0x69e5503a
+0, 2646000, 3655644, 0xc3de7b3f
+0, 2682000, 3655644, 0x88eea64a
+0, 2916000, 3655644, 0xe39cce1f
+0, 2988000, 3655644, 0xf0ed0d04
+0, 3078000, 3655644, 0x32490d3e
diff --git a/tests/ref/fate/vp8-sign-bias b/tests/ref/fate/vp8-sign-bias
index 4e4f6c4b2d..e3afb8406b 100644
--- a/tests/ref/fate/vp8-sign-bias
+++ b/tests/ref/fate/vp8-sign-bias
@@ -1,9 +1,9 @@
0, 0, 614880, 12ce23b288485be3ddbc1db28c21517f
-0, 3750, 614880, ce352e1079535ea058c0e9ad50f7cdb8
-0, 7500, 614880, 9f6bf2739a027dfd12c81586cf75d3a3
-0, 11250, 614880, 7593a85ab7790eb39d65fc53f769ed8b
-0, 15000, 614880, 52f47f1e0348f3297d9f233fb5405e8b
-0, 18750, 614880, cd51d2c200bfd66e8e1b0fd6b404570f
-0, 22500, 614880, cf535cf0a53e903cd98a9a944b72da6d
-0, 26250, 614880, 1b270fd2b56daa7892102c2885d23201
-0, 30000, 614880, ff373c0c8a4a319c84e72b1c3d76b399
+0, 7500, 614880, ce352e1079535ea058c0e9ad50f7cdb8
+0, 11250, 614880, 9f6bf2739a027dfd12c81586cf75d3a3
+0, 15000, 614880, 7593a85ab7790eb39d65fc53f769ed8b
+0, 18750, 614880, 52f47f1e0348f3297d9f233fb5405e8b
+0, 22500, 614880, cd51d2c200bfd66e8e1b0fd6b404570f
+0, 26250, 614880, cf535cf0a53e903cd98a9a944b72da6d
+0, 30000, 614880, 1b270fd2b56daa7892102c2885d23201
+0, 33750, 614880, ff373c0c8a4a319c84e72b1c3d76b399
diff --git a/tests/ref/fate/wmv8-drm b/tests/ref/fate/wmv8-drm
index d1e948e528..7087701be0 100644
--- a/tests/ref/fate/wmv8-drm
+++ b/tests/ref/fate/wmv8-drm
@@ -1,130 +1,130 @@
0, 0, 84480, 0x7760a00b
-0, 3750, 84480, 0xfe39a1db
-0, 7500, 84480, 0xd71961b4
-0, 11250, 84480, 0xc80dedba
-0, 15000, 84480, 0x34d8b538
-0, 18750, 84480, 0x1a86b8e5
-0, 22500, 84480, 0xabf7c25d
-0, 26250, 84480, 0x912600ee
-0, 30000, 84480, 0x7ee7c70b
-0, 33750, 84480, 0x09c5b0d1
-0, 37500, 84480, 0x6dbe6c0c
-0, 41250, 84480, 0x0fe0a120
-0, 45000, 84480, 0x2352d3a2
-0, 48750, 84480, 0xb22ce92e
-0, 52500, 84480, 0x31db0099
-0, 56250, 84480, 0xad2dd73a
-0, 60000, 84480, 0xb9af8e20
-0, 63750, 84480, 0x7b956549
-0, 67500, 84480, 0x3f774b87
-0, 71250, 84480, 0x824a23a3
-0, 75000, 84480, 0x4469a8d8
-0, 78750, 84480, 0xc80c7a0a
-0, 82500, 84480, 0xcf958549
-0, 86250, 84480, 0x449746e3
-0, 90000, 84480, 0xbac66a82
-0, 93750, 84480, 0x99e85855
-0, 97500, 84480, 0xa4a17d17
-0, 101250, 84480, 0xe29c7587
-0, 105000, 84480, 0x551de592
-0, 108750, 84480, 0xe0877bce
-0, 112500, 84480, 0x9660eb35
-0, 116250, 84480, 0x0a34b644
-0, 120000, 84480, 0x352919f0
-0, 123750, 84480, 0xef56ce27
-0, 127500, 84480, 0x030fe862
-0, 131250, 84480, 0x2eba33e2
-0, 135000, 84480, 0x242de401
-0, 138750, 84480, 0xbadd61ca
-0, 142500, 84480, 0x2060465b
-0, 146250, 84480, 0x256e6965
-0, 150000, 84480, 0x243b7084
-0, 153750, 84480, 0x8b3c0b47
-0, 157500, 84480, 0xc174a9af
-0, 161250, 84480, 0xb6d48686
-0, 165000, 84480, 0xa3dd1871
-0, 168750, 84480, 0x04cdcaf7
-0, 172500, 84480, 0x55f89c94
-0, 176250, 84480, 0xda657032
-0, 180000, 84480, 0x38ba7698
-0, 183750, 84480, 0x4d03a7f2
-0, 187500, 84480, 0x115d9035
-0, 191250, 84480, 0x24c6acc6
-0, 195000, 84480, 0xdd2bbcae
-0, 198750, 84480, 0xb4fee0b9
-0, 202500, 84480, 0xc51c14e0
-0, 206250, 84480, 0xfb7737de
-0, 210000, 84480, 0x38675fb0
-0, 213750, 84480, 0x4752c710
-0, 217500, 84480, 0xfeb7491b
-0, 221250, 84480, 0xaa248122
-0, 225000, 84480, 0x9a4af87c
-0, 228750, 84480, 0xedcf09df
-0, 232500, 84480, 0x563a05df
-0, 236250, 84480, 0x0dde1e03
-0, 240000, 84480, 0xd8f0ff65
-0, 243750, 84480, 0xbeb9ae1a
-0, 247500, 84480, 0x416d1468
-0, 251250, 84480, 0x66c87d4c
-0, 255000, 84480, 0xa67c0774
-0, 258750, 84480, 0xd8f8aec1
-0, 262500, 84480, 0xadfa502b
-0, 266250, 84480, 0x50bf20e4
-0, 270000, 84480, 0xbcb3d8cc
-0, 273750, 84480, 0xa54677d7
-0, 277500, 84480, 0x3566042d
-0, 281250, 84480, 0x4c9eed57
-0, 285000, 84480, 0xc3b90e58
-0, 288750, 84480, 0x3c042bfa
-0, 292500, 84480, 0x19f8e890
-0, 296250, 84480, 0xd3dacfb9
-0, 300000, 84480, 0x2365fc6f
-0, 303750, 84480, 0xa2c19d00
-0, 307500, 84480, 0xce94336f
-0, 311250, 84480, 0xfa9bcf14
-0, 315000, 84480, 0x24d6a243
-0, 318750, 84480, 0xae1c8854
-0, 322500, 84480, 0xbb8968bf
-0, 326250, 84480, 0x6f923623
-0, 330000, 84480, 0x22e98029
-0, 333750, 84480, 0x8ac33af3
-0, 337500, 84480, 0x05947b6e
-0, 341250, 84480, 0xfc35661a
-0, 345000, 84480, 0x0e6b6e47
-0, 348750, 84480, 0x82c764bb
-0, 352500, 84480, 0x57a36833
-0, 356250, 84480, 0xc8dd690a
-0, 360000, 84480, 0x02c47232
-0, 363750, 84480, 0x6645715d
-0, 367500, 84480, 0xc64860f7
-0, 371250, 84480, 0x4f5614b3
-0, 375000, 84480, 0xa70842ca
-0, 378750, 84480, 0x379d8458
-0, 382500, 84480, 0xa14701cf
-0, 386250, 84480, 0xad1aa2b2
-0, 390000, 84480, 0xee28f320
-0, 393750, 84480, 0x505801e9
-0, 397500, 84480, 0x7947233b
-0, 401250, 84480, 0x3ce72a9d
-0, 405000, 84480, 0xa6834e64
-0, 408750, 84480, 0xfebf4d70
-0, 412500, 84480, 0x4a0775e2
-0, 416250, 84480, 0x9d7e945b
-0, 420000, 84480, 0xaa9eadd9
-0, 423750, 84480, 0xaa85c9b1
-0, 427500, 84480, 0xa005edaf
-0, 431250, 84480, 0x7fc4e5cc
-0, 435000, 84480, 0xb0f6e8d1
-0, 438750, 84480, 0x9ef9f330
-0, 442500, 84480, 0xbe14ff1f
-0, 446250, 84480, 0xd494048c
-0, 450000, 84480, 0x046166a7
-0, 453750, 84480, 0x052a09b2
-0, 457500, 84480, 0x71fff4ab
-0, 461250, 84480, 0xb9684e41
-0, 465000, 84480, 0x1ddce068
-0, 468750, 84480, 0xb9de300e
-0, 472500, 84480, 0x13962590
-0, 476250, 84480, 0xde79482f
-0, 480000, 84480, 0x7d1ca064
-0, 483750, 84480, 0x0998a064
+0, 108750, 84480, 0xfe39a1db
+0, 112500, 84480, 0xd71961b4
+0, 116250, 84480, 0xc80dedba
+0, 120000, 84480, 0x34d8b538
+0, 123750, 84480, 0x1a86b8e5
+0, 127500, 84480, 0xabf7c25d
+0, 131250, 84480, 0x912600ee
+0, 135000, 84480, 0x7ee7c70b
+0, 138750, 84480, 0x09c5b0d1
+0, 142500, 84480, 0x6dbe6c0c
+0, 146250, 84480, 0x0fe0a120
+0, 150000, 84480, 0x2352d3a2
+0, 153750, 84480, 0xb22ce92e
+0, 157500, 84480, 0x31db0099
+0, 161250, 84480, 0xad2dd73a
+0, 165000, 84480, 0xb9af8e20
+0, 168750, 84480, 0x7b956549
+0, 172500, 84480, 0x3f774b87
+0, 176250, 84480, 0x824a23a3
+0, 180000, 84480, 0x4469a8d8
+0, 183750, 84480, 0xc80c7a0a
+0, 187500, 84480, 0xcf958549
+0, 191250, 84480, 0x449746e3
+0, 195000, 84480, 0xbac66a82
+0, 198750, 84480, 0x99e85855
+0, 202500, 84480, 0xa4a17d17
+0, 206250, 84480, 0xe29c7587
+0, 210000, 84480, 0x551de592
+0, 213750, 84480, 0xe0877bce
+0, 217500, 84480, 0x9660eb35
+0, 221250, 84480, 0x0a34b644
+0, 225000, 84480, 0x352919f0
+0, 228750, 84480, 0xef56ce27
+0, 232500, 84480, 0x030fe862
+0, 236250, 84480, 0x2eba33e2
+0, 240000, 84480, 0x242de401
+0, 243750, 84480, 0xbadd61ca
+0, 247500, 84480, 0x2060465b
+0, 251250, 84480, 0x256e6965
+0, 255000, 84480, 0x243b7084
+0, 258750, 84480, 0x8b3c0b47
+0, 262500, 84480, 0xc174a9af
+0, 266250, 84480, 0xb6d48686
+0, 270000, 84480, 0xa3dd1871
+0, 273750, 84480, 0x04cdcaf7
+0, 277500, 84480, 0x55f89c94
+0, 281250, 84480, 0xda657032
+0, 285000, 84480, 0x38ba7698
+0, 288750, 84480, 0x4d03a7f2
+0, 292500, 84480, 0x115d9035
+0, 296250, 84480, 0x24c6acc6
+0, 300000, 84480, 0xdd2bbcae
+0, 303750, 84480, 0xb4fee0b9
+0, 307500, 84480, 0xc51c14e0
+0, 311250, 84480, 0xfb7737de
+0, 315000, 84480, 0x38675fb0
+0, 318750, 84480, 0x4752c710
+0, 322500, 84480, 0xfeb7491b
+0, 326250, 84480, 0xaa248122
+0, 330000, 84480, 0x9a4af87c
+0, 333750, 84480, 0xedcf09df
+0, 337500, 84480, 0x563a05df
+0, 341250, 84480, 0x0dde1e03
+0, 345000, 84480, 0xd8f0ff65
+0, 348750, 84480, 0xbeb9ae1a
+0, 352500, 84480, 0x416d1468
+0, 356250, 84480, 0x66c87d4c
+0, 360000, 84480, 0xa67c0774
+0, 363750, 84480, 0xd8f8aec1
+0, 367500, 84480, 0xadfa502b
+0, 371250, 84480, 0x50bf20e4
+0, 375000, 84480, 0xbcb3d8cc
+0, 378750, 84480, 0xa54677d7
+0, 382500, 84480, 0x3566042d
+0, 386250, 84480, 0x4c9eed57
+0, 390000, 84480, 0xc3b90e58
+0, 393750, 84480, 0x3c042bfa
+0, 397500, 84480, 0x19f8e890
+0, 401250, 84480, 0xd3dacfb9
+0, 405000, 84480, 0x2365fc6f
+0, 408750, 84480, 0xa2c19d00
+0, 412500, 84480, 0xce94336f
+0, 416250, 84480, 0xfa9bcf14
+0, 442500, 84480, 0x24d6a243
+0, 446250, 84480, 0xae1c8854
+0, 450000, 84480, 0xbb8968bf
+0, 453750, 84480, 0x6f923623
+0, 457500, 84480, 0x22e98029
+0, 461250, 84480, 0x8ac33af3
+0, 465000, 84480, 0x05947b6e
+0, 468750, 84480, 0xfc35661a
+0, 472500, 84480, 0x0e6b6e47
+0, 476250, 84480, 0x82c764bb
+0, 480000, 84480, 0x57a36833
+0, 483750, 84480, 0xc8dd690a
+0, 487500, 84480, 0x02c47232
+0, 491250, 84480, 0x6645715d
+0, 495000, 84480, 0xc64860f7
+0, 498750, 84480, 0x4f5614b3
+0, 502500, 84480, 0xa70842ca
+0, 506250, 84480, 0x379d8458
+0, 510000, 84480, 0xa14701cf
+0, 513750, 84480, 0xad1aa2b2
+0, 517500, 84480, 0xee28f320
+0, 521250, 84480, 0x505801e9
+0, 525000, 84480, 0x7947233b
+0, 528750, 84480, 0x3ce72a9d
+0, 532500, 84480, 0xa6834e64
+0, 536250, 84480, 0xfebf4d70
+0, 540000, 84480, 0x4a0775e2
+0, 543750, 84480, 0x9d7e945b
+0, 547500, 84480, 0xaa9eadd9
+0, 551250, 84480, 0xaa85c9b1
+0, 555000, 84480, 0xa005edaf
+0, 558750, 84480, 0x7fc4e5cc
+0, 562500, 84480, 0xb0f6e8d1
+0, 566250, 84480, 0x9ef9f330
+0, 570000, 84480, 0xbe14ff1f
+0, 573750, 84480, 0xd494048c
+0, 577500, 84480, 0x046166a7
+0, 581250, 84480, 0x052a09b2
+0, 585000, 84480, 0x71fff4ab
+0, 588750, 84480, 0xb9684e41
+0, 592500, 84480, 0x1ddce068
+0, 596250, 84480, 0xb9de300e
+0, 600000, 84480, 0x13962590
+0, 603750, 84480, 0xde79482f
+0, 607500, 84480, 0x7d1ca064
+0, 611250, 84480, 0x0998a064