aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-02 14:20:43 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-03 09:29:02 +0100
commitd2afbd9a56e4e863bad01923006dd9b77f747035 (patch)
tree09593d24781bd903c2a3826ae45c372da1d61ab1
parent22c0babbb2ac37724c2462d9cda01e3b7229df56 (diff)
downloadffmpeg-d2afbd9a56e4e863bad01923006dd9b77f747035.tar.gz
frame{crc/md5}: set the stream timebase from codec timebase.
Right now those muxers use the default timebase in all cases(1/90000). This patch avoid unnecessary rescaling and makes the printed timestamps more readable. Also, extend the printed information to include the timebases and packet pts/duration and align the columns. Obviously changes the results of all fate tests which use those two muxers.
-rw-r--r--libavformat/Makefile4
-rw-r--r--libavformat/framecrcenc.c5
-rw-r--r--libavformat/framehash.c33
-rw-r--r--libavformat/internal.h6
-rw-r--r--libavformat/md5enc.c5
-rw-r--r--tests/ref/fate/4xm-131
-rw-r--r--tests/ref/fate/4xm-2349
-rw-r--r--tests/ref/fate/8bps72
-rw-r--r--tests/ref/fate/aasc47
-rw-r--r--tests/ref/fate/adpcm-ea-mad-ea-r1384
-rw-r--r--tests/ref/fate/adpcm-ea-tqi104
-rw-r--r--tests/ref/fate/adpcm-psx-str-v375
-rw-r--r--tests/ref/fate/adpcm-thp288
-rw-r--r--tests/ref/fate/alg-mm63
-rw-r--r--tests/ref/fate/amv642
-rw-r--r--tests/ref/fate/ansi35
-rw-r--r--tests/ref/fate/armovie-escape124210
-rw-r--r--tests/ref/fate/auravision-v149
-rw-r--r--tests/ref/fate/auravision-v25
-rw-r--r--tests/ref/fate/bethsoft-vid284
-rw-r--r--tests/ref/fate/bfi230
-rw-r--r--tests/ref/fate/bink-video41
-rw-r--r--tests/ref/fate/bmv86
-rw-r--r--tests/ref/fate/cdgraphics601
-rw-r--r--tests/ref/fate/cljr73
-rw-r--r--tests/ref/fate/corepng76
-rw-r--r--tests/ref/fate/creatureshock-avs186
-rw-r--r--tests/ref/fate/cscd417
-rw-r--r--tests/ref/fate/cvid-grayscale305
-rw-r--r--tests/ref/fate/cvid-palette113
-rw-r--r--tests/ref/fate/cvid-partial157
-rw-r--r--tests/ref/fate/cyberia-c9386
-rw-r--r--tests/ref/fate/cyuv301
-rw-r--r--tests/ref/fate/d-cinema-demux9
-rw-r--r--tests/ref/fate/delphine-cin368
-rw-r--r--tests/ref/fate/deluxepaint-anm247
-rw-r--r--tests/ref/fate/dfa151
-rw-r--r--tests/ref/fate/dfa1017
-rw-r--r--tests/ref/fate/dfa1119
-rw-r--r--tests/ref/fate/dfa235
-rw-r--r--tests/ref/fate/dfa321
-rw-r--r--tests/ref/fate/dfa427
-rw-r--r--tests/ref/fate/dfa531
-rw-r--r--tests/ref/fate/dfa625
-rw-r--r--tests/ref/fate/dfa725
-rw-r--r--tests/ref/fate/dfa873
-rw-r--r--tests/ref/fate/dfa913
-rw-r--r--tests/ref/fate/dpcm-idroq756
-rw-r--r--tests/ref/fate/dpx3
-rw-r--r--tests/ref/fate/dxa-feeble130
-rw-r--r--tests/ref/fate/dxa-scummvm25
-rw-r--r--tests/ref/fate/dxtory4
-rw-r--r--tests/ref/fate/ea-cmv389
-rw-r--r--tests/ref/fate/ea-dct536
-rw-r--r--tests/ref/fate/ea-mad-pcm-planar586
-rw-r--r--tests/ref/fate/ea-tgq557
-rw-r--r--tests/ref/fate/ea-tgv-ima-ea-eacs190
-rw-r--r--tests/ref/fate/ea-tgv-ima-ea-sead176
-rw-r--r--tests/ref/fate/ea-vp60267
-rw-r--r--tests/ref/fate/ea-vp61241
-rw-r--r--tests/ref/fate/film-cvid-pcm-stereo-8bit280
-rw-r--r--tests/ref/fate/flic-af11-palette-change233
-rw-r--r--tests/ref/fate/flic-af1255
-rw-r--r--tests/ref/fate/flic-magiccarpet85
-rw-r--r--tests/ref/fate/fraps-v041
-rw-r--r--tests/ref/fate/fraps-v13
-rw-r--r--tests/ref/fate/fraps-v221
-rw-r--r--tests/ref/fate/fraps-v319
-rw-r--r--tests/ref/fate/fraps-v415
-rw-r--r--tests/ref/fate/fraps-v5117
-rw-r--r--tests/ref/fate/frwu21
-rw-r--r--tests/ref/fate/g722dec-1335
-rw-r--r--tests/ref/fate/gsm-ms179
-rw-r--r--tests/ref/fate/gsm-toast1001
-rw-r--r--tests/ref/fate/h264-conformance-aud_mw_e201
-rw-r--r--tests/ref/fate/h264-conformance-ba1_ft_c599
-rw-r--r--tests/ref/fate/h264-conformance-ba1_sony_d35
-rw-r--r--tests/ref/fate/h264-conformance-ba2_sony_f601
-rw-r--r--tests/ref/fate/h264-conformance-ba3_sva_c67
-rw-r--r--tests/ref/fate/h264-conformance-ba_mw_d201
-rw-r--r--tests/ref/fate/h264-conformance-bamq1_jvc_c61
-rw-r--r--tests/ref/fate/h264-conformance-bamq2_jvc_c61
-rw-r--r--tests/ref/fate/h264-conformance-banm_mw_d201
-rw-r--r--tests/ref/fate/h264-conformance-basqp1_sony_c9
-rw-r--r--tests/ref/fate/h264-conformance-caba1_sony_d101
-rw-r--r--tests/ref/fate/h264-conformance-caba1_sva_b35
-rw-r--r--tests/ref/fate/h264-conformance-caba2_sony_e601
-rw-r--r--tests/ref/fate/h264-conformance-caba2_sva_b35
-rw-r--r--tests/ref/fate/h264-conformance-caba3_sony_c601
-rw-r--r--tests/ref/fate/h264-conformance-caba3_sva_b67
-rw-r--r--tests/ref/fate/h264-conformance-caba3_toshiba_e601
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_fld0_full61
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_frm0_full61
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_mbaff0_full61
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_picaff0_full61
-rw-r--r--tests/ref/fate/h264-conformance-cabaci3_sony_b601
-rw-r--r--tests/ref/fate/h264-conformance-cabast3_sony_e51
-rw-r--r--tests/ref/fate/h264-conformance-cabastbr3_sony_b51
-rw-r--r--tests/ref/fate/h264-conformance-cabref3_sand_d101
-rw-r--r--tests/ref/fate/h264-conformance-cacqp3_sony_d101
-rw-r--r--tests/ref/fate/h264-conformance-cafi1_sva_c67
-rw-r--r--tests/ref/fate/h264-conformance-cama1_sony_c11
-rw-r--r--tests/ref/fate/h264-conformance-cama1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-cama1_vtc_c9
-rw-r--r--tests/ref/fate/h264-conformance-cama2_vtc_b9
-rw-r--r--tests/ref/fate/h264-conformance-cama3_sand_e101
-rw-r--r--tests/ref/fate/h264-conformance-cama3_vtc_b9
-rw-r--r--tests/ref/fate/h264-conformance-camaci3_sony_c35
-rw-r--r--tests/ref/fate/h264-conformance-camanl1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-camanl2_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-camanl3_sand_e101
-rw-r--r--tests/ref/fate/h264-conformance-camasl3_sony_b35
-rw-r--r--tests/ref/fate/h264-conformance-camp_mot_mbaff_l3061
-rw-r--r--tests/ref/fate/h264-conformance-camp_mot_mbaff_l3161
-rw-r--r--tests/ref/fate/h264-conformance-canl1_sony_e101
-rw-r--r--tests/ref/fate/h264-conformance-canl1_sva_b35
-rw-r--r--tests/ref/fate/h264-conformance-canl1_toshiba_g601
-rw-r--r--tests/ref/fate/h264-conformance-canl2_sony_e601
-rw-r--r--tests/ref/fate/h264-conformance-canl2_sva_b35
-rw-r--r--tests/ref/fate/h264-conformance-canl3_sony_c601
-rw-r--r--tests/ref/fate/h264-conformance-canl3_sva_b35
-rw-r--r--tests/ref/fate/h264-conformance-canl4_sva_b67
-rw-r--r--tests/ref/fate/h264-conformance-canlma2_sony_c35
-rw-r--r--tests/ref/fate/h264-conformance-canlma3_sony_c35
-rw-r--r--tests/ref/fate/h264-conformance-capa1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-capama3_sand_f101
-rw-r--r--tests/ref/fate/h264-conformance-capcm1_sand_e61
-rw-r--r--tests/ref/fate/h264-conformance-capcmnl1_sand_e61
-rw-r--r--tests/ref/fate/h264-conformance-capm3_sony_d601
-rw-r--r--tests/ref/fate/h264-conformance-caqp1_sony_b101
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b61
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_frm0_full_b61
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_mbaff0_full_b61
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b61
-rw-r--r--tests/ref/fate/h264-conformance-cawp1_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-cawp5_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-ci1_ft_b583
-rw-r--r--tests/ref/fate/h264-conformance-ci_mw_d201
-rw-r--r--tests/ref/fate/h264-conformance-cvbs3_sony_c601
-rw-r--r--tests/ref/fate/h264-conformance-cvcanlma2_sony_c35
-rw-r--r--tests/ref/fate/h264-conformance-cvfi1_sony_d35
-rw-r--r--tests/ref/fate/h264-conformance-cvfi1_sva_c15
-rw-r--r--tests/ref/fate/h264-conformance-cvfi2_sony_h35
-rw-r--r--tests/ref/fate/h264-conformance-cvfi2_sva_c27
-rw-r--r--tests/ref/fate/h264-conformance-cvma1_sony_d11
-rw-r--r--tests/ref/fate/h264-conformance-cvma1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-cvmanl1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-cvmanl2_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-cvmapaqp3_sony_e17
-rw-r--r--tests/ref/fate/h264-conformance-cvmaqp2_sony_g35
-rw-r--r--tests/ref/fate/h264-conformance-cvmaqp3_sony_d35
-rw-r--r--tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b61
-rw-r--r--tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b61
-rw-r--r--tests/ref/fate/h264-conformance-cvnlfi1_sony_c35
-rw-r--r--tests/ref/fate/h264-conformance-cvnlfi2_sony_h35
-rw-r--r--tests/ref/fate/h264-conformance-cvpa1_toshiba_b181
-rw-r--r--tests/ref/fate/h264-conformance-cvpcmnl1_sva_c61
-rw-r--r--tests/ref/fate/h264-conformance-cvpcmnl2_sva_c5
-rw-r--r--tests/ref/fate/h264-conformance-cvwp1_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-cvwp2_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-cvwp3_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-cvwp5_toshiba_e181
-rw-r--r--tests/ref/fate/h264-conformance-fi1_sony_e35
-rw-r--r--tests/ref/fate/h264-conformance-frext-alphaconformanceg87
-rw-r--r--tests/ref/fate/h264-conformance-frext-bcrm_freh10201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh11201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh3201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh4201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh5201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh8201
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh9201
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh12_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh1_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh2_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh6201
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh7_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext01_jvc_d33
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext02_jvc_c33
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext1_panasonic_c17
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext2_panasonic_b31
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext3_panasonic_d23
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext4_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext_mmco4_sony_b121
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcafr1_hhi_c21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcafr2_hhi_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcafr3_hhi_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcafr4_hhi_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcamff1_hhi_b21
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpca_brcm_c601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcadq_brcm_b601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcalq_brcm_b601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcamolq_brcm_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcanl_brcm_c601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcaq2lq_brcm_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcv_brcm_a601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a601
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvmolq_brcm_b201
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvnl_brcm_a601
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i1_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i2_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i3_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i4_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i5_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i6_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-frext-pph10i7_panasonic_a21
-rw-r--r--tests/ref/fate/h264-conformance-hcbp2_hhi_a501
-rw-r--r--tests/ref/fate/h264-conformance-hcmp1_hhi_a501
-rw-r--r--tests/ref/fate/h264-conformance-ls_sva_d3401
-rw-r--r--tests/ref/fate/h264-conformance-midr_mw_d201
-rw-r--r--tests/ref/fate/h264-conformance-mps_mw_a301
-rw-r--r--tests/ref/fate/h264-conformance-mr1_bt_a125
-rw-r--r--tests/ref/fate/h264-conformance-mr1_mw_a301
-rw-r--r--tests/ref/fate/h264-conformance-mr2_mw_a601
-rw-r--r--tests/ref/fate/h264-conformance-mr2_tandberg_e601
-rw-r--r--tests/ref/fate/h264-conformance-mr3_tandberg_b601
-rw-r--r--tests/ref/fate/h264-conformance-mr4_tandberg_c601
-rw-r--r--tests/ref/fate/h264-conformance-mr5_tandberg_c601
-rw-r--r--tests/ref/fate/h264-conformance-mr6_bt_b121
-rw-r--r--tests/ref/fate/h264-conformance-mr7_bt_b121
-rw-r--r--tests/ref/fate/h264-conformance-mr8_bt_b117
-rw-r--r--tests/ref/fate/h264-conformance-mr9_bt_b117
-rw-r--r--tests/ref/fate/h264-conformance-mv1_brcm_d515
-rw-r--r--tests/ref/fate/h264-conformance-nl1_sony_d35
-rw-r--r--tests/ref/fate/h264-conformance-nl2_sony_h601
-rw-r--r--tests/ref/fate/h264-conformance-nl3_sva_e67
-rw-r--r--tests/ref/fate/h264-conformance-nlmq1_jvc_c61
-rw-r--r--tests/ref/fate/h264-conformance-nlmq2_jvc_c61
-rw-r--r--tests/ref/fate/h264-conformance-nrf_mw_e201
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_1_b31
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_2_b31
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_3_b31
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_paff_1r231
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_paff_2r31
-rw-r--r--tests/ref/fate/h264-conformance-sl1_sva_b67
-rw-r--r--tests/ref/fate/h264-conformance-sva_ba1_b35
-rw-r--r--tests/ref/fate/h264-conformance-sva_ba2_d35
-rw-r--r--tests/ref/fate/h264-conformance-sva_base_b35
-rw-r--r--tests/ref/fate/h264-conformance-sva_cl1_e101
-rw-r--r--tests/ref/fate/h264-conformance-sva_fm1_e35
-rw-r--r--tests/ref/fate/h264-conformance-sva_nl1_b35
-rw-r--r--tests/ref/fate/h264-conformance-sva_nl2_e35
-rw-r--r--tests/ref/fate/h264-extreme-plane-pred201
-rw-r--r--tests/ref/fate/h264-interlace-crop7
-rw-r--r--tests/ref/fate/h264-lossless21
-rw-r--r--tests/ref/fate/id-cin-video212
-rw-r--r--tests/ref/fate/iff-byterun13
-rw-r--r--tests/ref/fate/iff-ilbm3
-rw-r--r--tests/ref/fate/indeo2261
-rw-r--r--tests/ref/fate/indeo381
-rw-r--r--tests/ref/fate/indeo4201
-rw-r--r--tests/ref/fate/indeo5269
-rw-r--r--tests/ref/fate/interplay-mve-16bit260
-rw-r--r--tests/ref/fate/interplay-mve-8bit470
-rw-r--r--tests/ref/fate/iv8-demux51
-rw-r--r--tests/ref/fate/kmvc151
-rw-r--r--tests/ref/fate/lmlm4-demux432
-rw-r--r--tests/ref/fate/loco-rgb11
-rw-r--r--tests/ref/fate/loco-yuy27
-rw-r--r--tests/ref/fate/mimic153
-rw-r--r--tests/ref/fate/mjpegb21
-rw-r--r--tests/ref/fate/motionpixels223
-rw-r--r--tests/ref/fate/mpeg2-field-enc63
-rw-r--r--tests/ref/fate/msmpeg4v1101
-rw-r--r--tests/ref/fate/msrle-8bit59
-rw-r--r--tests/ref/fate/msvideo1-16bit61
-rw-r--r--tests/ref/fate/msvideo1-8bit63
-rw-r--r--tests/ref/fate/mszh3
-rw-r--r--tests/ref/fate/mtv272
-rw-r--r--tests/ref/fate/mxf-demux196
-rw-r--r--tests/ref/fate/nc-demux183
-rw-r--r--tests/ref/fate/nsv-demux344
-rw-r--r--tests/ref/fate/nuv56
-rw-r--r--tests/ref/fate/pcm_dvd247
-rw-r--r--tests/ref/fate/pictor3
-rw-r--r--tests/ref/fate/prores-4225
-rw-r--r--tests/ref/fate/prores-422_hq5
-rw-r--r--tests/ref/fate/prores-422_lt5
-rw-r--r--tests/ref/fate/prores-422_proxy5
-rw-r--r--tests/ref/fate/prores-alpha5
-rw-r--r--tests/ref/fate/psx-str402
-rw-r--r--tests/ref/fate/psx-str-v3-mdec119
-rw-r--r--tests/ref/fate/ptx3
-rw-r--r--tests/ref/fate/pva-demux52
-rw-r--r--tests/ref/fate/qpeg201
-rw-r--r--tests/ref/fate/qtrle-16bit167
-rw-r--r--tests/ref/fate/qtrle-1bit216
-rw-r--r--tests/ref/fate/qtrle-24bit69
-rw-r--r--tests/ref/fate/qtrle-2bit216
-rw-r--r--tests/ref/fate/qtrle-32bit53
-rw-r--r--tests/ref/fate/qtrle-4bit77
-rw-r--r--tests/ref/fate/qtrle-8bit335
-rw-r--r--tests/ref/fate/quickdraw5
-rw-r--r--tests/ref/fate/r2107
-rw-r--r--tests/ref/fate/real-rv40481
-rw-r--r--tests/ref/fate/redcode-demux12
-rw-r--r--tests/ref/fate/rl2217
-rw-r--r--tests/ref/fate/rpza61
-rw-r--r--tests/ref/fate/rv30219
-rw-r--r--tests/ref/fate/sierra-vmd666
-rw-r--r--tests/ref/fate/siff80
-rw-r--r--tests/ref/fate/smacker374
-rw-r--r--tests/ref/fate/smc241
-rw-r--r--tests/ref/fate/smjpeg848
-rw-r--r--tests/ref/fate/sp5x40
-rw-r--r--tests/ref/fate/sunraster-1bit-raw3
-rw-r--r--tests/ref/fate/sunraster-1bit-rle3
-rw-r--r--tests/ref/fate/sunraster-24bit-raw3
-rw-r--r--tests/ref/fate/sunraster-24bit-rle3
-rw-r--r--tests/ref/fate/sunraster-8bit-raw3
-rw-r--r--tests/ref/fate/sunraster-8bit-rle3
-rw-r--r--tests/ref/fate/svq1301
-rw-r--r--tests/ref/fate/svq3361
-rw-r--r--tests/ref/fate/targa-conformance-CBW83
-rw-r--r--tests/ref/fate/targa-conformance-CCM83
-rw-r--r--tests/ref/fate/targa-conformance-CTC163
-rw-r--r--tests/ref/fate/targa-conformance-CTC243
-rw-r--r--tests/ref/fate/targa-conformance-CTC323
-rw-r--r--tests/ref/fate/targa-conformance-UBW83
-rw-r--r--tests/ref/fate/targa-conformance-UCM83
-rw-r--r--tests/ref/fate/targa-conformance-UTC163
-rw-r--r--tests/ref/fate/targa-conformance-UTC243
-rw-r--r--tests/ref/fate/targa-conformance-UTC323
-rw-r--r--tests/ref/fate/targa-top-to-bottom3
-rw-r--r--tests/ref/fate/tiertex-seq198
-rw-r--r--tests/ref/fate/tiff-fax-g33
-rw-r--r--tests/ref/fate/tiff-fax-g3s3
-rw-r--r--tests/ref/fate/tmv442
-rw-r--r--tests/ref/fate/truemotion1-15438
-rw-r--r--tests/ref/fate/truemotion1-2488
-rw-r--r--tests/ref/fate/truemotion261
-rw-r--r--tests/ref/fate/tscc-15bit482
-rw-r--r--tests/ref/fate/tscc-32bit313
-rw-r--r--tests/ref/fate/txd-16bpp23
-rw-r--r--tests/ref/fate/txd-pal83
-rw-r--r--tests/ref/fate/ulti125
-rw-r--r--tests/ref/fate/utvideo_rgb_left9
-rw-r--r--tests/ref/fate/utvideo_rgb_median11
-rw-r--r--tests/ref/fate/utvideo_rgba_left11
-rw-r--r--tests/ref/fate/utvideo_rgba_median11
-rw-r--r--tests/ref/fate/utvideo_yuv420_left15
-rw-r--r--tests/ref/fate/utvideo_yuv420_median9
-rw-r--r--tests/ref/fate/utvideo_yuv422_left9
-rw-r--r--tests/ref/fate/utvideo_yuv422_median9
-rw-r--r--tests/ref/fate/v2103
-rw-r--r--tests/ref/fate/v410dec3
-rw-r--r--tests/ref/fate/vble9
-rw-r--r--tests/ref/fate/vc1-ism241
-rw-r--r--tests/ref/fate/vc1_sa0004031
-rw-r--r--tests/ref/fate/vc1_sa0005061
-rw-r--r--tests/ref/fate/vc1_sa1009161
-rw-r--r--tests/ref/fate/vc1_sa20021121
-rw-r--r--tests/ref/fate/vcr1257
-rw-r--r--tests/ref/fate/videoxl81
-rw-r--r--tests/ref/fate/vmnc-16bit385
-rw-r--r--tests/ref/fate/vmnc-32bit99
-rw-r--r--tests/ref/fate/vp3-coeff-level6417
-rw-r--r--tests/ref/fate/vp31229
-rw-r--r--tests/ref/fate/vp5493
-rw-r--r--tests/ref/fate/vp6a187
-rw-r--r--tests/ref/fate/vp6f349
-rw-r--r--tests/ref/fate/vp8-sign-bias19
-rw-r--r--tests/ref/fate/vp8-test-vector-00159
-rw-r--r--tests/ref/fate/vp8-test-vector-00299
-rw-r--r--tests/ref/fate/vp8-test-vector-00399
-rw-r--r--tests/ref/fate/vp8-test-vector-00459
-rw-r--r--tests/ref/fate/vp8-test-vector-00599
-rw-r--r--tests/ref/fate/vp8-test-vector-00697
-rw-r--r--tests/ref/fate/vp8-test-vector-00759
-rw-r--r--tests/ref/fate/vp8-test-vector-0085
-rw-r--r--tests/ref/fate/vp8-test-vector-00999
-rw-r--r--tests/ref/fate/vp8-test-vector-010115
-rw-r--r--tests/ref/fate/vp8-test-vector-01159
-rw-r--r--tests/ref/fate/vp8-test-vector-01259
-rw-r--r--tests/ref/fate/vp8-test-vector-01359
-rw-r--r--tests/ref/fate/vp8-test-vector-01499
-rw-r--r--tests/ref/fate/vp8-test-vector-015521
-rw-r--r--tests/ref/fate/vp8-test-vector-01659
-rw-r--r--tests/ref/fate/vp8-test-vector-01759
-rw-r--r--tests/ref/fate/vqa-cc158
-rw-r--r--tests/ref/fate/vqf-demux2
-rw-r--r--tests/ref/fate/wc3movie-xan142
-rw-r--r--tests/ref/fate/wmv8-drm261
-rw-r--r--tests/ref/fate/wmv8-drm-nodec302
-rw-r--r--tests/ref/fate/wnv1173
-rw-r--r--tests/ref/fate/wtv-demux280
-rw-r--r--tests/ref/fate/xmv-demux364
-rw-r--r--tests/ref/fate/xxan-wc443
-rw-r--r--tests/ref/fate/yop15
-rw-r--r--tests/ref/fate/zlib3
-rw-r--r--tests/ref/fate/zmbv-15bit319
-rw-r--r--tests/ref/fate/zmbv-16bit319
-rw-r--r--tests/ref/fate/zmbv-32bit319
-rw-r--r--tests/ref/fate/zmbv-8bit551
398 files changed, 34088 insertions, 33602 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 06718d2485..0d6cb91e49 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -89,8 +89,8 @@ OBJS-$(CONFIG_FLIC_DEMUXER) += flic.o
OBJS-$(CONFIG_FLV_DEMUXER) += flvdec.o
OBJS-$(CONFIG_FLV_MUXER) += flvenc.o avc.o
OBJS-$(CONFIG_FOURXM_DEMUXER) += 4xm.o
-OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o
-OBJS-$(CONFIG_FRAMEMD5_MUXER) += md5enc.o
+OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o framehash.o
+OBJS-$(CONFIG_FRAMEMD5_MUXER) += md5enc.o framehash.o
OBJS-$(CONFIG_GIF_MUXER) += gif.o
OBJS-$(CONFIG_GSM_DEMUXER) += gsmdec.o
OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o
diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index d845e79c41..d1148f9190 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -21,13 +21,15 @@
#include "libavutil/adler32.h"
#include "avformat.h"
+#include "internal.h"
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
{
uint32_t crc = av_adler32_update(0, pkt->data, pkt->size);
char buf[256];
- snprintf(buf, sizeof(buf), "%d, %"PRId64", %d, 0x%08x\n", pkt->stream_index, pkt->dts, pkt->size, crc);
+ snprintf(buf, sizeof(buf), "%d, %10"PRId64", %10"PRId64", %8d, %8d, 0x%08x\n",
+ pkt->stream_index, pkt->dts, pkt->pts, pkt->duration, pkt->size, crc);
avio_write(s->pb, buf, strlen(buf));
avio_flush(s->pb);
return 0;
@@ -39,6 +41,7 @@ AVOutputFormat ff_framecrc_muxer = {
.extensions = "",
.audio_codec = CODEC_ID_PCM_S16LE,
.video_codec = CODEC_ID_RAWVIDEO,
+ .write_header = ff_framehash_write_header,
.write_packet = framecrc_write_packet,
.flags = AVFMT_VARIABLE_FPS,
};
diff --git a/libavformat/framehash.c b/libavformat/framehash.c
new file mode 100644
index 0000000000..28e9e8407d
--- /dev/null
+++ b/libavformat/framehash.c
@@ -0,0 +1,33 @@
+/*
+ * Common functions for the frame{crc,md5} muxers
+ *
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "internal.h"
+
+int ff_framehash_write_header(AVFormatContext *s)
+{
+ int i;
+ for (i = 0; i < s->nb_streams; i++) {
+ AVStream *st = s->streams[i];
+ avpriv_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den);
+ avio_printf(s->pb, "#tb %d: %d/%d\n", i, st->time_base.num, st->time_base.den);
+ avio_flush(s->pb);
+ }
+ return 0;
+}
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 559e710014..322dff94af 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -307,4 +307,10 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels,
uint64_t channel_layout, int32_t sample_rate,
int32_t width, int32_t height);
+/**
+ * Set the timebase for each stream from the corresponding codec timebase and
+ * print it.
+ */
+int ff_framehash_write_header(AVFormatContext *s);
+
#endif /* AVFORMAT_INTERNAL_H */
diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c
index 4509c18e84..3fd54506b3 100644
--- a/libavformat/md5enc.c
+++ b/libavformat/md5enc.c
@@ -21,6 +21,7 @@
#include "libavutil/md5.h"
#include "avformat.h"
+#include "internal.h"
#define PRIVSIZE 512
@@ -90,7 +91,8 @@ static int framemd5_write_packet(struct AVFormatContext *s, AVPacket *pkt)
av_md5_init(s->priv_data);
av_md5_update(s->priv_data, pkt->data, pkt->size);
- snprintf(buf, sizeof(buf) - 64, "%d, %"PRId64", %d, ", pkt->stream_index, pkt->dts, pkt->size);
+ snprintf(buf, sizeof(buf) - 64, "%d, %10"PRId64", %10"PRId64", %8d, %8d, ",
+ pkt->stream_index, pkt->dts, pkt->pts, pkt->duration, pkt->size);
md5_finish(s, buf);
return 0;
}
@@ -102,6 +104,7 @@ AVOutputFormat ff_framemd5_muxer = {
.priv_data_size = PRIVSIZE,
.audio_codec = CODEC_ID_PCM_S16LE,
.video_codec = CODEC_ID_RAWVIDEO,
+ .write_header = ff_framehash_write_header,
.write_packet = framemd5_write_packet,
.flags = AVFMT_VARIABLE_FPS,
};
diff --git a/tests/ref/fate/4xm-1 b/tests/ref/fate/4xm-1
index 5e66dcce6b..d38a47a1ad 100644
--- a/tests/ref/fate/4xm-1
+++ b/tests/ref/fate/4xm-1
@@ -1,15 +1,16 @@
-0, 0, 921600, 0xd08f97c7
-0, 6000, 921600, 0xc433a85b
-0, 12000, 921600, 0x7ffeee42
-0, 18000, 921600, 0xc0ad9f52
-0, 24000, 921600, 0xb0235112
-0, 30000, 921600, 0xcbdd9805
-0, 36000, 921600, 0x5468bdb9
-0, 42000, 921600, 0x2f0c63fd
-0, 48000, 921600, 0xf1de04f0
-0, 54000, 921600, 0x95709ce2
-0, 60000, 921600, 0x69037c4a
-0, 66000, 921600, 0x513f8a98
-0, 72000, 921600, 0x55b82fa1
-0, 78000, 921600, 0x5c8ace28
-0, 84000, 921600, 0xb019770a
+#tb 0: 1/15
+0, 0, 0, 1, 921600, 0xd08f97c7
+0, 1, 1, 1, 921600, 0xc433a85b
+0, 2, 2, 1, 921600, 0x7ffeee42
+0, 3, 3, 1, 921600, 0xc0ad9f52
+0, 4, 4, 1, 921600, 0xb0235112
+0, 5, 5, 1, 921600, 0xcbdd9805
+0, 6, 6, 1, 921600, 0x5468bdb9
+0, 7, 7, 1, 921600, 0x2f0c63fd
+0, 8, 8, 1, 921600, 0xf1de04f0
+0, 9, 9, 1, 921600, 0x95709ce2
+0, 10, 10, 1, 921600, 0x69037c4a
+0, 11, 11, 1, 921600, 0x513f8a98
+0, 12, 12, 1, 921600, 0x55b82fa1
+0, 13, 13, 1, 921600, 0x5c8ace28
+0, 14, 14, 1, 921600, 0xb019770a
diff --git a/tests/ref/fate/4xm-2 b/tests/ref/fate/4xm-2
index 4037f28fb8..35b0797439 100644
--- a/tests/ref/fate/4xm-2
+++ b/tests/ref/fate/4xm-2
@@ -1,174 +1,175 @@
-0, 0, 80640, 0x00000000
-0, 15000, 80640, 0x3a942680
-0, 30000, 80640, 0x3a942680
-0, 45000, 80640, 0x3a942680
-0, 60000, 80640, 0x3a942680
-0, 75000, 80640, 0x3a942680
-0, 90000, 80640, 0x3a942680
-0, 105000, 80640, 0x1956ebfc
-0, 120000, 80640, 0x61686290
-0, 135000, 80640, 0x7e2c2753
-0, 150000, 80640, 0x63e5e14f
-0, 165000, 80640, 0xa775947a
-0, 180000, 80640, 0x4b91b93d
-0, 195000, 80640, 0x83345f32
-0, 210000, 80640, 0x5d3a3374
-0, 225000, 80640, 0x164808c5
-0, 240000, 80640, 0xfd0189af
-0, 255000, 80640, 0x062f9389
-0, 270000, 80640, 0xe4dcaff8
-0, 285000, 80640, 0xb2d9ec51
-0, 300000, 80640, 0x3b4d5331
-0, 315000, 80640, 0xfcbd8da1
-0, 330000, 80640, 0xa0732142
-0, 345000, 80640, 0x6438df5f
-0, 360000, 80640, 0x614302fa
-0, 375000, 80640, 0x53edf986
-0, 390000, 80640, 0x6dfe13f0
-0, 405000, 80640, 0x0b2194c3
-0, 420000, 80640, 0xe0436945
-0, 435000, 80640, 0x8d8ba77f
-0, 450000, 80640, 0x9c723388
-0, 465000, 80640, 0x336bd2a2
-0, 480000, 80640, 0x5905fd0b
-0, 495000, 80640, 0x2ca368bb
-0, 510000, 80640, 0x38c1e5ec
-0, 525000, 80640, 0xe439a194
-0, 540000, 80640, 0xe7a19a64
-0, 555000, 80640, 0xbe7f9094
-0, 570000, 80640, 0x0b2cbec9
-0, 585000, 80640, 0x8050bf7d
-0, 600000, 80640, 0x4e9d4e78
-0, 615000, 80640, 0xaa7bb85d
-0, 630000, 80640, 0x6e42b1a6
-0, 645000, 80640, 0x27043fe0
-0, 660000, 80640, 0xe04bd5e6
-0, 675000, 80640, 0xd60762d6
-0, 690000, 80640, 0x2729df8f
-0, 705000, 80640, 0x1b62c4f7
-0, 720000, 80640, 0xe6b5d2f7
-0, 735000, 80640, 0xf5885096
-0, 750000, 80640, 0xe7625cf6
-0, 765000, 80640, 0xed804de6
-0, 780000, 80640, 0x3f92728e
-0, 795000, 80640, 0x353e4b0d
-0, 810000, 80640, 0x70b0228c
-0, 825000, 80640, 0x851bd554
-0, 840000, 80640, 0x594f22eb
-0, 855000, 80640, 0xa2267c0b
-0, 870000, 80640, 0xdc0fbafb
-0, 885000, 80640, 0xd596b763
-0, 900000, 80640, 0x3b9c4b1b
-0, 915000, 80640, 0x218ac4b4
-0, 930000, 80640, 0x4af393a4
-0, 945000, 80640, 0x66c098c5
-0, 960000, 80640, 0x7cc91e86
-0, 975000, 80640, 0xba282a2e
-0, 990000, 80640, 0x50932be6
-0, 1005000, 80640, 0x6531386e
-0, 1020000, 80640, 0x2616235f
-0, 1035000, 80640, 0x27aad18a
-0, 1050000, 80640, 0x67491df3
-0, 1065000, 80640, 0x167028f1
-0, 1080000, 80640, 0xa4229420
-0, 1095000, 80640, 0x77eaed07
-0, 1110000, 80640, 0xbdf7d8e8
-0, 1125000, 80640, 0xc2ac8545
-0, 1140000, 80640, 0xf3fe64ec
-0, 1155000, 80640, 0x66451d43
-0, 1170000, 80640, 0x1af2f05e
-0, 1185000, 80640, 0x2a63c2c4
-0, 1200000, 80640, 0xe4e07a0f
-0, 1215000, 80640, 0x598e8b11
-0, 1230000, 80640, 0xb2ebb868
-0, 1245000, 80640, 0xa4b6bb8a
-0, 1260000, 80640, 0x5037e910
-0, 1275000, 80640, 0x0c55f6c0
-0, 1290000, 80640, 0x3f4704f7
-0, 1305000, 80640, 0xa6a8e810
-0, 1320000, 80640, 0xedbfcfb0
-0, 1335000, 80640, 0xe568caa0
-0, 1350000, 80640, 0xdf21cc20
-0, 1365000, 80640, 0xb66cd4a8
-0, 1380000, 80640, 0xcd26c9c8
-0, 1395000, 80640, 0x5fe8d598
-0, 1410000, 80640, 0xed0dc9c8
-0, 1425000, 80640, 0x8313d288
-0, 1440000, 80640, 0x9ccdd4a0
-0, 1455000, 80640, 0x66ffe970
-0, 1470000, 80640, 0xf68ad1c8
-0, 1485000, 80640, 0xd570f658
-0, 1500000, 80640, 0x8c39d998
-0, 1515000, 80640, 0xe18fe5e0
-0, 1530000, 80640, 0xbbe7e340
-0, 1545000, 80640, 0x9a90d470
-0, 1560000, 80640, 0xd2bbced0
-0, 1575000, 80640, 0xbbf9dce0
-0, 1590000, 80640, 0x4ff7c888
-0, 1605000, 80640, 0xc2e7e1f0
-0, 1620000, 80640, 0x2104e3b0
-0, 1635000, 80640, 0xaef5e8f0
-0, 1650000, 80640, 0xc477e890
-0, 1665000, 80640, 0xb12df778
-0, 1680000, 80640, 0xd2115720
-0, 1695000, 80640, 0x620b6538
-0, 1710000, 80640, 0x894a8db8
-0, 1725000, 80640, 0x8da3bcb0
-0, 1740000, 80640, 0x96be8930
-0, 1755000, 80640, 0xe69dc1f0
-0, 1770000, 80640, 0x42b8d4e0
-0, 1785000, 80640, 0x0a8da4f0
-0, 1800000, 80640, 0x245fd3d8
-0, 1815000, 80640, 0x3fd1e858
-0, 1830000, 80640, 0xe2c299f0
-0, 1845000, 80640, 0xda1cddd0
-0, 1860000, 80640, 0xf126e498
-0, 1875000, 80640, 0xc85ab920
-0, 1890000, 80640, 0x52f39de8
-0, 1905000, 80640, 0xd0daac60
-0, 1920000, 80640, 0xef323347
-0, 1935000, 80640, 0xcc063317
-0, 1950000, 80640, 0xb6f53057
-0, 1965000, 80640, 0x5fe53b07
-0, 1980000, 80640, 0x63183d7f
-0, 1995000, 80640, 0x91a44bbf
-0, 2010000, 80640, 0xa433480f
-0, 2025000, 80640, 0xe90652ef
-0, 2040000, 80640, 0xe96e35bf
-0, 2055000, 80640, 0x84ff2ccf
-0, 2070000, 80640, 0x930f2b07
-0, 2085000, 80640, 0x5a1228d7
-0, 2100000, 80640, 0x29f226ef
-0, 2115000, 80640, 0xd35136df
-0, 2130000, 80640, 0x0e2d407f
-0, 2145000, 80640, 0x34a93267
-0, 2160000, 80640, 0x7ae82af7
-0, 2175000, 80640, 0xb20c2477
-0, 2190000, 80640, 0xa104218f
-0, 2205000, 80640, 0xcb1121e7
-0, 2220000, 80640, 0xaca04751
-0, 2235000, 80640, 0x3a51c704
-0, 2250000, 80640, 0xfa632e3d
-0, 2265000, 80640, 0x61c9407c
-0, 2280000, 80640, 0xe9a08dd9
-0, 2295000, 80640, 0xebf3c623
-0, 2310000, 80640, 0x00000000
-0, 2325000, 80640, 0x0f412500
-0, 2340000, 80640, 0x0f412500
-0, 2355000, 80640, 0x0f412500
-0, 2370000, 80640, 0xb6634270
-0, 2385000, 80640, 0x9e43a4a0
-0, 2400000, 80640, 0x136ab60b
-0, 2415000, 80640, 0x6ce3254e
-0, 2430000, 80640, 0xf4340d15
-0, 2445000, 80640, 0x73861114
-0, 2460000, 80640, 0x36b300d3
-0, 2475000, 80640, 0x2ddde523
-0, 2490000, 80640, 0xfdd79c02
-0, 2505000, 80640, 0xe6cc4fe9
-0, 2520000, 80640, 0x5b13e2b9
-0, 2535000, 80640, 0x0d588e70
-0, 2550000, 80640, 0xc6e4023f
-0, 2565000, 80640, 0xf54c496f
-0, 2580000, 80640, 0xa315a5cf
-0, 2595000, 80640, 0x2d2ac9c7
+#tb 0: 1/6
+0, 0, 0, 1, 80640, 0x00000000
+0, 1, 1, 1, 80640, 0x3a942680
+0, 2, 2, 1, 80640, 0x3a942680
+0, 3, 3, 1, 80640, 0x3a942680
+0, 4, 4, 1, 80640, 0x3a942680
+0, 5, 5, 1, 80640, 0x3a942680
+0, 6, 6, 1, 80640, 0x3a942680
+0, 7, 7, 1, 80640, 0x1956ebfc
+0, 8, 8, 1, 80640, 0x61686290
+0, 9, 9, 1, 80640, 0x7e2c2753
+0, 10, 10, 1, 80640, 0x63e5e14f
+0, 11, 11, 1, 80640, 0xa775947a
+0, 12, 12, 1, 80640, 0x4b91b93d
+0, 13, 13, 1, 80640, 0x83345f32
+0, 14, 14, 1, 80640, 0x5d3a3374
+0, 15, 15, 1, 80640, 0x164808c5
+0, 16, 16, 1, 80640, 0xfd0189af
+0, 17, 17, 1, 80640, 0x062f9389
+0, 18, 18, 1, 80640, 0xe4dcaff8
+0, 19, 19, 1, 80640, 0xb2d9ec51
+0, 20, 20, 1, 80640, 0x3b4d5331
+0, 21, 21, 1, 80640, 0xfcbd8da1
+0, 22, 22, 1, 80640, 0xa0732142
+0, 23, 23, 1, 80640, 0x6438df5f
+0, 24, 24, 1, 80640, 0x614302fa
+0, 25, 25, 1, 80640, 0x53edf986
+0, 26, 26, 1, 80640, 0x6dfe13f0
+0, 27, 27, 1, 80640, 0x0b2194c3
+0, 28, 28, 1, 80640, 0xe0436945
+0, 29, 29, 1, 80640, 0x8d8ba77f
+0, 30, 30, 1, 80640, 0x9c723388
+0, 31, 31, 1, 80640, 0x336bd2a2
+0, 32, 32, 1, 80640, 0x5905fd0b
+0, 33, 33, 1, 80640, 0x2ca368bb
+0, 34, 34, 1, 80640, 0x38c1e5ec
+0, 35, 35, 1, 80640, 0xe439a194
+0, 36, 36, 1, 80640, 0xe7a19a64
+0, 37, 37, 1, 80640, 0xbe7f9094
+0, 38, 38, 1, 80640, 0x0b2cbec9
+0, 39, 39, 1, 80640, 0x8050bf7d
+0, 40, 40, 1, 80640, 0x4e9d4e78
+0, 41, 41, 1, 80640, 0xaa7bb85d
+0, 42, 42, 1, 80640, 0x6e42b1a6
+0, 43, 43, 1, 80640, 0x27043fe0
+0, 44, 44, 1, 80640, 0xe04bd5e6
+0, 45, 45, 1, 80640, 0xd60762d6
+0, 46, 46, 1, 80640, 0x2729df8f
+0, 47, 47, 1, 80640, 0x1b62c4f7
+0, 48, 48, 1, 80640, 0xe6b5d2f7
+0, 49, 49, 1, 80640, 0xf5885096
+0, 50, 50, 1, 80640, 0xe7625cf6
+0, 51, 51, 1, 80640, 0xed804de6
+0, 52, 52, 1, 80640, 0x3f92728e
+0, 53, 53, 1, 80640, 0x353e4b0d
+0, 54, 54, 1, 80640, 0x70b0228c
+0, 55, 55, 1, 80640, 0x851bd554
+0, 56, 56, 1, 80640, 0x594f22eb
+0, 57, 57, 1, 80640, 0xa2267c0b
+0, 58, 58, 1, 80640, 0xdc0fbafb
+0, 59, 59, 1, 80640, 0xd596b763
+0, 60, 60, 1, 80640, 0x3b9c4b1b
+0, 61, 61, 1, 80640, 0x218ac4b4
+0, 62, 62, 1, 80640, 0x4af393a4
+0, 63, 63, 1, 80640, 0x66c098c5
+0, 64, 64, 1, 80640, 0x7cc91e86
+0, 65, 65, 1, 80640, 0xba282a2e
+0, 66, 66, 1, 80640, 0x50932be6
+0, 67, 67, 1, 80640, 0x6531386e
+0, 68, 68, 1, 80640, 0x2616235f
+0, 69, 69, 1, 80640, 0x27aad18a
+0, 70, 70, 1, 80640, 0x67491df3
+0, 71, 71, 1, 80640, 0x167028f1
+0, 72, 72, 1, 80640, 0xa4229420
+0, 73, 73, 1, 80640, 0x77eaed07
+0, 74, 74, 1, 80640, 0xbdf7d8e8
+0, 75, 75, 1, 80640, 0xc2ac8545
+0, 76, 76, 1, 80640, 0xf3fe64ec
+0, 77, 77, 1, 80640, 0x66451d43
+0, 78, 78, 1, 80640, 0x1af2f05e
+0, 79, 79, 1, 80640, 0x2a63c2c4
+0, 80, 80, 1, 80640, 0xe4e07a0f
+0, 81, 81, 1, 80640, 0x598e8b11
+0, 82, 82, 1, 80640, 0xb2ebb868
+0, 83, 83, 1, 80640, 0xa4b6bb8a
+0, 84, 84, 1, 80640, 0x5037e910
+0, 85, 85, 1, 80640, 0x0c55f6c0
+0, 86, 86, 1, 80640, 0x3f4704f7
+0, 87, 87, 1, 80640, 0xa6a8e810
+0, 88, 88, 1, 80640, 0xedbfcfb0
+0, 89, 89, 1, 80640, 0xe568caa0
+0, 90, 90, 1, 80640, 0xdf21cc20
+0, 91, 91, 1, 80640, 0xb66cd4a8
+0, 92, 92, 1, 80640, 0xcd26c9c8
+0, 93, 93, 1, 80640, 0x5fe8d598
+0, 94, 94, 1, 80640, 0xed0dc9c8
+0, 95, 95, 1, 80640, 0x8313d288
+0, 96, 96, 1, 80640, 0x9ccdd4a0
+0, 97, 97, 1, 80640, 0x66ffe970
+0, 98, 98, 1, 80640, 0xf68ad1c8
+0, 99, 99, 1, 80640, 0xd570f658
+0, 100, 100, 1, 80640, 0x8c39d998
+0, 101, 101, 1, 80640, 0xe18fe5e0
+0, 102, 102, 1, 80640, 0xbbe7e340
+0, 103, 103, 1, 80640, 0x9a90d470
+0, 104, 104, 1, 80640, 0xd2bbced0
+0, 105, 105, 1, 80640, 0xbbf9dce0
+0, 106, 106, 1, 80640, 0x4ff7c888
+0, 107, 107, 1, 80640, 0xc2e7e1f0
+0, 108, 108, 1, 80640, 0x2104e3b0
+0, 109, 109, 1, 80640, 0xaef5e8f0
+0, 110, 110, 1, 80640, 0xc477e890
+0, 111, 111, 1, 80640, 0xb12df778
+0, 112, 112, 1, 80640, 0xd2115720
+0, 113, 113, 1, 80640, 0x620b6538
+0, 114, 114, 1, 80640, 0x894a8db8
+0, 115, 115, 1, 80640, 0x8da3bcb0
+0, 116, 116, 1, 80640, 0x96be8930
+0, 117, 117, 1, 80640, 0xe69dc1f0
+0, 118, 118, 1, 80640, 0x42b8d4e0
+0, 119, 119, 1, 80640, 0x0a8da4f0
+0, 120, 120, 1, 80640, 0x245fd3d8
+0, 121, 121, 1, 80640, 0x3fd1e858
+0, 122, 122, 1, 80640, 0xe2c299f0
+0, 123, 123, 1, 80640, 0xda1cddd0
+0, 124, 124, 1, 80640, 0xf126e498
+0, 125, 125, 1, 80640, 0xc85ab920
+0, 126, 126, 1, 80640, 0x52f39de8
+0, 127, 127, 1, 80640, 0xd0daac60
+0, 128, 128, 1, 80640, 0xef323347
+0, 129, 129, 1, 80640, 0xcc063317
+0, 130, 130, 1, 80640, 0xb6f53057
+0, 131, 131, 1, 80640, 0x5fe53b07
+0, 132, 132, 1, 80640, 0x63183d7f
+0, 133, 133, 1, 80640, 0x91a44bbf
+0, 134, 134, 1, 80640, 0xa433480f
+0, 135, 135, 1, 80640, 0xe90652ef
+0, 136, 136, 1, 80640, 0xe96e35bf
+0, 137, 137, 1, 80640, 0x84ff2ccf
+0, 138, 138, 1, 80640, 0x930f2b07
+0, 139, 139, 1, 80640, 0x5a1228d7
+0, 140, 140, 1, 80640, 0x29f226ef
+0, 141, 141, 1, 80640, 0xd35136df
+0, 142, 142, 1, 80640, 0x0e2d407f
+0, 143, 143, 1, 80640, 0x34a93267
+0, 144, 144, 1, 80640, 0x7ae82af7
+0, 145, 145, 1, 80640, 0xb20c2477
+0, 146, 146, 1, 80640, 0xa104218f
+0, 147, 147, 1, 80640, 0xcb1121e7
+0, 148, 148, 1, 80640, 0xaca04751
+0, 149, 149, 1, 80640, 0x3a51c704
+0, 150, 150, 1, 80640, 0xfa632e3d
+0, 151, 151, 1, 80640, 0x61c9407c
+0, 152, 152, 1, 80640, 0xe9a08dd9
+0, 153, 153, 1, 80640, 0xebf3c623
+0, 154, 154, 1, 80640, 0x00000000
+0, 155, 155, 1, 80640, 0x0f412500
+0, 156, 156, 1, 80640, 0x0f412500
+0, 157, 157, 1, 80640, 0x0f412500
+0, 158, 158, 1, 80640, 0xb6634270
+0, 159, 159, 1, 80640, 0x9e43a4a0
+0, 160, 160, 1, 80640, 0x136ab60b
+0, 161, 161, 1, 80640, 0x6ce3254e
+0, 162, 162, 1, 80640, 0xf4340d15
+0, 163, 163, 1, 80640, 0x73861114
+0, 164, 164, 1, 80640, 0x36b300d3
+0, 165, 165, 1, 80640, 0x2ddde523
+0, 166, 166, 1, 80640, 0xfdd79c02
+0, 167, 167, 1, 80640, 0xe6cc4fe9
+0, 168, 168, 1, 80640, 0x5b13e2b9
+0, 169, 169, 1, 80640, 0x0d588e70
+0, 170, 170, 1, 80640, 0xc6e4023f
+0, 171, 171, 1, 80640, 0xf54c496f
+0, 172, 172, 1, 80640, 0xa315a5cf
+0, 173, 173, 1, 80640, 0x2d2ac9c7
diff --git a/tests/ref/fate/8bps b/tests/ref/fate/8bps
index 30ec8c5eba..9db94301e0 100644
--- a/tests/ref/fate/8bps
+++ b/tests/ref/fate/8bps
@@ -1,35 +1,37 @@
-0, 0, 259200, 0x7e91df07
-1, 0, 2048, 0x3d042426
-1, 4180, 2048, 0x5bcae456
-0, 7200, 259200, 0x7e91df07
-1, 8359, 2048, 0xb6043655
-1, 12539, 2048, 0x6fdaffad
-0, 14400, 259200, 0xc468c119
-1, 16718, 2048, 0xf86700cb
-1, 20898, 2048, 0x045e46c1
-0, 21600, 259200, 0x0e058930
-1, 25078, 2048, 0x000df0e5
-0, 28800, 259200, 0xa0261310
-1, 29257, 2048, 0x8f5f12fb
-1, 33437, 2048, 0xd516f6b0
-0, 36000, 259200, 0x78ca9aba
-1, 37616, 2048, 0xa1fe2bd3
-1, 41796, 2048, 0x3647087a
-0, 43200, 259200, 0x4971f7b3
-1, 45976, 2048, 0xd2ee584e
-1, 50155, 2048, 0xf132088c
-0, 50400, 259200, 0x7dc2cff7
-1, 54335, 2048, 0x1efc0eb1
-0, 57600, 259200, 0x8cbc53d5
-1, 58514, 2048, 0xeb73f402
-1, 62694, 2048, 0x75cb3d20
-0, 64800, 259200, 0xcccd77e3
-1, 66873, 2048, 0x85a501b6
-1, 71053, 2048, 0xa4eb312d
-0, 72000, 259200, 0x6b3e0fb3
-1, 75233, 2048, 0xf0aaf8c7
-0, 79200, 259200, 0x281dd175
-1, 79412, 2048, 0x65371cda
-1, 83592, 2048, 0x25512cd6
-1, 87771, 2048, 0xc81410e3
-1, 91951, 514, 0x57d77b94
+#tb 0: 2/25
+#tb 1: 1/22050
+0, 0, 0, 1, 259200, 0x7e91df07
+1, 0, 0, 1024, 2048, 0x3d042426
+1, 1024, 1024, 1024, 2048, 0x5bcae456
+0, 1, 1, 1, 259200, 0x7e91df07
+1, 2048, 2048, 1024, 2048, 0xb6043655
+1, 3072, 3072, 1024, 2048, 0x6fdaffad
+0, 2, 2, 1, 259200, 0xc468c119
+1, 4096, 4096, 1024, 2048, 0xf86700cb
+1, 5120, 5120, 1024, 2048, 0x045e46c1
+0, 3, 3, 1, 259200, 0x0e058930
+1, 6144, 6144, 1024, 2048, 0x000df0e5
+0, 4, 4, 1, 259200, 0xa0261310
+1, 7168, 7168, 1024, 2048, 0x8f5f12fb
+1, 8192, 8192, 1024, 2048, 0xd516f6b0
+0, 5, 5, 1, 259200, 0x78ca9aba
+1, 9216, 9216, 1024, 2048, 0xa1fe2bd3
+1, 10240, 10240, 1024, 2048, 0x3647087a
+0, 6, 6, 1, 259200, 0x4971f7b3
+1, 11264, 11264, 1024, 2048, 0xd2ee584e
+1, 12288, 12288, 1024, 2048, 0xf132088c
+0, 7, 7, 1, 259200, 0x7dc2cff7
+1, 13312, 13312, 1024, 2048, 0x1efc0eb1
+0, 8, 8, 1, 259200, 0x8cbc53d5
+1, 14336, 14336, 1024, 2048, 0xeb73f402
+1, 15360, 15360, 1024, 2048, 0x75cb3d20
+0, 9, 9, 1, 259200, 0xcccd77e3
+1, 16384, 16384, 1024, 2048, 0x85a501b6
+1, 17408, 17408, 1024, 2048, 0xa4eb312d
+0, 10, 10, 1, 259200, 0x6b3e0fb3
+1, 18432, 18432, 1024, 2048, 0xf0aaf8c7
+0, 11, 11, 1, 259200, 0x281dd175
+1, 19456, 19456, 1024, 2048, 0x65371cda
+1, 20480, 20480, 1024, 2048, 0x25512cd6
+1, 21504, 21504, 1024, 2048, 0xc81410e3
+1, 22528, 22528, 257, 514, 0x57d77b94
diff --git a/tests/ref/fate/aasc b/tests/ref/fate/aasc
index 7ec02ba575..b991635715 100644
--- a/tests/ref/fate/aasc
+++ b/tests/ref/fate/aasc
@@ -1,23 +1,24 @@
-0, 0, 168000, 0x45addf8f
-0, 3600, 168000, 0x45addf8f
-0, 7200, 168000, 0x45addf8f
-0, 10800, 168000, 0x45addf8f
-0, 14400, 168000, 0x45addf8f
-0, 18000, 168000, 0x45addf8f
-0, 21600, 168000, 0x45addf8f
-0, 25200, 168000, 0x45addf8f
-0, 28800, 168000, 0x45addf8f
-0, 32400, 168000, 0x45addf8f
-0, 36000, 168000, 0x45addf8f
-0, 39600, 168000, 0x45addf8f
-0, 43200, 168000, 0x8730699b
-0, 46800, 168000, 0x08b095df
-0, 50400, 168000, 0x203526e3
-0, 54000, 168000, 0x0ebc5142
-0, 57600, 168000, 0xd168e7c2
-0, 61200, 168000, 0xcc7da0e6
-0, 64800, 168000, 0x72ac60b8
-0, 68400, 168000, 0xb691e27c
-0, 72000, 168000, 0x646fa087
-0, 75600, 168000, 0x404450a2
-0, 79200, 168000, 0x5214c456
+#tb 0: 1/25
+0, 0, 0, 1, 168000, 0x45addf8f
+0, 1, 1, 1, 168000, 0x45addf8f
+0, 2, 2, 1, 168000, 0x45addf8f
+0, 3, 3, 1, 168000, 0x45addf8f
+0, 4, 4, 1, 168000, 0x45addf8f
+0, 5, 5, 1, 168000, 0x45addf8f
+0, 6, 6, 1, 168000, 0x45addf8f
+0, 7, 7, 1, 168000, 0x45addf8f
+0, 8, 8, 1, 168000, 0x45addf8f
+0, 9, 9, 1, 168000, 0x45addf8f
+0, 10, 10, 1, 168000, 0x45addf8f
+0, 11, 11, 1, 168000, 0x45addf8f
+0, 12, 12, 1, 168000, 0x8730699b
+0, 13, 13, 1, 168000, 0x08b095df
+0, 14, 14, 1, 168000, 0x203526e3
+0, 15, 15, 1, 168000, 0x0ebc5142
+0, 16, 16, 1, 168000, 0xd168e7c2
+0, 17, 17, 1, 168000, 0xcc7da0e6
+0, 18, 18, 1, 168000, 0x72ac60b8
+0, 19, 19, 1, 168000, 0xb691e27c
+0, 20, 20, 1, 168000, 0x646fa087
+0, 21, 21, 1, 168000, 0x404450a2
+0, 22, 22, 1, 168000, 0x5214c456
diff --git a/tests/ref/fate/adpcm-ea-mad-ea-r1 b/tests/ref/fate/adpcm-ea-mad-ea-r1
index b75de55f39..01c7262b85 100644
--- a/tests/ref/fate/adpcm-ea-mad-ea-r1
+++ b/tests/ref/fate/adpcm-ea-mad-ea-r1
@@ -1,191 +1,193 @@
-0, 0, 535680, 0x889c32cf
-1, 0, 6496, 0x00000000
-0, 2970, 535680, 0x0b1ef044
-1, 3045, 6384, 0x00000000
-0, 5940, 535680, 0xa7d0818b
-1, 6038, 6384, 0x00000000
-0, 8910, 535680, 0xf392e4e1
-1, 9030, 6384, 0x00000000
-0, 11880, 535680, 0x08480c69
-1, 12023, 6384, 0x00000000
-0, 14850, 535680, 0x2b8af1ed
-1, 15015, 6496, 0xe2034d04
-0, 17820, 535680, 0x0d58e062
-1, 18060, 6384, 0x089c9157
-0, 20790, 535680, 0xd140ced0
-1, 21053, 6384, 0xeed5743c
-0, 23760, 535680, 0xbd0e6652
-1, 24045, 6384, 0x71de6b34
-0, 26730, 535680, 0xdc2f2a6b
-1, 27038, 6384, 0xc0d67710
-0, 29700, 535680, 0x97c31a38
-1, 30030, 6496, 0x35786490
-0, 32670, 535680, 0x1a2bdf38
-1, 33075, 6384, 0xdf1c99a2
-0, 35640, 535680, 0xb3af3ac4
-1, 36068, 6384, 0xca9591ad
-0, 38610, 535680, 0x07a52577
-1, 39060, 6384, 0x6f0d9c3d
-0, 41580, 535680, 0x78407368
-1, 42053, 6384, 0xfacbbaee
-0, 44550, 535680, 0xd2a9efc3
-1, 45045, 6496, 0x927fb136
-0, 47520, 535680, 0x36df2f29
-1, 48090, 6384, 0x9d4f2572
-0, 50490, 535680, 0x9821d8f7
-1, 51083, 6384, 0x2a3c6d08
-0, 53460, 535680, 0xf64321aa
-1, 54075, 6384, 0x4282b1e0
-0, 56430, 535680, 0x53e4d9aa
-1, 57068, 6384, 0xc4a77b9f
-0, 59400, 535680, 0xdbd6f853
-1, 60060, 6496, 0x2af6a14f
-0, 62370, 535680, 0x5d40cf8b
-1, 63105, 6384, 0x4d734169
-0, 65340, 535680, 0xe624af9d
-1, 66098, 6384, 0xb91b5865
-0, 68310, 535680, 0xd9dbb4cd
-1, 69090, 6384, 0x9dce2417
-0, 71280, 535680, 0xf14e72ec
-1, 72083, 6384, 0xb7c4e1ce
-0, 74250, 535680, 0xb35c18f6
-1, 75075, 6496, 0xef0dc07a
-0, 77220, 535680, 0xc96d7757
-1, 78120, 6384, 0x4ad21d10
-0, 80190, 535680, 0xdfb937df
-1, 81113, 6384, 0xcfe14682
-0, 83160, 535680, 0x40cd71d7
-1, 84105, 6384, 0x07be48eb
-0, 86130, 535680, 0x15e176d6
-1, 87098, 6384, 0x09de3498
-0, 89100, 535680, 0x7f891b24
-1, 90090, 6496, 0xab2e9686
-0, 92070, 535680, 0xb87a8c32
-1, 93135, 6384, 0x3aba3ccc
-0, 95040, 535680, 0x0c01541f
-1, 96128, 6384, 0x0a905ec3
-0, 98010, 535680, 0x9eee99b3
-1, 99120, 6384, 0x76a93ce4
-0, 100980, 535680, 0xd65eb689
-1, 102113, 6384, 0xa99063a4
-0, 103950, 535680, 0x6e733cfa
-1, 105105, 6496, 0xc16bb88d
-0, 106920, 535680, 0xac536670
-1, 108150, 6384, 0x650379bf
-0, 109890, 535680, 0x002275b8
-1, 111143, 6384, 0x4e0749fe
-0, 112860, 535680, 0x6a5385cb
-1, 114135, 6384, 0x778e8d12
-0, 115830, 535680, 0xd129ade3
-1, 117128, 6384, 0x9fa8c494
-0, 118800, 535680, 0x32cab5d7
-1, 120120, 6496, 0x61d5bead
-0, 121770, 535680, 0x08be1c8f
-1, 123165, 6384, 0x4da9bc3c
-0, 124740, 535680, 0x59e1fba0
-1, 126158, 6384, 0xa72b6f93
-0, 127710, 535680, 0x138aee3a
-1, 129150, 6384, 0x811f5f77
-0, 130680, 535680, 0x4cfbcd5e
-1, 132143, 6384, 0x83ea5e3d
-0, 133650, 535680, 0xf6cf0fb4
-1, 135135, 6496, 0x78bab460
-0, 136620, 535680, 0xb13a06de
-1, 138180, 6384, 0xc9a07432
-0, 139590, 535680, 0x59176f00
-1, 141173, 6384, 0x4b4f2a34
-0, 142560, 535680, 0xf84b4ca3
-1, 144165, 6384, 0x4d707a53
-0, 145530, 535680, 0x7fd09f73
-1, 147158, 6384, 0x703efb60
-0, 148500, 535680, 0x3be383b8
-1, 150150, 6496, 0x319a77bb
-0, 151470, 535680, 0xa7118e51
-1, 153195, 6384, 0xbdfd82ec
-0, 154440, 535680, 0xbd83120c
-1, 156188, 6384, 0x413c3503
-0, 157410, 535680, 0x3bc9d256
-1, 159180, 6384, 0xe6e666b3
-0, 160380, 535680, 0xb6c87f87
-1, 162173, 6384, 0xa09c7342
-0, 163350, 535680, 0xe80d110a
-1, 165165, 6496, 0x60cba846
-0, 166320, 535680, 0xb3a83362
-1, 168210, 6384, 0x0ba34308
-0, 169290, 535680, 0xfb39eb52
-1, 171203, 6384, 0xdc3a65f0
-0, 172260, 535680, 0xbf6e1220
-1, 174195, 6384, 0x1ebf9dc4
-0, 175230, 535680, 0x9ecdfbae
-1, 177188, 6384, 0xbbcb1449
-0, 178200, 535680, 0x069a65f5
-1, 180180, 6496, 0x926574eb
-0, 181170, 535680, 0x206e372c
-1, 183225, 6384, 0xb4da92f1
-0, 184140, 535680, 0x58c83dd4
-1, 186218, 6384, 0xdbbd21e0
-0, 187110, 535680, 0xc3562b03
-1, 189210, 6384, 0x08510eff
-0, 190080, 535680, 0xd1ed85a0
-1, 192203, 6384, 0x9534b7ca
-0, 193050, 535680, 0xb6205f4b
-1, 195195, 6496, 0x50a5ed30
-0, 196020, 535680, 0xaedf8bfa
-1, 198240, 6384, 0xf5ac2f7c
-0, 198990, 535680, 0xa48d5dea
-1, 201233, 6384, 0x4fe1fa55
-0, 201960, 535680, 0xff82e7c1
-1, 204225, 6384, 0xd61c4c05
-0, 204930, 535680, 0xc9560222
-1, 207218, 6384, 0x56d11b45
-0, 207900, 535680, 0x0fafa549
-1, 210210, 6496, 0x3906084b
-0, 210870, 535680, 0x8d556ccb
-1, 213255, 6384, 0x1ef31fed
-0, 213840, 535680, 0x802aac1f
-1, 216248, 6384, 0x58ed82f5
-0, 216810, 535680, 0x7d0fa168
-1, 219240, 6384, 0xb31ccd1f
-0, 219780, 535680, 0x1a9255c9
-1, 222233, 6384, 0xfb648285
-0, 222750, 535680, 0xb4ec7e35
-1, 225225, 6496, 0xfae2950b
-0, 225720, 535680, 0x48fac072
-1, 228270, 6384, 0xe28c8357
-0, 228690, 535680, 0x1e260135
-1, 231263, 6384, 0xda718e60
-0, 231660, 535680, 0xce4d5079
-1, 234255, 6384, 0x27516999
-0, 234630, 535680, 0x13e5e4ed
-1, 237248, 6384, 0x0ba07921
-0, 237600, 535680, 0x592305ec
-1, 240240, 6496, 0xcfbecfab
-0, 240570, 535680, 0x9e227508
-1, 243285, 6384, 0xae4cedcd
-0, 243540, 535680, 0x1d37e5ea
-1, 246278, 6384, 0x917b4707
-0, 246510, 535680, 0x7eae7692
-1, 249270, 6384, 0x8671b28e
-0, 249480, 535680, 0xf452e4b9
-1, 252263, 6384, 0x9a1238fa
-0, 252450, 535680, 0x1460e7e9
-1, 255255, 6496, 0x23b8f8ca
-0, 255420, 535680, 0xc6d8a638
-1, 258300, 6384, 0x3903bcd6
-0, 258390, 535680, 0x854f5fb0
-1, 261293, 6384, 0x0532b267
-0, 261360, 535680, 0x854f5fb0
-1, 264285, 6384, 0xde931220
-0, 264330, 535680, 0x70a02d87
-1, 267278, 6384, 0x4ed70a80
-0, 267300, 535680, 0x9a4ad464
-0, 270270, 535680, 0x9a4ad464
-1, 270270, 6496, 0x4a52d5a1
-0, 273240, 535680, 0x9a4ad464
-1, 273315, 6384, 0xc1be5760
-0, 276210, 535680, 0x9a4ad464
-1, 276308, 6384, 0x790d69ba
-0, 279180, 535680, 0x9a4ad464
-1, 279300, 6384, 0x9d73e6cf
-0, 282150, 535680, 0x9a4ad464
-1, 282293, 6272, 0xbc0fc725
+#tb 0: 33/1000
+#tb 1: 1/48000
+0, 0, 0, 1, 535680, 0x889c32cf
+1, 0, 0, 1624, 6496, 0x00000000
+0, 1, 1, 1, 535680, 0x0b1ef044
+1, 1624, 1624, 1596, 6384, 0x00000000
+0, 2, 2, 1, 535680, 0xa7d0818b
+1, 3220, 3220, 1596, 6384, 0x00000000
+0, 3, 3, 1, 535680, 0xf392e4e1
+1, 4816, 4816, 1596, 6384, 0x00000000
+0, 4, 4, 1, 535680, 0x08480c69
+1, 6412, 6412, 1596, 6384, 0x00000000
+0, 5, 5, 1, 535680, 0x2b8af1ed
+1, 8008, 8008, 1624, 6496, 0xe2034d04
+0, 6, 6, 1, 535680, 0x0d58e062
+1, 9632, 9632, 1596, 6384, 0x089c9157
+0, 7, 7, 1, 535680, 0xd140ced0
+1, 11228, 11228, 1596, 6384, 0xeed5743c
+0, 8, 8, 1, 535680, 0xbd0e6652
+1, 12824, 12824, 1596, 6384, 0x71de6b34
+0, 9, 9, 1, 535680, 0xdc2f2a6b
+1, 14420, 14420, 1596, 6384, 0xc0d67710
+0, 10, 10, 1, 535680, 0x97c31a38
+1, 16016, 16016, 1624, 6496, 0x35786490
+0, 11, 11, 1, 535680, 0x1a2bdf38
+1, 17640, 17640, 1596, 6384, 0xdf1c99a2
+0, 12, 12, 1, 535680, 0xb3af3ac4
+1, 19236, 19236, 1596, 6384, 0xca9591ad
+0, 13, 13, 1, 535680, 0x07a52577
+1, 20832, 20832, 1596, 6384, 0x6f0d9c3d
+0, 14, 14, 1, 535680, 0x78407368
+1, 22428, 22428, 1596, 6384, 0xfacbbaee
+0, 15, 15, 1, 535680, 0xd2a9efc3
+1, 24024, 24024, 1624, 6496, 0x927fb136
+0, 16, 16, 1, 535680, 0x36df2f29
+1, 25648, 25648, 1596, 6384, 0x9d4f2572
+0, 17, 17, 1, 535680, 0x9821d8f7
+1, 27244, 27244, 1596, 6384, 0x2a3c6d08
+0, 18, 18, 1, 535680, 0xf64321aa
+1, 28840, 28840, 1596, 6384, 0x4282b1e0
+0, 19, 19, 1, 535680, 0x53e4d9aa
+1, 30436, 30436, 1596, 6384, 0xc4a77b9f
+0, 20, 20, 1, 535680, 0xdbd6f853
+1, 32032, 32032, 1624, 6496, 0x2af6a14f
+0, 21, 21, 1, 535680, 0x5d40cf8b
+1, 33656, 33656, 1596, 6384, 0x4d734169
+0, 22, 22, 1, 535680, 0xe624af9d
+1, 35252, 35252, 1596, 6384, 0xb91b5865
+0, 23, 23, 1, 535680, 0xd9dbb4cd
+1, 36848, 36848, 1596, 6384, 0x9dce2417
+0, 24, 24, 1, 535680, 0xf14e72ec
+1, 38444, 38444, 1596, 6384, 0xb7c4e1ce
+0, 25, 25, 1, 535680, 0xb35c18f6
+1, 40040, 40040, 1624, 6496, 0xef0dc07a
+0, 26, 26, 1, 535680, 0xc96d7757
+1, 41664, 41664, 1596, 6384, 0x4ad21d10
+0, 27, 27, 1, 535680, 0xdfb937df
+1, 43260, 43260, 1596, 6384, 0xcfe14682
+0, 28, 28, 1, 535680, 0x40cd71d7
+1, 44856, 44856, 1596, 6384, 0x07be48eb
+0, 29, 29, 1, 535680, 0x15e176d6
+1, 46452, 46452, 1596, 6384, 0x09de3498
+0, 30, 30, 1, 535680, 0x7f891b24
+1, 48048, 48048, 1624, 6496, 0xab2e9686
+0, 31, 31, 1, 535680, 0xb87a8c32
+1, 49672, 49672, 1596, 6384, 0x3aba3ccc
+0, 32, 32, 1, 535680, 0x0c01541f
+1, 51268, 51268, 1596, 6384, 0x0a905ec3
+0, 33, 33, 1, 535680, 0x9eee99b3
+1, 52864, 52864, 1596, 6384, 0x76a93ce4
+0, 34, 34, 1, 535680, 0xd65eb689
+1, 54460, 54460, 1596, 6384, 0xa99063a4
+0, 35, 35, 1, 535680, 0x6e733cfa
+1, 56056, 56056, 1624, 6496, 0xc16bb88d
+0, 36, 36, 1, 535680, 0xac536670
+1, 57680, 57680, 1596, 6384, 0x650379bf
+0, 37, 37, 1, 535680, 0x002275b8
+1, 59276, 59276, 1596, 6384, 0x4e0749fe
+0, 38, 38, 1, 535680, 0x6a5385cb
+1, 60872, 60872, 1596, 6384, 0x778e8d12
+0, 39, 39, 1, 535680, 0xd129ade3
+1, 62468, 62468, 1596, 6384, 0x9fa8c494
+0, 40, 40, 1, 535680, 0x32cab5d7
+1, 64064, 64064, 1624, 6496, 0x61d5bead
+0, 41, 41, 1, 535680, 0x08be1c8f
+1, 65688, 65688, 1596, 6384, 0x4da9bc3c
+0, 42, 42, 1, 535680, 0x59e1fba0
+1, 67284, 67284, 1596, 6384, 0xa72b6f93
+0, 43, 43, 1, 535680, 0x138aee3a
+1, 68880, 68880, 1596, 6384, 0x811f5f77
+0, 44, 44, 1, 535680, 0x4cfbcd5e
+1, 70476, 70476, 1596, 6384, 0x83ea5e3d
+0, 45, 45, 1, 535680, 0xf6cf0fb4
+1, 72072, 72072, 1624, 6496, 0x78bab460
+0, 46, 46, 1, 535680, 0xb13a06de
+1, 73696, 73696, 1596, 6384, 0xc9a07432
+0, 47, 47, 1, 535680, 0x59176f00
+1, 75292, 75292, 1596, 6384, 0x4b4f2a34
+0, 48, 48, 1, 535680, 0xf84b4ca3
+1, 76888, 76888, 1596, 6384, 0x4d707a53
+0, 49, 49, 1, 535680, 0x7fd09f73
+1, 78484, 78484, 1596, 6384, 0x703efb60
+0, 50, 50, 1, 535680, 0x3be383b8
+1, 80080, 80080, 1624, 6496, 0x319a77bb
+0, 51, 51, 1, 535680, 0xa7118e51
+1, 81704, 81704, 1596, 6384, 0xbdfd82ec
+0, 52, 52, 1, 535680, 0xbd83120c
+1, 83300, 83300, 1596, 6384, 0x413c3503
+0, 53, 53, 1, 535680, 0x3bc9d256
+1, 84896, 84896, 1596, 6384, 0xe6e666b3
+0, 54, 54, 1, 535680, 0xb6c87f87
+1, 86492, 86492, 1596, 6384, 0xa09c7342
+0, 55, 55, 1, 535680, 0xe80d110a
+1, 88088, 88088, 1624, 6496, 0x60cba846
+0, 56, 56, 1, 535680, 0xb3a83362
+1, 89712, 89712, 1596, 6384, 0x0ba34308
+0, 57, 57, 1, 535680, 0xfb39eb52
+1, 91308, 91308, 1596, 6384, 0xdc3a65f0
+0, 58, 58, 1, 535680, 0xbf6e1220
+1, 92904, 92904, 1596, 6384, 0x1ebf9dc4
+0, 59, 59, 1, 535680, 0x9ecdfbae
+1, 94500, 94500, 1596, 6384, 0xbbcb1449
+0, 60, 60, 1, 535680, 0x069a65f5
+1, 96096, 96096, 1624, 6496, 0x926574eb
+0, 61, 61, 1, 535680, 0x206e372c
+1, 97720, 97720, 1596, 6384, 0xb4da92f1
+0, 62, 62, 1, 535680, 0x58c83dd4
+1, 99316, 99316, 1596, 6384, 0xdbbd21e0
+0, 63, 63, 1, 535680, 0xc3562b03
+1, 100912, 100912, 1596, 6384, 0x08510eff
+0, 64, 64, 1, 535680, 0xd1ed85a0
+1, 102508, 102508, 1596, 6384, 0x9534b7ca
+0, 65, 65, 1, 535680, 0xb6205f4b
+1, 104104, 104104, 1624, 6496, 0x50a5ed30
+0, 66, 66, 1, 535680, 0xaedf8bfa
+1, 105728, 105728, 1596, 6384, 0xf5ac2f7c
+0, 67, 67, 1, 535680, 0xa48d5dea
+1, 107324, 107324, 1596, 6384, 0x4fe1fa55
+0, 68, 68, 1, 535680, 0xff82e7c1
+1, 108920, 108920, 1596, 6384, 0xd61c4c05
+0, 69, 69, 1, 535680, 0xc9560222
+1, 110516, 110516, 1596, 6384, 0x56d11b45
+0, 70, 70, 1, 535680, 0x0fafa549
+1, 112112, 112112, 1624, 6496, 0x3906084b
+0, 71, 71, 1, 535680, 0x8d556ccb
+1, 113736, 113736, 1596, 6384, 0x1ef31fed
+0, 72, 72, 1, 535680, 0x802aac1f
+1, 115332, 115332, 1596, 6384, 0x58ed82f5
+0, 73, 73, 1, 535680, 0x7d0fa168
+1, 116928, 116928, 1596, 6384, 0xb31ccd1f
+0, 74, 74, 1, 535680, 0x1a9255c9
+1, 118524, 118524, 1596, 6384, 0xfb648285
+0, 75, 75, 1, 535680, 0xb4ec7e35
+1, 120120, 120120, 1624, 6496, 0xfae2950b
+0, 76, 76, 1, 535680, 0x48fac072
+1, 121744, 121744, 1596, 6384, 0xe28c8357
+0, 77, 77, 1, 535680, 0x1e260135
+1, 123340, 123340, 1596, 6384, 0xda718e60
+0, 78, 78, 1, 535680, 0xce4d5079
+1, 124936, 124936, 1596, 6384, 0x27516999
+0, 79, 79, 1, 535680, 0x13e5e4ed
+1, 126532, 126532, 1596, 6384, 0x0ba07921
+0, 80, 80, 1, 535680, 0x592305ec
+1, 128128, 128128, 1624, 6496, 0xcfbecfab
+0, 81, 81, 1, 535680, 0x9e227508
+1, 129752, 129752, 1596, 6384, 0xae4cedcd
+0, 82, 82, 1, 535680, 0x1d37e5ea
+1, 131348, 131348, 1596, 6384, 0x917b4707
+0, 83, 83, 1, 535680, 0x7eae7692
+1, 132944, 132944, 1596, 6384, 0x8671b28e
+0, 84, 84, 1, 535680, 0xf452e4b9
+1, 134540, 134540, 1596, 6384, 0x9a1238fa
+0, 85, 85, 1, 535680, 0x1460e7e9
+1, 136136, 136136, 1624, 6496, 0x23b8f8ca
+0, 86, 86, 1, 535680, 0xc6d8a638
+1, 137760, 137760, 1596, 6384, 0x3903bcd6
+0, 87, 87, 1, 535680, 0x854f5fb0
+1, 139356, 139356, 1596, 6384, 0x0532b267
+0, 88, 88, 1, 535680, 0x854f5fb0
+1, 140952, 140952, 1596, 6384, 0xde931220
+0, 89, 89, 1, 535680, 0x70a02d87
+1, 142548, 142548, 1596, 6384, 0x4ed70a80
+0, 90, 90, 1, 535680, 0x9a4ad464
+0, 91, 91, 1, 535680, 0x9a4ad464
+1, 144144, 144144, 1624, 6496, 0x4a52d5a1
+0, 92, 92, 1, 535680, 0x9a4ad464
+1, 145768, 145768, 1596, 6384, 0xc1be5760
+0, 93, 93, 1, 535680, 0x9a4ad464
+1, 147364, 147364, 1596, 6384, 0x790d69ba
+0, 94, 94, 1, 535680, 0x9a4ad464
+1, 148960, 148960, 1596, 6384, 0x9d73e6cf
+0, 95, 95, 1, 535680, 0x9a4ad464
+1, 150556, 150556, 1568, 6272, 0xbc0fc725
diff --git a/tests/ref/fate/adpcm-ea-tqi b/tests/ref/fate/adpcm-ea-tqi
index 4fbc117070..fc6fe149a1 100644
--- a/tests/ref/fate/adpcm-ea-tqi
+++ b/tests/ref/fate/adpcm-ea-tqi
@@ -1,51 +1,53 @@
-0, 0, 115200, 0x375ec573
-1, 0, 5936, 0x00000000
-0, 6000, 115200, 0x375ec573
-1, 6057, 5824, 0x00000000
-0, 12000, 115200, 0x375ec573
-1, 12000, 5936, 0x00000000
-0, 18000, 115200, 0x375ec573
-1, 18057, 5824, 0x00000000
-0, 24000, 115200, 0x375ec573
-1, 24000, 5936, 0x00000000
-0, 30000, 115200, 0x375ec573
-1, 30057, 5824, 0x00000000
-0, 36000, 115200, 0x375ec573
-1, 36000, 5936, 0x00000000
-0, 42000, 115200, 0x375ec573
-1, 42057, 5824, 0x0f06f5bb
-0, 48000, 115200, 0x0b4d31bf
-1, 48000, 5936, 0xb0dbfc46
-0, 54000, 115200, 0xdd724598
-1, 54057, 5824, 0x9daa9f9c
-0, 60000, 115200, 0xc3077e75
-1, 60000, 5936, 0x61400d2f
-0, 66000, 115200, 0xbf70778a
-1, 66057, 5824, 0x34a5b0e3
-0, 72000, 115200, 0x117eb766
-1, 72000, 5936, 0x6e546f72
-0, 78000, 115200, 0x4617fbad
-1, 78057, 5824, 0x4f093b35
-0, 84000, 115200, 0x5f5b02d2
-1, 84000, 5936, 0x95b5b599
-0, 90000, 115200, 0x2a9c5325
-1, 90057, 5824, 0x75e15e60
-0, 96000, 115200, 0x14a89e2a
-1, 96000, 5936, 0xd1077d39
-0, 102000, 115200, 0xe69aa994
-1, 102057, 5824, 0x956e21ca
-0, 108000, 115200, 0xfbacf589
-1, 108000, 5936, 0x33bac234
-0, 114000, 115200, 0x1d714c6e
-1, 114057, 5824, 0x5df37824
-0, 120000, 115200, 0x6eff66cb
-1, 120000, 5936, 0xc174af24
-0, 126000, 115200, 0xee21c1cb
-1, 126057, 5824, 0xe5dc2159
-0, 132000, 115200, 0xce714ada
-1, 132000, 5936, 0x63ffc8b1
-0, 138000, 115200, 0xf89d56c3
-1, 138057, 5824, 0xefe4c365
-0, 144000, 115200, 0x65fd5e60
-1, 144000, 5936, 0x2174304d
-0, 150000, 115200, 0x0c256424
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 115200, 0x375ec573
+1, 0, 0, 1484, 5936, 0x00000000
+0, 1, 1, 1, 115200, 0x375ec573
+1, 1484, 1484, 1456, 5824, 0x00000000
+0, 2, 2, 1, 115200, 0x375ec573
+1, 2940, 2940, 1484, 5936, 0x00000000
+0, 3, 3, 1, 115200, 0x375ec573
+1, 4424, 4424, 1456, 5824, 0x00000000
+0, 4, 4, 1, 115200, 0x375ec573
+1, 5880, 5880, 1484, 5936, 0x00000000
+0, 5, 5, 1, 115200, 0x375ec573
+1, 7364, 7364, 1456, 5824, 0x00000000
+0, 6, 6, 1, 115200, 0x375ec573
+1, 8820, 8820, 1484, 5936, 0x00000000
+0, 7, 7, 1, 115200, 0x375ec573
+1, 10304, 10304, 1456, 5824, 0x0f06f5bb
+0, 8, 8, 1, 115200, 0x0b4d31bf
+1, 11760, 11760, 1484, 5936, 0xb0dbfc46
+0, 9, 9, 1, 115200, 0xdd724598
+1, 13244, 13244, 1456, 5824, 0x9daa9f9c
+0, 10, 10, 1, 115200, 0xc3077e75
+1, 14700, 14700, 1484, 5936, 0x61400d2f
+0, 11, 11, 1, 115200, 0xbf70778a
+1, 16184, 16184, 1456, 5824, 0x34a5b0e3
+0, 12, 12, 1, 115200, 0x117eb766
+1, 17640, 17640, 1484, 5936, 0x6e546f72
+0, 13, 13, 1, 115200, 0x4617fbad
+1, 19124, 19124, 1456, 5824, 0x4f093b35
+0, 14, 14, 1, 115200, 0x5f5b02d2
+1, 20580, 20580, 1484, 5936, 0x95b5b599
+0, 15, 15, 1, 115200, 0x2a9c5325
+1, 22064, 22064, 1456, 5824, 0x75e15e60
+0, 16, 16, 1, 115200, 0x14a89e2a
+1, 23520, 23520, 1484, 5936, 0xd1077d39
+0, 17, 17, 1, 115200, 0xe69aa994
+1, 25004, 25004, 1456, 5824, 0x956e21ca
+0, 18, 18, 1, 115200, 0xfbacf589
+1, 26460, 26460, 1484, 5936, 0x33bac234
+0, 19, 19, 1, 115200, 0x1d714c6e
+1, 27944, 27944, 1456, 5824, 0x5df37824
+0, 20, 20, 1, 115200, 0x6eff66cb
+1, 29400, 29400, 1484, 5936, 0xc174af24
+0, 21, 21, 1, 115200, 0xee21c1cb
+1, 30884, 30884, 1456, 5824, 0xe5dc2159
+0, 22, 22, 1, 115200, 0xce714ada
+1, 32340, 32340, 1484, 5936, 0x63ffc8b1
+0, 23, 23, 1, 115200, 0xf89d56c3
+1, 33824, 33824, 1456, 5824, 0xefe4c365
+0, 24, 24, 1, 115200, 0x65fd5e60
+1, 35280, 35280, 1484, 5936, 0x2174304d
+0, 25, 25, 1, 115200, 0x0c256424
diff --git a/tests/ref/fate/adpcm-psx-str-v3 b/tests/ref/fate/adpcm-psx-str-v3
index ee0c3543d3..04be2b9067 100644
--- a/tests/ref/fate/adpcm-psx-str-v3
+++ b/tests/ref/fate/adpcm-psx-str-v3
@@ -1,37 +1,38 @@
-0, 0, 8064, 0xa307ed8c
-0, 4800, 8064, 0xd2551927
-0, 9600, 8064, 0x3264a799
-0, 14400, 8064, 0x75da1393
-0, 19200, 8064, 0x68665f59
-0, 24000, 8064, 0xaf266a18
-0, 28800, 8064, 0x4d4b69fd
-0, 33600, 8064, 0x129d7e17
-0, 38400, 8064, 0x78c56725
-0, 43200, 8064, 0x59902cf1
-0, 48000, 8064, 0x6e699c87
-0, 52800, 8064, 0xc30692d7
-0, 57600, 8064, 0x29c043e5
-0, 62400, 8064, 0x61907704
-0, 67200, 8064, 0xf9210630
-0, 72000, 8064, 0xc0bdda08
-0, 76800, 8064, 0x6171b96d
-0, 81600, 8064, 0x082947cf
-0, 86400, 8064, 0xf7bbf1ce
-0, 91200, 8064, 0xe50e4436
-0, 96000, 8064, 0x2a860844
-0, 100800, 8064, 0xedcb502c
-0, 105600, 8064, 0x448e3c7f
-0, 110400, 8064, 0xf782f366
-0, 115200, 8064, 0xf57f66a5
-0, 120000, 8064, 0xdcc36939
-0, 124800, 8064, 0x34959d99
-0, 129600, 8064, 0xa5c20433
-0, 134400, 8064, 0xf1364e9b
-0, 139200, 8064, 0x232fe9c7
-0, 144000, 8064, 0xdc068d5a
-0, 148800, 8064, 0x4962e812
-0, 153600, 8064, 0x36a6709b
-0, 158400, 8064, 0xa2837bd8
-0, 163200, 8064, 0x68612ddb
-0, 168000, 8064, 0x8d76d1cb
-0, 172800, 8064, 0x7707cfc7
+#tb 0: 1/37800
+0, 0, 0, 2016, 8064, 0xa307ed8c
+0, 2016, 2016, 2016, 8064, 0xd2551927
+0, 4032, 4032, 2016, 8064, 0x3264a799
+0, 6048, 6048, 2016, 8064, 0x75da1393
+0, 8064, 8064, 2016, 8064, 0x68665f59
+0, 10080, 10080, 2016, 8064, 0xaf266a18
+0, 12096, 12096, 2016, 8064, 0x4d4b69fd
+0, 14112, 14112, 2016, 8064, 0x129d7e17
+0, 16128, 16128, 2016, 8064, 0x78c56725
+0, 18144, 18144, 2016, 8064, 0x59902cf1
+0, 20160, 20160, 2016, 8064, 0x6e699c87
+0, 22176, 22176, 2016, 8064, 0xc30692d7
+0, 24192, 24192, 2016, 8064, 0x29c043e5
+0, 26208, 26208, 2016, 8064, 0x61907704
+0, 28224, 28224, 2016, 8064, 0xf9210630
+0, 30240, 30240, 2016, 8064, 0xc0bdda08
+0, 32256, 32256, 2016, 8064, 0x6171b96d
+0, 34272, 34272, 2016, 8064, 0x082947cf
+0, 36288, 36288, 2016, 8064, 0xf7bbf1ce
+0, 38304, 38304, 2016, 8064, 0xe50e4436
+0, 40320, 40320, 2016, 8064, 0x2a860844
+0, 42336, 42336, 2016, 8064, 0xedcb502c
+0, 44352, 44352, 2016, 8064, 0x448e3c7f
+0, 46368, 46368, 2016, 8064, 0xf782f366
+0, 48384, 48384, 2016, 8064, 0xf57f66a5
+0, 50400, 50400, 2016, 8064, 0xdcc36939
+0, 52416, 52416, 2016, 8064, 0x34959d99
+0, 54432, 54432, 2016, 8064, 0xa5c20433
+0, 56448, 56448, 2016, 8064, 0xf1364e9b
+0, 58464, 58464, 2016, 8064, 0x232fe9c7
+0, 60480, 60480, 2016, 8064, 0xdc068d5a
+0, 62496, 62496, 2016, 8064, 0x4962e812
+0, 64512, 64512, 2016, 8064, 0x36a6709b
+0, 66528, 66528, 2016, 8064, 0xa2837bd8
+0, 68544, 68544, 2016, 8064, 0x68612ddb
+0, 70560, 70560, 2016, 8064, 0x8d76d1cb
+0, 72576, 72576, 2016, 8064, 0x7707cfc7
diff --git a/tests/ref/fate/adpcm-thp b/tests/ref/fate/adpcm-thp
index b1046d8df5..135de54910 100644
--- a/tests/ref/fate/adpcm-thp
+++ b/tests/ref/fate/adpcm-thp
@@ -1,143 +1,145 @@
-0, 0, 291840, 0xbd7e0b22
-1, 0, 4312, 0x469714f6
-0, 3003, 291840, 0xf6e12ca5
-1, 3032, 4256, 0xe03dd882
-0, 6006, 291840, 0x528c7049
-1, 6024, 4312, 0x46b901f7
-0, 9009, 291840, 0x93055de9
-1, 9056, 4256, 0x8d4a54e4
-0, 12012, 291840, 0xf95a51c1
-1, 12049, 4256, 0xfd616b67
-0, 15015, 291840, 0x6ad3a65a
-1, 15041, 4312, 0xefe62302
-0, 18018, 291840, 0x494684a7
-1, 18073, 4256, 0xab11684e
-0, 21021, 291840, 0x74c14eb1
-1, 21066, 4256, 0xb4b3feb8
-0, 24024, 291840, 0x149fcb7e
-1, 24058, 4312, 0x71db6461
-0, 27027, 291840, 0x25649761
-1, 27090, 4256, 0x090e5efa
-0, 30030, 291840, 0xbc3f9052
-1, 30083, 4256, 0x36f49c28
-0, 33033, 291840, 0x080edfff
-1, 33075, 4312, 0x0fe3d262
-0, 36036, 291840, 0x6d7ad684
-1, 36107, 4256, 0x199ce269
-0, 39039, 291840, 0x6d53844d
-1, 39099, 4256, 0x98342d05
-0, 42042, 291840, 0xf7ad5385
-1, 42092, 4312, 0xb6fb7ebe
-0, 45045, 291840, 0x0241b56a
-1, 45124, 4256, 0x033dd562
-0, 48048, 291840, 0x120122c8
-1, 48116, 4256, 0xc2cc17e0
-0, 51051, 291840, 0x31b0f32a
-1, 51109, 4312, 0x4bb3ff50
-0, 54054, 291840, 0x14068b98
-1, 54141, 4256, 0x6f2671ef
-0, 57057, 291840, 0xeeec658b
-1, 57133, 4256, 0x5a337bf4
-0, 60060, 291840, 0x9376374c
-1, 60126, 4312, 0xa71f6967
-0, 63063, 291840, 0x091e8c6e
-1, 63158, 4256, 0x48084aa9
-0, 66066, 291840, 0x744ad07f
-1, 66150, 4256, 0x3cce4218
-0, 69069, 291840, 0xf99c554e
-1, 69143, 4312, 0xcbb8f73d
-0, 72072, 291840, 0xc84bd677
-1, 72174, 4256, 0x36825021
-0, 75075, 291840, 0x3898d474
-1, 75167, 4256, 0xeae036c6
-0, 78078, 291840, 0x1e2910c8
-1, 78159, 4312, 0x0d650ac6
-0, 81081, 291840, 0xb11f58bc
-1, 81191, 4256, 0xfba4f58c
-0, 84084, 291840, 0xf89170ee
-1, 84184, 4256, 0x54311f9b
-0, 87087, 291840, 0x8f239dc3
-1, 87176, 4312, 0x286386b3
-0, 90090, 291840, 0x8538c76c
-1, 90208, 4256, 0x871896de
-0, 93093, 291840, 0x162ee66f
-1, 93201, 4256, 0x9ef9f970
-0, 96096, 291840, 0x5f8708a5
-1, 96193, 4312, 0xf9ae97f1
-0, 99099, 291840, 0x95802dfb
-1, 99225, 4256, 0x0ad0d765
-0, 102102, 291840, 0xc424630d
-1, 102218, 4256, 0x8e6aa9b5
-0, 105105, 291840, 0xfb8a8667
-1, 105210, 4312, 0x8362787b
-0, 108108, 291840, 0xbad79af5
-1, 108242, 4256, 0x9b6a5d9c
-0, 111111, 291840, 0xc733b325
-1, 111234, 4256, 0xfb715d8f
-0, 114114, 291840, 0x4bfbcd70
-1, 114227, 4312, 0x02bd8075
-0, 117117, 291840, 0x502cd950
-1, 117259, 4256, 0x428eb932
-0, 120120, 291840, 0x8461ca2c
-1, 120251, 4256, 0x17ea8c94
-0, 123123, 291840, 0x00219b0d
-1, 123244, 4312, 0xb3e761d7
-0, 126126, 291840, 0xa4de45e1
-1, 126276, 4256, 0x0919755a
-0, 129129, 291840, 0xacd3f4df
-1, 129268, 4256, 0x5e520edd
-0, 132132, 291840, 0x2203a369
-1, 132261, 4312, 0x69aa070e
-0, 135135, 291840, 0x0a66effa
-1, 135293, 4256, 0xf8192f7d
-0, 138138, 291840, 0x7ac1fd91
-1, 138285, 4256, 0xaad4475c
-0, 141141, 291840, 0x84970aa7
-1, 141278, 4312, 0x0cabcfcb
-0, 144144, 291840, 0x569d145f
-1, 144309, 4256, 0x952f0f96
-0, 147147, 291840, 0xe51efe1b
-1, 147302, 4256, 0x1b805a0c
-0, 150150, 291840, 0x38e2cd78
-1, 150294, 4312, 0x93043d2a
-0, 153153, 291840, 0x93428ea2
-1, 153326, 4256, 0x38b99e44
-0, 156156, 291840, 0x3d3f5b17
-1, 156319, 4256, 0x60cc52ff
-0, 159159, 291840, 0x9546127d
-1, 159311, 4312, 0x6a875849
-0, 162162, 291840, 0x4178be54
-1, 162343, 4256, 0xd08d6d0e
-0, 165165, 291840, 0x0d0f8036
-1, 165336, 4256, 0x36bfe48e
-0, 168168, 291840, 0xc20557b9
-1, 168328, 4312, 0x795c6134
-0, 171171, 291840, 0x6d4b2d64
-1, 171360, 4256, 0x4fd79583
-0, 174174, 291840, 0xa750125d
-1, 174353, 4256, 0x65e2ab9f
-0, 177177, 291840, 0x04623ce3
-1, 177345, 4312, 0xedeede4a
-0, 180180, 291840, 0xc7f2bbc7
-1, 180377, 4256, 0x097e0d09
-0, 183183, 291840, 0x6e271336
-1, 183369, 4256, 0x58afa133
-0, 186186, 291840, 0xcfbd4246
-1, 186362, 4312, 0x442525b5
-0, 189189, 291840, 0xe1493be9
-1, 189394, 4256, 0x6645c591
-0, 192192, 291840, 0x6c731194
-1, 192386, 4256, 0xb0dd948a
-0, 195195, 291840, 0x0fc30cc2
-1, 195379, 4312, 0x12684e69
-0, 198198, 291840, 0x967427f3
-1, 198411, 4256, 0xb45098e3
-0, 201201, 291840, 0x55ae3b00
-1, 201403, 4256, 0xb6d3c61c
-0, 204204, 291840, 0xbe4f200c
-1, 204396, 4312, 0xb46b5b22
-0, 207207, 291840, 0xc515e443
-1, 207428, 4256, 0x9a556830
-0, 210210, 291840, 0xd738bd69
-1, 210420, 4256, 0x67ca2b35
-0, 213213, 291840, 0xa8e0ab69
+#tb 0: 524288/15712911
+#tb 1: 1/32000
+0, 0, 0, 1, 291840, 0xbd7e0b22
+1, 0, 0, 1078, 4312, 0x469714f6
+0, 1, 1, 1, 291840, 0xf6e12ca5
+1, 1078, 1078, 1064, 4256, 0xe03dd882
+0, 2, 2, 1, 291840, 0x528c7049
+1, 2142, 2142, 1078, 4312, 0x46b901f7
+0, 3, 3, 1, 291840, 0x93055de9
+1, 3220, 3220, 1064, 4256, 0x8d4a54e4
+0, 4, 4, 1, 291840, 0xf95a51c1
+1, 4284, 4284, 1064, 4256, 0xfd616b67
+0, 5, 5, 1, 291840, 0x6ad3a65a
+1, 5348, 5348, 1078, 4312, 0xefe62302
+0, 6, 6, 1, 291840, 0x494684a7
+1, 6426, 6426, 1064, 4256, 0xab11684e
+0, 7, 7, 1, 291840, 0x74c14eb1
+1, 7490, 7490, 1064, 4256, 0xb4b3feb8
+0, 8, 8, 1, 291840, 0x149fcb7e
+1, 8554, 8554, 1078, 4312, 0x71db6461
+0, 9, 9, 1, 291840, 0x25649761
+1, 9632, 9632, 1064, 4256, 0x090e5efa
+0, 10, 10, 1, 291840, 0xbc3f9052
+1, 10696, 10696, 1064, 4256, 0x36f49c28
+0, 11, 11, 1, 291840, 0x080edfff
+1, 11760, 11760, 1078, 4312, 0x0fe3d262
+0, 12, 12, 1, 291840, 0x6d7ad684
+1, 12838, 12838, 1064, 4256, 0x199ce269
+0, 13, 13, 1, 291840, 0x6d53844d
+1, 13902, 13902, 1064, 4256, 0x98342d05
+0, 14, 14, 1, 291840, 0xf7ad5385
+1, 14966, 14966, 1078, 4312, 0xb6fb7ebe
+0, 15, 15, 1, 291840, 0x0241b56a
+1, 16044, 16044, 1064, 4256, 0x033dd562
+0, 16, 16, 1, 291840, 0x120122c8
+1, 17108, 17108, 1064, 4256, 0xc2cc17e0
+0, 17, 17, 1, 291840, 0x31b0f32a
+1, 18172, 18172, 1078, 4312, 0x4bb3ff50
+0, 18, 18, 1, 291840, 0x14068b98
+1, 19250, 19250, 1064, 4256, 0x6f2671ef
+0, 19, 19, 1, 291840, 0xeeec658b
+1, 20314, 20314, 1064, 4256, 0x5a337bf4
+0, 20, 20, 1, 291840, 0x9376374c
+1, 21378, 21378, 1078, 4312, 0xa71f6967
+0, 21, 21, 1, 291840, 0x091e8c6e
+1, 22456, 22456, 1064, 4256, 0x48084aa9
+0, 22, 22, 1, 291840, 0x744ad07f
+1, 23520, 23520, 1064, 4256, 0x3cce4218
+0, 23, 23, 1, 291840, 0xf99c554e
+1, 24584, 24584, 1078, 4312, 0xcbb8f73d
+0, 24, 24, 1, 291840, 0xc84bd677
+1, 25662, 25662, 1064, 4256, 0x36825021
+0, 25, 25, 1, 291840, 0x3898d474
+1, 26726, 26726, 1064, 4256, 0xeae036c6
+0, 26, 26, 1, 291840, 0x1e2910c8
+1, 27790, 27790, 1078, 4312, 0x0d650ac6
+0, 27, 27, 1, 291840, 0xb11f58bc
+1, 28868, 28868, 1064, 4256, 0xfba4f58c
+0, 28, 28, 1, 291840, 0xf89170ee
+1, 29932, 29932, 1064, 4256, 0x54311f9b
+0, 29, 29, 1, 291840, 0x8f239dc3
+1, 30996, 30996, 1078, 4312, 0x286386b3
+0, 30, 30, 1, 291840, 0x8538c76c
+1, 32074, 32074, 1064, 4256, 0x871896de
+0, 31, 31, 1, 291840, 0x162ee66f
+1, 33138, 33138, 1064, 4256, 0x9ef9f970
+0, 32, 32, 1, 291840, 0x5f8708a5
+1, 34202, 34202, 1078, 4312, 0xf9ae97f1
+0, 33, 33, 1, 291840, 0x95802dfb
+1, 35280, 35280, 1064, 4256, 0x0ad0d765
+0, 34, 34, 1, 291840, 0xc424630d
+1, 36344, 36344, 1064, 4256, 0x8e6aa9b5
+0, 35, 35, 1, 291840, 0xfb8a8667
+1, 37408, 37408, 1078, 4312, 0x8362787b
+0, 36, 36, 1, 291840, 0xbad79af5
+1, 38486, 38486, 1064, 4256, 0x9b6a5d9c
+0, 37, 37, 1, 291840, 0xc733b325
+1, 39550, 39550, 1064, 4256, 0xfb715d8f
+0, 38, 38, 1, 291840, 0x4bfbcd70
+1, 40614, 40614, 1078, 4312, 0x02bd8075
+0, 39, 39, 1, 291840, 0x502cd950
+1, 41692, 41692, 1064, 4256, 0x428eb932
+0, 40, 40, 1, 291840, 0x8461ca2c
+1, 42756, 42756, 1064, 4256, 0x17ea8c94
+0, 41, 41, 1, 291840, 0x00219b0d
+1, 43820, 43820, 1078, 4312, 0xb3e761d7
+0, 42, 42, 1, 291840, 0xa4de45e1
+1, 44898, 44898, 1064, 4256, 0x0919755a
+0, 43, 43, 1, 291840, 0xacd3f4df
+1, 45962, 45962, 1064, 4256, 0x5e520edd
+0, 44, 44, 1, 291840, 0x2203a369
+1, 47026, 47026, 1078, 4312, 0x69aa070e
+0, 45, 45, 1, 291840, 0x0a66effa
+1, 48104, 48104, 1064, 4256, 0xf8192f7d
+0, 46, 46, 1, 291840, 0x7ac1fd91
+1, 49168, 49168, 1064, 4256, 0xaad4475c
+0, 47, 47, 1, 291840, 0x84970aa7
+1, 50232, 50232, 1078, 4312, 0x0cabcfcb
+0, 48, 48, 1, 291840, 0x569d145f
+1, 51310, 51310, 1064, 4256, 0x952f0f96
+0, 49, 49, 1, 291840, 0xe51efe1b
+1, 52374, 52374, 1064, 4256, 0x1b805a0c
+0, 50, 50, 1, 291840, 0x38e2cd78
+1, 53438, 53438, 1078, 4312, 0x93043d2a
+0, 51, 51, 1, 291840, 0x93428ea2
+1, 54516, 54516, 1064, 4256, 0x38b99e44
+0, 52, 52, 1, 291840, 0x3d3f5b17
+1, 55580, 55580, 1064, 4256, 0x60cc52ff
+0, 53, 53, 1, 291840, 0x9546127d
+1, 56644, 56644, 1078, 4312, 0x6a875849
+0, 54, 54, 1, 291840, 0x4178be54
+1, 57722, 57722, 1064, 4256, 0xd08d6d0e
+0, 55, 55, 1, 291840, 0x0d0f8036
+1, 58786, 58786, 1064, 4256, 0x36bfe48e
+0, 56, 56, 1, 291840, 0xc20557b9
+1, 59850, 59850, 1078, 4312, 0x795c6134
+0, 57, 57, 1, 291840, 0x6d4b2d64
+1, 60928, 60928, 1064, 4256, 0x4fd79583
+0, 58, 58, 1, 291840, 0xa750125d
+1, 61992, 61992, 1064, 4256, 0x65e2ab9f
+0, 59, 59, 1, 291840, 0x04623ce3
+1, 63056, 63056, 1078, 4312, 0xedeede4a
+0, 60, 60, 1, 291840, 0xc7f2bbc7
+1, 64134, 64134, 1064, 4256, 0x097e0d09
+0, 61, 61, 1, 291840, 0x6e271336
+1, 65198, 65198, 1064, 4256, 0x58afa133
+0, 62, 62, 1, 291840, 0xcfbd4246
+1, 66262, 66262, 1078, 4312, 0x442525b5
+0, 63, 63, 1, 291840, 0xe1493be9
+1, 67340, 67340, 1064, 4256, 0x6645c591
+0, 64, 64, 1, 291840, 0x6c731194
+1, 68404, 68404, 1064, 4256, 0xb0dd948a
+0, 65, 65, 1, 291840, 0x0fc30cc2
+1, 69468, 69468, 1078, 4312, 0x12684e69
+0, 66, 66, 1, 291840, 0x967427f3
+1, 70546, 70546, 1064, 4256, 0xb45098e3
+0, 67, 67, 1, 291840, 0x55ae3b00
+1, 71610, 71610, 1064, 4256, 0xb6d3c61c
+0, 68, 68, 1, 291840, 0xbe4f200c
+1, 72674, 72674, 1078, 4312, 0xb46b5b22
+0, 69, 69, 1, 291840, 0xc515e443
+1, 73752, 73752, 1064, 4256, 0x9a556830
+0, 70, 70, 1, 291840, 0xd738bd69
+1, 74816, 74816, 1064, 4256, 0x67ca2b35
+0, 71, 71, 1, 291840, 0xa8e0ab69
diff --git a/tests/ref/fate/alg-mm b/tests/ref/fate/alg-mm
index 6e245ac091..5d97de9b92 100644
--- a/tests/ref/fate/alg-mm
+++ b/tests/ref/fate/alg-mm
@@ -1,31 +1,32 @@
-0, 0, 122880, 0x4ed8123f
-0, 9000, 122880, 0xc4c35304
-0, 18000, 122880, 0xbd3015fd
-0, 27000, 122880, 0xece5dbab
-0, 36000, 122880, 0x13249f3f
-0, 45000, 122880, 0x58f75895
-0, 54000, 122880, 0xe6570f7d
-0, 63000, 122880, 0xcce88145
-0, 72000, 122880, 0x796f633c
-0, 81000, 122880, 0x182c3cd3
-0, 90000, 122880, 0x04b2513b
-0, 99000, 122880, 0x6b7e2e42
-0, 108000, 122880, 0x2fa47070
-0, 117000, 122880, 0x7142919e
-0, 126000, 122880, 0x8995337e
-0, 135000, 122880, 0x5146ca20
-0, 144000, 122880, 0x9aadb491
-0, 153000, 122880, 0x2d5b0032
-0, 162000, 122880, 0x5c7c8314
-0, 171000, 122880, 0x2ba8253c
-0, 180000, 122880, 0xd19d504b
-0, 189000, 122880, 0x4ff15fd1
-0, 198000, 122880, 0x76039f9f
-0, 207000, 122880, 0xcce84d35
-0, 216000, 122880, 0x68c5797c
-0, 225000, 122880, 0xf1da4293
-0, 234000, 122880, 0xf5f537f3
-0, 243000, 122880, 0x8d3ffa94
-0, 252000, 122880, 0x3ca9b69c
-0, 261000, 122880, 0x21187f6c
-0, 270000, 122880, 0xe5136e34
+#tb 0: 1/10
+0, 0, 0, 1, 122880, 0x4ed8123f
+0, 1, 1, 1, 122880, 0xc4c35304
+0, 2, 2, 1, 122880, 0xbd3015fd
+0, 3, 3, 1, 122880, 0xece5dbab
+0, 4, 4, 1, 122880, 0x13249f3f
+0, 5, 5, 1, 122880, 0x58f75895
+0, 6, 6, 1, 122880, 0xe6570f7d
+0, 7, 7, 1, 122880, 0xcce88145
+0, 8, 8, 1, 122880, 0x796f633c
+0, 9, 9, 1, 122880, 0x182c3cd3
+0, 10, 10, 1, 122880, 0x04b2513b
+0, 11, 11, 1, 122880, 0x6b7e2e42
+0, 12, 12, 1, 122880, 0x2fa47070
+0, 13, 13, 1, 122880, 0x7142919e
+0, 14, 14, 1, 122880, 0x8995337e
+0, 15, 15, 1, 122880, 0x5146ca20
+0, 16, 16, 1, 122880, 0x9aadb491
+0, 17, 17, 1, 122880, 0x2d5b0032
+0, 18, 18, 1, 122880, 0x5c7c8314
+0, 19, 19, 1, 122880, 0x2ba8253c
+0, 20, 20, 1, 122880, 0xd19d504b
+0, 21, 21, 1, 122880, 0x4ff15fd1
+0, 22, 22, 1, 122880, 0x76039f9f
+0, 23, 23, 1, 122880, 0xcce84d35
+0, 24, 24, 1, 122880, 0x68c5797c
+0, 25, 25, 1, 122880, 0xf1da4293
+0, 26, 26, 1, 122880, 0xf5f537f3
+0, 27, 27, 1, 122880, 0x8d3ffa94
+0, 28, 28, 1, 122880, 0x3ca9b69c
+0, 29, 29, 1, 122880, 0x21187f6c
+0, 30, 30, 1, 122880, 0xe5136e34
diff --git a/tests/ref/fate/amv b/tests/ref/fate/amv
index a8e7136ea0..405c4dfbdc 100644
--- a/tests/ref/fate/amv
+++ b/tests/ref/fate/amv
@@ -1,320 +1,322 @@
-0, 0, 28800, 0x026058a9
-1, 0, 2756, 0x0af35034
-1, 5624, 2756, 0x8462443f
-0, 5625, 28800, 0x5dc728de
-1, 11249, 2756, 0x9f493ba6
-0, 11250, 28800, 0x83e19a2c
-1, 16873, 2756, 0x634e5f06
-0, 16875, 28800, 0xb029f94a
-1, 22498, 2760, 0x51f35cd4
-0, 22500, 28800, 0x735a6b15
-0, 28125, 28800, 0xf7e9dc8b
-1, 28131, 2756, 0x011c51e5
-0, 33750, 28800, 0xa108b0cf
-1, 33755, 2756, 0x8c2c198c
-0, 39375, 28800, 0x3d11c138
-1, 39380, 2756, 0x2b4a3397
-0, 45000, 28800, 0xed23afda
-1, 45004, 2756, 0x63794f22
-0, 50625, 28800, 0x713bb2dc
-1, 50629, 2756, 0xfc363898
-0, 56250, 28800, 0x551ad51e
-1, 56253, 2756, 0x0da5486e
-0, 61875, 28800, 0x49dfcf2d
-1, 61878, 2756, 0xbae17a5f
-0, 67500, 28800, 0x6399d5b3
-1, 67502, 2760, 0xba266e1b
-0, 73125, 28800, 0x520ad812
-1, 73135, 2756, 0xdfb61002
-0, 78750, 28800, 0xc46ad9da
-1, 78759, 2756, 0x15d029da
-0, 84375, 28800, 0xe79edb9e
-1, 84384, 2756, 0x7bc82012
-0, 90000, 28800, 0xdb1acb30
-1, 90008, 2756, 0x002e6999
-0, 95625, 28800, 0x050fb669
-1, 95633, 2756, 0x96346ba6
-0, 101250, 28800, 0x096ca687
-1, 101257, 2756, 0x3d54543b
-0, 106875, 28800, 0x0054a6bd
-1, 106882, 2760, 0x601786e1
-0, 112500, 28800, 0x6d7daad2
-1, 112514, 2756, 0xf22a5793
-0, 118125, 28800, 0x9c10a9dc
-1, 118139, 2756, 0x21f54d49
-0, 123750, 28800, 0x89b1a623
-1, 123763, 2756, 0x0c6d4399
-0, 129375, 28800, 0xa0a19c3f
-1, 129388, 2756, 0x17282f8e
-0, 135000, 28800, 0x26c898ad
-1, 135012, 2756, 0xeb698f75
-0, 140625, 28800, 0x6f639dae
-1, 140637, 2756, 0x935e1de2
-0, 146250, 28800, 0xa173a9b5
-1, 146261, 2760, 0xb6fb4293
-0, 151875, 28800, 0xa309aa08
-1, 151894, 2756, 0x485053dc
-0, 157500, 28800, 0x2059b6c4
-1, 157518, 2756, 0x24c35027
-0, 163125, 28800, 0x5ae8c761
-1, 163143, 2756, 0x09f323ee
-0, 168750, 28800, 0xb780c9c5
-1, 168767, 2756, 0xbc7d58d5
-0, 174375, 28800, 0xf58ac8fe
-1, 174392, 2756, 0xaefd487c
-0, 180000, 28800, 0x9bb307e7
-1, 180016, 2756, 0xaca16cc0
-0, 185625, 28800, 0xd32c3e81
-1, 185641, 2760, 0x98a76091
-0, 191250, 28800, 0x4edd51d2
-1, 191273, 2756, 0x5d357141
-0, 196875, 28800, 0x5a88684d
-1, 196898, 2756, 0x65ea2657
-0, 202500, 28800, 0x5bd97f0e
-1, 202522, 2756, 0xb5e1334a
-0, 208125, 28800, 0x36d67843
-1, 208147, 2756, 0x32cd5d91
-0, 213750, 28800, 0x0e18781d
-1, 213771, 2756, 0xdc23722b
-0, 219375, 28800, 0xa3168807
-1, 219396, 2756, 0x2ba34684
-0, 225000, 28800, 0xa7c575b8
-1, 225020, 2756, 0xf9755ba8
-0, 230625, 28800, 0x86367c37
-1, 230645, 2760, 0x24221ddb
-0, 236250, 28800, 0xb0f79180
-1, 236278, 2756, 0xef843aa4
-0, 241875, 28800, 0x61da8c0f
-1, 241902, 2756, 0x420442fe
-0, 247500, 28800, 0x9b11948a
-1, 247527, 2756, 0x5a0933cb
-0, 253125, 28800, 0xc53d9b44
-1, 253151, 2756, 0xef5f6d61
-0, 258750, 28800, 0xdc699185
-1, 258776, 2756, 0xe57e6dc0
-0, 264375, 28800, 0x7b4f92b5
-1, 264400, 2756, 0xc0f0495a
-0, 270000, 28800, 0x40469065
-1, 270024, 2760, 0x2c3b55df
-0, 275625, 28800, 0x737ea07e
-1, 275657, 2756, 0x39c2586c
-0, 281250, 28800, 0x0db49c8b
-1, 281282, 2756, 0x7ffc46e5
-0, 286875, 28800, 0x39249f10
-1, 286906, 2756, 0xa2766664
-0, 292500, 28800, 0xc182ab99
-1, 292531, 2756, 0xacb50c6c
-0, 298125, 28800, 0xd8f7a7c9
-1, 298155, 2756, 0x7f659084
-0, 303750, 28800, 0x46789caa
-1, 303780, 2756, 0xc72e6a12
-0, 309375, 28800, 0x4759a374
-1, 309404, 2760, 0xdb6944df
-0, 315000, 28800, 0xe621b16a
-1, 315037, 2756, 0x954f45c1
-0, 320625, 28800, 0xcf47a999
-1, 320661, 2756, 0xa9484240
-0, 326250, 28800, 0x801dacd4
-1, 326286, 2756, 0x1d595349
-0, 331875, 28800, 0xe580af51
-1, 331910, 2756, 0xcf2a565e
-0, 337500, 28800, 0x03d7a887
-1, 337535, 2756, 0x391028d5
-0, 343125, 28800, 0xa67ea51d
-1, 343159, 2756, 0x348db7ad
-0, 348750, 28800, 0x9fee0ec8
-1, 348784, 2760, 0xb69b5e3a
-0, 354375, 28800, 0x7f602a5e
-1, 354416, 2756, 0xe3635fbe
-0, 360000, 28800, 0x100d432a
-1, 360041, 2756, 0xdcad3654
-0, 365625, 28800, 0x42164dfb
-1, 365665, 2756, 0x5c17abef
-0, 371250, 28800, 0x86c05196
-1, 371290, 2756, 0xb3235184
-0, 376875, 28800, 0xfc225938
-1, 376914, 2756, 0xdabb64a6
-0, 382500, 28800, 0x81085e87
-1, 382539, 2756, 0xa95dc58d
-0, 388125, 28800, 0xaa8f5d0a
-1, 388163, 2760, 0x8e7ac9eb
-0, 393750, 28800, 0x605a5f9f
-1, 393796, 2756, 0x492b658e
-0, 399375, 28800, 0x68dc64b2
-1, 399420, 2756, 0x377483ab
-0, 405000, 28800, 0xd08e710b
-1, 405045, 2756, 0x2c250279
-0, 410625, 28800, 0xf8567939
-1, 410669, 2756, 0x704dbdb3
-0, 416250, 28800, 0x8dad7a4f
-1, 416294, 2756, 0x800d7da2
-0, 421875, 28800, 0x1a19813c
-1, 421918, 2756, 0x872aa32e
-0, 427500, 28800, 0x8a157f0e
-1, 427543, 2756, 0x2d4837fe
-0, 433125, 28800, 0xa4fa7b9d
-1, 433167, 2760, 0xc89ea57e
-0, 438750, 28800, 0x093b7b36
-1, 438800, 2756, 0x6447d7ef
-0, 444375, 28800, 0xa925755b
-1, 444424, 2756, 0x144f59cc
-0, 450000, 28800, 0xa5968138
-1, 450049, 2756, 0xc667154e
-0, 455625, 28800, 0xe00877ac
-1, 455673, 2756, 0xf0de66ae
-0, 461250, 28800, 0xd736183e
-1, 461298, 2756, 0xeabf3c32
-0, 466875, 28800, 0x356f2068
-1, 466922, 2756, 0xe98e81d1
-0, 472500, 28800, 0xf9a50f22
-1, 472547, 2760, 0x56aa5889
-0, 478125, 28800, 0x92df2ae8
-1, 478180, 2756, 0x4fd34c0e
-0, 483750, 28800, 0x67a43dc8
-1, 483804, 2756, 0x67cf6912
-0, 489375, 28800, 0xf8ce2ead
-1, 489429, 2756, 0xfa944def
-0, 495000, 28800, 0xf42f37ee
-1, 495053, 2756, 0xc12f23b2
-0, 500625, 28800, 0x03611f37
-1, 500678, 2756, 0x5ea325a2
-0, 506250, 28800, 0xddda2327
-1, 506302, 2756, 0x2b245824
-0, 511875, 28800, 0xdf073d85
-1, 511927, 2760, 0x90ac533e
-0, 517500, 28800, 0xa8331fee
-1, 517559, 2756, 0xcca34d26
-0, 523125, 28800, 0x59d3490a
-1, 523184, 2756, 0xb5f820d0
-0, 528750, 28800, 0xa8335be6
-1, 528808, 2756, 0x27f24335
-0, 534375, 28800, 0xd5483b43
-1, 534433, 2756, 0x4a9e87b7
-0, 540000, 28800, 0x23422dc9
-1, 540057, 2756, 0xbd076129
-0, 545625, 28800, 0xc04e4689
-1, 545682, 2756, 0x2e0e3f2e
-0, 551250, 28800, 0xd4d96372
-1, 551306, 2760, 0xdf534478
-0, 556875, 28800, 0x9c814e96
-1, 556939, 2756, 0xca000a2e
-0, 562500, 28800, 0x7c4b5d3b
-1, 562563, 2756, 0x87472df3
-0, 568125, 28800, 0x6bf66c04
-1, 568188, 2756, 0x16733810
-0, 573750, 28800, 0x6e8d4bb6
-1, 573812, 2756, 0xfa0734b4
-0, 579375, 28800, 0xad964d00
-1, 579437, 2756, 0x5eff3fc4
-0, 585000, 28800, 0x1ff36bd1
-1, 585061, 2756, 0xf35346bd
-0, 590625, 28800, 0xa4664c76
-1, 590686, 2756, 0xac6411c5
-0, 596250, 28800, 0x50626d82
-1, 596310, 2760, 0x478c3c56
-0, 601875, 28800, 0x81906c5c
-1, 601943, 2756, 0xebd30bdd
-0, 607500, 28800, 0x5060543f
-1, 607567, 2756, 0xaef95a31
-0, 613125, 28800, 0x231c5a86
-1, 613192, 2756, 0x8aad29d1
-0, 618750, 28800, 0x79775d48
-1, 618816, 2756, 0x626863f0
-0, 624375, 28800, 0xbb893571
-1, 624441, 2756, 0x68c05707
-0, 630000, 28800, 0x794c49ed
-1, 630065, 2756, 0x437c5e8d
-0, 635625, 28800, 0x70464bac
-1, 635690, 2760, 0x8eca4bdb
-0, 641250, 28800, 0xe79549ce
-1, 641322, 2756, 0x62bd4162
-0, 646875, 28800, 0xa6565555
-1, 646947, 2756, 0x9f744aa4
-0, 652500, 28800, 0x2ef1ad6d
-1, 652571, 2756, 0x0f3f6409
-0, 658125, 28800, 0xdd22b9aa
-1, 658196, 2756, 0x3fee827a
-0, 663750, 28800, 0x26ebaa97
-1, 663820, 2756, 0x48a0ac19
-0, 669375, 28800, 0x32bd979e
-1, 669445, 2756, 0x8e4ce0d0
-0, 675000, 28800, 0x4c167c9a
-1, 675069, 2760, 0xcda82236
-0, 680625, 28800, 0xfdf76051
-1, 680702, 2756, 0x0e523255
-0, 686250, 28800, 0x966938a8
-1, 686327, 2756, 0x84103d30
-0, 691875, 28800, 0xcea3fbde
-1, 691951, 2756, 0x13941cde
-0, 697500, 28800, 0x29a0c213
-1, 697576, 2756, 0x9fc834c5
-0, 703125, 28800, 0x5633a1c2
-1, 703200, 2756, 0xc0217a77
-0, 708750, 28800, 0xdc0b9af8
-1, 708824, 2756, 0x3f643659
-0, 714375, 28800, 0x92138848
-1, 714449, 2760, 0x9dbd6002
-0, 720000, 28800, 0xd7308da5
-1, 720082, 2756, 0x94f046fb
-0, 725625, 28800, 0x0c8f9b3f
-1, 725706, 2756, 0xab01fb12
-0, 731250, 28800, 0xd059b5d1
-1, 731331, 2756, 0x04cffe5c
-0, 736875, 28800, 0xba6ed9cd
-1, 736955, 2756, 0xef661c5e
-0, 742500, 28800, 0x896c1064
-1, 742580, 2756, 0x094c5fc5
-0, 748125, 28800, 0x986e2fc9
-1, 748204, 2756, 0xe0c1486a
-0, 753750, 28800, 0xcba94e4b
-1, 753829, 2760, 0x8c3535b7
-0, 759375, 28800, 0xf3e778ed
-1, 759461, 2756, 0x594934aa
-0, 765000, 28800, 0xc6cd7d48
-1, 765086, 2756, 0x74007238
-0, 770625, 28800, 0xd9bd84d8
-1, 770710, 2756, 0x61f1394d
-0, 776250, 28800, 0x391197b4
-1, 776335, 2756, 0x72584f07
-0, 781875, 28800, 0xf361a1d9
-1, 781959, 2756, 0xced9acf9
-0, 787500, 28800, 0x9a1ea54e
-1, 787584, 2756, 0x7d2e3ea1
-0, 793125, 28800, 0x551aab57
-1, 793208, 2756, 0x56c06897
-0, 798750, 28800, 0x3af8577d
-1, 798833, 2760, 0x19983bbf
-0, 804375, 28800, 0x10f76ed0
-1, 804465, 2756, 0x4f884f27
-0, 810000, 28800, 0x026a7fde
-1, 810090, 2756, 0x81ab2f63
-0, 815625, 28800, 0x3e0e8db8
-1, 815714, 2756, 0x448e681d
-0, 821250, 28800, 0x22998d2d
-1, 821339, 2756, 0x0ba9826e
-0, 826875, 28800, 0x05978b12
-1, 826963, 2756, 0x049f36fa
-0, 832500, 28800, 0x38b88294
-1, 832588, 2756, 0x096a2b62
-0, 838125, 28800, 0x2ef677d6
-1, 838212, 2760, 0x579e2035
-0, 843750, 28800, 0x0b9a8894
-1, 843845, 2756, 0xd13e30e1
-0, 849375, 28800, 0x2dcb6718
-1, 849469, 2756, 0x30b6412b
-0, 855000, 28800, 0xa31b6679
-1, 855094, 2756, 0xbb1c3268
-0, 860625, 28800, 0x262d6a50
-1, 860718, 2756, 0xbc175b6a
-0, 866250, 28800, 0xff3d6d0d
-1, 866343, 2756, 0xf8d160e2
-0, 871875, 28800, 0x159d7045
-1, 871967, 2756, 0xc1048154
-0, 877500, 28800, 0xf0df7800
-1, 877592, 2760, 0xb83548f4
-0, 883125, 28800, 0xbe825ea5
-1, 883224, 2756, 0x22647962
-0, 888750, 28800, 0x80e25d5a
-1, 888849, 2756, 0x14ca54d3
-0, 894375, 28800, 0x8cbe263f
-1, 894473, 2756, 0x58754b3a
+#tb 0: 1/16
+#tb 1: 1/22050
+0, 0, 0, 1, 28800, 0x026058a9
+1, 0, 0, 1378, 2756, 0x0af35034
+1, 1378, 1378, 1378, 2756, 0x8462443f
+0, 1, 1, 1, 28800, 0x5dc728de
+1, 2756, 2756, 1378, 2756, 0x9f493ba6
+0, 2, 2, 1, 28800, 0x83e19a2c
+1, 4134, 4134, 1378, 2756, 0x634e5f06
+0, 3, 3, 1, 28800, 0xb029f94a
+1, 5512, 5512, 1380, 2760, 0x51f35cd4
+0, 4, 4, 1, 28800, 0x735a6b15
+0, 5, 5, 1, 28800, 0xf7e9dc8b
+1, 6892, 6892, 1378, 2756, 0x011c51e5
+0, 6, 6, 1, 28800, 0xa108b0cf
+1, 8270, 8270, 1378, 2756, 0x8c2c198c
+0, 7, 7, 1, 28800, 0x3d11c138
+1, 9648, 9648, 1378, 2756, 0x2b4a3397
+0, 8, 8, 1, 28800, 0xed23afda
+1, 11026, 11026, 1378, 2756, 0x63794f22
+0, 9, 9, 1, 28800, 0x713bb2dc
+1, 12404, 12404, 1378, 2756, 0xfc363898
+0, 10, 10, 1, 28800, 0x551ad51e
+1, 13782, 13782, 1378, 2756, 0x0da5486e
+0, 11, 11, 1, 28800, 0x49dfcf2d
+1, 15160, 15160, 1378, 2756, 0xbae17a5f
+0, 12, 12, 1, 28800, 0x6399d5b3
+1, 16538, 16538, 1380, 2760, 0xba266e1b
+0, 13, 13, 1, 28800, 0x520ad812
+1, 17918, 17918, 1378, 2756, 0xdfb61002
+0, 14, 14, 1, 28800, 0xc46ad9da
+1, 19296, 19296, 1378, 2756, 0x15d029da
+0, 15, 15, 1, 28800, 0xe79edb9e
+1, 20674, 20674, 1378, 2756, 0x7bc82012
+0, 16, 16, 1, 28800, 0xdb1acb30
+1, 22052, 22052, 1378, 2756, 0x002e6999
+0, 17, 17, 1, 28800, 0x050fb669
+1, 23430, 23430, 1378, 2756, 0x96346ba6
+0, 18, 18, 1, 28800, 0x096ca687
+1, 24808, 24808, 1378, 2756, 0x3d54543b
+0, 19, 19, 1, 28800, 0x0054a6bd
+1, 26186, 26186, 1380, 2760, 0x601786e1
+0, 20, 20, 1, 28800, 0x6d7daad2
+1, 27566, 27566, 1378, 2756, 0xf22a5793
+0, 21, 21, 1, 28800, 0x9c10a9dc
+1, 28944, 28944, 1378, 2756, 0x21f54d49
+0, 22, 22, 1, 28800, 0x89b1a623
+1, 30322, 30322, 1378, 2756, 0x0c6d4399
+0, 23, 23, 1, 28800, 0xa0a19c3f
+1, 31700, 31700, 1378, 2756, 0x17282f8e
+0, 24, 24, 1, 28800, 0x26c898ad
+1, 33078, 33078, 1378, 2756, 0xeb698f75
+0, 25, 25, 1, 28800, 0x6f639dae
+1, 34456, 34456, 1378, 2756, 0x935e1de2
+0, 26, 26, 1, 28800, 0xa173a9b5
+1, 35834, 35834, 1380, 2760, 0xb6fb4293
+0, 27, 27, 1, 28800, 0xa309aa08
+1, 37214, 37214, 1378, 2756, 0x485053dc
+0, 28, 28, 1, 28800, 0x2059b6c4
+1, 38592, 38592, 1378, 2756, 0x24c35027
+0, 29, 29, 1, 28800, 0x5ae8c761
+1, 39970, 39970, 1378, 2756, 0x09f323ee
+0, 30, 30, 1, 28800, 0xb780c9c5
+1, 41348, 41348, 1378, 2756, 0xbc7d58d5
+0, 31, 31, 1, 28800, 0xf58ac8fe
+1, 42726, 42726, 1378, 2756, 0xaefd487c
+0, 32, 32, 1, 28800, 0x9bb307e7
+1, 44104, 44104, 1378, 2756, 0xaca16cc0
+0, 33, 33, 1, 28800, 0xd32c3e81
+1, 45482, 45482, 1380, 2760, 0x98a76091
+0, 34, 34, 1, 28800, 0x4edd51d2
+1, 46862, 46862, 1378, 2756, 0x5d357141
+0, 35, 35, 1, 28800, 0x5a88684d
+1, 48240, 48240, 1378, 2756, 0x65ea2657
+0, 36, 36, 1, 28800, 0x5bd97f0e
+1, 49618, 49618, 1378, 2756, 0xb5e1334a
+0, 37, 37, 1, 28800, 0x36d67843
+1, 50996, 50996, 1378, 2756, 0x32cd5d91
+0, 38, 38, 1, 28800, 0x0e18781d
+1, 52374, 52374, 1378, 2756, 0xdc23722b
+0, 39, 39, 1, 28800, 0xa3168807
+1, 53752, 53752, 1378, 2756, 0x2ba34684
+0, 40, 40, 1, 28800, 0xa7c575b8
+1, 55130, 55130, 1378, 2756, 0xf9755ba8
+0, 41, 41, 1, 28800, 0x86367c37
+1, 56508, 56508, 1380, 2760, 0x24221ddb
+0, 42, 42, 1, 28800, 0xb0f79180
+1, 57888, 57888, 1378, 2756, 0xef843aa4
+0, 43, 43, 1, 28800, 0x61da8c0f
+1, 59266, 59266, 1378, 2756, 0x420442fe
+0, 44, 44, 1, 28800, 0x9b11948a
+1, 60644, 60644, 1378, 2756, 0x5a0933cb
+0, 45, 45, 1, 28800, 0xc53d9b44
+1, 62022, 62022, 1378, 2756, 0xef5f6d61
+0, 46, 46, 1, 28800, 0xdc699185
+1, 63400, 63400, 1378, 2756, 0xe57e6dc0
+0, 47, 47, 1, 28800, 0x7b4f92b5
+1, 64778, 64778, 1378, 2756, 0xc0f0495a
+0, 48, 48, 1, 28800, 0x40469065
+1, 66156, 66156, 1380, 2760, 0x2c3b55df
+0, 49, 49, 1, 28800, 0x737ea07e
+1, 67536, 67536, 1378, 2756, 0x39c2586c
+0, 50, 50, 1, 28800, 0x0db49c8b
+1, 68914, 68914, 1378, 2756, 0x7ffc46e5
+0, 51, 51, 1, 28800, 0x39249f10
+1, 70292, 70292, 1378, 2756, 0xa2766664
+0, 52, 52, 1, 28800, 0xc182ab99
+1, 71670, 71670, 1378, 2756, 0xacb50c6c
+0, 53, 53, 1, 28800, 0xd8f7a7c9
+1, 73048, 73048, 1378, 2756, 0x7f659084
+0, 54, 54, 1, 28800, 0x46789caa
+1, 74426, 74426, 1378, 2756, 0xc72e6a12
+0, 55, 55, 1, 28800, 0x4759a374
+1, 75804, 75804, 1380, 2760, 0xdb6944df
+0, 56, 56, 1, 28800, 0xe621b16a
+1, 77184, 77184, 1378, 2756, 0x954f45c1
+0, 57, 57, 1, 28800, 0xcf47a999
+1, 78562, 78562, 1378, 2756, 0xa9484240
+0, 58, 58, 1, 28800, 0x801dacd4
+1, 79940, 79940, 1378, 2756, 0x1d595349
+0, 59, 59, 1, 28800, 0xe580af51
+1, 81318, 81318, 1378, 2756, 0xcf2a565e
+0, 60, 60, 1, 28800, 0x03d7a887
+1, 82696, 82696, 1378, 2756, 0x391028d5
+0, 61, 61, 1, 28800, 0xa67ea51d
+1, 84074, 84074, 1378, 2756, 0x348db7ad
+0, 62, 62, 1, 28800, 0x9fee0ec8
+1, 85452, 85452, 1380, 2760, 0xb69b5e3a
+0, 63, 63, 1, 28800, 0x7f602a5e
+1, 86832, 86832, 1378, 2756, 0xe3635fbe
+0, 64, 64, 1, 28800, 0x100d432a
+1, 88210, 88210, 1378, 2756, 0xdcad3654
+0, 65, 65, 1, 28800, 0x42164dfb
+1, 89588, 89588, 1378, 2756, 0x5c17abef
+0, 66, 66, 1, 28800, 0x86c05196
+1, 90966, 90966, 1378, 2756, 0xb3235184
+0, 67, 67, 1, 28800, 0xfc225938
+1, 92344, 92344, 1378, 2756, 0xdabb64a6
+0, 68, 68, 1, 28800, 0x81085e87
+1, 93722, 93722, 1378, 2756, 0xa95dc58d
+0, 69, 69, 1, 28800, 0xaa8f5d0a
+1, 95100, 95100, 1380, 2760, 0x8e7ac9eb
+0, 70, 70, 1, 28800, 0x605a5f9f
+1, 96480, 96480, 1378, 2756, 0x492b658e
+0, 71, 71, 1, 28800, 0x68dc64b2
+1, 97858, 97858, 1378, 2756, 0x377483ab
+0, 72, 72, 1, 28800, 0xd08e710b
+1, 99236, 99236, 1378, 2756, 0x2c250279
+0, 73, 73, 1, 28800, 0xf8567939
+1, 100614, 100614, 1378, 2756, 0x704dbdb3
+0, 74, 74, 1, 28800, 0x8dad7a4f
+1, 101992, 101992, 1378, 2756, 0x800d7da2
+0, 75, 75, 1, 28800, 0x1a19813c
+1, 103370, 103370, 1378, 2756, 0x872aa32e
+0, 76, 76, 1, 28800, 0x8a157f0e
+1, 104748, 104748, 1378, 2756, 0x2d4837fe
+0, 77, 77, 1, 28800, 0xa4fa7b9d
+1, 106126, 106126, 1380, 2760, 0xc89ea57e
+0, 78, 78, 1, 28800, 0x093b7b36
+1, 107506, 107506, 1378, 2756, 0x6447d7ef
+0, 79, 79, 1, 28800, 0xa925755b
+1, 108884, 108884, 1378, 2756, 0x144f59cc
+0, 80, 80, 1, 28800, 0xa5968138
+1, 110262, 110262, 1378, 2756, 0xc667154e
+0, 81, 81, 1, 28800, 0xe00877ac
+1, 111640, 111640, 1378, 2756, 0xf0de66ae
+0, 82, 82, 1, 28800, 0xd736183e
+1, 113018, 113018, 1378, 2756, 0xeabf3c32
+0, 83, 83, 1, 28800, 0x356f2068
+1, 114396, 114396, 1378, 2756, 0xe98e81d1
+0, 84, 84, 1, 28800, 0xf9a50f22
+1, 115774, 115774, 1380, 2760, 0x56aa5889
+0, 85, 85, 1, 28800, 0x92df2ae8
+1, 117154, 117154, 1378, 2756, 0x4fd34c0e
+0, 86, 86, 1, 28800, 0x67a43dc8
+1, 118532, 118532, 1378, 2756, 0x67cf6912
+0, 87, 87, 1, 28800, 0xf8ce2ead
+1, 119910, 119910, 1378, 2756, 0xfa944def
+0, 88, 88, 1, 28800, 0xf42f37ee
+1, 121288, 121288, 1378, 2756, 0xc12f23b2
+0, 89, 89, 1, 28800, 0x03611f37
+1, 122666, 122666, 1378, 2756, 0x5ea325a2
+0, 90, 90, 1, 28800, 0xddda2327
+1, 124044, 124044, 1378, 2756, 0x2b245824
+0, 91, 91, 1, 28800, 0xdf073d85
+1, 125422, 125422, 1380, 2760, 0x90ac533e
+0, 92, 92, 1, 28800, 0xa8331fee
+1, 126802, 126802, 1378, 2756, 0xcca34d26
+0, 93, 93, 1, 28800, 0x59d3490a
+1, 128180, 128180, 1378, 2756, 0xb5f820d0
+0, 94, 94, 1, 28800, 0xa8335be6
+1, 129558, 129558, 1378, 2756, 0x27f24335
+0, 95, 95, 1, 28800, 0xd5483b43
+1, 130936, 130936, 1378, 2756, 0x4a9e87b7
+0, 96, 96, 1, 28800, 0x23422dc9
+1, 132314, 132314, 1378, 2756, 0xbd076129
+0, 97, 97, 1, 28800, 0xc04e4689
+1, 133692, 133692, 1378, 2756, 0x2e0e3f2e
+0, 98, 98, 1, 28800, 0xd4d96372
+1, 135070, 135070, 1380, 2760, 0xdf534478
+0, 99, 99, 1, 28800, 0x9c814e96
+1, 136450, 136450, 1378, 2756, 0xca000a2e
+0, 100, 100, 1, 28800, 0x7c4b5d3b
+1, 137828, 137828, 1378, 2756, 0x87472df3
+0, 101, 101, 1, 28800, 0x6bf66c04
+1, 139206, 139206, 1378, 2756, 0x16733810
+0, 102, 102, 1, 28800, 0x6e8d4bb6
+1, 140584, 140584, 1378, 2756, 0xfa0734b4
+0, 103, 103, 1, 28800, 0xad964d00
+1, 141962, 141962, 1378, 2756, 0x5eff3fc4
+0, 104, 104, 1, 28800, 0x1ff36bd1
+1, 143340, 143340, 1378, 2756, 0xf35346bd
+0, 105, 105, 1, 28800, 0xa4664c76
+1, 144718, 144718, 1378, 2756, 0xac6411c5
+0, 106, 106, 1, 28800, 0x50626d82
+1, 146096, 146096, 1380, 2760, 0x478c3c56
+0, 107, 107, 1, 28800, 0x81906c5c
+1, 147476, 147476, 1378, 2756, 0xebd30bdd
+0, 108, 108, 1, 28800, 0x5060543f
+1, 148854, 148854, 1378, 2756, 0xaef95a31
+0, 109, 109, 1, 28800, 0x231c5a86
+1, 150232, 150232, 1378, 2756, 0x8aad29d1
+0, 110, 110, 1, 28800, 0x79775d48
+1, 151610, 151610, 1378, 2756, 0x626863f0
+0, 111, 111, 1, 28800, 0xbb893571
+1, 152988, 152988, 1378, 2756, 0x68c05707
+0, 112, 112, 1, 28800, 0x794c49ed
+1, 154366, 154366, 1378, 2756, 0x437c5e8d
+0, 113, 113, 1, 28800, 0x70464bac
+1, 155744, 155744, 1380, 2760, 0x8eca4bdb
+0, 114, 114, 1, 28800, 0xe79549ce
+1, 157124, 157124, 1378, 2756, 0x62bd4162
+0, 115, 115, 1, 28800, 0xa6565555
+1, 158502, 158502, 1378, 2756, 0x9f744aa4
+0, 116, 116, 1, 28800, 0x2ef1ad6d
+1, 159880, 159880, 1378, 2756, 0x0f3f6409
+0, 117, 117, 1, 28800, 0xdd22b9aa
+1, 161258, 161258, 1378, 2756, 0x3fee827a
+0, 118, 118, 1, 28800, 0x26ebaa97
+1, 162636, 162636, 1378, 2756, 0x48a0ac19
+0, 119, 119, 1, 28800, 0x32bd979e
+1, 164014, 164014, 1378, 2756, 0x8e4ce0d0
+0, 120, 120, 1, 28800, 0x4c167c9a
+1, 165392, 165392, 1380, 2760, 0xcda82236
+0, 121, 121, 1, 28800, 0xfdf76051
+1, 166772, 166772, 1378, 2756, 0x0e523255
+0, 122, 122, 1, 28800, 0x966938a8
+1, 168150, 168150, 1378, 2756, 0x84103d30
+0, 123, 123, 1, 28800, 0xcea3fbde
+1, 169528, 169528, 1378, 2756, 0x13941cde
+0, 124, 124, 1, 28800, 0x29a0c213
+1, 170906, 170906, 1378, 2756, 0x9fc834c5
+0, 125, 125, 1, 28800, 0x5633a1c2
+1, 172284, 172284, 1378, 2756, 0xc0217a77
+0, 126, 126, 1, 28800, 0xdc0b9af8
+1, 173662, 173662, 1378, 2756, 0x3f643659
+0, 127, 127, 1, 28800, 0x92138848
+1, 175040, 175040, 1380, 2760, 0x9dbd6002
+0, 128, 128, 1, 28800, 0xd7308da5
+1, 176420, 176420, 1378, 2756, 0x94f046fb
+0, 129, 129, 1, 28800, 0x0c8f9b3f
+1, 177798, 177798, 1378, 2756, 0xab01fb12
+0, 130, 130, 1, 28800, 0xd059b5d1
+1, 179176, 179176, 1378, 2756, 0x04cffe5c
+0, 131, 131, 1, 28800, 0xba6ed9cd
+1, 180554, 180554, 1378, 2756, 0xef661c5e
+0, 132, 132, 1, 28800, 0x896c1064
+1, 181932, 181932, 1378, 2756, 0x094c5fc5
+0, 133, 133, 1, 28800, 0x986e2fc9
+1, 183310, 183310, 1378, 2756, 0xe0c1486a
+0, 134, 134, 1, 28800, 0xcba94e4b
+1, 184688, 184688, 1380, 2760, 0x8c3535b7
+0, 135, 135, 1, 28800, 0xf3e778ed
+1, 186068, 186068, 1378, 2756, 0x594934aa
+0, 136, 136, 1, 28800, 0xc6cd7d48
+1, 187446, 187446, 1378, 2756, 0x74007238
+0, 137, 137, 1, 28800, 0xd9bd84d8
+1, 188824, 188824, 1378, 2756, 0x61f1394d
+0, 138, 138, 1, 28800, 0x391197b4
+1, 190202, 190202, 1378, 2756, 0x72584f07
+0, 139, 139, 1, 28800, 0xf361a1d9
+1, 191580, 191580, 1378, 2756, 0xced9acf9
+0, 140, 140, 1, 28800, 0x9a1ea54e
+1, 192958, 192958, 1378, 2756, 0x7d2e3ea1
+0, 141, 141, 1, 28800, 0x551aab57
+1, 194336, 194336, 1378, 2756, 0x56c06897
+0, 142, 142, 1, 28800, 0x3af8577d
+1, 195714, 195714, 1380, 2760, 0x19983bbf
+0, 143, 143, 1, 28800, 0x10f76ed0
+1, 197094, 197094, 1378, 2756, 0x4f884f27
+0, 144, 144, 1, 28800, 0x026a7fde
+1, 198472, 198472, 1378, 2756, 0x81ab2f63
+0, 145, 145, 1, 28800, 0x3e0e8db8
+1, 199850, 199850, 1378, 2756, 0x448e681d
+0, 146, 146, 1, 28800, 0x22998d2d
+1, 201228, 201228, 1378, 2756, 0x0ba9826e
+0, 147, 147, 1, 28800, 0x05978b12
+1, 202606, 202606, 1378, 2756, 0x049f36fa
+0, 148, 148, 1, 28800, 0x38b88294
+1, 203984, 203984, 1378, 2756, 0x096a2b62
+0, 149, 149, 1, 28800, 0x2ef677d6
+1, 205362, 205362, 1380, 2760, 0x579e2035
+0, 150, 150, 1, 28800, 0x0b9a8894
+1, 206742, 206742, 1378, 2756, 0xd13e30e1
+0, 151, 151, 1, 28800, 0x2dcb6718
+1, 208120, 208120, 1378, 2756, 0x30b6412b
+0, 152, 152, 1, 28800, 0xa31b6679
+1, 209498, 209498, 1378, 2756, 0xbb1c3268
+0, 153, 153, 1, 28800, 0x262d6a50
+1, 210876, 210876, 1378, 2756, 0xbc175b6a
+0, 154, 154, 1, 28800, 0xff3d6d0d
+1, 212254, 212254, 1378, 2756, 0xf8d160e2
+0, 155, 155, 1, 28800, 0x159d7045
+1, 213632, 213632, 1378, 2756, 0xc1048154
+0, 156, 156, 1, 28800, 0xf0df7800
+1, 215010, 215010, 1380, 2760, 0xb83548f4
+0, 157, 157, 1, 28800, 0xbe825ea5
+1, 216390, 216390, 1378, 2756, 0x22647962
+0, 158, 158, 1, 28800, 0x80e25d5a
+1, 217768, 217768, 1378, 2756, 0x14ca54d3
+0, 159, 159, 1, 28800, 0x8cbe263f
+1, 219146, 219146, 1378, 2756, 0x58754b3a
diff --git a/tests/ref/fate/ansi b/tests/ref/fate/ansi
index bb9f35f792..56c0226095 100644
--- a/tests/ref/fate/ansi
+++ b/tests/ref/fate/ansi
@@ -1,17 +1,18 @@
-0, 0, 768000, 0x3032d0de
-0, 3600, 768000, 0xc3be5922
-0, 7200, 768000, 0xf530c476
-0, 10800, 768000, 0x11c1fb8e
-0, 14400, 768000, 0x72d12da9
-0, 18000, 768000, 0x39c7a70d
-0, 21600, 768000, 0x94bd32a4
-0, 25200, 768000, 0x06dd5ba1
-0, 28800, 768000, 0x9616ec95
-0, 32400, 768000, 0x6df5b9e2
-0, 36000, 768000, 0x7be7f60a
-0, 39600, 768000, 0x2abc8623
-0, 43200, 768000, 0x5678bfff
-0, 46800, 768000, 0x24a03042
-0, 50400, 768000, 0xfb011b23
-0, 54000, 768000, 0x925ff5e9
-0, 57600, 768000, 0x890e2a56
+#tb 0: 1/25
+0, 0, 0, 1, 768000, 0x3032d0de
+0, 1, 1, 1, 768000, 0xc3be5922
+0, 2, 2, 1, 768000, 0xf530c476
+0, 3, 3, 1, 768000, 0x11c1fb8e
+0, 4, 4, 1, 768000, 0x72d12da9
+0, 5, 5, 1, 768000, 0x39c7a70d
+0, 6, 6, 1, 768000, 0x94bd32a4
+0, 7, 7, 1, 768000, 0x06dd5ba1
+0, 8, 8, 1, 768000, 0x9616ec95
+0, 9, 9, 1, 768000, 0x6df5b9e2
+0, 10, 10, 1, 768000, 0x7be7f60a
+0, 11, 11, 1, 768000, 0x2abc8623
+0, 12, 12, 1, 768000, 0x5678bfff
+0, 13, 13, 1, 768000, 0x24a03042
+0, 14, 14, 1, 768000, 0xfb011b23
+0, 15, 15, 1, 768000, 0x925ff5e9
+0, 16, 16, 1, 768000, 0x890e2a56
diff --git a/tests/ref/fate/armovie-escape124 b/tests/ref/fate/armovie-escape124
index 19e6795393..c686327c9e 100644
--- a/tests/ref/fate/armovie-escape124
+++ b/tests/ref/fate/armovie-escape124
@@ -1,104 +1,106 @@
-0, 0, 230400, 0x5288d70f
-1, 0, 176400, 0xdd61578c
-0, 3600, 230400, 0x2d3c1066
-0, 7200, 230400, 0x89eb5b4a
-0, 10800, 230400, 0x24c2d2e7
-0, 14400, 230400, 0x9271cb38
-0, 18000, 230400, 0xc74a5009
-0, 21600, 230400, 0x61d70705
-0, 25200, 230400, 0x6bb2c252
-0, 28800, 230400, 0x6b3ac910
-0, 32400, 230400, 0x44071f28
-0, 36000, 230400, 0x8abd00fe
-0, 39600, 230400, 0xcbe3395d
-0, 43200, 230400, 0x603e7b7a
-0, 46800, 230400, 0x2ca8865b
-0, 50400, 230400, 0x11b4c665
-0, 54000, 230400, 0x3f19787c
-0, 57600, 230400, 0x651d24b6
-0, 61200, 230400, 0x325d05af
-0, 64800, 230400, 0x4f89d8a8
-0, 68400, 230400, 0xb07647f0
-0, 72000, 230400, 0x71141237
-0, 75600, 230400, 0xa848a2d2
-0, 79200, 230400, 0x3fbe4b58
-0, 82800, 230400, 0xa1e235a0
-0, 86400, 230400, 0x9bcf607a
-0, 90000, 230400, 0x3302e9eb
-1, 90000, 176400, 0x0b9e6d67
-0, 93600, 230400, 0xd731ba90
-0, 97200, 230400, 0x821eedcf
-0, 100800, 230400, 0xd068a93d
-0, 104400, 230400, 0x2811d46e
-0, 108000, 230400, 0xd9740446
-0, 111600, 230400, 0x1bce0df6
-0, 115200, 230400, 0x44bc60ad
-0, 118800, 230400, 0xf56f6200
-0, 122400, 230400, 0x874a2264
-0, 126000, 230400, 0xaa155c0e
-0, 129600, 230400, 0x595392d4
-0, 133200, 230400, 0x58dc57de
-0, 136800, 230400, 0x1c06733e
-0, 140400, 230400, 0x6807b1db
-0, 144000, 230400, 0x3fedff87
-0, 147600, 230400, 0x3e38cc13
-0, 151200, 230400, 0x6685ec35
-0, 154800, 230400, 0x6c0742fd
-0, 158400, 230400, 0x8108f83c
-0, 162000, 230400, 0xc0e217c8
-0, 165600, 230400, 0xb22ca65d
-0, 169200, 230400, 0xd54cec93
-0, 172800, 230400, 0xd9d61de3
-0, 176400, 230400, 0x7e0f9675
-0, 180000, 230400, 0x9869f5b7
-1, 180000, 176400, 0x2793fad7
-0, 183600, 230400, 0x22f33400
-0, 187200, 230400, 0x31b999bd
-0, 190800, 230400, 0x36c23878
-0, 194400, 230400, 0x06093a30
-0, 198000, 230400, 0x213f1718
-0, 201600, 230400, 0x83683006
-0, 205200, 230400, 0x0bfcec36
-0, 208800, 230400, 0x01b77825
-0, 212400, 230400, 0x650a5ea2
-0, 216000, 230400, 0xd8b2c559
-0, 219600, 230400, 0xb012eb10
-0, 223200, 230400, 0x135d53a4
-0, 226800, 230400, 0x98dd0712
-0, 230400, 230400, 0x75240ac0
-0, 234000, 230400, 0xa16769d5
-0, 237600, 230400, 0x3e08cda3
-0, 241200, 230400, 0xcd20d561
-0, 244800, 230400, 0x3531577d
-0, 248400, 230400, 0x65ff4c82
-0, 252000, 230400, 0x8fd4a580
-0, 255600, 230400, 0x3cf7af4c
-0, 259200, 230400, 0xda7a9202
-0, 262800, 230400, 0x4bebc138
-0, 266400, 230400, 0x5517e685
-0, 270000, 230400, 0x95f6c7a3
-1, 270000, 176400, 0xe2649a4a
-0, 273600, 230400, 0x9849ebf9
-0, 277200, 230400, 0xd77e1c7d
-0, 280800, 230400, 0x4dc6c923
-0, 284400, 230400, 0x7ce817c8
-0, 288000, 230400, 0xafb4acde
-0, 291600, 230400, 0xd0030b2c
-0, 295200, 230400, 0xb3acb77c
-0, 298800, 230400, 0x4d32b61c
-0, 302400, 230400, 0x2436a915
-0, 306000, 230400, 0xa6fd831f
-0, 309600, 230400, 0x6c6edfca
-0, 313200, 230400, 0x4b30d72e
-0, 316800, 230400, 0x59f46a8a
-0, 320400, 230400, 0xa2d0435f
-0, 324000, 230400, 0x463872c4
-0, 327600, 230400, 0x1d7e870a
-0, 331200, 230400, 0x74f4e530
-0, 334800, 230400, 0xbc61053d
-0, 338400, 230400, 0x5fb238dc
-0, 342000, 230400, 0x14a29d83
-0, 345600, 230400, 0x3fd1d09b
-0, 349200, 230400, 0x098afc13
-0, 352800, 230400, 0x9bd12a62
-0, 356400, 230400, 0x7bf71419
+#tb 0: 1/25
+#tb 1: 1/44100
+0, 0, 0, 1, 230400, 0x5288d70f
+1, 0, 0, 44100, 176400, 0xdd61578c
+0, 1, 1, 1, 230400, 0x2d3c1066
+0, 2, 2, 1, 230400, 0x89eb5b4a
+0, 3, 3, 1, 230400, 0x24c2d2e7
+0, 4, 4, 1, 230400, 0x9271cb38
+0, 5, 5, 1, 230400, 0xc74a5009
+0, 6, 6, 1, 230400, 0x61d70705
+0, 7, 7, 1, 230400, 0x6bb2c252
+0, 8, 8, 1, 230400, 0x6b3ac910
+0, 9, 9, 1, 230400, 0x44071f28
+0, 10, 10, 1, 230400, 0x8abd00fe
+0, 11, 11, 1, 230400, 0xcbe3395d
+0, 12, 12, 1, 230400, 0x603e7b7a
+0, 13, 13, 1, 230400, 0x2ca8865b
+0, 14, 14, 1, 230400, 0x11b4c665
+0, 15, 15, 1, 230400, 0x3f19787c
+0, 16, 16, 1, 230400, 0x651d24b6
+0, 17, 17, 1, 230400, 0x325d05af
+0, 18, 18, 1, 230400, 0x4f89d8a8
+0, 19, 19, 1, 230400, 0xb07647f0
+0, 20, 20, 1, 230400, 0x71141237
+0, 21, 21, 1, 230400, 0xa848a2d2
+0, 22, 22, 1, 230400, 0x3fbe4b58
+0, 23, 23, 1, 230400, 0xa1e235a0
+0, 24, 24, 1, 230400, 0x9bcf607a
+0, 25, 25, 1, 230400, 0x3302e9eb
+1, 44100, 44100, 44100, 176400, 0x0b9e6d67
+0, 26, 26, 1, 230400, 0xd731ba90
+0, 27, 27, 1, 230400, 0x821eedcf
+0, 28, 28, 1, 230400, 0xd068a93d
+0, 29, 29, 1, 230400, 0x2811d46e
+0, 30, 30, 1, 230400, 0xd9740446
+0, 31, 31, 1, 230400, 0x1bce0df6
+0, 32, 32, 1, 230400, 0x44bc60ad
+0, 33, 33, 1, 230400, 0xf56f6200
+0, 34, 34, 1, 230400, 0x874a2264
+0, 35, 35, 1, 230400, 0xaa155c0e
+0, 36, 36, 1, 230400, 0x595392d4
+0, 37, 37, 1, 230400, 0x58dc57de
+0, 38, 38, 1, 230400, 0x1c06733e
+0, 39, 39, 1, 230400, 0x6807b1db
+0, 40, 40, 1, 230400, 0x3fedff87
+0, 41, 41, 1, 230400, 0x3e38cc13
+0, 42, 42, 1, 230400, 0x6685ec35
+0, 43, 43, 1, 230400, 0x6c0742fd
+0, 44, 44, 1, 230400, 0x8108f83c
+0, 45, 45, 1, 230400, 0xc0e217c8
+0, 46, 46, 1, 230400, 0xb22ca65d
+0, 47, 47, 1, 230400, 0xd54cec93
+0, 48, 48, 1, 230400, 0xd9d61de3
+0, 49, 49, 1, 230400, 0x7e0f9675
+0, 50, 50, 1, 230400, 0x9869f5b7
+1, 88200, 88200, 44100, 176400, 0x2793fad7
+0, 51, 51, 1, 230400, 0x22f33400
+0, 52, 52, 1, 230400, 0x31b999bd
+0, 53, 53, 1, 230400, 0x36c23878
+0, 54, 54, 1, 230400, 0x06093a30
+0, 55, 55, 1, 230400, 0x213f1718
+0, 56, 56, 1, 230400, 0x83683006
+0, 57, 57, 1, 230400, 0x0bfcec36
+0, 58, 58, 1, 230400, 0x01b77825
+0, 59, 59, 1, 230400, 0x650a5ea2
+0, 60, 60, 1, 230400, 0xd8b2c559
+0, 61, 61, 1, 230400, 0xb012eb10
+0, 62, 62, 1, 230400, 0x135d53a4
+0, 63, 63, 1, 230400, 0x98dd0712
+0, 64, 64, 1, 230400, 0x75240ac0
+0, 65, 65, 1, 230400, 0xa16769d5
+0, 66, 66, 1, 230400, 0x3e08cda3
+0, 67, 67, 1, 230400, 0xcd20d561
+0, 68, 68, 1, 230400, 0x3531577d
+0, 69, 69, 1, 230400, 0x65ff4c82
+0, 70, 70, 1, 230400, 0x8fd4a580
+0, 71, 71, 1, 230400, 0x3cf7af4c
+0, 72, 72, 1, 230400, 0xda7a9202
+0, 73, 73, 1, 230400, 0x4bebc138
+0, 74, 74, 1, 230400, 0x5517e685
+0, 75, 75, 1, 230400, 0x95f6c7a3
+1, 132300, 132300, 44100, 176400, 0xe2649a4a
+0, 76, 76, 1, 230400, 0x9849ebf9
+0, 77, 77, 1, 230400, 0xd77e1c7d
+0, 78, 78, 1, 230400, 0x4dc6c923
+0, 79, 79, 1, 230400, 0x7ce817c8
+0, 80, 80, 1, 230400, 0xafb4acde
+0, 81, 81, 1, 230400, 0xd0030b2c
+0, 82, 82, 1, 230400, 0xb3acb77c
+0, 83, 83, 1, 230400, 0x4d32b61c
+0, 84, 84, 1, 230400, 0x2436a915
+0, 85, 85, 1, 230400, 0xa6fd831f
+0, 86, 86, 1, 230400, 0x6c6edfca
+0, 87, 87, 1, 230400, 0x4b30d72e
+0, 88, 88, 1, 230400, 0x59f46a8a
+0, 89, 89, 1, 230400, 0xa2d0435f
+0, 90, 90, 1, 230400, 0x463872c4
+0, 91, 91, 1, 230400, 0x1d7e870a
+0, 92, 92, 1, 230400, 0x74f4e530
+0, 93, 93, 1, 230400, 0xbc61053d
+0, 94, 94, 1, 230400, 0x5fb238dc
+0, 95, 95, 1, 230400, 0x14a29d83
+0, 96, 96, 1, 230400, 0x3fd1d09b
+0, 97, 97, 1, 230400, 0x098afc13
+0, 98, 98, 1, 230400, 0x9bd12a62
+0, 99, 99, 1, 230400, 0x7bf71419
diff --git a/tests/ref/fate/auravision-v1 b/tests/ref/fate/auravision-v1
index a7bccc0d2c..456f399ec8 100644
--- a/tests/ref/fate/auravision-v1
+++ b/tests/ref/fate/auravision-v1
@@ -1,24 +1,25 @@
-0, 0, 28800, 0x4a4efbbc
-0, 6001, 28800, 0xc6c7e26a
-0, 12002, 28800, 0x6cd40913
-0, 18003, 28800, 0xa7b40fe9
-0, 24004, 28800, 0x5e77fcc6
-0, 30005, 28800, 0x9b3ef3f0
-0, 36006, 28800, 0xe7031845
-0, 42007, 28800, 0x2c15458d
-0, 48008, 28800, 0xbc3d4abf
-0, 54009, 28800, 0xf8755ac7
-0, 60010, 28800, 0x64d0405b
-0, 66011, 28800, 0x1e0c341d
-0, 72012, 28800, 0x05ca3c2b
-0, 78013, 28800, 0x28cb307f
-0, 84014, 28800, 0x3a9855af
-0, 90015, 28800, 0x92b63321
-0, 96016, 28800, 0x85585151
-0, 102017, 28800, 0x1ff01bf9
-0, 108018, 28800, 0x4bab200f
-0, 114019, 28800, 0xcf732ad7
-0, 120020, 28800, 0xced00cff
-0, 126021, 28800, 0xa69046fd
-0, 132022, 28800, 0x5aa341c3
-0, 138023, 28800, 0x87ef6219
+#tb 0: 33339/500000
+0, 0, 0, 1, 28800, 0x4a4efbbc
+0, 1, 1, 1, 28800, 0xc6c7e26a
+0, 2, 2, 1, 28800, 0x6cd40913
+0, 3, 3, 1, 28800, 0xa7b40fe9
+0, 4, 4, 1, 28800, 0x5e77fcc6
+0, 5, 5, 1, 28800, 0x9b3ef3f0
+0, 6, 6, 1, 28800, 0xe7031845
+0, 7, 7, 1, 28800, 0x2c15458d
+0, 8, 8, 1, 28800, 0xbc3d4abf
+0, 9, 9, 1, 28800, 0xf8755ac7
+0, 10, 10, 1, 28800, 0x64d0405b
+0, 11, 11, 1, 28800, 0x1e0c341d
+0, 12, 12, 1, 28800, 0x05ca3c2b
+0, 13, 13, 1, 28800, 0x28cb307f
+0, 14, 14, 1, 28800, 0x3a9855af
+0, 15, 15, 1, 28800, 0x92b63321
+0, 16, 16, 1, 28800, 0x85585151
+0, 17, 17, 1, 28800, 0x1ff01bf9
+0, 18, 18, 1, 28800, 0x4bab200f
+0, 19, 19, 1, 28800, 0xcf732ad7
+0, 20, 20, 1, 28800, 0xced00cff
+0, 21, 21, 1, 28800, 0xa69046fd
+0, 22, 22, 1, 28800, 0x5aa341c3
+0, 23, 23, 1, 28800, 0x87ef6219
diff --git a/tests/ref/fate/auravision-v2 b/tests/ref/fate/auravision-v2
index a4b6e82c6f..f1e8e3a9e1 100644
--- a/tests/ref/fate/auravision-v2
+++ b/tests/ref/fate/auravision-v2
@@ -1,2 +1,3 @@
-0, 0, 115200, 0x2f247f66
-0, 3000, 115200, 0xf492929e
+#tb 0: 33333/1000000
+0, 0, 0, 1, 115200, 0x2f247f66
+0, 1, 1, 1, 115200, 0xf492929e
diff --git a/tests/ref/fate/bethsoft-vid b/tests/ref/fate/bethsoft-vid
index 92c694b19e..d6d2dd32b3 100644
--- a/tests/ref/fate/bethsoft-vid
+++ b/tests/ref/fate/bethsoft-vid
@@ -1,141 +1,143 @@
-0, 0, 192000, 0x00000000
-1, 0, 1480, 0x00000000
-0, 1500, 192000, 0x01a6cf45
-0, 3000, 192000, 0xd07d57e9
-0, 4500, 192000, 0x3cb1dff5
-1, 5994, 1480, 0x20a92bd4
-0, 6000, 192000, 0xd1aaa8fb
-0, 7500, 192000, 0x75f526cd
-0, 9000, 192000, 0x0f673577
-0, 10500, 192000, 0x897b6781
-1, 11988, 1850, 0xa9e48a74
-0, 12000, 192000, 0x81e6b7f7
-0, 13500, 192000, 0x1f45ce61
-0, 15000, 192000, 0x5a0772a6
-0, 16500, 192000, 0xf78732b3
-0, 18000, 192000, 0x8427f9e5
-1, 19481, 1480, 0x23ecd018
-0, 19500, 192000, 0x40473f11
-0, 21000, 192000, 0x173ceebe
-0, 22500, 192000, 0x136b9516
-0, 24000, 192000, 0x138d11ae
-1, 25475, 1480, 0x206bb915
-0, 25500, 192000, 0x063dbff3
-0, 27000, 192000, 0x5280852f
-0, 28500, 192000, 0x99943a8f
-0, 30000, 192000, 0x0330a728
-1, 31469, 1850, 0xb0e10e75
-0, 31500, 192000, 0x5d35467d
-0, 33000, 192000, 0xfd436343
-0, 34500, 192000, 0xc323fcfe
-0, 36000, 192000, 0x2a1530a0
-0, 37500, 192000, 0xbd43bb60
-1, 38961, 1480, 0x8d9baedd
-0, 39000, 192000, 0xa47f5eab
-0, 40500, 192000, 0xff17f5f7
-0, 42000, 192000, 0xb4140b55
-0, 43500, 192000, 0xb8782cc4
-1, 44955, 1480, 0xb802aae1
-0, 45000, 192000, 0x92975b8b
-0, 46500, 192000, 0xf42a64d6
-0, 48000, 192000, 0x2cc7077d
-0, 49500, 192000, 0x00080cc8
-1, 50950, 1480, 0xecd7b5cc
-0, 51000, 192000, 0x584b48f3
-0, 52500, 192000, 0xd68f57da
-0, 54000, 192000, 0x60158422
-0, 55500, 192000, 0xd7fb89e6
-1, 56944, 1850, 0x16861355
-0, 57000, 192000, 0x97f1c76a
-0, 58500, 192000, 0x46c4bb9e
-0, 60000, 192000, 0xd32f9b66
-0, 61500, 192000, 0x74f43886
-0, 63000, 192000, 0x3c4e47df
-1, 64436, 1480, 0xa51690bd
-0, 64500, 192000, 0xb5ac0a58
-0, 66000, 192000, 0xcc572b31
-0, 67500, 192000, 0xb1739d26
-0, 69000, 192000, 0x73da5473
-1, 70430, 1480, 0xdd0b90d1
-0, 70500, 192000, 0x5f79f5bc
-0, 72000, 192000, 0x0affc0a0
-0, 73500, 192000, 0x2b4d5c1c
-0, 75000, 192000, 0x309b41bc
-1, 76424, 1850, 0x3ce6e333
-0, 76500, 192000, 0xd42b6424
-0, 78000, 192000, 0x4795c948
-0, 79500, 192000, 0xbc1a3a8b
-0, 81000, 192000, 0x16529c5b
-0, 82500, 192000, 0x6b1b31ba
-1, 83917, 1480, 0xf8ce8ea3
-0, 84000, 192000, 0x569182ce
-0, 85500, 192000, 0xe6ea9866
-0, 87000, 192000, 0x102c6076
-0, 88500, 192000, 0xb29f527a
-1, 89911, 1480, 0xda4597af
-0, 90000, 192000, 0x040b4eee
-0, 91500, 192000, 0x92574f4a
-0, 93000, 192000, 0x1e8acdce
-0, 94500, 192000, 0x1becf516
-1, 95905, 1480, 0x918f7cb3
-0, 96000, 192000, 0xb62e9776
-0, 97500, 192000, 0xed37a08e
-0, 99000, 192000, 0xc0719912
-0, 100500, 192000, 0x24cf7a7e
-1, 101899, 1850, 0xca6edb15
-0, 102000, 192000, 0x0307f62f
-0, 103500, 192000, 0x79b7417b
-1, 109392, 1480, 0xba279597
-1, 115386, 1480, 0xc5a38a9e
-1, 121380, 1850, 0x8147eef5
-1, 128872, 1480, 0xce2c7cb5
-1, 134866, 1480, 0x4282819f
-1, 140860, 1480, 0xbdbb8da6
-1, 146854, 1850, 0xdbbeea10
-1, 154347, 1480, 0xbe6a77c2
-1, 160341, 1480, 0xa85c75b2
-1, 166335, 1850, 0xa45bde21
-1, 173828, 1480, 0x84aa7895
-1, 179822, 1480, 0x147f7d9f
-1, 185816, 1480, 0xc8e77b85
-1, 191810, 1850, 0x10d4d81b
-1, 199302, 1480, 0xb4ae8bb1
-1, 205297, 1480, 0x3ef782a5
-1, 211291, 1850, 0xdeebda14
-1, 218783, 1480, 0x4c7e7bbb
-1, 224777, 1480, 0x0e0e9198
-1, 230771, 1480, 0x5c1f819f
-1, 236765, 1850, 0x0e4cf6ff
-1, 244258, 1480, 0x374388a7
-1, 250252, 1480, 0xed729389
-1, 256246, 1850, 0xe0f1e43f
-1, 263739, 1480, 0x3b27839a
-1, 269733, 1480, 0xe6287e94
-1, 275727, 1480, 0x7e0d84b5
-1, 281721, 1850, 0xf08bebf7
-1, 289213, 1480, 0x94cf73a0
-1, 295207, 1480, 0xfef384ae
-1, 301202, 1850, 0x3b93e0f7
-1, 308694, 1480, 0x28d27bae
-1, 314688, 1480, 0x94d57da5
-1, 320682, 1480, 0xc9327db5
-1, 326676, 1850, 0xe781f604
-1, 334169, 1480, 0x752f8c5b
-1, 340163, 1480, 0x30068032
-1, 346157, 1850, 0x7895023e
-1, 353650, 1480, 0xa1e0a6e1
-1, 359644, 1480, 0x6af4b500
-1, 365638, 1480, 0xc26ea4c7
-1, 371632, 1850, 0x16a72419
-1, 379124, 1480, 0x1794aacc
-1, 385118, 1480, 0x2ecad8d0
-1, 391112, 1850, 0x2e645e07
-1, 398605, 1480, 0x1c54dfe7
-1, 404599, 1480, 0xbd35feec
-1, 410593, 1480, 0x419403d6
-1, 416587, 1850, 0x78699d2a
-1, 424080, 1480, 0x74ec68e0
-1, 430074, 1480, 0x76af64d9
-1, 436068, 1850, 0x5a303d1a
-1, 443560, 1074, 0x142ce7ba
-1, 447910, 1850, 0x7ff682f7
+#tb 0: 1/60
+#tb 1: 1/11111
+0, 0, 0, 1, 192000, 0x00000000
+1, 0, 0, 740, 1480, 0x00000000
+0, 1, 1, 1, 192000, 0x01a6cf45
+0, 2, 2, 1, 192000, 0xd07d57e9
+0, 3, 3, 1, 192000, 0x3cb1dff5
+1, 740, 740, 740, 1480, 0x20a92bd4
+0, 4, 4, 1, 192000, 0xd1aaa8fb
+0, 5, 5, 1, 192000, 0x75f526cd
+0, 6, 6, 1, 192000, 0x0f673577
+0, 7, 7, 1, 192000, 0x897b6781
+1, 1480, 1480, 925, 1850, 0xa9e48a74
+0, 8, 8, 1, 192000, 0x81e6b7f7
+0, 9, 9, 1, 192000, 0x1f45ce61
+0, 10, 10, 1, 192000, 0x5a0772a6
+0, 11, 11, 1, 192000, 0xf78732b3
+0, 12, 12, 1, 192000, 0x8427f9e5
+1, 2405, 2405, 740, 1480, 0x23ecd018
+0, 13, 13, 1, 192000, 0x40473f11
+0, 14, 14, 1, 192000, 0x173ceebe
+0, 15, 15, 1, 192000, 0x136b9516
+0, 16, 16, 1, 192000, 0x138d11ae
+1, 3145, 3145, 740, 1480, 0x206bb915
+0, 17, 17, 1, 192000, 0x063dbff3
+0, 18, 18, 1, 192000, 0x5280852f
+0, 19, 19, 1, 192000, 0x99943a8f
+0, 20, 20, 1, 192000, 0x0330a728
+1, 3885, 3885, 925, 1850, 0xb0e10e75
+0, 21, 21, 1, 192000, 0x5d35467d
+0, 22, 22, 1, 192000, 0xfd436343
+0, 23, 23, 1, 192000, 0xc323fcfe
+0, 24, 24, 1, 192000, 0x2a1530a0
+0, 25, 25, 1, 192000, 0xbd43bb60
+1, 4810, 4810, 740, 1480, 0x8d9baedd
+0, 26, 26, 1, 192000, 0xa47f5eab
+0, 27, 27, 1, 192000, 0xff17f5f7
+0, 28, 28, 1, 192000, 0xb4140b55
+0, 29, 29, 1, 192000, 0xb8782cc4
+1, 5550, 5550, 740, 1480, 0xb802aae1
+0, 30, 30, 1, 192000, 0x92975b8b
+0, 31, 31, 1, 192000, 0xf42a64d6
+0, 32, 32, 1, 192000, 0x2cc7077d
+0, 33, 33, 1, 192000, 0x00080cc8
+1, 6290, 6290, 740, 1480, 0xecd7b5cc
+0, 34, 34, 1, 192000, 0x584b48f3
+0, 35, 35, 1, 192000, 0xd68f57da
+0, 36, 36, 1, 192000, 0x60158422
+0, 37, 37, 1, 192000, 0xd7fb89e6
+1, 7030, 7030, 925, 1850, 0x16861355
+0, 38, 38, 1, 192000, 0x97f1c76a
+0, 39, 39, 1, 192000, 0x46c4bb9e
+0, 40, 40, 1, 192000, 0xd32f9b66
+0, 41, 41, 1, 192000, 0x74f43886
+0, 42, 42, 1, 192000, 0x3c4e47df
+1, 7955, 7955, 740, 1480, 0xa51690bd
+0, 43, 43, 1, 192000, 0xb5ac0a58
+0, 44, 44, 1, 192000, 0xcc572b31
+0, 45, 45, 1, 192000, 0xb1739d26
+0, 46, 46, 1, 192000, 0x73da5473
+1, 8695, 8695, 740, 1480, 0xdd0b90d1
+0, 47, 47, 1, 192000, 0x5f79f5bc
+0, 48, 48, 1, 192000, 0x0affc0a0
+0, 49, 49, 1, 192000, 0x2b4d5c1c
+0, 50, 50, 1, 192000, 0x309b41bc
+1, 9435, 9435, 925, 1850, 0x3ce6e333
+0, 51, 51, 1, 192000, 0xd42b6424
+0, 52, 52, 1, 192000, 0x4795c948
+0, 53, 53, 1, 192000, 0xbc1a3a8b
+0, 54, 54, 1, 192000, 0x16529c5b
+0, 55, 55, 1, 192000, 0x6b1b31ba
+1, 10360, 10360, 740, 1480, 0xf8ce8ea3
+0, 56, 56, 1, 192000, 0x569182ce
+0, 57, 57, 1, 192000, 0xe6ea9866
+0, 58, 58, 1, 192000, 0x102c6076
+0, 59, 59, 1, 192000, 0xb29f527a
+1, 11100, 11100, 740, 1480, 0xda4597af
+0, 60, 60, 1, 192000, 0x040b4eee
+0, 61, 61, 1, 192000, 0x92574f4a
+0, 62, 62, 1, 192000, 0x1e8acdce
+0, 63, 63, 1, 192000, 0x1becf516
+1, 11840, 11840, 740, 1480, 0x918f7cb3
+0, 64, 64, 1, 192000, 0xb62e9776
+0, 65, 65, 1, 192000, 0xed37a08e
+0, 66, 66, 1, 192000, 0xc0719912
+0, 67, 67, 1, 192000, 0x24cf7a7e
+1, 12580, 12580, 925, 1850, 0xca6edb15
+0, 68, 68, 1, 192000, 0x0307f62f
+0, 69, 69, 1, 192000, 0x79b7417b
+1, 13505, 13505, 740, 1480, 0xba279597
+1, 14245, 14245, 740, 1480, 0xc5a38a9e
+1, 14985, 14985, 925, 1850, 0x8147eef5
+1, 15910, 15910, 740, 1480, 0xce2c7cb5
+1, 16650, 16650, 740, 1480, 0x4282819f
+1, 17390, 17390, 740, 1480, 0xbdbb8da6
+1, 18130, 18130, 925, 1850, 0xdbbeea10
+1, 19055, 19055, 740, 1480, 0xbe6a77c2
+1, 19795, 19795, 740, 1480, 0xa85c75b2
+1, 20535, 20535, 925, 1850, 0xa45bde21
+1, 21460, 21460, 740, 1480, 0x84aa7895
+1, 22200, 22200, 740, 1480, 0x147f7d9f
+1, 22940, 22940, 740, 1480, 0xc8e77b85
+1, 23680, 23680, 925, 1850, 0x10d4d81b
+1, 24605, 24605, 740, 1480, 0xb4ae8bb1
+1, 25345, 25345, 740, 1480, 0x3ef782a5
+1, 26085, 26085, 925, 1850, 0xdeebda14
+1, 27010, 27010, 740, 1480, 0x4c7e7bbb
+1, 27750, 27750, 740, 1480, 0x0e0e9198
+1, 28490, 28490, 740, 1480, 0x5c1f819f
+1, 29230, 29230, 925, 1850, 0x0e4cf6ff
+1, 30155, 30155, 740, 1480, 0x374388a7
+1, 30895, 30895, 740, 1480, 0xed729389
+1, 31635, 31635, 925, 1850, 0xe0f1e43f
+1, 32560, 32560, 740, 1480, 0x3b27839a
+1, 33300, 33300, 740, 1480, 0xe6287e94
+1, 34040, 34040, 740, 1480, 0x7e0d84b5
+1, 34780, 34780, 925, 1850, 0xf08bebf7
+1, 35705, 35705, 740, 1480, 0x94cf73a0
+1, 36445, 36445, 740, 1480, 0xfef384ae
+1, 37185, 37185, 925, 1850, 0x3b93e0f7
+1, 38110, 38110, 740, 1480, 0x28d27bae
+1, 38850, 38850, 740, 1480, 0x94d57da5
+1, 39590, 39590, 740, 1480, 0xc9327db5
+1, 40330, 40330, 925, 1850, 0xe781f604
+1, 41255, 41255, 740, 1480, 0x752f8c5b
+1, 41995, 41995, 740, 1480, 0x30068032
+1, 42735, 42735, 925, 1850, 0x7895023e
+1, 43660, 43660, 740, 1480, 0xa1e0a6e1
+1, 44400, 44400, 740, 1480, 0x6af4b500
+1, 45140, 45140, 740, 1480, 0xc26ea4c7
+1, 45880, 45880, 925, 1850, 0x16a72419
+1, 46805, 46805, 740, 1480, 0x1794aacc
+1, 47545, 47545, 740, 1480, 0x2ecad8d0
+1, 48285, 48285, 925, 1850, 0x2e645e07
+1, 49210, 49210, 740, 1480, 0x1c54dfe7
+1, 49950, 49950, 740, 1480, 0xbd35feec
+1, 50690, 50690, 740, 1480, 0x419403d6
+1, 51430, 51430, 925, 1850, 0x78699d2a
+1, 52355, 52355, 740, 1480, 0x74ec68e0
+1, 53095, 53095, 740, 1480, 0x76af64d9
+1, 53835, 53835, 925, 1850, 0x5a303d1a
+1, 54760, 54760, 537, 1074, 0x142ce7ba
+1, 55297, 55297, 925, 1850, 0x7ff682f7
diff --git a/tests/ref/fate/bfi b/tests/ref/fate/bfi
index 1471670ce3..0d3d8f2b0a 100644
--- a/tests/ref/fate/bfi
+++ b/tests/ref/fate/bfi
@@ -1,114 +1,116 @@
-0, 0, 134400, 0xc218b00c
-1, 0, 17768, 0x07df135c
-0, 10000, 134400, 0x114daf7c
-0, 20000, 134400, 0xe14db24c
-0, 30000, 134400, 0x88c71df7
-0, 40000, 134400, 0xc98c09fc
-0, 50000, 134400, 0xf7c2e7a9
-0, 60000, 134400, 0xf54f304f
-0, 70000, 134400, 0x67370fdd
-1, 72522, 2220, 0x44953646
-0, 80000, 134400, 0xe70f43cd
-1, 81584, 2220, 0x256b3329
-0, 90000, 134400, 0xad74c06f
-1, 90645, 2222, 0x344d20c6
-1, 99714, 2220, 0xd8ee20db
-0, 100000, 134400, 0xef42fdf2
-1, 108776, 2222, 0x46d70aa2
-0, 110000, 134400, 0xa14cc4b8
-1, 117845, 2220, 0xbe0a2213
-0, 120000, 134400, 0xc6e57381
-1, 126906, 2222, 0x4ee0fd07
-0, 130000, 134400, 0x74b4804b
-1, 135976, 2220, 0x709dfe87
-0, 140000, 134400, 0xe0863d6f
-1, 145037, 2222, 0xbb382521
-0, 150000, 134400, 0x90b6d03c
-1, 154106, 2220, 0x6dba1d2d
-0, 160000, 134400, 0x3d0409fd
-1, 163167, 2222, 0xbc4cdd6d
-0, 170000, 134400, 0xc02e09a4
-1, 172237, 2220, 0x54340d2c
-0, 180000, 134400, 0xa3515997
-1, 181298, 2220, 0x8925d335
-0, 190000, 134400, 0xc0fda122
-1, 190359, 2222, 0xa39bd15f
-1, 199429, 2220, 0x6875f632
-0, 200000, 134400, 0x5380d707
-1, 208490, 2222, 0xda46be57
-0, 210000, 134400, 0xcc19c085
-1, 217559, 2220, 0xd591eb44
-0, 220000, 134400, 0x8041e977
-1, 226620, 2222, 0x33afd17f
-0, 230000, 134400, 0xb96b2bea
-1, 235690, 2220, 0xd97be03b
-0, 240000, 134400, 0xcc977ca7
-1, 244751, 2222, 0x3b71e82e
-0, 250000, 134400, 0xe37abb34
-1, 253820, 2220, 0x95fbec2b
-0, 260000, 134400, 0xce488baa
-1, 262882, 2220, 0xae3a1c1e
-0, 270000, 134400, 0xa0734e8a
-1, 271943, 2222, 0x46cd0973
-0, 280000, 134400, 0x6b5ce0b0
-1, 281012, 2220, 0x7b28f3f6
-0, 290000, 134400, 0xf207f938
-1, 290073, 2222, 0xa2a5bc47
-1, 299143, 2220, 0x4727df63
-0, 300000, 134400, 0xe10060f8
-1, 308204, 2222, 0xdf53f4e2
-0, 310000, 134400, 0xaebe6b37
-1, 317273, 2220, 0x469c1e8f
-0, 320000, 134400, 0x08ea5c75
-1, 326335, 2222, 0x3c541799
-0, 330000, 134400, 0x05c6b514
-1, 335404, 2220, 0xc8d21fee
-0, 340000, 134400, 0x68cb3703
-1, 344465, 2222, 0x5f52126f
-0, 350000, 134400, 0x48867fd0
-1, 353535, 2220, 0x06a9ff18
-0, 360000, 134400, 0xc53eda30
-1, 362596, 2220, 0x84f9aa2b
-0, 370000, 134400, 0x0c1b198d
-1, 371657, 2222, 0xe0518c83
-0, 380000, 134400, 0xc8ac5bc8
-1, 380727, 2220, 0xc85ee26c
-1, 389788, 2222, 0xda23fd2d
-0, 390000, 134400, 0x9e35240d
-1, 398857, 2220, 0x7ee2e818
-0, 400000, 134400, 0x885d142f
-1, 407918, 2222, 0x45eb0465
-0, 410000, 134400, 0x207cb4ac
-1, 416988, 2220, 0xf3e90549
-0, 420000, 134400, 0x0abe748b
-1, 426049, 2222, 0x17aacf3d
-0, 430000, 134400, 0xf13e991b
-1, 435118, 2220, 0x6cb7e325
-0, 440000, 134400, 0x2544248d
-1, 444180, 2220, 0x20164553
-0, 450000, 134400, 0x5444bb22
-1, 453241, 2222, 0x00000000
-0, 460000, 134400, 0xc5a8f55a
-1, 462310, 2220, 0x00000000
-0, 470000, 134400, 0xe6006820
-1, 471371, 2222, 0x00000000
-0, 480000, 134400, 0x2a34239d
-1, 480441, 2220, 0x00000000
-1, 489502, 2222, 0x00000000
-0, 490000, 134400, 0x26deac5b
-1, 498571, 2220, 0x00000000
-0, 500000, 134400, 0x82c2c0a9
-1, 507633, 2222, 0x00000000
-0, 510000, 134400, 0xcdd8daba
-1, 516702, 2450, 0x00000000
-0, 520000, 134400, 0x5a1a2105
-1, 526702, 2450, 0x00000000
-0, 530000, 134400, 0x2ad43604
-1, 536702, 2450, 0x00000000
-0, 540000, 134400, 0xa9b58f35
-1, 546702, 2450, 0x00000000
-0, 550000, 134400, 0x0e37a7a8
-1, 556702, 2450, 0x00000000
-0, 560000, 134400, 0xd288eef7
-1, 566702, 2450, 0x00000000
-1, 576702, 2450, 0x00000000
+#tb 0: 1/9
+#tb 1: 1/11025
+0, 0, 0, 1, 134400, 0xc218b00c
+1, 0, 0, 8884, 17768, 0x07df135c
+0, 1, 1, 1, 134400, 0x114daf7c
+0, 2, 2, 1, 134400, 0xe14db24c
+0, 3, 3, 1, 134400, 0x88c71df7
+0, 4, 4, 1, 134400, 0xc98c09fc
+0, 5, 5, 1, 134400, 0xf7c2e7a9
+0, 6, 6, 1, 134400, 0xf54f304f
+0, 7, 7, 1, 134400, 0x67370fdd
+1, 8884, 8884, 1110, 2220, 0x44953646
+0, 8, 8, 1, 134400, 0xe70f43cd
+1, 9994, 9994, 1110, 2220, 0x256b3329
+0, 9, 9, 1, 134400, 0xad74c06f
+1, 11104, 11104, 1111, 2222, 0x344d20c6
+1, 12215, 12215, 1110, 2220, 0xd8ee20db
+0, 10, 10, 1, 134400, 0xef42fdf2
+1, 13325, 13325, 1111, 2222, 0x46d70aa2
+0, 11, 11, 1, 134400, 0xa14cc4b8
+1, 14436, 14436, 1110, 2220, 0xbe0a2213
+0, 12, 12, 1, 134400, 0xc6e57381
+1, 15546, 15546, 1111, 2222, 0x4ee0fd07
+0, 13, 13, 1, 134400, 0x74b4804b
+1, 16657, 16657, 1110, 2220, 0x709dfe87
+0, 14, 14, 1, 134400, 0xe0863d6f
+1, 17767, 17767, 1111, 2222, 0xbb382521
+0, 15, 15, 1, 134400, 0x90b6d03c
+1, 18878, 18878, 1110, 2220, 0x6dba1d2d
+0, 16, 16, 1, 134400, 0x3d0409fd
+1, 19988, 19988, 1111, 2222, 0xbc4cdd6d
+0, 17, 17, 1, 134400, 0xc02e09a4
+1, 21099, 21099, 1110, 2220, 0x54340d2c
+0, 18, 18, 1, 134400, 0xa3515997
+1, 22209, 22209, 1110, 2220, 0x8925d335
+0, 19, 19, 1, 134400, 0xc0fda122
+1, 23319, 23319, 1111, 2222, 0xa39bd15f
+1, 24430, 24430, 1110, 2220, 0x6875f632
+0, 20, 20, 1, 134400, 0x5380d707
+1, 25540, 25540, 1111, 2222, 0xda46be57
+0, 21, 21, 1, 134400, 0xcc19c085
+1, 26651, 26651, 1110, 2220, 0xd591eb44
+0, 22, 22, 1, 134400, 0x8041e977
+1, 27761, 27761, 1111, 2222, 0x33afd17f
+0, 23, 23, 1, 134400, 0xb96b2bea
+1, 28872, 28872, 1110, 2220, 0xd97be03b
+0, 24, 24, 1, 134400, 0xcc977ca7
+1, 29982, 29982, 1111, 2222, 0x3b71e82e
+0, 25, 25, 1, 134400, 0xe37abb34
+1, 31093, 31093, 1110, 2220, 0x95fbec2b
+0, 26, 26, 1, 134400, 0xce488baa
+1, 32203, 32203, 1110, 2220, 0xae3a1c1e
+0, 27, 27, 1, 134400, 0xa0734e8a
+1, 33313, 33313, 1111, 2222, 0x46cd0973
+0, 28, 28, 1, 134400, 0x6b5ce0b0
+1, 34424, 34424, 1110, 2220, 0x7b28f3f6
+0, 29, 29, 1, 134400, 0xf207f938
+1, 35534, 35534, 1111, 2222, 0xa2a5bc47
+1, 36645, 36645, 1110, 2220, 0x4727df63
+0, 30, 30, 1, 134400, 0xe10060f8
+1, 37755, 37755, 1111, 2222, 0xdf53f4e2
+0, 31, 31, 1, 134400, 0xaebe6b37
+1, 38866, 38866, 1110, 2220, 0x469c1e8f
+0, 32, 32, 1, 134400, 0x08ea5c75
+1, 39976, 39976, 1111, 2222, 0x3c541799
+0, 33, 33, 1, 134400, 0x05c6b514
+1, 41087, 41087, 1110, 2220, 0xc8d21fee
+0, 34, 34, 1, 134400, 0x68cb3703
+1, 42197, 42197, 1111, 2222, 0x5f52126f
+0, 35, 35, 1, 134400, 0x48867fd0
+1, 43308, 43308, 1110, 2220, 0x06a9ff18
+0, 36, 36, 1, 134400, 0xc53eda30
+1, 44418, 44418, 1110, 2220, 0x84f9aa2b
+0, 37, 37, 1, 134400, 0x0c1b198d
+1, 45528, 45528, 1111, 2222, 0xe0518c83
+0, 38, 38, 1, 134400, 0xc8ac5bc8
+1, 46639, 46639, 1110, 2220, 0xc85ee26c
+1, 47749, 47749, 1111, 2222, 0xda23fd2d
+0, 39, 39, 1, 134400, 0x9e35240d
+1, 48860, 48860, 1110, 2220, 0x7ee2e818
+0, 40, 40, 1, 134400, 0x885d142f
+1, 49970, 49970, 1111, 2222, 0x45eb0465
+0, 41, 41, 1, 134400, 0x207cb4ac
+1, 51081, 51081, 1110, 2220, 0xf3e90549
+0, 42, 42, 1, 134400, 0x0abe748b
+1, 52191, 52191, 1111, 2222, 0x17aacf3d
+0, 43, 43, 1, 134400, 0xf13e991b
+1, 53302, 53302, 1110, 2220, 0x6cb7e325
+0, 44, 44, 1, 134400, 0x2544248d
+1, 54412, 54412, 1110, 2220, 0x20164553
+0, 45, 45, 1, 134400, 0x5444bb22
+1, 55522, 55522, 1111, 2222, 0x00000000
+0, 46, 46, 1, 134400, 0xc5a8f55a
+1, 56633, 56633, 1110, 2220, 0x00000000
+0, 47, 47, 1, 134400, 0xe6006820
+1, 57743, 57743, 1111, 2222, 0x00000000
+0, 48, 48, 1, 134400, 0x2a34239d
+1, 58854, 58854, 1110, 2220, 0x00000000
+1, 59964, 59964, 1111, 2222, 0x00000000
+0, 49, 49, 1, 134400, 0x26deac5b
+1, 61075, 61075, 1110, 2220, 0x00000000
+0, 50, 50, 1, 134400, 0x82c2c0a9
+1, 62185, 62185, 1111, 2222, 0x00000000
+0, 51, 51, 1, 134400, 0xcdd8daba
+1, 63296, 63296, 1225, 2450, 0x00000000
+0, 52, 52, 1, 134400, 0x5a1a2105
+1, 64521, 64521, 1225, 2450, 0x00000000
+0, 53, 53, 1, 134400, 0x2ad43604
+1, 65746, 65746, 1225, 2450, 0x00000000
+0, 54, 54, 1, 134400, 0xa9b58f35
+1, 66971, 66971, 1225, 2450, 0x00000000
+0, 55, 55, 1, 134400, 0x0e37a7a8
+1, 68196, 68196, 1225, 2450, 0x00000000
+0, 56, 56, 1, 134400, 0xd288eef7
+1, 69421, 69421, 1225, 2450, 0x00000000
+1, 70646, 70646, 1225, 2450, 0x00000000
diff --git a/tests/ref/fate/bink-video b/tests/ref/fate/bink-video
index f3adf76b25..40bc5a929e 100644
--- a/tests/ref/fate/bink-video
+++ b/tests/ref/fate/bink-video
@@ -1,20 +1,21 @@
-0, 0, 460800, 0xb06f7841
-0, 6000, 460800, 0x7ed06412
-0, 12000, 460800, 0xe82b5c3d
-0, 18000, 460800, 0x67284940
-0, 24000, 460800, 0x17e2c544
-0, 30000, 460800, 0x5dc65d36
-0, 36000, 460800, 0x7de63f90
-0, 42000, 460800, 0x15c8cf7d
-0, 48000, 460800, 0xbffe4047
-0, 54000, 460800, 0xcabcc150
-0, 60000, 460800, 0xe8a17ebe
-0, 66000, 460800, 0x27e94c03
-0, 72000, 460800, 0x71c0f48e
-0, 78000, 460800, 0x5fc8f783
-0, 84000, 460800, 0xd23d336a
-0, 90000, 460800, 0xadcfa9e0
-0, 96000, 460800, 0x24222144
-0, 102000, 460800, 0x88f28b2b
-0, 108000, 460800, 0x52e13544
-0, 114000, 460800, 0x7e724731
+#tb 0: 1/15
+0, 0, 0, 1, 460800, 0xb06f7841
+0, 1, 1, 1, 460800, 0x7ed06412
+0, 2, 2, 1, 460800, 0xe82b5c3d
+0, 3, 3, 1, 460800, 0x67284940
+0, 4, 4, 1, 460800, 0x17e2c544
+0, 5, 5, 1, 460800, 0x5dc65d36
+0, 6, 6, 1, 460800, 0x7de63f90
+0, 7, 7, 1, 460800, 0x15c8cf7d
+0, 8, 8, 1, 460800, 0xbffe4047
+0, 9, 9, 1, 460800, 0xcabcc150
+0, 10, 10, 1, 460800, 0xe8a17ebe
+0, 11, 11, 1, 460800, 0x27e94c03
+0, 12, 12, 1, 460800, 0x71c0f48e
+0, 13, 13, 1, 460800, 0x5fc8f783
+0, 14, 14, 1, 460800, 0xd23d336a
+0, 15, 15, 1, 460800, 0xadcfa9e0
+0, 16, 16, 1, 460800, 0x24222144
+0, 17, 17, 1, 460800, 0x88f28b2b
+0, 18, 18, 1, 460800, 0x52e13544
+0, 19, 19, 1, 460800, 0x7e724731
diff --git a/tests/ref/fate/bmv b/tests/ref/fate/bmv
index 4e461650e8..2ea4862ea3 100644
--- a/tests/ref/fate/bmv
+++ b/tests/ref/fate/bmv
@@ -1,42 +1,44 @@
-0, 0, 823680, 0xddb8a306
-1, 0, 7424, 0x18540b36
-0, 7500, 823680, 0xa95375c8
-1, 7576, 7296, 0x5acd2484
-0, 15000, 823680, 0xa95375c8
-1, 15020, 7424, 0xa1bc5c5a
-0, 22500, 823680, 0xb6f78afe
-1, 22596, 7296, 0x71a02ad1
-0, 30000, 823680, 0xb6f78afe
-1, 30041, 7424, 0x09cc32f2
-0, 37500, 823680, 0x45b9c8f0
-1, 37616, 7296, 0xa3451726
-0, 45000, 823680, 0x45b9c8f0
-1, 45061, 7296, 0x1eb40a18
-0, 52500, 823680, 0x7653d8e9
-1, 52506, 7424, 0xc55a2acf
-0, 60000, 823680, 0x7653d8e9
-1, 60082, 7296, 0x5b9fad3f
-0, 67500, 823680, 0xf1e2fd73
-1, 67527, 7424, 0xea651ae7
-0, 75000, 823680, 0xf1e2fd73
-1, 75102, 7296, 0x2bd5ddb6
-0, 82500, 823680, 0x6d2deab3
-1, 82547, 7424, 0xde4243b4
-0, 90000, 823680, 0x6d2deab3
-1, 90122, 7296, 0x358806d3
-0, 97500, 823680, 0x37fd33ce
-1, 97567, 7296, 0x511a144e
-0, 105000, 823680, 0x37fd33ce
-1, 105012, 7424, 0x887a3e84
-0, 112500, 823680, 0x0a8e0ab9
-1, 112588, 7296, 0xfeae2a0c
-0, 120000, 823680, 0x0a8e0ab9
-1, 120033, 7424, 0xa4ea5d22
-0, 127500, 823680, 0x991bb2b0
-1, 127608, 7296, 0xb3adf7fa
-0, 135000, 823680, 0x991bb2b0
-1, 135053, 7424, 0xce995dcc
-0, 142500, 823680, 0xb8397c8c
-1, 142629, 7296, 0x5b4cf574
-0, 150000, 823680, 0xb8397c8c
-1, 150073, 7296, 0x8a70eaf0
+#tb 0: 1/12
+#tb 1: 1/22050
+0, 0, 0, 1, 823680, 0xddb8a306
+1, 0, 0, 1856, 7424, 0x18540b36
+0, 1, 1, 1, 823680, 0xa95375c8
+1, 1856, 1856, 1824, 7296, 0x5acd2484
+0, 2, 2, 1, 823680, 0xa95375c8
+1, 3680, 3680, 1856, 7424, 0xa1bc5c5a
+0, 3, 3, 1, 823680, 0xb6f78afe
+1, 5536, 5536, 1824, 7296, 0x71a02ad1
+0, 4, 4, 1, 823680, 0xb6f78afe
+1, 7360, 7360, 1856, 7424, 0x09cc32f2
+0, 5, 5, 1, 823680, 0x45b9c8f0
+1, 9216, 9216, 1824, 7296, 0xa3451726
+0, 6, 6, 1, 823680, 0x45b9c8f0
+1, 11040, 11040, 1824, 7296, 0x1eb40a18
+0, 7, 7, 1, 823680, 0x7653d8e9
+1, 12864, 12864, 1856, 7424, 0xc55a2acf
+0, 8, 8, 1, 823680, 0x7653d8e9
+1, 14720, 14720, 1824, 7296, 0x5b9fad3f
+0, 9, 9, 1, 823680, 0xf1e2fd73
+1, 16544, 16544, 1856, 7424, 0xea651ae7
+0, 10, 10, 1, 823680, 0xf1e2fd73
+1, 18400, 18400, 1824, 7296, 0x2bd5ddb6
+0, 11, 11, 1, 823680, 0x6d2deab3
+1, 20224, 20224, 1856, 7424, 0xde4243b4
+0, 12, 12, 1, 823680, 0x6d2deab3
+1, 22080, 22080, 1824, 7296, 0x358806d3
+0, 13, 13, 1, 823680, 0x37fd33ce
+1, 23904, 23904, 1824, 7296, 0x511a144e
+0, 14, 14, 1, 823680, 0x37fd33ce
+1, 25728, 25728, 1856, 7424, 0x887a3e84
+0, 15, 15, 1, 823680, 0x0a8e0ab9
+1, 27584, 27584, 1824, 7296, 0xfeae2a0c
+0, 16, 16, 1, 823680, 0x0a8e0ab9
+1, 29408, 29408, 1856, 7424, 0xa4ea5d22
+0, 17, 17, 1, 823680, 0x991bb2b0
+1, 31264, 31264, 1824, 7296, 0xb3adf7fa
+0, 18, 18, 1, 823680, 0x991bb2b0
+1, 33088, 33088, 1856, 7424, 0xce995dcc
+0, 19, 19, 1, 823680, 0xb8397c8c
+1, 34944, 34944, 1824, 7296, 0x5b4cf574
+0, 20, 20, 1, 823680, 0xb8397c8c
+1, 36768, 36768, 1824, 7296, 0x8a70eaf0
diff --git a/tests/ref/fate/cdgraphics b/tests/ref/fate/cdgraphics
index 10873fd413..78a8f28880 100644
--- a/tests/ref/fate/cdgraphics
+++ b/tests/ref/fate/cdgraphics
@@ -1,300 +1,301 @@
-0, 0, 194400, 0xd919c635
-0, 300, 194400, 0xd919c635
-0, 600, 194400, 0x516a1007
-0, 900, 194400, 0x516a1007
-0, 1200, 194400, 0x516a1007
-0, 1500, 194400, 0x516a1007
-0, 1800, 194400, 0x516a1007
-0, 2100, 194400, 0x516a1007
-0, 2400, 194400, 0x516a1007
-0, 2700, 194400, 0x516a1007
-0, 3000, 194400, 0x516a1007
-0, 3300, 194400, 0x516a1007
-0, 3600, 194400, 0x516a1007
-0, 3900, 194400, 0x516a1007
-0, 4200, 194400, 0x516a1007
-0, 4500, 194400, 0x516a1007
-0, 4800, 194400, 0x46ad80da
-0, 5100, 194400, 0x46ad80da
-0, 5400, 194400, 0x46ad80da
-0, 5700, 194400, 0x46ad80da
-0, 6000, 194400, 0x46ad80da
-0, 6300, 194400, 0x46ad80da
-0, 6600, 194400, 0x46ad80da
-0, 6900, 194400, 0x46ad80da
-0, 7200, 194400, 0x46ad80da
-0, 7500, 194400, 0x46ad80da
-0, 7800, 194400, 0x46ad80da
-0, 8100, 194400, 0x46ad80da
-0, 8400, 194400, 0x46ad80da
-0, 8700, 194400, 0x46ad80da
-0, 9000, 194400, 0x46ad80da
-0, 9300, 194400, 0x46ad80da
-0, 9600, 194400, 0x9392c3b9
-0, 9900, 194400, 0x9ff8cbb1
-0, 10200, 194400, 0xd015dba1
-0, 10500, 194400, 0x6a39f18b
-0, 10800, 194400, 0x7b8cf983
-0, 11100, 194400, 0x07a20f7c
-0, 11400, 194400, 0xa63e2962
-0, 11700, 194400, 0x2dd54447
-0, 12000, 194400, 0x90735e2d
-0, 12300, 194400, 0x90d98506
-0, 12600, 194400, 0xe5b08ffb
-0, 12900, 194400, 0x7a0d95f5
-0, 13200, 194400, 0xff6bacde
-0, 13500, 194400, 0xd998c2c8
-0, 13800, 194400, 0x3d1ddfab
-0, 14100, 194400, 0x817de4a6
-0, 14400, 194400, 0xfa3ef694
-0, 14700, 194400, 0x0b5bfb8f
-0, 15000, 194400, 0x00f62376
-0, 15300, 194400, 0x2f6b2d6c
-0, 15600, 194400, 0x40cb4752
-0, 15900, 194400, 0xd8456435
-0, 16200, 194400, 0x459f6a2f
-0, 16500, 194400, 0x9b678910
-0, 16800, 194400, 0x8791a1f7
-0, 17100, 194400, 0xdb4ac5d3
-0, 17400, 194400, 0xb223c8d0
-0, 17700, 194400, 0x4a9ce7b1
-0, 18000, 194400, 0x187eeaae
-0, 18300, 194400, 0xc712f8a0
-0, 18600, 194400, 0x549c00a7
-0, 18900, 194400, 0x4d991295
-0, 19200, 194400, 0xc41b2681
-0, 19500, 194400, 0xed5a3077
-0, 19800, 194400, 0x85ad4463
-0, 20100, 194400, 0xb98f4760
-0, 20400, 194400, 0x87ef5e49
-0, 20700, 194400, 0x830a6146
-0, 21000, 194400, 0xe33a792e
-0, 21300, 194400, 0x83517a2d
-0, 21600, 194400, 0xa97e9314
-0, 21900, 194400, 0x39059611
-0, 22200, 194400, 0xbf4eb9ed
-0, 22500, 194400, 0xe5afc4e2
-0, 22800, 194400, 0x35d4cdd9
-0, 23100, 194400, 0xb376e1c5
-0, 23400, 194400, 0x6128e3c3
-0, 23700, 194400, 0x30b7f7af
-0, 24000, 194400, 0xf1effaac
-0, 24300, 194400, 0x483914a1
-0, 24600, 194400, 0xbd48199c
-0, 24900, 194400, 0x382f2d88
-0, 25200, 194400, 0x5a573085
-0, 25500, 194400, 0x89733580
-0, 25800, 194400, 0xd1325a5b
-0, 26100, 194400, 0x655b6253
-0, 26400, 194400, 0x55146352
-0, 26700, 194400, 0xda527c39
-0, 27000, 194400, 0xb0cd7e37
-0, 27300, 194400, 0x25e7991c
-0, 27600, 194400, 0x5c22a411
-0, 27900, 194400, 0x1e2abdf7
-0, 28200, 194400, 0x8308bff5
-0, 28500, 194400, 0xfdbfd6de
-0, 28800, 194400, 0xd4d4d9db
-0, 29100, 194400, 0xa449fbb9
-0, 29400, 194400, 0x3dcafdb7
-0, 29700, 194400, 0x6f1f01c2
-0, 30000, 194400, 0xf54a1da6
-0, 30300, 194400, 0x88d11fa4
-0, 30600, 194400, 0x59642d96
-0, 30900, 194400, 0x8ba44182
-0, 31200, 194400, 0x88f56360
-0, 31500, 194400, 0xfb246d56
-0, 31800, 194400, 0xad128043
-0, 32100, 194400, 0x3a4f8a39
-0, 32400, 194400, 0x563d9d26
-0, 32700, 194400, 0x6ff8a320
-0, 33000, 194400, 0xcdb9b70c
-0, 33300, 194400, 0x99c2bd06
-0, 33600, 194400, 0x4b47cef4
-0, 33900, 194400, 0x10b9dce6
-0, 34200, 194400, 0xdd39f1d1
-0, 34500, 194400, 0xbcf104cd
-0, 34800, 194400, 0x85ec17ba
-0, 35100, 194400, 0x069219b8
-0, 35400, 194400, 0x84dd3899
-0, 35700, 194400, 0xacca4190
-0, 36000, 194400, 0xcf5b5d74
-0, 36300, 194400, 0x4b8c626f
-0, 36600, 194400, 0xf0817958
-0, 36900, 194400, 0xc0887e53
-0, 37200, 194400, 0x42e6854c
-0, 37500, 194400, 0x036c9140
-0, 37800, 194400, 0x0f21a62b
-0, 38100, 194400, 0xcdaeaa27
-0, 38400, 194400, 0xe425bc15
-0, 38700, 194400, 0x8e18c20f
-0, 39000, 194400, 0x767cd5fb
-0, 39300, 194400, 0x554ae6ea
-0, 39600, 194400, 0xeac1f9d7
-0, 39900, 194400, 0x0b32fed2
-0, 40200, 194400, 0xe30c19c6
-0, 40500, 194400, 0x6a8a23bc
-0, 40800, 194400, 0x26bf36a9
-0, 41100, 194400, 0x1e4f3fa0
-0, 41400, 194400, 0x231f5986
-0, 41700, 194400, 0xf557756a
-0, 42000, 194400, 0x6bce805f
-0, 42300, 194400, 0xcd80924d
-0, 42600, 194400, 0x65dc9f40
-0, 42900, 194400, 0x2ab7af30
-0, 43200, 194400, 0xd43cb728
-0, 43500, 194400, 0x05d9c916
-0, 43800, 194400, 0x43cad10e
-0, 44100, 194400, 0x06b5e0fe
-0, 44400, 194400, 0xa142f0ee
-0, 44700, 194400, 0xed7f03ea
-0, 45000, 194400, 0xf26019d4
-0, 45300, 194400, 0x3b7f29c4
-0, 45600, 194400, 0x30282ebf
-0, 45900, 194400, 0xaeff4aa3
-0, 46200, 194400, 0x1d355697
-0, 46500, 194400, 0x2ead6f7e
-0, 46800, 194400, 0xf1b67776
-0, 47100, 194400, 0x93b38b62
-0, 47400, 194400, 0x9469905d
-0, 47700, 194400, 0x27bf9756
-0, 48000, 194400, 0xd016a548
-0, 48300, 194400, 0x6889b835
-0, 48600, 194400, 0x6a05be2f
-0, 48900, 194400, 0xe0a1ce1f
-0, 49200, 194400, 0x8fdbd617
-0, 49500, 194400, 0xd68fe805
-0, 49800, 194400, 0x0d1dfbf1
-0, 50100, 194400, 0x0fe70bf0
-0, 50400, 194400, 0x0a8f13e8
-0, 50700, 194400, 0x0ca42bd0
-0, 51000, 194400, 0x6f3838c3
-0, 51300, 194400, 0x045448b3
-0, 51600, 194400, 0x764349b2
-0, 51900, 194400, 0xed1651aa
-0, 52200, 194400, 0xbb376398
-0, 52500, 194400, 0xd0d5718a
-0, 52800, 194400, 0xcd977e7d
-0, 53100, 194400, 0x8cb39665
-0, 53400, 194400, 0xb935b04b
-0, 53700, 194400, 0x0292be3d
-0, 54000, 194400, 0x4f21c833
-0, 54300, 194400, 0xa5c7d823
-0, 54600, 194400, 0xfb8ee01b
-0, 54900, 194400, 0xea53ee0d
-0, 55200, 194400, 0x803efcfe
-0, 55500, 194400, 0x2c0e0aff
-0, 55800, 194400, 0x3df318f1
-0, 56100, 194400, 0xc4cb26e3
-0, 56400, 194400, 0x92a033d6
-0, 56700, 194400, 0x1b2048c1
-0, 57000, 194400, 0x236858b1
-0, 57300, 194400, 0x482f6d9c
-0, 57600, 194400, 0x9ee97891
-0, 57900, 194400, 0xe0dc8683
-0, 58200, 194400, 0x461b9079
-0, 58500, 194400, 0xd346a960
-0, 58800, 194400, 0xa384b554
-0, 59100, 194400, 0x3246cf3a
-0, 59400, 194400, 0xa53fe722
-0, 59700, 194400, 0xe620fd0c
-0, 60000, 194400, 0xd6370414
-0, 60300, 194400, 0xf57f1404
-0, 60600, 194400, 0x8c6420f7
-0, 60900, 194400, 0xd4be3add
-0, 61200, 194400, 0xa8dc4ec9
-0, 61500, 194400, 0xda1563b4
-0, 61800, 194400, 0xd51873a4
-0, 62100, 194400, 0x68588196
-0, 62400, 194400, 0x40d18e89
-0, 62700, 194400, 0x1b75a275
-0, 63000, 194400, 0xedd1a572
-0, 63300, 194400, 0x55daad6a
-0, 63600, 194400, 0xcb93b067
-0, 63900, 194400, 0x5888ba5d
-0, 64200, 194400, 0x2c11c84f
-0, 64500, 194400, 0x0fbae334
-0, 64800, 194400, 0x773fed2a
-0, 65100, 194400, 0x2f87fc1b
-0, 65400, 194400, 0xe8120521
-0, 65700, 194400, 0x64ac0f17
-0, 66000, 194400, 0xba531c0a
-0, 66300, 194400, 0xf49433f2
-0, 66600, 194400, 0x79e234f1
-0, 66900, 194400, 0x043937ee
-0, 67200, 194400, 0x9e6141e4
-0, 67500, 194400, 0x34204fd6
-0, 67800, 194400, 0xa1dd60c5
-0, 68100, 194400, 0x12b36eb7
-0, 68400, 194400, 0x68987aab
-0, 68700, 194400, 0x3207889d
-0, 69000, 194400, 0x3bb59194
-0, 69300, 194400, 0x0a119f86
-0, 69600, 194400, 0x472bab7a
-0, 69900, 194400, 0x7364c85d
-0, 70200, 194400, 0xa812d84d
-0, 70500, 194400, 0xf384f530
-0, 70800, 194400, 0x1546052f
-0, 71100, 194400, 0xeb611a1a
-0, 71400, 194400, 0xc39d250f
-0, 71700, 194400, 0x7bd73301
-0, 72000, 194400, 0x10f73cf7
-0, 72300, 194400, 0x95dc55de
-0, 72600, 194400, 0x392e61d2
-0, 72900, 194400, 0x113c7bb8
-0, 73200, 194400, 0x17128fa4
-0, 73500, 194400, 0xf95e9b98
-0, 73800, 194400, 0xdc47aa89
-0, 74100, 194400, 0xea5dc073
-0, 74400, 194400, 0x8dfadc57
-0, 74700, 194400, 0xe5c3e84b
-0, 75000, 194400, 0x8952f43f
-0, 75300, 194400, 0xec9e0240
-0, 75600, 194400, 0x8f460c36
-0, 75900, 194400, 0xd43e182a
-0, 76200, 194400, 0xb00b2919
-0, 76500, 194400, 0xc9f6350d
-0, 76800, 194400, 0x87ca44fd
-0, 77100, 194400, 0xa6a250f1
-0, 77400, 194400, 0x34fa60e1
-0, 77700, 194400, 0xe1a372cf
-0, 78000, 194400, 0xc80785bc
-0, 78300, 194400, 0x43e297aa
-0, 78600, 194400, 0x7e8ea49d
-0, 78900, 194400, 0xd009b091
-0, 79200, 194400, 0x9126bc85
-0, 79500, 194400, 0x175ad36e
-0, 79800, 194400, 0xf9dae160
-0, 80100, 194400, 0x1b98f948
-0, 80400, 194400, 0xa6c5133d
-0, 80700, 194400, 0xf5d42729
-0, 81000, 194400, 0x8cfe311f
-0, 81300, 194400, 0x18733e12
-0, 81600, 194400, 0x24ac50ff
-0, 81900, 194400, 0x0d1c64eb
-0, 82200, 194400, 0xde947cd3
-0, 82500, 194400, 0x08268dc2
-0, 82800, 194400, 0xfec69fb0
-0, 83100, 194400, 0xba83aba4
-0, 83400, 194400, 0xfbe2bc93
-0, 83700, 194400, 0xe22fcc83
-0, 84000, 194400, 0x050fcf80
-0, 84300, 194400, 0xee1ed778
-0, 84600, 194400, 0xb44cda75
-0, 84900, 194400, 0xa29fe46b
-0, 85200, 194400, 0xa99bf55a
-0, 85500, 194400, 0x4f840d51
-0, 85800, 194400, 0x58941945
-0, 86100, 194400, 0x62cb2638
-0, 86400, 194400, 0x22ee312d
-0, 86700, 194400, 0xea8f3925
-0, 87000, 194400, 0xed294c12
-0, 87300, 194400, 0xafa75e00
-0, 87600, 194400, 0x19d45ffe
-0, 87900, 194400, 0x7fcf61fc
-0, 88200, 194400, 0x2c126df0
-0, 88500, 194400, 0x331379e4
-0, 88800, 194400, 0x99fe8cd1
-0, 89100, 194400, 0xa5ec98c5
-0, 89400, 194400, 0xac68a6b7
-0, 89700, 194400, 0x28e6b2ab
+#tb 0: 1/300
+0, 0, 0, 1, 194400, 0xd919c635
+0, 1, 1, 1, 194400, 0xd919c635
+0, 2, 2, 1, 194400, 0x516a1007
+0, 3, 3, 1, 194400, 0x516a1007
+0, 4, 4, 1, 194400, 0x516a1007
+0, 5, 5, 1, 194400, 0x516a1007
+0, 6, 6, 1, 194400, 0x516a1007
+0, 7, 7, 1, 194400, 0x516a1007
+0, 8, 8, 1, 194400, 0x516a1007
+0, 9, 9, 1, 194400, 0x516a1007
+0, 10, 10, 1, 194400, 0x516a1007
+0, 11, 11, 1, 194400, 0x516a1007
+0, 12, 12, 1, 194400, 0x516a1007
+0, 13, 13, 1, 194400, 0x516a1007
+0, 14, 14, 1, 194400, 0x516a1007
+0, 15, 15, 1, 194400, 0x516a1007
+0, 16, 16, 1, 194400, 0x46ad80da
+0, 17, 17, 1, 194400, 0x46ad80da
+0, 18, 18, 1, 194400, 0x46ad80da
+0, 19, 19, 1, 194400, 0x46ad80da
+0, 20, 20, 1, 194400, 0x46ad80da
+0, 21, 21, 1, 194400, 0x46ad80da
+0, 22, 22, 1, 194400, 0x46ad80da
+0, 23, 23, 1, 194400, 0x46ad80da
+0, 24, 24, 1, 194400, 0x46ad80da
+0, 25, 25, 1, 194400, 0x46ad80da
+0, 26, 26, 1, 194400, 0x46ad80da
+0, 27, 27, 1, 194400, 0x46ad80da
+0, 28, 28, 1, 194400, 0x46ad80da
+0, 29, 29, 1, 194400, 0x46ad80da
+0, 30, 30, 1, 194400, 0x46ad80da
+0, 31, 31, 1, 194400, 0x46ad80da
+0, 32, 32, 1, 194400, 0x9392c3b9
+0, 33, 33, 1, 194400, 0x9ff8cbb1
+0, 34, 34, 1, 194400, 0xd015dba1
+0, 35, 35, 1, 194400, 0x6a39f18b
+0, 36, 36, 1, 194400, 0x7b8cf983
+0, 37, 37, 1, 194400, 0x07a20f7c
+0, 38, 38, 1, 194400, 0xa63e2962
+0, 39, 39, 1, 194400, 0x2dd54447
+0, 40, 40, 1, 194400, 0x90735e2d
+0, 41, 41, 1, 194400, 0x90d98506
+0, 42, 42, 1, 194400, 0xe5b08ffb
+0, 43, 43, 1, 194400, 0x7a0d95f5
+0, 44, 44, 1, 194400, 0xff6bacde
+0, 45, 45, 1, 194400, 0xd998c2c8
+0, 46, 46, 1, 194400, 0x3d1ddfab
+0, 47, 47, 1, 194400, 0x817de4a6
+0, 48, 48, 1, 194400, 0xfa3ef694
+0, 49, 49, 1, 194400, 0x0b5bfb8f
+0, 50, 50, 1, 194400, 0x00f62376
+0, 51, 51, 1, 194400, 0x2f6b2d6c
+0, 52, 52, 1, 194400, 0x40cb4752
+0, 53, 53, 1, 194400, 0xd8456435
+0, 54, 54, 1, 194400, 0x459f6a2f
+0, 55, 55, 1, 194400, 0x9b678910
+0, 56, 56, 1, 194400, 0x8791a1f7
+0, 57, 57, 1, 194400, 0xdb4ac5d3
+0, 58, 58, 1, 194400, 0xb223c8d0
+0, 59, 59, 1, 194400, 0x4a9ce7b1
+0, 60, 60, 1, 194400, 0x187eeaae
+0, 61, 61, 1, 194400, 0xc712f8a0
+0, 62, 62, 1, 194400, 0x549c00a7
+0, 63, 63, 1, 194400, 0x4d991295
+0, 64, 64, 1, 194400, 0xc41b2681
+0, 65, 65, 1, 194400, 0xed5a3077
+0, 66, 66, 1, 194400, 0x85ad4463
+0, 67, 67, 1, 194400, 0xb98f4760
+0, 68, 68, 1, 194400, 0x87ef5e49
+0, 69, 69, 1, 194400, 0x830a6146
+0, 70, 70, 1, 194400, 0xe33a792e
+0, 71, 71, 1, 194400, 0x83517a2d
+0, 72, 72, 1, 194400, 0xa97e9314
+0, 73, 73, 1, 194400, 0x39059611
+0, 74, 74, 1, 194400, 0xbf4eb9ed
+0, 75, 75, 1, 194400, 0xe5afc4e2
+0, 76, 76, 1, 194400, 0x35d4cdd9
+0, 77, 77, 1, 194400, 0xb376e1c5
+0, 78, 78, 1, 194400, 0x6128e3c3
+0, 79, 79, 1, 194400, 0x30b7f7af
+0, 80, 80, 1, 194400, 0xf1effaac
+0, 81, 81, 1, 194400, 0x483914a1
+0, 82, 82, 1, 194400, 0xbd48199c
+0, 83, 83, 1, 194400, 0x382f2d88
+0, 84, 84, 1, 194400, 0x5a573085
+0, 85, 85, 1, 194400, 0x89733580
+0, 86, 86, 1, 194400, 0xd1325a5b
+0, 87, 87, 1, 194400, 0x655b6253
+0, 88, 88, 1, 194400, 0x55146352
+0, 89, 89, 1, 194400, 0xda527c39
+0, 90, 90, 1, 194400, 0xb0cd7e37
+0, 91, 91, 1, 194400, 0x25e7991c
+0, 92, 92, 1, 194400, 0x5c22a411
+0, 93, 93, 1, 194400, 0x1e2abdf7
+0, 94, 94, 1, 194400, 0x8308bff5
+0, 95, 95, 1, 194400, 0xfdbfd6de
+0, 96, 96, 1, 194400, 0xd4d4d9db
+0, 97, 97, 1, 194400, 0xa449fbb9
+0, 98, 98, 1, 194400, 0x3dcafdb7
+0, 99, 99, 1, 194400, 0x6f1f01c2
+0, 100, 100, 1, 194400, 0xf54a1da6
+0, 101, 101, 1, 194400, 0x88d11fa4
+0, 102, 102, 1, 194400, 0x59642d96
+0, 103, 103, 1, 194400, 0x8ba44182
+0, 104, 104, 1, 194400, 0x88f56360
+0, 105, 105, 1, 194400, 0xfb246d56
+0, 106, 106, 1, 194400, 0xad128043
+0, 107, 107, 1, 194400, 0x3a4f8a39
+0, 108, 108, 1, 194400, 0x563d9d26
+0, 109, 109, 1, 194400, 0x6ff8a320
+0, 110, 110, 1, 194400, 0xcdb9b70c
+0, 111, 111, 1, 194400, 0x99c2bd06
+0, 112, 112, 1, 194400, 0x4b47cef4
+0, 113, 113, 1, 194400, 0x10b9dce6
+0, 114, 114, 1, 194400, 0xdd39f1d1
+0, 115, 115, 1, 194400, 0xbcf104cd
+0, 116, 116, 1, 194400, 0x85ec17ba
+0, 117, 117, 1, 194400, 0x069219b8
+0, 118, 118, 1, 194400, 0x84dd3899
+0, 119, 119, 1, 194400, 0xacca4190
+0, 120, 120, 1, 194400, 0xcf5b5d74
+0, 121, 121, 1, 194400, 0x4b8c626f
+0, 122, 122, 1, 194400, 0xf0817958
+0, 123, 123, 1, 194400, 0xc0887e53
+0, 124, 124, 1, 194400, 0x42e6854c
+0, 125, 125, 1, 194400, 0x036c9140
+0, 126, 126, 1, 194400, 0x0f21a62b
+0, 127, 127, 1, 194400, 0xcdaeaa27
+0, 128, 128, 1, 194400, 0xe425bc15
+0, 129, 129, 1, 194400, 0x8e18c20f
+0, 130, 130, 1, 194400, 0x767cd5fb
+0, 131, 131, 1, 194400, 0x554ae6ea
+0, 132, 132, 1, 194400, 0xeac1f9d7
+0, 133, 133, 1, 194400, 0x0b32fed2
+0, 134, 134, 1, 194400, 0xe30c19c6
+0, 135, 135, 1, 194400, 0x6a8a23bc
+0, 136, 136, 1, 194400, 0x26bf36a9
+0, 137, 137, 1, 194400, 0x1e4f3fa0
+0, 138, 138, 1, 194400, 0x231f5986
+0, 139, 139, 1, 194400, 0xf557756a
+0, 140, 140, 1, 194400, 0x6bce805f
+0, 141, 141, 1, 194400, 0xcd80924d
+0, 142, 142, 1, 194400, 0x65dc9f40
+0, 143, 143, 1, 194400, 0x2ab7af30
+0, 144, 144, 1, 194400, 0xd43cb728
+0, 145, 145, 1, 194400, 0x05d9c916
+0, 146, 146, 1, 194400, 0x43cad10e
+0, 147, 147, 1, 194400, 0x06b5e0fe
+0, 148, 148, 1, 194400, 0xa142f0ee
+0, 149, 149, 1, 194400, 0xed7f03ea
+0, 150, 150, 1, 194400, 0xf26019d4
+0, 151, 151, 1, 194400, 0x3b7f29c4
+0, 152, 152, 1, 194400, 0x30282ebf
+0, 153, 153, 1, 194400, 0xaeff4aa3
+0, 154, 154, 1, 194400, 0x1d355697
+0, 155, 155, 1, 194400, 0x2ead6f7e
+0, 156, 156, 1, 194400, 0xf1b67776
+0, 157, 157, 1, 194400, 0x93b38b62
+0, 158, 158, 1, 194400, 0x9469905d
+0, 159, 159, 1, 194400, 0x27bf9756
+0, 160, 160, 1, 194400, 0xd016a548
+0, 161, 161, 1, 194400, 0x6889b835
+0, 162, 162, 1, 194400, 0x6a05be2f
+0, 163, 163, 1, 194400, 0xe0a1ce1f
+0, 164, 164, 1, 194400, 0x8fdbd617
+0, 165, 165, 1, 194400, 0xd68fe805
+0, 166, 166, 1, 194400, 0x0d1dfbf1
+0, 167, 167, 1, 194400, 0x0fe70bf0
+0, 168, 168, 1, 194400, 0x0a8f13e8
+0, 169, 169, 1, 194400, 0x0ca42bd0
+0, 170, 170, 1, 194400, 0x6f3838c3
+0, 171, 171, 1, 194400, 0x045448b3
+0, 172, 172, 1, 194400, 0x764349b2
+0, 173, 173, 1, 194400, 0xed1651aa
+0, 174, 174, 1, 194400, 0xbb376398
+0, 175, 175, 1, 194400, 0xd0d5718a
+0, 176, 176, 1, 194400, 0xcd977e7d
+0, 177, 177, 1, 194400, 0x8cb39665
+0, 178, 178, 1, 194400, 0xb935b04b
+0, 179, 179, 1, 194400, 0x0292be3d
+0, 180, 180, 1, 194400, 0x4f21c833
+0, 181, 181, 1, 194400, 0xa5c7d823
+0, 182, 182, 1, 194400, 0xfb8ee01b
+0, 183, 183, 1, 194400, 0xea53ee0d
+0, 184, 184, 1, 194400, 0x803efcfe
+0, 185, 185, 1, 194400, 0x2c0e0aff
+0, 186, 186, 1, 194400, 0x3df318f1
+0, 187, 187, 1, 194400, 0xc4cb26e3
+0, 188, 188, 1, 194400, 0x92a033d6
+0, 189, 189, 1, 194400, 0x1b2048c1
+0, 190, 190, 1, 194400, 0x236858b1
+0, 191, 191, 1, 194400, 0x482f6d9c
+0, 192, 192, 1, 194400, 0x9ee97891
+0, 193, 193, 1, 194400, 0xe0dc8683
+0, 194, 194, 1, 194400, 0x461b9079
+0, 195, 195, 1, 194400, 0xd346a960
+0, 196, 196, 1, 194400, 0xa384b554
+0, 197, 197, 1, 194400, 0x3246cf3a
+0, 198, 198, 1, 194400, 0xa53fe722
+0, 199, 199, 1, 194400, 0xe620fd0c
+0, 200, 200, 1, 194400, 0xd6370414
+0, 201, 201, 1, 194400, 0xf57f1404
+0, 202, 202, 1, 194400, 0x8c6420f7
+0, 203, 203, 1, 194400, 0xd4be3add
+0, 204, 204, 1, 194400, 0xa8dc4ec9
+0, 205, 205, 1, 194400, 0xda1563b4
+0, 206, 206, 1, 194400, 0xd51873a4
+0, 207, 207, 1, 194400, 0x68588196
+0, 208, 208, 1, 194400, 0x40d18e89
+0, 209, 209, 1, 194400, 0x1b75a275
+0, 210, 210, 1, 194400, 0xedd1a572
+0, 211, 211, 1, 194400, 0x55daad6a
+0, 212, 212, 1, 194400, 0xcb93b067
+0, 213, 213, 1, 194400, 0x5888ba5d
+0, 214, 214, 1, 194400, 0x2c11c84f
+0, 215, 215, 1, 194400, 0x0fbae334
+0, 216, 216, 1, 194400, 0x773fed2a
+0, 217, 217, 1, 194400, 0x2f87fc1b
+0, 218, 218, 1, 194400, 0xe8120521
+0, 219, 219, 1, 194400, 0x64ac0f17
+0, 220, 220, 1, 194400, 0xba531c0a
+0, 221, 221, 1, 194400, 0xf49433f2
+0, 222, 222, 1, 194400, 0x79e234f1
+0, 223, 223, 1, 194400, 0x043937ee
+0, 224, 224, 1, 194400, 0x9e6141e4
+0, 225, 225, 1, 194400, 0x34204fd6
+0, 226, 226, 1, 194400, 0xa1dd60c5
+0, 227, 227, 1, 194400, 0x12b36eb7
+0, 228, 228, 1, 194400, 0x68987aab
+0, 229, 229, 1, 194400, 0x3207889d
+0, 230, 230, 1, 194400, 0x3bb59194
+0, 231, 231, 1, 194400, 0x0a119f86
+0, 232, 232, 1, 194400, 0x472bab7a
+0, 233, 233, 1, 194400, 0x7364c85d
+0, 234, 234, 1, 194400, 0xa812d84d
+0, 235, 235, 1, 194400, 0xf384f530
+0, 236, 236, 1, 194400, 0x1546052f
+0, 237, 237, 1, 194400, 0xeb611a1a
+0, 238, 238, 1, 194400, 0xc39d250f
+0, 239, 239, 1, 194400, 0x7bd73301
+0, 240, 240, 1, 194400, 0x10f73cf7
+0, 241, 241, 1, 194400, 0x95dc55de
+0, 242, 242, 1, 194400, 0x392e61d2
+0, 243, 243, 1, 194400, 0x113c7bb8
+0, 244, 244, 1, 194400, 0x17128fa4
+0, 245, 245, 1, 194400, 0xf95e9b98
+0, 246, 246, 1, 194400, 0xdc47aa89
+0, 247, 247, 1, 194400, 0xea5dc073
+0, 248, 248, 1, 194400, 0x8dfadc57
+0, 249, 249, 1, 194400, 0xe5c3e84b
+0, 250, 250, 1, 194400, 0x8952f43f
+0, 251, 251, 1, 194400, 0xec9e0240
+0, 252, 252, 1, 194400, 0x8f460c36
+0, 253, 253, 1, 194400, 0xd43e182a
+0, 254, 254, 1, 194400, 0xb00b2919
+0, 255, 255, 1, 194400, 0xc9f6350d
+0, 256, 256, 1, 194400, 0x87ca44fd
+0, 257, 257, 1, 194400, 0xa6a250f1
+0, 258, 258, 1, 194400, 0x34fa60e1
+0, 259, 259, 1, 194400, 0xe1a372cf
+0, 260, 260, 1, 194400, 0xc80785bc
+0, 261, 261, 1, 194400, 0x43e297aa
+0, 262, 262, 1, 194400, 0x7e8ea49d
+0, 263, 263, 1, 194400, 0xd009b091
+0, 264, 264, 1, 194400, 0x9126bc85
+0, 265, 265, 1, 194400, 0x175ad36e
+0, 266, 266, 1, 194400, 0xf9dae160
+0, 267, 267, 1, 194400, 0x1b98f948
+0, 268, 268, 1, 194400, 0xa6c5133d
+0, 269, 269, 1, 194400, 0xf5d42729
+0, 270, 270, 1, 194400, 0x8cfe311f
+0, 271, 271, 1, 194400, 0x18733e12
+0, 272, 272, 1, 194400, 0x24ac50ff
+0, 273, 273, 1, 194400, 0x0d1c64eb
+0, 274, 274, 1, 194400, 0xde947cd3
+0, 275, 275, 1, 194400, 0x08268dc2
+0, 276, 276, 1, 194400, 0xfec69fb0
+0, 277, 277, 1, 194400, 0xba83aba4
+0, 278, 278, 1, 194400, 0xfbe2bc93
+0, 279, 279, 1, 194400, 0xe22fcc83
+0, 280, 280, 1, 194400, 0x050fcf80
+0, 281, 281, 1, 194400, 0xee1ed778
+0, 282, 282, 1, 194400, 0xb44cda75
+0, 283, 283, 1, 194400, 0xa29fe46b
+0, 284, 284, 1, 194400, 0xa99bf55a
+0, 285, 285, 1, 194400, 0x4f840d51
+0, 286, 286, 1, 194400, 0x58941945
+0, 287, 287, 1, 194400, 0x62cb2638
+0, 288, 288, 1, 194400, 0x22ee312d
+0, 289, 289, 1, 194400, 0xea8f3925
+0, 290, 290, 1, 194400, 0xed294c12
+0, 291, 291, 1, 194400, 0xafa75e00
+0, 292, 292, 1, 194400, 0x19d45ffe
+0, 293, 293, 1, 194400, 0x7fcf61fc
+0, 294, 294, 1, 194400, 0x2c126df0
+0, 295, 295, 1, 194400, 0x331379e4
+0, 296, 296, 1, 194400, 0x99fe8cd1
+0, 297, 297, 1, 194400, 0xa5ec98c5
+0, 298, 298, 1, 194400, 0xac68a6b7
+0, 299, 299, 1, 194400, 0x28e6b2ab
diff --git a/tests/ref/fate/cljr b/tests/ref/fate/cljr
index 7221b9e4e6..f73c8c0b34 100644
--- a/tests/ref/fate/cljr
+++ b/tests/ref/fate/cljr
@@ -1,36 +1,37 @@
-0, 0, 64800, 0x44a1c47c
-0, 3169, 64800, 0x649cc3a4
-0, 6338, 64800, 0xcab1b88c
-0, 9507, 64800, 0xf56cb788
-0, 12676, 64800, 0x5336b618
-0, 15845, 64800, 0x2704b438
-0, 19013, 64800, 0x04c7b8e4
-0, 22182, 64800, 0x3185b288
-0, 25351, 64800, 0xa537c410
-0, 28520, 64800, 0x6495c0f8
-0, 31689, 64800, 0x06a1ca14
-0, 34858, 64800, 0x69cdd2a0
-0, 38027, 64800, 0x4ad2d828
-0, 41196, 64800, 0x9604dea4
-0, 44365, 64800, 0x1c00e430
-0, 47534, 64800, 0x9afeefe0
-0, 50702, 64800, 0xc13fdd78
-0, 53871, 64800, 0x8438da7c
-0, 57040, 64800, 0xa0ead278
-0, 60209, 64800, 0xbeced2d8
-0, 63378, 64800, 0x85bbd7dc
-0, 66547, 64800, 0xbe59ce34
-0, 69716, 64800, 0xd76ecccc
-0, 72885, 64800, 0xe182b474
-0, 76054, 64800, 0x916cc394
-0, 79223, 64800, 0x7efebd14
-0, 82391, 64800, 0x8d28c9f0
-0, 85560, 64800, 0x00a1c960
-0, 88729, 64800, 0xc164c400
-0, 91898, 64800, 0xfd4dc544
-0, 95067, 64800, 0x01bfbe38
-0, 98236, 64800, 0xff11b5d0
-0, 101405, 64800, 0x4876bb20
-0, 104574, 64800, 0x756ecb04
-0, 107743, 64800, 0x3b8cd540
-0, 110912, 64800, 0x063ed444
+#tb 0: 3521/100000
+0, 0, 0, 1, 64800, 0x44a1c47c
+0, 1, 1, 1, 64800, 0x649cc3a4
+0, 2, 2, 1, 64800, 0xcab1b88c
+0, 3, 3, 1, 64800, 0xf56cb788
+0, 4, 4, 1, 64800, 0x5336b618
+0, 5, 5, 1, 64800, 0x2704b438
+0, 6, 6, 1, 64800, 0x04c7b8e4
+0, 7, 7, 1, 64800, 0x3185b288
+0, 8, 8, 1, 64800, 0xa537c410
+0, 9, 9, 1, 64800, 0x6495c0f8
+0, 10, 10, 1, 64800, 0x06a1ca14
+0, 11, 11, 1, 64800, 0x69cdd2a0
+0, 12, 12, 1, 64800, 0x4ad2d828
+0, 13, 13, 1, 64800, 0x9604dea4
+0, 14, 14, 1, 64800, 0x1c00e430
+0, 15, 15, 1, 64800, 0x9afeefe0
+0, 16, 16, 1, 64800, 0xc13fdd78
+0, 17, 17, 1, 64800, 0x8438da7c
+0, 18, 18, 1, 64800, 0xa0ead278
+0, 19, 19, 1, 64800, 0xbeced2d8
+0, 20, 20, 1, 64800, 0x85bbd7dc
+0, 21, 21, 1, 64800, 0xbe59ce34
+0, 22, 22, 1, 64800, 0xd76ecccc
+0, 23, 23, 1, 64800, 0xe182b474
+0, 24, 24, 1, 64800, 0x916cc394
+0, 25, 25, 1, 64800, 0x7efebd14
+0, 26, 26, 1, 64800, 0x8d28c9f0
+0, 27, 27, 1, 64800, 0x00a1c960
+0, 28, 28, 1, 64800, 0xc164c400
+0, 29, 29, 1, 64800, 0xfd4dc544
+0, 30, 30, 1, 64800, 0x01bfbe38
+0, 31, 31, 1, 64800, 0xff11b5d0
+0, 32, 32, 1, 64800, 0x4876bb20
+0, 33, 33, 1, 64800, 0x756ecb04
+0, 34, 34, 1, 64800, 0x3b8cd540
+0, 35, 35, 1, 64800, 0x063ed444
diff --git a/tests/ref/fate/corepng b/tests/ref/fate/corepng
index 2b197d2709..e20071405d 100644
--- a/tests/ref/fate/corepng
+++ b/tests/ref/fate/corepng
@@ -1,37 +1,39 @@
-0, 0, 230400, 0x03e25ead
-1, 0, 11026, 0x27ad637c
-0, 6000, 230400, 0x0a520ffd
-0, 12000, 230400, 0x0b11a671
-0, 18000, 230400, 0x7d3fce32
-0, 24000, 230400, 0x1edb18cc
-0, 30000, 230400, 0x1d470493
-0, 36000, 230400, 0xe53ba01d
-0, 42000, 230400, 0xc4df13c2
-1, 45004, 1470, 0x4af4b7a3
-0, 48000, 230400, 0x5febe6c9
-1, 51004, 1470, 0x2601fc3b
-0, 54000, 230400, 0xb0de2ed9
-1, 57004, 1470, 0xd94ec488
-0, 60000, 230400, 0x4991ee21
-1, 63004, 1470, 0x5ffb6bdd
-0, 66000, 230400, 0x6b367a75
-1, 69004, 1470, 0xc5fece50
-0, 72000, 230400, 0x1d406b55
-1, 75004, 1470, 0xf4988a98
-0, 78000, 230400, 0x2bbbf1d3
-1, 81004, 1470, 0xa839620f
-0, 84000, 230400, 0x2a5ee265
-1, 87004, 1470, 0x800a77ff
-0, 90000, 230400, 0x0ae9de8d
-1, 93004, 1470, 0x8fc8a729
-0, 96000, 230400, 0x567eabf8
-1, 99004, 1470, 0x78708001
-0, 102000, 230400, 0x00260e67
-1, 105004, 1470, 0xb601958b
-1, 111004, 1470, 0xb054d1d3
-1, 117004, 1470, 0xce18bb41
-1, 123004, 1470, 0x43d182f9
-1, 129004, 1470, 0xe9448449
-1, 135004, 1470, 0x175ea4b3
-1, 141004, 1470, 0xf96b0e6a
-1, 147004, 1470, 0x12cc42fb
+#tb 0: 1/15
+#tb 1: 1/11025
+0, 0, 0, 1, 230400, 0x03e25ead
+1, 0, 0, 5513, 11026, 0x27ad637c
+0, 1, 1, 1, 230400, 0x0a520ffd
+0, 2, 2, 1, 230400, 0x0b11a671
+0, 3, 3, 1, 230400, 0x7d3fce32
+0, 4, 4, 1, 230400, 0x1edb18cc
+0, 5, 5, 1, 230400, 0x1d470493
+0, 6, 6, 1, 230400, 0xe53ba01d
+0, 7, 7, 1, 230400, 0xc4df13c2
+1, 5513, 5513, 735, 1470, 0x4af4b7a3
+0, 8, 8, 1, 230400, 0x5febe6c9
+1, 6248, 6248, 735, 1470, 0x2601fc3b
+0, 9, 9, 1, 230400, 0xb0de2ed9
+1, 6983, 6983, 735, 1470, 0xd94ec488
+0, 10, 10, 1, 230400, 0x4991ee21
+1, 7718, 7718, 735, 1470, 0x5ffb6bdd
+0, 11, 11, 1, 230400, 0x6b367a75
+1, 8453, 8453, 735, 1470, 0xc5fece50
+0, 12, 12, 1, 230400, 0x1d406b55
+1, 9188, 9188, 735, 1470, 0xf4988a98
+0, 13, 13, 1, 230400, 0x2bbbf1d3
+1, 9923, 9923, 735, 1470, 0xa839620f
+0, 14, 14, 1, 230400, 0x2a5ee265
+1, 10658, 10658, 735, 1470, 0x800a77ff
+0, 15, 15, 1, 230400, 0x0ae9de8d
+1, 11393, 11393, 735, 1470, 0x8fc8a729
+0, 16, 16, 1, 230400, 0x567eabf8
+1, 12128, 12128, 735, 1470, 0x78708001
+0, 17, 17, 1, 230400, 0x00260e67
+1, 12863, 12863, 735, 1470, 0xb601958b
+1, 13598, 13598, 735, 1470, 0xb054d1d3
+1, 14333, 14333, 735, 1470, 0xce18bb41
+1, 15068, 15068, 735, 1470, 0x43d182f9
+1, 15803, 15803, 735, 1470, 0xe9448449
+1, 16538, 16538, 735, 1470, 0x175ea4b3
+1, 17273, 17273, 735, 1470, 0xf96b0e6a
+1, 18008, 18008, 735, 1470, 0x12cc42fb
diff --git a/tests/ref/fate/creatureshock-avs b/tests/ref/fate/creatureshock-avs
index bd6739f056..931fe18a11 100644
--- a/tests/ref/fate/creatureshock-avs
+++ b/tests/ref/fate/creatureshock-avs
@@ -1,92 +1,94 @@
-0, 0, 188892, 0xcb5be3dd
-1, 0, 16372, 0xfaaab59d
-0, 6000, 188892, 0x0f313ebc
-0, 12000, 188892, 0xc0da25cc
-0, 18000, 188892, 0xad6e1d44
-0, 24000, 188892, 0xb1103b40
-0, 30000, 188892, 0xae033450
-1, 33154, 4028, 0xc2daed72
-0, 36000, 188892, 0xb31f03b4
-1, 41310, 5486, 0xf7fd794d
-0, 42000, 188892, 0xacb2d3f9
-0, 48000, 188892, 0x7d77ecbd
-1, 52420, 5790, 0xfd5a369f
-0, 54000, 188892, 0x7faa2f6c
-0, 60000, 188892, 0x28f4fdf1
-1, 64145, 1068, 0x0b602cd0
-0, 66000, 188892, 0x4b53f3b9
-1, 66307, 4908, 0xfe870aad
-0, 72000, 188892, 0x1f09bb29
-1, 76246, 6062, 0x8a4d6e0f
-0, 78000, 188892, 0x3afcc11d
-0, 84000, 188892, 0x6b918e49
-1, 88522, 5402, 0x71fd352f
-0, 90000, 188892, 0x9630a04d
-0, 96000, 188892, 0x9381b4c1
-1, 99461, 544, 0xeb766d34
-1, 100563, 5906, 0x47ac7e08
-0, 102000, 188892, 0xa7dea7e5
-0, 108000, 188892, 0xd277c41d
-1, 112522, 5916, 0x0d26eb56
-0, 114000, 188892, 0xafa2a6c9
-0, 120000, 188892, 0x13a38839
-1, 124502, 4006, 0x9941c71a
-0, 126000, 188892, 0xcd5e5a6d
-0, 132000, 188892, 0xe7da71e9
-1, 132615, 2100, 0xc9a2ee36
-1, 136867, 5894, 0xd2ba4eaa
-0, 138000, 188892, 0x06928add
-0, 144000, 188892, 0x4a108eb9
-1, 148803, 6090, 0xf43e73d0
-0, 150000, 188892, 0xea2598f5
-0, 156000, 188892, 0x17ed6839
-1, 161135, 2288, 0x5a8b7aa0
-0, 162000, 188892, 0x9de6ab65
-1, 165768, 3850, 0x7f66eb2c
-0, 168000, 188892, 0xb4ee326f
-1, 173564, 5796, 0xc5cf3ee8
-0, 174000, 188892, 0x3f85095b
-0, 180000, 188892, 0xaab7e331
-1, 185302, 6042, 0xed80136d
-0, 186000, 188892, 0xc2a079e1
-0, 192000, 188892, 0x612080c2
-1, 197537, 684, 0xc42bd137
-0, 198000, 188892, 0xa7232d47
-1, 198922, 5436, 0xb7f8a6fd
-0, 204000, 188892, 0xc053297d
-1, 209930, 6098, 0xee6354a2
-0, 210000, 188892, 0x1ecc3bfe
-0, 216000, 188892, 0xcc4ac803
-0, 222000, 188892, 0x4b90047b
-1, 222278, 4838, 0x129e61d0
-0, 228000, 188892, 0xd863b643
-1, 232075, 1074, 0x9da90634
-0, 234000, 188892, 0x93a25fb1
-1, 234250, 6084, 0x8ffed952
-0, 240000, 188892, 0xf969e131
-0, 246000, 188892, 0x73bd2469
-1, 246571, 6038, 0xa07b4276
-0, 252000, 188892, 0x265a9ce2
-0, 258000, 188892, 0xd59ccd39
-1, 258798, 3176, 0xebef63c1
-0, 264000, 188892, 0xe50fc068
-1, 265229, 2794, 0xbe1000db
-0, 270000, 188892, 0x83113a86
-1, 270887, 6020, 0xd8e34961
-0, 276000, 188892, 0xa0203504
-0, 282000, 188892, 0x9e2d518c
-1, 283078, 6020, 0xc07cf461
-0, 288000, 188892, 0x5f610e66
-0, 294000, 188892, 0x9b77f900
-1, 295268, 1538, 0xc975ae02
-1, 298383, 4230, 0x0827111b
-0, 300000, 188892, 0xaaf279c2
-0, 306000, 188892, 0x4ac97cc2
-1, 306949, 6084, 0x2cf0a407
-0, 312000, 188892, 0xddd91642
-0, 318000, 188892, 0x4f32dcd1
-1, 319269, 5828, 0x12750279
-0, 324000, 188892, 0xdc126b42
-0, 330000, 188892, 0x00000000
-1, 331071, 230, 0xc9c03f3b
-1, 331536, 768, 0x6137a04d
+#tb 0: 1/15
+#tb 1: 1/22222
+0, 0, 0, 1, 188892, 0xcb5be3dd
+1, 0, 0, 8186, 16372, 0xfaaab59d
+0, 1, 1, 1, 188892, 0x0f313ebc
+0, 2, 2, 1, 188892, 0xc0da25cc
+0, 3, 3, 1, 188892, 0xad6e1d44
+0, 4, 4, 1, 188892, 0xb1103b40
+0, 5, 5, 1, 188892, 0xae033450
+1, 8186, 8186, 2014, 4028, 0xc2daed72
+0, 6, 6, 1, 188892, 0xb31f03b4
+1, 10200, 10200, 2743, 5486, 0xf7fd794d
+0, 7, 7, 1, 188892, 0xacb2d3f9
+0, 8, 8, 1, 188892, 0x7d77ecbd
+1, 12943, 12943, 2895, 5790, 0xfd5a369f
+0, 9, 9, 1, 188892, 0x7faa2f6c
+0, 10, 10, 1, 188892, 0x28f4fdf1
+1, 15838, 15838, 534, 1068, 0x0b602cd0
+0, 11, 11, 1, 188892, 0x4b53f3b9
+1, 16372, 16372, 2454, 4908, 0xfe870aad
+0, 12, 12, 1, 188892, 0x1f09bb29
+1, 18826, 18826, 3031, 6062, 0x8a4d6e0f
+0, 13, 13, 1, 188892, 0x3afcc11d
+0, 14, 14, 1, 188892, 0x6b918e49
+1, 21857, 21857, 2701, 5402, 0x71fd352f
+0, 15, 15, 1, 188892, 0x9630a04d
+0, 16, 16, 1, 188892, 0x9381b4c1
+1, 24558, 24558, 272, 544, 0xeb766d34
+1, 24830, 24830, 2953, 5906, 0x47ac7e08
+0, 17, 17, 1, 188892, 0xa7dea7e5
+0, 18, 18, 1, 188892, 0xd277c41d
+1, 27783, 27783, 2958, 5916, 0x0d26eb56
+0, 19, 19, 1, 188892, 0xafa2a6c9
+0, 20, 20, 1, 188892, 0x13a38839
+1, 30741, 30741, 2003, 4006, 0x9941c71a
+0, 21, 21, 1, 188892, 0xcd5e5a6d
+0, 22, 22, 1, 188892, 0xe7da71e9
+1, 32744, 32744, 1050, 2100, 0xc9a2ee36
+1, 33794, 33794, 2947, 5894, 0xd2ba4eaa
+0, 23, 23, 1, 188892, 0x06928add
+0, 24, 24, 1, 188892, 0x4a108eb9
+1, 36741, 36741, 3045, 6090, 0xf43e73d0
+0, 25, 25, 1, 188892, 0xea2598f5
+0, 26, 26, 1, 188892, 0x17ed6839
+1, 39786, 39786, 1144, 2288, 0x5a8b7aa0
+0, 27, 27, 1, 188892, 0x9de6ab65
+1, 40930, 40930, 1925, 3850, 0x7f66eb2c
+0, 28, 28, 1, 188892, 0xb4ee326f
+1, 42855, 42855, 2898, 5796, 0xc5cf3ee8
+0, 29, 29, 1, 188892, 0x3f85095b
+0, 30, 30, 1, 188892, 0xaab7e331
+1, 45753, 45753, 3021, 6042, 0xed80136d
+0, 31, 31, 1, 188892, 0xc2a079e1
+0, 32, 32, 1, 188892, 0x612080c2
+1, 48774, 48774, 342, 684, 0xc42bd137
+0, 33, 33, 1, 188892, 0xa7232d47
+1, 49116, 49116, 2718, 5436, 0xb7f8a6fd
+0, 34, 34, 1, 188892, 0xc053297d
+1, 51834, 51834, 3049, 6098, 0xee6354a2
+0, 35, 35, 1, 188892, 0x1ecc3bfe
+0, 36, 36, 1, 188892, 0xcc4ac803
+0, 37, 37, 1, 188892, 0x4b90047b
+1, 54883, 54883, 2419, 4838, 0x129e61d0
+0, 38, 38, 1, 188892, 0xd863b643
+1, 57302, 57302, 537, 1074, 0x9da90634
+0, 39, 39, 1, 188892, 0x93a25fb1
+1, 57839, 57839, 3042, 6084, 0x8ffed952
+0, 40, 40, 1, 188892, 0xf969e131
+0, 41, 41, 1, 188892, 0x73bd2469
+1, 60881, 60881, 3019, 6038, 0xa07b4276
+0, 42, 42, 1, 188892, 0x265a9ce2
+0, 43, 43, 1, 188892, 0xd59ccd39
+1, 63900, 63900, 1588, 3176, 0xebef63c1
+0, 44, 44, 1, 188892, 0xe50fc068
+1, 65488, 65488, 1397, 2794, 0xbe1000db
+0, 45, 45, 1, 188892, 0x83113a86
+1, 66885, 66885, 3010, 6020, 0xd8e34961
+0, 46, 46, 1, 188892, 0xa0203504
+0, 47, 47, 1, 188892, 0x9e2d518c
+1, 69895, 69895, 3010, 6020, 0xc07cf461
+0, 48, 48, 1, 188892, 0x5f610e66
+0, 49, 49, 1, 188892, 0x9b77f900
+1, 72905, 72905, 769, 1538, 0xc975ae02
+1, 73674, 73674, 2115, 4230, 0x0827111b
+0, 50, 50, 1, 188892, 0xaaf279c2
+0, 51, 51, 1, 188892, 0x4ac97cc2
+1, 75789, 75789, 3042, 6084, 0x2cf0a407
+0, 52, 52, 1, 188892, 0xddd91642
+0, 53, 53, 1, 188892, 0x4f32dcd1
+1, 78831, 78831, 2914, 5828, 0x12750279
+0, 54, 54, 1, 188892, 0xdc126b42
+0, 55, 55, 1, 188892, 0x00000000
+1, 81745, 81745, 115, 230, 0xc9c03f3b
+1, 81860, 81860, 384, 768, 0x6137a04d
diff --git a/tests/ref/fate/cscd b/tests/ref/fate/cscd
index 8b89e80a10..04b0c5521a 100644
--- a/tests/ref/fate/cscd
+++ b/tests/ref/fate/cscd
@@ -1,208 +1,209 @@
-0, 0, 270000, 0xf90015d8
-0, 2865, 270000, 0xf90015d8
-0, 5729, 270000, 0xf90015d8
-0, 8594, 270000, 0xf90015d8
-0, 11459, 270000, 0xf90015d8
-0, 14324, 270000, 0xf90015d8
-0, 17188, 270000, 0xf90015d8
-0, 20053, 270000, 0xf90015d8
-0, 22918, 270000, 0xf90015d8
-0, 25782, 270000, 0xf90015d8
-0, 28647, 270000, 0xf90015d8
-0, 31512, 270000, 0xf90015d8
-0, 34377, 270000, 0xf90015d8
-0, 37241, 270000, 0xf90015d8
-0, 40106, 270000, 0xf90015d8
-0, 42971, 270000, 0xf90015d8
-0, 45836, 270000, 0xf90015d8
-0, 48700, 270000, 0xf90015d8
-0, 51565, 270000, 0xf90015d8
-0, 54430, 270000, 0xf90015d8
-0, 57294, 270000, 0xf90015d8
-0, 60159, 270000, 0xf90015d8
-0, 63024, 270000, 0xf90015d8
-0, 65889, 270000, 0xf90015d8
-0, 68753, 270000, 0xf90015d8
-0, 71618, 270000, 0xf90015d8
-0, 74483, 270000, 0xf90015d8
-0, 77347, 270000, 0xf90015d8
-0, 80212, 270000, 0xf90015d8
-0, 83077, 270000, 0xf90015d8
-0, 85942, 270000, 0xf90015d8
-0, 88806, 270000, 0xf90015d8
-0, 91671, 270000, 0xf90015d8
-0, 94536, 270000, 0xf90015d8
-0, 97401, 270000, 0xf90015d8
-0, 100265, 270000, 0xf90015d8
-0, 103130, 270000, 0xf90015d8
-0, 105995, 270000, 0xf90015d8
-0, 108859, 270000, 0xf90015d8
-0, 111724, 270000, 0x1f9c15d8
-0, 114589, 270000, 0x436f15d8
-0, 117454, 270000, 0xe90115d8
-0, 120318, 270000, 0xe90115d8
-0, 123183, 270000, 0x8ea215d8
-0, 126048, 270000, 0x424015d8
-0, 128912, 270000, 0x0ce315d8
-0, 131777, 270000, 0x14bc15d8
-0, 134642, 270000, 0x2a9215d8
-0, 137507, 270000, 0x233f15d8
-0, 140371, 270000, 0x764b15d8
-0, 143236, 270000, 0xf76115d8
-0, 146101, 270000, 0xbbe015d8
-0, 148966, 270000, 0x95af15d8
-0, 151830, 270000, 0x324815d8
-0, 154695, 270000, 0x311915d8
-0, 157560, 270000, 0x090ef191
-0, 160424, 270000, 0xd88974dc
-0, 163289, 270000, 0xfa7f58df
-0, 166154, 270000, 0x78f849c3
-0, 169019, 270000, 0xae174892
-0, 171883, 270000, 0x9d4e2332
-0, 174748, 270000, 0x874b09b4
-0, 177613, 270000, 0x4069fed6
-0, 180477, 270000, 0x4069fed6
-0, 183342, 270000, 0x4069fed6
-0, 186207, 270000, 0x4069fed6
-0, 189072, 270000, 0x4069fed6
-0, 191936, 270000, 0x4069fed6
-0, 194801, 270000, 0x4069fed6
-0, 197666, 270000, 0x4069fed6
-0, 200531, 270000, 0x4069fed6
-0, 203395, 270000, 0x4069fed6
-0, 206260, 270000, 0x4069fed6
-0, 209125, 270000, 0x773db046
-0, 211989, 270000, 0x773db046
-0, 214854, 270000, 0x773db046
-0, 217719, 270000, 0x773db046
-0, 220584, 270000, 0x773db046
-0, 223448, 270000, 0x773db046
-0, 226313, 270000, 0x773db046
-0, 229178, 270000, 0x773db046
-0, 232042, 270000, 0x773db046
-0, 234907, 270000, 0x773db046
-0, 237772, 270000, 0x773db046
-0, 240637, 270000, 0x773db046
-0, 243501, 270000, 0x773db046
-0, 246366, 270000, 0x773db046
-0, 249231, 270000, 0x773db046
-0, 252095, 270000, 0x773db046
-0, 254960, 270000, 0x773db046
-0, 257825, 270000, 0x17b9aec9
-0, 260690, 270000, 0x622fad4c
-0, 263554, 270000, 0xdaea3aef
-0, 266419, 270000, 0x61bb10e3
-0, 269284, 270000, 0xfc37ee0c
-0, 272149, 270000, 0x50dbd01e
-0, 275013, 270000, 0xcd66c27c
-0, 277878, 270000, 0xd13f1e4f
-0, 280743, 270000, 0xa4a2dbf5
-0, 283607, 270000, 0xf302c9ab
-0, 286472, 270000, 0x4479f7fe
-0, 289337, 270000, 0x1afe92c8
-0, 292202, 270000, 0x3007f4c3
-0, 295066, 270000, 0x5834c096
-0, 297931, 270000, 0x40109126
-0, 300796, 270000, 0x0a7b8882
-0, 303660, 270000, 0x15b8635d
-0, 306525, 270000, 0xeaa5598e
-0, 309390, 270000, 0x0b7b5489
-0, 312255, 270000, 0x0b7b5489
-0, 315119, 270000, 0x0b7b5489
-0, 317984, 270000, 0x0b7b5489
-0, 320849, 270000, 0x8f0e6eaa
-0, 323714, 270000, 0xc46fc0f2
-0, 326578, 270000, 0xadd7e605
-0, 329443, 270000, 0x9d23a056
-0, 332308, 270000, 0x365afa63
-0, 335172, 270000, 0x6ac3bda2
-0, 338037, 270000, 0x14f5daf2
-0, 340902, 270000, 0x4b3afb6a
-0, 343767, 270000, 0x1a3302e3
-0, 346631, 270000, 0x1a3302e3
-0, 349496, 270000, 0x1a3302e3
-0, 352361, 270000, 0x1a3302e3
-0, 355225, 270000, 0xc15526e2
-0, 358090, 270000, 0x3dd73006
-0, 360955, 270000, 0x60abb5bc
-0, 363820, 270000, 0xb960c27c
-0, 366684, 270000, 0x8fa4c01c
-0, 369549, 270000, 0x8fa4c01c
-0, 372414, 270000, 0x8fa4c01c
-0, 375279, 270000, 0xb20dcc38
-0, 378143, 270000, 0x03c6ad3c
-0, 381008, 270000, 0xe550b194
-0, 383873, 270000, 0xe550b194
-0, 386737, 270000, 0xe550b194
-0, 389602, 270000, 0xe550b194
-0, 392467, 270000, 0xe550b194
-0, 395332, 270000, 0xe550b194
-0, 398196, 270000, 0xe550b194
-0, 401061, 270000, 0xe550b194
-0, 403926, 270000, 0xe550b194
-0, 406790, 270000, 0xe550b194
-0, 409655, 270000, 0xe550b194
-0, 412520, 270000, 0xe550b194
-0, 415385, 270000, 0xe550b194
-0, 418249, 270000, 0xe550b194
-0, 421114, 270000, 0x4550a014
-0, 423979, 270000, 0xaf639da8
-0, 426844, 270000, 0xe4229da8
-0, 429708, 270000, 0x315d9da8
-0, 432573, 270000, 0x7e899da8
-0, 435438, 270000, 0x99b9a8a0
-0, 438302, 270000, 0x4588ac2a
-0, 441167, 270000, 0x1e79ae6e
-0, 444032, 270000, 0xa003cb14
-0, 446897, 270000, 0x03ef1bb8
-0, 449761, 270000, 0x3b3f30fc
-0, 452626, 270000, 0x4dad3525
-0, 455491, 270000, 0x5b600c12
-0, 458355, 270000, 0x75a1fab3
-0, 461220, 270000, 0xc9f7d9ad
-0, 464085, 270000, 0x9eaec58d
-0, 466950, 270000, 0xb91bc3e8
-0, 469814, 270000, 0x77bdbbfb
-0, 472679, 270000, 0x77bdbbfb
-0, 475544, 270000, 0x77bdbbfb
-0, 478408, 270000, 0x77bdbbfb
-0, 481273, 270000, 0x77bdbbfb
-0, 484138, 270000, 0x77bdbbfb
-0, 487003, 270000, 0x3d54eac2
-0, 489867, 270000, 0x3d54eac2
-0, 492732, 270000, 0x3d54eac2
-0, 495597, 270000, 0x3d54eac2
-0, 498462, 270000, 0x3d54eac2
-0, 501326, 270000, 0x3d54eac2
-0, 504191, 270000, 0x3d54eac2
-0, 507056, 270000, 0x3d54eac2
-0, 509920, 270000, 0x3d54eac2
-0, 512785, 270000, 0x3d54eac2
-0, 515650, 270000, 0x3d54eac2
-0, 518515, 270000, 0x3d54eac2
-0, 521379, 270000, 0x3d54eac2
-0, 524244, 270000, 0x3d54eac2
-0, 527109, 270000, 0x3d54eac2
-0, 529973, 270000, 0x3d54eac2
-0, 532838, 270000, 0x3d54eac2
-0, 535703, 270000, 0x3d54eac2
-0, 538568, 270000, 0x3d54eac2
-0, 541432, 270000, 0x5f3609ba
-0, 544297, 270000, 0x80921b0c
-0, 547162, 270000, 0x80921b0c
-0, 550027, 270000, 0x80921b0c
-0, 552891, 270000, 0x80921b0c
-0, 555756, 270000, 0x80921b0c
-0, 558621, 270000, 0x80921b0c
-0, 561485, 270000, 0x80921b0c
-0, 564350, 270000, 0x80921b0c
-0, 567215, 270000, 0x80921b0c
-0, 570080, 270000, 0x80921b0c
-0, 572944, 270000, 0x80921b0c
-0, 575809, 270000, 0x80921b0c
-0, 578674, 270000, 0x80921b0c
-0, 581538, 270000, 0x80921b0c
-0, 584403, 270000, 0x80921b0c
-0, 587268, 270000, 0x80921b0c
-0, 590133, 270000, 0xf0e626a8
-0, 592997, 270000, 0xf0e626a8
+#tb 0: 12/377
+0, 0, 0, 1, 270000, 0xf90015d8
+0, 1, 1, 1, 270000, 0xf90015d8
+0, 2, 2, 1, 270000, 0xf90015d8
+0, 3, 3, 1, 270000, 0xf90015d8
+0, 4, 4, 1, 270000, 0xf90015d8
+0, 5, 5, 1, 270000, 0xf90015d8
+0, 6, 6, 1, 270000, 0xf90015d8
+0, 7, 7, 1, 270000, 0xf90015d8
+0, 8, 8, 1, 270000, 0xf90015d8
+0, 9, 9, 1, 270000, 0xf90015d8
+0, 10, 10, 1, 270000, 0xf90015d8
+0, 11, 11, 1, 270000, 0xf90015d8
+0, 12, 12, 1, 270000, 0xf90015d8
+0, 13, 13, 1, 270000, 0xf90015d8
+0, 14, 14, 1, 270000, 0xf90015d8
+0, 15, 15, 1, 270000, 0xf90015d8
+0, 16, 16, 1, 270000, 0xf90015d8
+0, 17, 17, 1, 270000, 0xf90015d8
+0, 18, 18, 1, 270000, 0xf90015d8
+0, 19, 19, 1, 270000, 0xf90015d8
+0, 20, 20, 1, 270000, 0xf90015d8
+0, 21, 21, 1, 270000, 0xf90015d8
+0, 22, 22, 1, 270000, 0xf90015d8
+0, 23, 23, 1, 270000, 0xf90015d8
+0, 24, 24, 1, 270000, 0xf90015d8
+0, 25, 25, 1, 270000, 0xf90015d8
+0, 26, 26, 1, 270000, 0xf90015d8
+0, 27, 27, 1, 270000, 0xf90015d8
+0, 28, 28, 1, 270000, 0xf90015d8
+0, 29, 29, 1, 270000, 0xf90015d8
+0, 30, 30, 1, 270000, 0xf90015d8
+0, 31, 31, 1, 270000, 0xf90015d8
+0, 32, 32, 1, 270000, 0xf90015d8
+0, 33, 33, 1, 270000, 0xf90015d8
+0, 34, 34, 1, 270000, 0xf90015d8
+0, 35, 35, 1, 270000, 0xf90015d8
+0, 36, 36, 1, 270000, 0xf90015d8
+0, 37, 37, 1, 270000, 0xf90015d8
+0, 38, 38, 1, 270000, 0xf90015d8
+0, 39, 39, 1, 270000, 0x1f9c15d8
+0, 40, 40, 1, 270000, 0x436f15d8
+0, 41, 41, 1, 270000, 0xe90115d8
+0, 42, 42, 1, 270000, 0xe90115d8
+0, 43, 43, 1, 270000, 0x8ea215d8
+0, 44, 44, 1, 270000, 0x424015d8
+0, 45, 45, 1, 270000, 0x0ce315d8
+0, 46, 46, 1, 270000, 0x14bc15d8
+0, 47, 47, 1, 270000, 0x2a9215d8
+0, 48, 48, 1, 270000, 0x233f15d8
+0, 49, 49, 1, 270000, 0x764b15d8
+0, 50, 50, 1, 270000, 0xf76115d8
+0, 51, 51, 1, 270000, 0xbbe015d8
+0, 52, 52, 1, 270000, 0x95af15d8
+0, 53, 53, 1, 270000, 0x324815d8
+0, 54, 54, 1, 270000, 0x311915d8
+0, 55, 55, 1, 270000, 0x090ef191
+0, 56, 56, 1, 270000, 0xd88974dc
+0, 57, 57, 1, 270000, 0xfa7f58df
+0, 58, 58, 1, 270000, 0x78f849c3
+0, 59, 59, 1, 270000, 0xae174892
+0, 60, 60, 1, 270000, 0x9d4e2332
+0, 61, 61, 1, 270000, 0x874b09b4
+0, 62, 62, 1, 270000, 0x4069fed6
+0, 63, 63, 1, 270000, 0x4069fed6
+0, 64, 64, 1, 270000, 0x4069fed6
+0, 65, 65, 1, 270000, 0x4069fed6
+0, 66, 66, 1, 270000, 0x4069fed6
+0, 67, 67, 1, 270000, 0x4069fed6
+0, 68, 68, 1, 270000, 0x4069fed6
+0, 69, 69, 1, 270000, 0x4069fed6
+0, 70, 70, 1, 270000, 0x4069fed6
+0, 71, 71, 1, 270000, 0x4069fed6
+0, 72, 72, 1, 270000, 0x4069fed6
+0, 73, 73, 1, 270000, 0x773db046
+0, 74, 74, 1, 270000, 0x773db046
+0, 75, 75, 1, 270000, 0x773db046
+0, 76, 76, 1, 270000, 0x773db046
+0, 77, 77, 1, 270000, 0x773db046
+0, 78, 78, 1, 270000, 0x773db046
+0, 79, 79, 1, 270000, 0x773db046
+0, 80, 80, 1, 270000, 0x773db046
+0, 81, 81, 1, 270000, 0x773db046
+0, 82, 82, 1, 270000, 0x773db046
+0, 83, 83, 1, 270000, 0x773db046
+0, 84, 84, 1, 270000, 0x773db046
+0, 85, 85, 1, 270000, 0x773db046
+0, 86, 86, 1, 270000, 0x773db046
+0, 87, 87, 1, 270000, 0x773db046
+0, 88, 88, 1, 270000, 0x773db046
+0, 89, 89, 1, 270000, 0x773db046
+0, 90, 90, 1, 270000, 0x17b9aec9
+0, 91, 91, 1, 270000, 0x622fad4c
+0, 92, 92, 1, 270000, 0xdaea3aef
+0, 93, 93, 1, 270000, 0x61bb10e3
+0, 94, 94, 1, 270000, 0xfc37ee0c
+0, 95, 95, 1, 270000, 0x50dbd01e
+0, 96, 96, 1, 270000, 0xcd66c27c
+0, 97, 97, 1, 270000, 0xd13f1e4f
+0, 98, 98, 1, 270000, 0xa4a2dbf5
+0, 99, 99, 1, 270000, 0xf302c9ab
+0, 100, 100, 1, 270000, 0x4479f7fe
+0, 101, 101, 1, 270000, 0x1afe92c8
+0, 102, 102, 1, 270000, 0x3007f4c3
+0, 103, 103, 1, 270000, 0x5834c096
+0, 104, 104, 1, 270000, 0x40109126
+0, 105, 105, 1, 270000, 0x0a7b8882
+0, 106, 106, 1, 270000, 0x15b8635d
+0, 107, 107, 1, 270000, 0xeaa5598e
+0, 108, 108, 1, 270000, 0x0b7b5489
+0, 109, 109, 1, 270000, 0x0b7b5489
+0, 110, 110, 1, 270000, 0x0b7b5489
+0, 111, 111, 1, 270000, 0x0b7b5489
+0, 112, 112, 1, 270000, 0x8f0e6eaa
+0, 113, 113, 1, 270000, 0xc46fc0f2
+0, 114, 114, 1, 270000, 0xadd7e605
+0, 115, 115, 1, 270000, 0x9d23a056
+0, 116, 116, 1, 270000, 0x365afa63
+0, 117, 117, 1, 270000, 0x6ac3bda2
+0, 118, 118, 1, 270000, 0x14f5daf2
+0, 119, 119, 1, 270000, 0x4b3afb6a
+0, 120, 120, 1, 270000, 0x1a3302e3
+0, 121, 121, 1, 270000, 0x1a3302e3
+0, 122, 122, 1, 270000, 0x1a3302e3
+0, 123, 123, 1, 270000, 0x1a3302e3
+0, 124, 124, 1, 270000, 0xc15526e2
+0, 125, 125, 1, 270000, 0x3dd73006
+0, 126, 126, 1, 270000, 0x60abb5bc
+0, 127, 127, 1, 270000, 0xb960c27c
+0, 128, 128, 1, 270000, 0x8fa4c01c
+0, 129, 129, 1, 270000, 0x8fa4c01c
+0, 130, 130, 1, 270000, 0x8fa4c01c
+0, 131, 131, 1, 270000, 0xb20dcc38
+0, 132, 132, 1, 270000, 0x03c6ad3c
+0, 133, 133, 1, 270000, 0xe550b194
+0, 134, 134, 1, 270000, 0xe550b194
+0, 135, 135, 1, 270000, 0xe550b194
+0, 136, 136, 1, 270000, 0xe550b194
+0, 137, 137, 1, 270000, 0xe550b194
+0, 138, 138, 1, 270000, 0xe550b194
+0, 139, 139, 1, 270000, 0xe550b194
+0, 140, 140, 1, 270000, 0xe550b194
+0, 141, 141, 1, 270000, 0xe550b194
+0, 142, 142, 1, 270000, 0xe550b194
+0, 143, 143, 1, 270000, 0xe550b194
+0, 144, 144, 1, 270000, 0xe550b194
+0, 145, 145, 1, 270000, 0xe550b194
+0, 146, 146, 1, 270000, 0xe550b194
+0, 147, 147, 1, 270000, 0x4550a014
+0, 148, 148, 1, 270000, 0xaf639da8
+0, 149, 149, 1, 270000, 0xe4229da8
+0, 150, 150, 1, 270000, 0x315d9da8
+0, 151, 151, 1, 270000, 0x7e899da8
+0, 152, 152, 1, 270000, 0x99b9a8a0
+0, 153, 153, 1, 270000, 0x4588ac2a
+0, 154, 154, 1, 270000, 0x1e79ae6e
+0, 155, 155, 1, 270000, 0xa003cb14
+0, 156, 156, 1, 270000, 0x03ef1bb8
+0, 157, 157, 1, 270000, 0x3b3f30fc
+0, 158, 158, 1, 270000, 0x4dad3525
+0, 159, 159, 1, 270000, 0x5b600c12
+0, 160, 160, 1, 270000, 0x75a1fab3
+0, 161, 161, 1, 270000, 0xc9f7d9ad
+0, 162, 162, 1, 270000, 0x9eaec58d
+0, 163, 163, 1, 270000, 0xb91bc3e8
+0, 164, 164, 1, 270000, 0x77bdbbfb
+0, 165, 165, 1, 270000, 0x77bdbbfb
+0, 166, 166, 1, 270000, 0x77bdbbfb
+0, 167, 167, 1, 270000, 0x77bdbbfb
+0, 168, 168, 1, 270000, 0x77bdbbfb
+0, 169, 169, 1, 270000, 0x77bdbbfb
+0, 170, 170, 1, 270000, 0x3d54eac2
+0, 171, 171, 1, 270000, 0x3d54eac2
+0, 172, 172, 1, 270000, 0x3d54eac2
+0, 173, 173, 1, 270000, 0x3d54eac2
+0, 174, 174, 1, 270000, 0x3d54eac2
+0, 175, 175, 1, 270000, 0x3d54eac2
+0, 176, 176, 1, 270000, 0x3d54eac2
+0, 177, 177, 1, 270000, 0x3d54eac2
+0, 178, 178, 1, 270000, 0x3d54eac2
+0, 179, 179, 1, 270000, 0x3d54eac2
+0, 180, 180, 1, 270000, 0x3d54eac2
+0, 181, 181, 1, 270000, 0x3d54eac2
+0, 182, 182, 1, 270000, 0x3d54eac2
+0, 183, 183, 1, 270000, 0x3d54eac2
+0, 184, 184, 1, 270000, 0x3d54eac2
+0, 185, 185, 1, 270000, 0x3d54eac2
+0, 186, 186, 1, 270000, 0x3d54eac2
+0, 187, 187, 1, 270000, 0x3d54eac2
+0, 188, 188, 1, 270000, 0x3d54eac2
+0, 189, 189, 1, 270000, 0x5f3609ba
+0, 190, 190, 1, 270000, 0x80921b0c
+0, 191, 191, 1, 270000, 0x80921b0c
+0, 192, 192, 1, 270000, 0x80921b0c
+0, 193, 193, 1, 270000, 0x80921b0c
+0, 194, 194, 1, 270000, 0x80921b0c
+0, 195, 195, 1, 270000, 0x80921b0c
+0, 196, 196, 1, 270000, 0x80921b0c
+0, 197, 197, 1, 270000, 0x80921b0c
+0, 198, 198, 1, 270000, 0x80921b0c
+0, 199, 199, 1, 270000, 0x80921b0c
+0, 200, 200, 1, 270000, 0x80921b0c
+0, 201, 201, 1, 270000, 0x80921b0c
+0, 202, 202, 1, 270000, 0x80921b0c
+0, 203, 203, 1, 270000, 0x80921b0c
+0, 204, 204, 1, 270000, 0x80921b0c
+0, 205, 205, 1, 270000, 0x80921b0c
+0, 206, 206, 1, 270000, 0xf0e626a8
+0, 207, 207, 1, 270000, 0xf0e626a8
diff --git a/tests/ref/fate/cvid-grayscale b/tests/ref/fate/cvid-grayscale
index 4e3957156f..87ca600add 100644
--- a/tests/ref/fate/cvid-grayscale
+++ b/tests/ref/fate/cvid-grayscale
@@ -1,152 +1,153 @@
-0, 0, 11300, 0x46c78923
-0, 17921, 11300, 0x3f2a1175
-0, 35842, 11300, 0x722de221
-0, 53763, 11300, 0x01746b88
-0, 71684, 11300, 0x549587a7
-0, 89605, 11300, 0x843ab943
-0, 107526, 11300, 0x62fdee48
-0, 125447, 11300, 0x74a62867
-0, 143368, 11300, 0x35a20e2f
-0, 161289, 11300, 0x4e9ef54d
-0, 179210, 11300, 0xec7201f5
-0, 197131, 11300, 0x363bfe27
-0, 215052, 11300, 0x2aaab418
-0, 232973, 11300, 0x6a48ab3f
-0, 250894, 11300, 0x3fecea34
-0, 268815, 11300, 0xa371f55e
-0, 286736, 11300, 0xa86b147c
-0, 304657, 11300, 0x49e9206e
-0, 322578, 11300, 0x6c9a2155
-0, 340499, 11300, 0x2c8a4798
-0, 358420, 11300, 0x3485676c
-0, 376341, 11300, 0xb0b293f2
-0, 394262, 11300, 0xe4a9b068
-0, 412183, 11300, 0xd68d0556
-0, 430104, 11300, 0xc28e5193
-0, 448025, 11300, 0xf6948483
-0, 465945, 11300, 0xf21fbf57
-0, 483866, 11300, 0x8345eb44
-0, 501787, 11300, 0x8124f045
-0, 519708, 11300, 0x18e31f10
-0, 537629, 11300, 0xdb1943fc
-0, 555550, 11300, 0x8701699f
-0, 573471, 11300, 0xd7b18550
-0, 591392, 11300, 0xa56faccc
-0, 609313, 11300, 0xf8bcc17c
-0, 627234, 11300, 0x446acab9
-0, 645155, 11300, 0x755fd295
-0, 663076, 11300, 0x92e3d100
-0, 680997, 11300, 0x54895bb3
-0, 698918, 11300, 0xd18bffda
-0, 716839, 11300, 0x480dbe4f
-0, 734760, 11300, 0x49ea9dbe
-0, 752681, 11300, 0x00d3a003
-0, 770602, 11300, 0xda7bbfb2
-0, 788523, 11300, 0x9700d9c2
-0, 806444, 11300, 0xa0a9e490
-0, 824365, 11300, 0x00eb0979
-0, 842286, 11300, 0x32b04630
-0, 860207, 11300, 0xdfb73e51
-0, 878128, 11300, 0x3d8e4f96
-0, 896049, 11300, 0x2ca83271
-0, 913970, 11300, 0xb5b123c0
-0, 931891, 11300, 0x8a570e58
-0, 949812, 11300, 0xc6c805bc
-0, 967733, 11300, 0x27caf7a5
-0, 985654, 11300, 0x5319ecb0
-0, 1003575, 11300, 0x5471e3fd
-0, 1021496, 11300, 0x6d68a6f4
-0, 1039417, 11300, 0x872b7194
-0, 1057338, 11300, 0x007c36bd
-0, 1075259, 11300, 0x2714f1b5
-0, 1093180, 11300, 0x6c8eb50f
-0, 1111101, 11300, 0xf5d57be8
-0, 1129022, 11300, 0x981f412b
-0, 1146943, 11300, 0x1a9804a1
-0, 1164864, 11300, 0xf0c1d24a
-0, 1182785, 11300, 0xa70a9d9b
-0, 1200706, 11300, 0x8c466876
-0, 1218627, 11300, 0xcf2e32df
-0, 1236548, 11300, 0xcb8cfebf
-0, 1254469, 11300, 0xb961ca99
-0, 1272390, 11300, 0x666d9619
-0, 1290311, 11300, 0x84bf5b55
-0, 1308232, 11300, 0xbfa22ccc
-0, 1326153, 11300, 0xcde41849
-0, 1344074, 11300, 0x71372dcd
-0, 1361994, 11300, 0x13402cfd
-0, 1379915, 11300, 0xdebdd321
-0, 1397836, 11300, 0xdda66de1
-0, 1415757, 11300, 0x7f4bb682
-0, 1433678, 11300, 0xf67fd528
-0, 1451599, 11300, 0xe739ff8c
-0, 1469520, 11300, 0x2e131774
-0, 1487441, 11300, 0xfa942811
-0, 1505362, 11300, 0x0cd93ac2
-0, 1523283, 11300, 0xd0445e0e
-0, 1541204, 11300, 0x3f3497c7
-0, 1559125, 11300, 0x11b5bd2c
-0, 1577046, 11300, 0xccd5e62a
-0, 1594967, 11300, 0xa9d4fcb5
-0, 1612888, 11300, 0x34aa1a03
-0, 1630809, 11300, 0x1ce6299e
-0, 1648730, 11300, 0x661c2745
-0, 1666651, 11300, 0x27d8a8b3
-0, 1684572, 11300, 0x9eb07467
-0, 1702493, 11300, 0x128374d2
-0, 1720414, 11300, 0x05c36ff5
-0, 1738335, 11300, 0x8a136bde
-0, 1756256, 11300, 0x15c47c99
-0, 1774177, 11300, 0xcc4a93f4
-0, 1792098, 11300, 0x19529b2b
-0, 1810019, 11300, 0x9943c076
-0, 1827940, 11300, 0xf898e583
-0, 1845861, 11300, 0x40f71f94
-0, 1863782, 11300, 0x5b604afb
-0, 1881703, 11300, 0x8c176af4
-0, 1899624, 11300, 0x0f1a6216
-0, 1917545, 11300, 0x38bbd13d
-0, 1935466, 11300, 0x90c8d1fc
-0, 1953387, 11300, 0x253000d7
-0, 1971308, 11300, 0xb94b03b1
-0, 1989229, 11300, 0xbc872268
-0, 2007150, 11300, 0xe77adb8c
-0, 2025071, 11300, 0xa38936b7
-0, 2042992, 11300, 0xd6153632
-0, 2060913, 11300, 0x1ae633cc
-0, 2078834, 11300, 0xb90c286e
-0, 2096755, 11300, 0xbc7e333d
-0, 2114676, 11300, 0x1b5421f8
-0, 2132597, 11300, 0xdde6506d
-0, 2150518, 11300, 0xd3eb757e
-0, 2168439, 11300, 0x5ad1929c
-0, 2186360, 11300, 0x4f6aa47d
-0, 2204281, 11300, 0xab3caf55
-0, 2222202, 11300, 0x5ff9b39a
-0, 2240123, 11300, 0x1454e12e
-0, 2258043, 11300, 0xf18216e8
-0, 2275964, 11300, 0x62144880
-0, 2293885, 11300, 0x54284241
-0, 2311806, 11300, 0x8e8c7228
-0, 2329727, 11300, 0xb498d06e
-0, 2347648, 11300, 0x7b1e6be1
-0, 2365569, 11300, 0x5e5ea1f4
-0, 2383490, 11300, 0x41eda28e
-0, 2401411, 11300, 0x7ba6aa92
-0, 2419332, 11300, 0xa8a8b1c7
-0, 2437253, 11300, 0x0d30bd08
-0, 2455174, 11300, 0xc610bf16
-0, 2473095, 11300, 0xed57c075
-0, 2491016, 11300, 0xb86dbfea
-0, 2508937, 11300, 0x0970c03d
-0, 2526858, 11300, 0x743ac2ac
-0, 2544779, 11300, 0x0a44c816
-0, 2562700, 11300, 0xe32acd6b
-0, 2580621, 11300, 0x209bcdab
-0, 2598542, 11300, 0x3cd0d105
-0, 2616463, 11300, 0xc0bcd330
-0, 2634384, 11300, 0x4785d6dc
-0, 2652305, 11300, 0xe85f9c90
-0, 2670226, 11300, 0xd4a72850
-0, 2688147, 11300, 0x04766e41
-0, 2706068, 11300, 0x04766e41
+#tb 0: 99561/500000
+0, 0, 0, 1, 11300, 0x46c78923
+0, 1, 1, 1, 11300, 0x3f2a1175
+0, 2, 2, 1, 11300, 0x722de221
+0, 3, 3, 1, 11300, 0x01746b88
+0, 4, 4, 1, 11300, 0x549587a7
+0, 5, 5, 1, 11300, 0x843ab943
+0, 6, 6, 1, 11300, 0x62fdee48
+0, 7, 7, 1, 11300, 0x74a62867
+0, 8, 8, 1, 11300, 0x35a20e2f
+0, 9, 9, 1, 11300, 0x4e9ef54d
+0, 10, 10, 1, 11300, 0xec7201f5
+0, 11, 11, 1, 11300, 0x363bfe27
+0, 12, 12, 1, 11300, 0x2aaab418
+0, 13, 13, 1, 11300, 0x6a48ab3f
+0, 14, 14, 1, 11300, 0x3fecea34
+0, 15, 15, 1, 11300, 0xa371f55e
+0, 16, 16, 1, 11300, 0xa86b147c
+0, 17, 17, 1, 11300, 0x49e9206e
+0, 18, 18, 1, 11300, 0x6c9a2155
+0, 19, 19, 1, 11300, 0x2c8a4798
+0, 20, 20, 1, 11300, 0x3485676c
+0, 21, 21, 1, 11300, 0xb0b293f2
+0, 22, 22, 1, 11300, 0xe4a9b068
+0, 23, 23, 1, 11300, 0xd68d0556
+0, 24, 24, 1, 11300, 0xc28e5193
+0, 25, 25, 1, 11300, 0xf6948483
+0, 26, 26, 1, 11300, 0xf21fbf57
+0, 27, 27, 1, 11300, 0x8345eb44
+0, 28, 28, 1, 11300, 0x8124f045
+0, 29, 29, 1, 11300, 0x18e31f10
+0, 30, 30, 1, 11300, 0xdb1943fc
+0, 31, 31, 1, 11300, 0x8701699f
+0, 32, 32, 1, 11300, 0xd7b18550
+0, 33, 33, 1, 11300, 0xa56faccc
+0, 34, 34, 1, 11300, 0xf8bcc17c
+0, 35, 35, 1, 11300, 0x446acab9
+0, 36, 36, 1, 11300, 0x755fd295
+0, 37, 37, 1, 11300, 0x92e3d100
+0, 38, 38, 1, 11300, 0x54895bb3
+0, 39, 39, 1, 11300, 0xd18bffda
+0, 40, 40, 1, 11300, 0x480dbe4f
+0, 41, 41, 1, 11300, 0x49ea9dbe
+0, 42, 42, 1, 11300, 0x00d3a003
+0, 43, 43, 1, 11300, 0xda7bbfb2
+0, 44, 44, 1, 11300, 0x9700d9c2
+0, 45, 45, 1, 11300, 0xa0a9e490
+0, 46, 46, 1, 11300, 0x00eb0979
+0, 47, 47, 1, 11300, 0x32b04630
+0, 48, 48, 1, 11300, 0xdfb73e51
+0, 49, 49, 1, 11300, 0x3d8e4f96
+0, 50, 50, 1, 11300, 0x2ca83271
+0, 51, 51, 1, 11300, 0xb5b123c0
+0, 52, 52, 1, 11300, 0x8a570e58
+0, 53, 53, 1, 11300, 0xc6c805bc
+0, 54, 54, 1, 11300, 0x27caf7a5
+0, 55, 55, 1, 11300, 0x5319ecb0
+0, 56, 56, 1, 11300, 0x5471e3fd
+0, 57, 57, 1, 11300, 0x6d68a6f4
+0, 58, 58, 1, 11300, 0x872b7194
+0, 59, 59, 1, 11300, 0x007c36bd
+0, 60, 60, 1, 11300, 0x2714f1b5
+0, 61, 61, 1, 11300, 0x6c8eb50f
+0, 62, 62, 1, 11300, 0xf5d57be8
+0, 63, 63, 1, 11300, 0x981f412b
+0, 64, 64, 1, 11300, 0x1a9804a1
+0, 65, 65, 1, 11300, 0xf0c1d24a
+0, 66, 66, 1, 11300, 0xa70a9d9b
+0, 67, 67, 1, 11300, 0x8c466876
+0, 68, 68, 1, 11300, 0xcf2e32df
+0, 69, 69, 1, 11300, 0xcb8cfebf
+0, 70, 70, 1, 11300, 0xb961ca99
+0, 71, 71, 1, 11300, 0x666d9619
+0, 72, 72, 1, 11300, 0x84bf5b55
+0, 73, 73, 1, 11300, 0xbfa22ccc
+0, 74, 74, 1, 11300, 0xcde41849
+0, 75, 75, 1, 11300, 0x71372dcd
+0, 76, 76, 1, 11300, 0x13402cfd
+0, 77, 77, 1, 11300, 0xdebdd321
+0, 78, 78, 1, 11300, 0xdda66de1
+0, 79, 79, 1, 11300, 0x7f4bb682
+0, 80, 80, 1, 11300, 0xf67fd528
+0, 81, 81, 1, 11300, 0xe739ff8c
+0, 82, 82, 1, 11300, 0x2e131774
+0, 83, 83, 1, 11300, 0xfa942811
+0, 84, 84, 1, 11300, 0x0cd93ac2
+0, 85, 85, 1, 11300, 0xd0445e0e
+0, 86, 86, 1, 11300, 0x3f3497c7
+0, 87, 87, 1, 11300, 0x11b5bd2c
+0, 88, 88, 1, 11300, 0xccd5e62a
+0, 89, 89, 1, 11300, 0xa9d4fcb5
+0, 90, 90, 1, 11300, 0x34aa1a03
+0, 91, 91, 1, 11300, 0x1ce6299e
+0, 92, 92, 1, 11300, 0x661c2745
+0, 93, 93, 1, 11300, 0x27d8a8b3
+0, 94, 94, 1, 11300, 0x9eb07467
+0, 95, 95, 1, 11300, 0x128374d2
+0, 96, 96, 1, 11300, 0x05c36ff5
+0, 97, 97, 1, 11300, 0x8a136bde
+0, 98, 98, 1, 11300, 0x15c47c99
+0, 99, 99, 1, 11300, 0xcc4a93f4
+0, 100, 100, 1, 11300, 0x19529b2b
+0, 101, 101, 1, 11300, 0x9943c076
+0, 102, 102, 1, 11300, 0xf898e583
+0, 103, 103, 1, 11300, 0x40f71f94
+0, 104, 104, 1, 11300, 0x5b604afb
+0, 105, 105, 1, 11300, 0x8c176af4
+0, 106, 106, 1, 11300, 0x0f1a6216
+0, 107, 107, 1, 11300, 0x38bbd13d
+0, 108, 108, 1, 11300, 0x90c8d1fc
+0, 109, 109, 1, 11300, 0x253000d7
+0, 110, 110, 1, 11300, 0xb94b03b1
+0, 111, 111, 1, 11300, 0xbc872268
+0, 112, 112, 1, 11300, 0xe77adb8c
+0, 113, 113, 1, 11300, 0xa38936b7
+0, 114, 114, 1, 11300, 0xd6153632
+0, 115, 115, 1, 11300, 0x1ae633cc
+0, 116, 116, 1, 11300, 0xb90c286e
+0, 117, 117, 1, 11300, 0xbc7e333d
+0, 118, 118, 1, 11300, 0x1b5421f8
+0, 119, 119, 1, 11300, 0xdde6506d
+0, 120, 120, 1, 11300, 0xd3eb757e
+0, 121, 121, 1, 11300, 0x5ad1929c
+0, 122, 122, 1, 11300, 0x4f6aa47d
+0, 123, 123, 1, 11300, 0xab3caf55
+0, 124, 124, 1, 11300, 0x5ff9b39a
+0, 125, 125, 1, 11300, 0x1454e12e
+0, 126, 126, 1, 11300, 0xf18216e8
+0, 127, 127, 1, 11300, 0x62144880
+0, 128, 128, 1, 11300, 0x54284241
+0, 129, 129, 1, 11300, 0x8e8c7228
+0, 130, 130, 1, 11300, 0xb498d06e
+0, 131, 131, 1, 11300, 0x7b1e6be1
+0, 132, 132, 1, 11300, 0x5e5ea1f4
+0, 133, 133, 1, 11300, 0x41eda28e
+0, 134, 134, 1, 11300, 0x7ba6aa92
+0, 135, 135, 1, 11300, 0xa8a8b1c7
+0, 136, 136, 1, 11300, 0x0d30bd08
+0, 137, 137, 1, 11300, 0xc610bf16
+0, 138, 138, 1, 11300, 0xed57c075
+0, 139, 139, 1, 11300, 0xb86dbfea
+0, 140, 140, 1, 11300, 0x0970c03d
+0, 141, 141, 1, 11300, 0x743ac2ac
+0, 142, 142, 1, 11300, 0x0a44c816
+0, 143, 143, 1, 11300, 0xe32acd6b
+0, 144, 144, 1, 11300, 0x209bcdab
+0, 145, 145, 1, 11300, 0x3cd0d105
+0, 146, 146, 1, 11300, 0xc0bcd330
+0, 147, 147, 1, 11300, 0x4785d6dc
+0, 148, 148, 1, 11300, 0xe85f9c90
+0, 149, 149, 1, 11300, 0xd4a72850
+0, 150, 150, 1, 11300, 0x04766e41
+0, 151, 151, 1, 11300, 0x04766e41
diff --git a/tests/ref/fate/cvid-palette b/tests/ref/fate/cvid-palette
index 6f6ba112a1..49de1c1a05 100644
--- a/tests/ref/fate/cvid-palette
+++ b/tests/ref/fate/cvid-palette
@@ -1,56 +1,57 @@
-0, 0, 57600, 0x1f5c89b7
-0, 6006, 57600, 0xd2055aaf
-0, 12012, 57600, 0x22336052
-0, 18018, 57600, 0xf7135e2a
-0, 24024, 57600, 0xd9de126a
-0, 30030, 57600, 0xe5a9e1de
-0, 36036, 57600, 0x253f1702
-0, 42042, 57600, 0xcb8679c9
-0, 48048, 57600, 0x96cb5fa8
-0, 54054, 57600, 0xbe03528a
-0, 60060, 57600, 0x120a097d
-0, 66066, 57600, 0xaf562041
-0, 72072, 57600, 0x15b2d8c9
-0, 78078, 57600, 0x95f60e58
-0, 84084, 57600, 0x5ace5a6b
-0, 90090, 57600, 0x2f80b8e3
-0, 96096, 57600, 0x5c49c915
-0, 102102, 57600, 0xb91efe60
-0, 108108, 57600, 0xa80d29e8
-0, 114114, 57600, 0x6e72d03a
-0, 120120, 57600, 0x4f716a9e
-0, 126126, 57600, 0x3a43b9c9
-0, 132132, 57600, 0x65002db3
-0, 138138, 57600, 0x70edc765
-0, 144144, 57600, 0x9dc54abd
-0, 150150, 57600, 0xd17bda86
-0, 156156, 57600, 0xc5d2d458
-0, 162162, 57600, 0x32313c79
-0, 168168, 57600, 0x2e537e8d
-0, 174174, 57600, 0xe77d5d9e
-0, 180180, 57600, 0x9cc2599a
-0, 186186, 57600, 0x8a9be76e
-0, 192192, 57600, 0x47447eef
-0, 198198, 57600, 0xbf5f84fa
-0, 204204, 57600, 0xacd49c07
-0, 210210, 57600, 0xdc628975
-0, 216216, 57600, 0x97d7964e
-0, 222222, 57600, 0xd0a19b6b
-0, 228228, 57600, 0x5ea3d78c
-0, 234234, 57600, 0x39b59be0
-0, 240240, 57600, 0x6501a2d2
-0, 246246, 57600, 0x0ee7e36d
-0, 252252, 57600, 0x354ddd1d
-0, 258258, 57600, 0x9b8f22d3
-0, 264264, 57600, 0x0aadfb8c
-0, 270270, 57600, 0x322e2785
-0, 276276, 57600, 0x78a6467e
-0, 282282, 57600, 0x1757f3b1
-0, 288288, 57600, 0xe874ceb7
-0, 294294, 57600, 0xc40f9e4d
-0, 300300, 57600, 0x89f6a735
-0, 306306, 57600, 0xe3635393
-0, 312312, 57600, 0xdae585c7
-0, 318318, 57600, 0xf99baa60
-0, 324324, 57600, 0x28a8b1ee
-0, 330330, 57600, 0xcd5587f8
+#tb 0: 200/2997
+0, 0, 0, 1, 57600, 0x1f5c89b7
+0, 1, 1, 1, 57600, 0xd2055aaf
+0, 2, 2, 1, 57600, 0x22336052
+0, 3, 3, 1, 57600, 0xf7135e2a
+0, 4, 4, 1, 57600, 0xd9de126a
+0, 5, 5, 1, 57600, 0xe5a9e1de
+0, 6, 6, 1, 57600, 0x253f1702
+0, 7, 7, 1, 57600, 0xcb8679c9
+0, 8, 8, 1, 57600, 0x96cb5fa8
+0, 9, 9, 1, 57600, 0xbe03528a
+0, 10, 10, 1, 57600, 0x120a097d
+0, 11, 11, 1, 57600, 0xaf562041
+0, 12, 12, 1, 57600, 0x15b2d8c9
+0, 13, 13, 1, 57600, 0x95f60e58
+0, 14, 14, 1, 57600, 0x5ace5a6b
+0, 15, 15, 1, 57600, 0x2f80b8e3
+0, 16, 16, 1, 57600, 0x5c49c915
+0, 17, 17, 1, 57600, 0xb91efe60
+0, 18, 18, 1, 57600, 0xa80d29e8
+0, 19, 19, 1, 57600, 0x6e72d03a
+0, 20, 20, 1, 57600, 0x4f716a9e
+0, 21, 21, 1, 57600, 0x3a43b9c9
+0, 22, 22, 1, 57600, 0x65002db3
+0, 23, 23, 1, 57600, 0x70edc765
+0, 24, 24, 1, 57600, 0x9dc54abd
+0, 25, 25, 1, 57600, 0xd17bda86
+0, 26, 26, 1, 57600, 0xc5d2d458
+0, 27, 27, 1, 57600, 0x32313c79
+0, 28, 28, 1, 57600, 0x2e537e8d
+0, 29, 29, 1, 57600, 0xe77d5d9e
+0, 30, 30, 1, 57600, 0x9cc2599a
+0, 31, 31, 1, 57600, 0x8a9be76e
+0, 32, 32, 1, 57600, 0x47447eef
+0, 33, 33, 1, 57600, 0xbf5f84fa
+0, 34, 34, 1, 57600, 0xacd49c07
+0, 35, 35, 1, 57600, 0xdc628975
+0, 36, 36, 1, 57600, 0x97d7964e
+0, 37, 37, 1, 57600, 0xd0a19b6b
+0, 38, 38, 1, 57600, 0x5ea3d78c
+0, 39, 39, 1, 57600, 0x39b59be0
+0, 40, 40, 1, 57600, 0x6501a2d2
+0, 41, 41, 1, 57600, 0x0ee7e36d
+0, 42, 42, 1, 57600, 0x354ddd1d
+0, 43, 43, 1, 57600, 0x9b8f22d3
+0, 44, 44, 1, 57600, 0x0aadfb8c
+0, 45, 45, 1, 57600, 0x322e2785
+0, 46, 46, 1, 57600, 0x78a6467e
+0, 47, 47, 1, 57600, 0x1757f3b1
+0, 48, 48, 1, 57600, 0xe874ceb7
+0, 49, 49, 1, 57600, 0xc40f9e4d
+0, 50, 50, 1, 57600, 0x89f6a735
+0, 51, 51, 1, 57600, 0xe3635393
+0, 52, 52, 1, 57600, 0xdae585c7
+0, 53, 53, 1, 57600, 0xf99baa60
+0, 54, 54, 1, 57600, 0x28a8b1ee
+0, 55, 55, 1, 57600, 0xcd5587f8
diff --git a/tests/ref/fate/cvid-partial b/tests/ref/fate/cvid-partial
index d7ebe1193d..71596b4e8a 100644
--- a/tests/ref/fate/cvid-partial
+++ b/tests/ref/fate/cvid-partial
@@ -1,78 +1,79 @@
-0, 0, 112400, 0x829180d8
-0, 7500, 112400, 0xdbebac5b
-0, 15000, 112400, 0xc5adc0f7
-0, 22500, 112400, 0xbe1fc030
-0, 30000, 112400, 0xe08ab460
-0, 37500, 112400, 0xfde0dbc5
-0, 45000, 112400, 0xed9242b0
-0, 52500, 112400, 0x1ae3933a
-0, 60000, 112400, 0xc82d2f5b
-0, 67500, 112400, 0xbae9ddfc
-0, 75000, 112400, 0xa350a1f7
-0, 82500, 112400, 0x3cf78029
-0, 90000, 112400, 0xaa0b82bf
-0, 97500, 112400, 0x71aa4794
-0, 105000, 112400, 0x2fe57373
-0, 112500, 112400, 0x429c6f82
-0, 120000, 112400, 0xfb2d917d
-0, 127500, 112400, 0xcc84cb9a
-0, 135000, 112400, 0xc68f0613
-0, 142500, 112400, 0x05f30e6a
-0, 150000, 112400, 0x5c5d853d
-0, 157500, 112400, 0x01e0aff2
-0, 165000, 112400, 0xc3b2cf4a
-0, 172500, 112400, 0xc0a3cf19
-0, 180000, 112400, 0xc743abda
-0, 187500, 112400, 0x54bd17a2
-0, 195000, 112400, 0x616ef28d
-0, 202500, 112400, 0x04b51f59
-0, 210000, 112400, 0x857511a2
-0, 217500, 112400, 0x25c62440
-0, 225000, 112400, 0x8c78198d
-0, 232500, 112400, 0xc046c912
-0, 240000, 112400, 0x0d828630
-0, 247500, 112400, 0x48999b80
-0, 255000, 112400, 0x9a869e77
-0, 262500, 112400, 0x16d893df
-0, 270000, 112400, 0xf6b86132
-0, 277500, 112400, 0xfa564ea4
-0, 285000, 112400, 0xdd473f69
-0, 292500, 112400, 0xf89625a6
-0, 300000, 112400, 0x823a58aa
-0, 307500, 112400, 0x25e0fe43
-0, 315000, 112400, 0x41034522
-0, 322500, 112400, 0xb8da4f00
-0, 330000, 112400, 0x9f684fce
-0, 337500, 112400, 0xf7188710
-0, 345000, 112400, 0x428fbfc6
-0, 352500, 112400, 0x535bace0
-0, 360000, 112400, 0x23216059
-0, 367500, 112400, 0x9b8bbfa6
-0, 375000, 112400, 0x932be522
-0, 382500, 112400, 0xdbd31409
-0, 390000, 112400, 0x0a69bf18
-0, 397500, 112400, 0xa15ef128
-0, 405000, 112400, 0x49a1fa92
-0, 412500, 112400, 0xadeeaf62
-0, 420000, 112400, 0xc1ce636e
-0, 427500, 112400, 0x5ca544eb
-0, 435000, 112400, 0x07230a36
-0, 442500, 112400, 0x12ae2b53
-0, 450000, 112400, 0x62453ef6
-0, 457500, 112400, 0xe0588a98
-0, 465000, 112400, 0xacd3927a
-0, 472500, 112400, 0x5d3c6b01
-0, 480000, 112400, 0xda671808
-0, 487500, 112400, 0x61d0b492
-0, 495000, 112400, 0x068b1293
-0, 502500, 112400, 0x75b99287
-0, 510000, 112400, 0xe657e7d6
-0, 517500, 112400, 0x17873df6
-0, 525000, 112400, 0xa8db5e31
-0, 532500, 112400, 0x4f633b8e
-0, 540000, 112400, 0x22266252
-0, 547500, 112400, 0x308a6282
-0, 555000, 112400, 0xfdb356ce
-0, 562500, 112400, 0xe4394f1f
-0, 570000, 112400, 0x8ca8649f
-0, 577500, 112400, 0x804d44eb
+#tb 0: 1/12
+0, 0, 0, 1, 112400, 0x829180d8
+0, 1, 1, 1, 112400, 0xdbebac5b
+0, 2, 2, 1, 112400, 0xc5adc0f7
+0, 3, 3, 1, 112400, 0xbe1fc030
+0, 4, 4, 1, 112400, 0xe08ab460
+0, 5, 5, 1, 112400, 0xfde0dbc5
+0, 6, 6, 1, 112400, 0xed9242b0
+0, 7, 7, 1, 112400, 0x1ae3933a
+0, 8, 8, 1, 112400, 0xc82d2f5b
+0, 9, 9, 1, 112400, 0xbae9ddfc
+0, 10, 10, 1, 112400, 0xa350a1f7
+0, 11, 11, 1, 112400, 0x3cf78029
+0, 12, 12, 1, 112400, 0xaa0b82bf
+0, 13, 13, 1, 112400, 0x71aa4794
+0, 14, 14, 1, 112400, 0x2fe57373
+0, 15, 15, 1, 112400, 0x429c6f82
+0, 16, 16, 1, 112400, 0xfb2d917d
+0, 17, 17, 1, 112400, 0xcc84cb9a
+0, 18, 18, 1, 112400, 0xc68f0613
+0, 19, 19, 1, 112400, 0x05f30e6a
+0, 20, 20, 1, 112400, 0x5c5d853d
+0, 21, 21, 1, 112400, 0x01e0aff2
+0, 22, 22, 1, 112400, 0xc3b2cf4a
+0, 23, 23, 1, 112400, 0xc0a3cf19
+0, 24, 24, 1, 112400, 0xc743abda
+0, 25, 25, 1, 112400, 0x54bd17a2
+0, 26, 26, 1, 112400, 0x616ef28d
+0, 27, 27, 1, 112400, 0x04b51f59
+0, 28, 28, 1, 112400, 0x857511a2
+0, 29, 29, 1, 112400, 0x25c62440
+0, 30, 30, 1, 112400, 0x8c78198d
+0, 31, 31, 1, 112400, 0xc046c912
+0, 32, 32, 1, 112400, 0x0d828630
+0, 33, 33, 1, 112400, 0x48999b80
+0, 34, 34, 1, 112400, 0x9a869e77
+0, 35, 35, 1, 112400, 0x16d893df
+0, 36, 36, 1, 112400, 0xf6b86132
+0, 37, 37, 1, 112400, 0xfa564ea4
+0, 38, 38, 1, 112400, 0xdd473f69
+0, 39, 39, 1, 112400, 0xf89625a6
+0, 40, 40, 1, 112400, 0x823a58aa
+0, 41, 41, 1, 112400, 0x25e0fe43
+0, 42, 42, 1, 112400, 0x41034522
+0, 43, 43, 1, 112400, 0xb8da4f00
+0, 44, 44, 1, 112400, 0x9f684fce
+0, 45, 45, 1, 112400, 0xf7188710
+0, 46, 46, 1, 112400, 0x428fbfc6
+0, 47, 47, 1, 112400, 0x535bace0
+0, 48, 48, 1, 112400, 0x23216059
+0, 49, 49, 1, 112400, 0x9b8bbfa6
+0, 50, 50, 1, 112400, 0x932be522
+0, 51, 51, 1, 112400, 0xdbd31409
+0, 52, 52, 1, 112400, 0x0a69bf18
+0, 53, 53, 1, 112400, 0xa15ef128
+0, 54, 54, 1, 112400, 0x49a1fa92
+0, 55, 55, 1, 112400, 0xadeeaf62
+0, 56, 56, 1, 112400, 0xc1ce636e
+0, 57, 57, 1, 112400, 0x5ca544eb
+0, 58, 58, 1, 112400, 0x07230a36
+0, 59, 59, 1, 112400, 0x12ae2b53
+0, 60, 60, 1, 112400, 0x62453ef6
+0, 61, 61, 1, 112400, 0xe0588a98
+0, 62, 62, 1, 112400, 0xacd3927a
+0, 63, 63, 1, 112400, 0x5d3c6b01
+0, 64, 64, 1, 112400, 0xda671808
+0, 65, 65, 1, 112400, 0x61d0b492
+0, 66, 66, 1, 112400, 0x068b1293
+0, 67, 67, 1, 112400, 0x75b99287
+0, 68, 68, 1, 112400, 0xe657e7d6
+0, 69, 69, 1, 112400, 0x17873df6
+0, 70, 70, 1, 112400, 0xa8db5e31
+0, 71, 71, 1, 112400, 0x4f633b8e
+0, 72, 72, 1, 112400, 0x22266252
+0, 73, 73, 1, 112400, 0x308a6282
+0, 74, 74, 1, 112400, 0xfdb356ce
+0, 75, 75, 1, 112400, 0xe4394f1f
+0, 76, 76, 1, 112400, 0x8ca8649f
+0, 77, 77, 1, 112400, 0x804d44eb
diff --git a/tests/ref/fate/cyberia-c93 b/tests/ref/fate/cyberia-c93
index a0dacb7653..2c71e5023e 100644
--- a/tests/ref/fate/cyberia-c93
+++ b/tests/ref/fate/cyberia-c93
@@ -1,42 +1,44 @@
-0, 0, 184320, 0x8433f0f8
-1, 0, 28368, 0xaacc96a5
-0, 7200, 184320, 0xd0d480f7
-0, 14400, 184320, 0xaec85413
-0, 21600, 184320, 0x29d134dc
-0, 28800, 184320, 0xeac07175
-0, 36000, 184320, 0x21426b49
-0, 43200, 184320, 0xe500a37d
-0, 50400, 184320, 0x1d9cae21
-0, 57600, 184320, 0xda65309d
-0, 64800, 184320, 0xb64c331d
-0, 72000, 184320, 0xcb832741
-1, 79147, 28368, 0x6d1099bd
-0, 79200, 184320, 0xe573b565
-0, 86400, 184320, 0xa40c92d1
-0, 93600, 184320, 0x6d04ea3f
-0, 100800, 184320, 0xc438ae56
-0, 108000, 184320, 0xc6405523
-0, 115200, 184320, 0xaefef0b3
-0, 122400, 184320, 0x3e4526c6
-0, 129600, 184320, 0x2b164323
-0, 136800, 184320, 0x89b22193
-0, 144000, 184320, 0x3b73611b
-0, 151200, 184320, 0x42b33583
-1, 158294, 28368, 0x93033ae1
-0, 158400, 184320, 0x43e79dff
-0, 165600, 184320, 0xe389a377
-0, 172800, 184320, 0x09cb65f0
-0, 180000, 184320, 0x64b27755
-0, 187200, 184320, 0xdd25d6c6
-0, 194400, 184320, 0x082a80c9
-0, 201600, 184320, 0x41a8d7f4
-0, 208800, 184320, 0x6227d8d4
-0, 216000, 184320, 0x54975910
-0, 223200, 184320, 0xf4857db9
-0, 230400, 184320, 0x82d18161
-1, 237441, 28368, 0x9101e519
-0, 237600, 184320, 0x06d93bd0
-0, 244800, 184320, 0xa4304c00
-0, 252000, 184320, 0x5f77d9cd
-0, 259200, 184320, 0x95cb84e9
-0, 266400, 184320, 0x7c979475
+#tb 0: 2/25
+#tb 1: 1/16129
+0, 0, 0, 1, 184320, 0x8433f0f8
+1, 0, 0, 14184, 28368, 0xaacc96a5
+0, 1, 1, 1, 184320, 0xd0d480f7
+0, 2, 2, 1, 184320, 0xaec85413
+0, 3, 3, 1, 184320, 0x29d134dc
+0, 4, 4, 1, 184320, 0xeac07175
+0, 5, 5, 1, 184320, 0x21426b49
+0, 6, 6, 1, 184320, 0xe500a37d
+0, 7, 7, 1, 184320, 0x1d9cae21
+0, 8, 8, 1, 184320, 0xda65309d
+0, 9, 9, 1, 184320, 0xb64c331d
+0, 10, 10, 1, 184320, 0xcb832741
+1, 14184, 14184, 14184, 28368, 0x6d1099bd
+0, 11, 11, 1, 184320, 0xe573b565
+0, 12, 12, 1, 184320, 0xa40c92d1
+0, 13, 13, 1, 184320, 0x6d04ea3f
+0, 14, 14, 1, 184320, 0xc438ae56
+0, 15, 15, 1, 184320, 0xc6405523
+0, 16, 16, 1, 184320, 0xaefef0b3
+0, 17, 17, 1, 184320, 0x3e4526c6
+0, 18, 18, 1, 184320, 0x2b164323
+0, 19, 19, 1, 184320, 0x89b22193
+0, 20, 20, 1, 184320, 0x3b73611b
+0, 21, 21, 1, 184320, 0x42b33583
+1, 28368, 28368, 14184, 28368, 0x93033ae1
+0, 22, 22, 1, 184320, 0x43e79dff
+0, 23, 23, 1, 184320, 0xe389a377
+0, 24, 24, 1, 184320, 0x09cb65f0
+0, 25, 25, 1, 184320, 0x64b27755
+0, 26, 26, 1, 184320, 0xdd25d6c6
+0, 27, 27, 1, 184320, 0x082a80c9
+0, 28, 28, 1, 184320, 0x41a8d7f4
+0, 29, 29, 1, 184320, 0x6227d8d4
+0, 30, 30, 1, 184320, 0x54975910
+0, 31, 31, 1, 184320, 0xf4857db9
+0, 32, 32, 1, 184320, 0x82d18161
+1, 42552, 42552, 14184, 28368, 0x9101e519
+0, 33, 33, 1, 184320, 0x06d93bd0
+0, 34, 34, 1, 184320, 0xa4304c00
+0, 35, 35, 1, 184320, 0x5f77d9cd
+0, 36, 36, 1, 184320, 0x95cb84e9
+0, 37, 37, 1, 184320, 0x7c979475
diff --git a/tests/ref/fate/cyuv b/tests/ref/fate/cyuv
index f71232316b..37bdd2ff9b 100644
--- a/tests/ref/fate/cyuv
+++ b/tests/ref/fate/cyuv
@@ -1,150 +1,151 @@
-0, 0, 38016, 0x501e6abe
-0, 3000, 38016, 0x84976f13
-0, 6000, 38016, 0x8c487acb
-0, 9000, 38016, 0x70998800
-0, 12000, 38016, 0x51ac9416
-0, 15000, 38016, 0xd1da94b7
-0, 18000, 38016, 0x52d691e8
-0, 21000, 38016, 0x3ca3907a
-0, 24000, 38016, 0x5f62929f
-0, 27000, 38016, 0x81ec98ac
-0, 30000, 38016, 0x72499f12
-0, 33000, 38016, 0x7598a716
-0, 36000, 38016, 0x38ada96f
-0, 39000, 38016, 0x78c8a727
-0, 42000, 38016, 0xe2d79d2d
-0, 45000, 38016, 0x84a2925a
-0, 48000, 38016, 0x131b8d70
-0, 50999, 38016, 0x32a78242
-0, 53999, 38016, 0x29f583e5
-0, 56999, 38016, 0x4a7f7305
-0, 59999, 38016, 0x80885f56
-0, 62999, 38016, 0xa73c4f61
-0, 65999, 38016, 0xe54d422b
-0, 68999, 38016, 0xa8c03188
-0, 71999, 38016, 0xa02a294e
-0, 74999, 38016, 0xc84e2366
-0, 77999, 38016, 0xe21112ca
-0, 80999, 38016, 0x3e450594
-0, 83999, 38016, 0x2499017c
-0, 86999, 38016, 0xecb1effa
-0, 89999, 38016, 0xa0f8eb28
-0, 92999, 38016, 0xa396e800
-0, 95999, 38016, 0xae1be010
-0, 98999, 38016, 0x4b41dff5
-0, 101999, 38016, 0x9172e319
-0, 104999, 38016, 0xb82ee262
-0, 107999, 38016, 0x151de59f
-0, 110999, 38016, 0x799deabd
-0, 113999, 38016, 0x008dee95
-0, 116999, 38016, 0x5ad502ce
-0, 119999, 38016, 0xdeb321f1
-0, 122999, 38016, 0x82734a09
-0, 125999, 38016, 0x1ccb6ddd
-0, 128999, 38016, 0x266584f0
-0, 131999, 38016, 0x46349e73
-0, 134999, 38016, 0x0b8cac83
-0, 137999, 38016, 0x7bcd9f49
-0, 140999, 38016, 0x4f5d7521
-0, 143999, 38016, 0x7709250c
-0, 146999, 38016, 0xf8eef5ad
-0, 149999, 38016, 0x2c5d28e3
-0, 152998, 38016, 0xdb116d69
-0, 155998, 38016, 0xb66c39d6
-0, 158998, 38016, 0xacecc966
-0, 161998, 38016, 0xaffd76af
-0, 164998, 38016, 0xd2b05d04
-0, 167998, 38016, 0x4d18582a
-0, 170998, 38016, 0x23635ca7
-0, 173998, 38016, 0x7ccc58f1
-0, 176998, 38016, 0xce9a4cc6
-0, 179998, 38016, 0xbeb259d3
-0, 182998, 38016, 0x0b28714c
-0, 185998, 38016, 0x642a8fdd
-0, 188998, 38016, 0x937bb589
-0, 191998, 38016, 0x1a48c407
-0, 194998, 38016, 0x8b44cd79
-0, 197998, 38016, 0xf35cde31
-0, 200998, 38016, 0xfc05fad9
-0, 203998, 38016, 0x44102111
-0, 206998, 38016, 0x832f5041
-0, 209998, 38016, 0x41177c71
-0, 212998, 38016, 0x723b88b5
-0, 215998, 38016, 0x05548f81
-0, 218998, 38016, 0xd9dd7995
-0, 221998, 38016, 0xed0d6226
-0, 224998, 38016, 0x458b5ce2
-0, 227998, 38016, 0xc7ef69af
-0, 230998, 38016, 0x936a7022
-0, 233998, 38016, 0x7a446c3d
-0, 236998, 38016, 0x9b2b73ee
-0, 239998, 38016, 0xa47779cd
-0, 242998, 38016, 0x7be47981
-0, 245998, 38016, 0x5d1778ac
-0, 248998, 38016, 0xf1f578fc
-0, 251997, 38016, 0x865b7edf
-0, 254997, 38016, 0x0a208252
-0, 257997, 38016, 0x22f07570
-0, 260997, 38016, 0x93036cef
-0, 263997, 38016, 0xa04b6120
-0, 266997, 38016, 0x80b249fe
-0, 269997, 38016, 0x5fe5317e
-0, 272997, 38016, 0x75bd0770
-0, 275997, 38016, 0x0607da6e
-0, 278997, 38016, 0x11cbb3a7
-0, 281997, 38016, 0xbb8b9335
-0, 284997, 38016, 0xa2bc75d9
-0, 287997, 38016, 0x58c160dd
-0, 290997, 38016, 0x742b55dc
-0, 293997, 38016, 0x62b24540
-0, 296997, 38016, 0x14f4381b
-0, 299997, 38016, 0x6494334d
-0, 302997, 38016, 0xb3772676
-0, 305997, 38016, 0x0c312715
-0, 308997, 38016, 0x8b401fc9
-0, 311997, 38016, 0xa851125a
-0, 314997, 38016, 0x3171092b
-0, 317997, 38016, 0x5c3603aa
-0, 320997, 38016, 0xab56fc95
-0, 323997, 38016, 0x5c76fcb5
-0, 326997, 38016, 0xbf13f3b4
-0, 329997, 38016, 0xbdb5ed1b
-0, 332997, 38016, 0xb511ea7c
-0, 335997, 38016, 0xec84df90
-0, 338997, 38016, 0x69aed672
-0, 341997, 38016, 0x72a6d334
-0, 344997, 38016, 0x7ec5c6a7
-0, 347997, 38016, 0x837abc3e
-0, 350996, 38016, 0x5ef7be01
-0, 353996, 38016, 0x173bb950
-0, 356996, 38016, 0xf572ab31
-0, 359996, 38016, 0xe704a2d9
-0, 362996, 38016, 0x26359bb5
-0, 365996, 38016, 0x00868e2d
-0, 368996, 38016, 0x72ef879e
-0, 371996, 38016, 0x510b7b07
-0, 374996, 38016, 0x947876ff
-0, 377996, 38016, 0x934073a7
-0, 380996, 38016, 0xf7c36a15
-0, 383996, 38016, 0xbcc86424
-0, 386996, 38016, 0x55b65fb0
-0, 389996, 38016, 0x6c4b5c4e
-0, 392996, 38016, 0xb315557a
-0, 395996, 38016, 0x154f503e
-0, 398996, 38016, 0x7abd44da
-0, 401996, 38016, 0x291940c6
-0, 404996, 38016, 0xc2264202
-0, 407996, 38016, 0xbd703e12
-0, 410996, 38016, 0x39193a9c
-0, 413996, 38016, 0x086637de
-0, 416996, 38016, 0x494c3be2
-0, 419996, 38016, 0x2d523e06
-0, 422996, 38016, 0x3843448a
-0, 425996, 38016, 0x307f4bd3
-0, 428996, 38016, 0xee074e3f
-0, 431996, 38016, 0x760d534a
-0, 434996, 38016, 0xbfa251cc
-0, 437996, 38016, 0x49094e22
-0, 440996, 38016, 0xda6a4f16
-0, 443996, 38016, 0xa3304fd5
-0, 446996, 38016, 0x99995068
+#tb 0: 33333/1000000
+0, 0, 0, 1, 38016, 0x501e6abe
+0, 1, 1, 1, 38016, 0x84976f13
+0, 2, 2, 1, 38016, 0x8c487acb
+0, 3, 3, 1, 38016, 0x70998800
+0, 4, 4, 1, 38016, 0x51ac9416
+0, 5, 5, 1, 38016, 0xd1da94b7
+0, 6, 6, 1, 38016, 0x52d691e8
+0, 7, 7, 1, 38016, 0x3ca3907a
+0, 8, 8, 1, 38016, 0x5f62929f
+0, 9, 9, 1, 38016, 0x81ec98ac
+0, 10, 10, 1, 38016, 0x72499f12
+0, 11, 11, 1, 38016, 0x7598a716
+0, 12, 12, 1, 38016, 0x38ada96f
+0, 13, 13, 1, 38016, 0x78c8a727
+0, 14, 14, 1, 38016, 0xe2d79d2d
+0, 15, 15, 1, 38016, 0x84a2925a
+0, 16, 16, 1, 38016, 0x131b8d70
+0, 17, 17, 1, 38016, 0x32a78242
+0, 18, 18, 1, 38016, 0x29f583e5
+0, 19, 19, 1, 38016, 0x4a7f7305
+0, 20, 20, 1, 38016, 0x80885f56
+0, 21, 21, 1, 38016, 0xa73c4f61
+0, 22, 22, 1, 38016, 0xe54d422b
+0, 23, 23, 1, 38016, 0xa8c03188
+0, 24, 24, 1, 38016, 0xa02a294e
+0, 25, 25, 1, 38016, 0xc84e2366
+0, 26, 26, 1, 38016, 0xe21112ca
+0, 27, 27, 1, 38016, 0x3e450594
+0, 28, 28, 1, 38016, 0x2499017c
+0, 29, 29, 1, 38016, 0xecb1effa
+0, 30, 30, 1, 38016, 0xa0f8eb28
+0, 31, 31, 1, 38016, 0xa396e800
+0, 32, 32, 1, 38016, 0xae1be010
+0, 33, 33, 1, 38016, 0x4b41dff5
+0, 34, 34, 1, 38016, 0x9172e319
+0, 35, 35, 1, 38016, 0xb82ee262
+0, 36, 36, 1, 38016, 0x151de59f
+0, 37, 37, 1, 38016, 0x799deabd
+0, 38, 38, 1, 38016, 0x008dee95
+0, 39, 39, 1, 38016, 0x5ad502ce
+0, 40, 40, 1, 38016, 0xdeb321f1
+0, 41, 41, 1, 38016, 0x82734a09
+0, 42, 42, 1, 38016, 0x1ccb6ddd
+0, 43, 43, 1, 38016, 0x266584f0
+0, 44, 44, 1, 38016, 0x46349e73
+0, 45, 45, 1, 38016, 0x0b8cac83
+0, 46, 46, 1, 38016, 0x7bcd9f49
+0, 47, 47, 1, 38016, 0x4f5d7521
+0, 48, 48, 1, 38016, 0x7709250c
+0, 49, 49, 1, 38016, 0xf8eef5ad
+0, 50, 50, 1, 38016, 0x2c5d28e3
+0, 51, 51, 1, 38016, 0xdb116d69
+0, 52, 52, 1, 38016, 0xb66c39d6
+0, 53, 53, 1, 38016, 0xacecc966
+0, 54, 54, 1, 38016, 0xaffd76af
+0, 55, 55, 1, 38016, 0xd2b05d04
+0, 56, 56, 1, 38016, 0x4d18582a
+0, 57, 57, 1, 38016, 0x23635ca7
+0, 58, 58, 1, 38016, 0x7ccc58f1
+0, 59, 59, 1, 38016, 0xce9a4cc6
+0, 60, 60, 1, 38016, 0xbeb259d3
+0, 61, 61, 1, 38016, 0x0b28714c
+0, 62, 62, 1, 38016, 0x642a8fdd
+0, 63, 63, 1, 38016, 0x937bb589
+0, 64, 64, 1, 38016, 0x1a48c407
+0, 65, 65, 1, 38016, 0x8b44cd79
+0, 66, 66, 1, 38016, 0xf35cde31
+0, 67, 67, 1, 38016, 0xfc05fad9
+0, 68, 68, 1, 38016, 0x44102111
+0, 69, 69, 1, 38016, 0x832f5041
+0, 70, 70, 1, 38016, 0x41177c71
+0, 71, 71, 1, 38016, 0x723b88b5
+0, 72, 72, 1, 38016, 0x05548f81
+0, 73, 73, 1, 38016, 0xd9dd7995
+0, 74, 74, 1, 38016, 0xed0d6226
+0, 75, 75, 1, 38016, 0x458b5ce2
+0, 76, 76, 1, 38016, 0xc7ef69af
+0, 77, 77, 1, 38016, 0x936a7022
+0, 78, 78, 1, 38016, 0x7a446c3d
+0, 79, 79, 1, 38016, 0x9b2b73ee
+0, 80, 80, 1, 38016, 0xa47779cd
+0, 81, 81, 1, 38016, 0x7be47981
+0, 82, 82, 1, 38016, 0x5d1778ac
+0, 83, 83, 1, 38016, 0xf1f578fc
+0, 84, 84, 1, 38016, 0x865b7edf
+0, 85, 85, 1, 38016, 0x0a208252
+0, 86, 86, 1, 38016, 0x22f07570
+0, 87, 87, 1, 38016, 0x93036cef
+0, 88, 88, 1, 38016, 0xa04b6120
+0, 89, 89, 1, 38016, 0x80b249fe
+0, 90, 90, 1, 38016, 0x5fe5317e
+0, 91, 91, 1, 38016, 0x75bd0770
+0, 92, 92, 1, 38016, 0x0607da6e
+0, 93, 93, 1, 38016, 0x11cbb3a7
+0, 94, 94, 1, 38016, 0xbb8b9335
+0, 95, 95, 1, 38016, 0xa2bc75d9
+0, 96, 96, 1, 38016, 0x58c160dd
+0, 97, 97, 1, 38016, 0x742b55dc
+0, 98, 98, 1, 38016, 0x62b24540
+0, 99, 99, 1, 38016, 0x14f4381b
+0, 100, 100, 1, 38016, 0x6494334d
+0, 101, 101, 1, 38016, 0xb3772676
+0, 102, 102, 1, 38016, 0x0c312715
+0, 103, 103, 1, 38016, 0x8b401fc9
+0, 104, 104, 1, 38016, 0xa851125a
+0, 105, 105, 1, 38016, 0x3171092b
+0, 106, 106, 1, 38016, 0x5c3603aa
+0, 107, 107, 1, 38016, 0xab56fc95
+0, 108, 108, 1, 38016, 0x5c76fcb5
+0, 109, 109, 1, 38016, 0xbf13f3b4
+0, 110, 110, 1, 38016, 0xbdb5ed1b
+0, 111, 111, 1, 38016, 0xb511ea7c
+0, 112, 112, 1, 38016, 0xec84df90
+0, 113, 113, 1, 38016, 0x69aed672
+0, 114, 114, 1, 38016, 0x72a6d334
+0, 115, 115, 1, 38016, 0x7ec5c6a7
+0, 116, 116, 1, 38016, 0x837abc3e
+0, 117, 117, 1, 38016, 0x5ef7be01
+0, 118, 118, 1, 38016, 0x173bb950
+0, 119, 119, 1, 38016, 0xf572ab31
+0, 120, 120, 1, 38016, 0xe704a2d9
+0, 121, 121, 1, 38016, 0x26359bb5
+0, 122, 122, 1, 38016, 0x00868e2d
+0, 123, 123, 1, 38016, 0x72ef879e
+0, 124, 124, 1, 38016, 0x510b7b07
+0, 125, 125, 1, 38016, 0x947876ff
+0, 126, 126, 1, 38016, 0x934073a7
+0, 127, 127, 1, 38016, 0xf7c36a15
+0, 128, 128, 1, 38016, 0xbcc86424
+0, 129, 129, 1, 38016, 0x55b65fb0
+0, 130, 130, 1, 38016, 0x6c4b5c4e
+0, 131, 131, 1, 38016, 0xb315557a
+0, 132, 132, 1, 38016, 0x154f503e
+0, 133, 133, 1, 38016, 0x7abd44da
+0, 134, 134, 1, 38016, 0x291940c6
+0, 135, 135, 1, 38016, 0xc2264202
+0, 136, 136, 1, 38016, 0xbd703e12
+0, 137, 137, 1, 38016, 0x39193a9c
+0, 138, 138, 1, 38016, 0x086637de
+0, 139, 139, 1, 38016, 0x494c3be2
+0, 140, 140, 1, 38016, 0x2d523e06
+0, 141, 141, 1, 38016, 0x3843448a
+0, 142, 142, 1, 38016, 0x307f4bd3
+0, 143, 143, 1, 38016, 0xee074e3f
+0, 144, 144, 1, 38016, 0x760d534a
+0, 145, 145, 1, 38016, 0xbfa251cc
+0, 146, 146, 1, 38016, 0x49094e22
+0, 147, 147, 1, 38016, 0xda6a4f16
+0, 148, 148, 1, 38016, 0xa3304fd5
+0, 149, 149, 1, 38016, 0x99995068
diff --git a/tests/ref/fate/d-cinema-demux b/tests/ref/fate/d-cinema-demux
index 169f54fb30..f663040c17 100644
--- a/tests/ref/fate/d-cinema-demux
+++ b/tests/ref/fate/d-cinema-demux
@@ -1,4 +1,5 @@
-0, 0, 36000, 0xd592781d
-0, 1875, 36000, 0xd592781d
-0, 3750, 36000, 0xd592781d
-0, 5625, 23056, 0xde81f0d6
+#tb 0: 1/90000
+0, 0, 0, 1875, 36000, 0xd592781d
+0, 1875, 1875, 1875, 36000, 0xd592781d
+0, 3750, 3750, 1875, 36000, 0xd592781d
+0, 5625, 5625, 1200, 23056, 0xde81f0d6
diff --git a/tests/ref/fate/delphine-cin b/tests/ref/fate/delphine-cin
index c8894d1771..78034444d4 100644
--- a/tests/ref/fate/delphine-cin
+++ b/tests/ref/fate/delphine-cin
@@ -1,183 +1,185 @@
-0, 0, 153600, 0x00000000
-1, 0, 176448, 0x541ddc55
-0, 7500, 153600, 0x9c77862c
-0, 15000, 153600, 0xd487c33c
-0, 22500, 153600, 0x5c00c01c
-0, 30000, 153600, 0x5496c2a2
-0, 37500, 153600, 0x858ac5c0
-0, 45000, 153600, 0xe32fc7d9
-0, 52500, 153600, 0xabffc965
-0, 60000, 153600, 0x4171c8e7
-0, 67500, 153600, 0xaec4ca90
-0, 75000, 153600, 0x3cb4cb5d
-0, 82500, 153600, 0x3aedcdc0
-0, 90000, 153600, 0x0fa4cf55
-0, 97500, 153600, 0x66a1d146
-0, 105000, 153600, 0x3828d3ad
-0, 112500, 153600, 0x73ccd7a4
-0, 120000, 153600, 0xb815d983
-0, 127500, 153600, 0x11a5a54f
-0, 135000, 153600, 0x337d8bff
-0, 142500, 153600, 0x0a1c8e5c
-0, 150000, 153600, 0x09648a57
-0, 157500, 153600, 0xf7398ba4
-0, 165000, 153600, 0x836d8aaf
-0, 172500, 153600, 0x4ee385bf
-0, 180000, 153600, 0xacf2c4d6
-0, 187500, 153600, 0x0610f426
-0, 195000, 153600, 0xb798e4a1
-0, 202500, 153600, 0xdaabe17e
-0, 210000, 153600, 0x7b82def5
-0, 217500, 153600, 0x56afe483
-0, 225000, 153600, 0x4640acef
-0, 232500, 153600, 0x4415f46c
-0, 240000, 153600, 0x258d01d0
-0, 247500, 153600, 0x18a55ba1
-0, 255000, 153600, 0x165a7173
-0, 262500, 153600, 0xfa8a438b
-0, 270000, 153600, 0x57083a34
-0, 277500, 153600, 0xb39923cd
-0, 285000, 153600, 0x3e32fd70
-0, 292500, 153600, 0xa7e9eb7f
-0, 300000, 153600, 0x8c20ed88
-0, 307500, 153600, 0x8c9bed27
-0, 315000, 153600, 0xc79af188
-0, 322500, 153600, 0x3bda00c8
-0, 330000, 153600, 0x03f837a7
-0, 337500, 153600, 0x550b83e3
-0, 345000, 153600, 0xc0bc6080
-0, 352500, 153600, 0xb8d968ed
-0, 360000, 153600, 0x893e2348
-1, 360098, 3676, 0xaf455081
-0, 367500, 153600, 0x6cd01834
-1, 367600, 3676, 0x27ef4e91
-0, 375000, 153600, 0x9e6926c5
-1, 375102, 3676, 0xd1d986a3
-0, 382500, 153600, 0x4b57a4ea
-1, 382604, 3676, 0xaaa2b589
-0, 390000, 153600, 0xaab2cfcd
-1, 390106, 3676, 0x6e794ff9
-0, 397500, 153600, 0xffbb334d
-1, 397608, 3676, 0x266351f1
-0, 405000, 153600, 0x4b37e5a9
-1, 405110, 3676, 0xdeae50b2
-0, 412500, 153600, 0x3486dee0
-1, 412612, 3676, 0x90f1f96a
-0, 420000, 153600, 0xa7185454
-1, 420114, 3676, 0xea07adf9
-0, 427500, 153600, 0xec29b8c2
-1, 427616, 3676, 0xb80a8925
-0, 435000, 153600, 0x01e562ba
-1, 435118, 3676, 0xc392a1da
-0, 442500, 153600, 0xe695cda3
-1, 442620, 3676, 0xa076bdda
-0, 450000, 153600, 0xf6b59dac
-1, 450122, 3676, 0x8f40b4cc
-0, 457500, 153600, 0xb308206b
-1, 457624, 3676, 0x4227fe30
-0, 465000, 153600, 0xcc6ede4a
-1, 465127, 3676, 0x82b31ec8
-0, 472500, 153600, 0xd9f8071c
-1, 472629, 3676, 0x3ba04042
-0, 480000, 153600, 0xfb434821
-1, 480131, 3676, 0x6fe7440a
-0, 487500, 153600, 0x84c97077
-1, 487633, 3676, 0x23e33177
-0, 495000, 153600, 0x82dc5217
-1, 495135, 3676, 0x1f14242c
-0, 502500, 153600, 0xdbfd0ba8
-1, 502637, 3676, 0x72931fb0
-0, 510000, 153600, 0x3d71058e
-1, 510139, 3676, 0x2b1351c2
-0, 517500, 153600, 0x3027b928
-1, 517641, 3676, 0x6aee7070
-0, 525000, 153600, 0x792ae3bd
-1, 525143, 3676, 0x237658fa
-0, 532500, 153600, 0x36db00a7
-1, 532645, 3676, 0xac001143
-0, 540000, 153600, 0x4484e720
-1, 540147, 3676, 0x1921ee21
-0, 547500, 153600, 0xfaa76cdc
-1, 547649, 3676, 0x80186091
-0, 555000, 153600, 0x9f1e4c7e
-1, 555151, 3676, 0xb7f37ede
-0, 562500, 153600, 0x4b545d88
-1, 562653, 3676, 0x355227ef
-0, 570000, 153600, 0xa11cfd15
-1, 570155, 3676, 0xb0411f35
-0, 577500, 153600, 0x9f5d49c4
-1, 577657, 3676, 0xe7c4fe0e
-0, 585000, 153600, 0x7a496740
-1, 585159, 3676, 0x0425984d
-0, 592500, 153600, 0x98477803
-1, 592661, 3676, 0xfd59dea1
-0, 600000, 153600, 0xa5fc20f8
-1, 600163, 3676, 0xa53d5aab
-0, 607500, 153600, 0x344ff96e
-1, 607665, 3676, 0x8bc403c2
-0, 615000, 153600, 0x20c91746
-1, 615167, 3676, 0x7dd638c2
-0, 622500, 153600, 0x7c59b379
-1, 622669, 3676, 0x284913eb
-0, 630000, 153600, 0x38e3b86d
-1, 630171, 3676, 0xec17e83c
-0, 637500, 153600, 0xff25a440
-1, 637673, 3676, 0x40543463
-0, 645000, 153600, 0xa1f66533
-1, 645176, 3676, 0x92d81bf8
-0, 652500, 153600, 0xe136260a
-1, 652678, 3676, 0x44ef161d
-0, 660000, 153600, 0x048ccf56
-1, 660180, 3676, 0x499df3d5
-0, 667500, 153600, 0x65f68a24
-1, 667682, 3676, 0xf98f4d75
-0, 675000, 153600, 0xf32b385a
-1, 675184, 3676, 0x8ffe2681
-0, 682500, 153600, 0x3e930a8f
-1, 682686, 3676, 0x84093bfd
-1, 690188, 3676, 0x5f9c2e32
-1, 697690, 3676, 0x8f93c29b
-1, 705192, 3676, 0xf0ada687
-1, 712694, 3676, 0x30019db2
-1, 720196, 3676, 0x06ebace3
-1, 727698, 3676, 0xc293d944
-1, 735200, 3676, 0x789ff65e
-1, 742702, 3676, 0xa2ae13c1
-1, 750204, 3676, 0xb64f1cd9
-1, 757706, 3676, 0x18f4e36a
-1, 765208, 3676, 0xe9ccd0f0
-1, 772710, 3676, 0xc215b4ab
-1, 780212, 3676, 0x45b5c410
-1, 787714, 3676, 0xf84a9939
-1, 795216, 3676, 0xc8aff71e
-1, 802718, 3676, 0x76cc3afc
-1, 810220, 3676, 0x524e1dd6
-1, 817722, 3676, 0x115a3f10
-1, 825224, 3676, 0xd2bb51d1
-1, 832727, 3676, 0xe1dbfca5
-1, 840229, 3676, 0xc428f070
-1, 847731, 3676, 0x6aa4dddf
-1, 855233, 3676, 0xa0428f08
-1, 862735, 3676, 0x8fd7e256
-1, 870237, 3676, 0x41cb1787
-1, 877739, 3676, 0xe348568e
-1, 885241, 3676, 0x79091a0c
-1, 892743, 3676, 0x592f6f2e
-1, 900245, 3676, 0xa151448f
-1, 907747, 3676, 0xb3402e7a
-1, 915249, 3676, 0x74112e27
-1, 922751, 3676, 0xba090659
-1, 930253, 3676, 0xa0451f81
-1, 937755, 3676, 0x09c7393a
-1, 945257, 3676, 0xceb4e340
-1, 952759, 3676, 0x0440291a
-1, 960261, 3676, 0xb7b930c4
-1, 967763, 3676, 0x1a2afa4a
-1, 975265, 3676, 0x414fee56
-1, 982767, 3676, 0x5e26bc97
-1, 990269, 3676, 0x780e0481
-1, 997771, 3676, 0xb6dfb9c5
-1, 1005273, 3676, 0x447b36ca
-1, 1012776, 3676, 0x601c3067
-1, 1020278, 3676, 0x199f2f8d
-1, 1027780, 3676, 0x98645b08
+#tb 0: 1/12
+#tb 1: 1/22050
+0, 0, 0, 1, 153600, 0x00000000
+1, 0, 0, 88224, 176448, 0x541ddc55
+0, 1, 1, 1, 153600, 0x9c77862c
+0, 2, 2, 1, 153600, 0xd487c33c
+0, 3, 3, 1, 153600, 0x5c00c01c
+0, 4, 4, 1, 153600, 0x5496c2a2
+0, 5, 5, 1, 153600, 0x858ac5c0
+0, 6, 6, 1, 153600, 0xe32fc7d9
+0, 7, 7, 1, 153600, 0xabffc965
+0, 8, 8, 1, 153600, 0x4171c8e7
+0, 9, 9, 1, 153600, 0xaec4ca90
+0, 10, 10, 1, 153600, 0x3cb4cb5d
+0, 11, 11, 1, 153600, 0x3aedcdc0
+0, 12, 12, 1, 153600, 0x0fa4cf55
+0, 13, 13, 1, 153600, 0x66a1d146
+0, 14, 14, 1, 153600, 0x3828d3ad
+0, 15, 15, 1, 153600, 0x73ccd7a4
+0, 16, 16, 1, 153600, 0xb815d983
+0, 17, 17, 1, 153600, 0x11a5a54f
+0, 18, 18, 1, 153600, 0x337d8bff
+0, 19, 19, 1, 153600, 0x0a1c8e5c
+0, 20, 20, 1, 153600, 0x09648a57
+0, 21, 21, 1, 153600, 0xf7398ba4
+0, 22, 22, 1, 153600, 0x836d8aaf
+0, 23, 23, 1, 153600, 0x4ee385bf
+0, 24, 24, 1, 153600, 0xacf2c4d6
+0, 25, 25, 1, 153600, 0x0610f426
+0, 26, 26, 1, 153600, 0xb798e4a1
+0, 27, 27, 1, 153600, 0xdaabe17e
+0, 28, 28, 1, 153600, 0x7b82def5
+0, 29, 29, 1, 153600, 0x56afe483
+0, 30, 30, 1, 153600, 0x4640acef
+0, 31, 31, 1, 153600, 0x4415f46c
+0, 32, 32, 1, 153600, 0x258d01d0
+0, 33, 33, 1, 153600, 0x18a55ba1
+0, 34, 34, 1, 153600, 0x165a7173
+0, 35, 35, 1, 153600, 0xfa8a438b
+0, 36, 36, 1, 153600, 0x57083a34
+0, 37, 37, 1, 153600, 0xb39923cd
+0, 38, 38, 1, 153600, 0x3e32fd70
+0, 39, 39, 1, 153600, 0xa7e9eb7f
+0, 40, 40, 1, 153600, 0x8c20ed88
+0, 41, 41, 1, 153600, 0x8c9bed27
+0, 42, 42, 1, 153600, 0xc79af188
+0, 43, 43, 1, 153600, 0x3bda00c8
+0, 44, 44, 1, 153600, 0x03f837a7
+0, 45, 45, 1, 153600, 0x550b83e3
+0, 46, 46, 1, 153600, 0xc0bc6080
+0, 47, 47, 1, 153600, 0xb8d968ed
+0, 48, 48, 1, 153600, 0x893e2348
+1, 88224, 88224, 1838, 3676, 0xaf455081
+0, 49, 49, 1, 153600, 0x6cd01834
+1, 90062, 90062, 1838, 3676, 0x27ef4e91
+0, 50, 50, 1, 153600, 0x9e6926c5
+1, 91900, 91900, 1838, 3676, 0xd1d986a3
+0, 51, 51, 1, 153600, 0x4b57a4ea
+1, 93738, 93738, 1838, 3676, 0xaaa2b589
+0, 52, 52, 1, 153600, 0xaab2cfcd
+1, 95576, 95576, 1838, 3676, 0x6e794ff9
+0, 53, 53, 1, 153600, 0xffbb334d
+1, 97414, 97414, 1838, 3676, 0x266351f1
+0, 54, 54, 1, 153600, 0x4b37e5a9
+1, 99252, 99252, 1838, 3676, 0xdeae50b2
+0, 55, 55, 1, 153600, 0x3486dee0
+1, 101090, 101090, 1838, 3676, 0x90f1f96a
+0, 56, 56, 1, 153600, 0xa7185454
+1, 102928, 102928, 1838, 3676, 0xea07adf9
+0, 57, 57, 1, 153600, 0xec29b8c2
+1, 104766, 104766, 1838, 3676, 0xb80a8925
+0, 58, 58, 1, 153600, 0x01e562ba
+1, 106604, 106604, 1838, 3676, 0xc392a1da
+0, 59, 59, 1, 153600, 0xe695cda3
+1, 108442, 108442, 1838, 3676, 0xa076bdda
+0, 60, 60, 1, 153600, 0xf6b59dac
+1, 110280, 110280, 1838, 3676, 0x8f40b4cc
+0, 61, 61, 1, 153600, 0xb308206b
+1, 112118, 112118, 1838, 3676, 0x4227fe30
+0, 62, 62, 1, 153600, 0xcc6ede4a
+1, 113956, 113956, 1838, 3676, 0x82b31ec8
+0, 63, 63, 1, 153600, 0xd9f8071c
+1, 115794, 115794, 1838, 3676, 0x3ba04042
+0, 64, 64, 1, 153600, 0xfb434821
+1, 117632, 117632, 1838, 3676, 0x6fe7440a
+0, 65, 65, 1, 153600, 0x84c97077
+1, 119470, 119470, 1838, 3676, 0x23e33177
+0, 66, 66, 1, 153600, 0x82dc5217
+1, 121308, 121308, 1838, 3676, 0x1f14242c
+0, 67, 67, 1, 153600, 0xdbfd0ba8
+1, 123146, 123146, 1838, 3676, 0x72931fb0
+0, 68, 68, 1, 153600, 0x3d71058e
+1, 124984, 124984, 1838, 3676, 0x2b1351c2
+0, 69, 69, 1, 153600, 0x3027b928
+1, 126822, 126822, 1838, 3676, 0x6aee7070
+0, 70, 70, 1, 153600, 0x792ae3bd
+1, 128660, 128660, 1838, 3676, 0x237658fa
+0, 71, 71, 1, 153600, 0x36db00a7
+1, 130498, 130498, 1838, 3676, 0xac001143
+0, 72, 72, 1, 153600, 0x4484e720
+1, 132336, 132336, 1838, 3676, 0x1921ee21
+0, 73, 73, 1, 153600, 0xfaa76cdc
+1, 134174, 134174, 1838, 3676, 0x80186091
+0, 74, 74, 1, 153600, 0x9f1e4c7e
+1, 136012, 136012, 1838, 3676, 0xb7f37ede
+0, 75, 75, 1, 153600, 0x4b545d88
+1, 137850, 137850, 1838, 3676, 0x355227ef
+0, 76, 76, 1, 153600, 0xa11cfd15
+1, 139688, 139688, 1838, 3676, 0xb0411f35
+0, 77, 77, 1, 153600, 0x9f5d49c4
+1, 141526, 141526, 1838, 3676, 0xe7c4fe0e
+0, 78, 78, 1, 153600, 0x7a496740
+1, 143364, 143364, 1838, 3676, 0x0425984d
+0, 79, 79, 1, 153600, 0x98477803
+1, 145202, 145202, 1838, 3676, 0xfd59dea1
+0, 80, 80, 1, 153600, 0xa5fc20f8
+1, 147040, 147040, 1838, 3676, 0xa53d5aab
+0, 81, 81, 1, 153600, 0x344ff96e
+1, 148878, 148878, 1838, 3676, 0x8bc403c2
+0, 82, 82, 1, 153600, 0x20c91746
+1, 150716, 150716, 1838, 3676, 0x7dd638c2
+0, 83, 83, 1, 153600, 0x7c59b379
+1, 152554, 152554, 1838, 3676, 0x284913eb
+0, 84, 84, 1, 153600, 0x38e3b86d
+1, 154392, 154392, 1838, 3676, 0xec17e83c
+0, 85, 85, 1, 153600, 0xff25a440
+1, 156230, 156230, 1838, 3676, 0x40543463
+0, 86, 86, 1, 153600, 0xa1f66533
+1, 158068, 158068, 1838, 3676, 0x92d81bf8
+0, 87, 87, 1, 153600, 0xe136260a
+1, 159906, 159906, 1838, 3676, 0x44ef161d
+0, 88, 88, 1, 153600, 0x048ccf56
+1, 161744, 161744, 1838, 3676, 0x499df3d5
+0, 89, 89, 1, 153600, 0x65f68a24
+1, 163582, 163582, 1838, 3676, 0xf98f4d75
+0, 90, 90, 1, 153600, 0xf32b385a
+1, 165420, 165420, 1838, 3676, 0x8ffe2681
+0, 91, 91, 1, 153600, 0x3e930a8f
+1, 167258, 167258, 1838, 3676, 0x84093bfd
+1, 169096, 169096, 1838, 3676, 0x5f9c2e32
+1, 170934, 170934, 1838, 3676, 0x8f93c29b
+1, 172772, 172772, 1838, 3676, 0xf0ada687
+1, 174610, 174610, 1838, 3676, 0x30019db2
+1, 176448, 176448, 1838, 3676, 0x06ebace3
+1, 178286, 178286, 1838, 3676, 0xc293d944
+1, 180124, 180124, 1838, 3676, 0x789ff65e
+1, 181962, 181962, 1838, 3676, 0xa2ae13c1
+1, 183800, 183800, 1838, 3676, 0xb64f1cd9
+1, 185638, 185638, 1838, 3676, 0x18f4e36a
+1, 187476, 187476, 1838, 3676, 0xe9ccd0f0
+1, 189314, 189314, 1838, 3676, 0xc215b4ab
+1, 191152, 191152, 1838, 3676, 0x45b5c410
+1, 192990, 192990, 1838, 3676, 0xf84a9939
+1, 194828, 194828, 1838, 3676, 0xc8aff71e
+1, 196666, 196666, 1838, 3676, 0x76cc3afc
+1, 198504, 198504, 1838, 3676, 0x524e1dd6
+1, 200342, 200342, 1838, 3676, 0x115a3f10
+1, 202180, 202180, 1838, 3676, 0xd2bb51d1
+1, 204018, 204018, 1838, 3676, 0xe1dbfca5
+1, 205856, 205856, 1838, 3676, 0xc428f070
+1, 207694, 207694, 1838, 3676, 0x6aa4dddf
+1, 209532, 209532, 1838, 3676, 0xa0428f08
+1, 211370, 211370, 1838, 3676, 0x8fd7e256
+1, 213208, 213208, 1838, 3676, 0x41cb1787
+1, 215046, 215046, 1838, 3676, 0xe348568e
+1, 216884, 216884, 1838, 3676, 0x79091a0c
+1, 218722, 218722, 1838, 3676, 0x592f6f2e
+1, 220560, 220560, 1838, 3676, 0xa151448f
+1, 222398, 222398, 1838, 3676, 0xb3402e7a
+1, 224236, 224236, 1838, 3676, 0x74112e27
+1, 226074, 226074, 1838, 3676, 0xba090659
+1, 227912, 227912, 1838, 3676, 0xa0451f81
+1, 229750, 229750, 1838, 3676, 0x09c7393a
+1, 231588, 231588, 1838, 3676, 0xceb4e340
+1, 233426, 233426, 1838, 3676, 0x0440291a
+1, 235264, 235264, 1838, 3676, 0xb7b930c4
+1, 237102, 237102, 1838, 3676, 0x1a2afa4a
+1, 238940, 238940, 1838, 3676, 0x414fee56
+1, 240778, 240778, 1838, 3676, 0x5e26bc97
+1, 242616, 242616, 1838, 3676, 0x780e0481
+1, 244454, 244454, 1838, 3676, 0xb6dfb9c5
+1, 246292, 246292, 1838, 3676, 0x447b36ca
+1, 248130, 248130, 1838, 3676, 0x601c3067
+1, 249968, 249968, 1838, 3676, 0x199f2f8d
+1, 251806, 251806, 1838, 3676, 0x98645b08
diff --git a/tests/ref/fate/deluxepaint-anm b/tests/ref/fate/deluxepaint-anm
index 98da9287a6..063e406152 100644
--- a/tests/ref/fate/deluxepaint-anm
+++ b/tests/ref/fate/deluxepaint-anm
@@ -1,123 +1,124 @@
-0, 0, 192000, 0x82a79641
-0, 3000, 192000, 0x43079971
-0, 6000, 192000, 0x6311f1e5
-0, 9000, 192000, 0x9e1ef4dc
-0, 12000, 192000, 0x6f81049b
-0, 15000, 192000, 0xe696fb12
-0, 18000, 192000, 0x1ef4d160
-0, 21000, 192000, 0x2f1bf0d4
-0, 24000, 192000, 0xcfed92da
-0, 27000, 192000, 0xbd409978
-0, 30000, 192000, 0x50f76f07
-0, 33000, 192000, 0xc8d52062
-0, 36000, 192000, 0x75061d0e
-0, 39000, 192000, 0x01b2a711
-0, 42000, 192000, 0x541ca739
-0, 45000, 192000, 0xe931ad85
-0, 48000, 192000, 0xb7e4d4a5
-0, 51000, 192000, 0xfc20d475
-0, 54000, 192000, 0x7a5eefe5
-0, 57000, 192000, 0x95a3ef97
-0, 60000, 192000, 0x021d7f69
-0, 63000, 192000, 0x108e7ed9
-0, 66000, 192000, 0x021d7f69
-0, 69000, 192000, 0x681817d8
-0, 72000, 192000, 0x653e19d2
-0, 75000, 192000, 0x56d9b14a
-0, 78000, 192000, 0x82240846
-0, 81000, 192000, 0xa2e90840
-0, 84000, 192000, 0x8e031416
-0, 87000, 192000, 0xe23813a6
-0, 90000, 192000, 0xb2451aa1
-0, 93000, 192000, 0x92eec7d2
-0, 96000, 192000, 0x6400c80e
-0, 99000, 192000, 0x24f01fce
-0, 102000, 192000, 0x7c1b201c
-0, 105000, 192000, 0xe2c878a1
-0, 108000, 192000, 0xf6006739
-0, 111000, 192000, 0x726b6677
-0, 114000, 192000, 0xca61a01d
-0, 117000, 192000, 0x87e49f69
-0, 120000, 192000, 0x57120bd4
-0, 123000, 192000, 0x50171c4b
-0, 126000, 192000, 0x8ace1c49
-0, 129000, 192000, 0x83082a8c
-0, 132000, 192000, 0x6e092b58
-0, 135000, 192000, 0x207a9af4
-0, 138000, 192000, 0xedf193f0
-0, 141000, 192000, 0x531793f0
-0, 144000, 192000, 0x24e2a406
-0, 147000, 192000, 0x6c34a1e5
-0, 150000, 192000, 0x8e7acdae
-0, 153000, 192000, 0x1f941805
-0, 156000, 192000, 0x0c391218
-0, 159000, 192000, 0xf25aa1fd
-0, 162000, 192000, 0xcb2aa40e
-0, 165000, 192000, 0x69701e49
-0, 168000, 192000, 0x0dd719d3
-0, 171000, 192000, 0x5ef71955
-0, 174000, 192000, 0xac2063ca
-0, 177000, 192000, 0xce7d601c
-0, 180000, 192000, 0x43003946
-0, 183000, 192000, 0xa72a38ee
-0, 186000, 192000, 0x98023933
-0, 189000, 192000, 0xa72a38ee
-0, 192000, 192000, 0x98023933
-0, 195000, 192000, 0xa72a38ee
-0, 198000, 192000, 0x98023933
-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
+#tb 0: 1/30
+0, 0, 0, 1, 192000, 0x82a79641
+0, 1, 1, 1, 192000, 0x43079971
+0, 2, 2, 1, 192000, 0x6311f1e5
+0, 3, 3, 1, 192000, 0x9e1ef4dc
+0, 4, 4, 1, 192000, 0x6f81049b
+0, 5, 5, 1, 192000, 0xe696fb12
+0, 6, 6, 1, 192000, 0x1ef4d160
+0, 7, 7, 1, 192000, 0x2f1bf0d4
+0, 8, 8, 1, 192000, 0xcfed92da
+0, 9, 9, 1, 192000, 0xbd409978
+0, 10, 10, 1, 192000, 0x50f76f07
+0, 11, 11, 1, 192000, 0xc8d52062
+0, 12, 12, 1, 192000, 0x75061d0e
+0, 13, 13, 1, 192000, 0x01b2a711
+0, 14, 14, 1, 192000, 0x541ca739
+0, 15, 15, 1, 192000, 0xe931ad85
+0, 16, 16, 1, 192000, 0xb7e4d4a5
+0, 17, 17, 1, 192000, 0xfc20d475
+0, 18, 18, 1, 192000, 0x7a5eefe5
+0, 19, 19, 1, 192000, 0x95a3ef97
+0, 20, 20, 1, 192000, 0x021d7f69
+0, 21, 21, 1, 192000, 0x108e7ed9
+0, 22, 22, 1, 192000, 0x021d7f69
+0, 23, 23, 1, 192000, 0x681817d8
+0, 24, 24, 1, 192000, 0x653e19d2
+0, 25, 25, 1, 192000, 0x56d9b14a
+0, 26, 26, 1, 192000, 0x82240846
+0, 27, 27, 1, 192000, 0xa2e90840
+0, 28, 28, 1, 192000, 0x8e031416
+0, 29, 29, 1, 192000, 0xe23813a6
+0, 30, 30, 1, 192000, 0xb2451aa1
+0, 31, 31, 1, 192000, 0x92eec7d2
+0, 32, 32, 1, 192000, 0x6400c80e
+0, 33, 33, 1, 192000, 0x24f01fce
+0, 34, 34, 1, 192000, 0x7c1b201c
+0, 35, 35, 1, 192000, 0xe2c878a1
+0, 36, 36, 1, 192000, 0xf6006739
+0, 37, 37, 1, 192000, 0x726b6677
+0, 38, 38, 1, 192000, 0xca61a01d
+0, 39, 39, 1, 192000, 0x87e49f69
+0, 40, 40, 1, 192000, 0x57120bd4
+0, 41, 41, 1, 192000, 0x50171c4b
+0, 42, 42, 1, 192000, 0x8ace1c49
+0, 43, 43, 1, 192000, 0x83082a8c
+0, 44, 44, 1, 192000, 0x6e092b58
+0, 45, 45, 1, 192000, 0x207a9af4
+0, 46, 46, 1, 192000, 0xedf193f0
+0, 47, 47, 1, 192000, 0x531793f0
+0, 48, 48, 1, 192000, 0x24e2a406
+0, 49, 49, 1, 192000, 0x6c34a1e5
+0, 50, 50, 1, 192000, 0x8e7acdae
+0, 51, 51, 1, 192000, 0x1f941805
+0, 52, 52, 1, 192000, 0x0c391218
+0, 53, 53, 1, 192000, 0xf25aa1fd
+0, 54, 54, 1, 192000, 0xcb2aa40e
+0, 55, 55, 1, 192000, 0x69701e49
+0, 56, 56, 1, 192000, 0x0dd719d3
+0, 57, 57, 1, 192000, 0x5ef71955
+0, 58, 58, 1, 192000, 0xac2063ca
+0, 59, 59, 1, 192000, 0xce7d601c
+0, 60, 60, 1, 192000, 0x43003946
+0, 61, 61, 1, 192000, 0xa72a38ee
+0, 62, 62, 1, 192000, 0x98023933
+0, 63, 63, 1, 192000, 0xa72a38ee
+0, 64, 64, 1, 192000, 0x98023933
+0, 65, 65, 1, 192000, 0xa72a38ee
+0, 66, 66, 1, 192000, 0x98023933
+0, 67, 67, 1, 192000, 0xa72a38ee
+0, 68, 68, 1, 192000, 0xdd7f371d
+0, 69, 69, 1, 192000, 0xeed134c6
+0, 70, 70, 1, 192000, 0x362931f5
+0, 71, 71, 1, 192000, 0xfb41331d
+0, 72, 72, 1, 192000, 0x087433f8
+0, 73, 73, 1, 192000, 0xf36b34a6
+0, 74, 74, 1, 192000, 0x652a33cd
+0, 75, 75, 1, 192000, 0x652a33cd
+0, 76, 76, 1, 192000, 0xe50c336a
+0, 77, 77, 1, 192000, 0x652a33cd
+0, 78, 78, 1, 192000, 0xeed134c6
+0, 79, 79, 1, 192000, 0x652a33cd
+0, 80, 80, 1, 192000, 0x5d7633e5
+0, 81, 81, 1, 192000, 0x845233b5
+0, 82, 82, 1, 192000, 0x9d1c349b
+0, 83, 83, 1, 192000, 0x25843317
+0, 84, 84, 1, 192000, 0xc84b375c
+0, 85, 85, 1, 192000, 0xaf2b3410
+0, 86, 86, 1, 192000, 0xaf2b3410
+0, 87, 87, 1, 192000, 0x26d23594
+0, 88, 88, 1, 192000, 0xaf2b3410
+0, 89, 89, 1, 192000, 0x26d23594
+0, 90, 90, 1, 192000, 0xaf2b3410
+0, 91, 91, 1, 192000, 0x72c4dfb9
+0, 92, 92, 1, 192000, 0x3c72e390
+0, 93, 93, 1, 192000, 0xb4466634
+0, 94, 94, 1, 192000, 0x84f064f5
+0, 95, 95, 1, 192000, 0xad43f3f5
+0, 96, 96, 1, 192000, 0xa8644d57
+0, 97, 97, 1, 192000, 0xfac35238
+0, 98, 98, 1, 192000, 0xe9374d1e
+0, 99, 99, 1, 192000, 0x0bd14cfa
+0, 100, 100, 1, 192000, 0x7e51a437
+0, 101, 101, 1, 192000, 0x92678dfa
+0, 102, 102, 1, 192000, 0x43338d41
+0, 103, 103, 1, 192000, 0x00000000
+0, 104, 104, 1, 192000, 0x00000000
+0, 105, 105, 1, 192000, 0x00000000
+0, 106, 106, 1, 192000, 0x00000000
+0, 107, 107, 1, 192000, 0x00000000
+0, 108, 108, 1, 192000, 0x00000000
+0, 109, 109, 1, 192000, 0x00000000
+0, 110, 110, 1, 192000, 0x00000000
+0, 111, 111, 1, 192000, 0x00000000
+0, 112, 112, 1, 192000, 0x00000000
+0, 113, 113, 1, 192000, 0x00000000
+0, 114, 114, 1, 192000, 0x00000000
+0, 115, 115, 1, 192000, 0x00000000
+0, 116, 116, 1, 192000, 0x00000000
+0, 117, 117, 1, 192000, 0x00000000
+0, 118, 118, 1, 192000, 0x00000000
+0, 119, 119, 1, 192000, 0x00000000
+0, 120, 120, 1, 192000, 0x00000000
+0, 121, 121, 1, 192000, 0x00000000
+0, 122, 122, 1, 192000, 0x82a79641
diff --git a/tests/ref/fate/dfa1 b/tests/ref/fate/dfa1
index 43c973706d..92a7ccecea 100644
--- a/tests/ref/fate/dfa1
+++ b/tests/ref/fate/dfa1
@@ -1,25 +1,26 @@
-0, 0, 921600, 0x2e2b3ca4
-0, 11520, 921600, 0x0ff7a368
-0, 23040, 921600, 0xf5f0dc50
-0, 34560, 921600, 0x56cb0c9d
-0, 46080, 921600, 0xb253228f
-0, 57600, 921600, 0xefd3419e
-0, 69120, 921600, 0x708c0ce7
-0, 80640, 921600, 0x0b3a7f6d
-0, 92160, 921600, 0x72db4eac
-0, 103680, 921600, 0x94328111
-0, 115200, 921600, 0x95f7b2f0
-0, 126720, 921600, 0xdc3c9655
-0, 138240, 921600, 0xfe03dec6
-0, 149760, 921600, 0x2551dffb
-0, 161280, 921600, 0xe8b37d9e
-0, 172800, 921600, 0xad93508b
-0, 184320, 921600, 0x5a1c4890
-0, 195840, 921600, 0x6f972fb4
-0, 207360, 921600, 0xa1d5ff95
-0, 218880, 921600, 0x7bc5d07c
-0, 230400, 921600, 0xc0311e4e
-0, 241920, 921600, 0x5b02cc48
-0, 253440, 921600, 0x8db4d5fa
-0, 264960, 921600, 0x31aae769
-0, 276480, 921600, 0xab62b9a7
+#tb 0: 16/125
+0, 0, 0, 1, 921600, 0x2e2b3ca4
+0, 1, 1, 1, 921600, 0x0ff7a368
+0, 2, 2, 1, 921600, 0xf5f0dc50
+0, 3, 3, 1, 921600, 0x56cb0c9d
+0, 4, 4, 1, 921600, 0xb253228f
+0, 5, 5, 1, 921600, 0xefd3419e
+0, 6, 6, 1, 921600, 0x708c0ce7
+0, 7, 7, 1, 921600, 0x0b3a7f6d
+0, 8, 8, 1, 921600, 0x72db4eac
+0, 9, 9, 1, 921600, 0x94328111
+0, 10, 10, 1, 921600, 0x95f7b2f0
+0, 11, 11, 1, 921600, 0xdc3c9655
+0, 12, 12, 1, 921600, 0xfe03dec6
+0, 13, 13, 1, 921600, 0x2551dffb
+0, 14, 14, 1, 921600, 0xe8b37d9e
+0, 15, 15, 1, 921600, 0xad93508b
+0, 16, 16, 1, 921600, 0x5a1c4890
+0, 17, 17, 1, 921600, 0x6f972fb4
+0, 18, 18, 1, 921600, 0xa1d5ff95
+0, 19, 19, 1, 921600, 0x7bc5d07c
+0, 20, 20, 1, 921600, 0xc0311e4e
+0, 21, 21, 1, 921600, 0x5b02cc48
+0, 22, 22, 1, 921600, 0x8db4d5fa
+0, 23, 23, 1, 921600, 0x31aae769
+0, 24, 24, 1, 921600, 0xab62b9a7
diff --git a/tests/ref/fate/dfa10 b/tests/ref/fate/dfa10
index 720704aa01..a140e5c391 100644
--- a/tests/ref/fate/dfa10
+++ b/tests/ref/fate/dfa10
@@ -1,8 +1,9 @@
-0, 0, 192000, 0xbabcbd55
-0, 6390, 192000, 0xf00a5683
-0, 12780, 192000, 0xcce90589
-0, 19170, 192000, 0x8545631f
-0, 25560, 192000, 0xd3ab654c
-0, 31950, 192000, 0x5e0dda12
-0, 38340, 192000, 0x7e94b053
-0, 44730, 192000, 0x8027e68b
+#tb 0: 71/1000
+0, 0, 0, 1, 192000, 0xbabcbd55
+0, 1, 1, 1, 192000, 0xf00a5683
+0, 2, 2, 1, 192000, 0xcce90589
+0, 3, 3, 1, 192000, 0x8545631f
+0, 4, 4, 1, 192000, 0xd3ab654c
+0, 5, 5, 1, 192000, 0x5e0dda12
+0, 6, 6, 1, 192000, 0x7e94b053
+0, 7, 7, 1, 192000, 0x8027e68b
diff --git a/tests/ref/fate/dfa11 b/tests/ref/fate/dfa11
index f01fd13ac3..3990d24cfc 100644
--- a/tests/ref/fate/dfa11
+++ b/tests/ref/fate/dfa11
@@ -1,9 +1,10 @@
-0, 0, 192000, 0x8b8bd8de
-0, 6390, 192000, 0xdac26ec2
-0, 12780, 192000, 0x0fc01c28
-0, 19170, 192000, 0x1251eef7
-0, 25560, 192000, 0x89eced0e
-0, 31950, 192000, 0x4943d821
-0, 38340, 192000, 0x49258ec9
-0, 44730, 192000, 0x9afd5881
-0, 51120, 192000, 0xb322b901
+#tb 0: 71/1000
+0, 0, 0, 1, 192000, 0x8b8bd8de
+0, 1, 1, 1, 192000, 0xdac26ec2
+0, 2, 2, 1, 192000, 0x0fc01c28
+0, 3, 3, 1, 192000, 0x1251eef7
+0, 4, 4, 1, 192000, 0x89eced0e
+0, 5, 5, 1, 192000, 0x4943d821
+0, 6, 6, 1, 192000, 0x49258ec9
+0, 7, 7, 1, 192000, 0x9afd5881
+0, 8, 8, 1, 192000, 0xb322b901
diff --git a/tests/ref/fate/dfa2 b/tests/ref/fate/dfa2
index 98af733117..a050c97d44 100644
--- a/tests/ref/fate/dfa2
+++ b/tests/ref/fate/dfa2
@@ -1,17 +1,18 @@
-0, 0, 921600, 0x713f2da1
-0, 6390, 921600, 0x9e772ec9
-0, 12780, 921600, 0x9420310f
-0, 19170, 921600, 0xd68f294f
-0, 25560, 921600, 0xe25a1bcf
-0, 31950, 921600, 0x32f903ec
-0, 38340, 921600, 0xdb290b1c
-0, 44730, 921600, 0x0b0d1b0f
-0, 51120, 921600, 0x58430921
-0, 57510, 921600, 0xe65dd39e
-0, 63900, 921600, 0x146b3068
-0, 70290, 921600, 0x6e1e7f78
-0, 76680, 921600, 0x0166e01c
-0, 83070, 921600, 0x83b86b56
-0, 89460, 921600, 0xd52a1697
-0, 95850, 921600, 0x5b38adc8
-0, 102240, 921600, 0x457f6cea
+#tb 0: 71/1000
+0, 0, 0, 1, 921600, 0x713f2da1
+0, 1, 1, 1, 921600, 0x9e772ec9
+0, 2, 2, 1, 921600, 0x9420310f
+0, 3, 3, 1, 921600, 0xd68f294f
+0, 4, 4, 1, 921600, 0xe25a1bcf
+0, 5, 5, 1, 921600, 0x32f903ec
+0, 6, 6, 1, 921600, 0xdb290b1c
+0, 7, 7, 1, 921600, 0x0b0d1b0f
+0, 8, 8, 1, 921600, 0x58430921
+0, 9, 9, 1, 921600, 0xe65dd39e
+0, 10, 10, 1, 921600, 0x146b3068
+0, 11, 11, 1, 921600, 0x6e1e7f78
+0, 12, 12, 1, 921600, 0x0166e01c
+0, 13, 13, 1, 921600, 0x83b86b56
+0, 14, 14, 1, 921600, 0xd52a1697
+0, 15, 15, 1, 921600, 0x5b38adc8
+0, 16, 16, 1, 921600, 0x457f6cea
diff --git a/tests/ref/fate/dfa3 b/tests/ref/fate/dfa3
index 0452f2b311..8c91faaa4b 100644
--- a/tests/ref/fate/dfa3
+++ b/tests/ref/fate/dfa3
@@ -1,10 +1,11 @@
-0, 0, 192000, 0x10380cf0
-0, 9000, 192000, 0x1d74af4c
-0, 18000, 192000, 0xd665492d
-0, 27000, 192000, 0xbf544565
-0, 36000, 192000, 0xf8a33b00
-0, 45000, 192000, 0x7d08bbad
-0, 54000, 192000, 0x10685a90
-0, 63000, 192000, 0x0a1a9ef6
-0, 72000, 192000, 0x3e967980
-0, 81000, 192000, 0x9849f751
+#tb 0: 1/10
+0, 0, 0, 1, 192000, 0x10380cf0
+0, 1, 1, 1, 192000, 0x1d74af4c
+0, 2, 2, 1, 192000, 0xd665492d
+0, 3, 3, 1, 192000, 0xbf544565
+0, 4, 4, 1, 192000, 0xf8a33b00
+0, 5, 5, 1, 192000, 0x7d08bbad
+0, 6, 6, 1, 192000, 0x10685a90
+0, 7, 7, 1, 192000, 0x0a1a9ef6
+0, 8, 8, 1, 192000, 0x3e967980
+0, 9, 9, 1, 192000, 0x9849f751
diff --git a/tests/ref/fate/dfa4 b/tests/ref/fate/dfa4
index f19061b966..129ef4ba58 100644
--- a/tests/ref/fate/dfa4
+++ b/tests/ref/fate/dfa4
@@ -1,13 +1,14 @@
-0, 0, 921600, 0xe6309638
-0, 12780, 921600, 0xa99a7665
-0, 25560, 921600, 0x172ccfbb
-0, 38340, 921600, 0xcf676571
-0, 51120, 921600, 0x6a5077f2
-0, 63900, 921600, 0x6a5077f2
-0, 76680, 921600, 0x6a5077f2
-0, 89460, 921600, 0x6a5077f2
-0, 102240, 921600, 0x6a5077f2
-0, 115020, 921600, 0x6a5077f2
-0, 127800, 921600, 0xb83db404
-0, 140580, 921600, 0x997ceb90
-0, 153360, 921600, 0xd707157c
+#tb 0: 71/500
+0, 0, 0, 1, 921600, 0xe6309638
+0, 1, 1, 1, 921600, 0xa99a7665
+0, 2, 2, 1, 921600, 0x172ccfbb
+0, 3, 3, 1, 921600, 0xcf676571
+0, 4, 4, 1, 921600, 0x6a5077f2
+0, 5, 5, 1, 921600, 0x6a5077f2
+0, 6, 6, 1, 921600, 0x6a5077f2
+0, 7, 7, 1, 921600, 0x6a5077f2
+0, 8, 8, 1, 921600, 0x6a5077f2
+0, 9, 9, 1, 921600, 0x6a5077f2
+0, 10, 10, 1, 921600, 0xb83db404
+0, 11, 11, 1, 921600, 0x997ceb90
+0, 12, 12, 1, 921600, 0xd707157c
diff --git a/tests/ref/fate/dfa5 b/tests/ref/fate/dfa5
index 65aa1bc838..b9f7727e58 100644
--- a/tests/ref/fate/dfa5
+++ b/tests/ref/fate/dfa5
@@ -1,15 +1,16 @@
-0, 0, 192000, 0xc0941c10
-0, 9000, 192000, 0xe2fe3ae5
-0, 18000, 192000, 0x4a352d98
-0, 27000, 192000, 0x7b78e0bb
-0, 36000, 192000, 0x855c6675
-0, 45000, 192000, 0xf443dad6
-0, 54000, 192000, 0xe7e2a2e1
-0, 63000, 192000, 0xa9009c58
-0, 72000, 192000, 0x551855ab
-0, 81000, 192000, 0x253908c7
-0, 90000, 192000, 0x616213c4
-0, 99000, 192000, 0xa381c3b1
-0, 108000, 192000, 0xa2d64152
-0, 117000, 192000, 0x34ed0f72
-0, 126000, 192000, 0x05be63b4
+#tb 0: 1/10
+0, 0, 0, 1, 192000, 0xc0941c10
+0, 1, 1, 1, 192000, 0xe2fe3ae5
+0, 2, 2, 1, 192000, 0x4a352d98
+0, 3, 3, 1, 192000, 0x7b78e0bb
+0, 4, 4, 1, 192000, 0x855c6675
+0, 5, 5, 1, 192000, 0xf443dad6
+0, 6, 6, 1, 192000, 0xe7e2a2e1
+0, 7, 7, 1, 192000, 0xa9009c58
+0, 8, 8, 1, 192000, 0x551855ab
+0, 9, 9, 1, 192000, 0x253908c7
+0, 10, 10, 1, 192000, 0x616213c4
+0, 11, 11, 1, 192000, 0xa381c3b1
+0, 12, 12, 1, 192000, 0xa2d64152
+0, 13, 13, 1, 192000, 0x34ed0f72
+0, 14, 14, 1, 192000, 0x05be63b4
diff --git a/tests/ref/fate/dfa6 b/tests/ref/fate/dfa6
index 92fe427eb5..92ed259369 100644
--- a/tests/ref/fate/dfa6
+++ b/tests/ref/fate/dfa6
@@ -1,12 +1,13 @@
-0, 0, 192000, 0x69f6a5f6
-0, 6390, 192000, 0xc741d0a6
-0, 12780, 192000, 0xba31e7a4
-0, 19170, 192000, 0x7dc45080
-0, 25560, 192000, 0x1c91dad5
-0, 31950, 192000, 0x564b69b1
-0, 38340, 192000, 0xdd9d9ae8
-0, 44730, 192000, 0x605c05e1
-0, 51120, 192000, 0xa5341ddb
-0, 57510, 192000, 0x1ebff8ba
-0, 63900, 192000, 0x240df237
-0, 70290, 192000, 0xac641867
+#tb 0: 71/1000
+0, 0, 0, 1, 192000, 0x69f6a5f6
+0, 1, 1, 1, 192000, 0xc741d0a6
+0, 2, 2, 1, 192000, 0xba31e7a4
+0, 3, 3, 1, 192000, 0x7dc45080
+0, 4, 4, 1, 192000, 0x1c91dad5
+0, 5, 5, 1, 192000, 0x564b69b1
+0, 6, 6, 1, 192000, 0xdd9d9ae8
+0, 7, 7, 1, 192000, 0x605c05e1
+0, 8, 8, 1, 192000, 0xa5341ddb
+0, 9, 9, 1, 192000, 0x1ebff8ba
+0, 10, 10, 1, 192000, 0x240df237
+0, 11, 11, 1, 192000, 0xac641867
diff --git a/tests/ref/fate/dfa7 b/tests/ref/fate/dfa7
index c9612f0f5d..7dd40f2bc0 100644
--- a/tests/ref/fate/dfa7
+++ b/tests/ref/fate/dfa7
@@ -1,12 +1,13 @@
-0, 0, 7866, 0xa0056fdb
-0, 6390, 7866, 0xed906c7a
-0, 12780, 7866, 0x1c6e6f7d
-0, 19170, 7866, 0xa2c460f7
-0, 25560, 7866, 0xcf2166d4
-0, 31950, 7866, 0xea545432
-0, 38340, 7866, 0x604a5a9e
-0, 44730, 7866, 0xbbc95c89
-0, 51120, 7866, 0x80b16b5b
-0, 57510, 7866, 0x9a1660ae
-0, 63900, 7866, 0x6f886b10
-0, 70290, 7866, 0xad8b5c99
+#tb 0: 71/1000
+0, 0, 0, 1, 7866, 0xa0056fdb
+0, 1, 1, 1, 7866, 0xed906c7a
+0, 2, 2, 1, 7866, 0x1c6e6f7d
+0, 3, 3, 1, 7866, 0xa2c460f7
+0, 4, 4, 1, 7866, 0xcf2166d4
+0, 5, 5, 1, 7866, 0xea545432
+0, 6, 6, 1, 7866, 0x604a5a9e
+0, 7, 7, 1, 7866, 0xbbc95c89
+0, 8, 8, 1, 7866, 0x80b16b5b
+0, 9, 9, 1, 7866, 0x9a1660ae
+0, 10, 10, 1, 7866, 0x6f886b10
+0, 11, 11, 1, 7866, 0xad8b5c99
diff --git a/tests/ref/fate/dfa8 b/tests/ref/fate/dfa8
index ade21de822..39dde05465 100644
--- a/tests/ref/fate/dfa8
+++ b/tests/ref/fate/dfa8
@@ -1,36 +1,37 @@
-0, 0, 134724, 0x2ab217de
-0, 6390, 134724, 0xbf240f9a
-0, 12780, 134724, 0x020a6010
-0, 19170, 134724, 0x9a5f9374
-0, 25560, 134724, 0x1e93a7e9
-0, 31950, 134724, 0x9e4a4c55
-0, 38340, 134724, 0x8f9d1bab
-0, 44730, 134724, 0xb26ac45b
-0, 51120, 134724, 0xc08706d2
-0, 57510, 134724, 0x0806b031
-0, 63900, 134724, 0x234dbb33
-0, 70290, 134724, 0xe4cbfb2f
-0, 76680, 134724, 0xf603f3fd
-0, 83070, 134724, 0x205669d1
-0, 89460, 134724, 0x7ddbb5e3
-0, 95850, 134724, 0x8dfbb45a
-0, 102240, 134724, 0x9632f681
-0, 108630, 134724, 0x259e462c
-0, 115020, 134724, 0x14f2bac1
-0, 121410, 134724, 0xac3de7ed
-0, 127800, 134724, 0x6b8af396
-0, 134190, 134724, 0xd1e4bc1c
-0, 140580, 134724, 0x716d1c73
-0, 146970, 134724, 0x610956c8
-0, 153360, 134724, 0x89ff8e86
-0, 159750, 134724, 0xc3ea6b6f
-0, 166140, 134724, 0x886688ef
-0, 172530, 134724, 0xe60fc8c1
-0, 178920, 134724, 0x22bd3131
-0, 185310, 134724, 0xb1d74561
-0, 191700, 134724, 0x61b069bc
-0, 198090, 134724, 0x50b665c1
-0, 204480, 134724, 0x027e5144
-0, 210870, 134724, 0xfe0c31b4
-0, 217260, 134724, 0x1e7a1f2d
-0, 223650, 134724, 0x48bff03d
+#tb 0: 71/1000
+0, 0, 0, 1, 134724, 0x2ab217de
+0, 1, 1, 1, 134724, 0xbf240f9a
+0, 2, 2, 1, 134724, 0x020a6010
+0, 3, 3, 1, 134724, 0x9a5f9374
+0, 4, 4, 1, 134724, 0x1e93a7e9
+0, 5, 5, 1, 134724, 0x9e4a4c55
+0, 6, 6, 1, 134724, 0x8f9d1bab
+0, 7, 7, 1, 134724, 0xb26ac45b
+0, 8, 8, 1, 134724, 0xc08706d2
+0, 9, 9, 1, 134724, 0x0806b031
+0, 10, 10, 1, 134724, 0x234dbb33
+0, 11, 11, 1, 134724, 0xe4cbfb2f
+0, 12, 12, 1, 134724, 0xf603f3fd
+0, 13, 13, 1, 134724, 0x205669d1
+0, 14, 14, 1, 134724, 0x7ddbb5e3
+0, 15, 15, 1, 134724, 0x8dfbb45a
+0, 16, 16, 1, 134724, 0x9632f681
+0, 17, 17, 1, 134724, 0x259e462c
+0, 18, 18, 1, 134724, 0x14f2bac1
+0, 19, 19, 1, 134724, 0xac3de7ed
+0, 20, 20, 1, 134724, 0x6b8af396
+0, 21, 21, 1, 134724, 0xd1e4bc1c
+0, 22, 22, 1, 134724, 0x716d1c73
+0, 23, 23, 1, 134724, 0x610956c8
+0, 24, 24, 1, 134724, 0x89ff8e86
+0, 25, 25, 1, 134724, 0xc3ea6b6f
+0, 26, 26, 1, 134724, 0x886688ef
+0, 27, 27, 1, 134724, 0xe60fc8c1
+0, 28, 28, 1, 134724, 0x22bd3131
+0, 29, 29, 1, 134724, 0xb1d74561
+0, 30, 30, 1, 134724, 0x61b069bc
+0, 31, 31, 1, 134724, 0x50b665c1
+0, 32, 32, 1, 134724, 0x027e5144
+0, 33, 33, 1, 134724, 0xfe0c31b4
+0, 34, 34, 1, 134724, 0x1e7a1f2d
+0, 35, 35, 1, 134724, 0x48bff03d
diff --git a/tests/ref/fate/dfa9 b/tests/ref/fate/dfa9
index b33152a982..cf24e3e212 100644
--- a/tests/ref/fate/dfa9
+++ b/tests/ref/fate/dfa9
@@ -1,6 +1,7 @@
-0, 0, 228150, 0x188c6d9b
-0, 6390, 228150, 0x658dbf2f
-0, 12780, 228150, 0xc09a4b2e
-0, 19170, 228150, 0x8777bc7d
-0, 25560, 228150, 0xa388f0ce
-0, 31950, 228150, 0x4e06666e
+#tb 0: 71/1000
+0, 0, 0, 1, 228150, 0x188c6d9b
+0, 1, 1, 1, 228150, 0x658dbf2f
+0, 2, 2, 1, 228150, 0xc09a4b2e
+0, 3, 3, 1, 228150, 0x8777bc7d
+0, 4, 4, 1, 228150, 0xa388f0ce
+0, 5, 5, 1, 228150, 0x4e06666e
diff --git a/tests/ref/fate/dpcm-idroq b/tests/ref/fate/dpcm-idroq
index 7e0a10ee2e..086534387c 100644
--- a/tests/ref/fate/dpcm-idroq
+++ b/tests/ref/fate/dpcm-idroq
@@ -1,377 +1,379 @@
-0, 0, 393216, 0x56995aac
-1, 0, 29824, 0x77e265b7
-0, 3000, 393216, 0xf9ed5d6c
-0, 6000, 393216, 0xd3285d75
-0, 9000, 393216, 0x82d15d62
-0, 12000, 393216, 0x893e5d6f
-0, 15000, 393216, 0x82d15d62
-0, 18000, 393216, 0x893e5d6f
-0, 21000, 393216, 0x82d15d62
-0, 24000, 393216, 0x893e5d6f
-0, 27000, 393216, 0x82d15d62
-0, 30000, 393216, 0x893e5d6f
-1, 30433, 2944, 0x8dcdf50b
-0, 33000, 393216, 0x82d15d62
-1, 33437, 2944, 0xb135cd2a
-0, 36000, 393216, 0x893e5d6f
-1, 36441, 2944, 0x54a6e73f
-0, 39000, 393216, 0x82d15d62
-1, 39445, 2944, 0x050ccd4e
-0, 42000, 393216, 0x893e5d6f
-1, 42449, 2944, 0x6b68db44
-0, 45000, 393216, 0x82d15d62
-1, 45453, 2944, 0x55d1f308
-0, 48000, 393216, 0x2ae39eca
-1, 48457, 2944, 0x7e92f50b
-0, 51000, 393216, 0x9254be70
-1, 51461, 2944, 0xe9e91eed
-0, 54000, 393216, 0x4b2ed384
-1, 54465, 2944, 0x80af2ce0
-0, 57000, 393216, 0xbbd9d8f7
-1, 57469, 2944, 0xc67ffb07
-0, 60000, 393216, 0x1f2be0c3
-1, 60473, 2944, 0x7aaded27
-0, 63000, 393216, 0x2434eb25
-1, 63478, 2944, 0x14a024fd
-0, 66000, 393216, 0xa6cced4e
-1, 66482, 2944, 0x26e8df1f
-0, 69000, 393216, 0xd116f38b
-1, 69486, 2944, 0x2688df44
-0, 72000, 393216, 0x6b86f380
-1, 72490, 2944, 0x4b9cdd33
-0, 75000, 393216, 0xc1b3f8e9
-1, 75494, 2944, 0x10c2f11c
-0, 78000, 393216, 0x2993fd5d
-1, 78498, 2944, 0xc4e3ad6d
-0, 81000, 393216, 0xf489fe18
-1, 81502, 2944, 0xbeb1a78e
-0, 84000, 393216, 0x9ef10501
-1, 84506, 2944, 0x283d4e7f
-0, 87000, 393216, 0x8faf0512
-1, 87510, 2944, 0x4acf65e0
-0, 90000, 393216, 0xa54d0736
-1, 90514, 2944, 0x0ca29b8c
-0, 93000, 393216, 0xf4ef01e0
-1, 93518, 2944, 0x003fae34
-0, 96000, 393216, 0xe241ef51
-1, 96522, 2944, 0x2acfec7e
-0, 99000, 393216, 0xcc38e51f
-1, 99527, 2944, 0xea6fc6fe
-0, 102000, 393216, 0xb1345876
-1, 102531, 2944, 0xf5daec2f
-0, 105000, 393216, 0xf9b0968b
-1, 105535, 2944, 0x8d33ed7a
-0, 108000, 393216, 0x6bb1523f
-1, 108539, 2944, 0xc328f984
-0, 111000, 393216, 0x83469a05
-1, 111543, 2944, 0x6e0b58d3
-0, 114000, 393216, 0x73e30882
-1, 114547, 2944, 0xe282dc3f
-0, 117000, 393216, 0x8673da66
-1, 117551, 2944, 0xbf9bf3e6
-0, 120000, 393216, 0xb67596d3
-1, 120555, 2944, 0xd7b7d7e3
-0, 123000, 393216, 0xf7638710
-1, 123559, 2944, 0x4e87b6ab
-0, 126000, 393216, 0x813a8f47
-1, 126563, 2944, 0x7b8ce8d6
-0, 129000, 393216, 0xb3526555
-1, 129567, 2944, 0xd42991a5
-0, 132000, 393216, 0x1b167be3
-1, 132571, 2944, 0x452c98ca
-0, 135000, 393216, 0x99114562
-1, 135576, 2944, 0x6d27832d
-0, 138000, 393216, 0xfafb0693
-1, 138580, 2944, 0xa558720e
-0, 141000, 393216, 0x121d96c8
-1, 141584, 2944, 0x0a31bec0
-0, 144000, 393216, 0xb3c68c5d
-1, 144588, 2944, 0x28431384
-0, 147000, 393216, 0x2035b97f
-1, 147592, 2944, 0xd5e9fb3d
-0, 150000, 393216, 0xfbcaeb62
-1, 150596, 2944, 0x34f0e9f8
-0, 153000, 393216, 0xfd5aea5d
-1, 153600, 2944, 0x979432df
-0, 156000, 393216, 0x66efbddd
-1, 156604, 2944, 0xb00acd4d
-0, 159000, 393216, 0xf1e17862
-1, 159608, 2944, 0x726bffd6
-0, 162000, 393216, 0x27fa584d
-1, 162612, 2944, 0xa1f39a6d
-0, 165000, 393216, 0xe644ec5f
-1, 165616, 2944, 0xf6a8e30e
-0, 168000, 393216, 0x7e3067ba
-1, 168620, 2944, 0x608e9e06
-0, 171000, 393216, 0x1b6ba6fd
-1, 171624, 2944, 0x4ec58bc3
-0, 174000, 393216, 0x55bdba34
-1, 174629, 2944, 0x6d5c8458
-0, 177000, 393216, 0xc67db2e4
-1, 177633, 2944, 0x76a0abbd
-0, 180000, 393216, 0x359de8a2
-1, 180637, 2944, 0xf830e8a6
-0, 183000, 393216, 0x7b7a32ef
-1, 183641, 2944, 0x1bdd7bec
-0, 186000, 393216, 0xbe512a66
-1, 186645, 2944, 0x3c1bd187
-0, 189000, 393216, 0x681d82bf
-1, 189649, 2944, 0xf52cf697
-0, 192000, 393216, 0xa2320ec5
-1, 192653, 2944, 0x8f65b773
-0, 195000, 393216, 0xcfbd9954
-1, 195657, 2944, 0xf8b5b598
-0, 198000, 393216, 0x7fee9854
-1, 198661, 2944, 0xcd87d5ed
-0, 201000, 393216, 0x70eec155
-1, 201665, 2944, 0x672ac02a
-0, 204000, 393216, 0x114f684e
-1, 204669, 2944, 0x1d5d13ed
-0, 207000, 393216, 0xe27f034f
-1, 207673, 2944, 0xe298e3d4
-0, 210000, 393216, 0xfbbd89b4
-1, 210678, 2944, 0x3d2e9c32
-0, 213000, 393216, 0xcef4c58a
-1, 213682, 2944, 0xf3a39259
-0, 216000, 393216, 0x9eea88e9
-1, 216686, 2944, 0x930ae8f8
-0, 219000, 393216, 0x911cea42
-1, 219690, 2944, 0x8562aff7
-0, 222000, 393216, 0xec5727ea
-1, 222694, 2944, 0x9cd6c6a7
-0, 225000, 393216, 0xda998c33
-1, 225698, 2944, 0x2709dc5c
-0, 228000, 393216, 0xc82140ed
-1, 228702, 2944, 0xcbe31816
-0, 231000, 393216, 0x4caa8591
-1, 231706, 2944, 0xd7876ec4
-0, 234000, 393216, 0x4944206c
-1, 234710, 2944, 0xc2468b6a
-0, 237000, 393216, 0xd4676a94
-1, 237714, 2944, 0x76043e84
-0, 240000, 393216, 0x9e0340b3
-1, 240718, 2944, 0xd2c35bf0
-0, 243000, 393216, 0xbdef7f94
-1, 243722, 2944, 0x63de6061
-0, 246000, 393216, 0xfac05cb0
-1, 246727, 2944, 0xd8f6ed1d
-0, 249000, 393216, 0xfef5a369
-1, 249731, 2944, 0xe034928a
-0, 252000, 393216, 0x9fcb3711
-1, 252735, 2944, 0xa044da74
-0, 255000, 393216, 0x6d93f761
-1, 255739, 2944, 0xee410dba
-0, 258000, 393216, 0xe95dc1ae
-1, 258743, 2944, 0x8e020c7c
-0, 261000, 393216, 0x3e561557
-1, 261747, 2944, 0x73057ddb
-0, 264000, 393216, 0x0fa7a049
-1, 264751, 2944, 0xdee5cc18
-0, 267000, 393216, 0xf16afb95
-1, 267755, 2944, 0xf4d31dec
-0, 270000, 393216, 0xe53a2064
-1, 270759, 2944, 0xe8131e1c
-0, 273000, 393216, 0x57f046a4
-1, 273763, 2944, 0x8ae69c95
-0, 276000, 393216, 0xf6f16a0c
-1, 276767, 2944, 0x791c0bf4
-0, 279000, 393216, 0xcba0c8b0
-1, 279771, 2944, 0xd45a10db
-0, 282000, 393216, 0x5bdbe522
-1, 282776, 2944, 0x3a72b010
-0, 285000, 393216, 0x0fed0151
-1, 285780, 2944, 0x6a4a0411
-0, 288000, 393216, 0xbf86faf8
-1, 288784, 2944, 0xd77ab7f5
-0, 291000, 393216, 0x39854c5f
-1, 291788, 2944, 0xe3bf4fe5
-0, 294000, 393216, 0xd9b7760a
-1, 294792, 2944, 0x12db1be8
-0, 297000, 393216, 0x8edcc1d9
-1, 297796, 2944, 0x345210b0
-0, 300000, 393216, 0x44ae1435
-1, 300800, 2944, 0xcfc1f892
-0, 303000, 393216, 0xbc3d6d73
-1, 303804, 2944, 0x5b0a80bb
-0, 306000, 393216, 0xedd82647
-1, 306808, 2944, 0x31ab1168
-0, 309000, 393216, 0x1c2e5ce3
-1, 309812, 2944, 0xd4a4bb0a
-0, 312000, 393216, 0x04e29afe
-1, 312816, 2944, 0x8e211c8f
-0, 315000, 393216, 0xb191578e
-1, 315820, 2944, 0xcf464d50
-0, 318000, 393216, 0x31d75a06
-1, 318824, 2944, 0xe74ff3d6
-0, 321000, 393216, 0xfdb6c56e
-1, 321829, 2944, 0x6274635f
-0, 324000, 393216, 0xf528f484
-1, 324833, 2944, 0xc34c9f64
-0, 327000, 393216, 0x87af758e
-1, 327837, 2944, 0xbb997537
-0, 330000, 393216, 0xc8bdafb7
-1, 330841, 2944, 0x3600da72
-0, 333000, 393216, 0x573afe93
-1, 333845, 2944, 0x343e15f4
-0, 336000, 393216, 0xb03cb8f5
-1, 336849, 2944, 0x17bc58a8
-0, 339000, 393216, 0x6e03ac71
-1, 339853, 2944, 0x3dcbd3ff
-0, 342000, 393216, 0xf919164e
-1, 342857, 2944, 0x1d422371
-0, 345000, 393216, 0x80059f3c
-1, 345861, 2944, 0xe2b83d9d
-0, 348000, 393216, 0xf4ea0b1a
-1, 348865, 2944, 0x65388409
-0, 351000, 393216, 0xe7720ffb
-1, 351869, 2944, 0xafbca269
-0, 354000, 393216, 0x1ec0cd56
-1, 354873, 2944, 0x2d00c0fb
-0, 357000, 393216, 0x2bc8cf18
-1, 357878, 2944, 0xbac9c503
-0, 360000, 393216, 0xe0bf17b5
-1, 360882, 2944, 0x9990768d
-0, 363000, 393216, 0x660247e1
-1, 363886, 2944, 0x8ba978be
-0, 366000, 393216, 0xcf66f2a9
-1, 366890, 2944, 0x5a44a2f5
-0, 369000, 393216, 0x5494d5ab
-1, 369894, 2944, 0xa4b6f3b8
-0, 372000, 393216, 0x2c02f2c4
-1, 372898, 2944, 0x631b6b9f
-0, 375000, 393216, 0x93fa3783
-1, 375902, 2944, 0x4c840923
-0, 378000, 393216, 0x4cc50633
-1, 378906, 2944, 0x7c105df3
-0, 381000, 393216, 0x3f179386
-1, 381910, 2944, 0x01bcb213
-0, 384000, 393216, 0x2bca9e1b
-1, 384914, 2944, 0x95cffbf7
-0, 387000, 393216, 0x3e4af867
-1, 387918, 2944, 0x170a9c3a
-0, 390000, 393216, 0x7e7df93c
-1, 390922, 2944, 0x59e09d61
-0, 393000, 393216, 0x577e4fb0
-1, 393927, 2944, 0x3ea0f205
-0, 396000, 393216, 0x34487f0a
-1, 396931, 2944, 0xd9ea1a3a
-0, 399000, 393216, 0x0937bcfc
-1, 399935, 2944, 0xaf32d704
-0, 402000, 393216, 0xa9e75a5e
-1, 402939, 2944, 0x2d473392
-0, 405000, 393216, 0xf7bc0c89
-1, 405943, 2944, 0x2a8ec544
-0, 408000, 393216, 0x06dacca6
-1, 408947, 2944, 0x883c8838
-0, 411000, 393216, 0x7baaa4bd
-1, 411951, 2944, 0xfaf4d789
-0, 414000, 393216, 0x95477f5f
-1, 414955, 2944, 0xcb315b65
-0, 417000, 393216, 0x51117526
-1, 417959, 2944, 0x980c93b0
-0, 420000, 393216, 0x69656d03
-1, 420963, 2944, 0x0819583b
-0, 423000, 393216, 0xcbd061bb
-1, 423967, 2944, 0xf126e5b5
-0, 426000, 393216, 0x8d1d5be2
-1, 426971, 2944, 0x88836255
-0, 429000, 393216, 0x43e55930
-1, 429976, 2944, 0xc8ae8ca8
-0, 432000, 393216, 0xb56f5872
-1, 432980, 2944, 0xf0750551
-0, 435000, 393216, 0x09a255e9
-1, 435984, 2944, 0x3dfe13a3
-0, 438000, 393216, 0xcaaa5456
-1, 438988, 2944, 0xf2aa957b
-0, 441000, 393216, 0xd267501f
-1, 441992, 2944, 0xa77b79a3
-0, 444000, 393216, 0x7bef4eca
-1, 444996, 2944, 0xb1038284
-0, 447000, 393216, 0x9aa94af3
-1, 448000, 2944, 0xf96be3ba
-0, 450000, 393216, 0xd39d4a29
-1, 451004, 2944, 0x1ae6e293
-0, 453000, 393216, 0x7a754960
-1, 454008, 2944, 0x2059d020
-0, 456000, 393216, 0x3f004921
-1, 457012, 2944, 0x7e6c9996
-0, 459000, 393216, 0x0f784ca8
-1, 460016, 2944, 0x3108b540
-0, 462000, 393216, 0x2a062c70
-1, 463020, 2944, 0x75133155
-0, 465000, 393216, 0x114ef770
-1, 466024, 2944, 0x59a19226
-0, 468000, 393216, 0xfb7673bf
-1, 469029, 2944, 0x3140c138
-0, 471000, 393216, 0xbaea88f7
-1, 472033, 2944, 0x7570d3be
-0, 474000, 393216, 0x6fdfe2ec
-1, 475037, 2944, 0x54fd4ff6
-0, 477000, 393216, 0xb7b2b398
-1, 478041, 2944, 0x23bcf6dc
-0, 480000, 393216, 0x14ba127e
-1, 481045, 2944, 0x2d26489b
-0, 483000, 393216, 0x660b3041
-1, 484049, 2944, 0x4b37bf13
-0, 486000, 393216, 0xe3f3302a
-1, 487053, 2944, 0x12812ec9
-0, 489000, 393216, 0x34c7f1c9
-1, 490057, 2944, 0xc4a609dd
-0, 492000, 393216, 0xa8257bf4
-1, 493061, 2944, 0x5a8c5b20
-0, 495000, 393216, 0xd63fc649
-1, 496065, 2944, 0xd05d110f
-0, 498000, 393216, 0xf8e5b79c
-1, 499069, 2944, 0xceea6f1f
-0, 501000, 393216, 0xa67b52ab
-1, 502073, 2944, 0x4033b0a5
-0, 504000, 393216, 0xef8f9c74
-1, 505078, 2944, 0x101895ce
-0, 507000, 393216, 0x6d3aa6b6
-1, 508082, 2944, 0xd6c6809f
-0, 510000, 393216, 0x8c174ee6
-1, 511086, 2944, 0x197bda7e
-0, 513000, 393216, 0x2dfbc524
-1, 514090, 2944, 0x96fb3e4b
-0, 516000, 393216, 0x7d0808b6
-1, 517094, 2944, 0x12a6e3de
-0, 519000, 393216, 0x6cbdf6f5
-1, 520098, 2944, 0xfb80e466
-0, 522000, 393216, 0xfe39bc53
-1, 523102, 2944, 0xedb8c2fc
-0, 525000, 393216, 0xa3d869b0
-1, 526106, 1016, 0x30e56ca5
-0, 528000, 393216, 0x09f00057
-0, 531000, 393216, 0x6ba56343
-0, 534000, 393216, 0xb696ca3e
-0, 537000, 393216, 0x4eba0225
-0, 540000, 393216, 0xdd45464b
-0, 543000, 393216, 0x2909a9ea
-0, 546000, 393216, 0x12aa3f85
-0, 549000, 393216, 0x59421352
-0, 552000, 393216, 0x57ea0313
-0, 555000, 393216, 0x4e5f3a38
-0, 558000, 393216, 0x55bc932d
-0, 561000, 393216, 0x666ee55d
-0, 564000, 393216, 0xb0f84a69
-0, 567000, 393216, 0xad3ae63f
-0, 570000, 393216, 0x970fd47d
-0, 573000, 393216, 0x86c418e0
-0, 576000, 393216, 0x52c9ce50
-0, 579000, 393216, 0xd54c98c8
-0, 582000, 393216, 0xb40e5fea
-0, 585000, 393216, 0x2aa74875
-0, 588000, 393216, 0x305b251e
-0, 591000, 393216, 0xab8c0780
-0, 594000, 393216, 0x0101dd0e
-0, 597000, 393216, 0x23739cab
-0, 600000, 393216, 0xf05196a0
-0, 603000, 393216, 0x932d1e00
-0, 606000, 393216, 0x932d1e00
-0, 609000, 393216, 0x932d1e00
-0, 612000, 393216, 0x932d1e00
-0, 615000, 393216, 0x932d1e00
-0, 618000, 393216, 0x932d1e00
-0, 621000, 393216, 0x932d1e00
-0, 624000, 393216, 0x932d1e00
-0, 627000, 393216, 0x932d1e00
+#tb 0: 1/30
+#tb 1: 1/22050
+0, 0, 0, 1, 393216, 0x56995aac
+1, 0, 0, 7456, 29824, 0x77e265b7
+0, 1, 1, 1, 393216, 0xf9ed5d6c
+0, 2, 2, 1, 393216, 0xd3285d75
+0, 3, 3, 1, 393216, 0x82d15d62
+0, 4, 4, 1, 393216, 0x893e5d6f
+0, 5, 5, 1, 393216, 0x82d15d62
+0, 6, 6, 1, 393216, 0x893e5d6f
+0, 7, 7, 1, 393216, 0x82d15d62
+0, 8, 8, 1, 393216, 0x893e5d6f
+0, 9, 9, 1, 393216, 0x82d15d62
+0, 10, 10, 1, 393216, 0x893e5d6f
+1, 7456, 7456, 736, 2944, 0x8dcdf50b
+0, 11, 11, 1, 393216, 0x82d15d62
+1, 8192, 8192, 736, 2944, 0xb135cd2a
+0, 12, 12, 1, 393216, 0x893e5d6f
+1, 8928, 8928, 736, 2944, 0x54a6e73f
+0, 13, 13, 1, 393216, 0x82d15d62
+1, 9664, 9664, 736, 2944, 0x050ccd4e
+0, 14, 14, 1, 393216, 0x893e5d6f
+1, 10400, 10400, 736, 2944, 0x6b68db44
+0, 15, 15, 1, 393216, 0x82d15d62
+1, 11136, 11136, 736, 2944, 0x55d1f308
+0, 16, 16, 1, 393216, 0x2ae39eca
+1, 11872, 11872, 736, 2944, 0x7e92f50b
+0, 17, 17, 1, 393216, 0x9254be70
+1, 12608, 12608, 736, 2944, 0xe9e91eed
+0, 18, 18, 1, 393216, 0x4b2ed384
+1, 13344, 13344, 736, 2944, 0x80af2ce0
+0, 19, 19, 1, 393216, 0xbbd9d8f7
+1, 14080, 14080, 736, 2944, 0xc67ffb07
+0, 20, 20, 1, 393216, 0x1f2be0c3
+1, 14816, 14816, 736, 2944, 0x7aaded27
+0, 21, 21, 1, 393216, 0x2434eb25
+1, 15552, 15552, 736, 2944, 0x14a024fd
+0, 22, 22, 1, 393216, 0xa6cced4e
+1, 16288, 16288, 736, 2944, 0x26e8df1f
+0, 23, 23, 1, 393216, 0xd116f38b
+1, 17024, 17024, 736, 2944, 0x2688df44
+0, 24, 24, 1, 393216, 0x6b86f380
+1, 17760, 17760, 736, 2944, 0x4b9cdd33
+0, 25, 25, 1, 393216, 0xc1b3f8e9
+1, 18496, 18496, 736, 2944, 0x10c2f11c
+0, 26, 26, 1, 393216, 0x2993fd5d
+1, 19232, 19232, 736, 2944, 0xc4e3ad6d
+0, 27, 27, 1, 393216, 0xf489fe18
+1, 19968, 19968, 736, 2944, 0xbeb1a78e
+0, 28, 28, 1, 393216, 0x9ef10501
+1, 20704, 20704, 736, 2944, 0x283d4e7f
+0, 29, 29, 1, 393216, 0x8faf0512
+1, 21440, 21440, 736, 2944, 0x4acf65e0
+0, 30, 30, 1, 393216, 0xa54d0736
+1, 22176, 22176, 736, 2944, 0x0ca29b8c
+0, 31, 31, 1, 393216, 0xf4ef01e0
+1, 22912, 22912, 736, 2944, 0x003fae34
+0, 32, 32, 1, 393216, 0xe241ef51
+1, 23648, 23648, 736, 2944, 0x2acfec7e
+0, 33, 33, 1, 393216, 0xcc38e51f
+1, 24384, 24384, 736, 2944, 0xea6fc6fe
+0, 34, 34, 1, 393216, 0xb1345876
+1, 25120, 25120, 736, 2944, 0xf5daec2f
+0, 35, 35, 1, 393216, 0xf9b0968b
+1, 25856, 25856, 736, 2944, 0x8d33ed7a
+0, 36, 36, 1, 393216, 0x6bb1523f
+1, 26592, 26592, 736, 2944, 0xc328f984
+0, 37, 37, 1, 393216, 0x83469a05
+1, 27328, 27328, 736, 2944, 0x6e0b58d3
+0, 38, 38, 1, 393216, 0x73e30882
+1, 28064, 28064, 736, 2944, 0xe282dc3f
+0, 39, 39, 1, 393216, 0x8673da66
+1, 28800, 28800, 736, 2944, 0xbf9bf3e6
+0, 40, 40, 1, 393216, 0xb67596d3
+1, 29536, 29536, 736, 2944, 0xd7b7d7e3
+0, 41, 41, 1, 393216, 0xf7638710
+1, 30272, 30272, 736, 2944, 0x4e87b6ab
+0, 42, 42, 1, 393216, 0x813a8f47
+1, 31008, 31008, 736, 2944, 0x7b8ce8d6
+0, 43, 43, 1, 393216, 0xb3526555
+1, 31744, 31744, 736, 2944, 0xd42991a5
+0, 44, 44, 1, 393216, 0x1b167be3
+1, 32480, 32480, 736, 2944, 0x452c98ca
+0, 45, 45, 1, 393216, 0x99114562
+1, 33216, 33216, 736, 2944, 0x6d27832d
+0, 46, 46, 1, 393216, 0xfafb0693
+1, 33952, 33952, 736, 2944, 0xa558720e
+0, 47, 47, 1, 393216, 0x121d96c8
+1, 34688, 34688, 736, 2944, 0x0a31bec0
+0, 48, 48, 1, 393216, 0xb3c68c5d
+1, 35424, 35424, 736, 2944, 0x28431384
+0, 49, 49, 1, 393216, 0x2035b97f
+1, 36160, 36160, 736, 2944, 0xd5e9fb3d
+0, 50, 50, 1, 393216, 0xfbcaeb62
+1, 36896, 36896, 736, 2944, 0x34f0e9f8
+0, 51, 51, 1, 393216, 0xfd5aea5d
+1, 37632, 37632, 736, 2944, 0x979432df
+0, 52, 52, 1, 393216, 0x66efbddd
+1, 38368, 38368, 736, 2944, 0xb00acd4d
+0, 53, 53, 1, 393216, 0xf1e17862
+1, 39104, 39104, 736, 2944, 0x726bffd6
+0, 54, 54, 1, 393216, 0x27fa584d
+1, 39840, 39840, 736, 2944, 0xa1f39a6d
+0, 55, 55, 1, 393216, 0xe644ec5f
+1, 40576, 40576, 736, 2944, 0xf6a8e30e
+0, 56, 56, 1, 393216, 0x7e3067ba
+1, 41312, 41312, 736, 2944, 0x608e9e06
+0, 57, 57, 1, 393216, 0x1b6ba6fd
+1, 42048, 42048, 736, 2944, 0x4ec58bc3
+0, 58, 58, 1, 393216, 0x55bdba34
+1, 42784, 42784, 736, 2944, 0x6d5c8458
+0, 59, 59, 1, 393216, 0xc67db2e4
+1, 43520, 43520, 736, 2944, 0x76a0abbd
+0, 60, 60, 1, 393216, 0x359de8a2
+1, 44256, 44256, 736, 2944, 0xf830e8a6
+0, 61, 61, 1, 393216, 0x7b7a32ef
+1, 44992, 44992, 736, 2944, 0x1bdd7bec
+0, 62, 62, 1, 393216, 0xbe512a66
+1, 45728, 45728, 736, 2944, 0x3c1bd187
+0, 63, 63, 1, 393216, 0x681d82bf
+1, 46464, 46464, 736, 2944, 0xf52cf697
+0, 64, 64, 1, 393216, 0xa2320ec5
+1, 47200, 47200, 736, 2944, 0x8f65b773
+0, 65, 65, 1, 393216, 0xcfbd9954
+1, 47936, 47936, 736, 2944, 0xf8b5b598
+0, 66, 66, 1, 393216, 0x7fee9854
+1, 48672, 48672, 736, 2944, 0xcd87d5ed
+0, 67, 67, 1, 393216, 0x70eec155
+1, 49408, 49408, 736, 2944, 0x672ac02a
+0, 68, 68, 1, 393216, 0x114f684e
+1, 50144, 50144, 736, 2944, 0x1d5d13ed
+0, 69, 69, 1, 393216, 0xe27f034f
+1, 50880, 50880, 736, 2944, 0xe298e3d4
+0, 70, 70, 1, 393216, 0xfbbd89b4
+1, 51616, 51616, 736, 2944, 0x3d2e9c32
+0, 71, 71, 1, 393216, 0xcef4c58a
+1, 52352, 52352, 736, 2944, 0xf3a39259
+0, 72, 72, 1, 393216, 0x9eea88e9
+1, 53088, 53088, 736, 2944, 0x930ae8f8
+0, 73, 73, 1, 393216, 0x911cea42
+1, 53824, 53824, 736, 2944, 0x8562aff7
+0, 74, 74, 1, 393216, 0xec5727ea
+1, 54560, 54560, 736, 2944, 0x9cd6c6a7
+0, 75, 75, 1, 393216, 0xda998c33
+1, 55296, 55296, 736, 2944, 0x2709dc5c
+0, 76, 76, 1, 393216, 0xc82140ed
+1, 56032, 56032, 736, 2944, 0xcbe31816
+0, 77, 77, 1, 393216, 0x4caa8591
+1, 56768, 56768, 736, 2944, 0xd7876ec4
+0, 78, 78, 1, 393216, 0x4944206c
+1, 57504, 57504, 736, 2944, 0xc2468b6a
+0, 79, 79, 1, 393216, 0xd4676a94
+1, 58240, 58240, 736, 2944, 0x76043e84
+0, 80, 80, 1, 393216, 0x9e0340b3
+1, 58976, 58976, 736, 2944, 0xd2c35bf0
+0, 81, 81, 1, 393216, 0xbdef7f94
+1, 59712, 59712, 736, 2944, 0x63de6061
+0, 82, 82, 1, 393216, 0xfac05cb0
+1, 60448, 60448, 736, 2944, 0xd8f6ed1d
+0, 83, 83, 1, 393216, 0xfef5a369
+1, 61184, 61184, 736, 2944, 0xe034928a
+0, 84, 84, 1, 393216, 0x9fcb3711
+1, 61920, 61920, 736, 2944, 0xa044da74
+0, 85, 85, 1, 393216, 0x6d93f761
+1, 62656, 62656, 736, 2944, 0xee410dba
+0, 86, 86, 1, 393216, 0xe95dc1ae
+1, 63392, 63392, 736, 2944, 0x8e020c7c
+0, 87, 87, 1, 393216, 0x3e561557
+1, 64128, 64128, 736, 2944, 0x73057ddb
+0, 88, 88, 1, 393216, 0x0fa7a049
+1, 64864, 64864, 736, 2944, 0xdee5cc18
+0, 89, 89, 1, 393216, 0xf16afb95
+1, 65600, 65600, 736, 2944, 0xf4d31dec
+0, 90, 90, 1, 393216, 0xe53a2064
+1, 66336, 66336, 736, 2944, 0xe8131e1c
+0, 91, 91, 1, 393216, 0x57f046a4
+1, 67072, 67072, 736, 2944, 0x8ae69c95
+0, 92, 92, 1, 393216, 0xf6f16a0c
+1, 67808, 67808, 736, 2944, 0x791c0bf4
+0, 93, 93, 1, 393216, 0xcba0c8b0
+1, 68544, 68544, 736, 2944, 0xd45a10db
+0, 94, 94, 1, 393216, 0x5bdbe522
+1, 69280, 69280, 736, 2944, 0x3a72b010
+0, 95, 95, 1, 393216, 0x0fed0151
+1, 70016, 70016, 736, 2944, 0x6a4a0411
+0, 96, 96, 1, 393216, 0xbf86faf8
+1, 70752, 70752, 736, 2944, 0xd77ab7f5
+0, 97, 97, 1, 393216, 0x39854c5f
+1, 71488, 71488, 736, 2944, 0xe3bf4fe5
+0, 98, 98, 1, 393216, 0xd9b7760a
+1, 72224, 72224, 736, 2944, 0x12db1be8
+0, 99, 99, 1, 393216, 0x8edcc1d9
+1, 72960, 72960, 736, 2944, 0x345210b0
+0, 100, 100, 1, 393216, 0x44ae1435
+1, 73696, 73696, 736, 2944, 0xcfc1f892
+0, 101, 101, 1, 393216, 0xbc3d6d73
+1, 74432, 74432, 736, 2944, 0x5b0a80bb
+0, 102, 102, 1, 393216, 0xedd82647
+1, 75168, 75168, 736, 2944, 0x31ab1168
+0, 103, 103, 1, 393216, 0x1c2e5ce3
+1, 75904, 75904, 736, 2944, 0xd4a4bb0a
+0, 104, 104, 1, 393216, 0x04e29afe
+1, 76640, 76640, 736, 2944, 0x8e211c8f
+0, 105, 105, 1, 393216, 0xb191578e
+1, 77376, 77376, 736, 2944, 0xcf464d50
+0, 106, 106, 1, 393216, 0x31d75a06
+1, 78112, 78112, 736, 2944, 0xe74ff3d6
+0, 107, 107, 1, 393216, 0xfdb6c56e
+1, 78848, 78848, 736, 2944, 0x6274635f
+0, 108, 108, 1, 393216, 0xf528f484
+1, 79584, 79584, 736, 2944, 0xc34c9f64
+0, 109, 109, 1, 393216, 0x87af758e
+1, 80320, 80320, 736, 2944, 0xbb997537
+0, 110, 110, 1, 393216, 0xc8bdafb7
+1, 81056, 81056, 736, 2944, 0x3600da72
+0, 111, 111, 1, 393216, 0x573afe93
+1, 81792, 81792, 736, 2944, 0x343e15f4
+0, 112, 112, 1, 393216, 0xb03cb8f5
+1, 82528, 82528, 736, 2944, 0x17bc58a8
+0, 113, 113, 1, 393216, 0x6e03ac71
+1, 83264, 83264, 736, 2944, 0x3dcbd3ff
+0, 114, 114, 1, 393216, 0xf919164e
+1, 84000, 84000, 736, 2944, 0x1d422371
+0, 115, 115, 1, 393216, 0x80059f3c
+1, 84736, 84736, 736, 2944, 0xe2b83d9d
+0, 116, 116, 1, 393216, 0xf4ea0b1a
+1, 85472, 85472, 736, 2944, 0x65388409
+0, 117, 117, 1, 393216, 0xe7720ffb
+1, 86208, 86208, 736, 2944, 0xafbca269
+0, 118, 118, 1, 393216, 0x1ec0cd56
+1, 86944, 86944, 736, 2944, 0x2d00c0fb
+0, 119, 119, 1, 393216, 0x2bc8cf18
+1, 87680, 87680, 736, 2944, 0xbac9c503
+0, 120, 120, 1, 393216, 0xe0bf17b5
+1, 88416, 88416, 736, 2944, 0x9990768d
+0, 121, 121, 1, 393216, 0x660247e1
+1, 89152, 89152, 736, 2944, 0x8ba978be
+0, 122, 122, 1, 393216, 0xcf66f2a9
+1, 89888, 89888, 736, 2944, 0x5a44a2f5
+0, 123, 123, 1, 393216, 0x5494d5ab
+1, 90624, 90624, 736, 2944, 0xa4b6f3b8
+0, 124, 124, 1, 393216, 0x2c02f2c4
+1, 91360, 91360, 736, 2944, 0x631b6b9f
+0, 125, 125, 1, 393216, 0x93fa3783
+1, 92096, 92096, 736, 2944, 0x4c840923
+0, 126, 126, 1, 393216, 0x4cc50633
+1, 92832, 92832, 736, 2944, 0x7c105df3
+0, 127, 127, 1, 393216, 0x3f179386
+1, 93568, 93568, 736, 2944, 0x01bcb213
+0, 128, 128, 1, 393216, 0x2bca9e1b
+1, 94304, 94304, 736, 2944, 0x95cffbf7
+0, 129, 129, 1, 393216, 0x3e4af867
+1, 95040, 95040, 736, 2944, 0x170a9c3a
+0, 130, 130, 1, 393216, 0x7e7df93c
+1, 95776, 95776, 736, 2944, 0x59e09d61
+0, 131, 131, 1, 393216, 0x577e4fb0
+1, 96512, 96512, 736, 2944, 0x3ea0f205
+0, 132, 132, 1, 393216, 0x34487f0a
+1, 97248, 97248, 736, 2944, 0xd9ea1a3a
+0, 133, 133, 1, 393216, 0x0937bcfc
+1, 97984, 97984, 736, 2944, 0xaf32d704
+0, 134, 134, 1, 393216, 0xa9e75a5e
+1, 98720, 98720, 736, 2944, 0x2d473392
+0, 135, 135, 1, 393216, 0xf7bc0c89
+1, 99456, 99456, 736, 2944, 0x2a8ec544
+0, 136, 136, 1, 393216, 0x06dacca6
+1, 100192, 100192, 736, 2944, 0x883c8838
+0, 137, 137, 1, 393216, 0x7baaa4bd
+1, 100928, 100928, 736, 2944, 0xfaf4d789
+0, 138, 138, 1, 393216, 0x95477f5f
+1, 101664, 101664, 736, 2944, 0xcb315b65
+0, 139, 139, 1, 393216, 0x51117526
+1, 102400, 102400, 736, 2944, 0x980c93b0
+0, 140, 140, 1, 393216, 0x69656d03
+1, 103136, 103136, 736, 2944, 0x0819583b
+0, 141, 141, 1, 393216, 0xcbd061bb
+1, 103872, 103872, 736, 2944, 0xf126e5b5
+0, 142, 142, 1, 393216, 0x8d1d5be2
+1, 104608, 104608, 736, 2944, 0x88836255
+0, 143, 143, 1, 393216, 0x43e55930
+1, 105344, 105344, 736, 2944, 0xc8ae8ca8
+0, 144, 144, 1, 393216, 0xb56f5872
+1, 106080, 106080, 736, 2944, 0xf0750551
+0, 145, 145, 1, 393216, 0x09a255e9
+1, 106816, 106816, 736, 2944, 0x3dfe13a3
+0, 146, 146, 1, 393216, 0xcaaa5456
+1, 107552, 107552, 736, 2944, 0xf2aa957b
+0, 147, 147, 1, 393216, 0xd267501f
+1, 108288, 108288, 736, 2944, 0xa77b79a3
+0, 148, 148, 1, 393216, 0x7bef4eca
+1, 109024, 109024, 736, 2944, 0xb1038284
+0, 149, 149, 1, 393216, 0x9aa94af3
+1, 109760, 109760, 736, 2944, 0xf96be3ba
+0, 150, 150, 1, 393216, 0xd39d4a29
+1, 110496, 110496, 736, 2944, 0x1ae6e293
+0, 151, 151, 1, 393216, 0x7a754960
+1, 111232, 111232, 736, 2944, 0x2059d020
+0, 152, 152, 1, 393216, 0x3f004921
+1, 111968, 111968, 736, 2944, 0x7e6c9996
+0, 153, 153, 1, 393216, 0x0f784ca8
+1, 112704, 112704, 736, 2944, 0x3108b540
+0, 154, 154, 1, 393216, 0x2a062c70
+1, 113440, 113440, 736, 2944, 0x75133155
+0, 155, 155, 1, 393216, 0x114ef770
+1, 114176, 114176, 736, 2944, 0x59a19226
+0, 156, 156, 1, 393216, 0xfb7673bf
+1, 114912, 114912, 736, 2944, 0x3140c138
+0, 157, 157, 1, 393216, 0xbaea88f7
+1, 115648, 115648, 736, 2944, 0x7570d3be
+0, 158, 158, 1, 393216, 0x6fdfe2ec
+1, 116384, 116384, 736, 2944, 0x54fd4ff6
+0, 159, 159, 1, 393216, 0xb7b2b398
+1, 117120, 117120, 736, 2944, 0x23bcf6dc
+0, 160, 160, 1, 393216, 0x14ba127e
+1, 117856, 117856, 736, 2944, 0x2d26489b
+0, 161, 161, 1, 393216, 0x660b3041
+1, 118592, 118592, 736, 2944, 0x4b37bf13
+0, 162, 162, 1, 393216, 0xe3f3302a
+1, 119328, 119328, 736, 2944, 0x12812ec9
+0, 163, 163, 1, 393216, 0x34c7f1c9
+1, 120064, 120064, 736, 2944, 0xc4a609dd
+0, 164, 164, 1, 393216, 0xa8257bf4
+1, 120800, 120800, 736, 2944, 0x5a8c5b20
+0, 165, 165, 1, 393216, 0xd63fc649
+1, 121536, 121536, 736, 2944, 0xd05d110f
+0, 166, 166, 1, 393216, 0xf8e5b79c
+1, 122272, 122272, 736, 2944, 0xceea6f1f
+0, 167, 167, 1, 393216, 0xa67b52ab
+1, 123008, 123008, 736, 2944, 0x4033b0a5
+0, 168, 168, 1, 393216, 0xef8f9c74
+1, 123744, 123744, 736, 2944, 0x101895ce
+0, 169, 169, 1, 393216, 0x6d3aa6b6
+1, 124480, 124480, 736, 2944, 0xd6c6809f
+0, 170, 170, 1, 393216, 0x8c174ee6
+1, 125216, 125216, 736, 2944, 0x197bda7e
+0, 171, 171, 1, 393216, 0x2dfbc524
+1, 125952, 125952, 736, 2944, 0x96fb3e4b
+0, 172, 172, 1, 393216, 0x7d0808b6
+1, 126688, 126688, 736, 2944, 0x12a6e3de
+0, 173, 173, 1, 393216, 0x6cbdf6f5
+1, 127424, 127424, 736, 2944, 0xfb80e466
+0, 174, 174, 1, 393216, 0xfe39bc53
+1, 128160, 128160, 736, 2944, 0xedb8c2fc
+0, 175, 175, 1, 393216, 0xa3d869b0
+1, 128896, 128896, 254, 1016, 0x30e56ca5
+0, 176, 176, 1, 393216, 0x09f00057
+0, 177, 177, 1, 393216, 0x6ba56343
+0, 178, 178, 1, 393216, 0xb696ca3e
+0, 179, 179, 1, 393216, 0x4eba0225
+0, 180, 180, 1, 393216, 0xdd45464b
+0, 181, 181, 1, 393216, 0x2909a9ea
+0, 182, 182, 1, 393216, 0x12aa3f85
+0, 183, 183, 1, 393216, 0x59421352
+0, 184, 184, 1, 393216, 0x57ea0313
+0, 185, 185, 1, 393216, 0x4e5f3a38
+0, 186, 186, 1, 393216, 0x55bc932d
+0, 187, 187, 1, 393216, 0x666ee55d
+0, 188, 188, 1, 393216, 0xb0f84a69
+0, 189, 189, 1, 393216, 0xad3ae63f
+0, 190, 190, 1, 393216, 0x970fd47d
+0, 191, 191, 1, 393216, 0x86c418e0
+0, 192, 192, 1, 393216, 0x52c9ce50
+0, 193, 193, 1, 393216, 0xd54c98c8
+0, 194, 194, 1, 393216, 0xb40e5fea
+0, 195, 195, 1, 393216, 0x2aa74875
+0, 196, 196, 1, 393216, 0x305b251e
+0, 197, 197, 1, 393216, 0xab8c0780
+0, 198, 198, 1, 393216, 0x0101dd0e
+0, 199, 199, 1, 393216, 0x23739cab
+0, 200, 200, 1, 393216, 0xf05196a0
+0, 201, 201, 1, 393216, 0x932d1e00
+0, 202, 202, 1, 393216, 0x932d1e00
+0, 203, 203, 1, 393216, 0x932d1e00
+0, 204, 204, 1, 393216, 0x932d1e00
+0, 205, 205, 1, 393216, 0x932d1e00
+0, 206, 206, 1, 393216, 0x932d1e00
+0, 207, 207, 1, 393216, 0x932d1e00
+0, 208, 208, 1, 393216, 0x932d1e00
+0, 209, 209, 1, 393216, 0x932d1e00
diff --git a/tests/ref/fate/dpx b/tests/ref/fate/dpx
index 9260977ca5..fdb85ca9bc 100644
--- a/tests/ref/fate/dpx
+++ b/tests/ref/fate/dpx
@@ -1 +1,2 @@
-0, 0, 2359296, 0x30d4d24f
+#tb 0: 1/25
+0, 0, 0, 1, 2359296, 0x30d4d24f
diff --git a/tests/ref/fate/dxa-feeble b/tests/ref/fate/dxa-feeble
index caea4c2e2a..4dde7b9dd0 100644
--- a/tests/ref/fate/dxa-feeble
+++ b/tests/ref/fate/dxa-feeble
@@ -1,64 +1,66 @@
-0, 0, 921600, 0x0d03844f
-1, 0, 1000, 0x64cd9403
-1, 4082, 1000, 0xa4ef8a9d
-1, 8163, 1000, 0x75c19868
-0, 9000, 921600, 0x0d03844f
-1, 12245, 1000, 0x93db6f79
-1, 16327, 1000, 0x6835625d
-0, 18000, 921600, 0x649cdcea
-1, 20408, 1000, 0xb3affa8f
-1, 24490, 1000, 0x159fdcc8
-0, 27000, 921600, 0x649cdcea
-1, 28571, 1000, 0x79f9f7f1
-1, 32653, 1000, 0xd7d1131e
-0, 36000, 921600, 0x9c7f22e8
-1, 36735, 1000, 0x52a6f797
-1, 40816, 1000, 0x748202ca
-1, 44898, 1000, 0x0ef92449
-0, 45000, 921600, 0x9c7f22e8
-1, 48980, 1000, 0x6a3760ab
-1, 53061, 1000, 0xce5c5abf
-0, 54000, 921600, 0x3451514a
-1, 57143, 1000, 0x23396792
-1, 61224, 1000, 0xa5276238
-0, 63000, 921600, 0x3451514a
-1, 65306, 1000, 0x288adf1b
-1, 69388, 1000, 0xe7de6fb2
-0, 72000, 921600, 0x8f19f600
-1, 73469, 1000, 0x2c2c707f
-1, 77551, 1000, 0xd66d6daf
-0, 81000, 921600, 0x8f19f600
-1, 81633, 1000, 0xbcea7d64
-1, 85714, 1000, 0x766feea5
-1, 89796, 1000, 0xd2e1d63a
-0, 90000, 921600, 0x07e7445b
-1, 93878, 1000, 0x2f7ef4ed
-1, 97959, 1000, 0xb655cba4
-0, 99000, 921600, 0x07e7445b
-1, 102041, 1000, 0x4507d37b
-1, 106122, 1000, 0x0c57f794
-0, 108000, 921600, 0x873d1227
-1, 110204, 1000, 0x0ecbe5cc
-1, 114286, 1000, 0x9bf6e345
-0, 117000, 921600, 0x873d1227
-1, 118367, 1000, 0xc461443c
-1, 122449, 1000, 0xad9657bf
-0, 126000, 921600, 0xbef62d86
-1, 126531, 1000, 0x466fe91c
-1, 130612, 1000, 0x9ee377fe
-1, 134694, 1000, 0x09956428
-0, 135000, 921600, 0xbef62d86
-1, 138776, 1000, 0x9b285f0a
-1, 142857, 1000, 0x0a3e61a6
-0, 144000, 921600, 0xcf84fee4
-1, 146939, 1000, 0xacc25d6b
-1, 151020, 1000, 0x377be319
-0, 153000, 921600, 0xcf84fee4
-1, 155102, 1000, 0xe4890504
-1, 159184, 1000, 0xe90a6497
-0, 162000, 921600, 0x5639e670
-1, 163265, 1000, 0xd00fe950
-1, 167347, 1000, 0xf195eb44
-0, 171000, 921600, 0x5639e670
-1, 171429, 1000, 0xa491f3ef
-1, 175510, 1000, 0x2c036e18
+#tb 0: 1/10
+#tb 1: 1/11025
+0, 0, 0, 1, 921600, 0x0d03844f
+1, 0, 0, 500, 1000, 0x64cd9403
+1, 500, 500, 500, 1000, 0xa4ef8a9d
+1, 1000, 1000, 500, 1000, 0x75c19868
+0, 1, 1, 1, 921600, 0x0d03844f
+1, 1500, 1500, 500, 1000, 0x93db6f79
+1, 2000, 2000, 500, 1000, 0x6835625d
+0, 2, 2, 1, 921600, 0x649cdcea
+1, 2500, 2500, 500, 1000, 0xb3affa8f
+1, 3000, 3000, 500, 1000, 0x159fdcc8
+0, 3, 3, 1, 921600, 0x649cdcea
+1, 3500, 3500, 500, 1000, 0x79f9f7f1
+1, 4000, 4000, 500, 1000, 0xd7d1131e
+0, 4, 4, 1, 921600, 0x9c7f22e8
+1, 4500, 4500, 500, 1000, 0x52a6f797
+1, 5000, 5000, 500, 1000, 0x748202ca
+1, 5500, 5500, 500, 1000, 0x0ef92449
+0, 5, 5, 1, 921600, 0x9c7f22e8
+1, 6000, 6000, 500, 1000, 0x6a3760ab
+1, 6500, 6500, 500, 1000, 0xce5c5abf
+0, 6, 6, 1, 921600, 0x3451514a
+1, 7000, 7000, 500, 1000, 0x23396792
+1, 7500, 7500, 500, 1000, 0xa5276238
+0, 7, 7, 1, 921600, 0x3451514a
+1, 8000, 8000, 500, 1000, 0x288adf1b
+1, 8500, 8500, 500, 1000, 0xe7de6fb2
+0, 8, 8, 1, 921600, 0x8f19f600
+1, 9000, 9000, 500, 1000, 0x2c2c707f
+1, 9500, 9500, 500, 1000, 0xd66d6daf
+0, 9, 9, 1, 921600, 0x8f19f600
+1, 10000, 10000, 500, 1000, 0xbcea7d64
+1, 10500, 10500, 500, 1000, 0x766feea5
+1, 11000, 11000, 500, 1000, 0xd2e1d63a
+0, 10, 10, 1, 921600, 0x07e7445b
+1, 11500, 11500, 500, 1000, 0x2f7ef4ed
+1, 12000, 12000, 500, 1000, 0xb655cba4
+0, 11, 11, 1, 921600, 0x07e7445b
+1, 12500, 12500, 500, 1000, 0x4507d37b
+1, 13000, 13000, 500, 1000, 0x0c57f794
+0, 12, 12, 1, 921600, 0x873d1227
+1, 13500, 13500, 500, 1000, 0x0ecbe5cc
+1, 14000, 14000, 500, 1000, 0x9bf6e345
+0, 13, 13, 1, 921600, 0x873d1227
+1, 14500, 14500, 500, 1000, 0xc461443c
+1, 15000, 15000, 500, 1000, 0xad9657bf
+0, 14, 14, 1, 921600, 0xbef62d86
+1, 15500, 15500, 500, 1000, 0x466fe91c
+1, 16000, 16000, 500, 1000, 0x9ee377fe
+1, 16500, 16500, 500, 1000, 0x09956428
+0, 15, 15, 1, 921600, 0xbef62d86
+1, 17000, 17000, 500, 1000, 0x9b285f0a
+1, 17500, 17500, 500, 1000, 0x0a3e61a6
+0, 16, 16, 1, 921600, 0xcf84fee4
+1, 18000, 18000, 500, 1000, 0xacc25d6b
+1, 18500, 18500, 500, 1000, 0x377be319
+0, 17, 17, 1, 921600, 0xcf84fee4
+1, 19000, 19000, 500, 1000, 0xe4890504
+1, 19500, 19500, 500, 1000, 0xe90a6497
+0, 18, 18, 1, 921600, 0x5639e670
+1, 20000, 20000, 500, 1000, 0xd00fe950
+1, 20500, 20500, 500, 1000, 0xf195eb44
+0, 19, 19, 1, 921600, 0x5639e670
+1, 21000, 21000, 500, 1000, 0xa491f3ef
+1, 21500, 21500, 500, 1000, 0x2c036e18
diff --git a/tests/ref/fate/dxa-scummvm b/tests/ref/fate/dxa-scummvm
index 79bc1d0424..308a8964f2 100644
--- a/tests/ref/fate/dxa-scummvm
+++ b/tests/ref/fate/dxa-scummvm
@@ -1,12 +1,13 @@
-0, 0, 384000, 0xef37f34b
-0, 7500, 384000, 0xef37f34b
-0, 14999, 384000, 0xfca3cd8b
-0, 22499, 384000, 0xfca3cd8b
-0, 29999, 384000, 0x6dd34bb7
-0, 37499, 384000, 0x6dd34bb7
-0, 44998, 384000, 0xfd518717
-0, 52498, 384000, 0xfd518717
-0, 59998, 384000, 0x82db5c7b
-0, 67497, 384000, 0x82db5c7b
-0, 74997, 384000, 0xe280a5a6
-0, 82497, 384000, 0xe280a5a6
+#tb 0: 8333/100000
+0, 0, 0, 1, 384000, 0xef37f34b
+0, 1, 1, 1, 384000, 0xef37f34b
+0, 2, 2, 1, 384000, 0xfca3cd8b
+0, 3, 3, 1, 384000, 0xfca3cd8b
+0, 4, 4, 1, 384000, 0x6dd34bb7
+0, 5, 5, 1, 384000, 0x6dd34bb7
+0, 6, 6, 1, 384000, 0xfd518717
+0, 7, 7, 1, 384000, 0xfd518717
+0, 8, 8, 1, 384000, 0x82db5c7b
+0, 9, 9, 1, 384000, 0x82db5c7b
+0, 10, 10, 1, 384000, 0xe280a5a6
+0, 11, 11, 1, 384000, 0xe280a5a6
diff --git a/tests/ref/fate/dxtory b/tests/ref/fate/dxtory
index 5fab200f77..7d3ecbdf0e 100644
--- a/tests/ref/fate/dxtory
+++ b/tests/ref/fate/dxtory
@@ -1 +1,3 @@
-0, 0, 1382400, 0x44373645
+#tb 0: 1/25
+#tb 1: 1/48000
+0, 0, 0, 1, 1382400, 0x44373645
diff --git a/tests/ref/fate/ea-cmv b/tests/ref/fate/ea-cmv
index 36d88898c2..8f9049e907 100644
--- a/tests/ref/fate/ea-cmv
+++ b/tests/ref/fate/ea-cmv
@@ -1,194 +1,195 @@
-0, 0, 120000, 0x34ac91d2
-0, 9000, 120000, 0x17150729
-0, 18000, 120000, 0xc3f510bb
-0, 27000, 120000, 0xb3b14a3b
-0, 36000, 120000, 0x26a7f3d1
-0, 45000, 120000, 0xd161af6f
-0, 54000, 120000, 0x459fc92d
-0, 63000, 120000, 0x05c3fa94
-0, 72000, 120000, 0x6630cd8c
-0, 81000, 120000, 0x60cd39d4
-0, 90000, 120000, 0xc8854d1c
-0, 99000, 120000, 0xe55e8e6d
-0, 108000, 120000, 0xbeab201f
-0, 117000, 120000, 0x70744b0b
-0, 126000, 120000, 0x80dea5d0
-0, 135000, 120000, 0x769bfa1c
-0, 144000, 120000, 0x04e25bbe
-0, 153000, 120000, 0x48abc5a5
-0, 162000, 120000, 0xda5c4e2a
-0, 171000, 120000, 0x8de96d38
-0, 180000, 120000, 0xe96418b0
-0, 189000, 120000, 0x1c2f272b
-0, 198000, 120000, 0x4b755804
-0, 207000, 120000, 0xc92f96fd
-0, 216000, 120000, 0x69e90ebb
-0, 225000, 120000, 0x78d4bd1a
-0, 234000, 120000, 0xaf2edf55
-0, 243000, 120000, 0x94161c78
-0, 252000, 120000, 0x1109094d
-0, 261000, 120000, 0xc61b0392
-0, 270000, 120000, 0xc157d003
-0, 279000, 120000, 0xf2747e7b
-0, 288000, 120000, 0xa36299c2
-0, 297000, 120000, 0x49bc788c
-0, 306000, 120000, 0x3bee336e
-0, 315000, 120000, 0xa316b9d1
-0, 324000, 120000, 0x5cc32e9c
-0, 333000, 120000, 0x9f7eca16
-0, 342000, 120000, 0x958e2988
-0, 351000, 120000, 0xebcba2f1
-0, 360000, 120000, 0x281f1e60
-0, 369000, 120000, 0x82256c4d
-0, 378000, 120000, 0xddc8be56
-0, 387000, 120000, 0x64ff2ed0
-0, 396000, 120000, 0x3e63ab02
-0, 405000, 120000, 0x43f78b37
-0, 414000, 120000, 0xb7cc62d4
-0, 423000, 120000, 0x694f1764
-0, 432000, 120000, 0x2264c483
-0, 441000, 120000, 0xb6680b4a
-0, 450000, 120000, 0x2a92626a
-0, 459000, 120000, 0x8da02509
-0, 468000, 120000, 0xa976c382
-0, 477000, 120000, 0x749e822b
-0, 486000, 120000, 0xe9e7fc8c
-0, 495000, 120000, 0xfdc05a0c
-0, 504000, 120000, 0x7d5a856d
-0, 513000, 120000, 0xcc344937
-0, 522000, 120000, 0x9d90bc67
-0, 531000, 120000, 0x3f527712
-0, 540000, 120000, 0xf0f57f97
-0, 549000, 120000, 0xc29535cd
-0, 558000, 120000, 0x9a64598b
-0, 567000, 120000, 0x0d1ddf7c
-0, 576000, 120000, 0xb580ec24
-0, 585000, 120000, 0xf0db5bbc
-0, 594000, 120000, 0x6b980b61
-0, 603000, 120000, 0xc29f30b5
-0, 612000, 120000, 0xaf2c4bcd
-0, 621000, 120000, 0x1e725645
-0, 630000, 120000, 0x295c4c96
-0, 639000, 120000, 0x7ea121a2
-0, 648000, 120000, 0xdb9e9cec
-0, 657000, 120000, 0x1da47c80
-0, 666000, 120000, 0x9d0c1345
-0, 675000, 120000, 0x88058527
-0, 684000, 120000, 0x46766aed
-0, 693000, 120000, 0xba520bd3
-0, 702000, 120000, 0x7fb6373c
-0, 711000, 120000, 0x05a86f4d
-0, 720000, 120000, 0x7fb47cbd
-0, 729000, 120000, 0x6814d8ca
-0, 738000, 120000, 0x9c13acb8
-0, 747000, 120000, 0xad0edbfe
-0, 756000, 120000, 0x352fde81
-0, 765000, 120000, 0xa654b386
-0, 774000, 120000, 0xd3b3dc72
-0, 783000, 120000, 0x01572668
-0, 792000, 120000, 0x30189e03
-0, 801000, 120000, 0x26126d30
-0, 810000, 120000, 0x4f376c7d
-0, 819000, 120000, 0xd3667bcf
-0, 828000, 120000, 0x0b46b3d5
-0, 837000, 120000, 0x893415ef
-0, 846000, 120000, 0x99a78749
-0, 855000, 120000, 0x6da0d8e9
-0, 864000, 120000, 0x22d8ceb6
-0, 873000, 120000, 0x67ef9be8
-0, 882000, 120000, 0xb696fb53
-0, 891000, 120000, 0x70339dab
-0, 900000, 120000, 0xc1876efa
-0, 909000, 120000, 0x80e78c92
-0, 918000, 120000, 0x18d2f2ac
-0, 927000, 120000, 0x28be9ae4
-0, 936000, 120000, 0xc3c2c190
-0, 945000, 120000, 0xd6a859d8
-0, 954000, 120000, 0x40b9046d
-0, 963000, 120000, 0x7f8d5999
-0, 972000, 120000, 0x89724027
-0, 981000, 120000, 0x4c15c988
-0, 990000, 120000, 0x812ebe08
-0, 999000, 120000, 0x273ef8e2
-0, 1008000, 120000, 0xe029de06
-0, 1017000, 120000, 0x5846127c
-0, 1026000, 120000, 0x6c5df8e3
-0, 1035000, 120000, 0x7424919f
-0, 1044000, 120000, 0xa8313015
-0, 1053000, 120000, 0x28878ab4
-0, 1062000, 120000, 0x126d0746
-0, 1071000, 120000, 0xee3f7138
-0, 1080000, 120000, 0xd4b2e0a1
-0, 1089000, 120000, 0x8d60bfff
-0, 1098000, 120000, 0x701c23d0
-0, 1107000, 120000, 0x1cbb5654
-0, 1116000, 120000, 0x0f5853e9
-0, 1125000, 120000, 0x2a5c3339
-0, 1134000, 120000, 0x86b00350
-0, 1143000, 120000, 0xe8cc6931
-0, 1152000, 120000, 0xf1cad983
-0, 1161000, 120000, 0xabcd8704
-0, 1170000, 120000, 0x89592f94
-0, 1179000, 120000, 0x100486d9
-0, 1188000, 120000, 0x60ef9e2d
-0, 1197000, 120000, 0x2485176a
-0, 1206000, 120000, 0x6b8c360d
-0, 1215000, 120000, 0xe2e1bf4f
-0, 1224000, 120000, 0xe17b65c3
-0, 1233000, 120000, 0x2a42821a
-0, 1242000, 120000, 0xbe9ddba7
-0, 1251000, 120000, 0x19f937fe
-0, 1260000, 120000, 0xb7e0c600
-0, 1269000, 120000, 0xfbf8c5f6
-0, 1278000, 120000, 0x93b62f93
-0, 1287000, 120000, 0xb6ddec93
-0, 1296000, 120000, 0xa04d031b
-0, 1305000, 120000, 0x61c986c0
-0, 1314000, 120000, 0x3516e54a
-0, 1323000, 120000, 0x3489eb2c
-0, 1332000, 120000, 0xb75a4827
-0, 1341000, 120000, 0x76031a80
-0, 1350000, 120000, 0x867c3969
-0, 1359000, 120000, 0x9b63a093
-0, 1368000, 120000, 0xcb253d8a
-0, 1377000, 120000, 0x354ba3b2
-0, 1386000, 120000, 0x4d5ead8c
-0, 1395000, 120000, 0x7b7029ae
-0, 1404000, 120000, 0x4765ab9d
-0, 1413000, 120000, 0x747cdee9
-0, 1422000, 120000, 0x20989b08
-0, 1431000, 120000, 0x3a957085
-0, 1440000, 120000, 0xdd49e8ad
-0, 1449000, 120000, 0x00e89719
-0, 1458000, 120000, 0x2822aa76
-0, 1467000, 120000, 0x492388f3
-0, 1476000, 120000, 0x4dffa6ee
-0, 1485000, 120000, 0xc382bb83
-0, 1494000, 120000, 0xb59aaa74
-0, 1503000, 120000, 0x7c7885d3
-0, 1512000, 120000, 0xc05ee219
-0, 1521000, 120000, 0xc3df6b73
-0, 1530000, 120000, 0x8ae31170
-0, 1539000, 120000, 0xb979fdce
-0, 1548000, 120000, 0xb8f9e407
-0, 1557000, 120000, 0x56675b80
-0, 1566000, 120000, 0x1aad1ce2
-0, 1575000, 120000, 0xa050a52b
-0, 1584000, 120000, 0x49f8c32f
-0, 1593000, 120000, 0x8e7f4d2c
-0, 1602000, 120000, 0x5c07f751
-0, 1611000, 120000, 0x67fa5523
-0, 1620000, 120000, 0xf38b933a
-0, 1629000, 120000, 0xb113e202
-0, 1638000, 120000, 0xb8d99ff4
-0, 1647000, 120000, 0x15ab6cc6
-0, 1656000, 120000, 0xd64a51c9
-0, 1665000, 120000, 0x2088b53c
-0, 1674000, 120000, 0xdd78d40a
-0, 1683000, 120000, 0x2fb58848
-0, 1692000, 120000, 0xf775d36a
-0, 1701000, 120000, 0xa03987e9
-0, 1710000, 120000, 0x457322ad
-0, 1719000, 120000, 0x0f6c3d1c
-0, 1728000, 120000, 0xbdf2f1a5
-0, 1737000, 120000, 0x5828ee1d
+#tb 0: 1/10
+0, 0, 0, 1, 120000, 0x34ac91d2
+0, 1, 1, 1, 120000, 0x17150729
+0, 2, 2, 1, 120000, 0xc3f510bb
+0, 3, 3, 1, 120000, 0xb3b14a3b
+0, 4, 4, 1, 120000, 0x26a7f3d1
+0, 5, 5, 1, 120000, 0xd161af6f
+0, 6, 6, 1, 120000, 0x459fc92d
+0, 7, 7, 1, 120000, 0x05c3fa94
+0, 8, 8, 1, 120000, 0x6630cd8c
+0, 9, 9, 1, 120000, 0x60cd39d4
+0, 10, 10, 1, 120000, 0xc8854d1c
+0, 11, 11, 1, 120000, 0xe55e8e6d
+0, 12, 12, 1, 120000, 0xbeab201f
+0, 13, 13, 1, 120000, 0x70744b0b
+0, 14, 14, 1, 120000, 0x80dea5d0
+0, 15, 15, 1, 120000, 0x769bfa1c
+0, 16, 16, 1, 120000, 0x04e25bbe
+0, 17, 17, 1, 120000, 0x48abc5a5
+0, 18, 18, 1, 120000, 0xda5c4e2a
+0, 19, 19, 1, 120000, 0x8de96d38
+0, 20, 20, 1, 120000, 0xe96418b0
+0, 21, 21, 1, 120000, 0x1c2f272b
+0, 22, 22, 1, 120000, 0x4b755804
+0, 23, 23, 1, 120000, 0xc92f96fd
+0, 24, 24, 1, 120000, 0x69e90ebb
+0, 25, 25, 1, 120000, 0x78d4bd1a
+0, 26, 26, 1, 120000, 0xaf2edf55
+0, 27, 27, 1, 120000, 0x94161c78
+0, 28, 28, 1, 120000, 0x1109094d
+0, 29, 29, 1, 120000, 0xc61b0392
+0, 30, 30, 1, 120000, 0xc157d003
+0, 31, 31, 1, 120000, 0xf2747e7b
+0, 32, 32, 1, 120000, 0xa36299c2
+0, 33, 33, 1, 120000, 0x49bc788c
+0, 34, 34, 1, 120000, 0x3bee336e
+0, 35, 35, 1, 120000, 0xa316b9d1
+0, 36, 36, 1, 120000, 0x5cc32e9c
+0, 37, 37, 1, 120000, 0x9f7eca16
+0, 38, 38, 1, 120000, 0x958e2988
+0, 39, 39, 1, 120000, 0xebcba2f1
+0, 40, 40, 1, 120000, 0x281f1e60
+0, 41, 41, 1, 120000, 0x82256c4d
+0, 42, 42, 1, 120000, 0xddc8be56
+0, 43, 43, 1, 120000, 0x64ff2ed0
+0, 44, 44, 1, 120000, 0x3e63ab02
+0, 45, 45, 1, 120000, 0x43f78b37
+0, 46, 46, 1, 120000, 0xb7cc62d4
+0, 47, 47, 1, 120000, 0x694f1764
+0, 48, 48, 1, 120000, 0x2264c483
+0, 49, 49, 1, 120000, 0xb6680b4a
+0, 50, 50, 1, 120000, 0x2a92626a
+0, 51, 51, 1, 120000, 0x8da02509
+0, 52, 52, 1, 120000, 0xa976c382
+0, 53, 53, 1, 120000, 0x749e822b
+0, 54, 54, 1, 120000, 0xe9e7fc8c
+0, 55, 55, 1, 120000, 0xfdc05a0c
+0, 56, 56, 1, 120000, 0x7d5a856d
+0, 57, 57, 1, 120000, 0xcc344937
+0, 58, 58, 1, 120000, 0x9d90bc67
+0, 59, 59, 1, 120000, 0x3f527712
+0, 60, 60, 1, 120000, 0xf0f57f97
+0, 61, 61, 1, 120000, 0xc29535cd
+0, 62, 62, 1, 120000, 0x9a64598b
+0, 63, 63, 1, 120000, 0x0d1ddf7c
+0, 64, 64, 1, 120000, 0xb580ec24
+0, 65, 65, 1, 120000, 0xf0db5bbc
+0, 66, 66, 1, 120000, 0x6b980b61
+0, 67, 67, 1, 120000, 0xc29f30b5
+0, 68, 68, 1, 120000, 0xaf2c4bcd
+0, 69, 69, 1, 120000, 0x1e725645
+0, 70, 70, 1, 120000, 0x295c4c96
+0, 71, 71, 1, 120000, 0x7ea121a2
+0, 72, 72, 1, 120000, 0xdb9e9cec
+0, 73, 73, 1, 120000, 0x1da47c80
+0, 74, 74, 1, 120000, 0x9d0c1345
+0, 75, 75, 1, 120000, 0x88058527
+0, 76, 76, 1, 120000, 0x46766aed
+0, 77, 77, 1, 120000, 0xba520bd3
+0, 78, 78, 1, 120000, 0x7fb6373c
+0, 79, 79, 1, 120000, 0x05a86f4d
+0, 80, 80, 1, 120000, 0x7fb47cbd
+0, 81, 81, 1, 120000, 0x6814d8ca
+0, 82, 82, 1, 120000, 0x9c13acb8
+0, 83, 83, 1, 120000, 0xad0edbfe
+0, 84, 84, 1, 120000, 0x352fde81
+0, 85, 85, 1, 120000, 0xa654b386
+0, 86, 86, 1, 120000, 0xd3b3dc72
+0, 87, 87, 1, 120000, 0x01572668
+0, 88, 88, 1, 120000, 0x30189e03
+0, 89, 89, 1, 120000, 0x26126d30
+0, 90, 90, 1, 120000, 0x4f376c7d
+0, 91, 91, 1, 120000, 0xd3667bcf
+0, 92, 92, 1, 120000, 0x0b46b3d5
+0, 93, 93, 1, 120000, 0x893415ef
+0, 94, 94, 1, 120000, 0x99a78749
+0, 95, 95, 1, 120000, 0x6da0d8e9
+0, 96, 96, 1, 120000, 0x22d8ceb6
+0, 97, 97, 1, 120000, 0x67ef9be8
+0, 98, 98, 1, 120000, 0xb696fb53
+0, 99, 99, 1, 120000, 0x70339dab
+0, 100, 100, 1, 120000, 0xc1876efa
+0, 101, 101, 1, 120000, 0x80e78c92
+0, 102, 102, 1, 120000, 0x18d2f2ac
+0, 103, 103, 1, 120000, 0x28be9ae4
+0, 104, 104, 1, 120000, 0xc3c2c190
+0, 105, 105, 1, 120000, 0xd6a859d8
+0, 106, 106, 1, 120000, 0x40b9046d
+0, 107, 107, 1, 120000, 0x7f8d5999
+0, 108, 108, 1, 120000, 0x89724027
+0, 109, 109, 1, 120000, 0x4c15c988
+0, 110, 110, 1, 120000, 0x812ebe08
+0, 111, 111, 1, 120000, 0x273ef8e2
+0, 112, 112, 1, 120000, 0xe029de06
+0, 113, 113, 1, 120000, 0x5846127c
+0, 114, 114, 1, 120000, 0x6c5df8e3
+0, 115, 115, 1, 120000, 0x7424919f
+0, 116, 116, 1, 120000, 0xa8313015
+0, 117, 117, 1, 120000, 0x28878ab4
+0, 118, 118, 1, 120000, 0x126d0746
+0, 119, 119, 1, 120000, 0xee3f7138
+0, 120, 120, 1, 120000, 0xd4b2e0a1
+0, 121, 121, 1, 120000, 0x8d60bfff
+0, 122, 122, 1, 120000, 0x701c23d0
+0, 123, 123, 1, 120000, 0x1cbb5654
+0, 124, 124, 1, 120000, 0x0f5853e9
+0, 125, 125, 1, 120000, 0x2a5c3339
+0, 126, 126, 1, 120000, 0x86b00350
+0, 127, 127, 1, 120000, 0xe8cc6931
+0, 128, 128, 1, 120000, 0xf1cad983
+0, 129, 129, 1, 120000, 0xabcd8704
+0, 130, 130, 1, 120000, 0x89592f94
+0, 131, 131, 1, 120000, 0x100486d9
+0, 132, 132, 1, 120000, 0x60ef9e2d
+0, 133, 133, 1, 120000, 0x2485176a
+0, 134, 134, 1, 120000, 0x6b8c360d
+0, 135, 135, 1, 120000, 0xe2e1bf4f
+0, 136, 136, 1, 120000, 0xe17b65c3
+0, 137, 137, 1, 120000, 0x2a42821a
+0, 138, 138, 1, 120000, 0xbe9ddba7
+0, 139, 139, 1, 120000, 0x19f937fe
+0, 140, 140, 1, 120000, 0xb7e0c600
+0, 141, 141, 1, 120000, 0xfbf8c5f6
+0, 142, 142, 1, 120000, 0x93b62f93
+0, 143, 143, 1, 120000, 0xb6ddec93
+0, 144, 144, 1, 120000, 0xa04d031b
+0, 145, 145, 1, 120000, 0x61c986c0
+0, 146, 146, 1, 120000, 0x3516e54a
+0, 147, 147, 1, 120000, 0x3489eb2c
+0, 148, 148, 1, 120000, 0xb75a4827
+0, 149, 149, 1, 120000, 0x76031a80
+0, 150, 150, 1, 120000, 0x867c3969
+0, 151, 151, 1, 120000, 0x9b63a093
+0, 152, 152, 1, 120000, 0xcb253d8a
+0, 153, 153, 1, 120000, 0x354ba3b2
+0, 154, 154, 1, 120000, 0x4d5ead8c
+0, 155, 155, 1, 120000, 0x7b7029ae
+0, 156, 156, 1, 120000, 0x4765ab9d
+0, 157, 157, 1, 120000, 0x747cdee9
+0, 158, 158, 1, 120000, 0x20989b08
+0, 159, 159, 1, 120000, 0x3a957085
+0, 160, 160, 1, 120000, 0xdd49e8ad
+0, 161, 161, 1, 120000, 0x00e89719
+0, 162, 162, 1, 120000, 0x2822aa76
+0, 163, 163, 1, 120000, 0x492388f3
+0, 164, 164, 1, 120000, 0x4dffa6ee
+0, 165, 165, 1, 120000, 0xc382bb83
+0, 166, 166, 1, 120000, 0xb59aaa74
+0, 167, 167, 1, 120000, 0x7c7885d3
+0, 168, 168, 1, 120000, 0xc05ee219
+0, 169, 169, 1, 120000, 0xc3df6b73
+0, 170, 170, 1, 120000, 0x8ae31170
+0, 171, 171, 1, 120000, 0xb979fdce
+0, 172, 172, 1, 120000, 0xb8f9e407
+0, 173, 173, 1, 120000, 0x56675b80
+0, 174, 174, 1, 120000, 0x1aad1ce2
+0, 175, 175, 1, 120000, 0xa050a52b
+0, 176, 176, 1, 120000, 0x49f8c32f
+0, 177, 177, 1, 120000, 0x8e7f4d2c
+0, 178, 178, 1, 120000, 0x5c07f751
+0, 179, 179, 1, 120000, 0x67fa5523
+0, 180, 180, 1, 120000, 0xf38b933a
+0, 181, 181, 1, 120000, 0xb113e202
+0, 182, 182, 1, 120000, 0xb8d99ff4
+0, 183, 183, 1, 120000, 0x15ab6cc6
+0, 184, 184, 1, 120000, 0xd64a51c9
+0, 185, 185, 1, 120000, 0x2088b53c
+0, 186, 186, 1, 120000, 0xdd78d40a
+0, 187, 187, 1, 120000, 0x2fb58848
+0, 188, 188, 1, 120000, 0xf775d36a
+0, 189, 189, 1, 120000, 0xa03987e9
+0, 190, 190, 1, 120000, 0x457322ad
+0, 191, 191, 1, 120000, 0x0f6c3d1c
+0, 192, 192, 1, 120000, 0xbdf2f1a5
+0, 193, 193, 1, 120000, 0x5828ee1d
diff --git a/tests/ref/fate/ea-dct b/tests/ref/fate/ea-dct
index 98a281700c..071be8abb6 100644
--- a/tests/ref/fate/ea-dct
+++ b/tests/ref/fate/ea-dct
@@ -1,267 +1,269 @@
-0, 0, 102144, 0x6edc83de
-1, 0, 5936, 0xea261a29
-0, 6000, 102144, 0xd0534fda
-1, 6057, 5824, 0x253df061
-0, 12000, 102144, 0x6447911f
-1, 12000, 5936, 0x603a5bd7
-0, 18000, 102144, 0xf21f3b46
-1, 18057, 5824, 0x9d283f59
-0, 24000, 102144, 0x0975077a
-1, 24000, 5936, 0x49323497
-0, 30000, 102144, 0xb9a12d8e
-1, 30057, 5824, 0x7c299939
-0, 36000, 102144, 0x17413513
-1, 36000, 5936, 0x9f918e9a
-0, 42000, 102144, 0x1e622a04
-1, 42057, 5824, 0x1226b534
-0, 48000, 102144, 0x7489224e
-1, 48000, 5936, 0xdd159326
-0, 54000, 102144, 0xae14956e
-1, 54057, 5824, 0x361ad10f
-0, 60000, 102144, 0x104fd3a0
-1, 60000, 5936, 0x6ccac9e3
-0, 66000, 102144, 0xea63a940
-1, 66057, 5824, 0x1861efef
-0, 72000, 102144, 0x0cf81588
-1, 72000, 5936, 0x5f718eb9
-0, 78000, 102144, 0xe4a5b2fd
-1, 78057, 5824, 0xd4ca72ba
-0, 84000, 102144, 0x0c9aaf77
-1, 84000, 5936, 0xbf2b27e6
-0, 90000, 102144, 0x065007d7
-1, 90057, 5824, 0xcb6f024e
-0, 96000, 102144, 0x54c0c29b
-1, 96000, 5936, 0x7dfb7e05
-0, 102000, 102144, 0x1114cb8e
-1, 102057, 5824, 0x80e16f13
-0, 108000, 102144, 0xe4270462
-1, 108000, 5936, 0x0fb59227
-0, 114000, 102144, 0x61e5b7fd
-1, 114057, 5824, 0x4d6f1fdb
-0, 120000, 102144, 0x7cbeaca6
-1, 120000, 5936, 0x505a5103
-0, 126000, 102144, 0xed92daa4
-1, 126057, 5824, 0x47ef4c13
-0, 132000, 102144, 0xd8654d0d
-1, 132000, 5936, 0xbe4795fb
-0, 138000, 102144, 0x854e842b
-1, 138057, 5824, 0xb82cc4ff
-0, 144000, 102144, 0x56407c3a
-1, 144000, 5936, 0xf7c6ab8d
-0, 150000, 102144, 0x17db3f90
-1, 150057, 5824, 0x1442f5e0
-0, 156000, 102144, 0x8b133b9a
-1, 156000, 5936, 0x64659389
-0, 162000, 102144, 0xe4899db9
-1, 162057, 5824, 0xdd81725c
-0, 168000, 102144, 0x579cf092
-1, 168000, 5936, 0x7f7c604f
-0, 174000, 102144, 0x19fa5062
-1, 174057, 5824, 0xafc77beb
-0, 180000, 102144, 0x71339792
-1, 180000, 5936, 0x24f88e4d
-0, 186000, 102144, 0x970e5c0c
-1, 186057, 5824, 0xa31956ca
-0, 192000, 102144, 0x84ee616a
-1, 192000, 5936, 0x958e02b9
-0, 198000, 102144, 0x1d6f9a23
-1, 198057, 5824, 0xcfc79890
-0, 204000, 102144, 0xc28e19db
-1, 204000, 5936, 0xc7e788ae
-0, 210000, 102144, 0x0e898967
-1, 210057, 5824, 0x4b6b1acc
-0, 216000, 102144, 0x52a8b671
-1, 216000, 5936, 0xa74496dc
-0, 222000, 102144, 0x3f45ea83
-1, 222057, 5824, 0x719e6171
-0, 228000, 102144, 0x7b0fc603
-1, 228000, 5936, 0x9346222d
-0, 234000, 102144, 0x14f94469
-1, 234057, 5824, 0x9e2a876e
-0, 240000, 102144, 0x5b9f37cc
-1, 240000, 5936, 0xeca6ea64
-0, 246000, 102144, 0xf902b7c7
-1, 246057, 5824, 0x07d8174f
-0, 252000, 102144, 0x326836e0
-1, 252000, 5936, 0x2df5aa6b
-0, 258000, 102144, 0x2e4aebba
-1, 258057, 5824, 0x314e7034
-0, 264000, 102144, 0xd10ae58c
-1, 264000, 5936, 0x5a328768
-0, 270000, 102144, 0xbd084ecf
-1, 270057, 5824, 0x32b92446
-0, 276000, 102144, 0xb2157c0a
-1, 276000, 5936, 0x20ecbc9b
-0, 282000, 102144, 0xd7f158d4
-1, 282057, 5824, 0x76019c14
-0, 288000, 102144, 0x3cf86462
-1, 288000, 5936, 0x8c3ef8a6
-0, 294000, 102144, 0x53ecddab
-1, 294057, 5824, 0xcdaab50b
-0, 300000, 102144, 0xcdaba8ef
-1, 300000, 5936, 0xb2f87f4f
-0, 306000, 102144, 0xab9ede18
-1, 306057, 5824, 0x70c26379
-0, 312000, 102144, 0xb6706e79
-1, 312000, 5936, 0x5691ecfd
-0, 318000, 102144, 0x76371069
-1, 318057, 5824, 0x61e208fe
-0, 324000, 102144, 0x3a365016
-1, 324000, 5936, 0x87d1a5e0
-0, 330000, 102144, 0x52177c09
-1, 330057, 5824, 0x02054cfd
-0, 336000, 102144, 0xc33eb4fb
-1, 336000, 5936, 0x22ff1c4b
-0, 342000, 102144, 0x16098436
-1, 342057, 5824, 0xc6d87fef
-0, 348000, 102144, 0x715d6a2b
-1, 348000, 5936, 0x9028bb3b
-0, 354000, 102144, 0xd3abc960
-1, 354057, 5824, 0xbadde406
-0, 360000, 102144, 0x7f34b0d4
-1, 360000, 5936, 0x6e88ddf1
-0, 366000, 102144, 0xe3219b9c
-1, 366057, 5824, 0x5bb8be6e
-0, 372000, 102144, 0x5fa54f54
-1, 372000, 5936, 0xe1f8d7fc
-0, 378000, 102144, 0x0fb746cb
-1, 378057, 5824, 0xc824e388
-0, 384000, 102144, 0xa6bd2da2
-1, 384000, 5936, 0x654371a9
-0, 390000, 102144, 0x04579119
-1, 390057, 5824, 0xae6ee9ec
-0, 396000, 102144, 0xda818691
-1, 396000, 5936, 0x9aa4550d
-0, 402000, 102144, 0xe9d44445
-1, 402057, 5824, 0xdce210ac
-0, 408000, 102144, 0x94868dc9
-1, 408000, 5936, 0xb12641c8
-0, 414000, 102144, 0x3ca52ce6
-1, 414057, 5824, 0x277e014b
-0, 420000, 102144, 0xd7eb4c4f
-1, 420000, 5936, 0xb0d262de
-0, 426000, 102144, 0xfcdfafca
-1, 426057, 5824, 0xf94d6f49
-0, 432000, 102144, 0x473a4a5a
-1, 432000, 5936, 0x3d7848cb
-0, 438000, 102144, 0xe5a5f3cb
-1, 438057, 5824, 0xe67fc08e
-0, 444000, 102144, 0x34070219
-1, 444000, 5936, 0x0475e0d6
-0, 450000, 102144, 0x0faa965a
-1, 450057, 5824, 0x8a9a4a2e
-0, 456000, 102144, 0xe2c6acda
-1, 456000, 5936, 0x82576204
-0, 462000, 102144, 0xe22776d5
-1, 462057, 5824, 0x3017b648
-0, 468000, 102144, 0x80d85602
-1, 468000, 5936, 0xca4c3e04
-0, 474000, 102144, 0x2f3fa190
-1, 474057, 5824, 0x340077d1
-0, 480000, 102144, 0x70b461b1
-1, 480000, 5936, 0x805bea6e
-0, 486000, 102144, 0x366c8b27
-1, 486057, 5824, 0x2cf6c87b
-0, 492000, 102144, 0x65cc0866
-1, 492000, 5936, 0x3635bc5f
-0, 498000, 102144, 0x903beb14
-1, 498057, 5824, 0x0d7a81c7
-0, 504000, 102144, 0xb6c5f5c7
-1, 504000, 5936, 0x26179764
-0, 510000, 102144, 0xaa813725
-1, 510057, 5824, 0xa0b2454f
-0, 516000, 102144, 0x014a84a0
-1, 516000, 5936, 0x91d24608
-0, 522000, 102144, 0xd286ece1
-1, 522057, 5824, 0x6509b3e1
-0, 528000, 102144, 0x48b1c27d
-1, 528000, 5936, 0xa0e3c9fc
-0, 534000, 102144, 0xa611ef42
-1, 534057, 5824, 0x18682a2f
-0, 540000, 102144, 0x98627584
-1, 540000, 5936, 0x89cea4ff
-0, 546000, 102144, 0x43de7c75
-1, 546057, 5824, 0x7dd22b85
-0, 552000, 102144, 0xa9e22c68
-1, 552000, 5936, 0x8b2eeb8d
-0, 558000, 102144, 0x84ac34d4
-1, 558057, 5824, 0x0c21af82
-0, 564000, 102144, 0x6abd00ba
-1, 564000, 5936, 0x9c5a748d
-0, 570000, 102144, 0x5d11066e
-1, 570057, 5824, 0x1dc72c5c
-0, 576000, 102144, 0xb6b083aa
-1, 576000, 5936, 0xe6129383
-0, 582000, 102144, 0x5d152a11
-1, 582057, 5824, 0x0a44312a
-0, 588000, 102144, 0x0c0aec67
-1, 588000, 5936, 0x7ed30640
-0, 594000, 102144, 0xa248bd10
-1, 594057, 5824, 0xede15f25
-0, 600000, 102144, 0x4e6c12cc
-1, 600000, 5936, 0x0096d0f3
-0, 606000, 102144, 0xca1d6753
-1, 606057, 5824, 0x13764b4b
-0, 612000, 102144, 0x116310c3
-1, 612000, 5936, 0xd4608756
-0, 618000, 102144, 0x16903cd0
-1, 618057, 5824, 0x254b5f2a
-0, 624000, 102144, 0x239adfed
-1, 624000, 5936, 0x7705b830
-0, 630000, 102144, 0x0970ce49
-1, 630057, 5824, 0x64a63d78
-0, 636000, 102144, 0xb628adc1
-1, 636000, 5936, 0xc02d81a6
-0, 642000, 102144, 0x473613f7
-1, 642057, 5824, 0xd239e55e
-0, 648000, 102144, 0x3eef3987
-1, 648000, 5936, 0x8018cd3a
-0, 654000, 102144, 0x935b99ca
-1, 654057, 5824, 0xf86b8a98
-0, 660000, 102144, 0xb9f4d6ee
-1, 660000, 5936, 0x2a0078bc
-0, 666000, 102144, 0xac811656
-1, 666057, 5824, 0x058d4e1b
-0, 672000, 102144, 0xd1f84af0
-1, 672000, 5936, 0xbc718309
-0, 678000, 102144, 0xf2fd25f4
-1, 678057, 5824, 0xaf6c29e5
-0, 684000, 102144, 0x935bbed9
-1, 684000, 5936, 0x80df004d
-0, 690000, 102144, 0x8c8c3e53
-1, 690057, 5824, 0xeca5aa57
-0, 696000, 102144, 0x24afc20f
-1, 696000, 5936, 0xb793a8f8
-0, 702000, 102144, 0xad20a451
-1, 702057, 5824, 0x70fa6aff
-0, 708000, 102144, 0xd1a0df13
-1, 708000, 5936, 0xda8d4cc6
-0, 714000, 102144, 0xb0ee53f8
-1, 714057, 5824, 0xa70088eb
-0, 720000, 102144, 0x08cdb591
-1, 720000, 5936, 0x1c0b0aab
-0, 726000, 102144, 0x89b985b0
-1, 726057, 5824, 0x234d2436
-0, 732000, 102144, 0xdd27d51f
-1, 732000, 5936, 0xf79d731e
-0, 738000, 102144, 0xa783fce0
-1, 738057, 5824, 0x5a4e454a
-0, 744000, 102144, 0xfe5602e8
-1, 744000, 5936, 0xccf6d042
-0, 750000, 102144, 0xfb989934
-1, 750057, 5824, 0x4e524d14
-0, 756000, 102144, 0xf857eb2b
-1, 756000, 5936, 0xf8f2fcc3
-0, 762000, 102144, 0x987a7098
-1, 762057, 5824, 0x08f12491
-0, 768000, 102144, 0xbc749f42
-1, 768000, 5936, 0x506e0a42
-0, 774000, 102144, 0x221e48a6
-1, 774057, 5824, 0x7cf05049
-0, 780000, 102144, 0x4c4b5da2
-1, 780000, 5936, 0xdeb9d295
-0, 786000, 102144, 0x32140027
-1, 786057, 5824, 0x758ef642
-0, 792000, 102144, 0xbeb4bf18
-1, 792000, 5936, 0x91903980
-0, 798000, 102144, 0x523012e5
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 102144, 0x6edc83de
+1, 0, 0, 1484, 5936, 0xea261a29
+0, 1, 1, 1, 102144, 0xd0534fda
+1, 1484, 1484, 1456, 5824, 0x253df061
+0, 2, 2, 1, 102144, 0x6447911f
+1, 2940, 2940, 1484, 5936, 0x603a5bd7
+0, 3, 3, 1, 102144, 0xf21f3b46
+1, 4424, 4424, 1456, 5824, 0x9d283f59
+0, 4, 4, 1, 102144, 0x0975077a
+1, 5880, 5880, 1484, 5936, 0x49323497
+0, 5, 5, 1, 102144, 0xb9a12d8e
+1, 7364, 7364, 1456, 5824, 0x7c299939
+0, 6, 6, 1, 102144, 0x17413513
+1, 8820, 8820, 1484, 5936, 0x9f918e9a
+0, 7, 7, 1, 102144, 0x1e622a04
+1, 10304, 10304, 1456, 5824, 0x1226b534
+0, 8, 8, 1, 102144, 0x7489224e
+1, 11760, 11760, 1484, 5936, 0xdd159326
+0, 9, 9, 1, 102144, 0xae14956e
+1, 13244, 13244, 1456, 5824, 0x361ad10f
+0, 10, 10, 1, 102144, 0x104fd3a0
+1, 14700, 14700, 1484, 5936, 0x6ccac9e3
+0, 11, 11, 1, 102144, 0xea63a940
+1, 16184, 16184, 1456, 5824, 0x1861efef
+0, 12, 12, 1, 102144, 0x0cf81588
+1, 17640, 17640, 1484, 5936, 0x5f718eb9
+0, 13, 13, 1, 102144, 0xe4a5b2fd
+1, 19124, 19124, 1456, 5824, 0xd4ca72ba
+0, 14, 14, 1, 102144, 0x0c9aaf77
+1, 20580, 20580, 1484, 5936, 0xbf2b27e6
+0, 15, 15, 1, 102144, 0x065007d7
+1, 22064, 22064, 1456, 5824, 0xcb6f024e
+0, 16, 16, 1, 102144, 0x54c0c29b
+1, 23520, 23520, 1484, 5936, 0x7dfb7e05
+0, 17, 17, 1, 102144, 0x1114cb8e
+1, 25004, 25004, 1456, 5824, 0x80e16f13
+0, 18, 18, 1, 102144, 0xe4270462
+1, 26460, 26460, 1484, 5936, 0x0fb59227
+0, 19, 19, 1, 102144, 0x61e5b7fd
+1, 27944, 27944, 1456, 5824, 0x4d6f1fdb
+0, 20, 20, 1, 102144, 0x7cbeaca6
+1, 29400, 29400, 1484, 5936, 0x505a5103
+0, 21, 21, 1, 102144, 0xed92daa4
+1, 30884, 30884, 1456, 5824, 0x47ef4c13
+0, 22, 22, 1, 102144, 0xd8654d0d
+1, 32340, 32340, 1484, 5936, 0xbe4795fb
+0, 23, 23, 1, 102144, 0x854e842b
+1, 33824, 33824, 1456, 5824, 0xb82cc4ff
+0, 24, 24, 1, 102144, 0x56407c3a
+1, 35280, 35280, 1484, 5936, 0xf7c6ab8d
+0, 25, 25, 1, 102144, 0x17db3f90
+1, 36764, 36764, 1456, 5824, 0x1442f5e0
+0, 26, 26, 1, 102144, 0x8b133b9a
+1, 38220, 38220, 1484, 5936, 0x64659389
+0, 27, 27, 1, 102144, 0xe4899db9
+1, 39704, 39704, 1456, 5824, 0xdd81725c
+0, 28, 28, 1, 102144, 0x579cf092
+1, 41160, 41160, 1484, 5936, 0x7f7c604f
+0, 29, 29, 1, 102144, 0x19fa5062
+1, 42644, 42644, 1456, 5824, 0xafc77beb
+0, 30, 30, 1, 102144, 0x71339792
+1, 44100, 44100, 1484, 5936, 0x24f88e4d
+0, 31, 31, 1, 102144, 0x970e5c0c
+1, 45584, 45584, 1456, 5824, 0xa31956ca
+0, 32, 32, 1, 102144, 0x84ee616a
+1, 47040, 47040, 1484, 5936, 0x958e02b9
+0, 33, 33, 1, 102144, 0x1d6f9a23
+1, 48524, 48524, 1456, 5824, 0xcfc79890
+0, 34, 34, 1, 102144, 0xc28e19db
+1, 49980, 49980, 1484, 5936, 0xc7e788ae
+0, 35, 35, 1, 102144, 0x0e898967
+1, 51464, 51464, 1456, 5824, 0x4b6b1acc
+0, 36, 36, 1, 102144, 0x52a8b671
+1, 52920, 52920, 1484, 5936, 0xa74496dc
+0, 37, 37, 1, 102144, 0x3f45ea83
+1, 54404, 54404, 1456, 5824, 0x719e6171
+0, 38, 38, 1, 102144, 0x7b0fc603
+1, 55860, 55860, 1484, 5936, 0x9346222d
+0, 39, 39, 1, 102144, 0x14f94469
+1, 57344, 57344, 1456, 5824, 0x9e2a876e
+0, 40, 40, 1, 102144, 0x5b9f37cc
+1, 58800, 58800, 1484, 5936, 0xeca6ea64
+0, 41, 41, 1, 102144, 0xf902b7c7
+1, 60284, 60284, 1456, 5824, 0x07d8174f
+0, 42, 42, 1, 102144, 0x326836e0
+1, 61740, 61740, 1484, 5936, 0x2df5aa6b
+0, 43, 43, 1, 102144, 0x2e4aebba
+1, 63224, 63224, 1456, 5824, 0x314e7034
+0, 44, 44, 1, 102144, 0xd10ae58c
+1, 64680, 64680, 1484, 5936, 0x5a328768
+0, 45, 45, 1, 102144, 0xbd084ecf
+1, 66164, 66164, 1456, 5824, 0x32b92446
+0, 46, 46, 1, 102144, 0xb2157c0a
+1, 67620, 67620, 1484, 5936, 0x20ecbc9b
+0, 47, 47, 1, 102144, 0xd7f158d4
+1, 69104, 69104, 1456, 5824, 0x76019c14
+0, 48, 48, 1, 102144, 0x3cf86462
+1, 70560, 70560, 1484, 5936, 0x8c3ef8a6
+0, 49, 49, 1, 102144, 0x53ecddab
+1, 72044, 72044, 1456, 5824, 0xcdaab50b
+0, 50, 50, 1, 102144, 0xcdaba8ef
+1, 73500, 73500, 1484, 5936, 0xb2f87f4f
+0, 51, 51, 1, 102144, 0xab9ede18
+1, 74984, 74984, 1456, 5824, 0x70c26379
+0, 52, 52, 1, 102144, 0xb6706e79
+1, 76440, 76440, 1484, 5936, 0x5691ecfd
+0, 53, 53, 1, 102144, 0x76371069
+1, 77924, 77924, 1456, 5824, 0x61e208fe
+0, 54, 54, 1, 102144, 0x3a365016
+1, 79380, 79380, 1484, 5936, 0x87d1a5e0
+0, 55, 55, 1, 102144, 0x52177c09
+1, 80864, 80864, 1456, 5824, 0x02054cfd
+0, 56, 56, 1, 102144, 0xc33eb4fb
+1, 82320, 82320, 1484, 5936, 0x22ff1c4b
+0, 57, 57, 1, 102144, 0x16098436
+1, 83804, 83804, 1456, 5824, 0xc6d87fef
+0, 58, 58, 1, 102144, 0x715d6a2b
+1, 85260, 85260, 1484, 5936, 0x9028bb3b
+0, 59, 59, 1, 102144, 0xd3abc960
+1, 86744, 86744, 1456, 5824, 0xbadde406
+0, 60, 60, 1, 102144, 0x7f34b0d4
+1, 88200, 88200, 1484, 5936, 0x6e88ddf1
+0, 61, 61, 1, 102144, 0xe3219b9c
+1, 89684, 89684, 1456, 5824, 0x5bb8be6e
+0, 62, 62, 1, 102144, 0x5fa54f54
+1, 91140, 91140, 1484, 5936, 0xe1f8d7fc
+0, 63, 63, 1, 102144, 0x0fb746cb
+1, 92624, 92624, 1456, 5824, 0xc824e388
+0, 64, 64, 1, 102144, 0xa6bd2da2
+1, 94080, 94080, 1484, 5936, 0x654371a9
+0, 65, 65, 1, 102144, 0x04579119
+1, 95564, 95564, 1456, 5824, 0xae6ee9ec
+0, 66, 66, 1, 102144, 0xda818691
+1, 97020, 97020, 1484, 5936, 0x9aa4550d
+0, 67, 67, 1, 102144, 0xe9d44445
+1, 98504, 98504, 1456, 5824, 0xdce210ac
+0, 68, 68, 1, 102144, 0x94868dc9
+1, 99960, 99960, 1484, 5936, 0xb12641c8
+0, 69, 69, 1, 102144, 0x3ca52ce6
+1, 101444, 101444, 1456, 5824, 0x277e014b
+0, 70, 70, 1, 102144, 0xd7eb4c4f
+1, 102900, 102900, 1484, 5936, 0xb0d262de
+0, 71, 71, 1, 102144, 0xfcdfafca
+1, 104384, 104384, 1456, 5824, 0xf94d6f49
+0, 72, 72, 1, 102144, 0x473a4a5a
+1, 105840, 105840, 1484, 5936, 0x3d7848cb
+0, 73, 73, 1, 102144, 0xe5a5f3cb
+1, 107324, 107324, 1456, 5824, 0xe67fc08e
+0, 74, 74, 1, 102144, 0x34070219
+1, 108780, 108780, 1484, 5936, 0x0475e0d6
+0, 75, 75, 1, 102144, 0x0faa965a
+1, 110264, 110264, 1456, 5824, 0x8a9a4a2e
+0, 76, 76, 1, 102144, 0xe2c6acda
+1, 111720, 111720, 1484, 5936, 0x82576204
+0, 77, 77, 1, 102144, 0xe22776d5
+1, 113204, 113204, 1456, 5824, 0x3017b648
+0, 78, 78, 1, 102144, 0x80d85602
+1, 114660, 114660, 1484, 5936, 0xca4c3e04
+0, 79, 79, 1, 102144, 0x2f3fa190
+1, 116144, 116144, 1456, 5824, 0x340077d1
+0, 80, 80, 1, 102144, 0x70b461b1
+1, 117600, 117600, 1484, 5936, 0x805bea6e
+0, 81, 81, 1, 102144, 0x366c8b27
+1, 119084, 119084, 1456, 5824, 0x2cf6c87b
+0, 82, 82, 1, 102144, 0x65cc0866
+1, 120540, 120540, 1484, 5936, 0x3635bc5f
+0, 83, 83, 1, 102144, 0x903beb14
+1, 122024, 122024, 1456, 5824, 0x0d7a81c7
+0, 84, 84, 1, 102144, 0xb6c5f5c7
+1, 123480, 123480, 1484, 5936, 0x26179764
+0, 85, 85, 1, 102144, 0xaa813725
+1, 124964, 124964, 1456, 5824, 0xa0b2454f
+0, 86, 86, 1, 102144, 0x014a84a0
+1, 126420, 126420, 1484, 5936, 0x91d24608
+0, 87, 87, 1, 102144, 0xd286ece1
+1, 127904, 127904, 1456, 5824, 0x6509b3e1
+0, 88, 88, 1, 102144, 0x48b1c27d
+1, 129360, 129360, 1484, 5936, 0xa0e3c9fc
+0, 89, 89, 1, 102144, 0xa611ef42
+1, 130844, 130844, 1456, 5824, 0x18682a2f
+0, 90, 90, 1, 102144, 0x98627584
+1, 132300, 132300, 1484, 5936, 0x89cea4ff
+0, 91, 91, 1, 102144, 0x43de7c75
+1, 133784, 133784, 1456, 5824, 0x7dd22b85
+0, 92, 92, 1, 102144, 0xa9e22c68
+1, 135240, 135240, 1484, 5936, 0x8b2eeb8d
+0, 93, 93, 1, 102144, 0x84ac34d4
+1, 136724, 136724, 1456, 5824, 0x0c21af82
+0, 94, 94, 1, 102144, 0x6abd00ba
+1, 138180, 138180, 1484, 5936, 0x9c5a748d
+0, 95, 95, 1, 102144, 0x5d11066e
+1, 139664, 139664, 1456, 5824, 0x1dc72c5c
+0, 96, 96, 1, 102144, 0xb6b083aa
+1, 141120, 141120, 1484, 5936, 0xe6129383
+0, 97, 97, 1, 102144, 0x5d152a11
+1, 142604, 142604, 1456, 5824, 0x0a44312a
+0, 98, 98, 1, 102144, 0x0c0aec67
+1, 144060, 144060, 1484, 5936, 0x7ed30640
+0, 99, 99, 1, 102144, 0xa248bd10
+1, 145544, 145544, 1456, 5824, 0xede15f25
+0, 100, 100, 1, 102144, 0x4e6c12cc
+1, 147000, 147000, 1484, 5936, 0x0096d0f3
+0, 101, 101, 1, 102144, 0xca1d6753
+1, 148484, 148484, 1456, 5824, 0x13764b4b
+0, 102, 102, 1, 102144, 0x116310c3
+1, 149940, 149940, 1484, 5936, 0xd4608756
+0, 103, 103, 1, 102144, 0x16903cd0
+1, 151424, 151424, 1456, 5824, 0x254b5f2a
+0, 104, 104, 1, 102144, 0x239adfed
+1, 152880, 152880, 1484, 5936, 0x7705b830
+0, 105, 105, 1, 102144, 0x0970ce49
+1, 154364, 154364, 1456, 5824, 0x64a63d78
+0, 106, 106, 1, 102144, 0xb628adc1
+1, 155820, 155820, 1484, 5936, 0xc02d81a6
+0, 107, 107, 1, 102144, 0x473613f7
+1, 157304, 157304, 1456, 5824, 0xd239e55e
+0, 108, 108, 1, 102144, 0x3eef3987
+1, 158760, 158760, 1484, 5936, 0x8018cd3a
+0, 109, 109, 1, 102144, 0x935b99ca
+1, 160244, 160244, 1456, 5824, 0xf86b8a98
+0, 110, 110, 1, 102144, 0xb9f4d6ee
+1, 161700, 161700, 1484, 5936, 0x2a0078bc
+0, 111, 111, 1, 102144, 0xac811656
+1, 163184, 163184, 1456, 5824, 0x058d4e1b
+0, 112, 112, 1, 102144, 0xd1f84af0
+1, 164640, 164640, 1484, 5936, 0xbc718309
+0, 113, 113, 1, 102144, 0xf2fd25f4
+1, 166124, 166124, 1456, 5824, 0xaf6c29e5
+0, 114, 114, 1, 102144, 0x935bbed9
+1, 167580, 167580, 1484, 5936, 0x80df004d
+0, 115, 115, 1, 102144, 0x8c8c3e53
+1, 169064, 169064, 1456, 5824, 0xeca5aa57
+0, 116, 116, 1, 102144, 0x24afc20f
+1, 170520, 170520, 1484, 5936, 0xb793a8f8
+0, 117, 117, 1, 102144, 0xad20a451
+1, 172004, 172004, 1456, 5824, 0x70fa6aff
+0, 118, 118, 1, 102144, 0xd1a0df13
+1, 173460, 173460, 1484, 5936, 0xda8d4cc6
+0, 119, 119, 1, 102144, 0xb0ee53f8
+1, 174944, 174944, 1456, 5824, 0xa70088eb
+0, 120, 120, 1, 102144, 0x08cdb591
+1, 176400, 176400, 1484, 5936, 0x1c0b0aab
+0, 121, 121, 1, 102144, 0x89b985b0
+1, 177884, 177884, 1456, 5824, 0x234d2436
+0, 122, 122, 1, 102144, 0xdd27d51f
+1, 179340, 179340, 1484, 5936, 0xf79d731e
+0, 123, 123, 1, 102144, 0xa783fce0
+1, 180824, 180824, 1456, 5824, 0x5a4e454a
+0, 124, 124, 1, 102144, 0xfe5602e8
+1, 182280, 182280, 1484, 5936, 0xccf6d042
+0, 125, 125, 1, 102144, 0xfb989934
+1, 183764, 183764, 1456, 5824, 0x4e524d14
+0, 126, 126, 1, 102144, 0xf857eb2b
+1, 185220, 185220, 1484, 5936, 0xf8f2fcc3
+0, 127, 127, 1, 102144, 0x987a7098
+1, 186704, 186704, 1456, 5824, 0x08f12491
+0, 128, 128, 1, 102144, 0xbc749f42
+1, 188160, 188160, 1484, 5936, 0x506e0a42
+0, 129, 129, 1, 102144, 0x221e48a6
+1, 189644, 189644, 1456, 5824, 0x7cf05049
+0, 130, 130, 1, 102144, 0x4c4b5da2
+1, 191100, 191100, 1484, 5936, 0xdeb9d295
+0, 131, 131, 1, 102144, 0x32140027
+1, 192584, 192584, 1456, 5824, 0x758ef642
+0, 132, 132, 1, 102144, 0xbeb4bf18
+1, 194040, 194040, 1484, 5936, 0x91903980
+0, 133, 133, 1, 102144, 0x523012e5
diff --git a/tests/ref/fate/ea-mad-pcm-planar b/tests/ref/fate/ea-mad-pcm-planar
index dc47354f45..baa846c589 100644
--- a/tests/ref/fate/ea-mad-pcm-planar
+++ b/tests/ref/fate/ea-mad-pcm-planar
@@ -1,292 +1,294 @@
-0, 0, 196608, 0x75d22292
-1, 0, 5884, 0x00000000
-0, 2970, 196608, 0x75d22292
-1, 3002, 5884, 0x00000000
-0, 5940, 196608, 0x75d22292
-1, 6004, 5888, 0x00000000
-0, 8910, 196608, 0x75d22292
-1, 9008, 5884, 0x00000000
-0, 11880, 196608, 0x75d22292
-1, 12010, 5888, 0x00000000
-0, 14850, 196608, 0x75d22292
-1, 15014, 5884, 0x00000000
-0, 17820, 196608, 0x75d22292
-1, 18016, 5888, 0x00000000
-0, 20790, 196608, 0x75d22292
-1, 21020, 5884, 0x00000000
-0, 23760, 196608, 0x75d22292
-1, 24022, 5888, 0x00000000
-0, 26730, 196608, 0xd3f66981
-1, 27027, 5884, 0x00000000
-0, 29700, 196608, 0xed37c4c3
-1, 30029, 5888, 0x174b2bd4
-0, 32670, 196608, 0x6ce01dc4
-1, 33033, 5884, 0xfab9563d
-0, 35640, 196608, 0x2874fc9a
-1, 36035, 5888, 0x0129a4f5
-0, 38610, 196608, 0x9b65bbc8
-1, 39039, 5884, 0xf12b15dd
-0, 41580, 196608, 0x8f9af811
-1, 42041, 5888, 0x60c8c922
-0, 44550, 196608, 0x04aeb0b0
-1, 45045, 5884, 0x85693c81
-0, 47520, 196608, 0x0df037a1
-1, 48047, 5888, 0xcefcf0e0
-0, 50490, 196608, 0xa32c5515
-1, 51051, 5884, 0x243974ff
-0, 53460, 196608, 0xf3b11a1b
-1, 54053, 5884, 0x9101b901
-0, 56430, 196608, 0xaf945190
-1, 57055, 5888, 0xe3c68cb9
-0, 59400, 196608, 0xabee8b24
-1, 60059, 5884, 0x80f2ff5f
-0, 62370, 196608, 0x1d7b3df0
-1, 63061, 5888, 0xfc2d19dc
-0, 65340, 196608, 0x1347d787
-1, 66065, 5884, 0xb6e0af21
-0, 68310, 196608, 0x654c4a9b
-1, 69067, 5888, 0x476e74ff
-0, 71280, 196608, 0xa2a6596a
-1, 72071, 5884, 0x3921bc7f
-0, 74250, 196608, 0x50d04d8e
-1, 75073, 5888, 0x44180a3f
-0, 77220, 196608, 0x4f9f9352
-1, 78078, 5884, 0x01b5a119
-0, 80190, 196608, 0xbb358281
-1, 81080, 5888, 0xdd7ad621
-0, 83160, 196608, 0xcd91a50a
-1, 84084, 5884, 0xadabe898
-0, 86130, 196608, 0xb665bb76
-1, 87086, 5888, 0x2141ff8e
-0, 89100, 196608, 0xec924ee7
-1, 90090, 5884, 0xfb5118fb
-0, 92070, 196608, 0x9c4aa4ad
-1, 93092, 5888, 0x06d31461
-0, 95040, 196608, 0x27ccdf86
-1, 96096, 5884, 0x80ce34c1
-0, 98010, 196608, 0x93778cc8
-1, 99098, 5888, 0x72bf392f
-0, 100980, 196608, 0x3d68e826
-1, 102102, 5884, 0x9d9237cf
-0, 103950, 196608, 0x9240b751
-1, 105104, 5884, 0xf5c9ce23
-0, 106920, 196608, 0xd77ec46b
-1, 108106, 5888, 0x12a05dc5
-0, 109890, 196608, 0x4a303ef1
-1, 111110, 5884, 0xd3ed5d4b
-0, 112860, 196608, 0x2508bacf
-1, 114112, 5888, 0x06557401
-0, 115830, 196608, 0xb74cb5bf
-1, 117116, 5884, 0x53d81662
-0, 118800, 196608, 0x9c4a9719
-1, 120118, 5888, 0xd7e0d98d
-0, 121770, 196608, 0xc34a7924
-1, 123122, 5884, 0xdf00752e
-0, 124740, 196608, 0x9d8428bd
-1, 126124, 5888, 0x82f1d7a9
-0, 127710, 196608, 0x019eebf7
-1, 129129, 5884, 0x9cb3aba9
-0, 130680, 196608, 0x36e58d6b
-1, 132131, 5888, 0xd6f98e91
-0, 133650, 196608, 0xc7038ceb
-1, 135135, 5884, 0xaa7f7c09
-0, 136620, 196608, 0xb041fd50
-1, 138137, 5888, 0xb97a82a7
-0, 139590, 196608, 0x76934674
-1, 141141, 5884, 0x375a3d53
-0, 142560, 196608, 0x22afa88b
-1, 144143, 5888, 0xa0a460cb
-0, 145530, 196608, 0x22158960
-1, 147147, 5884, 0xe05efbab
-0, 148500, 196608, 0x75ab0895
-1, 150149, 5888, 0x95e151f0
-0, 151470, 196608, 0xcaab6c6d
-1, 153153, 5884, 0x44ac688d
-0, 154440, 196608, 0xe64d8b91
-1, 156155, 5884, 0xfc6d929f
-0, 157410, 196608, 0x1e8aa17a
-1, 159157, 5888, 0x6406c5f1
-0, 160380, 196608, 0x7dd94fdb
-1, 162161, 5884, 0x4ee9e48c
-0, 163350, 196608, 0xab74566c
-1, 165163, 5888, 0xd55d43d0
-0, 166320, 196608, 0xec962966
-1, 168167, 5884, 0xcae69baf
-0, 169290, 196608, 0xf5bfd751
-1, 171169, 5888, 0x4c01f1f5
-0, 172260, 196608, 0xc7f46e0e
-1, 174173, 5884, 0xf7d6dab6
-0, 175230, 196608, 0xe641f676
-1, 177176, 5888, 0x1affdeb5
-0, 178200, 196608, 0xea7c7b75
-1, 180180, 5884, 0x6db72487
-0, 181170, 196608, 0x69120371
-1, 183182, 5888, 0x4f344e49
-0, 184140, 196608, 0xb2319175
-1, 186186, 5884, 0x2df3827b
-0, 187110, 196608, 0xd2d73b56
-1, 189188, 5888, 0x1d1fc283
-0, 190080, 196608, 0x74aafac0
-1, 192192, 5884, 0x22eb1dd5
-0, 193050, 196608, 0x15e8ddbc
-1, 195194, 5888, 0x734e7093
-0, 196020, 196608, 0xd4e2c90c
-1, 198198, 5884, 0x357c9531
-0, 198990, 196608, 0x86eaf31c
-1, 201200, 5888, 0x108c102d
-0, 201960, 196608, 0x8004291b
-1, 204204, 5884, 0x96ad26c6
-0, 204930, 196608, 0xbbf6954a
-1, 207206, 5888, 0x7bea1996
-0, 207900, 196608, 0x2f24f0e1
-1, 210210, 5884, 0x124a1f8e
-0, 210870, 196608, 0x59d56dfb
-1, 213212, 5884, 0x08d272fb
-0, 213840, 196608, 0x1377c9cb
-1, 216214, 5888, 0x88832c6b
-0, 216810, 196608, 0x07582cc3
-1, 219218, 5884, 0xedf41493
-0, 219780, 196608, 0xa5a853fc
-1, 222220, 5888, 0xc4f226d7
-0, 222750, 196608, 0x3b01856a
-1, 225224, 5884, 0x97730397
-0, 225720, 196608, 0x64927496
-1, 228227, 5888, 0xbc3540e9
-0, 228690, 196608, 0xf24c6f8a
-1, 231231, 5884, 0x8adfa135
-0, 231660, 196608, 0xc92c3c46
-1, 234233, 5888, 0x6d4be121
-0, 234630, 196608, 0xa50d07fb
-1, 237237, 5884, 0xc3daea85
-0, 237600, 196608, 0xb1d4a092
-1, 240239, 5888, 0x5498e9f0
-0, 240570, 196608, 0x20c5526b
-1, 243243, 5884, 0xa0eb691f
-0, 243540, 196608, 0x6127fbbd
-1, 246245, 5888, 0x775c7c59
-0, 246510, 196608, 0xc168a747
-1, 249249, 5884, 0x9f108fd1
-0, 249480, 196608, 0x9c0d3241
-1, 252251, 5888, 0x72d53062
-0, 252450, 196608, 0x5466dd21
-1, 255255, 5884, 0x13a93faa
-0, 255420, 196608, 0x5bba67cc
-1, 258257, 5888, 0x64773c8e
-0, 258390, 196608, 0x4c1a1c18
-1, 261261, 5884, 0xaf696999
-0, 261360, 196608, 0x22c0a537
-1, 264263, 5884, 0xf45e7e81
-0, 264330, 196608, 0x4ffc5ea6
-1, 267265, 5888, 0x00000000
-0, 267300, 196608, 0x7e8e2395
-1, 270269, 5884, 0x00000000
-0, 270270, 196608, 0xa3b6f198
-0, 273240, 196608, 0xf6aac4d1
-1, 273271, 5888, 0x00000000
-0, 276210, 196608, 0x1a6ea9ee
-1, 276276, 5884, 0x00000000
-0, 279180, 196608, 0xfd729443
-1, 279278, 5888, 0x00000000
-0, 282150, 196608, 0xc6a69012
-1, 282282, 5884, 0x00000000
-0, 285120, 196608, 0x576f9270
-1, 285284, 5888, 0x00000000
-0, 288090, 196608, 0x0d539fe5
-1, 288288, 5884, 0x00000000
-0, 291060, 196608, 0x191db7d6
-1, 291290, 5888, 0x00000000
-0, 294030, 196608, 0x80cddedd
-1, 294294, 5884, 0x00000000
-0, 297000, 196608, 0xccf5fd39
-1, 297296, 5888, 0x00000000
-0, 299970, 196608, 0x521d33b6
-1, 300300, 5884, 0x00000000
-0, 302940, 196608, 0xb75e59ee
-1, 303302, 5888, 0x00000000
-0, 305910, 196608, 0xbba68972
-1, 306306, 5884, 0x00000000
-0, 308880, 196608, 0x368fb86a
-1, 309308, 5888, 0x00000000
-0, 311850, 196608, 0x99e6e94a
-1, 312312, 5884, 0x00000000
-0, 314820, 196608, 0xe4021296
-1, 315314, 5884, 0x00000000
-0, 317790, 196608, 0xbc993b10
-1, 318316, 5888, 0x00000000
-0, 320760, 196608, 0xf2765d22
-1, 321320, 5884, 0x00000000
-0, 323730, 196608, 0xc6257db5
-1, 324322, 5888, 0x00000000
-0, 326700, 196608, 0xa832782f
-1, 327327, 5884, 0x00000000
-0, 329670, 196608, 0xa832782f
-1, 330329, 5888, 0x00000000
-0, 332640, 196608, 0xa832782f
-1, 333333, 5884, 0x00000000
-0, 335610, 196608, 0xa832782f
-1, 336335, 5888, 0x00000000
-0, 338580, 196608, 0xa832782f
-1, 339339, 5884, 0x00000000
-0, 341550, 196608, 0xa832782f
-1, 342341, 5888, 0x00000000
-0, 344520, 196608, 0xa832782f
-1, 345345, 5884, 0x00000000
-0, 347490, 196608, 0xa832782f
-1, 348347, 5888, 0x00000000
-0, 350460, 196608, 0xa832782f
-1, 351351, 5884, 0xfe4b2bd4
-0, 353430, 196608, 0xa832782f
-1, 354353, 5888, 0x00000000
-0, 356400, 196608, 0xa832782f
-1, 357357, 5884, 0x00000000
-0, 359370, 196608, 0xa832782f
-1, 360359, 5888, 0x00000000
-0, 362340, 196608, 0xa832782f
-1, 363363, 5884, 0x00000000
-0, 365310, 196608, 0xa832782f
-1, 366365, 5884, 0x00000000
-0, 368280, 196608, 0xa832782f
-1, 369367, 5888, 0x00000000
-0, 371250, 196608, 0xa832782f
-1, 372371, 5884, 0x00000000
-0, 374220, 196608, 0xa832782f
-1, 375373, 5888, 0x00000000
-0, 377190, 196608, 0xa832782f
-1, 378378, 5884, 0x00000000
-0, 380160, 196608, 0xa832782f
-1, 381380, 5888, 0x00000000
-0, 383130, 196608, 0xa832782f
-1, 384384, 5884, 0x00000000
-0, 386100, 196608, 0xa832782f
-1, 387386, 5888, 0x00000000
-0, 389070, 196608, 0xa832782f
-1, 390390, 5884, 0x00000000
-0, 392040, 196608, 0xa832782f
-1, 393392, 5888, 0x00000000
-0, 395010, 196608, 0xa832782f
-1, 396396, 5884, 0x00000000
-0, 397980, 196608, 0xa832782f
-1, 399398, 5888, 0x00000000
-0, 400950, 196608, 0xa832782f
-1, 402402, 5884, 0x00000000
-0, 403920, 196608, 0xa832782f
-1, 405404, 5888, 0x00000000
-0, 406890, 196608, 0xa832782f
-1, 408408, 5884, 0x00000000
-0, 409860, 196608, 0xa832782f
-1, 411410, 5888, 0x00000000
-0, 412830, 196608, 0xa832782f
-1, 414414, 5884, 0x00000000
-0, 415800, 196608, 0xa832782f
-1, 417416, 5888, 0x00000000
-0, 418770, 196608, 0xa832782f
-1, 420420, 5884, 0x00000000
-0, 421740, 196608, 0xa832782f
-1, 423422, 5048, 0x00000000
-0, 424710, 196608, 0xa832782f
-0, 427680, 196608, 0xa832782f
-0, 430650, 196608, 0xa832782f
-0, 433620, 196608, 0xa832782f
-0, 436590, 196608, 0xa832782f
-0, 439560, 196608, 0xa832782f
-0, 442530, 196608, 0xa832782f
+#tb 0: 33/1000
+#tb 1: 1/44100
+0, 0, 0, 1, 196608, 0x75d22292
+1, 0, 0, 1471, 5884, 0x00000000
+0, 1, 1, 1, 196608, 0x75d22292
+1, 1471, 1471, 1471, 5884, 0x00000000
+0, 2, 2, 1, 196608, 0x75d22292
+1, 2942, 2942, 1472, 5888, 0x00000000
+0, 3, 3, 1, 196608, 0x75d22292
+1, 4414, 4414, 1471, 5884, 0x00000000
+0, 4, 4, 1, 196608, 0x75d22292
+1, 5885, 5885, 1472, 5888, 0x00000000
+0, 5, 5, 1, 196608, 0x75d22292
+1, 7357, 7357, 1471, 5884, 0x00000000
+0, 6, 6, 1, 196608, 0x75d22292
+1, 8828, 8828, 1472, 5888, 0x00000000
+0, 7, 7, 1, 196608, 0x75d22292
+1, 10300, 10300, 1471, 5884, 0x00000000
+0, 8, 8, 1, 196608, 0x75d22292
+1, 11771, 11771, 1472, 5888, 0x00000000
+0, 9, 9, 1, 196608, 0xd3f66981
+1, 13243, 13243, 1471, 5884, 0x00000000
+0, 10, 10, 1, 196608, 0xed37c4c3
+1, 14714, 14714, 1472, 5888, 0x174b2bd4
+0, 11, 11, 1, 196608, 0x6ce01dc4
+1, 16186, 16186, 1471, 5884, 0xfab9563d
+0, 12, 12, 1, 196608, 0x2874fc9a
+1, 17657, 17657, 1472, 5888, 0x0129a4f5
+0, 13, 13, 1, 196608, 0x9b65bbc8
+1, 19129, 19129, 1471, 5884, 0xf12b15dd
+0, 14, 14, 1, 196608, 0x8f9af811
+1, 20600, 20600, 1472, 5888, 0x60c8c922
+0, 15, 15, 1, 196608, 0x04aeb0b0
+1, 22072, 22072, 1471, 5884, 0x85693c81
+0, 16, 16, 1, 196608, 0x0df037a1
+1, 23543, 23543, 1472, 5888, 0xcefcf0e0
+0, 17, 17, 1, 196608, 0xa32c5515
+1, 25015, 25015, 1471, 5884, 0x243974ff
+0, 18, 18, 1, 196608, 0xf3b11a1b
+1, 26486, 26486, 1471, 5884, 0x9101b901
+0, 19, 19, 1, 196608, 0xaf945190
+1, 27957, 27957, 1472, 5888, 0xe3c68cb9
+0, 20, 20, 1, 196608, 0xabee8b24
+1, 29429, 29429, 1471, 5884, 0x80f2ff5f
+0, 21, 21, 1, 196608, 0x1d7b3df0
+1, 30900, 30900, 1472, 5888, 0xfc2d19dc
+0, 22, 22, 1, 196608, 0x1347d787
+1, 32372, 32372, 1471, 5884, 0xb6e0af21
+0, 23, 23, 1, 196608, 0x654c4a9b
+1, 33843, 33843, 1472, 5888, 0x476e74ff
+0, 24, 24, 1, 196608, 0xa2a6596a
+1, 35315, 35315, 1471, 5884, 0x3921bc7f
+0, 25, 25, 1, 196608, 0x50d04d8e
+1, 36786, 36786, 1472, 5888, 0x44180a3f
+0, 26, 26, 1, 196608, 0x4f9f9352
+1, 38258, 38258, 1471, 5884, 0x01b5a119
+0, 27, 27, 1, 196608, 0xbb358281
+1, 39729, 39729, 1472, 5888, 0xdd7ad621
+0, 28, 28, 1, 196608, 0xcd91a50a
+1, 41201, 41201, 1471, 5884, 0xadabe898
+0, 29, 29, 1, 196608, 0xb665bb76
+1, 42672, 42672, 1472, 5888, 0x2141ff8e
+0, 30, 30, 1, 196608, 0xec924ee7
+1, 44144, 44144, 1471, 5884, 0xfb5118fb
+0, 31, 31, 1, 196608, 0x9c4aa4ad
+1, 45615, 45615, 1472, 5888, 0x06d31461
+0, 32, 32, 1, 196608, 0x27ccdf86
+1, 47087, 47087, 1471, 5884, 0x80ce34c1
+0, 33, 33, 1, 196608, 0x93778cc8
+1, 48558, 48558, 1472, 5888, 0x72bf392f
+0, 34, 34, 1, 196608, 0x3d68e826
+1, 50030, 50030, 1471, 5884, 0x9d9237cf
+0, 35, 35, 1, 196608, 0x9240b751
+1, 51501, 51501, 1471, 5884, 0xf5c9ce23
+0, 36, 36, 1, 196608, 0xd77ec46b
+1, 52972, 52972, 1472, 5888, 0x12a05dc5
+0, 37, 37, 1, 196608, 0x4a303ef1
+1, 54444, 54444, 1471, 5884, 0xd3ed5d4b
+0, 38, 38, 1, 196608, 0x2508bacf
+1, 55915, 55915, 1472, 5888, 0x06557401
+0, 39, 39, 1, 196608, 0xb74cb5bf
+1, 57387, 57387, 1471, 5884, 0x53d81662
+0, 40, 40, 1, 196608, 0x9c4a9719
+1, 58858, 58858, 1472, 5888, 0xd7e0d98d
+0, 41, 41, 1, 196608, 0xc34a7924
+1, 60330, 60330, 1471, 5884, 0xdf00752e
+0, 42, 42, 1, 196608, 0x9d8428bd
+1, 61801, 61801, 1472, 5888, 0x82f1d7a9
+0, 43, 43, 1, 196608, 0x019eebf7
+1, 63273, 63273, 1471, 5884, 0x9cb3aba9
+0, 44, 44, 1, 196608, 0x36e58d6b
+1, 64744, 64744, 1472, 5888, 0xd6f98e91
+0, 45, 45, 1, 196608, 0xc7038ceb
+1, 66216, 66216, 1471, 5884, 0xaa7f7c09
+0, 46, 46, 1, 196608, 0xb041fd50
+1, 67687, 67687, 1472, 5888, 0xb97a82a7
+0, 47, 47, 1, 196608, 0x76934674
+1, 69159, 69159, 1471, 5884, 0x375a3d53
+0, 48, 48, 1, 196608, 0x22afa88b
+1, 70630, 70630, 1472, 5888, 0xa0a460cb
+0, 49, 49, 1, 196608, 0x22158960
+1, 72102, 72102, 1471, 5884, 0xe05efbab
+0, 50, 50, 1, 196608, 0x75ab0895
+1, 73573, 73573, 1472, 5888, 0x95e151f0
+0, 51, 51, 1, 196608, 0xcaab6c6d
+1, 75045, 75045, 1471, 5884, 0x44ac688d
+0, 52, 52, 1, 196608, 0xe64d8b91
+1, 76516, 76516, 1471, 5884, 0xfc6d929f
+0, 53, 53, 1, 196608, 0x1e8aa17a
+1, 77987, 77987, 1472, 5888, 0x6406c5f1
+0, 54, 54, 1, 196608, 0x7dd94fdb
+1, 79459, 79459, 1471, 5884, 0x4ee9e48c
+0, 55, 55, 1, 196608, 0xab74566c
+1, 80930, 80930, 1472, 5888, 0xd55d43d0
+0, 56, 56, 1, 196608, 0xec962966
+1, 82402, 82402, 1471, 5884, 0xcae69baf
+0, 57, 57, 1, 196608, 0xf5bfd751
+1, 83873, 83873, 1472, 5888, 0x4c01f1f5
+0, 58, 58, 1, 196608, 0xc7f46e0e
+1, 85345, 85345, 1471, 5884, 0xf7d6dab6
+0, 59, 59, 1, 196608, 0xe641f676
+1, 86816, 86816, 1472, 5888, 0x1affdeb5
+0, 60, 60, 1, 196608, 0xea7c7b75
+1, 88288, 88288, 1471, 5884, 0x6db72487
+0, 61, 61, 1, 196608, 0x69120371
+1, 89759, 89759, 1472, 5888, 0x4f344e49
+0, 62, 62, 1, 196608, 0xb2319175
+1, 91231, 91231, 1471, 5884, 0x2df3827b
+0, 63, 63, 1, 196608, 0xd2d73b56
+1, 92702, 92702, 1472, 5888, 0x1d1fc283
+0, 64, 64, 1, 196608, 0x74aafac0
+1, 94174, 94174, 1471, 5884, 0x22eb1dd5
+0, 65, 65, 1, 196608, 0x15e8ddbc
+1, 95645, 95645, 1472, 5888, 0x734e7093
+0, 66, 66, 1, 196608, 0xd4e2c90c
+1, 97117, 97117, 1471, 5884, 0x357c9531
+0, 67, 67, 1, 196608, 0x86eaf31c
+1, 98588, 98588, 1472, 5888, 0x108c102d
+0, 68, 68, 1, 196608, 0x8004291b
+1, 100060, 100060, 1471, 5884, 0x96ad26c6
+0, 69, 69, 1, 196608, 0xbbf6954a
+1, 101531, 101531, 1472, 5888, 0x7bea1996
+0, 70, 70, 1, 196608, 0x2f24f0e1
+1, 103003, 103003, 1471, 5884, 0x124a1f8e
+0, 71, 71, 1, 196608, 0x59d56dfb
+1, 104474, 104474, 1471, 5884, 0x08d272fb
+0, 72, 72, 1, 196608, 0x1377c9cb
+1, 105945, 105945, 1472, 5888, 0x88832c6b
+0, 73, 73, 1, 196608, 0x07582cc3
+1, 107417, 107417, 1471, 5884, 0xedf41493
+0, 74, 74, 1, 196608, 0xa5a853fc
+1, 108888, 108888, 1472, 5888, 0xc4f226d7
+0, 75, 75, 1, 196608, 0x3b01856a
+1, 110360, 110360, 1471, 5884, 0x97730397
+0, 76, 76, 1, 196608, 0x64927496
+1, 111831, 111831, 1472, 5888, 0xbc3540e9
+0, 77, 77, 1, 196608, 0xf24c6f8a
+1, 113303, 113303, 1471, 5884, 0x8adfa135
+0, 78, 78, 1, 196608, 0xc92c3c46
+1, 114774, 114774, 1472, 5888, 0x6d4be121
+0, 79, 79, 1, 196608, 0xa50d07fb
+1, 116246, 116246, 1471, 5884, 0xc3daea85
+0, 80, 80, 1, 196608, 0xb1d4a092
+1, 117717, 117717, 1472, 5888, 0x5498e9f0
+0, 81, 81, 1, 196608, 0x20c5526b
+1, 119189, 119189, 1471, 5884, 0xa0eb691f
+0, 82, 82, 1, 196608, 0x6127fbbd
+1, 120660, 120660, 1472, 5888, 0x775c7c59
+0, 83, 83, 1, 196608, 0xc168a747
+1, 122132, 122132, 1471, 5884, 0x9f108fd1
+0, 84, 84, 1, 196608, 0x9c0d3241
+1, 123603, 123603, 1472, 5888, 0x72d53062
+0, 85, 85, 1, 196608, 0x5466dd21
+1, 125075, 125075, 1471, 5884, 0x13a93faa
+0, 86, 86, 1, 196608, 0x5bba67cc
+1, 126546, 126546, 1472, 5888, 0x64773c8e
+0, 87, 87, 1, 196608, 0x4c1a1c18
+1, 128018, 128018, 1471, 5884, 0xaf696999
+0, 88, 88, 1, 196608, 0x22c0a537
+1, 129489, 129489, 1471, 5884, 0xf45e7e81
+0, 89, 89, 1, 196608, 0x4ffc5ea6
+1, 130960, 130960, 1472, 5888, 0x00000000
+0, 90, 90, 1, 196608, 0x7e8e2395
+1, 132432, 132432, 1471, 5884, 0x00000000
+0, 91, 91, 1, 196608, 0xa3b6f198
+0, 92, 92, 1, 196608, 0xf6aac4d1
+1, 133903, 133903, 1472, 5888, 0x00000000
+0, 93, 93, 1, 196608, 0x1a6ea9ee
+1, 135375, 135375, 1471, 5884, 0x00000000
+0, 94, 94, 1, 196608, 0xfd729443
+1, 136846, 136846, 1472, 5888, 0x00000000
+0, 95, 95, 1, 196608, 0xc6a69012
+1, 138318, 138318, 1471, 5884, 0x00000000
+0, 96, 96, 1, 196608, 0x576f9270
+1, 139789, 139789, 1472, 5888, 0x00000000
+0, 97, 97, 1, 196608, 0x0d539fe5
+1, 141261, 141261, 1471, 5884, 0x00000000
+0, 98, 98, 1, 196608, 0x191db7d6
+1, 142732, 142732, 1472, 5888, 0x00000000
+0, 99, 99, 1, 196608, 0x80cddedd
+1, 144204, 144204, 1471, 5884, 0x00000000
+0, 100, 100, 1, 196608, 0xccf5fd39
+1, 145675, 145675, 1472, 5888, 0x00000000
+0, 101, 101, 1, 196608, 0x521d33b6
+1, 147147, 147147, 1471, 5884, 0x00000000
+0, 102, 102, 1, 196608, 0xb75e59ee
+1, 148618, 148618, 1472, 5888, 0x00000000
+0, 103, 103, 1, 196608, 0xbba68972
+1, 150090, 150090, 1471, 5884, 0x00000000
+0, 104, 104, 1, 196608, 0x368fb86a
+1, 151561, 151561, 1472, 5888, 0x00000000
+0, 105, 105, 1, 196608, 0x99e6e94a
+1, 153033, 153033, 1471, 5884, 0x00000000
+0, 106, 106, 1, 196608, 0xe4021296
+1, 154504, 154504, 1471, 5884, 0x00000000
+0, 107, 107, 1, 196608, 0xbc993b10
+1, 155975, 155975, 1472, 5888, 0x00000000
+0, 108, 108, 1, 196608, 0xf2765d22
+1, 157447, 157447, 1471, 5884, 0x00000000
+0, 109, 109, 1, 196608, 0xc6257db5
+1, 158918, 158918, 1472, 5888, 0x00000000
+0, 110, 110, 1, 196608, 0xa832782f
+1, 160390, 160390, 1471, 5884, 0x00000000
+0, 111, 111, 1, 196608, 0xa832782f
+1, 161861, 161861, 1472, 5888, 0x00000000
+0, 112, 112, 1, 196608, 0xa832782f
+1, 163333, 163333, 1471, 5884, 0x00000000
+0, 113, 113, 1, 196608, 0xa832782f
+1, 164804, 164804, 1472, 5888, 0x00000000
+0, 114, 114, 1, 196608, 0xa832782f
+1, 166276, 166276, 1471, 5884, 0x00000000
+0, 115, 115, 1, 196608, 0xa832782f
+1, 167747, 167747, 1472, 5888, 0x00000000
+0, 116, 116, 1, 196608, 0xa832782f
+1, 169219, 169219, 1471, 5884, 0x00000000
+0, 117, 117, 1, 196608, 0xa832782f
+1, 170690, 170690, 1472, 5888, 0x00000000
+0, 118, 118, 1, 196608, 0xa832782f
+1, 172162, 172162, 1471, 5884, 0xfe4b2bd4
+0, 119, 119, 1, 196608, 0xa832782f
+1, 173633, 173633, 1472, 5888, 0x00000000
+0, 120, 120, 1, 196608, 0xa832782f
+1, 175105, 175105, 1471, 5884, 0x00000000
+0, 121, 121, 1, 196608, 0xa832782f
+1, 176576, 176576, 1472, 5888, 0x00000000
+0, 122, 122, 1, 196608, 0xa832782f
+1, 178048, 178048, 1471, 5884, 0x00000000
+0, 123, 123, 1, 196608, 0xa832782f
+1, 179519, 179519, 1471, 5884, 0x00000000
+0, 124, 124, 1, 196608, 0xa832782f
+1, 180990, 180990, 1472, 5888, 0x00000000
+0, 125, 125, 1, 196608, 0xa832782f
+1, 182462, 182462, 1471, 5884, 0x00000000
+0, 126, 126, 1, 196608, 0xa832782f
+1, 183933, 183933, 1472, 5888, 0x00000000
+0, 127, 127, 1, 196608, 0xa832782f
+1, 185405, 185405, 1471, 5884, 0x00000000
+0, 128, 128, 1, 196608, 0xa832782f
+1, 186876, 186876, 1472, 5888, 0x00000000
+0, 129, 129, 1, 196608, 0xa832782f
+1, 188348, 188348, 1471, 5884, 0x00000000
+0, 130, 130, 1, 196608, 0xa832782f
+1, 189819, 189819, 1472, 5888, 0x00000000
+0, 131, 131, 1, 196608, 0xa832782f
+1, 191291, 191291, 1471, 5884, 0x00000000
+0, 132, 132, 1, 196608, 0xa832782f
+1, 192762, 192762, 1472, 5888, 0x00000000
+0, 133, 133, 1, 196608, 0xa832782f
+1, 194234, 194234, 1471, 5884, 0x00000000
+0, 134, 134, 1, 196608, 0xa832782f
+1, 195705, 195705, 1472, 5888, 0x00000000
+0, 135, 135, 1, 196608, 0xa832782f
+1, 197177, 197177, 1471, 5884, 0x00000000
+0, 136, 136, 1, 196608, 0xa832782f
+1, 198648, 198648, 1472, 5888, 0x00000000
+0, 137, 137, 1, 196608, 0xa832782f
+1, 200120, 200120, 1471, 5884, 0x00000000
+0, 138, 138, 1, 196608, 0xa832782f
+1, 201591, 201591, 1472, 5888, 0x00000000
+0, 139, 139, 1, 196608, 0xa832782f
+1, 203063, 203063, 1471, 5884, 0x00000000
+0, 140, 140, 1, 196608, 0xa832782f
+1, 204534, 204534, 1472, 5888, 0x00000000
+0, 141, 141, 1, 196608, 0xa832782f
+1, 206006, 206006, 1471, 5884, 0x00000000
+0, 142, 142, 1, 196608, 0xa832782f
+1, 207477, 207477, 1262, 5048, 0x00000000
+0, 143, 143, 1, 196608, 0xa832782f
+0, 144, 144, 1, 196608, 0xa832782f
+0, 145, 145, 1, 196608, 0xa832782f
+0, 146, 146, 1, 196608, 0xa832782f
+0, 147, 147, 1, 196608, 0xa832782f
+0, 148, 148, 1, 196608, 0xa832782f
+0, 149, 149, 1, 196608, 0xa832782f
diff --git a/tests/ref/fate/ea-tgq b/tests/ref/fate/ea-tgq
index 993c08ea74..5c0648dbaf 100644
--- a/tests/ref/fate/ea-tgq
+++ b/tests/ref/fate/ea-tgq
@@ -1,278 +1,279 @@
-0, 0, 34944, 0xe33671a4
-0, 6000, 34944, 0xe33671a4
-0, 12000, 34944, 0xe33671a4
-0, 18000, 34944, 0xe33671a4
-0, 24000, 34944, 0xe33671a4
-0, 30000, 34944, 0xe33671a4
-0, 36000, 34944, 0xe33671a4
-0, 42000, 34944, 0xe33671a4
-0, 48000, 34944, 0xe33671a4
-0, 54000, 34944, 0xe33671a4
-0, 60000, 34944, 0xe33671a4
-0, 66000, 34944, 0xe33671a4
-0, 72000, 34944, 0xe33671a4
-0, 78000, 34944, 0xe33671a4
-0, 84000, 34944, 0xe33671a4
-0, 90000, 34944, 0x63196b41
-0, 96000, 34944, 0x308d6f10
-0, 102000, 34944, 0x86026ced
-0, 108000, 34944, 0xaa6a6bc9
-0, 114000, 34944, 0x58276ee3
-0, 120000, 34944, 0x402d70c2
-0, 126000, 34944, 0x948d74bf
-0, 132000, 34944, 0x3d31759c
-0, 138000, 34944, 0x638c734e
-0, 144000, 34944, 0xe218768a
-0, 150000, 34944, 0xed6678ff
-0, 156000, 34944, 0x381b7dda
-0, 162000, 34944, 0x216680e7
-0, 168000, 34944, 0xaca5810f
-0, 174000, 34944, 0xf70b81eb
-0, 180000, 34944, 0x3675858b
-0, 186000, 34944, 0xa51188c3
-0, 192000, 34944, 0x3a848bf1
-0, 198000, 34944, 0x67608d4d
-0, 204000, 34944, 0xafe49165
-0, 210000, 34944, 0x7e8a94a7
-0, 216000, 34944, 0x3b889432
-0, 222000, 34944, 0x97e89623
-0, 228000, 34944, 0x07819793
-0, 234000, 34944, 0xdac39b87
-0, 240000, 34944, 0x4d8c9d93
-0, 246000, 34944, 0xcf009fa7
-0, 252000, 34944, 0x2f109f6e
-0, 258000, 34944, 0xcedda4eb
-0, 264000, 34944, 0xfe89a6df
-0, 270000, 34944, 0x195ea7a9
-0, 276000, 34944, 0x9287ab92
-0, 282000, 34944, 0x6d21af54
-0, 288000, 34944, 0xd627b28b
-0, 294000, 34944, 0x3ad5b6fd
-0, 300000, 34944, 0x5101b64d
-0, 306000, 34944, 0xb968b8ca
-0, 312000, 34944, 0xa105b74a
-0, 318000, 34944, 0xc056bdd6
-0, 324000, 34944, 0xec7fc1d9
-0, 330000, 34944, 0x92c3c3e0
-0, 336000, 34944, 0x9bffc45c
-0, 342000, 34944, 0x5aabca4b
-0, 348000, 34944, 0xcbdacb26
-0, 354000, 34944, 0xed6cce3f
-0, 360000, 34944, 0xcc61cfb8
-0, 366000, 34944, 0x7a97d427
-0, 372000, 34944, 0x7cdbd5ec
-0, 378000, 34944, 0x5851d9c4
-0, 384000, 34944, 0x69d5dd1d
-0, 390000, 34944, 0xdf30dcf4
-0, 396000, 34944, 0x2359e084
-0, 402000, 34944, 0xe0bae491
-0, 408000, 34944, 0xa716e4fd
-0, 414000, 34944, 0xe48aeaf4
-0, 420000, 34944, 0x0a0deb21
-0, 426000, 34944, 0xe8a56e12
-0, 432000, 34944, 0x0d72c98e
-0, 438000, 34944, 0x71a7bb9d
-0, 444000, 34944, 0xc0c8c108
-0, 450000, 34944, 0x1d1fc3ba
-0, 456000, 34944, 0xebcfc67f
-0, 462000, 34944, 0x2921cb5b
-0, 468000, 34944, 0x793ed099
-0, 474000, 34944, 0xefebd9e8
-0, 480000, 34944, 0x163c2330
-0, 486000, 34944, 0x35155672
-0, 492000, 34944, 0x05474e2e
-0, 498000, 34944, 0x9433542f
-0, 504000, 34944, 0x777d5a13
-0, 510000, 34944, 0x87526776
-0, 516000, 34944, 0x4c3c72c1
-0, 522000, 34944, 0x70407b87
-0, 528000, 34944, 0x2358861d
-0, 534000, 34944, 0xec61923f
-0, 540000, 34944, 0x0bb2a0d4
-0, 546000, 34944, 0x6b6d8624
-0, 552000, 34944, 0x624761ec
-0, 558000, 34944, 0xff23b926
-0, 564000, 34944, 0x07fc7ca5
-0, 570000, 34944, 0xa8d3ffda
-0, 576000, 34944, 0xa2d31265
-0, 582000, 34944, 0x5e58225e
-0, 588000, 34944, 0x284b2fb0
-0, 594000, 34944, 0x205b3cb1
-0, 600000, 34944, 0x3fa64a09
-0, 606000, 34944, 0xa5de5097
-0, 612000, 34944, 0x00686cea
-0, 618000, 34944, 0x465a8282
-0, 624000, 34944, 0x4ceb8189
-0, 630000, 34944, 0x14698509
-0, 636000, 34944, 0x232c830d
-0, 642000, 34944, 0x0739807c
-0, 648000, 34944, 0x83b0861e
-0, 654000, 34944, 0xbdc094b1
-0, 660000, 34944, 0xc4c0a605
-0, 666000, 34944, 0x8376b059
-0, 672000, 34944, 0x2035b939
-0, 678000, 34944, 0xb6bfc812
-0, 684000, 34944, 0xc5d4d5c4
-0, 690000, 34944, 0x492c954e
-0, 696000, 34944, 0xd23f0dcc
-0, 702000, 34944, 0x22d7ff6c
-0, 708000, 34944, 0xd08b4168
-0, 714000, 34944, 0xa82e4062
-0, 720000, 34944, 0xcc4f2f31
-0, 726000, 34944, 0x964b0307
-0, 732000, 34944, 0xe8130606
-0, 738000, 34944, 0x5fb744bf
-0, 744000, 34944, 0x1546a88b
-0, 750000, 34944, 0xe6e4d94d
-0, 756000, 34944, 0x8d1ea97e
-0, 762000, 34944, 0x3bb1fb55
-0, 768000, 34944, 0x3c37e9cc
-0, 774000, 34944, 0xe2d22521
-0, 780000, 34944, 0x7c0ec8cc
-0, 786000, 34944, 0x7c2dc956
-0, 792000, 34944, 0x7fe3c263
-0, 798000, 34944, 0x9a65b813
-0, 804000, 34944, 0x7ea7cb14
-0, 810000, 34944, 0x31ded64e
-0, 816000, 34944, 0x50f30ad1
-0, 822000, 34944, 0x12eac45c
-0, 828000, 34944, 0x984b6335
-0, 834000, 34944, 0x3b9b02f0
-0, 840000, 34944, 0x4629d2a4
-0, 846000, 34944, 0x38687e89
-0, 852000, 34944, 0xb76620fe
-0, 858000, 34944, 0x66347155
-0, 864000, 34944, 0x6e6bc297
-0, 870000, 34944, 0x452a653a
-0, 876000, 34944, 0x8c8a0683
-0, 882000, 34944, 0xaf5d7c2d
-0, 888000, 34944, 0x3064a7e1
-0, 894000, 34944, 0xc0657fc4
-0, 900000, 34944, 0x1f129266
-0, 906000, 34944, 0x35adedfb
-0, 912000, 34944, 0x40a3db0d
-0, 918000, 34944, 0x87bebb37
-0, 924000, 34944, 0x04d7ffed
-0, 930000, 34944, 0x9bde3180
-0, 936000, 34944, 0xc35c25bd
-0, 942000, 34944, 0x820bf4bb
-0, 948000, 34944, 0x876163ef
-0, 954000, 34944, 0x3ab6dac0
-0, 960000, 34944, 0x69a9ef73
-0, 966000, 34944, 0x0df3813c
-0, 972000, 34944, 0x1bba0947
-0, 978000, 34944, 0x0b7883d4
-0, 984000, 34944, 0xa9972f7e
-0, 990000, 34944, 0x603d08fe
-0, 996000, 34944, 0x05f4f111
-0, 1002000, 34944, 0xb24fdb42
-0, 1008000, 34944, 0xfe2ad344
-0, 1014000, 34944, 0xda4bcb8f
-0, 1020000, 34944, 0xd28aca6b
-0, 1026000, 34944, 0x9486c260
-0, 1032000, 34944, 0xad9fc04d
-0, 1038000, 34944, 0x9333c0ca
-0, 1044000, 34944, 0x96e9c226
-0, 1050000, 34944, 0x3e89bd6f
-0, 1056000, 34944, 0x7a2dbd32
-0, 1062000, 34944, 0xe578ba53
-0, 1068000, 34944, 0xb77ebab1
-0, 1074000, 34944, 0xd8bfbcb1
-0, 1080000, 34944, 0x15d9bc97
-0, 1086000, 34944, 0x09c3b9f0
-0, 1092000, 34944, 0xd8c8b944
-0, 1098000, 34944, 0x2c2fb996
-0, 1104000, 34944, 0xd7a8b7e7
-0, 1110000, 34944, 0xce34b843
-0, 1116000, 34944, 0xba69e9fd
-0, 1122000, 34944, 0x1b3f1adc
-0, 1128000, 34944, 0x48f515aa
-0, 1134000, 34944, 0x864e12bb
-0, 1140000, 34944, 0xca571996
-0, 1146000, 34944, 0x1d5a1af0
-0, 1152000, 34944, 0x3d1e171f
-0, 1158000, 34944, 0xb57417ca
-0, 1164000, 34944, 0x6e6d1e9d
-0, 1170000, 34944, 0xc9971899
-0, 1176000, 34944, 0xe0b112c8
-0, 1182000, 34944, 0x121b0cd9
-0, 1188000, 34944, 0x418e0eff
-0, 1194000, 34944, 0x9e1b07d8
-0, 1200000, 34944, 0x5590064a
-0, 1206000, 34944, 0x7a170b14
-0, 1212000, 34944, 0xf25709f0
-0, 1218000, 34944, 0x94fa099a
-0, 1224000, 34944, 0x081e06ae
-0, 1230000, 34944, 0xcfc40417
-0, 1236000, 34944, 0xed33096f
-0, 1242000, 34944, 0xd73a07e2
-0, 1248000, 34944, 0xc512077d
-0, 1254000, 34944, 0x27d7021d
-0, 1260000, 34944, 0xab59fd20
-0, 1266000, 34944, 0xcc2400b7
-0, 1272000, 34944, 0xcb3bfb99
-0, 1278000, 34944, 0x0974fb1a
-0, 1284000, 34944, 0xef79f8ba
-0, 1290000, 34944, 0xf932f3a2
-0, 1296000, 34944, 0xa32df1bc
-0, 1302000, 34944, 0xdbe0f532
-0, 1308000, 34944, 0x234cf142
-0, 1314000, 34944, 0xe68befd0
-0, 1320000, 34944, 0xe4e7ee45
-0, 1326000, 34944, 0x0283eff1
-0, 1332000, 34944, 0xc8d3f6db
-0, 1338000, 34944, 0x0aa6ee88
-0, 1344000, 34944, 0xcc3de527
-0, 1350000, 34944, 0x9db0ebef
-0, 1356000, 34944, 0xa207e9db
-0, 1362000, 34944, 0x35b3e74a
-0, 1368000, 34944, 0x1988e848
-0, 1374000, 34944, 0x727de73c
-0, 1380000, 34944, 0x05d5e709
-0, 1386000, 34944, 0x3214e4b2
-0, 1392000, 34944, 0xed85e0a9
-0, 1398000, 34944, 0xf6c9e100
-0, 1404000, 34944, 0x57a8dbaf
-0, 1410000, 34944, 0xc75fdf41
-0, 1416000, 34944, 0x736fde24
-0, 1422000, 34944, 0x8d4bde80
-0, 1428000, 34944, 0x3220dc86
-0, 1434000, 34944, 0xe498da85
-0, 1440000, 34944, 0x0655daed
-0, 1446000, 34944, 0xb22ad874
-0, 1452000, 34944, 0x8198d411
-0, 1458000, 34944, 0xd0d2d557
-0, 1464000, 34944, 0xd740d1ff
-0, 1470000, 34944, 0x2783d00e
-0, 1476000, 34944, 0x7abdcd6b
-0, 1482000, 34944, 0x2e47d1eb
-0, 1488000, 34944, 0xfe1bcf60
-0, 1494000, 34944, 0xf0f0d5bb
-0, 1500000, 34944, 0x9af7d581
-0, 1506000, 34944, 0xb325ca3d
-0, 1512000, 34944, 0xd88abfbd
-0, 1518000, 34944, 0xf2bab746
-0, 1524000, 34944, 0xac44a7dd
-0, 1530000, 34944, 0x609e9ea3
-0, 1536000, 34944, 0xa39993b9
-0, 1542000, 34944, 0x9c948911
-0, 1548000, 34944, 0x72f8822d
-0, 1554000, 34944, 0x7f3f7a8c
-0, 1560000, 34944, 0x7ab475f9
-0, 1566000, 34944, 0x536f73aa
-0, 1572000, 34944, 0x86cb71e5
-0, 1578000, 34944, 0x17157186
-0, 1584000, 34944, 0xe33671a4
-0, 1590000, 34944, 0xe33671a4
-0, 1596000, 34944, 0xe33671a4
-0, 1602000, 34944, 0xe33671a4
-0, 1608000, 34944, 0xe33671a4
-0, 1614000, 34944, 0xe33671a4
-0, 1620000, 34944, 0xe33671a4
-0, 1626000, 34944, 0xe33671a4
-0, 1632000, 34944, 0xe33671a4
-0, 1638000, 34944, 0xe33671a4
-0, 1644000, 34944, 0xe33671a4
-0, 1650000, 34944, 0xe33671a4
-0, 1656000, 34944, 0xe33671a4
-0, 1662000, 34944, 0xe33671a4
+#tb 0: 1/15
+0, 0, 0, 1, 34944, 0xe33671a4
+0, 1, 1, 1, 34944, 0xe33671a4
+0, 2, 2, 1, 34944, 0xe33671a4
+0, 3, 3, 1, 34944, 0xe33671a4
+0, 4, 4, 1, 34944, 0xe33671a4
+0, 5, 5, 1, 34944, 0xe33671a4
+0, 6, 6, 1, 34944, 0xe33671a4
+0, 7, 7, 1, 34944, 0xe33671a4
+0, 8, 8, 1, 34944, 0xe33671a4
+0, 9, 9, 1, 34944, 0xe33671a4
+0, 10, 10, 1, 34944, 0xe33671a4
+0, 11, 11, 1, 34944, 0xe33671a4
+0, 12, 12, 1, 34944, 0xe33671a4
+0, 13, 13, 1, 34944, 0xe33671a4
+0, 14, 14, 1, 34944, 0xe33671a4
+0, 15, 15, 1, 34944, 0x63196b41
+0, 16, 16, 1, 34944, 0x308d6f10
+0, 17, 17, 1, 34944, 0x86026ced
+0, 18, 18, 1, 34944, 0xaa6a6bc9
+0, 19, 19, 1, 34944, 0x58276ee3
+0, 20, 20, 1, 34944, 0x402d70c2
+0, 21, 21, 1, 34944, 0x948d74bf
+0, 22, 22, 1, 34944, 0x3d31759c
+0, 23, 23, 1, 34944, 0x638c734e
+0, 24, 24, 1, 34944, 0xe218768a
+0, 25, 25, 1, 34944, 0xed6678ff
+0, 26, 26, 1, 34944, 0x381b7dda
+0, 27, 27, 1, 34944, 0x216680e7
+0, 28, 28, 1, 34944, 0xaca5810f
+0, 29, 29, 1, 34944, 0xf70b81eb
+0, 30, 30, 1, 34944, 0x3675858b
+0, 31, 31, 1, 34944, 0xa51188c3
+0, 32, 32, 1, 34944, 0x3a848bf1
+0, 33, 33, 1, 34944, 0x67608d4d
+0, 34, 34, 1, 34944, 0xafe49165
+0, 35, 35, 1, 34944, 0x7e8a94a7
+0, 36, 36, 1, 34944, 0x3b889432
+0, 37, 37, 1, 34944, 0x97e89623
+0, 38, 38, 1, 34944, 0x07819793
+0, 39, 39, 1, 34944, 0xdac39b87
+0, 40, 40, 1, 34944, 0x4d8c9d93
+0, 41, 41, 1, 34944, 0xcf009fa7
+0, 42, 42, 1, 34944, 0x2f109f6e
+0, 43, 43, 1, 34944, 0xcedda4eb
+0, 44, 44, 1, 34944, 0xfe89a6df
+0, 45, 45, 1, 34944, 0x195ea7a9
+0, 46, 46, 1, 34944, 0x9287ab92
+0, 47, 47, 1, 34944, 0x6d21af54
+0, 48, 48, 1, 34944, 0xd627b28b
+0, 49, 49, 1, 34944, 0x3ad5b6fd
+0, 50, 50, 1, 34944, 0x5101b64d
+0, 51, 51, 1, 34944, 0xb968b8ca
+0, 52, 52, 1, 34944, 0xa105b74a
+0, 53, 53, 1, 34944, 0xc056bdd6
+0, 54, 54, 1, 34944, 0xec7fc1d9
+0, 55, 55, 1, 34944, 0x92c3c3e0
+0, 56, 56, 1, 34944, 0x9bffc45c
+0, 57, 57, 1, 34944, 0x5aabca4b
+0, 58, 58, 1, 34944, 0xcbdacb26
+0, 59, 59, 1, 34944, 0xed6cce3f
+0, 60, 60, 1, 34944, 0xcc61cfb8
+0, 61, 61, 1, 34944, 0x7a97d427
+0, 62, 62, 1, 34944, 0x7cdbd5ec
+0, 63, 63, 1, 34944, 0x5851d9c4
+0, 64, 64, 1, 34944, 0x69d5dd1d
+0, 65, 65, 1, 34944, 0xdf30dcf4
+0, 66, 66, 1, 34944, 0x2359e084
+0, 67, 67, 1, 34944, 0xe0bae491
+0, 68, 68, 1, 34944, 0xa716e4fd
+0, 69, 69, 1, 34944, 0xe48aeaf4
+0, 70, 70, 1, 34944, 0x0a0deb21
+0, 71, 71, 1, 34944, 0xe8a56e12
+0, 72, 72, 1, 34944, 0x0d72c98e
+0, 73, 73, 1, 34944, 0x71a7bb9d
+0, 74, 74, 1, 34944, 0xc0c8c108
+0, 75, 75, 1, 34944, 0x1d1fc3ba
+0, 76, 76, 1, 34944, 0xebcfc67f
+0, 77, 77, 1, 34944, 0x2921cb5b
+0, 78, 78, 1, 34944, 0x793ed099
+0, 79, 79, 1, 34944, 0xefebd9e8
+0, 80, 80, 1, 34944, 0x163c2330
+0, 81, 81, 1, 34944, 0x35155672
+0, 82, 82, 1, 34944, 0x05474e2e
+0, 83, 83, 1, 34944, 0x9433542f
+0, 84, 84, 1, 34944, 0x777d5a13
+0, 85, 85, 1, 34944, 0x87526776
+0, 86, 86, 1, 34944, 0x4c3c72c1
+0, 87, 87, 1, 34944, 0x70407b87
+0, 88, 88, 1, 34944, 0x2358861d
+0, 89, 89, 1, 34944, 0xec61923f
+0, 90, 90, 1, 34944, 0x0bb2a0d4
+0, 91, 91, 1, 34944, 0x6b6d8624
+0, 92, 92, 1, 34944, 0x624761ec
+0, 93, 93, 1, 34944, 0xff23b926
+0, 94, 94, 1, 34944, 0x07fc7ca5
+0, 95, 95, 1, 34944, 0xa8d3ffda
+0, 96, 96, 1, 34944, 0xa2d31265
+0, 97, 97, 1, 34944, 0x5e58225e
+0, 98, 98, 1, 34944, 0x284b2fb0
+0, 99, 99, 1, 34944, 0x205b3cb1
+0, 100, 100, 1, 34944, 0x3fa64a09
+0, 101, 101, 1, 34944, 0xa5de5097
+0, 102, 102, 1, 34944, 0x00686cea
+0, 103, 103, 1, 34944, 0x465a8282
+0, 104, 104, 1, 34944, 0x4ceb8189
+0, 105, 105, 1, 34944, 0x14698509
+0, 106, 106, 1, 34944, 0x232c830d
+0, 107, 107, 1, 34944, 0x0739807c
+0, 108, 108, 1, 34944, 0x83b0861e
+0, 109, 109, 1, 34944, 0xbdc094b1
+0, 110, 110, 1, 34944, 0xc4c0a605
+0, 111, 111, 1, 34944, 0x8376b059
+0, 112, 112, 1, 34944, 0x2035b939
+0, 113, 113, 1, 34944, 0xb6bfc812
+0, 114, 114, 1, 34944, 0xc5d4d5c4
+0, 115, 115, 1, 34944, 0x492c954e
+0, 116, 116, 1, 34944, 0xd23f0dcc
+0, 117, 117, 1, 34944, 0x22d7ff6c
+0, 118, 118, 1, 34944, 0xd08b4168
+0, 119, 119, 1, 34944, 0xa82e4062
+0, 120, 120, 1, 34944, 0xcc4f2f31
+0, 121, 121, 1, 34944, 0x964b0307
+0, 122, 122, 1, 34944, 0xe8130606
+0, 123, 123, 1, 34944, 0x5fb744bf
+0, 124, 124, 1, 34944, 0x1546a88b
+0, 125, 125, 1, 34944, 0xe6e4d94d
+0, 126, 126, 1, 34944, 0x8d1ea97e
+0, 127, 127, 1, 34944, 0x3bb1fb55
+0, 128, 128, 1, 34944, 0x3c37e9cc
+0, 129, 129, 1, 34944, 0xe2d22521
+0, 130, 130, 1, 34944, 0x7c0ec8cc
+0, 131, 131, 1, 34944, 0x7c2dc956
+0, 132, 132, 1, 34944, 0x7fe3c263
+0, 133, 133, 1, 34944, 0x9a65b813
+0, 134, 134, 1, 34944, 0x7ea7cb14
+0, 135, 135, 1, 34944, 0x31ded64e
+0, 136, 136, 1, 34944, 0x50f30ad1
+0, 137, 137, 1, 34944, 0x12eac45c
+0, 138, 138, 1, 34944, 0x984b6335
+0, 139, 139, 1, 34944, 0x3b9b02f0
+0, 140, 140, 1, 34944, 0x4629d2a4
+0, 141, 141, 1, 34944, 0x38687e89
+0, 142, 142, 1, 34944, 0xb76620fe
+0, 143, 143, 1, 34944, 0x66347155
+0, 144, 144, 1, 34944, 0x6e6bc297
+0, 145, 145, 1, 34944, 0x452a653a
+0, 146, 146, 1, 34944, 0x8c8a0683
+0, 147, 147, 1, 34944, 0xaf5d7c2d
+0, 148, 148, 1, 34944, 0x3064a7e1
+0, 149, 149, 1, 34944, 0xc0657fc4
+0, 150, 150, 1, 34944, 0x1f129266
+0, 151, 151, 1, 34944, 0x35adedfb
+0, 152, 152, 1, 34944, 0x40a3db0d
+0, 153, 153, 1, 34944, 0x87bebb37
+0, 154, 154, 1, 34944, 0x04d7ffed
+0, 155, 155, 1, 34944, 0x9bde3180
+0, 156, 156, 1, 34944, 0xc35c25bd
+0, 157, 157, 1, 34944, 0x820bf4bb
+0, 158, 158, 1, 34944, 0x876163ef
+0, 159, 159, 1, 34944, 0x3ab6dac0
+0, 160, 160, 1, 34944, 0x69a9ef73
+0, 161, 161, 1, 34944, 0x0df3813c
+0, 162, 162, 1, 34944, 0x1bba0947
+0, 163, 163, 1, 34944, 0x0b7883d4
+0, 164, 164, 1, 34944, 0xa9972f7e
+0, 165, 165, 1, 34944, 0x603d08fe
+0, 166, 166, 1, 34944, 0x05f4f111
+0, 167, 167, 1, 34944, 0xb24fdb42
+0, 168, 168, 1, 34944, 0xfe2ad344
+0, 169, 169, 1, 34944, 0xda4bcb8f
+0, 170, 170, 1, 34944, 0xd28aca6b
+0, 171, 171, 1, 34944, 0x9486c260
+0, 172, 172, 1, 34944, 0xad9fc04d
+0, 173, 173, 1, 34944, 0x9333c0ca
+0, 174, 174, 1, 34944, 0x96e9c226
+0, 175, 175, 1, 34944, 0x3e89bd6f
+0, 176, 176, 1, 34944, 0x7a2dbd32
+0, 177, 177, 1, 34944, 0xe578ba53
+0, 178, 178, 1, 34944, 0xb77ebab1
+0, 179, 179, 1, 34944, 0xd8bfbcb1
+0, 180, 180, 1, 34944, 0x15d9bc97
+0, 181, 181, 1, 34944, 0x09c3b9f0
+0, 182, 182, 1, 34944, 0xd8c8b944
+0, 183, 183, 1, 34944, 0x2c2fb996
+0, 184, 184, 1, 34944, 0xd7a8b7e7
+0, 185, 185, 1, 34944, 0xce34b843
+0, 186, 186, 1, 34944, 0xba69e9fd
+0, 187, 187, 1, 34944, 0x1b3f1adc
+0, 188, 188, 1, 34944, 0x48f515aa
+0, 189, 189, 1, 34944, 0x864e12bb
+0, 190, 190, 1, 34944, 0xca571996
+0, 191, 191, 1, 34944, 0x1d5a1af0
+0, 192, 192, 1, 34944, 0x3d1e171f
+0, 193, 193, 1, 34944, 0xb57417ca
+0, 194, 194, 1, 34944, 0x6e6d1e9d
+0, 195, 195, 1, 34944, 0xc9971899
+0, 196, 196, 1, 34944, 0xe0b112c8
+0, 197, 197, 1, 34944, 0x121b0cd9
+0, 198, 198, 1, 34944, 0x418e0eff
+0, 199, 199, 1, 34944, 0x9e1b07d8
+0, 200, 200, 1, 34944, 0x5590064a
+0, 201, 201, 1, 34944, 0x7a170b14
+0, 202, 202, 1, 34944, 0xf25709f0
+0, 203, 203, 1, 34944, 0x94fa099a
+0, 204, 204, 1, 34944, 0x081e06ae
+0, 205, 205, 1, 34944, 0xcfc40417
+0, 206, 206, 1, 34944, 0xed33096f
+0, 207, 207, 1, 34944, 0xd73a07e2
+0, 208, 208, 1, 34944, 0xc512077d
+0, 209, 209, 1, 34944, 0x27d7021d
+0, 210, 210, 1, 34944, 0xab59fd20
+0, 211, 211, 1, 34944, 0xcc2400b7
+0, 212, 212, 1, 34944, 0xcb3bfb99
+0, 213, 213, 1, 34944, 0x0974fb1a
+0, 214, 214, 1, 34944, 0xef79f8ba
+0, 215, 215, 1, 34944, 0xf932f3a2
+0, 216, 216, 1, 34944, 0xa32df1bc
+0, 217, 217, 1, 34944, 0xdbe0f532
+0, 218, 218, 1, 34944, 0x234cf142
+0, 219, 219, 1, 34944, 0xe68befd0
+0, 220, 220, 1, 34944, 0xe4e7ee45
+0, 221, 221, 1, 34944, 0x0283eff1
+0, 222, 222, 1, 34944, 0xc8d3f6db
+0, 223, 223, 1, 34944, 0x0aa6ee88
+0, 224, 224, 1, 34944, 0xcc3de527
+0, 225, 225, 1, 34944, 0x9db0ebef
+0, 226, 226, 1, 34944, 0xa207e9db
+0, 227, 227, 1, 34944, 0x35b3e74a
+0, 228, 228, 1, 34944, 0x1988e848
+0, 229, 229, 1, 34944, 0x727de73c
+0, 230, 230, 1, 34944, 0x05d5e709
+0, 231, 231, 1, 34944, 0x3214e4b2
+0, 232, 232, 1, 34944, 0xed85e0a9
+0, 233, 233, 1, 34944, 0xf6c9e100
+0, 234, 234, 1, 34944, 0x57a8dbaf
+0, 235, 235, 1, 34944, 0xc75fdf41
+0, 236, 236, 1, 34944, 0x736fde24
+0, 237, 237, 1, 34944, 0x8d4bde80
+0, 238, 238, 1, 34944, 0x3220dc86
+0, 239, 239, 1, 34944, 0xe498da85
+0, 240, 240, 1, 34944, 0x0655daed
+0, 241, 241, 1, 34944, 0xb22ad874
+0, 242, 242, 1, 34944, 0x8198d411
+0, 243, 243, 1, 34944, 0xd0d2d557
+0, 244, 244, 1, 34944, 0xd740d1ff
+0, 245, 245, 1, 34944, 0x2783d00e
+0, 246, 246, 1, 34944, 0x7abdcd6b
+0, 247, 247, 1, 34944, 0x2e47d1eb
+0, 248, 248, 1, 34944, 0xfe1bcf60
+0, 249, 249, 1, 34944, 0xf0f0d5bb
+0, 250, 250, 1, 34944, 0x9af7d581
+0, 251, 251, 1, 34944, 0xb325ca3d
+0, 252, 252, 1, 34944, 0xd88abfbd
+0, 253, 253, 1, 34944, 0xf2bab746
+0, 254, 254, 1, 34944, 0xac44a7dd
+0, 255, 255, 1, 34944, 0x609e9ea3
+0, 256, 256, 1, 34944, 0xa39993b9
+0, 257, 257, 1, 34944, 0x9c948911
+0, 258, 258, 1, 34944, 0x72f8822d
+0, 259, 259, 1, 34944, 0x7f3f7a8c
+0, 260, 260, 1, 34944, 0x7ab475f9
+0, 261, 261, 1, 34944, 0x536f73aa
+0, 262, 262, 1, 34944, 0x86cb71e5
+0, 263, 263, 1, 34944, 0x17157186
+0, 264, 264, 1, 34944, 0xe33671a4
+0, 265, 265, 1, 34944, 0xe33671a4
+0, 266, 266, 1, 34944, 0xe33671a4
+0, 267, 267, 1, 34944, 0xe33671a4
+0, 268, 268, 1, 34944, 0xe33671a4
+0, 269, 269, 1, 34944, 0xe33671a4
+0, 270, 270, 1, 34944, 0xe33671a4
+0, 271, 271, 1, 34944, 0xe33671a4
+0, 272, 272, 1, 34944, 0xe33671a4
+0, 273, 273, 1, 34944, 0xe33671a4
+0, 274, 274, 1, 34944, 0xe33671a4
+0, 275, 275, 1, 34944, 0xe33671a4
+0, 276, 276, 1, 34944, 0xe33671a4
+0, 277, 277, 1, 34944, 0xe33671a4
diff --git a/tests/ref/fate/ea-tgv-ima-ea-eacs b/tests/ref/fate/ea-tgv-ima-ea-eacs
index de73eefca4..1814e3ce83 100644
--- a/tests/ref/fate/ea-tgv-ima-ea-eacs
+++ b/tests/ref/fate/ea-tgv-ima-ea-eacs
@@ -1,94 +1,96 @@
-0, 0, 230400, 0xfbf2581e
-1, 0, 5872, 0x00000000
-1, 5992, 5872, 0x00000000
-0, 6000, 230400, 0xfbf2581e
-1, 11984, 5872, 0x00000000
-0, 12000, 230400, 0xfbf2581e
-1, 17976, 5872, 0x00000000
-0, 18000, 230400, 0xfbf2581e
-1, 23967, 5872, 0x00000000
-0, 24000, 230400, 0xfbf2581e
-1, 29959, 5872, 0x00000000
-0, 30000, 230400, 0xfbf2581e
-1, 35951, 5872, 0x00000000
-0, 36000, 230400, 0xfbf2581e
-1, 41943, 5872, 0x00000000
-0, 42000, 230400, 0xfbf2581e
-1, 47935, 5872, 0x00000000
-0, 48000, 230400, 0xfbf2581e
-1, 53927, 5872, 0x00000000
-0, 54000, 230400, 0xfbf2581e
-1, 59918, 5872, 0x00000000
-0, 60000, 230400, 0xfbf2581e
-1, 65910, 5872, 0x00000000
-0, 66000, 230400, 0xfbf2581e
-1, 71902, 5872, 0x00000000
-0, 72000, 230400, 0xfbf2581e
-1, 77894, 5872, 0x00000000
-0, 78000, 230400, 0xfbf2581e
-1, 83886, 5872, 0x00000000
-0, 84000, 230400, 0xfbf2581e
-1, 89878, 5872, 0xc6f64777
-0, 90000, 230400, 0xf5a0a21d
-1, 95869, 5872, 0x7c9e60e8
-0, 96000, 230400, 0x909cc039
-1, 101861, 5872, 0x46525c54
-0, 102000, 230400, 0x14d899dd
-1, 107853, 5872, 0x842796bb
-0, 108000, 230400, 0x0d246edf
-1, 113845, 5872, 0xb1f6cbd5
-0, 114000, 230400, 0x5345fe0d
-1, 119837, 5872, 0x0261a74b
-0, 120000, 230400, 0x5abdff9a
-1, 125829, 5872, 0x8218b1f9
-0, 126000, 230400, 0x1730d973
-1, 131820, 5872, 0xd7a2cae6
-0, 132000, 230400, 0xec881be9
-1, 137812, 5872, 0x69d34562
-0, 138000, 230400, 0xf4216895
-1, 143804, 5872, 0x9303ec65
-0, 144000, 230400, 0x529d7a52
-1, 149796, 5872, 0xd5d963a1
-0, 150000, 230400, 0x93b4c7b9
-1, 155788, 5872, 0x0557e06f
-0, 156000, 230400, 0xedc65bcd
-1, 161780, 5872, 0x1eb48b41
-0, 162000, 230400, 0xf0fb54ae
-1, 167771, 5872, 0x70f5ca3f
-0, 168000, 230400, 0x27864ce9
-1, 173763, 5872, 0xd39e5c5e
-0, 174000, 230400, 0xcd05012d
-1, 179755, 5872, 0x29c59140
-0, 180000, 230400, 0x019b6d84
-1, 185747, 5872, 0x7d95e643
-0, 186000, 230400, 0xcc05d416
-1, 191739, 5872, 0x45353fd8
-0, 192000, 230400, 0xb04c0248
-1, 197731, 5872, 0xad7b1b27
-0, 198000, 230400, 0x6806eb92
-1, 203722, 5872, 0x1f0377b3
-0, 204000, 230400, 0x60e9c001
-1, 209714, 5872, 0x6074541e
-0, 210000, 230400, 0x9b040261
-1, 215706, 5872, 0xa4f5e892
-0, 216000, 230400, 0x6961fb90
-1, 221698, 5872, 0x084bc696
-0, 222000, 230400, 0xbf67ad24
-1, 227690, 5872, 0x67fdafce
-0, 228000, 230400, 0x2270f328
-1, 233682, 5872, 0x8dfd249d
-0, 234000, 230400, 0xd0c345f6
-1, 239673, 5872, 0x514184ee
-0, 240000, 230400, 0xfd159212
-1, 245665, 5872, 0xc0090b0d
-0, 246000, 230400, 0x085578ff
-1, 251657, 5872, 0xc1171cc8
-0, 252000, 230400, 0xcca8afa6
-1, 257649, 5872, 0x7d7dd07e
-0, 258000, 230400, 0x901ec91c
-1, 263641, 5872, 0xe6aa619c
-0, 264000, 230400, 0xf1cb99f3
-1, 269633, 5872, 0xd5aac0df
-0, 270000, 230400, 0x86d98f0c
-1, 275624, 5872, 0x3b68b390
-0, 276000, 230400, 0x52970700
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 230400, 0xfbf2581e
+1, 0, 0, 1468, 5872, 0x00000000
+1, 1468, 1468, 1468, 5872, 0x00000000
+0, 1, 1, 1, 230400, 0xfbf2581e
+1, 2936, 2936, 1468, 5872, 0x00000000
+0, 2, 2, 1, 230400, 0xfbf2581e
+1, 4404, 4404, 1468, 5872, 0x00000000
+0, 3, 3, 1, 230400, 0xfbf2581e
+1, 5872, 5872, 1468, 5872, 0x00000000
+0, 4, 4, 1, 230400, 0xfbf2581e
+1, 7340, 7340, 1468, 5872, 0x00000000
+0, 5, 5, 1, 230400, 0xfbf2581e
+1, 8808, 8808, 1468, 5872, 0x00000000
+0, 6, 6, 1, 230400, 0xfbf2581e
+1, 10276, 10276, 1468, 5872, 0x00000000
+0, 7, 7, 1, 230400, 0xfbf2581e
+1, 11744, 11744, 1468, 5872, 0x00000000
+0, 8, 8, 1, 230400, 0xfbf2581e
+1, 13212, 13212, 1468, 5872, 0x00000000
+0, 9, 9, 1, 230400, 0xfbf2581e
+1, 14680, 14680, 1468, 5872, 0x00000000
+0, 10, 10, 1, 230400, 0xfbf2581e
+1, 16148, 16148, 1468, 5872, 0x00000000
+0, 11, 11, 1, 230400, 0xfbf2581e
+1, 17616, 17616, 1468, 5872, 0x00000000
+0, 12, 12, 1, 230400, 0xfbf2581e
+1, 19084, 19084, 1468, 5872, 0x00000000
+0, 13, 13, 1, 230400, 0xfbf2581e
+1, 20552, 20552, 1468, 5872, 0x00000000
+0, 14, 14, 1, 230400, 0xfbf2581e
+1, 22020, 22020, 1468, 5872, 0xc6f64777
+0, 15, 15, 1, 230400, 0xf5a0a21d
+1, 23488, 23488, 1468, 5872, 0x7c9e60e8
+0, 16, 16, 1, 230400, 0x909cc039
+1, 24956, 24956, 1468, 5872, 0x46525c54
+0, 17, 17, 1, 230400, 0x14d899dd
+1, 26424, 26424, 1468, 5872, 0x842796bb
+0, 18, 18, 1, 230400, 0x0d246edf
+1, 27892, 27892, 1468, 5872, 0xb1f6cbd5
+0, 19, 19, 1, 230400, 0x5345fe0d
+1, 29360, 29360, 1468, 5872, 0x0261a74b
+0, 20, 20, 1, 230400, 0x5abdff9a
+1, 30828, 30828, 1468, 5872, 0x8218b1f9
+0, 21, 21, 1, 230400, 0x1730d973
+1, 32296, 32296, 1468, 5872, 0xd7a2cae6
+0, 22, 22, 1, 230400, 0xec881be9
+1, 33764, 33764, 1468, 5872, 0x69d34562
+0, 23, 23, 1, 230400, 0xf4216895
+1, 35232, 35232, 1468, 5872, 0x9303ec65
+0, 24, 24, 1, 230400, 0x529d7a52
+1, 36700, 36700, 1468, 5872, 0xd5d963a1
+0, 25, 25, 1, 230400, 0x93b4c7b9
+1, 38168, 38168, 1468, 5872, 0x0557e06f
+0, 26, 26, 1, 230400, 0xedc65bcd
+1, 39636, 39636, 1468, 5872, 0x1eb48b41
+0, 27, 27, 1, 230400, 0xf0fb54ae
+1, 41104, 41104, 1468, 5872, 0x70f5ca3f
+0, 28, 28, 1, 230400, 0x27864ce9
+1, 42572, 42572, 1468, 5872, 0xd39e5c5e
+0, 29, 29, 1, 230400, 0xcd05012d
+1, 44040, 44040, 1468, 5872, 0x29c59140
+0, 30, 30, 1, 230400, 0x019b6d84
+1, 45508, 45508, 1468, 5872, 0x7d95e643
+0, 31, 31, 1, 230400, 0xcc05d416
+1, 46976, 46976, 1468, 5872, 0x45353fd8
+0, 32, 32, 1, 230400, 0xb04c0248
+1, 48444, 48444, 1468, 5872, 0xad7b1b27
+0, 33, 33, 1, 230400, 0x6806eb92
+1, 49912, 49912, 1468, 5872, 0x1f0377b3
+0, 34, 34, 1, 230400, 0x60e9c001
+1, 51380, 51380, 1468, 5872, 0x6074541e
+0, 35, 35, 1, 230400, 0x9b040261
+1, 52848, 52848, 1468, 5872, 0xa4f5e892
+0, 36, 36, 1, 230400, 0x6961fb90
+1, 54316, 54316, 1468, 5872, 0x084bc696
+0, 37, 37, 1, 230400, 0xbf67ad24
+1, 55784, 55784, 1468, 5872, 0x67fdafce
+0, 38, 38, 1, 230400, 0x2270f328
+1, 57252, 57252, 1468, 5872, 0x8dfd249d
+0, 39, 39, 1, 230400, 0xd0c345f6
+1, 58720, 58720, 1468, 5872, 0x514184ee
+0, 40, 40, 1, 230400, 0xfd159212
+1, 60188, 60188, 1468, 5872, 0xc0090b0d
+0, 41, 41, 1, 230400, 0x085578ff
+1, 61656, 61656, 1468, 5872, 0xc1171cc8
+0, 42, 42, 1, 230400, 0xcca8afa6
+1, 63124, 63124, 1468, 5872, 0x7d7dd07e
+0, 43, 43, 1, 230400, 0x901ec91c
+1, 64592, 64592, 1468, 5872, 0xe6aa619c
+0, 44, 44, 1, 230400, 0xf1cb99f3
+1, 66060, 66060, 1468, 5872, 0xd5aac0df
+0, 45, 45, 1, 230400, 0x86d98f0c
+1, 67528, 67528, 1468, 5872, 0x3b68b390
+0, 46, 46, 1, 230400, 0x52970700
diff --git a/tests/ref/fate/ea-tgv-ima-ea-sead b/tests/ref/fate/ea-tgv-ima-ea-sead
index bfa84194c2..bfc9cb58fe 100644
--- a/tests/ref/fate/ea-tgv-ima-ea-sead
+++ b/tests/ref/fate/ea-tgv-ima-ea-sead
@@ -1,87 +1,89 @@
-0, 0, 192000, 0xdfc2f225
-1, 0, 2944, 0x00000000
-1, 3004, 5888, 0x5ae3c2a4
-0, 6000, 192000, 0x059b57bd
-1, 9012, 5888, 0x158fbcb4
-0, 12000, 192000, 0x766cb086
-1, 15020, 5888, 0x3fc85d35
-0, 18000, 192000, 0x459e3bac
-1, 21029, 5888, 0x4667ec2b
-0, 24000, 192000, 0x5293e622
-1, 27037, 5888, 0x82744494
-0, 30000, 192000, 0x898b03f4
-1, 33045, 5888, 0x3b0cb86f
-0, 36000, 192000, 0xb184a627
-1, 39053, 5888, 0x29493fbb
-0, 42000, 192000, 0xa3fc650a
-1, 45061, 5888, 0xaa2d8595
-0, 48000, 192000, 0xea448589
-1, 51069, 5888, 0x2e563de6
-0, 54000, 192000, 0x700e2b76
-1, 57078, 5888, 0x225cca99
-0, 60000, 192000, 0xa1a1d66d
-1, 63086, 5888, 0x2b577599
-0, 66000, 192000, 0xd63bc8a1
-1, 69094, 5888, 0x3d967f32
-0, 72000, 192000, 0x5f08c023
-1, 75102, 5888, 0x16639a84
-0, 78000, 192000, 0x8b75ec3b
-1, 81110, 5888, 0x90549ba0
-0, 84000, 192000, 0x62728ce4
-1, 87118, 5888, 0xf46e6644
-0, 90000, 192000, 0xaa007941
-1, 93127, 5888, 0x39a073ec
-0, 96000, 192000, 0x55dc5b3b
-1, 99135, 5888, 0xb1d7a93a
-0, 102000, 192000, 0x72d836c2
-1, 105143, 5888, 0x25e9795b
-0, 108000, 192000, 0x1f2de2fc
-1, 111151, 5888, 0xbbc07644
-0, 114000, 192000, 0xb295dfdb
-1, 117159, 5888, 0x323f6a1b
-0, 120000, 192000, 0xe5c5f634
-1, 123167, 5888, 0x7cae130b
-0, 126000, 192000, 0x455a0464
-1, 129176, 5888, 0xd23bf9c6
-0, 132000, 192000, 0x3bf2340d
-1, 135184, 5888, 0x5f73ef35
-0, 138000, 192000, 0xe368f0fc
-1, 141192, 5888, 0xc66026be
-0, 144000, 192000, 0xfa7549c0
-1, 147200, 5888, 0xc8fdb539
-0, 150000, 192000, 0x4dd76f3d
-1, 153208, 5888, 0x94c6bfbd
-0, 156000, 192000, 0x50a49f6c
-1, 159216, 5888, 0xb77e1b83
-0, 162000, 192000, 0xb6072f65
-1, 165224, 5888, 0x6c6d6693
-0, 168000, 192000, 0x093ce1a8
-1, 171233, 5888, 0xd9f064d4
-0, 174000, 192000, 0x55afe3db
-1, 177241, 5888, 0x85dd990d
-0, 180000, 192000, 0x81c3bfab
-1, 183249, 5888, 0x385e021b
-0, 186000, 192000, 0x583ebd3d
-1, 189257, 5888, 0xac09fd02
-0, 192000, 192000, 0x2504f003
-1, 195265, 5888, 0xc6dcdff2
-0, 198000, 192000, 0x44ade2af
-1, 201273, 5888, 0x86a6944d
-0, 204000, 192000, 0x77cbcfd8
-1, 207282, 5888, 0x8587b964
-0, 210000, 192000, 0xac7ddfa1
-1, 213290, 5888, 0x2b0355ff
-0, 216000, 192000, 0x79f7cfe8
-1, 219298, 5888, 0xe4148a85
-0, 222000, 192000, 0xdf2898fd
-1, 225306, 5888, 0xdf02ed4f
-1, 231314, 5888, 0x87a54b15
-1, 237322, 5888, 0x3ad2be45
-1, 243331, 5888, 0x3a49c2c3
-1, 249339, 5888, 0xc2b66404
-1, 255347, 5888, 0xac3e234a
-1, 261355, 5888, 0x5dcf523b
-1, 267363, 5888, 0x2034b5d6
-1, 273371, 5888, 0x96882832
-1, 279380, 5888, 0x2be3d534
-1, 285388, 5888, 0xa841a49d
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 192000, 0xdfc2f225
+1, 0, 0, 736, 2944, 0x00000000
+1, 736, 736, 1472, 5888, 0x5ae3c2a4
+0, 1, 1, 1, 192000, 0x059b57bd
+1, 2208, 2208, 1472, 5888, 0x158fbcb4
+0, 2, 2, 1, 192000, 0x766cb086
+1, 3680, 3680, 1472, 5888, 0x3fc85d35
+0, 3, 3, 1, 192000, 0x459e3bac
+1, 5152, 5152, 1472, 5888, 0x4667ec2b
+0, 4, 4, 1, 192000, 0x5293e622
+1, 6624, 6624, 1472, 5888, 0x82744494
+0, 5, 5, 1, 192000, 0x898b03f4
+1, 8096, 8096, 1472, 5888, 0x3b0cb86f
+0, 6, 6, 1, 192000, 0xb184a627
+1, 9568, 9568, 1472, 5888, 0x29493fbb
+0, 7, 7, 1, 192000, 0xa3fc650a
+1, 11040, 11040, 1472, 5888, 0xaa2d8595
+0, 8, 8, 1, 192000, 0xea448589
+1, 12512, 12512, 1472, 5888, 0x2e563de6
+0, 9, 9, 1, 192000, 0x700e2b76
+1, 13984, 13984, 1472, 5888, 0x225cca99
+0, 10, 10, 1, 192000, 0xa1a1d66d
+1, 15456, 15456, 1472, 5888, 0x2b577599
+0, 11, 11, 1, 192000, 0xd63bc8a1
+1, 16928, 16928, 1472, 5888, 0x3d967f32
+0, 12, 12, 1, 192000, 0x5f08c023
+1, 18400, 18400, 1472, 5888, 0x16639a84
+0, 13, 13, 1, 192000, 0x8b75ec3b
+1, 19872, 19872, 1472, 5888, 0x90549ba0
+0, 14, 14, 1, 192000, 0x62728ce4
+1, 21344, 21344, 1472, 5888, 0xf46e6644
+0, 15, 15, 1, 192000, 0xaa007941
+1, 22816, 22816, 1472, 5888, 0x39a073ec
+0, 16, 16, 1, 192000, 0x55dc5b3b
+1, 24288, 24288, 1472, 5888, 0xb1d7a93a
+0, 17, 17, 1, 192000, 0x72d836c2
+1, 25760, 25760, 1472, 5888, 0x25e9795b
+0, 18, 18, 1, 192000, 0x1f2de2fc
+1, 27232, 27232, 1472, 5888, 0xbbc07644
+0, 19, 19, 1, 192000, 0xb295dfdb
+1, 28704, 28704, 1472, 5888, 0x323f6a1b
+0, 20, 20, 1, 192000, 0xe5c5f634
+1, 30176, 30176, 1472, 5888, 0x7cae130b
+0, 21, 21, 1, 192000, 0x455a0464
+1, 31648, 31648, 1472, 5888, 0xd23bf9c6
+0, 22, 22, 1, 192000, 0x3bf2340d
+1, 33120, 33120, 1472, 5888, 0x5f73ef35
+0, 23, 23, 1, 192000, 0xe368f0fc
+1, 34592, 34592, 1472, 5888, 0xc66026be
+0, 24, 24, 1, 192000, 0xfa7549c0
+1, 36064, 36064, 1472, 5888, 0xc8fdb539
+0, 25, 25, 1, 192000, 0x4dd76f3d
+1, 37536, 37536, 1472, 5888, 0x94c6bfbd
+0, 26, 26, 1, 192000, 0x50a49f6c
+1, 39008, 39008, 1472, 5888, 0xb77e1b83
+0, 27, 27, 1, 192000, 0xb6072f65
+1, 40480, 40480, 1472, 5888, 0x6c6d6693
+0, 28, 28, 1, 192000, 0x093ce1a8
+1, 41952, 41952, 1472, 5888, 0xd9f064d4
+0, 29, 29, 1, 192000, 0x55afe3db
+1, 43424, 43424, 1472, 5888, 0x85dd990d
+0, 30, 30, 1, 192000, 0x81c3bfab
+1, 44896, 44896, 1472, 5888, 0x385e021b
+0, 31, 31, 1, 192000, 0x583ebd3d
+1, 46368, 46368, 1472, 5888, 0xac09fd02
+0, 32, 32, 1, 192000, 0x2504f003
+1, 47840, 47840, 1472, 5888, 0xc6dcdff2
+0, 33, 33, 1, 192000, 0x44ade2af
+1, 49312, 49312, 1472, 5888, 0x86a6944d
+0, 34, 34, 1, 192000, 0x77cbcfd8
+1, 50784, 50784, 1472, 5888, 0x8587b964
+0, 35, 35, 1, 192000, 0xac7ddfa1
+1, 52256, 52256, 1472, 5888, 0x2b0355ff
+0, 36, 36, 1, 192000, 0x79f7cfe8
+1, 53728, 53728, 1472, 5888, 0xe4148a85
+0, 37, 37, 1, 192000, 0xdf2898fd
+1, 55200, 55200, 1472, 5888, 0xdf02ed4f
+1, 56672, 56672, 1472, 5888, 0x87a54b15
+1, 58144, 58144, 1472, 5888, 0x3ad2be45
+1, 59616, 59616, 1472, 5888, 0x3a49c2c3
+1, 61088, 61088, 1472, 5888, 0xc2b66404
+1, 62560, 62560, 1472, 5888, 0xac3e234a
+1, 64032, 64032, 1472, 5888, 0x5dcf523b
+1, 65504, 65504, 1472, 5888, 0x2034b5d6
+1, 66976, 66976, 1472, 5888, 0x96882832
+1, 68448, 68448, 1472, 5888, 0x2be3d534
+1, 69920, 69920, 1472, 5888, 0xa841a49d
diff --git a/tests/ref/fate/ea-vp60 b/tests/ref/fate/ea-vp60
index b5a70c3a0e..5e4b62c60f 100644
--- a/tests/ref/fate/ea-vp60
+++ b/tests/ref/fate/ea-vp60
@@ -1,133 +1,134 @@
-0, 0, 55296, 0x6a3202a3
-0, 3003, 55296, 0x2af202eb
-0, 6006, 55296, 0xa1a40388
-0, 9009, 55296, 0x61c90426
-0, 12012, 55296, 0x17720594
-0, 15015, 55296, 0x49440805
-0, 18018, 55296, 0x5b2e0d32
-0, 21021, 55296, 0x207891c1
-0, 24024, 55296, 0x502da4cd
-0, 27027, 55296, 0x75a22a75
-0, 30030, 55296, 0xd55099af
-0, 33033, 55296, 0x48778bb6
-0, 36036, 55296, 0xe76b7df7
-0, 39039, 55296, 0x5a049f33
-0, 42042, 55296, 0xc83d9b90
-0, 45045, 55296, 0x567877b8
-0, 48048, 55296, 0x334c7f6e
-0, 51051, 55296, 0x8717945c
-0, 54054, 55296, 0xe432831e
-0, 57057, 55296, 0x032e8d2d
-0, 60060, 55296, 0x37109fd6
-0, 63063, 55296, 0xe9b0b61b
-0, 66066, 55296, 0x7385dae8
-0, 69069, 55296, 0x74b8a9f5
-0, 72072, 55296, 0xbce2e218
-0, 75075, 55296, 0x0ab6c623
-0, 78078, 55296, 0x2234d6d6
-0, 81081, 55296, 0xd18be4d6
-0, 84084, 55296, 0x5247ecc9
-0, 87087, 55296, 0xc89f10ca
-0, 90090, 55296, 0x16181f87
-0, 93093, 55296, 0x893bfa85
-0, 96096, 55296, 0x1fd9f1c0
-0, 99099, 55296, 0xa2e8e6a9
-0, 102102, 55296, 0x1b42dfd5
-0, 105105, 55296, 0x0fa9f509
-0, 108108, 55296, 0x4449c216
-0, 111111, 55296, 0xb66baa36
-0, 114114, 55296, 0x38c19f3b
-0, 117117, 55296, 0xcdce83a0
-0, 120120, 55296, 0xac4ea82b
-0, 123123, 55296, 0xb77a6979
-0, 126126, 55296, 0xc8834ec2
-0, 129129, 55296, 0x181d3f0f
-0, 132132, 55296, 0x2ae04252
-0, 135135, 55296, 0x07633c18
-0, 138138, 55296, 0xdc6a3340
-0, 141141, 55296, 0xa456ebb1
-0, 144144, 55296, 0xbf7de5e2
-0, 147147, 55296, 0x54a1c39b
-0, 150150, 55296, 0x08fc9423
-0, 153153, 55296, 0x926f968a
-0, 156156, 55296, 0x5c908481
-0, 159159, 55296, 0x6b257f16
-0, 162162, 55296, 0xbaf8658a
-0, 165165, 55296, 0x61c957b1
-0, 168168, 55296, 0xa6d181ff
-0, 171171, 55296, 0xef476e69
-0, 174174, 55296, 0x74f72f9a
-0, 177177, 55296, 0x3a9328e9
-0, 180180, 55296, 0xbe962874
-0, 183183, 55296, 0x5f8b58cc
-0, 186186, 55296, 0x1e066d22
-0, 189189, 55296, 0x9ef72b34
-0, 192192, 55296, 0x525c2bb1
-0, 195195, 55296, 0x8e5a20a3
-0, 198198, 55296, 0x1c6723d0
-0, 201201, 55296, 0x2b1023c8
-0, 204204, 55296, 0x8f682691
-0, 207207, 55296, 0x3a0624f5
-0, 210210, 55296, 0xbc1046fb
-0, 213213, 55296, 0x2859470e
-0, 216216, 55296, 0x61d45a12
-0, 219219, 55296, 0xa68853b6
-0, 222222, 55296, 0x36543ce4
-0, 225225, 55296, 0x95b953d4
-0, 228228, 55296, 0x804b3c53
-0, 231231, 55296, 0x743960f6
-0, 234234, 55296, 0x23916b9c
-0, 237237, 55296, 0x8f5a59e3
-0, 240240, 55296, 0xf1285f83
-0, 243243, 55296, 0xde75640f
-0, 246246, 55296, 0xde146188
-0, 249249, 55296, 0xb5315cc9
-0, 252252, 55296, 0xa85f6861
-0, 255255, 55296, 0x4fda562f
-0, 258258, 55296, 0xa0185863
-0, 261261, 55296, 0xe4dc5a5f
-0, 264264, 55296, 0x8a2aabb6
-0, 267267, 55296, 0x3ba89b4f
-0, 270270, 55296, 0x82b07c21
-0, 273273, 55296, 0xb7998478
-0, 276276, 55296, 0xceca8046
-0, 279279, 55296, 0xe652b325
-0, 282282, 55296, 0xc26bb607
-0, 285285, 55296, 0x40c99200
-0, 288288, 55296, 0x61bc9b27
-0, 291291, 55296, 0x1e4baa30
-0, 294294, 55296, 0xd8a7adb0
-0, 297297, 55296, 0x0d0aa8fb
-0, 300300, 55296, 0x1f1ba33c
-0, 303303, 55296, 0xa000a80b
-0, 306306, 55296, 0xb49dd332
-0, 309309, 55296, 0x6b8ac499
-0, 312312, 55296, 0x9636ed15
-0, 315315, 55296, 0xa152f03d
-0, 318318, 55296, 0x47a8cfc7
-0, 321321, 55296, 0x9f94c82a
-0, 324324, 55296, 0xe208d626
-0, 327327, 55296, 0x28cc0616
-0, 330330, 55296, 0xc545179e
-0, 333333, 55296, 0xdf9205af
-0, 336336, 55296, 0x31d6ed99
-0, 339339, 55296, 0x866bf86e
-0, 342342, 55296, 0x0490fbd1
-0, 345345, 55296, 0xe1102987
-0, 348348, 55296, 0x7f860c29
-0, 351351, 55296, 0xc3a91f7a
-0, 354354, 55296, 0x69641a52
-0, 357357, 55296, 0x05b12204
-0, 360360, 55296, 0x715b6206
-0, 363363, 55296, 0xdcf55139
-0, 366366, 55296, 0x1369f746
-0, 369369, 55296, 0xc1533ef5
-0, 372372, 55296, 0xc00ff85f
-0, 375375, 55296, 0x4f5f70dc
-0, 378378, 55296, 0x85720ccc
-0, 381381, 55296, 0xfdff0780
-0, 384384, 55296, 0x57ef04ff
-0, 387387, 55296, 0xbf94041f
-0, 390390, 55296, 0x4cee0392
-0, 393393, 55296, 0x80160314
-0, 396396, 55296, 0x396802af
+#tb 0: 32767/982027
+0, 0, 0, 1, 55296, 0x6a3202a3
+0, 1, 1, 1, 55296, 0x2af202eb
+0, 2, 2, 1, 55296, 0xa1a40388
+0, 3, 3, 1, 55296, 0x61c90426
+0, 4, 4, 1, 55296, 0x17720594
+0, 5, 5, 1, 55296, 0x49440805
+0, 6, 6, 1, 55296, 0x5b2e0d32
+0, 7, 7, 1, 55296, 0x207891c1
+0, 8, 8, 1, 55296, 0x502da4cd
+0, 9, 9, 1, 55296, 0x75a22a75
+0, 10, 10, 1, 55296, 0xd55099af
+0, 11, 11, 1, 55296, 0x48778bb6
+0, 12, 12, 1, 55296, 0xe76b7df7
+0, 13, 13, 1, 55296, 0x5a049f33
+0, 14, 14, 1, 55296, 0xc83d9b90
+0, 15, 15, 1, 55296, 0x567877b8
+0, 16, 16, 1, 55296, 0x334c7f6e
+0, 17, 17, 1, 55296, 0x8717945c
+0, 18, 18, 1, 55296, 0xe432831e
+0, 19, 19, 1, 55296, 0x032e8d2d
+0, 20, 20, 1, 55296, 0x37109fd6
+0, 21, 21, 1, 55296, 0xe9b0b61b
+0, 22, 22, 1, 55296, 0x7385dae8
+0, 23, 23, 1, 55296, 0x74b8a9f5
+0, 24, 24, 1, 55296, 0xbce2e218
+0, 25, 25, 1, 55296, 0x0ab6c623
+0, 26, 26, 1, 55296, 0x2234d6d6
+0, 27, 27, 1, 55296, 0xd18be4d6
+0, 28, 28, 1, 55296, 0x5247ecc9
+0, 29, 29, 1, 55296, 0xc89f10ca
+0, 30, 30, 1, 55296, 0x16181f87
+0, 31, 31, 1, 55296, 0x893bfa85
+0, 32, 32, 1, 55296, 0x1fd9f1c0
+0, 33, 33, 1, 55296, 0xa2e8e6a9
+0, 34, 34, 1, 55296, 0x1b42dfd5
+0, 35, 35, 1, 55296, 0x0fa9f509
+0, 36, 36, 1, 55296, 0x4449c216
+0, 37, 37, 1, 55296, 0xb66baa36
+0, 38, 38, 1, 55296, 0x38c19f3b
+0, 39, 39, 1, 55296, 0xcdce83a0
+0, 40, 40, 1, 55296, 0xac4ea82b
+0, 41, 41, 1, 55296, 0xb77a6979
+0, 42, 42, 1, 55296, 0xc8834ec2
+0, 43, 43, 1, 55296, 0x181d3f0f
+0, 44, 44, 1, 55296, 0x2ae04252
+0, 45, 45, 1, 55296, 0x07633c18
+0, 46, 46, 1, 55296, 0xdc6a3340
+0, 47, 47, 1, 55296, 0xa456ebb1
+0, 48, 48, 1, 55296, 0xbf7de5e2
+0, 49, 49, 1, 55296, 0x54a1c39b
+0, 50, 50, 1, 55296, 0x08fc9423
+0, 51, 51, 1, 55296, 0x926f968a
+0, 52, 52, 1, 55296, 0x5c908481
+0, 53, 53, 1, 55296, 0x6b257f16
+0, 54, 54, 1, 55296, 0xbaf8658a
+0, 55, 55, 1, 55296, 0x61c957b1
+0, 56, 56, 1, 55296, 0xa6d181ff
+0, 57, 57, 1, 55296, 0xef476e69
+0, 58, 58, 1, 55296, 0x74f72f9a
+0, 59, 59, 1, 55296, 0x3a9328e9
+0, 60, 60, 1, 55296, 0xbe962874
+0, 61, 61, 1, 55296, 0x5f8b58cc
+0, 62, 62, 1, 55296, 0x1e066d22
+0, 63, 63, 1, 55296, 0x9ef72b34
+0, 64, 64, 1, 55296, 0x525c2bb1
+0, 65, 65, 1, 55296, 0x8e5a20a3
+0, 66, 66, 1, 55296, 0x1c6723d0
+0, 67, 67, 1, 55296, 0x2b1023c8
+0, 68, 68, 1, 55296, 0x8f682691
+0, 69, 69, 1, 55296, 0x3a0624f5
+0, 70, 70, 1, 55296, 0xbc1046fb
+0, 71, 71, 1, 55296, 0x2859470e
+0, 72, 72, 1, 55296, 0x61d45a12
+0, 73, 73, 1, 55296, 0xa68853b6
+0, 74, 74, 1, 55296, 0x36543ce4
+0, 75, 75, 1, 55296, 0x95b953d4
+0, 76, 76, 1, 55296, 0x804b3c53
+0, 77, 77, 1, 55296, 0x743960f6
+0, 78, 78, 1, 55296, 0x23916b9c
+0, 79, 79, 1, 55296, 0x8f5a59e3
+0, 80, 80, 1, 55296, 0xf1285f83
+0, 81, 81, 1, 55296, 0xde75640f
+0, 82, 82, 1, 55296, 0xde146188
+0, 83, 83, 1, 55296, 0xb5315cc9
+0, 84, 84, 1, 55296, 0xa85f6861
+0, 85, 85, 1, 55296, 0x4fda562f
+0, 86, 86, 1, 55296, 0xa0185863
+0, 87, 87, 1, 55296, 0xe4dc5a5f
+0, 88, 88, 1, 55296, 0x8a2aabb6
+0, 89, 89, 1, 55296, 0x3ba89b4f
+0, 90, 90, 1, 55296, 0x82b07c21
+0, 91, 91, 1, 55296, 0xb7998478
+0, 92, 92, 1, 55296, 0xceca8046
+0, 93, 93, 1, 55296, 0xe652b325
+0, 94, 94, 1, 55296, 0xc26bb607
+0, 95, 95, 1, 55296, 0x40c99200
+0, 96, 96, 1, 55296, 0x61bc9b27
+0, 97, 97, 1, 55296, 0x1e4baa30
+0, 98, 98, 1, 55296, 0xd8a7adb0
+0, 99, 99, 1, 55296, 0x0d0aa8fb
+0, 100, 100, 1, 55296, 0x1f1ba33c
+0, 101, 101, 1, 55296, 0xa000a80b
+0, 102, 102, 1, 55296, 0xb49dd332
+0, 103, 103, 1, 55296, 0x6b8ac499
+0, 104, 104, 1, 55296, 0x9636ed15
+0, 105, 105, 1, 55296, 0xa152f03d
+0, 106, 106, 1, 55296, 0x47a8cfc7
+0, 107, 107, 1, 55296, 0x9f94c82a
+0, 108, 108, 1, 55296, 0xe208d626
+0, 109, 109, 1, 55296, 0x28cc0616
+0, 110, 110, 1, 55296, 0xc545179e
+0, 111, 111, 1, 55296, 0xdf9205af
+0, 112, 112, 1, 55296, 0x31d6ed99
+0, 113, 113, 1, 55296, 0x866bf86e
+0, 114, 114, 1, 55296, 0x0490fbd1
+0, 115, 115, 1, 55296, 0xe1102987
+0, 116, 116, 1, 55296, 0x7f860c29
+0, 117, 117, 1, 55296, 0xc3a91f7a
+0, 118, 118, 1, 55296, 0x69641a52
+0, 119, 119, 1, 55296, 0x05b12204
+0, 120, 120, 1, 55296, 0x715b6206
+0, 121, 121, 1, 55296, 0xdcf55139
+0, 122, 122, 1, 55296, 0x1369f746
+0, 123, 123, 1, 55296, 0xc1533ef5
+0, 124, 124, 1, 55296, 0xc00ff85f
+0, 125, 125, 1, 55296, 0x4f5f70dc
+0, 126, 126, 1, 55296, 0x85720ccc
+0, 127, 127, 1, 55296, 0xfdff0780
+0, 128, 128, 1, 55296, 0x57ef04ff
+0, 129, 129, 1, 55296, 0xbf94041f
+0, 130, 130, 1, 55296, 0x4cee0392
+0, 131, 131, 1, 55296, 0x80160314
+0, 132, 132, 1, 55296, 0x396802af
diff --git a/tests/ref/fate/ea-vp61 b/tests/ref/fate/ea-vp61
index bddaf42d5d..be1fe530bd 100644
--- a/tests/ref/fate/ea-vp61
+++ b/tests/ref/fate/ea-vp61
@@ -1,120 +1,121 @@
-0, 0, 18816, 0xc3fe9fc7
-0, 3003, 18816, 0x6ddf972f
-0, 6006, 18816, 0x72808b6e
-0, 9009, 18816, 0x8f09857f
-0, 12012, 18816, 0xe8027c00
-0, 15015, 18816, 0x308670cf
-0, 18018, 18816, 0x0e656170
-0, 21021, 18816, 0x594e54a4
-0, 24024, 18816, 0x36944b05
-0, 27027, 18816, 0x87013a34
-0, 30030, 18816, 0xc0f32f0d
-0, 33033, 18816, 0x911f1951
-0, 36036, 18816, 0xad590d59
-0, 39039, 18816, 0x943afff0
-0, 42042, 18816, 0x7f5ef719
-0, 45045, 18816, 0x889feafc
-0, 48048, 18816, 0x4334e12b
-0, 51051, 18816, 0xd080cc67
-0, 54054, 18816, 0xc3c1c04c
-0, 57057, 18816, 0x816bae4b
-0, 60060, 18816, 0xed23a5c7
-0, 63063, 18816, 0x86689c2f
-0, 66066, 18816, 0x63408c52
-0, 69069, 18816, 0x399c79d6
-0, 72072, 18816, 0xf0ff63bf
-0, 75075, 18816, 0xa6185353
-0, 78078, 18816, 0xe33d46fc
-0, 81081, 18816, 0xd58d3c6d
-0, 84084, 18816, 0xc94a27ea
-0, 87087, 18816, 0x62f31c59
-0, 90090, 18816, 0x71880825
-0, 93093, 18816, 0xa6ce01d7
-0, 96096, 18816, 0xa1d4fc06
-0, 99099, 18816, 0xc208f570
-0, 102102, 18816, 0xc862e637
-0, 105105, 18816, 0xcf9ed93a
-0, 108108, 18816, 0x85a8cbcc
-0, 111111, 18816, 0x650ac6c1
-0, 114114, 18816, 0xb418c12b
-0, 117117, 18816, 0x9fe5b412
-0, 120120, 18816, 0x80f6a7c1
-0, 123123, 18816, 0x283299e4
-0, 126126, 18816, 0x15429202
-0, 129129, 18816, 0x9f0f8c8a
-0, 132132, 18816, 0x8e828811
-0, 135135, 18816, 0xaac67993
-0, 138138, 18816, 0x8f3b6f4f
-0, 141141, 18816, 0x0b125f95
-0, 144144, 18816, 0xb4e75d14
-0, 147147, 18816, 0x1bac5933
-0, 150150, 18816, 0x300b521b
-0, 153153, 18816, 0x51174590
-0, 156156, 18816, 0x03df3d70
-0, 159159, 18816, 0x338a344a
-0, 162162, 18816, 0x45ad328d
-0, 165165, 18816, 0x2d4e321a
-0, 168168, 18816, 0x15932563
-0, 171171, 18816, 0x9b4f1c76
-0, 174174, 18816, 0x8e31153c
-0, 177177, 18816, 0xfb391185
-0, 180180, 18816, 0x93ee0cdc
-0, 183183, 18816, 0xddeb0642
-0, 186186, 18816, 0xda6cf529
-0, 189189, 18816, 0xdbd6f085
-0, 192192, 18816, 0x357aec81
-0, 195195, 18816, 0x36eaecca
-0, 198198, 18816, 0x6535ee02
-0, 201201, 18816, 0xb7dfe466
-0, 204204, 18816, 0x58d3d86b
-0, 207207, 18816, 0xd8aad64b
-0, 210210, 18816, 0x37ecd588
-0, 213213, 18816, 0xe2f9cee4
-0, 216216, 18816, 0xcd1ac93e
-0, 219219, 18816, 0x18e1be81
-0, 222222, 18816, 0xa05bb9d7
-0, 225225, 18816, 0xe0ebb663
-0, 228228, 18816, 0x7d61b39a
-0, 231231, 18816, 0x01b8acb5
-0, 234234, 18816, 0x7577aa8b
-0, 237237, 18816, 0x6bbda4b5
-0, 240240, 18816, 0xd0cc9b29
-0, 243243, 18816, 0xb2858cbb
-0, 246246, 18816, 0x93608c9d
-0, 249249, 18816, 0x80c38e03
-0, 252252, 18816, 0x37d6843c
-0, 255255, 18816, 0xacc47b9a
-0, 258258, 18816, 0xc4317178
-0, 261261, 18816, 0xc92f6ebd
-0, 264264, 18816, 0xc1217a3b
-0, 267267, 18816, 0x03a37ccb
-0, 270270, 18816, 0xf38c71a2
-0, 273273, 18816, 0x68ff697d
-0, 276276, 18816, 0x0fe358e5
-0, 279279, 18816, 0x58455870
-0, 282282, 18816, 0xc9075ce7
-0, 285285, 18816, 0x16685773
-0, 288288, 18816, 0x1b434c0e
-0, 291291, 18816, 0x008e4c97
-0, 294294, 18816, 0xb4d04f4f
-0, 297297, 18816, 0xc8c94848
-0, 300300, 18816, 0x64664191
-0, 303303, 18816, 0xd591367f
-0, 306306, 18816, 0xc70d3141
-0, 309309, 18816, 0x8d492655
-0, 312312, 18816, 0x7e7f22c8
-0, 315315, 18816, 0x335d23f9
-0, 318318, 18816, 0x0a7f22b6
-0, 321321, 18816, 0x6cf51cb2
-0, 324324, 18816, 0x312516e1
-0, 327327, 18816, 0x8a3c0c7a
-0, 330330, 18816, 0x997d0d20
-0, 333333, 18816, 0xffbd117e
-0, 336336, 18816, 0x855808ca
-0, 339339, 18816, 0xe335fb94
-0, 342342, 18816, 0x12e6f95c
-0, 345345, 18816, 0x2d62f845
-0, 348348, 18816, 0x7e63f591
-0, 351351, 18816, 0x7463f175
-0, 354354, 18816, 0x1521e0d2
-0, 357357, 18816, 0x96a8dbce
+#tb 0: 32767/982027
+0, 0, 0, 1, 18816, 0xc3fe9fc7
+0, 1, 1, 1, 18816, 0x6ddf972f
+0, 2, 2, 1, 18816, 0x72808b6e
+0, 3, 3, 1, 18816, 0x8f09857f
+0, 4, 4, 1, 18816, 0xe8027c00
+0, 5, 5, 1, 18816, 0x308670cf
+0, 6, 6, 1, 18816, 0x0e656170
+0, 7, 7, 1, 18816, 0x594e54a4
+0, 8, 8, 1, 18816, 0x36944b05
+0, 9, 9, 1, 18816, 0x87013a34
+0, 10, 10, 1, 18816, 0xc0f32f0d
+0, 11, 11, 1, 18816, 0x911f1951
+0, 12, 12, 1, 18816, 0xad590d59
+0, 13, 13, 1, 18816, 0x943afff0
+0, 14, 14, 1, 18816, 0x7f5ef719
+0, 15, 15, 1, 18816, 0x889feafc
+0, 16, 16, 1, 18816, 0x4334e12b
+0, 17, 17, 1, 18816, 0xd080cc67
+0, 18, 18, 1, 18816, 0xc3c1c04c
+0, 19, 19, 1, 18816, 0x816bae4b
+0, 20, 20, 1, 18816, 0xed23a5c7
+0, 21, 21, 1, 18816, 0x86689c2f
+0, 22, 22, 1, 18816, 0x63408c52
+0, 23, 23, 1, 18816, 0x399c79d6
+0, 24, 24, 1, 18816, 0xf0ff63bf
+0, 25, 25, 1, 18816, 0xa6185353
+0, 26, 26, 1, 18816, 0xe33d46fc
+0, 27, 27, 1, 18816, 0xd58d3c6d
+0, 28, 28, 1, 18816, 0xc94a27ea
+0, 29, 29, 1, 18816, 0x62f31c59
+0, 30, 30, 1, 18816, 0x71880825
+0, 31, 31, 1, 18816, 0xa6ce01d7
+0, 32, 32, 1, 18816, 0xa1d4fc06
+0, 33, 33, 1, 18816, 0xc208f570
+0, 34, 34, 1, 18816, 0xc862e637
+0, 35, 35, 1, 18816, 0xcf9ed93a
+0, 36, 36, 1, 18816, 0x85a8cbcc
+0, 37, 37, 1, 18816, 0x650ac6c1
+0, 38, 38, 1, 18816, 0xb418c12b
+0, 39, 39, 1, 18816, 0x9fe5b412
+0, 40, 40, 1, 18816, 0x80f6a7c1
+0, 41, 41, 1, 18816, 0x283299e4
+0, 42, 42, 1, 18816, 0x15429202
+0, 43, 43, 1, 18816, 0x9f0f8c8a
+0, 44, 44, 1, 18816, 0x8e828811
+0, 45, 45, 1, 18816, 0xaac67993
+0, 46, 46, 1, 18816, 0x8f3b6f4f
+0, 47, 47, 1, 18816, 0x0b125f95
+0, 48, 48, 1, 18816, 0xb4e75d14
+0, 49, 49, 1, 18816, 0x1bac5933
+0, 50, 50, 1, 18816, 0x300b521b
+0, 51, 51, 1, 18816, 0x51174590
+0, 52, 52, 1, 18816, 0x03df3d70
+0, 53, 53, 1, 18816, 0x338a344a
+0, 54, 54, 1, 18816, 0x45ad328d
+0, 55, 55, 1, 18816, 0x2d4e321a
+0, 56, 56, 1, 18816, 0x15932563
+0, 57, 57, 1, 18816, 0x9b4f1c76
+0, 58, 58, 1, 18816, 0x8e31153c
+0, 59, 59, 1, 18816, 0xfb391185
+0, 60, 60, 1, 18816, 0x93ee0cdc
+0, 61, 61, 1, 18816, 0xddeb0642
+0, 62, 62, 1, 18816, 0xda6cf529
+0, 63, 63, 1, 18816, 0xdbd6f085
+0, 64, 64, 1, 18816, 0x357aec81
+0, 65, 65, 1, 18816, 0x36eaecca
+0, 66, 66, 1, 18816, 0x6535ee02
+0, 67, 67, 1, 18816, 0xb7dfe466
+0, 68, 68, 1, 18816, 0x58d3d86b
+0, 69, 69, 1, 18816, 0xd8aad64b
+0, 70, 70, 1, 18816, 0x37ecd588
+0, 71, 71, 1, 18816, 0xe2f9cee4
+0, 72, 72, 1, 18816, 0xcd1ac93e
+0, 73, 73, 1, 18816, 0x18e1be81
+0, 74, 74, 1, 18816, 0xa05bb9d7
+0, 75, 75, 1, 18816, 0xe0ebb663
+0, 76, 76, 1, 18816, 0x7d61b39a
+0, 77, 77, 1, 18816, 0x01b8acb5
+0, 78, 78, 1, 18816, 0x7577aa8b
+0, 79, 79, 1, 18816, 0x6bbda4b5
+0, 80, 80, 1, 18816, 0xd0cc9b29
+0, 81, 81, 1, 18816, 0xb2858cbb
+0, 82, 82, 1, 18816, 0x93608c9d
+0, 83, 83, 1, 18816, 0x80c38e03
+0, 84, 84, 1, 18816, 0x37d6843c
+0, 85, 85, 1, 18816, 0xacc47b9a
+0, 86, 86, 1, 18816, 0xc4317178
+0, 87, 87, 1, 18816, 0xc92f6ebd
+0, 88, 88, 1, 18816, 0xc1217a3b
+0, 89, 89, 1, 18816, 0x03a37ccb
+0, 90, 90, 1, 18816, 0xf38c71a2
+0, 91, 91, 1, 18816, 0x68ff697d
+0, 92, 92, 1, 18816, 0x0fe358e5
+0, 93, 93, 1, 18816, 0x58455870
+0, 94, 94, 1, 18816, 0xc9075ce7
+0, 95, 95, 1, 18816, 0x16685773
+0, 96, 96, 1, 18816, 0x1b434c0e
+0, 97, 97, 1, 18816, 0x008e4c97
+0, 98, 98, 1, 18816, 0xb4d04f4f
+0, 99, 99, 1, 18816, 0xc8c94848
+0, 100, 100, 1, 18816, 0x64664191
+0, 101, 101, 1, 18816, 0xd591367f
+0, 102, 102, 1, 18816, 0xc70d3141
+0, 103, 103, 1, 18816, 0x8d492655
+0, 104, 104, 1, 18816, 0x7e7f22c8
+0, 105, 105, 1, 18816, 0x335d23f9
+0, 106, 106, 1, 18816, 0x0a7f22b6
+0, 107, 107, 1, 18816, 0x6cf51cb2
+0, 108, 108, 1, 18816, 0x312516e1
+0, 109, 109, 1, 18816, 0x8a3c0c7a
+0, 110, 110, 1, 18816, 0x997d0d20
+0, 111, 111, 1, 18816, 0xffbd117e
+0, 112, 112, 1, 18816, 0x855808ca
+0, 113, 113, 1, 18816, 0xe335fb94
+0, 114, 114, 1, 18816, 0x12e6f95c
+0, 115, 115, 1, 18816, 0x2d62f845
+0, 116, 116, 1, 18816, 0x7e63f591
+0, 117, 117, 1, 18816, 0x7463f175
+0, 118, 118, 1, 18816, 0x1521e0d2
+0, 119, 119, 1, 18816, 0x96a8dbce
diff --git a/tests/ref/fate/film-cvid-pcm-stereo-8bit b/tests/ref/fate/film-cvid-pcm-stereo-8bit
index 4f3fcf4689..3062815d2c 100644
--- a/tests/ref/fate/film-cvid-pcm-stereo-8bit
+++ b/tests/ref/fate/film-cvid-pcm-stereo-8bit
@@ -1,139 +1,141 @@
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-1, 315012, 44112, 0x3dbe1aef
-0, 318000, 107520, 0xe01e6b73
-0, 321000, 107520, 0x1d13bba8
-0, 324000, 107520, 0x3a993a6c
-0, 327000, 107520, 0x2ede041a
-1, 337518, 44064, 0xed2c7dfb
-1, 360000, 44112, 0x9e475274
-1, 382506, 44112, 0x541f05d4
-1, 405012, 44112, 0x09e39025
-1, 427518, 44064, 0xdc111087
-1, 450000, 44112, 0xb8f86e48
-1, 472506, 44112, 0xa1e0c75c
-1, 495012, 44112, 0x0654dcb0
-1, 517518, 44064, 0xb921e11a
-1, 540000, 44112, 0xe0ac619f
-1, 562506, 44112, 0xb07aa65c
-1, 585012, 44112, 0x24610ff0
-1, 607518, 44064, 0x00000000
-1, 630000, 44112, 0x00000000
-1, 652506, 8800, 0x00000000
+#tb 0: 1/30
+#tb 1: 1/44100
+0, 0, 0, 1, 107520, 0xa6c9fdd2
+1, 0, 0, 22048, 88192, 0x23bb50ae
+0, 1, 1, 1, 107520, 0x61eb28c1
+0, 2, 2, 1, 107520, 0x45e20af7
+0, 3, 3, 1, 107520, 0x366970fc
+0, 4, 4, 1, 107520, 0xa392bcb3
+0, 5, 5, 1, 107520, 0xcf7bac98
+0, 6, 6, 1, 107520, 0x222eba53
+0, 7, 7, 1, 107520, 0x74e255a1
+0, 8, 8, 1, 107520, 0xc19eec6f
+0, 9, 9, 1, 107520, 0xa3880681
+0, 10, 10, 1, 107520, 0x957878db
+0, 11, 11, 1, 107520, 0x18340692
+0, 12, 12, 1, 107520, 0x9970f24d
+0, 13, 13, 1, 107520, 0xf08618aa
+0, 14, 14, 1, 107520, 0xee7324f0
+1, 22048, 22048, 11028, 44112, 0x79600f01
+0, 15, 15, 1, 107520, 0xe15025b3
+0, 16, 16, 1, 107520, 0x8afa312e
+0, 17, 17, 1, 107520, 0x717a7d0f
+0, 18, 18, 1, 107520, 0x355c6e23
+0, 19, 19, 1, 107520, 0x7015a50f
+0, 20, 20, 1, 107520, 0xcdfc1a16
+0, 21, 21, 1, 107520, 0x38d929e7
+0, 22, 22, 1, 107520, 0x52913423
+1, 33076, 33076, 11024, 44096, 0x09dbf7aa
+0, 23, 23, 1, 107520, 0xe2c91c10
+0, 24, 24, 1, 107520, 0x85516e9c
+0, 25, 25, 1, 107520, 0xd1626030
+0, 26, 26, 1, 107520, 0xea7b16de
+0, 27, 27, 1, 107520, 0xa33eaa0d
+0, 28, 28, 1, 107520, 0x8e3be6a6
+0, 29, 29, 1, 107520, 0x14147bd6
+0, 30, 30, 1, 107520, 0x07d54bec
+1, 44100, 44100, 11028, 44112, 0x18fed048
+0, 31, 31, 1, 107520, 0xe287a0a7
+0, 32, 32, 1, 107520, 0xc023a14d
+0, 33, 33, 1, 107520, 0x2437085d
+0, 34, 34, 1, 107520, 0x63823918
+0, 35, 35, 1, 107520, 0xbc17e198
+0, 36, 36, 1, 107520, 0x9d99bc81
+0, 37, 37, 1, 107520, 0x7e4ec71e
+1, 55128, 55128, 11028, 44112, 0x030d35ef
+0, 38, 38, 1, 107520, 0x55b98376
+0, 39, 39, 1, 107520, 0x356d8e9e
+0, 40, 40, 1, 107520, 0xf77e8a61
+0, 41, 41, 1, 107520, 0x5ae7c8c7
+0, 42, 42, 1, 107520, 0x8acf9322
+0, 43, 43, 1, 107520, 0x40a9177e
+0, 44, 44, 1, 107520, 0x3e0e4d8d
+0, 45, 45, 1, 107520, 0xd268865b
+1, 66156, 66156, 11028, 44112, 0xc23154d5
+0, 46, 46, 1, 107520, 0x89a4efeb
+0, 47, 47, 1, 107520, 0x70ca2478
+0, 48, 48, 1, 107520, 0xcc9ec981
+0, 49, 49, 1, 107520, 0xf0648459
+0, 50, 50, 1, 107520, 0x7e4a4cca
+0, 51, 51, 1, 107520, 0xb315dc65
+0, 52, 52, 1, 107520, 0x2aecc7b4
+1, 77184, 77184, 11016, 44064, 0xe4713ee7
+0, 53, 53, 1, 107520, 0x81742f51
+0, 54, 54, 1, 107520, 0x3a1d7571
+0, 55, 55, 1, 107520, 0x3a1d7571
+0, 56, 56, 1, 107520, 0x3a1d7571
+0, 57, 57, 1, 107520, 0x3a1d7571
+0, 58, 58, 1, 107520, 0x3a1d7571
+0, 59, 59, 1, 107520, 0x3a1d7571
+0, 60, 60, 1, 107520, 0x3a1d7571
+1, 88200, 88200, 11028, 44112, 0xddc19d91
+0, 61, 61, 1, 107520, 0xe974733e
+0, 62, 62, 1, 107520, 0x999c6fbf
+0, 63, 63, 1, 107520, 0x26b56b6e
+0, 64, 64, 1, 107520, 0xc9f9647b
+0, 65, 65, 1, 107520, 0x6d025d00
+0, 66, 66, 1, 107520, 0xf9c056c1
+0, 67, 67, 1, 107520, 0xa5cc4d0b
+1, 99228, 99228, 11028, 44112, 0x9591522d
+0, 68, 68, 1, 107520, 0x1a4c4236
+0, 69, 69, 1, 107520, 0xa9d538b6
+0, 70, 70, 1, 107520, 0x14682d00
+0, 71, 71, 1, 107520, 0x6236204f
+0, 72, 72, 1, 107520, 0x303e14aa
+0, 73, 73, 1, 107520, 0x943b0837
+0, 74, 74, 1, 107520, 0xfce5fd07
+0, 75, 75, 1, 107520, 0xd993f193
+1, 110256, 110256, 11028, 44112, 0x90deb013
+0, 76, 76, 1, 107520, 0x4d48e7b4
+0, 77, 77, 1, 107520, 0x61ccdf83
+0, 78, 78, 1, 107520, 0xfb4fd608
+0, 79, 79, 1, 107520, 0x5efdcdb3
+0, 80, 80, 1, 107520, 0xb03ec886
+0, 81, 81, 1, 107520, 0xf464c343
+0, 82, 82, 1, 107520, 0xf464c343
+1, 121284, 121284, 11016, 44064, 0x3842d420
+0, 83, 83, 1, 107520, 0xf464c343
+0, 84, 84, 1, 107520, 0xf464c343
+0, 85, 85, 1, 107520, 0xf464c343
+0, 86, 86, 1, 107520, 0xf464c343
+0, 87, 87, 1, 107520, 0xf464c343
+0, 88, 88, 1, 107520, 0xf464c343
+0, 89, 89, 1, 107520, 0xf464c343
+0, 90, 90, 1, 107520, 0xf464c343
+1, 132300, 132300, 11028, 44112, 0x99c8c3d9
+0, 91, 91, 1, 107520, 0xf464c343
+0, 92, 92, 1, 107520, 0xf2b2c712
+0, 93, 93, 1, 107520, 0xf2b2c712
+0, 94, 94, 1, 107520, 0xf2b2c712
+0, 95, 95, 1, 107520, 0xf2b2c712
+0, 96, 96, 1, 107520, 0xb95e6bc8
+0, 97, 97, 1, 107520, 0x33feee37
+1, 143328, 143328, 11028, 44112, 0xffaf3824
+0, 98, 98, 1, 107520, 0x36ee3cd5
+0, 99, 99, 1, 107520, 0x59096471
+0, 100, 100, 1, 107520, 0x53b470c6
+0, 101, 101, 1, 107520, 0xdb7c64ff
+0, 102, 102, 1, 107520, 0xe5a1596a
+0, 103, 103, 1, 107520, 0x8c8942eb
+0, 104, 104, 1, 107520, 0x5ecc379e
+0, 105, 105, 1, 107520, 0xea09432a
+1, 154356, 154356, 11028, 44112, 0x3dbe1aef
+0, 106, 106, 1, 107520, 0xe01e6b73
+0, 107, 107, 1, 107520, 0x1d13bba8
+0, 108, 108, 1, 107520, 0x3a993a6c
+0, 109, 109, 1, 107520, 0x2ede041a
+1, 165384, 165384, 11016, 44064, 0xed2c7dfb
+1, 176400, 176400, 11028, 44112, 0x9e475274
+1, 187428, 187428, 11028, 44112, 0x541f05d4
+1, 198456, 198456, 11028, 44112, 0x09e39025
+1, 209484, 209484, 11016, 44064, 0xdc111087
+1, 220500, 220500, 11028, 44112, 0xb8f86e48
+1, 231528, 231528, 11028, 44112, 0xa1e0c75c
+1, 242556, 242556, 11028, 44112, 0x0654dcb0
+1, 253584, 253584, 11016, 44064, 0xb921e11a
+1, 264600, 264600, 11028, 44112, 0xe0ac619f
+1, 275628, 275628, 11028, 44112, 0xb07aa65c
+1, 286656, 286656, 11028, 44112, 0x24610ff0
+1, 297684, 297684, 11016, 44064, 0x00000000
+1, 308700, 308700, 11028, 44112, 0x00000000
+1, 319728, 319728, 2200, 8800, 0x00000000
diff --git a/tests/ref/fate/flic-af11-palette-change b/tests/ref/fate/flic-af11-palette-change
index ac609b8fc7..61e6c1d8a0 100644
--- a/tests/ref/fate/flic-af11-palette-change
+++ b/tests/ref/fate/flic-af11-palette-change
@@ -1,116 +1,117 @@
-0, 0, 192000, 0x64da83e8
-0, 2571, 192000, 0xf59ccccc
-0, 5143, 192000, 0xaaa06c5c
-0, 7714, 192000, 0xa98f82c0
-0, 10286, 192000, 0x164fbbdc
-0, 12857, 192000, 0x0b3abc0c
-0, 15429, 192000, 0x47661943
-0, 18000, 192000, 0x30711074
-0, 20571, 192000, 0x67684a84
-0, 23143, 192000, 0x1d9afa70
-0, 25714, 192000, 0x4fd28e78
-0, 28286, 192000, 0x9bc5c8cc
-0, 30857, 192000, 0xcf268b6c
-0, 33429, 192000, 0xdfe65fd4
-0, 36000, 192000, 0x47e75404
-0, 38571, 192000, 0xb3b5b448
-0, 41143, 192000, 0x826c94b4
-0, 43714, 192000, 0x158e95f8
-0, 46286, 192000, 0x576f031f
-0, 48857, 192000, 0xea3399e8
-0, 51429, 192000, 0x76b1e224
-0, 54000, 192000, 0x290073db
-0, 56571, 192000, 0x83741abf
-0, 59143, 192000, 0x50f9c4ec
-0, 61714, 192000, 0x6d8fdac0
-0, 64286, 192000, 0xe26e2600
-0, 66857, 192000, 0xbeb0e11c
-0, 69429, 192000, 0x38282fd4
-0, 72000, 192000, 0x13d0b790
-0, 74571, 192000, 0x0cf8fca9
-0, 77143, 192000, 0x64da83e8
-0, 79714, 192000, 0xf59ccccc
-0, 82286, 192000, 0xaaa06c5c
-0, 84857, 192000, 0xa98f82c0
-0, 87429, 192000, 0x164fbbdc
-0, 90000, 192000, 0x0b3abc0c
-0, 92571, 192000, 0x47661943
-0, 95143, 192000, 0x30711074
-0, 97714, 192000, 0x67684a84
-0, 100286, 192000, 0x1d9afa70
-0, 102857, 192000, 0x4fd28e78
-0, 105429, 192000, 0x9bc5c8cc
-0, 108000, 192000, 0xcf268b6c
-0, 110571, 192000, 0xdfe65fd4
-0, 113143, 192000, 0x47e75404
-0, 115714, 192000, 0xb3b5b448
-0, 118286, 192000, 0x826c94b4
-0, 120857, 192000, 0x158e95f8
-0, 123429, 192000, 0x576f031f
-0, 126000, 192000, 0xea3399e8
-0, 128571, 192000, 0x76b1e224
-0, 131143, 192000, 0x290073db
-0, 133714, 192000, 0x83741abf
-0, 136286, 192000, 0x50f9c4ec
-0, 138857, 192000, 0x6d8fdac0
-0, 141429, 192000, 0xe26e2600
-0, 144000, 192000, 0xbeb0e11c
-0, 146571, 192000, 0x38282fd4
-0, 149143, 192000, 0x13d0b790
-0, 151714, 192000, 0x0cf8fca9
-0, 154286, 192000, 0x64da83e8
-0, 156857, 192000, 0xf59ccccc
-0, 159429, 192000, 0xaaa06c5c
-0, 162000, 192000, 0xa98f82c0
-0, 164571, 192000, 0x164fbbdc
-0, 167143, 192000, 0x0b3abc0c
-0, 169714, 192000, 0x47661943
-0, 172286, 192000, 0x30711074
-0, 174857, 192000, 0x67684a84
-0, 177429, 192000, 0x1d9afa70
-0, 180000, 192000, 0x4fd28e78
-0, 182571, 192000, 0x9bc5c8cc
-0, 185143, 192000, 0xcf268b6c
-0, 187714, 192000, 0xdfe65fd4
-0, 190286, 192000, 0x47e75404
-0, 192857, 192000, 0xb3b5b448
-0, 195429, 192000, 0x826c94b4
-0, 198000, 192000, 0x158e95f8
-0, 200571, 192000, 0x576f031f
-0, 203143, 192000, 0xea3399e8
-0, 205714, 192000, 0x76b1e224
-0, 208286, 192000, 0x290073db
-0, 210857, 192000, 0x83741abf
-0, 213429, 192000, 0x50f9c4ec
-0, 216000, 192000, 0x6d8fdac0
-0, 218571, 192000, 0xe26e2600
-0, 221143, 192000, 0xbeb0e11c
-0, 223714, 192000, 0x38282fd4
-0, 226286, 192000, 0x13d0b790
-0, 228857, 192000, 0x0cf8fca9
-0, 231429, 192000, 0xfcb10883
-0, 234000, 192000, 0xfcb10883
-0, 236571, 192000, 0xd0ba80c4
-0, 239143, 192000, 0xd0ba80c4
-0, 241714, 192000, 0x690520d9
-0, 244286, 192000, 0x690520d9
-0, 246857, 192000, 0x5b621c3f
-0, 249429, 192000, 0x5b621c3f
-0, 252000, 192000, 0x689e231f
-0, 254571, 192000, 0x689e231f
-0, 257143, 192000, 0x20653ff2
-0, 259714, 192000, 0x20653ff2
-0, 262286, 192000, 0xc18b3231
-0, 264857, 192000, 0xc18b3231
-0, 267429, 192000, 0x6d87ec3d
-0, 270000, 192000, 0x6d87ec3d
-0, 272571, 192000, 0x1c5b53d6
-0, 275143, 192000, 0x1c5b53d6
-0, 277714, 192000, 0x152fdf12
-0, 280286, 192000, 0xde187291
-0, 282857, 192000, 0x167617a5
-0, 285429, 192000, 0x5067b8de
-0, 288000, 192000, 0xd02ae54e
-0, 290571, 192000, 0x0d6e9402
-0, 293143, 192000, 0xa8e98616
-0, 295714, 192000, 0x04762d1a
+#tb 0: 1/35
+0, 0, 0, 1, 192000, 0x64da83e8
+0, 1, 1, 1, 192000, 0xf59ccccc
+0, 2, 2, 1, 192000, 0xaaa06c5c
+0, 3, 3, 1, 192000, 0xa98f82c0
+0, 4, 4, 1, 192000, 0x164fbbdc
+0, 5, 5, 1, 192000, 0x0b3abc0c
+0, 6, 6, 1, 192000, 0x47661943
+0, 7, 7, 1, 192000, 0x30711074
+0, 8, 8, 1, 192000, 0x67684a84
+0, 9, 9, 1, 192000, 0x1d9afa70
+0, 10, 10, 1, 192000, 0x4fd28e78
+0, 11, 11, 1, 192000, 0x9bc5c8cc
+0, 12, 12, 1, 192000, 0xcf268b6c
+0, 13, 13, 1, 192000, 0xdfe65fd4
+0, 14, 14, 1, 192000, 0x47e75404
+0, 15, 15, 1, 192000, 0xb3b5b448
+0, 16, 16, 1, 192000, 0x826c94b4
+0, 17, 17, 1, 192000, 0x158e95f8
+0, 18, 18, 1, 192000, 0x576f031f
+0, 19, 19, 1, 192000, 0xea3399e8
+0, 20, 20, 1, 192000, 0x76b1e224
+0, 21, 21, 1, 192000, 0x290073db
+0, 22, 22, 1, 192000, 0x83741abf
+0, 23, 23, 1, 192000, 0x50f9c4ec
+0, 24, 24, 1, 192000, 0x6d8fdac0
+0, 25, 25, 1, 192000, 0xe26e2600
+0, 26, 26, 1, 192000, 0xbeb0e11c
+0, 27, 27, 1, 192000, 0x38282fd4
+0, 28, 28, 1, 192000, 0x13d0b790
+0, 29, 29, 1, 192000, 0x0cf8fca9
+0, 30, 30, 1, 192000, 0x64da83e8
+0, 31, 31, 1, 192000, 0xf59ccccc
+0, 32, 32, 1, 192000, 0xaaa06c5c
+0, 33, 33, 1, 192000, 0xa98f82c0
+0, 34, 34, 1, 192000, 0x164fbbdc
+0, 35, 35, 1, 192000, 0x0b3abc0c
+0, 36, 36, 1, 192000, 0x47661943
+0, 37, 37, 1, 192000, 0x30711074
+0, 38, 38, 1, 192000, 0x67684a84
+0, 39, 39, 1, 192000, 0x1d9afa70
+0, 40, 40, 1, 192000, 0x4fd28e78
+0, 41, 41, 1, 192000, 0x9bc5c8cc
+0, 42, 42, 1, 192000, 0xcf268b6c
+0, 43, 43, 1, 192000, 0xdfe65fd4
+0, 44, 44, 1, 192000, 0x47e75404
+0, 45, 45, 1, 192000, 0xb3b5b448
+0, 46, 46, 1, 192000, 0x826c94b4
+0, 47, 47, 1, 192000, 0x158e95f8
+0, 48, 48, 1, 192000, 0x576f031f
+0, 49, 49, 1, 192000, 0xea3399e8
+0, 50, 50, 1, 192000, 0x76b1e224
+0, 51, 51, 1, 192000, 0x290073db
+0, 52, 52, 1, 192000, 0x83741abf
+0, 53, 53, 1, 192000, 0x50f9c4ec
+0, 54, 54, 1, 192000, 0x6d8fdac0
+0, 55, 55, 1, 192000, 0xe26e2600
+0, 56, 56, 1, 192000, 0xbeb0e11c
+0, 57, 57, 1, 192000, 0x38282fd4
+0, 58, 58, 1, 192000, 0x13d0b790
+0, 59, 59, 1, 192000, 0x0cf8fca9
+0, 60, 60, 1, 192000, 0x64da83e8
+0, 61, 61, 1, 192000, 0xf59ccccc
+0, 62, 62, 1, 192000, 0xaaa06c5c
+0, 63, 63, 1, 192000, 0xa98f82c0
+0, 64, 64, 1, 192000, 0x164fbbdc
+0, 65, 65, 1, 192000, 0x0b3abc0c
+0, 66, 66, 1, 192000, 0x47661943
+0, 67, 67, 1, 192000, 0x30711074
+0, 68, 68, 1, 192000, 0x67684a84
+0, 69, 69, 1, 192000, 0x1d9afa70
+0, 70, 70, 1, 192000, 0x4fd28e78
+0, 71, 71, 1, 192000, 0x9bc5c8cc
+0, 72, 72, 1, 192000, 0xcf268b6c
+0, 73, 73, 1, 192000, 0xdfe65fd4
+0, 74, 74, 1, 192000, 0x47e75404
+0, 75, 75, 1, 192000, 0xb3b5b448
+0, 76, 76, 1, 192000, 0x826c94b4
+0, 77, 77, 1, 192000, 0x158e95f8
+0, 78, 78, 1, 192000, 0x576f031f
+0, 79, 79, 1, 192000, 0xea3399e8
+0, 80, 80, 1, 192000, 0x76b1e224
+0, 81, 81, 1, 192000, 0x290073db
+0, 82, 82, 1, 192000, 0x83741abf
+0, 83, 83, 1, 192000, 0x50f9c4ec
+0, 84, 84, 1, 192000, 0x6d8fdac0
+0, 85, 85, 1, 192000, 0xe26e2600
+0, 86, 86, 1, 192000, 0xbeb0e11c
+0, 87, 87, 1, 192000, 0x38282fd4
+0, 88, 88, 1, 192000, 0x13d0b790
+0, 89, 89, 1, 192000, 0x0cf8fca9
+0, 90, 90, 1, 192000, 0xfcb10883
+0, 91, 91, 1, 192000, 0xfcb10883
+0, 92, 92, 1, 192000, 0xd0ba80c4
+0, 93, 93, 1, 192000, 0xd0ba80c4
+0, 94, 94, 1, 192000, 0x690520d9
+0, 95, 95, 1, 192000, 0x690520d9
+0, 96, 96, 1, 192000, 0x5b621c3f
+0, 97, 97, 1, 192000, 0x5b621c3f
+0, 98, 98, 1, 192000, 0x689e231f
+0, 99, 99, 1, 192000, 0x689e231f
+0, 100, 100, 1, 192000, 0x20653ff2
+0, 101, 101, 1, 192000, 0x20653ff2
+0, 102, 102, 1, 192000, 0xc18b3231
+0, 103, 103, 1, 192000, 0xc18b3231
+0, 104, 104, 1, 192000, 0x6d87ec3d
+0, 105, 105, 1, 192000, 0x6d87ec3d
+0, 106, 106, 1, 192000, 0x1c5b53d6
+0, 107, 107, 1, 192000, 0x1c5b53d6
+0, 108, 108, 1, 192000, 0x152fdf12
+0, 109, 109, 1, 192000, 0xde187291
+0, 110, 110, 1, 192000, 0x167617a5
+0, 111, 111, 1, 192000, 0x5067b8de
+0, 112, 112, 1, 192000, 0xd02ae54e
+0, 113, 113, 1, 192000, 0x0d6e9402
+0, 114, 114, 1, 192000, 0xa8e98616
+0, 115, 115, 1, 192000, 0x04762d1a
diff --git a/tests/ref/fate/flic-af12 b/tests/ref/fate/flic-af12
index 4c3c535939..227f26a4fd 100644
--- a/tests/ref/fate/flic-af12
+++ b/tests/ref/fate/flic-af12
@@ -1,27 +1,28 @@
-0, 0, 921600, 0x50a87396
-0, 6480, 921600, 0xa6e65d9e
-0, 12960, 921600, 0x05956f62
-0, 19440, 921600, 0xffd6a5d7
-0, 25920, 921600, 0xaab0a179
-0, 32400, 921600, 0x289db2db
-0, 38880, 921600, 0x3d3840cf
-0, 45360, 921600, 0xec0a4142
-0, 51840, 921600, 0x713a9f65
-0, 58320, 921600, 0x28a8f0cd
-0, 64800, 921600, 0x0fd95ba9
-0, 71280, 921600, 0xa744bdfd
-0, 77760, 921600, 0x3cdea2a5
-0, 84240, 921600, 0xe7d671e4
-0, 90720, 921600, 0x75824cdf
-0, 97200, 921600, 0x82067d95
-0, 103680, 921600, 0xee143a4c
-0, 110160, 921600, 0xa53d3f2b
-0, 116640, 921600, 0xb491c0c5
-0, 123120, 921600, 0x6aaaef07
-0, 129600, 921600, 0xad23cca8
-0, 136080, 921600, 0xdce91bd8
-0, 142560, 921600, 0x1a1499bc
-0, 149040, 921600, 0x4cbe505a
-0, 155520, 921600, 0x24006f65
-0, 162000, 921600, 0x0711906e
-0, 168480, 921600, 0x50a87396
+#tb 0: 9/125
+0, 0, 0, 1, 921600, 0x50a87396
+0, 1, 1, 1, 921600, 0xa6e65d9e
+0, 2, 2, 1, 921600, 0x05956f62
+0, 3, 3, 1, 921600, 0xffd6a5d7
+0, 4, 4, 1, 921600, 0xaab0a179
+0, 5, 5, 1, 921600, 0x289db2db
+0, 6, 6, 1, 921600, 0x3d3840cf
+0, 7, 7, 1, 921600, 0xec0a4142
+0, 8, 8, 1, 921600, 0x713a9f65
+0, 9, 9, 1, 921600, 0x28a8f0cd
+0, 10, 10, 1, 921600, 0x0fd95ba9
+0, 11, 11, 1, 921600, 0xa744bdfd
+0, 12, 12, 1, 921600, 0x3cdea2a5
+0, 13, 13, 1, 921600, 0xe7d671e4
+0, 14, 14, 1, 921600, 0x75824cdf
+0, 15, 15, 1, 921600, 0x82067d95
+0, 16, 16, 1, 921600, 0xee143a4c
+0, 17, 17, 1, 921600, 0xa53d3f2b
+0, 18, 18, 1, 921600, 0xb491c0c5
+0, 19, 19, 1, 921600, 0x6aaaef07
+0, 20, 20, 1, 921600, 0xad23cca8
+0, 21, 21, 1, 921600, 0xdce91bd8
+0, 22, 22, 1, 921600, 0x1a1499bc
+0, 23, 23, 1, 921600, 0x4cbe505a
+0, 24, 24, 1, 921600, 0x24006f65
+0, 25, 25, 1, 921600, 0x0711906e
+0, 26, 26, 1, 921600, 0x50a87396
diff --git a/tests/ref/fate/flic-magiccarpet b/tests/ref/fate/flic-magiccarpet
index a7d9ab9c07..f0faf1dd41 100644
--- a/tests/ref/fate/flic-magiccarpet
+++ b/tests/ref/fate/flic-magiccarpet
@@ -1,42 +1,43 @@
-0, 0, 192000, 0x00000000
-0, 6429, 192000, 0x9c057d9c
-0, 12857, 192000, 0xab1aacaf
-0, 19286, 192000, 0x49a1dccd
-0, 25714, 192000, 0xebb7e245
-0, 32143, 192000, 0x6287759e
-0, 38571, 192000, 0xbf007410
-0, 45000, 192000, 0x6c72b247
-0, 51429, 192000, 0x4c26a8c3
-0, 57857, 192000, 0x99f06050
-0, 64286, 192000, 0x663f2d23
-0, 70714, 192000, 0x813c3a1f
-0, 77143, 192000, 0x6d6cfbe7
-0, 83571, 192000, 0x7b04163a
-0, 90000, 192000, 0x6792e679
-0, 96429, 192000, 0x939ac626
-0, 102857, 192000, 0xc7a139c0
-0, 109286, 192000, 0xcac7ef0c
-0, 115714, 192000, 0xf4ec59e0
-0, 122143, 192000, 0x56060f59
-0, 128571, 192000, 0xf45ecb3b
-0, 135000, 192000, 0xe7e634ff
-0, 141429, 192000, 0x7ac04aa4
-0, 147857, 192000, 0x4eaba5a1
-0, 154286, 192000, 0x89b84e25
-0, 160714, 192000, 0xc368ec1e
-0, 167143, 192000, 0xeeafb59e
-0, 173571, 192000, 0x0b630619
-0, 180000, 192000, 0x59cb8954
-0, 186429, 192000, 0x16b2875f
-0, 192857, 192000, 0x524e32bd
-0, 199286, 192000, 0x96000ba2
-0, 205714, 192000, 0x18ec28af
-0, 212143, 192000, 0x2609c56c
-0, 218571, 192000, 0xff25bb5a
-0, 225000, 192000, 0xb19a8819
-0, 231429, 192000, 0xa5ff8727
-0, 237857, 192000, 0xe83f6289
-0, 244286, 192000, 0xc6cb4903
-0, 250714, 192000, 0xa4d93eb5
-0, 257143, 192000, 0xec84ef6c
-0, 263571, 192000, 0x00000000
+#tb 0: 1/14
+0, 0, 0, 1, 192000, 0x00000000
+0, 1, 1, 1, 192000, 0x9c057d9c
+0, 2, 2, 1, 192000, 0xab1aacaf
+0, 3, 3, 1, 192000, 0x49a1dccd
+0, 4, 4, 1, 192000, 0xebb7e245
+0, 5, 5, 1, 192000, 0x6287759e
+0, 6, 6, 1, 192000, 0xbf007410
+0, 7, 7, 1, 192000, 0x6c72b247
+0, 8, 8, 1, 192000, 0x4c26a8c3
+0, 9, 9, 1, 192000, 0x99f06050
+0, 10, 10, 1, 192000, 0x663f2d23
+0, 11, 11, 1, 192000, 0x813c3a1f
+0, 12, 12, 1, 192000, 0x6d6cfbe7
+0, 13, 13, 1, 192000, 0x7b04163a
+0, 14, 14, 1, 192000, 0x6792e679
+0, 15, 15, 1, 192000, 0x939ac626
+0, 16, 16, 1, 192000, 0xc7a139c0
+0, 17, 17, 1, 192000, 0xcac7ef0c
+0, 18, 18, 1, 192000, 0xf4ec59e0
+0, 19, 19, 1, 192000, 0x56060f59
+0, 20, 20, 1, 192000, 0xf45ecb3b
+0, 21, 21, 1, 192000, 0xe7e634ff
+0, 22, 22, 1, 192000, 0x7ac04aa4
+0, 23, 23, 1, 192000, 0x4eaba5a1
+0, 24, 24, 1, 192000, 0x89b84e25
+0, 25, 25, 1, 192000, 0xc368ec1e
+0, 26, 26, 1, 192000, 0xeeafb59e
+0, 27, 27, 1, 192000, 0x0b630619
+0, 28, 28, 1, 192000, 0x59cb8954
+0, 29, 29, 1, 192000, 0x16b2875f
+0, 30, 30, 1, 192000, 0x524e32bd
+0, 31, 31, 1, 192000, 0x96000ba2
+0, 32, 32, 1, 192000, 0x18ec28af
+0, 33, 33, 1, 192000, 0x2609c56c
+0, 34, 34, 1, 192000, 0xff25bb5a
+0, 35, 35, 1, 192000, 0xb19a8819
+0, 36, 36, 1, 192000, 0xa5ff8727
+0, 37, 37, 1, 192000, 0xe83f6289
+0, 38, 38, 1, 192000, 0xc6cb4903
+0, 39, 39, 1, 192000, 0xa4d93eb5
+0, 40, 40, 1, 192000, 0xec84ef6c
+0, 41, 41, 1, 192000, 0x00000000
diff --git a/tests/ref/fate/fraps-v0 b/tests/ref/fate/fraps-v0
index bcf6e2ecb5..3cba8312b7 100644
--- a/tests/ref/fate/fraps-v0
+++ b/tests/ref/fate/fraps-v0
@@ -1,20 +1,21 @@
-0, 0, 101088, 0x7bf448f8
-0, 3600, 101088, 0x1ba749ec
-0, 7200, 101088, 0x94eb4dc4
-0, 10800, 101088, 0xd80b4f54
-0, 14400, 101088, 0x6fd44fff
-0, 18000, 101088, 0xf30e4f12
-0, 21600, 101088, 0x67a04fef
-0, 25200, 101088, 0xd92b4f8e
-0, 28800, 101088, 0x92cd4cde
-0, 32400, 101088, 0x93a34973
-0, 36000, 101088, 0x79a646cb
-0, 39600, 101088, 0x5d9c4227
-0, 43200, 101088, 0x239941ff
-0, 46800, 101088, 0x147e11de
-0, 50400, 101088, 0x3943cbd5
-0, 54000, 101088, 0x2ce1c01f
-0, 57600, 101088, 0xe0b7ec06
-0, 61200, 101088, 0xfe5b9baa
-0, 64800, 101088, 0x9acb4d37
-0, 68400, 101088, 0xbdbd9af5
+#tb 0: 1/25
+0, 0, 0, 1, 101088, 0x7bf448f8
+0, 1, 1, 1, 101088, 0x1ba749ec
+0, 2, 2, 1, 101088, 0x94eb4dc4
+0, 3, 3, 1, 101088, 0xd80b4f54
+0, 4, 4, 1, 101088, 0x6fd44fff
+0, 5, 5, 1, 101088, 0xf30e4f12
+0, 6, 6, 1, 101088, 0x67a04fef
+0, 7, 7, 1, 101088, 0xd92b4f8e
+0, 8, 8, 1, 101088, 0x92cd4cde
+0, 9, 9, 1, 101088, 0x93a34973
+0, 10, 10, 1, 101088, 0x79a646cb
+0, 11, 11, 1, 101088, 0x5d9c4227
+0, 12, 12, 1, 101088, 0x239941ff
+0, 13, 13, 1, 101088, 0x147e11de
+0, 14, 14, 1, 101088, 0x3943cbd5
+0, 15, 15, 1, 101088, 0x2ce1c01f
+0, 16, 16, 1, 101088, 0xe0b7ec06
+0, 17, 17, 1, 101088, 0xfe5b9baa
+0, 18, 18, 1, 101088, 0x9acb4d37
+0, 19, 19, 1, 101088, 0xbdbd9af5
diff --git a/tests/ref/fate/fraps-v1 b/tests/ref/fate/fraps-v1
index 7d09310a2b..64392c33b4 100644
--- a/tests/ref/fate/fraps-v1
+++ b/tests/ref/fate/fraps-v1
@@ -1 +1,2 @@
-0, 0, 230400, 0x6bc891ff
+#tb 0: 1/25
+0, 0, 0, 1, 230400, 0x6bc891ff
diff --git a/tests/ref/fate/fraps-v2 b/tests/ref/fate/fraps-v2
index 63a01f20e5..1ebfb7c281 100644
--- a/tests/ref/fate/fraps-v2
+++ b/tests/ref/fate/fraps-v2
@@ -1,10 +1,11 @@
-0, 0, 1179648, 0x99f80436
-0, 3000, 1179648, 0x99f80436
-0, 6000, 1179648, 0x99f80436
-0, 9000, 1179648, 0x99f80436
-0, 12000, 1179648, 0x99f80436
-0, 15000, 1179648, 0xe8ae7a30
-0, 18000, 1179648, 0xe8ae7a30
-0, 21000, 1179648, 0xe8ae7a30
-0, 24000, 1179648, 0xe8ae7a30
-0, 27000, 1179648, 0xe8ae7a30
+#tb 0: 1/30
+0, 0, 0, 1, 1179648, 0x99f80436
+0, 1, 1, 1, 1179648, 0x99f80436
+0, 2, 2, 1, 1179648, 0x99f80436
+0, 3, 3, 1, 1179648, 0x99f80436
+0, 4, 4, 1, 1179648, 0x99f80436
+0, 5, 5, 1, 1179648, 0xe8ae7a30
+0, 6, 6, 1, 1179648, 0xe8ae7a30
+0, 7, 7, 1, 1179648, 0xe8ae7a30
+0, 8, 8, 1, 1179648, 0xe8ae7a30
+0, 9, 9, 1, 1179648, 0xe8ae7a30
diff --git a/tests/ref/fate/fraps-v3 b/tests/ref/fate/fraps-v3
index ba6620675a..ac8b701767 100644
--- a/tests/ref/fate/fraps-v3
+++ b/tests/ref/fate/fraps-v3
@@ -1,9 +1,10 @@
-0, 0, 589824, 0x0b181bbf
-0, 3000, 589824, 0xcd740f79
-0, 6000, 589824, 0x16f8f90e
-0, 9000, 589824, 0x1aaaceba
-0, 12000, 589824, 0x1aaaceba
-0, 15000, 589824, 0x902e8fe4
-0, 18000, 589824, 0x019a4443
-0, 21000, 589824, 0x019a4443
-0, 24000, 589824, 0x04eff6c6
+#tb 0: 1/30
+0, 0, 0, 1, 589824, 0x0b181bbf
+0, 1, 1, 1, 589824, 0xcd740f79
+0, 2, 2, 1, 589824, 0x16f8f90e
+0, 3, 3, 1, 589824, 0x1aaaceba
+0, 4, 4, 1, 589824, 0x1aaaceba
+0, 5, 5, 1, 589824, 0x902e8fe4
+0, 6, 6, 1, 589824, 0x019a4443
+0, 7, 7, 1, 589824, 0x019a4443
+0, 8, 8, 1, 589824, 0x04eff6c6
diff --git a/tests/ref/fate/fraps-v4 b/tests/ref/fate/fraps-v4
index 4c9377e871..007916dc9d 100644
--- a/tests/ref/fate/fraps-v4
+++ b/tests/ref/fate/fraps-v4
@@ -1,7 +1,8 @@
-0, 0, 491520, 0x68ff12c0
-0, 3000, 491520, 0x22d36f0d
-0, 6000, 491520, 0xce6f877d
-0, 9000, 491520, 0x85d6744c
-0, 12000, 491520, 0x1aa85794
-0, 15000, 491520, 0x528d1274
-0, 18000, 491520, 0x357ec61c
+#tb 0: 1/30
+0, 0, 0, 1, 491520, 0x68ff12c0
+0, 1, 1, 1, 491520, 0x22d36f0d
+0, 2, 2, 1, 491520, 0xce6f877d
+0, 3, 3, 1, 491520, 0x85d6744c
+0, 4, 4, 1, 491520, 0x1aa85794
+0, 5, 5, 1, 491520, 0x528d1274
+0, 6, 6, 1, 491520, 0x357ec61c
diff --git a/tests/ref/fate/fraps-v5 b/tests/ref/fate/fraps-v5
index 3fe1c49329..599683a8a3 100644
--- a/tests/ref/fate/fraps-v5
+++ b/tests/ref/fate/fraps-v5
@@ -1,58 +1,59 @@
-0, 0, 145152, 0x8458d4cb
-0, 3000, 145152, 0xa694d7c7
-0, 6000, 145152, 0x2bd4bfc9
-0, 9000, 145152, 0xe53b1616
-0, 12000, 145152, 0x6a0a806a
-0, 15000, 145152, 0x45f7b8e6
-0, 18000, 145152, 0x4e14150e
-0, 21000, 145152, 0xe1cd9b6f
-0, 24000, 145152, 0x5b5802d7
-0, 27000, 145152, 0xb03da5e7
-0, 30000, 145152, 0x3436b06e
-0, 33000, 145152, 0x4535e638
-0, 36000, 145152, 0x72934af1
-0, 39000, 145152, 0xb672d459
-0, 42000, 145152, 0xab57491b
-0, 45000, 145152, 0xdbac3480
-0, 48000, 145152, 0x54215962
-0, 51000, 145152, 0x451f456e
-0, 54000, 145152, 0xa17655d1
-0, 57000, 145152, 0xce95422c
-0, 60000, 145152, 0xe0ee8e77
-0, 63000, 145152, 0xdaabe277
-0, 66000, 145152, 0xc21bb665
-0, 69000, 145152, 0x1e74270e
-0, 72000, 145152, 0xae7bac5f
-0, 75000, 145152, 0xf62442ed
-0, 78000, 145152, 0x5c8d8984
-0, 81000, 145152, 0x97a69fe7
-0, 84000, 145152, 0x1f244d19
-0, 87000, 145152, 0x2758bc25
-0, 90000, 145152, 0xf43ddb89
-0, 93000, 145152, 0x086a524e
-0, 96000, 145152, 0x8b464d4d
-0, 99000, 145152, 0xb77b63d2
-0, 102000, 145152, 0xfd842fa8
-0, 105000, 145152, 0xa98b6dbe
-0, 108000, 145152, 0xdedbab2c
-0, 111000, 145152, 0x24e19172
-0, 114000, 145152, 0x1ef456f6
-0, 117000, 145152, 0xaceabdf0
-0, 120000, 145152, 0xb54de3d9
-0, 123000, 145152, 0x3af0df9b
-0, 126000, 145152, 0xf89fbd9a
-0, 129000, 145152, 0xc6a9673c
-0, 132000, 145152, 0x6d5a929e
-0, 135000, 145152, 0x879e7d9b
-0, 138000, 145152, 0x233c14eb
-0, 141000, 145152, 0x8246f081
-0, 144000, 145152, 0x3366c4bf
-0, 147000, 145152, 0x6b0203da
-0, 150000, 145152, 0x48a00163
-0, 153000, 145152, 0xe956ac2c
-0, 156000, 145152, 0xa2511283
-0, 159000, 145152, 0x7e03222d
-0, 162000, 145152, 0xc31a7a40
-0, 165000, 145152, 0x80448031
-0, 168000, 145152, 0xe3b1fbf7
-0, 171000, 145152, 0xa00395a4
+#tb 0: 1/30
+0, 0, 0, 1, 145152, 0x8458d4cb
+0, 1, 1, 1, 145152, 0xa694d7c7
+0, 2, 2, 1, 145152, 0x2bd4bfc9
+0, 3, 3, 1, 145152, 0xe53b1616
+0, 4, 4, 1, 145152, 0x6a0a806a
+0, 5, 5, 1, 145152, 0x45f7b8e6
+0, 6, 6, 1, 145152, 0x4e14150e
+0, 7, 7, 1, 145152, 0xe1cd9b6f
+0, 8, 8, 1, 145152, 0x5b5802d7
+0, 9, 9, 1, 145152, 0xb03da5e7
+0, 10, 10, 1, 145152, 0x3436b06e
+0, 11, 11, 1, 145152, 0x4535e638
+0, 12, 12, 1, 145152, 0x72934af1
+0, 13, 13, 1, 145152, 0xb672d459
+0, 14, 14, 1, 145152, 0xab57491b
+0, 15, 15, 1, 145152, 0xdbac3480
+0, 16, 16, 1, 145152, 0x54215962
+0, 17, 17, 1, 145152, 0x451f456e
+0, 18, 18, 1, 145152, 0xa17655d1
+0, 19, 19, 1, 145152, 0xce95422c
+0, 20, 20, 1, 145152, 0xe0ee8e77
+0, 21, 21, 1, 145152, 0xdaabe277
+0, 22, 22, 1, 145152, 0xc21bb665
+0, 23, 23, 1, 145152, 0x1e74270e
+0, 24, 24, 1, 145152, 0xae7bac5f
+0, 25, 25, 1, 145152, 0xf62442ed
+0, 26, 26, 1, 145152, 0x5c8d8984
+0, 27, 27, 1, 145152, 0x97a69fe7
+0, 28, 28, 1, 145152, 0x1f244d19
+0, 29, 29, 1, 145152, 0x2758bc25
+0, 30, 30, 1, 145152, 0xf43ddb89
+0, 31, 31, 1, 145152, 0x086a524e
+0, 32, 32, 1, 145152, 0x8b464d4d
+0, 33, 33, 1, 145152, 0xb77b63d2
+0, 34, 34, 1, 145152, 0xfd842fa8
+0, 35, 35, 1, 145152, 0xa98b6dbe
+0, 36, 36, 1, 145152, 0xdedbab2c
+0, 37, 37, 1, 145152, 0x24e19172
+0, 38, 38, 1, 145152, 0x1ef456f6
+0, 39, 39, 1, 145152, 0xaceabdf0
+0, 40, 40, 1, 145152, 0xb54de3d9
+0, 41, 41, 1, 145152, 0x3af0df9b
+0, 42, 42, 1, 145152, 0xf89fbd9a
+0, 43, 43, 1, 145152, 0xc6a9673c
+0, 44, 44, 1, 145152, 0x6d5a929e
+0, 45, 45, 1, 145152, 0x879e7d9b
+0, 46, 46, 1, 145152, 0x233c14eb
+0, 47, 47, 1, 145152, 0x8246f081
+0, 48, 48, 1, 145152, 0x3366c4bf
+0, 49, 49, 1, 145152, 0x6b0203da
+0, 50, 50, 1, 145152, 0x48a00163
+0, 51, 51, 1, 145152, 0xe956ac2c
+0, 52, 52, 1, 145152, 0xa2511283
+0, 53, 53, 1, 145152, 0x7e03222d
+0, 54, 54, 1, 145152, 0xc31a7a40
+0, 55, 55, 1, 145152, 0x80448031
+0, 56, 56, 1, 145152, 0xe3b1fbf7
+0, 57, 57, 1, 145152, 0xa00395a4
diff --git a/tests/ref/fate/frwu b/tests/ref/fate/frwu
index 6877b8bc2a..32eaa6f029 100644
--- a/tests/ref/fate/frwu
+++ b/tests/ref/fate/frwu
@@ -1,10 +1,11 @@
-0, 0, 153600, 0x050422c0
-0, 6000, 153600, 0x0cf35359
-0, 12000, 153600, 0x2ae95db0
-0, 18000, 153600, 0x8c855b14
-0, 24000, 153600, 0xc7a890b4
-0, 30000, 153600, 0x755bed3b
-0, 36000, 153600, 0x454a4e27
-0, 42000, 153600, 0xdc3eaecb
-0, 48000, 153600, 0x190f9a82
-0, 54000, 153600, 0x4f67511f
+#tb 0: 1/15
+0, 0, 0, 1, 153600, 0x050422c0
+0, 1, 1, 1, 153600, 0x0cf35359
+0, 2, 2, 1, 153600, 0x2ae95db0
+0, 3, 3, 1, 153600, 0x8c855b14
+0, 4, 4, 1, 153600, 0xc7a890b4
+0, 5, 5, 1, 153600, 0x755bed3b
+0, 6, 6, 1, 153600, 0x454a4e27
+0, 7, 7, 1, 153600, 0xdc3eaecb
+0, 8, 8, 1, 153600, 0x190f9a82
+0, 9, 9, 1, 153600, 0x4f67511f
diff --git a/tests/ref/fate/g722dec-1 b/tests/ref/fate/g722dec-1
index 4c4b2b53e7..55f125995d 100644
--- a/tests/ref/fate/g722dec-1
+++ b/tests/ref/fate/g722dec-1
@@ -1,167 +1,168 @@
-0, 0, 4096, 0xde68394d
-0, 11520, 4096, 0xa5c28cb7
-0, 23040, 4096, 0x2e3c2f23
-0, 34560, 4096, 0xd7757825
-0, 46080, 4096, 0xafd1fd61
-0, 57600, 4096, 0x686afcbe
-0, 69120, 4096, 0x2290e848
-0, 80640, 4096, 0xddd484ad
-0, 92160, 4096, 0x148811a6
-0, 103680, 4096, 0x8b965613
-0, 115200, 4096, 0x8b095d51
-0, 126720, 4096, 0xf7625485
-0, 138240, 4096, 0x982a688c
-0, 149760, 4096, 0xc290dcfc
-0, 161280, 4096, 0x8bdef225
-0, 172800, 4096, 0xfca27fdc
-0, 184320, 4096, 0x95eff313
-0, 195840, 4096, 0x691ed4f7
-0, 207360, 4096, 0xd7e7b492
-0, 218880, 4096, 0xb0416bfe
-0, 230400, 4096, 0xf94b3ebd
-0, 241920, 4096, 0x7f73ca12
-0, 253440, 4096, 0xe91da4a3
-0, 264960, 4096, 0x1f74dc0e
-0, 276480, 4096, 0xd95b35e8
-0, 288000, 4096, 0x6dcdde1a
-0, 299520, 4096, 0x614fd4e4
-0, 311040, 4096, 0xe38d0fd5
-0, 322560, 4096, 0xfeba2999
-0, 334080, 4096, 0x1bf541e1
-0, 345600, 4096, 0x689f50d8
-0, 357120, 4096, 0x0aa60f5f
-0, 368640, 4096, 0x60ac3116
-0, 380160, 4096, 0xfa60e5e6
-0, 391680, 4096, 0xc7207c5b
-0, 403200, 4096, 0x01196277
-0, 414720, 4096, 0x609ca46c
-0, 426240, 4096, 0xfb799142
-0, 437760, 4096, 0x720910df
-0, 449280, 4096, 0xe21a8662
-0, 460800, 4096, 0x07105120
-0, 472320, 4096, 0x593f627e
-0, 483840, 4096, 0x28ddc80c
-0, 495360, 4096, 0xc69ef356
-0, 506880, 4096, 0x2defc5bd
-0, 518400, 4096, 0x82a4f418
-0, 529920, 4096, 0x424cb997
-0, 541440, 4096, 0x167a49b7
-0, 552960, 4096, 0x32a3e0d4
-0, 564480, 4096, 0x08a353ae
-0, 576000, 4096, 0x9543577b
-0, 587520, 4096, 0x2ed137cf
-0, 599040, 4096, 0xd80b0538
-0, 610560, 4096, 0x2ad31bef
-0, 622080, 4096, 0x1060cff8
-0, 633600, 4096, 0x76ab5ab8
-0, 645120, 4096, 0x8eedb68d
-0, 656640, 4096, 0xf4e2dc46
-0, 668160, 4096, 0xc52d3326
-0, 679680, 4096, 0x25201a26
-0, 691200, 4096, 0x16419378
-0, 702720, 4096, 0x97061f3c
-0, 714240, 4096, 0xd54edecd
-0, 725760, 4096, 0xc830b07b
-0, 737280, 4096, 0x804bae00
-0, 748800, 4096, 0xbb279150
-0, 760320, 4096, 0x95c4d5aa
-0, 771840, 4096, 0xc51d5259
-0, 783360, 4096, 0x856e1ab0
-0, 794880, 4096, 0x9e6ccb12
-0, 806400, 4096, 0xa2e5c1bb
-0, 817920, 4096, 0xe62fb62f
-0, 829440, 4096, 0xf10e3df0
-0, 840960, 4096, 0x76def18b
-0, 852480, 4096, 0xc9c3a26d
-0, 864000, 4096, 0x8ec0e061
-0, 875520, 4096, 0x3d4e8512
-0, 887040, 4096, 0xec45cd46
-0, 898560, 4096, 0xa34f3ddf
-0, 910080, 4096, 0x52b81c53
-0, 921600, 4096, 0xd0f0397a
-0, 933120, 4096, 0x7c0de231
-0, 944640, 4096, 0xfe86c032
-0, 956160, 4096, 0x67cdb848
-0, 967680, 4096, 0x90532cc0
-0, 979200, 4096, 0x03bca9e9
-0, 990720, 4096, 0x73169fd1
-0, 1002240, 4096, 0x0b93967d
-0, 1013760, 4096, 0x6486d8be
-0, 1025280, 4096, 0x555cc2ac
-0, 1036800, 4096, 0x07c1912e
-0, 1048320, 4096, 0xe0423c66
-0, 1059840, 4096, 0xc12d0fa1
-0, 1071360, 4096, 0xdf497c2f
-0, 1082880, 4096, 0x9298d1ba
-0, 1094400, 4096, 0x691a4e15
-0, 1105920, 4096, 0x725adc6e
-0, 1117440, 4096, 0xf68e88de
-0, 1128960, 4096, 0x37a234aa
-0, 1140480, 4096, 0x43fb0558
-0, 1152000, 4096, 0x653e4320
-0, 1163520, 4096, 0x651e2f13
-0, 1175040, 4096, 0x179049f9
-0, 1186560, 4096, 0xe02fbb9d
-0, 1198080, 4096, 0xb7e9f2a0
-0, 1209600, 4096, 0x94ee81df
-0, 1221120, 4096, 0x398a98de
-0, 1232640, 4096, 0x1267594a
-0, 1244160, 4096, 0x715adbaf
-0, 1255680, 4096, 0x28ce1a20
-0, 1267200, 4096, 0x4f8073d0
-0, 1278720, 4096, 0x536846d3
-0, 1290240, 4096, 0x7dc7defe
-0, 1301760, 4096, 0x08a28e2a
-0, 1313280, 4096, 0xd717c5cd
-0, 1324800, 4096, 0x5d6e1efd
-0, 1336320, 4096, 0x4d0eea27
-0, 1347840, 4096, 0x70fff90c
-0, 1359360, 4096, 0xd5cc8207
-0, 1370880, 4096, 0xf87cae0e
-0, 1382400, 4096, 0x26814ab5
-0, 1393920, 4096, 0x9569fb8d
-0, 1405440, 4096, 0x7835122e
-0, 1416960, 4096, 0xa38840dd
-0, 1428480, 4096, 0xfc499ba3
-0, 1440000, 4096, 0x0aa60cb0
-0, 1451520, 4096, 0x530ef56e
-0, 1463040, 4096, 0xead968db
-0, 1474560, 4096, 0x64484214
-0, 1486080, 4096, 0xfd0cc89e
-0, 1497600, 4096, 0x0d452a5d
-0, 1509120, 4096, 0x36ef8482
-0, 1520640, 4096, 0x462b641b
-0, 1532160, 4096, 0x2a5c1c0c
-0, 1543680, 4096, 0x8837ff80
-0, 1555200, 4096, 0x27a3de22
-0, 1566720, 4096, 0xf88d28c1
-0, 1578240, 4096, 0xed85ea97
-0, 1589760, 4096, 0x50c3e7db
-0, 1601280, 4096, 0x82bcb480
-0, 1612800, 4096, 0xc50ee536
-0, 1624320, 4096, 0x086280ee
-0, 1635840, 4096, 0x6f18f2b2
-0, 1647360, 4096, 0x1c7c0856
-0, 1658880, 4096, 0xc576268a
-0, 1670400, 4096, 0x7a9af56d
-0, 1681920, 4096, 0x6d058fc5
-0, 1693440, 4096, 0x8fb1107b
-0, 1704960, 4096, 0x807588d1
-0, 1716480, 4096, 0x56178443
-0, 1728000, 4096, 0xf2460763
-0, 1739520, 4096, 0x284255f2
-0, 1751040, 4096, 0xb29d17fb
-0, 1762560, 4096, 0x5e7e4633
-0, 1774080, 4096, 0x57704db1
-0, 1785600, 4096, 0xd87dcc1d
-0, 1797120, 4096, 0x28d4bb93
-0, 1808640, 4096, 0x3a2e5c6c
-0, 1820160, 4096, 0xf3581656
-0, 1831680, 4096, 0x42f1942f
-0, 1843200, 4096, 0xe75c5092
-0, 1854720, 4096, 0x3fae7f6d
-0, 1866240, 4096, 0xf99ad73e
-0, 1877760, 4096, 0x80564e3e
-0, 1889280, 4096, 0x8ff6ebe5
-0, 1900800, 4096, 0x436d5e69
-0, 1912320, 1368, 0xe0ebeda3
+#tb 0: 1/16000
+0, 0, 0, 2048, 4096, 0xde68394d
+0, 2048, 2048, 2048, 4096, 0xa5c28cb7
+0, 4096, 4096, 2048, 4096, 0x2e3c2f23
+0, 6144, 6144, 2048, 4096, 0xd7757825
+0, 8192, 8192, 2048, 4096, 0xafd1fd61
+0, 10240, 10240, 2048, 4096, 0x686afcbe
+0, 12288, 12288, 2048, 4096, 0x2290e848
+0, 14336, 14336, 2048, 4096, 0xddd484ad
+0, 16384, 16384, 2048, 4096, 0x148811a6
+0, 18432, 18432, 2048, 4096, 0x8b965613
+0, 20480, 20480, 2048, 4096, 0x8b095d51
+0, 22528, 22528, 2048, 4096, 0xf7625485
+0, 24576, 24576, 2048, 4096, 0x982a688c
+0, 26624, 26624, 2048, 4096, 0xc290dcfc
+0, 28672, 28672, 2048, 4096, 0x8bdef225
+0, 30720, 30720, 2048, 4096, 0xfca27fdc
+0, 32768, 32768, 2048, 4096, 0x95eff313
+0, 34816, 34816, 2048, 4096, 0x691ed4f7
+0, 36864, 36864, 2048, 4096, 0xd7e7b492
+0, 38912, 38912, 2048, 4096, 0xb0416bfe
+0, 40960, 40960, 2048, 4096, 0xf94b3ebd
+0, 43008, 43008, 2048, 4096, 0x7f73ca12
+0, 45056, 45056, 2048, 4096, 0xe91da4a3
+0, 47104, 47104, 2048, 4096, 0x1f74dc0e
+0, 49152, 49152, 2048, 4096, 0xd95b35e8
+0, 51200, 51200, 2048, 4096, 0x6dcdde1a
+0, 53248, 53248, 2048, 4096, 0x614fd4e4
+0, 55296, 55296, 2048, 4096, 0xe38d0fd5
+0, 57344, 57344, 2048, 4096, 0xfeba2999
+0, 59392, 59392, 2048, 4096, 0x1bf541e1
+0, 61440, 61440, 2048, 4096, 0x689f50d8
+0, 63488, 63488, 2048, 4096, 0x0aa60f5f
+0, 65536, 65536, 2048, 4096, 0x60ac3116
+0, 67584, 67584, 2048, 4096, 0xfa60e5e6
+0, 69632, 69632, 2048, 4096, 0xc7207c5b
+0, 71680, 71680, 2048, 4096, 0x01196277
+0, 73728, 73728, 2048, 4096, 0x609ca46c
+0, 75776, 75776, 2048, 4096, 0xfb799142
+0, 77824, 77824, 2048, 4096, 0x720910df
+0, 79872, 79872, 2048, 4096, 0xe21a8662
+0, 81920, 81920, 2048, 4096, 0x07105120
+0, 83968, 83968, 2048, 4096, 0x593f627e
+0, 86016, 86016, 2048, 4096, 0x28ddc80c
+0, 88064, 88064, 2048, 4096, 0xc69ef356
+0, 90112, 90112, 2048, 4096, 0x2defc5bd
+0, 92160, 92160, 2048, 4096, 0x82a4f418
+0, 94208, 94208, 2048, 4096, 0x424cb997
+0, 96256, 96256, 2048, 4096, 0x167a49b7
+0, 98304, 98304, 2048, 4096, 0x32a3e0d4
+0, 100352, 100352, 2048, 4096, 0x08a353ae
+0, 102400, 102400, 2048, 4096, 0x9543577b
+0, 104448, 104448, 2048, 4096, 0x2ed137cf
+0, 106496, 106496, 2048, 4096, 0xd80b0538
+0, 108544, 108544, 2048, 4096, 0x2ad31bef
+0, 110592, 110592, 2048, 4096, 0x1060cff8
+0, 112640, 112640, 2048, 4096, 0x76ab5ab8
+0, 114688, 114688, 2048, 4096, 0x8eedb68d
+0, 116736, 116736, 2048, 4096, 0xf4e2dc46
+0, 118784, 118784, 2048, 4096, 0xc52d3326
+0, 120832, 120832, 2048, 4096, 0x25201a26
+0, 122880, 122880, 2048, 4096, 0x16419378
+0, 124928, 124928, 2048, 4096, 0x97061f3c
+0, 126976, 126976, 2048, 4096, 0xd54edecd
+0, 129024, 129024, 2048, 4096, 0xc830b07b
+0, 131072, 131072, 2048, 4096, 0x804bae00
+0, 133120, 133120, 2048, 4096, 0xbb279150
+0, 135168, 135168, 2048, 4096, 0x95c4d5aa
+0, 137216, 137216, 2048, 4096, 0xc51d5259
+0, 139264, 139264, 2048, 4096, 0x856e1ab0
+0, 141312, 141312, 2048, 4096, 0x9e6ccb12
+0, 143360, 143360, 2048, 4096, 0xa2e5c1bb
+0, 145408, 145408, 2048, 4096, 0xe62fb62f
+0, 147456, 147456, 2048, 4096, 0xf10e3df0
+0, 149504, 149504, 2048, 4096, 0x76def18b
+0, 151552, 151552, 2048, 4096, 0xc9c3a26d
+0, 153600, 153600, 2048, 4096, 0x8ec0e061
+0, 155648, 155648, 2048, 4096, 0x3d4e8512
+0, 157696, 157696, 2048, 4096, 0xec45cd46
+0, 159744, 159744, 2048, 4096, 0xa34f3ddf
+0, 161792, 161792, 2048, 4096, 0x52b81c53
+0, 163840, 163840, 2048, 4096, 0xd0f0397a
+0, 165888, 165888, 2048, 4096, 0x7c0de231
+0, 167936, 167936, 2048, 4096, 0xfe86c032
+0, 169984, 169984, 2048, 4096, 0x67cdb848
+0, 172032, 172032, 2048, 4096, 0x90532cc0
+0, 174080, 174080, 2048, 4096, 0x03bca9e9
+0, 176128, 176128, 2048, 4096, 0x73169fd1
+0, 178176, 178176, 2048, 4096, 0x0b93967d
+0, 180224, 180224, 2048, 4096, 0x6486d8be
+0, 182272, 182272, 2048, 4096, 0x555cc2ac
+0, 184320, 184320, 2048, 4096, 0x07c1912e
+0, 186368, 186368, 2048, 4096, 0xe0423c66
+0, 188416, 188416, 2048, 4096, 0xc12d0fa1
+0, 190464, 190464, 2048, 4096, 0xdf497c2f
+0, 192512, 192512, 2048, 4096, 0x9298d1ba
+0, 194560, 194560, 2048, 4096, 0x691a4e15
+0, 196608, 196608, 2048, 4096, 0x725adc6e
+0, 198656, 198656, 2048, 4096, 0xf68e88de
+0, 200704, 200704, 2048, 4096, 0x37a234aa
+0, 202752, 202752, 2048, 4096, 0x43fb0558
+0, 204800, 204800, 2048, 4096, 0x653e4320
+0, 206848, 206848, 2048, 4096, 0x651e2f13
+0, 208896, 208896, 2048, 4096, 0x179049f9
+0, 210944, 210944, 2048, 4096, 0xe02fbb9d
+0, 212992, 212992, 2048, 4096, 0xb7e9f2a0
+0, 215040, 215040, 2048, 4096, 0x94ee81df
+0, 217088, 217088, 2048, 4096, 0x398a98de
+0, 219136, 219136, 2048, 4096, 0x1267594a
+0, 221184, 221184, 2048, 4096, 0x715adbaf
+0, 223232, 223232, 2048, 4096, 0x28ce1a20
+0, 225280, 225280, 2048, 4096, 0x4f8073d0
+0, 227328, 227328, 2048, 4096, 0x536846d3
+0, 229376, 229376, 2048, 4096, 0x7dc7defe
+0, 231424, 231424, 2048, 4096, 0x08a28e2a
+0, 233472, 233472, 2048, 4096, 0xd717c5cd
+0, 235520, 235520, 2048, 4096, 0x5d6e1efd
+0, 237568, 237568, 2048, 4096, 0x4d0eea27
+0, 239616, 239616, 2048, 4096, 0x70fff90c
+0, 241664, 241664, 2048, 4096, 0xd5cc8207
+0, 243712, 243712, 2048, 4096, 0xf87cae0e
+0, 245760, 245760, 2048, 4096, 0x26814ab5
+0, 247808, 247808, 2048, 4096, 0x9569fb8d
+0, 249856, 249856, 2048, 4096, 0x7835122e
+0, 251904, 251904, 2048, 4096, 0xa38840dd
+0, 253952, 253952, 2048, 4096, 0xfc499ba3
+0, 256000, 256000, 2048, 4096, 0x0aa60cb0
+0, 258048, 258048, 2048, 4096, 0x530ef56e
+0, 260096, 260096, 2048, 4096, 0xead968db
+0, 262144, 262144, 2048, 4096, 0x64484214
+0, 264192, 264192, 2048, 4096, 0xfd0cc89e
+0, 266240, 266240, 2048, 4096, 0x0d452a5d
+0, 268288, 268288, 2048, 4096, 0x36ef8482
+0, 270336, 270336, 2048, 4096, 0x462b641b
+0, 272384, 272384, 2048, 4096, 0x2a5c1c0c
+0, 274432, 274432, 2048, 4096, 0x8837ff80
+0, 276480, 276480, 2048, 4096, 0x27a3de22
+0, 278528, 278528, 2048, 4096, 0xf88d28c1
+0, 280576, 280576, 2048, 4096, 0xed85ea97
+0, 282624, 282624, 2048, 4096, 0x50c3e7db
+0, 284672, 284672, 2048, 4096, 0x82bcb480
+0, 286720, 286720, 2048, 4096, 0xc50ee536
+0, 288768, 288768, 2048, 4096, 0x086280ee
+0, 290816, 290816, 2048, 4096, 0x6f18f2b2
+0, 292864, 292864, 2048, 4096, 0x1c7c0856
+0, 294912, 294912, 2048, 4096, 0xc576268a
+0, 296960, 296960, 2048, 4096, 0x7a9af56d
+0, 299008, 299008, 2048, 4096, 0x6d058fc5
+0, 301056, 301056, 2048, 4096, 0x8fb1107b
+0, 303104, 303104, 2048, 4096, 0x807588d1
+0, 305152, 305152, 2048, 4096, 0x56178443
+0, 307200, 307200, 2048, 4096, 0xf2460763
+0, 309248, 309248, 2048, 4096, 0x284255f2
+0, 311296, 311296, 2048, 4096, 0xb29d17fb
+0, 313344, 313344, 2048, 4096, 0x5e7e4633
+0, 315392, 315392, 2048, 4096, 0x57704db1
+0, 317440, 317440, 2048, 4096, 0xd87dcc1d
+0, 319488, 319488, 2048, 4096, 0x28d4bb93
+0, 321536, 321536, 2048, 4096, 0x3a2e5c6c
+0, 323584, 323584, 2048, 4096, 0xf3581656
+0, 325632, 325632, 2048, 4096, 0x42f1942f
+0, 327680, 327680, 2048, 4096, 0xe75c5092
+0, 329728, 329728, 2048, 4096, 0x3fae7f6d
+0, 331776, 331776, 2048, 4096, 0xf99ad73e
+0, 333824, 333824, 2048, 4096, 0x80564e3e
+0, 335872, 335872, 2048, 4096, 0x8ff6ebe5
+0, 337920, 337920, 2048, 4096, 0x436d5e69
+0, 339968, 339968, 684, 1368, 0xe0ebeda3
diff --git a/tests/ref/fate/gsm-ms b/tests/ref/fate/gsm-ms
index 76a6f2954f..6d15cb8f3f 100644
--- a/tests/ref/fate/gsm-ms
+++ b/tests/ref/fate/gsm-ms
@@ -1,89 +1,90 @@
-0, 0, 640, 0xf79c59ee
-0, 3600, 640, 0x6e6248be
-0, 7200, 640, 0x2a5b3aed
-0, 10800, 640, 0xf7012e06
-0, 14400, 640, 0x626645cd
-0, 18000, 640, 0x9f482b66
-0, 21600, 640, 0xea443886
-0, 25200, 640, 0xa79b3dc0
-0, 28800, 640, 0x0161263f
-0, 32400, 640, 0x61b33154
-0, 36000, 640, 0xf7fa388c
-0, 39600, 640, 0xb63038e9
-0, 43200, 640, 0x61b03506
-0, 46800, 640, 0xed4e2eac
-0, 50400, 640, 0x9b8127f1
-0, 54000, 640, 0xe50627be
-0, 57600, 640, 0x6b5038f9
-0, 61200, 640, 0x8e794c10
-0, 64800, 640, 0x426d2c93
-0, 68400, 640, 0x9a373111
-0, 72000, 640, 0x94132ccb
-0, 75600, 640, 0x610b3788
-0, 79200, 640, 0x27204206
-0, 82800, 640, 0xbdf82268
-0, 86400, 640, 0x2e653066
-0, 90000, 640, 0xccfd2328
-0, 93600, 640, 0xf2431e04
-0, 97200, 640, 0x7b412094
-0, 100800, 640, 0x5c2635fa
-0, 104400, 640, 0xdcbd2c60
-0, 108000, 640, 0x65173699
-0, 111600, 640, 0xbcff19ed
-0, 115200, 640, 0xf5b2206c
-0, 118800, 640, 0x587e460c
-0, 122400, 640, 0x2418382d
-0, 126000, 640, 0xbfad2f9b
-0, 129600, 640, 0x87d92d6c
-0, 133200, 640, 0xdc582c69
-0, 136800, 640, 0xcfe52ebf
-0, 140400, 640, 0xe0032e70
-0, 144000, 640, 0xf8a61b57
-0, 147600, 640, 0xa9ef2ee5
-0, 151200, 640, 0x7f513313
-0, 154800, 640, 0x93731177
-0, 158400, 640, 0xed2c2340
-0, 162000, 640, 0x85b02913
-0, 165600, 640, 0xa5a92f3e
-0, 169200, 640, 0x72472490
-0, 172800, 640, 0x856231fc
-0, 176400, 640, 0xda2e3c22
-0, 180000, 640, 0xcce84c36
-0, 183600, 640, 0x39312c78
-0, 187200, 640, 0xf1aa2365
-0, 190800, 640, 0x1dba3f7e
-0, 194400, 640, 0x21953579
-0, 198000, 640, 0xbbd52c22
-0, 201600, 640, 0x45c71537
-0, 205200, 640, 0x26051cec
-0, 208800, 640, 0x27ae223e
-0, 212400, 640, 0x223c0bb8
-0, 216000, 640, 0xc5b72796
-0, 219600, 640, 0xe7fd294d
-0, 223200, 640, 0x19042293
-0, 226800, 640, 0xa6572c6b
-0, 230400, 640, 0x58ac1d16
-0, 234000, 640, 0xd0631bd6
-0, 237600, 640, 0xe74f276c
-0, 241200, 640, 0x87d0295f
-0, 244800, 640, 0x054e3dc8
-0, 248400, 640, 0x0ca51c2d
-0, 252000, 640, 0x17a02616
-0, 255600, 640, 0x56b2235d
-0, 259200, 640, 0x1cd93302
-0, 262800, 640, 0xe3672352
-0, 266400, 640, 0xc99f2e45
-0, 270000, 640, 0x36a43e9d
-0, 273600, 640, 0xfcd73e87
-0, 277200, 640, 0x813b2e20
-0, 280800, 640, 0x8f7a4cac
-0, 284400, 640, 0xcf3e4106
-0, 288000, 640, 0x8a752b07
-0, 291600, 640, 0xe5013dcd
-0, 295200, 640, 0xda4a3d03
-0, 298800, 640, 0x05ce2c64
-0, 302400, 640, 0x1e0f42b5
-0, 306000, 640, 0xe4bd326a
-0, 309600, 640, 0x701c28de
-0, 313200, 640, 0xd0b02f97
-0, 316800, 640, 0x7950419b
+#tb 0: 1/8000
+0, 0, 0, 320, 640, 0xf79c59ee
+0, 320, 320, 320, 640, 0x6e6248be
+0, 640, 640, 320, 640, 0x2a5b3aed
+0, 960, 960, 320, 640, 0xf7012e06
+0, 1280, 1280, 320, 640, 0x626645cd
+0, 1600, 1600, 320, 640, 0x9f482b66
+0, 1920, 1920, 320, 640, 0xea443886
+0, 2240, 2240, 320, 640, 0xa79b3dc0
+0, 2560, 2560, 320, 640, 0x0161263f
+0, 2880, 2880, 320, 640, 0x61b33154
+0, 3200, 3200, 320, 640, 0xf7fa388c
+0, 3520, 3520, 320, 640, 0xb63038e9
+0, 3840, 3840, 320, 640, 0x61b03506
+0, 4160, 4160, 320, 640, 0xed4e2eac
+0, 4480, 4480, 320, 640, 0x9b8127f1
+0, 4800, 4800, 320, 640, 0xe50627be
+0, 5120, 5120, 320, 640, 0x6b5038f9
+0, 5440, 5440, 320, 640, 0x8e794c10
+0, 5760, 5760, 320, 640, 0x426d2c93
+0, 6080, 6080, 320, 640, 0x9a373111
+0, 6400, 6400, 320, 640, 0x94132ccb
+0, 6720, 6720, 320, 640, 0x610b3788
+0, 7040, 7040, 320, 640, 0x27204206
+0, 7360, 7360, 320, 640, 0xbdf82268
+0, 7680, 7680, 320, 640, 0x2e653066
+0, 8000, 8000, 320, 640, 0xccfd2328
+0, 8320, 8320, 320, 640, 0xf2431e04
+0, 8640, 8640, 320, 640, 0x7b412094
+0, 8960, 8960, 320, 640, 0x5c2635fa
+0, 9280, 9280, 320, 640, 0xdcbd2c60
+0, 9600, 9600, 320, 640, 0x65173699
+0, 9920, 9920, 320, 640, 0xbcff19ed
+0, 10240, 10240, 320, 640, 0xf5b2206c
+0, 10560, 10560, 320, 640, 0x587e460c
+0, 10880, 10880, 320, 640, 0x2418382d
+0, 11200, 11200, 320, 640, 0xbfad2f9b
+0, 11520, 11520, 320, 640, 0x87d92d6c
+0, 11840, 11840, 320, 640, 0xdc582c69
+0, 12160, 12160, 320, 640, 0xcfe52ebf
+0, 12480, 12480, 320, 640, 0xe0032e70
+0, 12800, 12800, 320, 640, 0xf8a61b57
+0, 13120, 13120, 320, 640, 0xa9ef2ee5
+0, 13440, 13440, 320, 640, 0x7f513313
+0, 13760, 13760, 320, 640, 0x93731177
+0, 14080, 14080, 320, 640, 0xed2c2340
+0, 14400, 14400, 320, 640, 0x85b02913
+0, 14720, 14720, 320, 640, 0xa5a92f3e
+0, 15040, 15040, 320, 640, 0x72472490
+0, 15360, 15360, 320, 640, 0x856231fc
+0, 15680, 15680, 320, 640, 0xda2e3c22
+0, 16000, 16000, 320, 640, 0xcce84c36
+0, 16320, 16320, 320, 640, 0x39312c78
+0, 16640, 16640, 320, 640, 0xf1aa2365
+0, 16960, 16960, 320, 640, 0x1dba3f7e
+0, 17280, 17280, 320, 640, 0x21953579
+0, 17600, 17600, 320, 640, 0xbbd52c22
+0, 17920, 17920, 320, 640, 0x45c71537
+0, 18240, 18240, 320, 640, 0x26051cec
+0, 18560, 18560, 320, 640, 0x27ae223e
+0, 18880, 18880, 320, 640, 0x223c0bb8
+0, 19200, 19200, 320, 640, 0xc5b72796
+0, 19520, 19520, 320, 640, 0xe7fd294d
+0, 19840, 19840, 320, 640, 0x19042293
+0, 20160, 20160, 320, 640, 0xa6572c6b
+0, 20480, 20480, 320, 640, 0x58ac1d16
+0, 20800, 20800, 320, 640, 0xd0631bd6
+0, 21120, 21120, 320, 640, 0xe74f276c
+0, 21440, 21440, 320, 640, 0x87d0295f
+0, 21760, 21760, 320, 640, 0x054e3dc8
+0, 22080, 22080, 320, 640, 0x0ca51c2d
+0, 22400, 22400, 320, 640, 0x17a02616
+0, 22720, 22720, 320, 640, 0x56b2235d
+0, 23040, 23040, 320, 640, 0x1cd93302
+0, 23360, 23360, 320, 640, 0xe3672352
+0, 23680, 23680, 320, 640, 0xc99f2e45
+0, 24000, 24000, 320, 640, 0x36a43e9d
+0, 24320, 24320, 320, 640, 0xfcd73e87
+0, 24640, 24640, 320, 640, 0x813b2e20
+0, 24960, 24960, 320, 640, 0x8f7a4cac
+0, 25280, 25280, 320, 640, 0xcf3e4106
+0, 25600, 25600, 320, 640, 0x8a752b07
+0, 25920, 25920, 320, 640, 0xe5013dcd
+0, 26240, 26240, 320, 640, 0xda4a3d03
+0, 26560, 26560, 320, 640, 0x05ce2c64
+0, 26880, 26880, 320, 640, 0x1e0f42b5
+0, 27200, 27200, 320, 640, 0xe4bd326a
+0, 27520, 27520, 320, 640, 0x701c28de
+0, 27840, 27840, 320, 640, 0xd0b02f97
+0, 28160, 28160, 320, 640, 0x7950419b
diff --git a/tests/ref/fate/gsm-toast b/tests/ref/fate/gsm-toast
index 89f87d429f..721e4e41d5 100644
--- a/tests/ref/fate/gsm-toast
+++ b/tests/ref/fate/gsm-toast
@@ -1,500 +1,501 @@
-0, 0, 320, 0x4c32ab06
-0, 1800, 320, 0x2052a4e7
-0, 3600, 320, 0xe9aeafca
-0, 5400, 320, 0xde83b450
-0, 7200, 320, 0x06a6a80e
-0, 9000, 320, 0xf6aeb1e2
-0, 10800, 320, 0x2623b40c
-0, 12600, 320, 0x8ec69f25
-0, 14400, 320, 0xddaaac88
-0, 16200, 320, 0x9e60b713
-0, 18000, 320, 0xb738ab30
-0, 19800, 320, 0xdb4bbb92
-0, 21600, 320, 0x0370ae8b
-0, 23400, 320, 0xb611a3fb
-0, 25200, 320, 0x07ee8e3b
-0, 27000, 320, 0xdb1ec628
-0, 28800, 320, 0xd5f1bda2
-0, 30600, 320, 0xcabb9a9c
-0, 32400, 320, 0x16c8ad61
-0, 34200, 320, 0xf76fc25e
-0, 36000, 320, 0x7118a10d
-0, 37800, 320, 0x29f9a0db
-0, 39600, 320, 0x41f2a4ef
-0, 41400, 320, 0x36dfb231
-0, 43200, 320, 0xc5399eda
-0, 45000, 320, 0x17d4b9e0
-0, 46800, 320, 0x2b5797ac
-0, 48600, 320, 0x0128c5e7
-0, 50400, 320, 0xf4f38037
-0, 52200, 320, 0x77d6b5f2
-0, 54000, 320, 0xd94a93e0
-0, 55800, 320, 0x968daae3
-0, 57600, 320, 0xda5ba0ec
-0, 59400, 320, 0x316da1ec
-0, 61200, 320, 0x3a35b2d2
-0, 63000, 320, 0xca0b988f
-0, 64800, 320, 0x1295b0b1
-0, 66600, 320, 0xe121ae72
-0, 68400, 320, 0x7da7ad43
-0, 70200, 320, 0x96a49cfe
-0, 72000, 320, 0x70c2b1de
-0, 73800, 320, 0x668d88c0
-0, 75600, 320, 0x5460b5a8
-0, 77400, 320, 0x6ac78eab
-0, 79200, 320, 0x0d8dab87
-0, 81000, 320, 0xe2be94af
-0, 82800, 320, 0x3487acdc
-0, 84600, 320, 0x5048955a
-0, 86400, 320, 0x2ef4ae0d
-0, 88200, 320, 0xc765b773
-0, 90000, 320, 0xad96a486
-0, 91800, 320, 0xb9fdbf1f
-0, 93600, 320, 0xf26c9ecf
-0, 95400, 320, 0xbcadb535
-0, 97200, 320, 0xa8c897bc
-0, 99000, 320, 0xaa58b520
-0, 100800, 320, 0xcb48a716
-0, 102600, 320, 0x4d5da564
-0, 104400, 320, 0x9809ae28
-0, 106200, 320, 0x5baeb1e4
-0, 108000, 320, 0x6a719b63
-0, 109800, 320, 0xc27d92f0
-0, 111600, 320, 0x0e9b9fe9
-0, 113400, 320, 0xbf9d9bf7
-0, 115200, 320, 0xf35aa64d
-0, 117000, 320, 0x26449ce8
-0, 118800, 320, 0x58f4a997
-0, 120600, 320, 0x155da289
-0, 122400, 320, 0x63b19a5c
-0, 124200, 320, 0xe01aad38
-0, 126000, 320, 0x4e0f9c43
-0, 127800, 320, 0x9447a284
-0, 129600, 320, 0xdb36a433
-0, 131400, 320, 0x799a9b2c
-0, 133200, 320, 0x1526a162
-0, 135000, 320, 0x0a4ea140
-0, 136800, 320, 0xb08f9ed7
-0, 138600, 320, 0x221bab76
-0, 140400, 320, 0x4befacf0
-0, 142200, 320, 0xac489509
-0, 144000, 320, 0x57a1a5b4
-0, 145800, 320, 0x81e8ab97
-0, 147600, 320, 0xc6ada4d6
-0, 149400, 320, 0x12489975
-0, 151200, 320, 0x1da59ba9
-0, 153000, 320, 0xf225ac62
-0, 154800, 320, 0x8c8e9eab
-0, 156600, 320, 0x10599dec
-0, 158400, 320, 0x06c39fa5
-0, 160200, 320, 0xb0efa3c4
-0, 162000, 320, 0x72caadab
-0, 163800, 320, 0xe4619ff0
-0, 165600, 320, 0x49bca017
-0, 167400, 320, 0x413f9fbe
-0, 169200, 320, 0x6eaed0ee
-0, 171000, 320, 0x27e4b1eb
-0, 172800, 320, 0x8c42a30f
-0, 174600, 320, 0x0afaa0f4
-0, 176400, 320, 0x0f74b76b
-0, 178200, 320, 0xa9a2b9d5
-0, 180000, 320, 0xde2a8712
-0, 181800, 320, 0xcfc8b3a2
-0, 183600, 320, 0x768cadce
-0, 185400, 320, 0x3a8a97f1
-0, 187200, 320, 0x502fa59b
-0, 189000, 320, 0x4c3e9b0f
-0, 190800, 320, 0x1cd2b111
-0, 192600, 320, 0xa845a5a3
-0, 194400, 320, 0xa6b8b982
-0, 196200, 320, 0x4d5caab9
-0, 198000, 320, 0x7993b604
-0, 199800, 320, 0x8d19b37b
-0, 201600, 320, 0xbe48adb6
-0, 203400, 320, 0x7d68ab8e
-0, 205200, 320, 0xbfffb0e2
-0, 207000, 320, 0x90b5b7e3
-0, 208800, 320, 0x9fa1b016
-0, 210600, 320, 0x70abafc9
-0, 212400, 320, 0x82cfad9c
-0, 214200, 320, 0x05f6aa2c
-0, 216000, 320, 0x511cbb5b
-0, 217800, 320, 0xd27caaa6
-0, 219600, 320, 0x781ca481
-0, 221400, 320, 0x12e9ad1a
-0, 223200, 320, 0xe46b989d
-0, 225000, 320, 0x76dbb0a7
-0, 226800, 320, 0x10eba486
-0, 228600, 320, 0x2269a7c8
-0, 230400, 320, 0x084a9c7e
-0, 232200, 320, 0x84eda891
-0, 234000, 320, 0x2ef9a639
-0, 235800, 320, 0x8bb2a0dd
-0, 237600, 320, 0x47e5a169
-0, 239400, 320, 0x98faae42
-0, 241200, 320, 0x81d2aba4
-0, 243000, 320, 0x5af8bb33
-0, 244800, 320, 0x331e8d9f
-0, 246600, 320, 0xd9b0c09a
-0, 248400, 320, 0xbaf9bfcf
-0, 250200, 320, 0x54e89ab5
-0, 252000, 320, 0x1d62c1d2
-0, 253800, 320, 0xead6b436
-0, 255600, 320, 0x465f98bc
-0, 257400, 320, 0xe707a346
-0, 259200, 320, 0xf66cb1c2
-0, 261000, 320, 0xcfc89ae6
-0, 262800, 320, 0x0b10b796
-0, 264600, 320, 0xb29caf2c
-0, 266400, 320, 0x0284a9d1
-0, 268200, 320, 0xb966b5fc
-0, 270000, 320, 0x2defa630
-0, 271800, 320, 0xcdcd8ef3
-0, 273600, 320, 0xa81bba2b
-0, 275400, 320, 0x6bc0aeb1
-0, 277200, 320, 0x38d8ac82
-0, 279000, 320, 0xeb66a865
-0, 280800, 320, 0x4fff9cd9
-0, 282600, 320, 0x6819a19b
-0, 284400, 320, 0xfd7c93ce
-0, 286200, 320, 0xa7419f63
-0, 288000, 320, 0x572caacb
-0, 289800, 320, 0x918fb1de
-0, 291600, 320, 0x0088a675
-0, 293400, 320, 0x19229cf7
-0, 295200, 320, 0x827ea812
-0, 297000, 320, 0x6c258ef7
-0, 298800, 320, 0x6a89b8fe
-0, 300600, 320, 0x166c9ce0
-0, 302400, 320, 0x68b39db7
-0, 304200, 320, 0x3d5aa8ec
-0, 306000, 320, 0x25e09ff3
-0, 307800, 320, 0x759aa4ce
-0, 309600, 320, 0xe5aab0ea
-0, 311400, 320, 0xf0359e9a
-0, 313200, 320, 0x51199fff
-0, 315000, 320, 0xb04aa236
-0, 316800, 320, 0xe09da0e3
-0, 318600, 320, 0x144f98a9
-0, 320400, 320, 0x0b4e9f8d
-0, 322200, 320, 0xbb69a090
-0, 324000, 320, 0xec6e9b5b
-0, 325800, 320, 0x4f86a477
-0, 327600, 320, 0x4a179d04
-0, 329400, 320, 0x9682a375
-0, 331200, 320, 0x3c6ba55e
-0, 333000, 320, 0x50c0ab50
-0, 334800, 320, 0xe58ea907
-0, 336600, 320, 0xc5eaa021
-0, 338400, 320, 0x38859f01
-0, 340200, 320, 0x73f8a540
-0, 342000, 320, 0x395da234
-0, 343800, 320, 0x7f50b144
-0, 345600, 320, 0x45568ceb
-0, 347400, 320, 0xd0508dec
-0, 349200, 320, 0x60aba7e4
-0, 351000, 320, 0x4b24b15f
-0, 352800, 320, 0xbfc9afd6
-0, 354600, 320, 0xf0f2ad49
-0, 356400, 320, 0xeea0a426
-0, 358200, 320, 0xff07a7c9
-0, 360000, 320, 0xce1fc788
-0, 361800, 320, 0xc074ae9b
-0, 363600, 320, 0x51649696
-0, 365400, 320, 0x24399744
-0, 367200, 320, 0xfb0eb920
-0, 369000, 320, 0x3bf8af5c
-0, 370800, 320, 0xeab69ee0
-0, 372600, 320, 0x182696bb
-0, 374400, 320, 0x36e6af72
-0, 376200, 320, 0x48cc9ecc
-0, 378000, 320, 0xfb3ca7b8
-0, 379800, 320, 0xe01aa4b4
-0, 381600, 320, 0x5c6dac8c
-0, 383400, 320, 0x072fbd93
-0, 385200, 320, 0xc8899ccc
-0, 387000, 320, 0xdcc990ac
-0, 388800, 320, 0x28e0a9d0
-0, 390600, 320, 0x0cdbaa11
-0, 392400, 320, 0x8f4ca093
-0, 394200, 320, 0x7ee79ea9
-0, 396000, 320, 0xa762b695
-0, 397800, 320, 0x9af0b5da
-0, 399600, 320, 0x1f2cb0e7
-0, 401400, 320, 0x6029b8bb
-0, 403200, 320, 0xf2f7acec
-0, 405000, 320, 0xb3e5b5be
-0, 406800, 320, 0x266ba8a6
-0, 408600, 320, 0x4ff59296
-0, 410400, 320, 0x11d1b9ac
-0, 412200, 320, 0x749197f7
-0, 414000, 320, 0x8192b517
-0, 415800, 320, 0xde129dbe
-0, 417600, 320, 0x85e4a096
-0, 419400, 320, 0xdebf9182
-0, 421200, 320, 0x7a4ba0bf
-0, 423000, 320, 0x55fe9fcd
-0, 424800, 320, 0xd242adec
-0, 426600, 320, 0xeaf5b159
-0, 428400, 320, 0xfcb1a571
-0, 430200, 320, 0x62fabda0
-0, 432000, 320, 0x45a9abcc
-0, 433800, 320, 0x07af974b
-0, 435600, 320, 0xc2a0b4fd
-0, 437400, 320, 0xc30abccd
-0, 439200, 320, 0xd33ca61c
-0, 441000, 320, 0x3c33d11a
-0, 442800, 320, 0x9c2ca0ac
-0, 444600, 320, 0xa5d69777
-0, 446400, 320, 0xb7d2c6b8
-0, 448200, 320, 0x34bbaab9
-0, 450000, 320, 0x3e7baccb
-0, 451800, 320, 0x92c6b7e6
-0, 453600, 320, 0xc810a18a
-0, 455400, 320, 0x06a09f56
-0, 457200, 320, 0x8804a504
-0, 459000, 320, 0x783ba7d5
-0, 460800, 320, 0x24dcada6
-0, 462600, 320, 0x4af796be
-0, 464400, 320, 0x1454b19c
-0, 466200, 320, 0x0ad0a56e
-0, 468000, 320, 0x8944a44e
-0, 469800, 320, 0x31069ebd
-0, 471600, 320, 0x19cb9812
-0, 473400, 320, 0xac75abe2
-0, 475200, 320, 0x0162a200
-0, 477000, 320, 0xa2d7a4b2
-0, 478800, 320, 0x078ca611
-0, 480600, 320, 0x0ec39b40
-0, 482400, 320, 0xe8f794b2
-0, 484200, 320, 0xc2cfb258
-0, 486000, 320, 0xe4759061
-0, 487800, 320, 0xb1b6aea4
-0, 489600, 320, 0x9bfb96df
-0, 491400, 320, 0xcc61b5d3
-0, 493200, 320, 0xd14e8df9
-0, 495000, 320, 0xd9d5bbf5
-0, 496800, 320, 0x4d9fa9b0
-0, 498600, 320, 0xf606abfc
-0, 500400, 320, 0x720baa19
-0, 502200, 320, 0x7f7cac49
-0, 504000, 320, 0xceab9b54
-0, 505800, 320, 0x645fa70a
-0, 507600, 320, 0xa081a40f
-0, 509400, 320, 0x21d78f8c
-0, 511200, 320, 0xedf3abc6
-0, 513000, 320, 0x17679637
-0, 514800, 320, 0x1cb1ae04
-0, 516600, 320, 0x17cd9f62
-0, 518400, 320, 0xf4bca3ab
-0, 520200, 320, 0xb3bd9152
-0, 522000, 320, 0x4e1e9825
-0, 523800, 320, 0x037e9a56
-0, 525600, 320, 0xd7589fcc
-0, 527400, 320, 0x5f949e90
-0, 529200, 320, 0xe133a495
-0, 531000, 320, 0x7cb7a52c
-0, 532800, 320, 0xb8b29d95
-0, 534600, 320, 0x01bca472
-0, 536400, 320, 0xbcc69895
-0, 538200, 320, 0xabffa0ee
-0, 540000, 320, 0xe6629eca
-0, 541800, 320, 0x572da7cd
-0, 543600, 320, 0x3017972d
-0, 545400, 320, 0xac4e9c78
-0, 547200, 320, 0x112f9c45
-0, 549000, 320, 0x05e9a64d
-0, 550800, 320, 0x8f7394d4
-0, 552600, 320, 0xbaeea07e
-0, 554400, 320, 0xd757c00e
-0, 556200, 320, 0x8aa09783
-0, 558000, 320, 0x31d4ae7a
-0, 559800, 320, 0x221493e8
-0, 561600, 320, 0x92f4a3a7
-0, 563400, 320, 0xbd5bafd9
-0, 565200, 320, 0x1895b760
-0, 567000, 320, 0x7a4eacdd
-0, 568800, 320, 0xc9f7a1c3
-0, 570600, 320, 0xd750be06
-0, 572400, 320, 0x641d9a6f
-0, 574200, 320, 0x70d6b6ff
-0, 576000, 320, 0x1fd3a546
-0, 577800, 320, 0x72cfaabe
-0, 579600, 320, 0x2e61b6ce
-0, 581400, 320, 0x4813a091
-0, 583200, 320, 0xbfe7bc0f
-0, 585000, 320, 0x8c759c1f
-0, 586800, 320, 0xf4c1c952
-0, 588600, 320, 0x00fdaa79
-0, 590400, 320, 0x2ffda252
-0, 592200, 320, 0x841aa523
-0, 594000, 320, 0x8c079e5e
-0, 595800, 320, 0x96e9a83f
-0, 597600, 320, 0x5926a639
-0, 599400, 320, 0x02e1a07b
-0, 601200, 320, 0x2972a999
-0, 603000, 320, 0x30c89c62
-0, 604800, 320, 0x83f5a263
-0, 606600, 320, 0xa3909667
-0, 608400, 320, 0xd5309fd4
-0, 610200, 320, 0x3154a571
-0, 612000, 320, 0x51039a5e
-0, 613800, 320, 0xf167a344
-0, 615600, 320, 0x8e709d7d
-0, 617400, 320, 0x936fa0fd
-0, 619200, 320, 0x024b9e3c
-0, 621000, 320, 0x2ea1aa75
-0, 622800, 320, 0x33f0a2bb
-0, 624600, 320, 0xbf079d2d
-0, 626400, 320, 0x847ba2c8
-0, 628200, 320, 0x37e1a767
-0, 630000, 320, 0xb607acbb
-0, 631800, 320, 0x1288ac6d
-0, 633600, 320, 0xf60e98b3
-0, 635400, 320, 0xc6b5abdd
-0, 637200, 320, 0x7feaa710
-0, 639000, 320, 0x77329fcd
-0, 640800, 320, 0x91a6a715
-0, 642600, 320, 0xd0e99f24
-0, 644400, 320, 0x07089f61
-0, 646200, 320, 0x2bbda900
-0, 648000, 320, 0xad3da0d5
-0, 649800, 320, 0x997ba6d2
-0, 651600, 320, 0xb15b9dcb
-0, 653400, 320, 0x17cea82f
-0, 655200, 320, 0xab51a73e
-0, 657000, 320, 0x77a1abd6
-0, 658800, 320, 0x0bddacad
-0, 660600, 320, 0x43b3bdc4
-0, 662400, 320, 0xefe0a9ba
-0, 664200, 320, 0x8eb4bc2f
-0, 666000, 320, 0x39cdc190
-0, 667800, 320, 0x1ef3baff
-0, 669600, 320, 0x1a6ab7e2
-0, 671400, 320, 0x444ccc69
-0, 673200, 320, 0x05ebb598
-0, 675000, 320, 0x4ac5b0ad
-0, 676800, 320, 0x0ee5ba52
-0, 678600, 320, 0x501d9fa0
-0, 680400, 320, 0x2038a9f4
-0, 682200, 320, 0xa61cb8b3
-0, 684000, 320, 0xdd009777
-0, 685800, 320, 0x2a2db86d
-0, 687600, 320, 0xe9bab3bc
-0, 689400, 320, 0xf7f8a056
-0, 691200, 320, 0x514caf14
-0, 693000, 320, 0xa220b149
-0, 694800, 320, 0xbf7ea183
-0, 696600, 320, 0x1d8dc5c6
-0, 698400, 320, 0x9182a8ea
-0, 700200, 320, 0x31eba026
-0, 702000, 320, 0xcfbcc3df
-0, 703800, 320, 0x3d8cb7ae
-0, 705600, 320, 0xbe39aec0
-0, 707400, 320, 0xd236bf71
-0, 709200, 320, 0x9377b0b2
-0, 711000, 320, 0xb5e6b2df
-0, 712800, 320, 0xa3b9bbce
-0, 714600, 320, 0xa7bda251
-0, 716400, 320, 0xbf9ab162
-0, 718200, 320, 0x6928b9cb
-0, 720000, 320, 0xf5cca209
-0, 721800, 320, 0xfdf4afad
-0, 723600, 320, 0xe7e7c216
-0, 725400, 320, 0x0c5797c6
-0, 727200, 320, 0x66c1a9ca
-0, 729000, 320, 0x6b5ca48d
-0, 730800, 320, 0xec04968a
-0, 732600, 320, 0xaaada691
-0, 734400, 320, 0x77c3a624
-0, 736200, 320, 0xaed9a5d5
-0, 738000, 320, 0x360fac41
-0, 739800, 320, 0xa05ea727
-0, 741600, 320, 0x9f7b9f83
-0, 743400, 320, 0x474bc4c2
-0, 745200, 320, 0xb6078d3b
-0, 747000, 320, 0x8e15a8f9
-0, 748800, 320, 0x7dc7d4a8
-0, 750600, 320, 0x55ceab6b
-0, 752400, 320, 0x982cc94f
-0, 754200, 320, 0x6153948f
-0, 756000, 320, 0x5338c621
-0, 757800, 320, 0x2e2db6e8
-0, 759600, 320, 0x28e3a9c3
-0, 761400, 320, 0x74d7b435
-0, 763200, 320, 0xcf17a10c
-0, 765000, 320, 0xf1f9ac8c
-0, 766800, 320, 0x35e0b480
-0, 768600, 320, 0x5e60b3a4
-0, 770400, 320, 0x20579b26
-0, 772200, 320, 0x3e27b89b
-0, 774000, 320, 0x02e4af94
-0, 775800, 320, 0x6d6897f1
-0, 777600, 320, 0x1582b267
-0, 779400, 320, 0x33ba9eb3
-0, 781200, 320, 0xb6acad7d
-0, 783000, 320, 0x1969a6c2
-0, 784800, 320, 0x363fa350
-0, 786600, 320, 0xae50bf65
-0, 788400, 320, 0x0877a50f
-0, 790200, 320, 0x66e2a42f
-0, 792000, 320, 0x0b0abcb3
-0, 793800, 320, 0x23a9afaa
-0, 795600, 320, 0xc3729b40
-0, 797400, 320, 0xdd3fc7e2
-0, 799200, 320, 0x7e0494af
-0, 801000, 320, 0xcbd096fb
-0, 802800, 320, 0x5d71b303
-0, 804600, 320, 0xeedca04a
-0, 806400, 320, 0x2836a47d
-0, 808200, 320, 0x7237c2a0
-0, 810000, 320, 0x7c009bc0
-0, 811800, 320, 0xc9dcb366
-0, 813600, 320, 0x4993aac8
-0, 815400, 320, 0x05ec9954
-0, 817200, 320, 0xa955bd5c
-0, 819000, 320, 0x9018aea3
-0, 820800, 320, 0x780cca52
-0, 822600, 320, 0x9b8f95f6
-0, 824400, 320, 0xcd7bb178
-0, 826200, 320, 0xfec6b443
-0, 828000, 320, 0xe214abb6
-0, 829800, 320, 0xdcbebb38
-0, 831600, 320, 0xe683a30d
-0, 833400, 320, 0xe4cdb197
-0, 835200, 320, 0xa426c432
-0, 837000, 320, 0x761ba6cc
-0, 838800, 320, 0xcc9aa6aa
-0, 840600, 320, 0x742bd03d
-0, 842400, 320, 0x61d9a511
-0, 844200, 320, 0x3021a4dd
-0, 846000, 320, 0x6970bbc0
-0, 847800, 320, 0x76f5a037
-0, 849600, 320, 0x758d91f2
-0, 851400, 320, 0xe854a2f1
-0, 853200, 320, 0xf994a6f8
-0, 855000, 320, 0x31ebaf40
-0, 856800, 320, 0x24699970
-0, 858600, 320, 0x37dda53e
-0, 860400, 320, 0xa857a752
-0, 862200, 320, 0xc483ad1d
-0, 864000, 320, 0x5966add9
-0, 865800, 320, 0x4dbab89c
-0, 867600, 320, 0x2f0bb0e6
-0, 869400, 320, 0x913aaa88
-0, 871200, 320, 0x245dc1c3
-0, 873000, 320, 0xb085c5ad
-0, 874800, 320, 0x9cf1b0fa
-0, 876600, 320, 0x6887b543
-0, 878400, 320, 0xcad69feb
-0, 880200, 320, 0xc12a8ddb
-0, 882000, 320, 0x01d1bc5a
-0, 883800, 320, 0x3018b7e8
-0, 885600, 320, 0x6431b0ef
-0, 887400, 320, 0x3a53998e
-0, 889200, 320, 0x1c80a6c6
-0, 891000, 320, 0x6639adc5
-0, 892800, 320, 0x92489f9a
-0, 894600, 320, 0x8cafad00
-0, 896400, 320, 0xca0392e1
-0, 898200, 320, 0x30a9ae88
+#tb 0: 1/8000
+0, 0, 0, 160, 320, 0x4c32ab06
+0, 160, 160, 160, 320, 0x2052a4e7
+0, 320, 320, 160, 320, 0xe9aeafca
+0, 480, 480, 160, 320, 0xde83b450
+0, 640, 640, 160, 320, 0x06a6a80e
+0, 800, 800, 160, 320, 0xf6aeb1e2
+0, 960, 960, 160, 320, 0x2623b40c
+0, 1120, 1120, 160, 320, 0x8ec69f25
+0, 1280, 1280, 160, 320, 0xddaaac88
+0, 1440, 1440, 160, 320, 0x9e60b713
+0, 1600, 1600, 160, 320, 0xb738ab30
+0, 1760, 1760, 160, 320, 0xdb4bbb92
+0, 1920, 1920, 160, 320, 0x0370ae8b
+0, 2080, 2080, 160, 320, 0xb611a3fb
+0, 2240, 2240, 160, 320, 0x07ee8e3b
+0, 2400, 2400, 160, 320, 0xdb1ec628
+0, 2560, 2560, 160, 320, 0xd5f1bda2
+0, 2720, 2720, 160, 320, 0xcabb9a9c
+0, 2880, 2880, 160, 320, 0x16c8ad61
+0, 3040, 3040, 160, 320, 0xf76fc25e
+0, 3200, 3200, 160, 320, 0x7118a10d
+0, 3360, 3360, 160, 320, 0x29f9a0db
+0, 3520, 3520, 160, 320, 0x41f2a4ef
+0, 3680, 3680, 160, 320, 0x36dfb231
+0, 3840, 3840, 160, 320, 0xc5399eda
+0, 4000, 4000, 160, 320, 0x17d4b9e0
+0, 4160, 4160, 160, 320, 0x2b5797ac
+0, 4320, 4320, 160, 320, 0x0128c5e7
+0, 4480, 4480, 160, 320, 0xf4f38037
+0, 4640, 4640, 160, 320, 0x77d6b5f2
+0, 4800, 4800, 160, 320, 0xd94a93e0
+0, 4960, 4960, 160, 320, 0x968daae3
+0, 5120, 5120, 160, 320, 0xda5ba0ec
+0, 5280, 5280, 160, 320, 0x316da1ec
+0, 5440, 5440, 160, 320, 0x3a35b2d2
+0, 5600, 5600, 160, 320, 0xca0b988f
+0, 5760, 5760, 160, 320, 0x1295b0b1
+0, 5920, 5920, 160, 320, 0xe121ae72
+0, 6080, 6080, 160, 320, 0x7da7ad43
+0, 6240, 6240, 160, 320, 0x96a49cfe
+0, 6400, 6400, 160, 320, 0x70c2b1de
+0, 6560, 6560, 160, 320, 0x668d88c0
+0, 6720, 6720, 160, 320, 0x5460b5a8
+0, 6880, 6880, 160, 320, 0x6ac78eab
+0, 7040, 7040, 160, 320, 0x0d8dab87
+0, 7200, 7200, 160, 320, 0xe2be94af
+0, 7360, 7360, 160, 320, 0x3487acdc
+0, 7520, 7520, 160, 320, 0x5048955a
+0, 7680, 7680, 160, 320, 0x2ef4ae0d
+0, 7840, 7840, 160, 320, 0xc765b773
+0, 8000, 8000, 160, 320, 0xad96a486
+0, 8160, 8160, 160, 320, 0xb9fdbf1f
+0, 8320, 8320, 160, 320, 0xf26c9ecf
+0, 8480, 8480, 160, 320, 0xbcadb535
+0, 8640, 8640, 160, 320, 0xa8c897bc
+0, 8800, 8800, 160, 320, 0xaa58b520
+0, 8960, 8960, 160, 320, 0xcb48a716
+0, 9120, 9120, 160, 320, 0x4d5da564
+0, 9280, 9280, 160, 320, 0x9809ae28
+0, 9440, 9440, 160, 320, 0x5baeb1e4
+0, 9600, 9600, 160, 320, 0x6a719b63
+0, 9760, 9760, 160, 320, 0xc27d92f0
+0, 9920, 9920, 160, 320, 0x0e9b9fe9
+0, 10080, 10080, 160, 320, 0xbf9d9bf7
+0, 10240, 10240, 160, 320, 0xf35aa64d
+0, 10400, 10400, 160, 320, 0x26449ce8
+0, 10560, 10560, 160, 320, 0x58f4a997
+0, 10720, 10720, 160, 320, 0x155da289
+0, 10880, 10880, 160, 320, 0x63b19a5c
+0, 11040, 11040, 160, 320, 0xe01aad38
+0, 11200, 11200, 160, 320, 0x4e0f9c43
+0, 11360, 11360, 160, 320, 0x9447a284
+0, 11520, 11520, 160, 320, 0xdb36a433
+0, 11680, 11680, 160, 320, 0x799a9b2c
+0, 11840, 11840, 160, 320, 0x1526a162
+0, 12000, 12000, 160, 320, 0x0a4ea140
+0, 12160, 12160, 160, 320, 0xb08f9ed7
+0, 12320, 12320, 160, 320, 0x221bab76
+0, 12480, 12480, 160, 320, 0x4befacf0
+0, 12640, 12640, 160, 320, 0xac489509
+0, 12800, 12800, 160, 320, 0x57a1a5b4
+0, 12960, 12960, 160, 320, 0x81e8ab97
+0, 13120, 13120, 160, 320, 0xc6ada4d6
+0, 13280, 13280, 160, 320, 0x12489975
+0, 13440, 13440, 160, 320, 0x1da59ba9
+0, 13600, 13600, 160, 320, 0xf225ac62
+0, 13760, 13760, 160, 320, 0x8c8e9eab
+0, 13920, 13920, 160, 320, 0x10599dec
+0, 14080, 14080, 160, 320, 0x06c39fa5
+0, 14240, 14240, 160, 320, 0xb0efa3c4
+0, 14400, 14400, 160, 320, 0x72caadab
+0, 14560, 14560, 160, 320, 0xe4619ff0
+0, 14720, 14720, 160, 320, 0x49bca017
+0, 14880, 14880, 160, 320, 0x413f9fbe
+0, 15040, 15040, 160, 320, 0x6eaed0ee
+0, 15200, 15200, 160, 320, 0x27e4b1eb
+0, 15360, 15360, 160, 320, 0x8c42a30f
+0, 15520, 15520, 160, 320, 0x0afaa0f4
+0, 15680, 15680, 160, 320, 0x0f74b76b
+0, 15840, 15840, 160, 320, 0xa9a2b9d5
+0, 16000, 16000, 160, 320, 0xde2a8712
+0, 16160, 16160, 160, 320, 0xcfc8b3a2
+0, 16320, 16320, 160, 320, 0x768cadce
+0, 16480, 16480, 160, 320, 0x3a8a97f1
+0, 16640, 16640, 160, 320, 0x502fa59b
+0, 16800, 16800, 160, 320, 0x4c3e9b0f
+0, 16960, 16960, 160, 320, 0x1cd2b111
+0, 17120, 17120, 160, 320, 0xa845a5a3
+0, 17280, 17280, 160, 320, 0xa6b8b982
+0, 17440, 17440, 160, 320, 0x4d5caab9
+0, 17600, 17600, 160, 320, 0x7993b604
+0, 17760, 17760, 160, 320, 0x8d19b37b
+0, 17920, 17920, 160, 320, 0xbe48adb6
+0, 18080, 18080, 160, 320, 0x7d68ab8e
+0, 18240, 18240, 160, 320, 0xbfffb0e2
+0, 18400, 18400, 160, 320, 0x90b5b7e3
+0, 18560, 18560, 160, 320, 0x9fa1b016
+0, 18720, 18720, 160, 320, 0x70abafc9
+0, 18880, 18880, 160, 320, 0x82cfad9c
+0, 19040, 19040, 160, 320, 0x05f6aa2c
+0, 19200, 19200, 160, 320, 0x511cbb5b
+0, 19360, 19360, 160, 320, 0xd27caaa6
+0, 19520, 19520, 160, 320, 0x781ca481
+0, 19680, 19680, 160, 320, 0x12e9ad1a
+0, 19840, 19840, 160, 320, 0xe46b989d
+0, 20000, 20000, 160, 320, 0x76dbb0a7
+0, 20160, 20160, 160, 320, 0x10eba486
+0, 20320, 20320, 160, 320, 0x2269a7c8
+0, 20480, 20480, 160, 320, 0x084a9c7e
+0, 20640, 20640, 160, 320, 0x84eda891
+0, 20800, 20800, 160, 320, 0x2ef9a639
+0, 20960, 20960, 160, 320, 0x8bb2a0dd
+0, 21120, 21120, 160, 320, 0x47e5a169
+0, 21280, 21280, 160, 320, 0x98faae42
+0, 21440, 21440, 160, 320, 0x81d2aba4
+0, 21600, 21600, 160, 320, 0x5af8bb33
+0, 21760, 21760, 160, 320, 0x331e8d9f
+0, 21920, 21920, 160, 320, 0xd9b0c09a
+0, 22080, 22080, 160, 320, 0xbaf9bfcf
+0, 22240, 22240, 160, 320, 0x54e89ab5
+0, 22400, 22400, 160, 320, 0x1d62c1d2
+0, 22560, 22560, 160, 320, 0xead6b436
+0, 22720, 22720, 160, 320, 0x465f98bc
+0, 22880, 22880, 160, 320, 0xe707a346
+0, 23040, 23040, 160, 320, 0xf66cb1c2
+0, 23200, 23200, 160, 320, 0xcfc89ae6
+0, 23360, 23360, 160, 320, 0x0b10b796
+0, 23520, 23520, 160, 320, 0xb29caf2c
+0, 23680, 23680, 160, 320, 0x0284a9d1
+0, 23840, 23840, 160, 320, 0xb966b5fc
+0, 24000, 24000, 160, 320, 0x2defa630
+0, 24160, 24160, 160, 320, 0xcdcd8ef3
+0, 24320, 24320, 160, 320, 0xa81bba2b
+0, 24480, 24480, 160, 320, 0x6bc0aeb1
+0, 24640, 24640, 160, 320, 0x38d8ac82
+0, 24800, 24800, 160, 320, 0xeb66a865
+0, 24960, 24960, 160, 320, 0x4fff9cd9
+0, 25120, 25120, 160, 320, 0x6819a19b
+0, 25280, 25280, 160, 320, 0xfd7c93ce
+0, 25440, 25440, 160, 320, 0xa7419f63
+0, 25600, 25600, 160, 320, 0x572caacb
+0, 25760, 25760, 160, 320, 0x918fb1de
+0, 25920, 25920, 160, 320, 0x0088a675
+0, 26080, 26080, 160, 320, 0x19229cf7
+0, 26240, 26240, 160, 320, 0x827ea812
+0, 26400, 26400, 160, 320, 0x6c258ef7
+0, 26560, 26560, 160, 320, 0x6a89b8fe
+0, 26720, 26720, 160, 320, 0x166c9ce0
+0, 26880, 26880, 160, 320, 0x68b39db7
+0, 27040, 27040, 160, 320, 0x3d5aa8ec
+0, 27200, 27200, 160, 320, 0x25e09ff3
+0, 27360, 27360, 160, 320, 0x759aa4ce
+0, 27520, 27520, 160, 320, 0xe5aab0ea
+0, 27680, 27680, 160, 320, 0xf0359e9a
+0, 27840, 27840, 160, 320, 0x51199fff
+0, 28000, 28000, 160, 320, 0xb04aa236
+0, 28160, 28160, 160, 320, 0xe09da0e3
+0, 28320, 28320, 160, 320, 0x144f98a9
+0, 28480, 28480, 160, 320, 0x0b4e9f8d
+0, 28640, 28640, 160, 320, 0xbb69a090
+0, 28800, 28800, 160, 320, 0xec6e9b5b
+0, 28960, 28960, 160, 320, 0x4f86a477
+0, 29120, 29120, 160, 320, 0x4a179d04
+0, 29280, 29280, 160, 320, 0x9682a375
+0, 29440, 29440, 160, 320, 0x3c6ba55e
+0, 29600, 29600, 160, 320, 0x50c0ab50
+0, 29760, 29760, 160, 320, 0xe58ea907
+0, 29920, 29920, 160, 320, 0xc5eaa021
+0, 30080, 30080, 160, 320, 0x38859f01
+0, 30240, 30240, 160, 320, 0x73f8a540
+0, 30400, 30400, 160, 320, 0x395da234
+0, 30560, 30560, 160, 320, 0x7f50b144
+0, 30720, 30720, 160, 320, 0x45568ceb
+0, 30880, 30880, 160, 320, 0xd0508dec
+0, 31040, 31040, 160, 320, 0x60aba7e4
+0, 31200, 31200, 160, 320, 0x4b24b15f
+0, 31360, 31360, 160, 320, 0xbfc9afd6
+0, 31520, 31520, 160, 320, 0xf0f2ad49
+0, 31680, 31680, 160, 320, 0xeea0a426
+0, 31840, 31840, 160, 320, 0xff07a7c9
+0, 32000, 32000, 160, 320, 0xce1fc788
+0, 32160, 32160, 160, 320, 0xc074ae9b
+0, 32320, 32320, 160, 320, 0x51649696
+0, 32480, 32480, 160, 320, 0x24399744
+0, 32640, 32640, 160, 320, 0xfb0eb920
+0, 32800, 32800, 160, 320, 0x3bf8af5c
+0, 32960, 32960, 160, 320, 0xeab69ee0
+0, 33120, 33120, 160, 320, 0x182696bb
+0, 33280, 33280, 160, 320, 0x36e6af72
+0, 33440, 33440, 160, 320, 0x48cc9ecc
+0, 33600, 33600, 160, 320, 0xfb3ca7b8
+0, 33760, 33760, 160, 320, 0xe01aa4b4
+0, 33920, 33920, 160, 320, 0x5c6dac8c
+0, 34080, 34080, 160, 320, 0x072fbd93
+0, 34240, 34240, 160, 320, 0xc8899ccc
+0, 34400, 34400, 160, 320, 0xdcc990ac
+0, 34560, 34560, 160, 320, 0x28e0a9d0
+0, 34720, 34720, 160, 320, 0x0cdbaa11
+0, 34880, 34880, 160, 320, 0x8f4ca093
+0, 35040, 35040, 160, 320, 0x7ee79ea9
+0, 35200, 35200, 160, 320, 0xa762b695
+0, 35360, 35360, 160, 320, 0x9af0b5da
+0, 35520, 35520, 160, 320, 0x1f2cb0e7
+0, 35680, 35680, 160, 320, 0x6029b8bb
+0, 35840, 35840, 160, 320, 0xf2f7acec
+0, 36000, 36000, 160, 320, 0xb3e5b5be
+0, 36160, 36160, 160, 320, 0x266ba8a6
+0, 36320, 36320, 160, 320, 0x4ff59296
+0, 36480, 36480, 160, 320, 0x11d1b9ac
+0, 36640, 36640, 160, 320, 0x749197f7
+0, 36800, 36800, 160, 320, 0x8192b517
+0, 36960, 36960, 160, 320, 0xde129dbe
+0, 37120, 37120, 160, 320, 0x85e4a096
+0, 37280, 37280, 160, 320, 0xdebf9182
+0, 37440, 37440, 160, 320, 0x7a4ba0bf
+0, 37600, 37600, 160, 320, 0x55fe9fcd
+0, 37760, 37760, 160, 320, 0xd242adec
+0, 37920, 37920, 160, 320, 0xeaf5b159
+0, 38080, 38080, 160, 320, 0xfcb1a571
+0, 38240, 38240, 160, 320, 0x62fabda0
+0, 38400, 38400, 160, 320, 0x45a9abcc
+0, 38560, 38560, 160, 320, 0x07af974b
+0, 38720, 38720, 160, 320, 0xc2a0b4fd
+0, 38880, 38880, 160, 320, 0xc30abccd
+0, 39040, 39040, 160, 320, 0xd33ca61c
+0, 39200, 39200, 160, 320, 0x3c33d11a
+0, 39360, 39360, 160, 320, 0x9c2ca0ac
+0, 39520, 39520, 160, 320, 0xa5d69777
+0, 39680, 39680, 160, 320, 0xb7d2c6b8
+0, 39840, 39840, 160, 320, 0x34bbaab9
+0, 40000, 40000, 160, 320, 0x3e7baccb
+0, 40160, 40160, 160, 320, 0x92c6b7e6
+0, 40320, 40320, 160, 320, 0xc810a18a
+0, 40480, 40480, 160, 320, 0x06a09f56
+0, 40640, 40640, 160, 320, 0x8804a504
+0, 40800, 40800, 160, 320, 0x783ba7d5
+0, 40960, 40960, 160, 320, 0x24dcada6
+0, 41120, 41120, 160, 320, 0x4af796be
+0, 41280, 41280, 160, 320, 0x1454b19c
+0, 41440, 41440, 160, 320, 0x0ad0a56e
+0, 41600, 41600, 160, 320, 0x8944a44e
+0, 41760, 41760, 160, 320, 0x31069ebd
+0, 41920, 41920, 160, 320, 0x19cb9812
+0, 42080, 42080, 160, 320, 0xac75abe2
+0, 42240, 42240, 160, 320, 0x0162a200
+0, 42400, 42400, 160, 320, 0xa2d7a4b2
+0, 42560, 42560, 160, 320, 0x078ca611
+0, 42720, 42720, 160, 320, 0x0ec39b40
+0, 42880, 42880, 160, 320, 0xe8f794b2
+0, 43040, 43040, 160, 320, 0xc2cfb258
+0, 43200, 43200, 160, 320, 0xe4759061
+0, 43360, 43360, 160, 320, 0xb1b6aea4
+0, 43520, 43520, 160, 320, 0x9bfb96df
+0, 43680, 43680, 160, 320, 0xcc61b5d3
+0, 43840, 43840, 160, 320, 0xd14e8df9
+0, 44000, 44000, 160, 320, 0xd9d5bbf5
+0, 44160, 44160, 160, 320, 0x4d9fa9b0
+0, 44320, 44320, 160, 320, 0xf606abfc
+0, 44480, 44480, 160, 320, 0x720baa19
+0, 44640, 44640, 160, 320, 0x7f7cac49
+0, 44800, 44800, 160, 320, 0xceab9b54
+0, 44960, 44960, 160, 320, 0x645fa70a
+0, 45120, 45120, 160, 320, 0xa081a40f
+0, 45280, 45280, 160, 320, 0x21d78f8c
+0, 45440, 45440, 160, 320, 0xedf3abc6
+0, 45600, 45600, 160, 320, 0x17679637
+0, 45760, 45760, 160, 320, 0x1cb1ae04
+0, 45920, 45920, 160, 320, 0x17cd9f62
+0, 46080, 46080, 160, 320, 0xf4bca3ab
+0, 46240, 46240, 160, 320, 0xb3bd9152
+0, 46400, 46400, 160, 320, 0x4e1e9825
+0, 46560, 46560, 160, 320, 0x037e9a56
+0, 46720, 46720, 160, 320, 0xd7589fcc
+0, 46880, 46880, 160, 320, 0x5f949e90
+0, 47040, 47040, 160, 320, 0xe133a495
+0, 47200, 47200, 160, 320, 0x7cb7a52c
+0, 47360, 47360, 160, 320, 0xb8b29d95
+0, 47520, 47520, 160, 320, 0x01bca472
+0, 47680, 47680, 160, 320, 0xbcc69895
+0, 47840, 47840, 160, 320, 0xabffa0ee
+0, 48000, 48000, 160, 320, 0xe6629eca
+0, 48160, 48160, 160, 320, 0x572da7cd
+0, 48320, 48320, 160, 320, 0x3017972d
+0, 48480, 48480, 160, 320, 0xac4e9c78
+0, 48640, 48640, 160, 320, 0x112f9c45
+0, 48800, 48800, 160, 320, 0x05e9a64d
+0, 48960, 48960, 160, 320, 0x8f7394d4
+0, 49120, 49120, 160, 320, 0xbaeea07e
+0, 49280, 49280, 160, 320, 0xd757c00e
+0, 49440, 49440, 160, 320, 0x8aa09783
+0, 49600, 49600, 160, 320, 0x31d4ae7a
+0, 49760, 49760, 160, 320, 0x221493e8
+0, 49920, 49920, 160, 320, 0x92f4a3a7
+0, 50080, 50080, 160, 320, 0xbd5bafd9
+0, 50240, 50240, 160, 320, 0x1895b760
+0, 50400, 50400, 160, 320, 0x7a4eacdd
+0, 50560, 50560, 160, 320, 0xc9f7a1c3
+0, 50720, 50720, 160, 320, 0xd750be06
+0, 50880, 50880, 160, 320, 0x641d9a6f
+0, 51040, 51040, 160, 320, 0x70d6b6ff
+0, 51200, 51200, 160, 320, 0x1fd3a546
+0, 51360, 51360, 160, 320, 0x72cfaabe
+0, 51520, 51520, 160, 320, 0x2e61b6ce
+0, 51680, 51680, 160, 320, 0x4813a091
+0, 51840, 51840, 160, 320, 0xbfe7bc0f
+0, 52000, 52000, 160, 320, 0x8c759c1f
+0, 52160, 52160, 160, 320, 0xf4c1c952
+0, 52320, 52320, 160, 320, 0x00fdaa79
+0, 52480, 52480, 160, 320, 0x2ffda252
+0, 52640, 52640, 160, 320, 0x841aa523
+0, 52800, 52800, 160, 320, 0x8c079e5e
+0, 52960, 52960, 160, 320, 0x96e9a83f
+0, 53120, 53120, 160, 320, 0x5926a639
+0, 53280, 53280, 160, 320, 0x02e1a07b
+0, 53440, 53440, 160, 320, 0x2972a999
+0, 53600, 53600, 160, 320, 0x30c89c62
+0, 53760, 53760, 160, 320, 0x83f5a263
+0, 53920, 53920, 160, 320, 0xa3909667
+0, 54080, 54080, 160, 320, 0xd5309fd4
+0, 54240, 54240, 160, 320, 0x3154a571
+0, 54400, 54400, 160, 320, 0x51039a5e
+0, 54560, 54560, 160, 320, 0xf167a344
+0, 54720, 54720, 160, 320, 0x8e709d7d
+0, 54880, 54880, 160, 320, 0x936fa0fd
+0, 55040, 55040, 160, 320, 0x024b9e3c
+0, 55200, 55200, 160, 320, 0x2ea1aa75
+0, 55360, 55360, 160, 320, 0x33f0a2bb
+0, 55520, 55520, 160, 320, 0xbf079d2d
+0, 55680, 55680, 160, 320, 0x847ba2c8
+0, 55840, 55840, 160, 320, 0x37e1a767
+0, 56000, 56000, 160, 320, 0xb607acbb
+0, 56160, 56160, 160, 320, 0x1288ac6d
+0, 56320, 56320, 160, 320, 0xf60e98b3
+0, 56480, 56480, 160, 320, 0xc6b5abdd
+0, 56640, 56640, 160, 320, 0x7feaa710
+0, 56800, 56800, 160, 320, 0x77329fcd
+0, 56960, 56960, 160, 320, 0x91a6a715
+0, 57120, 57120, 160, 320, 0xd0e99f24
+0, 57280, 57280, 160, 320, 0x07089f61
+0, 57440, 57440, 160, 320, 0x2bbda900
+0, 57600, 57600, 160, 320, 0xad3da0d5
+0, 57760, 57760, 160, 320, 0x997ba6d2
+0, 57920, 57920, 160, 320, 0xb15b9dcb
+0, 58080, 58080, 160, 320, 0x17cea82f
+0, 58240, 58240, 160, 320, 0xab51a73e
+0, 58400, 58400, 160, 320, 0x77a1abd6
+0, 58560, 58560, 160, 320, 0x0bddacad
+0, 58720, 58720, 160, 320, 0x43b3bdc4
+0, 58880, 58880, 160, 320, 0xefe0a9ba
+0, 59040, 59040, 160, 320, 0x8eb4bc2f
+0, 59200, 59200, 160, 320, 0x39cdc190
+0, 59360, 59360, 160, 320, 0x1ef3baff
+0, 59520, 59520, 160, 320, 0x1a6ab7e2
+0, 59680, 59680, 160, 320, 0x444ccc69
+0, 59840, 59840, 160, 320, 0x05ebb598
+0, 60000, 60000, 160, 320, 0x4ac5b0ad
+0, 60160, 60160, 160, 320, 0x0ee5ba52
+0, 60320, 60320, 160, 320, 0x501d9fa0
+0, 60480, 60480, 160, 320, 0x2038a9f4
+0, 60640, 60640, 160, 320, 0xa61cb8b3
+0, 60800, 60800, 160, 320, 0xdd009777
+0, 60960, 60960, 160, 320, 0x2a2db86d
+0, 61120, 61120, 160, 320, 0xe9bab3bc
+0, 61280, 61280, 160, 320, 0xf7f8a056
+0, 61440, 61440, 160, 320, 0x514caf14
+0, 61600, 61600, 160, 320, 0xa220b149
+0, 61760, 61760, 160, 320, 0xbf7ea183
+0, 61920, 61920, 160, 320, 0x1d8dc5c6
+0, 62080, 62080, 160, 320, 0x9182a8ea
+0, 62240, 62240, 160, 320, 0x31eba026
+0, 62400, 62400, 160, 320, 0xcfbcc3df
+0, 62560, 62560, 160, 320, 0x3d8cb7ae
+0, 62720, 62720, 160, 320, 0xbe39aec0
+0, 62880, 62880, 160, 320, 0xd236bf71
+0, 63040, 63040, 160, 320, 0x9377b0b2
+0, 63200, 63200, 160, 320, 0xb5e6b2df
+0, 63360, 63360, 160, 320, 0xa3b9bbce
+0, 63520, 63520, 160, 320, 0xa7bda251
+0, 63680, 63680, 160, 320, 0xbf9ab162
+0, 63840, 63840, 160, 320, 0x6928b9cb
+0, 64000, 64000, 160, 320, 0xf5cca209
+0, 64160, 64160, 160, 320, 0xfdf4afad
+0, 64320, 64320, 160, 320, 0xe7e7c216
+0, 64480, 64480, 160, 320, 0x0c5797c6
+0, 64640, 64640, 160, 320, 0x66c1a9ca
+0, 64800, 64800, 160, 320, 0x6b5ca48d
+0, 64960, 64960, 160, 320, 0xec04968a
+0, 65120, 65120, 160, 320, 0xaaada691
+0, 65280, 65280, 160, 320, 0x77c3a624
+0, 65440, 65440, 160, 320, 0xaed9a5d5
+0, 65600, 65600, 160, 320, 0x360fac41
+0, 65760, 65760, 160, 320, 0xa05ea727
+0, 65920, 65920, 160, 320, 0x9f7b9f83
+0, 66080, 66080, 160, 320, 0x474bc4c2
+0, 66240, 66240, 160, 320, 0xb6078d3b
+0, 66400, 66400, 160, 320, 0x8e15a8f9
+0, 66560, 66560, 160, 320, 0x7dc7d4a8
+0, 66720, 66720, 160, 320, 0x55ceab6b
+0, 66880, 66880, 160, 320, 0x982cc94f
+0, 67040, 67040, 160, 320, 0x6153948f
+0, 67200, 67200, 160, 320, 0x5338c621
+0, 67360, 67360, 160, 320, 0x2e2db6e8
+0, 67520, 67520, 160, 320, 0x28e3a9c3
+0, 67680, 67680, 160, 320, 0x74d7b435
+0, 67840, 67840, 160, 320, 0xcf17a10c
+0, 68000, 68000, 160, 320, 0xf1f9ac8c
+0, 68160, 68160, 160, 320, 0x35e0b480
+0, 68320, 68320, 160, 320, 0x5e60b3a4
+0, 68480, 68480, 160, 320, 0x20579b26
+0, 68640, 68640, 160, 320, 0x3e27b89b
+0, 68800, 68800, 160, 320, 0x02e4af94
+0, 68960, 68960, 160, 320, 0x6d6897f1
+0, 69120, 69120, 160, 320, 0x1582b267
+0, 69280, 69280, 160, 320, 0x33ba9eb3
+0, 69440, 69440, 160, 320, 0xb6acad7d
+0, 69600, 69600, 160, 320, 0x1969a6c2
+0, 69760, 69760, 160, 320, 0x363fa350
+0, 69920, 69920, 160, 320, 0xae50bf65
+0, 70080, 70080, 160, 320, 0x0877a50f
+0, 70240, 70240, 160, 320, 0x66e2a42f
+0, 70400, 70400, 160, 320, 0x0b0abcb3
+0, 70560, 70560, 160, 320, 0x23a9afaa
+0, 70720, 70720, 160, 320, 0xc3729b40
+0, 70880, 70880, 160, 320, 0xdd3fc7e2
+0, 71040, 71040, 160, 320, 0x7e0494af
+0, 71200, 71200, 160, 320, 0xcbd096fb
+0, 71360, 71360, 160, 320, 0x5d71b303
+0, 71520, 71520, 160, 320, 0xeedca04a
+0, 71680, 71680, 160, 320, 0x2836a47d
+0, 71840, 71840, 160, 320, 0x7237c2a0
+0, 72000, 72000, 160, 320, 0x7c009bc0
+0, 72160, 72160, 160, 320, 0xc9dcb366
+0, 72320, 72320, 160, 320, 0x4993aac8
+0, 72480, 72480, 160, 320, 0x05ec9954
+0, 72640, 72640, 160, 320, 0xa955bd5c
+0, 72800, 72800, 160, 320, 0x9018aea3
+0, 72960, 72960, 160, 320, 0x780cca52
+0, 73120, 73120, 160, 320, 0x9b8f95f6
+0, 73280, 73280, 160, 320, 0xcd7bb178
+0, 73440, 73440, 160, 320, 0xfec6b443
+0, 73600, 73600, 160, 320, 0xe214abb6
+0, 73760, 73760, 160, 320, 0xdcbebb38
+0, 73920, 73920, 160, 320, 0xe683a30d
+0, 74080, 74080, 160, 320, 0xe4cdb197
+0, 74240, 74240, 160, 320, 0xa426c432
+0, 74400, 74400, 160, 320, 0x761ba6cc
+0, 74560, 74560, 160, 320, 0xcc9aa6aa
+0, 74720, 74720, 160, 320, 0x742bd03d
+0, 74880, 74880, 160, 320, 0x61d9a511
+0, 75040, 75040, 160, 320, 0x3021a4dd
+0, 75200, 75200, 160, 320, 0x6970bbc0
+0, 75360, 75360, 160, 320, 0x76f5a037
+0, 75520, 75520, 160, 320, 0x758d91f2
+0, 75680, 75680, 160, 320, 0xe854a2f1
+0, 75840, 75840, 160, 320, 0xf994a6f8
+0, 76000, 76000, 160, 320, 0x31ebaf40
+0, 76160, 76160, 160, 320, 0x24699970
+0, 76320, 76320, 160, 320, 0x37dda53e
+0, 76480, 76480, 160, 320, 0xa857a752
+0, 76640, 76640, 160, 320, 0xc483ad1d
+0, 76800, 76800, 160, 320, 0x5966add9
+0, 76960, 76960, 160, 320, 0x4dbab89c
+0, 77120, 77120, 160, 320, 0x2f0bb0e6
+0, 77280, 77280, 160, 320, 0x913aaa88
+0, 77440, 77440, 160, 320, 0x245dc1c3
+0, 77600, 77600, 160, 320, 0xb085c5ad
+0, 77760, 77760, 160, 320, 0x9cf1b0fa
+0, 77920, 77920, 160, 320, 0x6887b543
+0, 78080, 78080, 160, 320, 0xcad69feb
+0, 78240, 78240, 160, 320, 0xc12a8ddb
+0, 78400, 78400, 160, 320, 0x01d1bc5a
+0, 78560, 78560, 160, 320, 0x3018b7e8
+0, 78720, 78720, 160, 320, 0x6431b0ef
+0, 78880, 78880, 160, 320, 0x3a53998e
+0, 79040, 79040, 160, 320, 0x1c80a6c6
+0, 79200, 79200, 160, 320, 0x6639adc5
+0, 79360, 79360, 160, 320, 0x92489f9a
+0, 79520, 79520, 160, 320, 0x8cafad00
+0, 79680, 79680, 160, 320, 0xca0392e1
+0, 79840, 79840, 160, 320, 0x30a9ae88
diff --git a/tests/ref/fate/h264-conformance-aud_mw_e b/tests/ref/fate/h264-conformance-aud_mw_e
index 202e14ecb4..83c6faeeb7 100644
--- a/tests/ref/fate/h264-conformance-aud_mw_e
+++ b/tests/ref/fate/h264-conformance-aud_mw_e
@@ -1,100 +1,101 @@
-0, 0, 38016, 0xa6d63b2e
-0, 3600, 38016, 0x28bae101
-0, 7200, 38016, 0x139f9b29
-0, 10800, 38016, 0xa7b463e8
-0, 14400, 38016, 0xdcdc5130
-0, 18000, 38016, 0x3cf17039
-0, 21600, 38016, 0xdeeb9ae9
-0, 25200, 38016, 0xdc8da889
-0, 28800, 38016, 0x7a32a81c
-0, 32400, 38016, 0xaf15908b
-0, 36000, 38016, 0x4c8b5461
-0, 39600, 38016, 0x1d4826db
-0, 43200, 38016, 0x5ca72731
-0, 46800, 38016, 0xb09732e6
-0, 50400, 38016, 0xa65252eb
-0, 54000, 38016, 0x09fa7644
-0, 57600, 38016, 0x5262af8f
-0, 61200, 38016, 0x50d6c6ac
-0, 64800, 38016, 0x6895c300
-0, 68400, 38016, 0x2d58bf4f
-0, 72000, 38016, 0x50dfc4c0
-0, 75600, 38016, 0x12d2cb90
-0, 79200, 38016, 0xe465c7d7
-0, 82800, 38016, 0x47c5c615
-0, 86400, 38016, 0x76fdc6e6
-0, 90000, 38016, 0xefeec7ae
-0, 93600, 38016, 0x2cebcdf7
-0, 97200, 38016, 0x49abd265
-0, 100800, 38016, 0x157bdfe4
-0, 104400, 38016, 0x3635e5da
-0, 108000, 38016, 0x6263aace
-0, 111600, 38016, 0x7fff72f0
-0, 115200, 38016, 0x83994b85
-0, 118800, 38016, 0xa8c990a7
-0, 122400, 38016, 0xce5204c4
-0, 126000, 38016, 0xf1176131
-0, 129600, 38016, 0x4252bdca
-0, 133200, 38016, 0xd8f447c3
-0, 136800, 38016, 0xc5e79075
-0, 140400, 38016, 0x5291ca60
-0, 144000, 38016, 0x5dffe889
-0, 147600, 38016, 0x6dc4fad6
-0, 151200, 38016, 0xbcc7f16a
-0, 154800, 38016, 0xcd5c059a
-0, 158400, 38016, 0x452314ad
-0, 162000, 38016, 0x19d1fd99
-0, 165600, 38016, 0x93f4ca3c
-0, 169200, 38016, 0x23dd9d81
-0, 172800, 38016, 0x4a4cabdb
-0, 176400, 38016, 0x15a3d785
-0, 180000, 38016, 0xaa34e055
-0, 183600, 38016, 0x8a34b88d
-0, 187200, 38016, 0x1955d649
-0, 190800, 38016, 0xf6dc0782
-0, 194400, 38016, 0x66cb360a
-0, 198000, 38016, 0xf3615cfb
-0, 201600, 38016, 0xca466b6d
-0, 205200, 38016, 0xe0ad3523
-0, 208800, 38016, 0x8181323e
-0, 212400, 38016, 0x93324bab
-0, 216000, 38016, 0xce2c38b6
-0, 219600, 38016, 0xe50a20fc
-0, 223200, 38016, 0x8a74ce30
-0, 226800, 38016, 0x893ca7d8
-0, 230400, 38016, 0x716fd810
-0, 234000, 38016, 0x352aeb3c
-0, 237600, 38016, 0xdf14e4d1
-0, 241200, 38016, 0x7e87dd42
-0, 244800, 38016, 0xe084c706
-0, 248400, 38016, 0x4000ba1f
-0, 252000, 38016, 0x10679f5a
-0, 255600, 38016, 0x5cb686b2
-0, 259200, 38016, 0x5dea8ffe
-0, 262800, 38016, 0x8bd27fc8
-0, 266400, 38016, 0x72912b15
-0, 270000, 38016, 0xb86be965
-0, 273600, 38016, 0x7a42da39
-0, 277200, 38016, 0x9ddacae0
-0, 280800, 38016, 0xb767ff5b
-0, 284400, 38016, 0xa3c64887
-0, 288000, 38016, 0xbc6981f2
-0, 291600, 38016, 0xc2506c22
-0, 295200, 38016, 0x6e785862
-0, 298800, 38016, 0xfade2b2d
-0, 302400, 38016, 0xada1d917
-0, 306000, 38016, 0x459beba1
-0, 309600, 38016, 0x8b491f3c
-0, 313200, 38016, 0x917b0fab
-0, 316800, 38016, 0x053fb1d2
-0, 320400, 38016, 0x96e44e17
-0, 324000, 38016, 0x4d34f7e0
-0, 327600, 38016, 0x2265c386
-0, 331200, 38016, 0xc45dd284
-0, 334800, 38016, 0x0638fca3
-0, 338400, 38016, 0xcd9c2bbc
-0, 342000, 38016, 0x3220dea3
-0, 345600, 38016, 0x72dfb576
-0, 349200, 38016, 0xb804ee86
-0, 352800, 38016, 0xbd516400
-0, 356400, 38016, 0x737fa296
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xa6d63b2e
+0, 1, 1, 1, 38016, 0x28bae101
+0, 2, 2, 1, 38016, 0x139f9b29
+0, 3, 3, 1, 38016, 0xa7b463e8
+0, 4, 4, 1, 38016, 0xdcdc5130
+0, 5, 5, 1, 38016, 0x3cf17039
+0, 6, 6, 1, 38016, 0xdeeb9ae9
+0, 7, 7, 1, 38016, 0xdc8da889
+0, 8, 8, 1, 38016, 0x7a32a81c
+0, 9, 9, 1, 38016, 0xaf15908b
+0, 10, 10, 1, 38016, 0x4c8b5461
+0, 11, 11, 1, 38016, 0x1d4826db
+0, 12, 12, 1, 38016, 0x5ca72731
+0, 13, 13, 1, 38016, 0xb09732e6
+0, 14, 14, 1, 38016, 0xa65252eb
+0, 15, 15, 1, 38016, 0x09fa7644
+0, 16, 16, 1, 38016, 0x5262af8f
+0, 17, 17, 1, 38016, 0x50d6c6ac
+0, 18, 18, 1, 38016, 0x6895c300
+0, 19, 19, 1, 38016, 0x2d58bf4f
+0, 20, 20, 1, 38016, 0x50dfc4c0
+0, 21, 21, 1, 38016, 0x12d2cb90
+0, 22, 22, 1, 38016, 0xe465c7d7
+0, 23, 23, 1, 38016, 0x47c5c615
+0, 24, 24, 1, 38016, 0x76fdc6e6
+0, 25, 25, 1, 38016, 0xefeec7ae
+0, 26, 26, 1, 38016, 0x2cebcdf7
+0, 27, 27, 1, 38016, 0x49abd265
+0, 28, 28, 1, 38016, 0x157bdfe4
+0, 29, 29, 1, 38016, 0x3635e5da
+0, 30, 30, 1, 38016, 0x6263aace
+0, 31, 31, 1, 38016, 0x7fff72f0
+0, 32, 32, 1, 38016, 0x83994b85
+0, 33, 33, 1, 38016, 0xa8c990a7
+0, 34, 34, 1, 38016, 0xce5204c4
+0, 35, 35, 1, 38016, 0xf1176131
+0, 36, 36, 1, 38016, 0x4252bdca
+0, 37, 37, 1, 38016, 0xd8f447c3
+0, 38, 38, 1, 38016, 0xc5e79075
+0, 39, 39, 1, 38016, 0x5291ca60
+0, 40, 40, 1, 38016, 0x5dffe889
+0, 41, 41, 1, 38016, 0x6dc4fad6
+0, 42, 42, 1, 38016, 0xbcc7f16a
+0, 43, 43, 1, 38016, 0xcd5c059a
+0, 44, 44, 1, 38016, 0x452314ad
+0, 45, 45, 1, 38016, 0x19d1fd99
+0, 46, 46, 1, 38016, 0x93f4ca3c
+0, 47, 47, 1, 38016, 0x23dd9d81
+0, 48, 48, 1, 38016, 0x4a4cabdb
+0, 49, 49, 1, 38016, 0x15a3d785
+0, 50, 50, 1, 38016, 0xaa34e055
+0, 51, 51, 1, 38016, 0x8a34b88d
+0, 52, 52, 1, 38016, 0x1955d649
+0, 53, 53, 1, 38016, 0xf6dc0782
+0, 54, 54, 1, 38016, 0x66cb360a
+0, 55, 55, 1, 38016, 0xf3615cfb
+0, 56, 56, 1, 38016, 0xca466b6d
+0, 57, 57, 1, 38016, 0xe0ad3523
+0, 58, 58, 1, 38016, 0x8181323e
+0, 59, 59, 1, 38016, 0x93324bab
+0, 60, 60, 1, 38016, 0xce2c38b6
+0, 61, 61, 1, 38016, 0xe50a20fc
+0, 62, 62, 1, 38016, 0x8a74ce30
+0, 63, 63, 1, 38016, 0x893ca7d8
+0, 64, 64, 1, 38016, 0x716fd810
+0, 65, 65, 1, 38016, 0x352aeb3c
+0, 66, 66, 1, 38016, 0xdf14e4d1
+0, 67, 67, 1, 38016, 0x7e87dd42
+0, 68, 68, 1, 38016, 0xe084c706
+0, 69, 69, 1, 38016, 0x4000ba1f
+0, 70, 70, 1, 38016, 0x10679f5a
+0, 71, 71, 1, 38016, 0x5cb686b2
+0, 72, 72, 1, 38016, 0x5dea8ffe
+0, 73, 73, 1, 38016, 0x8bd27fc8
+0, 74, 74, 1, 38016, 0x72912b15
+0, 75, 75, 1, 38016, 0xb86be965
+0, 76, 76, 1, 38016, 0x7a42da39
+0, 77, 77, 1, 38016, 0x9ddacae0
+0, 78, 78, 1, 38016, 0xb767ff5b
+0, 79, 79, 1, 38016, 0xa3c64887
+0, 80, 80, 1, 38016, 0xbc6981f2
+0, 81, 81, 1, 38016, 0xc2506c22
+0, 82, 82, 1, 38016, 0x6e785862
+0, 83, 83, 1, 38016, 0xfade2b2d
+0, 84, 84, 1, 38016, 0xada1d917
+0, 85, 85, 1, 38016, 0x459beba1
+0, 86, 86, 1, 38016, 0x8b491f3c
+0, 87, 87, 1, 38016, 0x917b0fab
+0, 88, 88, 1, 38016, 0x053fb1d2
+0, 89, 89, 1, 38016, 0x96e44e17
+0, 90, 90, 1, 38016, 0x4d34f7e0
+0, 91, 91, 1, 38016, 0x2265c386
+0, 92, 92, 1, 38016, 0xc45dd284
+0, 93, 93, 1, 38016, 0x0638fca3
+0, 94, 94, 1, 38016, 0xcd9c2bbc
+0, 95, 95, 1, 38016, 0x3220dea3
+0, 96, 96, 1, 38016, 0x72dfb576
+0, 97, 97, 1, 38016, 0xb804ee86
+0, 98, 98, 1, 38016, 0xbd516400
+0, 99, 99, 1, 38016, 0x737fa296
diff --git a/tests/ref/fate/h264-conformance-ba1_ft_c b/tests/ref/fate/h264-conformance-ba1_ft_c
index e97e05c358..9f6bc2344f 100644
--- a/tests/ref/fate/h264-conformance-ba1_ft_c
+++ b/tests/ref/fate/h264-conformance-ba1_ft_c
@@ -1,299 +1,300 @@
-0, 0, 152064, 0xa6f9b2a8
-0, 3600, 152064, 0x936a8ed6
-0, 7200, 152064, 0xa9f47652
-0, 10800, 152064, 0xf53ea804
-0, 14400, 152064, 0xc951304d
-0, 18000, 152064, 0x59b786b9
-0, 21600, 152064, 0x01b3d9e9
-0, 25200, 152064, 0x94db5883
-0, 28800, 152064, 0xef01ce6c
-0, 32400, 152064, 0x18401484
-0, 36000, 152064, 0xf8773e58
-0, 39600, 152064, 0x09d07ae7
-0, 43200, 152064, 0xbbec5291
-0, 46800, 152064, 0x1ddcbb1e
-0, 50400, 152064, 0x51b257f2
-0, 54000, 152064, 0x2e537d43
-0, 57600, 152064, 0xc4d3c391
-0, 61200, 152064, 0xe6d0ed1c
-0, 64800, 152064, 0x99d81859
-0, 68400, 152064, 0xba1c1693
-0, 72000, 152064, 0x60a22321
-0, 75600, 152064, 0xfe000aee
-0, 79200, 152064, 0x3b056f2d
-0, 82800, 152064, 0xf735caf9
-0, 86400, 152064, 0x81b94a66
-0, 90000, 152064, 0x28ad08af
-0, 93600, 152064, 0x69b316f5
-0, 97200, 152064, 0xa90e6480
-0, 100800, 152064, 0x2600a97a
-0, 104400, 152064, 0x28b1e894
-0, 108000, 152064, 0x8caaeb3c
-0, 111600, 152064, 0xeaa3cd5d
-0, 115200, 152064, 0x2aeab842
-0, 118800, 152064, 0x8781b8fe
-0, 122400, 152064, 0xd5829de5
-0, 126000, 152064, 0xd04489cd
-0, 129600, 152064, 0xfe268158
-0, 133200, 152064, 0x43917137
-0, 136800, 152064, 0x99963053
-0, 140400, 152064, 0xe085087d
-0, 144000, 152064, 0x0344f8d3
-0, 147600, 152064, 0xe353b02a
-0, 151200, 152064, 0x3f84816d
-0, 154800, 152064, 0x3c3a8145
-0, 158400, 152064, 0x478caf10
-0, 162000, 152064, 0xdc879176
-0, 165600, 152064, 0x502f3b81
-0, 169200, 152064, 0x49997d1a
-0, 172800, 152064, 0x6375e30f
-0, 176400, 152064, 0x2abd5994
-0, 180000, 152064, 0xa32a06a0
-0, 183600, 152064, 0x9a2aed47
-0, 187200, 152064, 0x1963fa9d
-0, 190800, 152064, 0xa429cc58
-0, 194400, 152064, 0x8f08abca
-0, 198000, 152064, 0xdabe3408
-0, 201600, 152064, 0x5b94b0f1
-0, 205200, 152064, 0xb2565ba5
-0, 208800, 152064, 0x6eaf3500
-0, 212400, 152064, 0x04d79374
-0, 216000, 152064, 0x0a9281d7
-0, 219600, 152064, 0x97bf672b
-0, 223200, 152064, 0x996d0b1a
-0, 226800, 152064, 0xb5c4d52d
-0, 230400, 152064, 0x8ab3897b
-0, 234000, 152064, 0xd3303ae0
-0, 237600, 152064, 0x2c217280
-0, 241200, 152064, 0xcc21c7ff
-0, 244800, 152064, 0xf9ae50ea
-0, 248400, 152064, 0xa8af67a2
-0, 252000, 152064, 0xba2cbf40
-0, 255600, 152064, 0x80364875
-0, 259200, 152064, 0xe7028c24
-0, 262800, 152064, 0x6730636d
-0, 266400, 152064, 0xd5d9bf5f
-0, 270000, 152064, 0x2ec4cf74
-0, 273600, 152064, 0x47c0e7ec
-0, 277200, 152064, 0x0e1741fb
-0, 280800, 152064, 0x4b39d9b6
-0, 284400, 152064, 0x30737f2e
-0, 288000, 152064, 0xce133061
-0, 291600, 152064, 0x3b7ce6b9
-0, 295200, 152064, 0x5b11d100
-0, 298800, 152064, 0x8bd801ca
-0, 302400, 152064, 0x5d322cf6
-0, 306000, 152064, 0xdd47a0a3
-0, 309600, 152064, 0x0e3b3c60
-0, 313200, 152064, 0x8b69ac27
-0, 316800, 152064, 0xef66b267
-0, 320400, 152064, 0x29140655
-0, 324000, 152064, 0x25f6ae5c
-0, 327600, 152064, 0xc1a48b89
-0, 331200, 152064, 0xc3eee9e4
-0, 334800, 152064, 0xec23534a
-0, 338400, 152064, 0x9eed2a2e
-0, 342000, 152064, 0x7e5de8e7
-0, 345600, 152064, 0x8d824e10
-0, 349200, 152064, 0x841ebdc5
-0, 352800, 152064, 0x9bc03542
-0, 356400, 152064, 0xd77d5b14
-0, 360000, 152064, 0x2b4597ed
-0, 363600, 152064, 0xf460a0c5
-0, 367200, 152064, 0x01f58bf9
-0, 370800, 152064, 0xa5cb8dd9
-0, 374400, 152064, 0x12e49e6f
-0, 378000, 152064, 0x6aaac311
-0, 381600, 152064, 0x0ff1d37a
-0, 385200, 152064, 0x0e5ca8ce
-0, 388800, 152064, 0x997c3a1f
-0, 392400, 152064, 0x83c1d64e
-0, 396000, 152064, 0xed2379a3
-0, 399600, 152064, 0xe6b83696
-0, 403200, 152064, 0x1a7c1864
-0, 406800, 152064, 0xb0bcf08e
-0, 410400, 152064, 0x74deb96f
-0, 414000, 152064, 0xe86a9396
-0, 417600, 152064, 0xf78a916b
-0, 421200, 152064, 0x8d35a888
-0, 424800, 152064, 0xb01a956d
-0, 428400, 152064, 0xc8d37b7d
-0, 432000, 152064, 0x903251c9
-0, 435600, 152064, 0x93b819ac
-0, 439200, 152064, 0xb949f48f
-0, 442800, 152064, 0x7dbfeaba
-0, 446400, 152064, 0x951903ae
-0, 450000, 152064, 0x05742b8e
-0, 453600, 152064, 0xb270514a
-0, 457200, 152064, 0xf729867a
-0, 460800, 152064, 0x7e05f652
-0, 464400, 152064, 0x32a99f23
-0, 468000, 152064, 0x57e7394b
-0, 471600, 152064, 0xc0ffc453
-0, 475200, 152064, 0x7b1e79fa
-0, 478800, 152064, 0x90ee1d52
-0, 482400, 152064, 0xaed672a8
-0, 486000, 152064, 0xa253ccc4
-0, 489600, 152064, 0x2d0807f9
-0, 493200, 152064, 0xdc7ec4cc
-0, 496800, 152064, 0x3c624e2e
-0, 500400, 152064, 0xfa4a91dd
-0, 504000, 152064, 0xcaa83992
-0, 507600, 152064, 0x81e5c52d
-0, 511200, 152064, 0x46ab76f8
-0, 514800, 152064, 0x4ab115d8
-0, 518400, 152064, 0x65d8c9d7
-0, 522000, 152064, 0xcb1e16b1
-0, 525600, 152064, 0xb766c029
-0, 529200, 152064, 0x2a49c7c0
-0, 532800, 152064, 0x37f35440
-0, 536400, 152064, 0x33b4940f
-0, 540000, 152064, 0x6b22fb9a
-0, 543600, 152064, 0x785e138a
-0, 547200, 152064, 0xc7a1954a
-0, 550800, 152064, 0x6f325026
-0, 554400, 152064, 0x23d6bf8d
-0, 558000, 152064, 0x8e6f5815
-0, 561600, 152064, 0x434c4770
-0, 565200, 152064, 0x22319908
-0, 568800, 152064, 0xec368ac8
-0, 572400, 152064, 0xc69d7306
-0, 576000, 152064, 0xc10ab1c8
-0, 579600, 152064, 0x2497f329
-0, 583200, 152064, 0x95782b50
-0, 586800, 152064, 0xe0481c57
-0, 590400, 152064, 0xa656f1e6
-0, 594000, 152064, 0x562da8a1
-0, 597600, 152064, 0x21716296
-0, 601200, 152064, 0xb1ffd9de
-0, 604800, 152064, 0x49204932
-0, 608400, 152064, 0x88e1ac93
-0, 612000, 152064, 0x6abb5dfb
-0, 615600, 152064, 0xacdede42
-0, 619200, 152064, 0xca28f448
-0, 622800, 152064, 0x6b7e5e84
-0, 626400, 152064, 0x464d4b58
-0, 630000, 152064, 0xd39620f1
-0, 633600, 152064, 0x67336772
-0, 637200, 152064, 0x6de386c2
-0, 640800, 152064, 0x6d8fbc97
-0, 644400, 152064, 0x09fbc88d
-0, 648000, 152064, 0x08dfa188
-0, 651600, 152064, 0xf3461401
-0, 655200, 152064, 0xdd6d1ce5
-0, 658800, 152064, 0x90182ee8
-0, 662400, 152064, 0xcb7cf9a2
-0, 666000, 152064, 0x237e59bd
-0, 669600, 152064, 0xf2efa664
-0, 673200, 152064, 0x6565d69b
-0, 676800, 152064, 0x321ce6e5
-0, 680400, 152064, 0xc7035cb7
-0, 684000, 152064, 0xbfcf2ecc
-0, 687600, 152064, 0x8a2eb353
-0, 691200, 152064, 0x5224b608
-0, 694800, 152064, 0xc0c51491
-0, 698400, 152064, 0xdeadac32
-0, 702000, 152064, 0x8ffd15fe
-0, 705600, 152064, 0x6a7fda8c
-0, 709200, 152064, 0x32ae6c5a
-0, 712800, 152064, 0x9668d580
-0, 716400, 152064, 0xb10325d6
-0, 720000, 152064, 0x1cfa4e12
-0, 723600, 152064, 0x87cb2dc6
-0, 727200, 152064, 0x03636041
-0, 730800, 152064, 0x266df3d6
-0, 734400, 152064, 0x48cd5b1b
-0, 738000, 152064, 0xf42e4dde
-0, 741600, 152064, 0x63b21de2
-0, 745200, 152064, 0xef377b16
-0, 748800, 152064, 0x540a3c21
-0, 752400, 152064, 0xbc7576a4
-0, 756000, 152064, 0x38508049
-0, 759600, 152064, 0x5c120e6f
-0, 763200, 152064, 0x5f7dae8a
-0, 766800, 152064, 0x84632e15
-0, 770400, 152064, 0xe6200a58
-0, 774000, 152064, 0xeef9c63d
-0, 777600, 152064, 0xe5c60794
-0, 781200, 152064, 0x387849c9
-0, 784800, 152064, 0x165744e6
-0, 788400, 152064, 0xdc9cce84
-0, 792000, 152064, 0xea3604e0
-0, 795600, 152064, 0xaf9f5a76
-0, 799200, 152064, 0x05ee7254
-0, 802800, 152064, 0x62ed20cf
-0, 806400, 152064, 0x6e038a86
-0, 810000, 152064, 0xc782f21c
-0, 813600, 152064, 0x9d214e66
-0, 817200, 152064, 0xd33ad489
-0, 820800, 152064, 0x5b04dd7a
-0, 824400, 152064, 0xaf9a865d
-0, 828000, 152064, 0x9eb4912a
-0, 831600, 152064, 0x677628d8
-0, 835200, 152064, 0x0b15e1b6
-0, 838800, 152064, 0xda66848a
-0, 842400, 152064, 0xd29a27a8
-0, 846000, 152064, 0x2d74c6a2
-0, 849600, 152064, 0xafa69b91
-0, 853200, 152064, 0xf065a24b
-0, 856800, 152064, 0xe9d5fe63
-0, 860400, 152064, 0xe0428668
-0, 864000, 152064, 0x2cfe6235
-0, 867600, 152064, 0x6506229d
-0, 871200, 152064, 0xc8cddb6b
-0, 874800, 152064, 0x1b827b12
-0, 878400, 152064, 0x366af54b
-0, 882000, 152064, 0x810b5998
-0, 885600, 152064, 0x40d8d09e
-0, 889200, 152064, 0xf5bd32c5
-0, 892800, 152064, 0xb7af7607
-0, 896400, 152064, 0x005ac53b
-0, 900000, 152064, 0x1a28f754
-0, 903600, 152064, 0x8e15108e
-0, 907200, 152064, 0xb40515ec
-0, 910800, 152064, 0x43a30620
-0, 914400, 152064, 0x000beec8
-0, 918000, 152064, 0x1f6e9253
-0, 921600, 152064, 0x14695f50
-0, 925200, 152064, 0x056359d6
-0, 928800, 152064, 0xdc4360e5
-0, 932400, 152064, 0x3716abb2
-0, 936000, 152064, 0xee1cff6a
-0, 939600, 152064, 0x7b251ba9
-0, 943200, 152064, 0xe4f81d2e
-0, 946800, 152064, 0x01411136
-0, 950400, 152064, 0xcff2f30a
-0, 954000, 152064, 0xc8bcd80d
-0, 957600, 152064, 0x94e8a397
-0, 961200, 152064, 0x6fd071c8
-0, 964800, 152064, 0xb6145d60
-0, 968400, 152064, 0x593f5f70
-0, 972000, 152064, 0xb5133bb7
-0, 975600, 152064, 0x40ad1ae8
-0, 979200, 152064, 0xedfc0faa
-0, 982800, 152064, 0xa2ab0578
-0, 986400, 152064, 0x3038fb4f
-0, 990000, 152064, 0xdf10fb53
-0, 993600, 152064, 0x6b63ff01
-0, 997200, 152064, 0xb34af6cd
-0, 1000800, 152064, 0xc7e9cfb0
-0, 1004400, 152064, 0x22ffb57c
-0, 1008000, 152064, 0xf429b3eb
-0, 1011600, 152064, 0x3861e0db
-0, 1015200, 152064, 0x166321b7
-0, 1018800, 152064, 0x3058744c
-0, 1022400, 152064, 0x6e1dc37a
-0, 1026000, 152064, 0xef2aee63
-0, 1029600, 152064, 0x1a9c3957
-0, 1033200, 152064, 0x93807ed4
-0, 1036800, 152064, 0x117fcbe1
-0, 1040400, 152064, 0x80502017
-0, 1044000, 152064, 0xba5a3dac
-0, 1047600, 152064, 0x157764f1
-0, 1051200, 152064, 0xc7577daf
-0, 1054800, 152064, 0xe9e8ae69
-0, 1058400, 152064, 0x04f9ddac
-0, 1062000, 152064, 0x90441226
-0, 1065600, 152064, 0xaa594ed2
-0, 1069200, 152064, 0x59258b49
-0, 1072800, 152064, 0x13ec85c6
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xa6f9b2a8
+0, 1, 1, 1, 152064, 0x936a8ed6
+0, 2, 2, 1, 152064, 0xa9f47652
+0, 3, 3, 1, 152064, 0xf53ea804
+0, 4, 4, 1, 152064, 0xc951304d
+0, 5, 5, 1, 152064, 0x59b786b9
+0, 6, 6, 1, 152064, 0x01b3d9e9
+0, 7, 7, 1, 152064, 0x94db5883
+0, 8, 8, 1, 152064, 0xef01ce6c
+0, 9, 9, 1, 152064, 0x18401484
+0, 10, 10, 1, 152064, 0xf8773e58
+0, 11, 11, 1, 152064, 0x09d07ae7
+0, 12, 12, 1, 152064, 0xbbec5291
+0, 13, 13, 1, 152064, 0x1ddcbb1e
+0, 14, 14, 1, 152064, 0x51b257f2
+0, 15, 15, 1, 152064, 0x2e537d43
+0, 16, 16, 1, 152064, 0xc4d3c391
+0, 17, 17, 1, 152064, 0xe6d0ed1c
+0, 18, 18, 1, 152064, 0x99d81859
+0, 19, 19, 1, 152064, 0xba1c1693
+0, 20, 20, 1, 152064, 0x60a22321
+0, 21, 21, 1, 152064, 0xfe000aee
+0, 22, 22, 1, 152064, 0x3b056f2d
+0, 23, 23, 1, 152064, 0xf735caf9
+0, 24, 24, 1, 152064, 0x81b94a66
+0, 25, 25, 1, 152064, 0x28ad08af
+0, 26, 26, 1, 152064, 0x69b316f5
+0, 27, 27, 1, 152064, 0xa90e6480
+0, 28, 28, 1, 152064, 0x2600a97a
+0, 29, 29, 1, 152064, 0x28b1e894
+0, 30, 30, 1, 152064, 0x8caaeb3c
+0, 31, 31, 1, 152064, 0xeaa3cd5d
+0, 32, 32, 1, 152064, 0x2aeab842
+0, 33, 33, 1, 152064, 0x8781b8fe
+0, 34, 34, 1, 152064, 0xd5829de5
+0, 35, 35, 1, 152064, 0xd04489cd
+0, 36, 36, 1, 152064, 0xfe268158
+0, 37, 37, 1, 152064, 0x43917137
+0, 38, 38, 1, 152064, 0x99963053
+0, 39, 39, 1, 152064, 0xe085087d
+0, 40, 40, 1, 152064, 0x0344f8d3
+0, 41, 41, 1, 152064, 0xe353b02a
+0, 42, 42, 1, 152064, 0x3f84816d
+0, 43, 43, 1, 152064, 0x3c3a8145
+0, 44, 44, 1, 152064, 0x478caf10
+0, 45, 45, 1, 152064, 0xdc879176
+0, 46, 46, 1, 152064, 0x502f3b81
+0, 47, 47, 1, 152064, 0x49997d1a
+0, 48, 48, 1, 152064, 0x6375e30f
+0, 49, 49, 1, 152064, 0x2abd5994
+0, 50, 50, 1, 152064, 0xa32a06a0
+0, 51, 51, 1, 152064, 0x9a2aed47
+0, 52, 52, 1, 152064, 0x1963fa9d
+0, 53, 53, 1, 152064, 0xa429cc58
+0, 54, 54, 1, 152064, 0x8f08abca
+0, 55, 55, 1, 152064, 0xdabe3408
+0, 56, 56, 1, 152064, 0x5b94b0f1
+0, 57, 57, 1, 152064, 0xb2565ba5
+0, 58, 58, 1, 152064, 0x6eaf3500
+0, 59, 59, 1, 152064, 0x04d79374
+0, 60, 60, 1, 152064, 0x0a9281d7
+0, 61, 61, 1, 152064, 0x97bf672b
+0, 62, 62, 1, 152064, 0x996d0b1a
+0, 63, 63, 1, 152064, 0xb5c4d52d
+0, 64, 64, 1, 152064, 0x8ab3897b
+0, 65, 65, 1, 152064, 0xd3303ae0
+0, 66, 66, 1, 152064, 0x2c217280
+0, 67, 67, 1, 152064, 0xcc21c7ff
+0, 68, 68, 1, 152064, 0xf9ae50ea
+0, 69, 69, 1, 152064, 0xa8af67a2
+0, 70, 70, 1, 152064, 0xba2cbf40
+0, 71, 71, 1, 152064, 0x80364875
+0, 72, 72, 1, 152064, 0xe7028c24
+0, 73, 73, 1, 152064, 0x6730636d
+0, 74, 74, 1, 152064, 0xd5d9bf5f
+0, 75, 75, 1, 152064, 0x2ec4cf74
+0, 76, 76, 1, 152064, 0x47c0e7ec
+0, 77, 77, 1, 152064, 0x0e1741fb
+0, 78, 78, 1, 152064, 0x4b39d9b6
+0, 79, 79, 1, 152064, 0x30737f2e
+0, 80, 80, 1, 152064, 0xce133061
+0, 81, 81, 1, 152064, 0x3b7ce6b9
+0, 82, 82, 1, 152064, 0x5b11d100
+0, 83, 83, 1, 152064, 0x8bd801ca
+0, 84, 84, 1, 152064, 0x5d322cf6
+0, 85, 85, 1, 152064, 0xdd47a0a3
+0, 86, 86, 1, 152064, 0x0e3b3c60
+0, 87, 87, 1, 152064, 0x8b69ac27
+0, 88, 88, 1, 152064, 0xef66b267
+0, 89, 89, 1, 152064, 0x29140655
+0, 90, 90, 1, 152064, 0x25f6ae5c
+0, 91, 91, 1, 152064, 0xc1a48b89
+0, 92, 92, 1, 152064, 0xc3eee9e4
+0, 93, 93, 1, 152064, 0xec23534a
+0, 94, 94, 1, 152064, 0x9eed2a2e
+0, 95, 95, 1, 152064, 0x7e5de8e7
+0, 96, 96, 1, 152064, 0x8d824e10
+0, 97, 97, 1, 152064, 0x841ebdc5
+0, 98, 98, 1, 152064, 0x9bc03542
+0, 99, 99, 1, 152064, 0xd77d5b14
+0, 100, 100, 1, 152064, 0x2b4597ed
+0, 101, 101, 1, 152064, 0xf460a0c5
+0, 102, 102, 1, 152064, 0x01f58bf9
+0, 103, 103, 1, 152064, 0xa5cb8dd9
+0, 104, 104, 1, 152064, 0x12e49e6f
+0, 105, 105, 1, 152064, 0x6aaac311
+0, 106, 106, 1, 152064, 0x0ff1d37a
+0, 107, 107, 1, 152064, 0x0e5ca8ce
+0, 108, 108, 1, 152064, 0x997c3a1f
+0, 109, 109, 1, 152064, 0x83c1d64e
+0, 110, 110, 1, 152064, 0xed2379a3
+0, 111, 111, 1, 152064, 0xe6b83696
+0, 112, 112, 1, 152064, 0x1a7c1864
+0, 113, 113, 1, 152064, 0xb0bcf08e
+0, 114, 114, 1, 152064, 0x74deb96f
+0, 115, 115, 1, 152064, 0xe86a9396
+0, 116, 116, 1, 152064, 0xf78a916b
+0, 117, 117, 1, 152064, 0x8d35a888
+0, 118, 118, 1, 152064, 0xb01a956d
+0, 119, 119, 1, 152064, 0xc8d37b7d
+0, 120, 120, 1, 152064, 0x903251c9
+0, 121, 121, 1, 152064, 0x93b819ac
+0, 122, 122, 1, 152064, 0xb949f48f
+0, 123, 123, 1, 152064, 0x7dbfeaba
+0, 124, 124, 1, 152064, 0x951903ae
+0, 125, 125, 1, 152064, 0x05742b8e
+0, 126, 126, 1, 152064, 0xb270514a
+0, 127, 127, 1, 152064, 0xf729867a
+0, 128, 128, 1, 152064, 0x7e05f652
+0, 129, 129, 1, 152064, 0x32a99f23
+0, 130, 130, 1, 152064, 0x57e7394b
+0, 131, 131, 1, 152064, 0xc0ffc453
+0, 132, 132, 1, 152064, 0x7b1e79fa
+0, 133, 133, 1, 152064, 0x90ee1d52
+0, 134, 134, 1, 152064, 0xaed672a8
+0, 135, 135, 1, 152064, 0xa253ccc4
+0, 136, 136, 1, 152064, 0x2d0807f9
+0, 137, 137, 1, 152064, 0xdc7ec4cc
+0, 138, 138, 1, 152064, 0x3c624e2e
+0, 139, 139, 1, 152064, 0xfa4a91dd
+0, 140, 140, 1, 152064, 0xcaa83992
+0, 141, 141, 1, 152064, 0x81e5c52d
+0, 142, 142, 1, 152064, 0x46ab76f8
+0, 143, 143, 1, 152064, 0x4ab115d8
+0, 144, 144, 1, 152064, 0x65d8c9d7
+0, 145, 145, 1, 152064, 0xcb1e16b1
+0, 146, 146, 1, 152064, 0xb766c029
+0, 147, 147, 1, 152064, 0x2a49c7c0
+0, 148, 148, 1, 152064, 0x37f35440
+0, 149, 149, 1, 152064, 0x33b4940f
+0, 150, 150, 1, 152064, 0x6b22fb9a
+0, 151, 151, 1, 152064, 0x785e138a
+0, 152, 152, 1, 152064, 0xc7a1954a
+0, 153, 153, 1, 152064, 0x6f325026
+0, 154, 154, 1, 152064, 0x23d6bf8d
+0, 155, 155, 1, 152064, 0x8e6f5815
+0, 156, 156, 1, 152064, 0x434c4770
+0, 157, 157, 1, 152064, 0x22319908
+0, 158, 158, 1, 152064, 0xec368ac8
+0, 159, 159, 1, 152064, 0xc69d7306
+0, 160, 160, 1, 152064, 0xc10ab1c8
+0, 161, 161, 1, 152064, 0x2497f329
+0, 162, 162, 1, 152064, 0x95782b50
+0, 163, 163, 1, 152064, 0xe0481c57
+0, 164, 164, 1, 152064, 0xa656f1e6
+0, 165, 165, 1, 152064, 0x562da8a1
+0, 166, 166, 1, 152064, 0x21716296
+0, 167, 167, 1, 152064, 0xb1ffd9de
+0, 168, 168, 1, 152064, 0x49204932
+0, 169, 169, 1, 152064, 0x88e1ac93
+0, 170, 170, 1, 152064, 0x6abb5dfb
+0, 171, 171, 1, 152064, 0xacdede42
+0, 172, 172, 1, 152064, 0xca28f448
+0, 173, 173, 1, 152064, 0x6b7e5e84
+0, 174, 174, 1, 152064, 0x464d4b58
+0, 175, 175, 1, 152064, 0xd39620f1
+0, 176, 176, 1, 152064, 0x67336772
+0, 177, 177, 1, 152064, 0x6de386c2
+0, 178, 178, 1, 152064, 0x6d8fbc97
+0, 179, 179, 1, 152064, 0x09fbc88d
+0, 180, 180, 1, 152064, 0x08dfa188
+0, 181, 181, 1, 152064, 0xf3461401
+0, 182, 182, 1, 152064, 0xdd6d1ce5
+0, 183, 183, 1, 152064, 0x90182ee8
+0, 184, 184, 1, 152064, 0xcb7cf9a2
+0, 185, 185, 1, 152064, 0x237e59bd
+0, 186, 186, 1, 152064, 0xf2efa664
+0, 187, 187, 1, 152064, 0x6565d69b
+0, 188, 188, 1, 152064, 0x321ce6e5
+0, 189, 189, 1, 152064, 0xc7035cb7
+0, 190, 190, 1, 152064, 0xbfcf2ecc
+0, 191, 191, 1, 152064, 0x8a2eb353
+0, 192, 192, 1, 152064, 0x5224b608
+0, 193, 193, 1, 152064, 0xc0c51491
+0, 194, 194, 1, 152064, 0xdeadac32
+0, 195, 195, 1, 152064, 0x8ffd15fe
+0, 196, 196, 1, 152064, 0x6a7fda8c
+0, 197, 197, 1, 152064, 0x32ae6c5a
+0, 198, 198, 1, 152064, 0x9668d580
+0, 199, 199, 1, 152064, 0xb10325d6
+0, 200, 200, 1, 152064, 0x1cfa4e12
+0, 201, 201, 1, 152064, 0x87cb2dc6
+0, 202, 202, 1, 152064, 0x03636041
+0, 203, 203, 1, 152064, 0x266df3d6
+0, 204, 204, 1, 152064, 0x48cd5b1b
+0, 205, 205, 1, 152064, 0xf42e4dde
+0, 206, 206, 1, 152064, 0x63b21de2
+0, 207, 207, 1, 152064, 0xef377b16
+0, 208, 208, 1, 152064, 0x540a3c21
+0, 209, 209, 1, 152064, 0xbc7576a4
+0, 210, 210, 1, 152064, 0x38508049
+0, 211, 211, 1, 152064, 0x5c120e6f
+0, 212, 212, 1, 152064, 0x5f7dae8a
+0, 213, 213, 1, 152064, 0x84632e15
+0, 214, 214, 1, 152064, 0xe6200a58
+0, 215, 215, 1, 152064, 0xeef9c63d
+0, 216, 216, 1, 152064, 0xe5c60794
+0, 217, 217, 1, 152064, 0x387849c9
+0, 218, 218, 1, 152064, 0x165744e6
+0, 219, 219, 1, 152064, 0xdc9cce84
+0, 220, 220, 1, 152064, 0xea3604e0
+0, 221, 221, 1, 152064, 0xaf9f5a76
+0, 222, 222, 1, 152064, 0x05ee7254
+0, 223, 223, 1, 152064, 0x62ed20cf
+0, 224, 224, 1, 152064, 0x6e038a86
+0, 225, 225, 1, 152064, 0xc782f21c
+0, 226, 226, 1, 152064, 0x9d214e66
+0, 227, 227, 1, 152064, 0xd33ad489
+0, 228, 228, 1, 152064, 0x5b04dd7a
+0, 229, 229, 1, 152064, 0xaf9a865d
+0, 230, 230, 1, 152064, 0x9eb4912a
+0, 231, 231, 1, 152064, 0x677628d8
+0, 232, 232, 1, 152064, 0x0b15e1b6
+0, 233, 233, 1, 152064, 0xda66848a
+0, 234, 234, 1, 152064, 0xd29a27a8
+0, 235, 235, 1, 152064, 0x2d74c6a2
+0, 236, 236, 1, 152064, 0xafa69b91
+0, 237, 237, 1, 152064, 0xf065a24b
+0, 238, 238, 1, 152064, 0xe9d5fe63
+0, 239, 239, 1, 152064, 0xe0428668
+0, 240, 240, 1, 152064, 0x2cfe6235
+0, 241, 241, 1, 152064, 0x6506229d
+0, 242, 242, 1, 152064, 0xc8cddb6b
+0, 243, 243, 1, 152064, 0x1b827b12
+0, 244, 244, 1, 152064, 0x366af54b
+0, 245, 245, 1, 152064, 0x810b5998
+0, 246, 246, 1, 152064, 0x40d8d09e
+0, 247, 247, 1, 152064, 0xf5bd32c5
+0, 248, 248, 1, 152064, 0xb7af7607
+0, 249, 249, 1, 152064, 0x005ac53b
+0, 250, 250, 1, 152064, 0x1a28f754
+0, 251, 251, 1, 152064, 0x8e15108e
+0, 252, 252, 1, 152064, 0xb40515ec
+0, 253, 253, 1, 152064, 0x43a30620
+0, 254, 254, 1, 152064, 0x000beec8
+0, 255, 255, 1, 152064, 0x1f6e9253
+0, 256, 256, 1, 152064, 0x14695f50
+0, 257, 257, 1, 152064, 0x056359d6
+0, 258, 258, 1, 152064, 0xdc4360e5
+0, 259, 259, 1, 152064, 0x3716abb2
+0, 260, 260, 1, 152064, 0xee1cff6a
+0, 261, 261, 1, 152064, 0x7b251ba9
+0, 262, 262, 1, 152064, 0xe4f81d2e
+0, 263, 263, 1, 152064, 0x01411136
+0, 264, 264, 1, 152064, 0xcff2f30a
+0, 265, 265, 1, 152064, 0xc8bcd80d
+0, 266, 266, 1, 152064, 0x94e8a397
+0, 267, 267, 1, 152064, 0x6fd071c8
+0, 268, 268, 1, 152064, 0xb6145d60
+0, 269, 269, 1, 152064, 0x593f5f70
+0, 270, 270, 1, 152064, 0xb5133bb7
+0, 271, 271, 1, 152064, 0x40ad1ae8
+0, 272, 272, 1, 152064, 0xedfc0faa
+0, 273, 273, 1, 152064, 0xa2ab0578
+0, 274, 274, 1, 152064, 0x3038fb4f
+0, 275, 275, 1, 152064, 0xdf10fb53
+0, 276, 276, 1, 152064, 0x6b63ff01
+0, 277, 277, 1, 152064, 0xb34af6cd
+0, 278, 278, 1, 152064, 0xc7e9cfb0
+0, 279, 279, 1, 152064, 0x22ffb57c
+0, 280, 280, 1, 152064, 0xf429b3eb
+0, 281, 281, 1, 152064, 0x3861e0db
+0, 282, 282, 1, 152064, 0x166321b7
+0, 283, 283, 1, 152064, 0x3058744c
+0, 284, 284, 1, 152064, 0x6e1dc37a
+0, 285, 285, 1, 152064, 0xef2aee63
+0, 286, 286, 1, 152064, 0x1a9c3957
+0, 287, 287, 1, 152064, 0x93807ed4
+0, 288, 288, 1, 152064, 0x117fcbe1
+0, 289, 289, 1, 152064, 0x80502017
+0, 290, 290, 1, 152064, 0xba5a3dac
+0, 291, 291, 1, 152064, 0x157764f1
+0, 292, 292, 1, 152064, 0xc7577daf
+0, 293, 293, 1, 152064, 0xe9e8ae69
+0, 294, 294, 1, 152064, 0x04f9ddac
+0, 295, 295, 1, 152064, 0x90441226
+0, 296, 296, 1, 152064, 0xaa594ed2
+0, 297, 297, 1, 152064, 0x59258b49
+0, 298, 298, 1, 152064, 0x13ec85c6
diff --git a/tests/ref/fate/h264-conformance-ba1_sony_d b/tests/ref/fate/h264-conformance-ba1_sony_d
index 9eefa538d1..b0145cdbb4 100644
--- a/tests/ref/fate/h264-conformance-ba1_sony_d
+++ b/tests/ref/fate/h264-conformance-ba1_sony_d
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0x99e1fe60
-0, 7200, 38016, 0x65eace24
-0, 10800, 38016, 0xb2b0a513
-0, 14400, 38016, 0x8af47c64
-0, 18000, 38016, 0xa56670c6
-0, 21600, 38016, 0x11d45ac9
-0, 25200, 38016, 0xcd4e4f18
-0, 28800, 38016, 0x399934b2
-0, 32400, 38016, 0xedd23f7b
-0, 36000, 38016, 0x38c350b9
-0, 39600, 38016, 0xdd937244
-0, 43200, 38016, 0x39c67be6
-0, 46800, 38016, 0xabb7a34d
-0, 50400, 38016, 0x535d971f
-0, 54000, 38016, 0xd41c9cf7
-0, 57600, 38016, 0xfddda183
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0x99e1fe60
+0, 2, 2, 1, 38016, 0x65eace24
+0, 3, 3, 1, 38016, 0xb2b0a513
+0, 4, 4, 1, 38016, 0x8af47c64
+0, 5, 5, 1, 38016, 0xa56670c6
+0, 6, 6, 1, 38016, 0x11d45ac9
+0, 7, 7, 1, 38016, 0xcd4e4f18
+0, 8, 8, 1, 38016, 0x399934b2
+0, 9, 9, 1, 38016, 0xedd23f7b
+0, 10, 10, 1, 38016, 0x38c350b9
+0, 11, 11, 1, 38016, 0xdd937244
+0, 12, 12, 1, 38016, 0x39c67be6
+0, 13, 13, 1, 38016, 0xabb7a34d
+0, 14, 14, 1, 38016, 0x535d971f
+0, 15, 15, 1, 38016, 0xd41c9cf7
+0, 16, 16, 1, 38016, 0xfddda183
diff --git a/tests/ref/fate/h264-conformance-ba2_sony_f b/tests/ref/fate/h264-conformance-ba2_sony_f
index 126b6e6c4f..13a6462c67 100644
--- a/tests/ref/fate/h264-conformance-ba2_sony_f
+++ b/tests/ref/fate/h264-conformance-ba2_sony_f
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0x47b90d4b
-0, 7200, 38016, 0x3e99dfcf
-0, 10800, 38016, 0xeb18bb85
-0, 14400, 38016, 0xcf1e9658
-0, 18000, 38016, 0xf01b7bf1
-0, 21600, 38016, 0x92e06ac5
-0, 25200, 38016, 0x8ae35c1f
-0, 28800, 38016, 0x4bda52c8
-0, 32400, 38016, 0xbffe59e5
-0, 36000, 38016, 0x56c96cad
-0, 39600, 38016, 0x8a278da1
-0, 43200, 38016, 0xce6f97d6
-0, 46800, 38016, 0x69edad2e
-0, 50400, 38016, 0x5134a67c
-0, 54000, 38016, 0x1abfb2a1
-0, 57600, 38016, 0x4a37b185
-0, 61200, 38016, 0x5270a90e
-0, 64800, 38016, 0xe28f9d5d
-0, 68400, 38016, 0x3fcc87b0
-0, 72000, 38016, 0x719e6605
-0, 75600, 38016, 0x8b824ca3
-0, 79200, 38016, 0x5f6a3544
-0, 82800, 38016, 0x2ecd2ada
-0, 86400, 38016, 0x5d4f3055
-0, 90000, 38016, 0xc54441d3
-0, 93600, 38016, 0x93f83f2c
-0, 97200, 38016, 0xaa4d46a8
-0, 100800, 38016, 0x7ca45c1f
-0, 104400, 38016, 0x59de7854
-0, 108000, 38016, 0xc8f98709
-0, 111600, 38016, 0x9a199eeb
-0, 115200, 38016, 0xfd82b785
-0, 118800, 38016, 0x319fd17f
-0, 122400, 38016, 0xc6ebd362
-0, 126000, 38016, 0xbd60d5dc
-0, 129600, 38016, 0x6e27d260
-0, 133200, 38016, 0x96b7cf93
-0, 136800, 38016, 0x6787cbcf
-0, 140400, 38016, 0x48dacd76
-0, 144000, 38016, 0xbef1d08e
-0, 147600, 38016, 0xbb1bd9a4
-0, 151200, 38016, 0xa420d63b
-0, 154800, 38016, 0xfa26d0ab
-0, 158400, 38016, 0xa349d2e0
-0, 162000, 38016, 0x9946ce09
-0, 165600, 38016, 0xb101cabe
-0, 169200, 38016, 0x9e18c6b2
-0, 172800, 38016, 0xe7cccbd9
-0, 176400, 38016, 0x1067d145
-0, 180000, 38016, 0xae13cd75
-0, 183600, 38016, 0x8e06cce5
-0, 187200, 38016, 0x0b3dcbf8
-0, 190800, 38016, 0xc6cbcfbe
-0, 194400, 38016, 0x1eced2f7
-0, 198000, 38016, 0x5d72da04
-0, 201600, 38016, 0x0643e191
-0, 205200, 38016, 0x3cace7f7
-0, 208800, 38016, 0x5e31f1f0
-0, 212400, 38016, 0x04d1ef46
-0, 216000, 38016, 0xffdbe794
-0, 219600, 38016, 0x106ad275
-0, 223200, 38016, 0x5c64a147
-0, 226800, 38016, 0xb7676212
-0, 230400, 38016, 0x86ea653e
-0, 234000, 38016, 0xabb48937
-0, 237600, 38016, 0x6b1cadc4
-0, 241200, 38016, 0xa4eaf34b
-0, 244800, 38016, 0x4174280f
-0, 248400, 38016, 0xfe845818
-0, 252000, 38016, 0xc64a838e
-0, 255600, 38016, 0x5e24aaf0
-0, 259200, 38016, 0x8bffd9d8
-0, 262800, 38016, 0x00d912c9
-0, 266400, 38016, 0x0dba50f0
-0, 270000, 38016, 0x80958628
-0, 273600, 38016, 0x4e81a356
-0, 277200, 38016, 0x121dc289
-0, 280800, 38016, 0x4885de6f
-0, 284400, 38016, 0x5329e4f9
-0, 288000, 38016, 0xa129ef6b
-0, 291600, 38016, 0x3ea6fd46
-0, 295200, 38016, 0x9a68fbb4
-0, 298800, 38016, 0xea1dffdd
-0, 302400, 38016, 0x7bf9f719
-0, 306000, 38016, 0x9aa5ff2a
-0, 309600, 38016, 0xf050fe90
-0, 313200, 38016, 0xb6f50938
-0, 316800, 38016, 0xbe900b57
-0, 320400, 38016, 0x27b90a6b
-0, 324000, 38016, 0xe87bf703
-0, 327600, 38016, 0xaf0fdbe1
-0, 331200, 38016, 0x3f2cc304
-0, 334800, 38016, 0x0114b42f
-0, 338400, 38016, 0x7f739915
-0, 342000, 38016, 0xcc3da414
-0, 345600, 38016, 0x57e2afe8
-0, 349200, 38016, 0x59b6bdc5
-0, 352800, 38016, 0xb3eacf6a
-0, 356400, 38016, 0xa10ddcd8
-0, 360000, 38016, 0xae05e697
-0, 363600, 38016, 0x8cb9d81c
-0, 367200, 38016, 0x5d5cc3b1
-0, 370800, 38016, 0x8f89c0c0
-0, 374400, 38016, 0x593cda26
-0, 378000, 38016, 0xd5d1f2fc
-0, 381600, 38016, 0x2586ff00
-0, 385200, 38016, 0x1c2613f0
-0, 388800, 38016, 0x236133bd
-0, 392400, 38016, 0x92c5439b
-0, 396000, 38016, 0xd1145724
-0, 399600, 38016, 0xf2fa5c12
-0, 403200, 38016, 0x810d5f50
-0, 406800, 38016, 0x196f4470
-0, 410400, 38016, 0xcba71d6b
-0, 414000, 38016, 0x58ab17b0
-0, 417600, 38016, 0x4a96278d
-0, 421200, 38016, 0x4afe2f7d
-0, 424800, 38016, 0xe1ca3d55
-0, 428400, 38016, 0x4f6844ab
-0, 432000, 38016, 0x7ad24bc5
-0, 435600, 38016, 0x068c49f0
-0, 439200, 38016, 0x23b92dae
-0, 442800, 38016, 0x0e9a0793
-0, 446400, 38016, 0xc1d2dd4a
-0, 450000, 38016, 0x1b5cbc00
-0, 453600, 38016, 0xa951b88d
-0, 457200, 38016, 0x8b4ac1df
-0, 460800, 38016, 0x91d3d98d
-0, 464400, 38016, 0xa42aeb49
-0, 468000, 38016, 0x21b5f1f6
-0, 471600, 38016, 0xd632f07f
-0, 475200, 38016, 0x6566ec26
-0, 478800, 38016, 0x03f4ee70
-0, 482400, 38016, 0x62b6e999
-0, 486000, 38016, 0xfd1de6fb
-0, 489600, 38016, 0xb07bdc79
-0, 493200, 38016, 0xace9d441
-0, 496800, 38016, 0x7d98c788
-0, 500400, 38016, 0x3c7dbae4
-0, 504000, 38016, 0x6e85b20f
-0, 507600, 38016, 0x86a5a6bc
-0, 511200, 38016, 0xacbe93ca
-0, 514800, 38016, 0x8e438bde
-0, 518400, 38016, 0x88b4963d
-0, 522000, 38016, 0x86119504
-0, 525600, 38016, 0x0ccc8932
-0, 529200, 38016, 0x69a45f01
-0, 532800, 38016, 0x8f173148
-0, 536400, 38016, 0x1e320daf
-0, 540000, 38016, 0x3957e834
-0, 543600, 38016, 0x57c1dcee
-0, 547200, 38016, 0x2a9edf52
-0, 550800, 38016, 0x116ed4bc
-0, 554400, 38016, 0x81cfc686
-0, 558000, 38016, 0x6685db47
-0, 561600, 38016, 0xab79fd2f
-0, 565200, 38016, 0x65201bdd
-0, 568800, 38016, 0x06e64eb6
-0, 572400, 38016, 0xbcb77ac0
-0, 576000, 38016, 0x65679028
-0, 579600, 38016, 0xf33e837e
-0, 583200, 38016, 0xa77d7b6c
-0, 586800, 38016, 0x0e7b64f6
-0, 590400, 38016, 0x2d1f597c
-0, 594000, 38016, 0x1b6748a1
-0, 597600, 38016, 0x12a91f4f
-0, 601200, 38016, 0xc09df3ee
-0, 604800, 38016, 0x1b9dcd6f
-0, 608400, 38016, 0xf3c2bce4
-0, 612000, 38016, 0xfe05d34b
-0, 615600, 38016, 0x421deb25
-0, 619200, 38016, 0x0f8d0725
-0, 622800, 38016, 0xa03d0a3d
-0, 626400, 38016, 0xe00cf88f
-0, 630000, 38016, 0xa55abfdf
-0, 633600, 38016, 0x11618891
-0, 637200, 38016, 0x45835caf
-0, 640800, 38016, 0x7be63a3b
-0, 644400, 38016, 0x1ebb2104
-0, 648000, 38016, 0x055b0b26
-0, 651600, 38016, 0x076ef47e
-0, 655200, 38016, 0xa828e6e1
-0, 658800, 38016, 0x0de5eb60
-0, 662400, 38016, 0x5238f229
-0, 666000, 38016, 0x332cff7c
-0, 669600, 38016, 0x74072063
-0, 673200, 38016, 0x1e623ceb
-0, 676800, 38016, 0xad2448c9
-0, 680400, 38016, 0x32065043
-0, 684000, 38016, 0x2e7ff976
-0, 687600, 38016, 0xf1a8c805
-0, 691200, 38016, 0x3f64d1cc
-0, 694800, 38016, 0xc855efbd
-0, 698400, 38016, 0x152b0fed
-0, 702000, 38016, 0x43335881
-0, 705600, 38016, 0xec5c7979
-0, 709200, 38016, 0x150e9488
-0, 712800, 38016, 0x1a63b67a
-0, 716400, 38016, 0x24a4cca6
-0, 720000, 38016, 0x3838dba2
-0, 723600, 38016, 0xef1bec71
-0, 727200, 38016, 0x0478f12a
-0, 730800, 38016, 0x478fee17
-0, 734400, 38016, 0x1d09f0ac
-0, 738000, 38016, 0x3daef591
-0, 741600, 38016, 0xf7f3033c
-0, 745200, 38016, 0xfb09faa0
-0, 748800, 38016, 0xd87de6c9
-0, 752400, 38016, 0xbd99d6bc
-0, 756000, 38016, 0x87d8bd7d
-0, 759600, 38016, 0xf244b18a
-0, 763200, 38016, 0x3a34a2da
-0, 766800, 38016, 0x25739701
-0, 770400, 38016, 0x346b8b9a
-0, 774000, 38016, 0xc67379ec
-0, 777600, 38016, 0xbd30780d
-0, 781200, 38016, 0xc5197c2b
-0, 784800, 38016, 0xd5ce73e8
-0, 788400, 38016, 0x63ce72d1
-0, 792000, 38016, 0x140d688d
-0, 795600, 38016, 0x027158aa
-0, 799200, 38016, 0x90884ce3
-0, 802800, 38016, 0x4faa38c5
-0, 806400, 38016, 0x78693f54
-0, 810000, 38016, 0xe1fa41c1
-0, 813600, 38016, 0x9b524771
-0, 817200, 38016, 0xbb3056c8
-0, 820800, 38016, 0xa93b67df
-0, 824400, 38016, 0xe661909f
-0, 828000, 38016, 0x55a0af6d
-0, 831600, 38016, 0xa5f6d0a8
-0, 835200, 38016, 0xa44300f8
-0, 838800, 38016, 0xc7cc265e
-0, 842400, 38016, 0xe7384598
-0, 846000, 38016, 0x77e4589a
-0, 849600, 38016, 0x073c7054
-0, 853200, 38016, 0xe50e6ea8
-0, 856800, 38016, 0xcedf518f
-0, 860400, 38016, 0x8674266b
-0, 864000, 38016, 0x360e0517
-0, 867600, 38016, 0x19acdb3a
-0, 871200, 38016, 0xd029d91b
-0, 874800, 38016, 0x3101277f
-0, 878400, 38016, 0x3a919153
-0, 882000, 38016, 0x0646ffaf
-0, 885600, 38016, 0xffdd13a5
-0, 889200, 38016, 0x13e2e641
-0, 892800, 38016, 0xc6f6a13b
-0, 896400, 38016, 0x984f2ecd
-0, 900000, 38016, 0xafaec63a
-0, 903600, 38016, 0x9025817a
-0, 907200, 38016, 0x20d574d7
-0, 910800, 38016, 0x72eacc49
-0, 914400, 38016, 0x6297335a
-0, 918000, 38016, 0xc69adba1
-0, 921600, 38016, 0x7852d515
-0, 925200, 38016, 0x0e846003
-0, 928800, 38016, 0xeb294c5e
-0, 932400, 38016, 0x0913448f
-0, 936000, 38016, 0xea2c4fc1
-0, 939600, 38016, 0xb8165b3f
-0, 943200, 38016, 0x5f596c9d
-0, 946800, 38016, 0x3a1370d1
-0, 950400, 38016, 0x25dd6a9a
-0, 954000, 38016, 0x70075f7a
-0, 957600, 38016, 0xaf6749f0
-0, 961200, 38016, 0xd5c22d02
-0, 964800, 38016, 0xf6e80af2
-0, 968400, 38016, 0x42d1dcf7
-0, 972000, 38016, 0x232cb536
-0, 975600, 38016, 0x7c848ebf
-0, 979200, 38016, 0x4c756c28
-0, 982800, 38016, 0x720e1f07
-0, 986400, 38016, 0x2385ccb2
-0, 990000, 38016, 0xcd97bf76
-0, 993600, 38016, 0xebcad10b
-0, 997200, 38016, 0xbed8ceeb
-0, 1000800, 38016, 0x660ffaf8
-0, 1004400, 38016, 0x6a1662a9
-0, 1008000, 38016, 0x71f20775
-0, 1011600, 38016, 0x597ecf26
-0, 1015200, 38016, 0x7a81a050
-0, 1018800, 38016, 0x05f6676a
-0, 1022400, 38016, 0xd0065042
-0, 1026000, 38016, 0x17ca9cd9
-0, 1029600, 38016, 0x76956633
-0, 1033200, 38016, 0x9211a2b0
-0, 1036800, 38016, 0xc134b304
-0, 1040400, 38016, 0xdaca9260
-0, 1044000, 38016, 0x10252d19
-0, 1047600, 38016, 0xf52a44af
-0, 1051200, 38016, 0x4053d2d1
-0, 1054800, 38016, 0x165e0bed
-0, 1058400, 38016, 0x577352d0
-0, 1062000, 38016, 0xf9564a09
-0, 1065600, 38016, 0x78a8295f
-0, 1069200, 38016, 0xb2d7182a
-0, 1072800, 38016, 0x9a0c2487
-0, 1076400, 38016, 0x1b044efa
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0x47b90d4b
+0, 2, 2, 1, 38016, 0x3e99dfcf
+0, 3, 3, 1, 38016, 0xeb18bb85
+0, 4, 4, 1, 38016, 0xcf1e9658
+0, 5, 5, 1, 38016, 0xf01b7bf1
+0, 6, 6, 1, 38016, 0x92e06ac5
+0, 7, 7, 1, 38016, 0x8ae35c1f
+0, 8, 8, 1, 38016, 0x4bda52c8
+0, 9, 9, 1, 38016, 0xbffe59e5
+0, 10, 10, 1, 38016, 0x56c96cad
+0, 11, 11, 1, 38016, 0x8a278da1
+0, 12, 12, 1, 38016, 0xce6f97d6
+0, 13, 13, 1, 38016, 0x69edad2e
+0, 14, 14, 1, 38016, 0x5134a67c
+0, 15, 15, 1, 38016, 0x1abfb2a1
+0, 16, 16, 1, 38016, 0x4a37b185
+0, 17, 17, 1, 38016, 0x5270a90e
+0, 18, 18, 1, 38016, 0xe28f9d5d
+0, 19, 19, 1, 38016, 0x3fcc87b0
+0, 20, 20, 1, 38016, 0x719e6605
+0, 21, 21, 1, 38016, 0x8b824ca3
+0, 22, 22, 1, 38016, 0x5f6a3544
+0, 23, 23, 1, 38016, 0x2ecd2ada
+0, 24, 24, 1, 38016, 0x5d4f3055
+0, 25, 25, 1, 38016, 0xc54441d3
+0, 26, 26, 1, 38016, 0x93f83f2c
+0, 27, 27, 1, 38016, 0xaa4d46a8
+0, 28, 28, 1, 38016, 0x7ca45c1f
+0, 29, 29, 1, 38016, 0x59de7854
+0, 30, 30, 1, 38016, 0xc8f98709
+0, 31, 31, 1, 38016, 0x9a199eeb
+0, 32, 32, 1, 38016, 0xfd82b785
+0, 33, 33, 1, 38016, 0x319fd17f
+0, 34, 34, 1, 38016, 0xc6ebd362
+0, 35, 35, 1, 38016, 0xbd60d5dc
+0, 36, 36, 1, 38016, 0x6e27d260
+0, 37, 37, 1, 38016, 0x96b7cf93
+0, 38, 38, 1, 38016, 0x6787cbcf
+0, 39, 39, 1, 38016, 0x48dacd76
+0, 40, 40, 1, 38016, 0xbef1d08e
+0, 41, 41, 1, 38016, 0xbb1bd9a4
+0, 42, 42, 1, 38016, 0xa420d63b
+0, 43, 43, 1, 38016, 0xfa26d0ab
+0, 44, 44, 1, 38016, 0xa349d2e0
+0, 45, 45, 1, 38016, 0x9946ce09
+0, 46, 46, 1, 38016, 0xb101cabe
+0, 47, 47, 1, 38016, 0x9e18c6b2
+0, 48, 48, 1, 38016, 0xe7cccbd9
+0, 49, 49, 1, 38016, 0x1067d145
+0, 50, 50, 1, 38016, 0xae13cd75
+0, 51, 51, 1, 38016, 0x8e06cce5
+0, 52, 52, 1, 38016, 0x0b3dcbf8
+0, 53, 53, 1, 38016, 0xc6cbcfbe
+0, 54, 54, 1, 38016, 0x1eced2f7
+0, 55, 55, 1, 38016, 0x5d72da04
+0, 56, 56, 1, 38016, 0x0643e191
+0, 57, 57, 1, 38016, 0x3cace7f7
+0, 58, 58, 1, 38016, 0x5e31f1f0
+0, 59, 59, 1, 38016, 0x04d1ef46
+0, 60, 60, 1, 38016, 0xffdbe794
+0, 61, 61, 1, 38016, 0x106ad275
+0, 62, 62, 1, 38016, 0x5c64a147
+0, 63, 63, 1, 38016, 0xb7676212
+0, 64, 64, 1, 38016, 0x86ea653e
+0, 65, 65, 1, 38016, 0xabb48937
+0, 66, 66, 1, 38016, 0x6b1cadc4
+0, 67, 67, 1, 38016, 0xa4eaf34b
+0, 68, 68, 1, 38016, 0x4174280f
+0, 69, 69, 1, 38016, 0xfe845818
+0, 70, 70, 1, 38016, 0xc64a838e
+0, 71, 71, 1, 38016, 0x5e24aaf0
+0, 72, 72, 1, 38016, 0x8bffd9d8
+0, 73, 73, 1, 38016, 0x00d912c9
+0, 74, 74, 1, 38016, 0x0dba50f0
+0, 75, 75, 1, 38016, 0x80958628
+0, 76, 76, 1, 38016, 0x4e81a356
+0, 77, 77, 1, 38016, 0x121dc289
+0, 78, 78, 1, 38016, 0x4885de6f
+0, 79, 79, 1, 38016, 0x5329e4f9
+0, 80, 80, 1, 38016, 0xa129ef6b
+0, 81, 81, 1, 38016, 0x3ea6fd46
+0, 82, 82, 1, 38016, 0x9a68fbb4
+0, 83, 83, 1, 38016, 0xea1dffdd
+0, 84, 84, 1, 38016, 0x7bf9f719
+0, 85, 85, 1, 38016, 0x9aa5ff2a
+0, 86, 86, 1, 38016, 0xf050fe90
+0, 87, 87, 1, 38016, 0xb6f50938
+0, 88, 88, 1, 38016, 0xbe900b57
+0, 89, 89, 1, 38016, 0x27b90a6b
+0, 90, 90, 1, 38016, 0xe87bf703
+0, 91, 91, 1, 38016, 0xaf0fdbe1
+0, 92, 92, 1, 38016, 0x3f2cc304
+0, 93, 93, 1, 38016, 0x0114b42f
+0, 94, 94, 1, 38016, 0x7f739915
+0, 95, 95, 1, 38016, 0xcc3da414
+0, 96, 96, 1, 38016, 0x57e2afe8
+0, 97, 97, 1, 38016, 0x59b6bdc5
+0, 98, 98, 1, 38016, 0xb3eacf6a
+0, 99, 99, 1, 38016, 0xa10ddcd8
+0, 100, 100, 1, 38016, 0xae05e697
+0, 101, 101, 1, 38016, 0x8cb9d81c
+0, 102, 102, 1, 38016, 0x5d5cc3b1
+0, 103, 103, 1, 38016, 0x8f89c0c0
+0, 104, 104, 1, 38016, 0x593cda26
+0, 105, 105, 1, 38016, 0xd5d1f2fc
+0, 106, 106, 1, 38016, 0x2586ff00
+0, 107, 107, 1, 38016, 0x1c2613f0
+0, 108, 108, 1, 38016, 0x236133bd
+0, 109, 109, 1, 38016, 0x92c5439b
+0, 110, 110, 1, 38016, 0xd1145724
+0, 111, 111, 1, 38016, 0xf2fa5c12
+0, 112, 112, 1, 38016, 0x810d5f50
+0, 113, 113, 1, 38016, 0x196f4470
+0, 114, 114, 1, 38016, 0xcba71d6b
+0, 115, 115, 1, 38016, 0x58ab17b0
+0, 116, 116, 1, 38016, 0x4a96278d
+0, 117, 117, 1, 38016, 0x4afe2f7d
+0, 118, 118, 1, 38016, 0xe1ca3d55
+0, 119, 119, 1, 38016, 0x4f6844ab
+0, 120, 120, 1, 38016, 0x7ad24bc5
+0, 121, 121, 1, 38016, 0x068c49f0
+0, 122, 122, 1, 38016, 0x23b92dae
+0, 123, 123, 1, 38016, 0x0e9a0793
+0, 124, 124, 1, 38016, 0xc1d2dd4a
+0, 125, 125, 1, 38016, 0x1b5cbc00
+0, 126, 126, 1, 38016, 0xa951b88d
+0, 127, 127, 1, 38016, 0x8b4ac1df
+0, 128, 128, 1, 38016, 0x91d3d98d
+0, 129, 129, 1, 38016, 0xa42aeb49
+0, 130, 130, 1, 38016, 0x21b5f1f6
+0, 131, 131, 1, 38016, 0xd632f07f
+0, 132, 132, 1, 38016, 0x6566ec26
+0, 133, 133, 1, 38016, 0x03f4ee70
+0, 134, 134, 1, 38016, 0x62b6e999
+0, 135, 135, 1, 38016, 0xfd1de6fb
+0, 136, 136, 1, 38016, 0xb07bdc79
+0, 137, 137, 1, 38016, 0xace9d441
+0, 138, 138, 1, 38016, 0x7d98c788
+0, 139, 139, 1, 38016, 0x3c7dbae4
+0, 140, 140, 1, 38016, 0x6e85b20f
+0, 141, 141, 1, 38016, 0x86a5a6bc
+0, 142, 142, 1, 38016, 0xacbe93ca
+0, 143, 143, 1, 38016, 0x8e438bde
+0, 144, 144, 1, 38016, 0x88b4963d
+0, 145, 145, 1, 38016, 0x86119504
+0, 146, 146, 1, 38016, 0x0ccc8932
+0, 147, 147, 1, 38016, 0x69a45f01
+0, 148, 148, 1, 38016, 0x8f173148
+0, 149, 149, 1, 38016, 0x1e320daf
+0, 150, 150, 1, 38016, 0x3957e834
+0, 151, 151, 1, 38016, 0x57c1dcee
+0, 152, 152, 1, 38016, 0x2a9edf52
+0, 153, 153, 1, 38016, 0x116ed4bc
+0, 154, 154, 1, 38016, 0x81cfc686
+0, 155, 155, 1, 38016, 0x6685db47
+0, 156, 156, 1, 38016, 0xab79fd2f
+0, 157, 157, 1, 38016, 0x65201bdd
+0, 158, 158, 1, 38016, 0x06e64eb6
+0, 159, 159, 1, 38016, 0xbcb77ac0
+0, 160, 160, 1, 38016, 0x65679028
+0, 161, 161, 1, 38016, 0xf33e837e
+0, 162, 162, 1, 38016, 0xa77d7b6c
+0, 163, 163, 1, 38016, 0x0e7b64f6
+0, 164, 164, 1, 38016, 0x2d1f597c
+0, 165, 165, 1, 38016, 0x1b6748a1
+0, 166, 166, 1, 38016, 0x12a91f4f
+0, 167, 167, 1, 38016, 0xc09df3ee
+0, 168, 168, 1, 38016, 0x1b9dcd6f
+0, 169, 169, 1, 38016, 0xf3c2bce4
+0, 170, 170, 1, 38016, 0xfe05d34b
+0, 171, 171, 1, 38016, 0x421deb25
+0, 172, 172, 1, 38016, 0x0f8d0725
+0, 173, 173, 1, 38016, 0xa03d0a3d
+0, 174, 174, 1, 38016, 0xe00cf88f
+0, 175, 175, 1, 38016, 0xa55abfdf
+0, 176, 176, 1, 38016, 0x11618891
+0, 177, 177, 1, 38016, 0x45835caf
+0, 178, 178, 1, 38016, 0x7be63a3b
+0, 179, 179, 1, 38016, 0x1ebb2104
+0, 180, 180, 1, 38016, 0x055b0b26
+0, 181, 181, 1, 38016, 0x076ef47e
+0, 182, 182, 1, 38016, 0xa828e6e1
+0, 183, 183, 1, 38016, 0x0de5eb60
+0, 184, 184, 1, 38016, 0x5238f229
+0, 185, 185, 1, 38016, 0x332cff7c
+0, 186, 186, 1, 38016, 0x74072063
+0, 187, 187, 1, 38016, 0x1e623ceb
+0, 188, 188, 1, 38016, 0xad2448c9
+0, 189, 189, 1, 38016, 0x32065043
+0, 190, 190, 1, 38016, 0x2e7ff976
+0, 191, 191, 1, 38016, 0xf1a8c805
+0, 192, 192, 1, 38016, 0x3f64d1cc
+0, 193, 193, 1, 38016, 0xc855efbd
+0, 194, 194, 1, 38016, 0x152b0fed
+0, 195, 195, 1, 38016, 0x43335881
+0, 196, 196, 1, 38016, 0xec5c7979
+0, 197, 197, 1, 38016, 0x150e9488
+0, 198, 198, 1, 38016, 0x1a63b67a
+0, 199, 199, 1, 38016, 0x24a4cca6
+0, 200, 200, 1, 38016, 0x3838dba2
+0, 201, 201, 1, 38016, 0xef1bec71
+0, 202, 202, 1, 38016, 0x0478f12a
+0, 203, 203, 1, 38016, 0x478fee17
+0, 204, 204, 1, 38016, 0x1d09f0ac
+0, 205, 205, 1, 38016, 0x3daef591
+0, 206, 206, 1, 38016, 0xf7f3033c
+0, 207, 207, 1, 38016, 0xfb09faa0
+0, 208, 208, 1, 38016, 0xd87de6c9
+0, 209, 209, 1, 38016, 0xbd99d6bc
+0, 210, 210, 1, 38016, 0x87d8bd7d
+0, 211, 211, 1, 38016, 0xf244b18a
+0, 212, 212, 1, 38016, 0x3a34a2da
+0, 213, 213, 1, 38016, 0x25739701
+0, 214, 214, 1, 38016, 0x346b8b9a
+0, 215, 215, 1, 38016, 0xc67379ec
+0, 216, 216, 1, 38016, 0xbd30780d
+0, 217, 217, 1, 38016, 0xc5197c2b
+0, 218, 218, 1, 38016, 0xd5ce73e8
+0, 219, 219, 1, 38016, 0x63ce72d1
+0, 220, 220, 1, 38016, 0x140d688d
+0, 221, 221, 1, 38016, 0x027158aa
+0, 222, 222, 1, 38016, 0x90884ce3
+0, 223, 223, 1, 38016, 0x4faa38c5
+0, 224, 224, 1, 38016, 0x78693f54
+0, 225, 225, 1, 38016, 0xe1fa41c1
+0, 226, 226, 1, 38016, 0x9b524771
+0, 227, 227, 1, 38016, 0xbb3056c8
+0, 228, 228, 1, 38016, 0xa93b67df
+0, 229, 229, 1, 38016, 0xe661909f
+0, 230, 230, 1, 38016, 0x55a0af6d
+0, 231, 231, 1, 38016, 0xa5f6d0a8
+0, 232, 232, 1, 38016, 0xa44300f8
+0, 233, 233, 1, 38016, 0xc7cc265e
+0, 234, 234, 1, 38016, 0xe7384598
+0, 235, 235, 1, 38016, 0x77e4589a
+0, 236, 236, 1, 38016, 0x073c7054
+0, 237, 237, 1, 38016, 0xe50e6ea8
+0, 238, 238, 1, 38016, 0xcedf518f
+0, 239, 239, 1, 38016, 0x8674266b
+0, 240, 240, 1, 38016, 0x360e0517
+0, 241, 241, 1, 38016, 0x19acdb3a
+0, 242, 242, 1, 38016, 0xd029d91b
+0, 243, 243, 1, 38016, 0x3101277f
+0, 244, 244, 1, 38016, 0x3a919153
+0, 245, 245, 1, 38016, 0x0646ffaf
+0, 246, 246, 1, 38016, 0xffdd13a5
+0, 247, 247, 1, 38016, 0x13e2e641
+0, 248, 248, 1, 38016, 0xc6f6a13b
+0, 249, 249, 1, 38016, 0x984f2ecd
+0, 250, 250, 1, 38016, 0xafaec63a
+0, 251, 251, 1, 38016, 0x9025817a
+0, 252, 252, 1, 38016, 0x20d574d7
+0, 253, 253, 1, 38016, 0x72eacc49
+0, 254, 254, 1, 38016, 0x6297335a
+0, 255, 255, 1, 38016, 0xc69adba1
+0, 256, 256, 1, 38016, 0x7852d515
+0, 257, 257, 1, 38016, 0x0e846003
+0, 258, 258, 1, 38016, 0xeb294c5e
+0, 259, 259, 1, 38016, 0x0913448f
+0, 260, 260, 1, 38016, 0xea2c4fc1
+0, 261, 261, 1, 38016, 0xb8165b3f
+0, 262, 262, 1, 38016, 0x5f596c9d
+0, 263, 263, 1, 38016, 0x3a1370d1
+0, 264, 264, 1, 38016, 0x25dd6a9a
+0, 265, 265, 1, 38016, 0x70075f7a
+0, 266, 266, 1, 38016, 0xaf6749f0
+0, 267, 267, 1, 38016, 0xd5c22d02
+0, 268, 268, 1, 38016, 0xf6e80af2
+0, 269, 269, 1, 38016, 0x42d1dcf7
+0, 270, 270, 1, 38016, 0x232cb536
+0, 271, 271, 1, 38016, 0x7c848ebf
+0, 272, 272, 1, 38016, 0x4c756c28
+0, 273, 273, 1, 38016, 0x720e1f07
+0, 274, 274, 1, 38016, 0x2385ccb2
+0, 275, 275, 1, 38016, 0xcd97bf76
+0, 276, 276, 1, 38016, 0xebcad10b
+0, 277, 277, 1, 38016, 0xbed8ceeb
+0, 278, 278, 1, 38016, 0x660ffaf8
+0, 279, 279, 1, 38016, 0x6a1662a9
+0, 280, 280, 1, 38016, 0x71f20775
+0, 281, 281, 1, 38016, 0x597ecf26
+0, 282, 282, 1, 38016, 0x7a81a050
+0, 283, 283, 1, 38016, 0x05f6676a
+0, 284, 284, 1, 38016, 0xd0065042
+0, 285, 285, 1, 38016, 0x17ca9cd9
+0, 286, 286, 1, 38016, 0x76956633
+0, 287, 287, 1, 38016, 0x9211a2b0
+0, 288, 288, 1, 38016, 0xc134b304
+0, 289, 289, 1, 38016, 0xdaca9260
+0, 290, 290, 1, 38016, 0x10252d19
+0, 291, 291, 1, 38016, 0xf52a44af
+0, 292, 292, 1, 38016, 0x4053d2d1
+0, 293, 293, 1, 38016, 0x165e0bed
+0, 294, 294, 1, 38016, 0x577352d0
+0, 295, 295, 1, 38016, 0xf9564a09
+0, 296, 296, 1, 38016, 0x78a8295f
+0, 297, 297, 1, 38016, 0xb2d7182a
+0, 298, 298, 1, 38016, 0x9a0c2487
+0, 299, 299, 1, 38016, 0x1b044efa
diff --git a/tests/ref/fate/h264-conformance-ba3_sva_c b/tests/ref/fate/h264-conformance-ba3_sva_c
index 2b36542b9c..cb775db75a 100644
--- a/tests/ref/fate/h264-conformance-ba3_sva_c
+++ b/tests/ref/fate/h264-conformance-ba3_sva_c
@@ -1,33 +1,34 @@
-0, 0, 38016, 0xbf5f1df5
-0, 3600, 38016, 0x8de61f39
-0, 7200, 38016, 0xaeec0a18
-0, 10800, 38016, 0x386c2599
-0, 14400, 38016, 0x8fcf2df0
-0, 18000, 38016, 0x34fe57ec
-0, 21600, 38016, 0x7e6c5e1a
-0, 25200, 38016, 0x8f319659
-0, 28800, 38016, 0x1e1291e2
-0, 32400, 38016, 0x97e9bf55
-0, 36000, 38016, 0x35bcad1a
-0, 39600, 38016, 0xea39d354
-0, 43200, 38016, 0xca7db081
-0, 46800, 38016, 0x2c069b6c
-0, 50400, 38016, 0x32f86a99
-0, 54000, 38016, 0xb4019668
-0, 57600, 38016, 0x04038324
-0, 61200, 38016, 0xe4f0b032
-0, 64800, 38016, 0xe6119a63
-0, 68400, 38016, 0xdf17b9fa
-0, 72000, 38016, 0xe199a348
-0, 75600, 38016, 0x6704b749
-0, 79200, 38016, 0x33fc7592
-0, 82800, 38016, 0xc0c371b2
-0, 86400, 38016, 0x017628aa
-0, 90000, 38016, 0xa46b3ab5
-0, 93600, 38016, 0x216f1fdb
-0, 97200, 38016, 0x28c54669
-0, 100800, 38016, 0x070c4ac1
-0, 104400, 38016, 0x4d4c6765
-0, 108000, 38016, 0xb496626c
-0, 111600, 38016, 0x9f767057
-0, 115200, 38016, 0xe2bc4de1
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xbf5f1df5
+0, 1, 1, 1, 38016, 0x8de61f39
+0, 2, 2, 1, 38016, 0xaeec0a18
+0, 3, 3, 1, 38016, 0x386c2599
+0, 4, 4, 1, 38016, 0x8fcf2df0
+0, 5, 5, 1, 38016, 0x34fe57ec
+0, 6, 6, 1, 38016, 0x7e6c5e1a
+0, 7, 7, 1, 38016, 0x8f319659
+0, 8, 8, 1, 38016, 0x1e1291e2
+0, 9, 9, 1, 38016, 0x97e9bf55
+0, 10, 10, 1, 38016, 0x35bcad1a
+0, 11, 11, 1, 38016, 0xea39d354
+0, 12, 12, 1, 38016, 0xca7db081
+0, 13, 13, 1, 38016, 0x2c069b6c
+0, 14, 14, 1, 38016, 0x32f86a99
+0, 15, 15, 1, 38016, 0xb4019668
+0, 16, 16, 1, 38016, 0x04038324
+0, 17, 17, 1, 38016, 0xe4f0b032
+0, 18, 18, 1, 38016, 0xe6119a63
+0, 19, 19, 1, 38016, 0xdf17b9fa
+0, 20, 20, 1, 38016, 0xe199a348
+0, 21, 21, 1, 38016, 0x6704b749
+0, 22, 22, 1, 38016, 0x33fc7592
+0, 23, 23, 1, 38016, 0xc0c371b2
+0, 24, 24, 1, 38016, 0x017628aa
+0, 25, 25, 1, 38016, 0xa46b3ab5
+0, 26, 26, 1, 38016, 0x216f1fdb
+0, 27, 27, 1, 38016, 0x28c54669
+0, 28, 28, 1, 38016, 0x070c4ac1
+0, 29, 29, 1, 38016, 0x4d4c6765
+0, 30, 30, 1, 38016, 0xb496626c
+0, 31, 31, 1, 38016, 0x9f767057
+0, 32, 32, 1, 38016, 0xe2bc4de1
diff --git a/tests/ref/fate/h264-conformance-ba_mw_d b/tests/ref/fate/h264-conformance-ba_mw_d
index b5fbd692b1..18a6717451 100644
--- a/tests/ref/fate/h264-conformance-ba_mw_d
+++ b/tests/ref/fate/h264-conformance-ba_mw_d
@@ -1,100 +1,101 @@
-0, 0, 38016, 0x3ae838ee
-0, 3600, 38016, 0x9ed7e141
-0, 7200, 38016, 0x393097f9
-0, 10800, 38016, 0x8fb56676
-0, 14400, 38016, 0x39d64fd2
-0, 18000, 38016, 0x7fad729a
-0, 21600, 38016, 0x7e25955f
-0, 25200, 38016, 0xc4d9a359
-0, 28800, 38016, 0x30afaca4
-0, 32400, 38016, 0x9ee195ea
-0, 36000, 38016, 0x09f65805
-0, 39600, 38016, 0x58d126ab
-0, 43200, 38016, 0x4f29282c
-0, 46800, 38016, 0x8af235a1
-0, 50400, 38016, 0x6dfe525a
-0, 54000, 38016, 0xd51c793f
-0, 57600, 38016, 0x4e90abba
-0, 61200, 38016, 0xe706c5b7
-0, 64800, 38016, 0x35fab7ef
-0, 68400, 38016, 0xed78b8fc
-0, 72000, 38016, 0x2907bb4e
-0, 75600, 38016, 0x1749bb47
-0, 79200, 38016, 0x284ec688
-0, 82800, 38016, 0x534abc24
-0, 86400, 38016, 0xcd01bd13
-0, 90000, 38016, 0xe97bbd51
-0, 93600, 38016, 0xac1cb9e9
-0, 97200, 38016, 0xd861c0a3
-0, 100800, 38016, 0xf0f1ced4
-0, 104400, 38016, 0xa9e8d2bf
-0, 108000, 38016, 0x4c6aa7c5
-0, 111600, 38016, 0xe2eb6bde
-0, 115200, 38016, 0x92eb44a1
-0, 118800, 38016, 0x376b8919
-0, 122400, 38016, 0x291bfdd9
-0, 126000, 38016, 0xed0c60a0
-0, 129600, 38016, 0xf505b70d
-0, 133200, 38016, 0x26b33a9b
-0, 136800, 38016, 0xc9269664
-0, 140400, 38016, 0xe21dc61e
-0, 144000, 38016, 0xe88fe653
-0, 147600, 38016, 0xd4cff39c
-0, 151200, 38016, 0x02bdecdf
-0, 154800, 38016, 0xec48fc13
-0, 158400, 38016, 0x363f071c
-0, 162000, 38016, 0x7fcbf2fd
-0, 165600, 38016, 0xc3d1c265
-0, 169200, 38016, 0x818a94e9
-0, 172800, 38016, 0x30b5a52f
-0, 176400, 38016, 0x7a1acd17
-0, 180000, 38016, 0xb5a6dc91
-0, 183600, 38016, 0x7d39b673
-0, 187200, 38016, 0x341ad3f9
-0, 190800, 38016, 0x264cff5f
-0, 194400, 38016, 0x613a445b
-0, 198000, 38016, 0x42a55cd6
-0, 201600, 38016, 0xe84f6a39
-0, 205200, 38016, 0xd8e93151
-0, 208800, 38016, 0xc7333ac4
-0, 212400, 38016, 0xa08a4b2c
-0, 216000, 38016, 0xeb8a3531
-0, 219600, 38016, 0x88bf1883
-0, 223200, 38016, 0x0043c104
-0, 226800, 38016, 0xa9d6a35d
-0, 230400, 38016, 0x01dec5af
-0, 234000, 38016, 0x673cdf0e
-0, 237600, 38016, 0xc8d0ce67
-0, 241200, 38016, 0xcac2d0bd
-0, 244800, 38016, 0x8575c7b9
-0, 248400, 38016, 0x71c1b4f4
-0, 252000, 38016, 0x2affa1d4
-0, 255600, 38016, 0xae947cfd
-0, 259200, 38016, 0x48b2821d
-0, 262800, 38016, 0x1c5d77f4
-0, 266400, 38016, 0x3625233b
-0, 270000, 38016, 0xcfc8e3ff
-0, 273600, 38016, 0x6d04cfa5
-0, 277200, 38016, 0x2c4ec463
-0, 280800, 38016, 0x72b1ea07
-0, 284400, 38016, 0x448d3996
-0, 288000, 38016, 0x89256b87
-0, 291600, 38016, 0x69af5fea
-0, 295200, 38016, 0x908f46b0
-0, 298800, 38016, 0x56e11a8b
-0, 302400, 38016, 0x7fd4c5f5
-0, 306000, 38016, 0x560bd701
-0, 309600, 38016, 0x71570820
-0, 313200, 38016, 0x11b20b14
-0, 316800, 38016, 0xa3fd9f19
-0, 320400, 38016, 0x4a564d33
-0, 324000, 38016, 0x1722db32
-0, 327600, 38016, 0xf853a971
-0, 331200, 38016, 0xb136bf89
-0, 334800, 38016, 0xb686e8c3
-0, 338400, 38016, 0x8afc1a4c
-0, 342000, 38016, 0xa24adb65
-0, 345600, 38016, 0xd951ae27
-0, 349200, 38016, 0xa731f04e
-0, 352800, 38016, 0xabd65795
-0, 356400, 38016, 0x46bc95e1
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x3ae838ee
+0, 1, 1, 1, 38016, 0x9ed7e141
+0, 2, 2, 1, 38016, 0x393097f9
+0, 3, 3, 1, 38016, 0x8fb56676
+0, 4, 4, 1, 38016, 0x39d64fd2
+0, 5, 5, 1, 38016, 0x7fad729a
+0, 6, 6, 1, 38016, 0x7e25955f
+0, 7, 7, 1, 38016, 0xc4d9a359
+0, 8, 8, 1, 38016, 0x30afaca4
+0, 9, 9, 1, 38016, 0x9ee195ea
+0, 10, 10, 1, 38016, 0x09f65805
+0, 11, 11, 1, 38016, 0x58d126ab
+0, 12, 12, 1, 38016, 0x4f29282c
+0, 13, 13, 1, 38016, 0x8af235a1
+0, 14, 14, 1, 38016, 0x6dfe525a
+0, 15, 15, 1, 38016, 0xd51c793f
+0, 16, 16, 1, 38016, 0x4e90abba
+0, 17, 17, 1, 38016, 0xe706c5b7
+0, 18, 18, 1, 38016, 0x35fab7ef
+0, 19, 19, 1, 38016, 0xed78b8fc
+0, 20, 20, 1, 38016, 0x2907bb4e
+0, 21, 21, 1, 38016, 0x1749bb47
+0, 22, 22, 1, 38016, 0x284ec688
+0, 23, 23, 1, 38016, 0x534abc24
+0, 24, 24, 1, 38016, 0xcd01bd13
+0, 25, 25, 1, 38016, 0xe97bbd51
+0, 26, 26, 1, 38016, 0xac1cb9e9
+0, 27, 27, 1, 38016, 0xd861c0a3
+0, 28, 28, 1, 38016, 0xf0f1ced4
+0, 29, 29, 1, 38016, 0xa9e8d2bf
+0, 30, 30, 1, 38016, 0x4c6aa7c5
+0, 31, 31, 1, 38016, 0xe2eb6bde
+0, 32, 32, 1, 38016, 0x92eb44a1
+0, 33, 33, 1, 38016, 0x376b8919
+0, 34, 34, 1, 38016, 0x291bfdd9
+0, 35, 35, 1, 38016, 0xed0c60a0
+0, 36, 36, 1, 38016, 0xf505b70d
+0, 37, 37, 1, 38016, 0x26b33a9b
+0, 38, 38, 1, 38016, 0xc9269664
+0, 39, 39, 1, 38016, 0xe21dc61e
+0, 40, 40, 1, 38016, 0xe88fe653
+0, 41, 41, 1, 38016, 0xd4cff39c
+0, 42, 42, 1, 38016, 0x02bdecdf
+0, 43, 43, 1, 38016, 0xec48fc13
+0, 44, 44, 1, 38016, 0x363f071c
+0, 45, 45, 1, 38016, 0x7fcbf2fd
+0, 46, 46, 1, 38016, 0xc3d1c265
+0, 47, 47, 1, 38016, 0x818a94e9
+0, 48, 48, 1, 38016, 0x30b5a52f
+0, 49, 49, 1, 38016, 0x7a1acd17
+0, 50, 50, 1, 38016, 0xb5a6dc91
+0, 51, 51, 1, 38016, 0x7d39b673
+0, 52, 52, 1, 38016, 0x341ad3f9
+0, 53, 53, 1, 38016, 0x264cff5f
+0, 54, 54, 1, 38016, 0x613a445b
+0, 55, 55, 1, 38016, 0x42a55cd6
+0, 56, 56, 1, 38016, 0xe84f6a39
+0, 57, 57, 1, 38016, 0xd8e93151
+0, 58, 58, 1, 38016, 0xc7333ac4
+0, 59, 59, 1, 38016, 0xa08a4b2c
+0, 60, 60, 1, 38016, 0xeb8a3531
+0, 61, 61, 1, 38016, 0x88bf1883
+0, 62, 62, 1, 38016, 0x0043c104
+0, 63, 63, 1, 38016, 0xa9d6a35d
+0, 64, 64, 1, 38016, 0x01dec5af
+0, 65, 65, 1, 38016, 0x673cdf0e
+0, 66, 66, 1, 38016, 0xc8d0ce67
+0, 67, 67, 1, 38016, 0xcac2d0bd
+0, 68, 68, 1, 38016, 0x8575c7b9
+0, 69, 69, 1, 38016, 0x71c1b4f4
+0, 70, 70, 1, 38016, 0x2affa1d4
+0, 71, 71, 1, 38016, 0xae947cfd
+0, 72, 72, 1, 38016, 0x48b2821d
+0, 73, 73, 1, 38016, 0x1c5d77f4
+0, 74, 74, 1, 38016, 0x3625233b
+0, 75, 75, 1, 38016, 0xcfc8e3ff
+0, 76, 76, 1, 38016, 0x6d04cfa5
+0, 77, 77, 1, 38016, 0x2c4ec463
+0, 78, 78, 1, 38016, 0x72b1ea07
+0, 79, 79, 1, 38016, 0x448d3996
+0, 80, 80, 1, 38016, 0x89256b87
+0, 81, 81, 1, 38016, 0x69af5fea
+0, 82, 82, 1, 38016, 0x908f46b0
+0, 83, 83, 1, 38016, 0x56e11a8b
+0, 84, 84, 1, 38016, 0x7fd4c5f5
+0, 85, 85, 1, 38016, 0x560bd701
+0, 86, 86, 1, 38016, 0x71570820
+0, 87, 87, 1, 38016, 0x11b20b14
+0, 88, 88, 1, 38016, 0xa3fd9f19
+0, 89, 89, 1, 38016, 0x4a564d33
+0, 90, 90, 1, 38016, 0x1722db32
+0, 91, 91, 1, 38016, 0xf853a971
+0, 92, 92, 1, 38016, 0xb136bf89
+0, 93, 93, 1, 38016, 0xb686e8c3
+0, 94, 94, 1, 38016, 0x8afc1a4c
+0, 95, 95, 1, 38016, 0xa24adb65
+0, 96, 96, 1, 38016, 0xd951ae27
+0, 97, 97, 1, 38016, 0xa731f04e
+0, 98, 98, 1, 38016, 0xabd65795
+0, 99, 99, 1, 38016, 0x46bc95e1
diff --git a/tests/ref/fate/h264-conformance-bamq1_jvc_c b/tests/ref/fate/h264-conformance-bamq1_jvc_c
index 11f43521eb..4a3066cfa7 100644
--- a/tests/ref/fate/h264-conformance-bamq1_jvc_c
+++ b/tests/ref/fate/h264-conformance-bamq1_jvc_c
@@ -1,30 +1,31 @@
-0, 0, 38016, 0x6951213f
-0, 3600, 38016, 0x82ddf39d
-0, 7200, 38016, 0x3f81c6b1
-0, 10800, 38016, 0x55149f23
-0, 14400, 38016, 0x366a74e1
-0, 18000, 38016, 0xe6f465cf
-0, 21600, 38016, 0x14fd4999
-0, 25200, 38016, 0x49273f0f
-0, 28800, 38016, 0xa20a2ebe
-0, 32400, 38016, 0x701b32a4
-0, 36000, 38016, 0x8a394066
-0, 39600, 38016, 0xe9b766a6
-0, 43200, 38016, 0x4e7f766d
-0, 46800, 38016, 0x2c159585
-0, 50400, 38016, 0x31b38c2b
-0, 54000, 38016, 0xde58937f
-0, 57600, 38016, 0xf69e94f9
-0, 61200, 38016, 0x849e8a08
-0, 64800, 38016, 0xe53f79e9
-0, 68400, 38016, 0xf2ce6103
-0, 72000, 38016, 0xe98d3c96
-0, 75600, 38016, 0xea8c17c5
-0, 79200, 38016, 0xea0a01d8
-0, 82800, 38016, 0x6a45fd53
-0, 86400, 38016, 0xaad9fd47
-0, 90000, 38016, 0xabc603b7
-0, 93600, 38016, 0x89410350
-0, 97200, 38016, 0x1fac129b
-0, 100800, 38016, 0x1af529ee
-0, 104400, 38016, 0x384141b6
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x6951213f
+0, 1, 1, 1, 38016, 0x82ddf39d
+0, 2, 2, 1, 38016, 0x3f81c6b1
+0, 3, 3, 1, 38016, 0x55149f23
+0, 4, 4, 1, 38016, 0x366a74e1
+0, 5, 5, 1, 38016, 0xe6f465cf
+0, 6, 6, 1, 38016, 0x14fd4999
+0, 7, 7, 1, 38016, 0x49273f0f
+0, 8, 8, 1, 38016, 0xa20a2ebe
+0, 9, 9, 1, 38016, 0x701b32a4
+0, 10, 10, 1, 38016, 0x8a394066
+0, 11, 11, 1, 38016, 0xe9b766a6
+0, 12, 12, 1, 38016, 0x4e7f766d
+0, 13, 13, 1, 38016, 0x2c159585
+0, 14, 14, 1, 38016, 0x31b38c2b
+0, 15, 15, 1, 38016, 0xde58937f
+0, 16, 16, 1, 38016, 0xf69e94f9
+0, 17, 17, 1, 38016, 0x849e8a08
+0, 18, 18, 1, 38016, 0xe53f79e9
+0, 19, 19, 1, 38016, 0xf2ce6103
+0, 20, 20, 1, 38016, 0xe98d3c96
+0, 21, 21, 1, 38016, 0xea8c17c5
+0, 22, 22, 1, 38016, 0xea0a01d8
+0, 23, 23, 1, 38016, 0x6a45fd53
+0, 24, 24, 1, 38016, 0xaad9fd47
+0, 25, 25, 1, 38016, 0xabc603b7
+0, 26, 26, 1, 38016, 0x89410350
+0, 27, 27, 1, 38016, 0x1fac129b
+0, 28, 28, 1, 38016, 0x1af529ee
+0, 29, 29, 1, 38016, 0x384141b6
diff --git a/tests/ref/fate/h264-conformance-bamq2_jvc_c b/tests/ref/fate/h264-conformance-bamq2_jvc_c
index a16cb051c3..3308f770ce 100644
--- a/tests/ref/fate/h264-conformance-bamq2_jvc_c
+++ b/tests/ref/fate/h264-conformance-bamq2_jvc_c
@@ -1,30 +1,31 @@
-0, 0, 38016, 0x6951213f
-0, 3600, 38016, 0xd1bbf830
-0, 7200, 38016, 0x79dcc8cb
-0, 10800, 38016, 0xa426a50e
-0, 14400, 38016, 0x002275d6
-0, 18000, 38016, 0xab9a666e
-0, 21600, 38016, 0x9bd54be9
-0, 25200, 38016, 0x09003ed1
-0, 28800, 38016, 0x75e0340a
-0, 32400, 38016, 0x65ae3b23
-0, 36000, 38016, 0x4c1049a8
-0, 39600, 38016, 0x6e336a25
-0, 43200, 38016, 0x4d3579ee
-0, 46800, 38016, 0x81f89545
-0, 50400, 38016, 0xc9358e56
-0, 54000, 38016, 0x3fa69885
-0, 57600, 38016, 0x1ea49bea
-0, 61200, 38016, 0xce939241
-0, 64800, 38016, 0xbc278236
-0, 68400, 38016, 0xf11868d2
-0, 72000, 38016, 0xe4124537
-0, 75600, 38016, 0xd5831e16
-0, 79200, 38016, 0x9f5608e8
-0, 82800, 38016, 0x30ad0448
-0, 86400, 38016, 0x06a00523
-0, 90000, 38016, 0x25e50e24
-0, 93600, 38016, 0x2c220a92
-0, 97200, 38016, 0xd4b7185e
-0, 100800, 38016, 0x80f92d07
-0, 104400, 38016, 0x285a4586
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x6951213f
+0, 1, 1, 1, 38016, 0xd1bbf830
+0, 2, 2, 1, 38016, 0x79dcc8cb
+0, 3, 3, 1, 38016, 0xa426a50e
+0, 4, 4, 1, 38016, 0x002275d6
+0, 5, 5, 1, 38016, 0xab9a666e
+0, 6, 6, 1, 38016, 0x9bd54be9
+0, 7, 7, 1, 38016, 0x09003ed1
+0, 8, 8, 1, 38016, 0x75e0340a
+0, 9, 9, 1, 38016, 0x65ae3b23
+0, 10, 10, 1, 38016, 0x4c1049a8
+0, 11, 11, 1, 38016, 0x6e336a25
+0, 12, 12, 1, 38016, 0x4d3579ee
+0, 13, 13, 1, 38016, 0x81f89545
+0, 14, 14, 1, 38016, 0xc9358e56
+0, 15, 15, 1, 38016, 0x3fa69885
+0, 16, 16, 1, 38016, 0x1ea49bea
+0, 17, 17, 1, 38016, 0xce939241
+0, 18, 18, 1, 38016, 0xbc278236
+0, 19, 19, 1, 38016, 0xf11868d2
+0, 20, 20, 1, 38016, 0xe4124537
+0, 21, 21, 1, 38016, 0xd5831e16
+0, 22, 22, 1, 38016, 0x9f5608e8
+0, 23, 23, 1, 38016, 0x30ad0448
+0, 24, 24, 1, 38016, 0x06a00523
+0, 25, 25, 1, 38016, 0x25e50e24
+0, 26, 26, 1, 38016, 0x2c220a92
+0, 27, 27, 1, 38016, 0xd4b7185e
+0, 28, 28, 1, 38016, 0x80f92d07
+0, 29, 29, 1, 38016, 0x285a4586
diff --git a/tests/ref/fate/h264-conformance-banm_mw_d b/tests/ref/fate/h264-conformance-banm_mw_d
index 188d7a7247..6108ca3a2c 100644
--- a/tests/ref/fate/h264-conformance-banm_mw_d
+++ b/tests/ref/fate/h264-conformance-banm_mw_d
@@ -1,100 +1,101 @@
-0, 0, 38016, 0x3ae838ee
-0, 3600, 38016, 0x9ed7e141
-0, 7200, 38016, 0xaf9d9753
-0, 10800, 38016, 0x8a6f6906
-0, 14400, 38016, 0xcfe85810
-0, 18000, 38016, 0x00ed737f
-0, 21600, 38016, 0x93509e20
-0, 25200, 38016, 0xa02ba402
-0, 28800, 38016, 0xce09afd9
-0, 32400, 38016, 0xc7a49dcf
-0, 36000, 38016, 0x0da163c6
-0, 39600, 38016, 0xb3be2fcf
-0, 43200, 38016, 0x0d564479
-0, 46800, 38016, 0x5c554f55
-0, 50400, 38016, 0x05d06d25
-0, 54000, 38016, 0x352687bc
-0, 57600, 38016, 0x9e13b74d
-0, 61200, 38016, 0x1c3dd2af
-0, 64800, 38016, 0x3c1ad091
-0, 68400, 38016, 0x0461cad8
-0, 72000, 38016, 0xa002cc91
-0, 75600, 38016, 0x9c06d06e
-0, 79200, 38016, 0xfad0cee0
-0, 82800, 38016, 0x5cbbd4a5
-0, 86400, 38016, 0x9a99d463
-0, 90000, 38016, 0xa115d051
-0, 93600, 38016, 0x5b63cc22
-0, 97200, 38016, 0x53b3cfd2
-0, 100800, 38016, 0x7b22db61
-0, 104400, 38016, 0x4f28e319
-0, 108000, 38016, 0x4c6aa7c5
-0, 111600, 38016, 0xe2eb6bde
-0, 115200, 38016, 0xdfc84927
-0, 118800, 38016, 0xa0098eab
-0, 122400, 38016, 0x607a00e2
-0, 126000, 38016, 0x58da68d0
-0, 129600, 38016, 0x1290c8c6
-0, 133200, 38016, 0x40615120
-0, 136800, 38016, 0x070e9d9c
-0, 140400, 38016, 0x5295d213
-0, 144000, 38016, 0xaaa0f00a
-0, 147600, 38016, 0x0ef7f99d
-0, 151200, 38016, 0x018cf596
-0, 154800, 38016, 0xb9010555
-0, 158400, 38016, 0x54b10d05
-0, 162000, 38016, 0xa06ff53b
-0, 165600, 38016, 0x9a2ec1aa
-0, 169200, 38016, 0x75999938
-0, 172800, 38016, 0xda6ba315
-0, 176400, 38016, 0xaa38cc4e
-0, 180000, 38016, 0x87f6e751
-0, 183600, 38016, 0x2318c2b9
-0, 187200, 38016, 0xdebfd9c8
-0, 190800, 38016, 0xdc9a115f
-0, 194400, 38016, 0x6d1e495d
-0, 198000, 38016, 0x53d46db4
-0, 201600, 38016, 0x53287856
-0, 205200, 38016, 0x0ce93af7
-0, 208800, 38016, 0x44974b42
-0, 212400, 38016, 0x65a16170
-0, 216000, 38016, 0xeb8a3531
-0, 219600, 38016, 0x65da180b
-0, 223200, 38016, 0x6eb1cd77
-0, 226800, 38016, 0xc890b0c1
-0, 230400, 38016, 0x359ad301
-0, 234000, 38016, 0x4be2e140
-0, 237600, 38016, 0x5094da18
-0, 241200, 38016, 0x9ef9d904
-0, 244800, 38016, 0x0ad8cbb4
-0, 248400, 38016, 0xd68cb3db
-0, 252000, 38016, 0x7fcd9d3c
-0, 255600, 38016, 0x017385aa
-0, 259200, 38016, 0xa2328d96
-0, 262800, 38016, 0x18858630
-0, 266400, 38016, 0x795228e0
-0, 270000, 38016, 0xb70ce750
-0, 273600, 38016, 0x55d9da49
-0, 277200, 38016, 0x7714cc94
-0, 280800, 38016, 0xec39f711
-0, 284400, 38016, 0x561e4366
-0, 288000, 38016, 0xd91c83e0
-0, 291600, 38016, 0x8b3379e2
-0, 295200, 38016, 0xdee36b36
-0, 298800, 38016, 0x1b4940fd
-0, 302400, 38016, 0x9b13e7b2
-0, 306000, 38016, 0xb0b2f2eb
-0, 309600, 38016, 0x0e7c2373
-0, 313200, 38016, 0x87401fb0
-0, 316800, 38016, 0xc4bdb8be
-0, 320400, 38016, 0xbbfc4f40
-0, 324000, 38016, 0x1722db32
-0, 327600, 38016, 0xf7e8a749
-0, 331200, 38016, 0x8c66b366
-0, 334800, 38016, 0x9823f33e
-0, 338400, 38016, 0x5013240a
-0, 342000, 38016, 0xf174d83a
-0, 345600, 38016, 0xe49cae19
-0, 349200, 38016, 0xadc2f8f7
-0, 352800, 38016, 0x667961b0
-0, 356400, 38016, 0xcb6d9bcd
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x3ae838ee
+0, 1, 1, 1, 38016, 0x9ed7e141
+0, 2, 2, 1, 38016, 0xaf9d9753
+0, 3, 3, 1, 38016, 0x8a6f6906
+0, 4, 4, 1, 38016, 0xcfe85810
+0, 5, 5, 1, 38016, 0x00ed737f
+0, 6, 6, 1, 38016, 0x93509e20
+0, 7, 7, 1, 38016, 0xa02ba402
+0, 8, 8, 1, 38016, 0xce09afd9
+0, 9, 9, 1, 38016, 0xc7a49dcf
+0, 10, 10, 1, 38016, 0x0da163c6
+0, 11, 11, 1, 38016, 0xb3be2fcf
+0, 12, 12, 1, 38016, 0x0d564479
+0, 13, 13, 1, 38016, 0x5c554f55
+0, 14, 14, 1, 38016, 0x05d06d25
+0, 15, 15, 1, 38016, 0x352687bc
+0, 16, 16, 1, 38016, 0x9e13b74d
+0, 17, 17, 1, 38016, 0x1c3dd2af
+0, 18, 18, 1, 38016, 0x3c1ad091
+0, 19, 19, 1, 38016, 0x0461cad8
+0, 20, 20, 1, 38016, 0xa002cc91
+0, 21, 21, 1, 38016, 0x9c06d06e
+0, 22, 22, 1, 38016, 0xfad0cee0
+0, 23, 23, 1, 38016, 0x5cbbd4a5
+0, 24, 24, 1, 38016, 0x9a99d463
+0, 25, 25, 1, 38016, 0xa115d051
+0, 26, 26, 1, 38016, 0x5b63cc22
+0, 27, 27, 1, 38016, 0x53b3cfd2
+0, 28, 28, 1, 38016, 0x7b22db61
+0, 29, 29, 1, 38016, 0x4f28e319
+0, 30, 30, 1, 38016, 0x4c6aa7c5
+0, 31, 31, 1, 38016, 0xe2eb6bde
+0, 32, 32, 1, 38016, 0xdfc84927
+0, 33, 33, 1, 38016, 0xa0098eab
+0, 34, 34, 1, 38016, 0x607a00e2
+0, 35, 35, 1, 38016, 0x58da68d0
+0, 36, 36, 1, 38016, 0x1290c8c6
+0, 37, 37, 1, 38016, 0x40615120
+0, 38, 38, 1, 38016, 0x070e9d9c
+0, 39, 39, 1, 38016, 0x5295d213
+0, 40, 40, 1, 38016, 0xaaa0f00a
+0, 41, 41, 1, 38016, 0x0ef7f99d
+0, 42, 42, 1, 38016, 0x018cf596
+0, 43, 43, 1, 38016, 0xb9010555
+0, 44, 44, 1, 38016, 0x54b10d05
+0, 45, 45, 1, 38016, 0xa06ff53b
+0, 46, 46, 1, 38016, 0x9a2ec1aa
+0, 47, 47, 1, 38016, 0x75999938
+0, 48, 48, 1, 38016, 0xda6ba315
+0, 49, 49, 1, 38016, 0xaa38cc4e
+0, 50, 50, 1, 38016, 0x87f6e751
+0, 51, 51, 1, 38016, 0x2318c2b9
+0, 52, 52, 1, 38016, 0xdebfd9c8
+0, 53, 53, 1, 38016, 0xdc9a115f
+0, 54, 54, 1, 38016, 0x6d1e495d
+0, 55, 55, 1, 38016, 0x53d46db4
+0, 56, 56, 1, 38016, 0x53287856
+0, 57, 57, 1, 38016, 0x0ce93af7
+0, 58, 58, 1, 38016, 0x44974b42
+0, 59, 59, 1, 38016, 0x65a16170
+0, 60, 60, 1, 38016, 0xeb8a3531
+0, 61, 61, 1, 38016, 0x65da180b
+0, 62, 62, 1, 38016, 0x6eb1cd77
+0, 63, 63, 1, 38016, 0xc890b0c1
+0, 64, 64, 1, 38016, 0x359ad301
+0, 65, 65, 1, 38016, 0x4be2e140
+0, 66, 66, 1, 38016, 0x5094da18
+0, 67, 67, 1, 38016, 0x9ef9d904
+0, 68, 68, 1, 38016, 0x0ad8cbb4
+0, 69, 69, 1, 38016, 0xd68cb3db
+0, 70, 70, 1, 38016, 0x7fcd9d3c
+0, 71, 71, 1, 38016, 0x017385aa
+0, 72, 72, 1, 38016, 0xa2328d96
+0, 73, 73, 1, 38016, 0x18858630
+0, 74, 74, 1, 38016, 0x795228e0
+0, 75, 75, 1, 38016, 0xb70ce750
+0, 76, 76, 1, 38016, 0x55d9da49
+0, 77, 77, 1, 38016, 0x7714cc94
+0, 78, 78, 1, 38016, 0xec39f711
+0, 79, 79, 1, 38016, 0x561e4366
+0, 80, 80, 1, 38016, 0xd91c83e0
+0, 81, 81, 1, 38016, 0x8b3379e2
+0, 82, 82, 1, 38016, 0xdee36b36
+0, 83, 83, 1, 38016, 0x1b4940fd
+0, 84, 84, 1, 38016, 0x9b13e7b2
+0, 85, 85, 1, 38016, 0xb0b2f2eb
+0, 86, 86, 1, 38016, 0x0e7c2373
+0, 87, 87, 1, 38016, 0x87401fb0
+0, 88, 88, 1, 38016, 0xc4bdb8be
+0, 89, 89, 1, 38016, 0xbbfc4f40
+0, 90, 90, 1, 38016, 0x1722db32
+0, 91, 91, 1, 38016, 0xf7e8a749
+0, 92, 92, 1, 38016, 0x8c66b366
+0, 93, 93, 1, 38016, 0x9823f33e
+0, 94, 94, 1, 38016, 0x5013240a
+0, 95, 95, 1, 38016, 0xf174d83a
+0, 96, 96, 1, 38016, 0xe49cae19
+0, 97, 97, 1, 38016, 0xadc2f8f7
+0, 98, 98, 1, 38016, 0x667961b0
+0, 99, 99, 1, 38016, 0xcb6d9bcd
diff --git a/tests/ref/fate/h264-conformance-basqp1_sony_c b/tests/ref/fate/h264-conformance-basqp1_sony_c
index f8565472bb..a5038e415d 100644
--- a/tests/ref/fate/h264-conformance-basqp1_sony_c
+++ b/tests/ref/fate/h264-conformance-basqp1_sony_c
@@ -1,4 +1,5 @@
-0, 0, 38016, 0xe2d73230
-0, 3600, 38016, 0xda4dfc8e
-0, 7200, 38016, 0x7334cb99
-0, 10800, 38016, 0xd8feab7d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xe2d73230
+0, 1, 1, 1, 38016, 0xda4dfc8e
+0, 2, 2, 1, 38016, 0x7334cb99
+0, 3, 3, 1, 38016, 0xd8feab7d
diff --git a/tests/ref/fate/h264-conformance-caba1_sony_d b/tests/ref/fate/h264-conformance-caba1_sony_d
index 62232d23ed..35798202d6 100644
--- a/tests/ref/fate/h264-conformance-caba1_sony_d
+++ b/tests/ref/fate/h264-conformance-caba1_sony_d
@@ -1,50 +1,51 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0x99e1fe60
-0, 7200, 38016, 0x65eace24
-0, 10800, 38016, 0xb2b0a513
-0, 14400, 38016, 0x8af47c64
-0, 18000, 38016, 0xa56670c6
-0, 21600, 38016, 0x11d45ac9
-0, 25200, 38016, 0xcd4e4f18
-0, 28800, 38016, 0x399934b2
-0, 32400, 38016, 0xedd23f7b
-0, 36000, 38016, 0x38c350b9
-0, 39600, 38016, 0xdd937244
-0, 43200, 38016, 0x39c67be6
-0, 46800, 38016, 0xabb7a34d
-0, 50400, 38016, 0x535d971f
-0, 54000, 38016, 0xd41c9cf7
-0, 57600, 38016, 0xfddda183
-0, 61200, 38016, 0x7b659dc5
-0, 64800, 38016, 0x06978b0c
-0, 68400, 38016, 0x62596b00
-0, 72000, 38016, 0x5e504719
-0, 75600, 38016, 0x55252349
-0, 79200, 38016, 0xdbdd0d9e
-0, 82800, 38016, 0x550a0918
-0, 86400, 38016, 0xb890feeb
-0, 90000, 38016, 0x8aa01221
-0, 93600, 38016, 0xfcc01085
-0, 97200, 38016, 0x78f11d7d
-0, 100800, 38016, 0xfcd33487
-0, 104400, 38016, 0x9b444cfc
-0, 108000, 38016, 0xed9563d3
-0, 111600, 38016, 0x07e17628
-0, 115200, 38016, 0x9bb792fd
-0, 118800, 38016, 0xa6aea73d
-0, 122400, 38016, 0x4b90b778
-0, 126000, 38016, 0x6df2b998
-0, 129600, 38016, 0x799eb2db
-0, 133200, 38016, 0x48dab272
-0, 136800, 38016, 0x9877b4eb
-0, 140400, 38016, 0x901ab58e
-0, 144000, 38016, 0x32c2beb1
-0, 147600, 38016, 0xe542b56e
-0, 151200, 38016, 0x1edf9ff4
-0, 154800, 38016, 0xf103942c
-0, 158400, 38016, 0x097a8dc7
-0, 162000, 38016, 0xe3728780
-0, 165600, 38016, 0xce9a9026
-0, 169200, 38016, 0x78ba841b
-0, 172800, 38016, 0x5fc687ab
-0, 176400, 38016, 0x03a49472
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0x99e1fe60
+0, 2, 2, 1, 38016, 0x65eace24
+0, 3, 3, 1, 38016, 0xb2b0a513
+0, 4, 4, 1, 38016, 0x8af47c64
+0, 5, 5, 1, 38016, 0xa56670c6
+0, 6, 6, 1, 38016, 0x11d45ac9
+0, 7, 7, 1, 38016, 0xcd4e4f18
+0, 8, 8, 1, 38016, 0x399934b2
+0, 9, 9, 1, 38016, 0xedd23f7b
+0, 10, 10, 1, 38016, 0x38c350b9
+0, 11, 11, 1, 38016, 0xdd937244
+0, 12, 12, 1, 38016, 0x39c67be6
+0, 13, 13, 1, 38016, 0xabb7a34d
+0, 14, 14, 1, 38016, 0x535d971f
+0, 15, 15, 1, 38016, 0xd41c9cf7
+0, 16, 16, 1, 38016, 0xfddda183
+0, 17, 17, 1, 38016, 0x7b659dc5
+0, 18, 18, 1, 38016, 0x06978b0c
+0, 19, 19, 1, 38016, 0x62596b00
+0, 20, 20, 1, 38016, 0x5e504719
+0, 21, 21, 1, 38016, 0x55252349
+0, 22, 22, 1, 38016, 0xdbdd0d9e
+0, 23, 23, 1, 38016, 0x550a0918
+0, 24, 24, 1, 38016, 0xb890feeb
+0, 25, 25, 1, 38016, 0x8aa01221
+0, 26, 26, 1, 38016, 0xfcc01085
+0, 27, 27, 1, 38016, 0x78f11d7d
+0, 28, 28, 1, 38016, 0xfcd33487
+0, 29, 29, 1, 38016, 0x9b444cfc
+0, 30, 30, 1, 38016, 0xed9563d3
+0, 31, 31, 1, 38016, 0x07e17628
+0, 32, 32, 1, 38016, 0x9bb792fd
+0, 33, 33, 1, 38016, 0xa6aea73d
+0, 34, 34, 1, 38016, 0x4b90b778
+0, 35, 35, 1, 38016, 0x6df2b998
+0, 36, 36, 1, 38016, 0x799eb2db
+0, 37, 37, 1, 38016, 0x48dab272
+0, 38, 38, 1, 38016, 0x9877b4eb
+0, 39, 39, 1, 38016, 0x901ab58e
+0, 40, 40, 1, 38016, 0x32c2beb1
+0, 41, 41, 1, 38016, 0xe542b56e
+0, 42, 42, 1, 38016, 0x1edf9ff4
+0, 43, 43, 1, 38016, 0xf103942c
+0, 44, 44, 1, 38016, 0x097a8dc7
+0, 45, 45, 1, 38016, 0xe3728780
+0, 46, 46, 1, 38016, 0xce9a9026
+0, 47, 47, 1, 38016, 0x78ba841b
+0, 48, 48, 1, 38016, 0x5fc687ab
+0, 49, 49, 1, 38016, 0x03a49472
diff --git a/tests/ref/fate/h264-conformance-caba1_sva_b b/tests/ref/fate/h264-conformance-caba1_sva_b
index f5b426b802..8b255bc2f3 100644
--- a/tests/ref/fate/h264-conformance-caba1_sva_b
+++ b/tests/ref/fate/h264-conformance-caba1_sva_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xee831fe4
-0, 3600, 38016, 0x1098ff23
-0, 7200, 38016, 0x8fc3e078
-0, 10800, 38016, 0x86530991
-0, 14400, 38016, 0xdc8e279e
-0, 18000, 38016, 0x54ea3234
-0, 21600, 38016, 0x79014662
-0, 25200, 38016, 0x5d0a5a88
-0, 28800, 38016, 0xf712805d
-0, 32400, 38016, 0x0a09937e
-0, 36000, 38016, 0xfa62a1d7
-0, 39600, 38016, 0x67c6a41b
-0, 43200, 38016, 0x6452ab94
-0, 46800, 38016, 0xdb269049
-0, 50400, 38016, 0xc7ab8864
-0, 54000, 38016, 0xbb828f4a
-0, 57600, 38016, 0x4fb3a61a
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xee831fe4
+0, 1, 1, 1, 38016, 0x1098ff23
+0, 2, 2, 1, 38016, 0x8fc3e078
+0, 3, 3, 1, 38016, 0x86530991
+0, 4, 4, 1, 38016, 0xdc8e279e
+0, 5, 5, 1, 38016, 0x54ea3234
+0, 6, 6, 1, 38016, 0x79014662
+0, 7, 7, 1, 38016, 0x5d0a5a88
+0, 8, 8, 1, 38016, 0xf712805d
+0, 9, 9, 1, 38016, 0x0a09937e
+0, 10, 10, 1, 38016, 0xfa62a1d7
+0, 11, 11, 1, 38016, 0x67c6a41b
+0, 12, 12, 1, 38016, 0x6452ab94
+0, 13, 13, 1, 38016, 0xdb269049
+0, 14, 14, 1, 38016, 0xc7ab8864
+0, 15, 15, 1, 38016, 0xbb828f4a
+0, 16, 16, 1, 38016, 0x4fb3a61a
diff --git a/tests/ref/fate/h264-conformance-caba2_sony_e b/tests/ref/fate/h264-conformance-caba2_sony_e
index 0732027522..c30083c5e8 100644
--- a/tests/ref/fate/h264-conformance-caba2_sony_e
+++ b/tests/ref/fate/h264-conformance-caba2_sony_e
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0x23a30e47
-0, 7200, 38016, 0xa0b7df0f
-0, 10800, 38016, 0x5cd9beed
-0, 14400, 38016, 0x13b09699
-0, 18000, 38016, 0x66697d65
-0, 21600, 38016, 0xf0486d0d
-0, 25200, 38016, 0xaf94644e
-0, 28800, 38016, 0x43c45981
-0, 32400, 38016, 0x8f655e70
-0, 36000, 38016, 0x3d747a52
-0, 39600, 38016, 0x906e95f9
-0, 43200, 38016, 0xdd3ea1a0
-0, 46800, 38016, 0x216eb0ee
-0, 50400, 38016, 0x06cbabfe
-0, 54000, 38016, 0xd41c9cf7
-0, 57600, 38016, 0x6d2fa58e
-0, 61200, 38016, 0x0adca6fc
-0, 64800, 38016, 0x51c49ad9
-0, 68400, 38016, 0x83e57a42
-0, 72000, 38016, 0xe47b5dad
-0, 75600, 38016, 0x5e123c13
-0, 79200, 38016, 0xad682f93
-0, 82800, 38016, 0x77b02d2c
-0, 86400, 38016, 0x976d316e
-0, 90000, 38016, 0x3d923c72
-0, 93600, 38016, 0xf073398d
-0, 97200, 38016, 0x6dc547b4
-0, 100800, 38016, 0xfa9859b3
-0, 104400, 38016, 0xfc3f77b9
-0, 108000, 38016, 0xed9563d3
-0, 111600, 38016, 0xc040929e
-0, 115200, 38016, 0x5562af3c
-0, 118800, 38016, 0xa56abc78
-0, 122400, 38016, 0x702ec702
-0, 126000, 38016, 0x8ee7c909
-0, 129600, 38016, 0x9065c44f
-0, 133200, 38016, 0x11e3c40b
-0, 136800, 38016, 0x20fbc27a
-0, 140400, 38016, 0xaeecc582
-0, 144000, 38016, 0x3b32ca4f
-0, 147600, 38016, 0x5464ce6c
-0, 151200, 38016, 0x41d4cd66
-0, 154800, 38016, 0x8a69c6ef
-0, 158400, 38016, 0x2c63c59e
-0, 162000, 38016, 0xe3728780
-0, 165600, 38016, 0xc60c9ca3
-0, 169200, 38016, 0x8299a65a
-0, 172800, 38016, 0x67d4b3d5
-0, 176400, 38016, 0xd650bd19
-0, 180000, 38016, 0xe8c9b285
-0, 183600, 38016, 0x9a3dba0c
-0, 187200, 38016, 0xb3f4bfc3
-0, 190800, 38016, 0xe3edbe71
-0, 194400, 38016, 0xea7fc14f
-0, 198000, 38016, 0x4560cb94
-0, 201600, 38016, 0x3b48ce1b
-0, 205200, 38016, 0xc668d24c
-0, 208800, 38016, 0x8bdcd514
-0, 212400, 38016, 0xd0f8d380
-0, 216000, 38016, 0x98a59a5a
-0, 219600, 38016, 0x086d9c52
-0, 223200, 38016, 0x50417af3
-0, 226800, 38016, 0xe8ae428b
-0, 230400, 38016, 0xb5663f68
-0, 234000, 38016, 0x452e6045
-0, 237600, 38016, 0x0412991e
-0, 241200, 38016, 0xa791d0c8
-0, 244800, 38016, 0x952c13e8
-0, 248400, 38016, 0x9356462c
-0, 252000, 38016, 0x34026bf3
-0, 255600, 38016, 0x3a109e70
-0, 259200, 38016, 0xc28dccb1
-0, 262800, 38016, 0x445f08e7
-0, 266400, 38016, 0x1e0c4781
-0, 270000, 38016, 0x4c0b3afa
-0, 273600, 38016, 0x90147b21
-0, 277200, 38016, 0xe6fb9ee6
-0, 280800, 38016, 0x3bbac15a
-0, 284400, 38016, 0x113ecc97
-0, 288000, 38016, 0xa271e248
-0, 291600, 38016, 0xbc97f36a
-0, 295200, 38016, 0x2a5af366
-0, 298800, 38016, 0xc171ec49
-0, 302400, 38016, 0x2393e85e
-0, 306000, 38016, 0xbf59eeb0
-0, 309600, 38016, 0xcec2f989
-0, 313200, 38016, 0x3cb8fcb3
-0, 316800, 38016, 0x28150278
-0, 320400, 38016, 0x27f70026
-0, 324000, 38016, 0x8fa69f07
-0, 327600, 38016, 0x198b9a79
-0, 331200, 38016, 0x40928d52
-0, 334800, 38016, 0x1504834e
-0, 338400, 38016, 0xb53677ab
-0, 342000, 38016, 0x2e2c783d
-0, 345600, 38016, 0x5fd38e3a
-0, 349200, 38016, 0x697e9cd3
-0, 352800, 38016, 0x0b18ad4b
-0, 356400, 38016, 0x6ad7b78f
-0, 360000, 38016, 0x6af3c654
-0, 363600, 38016, 0x5aabb804
-0, 367200, 38016, 0x9b5aa6e5
-0, 370800, 38016, 0x2993a311
-0, 374400, 38016, 0x1382b8e5
-0, 378000, 38016, 0xf294a253
-0, 381600, 38016, 0xafa5c2a5
-0, 385200, 38016, 0x621ce2b5
-0, 388800, 38016, 0x676c0440
-0, 392400, 38016, 0xa7c31e07
-0, 396000, 38016, 0x29612ba2
-0, 399600, 38016, 0xb38c3920
-0, 403200, 38016, 0xfcce3ee5
-0, 406800, 38016, 0x3ee81fac
-0, 410400, 38016, 0x635cfdb0
-0, 414000, 38016, 0x222afa63
-0, 417600, 38016, 0x230c09cb
-0, 421200, 38016, 0x2b491802
-0, 424800, 38016, 0x9cac2164
-0, 428400, 38016, 0xa0532de8
-0, 432000, 38016, 0x32e93592
-0, 435600, 38016, 0x724033a9
-0, 439200, 38016, 0x74411884
-0, 442800, 38016, 0xae14efcf
-0, 446400, 38016, 0x0188cdc7
-0, 450000, 38016, 0x5708b5c1
-0, 453600, 38016, 0x54aba6da
-0, 457200, 38016, 0x7364b397
-0, 460800, 38016, 0xf676c547
-0, 464400, 38016, 0x6926db3a
-0, 468000, 38016, 0xccdbe5be
-0, 471600, 38016, 0x8fc8e490
-0, 475200, 38016, 0x5d7fdd35
-0, 478800, 38016, 0x0e27e010
-0, 482400, 38016, 0x8120dd43
-0, 486000, 38016, 0x1612a173
-0, 489600, 38016, 0x3f1cb4b7
-0, 493200, 38016, 0xd1c7b0a6
-0, 496800, 38016, 0x472baad5
-0, 500400, 38016, 0xfe37a1f3
-0, 504000, 38016, 0x42a391ba
-0, 507600, 38016, 0xdb618cac
-0, 511200, 38016, 0x7af879bf
-0, 514800, 38016, 0xe6f27644
-0, 518400, 38016, 0x550a7f0c
-0, 522000, 38016, 0x7d297eaa
-0, 525600, 38016, 0xaeb57623
-0, 529200, 38016, 0x6d5e4995
-0, 532800, 38016, 0x57df1be0
-0, 536400, 38016, 0x7617f825
-0, 540000, 38016, 0xf731aef2
-0, 543600, 38016, 0x489aae6c
-0, 547200, 38016, 0x2d80b7a4
-0, 550800, 38016, 0xe4b6ac4e
-0, 554400, 38016, 0xd243a374
-0, 558000, 38016, 0x5cf9b85b
-0, 561600, 38016, 0xe824d798
-0, 565200, 38016, 0x8a46f630
-0, 568800, 38016, 0x4a03337f
-0, 572400, 38016, 0xefe25cf7
-0, 576000, 38016, 0xed876efa
-0, 579600, 38016, 0xdf1b6b65
-0, 583200, 38016, 0xd3225d8c
-0, 586800, 38016, 0x0cf04d8d
-0, 590400, 38016, 0x0fdc3bb3
-0, 594000, 38016, 0xc31bf5da
-0, 597600, 38016, 0x09e0ec79
-0, 601200, 38016, 0x6521c8fb
-0, 604800, 38016, 0x6f67a94c
-0, 608400, 38016, 0xa0a49f38
-0, 612000, 38016, 0x759fb6f2
-0, 615600, 38016, 0xea41ddf8
-0, 619200, 38016, 0xe559f0a6
-0, 622800, 38016, 0x1dcbec38
-0, 626400, 38016, 0xfb62dc6a
-0, 630000, 38016, 0x3d0fac24
-0, 633600, 38016, 0x87c373a1
-0, 637200, 38016, 0x97a84562
-0, 640800, 38016, 0xe4361c2e
-0, 644400, 38016, 0x21170c47
-0, 648000, 38016, 0x0769ec52
-0, 651600, 38016, 0xac1ad44d
-0, 655200, 38016, 0xdf87cb3e
-0, 658800, 38016, 0x95c0d66f
-0, 662400, 38016, 0xba33da6f
-0, 666000, 38016, 0x71b2e866
-0, 669600, 38016, 0x64540dd1
-0, 673200, 38016, 0x79cb2d92
-0, 676800, 38016, 0xfe8e394b
-0, 680400, 38016, 0x648f443f
-0, 684000, 38016, 0x491eee56
-0, 687600, 38016, 0x6195b91b
-0, 691200, 38016, 0x3935c2b0
-0, 694800, 38016, 0x2408e296
-0, 698400, 38016, 0xe17106b5
-0, 702000, 38016, 0xd8d01ad1
-0, 705600, 38016, 0x85d15104
-0, 709200, 38016, 0xacc16731
-0, 712800, 38016, 0xb6a990b7
-0, 716400, 38016, 0x8153a9cd
-0, 720000, 38016, 0xef5ab92a
-0, 723600, 38016, 0x392acfab
-0, 727200, 38016, 0x7031d48e
-0, 730800, 38016, 0x5d3ed39f
-0, 734400, 38016, 0x004fd516
-0, 738000, 38016, 0x8de7dc94
-0, 741600, 38016, 0x7e21db4a
-0, 745200, 38016, 0x518dd829
-0, 748800, 38016, 0xf780cf45
-0, 752400, 38016, 0x0a49bd6f
-0, 756000, 38016, 0xadb65d17
-0, 759600, 38016, 0xbe79629d
-0, 763200, 38016, 0x2daa65c8
-0, 766800, 38016, 0x0b4a6737
-0, 770400, 38016, 0x8e705885
-0, 774000, 38016, 0x6d2a4af2
-0, 777600, 38016, 0x89fe4b54
-0, 781200, 38016, 0x90cb4dde
-0, 784800, 38016, 0x2d9e4f4e
-0, 788400, 38016, 0x5fcd4a7b
-0, 792000, 38016, 0xdb4143e7
-0, 795600, 38016, 0xd9343662
-0, 799200, 38016, 0xdf4a2af2
-0, 802800, 38016, 0xbe8f1fd2
-0, 806400, 38016, 0x4658200f
-0, 810000, 38016, 0x92b51315
-0, 813600, 38016, 0x441f1576
-0, 817200, 38016, 0x970b29b4
-0, 820800, 38016, 0x93ac40f2
-0, 824400, 38016, 0xa0ac6b06
-0, 828000, 38016, 0xdd5b8f01
-0, 831600, 38016, 0xa921b3d5
-0, 835200, 38016, 0xdd6fdf01
-0, 838800, 38016, 0x1c6c0306
-0, 842400, 38016, 0xcea2235d
-0, 846000, 38016, 0x43853758
-0, 849600, 38016, 0xa0234e29
-0, 853200, 38016, 0x94c85022
-0, 856800, 38016, 0xaf4e33ab
-0, 860400, 38016, 0x07f90e0c
-0, 864000, 38016, 0x99cee4bd
-0, 867600, 38016, 0xb7cdcf79
-0, 871200, 38016, 0x5923c14c
-0, 874800, 38016, 0x771f15d4
-0, 878400, 38016, 0x20f08043
-0, 882000, 38016, 0xb7bfeab2
-0, 885600, 38016, 0x53440996
-0, 889200, 38016, 0x6452d384
-0, 892800, 38016, 0xabcb975e
-0, 896400, 38016, 0x146123b9
-0, 900000, 38016, 0xbeddbfff
-0, 903600, 38016, 0xa0c97c47
-0, 907200, 38016, 0x1dca7308
-0, 910800, 38016, 0x16c5c832
-0, 914400, 38016, 0xcab326b9
-0, 918000, 38016, 0xe952c9bd
-0, 921600, 38016, 0x216ec182
-0, 925200, 38016, 0xb21a5074
-0, 928800, 38016, 0xcbe73c15
-0, 932400, 38016, 0xb5e532de
-0, 936000, 38016, 0x3a693aa5
-0, 939600, 38016, 0x157f4a20
-0, 943200, 38016, 0x9f9a5868
-0, 946800, 38016, 0x50f65ea1
-0, 950400, 38016, 0xe1735d4f
-0, 954000, 38016, 0x15284ec7
-0, 957600, 38016, 0x32433d94
-0, 961200, 38016, 0x768f2092
-0, 964800, 38016, 0x6b01f5ad
-0, 968400, 38016, 0xadcbce27
-0, 972000, 38016, 0x6faca613
-0, 975600, 38016, 0xd9327d40
-0, 979200, 38016, 0xbc1060ef
-0, 982800, 38016, 0xbe071251
-0, 986400, 38016, 0x47abbfaa
-0, 990000, 38016, 0x4851af88
-0, 993600, 38016, 0xff53c772
-0, 997200, 38016, 0xa1dcbef5
-0, 1000800, 38016, 0x106df309
-0, 1004400, 38016, 0x92e65f13
-0, 1008000, 38016, 0x7e8ffdb9
-0, 1011600, 38016, 0x0ba4d317
-0, 1015200, 38016, 0xe038a2a2
-0, 1018800, 38016, 0xc479675b
-0, 1022400, 38016, 0xadbc4d18
-0, 1026000, 38016, 0x2d41a44b
-0, 1029600, 38016, 0x3240617d
-0, 1033200, 38016, 0xa60f9b98
-0, 1036800, 38016, 0x3aeea379
-0, 1040400, 38016, 0x45a0936c
-0, 1044000, 38016, 0xf0c42d2f
-0, 1047600, 38016, 0x930343ee
-0, 1051200, 38016, 0xe074d631
-0, 1054800, 38016, 0xc6f20ab5
-0, 1058400, 38016, 0x3f5a4ef7
-0, 1062000, 38016, 0x94d44b16
-0, 1065600, 38016, 0xa52427da
-0, 1069200, 38016, 0x2f2116a1
-0, 1072800, 38016, 0x566c2541
-0, 1076400, 38016, 0x0b894c8b
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0x23a30e47
+0, 2, 2, 1, 38016, 0xa0b7df0f
+0, 3, 3, 1, 38016, 0x5cd9beed
+0, 4, 4, 1, 38016, 0x13b09699
+0, 5, 5, 1, 38016, 0x66697d65
+0, 6, 6, 1, 38016, 0xf0486d0d
+0, 7, 7, 1, 38016, 0xaf94644e
+0, 8, 8, 1, 38016, 0x43c45981
+0, 9, 9, 1, 38016, 0x8f655e70
+0, 10, 10, 1, 38016, 0x3d747a52
+0, 11, 11, 1, 38016, 0x906e95f9
+0, 12, 12, 1, 38016, 0xdd3ea1a0
+0, 13, 13, 1, 38016, 0x216eb0ee
+0, 14, 14, 1, 38016, 0x06cbabfe
+0, 15, 15, 1, 38016, 0xd41c9cf7
+0, 16, 16, 1, 38016, 0x6d2fa58e
+0, 17, 17, 1, 38016, 0x0adca6fc
+0, 18, 18, 1, 38016, 0x51c49ad9
+0, 19, 19, 1, 38016, 0x83e57a42
+0, 20, 20, 1, 38016, 0xe47b5dad
+0, 21, 21, 1, 38016, 0x5e123c13
+0, 22, 22, 1, 38016, 0xad682f93
+0, 23, 23, 1, 38016, 0x77b02d2c
+0, 24, 24, 1, 38016, 0x976d316e
+0, 25, 25, 1, 38016, 0x3d923c72
+0, 26, 26, 1, 38016, 0xf073398d
+0, 27, 27, 1, 38016, 0x6dc547b4
+0, 28, 28, 1, 38016, 0xfa9859b3
+0, 29, 29, 1, 38016, 0xfc3f77b9
+0, 30, 30, 1, 38016, 0xed9563d3
+0, 31, 31, 1, 38016, 0xc040929e
+0, 32, 32, 1, 38016, 0x5562af3c
+0, 33, 33, 1, 38016, 0xa56abc78
+0, 34, 34, 1, 38016, 0x702ec702
+0, 35, 35, 1, 38016, 0x8ee7c909
+0, 36, 36, 1, 38016, 0x9065c44f
+0, 37, 37, 1, 38016, 0x11e3c40b
+0, 38, 38, 1, 38016, 0x20fbc27a
+0, 39, 39, 1, 38016, 0xaeecc582
+0, 40, 40, 1, 38016, 0x3b32ca4f
+0, 41, 41, 1, 38016, 0x5464ce6c
+0, 42, 42, 1, 38016, 0x41d4cd66
+0, 43, 43, 1, 38016, 0x8a69c6ef
+0, 44, 44, 1, 38016, 0x2c63c59e
+0, 45, 45, 1, 38016, 0xe3728780
+0, 46, 46, 1, 38016, 0xc60c9ca3
+0, 47, 47, 1, 38016, 0x8299a65a
+0, 48, 48, 1, 38016, 0x67d4b3d5
+0, 49, 49, 1, 38016, 0xd650bd19
+0, 50, 50, 1, 38016, 0xe8c9b285
+0, 51, 51, 1, 38016, 0x9a3dba0c
+0, 52, 52, 1, 38016, 0xb3f4bfc3
+0, 53, 53, 1, 38016, 0xe3edbe71
+0, 54, 54, 1, 38016, 0xea7fc14f
+0, 55, 55, 1, 38016, 0x4560cb94
+0, 56, 56, 1, 38016, 0x3b48ce1b
+0, 57, 57, 1, 38016, 0xc668d24c
+0, 58, 58, 1, 38016, 0x8bdcd514
+0, 59, 59, 1, 38016, 0xd0f8d380
+0, 60, 60, 1, 38016, 0x98a59a5a
+0, 61, 61, 1, 38016, 0x086d9c52
+0, 62, 62, 1, 38016, 0x50417af3
+0, 63, 63, 1, 38016, 0xe8ae428b
+0, 64, 64, 1, 38016, 0xb5663f68
+0, 65, 65, 1, 38016, 0x452e6045
+0, 66, 66, 1, 38016, 0x0412991e
+0, 67, 67, 1, 38016, 0xa791d0c8
+0, 68, 68, 1, 38016, 0x952c13e8
+0, 69, 69, 1, 38016, 0x9356462c
+0, 70, 70, 1, 38016, 0x34026bf3
+0, 71, 71, 1, 38016, 0x3a109e70
+0, 72, 72, 1, 38016, 0xc28dccb1
+0, 73, 73, 1, 38016, 0x445f08e7
+0, 74, 74, 1, 38016, 0x1e0c4781
+0, 75, 75, 1, 38016, 0x4c0b3afa
+0, 76, 76, 1, 38016, 0x90147b21
+0, 77, 77, 1, 38016, 0xe6fb9ee6
+0, 78, 78, 1, 38016, 0x3bbac15a
+0, 79, 79, 1, 38016, 0x113ecc97
+0, 80, 80, 1, 38016, 0xa271e248
+0, 81, 81, 1, 38016, 0xbc97f36a
+0, 82, 82, 1, 38016, 0x2a5af366
+0, 83, 83, 1, 38016, 0xc171ec49
+0, 84, 84, 1, 38016, 0x2393e85e
+0, 85, 85, 1, 38016, 0xbf59eeb0
+0, 86, 86, 1, 38016, 0xcec2f989
+0, 87, 87, 1, 38016, 0x3cb8fcb3
+0, 88, 88, 1, 38016, 0x28150278
+0, 89, 89, 1, 38016, 0x27f70026
+0, 90, 90, 1, 38016, 0x8fa69f07
+0, 91, 91, 1, 38016, 0x198b9a79
+0, 92, 92, 1, 38016, 0x40928d52
+0, 93, 93, 1, 38016, 0x1504834e
+0, 94, 94, 1, 38016, 0xb53677ab
+0, 95, 95, 1, 38016, 0x2e2c783d
+0, 96, 96, 1, 38016, 0x5fd38e3a
+0, 97, 97, 1, 38016, 0x697e9cd3
+0, 98, 98, 1, 38016, 0x0b18ad4b
+0, 99, 99, 1, 38016, 0x6ad7b78f
+0, 100, 100, 1, 38016, 0x6af3c654
+0, 101, 101, 1, 38016, 0x5aabb804
+0, 102, 102, 1, 38016, 0x9b5aa6e5
+0, 103, 103, 1, 38016, 0x2993a311
+0, 104, 104, 1, 38016, 0x1382b8e5
+0, 105, 105, 1, 38016, 0xf294a253
+0, 106, 106, 1, 38016, 0xafa5c2a5
+0, 107, 107, 1, 38016, 0x621ce2b5
+0, 108, 108, 1, 38016, 0x676c0440
+0, 109, 109, 1, 38016, 0xa7c31e07
+0, 110, 110, 1, 38016, 0x29612ba2
+0, 111, 111, 1, 38016, 0xb38c3920
+0, 112, 112, 1, 38016, 0xfcce3ee5
+0, 113, 113, 1, 38016, 0x3ee81fac
+0, 114, 114, 1, 38016, 0x635cfdb0
+0, 115, 115, 1, 38016, 0x222afa63
+0, 116, 116, 1, 38016, 0x230c09cb
+0, 117, 117, 1, 38016, 0x2b491802
+0, 118, 118, 1, 38016, 0x9cac2164
+0, 119, 119, 1, 38016, 0xa0532de8
+0, 120, 120, 1, 38016, 0x32e93592
+0, 121, 121, 1, 38016, 0x724033a9
+0, 122, 122, 1, 38016, 0x74411884
+0, 123, 123, 1, 38016, 0xae14efcf
+0, 124, 124, 1, 38016, 0x0188cdc7
+0, 125, 125, 1, 38016, 0x5708b5c1
+0, 126, 126, 1, 38016, 0x54aba6da
+0, 127, 127, 1, 38016, 0x7364b397
+0, 128, 128, 1, 38016, 0xf676c547
+0, 129, 129, 1, 38016, 0x6926db3a
+0, 130, 130, 1, 38016, 0xccdbe5be
+0, 131, 131, 1, 38016, 0x8fc8e490
+0, 132, 132, 1, 38016, 0x5d7fdd35
+0, 133, 133, 1, 38016, 0x0e27e010
+0, 134, 134, 1, 38016, 0x8120dd43
+0, 135, 135, 1, 38016, 0x1612a173
+0, 136, 136, 1, 38016, 0x3f1cb4b7
+0, 137, 137, 1, 38016, 0xd1c7b0a6
+0, 138, 138, 1, 38016, 0x472baad5
+0, 139, 139, 1, 38016, 0xfe37a1f3
+0, 140, 140, 1, 38016, 0x42a391ba
+0, 141, 141, 1, 38016, 0xdb618cac
+0, 142, 142, 1, 38016, 0x7af879bf
+0, 143, 143, 1, 38016, 0xe6f27644
+0, 144, 144, 1, 38016, 0x550a7f0c
+0, 145, 145, 1, 38016, 0x7d297eaa
+0, 146, 146, 1, 38016, 0xaeb57623
+0, 147, 147, 1, 38016, 0x6d5e4995
+0, 148, 148, 1, 38016, 0x57df1be0
+0, 149, 149, 1, 38016, 0x7617f825
+0, 150, 150, 1, 38016, 0xf731aef2
+0, 151, 151, 1, 38016, 0x489aae6c
+0, 152, 152, 1, 38016, 0x2d80b7a4
+0, 153, 153, 1, 38016, 0xe4b6ac4e
+0, 154, 154, 1, 38016, 0xd243a374
+0, 155, 155, 1, 38016, 0x5cf9b85b
+0, 156, 156, 1, 38016, 0xe824d798
+0, 157, 157, 1, 38016, 0x8a46f630
+0, 158, 158, 1, 38016, 0x4a03337f
+0, 159, 159, 1, 38016, 0xefe25cf7
+0, 160, 160, 1, 38016, 0xed876efa
+0, 161, 161, 1, 38016, 0xdf1b6b65
+0, 162, 162, 1, 38016, 0xd3225d8c
+0, 163, 163, 1, 38016, 0x0cf04d8d
+0, 164, 164, 1, 38016, 0x0fdc3bb3
+0, 165, 165, 1, 38016, 0xc31bf5da
+0, 166, 166, 1, 38016, 0x09e0ec79
+0, 167, 167, 1, 38016, 0x6521c8fb
+0, 168, 168, 1, 38016, 0x6f67a94c
+0, 169, 169, 1, 38016, 0xa0a49f38
+0, 170, 170, 1, 38016, 0x759fb6f2
+0, 171, 171, 1, 38016, 0xea41ddf8
+0, 172, 172, 1, 38016, 0xe559f0a6
+0, 173, 173, 1, 38016, 0x1dcbec38
+0, 174, 174, 1, 38016, 0xfb62dc6a
+0, 175, 175, 1, 38016, 0x3d0fac24
+0, 176, 176, 1, 38016, 0x87c373a1
+0, 177, 177, 1, 38016, 0x97a84562
+0, 178, 178, 1, 38016, 0xe4361c2e
+0, 179, 179, 1, 38016, 0x21170c47
+0, 180, 180, 1, 38016, 0x0769ec52
+0, 181, 181, 1, 38016, 0xac1ad44d
+0, 182, 182, 1, 38016, 0xdf87cb3e
+0, 183, 183, 1, 38016, 0x95c0d66f
+0, 184, 184, 1, 38016, 0xba33da6f
+0, 185, 185, 1, 38016, 0x71b2e866
+0, 186, 186, 1, 38016, 0x64540dd1
+0, 187, 187, 1, 38016, 0x79cb2d92
+0, 188, 188, 1, 38016, 0xfe8e394b
+0, 189, 189, 1, 38016, 0x648f443f
+0, 190, 190, 1, 38016, 0x491eee56
+0, 191, 191, 1, 38016, 0x6195b91b
+0, 192, 192, 1, 38016, 0x3935c2b0
+0, 193, 193, 1, 38016, 0x2408e296
+0, 194, 194, 1, 38016, 0xe17106b5
+0, 195, 195, 1, 38016, 0xd8d01ad1
+0, 196, 196, 1, 38016, 0x85d15104
+0, 197, 197, 1, 38016, 0xacc16731
+0, 198, 198, 1, 38016, 0xb6a990b7
+0, 199, 199, 1, 38016, 0x8153a9cd
+0, 200, 200, 1, 38016, 0xef5ab92a
+0, 201, 201, 1, 38016, 0x392acfab
+0, 202, 202, 1, 38016, 0x7031d48e
+0, 203, 203, 1, 38016, 0x5d3ed39f
+0, 204, 204, 1, 38016, 0x004fd516
+0, 205, 205, 1, 38016, 0x8de7dc94
+0, 206, 206, 1, 38016, 0x7e21db4a
+0, 207, 207, 1, 38016, 0x518dd829
+0, 208, 208, 1, 38016, 0xf780cf45
+0, 209, 209, 1, 38016, 0x0a49bd6f
+0, 210, 210, 1, 38016, 0xadb65d17
+0, 211, 211, 1, 38016, 0xbe79629d
+0, 212, 212, 1, 38016, 0x2daa65c8
+0, 213, 213, 1, 38016, 0x0b4a6737
+0, 214, 214, 1, 38016, 0x8e705885
+0, 215, 215, 1, 38016, 0x6d2a4af2
+0, 216, 216, 1, 38016, 0x89fe4b54
+0, 217, 217, 1, 38016, 0x90cb4dde
+0, 218, 218, 1, 38016, 0x2d9e4f4e
+0, 219, 219, 1, 38016, 0x5fcd4a7b
+0, 220, 220, 1, 38016, 0xdb4143e7
+0, 221, 221, 1, 38016, 0xd9343662
+0, 222, 222, 1, 38016, 0xdf4a2af2
+0, 223, 223, 1, 38016, 0xbe8f1fd2
+0, 224, 224, 1, 38016, 0x4658200f
+0, 225, 225, 1, 38016, 0x92b51315
+0, 226, 226, 1, 38016, 0x441f1576
+0, 227, 227, 1, 38016, 0x970b29b4
+0, 228, 228, 1, 38016, 0x93ac40f2
+0, 229, 229, 1, 38016, 0xa0ac6b06
+0, 230, 230, 1, 38016, 0xdd5b8f01
+0, 231, 231, 1, 38016, 0xa921b3d5
+0, 232, 232, 1, 38016, 0xdd6fdf01
+0, 233, 233, 1, 38016, 0x1c6c0306
+0, 234, 234, 1, 38016, 0xcea2235d
+0, 235, 235, 1, 38016, 0x43853758
+0, 236, 236, 1, 38016, 0xa0234e29
+0, 237, 237, 1, 38016, 0x94c85022
+0, 238, 238, 1, 38016, 0xaf4e33ab
+0, 239, 239, 1, 38016, 0x07f90e0c
+0, 240, 240, 1, 38016, 0x99cee4bd
+0, 241, 241, 1, 38016, 0xb7cdcf79
+0, 242, 242, 1, 38016, 0x5923c14c
+0, 243, 243, 1, 38016, 0x771f15d4
+0, 244, 244, 1, 38016, 0x20f08043
+0, 245, 245, 1, 38016, 0xb7bfeab2
+0, 246, 246, 1, 38016, 0x53440996
+0, 247, 247, 1, 38016, 0x6452d384
+0, 248, 248, 1, 38016, 0xabcb975e
+0, 249, 249, 1, 38016, 0x146123b9
+0, 250, 250, 1, 38016, 0xbeddbfff
+0, 251, 251, 1, 38016, 0xa0c97c47
+0, 252, 252, 1, 38016, 0x1dca7308
+0, 253, 253, 1, 38016, 0x16c5c832
+0, 254, 254, 1, 38016, 0xcab326b9
+0, 255, 255, 1, 38016, 0xe952c9bd
+0, 256, 256, 1, 38016, 0x216ec182
+0, 257, 257, 1, 38016, 0xb21a5074
+0, 258, 258, 1, 38016, 0xcbe73c15
+0, 259, 259, 1, 38016, 0xb5e532de
+0, 260, 260, 1, 38016, 0x3a693aa5
+0, 261, 261, 1, 38016, 0x157f4a20
+0, 262, 262, 1, 38016, 0x9f9a5868
+0, 263, 263, 1, 38016, 0x50f65ea1
+0, 264, 264, 1, 38016, 0xe1735d4f
+0, 265, 265, 1, 38016, 0x15284ec7
+0, 266, 266, 1, 38016, 0x32433d94
+0, 267, 267, 1, 38016, 0x768f2092
+0, 268, 268, 1, 38016, 0x6b01f5ad
+0, 269, 269, 1, 38016, 0xadcbce27
+0, 270, 270, 1, 38016, 0x6faca613
+0, 271, 271, 1, 38016, 0xd9327d40
+0, 272, 272, 1, 38016, 0xbc1060ef
+0, 273, 273, 1, 38016, 0xbe071251
+0, 274, 274, 1, 38016, 0x47abbfaa
+0, 275, 275, 1, 38016, 0x4851af88
+0, 276, 276, 1, 38016, 0xff53c772
+0, 277, 277, 1, 38016, 0xa1dcbef5
+0, 278, 278, 1, 38016, 0x106df309
+0, 279, 279, 1, 38016, 0x92e65f13
+0, 280, 280, 1, 38016, 0x7e8ffdb9
+0, 281, 281, 1, 38016, 0x0ba4d317
+0, 282, 282, 1, 38016, 0xe038a2a2
+0, 283, 283, 1, 38016, 0xc479675b
+0, 284, 284, 1, 38016, 0xadbc4d18
+0, 285, 285, 1, 38016, 0x2d41a44b
+0, 286, 286, 1, 38016, 0x3240617d
+0, 287, 287, 1, 38016, 0xa60f9b98
+0, 288, 288, 1, 38016, 0x3aeea379
+0, 289, 289, 1, 38016, 0x45a0936c
+0, 290, 290, 1, 38016, 0xf0c42d2f
+0, 291, 291, 1, 38016, 0x930343ee
+0, 292, 292, 1, 38016, 0xe074d631
+0, 293, 293, 1, 38016, 0xc6f20ab5
+0, 294, 294, 1, 38016, 0x3f5a4ef7
+0, 295, 295, 1, 38016, 0x94d44b16
+0, 296, 296, 1, 38016, 0xa52427da
+0, 297, 297, 1, 38016, 0x2f2116a1
+0, 298, 298, 1, 38016, 0x566c2541
+0, 299, 299, 1, 38016, 0x0b894c8b
diff --git a/tests/ref/fate/h264-conformance-caba2_sva_b b/tests/ref/fate/h264-conformance-caba2_sva_b
index af25df7096..ca89226f41 100644
--- a/tests/ref/fate/h264-conformance-caba2_sva_b
+++ b/tests/ref/fate/h264-conformance-caba2_sva_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xee831fe4
-0, 3600, 38016, 0xd9130e19
-0, 7200, 38016, 0x8ad70cae
-0, 10800, 38016, 0x98f11d0e
-0, 14400, 38016, 0x311d46ea
-0, 18000, 38016, 0xe2f15cc5
-0, 21600, 38016, 0xb4c174c6
-0, 25200, 38016, 0x22708406
-0, 28800, 38016, 0x7116a2d2
-0, 32400, 38016, 0x7937b29b
-0, 36000, 38016, 0xfa62a1d7
-0, 39600, 38016, 0x2066b1c6
-0, 43200, 38016, 0x18ecaa40
-0, 46800, 38016, 0xe5dc8d99
-0, 50400, 38016, 0x77046f4a
-0, 54000, 38016, 0x1c50704f
-0, 57600, 38016, 0x87f1879d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xee831fe4
+0, 1, 1, 1, 38016, 0xd9130e19
+0, 2, 2, 1, 38016, 0x8ad70cae
+0, 3, 3, 1, 38016, 0x98f11d0e
+0, 4, 4, 1, 38016, 0x311d46ea
+0, 5, 5, 1, 38016, 0xe2f15cc5
+0, 6, 6, 1, 38016, 0xb4c174c6
+0, 7, 7, 1, 38016, 0x22708406
+0, 8, 8, 1, 38016, 0x7116a2d2
+0, 9, 9, 1, 38016, 0x7937b29b
+0, 10, 10, 1, 38016, 0xfa62a1d7
+0, 11, 11, 1, 38016, 0x2066b1c6
+0, 12, 12, 1, 38016, 0x18ecaa40
+0, 13, 13, 1, 38016, 0xe5dc8d99
+0, 14, 14, 1, 38016, 0x77046f4a
+0, 15, 15, 1, 38016, 0x1c50704f
+0, 16, 16, 1, 38016, 0x87f1879d
diff --git a/tests/ref/fate/h264-conformance-caba3_sony_c b/tests/ref/fate/h264-conformance-caba3_sony_c
index d5465b3840..c7aee37319 100644
--- a/tests/ref/fate/h264-conformance-caba3_sony_c
+++ b/tests/ref/fate/h264-conformance-caba3_sony_c
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0xb6261cdd
-0, 7200, 38016, 0x42ecede9
-0, 10800, 38016, 0xfcd6aec1
-0, 14400, 38016, 0xb3ffa014
-0, 18000, 38016, 0xc65383e3
-0, 21600, 38016, 0xa8494fb1
-0, 25200, 38016, 0x7fb14e0f
-0, 28800, 38016, 0x7dd3462a
-0, 32400, 38016, 0x4bd43dda
-0, 36000, 38016, 0x717e736f
-0, 39600, 38016, 0x2a9b8e47
-0, 43200, 38016, 0x1bc272be
-0, 46800, 38016, 0x0127afb5
-0, 50400, 38016, 0xfd7aacda
-0, 54000, 38016, 0xd41c9cf7
-0, 57600, 38016, 0xd205b1ee
-0, 61200, 38016, 0x967ca895
-0, 64800, 38016, 0x25978063
-0, 68400, 38016, 0x632081b3
-0, 72000, 38016, 0x8ccf5f0b
-0, 75600, 38016, 0x21cc2141
-0, 79200, 38016, 0x477d2543
-0, 82800, 38016, 0xff971bb8
-0, 86400, 38016, 0x0dc21005
-0, 90000, 38016, 0xc69c2d90
-0, 93600, 38016, 0xd7922b5d
-0, 97200, 38016, 0x59a3278f
-0, 100800, 38016, 0x83c55d4d
-0, 104400, 38016, 0xaac96f23
-0, 108000, 38016, 0xed9563d3
-0, 111600, 38016, 0xf86b9ef4
-0, 115200, 38016, 0xe616b81c
-0, 118800, 38016, 0xde60a57b
-0, 122400, 38016, 0x5fe8d130
-0, 126000, 38016, 0x11decaca
-0, 129600, 38016, 0x526fa8e2
-0, 133200, 38016, 0xc5e7ccfb
-0, 136800, 38016, 0x10e1c588
-0, 140400, 38016, 0x78aeb05b
-0, 144000, 38016, 0xff85c717
-0, 147600, 38016, 0x3f02c1b2
-0, 151200, 38016, 0xf45eb015
-0, 154800, 38016, 0x0211b84d
-0, 158400, 38016, 0x3864ba1f
-0, 162000, 38016, 0xe3728780
-0, 165600, 38016, 0x575da8b5
-0, 169200, 38016, 0xc841ad98
-0, 172800, 38016, 0xe69ea78f
-0, 176400, 38016, 0x45cabf16
-0, 180000, 38016, 0x0e00b8eb
-0, 183600, 38016, 0xa774a808
-0, 187200, 38016, 0xfb1bbc2b
-0, 190800, 38016, 0xcfb4b41d
-0, 194400, 38016, 0x66abaff8
-0, 198000, 38016, 0xc39ac9a9
-0, 201600, 38016, 0xbec0cc9a
-0, 205200, 38016, 0xf393c7fc
-0, 208800, 38016, 0xedb5d4ef
-0, 212400, 38016, 0x4b0fd4fe
-0, 216000, 38016, 0x98a59a5a
-0, 219600, 38016, 0x0a69a4f3
-0, 223200, 38016, 0x72bc89ce
-0, 226800, 38016, 0xfe8538b6
-0, 230400, 38016, 0xc8a158a3
-0, 234000, 38016, 0x1cb57fcd
-0, 237600, 38016, 0x76c29215
-0, 241200, 38016, 0xdb36ec21
-0, 244800, 38016, 0xc2e22427
-0, 248400, 38016, 0xafb433cd
-0, 252000, 38016, 0x4d736e28
-0, 255600, 38016, 0xc6ab9949
-0, 259200, 38016, 0xaa9bb9e6
-0, 262800, 38016, 0x0d41f894
-0, 266400, 38016, 0x603332b0
-0, 270000, 38016, 0x4c0b3afa
-0, 273600, 38016, 0x8fd3845e
-0, 277200, 38016, 0x8cf09ae3
-0, 280800, 38016, 0x1e02adfb
-0, 284400, 38016, 0x3c9ac38e
-0, 288000, 38016, 0xb5fdd2d9
-0, 291600, 38016, 0x82c5dd7f
-0, 295200, 38016, 0x4b6ee80a
-0, 298800, 38016, 0xaeaee46f
-0, 302400, 38016, 0x390ed382
-0, 306000, 38016, 0xedbfde44
-0, 309600, 38016, 0xabf6eba0
-0, 313200, 38016, 0x5bf5efd0
-0, 316800, 38016, 0x9a88ebe3
-0, 320400, 38016, 0x2af7ec3b
-0, 324000, 38016, 0x8fa69f07
-0, 327600, 38016, 0xff8fb3b5
-0, 331200, 38016, 0xd06fa3c1
-0, 334800, 38016, 0xe5a97d39
-0, 338400, 38016, 0x961e7c6f
-0, 342000, 38016, 0x18b278af
-0, 345600, 38016, 0x9a0d73d2
-0, 349200, 38016, 0x378f9d74
-0, 352800, 38016, 0x42e5a7a3
-0, 356400, 38016, 0x4595a78e
-0, 360000, 38016, 0x6c09c035
-0, 363600, 38016, 0xec58ab98
-0, 367200, 38016, 0x1b4b8d2b
-0, 370800, 38016, 0xf5199117
-0, 374400, 38016, 0xcd31af4d
-0, 378000, 38016, 0xf294a253
-0, 381600, 38016, 0x360dde6b
-0, 385200, 38016, 0x101cf70c
-0, 388800, 38016, 0x4b34ff17
-0, 392400, 38016, 0x520639c0
-0, 396000, 38016, 0x901840a9
-0, 399600, 38016, 0x4cb03284
-0, 403200, 38016, 0x6929470c
-0, 406800, 38016, 0x21282bdf
-0, 410400, 38016, 0xee8df0ec
-0, 414000, 38016, 0x24970e16
-0, 417600, 38016, 0x280118e3
-0, 421200, 38016, 0x00a10b64
-0, 424800, 38016, 0xb0673f83
-0, 428400, 38016, 0x838644de
-0, 432000, 38016, 0x32e93592
-0, 435600, 38016, 0xedfc477a
-0, 439200, 38016, 0x41062501
-0, 442800, 38016, 0xf218ebf2
-0, 446400, 38016, 0x3430dc73
-0, 450000, 38016, 0xb2fab8f0
-0, 453600, 38016, 0x11b19bab
-0, 457200, 38016, 0x8e30b8e7
-0, 460800, 38016, 0xc8b9c646
-0, 464400, 38016, 0xc902d559
-0, 468000, 38016, 0x3a24ec30
-0, 471600, 38016, 0x744de424
-0, 475200, 38016, 0xc40cd059
-0, 478800, 38016, 0xd98dd9ec
-0, 482400, 38016, 0x9719d698
-0, 486000, 38016, 0x1612a173
-0, 489600, 38016, 0xc044b9f1
-0, 493200, 38016, 0xc433af2f
-0, 496800, 38016, 0x559891e3
-0, 500400, 38016, 0x969e9a33
-0, 504000, 38016, 0x8a6a8e77
-0, 507600, 38016, 0x9d7b76bf
-0, 511200, 38016, 0x3725711a
-0, 514800, 38016, 0x5b316bd0
-0, 518400, 38016, 0x4c616abd
-0, 522000, 38016, 0x43637e2b
-0, 525600, 38016, 0xd9e36c4c
-0, 529200, 38016, 0x823d3596
-0, 532800, 38016, 0x57361a59
-0, 536400, 38016, 0x4a91f007
-0, 540000, 38016, 0xf731aef2
-0, 543600, 38016, 0x8ed2c618
-0, 547200, 38016, 0x6f1cc918
-0, 550800, 38016, 0x2a8ba336
-0, 554400, 38016, 0x8159b595
-0, 558000, 38016, 0x07cfced9
-0, 561600, 38016, 0x8804c878
-0, 565200, 38016, 0x624e0656
-0, 568800, 38016, 0x8628302b
-0, 572400, 38016, 0xd155461e
-0, 576000, 38016, 0x3c1c647c
-0, 579600, 38016, 0x8a485727
-0, 583200, 38016, 0x144934f7
-0, 586800, 38016, 0x43183494
-0, 590400, 38016, 0x20fd2ef2
-0, 594000, 38016, 0xc31bf5da
-0, 597600, 38016, 0x4c70f0f2
-0, 601200, 38016, 0xba1bcbcc
-0, 604800, 38016, 0x11039c6c
-0, 608400, 38016, 0x67c59b61
-0, 612000, 38016, 0xdc0aa2ba
-0, 615600, 38016, 0x1e2dbec9
-0, 619200, 38016, 0xacacdc6c
-0, 622800, 38016, 0x2049defe
-0, 626400, 38016, 0x7488cc3e
-0, 630000, 38016, 0x14bca829
-0, 633600, 38016, 0xc19c76ee
-0, 637200, 38016, 0xeca33612
-0, 640800, 38016, 0x93b027a5
-0, 644400, 38016, 0x82ae1e62
-0, 648000, 38016, 0x0769ec52
-0, 651600, 38016, 0x7cdee8dd
-0, 655200, 38016, 0x7d22d43d
-0, 658800, 38016, 0x65d8cd49
-0, 662400, 38016, 0xa7d2ede4
-0, 666000, 38016, 0x6bd2ffa1
-0, 669600, 38016, 0xb4db0734
-0, 673200, 38016, 0x69cb35ac
-0, 676800, 38016, 0x05e52e88
-0, 680400, 38016, 0x4dc92a43
-0, 684000, 38016, 0x8ca0e858
-0, 687600, 38016, 0x74fbae53
-0, 691200, 38016, 0x19f0aa17
-0, 694800, 38016, 0x04c9dc83
-0, 698400, 38016, 0x0a8ff4b9
-0, 702000, 38016, 0xd8d01ad1
-0, 705600, 38016, 0xa41b5100
-0, 709200, 38016, 0xfaf96547
-0, 712800, 38016, 0xadab8265
-0, 716400, 38016, 0x6e12a9c3
-0, 720000, 38016, 0x1de7b7d1
-0, 723600, 38016, 0x2279bc4a
-0, 727200, 38016, 0x4f62ca0f
-0, 730800, 38016, 0xfaf2cc43
-0, 734400, 38016, 0xbf68c7df
-0, 738000, 38016, 0xb927d1ea
-0, 741600, 38016, 0x8b93d7c6
-0, 745200, 38016, 0x13f3d7d6
-0, 748800, 38016, 0x9ee4cc7b
-0, 752400, 38016, 0x16deb1a0
-0, 756000, 38016, 0xadb65d17
-0, 759600, 38016, 0x0b9e7542
-0, 763200, 38016, 0x05777490
-0, 766800, 38016, 0x6805549f
-0, 770400, 38016, 0xe3246225
-0, 774000, 38016, 0x4003551b
-0, 777600, 38016, 0x1e083a01
-0, 781200, 38016, 0x756e4f22
-0, 784800, 38016, 0xf2f24967
-0, 788400, 38016, 0x680d37f2
-0, 792000, 38016, 0x85b34185
-0, 795600, 38016, 0xefa32eeb
-0, 799200, 38016, 0xca791448
-0, 802800, 38016, 0x7c6b2b13
-0, 806400, 38016, 0x0d8232a6
-0, 810000, 38016, 0x92b51315
-0, 813600, 38016, 0xcfde349c
-0, 817200, 38016, 0xdc1a488b
-0, 820800, 38016, 0xdcf94106
-0, 824400, 38016, 0xc205829b
-0, 828000, 38016, 0x0aff9da3
-0, 831600, 38016, 0x3295b04e
-0, 835200, 38016, 0xc42dfaab
-0, 838800, 38016, 0x799e14a2
-0, 842400, 38016, 0xf658150c
-0, 846000, 38016, 0x4c8751fe
-0, 849600, 38016, 0xe57d58ed
-0, 853200, 38016, 0x28f83c49
-0, 856800, 38016, 0x9760453c
-0, 860400, 38016, 0x1d550fcf
-0, 864000, 38016, 0x99cee4bd
-0, 867600, 38016, 0x743ad122
-0, 871200, 38016, 0xb533ab7c
-0, 874800, 38016, 0x5ca5fc65
-0, 878400, 38016, 0x491c7076
-0, 882000, 38016, 0x8a96d9e5
-0, 885600, 38016, 0x23c3f207
-0, 889200, 38016, 0x3181d62d
-0, 892800, 38016, 0xc72e9636
-0, 896400, 38016, 0xe0c31ae9
-0, 900000, 38016, 0x2f91c0ce
-0, 903600, 38016, 0x17937763
-0, 907200, 38016, 0x61986c20
-0, 910800, 38016, 0x6adeca83
-0, 914400, 38016, 0x894a376b
-0, 918000, 38016, 0xe952c9bd
-0, 921600, 38016, 0x0418d8e9
-0, 925200, 38016, 0x30de606e
-0, 928800, 38016, 0xd15e3116
-0, 932400, 38016, 0xee0446ac
-0, 936000, 38016, 0x34ee44f7
-0, 939600, 38016, 0x825745d4
-0, 943200, 38016, 0xb8046176
-0, 946800, 38016, 0xa812588a
-0, 950400, 38016, 0xed754b26
-0, 954000, 38016, 0xa39c51cd
-0, 957600, 38016, 0x315b38d5
-0, 961200, 38016, 0x12550e05
-0, 964800, 38016, 0xbda6fd9a
-0, 968400, 38016, 0xd10bd86c
-0, 972000, 38016, 0x6faca613
-0, 975600, 38016, 0x6268848a
-0, 979200, 38016, 0x2b8367e6
-0, 982800, 38016, 0xdb6806fd
-0, 986400, 38016, 0x4f58d418
-0, 990000, 38016, 0x59beb628
-0, 993600, 38016, 0x8017aae2
-0, 997200, 38016, 0xb26ad1b3
-0, 1000800, 38016, 0xa058f3a3
-0, 1004400, 38016, 0x4fee4ac2
-0, 1008000, 38016, 0x5dd20ae9
-0, 1011600, 38016, 0x6365dbda
-0, 1015200, 38016, 0x25b47f80
-0, 1018800, 38016, 0x468b8ecb
-0, 1022400, 38016, 0x0b0760f9
-0, 1026000, 38016, 0x2d41a44b
-0, 1029600, 38016, 0x4bb47357
-0, 1033200, 38016, 0x2c0ca74c
-0, 1036800, 38016, 0x6484a271
-0, 1040400, 38016, 0xa55871df
-0, 1044000, 38016, 0xa617ecd8
-0, 1047600, 38016, 0xf7231cc5
-0, 1051200, 38016, 0x15dba20b
-0, 1054800, 38016, 0x56a7d8c7
-0, 1058400, 38016, 0x5e78382b
-0, 1062000, 38016, 0x8edf243b
-0, 1065600, 38016, 0x571effaf
-0, 1069200, 38016, 0x274302d2
-0, 1072800, 38016, 0xc950203d
-0, 1076400, 38016, 0x4a744324
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0xb6261cdd
+0, 2, 2, 1, 38016, 0x42ecede9
+0, 3, 3, 1, 38016, 0xfcd6aec1
+0, 4, 4, 1, 38016, 0xb3ffa014
+0, 5, 5, 1, 38016, 0xc65383e3
+0, 6, 6, 1, 38016, 0xa8494fb1
+0, 7, 7, 1, 38016, 0x7fb14e0f
+0, 8, 8, 1, 38016, 0x7dd3462a
+0, 9, 9, 1, 38016, 0x4bd43dda
+0, 10, 10, 1, 38016, 0x717e736f
+0, 11, 11, 1, 38016, 0x2a9b8e47
+0, 12, 12, 1, 38016, 0x1bc272be
+0, 13, 13, 1, 38016, 0x0127afb5
+0, 14, 14, 1, 38016, 0xfd7aacda
+0, 15, 15, 1, 38016, 0xd41c9cf7
+0, 16, 16, 1, 38016, 0xd205b1ee
+0, 17, 17, 1, 38016, 0x967ca895
+0, 18, 18, 1, 38016, 0x25978063
+0, 19, 19, 1, 38016, 0x632081b3
+0, 20, 20, 1, 38016, 0x8ccf5f0b
+0, 21, 21, 1, 38016, 0x21cc2141
+0, 22, 22, 1, 38016, 0x477d2543
+0, 23, 23, 1, 38016, 0xff971bb8
+0, 24, 24, 1, 38016, 0x0dc21005
+0, 25, 25, 1, 38016, 0xc69c2d90
+0, 26, 26, 1, 38016, 0xd7922b5d
+0, 27, 27, 1, 38016, 0x59a3278f
+0, 28, 28, 1, 38016, 0x83c55d4d
+0, 29, 29, 1, 38016, 0xaac96f23
+0, 30, 30, 1, 38016, 0xed9563d3
+0, 31, 31, 1, 38016, 0xf86b9ef4
+0, 32, 32, 1, 38016, 0xe616b81c
+0, 33, 33, 1, 38016, 0xde60a57b
+0, 34, 34, 1, 38016, 0x5fe8d130
+0, 35, 35, 1, 38016, 0x11decaca
+0, 36, 36, 1, 38016, 0x526fa8e2
+0, 37, 37, 1, 38016, 0xc5e7ccfb
+0, 38, 38, 1, 38016, 0x10e1c588
+0, 39, 39, 1, 38016, 0x78aeb05b
+0, 40, 40, 1, 38016, 0xff85c717
+0, 41, 41, 1, 38016, 0x3f02c1b2
+0, 42, 42, 1, 38016, 0xf45eb015
+0, 43, 43, 1, 38016, 0x0211b84d
+0, 44, 44, 1, 38016, 0x3864ba1f
+0, 45, 45, 1, 38016, 0xe3728780
+0, 46, 46, 1, 38016, 0x575da8b5
+0, 47, 47, 1, 38016, 0xc841ad98
+0, 48, 48, 1, 38016, 0xe69ea78f
+0, 49, 49, 1, 38016, 0x45cabf16
+0, 50, 50, 1, 38016, 0x0e00b8eb
+0, 51, 51, 1, 38016, 0xa774a808
+0, 52, 52, 1, 38016, 0xfb1bbc2b
+0, 53, 53, 1, 38016, 0xcfb4b41d
+0, 54, 54, 1, 38016, 0x66abaff8
+0, 55, 55, 1, 38016, 0xc39ac9a9
+0, 56, 56, 1, 38016, 0xbec0cc9a
+0, 57, 57, 1, 38016, 0xf393c7fc
+0, 58, 58, 1, 38016, 0xedb5d4ef
+0, 59, 59, 1, 38016, 0x4b0fd4fe
+0, 60, 60, 1, 38016, 0x98a59a5a
+0, 61, 61, 1, 38016, 0x0a69a4f3
+0, 62, 62, 1, 38016, 0x72bc89ce
+0, 63, 63, 1, 38016, 0xfe8538b6
+0, 64, 64, 1, 38016, 0xc8a158a3
+0, 65, 65, 1, 38016, 0x1cb57fcd
+0, 66, 66, 1, 38016, 0x76c29215
+0, 67, 67, 1, 38016, 0xdb36ec21
+0, 68, 68, 1, 38016, 0xc2e22427
+0, 69, 69, 1, 38016, 0xafb433cd
+0, 70, 70, 1, 38016, 0x4d736e28
+0, 71, 71, 1, 38016, 0xc6ab9949
+0, 72, 72, 1, 38016, 0xaa9bb9e6
+0, 73, 73, 1, 38016, 0x0d41f894
+0, 74, 74, 1, 38016, 0x603332b0
+0, 75, 75, 1, 38016, 0x4c0b3afa
+0, 76, 76, 1, 38016, 0x8fd3845e
+0, 77, 77, 1, 38016, 0x8cf09ae3
+0, 78, 78, 1, 38016, 0x1e02adfb
+0, 79, 79, 1, 38016, 0x3c9ac38e
+0, 80, 80, 1, 38016, 0xb5fdd2d9
+0, 81, 81, 1, 38016, 0x82c5dd7f
+0, 82, 82, 1, 38016, 0x4b6ee80a
+0, 83, 83, 1, 38016, 0xaeaee46f
+0, 84, 84, 1, 38016, 0x390ed382
+0, 85, 85, 1, 38016, 0xedbfde44
+0, 86, 86, 1, 38016, 0xabf6eba0
+0, 87, 87, 1, 38016, 0x5bf5efd0
+0, 88, 88, 1, 38016, 0x9a88ebe3
+0, 89, 89, 1, 38016, 0x2af7ec3b
+0, 90, 90, 1, 38016, 0x8fa69f07
+0, 91, 91, 1, 38016, 0xff8fb3b5
+0, 92, 92, 1, 38016, 0xd06fa3c1
+0, 93, 93, 1, 38016, 0xe5a97d39
+0, 94, 94, 1, 38016, 0x961e7c6f
+0, 95, 95, 1, 38016, 0x18b278af
+0, 96, 96, 1, 38016, 0x9a0d73d2
+0, 97, 97, 1, 38016, 0x378f9d74
+0, 98, 98, 1, 38016, 0x42e5a7a3
+0, 99, 99, 1, 38016, 0x4595a78e
+0, 100, 100, 1, 38016, 0x6c09c035
+0, 101, 101, 1, 38016, 0xec58ab98
+0, 102, 102, 1, 38016, 0x1b4b8d2b
+0, 103, 103, 1, 38016, 0xf5199117
+0, 104, 104, 1, 38016, 0xcd31af4d
+0, 105, 105, 1, 38016, 0xf294a253
+0, 106, 106, 1, 38016, 0x360dde6b
+0, 107, 107, 1, 38016, 0x101cf70c
+0, 108, 108, 1, 38016, 0x4b34ff17
+0, 109, 109, 1, 38016, 0x520639c0
+0, 110, 110, 1, 38016, 0x901840a9
+0, 111, 111, 1, 38016, 0x4cb03284
+0, 112, 112, 1, 38016, 0x6929470c
+0, 113, 113, 1, 38016, 0x21282bdf
+0, 114, 114, 1, 38016, 0xee8df0ec
+0, 115, 115, 1, 38016, 0x24970e16
+0, 116, 116, 1, 38016, 0x280118e3
+0, 117, 117, 1, 38016, 0x00a10b64
+0, 118, 118, 1, 38016, 0xb0673f83
+0, 119, 119, 1, 38016, 0x838644de
+0, 120, 120, 1, 38016, 0x32e93592
+0, 121, 121, 1, 38016, 0xedfc477a
+0, 122, 122, 1, 38016, 0x41062501
+0, 123, 123, 1, 38016, 0xf218ebf2
+0, 124, 124, 1, 38016, 0x3430dc73
+0, 125, 125, 1, 38016, 0xb2fab8f0
+0, 126, 126, 1, 38016, 0x11b19bab
+0, 127, 127, 1, 38016, 0x8e30b8e7
+0, 128, 128, 1, 38016, 0xc8b9c646
+0, 129, 129, 1, 38016, 0xc902d559
+0, 130, 130, 1, 38016, 0x3a24ec30
+0, 131, 131, 1, 38016, 0x744de424
+0, 132, 132, 1, 38016, 0xc40cd059
+0, 133, 133, 1, 38016, 0xd98dd9ec
+0, 134, 134, 1, 38016, 0x9719d698
+0, 135, 135, 1, 38016, 0x1612a173
+0, 136, 136, 1, 38016, 0xc044b9f1
+0, 137, 137, 1, 38016, 0xc433af2f
+0, 138, 138, 1, 38016, 0x559891e3
+0, 139, 139, 1, 38016, 0x969e9a33
+0, 140, 140, 1, 38016, 0x8a6a8e77
+0, 141, 141, 1, 38016, 0x9d7b76bf
+0, 142, 142, 1, 38016, 0x3725711a
+0, 143, 143, 1, 38016, 0x5b316bd0
+0, 144, 144, 1, 38016, 0x4c616abd
+0, 145, 145, 1, 38016, 0x43637e2b
+0, 146, 146, 1, 38016, 0xd9e36c4c
+0, 147, 147, 1, 38016, 0x823d3596
+0, 148, 148, 1, 38016, 0x57361a59
+0, 149, 149, 1, 38016, 0x4a91f007
+0, 150, 150, 1, 38016, 0xf731aef2
+0, 151, 151, 1, 38016, 0x8ed2c618
+0, 152, 152, 1, 38016, 0x6f1cc918
+0, 153, 153, 1, 38016, 0x2a8ba336
+0, 154, 154, 1, 38016, 0x8159b595
+0, 155, 155, 1, 38016, 0x07cfced9
+0, 156, 156, 1, 38016, 0x8804c878
+0, 157, 157, 1, 38016, 0x624e0656
+0, 158, 158, 1, 38016, 0x8628302b
+0, 159, 159, 1, 38016, 0xd155461e
+0, 160, 160, 1, 38016, 0x3c1c647c
+0, 161, 161, 1, 38016, 0x8a485727
+0, 162, 162, 1, 38016, 0x144934f7
+0, 163, 163, 1, 38016, 0x43183494
+0, 164, 164, 1, 38016, 0x20fd2ef2
+0, 165, 165, 1, 38016, 0xc31bf5da
+0, 166, 166, 1, 38016, 0x4c70f0f2
+0, 167, 167, 1, 38016, 0xba1bcbcc
+0, 168, 168, 1, 38016, 0x11039c6c
+0, 169, 169, 1, 38016, 0x67c59b61
+0, 170, 170, 1, 38016, 0xdc0aa2ba
+0, 171, 171, 1, 38016, 0x1e2dbec9
+0, 172, 172, 1, 38016, 0xacacdc6c
+0, 173, 173, 1, 38016, 0x2049defe
+0, 174, 174, 1, 38016, 0x7488cc3e
+0, 175, 175, 1, 38016, 0x14bca829
+0, 176, 176, 1, 38016, 0xc19c76ee
+0, 177, 177, 1, 38016, 0xeca33612
+0, 178, 178, 1, 38016, 0x93b027a5
+0, 179, 179, 1, 38016, 0x82ae1e62
+0, 180, 180, 1, 38016, 0x0769ec52
+0, 181, 181, 1, 38016, 0x7cdee8dd
+0, 182, 182, 1, 38016, 0x7d22d43d
+0, 183, 183, 1, 38016, 0x65d8cd49
+0, 184, 184, 1, 38016, 0xa7d2ede4
+0, 185, 185, 1, 38016, 0x6bd2ffa1
+0, 186, 186, 1, 38016, 0xb4db0734
+0, 187, 187, 1, 38016, 0x69cb35ac
+0, 188, 188, 1, 38016, 0x05e52e88
+0, 189, 189, 1, 38016, 0x4dc92a43
+0, 190, 190, 1, 38016, 0x8ca0e858
+0, 191, 191, 1, 38016, 0x74fbae53
+0, 192, 192, 1, 38016, 0x19f0aa17
+0, 193, 193, 1, 38016, 0x04c9dc83
+0, 194, 194, 1, 38016, 0x0a8ff4b9
+0, 195, 195, 1, 38016, 0xd8d01ad1
+0, 196, 196, 1, 38016, 0xa41b5100
+0, 197, 197, 1, 38016, 0xfaf96547
+0, 198, 198, 1, 38016, 0xadab8265
+0, 199, 199, 1, 38016, 0x6e12a9c3
+0, 200, 200, 1, 38016, 0x1de7b7d1
+0, 201, 201, 1, 38016, 0x2279bc4a
+0, 202, 202, 1, 38016, 0x4f62ca0f
+0, 203, 203, 1, 38016, 0xfaf2cc43
+0, 204, 204, 1, 38016, 0xbf68c7df
+0, 205, 205, 1, 38016, 0xb927d1ea
+0, 206, 206, 1, 38016, 0x8b93d7c6
+0, 207, 207, 1, 38016, 0x13f3d7d6
+0, 208, 208, 1, 38016, 0x9ee4cc7b
+0, 209, 209, 1, 38016, 0x16deb1a0
+0, 210, 210, 1, 38016, 0xadb65d17
+0, 211, 211, 1, 38016, 0x0b9e7542
+0, 212, 212, 1, 38016, 0x05777490
+0, 213, 213, 1, 38016, 0x6805549f
+0, 214, 214, 1, 38016, 0xe3246225
+0, 215, 215, 1, 38016, 0x4003551b
+0, 216, 216, 1, 38016, 0x1e083a01
+0, 217, 217, 1, 38016, 0x756e4f22
+0, 218, 218, 1, 38016, 0xf2f24967
+0, 219, 219, 1, 38016, 0x680d37f2
+0, 220, 220, 1, 38016, 0x85b34185
+0, 221, 221, 1, 38016, 0xefa32eeb
+0, 222, 222, 1, 38016, 0xca791448
+0, 223, 223, 1, 38016, 0x7c6b2b13
+0, 224, 224, 1, 38016, 0x0d8232a6
+0, 225, 225, 1, 38016, 0x92b51315
+0, 226, 226, 1, 38016, 0xcfde349c
+0, 227, 227, 1, 38016, 0xdc1a488b
+0, 228, 228, 1, 38016, 0xdcf94106
+0, 229, 229, 1, 38016, 0xc205829b
+0, 230, 230, 1, 38016, 0x0aff9da3
+0, 231, 231, 1, 38016, 0x3295b04e
+0, 232, 232, 1, 38016, 0xc42dfaab
+0, 233, 233, 1, 38016, 0x799e14a2
+0, 234, 234, 1, 38016, 0xf658150c
+0, 235, 235, 1, 38016, 0x4c8751fe
+0, 236, 236, 1, 38016, 0xe57d58ed
+0, 237, 237, 1, 38016, 0x28f83c49
+0, 238, 238, 1, 38016, 0x9760453c
+0, 239, 239, 1, 38016, 0x1d550fcf
+0, 240, 240, 1, 38016, 0x99cee4bd
+0, 241, 241, 1, 38016, 0x743ad122
+0, 242, 242, 1, 38016, 0xb533ab7c
+0, 243, 243, 1, 38016, 0x5ca5fc65
+0, 244, 244, 1, 38016, 0x491c7076
+0, 245, 245, 1, 38016, 0x8a96d9e5
+0, 246, 246, 1, 38016, 0x23c3f207
+0, 247, 247, 1, 38016, 0x3181d62d
+0, 248, 248, 1, 38016, 0xc72e9636
+0, 249, 249, 1, 38016, 0xe0c31ae9
+0, 250, 250, 1, 38016, 0x2f91c0ce
+0, 251, 251, 1, 38016, 0x17937763
+0, 252, 252, 1, 38016, 0x61986c20
+0, 253, 253, 1, 38016, 0x6adeca83
+0, 254, 254, 1, 38016, 0x894a376b
+0, 255, 255, 1, 38016, 0xe952c9bd
+0, 256, 256, 1, 38016, 0x0418d8e9
+0, 257, 257, 1, 38016, 0x30de606e
+0, 258, 258, 1, 38016, 0xd15e3116
+0, 259, 259, 1, 38016, 0xee0446ac
+0, 260, 260, 1, 38016, 0x34ee44f7
+0, 261, 261, 1, 38016, 0x825745d4
+0, 262, 262, 1, 38016, 0xb8046176
+0, 263, 263, 1, 38016, 0xa812588a
+0, 264, 264, 1, 38016, 0xed754b26
+0, 265, 265, 1, 38016, 0xa39c51cd
+0, 266, 266, 1, 38016, 0x315b38d5
+0, 267, 267, 1, 38016, 0x12550e05
+0, 268, 268, 1, 38016, 0xbda6fd9a
+0, 269, 269, 1, 38016, 0xd10bd86c
+0, 270, 270, 1, 38016, 0x6faca613
+0, 271, 271, 1, 38016, 0x6268848a
+0, 272, 272, 1, 38016, 0x2b8367e6
+0, 273, 273, 1, 38016, 0xdb6806fd
+0, 274, 274, 1, 38016, 0x4f58d418
+0, 275, 275, 1, 38016, 0x59beb628
+0, 276, 276, 1, 38016, 0x8017aae2
+0, 277, 277, 1, 38016, 0xb26ad1b3
+0, 278, 278, 1, 38016, 0xa058f3a3
+0, 279, 279, 1, 38016, 0x4fee4ac2
+0, 280, 280, 1, 38016, 0x5dd20ae9
+0, 281, 281, 1, 38016, 0x6365dbda
+0, 282, 282, 1, 38016, 0x25b47f80
+0, 283, 283, 1, 38016, 0x468b8ecb
+0, 284, 284, 1, 38016, 0x0b0760f9
+0, 285, 285, 1, 38016, 0x2d41a44b
+0, 286, 286, 1, 38016, 0x4bb47357
+0, 287, 287, 1, 38016, 0x2c0ca74c
+0, 288, 288, 1, 38016, 0x6484a271
+0, 289, 289, 1, 38016, 0xa55871df
+0, 290, 290, 1, 38016, 0xa617ecd8
+0, 291, 291, 1, 38016, 0xf7231cc5
+0, 292, 292, 1, 38016, 0x15dba20b
+0, 293, 293, 1, 38016, 0x56a7d8c7
+0, 294, 294, 1, 38016, 0x5e78382b
+0, 295, 295, 1, 38016, 0x8edf243b
+0, 296, 296, 1, 38016, 0x571effaf
+0, 297, 297, 1, 38016, 0x274302d2
+0, 298, 298, 1, 38016, 0xc950203d
+0, 299, 299, 1, 38016, 0x4a744324
diff --git a/tests/ref/fate/h264-conformance-caba3_sva_b b/tests/ref/fate/h264-conformance-caba3_sva_b
index 449fb75442..7bdb3f8636 100644
--- a/tests/ref/fate/h264-conformance-caba3_sva_b
+++ b/tests/ref/fate/h264-conformance-caba3_sva_b
@@ -1,33 +1,34 @@
-0, 0, 38016, 0x0e091175
-0, 3600, 38016, 0xe8f81506
-0, 7200, 38016, 0xf706f5cd
-0, 10800, 38016, 0x9aeb21b1
-0, 14400, 38016, 0xdc533379
-0, 18000, 38016, 0xd26d534b
-0, 21600, 38016, 0xdcb25dc5
-0, 25200, 38016, 0x1b258cc2
-0, 28800, 38016, 0xdfb58ff8
-0, 32400, 38016, 0x143abf85
-0, 36000, 38016, 0xace399ea
-0, 39600, 38016, 0x1ad6bb8e
-0, 43200, 38016, 0xf01d9b78
-0, 46800, 38016, 0x5a0c99ed
-0, 50400, 38016, 0x9d4e684c
-0, 54000, 38016, 0xca3d811f
-0, 57600, 38016, 0x388c7bc4
-0, 61200, 38016, 0x36329ae0
-0, 64800, 38016, 0x7ca686ac
-0, 68400, 38016, 0x9d7ababf
-0, 72000, 38016, 0x563eaf2a
-0, 75600, 38016, 0xce22a4be
-0, 79200, 38016, 0xb7cb719a
-0, 82800, 38016, 0x7b706edf
-0, 86400, 38016, 0x009a30b5
-0, 90000, 38016, 0xf1fe3fbc
-0, 93600, 38016, 0x7f732436
-0, 97200, 38016, 0x055147ec
-0, 100800, 38016, 0x1670494c
-0, 104400, 38016, 0xfede7bab
-0, 108000, 38016, 0xa3b660d8
-0, 111600, 38016, 0x33db7209
-0, 115200, 38016, 0xb7b25559
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x0e091175
+0, 1, 1, 1, 38016, 0xe8f81506
+0, 2, 2, 1, 38016, 0xf706f5cd
+0, 3, 3, 1, 38016, 0x9aeb21b1
+0, 4, 4, 1, 38016, 0xdc533379
+0, 5, 5, 1, 38016, 0xd26d534b
+0, 6, 6, 1, 38016, 0xdcb25dc5
+0, 7, 7, 1, 38016, 0x1b258cc2
+0, 8, 8, 1, 38016, 0xdfb58ff8
+0, 9, 9, 1, 38016, 0x143abf85
+0, 10, 10, 1, 38016, 0xace399ea
+0, 11, 11, 1, 38016, 0x1ad6bb8e
+0, 12, 12, 1, 38016, 0xf01d9b78
+0, 13, 13, 1, 38016, 0x5a0c99ed
+0, 14, 14, 1, 38016, 0x9d4e684c
+0, 15, 15, 1, 38016, 0xca3d811f
+0, 16, 16, 1, 38016, 0x388c7bc4
+0, 17, 17, 1, 38016, 0x36329ae0
+0, 18, 18, 1, 38016, 0x7ca686ac
+0, 19, 19, 1, 38016, 0x9d7ababf
+0, 20, 20, 1, 38016, 0x563eaf2a
+0, 21, 21, 1, 38016, 0xce22a4be
+0, 22, 22, 1, 38016, 0xb7cb719a
+0, 23, 23, 1, 38016, 0x7b706edf
+0, 24, 24, 1, 38016, 0x009a30b5
+0, 25, 25, 1, 38016, 0xf1fe3fbc
+0, 26, 26, 1, 38016, 0x7f732436
+0, 27, 27, 1, 38016, 0x055147ec
+0, 28, 28, 1, 38016, 0x1670494c
+0, 29, 29, 1, 38016, 0xfede7bab
+0, 30, 30, 1, 38016, 0xa3b660d8
+0, 31, 31, 1, 38016, 0x33db7209
+0, 32, 32, 1, 38016, 0xb7b25559
diff --git a/tests/ref/fate/h264-conformance-caba3_toshiba_e b/tests/ref/fate/h264-conformance-caba3_toshiba_e
index e874659167..b31efe1564 100644
--- a/tests/ref/fate/h264-conformance-caba3_toshiba_e
+++ b/tests/ref/fate/h264-conformance-caba3_toshiba_e
@@ -1,300 +1,301 @@
-0, 0, 38016, 0x72723ce4
-0, 3600, 38016, 0x347219d7
-0, 7200, 38016, 0x813ff182
-0, 10800, 38016, 0x4e69d41a
-0, 14400, 38016, 0x5e56acb6
-0, 18000, 38016, 0xe72197e5
-0, 21600, 38016, 0xd035807a
-0, 25200, 38016, 0x9ee57559
-0, 28800, 38016, 0xd0f56f28
-0, 32400, 38016, 0xa5097788
-0, 36000, 38016, 0xf108978d
-0, 39600, 38016, 0xf76cb475
-0, 43200, 38016, 0x0184cc3a
-0, 46800, 38016, 0xa4b5dc15
-0, 50400, 38016, 0x209cdc42
-0, 54000, 38016, 0xd9e69a8c
-0, 57600, 38016, 0xa2c3a9ba
-0, 61200, 38016, 0xdf84a52e
-0, 64800, 38016, 0xfe48a7f0
-0, 68400, 38016, 0xb0279a19
-0, 72000, 38016, 0xf3b48652
-0, 75600, 38016, 0xc12b61b5
-0, 79200, 38016, 0x13065a22
-0, 82800, 38016, 0x804853d4
-0, 86400, 38016, 0x40935736
-0, 90000, 38016, 0x1a135ecb
-0, 93600, 38016, 0x125f6116
-0, 97200, 38016, 0x53286da3
-0, 100800, 38016, 0xd49287ac
-0, 104400, 38016, 0xc70a9c2c
-0, 108000, 38016, 0x0c0c6998
-0, 111600, 38016, 0xf37d9141
-0, 115200, 38016, 0xd36eafa2
-0, 118800, 38016, 0x0d1fc298
-0, 122400, 38016, 0xf84ad5d9
-0, 126000, 38016, 0xc1e8d93d
-0, 129600, 38016, 0xe190dabd
-0, 133200, 38016, 0x9542db28
-0, 136800, 38016, 0xa67edc7f
-0, 140400, 38016, 0x65efdfa7
-0, 144000, 38016, 0x7039e6c6
-0, 147600, 38016, 0x8307ee87
-0, 151200, 38016, 0x1f83ec00
-0, 154800, 38016, 0x9e33ea6e
-0, 158400, 38016, 0xb53ef238
-0, 162000, 38016, 0x6d04930c
-0, 165600, 38016, 0xed90a50e
-0, 169200, 38016, 0xd98cb4a6
-0, 172800, 38016, 0xa7f5bd5e
-0, 176400, 38016, 0x4df9ca95
-0, 180000, 38016, 0xc8e7cb40
-0, 183600, 38016, 0x93d9d23c
-0, 187200, 38016, 0xc07fd34f
-0, 190800, 38016, 0xf7c5d645
-0, 194400, 38016, 0x3c1ddf53
-0, 198000, 38016, 0x0bafe394
-0, 201600, 38016, 0x9179ec6f
-0, 205200, 38016, 0x3483efc3
-0, 208800, 38016, 0xf7ccf70d
-0, 212400, 38016, 0x289ef13b
-0, 216000, 38016, 0xb00c99dc
-0, 219600, 38016, 0x59409b34
-0, 223200, 38016, 0x3fc079a2
-0, 226800, 38016, 0x90ad49d9
-0, 230400, 38016, 0x8e7751e2
-0, 234000, 38016, 0xed20743d
-0, 237600, 38016, 0x66a1a470
-0, 241200, 38016, 0x7a77e252
-0, 244800, 38016, 0x6bb427fe
-0, 248400, 38016, 0x87126360
-0, 252000, 38016, 0x330789d0
-0, 255600, 38016, 0xc298b987
-0, 259200, 38016, 0x4959f143
-0, 262800, 38016, 0xa66e3082
-0, 266400, 38016, 0xb9f67824
-0, 270000, 38016, 0x27fe46a2
-0, 273600, 38016, 0xc50c87ed
-0, 277200, 38016, 0x9523a9f6
-0, 280800, 38016, 0xbe28d1d7
-0, 284400, 38016, 0x3c0ee964
-0, 288000, 38016, 0x65c7f36c
-0, 291600, 38016, 0xe5030946
-0, 295200, 38016, 0x4bbb11fa
-0, 298800, 38016, 0xeaf209ed
-0, 302400, 38016, 0x96c80987
-0, 306000, 38016, 0x69820c58
-0, 309600, 38016, 0x5f951aa7
-0, 313200, 38016, 0xfe6122d9
-0, 316800, 38016, 0xa202301a
-0, 320400, 38016, 0xdd2628fb
-0, 324000, 38016, 0xe081a5ff
-0, 327600, 38016, 0x5b858e9e
-0, 331200, 38016, 0x7a368229
-0, 334800, 38016, 0x3791829a
-0, 338400, 38016, 0x9c68723d
-0, 342000, 38016, 0xef26778e
-0, 345600, 38016, 0x39a491cf
-0, 349200, 38016, 0x776ea867
-0, 352800, 38016, 0xda9ac03b
-0, 356400, 38016, 0x653bc9a3
-0, 360000, 38016, 0x79e1da19
-0, 363600, 38016, 0x3b98c6eb
-0, 367200, 38016, 0x42cdb846
-0, 370800, 38016, 0x7872ada1
-0, 374400, 38016, 0xb2f6d2ef
-0, 378000, 38016, 0x9468b16a
-0, 381600, 38016, 0xe793c91a
-0, 385200, 38016, 0x80bde366
-0, 388800, 38016, 0xa7250446
-0, 392400, 38016, 0x7039280b
-0, 396000, 38016, 0x1665350c
-0, 399600, 38016, 0xb5c93f1f
-0, 403200, 38016, 0xf77a4c44
-0, 406800, 38016, 0x3a093143
-0, 410400, 38016, 0x1d6b1005
-0, 414000, 38016, 0xe1a10c01
-0, 417600, 38016, 0x2d4d1d54
-0, 421200, 38016, 0x902f2b14
-0, 424800, 38016, 0xb26e3e73
-0, 428400, 38016, 0xed7a469e
-0, 432000, 38016, 0xbc663d2a
-0, 435600, 38016, 0x60a5488e
-0, 439200, 38016, 0x451b31ca
-0, 442800, 38016, 0x54311166
-0, 446400, 38016, 0x57d9f31e
-0, 450000, 38016, 0x567dd693
-0, 453600, 38016, 0x0e58d88c
-0, 457200, 38016, 0xa555e124
-0, 460800, 38016, 0x94e2f835
-0, 464400, 38016, 0xe49e0ec0
-0, 468000, 38016, 0x585d188e
-0, 471600, 38016, 0x696e1a0d
-0, 475200, 38016, 0xac9014b1
-0, 478800, 38016, 0x915413c6
-0, 482400, 38016, 0x5fa30be7
-0, 486000, 38016, 0x8fbfb69c
-0, 489600, 38016, 0xcaeabfab
-0, 493200, 38016, 0xe494bf5c
-0, 496800, 38016, 0xae03be55
-0, 500400, 38016, 0xb734b4d3
-0, 504000, 38016, 0xdc6fb56f
-0, 507600, 38016, 0xfea0a853
-0, 511200, 38016, 0xb4919381
-0, 514800, 38016, 0x13a792fe
-0, 518400, 38016, 0xc8829fd8
-0, 522000, 38016, 0x2113a62b
-0, 525600, 38016, 0x171f98d2
-0, 529200, 38016, 0x1a6d6d17
-0, 532800, 38016, 0xd4ab41c3
-0, 536400, 38016, 0xd2df1c80
-0, 540000, 38016, 0x14cdbb35
-0, 543600, 38016, 0x2b74b829
-0, 547200, 38016, 0x6433bd55
-0, 550800, 38016, 0xd11dbc28
-0, 554400, 38016, 0x4981ad33
-0, 558000, 38016, 0xc38bbbad
-0, 561600, 38016, 0x048de367
-0, 565200, 38016, 0x6c9a0c5a
-0, 568800, 38016, 0x384c4255
-0, 572400, 38016, 0x3e9873ba
-0, 576000, 38016, 0xe4988671
-0, 579600, 38016, 0x05b4843c
-0, 583200, 38016, 0xed0a7e13
-0, 586800, 38016, 0x750c6f90
-0, 590400, 38016, 0x9d296035
-0, 594000, 38016, 0xbaa006bd
-0, 597600, 38016, 0x8289f8ae
-0, 601200, 38016, 0x3f3de147
-0, 604800, 38016, 0xc5debc49
-0, 608400, 38016, 0x1fe9bbfc
-0, 612000, 38016, 0x006cd4a9
-0, 615600, 38016, 0xe551f2b3
-0, 619200, 38016, 0xb370140e
-0, 622800, 38016, 0xc9441c24
-0, 626400, 38016, 0x7f5c01c5
-0, 630000, 38016, 0x352ad9f6
-0, 633600, 38016, 0xe0909a17
-0, 637200, 38016, 0x49bf5ea8
-0, 640800, 38016, 0x7f1d387b
-0, 644400, 38016, 0x30812233
-0, 648000, 38016, 0xb0bdf16f
-0, 651600, 38016, 0x5372d0e9
-0, 655200, 38016, 0xbf1bc91c
-0, 658800, 38016, 0xaef5d647
-0, 662400, 38016, 0xf007e86c
-0, 666000, 38016, 0x683bf72b
-0, 669600, 38016, 0xbb722114
-0, 673200, 38016, 0xc5864b63
-0, 676800, 38016, 0xfefd5cf4
-0, 680400, 38016, 0xa0f263d5
-0, 684000, 38016, 0x18401a02
-0, 687600, 38016, 0x55cdd97b
-0, 691200, 38016, 0x5a4ee22d
-0, 694800, 38016, 0xa60706b3
-0, 698400, 38016, 0x644422bb
-0, 702000, 38016, 0xc22421c9
-0, 705600, 38016, 0x1d6b54e4
-0, 709200, 38016, 0xc7627820
-0, 712800, 38016, 0x0a6ea609
-0, 716400, 38016, 0x4315c087
-0, 720000, 38016, 0x3164d978
-0, 723600, 38016, 0x08e3e7eb
-0, 727200, 38016, 0x4f04eaed
-0, 730800, 38016, 0x9f83eb5a
-0, 734400, 38016, 0xfbbcf0b2
-0, 738000, 38016, 0xee1efb8a
-0, 741600, 38016, 0x87710ba0
-0, 745200, 38016, 0xb96b05c1
-0, 748800, 38016, 0xd5a4fc50
-0, 752400, 38016, 0xad85ea19
-0, 756000, 38016, 0x5f606058
-0, 759600, 38016, 0xdaf55ad0
-0, 763200, 38016, 0xee8564d6
-0, 766800, 38016, 0xa1846cad
-0, 770400, 38016, 0xcd316a62
-0, 774000, 38016, 0xdcf5638f
-0, 777600, 38016, 0xc5e36d1d
-0, 781200, 38016, 0x958369a6
-0, 784800, 38016, 0x05826bf0
-0, 788400, 38016, 0x22146914
-0, 792000, 38016, 0xf5086111
-0, 795600, 38016, 0x88f35468
-0, 799200, 38016, 0x3ae94126
-0, 802800, 38016, 0xf4473aa8
-0, 806400, 38016, 0x430c3da2
-0, 810000, 38016, 0xaf95113e
-0, 813600, 38016, 0xa8a216d6
-0, 817200, 38016, 0xad2f328c
-0, 820800, 38016, 0xea724415
-0, 824400, 38016, 0x34016af4
-0, 828000, 38016, 0x4829a4cb
-0, 831600, 38016, 0x4b24bc67
-0, 835200, 38016, 0xb523f023
-0, 838800, 38016, 0x5c6d2305
-0, 842400, 38016, 0x39e63adc
-0, 846000, 38016, 0xf7c64a7c
-0, 849600, 38016, 0xd601680a
-0, 853200, 38016, 0xbbad6a12
-0, 856800, 38016, 0xddc1500f
-0, 860400, 38016, 0x1f1726e6
-0, 864000, 38016, 0x48aee68f
-0, 867600, 38016, 0xc1fbd4f0
-0, 871200, 38016, 0x4a89dc83
-0, 874800, 38016, 0xa7cd2b02
-0, 878400, 38016, 0xf52aa0b8
-0, 882000, 38016, 0x1f260626
-0, 885600, 38016, 0x80561eac
-0, 889200, 38016, 0x6687f8ef
-0, 892800, 38016, 0x986ab08f
-0, 896400, 38016, 0xb4923773
-0, 900000, 38016, 0x5cc2d603
-0, 903600, 38016, 0x9e8d93db
-0, 907200, 38016, 0x33fd8981
-0, 910800, 38016, 0xaf45e630
-0, 914400, 38016, 0x1227448e
-0, 918000, 38016, 0x424cccf0
-0, 921600, 38016, 0x03b0cb3e
-0, 925200, 38016, 0x7aad547d
-0, 928800, 38016, 0xbf8544b2
-0, 932400, 38016, 0x54a843ca
-0, 936000, 38016, 0x759d4dd0
-0, 939600, 38016, 0x000162da
-0, 943200, 38016, 0x87ec74b0
-0, 946800, 38016, 0xefee8259
-0, 950400, 38016, 0x7b547eea
-0, 954000, 38016, 0xcae96b73
-0, 957600, 38016, 0x730f59c3
-0, 961200, 38016, 0x7d9b3e82
-0, 964800, 38016, 0x3bb11ef0
-0, 968400, 38016, 0x7581fa6b
-0, 972000, 38016, 0xe594a982
-0, 975600, 38016, 0xde3888d6
-0, 979200, 38016, 0x0e096d6b
-0, 982800, 38016, 0x297c20dc
-0, 986400, 38016, 0x51f7ce7f
-0, 990000, 38016, 0x23d2c247
-0, 993600, 38016, 0x0bdcd0d0
-0, 997200, 38016, 0x63cfd4f3
-0, 1000800, 38016, 0x6d4b01f8
-0, 1004400, 38016, 0xa50d72f0
-0, 1008000, 38016, 0xccad0d72
-0, 1011600, 38016, 0x10c9e33e
-0, 1015200, 38016, 0xba6daf97
-0, 1018800, 38016, 0xd65074e0
-0, 1022400, 38016, 0xd36954aa
-0, 1026000, 38016, 0xd9a2a642
-0, 1029600, 38016, 0xce755f9f
-0, 1033200, 38016, 0x81d29c44
-0, 1036800, 38016, 0x23b0aef5
-0, 1040400, 38016, 0xb0ef9efa
-0, 1044000, 38016, 0xf20d4a7a
-0, 1047600, 38016, 0xa0c86899
-0, 1051200, 38016, 0x1ae4f865
-0, 1054800, 38016, 0x3a5731c8
-0, 1058400, 38016, 0x75f17ec5
-0, 1062000, 38016, 0x8f447aa9
-0, 1065600, 38016, 0x71615441
-0, 1069200, 38016, 0x90c13e26
-0, 1072800, 38016, 0x08d04aaf
-0, 1076400, 38016, 0x14fd7b04
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x72723ce4
+0, 1, 1, 1, 38016, 0x347219d7
+0, 2, 2, 1, 38016, 0x813ff182
+0, 3, 3, 1, 38016, 0x4e69d41a
+0, 4, 4, 1, 38016, 0x5e56acb6
+0, 5, 5, 1, 38016, 0xe72197e5
+0, 6, 6, 1, 38016, 0xd035807a
+0, 7, 7, 1, 38016, 0x9ee57559
+0, 8, 8, 1, 38016, 0xd0f56f28
+0, 9, 9, 1, 38016, 0xa5097788
+0, 10, 10, 1, 38016, 0xf108978d
+0, 11, 11, 1, 38016, 0xf76cb475
+0, 12, 12, 1, 38016, 0x0184cc3a
+0, 13, 13, 1, 38016, 0xa4b5dc15
+0, 14, 14, 1, 38016, 0x209cdc42
+0, 15, 15, 1, 38016, 0xd9e69a8c
+0, 16, 16, 1, 38016, 0xa2c3a9ba
+0, 17, 17, 1, 38016, 0xdf84a52e
+0, 18, 18, 1, 38016, 0xfe48a7f0
+0, 19, 19, 1, 38016, 0xb0279a19
+0, 20, 20, 1, 38016, 0xf3b48652
+0, 21, 21, 1, 38016, 0xc12b61b5
+0, 22, 22, 1, 38016, 0x13065a22
+0, 23, 23, 1, 38016, 0x804853d4
+0, 24, 24, 1, 38016, 0x40935736
+0, 25, 25, 1, 38016, 0x1a135ecb
+0, 26, 26, 1, 38016, 0x125f6116
+0, 27, 27, 1, 38016, 0x53286da3
+0, 28, 28, 1, 38016, 0xd49287ac
+0, 29, 29, 1, 38016, 0xc70a9c2c
+0, 30, 30, 1, 38016, 0x0c0c6998
+0, 31, 31, 1, 38016, 0xf37d9141
+0, 32, 32, 1, 38016, 0xd36eafa2
+0, 33, 33, 1, 38016, 0x0d1fc298
+0, 34, 34, 1, 38016, 0xf84ad5d9
+0, 35, 35, 1, 38016, 0xc1e8d93d
+0, 36, 36, 1, 38016, 0xe190dabd
+0, 37, 37, 1, 38016, 0x9542db28
+0, 38, 38, 1, 38016, 0xa67edc7f
+0, 39, 39, 1, 38016, 0x65efdfa7
+0, 40, 40, 1, 38016, 0x7039e6c6
+0, 41, 41, 1, 38016, 0x8307ee87
+0, 42, 42, 1, 38016, 0x1f83ec00
+0, 43, 43, 1, 38016, 0x9e33ea6e
+0, 44, 44, 1, 38016, 0xb53ef238
+0, 45, 45, 1, 38016, 0x6d04930c
+0, 46, 46, 1, 38016, 0xed90a50e
+0, 47, 47, 1, 38016, 0xd98cb4a6
+0, 48, 48, 1, 38016, 0xa7f5bd5e
+0, 49, 49, 1, 38016, 0x4df9ca95
+0, 50, 50, 1, 38016, 0xc8e7cb40
+0, 51, 51, 1, 38016, 0x93d9d23c
+0, 52, 52, 1, 38016, 0xc07fd34f
+0, 53, 53, 1, 38016, 0xf7c5d645
+0, 54, 54, 1, 38016, 0x3c1ddf53
+0, 55, 55, 1, 38016, 0x0bafe394
+0, 56, 56, 1, 38016, 0x9179ec6f
+0, 57, 57, 1, 38016, 0x3483efc3
+0, 58, 58, 1, 38016, 0xf7ccf70d
+0, 59, 59, 1, 38016, 0x289ef13b
+0, 60, 60, 1, 38016, 0xb00c99dc
+0, 61, 61, 1, 38016, 0x59409b34
+0, 62, 62, 1, 38016, 0x3fc079a2
+0, 63, 63, 1, 38016, 0x90ad49d9
+0, 64, 64, 1, 38016, 0x8e7751e2
+0, 65, 65, 1, 38016, 0xed20743d
+0, 66, 66, 1, 38016, 0x66a1a470
+0, 67, 67, 1, 38016, 0x7a77e252
+0, 68, 68, 1, 38016, 0x6bb427fe
+0, 69, 69, 1, 38016, 0x87126360
+0, 70, 70, 1, 38016, 0x330789d0
+0, 71, 71, 1, 38016, 0xc298b987
+0, 72, 72, 1, 38016, 0x4959f143
+0, 73, 73, 1, 38016, 0xa66e3082
+0, 74, 74, 1, 38016, 0xb9f67824
+0, 75, 75, 1, 38016, 0x27fe46a2
+0, 76, 76, 1, 38016, 0xc50c87ed
+0, 77, 77, 1, 38016, 0x9523a9f6
+0, 78, 78, 1, 38016, 0xbe28d1d7
+0, 79, 79, 1, 38016, 0x3c0ee964
+0, 80, 80, 1, 38016, 0x65c7f36c
+0, 81, 81, 1, 38016, 0xe5030946
+0, 82, 82, 1, 38016, 0x4bbb11fa
+0, 83, 83, 1, 38016, 0xeaf209ed
+0, 84, 84, 1, 38016, 0x96c80987
+0, 85, 85, 1, 38016, 0x69820c58
+0, 86, 86, 1, 38016, 0x5f951aa7
+0, 87, 87, 1, 38016, 0xfe6122d9
+0, 88, 88, 1, 38016, 0xa202301a
+0, 89, 89, 1, 38016, 0xdd2628fb
+0, 90, 90, 1, 38016, 0xe081a5ff
+0, 91, 91, 1, 38016, 0x5b858e9e
+0, 92, 92, 1, 38016, 0x7a368229
+0, 93, 93, 1, 38016, 0x3791829a
+0, 94, 94, 1, 38016, 0x9c68723d
+0, 95, 95, 1, 38016, 0xef26778e
+0, 96, 96, 1, 38016, 0x39a491cf
+0, 97, 97, 1, 38016, 0x776ea867
+0, 98, 98, 1, 38016, 0xda9ac03b
+0, 99, 99, 1, 38016, 0x653bc9a3
+0, 100, 100, 1, 38016, 0x79e1da19
+0, 101, 101, 1, 38016, 0x3b98c6eb
+0, 102, 102, 1, 38016, 0x42cdb846
+0, 103, 103, 1, 38016, 0x7872ada1
+0, 104, 104, 1, 38016, 0xb2f6d2ef
+0, 105, 105, 1, 38016, 0x9468b16a
+0, 106, 106, 1, 38016, 0xe793c91a
+0, 107, 107, 1, 38016, 0x80bde366
+0, 108, 108, 1, 38016, 0xa7250446
+0, 109, 109, 1, 38016, 0x7039280b
+0, 110, 110, 1, 38016, 0x1665350c
+0, 111, 111, 1, 38016, 0xb5c93f1f
+0, 112, 112, 1, 38016, 0xf77a4c44
+0, 113, 113, 1, 38016, 0x3a093143
+0, 114, 114, 1, 38016, 0x1d6b1005
+0, 115, 115, 1, 38016, 0xe1a10c01
+0, 116, 116, 1, 38016, 0x2d4d1d54
+0, 117, 117, 1, 38016, 0x902f2b14
+0, 118, 118, 1, 38016, 0xb26e3e73
+0, 119, 119, 1, 38016, 0xed7a469e
+0, 120, 120, 1, 38016, 0xbc663d2a
+0, 121, 121, 1, 38016, 0x60a5488e
+0, 122, 122, 1, 38016, 0x451b31ca
+0, 123, 123, 1, 38016, 0x54311166
+0, 124, 124, 1, 38016, 0x57d9f31e
+0, 125, 125, 1, 38016, 0x567dd693
+0, 126, 126, 1, 38016, 0x0e58d88c
+0, 127, 127, 1, 38016, 0xa555e124
+0, 128, 128, 1, 38016, 0x94e2f835
+0, 129, 129, 1, 38016, 0xe49e0ec0
+0, 130, 130, 1, 38016, 0x585d188e
+0, 131, 131, 1, 38016, 0x696e1a0d
+0, 132, 132, 1, 38016, 0xac9014b1
+0, 133, 133, 1, 38016, 0x915413c6
+0, 134, 134, 1, 38016, 0x5fa30be7
+0, 135, 135, 1, 38016, 0x8fbfb69c
+0, 136, 136, 1, 38016, 0xcaeabfab
+0, 137, 137, 1, 38016, 0xe494bf5c
+0, 138, 138, 1, 38016, 0xae03be55
+0, 139, 139, 1, 38016, 0xb734b4d3
+0, 140, 140, 1, 38016, 0xdc6fb56f
+0, 141, 141, 1, 38016, 0xfea0a853
+0, 142, 142, 1, 38016, 0xb4919381
+0, 143, 143, 1, 38016, 0x13a792fe
+0, 144, 144, 1, 38016, 0xc8829fd8
+0, 145, 145, 1, 38016, 0x2113a62b
+0, 146, 146, 1, 38016, 0x171f98d2
+0, 147, 147, 1, 38016, 0x1a6d6d17
+0, 148, 148, 1, 38016, 0xd4ab41c3
+0, 149, 149, 1, 38016, 0xd2df1c80
+0, 150, 150, 1, 38016, 0x14cdbb35
+0, 151, 151, 1, 38016, 0x2b74b829
+0, 152, 152, 1, 38016, 0x6433bd55
+0, 153, 153, 1, 38016, 0xd11dbc28
+0, 154, 154, 1, 38016, 0x4981ad33
+0, 155, 155, 1, 38016, 0xc38bbbad
+0, 156, 156, 1, 38016, 0x048de367
+0, 157, 157, 1, 38016, 0x6c9a0c5a
+0, 158, 158, 1, 38016, 0x384c4255
+0, 159, 159, 1, 38016, 0x3e9873ba
+0, 160, 160, 1, 38016, 0xe4988671
+0, 161, 161, 1, 38016, 0x05b4843c
+0, 162, 162, 1, 38016, 0xed0a7e13
+0, 163, 163, 1, 38016, 0x750c6f90
+0, 164, 164, 1, 38016, 0x9d296035
+0, 165, 165, 1, 38016, 0xbaa006bd
+0, 166, 166, 1, 38016, 0x8289f8ae
+0, 167, 167, 1, 38016, 0x3f3de147
+0, 168, 168, 1, 38016, 0xc5debc49
+0, 169, 169, 1, 38016, 0x1fe9bbfc
+0, 170, 170, 1, 38016, 0x006cd4a9
+0, 171, 171, 1, 38016, 0xe551f2b3
+0, 172, 172, 1, 38016, 0xb370140e
+0, 173, 173, 1, 38016, 0xc9441c24
+0, 174, 174, 1, 38016, 0x7f5c01c5
+0, 175, 175, 1, 38016, 0x352ad9f6
+0, 176, 176, 1, 38016, 0xe0909a17
+0, 177, 177, 1, 38016, 0x49bf5ea8
+0, 178, 178, 1, 38016, 0x7f1d387b
+0, 179, 179, 1, 38016, 0x30812233
+0, 180, 180, 1, 38016, 0xb0bdf16f
+0, 181, 181, 1, 38016, 0x5372d0e9
+0, 182, 182, 1, 38016, 0xbf1bc91c
+0, 183, 183, 1, 38016, 0xaef5d647
+0, 184, 184, 1, 38016, 0xf007e86c
+0, 185, 185, 1, 38016, 0x683bf72b
+0, 186, 186, 1, 38016, 0xbb722114
+0, 187, 187, 1, 38016, 0xc5864b63
+0, 188, 188, 1, 38016, 0xfefd5cf4
+0, 189, 189, 1, 38016, 0xa0f263d5
+0, 190, 190, 1, 38016, 0x18401a02
+0, 191, 191, 1, 38016, 0x55cdd97b
+0, 192, 192, 1, 38016, 0x5a4ee22d
+0, 193, 193, 1, 38016, 0xa60706b3
+0, 194, 194, 1, 38016, 0x644422bb
+0, 195, 195, 1, 38016, 0xc22421c9
+0, 196, 196, 1, 38016, 0x1d6b54e4
+0, 197, 197, 1, 38016, 0xc7627820
+0, 198, 198, 1, 38016, 0x0a6ea609
+0, 199, 199, 1, 38016, 0x4315c087
+0, 200, 200, 1, 38016, 0x3164d978
+0, 201, 201, 1, 38016, 0x08e3e7eb
+0, 202, 202, 1, 38016, 0x4f04eaed
+0, 203, 203, 1, 38016, 0x9f83eb5a
+0, 204, 204, 1, 38016, 0xfbbcf0b2
+0, 205, 205, 1, 38016, 0xee1efb8a
+0, 206, 206, 1, 38016, 0x87710ba0
+0, 207, 207, 1, 38016, 0xb96b05c1
+0, 208, 208, 1, 38016, 0xd5a4fc50
+0, 209, 209, 1, 38016, 0xad85ea19
+0, 210, 210, 1, 38016, 0x5f606058
+0, 211, 211, 1, 38016, 0xdaf55ad0
+0, 212, 212, 1, 38016, 0xee8564d6
+0, 213, 213, 1, 38016, 0xa1846cad
+0, 214, 214, 1, 38016, 0xcd316a62
+0, 215, 215, 1, 38016, 0xdcf5638f
+0, 216, 216, 1, 38016, 0xc5e36d1d
+0, 217, 217, 1, 38016, 0x958369a6
+0, 218, 218, 1, 38016, 0x05826bf0
+0, 219, 219, 1, 38016, 0x22146914
+0, 220, 220, 1, 38016, 0xf5086111
+0, 221, 221, 1, 38016, 0x88f35468
+0, 222, 222, 1, 38016, 0x3ae94126
+0, 223, 223, 1, 38016, 0xf4473aa8
+0, 224, 224, 1, 38016, 0x430c3da2
+0, 225, 225, 1, 38016, 0xaf95113e
+0, 226, 226, 1, 38016, 0xa8a216d6
+0, 227, 227, 1, 38016, 0xad2f328c
+0, 228, 228, 1, 38016, 0xea724415
+0, 229, 229, 1, 38016, 0x34016af4
+0, 230, 230, 1, 38016, 0x4829a4cb
+0, 231, 231, 1, 38016, 0x4b24bc67
+0, 232, 232, 1, 38016, 0xb523f023
+0, 233, 233, 1, 38016, 0x5c6d2305
+0, 234, 234, 1, 38016, 0x39e63adc
+0, 235, 235, 1, 38016, 0xf7c64a7c
+0, 236, 236, 1, 38016, 0xd601680a
+0, 237, 237, 1, 38016, 0xbbad6a12
+0, 238, 238, 1, 38016, 0xddc1500f
+0, 239, 239, 1, 38016, 0x1f1726e6
+0, 240, 240, 1, 38016, 0x48aee68f
+0, 241, 241, 1, 38016, 0xc1fbd4f0
+0, 242, 242, 1, 38016, 0x4a89dc83
+0, 243, 243, 1, 38016, 0xa7cd2b02
+0, 244, 244, 1, 38016, 0xf52aa0b8
+0, 245, 245, 1, 38016, 0x1f260626
+0, 246, 246, 1, 38016, 0x80561eac
+0, 247, 247, 1, 38016, 0x6687f8ef
+0, 248, 248, 1, 38016, 0x986ab08f
+0, 249, 249, 1, 38016, 0xb4923773
+0, 250, 250, 1, 38016, 0x5cc2d603
+0, 251, 251, 1, 38016, 0x9e8d93db
+0, 252, 252, 1, 38016, 0x33fd8981
+0, 253, 253, 1, 38016, 0xaf45e630
+0, 254, 254, 1, 38016, 0x1227448e
+0, 255, 255, 1, 38016, 0x424cccf0
+0, 256, 256, 1, 38016, 0x03b0cb3e
+0, 257, 257, 1, 38016, 0x7aad547d
+0, 258, 258, 1, 38016, 0xbf8544b2
+0, 259, 259, 1, 38016, 0x54a843ca
+0, 260, 260, 1, 38016, 0x759d4dd0
+0, 261, 261, 1, 38016, 0x000162da
+0, 262, 262, 1, 38016, 0x87ec74b0
+0, 263, 263, 1, 38016, 0xefee8259
+0, 264, 264, 1, 38016, 0x7b547eea
+0, 265, 265, 1, 38016, 0xcae96b73
+0, 266, 266, 1, 38016, 0x730f59c3
+0, 267, 267, 1, 38016, 0x7d9b3e82
+0, 268, 268, 1, 38016, 0x3bb11ef0
+0, 269, 269, 1, 38016, 0x7581fa6b
+0, 270, 270, 1, 38016, 0xe594a982
+0, 271, 271, 1, 38016, 0xde3888d6
+0, 272, 272, 1, 38016, 0x0e096d6b
+0, 273, 273, 1, 38016, 0x297c20dc
+0, 274, 274, 1, 38016, 0x51f7ce7f
+0, 275, 275, 1, 38016, 0x23d2c247
+0, 276, 276, 1, 38016, 0x0bdcd0d0
+0, 277, 277, 1, 38016, 0x63cfd4f3
+0, 278, 278, 1, 38016, 0x6d4b01f8
+0, 279, 279, 1, 38016, 0xa50d72f0
+0, 280, 280, 1, 38016, 0xccad0d72
+0, 281, 281, 1, 38016, 0x10c9e33e
+0, 282, 282, 1, 38016, 0xba6daf97
+0, 283, 283, 1, 38016, 0xd65074e0
+0, 284, 284, 1, 38016, 0xd36954aa
+0, 285, 285, 1, 38016, 0xd9a2a642
+0, 286, 286, 1, 38016, 0xce755f9f
+0, 287, 287, 1, 38016, 0x81d29c44
+0, 288, 288, 1, 38016, 0x23b0aef5
+0, 289, 289, 1, 38016, 0xb0ef9efa
+0, 290, 290, 1, 38016, 0xf20d4a7a
+0, 291, 291, 1, 38016, 0xa0c86899
+0, 292, 292, 1, 38016, 0x1ae4f865
+0, 293, 293, 1, 38016, 0x3a5731c8
+0, 294, 294, 1, 38016, 0x75f17ec5
+0, 295, 295, 1, 38016, 0x8f447aa9
+0, 296, 296, 1, 38016, 0x71615441
+0, 297, 297, 1, 38016, 0x90c13e26
+0, 298, 298, 1, 38016, 0x08d04aaf
+0, 299, 299, 1, 38016, 0x14fd7b04
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_fld0_full b/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
index a88e0c106b..b131cdaa26 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
@@ -1,30 +1,31 @@
-0, 0, 518400, 0xbf168f4e
-0, 3600, 518400, 0xeda5e54f
-0, 7200, 518400, 0xef496d43
-0, 10800, 518400, 0x6b68dad5
-0, 14400, 518400, 0x9a40a7de
-0, 18000, 518400, 0x0c21c018
-0, 21600, 518400, 0x4ac5a846
-0, 25200, 518400, 0x3a1aa817
-0, 28800, 518400, 0xcc4eb434
-0, 32400, 518400, 0x4368a3c2
-0, 36000, 518400, 0xb923682f
-0, 39600, 518400, 0xd95460a8
-0, 43200, 518400, 0x8e8518aa
-0, 46800, 518400, 0x292a1a80
-0, 50400, 518400, 0xbada388e
-0, 54000, 518400, 0xa67f63c9
-0, 57600, 518400, 0x9fc77e21
-0, 61200, 518400, 0xe99dc2ac
-0, 64800, 518400, 0x17d7d080
-0, 68400, 518400, 0x41760c0b
-0, 72000, 518400, 0x3c70f34d
-0, 75600, 518400, 0x0d640285
-0, 79200, 518400, 0x448893e8
-0, 82800, 518400, 0x08194490
-0, 86400, 518400, 0xcf227031
-0, 90000, 518400, 0x8d94587d
-0, 93600, 518400, 0x696fca01
-0, 97200, 518400, 0xe0ab234b
-0, 100800, 518400, 0x0620153b
-0, 104400, 518400, 0xb78c146c
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xbf168f4e
+0, 1, 1, 1, 518400, 0xeda5e54f
+0, 2, 2, 1, 518400, 0xef496d43
+0, 3, 3, 1, 518400, 0x6b68dad5
+0, 4, 4, 1, 518400, 0x9a40a7de
+0, 5, 5, 1, 518400, 0x0c21c018
+0, 6, 6, 1, 518400, 0x4ac5a846
+0, 7, 7, 1, 518400, 0x3a1aa817
+0, 8, 8, 1, 518400, 0xcc4eb434
+0, 9, 9, 1, 518400, 0x4368a3c2
+0, 10, 10, 1, 518400, 0xb923682f
+0, 11, 11, 1, 518400, 0xd95460a8
+0, 12, 12, 1, 518400, 0x8e8518aa
+0, 13, 13, 1, 518400, 0x292a1a80
+0, 14, 14, 1, 518400, 0xbada388e
+0, 15, 15, 1, 518400, 0xa67f63c9
+0, 16, 16, 1, 518400, 0x9fc77e21
+0, 17, 17, 1, 518400, 0xe99dc2ac
+0, 18, 18, 1, 518400, 0x17d7d080
+0, 19, 19, 1, 518400, 0x41760c0b
+0, 20, 20, 1, 518400, 0x3c70f34d
+0, 21, 21, 1, 518400, 0x0d640285
+0, 22, 22, 1, 518400, 0x448893e8
+0, 23, 23, 1, 518400, 0x08194490
+0, 24, 24, 1, 518400, 0xcf227031
+0, 25, 25, 1, 518400, 0x8d94587d
+0, 26, 26, 1, 518400, 0x696fca01
+0, 27, 27, 1, 518400, 0xe0ab234b
+0, 28, 28, 1, 518400, 0x0620153b
+0, 29, 29, 1, 518400, 0xb78c146c
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_frm0_full b/tests/ref/fate/h264-conformance-cabac_mot_frm0_full
index 437a86beff..58949e2442 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_frm0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_frm0_full
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x40c7e2d9
-0, 3600, 518400, 0xb16701a5
-0, 7200, 518400, 0x12c2f5b1
-0, 10800, 518400, 0x9832aecc
-0, 14400, 518400, 0x2b8bcdec
-0, 18000, 518400, 0x04448f3a
-0, 21600, 518400, 0xc7ac82d8
-0, 25200, 518400, 0xe746bb8a
-0, 28800, 518400, 0xc7ac92d3
-0, 32400, 518400, 0x38d89443
-0, 36000, 518400, 0xcb9fbe74
-0, 39600, 518400, 0x5543867d
-0, 43200, 518400, 0xaf1b147f
-0, 46800, 518400, 0xe5f07e40
-0, 50400, 518400, 0x66dc6734
-0, 54000, 518400, 0x0f9491be
-0, 57600, 518400, 0xbcdaacac
-0, 61200, 518400, 0xf4480ae7
-0, 64800, 518400, 0xa5cef4d5
-0, 68400, 518400, 0x9e4e4320
-0, 72000, 518400, 0x620c3212
-0, 75600, 518400, 0x4350df1d
-0, 79200, 518400, 0x6360ef84
-0, 82800, 518400, 0xc1866d03
-0, 86400, 518400, 0x38eb3b5b
-0, 90000, 518400, 0x00166df1
-0, 93600, 518400, 0x841ea87c
-0, 97200, 518400, 0x8b40f836
-0, 100800, 518400, 0x3b380ddf
-0, 104400, 518400, 0x275adf46
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x40c7e2d9
+0, 1, 1, 1, 518400, 0xb16701a5
+0, 2, 2, 1, 518400, 0x12c2f5b1
+0, 3, 3, 1, 518400, 0x9832aecc
+0, 4, 4, 1, 518400, 0x2b8bcdec
+0, 5, 5, 1, 518400, 0x04448f3a
+0, 6, 6, 1, 518400, 0xc7ac82d8
+0, 7, 7, 1, 518400, 0xe746bb8a
+0, 8, 8, 1, 518400, 0xc7ac92d3
+0, 9, 9, 1, 518400, 0x38d89443
+0, 10, 10, 1, 518400, 0xcb9fbe74
+0, 11, 11, 1, 518400, 0x5543867d
+0, 12, 12, 1, 518400, 0xaf1b147f
+0, 13, 13, 1, 518400, 0xe5f07e40
+0, 14, 14, 1, 518400, 0x66dc6734
+0, 15, 15, 1, 518400, 0x0f9491be
+0, 16, 16, 1, 518400, 0xbcdaacac
+0, 17, 17, 1, 518400, 0xf4480ae7
+0, 18, 18, 1, 518400, 0xa5cef4d5
+0, 19, 19, 1, 518400, 0x9e4e4320
+0, 20, 20, 1, 518400, 0x620c3212
+0, 21, 21, 1, 518400, 0x4350df1d
+0, 22, 22, 1, 518400, 0x6360ef84
+0, 23, 23, 1, 518400, 0xc1866d03
+0, 24, 24, 1, 518400, 0x38eb3b5b
+0, 25, 25, 1, 518400, 0x00166df1
+0, 26, 26, 1, 518400, 0x841ea87c
+0, 27, 27, 1, 518400, 0x8b40f836
+0, 28, 28, 1, 518400, 0x3b380ddf
+0, 29, 29, 1, 518400, 0x275adf46
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_mbaff0_full b/tests/ref/fate/h264-conformance-cabac_mot_mbaff0_full
index 0e582f3902..1e9313e00e 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_mbaff0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_mbaff0_full
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x8336b7db
-0, 3600, 518400, 0x9818c309
-0, 7200, 518400, 0x5417b6f9
-0, 10800, 518400, 0x8f0a5de4
-0, 14400, 518400, 0xa4ce43f3
-0, 18000, 518400, 0xfe748339
-0, 21600, 518400, 0xeab93a93
-0, 25200, 518400, 0x095176e4
-0, 28800, 518400, 0x99a45050
-0, 32400, 518400, 0xad3766e8
-0, 36000, 518400, 0xea133c1b
-0, 39600, 518400, 0xdcb2188b
-0, 43200, 518400, 0xec08c8ce
-0, 46800, 518400, 0xf38cd4f2
-0, 50400, 518400, 0x06177f80
-0, 54000, 518400, 0x2c68b642
-0, 57600, 518400, 0x7d290881
-0, 61200, 518400, 0x26c939d8
-0, 64800, 518400, 0xa0391a6e
-0, 68400, 518400, 0x3b9f02c1
-0, 72000, 518400, 0x335a0ff9
-0, 75600, 518400, 0x0deafb41
-0, 79200, 518400, 0xbf00bfe4
-0, 82800, 518400, 0xc9145210
-0, 86400, 518400, 0xb6e16a54
-0, 90000, 518400, 0xc31664da
-0, 93600, 518400, 0xfd3be55d
-0, 97200, 518400, 0xf33b134c
-0, 100800, 518400, 0xc6977304
-0, 104400, 518400, 0xa605bdb6
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x8336b7db
+0, 1, 1, 1, 518400, 0x9818c309
+0, 2, 2, 1, 518400, 0x5417b6f9
+0, 3, 3, 1, 518400, 0x8f0a5de4
+0, 4, 4, 1, 518400, 0xa4ce43f3
+0, 5, 5, 1, 518400, 0xfe748339
+0, 6, 6, 1, 518400, 0xeab93a93
+0, 7, 7, 1, 518400, 0x095176e4
+0, 8, 8, 1, 518400, 0x99a45050
+0, 9, 9, 1, 518400, 0xad3766e8
+0, 10, 10, 1, 518400, 0xea133c1b
+0, 11, 11, 1, 518400, 0xdcb2188b
+0, 12, 12, 1, 518400, 0xec08c8ce
+0, 13, 13, 1, 518400, 0xf38cd4f2
+0, 14, 14, 1, 518400, 0x06177f80
+0, 15, 15, 1, 518400, 0x2c68b642
+0, 16, 16, 1, 518400, 0x7d290881
+0, 17, 17, 1, 518400, 0x26c939d8
+0, 18, 18, 1, 518400, 0xa0391a6e
+0, 19, 19, 1, 518400, 0x3b9f02c1
+0, 20, 20, 1, 518400, 0x335a0ff9
+0, 21, 21, 1, 518400, 0x0deafb41
+0, 22, 22, 1, 518400, 0xbf00bfe4
+0, 23, 23, 1, 518400, 0xc9145210
+0, 24, 24, 1, 518400, 0xb6e16a54
+0, 25, 25, 1, 518400, 0xc31664da
+0, 26, 26, 1, 518400, 0xfd3be55d
+0, 27, 27, 1, 518400, 0xf33b134c
+0, 28, 28, 1, 518400, 0xc6977304
+0, 29, 29, 1, 518400, 0xa605bdb6
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full b/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
index f2d6358af6..484025e576 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
@@ -1,30 +1,31 @@
-0, 0, 518400, 0xd8b58a23
-0, 3600, 518400, 0xe53b4aba
-0, 7200, 518400, 0x6cbca47a
-0, 10800, 518400, 0xceb51253
-0, 14400, 518400, 0x60cb3cdd
-0, 18000, 518400, 0x7b633553
-0, 21600, 518400, 0x10c012c9
-0, 25200, 518400, 0xa340ee20
-0, 28800, 518400, 0x574c22c2
-0, 32400, 518400, 0xbcdb1bf7
-0, 36000, 518400, 0x57811e9a
-0, 39600, 518400, 0xdd4af748
-0, 43200, 518400, 0xb931a637
-0, 46800, 518400, 0xcef6ce95
-0, 50400, 518400, 0xd28c7085
-0, 54000, 518400, 0xae9daf53
-0, 57600, 518400, 0xca29d819
-0, 61200, 518400, 0x3c4bd7eb
-0, 64800, 518400, 0x912ee227
-0, 68400, 518400, 0xb67d0e27
-0, 72000, 518400, 0x8cf7309d
-0, 75600, 518400, 0x358ad344
-0, 79200, 518400, 0x4462c642
-0, 82800, 518400, 0x3bb43428
-0, 86400, 518400, 0x12d6f8ca
-0, 90000, 518400, 0x003f13aa
-0, 93600, 518400, 0x6cd8c432
-0, 97200, 518400, 0xee5ff01b
-0, 100800, 518400, 0xba0616ee
-0, 104400, 518400, 0x37fa7891
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xd8b58a23
+0, 1, 1, 1, 518400, 0xe53b4aba
+0, 2, 2, 1, 518400, 0x6cbca47a
+0, 3, 3, 1, 518400, 0xceb51253
+0, 4, 4, 1, 518400, 0x60cb3cdd
+0, 5, 5, 1, 518400, 0x7b633553
+0, 6, 6, 1, 518400, 0x10c012c9
+0, 7, 7, 1, 518400, 0xa340ee20
+0, 8, 8, 1, 518400, 0x574c22c2
+0, 9, 9, 1, 518400, 0xbcdb1bf7
+0, 10, 10, 1, 518400, 0x57811e9a
+0, 11, 11, 1, 518400, 0xdd4af748
+0, 12, 12, 1, 518400, 0xb931a637
+0, 13, 13, 1, 518400, 0xcef6ce95
+0, 14, 14, 1, 518400, 0xd28c7085
+0, 15, 15, 1, 518400, 0xae9daf53
+0, 16, 16, 1, 518400, 0xca29d819
+0, 17, 17, 1, 518400, 0x3c4bd7eb
+0, 18, 18, 1, 518400, 0x912ee227
+0, 19, 19, 1, 518400, 0xb67d0e27
+0, 20, 20, 1, 518400, 0x8cf7309d
+0, 21, 21, 1, 518400, 0x358ad344
+0, 22, 22, 1, 518400, 0x4462c642
+0, 23, 23, 1, 518400, 0x3bb43428
+0, 24, 24, 1, 518400, 0x12d6f8ca
+0, 25, 25, 1, 518400, 0x003f13aa
+0, 26, 26, 1, 518400, 0x6cd8c432
+0, 27, 27, 1, 518400, 0xee5ff01b
+0, 28, 28, 1, 518400, 0xba0616ee
+0, 29, 29, 1, 518400, 0x37fa7891
diff --git a/tests/ref/fate/h264-conformance-cabaci3_sony_b b/tests/ref/fate/h264-conformance-cabaci3_sony_b
index f0ea8c2322..9dc4884fae 100644
--- a/tests/ref/fate/h264-conformance-cabaci3_sony_b
+++ b/tests/ref/fate/h264-conformance-cabaci3_sony_b
@@ -1,300 +1,301 @@
-0, 0, 38016, 0x705f2f41
-0, 3600, 38016, 0xa76d1766
-0, 7200, 38016, 0xf367e6f4
-0, 10800, 38016, 0xdce8a69a
-0, 14400, 38016, 0xda9d986e
-0, 18000, 38016, 0x50117ea5
-0, 21600, 38016, 0x07a848eb
-0, 25200, 38016, 0x28ab4f59
-0, 28800, 38016, 0xf6913e4c
-0, 32400, 38016, 0x3daa3500
-0, 36000, 38016, 0xe9f67703
-0, 39600, 38016, 0x9a5289e6
-0, 43200, 38016, 0x9efd705f
-0, 46800, 38016, 0x1193b01d
-0, 50400, 38016, 0x30a5acd7
-0, 54000, 38016, 0x7e3da07d
-0, 57600, 38016, 0x0f85afc6
-0, 61200, 38016, 0x8b7ba455
-0, 64800, 38016, 0xac327dfb
-0, 68400, 38016, 0x3eee7fdb
-0, 72000, 38016, 0x37fa626b
-0, 75600, 38016, 0x2c4f2501
-0, 79200, 38016, 0xa25a239a
-0, 82800, 38016, 0xe69b2327
-0, 86400, 38016, 0x6bd6164e
-0, 90000, 38016, 0xae9c2daa
-0, 93600, 38016, 0xe115331d
-0, 97200, 38016, 0xde8f2833
-0, 100800, 38016, 0xd0b45915
-0, 104400, 38016, 0x3ab16824
-0, 108000, 38016, 0x4df45e8d
-0, 111600, 38016, 0x48569b82
-0, 115200, 38016, 0x75c5b1ee
-0, 118800, 38016, 0x64e5a3ba
-0, 122400, 38016, 0x3190d133
-0, 126000, 38016, 0x4825ce86
-0, 129600, 38016, 0x8f85ab8e
-0, 133200, 38016, 0x3fb1cbc5
-0, 136800, 38016, 0x2b2cbe7d
-0, 140400, 38016, 0xa905a6a6
-0, 144000, 38016, 0x6365c188
-0, 147600, 38016, 0xff23c08d
-0, 151200, 38016, 0x73edada6
-0, 154800, 38016, 0x6be0b8a9
-0, 158400, 38016, 0x604bb6c9
-0, 162000, 38016, 0x62468a3b
-0, 165600, 38016, 0x994aad7a
-0, 169200, 38016, 0xfee1b59e
-0, 172800, 38016, 0xf722aa78
-0, 176400, 38016, 0x0ddfbf68
-0, 180000, 38016, 0x510ab7b1
-0, 183600, 38016, 0x156ca919
-0, 187200, 38016, 0xb176b488
-0, 190800, 38016, 0xd70cb8f8
-0, 194400, 38016, 0x3844b2d2
-0, 198000, 38016, 0x0ed8c6ee
-0, 201600, 38016, 0x0c6ac5ff
-0, 205200, 38016, 0x1284c442
-0, 208800, 38016, 0x0486d06c
-0, 212400, 38016, 0x0d42d1c1
-0, 216000, 38016, 0xd24297f3
-0, 219600, 38016, 0xe05cab59
-0, 223200, 38016, 0x12f1921f
-0, 226800, 38016, 0x0dc6403e
-0, 230400, 38016, 0x277f593c
-0, 234000, 38016, 0xfb7c81f8
-0, 237600, 38016, 0xb31b90b0
-0, 241200, 38016, 0x8be3e8ae
-0, 244800, 38016, 0x9aaa1ff1
-0, 248400, 38016, 0x4e6832b9
-0, 252000, 38016, 0x93fd6a5e
-0, 255600, 38016, 0xd9438f08
-0, 259200, 38016, 0x5e41b067
-0, 262800, 38016, 0xee80f32a
-0, 266400, 38016, 0x75632fe3
-0, 270000, 38016, 0xc0a93ec1
-0, 273600, 38016, 0x4e3e80c4
-0, 277200, 38016, 0x9e5398d6
-0, 280800, 38016, 0xd20aac32
-0, 284400, 38016, 0xacf5c5da
-0, 288000, 38016, 0xbe6bca1a
-0, 291600, 38016, 0x098bdac2
-0, 295200, 38016, 0xe706e491
-0, 298800, 38016, 0xcda7d8ee
-0, 302400, 38016, 0xb1d4d3f4
-0, 306000, 38016, 0x3e20d6cd
-0, 309600, 38016, 0xf368e66a
-0, 313200, 38016, 0xbfbee5b1
-0, 316800, 38016, 0xb580ec3d
-0, 320400, 38016, 0xce8dec65
-0, 324000, 38016, 0xb6fda1c2
-0, 327600, 38016, 0xb2d5ad04
-0, 331200, 38016, 0x28959c5a
-0, 334800, 38016, 0x7b1d7c65
-0, 338400, 38016, 0x357e79cd
-0, 342000, 38016, 0x08f57396
-0, 345600, 38016, 0xe59973b8
-0, 349200, 38016, 0x288a9c28
-0, 352800, 38016, 0x09a4a82f
-0, 356400, 38016, 0x61b5a518
-0, 360000, 38016, 0xddbfb88d
-0, 363600, 38016, 0x14b5a41e
-0, 367200, 38016, 0x56588add
-0, 370800, 38016, 0x7e3890c1
-0, 374400, 38016, 0xbb1eb4df
-0, 378000, 38016, 0x3b34a7d8
-0, 381600, 38016, 0xe15ddc56
-0, 385200, 38016, 0x9ed7ff21
-0, 388800, 38016, 0x03200458
-0, 392400, 38016, 0x74493572
-0, 396000, 38016, 0x73d14274
-0, 399600, 38016, 0x02933587
-0, 403200, 38016, 0x5ea74e05
-0, 406800, 38016, 0xd73d303e
-0, 410400, 38016, 0x0a17f1ea
-0, 414000, 38016, 0x915f0dcd
-0, 417600, 38016, 0xca041a88
-0, 421200, 38016, 0xc6a303b2
-0, 424800, 38016, 0x2c903df2
-0, 428400, 38016, 0x2dd04691
-0, 432000, 38016, 0xfe783551
-0, 435600, 38016, 0x900c419c
-0, 439200, 38016, 0x01b92a15
-0, 442800, 38016, 0xcce4e851
-0, 446400, 38016, 0x0167d6f6
-0, 450000, 38016, 0x023eb3fa
-0, 453600, 38016, 0xafc29caa
-0, 457200, 38016, 0xf205b88c
-0, 460800, 38016, 0x5518cc46
-0, 464400, 38016, 0x64cdd1d5
-0, 468000, 38016, 0x8e9eecb4
-0, 471600, 38016, 0xd1e0e2f8
-0, 475200, 38016, 0xb849cf3c
-0, 478800, 38016, 0xb5e4d916
-0, 482400, 38016, 0xc6c5da7e
-0, 486000, 38016, 0xcbcda68d
-0, 489600, 38016, 0x21d7bd73
-0, 493200, 38016, 0x6737b4b9
-0, 496800, 38016, 0x379f9a5f
-0, 500400, 38016, 0xa13da6cc
-0, 504000, 38016, 0x06fc941a
-0, 507600, 38016, 0x78c57e95
-0, 511200, 38016, 0x2f6674d4
-0, 514800, 38016, 0x37776db9
-0, 518400, 38016, 0x257268db
-0, 522000, 38016, 0x1dbe7e72
-0, 525600, 38016, 0x2cb96bb0
-0, 529200, 38016, 0x46a840f2
-0, 532800, 38016, 0x95951fd6
-0, 536400, 38016, 0x627ef7b2
-0, 540000, 38016, 0xa5b0b2d3
-0, 543600, 38016, 0x69fdcae9
-0, 547200, 38016, 0x0c25c873
-0, 550800, 38016, 0x3533a2cc
-0, 554400, 38016, 0x3a74b6c2
-0, 558000, 38016, 0x9d1dcbc1
-0, 561600, 38016, 0xce33cf86
-0, 565200, 38016, 0xf34201f5
-0, 568800, 38016, 0xab5f2e2b
-0, 572400, 38016, 0xf062405d
-0, 576000, 38016, 0xe7f85f7c
-0, 579600, 38016, 0x684f4ee4
-0, 583200, 38016, 0x41b83014
-0, 586800, 38016, 0x70142f5f
-0, 590400, 38016, 0x3cb229b1
-0, 594000, 38016, 0x6bd1f24c
-0, 597600, 38016, 0x9366ec77
-0, 601200, 38016, 0x6af0c1ec
-0, 604800, 38016, 0xb11a9005
-0, 608400, 38016, 0x83e390b7
-0, 612000, 38016, 0x97679ab5
-0, 615600, 38016, 0xabe3b114
-0, 619200, 38016, 0x2efed19f
-0, 622800, 38016, 0x18eddb2e
-0, 626400, 38016, 0x0a37c6fb
-0, 630000, 38016, 0xddb0a2fe
-0, 633600, 38016, 0xf8627091
-0, 637200, 38016, 0x97123074
-0, 640800, 38016, 0x33af3174
-0, 644400, 38016, 0x5caa22fe
-0, 648000, 38016, 0xa203eccf
-0, 651600, 38016, 0x506eee0c
-0, 655200, 38016, 0x2066d541
-0, 658800, 38016, 0xe08acab1
-0, 662400, 38016, 0x6740ecc4
-0, 666000, 38016, 0x954dfd6d
-0, 669600, 38016, 0xbd7ffef8
-0, 673200, 38016, 0x629f2cca
-0, 676800, 38016, 0xebd92f12
-0, 680400, 38016, 0xe5bd297f
-0, 684000, 38016, 0xcb2be670
-0, 687600, 38016, 0x51d7b529
-0, 691200, 38016, 0x95d7ab30
-0, 694800, 38016, 0x18e3df99
-0, 698400, 38016, 0xae3af726
-0, 702000, 38016, 0x9b831ee3
-0, 705600, 38016, 0x3c614e45
-0, 709200, 38016, 0x3c0a600c
-0, 712800, 38016, 0xdade838b
-0, 716400, 38016, 0xbbe3a0a7
-0, 720000, 38016, 0xd4d5b780
-0, 723600, 38016, 0xceebb4b7
-0, 727200, 38016, 0x1a8ccbb3
-0, 730800, 38016, 0x95dccfab
-0, 734400, 38016, 0xea9bc737
-0, 738000, 38016, 0xa0f6d561
-0, 741600, 38016, 0x7877d698
-0, 745200, 38016, 0xd6aad54c
-0, 748800, 38016, 0xca62c8b7
-0, 752400, 38016, 0xebc9ae1c
-0, 756000, 38016, 0x46c96194
-0, 759600, 38016, 0x61197fc4
-0, 763200, 38016, 0x9ae97570
-0, 766800, 38016, 0x7cd254da
-0, 770400, 38016, 0xe4816953
-0, 774000, 38016, 0x68685b2c
-0, 777600, 38016, 0x08d93f79
-0, 781200, 38016, 0xb4cc526b
-0, 784800, 38016, 0xc0d253d9
-0, 788400, 38016, 0x95b83d64
-0, 792000, 38016, 0xadf7454f
-0, 795600, 38016, 0xaa1d339b
-0, 799200, 38016, 0xae0417f8
-0, 802800, 38016, 0x09d2294d
-0, 806400, 38016, 0xbd892e9d
-0, 810000, 38016, 0xbccd0f97
-0, 813600, 38016, 0x03c13bd3
-0, 817200, 38016, 0x09d045d7
-0, 820800, 38016, 0xaa484278
-0, 824400, 38016, 0x054b8639
-0, 828000, 38016, 0x45e29e62
-0, 831600, 38016, 0x38bbb067
-0, 835200, 38016, 0x9f5cfc30
-0, 838800, 38016, 0x38551b76
-0, 842400, 38016, 0x3e1b18ee
-0, 846000, 38016, 0x7baf4e34
-0, 849600, 38016, 0xff6458d1
-0, 853200, 38016, 0xb7963c49
-0, 856800, 38016, 0xdaee3f6a
-0, 860400, 38016, 0xc88e09c9
-0, 864000, 38016, 0x88a7de38
-0, 867600, 38016, 0x9e81cb62
-0, 871200, 38016, 0x84d0aca7
-0, 874800, 38016, 0x3312f41e
-0, 878400, 38016, 0x550065dc
-0, 882000, 38016, 0x7e88d07e
-0, 885600, 38016, 0x9370ed4f
-0, 889200, 38016, 0xd9c9d592
-0, 892800, 38016, 0xec7589ce
-0, 896400, 38016, 0xeca71251
-0, 900000, 38016, 0xf183b951
-0, 903600, 38016, 0x9a1b740a
-0, 907200, 38016, 0x97ea5ffc
-0, 910800, 38016, 0x058dc572
-0, 914400, 38016, 0xae44345a
-0, 918000, 38016, 0xef22c82e
-0, 921600, 38016, 0x8364d583
-0, 925200, 38016, 0x2f725dfa
-0, 928800, 38016, 0x5eda3160
-0, 932400, 38016, 0x4a464613
-0, 936000, 38016, 0x447f444d
-0, 939600, 38016, 0x076b3dd8
-0, 943200, 38016, 0x690f58de
-0, 946800, 38016, 0xf4635e91
-0, 950400, 38016, 0xd5db44e7
-0, 954000, 38016, 0xced25176
-0, 957600, 38016, 0x227a2f9a
-0, 961200, 38016, 0x72100520
-0, 964800, 38016, 0x6549f9b4
-0, 968400, 38016, 0x3f77cef4
-0, 972000, 38016, 0x3d1ba72f
-0, 975600, 38016, 0xa1dd85d2
-0, 979200, 38016, 0x9a35655e
-0, 982800, 38016, 0xdc900dc6
-0, 986400, 38016, 0xca05d5cb
-0, 990000, 38016, 0xeff0be86
-0, 993600, 38016, 0xdcceb22e
-0, 997200, 38016, 0x5952d133
-0, 1000800, 38016, 0x3ab3facb
-0, 1004400, 38016, 0xdb8d4de4
-0, 1008000, 38016, 0x0afc170d
-0, 1011600, 38016, 0xd14ddc59
-0, 1015200, 38016, 0xbabf89eb
-0, 1018800, 38016, 0x09d38f7b
-0, 1022400, 38016, 0xe4805dba
-0, 1026000, 38016, 0x4d919dcf
-0, 1029600, 38016, 0x3e8c60be
-0, 1033200, 38016, 0x6c1fa94b
-0, 1036800, 38016, 0x6b68a320
-0, 1040400, 38016, 0x9de774f6
-0, 1044000, 38016, 0x38d0ecc6
-0, 1047600, 38016, 0x0623207f
-0, 1051200, 38016, 0x36429915
-0, 1054800, 38016, 0x659fdd42
-0, 1058400, 38016, 0x59c93475
-0, 1062000, 38016, 0xecd1200d
-0, 1065600, 38016, 0x3b2af9c2
-0, 1069200, 38016, 0xd00600da
-0, 1072800, 38016, 0xb0bc21ee
-0, 1076400, 38016, 0xc11f3ec2
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x705f2f41
+0, 1, 1, 1, 38016, 0xa76d1766
+0, 2, 2, 1, 38016, 0xf367e6f4
+0, 3, 3, 1, 38016, 0xdce8a69a
+0, 4, 4, 1, 38016, 0xda9d986e
+0, 5, 5, 1, 38016, 0x50117ea5
+0, 6, 6, 1, 38016, 0x07a848eb
+0, 7, 7, 1, 38016, 0x28ab4f59
+0, 8, 8, 1, 38016, 0xf6913e4c
+0, 9, 9, 1, 38016, 0x3daa3500
+0, 10, 10, 1, 38016, 0xe9f67703
+0, 11, 11, 1, 38016, 0x9a5289e6
+0, 12, 12, 1, 38016, 0x9efd705f
+0, 13, 13, 1, 38016, 0x1193b01d
+0, 14, 14, 1, 38016, 0x30a5acd7
+0, 15, 15, 1, 38016, 0x7e3da07d
+0, 16, 16, 1, 38016, 0x0f85afc6
+0, 17, 17, 1, 38016, 0x8b7ba455
+0, 18, 18, 1, 38016, 0xac327dfb
+0, 19, 19, 1, 38016, 0x3eee7fdb
+0, 20, 20, 1, 38016, 0x37fa626b
+0, 21, 21, 1, 38016, 0x2c4f2501
+0, 22, 22, 1, 38016, 0xa25a239a
+0, 23, 23, 1, 38016, 0xe69b2327
+0, 24, 24, 1, 38016, 0x6bd6164e
+0, 25, 25, 1, 38016, 0xae9c2daa
+0, 26, 26, 1, 38016, 0xe115331d
+0, 27, 27, 1, 38016, 0xde8f2833
+0, 28, 28, 1, 38016, 0xd0b45915
+0, 29, 29, 1, 38016, 0x3ab16824
+0, 30, 30, 1, 38016, 0x4df45e8d
+0, 31, 31, 1, 38016, 0x48569b82
+0, 32, 32, 1, 38016, 0x75c5b1ee
+0, 33, 33, 1, 38016, 0x64e5a3ba
+0, 34, 34, 1, 38016, 0x3190d133
+0, 35, 35, 1, 38016, 0x4825ce86
+0, 36, 36, 1, 38016, 0x8f85ab8e
+0, 37, 37, 1, 38016, 0x3fb1cbc5
+0, 38, 38, 1, 38016, 0x2b2cbe7d
+0, 39, 39, 1, 38016, 0xa905a6a6
+0, 40, 40, 1, 38016, 0x6365c188
+0, 41, 41, 1, 38016, 0xff23c08d
+0, 42, 42, 1, 38016, 0x73edada6
+0, 43, 43, 1, 38016, 0x6be0b8a9
+0, 44, 44, 1, 38016, 0x604bb6c9
+0, 45, 45, 1, 38016, 0x62468a3b
+0, 46, 46, 1, 38016, 0x994aad7a
+0, 47, 47, 1, 38016, 0xfee1b59e
+0, 48, 48, 1, 38016, 0xf722aa78
+0, 49, 49, 1, 38016, 0x0ddfbf68
+0, 50, 50, 1, 38016, 0x510ab7b1
+0, 51, 51, 1, 38016, 0x156ca919
+0, 52, 52, 1, 38016, 0xb176b488
+0, 53, 53, 1, 38016, 0xd70cb8f8
+0, 54, 54, 1, 38016, 0x3844b2d2
+0, 55, 55, 1, 38016, 0x0ed8c6ee
+0, 56, 56, 1, 38016, 0x0c6ac5ff
+0, 57, 57, 1, 38016, 0x1284c442
+0, 58, 58, 1, 38016, 0x0486d06c
+0, 59, 59, 1, 38016, 0x0d42d1c1
+0, 60, 60, 1, 38016, 0xd24297f3
+0, 61, 61, 1, 38016, 0xe05cab59
+0, 62, 62, 1, 38016, 0x12f1921f
+0, 63, 63, 1, 38016, 0x0dc6403e
+0, 64, 64, 1, 38016, 0x277f593c
+0, 65, 65, 1, 38016, 0xfb7c81f8
+0, 66, 66, 1, 38016, 0xb31b90b0
+0, 67, 67, 1, 38016, 0x8be3e8ae
+0, 68, 68, 1, 38016, 0x9aaa1ff1
+0, 69, 69, 1, 38016, 0x4e6832b9
+0, 70, 70, 1, 38016, 0x93fd6a5e
+0, 71, 71, 1, 38016, 0xd9438f08
+0, 72, 72, 1, 38016, 0x5e41b067
+0, 73, 73, 1, 38016, 0xee80f32a
+0, 74, 74, 1, 38016, 0x75632fe3
+0, 75, 75, 1, 38016, 0xc0a93ec1
+0, 76, 76, 1, 38016, 0x4e3e80c4
+0, 77, 77, 1, 38016, 0x9e5398d6
+0, 78, 78, 1, 38016, 0xd20aac32
+0, 79, 79, 1, 38016, 0xacf5c5da
+0, 80, 80, 1, 38016, 0xbe6bca1a
+0, 81, 81, 1, 38016, 0x098bdac2
+0, 82, 82, 1, 38016, 0xe706e491
+0, 83, 83, 1, 38016, 0xcda7d8ee
+0, 84, 84, 1, 38016, 0xb1d4d3f4
+0, 85, 85, 1, 38016, 0x3e20d6cd
+0, 86, 86, 1, 38016, 0xf368e66a
+0, 87, 87, 1, 38016, 0xbfbee5b1
+0, 88, 88, 1, 38016, 0xb580ec3d
+0, 89, 89, 1, 38016, 0xce8dec65
+0, 90, 90, 1, 38016, 0xb6fda1c2
+0, 91, 91, 1, 38016, 0xb2d5ad04
+0, 92, 92, 1, 38016, 0x28959c5a
+0, 93, 93, 1, 38016, 0x7b1d7c65
+0, 94, 94, 1, 38016, 0x357e79cd
+0, 95, 95, 1, 38016, 0x08f57396
+0, 96, 96, 1, 38016, 0xe59973b8
+0, 97, 97, 1, 38016, 0x288a9c28
+0, 98, 98, 1, 38016, 0x09a4a82f
+0, 99, 99, 1, 38016, 0x61b5a518
+0, 100, 100, 1, 38016, 0xddbfb88d
+0, 101, 101, 1, 38016, 0x14b5a41e
+0, 102, 102, 1, 38016, 0x56588add
+0, 103, 103, 1, 38016, 0x7e3890c1
+0, 104, 104, 1, 38016, 0xbb1eb4df
+0, 105, 105, 1, 38016, 0x3b34a7d8
+0, 106, 106, 1, 38016, 0xe15ddc56
+0, 107, 107, 1, 38016, 0x9ed7ff21
+0, 108, 108, 1, 38016, 0x03200458
+0, 109, 109, 1, 38016, 0x74493572
+0, 110, 110, 1, 38016, 0x73d14274
+0, 111, 111, 1, 38016, 0x02933587
+0, 112, 112, 1, 38016, 0x5ea74e05
+0, 113, 113, 1, 38016, 0xd73d303e
+0, 114, 114, 1, 38016, 0x0a17f1ea
+0, 115, 115, 1, 38016, 0x915f0dcd
+0, 116, 116, 1, 38016, 0xca041a88
+0, 117, 117, 1, 38016, 0xc6a303b2
+0, 118, 118, 1, 38016, 0x2c903df2
+0, 119, 119, 1, 38016, 0x2dd04691
+0, 120, 120, 1, 38016, 0xfe783551
+0, 121, 121, 1, 38016, 0x900c419c
+0, 122, 122, 1, 38016, 0x01b92a15
+0, 123, 123, 1, 38016, 0xcce4e851
+0, 124, 124, 1, 38016, 0x0167d6f6
+0, 125, 125, 1, 38016, 0x023eb3fa
+0, 126, 126, 1, 38016, 0xafc29caa
+0, 127, 127, 1, 38016, 0xf205b88c
+0, 128, 128, 1, 38016, 0x5518cc46
+0, 129, 129, 1, 38016, 0x64cdd1d5
+0, 130, 130, 1, 38016, 0x8e9eecb4
+0, 131, 131, 1, 38016, 0xd1e0e2f8
+0, 132, 132, 1, 38016, 0xb849cf3c
+0, 133, 133, 1, 38016, 0xb5e4d916
+0, 134, 134, 1, 38016, 0xc6c5da7e
+0, 135, 135, 1, 38016, 0xcbcda68d
+0, 136, 136, 1, 38016, 0x21d7bd73
+0, 137, 137, 1, 38016, 0x6737b4b9
+0, 138, 138, 1, 38016, 0x379f9a5f
+0, 139, 139, 1, 38016, 0xa13da6cc
+0, 140, 140, 1, 38016, 0x06fc941a
+0, 141, 141, 1, 38016, 0x78c57e95
+0, 142, 142, 1, 38016, 0x2f6674d4
+0, 143, 143, 1, 38016, 0x37776db9
+0, 144, 144, 1, 38016, 0x257268db
+0, 145, 145, 1, 38016, 0x1dbe7e72
+0, 146, 146, 1, 38016, 0x2cb96bb0
+0, 147, 147, 1, 38016, 0x46a840f2
+0, 148, 148, 1, 38016, 0x95951fd6
+0, 149, 149, 1, 38016, 0x627ef7b2
+0, 150, 150, 1, 38016, 0xa5b0b2d3
+0, 151, 151, 1, 38016, 0x69fdcae9
+0, 152, 152, 1, 38016, 0x0c25c873
+0, 153, 153, 1, 38016, 0x3533a2cc
+0, 154, 154, 1, 38016, 0x3a74b6c2
+0, 155, 155, 1, 38016, 0x9d1dcbc1
+0, 156, 156, 1, 38016, 0xce33cf86
+0, 157, 157, 1, 38016, 0xf34201f5
+0, 158, 158, 1, 38016, 0xab5f2e2b
+0, 159, 159, 1, 38016, 0xf062405d
+0, 160, 160, 1, 38016, 0xe7f85f7c
+0, 161, 161, 1, 38016, 0x684f4ee4
+0, 162, 162, 1, 38016, 0x41b83014
+0, 163, 163, 1, 38016, 0x70142f5f
+0, 164, 164, 1, 38016, 0x3cb229b1
+0, 165, 165, 1, 38016, 0x6bd1f24c
+0, 166, 166, 1, 38016, 0x9366ec77
+0, 167, 167, 1, 38016, 0x6af0c1ec
+0, 168, 168, 1, 38016, 0xb11a9005
+0, 169, 169, 1, 38016, 0x83e390b7
+0, 170, 170, 1, 38016, 0x97679ab5
+0, 171, 171, 1, 38016, 0xabe3b114
+0, 172, 172, 1, 38016, 0x2efed19f
+0, 173, 173, 1, 38016, 0x18eddb2e
+0, 174, 174, 1, 38016, 0x0a37c6fb
+0, 175, 175, 1, 38016, 0xddb0a2fe
+0, 176, 176, 1, 38016, 0xf8627091
+0, 177, 177, 1, 38016, 0x97123074
+0, 178, 178, 1, 38016, 0x33af3174
+0, 179, 179, 1, 38016, 0x5caa22fe
+0, 180, 180, 1, 38016, 0xa203eccf
+0, 181, 181, 1, 38016, 0x506eee0c
+0, 182, 182, 1, 38016, 0x2066d541
+0, 183, 183, 1, 38016, 0xe08acab1
+0, 184, 184, 1, 38016, 0x6740ecc4
+0, 185, 185, 1, 38016, 0x954dfd6d
+0, 186, 186, 1, 38016, 0xbd7ffef8
+0, 187, 187, 1, 38016, 0x629f2cca
+0, 188, 188, 1, 38016, 0xebd92f12
+0, 189, 189, 1, 38016, 0xe5bd297f
+0, 190, 190, 1, 38016, 0xcb2be670
+0, 191, 191, 1, 38016, 0x51d7b529
+0, 192, 192, 1, 38016, 0x95d7ab30
+0, 193, 193, 1, 38016, 0x18e3df99
+0, 194, 194, 1, 38016, 0xae3af726
+0, 195, 195, 1, 38016, 0x9b831ee3
+0, 196, 196, 1, 38016, 0x3c614e45
+0, 197, 197, 1, 38016, 0x3c0a600c
+0, 198, 198, 1, 38016, 0xdade838b
+0, 199, 199, 1, 38016, 0xbbe3a0a7
+0, 200, 200, 1, 38016, 0xd4d5b780
+0, 201, 201, 1, 38016, 0xceebb4b7
+0, 202, 202, 1, 38016, 0x1a8ccbb3
+0, 203, 203, 1, 38016, 0x95dccfab
+0, 204, 204, 1, 38016, 0xea9bc737
+0, 205, 205, 1, 38016, 0xa0f6d561
+0, 206, 206, 1, 38016, 0x7877d698
+0, 207, 207, 1, 38016, 0xd6aad54c
+0, 208, 208, 1, 38016, 0xca62c8b7
+0, 209, 209, 1, 38016, 0xebc9ae1c
+0, 210, 210, 1, 38016, 0x46c96194
+0, 211, 211, 1, 38016, 0x61197fc4
+0, 212, 212, 1, 38016, 0x9ae97570
+0, 213, 213, 1, 38016, 0x7cd254da
+0, 214, 214, 1, 38016, 0xe4816953
+0, 215, 215, 1, 38016, 0x68685b2c
+0, 216, 216, 1, 38016, 0x08d93f79
+0, 217, 217, 1, 38016, 0xb4cc526b
+0, 218, 218, 1, 38016, 0xc0d253d9
+0, 219, 219, 1, 38016, 0x95b83d64
+0, 220, 220, 1, 38016, 0xadf7454f
+0, 221, 221, 1, 38016, 0xaa1d339b
+0, 222, 222, 1, 38016, 0xae0417f8
+0, 223, 223, 1, 38016, 0x09d2294d
+0, 224, 224, 1, 38016, 0xbd892e9d
+0, 225, 225, 1, 38016, 0xbccd0f97
+0, 226, 226, 1, 38016, 0x03c13bd3
+0, 227, 227, 1, 38016, 0x09d045d7
+0, 228, 228, 1, 38016, 0xaa484278
+0, 229, 229, 1, 38016, 0x054b8639
+0, 230, 230, 1, 38016, 0x45e29e62
+0, 231, 231, 1, 38016, 0x38bbb067
+0, 232, 232, 1, 38016, 0x9f5cfc30
+0, 233, 233, 1, 38016, 0x38551b76
+0, 234, 234, 1, 38016, 0x3e1b18ee
+0, 235, 235, 1, 38016, 0x7baf4e34
+0, 236, 236, 1, 38016, 0xff6458d1
+0, 237, 237, 1, 38016, 0xb7963c49
+0, 238, 238, 1, 38016, 0xdaee3f6a
+0, 239, 239, 1, 38016, 0xc88e09c9
+0, 240, 240, 1, 38016, 0x88a7de38
+0, 241, 241, 1, 38016, 0x9e81cb62
+0, 242, 242, 1, 38016, 0x84d0aca7
+0, 243, 243, 1, 38016, 0x3312f41e
+0, 244, 244, 1, 38016, 0x550065dc
+0, 245, 245, 1, 38016, 0x7e88d07e
+0, 246, 246, 1, 38016, 0x9370ed4f
+0, 247, 247, 1, 38016, 0xd9c9d592
+0, 248, 248, 1, 38016, 0xec7589ce
+0, 249, 249, 1, 38016, 0xeca71251
+0, 250, 250, 1, 38016, 0xf183b951
+0, 251, 251, 1, 38016, 0x9a1b740a
+0, 252, 252, 1, 38016, 0x97ea5ffc
+0, 253, 253, 1, 38016, 0x058dc572
+0, 254, 254, 1, 38016, 0xae44345a
+0, 255, 255, 1, 38016, 0xef22c82e
+0, 256, 256, 1, 38016, 0x8364d583
+0, 257, 257, 1, 38016, 0x2f725dfa
+0, 258, 258, 1, 38016, 0x5eda3160
+0, 259, 259, 1, 38016, 0x4a464613
+0, 260, 260, 1, 38016, 0x447f444d
+0, 261, 261, 1, 38016, 0x076b3dd8
+0, 262, 262, 1, 38016, 0x690f58de
+0, 263, 263, 1, 38016, 0xf4635e91
+0, 264, 264, 1, 38016, 0xd5db44e7
+0, 265, 265, 1, 38016, 0xced25176
+0, 266, 266, 1, 38016, 0x227a2f9a
+0, 267, 267, 1, 38016, 0x72100520
+0, 268, 268, 1, 38016, 0x6549f9b4
+0, 269, 269, 1, 38016, 0x3f77cef4
+0, 270, 270, 1, 38016, 0x3d1ba72f
+0, 271, 271, 1, 38016, 0xa1dd85d2
+0, 272, 272, 1, 38016, 0x9a35655e
+0, 273, 273, 1, 38016, 0xdc900dc6
+0, 274, 274, 1, 38016, 0xca05d5cb
+0, 275, 275, 1, 38016, 0xeff0be86
+0, 276, 276, 1, 38016, 0xdcceb22e
+0, 277, 277, 1, 38016, 0x5952d133
+0, 278, 278, 1, 38016, 0x3ab3facb
+0, 279, 279, 1, 38016, 0xdb8d4de4
+0, 280, 280, 1, 38016, 0x0afc170d
+0, 281, 281, 1, 38016, 0xd14ddc59
+0, 282, 282, 1, 38016, 0xbabf89eb
+0, 283, 283, 1, 38016, 0x09d38f7b
+0, 284, 284, 1, 38016, 0xe4805dba
+0, 285, 285, 1, 38016, 0x4d919dcf
+0, 286, 286, 1, 38016, 0x3e8c60be
+0, 287, 287, 1, 38016, 0x6c1fa94b
+0, 288, 288, 1, 38016, 0x6b68a320
+0, 289, 289, 1, 38016, 0x9de774f6
+0, 290, 290, 1, 38016, 0x38d0ecc6
+0, 291, 291, 1, 38016, 0x0623207f
+0, 292, 292, 1, 38016, 0x36429915
+0, 293, 293, 1, 38016, 0x659fdd42
+0, 294, 294, 1, 38016, 0x59c93475
+0, 295, 295, 1, 38016, 0xecd1200d
+0, 296, 296, 1, 38016, 0x3b2af9c2
+0, 297, 297, 1, 38016, 0xd00600da
+0, 298, 298, 1, 38016, 0xb0bc21ee
+0, 299, 299, 1, 38016, 0xc11f3ec2
diff --git a/tests/ref/fate/h264-conformance-cabast3_sony_e b/tests/ref/fate/h264-conformance-cabast3_sony_e
index 06c9f1c256..00519ef968 100644
--- a/tests/ref/fate/h264-conformance-cabast3_sony_e
+++ b/tests/ref/fate/h264-conformance-cabast3_sony_e
@@ -1,25 +1,26 @@
-0, 0, 152064, 0x96ebb3a2
-0, 3600, 152064, 0x5184d912
-0, 7200, 152064, 0xfa0c9abe
-0, 10800, 152064, 0x6dd81860
-0, 14400, 152064, 0xc5202966
-0, 18000, 152064, 0xa7dfdf71
-0, 21600, 152064, 0xffa5609f
-0, 25200, 152064, 0x352e7ce5
-0, 28800, 152064, 0xc9e52c2a
-0, 32400, 152064, 0x12dfd28d
-0, 36000, 152064, 0x962af5fe
-0, 39600, 152064, 0xa8459cb1
-0, 43200, 152064, 0xc0771945
-0, 46800, 152064, 0xfcbc351d
-0, 50400, 152064, 0xd925dfa3
-0, 54000, 152064, 0x7c627c21
-0, 57600, 152064, 0x617d8d96
-0, 61200, 152064, 0x91816b34
-0, 64800, 152064, 0xece0eaf8
-0, 68400, 152064, 0x7b1408ef
-0, 72000, 152064, 0x7430c4d2
-0, 75600, 152064, 0xdb5844fa
-0, 79200, 152064, 0xcc874ff7
-0, 82800, 152064, 0x97630fb8
-0, 86400, 152064, 0x16ae9c92
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x96ebb3a2
+0, 1, 1, 1, 152064, 0x5184d912
+0, 2, 2, 1, 152064, 0xfa0c9abe
+0, 3, 3, 1, 152064, 0x6dd81860
+0, 4, 4, 1, 152064, 0xc5202966
+0, 5, 5, 1, 152064, 0xa7dfdf71
+0, 6, 6, 1, 152064, 0xffa5609f
+0, 7, 7, 1, 152064, 0x352e7ce5
+0, 8, 8, 1, 152064, 0xc9e52c2a
+0, 9, 9, 1, 152064, 0x12dfd28d
+0, 10, 10, 1, 152064, 0x962af5fe
+0, 11, 11, 1, 152064, 0xa8459cb1
+0, 12, 12, 1, 152064, 0xc0771945
+0, 13, 13, 1, 152064, 0xfcbc351d
+0, 14, 14, 1, 152064, 0xd925dfa3
+0, 15, 15, 1, 152064, 0x7c627c21
+0, 16, 16, 1, 152064, 0x617d8d96
+0, 17, 17, 1, 152064, 0x91816b34
+0, 18, 18, 1, 152064, 0xece0eaf8
+0, 19, 19, 1, 152064, 0x7b1408ef
+0, 20, 20, 1, 152064, 0x7430c4d2
+0, 21, 21, 1, 152064, 0xdb5844fa
+0, 22, 22, 1, 152064, 0xcc874ff7
+0, 23, 23, 1, 152064, 0x97630fb8
+0, 24, 24, 1, 152064, 0x16ae9c92
diff --git a/tests/ref/fate/h264-conformance-cabastbr3_sony_b b/tests/ref/fate/h264-conformance-cabastbr3_sony_b
index d51959b80d..765f53f632 100644
--- a/tests/ref/fate/h264-conformance-cabastbr3_sony_b
+++ b/tests/ref/fate/h264-conformance-cabastbr3_sony_b
@@ -1,25 +1,26 @@
-0, 0, 152064, 0x96ebb3a2
-0, 3600, 152064, 0x5184d912
-0, 7200, 152064, 0xb7b5ba68
-0, 10800, 152064, 0x6dd81860
-0, 14400, 152064, 0xcffe2ff0
-0, 18000, 152064, 0x27740140
-0, 21600, 152064, 0xffa5609f
-0, 25200, 152064, 0x05e9a6c6
-0, 28800, 152064, 0xa5ea5692
-0, 32400, 152064, 0x78a9dd79
-0, 36000, 152064, 0x2bf218b3
-0, 39600, 152064, 0x4591cadc
-0, 43200, 152064, 0x075428a8
-0, 46800, 152064, 0xbbda56d8
-0, 50400, 152064, 0xc8fa1a28
-0, 54000, 152064, 0x7c627c21
-0, 57600, 152064, 0x9043ba42
-0, 61200, 152064, 0xb426940d
-0, 64800, 152064, 0x51d4058b
-0, 68400, 152064, 0xb7513536
-0, 72000, 152064, 0xe906ffab
-0, 75600, 152064, 0x3d075443
-0, 79200, 152064, 0x85c37afd
-0, 82800, 152064, 0x2ac74040
-0, 86400, 152064, 0x3a08aa90
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x96ebb3a2
+0, 1, 1, 1, 152064, 0x5184d912
+0, 2, 2, 1, 152064, 0xb7b5ba68
+0, 3, 3, 1, 152064, 0x6dd81860
+0, 4, 4, 1, 152064, 0xcffe2ff0
+0, 5, 5, 1, 152064, 0x27740140
+0, 6, 6, 1, 152064, 0xffa5609f
+0, 7, 7, 1, 152064, 0x05e9a6c6
+0, 8, 8, 1, 152064, 0xa5ea5692
+0, 9, 9, 1, 152064, 0x78a9dd79
+0, 10, 10, 1, 152064, 0x2bf218b3
+0, 11, 11, 1, 152064, 0x4591cadc
+0, 12, 12, 1, 152064, 0x075428a8
+0, 13, 13, 1, 152064, 0xbbda56d8
+0, 14, 14, 1, 152064, 0xc8fa1a28
+0, 15, 15, 1, 152064, 0x7c627c21
+0, 16, 16, 1, 152064, 0x9043ba42
+0, 17, 17, 1, 152064, 0xb426940d
+0, 18, 18, 1, 152064, 0x51d4058b
+0, 19, 19, 1, 152064, 0xb7513536
+0, 20, 20, 1, 152064, 0xe906ffab
+0, 21, 21, 1, 152064, 0x3d075443
+0, 22, 22, 1, 152064, 0x85c37afd
+0, 23, 23, 1, 152064, 0x2ac74040
+0, 24, 24, 1, 152064, 0x3a08aa90
diff --git a/tests/ref/fate/h264-conformance-cabref3_sand_d b/tests/ref/fate/h264-conformance-cabref3_sand_d
index 7d75e01897..9e555f6ee6 100644
--- a/tests/ref/fate/h264-conformance-cabref3_sand_d
+++ b/tests/ref/fate/h264-conformance-cabref3_sand_d
@@ -1,50 +1,51 @@
-0, 0, 152064, 0x2061bbd0
-0, 3600, 152064, 0x41adb750
-0, 7200, 152064, 0x6e889e90
-0, 10800, 152064, 0xbb5e60f5
-0, 14400, 152064, 0x5a32eca7
-0, 18000, 152064, 0x5cb05e88
-0, 21600, 152064, 0x2fff3e6c
-0, 25200, 152064, 0xd917c85e
-0, 28800, 152064, 0x6eac446f
-0, 32400, 152064, 0x238b24b0
-0, 36000, 152064, 0x3f3bd44c
-0, 39600, 152064, 0x73982bc5
-0, 43200, 152064, 0xf6188a82
-0, 46800, 152064, 0x818c5b41
-0, 50400, 152064, 0x000d1012
-0, 54000, 152064, 0xc4a8750e
-0, 57600, 152064, 0x1689bb77
-0, 61200, 152064, 0x8f52f338
-0, 64800, 152064, 0xbf5ee06b
-0, 68400, 152064, 0x89508ad7
-0, 72000, 152064, 0x2b1986a6
-0, 75600, 152064, 0xe6fd6b0e
-0, 79200, 152064, 0x883e2e4e
-0, 82800, 152064, 0xd133db07
-0, 86400, 152064, 0x39b3bb22
-0, 90000, 152064, 0x8447410a
-0, 93600, 152064, 0x9c66c6e5
-0, 97200, 152064, 0x514de9cc
-0, 100800, 152064, 0x08d9f1da
-0, 104400, 152064, 0x8f10f536
-0, 108000, 152064, 0x57d4b27b
-0, 111600, 152064, 0x46f56d3c
-0, 115200, 152064, 0x5d260230
-0, 118800, 152064, 0x4a72aeac
-0, 122400, 152064, 0x5cfe187f
-0, 126000, 152064, 0x08e55cb2
-0, 129600, 152064, 0x4727f34f
-0, 133200, 152064, 0xd6a26f1c
-0, 136800, 152064, 0xcc1fcf9c
-0, 140400, 152064, 0x3681b775
-0, 144000, 152064, 0xf580c7d9
-0, 147600, 152064, 0xaa6747fb
-0, 151200, 152064, 0x2e22f9f9
-0, 154800, 152064, 0xb3ee6d81
-0, 158400, 152064, 0x930b0145
-0, 162000, 152064, 0xae36af99
-0, 165600, 152064, 0xeb58fd26
-0, 169200, 152064, 0xb9004da3
-0, 172800, 152064, 0x2b25e444
-0, 176400, 152064, 0xb36927de
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x2061bbd0
+0, 1, 1, 1, 152064, 0x41adb750
+0, 2, 2, 1, 152064, 0x6e889e90
+0, 3, 3, 1, 152064, 0xbb5e60f5
+0, 4, 4, 1, 152064, 0x5a32eca7
+0, 5, 5, 1, 152064, 0x5cb05e88
+0, 6, 6, 1, 152064, 0x2fff3e6c
+0, 7, 7, 1, 152064, 0xd917c85e
+0, 8, 8, 1, 152064, 0x6eac446f
+0, 9, 9, 1, 152064, 0x238b24b0
+0, 10, 10, 1, 152064, 0x3f3bd44c
+0, 11, 11, 1, 152064, 0x73982bc5
+0, 12, 12, 1, 152064, 0xf6188a82
+0, 13, 13, 1, 152064, 0x818c5b41
+0, 14, 14, 1, 152064, 0x000d1012
+0, 15, 15, 1, 152064, 0xc4a8750e
+0, 16, 16, 1, 152064, 0x1689bb77
+0, 17, 17, 1, 152064, 0x8f52f338
+0, 18, 18, 1, 152064, 0xbf5ee06b
+0, 19, 19, 1, 152064, 0x89508ad7
+0, 20, 20, 1, 152064, 0x2b1986a6
+0, 21, 21, 1, 152064, 0xe6fd6b0e
+0, 22, 22, 1, 152064, 0x883e2e4e
+0, 23, 23, 1, 152064, 0xd133db07
+0, 24, 24, 1, 152064, 0x39b3bb22
+0, 25, 25, 1, 152064, 0x8447410a
+0, 26, 26, 1, 152064, 0x9c66c6e5
+0, 27, 27, 1, 152064, 0x514de9cc
+0, 28, 28, 1, 152064, 0x08d9f1da
+0, 29, 29, 1, 152064, 0x8f10f536
+0, 30, 30, 1, 152064, 0x57d4b27b
+0, 31, 31, 1, 152064, 0x46f56d3c
+0, 32, 32, 1, 152064, 0x5d260230
+0, 33, 33, 1, 152064, 0x4a72aeac
+0, 34, 34, 1, 152064, 0x5cfe187f
+0, 35, 35, 1, 152064, 0x08e55cb2
+0, 36, 36, 1, 152064, 0x4727f34f
+0, 37, 37, 1, 152064, 0xd6a26f1c
+0, 38, 38, 1, 152064, 0xcc1fcf9c
+0, 39, 39, 1, 152064, 0x3681b775
+0, 40, 40, 1, 152064, 0xf580c7d9
+0, 41, 41, 1, 152064, 0xaa6747fb
+0, 42, 42, 1, 152064, 0x2e22f9f9
+0, 43, 43, 1, 152064, 0xb3ee6d81
+0, 44, 44, 1, 152064, 0x930b0145
+0, 45, 45, 1, 152064, 0xae36af99
+0, 46, 46, 1, 152064, 0xeb58fd26
+0, 47, 47, 1, 152064, 0xb9004da3
+0, 48, 48, 1, 152064, 0x2b25e444
+0, 49, 49, 1, 152064, 0xb36927de
diff --git a/tests/ref/fate/h264-conformance-cacqp3_sony_d b/tests/ref/fate/h264-conformance-cacqp3_sony_d
index 56881b3d60..c3685296fb 100644
--- a/tests/ref/fate/h264-conformance-cacqp3_sony_d
+++ b/tests/ref/fate/h264-conformance-cacqp3_sony_d
@@ -1,50 +1,51 @@
-0, 0, 38016, 0x295a375c
-0, 3600, 38016, 0xd0da1f37
-0, 7200, 38016, 0x0e5ed514
-0, 10800, 38016, 0x477dcbe7
-0, 14400, 38016, 0x2e0980f3
-0, 18000, 38016, 0xf6d0888f
-0, 21600, 38016, 0x884f4bf2
-0, 25200, 38016, 0x75135ea9
-0, 28800, 38016, 0xc85031bd
-0, 32400, 38016, 0x4dde6353
-0, 36000, 38016, 0x8c8f4f2a
-0, 39600, 38016, 0xbdae892b
-0, 43200, 38016, 0x4898783a
-0, 46800, 38016, 0xb4cc9d6b
-0, 50400, 38016, 0xd24f8797
-0, 54000, 38016, 0x74c4a0df
-0, 57600, 38016, 0x43e58a83
-0, 61200, 38016, 0x05bba901
-0, 64800, 38016, 0xe2d57f63
-0, 68400, 38016, 0xdb398611
-0, 72000, 38016, 0x7f143de2
-0, 75600, 38016, 0xff39406f
-0, 79200, 38016, 0xfed61162
-0, 82800, 38016, 0xb9e62a1e
-0, 86400, 38016, 0x65f316d1
-0, 90000, 38016, 0xda782b9c
-0, 93600, 38016, 0xb64b202c
-0, 97200, 38016, 0xb2b141ea
-0, 100800, 38016, 0xdb6b421b
-0, 104400, 38016, 0xf3287342
-0, 108000, 38016, 0xfbb35b92
-0, 111600, 38016, 0x8c77a0de
-0, 115200, 38016, 0x326c9cb4
-0, 118800, 38016, 0x7e73cc0c
-0, 122400, 38016, 0xb948b8e9
-0, 126000, 38016, 0x6f7adb29
-0, 129600, 38016, 0xb629b8c5
-0, 133200, 38016, 0xf798ccd4
-0, 136800, 38016, 0xde5bb331
-0, 140400, 38016, 0xbca4d8dc
-0, 144000, 38016, 0x9369ba10
-0, 147600, 38016, 0x581ed965
-0, 151200, 38016, 0xce7bbd59
-0, 154800, 38016, 0x95d9ce3d
-0, 158400, 38016, 0x6154bd98
-0, 162000, 38016, 0xa279c487
-0, 165600, 38016, 0x8169b5a6
-0, 169200, 38016, 0x709dc334
-0, 172800, 38016, 0x82aabea1
-0, 176400, 38016, 0x6923c4c3
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x295a375c
+0, 1, 1, 1, 38016, 0xd0da1f37
+0, 2, 2, 1, 38016, 0x0e5ed514
+0, 3, 3, 1, 38016, 0x477dcbe7
+0, 4, 4, 1, 38016, 0x2e0980f3
+0, 5, 5, 1, 38016, 0xf6d0888f
+0, 6, 6, 1, 38016, 0x884f4bf2
+0, 7, 7, 1, 38016, 0x75135ea9
+0, 8, 8, 1, 38016, 0xc85031bd
+0, 9, 9, 1, 38016, 0x4dde6353
+0, 10, 10, 1, 38016, 0x8c8f4f2a
+0, 11, 11, 1, 38016, 0xbdae892b
+0, 12, 12, 1, 38016, 0x4898783a
+0, 13, 13, 1, 38016, 0xb4cc9d6b
+0, 14, 14, 1, 38016, 0xd24f8797
+0, 15, 15, 1, 38016, 0x74c4a0df
+0, 16, 16, 1, 38016, 0x43e58a83
+0, 17, 17, 1, 38016, 0x05bba901
+0, 18, 18, 1, 38016, 0xe2d57f63
+0, 19, 19, 1, 38016, 0xdb398611
+0, 20, 20, 1, 38016, 0x7f143de2
+0, 21, 21, 1, 38016, 0xff39406f
+0, 22, 22, 1, 38016, 0xfed61162
+0, 23, 23, 1, 38016, 0xb9e62a1e
+0, 24, 24, 1, 38016, 0x65f316d1
+0, 25, 25, 1, 38016, 0xda782b9c
+0, 26, 26, 1, 38016, 0xb64b202c
+0, 27, 27, 1, 38016, 0xb2b141ea
+0, 28, 28, 1, 38016, 0xdb6b421b
+0, 29, 29, 1, 38016, 0xf3287342
+0, 30, 30, 1, 38016, 0xfbb35b92
+0, 31, 31, 1, 38016, 0x8c77a0de
+0, 32, 32, 1, 38016, 0x326c9cb4
+0, 33, 33, 1, 38016, 0x7e73cc0c
+0, 34, 34, 1, 38016, 0xb948b8e9
+0, 35, 35, 1, 38016, 0x6f7adb29
+0, 36, 36, 1, 38016, 0xb629b8c5
+0, 37, 37, 1, 38016, 0xf798ccd4
+0, 38, 38, 1, 38016, 0xde5bb331
+0, 39, 39, 1, 38016, 0xbca4d8dc
+0, 40, 40, 1, 38016, 0x9369ba10
+0, 41, 41, 1, 38016, 0x581ed965
+0, 42, 42, 1, 38016, 0xce7bbd59
+0, 43, 43, 1, 38016, 0x95d9ce3d
+0, 44, 44, 1, 38016, 0x6154bd98
+0, 45, 45, 1, 38016, 0xa279c487
+0, 46, 46, 1, 38016, 0x8169b5a6
+0, 47, 47, 1, 38016, 0x709dc334
+0, 48, 48, 1, 38016, 0x82aabea1
+0, 49, 49, 1, 38016, 0x6923c4c3
diff --git a/tests/ref/fate/h264-conformance-cafi1_sva_c b/tests/ref/fate/h264-conformance-cafi1_sva_c
index c652ce268f..180adf186b 100644
--- a/tests/ref/fate/h264-conformance-cafi1_sva_c
+++ b/tests/ref/fate/h264-conformance-cafi1_sva_c
@@ -1,33 +1,34 @@
-0, 0, 518400, 0x47bd73fa
-0, 3600, 518400, 0xfe3ea7cc
-0, 7200, 518400, 0x9bc549ae
-0, 10800, 518400, 0x7bb7f0a1
-0, 14400, 518400, 0x328903d4
-0, 18000, 518400, 0x96ab366b
-0, 21600, 518400, 0xa923eed3
-0, 25200, 518400, 0x162b08f6
-0, 28800, 518400, 0xe711bd8b
-0, 32400, 518400, 0x55e2d4ed
-0, 36000, 518400, 0x7dd3107b
-0, 39600, 518400, 0x0ed20bcf
-0, 43200, 518400, 0x352f5743
-0, 46800, 518400, 0x0a3aeb5e
-0, 50400, 518400, 0xc458eda3
-0, 54000, 518400, 0xe8d5fec5
-0, 57600, 518400, 0x18fc6c37
-0, 61200, 518400, 0x448add76
-0, 64800, 518400, 0x8741ead7
-0, 68400, 518400, 0x7008a751
-0, 72000, 518400, 0x4ca0633d
-0, 75600, 518400, 0x021ab800
-0, 79200, 518400, 0xfb91ba57
-0, 82800, 518400, 0x90e71dd0
-0, 86400, 518400, 0xac859de5
-0, 90000, 518400, 0xce9790bd
-0, 93600, 518400, 0x010ade8b
-0, 97200, 518400, 0xd0b3a399
-0, 100800, 518400, 0x6cafcff3
-0, 104400, 518400, 0xc32284c0
-0, 108000, 518400, 0x1af8f73e
-0, 111600, 518400, 0x3babd71e
-0, 115200, 518400, 0xd77cb86b
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x47bd73fa
+0, 1, 1, 1, 518400, 0xfe3ea7cc
+0, 2, 2, 1, 518400, 0x9bc549ae
+0, 3, 3, 1, 518400, 0x7bb7f0a1
+0, 4, 4, 1, 518400, 0x328903d4
+0, 5, 5, 1, 518400, 0x96ab366b
+0, 6, 6, 1, 518400, 0xa923eed3
+0, 7, 7, 1, 518400, 0x162b08f6
+0, 8, 8, 1, 518400, 0xe711bd8b
+0, 9, 9, 1, 518400, 0x55e2d4ed
+0, 10, 10, 1, 518400, 0x7dd3107b
+0, 11, 11, 1, 518400, 0x0ed20bcf
+0, 12, 12, 1, 518400, 0x352f5743
+0, 13, 13, 1, 518400, 0x0a3aeb5e
+0, 14, 14, 1, 518400, 0xc458eda3
+0, 15, 15, 1, 518400, 0xe8d5fec5
+0, 16, 16, 1, 518400, 0x18fc6c37
+0, 17, 17, 1, 518400, 0x448add76
+0, 18, 18, 1, 518400, 0x8741ead7
+0, 19, 19, 1, 518400, 0x7008a751
+0, 20, 20, 1, 518400, 0x4ca0633d
+0, 21, 21, 1, 518400, 0x021ab800
+0, 22, 22, 1, 518400, 0xfb91ba57
+0, 23, 23, 1, 518400, 0x90e71dd0
+0, 24, 24, 1, 518400, 0xac859de5
+0, 25, 25, 1, 518400, 0xce9790bd
+0, 26, 26, 1, 518400, 0x010ade8b
+0, 27, 27, 1, 518400, 0xd0b3a399
+0, 28, 28, 1, 518400, 0x6cafcff3
+0, 29, 29, 1, 518400, 0xc32284c0
+0, 30, 30, 1, 518400, 0x1af8f73e
+0, 31, 31, 1, 518400, 0x3babd71e
+0, 32, 32, 1, 518400, 0xd77cb86b
diff --git a/tests/ref/fate/h264-conformance-cama1_sony_c b/tests/ref/fate/h264-conformance-cama1_sony_c
index 6b309aab49..66852165d4 100644
--- a/tests/ref/fate/h264-conformance-cama1_sony_c
+++ b/tests/ref/fate/h264-conformance-cama1_sony_c
@@ -1,5 +1,6 @@
-0, 0, 518400, 0x75701511
-0, 3600, 518400, 0xa7eeaa16
-0, 7200, 518400, 0xe0f32e35
-0, 10800, 518400, 0x7a1dadd9
-0, 14400, 518400, 0x4a1672a6
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x75701511
+0, 1, 1, 1, 518400, 0xa7eeaa16
+0, 2, 2, 1, 518400, 0xe0f32e35
+0, 3, 3, 1, 518400, 0x7a1dadd9
+0, 4, 4, 1, 518400, 0x4a1672a6
diff --git a/tests/ref/fate/h264-conformance-cama1_toshiba_b b/tests/ref/fate/h264-conformance-cama1_toshiba_b
index 897e915e25..ab2da4a736 100644
--- a/tests/ref/fate/h264-conformance-cama1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cama1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0x9a9ce366
-0, 3600, 152064, 0xf4639828
-0, 7200, 152064, 0x625024a3
-0, 10800, 152064, 0x80dc2f9d
-0, 14400, 152064, 0xb2c4feea
-0, 18000, 152064, 0x4ec6ad64
-0, 21600, 152064, 0x1957bec3
-0, 25200, 152064, 0xb682799d
-0, 28800, 152064, 0x34cd2053
-0, 32400, 152064, 0x81490b4c
-0, 36000, 152064, 0x242dc943
-0, 39600, 152064, 0x3e126734
-0, 43200, 152064, 0x8e474ff8
-0, 46800, 152064, 0x239d2fbd
-0, 50400, 152064, 0x0ca3e16f
-0, 54000, 152064, 0x6161d7c2
-0, 57600, 152064, 0xca7ad1af
-0, 61200, 152064, 0xf8ef9026
-0, 64800, 152064, 0x01f2f4c1
-0, 68400, 152064, 0x510b19ec
-0, 72000, 152064, 0xe489028b
-0, 75600, 152064, 0x7a693c1e
-0, 79200, 152064, 0x276b23fe
-0, 82800, 152064, 0x0e9ced3a
-0, 86400, 152064, 0x658228f7
-0, 90000, 152064, 0x6a271bc3
-0, 93600, 152064, 0x431ecd8b
-0, 97200, 152064, 0x23a5ed14
-0, 100800, 152064, 0x76fbe121
-0, 104400, 152064, 0x471f919d
-0, 108000, 152064, 0x16bfabbc
-0, 111600, 152064, 0x0762993f
-0, 115200, 152064, 0x5a2b0b0e
-0, 118800, 152064, 0x81415ef7
-0, 122400, 152064, 0xb96e4164
-0, 126000, 152064, 0xf77aee83
-0, 129600, 152064, 0x6af81633
-0, 133200, 152064, 0xed78e5b5
-0, 136800, 152064, 0x67e38e2c
-0, 140400, 152064, 0x0417ae01
-0, 144000, 152064, 0x3887b312
-0, 147600, 152064, 0x3a4b70fb
-0, 151200, 152064, 0xcaae9e7f
-0, 154800, 152064, 0xaf9597be
-0, 158400, 152064, 0x9bae63d3
-0, 162000, 152064, 0x0e80825f
-0, 165600, 152064, 0x915661fd
-0, 169200, 152064, 0x67d3dc94
-0, 172800, 152064, 0x3dcf240c
-0, 176400, 152064, 0x127ff832
-0, 180000, 152064, 0xc8969981
-0, 183600, 152064, 0x57179c77
-0, 187200, 152064, 0x9f88656c
-0, 190800, 152064, 0xc28ff5d3
-0, 194400, 152064, 0xf100fad9
-0, 198000, 152064, 0xb570ce12
-0, 201600, 152064, 0xe8f28955
-0, 205200, 152064, 0x1f0a9549
-0, 208800, 152064, 0x22b17e9b
-0, 212400, 152064, 0x7cf1400e
-0, 216000, 152064, 0xafd273b7
-0, 219600, 152064, 0xeb9b712e
-0, 223200, 152064, 0x0f81de24
-0, 226800, 152064, 0x8f4e1953
-0, 230400, 152064, 0x682e2170
-0, 234000, 152064, 0xc32ad1b2
-0, 237600, 152064, 0x53a81d79
-0, 241200, 152064, 0x54002596
-0, 244800, 152064, 0x4b5fdbd9
-0, 248400, 152064, 0x96613368
-0, 252000, 152064, 0xd6ac0171
-0, 255600, 152064, 0xf1c1b7b7
-0, 259200, 152064, 0xc730d82f
-0, 262800, 152064, 0x0415d934
-0, 266400, 152064, 0x5338915e
-0, 270000, 152064, 0x8e9dda6d
-0, 273600, 152064, 0xe3a8b0a0
-0, 277200, 152064, 0x5fa36e44
-0, 280800, 152064, 0x0e63dc72
-0, 284400, 152064, 0xd0dad71f
-0, 288000, 152064, 0x0c4aac94
-0, 291600, 152064, 0x60d50e8d
-0, 295200, 152064, 0x96872d7c
-0, 298800, 152064, 0x4fcefc33
-0, 302400, 152064, 0x6b8157c9
-0, 306000, 152064, 0xa40d527d
-0, 309600, 152064, 0x9884480a
-0, 313200, 152064, 0xff5d9754
-0, 316800, 152064, 0x4a26a74d
-0, 320400, 152064, 0x81059e82
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9a9ce366
+0, 1, 1, 1, 152064, 0xf4639828
+0, 2, 2, 1, 152064, 0x625024a3
+0, 3, 3, 1, 152064, 0x80dc2f9d
+0, 4, 4, 1, 152064, 0xb2c4feea
+0, 5, 5, 1, 152064, 0x4ec6ad64
+0, 6, 6, 1, 152064, 0x1957bec3
+0, 7, 7, 1, 152064, 0xb682799d
+0, 8, 8, 1, 152064, 0x34cd2053
+0, 9, 9, 1, 152064, 0x81490b4c
+0, 10, 10, 1, 152064, 0x242dc943
+0, 11, 11, 1, 152064, 0x3e126734
+0, 12, 12, 1, 152064, 0x8e474ff8
+0, 13, 13, 1, 152064, 0x239d2fbd
+0, 14, 14, 1, 152064, 0x0ca3e16f
+0, 15, 15, 1, 152064, 0x6161d7c2
+0, 16, 16, 1, 152064, 0xca7ad1af
+0, 17, 17, 1, 152064, 0xf8ef9026
+0, 18, 18, 1, 152064, 0x01f2f4c1
+0, 19, 19, 1, 152064, 0x510b19ec
+0, 20, 20, 1, 152064, 0xe489028b
+0, 21, 21, 1, 152064, 0x7a693c1e
+0, 22, 22, 1, 152064, 0x276b23fe
+0, 23, 23, 1, 152064, 0x0e9ced3a
+0, 24, 24, 1, 152064, 0x658228f7
+0, 25, 25, 1, 152064, 0x6a271bc3
+0, 26, 26, 1, 152064, 0x431ecd8b
+0, 27, 27, 1, 152064, 0x23a5ed14
+0, 28, 28, 1, 152064, 0x76fbe121
+0, 29, 29, 1, 152064, 0x471f919d
+0, 30, 30, 1, 152064, 0x16bfabbc
+0, 31, 31, 1, 152064, 0x0762993f
+0, 32, 32, 1, 152064, 0x5a2b0b0e
+0, 33, 33, 1, 152064, 0x81415ef7
+0, 34, 34, 1, 152064, 0xb96e4164
+0, 35, 35, 1, 152064, 0xf77aee83
+0, 36, 36, 1, 152064, 0x6af81633
+0, 37, 37, 1, 152064, 0xed78e5b5
+0, 38, 38, 1, 152064, 0x67e38e2c
+0, 39, 39, 1, 152064, 0x0417ae01
+0, 40, 40, 1, 152064, 0x3887b312
+0, 41, 41, 1, 152064, 0x3a4b70fb
+0, 42, 42, 1, 152064, 0xcaae9e7f
+0, 43, 43, 1, 152064, 0xaf9597be
+0, 44, 44, 1, 152064, 0x9bae63d3
+0, 45, 45, 1, 152064, 0x0e80825f
+0, 46, 46, 1, 152064, 0x915661fd
+0, 47, 47, 1, 152064, 0x67d3dc94
+0, 48, 48, 1, 152064, 0x3dcf240c
+0, 49, 49, 1, 152064, 0x127ff832
+0, 50, 50, 1, 152064, 0xc8969981
+0, 51, 51, 1, 152064, 0x57179c77
+0, 52, 52, 1, 152064, 0x9f88656c
+0, 53, 53, 1, 152064, 0xc28ff5d3
+0, 54, 54, 1, 152064, 0xf100fad9
+0, 55, 55, 1, 152064, 0xb570ce12
+0, 56, 56, 1, 152064, 0xe8f28955
+0, 57, 57, 1, 152064, 0x1f0a9549
+0, 58, 58, 1, 152064, 0x22b17e9b
+0, 59, 59, 1, 152064, 0x7cf1400e
+0, 60, 60, 1, 152064, 0xafd273b7
+0, 61, 61, 1, 152064, 0xeb9b712e
+0, 62, 62, 1, 152064, 0x0f81de24
+0, 63, 63, 1, 152064, 0x8f4e1953
+0, 64, 64, 1, 152064, 0x682e2170
+0, 65, 65, 1, 152064, 0xc32ad1b2
+0, 66, 66, 1, 152064, 0x53a81d79
+0, 67, 67, 1, 152064, 0x54002596
+0, 68, 68, 1, 152064, 0x4b5fdbd9
+0, 69, 69, 1, 152064, 0x96613368
+0, 70, 70, 1, 152064, 0xd6ac0171
+0, 71, 71, 1, 152064, 0xf1c1b7b7
+0, 72, 72, 1, 152064, 0xc730d82f
+0, 73, 73, 1, 152064, 0x0415d934
+0, 74, 74, 1, 152064, 0x5338915e
+0, 75, 75, 1, 152064, 0x8e9dda6d
+0, 76, 76, 1, 152064, 0xe3a8b0a0
+0, 77, 77, 1, 152064, 0x5fa36e44
+0, 78, 78, 1, 152064, 0x0e63dc72
+0, 79, 79, 1, 152064, 0xd0dad71f
+0, 80, 80, 1, 152064, 0x0c4aac94
+0, 81, 81, 1, 152064, 0x60d50e8d
+0, 82, 82, 1, 152064, 0x96872d7c
+0, 83, 83, 1, 152064, 0x4fcefc33
+0, 84, 84, 1, 152064, 0x6b8157c9
+0, 85, 85, 1, 152064, 0xa40d527d
+0, 86, 86, 1, 152064, 0x9884480a
+0, 87, 87, 1, 152064, 0xff5d9754
+0, 88, 88, 1, 152064, 0x4a26a74d
+0, 89, 89, 1, 152064, 0x81059e82
diff --git a/tests/ref/fate/h264-conformance-cama1_vtc_c b/tests/ref/fate/h264-conformance-cama1_vtc_c
index 8c0e226831..eeb66b0e1c 100644
--- a/tests/ref/fate/h264-conformance-cama1_vtc_c
+++ b/tests/ref/fate/h264-conformance-cama1_vtc_c
@@ -1,4 +1,5 @@
-0, 0, 518400, 0x41c2ce17
-0, 3600, 518400, 0x39f217da
-0, 7200, 518400, 0x5a108db9
-0, 10800, 518400, 0x20cb214c
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x41c2ce17
+0, 1, 1, 1, 518400, 0x39f217da
+0, 2, 2, 1, 518400, 0x5a108db9
+0, 3, 3, 1, 518400, 0x20cb214c
diff --git a/tests/ref/fate/h264-conformance-cama2_vtc_b b/tests/ref/fate/h264-conformance-cama2_vtc_b
index 8320f1f6ab..0dfe6a9ac3 100644
--- a/tests/ref/fate/h264-conformance-cama2_vtc_b
+++ b/tests/ref/fate/h264-conformance-cama2_vtc_b
@@ -1,4 +1,5 @@
-0, 0, 622080, 0x004bb93f
-0, 3600, 622080, 0xe70e193c
-0, 7200, 622080, 0xd394cf17
-0, 10800, 622080, 0x9e4cc924
+#tb 0: 1/25
+0, 0, 0, 1, 622080, 0x004bb93f
+0, 1, 1, 1, 622080, 0xe70e193c
+0, 2, 2, 1, 622080, 0xd394cf17
+0, 3, 3, 1, 622080, 0x9e4cc924
diff --git a/tests/ref/fate/h264-conformance-cama3_sand_e b/tests/ref/fate/h264-conformance-cama3_sand_e
index 77927c9ad5..f89bc40d1f 100644
--- a/tests/ref/fate/h264-conformance-cama3_sand_e
+++ b/tests/ref/fate/h264-conformance-cama3_sand_e
@@ -1,50 +1,51 @@
-0, 0, 152064, 0xf772f152
-0, 3600, 152064, 0x7c501772
-0, 7200, 152064, 0x98ed0a07
-0, 10800, 152064, 0x8f9289ae
-0, 14400, 152064, 0x4047c5e6
-0, 18000, 152064, 0xf1f11922
-0, 21600, 152064, 0xef8d8130
-0, 25200, 152064, 0x6cef489d
-0, 28800, 152064, 0x3743a97f
-0, 32400, 152064, 0x9d6b9846
-0, 36000, 152064, 0x332e05a7
-0, 39600, 152064, 0x7dad10af
-0, 43200, 152064, 0x835c99de
-0, 46800, 152064, 0x2ba3f9bb
-0, 50400, 152064, 0xf8ab5286
-0, 54000, 152064, 0x76624cca
-0, 57600, 152064, 0x8ebf6342
-0, 61200, 152064, 0x8756f87b
-0, 64800, 152064, 0xf005bc2f
-0, 68400, 152064, 0x9b1ae18e
-0, 72000, 152064, 0x3e1154aa
-0, 75600, 152064, 0x851e28d6
-0, 79200, 152064, 0x940a2518
-0, 82800, 152064, 0x861be99c
-0, 86400, 152064, 0x21a788a7
-0, 90000, 152064, 0x53e216eb
-0, 93600, 152064, 0x053cb9ec
-0, 97200, 152064, 0x3bb5cfc6
-0, 100800, 152064, 0x92b250c3
-0, 104400, 152064, 0xacc20f1c
-0, 108000, 152064, 0xb01256d3
-0, 111600, 152064, 0x6db62cf2
-0, 115200, 152064, 0x7fa3074d
-0, 118800, 152064, 0x63385103
-0, 122400, 152064, 0x83ba02b6
-0, 126000, 152064, 0x3731edbb
-0, 129600, 152064, 0xb73d5b99
-0, 133200, 152064, 0xd2e743e2
-0, 136800, 152064, 0x4bcd5bf2
-0, 140400, 152064, 0x45ef7b97
-0, 144000, 152064, 0x757952c6
-0, 147600, 152064, 0xed73e3db
-0, 151200, 152064, 0x8cf41b15
-0, 154800, 152064, 0x86e2b02d
-0, 158400, 152064, 0xf8d16c87
-0, 162000, 152064, 0x6720db65
-0, 165600, 152064, 0x67a5a150
-0, 169200, 152064, 0x1849fa2a
-0, 172800, 152064, 0xb0156742
-0, 176400, 152064, 0xde75b1fd
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf772f152
+0, 1, 1, 1, 152064, 0x7c501772
+0, 2, 2, 1, 152064, 0x98ed0a07
+0, 3, 3, 1, 152064, 0x8f9289ae
+0, 4, 4, 1, 152064, 0x4047c5e6
+0, 5, 5, 1, 152064, 0xf1f11922
+0, 6, 6, 1, 152064, 0xef8d8130
+0, 7, 7, 1, 152064, 0x6cef489d
+0, 8, 8, 1, 152064, 0x3743a97f
+0, 9, 9, 1, 152064, 0x9d6b9846
+0, 10, 10, 1, 152064, 0x332e05a7
+0, 11, 11, 1, 152064, 0x7dad10af
+0, 12, 12, 1, 152064, 0x835c99de
+0, 13, 13, 1, 152064, 0x2ba3f9bb
+0, 14, 14, 1, 152064, 0xf8ab5286
+0, 15, 15, 1, 152064, 0x76624cca
+0, 16, 16, 1, 152064, 0x8ebf6342
+0, 17, 17, 1, 152064, 0x8756f87b
+0, 18, 18, 1, 152064, 0xf005bc2f
+0, 19, 19, 1, 152064, 0x9b1ae18e
+0, 20, 20, 1, 152064, 0x3e1154aa
+0, 21, 21, 1, 152064, 0x851e28d6
+0, 22, 22, 1, 152064, 0x940a2518
+0, 23, 23, 1, 152064, 0x861be99c
+0, 24, 24, 1, 152064, 0x21a788a7
+0, 25, 25, 1, 152064, 0x53e216eb
+0, 26, 26, 1, 152064, 0x053cb9ec
+0, 27, 27, 1, 152064, 0x3bb5cfc6
+0, 28, 28, 1, 152064, 0x92b250c3
+0, 29, 29, 1, 152064, 0xacc20f1c
+0, 30, 30, 1, 152064, 0xb01256d3
+0, 31, 31, 1, 152064, 0x6db62cf2
+0, 32, 32, 1, 152064, 0x7fa3074d
+0, 33, 33, 1, 152064, 0x63385103
+0, 34, 34, 1, 152064, 0x83ba02b6
+0, 35, 35, 1, 152064, 0x3731edbb
+0, 36, 36, 1, 152064, 0xb73d5b99
+0, 37, 37, 1, 152064, 0xd2e743e2
+0, 38, 38, 1, 152064, 0x4bcd5bf2
+0, 39, 39, 1, 152064, 0x45ef7b97
+0, 40, 40, 1, 152064, 0x757952c6
+0, 41, 41, 1, 152064, 0xed73e3db
+0, 42, 42, 1, 152064, 0x8cf41b15
+0, 43, 43, 1, 152064, 0x86e2b02d
+0, 44, 44, 1, 152064, 0xf8d16c87
+0, 45, 45, 1, 152064, 0x6720db65
+0, 46, 46, 1, 152064, 0x67a5a150
+0, 47, 47, 1, 152064, 0x1849fa2a
+0, 48, 48, 1, 152064, 0xb0156742
+0, 49, 49, 1, 152064, 0xde75b1fd
diff --git a/tests/ref/fate/h264-conformance-cama3_vtc_b b/tests/ref/fate/h264-conformance-cama3_vtc_b
index 8e7a3517eb..46821c1798 100644
--- a/tests/ref/fate/h264-conformance-cama3_vtc_b
+++ b/tests/ref/fate/h264-conformance-cama3_vtc_b
@@ -1,4 +1,5 @@
-0, 0, 622080, 0xf3f0bf86
-0, 3600, 622080, 0x6aaf3d42
-0, 7200, 622080, 0xe53bcd5d
-0, 10800, 622080, 0x8dabca9d
+#tb 0: 1/25
+0, 0, 0, 1, 622080, 0xf3f0bf86
+0, 1, 1, 1, 622080, 0x6aaf3d42
+0, 2, 2, 1, 622080, 0xe53bcd5d
+0, 3, 3, 1, 622080, 0x8dabca9d
diff --git a/tests/ref/fate/h264-conformance-camaci3_sony_c b/tests/ref/fate/h264-conformance-camaci3_sony_c
index 643d8039ef..5896460fe0 100644
--- a/tests/ref/fate/h264-conformance-camaci3_sony_c
+++ b/tests/ref/fate/h264-conformance-camaci3_sony_c
@@ -1,17 +1,18 @@
-0, 0, 36864, 0x9b5dcf28
-0, 3600, 36864, 0xb13d4fee
-0, 7200, 36864, 0x11c512ac
-0, 10800, 36864, 0xc013b0e3
-0, 14400, 36864, 0x25002dae
-0, 18000, 36864, 0xefd0055a
-0, 21600, 36864, 0x6be2d3b2
-0, 25200, 36864, 0xa8a0d525
-0, 28800, 36864, 0x1bf942e8
-0, 32400, 36864, 0x5c08c94f
-0, 36000, 36864, 0x5555e762
-0, 39600, 36864, 0xcc1429c7
-0, 43200, 36864, 0xa3cc1535
-0, 46800, 36864, 0x14dc2b75
-0, 50400, 36864, 0x6b965ce9
-0, 54000, 36864, 0x7424d19b
-0, 57600, 36864, 0xcada6a7f
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0x9b5dcf28
+0, 1, 1, 1, 36864, 0xb13d4fee
+0, 2, 2, 1, 36864, 0x11c512ac
+0, 3, 3, 1, 36864, 0xc013b0e3
+0, 4, 4, 1, 36864, 0x25002dae
+0, 5, 5, 1, 36864, 0xefd0055a
+0, 6, 6, 1, 36864, 0x6be2d3b2
+0, 7, 7, 1, 36864, 0xa8a0d525
+0, 8, 8, 1, 36864, 0x1bf942e8
+0, 9, 9, 1, 36864, 0x5c08c94f
+0, 10, 10, 1, 36864, 0x5555e762
+0, 11, 11, 1, 36864, 0xcc1429c7
+0, 12, 12, 1, 36864, 0xa3cc1535
+0, 13, 13, 1, 36864, 0x14dc2b75
+0, 14, 14, 1, 36864, 0x6b965ce9
+0, 15, 15, 1, 36864, 0x7424d19b
+0, 16, 16, 1, 36864, 0xcada6a7f
diff --git a/tests/ref/fate/h264-conformance-camanl1_toshiba_b b/tests/ref/fate/h264-conformance-camanl1_toshiba_b
index 07422b8d20..2c3c557071 100644
--- a/tests/ref/fate/h264-conformance-camanl1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-camanl1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xb1edd842
-0, 3600, 152064, 0x551f8f45
-0, 7200, 152064, 0xb4931cb2
-0, 10800, 152064, 0x78882b27
-0, 14400, 152064, 0x3afef36d
-0, 18000, 152064, 0x85afad0a
-0, 21600, 152064, 0x3a8bab81
-0, 25200, 152064, 0x2a437174
-0, 28800, 152064, 0x22421437
-0, 32400, 152064, 0x39c5f125
-0, 36000, 152064, 0x256eaad2
-0, 39600, 152064, 0x668a5d31
-0, 43200, 152064, 0x412a4aa7
-0, 46800, 152064, 0x3f091baf
-0, 50400, 152064, 0xbf16d262
-0, 54000, 152064, 0x2fc4ce67
-0, 57600, 152064, 0x119cde3e
-0, 61200, 152064, 0xb40b8632
-0, 64800, 152064, 0x4be4f192
-0, 68400, 152064, 0x906c1237
-0, 72000, 152064, 0x95380024
-0, 75600, 152064, 0x6a833025
-0, 79200, 152064, 0x681d1c4f
-0, 82800, 152064, 0x08c8dea4
-0, 86400, 152064, 0xc69226f0
-0, 90000, 152064, 0x86631102
-0, 93600, 152064, 0x7f40c77a
-0, 97200, 152064, 0xc746ddd4
-0, 100800, 152064, 0x5f2bd3cb
-0, 104400, 152064, 0x643c8316
-0, 108000, 152064, 0x5b7fa380
-0, 111600, 152064, 0x82438cf7
-0, 115200, 152064, 0xdee0f7e7
-0, 118800, 152064, 0xc50d41f1
-0, 122400, 152064, 0xf3453631
-0, 126000, 152064, 0x90bce66b
-0, 129600, 152064, 0x045b03f7
-0, 133200, 152064, 0xf64bd756
-0, 136800, 152064, 0xff997ef2
-0, 140400, 152064, 0x3613a0a5
-0, 144000, 152064, 0xe6a7a8d6
-0, 147600, 152064, 0xb0906c42
-0, 151200, 152064, 0x4dfc912b
-0, 154800, 152064, 0x81e3991c
-0, 158400, 152064, 0x4efc61fb
-0, 162000, 152064, 0xed478395
-0, 165600, 152064, 0x4cb25ab6
-0, 169200, 152064, 0x28e7d51f
-0, 172800, 152064, 0x8bcc1a8d
-0, 176400, 152064, 0x2fe1f240
-0, 180000, 152064, 0xb4978ef8
-0, 183600, 152064, 0xe3929556
-0, 187200, 152064, 0xd370632a
-0, 190800, 152064, 0xba86ffb2
-0, 194400, 152064, 0x444bf18c
-0, 198000, 152064, 0xab40bd14
-0, 201600, 152064, 0xfd488a5d
-0, 205200, 152064, 0xe1f09568
-0, 208800, 152064, 0x09ee7a7e
-0, 212400, 152064, 0x9360397c
-0, 216000, 152064, 0xdbd467e9
-0, 219600, 152064, 0x99726777
-0, 223200, 152064, 0x009fd46c
-0, 226800, 152064, 0xcf770fdb
-0, 230400, 152064, 0x2a890fd9
-0, 234000, 152064, 0x7f40de4b
-0, 237600, 152064, 0x04191304
-0, 241200, 152064, 0x15722022
-0, 244800, 152064, 0x59f4ea93
-0, 248400, 152064, 0x28ba373f
-0, 252000, 152064, 0xf9e400b8
-0, 255600, 152064, 0x85c4bd98
-0, 259200, 152064, 0x6917d2a5
-0, 262800, 152064, 0x61cae234
-0, 266400, 152064, 0x752a9a2d
-0, 270000, 152064, 0x1ee2d9bd
-0, 273600, 152064, 0xdce9ab8e
-0, 277200, 152064, 0x51225fd0
-0, 280800, 152064, 0x10e8cb60
-0, 284400, 152064, 0x8d07cd25
-0, 288000, 152064, 0xb18ba61b
-0, 291600, 152064, 0xb0f10280
-0, 295200, 152064, 0x76a71f13
-0, 298800, 152064, 0x3004f5a1
-0, 302400, 152064, 0x9aba5724
-0, 306000, 152064, 0x5db85385
-0, 309600, 152064, 0xbe9d3f5b
-0, 313200, 152064, 0xa71e85bb
-0, 316800, 152064, 0xdcf59cd7
-0, 320400, 152064, 0x5e319459
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb1edd842
+0, 1, 1, 1, 152064, 0x551f8f45
+0, 2, 2, 1, 152064, 0xb4931cb2
+0, 3, 3, 1, 152064, 0x78882b27
+0, 4, 4, 1, 152064, 0x3afef36d
+0, 5, 5, 1, 152064, 0x85afad0a
+0, 6, 6, 1, 152064, 0x3a8bab81
+0, 7, 7, 1, 152064, 0x2a437174
+0, 8, 8, 1, 152064, 0x22421437
+0, 9, 9, 1, 152064, 0x39c5f125
+0, 10, 10, 1, 152064, 0x256eaad2
+0, 11, 11, 1, 152064, 0x668a5d31
+0, 12, 12, 1, 152064, 0x412a4aa7
+0, 13, 13, 1, 152064, 0x3f091baf
+0, 14, 14, 1, 152064, 0xbf16d262
+0, 15, 15, 1, 152064, 0x2fc4ce67
+0, 16, 16, 1, 152064, 0x119cde3e
+0, 17, 17, 1, 152064, 0xb40b8632
+0, 18, 18, 1, 152064, 0x4be4f192
+0, 19, 19, 1, 152064, 0x906c1237
+0, 20, 20, 1, 152064, 0x95380024
+0, 21, 21, 1, 152064, 0x6a833025
+0, 22, 22, 1, 152064, 0x681d1c4f
+0, 23, 23, 1, 152064, 0x08c8dea4
+0, 24, 24, 1, 152064, 0xc69226f0
+0, 25, 25, 1, 152064, 0x86631102
+0, 26, 26, 1, 152064, 0x7f40c77a
+0, 27, 27, 1, 152064, 0xc746ddd4
+0, 28, 28, 1, 152064, 0x5f2bd3cb
+0, 29, 29, 1, 152064, 0x643c8316
+0, 30, 30, 1, 152064, 0x5b7fa380
+0, 31, 31, 1, 152064, 0x82438cf7
+0, 32, 32, 1, 152064, 0xdee0f7e7
+0, 33, 33, 1, 152064, 0xc50d41f1
+0, 34, 34, 1, 152064, 0xf3453631
+0, 35, 35, 1, 152064, 0x90bce66b
+0, 36, 36, 1, 152064, 0x045b03f7
+0, 37, 37, 1, 152064, 0xf64bd756
+0, 38, 38, 1, 152064, 0xff997ef2
+0, 39, 39, 1, 152064, 0x3613a0a5
+0, 40, 40, 1, 152064, 0xe6a7a8d6
+0, 41, 41, 1, 152064, 0xb0906c42
+0, 42, 42, 1, 152064, 0x4dfc912b
+0, 43, 43, 1, 152064, 0x81e3991c
+0, 44, 44, 1, 152064, 0x4efc61fb
+0, 45, 45, 1, 152064, 0xed478395
+0, 46, 46, 1, 152064, 0x4cb25ab6
+0, 47, 47, 1, 152064, 0x28e7d51f
+0, 48, 48, 1, 152064, 0x8bcc1a8d
+0, 49, 49, 1, 152064, 0x2fe1f240
+0, 50, 50, 1, 152064, 0xb4978ef8
+0, 51, 51, 1, 152064, 0xe3929556
+0, 52, 52, 1, 152064, 0xd370632a
+0, 53, 53, 1, 152064, 0xba86ffb2
+0, 54, 54, 1, 152064, 0x444bf18c
+0, 55, 55, 1, 152064, 0xab40bd14
+0, 56, 56, 1, 152064, 0xfd488a5d
+0, 57, 57, 1, 152064, 0xe1f09568
+0, 58, 58, 1, 152064, 0x09ee7a7e
+0, 59, 59, 1, 152064, 0x9360397c
+0, 60, 60, 1, 152064, 0xdbd467e9
+0, 61, 61, 1, 152064, 0x99726777
+0, 62, 62, 1, 152064, 0x009fd46c
+0, 63, 63, 1, 152064, 0xcf770fdb
+0, 64, 64, 1, 152064, 0x2a890fd9
+0, 65, 65, 1, 152064, 0x7f40de4b
+0, 66, 66, 1, 152064, 0x04191304
+0, 67, 67, 1, 152064, 0x15722022
+0, 68, 68, 1, 152064, 0x59f4ea93
+0, 69, 69, 1, 152064, 0x28ba373f
+0, 70, 70, 1, 152064, 0xf9e400b8
+0, 71, 71, 1, 152064, 0x85c4bd98
+0, 72, 72, 1, 152064, 0x6917d2a5
+0, 73, 73, 1, 152064, 0x61cae234
+0, 74, 74, 1, 152064, 0x752a9a2d
+0, 75, 75, 1, 152064, 0x1ee2d9bd
+0, 76, 76, 1, 152064, 0xdce9ab8e
+0, 77, 77, 1, 152064, 0x51225fd0
+0, 78, 78, 1, 152064, 0x10e8cb60
+0, 79, 79, 1, 152064, 0x8d07cd25
+0, 80, 80, 1, 152064, 0xb18ba61b
+0, 81, 81, 1, 152064, 0xb0f10280
+0, 82, 82, 1, 152064, 0x76a71f13
+0, 83, 83, 1, 152064, 0x3004f5a1
+0, 84, 84, 1, 152064, 0x9aba5724
+0, 85, 85, 1, 152064, 0x5db85385
+0, 86, 86, 1, 152064, 0xbe9d3f5b
+0, 87, 87, 1, 152064, 0xa71e85bb
+0, 88, 88, 1, 152064, 0xdcf59cd7
+0, 89, 89, 1, 152064, 0x5e319459
diff --git a/tests/ref/fate/h264-conformance-camanl2_toshiba_b b/tests/ref/fate/h264-conformance-camanl2_toshiba_b
index d8959a3348..066c57fd30 100644
--- a/tests/ref/fate/h264-conformance-camanl2_toshiba_b
+++ b/tests/ref/fate/h264-conformance-camanl2_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xb1edd842
-0, 3600, 152064, 0x551f8f45
-0, 7200, 152064, 0xb4931cb2
-0, 10800, 152064, 0x5f352e98
-0, 14400, 152064, 0xeba5fe28
-0, 18000, 152064, 0x85afad0a
-0, 21600, 152064, 0x1120b6a4
-0, 25200, 152064, 0x67506e16
-0, 28800, 152064, 0x22421437
-0, 32400, 152064, 0x929becd6
-0, 36000, 152064, 0x6ffcb4b0
-0, 39600, 152064, 0x668a5d31
-0, 43200, 152064, 0x1b034ebb
-0, 46800, 152064, 0x7e2d213c
-0, 50400, 152064, 0xbf16d262
-0, 54000, 152064, 0xdeaecab3
-0, 57600, 152064, 0xd220d704
-0, 61200, 152064, 0xb40b8632
-0, 64800, 152064, 0xbdf0ef57
-0, 68400, 152064, 0x7e2e10df
-0, 72000, 152064, 0x95380024
-0, 75600, 152064, 0xdb80256d
-0, 79200, 152064, 0xa4561c61
-0, 82800, 152064, 0x08c8dea4
-0, 86400, 152064, 0x7bb917d6
-0, 90000, 152064, 0x796f0e2b
-0, 93600, 152064, 0x7f40c77a
-0, 97200, 152064, 0xda32de2e
-0, 100800, 152064, 0x00ffc15a
-0, 104400, 152064, 0x643c8316
-0, 108000, 152064, 0xb7588f7f
-0, 111600, 152064, 0xa4e07c02
-0, 115200, 152064, 0xdee0f7e7
-0, 118800, 152064, 0x2c3245ee
-0, 122400, 152064, 0x6565355b
-0, 126000, 152064, 0x90bce66b
-0, 129600, 152064, 0x0abffe08
-0, 133200, 152064, 0x119ccc3e
-0, 136800, 152064, 0xff997ef2
-0, 140400, 152064, 0xba4b9820
-0, 144000, 152064, 0xb6dfa596
-0, 147600, 152064, 0xb0906c42
-0, 151200, 152064, 0xf3c29133
-0, 154800, 152064, 0x08cd8e2b
-0, 158400, 152064, 0x4efc61fb
-0, 162000, 152064, 0x5b7c6e48
-0, 165600, 152064, 0xd28a47c2
-0, 169200, 152064, 0x28e7d51f
-0, 172800, 152064, 0x3a5619b1
-0, 176400, 152064, 0xa517e7f2
-0, 180000, 152064, 0xb4978ef8
-0, 183600, 152064, 0x25929175
-0, 187200, 152064, 0x20f05834
-0, 190800, 152064, 0xba86ffb2
-0, 194400, 152064, 0xa265f06f
-0, 198000, 152064, 0x97bbbfb7
-0, 201600, 152064, 0xfd488a5d
-0, 205200, 152064, 0x1b0989da
-0, 208800, 152064, 0xfd1878ce
-0, 212400, 152064, 0x9360397c
-0, 216000, 152064, 0x0d8151a7
-0, 219600, 152064, 0xe7a05bb8
-0, 223200, 152064, 0x009fd46c
-0, 226800, 152064, 0x8751123f
-0, 230400, 152064, 0x8252101a
-0, 234000, 152064, 0x7f40de4b
-0, 237600, 152064, 0x4ea317fe
-0, 241200, 152064, 0x519224d9
-0, 244800, 152064, 0x59f4ea93
-0, 248400, 152064, 0xc93c1dba
-0, 252000, 152064, 0xe3c9fb61
-0, 255600, 152064, 0x85c4bd98
-0, 259200, 152064, 0xcebacfd3
-0, 262800, 152064, 0x7327da99
-0, 266400, 152064, 0x752a9a2d
-0, 270000, 152064, 0x5ea6c8d2
-0, 273600, 152064, 0x66fd8c6f
-0, 277200, 152064, 0x51225fd0
-0, 280800, 152064, 0x58b9be96
-0, 284400, 152064, 0xa5abcdb7
-0, 288000, 152064, 0xb18ba61b
-0, 291600, 152064, 0xc7d20190
-0, 295200, 152064, 0xb6da14aa
-0, 298800, 152064, 0x3004f5a1
-0, 302400, 152064, 0x129354e2
-0, 306000, 152064, 0xffa148d5
-0, 309600, 152064, 0xbe9d3f5b
-0, 313200, 152064, 0x1c7f8976
-0, 316800, 152064, 0xa107a54d
-0, 320400, 152064, 0x5e319459
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb1edd842
+0, 1, 1, 1, 152064, 0x551f8f45
+0, 2, 2, 1, 152064, 0xb4931cb2
+0, 3, 3, 1, 152064, 0x5f352e98
+0, 4, 4, 1, 152064, 0xeba5fe28
+0, 5, 5, 1, 152064, 0x85afad0a
+0, 6, 6, 1, 152064, 0x1120b6a4
+0, 7, 7, 1, 152064, 0x67506e16
+0, 8, 8, 1, 152064, 0x22421437
+0, 9, 9, 1, 152064, 0x929becd6
+0, 10, 10, 1, 152064, 0x6ffcb4b0
+0, 11, 11, 1, 152064, 0x668a5d31
+0, 12, 12, 1, 152064, 0x1b034ebb
+0, 13, 13, 1, 152064, 0x7e2d213c
+0, 14, 14, 1, 152064, 0xbf16d262
+0, 15, 15, 1, 152064, 0xdeaecab3
+0, 16, 16, 1, 152064, 0xd220d704
+0, 17, 17, 1, 152064, 0xb40b8632
+0, 18, 18, 1, 152064, 0xbdf0ef57
+0, 19, 19, 1, 152064, 0x7e2e10df
+0, 20, 20, 1, 152064, 0x95380024
+0, 21, 21, 1, 152064, 0xdb80256d
+0, 22, 22, 1, 152064, 0xa4561c61
+0, 23, 23, 1, 152064, 0x08c8dea4
+0, 24, 24, 1, 152064, 0x7bb917d6
+0, 25, 25, 1, 152064, 0x796f0e2b
+0, 26, 26, 1, 152064, 0x7f40c77a
+0, 27, 27, 1, 152064, 0xda32de2e
+0, 28, 28, 1, 152064, 0x00ffc15a
+0, 29, 29, 1, 152064, 0x643c8316
+0, 30, 30, 1, 152064, 0xb7588f7f
+0, 31, 31, 1, 152064, 0xa4e07c02
+0, 32, 32, 1, 152064, 0xdee0f7e7
+0, 33, 33, 1, 152064, 0x2c3245ee
+0, 34, 34, 1, 152064, 0x6565355b
+0, 35, 35, 1, 152064, 0x90bce66b
+0, 36, 36, 1, 152064, 0x0abffe08
+0, 37, 37, 1, 152064, 0x119ccc3e
+0, 38, 38, 1, 152064, 0xff997ef2
+0, 39, 39, 1, 152064, 0xba4b9820
+0, 40, 40, 1, 152064, 0xb6dfa596
+0, 41, 41, 1, 152064, 0xb0906c42
+0, 42, 42, 1, 152064, 0xf3c29133
+0, 43, 43, 1, 152064, 0x08cd8e2b
+0, 44, 44, 1, 152064, 0x4efc61fb
+0, 45, 45, 1, 152064, 0x5b7c6e48
+0, 46, 46, 1, 152064, 0xd28a47c2
+0, 47, 47, 1, 152064, 0x28e7d51f
+0, 48, 48, 1, 152064, 0x3a5619b1
+0, 49, 49, 1, 152064, 0xa517e7f2
+0, 50, 50, 1, 152064, 0xb4978ef8
+0, 51, 51, 1, 152064, 0x25929175
+0, 52, 52, 1, 152064, 0x20f05834
+0, 53, 53, 1, 152064, 0xba86ffb2
+0, 54, 54, 1, 152064, 0xa265f06f
+0, 55, 55, 1, 152064, 0x97bbbfb7
+0, 56, 56, 1, 152064, 0xfd488a5d
+0, 57, 57, 1, 152064, 0x1b0989da
+0, 58, 58, 1, 152064, 0xfd1878ce
+0, 59, 59, 1, 152064, 0x9360397c
+0, 60, 60, 1, 152064, 0x0d8151a7
+0, 61, 61, 1, 152064, 0xe7a05bb8
+0, 62, 62, 1, 152064, 0x009fd46c
+0, 63, 63, 1, 152064, 0x8751123f
+0, 64, 64, 1, 152064, 0x8252101a
+0, 65, 65, 1, 152064, 0x7f40de4b
+0, 66, 66, 1, 152064, 0x4ea317fe
+0, 67, 67, 1, 152064, 0x519224d9
+0, 68, 68, 1, 152064, 0x59f4ea93
+0, 69, 69, 1, 152064, 0xc93c1dba
+0, 70, 70, 1, 152064, 0xe3c9fb61
+0, 71, 71, 1, 152064, 0x85c4bd98
+0, 72, 72, 1, 152064, 0xcebacfd3
+0, 73, 73, 1, 152064, 0x7327da99
+0, 74, 74, 1, 152064, 0x752a9a2d
+0, 75, 75, 1, 152064, 0x5ea6c8d2
+0, 76, 76, 1, 152064, 0x66fd8c6f
+0, 77, 77, 1, 152064, 0x51225fd0
+0, 78, 78, 1, 152064, 0x58b9be96
+0, 79, 79, 1, 152064, 0xa5abcdb7
+0, 80, 80, 1, 152064, 0xb18ba61b
+0, 81, 81, 1, 152064, 0xc7d20190
+0, 82, 82, 1, 152064, 0xb6da14aa
+0, 83, 83, 1, 152064, 0x3004f5a1
+0, 84, 84, 1, 152064, 0x129354e2
+0, 85, 85, 1, 152064, 0xffa148d5
+0, 86, 86, 1, 152064, 0xbe9d3f5b
+0, 87, 87, 1, 152064, 0x1c7f8976
+0, 88, 88, 1, 152064, 0xa107a54d
+0, 89, 89, 1, 152064, 0x5e319459
diff --git a/tests/ref/fate/h264-conformance-camanl3_sand_e b/tests/ref/fate/h264-conformance-camanl3_sand_e
index ac8be19121..a76170c757 100644
--- a/tests/ref/fate/h264-conformance-camanl3_sand_e
+++ b/tests/ref/fate/h264-conformance-camanl3_sand_e
@@ -1,50 +1,51 @@
-0, 0, 152064, 0x6c1ff6a7
-0, 3600, 152064, 0x17f1ff3a
-0, 7200, 152064, 0xf7ddcda8
-0, 10800, 152064, 0xdcb64a37
-0, 14400, 152064, 0x4d2ad1db
-0, 18000, 152064, 0x2e49028a
-0, 21600, 152064, 0xcebb0f39
-0, 25200, 152064, 0xac74e574
-0, 28800, 152064, 0x8cd667e5
-0, 32400, 152064, 0xda511cf6
-0, 36000, 152064, 0x795c45c1
-0, 39600, 152064, 0x6034397c
-0, 43200, 152064, 0xafb4b03d
-0, 46800, 152064, 0xd73b1785
-0, 50400, 152064, 0xd873a98f
-0, 54000, 152064, 0x07ac191e
-0, 57600, 152064, 0x14fa5413
-0, 61200, 152064, 0xe6d1667e
-0, 64800, 152064, 0x1cc2a92e
-0, 68400, 152064, 0x4a878e35
-0, 72000, 152064, 0x4adfa52c
-0, 75600, 152064, 0x8dbb370b
-0, 79200, 152064, 0x4d66a69a
-0, 82800, 152064, 0x2dcb66da
-0, 86400, 152064, 0x74591150
-0, 90000, 152064, 0x259eb13f
-0, 93600, 152064, 0xe5c96dd3
-0, 97200, 152064, 0x0fb52fe3
-0, 100800, 152064, 0x47c506a0
-0, 104400, 152064, 0xcc09ca7a
-0, 108000, 152064, 0xc3430f03
-0, 111600, 152064, 0x702b1a73
-0, 115200, 152064, 0x4f385186
-0, 118800, 152064, 0x07a34aa5
-0, 122400, 152064, 0x698310b0
-0, 126000, 152064, 0x5fa469bc
-0, 129600, 152064, 0xb6ab39ef
-0, 133200, 152064, 0xbb6dc59d
-0, 136800, 152064, 0xe5fa7503
-0, 140400, 152064, 0xd367512a
-0, 144000, 152064, 0x215c0ca7
-0, 147600, 152064, 0x6bea4847
-0, 151200, 152064, 0xba03f875
-0, 154800, 152064, 0x3ac282cd
-0, 158400, 152064, 0x23aee807
-0, 162000, 152064, 0x4274c84c
-0, 165600, 152064, 0xdfdacf4b
-0, 169200, 152064, 0xb2de9e6e
-0, 172800, 152064, 0x456b684e
-0, 176400, 152064, 0xa6297c83
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x6c1ff6a7
+0, 1, 1, 1, 152064, 0x17f1ff3a
+0, 2, 2, 1, 152064, 0xf7ddcda8
+0, 3, 3, 1, 152064, 0xdcb64a37
+0, 4, 4, 1, 152064, 0x4d2ad1db
+0, 5, 5, 1, 152064, 0x2e49028a
+0, 6, 6, 1, 152064, 0xcebb0f39
+0, 7, 7, 1, 152064, 0xac74e574
+0, 8, 8, 1, 152064, 0x8cd667e5
+0, 9, 9, 1, 152064, 0xda511cf6
+0, 10, 10, 1, 152064, 0x795c45c1
+0, 11, 11, 1, 152064, 0x6034397c
+0, 12, 12, 1, 152064, 0xafb4b03d
+0, 13, 13, 1, 152064, 0xd73b1785
+0, 14, 14, 1, 152064, 0xd873a98f
+0, 15, 15, 1, 152064, 0x07ac191e
+0, 16, 16, 1, 152064, 0x14fa5413
+0, 17, 17, 1, 152064, 0xe6d1667e
+0, 18, 18, 1, 152064, 0x1cc2a92e
+0, 19, 19, 1, 152064, 0x4a878e35
+0, 20, 20, 1, 152064, 0x4adfa52c
+0, 21, 21, 1, 152064, 0x8dbb370b
+0, 22, 22, 1, 152064, 0x4d66a69a
+0, 23, 23, 1, 152064, 0x2dcb66da
+0, 24, 24, 1, 152064, 0x74591150
+0, 25, 25, 1, 152064, 0x259eb13f
+0, 26, 26, 1, 152064, 0xe5c96dd3
+0, 27, 27, 1, 152064, 0x0fb52fe3
+0, 28, 28, 1, 152064, 0x47c506a0
+0, 29, 29, 1, 152064, 0xcc09ca7a
+0, 30, 30, 1, 152064, 0xc3430f03
+0, 31, 31, 1, 152064, 0x702b1a73
+0, 32, 32, 1, 152064, 0x4f385186
+0, 33, 33, 1, 152064, 0x07a34aa5
+0, 34, 34, 1, 152064, 0x698310b0
+0, 35, 35, 1, 152064, 0x5fa469bc
+0, 36, 36, 1, 152064, 0xb6ab39ef
+0, 37, 37, 1, 152064, 0xbb6dc59d
+0, 38, 38, 1, 152064, 0xe5fa7503
+0, 39, 39, 1, 152064, 0xd367512a
+0, 40, 40, 1, 152064, 0x215c0ca7
+0, 41, 41, 1, 152064, 0x6bea4847
+0, 42, 42, 1, 152064, 0xba03f875
+0, 43, 43, 1, 152064, 0x3ac282cd
+0, 44, 44, 1, 152064, 0x23aee807
+0, 45, 45, 1, 152064, 0x4274c84c
+0, 46, 46, 1, 152064, 0xdfdacf4b
+0, 47, 47, 1, 152064, 0xb2de9e6e
+0, 48, 48, 1, 152064, 0x456b684e
+0, 49, 49, 1, 152064, 0xa6297c83
diff --git a/tests/ref/fate/h264-conformance-camasl3_sony_b b/tests/ref/fate/h264-conformance-camasl3_sony_b
index 73f9b7fda5..0cb41e194a 100644
--- a/tests/ref/fate/h264-conformance-camasl3_sony_b
+++ b/tests/ref/fate/h264-conformance-camasl3_sony_b
@@ -1,17 +1,18 @@
-0, 0, 36864, 0xfe2ad849
-0, 3600, 36864, 0x37954ba1
-0, 7200, 36864, 0xaf0e0877
-0, 10800, 36864, 0xf28cadd1
-0, 14400, 36864, 0xe182365a
-0, 18000, 36864, 0xdcdc03b7
-0, 21600, 36864, 0x2eded02f
-0, 25200, 36864, 0xa706ca87
-0, 28800, 36864, 0x446f4c83
-0, 32400, 36864, 0x766acab3
-0, 36000, 36864, 0x651feaed
-0, 39600, 36864, 0x834a2a75
-0, 43200, 36864, 0xb1811822
-0, 46800, 36864, 0xd8e12e21
-0, 50400, 36864, 0x6b445b13
-0, 54000, 36864, 0xa4ded223
-0, 57600, 36864, 0xbd1161b5
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0xfe2ad849
+0, 1, 1, 1, 36864, 0x37954ba1
+0, 2, 2, 1, 36864, 0xaf0e0877
+0, 3, 3, 1, 36864, 0xf28cadd1
+0, 4, 4, 1, 36864, 0xe182365a
+0, 5, 5, 1, 36864, 0xdcdc03b7
+0, 6, 6, 1, 36864, 0x2eded02f
+0, 7, 7, 1, 36864, 0xa706ca87
+0, 8, 8, 1, 36864, 0x446f4c83
+0, 9, 9, 1, 36864, 0x766acab3
+0, 10, 10, 1, 36864, 0x651feaed
+0, 11, 11, 1, 36864, 0x834a2a75
+0, 12, 12, 1, 36864, 0xb1811822
+0, 13, 13, 1, 36864, 0xd8e12e21
+0, 14, 14, 1, 36864, 0x6b445b13
+0, 15, 15, 1, 36864, 0xa4ded223
+0, 16, 16, 1, 36864, 0xbd1161b5
diff --git a/tests/ref/fate/h264-conformance-camp_mot_mbaff_l30 b/tests/ref/fate/h264-conformance-camp_mot_mbaff_l30
index f8a1b8c93b..c4f2782db6 100644
--- a/tests/ref/fate/h264-conformance-camp_mot_mbaff_l30
+++ b/tests/ref/fate/h264-conformance-camp_mot_mbaff_l30
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x672279df
-0, 3600, 518400, 0xb248a762
-0, 7200, 518400, 0x4399de88
-0, 10800, 518400, 0x14200d2d
-0, 14400, 518400, 0x14a704cf
-0, 18000, 518400, 0xcaac5431
-0, 21600, 518400, 0x69d77cee
-0, 25200, 518400, 0x420d5f92
-0, 28800, 518400, 0x083a357d
-0, 32400, 518400, 0x01777426
-0, 36000, 518400, 0x474640e9
-0, 39600, 518400, 0x3d690eab
-0, 43200, 518400, 0x58074830
-0, 46800, 518400, 0x3e3f0fcc
-0, 50400, 518400, 0x8c72de01
-0, 54000, 518400, 0xbf0a4f6f
-0, 57600, 518400, 0xbdea010d
-0, 61200, 518400, 0x54bdc458
-0, 64800, 518400, 0xdcd00ed0
-0, 68400, 518400, 0x64ba9ba9
-0, 72000, 518400, 0x5c0c6790
-0, 75600, 518400, 0x178674ed
-0, 79200, 518400, 0x9ebec8d3
-0, 82800, 518400, 0x375c5426
-0, 86400, 518400, 0x19987af8
-0, 90000, 518400, 0x347ec12c
-0, 93600, 518400, 0x96856c36
-0, 97200, 518400, 0xb81264a6
-0, 100800, 518400, 0xde0a08d6
-0, 104400, 518400, 0x19cb10be
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x672279df
+0, 1, 1, 1, 518400, 0xb248a762
+0, 2, 2, 1, 518400, 0x4399de88
+0, 3, 3, 1, 518400, 0x14200d2d
+0, 4, 4, 1, 518400, 0x14a704cf
+0, 5, 5, 1, 518400, 0xcaac5431
+0, 6, 6, 1, 518400, 0x69d77cee
+0, 7, 7, 1, 518400, 0x420d5f92
+0, 8, 8, 1, 518400, 0x083a357d
+0, 9, 9, 1, 518400, 0x01777426
+0, 10, 10, 1, 518400, 0x474640e9
+0, 11, 11, 1, 518400, 0x3d690eab
+0, 12, 12, 1, 518400, 0x58074830
+0, 13, 13, 1, 518400, 0x3e3f0fcc
+0, 14, 14, 1, 518400, 0x8c72de01
+0, 15, 15, 1, 518400, 0xbf0a4f6f
+0, 16, 16, 1, 518400, 0xbdea010d
+0, 17, 17, 1, 518400, 0x54bdc458
+0, 18, 18, 1, 518400, 0xdcd00ed0
+0, 19, 19, 1, 518400, 0x64ba9ba9
+0, 20, 20, 1, 518400, 0x5c0c6790
+0, 21, 21, 1, 518400, 0x178674ed
+0, 22, 22, 1, 518400, 0x9ebec8d3
+0, 23, 23, 1, 518400, 0x375c5426
+0, 24, 24, 1, 518400, 0x19987af8
+0, 25, 25, 1, 518400, 0x347ec12c
+0, 26, 26, 1, 518400, 0x96856c36
+0, 27, 27, 1, 518400, 0xb81264a6
+0, 28, 28, 1, 518400, 0xde0a08d6
+0, 29, 29, 1, 518400, 0x19cb10be
diff --git a/tests/ref/fate/h264-conformance-camp_mot_mbaff_l31 b/tests/ref/fate/h264-conformance-camp_mot_mbaff_l31
index baccdb8aad..1bee03729a 100644
--- a/tests/ref/fate/h264-conformance-camp_mot_mbaff_l31
+++ b/tests/ref/fate/h264-conformance-camp_mot_mbaff_l31
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x077637bf
-0, 3600, 518400, 0xbd096d55
-0, 7200, 518400, 0x58b58820
-0, 10800, 518400, 0xdf24aced
-0, 14400, 518400, 0x2354c6a2
-0, 18000, 518400, 0xedaaffdf
-0, 21600, 518400, 0x28a8f027
-0, 25200, 518400, 0x05dee3d2
-0, 28800, 518400, 0x2ae9dbe4
-0, 32400, 518400, 0x361fec4a
-0, 36000, 518400, 0xd9c7b07d
-0, 39600, 518400, 0xa9d69c9f
-0, 43200, 518400, 0x7f44c08c
-0, 46800, 518400, 0xbfed83b4
-0, 50400, 518400, 0x65a5588c
-0, 54000, 518400, 0xf4859855
-0, 57600, 518400, 0xcba96df9
-0, 61200, 518400, 0x8ae11dfd
-0, 64800, 518400, 0xf0e36904
-0, 68400, 518400, 0x45cf1cb3
-0, 72000, 518400, 0xffefde04
-0, 75600, 518400, 0xc2a8edef
-0, 79200, 518400, 0x72b15456
-0, 82800, 518400, 0x67b8dd35
-0, 86400, 518400, 0x8b91f38e
-0, 90000, 518400, 0xe7055df1
-0, 93600, 518400, 0x5c32200d
-0, 97200, 518400, 0xfbb709dc
-0, 100800, 518400, 0x5c45b17f
-0, 104400, 518400, 0x3a25903f
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x077637bf
+0, 1, 1, 1, 518400, 0xbd096d55
+0, 2, 2, 1, 518400, 0x58b58820
+0, 3, 3, 1, 518400, 0xdf24aced
+0, 4, 4, 1, 518400, 0x2354c6a2
+0, 5, 5, 1, 518400, 0xedaaffdf
+0, 6, 6, 1, 518400, 0x28a8f027
+0, 7, 7, 1, 518400, 0x05dee3d2
+0, 8, 8, 1, 518400, 0x2ae9dbe4
+0, 9, 9, 1, 518400, 0x361fec4a
+0, 10, 10, 1, 518400, 0xd9c7b07d
+0, 11, 11, 1, 518400, 0xa9d69c9f
+0, 12, 12, 1, 518400, 0x7f44c08c
+0, 13, 13, 1, 518400, 0xbfed83b4
+0, 14, 14, 1, 518400, 0x65a5588c
+0, 15, 15, 1, 518400, 0xf4859855
+0, 16, 16, 1, 518400, 0xcba96df9
+0, 17, 17, 1, 518400, 0x8ae11dfd
+0, 18, 18, 1, 518400, 0xf0e36904
+0, 19, 19, 1, 518400, 0x45cf1cb3
+0, 20, 20, 1, 518400, 0xffefde04
+0, 21, 21, 1, 518400, 0xc2a8edef
+0, 22, 22, 1, 518400, 0x72b15456
+0, 23, 23, 1, 518400, 0x67b8dd35
+0, 24, 24, 1, 518400, 0x8b91f38e
+0, 25, 25, 1, 518400, 0xe7055df1
+0, 26, 26, 1, 518400, 0x5c32200d
+0, 27, 27, 1, 518400, 0xfbb709dc
+0, 28, 28, 1, 518400, 0x5c45b17f
+0, 29, 29, 1, 518400, 0x3a25903f
diff --git a/tests/ref/fate/h264-conformance-canl1_sony_e b/tests/ref/fate/h264-conformance-canl1_sony_e
index 552caa8580..d90e95758c 100644
--- a/tests/ref/fate/h264-conformance-canl1_sony_e
+++ b/tests/ref/fate/h264-conformance-canl1_sony_e
@@ -1,50 +1,51 @@
-0, 0, 38016, 0xc805351d
-0, 3600, 38016, 0x3809fec3
-0, 7200, 38016, 0xf698ce3c
-0, 10800, 38016, 0x7e3da603
-0, 14400, 38016, 0x68b07d81
-0, 18000, 38016, 0xd91f717a
-0, 21600, 38016, 0x48885dd6
-0, 25200, 38016, 0x27e64e8e
-0, 28800, 38016, 0x955835ce
-0, 32400, 38016, 0xf19940a0
-0, 36000, 38016, 0x9a1c51e4
-0, 39600, 38016, 0xf59373af
-0, 43200, 38016, 0x5d6c7d06
-0, 46800, 38016, 0x32fca533
-0, 50400, 38016, 0x37e69987
-0, 54000, 38016, 0x96929e05
-0, 57600, 38016, 0xee37a1f9
-0, 61200, 38016, 0xc6279d8f
-0, 64800, 38016, 0x33d28b0a
-0, 68400, 38016, 0x42946b72
-0, 72000, 38016, 0x51e947bf
-0, 75600, 38016, 0xb10b2399
-0, 79200, 38016, 0x250c0fe4
-0, 82800, 38016, 0x81e20b18
-0, 86400, 38016, 0xb93f00db
-0, 90000, 38016, 0x4f9d13d8
-0, 93600, 38016, 0x7d9c1184
-0, 97200, 38016, 0xd3271d2c
-0, 100800, 38016, 0x9b253539
-0, 104400, 38016, 0xc4fd4d89
-0, 108000, 38016, 0x006f63cc
-0, 111600, 38016, 0xa7d976b4
-0, 115200, 38016, 0x30de94d6
-0, 118800, 38016, 0x2cb7a745
-0, 122400, 38016, 0xa7a2b854
-0, 126000, 38016, 0x1ca1ba1a
-0, 129600, 38016, 0x13b2b430
-0, 133200, 38016, 0x82bbb2de
-0, 136800, 38016, 0x5fa0b4f9
-0, 140400, 38016, 0xedefb64d
-0, 144000, 38016, 0x5ccdbf33
-0, 147600, 38016, 0x4fd0b4bb
-0, 151200, 38016, 0x195fa008
-0, 154800, 38016, 0xda1494e0
-0, 158400, 38016, 0x98ac8fa6
-0, 162000, 38016, 0xd1548835
-0, 165600, 38016, 0x35c790ee
-0, 169200, 38016, 0xecda84f1
-0, 172800, 38016, 0x9d9f8710
-0, 176400, 38016, 0x72d89581
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc805351d
+0, 1, 1, 1, 38016, 0x3809fec3
+0, 2, 2, 1, 38016, 0xf698ce3c
+0, 3, 3, 1, 38016, 0x7e3da603
+0, 4, 4, 1, 38016, 0x68b07d81
+0, 5, 5, 1, 38016, 0xd91f717a
+0, 6, 6, 1, 38016, 0x48885dd6
+0, 7, 7, 1, 38016, 0x27e64e8e
+0, 8, 8, 1, 38016, 0x955835ce
+0, 9, 9, 1, 38016, 0xf19940a0
+0, 10, 10, 1, 38016, 0x9a1c51e4
+0, 11, 11, 1, 38016, 0xf59373af
+0, 12, 12, 1, 38016, 0x5d6c7d06
+0, 13, 13, 1, 38016, 0x32fca533
+0, 14, 14, 1, 38016, 0x37e69987
+0, 15, 15, 1, 38016, 0x96929e05
+0, 16, 16, 1, 38016, 0xee37a1f9
+0, 17, 17, 1, 38016, 0xc6279d8f
+0, 18, 18, 1, 38016, 0x33d28b0a
+0, 19, 19, 1, 38016, 0x42946b72
+0, 20, 20, 1, 38016, 0x51e947bf
+0, 21, 21, 1, 38016, 0xb10b2399
+0, 22, 22, 1, 38016, 0x250c0fe4
+0, 23, 23, 1, 38016, 0x81e20b18
+0, 24, 24, 1, 38016, 0xb93f00db
+0, 25, 25, 1, 38016, 0x4f9d13d8
+0, 26, 26, 1, 38016, 0x7d9c1184
+0, 27, 27, 1, 38016, 0xd3271d2c
+0, 28, 28, 1, 38016, 0x9b253539
+0, 29, 29, 1, 38016, 0xc4fd4d89
+0, 30, 30, 1, 38016, 0x006f63cc
+0, 31, 31, 1, 38016, 0xa7d976b4
+0, 32, 32, 1, 38016, 0x30de94d6
+0, 33, 33, 1, 38016, 0x2cb7a745
+0, 34, 34, 1, 38016, 0xa7a2b854
+0, 35, 35, 1, 38016, 0x1ca1ba1a
+0, 36, 36, 1, 38016, 0x13b2b430
+0, 37, 37, 1, 38016, 0x82bbb2de
+0, 38, 38, 1, 38016, 0x5fa0b4f9
+0, 39, 39, 1, 38016, 0xedefb64d
+0, 40, 40, 1, 38016, 0x5ccdbf33
+0, 41, 41, 1, 38016, 0x4fd0b4bb
+0, 42, 42, 1, 38016, 0x195fa008
+0, 43, 43, 1, 38016, 0xda1494e0
+0, 44, 44, 1, 38016, 0x98ac8fa6
+0, 45, 45, 1, 38016, 0xd1548835
+0, 46, 46, 1, 38016, 0x35c790ee
+0, 47, 47, 1, 38016, 0xecda84f1
+0, 48, 48, 1, 38016, 0x9d9f8710
+0, 49, 49, 1, 38016, 0x72d89581
diff --git a/tests/ref/fate/h264-conformance-canl1_sva_b b/tests/ref/fate/h264-conformance-canl1_sva_b
index 8594553538..0436f43ceb 100644
--- a/tests/ref/fate/h264-conformance-canl1_sva_b
+++ b/tests/ref/fate/h264-conformance-canl1_sva_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x0bd22424
-0, 3600, 38016, 0x4eb601f0
-0, 7200, 38016, 0xe16de459
-0, 10800, 38016, 0xde2e0c37
-0, 14400, 38016, 0x14a0286b
-0, 18000, 38016, 0x37bc35b5
-0, 21600, 38016, 0xcfa24923
-0, 25200, 38016, 0xac755ba0
-0, 28800, 38016, 0x27d1822a
-0, 32400, 38016, 0xa8039548
-0, 36000, 38016, 0x400ea1fb
-0, 39600, 38016, 0x7d2ca44a
-0, 43200, 38016, 0xd42dae4f
-0, 46800, 38016, 0x39ce9599
-0, 50400, 38016, 0x37498aa1
-0, 54000, 38016, 0x8558911f
-0, 57600, 38016, 0x06a8a9ad
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x0bd22424
+0, 1, 1, 1, 38016, 0x4eb601f0
+0, 2, 2, 1, 38016, 0xe16de459
+0, 3, 3, 1, 38016, 0xde2e0c37
+0, 4, 4, 1, 38016, 0x14a0286b
+0, 5, 5, 1, 38016, 0x37bc35b5
+0, 6, 6, 1, 38016, 0xcfa24923
+0, 7, 7, 1, 38016, 0xac755ba0
+0, 8, 8, 1, 38016, 0x27d1822a
+0, 9, 9, 1, 38016, 0xa8039548
+0, 10, 10, 1, 38016, 0x400ea1fb
+0, 11, 11, 1, 38016, 0x7d2ca44a
+0, 12, 12, 1, 38016, 0xd42dae4f
+0, 13, 13, 1, 38016, 0x39ce9599
+0, 14, 14, 1, 38016, 0x37498aa1
+0, 15, 15, 1, 38016, 0x8558911f
+0, 16, 16, 1, 38016, 0x06a8a9ad
diff --git a/tests/ref/fate/h264-conformance-canl1_toshiba_g b/tests/ref/fate/h264-conformance-canl1_toshiba_g
index 49faee0db5..ced4c927e5 100644
--- a/tests/ref/fate/h264-conformance-canl1_toshiba_g
+++ b/tests/ref/fate/h264-conformance-canl1_toshiba_g
@@ -1,300 +1,301 @@
-0, 0, 38016, 0x58892149
-0, 3600, 38016, 0xda2ded74
-0, 7200, 38016, 0x2661cdb0
-0, 10800, 38016, 0xb581a73a
-0, 14400, 38016, 0xa04a7e93
-0, 18000, 38016, 0x149e7861
-0, 21600, 38016, 0x53725080
-0, 25200, 38016, 0x341a4d3f
-0, 28800, 38016, 0x2ecc41ac
-0, 32400, 38016, 0x99b85127
-0, 36000, 38016, 0x7bdc50bc
-0, 39600, 38016, 0xd3d58663
-0, 43200, 38016, 0x717485e9
-0, 46800, 38016, 0x2ac29c85
-0, 50400, 38016, 0x36daa429
-0, 54000, 38016, 0x8bb7a48e
-0, 57600, 38016, 0xb38aab11
-0, 61200, 38016, 0xacd89c4c
-0, 64800, 38016, 0x676b71e1
-0, 68400, 38016, 0xa2e7731e
-0, 72000, 38016, 0x4a2f5766
-0, 75600, 38016, 0x04ef1873
-0, 79200, 38016, 0x52ac0171
-0, 82800, 38016, 0xdd0a027a
-0, 86400, 38016, 0x700810c6
-0, 90000, 38016, 0x417f0cd3
-0, 93600, 38016, 0xf8ef0da9
-0, 97200, 38016, 0xfce62a5a
-0, 100800, 38016, 0x03592b0a
-0, 104400, 38016, 0x9b7b5373
-0, 108000, 38016, 0xab015505
-0, 111600, 38016, 0xf3387ae1
-0, 115200, 38016, 0x1d09a5b6
-0, 118800, 38016, 0x9159a5e2
-0, 122400, 38016, 0x8887c177
-0, 126000, 38016, 0x914dbacd
-0, 129600, 38016, 0xaa97c0f6
-0, 133200, 38016, 0x0837b14a
-0, 136800, 38016, 0x0198be16
-0, 140400, 38016, 0xc14bc9c6
-0, 144000, 38016, 0xdb58c2a7
-0, 147600, 38016, 0xa751ae90
-0, 151200, 38016, 0x5813a64d
-0, 154800, 38016, 0x73959f9b
-0, 158400, 38016, 0xb0de8994
-0, 162000, 38016, 0x79ea9214
-0, 165600, 38016, 0x0b388957
-0, 169200, 38016, 0x31aa91c9
-0, 172800, 38016, 0xadcf88ec
-0, 176400, 38016, 0x5bc99b68
-0, 180000, 38016, 0x535e7c2e
-0, 183600, 38016, 0xbfef8e0a
-0, 187200, 38016, 0xc56285aa
-0, 190800, 38016, 0x76758edc
-0, 194400, 38016, 0xd8c3a20b
-0, 198000, 38016, 0xd2aa918b
-0, 201600, 38016, 0xfe1ea23b
-0, 205200, 38016, 0x3533a68d
-0, 208800, 38016, 0xd8679427
-0, 212400, 38016, 0x76be9c98
-0, 216000, 38016, 0xc37a9a7a
-0, 219600, 38016, 0x1ebe9463
-0, 223200, 38016, 0xab4c63d2
-0, 226800, 38016, 0x761b3c50
-0, 230400, 38016, 0xb57c4bb7
-0, 234000, 38016, 0x86117755
-0, 237600, 38016, 0xd89dacf3
-0, 241200, 38016, 0x8940eee9
-0, 244800, 38016, 0x2f7c3abf
-0, 248400, 38016, 0x98366678
-0, 252000, 38016, 0x14348147
-0, 255600, 38016, 0x4e3ba8f8
-0, 259200, 38016, 0xc167c205
-0, 262800, 38016, 0x0581e211
-0, 266400, 38016, 0x62cd0ea6
-0, 270000, 38016, 0x753b3a2b
-0, 273600, 38016, 0x25ce507a
-0, 277200, 38016, 0x726f64af
-0, 280800, 38016, 0xa13c7c58
-0, 284400, 38016, 0xa27b7584
-0, 288000, 38016, 0x45b47c12
-0, 291600, 38016, 0x0f6a9456
-0, 295200, 38016, 0x30ae9e92
-0, 298800, 38016, 0xf59fa16d
-0, 302400, 38016, 0x16d292d7
-0, 306000, 38016, 0x828791cc
-0, 309600, 38016, 0x71769267
-0, 313200, 38016, 0xf297a0e0
-0, 316800, 38016, 0x33a4a00a
-0, 320400, 38016, 0xda96c5b8
-0, 324000, 38016, 0x742daf25
-0, 327600, 38016, 0x603f8bba
-0, 331200, 38016, 0x89d18e70
-0, 334800, 38016, 0x8c2b8c29
-0, 338400, 38016, 0x9ccf6983
-0, 342000, 38016, 0x8ddd5a29
-0, 345600, 38016, 0x5679718d
-0, 349200, 38016, 0x28aa80b3
-0, 352800, 38016, 0x3b08780e
-0, 356400, 38016, 0x9e408cbc
-0, 360000, 38016, 0xe7c18e94
-0, 363600, 38016, 0xaba57f22
-0, 367200, 38016, 0xd8826dc5
-0, 370800, 38016, 0x2ed2710e
-0, 374400, 38016, 0x59748443
-0, 378000, 38016, 0x5076b247
-0, 381600, 38016, 0xf6ae9bcd
-0, 385200, 38016, 0x4d83d68f
-0, 388800, 38016, 0x118ff589
-0, 392400, 38016, 0x65b3f2c0
-0, 396000, 38016, 0x8f341576
-0, 399600, 38016, 0xbeac1816
-0, 403200, 38016, 0x19073cf9
-0, 406800, 38016, 0xcfdb2e55
-0, 410400, 38016, 0x99fd08f8
-0, 414000, 38016, 0x025c0249
-0, 417600, 38016, 0x4d311afc
-0, 421200, 38016, 0xef532038
-0, 424800, 38016, 0x7c353d9a
-0, 428400, 38016, 0x9fed4678
-0, 432000, 38016, 0x67062dad
-0, 435600, 38016, 0x1e5b2069
-0, 439200, 38016, 0x8b25fd3f
-0, 442800, 38016, 0x06a9e566
-0, 446400, 38016, 0x263badf5
-0, 450000, 38016, 0x35a99a45
-0, 453600, 38016, 0x930a8491
-0, 457200, 38016, 0xf9d49dfd
-0, 460800, 38016, 0xbc8cb0a6
-0, 464400, 38016, 0x8f10d1a9
-0, 468000, 38016, 0xb6dbc51b
-0, 471600, 38016, 0x2f1bc747
-0, 475200, 38016, 0xecdac1ac
-0, 478800, 38016, 0x6391bdcc
-0, 482400, 38016, 0x7e5eb209
-0, 486000, 38016, 0x8f5ea1e8
-0, 489600, 38016, 0x969195a9
-0, 493200, 38016, 0x18579903
-0, 496800, 38016, 0x4cfe8893
-0, 500400, 38016, 0x68c57143
-0, 504000, 38016, 0x297f6420
-0, 507600, 38016, 0x36b1669c
-0, 511200, 38016, 0x3d78362e
-0, 514800, 38016, 0xaba14c36
-0, 518400, 38016, 0xe6914a59
-0, 522000, 38016, 0x3733481a
-0, 525600, 38016, 0xb6df4c6d
-0, 529200, 38016, 0x20631838
-0, 532800, 38016, 0x014df835
-0, 536400, 38016, 0xcb36db94
-0, 540000, 38016, 0x4cb8b44a
-0, 543600, 38016, 0xa49da6e5
-0, 547200, 38016, 0x8dbfb72d
-0, 550800, 38016, 0x3ba5b7d5
-0, 554400, 38016, 0xc8ebad2d
-0, 558000, 38016, 0x36fad594
-0, 561600, 38016, 0x6302f0f2
-0, 565200, 38016, 0xc799139e
-0, 568800, 38016, 0x947947d0
-0, 572400, 38016, 0x39756224
-0, 576000, 38016, 0x1d995e51
-0, 579600, 38016, 0x56274435
-0, 583200, 38016, 0x3cfc2b1d
-0, 586800, 38016, 0x5a4a178f
-0, 590400, 38016, 0xca212af1
-0, 594000, 38016, 0x885af884
-0, 597600, 38016, 0x3241c9c1
-0, 601200, 38016, 0x4ef997a4
-0, 604800, 38016, 0x5ecb8030
-0, 608400, 38016, 0x2eb76daa
-0, 612000, 38016, 0x485780ba
-0, 615600, 38016, 0xf5f88241
-0, 619200, 38016, 0x563f97d0
-0, 622800, 38016, 0x4a01a6c4
-0, 626400, 38016, 0xd7ea8457
-0, 630000, 38016, 0x08ae6916
-0, 633600, 38016, 0x4c933e75
-0, 637200, 38016, 0x49541e4a
-0, 640800, 38016, 0xd14e028a
-0, 644400, 38016, 0xabd5f4e6
-0, 648000, 38016, 0xfe3bdd0f
-0, 651600, 38016, 0xbb30cef4
-0, 655200, 38016, 0xd724d0e3
-0, 658800, 38016, 0x7537d6bf
-0, 662400, 38016, 0x3da3e67a
-0, 666000, 38016, 0xf02606eb
-0, 669600, 38016, 0x2dde399b
-0, 673200, 38016, 0xafe94c86
-0, 676800, 38016, 0x923d6081
-0, 680400, 38016, 0x9c733e4e
-0, 684000, 38016, 0x2b16d821
-0, 687600, 38016, 0x1edf9cd1
-0, 691200, 38016, 0xa9c3b601
-0, 694800, 38016, 0x9adeb02b
-0, 698400, 38016, 0xf5eaddc3
-0, 702000, 38016, 0xac871bea
-0, 705600, 38016, 0x060429f4
-0, 709200, 38016, 0xf80b421d
-0, 712800, 38016, 0x7dcd6c50
-0, 716400, 38016, 0x46e46798
-0, 720000, 38016, 0xdbee759f
-0, 723600, 38016, 0xbbe78774
-0, 727200, 38016, 0xb85990ed
-0, 730800, 38016, 0xda0e8530
-0, 734400, 38016, 0x5eaf8508
-0, 738000, 38016, 0x5c2c83fa
-0, 741600, 38016, 0x6dfe9322
-0, 745200, 38016, 0xa3059a60
-0, 748800, 38016, 0x357c8237
-0, 752400, 38016, 0xccae6b20
-0, 756000, 38016, 0x25fe57c1
-0, 759600, 38016, 0xfa65376b
-0, 763200, 38016, 0xd9b12ef8
-0, 766800, 38016, 0x3ab73fa0
-0, 770400, 38016, 0xcb6a2f96
-0, 774000, 38016, 0x8a973915
-0, 777600, 38016, 0x71ac1dd2
-0, 781200, 38016, 0x71802085
-0, 784800, 38016, 0x4de728d9
-0, 788400, 38016, 0xdf3a1de7
-0, 792000, 38016, 0x36270e93
-0, 795600, 38016, 0x90d4fe93
-0, 799200, 38016, 0x3477fb4e
-0, 802800, 38016, 0xd410fa81
-0, 806400, 38016, 0xfc230675
-0, 810000, 38016, 0xbda40c03
-0, 813600, 38016, 0x7a47fc07
-0, 817200, 38016, 0x53fe2a37
-0, 820800, 38016, 0x342d3bec
-0, 824400, 38016, 0xf13163a3
-0, 828000, 38016, 0x03f087da
-0, 831600, 38016, 0xbc03c466
-0, 835200, 38016, 0x6318d676
-0, 838800, 38016, 0xbc2f0b68
-0, 842400, 38016, 0xcb57354b
-0, 846000, 38016, 0x7e9a5b48
-0, 849600, 38016, 0x9dca693a
-0, 853200, 38016, 0xd0776497
-0, 856800, 38016, 0x05a24093
-0, 860400, 38016, 0x69b21063
-0, 864000, 38016, 0x15f3ed8b
-0, 867600, 38016, 0x2417bc52
-0, 871200, 38016, 0xabc2a564
-0, 874800, 38016, 0x67f2dd90
-0, 878400, 38016, 0xa5fe4b6e
-0, 882000, 38016, 0x7801add2
-0, 885600, 38016, 0xf4abc321
-0, 889200, 38016, 0x1d06a837
-0, 892800, 38016, 0x2e0d6fc2
-0, 896400, 38016, 0xc4f30535
-0, 900000, 38016, 0x67d09a80
-0, 903600, 38016, 0xca505a1e
-0, 907200, 38016, 0x2e2e56c8
-0, 910800, 38016, 0x689ea3e2
-0, 914400, 38016, 0x9989165a
-0, 918000, 38016, 0xd8e2c30e
-0, 921600, 38016, 0x2a98bf3f
-0, 925200, 38016, 0x44664d3e
-0, 928800, 38016, 0x53a939de
-0, 932400, 38016, 0x4c153702
-0, 936000, 38016, 0x03c73e88
-0, 939600, 38016, 0x7cd649d4
-0, 943200, 38016, 0x7d7c5687
-0, 946800, 38016, 0x8f3c53a6
-0, 950400, 38016, 0x24634dd1
-0, 954000, 38016, 0x5d00442c
-0, 957600, 38016, 0xdcc72906
-0, 961200, 38016, 0x5def12f3
-0, 964800, 38016, 0x95e6e8be
-0, 968400, 38016, 0x2675c694
-0, 972000, 38016, 0x906aa24e
-0, 975600, 38016, 0x09468fe4
-0, 979200, 38016, 0xaec9736d
-0, 982800, 38016, 0xa5812142
-0, 986400, 38016, 0x9986d55f
-0, 990000, 38016, 0x9f7fc399
-0, 993600, 38016, 0xc345d526
-0, 997200, 38016, 0x3ae3b9bd
-0, 1000800, 38016, 0xb103ec45
-0, 1004400, 38016, 0x3ff462c2
-0, 1008000, 38016, 0x5c07ed68
-0, 1011600, 38016, 0xccbad189
-0, 1015200, 38016, 0x6f3f9a18
-0, 1018800, 38016, 0x26406fa1
-0, 1022400, 38016, 0x06cf5f62
-0, 1026000, 38016, 0x3eb29bd1
-0, 1029600, 38016, 0x12ab807e
-0, 1033200, 38016, 0x7621bf0d
-0, 1036800, 38016, 0x88eabc0c
-0, 1040400, 38016, 0x21386662
-0, 1044000, 38016, 0x5839e3e4
-0, 1047600, 38016, 0xd196ee7c
-0, 1051200, 38016, 0x84dc8477
-0, 1054800, 38016, 0xbf2dcc7a
-0, 1058400, 38016, 0x29e3fe96
-0, 1062000, 38016, 0xf115ffc3
-0, 1065600, 38016, 0x7585d699
-0, 1069200, 38016, 0x7a7dcb8a
-0, 1072800, 38016, 0x03cfdb04
-0, 1076400, 38016, 0xd56e028c
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x58892149
+0, 1, 1, 1, 38016, 0xda2ded74
+0, 2, 2, 1, 38016, 0x2661cdb0
+0, 3, 3, 1, 38016, 0xb581a73a
+0, 4, 4, 1, 38016, 0xa04a7e93
+0, 5, 5, 1, 38016, 0x149e7861
+0, 6, 6, 1, 38016, 0x53725080
+0, 7, 7, 1, 38016, 0x341a4d3f
+0, 8, 8, 1, 38016, 0x2ecc41ac
+0, 9, 9, 1, 38016, 0x99b85127
+0, 10, 10, 1, 38016, 0x7bdc50bc
+0, 11, 11, 1, 38016, 0xd3d58663
+0, 12, 12, 1, 38016, 0x717485e9
+0, 13, 13, 1, 38016, 0x2ac29c85
+0, 14, 14, 1, 38016, 0x36daa429
+0, 15, 15, 1, 38016, 0x8bb7a48e
+0, 16, 16, 1, 38016, 0xb38aab11
+0, 17, 17, 1, 38016, 0xacd89c4c
+0, 18, 18, 1, 38016, 0x676b71e1
+0, 19, 19, 1, 38016, 0xa2e7731e
+0, 20, 20, 1, 38016, 0x4a2f5766
+0, 21, 21, 1, 38016, 0x04ef1873
+0, 22, 22, 1, 38016, 0x52ac0171
+0, 23, 23, 1, 38016, 0xdd0a027a
+0, 24, 24, 1, 38016, 0x700810c6
+0, 25, 25, 1, 38016, 0x417f0cd3
+0, 26, 26, 1, 38016, 0xf8ef0da9
+0, 27, 27, 1, 38016, 0xfce62a5a
+0, 28, 28, 1, 38016, 0x03592b0a
+0, 29, 29, 1, 38016, 0x9b7b5373
+0, 30, 30, 1, 38016, 0xab015505
+0, 31, 31, 1, 38016, 0xf3387ae1
+0, 32, 32, 1, 38016, 0x1d09a5b6
+0, 33, 33, 1, 38016, 0x9159a5e2
+0, 34, 34, 1, 38016, 0x8887c177
+0, 35, 35, 1, 38016, 0x914dbacd
+0, 36, 36, 1, 38016, 0xaa97c0f6
+0, 37, 37, 1, 38016, 0x0837b14a
+0, 38, 38, 1, 38016, 0x0198be16
+0, 39, 39, 1, 38016, 0xc14bc9c6
+0, 40, 40, 1, 38016, 0xdb58c2a7
+0, 41, 41, 1, 38016, 0xa751ae90
+0, 42, 42, 1, 38016, 0x5813a64d
+0, 43, 43, 1, 38016, 0x73959f9b
+0, 44, 44, 1, 38016, 0xb0de8994
+0, 45, 45, 1, 38016, 0x79ea9214
+0, 46, 46, 1, 38016, 0x0b388957
+0, 47, 47, 1, 38016, 0x31aa91c9
+0, 48, 48, 1, 38016, 0xadcf88ec
+0, 49, 49, 1, 38016, 0x5bc99b68
+0, 50, 50, 1, 38016, 0x535e7c2e
+0, 51, 51, 1, 38016, 0xbfef8e0a
+0, 52, 52, 1, 38016, 0xc56285aa
+0, 53, 53, 1, 38016, 0x76758edc
+0, 54, 54, 1, 38016, 0xd8c3a20b
+0, 55, 55, 1, 38016, 0xd2aa918b
+0, 56, 56, 1, 38016, 0xfe1ea23b
+0, 57, 57, 1, 38016, 0x3533a68d
+0, 58, 58, 1, 38016, 0xd8679427
+0, 59, 59, 1, 38016, 0x76be9c98
+0, 60, 60, 1, 38016, 0xc37a9a7a
+0, 61, 61, 1, 38016, 0x1ebe9463
+0, 62, 62, 1, 38016, 0xab4c63d2
+0, 63, 63, 1, 38016, 0x761b3c50
+0, 64, 64, 1, 38016, 0xb57c4bb7
+0, 65, 65, 1, 38016, 0x86117755
+0, 66, 66, 1, 38016, 0xd89dacf3
+0, 67, 67, 1, 38016, 0x8940eee9
+0, 68, 68, 1, 38016, 0x2f7c3abf
+0, 69, 69, 1, 38016, 0x98366678
+0, 70, 70, 1, 38016, 0x14348147
+0, 71, 71, 1, 38016, 0x4e3ba8f8
+0, 72, 72, 1, 38016, 0xc167c205
+0, 73, 73, 1, 38016, 0x0581e211
+0, 74, 74, 1, 38016, 0x62cd0ea6
+0, 75, 75, 1, 38016, 0x753b3a2b
+0, 76, 76, 1, 38016, 0x25ce507a
+0, 77, 77, 1, 38016, 0x726f64af
+0, 78, 78, 1, 38016, 0xa13c7c58
+0, 79, 79, 1, 38016, 0xa27b7584
+0, 80, 80, 1, 38016, 0x45b47c12
+0, 81, 81, 1, 38016, 0x0f6a9456
+0, 82, 82, 1, 38016, 0x30ae9e92
+0, 83, 83, 1, 38016, 0xf59fa16d
+0, 84, 84, 1, 38016, 0x16d292d7
+0, 85, 85, 1, 38016, 0x828791cc
+0, 86, 86, 1, 38016, 0x71769267
+0, 87, 87, 1, 38016, 0xf297a0e0
+0, 88, 88, 1, 38016, 0x33a4a00a
+0, 89, 89, 1, 38016, 0xda96c5b8
+0, 90, 90, 1, 38016, 0x742daf25
+0, 91, 91, 1, 38016, 0x603f8bba
+0, 92, 92, 1, 38016, 0x89d18e70
+0, 93, 93, 1, 38016, 0x8c2b8c29
+0, 94, 94, 1, 38016, 0x9ccf6983
+0, 95, 95, 1, 38016, 0x8ddd5a29
+0, 96, 96, 1, 38016, 0x5679718d
+0, 97, 97, 1, 38016, 0x28aa80b3
+0, 98, 98, 1, 38016, 0x3b08780e
+0, 99, 99, 1, 38016, 0x9e408cbc
+0, 100, 100, 1, 38016, 0xe7c18e94
+0, 101, 101, 1, 38016, 0xaba57f22
+0, 102, 102, 1, 38016, 0xd8826dc5
+0, 103, 103, 1, 38016, 0x2ed2710e
+0, 104, 104, 1, 38016, 0x59748443
+0, 105, 105, 1, 38016, 0x5076b247
+0, 106, 106, 1, 38016, 0xf6ae9bcd
+0, 107, 107, 1, 38016, 0x4d83d68f
+0, 108, 108, 1, 38016, 0x118ff589
+0, 109, 109, 1, 38016, 0x65b3f2c0
+0, 110, 110, 1, 38016, 0x8f341576
+0, 111, 111, 1, 38016, 0xbeac1816
+0, 112, 112, 1, 38016, 0x19073cf9
+0, 113, 113, 1, 38016, 0xcfdb2e55
+0, 114, 114, 1, 38016, 0x99fd08f8
+0, 115, 115, 1, 38016, 0x025c0249
+0, 116, 116, 1, 38016, 0x4d311afc
+0, 117, 117, 1, 38016, 0xef532038
+0, 118, 118, 1, 38016, 0x7c353d9a
+0, 119, 119, 1, 38016, 0x9fed4678
+0, 120, 120, 1, 38016, 0x67062dad
+0, 121, 121, 1, 38016, 0x1e5b2069
+0, 122, 122, 1, 38016, 0x8b25fd3f
+0, 123, 123, 1, 38016, 0x06a9e566
+0, 124, 124, 1, 38016, 0x263badf5
+0, 125, 125, 1, 38016, 0x35a99a45
+0, 126, 126, 1, 38016, 0x930a8491
+0, 127, 127, 1, 38016, 0xf9d49dfd
+0, 128, 128, 1, 38016, 0xbc8cb0a6
+0, 129, 129, 1, 38016, 0x8f10d1a9
+0, 130, 130, 1, 38016, 0xb6dbc51b
+0, 131, 131, 1, 38016, 0x2f1bc747
+0, 132, 132, 1, 38016, 0xecdac1ac
+0, 133, 133, 1, 38016, 0x6391bdcc
+0, 134, 134, 1, 38016, 0x7e5eb209
+0, 135, 135, 1, 38016, 0x8f5ea1e8
+0, 136, 136, 1, 38016, 0x969195a9
+0, 137, 137, 1, 38016, 0x18579903
+0, 138, 138, 1, 38016, 0x4cfe8893
+0, 139, 139, 1, 38016, 0x68c57143
+0, 140, 140, 1, 38016, 0x297f6420
+0, 141, 141, 1, 38016, 0x36b1669c
+0, 142, 142, 1, 38016, 0x3d78362e
+0, 143, 143, 1, 38016, 0xaba14c36
+0, 144, 144, 1, 38016, 0xe6914a59
+0, 145, 145, 1, 38016, 0x3733481a
+0, 146, 146, 1, 38016, 0xb6df4c6d
+0, 147, 147, 1, 38016, 0x20631838
+0, 148, 148, 1, 38016, 0x014df835
+0, 149, 149, 1, 38016, 0xcb36db94
+0, 150, 150, 1, 38016, 0x4cb8b44a
+0, 151, 151, 1, 38016, 0xa49da6e5
+0, 152, 152, 1, 38016, 0x8dbfb72d
+0, 153, 153, 1, 38016, 0x3ba5b7d5
+0, 154, 154, 1, 38016, 0xc8ebad2d
+0, 155, 155, 1, 38016, 0x36fad594
+0, 156, 156, 1, 38016, 0x6302f0f2
+0, 157, 157, 1, 38016, 0xc799139e
+0, 158, 158, 1, 38016, 0x947947d0
+0, 159, 159, 1, 38016, 0x39756224
+0, 160, 160, 1, 38016, 0x1d995e51
+0, 161, 161, 1, 38016, 0x56274435
+0, 162, 162, 1, 38016, 0x3cfc2b1d
+0, 163, 163, 1, 38016, 0x5a4a178f
+0, 164, 164, 1, 38016, 0xca212af1
+0, 165, 165, 1, 38016, 0x885af884
+0, 166, 166, 1, 38016, 0x3241c9c1
+0, 167, 167, 1, 38016, 0x4ef997a4
+0, 168, 168, 1, 38016, 0x5ecb8030
+0, 169, 169, 1, 38016, 0x2eb76daa
+0, 170, 170, 1, 38016, 0x485780ba
+0, 171, 171, 1, 38016, 0xf5f88241
+0, 172, 172, 1, 38016, 0x563f97d0
+0, 173, 173, 1, 38016, 0x4a01a6c4
+0, 174, 174, 1, 38016, 0xd7ea8457
+0, 175, 175, 1, 38016, 0x08ae6916
+0, 176, 176, 1, 38016, 0x4c933e75
+0, 177, 177, 1, 38016, 0x49541e4a
+0, 178, 178, 1, 38016, 0xd14e028a
+0, 179, 179, 1, 38016, 0xabd5f4e6
+0, 180, 180, 1, 38016, 0xfe3bdd0f
+0, 181, 181, 1, 38016, 0xbb30cef4
+0, 182, 182, 1, 38016, 0xd724d0e3
+0, 183, 183, 1, 38016, 0x7537d6bf
+0, 184, 184, 1, 38016, 0x3da3e67a
+0, 185, 185, 1, 38016, 0xf02606eb
+0, 186, 186, 1, 38016, 0x2dde399b
+0, 187, 187, 1, 38016, 0xafe94c86
+0, 188, 188, 1, 38016, 0x923d6081
+0, 189, 189, 1, 38016, 0x9c733e4e
+0, 190, 190, 1, 38016, 0x2b16d821
+0, 191, 191, 1, 38016, 0x1edf9cd1
+0, 192, 192, 1, 38016, 0xa9c3b601
+0, 193, 193, 1, 38016, 0x9adeb02b
+0, 194, 194, 1, 38016, 0xf5eaddc3
+0, 195, 195, 1, 38016, 0xac871bea
+0, 196, 196, 1, 38016, 0x060429f4
+0, 197, 197, 1, 38016, 0xf80b421d
+0, 198, 198, 1, 38016, 0x7dcd6c50
+0, 199, 199, 1, 38016, 0x46e46798
+0, 200, 200, 1, 38016, 0xdbee759f
+0, 201, 201, 1, 38016, 0xbbe78774
+0, 202, 202, 1, 38016, 0xb85990ed
+0, 203, 203, 1, 38016, 0xda0e8530
+0, 204, 204, 1, 38016, 0x5eaf8508
+0, 205, 205, 1, 38016, 0x5c2c83fa
+0, 206, 206, 1, 38016, 0x6dfe9322
+0, 207, 207, 1, 38016, 0xa3059a60
+0, 208, 208, 1, 38016, 0x357c8237
+0, 209, 209, 1, 38016, 0xccae6b20
+0, 210, 210, 1, 38016, 0x25fe57c1
+0, 211, 211, 1, 38016, 0xfa65376b
+0, 212, 212, 1, 38016, 0xd9b12ef8
+0, 213, 213, 1, 38016, 0x3ab73fa0
+0, 214, 214, 1, 38016, 0xcb6a2f96
+0, 215, 215, 1, 38016, 0x8a973915
+0, 216, 216, 1, 38016, 0x71ac1dd2
+0, 217, 217, 1, 38016, 0x71802085
+0, 218, 218, 1, 38016, 0x4de728d9
+0, 219, 219, 1, 38016, 0xdf3a1de7
+0, 220, 220, 1, 38016, 0x36270e93
+0, 221, 221, 1, 38016, 0x90d4fe93
+0, 222, 222, 1, 38016, 0x3477fb4e
+0, 223, 223, 1, 38016, 0xd410fa81
+0, 224, 224, 1, 38016, 0xfc230675
+0, 225, 225, 1, 38016, 0xbda40c03
+0, 226, 226, 1, 38016, 0x7a47fc07
+0, 227, 227, 1, 38016, 0x53fe2a37
+0, 228, 228, 1, 38016, 0x342d3bec
+0, 229, 229, 1, 38016, 0xf13163a3
+0, 230, 230, 1, 38016, 0x03f087da
+0, 231, 231, 1, 38016, 0xbc03c466
+0, 232, 232, 1, 38016, 0x6318d676
+0, 233, 233, 1, 38016, 0xbc2f0b68
+0, 234, 234, 1, 38016, 0xcb57354b
+0, 235, 235, 1, 38016, 0x7e9a5b48
+0, 236, 236, 1, 38016, 0x9dca693a
+0, 237, 237, 1, 38016, 0xd0776497
+0, 238, 238, 1, 38016, 0x05a24093
+0, 239, 239, 1, 38016, 0x69b21063
+0, 240, 240, 1, 38016, 0x15f3ed8b
+0, 241, 241, 1, 38016, 0x2417bc52
+0, 242, 242, 1, 38016, 0xabc2a564
+0, 243, 243, 1, 38016, 0x67f2dd90
+0, 244, 244, 1, 38016, 0xa5fe4b6e
+0, 245, 245, 1, 38016, 0x7801add2
+0, 246, 246, 1, 38016, 0xf4abc321
+0, 247, 247, 1, 38016, 0x1d06a837
+0, 248, 248, 1, 38016, 0x2e0d6fc2
+0, 249, 249, 1, 38016, 0xc4f30535
+0, 250, 250, 1, 38016, 0x67d09a80
+0, 251, 251, 1, 38016, 0xca505a1e
+0, 252, 252, 1, 38016, 0x2e2e56c8
+0, 253, 253, 1, 38016, 0x689ea3e2
+0, 254, 254, 1, 38016, 0x9989165a
+0, 255, 255, 1, 38016, 0xd8e2c30e
+0, 256, 256, 1, 38016, 0x2a98bf3f
+0, 257, 257, 1, 38016, 0x44664d3e
+0, 258, 258, 1, 38016, 0x53a939de
+0, 259, 259, 1, 38016, 0x4c153702
+0, 260, 260, 1, 38016, 0x03c73e88
+0, 261, 261, 1, 38016, 0x7cd649d4
+0, 262, 262, 1, 38016, 0x7d7c5687
+0, 263, 263, 1, 38016, 0x8f3c53a6
+0, 264, 264, 1, 38016, 0x24634dd1
+0, 265, 265, 1, 38016, 0x5d00442c
+0, 266, 266, 1, 38016, 0xdcc72906
+0, 267, 267, 1, 38016, 0x5def12f3
+0, 268, 268, 1, 38016, 0x95e6e8be
+0, 269, 269, 1, 38016, 0x2675c694
+0, 270, 270, 1, 38016, 0x906aa24e
+0, 271, 271, 1, 38016, 0x09468fe4
+0, 272, 272, 1, 38016, 0xaec9736d
+0, 273, 273, 1, 38016, 0xa5812142
+0, 274, 274, 1, 38016, 0x9986d55f
+0, 275, 275, 1, 38016, 0x9f7fc399
+0, 276, 276, 1, 38016, 0xc345d526
+0, 277, 277, 1, 38016, 0x3ae3b9bd
+0, 278, 278, 1, 38016, 0xb103ec45
+0, 279, 279, 1, 38016, 0x3ff462c2
+0, 280, 280, 1, 38016, 0x5c07ed68
+0, 281, 281, 1, 38016, 0xccbad189
+0, 282, 282, 1, 38016, 0x6f3f9a18
+0, 283, 283, 1, 38016, 0x26406fa1
+0, 284, 284, 1, 38016, 0x06cf5f62
+0, 285, 285, 1, 38016, 0x3eb29bd1
+0, 286, 286, 1, 38016, 0x12ab807e
+0, 287, 287, 1, 38016, 0x7621bf0d
+0, 288, 288, 1, 38016, 0x88eabc0c
+0, 289, 289, 1, 38016, 0x21386662
+0, 290, 290, 1, 38016, 0x5839e3e4
+0, 291, 291, 1, 38016, 0xd196ee7c
+0, 292, 292, 1, 38016, 0x84dc8477
+0, 293, 293, 1, 38016, 0xbf2dcc7a
+0, 294, 294, 1, 38016, 0x29e3fe96
+0, 295, 295, 1, 38016, 0xf115ffc3
+0, 296, 296, 1, 38016, 0x7585d699
+0, 297, 297, 1, 38016, 0x7a7dcb8a
+0, 298, 298, 1, 38016, 0x03cfdb04
+0, 299, 299, 1, 38016, 0xd56e028c
diff --git a/tests/ref/fate/h264-conformance-canl2_sony_e b/tests/ref/fate/h264-conformance-canl2_sony_e
index 327e92597d..9a3b48fa2c 100644
--- a/tests/ref/fate/h264-conformance-canl2_sony_e
+++ b/tests/ref/fate/h264-conformance-canl2_sony_e
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xc805351d
-0, 3600, 38016, 0x3017107e
-0, 7200, 38016, 0xe172e2d2
-0, 10800, 38016, 0x7fefbb5b
-0, 14400, 38016, 0x331097e6
-0, 18000, 38016, 0x47de825a
-0, 21600, 38016, 0x0bf36d87
-0, 25200, 38016, 0x03ae60c5
-0, 28800, 38016, 0x986b5930
-0, 32400, 38016, 0x398b6450
-0, 36000, 38016, 0x8e1b77e7
-0, 39600, 38016, 0xefb198a6
-0, 43200, 38016, 0x395aa9ee
-0, 46800, 38016, 0x1918b963
-0, 50400, 38016, 0xe6cab421
-0, 54000, 38016, 0x96929e05
-0, 57600, 38016, 0xf076abc7
-0, 61200, 38016, 0xd0f4ab70
-0, 64800, 38016, 0x7a39a75c
-0, 68400, 38016, 0xb04f8bad
-0, 72000, 38016, 0xe4996ff5
-0, 75600, 38016, 0x096e549a
-0, 79200, 38016, 0x36d73f1a
-0, 82800, 38016, 0x25f53bbf
-0, 86400, 38016, 0x7ebd3f9f
-0, 90000, 38016, 0x464c4b4c
-0, 93600, 38016, 0x2d794a40
-0, 97200, 38016, 0x1599532d
-0, 100800, 38016, 0xf8326999
-0, 104400, 38016, 0x858e789b
-0, 108000, 38016, 0x006f63cc
-0, 111600, 38016, 0x488a9614
-0, 115200, 38016, 0x950fb7cc
-0, 118800, 38016, 0x6deac9dd
-0, 122400, 38016, 0x0a82d725
-0, 126000, 38016, 0x2702d5fe
-0, 129600, 38016, 0xf7ead782
-0, 133200, 38016, 0x560fd1f1
-0, 136800, 38016, 0xa3cdd31a
-0, 140400, 38016, 0xa19ed45c
-0, 144000, 38016, 0x8d85d757
-0, 147600, 38016, 0x7fa6e1b5
-0, 151200, 38016, 0x8a31db0e
-0, 154800, 38016, 0x9dead6ff
-0, 158400, 38016, 0x8a8adf44
-0, 162000, 38016, 0xd1548835
-0, 165600, 38016, 0xf696a62c
-0, 169200, 38016, 0x5edbb219
-0, 172800, 38016, 0x0d9db749
-0, 176400, 38016, 0xc109c379
-0, 180000, 38016, 0xe814c2b1
-0, 183600, 38016, 0x4a8dc84b
-0, 187200, 38016, 0x6bcac28c
-0, 190800, 38016, 0xa37ec8da
-0, 194400, 38016, 0x3202d5e9
-0, 198000, 38016, 0x3d65ddb6
-0, 201600, 38016, 0x165de082
-0, 205200, 38016, 0x5702e231
-0, 208800, 38016, 0x034fe8f4
-0, 212400, 38016, 0x96f0ea58
-0, 216000, 38016, 0x65539ad7
-0, 219600, 38016, 0xdf98a7cf
-0, 223200, 38016, 0xda007de0
-0, 226800, 38016, 0xdf43520e
-0, 230400, 38016, 0xc5d553d2
-0, 234000, 38016, 0xc3327450
-0, 237600, 38016, 0x81c4a2e0
-0, 241200, 38016, 0x7c56e2d1
-0, 244800, 38016, 0x813f20a4
-0, 248400, 38016, 0xe48257ad
-0, 252000, 38016, 0x261b812f
-0, 255600, 38016, 0x8836ae43
-0, 259200, 38016, 0x4c52e30f
-0, 262800, 38016, 0x0614245f
-0, 266400, 38016, 0xbf275e2e
-0, 270000, 38016, 0x2f0f3e49
-0, 273600, 38016, 0xfaf57eb1
-0, 277200, 38016, 0xd1b49f95
-0, 280800, 38016, 0x10f4c2f6
-0, 284400, 38016, 0x2322d359
-0, 288000, 38016, 0x994de596
-0, 291600, 38016, 0x2a0df115
-0, 295200, 38016, 0xfcb7f1ec
-0, 298800, 38016, 0xcbc2ee10
-0, 302400, 38016, 0x49f5ee5c
-0, 306000, 38016, 0x4eb9f286
-0, 309600, 38016, 0xe5d80039
-0, 313200, 38016, 0xfa57fa81
-0, 316800, 38016, 0x2bea01f7
-0, 320400, 38016, 0x4e7c07a0
-0, 324000, 38016, 0x43b6a0f7
-0, 327600, 38016, 0x996e93cc
-0, 331200, 38016, 0x8e5c8a40
-0, 334800, 38016, 0x15cc7fe7
-0, 338400, 38016, 0x7f0a6c35
-0, 342000, 38016, 0x031677a4
-0, 345600, 38016, 0x14dd8b6d
-0, 349200, 38016, 0x143ca592
-0, 352800, 38016, 0x8e56b262
-0, 356400, 38016, 0x01c7c2b9
-0, 360000, 38016, 0xc117cbfa
-0, 363600, 38016, 0x609bbe4b
-0, 367200, 38016, 0x9a9fad05
-0, 370800, 38016, 0xba959d79
-0, 374400, 38016, 0x8773c00e
-0, 378000, 38016, 0xea22a35b
-0, 381600, 38016, 0x4b76c5fa
-0, 385200, 38016, 0x5088e610
-0, 388800, 38016, 0xb6db1234
-0, 392400, 38016, 0xef631cf7
-0, 396000, 38016, 0x7d993030
-0, 399600, 38016, 0xa9b24013
-0, 403200, 38016, 0xc3a14055
-0, 406800, 38016, 0x5e7e2b4c
-0, 410400, 38016, 0xae3505e0
-0, 414000, 38016, 0x48880369
-0, 417600, 38016, 0x844e1316
-0, 421200, 38016, 0x1d501951
-0, 424800, 38016, 0x36ae2e34
-0, 428400, 38016, 0xe48b385f
-0, 432000, 38016, 0xd88d3691
-0, 435600, 38016, 0xf38f3ad4
-0, 439200, 38016, 0x2a0e256e
-0, 442800, 38016, 0x0c25fbbd
-0, 446400, 38016, 0x13dbd8fc
-0, 450000, 38016, 0x8c4dc0b1
-0, 453600, 38016, 0x054bb5d5
-0, 457200, 38016, 0x19f8c259
-0, 460800, 38016, 0x4037d8fd
-0, 464400, 38016, 0x13f4ecda
-0, 468000, 38016, 0xde8af5a1
-0, 471600, 38016, 0x5997f541
-0, 475200, 38016, 0x876bebfe
-0, 478800, 38016, 0x7322ef36
-0, 482400, 38016, 0xe6a7ecc3
-0, 486000, 38016, 0x20e5a1eb
-0, 489600, 38016, 0xd1e5b985
-0, 493200, 38016, 0xe83cb437
-0, 496800, 38016, 0x8928a6f2
-0, 500400, 38016, 0xc6b1a7f4
-0, 504000, 38016, 0xcaf79531
-0, 507600, 38016, 0x3ded956e
-0, 511200, 38016, 0x494b82c5
-0, 514800, 38016, 0x86cb794a
-0, 518400, 38016, 0x548687e6
-0, 522000, 38016, 0x8f478a9f
-0, 525600, 38016, 0x32a97cbb
-0, 529200, 38016, 0x587b56cf
-0, 532800, 38016, 0x933428a9
-0, 536400, 38016, 0xcb610212
-0, 540000, 38016, 0x0d27b12d
-0, 543600, 38016, 0xf5a9b7e0
-0, 547200, 38016, 0x5287bdb7
-0, 550800, 38016, 0xa4e9b762
-0, 554400, 38016, 0x289da6d8
-0, 558000, 38016, 0x1969bb3e
-0, 561600, 38016, 0x29cbe019
-0, 565200, 38016, 0xe01403c6
-0, 568800, 38016, 0xce003f90
-0, 572400, 38016, 0x455d67e1
-0, 576000, 38016, 0xb57f7724
-0, 579600, 38016, 0x7fce73b9
-0, 583200, 38016, 0x7f136bbe
-0, 586800, 38016, 0xf096599f
-0, 590400, 38016, 0xe6df4c3a
-0, 594000, 38016, 0x98d2f70e
-0, 597600, 38016, 0xb500f2d7
-0, 601200, 38016, 0x95d3ce30
-0, 604800, 38016, 0x02a9ae41
-0, 608400, 38016, 0xb146a958
-0, 612000, 38016, 0x86a0bf3d
-0, 615600, 38016, 0x0c58d90a
-0, 619200, 38016, 0x27aef37f
-0, 622800, 38016, 0x3933fc3e
-0, 626400, 38016, 0x9ce9dc1c
-0, 630000, 38016, 0x3161ac45
-0, 633600, 38016, 0x4e8174cd
-0, 637200, 38016, 0xd8904d4b
-0, 640800, 38016, 0x933c2a55
-0, 644400, 38016, 0x85371555
-0, 648000, 38016, 0x3bb3ecd3
-0, 651600, 38016, 0x6b6ad873
-0, 655200, 38016, 0xa04dcf64
-0, 658800, 38016, 0x7869dc82
-0, 662400, 38016, 0x1c11e371
-0, 666000, 38016, 0x91eef557
-0, 669600, 38016, 0x27a30e42
-0, 673200, 38016, 0xcba73491
-0, 676800, 38016, 0xdffc402e
-0, 680400, 38016, 0x49b543c6
-0, 684000, 38016, 0xe3f7f438
-0, 687600, 38016, 0xed3ec663
-0, 691200, 38016, 0x174ad199
-0, 694800, 38016, 0x5330eef8
-0, 698400, 38016, 0x19d9074b
-0, 702000, 38016, 0x25961ad1
-0, 705600, 38016, 0x63024e80
-0, 709200, 38016, 0x25de6e2e
-0, 712800, 38016, 0x4cc594e8
-0, 716400, 38016, 0x8b25afcf
-0, 720000, 38016, 0x7b29bfcf
-0, 723600, 38016, 0x93abce16
-0, 727200, 38016, 0xc7f1d8fb
-0, 730800, 38016, 0x277ed79e
-0, 734400, 38016, 0x30dbdfe4
-0, 738000, 38016, 0xbd8be711
-0, 741600, 38016, 0xf072ea62
-0, 745200, 38016, 0xbfd0e5a5
-0, 748800, 38016, 0xedffdb3d
-0, 752400, 38016, 0x5238cb59
-0, 756000, 38016, 0x39305ec1
-0, 759600, 38016, 0x07816d20
-0, 763200, 38016, 0x61416e5b
-0, 766800, 38016, 0xc39d6ae2
-0, 770400, 38016, 0x1de95fe1
-0, 774000, 38016, 0x0530552f
-0, 777600, 38016, 0xa48f5b19
-0, 781200, 38016, 0x11305e31
-0, 784800, 38016, 0x9ae25bda
-0, 788400, 38016, 0xf16e5b67
-0, 792000, 38016, 0x9a375284
-0, 795600, 38016, 0x5a744019
-0, 799200, 38016, 0x811631e5
-0, 802800, 38016, 0x178a20e6
-0, 806400, 38016, 0xcab02bf2
-0, 810000, 38016, 0x6fca13cb
-0, 813600, 38016, 0xa1a71ba8
-0, 817200, 38016, 0x95f52de5
-0, 820800, 38016, 0xd2744451
-0, 824400, 38016, 0x717f6ef6
-0, 828000, 38016, 0x1f9e8ca9
-0, 831600, 38016, 0xc931b115
-0, 835200, 38016, 0xa4c1db05
-0, 838800, 38016, 0x92e80cc1
-0, 842400, 38016, 0x5ac5276c
-0, 846000, 38016, 0x624340ca
-0, 849600, 38016, 0x774a5a7c
-0, 853200, 38016, 0x1da55863
-0, 856800, 38016, 0x1bbc3b98
-0, 860400, 38016, 0x953b1479
-0, 864000, 38016, 0x8b11e5a8
-0, 867600, 38016, 0xf749d359
-0, 871200, 38016, 0xb54fcb8a
-0, 874800, 38016, 0xb64b1951
-0, 878400, 38016, 0x99778550
-0, 882000, 38016, 0x5e70e9e2
-0, 885600, 38016, 0x22550b80
-0, 889200, 38016, 0xfe3ddcde
-0, 892800, 38016, 0x1e28989e
-0, 896400, 38016, 0x25b926a4
-0, 900000, 38016, 0xf2c3c536
-0, 903600, 38016, 0x534a8643
-0, 907200, 38016, 0xf44b7f07
-0, 910800, 38016, 0x2873c895
-0, 914400, 38016, 0x67a7388d
-0, 918000, 38016, 0x0e5eca3b
-0, 921600, 38016, 0xc50dc747
-0, 925200, 38016, 0x6a3a4f1e
-0, 928800, 38016, 0x77d83b5f
-0, 932400, 38016, 0x91213d43
-0, 936000, 38016, 0x28344889
-0, 939600, 38016, 0xd1155a3f
-0, 943200, 38016, 0x5c7a65c5
-0, 946800, 38016, 0x3d4e7104
-0, 950400, 38016, 0x91d96a37
-0, 954000, 38016, 0xbc7f63f3
-0, 957600, 38016, 0x79275184
-0, 961200, 38016, 0xa6b43348
-0, 964800, 38016, 0x9e1d105a
-0, 968400, 38016, 0x14bce053
-0, 972000, 38016, 0x0ce3a7ca
-0, 975600, 38016, 0x4b5980fe
-0, 979200, 38016, 0x32745e1c
-0, 982800, 38016, 0x85b91358
-0, 986400, 38016, 0x9e26c66c
-0, 990000, 38016, 0x9735b157
-0, 993600, 38016, 0xfeaac3d1
-0, 997200, 38016, 0x8c95ca9f
-0, 1000800, 38016, 0x1336fa92
-0, 1004400, 38016, 0x37bb65f8
-0, 1008000, 38016, 0x830c078a
-0, 1011600, 38016, 0x088dd912
-0, 1015200, 38016, 0x8ef1a5a0
-0, 1018800, 38016, 0x9a1e642d
-0, 1022400, 38016, 0xa165517e
-0, 1026000, 38016, 0x0a34a67f
-0, 1029600, 38016, 0xaf0a662a
-0, 1033200, 38016, 0x3a5fa553
-0, 1036800, 38016, 0xda92b1f8
-0, 1040400, 38016, 0xac2997f4
-0, 1044000, 38016, 0x5df32cfc
-0, 1047600, 38016, 0x5cea491d
-0, 1051200, 38016, 0xeafbd139
-0, 1054800, 38016, 0x9ced0e69
-0, 1058400, 38016, 0x89514e3f
-0, 1062000, 38016, 0x3f0b4842
-0, 1065600, 38016, 0xc9902325
-0, 1069200, 38016, 0xdb3e1585
-0, 1072800, 38016, 0x3cf31e95
-0, 1076400, 38016, 0x60f14679
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc805351d
+0, 1, 1, 1, 38016, 0x3017107e
+0, 2, 2, 1, 38016, 0xe172e2d2
+0, 3, 3, 1, 38016, 0x7fefbb5b
+0, 4, 4, 1, 38016, 0x331097e6
+0, 5, 5, 1, 38016, 0x47de825a
+0, 6, 6, 1, 38016, 0x0bf36d87
+0, 7, 7, 1, 38016, 0x03ae60c5
+0, 8, 8, 1, 38016, 0x986b5930
+0, 9, 9, 1, 38016, 0x398b6450
+0, 10, 10, 1, 38016, 0x8e1b77e7
+0, 11, 11, 1, 38016, 0xefb198a6
+0, 12, 12, 1, 38016, 0x395aa9ee
+0, 13, 13, 1, 38016, 0x1918b963
+0, 14, 14, 1, 38016, 0xe6cab421
+0, 15, 15, 1, 38016, 0x96929e05
+0, 16, 16, 1, 38016, 0xf076abc7
+0, 17, 17, 1, 38016, 0xd0f4ab70
+0, 18, 18, 1, 38016, 0x7a39a75c
+0, 19, 19, 1, 38016, 0xb04f8bad
+0, 20, 20, 1, 38016, 0xe4996ff5
+0, 21, 21, 1, 38016, 0x096e549a
+0, 22, 22, 1, 38016, 0x36d73f1a
+0, 23, 23, 1, 38016, 0x25f53bbf
+0, 24, 24, 1, 38016, 0x7ebd3f9f
+0, 25, 25, 1, 38016, 0x464c4b4c
+0, 26, 26, 1, 38016, 0x2d794a40
+0, 27, 27, 1, 38016, 0x1599532d
+0, 28, 28, 1, 38016, 0xf8326999
+0, 29, 29, 1, 38016, 0x858e789b
+0, 30, 30, 1, 38016, 0x006f63cc
+0, 31, 31, 1, 38016, 0x488a9614
+0, 32, 32, 1, 38016, 0x950fb7cc
+0, 33, 33, 1, 38016, 0x6deac9dd
+0, 34, 34, 1, 38016, 0x0a82d725
+0, 35, 35, 1, 38016, 0x2702d5fe
+0, 36, 36, 1, 38016, 0xf7ead782
+0, 37, 37, 1, 38016, 0x560fd1f1
+0, 38, 38, 1, 38016, 0xa3cdd31a
+0, 39, 39, 1, 38016, 0xa19ed45c
+0, 40, 40, 1, 38016, 0x8d85d757
+0, 41, 41, 1, 38016, 0x7fa6e1b5
+0, 42, 42, 1, 38016, 0x8a31db0e
+0, 43, 43, 1, 38016, 0x9dead6ff
+0, 44, 44, 1, 38016, 0x8a8adf44
+0, 45, 45, 1, 38016, 0xd1548835
+0, 46, 46, 1, 38016, 0xf696a62c
+0, 47, 47, 1, 38016, 0x5edbb219
+0, 48, 48, 1, 38016, 0x0d9db749
+0, 49, 49, 1, 38016, 0xc109c379
+0, 50, 50, 1, 38016, 0xe814c2b1
+0, 51, 51, 1, 38016, 0x4a8dc84b
+0, 52, 52, 1, 38016, 0x6bcac28c
+0, 53, 53, 1, 38016, 0xa37ec8da
+0, 54, 54, 1, 38016, 0x3202d5e9
+0, 55, 55, 1, 38016, 0x3d65ddb6
+0, 56, 56, 1, 38016, 0x165de082
+0, 57, 57, 1, 38016, 0x5702e231
+0, 58, 58, 1, 38016, 0x034fe8f4
+0, 59, 59, 1, 38016, 0x96f0ea58
+0, 60, 60, 1, 38016, 0x65539ad7
+0, 61, 61, 1, 38016, 0xdf98a7cf
+0, 62, 62, 1, 38016, 0xda007de0
+0, 63, 63, 1, 38016, 0xdf43520e
+0, 64, 64, 1, 38016, 0xc5d553d2
+0, 65, 65, 1, 38016, 0xc3327450
+0, 66, 66, 1, 38016, 0x81c4a2e0
+0, 67, 67, 1, 38016, 0x7c56e2d1
+0, 68, 68, 1, 38016, 0x813f20a4
+0, 69, 69, 1, 38016, 0xe48257ad
+0, 70, 70, 1, 38016, 0x261b812f
+0, 71, 71, 1, 38016, 0x8836ae43
+0, 72, 72, 1, 38016, 0x4c52e30f
+0, 73, 73, 1, 38016, 0x0614245f
+0, 74, 74, 1, 38016, 0xbf275e2e
+0, 75, 75, 1, 38016, 0x2f0f3e49
+0, 76, 76, 1, 38016, 0xfaf57eb1
+0, 77, 77, 1, 38016, 0xd1b49f95
+0, 78, 78, 1, 38016, 0x10f4c2f6
+0, 79, 79, 1, 38016, 0x2322d359
+0, 80, 80, 1, 38016, 0x994de596
+0, 81, 81, 1, 38016, 0x2a0df115
+0, 82, 82, 1, 38016, 0xfcb7f1ec
+0, 83, 83, 1, 38016, 0xcbc2ee10
+0, 84, 84, 1, 38016, 0x49f5ee5c
+0, 85, 85, 1, 38016, 0x4eb9f286
+0, 86, 86, 1, 38016, 0xe5d80039
+0, 87, 87, 1, 38016, 0xfa57fa81
+0, 88, 88, 1, 38016, 0x2bea01f7
+0, 89, 89, 1, 38016, 0x4e7c07a0
+0, 90, 90, 1, 38016, 0x43b6a0f7
+0, 91, 91, 1, 38016, 0x996e93cc
+0, 92, 92, 1, 38016, 0x8e5c8a40
+0, 93, 93, 1, 38016, 0x15cc7fe7
+0, 94, 94, 1, 38016, 0x7f0a6c35
+0, 95, 95, 1, 38016, 0x031677a4
+0, 96, 96, 1, 38016, 0x14dd8b6d
+0, 97, 97, 1, 38016, 0x143ca592
+0, 98, 98, 1, 38016, 0x8e56b262
+0, 99, 99, 1, 38016, 0x01c7c2b9
+0, 100, 100, 1, 38016, 0xc117cbfa
+0, 101, 101, 1, 38016, 0x609bbe4b
+0, 102, 102, 1, 38016, 0x9a9fad05
+0, 103, 103, 1, 38016, 0xba959d79
+0, 104, 104, 1, 38016, 0x8773c00e
+0, 105, 105, 1, 38016, 0xea22a35b
+0, 106, 106, 1, 38016, 0x4b76c5fa
+0, 107, 107, 1, 38016, 0x5088e610
+0, 108, 108, 1, 38016, 0xb6db1234
+0, 109, 109, 1, 38016, 0xef631cf7
+0, 110, 110, 1, 38016, 0x7d993030
+0, 111, 111, 1, 38016, 0xa9b24013
+0, 112, 112, 1, 38016, 0xc3a14055
+0, 113, 113, 1, 38016, 0x5e7e2b4c
+0, 114, 114, 1, 38016, 0xae3505e0
+0, 115, 115, 1, 38016, 0x48880369
+0, 116, 116, 1, 38016, 0x844e1316
+0, 117, 117, 1, 38016, 0x1d501951
+0, 118, 118, 1, 38016, 0x36ae2e34
+0, 119, 119, 1, 38016, 0xe48b385f
+0, 120, 120, 1, 38016, 0xd88d3691
+0, 121, 121, 1, 38016, 0xf38f3ad4
+0, 122, 122, 1, 38016, 0x2a0e256e
+0, 123, 123, 1, 38016, 0x0c25fbbd
+0, 124, 124, 1, 38016, 0x13dbd8fc
+0, 125, 125, 1, 38016, 0x8c4dc0b1
+0, 126, 126, 1, 38016, 0x054bb5d5
+0, 127, 127, 1, 38016, 0x19f8c259
+0, 128, 128, 1, 38016, 0x4037d8fd
+0, 129, 129, 1, 38016, 0x13f4ecda
+0, 130, 130, 1, 38016, 0xde8af5a1
+0, 131, 131, 1, 38016, 0x5997f541
+0, 132, 132, 1, 38016, 0x876bebfe
+0, 133, 133, 1, 38016, 0x7322ef36
+0, 134, 134, 1, 38016, 0xe6a7ecc3
+0, 135, 135, 1, 38016, 0x20e5a1eb
+0, 136, 136, 1, 38016, 0xd1e5b985
+0, 137, 137, 1, 38016, 0xe83cb437
+0, 138, 138, 1, 38016, 0x8928a6f2
+0, 139, 139, 1, 38016, 0xc6b1a7f4
+0, 140, 140, 1, 38016, 0xcaf79531
+0, 141, 141, 1, 38016, 0x3ded956e
+0, 142, 142, 1, 38016, 0x494b82c5
+0, 143, 143, 1, 38016, 0x86cb794a
+0, 144, 144, 1, 38016, 0x548687e6
+0, 145, 145, 1, 38016, 0x8f478a9f
+0, 146, 146, 1, 38016, 0x32a97cbb
+0, 147, 147, 1, 38016, 0x587b56cf
+0, 148, 148, 1, 38016, 0x933428a9
+0, 149, 149, 1, 38016, 0xcb610212
+0, 150, 150, 1, 38016, 0x0d27b12d
+0, 151, 151, 1, 38016, 0xf5a9b7e0
+0, 152, 152, 1, 38016, 0x5287bdb7
+0, 153, 153, 1, 38016, 0xa4e9b762
+0, 154, 154, 1, 38016, 0x289da6d8
+0, 155, 155, 1, 38016, 0x1969bb3e
+0, 156, 156, 1, 38016, 0x29cbe019
+0, 157, 157, 1, 38016, 0xe01403c6
+0, 158, 158, 1, 38016, 0xce003f90
+0, 159, 159, 1, 38016, 0x455d67e1
+0, 160, 160, 1, 38016, 0xb57f7724
+0, 161, 161, 1, 38016, 0x7fce73b9
+0, 162, 162, 1, 38016, 0x7f136bbe
+0, 163, 163, 1, 38016, 0xf096599f
+0, 164, 164, 1, 38016, 0xe6df4c3a
+0, 165, 165, 1, 38016, 0x98d2f70e
+0, 166, 166, 1, 38016, 0xb500f2d7
+0, 167, 167, 1, 38016, 0x95d3ce30
+0, 168, 168, 1, 38016, 0x02a9ae41
+0, 169, 169, 1, 38016, 0xb146a958
+0, 170, 170, 1, 38016, 0x86a0bf3d
+0, 171, 171, 1, 38016, 0x0c58d90a
+0, 172, 172, 1, 38016, 0x27aef37f
+0, 173, 173, 1, 38016, 0x3933fc3e
+0, 174, 174, 1, 38016, 0x9ce9dc1c
+0, 175, 175, 1, 38016, 0x3161ac45
+0, 176, 176, 1, 38016, 0x4e8174cd
+0, 177, 177, 1, 38016, 0xd8904d4b
+0, 178, 178, 1, 38016, 0x933c2a55
+0, 179, 179, 1, 38016, 0x85371555
+0, 180, 180, 1, 38016, 0x3bb3ecd3
+0, 181, 181, 1, 38016, 0x6b6ad873
+0, 182, 182, 1, 38016, 0xa04dcf64
+0, 183, 183, 1, 38016, 0x7869dc82
+0, 184, 184, 1, 38016, 0x1c11e371
+0, 185, 185, 1, 38016, 0x91eef557
+0, 186, 186, 1, 38016, 0x27a30e42
+0, 187, 187, 1, 38016, 0xcba73491
+0, 188, 188, 1, 38016, 0xdffc402e
+0, 189, 189, 1, 38016, 0x49b543c6
+0, 190, 190, 1, 38016, 0xe3f7f438
+0, 191, 191, 1, 38016, 0xed3ec663
+0, 192, 192, 1, 38016, 0x174ad199
+0, 193, 193, 1, 38016, 0x5330eef8
+0, 194, 194, 1, 38016, 0x19d9074b
+0, 195, 195, 1, 38016, 0x25961ad1
+0, 196, 196, 1, 38016, 0x63024e80
+0, 197, 197, 1, 38016, 0x25de6e2e
+0, 198, 198, 1, 38016, 0x4cc594e8
+0, 199, 199, 1, 38016, 0x8b25afcf
+0, 200, 200, 1, 38016, 0x7b29bfcf
+0, 201, 201, 1, 38016, 0x93abce16
+0, 202, 202, 1, 38016, 0xc7f1d8fb
+0, 203, 203, 1, 38016, 0x277ed79e
+0, 204, 204, 1, 38016, 0x30dbdfe4
+0, 205, 205, 1, 38016, 0xbd8be711
+0, 206, 206, 1, 38016, 0xf072ea62
+0, 207, 207, 1, 38016, 0xbfd0e5a5
+0, 208, 208, 1, 38016, 0xedffdb3d
+0, 209, 209, 1, 38016, 0x5238cb59
+0, 210, 210, 1, 38016, 0x39305ec1
+0, 211, 211, 1, 38016, 0x07816d20
+0, 212, 212, 1, 38016, 0x61416e5b
+0, 213, 213, 1, 38016, 0xc39d6ae2
+0, 214, 214, 1, 38016, 0x1de95fe1
+0, 215, 215, 1, 38016, 0x0530552f
+0, 216, 216, 1, 38016, 0xa48f5b19
+0, 217, 217, 1, 38016, 0x11305e31
+0, 218, 218, 1, 38016, 0x9ae25bda
+0, 219, 219, 1, 38016, 0xf16e5b67
+0, 220, 220, 1, 38016, 0x9a375284
+0, 221, 221, 1, 38016, 0x5a744019
+0, 222, 222, 1, 38016, 0x811631e5
+0, 223, 223, 1, 38016, 0x178a20e6
+0, 224, 224, 1, 38016, 0xcab02bf2
+0, 225, 225, 1, 38016, 0x6fca13cb
+0, 226, 226, 1, 38016, 0xa1a71ba8
+0, 227, 227, 1, 38016, 0x95f52de5
+0, 228, 228, 1, 38016, 0xd2744451
+0, 229, 229, 1, 38016, 0x717f6ef6
+0, 230, 230, 1, 38016, 0x1f9e8ca9
+0, 231, 231, 1, 38016, 0xc931b115
+0, 232, 232, 1, 38016, 0xa4c1db05
+0, 233, 233, 1, 38016, 0x92e80cc1
+0, 234, 234, 1, 38016, 0x5ac5276c
+0, 235, 235, 1, 38016, 0x624340ca
+0, 236, 236, 1, 38016, 0x774a5a7c
+0, 237, 237, 1, 38016, 0x1da55863
+0, 238, 238, 1, 38016, 0x1bbc3b98
+0, 239, 239, 1, 38016, 0x953b1479
+0, 240, 240, 1, 38016, 0x8b11e5a8
+0, 241, 241, 1, 38016, 0xf749d359
+0, 242, 242, 1, 38016, 0xb54fcb8a
+0, 243, 243, 1, 38016, 0xb64b1951
+0, 244, 244, 1, 38016, 0x99778550
+0, 245, 245, 1, 38016, 0x5e70e9e2
+0, 246, 246, 1, 38016, 0x22550b80
+0, 247, 247, 1, 38016, 0xfe3ddcde
+0, 248, 248, 1, 38016, 0x1e28989e
+0, 249, 249, 1, 38016, 0x25b926a4
+0, 250, 250, 1, 38016, 0xf2c3c536
+0, 251, 251, 1, 38016, 0x534a8643
+0, 252, 252, 1, 38016, 0xf44b7f07
+0, 253, 253, 1, 38016, 0x2873c895
+0, 254, 254, 1, 38016, 0x67a7388d
+0, 255, 255, 1, 38016, 0x0e5eca3b
+0, 256, 256, 1, 38016, 0xc50dc747
+0, 257, 257, 1, 38016, 0x6a3a4f1e
+0, 258, 258, 1, 38016, 0x77d83b5f
+0, 259, 259, 1, 38016, 0x91213d43
+0, 260, 260, 1, 38016, 0x28344889
+0, 261, 261, 1, 38016, 0xd1155a3f
+0, 262, 262, 1, 38016, 0x5c7a65c5
+0, 263, 263, 1, 38016, 0x3d4e7104
+0, 264, 264, 1, 38016, 0x91d96a37
+0, 265, 265, 1, 38016, 0xbc7f63f3
+0, 266, 266, 1, 38016, 0x79275184
+0, 267, 267, 1, 38016, 0xa6b43348
+0, 268, 268, 1, 38016, 0x9e1d105a
+0, 269, 269, 1, 38016, 0x14bce053
+0, 270, 270, 1, 38016, 0x0ce3a7ca
+0, 271, 271, 1, 38016, 0x4b5980fe
+0, 272, 272, 1, 38016, 0x32745e1c
+0, 273, 273, 1, 38016, 0x85b91358
+0, 274, 274, 1, 38016, 0x9e26c66c
+0, 275, 275, 1, 38016, 0x9735b157
+0, 276, 276, 1, 38016, 0xfeaac3d1
+0, 277, 277, 1, 38016, 0x8c95ca9f
+0, 278, 278, 1, 38016, 0x1336fa92
+0, 279, 279, 1, 38016, 0x37bb65f8
+0, 280, 280, 1, 38016, 0x830c078a
+0, 281, 281, 1, 38016, 0x088dd912
+0, 282, 282, 1, 38016, 0x8ef1a5a0
+0, 283, 283, 1, 38016, 0x9a1e642d
+0, 284, 284, 1, 38016, 0xa165517e
+0, 285, 285, 1, 38016, 0x0a34a67f
+0, 286, 286, 1, 38016, 0xaf0a662a
+0, 287, 287, 1, 38016, 0x3a5fa553
+0, 288, 288, 1, 38016, 0xda92b1f8
+0, 289, 289, 1, 38016, 0xac2997f4
+0, 290, 290, 1, 38016, 0x5df32cfc
+0, 291, 291, 1, 38016, 0x5cea491d
+0, 292, 292, 1, 38016, 0xeafbd139
+0, 293, 293, 1, 38016, 0x9ced0e69
+0, 294, 294, 1, 38016, 0x89514e3f
+0, 295, 295, 1, 38016, 0x3f0b4842
+0, 296, 296, 1, 38016, 0xc9902325
+0, 297, 297, 1, 38016, 0xdb3e1585
+0, 298, 298, 1, 38016, 0x3cf31e95
+0, 299, 299, 1, 38016, 0x60f14679
diff --git a/tests/ref/fate/h264-conformance-canl2_sva_b b/tests/ref/fate/h264-conformance-canl2_sva_b
index 8594553538..0436f43ceb 100644
--- a/tests/ref/fate/h264-conformance-canl2_sva_b
+++ b/tests/ref/fate/h264-conformance-canl2_sva_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x0bd22424
-0, 3600, 38016, 0x4eb601f0
-0, 7200, 38016, 0xe16de459
-0, 10800, 38016, 0xde2e0c37
-0, 14400, 38016, 0x14a0286b
-0, 18000, 38016, 0x37bc35b5
-0, 21600, 38016, 0xcfa24923
-0, 25200, 38016, 0xac755ba0
-0, 28800, 38016, 0x27d1822a
-0, 32400, 38016, 0xa8039548
-0, 36000, 38016, 0x400ea1fb
-0, 39600, 38016, 0x7d2ca44a
-0, 43200, 38016, 0xd42dae4f
-0, 46800, 38016, 0x39ce9599
-0, 50400, 38016, 0x37498aa1
-0, 54000, 38016, 0x8558911f
-0, 57600, 38016, 0x06a8a9ad
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x0bd22424
+0, 1, 1, 1, 38016, 0x4eb601f0
+0, 2, 2, 1, 38016, 0xe16de459
+0, 3, 3, 1, 38016, 0xde2e0c37
+0, 4, 4, 1, 38016, 0x14a0286b
+0, 5, 5, 1, 38016, 0x37bc35b5
+0, 6, 6, 1, 38016, 0xcfa24923
+0, 7, 7, 1, 38016, 0xac755ba0
+0, 8, 8, 1, 38016, 0x27d1822a
+0, 9, 9, 1, 38016, 0xa8039548
+0, 10, 10, 1, 38016, 0x400ea1fb
+0, 11, 11, 1, 38016, 0x7d2ca44a
+0, 12, 12, 1, 38016, 0xd42dae4f
+0, 13, 13, 1, 38016, 0x39ce9599
+0, 14, 14, 1, 38016, 0x37498aa1
+0, 15, 15, 1, 38016, 0x8558911f
+0, 16, 16, 1, 38016, 0x06a8a9ad
diff --git a/tests/ref/fate/h264-conformance-canl3_sony_c b/tests/ref/fate/h264-conformance-canl3_sony_c
index 4d7f0eb0a4..2e726cfd71 100644
--- a/tests/ref/fate/h264-conformance-canl3_sony_c
+++ b/tests/ref/fate/h264-conformance-canl3_sony_c
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xc805351d
-0, 3600, 38016, 0xa0b41fef
-0, 7200, 38016, 0x965cf070
-0, 10800, 38016, 0x4552af45
-0, 14400, 38016, 0x8429a576
-0, 18000, 38016, 0xf6df8fc0
-0, 21600, 38016, 0x5d85554c
-0, 25200, 38016, 0x9c9d5b96
-0, 28800, 38016, 0xbc4a4b71
-0, 32400, 38016, 0xae4d3fc8
-0, 36000, 38016, 0xf4da7f25
-0, 39600, 38016, 0xf7d89a46
-0, 43200, 38016, 0x204977fd
-0, 46800, 38016, 0xa505b626
-0, 50400, 38016, 0xc7b8b3f8
-0, 54000, 38016, 0x96929e05
-0, 57600, 38016, 0xfcfab8cc
-0, 61200, 38016, 0x750caf2d
-0, 64800, 38016, 0xa2c682ca
-0, 68400, 38016, 0x3dcd8f07
-0, 72000, 38016, 0x48fb69b3
-0, 75600, 38016, 0x128e3310
-0, 79200, 38016, 0x03803338
-0, 82800, 38016, 0x11362bda
-0, 86400, 38016, 0xc672229a
-0, 90000, 38016, 0x68e540d0
-0, 93600, 38016, 0x9d3a3deb
-0, 97200, 38016, 0x53b233af
-0, 100800, 38016, 0x3c6767eb
-0, 104400, 38016, 0x2a8d75f2
-0, 108000, 38016, 0x006f63cc
-0, 111600, 38016, 0x3652a79e
-0, 115200, 38016, 0x42f8c0fa
-0, 118800, 38016, 0x052eb292
-0, 122400, 38016, 0xbe7de0e7
-0, 126000, 38016, 0xf9f9d46f
-0, 129600, 38016, 0xb6d9b200
-0, 133200, 38016, 0xc3bcd2d2
-0, 136800, 38016, 0x23b5c8c2
-0, 140400, 38016, 0x67caaf99
-0, 144000, 38016, 0xb365cd31
-0, 147600, 38016, 0x7cabc68f
-0, 151200, 38016, 0xca8bb87a
-0, 154800, 38016, 0x66a4be22
-0, 158400, 38016, 0x2d10c1b0
-0, 162000, 38016, 0xd1548835
-0, 165600, 38016, 0x8b15b359
-0, 169200, 38016, 0x2337b654
-0, 172800, 38016, 0x56cfac2b
-0, 176400, 38016, 0x7ad4c642
-0, 180000, 38016, 0x6666c353
-0, 183600, 38016, 0x053fb0f2
-0, 187200, 38016, 0x2547c115
-0, 190800, 38016, 0xf202c045
-0, 194400, 38016, 0x94a8b95f
-0, 198000, 38016, 0x439ccb13
-0, 201600, 38016, 0xdfe4d54f
-0, 205200, 38016, 0x2a0aceae
-0, 208800, 38016, 0x1293dbd5
-0, 212400, 38016, 0x9a62d994
-0, 216000, 38016, 0x65539ad7
-0, 219600, 38016, 0xc415ad58
-0, 223200, 38016, 0x47bb9417
-0, 226800, 38016, 0x92b745ea
-0, 230400, 38016, 0x8fe8646e
-0, 234000, 38016, 0x2b94857a
-0, 237600, 38016, 0x12ac9aa4
-0, 241200, 38016, 0x856bf0ea
-0, 244800, 38016, 0xdbb32674
-0, 248400, 38016, 0x96b53747
-0, 252000, 38016, 0x875a7548
-0, 255600, 38016, 0xdba4985c
-0, 259200, 38016, 0x47cbb86c
-0, 262800, 38016, 0x32dcfb99
-0, 266400, 38016, 0x18b53b26
-0, 270000, 38016, 0x2f0f3e49
-0, 273600, 38016, 0x27b1880d
-0, 277200, 38016, 0xbcc19dac
-0, 280800, 38016, 0x7b6caeb1
-0, 284400, 38016, 0xf3eece06
-0, 288000, 38016, 0x7d93d4c9
-0, 291600, 38016, 0xe6b8d923
-0, 295200, 38016, 0xf47ce844
-0, 298800, 38016, 0x74fce21c
-0, 302400, 38016, 0x8e87d8cd
-0, 306000, 38016, 0x9675d3ce
-0, 309600, 38016, 0xd797ec75
-0, 313200, 38016, 0x70aeeef1
-0, 316800, 38016, 0x47baef32
-0, 320400, 38016, 0x5054ec56
-0, 324000, 38016, 0x43b6a0f7
-0, 327600, 38016, 0x95dfb688
-0, 331200, 38016, 0xc878a574
-0, 334800, 38016, 0xeb928019
-0, 338400, 38016, 0x304b7fec
-0, 342000, 38016, 0x02cd7ea4
-0, 345600, 38016, 0x505f7a7a
-0, 349200, 38016, 0x09f59eaf
-0, 352800, 38016, 0x513faaf7
-0, 356400, 38016, 0xbd0daaa8
-0, 360000, 38016, 0x8012be0f
-0, 363600, 38016, 0xb663aa15
-0, 367200, 38016, 0xd138981a
-0, 370800, 38016, 0xc16b98a2
-0, 374400, 38016, 0xf43eb8f8
-0, 378000, 38016, 0xea22a35b
-0, 381600, 38016, 0x9a0be0bb
-0, 385200, 38016, 0x2a77ff9d
-0, 388800, 38016, 0x2e350431
-0, 392400, 38016, 0x9d0335ba
-0, 396000, 38016, 0x62f23f21
-0, 399600, 38016, 0x3e973351
-0, 403200, 38016, 0x9d8f4ac5
-0, 406800, 38016, 0x91e132ba
-0, 410400, 38016, 0xfd04f69a
-0, 414000, 38016, 0x481a1778
-0, 417600, 38016, 0x27fa1dc4
-0, 421200, 38016, 0x23ae0a6a
-0, 424800, 38016, 0xc3ec426a
-0, 428400, 38016, 0xc2a54ac1
-0, 432000, 38016, 0xd88d3691
-0, 435600, 38016, 0x46014ba7
-0, 439200, 38016, 0xbf902815
-0, 442800, 38016, 0x2af5ee16
-0, 446400, 38016, 0xd183dc64
-0, 450000, 38016, 0xf0c5bdd8
-0, 453600, 38016, 0xb21aa102
-0, 457200, 38016, 0xb35bbec2
-0, 460800, 38016, 0x7efad1ce
-0, 464400, 38016, 0x04e3d71d
-0, 468000, 38016, 0x901ff71b
-0, 471600, 38016, 0xc6c6e640
-0, 475200, 38016, 0xd292d5d3
-0, 478800, 38016, 0x2ce4e3fe
-0, 482400, 38016, 0xe7fedf8a
-0, 486000, 38016, 0x20e5a1eb
-0, 489600, 38016, 0xbc39be76
-0, 493200, 38016, 0xf749b4dd
-0, 496800, 38016, 0xbc3f97a4
-0, 500400, 38016, 0xa058a244
-0, 504000, 38016, 0x77eb961b
-0, 507600, 38016, 0xa92e7f25
-0, 511200, 38016, 0xc75e796f
-0, 514800, 38016, 0x114c79bd
-0, 518400, 38016, 0x3fb96da3
-0, 522000, 38016, 0x1c6f87b8
-0, 525600, 38016, 0x25567ae4
-0, 529200, 38016, 0xf5dd42b2
-0, 532800, 38016, 0xe6172d0c
-0, 536400, 38016, 0xcec0fd48
-0, 540000, 38016, 0x0d27b12d
-0, 543600, 38016, 0x3ec7cd24
-0, 547200, 38016, 0xb2dccabe
-0, 550800, 38016, 0xa977a844
-0, 554400, 38016, 0x4b3bbfed
-0, 558000, 38016, 0xed6dd876
-0, 561600, 38016, 0x751bd34e
-0, 565200, 38016, 0x80160cf9
-0, 568800, 38016, 0xfbf53be8
-0, 572400, 38016, 0x726e4f3b
-0, 576000, 38016, 0x8ebb730c
-0, 579600, 38016, 0x2c0c5fe6
-0, 583200, 38016, 0x450940c0
-0, 586800, 38016, 0xeed63ff8
-0, 590400, 38016, 0x6f233d75
-0, 594000, 38016, 0x98d2f70e
-0, 597600, 38016, 0x8d38f2e8
-0, 601200, 38016, 0x905dcbc9
-0, 604800, 38016, 0x68c3a0f7
-0, 608400, 38016, 0x4bb8a40c
-0, 612000, 38016, 0x3650b08e
-0, 615600, 38016, 0x3c3bbfd7
-0, 619200, 38016, 0xcbc9da56
-0, 622800, 38016, 0x576de6cd
-0, 626400, 38016, 0x95f5c8c1
-0, 630000, 38016, 0xbbcaacc8
-0, 633600, 38016, 0x1b547ba4
-0, 637200, 38016, 0x8f5238b2
-0, 640800, 38016, 0x4c0f35c4
-0, 644400, 38016, 0x894f278d
-0, 648000, 38016, 0x3bb3ecd3
-0, 651600, 38016, 0x177bf317
-0, 655200, 38016, 0xdb1fdada
-0, 658800, 38016, 0xec27cc28
-0, 662400, 38016, 0x6a12eec7
-0, 666000, 38016, 0x0168ff3f
-0, 669600, 38016, 0x3fa206ba
-0, 673200, 38016, 0x47cc30b5
-0, 676800, 38016, 0xb2d02ddd
-0, 680400, 38016, 0x306626bb
-0, 684000, 38016, 0xfb06eb5b
-0, 687600, 38016, 0x5881b60e
-0, 691200, 38016, 0xd58caaf8
-0, 694800, 38016, 0x840bdd0c
-0, 698400, 38016, 0xb71efac1
-0, 702000, 38016, 0x25961ad1
-0, 705600, 38016, 0xbec156eb
-0, 709200, 38016, 0xe2d1695c
-0, 712800, 38016, 0x3fbe83d4
-0, 716400, 38016, 0x10d8afe2
-0, 720000, 38016, 0xa61fb9aa
-0, 723600, 38016, 0x0c20be29
-0, 727200, 38016, 0xc273cdd4
-0, 730800, 38016, 0xfb21cfa0
-0, 734400, 38016, 0xb1ccc643
-0, 738000, 38016, 0x30f5d7a2
-0, 741600, 38016, 0xe742da0f
-0, 745200, 38016, 0x0a08d6a3
-0, 748800, 38016, 0x85c4cf6c
-0, 752400, 38016, 0xc117b8f4
-0, 756000, 38016, 0x39305ec1
-0, 759600, 38016, 0xf2867b2d
-0, 763200, 38016, 0x81147a22
-0, 766800, 38016, 0x308b59c3
-0, 770400, 38016, 0xfd076bbd
-0, 774000, 38016, 0x11bf57f5
-0, 777600, 38016, 0x8c103fb7
-0, 781200, 38016, 0x4f5e5a48
-0, 784800, 38016, 0xa0fd54dc
-0, 788400, 38016, 0x69d7429b
-0, 792000, 38016, 0x93154a7c
-0, 795600, 38016, 0xc72e3995
-0, 799200, 38016, 0x86541ae0
-0, 802800, 38016, 0xa9c93120
-0, 806400, 38016, 0x602d368a
-0, 810000, 38016, 0x6fca13cb
-0, 813600, 38016, 0x314f3702
-0, 817200, 38016, 0x4d1647bd
-0, 820800, 38016, 0x73673c96
-0, 824400, 38016, 0x62897c6f
-0, 828000, 38016, 0x918e9a7d
-0, 831600, 38016, 0x9fb9ad4f
-0, 835200, 38016, 0xc4c30339
-0, 838800, 38016, 0x137017df
-0, 842400, 38016, 0xa98a1b61
-0, 846000, 38016, 0xf74c4b4f
-0, 849600, 38016, 0x3eac5cb1
-0, 853200, 38016, 0x5d403e50
-0, 856800, 38016, 0xa33a4eb6
-0, 860400, 38016, 0x3f0a13fb
-0, 864000, 38016, 0x8b11e5a8
-0, 867600, 38016, 0x536bca4b
-0, 871200, 38016, 0xe1daa789
-0, 874800, 38016, 0xab37f6d1
-0, 878400, 38016, 0xbefe6f58
-0, 882000, 38016, 0xa5fdd2ff
-0, 885600, 38016, 0x6065ec01
-0, 889200, 38016, 0x939dd93a
-0, 892800, 38016, 0x3a7593d5
-0, 896400, 38016, 0x30fe19fe
-0, 900000, 38016, 0xb507c21c
-0, 903600, 38016, 0xf47f73ac
-0, 907200, 38016, 0xe9fc669a
-0, 910800, 38016, 0x2b85d19a
-0, 914400, 38016, 0x57033999
-0, 918000, 38016, 0x0e5eca3b
-0, 921600, 38016, 0x6a7bda2c
-0, 925200, 38016, 0x3517638d
-0, 928800, 38016, 0x1f5432e3
-0, 932400, 38016, 0x584d4c96
-0, 936000, 38016, 0x92474c0c
-0, 939600, 38016, 0x8c5e44a5
-0, 943200, 38016, 0x07dd64d4
-0, 946800, 38016, 0x828d632b
-0, 950400, 38016, 0x142254b6
-0, 954000, 38016, 0x8f9b60a4
-0, 957600, 38016, 0x44f745dd
-0, 961200, 38016, 0xc3321666
-0, 964800, 38016, 0x95520396
-0, 968400, 38016, 0x3eb3de27
-0, 972000, 38016, 0x0ce3a7ca
-0, 975600, 38016, 0x58258838
-0, 979200, 38016, 0x5725627a
-0, 982800, 38016, 0x901907ab
-0, 986400, 38016, 0xf965da2f
-0, 990000, 38016, 0xf542bae9
-0, 993600, 38016, 0x3dc4b3c3
-0, 997200, 38016, 0x8a1dd1e9
-0, 1000800, 38016, 0x4f6ef803
-0, 1004400, 38016, 0xde384800
-0, 1008000, 38016, 0x7251116f
-0, 1011600, 38016, 0x89f9e1ca
-0, 1015200, 38016, 0xc9818624
-0, 1018800, 38016, 0x30e391a6
-0, 1022400, 38016, 0x7aab6887
-0, 1026000, 38016, 0x0a34a67f
-0, 1029600, 38016, 0xe1258086
-0, 1033200, 38016, 0x5b16a887
-0, 1036800, 38016, 0x3297a135
-0, 1040400, 38016, 0x45a77236
-0, 1044000, 38016, 0xa414013a
-0, 1047600, 38016, 0xfab52c7e
-0, 1051200, 38016, 0x9074aca1
-0, 1054800, 38016, 0x843ad8a6
-0, 1058400, 38016, 0xccc63573
-0, 1062000, 38016, 0x3ba52a5f
-0, 1065600, 38016, 0x2f7b0236
-0, 1069200, 38016, 0x0ad407ec
-0, 1072800, 38016, 0x42082369
-0, 1076400, 38016, 0x5a9d3f63
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc805351d
+0, 1, 1, 1, 38016, 0xa0b41fef
+0, 2, 2, 1, 38016, 0x965cf070
+0, 3, 3, 1, 38016, 0x4552af45
+0, 4, 4, 1, 38016, 0x8429a576
+0, 5, 5, 1, 38016, 0xf6df8fc0
+0, 6, 6, 1, 38016, 0x5d85554c
+0, 7, 7, 1, 38016, 0x9c9d5b96
+0, 8, 8, 1, 38016, 0xbc4a4b71
+0, 9, 9, 1, 38016, 0xae4d3fc8
+0, 10, 10, 1, 38016, 0xf4da7f25
+0, 11, 11, 1, 38016, 0xf7d89a46
+0, 12, 12, 1, 38016, 0x204977fd
+0, 13, 13, 1, 38016, 0xa505b626
+0, 14, 14, 1, 38016, 0xc7b8b3f8
+0, 15, 15, 1, 38016, 0x96929e05
+0, 16, 16, 1, 38016, 0xfcfab8cc
+0, 17, 17, 1, 38016, 0x750caf2d
+0, 18, 18, 1, 38016, 0xa2c682ca
+0, 19, 19, 1, 38016, 0x3dcd8f07
+0, 20, 20, 1, 38016, 0x48fb69b3
+0, 21, 21, 1, 38016, 0x128e3310
+0, 22, 22, 1, 38016, 0x03803338
+0, 23, 23, 1, 38016, 0x11362bda
+0, 24, 24, 1, 38016, 0xc672229a
+0, 25, 25, 1, 38016, 0x68e540d0
+0, 26, 26, 1, 38016, 0x9d3a3deb
+0, 27, 27, 1, 38016, 0x53b233af
+0, 28, 28, 1, 38016, 0x3c6767eb
+0, 29, 29, 1, 38016, 0x2a8d75f2
+0, 30, 30, 1, 38016, 0x006f63cc
+0, 31, 31, 1, 38016, 0x3652a79e
+0, 32, 32, 1, 38016, 0x42f8c0fa
+0, 33, 33, 1, 38016, 0x052eb292
+0, 34, 34, 1, 38016, 0xbe7de0e7
+0, 35, 35, 1, 38016, 0xf9f9d46f
+0, 36, 36, 1, 38016, 0xb6d9b200
+0, 37, 37, 1, 38016, 0xc3bcd2d2
+0, 38, 38, 1, 38016, 0x23b5c8c2
+0, 39, 39, 1, 38016, 0x67caaf99
+0, 40, 40, 1, 38016, 0xb365cd31
+0, 41, 41, 1, 38016, 0x7cabc68f
+0, 42, 42, 1, 38016, 0xca8bb87a
+0, 43, 43, 1, 38016, 0x66a4be22
+0, 44, 44, 1, 38016, 0x2d10c1b0
+0, 45, 45, 1, 38016, 0xd1548835
+0, 46, 46, 1, 38016, 0x8b15b359
+0, 47, 47, 1, 38016, 0x2337b654
+0, 48, 48, 1, 38016, 0x56cfac2b
+0, 49, 49, 1, 38016, 0x7ad4c642
+0, 50, 50, 1, 38016, 0x6666c353
+0, 51, 51, 1, 38016, 0x053fb0f2
+0, 52, 52, 1, 38016, 0x2547c115
+0, 53, 53, 1, 38016, 0xf202c045
+0, 54, 54, 1, 38016, 0x94a8b95f
+0, 55, 55, 1, 38016, 0x439ccb13
+0, 56, 56, 1, 38016, 0xdfe4d54f
+0, 57, 57, 1, 38016, 0x2a0aceae
+0, 58, 58, 1, 38016, 0x1293dbd5
+0, 59, 59, 1, 38016, 0x9a62d994
+0, 60, 60, 1, 38016, 0x65539ad7
+0, 61, 61, 1, 38016, 0xc415ad58
+0, 62, 62, 1, 38016, 0x47bb9417
+0, 63, 63, 1, 38016, 0x92b745ea
+0, 64, 64, 1, 38016, 0x8fe8646e
+0, 65, 65, 1, 38016, 0x2b94857a
+0, 66, 66, 1, 38016, 0x12ac9aa4
+0, 67, 67, 1, 38016, 0x856bf0ea
+0, 68, 68, 1, 38016, 0xdbb32674
+0, 69, 69, 1, 38016, 0x96b53747
+0, 70, 70, 1, 38016, 0x875a7548
+0, 71, 71, 1, 38016, 0xdba4985c
+0, 72, 72, 1, 38016, 0x47cbb86c
+0, 73, 73, 1, 38016, 0x32dcfb99
+0, 74, 74, 1, 38016, 0x18b53b26
+0, 75, 75, 1, 38016, 0x2f0f3e49
+0, 76, 76, 1, 38016, 0x27b1880d
+0, 77, 77, 1, 38016, 0xbcc19dac
+0, 78, 78, 1, 38016, 0x7b6caeb1
+0, 79, 79, 1, 38016, 0xf3eece06
+0, 80, 80, 1, 38016, 0x7d93d4c9
+0, 81, 81, 1, 38016, 0xe6b8d923
+0, 82, 82, 1, 38016, 0xf47ce844
+0, 83, 83, 1, 38016, 0x74fce21c
+0, 84, 84, 1, 38016, 0x8e87d8cd
+0, 85, 85, 1, 38016, 0x9675d3ce
+0, 86, 86, 1, 38016, 0xd797ec75
+0, 87, 87, 1, 38016, 0x70aeeef1
+0, 88, 88, 1, 38016, 0x47baef32
+0, 89, 89, 1, 38016, 0x5054ec56
+0, 90, 90, 1, 38016, 0x43b6a0f7
+0, 91, 91, 1, 38016, 0x95dfb688
+0, 92, 92, 1, 38016, 0xc878a574
+0, 93, 93, 1, 38016, 0xeb928019
+0, 94, 94, 1, 38016, 0x304b7fec
+0, 95, 95, 1, 38016, 0x02cd7ea4
+0, 96, 96, 1, 38016, 0x505f7a7a
+0, 97, 97, 1, 38016, 0x09f59eaf
+0, 98, 98, 1, 38016, 0x513faaf7
+0, 99, 99, 1, 38016, 0xbd0daaa8
+0, 100, 100, 1, 38016, 0x8012be0f
+0, 101, 101, 1, 38016, 0xb663aa15
+0, 102, 102, 1, 38016, 0xd138981a
+0, 103, 103, 1, 38016, 0xc16b98a2
+0, 104, 104, 1, 38016, 0xf43eb8f8
+0, 105, 105, 1, 38016, 0xea22a35b
+0, 106, 106, 1, 38016, 0x9a0be0bb
+0, 107, 107, 1, 38016, 0x2a77ff9d
+0, 108, 108, 1, 38016, 0x2e350431
+0, 109, 109, 1, 38016, 0x9d0335ba
+0, 110, 110, 1, 38016, 0x62f23f21
+0, 111, 111, 1, 38016, 0x3e973351
+0, 112, 112, 1, 38016, 0x9d8f4ac5
+0, 113, 113, 1, 38016, 0x91e132ba
+0, 114, 114, 1, 38016, 0xfd04f69a
+0, 115, 115, 1, 38016, 0x481a1778
+0, 116, 116, 1, 38016, 0x27fa1dc4
+0, 117, 117, 1, 38016, 0x23ae0a6a
+0, 118, 118, 1, 38016, 0xc3ec426a
+0, 119, 119, 1, 38016, 0xc2a54ac1
+0, 120, 120, 1, 38016, 0xd88d3691
+0, 121, 121, 1, 38016, 0x46014ba7
+0, 122, 122, 1, 38016, 0xbf902815
+0, 123, 123, 1, 38016, 0x2af5ee16
+0, 124, 124, 1, 38016, 0xd183dc64
+0, 125, 125, 1, 38016, 0xf0c5bdd8
+0, 126, 126, 1, 38016, 0xb21aa102
+0, 127, 127, 1, 38016, 0xb35bbec2
+0, 128, 128, 1, 38016, 0x7efad1ce
+0, 129, 129, 1, 38016, 0x04e3d71d
+0, 130, 130, 1, 38016, 0x901ff71b
+0, 131, 131, 1, 38016, 0xc6c6e640
+0, 132, 132, 1, 38016, 0xd292d5d3
+0, 133, 133, 1, 38016, 0x2ce4e3fe
+0, 134, 134, 1, 38016, 0xe7fedf8a
+0, 135, 135, 1, 38016, 0x20e5a1eb
+0, 136, 136, 1, 38016, 0xbc39be76
+0, 137, 137, 1, 38016, 0xf749b4dd
+0, 138, 138, 1, 38016, 0xbc3f97a4
+0, 139, 139, 1, 38016, 0xa058a244
+0, 140, 140, 1, 38016, 0x77eb961b
+0, 141, 141, 1, 38016, 0xa92e7f25
+0, 142, 142, 1, 38016, 0xc75e796f
+0, 143, 143, 1, 38016, 0x114c79bd
+0, 144, 144, 1, 38016, 0x3fb96da3
+0, 145, 145, 1, 38016, 0x1c6f87b8
+0, 146, 146, 1, 38016, 0x25567ae4
+0, 147, 147, 1, 38016, 0xf5dd42b2
+0, 148, 148, 1, 38016, 0xe6172d0c
+0, 149, 149, 1, 38016, 0xcec0fd48
+0, 150, 150, 1, 38016, 0x0d27b12d
+0, 151, 151, 1, 38016, 0x3ec7cd24
+0, 152, 152, 1, 38016, 0xb2dccabe
+0, 153, 153, 1, 38016, 0xa977a844
+0, 154, 154, 1, 38016, 0x4b3bbfed
+0, 155, 155, 1, 38016, 0xed6dd876
+0, 156, 156, 1, 38016, 0x751bd34e
+0, 157, 157, 1, 38016, 0x80160cf9
+0, 158, 158, 1, 38016, 0xfbf53be8
+0, 159, 159, 1, 38016, 0x726e4f3b
+0, 160, 160, 1, 38016, 0x8ebb730c
+0, 161, 161, 1, 38016, 0x2c0c5fe6
+0, 162, 162, 1, 38016, 0x450940c0
+0, 163, 163, 1, 38016, 0xeed63ff8
+0, 164, 164, 1, 38016, 0x6f233d75
+0, 165, 165, 1, 38016, 0x98d2f70e
+0, 166, 166, 1, 38016, 0x8d38f2e8
+0, 167, 167, 1, 38016, 0x905dcbc9
+0, 168, 168, 1, 38016, 0x68c3a0f7
+0, 169, 169, 1, 38016, 0x4bb8a40c
+0, 170, 170, 1, 38016, 0x3650b08e
+0, 171, 171, 1, 38016, 0x3c3bbfd7
+0, 172, 172, 1, 38016, 0xcbc9da56
+0, 173, 173, 1, 38016, 0x576de6cd
+0, 174, 174, 1, 38016, 0x95f5c8c1
+0, 175, 175, 1, 38016, 0xbbcaacc8
+0, 176, 176, 1, 38016, 0x1b547ba4
+0, 177, 177, 1, 38016, 0x8f5238b2
+0, 178, 178, 1, 38016, 0x4c0f35c4
+0, 179, 179, 1, 38016, 0x894f278d
+0, 180, 180, 1, 38016, 0x3bb3ecd3
+0, 181, 181, 1, 38016, 0x177bf317
+0, 182, 182, 1, 38016, 0xdb1fdada
+0, 183, 183, 1, 38016, 0xec27cc28
+0, 184, 184, 1, 38016, 0x6a12eec7
+0, 185, 185, 1, 38016, 0x0168ff3f
+0, 186, 186, 1, 38016, 0x3fa206ba
+0, 187, 187, 1, 38016, 0x47cc30b5
+0, 188, 188, 1, 38016, 0xb2d02ddd
+0, 189, 189, 1, 38016, 0x306626bb
+0, 190, 190, 1, 38016, 0xfb06eb5b
+0, 191, 191, 1, 38016, 0x5881b60e
+0, 192, 192, 1, 38016, 0xd58caaf8
+0, 193, 193, 1, 38016, 0x840bdd0c
+0, 194, 194, 1, 38016, 0xb71efac1
+0, 195, 195, 1, 38016, 0x25961ad1
+0, 196, 196, 1, 38016, 0xbec156eb
+0, 197, 197, 1, 38016, 0xe2d1695c
+0, 198, 198, 1, 38016, 0x3fbe83d4
+0, 199, 199, 1, 38016, 0x10d8afe2
+0, 200, 200, 1, 38016, 0xa61fb9aa
+0, 201, 201, 1, 38016, 0x0c20be29
+0, 202, 202, 1, 38016, 0xc273cdd4
+0, 203, 203, 1, 38016, 0xfb21cfa0
+0, 204, 204, 1, 38016, 0xb1ccc643
+0, 205, 205, 1, 38016, 0x30f5d7a2
+0, 206, 206, 1, 38016, 0xe742da0f
+0, 207, 207, 1, 38016, 0x0a08d6a3
+0, 208, 208, 1, 38016, 0x85c4cf6c
+0, 209, 209, 1, 38016, 0xc117b8f4
+0, 210, 210, 1, 38016, 0x39305ec1
+0, 211, 211, 1, 38016, 0xf2867b2d
+0, 212, 212, 1, 38016, 0x81147a22
+0, 213, 213, 1, 38016, 0x308b59c3
+0, 214, 214, 1, 38016, 0xfd076bbd
+0, 215, 215, 1, 38016, 0x11bf57f5
+0, 216, 216, 1, 38016, 0x8c103fb7
+0, 217, 217, 1, 38016, 0x4f5e5a48
+0, 218, 218, 1, 38016, 0xa0fd54dc
+0, 219, 219, 1, 38016, 0x69d7429b
+0, 220, 220, 1, 38016, 0x93154a7c
+0, 221, 221, 1, 38016, 0xc72e3995
+0, 222, 222, 1, 38016, 0x86541ae0
+0, 223, 223, 1, 38016, 0xa9c93120
+0, 224, 224, 1, 38016, 0x602d368a
+0, 225, 225, 1, 38016, 0x6fca13cb
+0, 226, 226, 1, 38016, 0x314f3702
+0, 227, 227, 1, 38016, 0x4d1647bd
+0, 228, 228, 1, 38016, 0x73673c96
+0, 229, 229, 1, 38016, 0x62897c6f
+0, 230, 230, 1, 38016, 0x918e9a7d
+0, 231, 231, 1, 38016, 0x9fb9ad4f
+0, 232, 232, 1, 38016, 0xc4c30339
+0, 233, 233, 1, 38016, 0x137017df
+0, 234, 234, 1, 38016, 0xa98a1b61
+0, 235, 235, 1, 38016, 0xf74c4b4f
+0, 236, 236, 1, 38016, 0x3eac5cb1
+0, 237, 237, 1, 38016, 0x5d403e50
+0, 238, 238, 1, 38016, 0xa33a4eb6
+0, 239, 239, 1, 38016, 0x3f0a13fb
+0, 240, 240, 1, 38016, 0x8b11e5a8
+0, 241, 241, 1, 38016, 0x536bca4b
+0, 242, 242, 1, 38016, 0xe1daa789
+0, 243, 243, 1, 38016, 0xab37f6d1
+0, 244, 244, 1, 38016, 0xbefe6f58
+0, 245, 245, 1, 38016, 0xa5fdd2ff
+0, 246, 246, 1, 38016, 0x6065ec01
+0, 247, 247, 1, 38016, 0x939dd93a
+0, 248, 248, 1, 38016, 0x3a7593d5
+0, 249, 249, 1, 38016, 0x30fe19fe
+0, 250, 250, 1, 38016, 0xb507c21c
+0, 251, 251, 1, 38016, 0xf47f73ac
+0, 252, 252, 1, 38016, 0xe9fc669a
+0, 253, 253, 1, 38016, 0x2b85d19a
+0, 254, 254, 1, 38016, 0x57033999
+0, 255, 255, 1, 38016, 0x0e5eca3b
+0, 256, 256, 1, 38016, 0x6a7bda2c
+0, 257, 257, 1, 38016, 0x3517638d
+0, 258, 258, 1, 38016, 0x1f5432e3
+0, 259, 259, 1, 38016, 0x584d4c96
+0, 260, 260, 1, 38016, 0x92474c0c
+0, 261, 261, 1, 38016, 0x8c5e44a5
+0, 262, 262, 1, 38016, 0x07dd64d4
+0, 263, 263, 1, 38016, 0x828d632b
+0, 264, 264, 1, 38016, 0x142254b6
+0, 265, 265, 1, 38016, 0x8f9b60a4
+0, 266, 266, 1, 38016, 0x44f745dd
+0, 267, 267, 1, 38016, 0xc3321666
+0, 268, 268, 1, 38016, 0x95520396
+0, 269, 269, 1, 38016, 0x3eb3de27
+0, 270, 270, 1, 38016, 0x0ce3a7ca
+0, 271, 271, 1, 38016, 0x58258838
+0, 272, 272, 1, 38016, 0x5725627a
+0, 273, 273, 1, 38016, 0x901907ab
+0, 274, 274, 1, 38016, 0xf965da2f
+0, 275, 275, 1, 38016, 0xf542bae9
+0, 276, 276, 1, 38016, 0x3dc4b3c3
+0, 277, 277, 1, 38016, 0x8a1dd1e9
+0, 278, 278, 1, 38016, 0x4f6ef803
+0, 279, 279, 1, 38016, 0xde384800
+0, 280, 280, 1, 38016, 0x7251116f
+0, 281, 281, 1, 38016, 0x89f9e1ca
+0, 282, 282, 1, 38016, 0xc9818624
+0, 283, 283, 1, 38016, 0x30e391a6
+0, 284, 284, 1, 38016, 0x7aab6887
+0, 285, 285, 1, 38016, 0x0a34a67f
+0, 286, 286, 1, 38016, 0xe1258086
+0, 287, 287, 1, 38016, 0x5b16a887
+0, 288, 288, 1, 38016, 0x3297a135
+0, 289, 289, 1, 38016, 0x45a77236
+0, 290, 290, 1, 38016, 0xa414013a
+0, 291, 291, 1, 38016, 0xfab52c7e
+0, 292, 292, 1, 38016, 0x9074aca1
+0, 293, 293, 1, 38016, 0x843ad8a6
+0, 294, 294, 1, 38016, 0xccc63573
+0, 295, 295, 1, 38016, 0x3ba52a5f
+0, 296, 296, 1, 38016, 0x2f7b0236
+0, 297, 297, 1, 38016, 0x0ad407ec
+0, 298, 298, 1, 38016, 0x42082369
+0, 299, 299, 1, 38016, 0x5a9d3f63
diff --git a/tests/ref/fate/h264-conformance-canl3_sva_b b/tests/ref/fate/h264-conformance-canl3_sva_b
index 1c575c8367..dd56a43987 100644
--- a/tests/ref/fate/h264-conformance-canl3_sva_b
+++ b/tests/ref/fate/h264-conformance-canl3_sva_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x0bd22424
-0, 3600, 38016, 0xc45d1947
-0, 7200, 38016, 0x9d3d1218
-0, 10800, 38016, 0x79b71e03
-0, 14400, 38016, 0xd11e4a14
-0, 18000, 38016, 0x44c66b22
-0, 21600, 38016, 0xb9cc7acf
-0, 25200, 38016, 0x8ccd92a1
-0, 28800, 38016, 0x4a76aec4
-0, 32400, 38016, 0x6e2fc27e
-0, 36000, 38016, 0x400ea1fb
-0, 39600, 38016, 0xd1e2b7c4
-0, 43200, 38016, 0xb45eb08d
-0, 46800, 38016, 0x15079991
-0, 50400, 38016, 0x0fc97188
-0, 54000, 38016, 0xf9fc81af
-0, 57600, 38016, 0x020f992d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x0bd22424
+0, 1, 1, 1, 38016, 0xc45d1947
+0, 2, 2, 1, 38016, 0x9d3d1218
+0, 3, 3, 1, 38016, 0x79b71e03
+0, 4, 4, 1, 38016, 0xd11e4a14
+0, 5, 5, 1, 38016, 0x44c66b22
+0, 6, 6, 1, 38016, 0xb9cc7acf
+0, 7, 7, 1, 38016, 0x8ccd92a1
+0, 8, 8, 1, 38016, 0x4a76aec4
+0, 9, 9, 1, 38016, 0x6e2fc27e
+0, 10, 10, 1, 38016, 0x400ea1fb
+0, 11, 11, 1, 38016, 0xd1e2b7c4
+0, 12, 12, 1, 38016, 0xb45eb08d
+0, 13, 13, 1, 38016, 0x15079991
+0, 14, 14, 1, 38016, 0x0fc97188
+0, 15, 15, 1, 38016, 0xf9fc81af
+0, 16, 16, 1, 38016, 0x020f992d
diff --git a/tests/ref/fate/h264-conformance-canl4_sva_b b/tests/ref/fate/h264-conformance-canl4_sva_b
index 65555fac9f..a9a2dd39f4 100644
--- a/tests/ref/fate/h264-conformance-canl4_sva_b
+++ b/tests/ref/fate/h264-conformance-canl4_sva_b
@@ -1,33 +1,34 @@
-0, 0, 38016, 0x5d9514e3
-0, 3600, 38016, 0xf5e8155c
-0, 7200, 38016, 0xc0a5f88b
-0, 10800, 38016, 0x421d2610
-0, 14400, 38016, 0x971838af
-0, 18000, 38016, 0xbd645dfc
-0, 21600, 38016, 0xaab5626a
-0, 25200, 38016, 0xc8fc9b6b
-0, 28800, 38016, 0x8be593f4
-0, 32400, 38016, 0x6560c0f4
-0, 36000, 38016, 0x29009b56
-0, 39600, 38016, 0x20b4bd2a
-0, 43200, 38016, 0xe8a7a51e
-0, 46800, 38016, 0x8c5e906a
-0, 50400, 38016, 0x15496f1e
-0, 54000, 38016, 0xdc788399
-0, 57600, 38016, 0x2b1e89b2
-0, 61200, 38016, 0xe9fda9bd
-0, 64800, 38016, 0x7c319f69
-0, 68400, 38016, 0x2921cbc4
-0, 72000, 38016, 0xb4fab1e2
-0, 75600, 38016, 0x6af6ba57
-0, 79200, 38016, 0xb36e7df5
-0, 82800, 38016, 0x57517aec
-0, 86400, 38016, 0x9f5f331a
-0, 90000, 38016, 0xafde3f8a
-0, 93600, 38016, 0x97f32b54
-0, 97200, 38016, 0x0c194bf7
-0, 100800, 38016, 0x58a054c2
-0, 104400, 38016, 0x6a637e5f
-0, 108000, 38016, 0x8b2d63d0
-0, 111600, 38016, 0x521772c5
-0, 115200, 38016, 0xae555677
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x5d9514e3
+0, 1, 1, 1, 38016, 0xf5e8155c
+0, 2, 2, 1, 38016, 0xc0a5f88b
+0, 3, 3, 1, 38016, 0x421d2610
+0, 4, 4, 1, 38016, 0x971838af
+0, 5, 5, 1, 38016, 0xbd645dfc
+0, 6, 6, 1, 38016, 0xaab5626a
+0, 7, 7, 1, 38016, 0xc8fc9b6b
+0, 8, 8, 1, 38016, 0x8be593f4
+0, 9, 9, 1, 38016, 0x6560c0f4
+0, 10, 10, 1, 38016, 0x29009b56
+0, 11, 11, 1, 38016, 0x20b4bd2a
+0, 12, 12, 1, 38016, 0xe8a7a51e
+0, 13, 13, 1, 38016, 0x8c5e906a
+0, 14, 14, 1, 38016, 0x15496f1e
+0, 15, 15, 1, 38016, 0xdc788399
+0, 16, 16, 1, 38016, 0x2b1e89b2
+0, 17, 17, 1, 38016, 0xe9fda9bd
+0, 18, 18, 1, 38016, 0x7c319f69
+0, 19, 19, 1, 38016, 0x2921cbc4
+0, 20, 20, 1, 38016, 0xb4fab1e2
+0, 21, 21, 1, 38016, 0x6af6ba57
+0, 22, 22, 1, 38016, 0xb36e7df5
+0, 23, 23, 1, 38016, 0x57517aec
+0, 24, 24, 1, 38016, 0x9f5f331a
+0, 25, 25, 1, 38016, 0xafde3f8a
+0, 26, 26, 1, 38016, 0x97f32b54
+0, 27, 27, 1, 38016, 0x0c194bf7
+0, 28, 28, 1, 38016, 0x58a054c2
+0, 29, 29, 1, 38016, 0x6a637e5f
+0, 30, 30, 1, 38016, 0x8b2d63d0
+0, 31, 31, 1, 38016, 0x521772c5
+0, 32, 32, 1, 38016, 0xae555677
diff --git a/tests/ref/fate/h264-conformance-canlma2_sony_c b/tests/ref/fate/h264-conformance-canlma2_sony_c
index 5eff64e541..b6a759a73e 100644
--- a/tests/ref/fate/h264-conformance-canlma2_sony_c
+++ b/tests/ref/fate/h264-conformance-canlma2_sony_c
@@ -1,17 +1,18 @@
-0, 0, 518400, 0xfbca00c6
-0, 3600, 518400, 0x82b80adf
-0, 7200, 518400, 0x87ecdf4a
-0, 10800, 518400, 0xf6ca8cbe
-0, 14400, 518400, 0x8e9bb8a0
-0, 18000, 518400, 0x6512caa2
-0, 21600, 518400, 0xc015e43e
-0, 25200, 518400, 0x5f504a5c
-0, 28800, 518400, 0x4c7458a4
-0, 32400, 518400, 0x630f4004
-0, 36000, 518400, 0x889af20e
-0, 39600, 518400, 0x4437a5a4
-0, 43200, 518400, 0x1e19a254
-0, 46800, 518400, 0xb7ef1763
-0, 50400, 518400, 0xc966c95a
-0, 54000, 518400, 0x0c9074d6
-0, 57600, 518400, 0x24c906c9
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xfbca00c6
+0, 1, 1, 1, 518400, 0x82b80adf
+0, 2, 2, 1, 518400, 0x87ecdf4a
+0, 3, 3, 1, 518400, 0xf6ca8cbe
+0, 4, 4, 1, 518400, 0x8e9bb8a0
+0, 5, 5, 1, 518400, 0x6512caa2
+0, 6, 6, 1, 518400, 0xc015e43e
+0, 7, 7, 1, 518400, 0x5f504a5c
+0, 8, 8, 1, 518400, 0x4c7458a4
+0, 9, 9, 1, 518400, 0x630f4004
+0, 10, 10, 1, 518400, 0x889af20e
+0, 11, 11, 1, 518400, 0x4437a5a4
+0, 12, 12, 1, 518400, 0x1e19a254
+0, 13, 13, 1, 518400, 0xb7ef1763
+0, 14, 14, 1, 518400, 0xc966c95a
+0, 15, 15, 1, 518400, 0x0c9074d6
+0, 16, 16, 1, 518400, 0x24c906c9
diff --git a/tests/ref/fate/h264-conformance-canlma3_sony_c b/tests/ref/fate/h264-conformance-canlma3_sony_c
index 9ee15dddf3..87ce78608d 100644
--- a/tests/ref/fate/h264-conformance-canlma3_sony_c
+++ b/tests/ref/fate/h264-conformance-canlma3_sony_c
@@ -1,17 +1,18 @@
-0, 0, 518400, 0xfbca00c6
-0, 3600, 518400, 0x82b80adf
-0, 7200, 518400, 0x4874c24c
-0, 10800, 518400, 0xdb19528a
-0, 14400, 518400, 0x27888656
-0, 18000, 518400, 0x5e7aa98f
-0, 21600, 518400, 0xb43ecd8b
-0, 25200, 518400, 0xef772cbd
-0, 28800, 518400, 0x4f1e1d7e
-0, 32400, 518400, 0x0e9fe921
-0, 36000, 518400, 0xe4dab3d2
-0, 39600, 518400, 0x9279587b
-0, 43200, 518400, 0xa8248296
-0, 46800, 518400, 0x7be6c0d6
-0, 50400, 518400, 0x85ea92b1
-0, 54000, 518400, 0x0c9074d6
-0, 57600, 518400, 0x5c95bf41
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xfbca00c6
+0, 1, 1, 1, 518400, 0x82b80adf
+0, 2, 2, 1, 518400, 0x4874c24c
+0, 3, 3, 1, 518400, 0xdb19528a
+0, 4, 4, 1, 518400, 0x27888656
+0, 5, 5, 1, 518400, 0x5e7aa98f
+0, 6, 6, 1, 518400, 0xb43ecd8b
+0, 7, 7, 1, 518400, 0xef772cbd
+0, 8, 8, 1, 518400, 0x4f1e1d7e
+0, 9, 9, 1, 518400, 0x0e9fe921
+0, 10, 10, 1, 518400, 0xe4dab3d2
+0, 11, 11, 1, 518400, 0x9279587b
+0, 12, 12, 1, 518400, 0xa8248296
+0, 13, 13, 1, 518400, 0x7be6c0d6
+0, 14, 14, 1, 518400, 0x85ea92b1
+0, 15, 15, 1, 518400, 0x0c9074d6
+0, 16, 16, 1, 518400, 0x5c95bf41
diff --git a/tests/ref/fate/h264-conformance-capa1_toshiba_b b/tests/ref/fate/h264-conformance-capa1_toshiba_b
index 9f1d91f8a3..a0336f82e5 100644
--- a/tests/ref/fate/h264-conformance-capa1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-capa1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0x4040d2fc
-0, 3600, 152064, 0x0d8f9897
-0, 7200, 152064, 0xc23321cd
-0, 10800, 152064, 0x3c9225eb
-0, 14400, 152064, 0x8927006f
-0, 18000, 152064, 0xf706a302
-0, 21600, 152064, 0x8219c106
-0, 25200, 152064, 0x06c990ea
-0, 28800, 152064, 0x3a0f1135
-0, 32400, 152064, 0x4cff21d3
-0, 36000, 152064, 0x6be0e050
-0, 39600, 152064, 0x718b6c7b
-0, 43200, 152064, 0x24b38713
-0, 46800, 152064, 0x500553fb
-0, 50400, 152064, 0x531ae610
-0, 54000, 152064, 0x46f4ff1b
-0, 57600, 152064, 0xe5abe5ff
-0, 61200, 152064, 0x97daa351
-0, 64800, 152064, 0xfbef0a8f
-0, 68400, 152064, 0xbe76134f
-0, 72000, 152064, 0xa4bf10ea
-0, 75600, 152064, 0xb2fb32af
-0, 79200, 152064, 0xd33027a5
-0, 82800, 152064, 0x78e20c2b
-0, 86400, 152064, 0xefda2d6f
-0, 90000, 152064, 0xb99126f0
-0, 93600, 152064, 0x89d7e465
-0, 97200, 152064, 0x6150ff97
-0, 100800, 152064, 0xde03d937
-0, 104400, 152064, 0xd90ca874
-0, 108000, 152064, 0xb120b294
-0, 111600, 152064, 0x644eade4
-0, 115200, 152064, 0xd1bb004f
-0, 118800, 152064, 0x99806a8b
-0, 122400, 152064, 0x8c6b635f
-0, 126000, 152064, 0xa269fa8b
-0, 129600, 152064, 0xc11c0e64
-0, 133200, 152064, 0xac13f5eb
-0, 136800, 152064, 0x895799cf
-0, 140400, 152064, 0x95a9bea1
-0, 144000, 152064, 0xe998dfba
-0, 147600, 152064, 0xc72d8460
-0, 151200, 152064, 0xd1cb9b9a
-0, 154800, 152064, 0xb49aadd3
-0, 158400, 152064, 0x8bc38547
-0, 162000, 152064, 0x3485984b
-0, 165600, 152064, 0xdf305c0a
-0, 169200, 152064, 0x6a1ec990
-0, 172800, 152064, 0x595e0de4
-0, 176400, 152064, 0xe1baf7c4
-0, 180000, 152064, 0xf08b9b47
-0, 183600, 152064, 0x6532ba6f
-0, 187200, 152064, 0x3de67da6
-0, 190800, 152064, 0x439ffd04
-0, 194400, 152064, 0x6e6c1e97
-0, 198000, 152064, 0x8e5aee7a
-0, 201600, 152064, 0xd634999a
-0, 205200, 152064, 0xadfa9e8b
-0, 208800, 152064, 0x1b9090f5
-0, 212400, 152064, 0x29094dfc
-0, 216000, 152064, 0x56748851
-0, 219600, 152064, 0x2316719d
-0, 223200, 152064, 0x2ee0060b
-0, 226800, 152064, 0x3edb36d4
-0, 230400, 152064, 0x9ef437a3
-0, 234000, 152064, 0x8d9af72e
-0, 237600, 152064, 0xab86389c
-0, 241200, 152064, 0xd3b34576
-0, 244800, 152064, 0x9e5b04f4
-0, 248400, 152064, 0x6a164c17
-0, 252000, 152064, 0xcecf20ab
-0, 255600, 152064, 0x07c8e273
-0, 259200, 152064, 0x9b46fe6a
-0, 262800, 152064, 0xc1e8002b
-0, 266400, 152064, 0xdebdbe53
-0, 270000, 152064, 0x0d2dfd99
-0, 273600, 152064, 0xe8ae925f
-0, 277200, 152064, 0xe1fe6272
-0, 280800, 152064, 0xbb74d5e6
-0, 284400, 152064, 0xc7b5d949
-0, 288000, 152064, 0x9b15b020
-0, 291600, 152064, 0xc8201f44
-0, 295200, 152064, 0x30d03303
-0, 298800, 152064, 0x9f66fbc2
-0, 302400, 152064, 0x482b71ec
-0, 306000, 152064, 0x1c9e50bf
-0, 309600, 152064, 0x89f247e4
-0, 313200, 152064, 0xaa5f9141
-0, 316800, 152064, 0xb816aa8c
-0, 320400, 152064, 0x3112a619
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x4040d2fc
+0, 1, 1, 1, 152064, 0x0d8f9897
+0, 2, 2, 1, 152064, 0xc23321cd
+0, 3, 3, 1, 152064, 0x3c9225eb
+0, 4, 4, 1, 152064, 0x8927006f
+0, 5, 5, 1, 152064, 0xf706a302
+0, 6, 6, 1, 152064, 0x8219c106
+0, 7, 7, 1, 152064, 0x06c990ea
+0, 8, 8, 1, 152064, 0x3a0f1135
+0, 9, 9, 1, 152064, 0x4cff21d3
+0, 10, 10, 1, 152064, 0x6be0e050
+0, 11, 11, 1, 152064, 0x718b6c7b
+0, 12, 12, 1, 152064, 0x24b38713
+0, 13, 13, 1, 152064, 0x500553fb
+0, 14, 14, 1, 152064, 0x531ae610
+0, 15, 15, 1, 152064, 0x46f4ff1b
+0, 16, 16, 1, 152064, 0xe5abe5ff
+0, 17, 17, 1, 152064, 0x97daa351
+0, 18, 18, 1, 152064, 0xfbef0a8f
+0, 19, 19, 1, 152064, 0xbe76134f
+0, 20, 20, 1, 152064, 0xa4bf10ea
+0, 21, 21, 1, 152064, 0xb2fb32af
+0, 22, 22, 1, 152064, 0xd33027a5
+0, 23, 23, 1, 152064, 0x78e20c2b
+0, 24, 24, 1, 152064, 0xefda2d6f
+0, 25, 25, 1, 152064, 0xb99126f0
+0, 26, 26, 1, 152064, 0x89d7e465
+0, 27, 27, 1, 152064, 0x6150ff97
+0, 28, 28, 1, 152064, 0xde03d937
+0, 29, 29, 1, 152064, 0xd90ca874
+0, 30, 30, 1, 152064, 0xb120b294
+0, 31, 31, 1, 152064, 0x644eade4
+0, 32, 32, 1, 152064, 0xd1bb004f
+0, 33, 33, 1, 152064, 0x99806a8b
+0, 34, 34, 1, 152064, 0x8c6b635f
+0, 35, 35, 1, 152064, 0xa269fa8b
+0, 36, 36, 1, 152064, 0xc11c0e64
+0, 37, 37, 1, 152064, 0xac13f5eb
+0, 38, 38, 1, 152064, 0x895799cf
+0, 39, 39, 1, 152064, 0x95a9bea1
+0, 40, 40, 1, 152064, 0xe998dfba
+0, 41, 41, 1, 152064, 0xc72d8460
+0, 42, 42, 1, 152064, 0xd1cb9b9a
+0, 43, 43, 1, 152064, 0xb49aadd3
+0, 44, 44, 1, 152064, 0x8bc38547
+0, 45, 45, 1, 152064, 0x3485984b
+0, 46, 46, 1, 152064, 0xdf305c0a
+0, 47, 47, 1, 152064, 0x6a1ec990
+0, 48, 48, 1, 152064, 0x595e0de4
+0, 49, 49, 1, 152064, 0xe1baf7c4
+0, 50, 50, 1, 152064, 0xf08b9b47
+0, 51, 51, 1, 152064, 0x6532ba6f
+0, 52, 52, 1, 152064, 0x3de67da6
+0, 53, 53, 1, 152064, 0x439ffd04
+0, 54, 54, 1, 152064, 0x6e6c1e97
+0, 55, 55, 1, 152064, 0x8e5aee7a
+0, 56, 56, 1, 152064, 0xd634999a
+0, 57, 57, 1, 152064, 0xadfa9e8b
+0, 58, 58, 1, 152064, 0x1b9090f5
+0, 59, 59, 1, 152064, 0x29094dfc
+0, 60, 60, 1, 152064, 0x56748851
+0, 61, 61, 1, 152064, 0x2316719d
+0, 62, 62, 1, 152064, 0x2ee0060b
+0, 63, 63, 1, 152064, 0x3edb36d4
+0, 64, 64, 1, 152064, 0x9ef437a3
+0, 65, 65, 1, 152064, 0x8d9af72e
+0, 66, 66, 1, 152064, 0xab86389c
+0, 67, 67, 1, 152064, 0xd3b34576
+0, 68, 68, 1, 152064, 0x9e5b04f4
+0, 69, 69, 1, 152064, 0x6a164c17
+0, 70, 70, 1, 152064, 0xcecf20ab
+0, 71, 71, 1, 152064, 0x07c8e273
+0, 72, 72, 1, 152064, 0x9b46fe6a
+0, 73, 73, 1, 152064, 0xc1e8002b
+0, 74, 74, 1, 152064, 0xdebdbe53
+0, 75, 75, 1, 152064, 0x0d2dfd99
+0, 76, 76, 1, 152064, 0xe8ae925f
+0, 77, 77, 1, 152064, 0xe1fe6272
+0, 78, 78, 1, 152064, 0xbb74d5e6
+0, 79, 79, 1, 152064, 0xc7b5d949
+0, 80, 80, 1, 152064, 0x9b15b020
+0, 81, 81, 1, 152064, 0xc8201f44
+0, 82, 82, 1, 152064, 0x30d03303
+0, 83, 83, 1, 152064, 0x9f66fbc2
+0, 84, 84, 1, 152064, 0x482b71ec
+0, 85, 85, 1, 152064, 0x1c9e50bf
+0, 86, 86, 1, 152064, 0x89f247e4
+0, 87, 87, 1, 152064, 0xaa5f9141
+0, 88, 88, 1, 152064, 0xb816aa8c
+0, 89, 89, 1, 152064, 0x3112a619
diff --git a/tests/ref/fate/h264-conformance-capama3_sand_f b/tests/ref/fate/h264-conformance-capama3_sand_f
index 5fb9756d61..b621b8138d 100644
--- a/tests/ref/fate/h264-conformance-capama3_sand_f
+++ b/tests/ref/fate/h264-conformance-capama3_sand_f
@@ -1,50 +1,51 @@
-0, 0, 152064, 0xf772f152
-0, 3600, 152064, 0xc416d300
-0, 7200, 152064, 0xc2275c94
-0, 10800, 152064, 0x1bd35645
-0, 14400, 152064, 0x60327bf5
-0, 18000, 152064, 0x7f5541bd
-0, 21600, 152064, 0x52e5ebad
-0, 25200, 152064, 0xb8e5c1f3
-0, 28800, 152064, 0x2b4e3653
-0, 32400, 152064, 0x9a8f8499
-0, 36000, 152064, 0x32d4e9fb
-0, 39600, 152064, 0x0bc73d7a
-0, 43200, 152064, 0xb58a8b87
-0, 46800, 152064, 0xddbc5468
-0, 50400, 152064, 0xcfa30b64
-0, 54000, 152064, 0xad411f36
-0, 57600, 152064, 0x2f8c4d9b
-0, 61200, 152064, 0xc8523359
-0, 64800, 152064, 0x86be9861
-0, 68400, 152064, 0x7518d731
-0, 72000, 152064, 0x425fbfab
-0, 75600, 152064, 0x4f00250d
-0, 79200, 152064, 0x12b40617
-0, 82800, 152064, 0x65ff925d
-0, 86400, 152064, 0xc76a94c9
-0, 90000, 152064, 0x640170d5
-0, 93600, 152064, 0xd338a090
-0, 97200, 152064, 0xce715174
-0, 100800, 152064, 0x7bded195
-0, 104400, 152064, 0x09e7d3b9
-0, 108000, 152064, 0x651e1518
-0, 111600, 152064, 0x03cadc5f
-0, 115200, 152064, 0x08906919
-0, 118800, 152064, 0x3303ebe0
-0, 122400, 152064, 0xa28676c5
-0, 126000, 152064, 0x3900ecaf
-0, 129600, 152064, 0xeb795a05
-0, 133200, 152064, 0x870034df
-0, 136800, 152064, 0x69b0527a
-0, 140400, 152064, 0xb2b314f9
-0, 144000, 152064, 0x1a44ea1a
-0, 147600, 152064, 0xe6eaec87
-0, 151200, 152064, 0xd9ad818e
-0, 154800, 152064, 0x9c7ff76e
-0, 158400, 152064, 0x74c45abb
-0, 162000, 152064, 0x2f4fa5c6
-0, 165600, 152064, 0x19620702
-0, 169200, 152064, 0xfc9601f3
-0, 172800, 152064, 0x33e0d8e7
-0, 176400, 152064, 0xdf7f2a80
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf772f152
+0, 1, 1, 1, 152064, 0xc416d300
+0, 2, 2, 1, 152064, 0xc2275c94
+0, 3, 3, 1, 152064, 0x1bd35645
+0, 4, 4, 1, 152064, 0x60327bf5
+0, 5, 5, 1, 152064, 0x7f5541bd
+0, 6, 6, 1, 152064, 0x52e5ebad
+0, 7, 7, 1, 152064, 0xb8e5c1f3
+0, 8, 8, 1, 152064, 0x2b4e3653
+0, 9, 9, 1, 152064, 0x9a8f8499
+0, 10, 10, 1, 152064, 0x32d4e9fb
+0, 11, 11, 1, 152064, 0x0bc73d7a
+0, 12, 12, 1, 152064, 0xb58a8b87
+0, 13, 13, 1, 152064, 0xddbc5468
+0, 14, 14, 1, 152064, 0xcfa30b64
+0, 15, 15, 1, 152064, 0xad411f36
+0, 16, 16, 1, 152064, 0x2f8c4d9b
+0, 17, 17, 1, 152064, 0xc8523359
+0, 18, 18, 1, 152064, 0x86be9861
+0, 19, 19, 1, 152064, 0x7518d731
+0, 20, 20, 1, 152064, 0x425fbfab
+0, 21, 21, 1, 152064, 0x4f00250d
+0, 22, 22, 1, 152064, 0x12b40617
+0, 23, 23, 1, 152064, 0x65ff925d
+0, 24, 24, 1, 152064, 0xc76a94c9
+0, 25, 25, 1, 152064, 0x640170d5
+0, 26, 26, 1, 152064, 0xd338a090
+0, 27, 27, 1, 152064, 0xce715174
+0, 28, 28, 1, 152064, 0x7bded195
+0, 29, 29, 1, 152064, 0x09e7d3b9
+0, 30, 30, 1, 152064, 0x651e1518
+0, 31, 31, 1, 152064, 0x03cadc5f
+0, 32, 32, 1, 152064, 0x08906919
+0, 33, 33, 1, 152064, 0x3303ebe0
+0, 34, 34, 1, 152064, 0xa28676c5
+0, 35, 35, 1, 152064, 0x3900ecaf
+0, 36, 36, 1, 152064, 0xeb795a05
+0, 37, 37, 1, 152064, 0x870034df
+0, 38, 38, 1, 152064, 0x69b0527a
+0, 39, 39, 1, 152064, 0xb2b314f9
+0, 40, 40, 1, 152064, 0x1a44ea1a
+0, 41, 41, 1, 152064, 0xe6eaec87
+0, 42, 42, 1, 152064, 0xd9ad818e
+0, 43, 43, 1, 152064, 0x9c7ff76e
+0, 44, 44, 1, 152064, 0x74c45abb
+0, 45, 45, 1, 152064, 0x2f4fa5c6
+0, 46, 46, 1, 152064, 0x19620702
+0, 47, 47, 1, 152064, 0xfc9601f3
+0, 48, 48, 1, 152064, 0x33e0d8e7
+0, 49, 49, 1, 152064, 0xdf7f2a80
diff --git a/tests/ref/fate/h264-conformance-capcm1_sand_e b/tests/ref/fate/h264-conformance-capcm1_sand_e
index 3a90eaf38c..392e8b45d3 100644
--- a/tests/ref/fate/h264-conformance-capcm1_sand_e
+++ b/tests/ref/fate/h264-conformance-capcm1_sand_e
@@ -1,30 +1,31 @@
-0, 0, 152064, 0x9989b588
-0, 3600, 152064, 0x7cbf85d4
-0, 7200, 152064, 0x72615cf1
-0, 10800, 152064, 0xcf98053c
-0, 14400, 152064, 0x42daddb0
-0, 18000, 152064, 0x460ca616
-0, 21600, 152064, 0x54cc5ab1
-0, 25200, 152064, 0xd146396e
-0, 28800, 152064, 0xefbbffc3
-0, 32400, 152064, 0x41ecd870
-0, 36000, 152064, 0x57bba322
-0, 39600, 152064, 0x7e7270f8
-0, 43200, 152064, 0x1f5d1f0e
-0, 46800, 152064, 0x5478eb60
-0, 50400, 152064, 0xd9abb62a
-0, 54000, 152064, 0x97997f6d
-0, 57600, 152064, 0xfc405569
-0, 61200, 152064, 0x4e49329b
-0, 64800, 152064, 0x6b98f9c6
-0, 68400, 152064, 0xa872cf59
-0, 72000, 152064, 0x478a897d
-0, 75600, 152064, 0xf6744e5d
-0, 79200, 152064, 0x7ddf110d
-0, 82800, 152064, 0xe6bde4be
-0, 86400, 152064, 0x5c3ba029
-0, 90000, 152064, 0x07759146
-0, 93600, 152064, 0x4beb510f
-0, 97200, 152064, 0x5b063ad9
-0, 100800, 152064, 0xc2930366
-0, 104400, 152064, 0x5435e658
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9989b588
+0, 1, 1, 1, 152064, 0x7cbf85d4
+0, 2, 2, 1, 152064, 0x72615cf1
+0, 3, 3, 1, 152064, 0xcf98053c
+0, 4, 4, 1, 152064, 0x42daddb0
+0, 5, 5, 1, 152064, 0x460ca616
+0, 6, 6, 1, 152064, 0x54cc5ab1
+0, 7, 7, 1, 152064, 0xd146396e
+0, 8, 8, 1, 152064, 0xefbbffc3
+0, 9, 9, 1, 152064, 0x41ecd870
+0, 10, 10, 1, 152064, 0x57bba322
+0, 11, 11, 1, 152064, 0x7e7270f8
+0, 12, 12, 1, 152064, 0x1f5d1f0e
+0, 13, 13, 1, 152064, 0x5478eb60
+0, 14, 14, 1, 152064, 0xd9abb62a
+0, 15, 15, 1, 152064, 0x97997f6d
+0, 16, 16, 1, 152064, 0xfc405569
+0, 17, 17, 1, 152064, 0x4e49329b
+0, 18, 18, 1, 152064, 0x6b98f9c6
+0, 19, 19, 1, 152064, 0xa872cf59
+0, 20, 20, 1, 152064, 0x478a897d
+0, 21, 21, 1, 152064, 0xf6744e5d
+0, 22, 22, 1, 152064, 0x7ddf110d
+0, 23, 23, 1, 152064, 0xe6bde4be
+0, 24, 24, 1, 152064, 0x5c3ba029
+0, 25, 25, 1, 152064, 0x07759146
+0, 26, 26, 1, 152064, 0x4beb510f
+0, 27, 27, 1, 152064, 0x5b063ad9
+0, 28, 28, 1, 152064, 0xc2930366
+0, 29, 29, 1, 152064, 0x5435e658
diff --git a/tests/ref/fate/h264-conformance-capcmnl1_sand_e b/tests/ref/fate/h264-conformance-capcmnl1_sand_e
index 02f6a902ee..baee0ae12d 100644
--- a/tests/ref/fate/h264-conformance-capcmnl1_sand_e
+++ b/tests/ref/fate/h264-conformance-capcmnl1_sand_e
@@ -1,30 +1,31 @@
-0, 0, 152064, 0xf973b384
-0, 3600, 152064, 0x84418532
-0, 7200, 152064, 0x63165bc0
-0, 10800, 152064, 0x54b5049d
-0, 14400, 152064, 0xde66dbbc
-0, 18000, 152064, 0x8001a4f5
-0, 21600, 152064, 0x6b5259b7
-0, 25200, 152064, 0xd15137a1
-0, 28800, 152064, 0x1d19fdb9
-0, 32400, 152064, 0x3533d5a1
-0, 36000, 152064, 0xf82ba039
-0, 39600, 152064, 0x04366ee9
-0, 43200, 152064, 0xf7ac1dfb
-0, 46800, 152064, 0x6d0aebd7
-0, 50400, 152064, 0x4f2bb62d
-0, 54000, 152064, 0x6a7a7d50
-0, 57600, 152064, 0xc9c95422
-0, 61200, 152064, 0x35a13150
-0, 64800, 152064, 0xb576f7e4
-0, 68400, 152064, 0x5ad3cde5
-0, 72000, 152064, 0xbcb18908
-0, 75600, 152064, 0xa2a24ca7
-0, 79200, 152064, 0x95700ea5
-0, 82800, 152064, 0xfdb5e316
-0, 86400, 152064, 0x56e3a003
-0, 90000, 152064, 0x09ae905c
-0, 93600, 152064, 0xa1175024
-0, 97200, 152064, 0x8b82395e
-0, 100800, 152064, 0x032202da
-0, 104400, 152064, 0xae15e5e7
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf973b384
+0, 1, 1, 1, 152064, 0x84418532
+0, 2, 2, 1, 152064, 0x63165bc0
+0, 3, 3, 1, 152064, 0x54b5049d
+0, 4, 4, 1, 152064, 0xde66dbbc
+0, 5, 5, 1, 152064, 0x8001a4f5
+0, 6, 6, 1, 152064, 0x6b5259b7
+0, 7, 7, 1, 152064, 0xd15137a1
+0, 8, 8, 1, 152064, 0x1d19fdb9
+0, 9, 9, 1, 152064, 0x3533d5a1
+0, 10, 10, 1, 152064, 0xf82ba039
+0, 11, 11, 1, 152064, 0x04366ee9
+0, 12, 12, 1, 152064, 0xf7ac1dfb
+0, 13, 13, 1, 152064, 0x6d0aebd7
+0, 14, 14, 1, 152064, 0x4f2bb62d
+0, 15, 15, 1, 152064, 0x6a7a7d50
+0, 16, 16, 1, 152064, 0xc9c95422
+0, 17, 17, 1, 152064, 0x35a13150
+0, 18, 18, 1, 152064, 0xb576f7e4
+0, 19, 19, 1, 152064, 0x5ad3cde5
+0, 20, 20, 1, 152064, 0xbcb18908
+0, 21, 21, 1, 152064, 0xa2a24ca7
+0, 22, 22, 1, 152064, 0x95700ea5
+0, 23, 23, 1, 152064, 0xfdb5e316
+0, 24, 24, 1, 152064, 0x56e3a003
+0, 25, 25, 1, 152064, 0x09ae905c
+0, 26, 26, 1, 152064, 0xa1175024
+0, 27, 27, 1, 152064, 0x8b82395e
+0, 28, 28, 1, 152064, 0x032202da
+0, 29, 29, 1, 152064, 0xae15e5e7
diff --git a/tests/ref/fate/h264-conformance-capm3_sony_d b/tests/ref/fate/h264-conformance-capm3_sony_d
index 4080b65fa4..ab2b280c21 100644
--- a/tests/ref/fate/h264-conformance-capm3_sony_d
+++ b/tests/ref/fate/h264-conformance-capm3_sony_d
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xa3b72d2f
-0, 3600, 38016, 0x77d918ae
-0, 7200, 38016, 0x181ad684
-0, 10800, 38016, 0x0dafa49c
-0, 14400, 38016, 0x8250a733
-0, 18000, 38016, 0x5d4f79b5
-0, 21600, 38016, 0x59664665
-0, 25200, 38016, 0xdce3491c
-0, 28800, 38016, 0xaffc395f
-0, 32400, 38016, 0xfb09320d
-0, 36000, 38016, 0x9b776724
-0, 39600, 38016, 0x30497da7
-0, 43200, 38016, 0xffd16ea0
-0, 46800, 38016, 0x5b7da1b5
-0, 50400, 38016, 0x764a9cc4
-0, 54000, 38016, 0xc4c79c41
-0, 57600, 38016, 0x883299dd
-0, 61200, 38016, 0xd5f39350
-0, 64800, 38016, 0x892f6808
-0, 68400, 38016, 0x5b0572d7
-0, 72000, 38016, 0x53c84a0c
-0, 75600, 38016, 0xe6ff14e2
-0, 79200, 38016, 0xd66d1924
-0, 82800, 38016, 0x7bec105f
-0, 86400, 38016, 0x405ffc8d
-0, 90000, 38016, 0xfccc2019
-0, 93600, 38016, 0x639f25a2
-0, 97200, 38016, 0xf89e179b
-0, 100800, 38016, 0x3e49456e
-0, 104400, 38016, 0x8d7d5d8e
-0, 108000, 38016, 0x89d15f1e
-0, 111600, 38016, 0x413d8c6a
-0, 115200, 38016, 0xf1a0a555
-0, 118800, 38016, 0x61249a1f
-0, 122400, 38016, 0xbd91c000
-0, 126000, 38016, 0x3209c225
-0, 129600, 38016, 0xfebca72f
-0, 133200, 38016, 0x839abdfd
-0, 136800, 38016, 0xa47cbc00
-0, 140400, 38016, 0x4537a269
-0, 144000, 38016, 0xbf19c0b2
-0, 147600, 38016, 0x7487c290
-0, 151200, 38016, 0xfbf8ab0c
-0, 154800, 38016, 0xce2ab41e
-0, 158400, 38016, 0xb505acf2
-0, 162000, 38016, 0x758489bc
-0, 165600, 38016, 0x7eae9aca
-0, 169200, 38016, 0x67b59692
-0, 172800, 38016, 0x074d9354
-0, 176400, 38016, 0xb6f6ae8a
-0, 180000, 38016, 0xe3b9a825
-0, 183600, 38016, 0x5f4e9cb2
-0, 187200, 38016, 0x88b3abcd
-0, 190800, 38016, 0x0cd7acdb
-0, 194400, 38016, 0xa731a3e4
-0, 198000, 38016, 0x9414c055
-0, 201600, 38016, 0x6cfec34a
-0, 205200, 38016, 0x6c89bce0
-0, 208800, 38016, 0xdabdc781
-0, 212400, 38016, 0x1afcc587
-0, 216000, 38016, 0xb4e79851
-0, 219600, 38016, 0x383ca78a
-0, 223200, 38016, 0x461f83fb
-0, 226800, 38016, 0x55f039e3
-0, 230400, 38016, 0xb6ec5d3f
-0, 234000, 38016, 0x645888af
-0, 237600, 38016, 0x37bc9e52
-0, 241200, 38016, 0x12a4f603
-0, 244800, 38016, 0x63e92df7
-0, 248400, 38016, 0x1a0246e3
-0, 252000, 38016, 0x1a6282fe
-0, 255600, 38016, 0x4e99a785
-0, 259200, 38016, 0xdaefbf23
-0, 262800, 38016, 0x9e8f00f1
-0, 266400, 38016, 0x85ea26c5
-0, 270000, 38016, 0x495e2ddb
-0, 273600, 38016, 0xab6278a4
-0, 277200, 38016, 0x48a78708
-0, 280800, 38016, 0x6fe99535
-0, 284400, 38016, 0xc3d9b8eb
-0, 288000, 38016, 0x4491c577
-0, 291600, 38016, 0x4d42cc30
-0, 295200, 38016, 0x3469d8bd
-0, 298800, 38016, 0x563dd0ad
-0, 302400, 38016, 0x681dbdef
-0, 306000, 38016, 0x5da9d2a7
-0, 309600, 38016, 0x75abdf2e
-0, 313200, 38016, 0x9bf0d13a
-0, 316800, 38016, 0x3c24dd7c
-0, 320400, 38016, 0x5132df96
-0, 324000, 38016, 0x01bd9d86
-0, 327600, 38016, 0x2b97bdfe
-0, 331200, 38016, 0xa7fdb2f1
-0, 334800, 38016, 0xcf908cfd
-0, 338400, 38016, 0xd18e7e52
-0, 342000, 38016, 0x6a1d78d3
-0, 345600, 38016, 0xd9cc83af
-0, 349200, 38016, 0xf6329ca1
-0, 352800, 38016, 0x1976aaeb
-0, 356400, 38016, 0xa3e8a3ce
-0, 360000, 38016, 0x73a2bd65
-0, 363600, 38016, 0xfd00a552
-0, 367200, 38016, 0x2df18642
-0, 370800, 38016, 0x85ad82fb
-0, 374400, 38016, 0x0456a864
-0, 378000, 38016, 0x0d6da3b6
-0, 381600, 38016, 0xabf0de94
-0, 385200, 38016, 0x68aef77e
-0, 388800, 38016, 0xd6aefd84
-0, 392400, 38016, 0x01953184
-0, 396000, 38016, 0xff324067
-0, 399600, 38016, 0x49aa300f
-0, 403200, 38016, 0xc146456b
-0, 406800, 38016, 0xfe5c2980
-0, 410400, 38016, 0x8f4df7eb
-0, 414000, 38016, 0x137c1373
-0, 417600, 38016, 0xfb9d1006
-0, 421200, 38016, 0x7f5409f9
-0, 424800, 38016, 0xa6ff29fc
-0, 428400, 38016, 0xc63e3807
-0, 432000, 38016, 0xd77c313a
-0, 435600, 38016, 0xdd3832dd
-0, 439200, 38016, 0xe70d140c
-0, 442800, 38016, 0xa559d731
-0, 446400, 38016, 0x3593d345
-0, 450000, 38016, 0x7497ad8a
-0, 453600, 38016, 0x9906919f
-0, 457200, 38016, 0x18bfb034
-0, 460800, 38016, 0xa4fbbd76
-0, 464400, 38016, 0xbd6cc31c
-0, 468000, 38016, 0x6ddde005
-0, 471600, 38016, 0x0072dd5f
-0, 475200, 38016, 0x62c5c5c0
-0, 478800, 38016, 0x1093cf81
-0, 482400, 38016, 0x46dbc9ff
-0, 486000, 38016, 0x0269a169
-0, 489600, 38016, 0xc96daa27
-0, 493200, 38016, 0xa0319cf4
-0, 496800, 38016, 0x1cae87fd
-0, 500400, 38016, 0xf1a0977f
-0, 504000, 38016, 0xc4d48a56
-0, 507600, 38016, 0xd3b1704c
-0, 511200, 38016, 0xd5e46a6c
-0, 514800, 38016, 0xb73e68fb
-0, 518400, 38016, 0xc0585fcf
-0, 522000, 38016, 0x1b3978fe
-0, 525600, 38016, 0xdda66c02
-0, 529200, 38016, 0x581033d6
-0, 532800, 38016, 0x0737185f
-0, 536400, 38016, 0xa0c9f494
-0, 540000, 38016, 0x916eae22
-0, 543600, 38016, 0xfdf7d6cd
-0, 547200, 38016, 0x6978ce4c
-0, 550800, 38016, 0x6783b016
-0, 554400, 38016, 0x528ac304
-0, 558000, 38016, 0x245de0ae
-0, 561600, 38016, 0x1dade956
-0, 565200, 38016, 0xa8f316da
-0, 568800, 38016, 0x95f04ca6
-0, 572400, 38016, 0x76615822
-0, 576000, 38016, 0x21de6ff4
-0, 579600, 38016, 0x12be5e8b
-0, 583200, 38016, 0x47ea3cbd
-0, 586800, 38016, 0x113631b5
-0, 590400, 38016, 0x546b2789
-0, 594000, 38016, 0x0505f2bb
-0, 597600, 38016, 0x90eee299
-0, 601200, 38016, 0x305cb341
-0, 604800, 38016, 0x5921841b
-0, 608400, 38016, 0x1449922d
-0, 612000, 38016, 0xca8f9f0a
-0, 615600, 38016, 0x0daeab19
-0, 619200, 38016, 0xde20dc27
-0, 622800, 38016, 0xb6ffd92c
-0, 626400, 38016, 0xedb1bc49
-0, 630000, 38016, 0x4ccf9ff5
-0, 633600, 38016, 0xfb636cd5
-0, 637200, 38016, 0x9c562c3d
-0, 640800, 38016, 0x0b021c95
-0, 644400, 38016, 0x8da50f21
-0, 648000, 38016, 0xa043ec8c
-0, 651600, 38016, 0x0143f4f2
-0, 655200, 38016, 0x77bece5b
-0, 658800, 38016, 0x147ccc68
-0, 662400, 38016, 0xa90cf948
-0, 666000, 38016, 0x8764066e
-0, 669600, 38016, 0x26c61821
-0, 673200, 38016, 0x39dd3be4
-0, 676800, 38016, 0xe2203c69
-0, 680400, 38016, 0x00e73014
-0, 684000, 38016, 0x0024f9eb
-0, 687600, 38016, 0x3a0da880
-0, 691200, 38016, 0x0336a353
-0, 694800, 38016, 0x721ed897
-0, 698400, 38016, 0x1c51f53f
-0, 702000, 38016, 0xeec91a00
-0, 705600, 38016, 0x73074864
-0, 709200, 38016, 0x672e5ff8
-0, 712800, 38016, 0xe7ea7aba
-0, 716400, 38016, 0x11899f08
-0, 720000, 38016, 0xa98daf03
-0, 723600, 38016, 0x4553af5c
-0, 727200, 38016, 0x4892c5d5
-0, 730800, 38016, 0x0ddbc2eb
-0, 734400, 38016, 0x0ce5b867
-0, 738000, 38016, 0xb0e6ce2c
-0, 741600, 38016, 0x8a2bd4da
-0, 745200, 38016, 0xf9f4cbec
-0, 748800, 38016, 0x77aeba8f
-0, 752400, 38016, 0xc1839e46
-0, 756000, 38016, 0x34845d3a
-0, 759600, 38016, 0xc3227ad7
-0, 763200, 38016, 0x2dad7051
-0, 766800, 38016, 0x7145565a
-0, 770400, 38016, 0x1e056ef1
-0, 774000, 38016, 0x9baa5195
-0, 777600, 38016, 0xacb53a1a
-0, 781200, 38016, 0x825d4fb7
-0, 784800, 38016, 0x63194b14
-0, 788400, 38016, 0xcb16360e
-0, 792000, 38016, 0x35104320
-0, 795600, 38016, 0x7e4c33dc
-0, 799200, 38016, 0x84811693
-0, 802800, 38016, 0x242b1811
-0, 806400, 38016, 0xb4af2667
-0, 810000, 38016, 0x77a20da2
-0, 813600, 38016, 0x8e4f36a8
-0, 817200, 38016, 0xe72435cb
-0, 820800, 38016, 0xf38a381b
-0, 824400, 38016, 0xb2b876d6
-0, 828000, 38016, 0x1c359b35
-0, 831600, 38016, 0x4fb8b180
-0, 835200, 38016, 0x90fdf94b
-0, 838800, 38016, 0xb8680c40
-0, 842400, 38016, 0x99331edd
-0, 846000, 38016, 0xd8e3433d
-0, 849600, 38016, 0x6d4d5aa2
-0, 853200, 38016, 0x4c3545c4
-0, 856800, 38016, 0x25b8376f
-0, 860400, 38016, 0xc4fe09df
-0, 864000, 38016, 0x6a9fe4f8
-0, 867600, 38016, 0x8fd2c2f3
-0, 871200, 38016, 0x78199f41
-0, 874800, 38016, 0x27b6e9f0
-0, 878400, 38016, 0xd8316400
-0, 882000, 38016, 0x0a70cd14
-0, 885600, 38016, 0x2075e91c
-0, 889200, 38016, 0xcd3cd7cb
-0, 892800, 38016, 0x4edc8cf5
-0, 896400, 38016, 0xf02e0bc7
-0, 900000, 38016, 0xcdd1b487
-0, 903600, 38016, 0xea5f6c8f
-0, 907200, 38016, 0x6b635e22
-0, 910800, 38016, 0xd548c435
-0, 914400, 38016, 0x455826ee
-0, 918000, 38016, 0x120ac7ed
-0, 921600, 38016, 0xf86adc5a
-0, 925200, 38016, 0x8dbd5c4e
-0, 928800, 38016, 0xe4c62dae
-0, 932400, 38016, 0x0a2a3be7
-0, 936000, 38016, 0xf8a243d7
-0, 939600, 38016, 0x898a3afb
-0, 943200, 38016, 0x39e661bb
-0, 946800, 38016, 0xe4e65f22
-0, 950400, 38016, 0x014846ff
-0, 954000, 38016, 0xf392509c
-0, 957600, 38016, 0x34623207
-0, 961200, 38016, 0xac4a09ed
-0, 964800, 38016, 0x9d18eb07
-0, 968400, 38016, 0x4594c90e
-0, 972000, 38016, 0x624f9b6b
-0, 975600, 38016, 0x8adc89d3
-0, 979200, 38016, 0xf4dd64f6
-0, 982800, 38016, 0x4c121386
-0, 986400, 38016, 0xfb5ddc7e
-0, 990000, 38016, 0x837fc31e
-0, 993600, 38016, 0xa4f4bd31
-0, 997200, 38016, 0x0445def7
-0, 1000800, 38016, 0xbac0fe62
-0, 1004400, 38016, 0x050b5778
-0, 1008000, 38016, 0x3d0723e5
-0, 1011600, 38016, 0x9967eae7
-0, 1015200, 38016, 0xf4be9ec7
-0, 1018800, 38016, 0x870377d2
-0, 1022400, 38016, 0x5c9d648a
-0, 1026000, 38016, 0x2d41a44b
-0, 1029600, 38016, 0xa50e7c6f
-0, 1033200, 38016, 0x2bd1b477
-0, 1036800, 38016, 0xd123ae8d
-0, 1040400, 38016, 0xf2fc7a6b
-0, 1044000, 38016, 0xaa3ee416
-0, 1047600, 38016, 0x5f8801d6
-0, 1051200, 38016, 0xbee7924a
-0, 1054800, 38016, 0x6e47c3e1
-0, 1058400, 38016, 0xf34f1223
-0, 1062000, 38016, 0x7a610876
-0, 1065600, 38016, 0x15e9e47f
-0, 1069200, 38016, 0x557ddcf1
-0, 1072800, 38016, 0xf0cd02e2
-0, 1076400, 38016, 0xe98f1deb
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xa3b72d2f
+0, 1, 1, 1, 38016, 0x77d918ae
+0, 2, 2, 1, 38016, 0x181ad684
+0, 3, 3, 1, 38016, 0x0dafa49c
+0, 4, 4, 1, 38016, 0x8250a733
+0, 5, 5, 1, 38016, 0x5d4f79b5
+0, 6, 6, 1, 38016, 0x59664665
+0, 7, 7, 1, 38016, 0xdce3491c
+0, 8, 8, 1, 38016, 0xaffc395f
+0, 9, 9, 1, 38016, 0xfb09320d
+0, 10, 10, 1, 38016, 0x9b776724
+0, 11, 11, 1, 38016, 0x30497da7
+0, 12, 12, 1, 38016, 0xffd16ea0
+0, 13, 13, 1, 38016, 0x5b7da1b5
+0, 14, 14, 1, 38016, 0x764a9cc4
+0, 15, 15, 1, 38016, 0xc4c79c41
+0, 16, 16, 1, 38016, 0x883299dd
+0, 17, 17, 1, 38016, 0xd5f39350
+0, 18, 18, 1, 38016, 0x892f6808
+0, 19, 19, 1, 38016, 0x5b0572d7
+0, 20, 20, 1, 38016, 0x53c84a0c
+0, 21, 21, 1, 38016, 0xe6ff14e2
+0, 22, 22, 1, 38016, 0xd66d1924
+0, 23, 23, 1, 38016, 0x7bec105f
+0, 24, 24, 1, 38016, 0x405ffc8d
+0, 25, 25, 1, 38016, 0xfccc2019
+0, 26, 26, 1, 38016, 0x639f25a2
+0, 27, 27, 1, 38016, 0xf89e179b
+0, 28, 28, 1, 38016, 0x3e49456e
+0, 29, 29, 1, 38016, 0x8d7d5d8e
+0, 30, 30, 1, 38016, 0x89d15f1e
+0, 31, 31, 1, 38016, 0x413d8c6a
+0, 32, 32, 1, 38016, 0xf1a0a555
+0, 33, 33, 1, 38016, 0x61249a1f
+0, 34, 34, 1, 38016, 0xbd91c000
+0, 35, 35, 1, 38016, 0x3209c225
+0, 36, 36, 1, 38016, 0xfebca72f
+0, 37, 37, 1, 38016, 0x839abdfd
+0, 38, 38, 1, 38016, 0xa47cbc00
+0, 39, 39, 1, 38016, 0x4537a269
+0, 40, 40, 1, 38016, 0xbf19c0b2
+0, 41, 41, 1, 38016, 0x7487c290
+0, 42, 42, 1, 38016, 0xfbf8ab0c
+0, 43, 43, 1, 38016, 0xce2ab41e
+0, 44, 44, 1, 38016, 0xb505acf2
+0, 45, 45, 1, 38016, 0x758489bc
+0, 46, 46, 1, 38016, 0x7eae9aca
+0, 47, 47, 1, 38016, 0x67b59692
+0, 48, 48, 1, 38016, 0x074d9354
+0, 49, 49, 1, 38016, 0xb6f6ae8a
+0, 50, 50, 1, 38016, 0xe3b9a825
+0, 51, 51, 1, 38016, 0x5f4e9cb2
+0, 52, 52, 1, 38016, 0x88b3abcd
+0, 53, 53, 1, 38016, 0x0cd7acdb
+0, 54, 54, 1, 38016, 0xa731a3e4
+0, 55, 55, 1, 38016, 0x9414c055
+0, 56, 56, 1, 38016, 0x6cfec34a
+0, 57, 57, 1, 38016, 0x6c89bce0
+0, 58, 58, 1, 38016, 0xdabdc781
+0, 59, 59, 1, 38016, 0x1afcc587
+0, 60, 60, 1, 38016, 0xb4e79851
+0, 61, 61, 1, 38016, 0x383ca78a
+0, 62, 62, 1, 38016, 0x461f83fb
+0, 63, 63, 1, 38016, 0x55f039e3
+0, 64, 64, 1, 38016, 0xb6ec5d3f
+0, 65, 65, 1, 38016, 0x645888af
+0, 66, 66, 1, 38016, 0x37bc9e52
+0, 67, 67, 1, 38016, 0x12a4f603
+0, 68, 68, 1, 38016, 0x63e92df7
+0, 69, 69, 1, 38016, 0x1a0246e3
+0, 70, 70, 1, 38016, 0x1a6282fe
+0, 71, 71, 1, 38016, 0x4e99a785
+0, 72, 72, 1, 38016, 0xdaefbf23
+0, 73, 73, 1, 38016, 0x9e8f00f1
+0, 74, 74, 1, 38016, 0x85ea26c5
+0, 75, 75, 1, 38016, 0x495e2ddb
+0, 76, 76, 1, 38016, 0xab6278a4
+0, 77, 77, 1, 38016, 0x48a78708
+0, 78, 78, 1, 38016, 0x6fe99535
+0, 79, 79, 1, 38016, 0xc3d9b8eb
+0, 80, 80, 1, 38016, 0x4491c577
+0, 81, 81, 1, 38016, 0x4d42cc30
+0, 82, 82, 1, 38016, 0x3469d8bd
+0, 83, 83, 1, 38016, 0x563dd0ad
+0, 84, 84, 1, 38016, 0x681dbdef
+0, 85, 85, 1, 38016, 0x5da9d2a7
+0, 86, 86, 1, 38016, 0x75abdf2e
+0, 87, 87, 1, 38016, 0x9bf0d13a
+0, 88, 88, 1, 38016, 0x3c24dd7c
+0, 89, 89, 1, 38016, 0x5132df96
+0, 90, 90, 1, 38016, 0x01bd9d86
+0, 91, 91, 1, 38016, 0x2b97bdfe
+0, 92, 92, 1, 38016, 0xa7fdb2f1
+0, 93, 93, 1, 38016, 0xcf908cfd
+0, 94, 94, 1, 38016, 0xd18e7e52
+0, 95, 95, 1, 38016, 0x6a1d78d3
+0, 96, 96, 1, 38016, 0xd9cc83af
+0, 97, 97, 1, 38016, 0xf6329ca1
+0, 98, 98, 1, 38016, 0x1976aaeb
+0, 99, 99, 1, 38016, 0xa3e8a3ce
+0, 100, 100, 1, 38016, 0x73a2bd65
+0, 101, 101, 1, 38016, 0xfd00a552
+0, 102, 102, 1, 38016, 0x2df18642
+0, 103, 103, 1, 38016, 0x85ad82fb
+0, 104, 104, 1, 38016, 0x0456a864
+0, 105, 105, 1, 38016, 0x0d6da3b6
+0, 106, 106, 1, 38016, 0xabf0de94
+0, 107, 107, 1, 38016, 0x68aef77e
+0, 108, 108, 1, 38016, 0xd6aefd84
+0, 109, 109, 1, 38016, 0x01953184
+0, 110, 110, 1, 38016, 0xff324067
+0, 111, 111, 1, 38016, 0x49aa300f
+0, 112, 112, 1, 38016, 0xc146456b
+0, 113, 113, 1, 38016, 0xfe5c2980
+0, 114, 114, 1, 38016, 0x8f4df7eb
+0, 115, 115, 1, 38016, 0x137c1373
+0, 116, 116, 1, 38016, 0xfb9d1006
+0, 117, 117, 1, 38016, 0x7f5409f9
+0, 118, 118, 1, 38016, 0xa6ff29fc
+0, 119, 119, 1, 38016, 0xc63e3807
+0, 120, 120, 1, 38016, 0xd77c313a
+0, 121, 121, 1, 38016, 0xdd3832dd
+0, 122, 122, 1, 38016, 0xe70d140c
+0, 123, 123, 1, 38016, 0xa559d731
+0, 124, 124, 1, 38016, 0x3593d345
+0, 125, 125, 1, 38016, 0x7497ad8a
+0, 126, 126, 1, 38016, 0x9906919f
+0, 127, 127, 1, 38016, 0x18bfb034
+0, 128, 128, 1, 38016, 0xa4fbbd76
+0, 129, 129, 1, 38016, 0xbd6cc31c
+0, 130, 130, 1, 38016, 0x6ddde005
+0, 131, 131, 1, 38016, 0x0072dd5f
+0, 132, 132, 1, 38016, 0x62c5c5c0
+0, 133, 133, 1, 38016, 0x1093cf81
+0, 134, 134, 1, 38016, 0x46dbc9ff
+0, 135, 135, 1, 38016, 0x0269a169
+0, 136, 136, 1, 38016, 0xc96daa27
+0, 137, 137, 1, 38016, 0xa0319cf4
+0, 138, 138, 1, 38016, 0x1cae87fd
+0, 139, 139, 1, 38016, 0xf1a0977f
+0, 140, 140, 1, 38016, 0xc4d48a56
+0, 141, 141, 1, 38016, 0xd3b1704c
+0, 142, 142, 1, 38016, 0xd5e46a6c
+0, 143, 143, 1, 38016, 0xb73e68fb
+0, 144, 144, 1, 38016, 0xc0585fcf
+0, 145, 145, 1, 38016, 0x1b3978fe
+0, 146, 146, 1, 38016, 0xdda66c02
+0, 147, 147, 1, 38016, 0x581033d6
+0, 148, 148, 1, 38016, 0x0737185f
+0, 149, 149, 1, 38016, 0xa0c9f494
+0, 150, 150, 1, 38016, 0x916eae22
+0, 151, 151, 1, 38016, 0xfdf7d6cd
+0, 152, 152, 1, 38016, 0x6978ce4c
+0, 153, 153, 1, 38016, 0x6783b016
+0, 154, 154, 1, 38016, 0x528ac304
+0, 155, 155, 1, 38016, 0x245de0ae
+0, 156, 156, 1, 38016, 0x1dade956
+0, 157, 157, 1, 38016, 0xa8f316da
+0, 158, 158, 1, 38016, 0x95f04ca6
+0, 159, 159, 1, 38016, 0x76615822
+0, 160, 160, 1, 38016, 0x21de6ff4
+0, 161, 161, 1, 38016, 0x12be5e8b
+0, 162, 162, 1, 38016, 0x47ea3cbd
+0, 163, 163, 1, 38016, 0x113631b5
+0, 164, 164, 1, 38016, 0x546b2789
+0, 165, 165, 1, 38016, 0x0505f2bb
+0, 166, 166, 1, 38016, 0x90eee299
+0, 167, 167, 1, 38016, 0x305cb341
+0, 168, 168, 1, 38016, 0x5921841b
+0, 169, 169, 1, 38016, 0x1449922d
+0, 170, 170, 1, 38016, 0xca8f9f0a
+0, 171, 171, 1, 38016, 0x0daeab19
+0, 172, 172, 1, 38016, 0xde20dc27
+0, 173, 173, 1, 38016, 0xb6ffd92c
+0, 174, 174, 1, 38016, 0xedb1bc49
+0, 175, 175, 1, 38016, 0x4ccf9ff5
+0, 176, 176, 1, 38016, 0xfb636cd5
+0, 177, 177, 1, 38016, 0x9c562c3d
+0, 178, 178, 1, 38016, 0x0b021c95
+0, 179, 179, 1, 38016, 0x8da50f21
+0, 180, 180, 1, 38016, 0xa043ec8c
+0, 181, 181, 1, 38016, 0x0143f4f2
+0, 182, 182, 1, 38016, 0x77bece5b
+0, 183, 183, 1, 38016, 0x147ccc68
+0, 184, 184, 1, 38016, 0xa90cf948
+0, 185, 185, 1, 38016, 0x8764066e
+0, 186, 186, 1, 38016, 0x26c61821
+0, 187, 187, 1, 38016, 0x39dd3be4
+0, 188, 188, 1, 38016, 0xe2203c69
+0, 189, 189, 1, 38016, 0x00e73014
+0, 190, 190, 1, 38016, 0x0024f9eb
+0, 191, 191, 1, 38016, 0x3a0da880
+0, 192, 192, 1, 38016, 0x0336a353
+0, 193, 193, 1, 38016, 0x721ed897
+0, 194, 194, 1, 38016, 0x1c51f53f
+0, 195, 195, 1, 38016, 0xeec91a00
+0, 196, 196, 1, 38016, 0x73074864
+0, 197, 197, 1, 38016, 0x672e5ff8
+0, 198, 198, 1, 38016, 0xe7ea7aba
+0, 199, 199, 1, 38016, 0x11899f08
+0, 200, 200, 1, 38016, 0xa98daf03
+0, 201, 201, 1, 38016, 0x4553af5c
+0, 202, 202, 1, 38016, 0x4892c5d5
+0, 203, 203, 1, 38016, 0x0ddbc2eb
+0, 204, 204, 1, 38016, 0x0ce5b867
+0, 205, 205, 1, 38016, 0xb0e6ce2c
+0, 206, 206, 1, 38016, 0x8a2bd4da
+0, 207, 207, 1, 38016, 0xf9f4cbec
+0, 208, 208, 1, 38016, 0x77aeba8f
+0, 209, 209, 1, 38016, 0xc1839e46
+0, 210, 210, 1, 38016, 0x34845d3a
+0, 211, 211, 1, 38016, 0xc3227ad7
+0, 212, 212, 1, 38016, 0x2dad7051
+0, 213, 213, 1, 38016, 0x7145565a
+0, 214, 214, 1, 38016, 0x1e056ef1
+0, 215, 215, 1, 38016, 0x9baa5195
+0, 216, 216, 1, 38016, 0xacb53a1a
+0, 217, 217, 1, 38016, 0x825d4fb7
+0, 218, 218, 1, 38016, 0x63194b14
+0, 219, 219, 1, 38016, 0xcb16360e
+0, 220, 220, 1, 38016, 0x35104320
+0, 221, 221, 1, 38016, 0x7e4c33dc
+0, 222, 222, 1, 38016, 0x84811693
+0, 223, 223, 1, 38016, 0x242b1811
+0, 224, 224, 1, 38016, 0xb4af2667
+0, 225, 225, 1, 38016, 0x77a20da2
+0, 226, 226, 1, 38016, 0x8e4f36a8
+0, 227, 227, 1, 38016, 0xe72435cb
+0, 228, 228, 1, 38016, 0xf38a381b
+0, 229, 229, 1, 38016, 0xb2b876d6
+0, 230, 230, 1, 38016, 0x1c359b35
+0, 231, 231, 1, 38016, 0x4fb8b180
+0, 232, 232, 1, 38016, 0x90fdf94b
+0, 233, 233, 1, 38016, 0xb8680c40
+0, 234, 234, 1, 38016, 0x99331edd
+0, 235, 235, 1, 38016, 0xd8e3433d
+0, 236, 236, 1, 38016, 0x6d4d5aa2
+0, 237, 237, 1, 38016, 0x4c3545c4
+0, 238, 238, 1, 38016, 0x25b8376f
+0, 239, 239, 1, 38016, 0xc4fe09df
+0, 240, 240, 1, 38016, 0x6a9fe4f8
+0, 241, 241, 1, 38016, 0x8fd2c2f3
+0, 242, 242, 1, 38016, 0x78199f41
+0, 243, 243, 1, 38016, 0x27b6e9f0
+0, 244, 244, 1, 38016, 0xd8316400
+0, 245, 245, 1, 38016, 0x0a70cd14
+0, 246, 246, 1, 38016, 0x2075e91c
+0, 247, 247, 1, 38016, 0xcd3cd7cb
+0, 248, 248, 1, 38016, 0x4edc8cf5
+0, 249, 249, 1, 38016, 0xf02e0bc7
+0, 250, 250, 1, 38016, 0xcdd1b487
+0, 251, 251, 1, 38016, 0xea5f6c8f
+0, 252, 252, 1, 38016, 0x6b635e22
+0, 253, 253, 1, 38016, 0xd548c435
+0, 254, 254, 1, 38016, 0x455826ee
+0, 255, 255, 1, 38016, 0x120ac7ed
+0, 256, 256, 1, 38016, 0xf86adc5a
+0, 257, 257, 1, 38016, 0x8dbd5c4e
+0, 258, 258, 1, 38016, 0xe4c62dae
+0, 259, 259, 1, 38016, 0x0a2a3be7
+0, 260, 260, 1, 38016, 0xf8a243d7
+0, 261, 261, 1, 38016, 0x898a3afb
+0, 262, 262, 1, 38016, 0x39e661bb
+0, 263, 263, 1, 38016, 0xe4e65f22
+0, 264, 264, 1, 38016, 0x014846ff
+0, 265, 265, 1, 38016, 0xf392509c
+0, 266, 266, 1, 38016, 0x34623207
+0, 267, 267, 1, 38016, 0xac4a09ed
+0, 268, 268, 1, 38016, 0x9d18eb07
+0, 269, 269, 1, 38016, 0x4594c90e
+0, 270, 270, 1, 38016, 0x624f9b6b
+0, 271, 271, 1, 38016, 0x8adc89d3
+0, 272, 272, 1, 38016, 0xf4dd64f6
+0, 273, 273, 1, 38016, 0x4c121386
+0, 274, 274, 1, 38016, 0xfb5ddc7e
+0, 275, 275, 1, 38016, 0x837fc31e
+0, 276, 276, 1, 38016, 0xa4f4bd31
+0, 277, 277, 1, 38016, 0x0445def7
+0, 278, 278, 1, 38016, 0xbac0fe62
+0, 279, 279, 1, 38016, 0x050b5778
+0, 280, 280, 1, 38016, 0x3d0723e5
+0, 281, 281, 1, 38016, 0x9967eae7
+0, 282, 282, 1, 38016, 0xf4be9ec7
+0, 283, 283, 1, 38016, 0x870377d2
+0, 284, 284, 1, 38016, 0x5c9d648a
+0, 285, 285, 1, 38016, 0x2d41a44b
+0, 286, 286, 1, 38016, 0xa50e7c6f
+0, 287, 287, 1, 38016, 0x2bd1b477
+0, 288, 288, 1, 38016, 0xd123ae8d
+0, 289, 289, 1, 38016, 0xf2fc7a6b
+0, 290, 290, 1, 38016, 0xaa3ee416
+0, 291, 291, 1, 38016, 0x5f8801d6
+0, 292, 292, 1, 38016, 0xbee7924a
+0, 293, 293, 1, 38016, 0x6e47c3e1
+0, 294, 294, 1, 38016, 0xf34f1223
+0, 295, 295, 1, 38016, 0x7a610876
+0, 296, 296, 1, 38016, 0x15e9e47f
+0, 297, 297, 1, 38016, 0x557ddcf1
+0, 298, 298, 1, 38016, 0xf0cd02e2
+0, 299, 299, 1, 38016, 0xe98f1deb
diff --git a/tests/ref/fate/h264-conformance-caqp1_sony_b b/tests/ref/fate/h264-conformance-caqp1_sony_b
index fe023eb41e..beca1c5006 100644
--- a/tests/ref/fate/h264-conformance-caqp1_sony_b
+++ b/tests/ref/fate/h264-conformance-caqp1_sony_b
@@ -1,50 +1,51 @@
-0, 0, 38016, 0x25f92b0e
-0, 3600, 38016, 0x2ecbe752
-0, 7200, 38016, 0x3432e744
-0, 10800, 38016, 0x7970aa2e
-0, 14400, 38016, 0x250787bf
-0, 18000, 38016, 0xd58e5e56
-0, 21600, 38016, 0xf4b8580f
-0, 25200, 38016, 0x9acb4096
-0, 28800, 38016, 0xeed0476f
-0, 32400, 38016, 0xe33846ef
-0, 36000, 38016, 0x02da4e76
-0, 39600, 38016, 0xd3e572f8
-0, 43200, 38016, 0x5fd27f8a
-0, 46800, 38016, 0xfa169823
-0, 50400, 38016, 0xcc6b8d76
-0, 54000, 38016, 0xcc4da11f
-0, 57600, 38016, 0x32259b9d
-0, 61200, 38016, 0xf1e39b70
-0, 64800, 38016, 0xb49d7480
-0, 68400, 38016, 0x3dc158e9
-0, 72000, 38016, 0x4ce134db
-0, 75600, 38016, 0x4fb30b43
-0, 79200, 38016, 0xda49fe5f
-0, 82800, 38016, 0x7fda0d68
-0, 86400, 38016, 0x3a8b25e3
-0, 90000, 38016, 0x3df11d4e
-0, 93600, 38016, 0x26e11107
-0, 97200, 38016, 0xdc3b03a7
-0, 100800, 38016, 0x72b2434d
-0, 104400, 38016, 0x2a013e27
-0, 108000, 38016, 0xf95a4c2e
-0, 111600, 38016, 0x1e7b6656
-0, 115200, 38016, 0x776a81c8
-0, 118800, 38016, 0x162cb0bf
-0, 122400, 38016, 0x7ff4aaf5
-0, 126000, 38016, 0x7150b50b
-0, 129600, 38016, 0xf7d0b889
-0, 133200, 38016, 0xbe09b5c2
-0, 136800, 38016, 0xf6f7d29c
-0, 140400, 38016, 0x4356b996
-0, 144000, 38016, 0xb056c4b4
-0, 147600, 38016, 0x38e9c6e6
-0, 151200, 38016, 0x9c64ab45
-0, 154800, 38016, 0x31189eef
-0, 158400, 38016, 0x1ee3a3b1
-0, 162000, 38016, 0x8bed7c95
-0, 165600, 38016, 0x30357cee
-0, 169200, 38016, 0x5d828428
-0, 172800, 38016, 0xc06388b3
-0, 176400, 38016, 0x2af597b4
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x25f92b0e
+0, 1, 1, 1, 38016, 0x2ecbe752
+0, 2, 2, 1, 38016, 0x3432e744
+0, 3, 3, 1, 38016, 0x7970aa2e
+0, 4, 4, 1, 38016, 0x250787bf
+0, 5, 5, 1, 38016, 0xd58e5e56
+0, 6, 6, 1, 38016, 0xf4b8580f
+0, 7, 7, 1, 38016, 0x9acb4096
+0, 8, 8, 1, 38016, 0xeed0476f
+0, 9, 9, 1, 38016, 0xe33846ef
+0, 10, 10, 1, 38016, 0x02da4e76
+0, 11, 11, 1, 38016, 0xd3e572f8
+0, 12, 12, 1, 38016, 0x5fd27f8a
+0, 13, 13, 1, 38016, 0xfa169823
+0, 14, 14, 1, 38016, 0xcc6b8d76
+0, 15, 15, 1, 38016, 0xcc4da11f
+0, 16, 16, 1, 38016, 0x32259b9d
+0, 17, 17, 1, 38016, 0xf1e39b70
+0, 18, 18, 1, 38016, 0xb49d7480
+0, 19, 19, 1, 38016, 0x3dc158e9
+0, 20, 20, 1, 38016, 0x4ce134db
+0, 21, 21, 1, 38016, 0x4fb30b43
+0, 22, 22, 1, 38016, 0xda49fe5f
+0, 23, 23, 1, 38016, 0x7fda0d68
+0, 24, 24, 1, 38016, 0x3a8b25e3
+0, 25, 25, 1, 38016, 0x3df11d4e
+0, 26, 26, 1, 38016, 0x26e11107
+0, 27, 27, 1, 38016, 0xdc3b03a7
+0, 28, 28, 1, 38016, 0x72b2434d
+0, 29, 29, 1, 38016, 0x2a013e27
+0, 30, 30, 1, 38016, 0xf95a4c2e
+0, 31, 31, 1, 38016, 0x1e7b6656
+0, 32, 32, 1, 38016, 0x776a81c8
+0, 33, 33, 1, 38016, 0x162cb0bf
+0, 34, 34, 1, 38016, 0x7ff4aaf5
+0, 35, 35, 1, 38016, 0x7150b50b
+0, 36, 36, 1, 38016, 0xf7d0b889
+0, 37, 37, 1, 38016, 0xbe09b5c2
+0, 38, 38, 1, 38016, 0xf6f7d29c
+0, 39, 39, 1, 38016, 0x4356b996
+0, 40, 40, 1, 38016, 0xb056c4b4
+0, 41, 41, 1, 38016, 0x38e9c6e6
+0, 42, 42, 1, 38016, 0x9c64ab45
+0, 43, 43, 1, 38016, 0x31189eef
+0, 44, 44, 1, 38016, 0x1ee3a3b1
+0, 45, 45, 1, 38016, 0x8bed7c95
+0, 46, 46, 1, 38016, 0x30357cee
+0, 47, 47, 1, 38016, 0x5d828428
+0, 48, 48, 1, 38016, 0xc06388b3
+0, 49, 49, 1, 38016, 0x2af597b4
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
index 6a77690f85..f80c3be2e5 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x99d0df36
-0, 3600, 518400, 0xa8601c1a
-0, 7200, 518400, 0x4a17d235
-0, 10800, 518400, 0x75f23abf
-0, 14400, 518400, 0x746aad53
-0, 18000, 518400, 0xb0b8913e
-0, 21600, 518400, 0x60a27f57
-0, 25200, 518400, 0xfa227f3e
-0, 28800, 518400, 0x7a1e57c2
-0, 32400, 518400, 0xcbbaa84f
-0, 36000, 518400, 0xf9c1bd13
-0, 39600, 518400, 0x9e80caaf
-0, 43200, 518400, 0x14cc6928
-0, 46800, 518400, 0xca0353ef
-0, 50400, 518400, 0xcad65e5f
-0, 54000, 518400, 0xd5bc47b3
-0, 57600, 518400, 0xa9893d36
-0, 61200, 518400, 0x69bd9085
-0, 64800, 518400, 0xff33c476
-0, 68400, 518400, 0x9538adf7
-0, 72000, 518400, 0xd4ff3b62
-0, 75600, 518400, 0x021a11fd
-0, 79200, 518400, 0x293e6f9f
-0, 82800, 518400, 0x5d38e4c3
-0, 86400, 518400, 0xd1f4ad49
-0, 90000, 518400, 0xf13dd946
-0, 93600, 518400, 0x0359e9ff
-0, 97200, 518400, 0xb61098ad
-0, 100800, 518400, 0xa855b11c
-0, 104400, 518400, 0x7fcf9343
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x99d0df36
+0, 1, 1, 1, 518400, 0xa8601c1a
+0, 2, 2, 1, 518400, 0x4a17d235
+0, 3, 3, 1, 518400, 0x75f23abf
+0, 4, 4, 1, 518400, 0x746aad53
+0, 5, 5, 1, 518400, 0xb0b8913e
+0, 6, 6, 1, 518400, 0x60a27f57
+0, 7, 7, 1, 518400, 0xfa227f3e
+0, 8, 8, 1, 518400, 0x7a1e57c2
+0, 9, 9, 1, 518400, 0xcbbaa84f
+0, 10, 10, 1, 518400, 0xf9c1bd13
+0, 11, 11, 1, 518400, 0x9e80caaf
+0, 12, 12, 1, 518400, 0x14cc6928
+0, 13, 13, 1, 518400, 0xca0353ef
+0, 14, 14, 1, 518400, 0xcad65e5f
+0, 15, 15, 1, 518400, 0xd5bc47b3
+0, 16, 16, 1, 518400, 0xa9893d36
+0, 17, 17, 1, 518400, 0x69bd9085
+0, 18, 18, 1, 518400, 0xff33c476
+0, 19, 19, 1, 518400, 0x9538adf7
+0, 20, 20, 1, 518400, 0xd4ff3b62
+0, 21, 21, 1, 518400, 0x021a11fd
+0, 22, 22, 1, 518400, 0x293e6f9f
+0, 23, 23, 1, 518400, 0x5d38e4c3
+0, 24, 24, 1, 518400, 0xd1f4ad49
+0, 25, 25, 1, 518400, 0xf13dd946
+0, 26, 26, 1, 518400, 0x0359e9ff
+0, 27, 27, 1, 518400, 0xb61098ad
+0, 28, 28, 1, 518400, 0xa855b11c
+0, 29, 29, 1, 518400, 0x7fcf9343
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_frm0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_frm0_full_b
index 5d29a405f5..edee4bfd9b 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_frm0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_frm0_full_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x21baedbf
-0, 3600, 518400, 0x6003273c
-0, 7200, 518400, 0x935d45d7
-0, 10800, 518400, 0x00485000
-0, 14400, 518400, 0x31b191ff
-0, 18000, 518400, 0xe334135a
-0, 21600, 518400, 0xc4d7bf2c
-0, 25200, 518400, 0x7106ac82
-0, 28800, 518400, 0xeb277b07
-0, 32400, 518400, 0xaf1ee80f
-0, 36000, 518400, 0x8c7d1bad
-0, 39600, 518400, 0x0e24ae6c
-0, 43200, 518400, 0x89c216b4
-0, 46800, 518400, 0x991fbcb1
-0, 50400, 518400, 0x87411486
-0, 54000, 518400, 0x0151b48f
-0, 57600, 518400, 0x3f4d5a91
-0, 61200, 518400, 0x48ea911b
-0, 64800, 518400, 0x6bec19a0
-0, 68400, 518400, 0x10233bf6
-0, 72000, 518400, 0x2a36ae4d
-0, 75600, 518400, 0xd8d3224b
-0, 79200, 518400, 0xf5c5f81f
-0, 82800, 518400, 0x30054561
-0, 86400, 518400, 0x67ea1c9f
-0, 90000, 518400, 0xbbda3984
-0, 93600, 518400, 0x9af40c71
-0, 97200, 518400, 0xb0cf0d12
-0, 100800, 518400, 0x569b9866
-0, 104400, 518400, 0xffd72ee5
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x21baedbf
+0, 1, 1, 1, 518400, 0x6003273c
+0, 2, 2, 1, 518400, 0x935d45d7
+0, 3, 3, 1, 518400, 0x00485000
+0, 4, 4, 1, 518400, 0x31b191ff
+0, 5, 5, 1, 518400, 0xe334135a
+0, 6, 6, 1, 518400, 0xc4d7bf2c
+0, 7, 7, 1, 518400, 0x7106ac82
+0, 8, 8, 1, 518400, 0xeb277b07
+0, 9, 9, 1, 518400, 0xaf1ee80f
+0, 10, 10, 1, 518400, 0x8c7d1bad
+0, 11, 11, 1, 518400, 0x0e24ae6c
+0, 12, 12, 1, 518400, 0x89c216b4
+0, 13, 13, 1, 518400, 0x991fbcb1
+0, 14, 14, 1, 518400, 0x87411486
+0, 15, 15, 1, 518400, 0x0151b48f
+0, 16, 16, 1, 518400, 0x3f4d5a91
+0, 17, 17, 1, 518400, 0x48ea911b
+0, 18, 18, 1, 518400, 0x6bec19a0
+0, 19, 19, 1, 518400, 0x10233bf6
+0, 20, 20, 1, 518400, 0x2a36ae4d
+0, 21, 21, 1, 518400, 0xd8d3224b
+0, 22, 22, 1, 518400, 0xf5c5f81f
+0, 23, 23, 1, 518400, 0x30054561
+0, 24, 24, 1, 518400, 0x67ea1c9f
+0, 25, 25, 1, 518400, 0xbbda3984
+0, 26, 26, 1, 518400, 0x9af40c71
+0, 27, 27, 1, 518400, 0xb0cf0d12
+0, 28, 28, 1, 518400, 0x569b9866
+0, 29, 29, 1, 518400, 0xffd72ee5
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_mbaff0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_mbaff0_full_b
index 2b6d0d3c8a..7d3ae3ee56 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_mbaff0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_mbaff0_full_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x4cecc821
-0, 3600, 518400, 0xee49ea81
-0, 7200, 518400, 0x78b0d65f
-0, 10800, 518400, 0x7fa72010
-0, 14400, 518400, 0xbc7fecdb
-0, 18000, 518400, 0xe54cf951
-0, 21600, 518400, 0x1e2795e0
-0, 25200, 518400, 0x7db968b9
-0, 28800, 518400, 0xcecb446b
-0, 32400, 518400, 0x4f813fc5
-0, 36000, 518400, 0xd0816131
-0, 39600, 518400, 0x6cf66cb7
-0, 43200, 518400, 0xac9913a1
-0, 46800, 518400, 0x0a2dd6ae
-0, 50400, 518400, 0x5de1acef
-0, 54000, 518400, 0x5ac7741e
-0, 57600, 518400, 0x4d2726de
-0, 61200, 518400, 0x6b9b2677
-0, 64800, 518400, 0x99b70e82
-0, 68400, 518400, 0x6a01ed56
-0, 72000, 518400, 0xa6976f95
-0, 75600, 518400, 0x645f6562
-0, 79200, 518400, 0xf750796b
-0, 82800, 518400, 0xe381ee9c
-0, 86400, 518400, 0xb7d45f84
-0, 90000, 518400, 0x7c9d79df
-0, 93600, 518400, 0x8a306a11
-0, 97200, 518400, 0x766fcf15
-0, 100800, 518400, 0x45c3cbdd
-0, 104400, 518400, 0x6a22610e
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x4cecc821
+0, 1, 1, 1, 518400, 0xee49ea81
+0, 2, 2, 1, 518400, 0x78b0d65f
+0, 3, 3, 1, 518400, 0x7fa72010
+0, 4, 4, 1, 518400, 0xbc7fecdb
+0, 5, 5, 1, 518400, 0xe54cf951
+0, 6, 6, 1, 518400, 0x1e2795e0
+0, 7, 7, 1, 518400, 0x7db968b9
+0, 8, 8, 1, 518400, 0xcecb446b
+0, 9, 9, 1, 518400, 0x4f813fc5
+0, 10, 10, 1, 518400, 0xd0816131
+0, 11, 11, 1, 518400, 0x6cf66cb7
+0, 12, 12, 1, 518400, 0xac9913a1
+0, 13, 13, 1, 518400, 0x0a2dd6ae
+0, 14, 14, 1, 518400, 0x5de1acef
+0, 15, 15, 1, 518400, 0x5ac7741e
+0, 16, 16, 1, 518400, 0x4d2726de
+0, 17, 17, 1, 518400, 0x6b9b2677
+0, 18, 18, 1, 518400, 0x99b70e82
+0, 19, 19, 1, 518400, 0x6a01ed56
+0, 20, 20, 1, 518400, 0xa6976f95
+0, 21, 21, 1, 518400, 0x645f6562
+0, 22, 22, 1, 518400, 0xf750796b
+0, 23, 23, 1, 518400, 0xe381ee9c
+0, 24, 24, 1, 518400, 0xb7d45f84
+0, 25, 25, 1, 518400, 0x7c9d79df
+0, 26, 26, 1, 518400, 0x8a306a11
+0, 27, 27, 1, 518400, 0x766fcf15
+0, 28, 28, 1, 518400, 0x45c3cbdd
+0, 29, 29, 1, 518400, 0x6a22610e
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
index 741b94ca47..ed5e02eee6 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0xf6b83a0e
-0, 3600, 518400, 0xc5e8b8ee
-0, 7200, 518400, 0xb3bc6e43
-0, 10800, 518400, 0x5b08dc73
-0, 14400, 518400, 0x4a7f7690
-0, 18000, 518400, 0x8a9f4275
-0, 21600, 518400, 0xc7cb92fd
-0, 25200, 518400, 0xc721e231
-0, 28800, 518400, 0xfb31371b
-0, 32400, 518400, 0xac57f5d9
-0, 36000, 518400, 0x92b7debc
-0, 39600, 518400, 0xfe3e533e
-0, 43200, 518400, 0x1b3a7a72
-0, 46800, 518400, 0x98df2d81
-0, 50400, 518400, 0xe0ce9c52
-0, 54000, 518400, 0x6a31166d
-0, 57600, 518400, 0x64ffd4d2
-0, 61200, 518400, 0x3ec062ef
-0, 64800, 518400, 0x3480fae1
-0, 68400, 518400, 0xa87ae4b7
-0, 72000, 518400, 0xd301319f
-0, 75600, 518400, 0xa9284989
-0, 79200, 518400, 0x3de73b50
-0, 82800, 518400, 0x30a79f84
-0, 86400, 518400, 0x7d5152d4
-0, 90000, 518400, 0x25514095
-0, 93600, 518400, 0x1749a05f
-0, 97200, 518400, 0x598139a7
-0, 100800, 518400, 0x3cece862
-0, 104400, 518400, 0xe1c27efe
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xf6b83a0e
+0, 1, 1, 1, 518400, 0xc5e8b8ee
+0, 2, 2, 1, 518400, 0xb3bc6e43
+0, 3, 3, 1, 518400, 0x5b08dc73
+0, 4, 4, 1, 518400, 0x4a7f7690
+0, 5, 5, 1, 518400, 0x8a9f4275
+0, 6, 6, 1, 518400, 0xc7cb92fd
+0, 7, 7, 1, 518400, 0xc721e231
+0, 8, 8, 1, 518400, 0xfb31371b
+0, 9, 9, 1, 518400, 0xac57f5d9
+0, 10, 10, 1, 518400, 0x92b7debc
+0, 11, 11, 1, 518400, 0xfe3e533e
+0, 12, 12, 1, 518400, 0x1b3a7a72
+0, 13, 13, 1, 518400, 0x98df2d81
+0, 14, 14, 1, 518400, 0xe0ce9c52
+0, 15, 15, 1, 518400, 0x6a31166d
+0, 16, 16, 1, 518400, 0x64ffd4d2
+0, 17, 17, 1, 518400, 0x3ec062ef
+0, 18, 18, 1, 518400, 0x3480fae1
+0, 19, 19, 1, 518400, 0xa87ae4b7
+0, 20, 20, 1, 518400, 0xd301319f
+0, 21, 21, 1, 518400, 0xa9284989
+0, 22, 22, 1, 518400, 0x3de73b50
+0, 23, 23, 1, 518400, 0x30a79f84
+0, 24, 24, 1, 518400, 0x7d5152d4
+0, 25, 25, 1, 518400, 0x25514095
+0, 26, 26, 1, 518400, 0x1749a05f
+0, 27, 27, 1, 518400, 0x598139a7
+0, 28, 28, 1, 518400, 0x3cece862
+0, 29, 29, 1, 518400, 0xe1c27efe
diff --git a/tests/ref/fate/h264-conformance-cawp1_toshiba_e b/tests/ref/fate/h264-conformance-cawp1_toshiba_e
index 36223a350e..e5a6944010 100644
--- a/tests/ref/fate/h264-conformance-cawp1_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cawp1_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xabf9ae05
-0, 3600, 152064, 0x20418b16
-0, 7200, 152064, 0xc26760ae
-0, 10800, 152064, 0x7ed0c861
-0, 14400, 152064, 0x1a13d207
-0, 18000, 152064, 0x700bdb09
-0, 21600, 152064, 0x7fa6476e
-0, 25200, 152064, 0x951158c6
-0, 28800, 152064, 0x263a2dfc
-0, 32400, 152064, 0xa25c5371
-0, 36000, 152064, 0xd67bd5c5
-0, 39600, 152064, 0x73e6d7c0
-0, 43200, 152064, 0x509967e4
-0, 46800, 152064, 0x27574b8f
-0, 50400, 152064, 0xa701d36f
-0, 54000, 152064, 0x3d457728
-0, 57600, 152064, 0xe9977098
-0, 61200, 152064, 0x33b3542b
-0, 64800, 152064, 0x5635d3fa
-0, 68400, 152064, 0x51dbc0bd
-0, 72000, 152064, 0xa2287df1
-0, 75600, 152064, 0x24533377
-0, 79200, 152064, 0xfd05e083
-0, 82800, 152064, 0xfadce02d
-0, 86400, 152064, 0xf67cc1da
-0, 90000, 152064, 0x4e7bc654
-0, 93600, 152064, 0x5b686f11
-0, 97200, 152064, 0xb8e33dc8
-0, 100800, 152064, 0x0ff224ca
-0, 104400, 152064, 0xcd98c152
-0, 108000, 152064, 0x4fdfb595
-0, 111600, 152064, 0xb1b7f4fc
-0, 115200, 152064, 0x666ccd6a
-0, 118800, 152064, 0x80e9c1a3
-0, 122400, 152064, 0x304b9be3
-0, 126000, 152064, 0x9741fb13
-0, 129600, 152064, 0x5e016501
-0, 133200, 152064, 0x50dd4139
-0, 136800, 152064, 0x9a4ef972
-0, 140400, 152064, 0x03b7da4e
-0, 144000, 152064, 0x17fd7d8a
-0, 147600, 152064, 0xc0137bb0
-0, 151200, 152064, 0xaf167d40
-0, 154800, 152064, 0xde191051
-0, 158400, 152064, 0x1cdcee05
-0, 162000, 152064, 0xa8d1b139
-0, 165600, 152064, 0xade6bf62
-0, 169200, 152064, 0x4515a552
-0, 172800, 152064, 0xb05036fe
-0, 176400, 152064, 0xfa500b17
-0, 180000, 152064, 0x512dec06
-0, 183600, 152064, 0x0e77ff69
-0, 187200, 152064, 0x06f7b2cd
-0, 190800, 152064, 0x9bc99b67
-0, 194400, 152064, 0x6b68301b
-0, 198000, 152064, 0xe31321ba
-0, 201600, 152064, 0x9ad0192e
-0, 205200, 152064, 0xcc14d7c8
-0, 208800, 152064, 0xf6ab91ec
-0, 212400, 152064, 0xf76afbce
-0, 216000, 152064, 0xb7d7f1dc
-0, 219600, 152064, 0xca95e688
-0, 223200, 152064, 0xc36bb8ac
-0, 226800, 152064, 0xc1c06a2e
-0, 230400, 152064, 0xf2a08f2a
-0, 234000, 152064, 0xb81013d2
-0, 237600, 152064, 0xf30cee41
-0, 241200, 152064, 0xad85c0d6
-0, 244800, 152064, 0x087b7807
-0, 248400, 152064, 0x178c39f0
-0, 252000, 152064, 0x6e0e3e66
-0, 255600, 152064, 0x9a020bcf
-0, 259200, 152064, 0xc33d4749
-0, 262800, 152064, 0x6370dbad
-0, 266400, 152064, 0x928cbe47
-0, 270000, 152064, 0xb8b036cc
-0, 273600, 152064, 0x79d92c37
-0, 277200, 152064, 0xc4cf0d8f
-0, 280800, 152064, 0xfe706c76
-0, 284400, 152064, 0x6a37de81
-0, 288000, 152064, 0x659eb2c1
-0, 291600, 152064, 0x0630855f
-0, 295200, 152064, 0xfa964f67
-0, 298800, 152064, 0xc5a1ff95
-0, 302400, 152064, 0xa131b89f
-0, 306000, 152064, 0x73007c16
-0, 309600, 152064, 0x4d237a3b
-0, 313200, 152064, 0xe68f44be
-0, 316800, 152064, 0x065f0be3
-0, 320400, 152064, 0x39cab454
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xabf9ae05
+0, 1, 1, 1, 152064, 0x20418b16
+0, 2, 2, 1, 152064, 0xc26760ae
+0, 3, 3, 1, 152064, 0x7ed0c861
+0, 4, 4, 1, 152064, 0x1a13d207
+0, 5, 5, 1, 152064, 0x700bdb09
+0, 6, 6, 1, 152064, 0x7fa6476e
+0, 7, 7, 1, 152064, 0x951158c6
+0, 8, 8, 1, 152064, 0x263a2dfc
+0, 9, 9, 1, 152064, 0xa25c5371
+0, 10, 10, 1, 152064, 0xd67bd5c5
+0, 11, 11, 1, 152064, 0x73e6d7c0
+0, 12, 12, 1, 152064, 0x509967e4
+0, 13, 13, 1, 152064, 0x27574b8f
+0, 14, 14, 1, 152064, 0xa701d36f
+0, 15, 15, 1, 152064, 0x3d457728
+0, 16, 16, 1, 152064, 0xe9977098
+0, 17, 17, 1, 152064, 0x33b3542b
+0, 18, 18, 1, 152064, 0x5635d3fa
+0, 19, 19, 1, 152064, 0x51dbc0bd
+0, 20, 20, 1, 152064, 0xa2287df1
+0, 21, 21, 1, 152064, 0x24533377
+0, 22, 22, 1, 152064, 0xfd05e083
+0, 23, 23, 1, 152064, 0xfadce02d
+0, 24, 24, 1, 152064, 0xf67cc1da
+0, 25, 25, 1, 152064, 0x4e7bc654
+0, 26, 26, 1, 152064, 0x5b686f11
+0, 27, 27, 1, 152064, 0xb8e33dc8
+0, 28, 28, 1, 152064, 0x0ff224ca
+0, 29, 29, 1, 152064, 0xcd98c152
+0, 30, 30, 1, 152064, 0x4fdfb595
+0, 31, 31, 1, 152064, 0xb1b7f4fc
+0, 32, 32, 1, 152064, 0x666ccd6a
+0, 33, 33, 1, 152064, 0x80e9c1a3
+0, 34, 34, 1, 152064, 0x304b9be3
+0, 35, 35, 1, 152064, 0x9741fb13
+0, 36, 36, 1, 152064, 0x5e016501
+0, 37, 37, 1, 152064, 0x50dd4139
+0, 38, 38, 1, 152064, 0x9a4ef972
+0, 39, 39, 1, 152064, 0x03b7da4e
+0, 40, 40, 1, 152064, 0x17fd7d8a
+0, 41, 41, 1, 152064, 0xc0137bb0
+0, 42, 42, 1, 152064, 0xaf167d40
+0, 43, 43, 1, 152064, 0xde191051
+0, 44, 44, 1, 152064, 0x1cdcee05
+0, 45, 45, 1, 152064, 0xa8d1b139
+0, 46, 46, 1, 152064, 0xade6bf62
+0, 47, 47, 1, 152064, 0x4515a552
+0, 48, 48, 1, 152064, 0xb05036fe
+0, 49, 49, 1, 152064, 0xfa500b17
+0, 50, 50, 1, 152064, 0x512dec06
+0, 51, 51, 1, 152064, 0x0e77ff69
+0, 52, 52, 1, 152064, 0x06f7b2cd
+0, 53, 53, 1, 152064, 0x9bc99b67
+0, 54, 54, 1, 152064, 0x6b68301b
+0, 55, 55, 1, 152064, 0xe31321ba
+0, 56, 56, 1, 152064, 0x9ad0192e
+0, 57, 57, 1, 152064, 0xcc14d7c8
+0, 58, 58, 1, 152064, 0xf6ab91ec
+0, 59, 59, 1, 152064, 0xf76afbce
+0, 60, 60, 1, 152064, 0xb7d7f1dc
+0, 61, 61, 1, 152064, 0xca95e688
+0, 62, 62, 1, 152064, 0xc36bb8ac
+0, 63, 63, 1, 152064, 0xc1c06a2e
+0, 64, 64, 1, 152064, 0xf2a08f2a
+0, 65, 65, 1, 152064, 0xb81013d2
+0, 66, 66, 1, 152064, 0xf30cee41
+0, 67, 67, 1, 152064, 0xad85c0d6
+0, 68, 68, 1, 152064, 0x087b7807
+0, 69, 69, 1, 152064, 0x178c39f0
+0, 70, 70, 1, 152064, 0x6e0e3e66
+0, 71, 71, 1, 152064, 0x9a020bcf
+0, 72, 72, 1, 152064, 0xc33d4749
+0, 73, 73, 1, 152064, 0x6370dbad
+0, 74, 74, 1, 152064, 0x928cbe47
+0, 75, 75, 1, 152064, 0xb8b036cc
+0, 76, 76, 1, 152064, 0x79d92c37
+0, 77, 77, 1, 152064, 0xc4cf0d8f
+0, 78, 78, 1, 152064, 0xfe706c76
+0, 79, 79, 1, 152064, 0x6a37de81
+0, 80, 80, 1, 152064, 0x659eb2c1
+0, 81, 81, 1, 152064, 0x0630855f
+0, 82, 82, 1, 152064, 0xfa964f67
+0, 83, 83, 1, 152064, 0xc5a1ff95
+0, 84, 84, 1, 152064, 0xa131b89f
+0, 85, 85, 1, 152064, 0x73007c16
+0, 86, 86, 1, 152064, 0x4d237a3b
+0, 87, 87, 1, 152064, 0xe68f44be
+0, 88, 88, 1, 152064, 0x065f0be3
+0, 89, 89, 1, 152064, 0x39cab454
diff --git a/tests/ref/fate/h264-conformance-cawp5_toshiba_e b/tests/ref/fate/h264-conformance-cawp5_toshiba_e
index 30f691259d..5b48f8f428 100644
--- a/tests/ref/fate/h264-conformance-cawp5_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cawp5_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xabf9ae05
-0, 3600, 152064, 0x20418b16
-0, 7200, 152064, 0x20f72775
-0, 10800, 152064, 0x57c07111
-0, 14400, 152064, 0x1b49267f
-0, 18000, 152064, 0x024cd238
-0, 21600, 152064, 0x044d1ae0
-0, 25200, 152064, 0xbfec1b59
-0, 28800, 152064, 0x1a91f935
-0, 32400, 152064, 0x9ee184dc
-0, 36000, 152064, 0x65047dbe
-0, 39600, 152064, 0xd1632fb5
-0, 43200, 152064, 0x56f64c3e
-0, 46800, 152064, 0xe6122f37
-0, 50400, 152064, 0x0575e670
-0, 54000, 152064, 0x3d457728
-0, 57600, 152064, 0x6b508105
-0, 61200, 152064, 0xcaaf5ea7
-0, 64800, 152064, 0x9f4e4501
-0, 68400, 152064, 0x1c661a73
-0, 72000, 152064, 0x2fd9d1c8
-0, 75600, 152064, 0x4ac99ab1
-0, 79200, 152064, 0xf2d36809
-0, 82800, 152064, 0xa8e32ffb
-0, 86400, 152064, 0xd4da2fd2
-0, 90000, 152064, 0xac3adde0
-0, 93600, 152064, 0xf014ed0f
-0, 97200, 152064, 0xca2e7d28
-0, 100800, 152064, 0x3a875e51
-0, 104400, 152064, 0xc03e4bda
-0, 108000, 152064, 0x4fdfb595
-0, 111600, 152064, 0x9243f098
-0, 115200, 152064, 0x9361bae6
-0, 118800, 152064, 0x7a1dadee
-0, 122400, 152064, 0x72a59e15
-0, 126000, 152064, 0xb5b47170
-0, 129600, 152064, 0x5eb16651
-0, 133200, 152064, 0xe7894af7
-0, 136800, 152064, 0x2683bb0b
-0, 140400, 152064, 0x90b4c8c5
-0, 144000, 152064, 0xf800c5b5
-0, 147600, 152064, 0xc2f5a895
-0, 151200, 152064, 0x213c65d4
-0, 154800, 152064, 0x01c65a19
-0, 158400, 152064, 0xd9f1b04b
-0, 162000, 152064, 0xa8d1b139
-0, 165600, 152064, 0x2d0cb0cd
-0, 169200, 152064, 0x5b0783fe
-0, 172800, 152064, 0x29e628ec
-0, 176400, 152064, 0x1b8527e5
-0, 180000, 152064, 0x4b46d179
-0, 183600, 152064, 0x6184c708
-0, 187200, 152064, 0x697bb8e2
-0, 190800, 152064, 0x5fd3a772
-0, 194400, 152064, 0x91456c86
-0, 198000, 152064, 0x376c4dae
-0, 201600, 152064, 0x00ba2b3f
-0, 205200, 152064, 0xf6f0f553
-0, 208800, 152064, 0xc0020855
-0, 212400, 152064, 0xec3d13d2
-0, 216000, 152064, 0xb7d7f1dc
-0, 219600, 152064, 0xf9dae37b
-0, 223200, 152064, 0x50d9cc93
-0, 226800, 152064, 0xba1eb592
-0, 230400, 152064, 0x67616557
-0, 234000, 152064, 0x09804760
-0, 237600, 152064, 0xc2ffba00
-0, 241200, 152064, 0xb71fcf46
-0, 244800, 152064, 0x6cd975af
-0, 248400, 152064, 0x19189167
-0, 252000, 152064, 0xbca8fe71
-0, 255600, 152064, 0xb0b3f607
-0, 259200, 152064, 0x7614d73a
-0, 262800, 152064, 0x7de9d87d
-0, 266400, 152064, 0x81f58cf2
-0, 270000, 152064, 0xb8b036cc
-0, 273600, 152064, 0x26d1e2e4
-0, 277200, 152064, 0xb41a1e6c
-0, 280800, 152064, 0x4f9be4a9
-0, 284400, 152064, 0xe95ad5d3
-0, 288000, 152064, 0xdffc9335
-0, 291600, 152064, 0x01d658c0
-0, 295200, 152064, 0x631b4b75
-0, 298800, 152064, 0x80ae282f
-0, 302400, 152064, 0xb34bf688
-0, 306000, 152064, 0xd0cc7d65
-0, 309600, 152064, 0x86aa4590
-0, 313200, 152064, 0xcb515a57
-0, 316800, 152064, 0x68650834
-0, 320400, 152064, 0x444ee2a4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xabf9ae05
+0, 1, 1, 1, 152064, 0x20418b16
+0, 2, 2, 1, 152064, 0x20f72775
+0, 3, 3, 1, 152064, 0x57c07111
+0, 4, 4, 1, 152064, 0x1b49267f
+0, 5, 5, 1, 152064, 0x024cd238
+0, 6, 6, 1, 152064, 0x044d1ae0
+0, 7, 7, 1, 152064, 0xbfec1b59
+0, 8, 8, 1, 152064, 0x1a91f935
+0, 9, 9, 1, 152064, 0x9ee184dc
+0, 10, 10, 1, 152064, 0x65047dbe
+0, 11, 11, 1, 152064, 0xd1632fb5
+0, 12, 12, 1, 152064, 0x56f64c3e
+0, 13, 13, 1, 152064, 0xe6122f37
+0, 14, 14, 1, 152064, 0x0575e670
+0, 15, 15, 1, 152064, 0x3d457728
+0, 16, 16, 1, 152064, 0x6b508105
+0, 17, 17, 1, 152064, 0xcaaf5ea7
+0, 18, 18, 1, 152064, 0x9f4e4501
+0, 19, 19, 1, 152064, 0x1c661a73
+0, 20, 20, 1, 152064, 0x2fd9d1c8
+0, 21, 21, 1, 152064, 0x4ac99ab1
+0, 22, 22, 1, 152064, 0xf2d36809
+0, 23, 23, 1, 152064, 0xa8e32ffb
+0, 24, 24, 1, 152064, 0xd4da2fd2
+0, 25, 25, 1, 152064, 0xac3adde0
+0, 26, 26, 1, 152064, 0xf014ed0f
+0, 27, 27, 1, 152064, 0xca2e7d28
+0, 28, 28, 1, 152064, 0x3a875e51
+0, 29, 29, 1, 152064, 0xc03e4bda
+0, 30, 30, 1, 152064, 0x4fdfb595
+0, 31, 31, 1, 152064, 0x9243f098
+0, 32, 32, 1, 152064, 0x9361bae6
+0, 33, 33, 1, 152064, 0x7a1dadee
+0, 34, 34, 1, 152064, 0x72a59e15
+0, 35, 35, 1, 152064, 0xb5b47170
+0, 36, 36, 1, 152064, 0x5eb16651
+0, 37, 37, 1, 152064, 0xe7894af7
+0, 38, 38, 1, 152064, 0x2683bb0b
+0, 39, 39, 1, 152064, 0x90b4c8c5
+0, 40, 40, 1, 152064, 0xf800c5b5
+0, 41, 41, 1, 152064, 0xc2f5a895
+0, 42, 42, 1, 152064, 0x213c65d4
+0, 43, 43, 1, 152064, 0x01c65a19
+0, 44, 44, 1, 152064, 0xd9f1b04b
+0, 45, 45, 1, 152064, 0xa8d1b139
+0, 46, 46, 1, 152064, 0x2d0cb0cd
+0, 47, 47, 1, 152064, 0x5b0783fe
+0, 48, 48, 1, 152064, 0x29e628ec
+0, 49, 49, 1, 152064, 0x1b8527e5
+0, 50, 50, 1, 152064, 0x4b46d179
+0, 51, 51, 1, 152064, 0x6184c708
+0, 52, 52, 1, 152064, 0x697bb8e2
+0, 53, 53, 1, 152064, 0x5fd3a772
+0, 54, 54, 1, 152064, 0x91456c86
+0, 55, 55, 1, 152064, 0x376c4dae
+0, 56, 56, 1, 152064, 0x00ba2b3f
+0, 57, 57, 1, 152064, 0xf6f0f553
+0, 58, 58, 1, 152064, 0xc0020855
+0, 59, 59, 1, 152064, 0xec3d13d2
+0, 60, 60, 1, 152064, 0xb7d7f1dc
+0, 61, 61, 1, 152064, 0xf9dae37b
+0, 62, 62, 1, 152064, 0x50d9cc93
+0, 63, 63, 1, 152064, 0xba1eb592
+0, 64, 64, 1, 152064, 0x67616557
+0, 65, 65, 1, 152064, 0x09804760
+0, 66, 66, 1, 152064, 0xc2ffba00
+0, 67, 67, 1, 152064, 0xb71fcf46
+0, 68, 68, 1, 152064, 0x6cd975af
+0, 69, 69, 1, 152064, 0x19189167
+0, 70, 70, 1, 152064, 0xbca8fe71
+0, 71, 71, 1, 152064, 0xb0b3f607
+0, 72, 72, 1, 152064, 0x7614d73a
+0, 73, 73, 1, 152064, 0x7de9d87d
+0, 74, 74, 1, 152064, 0x81f58cf2
+0, 75, 75, 1, 152064, 0xb8b036cc
+0, 76, 76, 1, 152064, 0x26d1e2e4
+0, 77, 77, 1, 152064, 0xb41a1e6c
+0, 78, 78, 1, 152064, 0x4f9be4a9
+0, 79, 79, 1, 152064, 0xe95ad5d3
+0, 80, 80, 1, 152064, 0xdffc9335
+0, 81, 81, 1, 152064, 0x01d658c0
+0, 82, 82, 1, 152064, 0x631b4b75
+0, 83, 83, 1, 152064, 0x80ae282f
+0, 84, 84, 1, 152064, 0xb34bf688
+0, 85, 85, 1, 152064, 0xd0cc7d65
+0, 86, 86, 1, 152064, 0x86aa4590
+0, 87, 87, 1, 152064, 0xcb515a57
+0, 88, 88, 1, 152064, 0x68650834
+0, 89, 89, 1, 152064, 0x444ee2a4
diff --git a/tests/ref/fate/h264-conformance-ci1_ft_b b/tests/ref/fate/h264-conformance-ci1_ft_b
index b2dca70352..08e40f499d 100644
--- a/tests/ref/fate/h264-conformance-ci1_ft_b
+++ b/tests/ref/fate/h264-conformance-ci1_ft_b
@@ -1,291 +1,292 @@
-0, 0, 152064, 0xb291a678
-0, 3600, 152064, 0x913c5a5d
-0, 7200, 152064, 0x9558a372
-0, 10800, 152064, 0x5e521e9b
-0, 14400, 152064, 0xbc2c7bd7
-0, 18000, 152064, 0x8867cc80
-0, 21600, 152064, 0xae394b0b
-0, 25200, 152064, 0x15d9c120
-0, 28800, 152064, 0xffe01d0f
-0, 32400, 152064, 0xf90a1d50
-0, 36000, 152064, 0x7b9b6a02
-0, 39600, 152064, 0x687f5afa
-0, 43200, 152064, 0x6bf7b8a2
-0, 46800, 152064, 0x45cb58e9
-0, 50400, 152064, 0xc4246ef0
-0, 54000, 152064, 0xa19dbe0a
-0, 57600, 152064, 0xe297eaa9
-0, 61200, 152064, 0x8f4300bc
-0, 64800, 152064, 0x9a541a18
-0, 68400, 152064, 0xf3b51480
-0, 72000, 152064, 0x5a191303
-0, 75600, 152064, 0x2e887f27
-0, 79200, 152064, 0xf050d46d
-0, 82800, 152064, 0xc31c6716
-0, 86400, 152064, 0x37761725
-0, 90000, 152064, 0x81141cf6
-0, 93600, 152064, 0x181f7e61
-0, 97200, 152064, 0x9fc2b668
-0, 100800, 152064, 0x3716f5da
-0, 104400, 152064, 0x3b28f0c9
-0, 108000, 152064, 0xe33bd972
-0, 111600, 152064, 0x948ccdaa
-0, 115200, 152064, 0x21fdc6c2
-0, 118800, 152064, 0x3874b6fc
-0, 122400, 152064, 0x07b7a748
-0, 126000, 152064, 0x7aee8b8d
-0, 129600, 152064, 0x013d7552
-0, 133200, 152064, 0x9631487e
-0, 136800, 152064, 0xd9a109d6
-0, 140400, 152064, 0x7b450b1b
-0, 144000, 152064, 0x25f0cb06
-0, 147600, 152064, 0x6542aa9c
-0, 151200, 152064, 0x40ba9bd7
-0, 154800, 152064, 0x2dc7d564
-0, 158400, 152064, 0x4534a83f
-0, 162000, 152064, 0x671551a3
-0, 165600, 152064, 0xc69a9a28
-0, 169200, 152064, 0x899be59a
-0, 172800, 152064, 0x1adb6455
-0, 176400, 152064, 0x5d34066b
-0, 180000, 152064, 0x17f4dcec
-0, 183600, 152064, 0xcc9fd4b1
-0, 187200, 152064, 0x329aaeb5
-0, 190800, 152064, 0x4532a3f0
-0, 194400, 152064, 0xb0440be3
-0, 198000, 152064, 0x9055a9e2
-0, 201600, 152064, 0x1f5b4730
-0, 205200, 152064, 0x55fc2ba8
-0, 208800, 152064, 0x6adc911a
-0, 212400, 152064, 0x4968851f
-0, 216000, 152064, 0x31a86628
-0, 219600, 152064, 0x7223240a
-0, 223200, 152064, 0xb982e88e
-0, 226800, 152064, 0xba45b5ea
-0, 230400, 152064, 0x72f55121
-0, 234000, 152064, 0x36c59af9
-0, 237600, 152064, 0x6fc51449
-0, 241200, 152064, 0xbd9d99b7
-0, 244800, 152064, 0x0bd3a6e7
-0, 248400, 152064, 0x5a5d0203
-0, 252000, 152064, 0x44a26951
-0, 255600, 152064, 0xfe9fcff5
-0, 259200, 152064, 0xce25a939
-0, 262800, 152064, 0xdf7c1b79
-0, 266400, 152064, 0xe82a1c4c
-0, 270000, 152064, 0x946b20d7
-0, 273600, 152064, 0x5d4887d2
-0, 277200, 152064, 0xadfe1034
-0, 280800, 152064, 0x6d20b119
-0, 284400, 152064, 0x8e414e12
-0, 288000, 152064, 0x06effdf9
-0, 291600, 152064, 0x3073e4f5
-0, 295200, 152064, 0xa0ef2291
-0, 298800, 152064, 0x3feb2cf6
-0, 302400, 152064, 0x3e77b0c8
-0, 306000, 152064, 0xdbce3b7a
-0, 309600, 152064, 0x15e0b088
-0, 313200, 152064, 0xb05bb465
-0, 316800, 152064, 0x63423915
-0, 320400, 152064, 0x290210f4
-0, 324000, 152064, 0x4d14cc43
-0, 327600, 152064, 0x4a5509fe
-0, 331200, 152064, 0x110c6420
-0, 334800, 152064, 0xbe614dfb
-0, 338400, 152064, 0xa6311469
-0, 342000, 152064, 0x198b6b73
-0, 345600, 152064, 0xe96fe872
-0, 349200, 152064, 0x7a7a6937
-0, 352800, 152064, 0xfe2b868d
-0, 356400, 152064, 0x9e0bbb2b
-0, 360000, 152064, 0x53dbdf39
-0, 363600, 152064, 0xee90ba8e
-0, 367200, 152064, 0x38bcb94d
-0, 370800, 152064, 0x16a6d9bb
-0, 374400, 152064, 0x450ae454
-0, 378000, 152064, 0x7d98fcf4
-0, 381600, 152064, 0xc54ed4cf
-0, 385200, 152064, 0x560d74ac
-0, 388800, 152064, 0xb203fc98
-0, 392400, 152064, 0xb085b576
-0, 396000, 152064, 0x05e16f79
-0, 399600, 152064, 0x90cd4c73
-0, 403200, 152064, 0x4dd42a7f
-0, 406800, 152064, 0x26b9e35c
-0, 410400, 152064, 0x70cbb417
-0, 414000, 152064, 0x0a1bc4a9
-0, 417600, 152064, 0xe08fdbc9
-0, 421200, 152064, 0x8768cd49
-0, 424800, 152064, 0x80a4b575
-0, 428400, 152064, 0x68478ea6
-0, 432000, 152064, 0x8f8c589d
-0, 435600, 152064, 0x8ee4345c
-0, 439200, 152064, 0x93911901
-0, 442800, 152064, 0x38fb4298
-0, 446400, 152064, 0x8bee60e7
-0, 450000, 152064, 0x3f906dbd
-0, 453600, 152064, 0x9de2a984
-0, 457200, 152064, 0x64c804e0
-0, 460800, 152064, 0x4757c864
-0, 464400, 152064, 0xe6f43905
-0, 468000, 152064, 0x8ad2e577
-0, 471600, 152064, 0x1b06977e
-0, 475200, 152064, 0xe92a2dfa
-0, 478800, 152064, 0x97b993fa
-0, 482400, 152064, 0x1602de2d
-0, 486000, 152064, 0x6dda24f1
-0, 489600, 152064, 0x5552ec9d
-0, 493200, 152064, 0xcce058e8
-0, 496800, 152064, 0x4359bccd
-0, 500400, 152064, 0xe41d77d0
-0, 504000, 152064, 0x05730d21
-0, 507600, 152064, 0xa963bf92
-0, 511200, 152064, 0x3f4d8e29
-0, 514800, 152064, 0x385d2403
-0, 518400, 152064, 0xd8e279d6
-0, 522000, 152064, 0xcfcb3713
-0, 525600, 152064, 0xd68d57d4
-0, 529200, 152064, 0xdaecd2d6
-0, 532800, 152064, 0x7c1805cf
-0, 536400, 152064, 0x19969137
-0, 540000, 152064, 0x15007e0c
-0, 543600, 152064, 0xf4f5011a
-0, 547200, 152064, 0x792793e3
-0, 550800, 152064, 0x1c4126f9
-0, 554400, 152064, 0xfaeb9465
-0, 558000, 152064, 0x3366c5c6
-0, 561600, 152064, 0x8efa29ed
-0, 565200, 152064, 0x2b36d937
-0, 568800, 152064, 0x4cfc993f
-0, 572400, 152064, 0x0809f8f8
-0, 576000, 152064, 0x5be26710
-0, 579600, 152064, 0x6d757860
-0, 583200, 152064, 0xf4e8706d
-0, 586800, 152064, 0xec42387d
-0, 590400, 152064, 0x828f02e1
-0, 594000, 152064, 0x45a0954c
-0, 597600, 152064, 0xbcca1065
-0, 601200, 152064, 0xd5946707
-0, 604800, 152064, 0x6887cbcb
-0, 608400, 152064, 0x63fc7423
-0, 612000, 152064, 0x3339ebc2
-0, 615600, 152064, 0x6419e277
-0, 619200, 152064, 0xe9cd70aa
-0, 622800, 152064, 0x23903b35
-0, 626400, 152064, 0xd83d028a
-0, 630000, 152064, 0x79e21536
-0, 633600, 152064, 0x81cc6027
-0, 637200, 152064, 0x56334e89
-0, 640800, 152064, 0xe32e532e
-0, 644400, 152064, 0x528832b4
-0, 648000, 152064, 0x348da007
-0, 651600, 152064, 0x5104b2e8
-0, 655200, 152064, 0x7b0d1f8f
-0, 658800, 152064, 0x6750c77c
-0, 662400, 152064, 0x3a8f2faa
-0, 666000, 152064, 0x8a24a116
-0, 669600, 152064, 0x82d00d82
-0, 673200, 152064, 0xc6f5b11a
-0, 676800, 152064, 0x2b352039
-0, 680400, 152064, 0x7c067e22
-0, 684000, 152064, 0xc975d80d
-0, 687600, 152064, 0xa49978ed
-0, 691200, 152064, 0x441f703e
-0, 694800, 152064, 0x5cb150c5
-0, 698400, 152064, 0xeeda6c8e
-0, 702000, 152064, 0xe9e0ce47
-0, 705600, 152064, 0xba55acbd
-0, 709200, 152064, 0xae8250e5
-0, 712800, 152064, 0xf438f2e8
-0, 716400, 152064, 0xe6263d10
-0, 720000, 152064, 0x8d13277a
-0, 723600, 152064, 0x4bfb4aab
-0, 727200, 152064, 0x1c0a78ea
-0, 730800, 152064, 0xa0651778
-0, 734400, 152064, 0xa309ca66
-0, 738000, 152064, 0x294c750b
-0, 741600, 152064, 0xd55d6881
-0, 745200, 152064, 0x8d002b72
-0, 748800, 152064, 0xe0ae5976
-0, 752400, 152064, 0xc6f28961
-0, 756000, 152064, 0x6fb5899d
-0, 759600, 152064, 0x046f3445
-0, 763200, 152064, 0x9b2d5779
-0, 766800, 152064, 0xeb9db946
-0, 770400, 152064, 0x190bdc3b
-0, 774000, 152064, 0xb9ae5c7b
-0, 777600, 152064, 0xca07ad32
-0, 781200, 152064, 0x8d1fee22
-0, 784800, 152064, 0x446470dd
-0, 788400, 152064, 0x8802cf93
-0, 792000, 152064, 0x8bbaeb30
-0, 795600, 152064, 0xfe4e7fdf
-0, 799200, 152064, 0xc6379dc7
-0, 802800, 152064, 0xaa53198b
-0, 806400, 152064, 0x88d6d37c
-0, 810000, 152064, 0xd1b89370
-0, 813600, 152064, 0xdab349f4
-0, 817200, 152064, 0x4702c238
-0, 820800, 152064, 0xfaa893bb
-0, 824400, 152064, 0x515b940e
-0, 828000, 152064, 0x4d86d838
-0, 831600, 152064, 0xe3815641
-0, 835200, 152064, 0x0e501c17
-0, 838800, 152064, 0x449df073
-0, 842400, 152064, 0xc06daa27
-0, 846000, 152064, 0x72f5394c
-0, 849600, 152064, 0x18be9f70
-0, 853200, 152064, 0xc508213a
-0, 856800, 152064, 0xa616a322
-0, 860400, 152064, 0x1a5d09e5
-0, 864000, 152064, 0xf6e78051
-0, 867600, 152064, 0x8945ad83
-0, 871200, 152064, 0xa06fd95d
-0, 874800, 152064, 0x7d86f015
-0, 878400, 152064, 0x768af87c
-0, 882000, 152064, 0xffa2e8d9
-0, 885600, 152064, 0x2ac0d2df
-0, 889200, 152064, 0x40c27662
-0, 892800, 152064, 0xfcc7580a
-0, 896400, 152064, 0xcdbd51f0
-0, 900000, 152064, 0xe0d754ec
-0, 903600, 152064, 0xbfb59395
-0, 907200, 152064, 0x26f6db71
-0, 910800, 152064, 0x1d85f144
-0, 914400, 152064, 0xfacbfbd9
-0, 918000, 152064, 0x55bdf6b8
-0, 921600, 152064, 0x9c89e3f8
-0, 925200, 152064, 0x6e90c4bd
-0, 928800, 152064, 0x3b19a944
-0, 932400, 152064, 0xcb527670
-0, 936000, 152064, 0xc0ec5c7b
-0, 939600, 152064, 0x7f5f4814
-0, 943200, 152064, 0xb0983900
-0, 946800, 152064, 0xc57534a6
-0, 950400, 152064, 0xd37b30b9
-0, 954000, 152064, 0x61fe2e9f
-0, 957600, 152064, 0x613d2e8a
-0, 961200, 152064, 0x9bc5224b
-0, 964800, 152064, 0x246122c2
-0, 968400, 152064, 0x28811a8f
-0, 972000, 152064, 0x609cfcbf
-0, 975600, 152064, 0x9c5aee70
-0, 979200, 152064, 0x06d7e997
-0, 982800, 152064, 0xcb3e1e4a
-0, 986400, 152064, 0x65e36256
-0, 990000, 152064, 0x571eb628
-0, 993600, 152064, 0x9e940be8
-0, 997200, 152064, 0x425a374b
-0, 1000800, 152064, 0xbeed72a2
-0, 1004400, 152064, 0x295bb61d
-0, 1008000, 152064, 0xfe2df639
-0, 1011600, 152064, 0xbd4f441a
-0, 1015200, 152064, 0x61ce59bc
-0, 1018800, 152064, 0xd5eb825f
-0, 1022400, 152064, 0xc03cb656
-0, 1026000, 152064, 0xfc10c1f6
-0, 1029600, 152064, 0xb93908dc
-0, 1033200, 152064, 0xbc2d3209
-0, 1036800, 152064, 0xcc267ab3
-0, 1040400, 152064, 0x32629fa0
-0, 1044000, 152064, 0x5d5bb942
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb291a678
+0, 1, 1, 1, 152064, 0x913c5a5d
+0, 2, 2, 1, 152064, 0x9558a372
+0, 3, 3, 1, 152064, 0x5e521e9b
+0, 4, 4, 1, 152064, 0xbc2c7bd7
+0, 5, 5, 1, 152064, 0x8867cc80
+0, 6, 6, 1, 152064, 0xae394b0b
+0, 7, 7, 1, 152064, 0x15d9c120
+0, 8, 8, 1, 152064, 0xffe01d0f
+0, 9, 9, 1, 152064, 0xf90a1d50
+0, 10, 10, 1, 152064, 0x7b9b6a02
+0, 11, 11, 1, 152064, 0x687f5afa
+0, 12, 12, 1, 152064, 0x6bf7b8a2
+0, 13, 13, 1, 152064, 0x45cb58e9
+0, 14, 14, 1, 152064, 0xc4246ef0
+0, 15, 15, 1, 152064, 0xa19dbe0a
+0, 16, 16, 1, 152064, 0xe297eaa9
+0, 17, 17, 1, 152064, 0x8f4300bc
+0, 18, 18, 1, 152064, 0x9a541a18
+0, 19, 19, 1, 152064, 0xf3b51480
+0, 20, 20, 1, 152064, 0x5a191303
+0, 21, 21, 1, 152064, 0x2e887f27
+0, 22, 22, 1, 152064, 0xf050d46d
+0, 23, 23, 1, 152064, 0xc31c6716
+0, 24, 24, 1, 152064, 0x37761725
+0, 25, 25, 1, 152064, 0x81141cf6
+0, 26, 26, 1, 152064, 0x181f7e61
+0, 27, 27, 1, 152064, 0x9fc2b668
+0, 28, 28, 1, 152064, 0x3716f5da
+0, 29, 29, 1, 152064, 0x3b28f0c9
+0, 30, 30, 1, 152064, 0xe33bd972
+0, 31, 31, 1, 152064, 0x948ccdaa
+0, 32, 32, 1, 152064, 0x21fdc6c2
+0, 33, 33, 1, 152064, 0x3874b6fc
+0, 34, 34, 1, 152064, 0x07b7a748
+0, 35, 35, 1, 152064, 0x7aee8b8d
+0, 36, 36, 1, 152064, 0x013d7552
+0, 37, 37, 1, 152064, 0x9631487e
+0, 38, 38, 1, 152064, 0xd9a109d6
+0, 39, 39, 1, 152064, 0x7b450b1b
+0, 40, 40, 1, 152064, 0x25f0cb06
+0, 41, 41, 1, 152064, 0x6542aa9c
+0, 42, 42, 1, 152064, 0x40ba9bd7
+0, 43, 43, 1, 152064, 0x2dc7d564
+0, 44, 44, 1, 152064, 0x4534a83f
+0, 45, 45, 1, 152064, 0x671551a3
+0, 46, 46, 1, 152064, 0xc69a9a28
+0, 47, 47, 1, 152064, 0x899be59a
+0, 48, 48, 1, 152064, 0x1adb6455
+0, 49, 49, 1, 152064, 0x5d34066b
+0, 50, 50, 1, 152064, 0x17f4dcec
+0, 51, 51, 1, 152064, 0xcc9fd4b1
+0, 52, 52, 1, 152064, 0x329aaeb5
+0, 53, 53, 1, 152064, 0x4532a3f0
+0, 54, 54, 1, 152064, 0xb0440be3
+0, 55, 55, 1, 152064, 0x9055a9e2
+0, 56, 56, 1, 152064, 0x1f5b4730
+0, 57, 57, 1, 152064, 0x55fc2ba8
+0, 58, 58, 1, 152064, 0x6adc911a
+0, 59, 59, 1, 152064, 0x4968851f
+0, 60, 60, 1, 152064, 0x31a86628
+0, 61, 61, 1, 152064, 0x7223240a
+0, 62, 62, 1, 152064, 0xb982e88e
+0, 63, 63, 1, 152064, 0xba45b5ea
+0, 64, 64, 1, 152064, 0x72f55121
+0, 65, 65, 1, 152064, 0x36c59af9
+0, 66, 66, 1, 152064, 0x6fc51449
+0, 67, 67, 1, 152064, 0xbd9d99b7
+0, 68, 68, 1, 152064, 0x0bd3a6e7
+0, 69, 69, 1, 152064, 0x5a5d0203
+0, 70, 70, 1, 152064, 0x44a26951
+0, 71, 71, 1, 152064, 0xfe9fcff5
+0, 72, 72, 1, 152064, 0xce25a939
+0, 73, 73, 1, 152064, 0xdf7c1b79
+0, 74, 74, 1, 152064, 0xe82a1c4c
+0, 75, 75, 1, 152064, 0x946b20d7
+0, 76, 76, 1, 152064, 0x5d4887d2
+0, 77, 77, 1, 152064, 0xadfe1034
+0, 78, 78, 1, 152064, 0x6d20b119
+0, 79, 79, 1, 152064, 0x8e414e12
+0, 80, 80, 1, 152064, 0x06effdf9
+0, 81, 81, 1, 152064, 0x3073e4f5
+0, 82, 82, 1, 152064, 0xa0ef2291
+0, 83, 83, 1, 152064, 0x3feb2cf6
+0, 84, 84, 1, 152064, 0x3e77b0c8
+0, 85, 85, 1, 152064, 0xdbce3b7a
+0, 86, 86, 1, 152064, 0x15e0b088
+0, 87, 87, 1, 152064, 0xb05bb465
+0, 88, 88, 1, 152064, 0x63423915
+0, 89, 89, 1, 152064, 0x290210f4
+0, 90, 90, 1, 152064, 0x4d14cc43
+0, 91, 91, 1, 152064, 0x4a5509fe
+0, 92, 92, 1, 152064, 0x110c6420
+0, 93, 93, 1, 152064, 0xbe614dfb
+0, 94, 94, 1, 152064, 0xa6311469
+0, 95, 95, 1, 152064, 0x198b6b73
+0, 96, 96, 1, 152064, 0xe96fe872
+0, 97, 97, 1, 152064, 0x7a7a6937
+0, 98, 98, 1, 152064, 0xfe2b868d
+0, 99, 99, 1, 152064, 0x9e0bbb2b
+0, 100, 100, 1, 152064, 0x53dbdf39
+0, 101, 101, 1, 152064, 0xee90ba8e
+0, 102, 102, 1, 152064, 0x38bcb94d
+0, 103, 103, 1, 152064, 0x16a6d9bb
+0, 104, 104, 1, 152064, 0x450ae454
+0, 105, 105, 1, 152064, 0x7d98fcf4
+0, 106, 106, 1, 152064, 0xc54ed4cf
+0, 107, 107, 1, 152064, 0x560d74ac
+0, 108, 108, 1, 152064, 0xb203fc98
+0, 109, 109, 1, 152064, 0xb085b576
+0, 110, 110, 1, 152064, 0x05e16f79
+0, 111, 111, 1, 152064, 0x90cd4c73
+0, 112, 112, 1, 152064, 0x4dd42a7f
+0, 113, 113, 1, 152064, 0x26b9e35c
+0, 114, 114, 1, 152064, 0x70cbb417
+0, 115, 115, 1, 152064, 0x0a1bc4a9
+0, 116, 116, 1, 152064, 0xe08fdbc9
+0, 117, 117, 1, 152064, 0x8768cd49
+0, 118, 118, 1, 152064, 0x80a4b575
+0, 119, 119, 1, 152064, 0x68478ea6
+0, 120, 120, 1, 152064, 0x8f8c589d
+0, 121, 121, 1, 152064, 0x8ee4345c
+0, 122, 122, 1, 152064, 0x93911901
+0, 123, 123, 1, 152064, 0x38fb4298
+0, 124, 124, 1, 152064, 0x8bee60e7
+0, 125, 125, 1, 152064, 0x3f906dbd
+0, 126, 126, 1, 152064, 0x9de2a984
+0, 127, 127, 1, 152064, 0x64c804e0
+0, 128, 128, 1, 152064, 0x4757c864
+0, 129, 129, 1, 152064, 0xe6f43905
+0, 130, 130, 1, 152064, 0x8ad2e577
+0, 131, 131, 1, 152064, 0x1b06977e
+0, 132, 132, 1, 152064, 0xe92a2dfa
+0, 133, 133, 1, 152064, 0x97b993fa
+0, 134, 134, 1, 152064, 0x1602de2d
+0, 135, 135, 1, 152064, 0x6dda24f1
+0, 136, 136, 1, 152064, 0x5552ec9d
+0, 137, 137, 1, 152064, 0xcce058e8
+0, 138, 138, 1, 152064, 0x4359bccd
+0, 139, 139, 1, 152064, 0xe41d77d0
+0, 140, 140, 1, 152064, 0x05730d21
+0, 141, 141, 1, 152064, 0xa963bf92
+0, 142, 142, 1, 152064, 0x3f4d8e29
+0, 143, 143, 1, 152064, 0x385d2403
+0, 144, 144, 1, 152064, 0xd8e279d6
+0, 145, 145, 1, 152064, 0xcfcb3713
+0, 146, 146, 1, 152064, 0xd68d57d4
+0, 147, 147, 1, 152064, 0xdaecd2d6
+0, 148, 148, 1, 152064, 0x7c1805cf
+0, 149, 149, 1, 152064, 0x19969137
+0, 150, 150, 1, 152064, 0x15007e0c
+0, 151, 151, 1, 152064, 0xf4f5011a
+0, 152, 152, 1, 152064, 0x792793e3
+0, 153, 153, 1, 152064, 0x1c4126f9
+0, 154, 154, 1, 152064, 0xfaeb9465
+0, 155, 155, 1, 152064, 0x3366c5c6
+0, 156, 156, 1, 152064, 0x8efa29ed
+0, 157, 157, 1, 152064, 0x2b36d937
+0, 158, 158, 1, 152064, 0x4cfc993f
+0, 159, 159, 1, 152064, 0x0809f8f8
+0, 160, 160, 1, 152064, 0x5be26710
+0, 161, 161, 1, 152064, 0x6d757860
+0, 162, 162, 1, 152064, 0xf4e8706d
+0, 163, 163, 1, 152064, 0xec42387d
+0, 164, 164, 1, 152064, 0x828f02e1
+0, 165, 165, 1, 152064, 0x45a0954c
+0, 166, 166, 1, 152064, 0xbcca1065
+0, 167, 167, 1, 152064, 0xd5946707
+0, 168, 168, 1, 152064, 0x6887cbcb
+0, 169, 169, 1, 152064, 0x63fc7423
+0, 170, 170, 1, 152064, 0x3339ebc2
+0, 171, 171, 1, 152064, 0x6419e277
+0, 172, 172, 1, 152064, 0xe9cd70aa
+0, 173, 173, 1, 152064, 0x23903b35
+0, 174, 174, 1, 152064, 0xd83d028a
+0, 175, 175, 1, 152064, 0x79e21536
+0, 176, 176, 1, 152064, 0x81cc6027
+0, 177, 177, 1, 152064, 0x56334e89
+0, 178, 178, 1, 152064, 0xe32e532e
+0, 179, 179, 1, 152064, 0x528832b4
+0, 180, 180, 1, 152064, 0x348da007
+0, 181, 181, 1, 152064, 0x5104b2e8
+0, 182, 182, 1, 152064, 0x7b0d1f8f
+0, 183, 183, 1, 152064, 0x6750c77c
+0, 184, 184, 1, 152064, 0x3a8f2faa
+0, 185, 185, 1, 152064, 0x8a24a116
+0, 186, 186, 1, 152064, 0x82d00d82
+0, 187, 187, 1, 152064, 0xc6f5b11a
+0, 188, 188, 1, 152064, 0x2b352039
+0, 189, 189, 1, 152064, 0x7c067e22
+0, 190, 190, 1, 152064, 0xc975d80d
+0, 191, 191, 1, 152064, 0xa49978ed
+0, 192, 192, 1, 152064, 0x441f703e
+0, 193, 193, 1, 152064, 0x5cb150c5
+0, 194, 194, 1, 152064, 0xeeda6c8e
+0, 195, 195, 1, 152064, 0xe9e0ce47
+0, 196, 196, 1, 152064, 0xba55acbd
+0, 197, 197, 1, 152064, 0xae8250e5
+0, 198, 198, 1, 152064, 0xf438f2e8
+0, 199, 199, 1, 152064, 0xe6263d10
+0, 200, 200, 1, 152064, 0x8d13277a
+0, 201, 201, 1, 152064, 0x4bfb4aab
+0, 202, 202, 1, 152064, 0x1c0a78ea
+0, 203, 203, 1, 152064, 0xa0651778
+0, 204, 204, 1, 152064, 0xa309ca66
+0, 205, 205, 1, 152064, 0x294c750b
+0, 206, 206, 1, 152064, 0xd55d6881
+0, 207, 207, 1, 152064, 0x8d002b72
+0, 208, 208, 1, 152064, 0xe0ae5976
+0, 209, 209, 1, 152064, 0xc6f28961
+0, 210, 210, 1, 152064, 0x6fb5899d
+0, 211, 211, 1, 152064, 0x046f3445
+0, 212, 212, 1, 152064, 0x9b2d5779
+0, 213, 213, 1, 152064, 0xeb9db946
+0, 214, 214, 1, 152064, 0x190bdc3b
+0, 215, 215, 1, 152064, 0xb9ae5c7b
+0, 216, 216, 1, 152064, 0xca07ad32
+0, 217, 217, 1, 152064, 0x8d1fee22
+0, 218, 218, 1, 152064, 0x446470dd
+0, 219, 219, 1, 152064, 0x8802cf93
+0, 220, 220, 1, 152064, 0x8bbaeb30
+0, 221, 221, 1, 152064, 0xfe4e7fdf
+0, 222, 222, 1, 152064, 0xc6379dc7
+0, 223, 223, 1, 152064, 0xaa53198b
+0, 224, 224, 1, 152064, 0x88d6d37c
+0, 225, 225, 1, 152064, 0xd1b89370
+0, 226, 226, 1, 152064, 0xdab349f4
+0, 227, 227, 1, 152064, 0x4702c238
+0, 228, 228, 1, 152064, 0xfaa893bb
+0, 229, 229, 1, 152064, 0x515b940e
+0, 230, 230, 1, 152064, 0x4d86d838
+0, 231, 231, 1, 152064, 0xe3815641
+0, 232, 232, 1, 152064, 0x0e501c17
+0, 233, 233, 1, 152064, 0x449df073
+0, 234, 234, 1, 152064, 0xc06daa27
+0, 235, 235, 1, 152064, 0x72f5394c
+0, 236, 236, 1, 152064, 0x18be9f70
+0, 237, 237, 1, 152064, 0xc508213a
+0, 238, 238, 1, 152064, 0xa616a322
+0, 239, 239, 1, 152064, 0x1a5d09e5
+0, 240, 240, 1, 152064, 0xf6e78051
+0, 241, 241, 1, 152064, 0x8945ad83
+0, 242, 242, 1, 152064, 0xa06fd95d
+0, 243, 243, 1, 152064, 0x7d86f015
+0, 244, 244, 1, 152064, 0x768af87c
+0, 245, 245, 1, 152064, 0xffa2e8d9
+0, 246, 246, 1, 152064, 0x2ac0d2df
+0, 247, 247, 1, 152064, 0x40c27662
+0, 248, 248, 1, 152064, 0xfcc7580a
+0, 249, 249, 1, 152064, 0xcdbd51f0
+0, 250, 250, 1, 152064, 0xe0d754ec
+0, 251, 251, 1, 152064, 0xbfb59395
+0, 252, 252, 1, 152064, 0x26f6db71
+0, 253, 253, 1, 152064, 0x1d85f144
+0, 254, 254, 1, 152064, 0xfacbfbd9
+0, 255, 255, 1, 152064, 0x55bdf6b8
+0, 256, 256, 1, 152064, 0x9c89e3f8
+0, 257, 257, 1, 152064, 0x6e90c4bd
+0, 258, 258, 1, 152064, 0x3b19a944
+0, 259, 259, 1, 152064, 0xcb527670
+0, 260, 260, 1, 152064, 0xc0ec5c7b
+0, 261, 261, 1, 152064, 0x7f5f4814
+0, 262, 262, 1, 152064, 0xb0983900
+0, 263, 263, 1, 152064, 0xc57534a6
+0, 264, 264, 1, 152064, 0xd37b30b9
+0, 265, 265, 1, 152064, 0x61fe2e9f
+0, 266, 266, 1, 152064, 0x613d2e8a
+0, 267, 267, 1, 152064, 0x9bc5224b
+0, 268, 268, 1, 152064, 0x246122c2
+0, 269, 269, 1, 152064, 0x28811a8f
+0, 270, 270, 1, 152064, 0x609cfcbf
+0, 271, 271, 1, 152064, 0x9c5aee70
+0, 272, 272, 1, 152064, 0x06d7e997
+0, 273, 273, 1, 152064, 0xcb3e1e4a
+0, 274, 274, 1, 152064, 0x65e36256
+0, 275, 275, 1, 152064, 0x571eb628
+0, 276, 276, 1, 152064, 0x9e940be8
+0, 277, 277, 1, 152064, 0x425a374b
+0, 278, 278, 1, 152064, 0xbeed72a2
+0, 279, 279, 1, 152064, 0x295bb61d
+0, 280, 280, 1, 152064, 0xfe2df639
+0, 281, 281, 1, 152064, 0xbd4f441a
+0, 282, 282, 1, 152064, 0x61ce59bc
+0, 283, 283, 1, 152064, 0xd5eb825f
+0, 284, 284, 1, 152064, 0xc03cb656
+0, 285, 285, 1, 152064, 0xfc10c1f6
+0, 286, 286, 1, 152064, 0xb93908dc
+0, 287, 287, 1, 152064, 0xbc2d3209
+0, 288, 288, 1, 152064, 0xcc267ab3
+0, 289, 289, 1, 152064, 0x32629fa0
+0, 290, 290, 1, 152064, 0x5d5bb942
diff --git a/tests/ref/fate/h264-conformance-ci_mw_d b/tests/ref/fate/h264-conformance-ci_mw_d
index 193c5c809b..7b5a7dc521 100644
--- a/tests/ref/fate/h264-conformance-ci_mw_d
+++ b/tests/ref/fate/h264-conformance-ci_mw_d
@@ -1,100 +1,101 @@
-0, 0, 38016, 0x3ae838ee
-0, 3600, 38016, 0x8523e136
-0, 7200, 38016, 0xcffc99dd
-0, 10800, 38016, 0xd42c63b0
-0, 14400, 38016, 0x6ba94f84
-0, 18000, 38016, 0xa5c56dd3
-0, 21600, 38016, 0x6f6a929e
-0, 25200, 38016, 0x84f89b27
-0, 28800, 38016, 0x35bd9f0f
-0, 32400, 38016, 0x69058ed2
-0, 36000, 38016, 0x44c05088
-0, 39600, 38016, 0xed9725f0
-0, 43200, 38016, 0x37b92a40
-0, 46800, 38016, 0xbeed3c7c
-0, 50400, 38016, 0x833a5669
-0, 54000, 38016, 0xf37b78b1
-0, 57600, 38016, 0x84e2aff4
-0, 61200, 38016, 0x8c69c59c
-0, 64800, 38016, 0x40fdbe25
-0, 68400, 38016, 0x1c7cba40
-0, 72000, 38016, 0x052abe29
-0, 75600, 38016, 0x398ec317
-0, 79200, 38016, 0xa157bb47
-0, 82800, 38016, 0x6acfc1a0
-0, 86400, 38016, 0xfa77bdba
-0, 90000, 38016, 0x2254bb0d
-0, 93600, 38016, 0xefdfbdb3
-0, 97200, 38016, 0x80eec1f4
-0, 100800, 38016, 0x48b6c903
-0, 104400, 38016, 0x277dd23b
-0, 108000, 38016, 0x4c6aa7c5
-0, 111600, 38016, 0x223f6bb7
-0, 115200, 38016, 0xdbee4420
-0, 118800, 38016, 0x5f888bdc
-0, 122400, 38016, 0xe5aef9b8
-0, 126000, 38016, 0x6a68596e
-0, 129600, 38016, 0x47feb0d4
-0, 133200, 38016, 0x46d13363
-0, 136800, 38016, 0x31758ae0
-0, 140400, 38016, 0xa9b3c513
-0, 144000, 38016, 0x041ce805
-0, 147600, 38016, 0xd3aef1e9
-0, 151200, 38016, 0x8c51ecf8
-0, 154800, 38016, 0x60a5f20d
-0, 158400, 38016, 0xf3c80bfb
-0, 162000, 38016, 0xcec4f6af
-0, 165600, 38016, 0x70a1c28c
-0, 169200, 38016, 0x1c579938
-0, 172800, 38016, 0x07a8a63d
-0, 176400, 38016, 0xd16ccd4e
-0, 180000, 38016, 0xceb5e478
-0, 183600, 38016, 0x81c0bf00
-0, 187200, 38016, 0x4867d846
-0, 190800, 38016, 0xd8650fd3
-0, 194400, 38016, 0x1d8f375c
-0, 198000, 38016, 0x5ce65ef5
-0, 201600, 38016, 0xbc766bf0
-0, 205200, 38016, 0x73cd27ee
-0, 208800, 38016, 0xd1433004
-0, 212400, 38016, 0xc5bc4798
-0, 216000, 38016, 0xeb8a3531
-0, 219600, 38016, 0xd4b014b8
-0, 223200, 38016, 0xaaa2c77e
-0, 226800, 38016, 0xa0a5a94e
-0, 230400, 38016, 0x74edcf2e
-0, 234000, 38016, 0x2925e32a
-0, 237600, 38016, 0x5400da3a
-0, 241200, 38016, 0xc50eda9b
-0, 244800, 38016, 0xfd4acbe7
-0, 248400, 38016, 0xa75eb6ee
-0, 252000, 38016, 0xc0dca463
-0, 255600, 38016, 0xfd1b83b7
-0, 259200, 38016, 0x5b378f02
-0, 262800, 38016, 0x608983d5
-0, 266400, 38016, 0x6f6f2cda
-0, 270000, 38016, 0x9367e1b2
-0, 273600, 38016, 0x12d7d677
-0, 277200, 38016, 0xd02cc0c5
-0, 280800, 38016, 0xbe2fed59
-0, 284400, 38016, 0x66c1402d
-0, 288000, 38016, 0x150e75cf
-0, 291600, 38016, 0x83c959ea
-0, 295200, 38016, 0xa9c048f4
-0, 298800, 38016, 0xffa9237f
-0, 302400, 38016, 0x0ab0d668
-0, 306000, 38016, 0xae4de2a4
-0, 309600, 38016, 0xfc4322e8
-0, 313200, 38016, 0x21f026dd
-0, 316800, 38016, 0x7582b6a6
-0, 320400, 38016, 0x4ddc5306
-0, 324000, 38016, 0x1722db32
-0, 327600, 38016, 0x33a0ace6
-0, 331200, 38016, 0xe96ebd07
-0, 334800, 38016, 0xdff2e5ef
-0, 338400, 38016, 0xbf941880
-0, 342000, 38016, 0x12ffcea4
-0, 345600, 38016, 0x1ef6aaef
-0, 349200, 38016, 0x2b01f811
-0, 352800, 38016, 0x422b5992
-0, 356400, 38016, 0x68ba9d2d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x3ae838ee
+0, 1, 1, 1, 38016, 0x8523e136
+0, 2, 2, 1, 38016, 0xcffc99dd
+0, 3, 3, 1, 38016, 0xd42c63b0
+0, 4, 4, 1, 38016, 0x6ba94f84
+0, 5, 5, 1, 38016, 0xa5c56dd3
+0, 6, 6, 1, 38016, 0x6f6a929e
+0, 7, 7, 1, 38016, 0x84f89b27
+0, 8, 8, 1, 38016, 0x35bd9f0f
+0, 9, 9, 1, 38016, 0x69058ed2
+0, 10, 10, 1, 38016, 0x44c05088
+0, 11, 11, 1, 38016, 0xed9725f0
+0, 12, 12, 1, 38016, 0x37b92a40
+0, 13, 13, 1, 38016, 0xbeed3c7c
+0, 14, 14, 1, 38016, 0x833a5669
+0, 15, 15, 1, 38016, 0xf37b78b1
+0, 16, 16, 1, 38016, 0x84e2aff4
+0, 17, 17, 1, 38016, 0x8c69c59c
+0, 18, 18, 1, 38016, 0x40fdbe25
+0, 19, 19, 1, 38016, 0x1c7cba40
+0, 20, 20, 1, 38016, 0x052abe29
+0, 21, 21, 1, 38016, 0x398ec317
+0, 22, 22, 1, 38016, 0xa157bb47
+0, 23, 23, 1, 38016, 0x6acfc1a0
+0, 24, 24, 1, 38016, 0xfa77bdba
+0, 25, 25, 1, 38016, 0x2254bb0d
+0, 26, 26, 1, 38016, 0xefdfbdb3
+0, 27, 27, 1, 38016, 0x80eec1f4
+0, 28, 28, 1, 38016, 0x48b6c903
+0, 29, 29, 1, 38016, 0x277dd23b
+0, 30, 30, 1, 38016, 0x4c6aa7c5
+0, 31, 31, 1, 38016, 0x223f6bb7
+0, 32, 32, 1, 38016, 0xdbee4420
+0, 33, 33, 1, 38016, 0x5f888bdc
+0, 34, 34, 1, 38016, 0xe5aef9b8
+0, 35, 35, 1, 38016, 0x6a68596e
+0, 36, 36, 1, 38016, 0x47feb0d4
+0, 37, 37, 1, 38016, 0x46d13363
+0, 38, 38, 1, 38016, 0x31758ae0
+0, 39, 39, 1, 38016, 0xa9b3c513
+0, 40, 40, 1, 38016, 0x041ce805
+0, 41, 41, 1, 38016, 0xd3aef1e9
+0, 42, 42, 1, 38016, 0x8c51ecf8
+0, 43, 43, 1, 38016, 0x60a5f20d
+0, 44, 44, 1, 38016, 0xf3c80bfb
+0, 45, 45, 1, 38016, 0xcec4f6af
+0, 46, 46, 1, 38016, 0x70a1c28c
+0, 47, 47, 1, 38016, 0x1c579938
+0, 48, 48, 1, 38016, 0x07a8a63d
+0, 49, 49, 1, 38016, 0xd16ccd4e
+0, 50, 50, 1, 38016, 0xceb5e478
+0, 51, 51, 1, 38016, 0x81c0bf00
+0, 52, 52, 1, 38016, 0x4867d846
+0, 53, 53, 1, 38016, 0xd8650fd3
+0, 54, 54, 1, 38016, 0x1d8f375c
+0, 55, 55, 1, 38016, 0x5ce65ef5
+0, 56, 56, 1, 38016, 0xbc766bf0
+0, 57, 57, 1, 38016, 0x73cd27ee
+0, 58, 58, 1, 38016, 0xd1433004
+0, 59, 59, 1, 38016, 0xc5bc4798
+0, 60, 60, 1, 38016, 0xeb8a3531
+0, 61, 61, 1, 38016, 0xd4b014b8
+0, 62, 62, 1, 38016, 0xaaa2c77e
+0, 63, 63, 1, 38016, 0xa0a5a94e
+0, 64, 64, 1, 38016, 0x74edcf2e
+0, 65, 65, 1, 38016, 0x2925e32a
+0, 66, 66, 1, 38016, 0x5400da3a
+0, 67, 67, 1, 38016, 0xc50eda9b
+0, 68, 68, 1, 38016, 0xfd4acbe7
+0, 69, 69, 1, 38016, 0xa75eb6ee
+0, 70, 70, 1, 38016, 0xc0dca463
+0, 71, 71, 1, 38016, 0xfd1b83b7
+0, 72, 72, 1, 38016, 0x5b378f02
+0, 73, 73, 1, 38016, 0x608983d5
+0, 74, 74, 1, 38016, 0x6f6f2cda
+0, 75, 75, 1, 38016, 0x9367e1b2
+0, 76, 76, 1, 38016, 0x12d7d677
+0, 77, 77, 1, 38016, 0xd02cc0c5
+0, 78, 78, 1, 38016, 0xbe2fed59
+0, 79, 79, 1, 38016, 0x66c1402d
+0, 80, 80, 1, 38016, 0x150e75cf
+0, 81, 81, 1, 38016, 0x83c959ea
+0, 82, 82, 1, 38016, 0xa9c048f4
+0, 83, 83, 1, 38016, 0xffa9237f
+0, 84, 84, 1, 38016, 0x0ab0d668
+0, 85, 85, 1, 38016, 0xae4de2a4
+0, 86, 86, 1, 38016, 0xfc4322e8
+0, 87, 87, 1, 38016, 0x21f026dd
+0, 88, 88, 1, 38016, 0x7582b6a6
+0, 89, 89, 1, 38016, 0x4ddc5306
+0, 90, 90, 1, 38016, 0x1722db32
+0, 91, 91, 1, 38016, 0x33a0ace6
+0, 92, 92, 1, 38016, 0xe96ebd07
+0, 93, 93, 1, 38016, 0xdff2e5ef
+0, 94, 94, 1, 38016, 0xbf941880
+0, 95, 95, 1, 38016, 0x12ffcea4
+0, 96, 96, 1, 38016, 0x1ef6aaef
+0, 97, 97, 1, 38016, 0x2b01f811
+0, 98, 98, 1, 38016, 0x422b5992
+0, 99, 99, 1, 38016, 0x68ba9d2d
diff --git a/tests/ref/fate/h264-conformance-cvbs3_sony_c b/tests/ref/fate/h264-conformance-cvbs3_sony_c
index 7a5db82d10..ad7485a80e 100644
--- a/tests/ref/fate/h264-conformance-cvbs3_sony_c
+++ b/tests/ref/fate/h264-conformance-cvbs3_sony_c
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb3883478
-0, 3600, 38016, 0xddf01d9d
-0, 7200, 38016, 0xb177ece2
-0, 10800, 38016, 0xfcd6aec1
-0, 14400, 38016, 0x5cb5a017
-0, 18000, 38016, 0xeb3884e7
-0, 21600, 38016, 0xa8494fb1
-0, 25200, 38016, 0xe0084edb
-0, 28800, 38016, 0x605845e7
-0, 32400, 38016, 0xe2103e96
-0, 36000, 38016, 0x3b057699
-0, 39600, 38016, 0x130b9413
-0, 43200, 38016, 0x1af773f6
-0, 46800, 38016, 0x1a77b1f3
-0, 50400, 38016, 0xbb5bac34
-0, 54000, 38016, 0xd41c9cf7
-0, 57600, 38016, 0x6df3ac7f
-0, 61200, 38016, 0xba44a850
-0, 64800, 38016, 0xe8887fc4
-0, 68400, 38016, 0xa50387fa
-0, 72000, 38016, 0x164c6317
-0, 75600, 38016, 0xb9c52925
-0, 79200, 38016, 0xfbcc2f11
-0, 82800, 38016, 0x5c0f258c
-0, 86400, 38016, 0x0d61186e
-0, 90000, 38016, 0xec173b07
-0, 93600, 38016, 0x322c353a
-0, 97200, 38016, 0x30f72be0
-0, 100800, 38016, 0xb0aa5d52
-0, 104400, 38016, 0x915a70e2
-0, 108000, 38016, 0xed9563d3
-0, 111600, 38016, 0x2122a450
-0, 115200, 38016, 0xc8a6ba0a
-0, 118800, 38016, 0x7fbaad08
-0, 122400, 38016, 0xef19d83b
-0, 126000, 38016, 0x4fb1d339
-0, 129600, 38016, 0xe73eb1a3
-0, 133200, 38016, 0xfd23d6f0
-0, 136800, 38016, 0xfc21ca53
-0, 140400, 38016, 0xa6c7b2c9
-0, 144000, 38016, 0x4fb3c8e0
-0, 147600, 38016, 0xdb7acc62
-0, 151200, 38016, 0x281db765
-0, 154800, 38016, 0x2e11b6e9
-0, 158400, 38016, 0x8237b906
-0, 162000, 38016, 0xe3728780
-0, 165600, 38016, 0x2932a82c
-0, 169200, 38016, 0x8a0ab2ca
-0, 172800, 38016, 0xdb38a893
-0, 176400, 38016, 0xd64cbfc3
-0, 180000, 38016, 0x8a53b992
-0, 183600, 38016, 0xef29abc9
-0, 187200, 38016, 0x6d64baf6
-0, 190800, 38016, 0xc402bf13
-0, 194400, 38016, 0x00c7b709
-0, 198000, 38016, 0x55ddcb84
-0, 201600, 38016, 0x22cac705
-0, 205200, 38016, 0xfa1bc59d
-0, 208800, 38016, 0x82a1d3d0
-0, 212400, 38016, 0x7db8d411
-0, 216000, 38016, 0x98a59a5a
-0, 219600, 38016, 0x02bda814
-0, 223200, 38016, 0xc4a288d9
-0, 226800, 38016, 0x799a3804
-0, 230400, 38016, 0x11474f82
-0, 234000, 38016, 0x0b807846
-0, 237600, 38016, 0x2a118c7e
-0, 241200, 38016, 0xa076e441
-0, 244800, 38016, 0x9b2c1c2b
-0, 248400, 38016, 0xf1433098
-0, 252000, 38016, 0xbf68697b
-0, 255600, 38016, 0x0c2c94de
-0, 259200, 38016, 0x5fdcb88b
-0, 262800, 38016, 0x543dfb09
-0, 266400, 38016, 0x4c602fc8
-0, 270000, 38016, 0x4c0b3afa
-0, 273600, 38016, 0x97dd846b
-0, 277200, 38016, 0xb5cb97f7
-0, 280800, 38016, 0x42dba91c
-0, 284400, 38016, 0x827cc117
-0, 288000, 38016, 0xd589cd88
-0, 291600, 38016, 0x15bfdd09
-0, 295200, 38016, 0x77cbe929
-0, 298800, 38016, 0x499edfb2
-0, 302400, 38016, 0x3bd5d22c
-0, 306000, 38016, 0xed0ed545
-0, 309600, 38016, 0x1751e754
-0, 313200, 38016, 0x042feed4
-0, 316800, 38016, 0x24dde6b3
-0, 320400, 38016, 0x8aa2ed66
-0, 324000, 38016, 0x8fa69f07
-0, 327600, 38016, 0xe018ad28
-0, 331200, 38016, 0x0b31992e
-0, 334800, 38016, 0xf8aa6dbc
-0, 338400, 38016, 0x0eb36da4
-0, 342000, 38016, 0x392b6658
-0, 345600, 38016, 0xb8056967
-0, 349200, 38016, 0x16899181
-0, 352800, 38016, 0x44b9a1b2
-0, 356400, 38016, 0x20ee9b98
-0, 360000, 38016, 0x42cdad98
-0, 363600, 38016, 0xd438a3d6
-0, 367200, 38016, 0x551e8751
-0, 370800, 38016, 0x68428f39
-0, 374400, 38016, 0x7449b249
-0, 378000, 38016, 0xf294a253
-0, 381600, 38016, 0x8628d899
-0, 385200, 38016, 0xba05f633
-0, 388800, 38016, 0x329bfacb
-0, 392400, 38016, 0xaa5c33dd
-0, 396000, 38016, 0x2b9437d9
-0, 399600, 38016, 0x8bd8273b
-0, 403200, 38016, 0xc6d541fb
-0, 406800, 38016, 0xb42c1e45
-0, 410400, 38016, 0xdd39e610
-0, 414000, 38016, 0xae56fe66
-0, 417600, 38016, 0x812a16e4
-0, 421200, 38016, 0x47fdff0f
-0, 424800, 38016, 0xfbb33b56
-0, 428400, 38016, 0x792a486f
-0, 432000, 38016, 0x32e93592
-0, 435600, 38016, 0xbd2142ca
-0, 439200, 38016, 0x2d412532
-0, 442800, 38016, 0x5ee8e957
-0, 446400, 38016, 0x57c3de13
-0, 450000, 38016, 0xad94b6f1
-0, 453600, 38016, 0x8cda97a1
-0, 457200, 38016, 0x3563b54e
-0, 460800, 38016, 0x1d2bc4fb
-0, 464400, 38016, 0xada2cf01
-0, 468000, 38016, 0x8dabed0a
-0, 471600, 38016, 0x441ae3c0
-0, 475200, 38016, 0x5514cc85
-0, 478800, 38016, 0xd20cddad
-0, 482400, 38016, 0x5286d569
-0, 486000, 38016, 0x1612a173
-0, 489600, 38016, 0x5946be84
-0, 493200, 38016, 0x1925b1fe
-0, 496800, 38016, 0xf34f93eb
-0, 500400, 38016, 0xac3d9add
-0, 504000, 38016, 0x12d18ba6
-0, 507600, 38016, 0xcc7f7e5a
-0, 511200, 38016, 0x449270ec
-0, 514800, 38016, 0x04416f83
-0, 518400, 38016, 0x50d36abf
-0, 522000, 38016, 0x8605799f
-0, 525600, 38016, 0xe6ec6cfd
-0, 529200, 38016, 0x1f2d3baf
-0, 532800, 38016, 0x9f3e1a4c
-0, 536400, 38016, 0x5c3ef4c8
-0, 540000, 38016, 0xf731aef2
-0, 543600, 38016, 0x90b4c921
-0, 547200, 38016, 0xa12dc74f
-0, 550800, 38016, 0x1fe2a278
-0, 554400, 38016, 0xa6b0b432
-0, 558000, 38016, 0xf9e9cb79
-0, 561600, 38016, 0xef58d10e
-0, 565200, 38016, 0x957805c0
-0, 568800, 38016, 0x76e03b1f
-0, 572400, 38016, 0xcb2a4905
-0, 576000, 38016, 0xb863646d
-0, 579600, 38016, 0x3e5f57fe
-0, 583200, 38016, 0xbe7d3d77
-0, 586800, 38016, 0x4f3c3ce5
-0, 590400, 38016, 0x806033d0
-0, 594000, 38016, 0xc31bf5da
-0, 597600, 38016, 0x6f8ef69e
-0, 601200, 38016, 0x010ac670
-0, 604800, 38016, 0x374e9bdd
-0, 608400, 38016, 0xd8499c26
-0, 612000, 38016, 0x5901a512
-0, 615600, 38016, 0x31b2bcdf
-0, 619200, 38016, 0x972cdda0
-0, 622800, 38016, 0x10c8ded1
-0, 626400, 38016, 0xc6e3c839
-0, 630000, 38016, 0xf661aa12
-0, 633600, 38016, 0x6ca379d0
-0, 637200, 38016, 0xc5a53d41
-0, 640800, 38016, 0x317d353c
-0, 644400, 38016, 0xb9962522
-0, 648000, 38016, 0x0769ec52
-0, 651600, 38016, 0x4463ea8b
-0, 655200, 38016, 0xdd7dd585
-0, 658800, 38016, 0x6039ca99
-0, 662400, 38016, 0x87beeba1
-0, 666000, 38016, 0x2503fd5d
-0, 669600, 38016, 0xde950c40
-0, 673200, 38016, 0xd6f5332f
-0, 676800, 38016, 0xa95b3137
-0, 680400, 38016, 0x37c026b4
-0, 684000, 38016, 0x93f9e3e3
-0, 687600, 38016, 0x5826b471
-0, 691200, 38016, 0xef81ac84
-0, 694800, 38016, 0x6361dfa0
-0, 698400, 38016, 0x9774f041
-0, 702000, 38016, 0xd8d01ad1
-0, 705600, 38016, 0x456252f3
-0, 709200, 38016, 0x448c6119
-0, 712800, 38016, 0x12157fca
-0, 716400, 38016, 0x145ca727
-0, 720000, 38016, 0x17a5b174
-0, 723600, 38016, 0xc0c0bb0c
-0, 727200, 38016, 0x9afbc5e8
-0, 730800, 38016, 0xc8c7cc3a
-0, 734400, 38016, 0x489dc5dd
-0, 738000, 38016, 0x6da6c7c8
-0, 741600, 38016, 0x6408d491
-0, 745200, 38016, 0x0820d9ce
-0, 748800, 38016, 0xebcfc8d6
-0, 752400, 38016, 0xf462b2a2
-0, 756000, 38016, 0xadb65d17
-0, 759600, 38016, 0xecde79e9
-0, 763200, 38016, 0x81786ed0
-0, 766800, 38016, 0x3cfc51f8
-0, 770400, 38016, 0x307560ba
-0, 774000, 38016, 0xc4f95361
-0, 777600, 38016, 0xe2fe384b
-0, 781200, 38016, 0x95de4e60
-0, 784800, 38016, 0x1b6147f9
-0, 788400, 38016, 0xe1bc385b
-0, 792000, 38016, 0x14cc446a
-0, 795600, 38016, 0x5fcb313f
-0, 799200, 38016, 0xf33f1721
-0, 802800, 38016, 0x49fc2fbb
-0, 806400, 38016, 0x33ad3314
-0, 810000, 38016, 0x92b51315
-0, 813600, 38016, 0x7e4d3139
-0, 817200, 38016, 0xb99e432b
-0, 820800, 38016, 0x52cb3c30
-0, 824400, 38016, 0xe5e48199
-0, 828000, 38016, 0x59419769
-0, 831600, 38016, 0x3e90b130
-0, 835200, 38016, 0x85fbfbd6
-0, 838800, 38016, 0xba8912ac
-0, 842400, 38016, 0x3fc3128c
-0, 846000, 38016, 0x61db4d37
-0, 849600, 38016, 0x3c405a46
-0, 853200, 38016, 0x9c113b43
-0, 856800, 38016, 0x739c43f4
-0, 860400, 38016, 0xffab0fe6
-0, 864000, 38016, 0x99cee4bd
-0, 867600, 38016, 0xd76dcff5
-0, 871200, 38016, 0xe8ccb16c
-0, 874800, 38016, 0x43d8ff1f
-0, 878400, 38016, 0xffde708b
-0, 882000, 38016, 0xe5cfd3d4
-0, 885600, 38016, 0x0b67ef9f
-0, 889200, 38016, 0xd54cd697
-0, 892800, 38016, 0x5879926e
-0, 896400, 38016, 0x9cb01428
-0, 900000, 38016, 0x09b0c0b7
-0, 903600, 38016, 0xbbef721e
-0, 907200, 38016, 0xcebd66ea
-0, 910800, 38016, 0x7492c956
-0, 914400, 38016, 0xeaa5317b
-0, 918000, 38016, 0xe952c9bd
-0, 921600, 38016, 0xb4cfd878
-0, 925200, 38016, 0xa8675f14
-0, 928800, 38016, 0x24653121
-0, 932400, 38016, 0xeec9425e
-0, 936000, 38016, 0x14413e58
-0, 939600, 38016, 0xc8e13f0a
-0, 943200, 38016, 0x09045f0f
-0, 946800, 38016, 0xa021583e
-0, 950400, 38016, 0x26384591
-0, 954000, 38016, 0x157b55d2
-0, 957600, 38016, 0x22973c65
-0, 961200, 38016, 0x2fe30f64
-0, 964800, 38016, 0xf640fab4
-0, 968400, 38016, 0x2b82d807
-0, 972000, 38016, 0x6faca613
-0, 975600, 38016, 0x8a5b89c3
-0, 979200, 38016, 0xb7d76316
-0, 982800, 38016, 0x3e3a0a82
-0, 986400, 38016, 0x7d93d78b
-0, 990000, 38016, 0xa3bcc050
-0, 993600, 38016, 0x41d4b2ba
-0, 997200, 38016, 0x7a08d518
-0, 1000800, 38016, 0xd6b0f72b
-0, 1004400, 38016, 0x9c794c7b
-0, 1008000, 38016, 0xc2680d18
-0, 1011600, 38016, 0x9fa6db96
-0, 1015200, 38016, 0xd90c83c3
-0, 1018800, 38016, 0xf1278cf5
-0, 1022400, 38016, 0xf2ce5e19
-0, 1026000, 38016, 0x2d41a44b
-0, 1029600, 38016, 0xade2715b
-0, 1033200, 38016, 0xd21da6fe
-0, 1036800, 38016, 0x37c89e7f
-0, 1040400, 38016, 0x6bad76e8
-0, 1044000, 38016, 0xfefce893
-0, 1047600, 38016, 0xcd301b29
-0, 1051200, 38016, 0x0e80a08d
-0, 1054800, 38016, 0x88f3d605
-0, 1058400, 38016, 0x80273791
-0, 1062000, 38016, 0x36472009
-0, 1065600, 38016, 0xe8b6fc54
-0, 1069200, 38016, 0x5d9bfd2d
-0, 1072800, 38016, 0x61df1820
-0, 1076400, 38016, 0x8db23b5c
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb3883478
+0, 1, 1, 1, 38016, 0xddf01d9d
+0, 2, 2, 1, 38016, 0xb177ece2
+0, 3, 3, 1, 38016, 0xfcd6aec1
+0, 4, 4, 1, 38016, 0x5cb5a017
+0, 5, 5, 1, 38016, 0xeb3884e7
+0, 6, 6, 1, 38016, 0xa8494fb1
+0, 7, 7, 1, 38016, 0xe0084edb
+0, 8, 8, 1, 38016, 0x605845e7
+0, 9, 9, 1, 38016, 0xe2103e96
+0, 10, 10, 1, 38016, 0x3b057699
+0, 11, 11, 1, 38016, 0x130b9413
+0, 12, 12, 1, 38016, 0x1af773f6
+0, 13, 13, 1, 38016, 0x1a77b1f3
+0, 14, 14, 1, 38016, 0xbb5bac34
+0, 15, 15, 1, 38016, 0xd41c9cf7
+0, 16, 16, 1, 38016, 0x6df3ac7f
+0, 17, 17, 1, 38016, 0xba44a850
+0, 18, 18, 1, 38016, 0xe8887fc4
+0, 19, 19, 1, 38016, 0xa50387fa
+0, 20, 20, 1, 38016, 0x164c6317
+0, 21, 21, 1, 38016, 0xb9c52925
+0, 22, 22, 1, 38016, 0xfbcc2f11
+0, 23, 23, 1, 38016, 0x5c0f258c
+0, 24, 24, 1, 38016, 0x0d61186e
+0, 25, 25, 1, 38016, 0xec173b07
+0, 26, 26, 1, 38016, 0x322c353a
+0, 27, 27, 1, 38016, 0x30f72be0
+0, 28, 28, 1, 38016, 0xb0aa5d52
+0, 29, 29, 1, 38016, 0x915a70e2
+0, 30, 30, 1, 38016, 0xed9563d3
+0, 31, 31, 1, 38016, 0x2122a450
+0, 32, 32, 1, 38016, 0xc8a6ba0a
+0, 33, 33, 1, 38016, 0x7fbaad08
+0, 34, 34, 1, 38016, 0xef19d83b
+0, 35, 35, 1, 38016, 0x4fb1d339
+0, 36, 36, 1, 38016, 0xe73eb1a3
+0, 37, 37, 1, 38016, 0xfd23d6f0
+0, 38, 38, 1, 38016, 0xfc21ca53
+0, 39, 39, 1, 38016, 0xa6c7b2c9
+0, 40, 40, 1, 38016, 0x4fb3c8e0
+0, 41, 41, 1, 38016, 0xdb7acc62
+0, 42, 42, 1, 38016, 0x281db765
+0, 43, 43, 1, 38016, 0x2e11b6e9
+0, 44, 44, 1, 38016, 0x8237b906
+0, 45, 45, 1, 38016, 0xe3728780
+0, 46, 46, 1, 38016, 0x2932a82c
+0, 47, 47, 1, 38016, 0x8a0ab2ca
+0, 48, 48, 1, 38016, 0xdb38a893
+0, 49, 49, 1, 38016, 0xd64cbfc3
+0, 50, 50, 1, 38016, 0x8a53b992
+0, 51, 51, 1, 38016, 0xef29abc9
+0, 52, 52, 1, 38016, 0x6d64baf6
+0, 53, 53, 1, 38016, 0xc402bf13
+0, 54, 54, 1, 38016, 0x00c7b709
+0, 55, 55, 1, 38016, 0x55ddcb84
+0, 56, 56, 1, 38016, 0x22cac705
+0, 57, 57, 1, 38016, 0xfa1bc59d
+0, 58, 58, 1, 38016, 0x82a1d3d0
+0, 59, 59, 1, 38016, 0x7db8d411
+0, 60, 60, 1, 38016, 0x98a59a5a
+0, 61, 61, 1, 38016, 0x02bda814
+0, 62, 62, 1, 38016, 0xc4a288d9
+0, 63, 63, 1, 38016, 0x799a3804
+0, 64, 64, 1, 38016, 0x11474f82
+0, 65, 65, 1, 38016, 0x0b807846
+0, 66, 66, 1, 38016, 0x2a118c7e
+0, 67, 67, 1, 38016, 0xa076e441
+0, 68, 68, 1, 38016, 0x9b2c1c2b
+0, 69, 69, 1, 38016, 0xf1433098
+0, 70, 70, 1, 38016, 0xbf68697b
+0, 71, 71, 1, 38016, 0x0c2c94de
+0, 72, 72, 1, 38016, 0x5fdcb88b
+0, 73, 73, 1, 38016, 0x543dfb09
+0, 74, 74, 1, 38016, 0x4c602fc8
+0, 75, 75, 1, 38016, 0x4c0b3afa
+0, 76, 76, 1, 38016, 0x97dd846b
+0, 77, 77, 1, 38016, 0xb5cb97f7
+0, 78, 78, 1, 38016, 0x42dba91c
+0, 79, 79, 1, 38016, 0x827cc117
+0, 80, 80, 1, 38016, 0xd589cd88
+0, 81, 81, 1, 38016, 0x15bfdd09
+0, 82, 82, 1, 38016, 0x77cbe929
+0, 83, 83, 1, 38016, 0x499edfb2
+0, 84, 84, 1, 38016, 0x3bd5d22c
+0, 85, 85, 1, 38016, 0xed0ed545
+0, 86, 86, 1, 38016, 0x1751e754
+0, 87, 87, 1, 38016, 0x042feed4
+0, 88, 88, 1, 38016, 0x24dde6b3
+0, 89, 89, 1, 38016, 0x8aa2ed66
+0, 90, 90, 1, 38016, 0x8fa69f07
+0, 91, 91, 1, 38016, 0xe018ad28
+0, 92, 92, 1, 38016, 0x0b31992e
+0, 93, 93, 1, 38016, 0xf8aa6dbc
+0, 94, 94, 1, 38016, 0x0eb36da4
+0, 95, 95, 1, 38016, 0x392b6658
+0, 96, 96, 1, 38016, 0xb8056967
+0, 97, 97, 1, 38016, 0x16899181
+0, 98, 98, 1, 38016, 0x44b9a1b2
+0, 99, 99, 1, 38016, 0x20ee9b98
+0, 100, 100, 1, 38016, 0x42cdad98
+0, 101, 101, 1, 38016, 0xd438a3d6
+0, 102, 102, 1, 38016, 0x551e8751
+0, 103, 103, 1, 38016, 0x68428f39
+0, 104, 104, 1, 38016, 0x7449b249
+0, 105, 105, 1, 38016, 0xf294a253
+0, 106, 106, 1, 38016, 0x8628d899
+0, 107, 107, 1, 38016, 0xba05f633
+0, 108, 108, 1, 38016, 0x329bfacb
+0, 109, 109, 1, 38016, 0xaa5c33dd
+0, 110, 110, 1, 38016, 0x2b9437d9
+0, 111, 111, 1, 38016, 0x8bd8273b
+0, 112, 112, 1, 38016, 0xc6d541fb
+0, 113, 113, 1, 38016, 0xb42c1e45
+0, 114, 114, 1, 38016, 0xdd39e610
+0, 115, 115, 1, 38016, 0xae56fe66
+0, 116, 116, 1, 38016, 0x812a16e4
+0, 117, 117, 1, 38016, 0x47fdff0f
+0, 118, 118, 1, 38016, 0xfbb33b56
+0, 119, 119, 1, 38016, 0x792a486f
+0, 120, 120, 1, 38016, 0x32e93592
+0, 121, 121, 1, 38016, 0xbd2142ca
+0, 122, 122, 1, 38016, 0x2d412532
+0, 123, 123, 1, 38016, 0x5ee8e957
+0, 124, 124, 1, 38016, 0x57c3de13
+0, 125, 125, 1, 38016, 0xad94b6f1
+0, 126, 126, 1, 38016, 0x8cda97a1
+0, 127, 127, 1, 38016, 0x3563b54e
+0, 128, 128, 1, 38016, 0x1d2bc4fb
+0, 129, 129, 1, 38016, 0xada2cf01
+0, 130, 130, 1, 38016, 0x8dabed0a
+0, 131, 131, 1, 38016, 0x441ae3c0
+0, 132, 132, 1, 38016, 0x5514cc85
+0, 133, 133, 1, 38016, 0xd20cddad
+0, 134, 134, 1, 38016, 0x5286d569
+0, 135, 135, 1, 38016, 0x1612a173
+0, 136, 136, 1, 38016, 0x5946be84
+0, 137, 137, 1, 38016, 0x1925b1fe
+0, 138, 138, 1, 38016, 0xf34f93eb
+0, 139, 139, 1, 38016, 0xac3d9add
+0, 140, 140, 1, 38016, 0x12d18ba6
+0, 141, 141, 1, 38016, 0xcc7f7e5a
+0, 142, 142, 1, 38016, 0x449270ec
+0, 143, 143, 1, 38016, 0x04416f83
+0, 144, 144, 1, 38016, 0x50d36abf
+0, 145, 145, 1, 38016, 0x8605799f
+0, 146, 146, 1, 38016, 0xe6ec6cfd
+0, 147, 147, 1, 38016, 0x1f2d3baf
+0, 148, 148, 1, 38016, 0x9f3e1a4c
+0, 149, 149, 1, 38016, 0x5c3ef4c8
+0, 150, 150, 1, 38016, 0xf731aef2
+0, 151, 151, 1, 38016, 0x90b4c921
+0, 152, 152, 1, 38016, 0xa12dc74f
+0, 153, 153, 1, 38016, 0x1fe2a278
+0, 154, 154, 1, 38016, 0xa6b0b432
+0, 155, 155, 1, 38016, 0xf9e9cb79
+0, 156, 156, 1, 38016, 0xef58d10e
+0, 157, 157, 1, 38016, 0x957805c0
+0, 158, 158, 1, 38016, 0x76e03b1f
+0, 159, 159, 1, 38016, 0xcb2a4905
+0, 160, 160, 1, 38016, 0xb863646d
+0, 161, 161, 1, 38016, 0x3e5f57fe
+0, 162, 162, 1, 38016, 0xbe7d3d77
+0, 163, 163, 1, 38016, 0x4f3c3ce5
+0, 164, 164, 1, 38016, 0x806033d0
+0, 165, 165, 1, 38016, 0xc31bf5da
+0, 166, 166, 1, 38016, 0x6f8ef69e
+0, 167, 167, 1, 38016, 0x010ac670
+0, 168, 168, 1, 38016, 0x374e9bdd
+0, 169, 169, 1, 38016, 0xd8499c26
+0, 170, 170, 1, 38016, 0x5901a512
+0, 171, 171, 1, 38016, 0x31b2bcdf
+0, 172, 172, 1, 38016, 0x972cdda0
+0, 173, 173, 1, 38016, 0x10c8ded1
+0, 174, 174, 1, 38016, 0xc6e3c839
+0, 175, 175, 1, 38016, 0xf661aa12
+0, 176, 176, 1, 38016, 0x6ca379d0
+0, 177, 177, 1, 38016, 0xc5a53d41
+0, 178, 178, 1, 38016, 0x317d353c
+0, 179, 179, 1, 38016, 0xb9962522
+0, 180, 180, 1, 38016, 0x0769ec52
+0, 181, 181, 1, 38016, 0x4463ea8b
+0, 182, 182, 1, 38016, 0xdd7dd585
+0, 183, 183, 1, 38016, 0x6039ca99
+0, 184, 184, 1, 38016, 0x87beeba1
+0, 185, 185, 1, 38016, 0x2503fd5d
+0, 186, 186, 1, 38016, 0xde950c40
+0, 187, 187, 1, 38016, 0xd6f5332f
+0, 188, 188, 1, 38016, 0xa95b3137
+0, 189, 189, 1, 38016, 0x37c026b4
+0, 190, 190, 1, 38016, 0x93f9e3e3
+0, 191, 191, 1, 38016, 0x5826b471
+0, 192, 192, 1, 38016, 0xef81ac84
+0, 193, 193, 1, 38016, 0x6361dfa0
+0, 194, 194, 1, 38016, 0x9774f041
+0, 195, 195, 1, 38016, 0xd8d01ad1
+0, 196, 196, 1, 38016, 0x456252f3
+0, 197, 197, 1, 38016, 0x448c6119
+0, 198, 198, 1, 38016, 0x12157fca
+0, 199, 199, 1, 38016, 0x145ca727
+0, 200, 200, 1, 38016, 0x17a5b174
+0, 201, 201, 1, 38016, 0xc0c0bb0c
+0, 202, 202, 1, 38016, 0x9afbc5e8
+0, 203, 203, 1, 38016, 0xc8c7cc3a
+0, 204, 204, 1, 38016, 0x489dc5dd
+0, 205, 205, 1, 38016, 0x6da6c7c8
+0, 206, 206, 1, 38016, 0x6408d491
+0, 207, 207, 1, 38016, 0x0820d9ce
+0, 208, 208, 1, 38016, 0xebcfc8d6
+0, 209, 209, 1, 38016, 0xf462b2a2
+0, 210, 210, 1, 38016, 0xadb65d17
+0, 211, 211, 1, 38016, 0xecde79e9
+0, 212, 212, 1, 38016, 0x81786ed0
+0, 213, 213, 1, 38016, 0x3cfc51f8
+0, 214, 214, 1, 38016, 0x307560ba
+0, 215, 215, 1, 38016, 0xc4f95361
+0, 216, 216, 1, 38016, 0xe2fe384b
+0, 217, 217, 1, 38016, 0x95de4e60
+0, 218, 218, 1, 38016, 0x1b6147f9
+0, 219, 219, 1, 38016, 0xe1bc385b
+0, 220, 220, 1, 38016, 0x14cc446a
+0, 221, 221, 1, 38016, 0x5fcb313f
+0, 222, 222, 1, 38016, 0xf33f1721
+0, 223, 223, 1, 38016, 0x49fc2fbb
+0, 224, 224, 1, 38016, 0x33ad3314
+0, 225, 225, 1, 38016, 0x92b51315
+0, 226, 226, 1, 38016, 0x7e4d3139
+0, 227, 227, 1, 38016, 0xb99e432b
+0, 228, 228, 1, 38016, 0x52cb3c30
+0, 229, 229, 1, 38016, 0xe5e48199
+0, 230, 230, 1, 38016, 0x59419769
+0, 231, 231, 1, 38016, 0x3e90b130
+0, 232, 232, 1, 38016, 0x85fbfbd6
+0, 233, 233, 1, 38016, 0xba8912ac
+0, 234, 234, 1, 38016, 0x3fc3128c
+0, 235, 235, 1, 38016, 0x61db4d37
+0, 236, 236, 1, 38016, 0x3c405a46
+0, 237, 237, 1, 38016, 0x9c113b43
+0, 238, 238, 1, 38016, 0x739c43f4
+0, 239, 239, 1, 38016, 0xffab0fe6
+0, 240, 240, 1, 38016, 0x99cee4bd
+0, 241, 241, 1, 38016, 0xd76dcff5
+0, 242, 242, 1, 38016, 0xe8ccb16c
+0, 243, 243, 1, 38016, 0x43d8ff1f
+0, 244, 244, 1, 38016, 0xffde708b
+0, 245, 245, 1, 38016, 0xe5cfd3d4
+0, 246, 246, 1, 38016, 0x0b67ef9f
+0, 247, 247, 1, 38016, 0xd54cd697
+0, 248, 248, 1, 38016, 0x5879926e
+0, 249, 249, 1, 38016, 0x9cb01428
+0, 250, 250, 1, 38016, 0x09b0c0b7
+0, 251, 251, 1, 38016, 0xbbef721e
+0, 252, 252, 1, 38016, 0xcebd66ea
+0, 253, 253, 1, 38016, 0x7492c956
+0, 254, 254, 1, 38016, 0xeaa5317b
+0, 255, 255, 1, 38016, 0xe952c9bd
+0, 256, 256, 1, 38016, 0xb4cfd878
+0, 257, 257, 1, 38016, 0xa8675f14
+0, 258, 258, 1, 38016, 0x24653121
+0, 259, 259, 1, 38016, 0xeec9425e
+0, 260, 260, 1, 38016, 0x14413e58
+0, 261, 261, 1, 38016, 0xc8e13f0a
+0, 262, 262, 1, 38016, 0x09045f0f
+0, 263, 263, 1, 38016, 0xa021583e
+0, 264, 264, 1, 38016, 0x26384591
+0, 265, 265, 1, 38016, 0x157b55d2
+0, 266, 266, 1, 38016, 0x22973c65
+0, 267, 267, 1, 38016, 0x2fe30f64
+0, 268, 268, 1, 38016, 0xf640fab4
+0, 269, 269, 1, 38016, 0x2b82d807
+0, 270, 270, 1, 38016, 0x6faca613
+0, 271, 271, 1, 38016, 0x8a5b89c3
+0, 272, 272, 1, 38016, 0xb7d76316
+0, 273, 273, 1, 38016, 0x3e3a0a82
+0, 274, 274, 1, 38016, 0x7d93d78b
+0, 275, 275, 1, 38016, 0xa3bcc050
+0, 276, 276, 1, 38016, 0x41d4b2ba
+0, 277, 277, 1, 38016, 0x7a08d518
+0, 278, 278, 1, 38016, 0xd6b0f72b
+0, 279, 279, 1, 38016, 0x9c794c7b
+0, 280, 280, 1, 38016, 0xc2680d18
+0, 281, 281, 1, 38016, 0x9fa6db96
+0, 282, 282, 1, 38016, 0xd90c83c3
+0, 283, 283, 1, 38016, 0xf1278cf5
+0, 284, 284, 1, 38016, 0xf2ce5e19
+0, 285, 285, 1, 38016, 0x2d41a44b
+0, 286, 286, 1, 38016, 0xade2715b
+0, 287, 287, 1, 38016, 0xd21da6fe
+0, 288, 288, 1, 38016, 0x37c89e7f
+0, 289, 289, 1, 38016, 0x6bad76e8
+0, 290, 290, 1, 38016, 0xfefce893
+0, 291, 291, 1, 38016, 0xcd301b29
+0, 292, 292, 1, 38016, 0x0e80a08d
+0, 293, 293, 1, 38016, 0x88f3d605
+0, 294, 294, 1, 38016, 0x80273791
+0, 295, 295, 1, 38016, 0x36472009
+0, 296, 296, 1, 38016, 0xe8b6fc54
+0, 297, 297, 1, 38016, 0x5d9bfd2d
+0, 298, 298, 1, 38016, 0x61df1820
+0, 299, 299, 1, 38016, 0x8db23b5c
diff --git a/tests/ref/fate/h264-conformance-cvcanlma2_sony_c b/tests/ref/fate/h264-conformance-cvcanlma2_sony_c
index 5eff64e541..b6a759a73e 100644
--- a/tests/ref/fate/h264-conformance-cvcanlma2_sony_c
+++ b/tests/ref/fate/h264-conformance-cvcanlma2_sony_c
@@ -1,17 +1,18 @@
-0, 0, 518400, 0xfbca00c6
-0, 3600, 518400, 0x82b80adf
-0, 7200, 518400, 0x87ecdf4a
-0, 10800, 518400, 0xf6ca8cbe
-0, 14400, 518400, 0x8e9bb8a0
-0, 18000, 518400, 0x6512caa2
-0, 21600, 518400, 0xc015e43e
-0, 25200, 518400, 0x5f504a5c
-0, 28800, 518400, 0x4c7458a4
-0, 32400, 518400, 0x630f4004
-0, 36000, 518400, 0x889af20e
-0, 39600, 518400, 0x4437a5a4
-0, 43200, 518400, 0x1e19a254
-0, 46800, 518400, 0xb7ef1763
-0, 50400, 518400, 0xc966c95a
-0, 54000, 518400, 0x0c9074d6
-0, 57600, 518400, 0x24c906c9
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xfbca00c6
+0, 1, 1, 1, 518400, 0x82b80adf
+0, 2, 2, 1, 518400, 0x87ecdf4a
+0, 3, 3, 1, 518400, 0xf6ca8cbe
+0, 4, 4, 1, 518400, 0x8e9bb8a0
+0, 5, 5, 1, 518400, 0x6512caa2
+0, 6, 6, 1, 518400, 0xc015e43e
+0, 7, 7, 1, 518400, 0x5f504a5c
+0, 8, 8, 1, 518400, 0x4c7458a4
+0, 9, 9, 1, 518400, 0x630f4004
+0, 10, 10, 1, 518400, 0x889af20e
+0, 11, 11, 1, 518400, 0x4437a5a4
+0, 12, 12, 1, 518400, 0x1e19a254
+0, 13, 13, 1, 518400, 0xb7ef1763
+0, 14, 14, 1, 518400, 0xc966c95a
+0, 15, 15, 1, 518400, 0x0c9074d6
+0, 16, 16, 1, 518400, 0x24c906c9
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sony_d b/tests/ref/fate/h264-conformance-cvfi1_sony_d
index aaf0e7b024..195c7d6c96 100644
--- a/tests/ref/fate/h264-conformance-cvfi1_sony_d
+++ b/tests/ref/fate/h264-conformance-cvfi1_sony_d
@@ -1,17 +1,18 @@
-0, 0, 518400, 0xd9444d71
-0, 3600, 518400, 0x5d8928cd
-0, 7200, 518400, 0xea5bc08b
-0, 10800, 518400, 0xb4465d31
-0, 14400, 518400, 0x983b5dbb
-0, 18000, 518400, 0x54936746
-0, 21600, 518400, 0x7ae38b02
-0, 25200, 518400, 0xc2a0dd83
-0, 28800, 518400, 0x61cac7a6
-0, 32400, 518400, 0xb0038443
-0, 36000, 518400, 0x16514296
-0, 39600, 518400, 0xa68dd470
-0, 43200, 518400, 0x2572f868
-0, 46800, 518400, 0x770a3239
-0, 50400, 518400, 0xdd04f6d2
-0, 54000, 518400, 0xa5e5d01e
-0, 57600, 518400, 0x5fe25c86
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xd9444d71
+0, 1, 1, 1, 518400, 0x5d8928cd
+0, 2, 2, 1, 518400, 0xea5bc08b
+0, 3, 3, 1, 518400, 0xb4465d31
+0, 4, 4, 1, 518400, 0x983b5dbb
+0, 5, 5, 1, 518400, 0x54936746
+0, 6, 6, 1, 518400, 0x7ae38b02
+0, 7, 7, 1, 518400, 0xc2a0dd83
+0, 8, 8, 1, 518400, 0x61cac7a6
+0, 9, 9, 1, 518400, 0xb0038443
+0, 10, 10, 1, 518400, 0x16514296
+0, 11, 11, 1, 518400, 0xa68dd470
+0, 12, 12, 1, 518400, 0x2572f868
+0, 13, 13, 1, 518400, 0x770a3239
+0, 14, 14, 1, 518400, 0xdd04f6d2
+0, 15, 15, 1, 518400, 0xa5e5d01e
+0, 16, 16, 1, 518400, 0x5fe25c86
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sva_c b/tests/ref/fate/h264-conformance-cvfi1_sva_c
index bcff3ea05d..c19bc0d338 100644
--- a/tests/ref/fate/h264-conformance-cvfi1_sva_c
+++ b/tests/ref/fate/h264-conformance-cvfi1_sva_c
@@ -1,7 +1,8 @@
-0, 0, 518400, 0x8f022263
-0, 3600, 518400, 0x02692654
-0, 7200, 518400, 0x55eff579
-0, 10800, 518400, 0x6c1bdf1d
-0, 14400, 518400, 0xbbedf5e4
-0, 18000, 518400, 0xb90d740d
-0, 21600, 518400, 0x81300adb
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x8f022263
+0, 1, 1, 1, 518400, 0x02692654
+0, 2, 2, 1, 518400, 0x55eff579
+0, 3, 3, 1, 518400, 0x6c1bdf1d
+0, 4, 4, 1, 518400, 0xbbedf5e4
+0, 5, 5, 1, 518400, 0xb90d740d
+0, 6, 6, 1, 518400, 0x81300adb
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sony_h b/tests/ref/fate/h264-conformance-cvfi2_sony_h
index 1a7743ad8c..0914e22951 100644
--- a/tests/ref/fate/h264-conformance-cvfi2_sony_h
+++ b/tests/ref/fate/h264-conformance-cvfi2_sony_h
@@ -1,17 +1,18 @@
-0, 0, 518400, 0xd9444d71
-0, 3600, 518400, 0x491faf75
-0, 7200, 518400, 0xf8b4d15c
-0, 10800, 518400, 0x99d9f60c
-0, 14400, 518400, 0x46c17a6d
-0, 18000, 518400, 0x30b9447d
-0, 21600, 518400, 0x135d0c76
-0, 25200, 518400, 0x1b831a3c
-0, 28800, 518400, 0x5910def8
-0, 32400, 518400, 0x8db90147
-0, 36000, 518400, 0x6a2b79c7
-0, 39600, 518400, 0xc8d302e5
-0, 43200, 518400, 0x515bb024
-0, 46800, 518400, 0xedf7836c
-0, 50400, 518400, 0x7e247b9d
-0, 54000, 518400, 0x10c9bb10
-0, 57600, 518400, 0xe38e2807
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xd9444d71
+0, 1, 1, 1, 518400, 0x491faf75
+0, 2, 2, 1, 518400, 0xf8b4d15c
+0, 3, 3, 1, 518400, 0x99d9f60c
+0, 4, 4, 1, 518400, 0x46c17a6d
+0, 5, 5, 1, 518400, 0x30b9447d
+0, 6, 6, 1, 518400, 0x135d0c76
+0, 7, 7, 1, 518400, 0x1b831a3c
+0, 8, 8, 1, 518400, 0x5910def8
+0, 9, 9, 1, 518400, 0x8db90147
+0, 10, 10, 1, 518400, 0x6a2b79c7
+0, 11, 11, 1, 518400, 0xc8d302e5
+0, 12, 12, 1, 518400, 0x515bb024
+0, 13, 13, 1, 518400, 0xedf7836c
+0, 14, 14, 1, 518400, 0x7e247b9d
+0, 15, 15, 1, 518400, 0x10c9bb10
+0, 16, 16, 1, 518400, 0xe38e2807
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sva_c b/tests/ref/fate/h264-conformance-cvfi2_sva_c
index ffb0a8367a..7c3162a7e0 100644
--- a/tests/ref/fate/h264-conformance-cvfi2_sva_c
+++ b/tests/ref/fate/h264-conformance-cvfi2_sva_c
@@ -1,13 +1,14 @@
-0, 0, 518400, 0x4073cc0b
-0, 3600, 518400, 0x5f599a48
-0, 7200, 518400, 0xc6fe555a
-0, 10800, 518400, 0xe63ac345
-0, 14400, 518400, 0x9b4f0c5c
-0, 18000, 518400, 0x98aaba2d
-0, 21600, 518400, 0xd629bd09
-0, 25200, 518400, 0xe9796c37
-0, 28800, 518400, 0xba54d16e
-0, 32400, 518400, 0xe396c3eb
-0, 36000, 518400, 0x63ee4b81
-0, 39600, 518400, 0x68ac6986
-0, 43200, 518400, 0xe0d53000
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x4073cc0b
+0, 1, 1, 1, 518400, 0x5f599a48
+0, 2, 2, 1, 518400, 0xc6fe555a
+0, 3, 3, 1, 518400, 0xe63ac345
+0, 4, 4, 1, 518400, 0x9b4f0c5c
+0, 5, 5, 1, 518400, 0x98aaba2d
+0, 6, 6, 1, 518400, 0xd629bd09
+0, 7, 7, 1, 518400, 0xe9796c37
+0, 8, 8, 1, 518400, 0xba54d16e
+0, 9, 9, 1, 518400, 0xe396c3eb
+0, 10, 10, 1, 518400, 0x63ee4b81
+0, 11, 11, 1, 518400, 0x68ac6986
+0, 12, 12, 1, 518400, 0xe0d53000
diff --git a/tests/ref/fate/h264-conformance-cvma1_sony_d b/tests/ref/fate/h264-conformance-cvma1_sony_d
index 6b309aab49..66852165d4 100644
--- a/tests/ref/fate/h264-conformance-cvma1_sony_d
+++ b/tests/ref/fate/h264-conformance-cvma1_sony_d
@@ -1,5 +1,6 @@
-0, 0, 518400, 0x75701511
-0, 3600, 518400, 0xa7eeaa16
-0, 7200, 518400, 0xe0f32e35
-0, 10800, 518400, 0x7a1dadd9
-0, 14400, 518400, 0x4a1672a6
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x75701511
+0, 1, 1, 1, 518400, 0xa7eeaa16
+0, 2, 2, 1, 518400, 0xe0f32e35
+0, 3, 3, 1, 518400, 0x7a1dadd9
+0, 4, 4, 1, 518400, 0x4a1672a6
diff --git a/tests/ref/fate/h264-conformance-cvma1_toshiba_b b/tests/ref/fate/h264-conformance-cvma1_toshiba_b
index 897e915e25..ab2da4a736 100644
--- a/tests/ref/fate/h264-conformance-cvma1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cvma1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0x9a9ce366
-0, 3600, 152064, 0xf4639828
-0, 7200, 152064, 0x625024a3
-0, 10800, 152064, 0x80dc2f9d
-0, 14400, 152064, 0xb2c4feea
-0, 18000, 152064, 0x4ec6ad64
-0, 21600, 152064, 0x1957bec3
-0, 25200, 152064, 0xb682799d
-0, 28800, 152064, 0x34cd2053
-0, 32400, 152064, 0x81490b4c
-0, 36000, 152064, 0x242dc943
-0, 39600, 152064, 0x3e126734
-0, 43200, 152064, 0x8e474ff8
-0, 46800, 152064, 0x239d2fbd
-0, 50400, 152064, 0x0ca3e16f
-0, 54000, 152064, 0x6161d7c2
-0, 57600, 152064, 0xca7ad1af
-0, 61200, 152064, 0xf8ef9026
-0, 64800, 152064, 0x01f2f4c1
-0, 68400, 152064, 0x510b19ec
-0, 72000, 152064, 0xe489028b
-0, 75600, 152064, 0x7a693c1e
-0, 79200, 152064, 0x276b23fe
-0, 82800, 152064, 0x0e9ced3a
-0, 86400, 152064, 0x658228f7
-0, 90000, 152064, 0x6a271bc3
-0, 93600, 152064, 0x431ecd8b
-0, 97200, 152064, 0x23a5ed14
-0, 100800, 152064, 0x76fbe121
-0, 104400, 152064, 0x471f919d
-0, 108000, 152064, 0x16bfabbc
-0, 111600, 152064, 0x0762993f
-0, 115200, 152064, 0x5a2b0b0e
-0, 118800, 152064, 0x81415ef7
-0, 122400, 152064, 0xb96e4164
-0, 126000, 152064, 0xf77aee83
-0, 129600, 152064, 0x6af81633
-0, 133200, 152064, 0xed78e5b5
-0, 136800, 152064, 0x67e38e2c
-0, 140400, 152064, 0x0417ae01
-0, 144000, 152064, 0x3887b312
-0, 147600, 152064, 0x3a4b70fb
-0, 151200, 152064, 0xcaae9e7f
-0, 154800, 152064, 0xaf9597be
-0, 158400, 152064, 0x9bae63d3
-0, 162000, 152064, 0x0e80825f
-0, 165600, 152064, 0x915661fd
-0, 169200, 152064, 0x67d3dc94
-0, 172800, 152064, 0x3dcf240c
-0, 176400, 152064, 0x127ff832
-0, 180000, 152064, 0xc8969981
-0, 183600, 152064, 0x57179c77
-0, 187200, 152064, 0x9f88656c
-0, 190800, 152064, 0xc28ff5d3
-0, 194400, 152064, 0xf100fad9
-0, 198000, 152064, 0xb570ce12
-0, 201600, 152064, 0xe8f28955
-0, 205200, 152064, 0x1f0a9549
-0, 208800, 152064, 0x22b17e9b
-0, 212400, 152064, 0x7cf1400e
-0, 216000, 152064, 0xafd273b7
-0, 219600, 152064, 0xeb9b712e
-0, 223200, 152064, 0x0f81de24
-0, 226800, 152064, 0x8f4e1953
-0, 230400, 152064, 0x682e2170
-0, 234000, 152064, 0xc32ad1b2
-0, 237600, 152064, 0x53a81d79
-0, 241200, 152064, 0x54002596
-0, 244800, 152064, 0x4b5fdbd9
-0, 248400, 152064, 0x96613368
-0, 252000, 152064, 0xd6ac0171
-0, 255600, 152064, 0xf1c1b7b7
-0, 259200, 152064, 0xc730d82f
-0, 262800, 152064, 0x0415d934
-0, 266400, 152064, 0x5338915e
-0, 270000, 152064, 0x8e9dda6d
-0, 273600, 152064, 0xe3a8b0a0
-0, 277200, 152064, 0x5fa36e44
-0, 280800, 152064, 0x0e63dc72
-0, 284400, 152064, 0xd0dad71f
-0, 288000, 152064, 0x0c4aac94
-0, 291600, 152064, 0x60d50e8d
-0, 295200, 152064, 0x96872d7c
-0, 298800, 152064, 0x4fcefc33
-0, 302400, 152064, 0x6b8157c9
-0, 306000, 152064, 0xa40d527d
-0, 309600, 152064, 0x9884480a
-0, 313200, 152064, 0xff5d9754
-0, 316800, 152064, 0x4a26a74d
-0, 320400, 152064, 0x81059e82
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9a9ce366
+0, 1, 1, 1, 152064, 0xf4639828
+0, 2, 2, 1, 152064, 0x625024a3
+0, 3, 3, 1, 152064, 0x80dc2f9d
+0, 4, 4, 1, 152064, 0xb2c4feea
+0, 5, 5, 1, 152064, 0x4ec6ad64
+0, 6, 6, 1, 152064, 0x1957bec3
+0, 7, 7, 1, 152064, 0xb682799d
+0, 8, 8, 1, 152064, 0x34cd2053
+0, 9, 9, 1, 152064, 0x81490b4c
+0, 10, 10, 1, 152064, 0x242dc943
+0, 11, 11, 1, 152064, 0x3e126734
+0, 12, 12, 1, 152064, 0x8e474ff8
+0, 13, 13, 1, 152064, 0x239d2fbd
+0, 14, 14, 1, 152064, 0x0ca3e16f
+0, 15, 15, 1, 152064, 0x6161d7c2
+0, 16, 16, 1, 152064, 0xca7ad1af
+0, 17, 17, 1, 152064, 0xf8ef9026
+0, 18, 18, 1, 152064, 0x01f2f4c1
+0, 19, 19, 1, 152064, 0x510b19ec
+0, 20, 20, 1, 152064, 0xe489028b
+0, 21, 21, 1, 152064, 0x7a693c1e
+0, 22, 22, 1, 152064, 0x276b23fe
+0, 23, 23, 1, 152064, 0x0e9ced3a
+0, 24, 24, 1, 152064, 0x658228f7
+0, 25, 25, 1, 152064, 0x6a271bc3
+0, 26, 26, 1, 152064, 0x431ecd8b
+0, 27, 27, 1, 152064, 0x23a5ed14
+0, 28, 28, 1, 152064, 0x76fbe121
+0, 29, 29, 1, 152064, 0x471f919d
+0, 30, 30, 1, 152064, 0x16bfabbc
+0, 31, 31, 1, 152064, 0x0762993f
+0, 32, 32, 1, 152064, 0x5a2b0b0e
+0, 33, 33, 1, 152064, 0x81415ef7
+0, 34, 34, 1, 152064, 0xb96e4164
+0, 35, 35, 1, 152064, 0xf77aee83
+0, 36, 36, 1, 152064, 0x6af81633
+0, 37, 37, 1, 152064, 0xed78e5b5
+0, 38, 38, 1, 152064, 0x67e38e2c
+0, 39, 39, 1, 152064, 0x0417ae01
+0, 40, 40, 1, 152064, 0x3887b312
+0, 41, 41, 1, 152064, 0x3a4b70fb
+0, 42, 42, 1, 152064, 0xcaae9e7f
+0, 43, 43, 1, 152064, 0xaf9597be
+0, 44, 44, 1, 152064, 0x9bae63d3
+0, 45, 45, 1, 152064, 0x0e80825f
+0, 46, 46, 1, 152064, 0x915661fd
+0, 47, 47, 1, 152064, 0x67d3dc94
+0, 48, 48, 1, 152064, 0x3dcf240c
+0, 49, 49, 1, 152064, 0x127ff832
+0, 50, 50, 1, 152064, 0xc8969981
+0, 51, 51, 1, 152064, 0x57179c77
+0, 52, 52, 1, 152064, 0x9f88656c
+0, 53, 53, 1, 152064, 0xc28ff5d3
+0, 54, 54, 1, 152064, 0xf100fad9
+0, 55, 55, 1, 152064, 0xb570ce12
+0, 56, 56, 1, 152064, 0xe8f28955
+0, 57, 57, 1, 152064, 0x1f0a9549
+0, 58, 58, 1, 152064, 0x22b17e9b
+0, 59, 59, 1, 152064, 0x7cf1400e
+0, 60, 60, 1, 152064, 0xafd273b7
+0, 61, 61, 1, 152064, 0xeb9b712e
+0, 62, 62, 1, 152064, 0x0f81de24
+0, 63, 63, 1, 152064, 0x8f4e1953
+0, 64, 64, 1, 152064, 0x682e2170
+0, 65, 65, 1, 152064, 0xc32ad1b2
+0, 66, 66, 1, 152064, 0x53a81d79
+0, 67, 67, 1, 152064, 0x54002596
+0, 68, 68, 1, 152064, 0x4b5fdbd9
+0, 69, 69, 1, 152064, 0x96613368
+0, 70, 70, 1, 152064, 0xd6ac0171
+0, 71, 71, 1, 152064, 0xf1c1b7b7
+0, 72, 72, 1, 152064, 0xc730d82f
+0, 73, 73, 1, 152064, 0x0415d934
+0, 74, 74, 1, 152064, 0x5338915e
+0, 75, 75, 1, 152064, 0x8e9dda6d
+0, 76, 76, 1, 152064, 0xe3a8b0a0
+0, 77, 77, 1, 152064, 0x5fa36e44
+0, 78, 78, 1, 152064, 0x0e63dc72
+0, 79, 79, 1, 152064, 0xd0dad71f
+0, 80, 80, 1, 152064, 0x0c4aac94
+0, 81, 81, 1, 152064, 0x60d50e8d
+0, 82, 82, 1, 152064, 0x96872d7c
+0, 83, 83, 1, 152064, 0x4fcefc33
+0, 84, 84, 1, 152064, 0x6b8157c9
+0, 85, 85, 1, 152064, 0xa40d527d
+0, 86, 86, 1, 152064, 0x9884480a
+0, 87, 87, 1, 152064, 0xff5d9754
+0, 88, 88, 1, 152064, 0x4a26a74d
+0, 89, 89, 1, 152064, 0x81059e82
diff --git a/tests/ref/fate/h264-conformance-cvmanl1_toshiba_b b/tests/ref/fate/h264-conformance-cvmanl1_toshiba_b
index 07422b8d20..2c3c557071 100644
--- a/tests/ref/fate/h264-conformance-cvmanl1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cvmanl1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xb1edd842
-0, 3600, 152064, 0x551f8f45
-0, 7200, 152064, 0xb4931cb2
-0, 10800, 152064, 0x78882b27
-0, 14400, 152064, 0x3afef36d
-0, 18000, 152064, 0x85afad0a
-0, 21600, 152064, 0x3a8bab81
-0, 25200, 152064, 0x2a437174
-0, 28800, 152064, 0x22421437
-0, 32400, 152064, 0x39c5f125
-0, 36000, 152064, 0x256eaad2
-0, 39600, 152064, 0x668a5d31
-0, 43200, 152064, 0x412a4aa7
-0, 46800, 152064, 0x3f091baf
-0, 50400, 152064, 0xbf16d262
-0, 54000, 152064, 0x2fc4ce67
-0, 57600, 152064, 0x119cde3e
-0, 61200, 152064, 0xb40b8632
-0, 64800, 152064, 0x4be4f192
-0, 68400, 152064, 0x906c1237
-0, 72000, 152064, 0x95380024
-0, 75600, 152064, 0x6a833025
-0, 79200, 152064, 0x681d1c4f
-0, 82800, 152064, 0x08c8dea4
-0, 86400, 152064, 0xc69226f0
-0, 90000, 152064, 0x86631102
-0, 93600, 152064, 0x7f40c77a
-0, 97200, 152064, 0xc746ddd4
-0, 100800, 152064, 0x5f2bd3cb
-0, 104400, 152064, 0x643c8316
-0, 108000, 152064, 0x5b7fa380
-0, 111600, 152064, 0x82438cf7
-0, 115200, 152064, 0xdee0f7e7
-0, 118800, 152064, 0xc50d41f1
-0, 122400, 152064, 0xf3453631
-0, 126000, 152064, 0x90bce66b
-0, 129600, 152064, 0x045b03f7
-0, 133200, 152064, 0xf64bd756
-0, 136800, 152064, 0xff997ef2
-0, 140400, 152064, 0x3613a0a5
-0, 144000, 152064, 0xe6a7a8d6
-0, 147600, 152064, 0xb0906c42
-0, 151200, 152064, 0x4dfc912b
-0, 154800, 152064, 0x81e3991c
-0, 158400, 152064, 0x4efc61fb
-0, 162000, 152064, 0xed478395
-0, 165600, 152064, 0x4cb25ab6
-0, 169200, 152064, 0x28e7d51f
-0, 172800, 152064, 0x8bcc1a8d
-0, 176400, 152064, 0x2fe1f240
-0, 180000, 152064, 0xb4978ef8
-0, 183600, 152064, 0xe3929556
-0, 187200, 152064, 0xd370632a
-0, 190800, 152064, 0xba86ffb2
-0, 194400, 152064, 0x444bf18c
-0, 198000, 152064, 0xab40bd14
-0, 201600, 152064, 0xfd488a5d
-0, 205200, 152064, 0xe1f09568
-0, 208800, 152064, 0x09ee7a7e
-0, 212400, 152064, 0x9360397c
-0, 216000, 152064, 0xdbd467e9
-0, 219600, 152064, 0x99726777
-0, 223200, 152064, 0x009fd46c
-0, 226800, 152064, 0xcf770fdb
-0, 230400, 152064, 0x2a890fd9
-0, 234000, 152064, 0x7f40de4b
-0, 237600, 152064, 0x04191304
-0, 241200, 152064, 0x15722022
-0, 244800, 152064, 0x59f4ea93
-0, 248400, 152064, 0x28ba373f
-0, 252000, 152064, 0xf9e400b8
-0, 255600, 152064, 0x85c4bd98
-0, 259200, 152064, 0x6917d2a5
-0, 262800, 152064, 0x61cae234
-0, 266400, 152064, 0x752a9a2d
-0, 270000, 152064, 0x1ee2d9bd
-0, 273600, 152064, 0xdce9ab8e
-0, 277200, 152064, 0x51225fd0
-0, 280800, 152064, 0x10e8cb60
-0, 284400, 152064, 0x8d07cd25
-0, 288000, 152064, 0xb18ba61b
-0, 291600, 152064, 0xb0f10280
-0, 295200, 152064, 0x76a71f13
-0, 298800, 152064, 0x3004f5a1
-0, 302400, 152064, 0x9aba5724
-0, 306000, 152064, 0x5db85385
-0, 309600, 152064, 0xbe9d3f5b
-0, 313200, 152064, 0xa71e85bb
-0, 316800, 152064, 0xdcf59cd7
-0, 320400, 152064, 0x5e319459
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb1edd842
+0, 1, 1, 1, 152064, 0x551f8f45
+0, 2, 2, 1, 152064, 0xb4931cb2
+0, 3, 3, 1, 152064, 0x78882b27
+0, 4, 4, 1, 152064, 0x3afef36d
+0, 5, 5, 1, 152064, 0x85afad0a
+0, 6, 6, 1, 152064, 0x3a8bab81
+0, 7, 7, 1, 152064, 0x2a437174
+0, 8, 8, 1, 152064, 0x22421437
+0, 9, 9, 1, 152064, 0x39c5f125
+0, 10, 10, 1, 152064, 0x256eaad2
+0, 11, 11, 1, 152064, 0x668a5d31
+0, 12, 12, 1, 152064, 0x412a4aa7
+0, 13, 13, 1, 152064, 0x3f091baf
+0, 14, 14, 1, 152064, 0xbf16d262
+0, 15, 15, 1, 152064, 0x2fc4ce67
+0, 16, 16, 1, 152064, 0x119cde3e
+0, 17, 17, 1, 152064, 0xb40b8632
+0, 18, 18, 1, 152064, 0x4be4f192
+0, 19, 19, 1, 152064, 0x906c1237
+0, 20, 20, 1, 152064, 0x95380024
+0, 21, 21, 1, 152064, 0x6a833025
+0, 22, 22, 1, 152064, 0x681d1c4f
+0, 23, 23, 1, 152064, 0x08c8dea4
+0, 24, 24, 1, 152064, 0xc69226f0
+0, 25, 25, 1, 152064, 0x86631102
+0, 26, 26, 1, 152064, 0x7f40c77a
+0, 27, 27, 1, 152064, 0xc746ddd4
+0, 28, 28, 1, 152064, 0x5f2bd3cb
+0, 29, 29, 1, 152064, 0x643c8316
+0, 30, 30, 1, 152064, 0x5b7fa380
+0, 31, 31, 1, 152064, 0x82438cf7
+0, 32, 32, 1, 152064, 0xdee0f7e7
+0, 33, 33, 1, 152064, 0xc50d41f1
+0, 34, 34, 1, 152064, 0xf3453631
+0, 35, 35, 1, 152064, 0x90bce66b
+0, 36, 36, 1, 152064, 0x045b03f7
+0, 37, 37, 1, 152064, 0xf64bd756
+0, 38, 38, 1, 152064, 0xff997ef2
+0, 39, 39, 1, 152064, 0x3613a0a5
+0, 40, 40, 1, 152064, 0xe6a7a8d6
+0, 41, 41, 1, 152064, 0xb0906c42
+0, 42, 42, 1, 152064, 0x4dfc912b
+0, 43, 43, 1, 152064, 0x81e3991c
+0, 44, 44, 1, 152064, 0x4efc61fb
+0, 45, 45, 1, 152064, 0xed478395
+0, 46, 46, 1, 152064, 0x4cb25ab6
+0, 47, 47, 1, 152064, 0x28e7d51f
+0, 48, 48, 1, 152064, 0x8bcc1a8d
+0, 49, 49, 1, 152064, 0x2fe1f240
+0, 50, 50, 1, 152064, 0xb4978ef8
+0, 51, 51, 1, 152064, 0xe3929556
+0, 52, 52, 1, 152064, 0xd370632a
+0, 53, 53, 1, 152064, 0xba86ffb2
+0, 54, 54, 1, 152064, 0x444bf18c
+0, 55, 55, 1, 152064, 0xab40bd14
+0, 56, 56, 1, 152064, 0xfd488a5d
+0, 57, 57, 1, 152064, 0xe1f09568
+0, 58, 58, 1, 152064, 0x09ee7a7e
+0, 59, 59, 1, 152064, 0x9360397c
+0, 60, 60, 1, 152064, 0xdbd467e9
+0, 61, 61, 1, 152064, 0x99726777
+0, 62, 62, 1, 152064, 0x009fd46c
+0, 63, 63, 1, 152064, 0xcf770fdb
+0, 64, 64, 1, 152064, 0x2a890fd9
+0, 65, 65, 1, 152064, 0x7f40de4b
+0, 66, 66, 1, 152064, 0x04191304
+0, 67, 67, 1, 152064, 0x15722022
+0, 68, 68, 1, 152064, 0x59f4ea93
+0, 69, 69, 1, 152064, 0x28ba373f
+0, 70, 70, 1, 152064, 0xf9e400b8
+0, 71, 71, 1, 152064, 0x85c4bd98
+0, 72, 72, 1, 152064, 0x6917d2a5
+0, 73, 73, 1, 152064, 0x61cae234
+0, 74, 74, 1, 152064, 0x752a9a2d
+0, 75, 75, 1, 152064, 0x1ee2d9bd
+0, 76, 76, 1, 152064, 0xdce9ab8e
+0, 77, 77, 1, 152064, 0x51225fd0
+0, 78, 78, 1, 152064, 0x10e8cb60
+0, 79, 79, 1, 152064, 0x8d07cd25
+0, 80, 80, 1, 152064, 0xb18ba61b
+0, 81, 81, 1, 152064, 0xb0f10280
+0, 82, 82, 1, 152064, 0x76a71f13
+0, 83, 83, 1, 152064, 0x3004f5a1
+0, 84, 84, 1, 152064, 0x9aba5724
+0, 85, 85, 1, 152064, 0x5db85385
+0, 86, 86, 1, 152064, 0xbe9d3f5b
+0, 87, 87, 1, 152064, 0xa71e85bb
+0, 88, 88, 1, 152064, 0xdcf59cd7
+0, 89, 89, 1, 152064, 0x5e319459
diff --git a/tests/ref/fate/h264-conformance-cvmanl2_toshiba_b b/tests/ref/fate/h264-conformance-cvmanl2_toshiba_b
index d8959a3348..066c57fd30 100644
--- a/tests/ref/fate/h264-conformance-cvmanl2_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cvmanl2_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xb1edd842
-0, 3600, 152064, 0x551f8f45
-0, 7200, 152064, 0xb4931cb2
-0, 10800, 152064, 0x5f352e98
-0, 14400, 152064, 0xeba5fe28
-0, 18000, 152064, 0x85afad0a
-0, 21600, 152064, 0x1120b6a4
-0, 25200, 152064, 0x67506e16
-0, 28800, 152064, 0x22421437
-0, 32400, 152064, 0x929becd6
-0, 36000, 152064, 0x6ffcb4b0
-0, 39600, 152064, 0x668a5d31
-0, 43200, 152064, 0x1b034ebb
-0, 46800, 152064, 0x7e2d213c
-0, 50400, 152064, 0xbf16d262
-0, 54000, 152064, 0xdeaecab3
-0, 57600, 152064, 0xd220d704
-0, 61200, 152064, 0xb40b8632
-0, 64800, 152064, 0xbdf0ef57
-0, 68400, 152064, 0x7e2e10df
-0, 72000, 152064, 0x95380024
-0, 75600, 152064, 0xdb80256d
-0, 79200, 152064, 0xa4561c61
-0, 82800, 152064, 0x08c8dea4
-0, 86400, 152064, 0x7bb917d6
-0, 90000, 152064, 0x796f0e2b
-0, 93600, 152064, 0x7f40c77a
-0, 97200, 152064, 0xda32de2e
-0, 100800, 152064, 0x00ffc15a
-0, 104400, 152064, 0x643c8316
-0, 108000, 152064, 0xb7588f7f
-0, 111600, 152064, 0xa4e07c02
-0, 115200, 152064, 0xdee0f7e7
-0, 118800, 152064, 0x2c3245ee
-0, 122400, 152064, 0x6565355b
-0, 126000, 152064, 0x90bce66b
-0, 129600, 152064, 0x0abffe08
-0, 133200, 152064, 0x119ccc3e
-0, 136800, 152064, 0xff997ef2
-0, 140400, 152064, 0xba4b9820
-0, 144000, 152064, 0xb6dfa596
-0, 147600, 152064, 0xb0906c42
-0, 151200, 152064, 0xf3c29133
-0, 154800, 152064, 0x08cd8e2b
-0, 158400, 152064, 0x4efc61fb
-0, 162000, 152064, 0x5b7c6e48
-0, 165600, 152064, 0xd28a47c2
-0, 169200, 152064, 0x28e7d51f
-0, 172800, 152064, 0x3a5619b1
-0, 176400, 152064, 0xa517e7f2
-0, 180000, 152064, 0xb4978ef8
-0, 183600, 152064, 0x25929175
-0, 187200, 152064, 0x20f05834
-0, 190800, 152064, 0xba86ffb2
-0, 194400, 152064, 0xa265f06f
-0, 198000, 152064, 0x97bbbfb7
-0, 201600, 152064, 0xfd488a5d
-0, 205200, 152064, 0x1b0989da
-0, 208800, 152064, 0xfd1878ce
-0, 212400, 152064, 0x9360397c
-0, 216000, 152064, 0x0d8151a7
-0, 219600, 152064, 0xe7a05bb8
-0, 223200, 152064, 0x009fd46c
-0, 226800, 152064, 0x8751123f
-0, 230400, 152064, 0x8252101a
-0, 234000, 152064, 0x7f40de4b
-0, 237600, 152064, 0x4ea317fe
-0, 241200, 152064, 0x519224d9
-0, 244800, 152064, 0x59f4ea93
-0, 248400, 152064, 0xc93c1dba
-0, 252000, 152064, 0xe3c9fb61
-0, 255600, 152064, 0x85c4bd98
-0, 259200, 152064, 0xcebacfd3
-0, 262800, 152064, 0x7327da99
-0, 266400, 152064, 0x752a9a2d
-0, 270000, 152064, 0x5ea6c8d2
-0, 273600, 152064, 0x66fd8c6f
-0, 277200, 152064, 0x51225fd0
-0, 280800, 152064, 0x58b9be96
-0, 284400, 152064, 0xa5abcdb7
-0, 288000, 152064, 0xb18ba61b
-0, 291600, 152064, 0xc7d20190
-0, 295200, 152064, 0xb6da14aa
-0, 298800, 152064, 0x3004f5a1
-0, 302400, 152064, 0x129354e2
-0, 306000, 152064, 0xffa148d5
-0, 309600, 152064, 0xbe9d3f5b
-0, 313200, 152064, 0x1c7f8976
-0, 316800, 152064, 0xa107a54d
-0, 320400, 152064, 0x5e319459
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb1edd842
+0, 1, 1, 1, 152064, 0x551f8f45
+0, 2, 2, 1, 152064, 0xb4931cb2
+0, 3, 3, 1, 152064, 0x5f352e98
+0, 4, 4, 1, 152064, 0xeba5fe28
+0, 5, 5, 1, 152064, 0x85afad0a
+0, 6, 6, 1, 152064, 0x1120b6a4
+0, 7, 7, 1, 152064, 0x67506e16
+0, 8, 8, 1, 152064, 0x22421437
+0, 9, 9, 1, 152064, 0x929becd6
+0, 10, 10, 1, 152064, 0x6ffcb4b0
+0, 11, 11, 1, 152064, 0x668a5d31
+0, 12, 12, 1, 152064, 0x1b034ebb
+0, 13, 13, 1, 152064, 0x7e2d213c
+0, 14, 14, 1, 152064, 0xbf16d262
+0, 15, 15, 1, 152064, 0xdeaecab3
+0, 16, 16, 1, 152064, 0xd220d704
+0, 17, 17, 1, 152064, 0xb40b8632
+0, 18, 18, 1, 152064, 0xbdf0ef57
+0, 19, 19, 1, 152064, 0x7e2e10df
+0, 20, 20, 1, 152064, 0x95380024
+0, 21, 21, 1, 152064, 0xdb80256d
+0, 22, 22, 1, 152064, 0xa4561c61
+0, 23, 23, 1, 152064, 0x08c8dea4
+0, 24, 24, 1, 152064, 0x7bb917d6
+0, 25, 25, 1, 152064, 0x796f0e2b
+0, 26, 26, 1, 152064, 0x7f40c77a
+0, 27, 27, 1, 152064, 0xda32de2e
+0, 28, 28, 1, 152064, 0x00ffc15a
+0, 29, 29, 1, 152064, 0x643c8316
+0, 30, 30, 1, 152064, 0xb7588f7f
+0, 31, 31, 1, 152064, 0xa4e07c02
+0, 32, 32, 1, 152064, 0xdee0f7e7
+0, 33, 33, 1, 152064, 0x2c3245ee
+0, 34, 34, 1, 152064, 0x6565355b
+0, 35, 35, 1, 152064, 0x90bce66b
+0, 36, 36, 1, 152064, 0x0abffe08
+0, 37, 37, 1, 152064, 0x119ccc3e
+0, 38, 38, 1, 152064, 0xff997ef2
+0, 39, 39, 1, 152064, 0xba4b9820
+0, 40, 40, 1, 152064, 0xb6dfa596
+0, 41, 41, 1, 152064, 0xb0906c42
+0, 42, 42, 1, 152064, 0xf3c29133
+0, 43, 43, 1, 152064, 0x08cd8e2b
+0, 44, 44, 1, 152064, 0x4efc61fb
+0, 45, 45, 1, 152064, 0x5b7c6e48
+0, 46, 46, 1, 152064, 0xd28a47c2
+0, 47, 47, 1, 152064, 0x28e7d51f
+0, 48, 48, 1, 152064, 0x3a5619b1
+0, 49, 49, 1, 152064, 0xa517e7f2
+0, 50, 50, 1, 152064, 0xb4978ef8
+0, 51, 51, 1, 152064, 0x25929175
+0, 52, 52, 1, 152064, 0x20f05834
+0, 53, 53, 1, 152064, 0xba86ffb2
+0, 54, 54, 1, 152064, 0xa265f06f
+0, 55, 55, 1, 152064, 0x97bbbfb7
+0, 56, 56, 1, 152064, 0xfd488a5d
+0, 57, 57, 1, 152064, 0x1b0989da
+0, 58, 58, 1, 152064, 0xfd1878ce
+0, 59, 59, 1, 152064, 0x9360397c
+0, 60, 60, 1, 152064, 0x0d8151a7
+0, 61, 61, 1, 152064, 0xe7a05bb8
+0, 62, 62, 1, 152064, 0x009fd46c
+0, 63, 63, 1, 152064, 0x8751123f
+0, 64, 64, 1, 152064, 0x8252101a
+0, 65, 65, 1, 152064, 0x7f40de4b
+0, 66, 66, 1, 152064, 0x4ea317fe
+0, 67, 67, 1, 152064, 0x519224d9
+0, 68, 68, 1, 152064, 0x59f4ea93
+0, 69, 69, 1, 152064, 0xc93c1dba
+0, 70, 70, 1, 152064, 0xe3c9fb61
+0, 71, 71, 1, 152064, 0x85c4bd98
+0, 72, 72, 1, 152064, 0xcebacfd3
+0, 73, 73, 1, 152064, 0x7327da99
+0, 74, 74, 1, 152064, 0x752a9a2d
+0, 75, 75, 1, 152064, 0x5ea6c8d2
+0, 76, 76, 1, 152064, 0x66fd8c6f
+0, 77, 77, 1, 152064, 0x51225fd0
+0, 78, 78, 1, 152064, 0x58b9be96
+0, 79, 79, 1, 152064, 0xa5abcdb7
+0, 80, 80, 1, 152064, 0xb18ba61b
+0, 81, 81, 1, 152064, 0xc7d20190
+0, 82, 82, 1, 152064, 0xb6da14aa
+0, 83, 83, 1, 152064, 0x3004f5a1
+0, 84, 84, 1, 152064, 0x129354e2
+0, 85, 85, 1, 152064, 0xffa148d5
+0, 86, 86, 1, 152064, 0xbe9d3f5b
+0, 87, 87, 1, 152064, 0x1c7f8976
+0, 88, 88, 1, 152064, 0xa107a54d
+0, 89, 89, 1, 152064, 0x5e319459
diff --git a/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e b/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
index ba89dfc1f6..094fc9848f 100644
--- a/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
+++ b/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
@@ -1,8 +1,9 @@
-0, 0, 518400, 0x80dffda2
-0, 3600, 518400, 0x9450183b
-0, 7200, 518400, 0x85d429a7
-0, 10800, 518400, 0xe1f3b686
-0, 14400, 518400, 0x2180c761
-0, 18000, 518400, 0x30269c7c
-0, 21600, 518400, 0xe9aa575a
-0, 25200, 518400, 0x7b815a0a
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x80dffda2
+0, 1, 1, 1, 518400, 0x9450183b
+0, 2, 2, 1, 518400, 0x85d429a7
+0, 3, 3, 1, 518400, 0xe1f3b686
+0, 4, 4, 1, 518400, 0x2180c761
+0, 5, 5, 1, 518400, 0x30269c7c
+0, 6, 6, 1, 518400, 0xe9aa575a
+0, 7, 7, 1, 518400, 0x7b815a0a
diff --git a/tests/ref/fate/h264-conformance-cvmaqp2_sony_g b/tests/ref/fate/h264-conformance-cvmaqp2_sony_g
index 292aeed0e9..886ea4cd3f 100644
--- a/tests/ref/fate/h264-conformance-cvmaqp2_sony_g
+++ b/tests/ref/fate/h264-conformance-cvmaqp2_sony_g
@@ -1,17 +1,18 @@
-0, 0, 36864, 0xdee3d4e3
-0, 3600, 36864, 0xaa1a67ca
-0, 7200, 36864, 0xe00e0dec
-0, 10800, 36864, 0x31f0b63f
-0, 14400, 36864, 0xd0cc34d9
-0, 18000, 36864, 0x3e76eba5
-0, 21600, 36864, 0x0e7dcc9c
-0, 25200, 36864, 0xd71bc457
-0, 28800, 36864, 0x11c81ebe
-0, 32400, 36864, 0x1d4ca6d7
-0, 36000, 36864, 0xb191d155
-0, 39600, 36864, 0x435a188c
-0, 43200, 36864, 0x99d7227c
-0, 46800, 36864, 0x700637fc
-0, 50400, 36864, 0x351f7dd3
-0, 54000, 36864, 0x1658c18b
-0, 57600, 36864, 0x60034b90
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0xdee3d4e3
+0, 1, 1, 1, 36864, 0xaa1a67ca
+0, 2, 2, 1, 36864, 0xe00e0dec
+0, 3, 3, 1, 36864, 0x31f0b63f
+0, 4, 4, 1, 36864, 0xd0cc34d9
+0, 5, 5, 1, 36864, 0x3e76eba5
+0, 6, 6, 1, 36864, 0x0e7dcc9c
+0, 7, 7, 1, 36864, 0xd71bc457
+0, 8, 8, 1, 36864, 0x11c81ebe
+0, 9, 9, 1, 36864, 0x1d4ca6d7
+0, 10, 10, 1, 36864, 0xb191d155
+0, 11, 11, 1, 36864, 0x435a188c
+0, 12, 12, 1, 36864, 0x99d7227c
+0, 13, 13, 1, 36864, 0x700637fc
+0, 14, 14, 1, 36864, 0x351f7dd3
+0, 15, 15, 1, 36864, 0x1658c18b
+0, 16, 16, 1, 36864, 0x60034b90
diff --git a/tests/ref/fate/h264-conformance-cvmaqp3_sony_d b/tests/ref/fate/h264-conformance-cvmaqp3_sony_d
index c029f456a6..7c3d96dc94 100644
--- a/tests/ref/fate/h264-conformance-cvmaqp3_sony_d
+++ b/tests/ref/fate/h264-conformance-cvmaqp3_sony_d
@@ -1,17 +1,18 @@
-0, 0, 36864, 0xdee3d4e3
-0, 3600, 36864, 0xabec8d44
-0, 7200, 36864, 0x95d029fe
-0, 10800, 36864, 0x4daeb4b9
-0, 14400, 36864, 0x320a6301
-0, 18000, 36864, 0x6b881d0c
-0, 21600, 36864, 0xfe6eda15
-0, 25200, 36864, 0xda72d0b2
-0, 28800, 36864, 0x3232651b
-0, 32400, 36864, 0x9f20cbf1
-0, 36000, 36864, 0x5dfbd085
-0, 39600, 36864, 0x2bb62dd1
-0, 43200, 36864, 0xf8ed11cf
-0, 46800, 36864, 0x1ed62476
-0, 50400, 36864, 0x65b18976
-0, 54000, 36864, 0x1658c18b
-0, 57600, 36864, 0x76073a08
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0xdee3d4e3
+0, 1, 1, 1, 36864, 0xabec8d44
+0, 2, 2, 1, 36864, 0x95d029fe
+0, 3, 3, 1, 36864, 0x4daeb4b9
+0, 4, 4, 1, 36864, 0x320a6301
+0, 5, 5, 1, 36864, 0x6b881d0c
+0, 6, 6, 1, 36864, 0xfe6eda15
+0, 7, 7, 1, 36864, 0xda72d0b2
+0, 8, 8, 1, 36864, 0x3232651b
+0, 9, 9, 1, 36864, 0x9f20cbf1
+0, 10, 10, 1, 36864, 0x5dfbd085
+0, 11, 11, 1, 36864, 0x2bb62dd1
+0, 12, 12, 1, 36864, 0xf8ed11cf
+0, 13, 13, 1, 36864, 0x1ed62476
+0, 14, 14, 1, 36864, 0x65b18976
+0, 15, 15, 1, 36864, 0x1658c18b
+0, 16, 16, 1, 36864, 0x76073a08
diff --git a/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b b/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
index ba7caaf184..57fa2f7690 100644
--- a/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
+++ b/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0xe9c7643e
-0, 3600, 518400, 0xba7456ec
-0, 7200, 518400, 0xdeb96749
-0, 10800, 518400, 0xa101a986
-0, 14400, 518400, 0x3db7baa5
-0, 18000, 518400, 0xf3dfcec7
-0, 21600, 518400, 0x79b4f537
-0, 25200, 518400, 0x9e64fe68
-0, 28800, 518400, 0x0e810b53
-0, 32400, 518400, 0x20baf3b8
-0, 36000, 518400, 0x0a49d341
-0, 39600, 518400, 0xa8304ab5
-0, 43200, 518400, 0x2600e98f
-0, 46800, 518400, 0x9253e3e8
-0, 50400, 518400, 0xd6e12783
-0, 54000, 518400, 0x6894fc79
-0, 57600, 518400, 0xfb60d3e3
-0, 61200, 518400, 0x523602be
-0, 64800, 518400, 0x4979f409
-0, 68400, 518400, 0x50d4e2ab
-0, 72000, 518400, 0xa8c2140a
-0, 75600, 518400, 0x45c0bc15
-0, 79200, 518400, 0xaef78cab
-0, 82800, 518400, 0xec539d02
-0, 86400, 518400, 0x602585ea
-0, 90000, 518400, 0xda263463
-0, 93600, 518400, 0xa03d8922
-0, 97200, 518400, 0x43ea1c1d
-0, 100800, 518400, 0xb1e055a6
-0, 104400, 518400, 0x6fff9398
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xe9c7643e
+0, 1, 1, 1, 518400, 0xba7456ec
+0, 2, 2, 1, 518400, 0xdeb96749
+0, 3, 3, 1, 518400, 0xa101a986
+0, 4, 4, 1, 518400, 0x3db7baa5
+0, 5, 5, 1, 518400, 0xf3dfcec7
+0, 6, 6, 1, 518400, 0x79b4f537
+0, 7, 7, 1, 518400, 0x9e64fe68
+0, 8, 8, 1, 518400, 0x0e810b53
+0, 9, 9, 1, 518400, 0x20baf3b8
+0, 10, 10, 1, 518400, 0x0a49d341
+0, 11, 11, 1, 518400, 0xa8304ab5
+0, 12, 12, 1, 518400, 0x2600e98f
+0, 13, 13, 1, 518400, 0x9253e3e8
+0, 14, 14, 1, 518400, 0xd6e12783
+0, 15, 15, 1, 518400, 0x6894fc79
+0, 16, 16, 1, 518400, 0xfb60d3e3
+0, 17, 17, 1, 518400, 0x523602be
+0, 18, 18, 1, 518400, 0x4979f409
+0, 19, 19, 1, 518400, 0x50d4e2ab
+0, 20, 20, 1, 518400, 0xa8c2140a
+0, 21, 21, 1, 518400, 0x45c0bc15
+0, 22, 22, 1, 518400, 0xaef78cab
+0, 23, 23, 1, 518400, 0xec539d02
+0, 24, 24, 1, 518400, 0x602585ea
+0, 25, 25, 1, 518400, 0xda263463
+0, 26, 26, 1, 518400, 0xa03d8922
+0, 27, 27, 1, 518400, 0x43ea1c1d
+0, 28, 28, 1, 518400, 0xb1e055a6
+0, 29, 29, 1, 518400, 0x6fff9398
diff --git a/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b b/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
index 05827ef517..bc7e81e36d 100644
--- a/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
+++ b/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
@@ -1,30 +1,31 @@
-0, 0, 518400, 0x7b2475e3
-0, 3600, 518400, 0xda786a87
-0, 7200, 518400, 0xb1dd8108
-0, 10800, 518400, 0x760ed65d
-0, 14400, 518400, 0x8632d20c
-0, 18000, 518400, 0xdd81e625
-0, 21600, 518400, 0x853f1c41
-0, 25200, 518400, 0x20191585
-0, 28800, 518400, 0x0367e357
-0, 32400, 518400, 0x60521167
-0, 36000, 518400, 0xa887d4cc
-0, 39600, 518400, 0x9a450f9e
-0, 43200, 518400, 0xe9620841
-0, 46800, 518400, 0xb482fb0e
-0, 50400, 518400, 0x7b79f670
-0, 54000, 518400, 0x9d37f1d1
-0, 57600, 518400, 0xe358d323
-0, 61200, 518400, 0x62ade59c
-0, 64800, 518400, 0xdd78da66
-0, 68400, 518400, 0xd97b867b
-0, 72000, 518400, 0x8a90cf8c
-0, 75600, 518400, 0x9d386610
-0, 79200, 518400, 0x2c590f46
-0, 82800, 518400, 0x92662861
-0, 86400, 518400, 0x6979f563
-0, 90000, 518400, 0xdd0fa1b2
-0, 93600, 518400, 0xccbf1c1c
-0, 97200, 518400, 0x7e358112
-0, 100800, 518400, 0xb7c0d89d
-0, 104400, 518400, 0xc6b03973
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x7b2475e3
+0, 1, 1, 1, 518400, 0xda786a87
+0, 2, 2, 1, 518400, 0xb1dd8108
+0, 3, 3, 1, 518400, 0x760ed65d
+0, 4, 4, 1, 518400, 0x8632d20c
+0, 5, 5, 1, 518400, 0xdd81e625
+0, 6, 6, 1, 518400, 0x853f1c41
+0, 7, 7, 1, 518400, 0x20191585
+0, 8, 8, 1, 518400, 0x0367e357
+0, 9, 9, 1, 518400, 0x60521167
+0, 10, 10, 1, 518400, 0xa887d4cc
+0, 11, 11, 1, 518400, 0x9a450f9e
+0, 12, 12, 1, 518400, 0xe9620841
+0, 13, 13, 1, 518400, 0xb482fb0e
+0, 14, 14, 1, 518400, 0x7b79f670
+0, 15, 15, 1, 518400, 0x9d37f1d1
+0, 16, 16, 1, 518400, 0xe358d323
+0, 17, 17, 1, 518400, 0x62ade59c
+0, 18, 18, 1, 518400, 0xdd78da66
+0, 19, 19, 1, 518400, 0xd97b867b
+0, 20, 20, 1, 518400, 0x8a90cf8c
+0, 21, 21, 1, 518400, 0x9d386610
+0, 22, 22, 1, 518400, 0x2c590f46
+0, 23, 23, 1, 518400, 0x92662861
+0, 24, 24, 1, 518400, 0x6979f563
+0, 25, 25, 1, 518400, 0xdd0fa1b2
+0, 26, 26, 1, 518400, 0xccbf1c1c
+0, 27, 27, 1, 518400, 0x7e358112
+0, 28, 28, 1, 518400, 0xb7c0d89d
+0, 29, 29, 1, 518400, 0xc6b03973
diff --git a/tests/ref/fate/h264-conformance-cvnlfi1_sony_c b/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
index 26fa93a846..aa3c220fca 100644
--- a/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
+++ b/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
@@ -1,17 +1,18 @@
-0, 0, 518400, 0x0fbb4e71
-0, 3600, 518400, 0x4b816734
-0, 7200, 518400, 0x0c350f19
-0, 10800, 518400, 0xda049cb6
-0, 14400, 518400, 0x1f3e7bb9
-0, 18000, 518400, 0x995cbe66
-0, 21600, 518400, 0x07f7e65c
-0, 25200, 518400, 0xfcb7487f
-0, 28800, 518400, 0xb080f48a
-0, 32400, 518400, 0x3ef5b7e4
-0, 36000, 518400, 0xa1518e1c
-0, 39600, 518400, 0xb36f1cc9
-0, 43200, 518400, 0x86ea48af
-0, 46800, 518400, 0xe42373b7
-0, 50400, 518400, 0xa8435828
-0, 54000, 518400, 0xc942ea0e
-0, 57600, 518400, 0xcc597514
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x0fbb4e71
+0, 1, 1, 1, 518400, 0x4b816734
+0, 2, 2, 1, 518400, 0x0c350f19
+0, 3, 3, 1, 518400, 0xda049cb6
+0, 4, 4, 1, 518400, 0x1f3e7bb9
+0, 5, 5, 1, 518400, 0x995cbe66
+0, 6, 6, 1, 518400, 0x07f7e65c
+0, 7, 7, 1, 518400, 0xfcb7487f
+0, 8, 8, 1, 518400, 0xb080f48a
+0, 9, 9, 1, 518400, 0x3ef5b7e4
+0, 10, 10, 1, 518400, 0xa1518e1c
+0, 11, 11, 1, 518400, 0xb36f1cc9
+0, 12, 12, 1, 518400, 0x86ea48af
+0, 13, 13, 1, 518400, 0xe42373b7
+0, 14, 14, 1, 518400, 0xa8435828
+0, 15, 15, 1, 518400, 0xc942ea0e
+0, 16, 16, 1, 518400, 0xcc597514
diff --git a/tests/ref/fate/h264-conformance-cvnlfi2_sony_h b/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
index 045929b06a..fe2e4d14db 100644
--- a/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
+++ b/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
@@ -1,17 +1,18 @@
-0, 0, 518400, 0x0fbb4e71
-0, 3600, 518400, 0xc46bec04
-0, 7200, 518400, 0xc50ffc1d
-0, 10800, 518400, 0x684b07b7
-0, 14400, 518400, 0xde799af0
-0, 18000, 518400, 0xed497b27
-0, 21600, 518400, 0x3e9d1e3a
-0, 25200, 518400, 0x154d3c5c
-0, 28800, 518400, 0x5257e37c
-0, 32400, 518400, 0x6e15139a
-0, 36000, 518400, 0x5dc39c59
-0, 39600, 518400, 0xe1803100
-0, 43200, 518400, 0xb4d4d535
-0, 46800, 518400, 0x7a97a25d
-0, 50400, 518400, 0xf86b8923
-0, 54000, 518400, 0x3355be98
-0, 57600, 518400, 0x8f555830
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x0fbb4e71
+0, 1, 1, 1, 518400, 0xc46bec04
+0, 2, 2, 1, 518400, 0xc50ffc1d
+0, 3, 3, 1, 518400, 0x684b07b7
+0, 4, 4, 1, 518400, 0xde799af0
+0, 5, 5, 1, 518400, 0xed497b27
+0, 6, 6, 1, 518400, 0x3e9d1e3a
+0, 7, 7, 1, 518400, 0x154d3c5c
+0, 8, 8, 1, 518400, 0x5257e37c
+0, 9, 9, 1, 518400, 0x6e15139a
+0, 10, 10, 1, 518400, 0x5dc39c59
+0, 11, 11, 1, 518400, 0xe1803100
+0, 12, 12, 1, 518400, 0xb4d4d535
+0, 13, 13, 1, 518400, 0x7a97a25d
+0, 14, 14, 1, 518400, 0xf86b8923
+0, 15, 15, 1, 518400, 0x3355be98
+0, 16, 16, 1, 518400, 0x8f555830
diff --git a/tests/ref/fate/h264-conformance-cvpa1_toshiba_b b/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
index 6f94315cef..fd0911bb5f 100644
--- a/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
@@ -1,90 +1,91 @@
-0, 0, 152064, 0x128cd77a
-0, 3600, 152064, 0x565b9fc1
-0, 7200, 152064, 0xbe322679
-0, 10800, 152064, 0x0ea4238f
-0, 14400, 152064, 0x1e08fb3c
-0, 18000, 152064, 0x6da3a93c
-0, 21600, 152064, 0x75e5b181
-0, 25200, 152064, 0xa0b39334
-0, 28800, 152064, 0xa0d10d6d
-0, 32400, 152064, 0x33842bcb
-0, 36000, 152064, 0x9a74e1e4
-0, 39600, 152064, 0xc2037244
-0, 43200, 152064, 0x364b8ae4
-0, 46800, 152064, 0x18c04971
-0, 50400, 152064, 0x7234ecb5
-0, 54000, 152064, 0x3719f8bc
-0, 57600, 152064, 0x1285ead1
-0, 61200, 152064, 0xd3bfab18
-0, 64800, 152064, 0x898111e2
-0, 68400, 152064, 0x681c15fc
-0, 72000, 152064, 0x8e501572
-0, 75600, 152064, 0xd7c838be
-0, 79200, 152064, 0xede424b2
-0, 82800, 152064, 0xcfc20240
-0, 86400, 152064, 0x13992e86
-0, 90000, 152064, 0x56fb251a
-0, 93600, 152064, 0xee9be320
-0, 97200, 152064, 0xea650153
-0, 100800, 152064, 0x2cb6dabe
-0, 104400, 152064, 0xf44fa4b5
-0, 108000, 152064, 0xdac2adff
-0, 111600, 152064, 0x9e15a1dc
-0, 115200, 152064, 0x28d00970
-0, 118800, 152064, 0xe4277347
-0, 122400, 152064, 0xebd25ad1
-0, 126000, 152064, 0x029402da
-0, 129600, 152064, 0x1a2311ef
-0, 133200, 152064, 0xb86bf96a
-0, 136800, 152064, 0x67d7a5b0
-0, 140400, 152064, 0x573abc2d
-0, 144000, 152064, 0xbe97dec0
-0, 147600, 152064, 0x592b91a4
-0, 151200, 152064, 0x9adda65e
-0, 154800, 152064, 0x0354b2cb
-0, 158400, 152064, 0x91e27ff9
-0, 162000, 152064, 0x389f8625
-0, 165600, 152064, 0x90175850
-0, 169200, 152064, 0x2d36c427
-0, 172800, 152064, 0xc0dd14ab
-0, 176400, 152064, 0xd49bf131
-0, 180000, 152064, 0x0d4a9b92
-0, 183600, 152064, 0xae9bb2f1
-0, 187200, 152064, 0x36847ade
-0, 190800, 152064, 0x74810382
-0, 194400, 152064, 0xc56d1d9f
-0, 198000, 152064, 0xcfefe3ae
-0, 201600, 152064, 0xeaa39353
-0, 205200, 152064, 0x14289aef
-0, 208800, 152064, 0x74ba8f3b
-0, 212400, 152064, 0xdcaa518d
-0, 216000, 152064, 0x6e4881c2
-0, 219600, 152064, 0xa4db767d
-0, 223200, 152064, 0x239b0b19
-0, 226800, 152064, 0x5d054236
-0, 230400, 152064, 0x6f392d7c
-0, 234000, 152064, 0x5c2af146
-0, 237600, 152064, 0x26b439af
-0, 241200, 152064, 0xba7043ab
-0, 244800, 152064, 0x0816000c
-0, 248400, 152064, 0x3a713c05
-0, 252000, 152064, 0xb3111f6d
-0, 255600, 152064, 0xdbf8dae2
-0, 259200, 152064, 0x09ddf22e
-0, 262800, 152064, 0x8871fa7e
-0, 266400, 152064, 0x9f5db7a1
-0, 270000, 152064, 0xcc38f225
-0, 273600, 152064, 0xa1d18df9
-0, 277200, 152064, 0x9b1c5d6a
-0, 280800, 152064, 0x9f2bc696
-0, 284400, 152064, 0xc39bd11a
-0, 288000, 152064, 0x4ceca7d0
-0, 291600, 152064, 0x63a60f1d
-0, 295200, 152064, 0x4cd31f28
-0, 298800, 152064, 0x9c9af5d1
-0, 302400, 152064, 0x6def65fc
-0, 306000, 152064, 0x1011466d
-0, 309600, 152064, 0xfeca406d
-0, 313200, 152064, 0xd1ca8a1e
-0, 316800, 152064, 0x30caa195
-0, 320400, 152064, 0x31a09a48
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x128cd77a
+0, 1, 1, 1, 152064, 0x565b9fc1
+0, 2, 2, 1, 152064, 0xbe322679
+0, 3, 3, 1, 152064, 0x0ea4238f
+0, 4, 4, 1, 152064, 0x1e08fb3c
+0, 5, 5, 1, 152064, 0x6da3a93c
+0, 6, 6, 1, 152064, 0x75e5b181
+0, 7, 7, 1, 152064, 0xa0b39334
+0, 8, 8, 1, 152064, 0xa0d10d6d
+0, 9, 9, 1, 152064, 0x33842bcb
+0, 10, 10, 1, 152064, 0x9a74e1e4
+0, 11, 11, 1, 152064, 0xc2037244
+0, 12, 12, 1, 152064, 0x364b8ae4
+0, 13, 13, 1, 152064, 0x18c04971
+0, 14, 14, 1, 152064, 0x7234ecb5
+0, 15, 15, 1, 152064, 0x3719f8bc
+0, 16, 16, 1, 152064, 0x1285ead1
+0, 17, 17, 1, 152064, 0xd3bfab18
+0, 18, 18, 1, 152064, 0x898111e2
+0, 19, 19, 1, 152064, 0x681c15fc
+0, 20, 20, 1, 152064, 0x8e501572
+0, 21, 21, 1, 152064, 0xd7c838be
+0, 22, 22, 1, 152064, 0xede424b2
+0, 23, 23, 1, 152064, 0xcfc20240
+0, 24, 24, 1, 152064, 0x13992e86
+0, 25, 25, 1, 152064, 0x56fb251a
+0, 26, 26, 1, 152064, 0xee9be320
+0, 27, 27, 1, 152064, 0xea650153
+0, 28, 28, 1, 152064, 0x2cb6dabe
+0, 29, 29, 1, 152064, 0xf44fa4b5
+0, 30, 30, 1, 152064, 0xdac2adff
+0, 31, 31, 1, 152064, 0x9e15a1dc
+0, 32, 32, 1, 152064, 0x28d00970
+0, 33, 33, 1, 152064, 0xe4277347
+0, 34, 34, 1, 152064, 0xebd25ad1
+0, 35, 35, 1, 152064, 0x029402da
+0, 36, 36, 1, 152064, 0x1a2311ef
+0, 37, 37, 1, 152064, 0xb86bf96a
+0, 38, 38, 1, 152064, 0x67d7a5b0
+0, 39, 39, 1, 152064, 0x573abc2d
+0, 40, 40, 1, 152064, 0xbe97dec0
+0, 41, 41, 1, 152064, 0x592b91a4
+0, 42, 42, 1, 152064, 0x9adda65e
+0, 43, 43, 1, 152064, 0x0354b2cb
+0, 44, 44, 1, 152064, 0x91e27ff9
+0, 45, 45, 1, 152064, 0x389f8625
+0, 46, 46, 1, 152064, 0x90175850
+0, 47, 47, 1, 152064, 0x2d36c427
+0, 48, 48, 1, 152064, 0xc0dd14ab
+0, 49, 49, 1, 152064, 0xd49bf131
+0, 50, 50, 1, 152064, 0x0d4a9b92
+0, 51, 51, 1, 152064, 0xae9bb2f1
+0, 52, 52, 1, 152064, 0x36847ade
+0, 53, 53, 1, 152064, 0x74810382
+0, 54, 54, 1, 152064, 0xc56d1d9f
+0, 55, 55, 1, 152064, 0xcfefe3ae
+0, 56, 56, 1, 152064, 0xeaa39353
+0, 57, 57, 1, 152064, 0x14289aef
+0, 58, 58, 1, 152064, 0x74ba8f3b
+0, 59, 59, 1, 152064, 0xdcaa518d
+0, 60, 60, 1, 152064, 0x6e4881c2
+0, 61, 61, 1, 152064, 0xa4db767d
+0, 62, 62, 1, 152064, 0x239b0b19
+0, 63, 63, 1, 152064, 0x5d054236
+0, 64, 64, 1, 152064, 0x6f392d7c
+0, 65, 65, 1, 152064, 0x5c2af146
+0, 66, 66, 1, 152064, 0x26b439af
+0, 67, 67, 1, 152064, 0xba7043ab
+0, 68, 68, 1, 152064, 0x0816000c
+0, 69, 69, 1, 152064, 0x3a713c05
+0, 70, 70, 1, 152064, 0xb3111f6d
+0, 71, 71, 1, 152064, 0xdbf8dae2
+0, 72, 72, 1, 152064, 0x09ddf22e
+0, 73, 73, 1, 152064, 0x8871fa7e
+0, 74, 74, 1, 152064, 0x9f5db7a1
+0, 75, 75, 1, 152064, 0xcc38f225
+0, 76, 76, 1, 152064, 0xa1d18df9
+0, 77, 77, 1, 152064, 0x9b1c5d6a
+0, 78, 78, 1, 152064, 0x9f2bc696
+0, 79, 79, 1, 152064, 0xc39bd11a
+0, 80, 80, 1, 152064, 0x4ceca7d0
+0, 81, 81, 1, 152064, 0x63a60f1d
+0, 82, 82, 1, 152064, 0x4cd31f28
+0, 83, 83, 1, 152064, 0x9c9af5d1
+0, 84, 84, 1, 152064, 0x6def65fc
+0, 85, 85, 1, 152064, 0x1011466d
+0, 86, 86, 1, 152064, 0xfeca406d
+0, 87, 87, 1, 152064, 0xd1ca8a1e
+0, 88, 88, 1, 152064, 0x30caa195
+0, 89, 89, 1, 152064, 0x31a09a48
diff --git a/tests/ref/fate/h264-conformance-cvpcmnl1_sva_c b/tests/ref/fate/h264-conformance-cvpcmnl1_sva_c
index feb301097c..95c99038ae 100644
--- a/tests/ref/fate/h264-conformance-cvpcmnl1_sva_c
+++ b/tests/ref/fate/h264-conformance-cvpcmnl1_sva_c
@@ -1,30 +1,31 @@
-0, 0, 152064, 0x19b8407d
-0, 3600, 152064, 0xab8bede6
-0, 7200, 152064, 0xf59acd09
-0, 10800, 152064, 0xc905853b
-0, 14400, 152064, 0x1c3d32f8
-0, 18000, 152064, 0x26a91508
-0, 21600, 152064, 0x9443e44a
-0, 25200, 152064, 0x0d158c55
-0, 28800, 152064, 0x4b207062
-0, 32400, 152064, 0x31d8543f
-0, 36000, 152064, 0x43520337
-0, 39600, 152064, 0x4676dd14
-0, 43200, 152064, 0x8b4291d4
-0, 46800, 152064, 0xb35e4950
-0, 50400, 152064, 0xd7164390
-0, 54000, 152064, 0x7cce0af7
-0, 57600, 152064, 0x4f67ca7d
-0, 61200, 152064, 0xd517af08
-0, 64800, 152064, 0x519b8322
-0, 68400, 152064, 0xa87d2987
-0, 72000, 152064, 0xfe8cfd89
-0, 75600, 152064, 0x3b40b919
-0, 79200, 152064, 0x83398526
-0, 82800, 152064, 0x309b6168
-0, 86400, 152064, 0xa8351c37
-0, 90000, 152064, 0x7977f8fd
-0, 93600, 152064, 0x5b24e5a7
-0, 97200, 152064, 0x0ad0a48e
-0, 100800, 152064, 0xd93a7d3e
-0, 104400, 152064, 0xae0f6631
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x19b8407d
+0, 1, 1, 1, 152064, 0xab8bede6
+0, 2, 2, 1, 152064, 0xf59acd09
+0, 3, 3, 1, 152064, 0xc905853b
+0, 4, 4, 1, 152064, 0x1c3d32f8
+0, 5, 5, 1, 152064, 0x26a91508
+0, 6, 6, 1, 152064, 0x9443e44a
+0, 7, 7, 1, 152064, 0x0d158c55
+0, 8, 8, 1, 152064, 0x4b207062
+0, 9, 9, 1, 152064, 0x31d8543f
+0, 10, 10, 1, 152064, 0x43520337
+0, 11, 11, 1, 152064, 0x4676dd14
+0, 12, 12, 1, 152064, 0x8b4291d4
+0, 13, 13, 1, 152064, 0xb35e4950
+0, 14, 14, 1, 152064, 0xd7164390
+0, 15, 15, 1, 152064, 0x7cce0af7
+0, 16, 16, 1, 152064, 0x4f67ca7d
+0, 17, 17, 1, 152064, 0xd517af08
+0, 18, 18, 1, 152064, 0x519b8322
+0, 19, 19, 1, 152064, 0xa87d2987
+0, 20, 20, 1, 152064, 0xfe8cfd89
+0, 21, 21, 1, 152064, 0x3b40b919
+0, 22, 22, 1, 152064, 0x83398526
+0, 23, 23, 1, 152064, 0x309b6168
+0, 24, 24, 1, 152064, 0xa8351c37
+0, 25, 25, 1, 152064, 0x7977f8fd
+0, 26, 26, 1, 152064, 0x5b24e5a7
+0, 27, 27, 1, 152064, 0x0ad0a48e
+0, 28, 28, 1, 152064, 0xd93a7d3e
+0, 29, 29, 1, 152064, 0xae0f6631
diff --git a/tests/ref/fate/h264-conformance-cvpcmnl2_sva_c b/tests/ref/fate/h264-conformance-cvpcmnl2_sva_c
index 16a4650323..4f92eab5a3 100644
--- a/tests/ref/fate/h264-conformance-cvpcmnl2_sva_c
+++ b/tests/ref/fate/h264-conformance-cvpcmnl2_sva_c
@@ -1,2 +1,3 @@
-0, 0, 1382400, 0xccbe6bf8
-0, 3600, 1382400, 0x49c0cfd7
+#tb 0: 1/25
+0, 0, 0, 1, 1382400, 0xccbe6bf8
+0, 1, 1, 1, 1382400, 0x49c0cfd7
diff --git a/tests/ref/fate/h264-conformance-cvwp1_toshiba_e b/tests/ref/fate/h264-conformance-cvwp1_toshiba_e
index 6c9b227822..b184c847c7 100644
--- a/tests/ref/fate/h264-conformance-cvwp1_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cvwp1_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xabf9ae05
-0, 3600, 152064, 0x20418b16
-0, 7200, 152064, 0xe941572f
-0, 10800, 152064, 0xcf63e20e
-0, 14400, 152064, 0x57dedcde
-0, 18000, 152064, 0x4de7bf34
-0, 21600, 152064, 0xc8014983
-0, 25200, 152064, 0x5ab946fc
-0, 28800, 152064, 0x2ca02582
-0, 32400, 152064, 0x9c95435d
-0, 36000, 152064, 0x8371b963
-0, 39600, 152064, 0xa0f1af67
-0, 43200, 152064, 0xf1155345
-0, 46800, 152064, 0x66a71c79
-0, 50400, 152064, 0x509db08a
-0, 54000, 152064, 0x3d457728
-0, 57600, 152064, 0x66035e2b
-0, 61200, 152064, 0xa4113115
-0, 64800, 152064, 0x3d35d3c0
-0, 68400, 152064, 0x5117d324
-0, 72000, 152064, 0x7b0c7660
-0, 75600, 152064, 0x0eacf9ba
-0, 79200, 152064, 0x358d0486
-0, 82800, 152064, 0xc2dbeadc
-0, 86400, 152064, 0x61b2c275
-0, 90000, 152064, 0xbb3697d2
-0, 93600, 152064, 0x44e58e8a
-0, 97200, 152064, 0x21f6464f
-0, 100800, 152064, 0xdb3416f2
-0, 104400, 152064, 0x8201d928
-0, 108000, 152064, 0x4fdfb595
-0, 111600, 152064, 0x28cff0a5
-0, 115200, 152064, 0x5d77cab2
-0, 118800, 152064, 0x2218b509
-0, 122400, 152064, 0xaf40790a
-0, 126000, 152064, 0xaed42b3b
-0, 129600, 152064, 0x866d2462
-0, 133200, 152064, 0x23a7111a
-0, 136800, 152064, 0xceefc9d0
-0, 140400, 152064, 0x88dba819
-0, 144000, 152064, 0x19b350f3
-0, 147600, 152064, 0x85a857e5
-0, 151200, 152064, 0x02ca7c6f
-0, 154800, 152064, 0xe2de12d0
-0, 158400, 152064, 0x84a36173
-0, 162000, 152064, 0xa8d1b139
-0, 165600, 152064, 0x6b72ab43
-0, 169200, 152064, 0x5fba909e
-0, 172800, 152064, 0x43ab27f2
-0, 176400, 152064, 0x414cdd60
-0, 180000, 152064, 0x080fde7b
-0, 183600, 152064, 0xb1b7e4db
-0, 187200, 152064, 0xf17db2da
-0, 190800, 152064, 0x248b88e9
-0, 194400, 152064, 0x6b68301b
-0, 198000, 152064, 0xc581100d
-0, 201600, 152064, 0x8e9cf443
-0, 205200, 152064, 0x3c4ec87a
-0, 208800, 152064, 0x6e417a1f
-0, 212400, 152064, 0x02c7ecc4
-0, 216000, 152064, 0xb7d7f1dc
-0, 219600, 152064, 0xc44cf3fa
-0, 223200, 152064, 0x0f8db331
-0, 226800, 152064, 0x71fe651b
-0, 230400, 152064, 0xdd0b9b70
-0, 234000, 152064, 0x4f6114c3
-0, 237600, 152064, 0x5a64e819
-0, 241200, 152064, 0x20bce1a1
-0, 244800, 152064, 0x6b196d49
-0, 248400, 152064, 0x7c1535a6
-0, 252000, 152064, 0x9b5225a4
-0, 255600, 152064, 0x72c5f185
-0, 259200, 152064, 0x3da4f50d
-0, 262800, 152064, 0xd7f7af48
-0, 266400, 152064, 0x0e1a8f2e
-0, 270000, 152064, 0xb8b036cc
-0, 273600, 152064, 0x003a2b62
-0, 277200, 152064, 0x7777f6bd
-0, 280800, 152064, 0x91003021
-0, 284400, 152064, 0xb2e1af8c
-0, 288000, 152064, 0xae6676bc
-0, 291600, 152064, 0x72f55c98
-0, 295200, 152064, 0x9dfb52bc
-0, 298800, 152064, 0x4b6b0db4
-0, 302400, 152064, 0xba8bab86
-0, 306000, 152064, 0x775a8da0
-0, 309600, 152064, 0x96a35194
-0, 313200, 152064, 0x17732a58
-0, 316800, 152064, 0x45eef560
-0, 320400, 152064, 0x95c79208
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xabf9ae05
+0, 1, 1, 1, 152064, 0x20418b16
+0, 2, 2, 1, 152064, 0xe941572f
+0, 3, 3, 1, 152064, 0xcf63e20e
+0, 4, 4, 1, 152064, 0x57dedcde
+0, 5, 5, 1, 152064, 0x4de7bf34
+0, 6, 6, 1, 152064, 0xc8014983
+0, 7, 7, 1, 152064, 0x5ab946fc
+0, 8, 8, 1, 152064, 0x2ca02582
+0, 9, 9, 1, 152064, 0x9c95435d
+0, 10, 10, 1, 152064, 0x8371b963
+0, 11, 11, 1, 152064, 0xa0f1af67
+0, 12, 12, 1, 152064, 0xf1155345
+0, 13, 13, 1, 152064, 0x66a71c79
+0, 14, 14, 1, 152064, 0x509db08a
+0, 15, 15, 1, 152064, 0x3d457728
+0, 16, 16, 1, 152064, 0x66035e2b
+0, 17, 17, 1, 152064, 0xa4113115
+0, 18, 18, 1, 152064, 0x3d35d3c0
+0, 19, 19, 1, 152064, 0x5117d324
+0, 20, 20, 1, 152064, 0x7b0c7660
+0, 21, 21, 1, 152064, 0x0eacf9ba
+0, 22, 22, 1, 152064, 0x358d0486
+0, 23, 23, 1, 152064, 0xc2dbeadc
+0, 24, 24, 1, 152064, 0x61b2c275
+0, 25, 25, 1, 152064, 0xbb3697d2
+0, 26, 26, 1, 152064, 0x44e58e8a
+0, 27, 27, 1, 152064, 0x21f6464f
+0, 28, 28, 1, 152064, 0xdb3416f2
+0, 29, 29, 1, 152064, 0x8201d928
+0, 30, 30, 1, 152064, 0x4fdfb595
+0, 31, 31, 1, 152064, 0x28cff0a5
+0, 32, 32, 1, 152064, 0x5d77cab2
+0, 33, 33, 1, 152064, 0x2218b509
+0, 34, 34, 1, 152064, 0xaf40790a
+0, 35, 35, 1, 152064, 0xaed42b3b
+0, 36, 36, 1, 152064, 0x866d2462
+0, 37, 37, 1, 152064, 0x23a7111a
+0, 38, 38, 1, 152064, 0xceefc9d0
+0, 39, 39, 1, 152064, 0x88dba819
+0, 40, 40, 1, 152064, 0x19b350f3
+0, 41, 41, 1, 152064, 0x85a857e5
+0, 42, 42, 1, 152064, 0x02ca7c6f
+0, 43, 43, 1, 152064, 0xe2de12d0
+0, 44, 44, 1, 152064, 0x84a36173
+0, 45, 45, 1, 152064, 0xa8d1b139
+0, 46, 46, 1, 152064, 0x6b72ab43
+0, 47, 47, 1, 152064, 0x5fba909e
+0, 48, 48, 1, 152064, 0x43ab27f2
+0, 49, 49, 1, 152064, 0x414cdd60
+0, 50, 50, 1, 152064, 0x080fde7b
+0, 51, 51, 1, 152064, 0xb1b7e4db
+0, 52, 52, 1, 152064, 0xf17db2da
+0, 53, 53, 1, 152064, 0x248b88e9
+0, 54, 54, 1, 152064, 0x6b68301b
+0, 55, 55, 1, 152064, 0xc581100d
+0, 56, 56, 1, 152064, 0x8e9cf443
+0, 57, 57, 1, 152064, 0x3c4ec87a
+0, 58, 58, 1, 152064, 0x6e417a1f
+0, 59, 59, 1, 152064, 0x02c7ecc4
+0, 60, 60, 1, 152064, 0xb7d7f1dc
+0, 61, 61, 1, 152064, 0xc44cf3fa
+0, 62, 62, 1, 152064, 0x0f8db331
+0, 63, 63, 1, 152064, 0x71fe651b
+0, 64, 64, 1, 152064, 0xdd0b9b70
+0, 65, 65, 1, 152064, 0x4f6114c3
+0, 66, 66, 1, 152064, 0x5a64e819
+0, 67, 67, 1, 152064, 0x20bce1a1
+0, 68, 68, 1, 152064, 0x6b196d49
+0, 69, 69, 1, 152064, 0x7c1535a6
+0, 70, 70, 1, 152064, 0x9b5225a4
+0, 71, 71, 1, 152064, 0x72c5f185
+0, 72, 72, 1, 152064, 0x3da4f50d
+0, 73, 73, 1, 152064, 0xd7f7af48
+0, 74, 74, 1, 152064, 0x0e1a8f2e
+0, 75, 75, 1, 152064, 0xb8b036cc
+0, 76, 76, 1, 152064, 0x003a2b62
+0, 77, 77, 1, 152064, 0x7777f6bd
+0, 78, 78, 1, 152064, 0x91003021
+0, 79, 79, 1, 152064, 0xb2e1af8c
+0, 80, 80, 1, 152064, 0xae6676bc
+0, 81, 81, 1, 152064, 0x72f55c98
+0, 82, 82, 1, 152064, 0x9dfb52bc
+0, 83, 83, 1, 152064, 0x4b6b0db4
+0, 84, 84, 1, 152064, 0xba8bab86
+0, 85, 85, 1, 152064, 0x775a8da0
+0, 86, 86, 1, 152064, 0x96a35194
+0, 87, 87, 1, 152064, 0x17732a58
+0, 88, 88, 1, 152064, 0x45eef560
+0, 89, 89, 1, 152064, 0x95c79208
diff --git a/tests/ref/fate/h264-conformance-cvwp2_toshiba_e b/tests/ref/fate/h264-conformance-cvwp2_toshiba_e
index 4e904bc7af..627f4b8f24 100644
--- a/tests/ref/fate/h264-conformance-cvwp2_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cvwp2_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xf503fb79
-0, 3600, 152064, 0xeaa4ba5d
-0, 7200, 152064, 0x50865a33
-0, 10800, 152064, 0x34125f86
-0, 14400, 152064, 0xc5a8bb68
-0, 18000, 152064, 0xe6e9b376
-0, 21600, 152064, 0x4e41d48e
-0, 25200, 152064, 0xea73cc5d
-0, 28800, 152064, 0xc0c60ac0
-0, 32400, 152064, 0xd7110670
-0, 36000, 152064, 0x00465d0d
-0, 39600, 152064, 0xa37a726b
-0, 43200, 152064, 0x5dd13b2a
-0, 46800, 152064, 0x08471f31
-0, 50400, 152064, 0x2bb2b055
-0, 54000, 152064, 0xd06d7f1c
-0, 57600, 152064, 0x91fde84a
-0, 61200, 152064, 0xdbb52d2b
-0, 64800, 152064, 0x505c08b4
-0, 68400, 152064, 0xd8aeef9f
-0, 72000, 152064, 0x4e3f8721
-0, 75600, 152064, 0xce534aee
-0, 79200, 152064, 0x51f80737
-0, 82800, 152064, 0x8fa0e443
-0, 86400, 152064, 0xe8c9db17
-0, 90000, 152064, 0xc84bcee6
-0, 93600, 152064, 0xa7916158
-0, 97200, 152064, 0x16149c36
-0, 100800, 152064, 0xe55213fd
-0, 104400, 152064, 0xa701e59d
-0, 108000, 152064, 0xad65e200
-0, 111600, 152064, 0x4606dc82
-0, 115200, 152064, 0x582f9f64
-0, 118800, 152064, 0xc630662a
-0, 122400, 152064, 0xe54bacf5
-0, 126000, 152064, 0x230e387f
-0, 129600, 152064, 0x1a9c746c
-0, 133200, 152064, 0xfa002d7c
-0, 136800, 152064, 0xe617c4a9
-0, 140400, 152064, 0xd3a4df19
-0, 144000, 152064, 0x25b9ca8c
-0, 147600, 152064, 0x0c505f7c
-0, 151200, 152064, 0x43f84f88
-0, 154800, 152064, 0x859fb3af
-0, 158400, 152064, 0x9680fc13
-0, 162000, 152064, 0x3fe6ecb6
-0, 165600, 152064, 0xf4c05a9c
-0, 169200, 152064, 0x16ba3b13
-0, 172800, 152064, 0x72f33fb9
-0, 176400, 152064, 0x3076e567
-0, 180000, 152064, 0x4e69b604
-0, 183600, 152064, 0x9c37a98b
-0, 187200, 152064, 0x0d5756c7
-0, 190800, 152064, 0xa4a46a81
-0, 194400, 152064, 0xadfc89d7
-0, 198000, 152064, 0x35693493
-0, 201600, 152064, 0xe3baedbf
-0, 205200, 152064, 0x78cfb405
-0, 208800, 152064, 0xd85c7074
-0, 212400, 152064, 0x14ab350e
-0, 216000, 152064, 0xaf55433e
-0, 219600, 152064, 0x75a8e79f
-0, 223200, 152064, 0x2fb599f6
-0, 226800, 152064, 0xbe30bdfe
-0, 230400, 152064, 0x8b07a5ce
-0, 234000, 152064, 0x99b32730
-0, 237600, 152064, 0x9265182d
-0, 241200, 152064, 0x91e789fd
-0, 244800, 152064, 0x1c1e6d16
-0, 248400, 152064, 0xfa06bdaa
-0, 252000, 152064, 0x7177041f
-0, 255600, 152064, 0xd902f99d
-0, 259200, 152064, 0x29bdc134
-0, 262800, 152064, 0xd713ab76
-0, 266400, 152064, 0x60e4788e
-0, 270000, 152064, 0xb18c7789
-0, 273600, 152064, 0x0b7829a5
-0, 277200, 152064, 0xf676d780
-0, 280800, 152064, 0xa88a3a57
-0, 284400, 152064, 0x825cf289
-0, 288000, 152064, 0x78928201
-0, 291600, 152064, 0x013a589c
-0, 295200, 152064, 0x9269fa64
-0, 298800, 152064, 0x6db5f5fa
-0, 302400, 152064, 0x49ad9d6a
-0, 306000, 152064, 0x1b7c290f
-0, 309600, 152064, 0x99716ad1
-0, 313200, 152064, 0x371527c2
-0, 316800, 152064, 0x9f351841
-0, 320400, 152064, 0x884bb432
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf503fb79
+0, 1, 1, 1, 152064, 0xeaa4ba5d
+0, 2, 2, 1, 152064, 0x50865a33
+0, 3, 3, 1, 152064, 0x34125f86
+0, 4, 4, 1, 152064, 0xc5a8bb68
+0, 5, 5, 1, 152064, 0xe6e9b376
+0, 6, 6, 1, 152064, 0x4e41d48e
+0, 7, 7, 1, 152064, 0xea73cc5d
+0, 8, 8, 1, 152064, 0xc0c60ac0
+0, 9, 9, 1, 152064, 0xd7110670
+0, 10, 10, 1, 152064, 0x00465d0d
+0, 11, 11, 1, 152064, 0xa37a726b
+0, 12, 12, 1, 152064, 0x5dd13b2a
+0, 13, 13, 1, 152064, 0x08471f31
+0, 14, 14, 1, 152064, 0x2bb2b055
+0, 15, 15, 1, 152064, 0xd06d7f1c
+0, 16, 16, 1, 152064, 0x91fde84a
+0, 17, 17, 1, 152064, 0xdbb52d2b
+0, 18, 18, 1, 152064, 0x505c08b4
+0, 19, 19, 1, 152064, 0xd8aeef9f
+0, 20, 20, 1, 152064, 0x4e3f8721
+0, 21, 21, 1, 152064, 0xce534aee
+0, 22, 22, 1, 152064, 0x51f80737
+0, 23, 23, 1, 152064, 0x8fa0e443
+0, 24, 24, 1, 152064, 0xe8c9db17
+0, 25, 25, 1, 152064, 0xc84bcee6
+0, 26, 26, 1, 152064, 0xa7916158
+0, 27, 27, 1, 152064, 0x16149c36
+0, 28, 28, 1, 152064, 0xe55213fd
+0, 29, 29, 1, 152064, 0xa701e59d
+0, 30, 30, 1, 152064, 0xad65e200
+0, 31, 31, 1, 152064, 0x4606dc82
+0, 32, 32, 1, 152064, 0x582f9f64
+0, 33, 33, 1, 152064, 0xc630662a
+0, 34, 34, 1, 152064, 0xe54bacf5
+0, 35, 35, 1, 152064, 0x230e387f
+0, 36, 36, 1, 152064, 0x1a9c746c
+0, 37, 37, 1, 152064, 0xfa002d7c
+0, 38, 38, 1, 152064, 0xe617c4a9
+0, 39, 39, 1, 152064, 0xd3a4df19
+0, 40, 40, 1, 152064, 0x25b9ca8c
+0, 41, 41, 1, 152064, 0x0c505f7c
+0, 42, 42, 1, 152064, 0x43f84f88
+0, 43, 43, 1, 152064, 0x859fb3af
+0, 44, 44, 1, 152064, 0x9680fc13
+0, 45, 45, 1, 152064, 0x3fe6ecb6
+0, 46, 46, 1, 152064, 0xf4c05a9c
+0, 47, 47, 1, 152064, 0x16ba3b13
+0, 48, 48, 1, 152064, 0x72f33fb9
+0, 49, 49, 1, 152064, 0x3076e567
+0, 50, 50, 1, 152064, 0x4e69b604
+0, 51, 51, 1, 152064, 0x9c37a98b
+0, 52, 52, 1, 152064, 0x0d5756c7
+0, 53, 53, 1, 152064, 0xa4a46a81
+0, 54, 54, 1, 152064, 0xadfc89d7
+0, 55, 55, 1, 152064, 0x35693493
+0, 56, 56, 1, 152064, 0xe3baedbf
+0, 57, 57, 1, 152064, 0x78cfb405
+0, 58, 58, 1, 152064, 0xd85c7074
+0, 59, 59, 1, 152064, 0x14ab350e
+0, 60, 60, 1, 152064, 0xaf55433e
+0, 61, 61, 1, 152064, 0x75a8e79f
+0, 62, 62, 1, 152064, 0x2fb599f6
+0, 63, 63, 1, 152064, 0xbe30bdfe
+0, 64, 64, 1, 152064, 0x8b07a5ce
+0, 65, 65, 1, 152064, 0x99b32730
+0, 66, 66, 1, 152064, 0x9265182d
+0, 67, 67, 1, 152064, 0x91e789fd
+0, 68, 68, 1, 152064, 0x1c1e6d16
+0, 69, 69, 1, 152064, 0xfa06bdaa
+0, 70, 70, 1, 152064, 0x7177041f
+0, 71, 71, 1, 152064, 0xd902f99d
+0, 72, 72, 1, 152064, 0x29bdc134
+0, 73, 73, 1, 152064, 0xd713ab76
+0, 74, 74, 1, 152064, 0x60e4788e
+0, 75, 75, 1, 152064, 0xb18c7789
+0, 76, 76, 1, 152064, 0x0b7829a5
+0, 77, 77, 1, 152064, 0xf676d780
+0, 78, 78, 1, 152064, 0xa88a3a57
+0, 79, 79, 1, 152064, 0x825cf289
+0, 80, 80, 1, 152064, 0x78928201
+0, 81, 81, 1, 152064, 0x013a589c
+0, 82, 82, 1, 152064, 0x9269fa64
+0, 83, 83, 1, 152064, 0x6db5f5fa
+0, 84, 84, 1, 152064, 0x49ad9d6a
+0, 85, 85, 1, 152064, 0x1b7c290f
+0, 86, 86, 1, 152064, 0x99716ad1
+0, 87, 87, 1, 152064, 0x371527c2
+0, 88, 88, 1, 152064, 0x9f351841
+0, 89, 89, 1, 152064, 0x884bb432
diff --git a/tests/ref/fate/h264-conformance-cvwp3_toshiba_e b/tests/ref/fate/h264-conformance-cvwp3_toshiba_e
index e78f20904b..ca3b7b8461 100644
--- a/tests/ref/fate/h264-conformance-cvwp3_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cvwp3_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0x3b3ffd31
-0, 3600, 152064, 0x14e0b899
-0, 7200, 152064, 0x50865a33
-0, 10800, 152064, 0x12e749e5
-0, 14400, 152064, 0xe5921130
-0, 18000, 152064, 0x2ca3b10d
-0, 21600, 152064, 0xa9a39f04
-0, 25200, 152064, 0x2c78761a
-0, 28800, 152064, 0x70890ad7
-0, 32400, 152064, 0x4fc30132
-0, 36000, 152064, 0x10e4d2c9
-0, 39600, 152064, 0xa3326b50
-0, 43200, 152064, 0x8e054bf1
-0, 46800, 152064, 0x5bd91687
-0, 50400, 152064, 0x70bab119
-0, 54000, 152064, 0x9a1ab472
-0, 57600, 152064, 0x490776a0
-0, 61200, 152064, 0xdbb52d2b
-0, 64800, 152064, 0x142714b9
-0, 68400, 152064, 0xa051ee6f
-0, 72000, 152064, 0xafa97fdf
-0, 75600, 152064, 0x1ae67347
-0, 79200, 152064, 0xc4f42ed6
-0, 82800, 152064, 0x4445dc60
-0, 86400, 152064, 0xaef4d04b
-0, 90000, 152064, 0x6a51be82
-0, 93600, 152064, 0x48356190
-0, 97200, 152064, 0xc09b5f5d
-0, 100800, 152064, 0x933d3379
-0, 104400, 152064, 0xfb57e471
-0, 108000, 152064, 0xb5b2f45c
-0, 111600, 152064, 0xce36e45e
-0, 115200, 152064, 0x582f9f64
-0, 118800, 152064, 0x2f45b1fd
-0, 122400, 152064, 0x90708fa0
-0, 126000, 152064, 0xee483b8f
-0, 129600, 152064, 0xd2163e6c
-0, 133200, 152064, 0x39492dfe
-0, 136800, 152064, 0xf89cc57f
-0, 140400, 152064, 0xbfc3c411
-0, 144000, 152064, 0x919eb007
-0, 147600, 152064, 0x2c526309
-0, 151200, 152064, 0x39f067a2
-0, 154800, 152064, 0xb7653abb
-0, 158400, 152064, 0xe26a035c
-0, 162000, 152064, 0xcef1eb3b
-0, 165600, 152064, 0xb8b3c55f
-0, 169200, 152064, 0x16ba3b13
-0, 172800, 152064, 0x153a3117
-0, 176400, 152064, 0x90a21859
-0, 180000, 152064, 0x9231b756
-0, 183600, 152064, 0x65fcbcb9
-0, 187200, 152064, 0x447eaf44
-0, 190800, 152064, 0xa26b6a8e
-0, 194400, 152064, 0x100464f8
-0, 198000, 152064, 0x479648ec
-0, 201600, 152064, 0x6742f51f
-0, 205200, 152064, 0x14e9d906
-0, 208800, 152064, 0xa058ab87
-0, 212400, 152064, 0x8d093874
-0, 216000, 152064, 0xef7f2965
-0, 219600, 152064, 0x200d02bd
-0, 223200, 152064, 0x2fb599f6
-0, 226800, 152064, 0xf65fb6e4
-0, 230400, 152064, 0x489a9152
-0, 234000, 152064, 0xbe8a2fc2
-0, 237600, 152064, 0xea04097e
-0, 241200, 152064, 0xaf0cd627
-0, 244800, 152064, 0xc0a26b27
-0, 248400, 152064, 0x985f67e7
-0, 252000, 152064, 0x7d1b4c4c
-0, 255600, 152064, 0x9908f838
-0, 259200, 152064, 0xb8fef131
-0, 262800, 152064, 0xb1feaf6c
-0, 266400, 152064, 0x37b16bda
-0, 270000, 152064, 0x242471aa
-0, 273600, 152064, 0xf18c3839
-0, 277200, 152064, 0xf676d780
-0, 280800, 152064, 0x17bd0f76
-0, 284400, 152064, 0x3703e7a6
-0, 288000, 152064, 0x69ba8a8a
-0, 291600, 152064, 0x205281b3
-0, 295200, 152064, 0x54bf51e1
-0, 298800, 152064, 0xf6daf8ed
-0, 302400, 152064, 0x8728e805
-0, 306000, 152064, 0xe98cd2b0
-0, 309600, 152064, 0x7ef76e26
-0, 313200, 152064, 0x0fbf5230
-0, 316800, 152064, 0x9e4d104b
-0, 320400, 152064, 0xd562b815
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x3b3ffd31
+0, 1, 1, 1, 152064, 0x14e0b899
+0, 2, 2, 1, 152064, 0x50865a33
+0, 3, 3, 1, 152064, 0x12e749e5
+0, 4, 4, 1, 152064, 0xe5921130
+0, 5, 5, 1, 152064, 0x2ca3b10d
+0, 6, 6, 1, 152064, 0xa9a39f04
+0, 7, 7, 1, 152064, 0x2c78761a
+0, 8, 8, 1, 152064, 0x70890ad7
+0, 9, 9, 1, 152064, 0x4fc30132
+0, 10, 10, 1, 152064, 0x10e4d2c9
+0, 11, 11, 1, 152064, 0xa3326b50
+0, 12, 12, 1, 152064, 0x8e054bf1
+0, 13, 13, 1, 152064, 0x5bd91687
+0, 14, 14, 1, 152064, 0x70bab119
+0, 15, 15, 1, 152064, 0x9a1ab472
+0, 16, 16, 1, 152064, 0x490776a0
+0, 17, 17, 1, 152064, 0xdbb52d2b
+0, 18, 18, 1, 152064, 0x142714b9
+0, 19, 19, 1, 152064, 0xa051ee6f
+0, 20, 20, 1, 152064, 0xafa97fdf
+0, 21, 21, 1, 152064, 0x1ae67347
+0, 22, 22, 1, 152064, 0xc4f42ed6
+0, 23, 23, 1, 152064, 0x4445dc60
+0, 24, 24, 1, 152064, 0xaef4d04b
+0, 25, 25, 1, 152064, 0x6a51be82
+0, 26, 26, 1, 152064, 0x48356190
+0, 27, 27, 1, 152064, 0xc09b5f5d
+0, 28, 28, 1, 152064, 0x933d3379
+0, 29, 29, 1, 152064, 0xfb57e471
+0, 30, 30, 1, 152064, 0xb5b2f45c
+0, 31, 31, 1, 152064, 0xce36e45e
+0, 32, 32, 1, 152064, 0x582f9f64
+0, 33, 33, 1, 152064, 0x2f45b1fd
+0, 34, 34, 1, 152064, 0x90708fa0
+0, 35, 35, 1, 152064, 0xee483b8f
+0, 36, 36, 1, 152064, 0xd2163e6c
+0, 37, 37, 1, 152064, 0x39492dfe
+0, 38, 38, 1, 152064, 0xf89cc57f
+0, 39, 39, 1, 152064, 0xbfc3c411
+0, 40, 40, 1, 152064, 0x919eb007
+0, 41, 41, 1, 152064, 0x2c526309
+0, 42, 42, 1, 152064, 0x39f067a2
+0, 43, 43, 1, 152064, 0xb7653abb
+0, 44, 44, 1, 152064, 0xe26a035c
+0, 45, 45, 1, 152064, 0xcef1eb3b
+0, 46, 46, 1, 152064, 0xb8b3c55f
+0, 47, 47, 1, 152064, 0x16ba3b13
+0, 48, 48, 1, 152064, 0x153a3117
+0, 49, 49, 1, 152064, 0x90a21859
+0, 50, 50, 1, 152064, 0x9231b756
+0, 51, 51, 1, 152064, 0x65fcbcb9
+0, 52, 52, 1, 152064, 0x447eaf44
+0, 53, 53, 1, 152064, 0xa26b6a8e
+0, 54, 54, 1, 152064, 0x100464f8
+0, 55, 55, 1, 152064, 0x479648ec
+0, 56, 56, 1, 152064, 0x6742f51f
+0, 57, 57, 1, 152064, 0x14e9d906
+0, 58, 58, 1, 152064, 0xa058ab87
+0, 59, 59, 1, 152064, 0x8d093874
+0, 60, 60, 1, 152064, 0xef7f2965
+0, 61, 61, 1, 152064, 0x200d02bd
+0, 62, 62, 1, 152064, 0x2fb599f6
+0, 63, 63, 1, 152064, 0xf65fb6e4
+0, 64, 64, 1, 152064, 0x489a9152
+0, 65, 65, 1, 152064, 0xbe8a2fc2
+0, 66, 66, 1, 152064, 0xea04097e
+0, 67, 67, 1, 152064, 0xaf0cd627
+0, 68, 68, 1, 152064, 0xc0a26b27
+0, 69, 69, 1, 152064, 0x985f67e7
+0, 70, 70, 1, 152064, 0x7d1b4c4c
+0, 71, 71, 1, 152064, 0x9908f838
+0, 72, 72, 1, 152064, 0xb8fef131
+0, 73, 73, 1, 152064, 0xb1feaf6c
+0, 74, 74, 1, 152064, 0x37b16bda
+0, 75, 75, 1, 152064, 0x242471aa
+0, 76, 76, 1, 152064, 0xf18c3839
+0, 77, 77, 1, 152064, 0xf676d780
+0, 78, 78, 1, 152064, 0x17bd0f76
+0, 79, 79, 1, 152064, 0x3703e7a6
+0, 80, 80, 1, 152064, 0x69ba8a8a
+0, 81, 81, 1, 152064, 0x205281b3
+0, 82, 82, 1, 152064, 0x54bf51e1
+0, 83, 83, 1, 152064, 0xf6daf8ed
+0, 84, 84, 1, 152064, 0x8728e805
+0, 85, 85, 1, 152064, 0xe98cd2b0
+0, 86, 86, 1, 152064, 0x7ef76e26
+0, 87, 87, 1, 152064, 0x0fbf5230
+0, 88, 88, 1, 152064, 0x9e4d104b
+0, 89, 89, 1, 152064, 0xd562b815
diff --git a/tests/ref/fate/h264-conformance-cvwp5_toshiba_e b/tests/ref/fate/h264-conformance-cvwp5_toshiba_e
index 30f691259d..5b48f8f428 100644
--- a/tests/ref/fate/h264-conformance-cvwp5_toshiba_e
+++ b/tests/ref/fate/h264-conformance-cvwp5_toshiba_e
@@ -1,90 +1,91 @@
-0, 0, 152064, 0xabf9ae05
-0, 3600, 152064, 0x20418b16
-0, 7200, 152064, 0x20f72775
-0, 10800, 152064, 0x57c07111
-0, 14400, 152064, 0x1b49267f
-0, 18000, 152064, 0x024cd238
-0, 21600, 152064, 0x044d1ae0
-0, 25200, 152064, 0xbfec1b59
-0, 28800, 152064, 0x1a91f935
-0, 32400, 152064, 0x9ee184dc
-0, 36000, 152064, 0x65047dbe
-0, 39600, 152064, 0xd1632fb5
-0, 43200, 152064, 0x56f64c3e
-0, 46800, 152064, 0xe6122f37
-0, 50400, 152064, 0x0575e670
-0, 54000, 152064, 0x3d457728
-0, 57600, 152064, 0x6b508105
-0, 61200, 152064, 0xcaaf5ea7
-0, 64800, 152064, 0x9f4e4501
-0, 68400, 152064, 0x1c661a73
-0, 72000, 152064, 0x2fd9d1c8
-0, 75600, 152064, 0x4ac99ab1
-0, 79200, 152064, 0xf2d36809
-0, 82800, 152064, 0xa8e32ffb
-0, 86400, 152064, 0xd4da2fd2
-0, 90000, 152064, 0xac3adde0
-0, 93600, 152064, 0xf014ed0f
-0, 97200, 152064, 0xca2e7d28
-0, 100800, 152064, 0x3a875e51
-0, 104400, 152064, 0xc03e4bda
-0, 108000, 152064, 0x4fdfb595
-0, 111600, 152064, 0x9243f098
-0, 115200, 152064, 0x9361bae6
-0, 118800, 152064, 0x7a1dadee
-0, 122400, 152064, 0x72a59e15
-0, 126000, 152064, 0xb5b47170
-0, 129600, 152064, 0x5eb16651
-0, 133200, 152064, 0xe7894af7
-0, 136800, 152064, 0x2683bb0b
-0, 140400, 152064, 0x90b4c8c5
-0, 144000, 152064, 0xf800c5b5
-0, 147600, 152064, 0xc2f5a895
-0, 151200, 152064, 0x213c65d4
-0, 154800, 152064, 0x01c65a19
-0, 158400, 152064, 0xd9f1b04b
-0, 162000, 152064, 0xa8d1b139
-0, 165600, 152064, 0x2d0cb0cd
-0, 169200, 152064, 0x5b0783fe
-0, 172800, 152064, 0x29e628ec
-0, 176400, 152064, 0x1b8527e5
-0, 180000, 152064, 0x4b46d179
-0, 183600, 152064, 0x6184c708
-0, 187200, 152064, 0x697bb8e2
-0, 190800, 152064, 0x5fd3a772
-0, 194400, 152064, 0x91456c86
-0, 198000, 152064, 0x376c4dae
-0, 201600, 152064, 0x00ba2b3f
-0, 205200, 152064, 0xf6f0f553
-0, 208800, 152064, 0xc0020855
-0, 212400, 152064, 0xec3d13d2
-0, 216000, 152064, 0xb7d7f1dc
-0, 219600, 152064, 0xf9dae37b
-0, 223200, 152064, 0x50d9cc93
-0, 226800, 152064, 0xba1eb592
-0, 230400, 152064, 0x67616557
-0, 234000, 152064, 0x09804760
-0, 237600, 152064, 0xc2ffba00
-0, 241200, 152064, 0xb71fcf46
-0, 244800, 152064, 0x6cd975af
-0, 248400, 152064, 0x19189167
-0, 252000, 152064, 0xbca8fe71
-0, 255600, 152064, 0xb0b3f607
-0, 259200, 152064, 0x7614d73a
-0, 262800, 152064, 0x7de9d87d
-0, 266400, 152064, 0x81f58cf2
-0, 270000, 152064, 0xb8b036cc
-0, 273600, 152064, 0x26d1e2e4
-0, 277200, 152064, 0xb41a1e6c
-0, 280800, 152064, 0x4f9be4a9
-0, 284400, 152064, 0xe95ad5d3
-0, 288000, 152064, 0xdffc9335
-0, 291600, 152064, 0x01d658c0
-0, 295200, 152064, 0x631b4b75
-0, 298800, 152064, 0x80ae282f
-0, 302400, 152064, 0xb34bf688
-0, 306000, 152064, 0xd0cc7d65
-0, 309600, 152064, 0x86aa4590
-0, 313200, 152064, 0xcb515a57
-0, 316800, 152064, 0x68650834
-0, 320400, 152064, 0x444ee2a4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xabf9ae05
+0, 1, 1, 1, 152064, 0x20418b16
+0, 2, 2, 1, 152064, 0x20f72775
+0, 3, 3, 1, 152064, 0x57c07111
+0, 4, 4, 1, 152064, 0x1b49267f
+0, 5, 5, 1, 152064, 0x024cd238
+0, 6, 6, 1, 152064, 0x044d1ae0
+0, 7, 7, 1, 152064, 0xbfec1b59
+0, 8, 8, 1, 152064, 0x1a91f935
+0, 9, 9, 1, 152064, 0x9ee184dc
+0, 10, 10, 1, 152064, 0x65047dbe
+0, 11, 11, 1, 152064, 0xd1632fb5
+0, 12, 12, 1, 152064, 0x56f64c3e
+0, 13, 13, 1, 152064, 0xe6122f37
+0, 14, 14, 1, 152064, 0x0575e670
+0, 15, 15, 1, 152064, 0x3d457728
+0, 16, 16, 1, 152064, 0x6b508105
+0, 17, 17, 1, 152064, 0xcaaf5ea7
+0, 18, 18, 1, 152064, 0x9f4e4501
+0, 19, 19, 1, 152064, 0x1c661a73
+0, 20, 20, 1, 152064, 0x2fd9d1c8
+0, 21, 21, 1, 152064, 0x4ac99ab1
+0, 22, 22, 1, 152064, 0xf2d36809
+0, 23, 23, 1, 152064, 0xa8e32ffb
+0, 24, 24, 1, 152064, 0xd4da2fd2
+0, 25, 25, 1, 152064, 0xac3adde0
+0, 26, 26, 1, 152064, 0xf014ed0f
+0, 27, 27, 1, 152064, 0xca2e7d28
+0, 28, 28, 1, 152064, 0x3a875e51
+0, 29, 29, 1, 152064, 0xc03e4bda
+0, 30, 30, 1, 152064, 0x4fdfb595
+0, 31, 31, 1, 152064, 0x9243f098
+0, 32, 32, 1, 152064, 0x9361bae6
+0, 33, 33, 1, 152064, 0x7a1dadee
+0, 34, 34, 1, 152064, 0x72a59e15
+0, 35, 35, 1, 152064, 0xb5b47170
+0, 36, 36, 1, 152064, 0x5eb16651
+0, 37, 37, 1, 152064, 0xe7894af7
+0, 38, 38, 1, 152064, 0x2683bb0b
+0, 39, 39, 1, 152064, 0x90b4c8c5
+0, 40, 40, 1, 152064, 0xf800c5b5
+0, 41, 41, 1, 152064, 0xc2f5a895
+0, 42, 42, 1, 152064, 0x213c65d4
+0, 43, 43, 1, 152064, 0x01c65a19
+0, 44, 44, 1, 152064, 0xd9f1b04b
+0, 45, 45, 1, 152064, 0xa8d1b139
+0, 46, 46, 1, 152064, 0x2d0cb0cd
+0, 47, 47, 1, 152064, 0x5b0783fe
+0, 48, 48, 1, 152064, 0x29e628ec
+0, 49, 49, 1, 152064, 0x1b8527e5
+0, 50, 50, 1, 152064, 0x4b46d179
+0, 51, 51, 1, 152064, 0x6184c708
+0, 52, 52, 1, 152064, 0x697bb8e2
+0, 53, 53, 1, 152064, 0x5fd3a772
+0, 54, 54, 1, 152064, 0x91456c86
+0, 55, 55, 1, 152064, 0x376c4dae
+0, 56, 56, 1, 152064, 0x00ba2b3f
+0, 57, 57, 1, 152064, 0xf6f0f553
+0, 58, 58, 1, 152064, 0xc0020855
+0, 59, 59, 1, 152064, 0xec3d13d2
+0, 60, 60, 1, 152064, 0xb7d7f1dc
+0, 61, 61, 1, 152064, 0xf9dae37b
+0, 62, 62, 1, 152064, 0x50d9cc93
+0, 63, 63, 1, 152064, 0xba1eb592
+0, 64, 64, 1, 152064, 0x67616557
+0, 65, 65, 1, 152064, 0x09804760
+0, 66, 66, 1, 152064, 0xc2ffba00
+0, 67, 67, 1, 152064, 0xb71fcf46
+0, 68, 68, 1, 152064, 0x6cd975af
+0, 69, 69, 1, 152064, 0x19189167
+0, 70, 70, 1, 152064, 0xbca8fe71
+0, 71, 71, 1, 152064, 0xb0b3f607
+0, 72, 72, 1, 152064, 0x7614d73a
+0, 73, 73, 1, 152064, 0x7de9d87d
+0, 74, 74, 1, 152064, 0x81f58cf2
+0, 75, 75, 1, 152064, 0xb8b036cc
+0, 76, 76, 1, 152064, 0x26d1e2e4
+0, 77, 77, 1, 152064, 0xb41a1e6c
+0, 78, 78, 1, 152064, 0x4f9be4a9
+0, 79, 79, 1, 152064, 0xe95ad5d3
+0, 80, 80, 1, 152064, 0xdffc9335
+0, 81, 81, 1, 152064, 0x01d658c0
+0, 82, 82, 1, 152064, 0x631b4b75
+0, 83, 83, 1, 152064, 0x80ae282f
+0, 84, 84, 1, 152064, 0xb34bf688
+0, 85, 85, 1, 152064, 0xd0cc7d65
+0, 86, 86, 1, 152064, 0x86aa4590
+0, 87, 87, 1, 152064, 0xcb515a57
+0, 88, 88, 1, 152064, 0x68650834
+0, 89, 89, 1, 152064, 0x444ee2a4
diff --git a/tests/ref/fate/h264-conformance-fi1_sony_e b/tests/ref/fate/h264-conformance-fi1_sony_e
index 5b7f4c8892..6b5e0dbd52 100644
--- a/tests/ref/fate/h264-conformance-fi1_sony_e
+++ b/tests/ref/fate/h264-conformance-fi1_sony_e
@@ -1,17 +1,18 @@
-0, 0, 36864, 0x3d54d3e3
-0, 3600, 36864, 0xa9573ef0
-0, 7200, 36864, 0x0ea5f263
-0, 10800, 36864, 0x5a849fb9
-0, 14400, 36864, 0x7ddb1eff
-0, 18000, 36864, 0x5e73e3b7
-0, 21600, 36864, 0x7d50d329
-0, 25200, 36864, 0xf2c2cd27
-0, 28800, 36864, 0xdf4f4628
-0, 32400, 36864, 0xddd6d5be
-0, 36000, 36864, 0xb530e1aa
-0, 39600, 36864, 0xeca42470
-0, 43200, 36864, 0xa5701caf
-0, 46800, 36864, 0x6f5d28fc
-0, 50400, 36864, 0xd4ab4ab2
-0, 54000, 36864, 0xf2dfcc22
-0, 57600, 36864, 0xcaa87e79
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0x3d54d3e3
+0, 1, 1, 1, 36864, 0xa9573ef0
+0, 2, 2, 1, 36864, 0x0ea5f263
+0, 3, 3, 1, 36864, 0x5a849fb9
+0, 4, 4, 1, 36864, 0x7ddb1eff
+0, 5, 5, 1, 36864, 0x5e73e3b7
+0, 6, 6, 1, 36864, 0x7d50d329
+0, 7, 7, 1, 36864, 0xf2c2cd27
+0, 8, 8, 1, 36864, 0xdf4f4628
+0, 9, 9, 1, 36864, 0xddd6d5be
+0, 10, 10, 1, 36864, 0xb530e1aa
+0, 11, 11, 1, 36864, 0xeca42470
+0, 12, 12, 1, 36864, 0xa5701caf
+0, 13, 13, 1, 36864, 0x6f5d28fc
+0, 14, 14, 1, 36864, 0xd4ab4ab2
+0, 15, 15, 1, 36864, 0xf2dfcc22
+0, 16, 16, 1, 36864, 0xcaa87e79
diff --git a/tests/ref/fate/h264-conformance-frext-alphaconformanceg b/tests/ref/fate/h264-conformance-frext-alphaconformanceg
index 02a7274292..dee1c424ff 100644
--- a/tests/ref/fate/h264-conformance-frext-alphaconformanceg
+++ b/tests/ref/fate/h264-conformance-frext-alphaconformanceg
@@ -1,43 +1,44 @@
-0, 0, 783360, 0xbc458a9a
-0, 3600, 783360, 0xc2b4a765
-0, 7200, 783360, 0x40a8ca87
-0, 10800, 783360, 0xdd0cbc2c
-0, 14400, 783360, 0xecf8e434
-0, 18000, 783360, 0xcc87e3d4
-0, 21600, 783360, 0x386e1a34
-0, 25200, 783360, 0x6ac4a62e
-0, 28800, 783360, 0xf23d89bb
-0, 32400, 783360, 0x52f7b94c
-0, 36000, 783360, 0x2b4ea2c2
-0, 39600, 783360, 0x0a43839c
-0, 43200, 783360, 0xad4b81ea
-0, 46800, 783360, 0xcb4fe0d4
-0, 50400, 783360, 0x6c3ca755
-0, 54000, 783360, 0x17d37f49
-0, 57600, 783360, 0x8fdfebec
-0, 61200, 783360, 0x1a177b49
-0, 64800, 783360, 0x72d230ad
-0, 68400, 783360, 0x62147d69
-0, 72000, 783360, 0xeed9b62c
-0, 75600, 783360, 0x7fc45b23
-0, 79200, 783360, 0x5dc60681
-0, 82800, 783360, 0x2d91c001
-0, 86400, 783360, 0x259ab608
-0, 90000, 783360, 0x29112b29
-0, 93600, 783360, 0x7e4d497e
-0, 97200, 783360, 0x616e5507
-0, 100800, 783360, 0x299473c9
-0, 104400, 783360, 0x4d63d722
-0, 108000, 783360, 0xa89e4bc6
-0, 111600, 783360, 0xbdef585a
-0, 115200, 783360, 0x5b12c72c
-0, 118800, 783360, 0x5a884bd8
-0, 122400, 783360, 0x97728ade
-0, 126000, 783360, 0x27dd8999
-0, 129600, 783360, 0x94104d66
-0, 133200, 783360, 0xf30244f1
-0, 136800, 783360, 0xfc98c63e
-0, 140400, 783360, 0x8b27de2e
-0, 144000, 783360, 0xfc6bbbf2
-0, 147600, 783360, 0x4527b6a3
-0, 151200, 783360, 0x4070daf0
+#tb 0: 1/25
+0, 0, 0, 1, 783360, 0xbc458a9a
+0, 1, 1, 1, 783360, 0xc2b4a765
+0, 2, 2, 1, 783360, 0x40a8ca87
+0, 3, 3, 1, 783360, 0xdd0cbc2c
+0, 4, 4, 1, 783360, 0xecf8e434
+0, 5, 5, 1, 783360, 0xcc87e3d4
+0, 6, 6, 1, 783360, 0x386e1a34
+0, 7, 7, 1, 783360, 0x6ac4a62e
+0, 8, 8, 1, 783360, 0xf23d89bb
+0, 9, 9, 1, 783360, 0x52f7b94c
+0, 10, 10, 1, 783360, 0x2b4ea2c2
+0, 11, 11, 1, 783360, 0x0a43839c
+0, 12, 12, 1, 783360, 0xad4b81ea
+0, 13, 13, 1, 783360, 0xcb4fe0d4
+0, 14, 14, 1, 783360, 0x6c3ca755
+0, 15, 15, 1, 783360, 0x17d37f49
+0, 16, 16, 1, 783360, 0x8fdfebec
+0, 17, 17, 1, 783360, 0x1a177b49
+0, 18, 18, 1, 783360, 0x72d230ad
+0, 19, 19, 1, 783360, 0x62147d69
+0, 20, 20, 1, 783360, 0xeed9b62c
+0, 21, 21, 1, 783360, 0x7fc45b23
+0, 22, 22, 1, 783360, 0x5dc60681
+0, 23, 23, 1, 783360, 0x2d91c001
+0, 24, 24, 1, 783360, 0x259ab608
+0, 25, 25, 1, 783360, 0x29112b29
+0, 26, 26, 1, 783360, 0x7e4d497e
+0, 27, 27, 1, 783360, 0x616e5507
+0, 28, 28, 1, 783360, 0x299473c9
+0, 29, 29, 1, 783360, 0x4d63d722
+0, 30, 30, 1, 783360, 0xa89e4bc6
+0, 31, 31, 1, 783360, 0xbdef585a
+0, 32, 32, 1, 783360, 0x5b12c72c
+0, 33, 33, 1, 783360, 0x5a884bd8
+0, 34, 34, 1, 783360, 0x97728ade
+0, 35, 35, 1, 783360, 0x27dd8999
+0, 36, 36, 1, 783360, 0x94104d66
+0, 37, 37, 1, 783360, 0xf30244f1
+0, 38, 38, 1, 783360, 0xfc98c63e
+0, 39, 39, 1, 783360, 0x8b27de2e
+0, 40, 40, 1, 783360, 0xfc6bbbf2
+0, 41, 41, 1, 783360, 0x4527b6a3
+0, 42, 42, 1, 783360, 0x4070daf0
diff --git a/tests/ref/fate/h264-conformance-frext-bcrm_freh10 b/tests/ref/fate/h264-conformance-frext-bcrm_freh10
index 252214ebda..272a4aa235 100644
--- a/tests/ref/fate/h264-conformance-frext-bcrm_freh10
+++ b/tests/ref/fate/h264-conformance-frext-bcrm_freh10
@@ -1,100 +1,101 @@
-0, 0, 152064, 0xbdc2b880
-0, 3600, 152064, 0x4ebf93fe
-0, 7200, 152064, 0xe30d6871
-0, 10800, 152064, 0x04f46b9b
-0, 14400, 152064, 0xd7dd219a
-0, 18000, 152064, 0x02fc6511
-0, 21600, 152064, 0x98868faa
-0, 25200, 152064, 0x54b94f92
-0, 28800, 152064, 0xe3b6be4b
-0, 32400, 152064, 0xf148cf10
-0, 36000, 152064, 0xda3239b8
-0, 39600, 152064, 0x6c5d7331
-0, 43200, 152064, 0x825f1fea
-0, 46800, 152064, 0x47791056
-0, 50400, 152064, 0xc08e8a58
-0, 54000, 152064, 0x020299f3
-0, 57600, 152064, 0x0dfd4457
-0, 61200, 152064, 0xcf005e68
-0, 64800, 152064, 0x1f9e2c32
-0, 68400, 152064, 0xa8359324
-0, 72000, 152064, 0x4b03752d
-0, 75600, 152064, 0xd6281621
-0, 79200, 152064, 0xc97ac928
-0, 82800, 152064, 0xded90dcd
-0, 86400, 152064, 0xd6883255
-0, 90000, 152064, 0x6edb4d4f
-0, 93600, 152064, 0xd6f93a80
-0, 97200, 152064, 0x163d6153
-0, 100800, 152064, 0x04b90c06
-0, 104400, 152064, 0xee8730c1
-0, 108000, 152064, 0xd5f5c669
-0, 111600, 152064, 0xcc600b1f
-0, 115200, 152064, 0x15ddde03
-0, 118800, 152064, 0xd0388dd0
-0, 122400, 152064, 0xa292ab7d
-0, 126000, 152064, 0xacf584e9
-0, 129600, 152064, 0xcef42714
-0, 133200, 152064, 0xeb162f35
-0, 136800, 152064, 0x0a07de7b
-0, 140400, 152064, 0x7ae76c81
-0, 144000, 152064, 0x139c8fda
-0, 147600, 152064, 0x43724411
-0, 151200, 152064, 0x07b2ddea
-0, 154800, 152064, 0x831a1cc7
-0, 158400, 152064, 0x092f5073
-0, 162000, 152064, 0xe5b6d380
-0, 165600, 152064, 0xdd30d69e
-0, 169200, 152064, 0x887020b2
-0, 172800, 152064, 0x84436510
-0, 176400, 152064, 0x49f63606
-0, 180000, 152064, 0x6b96e959
-0, 183600, 152064, 0xc6247cc7
-0, 187200, 152064, 0x7a67c532
-0, 190800, 152064, 0x93f4c476
-0, 194400, 152064, 0x3c119654
-0, 198000, 152064, 0xa45f7c72
-0, 201600, 152064, 0x2ac50cb0
-0, 205200, 152064, 0x9bf16d06
-0, 208800, 152064, 0xfa0750d9
-0, 212400, 152064, 0x02197630
-0, 216000, 152064, 0x6d44f9b5
-0, 219600, 152064, 0x86b211f5
-0, 223200, 152064, 0xf4fda5d0
-0, 226800, 152064, 0x36f840a7
-0, 230400, 152064, 0x42412992
-0, 234000, 152064, 0xd0c9ba37
-0, 237600, 152064, 0xc40eba62
-0, 241200, 152064, 0x2d093b53
-0, 244800, 152064, 0xee39c69c
-0, 248400, 152064, 0xcbbf8968
-0, 252000, 152064, 0xfddc1704
-0, 255600, 152064, 0x8dc47c61
-0, 259200, 152064, 0xf15580bf
-0, 262800, 152064, 0x9c71a8b0
-0, 266400, 152064, 0x19b90b9f
-0, 270000, 152064, 0xb65ae287
-0, 273600, 152064, 0xf265693d
-0, 277200, 152064, 0x721714a1
-0, 280800, 152064, 0x383e8ac5
-0, 284400, 152064, 0x02558677
-0, 288000, 152064, 0xdaab3cdf
-0, 291600, 152064, 0xc939a2f6
-0, 295200, 152064, 0x977afa7f
-0, 298800, 152064, 0xe5e65f35
-0, 302400, 152064, 0x247546fa
-0, 306000, 152064, 0x49ff2094
-0, 309600, 152064, 0x9fd58cda
-0, 313200, 152064, 0x3e31b6e3
-0, 316800, 152064, 0x75c6d796
-0, 320400, 152064, 0x4ab3e7bb
-0, 324000, 152064, 0x393935ea
-0, 327600, 152064, 0xc8e62905
-0, 331200, 152064, 0xbb149e61
-0, 334800, 152064, 0x2553c4c5
-0, 338400, 152064, 0x7f82a8b4
-0, 342000, 152064, 0x26ef31e6
-0, 345600, 152064, 0xf029744a
-0, 349200, 152064, 0x0a6f191a
-0, 352800, 152064, 0x55808643
-0, 356400, 152064, 0x27576172
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xbdc2b880
+0, 1, 1, 1, 152064, 0x4ebf93fe
+0, 2, 2, 1, 152064, 0xe30d6871
+0, 3, 3, 1, 152064, 0x04f46b9b
+0, 4, 4, 1, 152064, 0xd7dd219a
+0, 5, 5, 1, 152064, 0x02fc6511
+0, 6, 6, 1, 152064, 0x98868faa
+0, 7, 7, 1, 152064, 0x54b94f92
+0, 8, 8, 1, 152064, 0xe3b6be4b
+0, 9, 9, 1, 152064, 0xf148cf10
+0, 10, 10, 1, 152064, 0xda3239b8
+0, 11, 11, 1, 152064, 0x6c5d7331
+0, 12, 12, 1, 152064, 0x825f1fea
+0, 13, 13, 1, 152064, 0x47791056
+0, 14, 14, 1, 152064, 0xc08e8a58
+0, 15, 15, 1, 152064, 0x020299f3
+0, 16, 16, 1, 152064, 0x0dfd4457
+0, 17, 17, 1, 152064, 0xcf005e68
+0, 18, 18, 1, 152064, 0x1f9e2c32
+0, 19, 19, 1, 152064, 0xa8359324
+0, 20, 20, 1, 152064, 0x4b03752d
+0, 21, 21, 1, 152064, 0xd6281621
+0, 22, 22, 1, 152064, 0xc97ac928
+0, 23, 23, 1, 152064, 0xded90dcd
+0, 24, 24, 1, 152064, 0xd6883255
+0, 25, 25, 1, 152064, 0x6edb4d4f
+0, 26, 26, 1, 152064, 0xd6f93a80
+0, 27, 27, 1, 152064, 0x163d6153
+0, 28, 28, 1, 152064, 0x04b90c06
+0, 29, 29, 1, 152064, 0xee8730c1
+0, 30, 30, 1, 152064, 0xd5f5c669
+0, 31, 31, 1, 152064, 0xcc600b1f
+0, 32, 32, 1, 152064, 0x15ddde03
+0, 33, 33, 1, 152064, 0xd0388dd0
+0, 34, 34, 1, 152064, 0xa292ab7d
+0, 35, 35, 1, 152064, 0xacf584e9
+0, 36, 36, 1, 152064, 0xcef42714
+0, 37, 37, 1, 152064, 0xeb162f35
+0, 38, 38, 1, 152064, 0x0a07de7b
+0, 39, 39, 1, 152064, 0x7ae76c81
+0, 40, 40, 1, 152064, 0x139c8fda
+0, 41, 41, 1, 152064, 0x43724411
+0, 42, 42, 1, 152064, 0x07b2ddea
+0, 43, 43, 1, 152064, 0x831a1cc7
+0, 44, 44, 1, 152064, 0x092f5073
+0, 45, 45, 1, 152064, 0xe5b6d380
+0, 46, 46, 1, 152064, 0xdd30d69e
+0, 47, 47, 1, 152064, 0x887020b2
+0, 48, 48, 1, 152064, 0x84436510
+0, 49, 49, 1, 152064, 0x49f63606
+0, 50, 50, 1, 152064, 0x6b96e959
+0, 51, 51, 1, 152064, 0xc6247cc7
+0, 52, 52, 1, 152064, 0x7a67c532
+0, 53, 53, 1, 152064, 0x93f4c476
+0, 54, 54, 1, 152064, 0x3c119654
+0, 55, 55, 1, 152064, 0xa45f7c72
+0, 56, 56, 1, 152064, 0x2ac50cb0
+0, 57, 57, 1, 152064, 0x9bf16d06
+0, 58, 58, 1, 152064, 0xfa0750d9
+0, 59, 59, 1, 152064, 0x02197630
+0, 60, 60, 1, 152064, 0x6d44f9b5
+0, 61, 61, 1, 152064, 0x86b211f5
+0, 62, 62, 1, 152064, 0xf4fda5d0
+0, 63, 63, 1, 152064, 0x36f840a7
+0, 64, 64, 1, 152064, 0x42412992
+0, 65, 65, 1, 152064, 0xd0c9ba37
+0, 66, 66, 1, 152064, 0xc40eba62
+0, 67, 67, 1, 152064, 0x2d093b53
+0, 68, 68, 1, 152064, 0xee39c69c
+0, 69, 69, 1, 152064, 0xcbbf8968
+0, 70, 70, 1, 152064, 0xfddc1704
+0, 71, 71, 1, 152064, 0x8dc47c61
+0, 72, 72, 1, 152064, 0xf15580bf
+0, 73, 73, 1, 152064, 0x9c71a8b0
+0, 74, 74, 1, 152064, 0x19b90b9f
+0, 75, 75, 1, 152064, 0xb65ae287
+0, 76, 76, 1, 152064, 0xf265693d
+0, 77, 77, 1, 152064, 0x721714a1
+0, 78, 78, 1, 152064, 0x383e8ac5
+0, 79, 79, 1, 152064, 0x02558677
+0, 80, 80, 1, 152064, 0xdaab3cdf
+0, 81, 81, 1, 152064, 0xc939a2f6
+0, 82, 82, 1, 152064, 0x977afa7f
+0, 83, 83, 1, 152064, 0xe5e65f35
+0, 84, 84, 1, 152064, 0x247546fa
+0, 85, 85, 1, 152064, 0x49ff2094
+0, 86, 86, 1, 152064, 0x9fd58cda
+0, 87, 87, 1, 152064, 0x3e31b6e3
+0, 88, 88, 1, 152064, 0x75c6d796
+0, 89, 89, 1, 152064, 0x4ab3e7bb
+0, 90, 90, 1, 152064, 0x393935ea
+0, 91, 91, 1, 152064, 0xc8e62905
+0, 92, 92, 1, 152064, 0xbb149e61
+0, 93, 93, 1, 152064, 0x2553c4c5
+0, 94, 94, 1, 152064, 0x7f82a8b4
+0, 95, 95, 1, 152064, 0x26ef31e6
+0, 96, 96, 1, 152064, 0xf029744a
+0, 97, 97, 1, 152064, 0x0a6f191a
+0, 98, 98, 1, 152064, 0x55808643
+0, 99, 99, 1, 152064, 0x27576172
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh11 b/tests/ref/fate/h264-conformance-frext-brcm_freh11
index fa2e708dc6..3183c4dd0e 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh11
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh11
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x9744ac59
-0, 3600, 152064, 0x3eba88bf
-0, 7200, 152064, 0xd4105c5a
-0, 10800, 152064, 0x452966a3
-0, 14400, 152064, 0x30071add
-0, 18000, 152064, 0x0eb75245
-0, 21600, 152064, 0x4daa80fa
-0, 25200, 152064, 0xf53a43a1
-0, 28800, 152064, 0xa55ab43d
-0, 32400, 152064, 0x915ec82e
-0, 36000, 152064, 0xadce2f9a
-0, 39600, 152064, 0xf7a25715
-0, 43200, 152064, 0x90c91c7d
-0, 46800, 152064, 0x4f0df4ef
-0, 50400, 152064, 0xf6e0783c
-0, 54000, 152064, 0x417c8ca8
-0, 57600, 152064, 0xd33d29d8
-0, 61200, 152064, 0xc9723fa3
-0, 64800, 152064, 0x3e4f22f4
-0, 68400, 152064, 0xd5aa7bd8
-0, 72000, 152064, 0x2a425b54
-0, 75600, 152064, 0x2d400788
-0, 79200, 152064, 0x12fab3a4
-0, 82800, 152064, 0x5544f881
-0, 86400, 152064, 0xd0612cc5
-0, 90000, 152064, 0x157b3654
-0, 93600, 152064, 0x04b61fe0
-0, 97200, 152064, 0x897d600a
-0, 100800, 152064, 0x0d94fa29
-0, 104400, 152064, 0xc0fe249d
-0, 108000, 152064, 0x65abc1d6
-0, 111600, 152064, 0x2bd5f09d
-0, 115200, 152064, 0xd3eebd28
-0, 118800, 152064, 0x93458649
-0, 122400, 152064, 0x55e793a6
-0, 126000, 152064, 0x9fc378ce
-0, 129600, 152064, 0x24c32731
-0, 133200, 152064, 0x3c321c50
-0, 136800, 152064, 0xcef3ca8b
-0, 140400, 152064, 0x97116676
-0, 144000, 152064, 0x73ae78f6
-0, 147600, 152064, 0xdeec219e
-0, 151200, 152064, 0xc061d584
-0, 154800, 152064, 0xcf47f6c9
-0, 158400, 152064, 0x280d3a2d
-0, 162000, 152064, 0xb660c846
-0, 165600, 152064, 0xe167c588
-0, 169200, 152064, 0x08f808de
-0, 172800, 152064, 0x9de65c0b
-0, 176400, 152064, 0xc52a1937
-0, 180000, 152064, 0xf5a4d86f
-0, 183600, 152064, 0xbef86d37
-0, 187200, 152064, 0xa227b21b
-0, 190800, 152064, 0x0601ad35
-0, 194400, 152064, 0x15198730
-0, 198000, 152064, 0x9af764c6
-0, 201600, 152064, 0x1a95e99a
-0, 205200, 152064, 0x6bef5aa8
-0, 208800, 152064, 0x92f03267
-0, 212400, 152064, 0x0a3d56cb
-0, 216000, 152064, 0xd9c9f62e
-0, 219600, 152064, 0xcd81ea16
-0, 223200, 152064, 0x8ed789c0
-0, 226800, 152064, 0x5a5e356f
-0, 230400, 152064, 0x2f260ebf
-0, 234000, 152064, 0xa0379c89
-0, 237600, 152064, 0x100cb40c
-0, 241200, 152064, 0xaad2220a
-0, 244800, 152064, 0xec82aa8d
-0, 248400, 152064, 0x91088303
-0, 252000, 152064, 0x0cce0e9e
-0, 255600, 152064, 0xf3bc716a
-0, 259200, 152064, 0x989879c5
-0, 262800, 152064, 0x491297a0
-0, 266400, 152064, 0xdc16f30d
-0, 270000, 152064, 0xb9bfdd57
-0, 273600, 152064, 0x5fba59c2
-0, 277200, 152064, 0x89c40529
-0, 280800, 152064, 0x1b3e7b54
-0, 284400, 152064, 0x5d0d7903
-0, 288000, 152064, 0x2e3434e1
-0, 291600, 152064, 0x1f47a276
-0, 295200, 152064, 0xa22de2b1
-0, 298800, 152064, 0x77344844
-0, 302400, 152064, 0x6a6b3fce
-0, 306000, 152064, 0x82660651
-0, 309600, 152064, 0x51e67cc9
-0, 313200, 152064, 0xb790ae51
-0, 316800, 152064, 0x906bc6b6
-0, 320400, 152064, 0x55c5dc21
-0, 324000, 152064, 0xb51f3004
-0, 327600, 152064, 0x68500a25
-0, 331200, 152064, 0x5dbc812e
-0, 334800, 152064, 0x895eb6ed
-0, 338400, 152064, 0x2f5594fc
-0, 342000, 152064, 0x04a222a9
-0, 345600, 152064, 0x90036f6a
-0, 349200, 152064, 0x8b8b064c
-0, 352800, 152064, 0xd47c7334
-0, 356400, 152064, 0x13f06213
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9744ac59
+0, 1, 1, 1, 152064, 0x3eba88bf
+0, 2, 2, 1, 152064, 0xd4105c5a
+0, 3, 3, 1, 152064, 0x452966a3
+0, 4, 4, 1, 152064, 0x30071add
+0, 5, 5, 1, 152064, 0x0eb75245
+0, 6, 6, 1, 152064, 0x4daa80fa
+0, 7, 7, 1, 152064, 0xf53a43a1
+0, 8, 8, 1, 152064, 0xa55ab43d
+0, 9, 9, 1, 152064, 0x915ec82e
+0, 10, 10, 1, 152064, 0xadce2f9a
+0, 11, 11, 1, 152064, 0xf7a25715
+0, 12, 12, 1, 152064, 0x90c91c7d
+0, 13, 13, 1, 152064, 0x4f0df4ef
+0, 14, 14, 1, 152064, 0xf6e0783c
+0, 15, 15, 1, 152064, 0x417c8ca8
+0, 16, 16, 1, 152064, 0xd33d29d8
+0, 17, 17, 1, 152064, 0xc9723fa3
+0, 18, 18, 1, 152064, 0x3e4f22f4
+0, 19, 19, 1, 152064, 0xd5aa7bd8
+0, 20, 20, 1, 152064, 0x2a425b54
+0, 21, 21, 1, 152064, 0x2d400788
+0, 22, 22, 1, 152064, 0x12fab3a4
+0, 23, 23, 1, 152064, 0x5544f881
+0, 24, 24, 1, 152064, 0xd0612cc5
+0, 25, 25, 1, 152064, 0x157b3654
+0, 26, 26, 1, 152064, 0x04b61fe0
+0, 27, 27, 1, 152064, 0x897d600a
+0, 28, 28, 1, 152064, 0x0d94fa29
+0, 29, 29, 1, 152064, 0xc0fe249d
+0, 30, 30, 1, 152064, 0x65abc1d6
+0, 31, 31, 1, 152064, 0x2bd5f09d
+0, 32, 32, 1, 152064, 0xd3eebd28
+0, 33, 33, 1, 152064, 0x93458649
+0, 34, 34, 1, 152064, 0x55e793a6
+0, 35, 35, 1, 152064, 0x9fc378ce
+0, 36, 36, 1, 152064, 0x24c32731
+0, 37, 37, 1, 152064, 0x3c321c50
+0, 38, 38, 1, 152064, 0xcef3ca8b
+0, 39, 39, 1, 152064, 0x97116676
+0, 40, 40, 1, 152064, 0x73ae78f6
+0, 41, 41, 1, 152064, 0xdeec219e
+0, 42, 42, 1, 152064, 0xc061d584
+0, 43, 43, 1, 152064, 0xcf47f6c9
+0, 44, 44, 1, 152064, 0x280d3a2d
+0, 45, 45, 1, 152064, 0xb660c846
+0, 46, 46, 1, 152064, 0xe167c588
+0, 47, 47, 1, 152064, 0x08f808de
+0, 48, 48, 1, 152064, 0x9de65c0b
+0, 49, 49, 1, 152064, 0xc52a1937
+0, 50, 50, 1, 152064, 0xf5a4d86f
+0, 51, 51, 1, 152064, 0xbef86d37
+0, 52, 52, 1, 152064, 0xa227b21b
+0, 53, 53, 1, 152064, 0x0601ad35
+0, 54, 54, 1, 152064, 0x15198730
+0, 55, 55, 1, 152064, 0x9af764c6
+0, 56, 56, 1, 152064, 0x1a95e99a
+0, 57, 57, 1, 152064, 0x6bef5aa8
+0, 58, 58, 1, 152064, 0x92f03267
+0, 59, 59, 1, 152064, 0x0a3d56cb
+0, 60, 60, 1, 152064, 0xd9c9f62e
+0, 61, 61, 1, 152064, 0xcd81ea16
+0, 62, 62, 1, 152064, 0x8ed789c0
+0, 63, 63, 1, 152064, 0x5a5e356f
+0, 64, 64, 1, 152064, 0x2f260ebf
+0, 65, 65, 1, 152064, 0xa0379c89
+0, 66, 66, 1, 152064, 0x100cb40c
+0, 67, 67, 1, 152064, 0xaad2220a
+0, 68, 68, 1, 152064, 0xec82aa8d
+0, 69, 69, 1, 152064, 0x91088303
+0, 70, 70, 1, 152064, 0x0cce0e9e
+0, 71, 71, 1, 152064, 0xf3bc716a
+0, 72, 72, 1, 152064, 0x989879c5
+0, 73, 73, 1, 152064, 0x491297a0
+0, 74, 74, 1, 152064, 0xdc16f30d
+0, 75, 75, 1, 152064, 0xb9bfdd57
+0, 76, 76, 1, 152064, 0x5fba59c2
+0, 77, 77, 1, 152064, 0x89c40529
+0, 78, 78, 1, 152064, 0x1b3e7b54
+0, 79, 79, 1, 152064, 0x5d0d7903
+0, 80, 80, 1, 152064, 0x2e3434e1
+0, 81, 81, 1, 152064, 0x1f47a276
+0, 82, 82, 1, 152064, 0xa22de2b1
+0, 83, 83, 1, 152064, 0x77344844
+0, 84, 84, 1, 152064, 0x6a6b3fce
+0, 85, 85, 1, 152064, 0x82660651
+0, 86, 86, 1, 152064, 0x51e67cc9
+0, 87, 87, 1, 152064, 0xb790ae51
+0, 88, 88, 1, 152064, 0x906bc6b6
+0, 89, 89, 1, 152064, 0x55c5dc21
+0, 90, 90, 1, 152064, 0xb51f3004
+0, 91, 91, 1, 152064, 0x68500a25
+0, 92, 92, 1, 152064, 0x5dbc812e
+0, 93, 93, 1, 152064, 0x895eb6ed
+0, 94, 94, 1, 152064, 0x2f5594fc
+0, 95, 95, 1, 152064, 0x04a222a9
+0, 96, 96, 1, 152064, 0x90036f6a
+0, 97, 97, 1, 152064, 0x8b8b064c
+0, 98, 98, 1, 152064, 0xd47c7334
+0, 99, 99, 1, 152064, 0x13f06213
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh3 b/tests/ref/fate/h264-conformance-frext-brcm_freh3
index 4a5671024c..9a40148572 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh3
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh3
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x9f9caf3c
-0, 3600, 152064, 0x4e8e9dc4
-0, 7200, 152064, 0x7eab62be
-0, 10800, 152064, 0x79de6e48
-0, 14400, 152064, 0x6bb843f3
-0, 18000, 152064, 0xd0e96c36
-0, 21600, 152064, 0x061a9036
-0, 25200, 152064, 0x342c42ea
-0, 28800, 152064, 0x9835cfc3
-0, 32400, 152064, 0x129ed3dd
-0, 36000, 152064, 0x81413cf7
-0, 39600, 152064, 0xcd16539e
-0, 43200, 152064, 0x927728cd
-0, 46800, 152064, 0x5ebd1126
-0, 50400, 152064, 0x9ad29eb3
-0, 54000, 152064, 0x0ae5a447
-0, 57600, 152064, 0xaf275266
-0, 61200, 152064, 0x98f96209
-0, 64800, 152064, 0x5fcf241f
-0, 68400, 152064, 0x17507ee5
-0, 72000, 152064, 0xb4ad5f2d
-0, 75600, 152064, 0x02fff6da
-0, 79200, 152064, 0x8726c662
-0, 82800, 152064, 0x8ca707d5
-0, 86400, 152064, 0xe41f3946
-0, 90000, 152064, 0xc7b34d1e
-0, 93600, 152064, 0x25146571
-0, 97200, 152064, 0xeb4868f4
-0, 100800, 152064, 0xd0fe149d
-0, 104400, 152064, 0x31043d0a
-0, 108000, 152064, 0xdaf2ba1c
-0, 111600, 152064, 0xb474076c
-0, 115200, 152064, 0x0cf7f1a2
-0, 118800, 152064, 0x2e427793
-0, 122400, 152064, 0x08d9a655
-0, 126000, 152064, 0x79bc8fc9
-0, 129600, 152064, 0xb9871e5c
-0, 133200, 152064, 0xca1246df
-0, 136800, 152064, 0x08c8d524
-0, 140400, 152064, 0xb9be5ecb
-0, 144000, 152064, 0x807f87f0
-0, 147600, 152064, 0x72eb3ab2
-0, 151200, 152064, 0xf463d15f
-0, 154800, 152064, 0x857d0471
-0, 158400, 152064, 0x5dda5ede
-0, 162000, 152064, 0xec33b550
-0, 165600, 152064, 0x2217b9bb
-0, 169200, 152064, 0x060b0fa4
-0, 172800, 152064, 0x5a785b49
-0, 176400, 152064, 0x6969268b
-0, 180000, 152064, 0xe145d3a4
-0, 183600, 152064, 0xb7256e99
-0, 187200, 152064, 0x5bbebf16
-0, 190800, 152064, 0x9234b31e
-0, 194400, 152064, 0x9f0f8c7e
-0, 198000, 152064, 0x15e271c4
-0, 201600, 152064, 0xe8110297
-0, 205200, 152064, 0x1a4364f3
-0, 208800, 152064, 0xb7b336f8
-0, 212400, 152064, 0x31657acb
-0, 216000, 152064, 0xd8e1de00
-0, 219600, 152064, 0x9a57117a
-0, 223200, 152064, 0xfb828be8
-0, 226800, 152064, 0x30bf2ab7
-0, 230400, 152064, 0xaf840b27
-0, 234000, 152064, 0x900cbcd4
-0, 237600, 152064, 0x6439acfc
-0, 241200, 152064, 0x716036fd
-0, 244800, 152064, 0xc3d9baa8
-0, 248400, 152064, 0x455f7d1f
-0, 252000, 152064, 0x84c10d78
-0, 255600, 152064, 0x2cd76642
-0, 259200, 152064, 0x5c746b3a
-0, 262800, 152064, 0x92e39e7d
-0, 266400, 152064, 0xae610df8
-0, 270000, 152064, 0xc8bac3fa
-0, 273600, 152064, 0x04be8a35
-0, 277200, 152064, 0xaaf91b17
-0, 280800, 152064, 0x5afa8764
-0, 284400, 152064, 0x31828a12
-0, 288000, 152064, 0xf1bd3da9
-0, 291600, 152064, 0xbbb2aaef
-0, 295200, 152064, 0xcf69efa1
-0, 298800, 152064, 0x54e85e1b
-0, 302400, 152064, 0x89ff3a1a
-0, 306000, 152064, 0x86c80511
-0, 309600, 152064, 0x41c886f2
-0, 313200, 152064, 0x9f2ebd74
-0, 316800, 152064, 0x74d3d0e0
-0, 320400, 152064, 0xc79501cc
-0, 324000, 152064, 0x123e23e2
-0, 327600, 152064, 0xb6122ea0
-0, 331200, 152064, 0x551f95df
-0, 334800, 152064, 0x0652ac2d
-0, 338400, 152064, 0x6483a8ad
-0, 342000, 152064, 0x7f632ae2
-0, 345600, 152064, 0xae74622f
-0, 349200, 152064, 0xdd411339
-0, 352800, 152064, 0xff0e7f69
-0, 356400, 152064, 0x8b3a5933
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9f9caf3c
+0, 1, 1, 1, 152064, 0x4e8e9dc4
+0, 2, 2, 1, 152064, 0x7eab62be
+0, 3, 3, 1, 152064, 0x79de6e48
+0, 4, 4, 1, 152064, 0x6bb843f3
+0, 5, 5, 1, 152064, 0xd0e96c36
+0, 6, 6, 1, 152064, 0x061a9036
+0, 7, 7, 1, 152064, 0x342c42ea
+0, 8, 8, 1, 152064, 0x9835cfc3
+0, 9, 9, 1, 152064, 0x129ed3dd
+0, 10, 10, 1, 152064, 0x81413cf7
+0, 11, 11, 1, 152064, 0xcd16539e
+0, 12, 12, 1, 152064, 0x927728cd
+0, 13, 13, 1, 152064, 0x5ebd1126
+0, 14, 14, 1, 152064, 0x9ad29eb3
+0, 15, 15, 1, 152064, 0x0ae5a447
+0, 16, 16, 1, 152064, 0xaf275266
+0, 17, 17, 1, 152064, 0x98f96209
+0, 18, 18, 1, 152064, 0x5fcf241f
+0, 19, 19, 1, 152064, 0x17507ee5
+0, 20, 20, 1, 152064, 0xb4ad5f2d
+0, 21, 21, 1, 152064, 0x02fff6da
+0, 22, 22, 1, 152064, 0x8726c662
+0, 23, 23, 1, 152064, 0x8ca707d5
+0, 24, 24, 1, 152064, 0xe41f3946
+0, 25, 25, 1, 152064, 0xc7b34d1e
+0, 26, 26, 1, 152064, 0x25146571
+0, 27, 27, 1, 152064, 0xeb4868f4
+0, 28, 28, 1, 152064, 0xd0fe149d
+0, 29, 29, 1, 152064, 0x31043d0a
+0, 30, 30, 1, 152064, 0xdaf2ba1c
+0, 31, 31, 1, 152064, 0xb474076c
+0, 32, 32, 1, 152064, 0x0cf7f1a2
+0, 33, 33, 1, 152064, 0x2e427793
+0, 34, 34, 1, 152064, 0x08d9a655
+0, 35, 35, 1, 152064, 0x79bc8fc9
+0, 36, 36, 1, 152064, 0xb9871e5c
+0, 37, 37, 1, 152064, 0xca1246df
+0, 38, 38, 1, 152064, 0x08c8d524
+0, 39, 39, 1, 152064, 0xb9be5ecb
+0, 40, 40, 1, 152064, 0x807f87f0
+0, 41, 41, 1, 152064, 0x72eb3ab2
+0, 42, 42, 1, 152064, 0xf463d15f
+0, 43, 43, 1, 152064, 0x857d0471
+0, 44, 44, 1, 152064, 0x5dda5ede
+0, 45, 45, 1, 152064, 0xec33b550
+0, 46, 46, 1, 152064, 0x2217b9bb
+0, 47, 47, 1, 152064, 0x060b0fa4
+0, 48, 48, 1, 152064, 0x5a785b49
+0, 49, 49, 1, 152064, 0x6969268b
+0, 50, 50, 1, 152064, 0xe145d3a4
+0, 51, 51, 1, 152064, 0xb7256e99
+0, 52, 52, 1, 152064, 0x5bbebf16
+0, 53, 53, 1, 152064, 0x9234b31e
+0, 54, 54, 1, 152064, 0x9f0f8c7e
+0, 55, 55, 1, 152064, 0x15e271c4
+0, 56, 56, 1, 152064, 0xe8110297
+0, 57, 57, 1, 152064, 0x1a4364f3
+0, 58, 58, 1, 152064, 0xb7b336f8
+0, 59, 59, 1, 152064, 0x31657acb
+0, 60, 60, 1, 152064, 0xd8e1de00
+0, 61, 61, 1, 152064, 0x9a57117a
+0, 62, 62, 1, 152064, 0xfb828be8
+0, 63, 63, 1, 152064, 0x30bf2ab7
+0, 64, 64, 1, 152064, 0xaf840b27
+0, 65, 65, 1, 152064, 0x900cbcd4
+0, 66, 66, 1, 152064, 0x6439acfc
+0, 67, 67, 1, 152064, 0x716036fd
+0, 68, 68, 1, 152064, 0xc3d9baa8
+0, 69, 69, 1, 152064, 0x455f7d1f
+0, 70, 70, 1, 152064, 0x84c10d78
+0, 71, 71, 1, 152064, 0x2cd76642
+0, 72, 72, 1, 152064, 0x5c746b3a
+0, 73, 73, 1, 152064, 0x92e39e7d
+0, 74, 74, 1, 152064, 0xae610df8
+0, 75, 75, 1, 152064, 0xc8bac3fa
+0, 76, 76, 1, 152064, 0x04be8a35
+0, 77, 77, 1, 152064, 0xaaf91b17
+0, 78, 78, 1, 152064, 0x5afa8764
+0, 79, 79, 1, 152064, 0x31828a12
+0, 80, 80, 1, 152064, 0xf1bd3da9
+0, 81, 81, 1, 152064, 0xbbb2aaef
+0, 82, 82, 1, 152064, 0xcf69efa1
+0, 83, 83, 1, 152064, 0x54e85e1b
+0, 84, 84, 1, 152064, 0x89ff3a1a
+0, 85, 85, 1, 152064, 0x86c80511
+0, 86, 86, 1, 152064, 0x41c886f2
+0, 87, 87, 1, 152064, 0x9f2ebd74
+0, 88, 88, 1, 152064, 0x74d3d0e0
+0, 89, 89, 1, 152064, 0xc79501cc
+0, 90, 90, 1, 152064, 0x123e23e2
+0, 91, 91, 1, 152064, 0xb6122ea0
+0, 92, 92, 1, 152064, 0x551f95df
+0, 93, 93, 1, 152064, 0x0652ac2d
+0, 94, 94, 1, 152064, 0x6483a8ad
+0, 95, 95, 1, 152064, 0x7f632ae2
+0, 96, 96, 1, 152064, 0xae74622f
+0, 97, 97, 1, 152064, 0xdd411339
+0, 98, 98, 1, 152064, 0xff0e7f69
+0, 99, 99, 1, 152064, 0x8b3a5933
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh4 b/tests/ref/fate/h264-conformance-frext-brcm_freh4
index 8f0305a34d..ad3a3ec775 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh4
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh4
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x9744ac59
-0, 3600, 152064, 0xe1c69d97
-0, 7200, 152064, 0x9ae85f93
-0, 10800, 152064, 0x452966a3
-0, 14400, 152064, 0xe8192823
-0, 18000, 152064, 0x58b764eb
-0, 21600, 152064, 0x51b686b1
-0, 25200, 152064, 0x4bca5822
-0, 28800, 152064, 0x29abc41c
-0, 32400, 152064, 0x850ec94f
-0, 36000, 152064, 0xac2c34f8
-0, 39600, 152064, 0x080c6e67
-0, 43200, 152064, 0x5e4e14d2
-0, 46800, 152064, 0x978b054c
-0, 50400, 152064, 0x861d8c3c
-0, 54000, 152064, 0xe0818918
-0, 57600, 152064, 0x8b834511
-0, 61200, 152064, 0x223f567c
-0, 64800, 152064, 0x6d61298d
-0, 68400, 152064, 0xfe30826e
-0, 72000, 152064, 0x4bad4f98
-0, 75600, 152064, 0x69d5fdca
-0, 79200, 152064, 0xe45bba1b
-0, 82800, 152064, 0xa6d81298
-0, 86400, 152064, 0x7f3f2c91
-0, 90000, 152064, 0x658754b9
-0, 93600, 152064, 0x2c6d3eba
-0, 97200, 152064, 0x4500600c
-0, 100800, 152064, 0xa745f74b
-0, 104400, 152064, 0x2bf21fca
-0, 108000, 152064, 0x08b8bdb3
-0, 111600, 152064, 0x5a9d0a8b
-0, 115200, 152064, 0x3a57d523
-0, 118800, 152064, 0x3606826e
-0, 122400, 152064, 0x3b91a8fb
-0, 126000, 152064, 0x37c28959
-0, 129600, 152064, 0xb51d1e75
-0, 133200, 152064, 0x13be3f58
-0, 136800, 152064, 0x0ed0e7cf
-0, 140400, 152064, 0x298560d4
-0, 144000, 152064, 0x62b68373
-0, 147600, 152064, 0xf8bb4520
-0, 151200, 152064, 0x90dfd6af
-0, 154800, 152064, 0xf4770d20
-0, 158400, 152064, 0x0d9549a0
-0, 162000, 152064, 0x004eccb1
-0, 165600, 152064, 0x3146d46b
-0, 169200, 152064, 0x078d1808
-0, 172800, 152064, 0x5d8d60cd
-0, 176400, 152064, 0x8ff52dd8
-0, 180000, 152064, 0x5aa3ccf7
-0, 183600, 152064, 0x5bec6c39
-0, 187200, 152064, 0xd44cae9d
-0, 190800, 152064, 0xa1b0a151
-0, 194400, 152064, 0xe3be7bb2
-0, 198000, 152064, 0x50096775
-0, 201600, 152064, 0xdffff851
-0, 205200, 152064, 0x1d7250eb
-0, 208800, 152064, 0x69663ca7
-0, 212400, 152064, 0x62f77fc7
-0, 216000, 152064, 0xbab8f471
-0, 219600, 152064, 0x6af31785
-0, 223200, 152064, 0xcbb2a9aa
-0, 226800, 152064, 0xc57c32b9
-0, 230400, 152064, 0xecbe2ce0
-0, 234000, 152064, 0x2fbebf81
-0, 237600, 152064, 0xa168af68
-0, 241200, 152064, 0x1e5631ac
-0, 244800, 152064, 0xe69fc927
-0, 248400, 152064, 0x8e5c81d8
-0, 252000, 152064, 0x42402010
-0, 255600, 152064, 0xd7267482
-0, 259200, 152064, 0x64b280df
-0, 262800, 152064, 0xc4cbafcc
-0, 266400, 152064, 0xcf2f1e8b
-0, 270000, 152064, 0x4d6fdb3f
-0, 273600, 152064, 0xf22d6fed
-0, 277200, 152064, 0x625b167c
-0, 280800, 152064, 0x41348089
-0, 284400, 152064, 0x6db2779b
-0, 288000, 152064, 0xe87030a8
-0, 291600, 152064, 0x91b29cdd
-0, 295200, 152064, 0xe824f242
-0, 298800, 152064, 0xac995380
-0, 302400, 152064, 0x7efe361b
-0, 306000, 152064, 0xe10c0c26
-0, 309600, 152064, 0x93108260
-0, 313200, 152064, 0xbf4caed7
-0, 316800, 152064, 0xb6a4d826
-0, 320400, 152064, 0x78beea4e
-0, 324000, 152064, 0xdf612df9
-0, 327600, 152064, 0xa9ef2830
-0, 331200, 152064, 0x06448895
-0, 334800, 152064, 0x332eb6d5
-0, 338400, 152064, 0x935ba2c5
-0, 342000, 152064, 0x62a22656
-0, 345600, 152064, 0x06a670a7
-0, 349200, 152064, 0xf60b1af0
-0, 352800, 152064, 0x85177c10
-0, 356400, 152064, 0x5e4e5c4b
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9744ac59
+0, 1, 1, 1, 152064, 0xe1c69d97
+0, 2, 2, 1, 152064, 0x9ae85f93
+0, 3, 3, 1, 152064, 0x452966a3
+0, 4, 4, 1, 152064, 0xe8192823
+0, 5, 5, 1, 152064, 0x58b764eb
+0, 6, 6, 1, 152064, 0x51b686b1
+0, 7, 7, 1, 152064, 0x4bca5822
+0, 8, 8, 1, 152064, 0x29abc41c
+0, 9, 9, 1, 152064, 0x850ec94f
+0, 10, 10, 1, 152064, 0xac2c34f8
+0, 11, 11, 1, 152064, 0x080c6e67
+0, 12, 12, 1, 152064, 0x5e4e14d2
+0, 13, 13, 1, 152064, 0x978b054c
+0, 14, 14, 1, 152064, 0x861d8c3c
+0, 15, 15, 1, 152064, 0xe0818918
+0, 16, 16, 1, 152064, 0x8b834511
+0, 17, 17, 1, 152064, 0x223f567c
+0, 18, 18, 1, 152064, 0x6d61298d
+0, 19, 19, 1, 152064, 0xfe30826e
+0, 20, 20, 1, 152064, 0x4bad4f98
+0, 21, 21, 1, 152064, 0x69d5fdca
+0, 22, 22, 1, 152064, 0xe45bba1b
+0, 23, 23, 1, 152064, 0xa6d81298
+0, 24, 24, 1, 152064, 0x7f3f2c91
+0, 25, 25, 1, 152064, 0x658754b9
+0, 26, 26, 1, 152064, 0x2c6d3eba
+0, 27, 27, 1, 152064, 0x4500600c
+0, 28, 28, 1, 152064, 0xa745f74b
+0, 29, 29, 1, 152064, 0x2bf21fca
+0, 30, 30, 1, 152064, 0x08b8bdb3
+0, 31, 31, 1, 152064, 0x5a9d0a8b
+0, 32, 32, 1, 152064, 0x3a57d523
+0, 33, 33, 1, 152064, 0x3606826e
+0, 34, 34, 1, 152064, 0x3b91a8fb
+0, 35, 35, 1, 152064, 0x37c28959
+0, 36, 36, 1, 152064, 0xb51d1e75
+0, 37, 37, 1, 152064, 0x13be3f58
+0, 38, 38, 1, 152064, 0x0ed0e7cf
+0, 39, 39, 1, 152064, 0x298560d4
+0, 40, 40, 1, 152064, 0x62b68373
+0, 41, 41, 1, 152064, 0xf8bb4520
+0, 42, 42, 1, 152064, 0x90dfd6af
+0, 43, 43, 1, 152064, 0xf4770d20
+0, 44, 44, 1, 152064, 0x0d9549a0
+0, 45, 45, 1, 152064, 0x004eccb1
+0, 46, 46, 1, 152064, 0x3146d46b
+0, 47, 47, 1, 152064, 0x078d1808
+0, 48, 48, 1, 152064, 0x5d8d60cd
+0, 49, 49, 1, 152064, 0x8ff52dd8
+0, 50, 50, 1, 152064, 0x5aa3ccf7
+0, 51, 51, 1, 152064, 0x5bec6c39
+0, 52, 52, 1, 152064, 0xd44cae9d
+0, 53, 53, 1, 152064, 0xa1b0a151
+0, 54, 54, 1, 152064, 0xe3be7bb2
+0, 55, 55, 1, 152064, 0x50096775
+0, 56, 56, 1, 152064, 0xdffff851
+0, 57, 57, 1, 152064, 0x1d7250eb
+0, 58, 58, 1, 152064, 0x69663ca7
+0, 59, 59, 1, 152064, 0x62f77fc7
+0, 60, 60, 1, 152064, 0xbab8f471
+0, 61, 61, 1, 152064, 0x6af31785
+0, 62, 62, 1, 152064, 0xcbb2a9aa
+0, 63, 63, 1, 152064, 0xc57c32b9
+0, 64, 64, 1, 152064, 0xecbe2ce0
+0, 65, 65, 1, 152064, 0x2fbebf81
+0, 66, 66, 1, 152064, 0xa168af68
+0, 67, 67, 1, 152064, 0x1e5631ac
+0, 68, 68, 1, 152064, 0xe69fc927
+0, 69, 69, 1, 152064, 0x8e5c81d8
+0, 70, 70, 1, 152064, 0x42402010
+0, 71, 71, 1, 152064, 0xd7267482
+0, 72, 72, 1, 152064, 0x64b280df
+0, 73, 73, 1, 152064, 0xc4cbafcc
+0, 74, 74, 1, 152064, 0xcf2f1e8b
+0, 75, 75, 1, 152064, 0x4d6fdb3f
+0, 76, 76, 1, 152064, 0xf22d6fed
+0, 77, 77, 1, 152064, 0x625b167c
+0, 78, 78, 1, 152064, 0x41348089
+0, 79, 79, 1, 152064, 0x6db2779b
+0, 80, 80, 1, 152064, 0xe87030a8
+0, 81, 81, 1, 152064, 0x91b29cdd
+0, 82, 82, 1, 152064, 0xe824f242
+0, 83, 83, 1, 152064, 0xac995380
+0, 84, 84, 1, 152064, 0x7efe361b
+0, 85, 85, 1, 152064, 0xe10c0c26
+0, 86, 86, 1, 152064, 0x93108260
+0, 87, 87, 1, 152064, 0xbf4caed7
+0, 88, 88, 1, 152064, 0xb6a4d826
+0, 89, 89, 1, 152064, 0x78beea4e
+0, 90, 90, 1, 152064, 0xdf612df9
+0, 91, 91, 1, 152064, 0xa9ef2830
+0, 92, 92, 1, 152064, 0x06448895
+0, 93, 93, 1, 152064, 0x332eb6d5
+0, 94, 94, 1, 152064, 0x935ba2c5
+0, 95, 95, 1, 152064, 0x62a22656
+0, 96, 96, 1, 152064, 0x06a670a7
+0, 97, 97, 1, 152064, 0xf60b1af0
+0, 98, 98, 1, 152064, 0x85177c10
+0, 99, 99, 1, 152064, 0x5e4e5c4b
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh5 b/tests/ref/fate/h264-conformance-frext-brcm_freh5
index dc7efef63b..9057c82fca 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh5
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh5
@@ -1,100 +1,101 @@
-0, 0, 152064, 0xd816ae9a
-0, 3600, 152064, 0x970e9c33
-0, 7200, 152064, 0xbdd14635
-0, 10800, 152064, 0x103f667c
-0, 14400, 152064, 0x752b1ebb
-0, 18000, 152064, 0x1e9d59d4
-0, 21600, 152064, 0x4b9d89b6
-0, 25200, 152064, 0x16c1362e
-0, 28800, 152064, 0x3ea9a977
-0, 32400, 152064, 0x24e3c7fe
-0, 36000, 152064, 0xe64132fa
-0, 39600, 152064, 0xb2074e31
-0, 43200, 152064, 0x87e61824
-0, 46800, 152064, 0xf3e7f2d3
-0, 50400, 152064, 0x36856b98
-0, 54000, 152064, 0xe2be97dd
-0, 57600, 152064, 0xb99a3a3d
-0, 61200, 152064, 0xf4d04afa
-0, 64800, 152064, 0x20a92205
-0, 68400, 152064, 0x5f6272ca
-0, 72000, 152064, 0xe1f45d11
-0, 75600, 152064, 0x7ff113ee
-0, 79200, 152064, 0x47e8befb
-0, 82800, 152064, 0x562c03c6
-0, 86400, 152064, 0x197a311c
-0, 90000, 152064, 0x30017402
-0, 93600, 152064, 0x27e6384e
-0, 97200, 152064, 0x456f6152
-0, 100800, 152064, 0x368810d1
-0, 104400, 152064, 0x7be61b5f
-0, 108000, 152064, 0x5fa9aaef
-0, 111600, 152064, 0x957de9da
-0, 115200, 152064, 0x47c6bc4f
-0, 118800, 152064, 0xb2247b98
-0, 122400, 152064, 0xd045a416
-0, 126000, 152064, 0xa0b16da9
-0, 129600, 152064, 0xe9bd1d8f
-0, 133200, 152064, 0xe7881f4d
-0, 136800, 152064, 0x85e2d4a9
-0, 140400, 152064, 0x00a967cd
-0, 144000, 152064, 0x02507278
-0, 147600, 152064, 0xc511370e
-0, 151200, 152064, 0x7963cf0b
-0, 154800, 152064, 0xf99ef0fd
-0, 158400, 152064, 0x00813540
-0, 162000, 152064, 0xa9aeaf2b
-0, 165600, 152064, 0x559eb849
-0, 169200, 152064, 0x315605c1
-0, 172800, 152064, 0xe2594b7c
-0, 176400, 152064, 0x844ef85c
-0, 180000, 152064, 0x5012c785
-0, 183600, 152064, 0x239f600d
-0, 187200, 152064, 0x80a2a156
-0, 190800, 152064, 0xec239895
-0, 194400, 152064, 0xd7387dbe
-0, 198000, 152064, 0xe8aa6125
-0, 201600, 152064, 0x4742d997
-0, 205200, 152064, 0x88515422
-0, 208800, 152064, 0x3dd02167
-0, 212400, 152064, 0xe36855d1
-0, 216000, 152064, 0x202edeb9
-0, 219600, 152064, 0xf5a5eed3
-0, 223200, 152064, 0xd3bc6e68
-0, 226800, 152064, 0xba902a0a
-0, 230400, 152064, 0x4db4f721
-0, 234000, 152064, 0x293c90bd
-0, 237600, 152064, 0xa651a49f
-0, 241200, 152064, 0x5c1a2a7d
-0, 244800, 152064, 0xa67986de
-0, 248400, 152064, 0xe5fe7d26
-0, 252000, 152064, 0xde191b31
-0, 255600, 152064, 0x5e303cb1
-0, 259200, 152064, 0x657f6d5d
-0, 262800, 152064, 0x5c44adaa
-0, 266400, 152064, 0x8c3c0422
-0, 270000, 152064, 0x161cb54f
-0, 273600, 152064, 0xc96355c8
-0, 277200, 152064, 0xeb02fdec
-0, 280800, 152064, 0xd18a7989
-0, 284400, 152064, 0xc7d671bf
-0, 288000, 152064, 0x2e1637cc
-0, 291600, 152064, 0xd0d5958a
-0, 295200, 152064, 0x2f9dd79c
-0, 298800, 152064, 0xa96b4dd1
-0, 302400, 152064, 0x7bfc2eb9
-0, 306000, 152064, 0xc3c91809
-0, 309600, 152064, 0x9e167aa3
-0, 313200, 152064, 0xb47e9f6e
-0, 316800, 152064, 0x70e6c184
-0, 320400, 152064, 0x0d92e4e7
-0, 324000, 152064, 0xf4891b11
-0, 327600, 152064, 0x93f912c7
-0, 331200, 152064, 0xa3bc52c5
-0, 334800, 152064, 0xc6fca440
-0, 338400, 152064, 0x045aa5d4
-0, 342000, 152064, 0x15ba1dd0
-0, 345600, 152064, 0x59f45a8b
-0, 349200, 152064, 0x9dc20832
-0, 352800, 152064, 0x36316eb4
-0, 356400, 152064, 0x28ba54f4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xd816ae9a
+0, 1, 1, 1, 152064, 0x970e9c33
+0, 2, 2, 1, 152064, 0xbdd14635
+0, 3, 3, 1, 152064, 0x103f667c
+0, 4, 4, 1, 152064, 0x752b1ebb
+0, 5, 5, 1, 152064, 0x1e9d59d4
+0, 6, 6, 1, 152064, 0x4b9d89b6
+0, 7, 7, 1, 152064, 0x16c1362e
+0, 8, 8, 1, 152064, 0x3ea9a977
+0, 9, 9, 1, 152064, 0x24e3c7fe
+0, 10, 10, 1, 152064, 0xe64132fa
+0, 11, 11, 1, 152064, 0xb2074e31
+0, 12, 12, 1, 152064, 0x87e61824
+0, 13, 13, 1, 152064, 0xf3e7f2d3
+0, 14, 14, 1, 152064, 0x36856b98
+0, 15, 15, 1, 152064, 0xe2be97dd
+0, 16, 16, 1, 152064, 0xb99a3a3d
+0, 17, 17, 1, 152064, 0xf4d04afa
+0, 18, 18, 1, 152064, 0x20a92205
+0, 19, 19, 1, 152064, 0x5f6272ca
+0, 20, 20, 1, 152064, 0xe1f45d11
+0, 21, 21, 1, 152064, 0x7ff113ee
+0, 22, 22, 1, 152064, 0x47e8befb
+0, 23, 23, 1, 152064, 0x562c03c6
+0, 24, 24, 1, 152064, 0x197a311c
+0, 25, 25, 1, 152064, 0x30017402
+0, 26, 26, 1, 152064, 0x27e6384e
+0, 27, 27, 1, 152064, 0x456f6152
+0, 28, 28, 1, 152064, 0x368810d1
+0, 29, 29, 1, 152064, 0x7be61b5f
+0, 30, 30, 1, 152064, 0x5fa9aaef
+0, 31, 31, 1, 152064, 0x957de9da
+0, 32, 32, 1, 152064, 0x47c6bc4f
+0, 33, 33, 1, 152064, 0xb2247b98
+0, 34, 34, 1, 152064, 0xd045a416
+0, 35, 35, 1, 152064, 0xa0b16da9
+0, 36, 36, 1, 152064, 0xe9bd1d8f
+0, 37, 37, 1, 152064, 0xe7881f4d
+0, 38, 38, 1, 152064, 0x85e2d4a9
+0, 39, 39, 1, 152064, 0x00a967cd
+0, 40, 40, 1, 152064, 0x02507278
+0, 41, 41, 1, 152064, 0xc511370e
+0, 42, 42, 1, 152064, 0x7963cf0b
+0, 43, 43, 1, 152064, 0xf99ef0fd
+0, 44, 44, 1, 152064, 0x00813540
+0, 45, 45, 1, 152064, 0xa9aeaf2b
+0, 46, 46, 1, 152064, 0x559eb849
+0, 47, 47, 1, 152064, 0x315605c1
+0, 48, 48, 1, 152064, 0xe2594b7c
+0, 49, 49, 1, 152064, 0x844ef85c
+0, 50, 50, 1, 152064, 0x5012c785
+0, 51, 51, 1, 152064, 0x239f600d
+0, 52, 52, 1, 152064, 0x80a2a156
+0, 53, 53, 1, 152064, 0xec239895
+0, 54, 54, 1, 152064, 0xd7387dbe
+0, 55, 55, 1, 152064, 0xe8aa6125
+0, 56, 56, 1, 152064, 0x4742d997
+0, 57, 57, 1, 152064, 0x88515422
+0, 58, 58, 1, 152064, 0x3dd02167
+0, 59, 59, 1, 152064, 0xe36855d1
+0, 60, 60, 1, 152064, 0x202edeb9
+0, 61, 61, 1, 152064, 0xf5a5eed3
+0, 62, 62, 1, 152064, 0xd3bc6e68
+0, 63, 63, 1, 152064, 0xba902a0a
+0, 64, 64, 1, 152064, 0x4db4f721
+0, 65, 65, 1, 152064, 0x293c90bd
+0, 66, 66, 1, 152064, 0xa651a49f
+0, 67, 67, 1, 152064, 0x5c1a2a7d
+0, 68, 68, 1, 152064, 0xa67986de
+0, 69, 69, 1, 152064, 0xe5fe7d26
+0, 70, 70, 1, 152064, 0xde191b31
+0, 71, 71, 1, 152064, 0x5e303cb1
+0, 72, 72, 1, 152064, 0x657f6d5d
+0, 73, 73, 1, 152064, 0x5c44adaa
+0, 74, 74, 1, 152064, 0x8c3c0422
+0, 75, 75, 1, 152064, 0x161cb54f
+0, 76, 76, 1, 152064, 0xc96355c8
+0, 77, 77, 1, 152064, 0xeb02fdec
+0, 78, 78, 1, 152064, 0xd18a7989
+0, 79, 79, 1, 152064, 0xc7d671bf
+0, 80, 80, 1, 152064, 0x2e1637cc
+0, 81, 81, 1, 152064, 0xd0d5958a
+0, 82, 82, 1, 152064, 0x2f9dd79c
+0, 83, 83, 1, 152064, 0xa96b4dd1
+0, 84, 84, 1, 152064, 0x7bfc2eb9
+0, 85, 85, 1, 152064, 0xc3c91809
+0, 86, 86, 1, 152064, 0x9e167aa3
+0, 87, 87, 1, 152064, 0xb47e9f6e
+0, 88, 88, 1, 152064, 0x70e6c184
+0, 89, 89, 1, 152064, 0x0d92e4e7
+0, 90, 90, 1, 152064, 0xf4891b11
+0, 91, 91, 1, 152064, 0x93f912c7
+0, 92, 92, 1, 152064, 0xa3bc52c5
+0, 93, 93, 1, 152064, 0xc6fca440
+0, 94, 94, 1, 152064, 0x045aa5d4
+0, 95, 95, 1, 152064, 0x15ba1dd0
+0, 96, 96, 1, 152064, 0x59f45a8b
+0, 97, 97, 1, 152064, 0x9dc20832
+0, 98, 98, 1, 152064, 0x36316eb4
+0, 99, 99, 1, 152064, 0x28ba54f4
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh8 b/tests/ref/fate/h264-conformance-frext-brcm_freh8
index 69a55e1b9f..4cc7f0e120 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh8
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh8
@@ -1,100 +1,101 @@
-0, 0, 152064, 0xdcc4ac76
-0, 3600, 152064, 0xfde6871a
-0, 7200, 152064, 0xe8a351b5
-0, 10800, 152064, 0x0e586608
-0, 14400, 152064, 0xbe3c2adc
-0, 18000, 152064, 0x244a5b3c
-0, 21600, 152064, 0x7cad919e
-0, 25200, 152064, 0x24c452c0
-0, 28800, 152064, 0x089dc7f0
-0, 32400, 152064, 0x6ee5d1dd
-0, 36000, 152064, 0x177430f0
-0, 39600, 152064, 0xf2af65f6
-0, 43200, 152064, 0x4c4626a7
-0, 46800, 152064, 0x897af1da
-0, 50400, 152064, 0xf16199b1
-0, 54000, 152064, 0x2979a469
-0, 57600, 152064, 0x5ce345a0
-0, 61200, 152064, 0x1a044ff3
-0, 64800, 152064, 0x9075241f
-0, 68400, 152064, 0xd1457558
-0, 72000, 152064, 0xdfe3669f
-0, 75600, 152064, 0x4961fc7a
-0, 79200, 152064, 0xb84daee5
-0, 82800, 152064, 0xc4efe5c3
-0, 86400, 152064, 0x35f73410
-0, 90000, 152064, 0xf99a2c73
-0, 93600, 152064, 0xe5c12391
-0, 97200, 152064, 0xc2056236
-0, 100800, 152064, 0xce2bff90
-0, 104400, 152064, 0x01d92bb1
-0, 108000, 152064, 0xc55eb558
-0, 111600, 152064, 0xf02ef0ff
-0, 115200, 152064, 0x069dd1c6
-0, 118800, 152064, 0x49718229
-0, 122400, 152064, 0x0e9ea401
-0, 126000, 152064, 0x307e7f8b
-0, 129600, 152064, 0xf5071e31
-0, 133200, 152064, 0xac2c2ad0
-0, 136800, 152064, 0x5586d665
-0, 140400, 152064, 0xa62a6a2b
-0, 144000, 152064, 0xff167d1b
-0, 147600, 152064, 0x02d225c2
-0, 151200, 152064, 0x868ccb0b
-0, 154800, 152064, 0x36edfa29
-0, 158400, 152064, 0xb6244864
-0, 162000, 152064, 0xd891b5dc
-0, 165600, 152064, 0x9246b763
-0, 169200, 152064, 0xea240b61
-0, 172800, 152064, 0x2d985877
-0, 176400, 152064, 0xe6b92603
-0, 180000, 152064, 0x102ac84f
-0, 183600, 152064, 0xddaf709b
-0, 187200, 152064, 0x48dfb25e
-0, 190800, 152064, 0xf2acadbb
-0, 194400, 152064, 0x647685f5
-0, 198000, 152064, 0x893874c9
-0, 201600, 152064, 0xdfd7ed77
-0, 205200, 152064, 0x97b36277
-0, 208800, 152064, 0x59f33282
-0, 212400, 152064, 0xba5c6a0e
-0, 216000, 152064, 0x7856ddf0
-0, 219600, 152064, 0x74e5f095
-0, 223200, 152064, 0x76167a60
-0, 226800, 152064, 0xa6cf2255
-0, 230400, 152064, 0x9f8b1446
-0, 234000, 152064, 0xa775aa79
-0, 237600, 152064, 0x5662a698
-0, 241200, 152064, 0xe6321e5b
-0, 244800, 152064, 0xdaea9a83
-0, 248400, 152064, 0xd89d835f
-0, 252000, 152064, 0x0b1503e2
-0, 255600, 152064, 0x7fef6395
-0, 259200, 152064, 0xc27273f2
-0, 262800, 152064, 0xff9288fd
-0, 266400, 152064, 0xb76aee35
-0, 270000, 152064, 0xbd0dc4b2
-0, 273600, 152064, 0x3085598e
-0, 277200, 152064, 0x22e408f6
-0, 280800, 152064, 0xc054866d
-0, 284400, 152064, 0x881377f8
-0, 288000, 152064, 0x0dd7311e
-0, 291600, 152064, 0x627ea688
-0, 295200, 152064, 0x95bbe693
-0, 298800, 152064, 0x806c480f
-0, 302400, 152064, 0x6feb3d47
-0, 306000, 152064, 0x639f0a72
-0, 309600, 152064, 0x4922909d
-0, 313200, 152064, 0x44bbc195
-0, 316800, 152064, 0xf119ca8f
-0, 320400, 152064, 0x6f46e9c8
-0, 324000, 152064, 0xd68e222a
-0, 327600, 152064, 0xedc716eb
-0, 331200, 152064, 0x090a7702
-0, 334800, 152064, 0xc94eac7a
-0, 338400, 152064, 0x629d8823
-0, 342000, 152064, 0x30a51f8c
-0, 345600, 152064, 0x4265666b
-0, 349200, 152064, 0x766dfd25
-0, 352800, 152064, 0x7dc37c52
-0, 356400, 152064, 0x07c65fbe
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xdcc4ac76
+0, 1, 1, 1, 152064, 0xfde6871a
+0, 2, 2, 1, 152064, 0xe8a351b5
+0, 3, 3, 1, 152064, 0x0e586608
+0, 4, 4, 1, 152064, 0xbe3c2adc
+0, 5, 5, 1, 152064, 0x244a5b3c
+0, 6, 6, 1, 152064, 0x7cad919e
+0, 7, 7, 1, 152064, 0x24c452c0
+0, 8, 8, 1, 152064, 0x089dc7f0
+0, 9, 9, 1, 152064, 0x6ee5d1dd
+0, 10, 10, 1, 152064, 0x177430f0
+0, 11, 11, 1, 152064, 0xf2af65f6
+0, 12, 12, 1, 152064, 0x4c4626a7
+0, 13, 13, 1, 152064, 0x897af1da
+0, 14, 14, 1, 152064, 0xf16199b1
+0, 15, 15, 1, 152064, 0x2979a469
+0, 16, 16, 1, 152064, 0x5ce345a0
+0, 17, 17, 1, 152064, 0x1a044ff3
+0, 18, 18, 1, 152064, 0x9075241f
+0, 19, 19, 1, 152064, 0xd1457558
+0, 20, 20, 1, 152064, 0xdfe3669f
+0, 21, 21, 1, 152064, 0x4961fc7a
+0, 22, 22, 1, 152064, 0xb84daee5
+0, 23, 23, 1, 152064, 0xc4efe5c3
+0, 24, 24, 1, 152064, 0x35f73410
+0, 25, 25, 1, 152064, 0xf99a2c73
+0, 26, 26, 1, 152064, 0xe5c12391
+0, 27, 27, 1, 152064, 0xc2056236
+0, 28, 28, 1, 152064, 0xce2bff90
+0, 29, 29, 1, 152064, 0x01d92bb1
+0, 30, 30, 1, 152064, 0xc55eb558
+0, 31, 31, 1, 152064, 0xf02ef0ff
+0, 32, 32, 1, 152064, 0x069dd1c6
+0, 33, 33, 1, 152064, 0x49718229
+0, 34, 34, 1, 152064, 0x0e9ea401
+0, 35, 35, 1, 152064, 0x307e7f8b
+0, 36, 36, 1, 152064, 0xf5071e31
+0, 37, 37, 1, 152064, 0xac2c2ad0
+0, 38, 38, 1, 152064, 0x5586d665
+0, 39, 39, 1, 152064, 0xa62a6a2b
+0, 40, 40, 1, 152064, 0xff167d1b
+0, 41, 41, 1, 152064, 0x02d225c2
+0, 42, 42, 1, 152064, 0x868ccb0b
+0, 43, 43, 1, 152064, 0x36edfa29
+0, 44, 44, 1, 152064, 0xb6244864
+0, 45, 45, 1, 152064, 0xd891b5dc
+0, 46, 46, 1, 152064, 0x9246b763
+0, 47, 47, 1, 152064, 0xea240b61
+0, 48, 48, 1, 152064, 0x2d985877
+0, 49, 49, 1, 152064, 0xe6b92603
+0, 50, 50, 1, 152064, 0x102ac84f
+0, 51, 51, 1, 152064, 0xddaf709b
+0, 52, 52, 1, 152064, 0x48dfb25e
+0, 53, 53, 1, 152064, 0xf2acadbb
+0, 54, 54, 1, 152064, 0x647685f5
+0, 55, 55, 1, 152064, 0x893874c9
+0, 56, 56, 1, 152064, 0xdfd7ed77
+0, 57, 57, 1, 152064, 0x97b36277
+0, 58, 58, 1, 152064, 0x59f33282
+0, 59, 59, 1, 152064, 0xba5c6a0e
+0, 60, 60, 1, 152064, 0x7856ddf0
+0, 61, 61, 1, 152064, 0x74e5f095
+0, 62, 62, 1, 152064, 0x76167a60
+0, 63, 63, 1, 152064, 0xa6cf2255
+0, 64, 64, 1, 152064, 0x9f8b1446
+0, 65, 65, 1, 152064, 0xa775aa79
+0, 66, 66, 1, 152064, 0x5662a698
+0, 67, 67, 1, 152064, 0xe6321e5b
+0, 68, 68, 1, 152064, 0xdaea9a83
+0, 69, 69, 1, 152064, 0xd89d835f
+0, 70, 70, 1, 152064, 0x0b1503e2
+0, 71, 71, 1, 152064, 0x7fef6395
+0, 72, 72, 1, 152064, 0xc27273f2
+0, 73, 73, 1, 152064, 0xff9288fd
+0, 74, 74, 1, 152064, 0xb76aee35
+0, 75, 75, 1, 152064, 0xbd0dc4b2
+0, 76, 76, 1, 152064, 0x3085598e
+0, 77, 77, 1, 152064, 0x22e408f6
+0, 78, 78, 1, 152064, 0xc054866d
+0, 79, 79, 1, 152064, 0x881377f8
+0, 80, 80, 1, 152064, 0x0dd7311e
+0, 81, 81, 1, 152064, 0x627ea688
+0, 82, 82, 1, 152064, 0x95bbe693
+0, 83, 83, 1, 152064, 0x806c480f
+0, 84, 84, 1, 152064, 0x6feb3d47
+0, 85, 85, 1, 152064, 0x639f0a72
+0, 86, 86, 1, 152064, 0x4922909d
+0, 87, 87, 1, 152064, 0x44bbc195
+0, 88, 88, 1, 152064, 0xf119ca8f
+0, 89, 89, 1, 152064, 0x6f46e9c8
+0, 90, 90, 1, 152064, 0xd68e222a
+0, 91, 91, 1, 152064, 0xedc716eb
+0, 92, 92, 1, 152064, 0x090a7702
+0, 93, 93, 1, 152064, 0xc94eac7a
+0, 94, 94, 1, 152064, 0x629d8823
+0, 95, 95, 1, 152064, 0x30a51f8c
+0, 96, 96, 1, 152064, 0x4265666b
+0, 97, 97, 1, 152064, 0x766dfd25
+0, 98, 98, 1, 152064, 0x7dc37c52
+0, 99, 99, 1, 152064, 0x07c65fbe
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh9 b/tests/ref/fate/h264-conformance-frext-brcm_freh9
index 5b21b7f1e3..44d5d1a410 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh9
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh9
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x9f9caf3c
-0, 3600, 152064, 0x68f285b1
-0, 7200, 152064, 0x28bd4987
-0, 10800, 152064, 0x79de6e48
-0, 14400, 152064, 0x48301bf9
-0, 18000, 152064, 0x2c9e516c
-0, 21600, 152064, 0xf774946a
-0, 25200, 152064, 0x36534317
-0, 28800, 152064, 0x98b7bd86
-0, 32400, 152064, 0x2aa3d50b
-0, 36000, 152064, 0xc4343429
-0, 39600, 152064, 0x276c5f04
-0, 43200, 152064, 0x042d2916
-0, 46800, 152064, 0x777ee739
-0, 50400, 152064, 0x1ce186d8
-0, 54000, 152064, 0x0ae5a447
-0, 57600, 152064, 0x179435a8
-0, 61200, 152064, 0x96d743b8
-0, 64800, 152064, 0x7dcc26b7
-0, 68400, 152064, 0x72c860c8
-0, 72000, 152064, 0x12a95052
-0, 75600, 152064, 0x1ed00304
-0, 79200, 152064, 0xf9f698be
-0, 82800, 152064, 0x768ef04d
-0, 86400, 152064, 0x873833ee
-0, 90000, 152064, 0x1b4a1e1e
-0, 93600, 152064, 0x67462224
-0, 97200, 152064, 0x0206612a
-0, 100800, 152064, 0xd203f197
-0, 104400, 152064, 0x5dc020b0
-0, 108000, 152064, 0xdaf2ba1c
-0, 111600, 152064, 0xad54e4b2
-0, 115200, 152064, 0x4273c281
-0, 118800, 152064, 0x0655817d
-0, 122400, 152064, 0xdea79e1c
-0, 126000, 152064, 0x60ae6d1e
-0, 129600, 152064, 0x45401d1b
-0, 133200, 152064, 0xc6b12160
-0, 136800, 152064, 0x163fbde9
-0, 140400, 152064, 0x91636a0c
-0, 144000, 152064, 0x442173a4
-0, 147600, 152064, 0x0f941379
-0, 151200, 152064, 0x0649caad
-0, 154800, 152064, 0x1238eaa4
-0, 158400, 152064, 0x86013d55
-0, 162000, 152064, 0xec33b550
-0, 165600, 152064, 0x4cc7b33d
-0, 169200, 152064, 0x4c93f8ab
-0, 172800, 152064, 0x0cf15a34
-0, 176400, 152064, 0x04b71770
-0, 180000, 152064, 0xf860cea8
-0, 183600, 152064, 0x77fb76a3
-0, 187200, 152064, 0xa494b27c
-0, 190800, 152064, 0xf7a0b0b2
-0, 194400, 152064, 0x4cae843b
-0, 198000, 152064, 0x590e6403
-0, 201600, 152064, 0xe439e63e
-0, 205200, 152064, 0xbeca5f92
-0, 208800, 152064, 0x31d9164f
-0, 212400, 152064, 0xedab54a9
-0, 216000, 152064, 0xd8e1de00
-0, 219600, 152064, 0xd04fe391
-0, 223200, 152064, 0xef6568b3
-0, 226800, 152064, 0x859a2811
-0, 230400, 152064, 0x9d5ffe6f
-0, 234000, 152064, 0x5a679908
-0, 237600, 152064, 0xc264a830
-0, 241200, 152064, 0xbfdf08c0
-0, 244800, 152064, 0x4fd68cb7
-0, 248400, 152064, 0x0a7b86f3
-0, 252000, 152064, 0xe4fe043b
-0, 255600, 152064, 0x8b186a22
-0, 259200, 152064, 0xf715765a
-0, 262800, 152064, 0xfd7b77e5
-0, 266400, 152064, 0x9e3fdd06
-0, 270000, 152064, 0xc8bac3fa
-0, 273600, 152064, 0x4e83449f
-0, 277200, 152064, 0xe5fefcff
-0, 280800, 152064, 0x89d77b09
-0, 284400, 152064, 0x77fd6f7e
-0, 288000, 152064, 0xa7ec356c
-0, 291600, 152064, 0x2000aa87
-0, 295200, 152064, 0xa9a1e267
-0, 298800, 152064, 0xf67c3fcc
-0, 302400, 152064, 0x10143acc
-0, 306000, 152064, 0xa5fa0476
-0, 309600, 152064, 0x2e8d8966
-0, 313200, 152064, 0x74ccbbde
-0, 316800, 152064, 0xf903b2cf
-0, 320400, 152064, 0x66a8d7ab
-0, 324000, 152064, 0x123e23e2
-0, 327600, 152064, 0x8bd70865
-0, 331200, 152064, 0x2b017249
-0, 334800, 152064, 0x17f1aba6
-0, 338400, 152064, 0x38368449
-0, 342000, 152064, 0x72ee1b69
-0, 345600, 152064, 0x0f1c6a1d
-0, 349200, 152064, 0xbeea0040
-0, 352800, 152064, 0x4a9e73b9
-0, 356400, 152064, 0x51a46120
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9f9caf3c
+0, 1, 1, 1, 152064, 0x68f285b1
+0, 2, 2, 1, 152064, 0x28bd4987
+0, 3, 3, 1, 152064, 0x79de6e48
+0, 4, 4, 1, 152064, 0x48301bf9
+0, 5, 5, 1, 152064, 0x2c9e516c
+0, 6, 6, 1, 152064, 0xf774946a
+0, 7, 7, 1, 152064, 0x36534317
+0, 8, 8, 1, 152064, 0x98b7bd86
+0, 9, 9, 1, 152064, 0x2aa3d50b
+0, 10, 10, 1, 152064, 0xc4343429
+0, 11, 11, 1, 152064, 0x276c5f04
+0, 12, 12, 1, 152064, 0x042d2916
+0, 13, 13, 1, 152064, 0x777ee739
+0, 14, 14, 1, 152064, 0x1ce186d8
+0, 15, 15, 1, 152064, 0x0ae5a447
+0, 16, 16, 1, 152064, 0x179435a8
+0, 17, 17, 1, 152064, 0x96d743b8
+0, 18, 18, 1, 152064, 0x7dcc26b7
+0, 19, 19, 1, 152064, 0x72c860c8
+0, 20, 20, 1, 152064, 0x12a95052
+0, 21, 21, 1, 152064, 0x1ed00304
+0, 22, 22, 1, 152064, 0xf9f698be
+0, 23, 23, 1, 152064, 0x768ef04d
+0, 24, 24, 1, 152064, 0x873833ee
+0, 25, 25, 1, 152064, 0x1b4a1e1e
+0, 26, 26, 1, 152064, 0x67462224
+0, 27, 27, 1, 152064, 0x0206612a
+0, 28, 28, 1, 152064, 0xd203f197
+0, 29, 29, 1, 152064, 0x5dc020b0
+0, 30, 30, 1, 152064, 0xdaf2ba1c
+0, 31, 31, 1, 152064, 0xad54e4b2
+0, 32, 32, 1, 152064, 0x4273c281
+0, 33, 33, 1, 152064, 0x0655817d
+0, 34, 34, 1, 152064, 0xdea79e1c
+0, 35, 35, 1, 152064, 0x60ae6d1e
+0, 36, 36, 1, 152064, 0x45401d1b
+0, 37, 37, 1, 152064, 0xc6b12160
+0, 38, 38, 1, 152064, 0x163fbde9
+0, 39, 39, 1, 152064, 0x91636a0c
+0, 40, 40, 1, 152064, 0x442173a4
+0, 41, 41, 1, 152064, 0x0f941379
+0, 42, 42, 1, 152064, 0x0649caad
+0, 43, 43, 1, 152064, 0x1238eaa4
+0, 44, 44, 1, 152064, 0x86013d55
+0, 45, 45, 1, 152064, 0xec33b550
+0, 46, 46, 1, 152064, 0x4cc7b33d
+0, 47, 47, 1, 152064, 0x4c93f8ab
+0, 48, 48, 1, 152064, 0x0cf15a34
+0, 49, 49, 1, 152064, 0x04b71770
+0, 50, 50, 1, 152064, 0xf860cea8
+0, 51, 51, 1, 152064, 0x77fb76a3
+0, 52, 52, 1, 152064, 0xa494b27c
+0, 53, 53, 1, 152064, 0xf7a0b0b2
+0, 54, 54, 1, 152064, 0x4cae843b
+0, 55, 55, 1, 152064, 0x590e6403
+0, 56, 56, 1, 152064, 0xe439e63e
+0, 57, 57, 1, 152064, 0xbeca5f92
+0, 58, 58, 1, 152064, 0x31d9164f
+0, 59, 59, 1, 152064, 0xedab54a9
+0, 60, 60, 1, 152064, 0xd8e1de00
+0, 61, 61, 1, 152064, 0xd04fe391
+0, 62, 62, 1, 152064, 0xef6568b3
+0, 63, 63, 1, 152064, 0x859a2811
+0, 64, 64, 1, 152064, 0x9d5ffe6f
+0, 65, 65, 1, 152064, 0x5a679908
+0, 66, 66, 1, 152064, 0xc264a830
+0, 67, 67, 1, 152064, 0xbfdf08c0
+0, 68, 68, 1, 152064, 0x4fd68cb7
+0, 69, 69, 1, 152064, 0x0a7b86f3
+0, 70, 70, 1, 152064, 0xe4fe043b
+0, 71, 71, 1, 152064, 0x8b186a22
+0, 72, 72, 1, 152064, 0xf715765a
+0, 73, 73, 1, 152064, 0xfd7b77e5
+0, 74, 74, 1, 152064, 0x9e3fdd06
+0, 75, 75, 1, 152064, 0xc8bac3fa
+0, 76, 76, 1, 152064, 0x4e83449f
+0, 77, 77, 1, 152064, 0xe5fefcff
+0, 78, 78, 1, 152064, 0x89d77b09
+0, 79, 79, 1, 152064, 0x77fd6f7e
+0, 80, 80, 1, 152064, 0xa7ec356c
+0, 81, 81, 1, 152064, 0x2000aa87
+0, 82, 82, 1, 152064, 0xa9a1e267
+0, 83, 83, 1, 152064, 0xf67c3fcc
+0, 84, 84, 1, 152064, 0x10143acc
+0, 85, 85, 1, 152064, 0xa5fa0476
+0, 86, 86, 1, 152064, 0x2e8d8966
+0, 87, 87, 1, 152064, 0x74ccbbde
+0, 88, 88, 1, 152064, 0xf903b2cf
+0, 89, 89, 1, 152064, 0x66a8d7ab
+0, 90, 90, 1, 152064, 0x123e23e2
+0, 91, 91, 1, 152064, 0x8bd70865
+0, 92, 92, 1, 152064, 0x2b017249
+0, 93, 93, 1, 152064, 0x17f1aba6
+0, 94, 94, 1, 152064, 0x38368449
+0, 95, 95, 1, 152064, 0x72ee1b69
+0, 96, 96, 1, 152064, 0x0f1c6a1d
+0, 97, 97, 1, 152064, 0xbeea0040
+0, 98, 98, 1, 152064, 0x4a9e73b9
+0, 99, 99, 1, 152064, 0x51a46120
diff --git a/tests/ref/fate/h264-conformance-frext-freh12_b b/tests/ref/fate/h264-conformance-frext-freh12_b
index 12c195984e..9455cc2294 100644
--- a/tests/ref/fate/h264-conformance-frext-freh12_b
+++ b/tests/ref/fate/h264-conformance-frext-freh12_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x9f9caf3c
-0, 3600, 152064, 0x0ff688a6
-0, 7200, 152064, 0x247d4215
-0, 10800, 152064, 0x6d075b1b
-0, 14400, 152064, 0x23893f77
-0, 18000, 152064, 0x46db7dfc
-0, 21600, 152064, 0x6438c4b9
-0, 25200, 152064, 0x1f468257
-0, 28800, 152064, 0xd534ff36
-0, 32400, 152064, 0xb230f7b8
-0, 36000, 152064, 0xd8f66983
-0, 39600, 152064, 0x2068b7a9
-0, 43200, 152064, 0xd5748d8c
-0, 46800, 152064, 0x1d701770
-0, 50400, 152064, 0xe505c973
-0, 54000, 152064, 0x0ae5a447
-0, 57600, 152064, 0x3cf356bc
-0, 61200, 152064, 0x7d735625
-0, 64800, 152064, 0x3ce6438f
-0, 68400, 152064, 0xef3d947c
-0, 72000, 152064, 0xa35872be
-0, 75600, 152064, 0xcb9d1a37
-0, 79200, 152064, 0x9ad4cda1
-0, 82800, 152064, 0xc8d00a24
-0, 86400, 152064, 0xadab390b
-0, 90000, 152064, 0x530837a5
-0, 93600, 152064, 0xfda73274
-0, 97200, 152064, 0x7a297022
-0, 100800, 152064, 0x0d5f16a1
-0, 104400, 152064, 0xb0453e15
-0, 108000, 152064, 0xdaf2ba1c
-0, 111600, 152064, 0x55e5f451
-0, 115200, 152064, 0x723ecbce
-0, 118800, 152064, 0xb8376dfa
-0, 122400, 152064, 0xf53d97b7
-0, 126000, 152064, 0x1e2065cb
-0, 129600, 152064, 0x79ab0d75
-0, 133200, 152064, 0xc5da27ed
-0, 136800, 152064, 0x37c9d744
-0, 140400, 152064, 0xa8ab8bc3
-0, 144000, 152064, 0xab16a630
-0, 147600, 152064, 0xbbd76705
-0, 151200, 152064, 0xe67b2032
-0, 154800, 152064, 0xe1e02979
-0, 158400, 152064, 0xe79260b2
-0, 162000, 152064, 0xec33b550
-0, 165600, 152064, 0x679cca25
-0, 169200, 152064, 0x464b0935
-0, 172800, 152064, 0xa4c36a2a
-0, 176400, 152064, 0xe9593764
-0, 180000, 152064, 0x10f9ff42
-0, 183600, 152064, 0x6518a6fa
-0, 187200, 152064, 0xd161e4f3
-0, 190800, 152064, 0xc9d9be11
-0, 194400, 152064, 0x0db78ff6
-0, 198000, 152064, 0xd47d7e0f
-0, 201600, 152064, 0xdf34e3a3
-0, 205200, 152064, 0x13b68bd6
-0, 208800, 152064, 0x90e845bd
-0, 212400, 152064, 0xb434883a
-0, 216000, 152064, 0xd8e1de00
-0, 219600, 152064, 0xc9a3df1f
-0, 223200, 152064, 0x01476f54
-0, 226800, 152064, 0xd52824a4
-0, 230400, 152064, 0x63d43662
-0, 234000, 152064, 0x40a90d0f
-0, 237600, 152064, 0x332b22eb
-0, 241200, 152064, 0x1c267e8c
-0, 244800, 152064, 0x9be230d3
-0, 248400, 152064, 0x0ca308e8
-0, 252000, 152064, 0xfb5c5fdd
-0, 255600, 152064, 0x0d386358
-0, 259200, 152064, 0x3c7148b3
-0, 262800, 152064, 0xc2c07dab
-0, 266400, 152064, 0x76bbf8eb
-0, 270000, 152064, 0xc8bac3fa
-0, 273600, 152064, 0x35ef5e12
-0, 277200, 152064, 0x5d1fea8d
-0, 280800, 152064, 0xafbb54ef
-0, 284400, 152064, 0xf5d3396e
-0, 288000, 152064, 0xc4f4f8eb
-0, 291600, 152064, 0x60a17fa1
-0, 295200, 152064, 0x8804cdf9
-0, 298800, 152064, 0x3227412f
-0, 302400, 152064, 0x130e5026
-0, 306000, 152064, 0xcb17344e
-0, 309600, 152064, 0x4f0dde70
-0, 313200, 152064, 0x57422405
-0, 316800, 152064, 0x48070e40
-0, 320400, 152064, 0x5c2f134d
-0, 324000, 152064, 0x123e23e2
-0, 327600, 152064, 0x393c1185
-0, 331200, 152064, 0x59919a69
-0, 334800, 152064, 0xc1dad5c4
-0, 338400, 152064, 0x49b8c9a9
-0, 342000, 152064, 0x8dab7b1c
-0, 345600, 152064, 0x3a63c0c0
-0, 349200, 152064, 0x224860bc
-0, 352800, 152064, 0xdc40c9b2
-0, 356400, 152064, 0xd3a0b8a1
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x9f9caf3c
+0, 1, 1, 1, 152064, 0x0ff688a6
+0, 2, 2, 1, 152064, 0x247d4215
+0, 3, 3, 1, 152064, 0x6d075b1b
+0, 4, 4, 1, 152064, 0x23893f77
+0, 5, 5, 1, 152064, 0x46db7dfc
+0, 6, 6, 1, 152064, 0x6438c4b9
+0, 7, 7, 1, 152064, 0x1f468257
+0, 8, 8, 1, 152064, 0xd534ff36
+0, 9, 9, 1, 152064, 0xb230f7b8
+0, 10, 10, 1, 152064, 0xd8f66983
+0, 11, 11, 1, 152064, 0x2068b7a9
+0, 12, 12, 1, 152064, 0xd5748d8c
+0, 13, 13, 1, 152064, 0x1d701770
+0, 14, 14, 1, 152064, 0xe505c973
+0, 15, 15, 1, 152064, 0x0ae5a447
+0, 16, 16, 1, 152064, 0x3cf356bc
+0, 17, 17, 1, 152064, 0x7d735625
+0, 18, 18, 1, 152064, 0x3ce6438f
+0, 19, 19, 1, 152064, 0xef3d947c
+0, 20, 20, 1, 152064, 0xa35872be
+0, 21, 21, 1, 152064, 0xcb9d1a37
+0, 22, 22, 1, 152064, 0x9ad4cda1
+0, 23, 23, 1, 152064, 0xc8d00a24
+0, 24, 24, 1, 152064, 0xadab390b
+0, 25, 25, 1, 152064, 0x530837a5
+0, 26, 26, 1, 152064, 0xfda73274
+0, 27, 27, 1, 152064, 0x7a297022
+0, 28, 28, 1, 152064, 0x0d5f16a1
+0, 29, 29, 1, 152064, 0xb0453e15
+0, 30, 30, 1, 152064, 0xdaf2ba1c
+0, 31, 31, 1, 152064, 0x55e5f451
+0, 32, 32, 1, 152064, 0x723ecbce
+0, 33, 33, 1, 152064, 0xb8376dfa
+0, 34, 34, 1, 152064, 0xf53d97b7
+0, 35, 35, 1, 152064, 0x1e2065cb
+0, 36, 36, 1, 152064, 0x79ab0d75
+0, 37, 37, 1, 152064, 0xc5da27ed
+0, 38, 38, 1, 152064, 0x37c9d744
+0, 39, 39, 1, 152064, 0xa8ab8bc3
+0, 40, 40, 1, 152064, 0xab16a630
+0, 41, 41, 1, 152064, 0xbbd76705
+0, 42, 42, 1, 152064, 0xe67b2032
+0, 43, 43, 1, 152064, 0xe1e02979
+0, 44, 44, 1, 152064, 0xe79260b2
+0, 45, 45, 1, 152064, 0xec33b550
+0, 46, 46, 1, 152064, 0x679cca25
+0, 47, 47, 1, 152064, 0x464b0935
+0, 48, 48, 1, 152064, 0xa4c36a2a
+0, 49, 49, 1, 152064, 0xe9593764
+0, 50, 50, 1, 152064, 0x10f9ff42
+0, 51, 51, 1, 152064, 0x6518a6fa
+0, 52, 52, 1, 152064, 0xd161e4f3
+0, 53, 53, 1, 152064, 0xc9d9be11
+0, 54, 54, 1, 152064, 0x0db78ff6
+0, 55, 55, 1, 152064, 0xd47d7e0f
+0, 56, 56, 1, 152064, 0xdf34e3a3
+0, 57, 57, 1, 152064, 0x13b68bd6
+0, 58, 58, 1, 152064, 0x90e845bd
+0, 59, 59, 1, 152064, 0xb434883a
+0, 60, 60, 1, 152064, 0xd8e1de00
+0, 61, 61, 1, 152064, 0xc9a3df1f
+0, 62, 62, 1, 152064, 0x01476f54
+0, 63, 63, 1, 152064, 0xd52824a4
+0, 64, 64, 1, 152064, 0x63d43662
+0, 65, 65, 1, 152064, 0x40a90d0f
+0, 66, 66, 1, 152064, 0x332b22eb
+0, 67, 67, 1, 152064, 0x1c267e8c
+0, 68, 68, 1, 152064, 0x9be230d3
+0, 69, 69, 1, 152064, 0x0ca308e8
+0, 70, 70, 1, 152064, 0xfb5c5fdd
+0, 71, 71, 1, 152064, 0x0d386358
+0, 72, 72, 1, 152064, 0x3c7148b3
+0, 73, 73, 1, 152064, 0xc2c07dab
+0, 74, 74, 1, 152064, 0x76bbf8eb
+0, 75, 75, 1, 152064, 0xc8bac3fa
+0, 76, 76, 1, 152064, 0x35ef5e12
+0, 77, 77, 1, 152064, 0x5d1fea8d
+0, 78, 78, 1, 152064, 0xafbb54ef
+0, 79, 79, 1, 152064, 0xf5d3396e
+0, 80, 80, 1, 152064, 0xc4f4f8eb
+0, 81, 81, 1, 152064, 0x60a17fa1
+0, 82, 82, 1, 152064, 0x8804cdf9
+0, 83, 83, 1, 152064, 0x3227412f
+0, 84, 84, 1, 152064, 0x130e5026
+0, 85, 85, 1, 152064, 0xcb17344e
+0, 86, 86, 1, 152064, 0x4f0dde70
+0, 87, 87, 1, 152064, 0x57422405
+0, 88, 88, 1, 152064, 0x48070e40
+0, 89, 89, 1, 152064, 0x5c2f134d
+0, 90, 90, 1, 152064, 0x123e23e2
+0, 91, 91, 1, 152064, 0x393c1185
+0, 92, 92, 1, 152064, 0x59919a69
+0, 93, 93, 1, 152064, 0xc1dad5c4
+0, 94, 94, 1, 152064, 0x49b8c9a9
+0, 95, 95, 1, 152064, 0x8dab7b1c
+0, 96, 96, 1, 152064, 0x3a63c0c0
+0, 97, 97, 1, 152064, 0x224860bc
+0, 98, 98, 1, 152064, 0xdc40c9b2
+0, 99, 99, 1, 152064, 0xd3a0b8a1
diff --git a/tests/ref/fate/h264-conformance-frext-freh1_b b/tests/ref/fate/h264-conformance-frext-freh1_b
index 4e35e13b56..c5c0b253a5 100644
--- a/tests/ref/fate/h264-conformance-frext-freh1_b
+++ b/tests/ref/fate/h264-conformance-frext-freh1_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x42a3d9ce
-0, 3600, 152064, 0xa95cc2ed
-0, 7200, 152064, 0xc48f8fdc
-0, 10800, 152064, 0x1584b7e8
-0, 14400, 152064, 0xd6f34b7e
-0, 18000, 152064, 0xbb196ee4
-0, 21600, 152064, 0xdfe79cbd
-0, 25200, 152064, 0x023799b7
-0, 28800, 152064, 0x156b1932
-0, 32400, 152064, 0x6dd14765
-0, 36000, 152064, 0xd2bd86b9
-0, 39600, 152064, 0xee62c71d
-0, 43200, 152064, 0x60667d48
-0, 46800, 152064, 0x09df084c
-0, 50400, 152064, 0xc1a0b8d7
-0, 54000, 152064, 0x55adc538
-0, 57600, 152064, 0xf6d28a14
-0, 61200, 152064, 0x1adab322
-0, 64800, 152064, 0xa6c796aa
-0, 68400, 152064, 0x60d8dc6a
-0, 72000, 152064, 0x20f9c609
-0, 75600, 152064, 0x299f4059
-0, 79200, 152064, 0x93eb0fea
-0, 82800, 152064, 0x76e7547e
-0, 86400, 152064, 0xc4b76f90
-0, 90000, 152064, 0x4b7a85ea
-0, 93600, 152064, 0x2e138df4
-0, 97200, 152064, 0x7df1a421
-0, 100800, 152064, 0x0e9a1a3e
-0, 104400, 152064, 0x56124293
-0, 108000, 152064, 0x1faee8f7
-0, 111600, 152064, 0x7f551572
-0, 115200, 152064, 0x8974cbf0
-0, 118800, 152064, 0x1c5dc5e9
-0, 122400, 152064, 0x2498eb5b
-0, 126000, 152064, 0x861ed634
-0, 129600, 152064, 0x0e62a433
-0, 133200, 152064, 0xf3648cc0
-0, 136800, 152064, 0x69bc344b
-0, 140400, 152064, 0x797eaafe
-0, 144000, 152064, 0x722fbff8
-0, 147600, 152064, 0xa8895582
-0, 151200, 152064, 0xde1bcffb
-0, 154800, 152064, 0xf558ed3f
-0, 158400, 152064, 0xa5173e0e
-0, 162000, 152064, 0x6872d018
-0, 165600, 152064, 0x6af6c55d
-0, 169200, 152064, 0x7c6b1f26
-0, 172800, 152064, 0xa8086db3
-0, 176400, 152064, 0x70b762e1
-0, 180000, 152064, 0x85b7eb76
-0, 183600, 152064, 0x3a4393f1
-0, 187200, 152064, 0xdabdda42
-0, 190800, 152064, 0xbb84b84c
-0, 194400, 152064, 0xabe880d8
-0, 198000, 152064, 0xe7303cc5
-0, 201600, 152064, 0xecdcc142
-0, 205200, 152064, 0x591118db
-0, 208800, 152064, 0x37a715c6
-0, 212400, 152064, 0x9106221e
-0, 216000, 152064, 0xb1821a2e
-0, 219600, 152064, 0x3adeccdb
-0, 223200, 152064, 0xd4ac64a8
-0, 226800, 152064, 0x8f34134f
-0, 230400, 152064, 0x1f3cf03d
-0, 234000, 152064, 0x7b5da3b0
-0, 237600, 152064, 0x23f69e68
-0, 241200, 152064, 0x67e62093
-0, 244800, 152064, 0xf226d12e
-0, 248400, 152064, 0x2eb08a1f
-0, 252000, 152064, 0x5bb70c54
-0, 255600, 152064, 0x2edb3578
-0, 259200, 152064, 0x9d0c1b30
-0, 262800, 152064, 0xd8266732
-0, 266400, 152064, 0xad67cd45
-0, 270000, 152064, 0x7a11d3cc
-0, 273600, 152064, 0xac534ec1
-0, 277200, 152064, 0x7ff6ba17
-0, 280800, 152064, 0xf9741b77
-0, 284400, 152064, 0x318d25fa
-0, 288000, 152064, 0xff4ae686
-0, 291600, 152064, 0x26a05ae2
-0, 295200, 152064, 0x95619a34
-0, 298800, 152064, 0xec2b1136
-0, 302400, 152064, 0xf93ebeca
-0, 306000, 152064, 0xd8237aaa
-0, 309600, 152064, 0x1c362a05
-0, 313200, 152064, 0x6fc74faa
-0, 316800, 152064, 0x875e5b67
-0, 320400, 152064, 0xc04093be
-0, 324000, 152064, 0x4c2340a1
-0, 327600, 152064, 0x7af99e63
-0, 331200, 152064, 0xf5b89a4e
-0, 334800, 152064, 0xb7759e48
-0, 338400, 152064, 0x61a15c06
-0, 342000, 152064, 0x91a5ae4c
-0, 345600, 152064, 0x6aedf226
-0, 349200, 152064, 0x870dbf36
-0, 352800, 152064, 0x814d04a3
-0, 356400, 152064, 0xd5a30892
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x42a3d9ce
+0, 1, 1, 1, 152064, 0xa95cc2ed
+0, 2, 2, 1, 152064, 0xc48f8fdc
+0, 3, 3, 1, 152064, 0x1584b7e8
+0, 4, 4, 1, 152064, 0xd6f34b7e
+0, 5, 5, 1, 152064, 0xbb196ee4
+0, 6, 6, 1, 152064, 0xdfe79cbd
+0, 7, 7, 1, 152064, 0x023799b7
+0, 8, 8, 1, 152064, 0x156b1932
+0, 9, 9, 1, 152064, 0x6dd14765
+0, 10, 10, 1, 152064, 0xd2bd86b9
+0, 11, 11, 1, 152064, 0xee62c71d
+0, 12, 12, 1, 152064, 0x60667d48
+0, 13, 13, 1, 152064, 0x09df084c
+0, 14, 14, 1, 152064, 0xc1a0b8d7
+0, 15, 15, 1, 152064, 0x55adc538
+0, 16, 16, 1, 152064, 0xf6d28a14
+0, 17, 17, 1, 152064, 0x1adab322
+0, 18, 18, 1, 152064, 0xa6c796aa
+0, 19, 19, 1, 152064, 0x60d8dc6a
+0, 20, 20, 1, 152064, 0x20f9c609
+0, 21, 21, 1, 152064, 0x299f4059
+0, 22, 22, 1, 152064, 0x93eb0fea
+0, 23, 23, 1, 152064, 0x76e7547e
+0, 24, 24, 1, 152064, 0xc4b76f90
+0, 25, 25, 1, 152064, 0x4b7a85ea
+0, 26, 26, 1, 152064, 0x2e138df4
+0, 27, 27, 1, 152064, 0x7df1a421
+0, 28, 28, 1, 152064, 0x0e9a1a3e
+0, 29, 29, 1, 152064, 0x56124293
+0, 30, 30, 1, 152064, 0x1faee8f7
+0, 31, 31, 1, 152064, 0x7f551572
+0, 32, 32, 1, 152064, 0x8974cbf0
+0, 33, 33, 1, 152064, 0x1c5dc5e9
+0, 34, 34, 1, 152064, 0x2498eb5b
+0, 35, 35, 1, 152064, 0x861ed634
+0, 36, 36, 1, 152064, 0x0e62a433
+0, 37, 37, 1, 152064, 0xf3648cc0
+0, 38, 38, 1, 152064, 0x69bc344b
+0, 39, 39, 1, 152064, 0x797eaafe
+0, 40, 40, 1, 152064, 0x722fbff8
+0, 41, 41, 1, 152064, 0xa8895582
+0, 42, 42, 1, 152064, 0xde1bcffb
+0, 43, 43, 1, 152064, 0xf558ed3f
+0, 44, 44, 1, 152064, 0xa5173e0e
+0, 45, 45, 1, 152064, 0x6872d018
+0, 46, 46, 1, 152064, 0x6af6c55d
+0, 47, 47, 1, 152064, 0x7c6b1f26
+0, 48, 48, 1, 152064, 0xa8086db3
+0, 49, 49, 1, 152064, 0x70b762e1
+0, 50, 50, 1, 152064, 0x85b7eb76
+0, 51, 51, 1, 152064, 0x3a4393f1
+0, 52, 52, 1, 152064, 0xdabdda42
+0, 53, 53, 1, 152064, 0xbb84b84c
+0, 54, 54, 1, 152064, 0xabe880d8
+0, 55, 55, 1, 152064, 0xe7303cc5
+0, 56, 56, 1, 152064, 0xecdcc142
+0, 57, 57, 1, 152064, 0x591118db
+0, 58, 58, 1, 152064, 0x37a715c6
+0, 59, 59, 1, 152064, 0x9106221e
+0, 60, 60, 1, 152064, 0xb1821a2e
+0, 61, 61, 1, 152064, 0x3adeccdb
+0, 62, 62, 1, 152064, 0xd4ac64a8
+0, 63, 63, 1, 152064, 0x8f34134f
+0, 64, 64, 1, 152064, 0x1f3cf03d
+0, 65, 65, 1, 152064, 0x7b5da3b0
+0, 66, 66, 1, 152064, 0x23f69e68
+0, 67, 67, 1, 152064, 0x67e62093
+0, 68, 68, 1, 152064, 0xf226d12e
+0, 69, 69, 1, 152064, 0x2eb08a1f
+0, 70, 70, 1, 152064, 0x5bb70c54
+0, 71, 71, 1, 152064, 0x2edb3578
+0, 72, 72, 1, 152064, 0x9d0c1b30
+0, 73, 73, 1, 152064, 0xd8266732
+0, 74, 74, 1, 152064, 0xad67cd45
+0, 75, 75, 1, 152064, 0x7a11d3cc
+0, 76, 76, 1, 152064, 0xac534ec1
+0, 77, 77, 1, 152064, 0x7ff6ba17
+0, 78, 78, 1, 152064, 0xf9741b77
+0, 79, 79, 1, 152064, 0x318d25fa
+0, 80, 80, 1, 152064, 0xff4ae686
+0, 81, 81, 1, 152064, 0x26a05ae2
+0, 82, 82, 1, 152064, 0x95619a34
+0, 83, 83, 1, 152064, 0xec2b1136
+0, 84, 84, 1, 152064, 0xf93ebeca
+0, 85, 85, 1, 152064, 0xd8237aaa
+0, 86, 86, 1, 152064, 0x1c362a05
+0, 87, 87, 1, 152064, 0x6fc74faa
+0, 88, 88, 1, 152064, 0x875e5b67
+0, 89, 89, 1, 152064, 0xc04093be
+0, 90, 90, 1, 152064, 0x4c2340a1
+0, 91, 91, 1, 152064, 0x7af99e63
+0, 92, 92, 1, 152064, 0xf5b89a4e
+0, 93, 93, 1, 152064, 0xb7759e48
+0, 94, 94, 1, 152064, 0x61a15c06
+0, 95, 95, 1, 152064, 0x91a5ae4c
+0, 96, 96, 1, 152064, 0x6aedf226
+0, 97, 97, 1, 152064, 0x870dbf36
+0, 98, 98, 1, 152064, 0x814d04a3
+0, 99, 99, 1, 152064, 0xd5a30892
diff --git a/tests/ref/fate/h264-conformance-frext-freh2_b b/tests/ref/fate/h264-conformance-frext-freh2_b
index ac9a48c483..ff12025d6a 100644
--- a/tests/ref/fate/h264-conformance-frext-freh2_b
+++ b/tests/ref/fate/h264-conformance-frext-freh2_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x1668b41a
-0, 3600, 152064, 0x953ca7fb
-0, 7200, 152064, 0x3e38bc6e
-0, 10800, 152064, 0x18dff6cc
-0, 14400, 152064, 0x03105f7a
-0, 18000, 152064, 0x6fe79efb
-0, 21600, 152064, 0xbd4ccb6f
-0, 25200, 152064, 0xaf398a10
-0, 28800, 152064, 0x4f281075
-0, 32400, 152064, 0x88f63791
-0, 36000, 152064, 0x7500b606
-0, 39600, 152064, 0xebebd6e6
-0, 43200, 152064, 0x3ed7c35e
-0, 46800, 152064, 0xc95826d6
-0, 50400, 152064, 0x0989ab63
-0, 54000, 152064, 0xddd5d22b
-0, 57600, 152064, 0x11683b8a
-0, 61200, 152064, 0x5ce36d50
-0, 64800, 152064, 0xa5185ccf
-0, 68400, 152064, 0xf47583b5
-0, 72000, 152064, 0xac6e82b6
-0, 75600, 152064, 0xf8dc25c0
-0, 79200, 152064, 0x5a6aba8e
-0, 82800, 152064, 0x43790f6d
-0, 86400, 152064, 0x787c4377
-0, 90000, 152064, 0xe6833159
-0, 93600, 152064, 0xe5c21131
-0, 97200, 152064, 0x16ae69bb
-0, 100800, 152064, 0x754fcc9e
-0, 104400, 152064, 0x71aaf1e1
-0, 108000, 152064, 0xce9de9ee
-0, 111600, 152064, 0x05e6d832
-0, 115200, 152064, 0x5773b413
-0, 118800, 152064, 0xe518881c
-0, 122400, 152064, 0xe248bce9
-0, 126000, 152064, 0x421e8c0d
-0, 129600, 152064, 0x30135143
-0, 133200, 152064, 0xf02347f4
-0, 136800, 152064, 0x3fa71a0e
-0, 140400, 152064, 0x2c14d955
-0, 144000, 152064, 0x18b2d558
-0, 147600, 152064, 0x54cb7fa2
-0, 151200, 152064, 0x90ae2332
-0, 154800, 152064, 0x7957129a
-0, 158400, 152064, 0x6c9b463e
-0, 162000, 152064, 0x8c44e126
-0, 165600, 152064, 0xde3ba475
-0, 169200, 152064, 0x9823e3ed
-0, 172800, 152064, 0x3ce03b21
-0, 176400, 152064, 0x930007a2
-0, 180000, 152064, 0x6f94bf67
-0, 183600, 152064, 0x3e113ce9
-0, 187200, 152064, 0xa31c8828
-0, 190800, 152064, 0xe65260e0
-0, 194400, 152064, 0x4c612620
-0, 198000, 152064, 0xdc41f17f
-0, 201600, 152064, 0x6d3f6a84
-0, 205200, 152064, 0xfb55e9e9
-0, 208800, 152064, 0x21e2c8b5
-0, 212400, 152064, 0x2d0939a9
-0, 216000, 152064, 0xe1f422d2
-0, 219600, 152064, 0xab0ad4a3
-0, 223200, 152064, 0x948f46df
-0, 226800, 152064, 0x61f50c16
-0, 230400, 152064, 0x7f5edb05
-0, 234000, 152064, 0x8d8c4782
-0, 237600, 152064, 0xe8644529
-0, 241200, 152064, 0x1e7ce779
-0, 244800, 152064, 0x22f355a9
-0, 248400, 152064, 0x4dd736d4
-0, 252000, 152064, 0x3d968c63
-0, 255600, 152064, 0xa629c711
-0, 259200, 152064, 0xae87c4c6
-0, 262800, 152064, 0xcd482dd2
-0, 266400, 152064, 0x6bbbbd25
-0, 270000, 152064, 0x4f0ad3d2
-0, 273600, 152064, 0x66052e88
-0, 277200, 152064, 0xa09dff03
-0, 280800, 152064, 0xb3837263
-0, 284400, 152064, 0x3c91fdde
-0, 288000, 152064, 0x4d9309a9
-0, 291600, 152064, 0x6b624164
-0, 295200, 152064, 0xaa425ecb
-0, 298800, 152064, 0x37aec7c9
-0, 302400, 152064, 0xf4b3d359
-0, 306000, 152064, 0x85d3af2b
-0, 309600, 152064, 0xe5c1f190
-0, 313200, 152064, 0x8cb00e09
-0, 316800, 152064, 0x59406ebc
-0, 320400, 152064, 0xd7ac351f
-0, 324000, 152064, 0x998238b6
-0, 327600, 152064, 0x8e89d064
-0, 331200, 152064, 0x644223c5
-0, 334800, 152064, 0x90ad366f
-0, 338400, 152064, 0x40a12122
-0, 342000, 152064, 0x3045024c
-0, 345600, 152064, 0x58673cfb
-0, 349200, 152064, 0x567cf1fe
-0, 352800, 152064, 0x2d236e41
-0, 356400, 152064, 0xc493577d
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x1668b41a
+0, 1, 1, 1, 152064, 0x953ca7fb
+0, 2, 2, 1, 152064, 0x3e38bc6e
+0, 3, 3, 1, 152064, 0x18dff6cc
+0, 4, 4, 1, 152064, 0x03105f7a
+0, 5, 5, 1, 152064, 0x6fe79efb
+0, 6, 6, 1, 152064, 0xbd4ccb6f
+0, 7, 7, 1, 152064, 0xaf398a10
+0, 8, 8, 1, 152064, 0x4f281075
+0, 9, 9, 1, 152064, 0x88f63791
+0, 10, 10, 1, 152064, 0x7500b606
+0, 11, 11, 1, 152064, 0xebebd6e6
+0, 12, 12, 1, 152064, 0x3ed7c35e
+0, 13, 13, 1, 152064, 0xc95826d6
+0, 14, 14, 1, 152064, 0x0989ab63
+0, 15, 15, 1, 152064, 0xddd5d22b
+0, 16, 16, 1, 152064, 0x11683b8a
+0, 17, 17, 1, 152064, 0x5ce36d50
+0, 18, 18, 1, 152064, 0xa5185ccf
+0, 19, 19, 1, 152064, 0xf47583b5
+0, 20, 20, 1, 152064, 0xac6e82b6
+0, 21, 21, 1, 152064, 0xf8dc25c0
+0, 22, 22, 1, 152064, 0x5a6aba8e
+0, 23, 23, 1, 152064, 0x43790f6d
+0, 24, 24, 1, 152064, 0x787c4377
+0, 25, 25, 1, 152064, 0xe6833159
+0, 26, 26, 1, 152064, 0xe5c21131
+0, 27, 27, 1, 152064, 0x16ae69bb
+0, 28, 28, 1, 152064, 0x754fcc9e
+0, 29, 29, 1, 152064, 0x71aaf1e1
+0, 30, 30, 1, 152064, 0xce9de9ee
+0, 31, 31, 1, 152064, 0x05e6d832
+0, 32, 32, 1, 152064, 0x5773b413
+0, 33, 33, 1, 152064, 0xe518881c
+0, 34, 34, 1, 152064, 0xe248bce9
+0, 35, 35, 1, 152064, 0x421e8c0d
+0, 36, 36, 1, 152064, 0x30135143
+0, 37, 37, 1, 152064, 0xf02347f4
+0, 38, 38, 1, 152064, 0x3fa71a0e
+0, 39, 39, 1, 152064, 0x2c14d955
+0, 40, 40, 1, 152064, 0x18b2d558
+0, 41, 41, 1, 152064, 0x54cb7fa2
+0, 42, 42, 1, 152064, 0x90ae2332
+0, 43, 43, 1, 152064, 0x7957129a
+0, 44, 44, 1, 152064, 0x6c9b463e
+0, 45, 45, 1, 152064, 0x8c44e126
+0, 46, 46, 1, 152064, 0xde3ba475
+0, 47, 47, 1, 152064, 0x9823e3ed
+0, 48, 48, 1, 152064, 0x3ce03b21
+0, 49, 49, 1, 152064, 0x930007a2
+0, 50, 50, 1, 152064, 0x6f94bf67
+0, 51, 51, 1, 152064, 0x3e113ce9
+0, 52, 52, 1, 152064, 0xa31c8828
+0, 53, 53, 1, 152064, 0xe65260e0
+0, 54, 54, 1, 152064, 0x4c612620
+0, 55, 55, 1, 152064, 0xdc41f17f
+0, 56, 56, 1, 152064, 0x6d3f6a84
+0, 57, 57, 1, 152064, 0xfb55e9e9
+0, 58, 58, 1, 152064, 0x21e2c8b5
+0, 59, 59, 1, 152064, 0x2d0939a9
+0, 60, 60, 1, 152064, 0xe1f422d2
+0, 61, 61, 1, 152064, 0xab0ad4a3
+0, 62, 62, 1, 152064, 0x948f46df
+0, 63, 63, 1, 152064, 0x61f50c16
+0, 64, 64, 1, 152064, 0x7f5edb05
+0, 65, 65, 1, 152064, 0x8d8c4782
+0, 66, 66, 1, 152064, 0xe8644529
+0, 67, 67, 1, 152064, 0x1e7ce779
+0, 68, 68, 1, 152064, 0x22f355a9
+0, 69, 69, 1, 152064, 0x4dd736d4
+0, 70, 70, 1, 152064, 0x3d968c63
+0, 71, 71, 1, 152064, 0xa629c711
+0, 72, 72, 1, 152064, 0xae87c4c6
+0, 73, 73, 1, 152064, 0xcd482dd2
+0, 74, 74, 1, 152064, 0x6bbbbd25
+0, 75, 75, 1, 152064, 0x4f0ad3d2
+0, 76, 76, 1, 152064, 0x66052e88
+0, 77, 77, 1, 152064, 0xa09dff03
+0, 78, 78, 1, 152064, 0xb3837263
+0, 79, 79, 1, 152064, 0x3c91fdde
+0, 80, 80, 1, 152064, 0x4d9309a9
+0, 81, 81, 1, 152064, 0x6b624164
+0, 82, 82, 1, 152064, 0xaa425ecb
+0, 83, 83, 1, 152064, 0x37aec7c9
+0, 84, 84, 1, 152064, 0xf4b3d359
+0, 85, 85, 1, 152064, 0x85d3af2b
+0, 86, 86, 1, 152064, 0xe5c1f190
+0, 87, 87, 1, 152064, 0x8cb00e09
+0, 88, 88, 1, 152064, 0x59406ebc
+0, 89, 89, 1, 152064, 0xd7ac351f
+0, 90, 90, 1, 152064, 0x998238b6
+0, 91, 91, 1, 152064, 0x8e89d064
+0, 92, 92, 1, 152064, 0x644223c5
+0, 93, 93, 1, 152064, 0x90ad366f
+0, 94, 94, 1, 152064, 0x40a12122
+0, 95, 95, 1, 152064, 0x3045024c
+0, 96, 96, 1, 152064, 0x58673cfb
+0, 97, 97, 1, 152064, 0x567cf1fe
+0, 98, 98, 1, 152064, 0x2d236e41
+0, 99, 99, 1, 152064, 0xc493577d
diff --git a/tests/ref/fate/h264-conformance-frext-freh6 b/tests/ref/fate/h264-conformance-frext-freh6
index 4dd3afde99..c769038cfd 100644
--- a/tests/ref/fate/h264-conformance-frext-freh6
+++ b/tests/ref/fate/h264-conformance-frext-freh6
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x3b21d6cd
-0, 3600, 152064, 0xc32088c6
-0, 7200, 152064, 0x65a64cee
-0, 10800, 152064, 0x0bd45a5b
-0, 14400, 152064, 0xb2210d4d
-0, 18000, 152064, 0xf5b15527
-0, 21600, 152064, 0x806572ad
-0, 25200, 152064, 0x6ecb1fc8
-0, 28800, 152064, 0xc25e96d5
-0, 32400, 152064, 0x5593b825
-0, 36000, 152064, 0xf3be1cff
-0, 39600, 152064, 0xa9155072
-0, 43200, 152064, 0xd5552e26
-0, 46800, 152064, 0x7bf0dbee
-0, 50400, 152064, 0x998b4911
-0, 54000, 152064, 0xcc71bbe0
-0, 57600, 152064, 0x602415b8
-0, 61200, 152064, 0xcfff37cf
-0, 64800, 152064, 0x7cf824a8
-0, 68400, 152064, 0x34816ee5
-0, 72000, 152064, 0x1480540c
-0, 75600, 152064, 0xc2351aaf
-0, 79200, 152064, 0x3b8eac9f
-0, 82800, 152064, 0x92a8faf8
-0, 86400, 152064, 0x7b6121c8
-0, 90000, 152064, 0xe73a3bac
-0, 93600, 152064, 0xcd6e1e36
-0, 97200, 152064, 0xb24660b1
-0, 100800, 152064, 0xa290ec25
-0, 104400, 152064, 0x308915ff
-0, 108000, 152064, 0x1e8dd4db
-0, 111600, 152064, 0x1372f2e0
-0, 115200, 152064, 0xa07cc1d0
-0, 118800, 152064, 0x34bb872c
-0, 122400, 152064, 0x59e6a565
-0, 126000, 152064, 0x9a097932
-0, 129600, 152064, 0x938f2e20
-0, 133200, 152064, 0x59a8157d
-0, 136800, 152064, 0x5cacd404
-0, 140400, 152064, 0xdad068f5
-0, 144000, 152064, 0x7ba67d47
-0, 147600, 152064, 0xc2a11e2d
-0, 151200, 152064, 0xd37fdef7
-0, 154800, 152064, 0x19a3f80a
-0, 158400, 152064, 0x7ec7426a
-0, 162000, 152064, 0x8ffedb61
-0, 165600, 152064, 0x82aebdd0
-0, 169200, 152064, 0xdfc920cc
-0, 172800, 152064, 0x2a467698
-0, 176400, 152064, 0xd08a37d5
-0, 180000, 152064, 0xe606e66a
-0, 183600, 152064, 0x0e7b8bd8
-0, 187200, 152064, 0xf983c732
-0, 190800, 152064, 0x9b82c2e7
-0, 194400, 152064, 0xa990a47e
-0, 198000, 152064, 0x2d5679f1
-0, 201600, 152064, 0x7f1c0201
-0, 205200, 152064, 0xc38b709d
-0, 208800, 152064, 0x040246d8
-0, 212400, 152064, 0xbc856021
-0, 216000, 152064, 0x81e01a78
-0, 219600, 152064, 0xaff1e7f1
-0, 223200, 152064, 0x1fee7715
-0, 226800, 152064, 0x65053711
-0, 230400, 152064, 0x238a0118
-0, 234000, 152064, 0x563491b4
-0, 237600, 152064, 0x5974a6cc
-0, 241200, 152064, 0xd8682c35
-0, 244800, 152064, 0x85c49e96
-0, 248400, 152064, 0x29486faa
-0, 252000, 152064, 0x1a4f0579
-0, 255600, 152064, 0x6ab86c2f
-0, 259200, 152064, 0x36a36d2b
-0, 262800, 152064, 0x3bd77543
-0, 266400, 152064, 0x8fbddc41
-0, 270000, 152064, 0xccc6e0a5
-0, 273600, 152064, 0x00a9539e
-0, 277200, 152064, 0x07ba0714
-0, 280800, 152064, 0xbab2735d
-0, 284400, 152064, 0x79cb5ba0
-0, 288000, 152064, 0xdbcc1c92
-0, 291600, 152064, 0xffec952c
-0, 295200, 152064, 0xc31ac68e
-0, 298800, 152064, 0x24293eb9
-0, 302400, 152064, 0x7b9b2cb4
-0, 306000, 152064, 0x9dd4fe95
-0, 309600, 152064, 0xb62e8baf
-0, 313200, 152064, 0x9fefc174
-0, 316800, 152064, 0xe027c24e
-0, 320400, 152064, 0xe38adc70
-0, 324000, 152064, 0xc7bf536f
-0, 327600, 152064, 0x4448f330
-0, 331200, 152064, 0x4dad5339
-0, 334800, 152064, 0x48fbab15
-0, 338400, 152064, 0xe6c97b2c
-0, 342000, 152064, 0x3c3829ee
-0, 345600, 152064, 0x927772c0
-0, 349200, 152064, 0xbb0f0ef4
-0, 352800, 152064, 0xe65780a7
-0, 356400, 152064, 0xaf8f6d72
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x3b21d6cd
+0, 1, 1, 1, 152064, 0xc32088c6
+0, 2, 2, 1, 152064, 0x65a64cee
+0, 3, 3, 1, 152064, 0x0bd45a5b
+0, 4, 4, 1, 152064, 0xb2210d4d
+0, 5, 5, 1, 152064, 0xf5b15527
+0, 6, 6, 1, 152064, 0x806572ad
+0, 7, 7, 1, 152064, 0x6ecb1fc8
+0, 8, 8, 1, 152064, 0xc25e96d5
+0, 9, 9, 1, 152064, 0x5593b825
+0, 10, 10, 1, 152064, 0xf3be1cff
+0, 11, 11, 1, 152064, 0xa9155072
+0, 12, 12, 1, 152064, 0xd5552e26
+0, 13, 13, 1, 152064, 0x7bf0dbee
+0, 14, 14, 1, 152064, 0x998b4911
+0, 15, 15, 1, 152064, 0xcc71bbe0
+0, 16, 16, 1, 152064, 0x602415b8
+0, 17, 17, 1, 152064, 0xcfff37cf
+0, 18, 18, 1, 152064, 0x7cf824a8
+0, 19, 19, 1, 152064, 0x34816ee5
+0, 20, 20, 1, 152064, 0x1480540c
+0, 21, 21, 1, 152064, 0xc2351aaf
+0, 22, 22, 1, 152064, 0x3b8eac9f
+0, 23, 23, 1, 152064, 0x92a8faf8
+0, 24, 24, 1, 152064, 0x7b6121c8
+0, 25, 25, 1, 152064, 0xe73a3bac
+0, 26, 26, 1, 152064, 0xcd6e1e36
+0, 27, 27, 1, 152064, 0xb24660b1
+0, 28, 28, 1, 152064, 0xa290ec25
+0, 29, 29, 1, 152064, 0x308915ff
+0, 30, 30, 1, 152064, 0x1e8dd4db
+0, 31, 31, 1, 152064, 0x1372f2e0
+0, 32, 32, 1, 152064, 0xa07cc1d0
+0, 33, 33, 1, 152064, 0x34bb872c
+0, 34, 34, 1, 152064, 0x59e6a565
+0, 35, 35, 1, 152064, 0x9a097932
+0, 36, 36, 1, 152064, 0x938f2e20
+0, 37, 37, 1, 152064, 0x59a8157d
+0, 38, 38, 1, 152064, 0x5cacd404
+0, 39, 39, 1, 152064, 0xdad068f5
+0, 40, 40, 1, 152064, 0x7ba67d47
+0, 41, 41, 1, 152064, 0xc2a11e2d
+0, 42, 42, 1, 152064, 0xd37fdef7
+0, 43, 43, 1, 152064, 0x19a3f80a
+0, 44, 44, 1, 152064, 0x7ec7426a
+0, 45, 45, 1, 152064, 0x8ffedb61
+0, 46, 46, 1, 152064, 0x82aebdd0
+0, 47, 47, 1, 152064, 0xdfc920cc
+0, 48, 48, 1, 152064, 0x2a467698
+0, 49, 49, 1, 152064, 0xd08a37d5
+0, 50, 50, 1, 152064, 0xe606e66a
+0, 51, 51, 1, 152064, 0x0e7b8bd8
+0, 52, 52, 1, 152064, 0xf983c732
+0, 53, 53, 1, 152064, 0x9b82c2e7
+0, 54, 54, 1, 152064, 0xa990a47e
+0, 55, 55, 1, 152064, 0x2d5679f1
+0, 56, 56, 1, 152064, 0x7f1c0201
+0, 57, 57, 1, 152064, 0xc38b709d
+0, 58, 58, 1, 152064, 0x040246d8
+0, 59, 59, 1, 152064, 0xbc856021
+0, 60, 60, 1, 152064, 0x81e01a78
+0, 61, 61, 1, 152064, 0xaff1e7f1
+0, 62, 62, 1, 152064, 0x1fee7715
+0, 63, 63, 1, 152064, 0x65053711
+0, 64, 64, 1, 152064, 0x238a0118
+0, 65, 65, 1, 152064, 0x563491b4
+0, 66, 66, 1, 152064, 0x5974a6cc
+0, 67, 67, 1, 152064, 0xd8682c35
+0, 68, 68, 1, 152064, 0x85c49e96
+0, 69, 69, 1, 152064, 0x29486faa
+0, 70, 70, 1, 152064, 0x1a4f0579
+0, 71, 71, 1, 152064, 0x6ab86c2f
+0, 72, 72, 1, 152064, 0x36a36d2b
+0, 73, 73, 1, 152064, 0x3bd77543
+0, 74, 74, 1, 152064, 0x8fbddc41
+0, 75, 75, 1, 152064, 0xccc6e0a5
+0, 76, 76, 1, 152064, 0x00a9539e
+0, 77, 77, 1, 152064, 0x07ba0714
+0, 78, 78, 1, 152064, 0xbab2735d
+0, 79, 79, 1, 152064, 0x79cb5ba0
+0, 80, 80, 1, 152064, 0xdbcc1c92
+0, 81, 81, 1, 152064, 0xffec952c
+0, 82, 82, 1, 152064, 0xc31ac68e
+0, 83, 83, 1, 152064, 0x24293eb9
+0, 84, 84, 1, 152064, 0x7b9b2cb4
+0, 85, 85, 1, 152064, 0x9dd4fe95
+0, 86, 86, 1, 152064, 0xb62e8baf
+0, 87, 87, 1, 152064, 0x9fefc174
+0, 88, 88, 1, 152064, 0xe027c24e
+0, 89, 89, 1, 152064, 0xe38adc70
+0, 90, 90, 1, 152064, 0xc7bf536f
+0, 91, 91, 1, 152064, 0x4448f330
+0, 92, 92, 1, 152064, 0x4dad5339
+0, 93, 93, 1, 152064, 0x48fbab15
+0, 94, 94, 1, 152064, 0xe6c97b2c
+0, 95, 95, 1, 152064, 0x3c3829ee
+0, 96, 96, 1, 152064, 0x927772c0
+0, 97, 97, 1, 152064, 0xbb0f0ef4
+0, 98, 98, 1, 152064, 0xe65780a7
+0, 99, 99, 1, 152064, 0xaf8f6d72
diff --git a/tests/ref/fate/h264-conformance-frext-freh7_b b/tests/ref/fate/h264-conformance-frext-freh7_b
index 8c397f2dd5..519c34676e 100644
--- a/tests/ref/fate/h264-conformance-frext-freh7_b
+++ b/tests/ref/fate/h264-conformance-frext-freh7_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x89f2e8d5
-0, 3600, 152064, 0x35b99397
-0, 7200, 152064, 0x6ef46744
-0, 10800, 152064, 0xec4d6c1c
-0, 14400, 152064, 0xad6e0c70
-0, 18000, 152064, 0x2db534b3
-0, 21600, 152064, 0xcbd25ddd
-0, 25200, 152064, 0xd90708b4
-0, 28800, 152064, 0xc2aa52df
-0, 32400, 152064, 0xbcfc84dc
-0, 36000, 152064, 0xa5a6d269
-0, 39600, 152064, 0x27220ce9
-0, 43200, 152064, 0xf075ee6d
-0, 46800, 152064, 0x9fd3c2ac
-0, 50400, 152064, 0xcba24c2d
-0, 54000, 152064, 0x41cd9441
-0, 57600, 152064, 0x0126efa3
-0, 61200, 152064, 0xf62112af
-0, 64800, 152064, 0x35aff50f
-0, 68400, 152064, 0xcb0b276f
-0, 72000, 152064, 0xc7ef0214
-0, 75600, 152064, 0x7f78d387
-0, 79200, 152064, 0x266c673d
-0, 82800, 152064, 0x1d39c073
-0, 86400, 152064, 0x6a3ae455
-0, 90000, 152064, 0xe4ce0230
-0, 93600, 152064, 0x7f95e87b
-0, 97200, 152064, 0x7c552236
-0, 100800, 152064, 0x24c799b9
-0, 104400, 152064, 0x5042d974
-0, 108000, 152064, 0xe934a5b8
-0, 111600, 152064, 0x6d59c884
-0, 115200, 152064, 0xd00f7fdb
-0, 118800, 152064, 0x62ac3ebd
-0, 122400, 152064, 0xb40a6c25
-0, 126000, 152064, 0x8706188c
-0, 129600, 152064, 0x7682e339
-0, 133200, 152064, 0x1061d943
-0, 136800, 152064, 0x50fa684a
-0, 140400, 152064, 0xab4b1975
-0, 144000, 152064, 0x2d043acb
-0, 147600, 152064, 0xe3c2ec0a
-0, 151200, 152064, 0xb9bc99dc
-0, 154800, 152064, 0x051fb857
-0, 158400, 152064, 0x71d1fe52
-0, 162000, 152064, 0x4230c694
-0, 165600, 152064, 0xb412a137
-0, 169200, 152064, 0x2f50f90d
-0, 172800, 152064, 0x68a1466f
-0, 176400, 152064, 0x77e3f47b
-0, 180000, 152064, 0x4d08de2b
-0, 183600, 152064, 0x1fc663be
-0, 187200, 152064, 0x2c8ba712
-0, 190800, 152064, 0xd50d85b9
-0, 194400, 152064, 0xe8483437
-0, 198000, 152064, 0x4e331e4c
-0, 201600, 152064, 0x0f64a7a0
-0, 205200, 152064, 0x797b0b8c
-0, 208800, 152064, 0x1b91e6d8
-0, 212400, 152064, 0xf3a1f3b6
-0, 216000, 152064, 0x2b94bd52
-0, 219600, 152064, 0x1f30962e
-0, 223200, 152064, 0x853321cf
-0, 226800, 152064, 0x8266c0ac
-0, 230400, 152064, 0x25498be0
-0, 234000, 152064, 0x0f653af9
-0, 237600, 152064, 0x0a025f7e
-0, 241200, 152064, 0x1cfbae04
-0, 244800, 152064, 0x3a874757
-0, 248400, 152064, 0x2c67006e
-0, 252000, 152064, 0x1d409bce
-0, 255600, 152064, 0xfe43121f
-0, 259200, 152064, 0x43411830
-0, 262800, 152064, 0x536d26ca
-0, 266400, 152064, 0x9eb873ea
-0, 270000, 152064, 0x093f93ec
-0, 273600, 152064, 0xdf6f0381
-0, 277200, 152064, 0xa9f4b5e5
-0, 280800, 152064, 0x08f71ef8
-0, 284400, 152064, 0x7a68f820
-0, 288000, 152064, 0xae0c73e7
-0, 291600, 152064, 0x886ae6c7
-0, 295200, 152064, 0x9357f433
-0, 298800, 152064, 0xcc335068
-0, 302400, 152064, 0x2ea108ab
-0, 306000, 152064, 0x06d7dcb0
-0, 309600, 152064, 0x81dc81bc
-0, 313200, 152064, 0xfb32b626
-0, 316800, 152064, 0x2787d1c7
-0, 320400, 152064, 0x69e51118
-0, 324000, 152064, 0xba15d94d
-0, 327600, 152064, 0xc41c09cf
-0, 331200, 152064, 0x7e50e12f
-0, 334800, 152064, 0x0763ddbe
-0, 338400, 152064, 0x8a09bb88
-0, 342000, 152064, 0x530752b7
-0, 345600, 152064, 0x9b159923
-0, 349200, 152064, 0xcbb83ed3
-0, 352800, 152064, 0xdeb5ac0e
-0, 356400, 152064, 0x189299d4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x89f2e8d5
+0, 1, 1, 1, 152064, 0x35b99397
+0, 2, 2, 1, 152064, 0x6ef46744
+0, 3, 3, 1, 152064, 0xec4d6c1c
+0, 4, 4, 1, 152064, 0xad6e0c70
+0, 5, 5, 1, 152064, 0x2db534b3
+0, 6, 6, 1, 152064, 0xcbd25ddd
+0, 7, 7, 1, 152064, 0xd90708b4
+0, 8, 8, 1, 152064, 0xc2aa52df
+0, 9, 9, 1, 152064, 0xbcfc84dc
+0, 10, 10, 1, 152064, 0xa5a6d269
+0, 11, 11, 1, 152064, 0x27220ce9
+0, 12, 12, 1, 152064, 0xf075ee6d
+0, 13, 13, 1, 152064, 0x9fd3c2ac
+0, 14, 14, 1, 152064, 0xcba24c2d
+0, 15, 15, 1, 152064, 0x41cd9441
+0, 16, 16, 1, 152064, 0x0126efa3
+0, 17, 17, 1, 152064, 0xf62112af
+0, 18, 18, 1, 152064, 0x35aff50f
+0, 19, 19, 1, 152064, 0xcb0b276f
+0, 20, 20, 1, 152064, 0xc7ef0214
+0, 21, 21, 1, 152064, 0x7f78d387
+0, 22, 22, 1, 152064, 0x266c673d
+0, 23, 23, 1, 152064, 0x1d39c073
+0, 24, 24, 1, 152064, 0x6a3ae455
+0, 25, 25, 1, 152064, 0xe4ce0230
+0, 26, 26, 1, 152064, 0x7f95e87b
+0, 27, 27, 1, 152064, 0x7c552236
+0, 28, 28, 1, 152064, 0x24c799b9
+0, 29, 29, 1, 152064, 0x5042d974
+0, 30, 30, 1, 152064, 0xe934a5b8
+0, 31, 31, 1, 152064, 0x6d59c884
+0, 32, 32, 1, 152064, 0xd00f7fdb
+0, 33, 33, 1, 152064, 0x62ac3ebd
+0, 34, 34, 1, 152064, 0xb40a6c25
+0, 35, 35, 1, 152064, 0x8706188c
+0, 36, 36, 1, 152064, 0x7682e339
+0, 37, 37, 1, 152064, 0x1061d943
+0, 38, 38, 1, 152064, 0x50fa684a
+0, 39, 39, 1, 152064, 0xab4b1975
+0, 40, 40, 1, 152064, 0x2d043acb
+0, 41, 41, 1, 152064, 0xe3c2ec0a
+0, 42, 42, 1, 152064, 0xb9bc99dc
+0, 43, 43, 1, 152064, 0x051fb857
+0, 44, 44, 1, 152064, 0x71d1fe52
+0, 45, 45, 1, 152064, 0x4230c694
+0, 46, 46, 1, 152064, 0xb412a137
+0, 47, 47, 1, 152064, 0x2f50f90d
+0, 48, 48, 1, 152064, 0x68a1466f
+0, 49, 49, 1, 152064, 0x77e3f47b
+0, 50, 50, 1, 152064, 0x4d08de2b
+0, 51, 51, 1, 152064, 0x1fc663be
+0, 52, 52, 1, 152064, 0x2c8ba712
+0, 53, 53, 1, 152064, 0xd50d85b9
+0, 54, 54, 1, 152064, 0xe8483437
+0, 55, 55, 1, 152064, 0x4e331e4c
+0, 56, 56, 1, 152064, 0x0f64a7a0
+0, 57, 57, 1, 152064, 0x797b0b8c
+0, 58, 58, 1, 152064, 0x1b91e6d8
+0, 59, 59, 1, 152064, 0xf3a1f3b6
+0, 60, 60, 1, 152064, 0x2b94bd52
+0, 61, 61, 1, 152064, 0x1f30962e
+0, 62, 62, 1, 152064, 0x853321cf
+0, 63, 63, 1, 152064, 0x8266c0ac
+0, 64, 64, 1, 152064, 0x25498be0
+0, 65, 65, 1, 152064, 0x0f653af9
+0, 66, 66, 1, 152064, 0x0a025f7e
+0, 67, 67, 1, 152064, 0x1cfbae04
+0, 68, 68, 1, 152064, 0x3a874757
+0, 69, 69, 1, 152064, 0x2c67006e
+0, 70, 70, 1, 152064, 0x1d409bce
+0, 71, 71, 1, 152064, 0xfe43121f
+0, 72, 72, 1, 152064, 0x43411830
+0, 73, 73, 1, 152064, 0x536d26ca
+0, 74, 74, 1, 152064, 0x9eb873ea
+0, 75, 75, 1, 152064, 0x093f93ec
+0, 76, 76, 1, 152064, 0xdf6f0381
+0, 77, 77, 1, 152064, 0xa9f4b5e5
+0, 78, 78, 1, 152064, 0x08f71ef8
+0, 79, 79, 1, 152064, 0x7a68f820
+0, 80, 80, 1, 152064, 0xae0c73e7
+0, 81, 81, 1, 152064, 0x886ae6c7
+0, 82, 82, 1, 152064, 0x9357f433
+0, 83, 83, 1, 152064, 0xcc335068
+0, 84, 84, 1, 152064, 0x2ea108ab
+0, 85, 85, 1, 152064, 0x06d7dcb0
+0, 86, 86, 1, 152064, 0x81dc81bc
+0, 87, 87, 1, 152064, 0xfb32b626
+0, 88, 88, 1, 152064, 0x2787d1c7
+0, 89, 89, 1, 152064, 0x69e51118
+0, 90, 90, 1, 152064, 0xba15d94d
+0, 91, 91, 1, 152064, 0xc41c09cf
+0, 92, 92, 1, 152064, 0x7e50e12f
+0, 93, 93, 1, 152064, 0x0763ddbe
+0, 94, 94, 1, 152064, 0x8a09bb88
+0, 95, 95, 1, 152064, 0x530752b7
+0, 96, 96, 1, 152064, 0x9b159923
+0, 97, 97, 1, 152064, 0xcbb83ed3
+0, 98, 98, 1, 152064, 0xdeb5ac0e
+0, 99, 99, 1, 152064, 0x189299d4
diff --git a/tests/ref/fate/h264-conformance-frext-frext01_jvc_d b/tests/ref/fate/h264-conformance-frext-frext01_jvc_d
index ae71a63488..b82151e4be 100644
--- a/tests/ref/fate/h264-conformance-frext-frext01_jvc_d
+++ b/tests/ref/fate/h264-conformance-frext-frext01_jvc_d
@@ -1,16 +1,17 @@
-0, 0, 152064, 0x31bc935e
-0, 3600, 152064, 0x501ea92a
-0, 7200, 152064, 0x8b2f6ead
-0, 10800, 152064, 0xa86277e3
-0, 14400, 152064, 0xe5936250
-0, 18000, 152064, 0x497794cb
-0, 21600, 152064, 0xcb34c39a
-0, 25200, 152064, 0xa739994d
-0, 28800, 152064, 0x01e804b7
-0, 32400, 152064, 0xfcf00627
-0, 36000, 152064, 0xcd747bda
-0, 39600, 152064, 0x1d979394
-0, 43200, 152064, 0xd5d52a6a
-0, 46800, 152064, 0xd7fb147b
-0, 50400, 152064, 0x5d7cb44a
-0, 54000, 152064, 0x9b87803b
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x31bc935e
+0, 1, 1, 1, 152064, 0x501ea92a
+0, 2, 2, 1, 152064, 0x8b2f6ead
+0, 3, 3, 1, 152064, 0xa86277e3
+0, 4, 4, 1, 152064, 0xe5936250
+0, 5, 5, 1, 152064, 0x497794cb
+0, 6, 6, 1, 152064, 0xcb34c39a
+0, 7, 7, 1, 152064, 0xa739994d
+0, 8, 8, 1, 152064, 0x01e804b7
+0, 9, 9, 1, 152064, 0xfcf00627
+0, 10, 10, 1, 152064, 0xcd747bda
+0, 11, 11, 1, 152064, 0x1d979394
+0, 12, 12, 1, 152064, 0xd5d52a6a
+0, 13, 13, 1, 152064, 0xd7fb147b
+0, 14, 14, 1, 152064, 0x5d7cb44a
+0, 15, 15, 1, 152064, 0x9b87803b
diff --git a/tests/ref/fate/h264-conformance-frext-frext02_jvc_c b/tests/ref/fate/h264-conformance-frext-frext02_jvc_c
index ae71a63488..b82151e4be 100644
--- a/tests/ref/fate/h264-conformance-frext-frext02_jvc_c
+++ b/tests/ref/fate/h264-conformance-frext-frext02_jvc_c
@@ -1,16 +1,17 @@
-0, 0, 152064, 0x31bc935e
-0, 3600, 152064, 0x501ea92a
-0, 7200, 152064, 0x8b2f6ead
-0, 10800, 152064, 0xa86277e3
-0, 14400, 152064, 0xe5936250
-0, 18000, 152064, 0x497794cb
-0, 21600, 152064, 0xcb34c39a
-0, 25200, 152064, 0xa739994d
-0, 28800, 152064, 0x01e804b7
-0, 32400, 152064, 0xfcf00627
-0, 36000, 152064, 0xcd747bda
-0, 39600, 152064, 0x1d979394
-0, 43200, 152064, 0xd5d52a6a
-0, 46800, 152064, 0xd7fb147b
-0, 50400, 152064, 0x5d7cb44a
-0, 54000, 152064, 0x9b87803b
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x31bc935e
+0, 1, 1, 1, 152064, 0x501ea92a
+0, 2, 2, 1, 152064, 0x8b2f6ead
+0, 3, 3, 1, 152064, 0xa86277e3
+0, 4, 4, 1, 152064, 0xe5936250
+0, 5, 5, 1, 152064, 0x497794cb
+0, 6, 6, 1, 152064, 0xcb34c39a
+0, 7, 7, 1, 152064, 0xa739994d
+0, 8, 8, 1, 152064, 0x01e804b7
+0, 9, 9, 1, 152064, 0xfcf00627
+0, 10, 10, 1, 152064, 0xcd747bda
+0, 11, 11, 1, 152064, 0x1d979394
+0, 12, 12, 1, 152064, 0xd5d52a6a
+0, 13, 13, 1, 152064, 0xd7fb147b
+0, 14, 14, 1, 152064, 0x5d7cb44a
+0, 15, 15, 1, 152064, 0x9b87803b
diff --git a/tests/ref/fate/h264-conformance-frext-frext1_panasonic_c b/tests/ref/fate/h264-conformance-frext-frext1_panasonic_c
index ec01250de4..81748f700b 100644
--- a/tests/ref/fate/h264-conformance-frext-frext1_panasonic_c
+++ b/tests/ref/fate/h264-conformance-frext-frext1_panasonic_c
@@ -1,8 +1,9 @@
-0, 0, 152064, 0xf9c30518
-0, 3600, 152064, 0x509dd18f
-0, 7200, 152064, 0x7f5c8f07
-0, 10800, 152064, 0x8ce42210
-0, 14400, 152064, 0x59fd527a
-0, 18000, 152064, 0xd987ceea
-0, 21600, 152064, 0xc53167fa
-0, 25200, 152064, 0xb3179926
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf9c30518
+0, 1, 1, 1, 152064, 0x509dd18f
+0, 2, 2, 1, 152064, 0x7f5c8f07
+0, 3, 3, 1, 152064, 0x8ce42210
+0, 4, 4, 1, 152064, 0x59fd527a
+0, 5, 5, 1, 152064, 0xd987ceea
+0, 6, 6, 1, 152064, 0xc53167fa
+0, 7, 7, 1, 152064, 0xb3179926
diff --git a/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b b/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
index a980a9dcc5..7c53b5c9ee 100644
--- a/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
+++ b/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
@@ -1,15 +1,16 @@
-0, 0, 152064, 0x0147a2a9
-0, 3600, 152064, 0xe2365351
-0, 7200, 152064, 0xb5f9daee
-0, 10800, 152064, 0xd60818b2
-0, 14400, 152064, 0x21b528e5
-0, 18000, 152064, 0x9c9dda18
-0, 21600, 152064, 0x387fe7de
-0, 25200, 152064, 0x8f0c5a1e
-0, 28800, 152064, 0x02409694
-0, 32400, 152064, 0x2b36a7a7
-0, 36000, 152064, 0x3c6d3863
-0, 39600, 152064, 0xaa7835e1
-0, 43200, 152064, 0x6d105fe7
-0, 46800, 152064, 0x9a348732
-0, 50400, 152064, 0x96a3af13
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x0147a2a9
+0, 1, 1, 1, 152064, 0xe2365351
+0, 2, 2, 1, 152064, 0xb5f9daee
+0, 3, 3, 1, 152064, 0xd60818b2
+0, 4, 4, 1, 152064, 0x21b528e5
+0, 5, 5, 1, 152064, 0x9c9dda18
+0, 6, 6, 1, 152064, 0x387fe7de
+0, 7, 7, 1, 152064, 0x8f0c5a1e
+0, 8, 8, 1, 152064, 0x02409694
+0, 9, 9, 1, 152064, 0x2b36a7a7
+0, 10, 10, 1, 152064, 0x3c6d3863
+0, 11, 11, 1, 152064, 0xaa7835e1
+0, 12, 12, 1, 152064, 0x6d105fe7
+0, 13, 13, 1, 152064, 0x9a348732
+0, 14, 14, 1, 152064, 0x96a3af13
diff --git a/tests/ref/fate/h264-conformance-frext-frext3_panasonic_d b/tests/ref/fate/h264-conformance-frext-frext3_panasonic_d
index 94590b3fb5..71b743e576 100644
--- a/tests/ref/fate/h264-conformance-frext-frext3_panasonic_d
+++ b/tests/ref/fate/h264-conformance-frext-frext3_panasonic_d
@@ -1,11 +1,12 @@
-0, 0, 152064, 0xdd346292
-0, 3600, 152064, 0xb07e6efd
-0, 7200, 152064, 0x81b4d540
-0, 10800, 152064, 0xc50066cf
-0, 14400, 152064, 0x30a49588
-0, 18000, 152064, 0x57520bfa
-0, 21600, 152064, 0xc0409dd9
-0, 25200, 152064, 0x8e6453e9
-0, 28800, 152064, 0x7ca86d86
-0, 32400, 152064, 0xf937b3b5
-0, 36000, 152064, 0x6c1f4604
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xdd346292
+0, 1, 1, 1, 152064, 0xb07e6efd
+0, 2, 2, 1, 152064, 0x81b4d540
+0, 3, 3, 1, 152064, 0xc50066cf
+0, 4, 4, 1, 152064, 0x30a49588
+0, 5, 5, 1, 152064, 0x57520bfa
+0, 6, 6, 1, 152064, 0xc0409dd9
+0, 7, 7, 1, 152064, 0x8e6453e9
+0, 8, 8, 1, 152064, 0x7ca86d86
+0, 9, 9, 1, 152064, 0xf937b3b5
+0, 10, 10, 1, 152064, 0x6c1f4604
diff --git a/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a b/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
index 3cf454ce8b..c0886e446d 100644
--- a/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xd604d440
-0, 3600, 152064, 0x08ef262c
-0, 7200, 152064, 0x992fca8e
-0, 10800, 152064, 0x5a02ee15
-0, 14400, 152064, 0xf15d5c66
-0, 18000, 152064, 0x360dda12
-0, 21600, 152064, 0x18b54985
-0, 25200, 152064, 0xf12b6cde
-0, 28800, 152064, 0x3b2e63f7
-0, 32400, 152064, 0x140abcfd
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xd604d440
+0, 1, 1, 1, 152064, 0x08ef262c
+0, 2, 2, 1, 152064, 0x992fca8e
+0, 3, 3, 1, 152064, 0x5a02ee15
+0, 4, 4, 1, 152064, 0xf15d5c66
+0, 5, 5, 1, 152064, 0x360dda12
+0, 6, 6, 1, 152064, 0x18b54985
+0, 7, 7, 1, 152064, 0xf12b6cde
+0, 8, 8, 1, 152064, 0x3b2e63f7
+0, 9, 9, 1, 152064, 0x140abcfd
diff --git a/tests/ref/fate/h264-conformance-frext-frext_mmco4_sony_b b/tests/ref/fate/h264-conformance-frext-frext_mmco4_sony_b
index 117b48b582..a964a38a15 100644
--- a/tests/ref/fate/h264-conformance-frext-frext_mmco4_sony_b
+++ b/tests/ref/fate/h264-conformance-frext-frext_mmco4_sony_b
@@ -1,60 +1,61 @@
-0, 0, 152064, 0x24846654
-0, 3600, 152064, 0xd33945be
-0, 7200, 152064, 0x961cbbfb
-0, 10800, 152064, 0x91eb854d
-0, 14400, 152064, 0x998351b4
-0, 18000, 152064, 0xe7515c67
-0, 21600, 152064, 0xd32058ae
-0, 25200, 152064, 0x99cb5695
-0, 28800, 152064, 0x281de175
-0, 32400, 152064, 0xf4146f55
-0, 36000, 152064, 0x63abbb61
-0, 39600, 152064, 0xf44550c5
-0, 43200, 152064, 0x5797a5c2
-0, 46800, 152064, 0x13b15c60
-0, 50400, 152064, 0x6521e682
-0, 54000, 152064, 0x780c32a4
-0, 57600, 152064, 0x6289f37c
-0, 61200, 152064, 0x96d64d81
-0, 64800, 152064, 0x12ac80ef
-0, 68400, 152064, 0x470956e4
-0, 72000, 152064, 0x3954f944
-0, 75600, 152064, 0x2147f0db
-0, 79200, 152064, 0xca7c9a39
-0, 82800, 152064, 0x727e7772
-0, 86400, 152064, 0xb3b0f8c8
-0, 90000, 152064, 0x6d6eb7ba
-0, 93600, 152064, 0x1eaf5734
-0, 97200, 152064, 0xd7938056
-0, 100800, 152064, 0xcae1ead3
-0, 104400, 152064, 0x6411b82c
-0, 108000, 152064, 0x6f001718
-0, 111600, 152064, 0x3724d9b8
-0, 115200, 152064, 0x04501fec
-0, 118800, 152064, 0x3f4d13bb
-0, 122400, 152064, 0x38f2510a
-0, 126000, 152064, 0x5bb71106
-0, 129600, 152064, 0xe888b09d
-0, 133200, 152064, 0xca6f5f6a
-0, 136800, 152064, 0x01c7d329
-0, 140400, 152064, 0x4e670932
-0, 144000, 152064, 0x651b4984
-0, 147600, 152064, 0x76371fa3
-0, 151200, 152064, 0x60574af0
-0, 154800, 152064, 0xcc1f2080
-0, 158400, 152064, 0xdbf29eb6
-0, 162000, 152064, 0x8ff870be
-0, 165600, 152064, 0x5d39ea56
-0, 169200, 152064, 0xabb7c0a5
-0, 172800, 152064, 0xecb15771
-0, 176400, 152064, 0x571ab1ae
-0, 180000, 152064, 0xc0f22bad
-0, 183600, 152064, 0x22e7593f
-0, 187200, 152064, 0x3c3dee75
-0, 190800, 152064, 0x1c80b995
-0, 194400, 152064, 0x5ba442fa
-0, 198000, 152064, 0xe2291c05
-0, 201600, 152064, 0xa780b11e
-0, 205200, 152064, 0x15bf83fa
-0, 208800, 152064, 0x60fb7c11
-0, 212400, 152064, 0x3fb8cee5
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x24846654
+0, 1, 1, 1, 152064, 0xd33945be
+0, 2, 2, 1, 152064, 0x961cbbfb
+0, 3, 3, 1, 152064, 0x91eb854d
+0, 4, 4, 1, 152064, 0x998351b4
+0, 5, 5, 1, 152064, 0xe7515c67
+0, 6, 6, 1, 152064, 0xd32058ae
+0, 7, 7, 1, 152064, 0x99cb5695
+0, 8, 8, 1, 152064, 0x281de175
+0, 9, 9, 1, 152064, 0xf4146f55
+0, 10, 10, 1, 152064, 0x63abbb61
+0, 11, 11, 1, 152064, 0xf44550c5
+0, 12, 12, 1, 152064, 0x5797a5c2
+0, 13, 13, 1, 152064, 0x13b15c60
+0, 14, 14, 1, 152064, 0x6521e682
+0, 15, 15, 1, 152064, 0x780c32a4
+0, 16, 16, 1, 152064, 0x6289f37c
+0, 17, 17, 1, 152064, 0x96d64d81
+0, 18, 18, 1, 152064, 0x12ac80ef
+0, 19, 19, 1, 152064, 0x470956e4
+0, 20, 20, 1, 152064, 0x3954f944
+0, 21, 21, 1, 152064, 0x2147f0db
+0, 22, 22, 1, 152064, 0xca7c9a39
+0, 23, 23, 1, 152064, 0x727e7772
+0, 24, 24, 1, 152064, 0xb3b0f8c8
+0, 25, 25, 1, 152064, 0x6d6eb7ba
+0, 26, 26, 1, 152064, 0x1eaf5734
+0, 27, 27, 1, 152064, 0xd7938056
+0, 28, 28, 1, 152064, 0xcae1ead3
+0, 29, 29, 1, 152064, 0x6411b82c
+0, 30, 30, 1, 152064, 0x6f001718
+0, 31, 31, 1, 152064, 0x3724d9b8
+0, 32, 32, 1, 152064, 0x04501fec
+0, 33, 33, 1, 152064, 0x3f4d13bb
+0, 34, 34, 1, 152064, 0x38f2510a
+0, 35, 35, 1, 152064, 0x5bb71106
+0, 36, 36, 1, 152064, 0xe888b09d
+0, 37, 37, 1, 152064, 0xca6f5f6a
+0, 38, 38, 1, 152064, 0x01c7d329
+0, 39, 39, 1, 152064, 0x4e670932
+0, 40, 40, 1, 152064, 0x651b4984
+0, 41, 41, 1, 152064, 0x76371fa3
+0, 42, 42, 1, 152064, 0x60574af0
+0, 43, 43, 1, 152064, 0xcc1f2080
+0, 44, 44, 1, 152064, 0xdbf29eb6
+0, 45, 45, 1, 152064, 0x8ff870be
+0, 46, 46, 1, 152064, 0x5d39ea56
+0, 47, 47, 1, 152064, 0xabb7c0a5
+0, 48, 48, 1, 152064, 0xecb15771
+0, 49, 49, 1, 152064, 0x571ab1ae
+0, 50, 50, 1, 152064, 0xc0f22bad
+0, 51, 51, 1, 152064, 0x22e7593f
+0, 52, 52, 1, 152064, 0x3c3dee75
+0, 53, 53, 1, 152064, 0x1c80b995
+0, 54, 54, 1, 152064, 0x5ba442fa
+0, 55, 55, 1, 152064, 0xe2291c05
+0, 56, 56, 1, 152064, 0xa780b11e
+0, 57, 57, 1, 152064, 0x15bf83fa
+0, 58, 58, 1, 152064, 0x60fb7c11
+0, 59, 59, 1, 152064, 0x3fb8cee5
diff --git a/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b b/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
index 5e366b44ef..eb41d46955 100644
--- a/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
+++ b/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xb055a9bd
-0, 3600, 152064, 0x9e1eadb6
-0, 7200, 152064, 0x48f117d2
-0, 10800, 152064, 0x3e3ff049
-0, 14400, 152064, 0x2ff80943
-0, 18000, 152064, 0xc5ee16a6
-0, 21600, 152064, 0x38c33f28
-0, 25200, 152064, 0x3e8444c7
-0, 28800, 152064, 0x14ca4ab2
-0, 32400, 152064, 0xe20e78f7
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xb055a9bd
+0, 1, 1, 1, 152064, 0x9e1eadb6
+0, 2, 2, 1, 152064, 0x48f117d2
+0, 3, 3, 1, 152064, 0x3e3ff049
+0, 4, 4, 1, 152064, 0x2ff80943
+0, 5, 5, 1, 152064, 0xc5ee16a6
+0, 6, 6, 1, 152064, 0x38c33f28
+0, 7, 7, 1, 152064, 0x3e8444c7
+0, 8, 8, 1, 152064, 0x14ca4ab2
+0, 9, 9, 1, 152064, 0xe20e78f7
diff --git a/tests/ref/fate/h264-conformance-frext-hcafr1_hhi_c b/tests/ref/fate/h264-conformance-frext-hcafr1_hhi_c
index 102fe89407..285f05760d 100644
--- a/tests/ref/fate/h264-conformance-frext-hcafr1_hhi_c
+++ b/tests/ref/fate/h264-conformance-frext-hcafr1_hhi_c
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xd48c87b3
-0, 3600, 152064, 0xb7a67f8f
-0, 7200, 152064, 0x3c3f3c11
-0, 10800, 152064, 0xc411af54
-0, 14400, 152064, 0xde2efb95
-0, 18000, 152064, 0xa4787125
-0, 21600, 152064, 0x3c17085a
-0, 25200, 152064, 0xee217266
-0, 28800, 152064, 0xa23a8e9d
-0, 32400, 152064, 0x70a06d90
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xd48c87b3
+0, 1, 1, 1, 152064, 0xb7a67f8f
+0, 2, 2, 1, 152064, 0x3c3f3c11
+0, 3, 3, 1, 152064, 0xc411af54
+0, 4, 4, 1, 152064, 0xde2efb95
+0, 5, 5, 1, 152064, 0xa4787125
+0, 6, 6, 1, 152064, 0x3c17085a
+0, 7, 7, 1, 152064, 0xee217266
+0, 8, 8, 1, 152064, 0xa23a8e9d
+0, 9, 9, 1, 152064, 0x70a06d90
diff --git a/tests/ref/fate/h264-conformance-frext-hcafr2_hhi_a b/tests/ref/fate/h264-conformance-frext-hcafr2_hhi_a
index 516b39dede..7149850a7b 100644
--- a/tests/ref/fate/h264-conformance-frext-hcafr2_hhi_a
+++ b/tests/ref/fate/h264-conformance-frext-hcafr2_hhi_a
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xd5448f0e
-0, 3600, 152064, 0x93d022ba
-0, 7200, 152064, 0x1eaed76e
-0, 10800, 152064, 0xbbd54f09
-0, 14400, 152064, 0x175d6316
-0, 18000, 152064, 0x15ede384
-0, 21600, 152064, 0xb785e9ac
-0, 25200, 152064, 0xdbbb4ee6
-0, 28800, 152064, 0xaf27c827
-0, 32400, 152064, 0xbf3eeed4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xd5448f0e
+0, 1, 1, 1, 152064, 0x93d022ba
+0, 2, 2, 1, 152064, 0x1eaed76e
+0, 3, 3, 1, 152064, 0xbbd54f09
+0, 4, 4, 1, 152064, 0x175d6316
+0, 5, 5, 1, 152064, 0x15ede384
+0, 6, 6, 1, 152064, 0xb785e9ac
+0, 7, 7, 1, 152064, 0xdbbb4ee6
+0, 8, 8, 1, 152064, 0xaf27c827
+0, 9, 9, 1, 152064, 0xbf3eeed4
diff --git a/tests/ref/fate/h264-conformance-frext-hcafr3_hhi_a b/tests/ref/fate/h264-conformance-frext-hcafr3_hhi_a
index da60e6388c..2ec9dce1ad 100644
--- a/tests/ref/fate/h264-conformance-frext-hcafr3_hhi_a
+++ b/tests/ref/fate/h264-conformance-frext-hcafr3_hhi_a
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xd5448f0e
-0, 3600, 152064, 0x665e33b5
-0, 7200, 152064, 0x6648e99d
-0, 10800, 152064, 0xbbd54f09
-0, 14400, 152064, 0x3dac7644
-0, 18000, 152064, 0xe980f078
-0, 21600, 152064, 0xb785e9ac
-0, 25200, 152064, 0xa500630e
-0, 28800, 152064, 0x6dade9b0
-0, 32400, 152064, 0xbf3eeed4
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xd5448f0e
+0, 1, 1, 1, 152064, 0x665e33b5
+0, 2, 2, 1, 152064, 0x6648e99d
+0, 3, 3, 1, 152064, 0xbbd54f09
+0, 4, 4, 1, 152064, 0x3dac7644
+0, 5, 5, 1, 152064, 0xe980f078
+0, 6, 6, 1, 152064, 0xb785e9ac
+0, 7, 7, 1, 152064, 0xa500630e
+0, 8, 8, 1, 152064, 0x6dade9b0
+0, 9, 9, 1, 152064, 0xbf3eeed4
diff --git a/tests/ref/fate/h264-conformance-frext-hcafr4_hhi_a b/tests/ref/fate/h264-conformance-frext-hcafr4_hhi_a
index 0dcf5a5912..00af8ff6d3 100644
--- a/tests/ref/fate/h264-conformance-frext-hcafr4_hhi_a
+++ b/tests/ref/fate/h264-conformance-frext-hcafr4_hhi_a
@@ -1,10 +1,11 @@
-0, 0, 152064, 0xc7d8832d
-0, 3600, 152064, 0x8d9ffc59
-0, 7200, 152064, 0xaf3ea0d1
-0, 10800, 152064, 0x6805671e
-0, 14400, 152064, 0x49202ab8
-0, 18000, 152064, 0x6b06b1ad
-0, 21600, 152064, 0x909f3e4e
-0, 25200, 152064, 0xa4ce28ec
-0, 28800, 152064, 0xc3c5b8bc
-0, 32400, 152064, 0x78744dac
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xc7d8832d
+0, 1, 1, 1, 152064, 0x8d9ffc59
+0, 2, 2, 1, 152064, 0xaf3ea0d1
+0, 3, 3, 1, 152064, 0x6805671e
+0, 4, 4, 1, 152064, 0x49202ab8
+0, 5, 5, 1, 152064, 0x6b06b1ad
+0, 6, 6, 1, 152064, 0x909f3e4e
+0, 7, 7, 1, 152064, 0xa4ce28ec
+0, 8, 8, 1, 152064, 0xc3c5b8bc
+0, 9, 9, 1, 152064, 0x78744dac
diff --git a/tests/ref/fate/h264-conformance-frext-hcamff1_hhi_b b/tests/ref/fate/h264-conformance-frext-hcamff1_hhi_b
index 1dc66a1778..df85212861 100644
--- a/tests/ref/fate/h264-conformance-frext-hcamff1_hhi_b
+++ b/tests/ref/fate/h264-conformance-frext-hcamff1_hhi_b
@@ -1,10 +1,11 @@
-0, 0, 152064, 0x18f494ec
-0, 3600, 152064, 0x7515e6d7
-0, 7200, 152064, 0xaa8ee665
-0, 10800, 152064, 0xa946e180
-0, 14400, 152064, 0xd1467f7e
-0, 18000, 152064, 0xd779f4c2
-0, 21600, 152064, 0xed456fed
-0, 25200, 152064, 0x4ca23a72
-0, 28800, 152064, 0x26381cd2
-0, 32400, 152064, 0x50df40fa
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x18f494ec
+0, 1, 1, 1, 152064, 0x7515e6d7
+0, 2, 2, 1, 152064, 0xaa8ee665
+0, 3, 3, 1, 152064, 0xa946e180
+0, 4, 4, 1, 152064, 0xd1467f7e
+0, 5, 5, 1, 152064, 0xd779f4c2
+0, 6, 6, 1, 152064, 0xed456fed
+0, 7, 7, 1, 152064, 0x4ca23a72
+0, 8, 8, 1, 152064, 0x26381cd2
+0, 9, 9, 1, 152064, 0x50df40fa
diff --git a/tests/ref/fate/h264-conformance-frext-hpca_brcm_c b/tests/ref/fate/h264-conformance-frext-hpca_brcm_c
index cbfc5681ab..d608d8950a 100644
--- a/tests/ref/fate/h264-conformance-frext-hpca_brcm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpca_brcm_c
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x995bb4bd
-0, 3600, 152064, 0xad287357
-0, 7200, 152064, 0x38fa4661
-0, 10800, 152064, 0x8aae73cf
-0, 14400, 152064, 0x4a13eada
-0, 18000, 152064, 0x48b33901
-0, 21600, 152064, 0x011487bc
-0, 25200, 152064, 0xd4ce1925
-0, 28800, 152064, 0x5d679ddd
-0, 32400, 152064, 0x276cd5cf
-0, 36000, 152064, 0x99c625f0
-0, 39600, 152064, 0xb2f756d1
-0, 43200, 152064, 0xb19c2978
-0, 46800, 152064, 0xdac0ff3c
-0, 50400, 152064, 0x3c1c8d63
-0, 54000, 152064, 0x818ea0a8
-0, 57600, 152064, 0xa7c122a5
-0, 61200, 152064, 0x67ad3519
-0, 64800, 152064, 0xc81b2a88
-0, 68400, 152064, 0x8ae6633e
-0, 72000, 152064, 0xed945788
-0, 75600, 152064, 0x4c740bcb
-0, 79200, 152064, 0xd8408d09
-0, 82800, 152064, 0xb710e8b8
-0, 86400, 152064, 0xb8c647b9
-0, 90000, 152064, 0x802b2e23
-0, 93600, 152064, 0x30672529
-0, 97200, 152064, 0x328a72b6
-0, 100800, 152064, 0xeb6dbe94
-0, 104400, 152064, 0x1c19dcc5
-0, 108000, 152064, 0xfdc6b998
-0, 111600, 152064, 0xf9e2cd80
-0, 115200, 152064, 0x025eb15e
-0, 118800, 152064, 0xfd998ad8
-0, 122400, 152064, 0x8fdf736f
-0, 126000, 152064, 0xa5a7554a
-0, 129600, 152064, 0xcea63304
-0, 133200, 152064, 0xcb28ec28
-0, 136800, 152064, 0x92efb591
-0, 140400, 152064, 0x0f2376c3
-0, 144000, 152064, 0xe9cb5ecf
-0, 147600, 152064, 0xcd2d0eba
-0, 151200, 152064, 0xd57fe4fd
-0, 154800, 152064, 0xc486ab8e
-0, 158400, 152064, 0x01a1f709
-0, 162000, 152064, 0x7ac5b13a
-0, 165600, 152064, 0x6f519279
-0, 169200, 152064, 0xfd7cd9a0
-0, 172800, 152064, 0xfae649d2
-0, 176400, 152064, 0x618507ca
-0, 180000, 152064, 0xb177bc15
-0, 183600, 152064, 0x6fa36854
-0, 187200, 152064, 0xc13cb77d
-0, 190800, 152064, 0x6d40cb01
-0, 194400, 152064, 0xa3db96a2
-0, 198000, 152064, 0xe5ba6c99
-0, 201600, 152064, 0xca9ff3ee
-0, 205200, 152064, 0x6c016c65
-0, 208800, 152064, 0xdf93ed80
-0, 212400, 152064, 0x93112ec8
-0, 216000, 152064, 0x8ab3ea14
-0, 219600, 152064, 0x02f5b891
-0, 223200, 152064, 0xdafd562b
-0, 226800, 152064, 0xa96a2bd7
-0, 230400, 152064, 0xdff8bc68
-0, 234000, 152064, 0x8d956b4b
-0, 237600, 152064, 0xb4aeb960
-0, 241200, 152064, 0x391cf0dd
-0, 244800, 152064, 0x03137de9
-0, 248400, 152064, 0x2bfa8c4b
-0, 252000, 152064, 0xfb54d3a5
-0, 255600, 152064, 0x650146e7
-0, 259200, 152064, 0xd3a7765f
-0, 262800, 152064, 0x49d72b90
-0, 266400, 152064, 0xf089b357
-0, 270000, 152064, 0x23a2be41
-0, 273600, 152064, 0x2ea86592
-0, 277200, 152064, 0x99d6f56b
-0, 280800, 152064, 0xc2ca75b9
-0, 284400, 152064, 0x390b7278
-0, 288000, 152064, 0x0f6d1f1e
-0, 291600, 152064, 0x79e2a3f4
-0, 295200, 152064, 0x51d5e1da
-0, 298800, 152064, 0xdb57419a
-0, 302400, 152064, 0xf90a4153
-0, 306000, 152064, 0xd192f6c6
-0, 309600, 152064, 0x8cd3895a
-0, 313200, 152064, 0x0d3ec577
-0, 316800, 152064, 0x146e8492
-0, 320400, 152064, 0xc9939c22
-0, 324000, 152064, 0xf1f4275e
-0, 327600, 152064, 0xb898eb35
-0, 331200, 152064, 0xed315ee9
-0, 334800, 152064, 0x9046b760
-0, 338400, 152064, 0x599a736b
-0, 342000, 152064, 0xaef20726
-0, 345600, 152064, 0x0d136768
-0, 349200, 152064, 0xfe4ed2a8
-0, 352800, 152064, 0x5a85524b
-0, 356400, 152064, 0x6d495dd2
-0, 360000, 152064, 0x04bdb815
-0, 363600, 152064, 0x28aae1c5
-0, 367200, 152064, 0xc20bc8d9
-0, 370800, 152064, 0xa33d9b41
-0, 374400, 152064, 0x6269cb43
-0, 378000, 152064, 0x4f81d636
-0, 381600, 152064, 0xc6062166
-0, 385200, 152064, 0xb027fbcc
-0, 388800, 152064, 0x73a7a584
-0, 392400, 152064, 0xf67e520a
-0, 396000, 152064, 0x94eff023
-0, 399600, 152064, 0xef1da8e5
-0, 403200, 152064, 0x2d9ab411
-0, 406800, 152064, 0xf0c39b5d
-0, 410400, 152064, 0xb2374724
-0, 414000, 152064, 0x939a5243
-0, 417600, 152064, 0xee3438db
-0, 421200, 152064, 0x7da04012
-0, 424800, 152064, 0xac611668
-0, 428400, 152064, 0xdce3062e
-0, 432000, 152064, 0xb57cc00e
-0, 435600, 152064, 0xaf96b59e
-0, 439200, 152064, 0x56789c13
-0, 442800, 152064, 0xb1f678b5
-0, 446400, 152064, 0xb340b8c4
-0, 450000, 152064, 0x86e6e304
-0, 453600, 152064, 0xa056e037
-0, 457200, 152064, 0x16885d27
-0, 460800, 152064, 0x9c5ac065
-0, 464400, 152064, 0x563d5335
-0, 468000, 152064, 0x3ca71c1e
-0, 471600, 152064, 0xad34e16c
-0, 475200, 152064, 0x6d074b27
-0, 478800, 152064, 0x9b1c4909
-0, 482400, 152064, 0xdbced198
-0, 486000, 152064, 0x8a0ded00
-0, 489600, 152064, 0x5ffc209b
-0, 493200, 152064, 0x47cfd269
-0, 496800, 152064, 0xe3c0137e
-0, 500400, 152064, 0xcb6a5e53
-0, 504000, 152064, 0x87cec05f
-0, 507600, 152064, 0x92721dd2
-0, 511200, 152064, 0x3f7d7b3b
-0, 514800, 152064, 0xd63ef417
-0, 518400, 152064, 0xf8e4b05a
-0, 522000, 152064, 0xb5dcb421
-0, 525600, 152064, 0x53c96f6a
-0, 529200, 152064, 0x24ae98a3
-0, 532800, 152064, 0x2e9b5fff
-0, 536400, 152064, 0x7795bf12
-0, 540000, 152064, 0x499d37ca
-0, 543600, 152064, 0xfe478487
-0, 547200, 152064, 0xcd661afb
-0, 550800, 152064, 0x44f8bf00
-0, 554400, 152064, 0x90b67809
-0, 558000, 152064, 0x8f5726d1
-0, 561600, 152064, 0x2e3c39d5
-0, 565200, 152064, 0x4b67c4e6
-0, 568800, 152064, 0x9fecb7cf
-0, 572400, 152064, 0x207766ea
-0, 576000, 152064, 0x5846bf7b
-0, 579600, 152064, 0x4237fba1
-0, 583200, 152064, 0x983e0cbd
-0, 586800, 152064, 0x6be100d1
-0, 590400, 152064, 0x9d0beb8f
-0, 594000, 152064, 0x234b82e7
-0, 597600, 152064, 0x83fb5ef1
-0, 601200, 152064, 0xf503dcb2
-0, 604800, 152064, 0x031a27f2
-0, 608400, 152064, 0x2f1abf24
-0, 612000, 152064, 0x54d77010
-0, 615600, 152064, 0x049fc0fc
-0, 619200, 152064, 0x20f2f7e7
-0, 622800, 152064, 0xc0d57467
-0, 626400, 152064, 0xbe464eef
-0, 630000, 152064, 0x035c9052
-0, 633600, 152064, 0x91cba4fb
-0, 637200, 152064, 0x11cdbbfb
-0, 640800, 152064, 0xe61116d5
-0, 644400, 152064, 0x16db46b8
-0, 648000, 152064, 0x54f30d9f
-0, 651600, 152064, 0x211a8d2d
-0, 655200, 152064, 0x5a74a56b
-0, 658800, 152064, 0x0ff4ba72
-0, 662400, 152064, 0x4c398ad6
-0, 666000, 152064, 0x830814f0
-0, 669600, 152064, 0xa51f4bab
-0, 673200, 152064, 0xf3460de6
-0, 676800, 152064, 0x7e1979a1
-0, 680400, 152064, 0x4b3ebb3a
-0, 684000, 152064, 0x83d1f4f8
-0, 687600, 152064, 0xfbf08683
-0, 691200, 152064, 0x901c07ec
-0, 694800, 152064, 0xbc2dc1c7
-0, 698400, 152064, 0x6e646b3b
-0, 702000, 152064, 0x51a25aab
-0, 705600, 152064, 0xa042ab78
-0, 709200, 152064, 0xb972af58
-0, 712800, 152064, 0xcdca9568
-0, 716400, 152064, 0x17b69d1c
-0, 720000, 152064, 0x41c43ea2
-0, 723600, 152064, 0x195fc7a0
-0, 727200, 152064, 0xf4cec580
-0, 730800, 152064, 0xb3b10936
-0, 734400, 152064, 0x102bc2ec
-0, 738000, 152064, 0xc99d4767
-0, 741600, 152064, 0x60c745b0
-0, 745200, 152064, 0x8176e0cf
-0, 748800, 152064, 0xd47e69b5
-0, 752400, 152064, 0xacce674c
-0, 756000, 152064, 0x031b51f8
-0, 759600, 152064, 0x0eb681ef
-0, 763200, 152064, 0x0b69334b
-0, 766800, 152064, 0xda819c1f
-0, 770400, 152064, 0xa93f62d2
-0, 774000, 152064, 0x51374db5
-0, 777600, 152064, 0x885dccff
-0, 781200, 152064, 0xd0780444
-0, 784800, 152064, 0xa31733ca
-0, 788400, 152064, 0x3f3de84e
-0, 792000, 152064, 0x2af2b2c3
-0, 795600, 152064, 0xa62dceae
-0, 799200, 152064, 0xca1cffd1
-0, 802800, 152064, 0x3c7d561b
-0, 806400, 152064, 0xbc04130a
-0, 810000, 152064, 0xbd2829ae
-0, 813600, 152064, 0xdbbb9820
-0, 817200, 152064, 0xfc3ef628
-0, 820800, 152064, 0xd5da3ec3
-0, 824400, 152064, 0x62d5fcc1
-0, 828000, 152064, 0x455a8dae
-0, 831600, 152064, 0x421c9147
-0, 835200, 152064, 0x6a168484
-0, 838800, 152064, 0x7ba15d32
-0, 842400, 152064, 0xd089ed27
-0, 846000, 152064, 0x8fc4d894
-0, 849600, 152064, 0x99e47125
-0, 853200, 152064, 0xf55dda68
-0, 856800, 152064, 0x6bf06cf1
-0, 860400, 152064, 0x7dc41a9d
-0, 864000, 152064, 0x78b84019
-0, 867600, 152064, 0x85ae8973
-0, 871200, 152064, 0x7b7aeabe
-0, 874800, 152064, 0xf9a8f6bf
-0, 878400, 152064, 0xe195ddcd
-0, 882000, 152064, 0x83edffe9
-0, 885600, 152064, 0x59cce97a
-0, 889200, 152064, 0x15268af1
-0, 892800, 152064, 0x270cca95
-0, 896400, 152064, 0x8bced1f9
-0, 900000, 152064, 0x08ee5cec
-0, 903600, 152064, 0x01e74f95
-0, 907200, 152064, 0x7e19238f
-0, 910800, 152064, 0x6bcb2b9d
-0, 914400, 152064, 0x58111385
-0, 918000, 152064, 0x6c7aa1f7
-0, 921600, 152064, 0xb713a822
-0, 925200, 152064, 0x1d645cee
-0, 928800, 152064, 0x9c592969
-0, 932400, 152064, 0x2472769e
-0, 936000, 152064, 0x71b7a5ad
-0, 939600, 152064, 0xc6bba1c6
-0, 943200, 152064, 0x7351f305
-0, 946800, 152064, 0x579edbba
-0, 950400, 152064, 0x90eda919
-0, 954000, 152064, 0x2833b10d
-0, 957600, 152064, 0x4b967d65
-0, 961200, 152064, 0x6e7d1702
-0, 964800, 152064, 0x59dbcf5b
-0, 968400, 152064, 0xa138847b
-0, 972000, 152064, 0xb2414e8d
-0, 975600, 152064, 0xb90497f6
-0, 979200, 152064, 0xcd728159
-0, 982800, 152064, 0x005d5bdd
-0, 986400, 152064, 0x27c88fb6
-0, 990000, 152064, 0x3ccb8a93
-0, 993600, 152064, 0xc50256dd
-0, 997200, 152064, 0x111e7dee
-0, 1000800, 152064, 0x259d4a5d
-0, 1004400, 152064, 0x9385148b
-0, 1008000, 152064, 0x74002ab0
-0, 1011600, 152064, 0xd2c74adc
-0, 1015200, 152064, 0x72854b2a
-0, 1018800, 152064, 0x638e5c08
-0, 1022400, 152064, 0x9626bbb3
-0, 1026000, 152064, 0xc107c18f
-0, 1029600, 152064, 0x8bd04578
-0, 1033200, 152064, 0xbcdb6db6
-0, 1036800, 152064, 0x9d0c81be
-0, 1040400, 152064, 0xf25106b6
-0, 1044000, 152064, 0x54c25254
-0, 1047600, 152064, 0x4bf74663
-0, 1051200, 152064, 0x0051b054
-0, 1054800, 152064, 0x5193d3d4
-0, 1058400, 152064, 0xb5d0d045
-0, 1062000, 152064, 0x350a31ca
-0, 1065600, 152064, 0xb8fb7264
-0, 1069200, 152064, 0x7fb97645
-0, 1072800, 152064, 0xcd948c41
-0, 1076400, 152064, 0x38c7570a
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x995bb4bd
+0, 1, 1, 1, 152064, 0xad287357
+0, 2, 2, 1, 152064, 0x38fa4661
+0, 3, 3, 1, 152064, 0x8aae73cf
+0, 4, 4, 1, 152064, 0x4a13eada
+0, 5, 5, 1, 152064, 0x48b33901
+0, 6, 6, 1, 152064, 0x011487bc
+0, 7, 7, 1, 152064, 0xd4ce1925
+0, 8, 8, 1, 152064, 0x5d679ddd
+0, 9, 9, 1, 152064, 0x276cd5cf
+0, 10, 10, 1, 152064, 0x99c625f0
+0, 11, 11, 1, 152064, 0xb2f756d1
+0, 12, 12, 1, 152064, 0xb19c2978
+0, 13, 13, 1, 152064, 0xdac0ff3c
+0, 14, 14, 1, 152064, 0x3c1c8d63
+0, 15, 15, 1, 152064, 0x818ea0a8
+0, 16, 16, 1, 152064, 0xa7c122a5
+0, 17, 17, 1, 152064, 0x67ad3519
+0, 18, 18, 1, 152064, 0xc81b2a88
+0, 19, 19, 1, 152064, 0x8ae6633e
+0, 20, 20, 1, 152064, 0xed945788
+0, 21, 21, 1, 152064, 0x4c740bcb
+0, 22, 22, 1, 152064, 0xd8408d09
+0, 23, 23, 1, 152064, 0xb710e8b8
+0, 24, 24, 1, 152064, 0xb8c647b9
+0, 25, 25, 1, 152064, 0x802b2e23
+0, 26, 26, 1, 152064, 0x30672529
+0, 27, 27, 1, 152064, 0x328a72b6
+0, 28, 28, 1, 152064, 0xeb6dbe94
+0, 29, 29, 1, 152064, 0x1c19dcc5
+0, 30, 30, 1, 152064, 0xfdc6b998
+0, 31, 31, 1, 152064, 0xf9e2cd80
+0, 32, 32, 1, 152064, 0x025eb15e
+0, 33, 33, 1, 152064, 0xfd998ad8
+0, 34, 34, 1, 152064, 0x8fdf736f
+0, 35, 35, 1, 152064, 0xa5a7554a
+0, 36, 36, 1, 152064, 0xcea63304
+0, 37, 37, 1, 152064, 0xcb28ec28
+0, 38, 38, 1, 152064, 0x92efb591
+0, 39, 39, 1, 152064, 0x0f2376c3
+0, 40, 40, 1, 152064, 0xe9cb5ecf
+0, 41, 41, 1, 152064, 0xcd2d0eba
+0, 42, 42, 1, 152064, 0xd57fe4fd
+0, 43, 43, 1, 152064, 0xc486ab8e
+0, 44, 44, 1, 152064, 0x01a1f709
+0, 45, 45, 1, 152064, 0x7ac5b13a
+0, 46, 46, 1, 152064, 0x6f519279
+0, 47, 47, 1, 152064, 0xfd7cd9a0
+0, 48, 48, 1, 152064, 0xfae649d2
+0, 49, 49, 1, 152064, 0x618507ca
+0, 50, 50, 1, 152064, 0xb177bc15
+0, 51, 51, 1, 152064, 0x6fa36854
+0, 52, 52, 1, 152064, 0xc13cb77d
+0, 53, 53, 1, 152064, 0x6d40cb01
+0, 54, 54, 1, 152064, 0xa3db96a2
+0, 55, 55, 1, 152064, 0xe5ba6c99
+0, 56, 56, 1, 152064, 0xca9ff3ee
+0, 57, 57, 1, 152064, 0x6c016c65
+0, 58, 58, 1, 152064, 0xdf93ed80
+0, 59, 59, 1, 152064, 0x93112ec8
+0, 60, 60, 1, 152064, 0x8ab3ea14
+0, 61, 61, 1, 152064, 0x02f5b891
+0, 62, 62, 1, 152064, 0xdafd562b
+0, 63, 63, 1, 152064, 0xa96a2bd7
+0, 64, 64, 1, 152064, 0xdff8bc68
+0, 65, 65, 1, 152064, 0x8d956b4b
+0, 66, 66, 1, 152064, 0xb4aeb960
+0, 67, 67, 1, 152064, 0x391cf0dd
+0, 68, 68, 1, 152064, 0x03137de9
+0, 69, 69, 1, 152064, 0x2bfa8c4b
+0, 70, 70, 1, 152064, 0xfb54d3a5
+0, 71, 71, 1, 152064, 0x650146e7
+0, 72, 72, 1, 152064, 0xd3a7765f
+0, 73, 73, 1, 152064, 0x49d72b90
+0, 74, 74, 1, 152064, 0xf089b357
+0, 75, 75, 1, 152064, 0x23a2be41
+0, 76, 76, 1, 152064, 0x2ea86592
+0, 77, 77, 1, 152064, 0x99d6f56b
+0, 78, 78, 1, 152064, 0xc2ca75b9
+0, 79, 79, 1, 152064, 0x390b7278
+0, 80, 80, 1, 152064, 0x0f6d1f1e
+0, 81, 81, 1, 152064, 0x79e2a3f4
+0, 82, 82, 1, 152064, 0x51d5e1da
+0, 83, 83, 1, 152064, 0xdb57419a
+0, 84, 84, 1, 152064, 0xf90a4153
+0, 85, 85, 1, 152064, 0xd192f6c6
+0, 86, 86, 1, 152064, 0x8cd3895a
+0, 87, 87, 1, 152064, 0x0d3ec577
+0, 88, 88, 1, 152064, 0x146e8492
+0, 89, 89, 1, 152064, 0xc9939c22
+0, 90, 90, 1, 152064, 0xf1f4275e
+0, 91, 91, 1, 152064, 0xb898eb35
+0, 92, 92, 1, 152064, 0xed315ee9
+0, 93, 93, 1, 152064, 0x9046b760
+0, 94, 94, 1, 152064, 0x599a736b
+0, 95, 95, 1, 152064, 0xaef20726
+0, 96, 96, 1, 152064, 0x0d136768
+0, 97, 97, 1, 152064, 0xfe4ed2a8
+0, 98, 98, 1, 152064, 0x5a85524b
+0, 99, 99, 1, 152064, 0x6d495dd2
+0, 100, 100, 1, 152064, 0x04bdb815
+0, 101, 101, 1, 152064, 0x28aae1c5
+0, 102, 102, 1, 152064, 0xc20bc8d9
+0, 103, 103, 1, 152064, 0xa33d9b41
+0, 104, 104, 1, 152064, 0x6269cb43
+0, 105, 105, 1, 152064, 0x4f81d636
+0, 106, 106, 1, 152064, 0xc6062166
+0, 107, 107, 1, 152064, 0xb027fbcc
+0, 108, 108, 1, 152064, 0x73a7a584
+0, 109, 109, 1, 152064, 0xf67e520a
+0, 110, 110, 1, 152064, 0x94eff023
+0, 111, 111, 1, 152064, 0xef1da8e5
+0, 112, 112, 1, 152064, 0x2d9ab411
+0, 113, 113, 1, 152064, 0xf0c39b5d
+0, 114, 114, 1, 152064, 0xb2374724
+0, 115, 115, 1, 152064, 0x939a5243
+0, 116, 116, 1, 152064, 0xee3438db
+0, 117, 117, 1, 152064, 0x7da04012
+0, 118, 118, 1, 152064, 0xac611668
+0, 119, 119, 1, 152064, 0xdce3062e
+0, 120, 120, 1, 152064, 0xb57cc00e
+0, 121, 121, 1, 152064, 0xaf96b59e
+0, 122, 122, 1, 152064, 0x56789c13
+0, 123, 123, 1, 152064, 0xb1f678b5
+0, 124, 124, 1, 152064, 0xb340b8c4
+0, 125, 125, 1, 152064, 0x86e6e304
+0, 126, 126, 1, 152064, 0xa056e037
+0, 127, 127, 1, 152064, 0x16885d27
+0, 128, 128, 1, 152064, 0x9c5ac065
+0, 129, 129, 1, 152064, 0x563d5335
+0, 130, 130, 1, 152064, 0x3ca71c1e
+0, 131, 131, 1, 152064, 0xad34e16c
+0, 132, 132, 1, 152064, 0x6d074b27
+0, 133, 133, 1, 152064, 0x9b1c4909
+0, 134, 134, 1, 152064, 0xdbced198
+0, 135, 135, 1, 152064, 0x8a0ded00
+0, 136, 136, 1, 152064, 0x5ffc209b
+0, 137, 137, 1, 152064, 0x47cfd269
+0, 138, 138, 1, 152064, 0xe3c0137e
+0, 139, 139, 1, 152064, 0xcb6a5e53
+0, 140, 140, 1, 152064, 0x87cec05f
+0, 141, 141, 1, 152064, 0x92721dd2
+0, 142, 142, 1, 152064, 0x3f7d7b3b
+0, 143, 143, 1, 152064, 0xd63ef417
+0, 144, 144, 1, 152064, 0xf8e4b05a
+0, 145, 145, 1, 152064, 0xb5dcb421
+0, 146, 146, 1, 152064, 0x53c96f6a
+0, 147, 147, 1, 152064, 0x24ae98a3
+0, 148, 148, 1, 152064, 0x2e9b5fff
+0, 149, 149, 1, 152064, 0x7795bf12
+0, 150, 150, 1, 152064, 0x499d37ca
+0, 151, 151, 1, 152064, 0xfe478487
+0, 152, 152, 1, 152064, 0xcd661afb
+0, 153, 153, 1, 152064, 0x44f8bf00
+0, 154, 154, 1, 152064, 0x90b67809
+0, 155, 155, 1, 152064, 0x8f5726d1
+0, 156, 156, 1, 152064, 0x2e3c39d5
+0, 157, 157, 1, 152064, 0x4b67c4e6
+0, 158, 158, 1, 152064, 0x9fecb7cf
+0, 159, 159, 1, 152064, 0x207766ea
+0, 160, 160, 1, 152064, 0x5846bf7b
+0, 161, 161, 1, 152064, 0x4237fba1
+0, 162, 162, 1, 152064, 0x983e0cbd
+0, 163, 163, 1, 152064, 0x6be100d1
+0, 164, 164, 1, 152064, 0x9d0beb8f
+0, 165, 165, 1, 152064, 0x234b82e7
+0, 166, 166, 1, 152064, 0x83fb5ef1
+0, 167, 167, 1, 152064, 0xf503dcb2
+0, 168, 168, 1, 152064, 0x031a27f2
+0, 169, 169, 1, 152064, 0x2f1abf24
+0, 170, 170, 1, 152064, 0x54d77010
+0, 171, 171, 1, 152064, 0x049fc0fc
+0, 172, 172, 1, 152064, 0x20f2f7e7
+0, 173, 173, 1, 152064, 0xc0d57467
+0, 174, 174, 1, 152064, 0xbe464eef
+0, 175, 175, 1, 152064, 0x035c9052
+0, 176, 176, 1, 152064, 0x91cba4fb
+0, 177, 177, 1, 152064, 0x11cdbbfb
+0, 178, 178, 1, 152064, 0xe61116d5
+0, 179, 179, 1, 152064, 0x16db46b8
+0, 180, 180, 1, 152064, 0x54f30d9f
+0, 181, 181, 1, 152064, 0x211a8d2d
+0, 182, 182, 1, 152064, 0x5a74a56b
+0, 183, 183, 1, 152064, 0x0ff4ba72
+0, 184, 184, 1, 152064, 0x4c398ad6
+0, 185, 185, 1, 152064, 0x830814f0
+0, 186, 186, 1, 152064, 0xa51f4bab
+0, 187, 187, 1, 152064, 0xf3460de6
+0, 188, 188, 1, 152064, 0x7e1979a1
+0, 189, 189, 1, 152064, 0x4b3ebb3a
+0, 190, 190, 1, 152064, 0x83d1f4f8
+0, 191, 191, 1, 152064, 0xfbf08683
+0, 192, 192, 1, 152064, 0x901c07ec
+0, 193, 193, 1, 152064, 0xbc2dc1c7
+0, 194, 194, 1, 152064, 0x6e646b3b
+0, 195, 195, 1, 152064, 0x51a25aab
+0, 196, 196, 1, 152064, 0xa042ab78
+0, 197, 197, 1, 152064, 0xb972af58
+0, 198, 198, 1, 152064, 0xcdca9568
+0, 199, 199, 1, 152064, 0x17b69d1c
+0, 200, 200, 1, 152064, 0x41c43ea2
+0, 201, 201, 1, 152064, 0x195fc7a0
+0, 202, 202, 1, 152064, 0xf4cec580
+0, 203, 203, 1, 152064, 0xb3b10936
+0, 204, 204, 1, 152064, 0x102bc2ec
+0, 205, 205, 1, 152064, 0xc99d4767
+0, 206, 206, 1, 152064, 0x60c745b0
+0, 207, 207, 1, 152064, 0x8176e0cf
+0, 208, 208, 1, 152064, 0xd47e69b5
+0, 209, 209, 1, 152064, 0xacce674c
+0, 210, 210, 1, 152064, 0x031b51f8
+0, 211, 211, 1, 152064, 0x0eb681ef
+0, 212, 212, 1, 152064, 0x0b69334b
+0, 213, 213, 1, 152064, 0xda819c1f
+0, 214, 214, 1, 152064, 0xa93f62d2
+0, 215, 215, 1, 152064, 0x51374db5
+0, 216, 216, 1, 152064, 0x885dccff
+0, 217, 217, 1, 152064, 0xd0780444
+0, 218, 218, 1, 152064, 0xa31733ca
+0, 219, 219, 1, 152064, 0x3f3de84e
+0, 220, 220, 1, 152064, 0x2af2b2c3
+0, 221, 221, 1, 152064, 0xa62dceae
+0, 222, 222, 1, 152064, 0xca1cffd1
+0, 223, 223, 1, 152064, 0x3c7d561b
+0, 224, 224, 1, 152064, 0xbc04130a
+0, 225, 225, 1, 152064, 0xbd2829ae
+0, 226, 226, 1, 152064, 0xdbbb9820
+0, 227, 227, 1, 152064, 0xfc3ef628
+0, 228, 228, 1, 152064, 0xd5da3ec3
+0, 229, 229, 1, 152064, 0x62d5fcc1
+0, 230, 230, 1, 152064, 0x455a8dae
+0, 231, 231, 1, 152064, 0x421c9147
+0, 232, 232, 1, 152064, 0x6a168484
+0, 233, 233, 1, 152064, 0x7ba15d32
+0, 234, 234, 1, 152064, 0xd089ed27
+0, 235, 235, 1, 152064, 0x8fc4d894
+0, 236, 236, 1, 152064, 0x99e47125
+0, 237, 237, 1, 152064, 0xf55dda68
+0, 238, 238, 1, 152064, 0x6bf06cf1
+0, 239, 239, 1, 152064, 0x7dc41a9d
+0, 240, 240, 1, 152064, 0x78b84019
+0, 241, 241, 1, 152064, 0x85ae8973
+0, 242, 242, 1, 152064, 0x7b7aeabe
+0, 243, 243, 1, 152064, 0xf9a8f6bf
+0, 244, 244, 1, 152064, 0xe195ddcd
+0, 245, 245, 1, 152064, 0x83edffe9
+0, 246, 246, 1, 152064, 0x59cce97a
+0, 247, 247, 1, 152064, 0x15268af1
+0, 248, 248, 1, 152064, 0x270cca95
+0, 249, 249, 1, 152064, 0x8bced1f9
+0, 250, 250, 1, 152064, 0x08ee5cec
+0, 251, 251, 1, 152064, 0x01e74f95
+0, 252, 252, 1, 152064, 0x7e19238f
+0, 253, 253, 1, 152064, 0x6bcb2b9d
+0, 254, 254, 1, 152064, 0x58111385
+0, 255, 255, 1, 152064, 0x6c7aa1f7
+0, 256, 256, 1, 152064, 0xb713a822
+0, 257, 257, 1, 152064, 0x1d645cee
+0, 258, 258, 1, 152064, 0x9c592969
+0, 259, 259, 1, 152064, 0x2472769e
+0, 260, 260, 1, 152064, 0x71b7a5ad
+0, 261, 261, 1, 152064, 0xc6bba1c6
+0, 262, 262, 1, 152064, 0x7351f305
+0, 263, 263, 1, 152064, 0x579edbba
+0, 264, 264, 1, 152064, 0x90eda919
+0, 265, 265, 1, 152064, 0x2833b10d
+0, 266, 266, 1, 152064, 0x4b967d65
+0, 267, 267, 1, 152064, 0x6e7d1702
+0, 268, 268, 1, 152064, 0x59dbcf5b
+0, 269, 269, 1, 152064, 0xa138847b
+0, 270, 270, 1, 152064, 0xb2414e8d
+0, 271, 271, 1, 152064, 0xb90497f6
+0, 272, 272, 1, 152064, 0xcd728159
+0, 273, 273, 1, 152064, 0x005d5bdd
+0, 274, 274, 1, 152064, 0x27c88fb6
+0, 275, 275, 1, 152064, 0x3ccb8a93
+0, 276, 276, 1, 152064, 0xc50256dd
+0, 277, 277, 1, 152064, 0x111e7dee
+0, 278, 278, 1, 152064, 0x259d4a5d
+0, 279, 279, 1, 152064, 0x9385148b
+0, 280, 280, 1, 152064, 0x74002ab0
+0, 281, 281, 1, 152064, 0xd2c74adc
+0, 282, 282, 1, 152064, 0x72854b2a
+0, 283, 283, 1, 152064, 0x638e5c08
+0, 284, 284, 1, 152064, 0x9626bbb3
+0, 285, 285, 1, 152064, 0xc107c18f
+0, 286, 286, 1, 152064, 0x8bd04578
+0, 287, 287, 1, 152064, 0xbcdb6db6
+0, 288, 288, 1, 152064, 0x9d0c81be
+0, 289, 289, 1, 152064, 0xf25106b6
+0, 290, 290, 1, 152064, 0x54c25254
+0, 291, 291, 1, 152064, 0x4bf74663
+0, 292, 292, 1, 152064, 0x0051b054
+0, 293, 293, 1, 152064, 0x5193d3d4
+0, 294, 294, 1, 152064, 0xb5d0d045
+0, 295, 295, 1, 152064, 0x350a31ca
+0, 296, 296, 1, 152064, 0xb8fb7264
+0, 297, 297, 1, 152064, 0x7fb97645
+0, 298, 298, 1, 152064, 0xcd948c41
+0, 299, 299, 1, 152064, 0x38c7570a
diff --git a/tests/ref/fate/h264-conformance-frext-hpcadq_brcm_b b/tests/ref/fate/h264-conformance-frext-hpcadq_brcm_b
index b5778dd378..49249b3703 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcadq_brcm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcadq_brcm_b
@@ -1,300 +1,301 @@
-0, 0, 152064, 0xf3c68dea
-0, 3600, 152064, 0xf52d483f
-0, 7200, 152064, 0x612f1792
-0, 10800, 152064, 0x4df34726
-0, 14400, 152064, 0xfed7c058
-0, 18000, 152064, 0x2d48025c
-0, 21600, 152064, 0x03544ab9
-0, 25200, 152064, 0x20cadfc5
-0, 28800, 152064, 0x7cd3672e
-0, 32400, 152064, 0x5f2b9ede
-0, 36000, 152064, 0xc0bbdf75
-0, 39600, 152064, 0x95571e7c
-0, 43200, 152064, 0x0d1afc5b
-0, 46800, 152064, 0x9c91c11f
-0, 50400, 152064, 0x73e667e4
-0, 54000, 152064, 0xfb7f8892
-0, 57600, 152064, 0x5707f566
-0, 61200, 152064, 0x21032449
-0, 64800, 152064, 0x199e20b7
-0, 68400, 152064, 0x23213179
-0, 72000, 152064, 0x29812daa
-0, 75600, 152064, 0x04e3eb6b
-0, 79200, 152064, 0xab206165
-0, 82800, 152064, 0x392fbf7b
-0, 86400, 152064, 0x137a1c6a
-0, 90000, 152064, 0x9caff265
-0, 93600, 152064, 0x6becf046
-0, 97200, 152064, 0xfc2c3ba6
-0, 100800, 152064, 0xcf4b9b4c
-0, 104400, 152064, 0x4e2ebd37
-0, 108000, 152064, 0xcd419daa
-0, 111600, 152064, 0xe12294b0
-0, 115200, 152064, 0x6bda7493
-0, 118800, 152064, 0xefbf5d0b
-0, 122400, 152064, 0x9500458a
-0, 126000, 152064, 0x6b5d212e
-0, 129600, 152064, 0xb928fc31
-0, 133200, 152064, 0x64f2bb2f
-0, 136800, 152064, 0xf93a724d
-0, 140400, 152064, 0xdd0d32c0
-0, 144000, 152064, 0xe1b51d95
-0, 147600, 152064, 0xbb43d295
-0, 151200, 152064, 0x6dcea069
-0, 154800, 152064, 0x89d79805
-0, 158400, 152064, 0x50b5dd43
-0, 162000, 152064, 0xe3099e3f
-0, 165600, 152064, 0x003b6ace
-0, 169200, 152064, 0x2213b672
-0, 172800, 152064, 0x5b273093
-0, 176400, 152064, 0xdbfbd9bf
-0, 180000, 152064, 0xf26b89d0
-0, 183600, 152064, 0x1470527e
-0, 187200, 152064, 0x0e668970
-0, 190800, 152064, 0x00218692
-0, 194400, 152064, 0xaabf79a8
-0, 198000, 152064, 0xf68b4663
-0, 201600, 152064, 0x4c08d01f
-0, 205200, 152064, 0x48e75380
-0, 208800, 152064, 0x4b8be58f
-0, 212400, 152064, 0x8a6c1365
-0, 216000, 152064, 0x9439ca02
-0, 219600, 152064, 0x831d9855
-0, 223200, 152064, 0xff031ffd
-0, 226800, 152064, 0x3680f4bc
-0, 230400, 152064, 0x794c95a4
-0, 234000, 152064, 0x23e53349
-0, 237600, 152064, 0x85307117
-0, 241200, 152064, 0x0bc0bf5a
-0, 244800, 152064, 0xc79f46c8
-0, 248400, 152064, 0x48be4e21
-0, 252000, 152064, 0x2ad89b4f
-0, 255600, 152064, 0xd454f9a9
-0, 259200, 152064, 0x64852f6d
-0, 262800, 152064, 0xcb7b0c05
-0, 266400, 152064, 0x4e108ced
-0, 270000, 152064, 0xf5e5a37b
-0, 273600, 152064, 0x224e29c7
-0, 277200, 152064, 0xad90d3c2
-0, 280800, 152064, 0x5ddb5d05
-0, 284400, 152064, 0x4ebf4337
-0, 288000, 152064, 0x7e2bfeed
-0, 291600, 152064, 0x00e884c7
-0, 295200, 152064, 0xa4f6a534
-0, 298800, 152064, 0x622f1511
-0, 302400, 152064, 0x8d99233d
-0, 306000, 152064, 0x5910d02c
-0, 309600, 152064, 0x20d6706c
-0, 313200, 152064, 0x8e30a417
-0, 316800, 152064, 0x180d745a
-0, 320400, 152064, 0xc25189b9
-0, 324000, 152064, 0x909101ad
-0, 327600, 152064, 0x9967be1c
-0, 331200, 152064, 0x72ff3206
-0, 334800, 152064, 0x48d07f48
-0, 338400, 152064, 0x7f8244b7
-0, 342000, 152064, 0xf871e21e
-0, 345600, 152064, 0xd4743610
-0, 349200, 152064, 0xc2c7a7b1
-0, 352800, 152064, 0x95be1a75
-0, 356400, 152064, 0x44972b2e
-0, 360000, 152064, 0xa6036c4f
-0, 363600, 152064, 0xecdd8dd6
-0, 367200, 152064, 0xbb7e8551
-0, 370800, 152064, 0x42916e6c
-0, 374400, 152064, 0x972db010
-0, 378000, 152064, 0x80dab6a0
-0, 381600, 152064, 0xc753ecdb
-0, 385200, 152064, 0x0823bffa
-0, 388800, 152064, 0x80876b2d
-0, 392400, 152064, 0x4a8b2118
-0, 396000, 152064, 0x0be2c13d
-0, 399600, 152064, 0xa6966e4f
-0, 403200, 152064, 0xf6a57650
-0, 406800, 152064, 0x49d66fd4
-0, 410400, 152064, 0x21d92047
-0, 414000, 152064, 0x155f20a8
-0, 417600, 152064, 0x5ab90c1d
-0, 421200, 152064, 0xa0c31337
-0, 424800, 152064, 0xd20de1d6
-0, 428400, 152064, 0x300ad916
-0, 432000, 152064, 0xbcb89eb5
-0, 435600, 152064, 0x08759342
-0, 439200, 152064, 0xa5d06e72
-0, 442800, 152064, 0x3b4c537f
-0, 446400, 152064, 0x7f48912b
-0, 450000, 152064, 0x200dbd1f
-0, 453600, 152064, 0x918abfde
-0, 457200, 152064, 0xd8072cdf
-0, 460800, 152064, 0x89d2902b
-0, 464400, 152064, 0xcd2e2e3c
-0, 468000, 152064, 0xf343e4a2
-0, 471600, 152064, 0xc424acad
-0, 475200, 152064, 0xf71e3031
-0, 478800, 152064, 0xf1bc1179
-0, 482400, 152064, 0x9af58d24
-0, 486000, 152064, 0x48a4d01e
-0, 489600, 152064, 0xcf24f721
-0, 493200, 152064, 0x5bc7b4f3
-0, 496800, 152064, 0x8763fc59
-0, 500400, 152064, 0xb6954051
-0, 504000, 152064, 0x044ba446
-0, 507600, 152064, 0xdaaaee7e
-0, 511200, 152064, 0x8eac550d
-0, 514800, 152064, 0x5191d08c
-0, 518400, 152064, 0x3cd76d43
-0, 522000, 152064, 0xf01f8fa9
-0, 525600, 152064, 0x0e283e9b
-0, 529200, 152064, 0x7cef69ee
-0, 532800, 152064, 0xc8e332bc
-0, 536400, 152064, 0x5b1aa484
-0, 540000, 152064, 0x3975234f
-0, 543600, 152064, 0x52b8661e
-0, 547200, 152064, 0xb4b8fed8
-0, 550800, 152064, 0x5aff9f70
-0, 554400, 152064, 0x7b575735
-0, 558000, 152064, 0x77d51523
-0, 561600, 152064, 0xf5131eba
-0, 565200, 152064, 0x4bd2b1ad
-0, 568800, 152064, 0xccfc8dca
-0, 572400, 152064, 0xcf245472
-0, 576000, 152064, 0xe055adf5
-0, 579600, 152064, 0x2a90e171
-0, 583200, 152064, 0x1bd8ea64
-0, 586800, 152064, 0x32f1d794
-0, 590400, 152064, 0xc938c42a
-0, 594000, 152064, 0x12b5644f
-0, 597600, 152064, 0x99003711
-0, 601200, 152064, 0xaecfad1c
-0, 604800, 152064, 0x94b00ae1
-0, 608400, 152064, 0xbb4f982f
-0, 612000, 152064, 0x6f7f5dc1
-0, 615600, 152064, 0x7be7c2cb
-0, 619200, 152064, 0x3b2ee4d3
-0, 622800, 152064, 0xc75f5666
-0, 626400, 152064, 0xff7a3ede
-0, 630000, 152064, 0x55866b59
-0, 633600, 152064, 0x408b8455
-0, 637200, 152064, 0x96c4ab66
-0, 640800, 152064, 0x1d87f575
-0, 644400, 152064, 0x3a3b17ac
-0, 648000, 152064, 0x9c99e591
-0, 651600, 152064, 0xc1fc663d
-0, 655200, 152064, 0x17b982dd
-0, 658800, 152064, 0x24fe9dad
-0, 662400, 152064, 0xea8760ee
-0, 666000, 152064, 0x23dcefad
-0, 669600, 152064, 0xee6d23f0
-0, 673200, 152064, 0xfddc1962
-0, 676800, 152064, 0xb23190df
-0, 680400, 152064, 0xf066a595
-0, 684000, 152064, 0x2200fef8
-0, 687600, 152064, 0x5491ab2f
-0, 691200, 152064, 0xea93fa58
-0, 694800, 152064, 0x3e13d4f4
-0, 698400, 152064, 0x3dda841d
-0, 702000, 152064, 0xfc243577
-0, 705600, 152064, 0xca4a9127
-0, 709200, 152064, 0x41908ec0
-0, 712800, 152064, 0x10a758bd
-0, 716400, 152064, 0x6a849e5b
-0, 720000, 152064, 0xb55a1f2b
-0, 723600, 152064, 0x2bfe9627
-0, 727200, 152064, 0x2bfca28c
-0, 730800, 152064, 0xd166f336
-0, 734400, 152064, 0x9facb32b
-0, 738000, 152064, 0x6a672475
-0, 741600, 152064, 0xc7b219cf
-0, 745200, 152064, 0x2b43ca53
-0, 748800, 152064, 0x43b542c4
-0, 752400, 152064, 0xdc654337
-0, 756000, 152064, 0x68003d7c
-0, 759600, 152064, 0x3cb85724
-0, 763200, 152064, 0x422701c2
-0, 766800, 152064, 0x1c667870
-0, 770400, 152064, 0x75ef3230
-0, 774000, 152064, 0x0ac82643
-0, 777600, 152064, 0x3eb3a0be
-0, 781200, 152064, 0x482bd77e
-0, 784800, 152064, 0xd3ce1171
-0, 788400, 152064, 0xeaefc7e4
-0, 792000, 152064, 0xa9c67939
-0, 795600, 152064, 0x0af0a25b
-0, 799200, 152064, 0xd094d95a
-0, 802800, 152064, 0xfda42fc6
-0, 806400, 152064, 0x4669f952
-0, 810000, 152064, 0x52d40e98
-0, 813600, 152064, 0x27c36cd1
-0, 817200, 152064, 0xa103b6ce
-0, 820800, 152064, 0x2be9026d
-0, 824400, 152064, 0x2f4ecc59
-0, 828000, 152064, 0x53144cef
-0, 831600, 152064, 0x15d54fc9
-0, 835200, 152064, 0x7e302db7
-0, 838800, 152064, 0x82521901
-0, 842400, 152064, 0x1123cdb6
-0, 846000, 152064, 0x3185878a
-0, 849600, 152064, 0xbb294983
-0, 853200, 152064, 0x83d9fe66
-0, 856800, 152064, 0xede9fb08
-0, 860400, 152064, 0xa543b551
-0, 864000, 152064, 0x39e82734
-0, 867600, 152064, 0xd0447fb5
-0, 871200, 152064, 0x8cc6f502
-0, 874800, 152064, 0xda8d1da8
-0, 878400, 152064, 0xcafdccca
-0, 882000, 152064, 0xbf0e04f4
-0, 885600, 152064, 0x0c6eefec
-0, 889200, 152064, 0xb9026d39
-0, 892800, 152064, 0x0121a7a8
-0, 896400, 152064, 0x453ebbc6
-0, 900000, 152064, 0x14ae15e3
-0, 903600, 152064, 0x51d618e1
-0, 907200, 152064, 0x2254f452
-0, 910800, 152064, 0x8c360633
-0, 914400, 152064, 0x8704d9bc
-0, 918000, 152064, 0xe5d48301
-0, 921600, 152064, 0xf25b7b3f
-0, 925200, 152064, 0xd2ad3b73
-0, 928800, 152064, 0x53db0387
-0, 932400, 152064, 0x2486341c
-0, 936000, 152064, 0x4a24570b
-0, 939600, 152064, 0x0694620a
-0, 943200, 152064, 0xbbc2a302
-0, 946800, 152064, 0x08ad9c02
-0, 950400, 152064, 0x601a63ab
-0, 954000, 152064, 0xe4234a48
-0, 957600, 152064, 0x07702235
-0, 961200, 152064, 0x719dbecf
-0, 964800, 152064, 0xf301a7ad
-0, 968400, 152064, 0xf15c70c3
-0, 972000, 152064, 0x0ab93386
-0, 975600, 152064, 0x99c05adb
-0, 979200, 152064, 0x9ed43530
-0, 982800, 152064, 0xa2f62122
-0, 986400, 152064, 0xf16f4525
-0, 990000, 152064, 0xa3403b4a
-0, 993600, 152064, 0x95521096
-0, 997200, 152064, 0x0d412988
-0, 1000800, 152064, 0x829e080a
-0, 1004400, 152064, 0x0805c1b5
-0, 1008000, 152064, 0xa136be48
-0, 1011600, 152064, 0x0f8de228
-0, 1015200, 152064, 0x272cf2d3
-0, 1018800, 152064, 0xa1df2a5e
-0, 1022400, 152064, 0xf9db8350
-0, 1026000, 152064, 0x5536997d
-0, 1029600, 152064, 0xab83e81e
-0, 1033200, 152064, 0xec791b49
-0, 1036800, 152064, 0x04d03e19
-0, 1040400, 152064, 0xd6a2bd21
-0, 1044000, 152064, 0x2d35f0aa
-0, 1047600, 152064, 0x137bf715
-0, 1051200, 152064, 0x56ef5ae1
-0, 1054800, 152064, 0x9bb5821e
-0, 1058400, 152064, 0x533c7fff
-0, 1062000, 152064, 0x469ad380
-0, 1065600, 152064, 0x75710e84
-0, 1069200, 152064, 0xbbd72551
-0, 1072800, 152064, 0xf1137026
-0, 1076400, 152064, 0x6238412b
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf3c68dea
+0, 1, 1, 1, 152064, 0xf52d483f
+0, 2, 2, 1, 152064, 0x612f1792
+0, 3, 3, 1, 152064, 0x4df34726
+0, 4, 4, 1, 152064, 0xfed7c058
+0, 5, 5, 1, 152064, 0x2d48025c
+0, 6, 6, 1, 152064, 0x03544ab9
+0, 7, 7, 1, 152064, 0x20cadfc5
+0, 8, 8, 1, 152064, 0x7cd3672e
+0, 9, 9, 1, 152064, 0x5f2b9ede
+0, 10, 10, 1, 152064, 0xc0bbdf75
+0, 11, 11, 1, 152064, 0x95571e7c
+0, 12, 12, 1, 152064, 0x0d1afc5b
+0, 13, 13, 1, 152064, 0x9c91c11f
+0, 14, 14, 1, 152064, 0x73e667e4
+0, 15, 15, 1, 152064, 0xfb7f8892
+0, 16, 16, 1, 152064, 0x5707f566
+0, 17, 17, 1, 152064, 0x21032449
+0, 18, 18, 1, 152064, 0x199e20b7
+0, 19, 19, 1, 152064, 0x23213179
+0, 20, 20, 1, 152064, 0x29812daa
+0, 21, 21, 1, 152064, 0x04e3eb6b
+0, 22, 22, 1, 152064, 0xab206165
+0, 23, 23, 1, 152064, 0x392fbf7b
+0, 24, 24, 1, 152064, 0x137a1c6a
+0, 25, 25, 1, 152064, 0x9caff265
+0, 26, 26, 1, 152064, 0x6becf046
+0, 27, 27, 1, 152064, 0xfc2c3ba6
+0, 28, 28, 1, 152064, 0xcf4b9b4c
+0, 29, 29, 1, 152064, 0x4e2ebd37
+0, 30, 30, 1, 152064, 0xcd419daa
+0, 31, 31, 1, 152064, 0xe12294b0
+0, 32, 32, 1, 152064, 0x6bda7493
+0, 33, 33, 1, 152064, 0xefbf5d0b
+0, 34, 34, 1, 152064, 0x9500458a
+0, 35, 35, 1, 152064, 0x6b5d212e
+0, 36, 36, 1, 152064, 0xb928fc31
+0, 37, 37, 1, 152064, 0x64f2bb2f
+0, 38, 38, 1, 152064, 0xf93a724d
+0, 39, 39, 1, 152064, 0xdd0d32c0
+0, 40, 40, 1, 152064, 0xe1b51d95
+0, 41, 41, 1, 152064, 0xbb43d295
+0, 42, 42, 1, 152064, 0x6dcea069
+0, 43, 43, 1, 152064, 0x89d79805
+0, 44, 44, 1, 152064, 0x50b5dd43
+0, 45, 45, 1, 152064, 0xe3099e3f
+0, 46, 46, 1, 152064, 0x003b6ace
+0, 47, 47, 1, 152064, 0x2213b672
+0, 48, 48, 1, 152064, 0x5b273093
+0, 49, 49, 1, 152064, 0xdbfbd9bf
+0, 50, 50, 1, 152064, 0xf26b89d0
+0, 51, 51, 1, 152064, 0x1470527e
+0, 52, 52, 1, 152064, 0x0e668970
+0, 53, 53, 1, 152064, 0x00218692
+0, 54, 54, 1, 152064, 0xaabf79a8
+0, 55, 55, 1, 152064, 0xf68b4663
+0, 56, 56, 1, 152064, 0x4c08d01f
+0, 57, 57, 1, 152064, 0x48e75380
+0, 58, 58, 1, 152064, 0x4b8be58f
+0, 59, 59, 1, 152064, 0x8a6c1365
+0, 60, 60, 1, 152064, 0x9439ca02
+0, 61, 61, 1, 152064, 0x831d9855
+0, 62, 62, 1, 152064, 0xff031ffd
+0, 63, 63, 1, 152064, 0x3680f4bc
+0, 64, 64, 1, 152064, 0x794c95a4
+0, 65, 65, 1, 152064, 0x23e53349
+0, 66, 66, 1, 152064, 0x85307117
+0, 67, 67, 1, 152064, 0x0bc0bf5a
+0, 68, 68, 1, 152064, 0xc79f46c8
+0, 69, 69, 1, 152064, 0x48be4e21
+0, 70, 70, 1, 152064, 0x2ad89b4f
+0, 71, 71, 1, 152064, 0xd454f9a9
+0, 72, 72, 1, 152064, 0x64852f6d
+0, 73, 73, 1, 152064, 0xcb7b0c05
+0, 74, 74, 1, 152064, 0x4e108ced
+0, 75, 75, 1, 152064, 0xf5e5a37b
+0, 76, 76, 1, 152064, 0x224e29c7
+0, 77, 77, 1, 152064, 0xad90d3c2
+0, 78, 78, 1, 152064, 0x5ddb5d05
+0, 79, 79, 1, 152064, 0x4ebf4337
+0, 80, 80, 1, 152064, 0x7e2bfeed
+0, 81, 81, 1, 152064, 0x00e884c7
+0, 82, 82, 1, 152064, 0xa4f6a534
+0, 83, 83, 1, 152064, 0x622f1511
+0, 84, 84, 1, 152064, 0x8d99233d
+0, 85, 85, 1, 152064, 0x5910d02c
+0, 86, 86, 1, 152064, 0x20d6706c
+0, 87, 87, 1, 152064, 0x8e30a417
+0, 88, 88, 1, 152064, 0x180d745a
+0, 89, 89, 1, 152064, 0xc25189b9
+0, 90, 90, 1, 152064, 0x909101ad
+0, 91, 91, 1, 152064, 0x9967be1c
+0, 92, 92, 1, 152064, 0x72ff3206
+0, 93, 93, 1, 152064, 0x48d07f48
+0, 94, 94, 1, 152064, 0x7f8244b7
+0, 95, 95, 1, 152064, 0xf871e21e
+0, 96, 96, 1, 152064, 0xd4743610
+0, 97, 97, 1, 152064, 0xc2c7a7b1
+0, 98, 98, 1, 152064, 0x95be1a75
+0, 99, 99, 1, 152064, 0x44972b2e
+0, 100, 100, 1, 152064, 0xa6036c4f
+0, 101, 101, 1, 152064, 0xecdd8dd6
+0, 102, 102, 1, 152064, 0xbb7e8551
+0, 103, 103, 1, 152064, 0x42916e6c
+0, 104, 104, 1, 152064, 0x972db010
+0, 105, 105, 1, 152064, 0x80dab6a0
+0, 106, 106, 1, 152064, 0xc753ecdb
+0, 107, 107, 1, 152064, 0x0823bffa
+0, 108, 108, 1, 152064, 0x80876b2d
+0, 109, 109, 1, 152064, 0x4a8b2118
+0, 110, 110, 1, 152064, 0x0be2c13d
+0, 111, 111, 1, 152064, 0xa6966e4f
+0, 112, 112, 1, 152064, 0xf6a57650
+0, 113, 113, 1, 152064, 0x49d66fd4
+0, 114, 114, 1, 152064, 0x21d92047
+0, 115, 115, 1, 152064, 0x155f20a8
+0, 116, 116, 1, 152064, 0x5ab90c1d
+0, 117, 117, 1, 152064, 0xa0c31337
+0, 118, 118, 1, 152064, 0xd20de1d6
+0, 119, 119, 1, 152064, 0x300ad916
+0, 120, 120, 1, 152064, 0xbcb89eb5
+0, 121, 121, 1, 152064, 0x08759342
+0, 122, 122, 1, 152064, 0xa5d06e72
+0, 123, 123, 1, 152064, 0x3b4c537f
+0, 124, 124, 1, 152064, 0x7f48912b
+0, 125, 125, 1, 152064, 0x200dbd1f
+0, 126, 126, 1, 152064, 0x918abfde
+0, 127, 127, 1, 152064, 0xd8072cdf
+0, 128, 128, 1, 152064, 0x89d2902b
+0, 129, 129, 1, 152064, 0xcd2e2e3c
+0, 130, 130, 1, 152064, 0xf343e4a2
+0, 131, 131, 1, 152064, 0xc424acad
+0, 132, 132, 1, 152064, 0xf71e3031
+0, 133, 133, 1, 152064, 0xf1bc1179
+0, 134, 134, 1, 152064, 0x9af58d24
+0, 135, 135, 1, 152064, 0x48a4d01e
+0, 136, 136, 1, 152064, 0xcf24f721
+0, 137, 137, 1, 152064, 0x5bc7b4f3
+0, 138, 138, 1, 152064, 0x8763fc59
+0, 139, 139, 1, 152064, 0xb6954051
+0, 140, 140, 1, 152064, 0x044ba446
+0, 141, 141, 1, 152064, 0xdaaaee7e
+0, 142, 142, 1, 152064, 0x8eac550d
+0, 143, 143, 1, 152064, 0x5191d08c
+0, 144, 144, 1, 152064, 0x3cd76d43
+0, 145, 145, 1, 152064, 0xf01f8fa9
+0, 146, 146, 1, 152064, 0x0e283e9b
+0, 147, 147, 1, 152064, 0x7cef69ee
+0, 148, 148, 1, 152064, 0xc8e332bc
+0, 149, 149, 1, 152064, 0x5b1aa484
+0, 150, 150, 1, 152064, 0x3975234f
+0, 151, 151, 1, 152064, 0x52b8661e
+0, 152, 152, 1, 152064, 0xb4b8fed8
+0, 153, 153, 1, 152064, 0x5aff9f70
+0, 154, 154, 1, 152064, 0x7b575735
+0, 155, 155, 1, 152064, 0x77d51523
+0, 156, 156, 1, 152064, 0xf5131eba
+0, 157, 157, 1, 152064, 0x4bd2b1ad
+0, 158, 158, 1, 152064, 0xccfc8dca
+0, 159, 159, 1, 152064, 0xcf245472
+0, 160, 160, 1, 152064, 0xe055adf5
+0, 161, 161, 1, 152064, 0x2a90e171
+0, 162, 162, 1, 152064, 0x1bd8ea64
+0, 163, 163, 1, 152064, 0x32f1d794
+0, 164, 164, 1, 152064, 0xc938c42a
+0, 165, 165, 1, 152064, 0x12b5644f
+0, 166, 166, 1, 152064, 0x99003711
+0, 167, 167, 1, 152064, 0xaecfad1c
+0, 168, 168, 1, 152064, 0x94b00ae1
+0, 169, 169, 1, 152064, 0xbb4f982f
+0, 170, 170, 1, 152064, 0x6f7f5dc1
+0, 171, 171, 1, 152064, 0x7be7c2cb
+0, 172, 172, 1, 152064, 0x3b2ee4d3
+0, 173, 173, 1, 152064, 0xc75f5666
+0, 174, 174, 1, 152064, 0xff7a3ede
+0, 175, 175, 1, 152064, 0x55866b59
+0, 176, 176, 1, 152064, 0x408b8455
+0, 177, 177, 1, 152064, 0x96c4ab66
+0, 178, 178, 1, 152064, 0x1d87f575
+0, 179, 179, 1, 152064, 0x3a3b17ac
+0, 180, 180, 1, 152064, 0x9c99e591
+0, 181, 181, 1, 152064, 0xc1fc663d
+0, 182, 182, 1, 152064, 0x17b982dd
+0, 183, 183, 1, 152064, 0x24fe9dad
+0, 184, 184, 1, 152064, 0xea8760ee
+0, 185, 185, 1, 152064, 0x23dcefad
+0, 186, 186, 1, 152064, 0xee6d23f0
+0, 187, 187, 1, 152064, 0xfddc1962
+0, 188, 188, 1, 152064, 0xb23190df
+0, 189, 189, 1, 152064, 0xf066a595
+0, 190, 190, 1, 152064, 0x2200fef8
+0, 191, 191, 1, 152064, 0x5491ab2f
+0, 192, 192, 1, 152064, 0xea93fa58
+0, 193, 193, 1, 152064, 0x3e13d4f4
+0, 194, 194, 1, 152064, 0x3dda841d
+0, 195, 195, 1, 152064, 0xfc243577
+0, 196, 196, 1, 152064, 0xca4a9127
+0, 197, 197, 1, 152064, 0x41908ec0
+0, 198, 198, 1, 152064, 0x10a758bd
+0, 199, 199, 1, 152064, 0x6a849e5b
+0, 200, 200, 1, 152064, 0xb55a1f2b
+0, 201, 201, 1, 152064, 0x2bfe9627
+0, 202, 202, 1, 152064, 0x2bfca28c
+0, 203, 203, 1, 152064, 0xd166f336
+0, 204, 204, 1, 152064, 0x9facb32b
+0, 205, 205, 1, 152064, 0x6a672475
+0, 206, 206, 1, 152064, 0xc7b219cf
+0, 207, 207, 1, 152064, 0x2b43ca53
+0, 208, 208, 1, 152064, 0x43b542c4
+0, 209, 209, 1, 152064, 0xdc654337
+0, 210, 210, 1, 152064, 0x68003d7c
+0, 211, 211, 1, 152064, 0x3cb85724
+0, 212, 212, 1, 152064, 0x422701c2
+0, 213, 213, 1, 152064, 0x1c667870
+0, 214, 214, 1, 152064, 0x75ef3230
+0, 215, 215, 1, 152064, 0x0ac82643
+0, 216, 216, 1, 152064, 0x3eb3a0be
+0, 217, 217, 1, 152064, 0x482bd77e
+0, 218, 218, 1, 152064, 0xd3ce1171
+0, 219, 219, 1, 152064, 0xeaefc7e4
+0, 220, 220, 1, 152064, 0xa9c67939
+0, 221, 221, 1, 152064, 0x0af0a25b
+0, 222, 222, 1, 152064, 0xd094d95a
+0, 223, 223, 1, 152064, 0xfda42fc6
+0, 224, 224, 1, 152064, 0x4669f952
+0, 225, 225, 1, 152064, 0x52d40e98
+0, 226, 226, 1, 152064, 0x27c36cd1
+0, 227, 227, 1, 152064, 0xa103b6ce
+0, 228, 228, 1, 152064, 0x2be9026d
+0, 229, 229, 1, 152064, 0x2f4ecc59
+0, 230, 230, 1, 152064, 0x53144cef
+0, 231, 231, 1, 152064, 0x15d54fc9
+0, 232, 232, 1, 152064, 0x7e302db7
+0, 233, 233, 1, 152064, 0x82521901
+0, 234, 234, 1, 152064, 0x1123cdb6
+0, 235, 235, 1, 152064, 0x3185878a
+0, 236, 236, 1, 152064, 0xbb294983
+0, 237, 237, 1, 152064, 0x83d9fe66
+0, 238, 238, 1, 152064, 0xede9fb08
+0, 239, 239, 1, 152064, 0xa543b551
+0, 240, 240, 1, 152064, 0x39e82734
+0, 241, 241, 1, 152064, 0xd0447fb5
+0, 242, 242, 1, 152064, 0x8cc6f502
+0, 243, 243, 1, 152064, 0xda8d1da8
+0, 244, 244, 1, 152064, 0xcafdccca
+0, 245, 245, 1, 152064, 0xbf0e04f4
+0, 246, 246, 1, 152064, 0x0c6eefec
+0, 247, 247, 1, 152064, 0xb9026d39
+0, 248, 248, 1, 152064, 0x0121a7a8
+0, 249, 249, 1, 152064, 0x453ebbc6
+0, 250, 250, 1, 152064, 0x14ae15e3
+0, 251, 251, 1, 152064, 0x51d618e1
+0, 252, 252, 1, 152064, 0x2254f452
+0, 253, 253, 1, 152064, 0x8c360633
+0, 254, 254, 1, 152064, 0x8704d9bc
+0, 255, 255, 1, 152064, 0xe5d48301
+0, 256, 256, 1, 152064, 0xf25b7b3f
+0, 257, 257, 1, 152064, 0xd2ad3b73
+0, 258, 258, 1, 152064, 0x53db0387
+0, 259, 259, 1, 152064, 0x2486341c
+0, 260, 260, 1, 152064, 0x4a24570b
+0, 261, 261, 1, 152064, 0x0694620a
+0, 262, 262, 1, 152064, 0xbbc2a302
+0, 263, 263, 1, 152064, 0x08ad9c02
+0, 264, 264, 1, 152064, 0x601a63ab
+0, 265, 265, 1, 152064, 0xe4234a48
+0, 266, 266, 1, 152064, 0x07702235
+0, 267, 267, 1, 152064, 0x719dbecf
+0, 268, 268, 1, 152064, 0xf301a7ad
+0, 269, 269, 1, 152064, 0xf15c70c3
+0, 270, 270, 1, 152064, 0x0ab93386
+0, 271, 271, 1, 152064, 0x99c05adb
+0, 272, 272, 1, 152064, 0x9ed43530
+0, 273, 273, 1, 152064, 0xa2f62122
+0, 274, 274, 1, 152064, 0xf16f4525
+0, 275, 275, 1, 152064, 0xa3403b4a
+0, 276, 276, 1, 152064, 0x95521096
+0, 277, 277, 1, 152064, 0x0d412988
+0, 278, 278, 1, 152064, 0x829e080a
+0, 279, 279, 1, 152064, 0x0805c1b5
+0, 280, 280, 1, 152064, 0xa136be48
+0, 281, 281, 1, 152064, 0x0f8de228
+0, 282, 282, 1, 152064, 0x272cf2d3
+0, 283, 283, 1, 152064, 0xa1df2a5e
+0, 284, 284, 1, 152064, 0xf9db8350
+0, 285, 285, 1, 152064, 0x5536997d
+0, 286, 286, 1, 152064, 0xab83e81e
+0, 287, 287, 1, 152064, 0xec791b49
+0, 288, 288, 1, 152064, 0x04d03e19
+0, 289, 289, 1, 152064, 0xd6a2bd21
+0, 290, 290, 1, 152064, 0x2d35f0aa
+0, 291, 291, 1, 152064, 0x137bf715
+0, 292, 292, 1, 152064, 0x56ef5ae1
+0, 293, 293, 1, 152064, 0x9bb5821e
+0, 294, 294, 1, 152064, 0x533c7fff
+0, 295, 295, 1, 152064, 0x469ad380
+0, 296, 296, 1, 152064, 0x75710e84
+0, 297, 297, 1, 152064, 0xbbd72551
+0, 298, 298, 1, 152064, 0xf1137026
+0, 299, 299, 1, 152064, 0x6238412b
diff --git a/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c b/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
index a67b4baea6..dbfec436bd 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x502ec077
-0, 3600, 152064, 0x84807243
-0, 7200, 152064, 0xd7474a6e
-0, 10800, 152064, 0x793469bb
-0, 14400, 152064, 0xb7a0faf7
-0, 18000, 152064, 0x1d3d3cba
-0, 21600, 152064, 0xb62583de
-0, 25200, 152064, 0xc8422fb1
-0, 28800, 152064, 0x321dc699
-0, 32400, 152064, 0x7a34d350
-0, 36000, 152064, 0xaa4c302d
-0, 39600, 152064, 0x45fa7ab0
-0, 43200, 152064, 0xc7262e41
-0, 46800, 152064, 0x3550000c
-0, 50400, 152064, 0xf4bab54b
-0, 54000, 152064, 0xaccf9c1a
-0, 57600, 152064, 0x9bee20e9
-0, 61200, 152064, 0x47fb7720
-0, 64800, 152064, 0x12c63ffb
-0, 68400, 152064, 0xfa2b8b4d
-0, 72000, 152064, 0x279964bd
-0, 75600, 152064, 0xb8b01c7e
-0, 79200, 152064, 0x816fa010
-0, 82800, 152064, 0x59fe1c8c
-0, 86400, 152064, 0x13393fad
-0, 90000, 152064, 0x991a50a4
-0, 93600, 152064, 0x57df3eb7
-0, 97200, 152064, 0x744371df
-0, 100800, 152064, 0xe9f6d3ff
-0, 104400, 152064, 0xc506fba0
-0, 108000, 152064, 0x6295b90e
-0, 111600, 152064, 0xa19cee2d
-0, 115200, 152064, 0xf8c1b3ca
-0, 118800, 152064, 0x69f68ce0
-0, 122400, 152064, 0x80558bb6
-0, 126000, 152064, 0x27824fa5
-0, 129600, 152064, 0x27c929a1
-0, 133200, 152064, 0xc0fe06d1
-0, 136800, 152064, 0xc52bc58c
-0, 140400, 152064, 0x0a5363c7
-0, 144000, 152064, 0xd0f45a0d
-0, 147600, 152064, 0x274710f9
-0, 151200, 152064, 0x89d2d390
-0, 154800, 152064, 0x12a9bfb0
-0, 158400, 152064, 0x04501a93
-0, 162000, 152064, 0xf92cbbf4
-0, 165600, 152064, 0xf6d1b27d
-0, 169200, 152064, 0xe3e904c3
-0, 172800, 152064, 0x58f8516d
-0, 176400, 152064, 0x70370c2b
-0, 180000, 152064, 0xfeebc88c
-0, 183600, 152064, 0x974c6ed6
-0, 187200, 152064, 0x401bdcf2
-0, 190800, 152064, 0xfe61e278
-0, 194400, 152064, 0x96ba8bb9
-0, 198000, 152064, 0x988492fd
-0, 201600, 152064, 0xd1d913a9
-0, 205200, 152064, 0x6bc46f0e
-0, 208800, 152064, 0x695ef706
-0, 212400, 152064, 0x142045c9
-0, 216000, 152064, 0xb390ed87
-0, 219600, 152064, 0xb9e6d2e5
-0, 223200, 152064, 0xe348797f
-0, 226800, 152064, 0x1cbd29d6
-0, 230400, 152064, 0xbd7dd694
-0, 234000, 152064, 0x516873c3
-0, 237600, 152064, 0x27bba182
-0, 241200, 152064, 0x7541f920
-0, 244800, 152064, 0xfdf67042
-0, 248400, 152064, 0x6c3c7896
-0, 252000, 152064, 0xed86c467
-0, 255600, 152064, 0x4ea83ca2
-0, 259200, 152064, 0xa3e6725b
-0, 262800, 152064, 0x917f5f16
-0, 266400, 152064, 0x8cf2d2e1
-0, 270000, 152064, 0x57a8d116
-0, 273600, 152064, 0x0db267d4
-0, 277200, 152064, 0xce782ac5
-0, 280800, 152064, 0x1c9d8518
-0, 284400, 152064, 0x47598ac7
-0, 288000, 152064, 0xc5033d97
-0, 291600, 152064, 0xd7aaa3a4
-0, 295200, 152064, 0x078afc96
-0, 298800, 152064, 0xc9fe673d
-0, 302400, 152064, 0xe9284066
-0, 306000, 152064, 0xbc570982
-0, 309600, 152064, 0x0aac8574
-0, 313200, 152064, 0x098cbeee
-0, 316800, 152064, 0x19c36a9d
-0, 320400, 152064, 0x8fe4a893
-0, 324000, 152064, 0x0b652f17
-0, 327600, 152064, 0x10f2e6bf
-0, 331200, 152064, 0x7ce5634e
-0, 334800, 152064, 0x8fe4ac6c
-0, 338400, 152064, 0xcaba749e
-0, 342000, 152064, 0x5f8a0d5c
-0, 345600, 152064, 0xcaa66bbc
-0, 349200, 152064, 0xc87ae617
-0, 352800, 152064, 0xe8ef4dd7
-0, 356400, 152064, 0xdfca5a07
-0, 360000, 152064, 0x5f7eab7d
-0, 363600, 152064, 0x8a65ebbb
-0, 367200, 152064, 0x4beab4a0
-0, 370800, 152064, 0xb5e6ab30
-0, 374400, 152064, 0x8fe4f4d4
-0, 378000, 152064, 0x95bde1ca
-0, 381600, 152064, 0xcc5e3a53
-0, 385200, 152064, 0xf09f1dd7
-0, 388800, 152064, 0x10179672
-0, 392400, 152064, 0x4ad16184
-0, 396000, 152064, 0x9efa0e23
-0, 399600, 152064, 0x22f59522
-0, 403200, 152064, 0x4d38f09d
-0, 406800, 152064, 0x4c5ebf56
-0, 410400, 152064, 0xb19d5077
-0, 414000, 152064, 0xa98576b9
-0, 417600, 152064, 0x65324239
-0, 421200, 152064, 0x709e4031
-0, 424800, 152064, 0xf8e81681
-0, 428400, 152064, 0x058514e5
-0, 432000, 152064, 0xd1d1c806
-0, 435600, 152064, 0x0e4dde57
-0, 439200, 152064, 0x49e9c2bb
-0, 442800, 152064, 0x01417ce6
-0, 446400, 152064, 0xda7ebbf1
-0, 450000, 152064, 0xa22906b7
-0, 453600, 152064, 0x32e2df87
-0, 457200, 152064, 0x69917c8f
-0, 460800, 152064, 0xea8ed2cc
-0, 464400, 152064, 0x0b8d57f1
-0, 468000, 152064, 0x5f683bcd
-0, 471600, 152064, 0x5162fe2f
-0, 475200, 152064, 0x49c052f8
-0, 478800, 152064, 0x990b69ba
-0, 482400, 152064, 0xa6d4f99f
-0, 486000, 152064, 0xe79ef4da
-0, 489600, 152064, 0x5e8a3847
-0, 493200, 152064, 0x38b1e75f
-0, 496800, 152064, 0xf5c91bed
-0, 500400, 152064, 0xd59a6d26
-0, 504000, 152064, 0xc361de06
-0, 507600, 152064, 0x63ed2229
-0, 511200, 152064, 0xb8229205
-0, 514800, 152064, 0x7c6619af
-0, 518400, 152064, 0x4126b02f
-0, 522000, 152064, 0x9250b99b
-0, 525600, 152064, 0x589778f9
-0, 529200, 152064, 0xed1fa45b
-0, 532800, 152064, 0x700b6f32
-0, 536400, 152064, 0x0590df55
-0, 540000, 152064, 0x3e9c4018
-0, 543600, 152064, 0x957b8860
-0, 547200, 152064, 0x56161560
-0, 550800, 152064, 0xbc43bc3b
-0, 554400, 152064, 0x508d8632
-0, 558000, 152064, 0xbc5736d8
-0, 561600, 152064, 0xed7d3aef
-0, 565200, 152064, 0x1dcdda9f
-0, 568800, 152064, 0x8ef6d5c9
-0, 572400, 152064, 0x15466acc
-0, 576000, 152064, 0x45d4cf67
-0, 579600, 152064, 0x8c900b9d
-0, 583200, 152064, 0x747006e0
-0, 586800, 152064, 0xac920a0c
-0, 590400, 152064, 0xb8210c27
-0, 594000, 152064, 0x7dbb873a
-0, 597600, 152064, 0x0d4d7584
-0, 601200, 152064, 0xefb3fe60
-0, 604800, 152064, 0x905e2644
-0, 608400, 152064, 0x7c04e534
-0, 612000, 152064, 0x8889972a
-0, 615600, 152064, 0x21c7d8ad
-0, 619200, 152064, 0x1c641176
-0, 622800, 152064, 0xf71489a4
-0, 626400, 152064, 0xd7ac5555
-0, 630000, 152064, 0xb4609c6d
-0, 633600, 152064, 0xf5b2bd5e
-0, 637200, 152064, 0x9f43ce57
-0, 640800, 152064, 0x77642dd3
-0, 644400, 152064, 0x3e79565c
-0, 648000, 152064, 0x95f40b8e
-0, 651600, 152064, 0x3c8ca4d4
-0, 655200, 152064, 0xa02ac497
-0, 658800, 152064, 0x4c93b377
-0, 662400, 152064, 0x55f5ac68
-0, 666000, 152064, 0xf8652eca
-0, 669600, 152064, 0x56e94574
-0, 673200, 152064, 0x6d8302e1
-0, 676800, 152064, 0x29a57061
-0, 680400, 152064, 0x24e4cfdc
-0, 684000, 152064, 0xf5a5d62a
-0, 687600, 152064, 0x998870c1
-0, 691200, 152064, 0xa15b1f4e
-0, 694800, 152064, 0xb0ccb51f
-0, 698400, 152064, 0xeaaf59ab
-0, 702000, 152064, 0x7e2b4fe6
-0, 705600, 152064, 0x72299fea
-0, 709200, 152064, 0x769da8b2
-0, 712800, 152064, 0xefad7ef8
-0, 716400, 152064, 0x24819983
-0, 720000, 152064, 0x2aad32ab
-0, 723600, 152064, 0xc80cac79
-0, 727200, 152064, 0x1659d628
-0, 730800, 152064, 0xef941f66
-0, 734400, 152064, 0x0d7fcdb5
-0, 738000, 152064, 0x7c1853fa
-0, 741600, 152064, 0xb94c4d3c
-0, 745200, 152064, 0xc47adfc2
-0, 748800, 152064, 0x366a6729
-0, 752400, 152064, 0x7eb37b70
-0, 756000, 152064, 0xafd54c27
-0, 759600, 152064, 0x67b18636
-0, 763200, 152064, 0x93b22dcf
-0, 766800, 152064, 0xa64991f1
-0, 770400, 152064, 0xd32a7102
-0, 774000, 152064, 0xff665d1c
-0, 777600, 152064, 0xf107cc31
-0, 781200, 152064, 0xf5b25652
-0, 784800, 152064, 0x8caf783d
-0, 788400, 152064, 0x72f3eb00
-0, 792000, 152064, 0xb5aea5f8
-0, 795600, 152064, 0xee70e870
-0, 799200, 152064, 0x7c3a0156
-0, 802800, 152064, 0x871b6383
-0, 806400, 152064, 0x48d831ff
-0, 810000, 152064, 0xca233913
-0, 813600, 152064, 0xe14bc5eb
-0, 817200, 152064, 0x9b1d27e7
-0, 820800, 152064, 0xfb9637f7
-0, 824400, 152064, 0x0c022157
-0, 828000, 152064, 0x16d35fc9
-0, 831600, 152064, 0x6d935f71
-0, 835200, 152064, 0xae4066fa
-0, 838800, 152064, 0xcef94fdc
-0, 842400, 152064, 0xc234edb9
-0, 846000, 152064, 0x26a4f2e2
-0, 849600, 152064, 0xd29ac23e
-0, 853200, 152064, 0xb7604395
-0, 856800, 152064, 0x408084f6
-0, 860400, 152064, 0x0a02026c
-0, 864000, 152064, 0x78b33c7c
-0, 867600, 152064, 0xcb02b874
-0, 871200, 152064, 0xf566513b
-0, 874800, 152064, 0xb34e52b1
-0, 878400, 152064, 0xf55ff493
-0, 882000, 152064, 0xb0e8282a
-0, 885600, 152064, 0xe9510bbe
-0, 889200, 152064, 0x292e8c5a
-0, 892800, 152064, 0x62b9d2b0
-0, 896400, 152064, 0x3a8cc827
-0, 900000, 152064, 0x25cc465e
-0, 903600, 152064, 0xf2bc32e2
-0, 907200, 152064, 0x6141f914
-0, 910800, 152064, 0x1171256f
-0, 914400, 152064, 0x13cb2ded
-0, 918000, 152064, 0x3d4ca557
-0, 921600, 152064, 0xf2b9e72e
-0, 925200, 152064, 0x03f7547a
-0, 928800, 152064, 0xc7302955
-0, 932400, 152064, 0xe78a46d3
-0, 936000, 152064, 0x3726a270
-0, 939600, 152064, 0x2f65722a
-0, 943200, 152064, 0x55acce40
-0, 946800, 152064, 0xf6fa9db2
-0, 950400, 152064, 0x70a36937
-0, 954000, 152064, 0x9313742d
-0, 957600, 152064, 0x2eb14e53
-0, 961200, 152064, 0x3d47c9c3
-0, 964800, 152064, 0xd0a90348
-0, 968400, 152064, 0x6ad48088
-0, 972000, 152064, 0x68e64738
-0, 975600, 152064, 0x04c3735a
-0, 979200, 152064, 0x51d0593f
-0, 982800, 152064, 0x42cf2b48
-0, 986400, 152064, 0xa5496a0c
-0, 990000, 152064, 0x84c25549
-0, 993600, 152064, 0x96691600
-0, 997200, 152064, 0x423135db
-0, 1000800, 152064, 0x8d2e08b6
-0, 1004400, 152064, 0xaeb4c840
-0, 1008000, 152064, 0xf3e71780
-0, 1011600, 152064, 0x8858228b
-0, 1015200, 152064, 0xf28613f8
-0, 1018800, 152064, 0xb5327882
-0, 1022400, 152064, 0xbb60bb85
-0, 1026000, 152064, 0x345ab1c9
-0, 1029600, 152064, 0x8aac2cba
-0, 1033200, 152064, 0x7ce15b4c
-0, 1036800, 152064, 0xc09c55c0
-0, 1040400, 152064, 0x8482ddd6
-0, 1044000, 152064, 0xab222a13
-0, 1047600, 152064, 0xd39b0dea
-0, 1051200, 152064, 0x6dab6e06
-0, 1054800, 152064, 0xec0891bd
-0, 1058400, 152064, 0x88bd9701
-0, 1062000, 152064, 0xdf13072a
-0, 1065600, 152064, 0x23b33081
-0, 1069200, 152064, 0x63943137
-0, 1072800, 152064, 0xab6a9052
-0, 1076400, 152064, 0x05485494
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x502ec077
+0, 1, 1, 1, 152064, 0x84807243
+0, 2, 2, 1, 152064, 0xd7474a6e
+0, 3, 3, 1, 152064, 0x793469bb
+0, 4, 4, 1, 152064, 0xb7a0faf7
+0, 5, 5, 1, 152064, 0x1d3d3cba
+0, 6, 6, 1, 152064, 0xb62583de
+0, 7, 7, 1, 152064, 0xc8422fb1
+0, 8, 8, 1, 152064, 0x321dc699
+0, 9, 9, 1, 152064, 0x7a34d350
+0, 10, 10, 1, 152064, 0xaa4c302d
+0, 11, 11, 1, 152064, 0x45fa7ab0
+0, 12, 12, 1, 152064, 0xc7262e41
+0, 13, 13, 1, 152064, 0x3550000c
+0, 14, 14, 1, 152064, 0xf4bab54b
+0, 15, 15, 1, 152064, 0xaccf9c1a
+0, 16, 16, 1, 152064, 0x9bee20e9
+0, 17, 17, 1, 152064, 0x47fb7720
+0, 18, 18, 1, 152064, 0x12c63ffb
+0, 19, 19, 1, 152064, 0xfa2b8b4d
+0, 20, 20, 1, 152064, 0x279964bd
+0, 21, 21, 1, 152064, 0xb8b01c7e
+0, 22, 22, 1, 152064, 0x816fa010
+0, 23, 23, 1, 152064, 0x59fe1c8c
+0, 24, 24, 1, 152064, 0x13393fad
+0, 25, 25, 1, 152064, 0x991a50a4
+0, 26, 26, 1, 152064, 0x57df3eb7
+0, 27, 27, 1, 152064, 0x744371df
+0, 28, 28, 1, 152064, 0xe9f6d3ff
+0, 29, 29, 1, 152064, 0xc506fba0
+0, 30, 30, 1, 152064, 0x6295b90e
+0, 31, 31, 1, 152064, 0xa19cee2d
+0, 32, 32, 1, 152064, 0xf8c1b3ca
+0, 33, 33, 1, 152064, 0x69f68ce0
+0, 34, 34, 1, 152064, 0x80558bb6
+0, 35, 35, 1, 152064, 0x27824fa5
+0, 36, 36, 1, 152064, 0x27c929a1
+0, 37, 37, 1, 152064, 0xc0fe06d1
+0, 38, 38, 1, 152064, 0xc52bc58c
+0, 39, 39, 1, 152064, 0x0a5363c7
+0, 40, 40, 1, 152064, 0xd0f45a0d
+0, 41, 41, 1, 152064, 0x274710f9
+0, 42, 42, 1, 152064, 0x89d2d390
+0, 43, 43, 1, 152064, 0x12a9bfb0
+0, 44, 44, 1, 152064, 0x04501a93
+0, 45, 45, 1, 152064, 0xf92cbbf4
+0, 46, 46, 1, 152064, 0xf6d1b27d
+0, 47, 47, 1, 152064, 0xe3e904c3
+0, 48, 48, 1, 152064, 0x58f8516d
+0, 49, 49, 1, 152064, 0x70370c2b
+0, 50, 50, 1, 152064, 0xfeebc88c
+0, 51, 51, 1, 152064, 0x974c6ed6
+0, 52, 52, 1, 152064, 0x401bdcf2
+0, 53, 53, 1, 152064, 0xfe61e278
+0, 54, 54, 1, 152064, 0x96ba8bb9
+0, 55, 55, 1, 152064, 0x988492fd
+0, 56, 56, 1, 152064, 0xd1d913a9
+0, 57, 57, 1, 152064, 0x6bc46f0e
+0, 58, 58, 1, 152064, 0x695ef706
+0, 59, 59, 1, 152064, 0x142045c9
+0, 60, 60, 1, 152064, 0xb390ed87
+0, 61, 61, 1, 152064, 0xb9e6d2e5
+0, 62, 62, 1, 152064, 0xe348797f
+0, 63, 63, 1, 152064, 0x1cbd29d6
+0, 64, 64, 1, 152064, 0xbd7dd694
+0, 65, 65, 1, 152064, 0x516873c3
+0, 66, 66, 1, 152064, 0x27bba182
+0, 67, 67, 1, 152064, 0x7541f920
+0, 68, 68, 1, 152064, 0xfdf67042
+0, 69, 69, 1, 152064, 0x6c3c7896
+0, 70, 70, 1, 152064, 0xed86c467
+0, 71, 71, 1, 152064, 0x4ea83ca2
+0, 72, 72, 1, 152064, 0xa3e6725b
+0, 73, 73, 1, 152064, 0x917f5f16
+0, 74, 74, 1, 152064, 0x8cf2d2e1
+0, 75, 75, 1, 152064, 0x57a8d116
+0, 76, 76, 1, 152064, 0x0db267d4
+0, 77, 77, 1, 152064, 0xce782ac5
+0, 78, 78, 1, 152064, 0x1c9d8518
+0, 79, 79, 1, 152064, 0x47598ac7
+0, 80, 80, 1, 152064, 0xc5033d97
+0, 81, 81, 1, 152064, 0xd7aaa3a4
+0, 82, 82, 1, 152064, 0x078afc96
+0, 83, 83, 1, 152064, 0xc9fe673d
+0, 84, 84, 1, 152064, 0xe9284066
+0, 85, 85, 1, 152064, 0xbc570982
+0, 86, 86, 1, 152064, 0x0aac8574
+0, 87, 87, 1, 152064, 0x098cbeee
+0, 88, 88, 1, 152064, 0x19c36a9d
+0, 89, 89, 1, 152064, 0x8fe4a893
+0, 90, 90, 1, 152064, 0x0b652f17
+0, 91, 91, 1, 152064, 0x10f2e6bf
+0, 92, 92, 1, 152064, 0x7ce5634e
+0, 93, 93, 1, 152064, 0x8fe4ac6c
+0, 94, 94, 1, 152064, 0xcaba749e
+0, 95, 95, 1, 152064, 0x5f8a0d5c
+0, 96, 96, 1, 152064, 0xcaa66bbc
+0, 97, 97, 1, 152064, 0xc87ae617
+0, 98, 98, 1, 152064, 0xe8ef4dd7
+0, 99, 99, 1, 152064, 0xdfca5a07
+0, 100, 100, 1, 152064, 0x5f7eab7d
+0, 101, 101, 1, 152064, 0x8a65ebbb
+0, 102, 102, 1, 152064, 0x4beab4a0
+0, 103, 103, 1, 152064, 0xb5e6ab30
+0, 104, 104, 1, 152064, 0x8fe4f4d4
+0, 105, 105, 1, 152064, 0x95bde1ca
+0, 106, 106, 1, 152064, 0xcc5e3a53
+0, 107, 107, 1, 152064, 0xf09f1dd7
+0, 108, 108, 1, 152064, 0x10179672
+0, 109, 109, 1, 152064, 0x4ad16184
+0, 110, 110, 1, 152064, 0x9efa0e23
+0, 111, 111, 1, 152064, 0x22f59522
+0, 112, 112, 1, 152064, 0x4d38f09d
+0, 113, 113, 1, 152064, 0x4c5ebf56
+0, 114, 114, 1, 152064, 0xb19d5077
+0, 115, 115, 1, 152064, 0xa98576b9
+0, 116, 116, 1, 152064, 0x65324239
+0, 117, 117, 1, 152064, 0x709e4031
+0, 118, 118, 1, 152064, 0xf8e81681
+0, 119, 119, 1, 152064, 0x058514e5
+0, 120, 120, 1, 152064, 0xd1d1c806
+0, 121, 121, 1, 152064, 0x0e4dde57
+0, 122, 122, 1, 152064, 0x49e9c2bb
+0, 123, 123, 1, 152064, 0x01417ce6
+0, 124, 124, 1, 152064, 0xda7ebbf1
+0, 125, 125, 1, 152064, 0xa22906b7
+0, 126, 126, 1, 152064, 0x32e2df87
+0, 127, 127, 1, 152064, 0x69917c8f
+0, 128, 128, 1, 152064, 0xea8ed2cc
+0, 129, 129, 1, 152064, 0x0b8d57f1
+0, 130, 130, 1, 152064, 0x5f683bcd
+0, 131, 131, 1, 152064, 0x5162fe2f
+0, 132, 132, 1, 152064, 0x49c052f8
+0, 133, 133, 1, 152064, 0x990b69ba
+0, 134, 134, 1, 152064, 0xa6d4f99f
+0, 135, 135, 1, 152064, 0xe79ef4da
+0, 136, 136, 1, 152064, 0x5e8a3847
+0, 137, 137, 1, 152064, 0x38b1e75f
+0, 138, 138, 1, 152064, 0xf5c91bed
+0, 139, 139, 1, 152064, 0xd59a6d26
+0, 140, 140, 1, 152064, 0xc361de06
+0, 141, 141, 1, 152064, 0x63ed2229
+0, 142, 142, 1, 152064, 0xb8229205
+0, 143, 143, 1, 152064, 0x7c6619af
+0, 144, 144, 1, 152064, 0x4126b02f
+0, 145, 145, 1, 152064, 0x9250b99b
+0, 146, 146, 1, 152064, 0x589778f9
+0, 147, 147, 1, 152064, 0xed1fa45b
+0, 148, 148, 1, 152064, 0x700b6f32
+0, 149, 149, 1, 152064, 0x0590df55
+0, 150, 150, 1, 152064, 0x3e9c4018
+0, 151, 151, 1, 152064, 0x957b8860
+0, 152, 152, 1, 152064, 0x56161560
+0, 153, 153, 1, 152064, 0xbc43bc3b
+0, 154, 154, 1, 152064, 0x508d8632
+0, 155, 155, 1, 152064, 0xbc5736d8
+0, 156, 156, 1, 152064, 0xed7d3aef
+0, 157, 157, 1, 152064, 0x1dcdda9f
+0, 158, 158, 1, 152064, 0x8ef6d5c9
+0, 159, 159, 1, 152064, 0x15466acc
+0, 160, 160, 1, 152064, 0x45d4cf67
+0, 161, 161, 1, 152064, 0x8c900b9d
+0, 162, 162, 1, 152064, 0x747006e0
+0, 163, 163, 1, 152064, 0xac920a0c
+0, 164, 164, 1, 152064, 0xb8210c27
+0, 165, 165, 1, 152064, 0x7dbb873a
+0, 166, 166, 1, 152064, 0x0d4d7584
+0, 167, 167, 1, 152064, 0xefb3fe60
+0, 168, 168, 1, 152064, 0x905e2644
+0, 169, 169, 1, 152064, 0x7c04e534
+0, 170, 170, 1, 152064, 0x8889972a
+0, 171, 171, 1, 152064, 0x21c7d8ad
+0, 172, 172, 1, 152064, 0x1c641176
+0, 173, 173, 1, 152064, 0xf71489a4
+0, 174, 174, 1, 152064, 0xd7ac5555
+0, 175, 175, 1, 152064, 0xb4609c6d
+0, 176, 176, 1, 152064, 0xf5b2bd5e
+0, 177, 177, 1, 152064, 0x9f43ce57
+0, 178, 178, 1, 152064, 0x77642dd3
+0, 179, 179, 1, 152064, 0x3e79565c
+0, 180, 180, 1, 152064, 0x95f40b8e
+0, 181, 181, 1, 152064, 0x3c8ca4d4
+0, 182, 182, 1, 152064, 0xa02ac497
+0, 183, 183, 1, 152064, 0x4c93b377
+0, 184, 184, 1, 152064, 0x55f5ac68
+0, 185, 185, 1, 152064, 0xf8652eca
+0, 186, 186, 1, 152064, 0x56e94574
+0, 187, 187, 1, 152064, 0x6d8302e1
+0, 188, 188, 1, 152064, 0x29a57061
+0, 189, 189, 1, 152064, 0x24e4cfdc
+0, 190, 190, 1, 152064, 0xf5a5d62a
+0, 191, 191, 1, 152064, 0x998870c1
+0, 192, 192, 1, 152064, 0xa15b1f4e
+0, 193, 193, 1, 152064, 0xb0ccb51f
+0, 194, 194, 1, 152064, 0xeaaf59ab
+0, 195, 195, 1, 152064, 0x7e2b4fe6
+0, 196, 196, 1, 152064, 0x72299fea
+0, 197, 197, 1, 152064, 0x769da8b2
+0, 198, 198, 1, 152064, 0xefad7ef8
+0, 199, 199, 1, 152064, 0x24819983
+0, 200, 200, 1, 152064, 0x2aad32ab
+0, 201, 201, 1, 152064, 0xc80cac79
+0, 202, 202, 1, 152064, 0x1659d628
+0, 203, 203, 1, 152064, 0xef941f66
+0, 204, 204, 1, 152064, 0x0d7fcdb5
+0, 205, 205, 1, 152064, 0x7c1853fa
+0, 206, 206, 1, 152064, 0xb94c4d3c
+0, 207, 207, 1, 152064, 0xc47adfc2
+0, 208, 208, 1, 152064, 0x366a6729
+0, 209, 209, 1, 152064, 0x7eb37b70
+0, 210, 210, 1, 152064, 0xafd54c27
+0, 211, 211, 1, 152064, 0x67b18636
+0, 212, 212, 1, 152064, 0x93b22dcf
+0, 213, 213, 1, 152064, 0xa64991f1
+0, 214, 214, 1, 152064, 0xd32a7102
+0, 215, 215, 1, 152064, 0xff665d1c
+0, 216, 216, 1, 152064, 0xf107cc31
+0, 217, 217, 1, 152064, 0xf5b25652
+0, 218, 218, 1, 152064, 0x8caf783d
+0, 219, 219, 1, 152064, 0x72f3eb00
+0, 220, 220, 1, 152064, 0xb5aea5f8
+0, 221, 221, 1, 152064, 0xee70e870
+0, 222, 222, 1, 152064, 0x7c3a0156
+0, 223, 223, 1, 152064, 0x871b6383
+0, 224, 224, 1, 152064, 0x48d831ff
+0, 225, 225, 1, 152064, 0xca233913
+0, 226, 226, 1, 152064, 0xe14bc5eb
+0, 227, 227, 1, 152064, 0x9b1d27e7
+0, 228, 228, 1, 152064, 0xfb9637f7
+0, 229, 229, 1, 152064, 0x0c022157
+0, 230, 230, 1, 152064, 0x16d35fc9
+0, 231, 231, 1, 152064, 0x6d935f71
+0, 232, 232, 1, 152064, 0xae4066fa
+0, 233, 233, 1, 152064, 0xcef94fdc
+0, 234, 234, 1, 152064, 0xc234edb9
+0, 235, 235, 1, 152064, 0x26a4f2e2
+0, 236, 236, 1, 152064, 0xd29ac23e
+0, 237, 237, 1, 152064, 0xb7604395
+0, 238, 238, 1, 152064, 0x408084f6
+0, 239, 239, 1, 152064, 0x0a02026c
+0, 240, 240, 1, 152064, 0x78b33c7c
+0, 241, 241, 1, 152064, 0xcb02b874
+0, 242, 242, 1, 152064, 0xf566513b
+0, 243, 243, 1, 152064, 0xb34e52b1
+0, 244, 244, 1, 152064, 0xf55ff493
+0, 245, 245, 1, 152064, 0xb0e8282a
+0, 246, 246, 1, 152064, 0xe9510bbe
+0, 247, 247, 1, 152064, 0x292e8c5a
+0, 248, 248, 1, 152064, 0x62b9d2b0
+0, 249, 249, 1, 152064, 0x3a8cc827
+0, 250, 250, 1, 152064, 0x25cc465e
+0, 251, 251, 1, 152064, 0xf2bc32e2
+0, 252, 252, 1, 152064, 0x6141f914
+0, 253, 253, 1, 152064, 0x1171256f
+0, 254, 254, 1, 152064, 0x13cb2ded
+0, 255, 255, 1, 152064, 0x3d4ca557
+0, 256, 256, 1, 152064, 0xf2b9e72e
+0, 257, 257, 1, 152064, 0x03f7547a
+0, 258, 258, 1, 152064, 0xc7302955
+0, 259, 259, 1, 152064, 0xe78a46d3
+0, 260, 260, 1, 152064, 0x3726a270
+0, 261, 261, 1, 152064, 0x2f65722a
+0, 262, 262, 1, 152064, 0x55acce40
+0, 263, 263, 1, 152064, 0xf6fa9db2
+0, 264, 264, 1, 152064, 0x70a36937
+0, 265, 265, 1, 152064, 0x9313742d
+0, 266, 266, 1, 152064, 0x2eb14e53
+0, 267, 267, 1, 152064, 0x3d47c9c3
+0, 268, 268, 1, 152064, 0xd0a90348
+0, 269, 269, 1, 152064, 0x6ad48088
+0, 270, 270, 1, 152064, 0x68e64738
+0, 271, 271, 1, 152064, 0x04c3735a
+0, 272, 272, 1, 152064, 0x51d0593f
+0, 273, 273, 1, 152064, 0x42cf2b48
+0, 274, 274, 1, 152064, 0xa5496a0c
+0, 275, 275, 1, 152064, 0x84c25549
+0, 276, 276, 1, 152064, 0x96691600
+0, 277, 277, 1, 152064, 0x423135db
+0, 278, 278, 1, 152064, 0x8d2e08b6
+0, 279, 279, 1, 152064, 0xaeb4c840
+0, 280, 280, 1, 152064, 0xf3e71780
+0, 281, 281, 1, 152064, 0x8858228b
+0, 282, 282, 1, 152064, 0xf28613f8
+0, 283, 283, 1, 152064, 0xb5327882
+0, 284, 284, 1, 152064, 0xbb60bb85
+0, 285, 285, 1, 152064, 0x345ab1c9
+0, 286, 286, 1, 152064, 0x8aac2cba
+0, 287, 287, 1, 152064, 0x7ce15b4c
+0, 288, 288, 1, 152064, 0xc09c55c0
+0, 289, 289, 1, 152064, 0x8482ddd6
+0, 290, 290, 1, 152064, 0xab222a13
+0, 291, 291, 1, 152064, 0xd39b0dea
+0, 292, 292, 1, 152064, 0x6dab6e06
+0, 293, 293, 1, 152064, 0xec0891bd
+0, 294, 294, 1, 152064, 0x88bd9701
+0, 295, 295, 1, 152064, 0xdf13072a
+0, 296, 296, 1, 152064, 0x23b33081
+0, 297, 297, 1, 152064, 0x63943137
+0, 298, 298, 1, 152064, 0xab6a9052
+0, 299, 299, 1, 152064, 0x05485494
diff --git a/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c b/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
index 97d7677085..65a366e0cb 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x3e39c08b
-0, 3600, 152064, 0xabc67990
-0, 7200, 152064, 0x19614e74
-0, 10800, 152064, 0xa3776beb
-0, 14400, 152064, 0xcce6ffdf
-0, 18000, 152064, 0xb0e94746
-0, 21600, 152064, 0xdb1a84ef
-0, 25200, 152064, 0xb2624509
-0, 28800, 152064, 0x32e2d826
-0, 32400, 152064, 0xb3bddf0b
-0, 36000, 152064, 0x2e273ce3
-0, 39600, 152064, 0x67af7e4d
-0, 43200, 152064, 0x505c3261
-0, 46800, 152064, 0xa43d015e
-0, 50400, 152064, 0xad41c1f6
-0, 54000, 152064, 0x633ba55f
-0, 57600, 152064, 0xe80634f0
-0, 61200, 152064, 0x80a07dc9
-0, 64800, 152064, 0x0e7a3bbf
-0, 68400, 152064, 0xcb099196
-0, 72000, 152064, 0x57c96db5
-0, 75600, 152064, 0xccd422fa
-0, 79200, 152064, 0x0850b7a7
-0, 82800, 152064, 0x30e33156
-0, 86400, 152064, 0x34e13f9a
-0, 90000, 152064, 0x03d36000
-0, 93600, 152064, 0xbf7d49da
-0, 97200, 152064, 0x77336d09
-0, 100800, 152064, 0xca8be5a9
-0, 104400, 152064, 0xe57c0b08
-0, 108000, 152064, 0xbe77c093
-0, 111600, 152064, 0x6bf1ff05
-0, 115200, 152064, 0x9142babf
-0, 118800, 152064, 0x08db8e67
-0, 122400, 152064, 0x69ac8cb6
-0, 126000, 152064, 0xaa3b5c88
-0, 129600, 152064, 0x9bd32638
-0, 133200, 152064, 0x7972115a
-0, 136800, 152064, 0x5c1dd47b
-0, 140400, 152064, 0x8a196e02
-0, 144000, 152064, 0xa89672bc
-0, 147600, 152064, 0x27b220e4
-0, 151200, 152064, 0xfa38dc4a
-0, 154800, 152064, 0x4784c639
-0, 158400, 152064, 0xa5e4229a
-0, 162000, 152064, 0xa986bdfc
-0, 165600, 152064, 0x2951b47b
-0, 169200, 152064, 0x4df404a6
-0, 172800, 152064, 0xc75155e8
-0, 176400, 152064, 0xfc05248c
-0, 180000, 152064, 0x5d53da10
-0, 183600, 152064, 0x284376ec
-0, 187200, 152064, 0x19fce380
-0, 190800, 152064, 0x876be6c9
-0, 194400, 152064, 0x39eb8ff9
-0, 198000, 152064, 0x289c9543
-0, 201600, 152064, 0x24dd2356
-0, 205200, 152064, 0x1dc17d3c
-0, 208800, 152064, 0xd17c00ac
-0, 212400, 152064, 0xc2ad54de
-0, 216000, 152064, 0xbe11ee2f
-0, 219600, 152064, 0x3db9dc89
-0, 223200, 152064, 0xac0d7bc2
-0, 226800, 152064, 0x8dab2dde
-0, 230400, 152064, 0x566ad225
-0, 234000, 152064, 0x587c7853
-0, 237600, 152064, 0x601c9c80
-0, 241200, 152064, 0x2afaf751
-0, 244800, 152064, 0x1c9f7e3a
-0, 248400, 152064, 0x899475bf
-0, 252000, 152064, 0x0d65c7d9
-0, 255600, 152064, 0xafd63d12
-0, 259200, 152064, 0x162e62b9
-0, 262800, 152064, 0x5c9554be
-0, 266400, 152064, 0x35fbdaa2
-0, 270000, 152064, 0x6438cbd8
-0, 273600, 152064, 0xde0772c9
-0, 277200, 152064, 0x79f82854
-0, 280800, 152064, 0x86957840
-0, 284400, 152064, 0xd9468cbf
-0, 288000, 152064, 0x23e74609
-0, 291600, 152064, 0x3919a146
-0, 295200, 152064, 0xd641078b
-0, 298800, 152064, 0x24397220
-0, 302400, 152064, 0xe7fc3a7c
-0, 306000, 152064, 0x3997154a
-0, 309600, 152064, 0x2af3952c
-0, 313200, 152064, 0x274ac07a
-0, 316800, 152064, 0x288f7b09
-0, 320400, 152064, 0xe6f9b022
-0, 324000, 152064, 0xf09e2fbb
-0, 327600, 152064, 0x7244e477
-0, 331200, 152064, 0x0dfc72eb
-0, 334800, 152064, 0x0322b21f
-0, 338400, 152064, 0x18b08205
-0, 342000, 152064, 0x6606153e
-0, 345600, 152064, 0x85186272
-0, 349200, 152064, 0x3369f064
-0, 352800, 152064, 0xbe0d5a44
-0, 356400, 152064, 0x320258bb
-0, 360000, 152064, 0x4d6fb091
-0, 363600, 152064, 0xc9bbf5e7
-0, 367200, 152064, 0x0aa1b69b
-0, 370800, 152064, 0x85b9ac11
-0, 374400, 152064, 0xb25ff818
-0, 378000, 152064, 0xa155dc25
-0, 381600, 152064, 0xa8e03bfd
-0, 385200, 152064, 0x0a862956
-0, 388800, 152064, 0x11b49264
-0, 392400, 152064, 0xa94e664e
-0, 396000, 152064, 0x330e0fa2
-0, 399600, 152064, 0xaf3d9518
-0, 403200, 152064, 0x0836f2e8
-0, 406800, 152064, 0xbf6dc578
-0, 410400, 152064, 0x7b524d20
-0, 414000, 152064, 0x9ef7677f
-0, 417600, 152064, 0xeacf3f34
-0, 421200, 152064, 0xfb4e3dbe
-0, 424800, 152064, 0xb46e25cb
-0, 428400, 152064, 0x363c1603
-0, 432000, 152064, 0x263fc542
-0, 435600, 152064, 0xf106e548
-0, 439200, 152064, 0xde43c56a
-0, 442800, 152064, 0xc2c4770a
-0, 446400, 152064, 0x122fce19
-0, 450000, 152064, 0x3ba01434
-0, 453600, 152064, 0x0e8ce5ee
-0, 457200, 152064, 0x6ceb82e1
-0, 460800, 152064, 0xa23ee21c
-0, 464400, 152064, 0xc6d960f9
-0, 468000, 152064, 0x0de15258
-0, 471600, 152064, 0x187b0333
-0, 475200, 152064, 0x92e6582f
-0, 478800, 152064, 0xb9586ce0
-0, 482400, 152064, 0xefd803b5
-0, 486000, 152064, 0x24eafb29
-0, 489600, 152064, 0x20c73b14
-0, 493200, 152064, 0xbd7ceaaa
-0, 496800, 152064, 0x775216c8
-0, 500400, 152064, 0xa08971c7
-0, 504000, 152064, 0xef0ee865
-0, 507600, 152064, 0x9ac61c2f
-0, 511200, 152064, 0x52ae8ea9
-0, 514800, 152064, 0x06571c14
-0, 518400, 152064, 0x6e78ad33
-0, 522000, 152064, 0xad01c627
-0, 525600, 152064, 0xbfe074d3
-0, 529200, 152064, 0x9357a183
-0, 532800, 152064, 0x8de7767f
-0, 536400, 152064, 0xa5e6e76e
-0, 540000, 152064, 0xa6f646fe
-0, 543600, 152064, 0x132e99f8
-0, 547200, 152064, 0xb79f27de
-0, 550800, 152064, 0x36d3cdcf
-0, 554400, 152064, 0xdc938336
-0, 558000, 152064, 0xacaa3a7f
-0, 561600, 152064, 0xc61a37fd
-0, 565200, 152064, 0x4fe1ddf0
-0, 568800, 152064, 0xc0f7d660
-0, 572400, 152064, 0xd72458ea
-0, 576000, 152064, 0x6978d123
-0, 579600, 152064, 0x64e60ccf
-0, 583200, 152064, 0xaa07004c
-0, 586800, 152064, 0x07cd1064
-0, 590400, 152064, 0xa82320e5
-0, 594000, 152064, 0xaedd8d30
-0, 597600, 152064, 0x79b082ea
-0, 601200, 152064, 0x9ed800ab
-0, 604800, 152064, 0xde592bb4
-0, 608400, 152064, 0xd966df88
-0, 612000, 152064, 0xf921988a
-0, 615600, 152064, 0x557ad9ae
-0, 619200, 152064, 0xc3f31a9a
-0, 622800, 152064, 0x65248561
-0, 626400, 152064, 0x63df4aa6
-0, 630000, 152064, 0x618da0a9
-0, 633600, 152064, 0xe6f1c435
-0, 637200, 152064, 0x9f90c38f
-0, 640800, 152064, 0xd2853e14
-0, 644400, 152064, 0x6e0268a9
-0, 648000, 152064, 0x393712d1
-0, 651600, 152064, 0x470da25f
-0, 655200, 152064, 0xaf55cb3d
-0, 658800, 152064, 0x6935b8b9
-0, 662400, 152064, 0x5409a15f
-0, 666000, 152064, 0x09073fee
-0, 669600, 152064, 0xfb274e82
-0, 673200, 152064, 0x1a770581
-0, 676800, 152064, 0x17277d0d
-0, 680400, 152064, 0xd4dcd982
-0, 684000, 152064, 0x6b04eaf3
-0, 687600, 152064, 0x8a3d822e
-0, 691200, 152064, 0x1b971ec9
-0, 694800, 152064, 0x14e0c0f6
-0, 698400, 152064, 0x00667450
-0, 702000, 152064, 0xd2385902
-0, 705600, 152064, 0x905da6ab
-0, 709200, 152064, 0xa3ffb18b
-0, 712800, 152064, 0x10d48b19
-0, 716400, 152064, 0xb2c7a3bd
-0, 720000, 152064, 0x45593e96
-0, 723600, 152064, 0x47a0b60c
-0, 727200, 152064, 0x68c6d1b9
-0, 730800, 152064, 0xbc881fcc
-0, 734400, 152064, 0x422cc6f2
-0, 738000, 152064, 0x9b686410
-0, 741600, 152064, 0x35dc5e86
-0, 745200, 152064, 0x247bedaa
-0, 748800, 152064, 0x22b76fd1
-0, 752400, 152064, 0x67cc7a75
-0, 756000, 152064, 0xa197521e
-0, 759600, 152064, 0x428c8662
-0, 763200, 152064, 0x33dc2c73
-0, 766800, 152064, 0x5b538903
-0, 770400, 152064, 0x3c4176b6
-0, 774000, 152064, 0x774364ba
-0, 777600, 152064, 0xf237d03e
-0, 781200, 152064, 0xac8746fb
-0, 784800, 152064, 0x6b306a84
-0, 788400, 152064, 0xa2ace513
-0, 792000, 152064, 0x709c9be7
-0, 795600, 152064, 0x2403f373
-0, 799200, 152064, 0x147bf717
-0, 802800, 152064, 0xe58964c8
-0, 806400, 152064, 0xa0da36fc
-0, 810000, 152064, 0x1ac1355c
-0, 813600, 152064, 0x8a31c9f2
-0, 817200, 152064, 0x42ba205c
-0, 820800, 152064, 0xa11b3575
-0, 824400, 152064, 0xcb35207c
-0, 828000, 152064, 0x528f6189
-0, 831600, 152064, 0x34f05bd7
-0, 835200, 152064, 0x72317356
-0, 838800, 152064, 0xaabd5028
-0, 842400, 152064, 0x13dbeb7b
-0, 846000, 152064, 0x62f1e8a8
-0, 849600, 152064, 0x1723bfcd
-0, 853200, 152064, 0x5c083c00
-0, 856800, 152064, 0x52137894
-0, 860400, 152064, 0xef1e082c
-0, 864000, 152064, 0x664b3d53
-0, 867600, 152064, 0x2eb9b296
-0, 871200, 152064, 0xd0ca511e
-0, 874800, 152064, 0x012d4724
-0, 878400, 152064, 0xa847f5af
-0, 882000, 152064, 0x483a2fde
-0, 885600, 152064, 0xd1ab0257
-0, 889200, 152064, 0x414692c7
-0, 892800, 152064, 0x0b79df88
-0, 896400, 152064, 0xdaa2c4a3
-0, 900000, 152064, 0xd1b44500
-0, 903600, 152064, 0xfd3d2cf3
-0, 907200, 152064, 0xfdc0f748
-0, 910800, 152064, 0xce762a2a
-0, 914400, 152064, 0x08b63572
-0, 918000, 152064, 0x5a46a38d
-0, 921600, 152064, 0x03cee9c0
-0, 925200, 152064, 0x9ee45473
-0, 928800, 152064, 0x5a432386
-0, 932400, 152064, 0x54c83d87
-0, 936000, 152064, 0xc9caa1de
-0, 939600, 152064, 0xa28367f1
-0, 943200, 152064, 0x2607cdf1
-0, 946800, 152064, 0x06baa8de
-0, 950400, 152064, 0xf5346e32
-0, 954000, 152064, 0x6d3e732b
-0, 957600, 152064, 0x798c584b
-0, 961200, 152064, 0x4076c948
-0, 964800, 152064, 0x868cf63a
-0, 968400, 152064, 0x23107ac5
-0, 972000, 152064, 0x306f3fe2
-0, 975600, 152064, 0xbd1d71d6
-0, 979200, 152064, 0x1429545f
-0, 982800, 152064, 0xaded29aa
-0, 986400, 152064, 0x9b455a94
-0, 990000, 152064, 0xb3774ce7
-0, 993600, 152064, 0x92580986
-0, 997200, 152064, 0x0eae2f95
-0, 1000800, 152064, 0x599208b2
-0, 1004400, 152064, 0x4804c04c
-0, 1008000, 152064, 0x5f730e8f
-0, 1011600, 152064, 0x3e501d1e
-0, 1015200, 152064, 0x32100740
-0, 1018800, 152064, 0x62226ff8
-0, 1022400, 152064, 0x7683b622
-0, 1026000, 152064, 0xc3e0aec1
-0, 1029600, 152064, 0xfac12608
-0, 1033200, 152064, 0xb21a5781
-0, 1036800, 152064, 0x8f1e4964
-0, 1040400, 152064, 0x0f62dd6e
-0, 1044000, 152064, 0xac062ac4
-0, 1047600, 152064, 0x1b320f7a
-0, 1051200, 152064, 0x346e7211
-0, 1054800, 152064, 0xe47592f3
-0, 1058400, 152064, 0xa3a7919c
-0, 1062000, 152064, 0xa3580fa6
-0, 1065600, 152064, 0xc73430c1
-0, 1069200, 152064, 0x994a2c18
-0, 1072800, 152064, 0x0b5d8d45
-0, 1076400, 152064, 0x9eed5109
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x3e39c08b
+0, 1, 1, 1, 152064, 0xabc67990
+0, 2, 2, 1, 152064, 0x19614e74
+0, 3, 3, 1, 152064, 0xa3776beb
+0, 4, 4, 1, 152064, 0xcce6ffdf
+0, 5, 5, 1, 152064, 0xb0e94746
+0, 6, 6, 1, 152064, 0xdb1a84ef
+0, 7, 7, 1, 152064, 0xb2624509
+0, 8, 8, 1, 152064, 0x32e2d826
+0, 9, 9, 1, 152064, 0xb3bddf0b
+0, 10, 10, 1, 152064, 0x2e273ce3
+0, 11, 11, 1, 152064, 0x67af7e4d
+0, 12, 12, 1, 152064, 0x505c3261
+0, 13, 13, 1, 152064, 0xa43d015e
+0, 14, 14, 1, 152064, 0xad41c1f6
+0, 15, 15, 1, 152064, 0x633ba55f
+0, 16, 16, 1, 152064, 0xe80634f0
+0, 17, 17, 1, 152064, 0x80a07dc9
+0, 18, 18, 1, 152064, 0x0e7a3bbf
+0, 19, 19, 1, 152064, 0xcb099196
+0, 20, 20, 1, 152064, 0x57c96db5
+0, 21, 21, 1, 152064, 0xccd422fa
+0, 22, 22, 1, 152064, 0x0850b7a7
+0, 23, 23, 1, 152064, 0x30e33156
+0, 24, 24, 1, 152064, 0x34e13f9a
+0, 25, 25, 1, 152064, 0x03d36000
+0, 26, 26, 1, 152064, 0xbf7d49da
+0, 27, 27, 1, 152064, 0x77336d09
+0, 28, 28, 1, 152064, 0xca8be5a9
+0, 29, 29, 1, 152064, 0xe57c0b08
+0, 30, 30, 1, 152064, 0xbe77c093
+0, 31, 31, 1, 152064, 0x6bf1ff05
+0, 32, 32, 1, 152064, 0x9142babf
+0, 33, 33, 1, 152064, 0x08db8e67
+0, 34, 34, 1, 152064, 0x69ac8cb6
+0, 35, 35, 1, 152064, 0xaa3b5c88
+0, 36, 36, 1, 152064, 0x9bd32638
+0, 37, 37, 1, 152064, 0x7972115a
+0, 38, 38, 1, 152064, 0x5c1dd47b
+0, 39, 39, 1, 152064, 0x8a196e02
+0, 40, 40, 1, 152064, 0xa89672bc
+0, 41, 41, 1, 152064, 0x27b220e4
+0, 42, 42, 1, 152064, 0xfa38dc4a
+0, 43, 43, 1, 152064, 0x4784c639
+0, 44, 44, 1, 152064, 0xa5e4229a
+0, 45, 45, 1, 152064, 0xa986bdfc
+0, 46, 46, 1, 152064, 0x2951b47b
+0, 47, 47, 1, 152064, 0x4df404a6
+0, 48, 48, 1, 152064, 0xc75155e8
+0, 49, 49, 1, 152064, 0xfc05248c
+0, 50, 50, 1, 152064, 0x5d53da10
+0, 51, 51, 1, 152064, 0x284376ec
+0, 52, 52, 1, 152064, 0x19fce380
+0, 53, 53, 1, 152064, 0x876be6c9
+0, 54, 54, 1, 152064, 0x39eb8ff9
+0, 55, 55, 1, 152064, 0x289c9543
+0, 56, 56, 1, 152064, 0x24dd2356
+0, 57, 57, 1, 152064, 0x1dc17d3c
+0, 58, 58, 1, 152064, 0xd17c00ac
+0, 59, 59, 1, 152064, 0xc2ad54de
+0, 60, 60, 1, 152064, 0xbe11ee2f
+0, 61, 61, 1, 152064, 0x3db9dc89
+0, 62, 62, 1, 152064, 0xac0d7bc2
+0, 63, 63, 1, 152064, 0x8dab2dde
+0, 64, 64, 1, 152064, 0x566ad225
+0, 65, 65, 1, 152064, 0x587c7853
+0, 66, 66, 1, 152064, 0x601c9c80
+0, 67, 67, 1, 152064, 0x2afaf751
+0, 68, 68, 1, 152064, 0x1c9f7e3a
+0, 69, 69, 1, 152064, 0x899475bf
+0, 70, 70, 1, 152064, 0x0d65c7d9
+0, 71, 71, 1, 152064, 0xafd63d12
+0, 72, 72, 1, 152064, 0x162e62b9
+0, 73, 73, 1, 152064, 0x5c9554be
+0, 74, 74, 1, 152064, 0x35fbdaa2
+0, 75, 75, 1, 152064, 0x6438cbd8
+0, 76, 76, 1, 152064, 0xde0772c9
+0, 77, 77, 1, 152064, 0x79f82854
+0, 78, 78, 1, 152064, 0x86957840
+0, 79, 79, 1, 152064, 0xd9468cbf
+0, 80, 80, 1, 152064, 0x23e74609
+0, 81, 81, 1, 152064, 0x3919a146
+0, 82, 82, 1, 152064, 0xd641078b
+0, 83, 83, 1, 152064, 0x24397220
+0, 84, 84, 1, 152064, 0xe7fc3a7c
+0, 85, 85, 1, 152064, 0x3997154a
+0, 86, 86, 1, 152064, 0x2af3952c
+0, 87, 87, 1, 152064, 0x274ac07a
+0, 88, 88, 1, 152064, 0x288f7b09
+0, 89, 89, 1, 152064, 0xe6f9b022
+0, 90, 90, 1, 152064, 0xf09e2fbb
+0, 91, 91, 1, 152064, 0x7244e477
+0, 92, 92, 1, 152064, 0x0dfc72eb
+0, 93, 93, 1, 152064, 0x0322b21f
+0, 94, 94, 1, 152064, 0x18b08205
+0, 95, 95, 1, 152064, 0x6606153e
+0, 96, 96, 1, 152064, 0x85186272
+0, 97, 97, 1, 152064, 0x3369f064
+0, 98, 98, 1, 152064, 0xbe0d5a44
+0, 99, 99, 1, 152064, 0x320258bb
+0, 100, 100, 1, 152064, 0x4d6fb091
+0, 101, 101, 1, 152064, 0xc9bbf5e7
+0, 102, 102, 1, 152064, 0x0aa1b69b
+0, 103, 103, 1, 152064, 0x85b9ac11
+0, 104, 104, 1, 152064, 0xb25ff818
+0, 105, 105, 1, 152064, 0xa155dc25
+0, 106, 106, 1, 152064, 0xa8e03bfd
+0, 107, 107, 1, 152064, 0x0a862956
+0, 108, 108, 1, 152064, 0x11b49264
+0, 109, 109, 1, 152064, 0xa94e664e
+0, 110, 110, 1, 152064, 0x330e0fa2
+0, 111, 111, 1, 152064, 0xaf3d9518
+0, 112, 112, 1, 152064, 0x0836f2e8
+0, 113, 113, 1, 152064, 0xbf6dc578
+0, 114, 114, 1, 152064, 0x7b524d20
+0, 115, 115, 1, 152064, 0x9ef7677f
+0, 116, 116, 1, 152064, 0xeacf3f34
+0, 117, 117, 1, 152064, 0xfb4e3dbe
+0, 118, 118, 1, 152064, 0xb46e25cb
+0, 119, 119, 1, 152064, 0x363c1603
+0, 120, 120, 1, 152064, 0x263fc542
+0, 121, 121, 1, 152064, 0xf106e548
+0, 122, 122, 1, 152064, 0xde43c56a
+0, 123, 123, 1, 152064, 0xc2c4770a
+0, 124, 124, 1, 152064, 0x122fce19
+0, 125, 125, 1, 152064, 0x3ba01434
+0, 126, 126, 1, 152064, 0x0e8ce5ee
+0, 127, 127, 1, 152064, 0x6ceb82e1
+0, 128, 128, 1, 152064, 0xa23ee21c
+0, 129, 129, 1, 152064, 0xc6d960f9
+0, 130, 130, 1, 152064, 0x0de15258
+0, 131, 131, 1, 152064, 0x187b0333
+0, 132, 132, 1, 152064, 0x92e6582f
+0, 133, 133, 1, 152064, 0xb9586ce0
+0, 134, 134, 1, 152064, 0xefd803b5
+0, 135, 135, 1, 152064, 0x24eafb29
+0, 136, 136, 1, 152064, 0x20c73b14
+0, 137, 137, 1, 152064, 0xbd7ceaaa
+0, 138, 138, 1, 152064, 0x775216c8
+0, 139, 139, 1, 152064, 0xa08971c7
+0, 140, 140, 1, 152064, 0xef0ee865
+0, 141, 141, 1, 152064, 0x9ac61c2f
+0, 142, 142, 1, 152064, 0x52ae8ea9
+0, 143, 143, 1, 152064, 0x06571c14
+0, 144, 144, 1, 152064, 0x6e78ad33
+0, 145, 145, 1, 152064, 0xad01c627
+0, 146, 146, 1, 152064, 0xbfe074d3
+0, 147, 147, 1, 152064, 0x9357a183
+0, 148, 148, 1, 152064, 0x8de7767f
+0, 149, 149, 1, 152064, 0xa5e6e76e
+0, 150, 150, 1, 152064, 0xa6f646fe
+0, 151, 151, 1, 152064, 0x132e99f8
+0, 152, 152, 1, 152064, 0xb79f27de
+0, 153, 153, 1, 152064, 0x36d3cdcf
+0, 154, 154, 1, 152064, 0xdc938336
+0, 155, 155, 1, 152064, 0xacaa3a7f
+0, 156, 156, 1, 152064, 0xc61a37fd
+0, 157, 157, 1, 152064, 0x4fe1ddf0
+0, 158, 158, 1, 152064, 0xc0f7d660
+0, 159, 159, 1, 152064, 0xd72458ea
+0, 160, 160, 1, 152064, 0x6978d123
+0, 161, 161, 1, 152064, 0x64e60ccf
+0, 162, 162, 1, 152064, 0xaa07004c
+0, 163, 163, 1, 152064, 0x07cd1064
+0, 164, 164, 1, 152064, 0xa82320e5
+0, 165, 165, 1, 152064, 0xaedd8d30
+0, 166, 166, 1, 152064, 0x79b082ea
+0, 167, 167, 1, 152064, 0x9ed800ab
+0, 168, 168, 1, 152064, 0xde592bb4
+0, 169, 169, 1, 152064, 0xd966df88
+0, 170, 170, 1, 152064, 0xf921988a
+0, 171, 171, 1, 152064, 0x557ad9ae
+0, 172, 172, 1, 152064, 0xc3f31a9a
+0, 173, 173, 1, 152064, 0x65248561
+0, 174, 174, 1, 152064, 0x63df4aa6
+0, 175, 175, 1, 152064, 0x618da0a9
+0, 176, 176, 1, 152064, 0xe6f1c435
+0, 177, 177, 1, 152064, 0x9f90c38f
+0, 178, 178, 1, 152064, 0xd2853e14
+0, 179, 179, 1, 152064, 0x6e0268a9
+0, 180, 180, 1, 152064, 0x393712d1
+0, 181, 181, 1, 152064, 0x470da25f
+0, 182, 182, 1, 152064, 0xaf55cb3d
+0, 183, 183, 1, 152064, 0x6935b8b9
+0, 184, 184, 1, 152064, 0x5409a15f
+0, 185, 185, 1, 152064, 0x09073fee
+0, 186, 186, 1, 152064, 0xfb274e82
+0, 187, 187, 1, 152064, 0x1a770581
+0, 188, 188, 1, 152064, 0x17277d0d
+0, 189, 189, 1, 152064, 0xd4dcd982
+0, 190, 190, 1, 152064, 0x6b04eaf3
+0, 191, 191, 1, 152064, 0x8a3d822e
+0, 192, 192, 1, 152064, 0x1b971ec9
+0, 193, 193, 1, 152064, 0x14e0c0f6
+0, 194, 194, 1, 152064, 0x00667450
+0, 195, 195, 1, 152064, 0xd2385902
+0, 196, 196, 1, 152064, 0x905da6ab
+0, 197, 197, 1, 152064, 0xa3ffb18b
+0, 198, 198, 1, 152064, 0x10d48b19
+0, 199, 199, 1, 152064, 0xb2c7a3bd
+0, 200, 200, 1, 152064, 0x45593e96
+0, 201, 201, 1, 152064, 0x47a0b60c
+0, 202, 202, 1, 152064, 0x68c6d1b9
+0, 203, 203, 1, 152064, 0xbc881fcc
+0, 204, 204, 1, 152064, 0x422cc6f2
+0, 205, 205, 1, 152064, 0x9b686410
+0, 206, 206, 1, 152064, 0x35dc5e86
+0, 207, 207, 1, 152064, 0x247bedaa
+0, 208, 208, 1, 152064, 0x22b76fd1
+0, 209, 209, 1, 152064, 0x67cc7a75
+0, 210, 210, 1, 152064, 0xa197521e
+0, 211, 211, 1, 152064, 0x428c8662
+0, 212, 212, 1, 152064, 0x33dc2c73
+0, 213, 213, 1, 152064, 0x5b538903
+0, 214, 214, 1, 152064, 0x3c4176b6
+0, 215, 215, 1, 152064, 0x774364ba
+0, 216, 216, 1, 152064, 0xf237d03e
+0, 217, 217, 1, 152064, 0xac8746fb
+0, 218, 218, 1, 152064, 0x6b306a84
+0, 219, 219, 1, 152064, 0xa2ace513
+0, 220, 220, 1, 152064, 0x709c9be7
+0, 221, 221, 1, 152064, 0x2403f373
+0, 222, 222, 1, 152064, 0x147bf717
+0, 223, 223, 1, 152064, 0xe58964c8
+0, 224, 224, 1, 152064, 0xa0da36fc
+0, 225, 225, 1, 152064, 0x1ac1355c
+0, 226, 226, 1, 152064, 0x8a31c9f2
+0, 227, 227, 1, 152064, 0x42ba205c
+0, 228, 228, 1, 152064, 0xa11b3575
+0, 229, 229, 1, 152064, 0xcb35207c
+0, 230, 230, 1, 152064, 0x528f6189
+0, 231, 231, 1, 152064, 0x34f05bd7
+0, 232, 232, 1, 152064, 0x72317356
+0, 233, 233, 1, 152064, 0xaabd5028
+0, 234, 234, 1, 152064, 0x13dbeb7b
+0, 235, 235, 1, 152064, 0x62f1e8a8
+0, 236, 236, 1, 152064, 0x1723bfcd
+0, 237, 237, 1, 152064, 0x5c083c00
+0, 238, 238, 1, 152064, 0x52137894
+0, 239, 239, 1, 152064, 0xef1e082c
+0, 240, 240, 1, 152064, 0x664b3d53
+0, 241, 241, 1, 152064, 0x2eb9b296
+0, 242, 242, 1, 152064, 0xd0ca511e
+0, 243, 243, 1, 152064, 0x012d4724
+0, 244, 244, 1, 152064, 0xa847f5af
+0, 245, 245, 1, 152064, 0x483a2fde
+0, 246, 246, 1, 152064, 0xd1ab0257
+0, 247, 247, 1, 152064, 0x414692c7
+0, 248, 248, 1, 152064, 0x0b79df88
+0, 249, 249, 1, 152064, 0xdaa2c4a3
+0, 250, 250, 1, 152064, 0xd1b44500
+0, 251, 251, 1, 152064, 0xfd3d2cf3
+0, 252, 252, 1, 152064, 0xfdc0f748
+0, 253, 253, 1, 152064, 0xce762a2a
+0, 254, 254, 1, 152064, 0x08b63572
+0, 255, 255, 1, 152064, 0x5a46a38d
+0, 256, 256, 1, 152064, 0x03cee9c0
+0, 257, 257, 1, 152064, 0x9ee45473
+0, 258, 258, 1, 152064, 0x5a432386
+0, 259, 259, 1, 152064, 0x54c83d87
+0, 260, 260, 1, 152064, 0xc9caa1de
+0, 261, 261, 1, 152064, 0xa28367f1
+0, 262, 262, 1, 152064, 0x2607cdf1
+0, 263, 263, 1, 152064, 0x06baa8de
+0, 264, 264, 1, 152064, 0xf5346e32
+0, 265, 265, 1, 152064, 0x6d3e732b
+0, 266, 266, 1, 152064, 0x798c584b
+0, 267, 267, 1, 152064, 0x4076c948
+0, 268, 268, 1, 152064, 0x868cf63a
+0, 269, 269, 1, 152064, 0x23107ac5
+0, 270, 270, 1, 152064, 0x306f3fe2
+0, 271, 271, 1, 152064, 0xbd1d71d6
+0, 272, 272, 1, 152064, 0x1429545f
+0, 273, 273, 1, 152064, 0xaded29aa
+0, 274, 274, 1, 152064, 0x9b455a94
+0, 275, 275, 1, 152064, 0xb3774ce7
+0, 276, 276, 1, 152064, 0x92580986
+0, 277, 277, 1, 152064, 0x0eae2f95
+0, 278, 278, 1, 152064, 0x599208b2
+0, 279, 279, 1, 152064, 0x4804c04c
+0, 280, 280, 1, 152064, 0x5f730e8f
+0, 281, 281, 1, 152064, 0x3e501d1e
+0, 282, 282, 1, 152064, 0x32100740
+0, 283, 283, 1, 152064, 0x62226ff8
+0, 284, 284, 1, 152064, 0x7683b622
+0, 285, 285, 1, 152064, 0xc3e0aec1
+0, 286, 286, 1, 152064, 0xfac12608
+0, 287, 287, 1, 152064, 0xb21a5781
+0, 288, 288, 1, 152064, 0x8f1e4964
+0, 289, 289, 1, 152064, 0x0f62dd6e
+0, 290, 290, 1, 152064, 0xac062ac4
+0, 291, 291, 1, 152064, 0x1b320f7a
+0, 292, 292, 1, 152064, 0x346e7211
+0, 293, 293, 1, 152064, 0xe47592f3
+0, 294, 294, 1, 152064, 0xa3a7919c
+0, 295, 295, 1, 152064, 0xa3580fa6
+0, 296, 296, 1, 152064, 0xc73430c1
+0, 297, 297, 1, 152064, 0x994a2c18
+0, 298, 298, 1, 152064, 0x0b5d8d45
+0, 299, 299, 1, 152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-frext-hpcalq_brcm_b b/tests/ref/fate/h264-conformance-frext-hpcalq_brcm_b
index b5778dd378..49249b3703 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcalq_brcm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcalq_brcm_b
@@ -1,300 +1,301 @@
-0, 0, 152064, 0xf3c68dea
-0, 3600, 152064, 0xf52d483f
-0, 7200, 152064, 0x612f1792
-0, 10800, 152064, 0x4df34726
-0, 14400, 152064, 0xfed7c058
-0, 18000, 152064, 0x2d48025c
-0, 21600, 152064, 0x03544ab9
-0, 25200, 152064, 0x20cadfc5
-0, 28800, 152064, 0x7cd3672e
-0, 32400, 152064, 0x5f2b9ede
-0, 36000, 152064, 0xc0bbdf75
-0, 39600, 152064, 0x95571e7c
-0, 43200, 152064, 0x0d1afc5b
-0, 46800, 152064, 0x9c91c11f
-0, 50400, 152064, 0x73e667e4
-0, 54000, 152064, 0xfb7f8892
-0, 57600, 152064, 0x5707f566
-0, 61200, 152064, 0x21032449
-0, 64800, 152064, 0x199e20b7
-0, 68400, 152064, 0x23213179
-0, 72000, 152064, 0x29812daa
-0, 75600, 152064, 0x04e3eb6b
-0, 79200, 152064, 0xab206165
-0, 82800, 152064, 0x392fbf7b
-0, 86400, 152064, 0x137a1c6a
-0, 90000, 152064, 0x9caff265
-0, 93600, 152064, 0x6becf046
-0, 97200, 152064, 0xfc2c3ba6
-0, 100800, 152064, 0xcf4b9b4c
-0, 104400, 152064, 0x4e2ebd37
-0, 108000, 152064, 0xcd419daa
-0, 111600, 152064, 0xe12294b0
-0, 115200, 152064, 0x6bda7493
-0, 118800, 152064, 0xefbf5d0b
-0, 122400, 152064, 0x9500458a
-0, 126000, 152064, 0x6b5d212e
-0, 129600, 152064, 0xb928fc31
-0, 133200, 152064, 0x64f2bb2f
-0, 136800, 152064, 0xf93a724d
-0, 140400, 152064, 0xdd0d32c0
-0, 144000, 152064, 0xe1b51d95
-0, 147600, 152064, 0xbb43d295
-0, 151200, 152064, 0x6dcea069
-0, 154800, 152064, 0x89d79805
-0, 158400, 152064, 0x50b5dd43
-0, 162000, 152064, 0xe3099e3f
-0, 165600, 152064, 0x003b6ace
-0, 169200, 152064, 0x2213b672
-0, 172800, 152064, 0x5b273093
-0, 176400, 152064, 0xdbfbd9bf
-0, 180000, 152064, 0xf26b89d0
-0, 183600, 152064, 0x1470527e
-0, 187200, 152064, 0x0e668970
-0, 190800, 152064, 0x00218692
-0, 194400, 152064, 0xaabf79a8
-0, 198000, 152064, 0xf68b4663
-0, 201600, 152064, 0x4c08d01f
-0, 205200, 152064, 0x48e75380
-0, 208800, 152064, 0x4b8be58f
-0, 212400, 152064, 0x8a6c1365
-0, 216000, 152064, 0x9439ca02
-0, 219600, 152064, 0x831d9855
-0, 223200, 152064, 0xff031ffd
-0, 226800, 152064, 0x3680f4bc
-0, 230400, 152064, 0x794c95a4
-0, 234000, 152064, 0x23e53349
-0, 237600, 152064, 0x85307117
-0, 241200, 152064, 0x0bc0bf5a
-0, 244800, 152064, 0xc79f46c8
-0, 248400, 152064, 0x48be4e21
-0, 252000, 152064, 0x2ad89b4f
-0, 255600, 152064, 0xd454f9a9
-0, 259200, 152064, 0x64852f6d
-0, 262800, 152064, 0xcb7b0c05
-0, 266400, 152064, 0x4e108ced
-0, 270000, 152064, 0xf5e5a37b
-0, 273600, 152064, 0x224e29c7
-0, 277200, 152064, 0xad90d3c2
-0, 280800, 152064, 0x5ddb5d05
-0, 284400, 152064, 0x4ebf4337
-0, 288000, 152064, 0x7e2bfeed
-0, 291600, 152064, 0x00e884c7
-0, 295200, 152064, 0xa4f6a534
-0, 298800, 152064, 0x622f1511
-0, 302400, 152064, 0x8d99233d
-0, 306000, 152064, 0x5910d02c
-0, 309600, 152064, 0x20d6706c
-0, 313200, 152064, 0x8e30a417
-0, 316800, 152064, 0x180d745a
-0, 320400, 152064, 0xc25189b9
-0, 324000, 152064, 0x909101ad
-0, 327600, 152064, 0x9967be1c
-0, 331200, 152064, 0x72ff3206
-0, 334800, 152064, 0x48d07f48
-0, 338400, 152064, 0x7f8244b7
-0, 342000, 152064, 0xf871e21e
-0, 345600, 152064, 0xd4743610
-0, 349200, 152064, 0xc2c7a7b1
-0, 352800, 152064, 0x95be1a75
-0, 356400, 152064, 0x44972b2e
-0, 360000, 152064, 0xa6036c4f
-0, 363600, 152064, 0xecdd8dd6
-0, 367200, 152064, 0xbb7e8551
-0, 370800, 152064, 0x42916e6c
-0, 374400, 152064, 0x972db010
-0, 378000, 152064, 0x80dab6a0
-0, 381600, 152064, 0xc753ecdb
-0, 385200, 152064, 0x0823bffa
-0, 388800, 152064, 0x80876b2d
-0, 392400, 152064, 0x4a8b2118
-0, 396000, 152064, 0x0be2c13d
-0, 399600, 152064, 0xa6966e4f
-0, 403200, 152064, 0xf6a57650
-0, 406800, 152064, 0x49d66fd4
-0, 410400, 152064, 0x21d92047
-0, 414000, 152064, 0x155f20a8
-0, 417600, 152064, 0x5ab90c1d
-0, 421200, 152064, 0xa0c31337
-0, 424800, 152064, 0xd20de1d6
-0, 428400, 152064, 0x300ad916
-0, 432000, 152064, 0xbcb89eb5
-0, 435600, 152064, 0x08759342
-0, 439200, 152064, 0xa5d06e72
-0, 442800, 152064, 0x3b4c537f
-0, 446400, 152064, 0x7f48912b
-0, 450000, 152064, 0x200dbd1f
-0, 453600, 152064, 0x918abfde
-0, 457200, 152064, 0xd8072cdf
-0, 460800, 152064, 0x89d2902b
-0, 464400, 152064, 0xcd2e2e3c
-0, 468000, 152064, 0xf343e4a2
-0, 471600, 152064, 0xc424acad
-0, 475200, 152064, 0xf71e3031
-0, 478800, 152064, 0xf1bc1179
-0, 482400, 152064, 0x9af58d24
-0, 486000, 152064, 0x48a4d01e
-0, 489600, 152064, 0xcf24f721
-0, 493200, 152064, 0x5bc7b4f3
-0, 496800, 152064, 0x8763fc59
-0, 500400, 152064, 0xb6954051
-0, 504000, 152064, 0x044ba446
-0, 507600, 152064, 0xdaaaee7e
-0, 511200, 152064, 0x8eac550d
-0, 514800, 152064, 0x5191d08c
-0, 518400, 152064, 0x3cd76d43
-0, 522000, 152064, 0xf01f8fa9
-0, 525600, 152064, 0x0e283e9b
-0, 529200, 152064, 0x7cef69ee
-0, 532800, 152064, 0xc8e332bc
-0, 536400, 152064, 0x5b1aa484
-0, 540000, 152064, 0x3975234f
-0, 543600, 152064, 0x52b8661e
-0, 547200, 152064, 0xb4b8fed8
-0, 550800, 152064, 0x5aff9f70
-0, 554400, 152064, 0x7b575735
-0, 558000, 152064, 0x77d51523
-0, 561600, 152064, 0xf5131eba
-0, 565200, 152064, 0x4bd2b1ad
-0, 568800, 152064, 0xccfc8dca
-0, 572400, 152064, 0xcf245472
-0, 576000, 152064, 0xe055adf5
-0, 579600, 152064, 0x2a90e171
-0, 583200, 152064, 0x1bd8ea64
-0, 586800, 152064, 0x32f1d794
-0, 590400, 152064, 0xc938c42a
-0, 594000, 152064, 0x12b5644f
-0, 597600, 152064, 0x99003711
-0, 601200, 152064, 0xaecfad1c
-0, 604800, 152064, 0x94b00ae1
-0, 608400, 152064, 0xbb4f982f
-0, 612000, 152064, 0x6f7f5dc1
-0, 615600, 152064, 0x7be7c2cb
-0, 619200, 152064, 0x3b2ee4d3
-0, 622800, 152064, 0xc75f5666
-0, 626400, 152064, 0xff7a3ede
-0, 630000, 152064, 0x55866b59
-0, 633600, 152064, 0x408b8455
-0, 637200, 152064, 0x96c4ab66
-0, 640800, 152064, 0x1d87f575
-0, 644400, 152064, 0x3a3b17ac
-0, 648000, 152064, 0x9c99e591
-0, 651600, 152064, 0xc1fc663d
-0, 655200, 152064, 0x17b982dd
-0, 658800, 152064, 0x24fe9dad
-0, 662400, 152064, 0xea8760ee
-0, 666000, 152064, 0x23dcefad
-0, 669600, 152064, 0xee6d23f0
-0, 673200, 152064, 0xfddc1962
-0, 676800, 152064, 0xb23190df
-0, 680400, 152064, 0xf066a595
-0, 684000, 152064, 0x2200fef8
-0, 687600, 152064, 0x5491ab2f
-0, 691200, 152064, 0xea93fa58
-0, 694800, 152064, 0x3e13d4f4
-0, 698400, 152064, 0x3dda841d
-0, 702000, 152064, 0xfc243577
-0, 705600, 152064, 0xca4a9127
-0, 709200, 152064, 0x41908ec0
-0, 712800, 152064, 0x10a758bd
-0, 716400, 152064, 0x6a849e5b
-0, 720000, 152064, 0xb55a1f2b
-0, 723600, 152064, 0x2bfe9627
-0, 727200, 152064, 0x2bfca28c
-0, 730800, 152064, 0xd166f336
-0, 734400, 152064, 0x9facb32b
-0, 738000, 152064, 0x6a672475
-0, 741600, 152064, 0xc7b219cf
-0, 745200, 152064, 0x2b43ca53
-0, 748800, 152064, 0x43b542c4
-0, 752400, 152064, 0xdc654337
-0, 756000, 152064, 0x68003d7c
-0, 759600, 152064, 0x3cb85724
-0, 763200, 152064, 0x422701c2
-0, 766800, 152064, 0x1c667870
-0, 770400, 152064, 0x75ef3230
-0, 774000, 152064, 0x0ac82643
-0, 777600, 152064, 0x3eb3a0be
-0, 781200, 152064, 0x482bd77e
-0, 784800, 152064, 0xd3ce1171
-0, 788400, 152064, 0xeaefc7e4
-0, 792000, 152064, 0xa9c67939
-0, 795600, 152064, 0x0af0a25b
-0, 799200, 152064, 0xd094d95a
-0, 802800, 152064, 0xfda42fc6
-0, 806400, 152064, 0x4669f952
-0, 810000, 152064, 0x52d40e98
-0, 813600, 152064, 0x27c36cd1
-0, 817200, 152064, 0xa103b6ce
-0, 820800, 152064, 0x2be9026d
-0, 824400, 152064, 0x2f4ecc59
-0, 828000, 152064, 0x53144cef
-0, 831600, 152064, 0x15d54fc9
-0, 835200, 152064, 0x7e302db7
-0, 838800, 152064, 0x82521901
-0, 842400, 152064, 0x1123cdb6
-0, 846000, 152064, 0x3185878a
-0, 849600, 152064, 0xbb294983
-0, 853200, 152064, 0x83d9fe66
-0, 856800, 152064, 0xede9fb08
-0, 860400, 152064, 0xa543b551
-0, 864000, 152064, 0x39e82734
-0, 867600, 152064, 0xd0447fb5
-0, 871200, 152064, 0x8cc6f502
-0, 874800, 152064, 0xda8d1da8
-0, 878400, 152064, 0xcafdccca
-0, 882000, 152064, 0xbf0e04f4
-0, 885600, 152064, 0x0c6eefec
-0, 889200, 152064, 0xb9026d39
-0, 892800, 152064, 0x0121a7a8
-0, 896400, 152064, 0x453ebbc6
-0, 900000, 152064, 0x14ae15e3
-0, 903600, 152064, 0x51d618e1
-0, 907200, 152064, 0x2254f452
-0, 910800, 152064, 0x8c360633
-0, 914400, 152064, 0x8704d9bc
-0, 918000, 152064, 0xe5d48301
-0, 921600, 152064, 0xf25b7b3f
-0, 925200, 152064, 0xd2ad3b73
-0, 928800, 152064, 0x53db0387
-0, 932400, 152064, 0x2486341c
-0, 936000, 152064, 0x4a24570b
-0, 939600, 152064, 0x0694620a
-0, 943200, 152064, 0xbbc2a302
-0, 946800, 152064, 0x08ad9c02
-0, 950400, 152064, 0x601a63ab
-0, 954000, 152064, 0xe4234a48
-0, 957600, 152064, 0x07702235
-0, 961200, 152064, 0x719dbecf
-0, 964800, 152064, 0xf301a7ad
-0, 968400, 152064, 0xf15c70c3
-0, 972000, 152064, 0x0ab93386
-0, 975600, 152064, 0x99c05adb
-0, 979200, 152064, 0x9ed43530
-0, 982800, 152064, 0xa2f62122
-0, 986400, 152064, 0xf16f4525
-0, 990000, 152064, 0xa3403b4a
-0, 993600, 152064, 0x95521096
-0, 997200, 152064, 0x0d412988
-0, 1000800, 152064, 0x829e080a
-0, 1004400, 152064, 0x0805c1b5
-0, 1008000, 152064, 0xa136be48
-0, 1011600, 152064, 0x0f8de228
-0, 1015200, 152064, 0x272cf2d3
-0, 1018800, 152064, 0xa1df2a5e
-0, 1022400, 152064, 0xf9db8350
-0, 1026000, 152064, 0x5536997d
-0, 1029600, 152064, 0xab83e81e
-0, 1033200, 152064, 0xec791b49
-0, 1036800, 152064, 0x04d03e19
-0, 1040400, 152064, 0xd6a2bd21
-0, 1044000, 152064, 0x2d35f0aa
-0, 1047600, 152064, 0x137bf715
-0, 1051200, 152064, 0x56ef5ae1
-0, 1054800, 152064, 0x9bb5821e
-0, 1058400, 152064, 0x533c7fff
-0, 1062000, 152064, 0x469ad380
-0, 1065600, 152064, 0x75710e84
-0, 1069200, 152064, 0xbbd72551
-0, 1072800, 152064, 0xf1137026
-0, 1076400, 152064, 0x6238412b
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf3c68dea
+0, 1, 1, 1, 152064, 0xf52d483f
+0, 2, 2, 1, 152064, 0x612f1792
+0, 3, 3, 1, 152064, 0x4df34726
+0, 4, 4, 1, 152064, 0xfed7c058
+0, 5, 5, 1, 152064, 0x2d48025c
+0, 6, 6, 1, 152064, 0x03544ab9
+0, 7, 7, 1, 152064, 0x20cadfc5
+0, 8, 8, 1, 152064, 0x7cd3672e
+0, 9, 9, 1, 152064, 0x5f2b9ede
+0, 10, 10, 1, 152064, 0xc0bbdf75
+0, 11, 11, 1, 152064, 0x95571e7c
+0, 12, 12, 1, 152064, 0x0d1afc5b
+0, 13, 13, 1, 152064, 0x9c91c11f
+0, 14, 14, 1, 152064, 0x73e667e4
+0, 15, 15, 1, 152064, 0xfb7f8892
+0, 16, 16, 1, 152064, 0x5707f566
+0, 17, 17, 1, 152064, 0x21032449
+0, 18, 18, 1, 152064, 0x199e20b7
+0, 19, 19, 1, 152064, 0x23213179
+0, 20, 20, 1, 152064, 0x29812daa
+0, 21, 21, 1, 152064, 0x04e3eb6b
+0, 22, 22, 1, 152064, 0xab206165
+0, 23, 23, 1, 152064, 0x392fbf7b
+0, 24, 24, 1, 152064, 0x137a1c6a
+0, 25, 25, 1, 152064, 0x9caff265
+0, 26, 26, 1, 152064, 0x6becf046
+0, 27, 27, 1, 152064, 0xfc2c3ba6
+0, 28, 28, 1, 152064, 0xcf4b9b4c
+0, 29, 29, 1, 152064, 0x4e2ebd37
+0, 30, 30, 1, 152064, 0xcd419daa
+0, 31, 31, 1, 152064, 0xe12294b0
+0, 32, 32, 1, 152064, 0x6bda7493
+0, 33, 33, 1, 152064, 0xefbf5d0b
+0, 34, 34, 1, 152064, 0x9500458a
+0, 35, 35, 1, 152064, 0x6b5d212e
+0, 36, 36, 1, 152064, 0xb928fc31
+0, 37, 37, 1, 152064, 0x64f2bb2f
+0, 38, 38, 1, 152064, 0xf93a724d
+0, 39, 39, 1, 152064, 0xdd0d32c0
+0, 40, 40, 1, 152064, 0xe1b51d95
+0, 41, 41, 1, 152064, 0xbb43d295
+0, 42, 42, 1, 152064, 0x6dcea069
+0, 43, 43, 1, 152064, 0x89d79805
+0, 44, 44, 1, 152064, 0x50b5dd43
+0, 45, 45, 1, 152064, 0xe3099e3f
+0, 46, 46, 1, 152064, 0x003b6ace
+0, 47, 47, 1, 152064, 0x2213b672
+0, 48, 48, 1, 152064, 0x5b273093
+0, 49, 49, 1, 152064, 0xdbfbd9bf
+0, 50, 50, 1, 152064, 0xf26b89d0
+0, 51, 51, 1, 152064, 0x1470527e
+0, 52, 52, 1, 152064, 0x0e668970
+0, 53, 53, 1, 152064, 0x00218692
+0, 54, 54, 1, 152064, 0xaabf79a8
+0, 55, 55, 1, 152064, 0xf68b4663
+0, 56, 56, 1, 152064, 0x4c08d01f
+0, 57, 57, 1, 152064, 0x48e75380
+0, 58, 58, 1, 152064, 0x4b8be58f
+0, 59, 59, 1, 152064, 0x8a6c1365
+0, 60, 60, 1, 152064, 0x9439ca02
+0, 61, 61, 1, 152064, 0x831d9855
+0, 62, 62, 1, 152064, 0xff031ffd
+0, 63, 63, 1, 152064, 0x3680f4bc
+0, 64, 64, 1, 152064, 0x794c95a4
+0, 65, 65, 1, 152064, 0x23e53349
+0, 66, 66, 1, 152064, 0x85307117
+0, 67, 67, 1, 152064, 0x0bc0bf5a
+0, 68, 68, 1, 152064, 0xc79f46c8
+0, 69, 69, 1, 152064, 0x48be4e21
+0, 70, 70, 1, 152064, 0x2ad89b4f
+0, 71, 71, 1, 152064, 0xd454f9a9
+0, 72, 72, 1, 152064, 0x64852f6d
+0, 73, 73, 1, 152064, 0xcb7b0c05
+0, 74, 74, 1, 152064, 0x4e108ced
+0, 75, 75, 1, 152064, 0xf5e5a37b
+0, 76, 76, 1, 152064, 0x224e29c7
+0, 77, 77, 1, 152064, 0xad90d3c2
+0, 78, 78, 1, 152064, 0x5ddb5d05
+0, 79, 79, 1, 152064, 0x4ebf4337
+0, 80, 80, 1, 152064, 0x7e2bfeed
+0, 81, 81, 1, 152064, 0x00e884c7
+0, 82, 82, 1, 152064, 0xa4f6a534
+0, 83, 83, 1, 152064, 0x622f1511
+0, 84, 84, 1, 152064, 0x8d99233d
+0, 85, 85, 1, 152064, 0x5910d02c
+0, 86, 86, 1, 152064, 0x20d6706c
+0, 87, 87, 1, 152064, 0x8e30a417
+0, 88, 88, 1, 152064, 0x180d745a
+0, 89, 89, 1, 152064, 0xc25189b9
+0, 90, 90, 1, 152064, 0x909101ad
+0, 91, 91, 1, 152064, 0x9967be1c
+0, 92, 92, 1, 152064, 0x72ff3206
+0, 93, 93, 1, 152064, 0x48d07f48
+0, 94, 94, 1, 152064, 0x7f8244b7
+0, 95, 95, 1, 152064, 0xf871e21e
+0, 96, 96, 1, 152064, 0xd4743610
+0, 97, 97, 1, 152064, 0xc2c7a7b1
+0, 98, 98, 1, 152064, 0x95be1a75
+0, 99, 99, 1, 152064, 0x44972b2e
+0, 100, 100, 1, 152064, 0xa6036c4f
+0, 101, 101, 1, 152064, 0xecdd8dd6
+0, 102, 102, 1, 152064, 0xbb7e8551
+0, 103, 103, 1, 152064, 0x42916e6c
+0, 104, 104, 1, 152064, 0x972db010
+0, 105, 105, 1, 152064, 0x80dab6a0
+0, 106, 106, 1, 152064, 0xc753ecdb
+0, 107, 107, 1, 152064, 0x0823bffa
+0, 108, 108, 1, 152064, 0x80876b2d
+0, 109, 109, 1, 152064, 0x4a8b2118
+0, 110, 110, 1, 152064, 0x0be2c13d
+0, 111, 111, 1, 152064, 0xa6966e4f
+0, 112, 112, 1, 152064, 0xf6a57650
+0, 113, 113, 1, 152064, 0x49d66fd4
+0, 114, 114, 1, 152064, 0x21d92047
+0, 115, 115, 1, 152064, 0x155f20a8
+0, 116, 116, 1, 152064, 0x5ab90c1d
+0, 117, 117, 1, 152064, 0xa0c31337
+0, 118, 118, 1, 152064, 0xd20de1d6
+0, 119, 119, 1, 152064, 0x300ad916
+0, 120, 120, 1, 152064, 0xbcb89eb5
+0, 121, 121, 1, 152064, 0x08759342
+0, 122, 122, 1, 152064, 0xa5d06e72
+0, 123, 123, 1, 152064, 0x3b4c537f
+0, 124, 124, 1, 152064, 0x7f48912b
+0, 125, 125, 1, 152064, 0x200dbd1f
+0, 126, 126, 1, 152064, 0x918abfde
+0, 127, 127, 1, 152064, 0xd8072cdf
+0, 128, 128, 1, 152064, 0x89d2902b
+0, 129, 129, 1, 152064, 0xcd2e2e3c
+0, 130, 130, 1, 152064, 0xf343e4a2
+0, 131, 131, 1, 152064, 0xc424acad
+0, 132, 132, 1, 152064, 0xf71e3031
+0, 133, 133, 1, 152064, 0xf1bc1179
+0, 134, 134, 1, 152064, 0x9af58d24
+0, 135, 135, 1, 152064, 0x48a4d01e
+0, 136, 136, 1, 152064, 0xcf24f721
+0, 137, 137, 1, 152064, 0x5bc7b4f3
+0, 138, 138, 1, 152064, 0x8763fc59
+0, 139, 139, 1, 152064, 0xb6954051
+0, 140, 140, 1, 152064, 0x044ba446
+0, 141, 141, 1, 152064, 0xdaaaee7e
+0, 142, 142, 1, 152064, 0x8eac550d
+0, 143, 143, 1, 152064, 0x5191d08c
+0, 144, 144, 1, 152064, 0x3cd76d43
+0, 145, 145, 1, 152064, 0xf01f8fa9
+0, 146, 146, 1, 152064, 0x0e283e9b
+0, 147, 147, 1, 152064, 0x7cef69ee
+0, 148, 148, 1, 152064, 0xc8e332bc
+0, 149, 149, 1, 152064, 0x5b1aa484
+0, 150, 150, 1, 152064, 0x3975234f
+0, 151, 151, 1, 152064, 0x52b8661e
+0, 152, 152, 1, 152064, 0xb4b8fed8
+0, 153, 153, 1, 152064, 0x5aff9f70
+0, 154, 154, 1, 152064, 0x7b575735
+0, 155, 155, 1, 152064, 0x77d51523
+0, 156, 156, 1, 152064, 0xf5131eba
+0, 157, 157, 1, 152064, 0x4bd2b1ad
+0, 158, 158, 1, 152064, 0xccfc8dca
+0, 159, 159, 1, 152064, 0xcf245472
+0, 160, 160, 1, 152064, 0xe055adf5
+0, 161, 161, 1, 152064, 0x2a90e171
+0, 162, 162, 1, 152064, 0x1bd8ea64
+0, 163, 163, 1, 152064, 0x32f1d794
+0, 164, 164, 1, 152064, 0xc938c42a
+0, 165, 165, 1, 152064, 0x12b5644f
+0, 166, 166, 1, 152064, 0x99003711
+0, 167, 167, 1, 152064, 0xaecfad1c
+0, 168, 168, 1, 152064, 0x94b00ae1
+0, 169, 169, 1, 152064, 0xbb4f982f
+0, 170, 170, 1, 152064, 0x6f7f5dc1
+0, 171, 171, 1, 152064, 0x7be7c2cb
+0, 172, 172, 1, 152064, 0x3b2ee4d3
+0, 173, 173, 1, 152064, 0xc75f5666
+0, 174, 174, 1, 152064, 0xff7a3ede
+0, 175, 175, 1, 152064, 0x55866b59
+0, 176, 176, 1, 152064, 0x408b8455
+0, 177, 177, 1, 152064, 0x96c4ab66
+0, 178, 178, 1, 152064, 0x1d87f575
+0, 179, 179, 1, 152064, 0x3a3b17ac
+0, 180, 180, 1, 152064, 0x9c99e591
+0, 181, 181, 1, 152064, 0xc1fc663d
+0, 182, 182, 1, 152064, 0x17b982dd
+0, 183, 183, 1, 152064, 0x24fe9dad
+0, 184, 184, 1, 152064, 0xea8760ee
+0, 185, 185, 1, 152064, 0x23dcefad
+0, 186, 186, 1, 152064, 0xee6d23f0
+0, 187, 187, 1, 152064, 0xfddc1962
+0, 188, 188, 1, 152064, 0xb23190df
+0, 189, 189, 1, 152064, 0xf066a595
+0, 190, 190, 1, 152064, 0x2200fef8
+0, 191, 191, 1, 152064, 0x5491ab2f
+0, 192, 192, 1, 152064, 0xea93fa58
+0, 193, 193, 1, 152064, 0x3e13d4f4
+0, 194, 194, 1, 152064, 0x3dda841d
+0, 195, 195, 1, 152064, 0xfc243577
+0, 196, 196, 1, 152064, 0xca4a9127
+0, 197, 197, 1, 152064, 0x41908ec0
+0, 198, 198, 1, 152064, 0x10a758bd
+0, 199, 199, 1, 152064, 0x6a849e5b
+0, 200, 200, 1, 152064, 0xb55a1f2b
+0, 201, 201, 1, 152064, 0x2bfe9627
+0, 202, 202, 1, 152064, 0x2bfca28c
+0, 203, 203, 1, 152064, 0xd166f336
+0, 204, 204, 1, 152064, 0x9facb32b
+0, 205, 205, 1, 152064, 0x6a672475
+0, 206, 206, 1, 152064, 0xc7b219cf
+0, 207, 207, 1, 152064, 0x2b43ca53
+0, 208, 208, 1, 152064, 0x43b542c4
+0, 209, 209, 1, 152064, 0xdc654337
+0, 210, 210, 1, 152064, 0x68003d7c
+0, 211, 211, 1, 152064, 0x3cb85724
+0, 212, 212, 1, 152064, 0x422701c2
+0, 213, 213, 1, 152064, 0x1c667870
+0, 214, 214, 1, 152064, 0x75ef3230
+0, 215, 215, 1, 152064, 0x0ac82643
+0, 216, 216, 1, 152064, 0x3eb3a0be
+0, 217, 217, 1, 152064, 0x482bd77e
+0, 218, 218, 1, 152064, 0xd3ce1171
+0, 219, 219, 1, 152064, 0xeaefc7e4
+0, 220, 220, 1, 152064, 0xa9c67939
+0, 221, 221, 1, 152064, 0x0af0a25b
+0, 222, 222, 1, 152064, 0xd094d95a
+0, 223, 223, 1, 152064, 0xfda42fc6
+0, 224, 224, 1, 152064, 0x4669f952
+0, 225, 225, 1, 152064, 0x52d40e98
+0, 226, 226, 1, 152064, 0x27c36cd1
+0, 227, 227, 1, 152064, 0xa103b6ce
+0, 228, 228, 1, 152064, 0x2be9026d
+0, 229, 229, 1, 152064, 0x2f4ecc59
+0, 230, 230, 1, 152064, 0x53144cef
+0, 231, 231, 1, 152064, 0x15d54fc9
+0, 232, 232, 1, 152064, 0x7e302db7
+0, 233, 233, 1, 152064, 0x82521901
+0, 234, 234, 1, 152064, 0x1123cdb6
+0, 235, 235, 1, 152064, 0x3185878a
+0, 236, 236, 1, 152064, 0xbb294983
+0, 237, 237, 1, 152064, 0x83d9fe66
+0, 238, 238, 1, 152064, 0xede9fb08
+0, 239, 239, 1, 152064, 0xa543b551
+0, 240, 240, 1, 152064, 0x39e82734
+0, 241, 241, 1, 152064, 0xd0447fb5
+0, 242, 242, 1, 152064, 0x8cc6f502
+0, 243, 243, 1, 152064, 0xda8d1da8
+0, 244, 244, 1, 152064, 0xcafdccca
+0, 245, 245, 1, 152064, 0xbf0e04f4
+0, 246, 246, 1, 152064, 0x0c6eefec
+0, 247, 247, 1, 152064, 0xb9026d39
+0, 248, 248, 1, 152064, 0x0121a7a8
+0, 249, 249, 1, 152064, 0x453ebbc6
+0, 250, 250, 1, 152064, 0x14ae15e3
+0, 251, 251, 1, 152064, 0x51d618e1
+0, 252, 252, 1, 152064, 0x2254f452
+0, 253, 253, 1, 152064, 0x8c360633
+0, 254, 254, 1, 152064, 0x8704d9bc
+0, 255, 255, 1, 152064, 0xe5d48301
+0, 256, 256, 1, 152064, 0xf25b7b3f
+0, 257, 257, 1, 152064, 0xd2ad3b73
+0, 258, 258, 1, 152064, 0x53db0387
+0, 259, 259, 1, 152064, 0x2486341c
+0, 260, 260, 1, 152064, 0x4a24570b
+0, 261, 261, 1, 152064, 0x0694620a
+0, 262, 262, 1, 152064, 0xbbc2a302
+0, 263, 263, 1, 152064, 0x08ad9c02
+0, 264, 264, 1, 152064, 0x601a63ab
+0, 265, 265, 1, 152064, 0xe4234a48
+0, 266, 266, 1, 152064, 0x07702235
+0, 267, 267, 1, 152064, 0x719dbecf
+0, 268, 268, 1, 152064, 0xf301a7ad
+0, 269, 269, 1, 152064, 0xf15c70c3
+0, 270, 270, 1, 152064, 0x0ab93386
+0, 271, 271, 1, 152064, 0x99c05adb
+0, 272, 272, 1, 152064, 0x9ed43530
+0, 273, 273, 1, 152064, 0xa2f62122
+0, 274, 274, 1, 152064, 0xf16f4525
+0, 275, 275, 1, 152064, 0xa3403b4a
+0, 276, 276, 1, 152064, 0x95521096
+0, 277, 277, 1, 152064, 0x0d412988
+0, 278, 278, 1, 152064, 0x829e080a
+0, 279, 279, 1, 152064, 0x0805c1b5
+0, 280, 280, 1, 152064, 0xa136be48
+0, 281, 281, 1, 152064, 0x0f8de228
+0, 282, 282, 1, 152064, 0x272cf2d3
+0, 283, 283, 1, 152064, 0xa1df2a5e
+0, 284, 284, 1, 152064, 0xf9db8350
+0, 285, 285, 1, 152064, 0x5536997d
+0, 286, 286, 1, 152064, 0xab83e81e
+0, 287, 287, 1, 152064, 0xec791b49
+0, 288, 288, 1, 152064, 0x04d03e19
+0, 289, 289, 1, 152064, 0xd6a2bd21
+0, 290, 290, 1, 152064, 0x2d35f0aa
+0, 291, 291, 1, 152064, 0x137bf715
+0, 292, 292, 1, 152064, 0x56ef5ae1
+0, 293, 293, 1, 152064, 0x9bb5821e
+0, 294, 294, 1, 152064, 0x533c7fff
+0, 295, 295, 1, 152064, 0x469ad380
+0, 296, 296, 1, 152064, 0x75710e84
+0, 297, 297, 1, 152064, 0xbbd72551
+0, 298, 298, 1, 152064, 0xf1137026
+0, 299, 299, 1, 152064, 0x6238412b
diff --git a/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b b/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
index 4f6f2baaf1..a81e91fef8 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
@@ -1,300 +1,301 @@
-0, 0, 152064, 0xf8248ceb
-0, 3600, 152064, 0xb6204c81
-0, 7200, 152064, 0x22fb1737
-0, 10800, 152064, 0xce8c3fd7
-0, 14400, 152064, 0xee88cedc
-0, 18000, 152064, 0x1d4209ca
-0, 21600, 152064, 0x6fb15238
-0, 25200, 152064, 0x505200c2
-0, 28800, 152064, 0xb73574ba
-0, 32400, 152064, 0x0586a097
-0, 36000, 152064, 0xed50fe02
-0, 39600, 152064, 0x222221ab
-0, 43200, 152064, 0x8afefd46
-0, 46800, 152064, 0x6832c5cc
-0, 50400, 152064, 0xba4c8110
-0, 54000, 152064, 0x95c07e1e
-0, 57600, 152064, 0xc5d6fde9
-0, 61200, 152064, 0xe75a4921
-0, 64800, 152064, 0x53b61688
-0, 68400, 152064, 0x0335424b
-0, 72000, 152064, 0x621742c7
-0, 75600, 152064, 0x4f69f41b
-0, 79200, 152064, 0x6b3f65d7
-0, 82800, 152064, 0x8dfde04f
-0, 86400, 152064, 0x30750ff5
-0, 90000, 152064, 0xe3d70f3c
-0, 93600, 152064, 0x0c1af825
-0, 97200, 152064, 0x58a53935
-0, 100800, 152064, 0xc63d9e98
-0, 104400, 152064, 0xa85fdc48
-0, 108000, 152064, 0x01bb9784
-0, 111600, 152064, 0xdd5cb509
-0, 115200, 152064, 0x29ae7d2b
-0, 118800, 152064, 0xdb08593e
-0, 122400, 152064, 0x372d5d4e
-0, 126000, 152064, 0x31522664
-0, 129600, 152064, 0x3f13f335
-0, 133200, 152064, 0xfd10c19a
-0, 136800, 152064, 0xef728975
-0, 140400, 152064, 0x8e79234d
-0, 144000, 152064, 0x47022791
-0, 147600, 152064, 0x1ef9d297
-0, 151200, 152064, 0x77bf9738
-0, 154800, 152064, 0xd6bc8f03
-0, 158400, 152064, 0x283ded4a
-0, 162000, 152064, 0xd87098d1
-0, 165600, 152064, 0x300077a2
-0, 169200, 152064, 0x30ffbea4
-0, 172800, 152064, 0x5dc5356b
-0, 176400, 152064, 0x31cce185
-0, 180000, 152064, 0x47fc9148
-0, 183600, 152064, 0x1641491e
-0, 187200, 152064, 0x2184937d
-0, 190800, 152064, 0x126eb74a
-0, 194400, 152064, 0x25c07593
-0, 198000, 152064, 0xb1294e7e
-0, 201600, 152064, 0x8b35f45d
-0, 205200, 152064, 0x54765025
-0, 208800, 152064, 0x1d17e901
-0, 212400, 152064, 0xaeab358d
-0, 216000, 152064, 0xf682c91f
-0, 219600, 152064, 0x0b4c9b06
-0, 223200, 152064, 0x45f326dc
-0, 226800, 152064, 0x132eeda3
-0, 230400, 152064, 0x3c9b8e16
-0, 234000, 152064, 0x1be133c1
-0, 237600, 152064, 0xfa876720
-0, 241200, 152064, 0x1666cdb8
-0, 244800, 152064, 0x362f418f
-0, 248400, 152064, 0x926b4a96
-0, 252000, 152064, 0xee3da1df
-0, 255600, 152064, 0xc11f025d
-0, 259200, 152064, 0x9ba62c19
-0, 262800, 152064, 0x0d66194f
-0, 266400, 152064, 0x2fd09340
-0, 270000, 152064, 0x3dfb9e4d
-0, 273600, 152064, 0xa3192ce6
-0, 277200, 152064, 0x6bfce0e1
-0, 280800, 152064, 0x3b7c5286
-0, 284400, 152064, 0xb52f4bf5
-0, 288000, 152064, 0x30870027
-0, 291600, 152064, 0x6f8e71c3
-0, 295200, 152064, 0x8d41b09a
-0, 298800, 152064, 0xc1ff1d05
-0, 302400, 152064, 0xca54125c
-0, 306000, 152064, 0x3342d823
-0, 309600, 152064, 0xcc4a7542
-0, 313200, 152064, 0x21fc9a9d
-0, 316800, 152064, 0x91587574
-0, 320400, 152064, 0x30929cc2
-0, 324000, 152064, 0xf07606b7
-0, 327600, 152064, 0x0476b876
-0, 331200, 152064, 0x213333dc
-0, 334800, 152064, 0x87c67597
-0, 338400, 152064, 0x05434641
-0, 342000, 152064, 0x959eeffc
-0, 345600, 152064, 0x92a130b4
-0, 349200, 152064, 0x53d0b544
-0, 352800, 152064, 0xaf8c233e
-0, 356400, 152064, 0xd3d4259a
-0, 360000, 152064, 0xa0287753
-0, 363600, 152064, 0xfa23972a
-0, 367200, 152064, 0xacae756d
-0, 370800, 152064, 0xd8b58b5c
-0, 374400, 152064, 0x7db2c755
-0, 378000, 152064, 0x31e7b79a
-0, 381600, 152064, 0xd8660d98
-0, 385200, 152064, 0xdcf0d10d
-0, 388800, 152064, 0x3e6567e6
-0, 392400, 152064, 0xec3530fd
-0, 396000, 152064, 0xf686c61a
-0, 399600, 152064, 0x6e706804
-0, 403200, 152064, 0x5fd4a1a3
-0, 406800, 152064, 0xbb3384f7
-0, 410400, 152064, 0x8ffb14dd
-0, 414000, 152064, 0x01253a73
-0, 417600, 152064, 0xf89c15df
-0, 421200, 152064, 0xda2b0b4c
-0, 424800, 152064, 0xfc9dfcc1
-0, 428400, 152064, 0xfef4f0fa
-0, 432000, 152064, 0x91669bea
-0, 435600, 152064, 0x3664a565
-0, 439200, 152064, 0x32dd7923
-0, 442800, 152064, 0x26825231
-0, 446400, 152064, 0x5f81896e
-0, 450000, 152064, 0x0c64ca2f
-0, 453600, 152064, 0x488bb665
-0, 457200, 152064, 0x4d183a0f
-0, 460800, 152064, 0xed169321
-0, 464400, 152064, 0xcec22917
-0, 468000, 152064, 0xbe04ea6c
-0, 471600, 152064, 0x32b8bf9f
-0, 475200, 152064, 0x9c7c2e13
-0, 478800, 152064, 0x232e3016
-0, 482400, 152064, 0x1b76c08e
-0, 486000, 152064, 0x7425d821
-0, 489600, 152064, 0x0818ff3c
-0, 493200, 152064, 0xb4f2c42b
-0, 496800, 152064, 0xe029f979
-0, 500400, 152064, 0x97c54c2f
-0, 504000, 152064, 0xd101c3b5
-0, 507600, 152064, 0x5ed1f5d4
-0, 511200, 152064, 0xc28264d1
-0, 514800, 152064, 0xa162dd31
-0, 518400, 152064, 0x2ee872ce
-0, 522000, 152064, 0x809a8fce
-0, 525600, 152064, 0xcfcc3ef9
-0, 529200, 152064, 0xa5be6ce3
-0, 532800, 152064, 0xd75930a0
-0, 536400, 152064, 0x28acb80f
-0, 540000, 152064, 0x223f2152
-0, 543600, 152064, 0x0cf070cb
-0, 547200, 152064, 0xcc7d011e
-0, 550800, 152064, 0xb2c2a63c
-0, 554400, 152064, 0x15514caa
-0, 558000, 152064, 0x0c6d18ee
-0, 561600, 152064, 0x33b4265d
-0, 565200, 152064, 0xb4abaaaf
-0, 568800, 152064, 0x26a7a856
-0, 572400, 152064, 0xc75249cc
-0, 576000, 152064, 0x59ccb0e1
-0, 579600, 152064, 0xc613f202
-0, 583200, 152064, 0xd1c0e171
-0, 586800, 152064, 0xa195da2b
-0, 590400, 152064, 0xbc7ed475
-0, 594000, 152064, 0x99206e2c
-0, 597600, 152064, 0x0ef04e03
-0, 601200, 152064, 0x68cbc6a1
-0, 604800, 152064, 0x2a5304b1
-0, 608400, 152064, 0xf017978b
-0, 612000, 152064, 0x94f5641a
-0, 615600, 152064, 0xd681bd8f
-0, 619200, 152064, 0x16e1e3a3
-0, 622800, 152064, 0xe4486c7e
-0, 626400, 152064, 0xa1bd394e
-0, 630000, 152064, 0x49ad5959
-0, 633600, 152064, 0x82219b70
-0, 637200, 152064, 0x64e2abcf
-0, 640800, 152064, 0x6d7d05d8
-0, 644400, 152064, 0xd9ac2251
-0, 648000, 152064, 0xf477eee5
-0, 651600, 152064, 0xb9826a78
-0, 655200, 152064, 0x97828a37
-0, 658800, 152064, 0x12099b1f
-0, 662400, 152064, 0x1ec45fa7
-0, 666000, 152064, 0xfd5501c9
-0, 669600, 152064, 0x6a8b26a3
-0, 673200, 152064, 0xae58ff40
-0, 676800, 152064, 0xc0f47aa1
-0, 680400, 152064, 0x08bfa548
-0, 684000, 152064, 0x7f2ff5ef
-0, 687600, 152064, 0x5efa94a3
-0, 691200, 152064, 0xf786f970
-0, 694800, 152064, 0xab6bc712
-0, 698400, 152064, 0x25647bee
-0, 702000, 152064, 0x54333ad5
-0, 705600, 152064, 0xb3a99413
-0, 709200, 152064, 0xe7a78a0d
-0, 712800, 152064, 0xa5054abc
-0, 716400, 152064, 0xb94896ea
-0, 720000, 152064, 0x9f641bca
-0, 723600, 152064, 0x7363901c
-0, 727200, 152064, 0xd340a000
-0, 730800, 152064, 0x0217f413
-0, 734400, 152064, 0xbbdba6e6
-0, 738000, 152064, 0xabc42617
-0, 741600, 152064, 0xa3442925
-0, 745200, 152064, 0x7d06c7e9
-0, 748800, 152064, 0xa45e32df
-0, 752400, 152064, 0xf5ed407f
-0, 756000, 152064, 0x5ec235d5
-0, 759600, 152064, 0xa5706635
-0, 763200, 152064, 0xa44a209b
-0, 766800, 152064, 0xf2137e37
-0, 770400, 152064, 0x5220508f
-0, 774000, 152064, 0xae6b37da
-0, 777600, 152064, 0xdf09b6cd
-0, 781200, 152064, 0x2d39e1c0
-0, 784800, 152064, 0xc8284a76
-0, 788400, 152064, 0x7d7bbe76
-0, 792000, 152064, 0xcfed7416
-0, 795600, 152064, 0x81caaedd
-0, 799200, 152064, 0x9dcdd771
-0, 802800, 152064, 0x46c1331b
-0, 806400, 152064, 0xace60efa
-0, 810000, 152064, 0x9e0909f7
-0, 813600, 152064, 0x72f5a321
-0, 817200, 152064, 0x68f8cdcc
-0, 820800, 152064, 0xcc59fdd9
-0, 824400, 152064, 0xc0a700c6
-0, 828000, 152064, 0xf4254dcf
-0, 831600, 152064, 0xc59b46d1
-0, 835200, 152064, 0x2e5b2524
-0, 838800, 152064, 0x46051293
-0, 842400, 152064, 0x3cbcd1cd
-0, 846000, 152064, 0x9f308587
-0, 849600, 152064, 0x6b91633f
-0, 853200, 152064, 0xb7191012
-0, 856800, 152064, 0xd2fd030f
-0, 860400, 152064, 0x15a0ae2e
-0, 864000, 152064, 0xac3920d0
-0, 867600, 152064, 0x0eef80aa
-0, 871200, 152064, 0x319008f1
-0, 874800, 152064, 0x7734450c
-0, 878400, 152064, 0xf112df62
-0, 882000, 152064, 0x1dd8ffae
-0, 885600, 152064, 0x655ef429
-0, 889200, 152064, 0x27026213
-0, 892800, 152064, 0x5c14b015
-0, 896400, 152064, 0x9512abeb
-0, 900000, 152064, 0x961812b2
-0, 903600, 152064, 0xb8890aea
-0, 907200, 152064, 0x4519db9a
-0, 910800, 152064, 0xf358034a
-0, 914400, 152064, 0x45d9f2ab
-0, 918000, 152064, 0xebd47e7d
-0, 921600, 152064, 0x15578be9
-0, 925200, 152064, 0x1b373b2d
-0, 928800, 152064, 0xbbe707e5
-0, 932400, 152064, 0x5bf62385
-0, 936000, 152064, 0x832e6ef5
-0, 939600, 152064, 0x761e5968
-0, 943200, 152064, 0x251f984d
-0, 946800, 152064, 0xbda48899
-0, 950400, 152064, 0x3fd843b9
-0, 954000, 152064, 0x00485425
-0, 957600, 152064, 0x4e282b39
-0, 961200, 152064, 0x2630a8ea
-0, 964800, 152064, 0x5ea5c973
-0, 968400, 152064, 0xfc436d21
-0, 972000, 152064, 0x69852ef5
-0, 975600, 152064, 0x44cb5589
-0, 979200, 152064, 0x32f32725
-0, 982800, 152064, 0x54d50aca
-0, 986400, 152064, 0xe7a639bb
-0, 990000, 152064, 0x01be2ad5
-0, 993600, 152064, 0x5c63eca4
-0, 997200, 152064, 0x94e91116
-0, 1000800, 152064, 0x9a8be637
-0, 1004400, 152064, 0x165d9a12
-0, 1008000, 152064, 0x8c25ca0a
-0, 1011600, 152064, 0x4ee2ed32
-0, 1015200, 152064, 0x4b2fe0c6
-0, 1018800, 152064, 0x521e434e
-0, 1022400, 152064, 0x97679d7e
-0, 1026000, 152064, 0x886b9506
-0, 1029600, 152064, 0x4283eda8
-0, 1033200, 152064, 0xef793c49
-0, 1036800, 152064, 0x68ac2afe
-0, 1040400, 152064, 0x3d1ab510
-0, 1044000, 152064, 0x98d3ec95
-0, 1047600, 152064, 0x09f7e512
-0, 1051200, 152064, 0x801355dd
-0, 1054800, 152064, 0xf2e87a11
-0, 1058400, 152064, 0x16757601
-0, 1062000, 152064, 0x3074d74a
-0, 1065600, 152064, 0xec8c1290
-0, 1069200, 152064, 0x46fb1877
-0, 1072800, 152064, 0xf0b662c4
-0, 1076400, 152064, 0xf8683940
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf8248ceb
+0, 1, 1, 1, 152064, 0xb6204c81
+0, 2, 2, 1, 152064, 0x22fb1737
+0, 3, 3, 1, 152064, 0xce8c3fd7
+0, 4, 4, 1, 152064, 0xee88cedc
+0, 5, 5, 1, 152064, 0x1d4209ca
+0, 6, 6, 1, 152064, 0x6fb15238
+0, 7, 7, 1, 152064, 0x505200c2
+0, 8, 8, 1, 152064, 0xb73574ba
+0, 9, 9, 1, 152064, 0x0586a097
+0, 10, 10, 1, 152064, 0xed50fe02
+0, 11, 11, 1, 152064, 0x222221ab
+0, 12, 12, 1, 152064, 0x8afefd46
+0, 13, 13, 1, 152064, 0x6832c5cc
+0, 14, 14, 1, 152064, 0xba4c8110
+0, 15, 15, 1, 152064, 0x95c07e1e
+0, 16, 16, 1, 152064, 0xc5d6fde9
+0, 17, 17, 1, 152064, 0xe75a4921
+0, 18, 18, 1, 152064, 0x53b61688
+0, 19, 19, 1, 152064, 0x0335424b
+0, 20, 20, 1, 152064, 0x621742c7
+0, 21, 21, 1, 152064, 0x4f69f41b
+0, 22, 22, 1, 152064, 0x6b3f65d7
+0, 23, 23, 1, 152064, 0x8dfde04f
+0, 24, 24, 1, 152064, 0x30750ff5
+0, 25, 25, 1, 152064, 0xe3d70f3c
+0, 26, 26, 1, 152064, 0x0c1af825
+0, 27, 27, 1, 152064, 0x58a53935
+0, 28, 28, 1, 152064, 0xc63d9e98
+0, 29, 29, 1, 152064, 0xa85fdc48
+0, 30, 30, 1, 152064, 0x01bb9784
+0, 31, 31, 1, 152064, 0xdd5cb509
+0, 32, 32, 1, 152064, 0x29ae7d2b
+0, 33, 33, 1, 152064, 0xdb08593e
+0, 34, 34, 1, 152064, 0x372d5d4e
+0, 35, 35, 1, 152064, 0x31522664
+0, 36, 36, 1, 152064, 0x3f13f335
+0, 37, 37, 1, 152064, 0xfd10c19a
+0, 38, 38, 1, 152064, 0xef728975
+0, 39, 39, 1, 152064, 0x8e79234d
+0, 40, 40, 1, 152064, 0x47022791
+0, 41, 41, 1, 152064, 0x1ef9d297
+0, 42, 42, 1, 152064, 0x77bf9738
+0, 43, 43, 1, 152064, 0xd6bc8f03
+0, 44, 44, 1, 152064, 0x283ded4a
+0, 45, 45, 1, 152064, 0xd87098d1
+0, 46, 46, 1, 152064, 0x300077a2
+0, 47, 47, 1, 152064, 0x30ffbea4
+0, 48, 48, 1, 152064, 0x5dc5356b
+0, 49, 49, 1, 152064, 0x31cce185
+0, 50, 50, 1, 152064, 0x47fc9148
+0, 51, 51, 1, 152064, 0x1641491e
+0, 52, 52, 1, 152064, 0x2184937d
+0, 53, 53, 1, 152064, 0x126eb74a
+0, 54, 54, 1, 152064, 0x25c07593
+0, 55, 55, 1, 152064, 0xb1294e7e
+0, 56, 56, 1, 152064, 0x8b35f45d
+0, 57, 57, 1, 152064, 0x54765025
+0, 58, 58, 1, 152064, 0x1d17e901
+0, 59, 59, 1, 152064, 0xaeab358d
+0, 60, 60, 1, 152064, 0xf682c91f
+0, 61, 61, 1, 152064, 0x0b4c9b06
+0, 62, 62, 1, 152064, 0x45f326dc
+0, 63, 63, 1, 152064, 0x132eeda3
+0, 64, 64, 1, 152064, 0x3c9b8e16
+0, 65, 65, 1, 152064, 0x1be133c1
+0, 66, 66, 1, 152064, 0xfa876720
+0, 67, 67, 1, 152064, 0x1666cdb8
+0, 68, 68, 1, 152064, 0x362f418f
+0, 69, 69, 1, 152064, 0x926b4a96
+0, 70, 70, 1, 152064, 0xee3da1df
+0, 71, 71, 1, 152064, 0xc11f025d
+0, 72, 72, 1, 152064, 0x9ba62c19
+0, 73, 73, 1, 152064, 0x0d66194f
+0, 74, 74, 1, 152064, 0x2fd09340
+0, 75, 75, 1, 152064, 0x3dfb9e4d
+0, 76, 76, 1, 152064, 0xa3192ce6
+0, 77, 77, 1, 152064, 0x6bfce0e1
+0, 78, 78, 1, 152064, 0x3b7c5286
+0, 79, 79, 1, 152064, 0xb52f4bf5
+0, 80, 80, 1, 152064, 0x30870027
+0, 81, 81, 1, 152064, 0x6f8e71c3
+0, 82, 82, 1, 152064, 0x8d41b09a
+0, 83, 83, 1, 152064, 0xc1ff1d05
+0, 84, 84, 1, 152064, 0xca54125c
+0, 85, 85, 1, 152064, 0x3342d823
+0, 86, 86, 1, 152064, 0xcc4a7542
+0, 87, 87, 1, 152064, 0x21fc9a9d
+0, 88, 88, 1, 152064, 0x91587574
+0, 89, 89, 1, 152064, 0x30929cc2
+0, 90, 90, 1, 152064, 0xf07606b7
+0, 91, 91, 1, 152064, 0x0476b876
+0, 92, 92, 1, 152064, 0x213333dc
+0, 93, 93, 1, 152064, 0x87c67597
+0, 94, 94, 1, 152064, 0x05434641
+0, 95, 95, 1, 152064, 0x959eeffc
+0, 96, 96, 1, 152064, 0x92a130b4
+0, 97, 97, 1, 152064, 0x53d0b544
+0, 98, 98, 1, 152064, 0xaf8c233e
+0, 99, 99, 1, 152064, 0xd3d4259a
+0, 100, 100, 1, 152064, 0xa0287753
+0, 101, 101, 1, 152064, 0xfa23972a
+0, 102, 102, 1, 152064, 0xacae756d
+0, 103, 103, 1, 152064, 0xd8b58b5c
+0, 104, 104, 1, 152064, 0x7db2c755
+0, 105, 105, 1, 152064, 0x31e7b79a
+0, 106, 106, 1, 152064, 0xd8660d98
+0, 107, 107, 1, 152064, 0xdcf0d10d
+0, 108, 108, 1, 152064, 0x3e6567e6
+0, 109, 109, 1, 152064, 0xec3530fd
+0, 110, 110, 1, 152064, 0xf686c61a
+0, 111, 111, 1, 152064, 0x6e706804
+0, 112, 112, 1, 152064, 0x5fd4a1a3
+0, 113, 113, 1, 152064, 0xbb3384f7
+0, 114, 114, 1, 152064, 0x8ffb14dd
+0, 115, 115, 1, 152064, 0x01253a73
+0, 116, 116, 1, 152064, 0xf89c15df
+0, 117, 117, 1, 152064, 0xda2b0b4c
+0, 118, 118, 1, 152064, 0xfc9dfcc1
+0, 119, 119, 1, 152064, 0xfef4f0fa
+0, 120, 120, 1, 152064, 0x91669bea
+0, 121, 121, 1, 152064, 0x3664a565
+0, 122, 122, 1, 152064, 0x32dd7923
+0, 123, 123, 1, 152064, 0x26825231
+0, 124, 124, 1, 152064, 0x5f81896e
+0, 125, 125, 1, 152064, 0x0c64ca2f
+0, 126, 126, 1, 152064, 0x488bb665
+0, 127, 127, 1, 152064, 0x4d183a0f
+0, 128, 128, 1, 152064, 0xed169321
+0, 129, 129, 1, 152064, 0xcec22917
+0, 130, 130, 1, 152064, 0xbe04ea6c
+0, 131, 131, 1, 152064, 0x32b8bf9f
+0, 132, 132, 1, 152064, 0x9c7c2e13
+0, 133, 133, 1, 152064, 0x232e3016
+0, 134, 134, 1, 152064, 0x1b76c08e
+0, 135, 135, 1, 152064, 0x7425d821
+0, 136, 136, 1, 152064, 0x0818ff3c
+0, 137, 137, 1, 152064, 0xb4f2c42b
+0, 138, 138, 1, 152064, 0xe029f979
+0, 139, 139, 1, 152064, 0x97c54c2f
+0, 140, 140, 1, 152064, 0xd101c3b5
+0, 141, 141, 1, 152064, 0x5ed1f5d4
+0, 142, 142, 1, 152064, 0xc28264d1
+0, 143, 143, 1, 152064, 0xa162dd31
+0, 144, 144, 1, 152064, 0x2ee872ce
+0, 145, 145, 1, 152064, 0x809a8fce
+0, 146, 146, 1, 152064, 0xcfcc3ef9
+0, 147, 147, 1, 152064, 0xa5be6ce3
+0, 148, 148, 1, 152064, 0xd75930a0
+0, 149, 149, 1, 152064, 0x28acb80f
+0, 150, 150, 1, 152064, 0x223f2152
+0, 151, 151, 1, 152064, 0x0cf070cb
+0, 152, 152, 1, 152064, 0xcc7d011e
+0, 153, 153, 1, 152064, 0xb2c2a63c
+0, 154, 154, 1, 152064, 0x15514caa
+0, 155, 155, 1, 152064, 0x0c6d18ee
+0, 156, 156, 1, 152064, 0x33b4265d
+0, 157, 157, 1, 152064, 0xb4abaaaf
+0, 158, 158, 1, 152064, 0x26a7a856
+0, 159, 159, 1, 152064, 0xc75249cc
+0, 160, 160, 1, 152064, 0x59ccb0e1
+0, 161, 161, 1, 152064, 0xc613f202
+0, 162, 162, 1, 152064, 0xd1c0e171
+0, 163, 163, 1, 152064, 0xa195da2b
+0, 164, 164, 1, 152064, 0xbc7ed475
+0, 165, 165, 1, 152064, 0x99206e2c
+0, 166, 166, 1, 152064, 0x0ef04e03
+0, 167, 167, 1, 152064, 0x68cbc6a1
+0, 168, 168, 1, 152064, 0x2a5304b1
+0, 169, 169, 1, 152064, 0xf017978b
+0, 170, 170, 1, 152064, 0x94f5641a
+0, 171, 171, 1, 152064, 0xd681bd8f
+0, 172, 172, 1, 152064, 0x16e1e3a3
+0, 173, 173, 1, 152064, 0xe4486c7e
+0, 174, 174, 1, 152064, 0xa1bd394e
+0, 175, 175, 1, 152064, 0x49ad5959
+0, 176, 176, 1, 152064, 0x82219b70
+0, 177, 177, 1, 152064, 0x64e2abcf
+0, 178, 178, 1, 152064, 0x6d7d05d8
+0, 179, 179, 1, 152064, 0xd9ac2251
+0, 180, 180, 1, 152064, 0xf477eee5
+0, 181, 181, 1, 152064, 0xb9826a78
+0, 182, 182, 1, 152064, 0x97828a37
+0, 183, 183, 1, 152064, 0x12099b1f
+0, 184, 184, 1, 152064, 0x1ec45fa7
+0, 185, 185, 1, 152064, 0xfd5501c9
+0, 186, 186, 1, 152064, 0x6a8b26a3
+0, 187, 187, 1, 152064, 0xae58ff40
+0, 188, 188, 1, 152064, 0xc0f47aa1
+0, 189, 189, 1, 152064, 0x08bfa548
+0, 190, 190, 1, 152064, 0x7f2ff5ef
+0, 191, 191, 1, 152064, 0x5efa94a3
+0, 192, 192, 1, 152064, 0xf786f970
+0, 193, 193, 1, 152064, 0xab6bc712
+0, 194, 194, 1, 152064, 0x25647bee
+0, 195, 195, 1, 152064, 0x54333ad5
+0, 196, 196, 1, 152064, 0xb3a99413
+0, 197, 197, 1, 152064, 0xe7a78a0d
+0, 198, 198, 1, 152064, 0xa5054abc
+0, 199, 199, 1, 152064, 0xb94896ea
+0, 200, 200, 1, 152064, 0x9f641bca
+0, 201, 201, 1, 152064, 0x7363901c
+0, 202, 202, 1, 152064, 0xd340a000
+0, 203, 203, 1, 152064, 0x0217f413
+0, 204, 204, 1, 152064, 0xbbdba6e6
+0, 205, 205, 1, 152064, 0xabc42617
+0, 206, 206, 1, 152064, 0xa3442925
+0, 207, 207, 1, 152064, 0x7d06c7e9
+0, 208, 208, 1, 152064, 0xa45e32df
+0, 209, 209, 1, 152064, 0xf5ed407f
+0, 210, 210, 1, 152064, 0x5ec235d5
+0, 211, 211, 1, 152064, 0xa5706635
+0, 212, 212, 1, 152064, 0xa44a209b
+0, 213, 213, 1, 152064, 0xf2137e37
+0, 214, 214, 1, 152064, 0x5220508f
+0, 215, 215, 1, 152064, 0xae6b37da
+0, 216, 216, 1, 152064, 0xdf09b6cd
+0, 217, 217, 1, 152064, 0x2d39e1c0
+0, 218, 218, 1, 152064, 0xc8284a76
+0, 219, 219, 1, 152064, 0x7d7bbe76
+0, 220, 220, 1, 152064, 0xcfed7416
+0, 221, 221, 1, 152064, 0x81caaedd
+0, 222, 222, 1, 152064, 0x9dcdd771
+0, 223, 223, 1, 152064, 0x46c1331b
+0, 224, 224, 1, 152064, 0xace60efa
+0, 225, 225, 1, 152064, 0x9e0909f7
+0, 226, 226, 1, 152064, 0x72f5a321
+0, 227, 227, 1, 152064, 0x68f8cdcc
+0, 228, 228, 1, 152064, 0xcc59fdd9
+0, 229, 229, 1, 152064, 0xc0a700c6
+0, 230, 230, 1, 152064, 0xf4254dcf
+0, 231, 231, 1, 152064, 0xc59b46d1
+0, 232, 232, 1, 152064, 0x2e5b2524
+0, 233, 233, 1, 152064, 0x46051293
+0, 234, 234, 1, 152064, 0x3cbcd1cd
+0, 235, 235, 1, 152064, 0x9f308587
+0, 236, 236, 1, 152064, 0x6b91633f
+0, 237, 237, 1, 152064, 0xb7191012
+0, 238, 238, 1, 152064, 0xd2fd030f
+0, 239, 239, 1, 152064, 0x15a0ae2e
+0, 240, 240, 1, 152064, 0xac3920d0
+0, 241, 241, 1, 152064, 0x0eef80aa
+0, 242, 242, 1, 152064, 0x319008f1
+0, 243, 243, 1, 152064, 0x7734450c
+0, 244, 244, 1, 152064, 0xf112df62
+0, 245, 245, 1, 152064, 0x1dd8ffae
+0, 246, 246, 1, 152064, 0x655ef429
+0, 247, 247, 1, 152064, 0x27026213
+0, 248, 248, 1, 152064, 0x5c14b015
+0, 249, 249, 1, 152064, 0x9512abeb
+0, 250, 250, 1, 152064, 0x961812b2
+0, 251, 251, 1, 152064, 0xb8890aea
+0, 252, 252, 1, 152064, 0x4519db9a
+0, 253, 253, 1, 152064, 0xf358034a
+0, 254, 254, 1, 152064, 0x45d9f2ab
+0, 255, 255, 1, 152064, 0xebd47e7d
+0, 256, 256, 1, 152064, 0x15578be9
+0, 257, 257, 1, 152064, 0x1b373b2d
+0, 258, 258, 1, 152064, 0xbbe707e5
+0, 259, 259, 1, 152064, 0x5bf62385
+0, 260, 260, 1, 152064, 0x832e6ef5
+0, 261, 261, 1, 152064, 0x761e5968
+0, 262, 262, 1, 152064, 0x251f984d
+0, 263, 263, 1, 152064, 0xbda48899
+0, 264, 264, 1, 152064, 0x3fd843b9
+0, 265, 265, 1, 152064, 0x00485425
+0, 266, 266, 1, 152064, 0x4e282b39
+0, 267, 267, 1, 152064, 0x2630a8ea
+0, 268, 268, 1, 152064, 0x5ea5c973
+0, 269, 269, 1, 152064, 0xfc436d21
+0, 270, 270, 1, 152064, 0x69852ef5
+0, 271, 271, 1, 152064, 0x44cb5589
+0, 272, 272, 1, 152064, 0x32f32725
+0, 273, 273, 1, 152064, 0x54d50aca
+0, 274, 274, 1, 152064, 0xe7a639bb
+0, 275, 275, 1, 152064, 0x01be2ad5
+0, 276, 276, 1, 152064, 0x5c63eca4
+0, 277, 277, 1, 152064, 0x94e91116
+0, 278, 278, 1, 152064, 0x9a8be637
+0, 279, 279, 1, 152064, 0x165d9a12
+0, 280, 280, 1, 152064, 0x8c25ca0a
+0, 281, 281, 1, 152064, 0x4ee2ed32
+0, 282, 282, 1, 152064, 0x4b2fe0c6
+0, 283, 283, 1, 152064, 0x521e434e
+0, 284, 284, 1, 152064, 0x97679d7e
+0, 285, 285, 1, 152064, 0x886b9506
+0, 286, 286, 1, 152064, 0x4283eda8
+0, 287, 287, 1, 152064, 0xef793c49
+0, 288, 288, 1, 152064, 0x68ac2afe
+0, 289, 289, 1, 152064, 0x3d1ab510
+0, 290, 290, 1, 152064, 0x98d3ec95
+0, 291, 291, 1, 152064, 0x09f7e512
+0, 292, 292, 1, 152064, 0x801355dd
+0, 293, 293, 1, 152064, 0xf2e87a11
+0, 294, 294, 1, 152064, 0x16757601
+0, 295, 295, 1, 152064, 0x3074d74a
+0, 296, 296, 1, 152064, 0xec8c1290
+0, 297, 297, 1, 152064, 0x46fb1877
+0, 298, 298, 1, 152064, 0xf0b662c4
+0, 299, 299, 1, 152064, 0xf8683940
diff --git a/tests/ref/fate/h264-conformance-frext-hpcamolq_brcm_b b/tests/ref/fate/h264-conformance-frext-hpcamolq_brcm_b
index 6d2e27a663..00f04fdf61 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcamolq_brcm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcamolq_brcm_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0xac83f54f
-0, 3600, 152064, 0x4d673b43
-0, 7200, 152064, 0x9050731f
-0, 10800, 152064, 0x4a0741f3
-0, 14400, 152064, 0xb2371c28
-0, 18000, 152064, 0x42210524
-0, 21600, 152064, 0x385f4be5
-0, 25200, 152064, 0xe44ec27a
-0, 28800, 152064, 0xfc668399
-0, 32400, 152064, 0x903fe200
-0, 36000, 152064, 0x4da1deaa
-0, 39600, 152064, 0x68c956ab
-0, 43200, 152064, 0x9cfad799
-0, 46800, 152064, 0x841ed3cd
-0, 50400, 152064, 0x99e66b48
-0, 54000, 152064, 0xcfa28482
-0, 57600, 152064, 0x72f2c717
-0, 61200, 152064, 0xd1d92c80
-0, 64800, 152064, 0x595063eb
-0, 68400, 152064, 0x87373979
-0, 72000, 152064, 0xfa0e75ac
-0, 75600, 152064, 0x0cef3592
-0, 79200, 152064, 0xecfc9c9a
-0, 82800, 152064, 0x5776ff23
-0, 86400, 152064, 0x83419e37
-0, 90000, 152064, 0x4bb31524
-0, 93600, 152064, 0xad8e1bdc
-0, 97200, 152064, 0x7243b6cb
-0, 100800, 152064, 0xf016cda0
-0, 104400, 152064, 0xa2c1d730
-0, 108000, 152064, 0x7999d704
-0, 111600, 152064, 0x86ad0baf
-0, 115200, 152064, 0x35dafe62
-0, 118800, 152064, 0xcb2f5de2
-0, 122400, 152064, 0x3542eb82
-0, 126000, 152064, 0xa704dd92
-0, 129600, 152064, 0x3e50ed92
-0, 133200, 152064, 0x2fe5428a
-0, 136800, 152064, 0xf05dab9d
-0, 140400, 152064, 0xef40c2a3
-0, 144000, 152064, 0x2df8983f
-0, 147600, 152064, 0x0a205c93
-0, 151200, 152064, 0x505562ea
-0, 154800, 152064, 0x24114860
-0, 158400, 152064, 0x2eecccc1
-0, 162000, 152064, 0xc809105f
-0, 165600, 152064, 0x394ab285
-0, 169200, 152064, 0xfda68f17
-0, 172800, 152064, 0x2fd66a51
-0, 176400, 152064, 0x3abb891a
-0, 180000, 152064, 0x62266682
-0, 183600, 152064, 0x68fb38e9
-0, 187200, 152064, 0xae4b9d9b
-0, 190800, 152064, 0xdaf8e150
-0, 194400, 152064, 0x2fd8bf74
-0, 198000, 152064, 0xd2ad6c38
-0, 201600, 152064, 0x76290574
-0, 205200, 152064, 0xaea6b9be
-0, 208800, 152064, 0xd0d797d7
-0, 212400, 152064, 0x87ad00b2
-0, 216000, 152064, 0xe57d11d0
-0, 219600, 152064, 0x25a5c567
-0, 223200, 152064, 0x477e2202
-0, 226800, 152064, 0xaa0618ca
-0, 230400, 152064, 0xb5d2262b
-0, 234000, 152064, 0xae7c135d
-0, 237600, 152064, 0xddb86a7c
-0, 241200, 152064, 0x59bad3ba
-0, 244800, 152064, 0x0b155178
-0, 248400, 152064, 0xc2f265d9
-0, 252000, 152064, 0xb550e8a8
-0, 255600, 152064, 0x1fef6cbc
-0, 259200, 152064, 0xd3d4e578
-0, 262800, 152064, 0x70d20c0d
-0, 266400, 152064, 0xbb8e95a9
-0, 270000, 152064, 0x2a92cda3
-0, 273600, 152064, 0xc0a5e7e0
-0, 277200, 152064, 0x15b99dab
-0, 280800, 152064, 0x536d44e8
-0, 284400, 152064, 0xe43fb4fa
-0, 288000, 152064, 0xdb0873b0
-0, 291600, 152064, 0xc7901e9b
-0, 295200, 152064, 0x36b69923
-0, 298800, 152064, 0xc6a8ac8d
-0, 302400, 152064, 0xd7e4c595
-0, 306000, 152064, 0x2d64cf38
-0, 309600, 152064, 0x007878b1
-0, 313200, 152064, 0xc9c997d4
-0, 316800, 152064, 0xf9de12de
-0, 320400, 152064, 0x25982d54
-0, 324000, 152064, 0xea5eef7c
-0, 327600, 152064, 0x108aceb2
-0, 331200, 152064, 0x3cbac8c8
-0, 334800, 152064, 0x581ec9e1
-0, 338400, 152064, 0xc898bd7d
-0, 342000, 152064, 0x142a0235
-0, 345600, 152064, 0xf9d0aa7e
-0, 349200, 152064, 0xb9fe0bc4
-0, 352800, 152064, 0x21889912
-0, 356400, 152064, 0x3fb2ab18
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xac83f54f
+0, 1, 1, 1, 152064, 0x4d673b43
+0, 2, 2, 1, 152064, 0x9050731f
+0, 3, 3, 1, 152064, 0x4a0741f3
+0, 4, 4, 1, 152064, 0xb2371c28
+0, 5, 5, 1, 152064, 0x42210524
+0, 6, 6, 1, 152064, 0x385f4be5
+0, 7, 7, 1, 152064, 0xe44ec27a
+0, 8, 8, 1, 152064, 0xfc668399
+0, 9, 9, 1, 152064, 0x903fe200
+0, 10, 10, 1, 152064, 0x4da1deaa
+0, 11, 11, 1, 152064, 0x68c956ab
+0, 12, 12, 1, 152064, 0x9cfad799
+0, 13, 13, 1, 152064, 0x841ed3cd
+0, 14, 14, 1, 152064, 0x99e66b48
+0, 15, 15, 1, 152064, 0xcfa28482
+0, 16, 16, 1, 152064, 0x72f2c717
+0, 17, 17, 1, 152064, 0xd1d92c80
+0, 18, 18, 1, 152064, 0x595063eb
+0, 19, 19, 1, 152064, 0x87373979
+0, 20, 20, 1, 152064, 0xfa0e75ac
+0, 21, 21, 1, 152064, 0x0cef3592
+0, 22, 22, 1, 152064, 0xecfc9c9a
+0, 23, 23, 1, 152064, 0x5776ff23
+0, 24, 24, 1, 152064, 0x83419e37
+0, 25, 25, 1, 152064, 0x4bb31524
+0, 26, 26, 1, 152064, 0xad8e1bdc
+0, 27, 27, 1, 152064, 0x7243b6cb
+0, 28, 28, 1, 152064, 0xf016cda0
+0, 29, 29, 1, 152064, 0xa2c1d730
+0, 30, 30, 1, 152064, 0x7999d704
+0, 31, 31, 1, 152064, 0x86ad0baf
+0, 32, 32, 1, 152064, 0x35dafe62
+0, 33, 33, 1, 152064, 0xcb2f5de2
+0, 34, 34, 1, 152064, 0x3542eb82
+0, 35, 35, 1, 152064, 0xa704dd92
+0, 36, 36, 1, 152064, 0x3e50ed92
+0, 37, 37, 1, 152064, 0x2fe5428a
+0, 38, 38, 1, 152064, 0xf05dab9d
+0, 39, 39, 1, 152064, 0xef40c2a3
+0, 40, 40, 1, 152064, 0x2df8983f
+0, 41, 41, 1, 152064, 0x0a205c93
+0, 42, 42, 1, 152064, 0x505562ea
+0, 43, 43, 1, 152064, 0x24114860
+0, 44, 44, 1, 152064, 0x2eecccc1
+0, 45, 45, 1, 152064, 0xc809105f
+0, 46, 46, 1, 152064, 0x394ab285
+0, 47, 47, 1, 152064, 0xfda68f17
+0, 48, 48, 1, 152064, 0x2fd66a51
+0, 49, 49, 1, 152064, 0x3abb891a
+0, 50, 50, 1, 152064, 0x62266682
+0, 51, 51, 1, 152064, 0x68fb38e9
+0, 52, 52, 1, 152064, 0xae4b9d9b
+0, 53, 53, 1, 152064, 0xdaf8e150
+0, 54, 54, 1, 152064, 0x2fd8bf74
+0, 55, 55, 1, 152064, 0xd2ad6c38
+0, 56, 56, 1, 152064, 0x76290574
+0, 57, 57, 1, 152064, 0xaea6b9be
+0, 58, 58, 1, 152064, 0xd0d797d7
+0, 59, 59, 1, 152064, 0x87ad00b2
+0, 60, 60, 1, 152064, 0xe57d11d0
+0, 61, 61, 1, 152064, 0x25a5c567
+0, 62, 62, 1, 152064, 0x477e2202
+0, 63, 63, 1, 152064, 0xaa0618ca
+0, 64, 64, 1, 152064, 0xb5d2262b
+0, 65, 65, 1, 152064, 0xae7c135d
+0, 66, 66, 1, 152064, 0xddb86a7c
+0, 67, 67, 1, 152064, 0x59bad3ba
+0, 68, 68, 1, 152064, 0x0b155178
+0, 69, 69, 1, 152064, 0xc2f265d9
+0, 70, 70, 1, 152064, 0xb550e8a8
+0, 71, 71, 1, 152064, 0x1fef6cbc
+0, 72, 72, 1, 152064, 0xd3d4e578
+0, 73, 73, 1, 152064, 0x70d20c0d
+0, 74, 74, 1, 152064, 0xbb8e95a9
+0, 75, 75, 1, 152064, 0x2a92cda3
+0, 76, 76, 1, 152064, 0xc0a5e7e0
+0, 77, 77, 1, 152064, 0x15b99dab
+0, 78, 78, 1, 152064, 0x536d44e8
+0, 79, 79, 1, 152064, 0xe43fb4fa
+0, 80, 80, 1, 152064, 0xdb0873b0
+0, 81, 81, 1, 152064, 0xc7901e9b
+0, 82, 82, 1, 152064, 0x36b69923
+0, 83, 83, 1, 152064, 0xc6a8ac8d
+0, 84, 84, 1, 152064, 0xd7e4c595
+0, 85, 85, 1, 152064, 0x2d64cf38
+0, 86, 86, 1, 152064, 0x007878b1
+0, 87, 87, 1, 152064, 0xc9c997d4
+0, 88, 88, 1, 152064, 0xf9de12de
+0, 89, 89, 1, 152064, 0x25982d54
+0, 90, 90, 1, 152064, 0xea5eef7c
+0, 91, 91, 1, 152064, 0x108aceb2
+0, 92, 92, 1, 152064, 0x3cbac8c8
+0, 93, 93, 1, 152064, 0x581ec9e1
+0, 94, 94, 1, 152064, 0xc898bd7d
+0, 95, 95, 1, 152064, 0x142a0235
+0, 96, 96, 1, 152064, 0xf9d0aa7e
+0, 97, 97, 1, 152064, 0xb9fe0bc4
+0, 98, 98, 1, 152064, 0x21889912
+0, 99, 99, 1, 152064, 0x3fb2ab18
diff --git a/tests/ref/fate/h264-conformance-frext-hpcanl_brcm_c b/tests/ref/fate/h264-conformance-frext-hpcanl_brcm_c
index fe474650e5..23ad267a2d 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcanl_brcm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpcanl_brcm_c
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x2744afa1
-0, 3600, 152064, 0x17246583
-0, 7200, 152064, 0x501836ed
-0, 10800, 152064, 0xe90d6961
-0, 14400, 152064, 0x27abe1ad
-0, 18000, 152064, 0xcfc730e4
-0, 21600, 152064, 0xeaaa83ee
-0, 25200, 152064, 0xb5d80ebd
-0, 28800, 152064, 0x1e1b9d03
-0, 32400, 152064, 0x60e7cf33
-0, 36000, 152064, 0xc44616b1
-0, 39600, 152064, 0x0a2a5906
-0, 43200, 152064, 0xf101309c
-0, 46800, 152064, 0x0b57f348
-0, 50400, 152064, 0x4f018c05
-0, 54000, 152064, 0x22359c60
-0, 57600, 152064, 0x020f1cc3
-0, 61200, 152064, 0x15be3892
-0, 64800, 152064, 0x834a2e23
-0, 68400, 152064, 0x1176586c
-0, 72000, 152064, 0x9cf25641
-0, 75600, 152064, 0xc1c4051d
-0, 79200, 152064, 0x790d8bfa
-0, 82800, 152064, 0x4dcbe7d7
-0, 86400, 152064, 0xe81d3b7b
-0, 90000, 152064, 0xe9e21309
-0, 93600, 152064, 0x22021dbc
-0, 97200, 152064, 0x430c5ecb
-0, 100800, 152064, 0xf524be8b
-0, 104400, 152064, 0xa437dadc
-0, 108000, 152064, 0xff00b440
-0, 111600, 152064, 0x4bd1bf15
-0, 115200, 152064, 0x1f46a3ea
-0, 118800, 152064, 0x60b47c5e
-0, 122400, 152064, 0x45117ac6
-0, 126000, 152064, 0x43894fca
-0, 129600, 152064, 0x21572b55
-0, 133200, 152064, 0xe96def09
-0, 136800, 152064, 0x4d2ab41f
-0, 140400, 152064, 0x072d6b06
-0, 144000, 152064, 0x81865687
-0, 147600, 152064, 0x8d9a0ea6
-0, 151200, 152064, 0x1484d3cd
-0, 154800, 152064, 0xbdabae6b
-0, 158400, 152064, 0x4211edbe
-0, 162000, 152064, 0xd84dad6d
-0, 165600, 152064, 0xe4e79344
-0, 169200, 152064, 0x9c1addd7
-0, 172800, 152064, 0xdcf94283
-0, 176400, 152064, 0x6bd005b2
-0, 180000, 152064, 0x9679bd10
-0, 183600, 152064, 0x052064ab
-0, 187200, 152064, 0x915db3f3
-0, 190800, 152064, 0xec2fbd58
-0, 194400, 152064, 0x26728258
-0, 198000, 152064, 0x2b2b617f
-0, 201600, 152064, 0x2339eb3d
-0, 205200, 152064, 0xcf6e6773
-0, 208800, 152064, 0xb993efe4
-0, 212400, 152064, 0x4054253d
-0, 216000, 152064, 0x4befe5b5
-0, 219600, 152064, 0x0678c0fa
-0, 223200, 152064, 0xe3c54a03
-0, 226800, 152064, 0xffa3210c
-0, 230400, 152064, 0xed04b823
-0, 234000, 152064, 0x00926457
-0, 237600, 152064, 0xd56aaaf0
-0, 241200, 152064, 0x6047ef6e
-0, 244800, 152064, 0x44316d07
-0, 248400, 152064, 0xe8a879b7
-0, 252000, 152064, 0x1856cd86
-0, 255600, 152064, 0x6528349a
-0, 259200, 152064, 0xdeff676e
-0, 262800, 152064, 0xda412e47
-0, 266400, 152064, 0xa2c2a96f
-0, 270000, 152064, 0xc703b8cd
-0, 273600, 152064, 0x20b0650b
-0, 277200, 152064, 0x8c14faa5
-0, 280800, 152064, 0xa442706c
-0, 284400, 152064, 0x6e456137
-0, 288000, 152064, 0x6dde11c6
-0, 291600, 152064, 0xb017978a
-0, 295200, 152064, 0xc0bad34b
-0, 298800, 152064, 0x8bd439ee
-0, 302400, 152064, 0xa92735e4
-0, 306000, 152064, 0x1623f501
-0, 309600, 152064, 0x5be980b2
-0, 313200, 152064, 0x4306b9bf
-0, 316800, 152064, 0xb4f18976
-0, 320400, 152064, 0x4ffb9b46
-0, 324000, 152064, 0x23082275
-0, 327600, 152064, 0xc7f0e087
-0, 331200, 152064, 0x68b95327
-0, 334800, 152064, 0xd030a8e4
-0, 338400, 152064, 0xf8f9615c
-0, 342000, 152064, 0x1b26fe3e
-0, 345600, 152064, 0x3381608d
-0, 349200, 152064, 0x9939d49d
-0, 352800, 152064, 0x575f4f94
-0, 356400, 152064, 0x436c581c
-0, 360000, 152064, 0x8f47aa58
-0, 363600, 152064, 0xd251d95a
-0, 367200, 152064, 0x3c33b32c
-0, 370800, 152064, 0xa1e19413
-0, 374400, 152064, 0x8d95cbad
-0, 378000, 152064, 0x98cbd35e
-0, 381600, 152064, 0xceb81a0f
-0, 385200, 152064, 0x5490fab1
-0, 388800, 152064, 0x8e57a38c
-0, 392400, 152064, 0xc379517a
-0, 396000, 152064, 0xafc4f747
-0, 399600, 152064, 0xbc9c9be4
-0, 403200, 152064, 0xd602b2f5
-0, 406800, 152064, 0x8d85a450
-0, 410400, 152064, 0x48183c74
-0, 414000, 152064, 0xd1725590
-0, 417600, 152064, 0x5ef42ed7
-0, 421200, 152064, 0xad3a3883
-0, 424800, 152064, 0x7a3e0ddd
-0, 428400, 152064, 0x59bdfd38
-0, 432000, 152064, 0x5ac3ba9f
-0, 435600, 152064, 0x266cbd00
-0, 439200, 152064, 0x97d29e00
-0, 442800, 152064, 0x620774c2
-0, 446400, 152064, 0xaae8b96f
-0, 450000, 152064, 0x5f6bdfb6
-0, 453600, 152064, 0xb239da53
-0, 457200, 152064, 0x654b5680
-0, 460800, 152064, 0xd796b723
-0, 464400, 152064, 0xd5c84a81
-0, 468000, 152064, 0x2a761652
-0, 471600, 152064, 0x1137e145
-0, 475200, 152064, 0x1a9a451b
-0, 478800, 152064, 0x5ca751c4
-0, 482400, 152064, 0x074acec7
-0, 486000, 152064, 0x9ddfe77d
-0, 489600, 152064, 0xfb211c29
-0, 493200, 152064, 0x681ad4dd
-0, 496800, 152064, 0x702c12cc
-0, 500400, 152064, 0x556c5101
-0, 504000, 152064, 0x39d4bb54
-0, 507600, 152064, 0xa3a118d6
-0, 511200, 152064, 0xb78b7db1
-0, 514800, 152064, 0x4e20eed5
-0, 518400, 152064, 0x6555a9df
-0, 522000, 152064, 0xb607a9a4
-0, 525600, 152064, 0x3cf96a94
-0, 529200, 152064, 0xb2679007
-0, 532800, 152064, 0xf09d5b85
-0, 536400, 152064, 0x3961ba07
-0, 540000, 152064, 0x0c28363a
-0, 543600, 152064, 0x0a017c2d
-0, 547200, 152064, 0x3a661de3
-0, 550800, 152064, 0xf8d1bdee
-0, 554400, 152064, 0x6f47791b
-0, 558000, 152064, 0xe05b22c6
-0, 561600, 152064, 0x7cc93bb0
-0, 565200, 152064, 0xeb90c3d8
-0, 568800, 152064, 0x1a1eac98
-0, 572400, 152064, 0x92985671
-0, 576000, 152064, 0x2fe3ce53
-0, 579600, 152064, 0x61def691
-0, 583200, 152064, 0x90820730
-0, 586800, 152064, 0x17630372
-0, 590400, 152064, 0xaf6cea12
-0, 594000, 152064, 0xfe3b7ecc
-0, 597600, 152064, 0x904a5b2e
-0, 601200, 152064, 0x0d88d5f2
-0, 604800, 152064, 0x498d22b1
-0, 608400, 152064, 0x56baba83
-0, 612000, 152064, 0xda4d6dfa
-0, 615600, 152064, 0xaa38cbdd
-0, 619200, 152064, 0x4077f15d
-0, 622800, 152064, 0x7e006ec2
-0, 626400, 152064, 0x59964a89
-0, 630000, 152064, 0x04c078e3
-0, 633600, 152064, 0x7a5faf97
-0, 637200, 152064, 0xc517b3e9
-0, 640800, 152064, 0xfcc81af5
-0, 644400, 152064, 0xdcb44f62
-0, 648000, 152064, 0x2a080b72
-0, 651600, 152064, 0x91f88c67
-0, 655200, 152064, 0xd39caf81
-0, 658800, 152064, 0x0764ae31
-0, 662400, 152064, 0x0ddb82ed
-0, 666000, 152064, 0xed6d17e4
-0, 669600, 152064, 0xb4f74712
-0, 673200, 152064, 0x23a20787
-0, 676800, 152064, 0x853e7b33
-0, 680400, 152064, 0xc6bac173
-0, 684000, 152064, 0xb590ec15
-0, 687600, 152064, 0xfdd2943c
-0, 691200, 152064, 0xba5d1160
-0, 694800, 152064, 0xe732c5a7
-0, 698400, 152064, 0x279f6ce9
-0, 702000, 152064, 0xb3835829
-0, 705600, 152064, 0x0901b2a1
-0, 709200, 152064, 0x3df2b8f8
-0, 712800, 152064, 0x374496a4
-0, 716400, 152064, 0x1bc6a4ae
-0, 720000, 152064, 0xdb4b372e
-0, 723600, 152064, 0x8c11c214
-0, 727200, 152064, 0xd2d5c093
-0, 730800, 152064, 0x8dda094e
-0, 734400, 152064, 0x9b2cc401
-0, 738000, 152064, 0x1a3b49d5
-0, 741600, 152064, 0xaf5342ff
-0, 745200, 152064, 0x74c0de83
-0, 748800, 152064, 0xcf486137
-0, 752400, 152064, 0xcf005b3b
-0, 756000, 152064, 0x86a64c55
-0, 759600, 152064, 0xdd3f7ae9
-0, 763200, 152064, 0xb0d01e53
-0, 766800, 152064, 0x83219065
-0, 770400, 152064, 0x17a35d27
-0, 774000, 152064, 0xf92645b5
-0, 777600, 152064, 0x8322bdbf
-0, 781200, 152064, 0xd589f6a2
-0, 784800, 152064, 0x80a62d9e
-0, 788400, 152064, 0x05b3e0d1
-0, 792000, 152064, 0xd657aa0b
-0, 795600, 152064, 0xec5ac2dd
-0, 799200, 152064, 0xbf0ff969
-0, 802800, 152064, 0xc34a5140
-0, 806400, 152064, 0x814705c4
-0, 810000, 152064, 0xe9592008
-0, 813600, 152064, 0xf12c933c
-0, 817200, 152064, 0x2daee178
-0, 820800, 152064, 0xa2573028
-0, 824400, 152064, 0x6109f58d
-0, 828000, 152064, 0x64ab8ce4
-0, 831600, 152064, 0x13a88b6e
-0, 835200, 152064, 0x8f0181a9
-0, 838800, 152064, 0xd5295fd4
-0, 842400, 152064, 0xfdbeeb0d
-0, 846000, 152064, 0x05ecd231
-0, 849600, 152064, 0x48d164cd
-0, 853200, 152064, 0xc279cf63
-0, 856800, 152064, 0x1d5e6a03
-0, 860400, 152064, 0xd9dc1807
-0, 864000, 152064, 0xbcc83676
-0, 867600, 152064, 0x65a9811e
-0, 871200, 152064, 0x3ccfe5a8
-0, 874800, 152064, 0x2f2ff051
-0, 878400, 152064, 0x9193e093
-0, 882000, 152064, 0x9a30fdc6
-0, 885600, 152064, 0x90b7ea10
-0, 889200, 152064, 0x3291910c
-0, 892800, 152064, 0x2335d186
-0, 896400, 152064, 0x2890cf1d
-0, 900000, 152064, 0x8c8b6245
-0, 903600, 152064, 0x24b84eda
-0, 907200, 152064, 0x04a12446
-0, 910800, 152064, 0xd9d91d51
-0, 914400, 152064, 0xbf450adf
-0, 918000, 152064, 0xa19a9a41
-0, 921600, 152064, 0x2211ab01
-0, 925200, 152064, 0x8fe85430
-0, 928800, 152064, 0x5a152861
-0, 932400, 152064, 0x7fe76995
-0, 936000, 152064, 0x508b99cd
-0, 939600, 152064, 0x92e79437
-0, 943200, 152064, 0x8572eac9
-0, 946800, 152064, 0x42e3d513
-0, 950400, 152064, 0x6bee9e38
-0, 954000, 152064, 0x2858ad4b
-0, 957600, 152064, 0x96d87d00
-0, 961200, 152064, 0x749f1032
-0, 964800, 152064, 0x668fca6c
-0, 968400, 152064, 0x11d278d9
-0, 972000, 152064, 0x10fd46ea
-0, 975600, 152064, 0xc8b193c8
-0, 979200, 152064, 0x035e7d02
-0, 982800, 152064, 0x067f583c
-0, 986400, 152064, 0xd9648a1e
-0, 990000, 152064, 0x92487b7e
-0, 993600, 152064, 0xc7b35421
-0, 997200, 152064, 0x2ed57c1c
-0, 1000800, 152064, 0xefe24c5f
-0, 1004400, 152064, 0x8df0118b
-0, 1008000, 152064, 0x18f0278d
-0, 1011600, 152064, 0x63ac45ad
-0, 1015200, 152064, 0xd79849f0
-0, 1018800, 152064, 0x1f1d4dab
-0, 1022400, 152064, 0x736fb5b8
-0, 1026000, 152064, 0xc24eb80c
-0, 1029600, 152064, 0x64ca3b11
-0, 1033200, 152064, 0x35d8674c
-0, 1036800, 152064, 0x3c5a7b51
-0, 1040400, 152064, 0x97550b81
-0, 1044000, 152064, 0x731454b5
-0, 1047600, 152064, 0x01de43bc
-0, 1051200, 152064, 0xbda7afae
-0, 1054800, 152064, 0xeb34d714
-0, 1058400, 152064, 0x1260cc98
-0, 1062000, 152064, 0x7e592c36
-0, 1065600, 152064, 0x40b3676e
-0, 1069200, 152064, 0x8c9d6b94
-0, 1072800, 152064, 0xc7988665
-0, 1076400, 152064, 0xf2994d52
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x2744afa1
+0, 1, 1, 1, 152064, 0x17246583
+0, 2, 2, 1, 152064, 0x501836ed
+0, 3, 3, 1, 152064, 0xe90d6961
+0, 4, 4, 1, 152064, 0x27abe1ad
+0, 5, 5, 1, 152064, 0xcfc730e4
+0, 6, 6, 1, 152064, 0xeaaa83ee
+0, 7, 7, 1, 152064, 0xb5d80ebd
+0, 8, 8, 1, 152064, 0x1e1b9d03
+0, 9, 9, 1, 152064, 0x60e7cf33
+0, 10, 10, 1, 152064, 0xc44616b1
+0, 11, 11, 1, 152064, 0x0a2a5906
+0, 12, 12, 1, 152064, 0xf101309c
+0, 13, 13, 1, 152064, 0x0b57f348
+0, 14, 14, 1, 152064, 0x4f018c05
+0, 15, 15, 1, 152064, 0x22359c60
+0, 16, 16, 1, 152064, 0x020f1cc3
+0, 17, 17, 1, 152064, 0x15be3892
+0, 18, 18, 1, 152064, 0x834a2e23
+0, 19, 19, 1, 152064, 0x1176586c
+0, 20, 20, 1, 152064, 0x9cf25641
+0, 21, 21, 1, 152064, 0xc1c4051d
+0, 22, 22, 1, 152064, 0x790d8bfa
+0, 23, 23, 1, 152064, 0x4dcbe7d7
+0, 24, 24, 1, 152064, 0xe81d3b7b
+0, 25, 25, 1, 152064, 0xe9e21309
+0, 26, 26, 1, 152064, 0x22021dbc
+0, 27, 27, 1, 152064, 0x430c5ecb
+0, 28, 28, 1, 152064, 0xf524be8b
+0, 29, 29, 1, 152064, 0xa437dadc
+0, 30, 30, 1, 152064, 0xff00b440
+0, 31, 31, 1, 152064, 0x4bd1bf15
+0, 32, 32, 1, 152064, 0x1f46a3ea
+0, 33, 33, 1, 152064, 0x60b47c5e
+0, 34, 34, 1, 152064, 0x45117ac6
+0, 35, 35, 1, 152064, 0x43894fca
+0, 36, 36, 1, 152064, 0x21572b55
+0, 37, 37, 1, 152064, 0xe96def09
+0, 38, 38, 1, 152064, 0x4d2ab41f
+0, 39, 39, 1, 152064, 0x072d6b06
+0, 40, 40, 1, 152064, 0x81865687
+0, 41, 41, 1, 152064, 0x8d9a0ea6
+0, 42, 42, 1, 152064, 0x1484d3cd
+0, 43, 43, 1, 152064, 0xbdabae6b
+0, 44, 44, 1, 152064, 0x4211edbe
+0, 45, 45, 1, 152064, 0xd84dad6d
+0, 46, 46, 1, 152064, 0xe4e79344
+0, 47, 47, 1, 152064, 0x9c1addd7
+0, 48, 48, 1, 152064, 0xdcf94283
+0, 49, 49, 1, 152064, 0x6bd005b2
+0, 50, 50, 1, 152064, 0x9679bd10
+0, 51, 51, 1, 152064, 0x052064ab
+0, 52, 52, 1, 152064, 0x915db3f3
+0, 53, 53, 1, 152064, 0xec2fbd58
+0, 54, 54, 1, 152064, 0x26728258
+0, 55, 55, 1, 152064, 0x2b2b617f
+0, 56, 56, 1, 152064, 0x2339eb3d
+0, 57, 57, 1, 152064, 0xcf6e6773
+0, 58, 58, 1, 152064, 0xb993efe4
+0, 59, 59, 1, 152064, 0x4054253d
+0, 60, 60, 1, 152064, 0x4befe5b5
+0, 61, 61, 1, 152064, 0x0678c0fa
+0, 62, 62, 1, 152064, 0xe3c54a03
+0, 63, 63, 1, 152064, 0xffa3210c
+0, 64, 64, 1, 152064, 0xed04b823
+0, 65, 65, 1, 152064, 0x00926457
+0, 66, 66, 1, 152064, 0xd56aaaf0
+0, 67, 67, 1, 152064, 0x6047ef6e
+0, 68, 68, 1, 152064, 0x44316d07
+0, 69, 69, 1, 152064, 0xe8a879b7
+0, 70, 70, 1, 152064, 0x1856cd86
+0, 71, 71, 1, 152064, 0x6528349a
+0, 72, 72, 1, 152064, 0xdeff676e
+0, 73, 73, 1, 152064, 0xda412e47
+0, 74, 74, 1, 152064, 0xa2c2a96f
+0, 75, 75, 1, 152064, 0xc703b8cd
+0, 76, 76, 1, 152064, 0x20b0650b
+0, 77, 77, 1, 152064, 0x8c14faa5
+0, 78, 78, 1, 152064, 0xa442706c
+0, 79, 79, 1, 152064, 0x6e456137
+0, 80, 80, 1, 152064, 0x6dde11c6
+0, 81, 81, 1, 152064, 0xb017978a
+0, 82, 82, 1, 152064, 0xc0bad34b
+0, 83, 83, 1, 152064, 0x8bd439ee
+0, 84, 84, 1, 152064, 0xa92735e4
+0, 85, 85, 1, 152064, 0x1623f501
+0, 86, 86, 1, 152064, 0x5be980b2
+0, 87, 87, 1, 152064, 0x4306b9bf
+0, 88, 88, 1, 152064, 0xb4f18976
+0, 89, 89, 1, 152064, 0x4ffb9b46
+0, 90, 90, 1, 152064, 0x23082275
+0, 91, 91, 1, 152064, 0xc7f0e087
+0, 92, 92, 1, 152064, 0x68b95327
+0, 93, 93, 1, 152064, 0xd030a8e4
+0, 94, 94, 1, 152064, 0xf8f9615c
+0, 95, 95, 1, 152064, 0x1b26fe3e
+0, 96, 96, 1, 152064, 0x3381608d
+0, 97, 97, 1, 152064, 0x9939d49d
+0, 98, 98, 1, 152064, 0x575f4f94
+0, 99, 99, 1, 152064, 0x436c581c
+0, 100, 100, 1, 152064, 0x8f47aa58
+0, 101, 101, 1, 152064, 0xd251d95a
+0, 102, 102, 1, 152064, 0x3c33b32c
+0, 103, 103, 1, 152064, 0xa1e19413
+0, 104, 104, 1, 152064, 0x8d95cbad
+0, 105, 105, 1, 152064, 0x98cbd35e
+0, 106, 106, 1, 152064, 0xceb81a0f
+0, 107, 107, 1, 152064, 0x5490fab1
+0, 108, 108, 1, 152064, 0x8e57a38c
+0, 109, 109, 1, 152064, 0xc379517a
+0, 110, 110, 1, 152064, 0xafc4f747
+0, 111, 111, 1, 152064, 0xbc9c9be4
+0, 112, 112, 1, 152064, 0xd602b2f5
+0, 113, 113, 1, 152064, 0x8d85a450
+0, 114, 114, 1, 152064, 0x48183c74
+0, 115, 115, 1, 152064, 0xd1725590
+0, 116, 116, 1, 152064, 0x5ef42ed7
+0, 117, 117, 1, 152064, 0xad3a3883
+0, 118, 118, 1, 152064, 0x7a3e0ddd
+0, 119, 119, 1, 152064, 0x59bdfd38
+0, 120, 120, 1, 152064, 0x5ac3ba9f
+0, 121, 121, 1, 152064, 0x266cbd00
+0, 122, 122, 1, 152064, 0x97d29e00
+0, 123, 123, 1, 152064, 0x620774c2
+0, 124, 124, 1, 152064, 0xaae8b96f
+0, 125, 125, 1, 152064, 0x5f6bdfb6
+0, 126, 126, 1, 152064, 0xb239da53
+0, 127, 127, 1, 152064, 0x654b5680
+0, 128, 128, 1, 152064, 0xd796b723
+0, 129, 129, 1, 152064, 0xd5c84a81
+0, 130, 130, 1, 152064, 0x2a761652
+0, 131, 131, 1, 152064, 0x1137e145
+0, 132, 132, 1, 152064, 0x1a9a451b
+0, 133, 133, 1, 152064, 0x5ca751c4
+0, 134, 134, 1, 152064, 0x074acec7
+0, 135, 135, 1, 152064, 0x9ddfe77d
+0, 136, 136, 1, 152064, 0xfb211c29
+0, 137, 137, 1, 152064, 0x681ad4dd
+0, 138, 138, 1, 152064, 0x702c12cc
+0, 139, 139, 1, 152064, 0x556c5101
+0, 140, 140, 1, 152064, 0x39d4bb54
+0, 141, 141, 1, 152064, 0xa3a118d6
+0, 142, 142, 1, 152064, 0xb78b7db1
+0, 143, 143, 1, 152064, 0x4e20eed5
+0, 144, 144, 1, 152064, 0x6555a9df
+0, 145, 145, 1, 152064, 0xb607a9a4
+0, 146, 146, 1, 152064, 0x3cf96a94
+0, 147, 147, 1, 152064, 0xb2679007
+0, 148, 148, 1, 152064, 0xf09d5b85
+0, 149, 149, 1, 152064, 0x3961ba07
+0, 150, 150, 1, 152064, 0x0c28363a
+0, 151, 151, 1, 152064, 0x0a017c2d
+0, 152, 152, 1, 152064, 0x3a661de3
+0, 153, 153, 1, 152064, 0xf8d1bdee
+0, 154, 154, 1, 152064, 0x6f47791b
+0, 155, 155, 1, 152064, 0xe05b22c6
+0, 156, 156, 1, 152064, 0x7cc93bb0
+0, 157, 157, 1, 152064, 0xeb90c3d8
+0, 158, 158, 1, 152064, 0x1a1eac98
+0, 159, 159, 1, 152064, 0x92985671
+0, 160, 160, 1, 152064, 0x2fe3ce53
+0, 161, 161, 1, 152064, 0x61def691
+0, 162, 162, 1, 152064, 0x90820730
+0, 163, 163, 1, 152064, 0x17630372
+0, 164, 164, 1, 152064, 0xaf6cea12
+0, 165, 165, 1, 152064, 0xfe3b7ecc
+0, 166, 166, 1, 152064, 0x904a5b2e
+0, 167, 167, 1, 152064, 0x0d88d5f2
+0, 168, 168, 1, 152064, 0x498d22b1
+0, 169, 169, 1, 152064, 0x56baba83
+0, 170, 170, 1, 152064, 0xda4d6dfa
+0, 171, 171, 1, 152064, 0xaa38cbdd
+0, 172, 172, 1, 152064, 0x4077f15d
+0, 173, 173, 1, 152064, 0x7e006ec2
+0, 174, 174, 1, 152064, 0x59964a89
+0, 175, 175, 1, 152064, 0x04c078e3
+0, 176, 176, 1, 152064, 0x7a5faf97
+0, 177, 177, 1, 152064, 0xc517b3e9
+0, 178, 178, 1, 152064, 0xfcc81af5
+0, 179, 179, 1, 152064, 0xdcb44f62
+0, 180, 180, 1, 152064, 0x2a080b72
+0, 181, 181, 1, 152064, 0x91f88c67
+0, 182, 182, 1, 152064, 0xd39caf81
+0, 183, 183, 1, 152064, 0x0764ae31
+0, 184, 184, 1, 152064, 0x0ddb82ed
+0, 185, 185, 1, 152064, 0xed6d17e4
+0, 186, 186, 1, 152064, 0xb4f74712
+0, 187, 187, 1, 152064, 0x23a20787
+0, 188, 188, 1, 152064, 0x853e7b33
+0, 189, 189, 1, 152064, 0xc6bac173
+0, 190, 190, 1, 152064, 0xb590ec15
+0, 191, 191, 1, 152064, 0xfdd2943c
+0, 192, 192, 1, 152064, 0xba5d1160
+0, 193, 193, 1, 152064, 0xe732c5a7
+0, 194, 194, 1, 152064, 0x279f6ce9
+0, 195, 195, 1, 152064, 0xb3835829
+0, 196, 196, 1, 152064, 0x0901b2a1
+0, 197, 197, 1, 152064, 0x3df2b8f8
+0, 198, 198, 1, 152064, 0x374496a4
+0, 199, 199, 1, 152064, 0x1bc6a4ae
+0, 200, 200, 1, 152064, 0xdb4b372e
+0, 201, 201, 1, 152064, 0x8c11c214
+0, 202, 202, 1, 152064, 0xd2d5c093
+0, 203, 203, 1, 152064, 0x8dda094e
+0, 204, 204, 1, 152064, 0x9b2cc401
+0, 205, 205, 1, 152064, 0x1a3b49d5
+0, 206, 206, 1, 152064, 0xaf5342ff
+0, 207, 207, 1, 152064, 0x74c0de83
+0, 208, 208, 1, 152064, 0xcf486137
+0, 209, 209, 1, 152064, 0xcf005b3b
+0, 210, 210, 1, 152064, 0x86a64c55
+0, 211, 211, 1, 152064, 0xdd3f7ae9
+0, 212, 212, 1, 152064, 0xb0d01e53
+0, 213, 213, 1, 152064, 0x83219065
+0, 214, 214, 1, 152064, 0x17a35d27
+0, 215, 215, 1, 152064, 0xf92645b5
+0, 216, 216, 1, 152064, 0x8322bdbf
+0, 217, 217, 1, 152064, 0xd589f6a2
+0, 218, 218, 1, 152064, 0x80a62d9e
+0, 219, 219, 1, 152064, 0x05b3e0d1
+0, 220, 220, 1, 152064, 0xd657aa0b
+0, 221, 221, 1, 152064, 0xec5ac2dd
+0, 222, 222, 1, 152064, 0xbf0ff969
+0, 223, 223, 1, 152064, 0xc34a5140
+0, 224, 224, 1, 152064, 0x814705c4
+0, 225, 225, 1, 152064, 0xe9592008
+0, 226, 226, 1, 152064, 0xf12c933c
+0, 227, 227, 1, 152064, 0x2daee178
+0, 228, 228, 1, 152064, 0xa2573028
+0, 229, 229, 1, 152064, 0x6109f58d
+0, 230, 230, 1, 152064, 0x64ab8ce4
+0, 231, 231, 1, 152064, 0x13a88b6e
+0, 232, 232, 1, 152064, 0x8f0181a9
+0, 233, 233, 1, 152064, 0xd5295fd4
+0, 234, 234, 1, 152064, 0xfdbeeb0d
+0, 235, 235, 1, 152064, 0x05ecd231
+0, 236, 236, 1, 152064, 0x48d164cd
+0, 237, 237, 1, 152064, 0xc279cf63
+0, 238, 238, 1, 152064, 0x1d5e6a03
+0, 239, 239, 1, 152064, 0xd9dc1807
+0, 240, 240, 1, 152064, 0xbcc83676
+0, 241, 241, 1, 152064, 0x65a9811e
+0, 242, 242, 1, 152064, 0x3ccfe5a8
+0, 243, 243, 1, 152064, 0x2f2ff051
+0, 244, 244, 1, 152064, 0x9193e093
+0, 245, 245, 1, 152064, 0x9a30fdc6
+0, 246, 246, 1, 152064, 0x90b7ea10
+0, 247, 247, 1, 152064, 0x3291910c
+0, 248, 248, 1, 152064, 0x2335d186
+0, 249, 249, 1, 152064, 0x2890cf1d
+0, 250, 250, 1, 152064, 0x8c8b6245
+0, 251, 251, 1, 152064, 0x24b84eda
+0, 252, 252, 1, 152064, 0x04a12446
+0, 253, 253, 1, 152064, 0xd9d91d51
+0, 254, 254, 1, 152064, 0xbf450adf
+0, 255, 255, 1, 152064, 0xa19a9a41
+0, 256, 256, 1, 152064, 0x2211ab01
+0, 257, 257, 1, 152064, 0x8fe85430
+0, 258, 258, 1, 152064, 0x5a152861
+0, 259, 259, 1, 152064, 0x7fe76995
+0, 260, 260, 1, 152064, 0x508b99cd
+0, 261, 261, 1, 152064, 0x92e79437
+0, 262, 262, 1, 152064, 0x8572eac9
+0, 263, 263, 1, 152064, 0x42e3d513
+0, 264, 264, 1, 152064, 0x6bee9e38
+0, 265, 265, 1, 152064, 0x2858ad4b
+0, 266, 266, 1, 152064, 0x96d87d00
+0, 267, 267, 1, 152064, 0x749f1032
+0, 268, 268, 1, 152064, 0x668fca6c
+0, 269, 269, 1, 152064, 0x11d278d9
+0, 270, 270, 1, 152064, 0x10fd46ea
+0, 271, 271, 1, 152064, 0xc8b193c8
+0, 272, 272, 1, 152064, 0x035e7d02
+0, 273, 273, 1, 152064, 0x067f583c
+0, 274, 274, 1, 152064, 0xd9648a1e
+0, 275, 275, 1, 152064, 0x92487b7e
+0, 276, 276, 1, 152064, 0xc7b35421
+0, 277, 277, 1, 152064, 0x2ed57c1c
+0, 278, 278, 1, 152064, 0xefe24c5f
+0, 279, 279, 1, 152064, 0x8df0118b
+0, 280, 280, 1, 152064, 0x18f0278d
+0, 281, 281, 1, 152064, 0x63ac45ad
+0, 282, 282, 1, 152064, 0xd79849f0
+0, 283, 283, 1, 152064, 0x1f1d4dab
+0, 284, 284, 1, 152064, 0x736fb5b8
+0, 285, 285, 1, 152064, 0xc24eb80c
+0, 286, 286, 1, 152064, 0x64ca3b11
+0, 287, 287, 1, 152064, 0x35d8674c
+0, 288, 288, 1, 152064, 0x3c5a7b51
+0, 289, 289, 1, 152064, 0x97550b81
+0, 290, 290, 1, 152064, 0x731454b5
+0, 291, 291, 1, 152064, 0x01de43bc
+0, 292, 292, 1, 152064, 0xbda7afae
+0, 293, 293, 1, 152064, 0xeb34d714
+0, 294, 294, 1, 152064, 0x1260cc98
+0, 295, 295, 1, 152064, 0x7e592c36
+0, 296, 296, 1, 152064, 0x40b3676e
+0, 297, 297, 1, 152064, 0x8c9d6b94
+0, 298, 298, 1, 152064, 0xc7988665
+0, 299, 299, 1, 152064, 0xf2994d52
diff --git a/tests/ref/fate/h264-conformance-frext-hpcaq2lq_brcm_b b/tests/ref/fate/h264-conformance-frext-hpcaq2lq_brcm_b
index bc41f24e29..460f86ccac 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcaq2lq_brcm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcaq2lq_brcm_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0x712a2ad3
-0, 3600, 152064, 0x83420c9d
-0, 7200, 152064, 0xf3d77f46
-0, 10800, 152064, 0x67eab1a2
-0, 14400, 152064, 0x41df4534
-0, 18000, 152064, 0x68f268ce
-0, 21600, 152064, 0x288debdf
-0, 25200, 152064, 0x46ae56a7
-0, 28800, 152064, 0x1720f327
-0, 32400, 152064, 0x64752592
-0, 36000, 152064, 0x43e17a27
-0, 39600, 152064, 0x39f7cc52
-0, 43200, 152064, 0xc19a785c
-0, 46800, 152064, 0x562df0d4
-0, 50400, 152064, 0x50c96da0
-0, 54000, 152064, 0x1da8bdb5
-0, 57600, 152064, 0x02ddfb59
-0, 61200, 152064, 0x4d0c3e0e
-0, 64800, 152064, 0x1605371b
-0, 68400, 152064, 0x9772464d
-0, 72000, 152064, 0xc603441c
-0, 75600, 152064, 0xf9581917
-0, 79200, 152064, 0x4dbf74af
-0, 82800, 152064, 0x04b8b820
-0, 86400, 152064, 0x75061cdf
-0, 90000, 152064, 0x760bea90
-0, 93600, 152064, 0x7114cab3
-0, 97200, 152064, 0x89e14328
-0, 100800, 152064, 0x402ba116
-0, 104400, 152064, 0x8af2ccc6
-0, 108000, 152064, 0x1294333a
-0, 111600, 152064, 0xe466aa9f
-0, 115200, 152064, 0x7ce28426
-0, 118800, 152064, 0x21c16487
-0, 122400, 152064, 0xde3d5fc9
-0, 126000, 152064, 0x58cb2906
-0, 129600, 152064, 0x1df514ec
-0, 133200, 152064, 0x7e45bfb6
-0, 136800, 152064, 0xcdaaafc0
-0, 140400, 152064, 0x70a58eac
-0, 144000, 152064, 0xca7263b0
-0, 147600, 152064, 0x022621e0
-0, 151200, 152064, 0x938901c2
-0, 154800, 152064, 0x8c099e47
-0, 158400, 152064, 0xebfecda0
-0, 162000, 152064, 0x5a3aff71
-0, 165600, 152064, 0xb47c6692
-0, 169200, 152064, 0xde04b626
-0, 172800, 152064, 0xb1c61c94
-0, 176400, 152064, 0xbcc7eb35
-0, 180000, 152064, 0x801b958d
-0, 183600, 152064, 0xf5254f5d
-0, 187200, 152064, 0x4336da49
-0, 190800, 152064, 0x3139bcaf
-0, 194400, 152064, 0xb8359026
-0, 198000, 152064, 0xb6d39756
-0, 201600, 152064, 0xdf5c1c14
-0, 205200, 152064, 0x3f587336
-0, 208800, 152064, 0x105eeb74
-0, 212400, 152064, 0xffe23c19
-0, 216000, 152064, 0xfb1a1c5e
-0, 219600, 152064, 0xb8edb942
-0, 223200, 152064, 0x7ca92b27
-0, 226800, 152064, 0xd2fe1e24
-0, 230400, 152064, 0xd6b8939a
-0, 234000, 152064, 0xd59743da
-0, 237600, 152064, 0x005d9e7a
-0, 241200, 152064, 0x4c5cb03e
-0, 244800, 152064, 0x4a7c363a
-0, 248400, 152064, 0x627c88a8
-0, 252000, 152064, 0x3fcd8650
-0, 255600, 152064, 0x75b7f0b3
-0, 259200, 152064, 0xcbb95a00
-0, 262800, 152064, 0xc9871783
-0, 266400, 152064, 0xe9c2b471
-0, 270000, 152064, 0x513f0eb3
-0, 273600, 152064, 0x5a5c4fdc
-0, 277200, 152064, 0xdc8cbab6
-0, 280800, 152064, 0x86fe75d2
-0, 284400, 152064, 0xa6d52ce2
-0, 288000, 152064, 0xde74a975
-0, 291600, 152064, 0xc1bf3ef2
-0, 295200, 152064, 0xa1a1b832
-0, 298800, 152064, 0x0b23f718
-0, 302400, 152064, 0x842eed85
-0, 306000, 152064, 0xda96923b
-0, 309600, 152064, 0x7d011f83
-0, 313200, 152064, 0x26a25528
-0, 316800, 152064, 0x117b7971
-0, 320400, 152064, 0x3f17b29d
-0, 324000, 152064, 0x428654c0
-0, 327600, 152064, 0xc2343316
-0, 331200, 152064, 0x284371fe
-0, 334800, 152064, 0x388ef972
-0, 338400, 152064, 0x5f046560
-0, 342000, 152064, 0x6e9ac7e9
-0, 345600, 152064, 0x0cd6277c
-0, 349200, 152064, 0xfc7ba0b1
-0, 352800, 152064, 0x4d840475
-0, 356400, 152064, 0xd4cb26a6
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x712a2ad3
+0, 1, 1, 1, 152064, 0x83420c9d
+0, 2, 2, 1, 152064, 0xf3d77f46
+0, 3, 3, 1, 152064, 0x67eab1a2
+0, 4, 4, 1, 152064, 0x41df4534
+0, 5, 5, 1, 152064, 0x68f268ce
+0, 6, 6, 1, 152064, 0x288debdf
+0, 7, 7, 1, 152064, 0x46ae56a7
+0, 8, 8, 1, 152064, 0x1720f327
+0, 9, 9, 1, 152064, 0x64752592
+0, 10, 10, 1, 152064, 0x43e17a27
+0, 11, 11, 1, 152064, 0x39f7cc52
+0, 12, 12, 1, 152064, 0xc19a785c
+0, 13, 13, 1, 152064, 0x562df0d4
+0, 14, 14, 1, 152064, 0x50c96da0
+0, 15, 15, 1, 152064, 0x1da8bdb5
+0, 16, 16, 1, 152064, 0x02ddfb59
+0, 17, 17, 1, 152064, 0x4d0c3e0e
+0, 18, 18, 1, 152064, 0x1605371b
+0, 19, 19, 1, 152064, 0x9772464d
+0, 20, 20, 1, 152064, 0xc603441c
+0, 21, 21, 1, 152064, 0xf9581917
+0, 22, 22, 1, 152064, 0x4dbf74af
+0, 23, 23, 1, 152064, 0x04b8b820
+0, 24, 24, 1, 152064, 0x75061cdf
+0, 25, 25, 1, 152064, 0x760bea90
+0, 26, 26, 1, 152064, 0x7114cab3
+0, 27, 27, 1, 152064, 0x89e14328
+0, 28, 28, 1, 152064, 0x402ba116
+0, 29, 29, 1, 152064, 0x8af2ccc6
+0, 30, 30, 1, 152064, 0x1294333a
+0, 31, 31, 1, 152064, 0xe466aa9f
+0, 32, 32, 1, 152064, 0x7ce28426
+0, 33, 33, 1, 152064, 0x21c16487
+0, 34, 34, 1, 152064, 0xde3d5fc9
+0, 35, 35, 1, 152064, 0x58cb2906
+0, 36, 36, 1, 152064, 0x1df514ec
+0, 37, 37, 1, 152064, 0x7e45bfb6
+0, 38, 38, 1, 152064, 0xcdaaafc0
+0, 39, 39, 1, 152064, 0x70a58eac
+0, 40, 40, 1, 152064, 0xca7263b0
+0, 41, 41, 1, 152064, 0x022621e0
+0, 42, 42, 1, 152064, 0x938901c2
+0, 43, 43, 1, 152064, 0x8c099e47
+0, 44, 44, 1, 152064, 0xebfecda0
+0, 45, 45, 1, 152064, 0x5a3aff71
+0, 46, 46, 1, 152064, 0xb47c6692
+0, 47, 47, 1, 152064, 0xde04b626
+0, 48, 48, 1, 152064, 0xb1c61c94
+0, 49, 49, 1, 152064, 0xbcc7eb35
+0, 50, 50, 1, 152064, 0x801b958d
+0, 51, 51, 1, 152064, 0xf5254f5d
+0, 52, 52, 1, 152064, 0x4336da49
+0, 53, 53, 1, 152064, 0x3139bcaf
+0, 54, 54, 1, 152064, 0xb8359026
+0, 55, 55, 1, 152064, 0xb6d39756
+0, 56, 56, 1, 152064, 0xdf5c1c14
+0, 57, 57, 1, 152064, 0x3f587336
+0, 58, 58, 1, 152064, 0x105eeb74
+0, 59, 59, 1, 152064, 0xffe23c19
+0, 60, 60, 1, 152064, 0xfb1a1c5e
+0, 61, 61, 1, 152064, 0xb8edb942
+0, 62, 62, 1, 152064, 0x7ca92b27
+0, 63, 63, 1, 152064, 0xd2fe1e24
+0, 64, 64, 1, 152064, 0xd6b8939a
+0, 65, 65, 1, 152064, 0xd59743da
+0, 66, 66, 1, 152064, 0x005d9e7a
+0, 67, 67, 1, 152064, 0x4c5cb03e
+0, 68, 68, 1, 152064, 0x4a7c363a
+0, 69, 69, 1, 152064, 0x627c88a8
+0, 70, 70, 1, 152064, 0x3fcd8650
+0, 71, 71, 1, 152064, 0x75b7f0b3
+0, 72, 72, 1, 152064, 0xcbb95a00
+0, 73, 73, 1, 152064, 0xc9871783
+0, 74, 74, 1, 152064, 0xe9c2b471
+0, 75, 75, 1, 152064, 0x513f0eb3
+0, 76, 76, 1, 152064, 0x5a5c4fdc
+0, 77, 77, 1, 152064, 0xdc8cbab6
+0, 78, 78, 1, 152064, 0x86fe75d2
+0, 79, 79, 1, 152064, 0xa6d52ce2
+0, 80, 80, 1, 152064, 0xde74a975
+0, 81, 81, 1, 152064, 0xc1bf3ef2
+0, 82, 82, 1, 152064, 0xa1a1b832
+0, 83, 83, 1, 152064, 0x0b23f718
+0, 84, 84, 1, 152064, 0x842eed85
+0, 85, 85, 1, 152064, 0xda96923b
+0, 86, 86, 1, 152064, 0x7d011f83
+0, 87, 87, 1, 152064, 0x26a25528
+0, 88, 88, 1, 152064, 0x117b7971
+0, 89, 89, 1, 152064, 0x3f17b29d
+0, 90, 90, 1, 152064, 0x428654c0
+0, 91, 91, 1, 152064, 0xc2343316
+0, 92, 92, 1, 152064, 0x284371fe
+0, 93, 93, 1, 152064, 0x388ef972
+0, 94, 94, 1, 152064, 0x5f046560
+0, 95, 95, 1, 152064, 0x6e9ac7e9
+0, 96, 96, 1, 152064, 0x0cd6277c
+0, 97, 97, 1, 152064, 0xfc7ba0b1
+0, 98, 98, 1, 152064, 0x4d840475
+0, 99, 99, 1, 152064, 0xd4cb26a6
diff --git a/tests/ref/fate/h264-conformance-frext-hpcv_brcm_a b/tests/ref/fate/h264-conformance-frext-hpcv_brcm_a
index cbfc5681ab..d608d8950a 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcv_brcm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcv_brcm_a
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x995bb4bd
-0, 3600, 152064, 0xad287357
-0, 7200, 152064, 0x38fa4661
-0, 10800, 152064, 0x8aae73cf
-0, 14400, 152064, 0x4a13eada
-0, 18000, 152064, 0x48b33901
-0, 21600, 152064, 0x011487bc
-0, 25200, 152064, 0xd4ce1925
-0, 28800, 152064, 0x5d679ddd
-0, 32400, 152064, 0x276cd5cf
-0, 36000, 152064, 0x99c625f0
-0, 39600, 152064, 0xb2f756d1
-0, 43200, 152064, 0xb19c2978
-0, 46800, 152064, 0xdac0ff3c
-0, 50400, 152064, 0x3c1c8d63
-0, 54000, 152064, 0x818ea0a8
-0, 57600, 152064, 0xa7c122a5
-0, 61200, 152064, 0x67ad3519
-0, 64800, 152064, 0xc81b2a88
-0, 68400, 152064, 0x8ae6633e
-0, 72000, 152064, 0xed945788
-0, 75600, 152064, 0x4c740bcb
-0, 79200, 152064, 0xd8408d09
-0, 82800, 152064, 0xb710e8b8
-0, 86400, 152064, 0xb8c647b9
-0, 90000, 152064, 0x802b2e23
-0, 93600, 152064, 0x30672529
-0, 97200, 152064, 0x328a72b6
-0, 100800, 152064, 0xeb6dbe94
-0, 104400, 152064, 0x1c19dcc5
-0, 108000, 152064, 0xfdc6b998
-0, 111600, 152064, 0xf9e2cd80
-0, 115200, 152064, 0x025eb15e
-0, 118800, 152064, 0xfd998ad8
-0, 122400, 152064, 0x8fdf736f
-0, 126000, 152064, 0xa5a7554a
-0, 129600, 152064, 0xcea63304
-0, 133200, 152064, 0xcb28ec28
-0, 136800, 152064, 0x92efb591
-0, 140400, 152064, 0x0f2376c3
-0, 144000, 152064, 0xe9cb5ecf
-0, 147600, 152064, 0xcd2d0eba
-0, 151200, 152064, 0xd57fe4fd
-0, 154800, 152064, 0xc486ab8e
-0, 158400, 152064, 0x01a1f709
-0, 162000, 152064, 0x7ac5b13a
-0, 165600, 152064, 0x6f519279
-0, 169200, 152064, 0xfd7cd9a0
-0, 172800, 152064, 0xfae649d2
-0, 176400, 152064, 0x618507ca
-0, 180000, 152064, 0xb177bc15
-0, 183600, 152064, 0x6fa36854
-0, 187200, 152064, 0xc13cb77d
-0, 190800, 152064, 0x6d40cb01
-0, 194400, 152064, 0xa3db96a2
-0, 198000, 152064, 0xe5ba6c99
-0, 201600, 152064, 0xca9ff3ee
-0, 205200, 152064, 0x6c016c65
-0, 208800, 152064, 0xdf93ed80
-0, 212400, 152064, 0x93112ec8
-0, 216000, 152064, 0x8ab3ea14
-0, 219600, 152064, 0x02f5b891
-0, 223200, 152064, 0xdafd562b
-0, 226800, 152064, 0xa96a2bd7
-0, 230400, 152064, 0xdff8bc68
-0, 234000, 152064, 0x8d956b4b
-0, 237600, 152064, 0xb4aeb960
-0, 241200, 152064, 0x391cf0dd
-0, 244800, 152064, 0x03137de9
-0, 248400, 152064, 0x2bfa8c4b
-0, 252000, 152064, 0xfb54d3a5
-0, 255600, 152064, 0x650146e7
-0, 259200, 152064, 0xd3a7765f
-0, 262800, 152064, 0x49d72b90
-0, 266400, 152064, 0xf089b357
-0, 270000, 152064, 0x23a2be41
-0, 273600, 152064, 0x2ea86592
-0, 277200, 152064, 0x99d6f56b
-0, 280800, 152064, 0xc2ca75b9
-0, 284400, 152064, 0x390b7278
-0, 288000, 152064, 0x0f6d1f1e
-0, 291600, 152064, 0x79e2a3f4
-0, 295200, 152064, 0x51d5e1da
-0, 298800, 152064, 0xdb57419a
-0, 302400, 152064, 0xf90a4153
-0, 306000, 152064, 0xd192f6c6
-0, 309600, 152064, 0x8cd3895a
-0, 313200, 152064, 0x0d3ec577
-0, 316800, 152064, 0x146e8492
-0, 320400, 152064, 0xc9939c22
-0, 324000, 152064, 0xf1f4275e
-0, 327600, 152064, 0xb898eb35
-0, 331200, 152064, 0xed315ee9
-0, 334800, 152064, 0x9046b760
-0, 338400, 152064, 0x599a736b
-0, 342000, 152064, 0xaef20726
-0, 345600, 152064, 0x0d136768
-0, 349200, 152064, 0xfe4ed2a8
-0, 352800, 152064, 0x5a85524b
-0, 356400, 152064, 0x6d495dd2
-0, 360000, 152064, 0x04bdb815
-0, 363600, 152064, 0x28aae1c5
-0, 367200, 152064, 0xc20bc8d9
-0, 370800, 152064, 0xa33d9b41
-0, 374400, 152064, 0x6269cb43
-0, 378000, 152064, 0x4f81d636
-0, 381600, 152064, 0xc6062166
-0, 385200, 152064, 0xb027fbcc
-0, 388800, 152064, 0x73a7a584
-0, 392400, 152064, 0xf67e520a
-0, 396000, 152064, 0x94eff023
-0, 399600, 152064, 0xef1da8e5
-0, 403200, 152064, 0x2d9ab411
-0, 406800, 152064, 0xf0c39b5d
-0, 410400, 152064, 0xb2374724
-0, 414000, 152064, 0x939a5243
-0, 417600, 152064, 0xee3438db
-0, 421200, 152064, 0x7da04012
-0, 424800, 152064, 0xac611668
-0, 428400, 152064, 0xdce3062e
-0, 432000, 152064, 0xb57cc00e
-0, 435600, 152064, 0xaf96b59e
-0, 439200, 152064, 0x56789c13
-0, 442800, 152064, 0xb1f678b5
-0, 446400, 152064, 0xb340b8c4
-0, 450000, 152064, 0x86e6e304
-0, 453600, 152064, 0xa056e037
-0, 457200, 152064, 0x16885d27
-0, 460800, 152064, 0x9c5ac065
-0, 464400, 152064, 0x563d5335
-0, 468000, 152064, 0x3ca71c1e
-0, 471600, 152064, 0xad34e16c
-0, 475200, 152064, 0x6d074b27
-0, 478800, 152064, 0x9b1c4909
-0, 482400, 152064, 0xdbced198
-0, 486000, 152064, 0x8a0ded00
-0, 489600, 152064, 0x5ffc209b
-0, 493200, 152064, 0x47cfd269
-0, 496800, 152064, 0xe3c0137e
-0, 500400, 152064, 0xcb6a5e53
-0, 504000, 152064, 0x87cec05f
-0, 507600, 152064, 0x92721dd2
-0, 511200, 152064, 0x3f7d7b3b
-0, 514800, 152064, 0xd63ef417
-0, 518400, 152064, 0xf8e4b05a
-0, 522000, 152064, 0xb5dcb421
-0, 525600, 152064, 0x53c96f6a
-0, 529200, 152064, 0x24ae98a3
-0, 532800, 152064, 0x2e9b5fff
-0, 536400, 152064, 0x7795bf12
-0, 540000, 152064, 0x499d37ca
-0, 543600, 152064, 0xfe478487
-0, 547200, 152064, 0xcd661afb
-0, 550800, 152064, 0x44f8bf00
-0, 554400, 152064, 0x90b67809
-0, 558000, 152064, 0x8f5726d1
-0, 561600, 152064, 0x2e3c39d5
-0, 565200, 152064, 0x4b67c4e6
-0, 568800, 152064, 0x9fecb7cf
-0, 572400, 152064, 0x207766ea
-0, 576000, 152064, 0x5846bf7b
-0, 579600, 152064, 0x4237fba1
-0, 583200, 152064, 0x983e0cbd
-0, 586800, 152064, 0x6be100d1
-0, 590400, 152064, 0x9d0beb8f
-0, 594000, 152064, 0x234b82e7
-0, 597600, 152064, 0x83fb5ef1
-0, 601200, 152064, 0xf503dcb2
-0, 604800, 152064, 0x031a27f2
-0, 608400, 152064, 0x2f1abf24
-0, 612000, 152064, 0x54d77010
-0, 615600, 152064, 0x049fc0fc
-0, 619200, 152064, 0x20f2f7e7
-0, 622800, 152064, 0xc0d57467
-0, 626400, 152064, 0xbe464eef
-0, 630000, 152064, 0x035c9052
-0, 633600, 152064, 0x91cba4fb
-0, 637200, 152064, 0x11cdbbfb
-0, 640800, 152064, 0xe61116d5
-0, 644400, 152064, 0x16db46b8
-0, 648000, 152064, 0x54f30d9f
-0, 651600, 152064, 0x211a8d2d
-0, 655200, 152064, 0x5a74a56b
-0, 658800, 152064, 0x0ff4ba72
-0, 662400, 152064, 0x4c398ad6
-0, 666000, 152064, 0x830814f0
-0, 669600, 152064, 0xa51f4bab
-0, 673200, 152064, 0xf3460de6
-0, 676800, 152064, 0x7e1979a1
-0, 680400, 152064, 0x4b3ebb3a
-0, 684000, 152064, 0x83d1f4f8
-0, 687600, 152064, 0xfbf08683
-0, 691200, 152064, 0x901c07ec
-0, 694800, 152064, 0xbc2dc1c7
-0, 698400, 152064, 0x6e646b3b
-0, 702000, 152064, 0x51a25aab
-0, 705600, 152064, 0xa042ab78
-0, 709200, 152064, 0xb972af58
-0, 712800, 152064, 0xcdca9568
-0, 716400, 152064, 0x17b69d1c
-0, 720000, 152064, 0x41c43ea2
-0, 723600, 152064, 0x195fc7a0
-0, 727200, 152064, 0xf4cec580
-0, 730800, 152064, 0xb3b10936
-0, 734400, 152064, 0x102bc2ec
-0, 738000, 152064, 0xc99d4767
-0, 741600, 152064, 0x60c745b0
-0, 745200, 152064, 0x8176e0cf
-0, 748800, 152064, 0xd47e69b5
-0, 752400, 152064, 0xacce674c
-0, 756000, 152064, 0x031b51f8
-0, 759600, 152064, 0x0eb681ef
-0, 763200, 152064, 0x0b69334b
-0, 766800, 152064, 0xda819c1f
-0, 770400, 152064, 0xa93f62d2
-0, 774000, 152064, 0x51374db5
-0, 777600, 152064, 0x885dccff
-0, 781200, 152064, 0xd0780444
-0, 784800, 152064, 0xa31733ca
-0, 788400, 152064, 0x3f3de84e
-0, 792000, 152064, 0x2af2b2c3
-0, 795600, 152064, 0xa62dceae
-0, 799200, 152064, 0xca1cffd1
-0, 802800, 152064, 0x3c7d561b
-0, 806400, 152064, 0xbc04130a
-0, 810000, 152064, 0xbd2829ae
-0, 813600, 152064, 0xdbbb9820
-0, 817200, 152064, 0xfc3ef628
-0, 820800, 152064, 0xd5da3ec3
-0, 824400, 152064, 0x62d5fcc1
-0, 828000, 152064, 0x455a8dae
-0, 831600, 152064, 0x421c9147
-0, 835200, 152064, 0x6a168484
-0, 838800, 152064, 0x7ba15d32
-0, 842400, 152064, 0xd089ed27
-0, 846000, 152064, 0x8fc4d894
-0, 849600, 152064, 0x99e47125
-0, 853200, 152064, 0xf55dda68
-0, 856800, 152064, 0x6bf06cf1
-0, 860400, 152064, 0x7dc41a9d
-0, 864000, 152064, 0x78b84019
-0, 867600, 152064, 0x85ae8973
-0, 871200, 152064, 0x7b7aeabe
-0, 874800, 152064, 0xf9a8f6bf
-0, 878400, 152064, 0xe195ddcd
-0, 882000, 152064, 0x83edffe9
-0, 885600, 152064, 0x59cce97a
-0, 889200, 152064, 0x15268af1
-0, 892800, 152064, 0x270cca95
-0, 896400, 152064, 0x8bced1f9
-0, 900000, 152064, 0x08ee5cec
-0, 903600, 152064, 0x01e74f95
-0, 907200, 152064, 0x7e19238f
-0, 910800, 152064, 0x6bcb2b9d
-0, 914400, 152064, 0x58111385
-0, 918000, 152064, 0x6c7aa1f7
-0, 921600, 152064, 0xb713a822
-0, 925200, 152064, 0x1d645cee
-0, 928800, 152064, 0x9c592969
-0, 932400, 152064, 0x2472769e
-0, 936000, 152064, 0x71b7a5ad
-0, 939600, 152064, 0xc6bba1c6
-0, 943200, 152064, 0x7351f305
-0, 946800, 152064, 0x579edbba
-0, 950400, 152064, 0x90eda919
-0, 954000, 152064, 0x2833b10d
-0, 957600, 152064, 0x4b967d65
-0, 961200, 152064, 0x6e7d1702
-0, 964800, 152064, 0x59dbcf5b
-0, 968400, 152064, 0xa138847b
-0, 972000, 152064, 0xb2414e8d
-0, 975600, 152064, 0xb90497f6
-0, 979200, 152064, 0xcd728159
-0, 982800, 152064, 0x005d5bdd
-0, 986400, 152064, 0x27c88fb6
-0, 990000, 152064, 0x3ccb8a93
-0, 993600, 152064, 0xc50256dd
-0, 997200, 152064, 0x111e7dee
-0, 1000800, 152064, 0x259d4a5d
-0, 1004400, 152064, 0x9385148b
-0, 1008000, 152064, 0x74002ab0
-0, 1011600, 152064, 0xd2c74adc
-0, 1015200, 152064, 0x72854b2a
-0, 1018800, 152064, 0x638e5c08
-0, 1022400, 152064, 0x9626bbb3
-0, 1026000, 152064, 0xc107c18f
-0, 1029600, 152064, 0x8bd04578
-0, 1033200, 152064, 0xbcdb6db6
-0, 1036800, 152064, 0x9d0c81be
-0, 1040400, 152064, 0xf25106b6
-0, 1044000, 152064, 0x54c25254
-0, 1047600, 152064, 0x4bf74663
-0, 1051200, 152064, 0x0051b054
-0, 1054800, 152064, 0x5193d3d4
-0, 1058400, 152064, 0xb5d0d045
-0, 1062000, 152064, 0x350a31ca
-0, 1065600, 152064, 0xb8fb7264
-0, 1069200, 152064, 0x7fb97645
-0, 1072800, 152064, 0xcd948c41
-0, 1076400, 152064, 0x38c7570a
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x995bb4bd
+0, 1, 1, 1, 152064, 0xad287357
+0, 2, 2, 1, 152064, 0x38fa4661
+0, 3, 3, 1, 152064, 0x8aae73cf
+0, 4, 4, 1, 152064, 0x4a13eada
+0, 5, 5, 1, 152064, 0x48b33901
+0, 6, 6, 1, 152064, 0x011487bc
+0, 7, 7, 1, 152064, 0xd4ce1925
+0, 8, 8, 1, 152064, 0x5d679ddd
+0, 9, 9, 1, 152064, 0x276cd5cf
+0, 10, 10, 1, 152064, 0x99c625f0
+0, 11, 11, 1, 152064, 0xb2f756d1
+0, 12, 12, 1, 152064, 0xb19c2978
+0, 13, 13, 1, 152064, 0xdac0ff3c
+0, 14, 14, 1, 152064, 0x3c1c8d63
+0, 15, 15, 1, 152064, 0x818ea0a8
+0, 16, 16, 1, 152064, 0xa7c122a5
+0, 17, 17, 1, 152064, 0x67ad3519
+0, 18, 18, 1, 152064, 0xc81b2a88
+0, 19, 19, 1, 152064, 0x8ae6633e
+0, 20, 20, 1, 152064, 0xed945788
+0, 21, 21, 1, 152064, 0x4c740bcb
+0, 22, 22, 1, 152064, 0xd8408d09
+0, 23, 23, 1, 152064, 0xb710e8b8
+0, 24, 24, 1, 152064, 0xb8c647b9
+0, 25, 25, 1, 152064, 0x802b2e23
+0, 26, 26, 1, 152064, 0x30672529
+0, 27, 27, 1, 152064, 0x328a72b6
+0, 28, 28, 1, 152064, 0xeb6dbe94
+0, 29, 29, 1, 152064, 0x1c19dcc5
+0, 30, 30, 1, 152064, 0xfdc6b998
+0, 31, 31, 1, 152064, 0xf9e2cd80
+0, 32, 32, 1, 152064, 0x025eb15e
+0, 33, 33, 1, 152064, 0xfd998ad8
+0, 34, 34, 1, 152064, 0x8fdf736f
+0, 35, 35, 1, 152064, 0xa5a7554a
+0, 36, 36, 1, 152064, 0xcea63304
+0, 37, 37, 1, 152064, 0xcb28ec28
+0, 38, 38, 1, 152064, 0x92efb591
+0, 39, 39, 1, 152064, 0x0f2376c3
+0, 40, 40, 1, 152064, 0xe9cb5ecf
+0, 41, 41, 1, 152064, 0xcd2d0eba
+0, 42, 42, 1, 152064, 0xd57fe4fd
+0, 43, 43, 1, 152064, 0xc486ab8e
+0, 44, 44, 1, 152064, 0x01a1f709
+0, 45, 45, 1, 152064, 0x7ac5b13a
+0, 46, 46, 1, 152064, 0x6f519279
+0, 47, 47, 1, 152064, 0xfd7cd9a0
+0, 48, 48, 1, 152064, 0xfae649d2
+0, 49, 49, 1, 152064, 0x618507ca
+0, 50, 50, 1, 152064, 0xb177bc15
+0, 51, 51, 1, 152064, 0x6fa36854
+0, 52, 52, 1, 152064, 0xc13cb77d
+0, 53, 53, 1, 152064, 0x6d40cb01
+0, 54, 54, 1, 152064, 0xa3db96a2
+0, 55, 55, 1, 152064, 0xe5ba6c99
+0, 56, 56, 1, 152064, 0xca9ff3ee
+0, 57, 57, 1, 152064, 0x6c016c65
+0, 58, 58, 1, 152064, 0xdf93ed80
+0, 59, 59, 1, 152064, 0x93112ec8
+0, 60, 60, 1, 152064, 0x8ab3ea14
+0, 61, 61, 1, 152064, 0x02f5b891
+0, 62, 62, 1, 152064, 0xdafd562b
+0, 63, 63, 1, 152064, 0xa96a2bd7
+0, 64, 64, 1, 152064, 0xdff8bc68
+0, 65, 65, 1, 152064, 0x8d956b4b
+0, 66, 66, 1, 152064, 0xb4aeb960
+0, 67, 67, 1, 152064, 0x391cf0dd
+0, 68, 68, 1, 152064, 0x03137de9
+0, 69, 69, 1, 152064, 0x2bfa8c4b
+0, 70, 70, 1, 152064, 0xfb54d3a5
+0, 71, 71, 1, 152064, 0x650146e7
+0, 72, 72, 1, 152064, 0xd3a7765f
+0, 73, 73, 1, 152064, 0x49d72b90
+0, 74, 74, 1, 152064, 0xf089b357
+0, 75, 75, 1, 152064, 0x23a2be41
+0, 76, 76, 1, 152064, 0x2ea86592
+0, 77, 77, 1, 152064, 0x99d6f56b
+0, 78, 78, 1, 152064, 0xc2ca75b9
+0, 79, 79, 1, 152064, 0x390b7278
+0, 80, 80, 1, 152064, 0x0f6d1f1e
+0, 81, 81, 1, 152064, 0x79e2a3f4
+0, 82, 82, 1, 152064, 0x51d5e1da
+0, 83, 83, 1, 152064, 0xdb57419a
+0, 84, 84, 1, 152064, 0xf90a4153
+0, 85, 85, 1, 152064, 0xd192f6c6
+0, 86, 86, 1, 152064, 0x8cd3895a
+0, 87, 87, 1, 152064, 0x0d3ec577
+0, 88, 88, 1, 152064, 0x146e8492
+0, 89, 89, 1, 152064, 0xc9939c22
+0, 90, 90, 1, 152064, 0xf1f4275e
+0, 91, 91, 1, 152064, 0xb898eb35
+0, 92, 92, 1, 152064, 0xed315ee9
+0, 93, 93, 1, 152064, 0x9046b760
+0, 94, 94, 1, 152064, 0x599a736b
+0, 95, 95, 1, 152064, 0xaef20726
+0, 96, 96, 1, 152064, 0x0d136768
+0, 97, 97, 1, 152064, 0xfe4ed2a8
+0, 98, 98, 1, 152064, 0x5a85524b
+0, 99, 99, 1, 152064, 0x6d495dd2
+0, 100, 100, 1, 152064, 0x04bdb815
+0, 101, 101, 1, 152064, 0x28aae1c5
+0, 102, 102, 1, 152064, 0xc20bc8d9
+0, 103, 103, 1, 152064, 0xa33d9b41
+0, 104, 104, 1, 152064, 0x6269cb43
+0, 105, 105, 1, 152064, 0x4f81d636
+0, 106, 106, 1, 152064, 0xc6062166
+0, 107, 107, 1, 152064, 0xb027fbcc
+0, 108, 108, 1, 152064, 0x73a7a584
+0, 109, 109, 1, 152064, 0xf67e520a
+0, 110, 110, 1, 152064, 0x94eff023
+0, 111, 111, 1, 152064, 0xef1da8e5
+0, 112, 112, 1, 152064, 0x2d9ab411
+0, 113, 113, 1, 152064, 0xf0c39b5d
+0, 114, 114, 1, 152064, 0xb2374724
+0, 115, 115, 1, 152064, 0x939a5243
+0, 116, 116, 1, 152064, 0xee3438db
+0, 117, 117, 1, 152064, 0x7da04012
+0, 118, 118, 1, 152064, 0xac611668
+0, 119, 119, 1, 152064, 0xdce3062e
+0, 120, 120, 1, 152064, 0xb57cc00e
+0, 121, 121, 1, 152064, 0xaf96b59e
+0, 122, 122, 1, 152064, 0x56789c13
+0, 123, 123, 1, 152064, 0xb1f678b5
+0, 124, 124, 1, 152064, 0xb340b8c4
+0, 125, 125, 1, 152064, 0x86e6e304
+0, 126, 126, 1, 152064, 0xa056e037
+0, 127, 127, 1, 152064, 0x16885d27
+0, 128, 128, 1, 152064, 0x9c5ac065
+0, 129, 129, 1, 152064, 0x563d5335
+0, 130, 130, 1, 152064, 0x3ca71c1e
+0, 131, 131, 1, 152064, 0xad34e16c
+0, 132, 132, 1, 152064, 0x6d074b27
+0, 133, 133, 1, 152064, 0x9b1c4909
+0, 134, 134, 1, 152064, 0xdbced198
+0, 135, 135, 1, 152064, 0x8a0ded00
+0, 136, 136, 1, 152064, 0x5ffc209b
+0, 137, 137, 1, 152064, 0x47cfd269
+0, 138, 138, 1, 152064, 0xe3c0137e
+0, 139, 139, 1, 152064, 0xcb6a5e53
+0, 140, 140, 1, 152064, 0x87cec05f
+0, 141, 141, 1, 152064, 0x92721dd2
+0, 142, 142, 1, 152064, 0x3f7d7b3b
+0, 143, 143, 1, 152064, 0xd63ef417
+0, 144, 144, 1, 152064, 0xf8e4b05a
+0, 145, 145, 1, 152064, 0xb5dcb421
+0, 146, 146, 1, 152064, 0x53c96f6a
+0, 147, 147, 1, 152064, 0x24ae98a3
+0, 148, 148, 1, 152064, 0x2e9b5fff
+0, 149, 149, 1, 152064, 0x7795bf12
+0, 150, 150, 1, 152064, 0x499d37ca
+0, 151, 151, 1, 152064, 0xfe478487
+0, 152, 152, 1, 152064, 0xcd661afb
+0, 153, 153, 1, 152064, 0x44f8bf00
+0, 154, 154, 1, 152064, 0x90b67809
+0, 155, 155, 1, 152064, 0x8f5726d1
+0, 156, 156, 1, 152064, 0x2e3c39d5
+0, 157, 157, 1, 152064, 0x4b67c4e6
+0, 158, 158, 1, 152064, 0x9fecb7cf
+0, 159, 159, 1, 152064, 0x207766ea
+0, 160, 160, 1, 152064, 0x5846bf7b
+0, 161, 161, 1, 152064, 0x4237fba1
+0, 162, 162, 1, 152064, 0x983e0cbd
+0, 163, 163, 1, 152064, 0x6be100d1
+0, 164, 164, 1, 152064, 0x9d0beb8f
+0, 165, 165, 1, 152064, 0x234b82e7
+0, 166, 166, 1, 152064, 0x83fb5ef1
+0, 167, 167, 1, 152064, 0xf503dcb2
+0, 168, 168, 1, 152064, 0x031a27f2
+0, 169, 169, 1, 152064, 0x2f1abf24
+0, 170, 170, 1, 152064, 0x54d77010
+0, 171, 171, 1, 152064, 0x049fc0fc
+0, 172, 172, 1, 152064, 0x20f2f7e7
+0, 173, 173, 1, 152064, 0xc0d57467
+0, 174, 174, 1, 152064, 0xbe464eef
+0, 175, 175, 1, 152064, 0x035c9052
+0, 176, 176, 1, 152064, 0x91cba4fb
+0, 177, 177, 1, 152064, 0x11cdbbfb
+0, 178, 178, 1, 152064, 0xe61116d5
+0, 179, 179, 1, 152064, 0x16db46b8
+0, 180, 180, 1, 152064, 0x54f30d9f
+0, 181, 181, 1, 152064, 0x211a8d2d
+0, 182, 182, 1, 152064, 0x5a74a56b
+0, 183, 183, 1, 152064, 0x0ff4ba72
+0, 184, 184, 1, 152064, 0x4c398ad6
+0, 185, 185, 1, 152064, 0x830814f0
+0, 186, 186, 1, 152064, 0xa51f4bab
+0, 187, 187, 1, 152064, 0xf3460de6
+0, 188, 188, 1, 152064, 0x7e1979a1
+0, 189, 189, 1, 152064, 0x4b3ebb3a
+0, 190, 190, 1, 152064, 0x83d1f4f8
+0, 191, 191, 1, 152064, 0xfbf08683
+0, 192, 192, 1, 152064, 0x901c07ec
+0, 193, 193, 1, 152064, 0xbc2dc1c7
+0, 194, 194, 1, 152064, 0x6e646b3b
+0, 195, 195, 1, 152064, 0x51a25aab
+0, 196, 196, 1, 152064, 0xa042ab78
+0, 197, 197, 1, 152064, 0xb972af58
+0, 198, 198, 1, 152064, 0xcdca9568
+0, 199, 199, 1, 152064, 0x17b69d1c
+0, 200, 200, 1, 152064, 0x41c43ea2
+0, 201, 201, 1, 152064, 0x195fc7a0
+0, 202, 202, 1, 152064, 0xf4cec580
+0, 203, 203, 1, 152064, 0xb3b10936
+0, 204, 204, 1, 152064, 0x102bc2ec
+0, 205, 205, 1, 152064, 0xc99d4767
+0, 206, 206, 1, 152064, 0x60c745b0
+0, 207, 207, 1, 152064, 0x8176e0cf
+0, 208, 208, 1, 152064, 0xd47e69b5
+0, 209, 209, 1, 152064, 0xacce674c
+0, 210, 210, 1, 152064, 0x031b51f8
+0, 211, 211, 1, 152064, 0x0eb681ef
+0, 212, 212, 1, 152064, 0x0b69334b
+0, 213, 213, 1, 152064, 0xda819c1f
+0, 214, 214, 1, 152064, 0xa93f62d2
+0, 215, 215, 1, 152064, 0x51374db5
+0, 216, 216, 1, 152064, 0x885dccff
+0, 217, 217, 1, 152064, 0xd0780444
+0, 218, 218, 1, 152064, 0xa31733ca
+0, 219, 219, 1, 152064, 0x3f3de84e
+0, 220, 220, 1, 152064, 0x2af2b2c3
+0, 221, 221, 1, 152064, 0xa62dceae
+0, 222, 222, 1, 152064, 0xca1cffd1
+0, 223, 223, 1, 152064, 0x3c7d561b
+0, 224, 224, 1, 152064, 0xbc04130a
+0, 225, 225, 1, 152064, 0xbd2829ae
+0, 226, 226, 1, 152064, 0xdbbb9820
+0, 227, 227, 1, 152064, 0xfc3ef628
+0, 228, 228, 1, 152064, 0xd5da3ec3
+0, 229, 229, 1, 152064, 0x62d5fcc1
+0, 230, 230, 1, 152064, 0x455a8dae
+0, 231, 231, 1, 152064, 0x421c9147
+0, 232, 232, 1, 152064, 0x6a168484
+0, 233, 233, 1, 152064, 0x7ba15d32
+0, 234, 234, 1, 152064, 0xd089ed27
+0, 235, 235, 1, 152064, 0x8fc4d894
+0, 236, 236, 1, 152064, 0x99e47125
+0, 237, 237, 1, 152064, 0xf55dda68
+0, 238, 238, 1, 152064, 0x6bf06cf1
+0, 239, 239, 1, 152064, 0x7dc41a9d
+0, 240, 240, 1, 152064, 0x78b84019
+0, 241, 241, 1, 152064, 0x85ae8973
+0, 242, 242, 1, 152064, 0x7b7aeabe
+0, 243, 243, 1, 152064, 0xf9a8f6bf
+0, 244, 244, 1, 152064, 0xe195ddcd
+0, 245, 245, 1, 152064, 0x83edffe9
+0, 246, 246, 1, 152064, 0x59cce97a
+0, 247, 247, 1, 152064, 0x15268af1
+0, 248, 248, 1, 152064, 0x270cca95
+0, 249, 249, 1, 152064, 0x8bced1f9
+0, 250, 250, 1, 152064, 0x08ee5cec
+0, 251, 251, 1, 152064, 0x01e74f95
+0, 252, 252, 1, 152064, 0x7e19238f
+0, 253, 253, 1, 152064, 0x6bcb2b9d
+0, 254, 254, 1, 152064, 0x58111385
+0, 255, 255, 1, 152064, 0x6c7aa1f7
+0, 256, 256, 1, 152064, 0xb713a822
+0, 257, 257, 1, 152064, 0x1d645cee
+0, 258, 258, 1, 152064, 0x9c592969
+0, 259, 259, 1, 152064, 0x2472769e
+0, 260, 260, 1, 152064, 0x71b7a5ad
+0, 261, 261, 1, 152064, 0xc6bba1c6
+0, 262, 262, 1, 152064, 0x7351f305
+0, 263, 263, 1, 152064, 0x579edbba
+0, 264, 264, 1, 152064, 0x90eda919
+0, 265, 265, 1, 152064, 0x2833b10d
+0, 266, 266, 1, 152064, 0x4b967d65
+0, 267, 267, 1, 152064, 0x6e7d1702
+0, 268, 268, 1, 152064, 0x59dbcf5b
+0, 269, 269, 1, 152064, 0xa138847b
+0, 270, 270, 1, 152064, 0xb2414e8d
+0, 271, 271, 1, 152064, 0xb90497f6
+0, 272, 272, 1, 152064, 0xcd728159
+0, 273, 273, 1, 152064, 0x005d5bdd
+0, 274, 274, 1, 152064, 0x27c88fb6
+0, 275, 275, 1, 152064, 0x3ccb8a93
+0, 276, 276, 1, 152064, 0xc50256dd
+0, 277, 277, 1, 152064, 0x111e7dee
+0, 278, 278, 1, 152064, 0x259d4a5d
+0, 279, 279, 1, 152064, 0x9385148b
+0, 280, 280, 1, 152064, 0x74002ab0
+0, 281, 281, 1, 152064, 0xd2c74adc
+0, 282, 282, 1, 152064, 0x72854b2a
+0, 283, 283, 1, 152064, 0x638e5c08
+0, 284, 284, 1, 152064, 0x9626bbb3
+0, 285, 285, 1, 152064, 0xc107c18f
+0, 286, 286, 1, 152064, 0x8bd04578
+0, 287, 287, 1, 152064, 0xbcdb6db6
+0, 288, 288, 1, 152064, 0x9d0c81be
+0, 289, 289, 1, 152064, 0xf25106b6
+0, 290, 290, 1, 152064, 0x54c25254
+0, 291, 291, 1, 152064, 0x4bf74663
+0, 292, 292, 1, 152064, 0x0051b054
+0, 293, 293, 1, 152064, 0x5193d3d4
+0, 294, 294, 1, 152064, 0xb5d0d045
+0, 295, 295, 1, 152064, 0x350a31ca
+0, 296, 296, 1, 152064, 0xb8fb7264
+0, 297, 297, 1, 152064, 0x7fb97645
+0, 298, 298, 1, 152064, 0xcd948c41
+0, 299, 299, 1, 152064, 0x38c7570a
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a b/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
index a67b4baea6..dbfec436bd 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x502ec077
-0, 3600, 152064, 0x84807243
-0, 7200, 152064, 0xd7474a6e
-0, 10800, 152064, 0x793469bb
-0, 14400, 152064, 0xb7a0faf7
-0, 18000, 152064, 0x1d3d3cba
-0, 21600, 152064, 0xb62583de
-0, 25200, 152064, 0xc8422fb1
-0, 28800, 152064, 0x321dc699
-0, 32400, 152064, 0x7a34d350
-0, 36000, 152064, 0xaa4c302d
-0, 39600, 152064, 0x45fa7ab0
-0, 43200, 152064, 0xc7262e41
-0, 46800, 152064, 0x3550000c
-0, 50400, 152064, 0xf4bab54b
-0, 54000, 152064, 0xaccf9c1a
-0, 57600, 152064, 0x9bee20e9
-0, 61200, 152064, 0x47fb7720
-0, 64800, 152064, 0x12c63ffb
-0, 68400, 152064, 0xfa2b8b4d
-0, 72000, 152064, 0x279964bd
-0, 75600, 152064, 0xb8b01c7e
-0, 79200, 152064, 0x816fa010
-0, 82800, 152064, 0x59fe1c8c
-0, 86400, 152064, 0x13393fad
-0, 90000, 152064, 0x991a50a4
-0, 93600, 152064, 0x57df3eb7
-0, 97200, 152064, 0x744371df
-0, 100800, 152064, 0xe9f6d3ff
-0, 104400, 152064, 0xc506fba0
-0, 108000, 152064, 0x6295b90e
-0, 111600, 152064, 0xa19cee2d
-0, 115200, 152064, 0xf8c1b3ca
-0, 118800, 152064, 0x69f68ce0
-0, 122400, 152064, 0x80558bb6
-0, 126000, 152064, 0x27824fa5
-0, 129600, 152064, 0x27c929a1
-0, 133200, 152064, 0xc0fe06d1
-0, 136800, 152064, 0xc52bc58c
-0, 140400, 152064, 0x0a5363c7
-0, 144000, 152064, 0xd0f45a0d
-0, 147600, 152064, 0x274710f9
-0, 151200, 152064, 0x89d2d390
-0, 154800, 152064, 0x12a9bfb0
-0, 158400, 152064, 0x04501a93
-0, 162000, 152064, 0xf92cbbf4
-0, 165600, 152064, 0xf6d1b27d
-0, 169200, 152064, 0xe3e904c3
-0, 172800, 152064, 0x58f8516d
-0, 176400, 152064, 0x70370c2b
-0, 180000, 152064, 0xfeebc88c
-0, 183600, 152064, 0x974c6ed6
-0, 187200, 152064, 0x401bdcf2
-0, 190800, 152064, 0xfe61e278
-0, 194400, 152064, 0x96ba8bb9
-0, 198000, 152064, 0x988492fd
-0, 201600, 152064, 0xd1d913a9
-0, 205200, 152064, 0x6bc46f0e
-0, 208800, 152064, 0x695ef706
-0, 212400, 152064, 0x142045c9
-0, 216000, 152064, 0xb390ed87
-0, 219600, 152064, 0xb9e6d2e5
-0, 223200, 152064, 0xe348797f
-0, 226800, 152064, 0x1cbd29d6
-0, 230400, 152064, 0xbd7dd694
-0, 234000, 152064, 0x516873c3
-0, 237600, 152064, 0x27bba182
-0, 241200, 152064, 0x7541f920
-0, 244800, 152064, 0xfdf67042
-0, 248400, 152064, 0x6c3c7896
-0, 252000, 152064, 0xed86c467
-0, 255600, 152064, 0x4ea83ca2
-0, 259200, 152064, 0xa3e6725b
-0, 262800, 152064, 0x917f5f16
-0, 266400, 152064, 0x8cf2d2e1
-0, 270000, 152064, 0x57a8d116
-0, 273600, 152064, 0x0db267d4
-0, 277200, 152064, 0xce782ac5
-0, 280800, 152064, 0x1c9d8518
-0, 284400, 152064, 0x47598ac7
-0, 288000, 152064, 0xc5033d97
-0, 291600, 152064, 0xd7aaa3a4
-0, 295200, 152064, 0x078afc96
-0, 298800, 152064, 0xc9fe673d
-0, 302400, 152064, 0xe9284066
-0, 306000, 152064, 0xbc570982
-0, 309600, 152064, 0x0aac8574
-0, 313200, 152064, 0x098cbeee
-0, 316800, 152064, 0x19c36a9d
-0, 320400, 152064, 0x8fe4a893
-0, 324000, 152064, 0x0b652f17
-0, 327600, 152064, 0x10f2e6bf
-0, 331200, 152064, 0x7ce5634e
-0, 334800, 152064, 0x8fe4ac6c
-0, 338400, 152064, 0xcaba749e
-0, 342000, 152064, 0x5f8a0d5c
-0, 345600, 152064, 0xcaa66bbc
-0, 349200, 152064, 0xc87ae617
-0, 352800, 152064, 0xe8ef4dd7
-0, 356400, 152064, 0xdfca5a07
-0, 360000, 152064, 0x5f7eab7d
-0, 363600, 152064, 0x8a65ebbb
-0, 367200, 152064, 0x4beab4a0
-0, 370800, 152064, 0xb5e6ab30
-0, 374400, 152064, 0x8fe4f4d4
-0, 378000, 152064, 0x95bde1ca
-0, 381600, 152064, 0xcc5e3a53
-0, 385200, 152064, 0xf09f1dd7
-0, 388800, 152064, 0x10179672
-0, 392400, 152064, 0x4ad16184
-0, 396000, 152064, 0x9efa0e23
-0, 399600, 152064, 0x22f59522
-0, 403200, 152064, 0x4d38f09d
-0, 406800, 152064, 0x4c5ebf56
-0, 410400, 152064, 0xb19d5077
-0, 414000, 152064, 0xa98576b9
-0, 417600, 152064, 0x65324239
-0, 421200, 152064, 0x709e4031
-0, 424800, 152064, 0xf8e81681
-0, 428400, 152064, 0x058514e5
-0, 432000, 152064, 0xd1d1c806
-0, 435600, 152064, 0x0e4dde57
-0, 439200, 152064, 0x49e9c2bb
-0, 442800, 152064, 0x01417ce6
-0, 446400, 152064, 0xda7ebbf1
-0, 450000, 152064, 0xa22906b7
-0, 453600, 152064, 0x32e2df87
-0, 457200, 152064, 0x69917c8f
-0, 460800, 152064, 0xea8ed2cc
-0, 464400, 152064, 0x0b8d57f1
-0, 468000, 152064, 0x5f683bcd
-0, 471600, 152064, 0x5162fe2f
-0, 475200, 152064, 0x49c052f8
-0, 478800, 152064, 0x990b69ba
-0, 482400, 152064, 0xa6d4f99f
-0, 486000, 152064, 0xe79ef4da
-0, 489600, 152064, 0x5e8a3847
-0, 493200, 152064, 0x38b1e75f
-0, 496800, 152064, 0xf5c91bed
-0, 500400, 152064, 0xd59a6d26
-0, 504000, 152064, 0xc361de06
-0, 507600, 152064, 0x63ed2229
-0, 511200, 152064, 0xb8229205
-0, 514800, 152064, 0x7c6619af
-0, 518400, 152064, 0x4126b02f
-0, 522000, 152064, 0x9250b99b
-0, 525600, 152064, 0x589778f9
-0, 529200, 152064, 0xed1fa45b
-0, 532800, 152064, 0x700b6f32
-0, 536400, 152064, 0x0590df55
-0, 540000, 152064, 0x3e9c4018
-0, 543600, 152064, 0x957b8860
-0, 547200, 152064, 0x56161560
-0, 550800, 152064, 0xbc43bc3b
-0, 554400, 152064, 0x508d8632
-0, 558000, 152064, 0xbc5736d8
-0, 561600, 152064, 0xed7d3aef
-0, 565200, 152064, 0x1dcdda9f
-0, 568800, 152064, 0x8ef6d5c9
-0, 572400, 152064, 0x15466acc
-0, 576000, 152064, 0x45d4cf67
-0, 579600, 152064, 0x8c900b9d
-0, 583200, 152064, 0x747006e0
-0, 586800, 152064, 0xac920a0c
-0, 590400, 152064, 0xb8210c27
-0, 594000, 152064, 0x7dbb873a
-0, 597600, 152064, 0x0d4d7584
-0, 601200, 152064, 0xefb3fe60
-0, 604800, 152064, 0x905e2644
-0, 608400, 152064, 0x7c04e534
-0, 612000, 152064, 0x8889972a
-0, 615600, 152064, 0x21c7d8ad
-0, 619200, 152064, 0x1c641176
-0, 622800, 152064, 0xf71489a4
-0, 626400, 152064, 0xd7ac5555
-0, 630000, 152064, 0xb4609c6d
-0, 633600, 152064, 0xf5b2bd5e
-0, 637200, 152064, 0x9f43ce57
-0, 640800, 152064, 0x77642dd3
-0, 644400, 152064, 0x3e79565c
-0, 648000, 152064, 0x95f40b8e
-0, 651600, 152064, 0x3c8ca4d4
-0, 655200, 152064, 0xa02ac497
-0, 658800, 152064, 0x4c93b377
-0, 662400, 152064, 0x55f5ac68
-0, 666000, 152064, 0xf8652eca
-0, 669600, 152064, 0x56e94574
-0, 673200, 152064, 0x6d8302e1
-0, 676800, 152064, 0x29a57061
-0, 680400, 152064, 0x24e4cfdc
-0, 684000, 152064, 0xf5a5d62a
-0, 687600, 152064, 0x998870c1
-0, 691200, 152064, 0xa15b1f4e
-0, 694800, 152064, 0xb0ccb51f
-0, 698400, 152064, 0xeaaf59ab
-0, 702000, 152064, 0x7e2b4fe6
-0, 705600, 152064, 0x72299fea
-0, 709200, 152064, 0x769da8b2
-0, 712800, 152064, 0xefad7ef8
-0, 716400, 152064, 0x24819983
-0, 720000, 152064, 0x2aad32ab
-0, 723600, 152064, 0xc80cac79
-0, 727200, 152064, 0x1659d628
-0, 730800, 152064, 0xef941f66
-0, 734400, 152064, 0x0d7fcdb5
-0, 738000, 152064, 0x7c1853fa
-0, 741600, 152064, 0xb94c4d3c
-0, 745200, 152064, 0xc47adfc2
-0, 748800, 152064, 0x366a6729
-0, 752400, 152064, 0x7eb37b70
-0, 756000, 152064, 0xafd54c27
-0, 759600, 152064, 0x67b18636
-0, 763200, 152064, 0x93b22dcf
-0, 766800, 152064, 0xa64991f1
-0, 770400, 152064, 0xd32a7102
-0, 774000, 152064, 0xff665d1c
-0, 777600, 152064, 0xf107cc31
-0, 781200, 152064, 0xf5b25652
-0, 784800, 152064, 0x8caf783d
-0, 788400, 152064, 0x72f3eb00
-0, 792000, 152064, 0xb5aea5f8
-0, 795600, 152064, 0xee70e870
-0, 799200, 152064, 0x7c3a0156
-0, 802800, 152064, 0x871b6383
-0, 806400, 152064, 0x48d831ff
-0, 810000, 152064, 0xca233913
-0, 813600, 152064, 0xe14bc5eb
-0, 817200, 152064, 0x9b1d27e7
-0, 820800, 152064, 0xfb9637f7
-0, 824400, 152064, 0x0c022157
-0, 828000, 152064, 0x16d35fc9
-0, 831600, 152064, 0x6d935f71
-0, 835200, 152064, 0xae4066fa
-0, 838800, 152064, 0xcef94fdc
-0, 842400, 152064, 0xc234edb9
-0, 846000, 152064, 0x26a4f2e2
-0, 849600, 152064, 0xd29ac23e
-0, 853200, 152064, 0xb7604395
-0, 856800, 152064, 0x408084f6
-0, 860400, 152064, 0x0a02026c
-0, 864000, 152064, 0x78b33c7c
-0, 867600, 152064, 0xcb02b874
-0, 871200, 152064, 0xf566513b
-0, 874800, 152064, 0xb34e52b1
-0, 878400, 152064, 0xf55ff493
-0, 882000, 152064, 0xb0e8282a
-0, 885600, 152064, 0xe9510bbe
-0, 889200, 152064, 0x292e8c5a
-0, 892800, 152064, 0x62b9d2b0
-0, 896400, 152064, 0x3a8cc827
-0, 900000, 152064, 0x25cc465e
-0, 903600, 152064, 0xf2bc32e2
-0, 907200, 152064, 0x6141f914
-0, 910800, 152064, 0x1171256f
-0, 914400, 152064, 0x13cb2ded
-0, 918000, 152064, 0x3d4ca557
-0, 921600, 152064, 0xf2b9e72e
-0, 925200, 152064, 0x03f7547a
-0, 928800, 152064, 0xc7302955
-0, 932400, 152064, 0xe78a46d3
-0, 936000, 152064, 0x3726a270
-0, 939600, 152064, 0x2f65722a
-0, 943200, 152064, 0x55acce40
-0, 946800, 152064, 0xf6fa9db2
-0, 950400, 152064, 0x70a36937
-0, 954000, 152064, 0x9313742d
-0, 957600, 152064, 0x2eb14e53
-0, 961200, 152064, 0x3d47c9c3
-0, 964800, 152064, 0xd0a90348
-0, 968400, 152064, 0x6ad48088
-0, 972000, 152064, 0x68e64738
-0, 975600, 152064, 0x04c3735a
-0, 979200, 152064, 0x51d0593f
-0, 982800, 152064, 0x42cf2b48
-0, 986400, 152064, 0xa5496a0c
-0, 990000, 152064, 0x84c25549
-0, 993600, 152064, 0x96691600
-0, 997200, 152064, 0x423135db
-0, 1000800, 152064, 0x8d2e08b6
-0, 1004400, 152064, 0xaeb4c840
-0, 1008000, 152064, 0xf3e71780
-0, 1011600, 152064, 0x8858228b
-0, 1015200, 152064, 0xf28613f8
-0, 1018800, 152064, 0xb5327882
-0, 1022400, 152064, 0xbb60bb85
-0, 1026000, 152064, 0x345ab1c9
-0, 1029600, 152064, 0x8aac2cba
-0, 1033200, 152064, 0x7ce15b4c
-0, 1036800, 152064, 0xc09c55c0
-0, 1040400, 152064, 0x8482ddd6
-0, 1044000, 152064, 0xab222a13
-0, 1047600, 152064, 0xd39b0dea
-0, 1051200, 152064, 0x6dab6e06
-0, 1054800, 152064, 0xec0891bd
-0, 1058400, 152064, 0x88bd9701
-0, 1062000, 152064, 0xdf13072a
-0, 1065600, 152064, 0x23b33081
-0, 1069200, 152064, 0x63943137
-0, 1072800, 152064, 0xab6a9052
-0, 1076400, 152064, 0x05485494
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x502ec077
+0, 1, 1, 1, 152064, 0x84807243
+0, 2, 2, 1, 152064, 0xd7474a6e
+0, 3, 3, 1, 152064, 0x793469bb
+0, 4, 4, 1, 152064, 0xb7a0faf7
+0, 5, 5, 1, 152064, 0x1d3d3cba
+0, 6, 6, 1, 152064, 0xb62583de
+0, 7, 7, 1, 152064, 0xc8422fb1
+0, 8, 8, 1, 152064, 0x321dc699
+0, 9, 9, 1, 152064, 0x7a34d350
+0, 10, 10, 1, 152064, 0xaa4c302d
+0, 11, 11, 1, 152064, 0x45fa7ab0
+0, 12, 12, 1, 152064, 0xc7262e41
+0, 13, 13, 1, 152064, 0x3550000c
+0, 14, 14, 1, 152064, 0xf4bab54b
+0, 15, 15, 1, 152064, 0xaccf9c1a
+0, 16, 16, 1, 152064, 0x9bee20e9
+0, 17, 17, 1, 152064, 0x47fb7720
+0, 18, 18, 1, 152064, 0x12c63ffb
+0, 19, 19, 1, 152064, 0xfa2b8b4d
+0, 20, 20, 1, 152064, 0x279964bd
+0, 21, 21, 1, 152064, 0xb8b01c7e
+0, 22, 22, 1, 152064, 0x816fa010
+0, 23, 23, 1, 152064, 0x59fe1c8c
+0, 24, 24, 1, 152064, 0x13393fad
+0, 25, 25, 1, 152064, 0x991a50a4
+0, 26, 26, 1, 152064, 0x57df3eb7
+0, 27, 27, 1, 152064, 0x744371df
+0, 28, 28, 1, 152064, 0xe9f6d3ff
+0, 29, 29, 1, 152064, 0xc506fba0
+0, 30, 30, 1, 152064, 0x6295b90e
+0, 31, 31, 1, 152064, 0xa19cee2d
+0, 32, 32, 1, 152064, 0xf8c1b3ca
+0, 33, 33, 1, 152064, 0x69f68ce0
+0, 34, 34, 1, 152064, 0x80558bb6
+0, 35, 35, 1, 152064, 0x27824fa5
+0, 36, 36, 1, 152064, 0x27c929a1
+0, 37, 37, 1, 152064, 0xc0fe06d1
+0, 38, 38, 1, 152064, 0xc52bc58c
+0, 39, 39, 1, 152064, 0x0a5363c7
+0, 40, 40, 1, 152064, 0xd0f45a0d
+0, 41, 41, 1, 152064, 0x274710f9
+0, 42, 42, 1, 152064, 0x89d2d390
+0, 43, 43, 1, 152064, 0x12a9bfb0
+0, 44, 44, 1, 152064, 0x04501a93
+0, 45, 45, 1, 152064, 0xf92cbbf4
+0, 46, 46, 1, 152064, 0xf6d1b27d
+0, 47, 47, 1, 152064, 0xe3e904c3
+0, 48, 48, 1, 152064, 0x58f8516d
+0, 49, 49, 1, 152064, 0x70370c2b
+0, 50, 50, 1, 152064, 0xfeebc88c
+0, 51, 51, 1, 152064, 0x974c6ed6
+0, 52, 52, 1, 152064, 0x401bdcf2
+0, 53, 53, 1, 152064, 0xfe61e278
+0, 54, 54, 1, 152064, 0x96ba8bb9
+0, 55, 55, 1, 152064, 0x988492fd
+0, 56, 56, 1, 152064, 0xd1d913a9
+0, 57, 57, 1, 152064, 0x6bc46f0e
+0, 58, 58, 1, 152064, 0x695ef706
+0, 59, 59, 1, 152064, 0x142045c9
+0, 60, 60, 1, 152064, 0xb390ed87
+0, 61, 61, 1, 152064, 0xb9e6d2e5
+0, 62, 62, 1, 152064, 0xe348797f
+0, 63, 63, 1, 152064, 0x1cbd29d6
+0, 64, 64, 1, 152064, 0xbd7dd694
+0, 65, 65, 1, 152064, 0x516873c3
+0, 66, 66, 1, 152064, 0x27bba182
+0, 67, 67, 1, 152064, 0x7541f920
+0, 68, 68, 1, 152064, 0xfdf67042
+0, 69, 69, 1, 152064, 0x6c3c7896
+0, 70, 70, 1, 152064, 0xed86c467
+0, 71, 71, 1, 152064, 0x4ea83ca2
+0, 72, 72, 1, 152064, 0xa3e6725b
+0, 73, 73, 1, 152064, 0x917f5f16
+0, 74, 74, 1, 152064, 0x8cf2d2e1
+0, 75, 75, 1, 152064, 0x57a8d116
+0, 76, 76, 1, 152064, 0x0db267d4
+0, 77, 77, 1, 152064, 0xce782ac5
+0, 78, 78, 1, 152064, 0x1c9d8518
+0, 79, 79, 1, 152064, 0x47598ac7
+0, 80, 80, 1, 152064, 0xc5033d97
+0, 81, 81, 1, 152064, 0xd7aaa3a4
+0, 82, 82, 1, 152064, 0x078afc96
+0, 83, 83, 1, 152064, 0xc9fe673d
+0, 84, 84, 1, 152064, 0xe9284066
+0, 85, 85, 1, 152064, 0xbc570982
+0, 86, 86, 1, 152064, 0x0aac8574
+0, 87, 87, 1, 152064, 0x098cbeee
+0, 88, 88, 1, 152064, 0x19c36a9d
+0, 89, 89, 1, 152064, 0x8fe4a893
+0, 90, 90, 1, 152064, 0x0b652f17
+0, 91, 91, 1, 152064, 0x10f2e6bf
+0, 92, 92, 1, 152064, 0x7ce5634e
+0, 93, 93, 1, 152064, 0x8fe4ac6c
+0, 94, 94, 1, 152064, 0xcaba749e
+0, 95, 95, 1, 152064, 0x5f8a0d5c
+0, 96, 96, 1, 152064, 0xcaa66bbc
+0, 97, 97, 1, 152064, 0xc87ae617
+0, 98, 98, 1, 152064, 0xe8ef4dd7
+0, 99, 99, 1, 152064, 0xdfca5a07
+0, 100, 100, 1, 152064, 0x5f7eab7d
+0, 101, 101, 1, 152064, 0x8a65ebbb
+0, 102, 102, 1, 152064, 0x4beab4a0
+0, 103, 103, 1, 152064, 0xb5e6ab30
+0, 104, 104, 1, 152064, 0x8fe4f4d4
+0, 105, 105, 1, 152064, 0x95bde1ca
+0, 106, 106, 1, 152064, 0xcc5e3a53
+0, 107, 107, 1, 152064, 0xf09f1dd7
+0, 108, 108, 1, 152064, 0x10179672
+0, 109, 109, 1, 152064, 0x4ad16184
+0, 110, 110, 1, 152064, 0x9efa0e23
+0, 111, 111, 1, 152064, 0x22f59522
+0, 112, 112, 1, 152064, 0x4d38f09d
+0, 113, 113, 1, 152064, 0x4c5ebf56
+0, 114, 114, 1, 152064, 0xb19d5077
+0, 115, 115, 1, 152064, 0xa98576b9
+0, 116, 116, 1, 152064, 0x65324239
+0, 117, 117, 1, 152064, 0x709e4031
+0, 118, 118, 1, 152064, 0xf8e81681
+0, 119, 119, 1, 152064, 0x058514e5
+0, 120, 120, 1, 152064, 0xd1d1c806
+0, 121, 121, 1, 152064, 0x0e4dde57
+0, 122, 122, 1, 152064, 0x49e9c2bb
+0, 123, 123, 1, 152064, 0x01417ce6
+0, 124, 124, 1, 152064, 0xda7ebbf1
+0, 125, 125, 1, 152064, 0xa22906b7
+0, 126, 126, 1, 152064, 0x32e2df87
+0, 127, 127, 1, 152064, 0x69917c8f
+0, 128, 128, 1, 152064, 0xea8ed2cc
+0, 129, 129, 1, 152064, 0x0b8d57f1
+0, 130, 130, 1, 152064, 0x5f683bcd
+0, 131, 131, 1, 152064, 0x5162fe2f
+0, 132, 132, 1, 152064, 0x49c052f8
+0, 133, 133, 1, 152064, 0x990b69ba
+0, 134, 134, 1, 152064, 0xa6d4f99f
+0, 135, 135, 1, 152064, 0xe79ef4da
+0, 136, 136, 1, 152064, 0x5e8a3847
+0, 137, 137, 1, 152064, 0x38b1e75f
+0, 138, 138, 1, 152064, 0xf5c91bed
+0, 139, 139, 1, 152064, 0xd59a6d26
+0, 140, 140, 1, 152064, 0xc361de06
+0, 141, 141, 1, 152064, 0x63ed2229
+0, 142, 142, 1, 152064, 0xb8229205
+0, 143, 143, 1, 152064, 0x7c6619af
+0, 144, 144, 1, 152064, 0x4126b02f
+0, 145, 145, 1, 152064, 0x9250b99b
+0, 146, 146, 1, 152064, 0x589778f9
+0, 147, 147, 1, 152064, 0xed1fa45b
+0, 148, 148, 1, 152064, 0x700b6f32
+0, 149, 149, 1, 152064, 0x0590df55
+0, 150, 150, 1, 152064, 0x3e9c4018
+0, 151, 151, 1, 152064, 0x957b8860
+0, 152, 152, 1, 152064, 0x56161560
+0, 153, 153, 1, 152064, 0xbc43bc3b
+0, 154, 154, 1, 152064, 0x508d8632
+0, 155, 155, 1, 152064, 0xbc5736d8
+0, 156, 156, 1, 152064, 0xed7d3aef
+0, 157, 157, 1, 152064, 0x1dcdda9f
+0, 158, 158, 1, 152064, 0x8ef6d5c9
+0, 159, 159, 1, 152064, 0x15466acc
+0, 160, 160, 1, 152064, 0x45d4cf67
+0, 161, 161, 1, 152064, 0x8c900b9d
+0, 162, 162, 1, 152064, 0x747006e0
+0, 163, 163, 1, 152064, 0xac920a0c
+0, 164, 164, 1, 152064, 0xb8210c27
+0, 165, 165, 1, 152064, 0x7dbb873a
+0, 166, 166, 1, 152064, 0x0d4d7584
+0, 167, 167, 1, 152064, 0xefb3fe60
+0, 168, 168, 1, 152064, 0x905e2644
+0, 169, 169, 1, 152064, 0x7c04e534
+0, 170, 170, 1, 152064, 0x8889972a
+0, 171, 171, 1, 152064, 0x21c7d8ad
+0, 172, 172, 1, 152064, 0x1c641176
+0, 173, 173, 1, 152064, 0xf71489a4
+0, 174, 174, 1, 152064, 0xd7ac5555
+0, 175, 175, 1, 152064, 0xb4609c6d
+0, 176, 176, 1, 152064, 0xf5b2bd5e
+0, 177, 177, 1, 152064, 0x9f43ce57
+0, 178, 178, 1, 152064, 0x77642dd3
+0, 179, 179, 1, 152064, 0x3e79565c
+0, 180, 180, 1, 152064, 0x95f40b8e
+0, 181, 181, 1, 152064, 0x3c8ca4d4
+0, 182, 182, 1, 152064, 0xa02ac497
+0, 183, 183, 1, 152064, 0x4c93b377
+0, 184, 184, 1, 152064, 0x55f5ac68
+0, 185, 185, 1, 152064, 0xf8652eca
+0, 186, 186, 1, 152064, 0x56e94574
+0, 187, 187, 1, 152064, 0x6d8302e1
+0, 188, 188, 1, 152064, 0x29a57061
+0, 189, 189, 1, 152064, 0x24e4cfdc
+0, 190, 190, 1, 152064, 0xf5a5d62a
+0, 191, 191, 1, 152064, 0x998870c1
+0, 192, 192, 1, 152064, 0xa15b1f4e
+0, 193, 193, 1, 152064, 0xb0ccb51f
+0, 194, 194, 1, 152064, 0xeaaf59ab
+0, 195, 195, 1, 152064, 0x7e2b4fe6
+0, 196, 196, 1, 152064, 0x72299fea
+0, 197, 197, 1, 152064, 0x769da8b2
+0, 198, 198, 1, 152064, 0xefad7ef8
+0, 199, 199, 1, 152064, 0x24819983
+0, 200, 200, 1, 152064, 0x2aad32ab
+0, 201, 201, 1, 152064, 0xc80cac79
+0, 202, 202, 1, 152064, 0x1659d628
+0, 203, 203, 1, 152064, 0xef941f66
+0, 204, 204, 1, 152064, 0x0d7fcdb5
+0, 205, 205, 1, 152064, 0x7c1853fa
+0, 206, 206, 1, 152064, 0xb94c4d3c
+0, 207, 207, 1, 152064, 0xc47adfc2
+0, 208, 208, 1, 152064, 0x366a6729
+0, 209, 209, 1, 152064, 0x7eb37b70
+0, 210, 210, 1, 152064, 0xafd54c27
+0, 211, 211, 1, 152064, 0x67b18636
+0, 212, 212, 1, 152064, 0x93b22dcf
+0, 213, 213, 1, 152064, 0xa64991f1
+0, 214, 214, 1, 152064, 0xd32a7102
+0, 215, 215, 1, 152064, 0xff665d1c
+0, 216, 216, 1, 152064, 0xf107cc31
+0, 217, 217, 1, 152064, 0xf5b25652
+0, 218, 218, 1, 152064, 0x8caf783d
+0, 219, 219, 1, 152064, 0x72f3eb00
+0, 220, 220, 1, 152064, 0xb5aea5f8
+0, 221, 221, 1, 152064, 0xee70e870
+0, 222, 222, 1, 152064, 0x7c3a0156
+0, 223, 223, 1, 152064, 0x871b6383
+0, 224, 224, 1, 152064, 0x48d831ff
+0, 225, 225, 1, 152064, 0xca233913
+0, 226, 226, 1, 152064, 0xe14bc5eb
+0, 227, 227, 1, 152064, 0x9b1d27e7
+0, 228, 228, 1, 152064, 0xfb9637f7
+0, 229, 229, 1, 152064, 0x0c022157
+0, 230, 230, 1, 152064, 0x16d35fc9
+0, 231, 231, 1, 152064, 0x6d935f71
+0, 232, 232, 1, 152064, 0xae4066fa
+0, 233, 233, 1, 152064, 0xcef94fdc
+0, 234, 234, 1, 152064, 0xc234edb9
+0, 235, 235, 1, 152064, 0x26a4f2e2
+0, 236, 236, 1, 152064, 0xd29ac23e
+0, 237, 237, 1, 152064, 0xb7604395
+0, 238, 238, 1, 152064, 0x408084f6
+0, 239, 239, 1, 152064, 0x0a02026c
+0, 240, 240, 1, 152064, 0x78b33c7c
+0, 241, 241, 1, 152064, 0xcb02b874
+0, 242, 242, 1, 152064, 0xf566513b
+0, 243, 243, 1, 152064, 0xb34e52b1
+0, 244, 244, 1, 152064, 0xf55ff493
+0, 245, 245, 1, 152064, 0xb0e8282a
+0, 246, 246, 1, 152064, 0xe9510bbe
+0, 247, 247, 1, 152064, 0x292e8c5a
+0, 248, 248, 1, 152064, 0x62b9d2b0
+0, 249, 249, 1, 152064, 0x3a8cc827
+0, 250, 250, 1, 152064, 0x25cc465e
+0, 251, 251, 1, 152064, 0xf2bc32e2
+0, 252, 252, 1, 152064, 0x6141f914
+0, 253, 253, 1, 152064, 0x1171256f
+0, 254, 254, 1, 152064, 0x13cb2ded
+0, 255, 255, 1, 152064, 0x3d4ca557
+0, 256, 256, 1, 152064, 0xf2b9e72e
+0, 257, 257, 1, 152064, 0x03f7547a
+0, 258, 258, 1, 152064, 0xc7302955
+0, 259, 259, 1, 152064, 0xe78a46d3
+0, 260, 260, 1, 152064, 0x3726a270
+0, 261, 261, 1, 152064, 0x2f65722a
+0, 262, 262, 1, 152064, 0x55acce40
+0, 263, 263, 1, 152064, 0xf6fa9db2
+0, 264, 264, 1, 152064, 0x70a36937
+0, 265, 265, 1, 152064, 0x9313742d
+0, 266, 266, 1, 152064, 0x2eb14e53
+0, 267, 267, 1, 152064, 0x3d47c9c3
+0, 268, 268, 1, 152064, 0xd0a90348
+0, 269, 269, 1, 152064, 0x6ad48088
+0, 270, 270, 1, 152064, 0x68e64738
+0, 271, 271, 1, 152064, 0x04c3735a
+0, 272, 272, 1, 152064, 0x51d0593f
+0, 273, 273, 1, 152064, 0x42cf2b48
+0, 274, 274, 1, 152064, 0xa5496a0c
+0, 275, 275, 1, 152064, 0x84c25549
+0, 276, 276, 1, 152064, 0x96691600
+0, 277, 277, 1, 152064, 0x423135db
+0, 278, 278, 1, 152064, 0x8d2e08b6
+0, 279, 279, 1, 152064, 0xaeb4c840
+0, 280, 280, 1, 152064, 0xf3e71780
+0, 281, 281, 1, 152064, 0x8858228b
+0, 282, 282, 1, 152064, 0xf28613f8
+0, 283, 283, 1, 152064, 0xb5327882
+0, 284, 284, 1, 152064, 0xbb60bb85
+0, 285, 285, 1, 152064, 0x345ab1c9
+0, 286, 286, 1, 152064, 0x8aac2cba
+0, 287, 287, 1, 152064, 0x7ce15b4c
+0, 288, 288, 1, 152064, 0xc09c55c0
+0, 289, 289, 1, 152064, 0x8482ddd6
+0, 290, 290, 1, 152064, 0xab222a13
+0, 291, 291, 1, 152064, 0xd39b0dea
+0, 292, 292, 1, 152064, 0x6dab6e06
+0, 293, 293, 1, 152064, 0xec0891bd
+0, 294, 294, 1, 152064, 0x88bd9701
+0, 295, 295, 1, 152064, 0xdf13072a
+0, 296, 296, 1, 152064, 0x23b33081
+0, 297, 297, 1, 152064, 0x63943137
+0, 298, 298, 1, 152064, 0xab6a9052
+0, 299, 299, 1, 152064, 0x05485494
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a b/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
index 97d7677085..65a366e0cb 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x3e39c08b
-0, 3600, 152064, 0xabc67990
-0, 7200, 152064, 0x19614e74
-0, 10800, 152064, 0xa3776beb
-0, 14400, 152064, 0xcce6ffdf
-0, 18000, 152064, 0xb0e94746
-0, 21600, 152064, 0xdb1a84ef
-0, 25200, 152064, 0xb2624509
-0, 28800, 152064, 0x32e2d826
-0, 32400, 152064, 0xb3bddf0b
-0, 36000, 152064, 0x2e273ce3
-0, 39600, 152064, 0x67af7e4d
-0, 43200, 152064, 0x505c3261
-0, 46800, 152064, 0xa43d015e
-0, 50400, 152064, 0xad41c1f6
-0, 54000, 152064, 0x633ba55f
-0, 57600, 152064, 0xe80634f0
-0, 61200, 152064, 0x80a07dc9
-0, 64800, 152064, 0x0e7a3bbf
-0, 68400, 152064, 0xcb099196
-0, 72000, 152064, 0x57c96db5
-0, 75600, 152064, 0xccd422fa
-0, 79200, 152064, 0x0850b7a7
-0, 82800, 152064, 0x30e33156
-0, 86400, 152064, 0x34e13f9a
-0, 90000, 152064, 0x03d36000
-0, 93600, 152064, 0xbf7d49da
-0, 97200, 152064, 0x77336d09
-0, 100800, 152064, 0xca8be5a9
-0, 104400, 152064, 0xe57c0b08
-0, 108000, 152064, 0xbe77c093
-0, 111600, 152064, 0x6bf1ff05
-0, 115200, 152064, 0x9142babf
-0, 118800, 152064, 0x08db8e67
-0, 122400, 152064, 0x69ac8cb6
-0, 126000, 152064, 0xaa3b5c88
-0, 129600, 152064, 0x9bd32638
-0, 133200, 152064, 0x7972115a
-0, 136800, 152064, 0x5c1dd47b
-0, 140400, 152064, 0x8a196e02
-0, 144000, 152064, 0xa89672bc
-0, 147600, 152064, 0x27b220e4
-0, 151200, 152064, 0xfa38dc4a
-0, 154800, 152064, 0x4784c639
-0, 158400, 152064, 0xa5e4229a
-0, 162000, 152064, 0xa986bdfc
-0, 165600, 152064, 0x2951b47b
-0, 169200, 152064, 0x4df404a6
-0, 172800, 152064, 0xc75155e8
-0, 176400, 152064, 0xfc05248c
-0, 180000, 152064, 0x5d53da10
-0, 183600, 152064, 0x284376ec
-0, 187200, 152064, 0x19fce380
-0, 190800, 152064, 0x876be6c9
-0, 194400, 152064, 0x39eb8ff9
-0, 198000, 152064, 0x289c9543
-0, 201600, 152064, 0x24dd2356
-0, 205200, 152064, 0x1dc17d3c
-0, 208800, 152064, 0xd17c00ac
-0, 212400, 152064, 0xc2ad54de
-0, 216000, 152064, 0xbe11ee2f
-0, 219600, 152064, 0x3db9dc89
-0, 223200, 152064, 0xac0d7bc2
-0, 226800, 152064, 0x8dab2dde
-0, 230400, 152064, 0x566ad225
-0, 234000, 152064, 0x587c7853
-0, 237600, 152064, 0x601c9c80
-0, 241200, 152064, 0x2afaf751
-0, 244800, 152064, 0x1c9f7e3a
-0, 248400, 152064, 0x899475bf
-0, 252000, 152064, 0x0d65c7d9
-0, 255600, 152064, 0xafd63d12
-0, 259200, 152064, 0x162e62b9
-0, 262800, 152064, 0x5c9554be
-0, 266400, 152064, 0x35fbdaa2
-0, 270000, 152064, 0x6438cbd8
-0, 273600, 152064, 0xde0772c9
-0, 277200, 152064, 0x79f82854
-0, 280800, 152064, 0x86957840
-0, 284400, 152064, 0xd9468cbf
-0, 288000, 152064, 0x23e74609
-0, 291600, 152064, 0x3919a146
-0, 295200, 152064, 0xd641078b
-0, 298800, 152064, 0x24397220
-0, 302400, 152064, 0xe7fc3a7c
-0, 306000, 152064, 0x3997154a
-0, 309600, 152064, 0x2af3952c
-0, 313200, 152064, 0x274ac07a
-0, 316800, 152064, 0x288f7b09
-0, 320400, 152064, 0xe6f9b022
-0, 324000, 152064, 0xf09e2fbb
-0, 327600, 152064, 0x7244e477
-0, 331200, 152064, 0x0dfc72eb
-0, 334800, 152064, 0x0322b21f
-0, 338400, 152064, 0x18b08205
-0, 342000, 152064, 0x6606153e
-0, 345600, 152064, 0x85186272
-0, 349200, 152064, 0x3369f064
-0, 352800, 152064, 0xbe0d5a44
-0, 356400, 152064, 0x320258bb
-0, 360000, 152064, 0x4d6fb091
-0, 363600, 152064, 0xc9bbf5e7
-0, 367200, 152064, 0x0aa1b69b
-0, 370800, 152064, 0x85b9ac11
-0, 374400, 152064, 0xb25ff818
-0, 378000, 152064, 0xa155dc25
-0, 381600, 152064, 0xa8e03bfd
-0, 385200, 152064, 0x0a862956
-0, 388800, 152064, 0x11b49264
-0, 392400, 152064, 0xa94e664e
-0, 396000, 152064, 0x330e0fa2
-0, 399600, 152064, 0xaf3d9518
-0, 403200, 152064, 0x0836f2e8
-0, 406800, 152064, 0xbf6dc578
-0, 410400, 152064, 0x7b524d20
-0, 414000, 152064, 0x9ef7677f
-0, 417600, 152064, 0xeacf3f34
-0, 421200, 152064, 0xfb4e3dbe
-0, 424800, 152064, 0xb46e25cb
-0, 428400, 152064, 0x363c1603
-0, 432000, 152064, 0x263fc542
-0, 435600, 152064, 0xf106e548
-0, 439200, 152064, 0xde43c56a
-0, 442800, 152064, 0xc2c4770a
-0, 446400, 152064, 0x122fce19
-0, 450000, 152064, 0x3ba01434
-0, 453600, 152064, 0x0e8ce5ee
-0, 457200, 152064, 0x6ceb82e1
-0, 460800, 152064, 0xa23ee21c
-0, 464400, 152064, 0xc6d960f9
-0, 468000, 152064, 0x0de15258
-0, 471600, 152064, 0x187b0333
-0, 475200, 152064, 0x92e6582f
-0, 478800, 152064, 0xb9586ce0
-0, 482400, 152064, 0xefd803b5
-0, 486000, 152064, 0x24eafb29
-0, 489600, 152064, 0x20c73b14
-0, 493200, 152064, 0xbd7ceaaa
-0, 496800, 152064, 0x775216c8
-0, 500400, 152064, 0xa08971c7
-0, 504000, 152064, 0xef0ee865
-0, 507600, 152064, 0x9ac61c2f
-0, 511200, 152064, 0x52ae8ea9
-0, 514800, 152064, 0x06571c14
-0, 518400, 152064, 0x6e78ad33
-0, 522000, 152064, 0xad01c627
-0, 525600, 152064, 0xbfe074d3
-0, 529200, 152064, 0x9357a183
-0, 532800, 152064, 0x8de7767f
-0, 536400, 152064, 0xa5e6e76e
-0, 540000, 152064, 0xa6f646fe
-0, 543600, 152064, 0x132e99f8
-0, 547200, 152064, 0xb79f27de
-0, 550800, 152064, 0x36d3cdcf
-0, 554400, 152064, 0xdc938336
-0, 558000, 152064, 0xacaa3a7f
-0, 561600, 152064, 0xc61a37fd
-0, 565200, 152064, 0x4fe1ddf0
-0, 568800, 152064, 0xc0f7d660
-0, 572400, 152064, 0xd72458ea
-0, 576000, 152064, 0x6978d123
-0, 579600, 152064, 0x64e60ccf
-0, 583200, 152064, 0xaa07004c
-0, 586800, 152064, 0x07cd1064
-0, 590400, 152064, 0xa82320e5
-0, 594000, 152064, 0xaedd8d30
-0, 597600, 152064, 0x79b082ea
-0, 601200, 152064, 0x9ed800ab
-0, 604800, 152064, 0xde592bb4
-0, 608400, 152064, 0xd966df88
-0, 612000, 152064, 0xf921988a
-0, 615600, 152064, 0x557ad9ae
-0, 619200, 152064, 0xc3f31a9a
-0, 622800, 152064, 0x65248561
-0, 626400, 152064, 0x63df4aa6
-0, 630000, 152064, 0x618da0a9
-0, 633600, 152064, 0xe6f1c435
-0, 637200, 152064, 0x9f90c38f
-0, 640800, 152064, 0xd2853e14
-0, 644400, 152064, 0x6e0268a9
-0, 648000, 152064, 0x393712d1
-0, 651600, 152064, 0x470da25f
-0, 655200, 152064, 0xaf55cb3d
-0, 658800, 152064, 0x6935b8b9
-0, 662400, 152064, 0x5409a15f
-0, 666000, 152064, 0x09073fee
-0, 669600, 152064, 0xfb274e82
-0, 673200, 152064, 0x1a770581
-0, 676800, 152064, 0x17277d0d
-0, 680400, 152064, 0xd4dcd982
-0, 684000, 152064, 0x6b04eaf3
-0, 687600, 152064, 0x8a3d822e
-0, 691200, 152064, 0x1b971ec9
-0, 694800, 152064, 0x14e0c0f6
-0, 698400, 152064, 0x00667450
-0, 702000, 152064, 0xd2385902
-0, 705600, 152064, 0x905da6ab
-0, 709200, 152064, 0xa3ffb18b
-0, 712800, 152064, 0x10d48b19
-0, 716400, 152064, 0xb2c7a3bd
-0, 720000, 152064, 0x45593e96
-0, 723600, 152064, 0x47a0b60c
-0, 727200, 152064, 0x68c6d1b9
-0, 730800, 152064, 0xbc881fcc
-0, 734400, 152064, 0x422cc6f2
-0, 738000, 152064, 0x9b686410
-0, 741600, 152064, 0x35dc5e86
-0, 745200, 152064, 0x247bedaa
-0, 748800, 152064, 0x22b76fd1
-0, 752400, 152064, 0x67cc7a75
-0, 756000, 152064, 0xa197521e
-0, 759600, 152064, 0x428c8662
-0, 763200, 152064, 0x33dc2c73
-0, 766800, 152064, 0x5b538903
-0, 770400, 152064, 0x3c4176b6
-0, 774000, 152064, 0x774364ba
-0, 777600, 152064, 0xf237d03e
-0, 781200, 152064, 0xac8746fb
-0, 784800, 152064, 0x6b306a84
-0, 788400, 152064, 0xa2ace513
-0, 792000, 152064, 0x709c9be7
-0, 795600, 152064, 0x2403f373
-0, 799200, 152064, 0x147bf717
-0, 802800, 152064, 0xe58964c8
-0, 806400, 152064, 0xa0da36fc
-0, 810000, 152064, 0x1ac1355c
-0, 813600, 152064, 0x8a31c9f2
-0, 817200, 152064, 0x42ba205c
-0, 820800, 152064, 0xa11b3575
-0, 824400, 152064, 0xcb35207c
-0, 828000, 152064, 0x528f6189
-0, 831600, 152064, 0x34f05bd7
-0, 835200, 152064, 0x72317356
-0, 838800, 152064, 0xaabd5028
-0, 842400, 152064, 0x13dbeb7b
-0, 846000, 152064, 0x62f1e8a8
-0, 849600, 152064, 0x1723bfcd
-0, 853200, 152064, 0x5c083c00
-0, 856800, 152064, 0x52137894
-0, 860400, 152064, 0xef1e082c
-0, 864000, 152064, 0x664b3d53
-0, 867600, 152064, 0x2eb9b296
-0, 871200, 152064, 0xd0ca511e
-0, 874800, 152064, 0x012d4724
-0, 878400, 152064, 0xa847f5af
-0, 882000, 152064, 0x483a2fde
-0, 885600, 152064, 0xd1ab0257
-0, 889200, 152064, 0x414692c7
-0, 892800, 152064, 0x0b79df88
-0, 896400, 152064, 0xdaa2c4a3
-0, 900000, 152064, 0xd1b44500
-0, 903600, 152064, 0xfd3d2cf3
-0, 907200, 152064, 0xfdc0f748
-0, 910800, 152064, 0xce762a2a
-0, 914400, 152064, 0x08b63572
-0, 918000, 152064, 0x5a46a38d
-0, 921600, 152064, 0x03cee9c0
-0, 925200, 152064, 0x9ee45473
-0, 928800, 152064, 0x5a432386
-0, 932400, 152064, 0x54c83d87
-0, 936000, 152064, 0xc9caa1de
-0, 939600, 152064, 0xa28367f1
-0, 943200, 152064, 0x2607cdf1
-0, 946800, 152064, 0x06baa8de
-0, 950400, 152064, 0xf5346e32
-0, 954000, 152064, 0x6d3e732b
-0, 957600, 152064, 0x798c584b
-0, 961200, 152064, 0x4076c948
-0, 964800, 152064, 0x868cf63a
-0, 968400, 152064, 0x23107ac5
-0, 972000, 152064, 0x306f3fe2
-0, 975600, 152064, 0xbd1d71d6
-0, 979200, 152064, 0x1429545f
-0, 982800, 152064, 0xaded29aa
-0, 986400, 152064, 0x9b455a94
-0, 990000, 152064, 0xb3774ce7
-0, 993600, 152064, 0x92580986
-0, 997200, 152064, 0x0eae2f95
-0, 1000800, 152064, 0x599208b2
-0, 1004400, 152064, 0x4804c04c
-0, 1008000, 152064, 0x5f730e8f
-0, 1011600, 152064, 0x3e501d1e
-0, 1015200, 152064, 0x32100740
-0, 1018800, 152064, 0x62226ff8
-0, 1022400, 152064, 0x7683b622
-0, 1026000, 152064, 0xc3e0aec1
-0, 1029600, 152064, 0xfac12608
-0, 1033200, 152064, 0xb21a5781
-0, 1036800, 152064, 0x8f1e4964
-0, 1040400, 152064, 0x0f62dd6e
-0, 1044000, 152064, 0xac062ac4
-0, 1047600, 152064, 0x1b320f7a
-0, 1051200, 152064, 0x346e7211
-0, 1054800, 152064, 0xe47592f3
-0, 1058400, 152064, 0xa3a7919c
-0, 1062000, 152064, 0xa3580fa6
-0, 1065600, 152064, 0xc73430c1
-0, 1069200, 152064, 0x994a2c18
-0, 1072800, 152064, 0x0b5d8d45
-0, 1076400, 152064, 0x9eed5109
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x3e39c08b
+0, 1, 1, 1, 152064, 0xabc67990
+0, 2, 2, 1, 152064, 0x19614e74
+0, 3, 3, 1, 152064, 0xa3776beb
+0, 4, 4, 1, 152064, 0xcce6ffdf
+0, 5, 5, 1, 152064, 0xb0e94746
+0, 6, 6, 1, 152064, 0xdb1a84ef
+0, 7, 7, 1, 152064, 0xb2624509
+0, 8, 8, 1, 152064, 0x32e2d826
+0, 9, 9, 1, 152064, 0xb3bddf0b
+0, 10, 10, 1, 152064, 0x2e273ce3
+0, 11, 11, 1, 152064, 0x67af7e4d
+0, 12, 12, 1, 152064, 0x505c3261
+0, 13, 13, 1, 152064, 0xa43d015e
+0, 14, 14, 1, 152064, 0xad41c1f6
+0, 15, 15, 1, 152064, 0x633ba55f
+0, 16, 16, 1, 152064, 0xe80634f0
+0, 17, 17, 1, 152064, 0x80a07dc9
+0, 18, 18, 1, 152064, 0x0e7a3bbf
+0, 19, 19, 1, 152064, 0xcb099196
+0, 20, 20, 1, 152064, 0x57c96db5
+0, 21, 21, 1, 152064, 0xccd422fa
+0, 22, 22, 1, 152064, 0x0850b7a7
+0, 23, 23, 1, 152064, 0x30e33156
+0, 24, 24, 1, 152064, 0x34e13f9a
+0, 25, 25, 1, 152064, 0x03d36000
+0, 26, 26, 1, 152064, 0xbf7d49da
+0, 27, 27, 1, 152064, 0x77336d09
+0, 28, 28, 1, 152064, 0xca8be5a9
+0, 29, 29, 1, 152064, 0xe57c0b08
+0, 30, 30, 1, 152064, 0xbe77c093
+0, 31, 31, 1, 152064, 0x6bf1ff05
+0, 32, 32, 1, 152064, 0x9142babf
+0, 33, 33, 1, 152064, 0x08db8e67
+0, 34, 34, 1, 152064, 0x69ac8cb6
+0, 35, 35, 1, 152064, 0xaa3b5c88
+0, 36, 36, 1, 152064, 0x9bd32638
+0, 37, 37, 1, 152064, 0x7972115a
+0, 38, 38, 1, 152064, 0x5c1dd47b
+0, 39, 39, 1, 152064, 0x8a196e02
+0, 40, 40, 1, 152064, 0xa89672bc
+0, 41, 41, 1, 152064, 0x27b220e4
+0, 42, 42, 1, 152064, 0xfa38dc4a
+0, 43, 43, 1, 152064, 0x4784c639
+0, 44, 44, 1, 152064, 0xa5e4229a
+0, 45, 45, 1, 152064, 0xa986bdfc
+0, 46, 46, 1, 152064, 0x2951b47b
+0, 47, 47, 1, 152064, 0x4df404a6
+0, 48, 48, 1, 152064, 0xc75155e8
+0, 49, 49, 1, 152064, 0xfc05248c
+0, 50, 50, 1, 152064, 0x5d53da10
+0, 51, 51, 1, 152064, 0x284376ec
+0, 52, 52, 1, 152064, 0x19fce380
+0, 53, 53, 1, 152064, 0x876be6c9
+0, 54, 54, 1, 152064, 0x39eb8ff9
+0, 55, 55, 1, 152064, 0x289c9543
+0, 56, 56, 1, 152064, 0x24dd2356
+0, 57, 57, 1, 152064, 0x1dc17d3c
+0, 58, 58, 1, 152064, 0xd17c00ac
+0, 59, 59, 1, 152064, 0xc2ad54de
+0, 60, 60, 1, 152064, 0xbe11ee2f
+0, 61, 61, 1, 152064, 0x3db9dc89
+0, 62, 62, 1, 152064, 0xac0d7bc2
+0, 63, 63, 1, 152064, 0x8dab2dde
+0, 64, 64, 1, 152064, 0x566ad225
+0, 65, 65, 1, 152064, 0x587c7853
+0, 66, 66, 1, 152064, 0x601c9c80
+0, 67, 67, 1, 152064, 0x2afaf751
+0, 68, 68, 1, 152064, 0x1c9f7e3a
+0, 69, 69, 1, 152064, 0x899475bf
+0, 70, 70, 1, 152064, 0x0d65c7d9
+0, 71, 71, 1, 152064, 0xafd63d12
+0, 72, 72, 1, 152064, 0x162e62b9
+0, 73, 73, 1, 152064, 0x5c9554be
+0, 74, 74, 1, 152064, 0x35fbdaa2
+0, 75, 75, 1, 152064, 0x6438cbd8
+0, 76, 76, 1, 152064, 0xde0772c9
+0, 77, 77, 1, 152064, 0x79f82854
+0, 78, 78, 1, 152064, 0x86957840
+0, 79, 79, 1, 152064, 0xd9468cbf
+0, 80, 80, 1, 152064, 0x23e74609
+0, 81, 81, 1, 152064, 0x3919a146
+0, 82, 82, 1, 152064, 0xd641078b
+0, 83, 83, 1, 152064, 0x24397220
+0, 84, 84, 1, 152064, 0xe7fc3a7c
+0, 85, 85, 1, 152064, 0x3997154a
+0, 86, 86, 1, 152064, 0x2af3952c
+0, 87, 87, 1, 152064, 0x274ac07a
+0, 88, 88, 1, 152064, 0x288f7b09
+0, 89, 89, 1, 152064, 0xe6f9b022
+0, 90, 90, 1, 152064, 0xf09e2fbb
+0, 91, 91, 1, 152064, 0x7244e477
+0, 92, 92, 1, 152064, 0x0dfc72eb
+0, 93, 93, 1, 152064, 0x0322b21f
+0, 94, 94, 1, 152064, 0x18b08205
+0, 95, 95, 1, 152064, 0x6606153e
+0, 96, 96, 1, 152064, 0x85186272
+0, 97, 97, 1, 152064, 0x3369f064
+0, 98, 98, 1, 152064, 0xbe0d5a44
+0, 99, 99, 1, 152064, 0x320258bb
+0, 100, 100, 1, 152064, 0x4d6fb091
+0, 101, 101, 1, 152064, 0xc9bbf5e7
+0, 102, 102, 1, 152064, 0x0aa1b69b
+0, 103, 103, 1, 152064, 0x85b9ac11
+0, 104, 104, 1, 152064, 0xb25ff818
+0, 105, 105, 1, 152064, 0xa155dc25
+0, 106, 106, 1, 152064, 0xa8e03bfd
+0, 107, 107, 1, 152064, 0x0a862956
+0, 108, 108, 1, 152064, 0x11b49264
+0, 109, 109, 1, 152064, 0xa94e664e
+0, 110, 110, 1, 152064, 0x330e0fa2
+0, 111, 111, 1, 152064, 0xaf3d9518
+0, 112, 112, 1, 152064, 0x0836f2e8
+0, 113, 113, 1, 152064, 0xbf6dc578
+0, 114, 114, 1, 152064, 0x7b524d20
+0, 115, 115, 1, 152064, 0x9ef7677f
+0, 116, 116, 1, 152064, 0xeacf3f34
+0, 117, 117, 1, 152064, 0xfb4e3dbe
+0, 118, 118, 1, 152064, 0xb46e25cb
+0, 119, 119, 1, 152064, 0x363c1603
+0, 120, 120, 1, 152064, 0x263fc542
+0, 121, 121, 1, 152064, 0xf106e548
+0, 122, 122, 1, 152064, 0xde43c56a
+0, 123, 123, 1, 152064, 0xc2c4770a
+0, 124, 124, 1, 152064, 0x122fce19
+0, 125, 125, 1, 152064, 0x3ba01434
+0, 126, 126, 1, 152064, 0x0e8ce5ee
+0, 127, 127, 1, 152064, 0x6ceb82e1
+0, 128, 128, 1, 152064, 0xa23ee21c
+0, 129, 129, 1, 152064, 0xc6d960f9
+0, 130, 130, 1, 152064, 0x0de15258
+0, 131, 131, 1, 152064, 0x187b0333
+0, 132, 132, 1, 152064, 0x92e6582f
+0, 133, 133, 1, 152064, 0xb9586ce0
+0, 134, 134, 1, 152064, 0xefd803b5
+0, 135, 135, 1, 152064, 0x24eafb29
+0, 136, 136, 1, 152064, 0x20c73b14
+0, 137, 137, 1, 152064, 0xbd7ceaaa
+0, 138, 138, 1, 152064, 0x775216c8
+0, 139, 139, 1, 152064, 0xa08971c7
+0, 140, 140, 1, 152064, 0xef0ee865
+0, 141, 141, 1, 152064, 0x9ac61c2f
+0, 142, 142, 1, 152064, 0x52ae8ea9
+0, 143, 143, 1, 152064, 0x06571c14
+0, 144, 144, 1, 152064, 0x6e78ad33
+0, 145, 145, 1, 152064, 0xad01c627
+0, 146, 146, 1, 152064, 0xbfe074d3
+0, 147, 147, 1, 152064, 0x9357a183
+0, 148, 148, 1, 152064, 0x8de7767f
+0, 149, 149, 1, 152064, 0xa5e6e76e
+0, 150, 150, 1, 152064, 0xa6f646fe
+0, 151, 151, 1, 152064, 0x132e99f8
+0, 152, 152, 1, 152064, 0xb79f27de
+0, 153, 153, 1, 152064, 0x36d3cdcf
+0, 154, 154, 1, 152064, 0xdc938336
+0, 155, 155, 1, 152064, 0xacaa3a7f
+0, 156, 156, 1, 152064, 0xc61a37fd
+0, 157, 157, 1, 152064, 0x4fe1ddf0
+0, 158, 158, 1, 152064, 0xc0f7d660
+0, 159, 159, 1, 152064, 0xd72458ea
+0, 160, 160, 1, 152064, 0x6978d123
+0, 161, 161, 1, 152064, 0x64e60ccf
+0, 162, 162, 1, 152064, 0xaa07004c
+0, 163, 163, 1, 152064, 0x07cd1064
+0, 164, 164, 1, 152064, 0xa82320e5
+0, 165, 165, 1, 152064, 0xaedd8d30
+0, 166, 166, 1, 152064, 0x79b082ea
+0, 167, 167, 1, 152064, 0x9ed800ab
+0, 168, 168, 1, 152064, 0xde592bb4
+0, 169, 169, 1, 152064, 0xd966df88
+0, 170, 170, 1, 152064, 0xf921988a
+0, 171, 171, 1, 152064, 0x557ad9ae
+0, 172, 172, 1, 152064, 0xc3f31a9a
+0, 173, 173, 1, 152064, 0x65248561
+0, 174, 174, 1, 152064, 0x63df4aa6
+0, 175, 175, 1, 152064, 0x618da0a9
+0, 176, 176, 1, 152064, 0xe6f1c435
+0, 177, 177, 1, 152064, 0x9f90c38f
+0, 178, 178, 1, 152064, 0xd2853e14
+0, 179, 179, 1, 152064, 0x6e0268a9
+0, 180, 180, 1, 152064, 0x393712d1
+0, 181, 181, 1, 152064, 0x470da25f
+0, 182, 182, 1, 152064, 0xaf55cb3d
+0, 183, 183, 1, 152064, 0x6935b8b9
+0, 184, 184, 1, 152064, 0x5409a15f
+0, 185, 185, 1, 152064, 0x09073fee
+0, 186, 186, 1, 152064, 0xfb274e82
+0, 187, 187, 1, 152064, 0x1a770581
+0, 188, 188, 1, 152064, 0x17277d0d
+0, 189, 189, 1, 152064, 0xd4dcd982
+0, 190, 190, 1, 152064, 0x6b04eaf3
+0, 191, 191, 1, 152064, 0x8a3d822e
+0, 192, 192, 1, 152064, 0x1b971ec9
+0, 193, 193, 1, 152064, 0x14e0c0f6
+0, 194, 194, 1, 152064, 0x00667450
+0, 195, 195, 1, 152064, 0xd2385902
+0, 196, 196, 1, 152064, 0x905da6ab
+0, 197, 197, 1, 152064, 0xa3ffb18b
+0, 198, 198, 1, 152064, 0x10d48b19
+0, 199, 199, 1, 152064, 0xb2c7a3bd
+0, 200, 200, 1, 152064, 0x45593e96
+0, 201, 201, 1, 152064, 0x47a0b60c
+0, 202, 202, 1, 152064, 0x68c6d1b9
+0, 203, 203, 1, 152064, 0xbc881fcc
+0, 204, 204, 1, 152064, 0x422cc6f2
+0, 205, 205, 1, 152064, 0x9b686410
+0, 206, 206, 1, 152064, 0x35dc5e86
+0, 207, 207, 1, 152064, 0x247bedaa
+0, 208, 208, 1, 152064, 0x22b76fd1
+0, 209, 209, 1, 152064, 0x67cc7a75
+0, 210, 210, 1, 152064, 0xa197521e
+0, 211, 211, 1, 152064, 0x428c8662
+0, 212, 212, 1, 152064, 0x33dc2c73
+0, 213, 213, 1, 152064, 0x5b538903
+0, 214, 214, 1, 152064, 0x3c4176b6
+0, 215, 215, 1, 152064, 0x774364ba
+0, 216, 216, 1, 152064, 0xf237d03e
+0, 217, 217, 1, 152064, 0xac8746fb
+0, 218, 218, 1, 152064, 0x6b306a84
+0, 219, 219, 1, 152064, 0xa2ace513
+0, 220, 220, 1, 152064, 0x709c9be7
+0, 221, 221, 1, 152064, 0x2403f373
+0, 222, 222, 1, 152064, 0x147bf717
+0, 223, 223, 1, 152064, 0xe58964c8
+0, 224, 224, 1, 152064, 0xa0da36fc
+0, 225, 225, 1, 152064, 0x1ac1355c
+0, 226, 226, 1, 152064, 0x8a31c9f2
+0, 227, 227, 1, 152064, 0x42ba205c
+0, 228, 228, 1, 152064, 0xa11b3575
+0, 229, 229, 1, 152064, 0xcb35207c
+0, 230, 230, 1, 152064, 0x528f6189
+0, 231, 231, 1, 152064, 0x34f05bd7
+0, 232, 232, 1, 152064, 0x72317356
+0, 233, 233, 1, 152064, 0xaabd5028
+0, 234, 234, 1, 152064, 0x13dbeb7b
+0, 235, 235, 1, 152064, 0x62f1e8a8
+0, 236, 236, 1, 152064, 0x1723bfcd
+0, 237, 237, 1, 152064, 0x5c083c00
+0, 238, 238, 1, 152064, 0x52137894
+0, 239, 239, 1, 152064, 0xef1e082c
+0, 240, 240, 1, 152064, 0x664b3d53
+0, 241, 241, 1, 152064, 0x2eb9b296
+0, 242, 242, 1, 152064, 0xd0ca511e
+0, 243, 243, 1, 152064, 0x012d4724
+0, 244, 244, 1, 152064, 0xa847f5af
+0, 245, 245, 1, 152064, 0x483a2fde
+0, 246, 246, 1, 152064, 0xd1ab0257
+0, 247, 247, 1, 152064, 0x414692c7
+0, 248, 248, 1, 152064, 0x0b79df88
+0, 249, 249, 1, 152064, 0xdaa2c4a3
+0, 250, 250, 1, 152064, 0xd1b44500
+0, 251, 251, 1, 152064, 0xfd3d2cf3
+0, 252, 252, 1, 152064, 0xfdc0f748
+0, 253, 253, 1, 152064, 0xce762a2a
+0, 254, 254, 1, 152064, 0x08b63572
+0, 255, 255, 1, 152064, 0x5a46a38d
+0, 256, 256, 1, 152064, 0x03cee9c0
+0, 257, 257, 1, 152064, 0x9ee45473
+0, 258, 258, 1, 152064, 0x5a432386
+0, 259, 259, 1, 152064, 0x54c83d87
+0, 260, 260, 1, 152064, 0xc9caa1de
+0, 261, 261, 1, 152064, 0xa28367f1
+0, 262, 262, 1, 152064, 0x2607cdf1
+0, 263, 263, 1, 152064, 0x06baa8de
+0, 264, 264, 1, 152064, 0xf5346e32
+0, 265, 265, 1, 152064, 0x6d3e732b
+0, 266, 266, 1, 152064, 0x798c584b
+0, 267, 267, 1, 152064, 0x4076c948
+0, 268, 268, 1, 152064, 0x868cf63a
+0, 269, 269, 1, 152064, 0x23107ac5
+0, 270, 270, 1, 152064, 0x306f3fe2
+0, 271, 271, 1, 152064, 0xbd1d71d6
+0, 272, 272, 1, 152064, 0x1429545f
+0, 273, 273, 1, 152064, 0xaded29aa
+0, 274, 274, 1, 152064, 0x9b455a94
+0, 275, 275, 1, 152064, 0xb3774ce7
+0, 276, 276, 1, 152064, 0x92580986
+0, 277, 277, 1, 152064, 0x0eae2f95
+0, 278, 278, 1, 152064, 0x599208b2
+0, 279, 279, 1, 152064, 0x4804c04c
+0, 280, 280, 1, 152064, 0x5f730e8f
+0, 281, 281, 1, 152064, 0x3e501d1e
+0, 282, 282, 1, 152064, 0x32100740
+0, 283, 283, 1, 152064, 0x62226ff8
+0, 284, 284, 1, 152064, 0x7683b622
+0, 285, 285, 1, 152064, 0xc3e0aec1
+0, 286, 286, 1, 152064, 0xfac12608
+0, 287, 287, 1, 152064, 0xb21a5781
+0, 288, 288, 1, 152064, 0x8f1e4964
+0, 289, 289, 1, 152064, 0x0f62dd6e
+0, 290, 290, 1, 152064, 0xac062ac4
+0, 291, 291, 1, 152064, 0x1b320f7a
+0, 292, 292, 1, 152064, 0x346e7211
+0, 293, 293, 1, 152064, 0xe47592f3
+0, 294, 294, 1, 152064, 0xa3a7919c
+0, 295, 295, 1, 152064, 0xa3580fa6
+0, 296, 296, 1, 152064, 0xc73430c1
+0, 297, 297, 1, 152064, 0x994a2c18
+0, 298, 298, 1, 152064, 0x0b5d8d45
+0, 299, 299, 1, 152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvmolq_brcm_b b/tests/ref/fate/h264-conformance-frext-hpcvmolq_brcm_b
index 9db3fe5989..4179ace45f 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvmolq_brcm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcvmolq_brcm_b
@@ -1,100 +1,101 @@
-0, 0, 152064, 0xa18cfb97
-0, 3600, 152064, 0x509b54d2
-0, 7200, 152064, 0x1ba0fb8e
-0, 10800, 152064, 0x43e7721f
-0, 14400, 152064, 0xed196624
-0, 18000, 152064, 0x4277f1e8
-0, 21600, 152064, 0x88015cd6
-0, 25200, 152064, 0x0f230af3
-0, 28800, 152064, 0x91bbd664
-0, 32400, 152064, 0x117c65dd
-0, 36000, 152064, 0x8eebe5e8
-0, 39600, 152064, 0xd205cc10
-0, 43200, 152064, 0x4084a356
-0, 46800, 152064, 0x37385081
-0, 50400, 152064, 0xb7d34d8a
-0, 54000, 152064, 0x96648874
-0, 57600, 152064, 0x0623e65b
-0, 61200, 152064, 0x7d5b0173
-0, 64800, 152064, 0x0b6428e4
-0, 68400, 152064, 0xf3ca22a8
-0, 72000, 152064, 0x092e322c
-0, 75600, 152064, 0xe82c2971
-0, 79200, 152064, 0x29bf6111
-0, 82800, 152064, 0x84f1ea0d
-0, 86400, 152064, 0x45f822eb
-0, 90000, 152064, 0x9672b2a7
-0, 93600, 152064, 0xdb98e020
-0, 97200, 152064, 0x729879eb
-0, 100800, 152064, 0x3f629eae
-0, 104400, 152064, 0x02e0ddb7
-0, 108000, 152064, 0xbb1a0bb1
-0, 111600, 152064, 0x9b85b55b
-0, 115200, 152064, 0x2bae448b
-0, 118800, 152064, 0xa8f28bfa
-0, 122400, 152064, 0x687479da
-0, 126000, 152064, 0xe1ec3111
-0, 129600, 152064, 0x8afa37f1
-0, 133200, 152064, 0x4af89faf
-0, 136800, 152064, 0x1d9da53a
-0, 140400, 152064, 0xdc599bcd
-0, 144000, 152064, 0x01fb2e11
-0, 147600, 152064, 0x2a33498e
-0, 151200, 152064, 0x87874877
-0, 154800, 152064, 0xdcd095c6
-0, 158400, 152064, 0x4f14e6fb
-0, 162000, 152064, 0x65fd165e
-0, 165600, 152064, 0x4c267122
-0, 169200, 152064, 0x18adf3aa
-0, 172800, 152064, 0x74044daa
-0, 176400, 152064, 0xa03bca1e
-0, 180000, 152064, 0x7c1463fe
-0, 183600, 152064, 0x688a14e3
-0, 187200, 152064, 0x35c91c4e
-0, 190800, 152064, 0xeaf51d07
-0, 194400, 152064, 0xee61b9b1
-0, 198000, 152064, 0xbab75db3
-0, 201600, 152064, 0x199af472
-0, 205200, 152064, 0x3bcf96db
-0, 208800, 152064, 0x3fecdb09
-0, 212400, 152064, 0x07be2431
-0, 216000, 152064, 0x61432984
-0, 219600, 152064, 0xdb12a3b9
-0, 223200, 152064, 0xc2b8403e
-0, 226800, 152064, 0x34c60bde
-0, 230400, 152064, 0x08639859
-0, 234000, 152064, 0xfc0fc556
-0, 237600, 152064, 0x9cc27272
-0, 241200, 152064, 0x3ef7dbb0
-0, 244800, 152064, 0xbb74d9a3
-0, 248400, 152064, 0x4007fc6e
-0, 252000, 152064, 0x3d902f9b
-0, 255600, 152064, 0xfbd0a76a
-0, 259200, 152064, 0x4f1a4631
-0, 262800, 152064, 0x4f58ee25
-0, 266400, 152064, 0xd2c39501
-0, 270000, 152064, 0x23de68d5
-0, 273600, 152064, 0x4bf7d4ce
-0, 277200, 152064, 0x2bdccc79
-0, 280800, 152064, 0xc26b8f81
-0, 284400, 152064, 0xe77fa90a
-0, 288000, 152064, 0x48528308
-0, 291600, 152064, 0xab19b66b
-0, 295200, 152064, 0x04db5b4a
-0, 298800, 152064, 0x9fade901
-0, 302400, 152064, 0x1b7274ba
-0, 306000, 152064, 0x387a0191
-0, 309600, 152064, 0x2b3a8128
-0, 313200, 152064, 0x2a0dab30
-0, 316800, 152064, 0x5f5fc2da
-0, 320400, 152064, 0x5a5c8150
-0, 324000, 152064, 0xe0f5095e
-0, 327600, 152064, 0xb87c8072
-0, 331200, 152064, 0x08155daf
-0, 334800, 152064, 0xc308353f
-0, 338400, 152064, 0x2a04e8e4
-0, 342000, 152064, 0xabe75987
-0, 345600, 152064, 0x8733fb98
-0, 349200, 152064, 0x810f53a0
-0, 352800, 152064, 0xb3e4ea37
-0, 356400, 152064, 0xb7a70980
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xa18cfb97
+0, 1, 1, 1, 152064, 0x509b54d2
+0, 2, 2, 1, 152064, 0x1ba0fb8e
+0, 3, 3, 1, 152064, 0x43e7721f
+0, 4, 4, 1, 152064, 0xed196624
+0, 5, 5, 1, 152064, 0x4277f1e8
+0, 6, 6, 1, 152064, 0x88015cd6
+0, 7, 7, 1, 152064, 0x0f230af3
+0, 8, 8, 1, 152064, 0x91bbd664
+0, 9, 9, 1, 152064, 0x117c65dd
+0, 10, 10, 1, 152064, 0x8eebe5e8
+0, 11, 11, 1, 152064, 0xd205cc10
+0, 12, 12, 1, 152064, 0x4084a356
+0, 13, 13, 1, 152064, 0x37385081
+0, 14, 14, 1, 152064, 0xb7d34d8a
+0, 15, 15, 1, 152064, 0x96648874
+0, 16, 16, 1, 152064, 0x0623e65b
+0, 17, 17, 1, 152064, 0x7d5b0173
+0, 18, 18, 1, 152064, 0x0b6428e4
+0, 19, 19, 1, 152064, 0xf3ca22a8
+0, 20, 20, 1, 152064, 0x092e322c
+0, 21, 21, 1, 152064, 0xe82c2971
+0, 22, 22, 1, 152064, 0x29bf6111
+0, 23, 23, 1, 152064, 0x84f1ea0d
+0, 24, 24, 1, 152064, 0x45f822eb
+0, 25, 25, 1, 152064, 0x9672b2a7
+0, 26, 26, 1, 152064, 0xdb98e020
+0, 27, 27, 1, 152064, 0x729879eb
+0, 28, 28, 1, 152064, 0x3f629eae
+0, 29, 29, 1, 152064, 0x02e0ddb7
+0, 30, 30, 1, 152064, 0xbb1a0bb1
+0, 31, 31, 1, 152064, 0x9b85b55b
+0, 32, 32, 1, 152064, 0x2bae448b
+0, 33, 33, 1, 152064, 0xa8f28bfa
+0, 34, 34, 1, 152064, 0x687479da
+0, 35, 35, 1, 152064, 0xe1ec3111
+0, 36, 36, 1, 152064, 0x8afa37f1
+0, 37, 37, 1, 152064, 0x4af89faf
+0, 38, 38, 1, 152064, 0x1d9da53a
+0, 39, 39, 1, 152064, 0xdc599bcd
+0, 40, 40, 1, 152064, 0x01fb2e11
+0, 41, 41, 1, 152064, 0x2a33498e
+0, 42, 42, 1, 152064, 0x87874877
+0, 43, 43, 1, 152064, 0xdcd095c6
+0, 44, 44, 1, 152064, 0x4f14e6fb
+0, 45, 45, 1, 152064, 0x65fd165e
+0, 46, 46, 1, 152064, 0x4c267122
+0, 47, 47, 1, 152064, 0x18adf3aa
+0, 48, 48, 1, 152064, 0x74044daa
+0, 49, 49, 1, 152064, 0xa03bca1e
+0, 50, 50, 1, 152064, 0x7c1463fe
+0, 51, 51, 1, 152064, 0x688a14e3
+0, 52, 52, 1, 152064, 0x35c91c4e
+0, 53, 53, 1, 152064, 0xeaf51d07
+0, 54, 54, 1, 152064, 0xee61b9b1
+0, 55, 55, 1, 152064, 0xbab75db3
+0, 56, 56, 1, 152064, 0x199af472
+0, 57, 57, 1, 152064, 0x3bcf96db
+0, 58, 58, 1, 152064, 0x3fecdb09
+0, 59, 59, 1, 152064, 0x07be2431
+0, 60, 60, 1, 152064, 0x61432984
+0, 61, 61, 1, 152064, 0xdb12a3b9
+0, 62, 62, 1, 152064, 0xc2b8403e
+0, 63, 63, 1, 152064, 0x34c60bde
+0, 64, 64, 1, 152064, 0x08639859
+0, 65, 65, 1, 152064, 0xfc0fc556
+0, 66, 66, 1, 152064, 0x9cc27272
+0, 67, 67, 1, 152064, 0x3ef7dbb0
+0, 68, 68, 1, 152064, 0xbb74d9a3
+0, 69, 69, 1, 152064, 0x4007fc6e
+0, 70, 70, 1, 152064, 0x3d902f9b
+0, 71, 71, 1, 152064, 0xfbd0a76a
+0, 72, 72, 1, 152064, 0x4f1a4631
+0, 73, 73, 1, 152064, 0x4f58ee25
+0, 74, 74, 1, 152064, 0xd2c39501
+0, 75, 75, 1, 152064, 0x23de68d5
+0, 76, 76, 1, 152064, 0x4bf7d4ce
+0, 77, 77, 1, 152064, 0x2bdccc79
+0, 78, 78, 1, 152064, 0xc26b8f81
+0, 79, 79, 1, 152064, 0xe77fa90a
+0, 80, 80, 1, 152064, 0x48528308
+0, 81, 81, 1, 152064, 0xab19b66b
+0, 82, 82, 1, 152064, 0x04db5b4a
+0, 83, 83, 1, 152064, 0x9fade901
+0, 84, 84, 1, 152064, 0x1b7274ba
+0, 85, 85, 1, 152064, 0x387a0191
+0, 86, 86, 1, 152064, 0x2b3a8128
+0, 87, 87, 1, 152064, 0x2a0dab30
+0, 88, 88, 1, 152064, 0x5f5fc2da
+0, 89, 89, 1, 152064, 0x5a5c8150
+0, 90, 90, 1, 152064, 0xe0f5095e
+0, 91, 91, 1, 152064, 0xb87c8072
+0, 92, 92, 1, 152064, 0x08155daf
+0, 93, 93, 1, 152064, 0xc308353f
+0, 94, 94, 1, 152064, 0x2a04e8e4
+0, 95, 95, 1, 152064, 0xabe75987
+0, 96, 96, 1, 152064, 0x8733fb98
+0, 97, 97, 1, 152064, 0x810f53a0
+0, 98, 98, 1, 152064, 0xb3e4ea37
+0, 99, 99, 1, 152064, 0xb7a70980
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvnl_brcm_a b/tests/ref/fate/h264-conformance-frext-hpcvnl_brcm_a
index fe474650e5..23ad267a2d 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvnl_brcm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcvnl_brcm_a
@@ -1,300 +1,301 @@
-0, 0, 152064, 0x2744afa1
-0, 3600, 152064, 0x17246583
-0, 7200, 152064, 0x501836ed
-0, 10800, 152064, 0xe90d6961
-0, 14400, 152064, 0x27abe1ad
-0, 18000, 152064, 0xcfc730e4
-0, 21600, 152064, 0xeaaa83ee
-0, 25200, 152064, 0xb5d80ebd
-0, 28800, 152064, 0x1e1b9d03
-0, 32400, 152064, 0x60e7cf33
-0, 36000, 152064, 0xc44616b1
-0, 39600, 152064, 0x0a2a5906
-0, 43200, 152064, 0xf101309c
-0, 46800, 152064, 0x0b57f348
-0, 50400, 152064, 0x4f018c05
-0, 54000, 152064, 0x22359c60
-0, 57600, 152064, 0x020f1cc3
-0, 61200, 152064, 0x15be3892
-0, 64800, 152064, 0x834a2e23
-0, 68400, 152064, 0x1176586c
-0, 72000, 152064, 0x9cf25641
-0, 75600, 152064, 0xc1c4051d
-0, 79200, 152064, 0x790d8bfa
-0, 82800, 152064, 0x4dcbe7d7
-0, 86400, 152064, 0xe81d3b7b
-0, 90000, 152064, 0xe9e21309
-0, 93600, 152064, 0x22021dbc
-0, 97200, 152064, 0x430c5ecb
-0, 100800, 152064, 0xf524be8b
-0, 104400, 152064, 0xa437dadc
-0, 108000, 152064, 0xff00b440
-0, 111600, 152064, 0x4bd1bf15
-0, 115200, 152064, 0x1f46a3ea
-0, 118800, 152064, 0x60b47c5e
-0, 122400, 152064, 0x45117ac6
-0, 126000, 152064, 0x43894fca
-0, 129600, 152064, 0x21572b55
-0, 133200, 152064, 0xe96def09
-0, 136800, 152064, 0x4d2ab41f
-0, 140400, 152064, 0x072d6b06
-0, 144000, 152064, 0x81865687
-0, 147600, 152064, 0x8d9a0ea6
-0, 151200, 152064, 0x1484d3cd
-0, 154800, 152064, 0xbdabae6b
-0, 158400, 152064, 0x4211edbe
-0, 162000, 152064, 0xd84dad6d
-0, 165600, 152064, 0xe4e79344
-0, 169200, 152064, 0x9c1addd7
-0, 172800, 152064, 0xdcf94283
-0, 176400, 152064, 0x6bd005b2
-0, 180000, 152064, 0x9679bd10
-0, 183600, 152064, 0x052064ab
-0, 187200, 152064, 0x915db3f3
-0, 190800, 152064, 0xec2fbd58
-0, 194400, 152064, 0x26728258
-0, 198000, 152064, 0x2b2b617f
-0, 201600, 152064, 0x2339eb3d
-0, 205200, 152064, 0xcf6e6773
-0, 208800, 152064, 0xb993efe4
-0, 212400, 152064, 0x4054253d
-0, 216000, 152064, 0x4befe5b5
-0, 219600, 152064, 0x0678c0fa
-0, 223200, 152064, 0xe3c54a03
-0, 226800, 152064, 0xffa3210c
-0, 230400, 152064, 0xed04b823
-0, 234000, 152064, 0x00926457
-0, 237600, 152064, 0xd56aaaf0
-0, 241200, 152064, 0x6047ef6e
-0, 244800, 152064, 0x44316d07
-0, 248400, 152064, 0xe8a879b7
-0, 252000, 152064, 0x1856cd86
-0, 255600, 152064, 0x6528349a
-0, 259200, 152064, 0xdeff676e
-0, 262800, 152064, 0xda412e47
-0, 266400, 152064, 0xa2c2a96f
-0, 270000, 152064, 0xc703b8cd
-0, 273600, 152064, 0x20b0650b
-0, 277200, 152064, 0x8c14faa5
-0, 280800, 152064, 0xa442706c
-0, 284400, 152064, 0x6e456137
-0, 288000, 152064, 0x6dde11c6
-0, 291600, 152064, 0xb017978a
-0, 295200, 152064, 0xc0bad34b
-0, 298800, 152064, 0x8bd439ee
-0, 302400, 152064, 0xa92735e4
-0, 306000, 152064, 0x1623f501
-0, 309600, 152064, 0x5be980b2
-0, 313200, 152064, 0x4306b9bf
-0, 316800, 152064, 0xb4f18976
-0, 320400, 152064, 0x4ffb9b46
-0, 324000, 152064, 0x23082275
-0, 327600, 152064, 0xc7f0e087
-0, 331200, 152064, 0x68b95327
-0, 334800, 152064, 0xd030a8e4
-0, 338400, 152064, 0xf8f9615c
-0, 342000, 152064, 0x1b26fe3e
-0, 345600, 152064, 0x3381608d
-0, 349200, 152064, 0x9939d49d
-0, 352800, 152064, 0x575f4f94
-0, 356400, 152064, 0x436c581c
-0, 360000, 152064, 0x8f47aa58
-0, 363600, 152064, 0xd251d95a
-0, 367200, 152064, 0x3c33b32c
-0, 370800, 152064, 0xa1e19413
-0, 374400, 152064, 0x8d95cbad
-0, 378000, 152064, 0x98cbd35e
-0, 381600, 152064, 0xceb81a0f
-0, 385200, 152064, 0x5490fab1
-0, 388800, 152064, 0x8e57a38c
-0, 392400, 152064, 0xc379517a
-0, 396000, 152064, 0xafc4f747
-0, 399600, 152064, 0xbc9c9be4
-0, 403200, 152064, 0xd602b2f5
-0, 406800, 152064, 0x8d85a450
-0, 410400, 152064, 0x48183c74
-0, 414000, 152064, 0xd1725590
-0, 417600, 152064, 0x5ef42ed7
-0, 421200, 152064, 0xad3a3883
-0, 424800, 152064, 0x7a3e0ddd
-0, 428400, 152064, 0x59bdfd38
-0, 432000, 152064, 0x5ac3ba9f
-0, 435600, 152064, 0x266cbd00
-0, 439200, 152064, 0x97d29e00
-0, 442800, 152064, 0x620774c2
-0, 446400, 152064, 0xaae8b96f
-0, 450000, 152064, 0x5f6bdfb6
-0, 453600, 152064, 0xb239da53
-0, 457200, 152064, 0x654b5680
-0, 460800, 152064, 0xd796b723
-0, 464400, 152064, 0xd5c84a81
-0, 468000, 152064, 0x2a761652
-0, 471600, 152064, 0x1137e145
-0, 475200, 152064, 0x1a9a451b
-0, 478800, 152064, 0x5ca751c4
-0, 482400, 152064, 0x074acec7
-0, 486000, 152064, 0x9ddfe77d
-0, 489600, 152064, 0xfb211c29
-0, 493200, 152064, 0x681ad4dd
-0, 496800, 152064, 0x702c12cc
-0, 500400, 152064, 0x556c5101
-0, 504000, 152064, 0x39d4bb54
-0, 507600, 152064, 0xa3a118d6
-0, 511200, 152064, 0xb78b7db1
-0, 514800, 152064, 0x4e20eed5
-0, 518400, 152064, 0x6555a9df
-0, 522000, 152064, 0xb607a9a4
-0, 525600, 152064, 0x3cf96a94
-0, 529200, 152064, 0xb2679007
-0, 532800, 152064, 0xf09d5b85
-0, 536400, 152064, 0x3961ba07
-0, 540000, 152064, 0x0c28363a
-0, 543600, 152064, 0x0a017c2d
-0, 547200, 152064, 0x3a661de3
-0, 550800, 152064, 0xf8d1bdee
-0, 554400, 152064, 0x6f47791b
-0, 558000, 152064, 0xe05b22c6
-0, 561600, 152064, 0x7cc93bb0
-0, 565200, 152064, 0xeb90c3d8
-0, 568800, 152064, 0x1a1eac98
-0, 572400, 152064, 0x92985671
-0, 576000, 152064, 0x2fe3ce53
-0, 579600, 152064, 0x61def691
-0, 583200, 152064, 0x90820730
-0, 586800, 152064, 0x17630372
-0, 590400, 152064, 0xaf6cea12
-0, 594000, 152064, 0xfe3b7ecc
-0, 597600, 152064, 0x904a5b2e
-0, 601200, 152064, 0x0d88d5f2
-0, 604800, 152064, 0x498d22b1
-0, 608400, 152064, 0x56baba83
-0, 612000, 152064, 0xda4d6dfa
-0, 615600, 152064, 0xaa38cbdd
-0, 619200, 152064, 0x4077f15d
-0, 622800, 152064, 0x7e006ec2
-0, 626400, 152064, 0x59964a89
-0, 630000, 152064, 0x04c078e3
-0, 633600, 152064, 0x7a5faf97
-0, 637200, 152064, 0xc517b3e9
-0, 640800, 152064, 0xfcc81af5
-0, 644400, 152064, 0xdcb44f62
-0, 648000, 152064, 0x2a080b72
-0, 651600, 152064, 0x91f88c67
-0, 655200, 152064, 0xd39caf81
-0, 658800, 152064, 0x0764ae31
-0, 662400, 152064, 0x0ddb82ed
-0, 666000, 152064, 0xed6d17e4
-0, 669600, 152064, 0xb4f74712
-0, 673200, 152064, 0x23a20787
-0, 676800, 152064, 0x853e7b33
-0, 680400, 152064, 0xc6bac173
-0, 684000, 152064, 0xb590ec15
-0, 687600, 152064, 0xfdd2943c
-0, 691200, 152064, 0xba5d1160
-0, 694800, 152064, 0xe732c5a7
-0, 698400, 152064, 0x279f6ce9
-0, 702000, 152064, 0xb3835829
-0, 705600, 152064, 0x0901b2a1
-0, 709200, 152064, 0x3df2b8f8
-0, 712800, 152064, 0x374496a4
-0, 716400, 152064, 0x1bc6a4ae
-0, 720000, 152064, 0xdb4b372e
-0, 723600, 152064, 0x8c11c214
-0, 727200, 152064, 0xd2d5c093
-0, 730800, 152064, 0x8dda094e
-0, 734400, 152064, 0x9b2cc401
-0, 738000, 152064, 0x1a3b49d5
-0, 741600, 152064, 0xaf5342ff
-0, 745200, 152064, 0x74c0de83
-0, 748800, 152064, 0xcf486137
-0, 752400, 152064, 0xcf005b3b
-0, 756000, 152064, 0x86a64c55
-0, 759600, 152064, 0xdd3f7ae9
-0, 763200, 152064, 0xb0d01e53
-0, 766800, 152064, 0x83219065
-0, 770400, 152064, 0x17a35d27
-0, 774000, 152064, 0xf92645b5
-0, 777600, 152064, 0x8322bdbf
-0, 781200, 152064, 0xd589f6a2
-0, 784800, 152064, 0x80a62d9e
-0, 788400, 152064, 0x05b3e0d1
-0, 792000, 152064, 0xd657aa0b
-0, 795600, 152064, 0xec5ac2dd
-0, 799200, 152064, 0xbf0ff969
-0, 802800, 152064, 0xc34a5140
-0, 806400, 152064, 0x814705c4
-0, 810000, 152064, 0xe9592008
-0, 813600, 152064, 0xf12c933c
-0, 817200, 152064, 0x2daee178
-0, 820800, 152064, 0xa2573028
-0, 824400, 152064, 0x6109f58d
-0, 828000, 152064, 0x64ab8ce4
-0, 831600, 152064, 0x13a88b6e
-0, 835200, 152064, 0x8f0181a9
-0, 838800, 152064, 0xd5295fd4
-0, 842400, 152064, 0xfdbeeb0d
-0, 846000, 152064, 0x05ecd231
-0, 849600, 152064, 0x48d164cd
-0, 853200, 152064, 0xc279cf63
-0, 856800, 152064, 0x1d5e6a03
-0, 860400, 152064, 0xd9dc1807
-0, 864000, 152064, 0xbcc83676
-0, 867600, 152064, 0x65a9811e
-0, 871200, 152064, 0x3ccfe5a8
-0, 874800, 152064, 0x2f2ff051
-0, 878400, 152064, 0x9193e093
-0, 882000, 152064, 0x9a30fdc6
-0, 885600, 152064, 0x90b7ea10
-0, 889200, 152064, 0x3291910c
-0, 892800, 152064, 0x2335d186
-0, 896400, 152064, 0x2890cf1d
-0, 900000, 152064, 0x8c8b6245
-0, 903600, 152064, 0x24b84eda
-0, 907200, 152064, 0x04a12446
-0, 910800, 152064, 0xd9d91d51
-0, 914400, 152064, 0xbf450adf
-0, 918000, 152064, 0xa19a9a41
-0, 921600, 152064, 0x2211ab01
-0, 925200, 152064, 0x8fe85430
-0, 928800, 152064, 0x5a152861
-0, 932400, 152064, 0x7fe76995
-0, 936000, 152064, 0x508b99cd
-0, 939600, 152064, 0x92e79437
-0, 943200, 152064, 0x8572eac9
-0, 946800, 152064, 0x42e3d513
-0, 950400, 152064, 0x6bee9e38
-0, 954000, 152064, 0x2858ad4b
-0, 957600, 152064, 0x96d87d00
-0, 961200, 152064, 0x749f1032
-0, 964800, 152064, 0x668fca6c
-0, 968400, 152064, 0x11d278d9
-0, 972000, 152064, 0x10fd46ea
-0, 975600, 152064, 0xc8b193c8
-0, 979200, 152064, 0x035e7d02
-0, 982800, 152064, 0x067f583c
-0, 986400, 152064, 0xd9648a1e
-0, 990000, 152064, 0x92487b7e
-0, 993600, 152064, 0xc7b35421
-0, 997200, 152064, 0x2ed57c1c
-0, 1000800, 152064, 0xefe24c5f
-0, 1004400, 152064, 0x8df0118b
-0, 1008000, 152064, 0x18f0278d
-0, 1011600, 152064, 0x63ac45ad
-0, 1015200, 152064, 0xd79849f0
-0, 1018800, 152064, 0x1f1d4dab
-0, 1022400, 152064, 0x736fb5b8
-0, 1026000, 152064, 0xc24eb80c
-0, 1029600, 152064, 0x64ca3b11
-0, 1033200, 152064, 0x35d8674c
-0, 1036800, 152064, 0x3c5a7b51
-0, 1040400, 152064, 0x97550b81
-0, 1044000, 152064, 0x731454b5
-0, 1047600, 152064, 0x01de43bc
-0, 1051200, 152064, 0xbda7afae
-0, 1054800, 152064, 0xeb34d714
-0, 1058400, 152064, 0x1260cc98
-0, 1062000, 152064, 0x7e592c36
-0, 1065600, 152064, 0x40b3676e
-0, 1069200, 152064, 0x8c9d6b94
-0, 1072800, 152064, 0xc7988665
-0, 1076400, 152064, 0xf2994d52
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0x2744afa1
+0, 1, 1, 1, 152064, 0x17246583
+0, 2, 2, 1, 152064, 0x501836ed
+0, 3, 3, 1, 152064, 0xe90d6961
+0, 4, 4, 1, 152064, 0x27abe1ad
+0, 5, 5, 1, 152064, 0xcfc730e4
+0, 6, 6, 1, 152064, 0xeaaa83ee
+0, 7, 7, 1, 152064, 0xb5d80ebd
+0, 8, 8, 1, 152064, 0x1e1b9d03
+0, 9, 9, 1, 152064, 0x60e7cf33
+0, 10, 10, 1, 152064, 0xc44616b1
+0, 11, 11, 1, 152064, 0x0a2a5906
+0, 12, 12, 1, 152064, 0xf101309c
+0, 13, 13, 1, 152064, 0x0b57f348
+0, 14, 14, 1, 152064, 0x4f018c05
+0, 15, 15, 1, 152064, 0x22359c60
+0, 16, 16, 1, 152064, 0x020f1cc3
+0, 17, 17, 1, 152064, 0x15be3892
+0, 18, 18, 1, 152064, 0x834a2e23
+0, 19, 19, 1, 152064, 0x1176586c
+0, 20, 20, 1, 152064, 0x9cf25641
+0, 21, 21, 1, 152064, 0xc1c4051d
+0, 22, 22, 1, 152064, 0x790d8bfa
+0, 23, 23, 1, 152064, 0x4dcbe7d7
+0, 24, 24, 1, 152064, 0xe81d3b7b
+0, 25, 25, 1, 152064, 0xe9e21309
+0, 26, 26, 1, 152064, 0x22021dbc
+0, 27, 27, 1, 152064, 0x430c5ecb
+0, 28, 28, 1, 152064, 0xf524be8b
+0, 29, 29, 1, 152064, 0xa437dadc
+0, 30, 30, 1, 152064, 0xff00b440
+0, 31, 31, 1, 152064, 0x4bd1bf15
+0, 32, 32, 1, 152064, 0x1f46a3ea
+0, 33, 33, 1, 152064, 0x60b47c5e
+0, 34, 34, 1, 152064, 0x45117ac6
+0, 35, 35, 1, 152064, 0x43894fca
+0, 36, 36, 1, 152064, 0x21572b55
+0, 37, 37, 1, 152064, 0xe96def09
+0, 38, 38, 1, 152064, 0x4d2ab41f
+0, 39, 39, 1, 152064, 0x072d6b06
+0, 40, 40, 1, 152064, 0x81865687
+0, 41, 41, 1, 152064, 0x8d9a0ea6
+0, 42, 42, 1, 152064, 0x1484d3cd
+0, 43, 43, 1, 152064, 0xbdabae6b
+0, 44, 44, 1, 152064, 0x4211edbe
+0, 45, 45, 1, 152064, 0xd84dad6d
+0, 46, 46, 1, 152064, 0xe4e79344
+0, 47, 47, 1, 152064, 0x9c1addd7
+0, 48, 48, 1, 152064, 0xdcf94283
+0, 49, 49, 1, 152064, 0x6bd005b2
+0, 50, 50, 1, 152064, 0x9679bd10
+0, 51, 51, 1, 152064, 0x052064ab
+0, 52, 52, 1, 152064, 0x915db3f3
+0, 53, 53, 1, 152064, 0xec2fbd58
+0, 54, 54, 1, 152064, 0x26728258
+0, 55, 55, 1, 152064, 0x2b2b617f
+0, 56, 56, 1, 152064, 0x2339eb3d
+0, 57, 57, 1, 152064, 0xcf6e6773
+0, 58, 58, 1, 152064, 0xb993efe4
+0, 59, 59, 1, 152064, 0x4054253d
+0, 60, 60, 1, 152064, 0x4befe5b5
+0, 61, 61, 1, 152064, 0x0678c0fa
+0, 62, 62, 1, 152064, 0xe3c54a03
+0, 63, 63, 1, 152064, 0xffa3210c
+0, 64, 64, 1, 152064, 0xed04b823
+0, 65, 65, 1, 152064, 0x00926457
+0, 66, 66, 1, 152064, 0xd56aaaf0
+0, 67, 67, 1, 152064, 0x6047ef6e
+0, 68, 68, 1, 152064, 0x44316d07
+0, 69, 69, 1, 152064, 0xe8a879b7
+0, 70, 70, 1, 152064, 0x1856cd86
+0, 71, 71, 1, 152064, 0x6528349a
+0, 72, 72, 1, 152064, 0xdeff676e
+0, 73, 73, 1, 152064, 0xda412e47
+0, 74, 74, 1, 152064, 0xa2c2a96f
+0, 75, 75, 1, 152064, 0xc703b8cd
+0, 76, 76, 1, 152064, 0x20b0650b
+0, 77, 77, 1, 152064, 0x8c14faa5
+0, 78, 78, 1, 152064, 0xa442706c
+0, 79, 79, 1, 152064, 0x6e456137
+0, 80, 80, 1, 152064, 0x6dde11c6
+0, 81, 81, 1, 152064, 0xb017978a
+0, 82, 82, 1, 152064, 0xc0bad34b
+0, 83, 83, 1, 152064, 0x8bd439ee
+0, 84, 84, 1, 152064, 0xa92735e4
+0, 85, 85, 1, 152064, 0x1623f501
+0, 86, 86, 1, 152064, 0x5be980b2
+0, 87, 87, 1, 152064, 0x4306b9bf
+0, 88, 88, 1, 152064, 0xb4f18976
+0, 89, 89, 1, 152064, 0x4ffb9b46
+0, 90, 90, 1, 152064, 0x23082275
+0, 91, 91, 1, 152064, 0xc7f0e087
+0, 92, 92, 1, 152064, 0x68b95327
+0, 93, 93, 1, 152064, 0xd030a8e4
+0, 94, 94, 1, 152064, 0xf8f9615c
+0, 95, 95, 1, 152064, 0x1b26fe3e
+0, 96, 96, 1, 152064, 0x3381608d
+0, 97, 97, 1, 152064, 0x9939d49d
+0, 98, 98, 1, 152064, 0x575f4f94
+0, 99, 99, 1, 152064, 0x436c581c
+0, 100, 100, 1, 152064, 0x8f47aa58
+0, 101, 101, 1, 152064, 0xd251d95a
+0, 102, 102, 1, 152064, 0x3c33b32c
+0, 103, 103, 1, 152064, 0xa1e19413
+0, 104, 104, 1, 152064, 0x8d95cbad
+0, 105, 105, 1, 152064, 0x98cbd35e
+0, 106, 106, 1, 152064, 0xceb81a0f
+0, 107, 107, 1, 152064, 0x5490fab1
+0, 108, 108, 1, 152064, 0x8e57a38c
+0, 109, 109, 1, 152064, 0xc379517a
+0, 110, 110, 1, 152064, 0xafc4f747
+0, 111, 111, 1, 152064, 0xbc9c9be4
+0, 112, 112, 1, 152064, 0xd602b2f5
+0, 113, 113, 1, 152064, 0x8d85a450
+0, 114, 114, 1, 152064, 0x48183c74
+0, 115, 115, 1, 152064, 0xd1725590
+0, 116, 116, 1, 152064, 0x5ef42ed7
+0, 117, 117, 1, 152064, 0xad3a3883
+0, 118, 118, 1, 152064, 0x7a3e0ddd
+0, 119, 119, 1, 152064, 0x59bdfd38
+0, 120, 120, 1, 152064, 0x5ac3ba9f
+0, 121, 121, 1, 152064, 0x266cbd00
+0, 122, 122, 1, 152064, 0x97d29e00
+0, 123, 123, 1, 152064, 0x620774c2
+0, 124, 124, 1, 152064, 0xaae8b96f
+0, 125, 125, 1, 152064, 0x5f6bdfb6
+0, 126, 126, 1, 152064, 0xb239da53
+0, 127, 127, 1, 152064, 0x654b5680
+0, 128, 128, 1, 152064, 0xd796b723
+0, 129, 129, 1, 152064, 0xd5c84a81
+0, 130, 130, 1, 152064, 0x2a761652
+0, 131, 131, 1, 152064, 0x1137e145
+0, 132, 132, 1, 152064, 0x1a9a451b
+0, 133, 133, 1, 152064, 0x5ca751c4
+0, 134, 134, 1, 152064, 0x074acec7
+0, 135, 135, 1, 152064, 0x9ddfe77d
+0, 136, 136, 1, 152064, 0xfb211c29
+0, 137, 137, 1, 152064, 0x681ad4dd
+0, 138, 138, 1, 152064, 0x702c12cc
+0, 139, 139, 1, 152064, 0x556c5101
+0, 140, 140, 1, 152064, 0x39d4bb54
+0, 141, 141, 1, 152064, 0xa3a118d6
+0, 142, 142, 1, 152064, 0xb78b7db1
+0, 143, 143, 1, 152064, 0x4e20eed5
+0, 144, 144, 1, 152064, 0x6555a9df
+0, 145, 145, 1, 152064, 0xb607a9a4
+0, 146, 146, 1, 152064, 0x3cf96a94
+0, 147, 147, 1, 152064, 0xb2679007
+0, 148, 148, 1, 152064, 0xf09d5b85
+0, 149, 149, 1, 152064, 0x3961ba07
+0, 150, 150, 1, 152064, 0x0c28363a
+0, 151, 151, 1, 152064, 0x0a017c2d
+0, 152, 152, 1, 152064, 0x3a661de3
+0, 153, 153, 1, 152064, 0xf8d1bdee
+0, 154, 154, 1, 152064, 0x6f47791b
+0, 155, 155, 1, 152064, 0xe05b22c6
+0, 156, 156, 1, 152064, 0x7cc93bb0
+0, 157, 157, 1, 152064, 0xeb90c3d8
+0, 158, 158, 1, 152064, 0x1a1eac98
+0, 159, 159, 1, 152064, 0x92985671
+0, 160, 160, 1, 152064, 0x2fe3ce53
+0, 161, 161, 1, 152064, 0x61def691
+0, 162, 162, 1, 152064, 0x90820730
+0, 163, 163, 1, 152064, 0x17630372
+0, 164, 164, 1, 152064, 0xaf6cea12
+0, 165, 165, 1, 152064, 0xfe3b7ecc
+0, 166, 166, 1, 152064, 0x904a5b2e
+0, 167, 167, 1, 152064, 0x0d88d5f2
+0, 168, 168, 1, 152064, 0x498d22b1
+0, 169, 169, 1, 152064, 0x56baba83
+0, 170, 170, 1, 152064, 0xda4d6dfa
+0, 171, 171, 1, 152064, 0xaa38cbdd
+0, 172, 172, 1, 152064, 0x4077f15d
+0, 173, 173, 1, 152064, 0x7e006ec2
+0, 174, 174, 1, 152064, 0x59964a89
+0, 175, 175, 1, 152064, 0x04c078e3
+0, 176, 176, 1, 152064, 0x7a5faf97
+0, 177, 177, 1, 152064, 0xc517b3e9
+0, 178, 178, 1, 152064, 0xfcc81af5
+0, 179, 179, 1, 152064, 0xdcb44f62
+0, 180, 180, 1, 152064, 0x2a080b72
+0, 181, 181, 1, 152064, 0x91f88c67
+0, 182, 182, 1, 152064, 0xd39caf81
+0, 183, 183, 1, 152064, 0x0764ae31
+0, 184, 184, 1, 152064, 0x0ddb82ed
+0, 185, 185, 1, 152064, 0xed6d17e4
+0, 186, 186, 1, 152064, 0xb4f74712
+0, 187, 187, 1, 152064, 0x23a20787
+0, 188, 188, 1, 152064, 0x853e7b33
+0, 189, 189, 1, 152064, 0xc6bac173
+0, 190, 190, 1, 152064, 0xb590ec15
+0, 191, 191, 1, 152064, 0xfdd2943c
+0, 192, 192, 1, 152064, 0xba5d1160
+0, 193, 193, 1, 152064, 0xe732c5a7
+0, 194, 194, 1, 152064, 0x279f6ce9
+0, 195, 195, 1, 152064, 0xb3835829
+0, 196, 196, 1, 152064, 0x0901b2a1
+0, 197, 197, 1, 152064, 0x3df2b8f8
+0, 198, 198, 1, 152064, 0x374496a4
+0, 199, 199, 1, 152064, 0x1bc6a4ae
+0, 200, 200, 1, 152064, 0xdb4b372e
+0, 201, 201, 1, 152064, 0x8c11c214
+0, 202, 202, 1, 152064, 0xd2d5c093
+0, 203, 203, 1, 152064, 0x8dda094e
+0, 204, 204, 1, 152064, 0x9b2cc401
+0, 205, 205, 1, 152064, 0x1a3b49d5
+0, 206, 206, 1, 152064, 0xaf5342ff
+0, 207, 207, 1, 152064, 0x74c0de83
+0, 208, 208, 1, 152064, 0xcf486137
+0, 209, 209, 1, 152064, 0xcf005b3b
+0, 210, 210, 1, 152064, 0x86a64c55
+0, 211, 211, 1, 152064, 0xdd3f7ae9
+0, 212, 212, 1, 152064, 0xb0d01e53
+0, 213, 213, 1, 152064, 0x83219065
+0, 214, 214, 1, 152064, 0x17a35d27
+0, 215, 215, 1, 152064, 0xf92645b5
+0, 216, 216, 1, 152064, 0x8322bdbf
+0, 217, 217, 1, 152064, 0xd589f6a2
+0, 218, 218, 1, 152064, 0x80a62d9e
+0, 219, 219, 1, 152064, 0x05b3e0d1
+0, 220, 220, 1, 152064, 0xd657aa0b
+0, 221, 221, 1, 152064, 0xec5ac2dd
+0, 222, 222, 1, 152064, 0xbf0ff969
+0, 223, 223, 1, 152064, 0xc34a5140
+0, 224, 224, 1, 152064, 0x814705c4
+0, 225, 225, 1, 152064, 0xe9592008
+0, 226, 226, 1, 152064, 0xf12c933c
+0, 227, 227, 1, 152064, 0x2daee178
+0, 228, 228, 1, 152064, 0xa2573028
+0, 229, 229, 1, 152064, 0x6109f58d
+0, 230, 230, 1, 152064, 0x64ab8ce4
+0, 231, 231, 1, 152064, 0x13a88b6e
+0, 232, 232, 1, 152064, 0x8f0181a9
+0, 233, 233, 1, 152064, 0xd5295fd4
+0, 234, 234, 1, 152064, 0xfdbeeb0d
+0, 235, 235, 1, 152064, 0x05ecd231
+0, 236, 236, 1, 152064, 0x48d164cd
+0, 237, 237, 1, 152064, 0xc279cf63
+0, 238, 238, 1, 152064, 0x1d5e6a03
+0, 239, 239, 1, 152064, 0xd9dc1807
+0, 240, 240, 1, 152064, 0xbcc83676
+0, 241, 241, 1, 152064, 0x65a9811e
+0, 242, 242, 1, 152064, 0x3ccfe5a8
+0, 243, 243, 1, 152064, 0x2f2ff051
+0, 244, 244, 1, 152064, 0x9193e093
+0, 245, 245, 1, 152064, 0x9a30fdc6
+0, 246, 246, 1, 152064, 0x90b7ea10
+0, 247, 247, 1, 152064, 0x3291910c
+0, 248, 248, 1, 152064, 0x2335d186
+0, 249, 249, 1, 152064, 0x2890cf1d
+0, 250, 250, 1, 152064, 0x8c8b6245
+0, 251, 251, 1, 152064, 0x24b84eda
+0, 252, 252, 1, 152064, 0x04a12446
+0, 253, 253, 1, 152064, 0xd9d91d51
+0, 254, 254, 1, 152064, 0xbf450adf
+0, 255, 255, 1, 152064, 0xa19a9a41
+0, 256, 256, 1, 152064, 0x2211ab01
+0, 257, 257, 1, 152064, 0x8fe85430
+0, 258, 258, 1, 152064, 0x5a152861
+0, 259, 259, 1, 152064, 0x7fe76995
+0, 260, 260, 1, 152064, 0x508b99cd
+0, 261, 261, 1, 152064, 0x92e79437
+0, 262, 262, 1, 152064, 0x8572eac9
+0, 263, 263, 1, 152064, 0x42e3d513
+0, 264, 264, 1, 152064, 0x6bee9e38
+0, 265, 265, 1, 152064, 0x2858ad4b
+0, 266, 266, 1, 152064, 0x96d87d00
+0, 267, 267, 1, 152064, 0x749f1032
+0, 268, 268, 1, 152064, 0x668fca6c
+0, 269, 269, 1, 152064, 0x11d278d9
+0, 270, 270, 1, 152064, 0x10fd46ea
+0, 271, 271, 1, 152064, 0xc8b193c8
+0, 272, 272, 1, 152064, 0x035e7d02
+0, 273, 273, 1, 152064, 0x067f583c
+0, 274, 274, 1, 152064, 0xd9648a1e
+0, 275, 275, 1, 152064, 0x92487b7e
+0, 276, 276, 1, 152064, 0xc7b35421
+0, 277, 277, 1, 152064, 0x2ed57c1c
+0, 278, 278, 1, 152064, 0xefe24c5f
+0, 279, 279, 1, 152064, 0x8df0118b
+0, 280, 280, 1, 152064, 0x18f0278d
+0, 281, 281, 1, 152064, 0x63ac45ad
+0, 282, 282, 1, 152064, 0xd79849f0
+0, 283, 283, 1, 152064, 0x1f1d4dab
+0, 284, 284, 1, 152064, 0x736fb5b8
+0, 285, 285, 1, 152064, 0xc24eb80c
+0, 286, 286, 1, 152064, 0x64ca3b11
+0, 287, 287, 1, 152064, 0x35d8674c
+0, 288, 288, 1, 152064, 0x3c5a7b51
+0, 289, 289, 1, 152064, 0x97550b81
+0, 290, 290, 1, 152064, 0x731454b5
+0, 291, 291, 1, 152064, 0x01de43bc
+0, 292, 292, 1, 152064, 0xbda7afae
+0, 293, 293, 1, 152064, 0xeb34d714
+0, 294, 294, 1, 152064, 0x1260cc98
+0, 295, 295, 1, 152064, 0x7e592c36
+0, 296, 296, 1, 152064, 0x40b3676e
+0, 297, 297, 1, 152064, 0x8c9d6b94
+0, 298, 298, 1, 152064, 0xc7988665
+0, 299, 299, 1, 152064, 0xf2994d52
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i1_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i1_panasonic_a
index 1cfc313e32..91e343623e 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i1_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i1_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 2764800, 0xcc4df07d
-0, 3600, 2764800, 0x85f9e6d4
-0, 7200, 2764800, 0x23ffe90d
-0, 10800, 2764800, 0xf0a6d453
-0, 14400, 2764800, 0x913a6392
-0, 18000, 2764800, 0xcc5f9736
-0, 21600, 2764800, 0x43f9f9ce
-0, 25200, 2764800, 0xc874b44e
-0, 28800, 2764800, 0x83b665e6
-0, 32400, 2764800, 0x5ea2e31e
+#tb 0: 1/25
+0, 0, 0, 1, 2764800, 0xcc4df07d
+0, 1, 1, 1, 2764800, 0x85f9e6d4
+0, 2, 2, 1, 2764800, 0x23ffe90d
+0, 3, 3, 1, 2764800, 0xf0a6d453
+0, 4, 4, 1, 2764800, 0x913a6392
+0, 5, 5, 1, 2764800, 0xcc5f9736
+0, 6, 6, 1, 2764800, 0x43f9f9ce
+0, 7, 7, 1, 2764800, 0xc874b44e
+0, 8, 8, 1, 2764800, 0x83b665e6
+0, 9, 9, 1, 2764800, 0x5ea2e31e
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i2_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i2_panasonic_a
index 274bdaf2b1..1d6d4b590d 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i2_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i2_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 2764800, 0x4f710132
-0, 3600, 2764800, 0x57e5b713
-0, 7200, 2764800, 0xcca01477
-0, 10800, 2764800, 0xa19a95cd
-0, 14400, 2764800, 0x700a757d
-0, 18000, 2764800, 0xd8c6f60f
-0, 21600, 2764800, 0x95a1bbc7
-0, 25200, 2764800, 0x0582077a
-0, 28800, 2764800, 0x91595f91
-0, 32400, 2764800, 0xf5fe034a
+#tb 0: 1/25
+0, 0, 0, 1, 2764800, 0x4f710132
+0, 1, 1, 1, 2764800, 0x57e5b713
+0, 2, 2, 1, 2764800, 0xcca01477
+0, 3, 3, 1, 2764800, 0xa19a95cd
+0, 4, 4, 1, 2764800, 0x700a757d
+0, 5, 5, 1, 2764800, 0xd8c6f60f
+0, 6, 6, 1, 2764800, 0x95a1bbc7
+0, 7, 7, 1, 2764800, 0x0582077a
+0, 8, 8, 1, 2764800, 0x91595f91
+0, 9, 9, 1, 2764800, 0xf5fe034a
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i3_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i3_panasonic_a
index 195e45a67b..a09e3973b7 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i3_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i3_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 2764800, 0xda69f69e
-0, 3600, 2764800, 0x29ed832f
-0, 7200, 2764800, 0xb3244cc4
-0, 10800, 2764800, 0xe41a312c
-0, 14400, 2764800, 0xac0b344b
-0, 18000, 2764800, 0xc585aa20
-0, 21600, 2764800, 0x0952054c
-0, 25200, 2764800, 0xd1a02f87
-0, 28800, 2764800, 0xfcbfe87c
-0, 32400, 2764800, 0xe4e9b8a2
+#tb 0: 1/25
+0, 0, 0, 1, 2764800, 0xda69f69e
+0, 1, 1, 1, 2764800, 0x29ed832f
+0, 2, 2, 1, 2764800, 0xb3244cc4
+0, 3, 3, 1, 2764800, 0xe41a312c
+0, 4, 4, 1, 2764800, 0xac0b344b
+0, 5, 5, 1, 2764800, 0xc585aa20
+0, 6, 6, 1, 2764800, 0x0952054c
+0, 7, 7, 1, 2764800, 0xd1a02f87
+0, 8, 8, 1, 2764800, 0xfcbfe87c
+0, 9, 9, 1, 2764800, 0xe4e9b8a2
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i4_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i4_panasonic_a
index a06c4577ff..adec6644da 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i4_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i4_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 6220800, 0xca2a2a5e
-0, 3600, 6220800, 0x8009a65e
-0, 7200, 6220800, 0x63e72b3b
-0, 10800, 6220800, 0x7459a1cc
-0, 14400, 6220800, 0x02191aa9
-0, 18000, 6220800, 0x88dca590
-0, 21600, 6220800, 0x4484d484
-0, 25200, 6220800, 0x8afdb53f
-0, 28800, 6220800, 0xd3d6017a
-0, 32400, 6220800, 0xf5162af0
+#tb 0: 1/25
+0, 0, 0, 1, 6220800, 0xca2a2a5e
+0, 1, 1, 1, 6220800, 0x8009a65e
+0, 2, 2, 1, 6220800, 0x63e72b3b
+0, 3, 3, 1, 6220800, 0x7459a1cc
+0, 4, 4, 1, 6220800, 0x02191aa9
+0, 5, 5, 1, 6220800, 0x88dca590
+0, 6, 6, 1, 6220800, 0x4484d484
+0, 7, 7, 1, 6220800, 0x8afdb53f
+0, 8, 8, 1, 6220800, 0xd3d6017a
+0, 9, 9, 1, 6220800, 0xf5162af0
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i5_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i5_panasonic_a
index 1afbac01e7..a4751979f5 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i5_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i5_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 6220800, 0x1df58ce9
-0, 3600, 6220800, 0x8f2859ce
-0, 7200, 6220800, 0x229cc7ff
-0, 10800, 6220800, 0x73e86984
-0, 14400, 6220800, 0xb6d4504b
-0, 18000, 6220800, 0x4e7d4883
-0, 21600, 6220800, 0xbec3f0f7
-0, 25200, 6220800, 0x1d9af065
-0, 28800, 6220800, 0x44851549
-0, 32400, 6220800, 0xfcf8728e
+#tb 0: 1/25
+0, 0, 0, 1, 6220800, 0x1df58ce9
+0, 1, 1, 1, 6220800, 0x8f2859ce
+0, 2, 2, 1, 6220800, 0x229cc7ff
+0, 3, 3, 1, 6220800, 0x73e86984
+0, 4, 4, 1, 6220800, 0xb6d4504b
+0, 5, 5, 1, 6220800, 0x4e7d4883
+0, 6, 6, 1, 6220800, 0xbec3f0f7
+0, 7, 7, 1, 6220800, 0x1d9af065
+0, 8, 8, 1, 6220800, 0x44851549
+0, 9, 9, 1, 6220800, 0xfcf8728e
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i6_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i6_panasonic_a
index 6d105466c9..25d0eec539 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i6_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i6_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 6220800, 0x408daf70
-0, 3600, 6220800, 0x59b254a3
-0, 7200, 6220800, 0x4cf4279c
-0, 10800, 6220800, 0x5c9437ae
-0, 14400, 6220800, 0x986c3eb8
-0, 18000, 6220800, 0x23fd883e
-0, 21600, 6220800, 0x84f222fe
-0, 25200, 6220800, 0xe7f91107
-0, 28800, 6220800, 0xb544b31e
-0, 32400, 6220800, 0x1ebdde56
+#tb 0: 1/25
+0, 0, 0, 1, 6220800, 0x408daf70
+0, 1, 1, 1, 6220800, 0x59b254a3
+0, 2, 2, 1, 6220800, 0x4cf4279c
+0, 3, 3, 1, 6220800, 0x5c9437ae
+0, 4, 4, 1, 6220800, 0x986c3eb8
+0, 5, 5, 1, 6220800, 0x23fd883e
+0, 6, 6, 1, 6220800, 0x84f222fe
+0, 7, 7, 1, 6220800, 0xe7f91107
+0, 8, 8, 1, 6220800, 0xb544b31e
+0, 9, 9, 1, 6220800, 0x1ebdde56
diff --git a/tests/ref/fate/h264-conformance-frext-pph10i7_panasonic_a b/tests/ref/fate/h264-conformance-frext-pph10i7_panasonic_a
index 28825446f9..1090b49f24 100644
--- a/tests/ref/fate/h264-conformance-frext-pph10i7_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-pph10i7_panasonic_a
@@ -1,10 +1,11 @@
-0, 0, 6220800, 0xf81873fe
-0, 3600, 6220800, 0x7b96fbdc
-0, 7200, 6220800, 0x75dbafc4
-0, 10800, 6220800, 0x7524301e
-0, 14400, 6220800, 0x0f3621ab
-0, 18000, 6220800, 0xa5e25b35
-0, 21600, 6220800, 0x063a8116
-0, 25200, 6220800, 0x48ebc8ff
-0, 28800, 6220800, 0x1f635df8
-0, 32400, 6220800, 0xe282c8bd
+#tb 0: 1/25
+0, 0, 0, 1, 6220800, 0xf81873fe
+0, 1, 1, 1, 6220800, 0x7b96fbdc
+0, 2, 2, 1, 6220800, 0x75dbafc4
+0, 3, 3, 1, 6220800, 0x7524301e
+0, 4, 4, 1, 6220800, 0x0f3621ab
+0, 5, 5, 1, 6220800, 0xa5e25b35
+0, 6, 6, 1, 6220800, 0x063a8116
+0, 7, 7, 1, 6220800, 0x48ebc8ff
+0, 8, 8, 1, 6220800, 0x1f635df8
+0, 9, 9, 1, 6220800, 0xe282c8bd
diff --git a/tests/ref/fate/h264-conformance-hcbp2_hhi_a b/tests/ref/fate/h264-conformance-hcbp2_hhi_a
index 87a9db1a58..977107e913 100644
--- a/tests/ref/fate/h264-conformance-hcbp2_hhi_a
+++ b/tests/ref/fate/h264-conformance-hcbp2_hhi_a
@@ -1,250 +1,251 @@
-0, 0, 152064, 0xf9deb95a
-0, 3600, 152064, 0xdce9c541
-0, 7200, 152064, 0xc45a8a77
-0, 10800, 152064, 0x5132a470
-0, 14400, 152064, 0x65542c98
-0, 18000, 152064, 0x2df95883
-0, 21600, 152064, 0x9f4f1280
-0, 25200, 152064, 0x11c9f32c
-0, 28800, 152064, 0x66535f0c
-0, 32400, 152064, 0x5b13770c
-0, 36000, 152064, 0xadcd3278
-0, 39600, 152064, 0x06e00e91
-0, 43200, 152064, 0x1fa1886f
-0, 46800, 152064, 0xd524b6a3
-0, 50400, 152064, 0x45f82b73
-0, 54000, 152064, 0x0fd301aa
-0, 57600, 152064, 0x2983acdd
-0, 61200, 152064, 0xe74004c6
-0, 64800, 152064, 0xe279328a
-0, 68400, 152064, 0x85be8f85
-0, 72000, 152064, 0xec503b6b
-0, 75600, 152064, 0x3d4495db
-0, 79200, 152064, 0x3a9774d2
-0, 82800, 152064, 0x80a07a42
-0, 86400, 152064, 0x484427ce
-0, 90000, 152064, 0x9e6b773f
-0, 93600, 152064, 0xd3be5f07
-0, 97200, 152064, 0x69a76c5e
-0, 100800, 152064, 0xd448fde2
-0, 104400, 152064, 0x04a34635
-0, 108000, 152064, 0xd4e3e0e1
-0, 111600, 152064, 0x2564cf13
-0, 115200, 152064, 0x98bc5167
-0, 118800, 152064, 0xcf06991f
-0, 122400, 152064, 0x3edf621f
-0, 126000, 152064, 0x47039967
-0, 129600, 152064, 0x299636b5
-0, 133200, 152064, 0x2bc0849d
-0, 136800, 152064, 0xe94946a6
-0, 140400, 152064, 0x5a5768ac
-0, 144000, 152064, 0xfe4ce9cd
-0, 147600, 152064, 0xbeb34b2e
-0, 151200, 152064, 0xa26020e3
-0, 154800, 152064, 0xb2514c55
-0, 158400, 152064, 0x723be4b1
-0, 162000, 152064, 0xeef4434e
-0, 165600, 152064, 0x1237e1db
-0, 169200, 152064, 0x4814c1fb
-0, 172800, 152064, 0xe7544446
-0, 176400, 152064, 0xd93a53d9
-0, 180000, 152064, 0x90e029c6
-0, 183600, 152064, 0xfa493dfc
-0, 187200, 152064, 0x081fa2d9
-0, 190800, 152064, 0x9782ef8c
-0, 194400, 152064, 0x1daf911c
-0, 198000, 152064, 0xc9058a57
-0, 201600, 152064, 0x68a90f04
-0, 205200, 152064, 0xc7115091
-0, 208800, 152064, 0xe9731898
-0, 212400, 152064, 0xd7bc206e
-0, 216000, 152064, 0xf760baac
-0, 219600, 152064, 0x6f9700e3
-0, 223200, 152064, 0xec54b42d
-0, 226800, 152064, 0x0dc5bf77
-0, 230400, 152064, 0x196e33c3
-0, 234000, 152064, 0x090cae46
-0, 237600, 152064, 0x06897499
-0, 241200, 152064, 0xf54cd959
-0, 244800, 152064, 0x24167906
-0, 248400, 152064, 0xea06e67b
-0, 252000, 152064, 0xa97ed69c
-0, 255600, 152064, 0x03c4ce82
-0, 259200, 152064, 0xca864ddd
-0, 262800, 152064, 0x1bc9956f
-0, 266400, 152064, 0x7864908c
-0, 270000, 152064, 0x52f3be55
-0, 273600, 152064, 0x78b469b5
-0, 277200, 152064, 0x8b3bb23e
-0, 280800, 152064, 0x5bed7f47
-0, 284400, 152064, 0x401b7e9c
-0, 288000, 152064, 0x4cbc3193
-0, 291600, 152064, 0xa00b7ed2
-0, 295200, 152064, 0xda548927
-0, 298800, 152064, 0x30a5cffb
-0, 302400, 152064, 0x9536bdf0
-0, 306000, 152064, 0x927e3cf4
-0, 309600, 152064, 0x95533148
-0, 313200, 152064, 0x763c553a
-0, 316800, 152064, 0x7010f280
-0, 320400, 152064, 0xa537667c
-0, 324000, 152064, 0xe599927a
-0, 327600, 152064, 0x72dde2ab
-0, 331200, 152064, 0x02089d51
-0, 334800, 152064, 0x4ca8231a
-0, 338400, 152064, 0x90b126aa
-0, 342000, 152064, 0x65a9260f
-0, 345600, 152064, 0xf37cf34a
-0, 349200, 152064, 0xf21f63f6
-0, 352800, 152064, 0x95209e85
-0, 356400, 152064, 0x0df00a65
-0, 360000, 152064, 0x0ce71e2b
-0, 363600, 152064, 0x6cbf8843
-0, 367200, 152064, 0x17f29296
-0, 370800, 152064, 0x88278aa9
-0, 374400, 152064, 0x84ad74d0
-0, 378000, 152064, 0xda48eea1
-0, 381600, 152064, 0xcaf33b25
-0, 385200, 152064, 0x9b288538
-0, 388800, 152064, 0xd1b7561f
-0, 392400, 152064, 0x4bfcbdac
-0, 396000, 152064, 0x1dd5b920
-0, 399600, 152064, 0xde50ceeb
-0, 403200, 152064, 0xa552963b
-0, 406800, 152064, 0xb2f5ef15
-0, 410400, 152064, 0x5abf061c
-0, 414000, 152064, 0x9b4c45f6
-0, 417600, 152064, 0xe61d1b02
-0, 421200, 152064, 0xe5728c4e
-0, 424800, 152064, 0xcb944655
-0, 428400, 152064, 0x648b951a
-0, 432000, 152064, 0xc3671a38
-0, 435600, 152064, 0x7d3fbcf3
-0, 439200, 152064, 0x3c0ba1c5
-0, 442800, 152064, 0xf5ac0d3a
-0, 446400, 152064, 0x87faf534
-0, 450000, 152064, 0xb3f05d11
-0, 453600, 152064, 0x825e3423
-0, 457200, 152064, 0xade45431
-0, 460800, 152064, 0x7715d496
-0, 464400, 152064, 0x983c45fa
-0, 468000, 152064, 0xe8d621d8
-0, 471600, 152064, 0x71ec7553
-0, 475200, 152064, 0xb20d5556
-0, 478800, 152064, 0xfa6bd00b
-0, 482400, 152064, 0x2a18acf1
-0, 486000, 152064, 0xa241c342
-0, 489600, 152064, 0xa3597426
-0, 493200, 152064, 0x6f72ff61
-0, 496800, 152064, 0xceffe8af
-0, 500400, 152064, 0x76853b09
-0, 504000, 152064, 0x3f58cc0c
-0, 507600, 152064, 0x16080a6d
-0, 511200, 152064, 0x752ae0aa
-0, 514800, 152064, 0x7dadf81b
-0, 518400, 152064, 0x9828aa7c
-0, 522000, 152064, 0x05a51e04
-0, 525600, 152064, 0xf9a92ae6
-0, 529200, 152064, 0xce0169f9
-0, 532800, 152064, 0x784d405b
-0, 536400, 152064, 0x531b9869
-0, 540000, 152064, 0xdf6a6129
-0, 543600, 152064, 0x5cdf5aac
-0, 547200, 152064, 0x28dd0050
-0, 550800, 152064, 0x76bd5ea7
-0, 554400, 152064, 0xcf3036bf
-0, 558000, 152064, 0x20365c0d
-0, 561600, 152064, 0x171ad303
-0, 565200, 152064, 0x1388416d
-0, 568800, 152064, 0x9b92f171
-0, 572400, 152064, 0xe2bc377a
-0, 576000, 152064, 0x90639e6c
-0, 579600, 152064, 0x1b50e759
-0, 583200, 152064, 0x43a9b680
-0, 586800, 152064, 0xb1780015
-0, 590400, 152064, 0x9a6783a6
-0, 594000, 152064, 0x1471e2e4
-0, 597600, 152064, 0xb1899be2
-0, 601200, 152064, 0x2facd37c
-0, 604800, 152064, 0x197361fc
-0, 608400, 152064, 0x823ffce1
-0, 612000, 152064, 0x9ce3cb14
-0, 615600, 152064, 0x16620232
-0, 619200, 152064, 0x4fedb29e
-0, 622800, 152064, 0xb45cd8b4
-0, 626400, 152064, 0x84387e9d
-0, 630000, 152064, 0xd5017ca0
-0, 633600, 152064, 0x106002a5
-0, 637200, 152064, 0x20c44a82
-0, 640800, 152064, 0x0694fbb2
-0, 644400, 152064, 0x849cfdf3
-0, 648000, 152064, 0xef827c85
-0, 651600, 152064, 0xc04ecde3
-0, 655200, 152064, 0x2f81bee2
-0, 658800, 152064, 0x86dbe8cc
-0, 662400, 152064, 0x9ee67bcd
-0, 666000, 152064, 0xa2618f39
-0, 669600, 152064, 0x35a40f36
-0, 673200, 152064, 0x9f6b0b54
-0, 676800, 152064, 0xcee2c0b5
-0, 680400, 152064, 0x3c3cb8f3
-0, 684000, 152064, 0xf3ab2e21
-0, 687600, 152064, 0xc51afcbc
-0, 691200, 152064, 0x272bbb4d
-0, 694800, 152064, 0x1448f2cc
-0, 698400, 152064, 0xd286e217
-0, 702000, 152064, 0xd6abf89e
-0, 705600, 152064, 0xf908bb8a
-0, 709200, 152064, 0x8a17ddd6
-0, 712800, 152064, 0xc30d9039
-0, 716400, 152064, 0xb8c6a557
-0, 720000, 152064, 0xf1675620
-0, 723600, 152064, 0xbb41b898
-0, 727200, 152064, 0x662298b2
-0, 730800, 152064, 0x0f8271aa
-0, 734400, 152064, 0x34d90197
-0, 738000, 152064, 0x15254eb2
-0, 741600, 152064, 0x4d942235
-0, 745200, 152064, 0xa2cefa6a
-0, 748800, 152064, 0x909a7050
-0, 752400, 152064, 0x219abae7
-0, 756000, 152064, 0x0166bc37
-0, 759600, 152064, 0x8b960965
-0, 763200, 152064, 0x71f6af2a
-0, 766800, 152064, 0x8d69f377
-0, 770400, 152064, 0x27b1a17d
-0, 774000, 152064, 0x6b09b049
-0, 777600, 152064, 0x733472e7
-0, 781200, 152064, 0x986efe32
-0, 784800, 152064, 0x99a37cc5
-0, 788400, 152064, 0x82433283
-0, 792000, 152064, 0x4698c0bd
-0, 795600, 152064, 0x1f6ce7f9
-0, 799200, 152064, 0x6e398d44
-0, 802800, 152064, 0x14ae5d85
-0, 806400, 152064, 0xef2f1e28
-0, 810000, 152064, 0x9dfe46ae
-0, 813600, 152064, 0x91997a8f
-0, 817200, 152064, 0x6c828dda
-0, 820800, 152064, 0x723f3f5c
-0, 824400, 152064, 0xcb86883d
-0, 828000, 152064, 0x1c25cbed
-0, 831600, 152064, 0x3cad814a
-0, 835200, 152064, 0xe0d8f5e7
-0, 838800, 152064, 0xaefb35cc
-0, 842400, 152064, 0x5dfc2181
-0, 846000, 152064, 0x13f26603
-0, 849600, 152064, 0x97a3dd0d
-0, 853200, 152064, 0xbecff890
-0, 856800, 152064, 0xd226badc
-0, 860400, 152064, 0x7f4adbd1
-0, 864000, 152064, 0x5da1565a
-0, 867600, 152064, 0x35cbac9c
-0, 871200, 152064, 0xf1b26f8a
-0, 874800, 152064, 0xc8d08d07
-0, 878400, 152064, 0xa9f643c2
-0, 882000, 152064, 0xc420b0ba
-0, 885600, 152064, 0x8871a4f5
-0, 889200, 152064, 0x4e7647b4
-0, 892800, 152064, 0xb4dad812
-0, 896400, 152064, 0x6a3d00d5
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xf9deb95a
+0, 1, 1, 1, 152064, 0xdce9c541
+0, 2, 2, 1, 152064, 0xc45a8a77
+0, 3, 3, 1, 152064, 0x5132a470
+0, 4, 4, 1, 152064, 0x65542c98
+0, 5, 5, 1, 152064, 0x2df95883
+0, 6, 6, 1, 152064, 0x9f4f1280
+0, 7, 7, 1, 152064, 0x11c9f32c
+0, 8, 8, 1, 152064, 0x66535f0c
+0, 9, 9, 1, 152064, 0x5b13770c
+0, 10, 10, 1, 152064, 0xadcd3278
+0, 11, 11, 1, 152064, 0x06e00e91
+0, 12, 12, 1, 152064, 0x1fa1886f
+0, 13, 13, 1, 152064, 0xd524b6a3
+0, 14, 14, 1, 152064, 0x45f82b73
+0, 15, 15, 1, 152064, 0x0fd301aa
+0, 16, 16, 1, 152064, 0x2983acdd
+0, 17, 17, 1, 152064, 0xe74004c6
+0, 18, 18, 1, 152064, 0xe279328a
+0, 19, 19, 1, 152064, 0x85be8f85
+0, 20, 20, 1, 152064, 0xec503b6b
+0, 21, 21, 1, 152064, 0x3d4495db
+0, 22, 22, 1, 152064, 0x3a9774d2
+0, 23, 23, 1, 152064, 0x80a07a42
+0, 24, 24, 1, 152064, 0x484427ce
+0, 25, 25, 1, 152064, 0x9e6b773f
+0, 26, 26, 1, 152064, 0xd3be5f07
+0, 27, 27, 1, 152064, 0x69a76c5e
+0, 28, 28, 1, 152064, 0xd448fde2
+0, 29, 29, 1, 152064, 0x04a34635
+0, 30, 30, 1, 152064, 0xd4e3e0e1
+0, 31, 31, 1, 152064, 0x2564cf13
+0, 32, 32, 1, 152064, 0x98bc5167
+0, 33, 33, 1, 152064, 0xcf06991f
+0, 34, 34, 1, 152064, 0x3edf621f
+0, 35, 35, 1, 152064, 0x47039967
+0, 36, 36, 1, 152064, 0x299636b5
+0, 37, 37, 1, 152064, 0x2bc0849d
+0, 38, 38, 1, 152064, 0xe94946a6
+0, 39, 39, 1, 152064, 0x5a5768ac
+0, 40, 40, 1, 152064, 0xfe4ce9cd
+0, 41, 41, 1, 152064, 0xbeb34b2e
+0, 42, 42, 1, 152064, 0xa26020e3
+0, 43, 43, 1, 152064, 0xb2514c55
+0, 44, 44, 1, 152064, 0x723be4b1
+0, 45, 45, 1, 152064, 0xeef4434e
+0, 46, 46, 1, 152064, 0x1237e1db
+0, 47, 47, 1, 152064, 0x4814c1fb
+0, 48, 48, 1, 152064, 0xe7544446
+0, 49, 49, 1, 152064, 0xd93a53d9
+0, 50, 50, 1, 152064, 0x90e029c6
+0, 51, 51, 1, 152064, 0xfa493dfc
+0, 52, 52, 1, 152064, 0x081fa2d9
+0, 53, 53, 1, 152064, 0x9782ef8c
+0, 54, 54, 1, 152064, 0x1daf911c
+0, 55, 55, 1, 152064, 0xc9058a57
+0, 56, 56, 1, 152064, 0x68a90f04
+0, 57, 57, 1, 152064, 0xc7115091
+0, 58, 58, 1, 152064, 0xe9731898
+0, 59, 59, 1, 152064, 0xd7bc206e
+0, 60, 60, 1, 152064, 0xf760baac
+0, 61, 61, 1, 152064, 0x6f9700e3
+0, 62, 62, 1, 152064, 0xec54b42d
+0, 63, 63, 1, 152064, 0x0dc5bf77
+0, 64, 64, 1, 152064, 0x196e33c3
+0, 65, 65, 1, 152064, 0x090cae46
+0, 66, 66, 1, 152064, 0x06897499
+0, 67, 67, 1, 152064, 0xf54cd959
+0, 68, 68, 1, 152064, 0x24167906
+0, 69, 69, 1, 152064, 0xea06e67b
+0, 70, 70, 1, 152064, 0xa97ed69c
+0, 71, 71, 1, 152064, 0x03c4ce82
+0, 72, 72, 1, 152064, 0xca864ddd
+0, 73, 73, 1, 152064, 0x1bc9956f
+0, 74, 74, 1, 152064, 0x7864908c
+0, 75, 75, 1, 152064, 0x52f3be55
+0, 76, 76, 1, 152064, 0x78b469b5
+0, 77, 77, 1, 152064, 0x8b3bb23e
+0, 78, 78, 1, 152064, 0x5bed7f47
+0, 79, 79, 1, 152064, 0x401b7e9c
+0, 80, 80, 1, 152064, 0x4cbc3193
+0, 81, 81, 1, 152064, 0xa00b7ed2
+0, 82, 82, 1, 152064, 0xda548927
+0, 83, 83, 1, 152064, 0x30a5cffb
+0, 84, 84, 1, 152064, 0x9536bdf0
+0, 85, 85, 1, 152064, 0x927e3cf4
+0, 86, 86, 1, 152064, 0x95533148
+0, 87, 87, 1, 152064, 0x763c553a
+0, 88, 88, 1, 152064, 0x7010f280
+0, 89, 89, 1, 152064, 0xa537667c
+0, 90, 90, 1, 152064, 0xe599927a
+0, 91, 91, 1, 152064, 0x72dde2ab
+0, 92, 92, 1, 152064, 0x02089d51
+0, 93, 93, 1, 152064, 0x4ca8231a
+0, 94, 94, 1, 152064, 0x90b126aa
+0, 95, 95, 1, 152064, 0x65a9260f
+0, 96, 96, 1, 152064, 0xf37cf34a
+0, 97, 97, 1, 152064, 0xf21f63f6
+0, 98, 98, 1, 152064, 0x95209e85
+0, 99, 99, 1, 152064, 0x0df00a65
+0, 100, 100, 1, 152064, 0x0ce71e2b
+0, 101, 101, 1, 152064, 0x6cbf8843
+0, 102, 102, 1, 152064, 0x17f29296
+0, 103, 103, 1, 152064, 0x88278aa9
+0, 104, 104, 1, 152064, 0x84ad74d0
+0, 105, 105, 1, 152064, 0xda48eea1
+0, 106, 106, 1, 152064, 0xcaf33b25
+0, 107, 107, 1, 152064, 0x9b288538
+0, 108, 108, 1, 152064, 0xd1b7561f
+0, 109, 109, 1, 152064, 0x4bfcbdac
+0, 110, 110, 1, 152064, 0x1dd5b920
+0, 111, 111, 1, 152064, 0xde50ceeb
+0, 112, 112, 1, 152064, 0xa552963b
+0, 113, 113, 1, 152064, 0xb2f5ef15
+0, 114, 114, 1, 152064, 0x5abf061c
+0, 115, 115, 1, 152064, 0x9b4c45f6
+0, 116, 116, 1, 152064, 0xe61d1b02
+0, 117, 117, 1, 152064, 0xe5728c4e
+0, 118, 118, 1, 152064, 0xcb944655
+0, 119, 119, 1, 152064, 0x648b951a
+0, 120, 120, 1, 152064, 0xc3671a38
+0, 121, 121, 1, 152064, 0x7d3fbcf3
+0, 122, 122, 1, 152064, 0x3c0ba1c5
+0, 123, 123, 1, 152064, 0xf5ac0d3a
+0, 124, 124, 1, 152064, 0x87faf534
+0, 125, 125, 1, 152064, 0xb3f05d11
+0, 126, 126, 1, 152064, 0x825e3423
+0, 127, 127, 1, 152064, 0xade45431
+0, 128, 128, 1, 152064, 0x7715d496
+0, 129, 129, 1, 152064, 0x983c45fa
+0, 130, 130, 1, 152064, 0xe8d621d8
+0, 131, 131, 1, 152064, 0x71ec7553
+0, 132, 132, 1, 152064, 0xb20d5556
+0, 133, 133, 1, 152064, 0xfa6bd00b
+0, 134, 134, 1, 152064, 0x2a18acf1
+0, 135, 135, 1, 152064, 0xa241c342
+0, 136, 136, 1, 152064, 0xa3597426
+0, 137, 137, 1, 152064, 0x6f72ff61
+0, 138, 138, 1, 152064, 0xceffe8af
+0, 139, 139, 1, 152064, 0x76853b09
+0, 140, 140, 1, 152064, 0x3f58cc0c
+0, 141, 141, 1, 152064, 0x16080a6d
+0, 142, 142, 1, 152064, 0x752ae0aa
+0, 143, 143, 1, 152064, 0x7dadf81b
+0, 144, 144, 1, 152064, 0x9828aa7c
+0, 145, 145, 1, 152064, 0x05a51e04
+0, 146, 146, 1, 152064, 0xf9a92ae6
+0, 147, 147, 1, 152064, 0xce0169f9
+0, 148, 148, 1, 152064, 0x784d405b
+0, 149, 149, 1, 152064, 0x531b9869
+0, 150, 150, 1, 152064, 0xdf6a6129
+0, 151, 151, 1, 152064, 0x5cdf5aac
+0, 152, 152, 1, 152064, 0x28dd0050
+0, 153, 153, 1, 152064, 0x76bd5ea7
+0, 154, 154, 1, 152064, 0xcf3036bf
+0, 155, 155, 1, 152064, 0x20365c0d
+0, 156, 156, 1, 152064, 0x171ad303
+0, 157, 157, 1, 152064, 0x1388416d
+0, 158, 158, 1, 152064, 0x9b92f171
+0, 159, 159, 1, 152064, 0xe2bc377a
+0, 160, 160, 1, 152064, 0x90639e6c
+0, 161, 161, 1, 152064, 0x1b50e759
+0, 162, 162, 1, 152064, 0x43a9b680
+0, 163, 163, 1, 152064, 0xb1780015
+0, 164, 164, 1, 152064, 0x9a6783a6
+0, 165, 165, 1, 152064, 0x1471e2e4
+0, 166, 166, 1, 152064, 0xb1899be2
+0, 167, 167, 1, 152064, 0x2facd37c
+0, 168, 168, 1, 152064, 0x197361fc
+0, 169, 169, 1, 152064, 0x823ffce1
+0, 170, 170, 1, 152064, 0x9ce3cb14
+0, 171, 171, 1, 152064, 0x16620232
+0, 172, 172, 1, 152064, 0x4fedb29e
+0, 173, 173, 1, 152064, 0xb45cd8b4
+0, 174, 174, 1, 152064, 0x84387e9d
+0, 175, 175, 1, 152064, 0xd5017ca0
+0, 176, 176, 1, 152064, 0x106002a5
+0, 177, 177, 1, 152064, 0x20c44a82
+0, 178, 178, 1, 152064, 0x0694fbb2
+0, 179, 179, 1, 152064, 0x849cfdf3
+0, 180, 180, 1, 152064, 0xef827c85
+0, 181, 181, 1, 152064, 0xc04ecde3
+0, 182, 182, 1, 152064, 0x2f81bee2
+0, 183, 183, 1, 152064, 0x86dbe8cc
+0, 184, 184, 1, 152064, 0x9ee67bcd
+0, 185, 185, 1, 152064, 0xa2618f39
+0, 186, 186, 1, 152064, 0x35a40f36
+0, 187, 187, 1, 152064, 0x9f6b0b54
+0, 188, 188, 1, 152064, 0xcee2c0b5
+0, 189, 189, 1, 152064, 0x3c3cb8f3
+0, 190, 190, 1, 152064, 0xf3ab2e21
+0, 191, 191, 1, 152064, 0xc51afcbc
+0, 192, 192, 1, 152064, 0x272bbb4d
+0, 193, 193, 1, 152064, 0x1448f2cc
+0, 194, 194, 1, 152064, 0xd286e217
+0, 195, 195, 1, 152064, 0xd6abf89e
+0, 196, 196, 1, 152064, 0xf908bb8a
+0, 197, 197, 1, 152064, 0x8a17ddd6
+0, 198, 198, 1, 152064, 0xc30d9039
+0, 199, 199, 1, 152064, 0xb8c6a557
+0, 200, 200, 1, 152064, 0xf1675620
+0, 201, 201, 1, 152064, 0xbb41b898
+0, 202, 202, 1, 152064, 0x662298b2
+0, 203, 203, 1, 152064, 0x0f8271aa
+0, 204, 204, 1, 152064, 0x34d90197
+0, 205, 205, 1, 152064, 0x15254eb2
+0, 206, 206, 1, 152064, 0x4d942235
+0, 207, 207, 1, 152064, 0xa2cefa6a
+0, 208, 208, 1, 152064, 0x909a7050
+0, 209, 209, 1, 152064, 0x219abae7
+0, 210, 210, 1, 152064, 0x0166bc37
+0, 211, 211, 1, 152064, 0x8b960965
+0, 212, 212, 1, 152064, 0x71f6af2a
+0, 213, 213, 1, 152064, 0x8d69f377
+0, 214, 214, 1, 152064, 0x27b1a17d
+0, 215, 215, 1, 152064, 0x6b09b049
+0, 216, 216, 1, 152064, 0x733472e7
+0, 217, 217, 1, 152064, 0x986efe32
+0, 218, 218, 1, 152064, 0x99a37cc5
+0, 219, 219, 1, 152064, 0x82433283
+0, 220, 220, 1, 152064, 0x4698c0bd
+0, 221, 221, 1, 152064, 0x1f6ce7f9
+0, 222, 222, 1, 152064, 0x6e398d44
+0, 223, 223, 1, 152064, 0x14ae5d85
+0, 224, 224, 1, 152064, 0xef2f1e28
+0, 225, 225, 1, 152064, 0x9dfe46ae
+0, 226, 226, 1, 152064, 0x91997a8f
+0, 227, 227, 1, 152064, 0x6c828dda
+0, 228, 228, 1, 152064, 0x723f3f5c
+0, 229, 229, 1, 152064, 0xcb86883d
+0, 230, 230, 1, 152064, 0x1c25cbed
+0, 231, 231, 1, 152064, 0x3cad814a
+0, 232, 232, 1, 152064, 0xe0d8f5e7
+0, 233, 233, 1, 152064, 0xaefb35cc
+0, 234, 234, 1, 152064, 0x5dfc2181
+0, 235, 235, 1, 152064, 0x13f26603
+0, 236, 236, 1, 152064, 0x97a3dd0d
+0, 237, 237, 1, 152064, 0xbecff890
+0, 238, 238, 1, 152064, 0xd226badc
+0, 239, 239, 1, 152064, 0x7f4adbd1
+0, 240, 240, 1, 152064, 0x5da1565a
+0, 241, 241, 1, 152064, 0x35cbac9c
+0, 242, 242, 1, 152064, 0xf1b26f8a
+0, 243, 243, 1, 152064, 0xc8d08d07
+0, 244, 244, 1, 152064, 0xa9f643c2
+0, 245, 245, 1, 152064, 0xc420b0ba
+0, 246, 246, 1, 152064, 0x8871a4f5
+0, 247, 247, 1, 152064, 0x4e7647b4
+0, 248, 248, 1, 152064, 0xb4dad812
+0, 249, 249, 1, 152064, 0x6a3d00d5
diff --git a/tests/ref/fate/h264-conformance-hcmp1_hhi_a b/tests/ref/fate/h264-conformance-hcmp1_hhi_a
index 88b758d808..be619dad71 100644
--- a/tests/ref/fate/h264-conformance-hcmp1_hhi_a
+++ b/tests/ref/fate/h264-conformance-hcmp1_hhi_a
@@ -1,250 +1,251 @@
-0, 0, 152064, 0xda244f3f
-0, 3600, 152064, 0x35a1cb02
-0, 7200, 152064, 0xa729d9ca
-0, 10800, 152064, 0x69d90602
-0, 14400, 152064, 0x4ccdae72
-0, 18000, 152064, 0x06f9d8b9
-0, 21600, 152064, 0x0a14a736
-0, 25200, 152064, 0xc344b167
-0, 28800, 152064, 0xf3303e92
-0, 32400, 152064, 0xbe28813f
-0, 36000, 152064, 0x971f4980
-0, 39600, 152064, 0x69124d31
-0, 43200, 152064, 0x6d93e7f2
-0, 46800, 152064, 0x5c1315e4
-0, 50400, 152064, 0xb011cfe4
-0, 54000, 152064, 0x65a0d147
-0, 57600, 152064, 0x463d8c39
-0, 61200, 152064, 0x15f2a757
-0, 64800, 152064, 0xc2418f1f
-0, 68400, 152064, 0x7a48b94c
-0, 72000, 152064, 0x1c079ec9
-0, 75600, 152064, 0x348ced32
-0, 79200, 152064, 0x6014d525
-0, 82800, 152064, 0x146ed41f
-0, 86400, 152064, 0x543177e6
-0, 90000, 152064, 0x79a4b44e
-0, 93600, 152064, 0x4401a7ae
-0, 97200, 152064, 0xc0aec3c1
-0, 100800, 152064, 0x92348852
-0, 104400, 152064, 0x90eece70
-0, 108000, 152064, 0x19efd00f
-0, 111600, 152064, 0x608912ac
-0, 115200, 152064, 0xa707bdb1
-0, 118800, 152064, 0x926e1ffe
-0, 122400, 152064, 0x56863ca8
-0, 126000, 152064, 0xe18e81b4
-0, 129600, 152064, 0xf17466f2
-0, 133200, 152064, 0x2281feef
-0, 136800, 152064, 0x33603b66
-0, 140400, 152064, 0xe30fad28
-0, 144000, 152064, 0x66efb21e
-0, 147600, 152064, 0x405f32d6
-0, 151200, 152064, 0xe90f262b
-0, 154800, 152064, 0xf85144b0
-0, 158400, 152064, 0xcff4feab
-0, 162000, 152064, 0x02b63e49
-0, 165600, 152064, 0x91d9ff77
-0, 169200, 152064, 0x2c6c0d2a
-0, 172800, 152064, 0xacad9e66
-0, 176400, 152064, 0x83951353
-0, 180000, 152064, 0x549c16e4
-0, 183600, 152064, 0xcad9610c
-0, 187200, 152064, 0x264e4b57
-0, 190800, 152064, 0x9758afe8
-0, 194400, 152064, 0x0273a81d
-0, 198000, 152064, 0x31c6f1a0
-0, 201600, 152064, 0x80d1c9cf
-0, 205200, 152064, 0x41b861f7
-0, 208800, 152064, 0xad416fe7
-0, 212400, 152064, 0xdde59bf0
-0, 216000, 152064, 0x886c491c
-0, 219600, 152064, 0x4bf4a21f
-0, 223200, 152064, 0x2581a06e
-0, 226800, 152064, 0x8188cf9b
-0, 230400, 152064, 0xbfaf82ce
-0, 234000, 152064, 0xed9ef8b1
-0, 237600, 152064, 0xf5f4e0c0
-0, 241200, 152064, 0xa24421ac
-0, 244800, 152064, 0xf0cdde38
-0, 248400, 152064, 0x7f211f2c
-0, 252000, 152064, 0x241ff38b
-0, 255600, 152064, 0x19bc25a6
-0, 259200, 152064, 0xd9d5ede9
-0, 262800, 152064, 0x88f98579
-0, 266400, 152064, 0x630da1aa
-0, 270000, 152064, 0x19abf44f
-0, 273600, 152064, 0x3a95d341
-0, 277200, 152064, 0xdeb9333e
-0, 280800, 152064, 0x0c994783
-0, 284400, 152064, 0xb58b7d26
-0, 288000, 152064, 0x6e392b24
-0, 291600, 152064, 0x1f7e2d63
-0, 295200, 152064, 0x732342d3
-0, 298800, 152064, 0xbda4a761
-0, 302400, 152064, 0xdc387777
-0, 306000, 152064, 0xd5d00469
-0, 309600, 152064, 0xc840cf6d
-0, 313200, 152064, 0x3dfef3d9
-0, 316800, 152064, 0xf731594f
-0, 320400, 152064, 0x126fef41
-0, 324000, 152064, 0x5705b1e3
-0, 327600, 152064, 0xa8ecbe94
-0, 331200, 152064, 0xcbcd0e48
-0, 334800, 152064, 0x3da860da
-0, 338400, 152064, 0x97882d5f
-0, 342000, 152064, 0x19803d16
-0, 345600, 152064, 0xa639b969
-0, 349200, 152064, 0xc0a00bc3
-0, 352800, 152064, 0xb12f0617
-0, 356400, 152064, 0x0e53481c
-0, 360000, 152064, 0x1fa0e47d
-0, 363600, 152064, 0x818119fa
-0, 367200, 152064, 0xc28ffc3e
-0, 370800, 152064, 0x8abdfb3c
-0, 374400, 152064, 0x670cb951
-0, 378000, 152064, 0x172808bd
-0, 381600, 152064, 0x6be1ea7f
-0, 385200, 152064, 0x05dbfadc
-0, 388800, 152064, 0xcfcfbcec
-0, 392400, 152064, 0x9306e1d2
-0, 396000, 152064, 0xcf3ccc54
-0, 399600, 152064, 0xf36ad41a
-0, 403200, 152064, 0x751b835b
-0, 406800, 152064, 0x7ebed47b
-0, 410400, 152064, 0x9659d022
-0, 414000, 152064, 0xef7701ae
-0, 417600, 152064, 0x5cdee3b0
-0, 421200, 152064, 0xf6c3ed42
-0, 424800, 152064, 0x412ee2fb
-0, 428400, 152064, 0x309cd2bd
-0, 432000, 152064, 0x50f09af5
-0, 435600, 152064, 0x4a05087a
-0, 439200, 152064, 0xaedc2125
-0, 442800, 152064, 0x54e2692a
-0, 446400, 152064, 0x0403590c
-0, 450000, 152064, 0x8a4c9833
-0, 453600, 152064, 0x36b6893e
-0, 457200, 152064, 0x21fd9204
-0, 460800, 152064, 0xa1cd3bc7
-0, 464400, 152064, 0x3cfa3d18
-0, 468000, 152064, 0xb5f7fefd
-0, 471600, 152064, 0x133cf831
-0, 475200, 152064, 0xcaabdd54
-0, 478800, 152064, 0xcab45366
-0, 482400, 152064, 0x8b6f4c90
-0, 486000, 152064, 0x4de74903
-0, 489600, 152064, 0x2dde0c4f
-0, 493200, 152064, 0x09364c1d
-0, 496800, 152064, 0x610318b9
-0, 500400, 152064, 0xd85109d5
-0, 504000, 152064, 0x27a1eac7
-0, 507600, 152064, 0xafd50e70
-0, 511200, 152064, 0x96ac088c
-0, 514800, 152064, 0x1332091c
-0, 518400, 152064, 0x9d38ce90
-0, 522000, 152064, 0xeff10d8e
-0, 525600, 152064, 0x6c320de3
-0, 529200, 152064, 0xeb683437
-0, 532800, 152064, 0xe8a73715
-0, 536400, 152064, 0x53a27669
-0, 540000, 152064, 0xd5665cdc
-0, 543600, 152064, 0x76bc4f86
-0, 547200, 152064, 0xb5282913
-0, 550800, 152064, 0xf788398b
-0, 554400, 152064, 0xa2a74268
-0, 558000, 152064, 0x1e8c57c4
-0, 561600, 152064, 0x12c0542f
-0, 565200, 152064, 0x8dbe9945
-0, 568800, 152064, 0x0f7583cd
-0, 572400, 152064, 0x814e9e0b
-0, 576000, 152064, 0x39575c04
-0, 579600, 152064, 0x75a07f38
-0, 583200, 152064, 0x8a6247c1
-0, 586800, 152064, 0x0f8d606e
-0, 590400, 152064, 0x7dcc4169
-0, 594000, 152064, 0x039d6df2
-0, 597600, 152064, 0x16b779c4
-0, 601200, 152064, 0x8b3a9767
-0, 604800, 152064, 0x281e6d83
-0, 608400, 152064, 0x7d22a528
-0, 612000, 152064, 0x93778828
-0, 615600, 152064, 0xd54c95fc
-0, 619200, 152064, 0xf4e76d9a
-0, 622800, 152064, 0xaa7ba3fd
-0, 626400, 152064, 0x94d88d91
-0, 630000, 152064, 0xa46b9c34
-0, 633600, 152064, 0x9dcb4d0c
-0, 637200, 152064, 0x347d0983
-0, 640800, 152064, 0x870ecd2b
-0, 644400, 152064, 0x5dafe6d6
-0, 648000, 152064, 0x10d77857
-0, 651600, 152064, 0xddc1d127
-0, 655200, 152064, 0x2732a13c
-0, 658800, 152064, 0x3d81bac9
-0, 662400, 152064, 0x619d3dd3
-0, 666000, 152064, 0x2db3e1ac
-0, 669600, 152064, 0x63a7e7e5
-0, 673200, 152064, 0x902a4c92
-0, 676800, 152064, 0x9c38e0f6
-0, 680400, 152064, 0x8ceb3a46
-0, 684000, 152064, 0x73cbb6bd
-0, 687600, 152064, 0x5f6fa7d6
-0, 691200, 152064, 0x8cdad086
-0, 694800, 152064, 0xe7cf083f
-0, 698400, 152064, 0x18c0f6b9
-0, 702000, 152064, 0xfe582ddf
-0, 705600, 152064, 0x5fca4740
-0, 709200, 152064, 0x072981ab
-0, 712800, 152064, 0xcb874172
-0, 716400, 152064, 0xfa153e05
-0, 720000, 152064, 0x259ae495
-0, 723600, 152064, 0x1714beb4
-0, 727200, 152064, 0xa051721e
-0, 730800, 152064, 0x52d17b85
-0, 734400, 152064, 0x9cbf5da3
-0, 738000, 152064, 0x28d69092
-0, 741600, 152064, 0xbdb942e7
-0, 745200, 152064, 0xeefe2253
-0, 748800, 152064, 0xbef2af4d
-0, 752400, 152064, 0x622dee36
-0, 756000, 152064, 0x61decf4e
-0, 759600, 152064, 0x8dfefdbe
-0, 763200, 152064, 0x78d67e90
-0, 766800, 152064, 0x9cddaa58
-0, 770400, 152064, 0x8d487f4d
-0, 774000, 152064, 0x67f58715
-0, 777600, 152064, 0xc9203f22
-0, 781200, 152064, 0x0fec8343
-0, 784800, 152064, 0xb57e7b6a
-0, 788400, 152064, 0xa2ed7700
-0, 792000, 152064, 0x34722cad
-0, 795600, 152064, 0x02c83b2a
-0, 799200, 152064, 0x91b11583
-0, 802800, 152064, 0x7676166d
-0, 806400, 152064, 0x76a9d5fc
-0, 810000, 152064, 0x4fcd1750
-0, 813600, 152064, 0xaa6ff7bf
-0, 817200, 152064, 0x5e2bfab6
-0, 820800, 152064, 0x3abec811
-0, 824400, 152064, 0x0711eb85
-0, 828000, 152064, 0xb10ebf41
-0, 831600, 152064, 0x32d8cb56
-0, 835200, 152064, 0x9b1ca411
-0, 838800, 152064, 0x771f0768
-0, 842400, 152064, 0x69e1258e
-0, 846000, 152064, 0xe8b352e2
-0, 849600, 152064, 0x3ee638d8
-0, 853200, 152064, 0x0bc48414
-0, 856800, 152064, 0xc1df5925
-0, 860400, 152064, 0xb30f705e
-0, 864000, 152064, 0x90654127
-0, 867600, 152064, 0x000e5f43
-0, 871200, 152064, 0x1f5e5e15
-0, 874800, 152064, 0x4aa48433
-0, 878400, 152064, 0xb74a56a3
-0, 882000, 152064, 0x94347a06
-0, 885600, 152064, 0xd14e58d4
-0, 889200, 152064, 0x60116d97
-0, 892800, 152064, 0xf2962979
-0, 896400, 152064, 0x7f176514
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 0xda244f3f
+0, 1, 1, 1, 152064, 0x35a1cb02
+0, 2, 2, 1, 152064, 0xa729d9ca
+0, 3, 3, 1, 152064, 0x69d90602
+0, 4, 4, 1, 152064, 0x4ccdae72
+0, 5, 5, 1, 152064, 0x06f9d8b9
+0, 6, 6, 1, 152064, 0x0a14a736
+0, 7, 7, 1, 152064, 0xc344b167
+0, 8, 8, 1, 152064, 0xf3303e92
+0, 9, 9, 1, 152064, 0xbe28813f
+0, 10, 10, 1, 152064, 0x971f4980
+0, 11, 11, 1, 152064, 0x69124d31
+0, 12, 12, 1, 152064, 0x6d93e7f2
+0, 13, 13, 1, 152064, 0x5c1315e4
+0, 14, 14, 1, 152064, 0xb011cfe4
+0, 15, 15, 1, 152064, 0x65a0d147
+0, 16, 16, 1, 152064, 0x463d8c39
+0, 17, 17, 1, 152064, 0x15f2a757
+0, 18, 18, 1, 152064, 0xc2418f1f
+0, 19, 19, 1, 152064, 0x7a48b94c
+0, 20, 20, 1, 152064, 0x1c079ec9
+0, 21, 21, 1, 152064, 0x348ced32
+0, 22, 22, 1, 152064, 0x6014d525
+0, 23, 23, 1, 152064, 0x146ed41f
+0, 24, 24, 1, 152064, 0x543177e6
+0, 25, 25, 1, 152064, 0x79a4b44e
+0, 26, 26, 1, 152064, 0x4401a7ae
+0, 27, 27, 1, 152064, 0xc0aec3c1
+0, 28, 28, 1, 152064, 0x92348852
+0, 29, 29, 1, 152064, 0x90eece70
+0, 30, 30, 1, 152064, 0x19efd00f
+0, 31, 31, 1, 152064, 0x608912ac
+0, 32, 32, 1, 152064, 0xa707bdb1
+0, 33, 33, 1, 152064, 0x926e1ffe
+0, 34, 34, 1, 152064, 0x56863ca8
+0, 35, 35, 1, 152064, 0xe18e81b4
+0, 36, 36, 1, 152064, 0xf17466f2
+0, 37, 37, 1, 152064, 0x2281feef
+0, 38, 38, 1, 152064, 0x33603b66
+0, 39, 39, 1, 152064, 0xe30fad28
+0, 40, 40, 1, 152064, 0x66efb21e
+0, 41, 41, 1, 152064, 0x405f32d6
+0, 42, 42, 1, 152064, 0xe90f262b
+0, 43, 43, 1, 152064, 0xf85144b0
+0, 44, 44, 1, 152064, 0xcff4feab
+0, 45, 45, 1, 152064, 0x02b63e49
+0, 46, 46, 1, 152064, 0x91d9ff77
+0, 47, 47, 1, 152064, 0x2c6c0d2a
+0, 48, 48, 1, 152064, 0xacad9e66
+0, 49, 49, 1, 152064, 0x83951353
+0, 50, 50, 1, 152064, 0x549c16e4
+0, 51, 51, 1, 152064, 0xcad9610c
+0, 52, 52, 1, 152064, 0x264e4b57
+0, 53, 53, 1, 152064, 0x9758afe8
+0, 54, 54, 1, 152064, 0x0273a81d
+0, 55, 55, 1, 152064, 0x31c6f1a0
+0, 56, 56, 1, 152064, 0x80d1c9cf
+0, 57, 57, 1, 152064, 0x41b861f7
+0, 58, 58, 1, 152064, 0xad416fe7
+0, 59, 59, 1, 152064, 0xdde59bf0
+0, 60, 60, 1, 152064, 0x886c491c
+0, 61, 61, 1, 152064, 0x4bf4a21f
+0, 62, 62, 1, 152064, 0x2581a06e
+0, 63, 63, 1, 152064, 0x8188cf9b
+0, 64, 64, 1, 152064, 0xbfaf82ce
+0, 65, 65, 1, 152064, 0xed9ef8b1
+0, 66, 66, 1, 152064, 0xf5f4e0c0
+0, 67, 67, 1, 152064, 0xa24421ac
+0, 68, 68, 1, 152064, 0xf0cdde38
+0, 69, 69, 1, 152064, 0x7f211f2c
+0, 70, 70, 1, 152064, 0x241ff38b
+0, 71, 71, 1, 152064, 0x19bc25a6
+0, 72, 72, 1, 152064, 0xd9d5ede9
+0, 73, 73, 1, 152064, 0x88f98579
+0, 74, 74, 1, 152064, 0x630da1aa
+0, 75, 75, 1, 152064, 0x19abf44f
+0, 76, 76, 1, 152064, 0x3a95d341
+0, 77, 77, 1, 152064, 0xdeb9333e
+0, 78, 78, 1, 152064, 0x0c994783
+0, 79, 79, 1, 152064, 0xb58b7d26
+0, 80, 80, 1, 152064, 0x6e392b24
+0, 81, 81, 1, 152064, 0x1f7e2d63
+0, 82, 82, 1, 152064, 0x732342d3
+0, 83, 83, 1, 152064, 0xbda4a761
+0, 84, 84, 1, 152064, 0xdc387777
+0, 85, 85, 1, 152064, 0xd5d00469
+0, 86, 86, 1, 152064, 0xc840cf6d
+0, 87, 87, 1, 152064, 0x3dfef3d9
+0, 88, 88, 1, 152064, 0xf731594f
+0, 89, 89, 1, 152064, 0x126fef41
+0, 90, 90, 1, 152064, 0x5705b1e3
+0, 91, 91, 1, 152064, 0xa8ecbe94
+0, 92, 92, 1, 152064, 0xcbcd0e48
+0, 93, 93, 1, 152064, 0x3da860da
+0, 94, 94, 1, 152064, 0x97882d5f
+0, 95, 95, 1, 152064, 0x19803d16
+0, 96, 96, 1, 152064, 0xa639b969
+0, 97, 97, 1, 152064, 0xc0a00bc3
+0, 98, 98, 1, 152064, 0xb12f0617
+0, 99, 99, 1, 152064, 0x0e53481c
+0, 100, 100, 1, 152064, 0x1fa0e47d
+0, 101, 101, 1, 152064, 0x818119fa
+0, 102, 102, 1, 152064, 0xc28ffc3e
+0, 103, 103, 1, 152064, 0x8abdfb3c
+0, 104, 104, 1, 152064, 0x670cb951
+0, 105, 105, 1, 152064, 0x172808bd
+0, 106, 106, 1, 152064, 0x6be1ea7f
+0, 107, 107, 1, 152064, 0x05dbfadc
+0, 108, 108, 1, 152064, 0xcfcfbcec
+0, 109, 109, 1, 152064, 0x9306e1d2
+0, 110, 110, 1, 152064, 0xcf3ccc54
+0, 111, 111, 1, 152064, 0xf36ad41a
+0, 112, 112, 1, 152064, 0x751b835b
+0, 113, 113, 1, 152064, 0x7ebed47b
+0, 114, 114, 1, 152064, 0x9659d022
+0, 115, 115, 1, 152064, 0xef7701ae
+0, 116, 116, 1, 152064, 0x5cdee3b0
+0, 117, 117, 1, 152064, 0xf6c3ed42
+0, 118, 118, 1, 152064, 0x412ee2fb
+0, 119, 119, 1, 152064, 0x309cd2bd
+0, 120, 120, 1, 152064, 0x50f09af5
+0, 121, 121, 1, 152064, 0x4a05087a
+0, 122, 122, 1, 152064, 0xaedc2125
+0, 123, 123, 1, 152064, 0x54e2692a
+0, 124, 124, 1, 152064, 0x0403590c
+0, 125, 125, 1, 152064, 0x8a4c9833
+0, 126, 126, 1, 152064, 0x36b6893e
+0, 127, 127, 1, 152064, 0x21fd9204
+0, 128, 128, 1, 152064, 0xa1cd3bc7
+0, 129, 129, 1, 152064, 0x3cfa3d18
+0, 130, 130, 1, 152064, 0xb5f7fefd
+0, 131, 131, 1, 152064, 0x133cf831
+0, 132, 132, 1, 152064, 0xcaabdd54
+0, 133, 133, 1, 152064, 0xcab45366
+0, 134, 134, 1, 152064, 0x8b6f4c90
+0, 135, 135, 1, 152064, 0x4de74903
+0, 136, 136, 1, 152064, 0x2dde0c4f
+0, 137, 137, 1, 152064, 0x09364c1d
+0, 138, 138, 1, 152064, 0x610318b9
+0, 139, 139, 1, 152064, 0xd85109d5
+0, 140, 140, 1, 152064, 0x27a1eac7
+0, 141, 141, 1, 152064, 0xafd50e70
+0, 142, 142, 1, 152064, 0x96ac088c
+0, 143, 143, 1, 152064, 0x1332091c
+0, 144, 144, 1, 152064, 0x9d38ce90
+0, 145, 145, 1, 152064, 0xeff10d8e
+0, 146, 146, 1, 152064, 0x6c320de3
+0, 147, 147, 1, 152064, 0xeb683437
+0, 148, 148, 1, 152064, 0xe8a73715
+0, 149, 149, 1, 152064, 0x53a27669
+0, 150, 150, 1, 152064, 0xd5665cdc
+0, 151, 151, 1, 152064, 0x76bc4f86
+0, 152, 152, 1, 152064, 0xb5282913
+0, 153, 153, 1, 152064, 0xf788398b
+0, 154, 154, 1, 152064, 0xa2a74268
+0, 155, 155, 1, 152064, 0x1e8c57c4
+0, 156, 156, 1, 152064, 0x12c0542f
+0, 157, 157, 1, 152064, 0x8dbe9945
+0, 158, 158, 1, 152064, 0x0f7583cd
+0, 159, 159, 1, 152064, 0x814e9e0b
+0, 160, 160, 1, 152064, 0x39575c04
+0, 161, 161, 1, 152064, 0x75a07f38
+0, 162, 162, 1, 152064, 0x8a6247c1
+0, 163, 163, 1, 152064, 0x0f8d606e
+0, 164, 164, 1, 152064, 0x7dcc4169
+0, 165, 165, 1, 152064, 0x039d6df2
+0, 166, 166, 1, 152064, 0x16b779c4
+0, 167, 167, 1, 152064, 0x8b3a9767
+0, 168, 168, 1, 152064, 0x281e6d83
+0, 169, 169, 1, 152064, 0x7d22a528
+0, 170, 170, 1, 152064, 0x93778828
+0, 171, 171, 1, 152064, 0xd54c95fc
+0, 172, 172, 1, 152064, 0xf4e76d9a
+0, 173, 173, 1, 152064, 0xaa7ba3fd
+0, 174, 174, 1, 152064, 0x94d88d91
+0, 175, 175, 1, 152064, 0xa46b9c34
+0, 176, 176, 1, 152064, 0x9dcb4d0c
+0, 177, 177, 1, 152064, 0x347d0983
+0, 178, 178, 1, 152064, 0x870ecd2b
+0, 179, 179, 1, 152064, 0x5dafe6d6
+0, 180, 180, 1, 152064, 0x10d77857
+0, 181, 181, 1, 152064, 0xddc1d127
+0, 182, 182, 1, 152064, 0x2732a13c
+0, 183, 183, 1, 152064, 0x3d81bac9
+0, 184, 184, 1, 152064, 0x619d3dd3
+0, 185, 185, 1, 152064, 0x2db3e1ac
+0, 186, 186, 1, 152064, 0x63a7e7e5
+0, 187, 187, 1, 152064, 0x902a4c92
+0, 188, 188, 1, 152064, 0x9c38e0f6
+0, 189, 189, 1, 152064, 0x8ceb3a46
+0, 190, 190, 1, 152064, 0x73cbb6bd
+0, 191, 191, 1, 152064, 0x5f6fa7d6
+0, 192, 192, 1, 152064, 0x8cdad086
+0, 193, 193, 1, 152064, 0xe7cf083f
+0, 194, 194, 1, 152064, 0x18c0f6b9
+0, 195, 195, 1, 152064, 0xfe582ddf
+0, 196, 196, 1, 152064, 0x5fca4740
+0, 197, 197, 1, 152064, 0x072981ab
+0, 198, 198, 1, 152064, 0xcb874172
+0, 199, 199, 1, 152064, 0xfa153e05
+0, 200, 200, 1, 152064, 0x259ae495
+0, 201, 201, 1, 152064, 0x1714beb4
+0, 202, 202, 1, 152064, 0xa051721e
+0, 203, 203, 1, 152064, 0x52d17b85
+0, 204, 204, 1, 152064, 0x9cbf5da3
+0, 205, 205, 1, 152064, 0x28d69092
+0, 206, 206, 1, 152064, 0xbdb942e7
+0, 207, 207, 1, 152064, 0xeefe2253
+0, 208, 208, 1, 152064, 0xbef2af4d
+0, 209, 209, 1, 152064, 0x622dee36
+0, 210, 210, 1, 152064, 0x61decf4e
+0, 211, 211, 1, 152064, 0x8dfefdbe
+0, 212, 212, 1, 152064, 0x78d67e90
+0, 213, 213, 1, 152064, 0x9cddaa58
+0, 214, 214, 1, 152064, 0x8d487f4d
+0, 215, 215, 1, 152064, 0x67f58715
+0, 216, 216, 1, 152064, 0xc9203f22
+0, 217, 217, 1, 152064, 0x0fec8343
+0, 218, 218, 1, 152064, 0xb57e7b6a
+0, 219, 219, 1, 152064, 0xa2ed7700
+0, 220, 220, 1, 152064, 0x34722cad
+0, 221, 221, 1, 152064, 0x02c83b2a
+0, 222, 222, 1, 152064, 0x91b11583
+0, 223, 223, 1, 152064, 0x7676166d
+0, 224, 224, 1, 152064, 0x76a9d5fc
+0, 225, 225, 1, 152064, 0x4fcd1750
+0, 226, 226, 1, 152064, 0xaa6ff7bf
+0, 227, 227, 1, 152064, 0x5e2bfab6
+0, 228, 228, 1, 152064, 0x3abec811
+0, 229, 229, 1, 152064, 0x0711eb85
+0, 230, 230, 1, 152064, 0xb10ebf41
+0, 231, 231, 1, 152064, 0x32d8cb56
+0, 232, 232, 1, 152064, 0x9b1ca411
+0, 233, 233, 1, 152064, 0x771f0768
+0, 234, 234, 1, 152064, 0x69e1258e
+0, 235, 235, 1, 152064, 0xe8b352e2
+0, 236, 236, 1, 152064, 0x3ee638d8
+0, 237, 237, 1, 152064, 0x0bc48414
+0, 238, 238, 1, 152064, 0xc1df5925
+0, 239, 239, 1, 152064, 0xb30f705e
+0, 240, 240, 1, 152064, 0x90654127
+0, 241, 241, 1, 152064, 0x000e5f43
+0, 242, 242, 1, 152064, 0x1f5e5e15
+0, 243, 243, 1, 152064, 0x4aa48433
+0, 244, 244, 1, 152064, 0xb74a56a3
+0, 245, 245, 1, 152064, 0x94347a06
+0, 246, 246, 1, 152064, 0xd14e58d4
+0, 247, 247, 1, 152064, 0x60116d97
+0, 248, 248, 1, 152064, 0xf2962979
+0, 249, 249, 1, 152064, 0x7f176514
diff --git a/tests/ref/fate/h264-conformance-ls_sva_d b/tests/ref/fate/h264-conformance-ls_sva_d
index d4586418a0..9d1d219049 100644
--- a/tests/ref/fate/h264-conformance-ls_sva_d
+++ b/tests/ref/fate/h264-conformance-ls_sva_d
@@ -1,1700 +1,1701 @@
-0, 0, 38016, 0x85d20fc6
-0, 3600, 38016, 0xc0432c21
-0, 7200, 38016, 0x1450168f
-0, 10800, 38016, 0xeddb1833
-0, 14400, 38016, 0x631216d4
-0, 18000, 38016, 0xfcd1138b
-0, 21600, 38016, 0x181f17d5
-0, 25200, 38016, 0x3dc91855
-0, 28800, 38016, 0x92b71924
-0, 32400, 38016, 0xfcb6228d
-0, 36000, 38016, 0x11d04b4a
-0, 39600, 38016, 0x743a6a06
-0, 43200, 38016, 0xac511cc3
-0, 46800, 38016, 0x66bc1e2d
-0, 50400, 38016, 0x6c761ef3
-0, 54000, 38016, 0xa08a1ef5
-0, 57600, 38016, 0x777270da
-0, 61200, 38016, 0x9a738d9f
-0, 64800, 38016, 0x31a8afa2
-0, 68400, 38016, 0x1148cc11
-0, 72000, 38016, 0xf5fa1f26
-0, 75600, 38016, 0xc0481fbc
-0, 79200, 38016, 0x461b2228
-0, 82800, 38016, 0x27bb209d
-0, 86400, 38016, 0xbe921f04
-0, 90000, 38016, 0xabdbd493
-0, 93600, 38016, 0x4f6ad36e
-0, 97200, 38016, 0xe2f8d0ca
-0, 100800, 38016, 0xd82aaea2
-0, 104400, 38016, 0xb208854b
-0, 108000, 38016, 0xfe632920
-0, 111600, 38016, 0x1a8128ce
-0, 115200, 38016, 0xd9ea2be9
-0, 118800, 38016, 0x258b2ab0
-0, 122400, 38016, 0xb5812bef
-0, 126000, 38016, 0x00c92cdf
-0, 129600, 38016, 0x4a6b9f6f
-0, 133200, 38016, 0xb589b0a1
-0, 136800, 38016, 0xf2d0bbca
-0, 140400, 38016, 0xe614cce3
-0, 144000, 38016, 0x6d81d01c
-0, 147600, 38016, 0x7f32d175
-0, 151200, 38016, 0x6abc2f40
-0, 154800, 38016, 0x767d2f6a
-0, 158400, 38016, 0xd64b30cf
-0, 162000, 38016, 0xf83d3000
-0, 165600, 38016, 0x5f3230d5
-0, 169200, 38016, 0x80b330a0
-0, 172800, 38016, 0x42c4326e
-0, 176400, 38016, 0x7cb8d069
-0, 180000, 38016, 0xb7bb9d2f
-0, 183600, 38016, 0xf4f47c47
-0, 187200, 38016, 0xe3455aa0
-0, 190800, 38016, 0x3b074630
-0, 194400, 38016, 0x1fd44e63
-0, 198000, 38016, 0x5ecb6a07
-0, 201600, 38016, 0xe3a130c9
-0, 205200, 38016, 0x307f311a
-0, 208800, 38016, 0x4e2d3202
-0, 212400, 38016, 0x06ac31c1
-0, 216000, 38016, 0x767931ab
-0, 219600, 38016, 0xcb6433aa
-0, 223200, 38016, 0xc88e3597
-0, 226800, 38016, 0xfe06371f
-0, 230400, 38016, 0x9e3c8a14
-0, 234000, 38016, 0xba819e5b
-0, 237600, 38016, 0x0017a693
-0, 241200, 38016, 0x25aca2dd
-0, 244800, 38016, 0x3bf5980d
-0, 248400, 38016, 0x2a0ba2ae
-0, 252000, 38016, 0x99e19853
-0, 255600, 38016, 0x5e7a9699
-0, 259200, 38016, 0x11983c1a
-0, 262800, 38016, 0x5ab53cbf
-0, 266400, 38016, 0x49803f12
-0, 270000, 38016, 0xf1633fdc
-0, 273600, 38016, 0x91de3ff3
-0, 277200, 38016, 0x418942a1
-0, 280800, 38016, 0x670c4277
-0, 284400, 38016, 0xc04e403e
-0, 288000, 38016, 0xa33e40ad
-0, 291600, 38016, 0x7f959a9c
-0, 295200, 38016, 0x096696ae
-0, 298800, 38016, 0xdb41933c
-0, 302400, 38016, 0xb26086b4
-0, 306000, 38016, 0x80c97e07
-0, 309600, 38016, 0xa7416837
-0, 313200, 38016, 0xa82f6342
-0, 316800, 38016, 0x8da16527
-0, 320400, 38016, 0x1c1965a9
-0, 324000, 38016, 0x09ad470c
-0, 327600, 38016, 0x3f694725
-0, 331200, 38016, 0xa7034699
-0, 334800, 38016, 0x38104981
-0, 338400, 38016, 0x216048b7
-0, 342000, 38016, 0x24e04c22
-0, 345600, 38016, 0xbb7e4871
-0, 349200, 38016, 0x8c074b97
-0, 352800, 38016, 0x92aa4b79
-0, 356400, 38016, 0x073c4d97
-0, 360000, 38016, 0xe225f953
-0, 363600, 38016, 0xcaccf96b
-0, 367200, 38016, 0xc395cd82
-0, 370800, 38016, 0x8c61ad55
-0, 374400, 38016, 0x6fb988f2
-0, 378000, 38016, 0x99fe7aea
-0, 381600, 38016, 0xab3c73bf
-0, 385200, 38016, 0xcdb06bc4
-0, 388800, 38016, 0x65a1540a
-0, 392400, 38016, 0xc22f4fb0
-0, 396000, 38016, 0xe5ca4830
-0, 399600, 38016, 0x06b346f9
-0, 403200, 38016, 0x02154629
-0, 406800, 38016, 0x3d5e4467
-0, 410400, 38016, 0x6aa4460c
-0, 414000, 38016, 0x05bc47c4
-0, 417600, 38016, 0xc46e4666
-0, 421200, 38016, 0xc28145f5
-0, 424800, 38016, 0xf57f4811
-0, 428400, 38016, 0x1bbc49f8
-0, 432000, 38016, 0x34e14c2c
-0, 435600, 38016, 0x7e7d7740
-0, 439200, 38016, 0x97d798f3
-0, 442800, 38016, 0x7d71ca3b
-0, 446400, 38016, 0xc6bc0776
-0, 450000, 38016, 0xda052645
-0, 453600, 38016, 0xf0b32de9
-0, 457200, 38016, 0x996f23cf
-0, 460800, 38016, 0x22ea1a43
-0, 464400, 38016, 0xbde61021
-0, 468000, 38016, 0x8180079d
-0, 471600, 38016, 0x3ac6f314
-0, 475200, 38016, 0x93604f67
-0, 478800, 38016, 0xb9a55213
-0, 482400, 38016, 0x89c8523c
-0, 486000, 38016, 0x670a511b
-0, 489600, 38016, 0x62395128
-0, 493200, 38016, 0x01605431
-0, 496800, 38016, 0x677253cd
-0, 500400, 38016, 0xc57f56b1
-0, 504000, 38016, 0x767f5679
-0, 507600, 38016, 0x4abc5717
-0, 511200, 38016, 0x838657dc
-0, 514800, 38016, 0x63bf56ad
-0, 518400, 38016, 0x7019c8ad
-0, 522000, 38016, 0xebbaa7bf
-0, 525600, 38016, 0xebbc8ddb
-0, 529200, 38016, 0xea609f00
-0, 532800, 38016, 0x88e6b1e4
-0, 536400, 38016, 0x7f9edd6b
-0, 540000, 38016, 0xeaf354a6
-0, 543600, 38016, 0xf30274c9
-0, 547200, 38016, 0x05a756da
-0, 550800, 38016, 0xacea1ca6
-0, 554400, 38016, 0x1520d86d
-0, 558000, 38016, 0xb0f7afa4
-0, 561600, 38016, 0xe33c5802
-0, 565200, 38016, 0xce2a58cd
-0, 568800, 38016, 0xd3ad5a30
-0, 572400, 38016, 0x29aa5955
-0, 576000, 38016, 0x59015aef
-0, 579600, 38016, 0x247c5a72
-0, 583200, 38016, 0x79a85b27
-0, 586800, 38016, 0x6cf858fe
-0, 590400, 38016, 0x78ec5b20
-0, 594000, 38016, 0x7cb158c5
-0, 597600, 38016, 0xc52c581f
-0, 601200, 38016, 0x125c58bd
-0, 604800, 38016, 0xf8b257c9
-0, 608400, 38016, 0x20329756
-0, 612000, 38016, 0x60a07c12
-0, 615600, 38016, 0xa2c26ad1
-0, 619200, 38016, 0xcbbc681b
-0, 622800, 38016, 0x2c0562ad
-0, 626400, 38016, 0x8a72640d
-0, 630000, 38016, 0xe6e7756a
-0, 633600, 38016, 0x64608a48
-0, 637200, 38016, 0xe9bea9fa
-0, 640800, 38016, 0x24bac776
-0, 644400, 38016, 0x6aa9d01b
-0, 648000, 38016, 0xf41ebb02
-0, 651600, 38016, 0x28017154
-0, 655200, 38016, 0x3fc55eb4
-0, 658800, 38016, 0xe7bc5f22
-0, 662400, 38016, 0xe6706162
-0, 666000, 38016, 0xee385fe2
-0, 669600, 38016, 0x79c0600b
-0, 673200, 38016, 0x735a603f
-0, 676800, 38016, 0xe7916199
-0, 680400, 38016, 0x542d601d
-0, 684000, 38016, 0xbfaa611a
-0, 687600, 38016, 0xb7504e05
-0, 691200, 38016, 0xd1964339
-0, 694800, 38016, 0x4213278a
-0, 698400, 38016, 0xb503229f
-0, 702000, 38016, 0x166a091c
-0, 705600, 38016, 0x37176bbc
-0, 709200, 38016, 0x95977cc3
-0, 712800, 38016, 0x5bab93f4
-0, 716400, 38016, 0x71d5d142
-0, 720000, 38016, 0x97d1cfa6
-0, 723600, 38016, 0xac82ff20
-0, 727200, 38016, 0x489a1fa1
-0, 730800, 38016, 0x32944930
-0, 734400, 38016, 0x72a2647c
-0, 738000, 38016, 0x95b685d6
-0, 741600, 38016, 0xb7e19840
-0, 745200, 38016, 0x85569129
-0, 748800, 38016, 0x6bc6a197
-0, 752400, 38016, 0x55ccace8
-0, 756000, 38016, 0x9bbdc9c2
-0, 759600, 38016, 0xbce4ade3
-0, 763200, 38016, 0x39c7c48a
-0, 766800, 38016, 0x498ac4aa
-0, 770400, 38016, 0xeda3b715
-0, 774000, 38016, 0x700db089
-0, 777600, 38016, 0xf6b6bf36
-0, 781200, 38016, 0x6abebf1c
-0, 784800, 38016, 0x8855c17c
-0, 788400, 38016, 0xfba09dd5
-0, 792000, 38016, 0xd5868240
-0, 795600, 38016, 0x438074a2
-0, 799200, 38016, 0xc8b2c501
-0, 802800, 38016, 0xd48ec1ef
-0, 806400, 38016, 0xa715c4be
-0, 810000, 38016, 0xd758c281
-0, 813600, 38016, 0x07c25900
-0, 817200, 38016, 0xee7950e6
-0, 820800, 38016, 0x3e154be9
-0, 824400, 38016, 0xa8f33bb7
-0, 828000, 38016, 0xf493bc3c
-0, 831600, 38016, 0x9d69bccb
-0, 835200, 38016, 0xbf9fbafa
-0, 838800, 38016, 0x2e62b9a8
-0, 842400, 38016, 0x2f41bae1
-0, 846000, 38016, 0xd820355d
-0, 849600, 38016, 0xf3623118
-0, 853200, 38016, 0x659b4459
-0, 856800, 38016, 0xdcd74654
-0, 860400, 38016, 0x73f33f73
-0, 864000, 38016, 0xbf96b5ec
-0, 867600, 38016, 0xe9ebb550
-0, 871200, 38016, 0xfe12b5dd
-0, 874800, 38016, 0x9908b6d5
-0, 878400, 38016, 0xe805b8cf
-0, 882000, 38016, 0x1a8eb68a
-0, 885600, 38016, 0x6aed288d
-0, 889200, 38016, 0x162f167f
-0, 892800, 38016, 0x49110ae5
-0, 896400, 38016, 0xab060059
-0, 900000, 38016, 0x0fb8a0a8
-0, 903600, 38016, 0xf3b0b384
-0, 907200, 38016, 0x6f32bb1b
-0, 910800, 38016, 0x7278bb3a
-0, 914400, 38016, 0xdeb1bdcf
-0, 918000, 38016, 0x90efbc5c
-0, 921600, 38016, 0xd2f6bb28
-0, 925200, 38016, 0xba4dba32
-0, 928800, 38016, 0x0751ba19
-0, 932400, 38016, 0xc3f7b9db
-0, 936000, 38016, 0xca22c433
-0, 939600, 38016, 0x82a7e336
-0, 943200, 38016, 0x45e90a19
-0, 946800, 38016, 0x82cd2c11
-0, 950400, 38016, 0x4e2e56cc
-0, 954000, 38016, 0x0ad281c6
-0, 957600, 38016, 0x8685b8b7
-0, 961200, 38016, 0xe502b7b3
-0, 964800, 38016, 0x4898b696
-0, 968400, 38016, 0xe0fcb729
-0, 972000, 38016, 0xe5e0b822
-0, 975600, 38016, 0x9030b82c
-0, 979200, 38016, 0x7dc6b93c
-0, 982800, 38016, 0x727cb981
-0, 986400, 38016, 0xb08999c9
-0, 990000, 38016, 0x3e54b6d7
-0, 993600, 38016, 0x5d15c1e2
-0, 997200, 38016, 0x5840d8d7
-0, 1000800, 38016, 0x1109d730
-0, 1004400, 38016, 0xb898c47e
-0, 1008000, 38016, 0xbde196c6
-0, 1011600, 38016, 0x75999430
-0, 1015200, 38016, 0xa17db11e
-0, 1018800, 38016, 0xb428b220
-0, 1022400, 38016, 0x1537b1ed
-0, 1026000, 38016, 0x102ab213
-0, 1029600, 38016, 0xee38af9e
-0, 1033200, 38016, 0xc9c5b34e
-0, 1036800, 38016, 0x8618af6d
-0, 1040400, 38016, 0x97f3af7a
-0, 1044000, 38016, 0x222eb095
-0, 1047600, 38016, 0xb1508324
-0, 1051200, 38016, 0x2149ad09
-0, 1054800, 38016, 0x67261443
-0, 1058400, 38016, 0x90918df5
-0, 1062000, 38016, 0x5d43e726
-0, 1065600, 38016, 0x1d77dfa3
-0, 1069200, 38016, 0xa60b941c
-0, 1072800, 38016, 0x48813a99
-0, 1076400, 38016, 0x2324b77a
-0, 1080000, 38016, 0xdfd99d0d
-0, 1083600, 38016, 0x44129be1
-0, 1087200, 38016, 0x1137a099
-0, 1090800, 38016, 0xbd24a0a1
-0, 1094400, 38016, 0x3883a310
-0, 1098000, 38016, 0x0680a358
-0, 1101600, 38016, 0xf333a501
-0, 1105200, 38016, 0x3945a6ac
-0, 1108800, 38016, 0x79eea741
-0, 1112400, 38016, 0x8c7aa6b0
-0, 1116000, 38016, 0x0342642f
-0, 1119600, 38016, 0x83632b63
-0, 1123200, 38016, 0x1503ff51
-0, 1126800, 38016, 0xa4bcea0f
-0, 1130400, 38016, 0x37dcd11b
-0, 1134000, 38016, 0x9aa7287a
-0, 1137600, 38016, 0x34deae76
-0, 1141200, 38016, 0x51710057
-0, 1144800, 38016, 0x9ee6fc0a
-0, 1148400, 38016, 0xa419ea79
-0, 1152000, 38016, 0x49388f7e
-0, 1155600, 38016, 0x08498b2d
-0, 1159200, 38016, 0x104f8c4d
-0, 1162800, 38016, 0xdb998d74
-0, 1166400, 38016, 0xd54e8c95
-0, 1170000, 38016, 0x54a48e5e
-0, 1173600, 38016, 0xbe6f8cd0
-0, 1177200, 38016, 0x2a7f8ec2
-0, 1180800, 38016, 0x23848f19
-0, 1184400, 38016, 0x9b168ee3
-0, 1188000, 38016, 0xc2628fb6
-0, 1191600, 38016, 0xe2bdfd4e
-0, 1195200, 38016, 0xfdae1546
-0, 1198800, 38016, 0xb1fe20db
-0, 1202400, 38016, 0x5ebf23f0
-0, 1206000, 38016, 0xecbc1fcb
-0, 1209600, 38016, 0xe72e141c
-0, 1213200, 38016, 0xbad7f54d
-0, 1216800, 38016, 0x95ead3c6
-0, 1220400, 38016, 0xf5c6b948
-0, 1224000, 38016, 0x2f8b80ab
-0, 1227600, 38016, 0x0aed47a7
-0, 1231200, 38016, 0xdcb278e3
-0, 1234800, 38016, 0x2a677958
-0, 1238400, 38016, 0x45427ae8
-0, 1242000, 38016, 0xebce78de
-0, 1245600, 38016, 0xaf007bb1
-0, 1249200, 38016, 0xb4677cdb
-0, 1252800, 38016, 0xbf6d8024
-0, 1256400, 38016, 0xb67180de
-0, 1260000, 38016, 0xb1581358
-0, 1263600, 38016, 0x258f140d
-0, 1267200, 38016, 0x753d17e6
-0, 1270800, 38016, 0xf33816b4
-0, 1274400, 38016, 0x0d011c76
-0, 1278000, 38016, 0x48cfd85d
-0, 1281600, 38016, 0x13ce822d
-0, 1285200, 38016, 0x221a4468
-0, 1288800, 38016, 0x11364be7
-0, 1292400, 38016, 0xafc047b0
-0, 1296000, 38016, 0xeafd4217
-0, 1299600, 38016, 0x930b8a41
-0, 1303200, 38016, 0x2dda0bd2
-0, 1306800, 38016, 0x461cc3f2
-0, 1310400, 38016, 0xa99e962a
-0, 1314000, 38016, 0xc1d954ba
-0, 1317600, 38016, 0x0ce91a87
-0, 1321200, 38016, 0x10701e2d
-0, 1324800, 38016, 0x98c22205
-0, 1328400, 38016, 0xb76622f1
-0, 1332000, 38016, 0x6d1a22d4
-0, 1335600, 38016, 0x00ee23c5
-0, 1339200, 38016, 0xc38125e6
-0, 1342800, 38016, 0x8de52597
-0, 1346400, 38016, 0xec282293
-0, 1350000, 38016, 0xb50f2238
-0, 1353600, 38016, 0xbdcf1f9f
-0, 1357200, 38016, 0x5c6c1780
-0, 1360800, 38016, 0x41941237
-0, 1364400, 38016, 0x95ee1e69
-0, 1368000, 38016, 0x84b65009
-0, 1371600, 38016, 0x27bbf0ab
-0, 1375200, 38016, 0xdd86f4fb
-0, 1378800, 38016, 0x97733086
-0, 1382400, 38016, 0x3241472f
-0, 1386000, 38016, 0x5d050c50
-0, 1389600, 38016, 0x8378aa9b
-0, 1393200, 38016, 0x94f174cd
-0, 1396800, 38016, 0x5825df16
-0, 1400400, 38016, 0x5f362875
-0, 1404000, 38016, 0x30704cd6
-0, 1407600, 38016, 0xc74e3614
-0, 1411200, 38016, 0xe033eb04
-0, 1414800, 38016, 0x665be967
-0, 1418400, 38016, 0x95d5ed67
-0, 1422000, 38016, 0x37dfefc1
-0, 1425600, 38016, 0x1908ee8e
-0, 1429200, 38016, 0xf0cfee38
-0, 1432800, 38016, 0x871df078
-0, 1436400, 38016, 0xb2f2f0f9
-0, 1440000, 38016, 0xf955621f
-0, 1443600, 38016, 0xbd2365a5
-0, 1447200, 38016, 0xe70d6bb0
-0, 1450800, 38016, 0x857e6d00
-0, 1454400, 38016, 0x000d6ee5
-0, 1458000, 38016, 0x9a2f7244
-0, 1461600, 38016, 0xe8c2f83c
-0, 1465200, 38016, 0x23eb0377
-0, 1468800, 38016, 0xe0802a7f
-0, 1472400, 38016, 0x5dbc4d69
-0, 1476000, 38016, 0xa3031f36
-0, 1479600, 38016, 0x27fbb378
-0, 1483200, 38016, 0xeee9a313
-0, 1486800, 38016, 0x189b1e68
-0, 1490400, 38016, 0x9a90678a
-0, 1494000, 38016, 0x1a65ed20
-0, 1497600, 38016, 0x2f51beb7
-0, 1501200, 38016, 0x671ada9d
-0, 1504800, 38016, 0x30af355a
-0, 1508400, 38016, 0x1804d4f9
-0, 1512000, 38016, 0xee227951
-0, 1515600, 38016, 0x20dc3900
-0, 1519200, 38016, 0x334f82dc
-0, 1522800, 38016, 0xb1728506
-0, 1526400, 38016, 0x2236fc10
-0, 1530000, 38016, 0x80d2964d
-0, 1533600, 38016, 0x5e368712
-0, 1537200, 38016, 0x10408765
-0, 1540800, 38016, 0x4b3084c5
-0, 1544400, 38016, 0x975c473f
-0, 1548000, 38016, 0x6f16efa3
-0, 1551600, 38016, 0xe73aac5e
-0, 1555200, 38016, 0x996b6e24
-0, 1558800, 38016, 0x424f6f55
-0, 1562400, 38016, 0x33786d10
-0, 1566000, 38016, 0x8a0f6870
-0, 1569600, 38016, 0x5e8556d4
-0, 1573200, 38016, 0x863b2366
-0, 1576800, 38016, 0x3fa74842
-0, 1580400, 38016, 0x70208948
-0, 1584000, 38016, 0xcf005140
-0, 1587600, 38016, 0xa7585013
-0, 1591200, 38016, 0x61145096
-0, 1594800, 38016, 0x92b952a5
-0, 1598400, 38016, 0x35575235
-0, 1602000, 38016, 0x3e47ec63
-0, 1605600, 38016, 0xfce57b69
-0, 1609200, 38016, 0xf03815e6
-0, 1612800, 38016, 0xb5b6af64
-0, 1616400, 38016, 0x5e3f1b08
-0, 1620000, 38016, 0xd3f9ee61
-0, 1623600, 38016, 0xb8e2ee66
-0, 1627200, 38016, 0x86f8f4b5
-0, 1630800, 38016, 0x23c8f499
-0, 1634400, 38016, 0x634df498
-0, 1638000, 38016, 0xd2b3f570
-0, 1641600, 38016, 0x053e67d3
-0, 1645200, 38016, 0x8d2cbeb3
-0, 1648800, 38016, 0xba0b1e1c
-0, 1652400, 38016, 0x0f5c7d73
-0, 1656000, 38016, 0x46b2118a
-0, 1659600, 38016, 0x818ebae5
-0, 1663200, 38016, 0x4a7af8a9
-0, 1666800, 38016, 0x0c22f937
-0, 1670400, 38016, 0x967ef9b3
-0, 1674000, 38016, 0x530afd34
-0, 1677600, 38016, 0x2a00fdb6
-0, 1681200, 38016, 0xca14f913
-0, 1684800, 38016, 0x82b6f7bc
-0, 1688400, 38016, 0xd32879ec
-0, 1692000, 38016, 0x242b6920
-0, 1695600, 38016, 0x44fd66e4
-0, 1699200, 38016, 0x69d3479c
-0, 1702800, 38016, 0x41a63899
-0, 1706400, 38016, 0xfb370720
-0, 1710000, 38016, 0x5cf0f42d
-0, 1713600, 38016, 0x74e8ca33
-0, 1717200, 38016, 0x1f09cb30
-0, 1720800, 38016, 0xc5e8c1d8
-0, 1724400, 38016, 0x3a82bd74
-0, 1728000, 38016, 0xada0bd71
-0, 1731600, 38016, 0xe695bcc9
-0, 1735200, 38016, 0xc255bb45
-0, 1738800, 38016, 0x6deebbcd
-0, 1742400, 38016, 0x6bf5cef2
-0, 1746000, 38016, 0x8eaed078
-0, 1749600, 38016, 0x3a8addb0
-0, 1753200, 38016, 0x0f2bfe11
-0, 1756800, 38016, 0xe13d2e3b
-0, 1760400, 38016, 0x9bb7606f
-0, 1764000, 38016, 0x9fcc8899
-0, 1767600, 38016, 0xfa22a313
-0, 1771200, 38016, 0xc599b318
-0, 1774800, 38016, 0x33ecb361
-0, 1778400, 38016, 0x2ba8b2df
-0, 1782000, 38016, 0x0debb343
-0, 1785600, 38016, 0x8bbcb7cd
-0, 1789200, 38016, 0x093fbb20
-0, 1792800, 38016, 0x4340c0d2
-0, 1796400, 38016, 0xd765bcb8
-0, 1800000, 38016, 0xe9ea3103
-0, 1803600, 38016, 0x24d7a1ae
-0, 1807200, 38016, 0x9b9ac80f
-0, 1810800, 38016, 0x81b7da0c
-0, 1814400, 38016, 0xb7c5f017
-0, 1818000, 38016, 0xa0e9f9c1
-0, 1821600, 38016, 0x932111a9
-0, 1825200, 38016, 0x15fc17ba
-0, 1828800, 38016, 0x3c7710bd
-0, 1832400, 38016, 0xae1b0ba8
-0, 1836000, 38016, 0x7dc24093
-0, 1839600, 38016, 0x8b9042ad
-0, 1843200, 38016, 0x257f4c1c
-0, 1846800, 38016, 0xaa0442d8
-0, 1850400, 38016, 0xbedd462c
-0, 1854000, 38016, 0xa9bd4905
-0, 1857600, 38016, 0x69d74f50
-0, 1861200, 38016, 0x18143c0d
-0, 1864800, 38016, 0xd2eb5820
-0, 1868400, 38016, 0x94fb5e93
-0, 1872000, 38016, 0x3072f80d
-0, 1875600, 38016, 0xd838f186
-0, 1879200, 38016, 0x3e41e695
-0, 1882800, 38016, 0x66eef2cd
-0, 1886400, 38016, 0x3854ec56
-0, 1890000, 38016, 0x05d3f9c2
-0, 1893600, 38016, 0x53820cc3
-0, 1897200, 38016, 0x09d413ea
-0, 1900800, 38016, 0x82f217f2
-0, 1904400, 38016, 0x07b21d50
-0, 1908000, 38016, 0xd72155c2
-0, 1911600, 38016, 0x20b04c74
-0, 1915200, 38016, 0x5b8962f6
-0, 1918800, 38016, 0xfb8b72c9
-0, 1922400, 38016, 0x6d0f56a7
-0, 1926000, 38016, 0x97876300
-0, 1929600, 38016, 0xfd7f655f
-0, 1933200, 38016, 0x3e405ff6
-0, 1936800, 38016, 0x5ad27a20
-0, 1940400, 38016, 0x46125305
-0, 1944000, 38016, 0x91017b86
-0, 1947600, 38016, 0x5c150c66
-0, 1951200, 38016, 0xc3430969
-0, 1954800, 38016, 0x5f400689
-0, 1958400, 38016, 0x21ddf969
-0, 1962000, 38016, 0x5feff594
-0, 1965600, 38016, 0xb304f3c1
-0, 1969200, 38016, 0xa9c3f70e
-0, 1972800, 38016, 0x6014fa8e
-0, 1976400, 38016, 0x7198f22e
-0, 1980000, 38016, 0xe338e495
-0, 1983600, 38016, 0x9a69ea32
-0, 1987200, 38016, 0xc0cc5d05
-0, 1990800, 38016, 0xefa16044
-0, 1994400, 38016, 0x3e3c6120
-0, 1998000, 38016, 0x06ef63e1
-0, 2001600, 38016, 0x25d5631f
-0, 2005200, 38016, 0xbc8963ee
-0, 2008800, 38016, 0xc2336218
-0, 2012400, 38016, 0xb23965fd
-0, 2016000, 38016, 0x84c9651f
-0, 2019600, 38016, 0x41f6647a
-0, 2023200, 38016, 0xddbe6572
-0, 2026800, 38016, 0x113f65f2
-0, 2030400, 38016, 0x89beec24
-0, 2034000, 38016, 0x6490f37b
-0, 2037600, 38016, 0x15ecf84d
-0, 2041200, 38016, 0xa439f491
-0, 2044800, 38016, 0xda8bf5c4
-0, 2048400, 38016, 0x6bc2f96a
-0, 2052000, 38016, 0x243d0bac
-0, 2055600, 38016, 0xb7c611a2
-0, 2059200, 38016, 0x99243328
-0, 2062800, 38016, 0xa9534571
-0, 2066400, 38016, 0xa5a657bd
-0, 2070000, 38016, 0xd8d06892
-0, 2073600, 38016, 0xb4eb6c8d
-0, 2077200, 38016, 0xa3d36ca8
-0, 2080800, 38016, 0x153a6e9e
-0, 2084400, 38016, 0xf2607081
-0, 2088000, 38016, 0x799d7081
-0, 2091600, 38016, 0x377570cd
-0, 2095200, 38016, 0x90496e54
-0, 2098800, 38016, 0x1d4c746c
-0, 2102400, 38016, 0xbe5e72bb
-0, 2106000, 38016, 0x3c6a760d
-0, 2109600, 38016, 0xd4097614
-0, 2113200, 38016, 0xf45a7a28
-0, 2116800, 38016, 0x8fe37bb8
-0, 2120400, 38016, 0x966295dc
-0, 2124000, 38016, 0xb40da3df
-0, 2127600, 38016, 0x9714b2ac
-0, 2131200, 38016, 0xbdb3c61d
-0, 2134800, 38016, 0x12fcd320
-0, 2138400, 38016, 0x1ee8d858
-0, 2142000, 38016, 0x49e5e217
-0, 2145600, 38016, 0x92aef38e
-0, 2149200, 38016, 0xc26c0476
-0, 2152800, 38016, 0x8eed0e04
-0, 2156400, 38016, 0xe4e3118d
-0, 2160000, 38016, 0x282ce796
-0, 2163600, 38016, 0xbec801e1
-0, 2167200, 38016, 0x864afaf2
-0, 2170800, 38016, 0xe0860383
-0, 2174400, 38016, 0x4261001d
-0, 2178000, 38016, 0x976c0005
-0, 2181600, 38016, 0x69c40af3
-0, 2185200, 38016, 0xb3c00e18
-0, 2188800, 38016, 0x28300c2c
-0, 2192400, 38016, 0xf2d9ff9d
-0, 2196000, 38016, 0xcaeaf979
-0, 2199600, 38016, 0x6733f58e
-0, 2203200, 38016, 0x2bb80869
-0, 2206800, 38016, 0x3c370085
-0, 2210400, 38016, 0x11a2fa2a
-0, 2214000, 38016, 0x828ff770
-0, 2217600, 38016, 0x79bcf490
-0, 2221200, 38016, 0x31d5ee87
-0, 2224800, 38016, 0x6336f00d
-0, 2228400, 38016, 0x058af9d1
-0, 2232000, 38016, 0xff29eb2f
-0, 2235600, 38016, 0x3c3be1f4
-0, 2239200, 38016, 0xfbf5ddc2
-0, 2242800, 38016, 0x22a4d324
-0, 2246400, 38016, 0xb2d4d1d4
-0, 2250000, 38016, 0xa159171f
-0, 2253600, 38016, 0x61a80251
-0, 2257200, 38016, 0xe0429283
-0, 2260800, 38016, 0x5c255bd4
-0, 2264400, 38016, 0xdb0f57ac
-0, 2268000, 38016, 0x3c8bcbf0
-0, 2271600, 38016, 0x2be3d2ef
-0, 2275200, 38016, 0xcd2dc8cc
-0, 2278800, 38016, 0x6905c4cf
-0, 2282400, 38016, 0xd9c9c590
-0, 2286000, 38016, 0xa945cb51
-0, 2289600, 38016, 0x5c8458d3
-0, 2293200, 38016, 0xa1624b6e
-0, 2296800, 38016, 0xb167532e
-0, 2300400, 38016, 0x149d6413
-0, 2304000, 38016, 0x85d97340
-0, 2307600, 38016, 0x8f478203
-0, 2311200, 38016, 0x1902cc8e
-0, 2314800, 38016, 0x1521c5e5
-0, 2318400, 38016, 0xf2d6c7d8
-0, 2322000, 38016, 0x7150c510
-0, 2325600, 38016, 0xfc0ec330
-0, 2329200, 38016, 0x91c4c933
-0, 2332800, 38016, 0x5ec6cbc8
-0, 2336400, 38016, 0x23c0955c
-0, 2340000, 38016, 0x76fb7c27
-0, 2343600, 38016, 0x33c07597
-0, 2347200, 38016, 0x797b6acd
-0, 2350800, 38016, 0xc4945313
-0, 2354400, 38016, 0xa50f25da
-0, 2358000, 38016, 0x7bb6096c
-0, 2361600, 38016, 0x8a1acc48
-0, 2365200, 38016, 0x19a1c9b4
-0, 2368800, 38016, 0x4436cd03
-0, 2372400, 38016, 0xfd73d6fe
-0, 2376000, 38016, 0x25d3d4f0
-0, 2379600, 38016, 0x3acfcd98
-0, 2383200, 38016, 0x2ed3d071
-0, 2386800, 38016, 0x246fd4bd
-0, 2390400, 38016, 0x3e410c62
-0, 2394000, 38016, 0x29da1177
-0, 2397600, 38016, 0x039f1e46
-0, 2401200, 38016, 0x178d1e1a
-0, 2404800, 38016, 0x75561d47
-0, 2408400, 38016, 0x7d65193c
-0, 2412000, 38016, 0xd38d19a8
-0, 2415600, 38016, 0x39c92b20
-0, 2419200, 38016, 0x6c8aebc3
-0, 2422800, 38016, 0xd8d4f9be
-0, 2426400, 38016, 0x7e730a4a
-0, 2430000, 38016, 0xbfae1fee
-0, 2433600, 38016, 0x398f3484
-0, 2437200, 38016, 0xd8e84019
-0, 2440800, 38016, 0x2cf64db3
-0, 2444400, 38016, 0x7e074f09
-0, 2448000, 38016, 0xac384b5a
-0, 2451600, 38016, 0xd28b3a83
-0, 2455200, 38016, 0xa5ce5610
-0, 2458800, 38016, 0xde8565f7
-0, 2462400, 38016, 0x01397a1a
-0, 2466000, 38016, 0xdbdf7fb7
-0, 2469600, 38016, 0x8c1f8ba6
-0, 2473200, 38016, 0xab2a943c
-0, 2476800, 38016, 0x4f8b8421
-0, 2480400, 38016, 0x36f57b3a
-0, 2484000, 38016, 0x565c4dd9
-0, 2487600, 38016, 0x53c34715
-0, 2491200, 38016, 0x38fd4aaa
-0, 2494800, 38016, 0x4dca43eb
-0, 2498400, 38016, 0x1afe40f3
-0, 2502000, 38016, 0xc3dc43cc
-0, 2505600, 38016, 0x1d92431d
-0, 2509200, 38016, 0x3f794765
-0, 2512800, 38016, 0x1c5d4a71
-0, 2516400, 38016, 0xb601531e
-0, 2520000, 38016, 0x4d925d7c
-0, 2523600, 38016, 0x1c605f1e
-0, 2527200, 38016, 0x50ff5608
-0, 2530800, 38016, 0x8da14815
-0, 2534400, 38016, 0x53cc3007
-0, 2538000, 38016, 0x5ce82198
-0, 2541600, 38016, 0x074e15bc
-0, 2545200, 38016, 0x59fb13c9
-0, 2548800, 38016, 0xe28e13a6
-0, 2552400, 38016, 0xcb4f3fa8
-0, 2556000, 38016, 0x7fad560c
-0, 2559600, 38016, 0x7dbc614a
-0, 2563200, 38016, 0xe96f6d9c
-0, 2566800, 38016, 0xf3c47a74
-0, 2570400, 38016, 0xd2af8027
-0, 2574000, 38016, 0x504779d1
-0, 2577600, 38016, 0x876e7f5f
-0, 2581200, 38016, 0x959f8c3d
-0, 2584800, 38016, 0x64d690be
-0, 2588400, 38016, 0xdb899760
-0, 2592000, 38016, 0xbd229ba1
-0, 2595600, 38016, 0xdace575b
-0, 2599200, 38016, 0xfda46324
-0, 2602800, 38016, 0x57b75dbd
-0, 2606400, 38016, 0x264a59cf
-0, 2610000, 38016, 0xfde95cc8
-0, 2613600, 38016, 0x5116601b
-0, 2617200, 38016, 0x72e67205
-0, 2620800, 38016, 0xf1057674
-0, 2624400, 38016, 0x7e917eb9
-0, 2628000, 38016, 0x50ed8b28
-0, 2631600, 38016, 0x357a826c
-0, 2635200, 38016, 0xd68fa449
-0, 2638800, 38016, 0x3a839e39
-0, 2642400, 38016, 0x79469a1b
-0, 2646000, 38016, 0xa9ca9590
-0, 2649600, 38016, 0xbf399686
-0, 2653200, 38016, 0x40499eaf
-0, 2656800, 38016, 0x9972a76d
-0, 2660400, 38016, 0xa3d0aff4
-0, 2664000, 38016, 0xdf27b647
-0, 2667600, 38016, 0x4147c66e
-0, 2671200, 38016, 0x1378d1db
-0, 2674800, 38016, 0x1ca3d444
-0, 2678400, 38016, 0x464d9538
-0, 2682000, 38016, 0xaed28de9
-0, 2685600, 38016, 0xc77a9f86
-0, 2689200, 38016, 0x0882aa10
-0, 2692800, 38016, 0x206ac330
-0, 2696400, 38016, 0x63efd763
-0, 2700000, 38016, 0xbfe2e663
-0, 2703600, 38016, 0xfe6ff1ad
-0, 2707200, 38016, 0x60f9f47e
-0, 2710800, 38016, 0xba1cf0c0
-0, 2714400, 38016, 0x1880eb3d
-0, 2718000, 38016, 0xf0fdd350
-0, 2721600, 38016, 0xb678eedb
-0, 2725200, 38016, 0xa17cf5e4
-0, 2728800, 38016, 0x567fff2a
-0, 2732400, 38016, 0x52ab043b
-0, 2736000, 38016, 0x8e8b0bd9
-0, 2739600, 38016, 0x0f131a7e
-0, 2743200, 38016, 0x26aa2303
-0, 2746800, 38016, 0x70c12bab
-0, 2750400, 38016, 0xa8a93858
-0, 2754000, 38016, 0x289f3b94
-0, 2757600, 38016, 0x3d883605
-0, 2761200, 38016, 0xe171329e
-0, 2764800, 38016, 0x75292865
-0, 2768400, 38016, 0x1d2ac8dc
-0, 2772000, 38016, 0xa336aa94
-0, 2775600, 38016, 0xcede9906
-0, 2779200, 38016, 0x1c9a8b52
-0, 2782800, 38016, 0x2a9c8a78
-0, 2786400, 38016, 0x920a8583
-0, 2790000, 38016, 0xb3ee7e2d
-0, 2793600, 38016, 0x96be75fc
-0, 2797200, 38016, 0x2a8a68d2
-0, 2800800, 38016, 0xdf8e6baf
-0, 2804400, 38016, 0xd46570d1
-0, 2808000, 38016, 0x765b71af
-0, 2811600, 38016, 0x25fe71df
-0, 2815200, 38016, 0x9ca124e3
-0, 2818800, 38016, 0x77c51bab
-0, 2822400, 38016, 0x0b380db9
-0, 2826000, 38016, 0xb0be108b
-0, 2829600, 38016, 0x5c4808b8
-0, 2833200, 38016, 0x73331227
-0, 2836800, 38016, 0xce790cf2
-0, 2840400, 38016, 0x46ac0dfc
-0, 2844000, 38016, 0xdc310caf
-0, 2847600, 38016, 0x909c0606
-0, 2851200, 38016, 0x0756fb3e
-0, 2854800, 38016, 0x4eb0fb0d
-0, 2858400, 38016, 0x6276f6e2
-0, 2862000, 38016, 0x92e0f070
-0, 2865600, 38016, 0x6f2d793f
-0, 2869200, 38016, 0x215f704b
-0, 2872800, 38016, 0xf9b7765e
-0, 2876400, 38016, 0xdb6176bf
-0, 2880000, 38016, 0x2b5165eb
-0, 2883600, 38016, 0xf1145c06
-0, 2887200, 38016, 0x343f698d
-0, 2890800, 38016, 0xcb96713f
-0, 2894400, 38016, 0xc50f775a
-0, 2898000, 38016, 0xbb927e81
-0, 2901600, 38016, 0xa2497bd4
-0, 2905200, 38016, 0xe52b80fa
-0, 2908800, 38016, 0x900f7ac7
-0, 2912400, 38016, 0x77e77d0e
-0, 2916000, 38016, 0xdb33f302
-0, 2919600, 38016, 0xf0519288
-0, 2923200, 38016, 0x4552f487
-0, 2926800, 38016, 0xe7b5f34c
-0, 2930400, 38016, 0x0db18be6
-0, 2934000, 38016, 0xb9ba87c2
-0, 2937600, 38016, 0x1dc2f805
-0, 2941200, 38016, 0x4986f535
-0, 2944800, 38016, 0xc099f301
-0, 2948400, 38016, 0x3d8c6787
-0, 2952000, 38016, 0xd3a4796f
-0, 2955600, 38016, 0xfe01635f
-0, 2959200, 38016, 0xba8df082
-0, 2962800, 38016, 0x55f3f017
-0, 2966400, 38016, 0xf2d7f36a
-0, 2970000, 38016, 0x8bd8f7a1
-0, 2973600, 38016, 0xabcd638b
-0, 2977200, 38016, 0x69ae59ea
-0, 2980800, 38016, 0x5bf43408
-0, 2984400, 38016, 0x6466fd67
-0, 2988000, 38016, 0xc90effb4
-0, 2991600, 38016, 0x82110480
-0, 2995200, 38016, 0xb364f74b
-0, 2998800, 38016, 0x7f1efd76
-0, 3002400, 38016, 0x1a20f30f
-0, 3006000, 38016, 0x4b0fe377
-0, 3009600, 38016, 0x57b4c896
-0, 3013200, 38016, 0x92b1ab52
-0, 3016800, 38016, 0x10ceaf82
-0, 3020400, 38016, 0xc4d3b0b8
-0, 3024000, 38016, 0x68b9f314
-0, 3027600, 38016, 0xc627fd70
-0, 3031200, 38016, 0x5fc108dc
-0, 3034800, 38016, 0x0f1f12d7
-0, 3038400, 38016, 0x6edc208e
-0, 3042000, 38016, 0x91f824eb
-0, 3045600, 38016, 0x1464b836
-0, 3049200, 38016, 0x84c7c412
-0, 3052800, 38016, 0x3e8dd049
-0, 3056400, 38016, 0x493dd1a7
-0, 3060000, 38016, 0x25dfbd00
-0, 3063600, 38016, 0x140bbd33
-0, 3067200, 38016, 0x488e2db6
-0, 3070800, 38016, 0x9e4f2c0a
-0, 3074400, 38016, 0xd60928d3
-0, 3078000, 38016, 0x38b61e0b
-0, 3081600, 38016, 0xb6331660
-0, 3085200, 38016, 0x0a3a0e4c
-0, 3088800, 38016, 0x6ad9105b
-0, 3092400, 38016, 0x29a8cd6b
-0, 3096000, 38016, 0x35e1da7d
-0, 3099600, 38016, 0x824de492
-0, 3103200, 38016, 0x1c76d83c
-0, 3106800, 38016, 0xbe25d98d
-0, 3110400, 38016, 0x5efaf222
-0, 3114000, 38016, 0x17370266
-0, 3117600, 38016, 0x417a2375
-0, 3121200, 38016, 0xb7e423d3
-0, 3124800, 38016, 0x224020fe
-0, 3128400, 38016, 0x4bbe1ee9
-0, 3132000, 38016, 0x72aa1f21
-0, 3135600, 38016, 0xc810126d
-0, 3139200, 38016, 0x42730cd4
-0, 3142800, 38016, 0xfd510c5d
-0, 3146400, 38016, 0x7c6f1313
-0, 3150000, 38016, 0xc1b31b89
-0, 3153600, 38016, 0x57772339
-0, 3157200, 38016, 0x20922349
-0, 3160800, 38016, 0xea4f1a45
-0, 3164400, 38016, 0x79e214d2
-0, 3168000, 38016, 0x77521b5d
-0, 3171600, 38016, 0x5929276c
-0, 3175200, 38016, 0x40b3130d
-0, 3178800, 38016, 0x040a157e
-0, 3182400, 38016, 0x0de31983
-0, 3186000, 38016, 0xdb0a1852
-0, 3189600, 38016, 0x73111b91
-0, 3193200, 38016, 0xf7a61765
-0, 3196800, 38016, 0xc5dd2557
-0, 3200400, 38016, 0xabc32e16
-0, 3204000, 38016, 0x5f093823
-0, 3207600, 38016, 0x9f462f1e
-0, 3211200, 38016, 0x29822c19
-0, 3214800, 38016, 0x259a2697
-0, 3218400, 38016, 0x7ad61867
-0, 3222000, 38016, 0x32fe111f
-0, 3225600, 38016, 0xf65c1142
-0, 3229200, 38016, 0xc5b91a6d
-0, 3232800, 38016, 0x4461191e
-0, 3236400, 38016, 0x0458193a
-0, 3240000, 38016, 0x3ed084a9
-0, 3243600, 38016, 0x4dd28047
-0, 3247200, 38016, 0x18dd8523
-0, 3250800, 38016, 0x4ab87d32
-0, 3254400, 38016, 0xecd0824c
-0, 3258000, 38016, 0xae567d36
-0, 3261600, 38016, 0xfa2e82d0
-0, 3265200, 38016, 0xbce08c2e
-0, 3268800, 38016, 0x125094c4
-0, 3272400, 38016, 0x475e9b1d
-0, 3276000, 38016, 0x9b921150
-0, 3279600, 38016, 0x6f7b1124
-0, 3283200, 38016, 0xa1fe0d8b
-0, 3286800, 38016, 0x12930955
-0, 3290400, 38016, 0x3d981105
-0, 3294000, 38016, 0x92d92e3b
-0, 3297600, 38016, 0x29a33ed5
-0, 3301200, 38016, 0x8d0b578e
-0, 3304800, 38016, 0xda5571ba
-0, 3308400, 38016, 0xbc638172
-0, 3312000, 38016, 0x73fd9abb
-0, 3315600, 38016, 0x53df952b
-0, 3319200, 38016, 0xe1758a4c
-0, 3322800, 38016, 0x064f8812
-0, 3326400, 38016, 0xd9b08971
-0, 3330000, 38016, 0xfe6688a9
-0, 3333600, 38016, 0x3b50938b
-0, 3337200, 38016, 0x4e1a9c13
-0, 3340800, 38016, 0x63599bf0
-0, 3344400, 38016, 0x97e0957f
-0, 3348000, 38016, 0x5a6e98d7
-0, 3351600, 38016, 0xa4be8cf2
-0, 3355200, 38016, 0x53bb901e
-0, 3358800, 38016, 0x15f0994e
-0, 3362400, 38016, 0x71499a4b
-0, 3366000, 38016, 0xf41a87a5
-0, 3369600, 38016, 0x3e237999
-0, 3373200, 38016, 0xf77f5dd2
-0, 3376800, 38016, 0x89874799
-0, 3380400, 38016, 0x02d82294
-0, 3384000, 38016, 0xc5920154
-0, 3387600, 38016, 0x6e61f375
-0, 3391200, 38016, 0x41a6940c
-0, 3394800, 38016, 0x130b97f7
-0, 3398400, 38016, 0xdff09b51
-0, 3402000, 38016, 0xb2999bd6
-0, 3405600, 38016, 0x0bb99d20
-0, 3409200, 38016, 0x9f819633
-0, 3412800, 38016, 0x5bda9640
-0, 3416400, 38016, 0xdcf29321
-0, 3420000, 38016, 0xa6838a63
-0, 3423600, 38016, 0x820a825e
-0, 3427200, 38016, 0x69bb7859
-0, 3430800, 38016, 0x4a8c79c2
-0, 3434400, 38016, 0x1e97e67d
-0, 3438000, 38016, 0x1ad4de1b
-0, 3441600, 38016, 0xe8abeb33
-0, 3445200, 38016, 0xf3a51523
-0, 3448800, 38016, 0xb997399c
-0, 3452400, 38016, 0x9fee8105
-0, 3456000, 38016, 0xf2b6ada3
-0, 3459600, 38016, 0xe6f5bbb3
-0, 3463200, 38016, 0x8ed7ca9f
-0, 3466800, 38016, 0x711abc1a
-0, 3470400, 38016, 0x707ab544
-0, 3474000, 38016, 0x03b8af51
-0, 3477600, 38016, 0x50497b2c
-0, 3481200, 38016, 0x72b57a30
-0, 3484800, 38016, 0xfb6d8164
-0, 3488400, 38016, 0x88618e82
-0, 3492000, 38016, 0xb7369e49
-0, 3495600, 38016, 0x2502a3ca
-0, 3499200, 38016, 0x793aa276
-0, 3502800, 38016, 0x883a8ec6
-0, 3506400, 38016, 0x5f7784e5
-0, 3510000, 38016, 0xddfa7e94
-0, 3513600, 38016, 0xdb877fb8
-0, 3517200, 38016, 0x07e07f39
-0, 3520800, 38016, 0x412590fb
-0, 3524400, 38016, 0x1bd1b527
-0, 3528000, 38016, 0xbb6098c3
-0, 3531600, 38016, 0x5f1b8788
-0, 3535200, 38016, 0x42f068e8
-0, 3538800, 38016, 0x316b53bb
-0, 3542400, 38016, 0xbdbb3fa0
-0, 3546000, 38016, 0xa68f506c
-0, 3549600, 38016, 0xca355d03
-0, 3553200, 38016, 0xfafc6b88
-0, 3556800, 38016, 0x0f106535
-0, 3560400, 38016, 0xa4ae4e63
-0, 3564000, 38016, 0xb206400f
-0, 3567600, 38016, 0x3a5946d1
-0, 3571200, 38016, 0xca739868
-0, 3574800, 38016, 0xe6939d41
-0, 3578400, 38016, 0x2ec19a76
-0, 3582000, 38016, 0x614e96a4
-0, 3585600, 38016, 0x2c2b9348
-0, 3589200, 38016, 0xa00c7f1f
-0, 3592800, 38016, 0x95cb6eca
-0, 3596400, 38016, 0x069d6c4c
-0, 3600000, 38016, 0xe17e03e3
-0, 3603600, 38016, 0xa7491870
-0, 3607200, 38016, 0xacc91e48
-0, 3610800, 38016, 0x99eb1e2a
-0, 3614400, 38016, 0xb2eb1279
-0, 3618000, 38016, 0xa5020c77
-0, 3621600, 38016, 0xde966613
-0, 3625200, 38016, 0xac7f6e1e
-0, 3628800, 38016, 0x1c378a7a
-0, 3632400, 38016, 0x32e6d8a4
-0, 3636000, 38016, 0xecb8d286
-0, 3639600, 38016, 0xa497d941
-0, 3643200, 38016, 0x8ad7d36e
-0, 3646800, 38016, 0xdbd8a91a
-0, 3650400, 38016, 0x718f61d7
-0, 3654000, 38016, 0x862619cf
-0, 3657600, 38016, 0xaa049781
-0, 3661200, 38016, 0xd3986887
-0, 3664800, 38016, 0x9e9f5782
-0, 3668400, 38016, 0x2a9d4f70
-0, 3672000, 38016, 0x62b91421
-0, 3675600, 38016, 0x32313eaa
-0, 3679200, 38016, 0xf9bf1879
-0, 3682800, 38016, 0xc33c0811
-0, 3686400, 38016, 0xe9c21227
-0, 3690000, 38016, 0xf2922db6
-0, 3693600, 38016, 0x669d0627
-0, 3697200, 38016, 0x64c1048a
-0, 3700800, 38016, 0xdd28fa70
-0, 3704400, 38016, 0xd88e8b77
-0, 3708000, 38016, 0x3716bdb8
-0, 3711600, 38016, 0x1834ef57
-0, 3715200, 38016, 0xddb800b7
-0, 3718800, 38016, 0x140302cc
-0, 3722400, 38016, 0x7fa60568
-0, 3726000, 38016, 0x7cc6fd4b
-0, 3729600, 38016, 0xf14c2568
-0, 3733200, 38016, 0x2ee88bbc
-0, 3736800, 38016, 0x915cd143
-0, 3740400, 38016, 0x13ede5fa
-0, 3744000, 38016, 0x6615f63b
-0, 3747600, 38016, 0x8814f54f
-0, 3751200, 38016, 0xb53ef24a
-0, 3754800, 38016, 0xc6a8ee80
-0, 3758400, 38016, 0x9473ee09
-0, 3762000, 38016, 0x9b77d932
-0, 3765600, 38016, 0x142fc69a
-0, 3769200, 38016, 0xb238c6a2
-0, 3772800, 38016, 0x4364d302
-0, 3776400, 38016, 0xde39d174
-0, 3780000, 38016, 0x7fca7fa6
-0, 3783600, 38016, 0x77678d42
-0, 3787200, 38016, 0xaa7e8b68
-0, 3790800, 38016, 0xeecb8c89
-0, 3794400, 38016, 0x6e5e8980
-0, 3798000, 38016, 0x4f4a80de
-0, 3801600, 38016, 0xb3b5cee6
-0, 3805200, 38016, 0x0c72cf1c
-0, 3808800, 38016, 0xd83fd12d
-0, 3812400, 38016, 0x8deeda59
-0, 3816000, 38016, 0xe7fae46e
-0, 3819600, 38016, 0x8233ecd5
-0, 3823200, 38016, 0x0c32808c
-0, 3826800, 38016, 0xf43f8571
-0, 3830400, 38016, 0xae898f01
-0, 3834000, 38016, 0x5a4a99e9
-0, 3837600, 38016, 0x589f9b80
-0, 3841200, 38016, 0x6ca5a33b
-0, 3844800, 38016, 0x3811af0a
-0, 3848400, 38016, 0x8272eda7
-0, 3852000, 38016, 0xa807f046
-0, 3855600, 38016, 0x5b4fec80
-0, 3859200, 38016, 0xb6e6e7fa
-0, 3862800, 38016, 0x250cdb5c
-0, 3866400, 38016, 0x3f38e876
-0, 3870000, 38016, 0x8110e94a
-0, 3873600, 38016, 0x0f19abd7
-0, 3877200, 38016, 0x9e1ca9bd
-0, 3880800, 38016, 0x1f33abae
-0, 3884400, 38016, 0xff18ad65
-0, 3888000, 38016, 0x3d02b300
-0, 3891600, 38016, 0xb7a9b4b2
-0, 3895200, 38016, 0xd8cab454
-0, 3898800, 38016, 0xb48ab772
-0, 3902400, 38016, 0x7f98fe59
-0, 3906000, 38016, 0x786c1795
-0, 3909600, 38016, 0x013437ff
-0, 3913200, 38016, 0xba28622a
-0, 3916800, 38016, 0xf48486e1
-0, 3920400, 38016, 0xc13695c4
-0, 3924000, 38016, 0x1fc5a4d2
-0, 3927600, 38016, 0x016caefd
-0, 3931200, 38016, 0x76b8bc54
-0, 3934800, 38016, 0xcf63bdbc
-0, 3938400, 38016, 0xeb02c0e2
-0, 3942000, 38016, 0xb57dc067
-0, 3945600, 38016, 0x8ec8c058
-0, 3949200, 38016, 0xcb04be49
-0, 3952800, 38016, 0xceccbfac
-0, 3956400, 38016, 0x3408c0c3
-0, 3960000, 38016, 0xee526afa
-0, 3963600, 38016, 0xd7529aad
-0, 3967200, 38016, 0x98bd9221
-0, 3970800, 38016, 0x2fbd7e5a
-0, 3974400, 38016, 0x0fb8a8fc
-0, 3978000, 38016, 0xfd28af91
-0, 3981600, 38016, 0x81db9907
-0, 3985200, 38016, 0x1f0a8ae7
-0, 3988800, 38016, 0xd91e93e3
-0, 3992400, 38016, 0x5fe6b043
-0, 3996000, 38016, 0x2a618a48
-0, 3999600, 38016, 0xef1c8cc2
-0, 4003200, 38016, 0x928595ce
-0, 4006800, 38016, 0xf2a59a43
-0, 4010400, 38016, 0x61bf92d0
-0, 4014000, 38016, 0x584d840f
-0, 4017600, 38016, 0x42177cb1
-0, 4021200, 38016, 0x08867c3b
-0, 4024800, 38016, 0x5a89813b
-0, 4028400, 38016, 0xba558022
-0, 4032000, 38016, 0x3d58878a
-0, 4035600, 38016, 0x8d215911
-0, 4039200, 38016, 0xea27370c
-0, 4042800, 38016, 0x7e2a1a9c
-0, 4046400, 38016, 0xbb86f763
-0, 4050000, 38016, 0xf03fd3c7
-0, 4053600, 38016, 0x1eaac263
-0, 4057200, 38016, 0x8a4bd0e1
-0, 4060800, 38016, 0x5adcf66d
-0, 4064400, 38016, 0xa0320a89
-0, 4068000, 38016, 0x77338f96
-0, 4071600, 38016, 0xf3498f6a
-0, 4075200, 38016, 0x7e248dcf
-0, 4078800, 38016, 0xf7f68dcc
-0, 4082400, 38016, 0x5da597c9
-0, 4086000, 38016, 0x63db9d00
-0, 4089600, 38016, 0xd1f09e52
-0, 4093200, 38016, 0xfc7ba2e1
-0, 4096800, 38016, 0x8c26ab25
-0, 4100400, 38016, 0x6a45add3
-0, 4104000, 38016, 0x0dd7b2a2
-0, 4107600, 38016, 0x70c00c4f
-0, 4111200, 38016, 0x437e255e
-0, 4114800, 38016, 0x63dd455b
-0, 4118400, 38016, 0x01453a2e
-0, 4122000, 38016, 0x08c120af
-0, 4125600, 38016, 0xf3111451
-0, 4129200, 38016, 0xf3f10603
-0, 4132800, 38016, 0xb154fa41
-0, 4136400, 38016, 0x4734ee73
-0, 4140000, 38016, 0x28ca7926
-0, 4143600, 38016, 0xbb628234
-0, 4147200, 38016, 0x0ca1b42f
-0, 4150800, 38016, 0x8397b202
-0, 4154400, 38016, 0x9d92b832
-0, 4158000, 38016, 0x8fbeb4b2
-0, 4161600, 38016, 0x056aa904
-0, 4165200, 38016, 0x4e78a55c
-0, 4168800, 38016, 0xe8a8a265
-0, 4172400, 38016, 0xb703a17b
-0, 4176000, 38016, 0xe79e9d71
-0, 4179600, 38016, 0xbd769f5d
-0, 4183200, 38016, 0x602ea70f
-0, 4186800, 38016, 0x034caf76
-0, 4190400, 38016, 0x28dd9702
-0, 4194000, 38016, 0xc8879c85
-0, 4197600, 38016, 0x15b098f2
-0, 4201200, 38016, 0xf34b9ce5
-0, 4204800, 38016, 0x6d159fbf
-0, 4208400, 38016, 0x22eb9cac
-0, 4212000, 38016, 0xae42a220
-0, 4215600, 38016, 0x1275a131
-0, 4219200, 38016, 0x8188a057
-0, 4222800, 38016, 0x65dea0d1
-0, 4226400, 38016, 0x5bd19be2
-0, 4230000, 38016, 0xfbd99219
-0, 4233600, 38016, 0xad19b3a2
-0, 4237200, 38016, 0xa897bb92
-0, 4240800, 38016, 0x5b1fbf2e
-0, 4244400, 38016, 0x02a5cb24
-0, 4248000, 38016, 0xd6ead6fe
-0, 4251600, 38016, 0x3083de8a
-0, 4255200, 38016, 0xbf1decb4
-0, 4258800, 38016, 0xd92af986
-0, 4262400, 38016, 0x4c520154
-0, 4266000, 38016, 0xd45805a1
-0, 4269600, 38016, 0x25e2084d
-0, 4273200, 38016, 0x4e3d0960
-0, 4276800, 38016, 0x5b449ef2
-0, 4280400, 38016, 0xda15abcc
-0, 4284000, 38016, 0x1b3ba622
-0, 4287600, 38016, 0xaf61a32a
-0, 4291200, 38016, 0xcfa39e3d
-0, 4294800, 38016, 0x8865a56c
-0, 4298400, 38016, 0x3bc9af9b
-0, 4302000, 38016, 0x0a83c081
-0, 4305600, 38016, 0x5ccec976
-0, 4309200, 38016, 0x1f1fc906
-0, 4312800, 38016, 0x1ef6cc46
-0, 4316400, 38016, 0x7776c39e
-0, 4320000, 38016, 0x5860a212
-0, 4323600, 38016, 0x2d9092a3
-0, 4327200, 38016, 0x964d9f81
-0, 4330800, 38016, 0xc35c9691
-0, 4334400, 38016, 0x5e0dc673
-0, 4338000, 38016, 0xada3b7d6
-0, 4341600, 38016, 0x4f3a8d03
-0, 4345200, 38016, 0xfcb4861a
-0, 4348800, 38016, 0xfa908149
-0, 4352400, 38016, 0x6994c514
-0, 4356000, 38016, 0x37c5aaa9
-0, 4359600, 38016, 0x207abcfe
-0, 4363200, 38016, 0x778d7a2d
-0, 4366800, 38016, 0x60b773ff
-0, 4370400, 38016, 0x41cd67d5
-0, 4374000, 38016, 0x3c595a99
-0, 4377600, 38016, 0xd672b14c
-0, 4381200, 38016, 0x7db2c0fd
-0, 4384800, 38016, 0x3d21cf34
-0, 4388400, 38016, 0xdd1cf044
-0, 4392000, 38016, 0xc4594bcb
-0, 4395600, 38016, 0x595e4356
-0, 4399200, 38016, 0x9cc53c0d
-0, 4402800, 38016, 0x78fc325f
-0, 4406400, 38016, 0xc632324f
-0, 4410000, 38016, 0x18b1f5c1
-0, 4413600, 38016, 0x63aff55e
-0, 4417200, 38016, 0x8a50fb04
-0, 4420800, 38016, 0x7d5e20f6
-0, 4424400, 38016, 0xc31114bb
-0, 4428000, 38016, 0xf4852e6e
-0, 4431600, 38016, 0x9b6927ba
-0, 4435200, 38016, 0x024836c2
-0, 4438800, 38016, 0x20843b21
-0, 4442400, 38016, 0x19134055
-0, 4446000, 38016, 0x1cd843f7
-0, 4449600, 38016, 0x122705b1
-0, 4453200, 38016, 0x1880fc3d
-0, 4456800, 38016, 0x78dbfeaf
-0, 4460400, 38016, 0x212c273d
-0, 4464000, 38016, 0xff2eb7be
-0, 4467600, 38016, 0xe0bd752d
-0, 4471200, 38016, 0x277b478a
-0, 4474800, 38016, 0x59e84ab2
-0, 4478400, 38016, 0x338a50e4
-0, 4482000, 38016, 0xaf715a99
-0, 4485600, 38016, 0xd1e459a8
-0, 4489200, 38016, 0x70da4ac9
-0, 4492800, 38016, 0xa695540d
-0, 4496400, 38016, 0x9385320b
-0, 4500000, 38016, 0x9a8703cd
-0, 4503600, 38016, 0xbeda239e
-0, 4507200, 38016, 0x5bf262c1
-0, 4510800, 38016, 0x9b216899
-0, 4514400, 38016, 0x52f24135
-0, 4518000, 38016, 0x75a23955
-0, 4521600, 38016, 0xb92f4ea2
-0, 4525200, 38016, 0xdac95333
-0, 4528800, 38016, 0x1a2d4ed4
-0, 4532400, 38016, 0xfce25650
-0, 4536000, 38016, 0x1e264fdd
-0, 4539600, 38016, 0xe77349b8
-0, 4543200, 38016, 0x7d2046b0
-0, 4546800, 38016, 0x65373899
-0, 4550400, 38016, 0x3b3569ae
-0, 4554000, 38016, 0x346485d0
-0, 4557600, 38016, 0x80b93e57
-0, 4561200, 38016, 0xeb724ba5
-0, 4564800, 38016, 0x533d7459
-0, 4568400, 38016, 0x60f957a7
-0, 4572000, 38016, 0x900281b2
-0, 4575600, 38016, 0xf4489e06
-0, 4579200, 38016, 0xe77730c9
-0, 4582800, 38016, 0x41b23060
-0, 4586400, 38016, 0x4e8c3012
-0, 4590000, 38016, 0x651f2cff
-0, 4593600, 38016, 0x787b2e99
-0, 4597200, 38016, 0x541e2d10
-0, 4600800, 38016, 0x27a824a3
-0, 4604400, 38016, 0xe1e72121
-0, 4608000, 38016, 0xffb52626
-0, 4611600, 38016, 0x7677c8c9
-0, 4615200, 38016, 0xa501d38f
-0, 4618800, 38016, 0xa6d2c5dc
-0, 4622400, 38016, 0xba94d1c1
-0, 4626000, 38016, 0x137dac4d
-0, 4629600, 38016, 0x65c1bd6e
-0, 4633200, 38016, 0x7a32cd65
-0, 4636800, 38016, 0x518adf61
-0, 4640400, 38016, 0x8baaee58
-0, 4644000, 38016, 0xe7642712
-0, 4647600, 38016, 0xba191b45
-0, 4651200, 38016, 0x93dd16b1
-0, 4654800, 38016, 0x22831478
-0, 4658400, 38016, 0xe48c103a
-0, 4662000, 38016, 0x7c2709e7
-0, 4665600, 38016, 0xd7d8f454
-0, 4669200, 38016, 0xc504f31a
-0, 4672800, 38016, 0x2510e4ae
-0, 4676400, 38016, 0x0b56d119
-0, 4680000, 38016, 0x6c248150
-0, 4683600, 38016, 0xbac4be42
-0, 4687200, 38016, 0x5787c4a8
-0, 4690800, 38016, 0x65b3d0bd
-0, 4694400, 38016, 0xdcc4efbd
-0, 4698000, 38016, 0xfe92f78b
-0, 4701600, 38016, 0xfda60c1c
-0, 4705200, 38016, 0x4997238e
-0, 4708800, 38016, 0xfaca43ca
-0, 4712400, 38016, 0x81fe533c
-0, 4716000, 38016, 0x350bcb11
-0, 4719600, 38016, 0xacfdcde4
-0, 4723200, 38016, 0xb039c663
-0, 4726800, 38016, 0x3402c942
-0, 4730400, 38016, 0x388bc3d0
-0, 4734000, 38016, 0x85dec11a
-0, 4737600, 38016, 0xdfc2be86
-0, 4741200, 38016, 0x515cc1a9
-0, 4744800, 38016, 0xc7ddb990
-0, 4748400, 38016, 0x043fb332
-0, 4752000, 38016, 0x5b05b3a7
-0, 4755600, 38016, 0xacdf9836
-0, 4759200, 38016, 0x55079a49
-0, 4762800, 38016, 0x5de2d90d
-0, 4766400, 38016, 0x7f9deb52
-0, 4770000, 38016, 0x83ddc6d9
-0, 4773600, 38016, 0x77ecdc93
-0, 4777200, 38016, 0x745fe832
-0, 4780800, 38016, 0x920bf8e7
-0, 4784400, 38016, 0xd9fc1803
-0, 4788000, 38016, 0x06c13052
-0, 4791600, 38016, 0x4a962b49
-0, 4795200, 38016, 0xd4a7b571
-0, 4798800, 38016, 0xdb76bd1e
-0, 4802400, 38016, 0x11a4be41
-0, 4806000, 38016, 0x575eb740
-0, 4809600, 38016, 0x7f11bb5c
-0, 4813200, 38016, 0x0f97b9b5
-0, 4816800, 38016, 0xa421bc1e
-0, 4820400, 38016, 0x2510bda8
-0, 4824000, 38016, 0x5ec1c3c2
-0, 4827600, 38016, 0xab02c212
-0, 4831200, 38016, 0x7862c24a
-0, 4834800, 38016, 0x3654c47c
-0, 4838400, 38016, 0x6e4f3fd5
-0, 4842000, 38016, 0x77b54c6f
-0, 4845600, 38016, 0x51016691
-0, 4849200, 38016, 0x5c2e7a7a
-0, 4852800, 38016, 0x29aea461
-0, 4856400, 38016, 0x8f4397b1
-0, 4860000, 38016, 0x8af41dba
-0, 4863600, 38016, 0x4c1154ca
-0, 4867200, 38016, 0xe23e6e91
-0, 4870800, 38016, 0xd0617571
-0, 4874400, 38016, 0x2ab88348
-0, 4878000, 38016, 0x8bf1a109
-0, 4881600, 38016, 0xfdd4c390
-0, 4885200, 38016, 0x17b8c6bf
-0, 4888800, 38016, 0xa012bd5d
-0, 4892400, 38016, 0x4c16cee2
-0, 4896000, 38016, 0x739fcfae
-0, 4899600, 38016, 0x3edae498
-0, 4903200, 38016, 0x0d38e4ad
-0, 4906800, 38016, 0x896cea10
-0, 4910400, 38016, 0x13a0f1a9
-0, 4914000, 38016, 0xfe70eeb4
-0, 4917600, 38016, 0x540bf40e
-0, 4921200, 38016, 0xee20f65e
-0, 4924800, 38016, 0x8404fdf7
-0, 4928400, 38016, 0x1c71b182
-0, 4932000, 38016, 0x96e4c5cc
-0, 4935600, 38016, 0x6aa1dcf1
-0, 4939200, 38016, 0x4549ed9b
-0, 4942800, 38016, 0xd50bffba
-0, 4946400, 38016, 0x22701379
-0, 4950000, 38016, 0x19462a6b
-0, 4953600, 38016, 0x4f6b41e0
-0, 4957200, 38016, 0x9d344fcc
-0, 4960800, 38016, 0x60625fa9
-0, 4964400, 38016, 0xeb377eae
-0, 4968000, 38016, 0x0d9f945d
-0, 4971600, 38016, 0x4d0fb1dc
-0, 4975200, 38016, 0x0b580421
-0, 4978800, 38016, 0x30f3191a
-0, 4982400, 38016, 0xc5f7295c
-0, 4986000, 38016, 0xc4ad35e9
-0, 4989600, 38016, 0x25964387
-0, 4993200, 38016, 0x3a805820
-0, 4996800, 38016, 0x67e26985
-0, 5000400, 38016, 0x518f7941
-0, 5004000, 38016, 0x2a7982e1
-0, 5007600, 38016, 0x54aa84f0
-0, 5011200, 38016, 0x3d808f45
-0, 5014800, 38016, 0x5dae923c
-0, 5018400, 38016, 0xa2a99ccf
-0, 5022000, 38016, 0xefdd9a77
-0, 5025600, 38016, 0x246fcfa5
-0, 5029200, 38016, 0xe315cbcd
-0, 5032800, 38016, 0x4825df58
-0, 5036400, 38016, 0x0e241554
-0, 5040000, 38016, 0x968d8433
-0, 5043600, 38016, 0x97eec628
-0, 5047200, 38016, 0x7c4cb603
-0, 5050800, 38016, 0x6d11e7bf
-0, 5054400, 38016, 0xae041b61
-0, 5058000, 38016, 0x385e040c
-0, 5061600, 38016, 0x449e357a
-0, 5065200, 38016, 0x997f4aac
-0, 5068800, 38016, 0xd68c4f8b
-0, 5072400, 38016, 0xb3b962eb
-0, 5076000, 38016, 0x4685adc2
-0, 5079600, 38016, 0xed0d7473
-0, 5083200, 38016, 0xd069c0bb
-0, 5086800, 38016, 0x76abcd8e
-0, 5090400, 38016, 0xd6c096da
-0, 5094000, 38016, 0x76c2bab5
-0, 5097600, 38016, 0x1461dfb3
-0, 5101200, 38016, 0xf979f59f
-0, 5104800, 38016, 0x0554f985
-0, 5108400, 38016, 0x11c6d2a3
-0, 5112000, 38016, 0xe6e3faee
-0, 5115600, 38016, 0x6ceafbcc
-0, 5119200, 38016, 0x429b02e1
-0, 5122800, 38016, 0x97bd03f1
-0, 5126400, 38016, 0x78330c48
-0, 5130000, 38016, 0xb2720325
-0, 5133600, 38016, 0x26d412ab
-0, 5137200, 38016, 0xb6fb1b5c
-0, 5140800, 38016, 0xde8d300a
-0, 5144400, 38016, 0x7d28450e
-0, 5148000, 38016, 0xb3c5fbef
-0, 5151600, 38016, 0x2222f726
-0, 5155200, 38016, 0x66f7f42f
-0, 5158800, 38016, 0xef8af722
-0, 5162400, 38016, 0x4ac0f8d7
-0, 5166000, 38016, 0x5bfe5c81
-0, 5169600, 38016, 0x4afb6df9
-0, 5173200, 38016, 0xa8128a37
-0, 5176800, 38016, 0x1fc79ed0
-0, 5180400, 38016, 0x9967a997
-0, 5184000, 38016, 0x7bb5f6e1
-0, 5187600, 38016, 0xdda90122
-0, 5191200, 38016, 0x81700c1a
-0, 5194800, 38016, 0x9e121e77
-0, 5198400, 38016, 0xf58926a3
-0, 5202000, 38016, 0x4d1431a4
-0, 5205600, 38016, 0x0de6e741
-0, 5209200, 38016, 0x3ae9f601
-0, 5212800, 38016, 0xbed2e950
-0, 5216400, 38016, 0x619f100d
-0, 5220000, 38016, 0x6fa4a4e2
-0, 5223600, 38016, 0x316cddcd
-0, 5227200, 38016, 0x03132791
-0, 5230800, 38016, 0x10122784
-0, 5234400, 38016, 0x0e732980
-0, 5238000, 38016, 0x382d26f9
-0, 5241600, 38016, 0x651028fd
-0, 5245200, 38016, 0x61732850
-0, 5248800, 38016, 0x47912dde
-0, 5252400, 38016, 0xe3a12fdc
-0, 5256000, 38016, 0x8bc332ff
-0, 5259600, 38016, 0xcc3a3cdc
-0, 5263200, 38016, 0x190e2fec
-0, 5266800, 38016, 0x236c3291
-0, 5270400, 38016, 0xc0e55dd3
-0, 5274000, 38016, 0x06c85411
-0, 5277600, 38016, 0x0c0b3091
-0, 5281200, 38016, 0x8c1333cd
-0, 5284800, 38016, 0x51b339a5
-0, 5288400, 38016, 0x2d5b33ef
-0, 5292000, 38016, 0x73f0395b
-0, 5295600, 38016, 0x505b42d3
-0, 5299200, 38016, 0x56e44c7f
-0, 5302800, 38016, 0x26465781
-0, 5306400, 38016, 0x1d14800d
-0, 5310000, 38016, 0x752cb297
-0, 5313600, 38016, 0x0c3ab720
-0, 5317200, 38016, 0x21c2f136
-0, 5320800, 38016, 0xbae8b293
-0, 5324400, 38016, 0xe4b2fe9b
-0, 5328000, 38016, 0xfaaf0394
-0, 5331600, 38016, 0xa6f61d4b
-0, 5335200, 38016, 0x0e205192
-0, 5338800, 38016, 0x9b3c5c1f
-0, 5342400, 38016, 0x3b93552f
-0, 5346000, 38016, 0xe56e5b54
-0, 5349600, 38016, 0xa1c26095
-0, 5353200, 38016, 0x1eb66e41
-0, 5356800, 38016, 0x83eb6e83
-0, 5360400, 38016, 0xc8a979d3
-0, 5364000, 38016, 0x81fb7b32
-0, 5367600, 38016, 0xe07928b7
-0, 5371200, 38016, 0x38591267
-0, 5374800, 38016, 0xce563165
-0, 5378400, 38016, 0x5fec3563
-0, 5382000, 38016, 0xd7402c7c
-0, 5385600, 38016, 0xf2a93af4
-0, 5389200, 38016, 0x78f22fe7
-0, 5392800, 38016, 0x25554875
-0, 5396400, 38016, 0x79546ca2
-0, 5400000, 38016, 0xdae2814a
-0, 5403600, 38016, 0xf1ef9a9e
-0, 5407200, 38016, 0xb76d8b83
-0, 5410800, 38016, 0x1abf8fa8
-0, 5414400, 38016, 0x8f098fa4
-0, 5418000, 38016, 0xb098843c
-0, 5421600, 38016, 0x1d5186d3
-0, 5425200, 38016, 0x93f4923c
-0, 5428800, 38016, 0x496094e2
-0, 5432400, 38016, 0x7aea93f1
-0, 5436000, 38016, 0x556c6675
-0, 5439600, 38016, 0x90566aca
-0, 5443200, 38016, 0x14899a93
-0, 5446800, 38016, 0xd269e0e7
-0, 5450400, 38016, 0x1261d2cc
-0, 5454000, 38016, 0x299c9301
-0, 5457600, 38016, 0xee9c9ba5
-0, 5461200, 38016, 0xb48ab676
-0, 5464800, 38016, 0x4ef9b1c5
-0, 5468400, 38016, 0x8aae9912
-0, 5472000, 38016, 0x1bc09f53
-0, 5475600, 38016, 0x2e089c6b
-0, 5479200, 38016, 0x67598f8d
-0, 5482800, 38016, 0xacd394e1
-0, 5486400, 38016, 0xe2979b75
-0, 5490000, 38016, 0xb9749ff9
-0, 5493600, 38016, 0x02bda2f0
-0, 5497200, 38016, 0xe6caa499
-0, 5500800, 38016, 0xc6d9a547
-0, 5504400, 38016, 0x1c89aa34
-0, 5508000, 38016, 0x61feb4fc
-0, 5511600, 38016, 0x2a40b1f4
-0, 5515200, 38016, 0x4ad3ac08
-0, 5518800, 38016, 0xf5e8b06d
-0, 5522400, 38016, 0xb0eea800
-0, 5526000, 38016, 0x430cc535
-0, 5529600, 38016, 0x8e66b9cf
-0, 5533200, 38016, 0x5c68b4c4
-0, 5536800, 38016, 0x9381c64b
-0, 5540400, 38016, 0x4234bed7
-0, 5544000, 38016, 0xce72bf02
-0, 5547600, 38016, 0xb8cfbcd7
-0, 5551200, 38016, 0x75a5b1bd
-0, 5554800, 38016, 0xc27fb9eb
-0, 5558400, 38016, 0xa1b1bc62
-0, 5562000, 38016, 0x1cdeb0a3
-0, 5565600, 38016, 0xaea6a799
-0, 5569200, 38016, 0x8152ac4f
-0, 5572800, 38016, 0x59c1a66d
-0, 5576400, 38016, 0x6bd99f24
-0, 5580000, 38016, 0x96a73236
-0, 5583600, 38016, 0xb27e4856
-0, 5587200, 38016, 0x8b57447a
-0, 5590800, 38016, 0xcef84a21
-0, 5594400, 38016, 0x5babc7cc
-0, 5598000, 38016, 0x6ed2cec3
-0, 5601600, 38016, 0xa2efdc17
-0, 5605200, 38016, 0x47bad971
-0, 5608800, 38016, 0x150dffd4
-0, 5612400, 38016, 0x3ecef2ad
-0, 5616000, 38016, 0x355cdade
-0, 5619600, 38016, 0x3b15e809
-0, 5623200, 38016, 0x37fcf890
-0, 5626800, 38016, 0x8ca606d1
-0, 5630400, 38016, 0x51cafefe
-0, 5634000, 38016, 0x736be64a
-0, 5637600, 38016, 0x4f2052c1
-0, 5641200, 38016, 0xc6715e93
-0, 5644800, 38016, 0x765c5a58
-0, 5648400, 38016, 0x5abe5617
-0, 5652000, 38016, 0xb1ac540a
-0, 5655600, 38016, 0xd9f75c21
-0, 5659200, 38016, 0x0c1946c0
-0, 5662800, 38016, 0x93363a34
-0, 5666400, 38016, 0x2c9f2fe4
-0, 5670000, 38016, 0x023c321a
-0, 5673600, 38016, 0x1931314b
-0, 5677200, 38016, 0x16782d59
-0, 5680800, 38016, 0x29aa289f
-0, 5684400, 38016, 0xea0ddb85
-0, 5688000, 38016, 0xe09ae656
-0, 5691600, 38016, 0x682ff29f
-0, 5695200, 38016, 0xf3ac29ca
-0, 5698800, 38016, 0x95160cad
-0, 5702400, 38016, 0x9afa093c
-0, 5706000, 38016, 0x2ad30958
-0, 5709600, 38016, 0x4b600e3a
-0, 5713200, 38016, 0x5b0e099b
-0, 5716800, 38016, 0x2d2aff9b
-0, 5720400, 38016, 0x8bb10aa6
-0, 5724000, 38016, 0xfebe1f1d
-0, 5727600, 38016, 0xa4431abd
-0, 5731200, 38016, 0xef7729a6
-0, 5734800, 38016, 0x7b5b1f78
-0, 5738400, 38016, 0x903b203e
-0, 5742000, 38016, 0xbcc716a2
-0, 5745600, 38016, 0xee6c1f4c
-0, 5749200, 38016, 0xc78c2ab8
-0, 5752800, 38016, 0xa77a255a
-0, 5756400, 38016, 0x9d5815fc
-0, 5760000, 38016, 0x7d5e7d79
-0, 5763600, 38016, 0xf7989072
-0, 5767200, 38016, 0x45499feb
-0, 5770800, 38016, 0xc58aae7b
-0, 5774400, 38016, 0x882aa1cb
-0, 5778000, 38016, 0x56cd97bf
-0, 5781600, 38016, 0x2d6af920
-0, 5785200, 38016, 0x43c312eb
-0, 5788800, 38016, 0x12872b9f
-0, 5792400, 38016, 0x3c623ffe
-0, 5796000, 38016, 0x120e302d
-0, 5799600, 38016, 0x9cb43964
-0, 5803200, 38016, 0xb371311c
-0, 5806800, 38016, 0x28b523d4
-0, 5810400, 38016, 0x58031bff
-0, 5814000, 38016, 0xe6691818
-0, 5817600, 38016, 0x6a9b29c3
-0, 5821200, 38016, 0x794b25ce
-0, 5824800, 38016, 0xfc273119
-0, 5828400, 38016, 0x82ad2a3a
-0, 5832000, 38016, 0x9d2da281
-0, 5835600, 38016, 0x11271ba1
-0, 5839200, 38016, 0x1558b618
-0, 5842800, 38016, 0xf5d8c22f
-0, 5846400, 38016, 0xf20214f9
-0, 5850000, 38016, 0x15b01f3a
-0, 5853600, 38016, 0x68f2b533
-0, 5857200, 38016, 0x9686a827
-0, 5860800, 38016, 0xf214a2dc
-0, 5864400, 38016, 0x3d421eb0
-0, 5868000, 38016, 0x78251e60
-0, 5871600, 38016, 0xab092856
-0, 5875200, 38016, 0x5eaba7bc
-0, 5878800, 38016, 0x612fb699
-0, 5882400, 38016, 0x8a83a3fd
-0, 5886000, 38016, 0xbcd9919b
-0, 5889600, 38016, 0xb9063049
-0, 5893200, 38016, 0x5cb22fde
-0, 5896800, 38016, 0x7db92390
-0, 5900400, 38016, 0x801b241b
-0, 5904000, 38016, 0x6eeb8e1b
-0, 5907600, 38016, 0x660b9568
-0, 5911200, 38016, 0x2a5b8b3d
-0, 5914800, 38016, 0x15098b9a
-0, 5918400, 38016, 0xd29284f5
-0, 5922000, 38016, 0x839323c6
-0, 5925600, 38016, 0xd6a4212c
-0, 5929200, 38016, 0x1c1c2259
-0, 5932800, 38016, 0x0b1d2ef2
-0, 5936400, 38016, 0xecd52cfc
-0, 5940000, 38016, 0x419326cb
-0, 5943600, 38016, 0xea813e68
-0, 5947200, 38016, 0xba9a33ba
-0, 5950800, 38016, 0x703b3b25
-0, 5954400, 38016, 0x391c3cce
-0, 5958000, 38016, 0xd1533fe3
-0, 5961600, 38016, 0xb9361f10
-0, 5965200, 38016, 0x8d652ea6
-0, 5968800, 38016, 0x22dc15ae
-0, 5972400, 38016, 0x2e5e0ee7
-0, 5976000, 38016, 0xd6bd15cf
-0, 5979600, 38016, 0xb16f198a
-0, 5983200, 38016, 0xd9653e95
-0, 5986800, 38016, 0x39da2e3a
-0, 5990400, 38016, 0x01b12526
-0, 5994000, 38016, 0x94a52dde
-0, 5997600, 38016, 0xda0c32d8
-0, 6001200, 38016, 0x89af2566
-0, 6004800, 38016, 0x71961a43
-0, 6008400, 38016, 0x5fb91337
-0, 6012000, 38016, 0x6e430a84
-0, 6015600, 38016, 0x1defffb2
-0, 6019200, 38016, 0xcc93023f
-0, 6022800, 38016, 0xfcd60168
-0, 6026400, 38016, 0x8a3201d4
-0, 6030000, 38016, 0x5235fef3
-0, 6033600, 38016, 0x989121b9
-0, 6037200, 38016, 0x067a1d36
-0, 6040800, 38016, 0xa168242b
-0, 6044400, 38016, 0x425f2475
-0, 6048000, 38016, 0x298f14d9
-0, 6051600, 38016, 0x3a7c1838
-0, 6055200, 38016, 0xd173155a
-0, 6058800, 38016, 0x210113ec
-0, 6062400, 38016, 0xa0c2f88f
-0, 6066000, 38016, 0x4fa1f4e2
-0, 6069600, 38016, 0x812df750
-0, 6073200, 38016, 0xfd5cea45
-0, 6076800, 38016, 0xb823ee4a
-0, 6080400, 38016, 0x3555d6bf
-0, 6084000, 38016, 0x6dabf021
-0, 6087600, 38016, 0x7ae0f191
-0, 6091200, 38016, 0xabdc1546
-0, 6094800, 38016, 0x36dd0dbb
-0, 6098400, 38016, 0x008ffe5f
-0, 6102000, 38016, 0xe956f9c0
-0, 6105600, 38016, 0x9823ee03
-0, 6109200, 38016, 0xf63fedde
-0, 6112800, 38016, 0x67530afb
-0, 6116400, 38016, 0x2da5e470
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x85d20fc6
+0, 1, 1, 1, 38016, 0xc0432c21
+0, 2, 2, 1, 38016, 0x1450168f
+0, 3, 3, 1, 38016, 0xeddb1833
+0, 4, 4, 1, 38016, 0x631216d4
+0, 5, 5, 1, 38016, 0xfcd1138b
+0, 6, 6, 1, 38016, 0x181f17d5
+0, 7, 7, 1, 38016, 0x3dc91855
+0, 8, 8, 1, 38016, 0x92b71924
+0, 9, 9, 1, 38016, 0xfcb6228d
+0, 10, 10, 1, 38016, 0x11d04b4a
+0, 11, 11, 1, 38016, 0x743a6a06
+0, 12, 12, 1, 38016, 0xac511cc3
+0, 13, 13, 1, 38016, 0x66bc1e2d
+0, 14, 14, 1, 38016, 0x6c761ef3
+0, 15, 15, 1, 38016, 0xa08a1ef5
+0, 16, 16, 1, 38016, 0x777270da
+0, 17, 17, 1, 38016, 0x9a738d9f
+0, 18, 18, 1, 38016, 0x31a8afa2
+0, 19, 19, 1, 38016, 0x1148cc11
+0, 20, 20, 1, 38016, 0xf5fa1f26
+0, 21, 21, 1, 38016, 0xc0481fbc
+0, 22, 22, 1, 38016, 0x461b2228
+0, 23, 23, 1, 38016, 0x27bb209d
+0, 24, 24, 1, 38016, 0xbe921f04
+0, 25, 25, 1, 38016, 0xabdbd493
+0, 26, 26, 1, 38016, 0x4f6ad36e
+0, 27, 27, 1, 38016, 0xe2f8d0ca
+0, 28, 28, 1, 38016, 0xd82aaea2
+0, 29, 29, 1, 38016, 0xb208854b
+0, 30, 30, 1, 38016, 0xfe632920
+0, 31, 31, 1, 38016, 0x1a8128ce
+0, 32, 32, 1, 38016, 0xd9ea2be9
+0, 33, 33, 1, 38016, 0x258b2ab0
+0, 34, 34, 1, 38016, 0xb5812bef
+0, 35, 35, 1, 38016, 0x00c92cdf
+0, 36, 36, 1, 38016, 0x4a6b9f6f
+0, 37, 37, 1, 38016, 0xb589b0a1
+0, 38, 38, 1, 38016, 0xf2d0bbca
+0, 39, 39, 1, 38016, 0xe614cce3
+0, 40, 40, 1, 38016, 0x6d81d01c
+0, 41, 41, 1, 38016, 0x7f32d175
+0, 42, 42, 1, 38016, 0x6abc2f40
+0, 43, 43, 1, 38016, 0x767d2f6a
+0, 44, 44, 1, 38016, 0xd64b30cf
+0, 45, 45, 1, 38016, 0xf83d3000
+0, 46, 46, 1, 38016, 0x5f3230d5
+0, 47, 47, 1, 38016, 0x80b330a0
+0, 48, 48, 1, 38016, 0x42c4326e
+0, 49, 49, 1, 38016, 0x7cb8d069
+0, 50, 50, 1, 38016, 0xb7bb9d2f
+0, 51, 51, 1, 38016, 0xf4f47c47
+0, 52, 52, 1, 38016, 0xe3455aa0
+0, 53, 53, 1, 38016, 0x3b074630
+0, 54, 54, 1, 38016, 0x1fd44e63
+0, 55, 55, 1, 38016, 0x5ecb6a07
+0, 56, 56, 1, 38016, 0xe3a130c9
+0, 57, 57, 1, 38016, 0x307f311a
+0, 58, 58, 1, 38016, 0x4e2d3202
+0, 59, 59, 1, 38016, 0x06ac31c1
+0, 60, 60, 1, 38016, 0x767931ab
+0, 61, 61, 1, 38016, 0xcb6433aa
+0, 62, 62, 1, 38016, 0xc88e3597
+0, 63, 63, 1, 38016, 0xfe06371f
+0, 64, 64, 1, 38016, 0x9e3c8a14
+0, 65, 65, 1, 38016, 0xba819e5b
+0, 66, 66, 1, 38016, 0x0017a693
+0, 67, 67, 1, 38016, 0x25aca2dd
+0, 68, 68, 1, 38016, 0x3bf5980d
+0, 69, 69, 1, 38016, 0x2a0ba2ae
+0, 70, 70, 1, 38016, 0x99e19853
+0, 71, 71, 1, 38016, 0x5e7a9699
+0, 72, 72, 1, 38016, 0x11983c1a
+0, 73, 73, 1, 38016, 0x5ab53cbf
+0, 74, 74, 1, 38016, 0x49803f12
+0, 75, 75, 1, 38016, 0xf1633fdc
+0, 76, 76, 1, 38016, 0x91de3ff3
+0, 77, 77, 1, 38016, 0x418942a1
+0, 78, 78, 1, 38016, 0x670c4277
+0, 79, 79, 1, 38016, 0xc04e403e
+0, 80, 80, 1, 38016, 0xa33e40ad
+0, 81, 81, 1, 38016, 0x7f959a9c
+0, 82, 82, 1, 38016, 0x096696ae
+0, 83, 83, 1, 38016, 0xdb41933c
+0, 84, 84, 1, 38016, 0xb26086b4
+0, 85, 85, 1, 38016, 0x80c97e07
+0, 86, 86, 1, 38016, 0xa7416837
+0, 87, 87, 1, 38016, 0xa82f6342
+0, 88, 88, 1, 38016, 0x8da16527
+0, 89, 89, 1, 38016, 0x1c1965a9
+0, 90, 90, 1, 38016, 0x09ad470c
+0, 91, 91, 1, 38016, 0x3f694725
+0, 92, 92, 1, 38016, 0xa7034699
+0, 93, 93, 1, 38016, 0x38104981
+0, 94, 94, 1, 38016, 0x216048b7
+0, 95, 95, 1, 38016, 0x24e04c22
+0, 96, 96, 1, 38016, 0xbb7e4871
+0, 97, 97, 1, 38016, 0x8c074b97
+0, 98, 98, 1, 38016, 0x92aa4b79
+0, 99, 99, 1, 38016, 0x073c4d97
+0, 100, 100, 1, 38016, 0xe225f953
+0, 101, 101, 1, 38016, 0xcaccf96b
+0, 102, 102, 1, 38016, 0xc395cd82
+0, 103, 103, 1, 38016, 0x8c61ad55
+0, 104, 104, 1, 38016, 0x6fb988f2
+0, 105, 105, 1, 38016, 0x99fe7aea
+0, 106, 106, 1, 38016, 0xab3c73bf
+0, 107, 107, 1, 38016, 0xcdb06bc4
+0, 108, 108, 1, 38016, 0x65a1540a
+0, 109, 109, 1, 38016, 0xc22f4fb0
+0, 110, 110, 1, 38016, 0xe5ca4830
+0, 111, 111, 1, 38016, 0x06b346f9
+0, 112, 112, 1, 38016, 0x02154629
+0, 113, 113, 1, 38016, 0x3d5e4467
+0, 114, 114, 1, 38016, 0x6aa4460c
+0, 115, 115, 1, 38016, 0x05bc47c4
+0, 116, 116, 1, 38016, 0xc46e4666
+0, 117, 117, 1, 38016, 0xc28145f5
+0, 118, 118, 1, 38016, 0xf57f4811
+0, 119, 119, 1, 38016, 0x1bbc49f8
+0, 120, 120, 1, 38016, 0x34e14c2c
+0, 121, 121, 1, 38016, 0x7e7d7740
+0, 122, 122, 1, 38016, 0x97d798f3
+0, 123, 123, 1, 38016, 0x7d71ca3b
+0, 124, 124, 1, 38016, 0xc6bc0776
+0, 125, 125, 1, 38016, 0xda052645
+0, 126, 126, 1, 38016, 0xf0b32de9
+0, 127, 127, 1, 38016, 0x996f23cf
+0, 128, 128, 1, 38016, 0x22ea1a43
+0, 129, 129, 1, 38016, 0xbde61021
+0, 130, 130, 1, 38016, 0x8180079d
+0, 131, 131, 1, 38016, 0x3ac6f314
+0, 132, 132, 1, 38016, 0x93604f67
+0, 133, 133, 1, 38016, 0xb9a55213
+0, 134, 134, 1, 38016, 0x89c8523c
+0, 135, 135, 1, 38016, 0x670a511b
+0, 136, 136, 1, 38016, 0x62395128
+0, 137, 137, 1, 38016, 0x01605431
+0, 138, 138, 1, 38016, 0x677253cd
+0, 139, 139, 1, 38016, 0xc57f56b1
+0, 140, 140, 1, 38016, 0x767f5679
+0, 141, 141, 1, 38016, 0x4abc5717
+0, 142, 142, 1, 38016, 0x838657dc
+0, 143, 143, 1, 38016, 0x63bf56ad
+0, 144, 144, 1, 38016, 0x7019c8ad
+0, 145, 145, 1, 38016, 0xebbaa7bf
+0, 146, 146, 1, 38016, 0xebbc8ddb
+0, 147, 147, 1, 38016, 0xea609f00
+0, 148, 148, 1, 38016, 0x88e6b1e4
+0, 149, 149, 1, 38016, 0x7f9edd6b
+0, 150, 150, 1, 38016, 0xeaf354a6
+0, 151, 151, 1, 38016, 0xf30274c9
+0, 152, 152, 1, 38016, 0x05a756da
+0, 153, 153, 1, 38016, 0xacea1ca6
+0, 154, 154, 1, 38016, 0x1520d86d
+0, 155, 155, 1, 38016, 0xb0f7afa4
+0, 156, 156, 1, 38016, 0xe33c5802
+0, 157, 157, 1, 38016, 0xce2a58cd
+0, 158, 158, 1, 38016, 0xd3ad5a30
+0, 159, 159, 1, 38016, 0x29aa5955
+0, 160, 160, 1, 38016, 0x59015aef
+0, 161, 161, 1, 38016, 0x247c5a72
+0, 162, 162, 1, 38016, 0x79a85b27
+0, 163, 163, 1, 38016, 0x6cf858fe
+0, 164, 164, 1, 38016, 0x78ec5b20
+0, 165, 165, 1, 38016, 0x7cb158c5
+0, 166, 166, 1, 38016, 0xc52c581f
+0, 167, 167, 1, 38016, 0x125c58bd
+0, 168, 168, 1, 38016, 0xf8b257c9
+0, 169, 169, 1, 38016, 0x20329756
+0, 170, 170, 1, 38016, 0x60a07c12
+0, 171, 171, 1, 38016, 0xa2c26ad1
+0, 172, 172, 1, 38016, 0xcbbc681b
+0, 173, 173, 1, 38016, 0x2c0562ad
+0, 174, 174, 1, 38016, 0x8a72640d
+0, 175, 175, 1, 38016, 0xe6e7756a
+0, 176, 176, 1, 38016, 0x64608a48
+0, 177, 177, 1, 38016, 0xe9bea9fa
+0, 178, 178, 1, 38016, 0x24bac776
+0, 179, 179, 1, 38016, 0x6aa9d01b
+0, 180, 180, 1, 38016, 0xf41ebb02
+0, 181, 181, 1, 38016, 0x28017154
+0, 182, 182, 1, 38016, 0x3fc55eb4
+0, 183, 183, 1, 38016, 0xe7bc5f22
+0, 184, 184, 1, 38016, 0xe6706162
+0, 185, 185, 1, 38016, 0xee385fe2
+0, 186, 186, 1, 38016, 0x79c0600b
+0, 187, 187, 1, 38016, 0x735a603f
+0, 188, 188, 1, 38016, 0xe7916199
+0, 189, 189, 1, 38016, 0x542d601d
+0, 190, 190, 1, 38016, 0xbfaa611a
+0, 191, 191, 1, 38016, 0xb7504e05
+0, 192, 192, 1, 38016, 0xd1964339
+0, 193, 193, 1, 38016, 0x4213278a
+0, 194, 194, 1, 38016, 0xb503229f
+0, 195, 195, 1, 38016, 0x166a091c
+0, 196, 196, 1, 38016, 0x37176bbc
+0, 197, 197, 1, 38016, 0x95977cc3
+0, 198, 198, 1, 38016, 0x5bab93f4
+0, 199, 199, 1, 38016, 0x71d5d142
+0, 200, 200, 1, 38016, 0x97d1cfa6
+0, 201, 201, 1, 38016, 0xac82ff20
+0, 202, 202, 1, 38016, 0x489a1fa1
+0, 203, 203, 1, 38016, 0x32944930
+0, 204, 204, 1, 38016, 0x72a2647c
+0, 205, 205, 1, 38016, 0x95b685d6
+0, 206, 206, 1, 38016, 0xb7e19840
+0, 207, 207, 1, 38016, 0x85569129
+0, 208, 208, 1, 38016, 0x6bc6a197
+0, 209, 209, 1, 38016, 0x55ccace8
+0, 210, 210, 1, 38016, 0x9bbdc9c2
+0, 211, 211, 1, 38016, 0xbce4ade3
+0, 212, 212, 1, 38016, 0x39c7c48a
+0, 213, 213, 1, 38016, 0x498ac4aa
+0, 214, 214, 1, 38016, 0xeda3b715
+0, 215, 215, 1, 38016, 0x700db089
+0, 216, 216, 1, 38016, 0xf6b6bf36
+0, 217, 217, 1, 38016, 0x6abebf1c
+0, 218, 218, 1, 38016, 0x8855c17c
+0, 219, 219, 1, 38016, 0xfba09dd5
+0, 220, 220, 1, 38016, 0xd5868240
+0, 221, 221, 1, 38016, 0x438074a2
+0, 222, 222, 1, 38016, 0xc8b2c501
+0, 223, 223, 1, 38016, 0xd48ec1ef
+0, 224, 224, 1, 38016, 0xa715c4be
+0, 225, 225, 1, 38016, 0xd758c281
+0, 226, 226, 1, 38016, 0x07c25900
+0, 227, 227, 1, 38016, 0xee7950e6
+0, 228, 228, 1, 38016, 0x3e154be9
+0, 229, 229, 1, 38016, 0xa8f33bb7
+0, 230, 230, 1, 38016, 0xf493bc3c
+0, 231, 231, 1, 38016, 0x9d69bccb
+0, 232, 232, 1, 38016, 0xbf9fbafa
+0, 233, 233, 1, 38016, 0x2e62b9a8
+0, 234, 234, 1, 38016, 0x2f41bae1
+0, 235, 235, 1, 38016, 0xd820355d
+0, 236, 236, 1, 38016, 0xf3623118
+0, 237, 237, 1, 38016, 0x659b4459
+0, 238, 238, 1, 38016, 0xdcd74654
+0, 239, 239, 1, 38016, 0x73f33f73
+0, 240, 240, 1, 38016, 0xbf96b5ec
+0, 241, 241, 1, 38016, 0xe9ebb550
+0, 242, 242, 1, 38016, 0xfe12b5dd
+0, 243, 243, 1, 38016, 0x9908b6d5
+0, 244, 244, 1, 38016, 0xe805b8cf
+0, 245, 245, 1, 38016, 0x1a8eb68a
+0, 246, 246, 1, 38016, 0x6aed288d
+0, 247, 247, 1, 38016, 0x162f167f
+0, 248, 248, 1, 38016, 0x49110ae5
+0, 249, 249, 1, 38016, 0xab060059
+0, 250, 250, 1, 38016, 0x0fb8a0a8
+0, 251, 251, 1, 38016, 0xf3b0b384
+0, 252, 252, 1, 38016, 0x6f32bb1b
+0, 253, 253, 1, 38016, 0x7278bb3a
+0, 254, 254, 1, 38016, 0xdeb1bdcf
+0, 255, 255, 1, 38016, 0x90efbc5c
+0, 256, 256, 1, 38016, 0xd2f6bb28
+0, 257, 257, 1, 38016, 0xba4dba32
+0, 258, 258, 1, 38016, 0x0751ba19
+0, 259, 259, 1, 38016, 0xc3f7b9db
+0, 260, 260, 1, 38016, 0xca22c433
+0, 261, 261, 1, 38016, 0x82a7e336
+0, 262, 262, 1, 38016, 0x45e90a19
+0, 263, 263, 1, 38016, 0x82cd2c11
+0, 264, 264, 1, 38016, 0x4e2e56cc
+0, 265, 265, 1, 38016, 0x0ad281c6
+0, 266, 266, 1, 38016, 0x8685b8b7
+0, 267, 267, 1, 38016, 0xe502b7b3
+0, 268, 268, 1, 38016, 0x4898b696
+0, 269, 269, 1, 38016, 0xe0fcb729
+0, 270, 270, 1, 38016, 0xe5e0b822
+0, 271, 271, 1, 38016, 0x9030b82c
+0, 272, 272, 1, 38016, 0x7dc6b93c
+0, 273, 273, 1, 38016, 0x727cb981
+0, 274, 274, 1, 38016, 0xb08999c9
+0, 275, 275, 1, 38016, 0x3e54b6d7
+0, 276, 276, 1, 38016, 0x5d15c1e2
+0, 277, 277, 1, 38016, 0x5840d8d7
+0, 278, 278, 1, 38016, 0x1109d730
+0, 279, 279, 1, 38016, 0xb898c47e
+0, 280, 280, 1, 38016, 0xbde196c6
+0, 281, 281, 1, 38016, 0x75999430
+0, 282, 282, 1, 38016, 0xa17db11e
+0, 283, 283, 1, 38016, 0xb428b220
+0, 284, 284, 1, 38016, 0x1537b1ed
+0, 285, 285, 1, 38016, 0x102ab213
+0, 286, 286, 1, 38016, 0xee38af9e
+0, 287, 287, 1, 38016, 0xc9c5b34e
+0, 288, 288, 1, 38016, 0x8618af6d
+0, 289, 289, 1, 38016, 0x97f3af7a
+0, 290, 290, 1, 38016, 0x222eb095
+0, 291, 291, 1, 38016, 0xb1508324
+0, 292, 292, 1, 38016, 0x2149ad09
+0, 293, 293, 1, 38016, 0x67261443
+0, 294, 294, 1, 38016, 0x90918df5
+0, 295, 295, 1, 38016, 0x5d43e726
+0, 296, 296, 1, 38016, 0x1d77dfa3
+0, 297, 297, 1, 38016, 0xa60b941c
+0, 298, 298, 1, 38016, 0x48813a99
+0, 299, 299, 1, 38016, 0x2324b77a
+0, 300, 300, 1, 38016, 0xdfd99d0d
+0, 301, 301, 1, 38016, 0x44129be1
+0, 302, 302, 1, 38016, 0x1137a099
+0, 303, 303, 1, 38016, 0xbd24a0a1
+0, 304, 304, 1, 38016, 0x3883a310
+0, 305, 305, 1, 38016, 0x0680a358
+0, 306, 306, 1, 38016, 0xf333a501
+0, 307, 307, 1, 38016, 0x3945a6ac
+0, 308, 308, 1, 38016, 0x79eea741
+0, 309, 309, 1, 38016, 0x8c7aa6b0
+0, 310, 310, 1, 38016, 0x0342642f
+0, 311, 311, 1, 38016, 0x83632b63
+0, 312, 312, 1, 38016, 0x1503ff51
+0, 313, 313, 1, 38016, 0xa4bcea0f
+0, 314, 314, 1, 38016, 0x37dcd11b
+0, 315, 315, 1, 38016, 0x9aa7287a
+0, 316, 316, 1, 38016, 0x34deae76
+0, 317, 317, 1, 38016, 0x51710057
+0, 318, 318, 1, 38016, 0x9ee6fc0a
+0, 319, 319, 1, 38016, 0xa419ea79
+0, 320, 320, 1, 38016, 0x49388f7e
+0, 321, 321, 1, 38016, 0x08498b2d
+0, 322, 322, 1, 38016, 0x104f8c4d
+0, 323, 323, 1, 38016, 0xdb998d74
+0, 324, 324, 1, 38016, 0xd54e8c95
+0, 325, 325, 1, 38016, 0x54a48e5e
+0, 326, 326, 1, 38016, 0xbe6f8cd0
+0, 327, 327, 1, 38016, 0x2a7f8ec2
+0, 328, 328, 1, 38016, 0x23848f19
+0, 329, 329, 1, 38016, 0x9b168ee3
+0, 330, 330, 1, 38016, 0xc2628fb6
+0, 331, 331, 1, 38016, 0xe2bdfd4e
+0, 332, 332, 1, 38016, 0xfdae1546
+0, 333, 333, 1, 38016, 0xb1fe20db
+0, 334, 334, 1, 38016, 0x5ebf23f0
+0, 335, 335, 1, 38016, 0xecbc1fcb
+0, 336, 336, 1, 38016, 0xe72e141c
+0, 337, 337, 1, 38016, 0xbad7f54d
+0, 338, 338, 1, 38016, 0x95ead3c6
+0, 339, 339, 1, 38016, 0xf5c6b948
+0, 340, 340, 1, 38016, 0x2f8b80ab
+0, 341, 341, 1, 38016, 0x0aed47a7
+0, 342, 342, 1, 38016, 0xdcb278e3
+0, 343, 343, 1, 38016, 0x2a677958
+0, 344, 344, 1, 38016, 0x45427ae8
+0, 345, 345, 1, 38016, 0xebce78de
+0, 346, 346, 1, 38016, 0xaf007bb1
+0, 347, 347, 1, 38016, 0xb4677cdb
+0, 348, 348, 1, 38016, 0xbf6d8024
+0, 349, 349, 1, 38016, 0xb67180de
+0, 350, 350, 1, 38016, 0xb1581358
+0, 351, 351, 1, 38016, 0x258f140d
+0, 352, 352, 1, 38016, 0x753d17e6
+0, 353, 353, 1, 38016, 0xf33816b4
+0, 354, 354, 1, 38016, 0x0d011c76
+0, 355, 355, 1, 38016, 0x48cfd85d
+0, 356, 356, 1, 38016, 0x13ce822d
+0, 357, 357, 1, 38016, 0x221a4468
+0, 358, 358, 1, 38016, 0x11364be7
+0, 359, 359, 1, 38016, 0xafc047b0
+0, 360, 360, 1, 38016, 0xeafd4217
+0, 361, 361, 1, 38016, 0x930b8a41
+0, 362, 362, 1, 38016, 0x2dda0bd2
+0, 363, 363, 1, 38016, 0x461cc3f2
+0, 364, 364, 1, 38016, 0xa99e962a
+0, 365, 365, 1, 38016, 0xc1d954ba
+0, 366, 366, 1, 38016, 0x0ce91a87
+0, 367, 367, 1, 38016, 0x10701e2d
+0, 368, 368, 1, 38016, 0x98c22205
+0, 369, 369, 1, 38016, 0xb76622f1
+0, 370, 370, 1, 38016, 0x6d1a22d4
+0, 371, 371, 1, 38016, 0x00ee23c5
+0, 372, 372, 1, 38016, 0xc38125e6
+0, 373, 373, 1, 38016, 0x8de52597
+0, 374, 374, 1, 38016, 0xec282293
+0, 375, 375, 1, 38016, 0xb50f2238
+0, 376, 376, 1, 38016, 0xbdcf1f9f
+0, 377, 377, 1, 38016, 0x5c6c1780
+0, 378, 378, 1, 38016, 0x41941237
+0, 379, 379, 1, 38016, 0x95ee1e69
+0, 380, 380, 1, 38016, 0x84b65009
+0, 381, 381, 1, 38016, 0x27bbf0ab
+0, 382, 382, 1, 38016, 0xdd86f4fb
+0, 383, 383, 1, 38016, 0x97733086
+0, 384, 384, 1, 38016, 0x3241472f
+0, 385, 385, 1, 38016, 0x5d050c50
+0, 386, 386, 1, 38016, 0x8378aa9b
+0, 387, 387, 1, 38016, 0x94f174cd
+0, 388, 388, 1, 38016, 0x5825df16
+0, 389, 389, 1, 38016, 0x5f362875
+0, 390, 390, 1, 38016, 0x30704cd6
+0, 391, 391, 1, 38016, 0xc74e3614
+0, 392, 392, 1, 38016, 0xe033eb04
+0, 393, 393, 1, 38016, 0x665be967
+0, 394, 394, 1, 38016, 0x95d5ed67
+0, 395, 395, 1, 38016, 0x37dfefc1
+0, 396, 396, 1, 38016, 0x1908ee8e
+0, 397, 397, 1, 38016, 0xf0cfee38
+0, 398, 398, 1, 38016, 0x871df078
+0, 399, 399, 1, 38016, 0xb2f2f0f9
+0, 400, 400, 1, 38016, 0xf955621f
+0, 401, 401, 1, 38016, 0xbd2365a5
+0, 402, 402, 1, 38016, 0xe70d6bb0
+0, 403, 403, 1, 38016, 0x857e6d00
+0, 404, 404, 1, 38016, 0x000d6ee5
+0, 405, 405, 1, 38016, 0x9a2f7244
+0, 406, 406, 1, 38016, 0xe8c2f83c
+0, 407, 407, 1, 38016, 0x23eb0377
+0, 408, 408, 1, 38016, 0xe0802a7f
+0, 409, 409, 1, 38016, 0x5dbc4d69
+0, 410, 410, 1, 38016, 0xa3031f36
+0, 411, 411, 1, 38016, 0x27fbb378
+0, 412, 412, 1, 38016, 0xeee9a313
+0, 413, 413, 1, 38016, 0x189b1e68
+0, 414, 414, 1, 38016, 0x9a90678a
+0, 415, 415, 1, 38016, 0x1a65ed20
+0, 416, 416, 1, 38016, 0x2f51beb7
+0, 417, 417, 1, 38016, 0x671ada9d
+0, 418, 418, 1, 38016, 0x30af355a
+0, 419, 419, 1, 38016, 0x1804d4f9
+0, 420, 420, 1, 38016, 0xee227951
+0, 421, 421, 1, 38016, 0x20dc3900
+0, 422, 422, 1, 38016, 0x334f82dc
+0, 423, 423, 1, 38016, 0xb1728506
+0, 424, 424, 1, 38016, 0x2236fc10
+0, 425, 425, 1, 38016, 0x80d2964d
+0, 426, 426, 1, 38016, 0x5e368712
+0, 427, 427, 1, 38016, 0x10408765
+0, 428, 428, 1, 38016, 0x4b3084c5
+0, 429, 429, 1, 38016, 0x975c473f
+0, 430, 430, 1, 38016, 0x6f16efa3
+0, 431, 431, 1, 38016, 0xe73aac5e
+0, 432, 432, 1, 38016, 0x996b6e24
+0, 433, 433, 1, 38016, 0x424f6f55
+0, 434, 434, 1, 38016, 0x33786d10
+0, 435, 435, 1, 38016, 0x8a0f6870
+0, 436, 436, 1, 38016, 0x5e8556d4
+0, 437, 437, 1, 38016, 0x863b2366
+0, 438, 438, 1, 38016, 0x3fa74842
+0, 439, 439, 1, 38016, 0x70208948
+0, 440, 440, 1, 38016, 0xcf005140
+0, 441, 441, 1, 38016, 0xa7585013
+0, 442, 442, 1, 38016, 0x61145096
+0, 443, 443, 1, 38016, 0x92b952a5
+0, 444, 444, 1, 38016, 0x35575235
+0, 445, 445, 1, 38016, 0x3e47ec63
+0, 446, 446, 1, 38016, 0xfce57b69
+0, 447, 447, 1, 38016, 0xf03815e6
+0, 448, 448, 1, 38016, 0xb5b6af64
+0, 449, 449, 1, 38016, 0x5e3f1b08
+0, 450, 450, 1, 38016, 0xd3f9ee61
+0, 451, 451, 1, 38016, 0xb8e2ee66
+0, 452, 452, 1, 38016, 0x86f8f4b5
+0, 453, 453, 1, 38016, 0x23c8f499
+0, 454, 454, 1, 38016, 0x634df498
+0, 455, 455, 1, 38016, 0xd2b3f570
+0, 456, 456, 1, 38016, 0x053e67d3
+0, 457, 457, 1, 38016, 0x8d2cbeb3
+0, 458, 458, 1, 38016, 0xba0b1e1c
+0, 459, 459, 1, 38016, 0x0f5c7d73
+0, 460, 460, 1, 38016, 0x46b2118a
+0, 461, 461, 1, 38016, 0x818ebae5
+0, 462, 462, 1, 38016, 0x4a7af8a9
+0, 463, 463, 1, 38016, 0x0c22f937
+0, 464, 464, 1, 38016, 0x967ef9b3
+0, 465, 465, 1, 38016, 0x530afd34
+0, 466, 466, 1, 38016, 0x2a00fdb6
+0, 467, 467, 1, 38016, 0xca14f913
+0, 468, 468, 1, 38016, 0x82b6f7bc
+0, 469, 469, 1, 38016, 0xd32879ec
+0, 470, 470, 1, 38016, 0x242b6920
+0, 471, 471, 1, 38016, 0x44fd66e4
+0, 472, 472, 1, 38016, 0x69d3479c
+0, 473, 473, 1, 38016, 0x41a63899
+0, 474, 474, 1, 38016, 0xfb370720
+0, 475, 475, 1, 38016, 0x5cf0f42d
+0, 476, 476, 1, 38016, 0x74e8ca33
+0, 477, 477, 1, 38016, 0x1f09cb30
+0, 478, 478, 1, 38016, 0xc5e8c1d8
+0, 479, 479, 1, 38016, 0x3a82bd74
+0, 480, 480, 1, 38016, 0xada0bd71
+0, 481, 481, 1, 38016, 0xe695bcc9
+0, 482, 482, 1, 38016, 0xc255bb45
+0, 483, 483, 1, 38016, 0x6deebbcd
+0, 484, 484, 1, 38016, 0x6bf5cef2
+0, 485, 485, 1, 38016, 0x8eaed078
+0, 486, 486, 1, 38016, 0x3a8addb0
+0, 487, 487, 1, 38016, 0x0f2bfe11
+0, 488, 488, 1, 38016, 0xe13d2e3b
+0, 489, 489, 1, 38016, 0x9bb7606f
+0, 490, 490, 1, 38016, 0x9fcc8899
+0, 491, 491, 1, 38016, 0xfa22a313
+0, 492, 492, 1, 38016, 0xc599b318
+0, 493, 493, 1, 38016, 0x33ecb361
+0, 494, 494, 1, 38016, 0x2ba8b2df
+0, 495, 495, 1, 38016, 0x0debb343
+0, 496, 496, 1, 38016, 0x8bbcb7cd
+0, 497, 497, 1, 38016, 0x093fbb20
+0, 498, 498, 1, 38016, 0x4340c0d2
+0, 499, 499, 1, 38016, 0xd765bcb8
+0, 500, 500, 1, 38016, 0xe9ea3103
+0, 501, 501, 1, 38016, 0x24d7a1ae
+0, 502, 502, 1, 38016, 0x9b9ac80f
+0, 503, 503, 1, 38016, 0x81b7da0c
+0, 504, 504, 1, 38016, 0xb7c5f017
+0, 505, 505, 1, 38016, 0xa0e9f9c1
+0, 506, 506, 1, 38016, 0x932111a9
+0, 507, 507, 1, 38016, 0x15fc17ba
+0, 508, 508, 1, 38016, 0x3c7710bd
+0, 509, 509, 1, 38016, 0xae1b0ba8
+0, 510, 510, 1, 38016, 0x7dc24093
+0, 511, 511, 1, 38016, 0x8b9042ad
+0, 512, 512, 1, 38016, 0x257f4c1c
+0, 513, 513, 1, 38016, 0xaa0442d8
+0, 514, 514, 1, 38016, 0xbedd462c
+0, 515, 515, 1, 38016, 0xa9bd4905
+0, 516, 516, 1, 38016, 0x69d74f50
+0, 517, 517, 1, 38016, 0x18143c0d
+0, 518, 518, 1, 38016, 0xd2eb5820
+0, 519, 519, 1, 38016, 0x94fb5e93
+0, 520, 520, 1, 38016, 0x3072f80d
+0, 521, 521, 1, 38016, 0xd838f186
+0, 522, 522, 1, 38016, 0x3e41e695
+0, 523, 523, 1, 38016, 0x66eef2cd
+0, 524, 524, 1, 38016, 0x3854ec56
+0, 525, 525, 1, 38016, 0x05d3f9c2
+0, 526, 526, 1, 38016, 0x53820cc3
+0, 527, 527, 1, 38016, 0x09d413ea
+0, 528, 528, 1, 38016, 0x82f217f2
+0, 529, 529, 1, 38016, 0x07b21d50
+0, 530, 530, 1, 38016, 0xd72155c2
+0, 531, 531, 1, 38016, 0x20b04c74
+0, 532, 532, 1, 38016, 0x5b8962f6
+0, 533, 533, 1, 38016, 0xfb8b72c9
+0, 534, 534, 1, 38016, 0x6d0f56a7
+0, 535, 535, 1, 38016, 0x97876300
+0, 536, 536, 1, 38016, 0xfd7f655f
+0, 537, 537, 1, 38016, 0x3e405ff6
+0, 538, 538, 1, 38016, 0x5ad27a20
+0, 539, 539, 1, 38016, 0x46125305
+0, 540, 540, 1, 38016, 0x91017b86
+0, 541, 541, 1, 38016, 0x5c150c66
+0, 542, 542, 1, 38016, 0xc3430969
+0, 543, 543, 1, 38016, 0x5f400689
+0, 544, 544, 1, 38016, 0x21ddf969
+0, 545, 545, 1, 38016, 0x5feff594
+0, 546, 546, 1, 38016, 0xb304f3c1
+0, 547, 547, 1, 38016, 0xa9c3f70e
+0, 548, 548, 1, 38016, 0x6014fa8e
+0, 549, 549, 1, 38016, 0x7198f22e
+0, 550, 550, 1, 38016, 0xe338e495
+0, 551, 551, 1, 38016, 0x9a69ea32
+0, 552, 552, 1, 38016, 0xc0cc5d05
+0, 553, 553, 1, 38016, 0xefa16044
+0, 554, 554, 1, 38016, 0x3e3c6120
+0, 555, 555, 1, 38016, 0x06ef63e1
+0, 556, 556, 1, 38016, 0x25d5631f
+0, 557, 557, 1, 38016, 0xbc8963ee
+0, 558, 558, 1, 38016, 0xc2336218
+0, 559, 559, 1, 38016, 0xb23965fd
+0, 560, 560, 1, 38016, 0x84c9651f
+0, 561, 561, 1, 38016, 0x41f6647a
+0, 562, 562, 1, 38016, 0xddbe6572
+0, 563, 563, 1, 38016, 0x113f65f2
+0, 564, 564, 1, 38016, 0x89beec24
+0, 565, 565, 1, 38016, 0x6490f37b
+0, 566, 566, 1, 38016, 0x15ecf84d
+0, 567, 567, 1, 38016, 0xa439f491
+0, 568, 568, 1, 38016, 0xda8bf5c4
+0, 569, 569, 1, 38016, 0x6bc2f96a
+0, 570, 570, 1, 38016, 0x243d0bac
+0, 571, 571, 1, 38016, 0xb7c611a2
+0, 572, 572, 1, 38016, 0x99243328
+0, 573, 573, 1, 38016, 0xa9534571
+0, 574, 574, 1, 38016, 0xa5a657bd
+0, 575, 575, 1, 38016, 0xd8d06892
+0, 576, 576, 1, 38016, 0xb4eb6c8d
+0, 577, 577, 1, 38016, 0xa3d36ca8
+0, 578, 578, 1, 38016, 0x153a6e9e
+0, 579, 579, 1, 38016, 0xf2607081
+0, 580, 580, 1, 38016, 0x799d7081
+0, 581, 581, 1, 38016, 0x377570cd
+0, 582, 582, 1, 38016, 0x90496e54
+0, 583, 583, 1, 38016, 0x1d4c746c
+0, 584, 584, 1, 38016, 0xbe5e72bb
+0, 585, 585, 1, 38016, 0x3c6a760d
+0, 586, 586, 1, 38016, 0xd4097614
+0, 587, 587, 1, 38016, 0xf45a7a28
+0, 588, 588, 1, 38016, 0x8fe37bb8
+0, 589, 589, 1, 38016, 0x966295dc
+0, 590, 590, 1, 38016, 0xb40da3df
+0, 591, 591, 1, 38016, 0x9714b2ac
+0, 592, 592, 1, 38016, 0xbdb3c61d
+0, 593, 593, 1, 38016, 0x12fcd320
+0, 594, 594, 1, 38016, 0x1ee8d858
+0, 595, 595, 1, 38016, 0x49e5e217
+0, 596, 596, 1, 38016, 0x92aef38e
+0, 597, 597, 1, 38016, 0xc26c0476
+0, 598, 598, 1, 38016, 0x8eed0e04
+0, 599, 599, 1, 38016, 0xe4e3118d
+0, 600, 600, 1, 38016, 0x282ce796
+0, 601, 601, 1, 38016, 0xbec801e1
+0, 602, 602, 1, 38016, 0x864afaf2
+0, 603, 603, 1, 38016, 0xe0860383
+0, 604, 604, 1, 38016, 0x4261001d
+0, 605, 605, 1, 38016, 0x976c0005
+0, 606, 606, 1, 38016, 0x69c40af3
+0, 607, 607, 1, 38016, 0xb3c00e18
+0, 608, 608, 1, 38016, 0x28300c2c
+0, 609, 609, 1, 38016, 0xf2d9ff9d
+0, 610, 610, 1, 38016, 0xcaeaf979
+0, 611, 611, 1, 38016, 0x6733f58e
+0, 612, 612, 1, 38016, 0x2bb80869
+0, 613, 613, 1, 38016, 0x3c370085
+0, 614, 614, 1, 38016, 0x11a2fa2a
+0, 615, 615, 1, 38016, 0x828ff770
+0, 616, 616, 1, 38016, 0x79bcf490
+0, 617, 617, 1, 38016, 0x31d5ee87
+0, 618, 618, 1, 38016, 0x6336f00d
+0, 619, 619, 1, 38016, 0x058af9d1
+0, 620, 620, 1, 38016, 0xff29eb2f
+0, 621, 621, 1, 38016, 0x3c3be1f4
+0, 622, 622, 1, 38016, 0xfbf5ddc2
+0, 623, 623, 1, 38016, 0x22a4d324
+0, 624, 624, 1, 38016, 0xb2d4d1d4
+0, 625, 625, 1, 38016, 0xa159171f
+0, 626, 626, 1, 38016, 0x61a80251
+0, 627, 627, 1, 38016, 0xe0429283
+0, 628, 628, 1, 38016, 0x5c255bd4
+0, 629, 629, 1, 38016, 0xdb0f57ac
+0, 630, 630, 1, 38016, 0x3c8bcbf0
+0, 631, 631, 1, 38016, 0x2be3d2ef
+0, 632, 632, 1, 38016, 0xcd2dc8cc
+0, 633, 633, 1, 38016, 0x6905c4cf
+0, 634, 634, 1, 38016, 0xd9c9c590
+0, 635, 635, 1, 38016, 0xa945cb51
+0, 636, 636, 1, 38016, 0x5c8458d3
+0, 637, 637, 1, 38016, 0xa1624b6e
+0, 638, 638, 1, 38016, 0xb167532e
+0, 639, 639, 1, 38016, 0x149d6413
+0, 640, 640, 1, 38016, 0x85d97340
+0, 641, 641, 1, 38016, 0x8f478203
+0, 642, 642, 1, 38016, 0x1902cc8e
+0, 643, 643, 1, 38016, 0x1521c5e5
+0, 644, 644, 1, 38016, 0xf2d6c7d8
+0, 645, 645, 1, 38016, 0x7150c510
+0, 646, 646, 1, 38016, 0xfc0ec330
+0, 647, 647, 1, 38016, 0x91c4c933
+0, 648, 648, 1, 38016, 0x5ec6cbc8
+0, 649, 649, 1, 38016, 0x23c0955c
+0, 650, 650, 1, 38016, 0x76fb7c27
+0, 651, 651, 1, 38016, 0x33c07597
+0, 652, 652, 1, 38016, 0x797b6acd
+0, 653, 653, 1, 38016, 0xc4945313
+0, 654, 654, 1, 38016, 0xa50f25da
+0, 655, 655, 1, 38016, 0x7bb6096c
+0, 656, 656, 1, 38016, 0x8a1acc48
+0, 657, 657, 1, 38016, 0x19a1c9b4
+0, 658, 658, 1, 38016, 0x4436cd03
+0, 659, 659, 1, 38016, 0xfd73d6fe
+0, 660, 660, 1, 38016, 0x25d3d4f0
+0, 661, 661, 1, 38016, 0x3acfcd98
+0, 662, 662, 1, 38016, 0x2ed3d071
+0, 663, 663, 1, 38016, 0x246fd4bd
+0, 664, 664, 1, 38016, 0x3e410c62
+0, 665, 665, 1, 38016, 0x29da1177
+0, 666, 666, 1, 38016, 0x039f1e46
+0, 667, 667, 1, 38016, 0x178d1e1a
+0, 668, 668, 1, 38016, 0x75561d47
+0, 669, 669, 1, 38016, 0x7d65193c
+0, 670, 670, 1, 38016, 0xd38d19a8
+0, 671, 671, 1, 38016, 0x39c92b20
+0, 672, 672, 1, 38016, 0x6c8aebc3
+0, 673, 673, 1, 38016, 0xd8d4f9be
+0, 674, 674, 1, 38016, 0x7e730a4a
+0, 675, 675, 1, 38016, 0xbfae1fee
+0, 676, 676, 1, 38016, 0x398f3484
+0, 677, 677, 1, 38016, 0xd8e84019
+0, 678, 678, 1, 38016, 0x2cf64db3
+0, 679, 679, 1, 38016, 0x7e074f09
+0, 680, 680, 1, 38016, 0xac384b5a
+0, 681, 681, 1, 38016, 0xd28b3a83
+0, 682, 682, 1, 38016, 0xa5ce5610
+0, 683, 683, 1, 38016, 0xde8565f7
+0, 684, 684, 1, 38016, 0x01397a1a
+0, 685, 685, 1, 38016, 0xdbdf7fb7
+0, 686, 686, 1, 38016, 0x8c1f8ba6
+0, 687, 687, 1, 38016, 0xab2a943c
+0, 688, 688, 1, 38016, 0x4f8b8421
+0, 689, 689, 1, 38016, 0x36f57b3a
+0, 690, 690, 1, 38016, 0x565c4dd9
+0, 691, 691, 1, 38016, 0x53c34715
+0, 692, 692, 1, 38016, 0x38fd4aaa
+0, 693, 693, 1, 38016, 0x4dca43eb
+0, 694, 694, 1, 38016, 0x1afe40f3
+0, 695, 695, 1, 38016, 0xc3dc43cc
+0, 696, 696, 1, 38016, 0x1d92431d
+0, 697, 697, 1, 38016, 0x3f794765
+0, 698, 698, 1, 38016, 0x1c5d4a71
+0, 699, 699, 1, 38016, 0xb601531e
+0, 700, 700, 1, 38016, 0x4d925d7c
+0, 701, 701, 1, 38016, 0x1c605f1e
+0, 702, 702, 1, 38016, 0x50ff5608
+0, 703, 703, 1, 38016, 0x8da14815
+0, 704, 704, 1, 38016, 0x53cc3007
+0, 705, 705, 1, 38016, 0x5ce82198
+0, 706, 706, 1, 38016, 0x074e15bc
+0, 707, 707, 1, 38016, 0x59fb13c9
+0, 708, 708, 1, 38016, 0xe28e13a6
+0, 709, 709, 1, 38016, 0xcb4f3fa8
+0, 710, 710, 1, 38016, 0x7fad560c
+0, 711, 711, 1, 38016, 0x7dbc614a
+0, 712, 712, 1, 38016, 0xe96f6d9c
+0, 713, 713, 1, 38016, 0xf3c47a74
+0, 714, 714, 1, 38016, 0xd2af8027
+0, 715, 715, 1, 38016, 0x504779d1
+0, 716, 716, 1, 38016, 0x876e7f5f
+0, 717, 717, 1, 38016, 0x959f8c3d
+0, 718, 718, 1, 38016, 0x64d690be
+0, 719, 719, 1, 38016, 0xdb899760
+0, 720, 720, 1, 38016, 0xbd229ba1
+0, 721, 721, 1, 38016, 0xdace575b
+0, 722, 722, 1, 38016, 0xfda46324
+0, 723, 723, 1, 38016, 0x57b75dbd
+0, 724, 724, 1, 38016, 0x264a59cf
+0, 725, 725, 1, 38016, 0xfde95cc8
+0, 726, 726, 1, 38016, 0x5116601b
+0, 727, 727, 1, 38016, 0x72e67205
+0, 728, 728, 1, 38016, 0xf1057674
+0, 729, 729, 1, 38016, 0x7e917eb9
+0, 730, 730, 1, 38016, 0x50ed8b28
+0, 731, 731, 1, 38016, 0x357a826c
+0, 732, 732, 1, 38016, 0xd68fa449
+0, 733, 733, 1, 38016, 0x3a839e39
+0, 734, 734, 1, 38016, 0x79469a1b
+0, 735, 735, 1, 38016, 0xa9ca9590
+0, 736, 736, 1, 38016, 0xbf399686
+0, 737, 737, 1, 38016, 0x40499eaf
+0, 738, 738, 1, 38016, 0x9972a76d
+0, 739, 739, 1, 38016, 0xa3d0aff4
+0, 740, 740, 1, 38016, 0xdf27b647
+0, 741, 741, 1, 38016, 0x4147c66e
+0, 742, 742, 1, 38016, 0x1378d1db
+0, 743, 743, 1, 38016, 0x1ca3d444
+0, 744, 744, 1, 38016, 0x464d9538
+0, 745, 745, 1, 38016, 0xaed28de9
+0, 746, 746, 1, 38016, 0xc77a9f86
+0, 747, 747, 1, 38016, 0x0882aa10
+0, 748, 748, 1, 38016, 0x206ac330
+0, 749, 749, 1, 38016, 0x63efd763
+0, 750, 750, 1, 38016, 0xbfe2e663
+0, 751, 751, 1, 38016, 0xfe6ff1ad
+0, 752, 752, 1, 38016, 0x60f9f47e
+0, 753, 753, 1, 38016, 0xba1cf0c0
+0, 754, 754, 1, 38016, 0x1880eb3d
+0, 755, 755, 1, 38016, 0xf0fdd350
+0, 756, 756, 1, 38016, 0xb678eedb
+0, 757, 757, 1, 38016, 0xa17cf5e4
+0, 758, 758, 1, 38016, 0x567fff2a
+0, 759, 759, 1, 38016, 0x52ab043b
+0, 760, 760, 1, 38016, 0x8e8b0bd9
+0, 761, 761, 1, 38016, 0x0f131a7e
+0, 762, 762, 1, 38016, 0x26aa2303
+0, 763, 763, 1, 38016, 0x70c12bab
+0, 764, 764, 1, 38016, 0xa8a93858
+0, 765, 765, 1, 38016, 0x289f3b94
+0, 766, 766, 1, 38016, 0x3d883605
+0, 767, 767, 1, 38016, 0xe171329e
+0, 768, 768, 1, 38016, 0x75292865
+0, 769, 769, 1, 38016, 0x1d2ac8dc
+0, 770, 770, 1, 38016, 0xa336aa94
+0, 771, 771, 1, 38016, 0xcede9906
+0, 772, 772, 1, 38016, 0x1c9a8b52
+0, 773, 773, 1, 38016, 0x2a9c8a78
+0, 774, 774, 1, 38016, 0x920a8583
+0, 775, 775, 1, 38016, 0xb3ee7e2d
+0, 776, 776, 1, 38016, 0x96be75fc
+0, 777, 777, 1, 38016, 0x2a8a68d2
+0, 778, 778, 1, 38016, 0xdf8e6baf
+0, 779, 779, 1, 38016, 0xd46570d1
+0, 780, 780, 1, 38016, 0x765b71af
+0, 781, 781, 1, 38016, 0x25fe71df
+0, 782, 782, 1, 38016, 0x9ca124e3
+0, 783, 783, 1, 38016, 0x77c51bab
+0, 784, 784, 1, 38016, 0x0b380db9
+0, 785, 785, 1, 38016, 0xb0be108b
+0, 786, 786, 1, 38016, 0x5c4808b8
+0, 787, 787, 1, 38016, 0x73331227
+0, 788, 788, 1, 38016, 0xce790cf2
+0, 789, 789, 1, 38016, 0x46ac0dfc
+0, 790, 790, 1, 38016, 0xdc310caf
+0, 791, 791, 1, 38016, 0x909c0606
+0, 792, 792, 1, 38016, 0x0756fb3e
+0, 793, 793, 1, 38016, 0x4eb0fb0d
+0, 794, 794, 1, 38016, 0x6276f6e2
+0, 795, 795, 1, 38016, 0x92e0f070
+0, 796, 796, 1, 38016, 0x6f2d793f
+0, 797, 797, 1, 38016, 0x215f704b
+0, 798, 798, 1, 38016, 0xf9b7765e
+0, 799, 799, 1, 38016, 0xdb6176bf
+0, 800, 800, 1, 38016, 0x2b5165eb
+0, 801, 801, 1, 38016, 0xf1145c06
+0, 802, 802, 1, 38016, 0x343f698d
+0, 803, 803, 1, 38016, 0xcb96713f
+0, 804, 804, 1, 38016, 0xc50f775a
+0, 805, 805, 1, 38016, 0xbb927e81
+0, 806, 806, 1, 38016, 0xa2497bd4
+0, 807, 807, 1, 38016, 0xe52b80fa
+0, 808, 808, 1, 38016, 0x900f7ac7
+0, 809, 809, 1, 38016, 0x77e77d0e
+0, 810, 810, 1, 38016, 0xdb33f302
+0, 811, 811, 1, 38016, 0xf0519288
+0, 812, 812, 1, 38016, 0x4552f487
+0, 813, 813, 1, 38016, 0xe7b5f34c
+0, 814, 814, 1, 38016, 0x0db18be6
+0, 815, 815, 1, 38016, 0xb9ba87c2
+0, 816, 816, 1, 38016, 0x1dc2f805
+0, 817, 817, 1, 38016, 0x4986f535
+0, 818, 818, 1, 38016, 0xc099f301
+0, 819, 819, 1, 38016, 0x3d8c6787
+0, 820, 820, 1, 38016, 0xd3a4796f
+0, 821, 821, 1, 38016, 0xfe01635f
+0, 822, 822, 1, 38016, 0xba8df082
+0, 823, 823, 1, 38016, 0x55f3f017
+0, 824, 824, 1, 38016, 0xf2d7f36a
+0, 825, 825, 1, 38016, 0x8bd8f7a1
+0, 826, 826, 1, 38016, 0xabcd638b
+0, 827, 827, 1, 38016, 0x69ae59ea
+0, 828, 828, 1, 38016, 0x5bf43408
+0, 829, 829, 1, 38016, 0x6466fd67
+0, 830, 830, 1, 38016, 0xc90effb4
+0, 831, 831, 1, 38016, 0x82110480
+0, 832, 832, 1, 38016, 0xb364f74b
+0, 833, 833, 1, 38016, 0x7f1efd76
+0, 834, 834, 1, 38016, 0x1a20f30f
+0, 835, 835, 1, 38016, 0x4b0fe377
+0, 836, 836, 1, 38016, 0x57b4c896
+0, 837, 837, 1, 38016, 0x92b1ab52
+0, 838, 838, 1, 38016, 0x10ceaf82
+0, 839, 839, 1, 38016, 0xc4d3b0b8
+0, 840, 840, 1, 38016, 0x68b9f314
+0, 841, 841, 1, 38016, 0xc627fd70
+0, 842, 842, 1, 38016, 0x5fc108dc
+0, 843, 843, 1, 38016, 0x0f1f12d7
+0, 844, 844, 1, 38016, 0x6edc208e
+0, 845, 845, 1, 38016, 0x91f824eb
+0, 846, 846, 1, 38016, 0x1464b836
+0, 847, 847, 1, 38016, 0x84c7c412
+0, 848, 848, 1, 38016, 0x3e8dd049
+0, 849, 849, 1, 38016, 0x493dd1a7
+0, 850, 850, 1, 38016, 0x25dfbd00
+0, 851, 851, 1, 38016, 0x140bbd33
+0, 852, 852, 1, 38016, 0x488e2db6
+0, 853, 853, 1, 38016, 0x9e4f2c0a
+0, 854, 854, 1, 38016, 0xd60928d3
+0, 855, 855, 1, 38016, 0x38b61e0b
+0, 856, 856, 1, 38016, 0xb6331660
+0, 857, 857, 1, 38016, 0x0a3a0e4c
+0, 858, 858, 1, 38016, 0x6ad9105b
+0, 859, 859, 1, 38016, 0x29a8cd6b
+0, 860, 860, 1, 38016, 0x35e1da7d
+0, 861, 861, 1, 38016, 0x824de492
+0, 862, 862, 1, 38016, 0x1c76d83c
+0, 863, 863, 1, 38016, 0xbe25d98d
+0, 864, 864, 1, 38016, 0x5efaf222
+0, 865, 865, 1, 38016, 0x17370266
+0, 866, 866, 1, 38016, 0x417a2375
+0, 867, 867, 1, 38016, 0xb7e423d3
+0, 868, 868, 1, 38016, 0x224020fe
+0, 869, 869, 1, 38016, 0x4bbe1ee9
+0, 870, 870, 1, 38016, 0x72aa1f21
+0, 871, 871, 1, 38016, 0xc810126d
+0, 872, 872, 1, 38016, 0x42730cd4
+0, 873, 873, 1, 38016, 0xfd510c5d
+0, 874, 874, 1, 38016, 0x7c6f1313
+0, 875, 875, 1, 38016, 0xc1b31b89
+0, 876, 876, 1, 38016, 0x57772339
+0, 877, 877, 1, 38016, 0x20922349
+0, 878, 878, 1, 38016, 0xea4f1a45
+0, 879, 879, 1, 38016, 0x79e214d2
+0, 880, 880, 1, 38016, 0x77521b5d
+0, 881, 881, 1, 38016, 0x5929276c
+0, 882, 882, 1, 38016, 0x40b3130d
+0, 883, 883, 1, 38016, 0x040a157e
+0, 884, 884, 1, 38016, 0x0de31983
+0, 885, 885, 1, 38016, 0xdb0a1852
+0, 886, 886, 1, 38016, 0x73111b91
+0, 887, 887, 1, 38016, 0xf7a61765
+0, 888, 888, 1, 38016, 0xc5dd2557
+0, 889, 889, 1, 38016, 0xabc32e16
+0, 890, 890, 1, 38016, 0x5f093823
+0, 891, 891, 1, 38016, 0x9f462f1e
+0, 892, 892, 1, 38016, 0x29822c19
+0, 893, 893, 1, 38016, 0x259a2697
+0, 894, 894, 1, 38016, 0x7ad61867
+0, 895, 895, 1, 38016, 0x32fe111f
+0, 896, 896, 1, 38016, 0xf65c1142
+0, 897, 897, 1, 38016, 0xc5b91a6d
+0, 898, 898, 1, 38016, 0x4461191e
+0, 899, 899, 1, 38016, 0x0458193a
+0, 900, 900, 1, 38016, 0x3ed084a9
+0, 901, 901, 1, 38016, 0x4dd28047
+0, 902, 902, 1, 38016, 0x18dd8523
+0, 903, 903, 1, 38016, 0x4ab87d32
+0, 904, 904, 1, 38016, 0xecd0824c
+0, 905, 905, 1, 38016, 0xae567d36
+0, 906, 906, 1, 38016, 0xfa2e82d0
+0, 907, 907, 1, 38016, 0xbce08c2e
+0, 908, 908, 1, 38016, 0x125094c4
+0, 909, 909, 1, 38016, 0x475e9b1d
+0, 910, 910, 1, 38016, 0x9b921150
+0, 911, 911, 1, 38016, 0x6f7b1124
+0, 912, 912, 1, 38016, 0xa1fe0d8b
+0, 913, 913, 1, 38016, 0x12930955
+0, 914, 914, 1, 38016, 0x3d981105
+0, 915, 915, 1, 38016, 0x92d92e3b
+0, 916, 916, 1, 38016, 0x29a33ed5
+0, 917, 917, 1, 38016, 0x8d0b578e
+0, 918, 918, 1, 38016, 0xda5571ba
+0, 919, 919, 1, 38016, 0xbc638172
+0, 920, 920, 1, 38016, 0x73fd9abb
+0, 921, 921, 1, 38016, 0x53df952b
+0, 922, 922, 1, 38016, 0xe1758a4c
+0, 923, 923, 1, 38016, 0x064f8812
+0, 924, 924, 1, 38016, 0xd9b08971
+0, 925, 925, 1, 38016, 0xfe6688a9
+0, 926, 926, 1, 38016, 0x3b50938b
+0, 927, 927, 1, 38016, 0x4e1a9c13
+0, 928, 928, 1, 38016, 0x63599bf0
+0, 929, 929, 1, 38016, 0x97e0957f
+0, 930, 930, 1, 38016, 0x5a6e98d7
+0, 931, 931, 1, 38016, 0xa4be8cf2
+0, 932, 932, 1, 38016, 0x53bb901e
+0, 933, 933, 1, 38016, 0x15f0994e
+0, 934, 934, 1, 38016, 0x71499a4b
+0, 935, 935, 1, 38016, 0xf41a87a5
+0, 936, 936, 1, 38016, 0x3e237999
+0, 937, 937, 1, 38016, 0xf77f5dd2
+0, 938, 938, 1, 38016, 0x89874799
+0, 939, 939, 1, 38016, 0x02d82294
+0, 940, 940, 1, 38016, 0xc5920154
+0, 941, 941, 1, 38016, 0x6e61f375
+0, 942, 942, 1, 38016, 0x41a6940c
+0, 943, 943, 1, 38016, 0x130b97f7
+0, 944, 944, 1, 38016, 0xdff09b51
+0, 945, 945, 1, 38016, 0xb2999bd6
+0, 946, 946, 1, 38016, 0x0bb99d20
+0, 947, 947, 1, 38016, 0x9f819633
+0, 948, 948, 1, 38016, 0x5bda9640
+0, 949, 949, 1, 38016, 0xdcf29321
+0, 950, 950, 1, 38016, 0xa6838a63
+0, 951, 951, 1, 38016, 0x820a825e
+0, 952, 952, 1, 38016, 0x69bb7859
+0, 953, 953, 1, 38016, 0x4a8c79c2
+0, 954, 954, 1, 38016, 0x1e97e67d
+0, 955, 955, 1, 38016, 0x1ad4de1b
+0, 956, 956, 1, 38016, 0xe8abeb33
+0, 957, 957, 1, 38016, 0xf3a51523
+0, 958, 958, 1, 38016, 0xb997399c
+0, 959, 959, 1, 38016, 0x9fee8105
+0, 960, 960, 1, 38016, 0xf2b6ada3
+0, 961, 961, 1, 38016, 0xe6f5bbb3
+0, 962, 962, 1, 38016, 0x8ed7ca9f
+0, 963, 963, 1, 38016, 0x711abc1a
+0, 964, 964, 1, 38016, 0x707ab544
+0, 965, 965, 1, 38016, 0x03b8af51
+0, 966, 966, 1, 38016, 0x50497b2c
+0, 967, 967, 1, 38016, 0x72b57a30
+0, 968, 968, 1, 38016, 0xfb6d8164
+0, 969, 969, 1, 38016, 0x88618e82
+0, 970, 970, 1, 38016, 0xb7369e49
+0, 971, 971, 1, 38016, 0x2502a3ca
+0, 972, 972, 1, 38016, 0x793aa276
+0, 973, 973, 1, 38016, 0x883a8ec6
+0, 974, 974, 1, 38016, 0x5f7784e5
+0, 975, 975, 1, 38016, 0xddfa7e94
+0, 976, 976, 1, 38016, 0xdb877fb8
+0, 977, 977, 1, 38016, 0x07e07f39
+0, 978, 978, 1, 38016, 0x412590fb
+0, 979, 979, 1, 38016, 0x1bd1b527
+0, 980, 980, 1, 38016, 0xbb6098c3
+0, 981, 981, 1, 38016, 0x5f1b8788
+0, 982, 982, 1, 38016, 0x42f068e8
+0, 983, 983, 1, 38016, 0x316b53bb
+0, 984, 984, 1, 38016, 0xbdbb3fa0
+0, 985, 985, 1, 38016, 0xa68f506c
+0, 986, 986, 1, 38016, 0xca355d03
+0, 987, 987, 1, 38016, 0xfafc6b88
+0, 988, 988, 1, 38016, 0x0f106535
+0, 989, 989, 1, 38016, 0xa4ae4e63
+0, 990, 990, 1, 38016, 0xb206400f
+0, 991, 991, 1, 38016, 0x3a5946d1
+0, 992, 992, 1, 38016, 0xca739868
+0, 993, 993, 1, 38016, 0xe6939d41
+0, 994, 994, 1, 38016, 0x2ec19a76
+0, 995, 995, 1, 38016, 0x614e96a4
+0, 996, 996, 1, 38016, 0x2c2b9348
+0, 997, 997, 1, 38016, 0xa00c7f1f
+0, 998, 998, 1, 38016, 0x95cb6eca
+0, 999, 999, 1, 38016, 0x069d6c4c
+0, 1000, 1000, 1, 38016, 0xe17e03e3
+0, 1001, 1001, 1, 38016, 0xa7491870
+0, 1002, 1002, 1, 38016, 0xacc91e48
+0, 1003, 1003, 1, 38016, 0x99eb1e2a
+0, 1004, 1004, 1, 38016, 0xb2eb1279
+0, 1005, 1005, 1, 38016, 0xa5020c77
+0, 1006, 1006, 1, 38016, 0xde966613
+0, 1007, 1007, 1, 38016, 0xac7f6e1e
+0, 1008, 1008, 1, 38016, 0x1c378a7a
+0, 1009, 1009, 1, 38016, 0x32e6d8a4
+0, 1010, 1010, 1, 38016, 0xecb8d286
+0, 1011, 1011, 1, 38016, 0xa497d941
+0, 1012, 1012, 1, 38016, 0x8ad7d36e
+0, 1013, 1013, 1, 38016, 0xdbd8a91a
+0, 1014, 1014, 1, 38016, 0x718f61d7
+0, 1015, 1015, 1, 38016, 0x862619cf
+0, 1016, 1016, 1, 38016, 0xaa049781
+0, 1017, 1017, 1, 38016, 0xd3986887
+0, 1018, 1018, 1, 38016, 0x9e9f5782
+0, 1019, 1019, 1, 38016, 0x2a9d4f70
+0, 1020, 1020, 1, 38016, 0x62b91421
+0, 1021, 1021, 1, 38016, 0x32313eaa
+0, 1022, 1022, 1, 38016, 0xf9bf1879
+0, 1023, 1023, 1, 38016, 0xc33c0811
+0, 1024, 1024, 1, 38016, 0xe9c21227
+0, 1025, 1025, 1, 38016, 0xf2922db6
+0, 1026, 1026, 1, 38016, 0x669d0627
+0, 1027, 1027, 1, 38016, 0x64c1048a
+0, 1028, 1028, 1, 38016, 0xdd28fa70
+0, 1029, 1029, 1, 38016, 0xd88e8b77
+0, 1030, 1030, 1, 38016, 0x3716bdb8
+0, 1031, 1031, 1, 38016, 0x1834ef57
+0, 1032, 1032, 1, 38016, 0xddb800b7
+0, 1033, 1033, 1, 38016, 0x140302cc
+0, 1034, 1034, 1, 38016, 0x7fa60568
+0, 1035, 1035, 1, 38016, 0x7cc6fd4b
+0, 1036, 1036, 1, 38016, 0xf14c2568
+0, 1037, 1037, 1, 38016, 0x2ee88bbc
+0, 1038, 1038, 1, 38016, 0x915cd143
+0, 1039, 1039, 1, 38016, 0x13ede5fa
+0, 1040, 1040, 1, 38016, 0x6615f63b
+0, 1041, 1041, 1, 38016, 0x8814f54f
+0, 1042, 1042, 1, 38016, 0xb53ef24a
+0, 1043, 1043, 1, 38016, 0xc6a8ee80
+0, 1044, 1044, 1, 38016, 0x9473ee09
+0, 1045, 1045, 1, 38016, 0x9b77d932
+0, 1046, 1046, 1, 38016, 0x142fc69a
+0, 1047, 1047, 1, 38016, 0xb238c6a2
+0, 1048, 1048, 1, 38016, 0x4364d302
+0, 1049, 1049, 1, 38016, 0xde39d174
+0, 1050, 1050, 1, 38016, 0x7fca7fa6
+0, 1051, 1051, 1, 38016, 0x77678d42
+0, 1052, 1052, 1, 38016, 0xaa7e8b68
+0, 1053, 1053, 1, 38016, 0xeecb8c89
+0, 1054, 1054, 1, 38016, 0x6e5e8980
+0, 1055, 1055, 1, 38016, 0x4f4a80de
+0, 1056, 1056, 1, 38016, 0xb3b5cee6
+0, 1057, 1057, 1, 38016, 0x0c72cf1c
+0, 1058, 1058, 1, 38016, 0xd83fd12d
+0, 1059, 1059, 1, 38016, 0x8deeda59
+0, 1060, 1060, 1, 38016, 0xe7fae46e
+0, 1061, 1061, 1, 38016, 0x8233ecd5
+0, 1062, 1062, 1, 38016, 0x0c32808c
+0, 1063, 1063, 1, 38016, 0xf43f8571
+0, 1064, 1064, 1, 38016, 0xae898f01
+0, 1065, 1065, 1, 38016, 0x5a4a99e9
+0, 1066, 1066, 1, 38016, 0x589f9b80
+0, 1067, 1067, 1, 38016, 0x6ca5a33b
+0, 1068, 1068, 1, 38016, 0x3811af0a
+0, 1069, 1069, 1, 38016, 0x8272eda7
+0, 1070, 1070, 1, 38016, 0xa807f046
+0, 1071, 1071, 1, 38016, 0x5b4fec80
+0, 1072, 1072, 1, 38016, 0xb6e6e7fa
+0, 1073, 1073, 1, 38016, 0x250cdb5c
+0, 1074, 1074, 1, 38016, 0x3f38e876
+0, 1075, 1075, 1, 38016, 0x8110e94a
+0, 1076, 1076, 1, 38016, 0x0f19abd7
+0, 1077, 1077, 1, 38016, 0x9e1ca9bd
+0, 1078, 1078, 1, 38016, 0x1f33abae
+0, 1079, 1079, 1, 38016, 0xff18ad65
+0, 1080, 1080, 1, 38016, 0x3d02b300
+0, 1081, 1081, 1, 38016, 0xb7a9b4b2
+0, 1082, 1082, 1, 38016, 0xd8cab454
+0, 1083, 1083, 1, 38016, 0xb48ab772
+0, 1084, 1084, 1, 38016, 0x7f98fe59
+0, 1085, 1085, 1, 38016, 0x786c1795
+0, 1086, 1086, 1, 38016, 0x013437ff
+0, 1087, 1087, 1, 38016, 0xba28622a
+0, 1088, 1088, 1, 38016, 0xf48486e1
+0, 1089, 1089, 1, 38016, 0xc13695c4
+0, 1090, 1090, 1, 38016, 0x1fc5a4d2
+0, 1091, 1091, 1, 38016, 0x016caefd
+0, 1092, 1092, 1, 38016, 0x76b8bc54
+0, 1093, 1093, 1, 38016, 0xcf63bdbc
+0, 1094, 1094, 1, 38016, 0xeb02c0e2
+0, 1095, 1095, 1, 38016, 0xb57dc067
+0, 1096, 1096, 1, 38016, 0x8ec8c058
+0, 1097, 1097, 1, 38016, 0xcb04be49
+0, 1098, 1098, 1, 38016, 0xceccbfac
+0, 1099, 1099, 1, 38016, 0x3408c0c3
+0, 1100, 1100, 1, 38016, 0xee526afa
+0, 1101, 1101, 1, 38016, 0xd7529aad
+0, 1102, 1102, 1, 38016, 0x98bd9221
+0, 1103, 1103, 1, 38016, 0x2fbd7e5a
+0, 1104, 1104, 1, 38016, 0x0fb8a8fc
+0, 1105, 1105, 1, 38016, 0xfd28af91
+0, 1106, 1106, 1, 38016, 0x81db9907
+0, 1107, 1107, 1, 38016, 0x1f0a8ae7
+0, 1108, 1108, 1, 38016, 0xd91e93e3
+0, 1109, 1109, 1, 38016, 0x5fe6b043
+0, 1110, 1110, 1, 38016, 0x2a618a48
+0, 1111, 1111, 1, 38016, 0xef1c8cc2
+0, 1112, 1112, 1, 38016, 0x928595ce
+0, 1113, 1113, 1, 38016, 0xf2a59a43
+0, 1114, 1114, 1, 38016, 0x61bf92d0
+0, 1115, 1115, 1, 38016, 0x584d840f
+0, 1116, 1116, 1, 38016, 0x42177cb1
+0, 1117, 1117, 1, 38016, 0x08867c3b
+0, 1118, 1118, 1, 38016, 0x5a89813b
+0, 1119, 1119, 1, 38016, 0xba558022
+0, 1120, 1120, 1, 38016, 0x3d58878a
+0, 1121, 1121, 1, 38016, 0x8d215911
+0, 1122, 1122, 1, 38016, 0xea27370c
+0, 1123, 1123, 1, 38016, 0x7e2a1a9c
+0, 1124, 1124, 1, 38016, 0xbb86f763
+0, 1125, 1125, 1, 38016, 0xf03fd3c7
+0, 1126, 1126, 1, 38016, 0x1eaac263
+0, 1127, 1127, 1, 38016, 0x8a4bd0e1
+0, 1128, 1128, 1, 38016, 0x5adcf66d
+0, 1129, 1129, 1, 38016, 0xa0320a89
+0, 1130, 1130, 1, 38016, 0x77338f96
+0, 1131, 1131, 1, 38016, 0xf3498f6a
+0, 1132, 1132, 1, 38016, 0x7e248dcf
+0, 1133, 1133, 1, 38016, 0xf7f68dcc
+0, 1134, 1134, 1, 38016, 0x5da597c9
+0, 1135, 1135, 1, 38016, 0x63db9d00
+0, 1136, 1136, 1, 38016, 0xd1f09e52
+0, 1137, 1137, 1, 38016, 0xfc7ba2e1
+0, 1138, 1138, 1, 38016, 0x8c26ab25
+0, 1139, 1139, 1, 38016, 0x6a45add3
+0, 1140, 1140, 1, 38016, 0x0dd7b2a2
+0, 1141, 1141, 1, 38016, 0x70c00c4f
+0, 1142, 1142, 1, 38016, 0x437e255e
+0, 1143, 1143, 1, 38016, 0x63dd455b
+0, 1144, 1144, 1, 38016, 0x01453a2e
+0, 1145, 1145, 1, 38016, 0x08c120af
+0, 1146, 1146, 1, 38016, 0xf3111451
+0, 1147, 1147, 1, 38016, 0xf3f10603
+0, 1148, 1148, 1, 38016, 0xb154fa41
+0, 1149, 1149, 1, 38016, 0x4734ee73
+0, 1150, 1150, 1, 38016, 0x28ca7926
+0, 1151, 1151, 1, 38016, 0xbb628234
+0, 1152, 1152, 1, 38016, 0x0ca1b42f
+0, 1153, 1153, 1, 38016, 0x8397b202
+0, 1154, 1154, 1, 38016, 0x9d92b832
+0, 1155, 1155, 1, 38016, 0x8fbeb4b2
+0, 1156, 1156, 1, 38016, 0x056aa904
+0, 1157, 1157, 1, 38016, 0x4e78a55c
+0, 1158, 1158, 1, 38016, 0xe8a8a265
+0, 1159, 1159, 1, 38016, 0xb703a17b
+0, 1160, 1160, 1, 38016, 0xe79e9d71
+0, 1161, 1161, 1, 38016, 0xbd769f5d
+0, 1162, 1162, 1, 38016, 0x602ea70f
+0, 1163, 1163, 1, 38016, 0x034caf76
+0, 1164, 1164, 1, 38016, 0x28dd9702
+0, 1165, 1165, 1, 38016, 0xc8879c85
+0, 1166, 1166, 1, 38016, 0x15b098f2
+0, 1167, 1167, 1, 38016, 0xf34b9ce5
+0, 1168, 1168, 1, 38016, 0x6d159fbf
+0, 1169, 1169, 1, 38016, 0x22eb9cac
+0, 1170, 1170, 1, 38016, 0xae42a220
+0, 1171, 1171, 1, 38016, 0x1275a131
+0, 1172, 1172, 1, 38016, 0x8188a057
+0, 1173, 1173, 1, 38016, 0x65dea0d1
+0, 1174, 1174, 1, 38016, 0x5bd19be2
+0, 1175, 1175, 1, 38016, 0xfbd99219
+0, 1176, 1176, 1, 38016, 0xad19b3a2
+0, 1177, 1177, 1, 38016, 0xa897bb92
+0, 1178, 1178, 1, 38016, 0x5b1fbf2e
+0, 1179, 1179, 1, 38016, 0x02a5cb24
+0, 1180, 1180, 1, 38016, 0xd6ead6fe
+0, 1181, 1181, 1, 38016, 0x3083de8a
+0, 1182, 1182, 1, 38016, 0xbf1decb4
+0, 1183, 1183, 1, 38016, 0xd92af986
+0, 1184, 1184, 1, 38016, 0x4c520154
+0, 1185, 1185, 1, 38016, 0xd45805a1
+0, 1186, 1186, 1, 38016, 0x25e2084d
+0, 1187, 1187, 1, 38016, 0x4e3d0960
+0, 1188, 1188, 1, 38016, 0x5b449ef2
+0, 1189, 1189, 1, 38016, 0xda15abcc
+0, 1190, 1190, 1, 38016, 0x1b3ba622
+0, 1191, 1191, 1, 38016, 0xaf61a32a
+0, 1192, 1192, 1, 38016, 0xcfa39e3d
+0, 1193, 1193, 1, 38016, 0x8865a56c
+0, 1194, 1194, 1, 38016, 0x3bc9af9b
+0, 1195, 1195, 1, 38016, 0x0a83c081
+0, 1196, 1196, 1, 38016, 0x5ccec976
+0, 1197, 1197, 1, 38016, 0x1f1fc906
+0, 1198, 1198, 1, 38016, 0x1ef6cc46
+0, 1199, 1199, 1, 38016, 0x7776c39e
+0, 1200, 1200, 1, 38016, 0x5860a212
+0, 1201, 1201, 1, 38016, 0x2d9092a3
+0, 1202, 1202, 1, 38016, 0x964d9f81
+0, 1203, 1203, 1, 38016, 0xc35c9691
+0, 1204, 1204, 1, 38016, 0x5e0dc673
+0, 1205, 1205, 1, 38016, 0xada3b7d6
+0, 1206, 1206, 1, 38016, 0x4f3a8d03
+0, 1207, 1207, 1, 38016, 0xfcb4861a
+0, 1208, 1208, 1, 38016, 0xfa908149
+0, 1209, 1209, 1, 38016, 0x6994c514
+0, 1210, 1210, 1, 38016, 0x37c5aaa9
+0, 1211, 1211, 1, 38016, 0x207abcfe
+0, 1212, 1212, 1, 38016, 0x778d7a2d
+0, 1213, 1213, 1, 38016, 0x60b773ff
+0, 1214, 1214, 1, 38016, 0x41cd67d5
+0, 1215, 1215, 1, 38016, 0x3c595a99
+0, 1216, 1216, 1, 38016, 0xd672b14c
+0, 1217, 1217, 1, 38016, 0x7db2c0fd
+0, 1218, 1218, 1, 38016, 0x3d21cf34
+0, 1219, 1219, 1, 38016, 0xdd1cf044
+0, 1220, 1220, 1, 38016, 0xc4594bcb
+0, 1221, 1221, 1, 38016, 0x595e4356
+0, 1222, 1222, 1, 38016, 0x9cc53c0d
+0, 1223, 1223, 1, 38016, 0x78fc325f
+0, 1224, 1224, 1, 38016, 0xc632324f
+0, 1225, 1225, 1, 38016, 0x18b1f5c1
+0, 1226, 1226, 1, 38016, 0x63aff55e
+0, 1227, 1227, 1, 38016, 0x8a50fb04
+0, 1228, 1228, 1, 38016, 0x7d5e20f6
+0, 1229, 1229, 1, 38016, 0xc31114bb
+0, 1230, 1230, 1, 38016, 0xf4852e6e
+0, 1231, 1231, 1, 38016, 0x9b6927ba
+0, 1232, 1232, 1, 38016, 0x024836c2
+0, 1233, 1233, 1, 38016, 0x20843b21
+0, 1234, 1234, 1, 38016, 0x19134055
+0, 1235, 1235, 1, 38016, 0x1cd843f7
+0, 1236, 1236, 1, 38016, 0x122705b1
+0, 1237, 1237, 1, 38016, 0x1880fc3d
+0, 1238, 1238, 1, 38016, 0x78dbfeaf
+0, 1239, 1239, 1, 38016, 0x212c273d
+0, 1240, 1240, 1, 38016, 0xff2eb7be
+0, 1241, 1241, 1, 38016, 0xe0bd752d
+0, 1242, 1242, 1, 38016, 0x277b478a
+0, 1243, 1243, 1, 38016, 0x59e84ab2
+0, 1244, 1244, 1, 38016, 0x338a50e4
+0, 1245, 1245, 1, 38016, 0xaf715a99
+0, 1246, 1246, 1, 38016, 0xd1e459a8
+0, 1247, 1247, 1, 38016, 0x70da4ac9
+0, 1248, 1248, 1, 38016, 0xa695540d
+0, 1249, 1249, 1, 38016, 0x9385320b
+0, 1250, 1250, 1, 38016, 0x9a8703cd
+0, 1251, 1251, 1, 38016, 0xbeda239e
+0, 1252, 1252, 1, 38016, 0x5bf262c1
+0, 1253, 1253, 1, 38016, 0x9b216899
+0, 1254, 1254, 1, 38016, 0x52f24135
+0, 1255, 1255, 1, 38016, 0x75a23955
+0, 1256, 1256, 1, 38016, 0xb92f4ea2
+0, 1257, 1257, 1, 38016, 0xdac95333
+0, 1258, 1258, 1, 38016, 0x1a2d4ed4
+0, 1259, 1259, 1, 38016, 0xfce25650
+0, 1260, 1260, 1, 38016, 0x1e264fdd
+0, 1261, 1261, 1, 38016, 0xe77349b8
+0, 1262, 1262, 1, 38016, 0x7d2046b0
+0, 1263, 1263, 1, 38016, 0x65373899
+0, 1264, 1264, 1, 38016, 0x3b3569ae
+0, 1265, 1265, 1, 38016, 0x346485d0
+0, 1266, 1266, 1, 38016, 0x80b93e57
+0, 1267, 1267, 1, 38016, 0xeb724ba5
+0, 1268, 1268, 1, 38016, 0x533d7459
+0, 1269, 1269, 1, 38016, 0x60f957a7
+0, 1270, 1270, 1, 38016, 0x900281b2
+0, 1271, 1271, 1, 38016, 0xf4489e06
+0, 1272, 1272, 1, 38016, 0xe77730c9
+0, 1273, 1273, 1, 38016, 0x41b23060
+0, 1274, 1274, 1, 38016, 0x4e8c3012
+0, 1275, 1275, 1, 38016, 0x651f2cff
+0, 1276, 1276, 1, 38016, 0x787b2e99
+0, 1277, 1277, 1, 38016, 0x541e2d10
+0, 1278, 1278, 1, 38016, 0x27a824a3
+0, 1279, 1279, 1, 38016, 0xe1e72121
+0, 1280, 1280, 1, 38016, 0xffb52626
+0, 1281, 1281, 1, 38016, 0x7677c8c9
+0, 1282, 1282, 1, 38016, 0xa501d38f
+0, 1283, 1283, 1, 38016, 0xa6d2c5dc
+0, 1284, 1284, 1, 38016, 0xba94d1c1
+0, 1285, 1285, 1, 38016, 0x137dac4d
+0, 1286, 1286, 1, 38016, 0x65c1bd6e
+0, 1287, 1287, 1, 38016, 0x7a32cd65
+0, 1288, 1288, 1, 38016, 0x518adf61
+0, 1289, 1289, 1, 38016, 0x8baaee58
+0, 1290, 1290, 1, 38016, 0xe7642712
+0, 1291, 1291, 1, 38016, 0xba191b45
+0, 1292, 1292, 1, 38016, 0x93dd16b1
+0, 1293, 1293, 1, 38016, 0x22831478
+0, 1294, 1294, 1, 38016, 0xe48c103a
+0, 1295, 1295, 1, 38016, 0x7c2709e7
+0, 1296, 1296, 1, 38016, 0xd7d8f454
+0, 1297, 1297, 1, 38016, 0xc504f31a
+0, 1298, 1298, 1, 38016, 0x2510e4ae
+0, 1299, 1299, 1, 38016, 0x0b56d119
+0, 1300, 1300, 1, 38016, 0x6c248150
+0, 1301, 1301, 1, 38016, 0xbac4be42
+0, 1302, 1302, 1, 38016, 0x5787c4a8
+0, 1303, 1303, 1, 38016, 0x65b3d0bd
+0, 1304, 1304, 1, 38016, 0xdcc4efbd
+0, 1305, 1305, 1, 38016, 0xfe92f78b
+0, 1306, 1306, 1, 38016, 0xfda60c1c
+0, 1307, 1307, 1, 38016, 0x4997238e
+0, 1308, 1308, 1, 38016, 0xfaca43ca
+0, 1309, 1309, 1, 38016, 0x81fe533c
+0, 1310, 1310, 1, 38016, 0x350bcb11
+0, 1311, 1311, 1, 38016, 0xacfdcde4
+0, 1312, 1312, 1, 38016, 0xb039c663
+0, 1313, 1313, 1, 38016, 0x3402c942
+0, 1314, 1314, 1, 38016, 0x388bc3d0
+0, 1315, 1315, 1, 38016, 0x85dec11a
+0, 1316, 1316, 1, 38016, 0xdfc2be86
+0, 1317, 1317, 1, 38016, 0x515cc1a9
+0, 1318, 1318, 1, 38016, 0xc7ddb990
+0, 1319, 1319, 1, 38016, 0x043fb332
+0, 1320, 1320, 1, 38016, 0x5b05b3a7
+0, 1321, 1321, 1, 38016, 0xacdf9836
+0, 1322, 1322, 1, 38016, 0x55079a49
+0, 1323, 1323, 1, 38016, 0x5de2d90d
+0, 1324, 1324, 1, 38016, 0x7f9deb52
+0, 1325, 1325, 1, 38016, 0x83ddc6d9
+0, 1326, 1326, 1, 38016, 0x77ecdc93
+0, 1327, 1327, 1, 38016, 0x745fe832
+0, 1328, 1328, 1, 38016, 0x920bf8e7
+0, 1329, 1329, 1, 38016, 0xd9fc1803
+0, 1330, 1330, 1, 38016, 0x06c13052
+0, 1331, 1331, 1, 38016, 0x4a962b49
+0, 1332, 1332, 1, 38016, 0xd4a7b571
+0, 1333, 1333, 1, 38016, 0xdb76bd1e
+0, 1334, 1334, 1, 38016, 0x11a4be41
+0, 1335, 1335, 1, 38016, 0x575eb740
+0, 1336, 1336, 1, 38016, 0x7f11bb5c
+0, 1337, 1337, 1, 38016, 0x0f97b9b5
+0, 1338, 1338, 1, 38016, 0xa421bc1e
+0, 1339, 1339, 1, 38016, 0x2510bda8
+0, 1340, 1340, 1, 38016, 0x5ec1c3c2
+0, 1341, 1341, 1, 38016, 0xab02c212
+0, 1342, 1342, 1, 38016, 0x7862c24a
+0, 1343, 1343, 1, 38016, 0x3654c47c
+0, 1344, 1344, 1, 38016, 0x6e4f3fd5
+0, 1345, 1345, 1, 38016, 0x77b54c6f
+0, 1346, 1346, 1, 38016, 0x51016691
+0, 1347, 1347, 1, 38016, 0x5c2e7a7a
+0, 1348, 1348, 1, 38016, 0x29aea461
+0, 1349, 1349, 1, 38016, 0x8f4397b1
+0, 1350, 1350, 1, 38016, 0x8af41dba
+0, 1351, 1351, 1, 38016, 0x4c1154ca
+0, 1352, 1352, 1, 38016, 0xe23e6e91
+0, 1353, 1353, 1, 38016, 0xd0617571
+0, 1354, 1354, 1, 38016, 0x2ab88348
+0, 1355, 1355, 1, 38016, 0x8bf1a109
+0, 1356, 1356, 1, 38016, 0xfdd4c390
+0, 1357, 1357, 1, 38016, 0x17b8c6bf
+0, 1358, 1358, 1, 38016, 0xa012bd5d
+0, 1359, 1359, 1, 38016, 0x4c16cee2
+0, 1360, 1360, 1, 38016, 0x739fcfae
+0, 1361, 1361, 1, 38016, 0x3edae498
+0, 1362, 1362, 1, 38016, 0x0d38e4ad
+0, 1363, 1363, 1, 38016, 0x896cea10
+0, 1364, 1364, 1, 38016, 0x13a0f1a9
+0, 1365, 1365, 1, 38016, 0xfe70eeb4
+0, 1366, 1366, 1, 38016, 0x540bf40e
+0, 1367, 1367, 1, 38016, 0xee20f65e
+0, 1368, 1368, 1, 38016, 0x8404fdf7
+0, 1369, 1369, 1, 38016, 0x1c71b182
+0, 1370, 1370, 1, 38016, 0x96e4c5cc
+0, 1371, 1371, 1, 38016, 0x6aa1dcf1
+0, 1372, 1372, 1, 38016, 0x4549ed9b
+0, 1373, 1373, 1, 38016, 0xd50bffba
+0, 1374, 1374, 1, 38016, 0x22701379
+0, 1375, 1375, 1, 38016, 0x19462a6b
+0, 1376, 1376, 1, 38016, 0x4f6b41e0
+0, 1377, 1377, 1, 38016, 0x9d344fcc
+0, 1378, 1378, 1, 38016, 0x60625fa9
+0, 1379, 1379, 1, 38016, 0xeb377eae
+0, 1380, 1380, 1, 38016, 0x0d9f945d
+0, 1381, 1381, 1, 38016, 0x4d0fb1dc
+0, 1382, 1382, 1, 38016, 0x0b580421
+0, 1383, 1383, 1, 38016, 0x30f3191a
+0, 1384, 1384, 1, 38016, 0xc5f7295c
+0, 1385, 1385, 1, 38016, 0xc4ad35e9
+0, 1386, 1386, 1, 38016, 0x25964387
+0, 1387, 1387, 1, 38016, 0x3a805820
+0, 1388, 1388, 1, 38016, 0x67e26985
+0, 1389, 1389, 1, 38016, 0x518f7941
+0, 1390, 1390, 1, 38016, 0x2a7982e1
+0, 1391, 1391, 1, 38016, 0x54aa84f0
+0, 1392, 1392, 1, 38016, 0x3d808f45
+0, 1393, 1393, 1, 38016, 0x5dae923c
+0, 1394, 1394, 1, 38016, 0xa2a99ccf
+0, 1395, 1395, 1, 38016, 0xefdd9a77
+0, 1396, 1396, 1, 38016, 0x246fcfa5
+0, 1397, 1397, 1, 38016, 0xe315cbcd
+0, 1398, 1398, 1, 38016, 0x4825df58
+0, 1399, 1399, 1, 38016, 0x0e241554
+0, 1400, 1400, 1, 38016, 0x968d8433
+0, 1401, 1401, 1, 38016, 0x97eec628
+0, 1402, 1402, 1, 38016, 0x7c4cb603
+0, 1403, 1403, 1, 38016, 0x6d11e7bf
+0, 1404, 1404, 1, 38016, 0xae041b61
+0, 1405, 1405, 1, 38016, 0x385e040c
+0, 1406, 1406, 1, 38016, 0x449e357a
+0, 1407, 1407, 1, 38016, 0x997f4aac
+0, 1408, 1408, 1, 38016, 0xd68c4f8b
+0, 1409, 1409, 1, 38016, 0xb3b962eb
+0, 1410, 1410, 1, 38016, 0x4685adc2
+0, 1411, 1411, 1, 38016, 0xed0d7473
+0, 1412, 1412, 1, 38016, 0xd069c0bb
+0, 1413, 1413, 1, 38016, 0x76abcd8e
+0, 1414, 1414, 1, 38016, 0xd6c096da
+0, 1415, 1415, 1, 38016, 0x76c2bab5
+0, 1416, 1416, 1, 38016, 0x1461dfb3
+0, 1417, 1417, 1, 38016, 0xf979f59f
+0, 1418, 1418, 1, 38016, 0x0554f985
+0, 1419, 1419, 1, 38016, 0x11c6d2a3
+0, 1420, 1420, 1, 38016, 0xe6e3faee
+0, 1421, 1421, 1, 38016, 0x6ceafbcc
+0, 1422, 1422, 1, 38016, 0x429b02e1
+0, 1423, 1423, 1, 38016, 0x97bd03f1
+0, 1424, 1424, 1, 38016, 0x78330c48
+0, 1425, 1425, 1, 38016, 0xb2720325
+0, 1426, 1426, 1, 38016, 0x26d412ab
+0, 1427, 1427, 1, 38016, 0xb6fb1b5c
+0, 1428, 1428, 1, 38016, 0xde8d300a
+0, 1429, 1429, 1, 38016, 0x7d28450e
+0, 1430, 1430, 1, 38016, 0xb3c5fbef
+0, 1431, 1431, 1, 38016, 0x2222f726
+0, 1432, 1432, 1, 38016, 0x66f7f42f
+0, 1433, 1433, 1, 38016, 0xef8af722
+0, 1434, 1434, 1, 38016, 0x4ac0f8d7
+0, 1435, 1435, 1, 38016, 0x5bfe5c81
+0, 1436, 1436, 1, 38016, 0x4afb6df9
+0, 1437, 1437, 1, 38016, 0xa8128a37
+0, 1438, 1438, 1, 38016, 0x1fc79ed0
+0, 1439, 1439, 1, 38016, 0x9967a997
+0, 1440, 1440, 1, 38016, 0x7bb5f6e1
+0, 1441, 1441, 1, 38016, 0xdda90122
+0, 1442, 1442, 1, 38016, 0x81700c1a
+0, 1443, 1443, 1, 38016, 0x9e121e77
+0, 1444, 1444, 1, 38016, 0xf58926a3
+0, 1445, 1445, 1, 38016, 0x4d1431a4
+0, 1446, 1446, 1, 38016, 0x0de6e741
+0, 1447, 1447, 1, 38016, 0x3ae9f601
+0, 1448, 1448, 1, 38016, 0xbed2e950
+0, 1449, 1449, 1, 38016, 0x619f100d
+0, 1450, 1450, 1, 38016, 0x6fa4a4e2
+0, 1451, 1451, 1, 38016, 0x316cddcd
+0, 1452, 1452, 1, 38016, 0x03132791
+0, 1453, 1453, 1, 38016, 0x10122784
+0, 1454, 1454, 1, 38016, 0x0e732980
+0, 1455, 1455, 1, 38016, 0x382d26f9
+0, 1456, 1456, 1, 38016, 0x651028fd
+0, 1457, 1457, 1, 38016, 0x61732850
+0, 1458, 1458, 1, 38016, 0x47912dde
+0, 1459, 1459, 1, 38016, 0xe3a12fdc
+0, 1460, 1460, 1, 38016, 0x8bc332ff
+0, 1461, 1461, 1, 38016, 0xcc3a3cdc
+0, 1462, 1462, 1, 38016, 0x190e2fec
+0, 1463, 1463, 1, 38016, 0x236c3291
+0, 1464, 1464, 1, 38016, 0xc0e55dd3
+0, 1465, 1465, 1, 38016, 0x06c85411
+0, 1466, 1466, 1, 38016, 0x0c0b3091
+0, 1467, 1467, 1, 38016, 0x8c1333cd
+0, 1468, 1468, 1, 38016, 0x51b339a5
+0, 1469, 1469, 1, 38016, 0x2d5b33ef
+0, 1470, 1470, 1, 38016, 0x73f0395b
+0, 1471, 1471, 1, 38016, 0x505b42d3
+0, 1472, 1472, 1, 38016, 0x56e44c7f
+0, 1473, 1473, 1, 38016, 0x26465781
+0, 1474, 1474, 1, 38016, 0x1d14800d
+0, 1475, 1475, 1, 38016, 0x752cb297
+0, 1476, 1476, 1, 38016, 0x0c3ab720
+0, 1477, 1477, 1, 38016, 0x21c2f136
+0, 1478, 1478, 1, 38016, 0xbae8b293
+0, 1479, 1479, 1, 38016, 0xe4b2fe9b
+0, 1480, 1480, 1, 38016, 0xfaaf0394
+0, 1481, 1481, 1, 38016, 0xa6f61d4b
+0, 1482, 1482, 1, 38016, 0x0e205192
+0, 1483, 1483, 1, 38016, 0x9b3c5c1f
+0, 1484, 1484, 1, 38016, 0x3b93552f
+0, 1485, 1485, 1, 38016, 0xe56e5b54
+0, 1486, 1486, 1, 38016, 0xa1c26095
+0, 1487, 1487, 1, 38016, 0x1eb66e41
+0, 1488, 1488, 1, 38016, 0x83eb6e83
+0, 1489, 1489, 1, 38016, 0xc8a979d3
+0, 1490, 1490, 1, 38016, 0x81fb7b32
+0, 1491, 1491, 1, 38016, 0xe07928b7
+0, 1492, 1492, 1, 38016, 0x38591267
+0, 1493, 1493, 1, 38016, 0xce563165
+0, 1494, 1494, 1, 38016, 0x5fec3563
+0, 1495, 1495, 1, 38016, 0xd7402c7c
+0, 1496, 1496, 1, 38016, 0xf2a93af4
+0, 1497, 1497, 1, 38016, 0x78f22fe7
+0, 1498, 1498, 1, 38016, 0x25554875
+0, 1499, 1499, 1, 38016, 0x79546ca2
+0, 1500, 1500, 1, 38016, 0xdae2814a
+0, 1501, 1501, 1, 38016, 0xf1ef9a9e
+0, 1502, 1502, 1, 38016, 0xb76d8b83
+0, 1503, 1503, 1, 38016, 0x1abf8fa8
+0, 1504, 1504, 1, 38016, 0x8f098fa4
+0, 1505, 1505, 1, 38016, 0xb098843c
+0, 1506, 1506, 1, 38016, 0x1d5186d3
+0, 1507, 1507, 1, 38016, 0x93f4923c
+0, 1508, 1508, 1, 38016, 0x496094e2
+0, 1509, 1509, 1, 38016, 0x7aea93f1
+0, 1510, 1510, 1, 38016, 0x556c6675
+0, 1511, 1511, 1, 38016, 0x90566aca
+0, 1512, 1512, 1, 38016, 0x14899a93
+0, 1513, 1513, 1, 38016, 0xd269e0e7
+0, 1514, 1514, 1, 38016, 0x1261d2cc
+0, 1515, 1515, 1, 38016, 0x299c9301
+0, 1516, 1516, 1, 38016, 0xee9c9ba5
+0, 1517, 1517, 1, 38016, 0xb48ab676
+0, 1518, 1518, 1, 38016, 0x4ef9b1c5
+0, 1519, 1519, 1, 38016, 0x8aae9912
+0, 1520, 1520, 1, 38016, 0x1bc09f53
+0, 1521, 1521, 1, 38016, 0x2e089c6b
+0, 1522, 1522, 1, 38016, 0x67598f8d
+0, 1523, 1523, 1, 38016, 0xacd394e1
+0, 1524, 1524, 1, 38016, 0xe2979b75
+0, 1525, 1525, 1, 38016, 0xb9749ff9
+0, 1526, 1526, 1, 38016, 0x02bda2f0
+0, 1527, 1527, 1, 38016, 0xe6caa499
+0, 1528, 1528, 1, 38016, 0xc6d9a547
+0, 1529, 1529, 1, 38016, 0x1c89aa34
+0, 1530, 1530, 1, 38016, 0x61feb4fc
+0, 1531, 1531, 1, 38016, 0x2a40b1f4
+0, 1532, 1532, 1, 38016, 0x4ad3ac08
+0, 1533, 1533, 1, 38016, 0xf5e8b06d
+0, 1534, 1534, 1, 38016, 0xb0eea800
+0, 1535, 1535, 1, 38016, 0x430cc535
+0, 1536, 1536, 1, 38016, 0x8e66b9cf
+0, 1537, 1537, 1, 38016, 0x5c68b4c4
+0, 1538, 1538, 1, 38016, 0x9381c64b
+0, 1539, 1539, 1, 38016, 0x4234bed7
+0, 1540, 1540, 1, 38016, 0xce72bf02
+0, 1541, 1541, 1, 38016, 0xb8cfbcd7
+0, 1542, 1542, 1, 38016, 0x75a5b1bd
+0, 1543, 1543, 1, 38016, 0xc27fb9eb
+0, 1544, 1544, 1, 38016, 0xa1b1bc62
+0, 1545, 1545, 1, 38016, 0x1cdeb0a3
+0, 1546, 1546, 1, 38016, 0xaea6a799
+0, 1547, 1547, 1, 38016, 0x8152ac4f
+0, 1548, 1548, 1, 38016, 0x59c1a66d
+0, 1549, 1549, 1, 38016, 0x6bd99f24
+0, 1550, 1550, 1, 38016, 0x96a73236
+0, 1551, 1551, 1, 38016, 0xb27e4856
+0, 1552, 1552, 1, 38016, 0x8b57447a
+0, 1553, 1553, 1, 38016, 0xcef84a21
+0, 1554, 1554, 1, 38016, 0x5babc7cc
+0, 1555, 1555, 1, 38016, 0x6ed2cec3
+0, 1556, 1556, 1, 38016, 0xa2efdc17
+0, 1557, 1557, 1, 38016, 0x47bad971
+0, 1558, 1558, 1, 38016, 0x150dffd4
+0, 1559, 1559, 1, 38016, 0x3ecef2ad
+0, 1560, 1560, 1, 38016, 0x355cdade
+0, 1561, 1561, 1, 38016, 0x3b15e809
+0, 1562, 1562, 1, 38016, 0x37fcf890
+0, 1563, 1563, 1, 38016, 0x8ca606d1
+0, 1564, 1564, 1, 38016, 0x51cafefe
+0, 1565, 1565, 1, 38016, 0x736be64a
+0, 1566, 1566, 1, 38016, 0x4f2052c1
+0, 1567, 1567, 1, 38016, 0xc6715e93
+0, 1568, 1568, 1, 38016, 0x765c5a58
+0, 1569, 1569, 1, 38016, 0x5abe5617
+0, 1570, 1570, 1, 38016, 0xb1ac540a
+0, 1571, 1571, 1, 38016, 0xd9f75c21
+0, 1572, 1572, 1, 38016, 0x0c1946c0
+0, 1573, 1573, 1, 38016, 0x93363a34
+0, 1574, 1574, 1, 38016, 0x2c9f2fe4
+0, 1575, 1575, 1, 38016, 0x023c321a
+0, 1576, 1576, 1, 38016, 0x1931314b
+0, 1577, 1577, 1, 38016, 0x16782d59
+0, 1578, 1578, 1, 38016, 0x29aa289f
+0, 1579, 1579, 1, 38016, 0xea0ddb85
+0, 1580, 1580, 1, 38016, 0xe09ae656
+0, 1581, 1581, 1, 38016, 0x682ff29f
+0, 1582, 1582, 1, 38016, 0xf3ac29ca
+0, 1583, 1583, 1, 38016, 0x95160cad
+0, 1584, 1584, 1, 38016, 0x9afa093c
+0, 1585, 1585, 1, 38016, 0x2ad30958
+0, 1586, 1586, 1, 38016, 0x4b600e3a
+0, 1587, 1587, 1, 38016, 0x5b0e099b
+0, 1588, 1588, 1, 38016, 0x2d2aff9b
+0, 1589, 1589, 1, 38016, 0x8bb10aa6
+0, 1590, 1590, 1, 38016, 0xfebe1f1d
+0, 1591, 1591, 1, 38016, 0xa4431abd
+0, 1592, 1592, 1, 38016, 0xef7729a6
+0, 1593, 1593, 1, 38016, 0x7b5b1f78
+0, 1594, 1594, 1, 38016, 0x903b203e
+0, 1595, 1595, 1, 38016, 0xbcc716a2
+0, 1596, 1596, 1, 38016, 0xee6c1f4c
+0, 1597, 1597, 1, 38016, 0xc78c2ab8
+0, 1598, 1598, 1, 38016, 0xa77a255a
+0, 1599, 1599, 1, 38016, 0x9d5815fc
+0, 1600, 1600, 1, 38016, 0x7d5e7d79
+0, 1601, 1601, 1, 38016, 0xf7989072
+0, 1602, 1602, 1, 38016, 0x45499feb
+0, 1603, 1603, 1, 38016, 0xc58aae7b
+0, 1604, 1604, 1, 38016, 0x882aa1cb
+0, 1605, 1605, 1, 38016, 0x56cd97bf
+0, 1606, 1606, 1, 38016, 0x2d6af920
+0, 1607, 1607, 1, 38016, 0x43c312eb
+0, 1608, 1608, 1, 38016, 0x12872b9f
+0, 1609, 1609, 1, 38016, 0x3c623ffe
+0, 1610, 1610, 1, 38016, 0x120e302d
+0, 1611, 1611, 1, 38016, 0x9cb43964
+0, 1612, 1612, 1, 38016, 0xb371311c
+0, 1613, 1613, 1, 38016, 0x28b523d4
+0, 1614, 1614, 1, 38016, 0x58031bff
+0, 1615, 1615, 1, 38016, 0xe6691818
+0, 1616, 1616, 1, 38016, 0x6a9b29c3
+0, 1617, 1617, 1, 38016, 0x794b25ce
+0, 1618, 1618, 1, 38016, 0xfc273119
+0, 1619, 1619, 1, 38016, 0x82ad2a3a
+0, 1620, 1620, 1, 38016, 0x9d2da281
+0, 1621, 1621, 1, 38016, 0x11271ba1
+0, 1622, 1622, 1, 38016, 0x1558b618
+0, 1623, 1623, 1, 38016, 0xf5d8c22f
+0, 1624, 1624, 1, 38016, 0xf20214f9
+0, 1625, 1625, 1, 38016, 0x15b01f3a
+0, 1626, 1626, 1, 38016, 0x68f2b533
+0, 1627, 1627, 1, 38016, 0x9686a827
+0, 1628, 1628, 1, 38016, 0xf214a2dc
+0, 1629, 1629, 1, 38016, 0x3d421eb0
+0, 1630, 1630, 1, 38016, 0x78251e60
+0, 1631, 1631, 1, 38016, 0xab092856
+0, 1632, 1632, 1, 38016, 0x5eaba7bc
+0, 1633, 1633, 1, 38016, 0x612fb699
+0, 1634, 1634, 1, 38016, 0x8a83a3fd
+0, 1635, 1635, 1, 38016, 0xbcd9919b
+0, 1636, 1636, 1, 38016, 0xb9063049
+0, 1637, 1637, 1, 38016, 0x5cb22fde
+0, 1638, 1638, 1, 38016, 0x7db92390
+0, 1639, 1639, 1, 38016, 0x801b241b
+0, 1640, 1640, 1, 38016, 0x6eeb8e1b
+0, 1641, 1641, 1, 38016, 0x660b9568
+0, 1642, 1642, 1, 38016, 0x2a5b8b3d
+0, 1643, 1643, 1, 38016, 0x15098b9a
+0, 1644, 1644, 1, 38016, 0xd29284f5
+0, 1645, 1645, 1, 38016, 0x839323c6
+0, 1646, 1646, 1, 38016, 0xd6a4212c
+0, 1647, 1647, 1, 38016, 0x1c1c2259
+0, 1648, 1648, 1, 38016, 0x0b1d2ef2
+0, 1649, 1649, 1, 38016, 0xecd52cfc
+0, 1650, 1650, 1, 38016, 0x419326cb
+0, 1651, 1651, 1, 38016, 0xea813e68
+0, 1652, 1652, 1, 38016, 0xba9a33ba
+0, 1653, 1653, 1, 38016, 0x703b3b25
+0, 1654, 1654, 1, 38016, 0x391c3cce
+0, 1655, 1655, 1, 38016, 0xd1533fe3
+0, 1656, 1656, 1, 38016, 0xb9361f10
+0, 1657, 1657, 1, 38016, 0x8d652ea6
+0, 1658, 1658, 1, 38016, 0x22dc15ae
+0, 1659, 1659, 1, 38016, 0x2e5e0ee7
+0, 1660, 1660, 1, 38016, 0xd6bd15cf
+0, 1661, 1661, 1, 38016, 0xb16f198a
+0, 1662, 1662, 1, 38016, 0xd9653e95
+0, 1663, 1663, 1, 38016, 0x39da2e3a
+0, 1664, 1664, 1, 38016, 0x01b12526
+0, 1665, 1665, 1, 38016, 0x94a52dde
+0, 1666, 1666, 1, 38016, 0xda0c32d8
+0, 1667, 1667, 1, 38016, 0x89af2566
+0, 1668, 1668, 1, 38016, 0x71961a43
+0, 1669, 1669, 1, 38016, 0x5fb91337
+0, 1670, 1670, 1, 38016, 0x6e430a84
+0, 1671, 1671, 1, 38016, 0x1defffb2
+0, 1672, 1672, 1, 38016, 0xcc93023f
+0, 1673, 1673, 1, 38016, 0xfcd60168
+0, 1674, 1674, 1, 38016, 0x8a3201d4
+0, 1675, 1675, 1, 38016, 0x5235fef3
+0, 1676, 1676, 1, 38016, 0x989121b9
+0, 1677, 1677, 1, 38016, 0x067a1d36
+0, 1678, 1678, 1, 38016, 0xa168242b
+0, 1679, 1679, 1, 38016, 0x425f2475
+0, 1680, 1680, 1, 38016, 0x298f14d9
+0, 1681, 1681, 1, 38016, 0x3a7c1838
+0, 1682, 1682, 1, 38016, 0xd173155a
+0, 1683, 1683, 1, 38016, 0x210113ec
+0, 1684, 1684, 1, 38016, 0xa0c2f88f
+0, 1685, 1685, 1, 38016, 0x4fa1f4e2
+0, 1686, 1686, 1, 38016, 0x812df750
+0, 1687, 1687, 1, 38016, 0xfd5cea45
+0, 1688, 1688, 1, 38016, 0xb823ee4a
+0, 1689, 1689, 1, 38016, 0x3555d6bf
+0, 1690, 1690, 1, 38016, 0x6dabf021
+0, 1691, 1691, 1, 38016, 0x7ae0f191
+0, 1692, 1692, 1, 38016, 0xabdc1546
+0, 1693, 1693, 1, 38016, 0x36dd0dbb
+0, 1694, 1694, 1, 38016, 0x008ffe5f
+0, 1695, 1695, 1, 38016, 0xe956f9c0
+0, 1696, 1696, 1, 38016, 0x9823ee03
+0, 1697, 1697, 1, 38016, 0xf63fedde
+0, 1698, 1698, 1, 38016, 0x67530afb
+0, 1699, 1699, 1, 38016, 0x2da5e470
diff --git a/tests/ref/fate/h264-conformance-midr_mw_d b/tests/ref/fate/h264-conformance-midr_mw_d
index afffdc85ad..51b7c0eed0 100644
--- a/tests/ref/fate/h264-conformance-midr_mw_d
+++ b/tests/ref/fate/h264-conformance-midr_mw_d
@@ -1,100 +1,101 @@
-0, 0, 38016, 0x3ae838ee
-0, 3600, 38016, 0x9ed7e141
-0, 7200, 38016, 0x393097f9
-0, 10800, 38016, 0x8fb56676
-0, 14400, 38016, 0x39d64fd2
-0, 18000, 38016, 0x7fad729a
-0, 21600, 38016, 0x7e25955f
-0, 25200, 38016, 0xc4d9a359
-0, 28800, 38016, 0x30afaca4
-0, 32400, 38016, 0x9ee195ea
-0, 36000, 38016, 0x09f65805
-0, 39600, 38016, 0x58d126ab
-0, 43200, 38016, 0x4f29282c
-0, 46800, 38016, 0x8af235a1
-0, 50400, 38016, 0x6dfe525a
-0, 54000, 38016, 0xd51c793f
-0, 57600, 38016, 0x4e90abba
-0, 61200, 38016, 0xe706c5b7
-0, 64800, 38016, 0x35fab7ef
-0, 68400, 38016, 0xed78b8fc
-0, 72000, 38016, 0x2907bb4e
-0, 75600, 38016, 0x1749bb47
-0, 79200, 38016, 0x284ec688
-0, 82800, 38016, 0x534abc24
-0, 86400, 38016, 0xcd01bd13
-0, 90000, 38016, 0xe97bbd51
-0, 93600, 38016, 0xac1cb9e9
-0, 97200, 38016, 0xd861c0a3
-0, 100800, 38016, 0xf0f1ced4
-0, 104400, 38016, 0xa9e8d2bf
-0, 108000, 38016, 0x4c6aa7c5
-0, 111600, 38016, 0xb20079ac
-0, 115200, 38016, 0xbfc3563b
-0, 118800, 38016, 0x48259358
-0, 122400, 38016, 0x1bce0434
-0, 126000, 38016, 0xa0ac59db
-0, 129600, 38016, 0x87bdb608
-0, 133200, 38016, 0x318037eb
-0, 136800, 38016, 0x0f7d8496
-0, 140400, 38016, 0x9e65bc1e
-0, 144000, 38016, 0xc56be1ea
-0, 147600, 38016, 0xc31fefb7
-0, 151200, 38016, 0xcbcee4e4
-0, 154800, 38016, 0xcf03f238
-0, 158400, 38016, 0xc6a903a1
-0, 162000, 38016, 0xfdabee4f
-0, 165600, 38016, 0x9054bb39
-0, 169200, 38016, 0xe9bf8cd8
-0, 172800, 38016, 0x943d9e0a
-0, 176400, 38016, 0x404cc87d
-0, 180000, 38016, 0x3cd9dd49
-0, 183600, 38016, 0x5eabbdf1
-0, 187200, 38016, 0xd206d9ef
-0, 190800, 38016, 0x75e310ad
-0, 194400, 38016, 0x01893e25
-0, 198000, 38016, 0xda5360e6
-0, 201600, 38016, 0x80656a39
-0, 205200, 38016, 0x85452c84
-0, 208800, 38016, 0x48d92ef7
-0, 212400, 38016, 0x0edc45b2
-0, 216000, 38016, 0xeb8a3531
-0, 219600, 38016, 0x7b5914b5
-0, 223200, 38016, 0xf1b6c7fa
-0, 226800, 38016, 0x68fca853
-0, 230400, 38016, 0x68ebcc02
-0, 234000, 38016, 0x793edc8e
-0, 237600, 38016, 0x9c86d139
-0, 241200, 38016, 0x2aeed2f9
-0, 244800, 38016, 0xb8cfc89d
-0, 248400, 38016, 0x22d2b5c4
-0, 252000, 38016, 0x01ae9d2d
-0, 255600, 38016, 0x4e9b7c84
-0, 259200, 38016, 0xa52c8553
-0, 262800, 38016, 0x50df78d0
-0, 266400, 38016, 0x4dc31f1c
-0, 270000, 38016, 0xf24ee29a
-0, 273600, 38016, 0xced0d363
-0, 277200, 38016, 0x2263bfdc
-0, 280800, 38016, 0x1363f580
-0, 284400, 38016, 0xfc7f3a50
-0, 288000, 38016, 0x38427007
-0, 291600, 38016, 0xfc5757eb
-0, 295200, 38016, 0xf20f4d0b
-0, 298800, 38016, 0x64871ca3
-0, 302400, 38016, 0xcb66cd99
-0, 306000, 38016, 0xaacdda1f
-0, 309600, 38016, 0xd52206c8
-0, 313200, 38016, 0xcb461142
-0, 316800, 38016, 0x9e36a3b3
-0, 320400, 38016, 0xf3b44a7c
-0, 324000, 38016, 0x1722db32
-0, 327600, 38016, 0xa943d602
-0, 331200, 38016, 0xc899e7bf
-0, 334800, 38016, 0xacd10bdc
-0, 338400, 38016, 0x703b3802
-0, 342000, 38016, 0xe246efb4
-0, 345600, 38016, 0x1ebfccb2
-0, 349200, 38016, 0x57380778
-0, 352800, 38016, 0xb70e7313
-0, 356400, 38016, 0x0cd4af3d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x3ae838ee
+0, 1, 1, 1, 38016, 0x9ed7e141
+0, 2, 2, 1, 38016, 0x393097f9
+0, 3, 3, 1, 38016, 0x8fb56676
+0, 4, 4, 1, 38016, 0x39d64fd2
+0, 5, 5, 1, 38016, 0x7fad729a
+0, 6, 6, 1, 38016, 0x7e25955f
+0, 7, 7, 1, 38016, 0xc4d9a359
+0, 8, 8, 1, 38016, 0x30afaca4
+0, 9, 9, 1, 38016, 0x9ee195ea
+0, 10, 10, 1, 38016, 0x09f65805
+0, 11, 11, 1, 38016, 0x58d126ab
+0, 12, 12, 1, 38016, 0x4f29282c
+0, 13, 13, 1, 38016, 0x8af235a1
+0, 14, 14, 1, 38016, 0x6dfe525a
+0, 15, 15, 1, 38016, 0xd51c793f
+0, 16, 16, 1, 38016, 0x4e90abba
+0, 17, 17, 1, 38016, 0xe706c5b7
+0, 18, 18, 1, 38016, 0x35fab7ef
+0, 19, 19, 1, 38016, 0xed78b8fc
+0, 20, 20, 1, 38016, 0x2907bb4e
+0, 21, 21, 1, 38016, 0x1749bb47
+0, 22, 22, 1, 38016, 0x284ec688
+0, 23, 23, 1, 38016, 0x534abc24
+0, 24, 24, 1, 38016, 0xcd01bd13
+0, 25, 25, 1, 38016, 0xe97bbd51
+0, 26, 26, 1, 38016, 0xac1cb9e9
+0, 27, 27, 1, 38016, 0xd861c0a3
+0, 28, 28, 1, 38016, 0xf0f1ced4
+0, 29, 29, 1, 38016, 0xa9e8d2bf
+0, 30, 30, 1, 38016, 0x4c6aa7c5
+0, 31, 31, 1, 38016, 0xb20079ac
+0, 32, 32, 1, 38016, 0xbfc3563b
+0, 33, 33, 1, 38016, 0x48259358
+0, 34, 34, 1, 38016, 0x1bce0434
+0, 35, 35, 1, 38016, 0xa0ac59db
+0, 36, 36, 1, 38016, 0x87bdb608
+0, 37, 37, 1, 38016, 0x318037eb
+0, 38, 38, 1, 38016, 0x0f7d8496
+0, 39, 39, 1, 38016, 0x9e65bc1e
+0, 40, 40, 1, 38016, 0xc56be1ea
+0, 41, 41, 1, 38016, 0xc31fefb7
+0, 42, 42, 1, 38016, 0xcbcee4e4
+0, 43, 43, 1, 38016, 0xcf03f238
+0, 44, 44, 1, 38016, 0xc6a903a1
+0, 45, 45, 1, 38016, 0xfdabee4f
+0, 46, 46, 1, 38016, 0x9054bb39
+0, 47, 47, 1, 38016, 0xe9bf8cd8
+0, 48, 48, 1, 38016, 0x943d9e0a
+0, 49, 49, 1, 38016, 0x404cc87d
+0, 50, 50, 1, 38016, 0x3cd9dd49
+0, 51, 51, 1, 38016, 0x5eabbdf1
+0, 52, 52, 1, 38016, 0xd206d9ef
+0, 53, 53, 1, 38016, 0x75e310ad
+0, 54, 54, 1, 38016, 0x01893e25
+0, 55, 55, 1, 38016, 0xda5360e6
+0, 56, 56, 1, 38016, 0x80656a39
+0, 57, 57, 1, 38016, 0x85452c84
+0, 58, 58, 1, 38016, 0x48d92ef7
+0, 59, 59, 1, 38016, 0x0edc45b2
+0, 60, 60, 1, 38016, 0xeb8a3531
+0, 61, 61, 1, 38016, 0x7b5914b5
+0, 62, 62, 1, 38016, 0xf1b6c7fa
+0, 63, 63, 1, 38016, 0x68fca853
+0, 64, 64, 1, 38016, 0x68ebcc02
+0, 65, 65, 1, 38016, 0x793edc8e
+0, 66, 66, 1, 38016, 0x9c86d139
+0, 67, 67, 1, 38016, 0x2aeed2f9
+0, 68, 68, 1, 38016, 0xb8cfc89d
+0, 69, 69, 1, 38016, 0x22d2b5c4
+0, 70, 70, 1, 38016, 0x01ae9d2d
+0, 71, 71, 1, 38016, 0x4e9b7c84
+0, 72, 72, 1, 38016, 0xa52c8553
+0, 73, 73, 1, 38016, 0x50df78d0
+0, 74, 74, 1, 38016, 0x4dc31f1c
+0, 75, 75, 1, 38016, 0xf24ee29a
+0, 76, 76, 1, 38016, 0xced0d363
+0, 77, 77, 1, 38016, 0x2263bfdc
+0, 78, 78, 1, 38016, 0x1363f580
+0, 79, 79, 1, 38016, 0xfc7f3a50
+0, 80, 80, 1, 38016, 0x38427007
+0, 81, 81, 1, 38016, 0xfc5757eb
+0, 82, 82, 1, 38016, 0xf20f4d0b
+0, 83, 83, 1, 38016, 0x64871ca3
+0, 84, 84, 1, 38016, 0xcb66cd99
+0, 85, 85, 1, 38016, 0xaacdda1f
+0, 86, 86, 1, 38016, 0xd52206c8
+0, 87, 87, 1, 38016, 0xcb461142
+0, 88, 88, 1, 38016, 0x9e36a3b3
+0, 89, 89, 1, 38016, 0xf3b44a7c
+0, 90, 90, 1, 38016, 0x1722db32
+0, 91, 91, 1, 38016, 0xa943d602
+0, 92, 92, 1, 38016, 0xc899e7bf
+0, 93, 93, 1, 38016, 0xacd10bdc
+0, 94, 94, 1, 38016, 0x703b3802
+0, 95, 95, 1, 38016, 0xe246efb4
+0, 96, 96, 1, 38016, 0x1ebfccb2
+0, 97, 97, 1, 38016, 0x57380778
+0, 98, 98, 1, 38016, 0xb70e7313
+0, 99, 99, 1, 38016, 0x0cd4af3d
diff --git a/tests/ref/fate/h264-conformance-mps_mw_a b/tests/ref/fate/h264-conformance-mps_mw_a
index 47e7feb36a..959a0ae681 100644
--- a/tests/ref/fate/h264-conformance-mps_mw_a
+++ b/tests/ref/fate/h264-conformance-mps_mw_a
@@ -1,150 +1,151 @@
-0, 0, 38016, 0x06150e88
-0, 3600, 38016, 0x32d90103
-0, 7200, 38016, 0x5b5f2fae
-0, 10800, 38016, 0xba6e6302
-0, 14400, 38016, 0x6c4b8e95
-0, 18000, 38016, 0x6d51ab43
-0, 21600, 38016, 0x5582a7c5
-0, 25200, 38016, 0xf48e6545
-0, 28800, 38016, 0x083a8481
-0, 32400, 38016, 0x0576a254
-0, 36000, 38016, 0x07429a61
-0, 39600, 38016, 0xd1e26eb1
-0, 43200, 38016, 0x94032564
-0, 46800, 38016, 0xc9d217c0
-0, 50400, 38016, 0xf0ee3f46
-0, 54000, 38016, 0xe8fc4d97
-0, 57600, 38016, 0xd3b0488d
-0, 61200, 38016, 0xc4243d99
-0, 64800, 38016, 0xa65b36ed
-0, 68400, 38016, 0x84ca1844
-0, 72000, 38016, 0xcd6706bf
-0, 75600, 38016, 0x1c03ec0a
-0, 79200, 38016, 0xf1380127
-0, 82800, 38016, 0xa499e0a5
-0, 86400, 38016, 0x5fca87ce
-0, 90000, 38016, 0x0b385064
-0, 93600, 38016, 0x6a4f49c4
-0, 97200, 38016, 0x97e0464b
-0, 100800, 38016, 0xcbf98750
-0, 104400, 38016, 0xa9efe0cd
-0, 108000, 38016, 0x9ea7d82e
-0, 111600, 38016, 0x28cec5ce
-0, 115200, 38016, 0xaec6ac1e
-0, 118800, 38016, 0x8cba69b3
-0, 122400, 38016, 0x727720c1
-0, 126000, 38016, 0xee4f4822
-0, 129600, 38016, 0x9d456e11
-0, 133200, 38016, 0x14123f91
-0, 136800, 38016, 0xf5e1d1a3
-0, 140400, 38016, 0xaadd9435
-0, 144000, 38016, 0x94df6e5e
-0, 147600, 38016, 0x18805412
-0, 151200, 38016, 0x0ba26c8c
-0, 154800, 38016, 0x4548a5c1
-0, 158400, 38016, 0x9217cb5f
-0, 162000, 38016, 0x2ea74a9e
-0, 165600, 38016, 0xeb0c57b6
-0, 169200, 38016, 0xf968a4a5
-0, 172800, 38016, 0xa410ef43
-0, 176400, 38016, 0x55813001
-0, 180000, 38016, 0x9cea4512
-0, 183600, 38016, 0x27754fa6
-0, 187200, 38016, 0x9824548a
-0, 190800, 38016, 0x7f1047eb
-0, 194400, 38016, 0x75fb2e10
-0, 198000, 38016, 0xe50df970
-0, 201600, 38016, 0x6ed6dfb4
-0, 205200, 38016, 0x8e97ccee
-0, 208800, 38016, 0x7f96c5f0
-0, 212400, 38016, 0x0940c200
-0, 216000, 38016, 0x86b98701
-0, 219600, 38016, 0x977d759a
-0, 223200, 38016, 0xf2b17bff
-0, 226800, 38016, 0xee1496d7
-0, 230400, 38016, 0x6cb1c1b5
-0, 234000, 38016, 0xa6bc0db9
-0, 237600, 38016, 0x902f660d
-0, 241200, 38016, 0x7bf7a434
-0, 244800, 38016, 0x97f9c2a6
-0, 248400, 38016, 0xf8bf9241
-0, 252000, 38016, 0x8639502b
-0, 255600, 38016, 0x82c2537f
-0, 259200, 38016, 0x1141243a
-0, 262800, 38016, 0xcaef5ae5
-0, 266400, 38016, 0xe2c4d308
-0, 270000, 38016, 0x35530a2c
-0, 273600, 38016, 0x22a3b317
-0, 277200, 38016, 0xda988427
-0, 280800, 38016, 0x54616f11
-0, 284400, 38016, 0xc38fc57c
-0, 288000, 38016, 0x7039d019
-0, 291600, 38016, 0x0fd6e6d9
-0, 295200, 38016, 0xc213e48e
-0, 298800, 38016, 0xf469b8e1
-0, 302400, 38016, 0x1f5c706c
-0, 306000, 38016, 0x69652db3
-0, 309600, 38016, 0xe1b9d46d
-0, 313200, 38016, 0x4e7522aa
-0, 316800, 38016, 0x8f4025a4
-0, 320400, 38016, 0xbc0483f6
-0, 324000, 38016, 0xae91d342
-0, 327600, 38016, 0xb1435578
-0, 331200, 38016, 0xf7535863
-0, 334800, 38016, 0xc16ff613
-0, 338400, 38016, 0x55bc394f
-0, 342000, 38016, 0xc7b76458
-0, 345600, 38016, 0xd3fd69ae
-0, 349200, 38016, 0x4b44d724
-0, 352800, 38016, 0x740b99c5
-0, 356400, 38016, 0x40c7c625
-0, 360000, 38016, 0x1691a7ef
-0, 363600, 38016, 0x6ea9392e
-0, 367200, 38016, 0xf958200f
-0, 370800, 38016, 0x916d75eb
-0, 374400, 38016, 0x6b4bee69
-0, 378000, 38016, 0x87adf9de
-0, 381600, 38016, 0x92dc586e
-0, 385200, 38016, 0x3c5aa531
-0, 388800, 38016, 0x00f81488
-0, 392400, 38016, 0x981aeb9f
-0, 396000, 38016, 0x49cf8e5f
-0, 399600, 38016, 0xfd56b231
-0, 403200, 38016, 0x419aaa2e
-0, 406800, 38016, 0xae155602
-0, 410400, 38016, 0x1e530aa1
-0, 414000, 38016, 0x60ca2c1b
-0, 417600, 38016, 0x0e7bdec7
-0, 421200, 38016, 0xe858b864
-0, 424800, 38016, 0x47378c1d
-0, 428400, 38016, 0x90008a4d
-0, 432000, 38016, 0xa1293af0
-0, 435600, 38016, 0x596964a8
-0, 439200, 38016, 0xb25d9ccf
-0, 442800, 38016, 0xccdbb7a0
-0, 446400, 38016, 0x3becf25a
-0, 450000, 38016, 0x918d1816
-0, 453600, 38016, 0x71d02564
-0, 457200, 38016, 0x643015fd
-0, 460800, 38016, 0x3af5f577
-0, 464400, 38016, 0x77b5ecea
-0, 468000, 38016, 0x7f940014
-0, 471600, 38016, 0x726f0bf3
-0, 475200, 38016, 0xb728078f
-0, 478800, 38016, 0x46e1f70a
-0, 482400, 38016, 0x79ccdd3e
-0, 486000, 38016, 0x80d2ca75
-0, 489600, 38016, 0xc87dc034
-0, 493200, 38016, 0x7535c12a
-0, 496800, 38016, 0x2d32bd77
-0, 500400, 38016, 0x2fceb360
-0, 504000, 38016, 0x8d0aa592
-0, 507600, 38016, 0xc9b9bb80
-0, 511200, 38016, 0xa667dd9c
-0, 514800, 38016, 0x7b5df35b
-0, 518400, 38016, 0x5feb1125
-0, 522000, 38016, 0x222a306f
-0, 525600, 38016, 0x64c84c75
-0, 529200, 38016, 0x5e605c79
-0, 532800, 38016, 0x2d2f78f3
-0, 536400, 38016, 0x7b72973d
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x06150e88
+0, 1, 1, 1, 38016, 0x32d90103
+0, 2, 2, 1, 38016, 0x5b5f2fae
+0, 3, 3, 1, 38016, 0xba6e6302
+0, 4, 4, 1, 38016, 0x6c4b8e95
+0, 5, 5, 1, 38016, 0x6d51ab43
+0, 6, 6, 1, 38016, 0x5582a7c5
+0, 7, 7, 1, 38016, 0xf48e6545
+0, 8, 8, 1, 38016, 0x083a8481
+0, 9, 9, 1, 38016, 0x0576a254
+0, 10, 10, 1, 38016, 0x07429a61
+0, 11, 11, 1, 38016, 0xd1e26eb1
+0, 12, 12, 1, 38016, 0x94032564
+0, 13, 13, 1, 38016, 0xc9d217c0
+0, 14, 14, 1, 38016, 0xf0ee3f46
+0, 15, 15, 1, 38016, 0xe8fc4d97
+0, 16, 16, 1, 38016, 0xd3b0488d
+0, 17, 17, 1, 38016, 0xc4243d99
+0, 18, 18, 1, 38016, 0xa65b36ed
+0, 19, 19, 1, 38016, 0x84ca1844
+0, 20, 20, 1, 38016, 0xcd6706bf
+0, 21, 21, 1, 38016, 0x1c03ec0a
+0, 22, 22, 1, 38016, 0xf1380127
+0, 23, 23, 1, 38016, 0xa499e0a5
+0, 24, 24, 1, 38016, 0x5fca87ce
+0, 25, 25, 1, 38016, 0x0b385064
+0, 26, 26, 1, 38016, 0x6a4f49c4
+0, 27, 27, 1, 38016, 0x97e0464b
+0, 28, 28, 1, 38016, 0xcbf98750
+0, 29, 29, 1, 38016, 0xa9efe0cd
+0, 30, 30, 1, 38016, 0x9ea7d82e
+0, 31, 31, 1, 38016, 0x28cec5ce
+0, 32, 32, 1, 38016, 0xaec6ac1e
+0, 33, 33, 1, 38016, 0x8cba69b3
+0, 34, 34, 1, 38016, 0x727720c1
+0, 35, 35, 1, 38016, 0xee4f4822
+0, 36, 36, 1, 38016, 0x9d456e11
+0, 37, 37, 1, 38016, 0x14123f91
+0, 38, 38, 1, 38016, 0xf5e1d1a3
+0, 39, 39, 1, 38016, 0xaadd9435
+0, 40, 40, 1, 38016, 0x94df6e5e
+0, 41, 41, 1, 38016, 0x18805412
+0, 42, 42, 1, 38016, 0x0ba26c8c
+0, 43, 43, 1, 38016, 0x4548a5c1
+0, 44, 44, 1, 38016, 0x9217cb5f
+0, 45, 45, 1, 38016, 0x2ea74a9e
+0, 46, 46, 1, 38016, 0xeb0c57b6
+0, 47, 47, 1, 38016, 0xf968a4a5
+0, 48, 48, 1, 38016, 0xa410ef43
+0, 49, 49, 1, 38016, 0x55813001
+0, 50, 50, 1, 38016, 0x9cea4512
+0, 51, 51, 1, 38016, 0x27754fa6
+0, 52, 52, 1, 38016, 0x9824548a
+0, 53, 53, 1, 38016, 0x7f1047eb
+0, 54, 54, 1, 38016, 0x75fb2e10
+0, 55, 55, 1, 38016, 0xe50df970
+0, 56, 56, 1, 38016, 0x6ed6dfb4
+0, 57, 57, 1, 38016, 0x8e97ccee
+0, 58, 58, 1, 38016, 0x7f96c5f0
+0, 59, 59, 1, 38016, 0x0940c200
+0, 60, 60, 1, 38016, 0x86b98701
+0, 61, 61, 1, 38016, 0x977d759a
+0, 62, 62, 1, 38016, 0xf2b17bff
+0, 63, 63, 1, 38016, 0xee1496d7
+0, 64, 64, 1, 38016, 0x6cb1c1b5
+0, 65, 65, 1, 38016, 0xa6bc0db9
+0, 66, 66, 1, 38016, 0x902f660d
+0, 67, 67, 1, 38016, 0x7bf7a434
+0, 68, 68, 1, 38016, 0x97f9c2a6
+0, 69, 69, 1, 38016, 0xf8bf9241
+0, 70, 70, 1, 38016, 0x8639502b
+0, 71, 71, 1, 38016, 0x82c2537f
+0, 72, 72, 1, 38016, 0x1141243a
+0, 73, 73, 1, 38016, 0xcaef5ae5
+0, 74, 74, 1, 38016, 0xe2c4d308
+0, 75, 75, 1, 38016, 0x35530a2c
+0, 76, 76, 1, 38016, 0x22a3b317
+0, 77, 77, 1, 38016, 0xda988427
+0, 78, 78, 1, 38016, 0x54616f11
+0, 79, 79, 1, 38016, 0xc38fc57c
+0, 80, 80, 1, 38016, 0x7039d019
+0, 81, 81, 1, 38016, 0x0fd6e6d9
+0, 82, 82, 1, 38016, 0xc213e48e
+0, 83, 83, 1, 38016, 0xf469b8e1
+0, 84, 84, 1, 38016, 0x1f5c706c
+0, 85, 85, 1, 38016, 0x69652db3
+0, 86, 86, 1, 38016, 0xe1b9d46d
+0, 87, 87, 1, 38016, 0x4e7522aa
+0, 88, 88, 1, 38016, 0x8f4025a4
+0, 89, 89, 1, 38016, 0xbc0483f6
+0, 90, 90, 1, 38016, 0xae91d342
+0, 91, 91, 1, 38016, 0xb1435578
+0, 92, 92, 1, 38016, 0xf7535863
+0, 93, 93, 1, 38016, 0xc16ff613
+0, 94, 94, 1, 38016, 0x55bc394f
+0, 95, 95, 1, 38016, 0xc7b76458
+0, 96, 96, 1, 38016, 0xd3fd69ae
+0, 97, 97, 1, 38016, 0x4b44d724
+0, 98, 98, 1, 38016, 0x740b99c5
+0, 99, 99, 1, 38016, 0x40c7c625
+0, 100, 100, 1, 38016, 0x1691a7ef
+0, 101, 101, 1, 38016, 0x6ea9392e
+0, 102, 102, 1, 38016, 0xf958200f
+0, 103, 103, 1, 38016, 0x916d75eb
+0, 104, 104, 1, 38016, 0x6b4bee69
+0, 105, 105, 1, 38016, 0x87adf9de
+0, 106, 106, 1, 38016, 0x92dc586e
+0, 107, 107, 1, 38016, 0x3c5aa531
+0, 108, 108, 1, 38016, 0x00f81488
+0, 109, 109, 1, 38016, 0x981aeb9f
+0, 110, 110, 1, 38016, 0x49cf8e5f
+0, 111, 111, 1, 38016, 0xfd56b231
+0, 112, 112, 1, 38016, 0x419aaa2e
+0, 113, 113, 1, 38016, 0xae155602
+0, 114, 114, 1, 38016, 0x1e530aa1
+0, 115, 115, 1, 38016, 0x60ca2c1b
+0, 116, 116, 1, 38016, 0x0e7bdec7
+0, 117, 117, 1, 38016, 0xe858b864
+0, 118, 118, 1, 38016, 0x47378c1d
+0, 119, 119, 1, 38016, 0x90008a4d
+0, 120, 120, 1, 38016, 0xa1293af0
+0, 121, 121, 1, 38016, 0x596964a8
+0, 122, 122, 1, 38016, 0xb25d9ccf
+0, 123, 123, 1, 38016, 0xccdbb7a0
+0, 124, 124, 1, 38016, 0x3becf25a
+0, 125, 125, 1, 38016, 0x918d1816
+0, 126, 126, 1, 38016, 0x71d02564
+0, 127, 127, 1, 38016, 0x643015fd
+0, 128, 128, 1, 38016, 0x3af5f577
+0, 129, 129, 1, 38016, 0x77b5ecea
+0, 130, 130, 1, 38016, 0x7f940014
+0, 131, 131, 1, 38016, 0x726f0bf3
+0, 132, 132, 1, 38016, 0xb728078f
+0, 133, 133, 1, 38016, 0x46e1f70a
+0, 134, 134, 1, 38016, 0x79ccdd3e
+0, 135, 135, 1, 38016, 0x80d2ca75
+0, 136, 136, 1, 38016, 0xc87dc034
+0, 137, 137, 1, 38016, 0x7535c12a
+0, 138, 138, 1, 38016, 0x2d32bd77
+0, 139, 139, 1, 38016, 0x2fceb360
+0, 140, 140, 1, 38016, 0x8d0aa592
+0, 141, 141, 1, 38016, 0xc9b9bb80
+0, 142, 142, 1, 38016, 0xa667dd9c
+0, 143, 143, 1, 38016, 0x7b5df35b
+0, 144, 144, 1, 38016, 0x5feb1125
+0, 145, 145, 1, 38016, 0x222a306f
+0, 146, 146, 1, 38016, 0x64c84c75
+0, 147, 147, 1, 38016, 0x5e605c79
+0, 148, 148, 1, 38016, 0x2d2f78f3
+0, 149, 149, 1, 38016, 0x7b72973d
diff --git a/tests/ref/fate/h264-conformance-mr1_bt_a b/tests/ref/fate/h264-conformance-mr1_bt_a
index b077cd4370..11eb5903fe 100644
--- a/tests/ref/fate/h264-conformance-mr1_bt_a
+++ b/tests/ref/fate/h264-conformance-mr1_bt_a
@@ -1,62 +1,63 @@
-0, 0, 38016, 0xc6658719
-0, 3600, 38016, 0x8a7c7423
-0, 7200, 38016, 0x97e99b66
-0, 10800, 38016, 0x73c4c4f7
-0, 14400, 38016, 0xb45bfb44
-0, 18000, 38016, 0x1bc3249c
-0, 21600, 38016, 0xd98a3121
-0, 25200, 38016, 0x6f0aefc1
-0, 28800, 38016, 0x6287f651
-0, 32400, 38016, 0x2a4a1630
-0, 36000, 38016, 0x5e7b5a35
-0, 39600, 38016, 0x58847533
-0, 43200, 38016, 0x2bad942b
-0, 46800, 38016, 0x17d75cb1
-0, 50400, 38016, 0x6d8e818d
-0, 54000, 38016, 0xfa3165db
-0, 57600, 38016, 0x6a6e249f
-0, 61200, 38016, 0x2d232ece
-0, 64800, 38016, 0xfba6616e
-0, 68400, 38016, 0xa9e7533f
-0, 72000, 38016, 0x7c4827e6
-0, 75600, 38016, 0xf570f8ca
-0, 79200, 38016, 0x0dac953f
-0, 82800, 38016, 0x74cb5f30
-0, 86400, 38016, 0x038ce61b
-0, 90000, 38016, 0x291f8ecb
-0, 93600, 38016, 0x768a6539
-0, 97200, 38016, 0x27a960e6
-0, 100800, 38016, 0x4d8ab279
-0, 104400, 38016, 0x7da78115
-0, 108000, 38016, 0x27beadcf
-0, 111600, 38016, 0x98c43180
-0, 115200, 38016, 0x566d55db
-0, 118800, 38016, 0xddc19fda
-0, 122400, 38016, 0xe353c891
-0, 126000, 38016, 0x17e2e3ab
-0, 129600, 38016, 0x8759e7c3
-0, 133200, 38016, 0x9d93bca9
-0, 136800, 38016, 0x8b77af4e
-0, 140400, 38016, 0x9b799dac
-0, 144000, 38016, 0xcb8bc504
-0, 147600, 38016, 0x58e989c8
-0, 151200, 38016, 0x4e4dbb7f
-0, 154800, 38016, 0xdfa6934e
-0, 158400, 38016, 0x14947459
-0, 162000, 38016, 0x7a31ff6a
-0, 165600, 38016, 0xc044fbc3
-0, 169200, 38016, 0xcaa723d1
-0, 172800, 38016, 0x325c1dca
-0, 176400, 38016, 0x62fb027d
-0, 180000, 38016, 0x710f3ae9
-0, 183600, 38016, 0xdbbf1804
-0, 187200, 38016, 0x1487f491
-0, 190800, 38016, 0x6a722d73
-0, 194400, 38016, 0xeb7258dd
-0, 198000, 38016, 0x685e8a68
-0, 201600, 38016, 0x1627800e
-0, 205200, 38016, 0xa88a9a31
-0, 208800, 38016, 0x4d5eaf56
-0, 212400, 38016, 0xe3a9af0a
-0, 216000, 38016, 0x3c38b8b2
-0, 219600, 38016, 0x991fc29e
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc6658719
+0, 1, 1, 1, 38016, 0x8a7c7423
+0, 2, 2, 1, 38016, 0x97e99b66
+0, 3, 3, 1, 38016, 0x73c4c4f7
+0, 4, 4, 1, 38016, 0xb45bfb44
+0, 5, 5, 1, 38016, 0x1bc3249c
+0, 6, 6, 1, 38016, 0xd98a3121
+0, 7, 7, 1, 38016, 0x6f0aefc1
+0, 8, 8, 1, 38016, 0x6287f651
+0, 9, 9, 1, 38016, 0x2a4a1630
+0, 10, 10, 1, 38016, 0x5e7b5a35
+0, 11, 11, 1, 38016, 0x58847533
+0, 12, 12, 1, 38016, 0x2bad942b
+0, 13, 13, 1, 38016, 0x17d75cb1
+0, 14, 14, 1, 38016, 0x6d8e818d
+0, 15, 15, 1, 38016, 0xfa3165db
+0, 16, 16, 1, 38016, 0x6a6e249f
+0, 17, 17, 1, 38016, 0x2d232ece
+0, 18, 18, 1, 38016, 0xfba6616e
+0, 19, 19, 1, 38016, 0xa9e7533f
+0, 20, 20, 1, 38016, 0x7c4827e6
+0, 21, 21, 1, 38016, 0xf570f8ca
+0, 22, 22, 1, 38016, 0x0dac953f
+0, 23, 23, 1, 38016, 0x74cb5f30
+0, 24, 24, 1, 38016, 0x038ce61b
+0, 25, 25, 1, 38016, 0x291f8ecb
+0, 26, 26, 1, 38016, 0x768a6539
+0, 27, 27, 1, 38016, 0x27a960e6
+0, 28, 28, 1, 38016, 0x4d8ab279
+0, 29, 29, 1, 38016, 0x7da78115
+0, 30, 30, 1, 38016, 0x27beadcf
+0, 31, 31, 1, 38016, 0x98c43180
+0, 32, 32, 1, 38016, 0x566d55db
+0, 33, 33, 1, 38016, 0xddc19fda
+0, 34, 34, 1, 38016, 0xe353c891
+0, 35, 35, 1, 38016, 0x17e2e3ab
+0, 36, 36, 1, 38016, 0x8759e7c3
+0, 37, 37, 1, 38016, 0x9d93bca9
+0, 38, 38, 1, 38016, 0x8b77af4e
+0, 39, 39, 1, 38016, 0x9b799dac
+0, 40, 40, 1, 38016, 0xcb8bc504
+0, 41, 41, 1, 38016, 0x58e989c8
+0, 42, 42, 1, 38016, 0x4e4dbb7f
+0, 43, 43, 1, 38016, 0xdfa6934e
+0, 44, 44, 1, 38016, 0x14947459
+0, 45, 45, 1, 38016, 0x7a31ff6a
+0, 46, 46, 1, 38016, 0xc044fbc3
+0, 47, 47, 1, 38016, 0xcaa723d1
+0, 48, 48, 1, 38016, 0x325c1dca
+0, 49, 49, 1, 38016, 0x62fb027d
+0, 50, 50, 1, 38016, 0x710f3ae9
+0, 51, 51, 1, 38016, 0xdbbf1804
+0, 52, 52, 1, 38016, 0x1487f491
+0, 53, 53, 1, 38016, 0x6a722d73
+0, 54, 54, 1, 38016, 0xeb7258dd
+0, 55, 55, 1, 38016, 0x685e8a68
+0, 56, 56, 1, 38016, 0x1627800e
+0, 57, 57, 1, 38016, 0xa88a9a31
+0, 58, 58, 1, 38016, 0x4d5eaf56
+0, 59, 59, 1, 38016, 0xe3a9af0a
+0, 60, 60, 1, 38016, 0x3c38b8b2
+0, 61, 61, 1, 38016, 0x991fc29e
diff --git a/tests/ref/fate/h264-conformance-mr1_mw_a b/tests/ref/fate/h264-conformance-mr1_mw_a
index 98f112cc81..da7631d930 100644
--- a/tests/ref/fate/h264-conformance-mr1_mw_a
+++ b/tests/ref/fate/h264-conformance-mr1_mw_a
@@ -1,150 +1,151 @@
-0, 0, 38016, 0xc8981780
-0, 3600, 38016, 0xf089d880
-0, 7200, 38016, 0x5eee0731
-0, 10800, 38016, 0x79604e7c
-0, 14400, 38016, 0xb92186a9
-0, 18000, 38016, 0xe18ea8d9
-0, 21600, 38016, 0xedb599dd
-0, 25200, 38016, 0xc2665a04
-0, 28800, 38016, 0x88387c78
-0, 32400, 38016, 0x70b09638
-0, 36000, 38016, 0xb5629ba8
-0, 39600, 38016, 0xc8ee696b
-0, 43200, 38016, 0x9af12088
-0, 46800, 38016, 0x044f1510
-0, 50400, 38016, 0x04153fcc
-0, 54000, 38016, 0x6a433225
-0, 57600, 38016, 0x8fb43d81
-0, 61200, 38016, 0x708c5884
-0, 64800, 38016, 0xb2fa310d
-0, 68400, 38016, 0xa54f23bf
-0, 72000, 38016, 0x875d12a9
-0, 75600, 38016, 0xa7c2f3e5
-0, 79200, 38016, 0xba120362
-0, 82800, 38016, 0xf922ead0
-0, 86400, 38016, 0x23c38ae4
-0, 90000, 38016, 0x8e705ad0
-0, 93600, 38016, 0x60854be9
-0, 97200, 38016, 0x63163fd9
-0, 100800, 38016, 0x6d5886bd
-0, 104400, 38016, 0xd66fdaaa
-0, 108000, 38016, 0xcda78bc1
-0, 111600, 38016, 0x7e11aa47
-0, 115200, 38016, 0x4ac4ceba
-0, 118800, 38016, 0x80a45b77
-0, 122400, 38016, 0x6d1a19f9
-0, 126000, 38016, 0xd2b93d81
-0, 129600, 38016, 0x4532dc5a
-0, 133200, 38016, 0x874c3d28
-0, 136800, 38016, 0xbeb4552c
-0, 140400, 38016, 0xd85e8b6d
-0, 144000, 38016, 0x4c3a6953
-0, 147600, 38016, 0xf8615235
-0, 151200, 38016, 0x9b3e613a
-0, 154800, 38016, 0xfbba9dd5
-0, 158400, 38016, 0x435fbc73
-0, 162000, 38016, 0x15746d9d
-0, 165600, 38016, 0xfc6c2960
-0, 169200, 38016, 0x80c41d21
-0, 172800, 38016, 0xa621c891
-0, 176400, 38016, 0x24ce0e8b
-0, 180000, 38016, 0x15552d28
-0, 183600, 38016, 0xbc0b3703
-0, 187200, 38016, 0x81643dee
-0, 190800, 38016, 0x479c42ea
-0, 194400, 38016, 0x63d426db
-0, 198000, 38016, 0x5830f8e4
-0, 201600, 38016, 0xce24d921
-0, 205200, 38016, 0x0224c7b9
-0, 208800, 38016, 0x8f44bf31
-0, 212400, 38016, 0xc3d5c00f
-0, 216000, 38016, 0x13268498
-0, 219600, 38016, 0x83b99095
-0, 223200, 38016, 0xbb66a4b3
-0, 226800, 38016, 0x9b849565
-0, 230400, 38016, 0x81edbe5a
-0, 234000, 38016, 0x43781090
-0, 237600, 38016, 0x449c6974
-0, 241200, 38016, 0xbe61a0e0
-0, 244800, 38016, 0x5128c18e
-0, 248400, 38016, 0x2bf68f94
-0, 252000, 38016, 0x0fea4bbb
-0, 255600, 38016, 0x7dd650d2
-0, 259200, 38016, 0xc4332d1d
-0, 262800, 38016, 0xc7946d1c
-0, 266400, 38016, 0x6856e33f
-0, 270000, 38016, 0x567f7cc2
-0, 273600, 38016, 0x378bafed
-0, 277200, 38016, 0x3f710f7c
-0, 280800, 38016, 0x5d866a75
-0, 284400, 38016, 0xe264bdc7
-0, 288000, 38016, 0x48b2cbe9
-0, 291600, 38016, 0x0a4be700
-0, 295200, 38016, 0xcc4ed40d
-0, 298800, 38016, 0x93acaf5a
-0, 302400, 38016, 0xdd7465f2
-0, 306000, 38016, 0x4d492419
-0, 309600, 38016, 0xc2c2ca96
-0, 313200, 38016, 0x190324d8
-0, 316800, 38016, 0xd8962520
-0, 320400, 38016, 0x8d917eea
-0, 324000, 38016, 0x08ec794f
-0, 327600, 38016, 0x7ab598a6
-0, 331200, 38016, 0xaaec0ef7
-0, 334800, 38016, 0x7f6ffbe3
-0, 338400, 38016, 0x116d37cb
-0, 342000, 38016, 0x7b3a59fd
-0, 345600, 38016, 0xed5361cb
-0, 349200, 38016, 0x9c558a98
-0, 352800, 38016, 0x292e84ea
-0, 356400, 38016, 0x0d35bf44
-0, 360000, 38016, 0xaad7bedd
-0, 363600, 38016, 0xa6111b87
-0, 367200, 38016, 0x3c8bfc27
-0, 370800, 38016, 0x65ce6703
-0, 374400, 38016, 0x60ece2ec
-0, 378000, 38016, 0x8abbb25f
-0, 381600, 38016, 0x41108b27
-0, 385200, 38016, 0xac26284e
-0, 388800, 38016, 0x5f4c0db0
-0, 392400, 38016, 0xcccbee91
-0, 396000, 38016, 0x34238dc1
-0, 399600, 38016, 0x7479b326
-0, 403200, 38016, 0xaaf8a957
-0, 406800, 38016, 0xc49b55cb
-0, 410400, 38016, 0x338b129f
-0, 414000, 38016, 0xf0ed3328
-0, 417600, 38016, 0x39f8dcb3
-0, 421200, 38016, 0x7aecb808
-0, 424800, 38016, 0x35e8827a
-0, 428400, 38016, 0x16ac8b9d
-0, 432000, 38016, 0x3abdcb78
-0, 435600, 38016, 0xdfbfba7f
-0, 439200, 38016, 0x692a964e
-0, 442800, 38016, 0x11a5ebdb
-0, 446400, 38016, 0x46bc156d
-0, 450000, 38016, 0x1b153144
-0, 453600, 38016, 0xdd23349a
-0, 457200, 38016, 0xbad02161
-0, 460800, 38016, 0xc5030168
-0, 464400, 38016, 0x3e4ff28d
-0, 468000, 38016, 0x17faffe2
-0, 471600, 38016, 0xba04122f
-0, 475200, 38016, 0x8a8e0e1e
-0, 478800, 38016, 0xe5d6fc7d
-0, 482400, 38016, 0x22e3e630
-0, 486000, 38016, 0x7eb1a935
-0, 489600, 38016, 0xde46bead
-0, 493200, 38016, 0x34abc542
-0, 496800, 38016, 0x10ceaea3
-0, 500400, 38016, 0xb86fa676
-0, 504000, 38016, 0xbd9d9d3c
-0, 507600, 38016, 0x355fb37f
-0, 511200, 38016, 0xfb6fd3b0
-0, 514800, 38016, 0x3062edf4
-0, 518400, 38016, 0xf6940b60
-0, 522000, 38016, 0x78bd2f4e
-0, 525600, 38016, 0x51fc444f
-0, 529200, 38016, 0x118957cc
-0, 532800, 38016, 0x53777a50
-0, 536400, 38016, 0xeeaa9761
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc8981780
+0, 1, 1, 1, 38016, 0xf089d880
+0, 2, 2, 1, 38016, 0x5eee0731
+0, 3, 3, 1, 38016, 0x79604e7c
+0, 4, 4, 1, 38016, 0xb92186a9
+0, 5, 5, 1, 38016, 0xe18ea8d9
+0, 6, 6, 1, 38016, 0xedb599dd
+0, 7, 7, 1, 38016, 0xc2665a04
+0, 8, 8, 1, 38016, 0x88387c78
+0, 9, 9, 1, 38016, 0x70b09638
+0, 10, 10, 1, 38016, 0xb5629ba8
+0, 11, 11, 1, 38016, 0xc8ee696b
+0, 12, 12, 1, 38016, 0x9af12088
+0, 13, 13, 1, 38016, 0x044f1510
+0, 14, 14, 1, 38016, 0x04153fcc
+0, 15, 15, 1, 38016, 0x6a433225
+0, 16, 16, 1, 38016, 0x8fb43d81
+0, 17, 17, 1, 38016, 0x708c5884
+0, 18, 18, 1, 38016, 0xb2fa310d
+0, 19, 19, 1, 38016, 0xa54f23bf
+0, 20, 20, 1, 38016, 0x875d12a9
+0, 21, 21, 1, 38016, 0xa7c2f3e5
+0, 22, 22, 1, 38016, 0xba120362
+0, 23, 23, 1, 38016, 0xf922ead0
+0, 24, 24, 1, 38016, 0x23c38ae4
+0, 25, 25, 1, 38016, 0x8e705ad0
+0, 26, 26, 1, 38016, 0x60854be9
+0, 27, 27, 1, 38016, 0x63163fd9
+0, 28, 28, 1, 38016, 0x6d5886bd
+0, 29, 29, 1, 38016, 0xd66fdaaa
+0, 30, 30, 1, 38016, 0xcda78bc1
+0, 31, 31, 1, 38016, 0x7e11aa47
+0, 32, 32, 1, 38016, 0x4ac4ceba
+0, 33, 33, 1, 38016, 0x80a45b77
+0, 34, 34, 1, 38016, 0x6d1a19f9
+0, 35, 35, 1, 38016, 0xd2b93d81
+0, 36, 36, 1, 38016, 0x4532dc5a
+0, 37, 37, 1, 38016, 0x874c3d28
+0, 38, 38, 1, 38016, 0xbeb4552c
+0, 39, 39, 1, 38016, 0xd85e8b6d
+0, 40, 40, 1, 38016, 0x4c3a6953
+0, 41, 41, 1, 38016, 0xf8615235
+0, 42, 42, 1, 38016, 0x9b3e613a
+0, 43, 43, 1, 38016, 0xfbba9dd5
+0, 44, 44, 1, 38016, 0x435fbc73
+0, 45, 45, 1, 38016, 0x15746d9d
+0, 46, 46, 1, 38016, 0xfc6c2960
+0, 47, 47, 1, 38016, 0x80c41d21
+0, 48, 48, 1, 38016, 0xa621c891
+0, 49, 49, 1, 38016, 0x24ce0e8b
+0, 50, 50, 1, 38016, 0x15552d28
+0, 51, 51, 1, 38016, 0xbc0b3703
+0, 52, 52, 1, 38016, 0x81643dee
+0, 53, 53, 1, 38016, 0x479c42ea
+0, 54, 54, 1, 38016, 0x63d426db
+0, 55, 55, 1, 38016, 0x5830f8e4
+0, 56, 56, 1, 38016, 0xce24d921
+0, 57, 57, 1, 38016, 0x0224c7b9
+0, 58, 58, 1, 38016, 0x8f44bf31
+0, 59, 59, 1, 38016, 0xc3d5c00f
+0, 60, 60, 1, 38016, 0x13268498
+0, 61, 61, 1, 38016, 0x83b99095
+0, 62, 62, 1, 38016, 0xbb66a4b3
+0, 63, 63, 1, 38016, 0x9b849565
+0, 64, 64, 1, 38016, 0x81edbe5a
+0, 65, 65, 1, 38016, 0x43781090
+0, 66, 66, 1, 38016, 0x449c6974
+0, 67, 67, 1, 38016, 0xbe61a0e0
+0, 68, 68, 1, 38016, 0x5128c18e
+0, 69, 69, 1, 38016, 0x2bf68f94
+0, 70, 70, 1, 38016, 0x0fea4bbb
+0, 71, 71, 1, 38016, 0x7dd650d2
+0, 72, 72, 1, 38016, 0xc4332d1d
+0, 73, 73, 1, 38016, 0xc7946d1c
+0, 74, 74, 1, 38016, 0x6856e33f
+0, 75, 75, 1, 38016, 0x567f7cc2
+0, 76, 76, 1, 38016, 0x378bafed
+0, 77, 77, 1, 38016, 0x3f710f7c
+0, 78, 78, 1, 38016, 0x5d866a75
+0, 79, 79, 1, 38016, 0xe264bdc7
+0, 80, 80, 1, 38016, 0x48b2cbe9
+0, 81, 81, 1, 38016, 0x0a4be700
+0, 82, 82, 1, 38016, 0xcc4ed40d
+0, 83, 83, 1, 38016, 0x93acaf5a
+0, 84, 84, 1, 38016, 0xdd7465f2
+0, 85, 85, 1, 38016, 0x4d492419
+0, 86, 86, 1, 38016, 0xc2c2ca96
+0, 87, 87, 1, 38016, 0x190324d8
+0, 88, 88, 1, 38016, 0xd8962520
+0, 89, 89, 1, 38016, 0x8d917eea
+0, 90, 90, 1, 38016, 0x08ec794f
+0, 91, 91, 1, 38016, 0x7ab598a6
+0, 92, 92, 1, 38016, 0xaaec0ef7
+0, 93, 93, 1, 38016, 0x7f6ffbe3
+0, 94, 94, 1, 38016, 0x116d37cb
+0, 95, 95, 1, 38016, 0x7b3a59fd
+0, 96, 96, 1, 38016, 0xed5361cb
+0, 97, 97, 1, 38016, 0x9c558a98
+0, 98, 98, 1, 38016, 0x292e84ea
+0, 99, 99, 1, 38016, 0x0d35bf44
+0, 100, 100, 1, 38016, 0xaad7bedd
+0, 101, 101, 1, 38016, 0xa6111b87
+0, 102, 102, 1, 38016, 0x3c8bfc27
+0, 103, 103, 1, 38016, 0x65ce6703
+0, 104, 104, 1, 38016, 0x60ece2ec
+0, 105, 105, 1, 38016, 0x8abbb25f
+0, 106, 106, 1, 38016, 0x41108b27
+0, 107, 107, 1, 38016, 0xac26284e
+0, 108, 108, 1, 38016, 0x5f4c0db0
+0, 109, 109, 1, 38016, 0xcccbee91
+0, 110, 110, 1, 38016, 0x34238dc1
+0, 111, 111, 1, 38016, 0x7479b326
+0, 112, 112, 1, 38016, 0xaaf8a957
+0, 113, 113, 1, 38016, 0xc49b55cb
+0, 114, 114, 1, 38016, 0x338b129f
+0, 115, 115, 1, 38016, 0xf0ed3328
+0, 116, 116, 1, 38016, 0x39f8dcb3
+0, 117, 117, 1, 38016, 0x7aecb808
+0, 118, 118, 1, 38016, 0x35e8827a
+0, 119, 119, 1, 38016, 0x16ac8b9d
+0, 120, 120, 1, 38016, 0x3abdcb78
+0, 121, 121, 1, 38016, 0xdfbfba7f
+0, 122, 122, 1, 38016, 0x692a964e
+0, 123, 123, 1, 38016, 0x11a5ebdb
+0, 124, 124, 1, 38016, 0x46bc156d
+0, 125, 125, 1, 38016, 0x1b153144
+0, 126, 126, 1, 38016, 0xdd23349a
+0, 127, 127, 1, 38016, 0xbad02161
+0, 128, 128, 1, 38016, 0xc5030168
+0, 129, 129, 1, 38016, 0x3e4ff28d
+0, 130, 130, 1, 38016, 0x17faffe2
+0, 131, 131, 1, 38016, 0xba04122f
+0, 132, 132, 1, 38016, 0x8a8e0e1e
+0, 133, 133, 1, 38016, 0xe5d6fc7d
+0, 134, 134, 1, 38016, 0x22e3e630
+0, 135, 135, 1, 38016, 0x7eb1a935
+0, 136, 136, 1, 38016, 0xde46bead
+0, 137, 137, 1, 38016, 0x34abc542
+0, 138, 138, 1, 38016, 0x10ceaea3
+0, 139, 139, 1, 38016, 0xb86fa676
+0, 140, 140, 1, 38016, 0xbd9d9d3c
+0, 141, 141, 1, 38016, 0x355fb37f
+0, 142, 142, 1, 38016, 0xfb6fd3b0
+0, 143, 143, 1, 38016, 0x3062edf4
+0, 144, 144, 1, 38016, 0xf6940b60
+0, 145, 145, 1, 38016, 0x78bd2f4e
+0, 146, 146, 1, 38016, 0x51fc444f
+0, 147, 147, 1, 38016, 0x118957cc
+0, 148, 148, 1, 38016, 0x53777a50
+0, 149, 149, 1, 38016, 0xeeaa9761
diff --git a/tests/ref/fate/h264-conformance-mr2_mw_a b/tests/ref/fate/h264-conformance-mr2_mw_a
index e1728498b6..fd4b5d9086 100644
--- a/tests/ref/fate/h264-conformance-mr2_mw_a
+++ b/tests/ref/fate/h264-conformance-mr2_mw_a
@@ -1,300 +1,301 @@
-0, 0, 38016, 0x06150e88
-0, 3600, 38016, 0x32d90103
-0, 7200, 38016, 0xb32d338f
-0, 10800, 38016, 0x653c5fc3
-0, 14400, 38016, 0x69ec8bce
-0, 18000, 38016, 0x354fa53a
-0, 21600, 38016, 0x2ee79c2c
-0, 25200, 38016, 0x2c50666c
-0, 28800, 38016, 0x65ea824d
-0, 32400, 38016, 0x7419948b
-0, 36000, 38016, 0x19b298a0
-0, 39600, 38016, 0x29087291
-0, 43200, 38016, 0x92be1e95
-0, 46800, 38016, 0x9699119a
-0, 50400, 38016, 0xa4863bff
-0, 54000, 38016, 0x7dfc4f6b
-0, 57600, 38016, 0x946e5cfa
-0, 61200, 38016, 0x57287bdc
-0, 64800, 38016, 0xe7ae8bbe
-0, 68400, 38016, 0x21d367c7
-0, 72000, 38016, 0x9d0551c2
-0, 75600, 38016, 0xecc980b5
-0, 79200, 38016, 0x0ac4a749
-0, 82800, 38016, 0x9162262f
-0, 86400, 38016, 0x4a071c14
-0, 90000, 38016, 0x8571fae8
-0, 93600, 38016, 0xc0843707
-0, 97200, 38016, 0x7b4a63b0
-0, 100800, 38016, 0x5faf5d86
-0, 104400, 38016, 0x64623f6b
-0, 108000, 38016, 0xa97b523a
-0, 111600, 38016, 0x4048459a
-0, 115200, 38016, 0x56ba3d73
-0, 118800, 38016, 0x5394355a
-0, 122400, 38016, 0xb6c0176e
-0, 126000, 38016, 0x668c0772
-0, 129600, 38016, 0x86feeae8
-0, 133200, 38016, 0x9e75f9af
-0, 136800, 38016, 0xd72de054
-0, 140400, 38016, 0x39eb8743
-0, 144000, 38016, 0xd07b4d8e
-0, 147600, 38016, 0x89c045a9
-0, 151200, 38016, 0x209542e6
-0, 154800, 38016, 0xc43886ed
-0, 158400, 38016, 0xe091e433
-0, 162000, 38016, 0x176b1f65
-0, 165600, 38016, 0xd7730c3e
-0, 169200, 38016, 0x2bb90778
-0, 172800, 38016, 0x9b4540a8
-0, 176400, 38016, 0xd34c50db
-0, 180000, 38016, 0xf8007af9
-0, 183600, 38016, 0x54748466
-0, 187200, 38016, 0x20ab88a5
-0, 190800, 38016, 0x6aca8887
-0, 194400, 38016, 0xa1bf899f
-0, 198000, 38016, 0x8145966d
-0, 201600, 38016, 0x98f5a29c
-0, 205200, 38016, 0x4ed1b4d1
-0, 208800, 38016, 0x3177b95c
-0, 212400, 38016, 0x2b2cc4b2
-0, 216000, 38016, 0xf389db1e
-0, 219600, 38016, 0xfc6fca35
-0, 223200, 38016, 0x5f06af41
-0, 226800, 38016, 0x93a368d6
-0, 230400, 38016, 0x3de421f3
-0, 234000, 38016, 0x1e3f4b8d
-0, 237600, 38016, 0x6c3e6d4a
-0, 241200, 38016, 0x96ab4569
-0, 244800, 38016, 0x0de2d417
-0, 248400, 38016, 0x1a8a8d91
-0, 252000, 38016, 0xffb96503
-0, 255600, 38016, 0x1e1b4959
-0, 259200, 38016, 0x6aa267cd
-0, 262800, 38016, 0xcb87a00c
-0, 266400, 38016, 0x3b8ac17c
-0, 270000, 38016, 0x1348bf7b
-0, 273600, 38016, 0x1807b42d
-0, 277200, 38016, 0x22dfa6cb
-0, 280800, 38016, 0x3d23a622
-0, 284400, 38016, 0x662cb1e0
-0, 288000, 38016, 0x6ecfafaf
-0, 291600, 38016, 0xbffcaa71
-0, 295200, 38016, 0xf75ab93f
-0, 298800, 38016, 0xaea796bf
-0, 302400, 38016, 0x4a547fe8
-0, 306000, 38016, 0x2f1a800f
-0, 309600, 38016, 0xc7788261
-0, 313200, 38016, 0x8be17fd3
-0, 316800, 38016, 0xe830830c
-0, 320400, 38016, 0x62345ab7
-0, 324000, 38016, 0x70f926c6
-0, 327600, 38016, 0x37e94bf0
-0, 331200, 38016, 0xb1509312
-0, 334800, 38016, 0xc70fea7a
-0, 338400, 38016, 0x8062243b
-0, 342000, 38016, 0xe64a48b1
-0, 345600, 38016, 0x6f0c4dd7
-0, 349200, 38016, 0x5f9c53b4
-0, 352800, 38016, 0x4c5e506c
-0, 356400, 38016, 0xb7c631ef
-0, 360000, 38016, 0x30f302a9
-0, 363600, 38016, 0x4f28ebf0
-0, 367200, 38016, 0x3145d3d3
-0, 370800, 38016, 0x69b6c92f
-0, 374400, 38016, 0xa3b2c646
-0, 378000, 38016, 0x5ee00dec
-0, 381600, 38016, 0x313ee3ea
-0, 385200, 38016, 0x4002070e
-0, 388800, 38016, 0x5e0106b1
-0, 392400, 38016, 0xd03b2c4d
-0, 396000, 38016, 0xdd085316
-0, 399600, 38016, 0xb47a5f86
-0, 403200, 38016, 0xc25d5750
-0, 406800, 38016, 0x16ad52b3
-0, 410400, 38016, 0xa4fe2754
-0, 414000, 38016, 0xac5dfb18
-0, 417600, 38016, 0xe36ee83b
-0, 421200, 38016, 0xc708e54e
-0, 424800, 38016, 0x6c4beb85
-0, 428400, 38016, 0xf19fd825
-0, 432000, 38016, 0x94e7bb13
-0, 435600, 38016, 0x026e9ddf
-0, 439200, 38016, 0xdc71a591
-0, 442800, 38016, 0xb46eb169
-0, 446400, 38016, 0x25f5d5f4
-0, 450000, 38016, 0x27da203d
-0, 453600, 38016, 0xed217513
-0, 457200, 38016, 0x78d7bb08
-0, 460800, 38016, 0x623dd66d
-0, 464400, 38016, 0xd68c9f82
-0, 468000, 38016, 0x88b059e2
-0, 471600, 38016, 0x623159aa
-0, 475200, 38016, 0x1782245b
-0, 478800, 38016, 0x64f55b4a
-0, 482400, 38016, 0x83c7d154
-0, 486000, 38016, 0x43461c7c
-0, 489600, 38016, 0xc3e38c36
-0, 493200, 38016, 0x763394b4
-0, 496800, 38016, 0xff99749d
-0, 500400, 38016, 0x76ca13d0
-0, 504000, 38016, 0x29510aea
-0, 507600, 38016, 0x385f4309
-0, 511200, 38016, 0x142f5339
-0, 514800, 38016, 0x980ca66e
-0, 518400, 38016, 0xc330c0db
-0, 522000, 38016, 0xa7dbca0f
-0, 525600, 38016, 0x4261c683
-0, 529200, 38016, 0x6d467d81
-0, 532800, 38016, 0x1a107d17
-0, 536400, 38016, 0xd91e765a
-0, 540000, 38016, 0x789cfb94
-0, 543600, 38016, 0xc9bc9ee1
-0, 547200, 38016, 0x32f8754c
-0, 550800, 38016, 0xad906454
-0, 554400, 38016, 0xe5d6b78d
-0, 558000, 38016, 0x307bc291
-0, 561600, 38016, 0x629bdec9
-0, 565200, 38016, 0xf23ccd36
-0, 568800, 38016, 0x6105aa1b
-0, 572400, 38016, 0x3da66383
-0, 576000, 38016, 0x48ce2141
-0, 579600, 38016, 0x09fac5fd
-0, 583200, 38016, 0xa0bc208d
-0, 586800, 38016, 0x49892a74
-0, 590400, 38016, 0xfcb48093
-0, 594000, 38016, 0x850e7e4c
-0, 597600, 38016, 0x7cf24f55
-0, 601200, 38016, 0x654845f4
-0, 604800, 38016, 0x35ac5d63
-0, 608400, 38016, 0x795ea726
-0, 612000, 38016, 0xf387a03d
-0, 615600, 38016, 0x29279e19
-0, 619200, 38016, 0x48e3b03d
-0, 622800, 38016, 0xbcfb8192
-0, 626400, 38016, 0x3fe2749a
-0, 630000, 38016, 0xe0a04bbd
-0, 633600, 38016, 0x9a912cd7
-0, 637200, 38016, 0x39781e59
-0, 640800, 38016, 0x90e5131a
-0, 644400, 38016, 0x8bd90b4b
-0, 648000, 38016, 0x410dda61
-0, 651600, 38016, 0x33eb60fd
-0, 655200, 38016, 0x08e8632b
-0, 658800, 38016, 0x6163fd94
-0, 662400, 38016, 0x60af34e1
-0, 666000, 38016, 0x00016227
-0, 669600, 38016, 0xe6bd71bd
-0, 673200, 38016, 0xb40cdf28
-0, 676800, 38016, 0x3cdeb88e
-0, 680400, 38016, 0xb9ffe0d6
-0, 684000, 38016, 0xd630ce53
-0, 687600, 38016, 0x120056c2
-0, 691200, 38016, 0x0940399e
-0, 694800, 38016, 0x3d337fd0
-0, 698400, 38016, 0x6ef1f4b9
-0, 702000, 38016, 0x7e20f462
-0, 705600, 38016, 0xe397f30a
-0, 709200, 38016, 0x6eadf916
-0, 712800, 38016, 0x850e07b9
-0, 716400, 38016, 0x131b10db
-0, 720000, 38016, 0x17961d0e
-0, 723600, 38016, 0x447557da
-0, 727200, 38016, 0x93da7c0e
-0, 730800, 38016, 0xd6259239
-0, 734400, 38016, 0x2db99d95
-0, 738000, 38016, 0x648ea2bd
-0, 741600, 38016, 0xf8f46ef6
-0, 745200, 38016, 0xb85a7405
-0, 748800, 38016, 0x55dc7bbd
-0, 752400, 38016, 0xf38d76f8
-0, 756000, 38016, 0x9e860b96
-0, 759600, 38016, 0x7c5a5da7
-0, 763200, 38016, 0xdf36a619
-0, 766800, 38016, 0x327d1144
-0, 770400, 38016, 0x4a01eabd
-0, 774000, 38016, 0xee8b8717
-0, 777600, 38016, 0x874eaf23
-0, 781200, 38016, 0xddaaaf38
-0, 784800, 38016, 0xcab85271
-0, 788400, 38016, 0x970f0d3f
-0, 792000, 38016, 0x2a042dcc
-0, 795600, 38016, 0xa240e0e7
-0, 799200, 38016, 0x9564c081
-0, 802800, 38016, 0x894d82b4
-0, 806400, 38016, 0xb0748d24
-0, 810000, 38016, 0xafa56340
-0, 813600, 38016, 0x614287c6
-0, 817200, 38016, 0x4dfcaaac
-0, 820800, 38016, 0x58dab168
-0, 824400, 38016, 0x19fbb779
-0, 828000, 38016, 0x25adb4c9
-0, 831600, 38016, 0x5fc1bdae
-0, 835200, 38016, 0x6581a5d0
-0, 838800, 38016, 0x81d57061
-0, 842400, 38016, 0x43445964
-0, 846000, 38016, 0x68224a19
-0, 849600, 38016, 0xa85d390a
-0, 853200, 38016, 0xb571344d
-0, 856800, 38016, 0xd3632bfd
-0, 860400, 38016, 0x5af52535
-0, 864000, 38016, 0x21b93882
-0, 867600, 38016, 0x8da56743
-0, 871200, 38016, 0x9e7b9da2
-0, 874800, 38016, 0xc1a6bbd9
-0, 878400, 38016, 0xd77be9aa
-0, 882000, 38016, 0x2715100f
-0, 885600, 38016, 0xac8c1e30
-0, 889200, 38016, 0x110c14b9
-0, 892800, 38016, 0x5a8ff5c4
-0, 896400, 38016, 0x25d4ef19
-0, 900000, 38016, 0x080ffe7f
-0, 903600, 38016, 0x7f5b15ef
-0, 907200, 38016, 0xf97f10e1
-0, 910800, 38016, 0xdd80f7e5
-0, 914400, 38016, 0xb177df60
-0, 918000, 38016, 0x406023f6
-0, 921600, 38016, 0xf396220f
-0, 925200, 38016, 0x50fc2e7a
-0, 928800, 38016, 0x959b42da
-0, 932400, 38016, 0x61c7484a
-0, 936000, 38016, 0x09825cd1
-0, 939600, 38016, 0x0e7b6bd9
-0, 943200, 38016, 0x4a386b9e
-0, 946800, 38016, 0x817b5e14
-0, 950400, 38016, 0x51696069
-0, 954000, 38016, 0x84a35f51
-0, 957600, 38016, 0xf7758da3
-0, 961200, 38016, 0x787b6659
-0, 964800, 38016, 0xedb95942
-0, 968400, 38016, 0x4d4d8eb5
-0, 972000, 38016, 0x716cb36a
-0, 975600, 38016, 0x6556b912
-0, 979200, 38016, 0xbdd8c0b6
-0, 982800, 38016, 0xd9ffbba5
-0, 986400, 38016, 0xb5d7b4a7
-0, 990000, 38016, 0x4690a4ed
-0, 993600, 38016, 0x6fc8bdc4
-0, 997200, 38016, 0x827de512
-0, 1000800, 38016, 0x897bfc43
-0, 1004400, 38016, 0x41f8144a
-0, 1008000, 38016, 0xff7d369e
-0, 1011600, 38016, 0x526f48fa
-0, 1015200, 38016, 0x53245921
-0, 1018800, 38016, 0x69a3791e
-0, 1022400, 38016, 0x3de095df
-0, 1026000, 38016, 0x9ae2a0f2
-0, 1029600, 38016, 0xd1668593
-0, 1033200, 38016, 0x322c4f5b
-0, 1036800, 38016, 0x15882875
-0, 1040400, 38016, 0xa8886b9a
-0, 1044000, 38016, 0xc6f07ac1
-0, 1047600, 38016, 0xf9446d58
-0, 1051200, 38016, 0x98ef5ffc
-0, 1054800, 38016, 0x23434b21
-0, 1058400, 38016, 0xa1f353d2
-0, 1062000, 38016, 0x6b3d4452
-0, 1065600, 38016, 0xd4ac32bf
-0, 1069200, 38016, 0xc577065d
-0, 1072800, 38016, 0x2d01111d
-0, 1076400, 38016, 0xf51721d4
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x06150e88
+0, 1, 1, 1, 38016, 0x32d90103
+0, 2, 2, 1, 38016, 0xb32d338f
+0, 3, 3, 1, 38016, 0x653c5fc3
+0, 4, 4, 1, 38016, 0x69ec8bce
+0, 5, 5, 1, 38016, 0x354fa53a
+0, 6, 6, 1, 38016, 0x2ee79c2c
+0, 7, 7, 1, 38016, 0x2c50666c
+0, 8, 8, 1, 38016, 0x65ea824d
+0, 9, 9, 1, 38016, 0x7419948b
+0, 10, 10, 1, 38016, 0x19b298a0
+0, 11, 11, 1, 38016, 0x29087291
+0, 12, 12, 1, 38016, 0x92be1e95
+0, 13, 13, 1, 38016, 0x9699119a
+0, 14, 14, 1, 38016, 0xa4863bff
+0, 15, 15, 1, 38016, 0x7dfc4f6b
+0, 16, 16, 1, 38016, 0x946e5cfa
+0, 17, 17, 1, 38016, 0x57287bdc
+0, 18, 18, 1, 38016, 0xe7ae8bbe
+0, 19, 19, 1, 38016, 0x21d367c7
+0, 20, 20, 1, 38016, 0x9d0551c2
+0, 21, 21, 1, 38016, 0xecc980b5
+0, 22, 22, 1, 38016, 0x0ac4a749
+0, 23, 23, 1, 38016, 0x9162262f
+0, 24, 24, 1, 38016, 0x4a071c14
+0, 25, 25, 1, 38016, 0x8571fae8
+0, 26, 26, 1, 38016, 0xc0843707
+0, 27, 27, 1, 38016, 0x7b4a63b0
+0, 28, 28, 1, 38016, 0x5faf5d86
+0, 29, 29, 1, 38016, 0x64623f6b
+0, 30, 30, 1, 38016, 0xa97b523a
+0, 31, 31, 1, 38016, 0x4048459a
+0, 32, 32, 1, 38016, 0x56ba3d73
+0, 33, 33, 1, 38016, 0x5394355a
+0, 34, 34, 1, 38016, 0xb6c0176e
+0, 35, 35, 1, 38016, 0x668c0772
+0, 36, 36, 1, 38016, 0x86feeae8
+0, 37, 37, 1, 38016, 0x9e75f9af
+0, 38, 38, 1, 38016, 0xd72de054
+0, 39, 39, 1, 38016, 0x39eb8743
+0, 40, 40, 1, 38016, 0xd07b4d8e
+0, 41, 41, 1, 38016, 0x89c045a9
+0, 42, 42, 1, 38016, 0x209542e6
+0, 43, 43, 1, 38016, 0xc43886ed
+0, 44, 44, 1, 38016, 0xe091e433
+0, 45, 45, 1, 38016, 0x176b1f65
+0, 46, 46, 1, 38016, 0xd7730c3e
+0, 47, 47, 1, 38016, 0x2bb90778
+0, 48, 48, 1, 38016, 0x9b4540a8
+0, 49, 49, 1, 38016, 0xd34c50db
+0, 50, 50, 1, 38016, 0xf8007af9
+0, 51, 51, 1, 38016, 0x54748466
+0, 52, 52, 1, 38016, 0x20ab88a5
+0, 53, 53, 1, 38016, 0x6aca8887
+0, 54, 54, 1, 38016, 0xa1bf899f
+0, 55, 55, 1, 38016, 0x8145966d
+0, 56, 56, 1, 38016, 0x98f5a29c
+0, 57, 57, 1, 38016, 0x4ed1b4d1
+0, 58, 58, 1, 38016, 0x3177b95c
+0, 59, 59, 1, 38016, 0x2b2cc4b2
+0, 60, 60, 1, 38016, 0xf389db1e
+0, 61, 61, 1, 38016, 0xfc6fca35
+0, 62, 62, 1, 38016, 0x5f06af41
+0, 63, 63, 1, 38016, 0x93a368d6
+0, 64, 64, 1, 38016, 0x3de421f3
+0, 65, 65, 1, 38016, 0x1e3f4b8d
+0, 66, 66, 1, 38016, 0x6c3e6d4a
+0, 67, 67, 1, 38016, 0x96ab4569
+0, 68, 68, 1, 38016, 0x0de2d417
+0, 69, 69, 1, 38016, 0x1a8a8d91
+0, 70, 70, 1, 38016, 0xffb96503
+0, 71, 71, 1, 38016, 0x1e1b4959
+0, 72, 72, 1, 38016, 0x6aa267cd
+0, 73, 73, 1, 38016, 0xcb87a00c
+0, 74, 74, 1, 38016, 0x3b8ac17c
+0, 75, 75, 1, 38016, 0x1348bf7b
+0, 76, 76, 1, 38016, 0x1807b42d
+0, 77, 77, 1, 38016, 0x22dfa6cb
+0, 78, 78, 1, 38016, 0x3d23a622
+0, 79, 79, 1, 38016, 0x662cb1e0
+0, 80, 80, 1, 38016, 0x6ecfafaf
+0, 81, 81, 1, 38016, 0xbffcaa71
+0, 82, 82, 1, 38016, 0xf75ab93f
+0, 83, 83, 1, 38016, 0xaea796bf
+0, 84, 84, 1, 38016, 0x4a547fe8
+0, 85, 85, 1, 38016, 0x2f1a800f
+0, 86, 86, 1, 38016, 0xc7788261
+0, 87, 87, 1, 38016, 0x8be17fd3
+0, 88, 88, 1, 38016, 0xe830830c
+0, 89, 89, 1, 38016, 0x62345ab7
+0, 90, 90, 1, 38016, 0x70f926c6
+0, 91, 91, 1, 38016, 0x37e94bf0
+0, 92, 92, 1, 38016, 0xb1509312
+0, 93, 93, 1, 38016, 0xc70fea7a
+0, 94, 94, 1, 38016, 0x8062243b
+0, 95, 95, 1, 38016, 0xe64a48b1
+0, 96, 96, 1, 38016, 0x6f0c4dd7
+0, 97, 97, 1, 38016, 0x5f9c53b4
+0, 98, 98, 1, 38016, 0x4c5e506c
+0, 99, 99, 1, 38016, 0xb7c631ef
+0, 100, 100, 1, 38016, 0x30f302a9
+0, 101, 101, 1, 38016, 0x4f28ebf0
+0, 102, 102, 1, 38016, 0x3145d3d3
+0, 103, 103, 1, 38016, 0x69b6c92f
+0, 104, 104, 1, 38016, 0xa3b2c646
+0, 105, 105, 1, 38016, 0x5ee00dec
+0, 106, 106, 1, 38016, 0x313ee3ea
+0, 107, 107, 1, 38016, 0x4002070e
+0, 108, 108, 1, 38016, 0x5e0106b1
+0, 109, 109, 1, 38016, 0xd03b2c4d
+0, 110, 110, 1, 38016, 0xdd085316
+0, 111, 111, 1, 38016, 0xb47a5f86
+0, 112, 112, 1, 38016, 0xc25d5750
+0, 113, 113, 1, 38016, 0x16ad52b3
+0, 114, 114, 1, 38016, 0xa4fe2754
+0, 115, 115, 1, 38016, 0xac5dfb18
+0, 116, 116, 1, 38016, 0xe36ee83b
+0, 117, 117, 1, 38016, 0xc708e54e
+0, 118, 118, 1, 38016, 0x6c4beb85
+0, 119, 119, 1, 38016, 0xf19fd825
+0, 120, 120, 1, 38016, 0x94e7bb13
+0, 121, 121, 1, 38016, 0x026e9ddf
+0, 122, 122, 1, 38016, 0xdc71a591
+0, 123, 123, 1, 38016, 0xb46eb169
+0, 124, 124, 1, 38016, 0x25f5d5f4
+0, 125, 125, 1, 38016, 0x27da203d
+0, 126, 126, 1, 38016, 0xed217513
+0, 127, 127, 1, 38016, 0x78d7bb08
+0, 128, 128, 1, 38016, 0x623dd66d
+0, 129, 129, 1, 38016, 0xd68c9f82
+0, 130, 130, 1, 38016, 0x88b059e2
+0, 131, 131, 1, 38016, 0x623159aa
+0, 132, 132, 1, 38016, 0x1782245b
+0, 133, 133, 1, 38016, 0x64f55b4a
+0, 134, 134, 1, 38016, 0x83c7d154
+0, 135, 135, 1, 38016, 0x43461c7c
+0, 136, 136, 1, 38016, 0xc3e38c36
+0, 137, 137, 1, 38016, 0x763394b4
+0, 138, 138, 1, 38016, 0xff99749d
+0, 139, 139, 1, 38016, 0x76ca13d0
+0, 140, 140, 1, 38016, 0x29510aea
+0, 141, 141, 1, 38016, 0x385f4309
+0, 142, 142, 1, 38016, 0x142f5339
+0, 143, 143, 1, 38016, 0x980ca66e
+0, 144, 144, 1, 38016, 0xc330c0db
+0, 145, 145, 1, 38016, 0xa7dbca0f
+0, 146, 146, 1, 38016, 0x4261c683
+0, 147, 147, 1, 38016, 0x6d467d81
+0, 148, 148, 1, 38016, 0x1a107d17
+0, 149, 149, 1, 38016, 0xd91e765a
+0, 150, 150, 1, 38016, 0x789cfb94
+0, 151, 151, 1, 38016, 0xc9bc9ee1
+0, 152, 152, 1, 38016, 0x32f8754c
+0, 153, 153, 1, 38016, 0xad906454
+0, 154, 154, 1, 38016, 0xe5d6b78d
+0, 155, 155, 1, 38016, 0x307bc291
+0, 156, 156, 1, 38016, 0x629bdec9
+0, 157, 157, 1, 38016, 0xf23ccd36
+0, 158, 158, 1, 38016, 0x6105aa1b
+0, 159, 159, 1, 38016, 0x3da66383
+0, 160, 160, 1, 38016, 0x48ce2141
+0, 161, 161, 1, 38016, 0x09fac5fd
+0, 162, 162, 1, 38016, 0xa0bc208d
+0, 163, 163, 1, 38016, 0x49892a74
+0, 164, 164, 1, 38016, 0xfcb48093
+0, 165, 165, 1, 38016, 0x850e7e4c
+0, 166, 166, 1, 38016, 0x7cf24f55
+0, 167, 167, 1, 38016, 0x654845f4
+0, 168, 168, 1, 38016, 0x35ac5d63
+0, 169, 169, 1, 38016, 0x795ea726
+0, 170, 170, 1, 38016, 0xf387a03d
+0, 171, 171, 1, 38016, 0x29279e19
+0, 172, 172, 1, 38016, 0x48e3b03d
+0, 173, 173, 1, 38016, 0xbcfb8192
+0, 174, 174, 1, 38016, 0x3fe2749a
+0, 175, 175, 1, 38016, 0xe0a04bbd
+0, 176, 176, 1, 38016, 0x9a912cd7
+0, 177, 177, 1, 38016, 0x39781e59
+0, 178, 178, 1, 38016, 0x90e5131a
+0, 179, 179, 1, 38016, 0x8bd90b4b
+0, 180, 180, 1, 38016, 0x410dda61
+0, 181, 181, 1, 38016, 0x33eb60fd
+0, 182, 182, 1, 38016, 0x08e8632b
+0, 183, 183, 1, 38016, 0x6163fd94
+0, 184, 184, 1, 38016, 0x60af34e1
+0, 185, 185, 1, 38016, 0x00016227
+0, 186, 186, 1, 38016, 0xe6bd71bd
+0, 187, 187, 1, 38016, 0xb40cdf28
+0, 188, 188, 1, 38016, 0x3cdeb88e
+0, 189, 189, 1, 38016, 0xb9ffe0d6
+0, 190, 190, 1, 38016, 0xd630ce53
+0, 191, 191, 1, 38016, 0x120056c2
+0, 192, 192, 1, 38016, 0x0940399e
+0, 193, 193, 1, 38016, 0x3d337fd0
+0, 194, 194, 1, 38016, 0x6ef1f4b9
+0, 195, 195, 1, 38016, 0x7e20f462
+0, 196, 196, 1, 38016, 0xe397f30a
+0, 197, 197, 1, 38016, 0x6eadf916
+0, 198, 198, 1, 38016, 0x850e07b9
+0, 199, 199, 1, 38016, 0x131b10db
+0, 200, 200, 1, 38016, 0x17961d0e
+0, 201, 201, 1, 38016, 0x447557da
+0, 202, 202, 1, 38016, 0x93da7c0e
+0, 203, 203, 1, 38016, 0xd6259239
+0, 204, 204, 1, 38016, 0x2db99d95
+0, 205, 205, 1, 38016, 0x648ea2bd
+0, 206, 206, 1, 38016, 0xf8f46ef6
+0, 207, 207, 1, 38016, 0xb85a7405
+0, 208, 208, 1, 38016, 0x55dc7bbd
+0, 209, 209, 1, 38016, 0xf38d76f8
+0, 210, 210, 1, 38016, 0x9e860b96
+0, 211, 211, 1, 38016, 0x7c5a5da7
+0, 212, 212, 1, 38016, 0xdf36a619
+0, 213, 213, 1, 38016, 0x327d1144
+0, 214, 214, 1, 38016, 0x4a01eabd
+0, 215, 215, 1, 38016, 0xee8b8717
+0, 216, 216, 1, 38016, 0x874eaf23
+0, 217, 217, 1, 38016, 0xddaaaf38
+0, 218, 218, 1, 38016, 0xcab85271
+0, 219, 219, 1, 38016, 0x970f0d3f
+0, 220, 220, 1, 38016, 0x2a042dcc
+0, 221, 221, 1, 38016, 0xa240e0e7
+0, 222, 222, 1, 38016, 0x9564c081
+0, 223, 223, 1, 38016, 0x894d82b4
+0, 224, 224, 1, 38016, 0xb0748d24
+0, 225, 225, 1, 38016, 0xafa56340
+0, 226, 226, 1, 38016, 0x614287c6
+0, 227, 227, 1, 38016, 0x4dfcaaac
+0, 228, 228, 1, 38016, 0x58dab168
+0, 229, 229, 1, 38016, 0x19fbb779
+0, 230, 230, 1, 38016, 0x25adb4c9
+0, 231, 231, 1, 38016, 0x5fc1bdae
+0, 232, 232, 1, 38016, 0x6581a5d0
+0, 233, 233, 1, 38016, 0x81d57061
+0, 234, 234, 1, 38016, 0x43445964
+0, 235, 235, 1, 38016, 0x68224a19
+0, 236, 236, 1, 38016, 0xa85d390a
+0, 237, 237, 1, 38016, 0xb571344d
+0, 238, 238, 1, 38016, 0xd3632bfd
+0, 239, 239, 1, 38016, 0x5af52535
+0, 240, 240, 1, 38016, 0x21b93882
+0, 241, 241, 1, 38016, 0x8da56743
+0, 242, 242, 1, 38016, 0x9e7b9da2
+0, 243, 243, 1, 38016, 0xc1a6bbd9
+0, 244, 244, 1, 38016, 0xd77be9aa
+0, 245, 245, 1, 38016, 0x2715100f
+0, 246, 246, 1, 38016, 0xac8c1e30
+0, 247, 247, 1, 38016, 0x110c14b9
+0, 248, 248, 1, 38016, 0x5a8ff5c4
+0, 249, 249, 1, 38016, 0x25d4ef19
+0, 250, 250, 1, 38016, 0x080ffe7f
+0, 251, 251, 1, 38016, 0x7f5b15ef
+0, 252, 252, 1, 38016, 0xf97f10e1
+0, 253, 253, 1, 38016, 0xdd80f7e5
+0, 254, 254, 1, 38016, 0xb177df60
+0, 255, 255, 1, 38016, 0x406023f6
+0, 256, 256, 1, 38016, 0xf396220f
+0, 257, 257, 1, 38016, 0x50fc2e7a
+0, 258, 258, 1, 38016, 0x959b42da
+0, 259, 259, 1, 38016, 0x61c7484a
+0, 260, 260, 1, 38016, 0x09825cd1
+0, 261, 261, 1, 38016, 0x0e7b6bd9
+0, 262, 262, 1, 38016, 0x4a386b9e
+0, 263, 263, 1, 38016, 0x817b5e14
+0, 264, 264, 1, 38016, 0x51696069
+0, 265, 265, 1, 38016, 0x84a35f51
+0, 266, 266, 1, 38016, 0xf7758da3
+0, 267, 267, 1, 38016, 0x787b6659
+0, 268, 268, 1, 38016, 0xedb95942
+0, 269, 269, 1, 38016, 0x4d4d8eb5
+0, 270, 270, 1, 38016, 0x716cb36a
+0, 271, 271, 1, 38016, 0x6556b912
+0, 272, 272, 1, 38016, 0xbdd8c0b6
+0, 273, 273, 1, 38016, 0xd9ffbba5
+0, 274, 274, 1, 38016, 0xb5d7b4a7
+0, 275, 275, 1, 38016, 0x4690a4ed
+0, 276, 276, 1, 38016, 0x6fc8bdc4
+0, 277, 277, 1, 38016, 0x827de512
+0, 278, 278, 1, 38016, 0x897bfc43
+0, 279, 279, 1, 38016, 0x41f8144a
+0, 280, 280, 1, 38016, 0xff7d369e
+0, 281, 281, 1, 38016, 0x526f48fa
+0, 282, 282, 1, 38016, 0x53245921
+0, 283, 283, 1, 38016, 0x69a3791e
+0, 284, 284, 1, 38016, 0x3de095df
+0, 285, 285, 1, 38016, 0x9ae2a0f2
+0, 286, 286, 1, 38016, 0xd1668593
+0, 287, 287, 1, 38016, 0x322c4f5b
+0, 288, 288, 1, 38016, 0x15882875
+0, 289, 289, 1, 38016, 0xa8886b9a
+0, 290, 290, 1, 38016, 0xc6f07ac1
+0, 291, 291, 1, 38016, 0xf9446d58
+0, 292, 292, 1, 38016, 0x98ef5ffc
+0, 293, 293, 1, 38016, 0x23434b21
+0, 294, 294, 1, 38016, 0xa1f353d2
+0, 295, 295, 1, 38016, 0x6b3d4452
+0, 296, 296, 1, 38016, 0xd4ac32bf
+0, 297, 297, 1, 38016, 0xc577065d
+0, 298, 298, 1, 38016, 0x2d01111d
+0, 299, 299, 1, 38016, 0xf51721d4
diff --git a/tests/ref/fate/h264-conformance-mr2_tandberg_e b/tests/ref/fate/h264-conformance-mr2_tandberg_e
index f47730f4dd..8fbac9f652 100644
--- a/tests/ref/fate/h264-conformance-mr2_tandberg_e
+++ b/tests/ref/fate/h264-conformance-mr2_tandberg_e
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb96f1feb
-0, 3600, 38016, 0xca461abd
-0, 7200, 38016, 0x578a0c87
-0, 10800, 38016, 0xb3cc1ecb
-0, 14400, 38016, 0xd2c84463
-0, 18000, 38016, 0x815d6363
-0, 21600, 38016, 0x7cc17319
-0, 25200, 38016, 0x0f7e8cab
-0, 28800, 38016, 0x1876abee
-0, 32400, 38016, 0x8f25bccd
-0, 36000, 38016, 0xc1c7bb9c
-0, 39600, 38016, 0xf861bdb5
-0, 43200, 38016, 0xae1ac352
-0, 46800, 38016, 0x9b6f990b
-0, 50400, 38016, 0xa5217121
-0, 54000, 38016, 0x12ac8367
-0, 57600, 38016, 0x687f8526
-0, 61200, 38016, 0x9b009a01
-0, 64800, 38016, 0x9c629e04
-0, 68400, 38016, 0xfee5a366
-0, 72000, 38016, 0x264e9b00
-0, 75600, 38016, 0xf89f9508
-0, 79200, 38016, 0x19247145
-0, 82800, 38016, 0xc4cd41bd
-0, 86400, 38016, 0x035c2696
-0, 90000, 38016, 0x22310e7f
-0, 93600, 38016, 0xdd771898
-0, 97200, 38016, 0x61522adf
-0, 100800, 38016, 0x5eee412f
-0, 104400, 38016, 0x03f05077
-0, 108000, 38016, 0x69625001
-0, 111600, 38016, 0x8e025073
-0, 115200, 38016, 0x37374607
-0, 118800, 38016, 0xc90547ea
-0, 122400, 38016, 0xe9eb4193
-0, 126000, 38016, 0xf7214070
-0, 129600, 38016, 0xc3ce38de
-0, 133200, 38016, 0xb99933cb
-0, 136800, 38016, 0x5ee12b39
-0, 140400, 38016, 0x13c921be
-0, 144000, 38016, 0x66341136
-0, 147600, 38016, 0x97710eef
-0, 151200, 38016, 0xe5910c52
-0, 154800, 38016, 0xbf9d0fbb
-0, 158400, 38016, 0x0405177d
-0, 162000, 38016, 0x25ec13da
-0, 165600, 38016, 0xda29f457
-0, 169200, 38016, 0x8e7dbe67
-0, 172800, 38016, 0x64809802
-0, 176400, 38016, 0xbd45731d
-0, 180000, 38016, 0xf9e75c5b
-0, 183600, 38016, 0x4509551e
-0, 187200, 38016, 0xd73b54c9
-0, 190800, 38016, 0x434d430e
-0, 194400, 38016, 0xfbd940fe
-0, 198000, 38016, 0xddb1612a
-0, 201600, 38016, 0xffec797a
-0, 205200, 38016, 0x4355aa0c
-0, 208800, 38016, 0x1776d3e0
-0, 212400, 38016, 0x7a64dd7f
-0, 216000, 38016, 0xe619e56c
-0, 219600, 38016, 0x43b0d8e7
-0, 223200, 38016, 0x2103caf1
-0, 226800, 38016, 0x808fbb8d
-0, 230400, 38016, 0x0654ae1e
-0, 234000, 38016, 0x8b6da03f
-0, 237600, 38016, 0x15ee6b73
-0, 241200, 38016, 0x8ab049c4
-0, 244800, 38016, 0x7c6d351c
-0, 248400, 38016, 0xe3fa3794
-0, 252000, 38016, 0x5b3c581c
-0, 255600, 38016, 0xf07a70e8
-0, 259200, 38016, 0xcc378cb4
-0, 262800, 38016, 0x15f49788
-0, 266400, 38016, 0x23de74b4
-0, 270000, 38016, 0x2e842db6
-0, 273600, 38016, 0xd23cf2b9
-0, 277200, 38016, 0xfbb7cea3
-0, 280800, 38016, 0x05039bf0
-0, 284400, 38016, 0x854d8c6c
-0, 288000, 38016, 0x7d2770d7
-0, 291600, 38016, 0x7e5f6374
-0, 295200, 38016, 0x204753ee
-0, 298800, 38016, 0x66906f4d
-0, 302400, 38016, 0xf6ae700b
-0, 306000, 38016, 0x64438aba
-0, 309600, 38016, 0xc93aa41f
-0, 313200, 38016, 0x27bdbdb7
-0, 316800, 38016, 0x7aceb0a3
-0, 320400, 38016, 0x751d81bd
-0, 324000, 38016, 0xa86e3940
-0, 327600, 38016, 0x9d022dd6
-0, 331200, 38016, 0x0a484d7c
-0, 334800, 38016, 0x6d555adb
-0, 338400, 38016, 0xfe9799e0
-0, 342000, 38016, 0x245ad49b
-0, 345600, 38016, 0x6d22e3e3
-0, 349200, 38016, 0xdffc00df
-0, 352800, 38016, 0x34ec1984
-0, 356400, 38016, 0x15172b1a
-0, 360000, 38016, 0x05d742d8
-0, 363600, 38016, 0xc94350fc
-0, 367200, 38016, 0x3af65a84
-0, 370800, 38016, 0xfbf96492
-0, 374400, 38016, 0x1c8f6e2e
-0, 378000, 38016, 0xe41677dc
-0, 381600, 38016, 0xd36284e1
-0, 385200, 38016, 0xa5f57f14
-0, 388800, 38016, 0x6a7d70f4
-0, 392400, 38016, 0x4c1a584f
-0, 396000, 38016, 0x4f093dd3
-0, 399600, 38016, 0x5a1634b3
-0, 403200, 38016, 0xdd1a29b5
-0, 406800, 38016, 0x28c81aa3
-0, 410400, 38016, 0x681a0e29
-0, 414000, 38016, 0x74110802
-0, 417600, 38016, 0x468afe8a
-0, 421200, 38016, 0xfbb609e0
-0, 424800, 38016, 0x79d60da0
-0, 428400, 38016, 0x0774036d
-0, 432000, 38016, 0x904bf22d
-0, 435600, 38016, 0xddeaedb5
-0, 439200, 38016, 0x5de1d5af
-0, 442800, 38016, 0xb9bad4cf
-0, 446400, 38016, 0x452bcf0e
-0, 450000, 38016, 0x9ab9cca8
-0, 453600, 38016, 0x9b77d6ba
-0, 457200, 38016, 0xb9f5dfaf
-0, 460800, 38016, 0x7b33fac4
-0, 464400, 38016, 0x25e41c67
-0, 468000, 38016, 0x6af749b5
-0, 471600, 38016, 0xe6576d07
-0, 475200, 38016, 0x55a49498
-0, 478800, 38016, 0x3bf4bd93
-0, 482400, 38016, 0xba65cabb
-0, 486000, 38016, 0x0c02de64
-0, 489600, 38016, 0xdb86e742
-0, 493200, 38016, 0x37acdf69
-0, 496800, 38016, 0x8c1ea6be
-0, 500400, 38016, 0x5295739e
-0, 504000, 38016, 0xb2f85eb7
-0, 507600, 38016, 0x17394375
-0, 511200, 38016, 0x8a7f7528
-0, 514800, 38016, 0x17c3e7a5
-0, 518400, 38016, 0xbe1763ef
-0, 522000, 38016, 0x236eab70
-0, 525600, 38016, 0x4b3e9bbb
-0, 529200, 38016, 0xc1d664f9
-0, 532800, 38016, 0xc2300411
-0, 536400, 38016, 0x1cf2903c
-0, 540000, 38016, 0xd8783451
-0, 543600, 38016, 0xf3c8ff31
-0, 547200, 38016, 0xf6dfd324
-0, 550800, 38016, 0x7b93b5d0
-0, 554400, 38016, 0xf246a0f4
-0, 558000, 38016, 0x5e970b10
-0, 561600, 38016, 0xcb98878e
-0, 565200, 38016, 0xc804f169
-0, 568800, 38016, 0x801fec84
-0, 572400, 38016, 0xb242ee41
-0, 576000, 38016, 0xb8a7f3c1
-0, 579600, 38016, 0x24b10420
-0, 583200, 38016, 0x4b7601ab
-0, 586800, 38016, 0x4c30f75a
-0, 590400, 38016, 0x8e8cf5ae
-0, 594000, 38016, 0xd94fefd2
-0, 597600, 38016, 0x31c9c604
-0, 601200, 38016, 0x09d29f6f
-0, 604800, 38016, 0xa55e8075
-0, 608400, 38016, 0x482d53da
-0, 612000, 38016, 0x957e36f1
-0, 615600, 38016, 0xcd261153
-0, 619200, 38016, 0xbf08d284
-0, 622800, 38016, 0x42957a37
-0, 626400, 38016, 0x28b73287
-0, 630000, 38016, 0xe6e33893
-0, 633600, 38016, 0x7f0e3db5
-0, 637200, 38016, 0xb80b46a3
-0, 640800, 38016, 0x1ccca614
-0, 644400, 38016, 0x531e2dfa
-0, 648000, 38016, 0x0d95ef09
-0, 651600, 38016, 0xb631a635
-0, 655200, 38016, 0x4ed86a94
-0, 658800, 38016, 0x919832ab
-0, 662400, 38016, 0x724b60d5
-0, 666000, 38016, 0x9965f58f
-0, 669600, 38016, 0x7b04f567
-0, 673200, 38016, 0x774740d6
-0, 676800, 38016, 0xf8204134
-0, 680400, 38016, 0xcbadfa7a
-0, 684000, 38016, 0x9748728a
-0, 687600, 38016, 0x973047e7
-0, 691200, 38016, 0xcc52aa4d
-0, 694800, 38016, 0x3fa7d81f
-0, 698400, 38016, 0x7a33eddd
-0, 702000, 38016, 0xe51ed885
-0, 705600, 38016, 0xcc93b1a2
-0, 709200, 38016, 0xf70cab47
-0, 712800, 38016, 0x983eb17e
-0, 716400, 38016, 0xdb02d6bb
-0, 720000, 38016, 0xad99c4f9
-0, 723600, 38016, 0xd0e5618c
-0, 727200, 38016, 0x5eb05134
-0, 730800, 38016, 0x4ce0cf23
-0, 734400, 38016, 0x70de3edb
-0, 738000, 38016, 0x3519c858
-0, 741600, 38016, 0x1a4e785f
-0, 745200, 38016, 0x8d09b6ee
-0, 748800, 38016, 0x79b2fd7e
-0, 752400, 38016, 0xcd5aa9a4
-0, 756000, 38016, 0x1e1effd2
-0, 759600, 38016, 0xa1d1b497
-0, 763200, 38016, 0x5c036e34
-0, 766800, 38016, 0x937f152b
-0, 770400, 38016, 0xe434bed9
-0, 774000, 38016, 0x09eb8913
-0, 777600, 38016, 0x4d671935
-0, 781200, 38016, 0x9c62f30c
-0, 784800, 38016, 0x4d080e9c
-0, 788400, 38016, 0x7fe23bb4
-0, 792000, 38016, 0x95399638
-0, 795600, 38016, 0x6aa41ac2
-0, 799200, 38016, 0xe748bc32
-0, 802800, 38016, 0x5fab449b
-0, 806400, 38016, 0x8798bb84
-0, 810000, 38016, 0x4e700879
-0, 813600, 38016, 0x6d794fa4
-0, 817200, 38016, 0xf40c9e13
-0, 820800, 38016, 0x92330fdb
-0, 824400, 38016, 0x558b899a
-0, 828000, 38016, 0xec2320ed
-0, 831600, 38016, 0x3179f275
-0, 835200, 38016, 0x86cfd19d
-0, 838800, 38016, 0x2c88c48a
-0, 842400, 38016, 0x0c84b86f
-0, 846000, 38016, 0x95069c90
-0, 849600, 38016, 0x82da8061
-0, 853200, 38016, 0x847f7634
-0, 856800, 38016, 0x48d46d89
-0, 860400, 38016, 0x220d81f3
-0, 864000, 38016, 0x5cbe9a7e
-0, 867600, 38016, 0xc0e9d5b9
-0, 871200, 38016, 0xcc26ff97
-0, 874800, 38016, 0x01332392
-0, 878400, 38016, 0x44e44439
-0, 882000, 38016, 0xfe8751ee
-0, 885600, 38016, 0x010d74a1
-0, 889200, 38016, 0xbf4a7c2d
-0, 892800, 38016, 0x77869402
-0, 896400, 38016, 0x1ae8b176
-0, 900000, 38016, 0x917cc0b8
-0, 903600, 38016, 0x3eb6d02a
-0, 907200, 38016, 0x815ed568
-0, 910800, 38016, 0xcd6bcd54
-0, 914400, 38016, 0xd3e5bfcd
-0, 918000, 38016, 0x95e2bd36
-0, 921600, 38016, 0x102ca664
-0, 925200, 38016, 0x95c59672
-0, 928800, 38016, 0x1d5b8845
-0, 932400, 38016, 0x3d988a4d
-0, 936000, 38016, 0x4139a121
-0, 939600, 38016, 0x9eeca508
-0, 943200, 38016, 0xf9f2a9cc
-0, 946800, 38016, 0x9420b177
-0, 950400, 38016, 0x13edadd7
-0, 954000, 38016, 0x3d18a416
-0, 957600, 38016, 0x88b09166
-0, 961200, 38016, 0x2e1c939c
-0, 964800, 38016, 0x4f8381c3
-0, 968400, 38016, 0x36647382
-0, 972000, 38016, 0x26a272c1
-0, 975600, 38016, 0x9a5a7cc8
-0, 979200, 38016, 0xc2fc7734
-0, 982800, 38016, 0xd21b7e6c
-0, 986400, 38016, 0x948c77a0
-0, 990000, 38016, 0x179e7d1a
-0, 993600, 38016, 0xbfd17561
-0, 997200, 38016, 0x30f97511
-0, 1000800, 38016, 0x893e6f54
-0, 1004400, 38016, 0x76036ecb
-0, 1008000, 38016, 0x3f0e6966
-0, 1011600, 38016, 0xed946afe
-0, 1015200, 38016, 0x2c2676de
-0, 1018800, 38016, 0x7b348c94
-0, 1022400, 38016, 0x77f5afc8
-0, 1026000, 38016, 0xdb54cea0
-0, 1029600, 38016, 0xc9fed974
-0, 1033200, 38016, 0x04bbe454
-0, 1036800, 38016, 0x7320ffb9
-0, 1040400, 38016, 0x841b199a
-0, 1044000, 38016, 0x7d792ee3
-0, 1047600, 38016, 0x5ce33607
-0, 1051200, 38016, 0xec52432e
-0, 1054800, 38016, 0xe6a04efe
-0, 1058400, 38016, 0xc7b45cef
-0, 1062000, 38016, 0xdbe76bf9
-0, 1065600, 38016, 0xd57f7e18
-0, 1069200, 38016, 0x8e03915d
-0, 1072800, 38016, 0x30779ec6
-0, 1076400, 38016, 0x89b1aa42
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb96f1feb
+0, 1, 1, 1, 38016, 0xca461abd
+0, 2, 2, 1, 38016, 0x578a0c87
+0, 3, 3, 1, 38016, 0xb3cc1ecb
+0, 4, 4, 1, 38016, 0xd2c84463
+0, 5, 5, 1, 38016, 0x815d6363
+0, 6, 6, 1, 38016, 0x7cc17319
+0, 7, 7, 1, 38016, 0x0f7e8cab
+0, 8, 8, 1, 38016, 0x1876abee
+0, 9, 9, 1, 38016, 0x8f25bccd
+0, 10, 10, 1, 38016, 0xc1c7bb9c
+0, 11, 11, 1, 38016, 0xf861bdb5
+0, 12, 12, 1, 38016, 0xae1ac352
+0, 13, 13, 1, 38016, 0x9b6f990b
+0, 14, 14, 1, 38016, 0xa5217121
+0, 15, 15, 1, 38016, 0x12ac8367
+0, 16, 16, 1, 38016, 0x687f8526
+0, 17, 17, 1, 38016, 0x9b009a01
+0, 18, 18, 1, 38016, 0x9c629e04
+0, 19, 19, 1, 38016, 0xfee5a366
+0, 20, 20, 1, 38016, 0x264e9b00
+0, 21, 21, 1, 38016, 0xf89f9508
+0, 22, 22, 1, 38016, 0x19247145
+0, 23, 23, 1, 38016, 0xc4cd41bd
+0, 24, 24, 1, 38016, 0x035c2696
+0, 25, 25, 1, 38016, 0x22310e7f
+0, 26, 26, 1, 38016, 0xdd771898
+0, 27, 27, 1, 38016, 0x61522adf
+0, 28, 28, 1, 38016, 0x5eee412f
+0, 29, 29, 1, 38016, 0x03f05077
+0, 30, 30, 1, 38016, 0x69625001
+0, 31, 31, 1, 38016, 0x8e025073
+0, 32, 32, 1, 38016, 0x37374607
+0, 33, 33, 1, 38016, 0xc90547ea
+0, 34, 34, 1, 38016, 0xe9eb4193
+0, 35, 35, 1, 38016, 0xf7214070
+0, 36, 36, 1, 38016, 0xc3ce38de
+0, 37, 37, 1, 38016, 0xb99933cb
+0, 38, 38, 1, 38016, 0x5ee12b39
+0, 39, 39, 1, 38016, 0x13c921be
+0, 40, 40, 1, 38016, 0x66341136
+0, 41, 41, 1, 38016, 0x97710eef
+0, 42, 42, 1, 38016, 0xe5910c52
+0, 43, 43, 1, 38016, 0xbf9d0fbb
+0, 44, 44, 1, 38016, 0x0405177d
+0, 45, 45, 1, 38016, 0x25ec13da
+0, 46, 46, 1, 38016, 0xda29f457
+0, 47, 47, 1, 38016, 0x8e7dbe67
+0, 48, 48, 1, 38016, 0x64809802
+0, 49, 49, 1, 38016, 0xbd45731d
+0, 50, 50, 1, 38016, 0xf9e75c5b
+0, 51, 51, 1, 38016, 0x4509551e
+0, 52, 52, 1, 38016, 0xd73b54c9
+0, 53, 53, 1, 38016, 0x434d430e
+0, 54, 54, 1, 38016, 0xfbd940fe
+0, 55, 55, 1, 38016, 0xddb1612a
+0, 56, 56, 1, 38016, 0xffec797a
+0, 57, 57, 1, 38016, 0x4355aa0c
+0, 58, 58, 1, 38016, 0x1776d3e0
+0, 59, 59, 1, 38016, 0x7a64dd7f
+0, 60, 60, 1, 38016, 0xe619e56c
+0, 61, 61, 1, 38016, 0x43b0d8e7
+0, 62, 62, 1, 38016, 0x2103caf1
+0, 63, 63, 1, 38016, 0x808fbb8d
+0, 64, 64, 1, 38016, 0x0654ae1e
+0, 65, 65, 1, 38016, 0x8b6da03f
+0, 66, 66, 1, 38016, 0x15ee6b73
+0, 67, 67, 1, 38016, 0x8ab049c4
+0, 68, 68, 1, 38016, 0x7c6d351c
+0, 69, 69, 1, 38016, 0xe3fa3794
+0, 70, 70, 1, 38016, 0x5b3c581c
+0, 71, 71, 1, 38016, 0xf07a70e8
+0, 72, 72, 1, 38016, 0xcc378cb4
+0, 73, 73, 1, 38016, 0x15f49788
+0, 74, 74, 1, 38016, 0x23de74b4
+0, 75, 75, 1, 38016, 0x2e842db6
+0, 76, 76, 1, 38016, 0xd23cf2b9
+0, 77, 77, 1, 38016, 0xfbb7cea3
+0, 78, 78, 1, 38016, 0x05039bf0
+0, 79, 79, 1, 38016, 0x854d8c6c
+0, 80, 80, 1, 38016, 0x7d2770d7
+0, 81, 81, 1, 38016, 0x7e5f6374
+0, 82, 82, 1, 38016, 0x204753ee
+0, 83, 83, 1, 38016, 0x66906f4d
+0, 84, 84, 1, 38016, 0xf6ae700b
+0, 85, 85, 1, 38016, 0x64438aba
+0, 86, 86, 1, 38016, 0xc93aa41f
+0, 87, 87, 1, 38016, 0x27bdbdb7
+0, 88, 88, 1, 38016, 0x7aceb0a3
+0, 89, 89, 1, 38016, 0x751d81bd
+0, 90, 90, 1, 38016, 0xa86e3940
+0, 91, 91, 1, 38016, 0x9d022dd6
+0, 92, 92, 1, 38016, 0x0a484d7c
+0, 93, 93, 1, 38016, 0x6d555adb
+0, 94, 94, 1, 38016, 0xfe9799e0
+0, 95, 95, 1, 38016, 0x245ad49b
+0, 96, 96, 1, 38016, 0x6d22e3e3
+0, 97, 97, 1, 38016, 0xdffc00df
+0, 98, 98, 1, 38016, 0x34ec1984
+0, 99, 99, 1, 38016, 0x15172b1a
+0, 100, 100, 1, 38016, 0x05d742d8
+0, 101, 101, 1, 38016, 0xc94350fc
+0, 102, 102, 1, 38016, 0x3af65a84
+0, 103, 103, 1, 38016, 0xfbf96492
+0, 104, 104, 1, 38016, 0x1c8f6e2e
+0, 105, 105, 1, 38016, 0xe41677dc
+0, 106, 106, 1, 38016, 0xd36284e1
+0, 107, 107, 1, 38016, 0xa5f57f14
+0, 108, 108, 1, 38016, 0x6a7d70f4
+0, 109, 109, 1, 38016, 0x4c1a584f
+0, 110, 110, 1, 38016, 0x4f093dd3
+0, 111, 111, 1, 38016, 0x5a1634b3
+0, 112, 112, 1, 38016, 0xdd1a29b5
+0, 113, 113, 1, 38016, 0x28c81aa3
+0, 114, 114, 1, 38016, 0x681a0e29
+0, 115, 115, 1, 38016, 0x74110802
+0, 116, 116, 1, 38016, 0x468afe8a
+0, 117, 117, 1, 38016, 0xfbb609e0
+0, 118, 118, 1, 38016, 0x79d60da0
+0, 119, 119, 1, 38016, 0x0774036d
+0, 120, 120, 1, 38016, 0x904bf22d
+0, 121, 121, 1, 38016, 0xddeaedb5
+0, 122, 122, 1, 38016, 0x5de1d5af
+0, 123, 123, 1, 38016, 0xb9bad4cf
+0, 124, 124, 1, 38016, 0x452bcf0e
+0, 125, 125, 1, 38016, 0x9ab9cca8
+0, 126, 126, 1, 38016, 0x9b77d6ba
+0, 127, 127, 1, 38016, 0xb9f5dfaf
+0, 128, 128, 1, 38016, 0x7b33fac4
+0, 129, 129, 1, 38016, 0x25e41c67
+0, 130, 130, 1, 38016, 0x6af749b5
+0, 131, 131, 1, 38016, 0xe6576d07
+0, 132, 132, 1, 38016, 0x55a49498
+0, 133, 133, 1, 38016, 0x3bf4bd93
+0, 134, 134, 1, 38016, 0xba65cabb
+0, 135, 135, 1, 38016, 0x0c02de64
+0, 136, 136, 1, 38016, 0xdb86e742
+0, 137, 137, 1, 38016, 0x37acdf69
+0, 138, 138, 1, 38016, 0x8c1ea6be
+0, 139, 139, 1, 38016, 0x5295739e
+0, 140, 140, 1, 38016, 0xb2f85eb7
+0, 141, 141, 1, 38016, 0x17394375
+0, 142, 142, 1, 38016, 0x8a7f7528
+0, 143, 143, 1, 38016, 0x17c3e7a5
+0, 144, 144, 1, 38016, 0xbe1763ef
+0, 145, 145, 1, 38016, 0x236eab70
+0, 146, 146, 1, 38016, 0x4b3e9bbb
+0, 147, 147, 1, 38016, 0xc1d664f9
+0, 148, 148, 1, 38016, 0xc2300411
+0, 149, 149, 1, 38016, 0x1cf2903c
+0, 150, 150, 1, 38016, 0xd8783451
+0, 151, 151, 1, 38016, 0xf3c8ff31
+0, 152, 152, 1, 38016, 0xf6dfd324
+0, 153, 153, 1, 38016, 0x7b93b5d0
+0, 154, 154, 1, 38016, 0xf246a0f4
+0, 155, 155, 1, 38016, 0x5e970b10
+0, 156, 156, 1, 38016, 0xcb98878e
+0, 157, 157, 1, 38016, 0xc804f169
+0, 158, 158, 1, 38016, 0x801fec84
+0, 159, 159, 1, 38016, 0xb242ee41
+0, 160, 160, 1, 38016, 0xb8a7f3c1
+0, 161, 161, 1, 38016, 0x24b10420
+0, 162, 162, 1, 38016, 0x4b7601ab
+0, 163, 163, 1, 38016, 0x4c30f75a
+0, 164, 164, 1, 38016, 0x8e8cf5ae
+0, 165, 165, 1, 38016, 0xd94fefd2
+0, 166, 166, 1, 38016, 0x31c9c604
+0, 167, 167, 1, 38016, 0x09d29f6f
+0, 168, 168, 1, 38016, 0xa55e8075
+0, 169, 169, 1, 38016, 0x482d53da
+0, 170, 170, 1, 38016, 0x957e36f1
+0, 171, 171, 1, 38016, 0xcd261153
+0, 172, 172, 1, 38016, 0xbf08d284
+0, 173, 173, 1, 38016, 0x42957a37
+0, 174, 174, 1, 38016, 0x28b73287
+0, 175, 175, 1, 38016, 0xe6e33893
+0, 176, 176, 1, 38016, 0x7f0e3db5
+0, 177, 177, 1, 38016, 0xb80b46a3
+0, 178, 178, 1, 38016, 0x1ccca614
+0, 179, 179, 1, 38016, 0x531e2dfa
+0, 180, 180, 1, 38016, 0x0d95ef09
+0, 181, 181, 1, 38016, 0xb631a635
+0, 182, 182, 1, 38016, 0x4ed86a94
+0, 183, 183, 1, 38016, 0x919832ab
+0, 184, 184, 1, 38016, 0x724b60d5
+0, 185, 185, 1, 38016, 0x9965f58f
+0, 186, 186, 1, 38016, 0x7b04f567
+0, 187, 187, 1, 38016, 0x774740d6
+0, 188, 188, 1, 38016, 0xf8204134
+0, 189, 189, 1, 38016, 0xcbadfa7a
+0, 190, 190, 1, 38016, 0x9748728a
+0, 191, 191, 1, 38016, 0x973047e7
+0, 192, 192, 1, 38016, 0xcc52aa4d
+0, 193, 193, 1, 38016, 0x3fa7d81f
+0, 194, 194, 1, 38016, 0x7a33eddd
+0, 195, 195, 1, 38016, 0xe51ed885
+0, 196, 196, 1, 38016, 0xcc93b1a2
+0, 197, 197, 1, 38016, 0xf70cab47
+0, 198, 198, 1, 38016, 0x983eb17e
+0, 199, 199, 1, 38016, 0xdb02d6bb
+0, 200, 200, 1, 38016, 0xad99c4f9
+0, 201, 201, 1, 38016, 0xd0e5618c
+0, 202, 202, 1, 38016, 0x5eb05134
+0, 203, 203, 1, 38016, 0x4ce0cf23
+0, 204, 204, 1, 38016, 0x70de3edb
+0, 205, 205, 1, 38016, 0x3519c858
+0, 206, 206, 1, 38016, 0x1a4e785f
+0, 207, 207, 1, 38016, 0x8d09b6ee
+0, 208, 208, 1, 38016, 0x79b2fd7e
+0, 209, 209, 1, 38016, 0xcd5aa9a4
+0, 210, 210, 1, 38016, 0x1e1effd2
+0, 211, 211, 1, 38016, 0xa1d1b497
+0, 212, 212, 1, 38016, 0x5c036e34
+0, 213, 213, 1, 38016, 0x937f152b
+0, 214, 214, 1, 38016, 0xe434bed9
+0, 215, 215, 1, 38016, 0x09eb8913
+0, 216, 216, 1, 38016, 0x4d671935
+0, 217, 217, 1, 38016, 0x9c62f30c
+0, 218, 218, 1, 38016, 0x4d080e9c
+0, 219, 219, 1, 38016, 0x7fe23bb4
+0, 220, 220, 1, 38016, 0x95399638
+0, 221, 221, 1, 38016, 0x6aa41ac2
+0, 222, 222, 1, 38016, 0xe748bc32
+0, 223, 223, 1, 38016, 0x5fab449b
+0, 224, 224, 1, 38016, 0x8798bb84
+0, 225, 225, 1, 38016, 0x4e700879
+0, 226, 226, 1, 38016, 0x6d794fa4
+0, 227, 227, 1, 38016, 0xf40c9e13
+0, 228, 228, 1, 38016, 0x92330fdb
+0, 229, 229, 1, 38016, 0x558b899a
+0, 230, 230, 1, 38016, 0xec2320ed
+0, 231, 231, 1, 38016, 0x3179f275
+0, 232, 232, 1, 38016, 0x86cfd19d
+0, 233, 233, 1, 38016, 0x2c88c48a
+0, 234, 234, 1, 38016, 0x0c84b86f
+0, 235, 235, 1, 38016, 0x95069c90
+0, 236, 236, 1, 38016, 0x82da8061
+0, 237, 237, 1, 38016, 0x847f7634
+0, 238, 238, 1, 38016, 0x48d46d89
+0, 239, 239, 1, 38016, 0x220d81f3
+0, 240, 240, 1, 38016, 0x5cbe9a7e
+0, 241, 241, 1, 38016, 0xc0e9d5b9
+0, 242, 242, 1, 38016, 0xcc26ff97
+0, 243, 243, 1, 38016, 0x01332392
+0, 244, 244, 1, 38016, 0x44e44439
+0, 245, 245, 1, 38016, 0xfe8751ee
+0, 246, 246, 1, 38016, 0x010d74a1
+0, 247, 247, 1, 38016, 0xbf4a7c2d
+0, 248, 248, 1, 38016, 0x77869402
+0, 249, 249, 1, 38016, 0x1ae8b176
+0, 250, 250, 1, 38016, 0x917cc0b8
+0, 251, 251, 1, 38016, 0x3eb6d02a
+0, 252, 252, 1, 38016, 0x815ed568
+0, 253, 253, 1, 38016, 0xcd6bcd54
+0, 254, 254, 1, 38016, 0xd3e5bfcd
+0, 255, 255, 1, 38016, 0x95e2bd36
+0, 256, 256, 1, 38016, 0x102ca664
+0, 257, 257, 1, 38016, 0x95c59672
+0, 258, 258, 1, 38016, 0x1d5b8845
+0, 259, 259, 1, 38016, 0x3d988a4d
+0, 260, 260, 1, 38016, 0x4139a121
+0, 261, 261, 1, 38016, 0x9eeca508
+0, 262, 262, 1, 38016, 0xf9f2a9cc
+0, 263, 263, 1, 38016, 0x9420b177
+0, 264, 264, 1, 38016, 0x13edadd7
+0, 265, 265, 1, 38016, 0x3d18a416
+0, 266, 266, 1, 38016, 0x88b09166
+0, 267, 267, 1, 38016, 0x2e1c939c
+0, 268, 268, 1, 38016, 0x4f8381c3
+0, 269, 269, 1, 38016, 0x36647382
+0, 270, 270, 1, 38016, 0x26a272c1
+0, 271, 271, 1, 38016, 0x9a5a7cc8
+0, 272, 272, 1, 38016, 0xc2fc7734
+0, 273, 273, 1, 38016, 0xd21b7e6c
+0, 274, 274, 1, 38016, 0x948c77a0
+0, 275, 275, 1, 38016, 0x179e7d1a
+0, 276, 276, 1, 38016, 0xbfd17561
+0, 277, 277, 1, 38016, 0x30f97511
+0, 278, 278, 1, 38016, 0x893e6f54
+0, 279, 279, 1, 38016, 0x76036ecb
+0, 280, 280, 1, 38016, 0x3f0e6966
+0, 281, 281, 1, 38016, 0xed946afe
+0, 282, 282, 1, 38016, 0x2c2676de
+0, 283, 283, 1, 38016, 0x7b348c94
+0, 284, 284, 1, 38016, 0x77f5afc8
+0, 285, 285, 1, 38016, 0xdb54cea0
+0, 286, 286, 1, 38016, 0xc9fed974
+0, 287, 287, 1, 38016, 0x04bbe454
+0, 288, 288, 1, 38016, 0x7320ffb9
+0, 289, 289, 1, 38016, 0x841b199a
+0, 290, 290, 1, 38016, 0x7d792ee3
+0, 291, 291, 1, 38016, 0x5ce33607
+0, 292, 292, 1, 38016, 0xec52432e
+0, 293, 293, 1, 38016, 0xe6a04efe
+0, 294, 294, 1, 38016, 0xc7b45cef
+0, 295, 295, 1, 38016, 0xdbe76bf9
+0, 296, 296, 1, 38016, 0xd57f7e18
+0, 297, 297, 1, 38016, 0x8e03915d
+0, 298, 298, 1, 38016, 0x30779ec6
+0, 299, 299, 1, 38016, 0x89b1aa42
diff --git a/tests/ref/fate/h264-conformance-mr3_tandberg_b b/tests/ref/fate/h264-conformance-mr3_tandberg_b
index ce9813e51a..ee8014ef36 100644
--- a/tests/ref/fate/h264-conformance-mr3_tandberg_b
+++ b/tests/ref/fate/h264-conformance-mr3_tandberg_b
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb96f1feb
-0, 3600, 38016, 0xca461abd
-0, 7200, 38016, 0x578a0c87
-0, 10800, 38016, 0xb3cc1ecb
-0, 14400, 38016, 0xd2c84463
-0, 18000, 38016, 0x815d6363
-0, 21600, 38016, 0x7cc17319
-0, 25200, 38016, 0x0f7e8cab
-0, 28800, 38016, 0x1876abee
-0, 32400, 38016, 0xda748c2f
-0, 36000, 38016, 0x7b4dbff0
-0, 39600, 38016, 0xd4a1b24a
-0, 43200, 38016, 0x714cb4cc
-0, 46800, 38016, 0x2c6d80f0
-0, 50400, 38016, 0x92266151
-0, 54000, 38016, 0x6b766a23
-0, 57600, 38016, 0xb24f7efe
-0, 61200, 38016, 0x8410838e
-0, 64800, 38016, 0x67fe872a
-0, 68400, 38016, 0x55b49d36
-0, 72000, 38016, 0x7a1c9c41
-0, 75600, 38016, 0xb4818e0e
-0, 79200, 38016, 0x25f6683c
-0, 82800, 38016, 0xe4d141a4
-0, 86400, 38016, 0x808216ad
-0, 90000, 38016, 0x2acf0baf
-0, 93600, 38016, 0xf3de13c4
-0, 97200, 38016, 0x5f412187
-0, 100800, 38016, 0xb31a340a
-0, 104400, 38016, 0x019d42d1
-0, 108000, 38016, 0xeeb94b9b
-0, 111600, 38016, 0xef55472e
-0, 115200, 38016, 0xdb5e3697
-0, 118800, 38016, 0x8565303e
-0, 122400, 38016, 0x5f9c2c1b
-0, 126000, 38016, 0xeb3d27f4
-0, 129600, 38016, 0x9a43282d
-0, 133200, 38016, 0xe04720c6
-0, 136800, 38016, 0x19cc0eba
-0, 140400, 38016, 0x218efeb6
-0, 144000, 38016, 0x7733f491
-0, 147600, 38016, 0x7f3bede9
-0, 151200, 38016, 0x49c5ec0d
-0, 154800, 38016, 0x803cf19e
-0, 158400, 38016, 0x31de0d3f
-0, 162000, 38016, 0xa7e30426
-0, 165600, 38016, 0xba37f068
-0, 169200, 38016, 0x2842bdf8
-0, 172800, 38016, 0x76df97dc
-0, 176400, 38016, 0xf3246d26
-0, 180000, 38016, 0x0a384d72
-0, 183600, 38016, 0x40964f41
-0, 187200, 38016, 0x46364324
-0, 190800, 38016, 0x7cbf3db4
-0, 194400, 38016, 0x7a223bec
-0, 198000, 38016, 0x458651c1
-0, 201600, 38016, 0xb82d7e3c
-0, 205200, 38016, 0x0f50a55d
-0, 208800, 38016, 0xc306cae4
-0, 212400, 38016, 0x9d6ddfcb
-0, 216000, 38016, 0xb602e8e9
-0, 219600, 38016, 0xbf0ae386
-0, 223200, 38016, 0x0a8bd46e
-0, 226800, 38016, 0xd437c5c1
-0, 230400, 38016, 0xd61d9959
-0, 234000, 38016, 0x70639b56
-0, 237600, 38016, 0x36fd407b
-0, 241200, 38016, 0x58ce3ddd
-0, 244800, 38016, 0x86cc1d8c
-0, 248400, 38016, 0xee422dc2
-0, 252000, 38016, 0xab475639
-0, 255600, 38016, 0xc1327ad8
-0, 259200, 38016, 0x63d196d4
-0, 262800, 38016, 0x1aba8ebd
-0, 266400, 38016, 0x74a269ac
-0, 270000, 38016, 0x267f3563
-0, 273600, 38016, 0xa18ff180
-0, 277200, 38016, 0x70c9c9fd
-0, 280800, 38016, 0xa6c59f9c
-0, 284400, 38016, 0xd7cd8927
-0, 288000, 38016, 0xd30b7345
-0, 291600, 38016, 0x679a4dda
-0, 295200, 38016, 0xeb0562de
-0, 298800, 38016, 0xdd7d6cdb
-0, 302400, 38016, 0xd6e26b73
-0, 306000, 38016, 0xa65a860f
-0, 309600, 38016, 0xae95c71e
-0, 313200, 38016, 0x1a89ca86
-0, 316800, 38016, 0xa33ecee6
-0, 320400, 38016, 0x821da6cb
-0, 324000, 38016, 0xf0e1612f
-0, 327600, 38016, 0x67b8516b
-0, 331200, 38016, 0x62f965bc
-0, 334800, 38016, 0xd1917aa6
-0, 338400, 38016, 0xe72db54d
-0, 342000, 38016, 0x9b64e721
-0, 345600, 38016, 0xa819efda
-0, 349200, 38016, 0xeacfdacb
-0, 352800, 38016, 0x52f235e1
-0, 356400, 38016, 0x2b512cb8
-0, 360000, 38016, 0xaac73fb3
-0, 363600, 38016, 0x7d2d504f
-0, 367200, 38016, 0x396d503a
-0, 370800, 38016, 0x97905235
-0, 374400, 38016, 0xf0056693
-0, 378000, 38016, 0x728a6a9e
-0, 381600, 38016, 0x0eed7824
-0, 385200, 38016, 0x59506237
-0, 388800, 38016, 0xd4304c93
-0, 392400, 38016, 0x7e663ee8
-0, 396000, 38016, 0x0ebc2d11
-0, 399600, 38016, 0x52db2112
-0, 403200, 38016, 0x74aa1815
-0, 406800, 38016, 0x57a60dc6
-0, 410400, 38016, 0x86e9fa32
-0, 414000, 38016, 0x67e8ff09
-0, 417600, 38016, 0x26e8f7ea
-0, 421200, 38016, 0x183dff56
-0, 424800, 38016, 0xa470af8d
-0, 428400, 38016, 0xe017d594
-0, 432000, 38016, 0xb899d48b
-0, 435600, 38016, 0x0d3bc5f7
-0, 439200, 38016, 0xd68bbb0d
-0, 442800, 38016, 0x8bf5b4cb
-0, 446400, 38016, 0x6bfcaa47
-0, 450000, 38016, 0x29a9b01b
-0, 453600, 38016, 0xcdedbdb7
-0, 457200, 38016, 0xdb5ad9c3
-0, 460800, 38016, 0x468aeef6
-0, 464400, 38016, 0xdc2b143e
-0, 468000, 38016, 0x6776277c
-0, 471600, 38016, 0xb78d5294
-0, 475200, 38016, 0x1dfb63ab
-0, 478800, 38016, 0xbd1f99bc
-0, 482400, 38016, 0xde16b89a
-0, 486000, 38016, 0xbf46edca
-0, 489600, 38016, 0x6306e8c4
-0, 493200, 38016, 0x7b09d224
-0, 496800, 38016, 0xfea1aff6
-0, 500400, 38016, 0x183686b0
-0, 504000, 38016, 0x665a61ff
-0, 507600, 38016, 0xc8af42d1
-0, 511200, 38016, 0xe2326bc1
-0, 514800, 38016, 0x56dbde82
-0, 518400, 38016, 0xa0254f97
-0, 522000, 38016, 0x3b74a0b4
-0, 525600, 38016, 0x9aee9b7f
-0, 529200, 38016, 0xd94b6133
-0, 532800, 38016, 0x5819f795
-0, 536400, 38016, 0xc45a8c02
-0, 540000, 38016, 0x2f9204a0
-0, 543600, 38016, 0xbe09e051
-0, 547200, 38016, 0xb542badd
-0, 550800, 38016, 0x23bd9e00
-0, 554400, 38016, 0x4f338d3d
-0, 558000, 38016, 0x8c91e8f3
-0, 561600, 38016, 0xa7347d57
-0, 565200, 38016, 0x6d91de4d
-0, 568800, 38016, 0x3443d936
-0, 572400, 38016, 0x9d25b4e2
-0, 576000, 38016, 0xd93cd4b3
-0, 579600, 38016, 0xa1c9e9a0
-0, 583200, 38016, 0x1482f220
-0, 586800, 38016, 0x1295f270
-0, 590400, 38016, 0x399ae9da
-0, 594000, 38016, 0x85dcdf28
-0, 597600, 38016, 0x4207b9e5
-0, 601200, 38016, 0xad1c9d75
-0, 604800, 38016, 0x4a266c14
-0, 608400, 38016, 0x3afc4508
-0, 612000, 38016, 0x2b1b2385
-0, 615600, 38016, 0x738f005f
-0, 619200, 38016, 0xfec3d833
-0, 622800, 38016, 0x3f7f6ae9
-0, 626400, 38016, 0xd8551823
-0, 630000, 38016, 0x6df03570
-0, 633600, 38016, 0x767c3054
-0, 637200, 38016, 0x89bd342c
-0, 640800, 38016, 0x77ba806c
-0, 644400, 38016, 0x1c98005c
-0, 648000, 38016, 0xa13ce2a3
-0, 651600, 38016, 0x1be59915
-0, 655200, 38016, 0x279c6027
-0, 658800, 38016, 0x96ac11a2
-0, 662400, 38016, 0x3ae95131
-0, 666000, 38016, 0xae19f7fe
-0, 669600, 38016, 0xcde4efe6
-0, 673200, 38016, 0x5ecc3f7a
-0, 676800, 38016, 0x79645152
-0, 680400, 38016, 0x1ee2e89f
-0, 684000, 38016, 0x91d34bb4
-0, 687600, 38016, 0xf019d464
-0, 691200, 38016, 0x8eb07205
-0, 694800, 38016, 0x5399bb5b
-0, 698400, 38016, 0x61f0c77a
-0, 702000, 38016, 0xb2bd8726
-0, 705600, 38016, 0x47b89243
-0, 709200, 38016, 0xebfe4d76
-0, 712800, 38016, 0xe8f87d91
-0, 716400, 38016, 0x5e9fb239
-0, 720000, 38016, 0x357ca1f8
-0, 723600, 38016, 0x757d2e02
-0, 727200, 38016, 0x40672e7c
-0, 730800, 38016, 0xd966abca
-0, 734400, 38016, 0xe98d0d47
-0, 738000, 38016, 0x341babf5
-0, 741600, 38016, 0xd12d5a0c
-0, 745200, 38016, 0xea2f99ab
-0, 748800, 38016, 0x14bce88e
-0, 752400, 38016, 0xe4bda9e8
-0, 756000, 38016, 0x2c57ec89
-0, 759600, 38016, 0x28bbb83e
-0, 763200, 38016, 0xf8444b54
-0, 766800, 38016, 0x3aba03cd
-0, 770400, 38016, 0x373daa20
-0, 774000, 38016, 0x69586597
-0, 777600, 38016, 0xc0c70d53
-0, 781200, 38016, 0x76a5df5a
-0, 784800, 38016, 0x1afde8f0
-0, 788400, 38016, 0x9638285a
-0, 792000, 38016, 0x9f0686c0
-0, 795600, 38016, 0xc65b2238
-0, 799200, 38016, 0x0d61b610
-0, 802800, 38016, 0x78e14e1f
-0, 806400, 38016, 0xcf80ac4a
-0, 810000, 38016, 0xe094083d
-0, 813600, 38016, 0xee5e612e
-0, 817200, 38016, 0x51cdad9d
-0, 820800, 38016, 0xae41100e
-0, 824400, 38016, 0x77558f58
-0, 828000, 38016, 0xb9503b95
-0, 831600, 38016, 0xb71dffeb
-0, 835200, 38016, 0x1872e3e6
-0, 838800, 38016, 0x29c3d252
-0, 842400, 38016, 0x1c77c6ec
-0, 846000, 38016, 0x26feb194
-0, 849600, 38016, 0x3307c3c4
-0, 853200, 38016, 0x8e5a8080
-0, 856800, 38016, 0x933472f7
-0, 860400, 38016, 0xd4768d84
-0, 864000, 38016, 0x3324485f
-0, 867600, 38016, 0xd50af078
-0, 871200, 38016, 0x53820752
-0, 874800, 38016, 0xbe7f1c47
-0, 878400, 38016, 0xe43d3a34
-0, 882000, 38016, 0x57194b82
-0, 885600, 38016, 0x68a052ed
-0, 889200, 38016, 0x5c898052
-0, 892800, 38016, 0x7104a6ad
-0, 896400, 38016, 0x1676b5e8
-0, 900000, 38016, 0xe1cfd375
-0, 903600, 38016, 0x16fede04
-0, 907200, 38016, 0xca49dd4a
-0, 910800, 38016, 0x7b98d9d1
-0, 914400, 38016, 0x4020d210
-0, 918000, 38016, 0x62c5d1e4
-0, 921600, 38016, 0x756abdb4
-0, 925200, 38016, 0x558fb00f
-0, 928800, 38016, 0x4ab0b1f1
-0, 932400, 38016, 0x7c9fb0c2
-0, 936000, 38016, 0xcecfbdd0
-0, 939600, 38016, 0x70e6d174
-0, 943200, 38016, 0x83d7ddde
-0, 946800, 38016, 0xbbcde2d9
-0, 950400, 38016, 0xc89eeaef
-0, 954000, 38016, 0x8565e15c
-0, 957600, 38016, 0x28e0db24
-0, 961200, 38016, 0x1d9dd334
-0, 964800, 38016, 0xce02c452
-0, 968400, 38016, 0xe29dbd0c
-0, 972000, 38016, 0x4aa3b638
-0, 975600, 38016, 0x5533c135
-0, 979200, 38016, 0x6c57b65f
-0, 982800, 38016, 0x23d3b851
-0, 986400, 38016, 0xd8cbb960
-0, 990000, 38016, 0x02edb916
-0, 993600, 38016, 0xa622bd42
-0, 997200, 38016, 0x4ba5be1c
-0, 1000800, 38016, 0xe69bb625
-0, 1004400, 38016, 0xbca5b292
-0, 1008000, 38016, 0xde38b1c8
-0, 1011600, 38016, 0xe9e3b617
-0, 1015200, 38016, 0x216cc574
-0, 1018800, 38016, 0x3780c5ad
-0, 1022400, 38016, 0x5531e3f9
-0, 1026000, 38016, 0xe2c5f5d4
-0, 1029600, 38016, 0x24cefc6e
-0, 1033200, 38016, 0xa3ce003d
-0, 1036800, 38016, 0x42d01c9e
-0, 1040400, 38016, 0xbfc13689
-0, 1044000, 38016, 0x122647a9
-0, 1047600, 38016, 0xe45254da
-0, 1051200, 38016, 0xad955b0c
-0, 1054800, 38016, 0x4b086abb
-0, 1058400, 38016, 0xd4857b8c
-0, 1062000, 38016, 0xa71594ce
-0, 1065600, 38016, 0x04e4a73d
-0, 1069200, 38016, 0x295abf63
-0, 1072800, 38016, 0xbe4ed5dd
-0, 1076400, 38016, 0x087bcf64
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb96f1feb
+0, 1, 1, 1, 38016, 0xca461abd
+0, 2, 2, 1, 38016, 0x578a0c87
+0, 3, 3, 1, 38016, 0xb3cc1ecb
+0, 4, 4, 1, 38016, 0xd2c84463
+0, 5, 5, 1, 38016, 0x815d6363
+0, 6, 6, 1, 38016, 0x7cc17319
+0, 7, 7, 1, 38016, 0x0f7e8cab
+0, 8, 8, 1, 38016, 0x1876abee
+0, 9, 9, 1, 38016, 0xda748c2f
+0, 10, 10, 1, 38016, 0x7b4dbff0
+0, 11, 11, 1, 38016, 0xd4a1b24a
+0, 12, 12, 1, 38016, 0x714cb4cc
+0, 13, 13, 1, 38016, 0x2c6d80f0
+0, 14, 14, 1, 38016, 0x92266151
+0, 15, 15, 1, 38016, 0x6b766a23
+0, 16, 16, 1, 38016, 0xb24f7efe
+0, 17, 17, 1, 38016, 0x8410838e
+0, 18, 18, 1, 38016, 0x67fe872a
+0, 19, 19, 1, 38016, 0x55b49d36
+0, 20, 20, 1, 38016, 0x7a1c9c41
+0, 21, 21, 1, 38016, 0xb4818e0e
+0, 22, 22, 1, 38016, 0x25f6683c
+0, 23, 23, 1, 38016, 0xe4d141a4
+0, 24, 24, 1, 38016, 0x808216ad
+0, 25, 25, 1, 38016, 0x2acf0baf
+0, 26, 26, 1, 38016, 0xf3de13c4
+0, 27, 27, 1, 38016, 0x5f412187
+0, 28, 28, 1, 38016, 0xb31a340a
+0, 29, 29, 1, 38016, 0x019d42d1
+0, 30, 30, 1, 38016, 0xeeb94b9b
+0, 31, 31, 1, 38016, 0xef55472e
+0, 32, 32, 1, 38016, 0xdb5e3697
+0, 33, 33, 1, 38016, 0x8565303e
+0, 34, 34, 1, 38016, 0x5f9c2c1b
+0, 35, 35, 1, 38016, 0xeb3d27f4
+0, 36, 36, 1, 38016, 0x9a43282d
+0, 37, 37, 1, 38016, 0xe04720c6
+0, 38, 38, 1, 38016, 0x19cc0eba
+0, 39, 39, 1, 38016, 0x218efeb6
+0, 40, 40, 1, 38016, 0x7733f491
+0, 41, 41, 1, 38016, 0x7f3bede9
+0, 42, 42, 1, 38016, 0x49c5ec0d
+0, 43, 43, 1, 38016, 0x803cf19e
+0, 44, 44, 1, 38016, 0x31de0d3f
+0, 45, 45, 1, 38016, 0xa7e30426
+0, 46, 46, 1, 38016, 0xba37f068
+0, 47, 47, 1, 38016, 0x2842bdf8
+0, 48, 48, 1, 38016, 0x76df97dc
+0, 49, 49, 1, 38016, 0xf3246d26
+0, 50, 50, 1, 38016, 0x0a384d72
+0, 51, 51, 1, 38016, 0x40964f41
+0, 52, 52, 1, 38016, 0x46364324
+0, 53, 53, 1, 38016, 0x7cbf3db4
+0, 54, 54, 1, 38016, 0x7a223bec
+0, 55, 55, 1, 38016, 0x458651c1
+0, 56, 56, 1, 38016, 0xb82d7e3c
+0, 57, 57, 1, 38016, 0x0f50a55d
+0, 58, 58, 1, 38016, 0xc306cae4
+0, 59, 59, 1, 38016, 0x9d6ddfcb
+0, 60, 60, 1, 38016, 0xb602e8e9
+0, 61, 61, 1, 38016, 0xbf0ae386
+0, 62, 62, 1, 38016, 0x0a8bd46e
+0, 63, 63, 1, 38016, 0xd437c5c1
+0, 64, 64, 1, 38016, 0xd61d9959
+0, 65, 65, 1, 38016, 0x70639b56
+0, 66, 66, 1, 38016, 0x36fd407b
+0, 67, 67, 1, 38016, 0x58ce3ddd
+0, 68, 68, 1, 38016, 0x86cc1d8c
+0, 69, 69, 1, 38016, 0xee422dc2
+0, 70, 70, 1, 38016, 0xab475639
+0, 71, 71, 1, 38016, 0xc1327ad8
+0, 72, 72, 1, 38016, 0x63d196d4
+0, 73, 73, 1, 38016, 0x1aba8ebd
+0, 74, 74, 1, 38016, 0x74a269ac
+0, 75, 75, 1, 38016, 0x267f3563
+0, 76, 76, 1, 38016, 0xa18ff180
+0, 77, 77, 1, 38016, 0x70c9c9fd
+0, 78, 78, 1, 38016, 0xa6c59f9c
+0, 79, 79, 1, 38016, 0xd7cd8927
+0, 80, 80, 1, 38016, 0xd30b7345
+0, 81, 81, 1, 38016, 0x679a4dda
+0, 82, 82, 1, 38016, 0xeb0562de
+0, 83, 83, 1, 38016, 0xdd7d6cdb
+0, 84, 84, 1, 38016, 0xd6e26b73
+0, 85, 85, 1, 38016, 0xa65a860f
+0, 86, 86, 1, 38016, 0xae95c71e
+0, 87, 87, 1, 38016, 0x1a89ca86
+0, 88, 88, 1, 38016, 0xa33ecee6
+0, 89, 89, 1, 38016, 0x821da6cb
+0, 90, 90, 1, 38016, 0xf0e1612f
+0, 91, 91, 1, 38016, 0x67b8516b
+0, 92, 92, 1, 38016, 0x62f965bc
+0, 93, 93, 1, 38016, 0xd1917aa6
+0, 94, 94, 1, 38016, 0xe72db54d
+0, 95, 95, 1, 38016, 0x9b64e721
+0, 96, 96, 1, 38016, 0xa819efda
+0, 97, 97, 1, 38016, 0xeacfdacb
+0, 98, 98, 1, 38016, 0x52f235e1
+0, 99, 99, 1, 38016, 0x2b512cb8
+0, 100, 100, 1, 38016, 0xaac73fb3
+0, 101, 101, 1, 38016, 0x7d2d504f
+0, 102, 102, 1, 38016, 0x396d503a
+0, 103, 103, 1, 38016, 0x97905235
+0, 104, 104, 1, 38016, 0xf0056693
+0, 105, 105, 1, 38016, 0x728a6a9e
+0, 106, 106, 1, 38016, 0x0eed7824
+0, 107, 107, 1, 38016, 0x59506237
+0, 108, 108, 1, 38016, 0xd4304c93
+0, 109, 109, 1, 38016, 0x7e663ee8
+0, 110, 110, 1, 38016, 0x0ebc2d11
+0, 111, 111, 1, 38016, 0x52db2112
+0, 112, 112, 1, 38016, 0x74aa1815
+0, 113, 113, 1, 38016, 0x57a60dc6
+0, 114, 114, 1, 38016, 0x86e9fa32
+0, 115, 115, 1, 38016, 0x67e8ff09
+0, 116, 116, 1, 38016, 0x26e8f7ea
+0, 117, 117, 1, 38016, 0x183dff56
+0, 118, 118, 1, 38016, 0xa470af8d
+0, 119, 119, 1, 38016, 0xe017d594
+0, 120, 120, 1, 38016, 0xb899d48b
+0, 121, 121, 1, 38016, 0x0d3bc5f7
+0, 122, 122, 1, 38016, 0xd68bbb0d
+0, 123, 123, 1, 38016, 0x8bf5b4cb
+0, 124, 124, 1, 38016, 0x6bfcaa47
+0, 125, 125, 1, 38016, 0x29a9b01b
+0, 126, 126, 1, 38016, 0xcdedbdb7
+0, 127, 127, 1, 38016, 0xdb5ad9c3
+0, 128, 128, 1, 38016, 0x468aeef6
+0, 129, 129, 1, 38016, 0xdc2b143e
+0, 130, 130, 1, 38016, 0x6776277c
+0, 131, 131, 1, 38016, 0xb78d5294
+0, 132, 132, 1, 38016, 0x1dfb63ab
+0, 133, 133, 1, 38016, 0xbd1f99bc
+0, 134, 134, 1, 38016, 0xde16b89a
+0, 135, 135, 1, 38016, 0xbf46edca
+0, 136, 136, 1, 38016, 0x6306e8c4
+0, 137, 137, 1, 38016, 0x7b09d224
+0, 138, 138, 1, 38016, 0xfea1aff6
+0, 139, 139, 1, 38016, 0x183686b0
+0, 140, 140, 1, 38016, 0x665a61ff
+0, 141, 141, 1, 38016, 0xc8af42d1
+0, 142, 142, 1, 38016, 0xe2326bc1
+0, 143, 143, 1, 38016, 0x56dbde82
+0, 144, 144, 1, 38016, 0xa0254f97
+0, 145, 145, 1, 38016, 0x3b74a0b4
+0, 146, 146, 1, 38016, 0x9aee9b7f
+0, 147, 147, 1, 38016, 0xd94b6133
+0, 148, 148, 1, 38016, 0x5819f795
+0, 149, 149, 1, 38016, 0xc45a8c02
+0, 150, 150, 1, 38016, 0x2f9204a0
+0, 151, 151, 1, 38016, 0xbe09e051
+0, 152, 152, 1, 38016, 0xb542badd
+0, 153, 153, 1, 38016, 0x23bd9e00
+0, 154, 154, 1, 38016, 0x4f338d3d
+0, 155, 155, 1, 38016, 0x8c91e8f3
+0, 156, 156, 1, 38016, 0xa7347d57
+0, 157, 157, 1, 38016, 0x6d91de4d
+0, 158, 158, 1, 38016, 0x3443d936
+0, 159, 159, 1, 38016, 0x9d25b4e2
+0, 160, 160, 1, 38016, 0xd93cd4b3
+0, 161, 161, 1, 38016, 0xa1c9e9a0
+0, 162, 162, 1, 38016, 0x1482f220
+0, 163, 163, 1, 38016, 0x1295f270
+0, 164, 164, 1, 38016, 0x399ae9da
+0, 165, 165, 1, 38016, 0x85dcdf28
+0, 166, 166, 1, 38016, 0x4207b9e5
+0, 167, 167, 1, 38016, 0xad1c9d75
+0, 168, 168, 1, 38016, 0x4a266c14
+0, 169, 169, 1, 38016, 0x3afc4508
+0, 170, 170, 1, 38016, 0x2b1b2385
+0, 171, 171, 1, 38016, 0x738f005f
+0, 172, 172, 1, 38016, 0xfec3d833
+0, 173, 173, 1, 38016, 0x3f7f6ae9
+0, 174, 174, 1, 38016, 0xd8551823
+0, 175, 175, 1, 38016, 0x6df03570
+0, 176, 176, 1, 38016, 0x767c3054
+0, 177, 177, 1, 38016, 0x89bd342c
+0, 178, 178, 1, 38016, 0x77ba806c
+0, 179, 179, 1, 38016, 0x1c98005c
+0, 180, 180, 1, 38016, 0xa13ce2a3
+0, 181, 181, 1, 38016, 0x1be59915
+0, 182, 182, 1, 38016, 0x279c6027
+0, 183, 183, 1, 38016, 0x96ac11a2
+0, 184, 184, 1, 38016, 0x3ae95131
+0, 185, 185, 1, 38016, 0xae19f7fe
+0, 186, 186, 1, 38016, 0xcde4efe6
+0, 187, 187, 1, 38016, 0x5ecc3f7a
+0, 188, 188, 1, 38016, 0x79645152
+0, 189, 189, 1, 38016, 0x1ee2e89f
+0, 190, 190, 1, 38016, 0x91d34bb4
+0, 191, 191, 1, 38016, 0xf019d464
+0, 192, 192, 1, 38016, 0x8eb07205
+0, 193, 193, 1, 38016, 0x5399bb5b
+0, 194, 194, 1, 38016, 0x61f0c77a
+0, 195, 195, 1, 38016, 0xb2bd8726
+0, 196, 196, 1, 38016, 0x47b89243
+0, 197, 197, 1, 38016, 0xebfe4d76
+0, 198, 198, 1, 38016, 0xe8f87d91
+0, 199, 199, 1, 38016, 0x5e9fb239
+0, 200, 200, 1, 38016, 0x357ca1f8
+0, 201, 201, 1, 38016, 0x757d2e02
+0, 202, 202, 1, 38016, 0x40672e7c
+0, 203, 203, 1, 38016, 0xd966abca
+0, 204, 204, 1, 38016, 0xe98d0d47
+0, 205, 205, 1, 38016, 0x341babf5
+0, 206, 206, 1, 38016, 0xd12d5a0c
+0, 207, 207, 1, 38016, 0xea2f99ab
+0, 208, 208, 1, 38016, 0x14bce88e
+0, 209, 209, 1, 38016, 0xe4bda9e8
+0, 210, 210, 1, 38016, 0x2c57ec89
+0, 211, 211, 1, 38016, 0x28bbb83e
+0, 212, 212, 1, 38016, 0xf8444b54
+0, 213, 213, 1, 38016, 0x3aba03cd
+0, 214, 214, 1, 38016, 0x373daa20
+0, 215, 215, 1, 38016, 0x69586597
+0, 216, 216, 1, 38016, 0xc0c70d53
+0, 217, 217, 1, 38016, 0x76a5df5a
+0, 218, 218, 1, 38016, 0x1afde8f0
+0, 219, 219, 1, 38016, 0x9638285a
+0, 220, 220, 1, 38016, 0x9f0686c0
+0, 221, 221, 1, 38016, 0xc65b2238
+0, 222, 222, 1, 38016, 0x0d61b610
+0, 223, 223, 1, 38016, 0x78e14e1f
+0, 224, 224, 1, 38016, 0xcf80ac4a
+0, 225, 225, 1, 38016, 0xe094083d
+0, 226, 226, 1, 38016, 0xee5e612e
+0, 227, 227, 1, 38016, 0x51cdad9d
+0, 228, 228, 1, 38016, 0xae41100e
+0, 229, 229, 1, 38016, 0x77558f58
+0, 230, 230, 1, 38016, 0xb9503b95
+0, 231, 231, 1, 38016, 0xb71dffeb
+0, 232, 232, 1, 38016, 0x1872e3e6
+0, 233, 233, 1, 38016, 0x29c3d252
+0, 234, 234, 1, 38016, 0x1c77c6ec
+0, 235, 235, 1, 38016, 0x26feb194
+0, 236, 236, 1, 38016, 0x3307c3c4
+0, 237, 237, 1, 38016, 0x8e5a8080
+0, 238, 238, 1, 38016, 0x933472f7
+0, 239, 239, 1, 38016, 0xd4768d84
+0, 240, 240, 1, 38016, 0x3324485f
+0, 241, 241, 1, 38016, 0xd50af078
+0, 242, 242, 1, 38016, 0x53820752
+0, 243, 243, 1, 38016, 0xbe7f1c47
+0, 244, 244, 1, 38016, 0xe43d3a34
+0, 245, 245, 1, 38016, 0x57194b82
+0, 246, 246, 1, 38016, 0x68a052ed
+0, 247, 247, 1, 38016, 0x5c898052
+0, 248, 248, 1, 38016, 0x7104a6ad
+0, 249, 249, 1, 38016, 0x1676b5e8
+0, 250, 250, 1, 38016, 0xe1cfd375
+0, 251, 251, 1, 38016, 0x16fede04
+0, 252, 252, 1, 38016, 0xca49dd4a
+0, 253, 253, 1, 38016, 0x7b98d9d1
+0, 254, 254, 1, 38016, 0x4020d210
+0, 255, 255, 1, 38016, 0x62c5d1e4
+0, 256, 256, 1, 38016, 0x756abdb4
+0, 257, 257, 1, 38016, 0x558fb00f
+0, 258, 258, 1, 38016, 0x4ab0b1f1
+0, 259, 259, 1, 38016, 0x7c9fb0c2
+0, 260, 260, 1, 38016, 0xcecfbdd0
+0, 261, 261, 1, 38016, 0x70e6d174
+0, 262, 262, 1, 38016, 0x83d7ddde
+0, 263, 263, 1, 38016, 0xbbcde2d9
+0, 264, 264, 1, 38016, 0xc89eeaef
+0, 265, 265, 1, 38016, 0x8565e15c
+0, 266, 266, 1, 38016, 0x28e0db24
+0, 267, 267, 1, 38016, 0x1d9dd334
+0, 268, 268, 1, 38016, 0xce02c452
+0, 269, 269, 1, 38016, 0xe29dbd0c
+0, 270, 270, 1, 38016, 0x4aa3b638
+0, 271, 271, 1, 38016, 0x5533c135
+0, 272, 272, 1, 38016, 0x6c57b65f
+0, 273, 273, 1, 38016, 0x23d3b851
+0, 274, 274, 1, 38016, 0xd8cbb960
+0, 275, 275, 1, 38016, 0x02edb916
+0, 276, 276, 1, 38016, 0xa622bd42
+0, 277, 277, 1, 38016, 0x4ba5be1c
+0, 278, 278, 1, 38016, 0xe69bb625
+0, 279, 279, 1, 38016, 0xbca5b292
+0, 280, 280, 1, 38016, 0xde38b1c8
+0, 281, 281, 1, 38016, 0xe9e3b617
+0, 282, 282, 1, 38016, 0x216cc574
+0, 283, 283, 1, 38016, 0x3780c5ad
+0, 284, 284, 1, 38016, 0x5531e3f9
+0, 285, 285, 1, 38016, 0xe2c5f5d4
+0, 286, 286, 1, 38016, 0x24cefc6e
+0, 287, 287, 1, 38016, 0xa3ce003d
+0, 288, 288, 1, 38016, 0x42d01c9e
+0, 289, 289, 1, 38016, 0xbfc13689
+0, 290, 290, 1, 38016, 0x122647a9
+0, 291, 291, 1, 38016, 0xe45254da
+0, 292, 292, 1, 38016, 0xad955b0c
+0, 293, 293, 1, 38016, 0x4b086abb
+0, 294, 294, 1, 38016, 0xd4857b8c
+0, 295, 295, 1, 38016, 0xa71594ce
+0, 296, 296, 1, 38016, 0x04e4a73d
+0, 297, 297, 1, 38016, 0x295abf63
+0, 298, 298, 1, 38016, 0xbe4ed5dd
+0, 299, 299, 1, 38016, 0x087bcf64
diff --git a/tests/ref/fate/h264-conformance-mr4_tandberg_c b/tests/ref/fate/h264-conformance-mr4_tandberg_c
index 5aceda2c23..0d5f646a20 100644
--- a/tests/ref/fate/h264-conformance-mr4_tandberg_c
+++ b/tests/ref/fate/h264-conformance-mr4_tandberg_c
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb96f1feb
-0, 3600, 38016, 0x0ff111f0
-0, 7200, 38016, 0xbac70271
-0, 10800, 38016, 0x8c361866
-0, 14400, 38016, 0x9d9640be
-0, 18000, 38016, 0xd36b563b
-0, 21600, 38016, 0xe5966f5f
-0, 25200, 38016, 0xb8b28ab0
-0, 28800, 38016, 0xf817a3e6
-0, 32400, 38016, 0xba26acd8
-0, 36000, 38016, 0x453dba2f
-0, 39600, 38016, 0xe50bd16e
-0, 43200, 38016, 0x95c2c1f7
-0, 46800, 38016, 0xc6a59679
-0, 50400, 38016, 0x9f468726
-0, 54000, 38016, 0x371091eb
-0, 57600, 38016, 0xd499d26b
-0, 61200, 38016, 0x172fd389
-0, 64800, 38016, 0x3c04de2a
-0, 68400, 38016, 0xa461aed2
-0, 72000, 38016, 0x098cdef2
-0, 75600, 38016, 0x5d8d9c7d
-0, 79200, 38016, 0x087db718
-0, 82800, 38016, 0x064191ef
-0, 86400, 38016, 0x2f842ef5
-0, 90000, 38016, 0x2b5b0e77
-0, 93600, 38016, 0xcc671b7f
-0, 97200, 38016, 0x859f4f75
-0, 100800, 38016, 0x132a7a48
-0, 104400, 38016, 0x6e8987ab
-0, 108000, 38016, 0x02db8591
-0, 111600, 38016, 0x30567d9b
-0, 115200, 38016, 0x92ea3b53
-0, 118800, 38016, 0xae807c6e
-0, 122400, 38016, 0xbfbc7458
-0, 126000, 38016, 0x66294d04
-0, 129600, 38016, 0xdb2a5f10
-0, 133200, 38016, 0xb19112fe
-0, 136800, 38016, 0xdd26490e
-0, 140400, 38016, 0x51cd31de
-0, 144000, 38016, 0xf6cc2dad
-0, 147600, 38016, 0x0c302dfd
-0, 151200, 38016, 0xb846245d
-0, 154800, 38016, 0xd61c2e88
-0, 158400, 38016, 0xf8264117
-0, 162000, 38016, 0x13862a3d
-0, 165600, 38016, 0xfb481750
-0, 169200, 38016, 0x6377e4af
-0, 172800, 38016, 0x1759c1b4
-0, 176400, 38016, 0xca03942b
-0, 180000, 38016, 0x0126810b
-0, 183600, 38016, 0x3c8c820b
-0, 187200, 38016, 0x863379ec
-0, 190800, 38016, 0xaf9b6d52
-0, 194400, 38016, 0x9ba86946
-0, 198000, 38016, 0xf97980fb
-0, 201600, 38016, 0x9cf4785c
-0, 205200, 38016, 0x51cdcdc7
-0, 208800, 38016, 0x923de162
-0, 212400, 38016, 0xdcd3c3cb
-0, 216000, 38016, 0x6f9fea31
-0, 219600, 38016, 0x7ab7b133
-0, 223200, 38016, 0xb8a2c99f
-0, 226800, 38016, 0x040a99c6
-0, 230400, 38016, 0xa8c4b28f
-0, 234000, 38016, 0x4c577509
-0, 237600, 38016, 0xb30f7277
-0, 241200, 38016, 0xb5f73b46
-0, 244800, 38016, 0x723f3ccc
-0, 248400, 38016, 0x3e4a0cca
-0, 252000, 38016, 0xe0df386e
-0, 255600, 38016, 0xc4832c7b
-0, 259200, 38016, 0x014a2d9f
-0, 262800, 38016, 0xae4272d9
-0, 266400, 38016, 0xcde25e0f
-0, 270000, 38016, 0xdecb13d6
-0, 273600, 38016, 0x9d8ae5d9
-0, 277200, 38016, 0x280abccf
-0, 280800, 38016, 0x885a9fcc
-0, 284400, 38016, 0x9b328b6f
-0, 288000, 38016, 0x8fb7663c
-0, 291600, 38016, 0x35fd4c32
-0, 295200, 38016, 0xdd484efb
-0, 298800, 38016, 0xb8f576b1
-0, 302400, 38016, 0xe8016312
-0, 306000, 38016, 0x65a88d55
-0, 309600, 38016, 0x83dca3a9
-0, 313200, 38016, 0xfc3ba542
-0, 316800, 38016, 0x3d55ac26
-0, 320400, 38016, 0xb91f6bbe
-0, 324000, 38016, 0x67bd2f75
-0, 327600, 38016, 0x0af12875
-0, 331200, 38016, 0xc18a2d55
-0, 334800, 38016, 0x22fd4e01
-0, 338400, 38016, 0x466b8dcd
-0, 342000, 38016, 0xfe93c2d9
-0, 345600, 38016, 0x2cc0e638
-0, 349200, 38016, 0xbe550d40
-0, 352800, 38016, 0x65900ffc
-0, 356400, 38016, 0xcc61228c
-0, 360000, 38016, 0x8ae34904
-0, 363600, 38016, 0x74b8411a
-0, 367200, 38016, 0xae36408d
-0, 370800, 38016, 0x251429ad
-0, 374400, 38016, 0x4d8e6dc6
-0, 378000, 38016, 0x9e07801e
-0, 381600, 38016, 0x8fdd83ef
-0, 385200, 38016, 0x976084a1
-0, 388800, 38016, 0x69f7609f
-0, 392400, 38016, 0x48971b09
-0, 396000, 38016, 0x78e63ff4
-0, 399600, 38016, 0x0852365b
-0, 403200, 38016, 0x8044232c
-0, 406800, 38016, 0x9ec3178d
-0, 410400, 38016, 0x6f260955
-0, 414000, 38016, 0x903cfe23
-0, 417600, 38016, 0x441afbe4
-0, 421200, 38016, 0xe4420313
-0, 424800, 38016, 0xf86d0c34
-0, 428400, 38016, 0xafe5f3c3
-0, 432000, 38016, 0x9f61e43b
-0, 435600, 38016, 0x9330e186
-0, 439200, 38016, 0xc900ce86
-0, 442800, 38016, 0xffd6c4a6
-0, 446400, 38016, 0xd7b3cd79
-0, 450000, 38016, 0x8015c914
-0, 453600, 38016, 0x36d3c884
-0, 457200, 38016, 0x2981db44
-0, 460800, 38016, 0x94f40162
-0, 464400, 38016, 0x091022c5
-0, 468000, 38016, 0xd554203f
-0, 471600, 38016, 0xdcf26c7e
-0, 475200, 38016, 0xdc398ff4
-0, 478800, 38016, 0xeb5ca01c
-0, 482400, 38016, 0x4931c311
-0, 486000, 38016, 0x0ddabf2a
-0, 489600, 38016, 0x2432a265
-0, 493200, 38016, 0x65409b4f
-0, 496800, 38016, 0x466e6957
-0, 500400, 38016, 0x82a08bb4
-0, 504000, 38016, 0xdb6a35c4
-0, 507600, 38016, 0xda5b0d28
-0, 511200, 38016, 0x2be76f6d
-0, 514800, 38016, 0x7587a456
-0, 518400, 38016, 0x69994004
-0, 522000, 38016, 0xaefd46ec
-0, 525600, 38016, 0x88094d53
-0, 529200, 38016, 0xfcb82a4c
-0, 532800, 38016, 0x2877c850
-0, 536400, 38016, 0x327f5e88
-0, 540000, 38016, 0xaa1c4a3f
-0, 543600, 38016, 0x1950dfbd
-0, 547200, 38016, 0x8580b472
-0, 550800, 38016, 0xb5ef90c0
-0, 554400, 38016, 0x0906b3e7
-0, 558000, 38016, 0x026b12fa
-0, 561600, 38016, 0xe8ef556a
-0, 565200, 38016, 0x2e1afe7f
-0, 568800, 38016, 0xef2ad28a
-0, 572400, 38016, 0xe6d7d947
-0, 576000, 38016, 0x25ebd549
-0, 579600, 38016, 0xc443f3cf
-0, 583200, 38016, 0x9dc7dcad
-0, 586800, 38016, 0x8b7ce835
-0, 590400, 38016, 0x27a3e48b
-0, 594000, 38016, 0x0b6bc8a9
-0, 597600, 38016, 0xdb98d21e
-0, 601200, 38016, 0x4cb89812
-0, 604800, 38016, 0x41f35c5e
-0, 608400, 38016, 0xfd764d91
-0, 612000, 38016, 0xb7cc313f
-0, 615600, 38016, 0x51ba22d1
-0, 619200, 38016, 0x00d8deee
-0, 622800, 38016, 0x50db806a
-0, 626400, 38016, 0xbf022623
-0, 630000, 38016, 0xf2fe22ba
-0, 633600, 38016, 0x7055191b
-0, 637200, 38016, 0xbefb8590
-0, 640800, 38016, 0x90e59103
-0, 644400, 38016, 0x61d443da
-0, 648000, 38016, 0x6ad0e637
-0, 651600, 38016, 0xda39f9c1
-0, 655200, 38016, 0x03408181
-0, 658800, 38016, 0xee973480
-0, 662400, 38016, 0x9674d65d
-0, 666000, 38016, 0x1fdd5529
-0, 669600, 38016, 0x51a219bb
-0, 673200, 38016, 0x9cd9747e
-0, 676800, 38016, 0xa58a3c33
-0, 680400, 38016, 0xdf1905a9
-0, 684000, 38016, 0x44a52c69
-0, 687600, 38016, 0x0cf6e56b
-0, 691200, 38016, 0xe2115e06
-0, 694800, 38016, 0x15efa840
-0, 698400, 38016, 0x0811bad8
-0, 702000, 38016, 0x8240a91d
-0, 705600, 38016, 0xdfe46b7d
-0, 709200, 38016, 0xcead819a
-0, 712800, 38016, 0xe8f87d91
-0, 716400, 38016, 0x951ebd82
-0, 720000, 38016, 0x37d98ecb
-0, 723600, 38016, 0x54fb54da
-0, 727200, 38016, 0xb306302e
-0, 730800, 38016, 0xa8acd0dc
-0, 734400, 38016, 0x68e43757
-0, 738000, 38016, 0x7018cd48
-0, 741600, 38016, 0x1c34824e
-0, 745200, 38016, 0x22e7e478
-0, 748800, 38016, 0x534a0470
-0, 752400, 38016, 0x1a65bc45
-0, 756000, 38016, 0x5e78223b
-0, 759600, 38016, 0xc3c9c912
-0, 763200, 38016, 0x52557c74
-0, 766800, 38016, 0xf5ff1f9a
-0, 770400, 38016, 0x56afe047
-0, 774000, 38016, 0x50259235
-0, 777600, 38016, 0xca19311d
-0, 781200, 38016, 0xd96eeb53
-0, 784800, 38016, 0x21a218b7
-0, 788400, 38016, 0x24162395
-0, 792000, 38016, 0xadf9b983
-0, 795600, 38016, 0x68443df2
-0, 799200, 38016, 0xa970df8a
-0, 802800, 38016, 0x8381bbee
-0, 806400, 38016, 0x36fe1d22
-0, 810000, 38016, 0xa0326ddf
-0, 813600, 38016, 0x01dc7ca7
-0, 817200, 38016, 0xf485d505
-0, 820800, 38016, 0xb5a8fe68
-0, 824400, 38016, 0x6385f303
-0, 828000, 38016, 0x4d099ef1
-0, 831600, 38016, 0xeaa54d25
-0, 835200, 38016, 0x5c32c503
-0, 838800, 38016, 0xd52538b3
-0, 842400, 38016, 0x1ca2e4c2
-0, 846000, 38016, 0xe3a95b82
-0, 849600, 38016, 0x14393895
-0, 853200, 38016, 0xd77cef50
-0, 856800, 38016, 0x47b901b8
-0, 860400, 38016, 0x14d70226
-0, 864000, 38016, 0xab32b360
-0, 867600, 38016, 0xb92d3090
-0, 871200, 38016, 0xbd50ae43
-0, 874800, 38016, 0x5ea8d59a
-0, 878400, 38016, 0xb6d7fe63
-0, 882000, 38016, 0xe228050d
-0, 885600, 38016, 0x09e251ed
-0, 889200, 38016, 0xcea332d0
-0, 892800, 38016, 0x048838af
-0, 896400, 38016, 0x0a625a93
-0, 900000, 38016, 0x018aa719
-0, 903600, 38016, 0x630e70a8
-0, 907200, 38016, 0x93cb4c39
-0, 910800, 38016, 0x3cdb7cf8
-0, 914400, 38016, 0x48491fb4
-0, 918000, 38016, 0x06aa4101
-0, 921600, 38016, 0x4b402d3e
-0, 925200, 38016, 0x13cbf927
-0, 928800, 38016, 0xdc7528b6
-0, 932400, 38016, 0x652d0576
-0, 936000, 38016, 0xa3a504d6
-0, 939600, 38016, 0x5bd33fe4
-0, 943200, 38016, 0xae11267b
-0, 946800, 38016, 0xb58b5613
-0, 950400, 38016, 0x50160d80
-0, 954000, 38016, 0x4a643ed0
-0, 957600, 38016, 0xe3983ed6
-0, 961200, 38016, 0xa1fb3338
-0, 964800, 38016, 0x48d0286d
-0, 968400, 38016, 0x67043801
-0, 972000, 38016, 0x00bafaad
-0, 975600, 38016, 0xf07de35a
-0, 979200, 38016, 0x493e4579
-0, 982800, 38016, 0xa917532b
-0, 986400, 38016, 0x463fcc89
-0, 990000, 38016, 0xd47c1b1b
-0, 993600, 38016, 0x3543c596
-0, 997200, 38016, 0x65d6cd5b
-0, 1000800, 38016, 0x22cbd5ef
-0, 1004400, 38016, 0x08e0f250
-0, 1008000, 38016, 0x4e4aeb0a
-0, 1011600, 38016, 0x7895e0bd
-0, 1015200, 38016, 0xc11cea95
-0, 1018800, 38016, 0x13b3bcf8
-0, 1022400, 38016, 0xcb312186
-0, 1026000, 38016, 0x791007ca
-0, 1029600, 38016, 0xaa77354f
-0, 1033200, 38016, 0x1dbc2a67
-0, 1036800, 38016, 0x00646a65
-0, 1040400, 38016, 0x19db488d
-0, 1044000, 38016, 0x16c155e5
-0, 1047600, 38016, 0xb760898e
-0, 1051200, 38016, 0xbd6691e8
-0, 1054800, 38016, 0x06829781
-0, 1058400, 38016, 0xcebab8ad
-0, 1062000, 38016, 0xe2f38e79
-0, 1065600, 38016, 0x1e00c08e
-0, 1069200, 38016, 0x86d6c935
-0, 1072800, 38016, 0xaa88dfdc
-0, 1076400, 38016, 0xa9029b45
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb96f1feb
+0, 1, 1, 1, 38016, 0x0ff111f0
+0, 2, 2, 1, 38016, 0xbac70271
+0, 3, 3, 1, 38016, 0x8c361866
+0, 4, 4, 1, 38016, 0x9d9640be
+0, 5, 5, 1, 38016, 0xd36b563b
+0, 6, 6, 1, 38016, 0xe5966f5f
+0, 7, 7, 1, 38016, 0xb8b28ab0
+0, 8, 8, 1, 38016, 0xf817a3e6
+0, 9, 9, 1, 38016, 0xba26acd8
+0, 10, 10, 1, 38016, 0x453dba2f
+0, 11, 11, 1, 38016, 0xe50bd16e
+0, 12, 12, 1, 38016, 0x95c2c1f7
+0, 13, 13, 1, 38016, 0xc6a59679
+0, 14, 14, 1, 38016, 0x9f468726
+0, 15, 15, 1, 38016, 0x371091eb
+0, 16, 16, 1, 38016, 0xd499d26b
+0, 17, 17, 1, 38016, 0x172fd389
+0, 18, 18, 1, 38016, 0x3c04de2a
+0, 19, 19, 1, 38016, 0xa461aed2
+0, 20, 20, 1, 38016, 0x098cdef2
+0, 21, 21, 1, 38016, 0x5d8d9c7d
+0, 22, 22, 1, 38016, 0x087db718
+0, 23, 23, 1, 38016, 0x064191ef
+0, 24, 24, 1, 38016, 0x2f842ef5
+0, 25, 25, 1, 38016, 0x2b5b0e77
+0, 26, 26, 1, 38016, 0xcc671b7f
+0, 27, 27, 1, 38016, 0x859f4f75
+0, 28, 28, 1, 38016, 0x132a7a48
+0, 29, 29, 1, 38016, 0x6e8987ab
+0, 30, 30, 1, 38016, 0x02db8591
+0, 31, 31, 1, 38016, 0x30567d9b
+0, 32, 32, 1, 38016, 0x92ea3b53
+0, 33, 33, 1, 38016, 0xae807c6e
+0, 34, 34, 1, 38016, 0xbfbc7458
+0, 35, 35, 1, 38016, 0x66294d04
+0, 36, 36, 1, 38016, 0xdb2a5f10
+0, 37, 37, 1, 38016, 0xb19112fe
+0, 38, 38, 1, 38016, 0xdd26490e
+0, 39, 39, 1, 38016, 0x51cd31de
+0, 40, 40, 1, 38016, 0xf6cc2dad
+0, 41, 41, 1, 38016, 0x0c302dfd
+0, 42, 42, 1, 38016, 0xb846245d
+0, 43, 43, 1, 38016, 0xd61c2e88
+0, 44, 44, 1, 38016, 0xf8264117
+0, 45, 45, 1, 38016, 0x13862a3d
+0, 46, 46, 1, 38016, 0xfb481750
+0, 47, 47, 1, 38016, 0x6377e4af
+0, 48, 48, 1, 38016, 0x1759c1b4
+0, 49, 49, 1, 38016, 0xca03942b
+0, 50, 50, 1, 38016, 0x0126810b
+0, 51, 51, 1, 38016, 0x3c8c820b
+0, 52, 52, 1, 38016, 0x863379ec
+0, 53, 53, 1, 38016, 0xaf9b6d52
+0, 54, 54, 1, 38016, 0x9ba86946
+0, 55, 55, 1, 38016, 0xf97980fb
+0, 56, 56, 1, 38016, 0x9cf4785c
+0, 57, 57, 1, 38016, 0x51cdcdc7
+0, 58, 58, 1, 38016, 0x923de162
+0, 59, 59, 1, 38016, 0xdcd3c3cb
+0, 60, 60, 1, 38016, 0x6f9fea31
+0, 61, 61, 1, 38016, 0x7ab7b133
+0, 62, 62, 1, 38016, 0xb8a2c99f
+0, 63, 63, 1, 38016, 0x040a99c6
+0, 64, 64, 1, 38016, 0xa8c4b28f
+0, 65, 65, 1, 38016, 0x4c577509
+0, 66, 66, 1, 38016, 0xb30f7277
+0, 67, 67, 1, 38016, 0xb5f73b46
+0, 68, 68, 1, 38016, 0x723f3ccc
+0, 69, 69, 1, 38016, 0x3e4a0cca
+0, 70, 70, 1, 38016, 0xe0df386e
+0, 71, 71, 1, 38016, 0xc4832c7b
+0, 72, 72, 1, 38016, 0x014a2d9f
+0, 73, 73, 1, 38016, 0xae4272d9
+0, 74, 74, 1, 38016, 0xcde25e0f
+0, 75, 75, 1, 38016, 0xdecb13d6
+0, 76, 76, 1, 38016, 0x9d8ae5d9
+0, 77, 77, 1, 38016, 0x280abccf
+0, 78, 78, 1, 38016, 0x885a9fcc
+0, 79, 79, 1, 38016, 0x9b328b6f
+0, 80, 80, 1, 38016, 0x8fb7663c
+0, 81, 81, 1, 38016, 0x35fd4c32
+0, 82, 82, 1, 38016, 0xdd484efb
+0, 83, 83, 1, 38016, 0xb8f576b1
+0, 84, 84, 1, 38016, 0xe8016312
+0, 85, 85, 1, 38016, 0x65a88d55
+0, 86, 86, 1, 38016, 0x83dca3a9
+0, 87, 87, 1, 38016, 0xfc3ba542
+0, 88, 88, 1, 38016, 0x3d55ac26
+0, 89, 89, 1, 38016, 0xb91f6bbe
+0, 90, 90, 1, 38016, 0x67bd2f75
+0, 91, 91, 1, 38016, 0x0af12875
+0, 92, 92, 1, 38016, 0xc18a2d55
+0, 93, 93, 1, 38016, 0x22fd4e01
+0, 94, 94, 1, 38016, 0x466b8dcd
+0, 95, 95, 1, 38016, 0xfe93c2d9
+0, 96, 96, 1, 38016, 0x2cc0e638
+0, 97, 97, 1, 38016, 0xbe550d40
+0, 98, 98, 1, 38016, 0x65900ffc
+0, 99, 99, 1, 38016, 0xcc61228c
+0, 100, 100, 1, 38016, 0x8ae34904
+0, 101, 101, 1, 38016, 0x74b8411a
+0, 102, 102, 1, 38016, 0xae36408d
+0, 103, 103, 1, 38016, 0x251429ad
+0, 104, 104, 1, 38016, 0x4d8e6dc6
+0, 105, 105, 1, 38016, 0x9e07801e
+0, 106, 106, 1, 38016, 0x8fdd83ef
+0, 107, 107, 1, 38016, 0x976084a1
+0, 108, 108, 1, 38016, 0x69f7609f
+0, 109, 109, 1, 38016, 0x48971b09
+0, 110, 110, 1, 38016, 0x78e63ff4
+0, 111, 111, 1, 38016, 0x0852365b
+0, 112, 112, 1, 38016, 0x8044232c
+0, 113, 113, 1, 38016, 0x9ec3178d
+0, 114, 114, 1, 38016, 0x6f260955
+0, 115, 115, 1, 38016, 0x903cfe23
+0, 116, 116, 1, 38016, 0x441afbe4
+0, 117, 117, 1, 38016, 0xe4420313
+0, 118, 118, 1, 38016, 0xf86d0c34
+0, 119, 119, 1, 38016, 0xafe5f3c3
+0, 120, 120, 1, 38016, 0x9f61e43b
+0, 121, 121, 1, 38016, 0x9330e186
+0, 122, 122, 1, 38016, 0xc900ce86
+0, 123, 123, 1, 38016, 0xffd6c4a6
+0, 124, 124, 1, 38016, 0xd7b3cd79
+0, 125, 125, 1, 38016, 0x8015c914
+0, 126, 126, 1, 38016, 0x36d3c884
+0, 127, 127, 1, 38016, 0x2981db44
+0, 128, 128, 1, 38016, 0x94f40162
+0, 129, 129, 1, 38016, 0x091022c5
+0, 130, 130, 1, 38016, 0xd554203f
+0, 131, 131, 1, 38016, 0xdcf26c7e
+0, 132, 132, 1, 38016, 0xdc398ff4
+0, 133, 133, 1, 38016, 0xeb5ca01c
+0, 134, 134, 1, 38016, 0x4931c311
+0, 135, 135, 1, 38016, 0x0ddabf2a
+0, 136, 136, 1, 38016, 0x2432a265
+0, 137, 137, 1, 38016, 0x65409b4f
+0, 138, 138, 1, 38016, 0x466e6957
+0, 139, 139, 1, 38016, 0x82a08bb4
+0, 140, 140, 1, 38016, 0xdb6a35c4
+0, 141, 141, 1, 38016, 0xda5b0d28
+0, 142, 142, 1, 38016, 0x2be76f6d
+0, 143, 143, 1, 38016, 0x7587a456
+0, 144, 144, 1, 38016, 0x69994004
+0, 145, 145, 1, 38016, 0xaefd46ec
+0, 146, 146, 1, 38016, 0x88094d53
+0, 147, 147, 1, 38016, 0xfcb82a4c
+0, 148, 148, 1, 38016, 0x2877c850
+0, 149, 149, 1, 38016, 0x327f5e88
+0, 150, 150, 1, 38016, 0xaa1c4a3f
+0, 151, 151, 1, 38016, 0x1950dfbd
+0, 152, 152, 1, 38016, 0x8580b472
+0, 153, 153, 1, 38016, 0xb5ef90c0
+0, 154, 154, 1, 38016, 0x0906b3e7
+0, 155, 155, 1, 38016, 0x026b12fa
+0, 156, 156, 1, 38016, 0xe8ef556a
+0, 157, 157, 1, 38016, 0x2e1afe7f
+0, 158, 158, 1, 38016, 0xef2ad28a
+0, 159, 159, 1, 38016, 0xe6d7d947
+0, 160, 160, 1, 38016, 0x25ebd549
+0, 161, 161, 1, 38016, 0xc443f3cf
+0, 162, 162, 1, 38016, 0x9dc7dcad
+0, 163, 163, 1, 38016, 0x8b7ce835
+0, 164, 164, 1, 38016, 0x27a3e48b
+0, 165, 165, 1, 38016, 0x0b6bc8a9
+0, 166, 166, 1, 38016, 0xdb98d21e
+0, 167, 167, 1, 38016, 0x4cb89812
+0, 168, 168, 1, 38016, 0x41f35c5e
+0, 169, 169, 1, 38016, 0xfd764d91
+0, 170, 170, 1, 38016, 0xb7cc313f
+0, 171, 171, 1, 38016, 0x51ba22d1
+0, 172, 172, 1, 38016, 0x00d8deee
+0, 173, 173, 1, 38016, 0x50db806a
+0, 174, 174, 1, 38016, 0xbf022623
+0, 175, 175, 1, 38016, 0xf2fe22ba
+0, 176, 176, 1, 38016, 0x7055191b
+0, 177, 177, 1, 38016, 0xbefb8590
+0, 178, 178, 1, 38016, 0x90e59103
+0, 179, 179, 1, 38016, 0x61d443da
+0, 180, 180, 1, 38016, 0x6ad0e637
+0, 181, 181, 1, 38016, 0xda39f9c1
+0, 182, 182, 1, 38016, 0x03408181
+0, 183, 183, 1, 38016, 0xee973480
+0, 184, 184, 1, 38016, 0x9674d65d
+0, 185, 185, 1, 38016, 0x1fdd5529
+0, 186, 186, 1, 38016, 0x51a219bb
+0, 187, 187, 1, 38016, 0x9cd9747e
+0, 188, 188, 1, 38016, 0xa58a3c33
+0, 189, 189, 1, 38016, 0xdf1905a9
+0, 190, 190, 1, 38016, 0x44a52c69
+0, 191, 191, 1, 38016, 0x0cf6e56b
+0, 192, 192, 1, 38016, 0xe2115e06
+0, 193, 193, 1, 38016, 0x15efa840
+0, 194, 194, 1, 38016, 0x0811bad8
+0, 195, 195, 1, 38016, 0x8240a91d
+0, 196, 196, 1, 38016, 0xdfe46b7d
+0, 197, 197, 1, 38016, 0xcead819a
+0, 198, 198, 1, 38016, 0xe8f87d91
+0, 199, 199, 1, 38016, 0x951ebd82
+0, 200, 200, 1, 38016, 0x37d98ecb
+0, 201, 201, 1, 38016, 0x54fb54da
+0, 202, 202, 1, 38016, 0xb306302e
+0, 203, 203, 1, 38016, 0xa8acd0dc
+0, 204, 204, 1, 38016, 0x68e43757
+0, 205, 205, 1, 38016, 0x7018cd48
+0, 206, 206, 1, 38016, 0x1c34824e
+0, 207, 207, 1, 38016, 0x22e7e478
+0, 208, 208, 1, 38016, 0x534a0470
+0, 209, 209, 1, 38016, 0x1a65bc45
+0, 210, 210, 1, 38016, 0x5e78223b
+0, 211, 211, 1, 38016, 0xc3c9c912
+0, 212, 212, 1, 38016, 0x52557c74
+0, 213, 213, 1, 38016, 0xf5ff1f9a
+0, 214, 214, 1, 38016, 0x56afe047
+0, 215, 215, 1, 38016, 0x50259235
+0, 216, 216, 1, 38016, 0xca19311d
+0, 217, 217, 1, 38016, 0xd96eeb53
+0, 218, 218, 1, 38016, 0x21a218b7
+0, 219, 219, 1, 38016, 0x24162395
+0, 220, 220, 1, 38016, 0xadf9b983
+0, 221, 221, 1, 38016, 0x68443df2
+0, 222, 222, 1, 38016, 0xa970df8a
+0, 223, 223, 1, 38016, 0x8381bbee
+0, 224, 224, 1, 38016, 0x36fe1d22
+0, 225, 225, 1, 38016, 0xa0326ddf
+0, 226, 226, 1, 38016, 0x01dc7ca7
+0, 227, 227, 1, 38016, 0xf485d505
+0, 228, 228, 1, 38016, 0xb5a8fe68
+0, 229, 229, 1, 38016, 0x6385f303
+0, 230, 230, 1, 38016, 0x4d099ef1
+0, 231, 231, 1, 38016, 0xeaa54d25
+0, 232, 232, 1, 38016, 0x5c32c503
+0, 233, 233, 1, 38016, 0xd52538b3
+0, 234, 234, 1, 38016, 0x1ca2e4c2
+0, 235, 235, 1, 38016, 0xe3a95b82
+0, 236, 236, 1, 38016, 0x14393895
+0, 237, 237, 1, 38016, 0xd77cef50
+0, 238, 238, 1, 38016, 0x47b901b8
+0, 239, 239, 1, 38016, 0x14d70226
+0, 240, 240, 1, 38016, 0xab32b360
+0, 241, 241, 1, 38016, 0xb92d3090
+0, 242, 242, 1, 38016, 0xbd50ae43
+0, 243, 243, 1, 38016, 0x5ea8d59a
+0, 244, 244, 1, 38016, 0xb6d7fe63
+0, 245, 245, 1, 38016, 0xe228050d
+0, 246, 246, 1, 38016, 0x09e251ed
+0, 247, 247, 1, 38016, 0xcea332d0
+0, 248, 248, 1, 38016, 0x048838af
+0, 249, 249, 1, 38016, 0x0a625a93
+0, 250, 250, 1, 38016, 0x018aa719
+0, 251, 251, 1, 38016, 0x630e70a8
+0, 252, 252, 1, 38016, 0x93cb4c39
+0, 253, 253, 1, 38016, 0x3cdb7cf8
+0, 254, 254, 1, 38016, 0x48491fb4
+0, 255, 255, 1, 38016, 0x06aa4101
+0, 256, 256, 1, 38016, 0x4b402d3e
+0, 257, 257, 1, 38016, 0x13cbf927
+0, 258, 258, 1, 38016, 0xdc7528b6
+0, 259, 259, 1, 38016, 0x652d0576
+0, 260, 260, 1, 38016, 0xa3a504d6
+0, 261, 261, 1, 38016, 0x5bd33fe4
+0, 262, 262, 1, 38016, 0xae11267b
+0, 263, 263, 1, 38016, 0xb58b5613
+0, 264, 264, 1, 38016, 0x50160d80
+0, 265, 265, 1, 38016, 0x4a643ed0
+0, 266, 266, 1, 38016, 0xe3983ed6
+0, 267, 267, 1, 38016, 0xa1fb3338
+0, 268, 268, 1, 38016, 0x48d0286d
+0, 269, 269, 1, 38016, 0x67043801
+0, 270, 270, 1, 38016, 0x00bafaad
+0, 271, 271, 1, 38016, 0xf07de35a
+0, 272, 272, 1, 38016, 0x493e4579
+0, 273, 273, 1, 38016, 0xa917532b
+0, 274, 274, 1, 38016, 0x463fcc89
+0, 275, 275, 1, 38016, 0xd47c1b1b
+0, 276, 276, 1, 38016, 0x3543c596
+0, 277, 277, 1, 38016, 0x65d6cd5b
+0, 278, 278, 1, 38016, 0x22cbd5ef
+0, 279, 279, 1, 38016, 0x08e0f250
+0, 280, 280, 1, 38016, 0x4e4aeb0a
+0, 281, 281, 1, 38016, 0x7895e0bd
+0, 282, 282, 1, 38016, 0xc11cea95
+0, 283, 283, 1, 38016, 0x13b3bcf8
+0, 284, 284, 1, 38016, 0xcb312186
+0, 285, 285, 1, 38016, 0x791007ca
+0, 286, 286, 1, 38016, 0xaa77354f
+0, 287, 287, 1, 38016, 0x1dbc2a67
+0, 288, 288, 1, 38016, 0x00646a65
+0, 289, 289, 1, 38016, 0x19db488d
+0, 290, 290, 1, 38016, 0x16c155e5
+0, 291, 291, 1, 38016, 0xb760898e
+0, 292, 292, 1, 38016, 0xbd6691e8
+0, 293, 293, 1, 38016, 0x06829781
+0, 294, 294, 1, 38016, 0xcebab8ad
+0, 295, 295, 1, 38016, 0xe2f38e79
+0, 296, 296, 1, 38016, 0x1e00c08e
+0, 297, 297, 1, 38016, 0x86d6c935
+0, 298, 298, 1, 38016, 0xaa88dfdc
+0, 299, 299, 1, 38016, 0xa9029b45
diff --git a/tests/ref/fate/h264-conformance-mr5_tandberg_c b/tests/ref/fate/h264-conformance-mr5_tandberg_c
index 5aceda2c23..0d5f646a20 100644
--- a/tests/ref/fate/h264-conformance-mr5_tandberg_c
+++ b/tests/ref/fate/h264-conformance-mr5_tandberg_c
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xb96f1feb
-0, 3600, 38016, 0x0ff111f0
-0, 7200, 38016, 0xbac70271
-0, 10800, 38016, 0x8c361866
-0, 14400, 38016, 0x9d9640be
-0, 18000, 38016, 0xd36b563b
-0, 21600, 38016, 0xe5966f5f
-0, 25200, 38016, 0xb8b28ab0
-0, 28800, 38016, 0xf817a3e6
-0, 32400, 38016, 0xba26acd8
-0, 36000, 38016, 0x453dba2f
-0, 39600, 38016, 0xe50bd16e
-0, 43200, 38016, 0x95c2c1f7
-0, 46800, 38016, 0xc6a59679
-0, 50400, 38016, 0x9f468726
-0, 54000, 38016, 0x371091eb
-0, 57600, 38016, 0xd499d26b
-0, 61200, 38016, 0x172fd389
-0, 64800, 38016, 0x3c04de2a
-0, 68400, 38016, 0xa461aed2
-0, 72000, 38016, 0x098cdef2
-0, 75600, 38016, 0x5d8d9c7d
-0, 79200, 38016, 0x087db718
-0, 82800, 38016, 0x064191ef
-0, 86400, 38016, 0x2f842ef5
-0, 90000, 38016, 0x2b5b0e77
-0, 93600, 38016, 0xcc671b7f
-0, 97200, 38016, 0x859f4f75
-0, 100800, 38016, 0x132a7a48
-0, 104400, 38016, 0x6e8987ab
-0, 108000, 38016, 0x02db8591
-0, 111600, 38016, 0x30567d9b
-0, 115200, 38016, 0x92ea3b53
-0, 118800, 38016, 0xae807c6e
-0, 122400, 38016, 0xbfbc7458
-0, 126000, 38016, 0x66294d04
-0, 129600, 38016, 0xdb2a5f10
-0, 133200, 38016, 0xb19112fe
-0, 136800, 38016, 0xdd26490e
-0, 140400, 38016, 0x51cd31de
-0, 144000, 38016, 0xf6cc2dad
-0, 147600, 38016, 0x0c302dfd
-0, 151200, 38016, 0xb846245d
-0, 154800, 38016, 0xd61c2e88
-0, 158400, 38016, 0xf8264117
-0, 162000, 38016, 0x13862a3d
-0, 165600, 38016, 0xfb481750
-0, 169200, 38016, 0x6377e4af
-0, 172800, 38016, 0x1759c1b4
-0, 176400, 38016, 0xca03942b
-0, 180000, 38016, 0x0126810b
-0, 183600, 38016, 0x3c8c820b
-0, 187200, 38016, 0x863379ec
-0, 190800, 38016, 0xaf9b6d52
-0, 194400, 38016, 0x9ba86946
-0, 198000, 38016, 0xf97980fb
-0, 201600, 38016, 0x9cf4785c
-0, 205200, 38016, 0x51cdcdc7
-0, 208800, 38016, 0x923de162
-0, 212400, 38016, 0xdcd3c3cb
-0, 216000, 38016, 0x6f9fea31
-0, 219600, 38016, 0x7ab7b133
-0, 223200, 38016, 0xb8a2c99f
-0, 226800, 38016, 0x040a99c6
-0, 230400, 38016, 0xa8c4b28f
-0, 234000, 38016, 0x4c577509
-0, 237600, 38016, 0xb30f7277
-0, 241200, 38016, 0xb5f73b46
-0, 244800, 38016, 0x723f3ccc
-0, 248400, 38016, 0x3e4a0cca
-0, 252000, 38016, 0xe0df386e
-0, 255600, 38016, 0xc4832c7b
-0, 259200, 38016, 0x014a2d9f
-0, 262800, 38016, 0xae4272d9
-0, 266400, 38016, 0xcde25e0f
-0, 270000, 38016, 0xdecb13d6
-0, 273600, 38016, 0x9d8ae5d9
-0, 277200, 38016, 0x280abccf
-0, 280800, 38016, 0x885a9fcc
-0, 284400, 38016, 0x9b328b6f
-0, 288000, 38016, 0x8fb7663c
-0, 291600, 38016, 0x35fd4c32
-0, 295200, 38016, 0xdd484efb
-0, 298800, 38016, 0xb8f576b1
-0, 302400, 38016, 0xe8016312
-0, 306000, 38016, 0x65a88d55
-0, 309600, 38016, 0x83dca3a9
-0, 313200, 38016, 0xfc3ba542
-0, 316800, 38016, 0x3d55ac26
-0, 320400, 38016, 0xb91f6bbe
-0, 324000, 38016, 0x67bd2f75
-0, 327600, 38016, 0x0af12875
-0, 331200, 38016, 0xc18a2d55
-0, 334800, 38016, 0x22fd4e01
-0, 338400, 38016, 0x466b8dcd
-0, 342000, 38016, 0xfe93c2d9
-0, 345600, 38016, 0x2cc0e638
-0, 349200, 38016, 0xbe550d40
-0, 352800, 38016, 0x65900ffc
-0, 356400, 38016, 0xcc61228c
-0, 360000, 38016, 0x8ae34904
-0, 363600, 38016, 0x74b8411a
-0, 367200, 38016, 0xae36408d
-0, 370800, 38016, 0x251429ad
-0, 374400, 38016, 0x4d8e6dc6
-0, 378000, 38016, 0x9e07801e
-0, 381600, 38016, 0x8fdd83ef
-0, 385200, 38016, 0x976084a1
-0, 388800, 38016, 0x69f7609f
-0, 392400, 38016, 0x48971b09
-0, 396000, 38016, 0x78e63ff4
-0, 399600, 38016, 0x0852365b
-0, 403200, 38016, 0x8044232c
-0, 406800, 38016, 0x9ec3178d
-0, 410400, 38016, 0x6f260955
-0, 414000, 38016, 0x903cfe23
-0, 417600, 38016, 0x441afbe4
-0, 421200, 38016, 0xe4420313
-0, 424800, 38016, 0xf86d0c34
-0, 428400, 38016, 0xafe5f3c3
-0, 432000, 38016, 0x9f61e43b
-0, 435600, 38016, 0x9330e186
-0, 439200, 38016, 0xc900ce86
-0, 442800, 38016, 0xffd6c4a6
-0, 446400, 38016, 0xd7b3cd79
-0, 450000, 38016, 0x8015c914
-0, 453600, 38016, 0x36d3c884
-0, 457200, 38016, 0x2981db44
-0, 460800, 38016, 0x94f40162
-0, 464400, 38016, 0x091022c5
-0, 468000, 38016, 0xd554203f
-0, 471600, 38016, 0xdcf26c7e
-0, 475200, 38016, 0xdc398ff4
-0, 478800, 38016, 0xeb5ca01c
-0, 482400, 38016, 0x4931c311
-0, 486000, 38016, 0x0ddabf2a
-0, 489600, 38016, 0x2432a265
-0, 493200, 38016, 0x65409b4f
-0, 496800, 38016, 0x466e6957
-0, 500400, 38016, 0x82a08bb4
-0, 504000, 38016, 0xdb6a35c4
-0, 507600, 38016, 0xda5b0d28
-0, 511200, 38016, 0x2be76f6d
-0, 514800, 38016, 0x7587a456
-0, 518400, 38016, 0x69994004
-0, 522000, 38016, 0xaefd46ec
-0, 525600, 38016, 0x88094d53
-0, 529200, 38016, 0xfcb82a4c
-0, 532800, 38016, 0x2877c850
-0, 536400, 38016, 0x327f5e88
-0, 540000, 38016, 0xaa1c4a3f
-0, 543600, 38016, 0x1950dfbd
-0, 547200, 38016, 0x8580b472
-0, 550800, 38016, 0xb5ef90c0
-0, 554400, 38016, 0x0906b3e7
-0, 558000, 38016, 0x026b12fa
-0, 561600, 38016, 0xe8ef556a
-0, 565200, 38016, 0x2e1afe7f
-0, 568800, 38016, 0xef2ad28a
-0, 572400, 38016, 0xe6d7d947
-0, 576000, 38016, 0x25ebd549
-0, 579600, 38016, 0xc443f3cf
-0, 583200, 38016, 0x9dc7dcad
-0, 586800, 38016, 0x8b7ce835
-0, 590400, 38016, 0x27a3e48b
-0, 594000, 38016, 0x0b6bc8a9
-0, 597600, 38016, 0xdb98d21e
-0, 601200, 38016, 0x4cb89812
-0, 604800, 38016, 0x41f35c5e
-0, 608400, 38016, 0xfd764d91
-0, 612000, 38016, 0xb7cc313f
-0, 615600, 38016, 0x51ba22d1
-0, 619200, 38016, 0x00d8deee
-0, 622800, 38016, 0x50db806a
-0, 626400, 38016, 0xbf022623
-0, 630000, 38016, 0xf2fe22ba
-0, 633600, 38016, 0x7055191b
-0, 637200, 38016, 0xbefb8590
-0, 640800, 38016, 0x90e59103
-0, 644400, 38016, 0x61d443da
-0, 648000, 38016, 0x6ad0e637
-0, 651600, 38016, 0xda39f9c1
-0, 655200, 38016, 0x03408181
-0, 658800, 38016, 0xee973480
-0, 662400, 38016, 0x9674d65d
-0, 666000, 38016, 0x1fdd5529
-0, 669600, 38016, 0x51a219bb
-0, 673200, 38016, 0x9cd9747e
-0, 676800, 38016, 0xa58a3c33
-0, 680400, 38016, 0xdf1905a9
-0, 684000, 38016, 0x44a52c69
-0, 687600, 38016, 0x0cf6e56b
-0, 691200, 38016, 0xe2115e06
-0, 694800, 38016, 0x15efa840
-0, 698400, 38016, 0x0811bad8
-0, 702000, 38016, 0x8240a91d
-0, 705600, 38016, 0xdfe46b7d
-0, 709200, 38016, 0xcead819a
-0, 712800, 38016, 0xe8f87d91
-0, 716400, 38016, 0x951ebd82
-0, 720000, 38016, 0x37d98ecb
-0, 723600, 38016, 0x54fb54da
-0, 727200, 38016, 0xb306302e
-0, 730800, 38016, 0xa8acd0dc
-0, 734400, 38016, 0x68e43757
-0, 738000, 38016, 0x7018cd48
-0, 741600, 38016, 0x1c34824e
-0, 745200, 38016, 0x22e7e478
-0, 748800, 38016, 0x534a0470
-0, 752400, 38016, 0x1a65bc45
-0, 756000, 38016, 0x5e78223b
-0, 759600, 38016, 0xc3c9c912
-0, 763200, 38016, 0x52557c74
-0, 766800, 38016, 0xf5ff1f9a
-0, 770400, 38016, 0x56afe047
-0, 774000, 38016, 0x50259235
-0, 777600, 38016, 0xca19311d
-0, 781200, 38016, 0xd96eeb53
-0, 784800, 38016, 0x21a218b7
-0, 788400, 38016, 0x24162395
-0, 792000, 38016, 0xadf9b983
-0, 795600, 38016, 0x68443df2
-0, 799200, 38016, 0xa970df8a
-0, 802800, 38016, 0x8381bbee
-0, 806400, 38016, 0x36fe1d22
-0, 810000, 38016, 0xa0326ddf
-0, 813600, 38016, 0x01dc7ca7
-0, 817200, 38016, 0xf485d505
-0, 820800, 38016, 0xb5a8fe68
-0, 824400, 38016, 0x6385f303
-0, 828000, 38016, 0x4d099ef1
-0, 831600, 38016, 0xeaa54d25
-0, 835200, 38016, 0x5c32c503
-0, 838800, 38016, 0xd52538b3
-0, 842400, 38016, 0x1ca2e4c2
-0, 846000, 38016, 0xe3a95b82
-0, 849600, 38016, 0x14393895
-0, 853200, 38016, 0xd77cef50
-0, 856800, 38016, 0x47b901b8
-0, 860400, 38016, 0x14d70226
-0, 864000, 38016, 0xab32b360
-0, 867600, 38016, 0xb92d3090
-0, 871200, 38016, 0xbd50ae43
-0, 874800, 38016, 0x5ea8d59a
-0, 878400, 38016, 0xb6d7fe63
-0, 882000, 38016, 0xe228050d
-0, 885600, 38016, 0x09e251ed
-0, 889200, 38016, 0xcea332d0
-0, 892800, 38016, 0x048838af
-0, 896400, 38016, 0x0a625a93
-0, 900000, 38016, 0x018aa719
-0, 903600, 38016, 0x630e70a8
-0, 907200, 38016, 0x93cb4c39
-0, 910800, 38016, 0x3cdb7cf8
-0, 914400, 38016, 0x48491fb4
-0, 918000, 38016, 0x06aa4101
-0, 921600, 38016, 0x4b402d3e
-0, 925200, 38016, 0x13cbf927
-0, 928800, 38016, 0xdc7528b6
-0, 932400, 38016, 0x652d0576
-0, 936000, 38016, 0xa3a504d6
-0, 939600, 38016, 0x5bd33fe4
-0, 943200, 38016, 0xae11267b
-0, 946800, 38016, 0xb58b5613
-0, 950400, 38016, 0x50160d80
-0, 954000, 38016, 0x4a643ed0
-0, 957600, 38016, 0xe3983ed6
-0, 961200, 38016, 0xa1fb3338
-0, 964800, 38016, 0x48d0286d
-0, 968400, 38016, 0x67043801
-0, 972000, 38016, 0x00bafaad
-0, 975600, 38016, 0xf07de35a
-0, 979200, 38016, 0x493e4579
-0, 982800, 38016, 0xa917532b
-0, 986400, 38016, 0x463fcc89
-0, 990000, 38016, 0xd47c1b1b
-0, 993600, 38016, 0x3543c596
-0, 997200, 38016, 0x65d6cd5b
-0, 1000800, 38016, 0x22cbd5ef
-0, 1004400, 38016, 0x08e0f250
-0, 1008000, 38016, 0x4e4aeb0a
-0, 1011600, 38016, 0x7895e0bd
-0, 1015200, 38016, 0xc11cea95
-0, 1018800, 38016, 0x13b3bcf8
-0, 1022400, 38016, 0xcb312186
-0, 1026000, 38016, 0x791007ca
-0, 1029600, 38016, 0xaa77354f
-0, 1033200, 38016, 0x1dbc2a67
-0, 1036800, 38016, 0x00646a65
-0, 1040400, 38016, 0x19db488d
-0, 1044000, 38016, 0x16c155e5
-0, 1047600, 38016, 0xb760898e
-0, 1051200, 38016, 0xbd6691e8
-0, 1054800, 38016, 0x06829781
-0, 1058400, 38016, 0xcebab8ad
-0, 1062000, 38016, 0xe2f38e79
-0, 1065600, 38016, 0x1e00c08e
-0, 1069200, 38016, 0x86d6c935
-0, 1072800, 38016, 0xaa88dfdc
-0, 1076400, 38016, 0xa9029b45
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb96f1feb
+0, 1, 1, 1, 38016, 0x0ff111f0
+0, 2, 2, 1, 38016, 0xbac70271
+0, 3, 3, 1, 38016, 0x8c361866
+0, 4, 4, 1, 38016, 0x9d9640be
+0, 5, 5, 1, 38016, 0xd36b563b
+0, 6, 6, 1, 38016, 0xe5966f5f
+0, 7, 7, 1, 38016, 0xb8b28ab0
+0, 8, 8, 1, 38016, 0xf817a3e6
+0, 9, 9, 1, 38016, 0xba26acd8
+0, 10, 10, 1, 38016, 0x453dba2f
+0, 11, 11, 1, 38016, 0xe50bd16e
+0, 12, 12, 1, 38016, 0x95c2c1f7
+0, 13, 13, 1, 38016, 0xc6a59679
+0, 14, 14, 1, 38016, 0x9f468726
+0, 15, 15, 1, 38016, 0x371091eb
+0, 16, 16, 1, 38016, 0xd499d26b
+0, 17, 17, 1, 38016, 0x172fd389
+0, 18, 18, 1, 38016, 0x3c04de2a
+0, 19, 19, 1, 38016, 0xa461aed2
+0, 20, 20, 1, 38016, 0x098cdef2
+0, 21, 21, 1, 38016, 0x5d8d9c7d
+0, 22, 22, 1, 38016, 0x087db718
+0, 23, 23, 1, 38016, 0x064191ef
+0, 24, 24, 1, 38016, 0x2f842ef5
+0, 25, 25, 1, 38016, 0x2b5b0e77
+0, 26, 26, 1, 38016, 0xcc671b7f
+0, 27, 27, 1, 38016, 0x859f4f75
+0, 28, 28, 1, 38016, 0x132a7a48
+0, 29, 29, 1, 38016, 0x6e8987ab
+0, 30, 30, 1, 38016, 0x02db8591
+0, 31, 31, 1, 38016, 0x30567d9b
+0, 32, 32, 1, 38016, 0x92ea3b53
+0, 33, 33, 1, 38016, 0xae807c6e
+0, 34, 34, 1, 38016, 0xbfbc7458
+0, 35, 35, 1, 38016, 0x66294d04
+0, 36, 36, 1, 38016, 0xdb2a5f10
+0, 37, 37, 1, 38016, 0xb19112fe
+0, 38, 38, 1, 38016, 0xdd26490e
+0, 39, 39, 1, 38016, 0x51cd31de
+0, 40, 40, 1, 38016, 0xf6cc2dad
+0, 41, 41, 1, 38016, 0x0c302dfd
+0, 42, 42, 1, 38016, 0xb846245d
+0, 43, 43, 1, 38016, 0xd61c2e88
+0, 44, 44, 1, 38016, 0xf8264117
+0, 45, 45, 1, 38016, 0x13862a3d
+0, 46, 46, 1, 38016, 0xfb481750
+0, 47, 47, 1, 38016, 0x6377e4af
+0, 48, 48, 1, 38016, 0x1759c1b4
+0, 49, 49, 1, 38016, 0xca03942b
+0, 50, 50, 1, 38016, 0x0126810b
+0, 51, 51, 1, 38016, 0x3c8c820b
+0, 52, 52, 1, 38016, 0x863379ec
+0, 53, 53, 1, 38016, 0xaf9b6d52
+0, 54, 54, 1, 38016, 0x9ba86946
+0, 55, 55, 1, 38016, 0xf97980fb
+0, 56, 56, 1, 38016, 0x9cf4785c
+0, 57, 57, 1, 38016, 0x51cdcdc7
+0, 58, 58, 1, 38016, 0x923de162
+0, 59, 59, 1, 38016, 0xdcd3c3cb
+0, 60, 60, 1, 38016, 0x6f9fea31
+0, 61, 61, 1, 38016, 0x7ab7b133
+0, 62, 62, 1, 38016, 0xb8a2c99f
+0, 63, 63, 1, 38016, 0x040a99c6
+0, 64, 64, 1, 38016, 0xa8c4b28f
+0, 65, 65, 1, 38016, 0x4c577509
+0, 66, 66, 1, 38016, 0xb30f7277
+0, 67, 67, 1, 38016, 0xb5f73b46
+0, 68, 68, 1, 38016, 0x723f3ccc
+0, 69, 69, 1, 38016, 0x3e4a0cca
+0, 70, 70, 1, 38016, 0xe0df386e
+0, 71, 71, 1, 38016, 0xc4832c7b
+0, 72, 72, 1, 38016, 0x014a2d9f
+0, 73, 73, 1, 38016, 0xae4272d9
+0, 74, 74, 1, 38016, 0xcde25e0f
+0, 75, 75, 1, 38016, 0xdecb13d6
+0, 76, 76, 1, 38016, 0x9d8ae5d9
+0, 77, 77, 1, 38016, 0x280abccf
+0, 78, 78, 1, 38016, 0x885a9fcc
+0, 79, 79, 1, 38016, 0x9b328b6f
+0, 80, 80, 1, 38016, 0x8fb7663c
+0, 81, 81, 1, 38016, 0x35fd4c32
+0, 82, 82, 1, 38016, 0xdd484efb
+0, 83, 83, 1, 38016, 0xb8f576b1
+0, 84, 84, 1, 38016, 0xe8016312
+0, 85, 85, 1, 38016, 0x65a88d55
+0, 86, 86, 1, 38016, 0x83dca3a9
+0, 87, 87, 1, 38016, 0xfc3ba542
+0, 88, 88, 1, 38016, 0x3d55ac26
+0, 89, 89, 1, 38016, 0xb91f6bbe
+0, 90, 90, 1, 38016, 0x67bd2f75
+0, 91, 91, 1, 38016, 0x0af12875
+0, 92, 92, 1, 38016, 0xc18a2d55
+0, 93, 93, 1, 38016, 0x22fd4e01
+0, 94, 94, 1, 38016, 0x466b8dcd
+0, 95, 95, 1, 38016, 0xfe93c2d9
+0, 96, 96, 1, 38016, 0x2cc0e638
+0, 97, 97, 1, 38016, 0xbe550d40
+0, 98, 98, 1, 38016, 0x65900ffc
+0, 99, 99, 1, 38016, 0xcc61228c
+0, 100, 100, 1, 38016, 0x8ae34904
+0, 101, 101, 1, 38016, 0x74b8411a
+0, 102, 102, 1, 38016, 0xae36408d
+0, 103, 103, 1, 38016, 0x251429ad
+0, 104, 104, 1, 38016, 0x4d8e6dc6
+0, 105, 105, 1, 38016, 0x9e07801e
+0, 106, 106, 1, 38016, 0x8fdd83ef
+0, 107, 107, 1, 38016, 0x976084a1
+0, 108, 108, 1, 38016, 0x69f7609f
+0, 109, 109, 1, 38016, 0x48971b09
+0, 110, 110, 1, 38016, 0x78e63ff4
+0, 111, 111, 1, 38016, 0x0852365b
+0, 112, 112, 1, 38016, 0x8044232c
+0, 113, 113, 1, 38016, 0x9ec3178d
+0, 114, 114, 1, 38016, 0x6f260955
+0, 115, 115, 1, 38016, 0x903cfe23
+0, 116, 116, 1, 38016, 0x441afbe4
+0, 117, 117, 1, 38016, 0xe4420313
+0, 118, 118, 1, 38016, 0xf86d0c34
+0, 119, 119, 1, 38016, 0xafe5f3c3
+0, 120, 120, 1, 38016, 0x9f61e43b
+0, 121, 121, 1, 38016, 0x9330e186
+0, 122, 122, 1, 38016, 0xc900ce86
+0, 123, 123, 1, 38016, 0xffd6c4a6
+0, 124, 124, 1, 38016, 0xd7b3cd79
+0, 125, 125, 1, 38016, 0x8015c914
+0, 126, 126, 1, 38016, 0x36d3c884
+0, 127, 127, 1, 38016, 0x2981db44
+0, 128, 128, 1, 38016, 0x94f40162
+0, 129, 129, 1, 38016, 0x091022c5
+0, 130, 130, 1, 38016, 0xd554203f
+0, 131, 131, 1, 38016, 0xdcf26c7e
+0, 132, 132, 1, 38016, 0xdc398ff4
+0, 133, 133, 1, 38016, 0xeb5ca01c
+0, 134, 134, 1, 38016, 0x4931c311
+0, 135, 135, 1, 38016, 0x0ddabf2a
+0, 136, 136, 1, 38016, 0x2432a265
+0, 137, 137, 1, 38016, 0x65409b4f
+0, 138, 138, 1, 38016, 0x466e6957
+0, 139, 139, 1, 38016, 0x82a08bb4
+0, 140, 140, 1, 38016, 0xdb6a35c4
+0, 141, 141, 1, 38016, 0xda5b0d28
+0, 142, 142, 1, 38016, 0x2be76f6d
+0, 143, 143, 1, 38016, 0x7587a456
+0, 144, 144, 1, 38016, 0x69994004
+0, 145, 145, 1, 38016, 0xaefd46ec
+0, 146, 146, 1, 38016, 0x88094d53
+0, 147, 147, 1, 38016, 0xfcb82a4c
+0, 148, 148, 1, 38016, 0x2877c850
+0, 149, 149, 1, 38016, 0x327f5e88
+0, 150, 150, 1, 38016, 0xaa1c4a3f
+0, 151, 151, 1, 38016, 0x1950dfbd
+0, 152, 152, 1, 38016, 0x8580b472
+0, 153, 153, 1, 38016, 0xb5ef90c0
+0, 154, 154, 1, 38016, 0x0906b3e7
+0, 155, 155, 1, 38016, 0x026b12fa
+0, 156, 156, 1, 38016, 0xe8ef556a
+0, 157, 157, 1, 38016, 0x2e1afe7f
+0, 158, 158, 1, 38016, 0xef2ad28a
+0, 159, 159, 1, 38016, 0xe6d7d947
+0, 160, 160, 1, 38016, 0x25ebd549
+0, 161, 161, 1, 38016, 0xc443f3cf
+0, 162, 162, 1, 38016, 0x9dc7dcad
+0, 163, 163, 1, 38016, 0x8b7ce835
+0, 164, 164, 1, 38016, 0x27a3e48b
+0, 165, 165, 1, 38016, 0x0b6bc8a9
+0, 166, 166, 1, 38016, 0xdb98d21e
+0, 167, 167, 1, 38016, 0x4cb89812
+0, 168, 168, 1, 38016, 0x41f35c5e
+0, 169, 169, 1, 38016, 0xfd764d91
+0, 170, 170, 1, 38016, 0xb7cc313f
+0, 171, 171, 1, 38016, 0x51ba22d1
+0, 172, 172, 1, 38016, 0x00d8deee
+0, 173, 173, 1, 38016, 0x50db806a
+0, 174, 174, 1, 38016, 0xbf022623
+0, 175, 175, 1, 38016, 0xf2fe22ba
+0, 176, 176, 1, 38016, 0x7055191b
+0, 177, 177, 1, 38016, 0xbefb8590
+0, 178, 178, 1, 38016, 0x90e59103
+0, 179, 179, 1, 38016, 0x61d443da
+0, 180, 180, 1, 38016, 0x6ad0e637
+0, 181, 181, 1, 38016, 0xda39f9c1
+0, 182, 182, 1, 38016, 0x03408181
+0, 183, 183, 1, 38016, 0xee973480
+0, 184, 184, 1, 38016, 0x9674d65d
+0, 185, 185, 1, 38016, 0x1fdd5529
+0, 186, 186, 1, 38016, 0x51a219bb
+0, 187, 187, 1, 38016, 0x9cd9747e
+0, 188, 188, 1, 38016, 0xa58a3c33
+0, 189, 189, 1, 38016, 0xdf1905a9
+0, 190, 190, 1, 38016, 0x44a52c69
+0, 191, 191, 1, 38016, 0x0cf6e56b
+0, 192, 192, 1, 38016, 0xe2115e06
+0, 193, 193, 1, 38016, 0x15efa840
+0, 194, 194, 1, 38016, 0x0811bad8
+0, 195, 195, 1, 38016, 0x8240a91d
+0, 196, 196, 1, 38016, 0xdfe46b7d
+0, 197, 197, 1, 38016, 0xcead819a
+0, 198, 198, 1, 38016, 0xe8f87d91
+0, 199, 199, 1, 38016, 0x951ebd82
+0, 200, 200, 1, 38016, 0x37d98ecb
+0, 201, 201, 1, 38016, 0x54fb54da
+0, 202, 202, 1, 38016, 0xb306302e
+0, 203, 203, 1, 38016, 0xa8acd0dc
+0, 204, 204, 1, 38016, 0x68e43757
+0, 205, 205, 1, 38016, 0x7018cd48
+0, 206, 206, 1, 38016, 0x1c34824e
+0, 207, 207, 1, 38016, 0x22e7e478
+0, 208, 208, 1, 38016, 0x534a0470
+0, 209, 209, 1, 38016, 0x1a65bc45
+0, 210, 210, 1, 38016, 0x5e78223b
+0, 211, 211, 1, 38016, 0xc3c9c912
+0, 212, 212, 1, 38016, 0x52557c74
+0, 213, 213, 1, 38016, 0xf5ff1f9a
+0, 214, 214, 1, 38016, 0x56afe047
+0, 215, 215, 1, 38016, 0x50259235
+0, 216, 216, 1, 38016, 0xca19311d
+0, 217, 217, 1, 38016, 0xd96eeb53
+0, 218, 218, 1, 38016, 0x21a218b7
+0, 219, 219, 1, 38016, 0x24162395
+0, 220, 220, 1, 38016, 0xadf9b983
+0, 221, 221, 1, 38016, 0x68443df2
+0, 222, 222, 1, 38016, 0xa970df8a
+0, 223, 223, 1, 38016, 0x8381bbee
+0, 224, 224, 1, 38016, 0x36fe1d22
+0, 225, 225, 1, 38016, 0xa0326ddf
+0, 226, 226, 1, 38016, 0x01dc7ca7
+0, 227, 227, 1, 38016, 0xf485d505
+0, 228, 228, 1, 38016, 0xb5a8fe68
+0, 229, 229, 1, 38016, 0x6385f303
+0, 230, 230, 1, 38016, 0x4d099ef1
+0, 231, 231, 1, 38016, 0xeaa54d25
+0, 232, 232, 1, 38016, 0x5c32c503
+0, 233, 233, 1, 38016, 0xd52538b3
+0, 234, 234, 1, 38016, 0x1ca2e4c2
+0, 235, 235, 1, 38016, 0xe3a95b82
+0, 236, 236, 1, 38016, 0x14393895
+0, 237, 237, 1, 38016, 0xd77cef50
+0, 238, 238, 1, 38016, 0x47b901b8
+0, 239, 239, 1, 38016, 0x14d70226
+0, 240, 240, 1, 38016, 0xab32b360
+0, 241, 241, 1, 38016, 0xb92d3090
+0, 242, 242, 1, 38016, 0xbd50ae43
+0, 243, 243, 1, 38016, 0x5ea8d59a
+0, 244, 244, 1, 38016, 0xb6d7fe63
+0, 245, 245, 1, 38016, 0xe228050d
+0, 246, 246, 1, 38016, 0x09e251ed
+0, 247, 247, 1, 38016, 0xcea332d0
+0, 248, 248, 1, 38016, 0x048838af
+0, 249, 249, 1, 38016, 0x0a625a93
+0, 250, 250, 1, 38016, 0x018aa719
+0, 251, 251, 1, 38016, 0x630e70a8
+0, 252, 252, 1, 38016, 0x93cb4c39
+0, 253, 253, 1, 38016, 0x3cdb7cf8
+0, 254, 254, 1, 38016, 0x48491fb4
+0, 255, 255, 1, 38016, 0x06aa4101
+0, 256, 256, 1, 38016, 0x4b402d3e
+0, 257, 257, 1, 38016, 0x13cbf927
+0, 258, 258, 1, 38016, 0xdc7528b6
+0, 259, 259, 1, 38016, 0x652d0576
+0, 260, 260, 1, 38016, 0xa3a504d6
+0, 261, 261, 1, 38016, 0x5bd33fe4
+0, 262, 262, 1, 38016, 0xae11267b
+0, 263, 263, 1, 38016, 0xb58b5613
+0, 264, 264, 1, 38016, 0x50160d80
+0, 265, 265, 1, 38016, 0x4a643ed0
+0, 266, 266, 1, 38016, 0xe3983ed6
+0, 267, 267, 1, 38016, 0xa1fb3338
+0, 268, 268, 1, 38016, 0x48d0286d
+0, 269, 269, 1, 38016, 0x67043801
+0, 270, 270, 1, 38016, 0x00bafaad
+0, 271, 271, 1, 38016, 0xf07de35a
+0, 272, 272, 1, 38016, 0x493e4579
+0, 273, 273, 1, 38016, 0xa917532b
+0, 274, 274, 1, 38016, 0x463fcc89
+0, 275, 275, 1, 38016, 0xd47c1b1b
+0, 276, 276, 1, 38016, 0x3543c596
+0, 277, 277, 1, 38016, 0x65d6cd5b
+0, 278, 278, 1, 38016, 0x22cbd5ef
+0, 279, 279, 1, 38016, 0x08e0f250
+0, 280, 280, 1, 38016, 0x4e4aeb0a
+0, 281, 281, 1, 38016, 0x7895e0bd
+0, 282, 282, 1, 38016, 0xc11cea95
+0, 283, 283, 1, 38016, 0x13b3bcf8
+0, 284, 284, 1, 38016, 0xcb312186
+0, 285, 285, 1, 38016, 0x791007ca
+0, 286, 286, 1, 38016, 0xaa77354f
+0, 287, 287, 1, 38016, 0x1dbc2a67
+0, 288, 288, 1, 38016, 0x00646a65
+0, 289, 289, 1, 38016, 0x19db488d
+0, 290, 290, 1, 38016, 0x16c155e5
+0, 291, 291, 1, 38016, 0xb760898e
+0, 292, 292, 1, 38016, 0xbd6691e8
+0, 293, 293, 1, 38016, 0x06829781
+0, 294, 294, 1, 38016, 0xcebab8ad
+0, 295, 295, 1, 38016, 0xe2f38e79
+0, 296, 296, 1, 38016, 0x1e00c08e
+0, 297, 297, 1, 38016, 0x86d6c935
+0, 298, 298, 1, 38016, 0xaa88dfdc
+0, 299, 299, 1, 38016, 0xa9029b45
diff --git a/tests/ref/fate/h264-conformance-mr6_bt_b b/tests/ref/fate/h264-conformance-mr6_bt_b
index 8deff75527..3b02506562 100644
--- a/tests/ref/fate/h264-conformance-mr6_bt_b
+++ b/tests/ref/fate/h264-conformance-mr6_bt_b
@@ -1,60 +1,61 @@
-0, 0, 36864, 0x954464be
-0, 3600, 36864, 0xace1d90b
-0, 7200, 36864, 0x8f149f03
-0, 10800, 36864, 0xea9b21eb
-0, 14400, 36864, 0xb51d9fe3
-0, 18000, 36864, 0x61bd11d7
-0, 21600, 36864, 0x9d36980f
-0, 25200, 36864, 0xa4192c5e
-0, 28800, 36864, 0x11006433
-0, 32400, 36864, 0x4a243e46
-0, 36000, 36864, 0x1807b5e8
-0, 39600, 36864, 0xbe37743c
-0, 43200, 36864, 0x82491319
-0, 46800, 36864, 0x006e9914
-0, 50400, 36864, 0xa5261884
-0, 54000, 36864, 0x2030c9d6
-0, 57600, 36864, 0xc80eb1ce
-0, 61200, 36864, 0x4d559791
-0, 64800, 36864, 0xf5f900ee
-0, 68400, 36864, 0x2cc9c0d7
-0, 72000, 36864, 0x5ba14186
-0, 75600, 36864, 0x47a46865
-0, 79200, 36864, 0x5ba180b7
-0, 82800, 36864, 0xc67c4876
-0, 86400, 36864, 0x4311d75d
-0, 90000, 36864, 0x56edb851
-0, 93600, 36864, 0x7e5aa3e0
-0, 97200, 36864, 0x8df8283a
-0, 100800, 36864, 0xb8583ddf
-0, 104400, 36864, 0xf33fb779
-0, 108000, 36864, 0xe9942ddc
-0, 111600, 36864, 0x2bc5f7fa
-0, 115200, 36864, 0xc7b66c65
-0, 118800, 36864, 0x1a524319
-0, 122400, 36864, 0xf60c6141
-0, 126000, 36864, 0x113f41f2
-0, 129600, 36864, 0xad191a31
-0, 133200, 36864, 0x3898264a
-0, 136800, 36864, 0x3c2f34a4
-0, 140400, 36864, 0xd0fc76aa
-0, 144000, 36864, 0x2870b546
-0, 147600, 36864, 0x7d326fb4
-0, 151200, 36864, 0xd7ed14e1
-0, 154800, 36864, 0x205174aa
-0, 158400, 36864, 0xa3a88be9
-0, 162000, 36864, 0xd6f01751
-0, 165600, 36864, 0x5420bb80
-0, 169200, 36864, 0xe14518f9
-0, 172800, 36864, 0x931db61e
-0, 176400, 36864, 0x052ecfae
-0, 180000, 36864, 0x29b1b0f5
-0, 183600, 36864, 0xa3057117
-0, 187200, 36864, 0x954464be
-0, 190800, 36864, 0xace1d90b
-0, 194400, 36864, 0x8f149f03
-0, 198000, 36864, 0x485722c5
-0, 201600, 36864, 0x534b18f9
-0, 205200, 36864, 0xc893a0a6
-0, 208800, 36864, 0x8b04e1dd
-0, 212400, 36864, 0xaf536964
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0x954464be
+0, 1, 1, 1, 36864, 0xace1d90b
+0, 2, 2, 1, 36864, 0x8f149f03
+0, 3, 3, 1, 36864, 0xea9b21eb
+0, 4, 4, 1, 36864, 0xb51d9fe3
+0, 5, 5, 1, 36864, 0x61bd11d7
+0, 6, 6, 1, 36864, 0x9d36980f
+0, 7, 7, 1, 36864, 0xa4192c5e
+0, 8, 8, 1, 36864, 0x11006433
+0, 9, 9, 1, 36864, 0x4a243e46
+0, 10, 10, 1, 36864, 0x1807b5e8
+0, 11, 11, 1, 36864, 0xbe37743c
+0, 12, 12, 1, 36864, 0x82491319
+0, 13, 13, 1, 36864, 0x006e9914
+0, 14, 14, 1, 36864, 0xa5261884
+0, 15, 15, 1, 36864, 0x2030c9d6
+0, 16, 16, 1, 36864, 0xc80eb1ce
+0, 17, 17, 1, 36864, 0x4d559791
+0, 18, 18, 1, 36864, 0xf5f900ee
+0, 19, 19, 1, 36864, 0x2cc9c0d7
+0, 20, 20, 1, 36864, 0x5ba14186
+0, 21, 21, 1, 36864, 0x47a46865
+0, 22, 22, 1, 36864, 0x5ba180b7
+0, 23, 23, 1, 36864, 0xc67c4876
+0, 24, 24, 1, 36864, 0x4311d75d
+0, 25, 25, 1, 36864, 0x56edb851
+0, 26, 26, 1, 36864, 0x7e5aa3e0
+0, 27, 27, 1, 36864, 0x8df8283a
+0, 28, 28, 1, 36864, 0xb8583ddf
+0, 29, 29, 1, 36864, 0xf33fb779
+0, 30, 30, 1, 36864, 0xe9942ddc
+0, 31, 31, 1, 36864, 0x2bc5f7fa
+0, 32, 32, 1, 36864, 0xc7b66c65
+0, 33, 33, 1, 36864, 0x1a524319
+0, 34, 34, 1, 36864, 0xf60c6141
+0, 35, 35, 1, 36864, 0x113f41f2
+0, 36, 36, 1, 36864, 0xad191a31
+0, 37, 37, 1, 36864, 0x3898264a
+0, 38, 38, 1, 36864, 0x3c2f34a4
+0, 39, 39, 1, 36864, 0xd0fc76aa
+0, 40, 40, 1, 36864, 0x2870b546
+0, 41, 41, 1, 36864, 0x7d326fb4
+0, 42, 42, 1, 36864, 0xd7ed14e1
+0, 43, 43, 1, 36864, 0x205174aa
+0, 44, 44, 1, 36864, 0xa3a88be9
+0, 45, 45, 1, 36864, 0xd6f01751
+0, 46, 46, 1, 36864, 0x5420bb80
+0, 47, 47, 1, 36864, 0xe14518f9
+0, 48, 48, 1, 36864, 0x931db61e
+0, 49, 49, 1, 36864, 0x052ecfae
+0, 50, 50, 1, 36864, 0x29b1b0f5
+0, 51, 51, 1, 36864, 0xa3057117
+0, 52, 52, 1, 36864, 0x954464be
+0, 53, 53, 1, 36864, 0xace1d90b
+0, 54, 54, 1, 36864, 0x8f149f03
+0, 55, 55, 1, 36864, 0x485722c5
+0, 56, 56, 1, 36864, 0x534b18f9
+0, 57, 57, 1, 36864, 0xc893a0a6
+0, 58, 58, 1, 36864, 0x8b04e1dd
+0, 59, 59, 1, 36864, 0xaf536964
diff --git a/tests/ref/fate/h264-conformance-mr7_bt_b b/tests/ref/fate/h264-conformance-mr7_bt_b
index 3d40bde01c..25b7054fa8 100644
--- a/tests/ref/fate/h264-conformance-mr7_bt_b
+++ b/tests/ref/fate/h264-conformance-mr7_bt_b
@@ -1,60 +1,61 @@
-0, 0, 36864, 0x579e6274
-0, 3600, 36864, 0x8650c61c
-0, 7200, 36864, 0xbc359647
-0, 10800, 36864, 0x08d91c13
-0, 14400, 36864, 0xe8b79043
-0, 18000, 36864, 0x2f16085a
-0, 21600, 36864, 0x81e89739
-0, 25200, 36864, 0xf2f324dd
-0, 28800, 36864, 0x592b5a01
-0, 32400, 36864, 0x4c2f2d91
-0, 36000, 36864, 0x8baeb610
-0, 39600, 36864, 0x86d47617
-0, 43200, 36864, 0xf11011cc
-0, 46800, 36864, 0xe56a9daa
-0, 50400, 36864, 0xd57119d6
-0, 54000, 36864, 0xe28fcde7
-0, 57600, 36864, 0x9aeeba86
-0, 61200, 36864, 0xa518a7c5
-0, 64800, 36864, 0x9af410be
-0, 68400, 36864, 0x1fedd12f
-0, 72000, 36864, 0xa8032e03
-0, 75600, 36864, 0x579e6274
-0, 79200, 36864, 0x99846ef6
-0, 82800, 36864, 0xb5ad3ca7
-0, 86400, 36864, 0x7845cb90
-0, 90000, 36864, 0x569fae24
-0, 93600, 36864, 0x8a3c9f98
-0, 97200, 36864, 0x0b7722af
-0, 100800, 36864, 0x699c2dd8
-0, 104400, 36864, 0xd477af13
-0, 108000, 36864, 0x17b62d7c
-0, 111600, 36864, 0xb1ecf6a7
-0, 115200, 36864, 0xf9c17e4c
-0, 118800, 36864, 0xe7c44618
-0, 122400, 36864, 0x7e23654e
-0, 126000, 36864, 0xd8a0457c
-0, 129600, 36864, 0x57e11df1
-0, 133200, 36864, 0xd54d2a43
-0, 136800, 36864, 0xc6f03950
-0, 140400, 36864, 0x687e750e
-0, 144000, 36864, 0x2870b546
-0, 147600, 36864, 0xda0370d0
-0, 151200, 36864, 0x5a2e0bff
-0, 154800, 36864, 0xe1f07533
-0, 158400, 36864, 0x3de892b9
-0, 162000, 36864, 0xe5c31505
-0, 165600, 36864, 0x96b8c082
-0, 169200, 36864, 0x55391423
-0, 172800, 36864, 0xc285bd71
-0, 176400, 36864, 0xf702d9f3
-0, 180000, 36864, 0x7afbadf8
-0, 183600, 36864, 0xd9b568f7
-0, 187200, 36864, 0x579e6274
-0, 190800, 36864, 0x8650c61c
-0, 194400, 36864, 0xbc359647
-0, 198000, 36864, 0x5522328c
-0, 201600, 36864, 0x02821fd6
-0, 205200, 36864, 0xb4ee9562
-0, 208800, 36864, 0xcefedb68
-0, 212400, 36864, 0xd959782e
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0x579e6274
+0, 1, 1, 1, 36864, 0x8650c61c
+0, 2, 2, 1, 36864, 0xbc359647
+0, 3, 3, 1, 36864, 0x08d91c13
+0, 4, 4, 1, 36864, 0xe8b79043
+0, 5, 5, 1, 36864, 0x2f16085a
+0, 6, 6, 1, 36864, 0x81e89739
+0, 7, 7, 1, 36864, 0xf2f324dd
+0, 8, 8, 1, 36864, 0x592b5a01
+0, 9, 9, 1, 36864, 0x4c2f2d91
+0, 10, 10, 1, 36864, 0x8baeb610
+0, 11, 11, 1, 36864, 0x86d47617
+0, 12, 12, 1, 36864, 0xf11011cc
+0, 13, 13, 1, 36864, 0xe56a9daa
+0, 14, 14, 1, 36864, 0xd57119d6
+0, 15, 15, 1, 36864, 0xe28fcde7
+0, 16, 16, 1, 36864, 0x9aeeba86
+0, 17, 17, 1, 36864, 0xa518a7c5
+0, 18, 18, 1, 36864, 0x9af410be
+0, 19, 19, 1, 36864, 0x1fedd12f
+0, 20, 20, 1, 36864, 0xa8032e03
+0, 21, 21, 1, 36864, 0x579e6274
+0, 22, 22, 1, 36864, 0x99846ef6
+0, 23, 23, 1, 36864, 0xb5ad3ca7
+0, 24, 24, 1, 36864, 0x7845cb90
+0, 25, 25, 1, 36864, 0x569fae24
+0, 26, 26, 1, 36864, 0x8a3c9f98
+0, 27, 27, 1, 36864, 0x0b7722af
+0, 28, 28, 1, 36864, 0x699c2dd8
+0, 29, 29, 1, 36864, 0xd477af13
+0, 30, 30, 1, 36864, 0x17b62d7c
+0, 31, 31, 1, 36864, 0xb1ecf6a7
+0, 32, 32, 1, 36864, 0xf9c17e4c
+0, 33, 33, 1, 36864, 0xe7c44618
+0, 34, 34, 1, 36864, 0x7e23654e
+0, 35, 35, 1, 36864, 0xd8a0457c
+0, 36, 36, 1, 36864, 0x57e11df1
+0, 37, 37, 1, 36864, 0xd54d2a43
+0, 38, 38, 1, 36864, 0xc6f03950
+0, 39, 39, 1, 36864, 0x687e750e
+0, 40, 40, 1, 36864, 0x2870b546
+0, 41, 41, 1, 36864, 0xda0370d0
+0, 42, 42, 1, 36864, 0x5a2e0bff
+0, 43, 43, 1, 36864, 0xe1f07533
+0, 44, 44, 1, 36864, 0x3de892b9
+0, 45, 45, 1, 36864, 0xe5c31505
+0, 46, 46, 1, 36864, 0x96b8c082
+0, 47, 47, 1, 36864, 0x55391423
+0, 48, 48, 1, 36864, 0xc285bd71
+0, 49, 49, 1, 36864, 0xf702d9f3
+0, 50, 50, 1, 36864, 0x7afbadf8
+0, 51, 51, 1, 36864, 0xd9b568f7
+0, 52, 52, 1, 36864, 0x579e6274
+0, 53, 53, 1, 36864, 0x8650c61c
+0, 54, 54, 1, 36864, 0xbc359647
+0, 55, 55, 1, 36864, 0x5522328c
+0, 56, 56, 1, 36864, 0x02821fd6
+0, 57, 57, 1, 36864, 0xb4ee9562
+0, 58, 58, 1, 36864, 0xcefedb68
+0, 59, 59, 1, 36864, 0xd959782e
diff --git a/tests/ref/fate/h264-conformance-mr8_bt_b b/tests/ref/fate/h264-conformance-mr8_bt_b
index ab35869bfd..220acf1e5f 100644
--- a/tests/ref/fate/h264-conformance-mr8_bt_b
+++ b/tests/ref/fate/h264-conformance-mr8_bt_b
@@ -1,58 +1,59 @@
-0, 0, 36864, 0x36df68f4
-0, 3600, 36864, 0x52d4c6d9
-0, 7200, 36864, 0xad16b0be
-0, 10800, 36864, 0xf8c72556
-0, 14400, 36864, 0x70aaad30
-0, 18000, 36864, 0x53cffd5e
-0, 21600, 36864, 0xb3fa8abc
-0, 25200, 36864, 0x9c894009
-0, 28800, 36864, 0xfbc08050
-0, 32400, 36864, 0x9d5b2d65
-0, 36000, 36864, 0x3bd8bb5d
-0, 39600, 36864, 0x8d976ecf
-0, 43200, 36864, 0x25010368
-0, 46800, 36864, 0xb6e6a11c
-0, 50400, 36864, 0x595a3967
-0, 54000, 36864, 0x4fbcb9a8
-0, 57600, 36864, 0xc7c5c16b
-0, 61200, 36864, 0x661ae1eb
-0, 64800, 36864, 0x169f04a7
-0, 68400, 36864, 0xd124c93a
-0, 72000, 36864, 0x3f642dba
-0, 75600, 36864, 0xe7ad6956
-0, 79200, 36864, 0x47dc76d3
-0, 82800, 36864, 0x496a3917
-0, 86400, 36864, 0xa976d5f3
-0, 90000, 36864, 0x507bb685
-0, 93600, 36864, 0x2f61ac12
-0, 97200, 36864, 0x527818d8
-0, 100800, 36864, 0xa4983396
-0, 104400, 36864, 0x3ec9b07b
-0, 108000, 36864, 0x7db52d99
-0, 111600, 36864, 0xe974fd00
-0, 115200, 36864, 0x9c677a4f
-0, 118800, 36864, 0x108f3a05
-0, 122400, 36864, 0x23a56ba2
-0, 126000, 36864, 0x4c8d47e8
-0, 129600, 36864, 0x9e0b0f09
-0, 133200, 36864, 0x4d262b16
-0, 136800, 36864, 0x6122402e
-0, 140400, 36864, 0xed037036
-0, 144000, 36864, 0x62b3ba08
-0, 147600, 36864, 0x7f876930
-0, 151200, 36864, 0x4a6c0983
-0, 154800, 36864, 0xf9787086
-0, 158400, 36864, 0x01d1b1b5
-0, 162000, 36864, 0xc1622655
-0, 165600, 36864, 0x27e8e0f7
-0, 169200, 36864, 0xc1622655
-0, 172800, 36864, 0x12c2b7e9
-0, 176400, 36864, 0xd752d2ef
-0, 180000, 36864, 0xcbb1c3a7
-0, 183600, 36864, 0x18c56fba
-0, 187200, 36864, 0xb1b3771c
-0, 190800, 36864, 0x284ef3c4
-0, 194400, 36864, 0xda6eb5a0
-0, 198000, 36864, 0x17ad337c
-0, 201600, 36864, 0xe2801e4f
-0, 205200, 36864, 0x6c33bd17
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0x36df68f4
+0, 1, 1, 1, 36864, 0x52d4c6d9
+0, 2, 2, 1, 36864, 0xad16b0be
+0, 3, 3, 1, 36864, 0xf8c72556
+0, 4, 4, 1, 36864, 0x70aaad30
+0, 5, 5, 1, 36864, 0x53cffd5e
+0, 6, 6, 1, 36864, 0xb3fa8abc
+0, 7, 7, 1, 36864, 0x9c894009
+0, 8, 8, 1, 36864, 0xfbc08050
+0, 9, 9, 1, 36864, 0x9d5b2d65
+0, 10, 10, 1, 36864, 0x3bd8bb5d
+0, 11, 11, 1, 36864, 0x8d976ecf
+0, 12, 12, 1, 36864, 0x25010368
+0, 13, 13, 1, 36864, 0xb6e6a11c
+0, 14, 14, 1, 36864, 0x595a3967
+0, 15, 15, 1, 36864, 0x4fbcb9a8
+0, 16, 16, 1, 36864, 0xc7c5c16b
+0, 17, 17, 1, 36864, 0x661ae1eb
+0, 18, 18, 1, 36864, 0x169f04a7
+0, 19, 19, 1, 36864, 0xd124c93a
+0, 20, 20, 1, 36864, 0x3f642dba
+0, 21, 21, 1, 36864, 0xe7ad6956
+0, 22, 22, 1, 36864, 0x47dc76d3
+0, 23, 23, 1, 36864, 0x496a3917
+0, 24, 24, 1, 36864, 0xa976d5f3
+0, 25, 25, 1, 36864, 0x507bb685
+0, 26, 26, 1, 36864, 0x2f61ac12
+0, 27, 27, 1, 36864, 0x527818d8
+0, 28, 28, 1, 36864, 0xa4983396
+0, 29, 29, 1, 36864, 0x3ec9b07b
+0, 30, 30, 1, 36864, 0x7db52d99
+0, 31, 31, 1, 36864, 0xe974fd00
+0, 32, 32, 1, 36864, 0x9c677a4f
+0, 33, 33, 1, 36864, 0x108f3a05
+0, 34, 34, 1, 36864, 0x23a56ba2
+0, 35, 35, 1, 36864, 0x4c8d47e8
+0, 36, 36, 1, 36864, 0x9e0b0f09
+0, 37, 37, 1, 36864, 0x4d262b16
+0, 38, 38, 1, 36864, 0x6122402e
+0, 39, 39, 1, 36864, 0xed037036
+0, 40, 40, 1, 36864, 0x62b3ba08
+0, 41, 41, 1, 36864, 0x7f876930
+0, 42, 42, 1, 36864, 0x4a6c0983
+0, 43, 43, 1, 36864, 0xf9787086
+0, 44, 44, 1, 36864, 0x01d1b1b5
+0, 45, 45, 1, 36864, 0xc1622655
+0, 46, 46, 1, 36864, 0x27e8e0f7
+0, 47, 47, 1, 36864, 0xc1622655
+0, 48, 48, 1, 36864, 0x12c2b7e9
+0, 49, 49, 1, 36864, 0xd752d2ef
+0, 50, 50, 1, 36864, 0xcbb1c3a7
+0, 51, 51, 1, 36864, 0x18c56fba
+0, 52, 52, 1, 36864, 0xb1b3771c
+0, 53, 53, 1, 36864, 0x284ef3c4
+0, 54, 54, 1, 36864, 0xda6eb5a0
+0, 55, 55, 1, 36864, 0x17ad337c
+0, 56, 56, 1, 36864, 0xe2801e4f
+0, 57, 57, 1, 36864, 0x6c33bd17
diff --git a/tests/ref/fate/h264-conformance-mr9_bt_b b/tests/ref/fate/h264-conformance-mr9_bt_b
index dcf0b420a4..3744802a6a 100644
--- a/tests/ref/fate/h264-conformance-mr9_bt_b
+++ b/tests/ref/fate/h264-conformance-mr9_bt_b
@@ -1,58 +1,59 @@
-0, 0, 36864, 0xb4c5642e
-0, 3600, 36864, 0x929fd05f
-0, 7200, 36864, 0x447c9b69
-0, 10800, 36864, 0xab0712da
-0, 14400, 36864, 0xd9f69216
-0, 18000, 36864, 0xec04f6dc
-0, 21600, 36864, 0x5ffa86cc
-0, 25200, 36864, 0x75122807
-0, 28800, 36864, 0x27036a2b
-0, 32400, 36864, 0x00072654
-0, 36000, 36864, 0x49fab4fd
-0, 39600, 36864, 0x975a7545
-0, 43200, 36864, 0x9b080a2f
-0, 46800, 36864, 0x78db960e
-0, 50400, 36864, 0xd7a928d4
-0, 54000, 36864, 0x0a83ba1b
-0, 57600, 36864, 0xad6bb30c
-0, 61200, 36864, 0xf6addb0d
-0, 64800, 36864, 0x00540a0a
-0, 68400, 36864, 0x049cc748
-0, 72000, 36864, 0x5b1e2291
-0, 75600, 36864, 0x2367706e
-0, 79200, 36864, 0x88ef6b11
-0, 82800, 36864, 0x85b73230
-0, 86400, 36864, 0xe46cd522
-0, 90000, 36864, 0x98489c05
-0, 93600, 36864, 0x7e439564
-0, 97200, 36864, 0x71330799
-0, 100800, 36864, 0x81a6239e
-0, 104400, 36864, 0x8005a302
-0, 108000, 36864, 0xdf132e3f
-0, 111600, 36864, 0x2a1d00de
-0, 115200, 36864, 0x7bb57e14
-0, 118800, 36864, 0xf2a637cf
-0, 122400, 36864, 0xae6f6916
-0, 126000, 36864, 0x2f1d4763
-0, 129600, 36864, 0xa4e1145e
-0, 133200, 36864, 0xc1644392
-0, 136800, 36864, 0x21853537
-0, 140400, 36864, 0x0bc45bac
-0, 144000, 36864, 0x84ccb8ee
-0, 147600, 36864, 0x65de651c
-0, 151200, 36864, 0x33ff027e
-0, 154800, 36864, 0xefe47056
-0, 158400, 36864, 0x8952b47c
-0, 162000, 36864, 0x78730fcf
-0, 165600, 36864, 0x14bae79f
-0, 169200, 36864, 0x53230fbe
-0, 172800, 36864, 0x15b0b245
-0, 176400, 36864, 0x45fbd155
-0, 180000, 36864, 0x41cfbac4
-0, 183600, 36864, 0x0d635d61
-0, 187200, 36864, 0x55aa8d3c
-0, 190800, 36864, 0x8f02fbaf
-0, 194400, 36864, 0xb17fac3f
-0, 198000, 36864, 0xc12627f9
-0, 201600, 36864, 0xa5971e4a
-0, 205200, 36864, 0x3677abfe
+#tb 0: 1/25
+0, 0, 0, 1, 36864, 0xb4c5642e
+0, 1, 1, 1, 36864, 0x929fd05f
+0, 2, 2, 1, 36864, 0x447c9b69
+0, 3, 3, 1, 36864, 0xab0712da
+0, 4, 4, 1, 36864, 0xd9f69216
+0, 5, 5, 1, 36864, 0xec04f6dc
+0, 6, 6, 1, 36864, 0x5ffa86cc
+0, 7, 7, 1, 36864, 0x75122807
+0, 8, 8, 1, 36864, 0x27036a2b
+0, 9, 9, 1, 36864, 0x00072654
+0, 10, 10, 1, 36864, 0x49fab4fd
+0, 11, 11, 1, 36864, 0x975a7545
+0, 12, 12, 1, 36864, 0x9b080a2f
+0, 13, 13, 1, 36864, 0x78db960e
+0, 14, 14, 1, 36864, 0xd7a928d4
+0, 15, 15, 1, 36864, 0x0a83ba1b
+0, 16, 16, 1, 36864, 0xad6bb30c
+0, 17, 17, 1, 36864, 0xf6addb0d
+0, 18, 18, 1, 36864, 0x00540a0a
+0, 19, 19, 1, 36864, 0x049cc748
+0, 20, 20, 1, 36864, 0x5b1e2291
+0, 21, 21, 1, 36864, 0x2367706e
+0, 22, 22, 1, 36864, 0x88ef6b11
+0, 23, 23, 1, 36864, 0x85b73230
+0, 24, 24, 1, 36864, 0xe46cd522
+0, 25, 25, 1, 36864, 0x98489c05
+0, 26, 26, 1, 36864, 0x7e439564
+0, 27, 27, 1, 36864, 0x71330799
+0, 28, 28, 1, 36864, 0x81a6239e
+0, 29, 29, 1, 36864, 0x8005a302
+0, 30, 30, 1, 36864, 0xdf132e3f
+0, 31, 31, 1, 36864, 0x2a1d00de
+0, 32, 32, 1, 36864, 0x7bb57e14
+0, 33, 33, 1, 36864, 0xf2a637cf
+0, 34, 34, 1, 36864, 0xae6f6916
+0, 35, 35, 1, 36864, 0x2f1d4763
+0, 36, 36, 1, 36864, 0xa4e1145e
+0, 37, 37, 1, 36864, 0xc1644392
+0, 38, 38, 1, 36864, 0x21853537
+0, 39, 39, 1, 36864, 0x0bc45bac
+0, 40, 40, 1, 36864, 0x84ccb8ee
+0, 41, 41, 1, 36864, 0x65de651c
+0, 42, 42, 1, 36864, 0x33ff027e
+0, 43, 43, 1, 36864, 0xefe47056
+0, 44, 44, 1, 36864, 0x8952b47c
+0, 45, 45, 1, 36864, 0x78730fcf
+0, 46, 46, 1, 36864, 0x14bae79f
+0, 47, 47, 1, 36864, 0x53230fbe
+0, 48, 48, 1, 36864, 0x15b0b245
+0, 49, 49, 1, 36864, 0x45fbd155
+0, 50, 50, 1, 36864, 0x41cfbac4
+0, 51, 51, 1, 36864, 0x0d635d61
+0, 52, 52, 1, 36864, 0x55aa8d3c
+0, 53, 53, 1, 36864, 0x8f02fbaf
+0, 54, 54, 1, 36864, 0xb17fac3f
+0, 55, 55, 1, 36864, 0xc12627f9
+0, 56, 56, 1, 36864, 0xa5971e4a
+0, 57, 57, 1, 36864, 0x3677abfe
diff --git a/tests/ref/fate/h264-conformance-mv1_brcm_d b/tests/ref/fate/h264-conformance-mv1_brcm_d
index f7ce1d663e..47517ee3c6 100644
--- a/tests/ref/fate/h264-conformance-mv1_brcm_d
+++ b/tests/ref/fate/h264-conformance-mv1_brcm_d
@@ -1,257 +1,258 @@
-0, 0, 518400, 0x230d7aa6
-0, 3600, 518400, 0x9fc976e0
-0, 7200, 518400, 0x51052db9
-0, 10800, 518400, 0xad82d599
-0, 14400, 518400, 0xa122c6a7
-0, 18000, 518400, 0x0c3a81a0
-0, 21600, 518400, 0x6235364e
-0, 25200, 518400, 0x4d5104f8
-0, 28800, 518400, 0x09cc49b1
-0, 32400, 518400, 0xcdb05c19
-0, 36000, 518400, 0x894be6de
-0, 39600, 518400, 0x53a41fc3
-0, 43200, 518400, 0x7568ccee
-0, 46800, 518400, 0x2b5ae37b
-0, 50400, 518400, 0xd0b994bb
-0, 54000, 518400, 0x1b161358
-0, 57600, 518400, 0xc5434edc
-0, 61200, 518400, 0xc4709590
-0, 64800, 518400, 0x60c6803a
-0, 68400, 518400, 0xdff3edcd
-0, 72000, 518400, 0x8a02b8b4
-0, 75600, 518400, 0x478cf791
-0, 79200, 518400, 0x7c42fed0
-0, 82800, 518400, 0x12b1336d
-0, 86400, 518400, 0xe16e765e
-0, 90000, 518400, 0x002c291e
-0, 93600, 518400, 0x50810b53
-0, 97200, 518400, 0xda7e2453
-0, 100800, 518400, 0x6e330093
-0, 104400, 518400, 0xf30740b3
-0, 108000, 518400, 0xc27ae19d
-0, 111600, 518400, 0xe49da8c2
-0, 115200, 518400, 0xa739372c
-0, 118800, 518400, 0x4b44788c
-0, 122400, 518400, 0xfdf9e6cf
-0, 126000, 518400, 0xee205413
-0, 129600, 518400, 0x8792dc0e
-0, 133200, 518400, 0x6820d611
-0, 136800, 518400, 0x106cbc2c
-0, 140400, 518400, 0x7d8e3e92
-0, 144000, 518400, 0xbfe48709
-0, 147600, 518400, 0xc5d5a55d
-0, 151200, 518400, 0x7c234886
-0, 154800, 518400, 0x852372b0
-0, 158400, 518400, 0x43d697f9
-0, 162000, 518400, 0xc3460806
-0, 165600, 518400, 0x0600abea
-0, 169200, 518400, 0xf6e3ab0e
-0, 172800, 518400, 0x651f9a46
-0, 176400, 518400, 0xed467ba0
-0, 180000, 518400, 0x62312c3f
-0, 183600, 518400, 0xb121898d
-0, 187200, 518400, 0xb1f96406
-0, 190800, 518400, 0x78003318
-0, 194400, 518400, 0x1032b15b
-0, 198000, 518400, 0x72683d37
-0, 201600, 518400, 0xd1349f12
-0, 205200, 518400, 0x4162f707
-0, 208800, 518400, 0x894711c9
-0, 212400, 518400, 0xca37429b
-0, 216000, 518400, 0xb8e91eb5
-0, 219600, 518400, 0xe5eb3103
-0, 223200, 518400, 0x56a33cea
-0, 226800, 518400, 0x79ef0227
-0, 230400, 518400, 0x7ceaab75
-0, 234000, 518400, 0x3f4787b2
-0, 237600, 518400, 0x9e6d2abb
-0, 241200, 518400, 0xedb0cf82
-0, 244800, 518400, 0x19c8723f
-0, 248400, 518400, 0x35d8399b
-0, 252000, 518400, 0xe0224dc8
-0, 255600, 518400, 0xc95467bf
-0, 259200, 518400, 0x99662844
-0, 262800, 518400, 0x10a322c9
-0, 266400, 518400, 0xe6313d98
-0, 270000, 518400, 0x2e2a63d1
-0, 273600, 518400, 0x2c9d0715
-0, 277200, 518400, 0xf31d9e19
-0, 280800, 518400, 0xcea1f9f8
-0, 284400, 518400, 0xece1cd92
-0, 288000, 518400, 0xa8d35347
-0, 291600, 518400, 0xd8cd2228
-0, 295200, 518400, 0xe040993a
-0, 298800, 518400, 0xebc2b387
-0, 302400, 518400, 0xc3e81e85
-0, 306000, 518400, 0xcc507bc9
-0, 309600, 518400, 0xb98c4902
-0, 313200, 518400, 0x454a2a50
-0, 316800, 518400, 0x1460c5dd
-0, 320400, 518400, 0x37d7a99d
-0, 324000, 518400, 0x1de7a047
-0, 327600, 518400, 0xc7b83c21
-0, 331200, 518400, 0xe06d1c9b
-0, 334800, 518400, 0xfd8259b5
-0, 338400, 518400, 0xc3df7e1a
-0, 342000, 518400, 0x60c9ccec
-0, 345600, 518400, 0x7d163c04
-0, 349200, 518400, 0x8fc61e9d
-0, 352800, 518400, 0xa5f520e6
-0, 356400, 518400, 0x8d709ec1
-0, 360000, 518400, 0xca2b6287
-0, 363600, 518400, 0x8531bb18
-0, 367200, 518400, 0x830f9187
-0, 370800, 518400, 0x67c5d413
-0, 374400, 518400, 0x428aeecd
-0, 378000, 518400, 0xbf8e3448
-0, 381600, 518400, 0x847389f0
-0, 385200, 518400, 0x18d0b3ba
-0, 388800, 518400, 0xbee957ea
-0, 392400, 518400, 0x34941f3e
-0, 396000, 518400, 0x850e0126
-0, 399600, 518400, 0xab992409
-0, 403200, 518400, 0xb7d8d01f
-0, 406800, 518400, 0xe602576c
-0, 410400, 518400, 0x22388048
-0, 414000, 518400, 0x81ab9f4a
-0, 417600, 518400, 0xc5977820
-0, 421200, 518400, 0xc43f98bd
-0, 424800, 518400, 0xfd5e6d12
-0, 428400, 518400, 0xb9f12c73
-0, 432000, 518400, 0x44be16b9
-0, 435600, 518400, 0x32f0d9b9
-0, 439200, 518400, 0x6e9c3113
-0, 442800, 518400, 0x00618755
-0, 446400, 518400, 0x080c9955
-0, 450000, 518400, 0xb21d6096
-0, 453600, 518400, 0x51502f54
-0, 457200, 518400, 0xf062e38b
-0, 460800, 518400, 0x66f05988
-0, 464400, 518400, 0x37d569f1
-0, 468000, 518400, 0xba78ae5e
-0, 471600, 518400, 0x634a2d25
-0, 475200, 518400, 0x283e5e4a
-0, 478800, 518400, 0x9344d41c
-0, 482400, 518400, 0x1fdb5c18
-0, 486000, 518400, 0xd8139683
-0, 489600, 518400, 0xd27f555e
-0, 493200, 518400, 0x34ed517f
-0, 496800, 518400, 0x1f55ad2d
-0, 500400, 518400, 0x9a8bd368
-0, 504000, 518400, 0x9726e3bf
-0, 507600, 518400, 0xaf8945ee
-0, 511200, 518400, 0x28c20699
-0, 514800, 518400, 0x43e180c9
-0, 518400, 518400, 0x0c88e592
-0, 522000, 518400, 0xdcb8825e
-0, 525600, 518400, 0x1ec09a5e
-0, 529200, 518400, 0x149768b2
-0, 532800, 518400, 0x1eeab153
-0, 536400, 518400, 0x25666d6f
-0, 540000, 518400, 0x691cad89
-0, 543600, 518400, 0x2d9f8ced
-0, 547200, 518400, 0xd80b768d
-0, 550800, 518400, 0xe4f23a79
-0, 554400, 518400, 0xd51d0150
-0, 558000, 518400, 0x060156f4
-0, 561600, 518400, 0x800720fb
-0, 565200, 518400, 0x2a433b28
-0, 568800, 518400, 0xffc79782
-0, 572400, 518400, 0x31ba693b
-0, 576000, 518400, 0xd13c8395
-0, 579600, 518400, 0x07d9f752
-0, 583200, 518400, 0xabb81043
-0, 586800, 518400, 0xba0ee926
-0, 590400, 518400, 0xa17e7ea9
-0, 594000, 518400, 0x9d709e52
-0, 597600, 518400, 0x7fa02633
-0, 601200, 518400, 0x5cdc5217
-0, 604800, 518400, 0x888be0b0
-0, 608400, 518400, 0xe1bac436
-0, 612000, 518400, 0xa479b1b8
-0, 615600, 518400, 0xb61feb17
-0, 619200, 518400, 0xa0745cd4
-0, 622800, 518400, 0x871cffe5
-0, 626400, 518400, 0x01f7deea
-0, 630000, 518400, 0xdaf6f9f5
-0, 633600, 518400, 0xfee4849c
-0, 637200, 518400, 0xc3b9b428
-0, 640800, 518400, 0x50b4b47f
-0, 644400, 518400, 0xe8e58b82
-0, 648000, 518400, 0x7c6f94e0
-0, 651600, 518400, 0x0cfe7c08
-0, 655200, 518400, 0xb2975466
-0, 658800, 518400, 0xa1245de1
-0, 662400, 518400, 0x46ae79b7
-0, 666000, 518400, 0x8344a9b2
-0, 669600, 518400, 0x1e805013
-0, 673200, 518400, 0x19b61baf
-0, 676800, 518400, 0xd018383b
-0, 680400, 518400, 0xc9248d31
-0, 684000, 518400, 0x838ad8ec
-0, 687600, 518400, 0xa848824a
-0, 691200, 518400, 0xc6a46ebd
-0, 694800, 518400, 0x2a7c489c
-0, 698400, 518400, 0xb1db6cef
-0, 702000, 518400, 0xd24a999f
-0, 705600, 518400, 0xce47efcd
-0, 709200, 518400, 0xf3e058cb
-0, 712800, 518400, 0x25d7f6e3
-0, 716400, 518400, 0xe3daa12d
-0, 720000, 518400, 0xb3de8475
-0, 723600, 518400, 0x13efffdc
-0, 727200, 518400, 0xfb37e048
-0, 730800, 518400, 0x599a6daf
-0, 734400, 518400, 0x84bf6814
-0, 738000, 518400, 0x83c03a3f
-0, 741600, 518400, 0x3a319ae9
-0, 745200, 518400, 0x0af252c3
-0, 748800, 518400, 0xeb8f2f43
-0, 752400, 518400, 0x3bdcd421
-0, 756000, 518400, 0x9107e0f2
-0, 759600, 518400, 0x5f4fe3cf
-0, 763200, 518400, 0x38f1e8ef
-0, 766800, 518400, 0xb0359a0b
-0, 770400, 518400, 0xdddd4645
-0, 774000, 518400, 0xe14ffb0b
-0, 777600, 518400, 0x34a31c96
-0, 781200, 518400, 0x1f4406de
-0, 784800, 518400, 0x042b82b6
-0, 788400, 518400, 0x6af16a4d
-0, 792000, 518400, 0x3cfba41a
-0, 795600, 518400, 0xa054b6e8
-0, 799200, 518400, 0x2d55721b
-0, 802800, 518400, 0x55391f75
-0, 806400, 518400, 0xc2d46fa6
-0, 810000, 518400, 0x3a2576d9
-0, 813600, 518400, 0xea9ea26d
-0, 817200, 518400, 0xe2ec8962
-0, 820800, 518400, 0x47568769
-0, 824400, 518400, 0xc55e0186
-0, 828000, 518400, 0x73a44453
-0, 831600, 518400, 0xe36b1c77
-0, 835200, 518400, 0x414db365
-0, 838800, 518400, 0xfb25f7f6
-0, 842400, 518400, 0x5b4847a7
-0, 846000, 518400, 0xe96babf4
-0, 849600, 518400, 0x15edbf63
-0, 853200, 518400, 0x08a984c6
-0, 856800, 518400, 0x47ec41af
-0, 860400, 518400, 0x1912eaca
-0, 864000, 518400, 0xe058b0cc
-0, 867600, 518400, 0x03e9660b
-0, 871200, 518400, 0x85fea285
-0, 874800, 518400, 0xdf02bdd6
-0, 878400, 518400, 0xad3e6849
-0, 882000, 518400, 0x0ad866b6
-0, 885600, 518400, 0x1b994f78
-0, 889200, 518400, 0xc5916af5
-0, 892800, 518400, 0x5f66adeb
-0, 896400, 518400, 0x1c9f96a1
-0, 900000, 518400, 0xfc390832
-0, 903600, 518400, 0x0352ff56
-0, 907200, 518400, 0x6803c8f4
-0, 910800, 518400, 0x0f0b8686
-0, 914400, 518400, 0xdc3a5bce
-0, 918000, 518400, 0x96dd28d1
-0, 921600, 518400, 0x51d56824
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0x230d7aa6
+0, 1, 1, 1, 518400, 0x9fc976e0
+0, 2, 2, 1, 518400, 0x51052db9
+0, 3, 3, 1, 518400, 0xad82d599
+0, 4, 4, 1, 518400, 0xa122c6a7
+0, 5, 5, 1, 518400, 0x0c3a81a0
+0, 6, 6, 1, 518400, 0x6235364e
+0, 7, 7, 1, 518400, 0x4d5104f8
+0, 8, 8, 1, 518400, 0x09cc49b1
+0, 9, 9, 1, 518400, 0xcdb05c19
+0, 10, 10, 1, 518400, 0x894be6de
+0, 11, 11, 1, 518400, 0x53a41fc3
+0, 12, 12, 1, 518400, 0x7568ccee
+0, 13, 13, 1, 518400, 0x2b5ae37b
+0, 14, 14, 1, 518400, 0xd0b994bb
+0, 15, 15, 1, 518400, 0x1b161358
+0, 16, 16, 1, 518400, 0xc5434edc
+0, 17, 17, 1, 518400, 0xc4709590
+0, 18, 18, 1, 518400, 0x60c6803a
+0, 19, 19, 1, 518400, 0xdff3edcd
+0, 20, 20, 1, 518400, 0x8a02b8b4
+0, 21, 21, 1, 518400, 0x478cf791
+0, 22, 22, 1, 518400, 0x7c42fed0
+0, 23, 23, 1, 518400, 0x12b1336d
+0, 24, 24, 1, 518400, 0xe16e765e
+0, 25, 25, 1, 518400, 0x002c291e
+0, 26, 26, 1, 518400, 0x50810b53
+0, 27, 27, 1, 518400, 0xda7e2453
+0, 28, 28, 1, 518400, 0x6e330093
+0, 29, 29, 1, 518400, 0xf30740b3
+0, 30, 30, 1, 518400, 0xc27ae19d
+0, 31, 31, 1, 518400, 0xe49da8c2
+0, 32, 32, 1, 518400, 0xa739372c
+0, 33, 33, 1, 518400, 0x4b44788c
+0, 34, 34, 1, 518400, 0xfdf9e6cf
+0, 35, 35, 1, 518400, 0xee205413
+0, 36, 36, 1, 518400, 0x8792dc0e
+0, 37, 37, 1, 518400, 0x6820d611
+0, 38, 38, 1, 518400, 0x106cbc2c
+0, 39, 39, 1, 518400, 0x7d8e3e92
+0, 40, 40, 1, 518400, 0xbfe48709
+0, 41, 41, 1, 518400, 0xc5d5a55d
+0, 42, 42, 1, 518400, 0x7c234886
+0, 43, 43, 1, 518400, 0x852372b0
+0, 44, 44, 1, 518400, 0x43d697f9
+0, 45, 45, 1, 518400, 0xc3460806
+0, 46, 46, 1, 518400, 0x0600abea
+0, 47, 47, 1, 518400, 0xf6e3ab0e
+0, 48, 48, 1, 518400, 0x651f9a46
+0, 49, 49, 1, 518400, 0xed467ba0
+0, 50, 50, 1, 518400, 0x62312c3f
+0, 51, 51, 1, 518400, 0xb121898d
+0, 52, 52, 1, 518400, 0xb1f96406
+0, 53, 53, 1, 518400, 0x78003318
+0, 54, 54, 1, 518400, 0x1032b15b
+0, 55, 55, 1, 518400, 0x72683d37
+0, 56, 56, 1, 518400, 0xd1349f12
+0, 57, 57, 1, 518400, 0x4162f707
+0, 58, 58, 1, 518400, 0x894711c9
+0, 59, 59, 1, 518400, 0xca37429b
+0, 60, 60, 1, 518400, 0xb8e91eb5
+0, 61, 61, 1, 518400, 0xe5eb3103
+0, 62, 62, 1, 518400, 0x56a33cea
+0, 63, 63, 1, 518400, 0x79ef0227
+0, 64, 64, 1, 518400, 0x7ceaab75
+0, 65, 65, 1, 518400, 0x3f4787b2
+0, 66, 66, 1, 518400, 0x9e6d2abb
+0, 67, 67, 1, 518400, 0xedb0cf82
+0, 68, 68, 1, 518400, 0x19c8723f
+0, 69, 69, 1, 518400, 0x35d8399b
+0, 70, 70, 1, 518400, 0xe0224dc8
+0, 71, 71, 1, 518400, 0xc95467bf
+0, 72, 72, 1, 518400, 0x99662844
+0, 73, 73, 1, 518400, 0x10a322c9
+0, 74, 74, 1, 518400, 0xe6313d98
+0, 75, 75, 1, 518400, 0x2e2a63d1
+0, 76, 76, 1, 518400, 0x2c9d0715
+0, 77, 77, 1, 518400, 0xf31d9e19
+0, 78, 78, 1, 518400, 0xcea1f9f8
+0, 79, 79, 1, 518400, 0xece1cd92
+0, 80, 80, 1, 518400, 0xa8d35347
+0, 81, 81, 1, 518400, 0xd8cd2228
+0, 82, 82, 1, 518400, 0xe040993a
+0, 83, 83, 1, 518400, 0xebc2b387
+0, 84, 84, 1, 518400, 0xc3e81e85
+0, 85, 85, 1, 518400, 0xcc507bc9
+0, 86, 86, 1, 518400, 0xb98c4902
+0, 87, 87, 1, 518400, 0x454a2a50
+0, 88, 88, 1, 518400, 0x1460c5dd
+0, 89, 89, 1, 518400, 0x37d7a99d
+0, 90, 90, 1, 518400, 0x1de7a047
+0, 91, 91, 1, 518400, 0xc7b83c21
+0, 92, 92, 1, 518400, 0xe06d1c9b
+0, 93, 93, 1, 518400, 0xfd8259b5
+0, 94, 94, 1, 518400, 0xc3df7e1a
+0, 95, 95, 1, 518400, 0x60c9ccec
+0, 96, 96, 1, 518400, 0x7d163c04
+0, 97, 97, 1, 518400, 0x8fc61e9d
+0, 98, 98, 1, 518400, 0xa5f520e6
+0, 99, 99, 1, 518400, 0x8d709ec1
+0, 100, 100, 1, 518400, 0xca2b6287
+0, 101, 101, 1, 518400, 0x8531bb18
+0, 102, 102, 1, 518400, 0x830f9187
+0, 103, 103, 1, 518400, 0x67c5d413
+0, 104, 104, 1, 518400, 0x428aeecd
+0, 105, 105, 1, 518400, 0xbf8e3448
+0, 106, 106, 1, 518400, 0x847389f0
+0, 107, 107, 1, 518400, 0x18d0b3ba
+0, 108, 108, 1, 518400, 0xbee957ea
+0, 109, 109, 1, 518400, 0x34941f3e
+0, 110, 110, 1, 518400, 0x850e0126
+0, 111, 111, 1, 518400, 0xab992409
+0, 112, 112, 1, 518400, 0xb7d8d01f
+0, 113, 113, 1, 518400, 0xe602576c
+0, 114, 114, 1, 518400, 0x22388048
+0, 115, 115, 1, 518400, 0x81ab9f4a
+0, 116, 116, 1, 518400, 0xc5977820
+0, 117, 117, 1, 518400, 0xc43f98bd
+0, 118, 118, 1, 518400, 0xfd5e6d12
+0, 119, 119, 1, 518400, 0xb9f12c73
+0, 120, 120, 1, 518400, 0x44be16b9
+0, 121, 121, 1, 518400, 0x32f0d9b9
+0, 122, 122, 1, 518400, 0x6e9c3113
+0, 123, 123, 1, 518400, 0x00618755
+0, 124, 124, 1, 518400, 0x080c9955
+0, 125, 125, 1, 518400, 0xb21d6096
+0, 126, 126, 1, 518400, 0x51502f54
+0, 127, 127, 1, 518400, 0xf062e38b
+0, 128, 128, 1, 518400, 0x66f05988
+0, 129, 129, 1, 518400, 0x37d569f1
+0, 130, 130, 1, 518400, 0xba78ae5e
+0, 131, 131, 1, 518400, 0x634a2d25
+0, 132, 132, 1, 518400, 0x283e5e4a
+0, 133, 133, 1, 518400, 0x9344d41c
+0, 134, 134, 1, 518400, 0x1fdb5c18
+0, 135, 135, 1, 518400, 0xd8139683
+0, 136, 136, 1, 518400, 0xd27f555e
+0, 137, 137, 1, 518400, 0x34ed517f
+0, 138, 138, 1, 518400, 0x1f55ad2d
+0, 139, 139, 1, 518400, 0x9a8bd368
+0, 140, 140, 1, 518400, 0x9726e3bf
+0, 141, 141, 1, 518400, 0xaf8945ee
+0, 142, 142, 1, 518400, 0x28c20699
+0, 143, 143, 1, 518400, 0x43e180c9
+0, 144, 144, 1, 518400, 0x0c88e592
+0, 145, 145, 1, 518400, 0xdcb8825e
+0, 146, 146, 1, 518400, 0x1ec09a5e
+0, 147, 147, 1, 518400, 0x149768b2
+0, 148, 148, 1, 518400, 0x1eeab153
+0, 149, 149, 1, 518400, 0x25666d6f
+0, 150, 150, 1, 518400, 0x691cad89
+0, 151, 151, 1, 518400, 0x2d9f8ced
+0, 152, 152, 1, 518400, 0xd80b768d
+0, 153, 153, 1, 518400, 0xe4f23a79
+0, 154, 154, 1, 518400, 0xd51d0150
+0, 155, 155, 1, 518400, 0x060156f4
+0, 156, 156, 1, 518400, 0x800720fb
+0, 157, 157, 1, 518400, 0x2a433b28
+0, 158, 158, 1, 518400, 0xffc79782
+0, 159, 159, 1, 518400, 0x31ba693b
+0, 160, 160, 1, 518400, 0xd13c8395
+0, 161, 161, 1, 518400, 0x07d9f752
+0, 162, 162, 1, 518400, 0xabb81043
+0, 163, 163, 1, 518400, 0xba0ee926
+0, 164, 164, 1, 518400, 0xa17e7ea9
+0, 165, 165, 1, 518400, 0x9d709e52
+0, 166, 166, 1, 518400, 0x7fa02633
+0, 167, 167, 1, 518400, 0x5cdc5217
+0, 168, 168, 1, 518400, 0x888be0b0
+0, 169, 169, 1, 518400, 0xe1bac436
+0, 170, 170, 1, 518400, 0xa479b1b8
+0, 171, 171, 1, 518400, 0xb61feb17
+0, 172, 172, 1, 518400, 0xa0745cd4
+0, 173, 173, 1, 518400, 0x871cffe5
+0, 174, 174, 1, 518400, 0x01f7deea
+0, 175, 175, 1, 518400, 0xdaf6f9f5
+0, 176, 176, 1, 518400, 0xfee4849c
+0, 177, 177, 1, 518400, 0xc3b9b428
+0, 178, 178, 1, 518400, 0x50b4b47f
+0, 179, 179, 1, 518400, 0xe8e58b82
+0, 180, 180, 1, 518400, 0x7c6f94e0
+0, 181, 181, 1, 518400, 0x0cfe7c08
+0, 182, 182, 1, 518400, 0xb2975466
+0, 183, 183, 1, 518400, 0xa1245de1
+0, 184, 184, 1, 518400, 0x46ae79b7
+0, 185, 185, 1, 518400, 0x8344a9b2
+0, 186, 186, 1, 518400, 0x1e805013
+0, 187, 187, 1, 518400, 0x19b61baf
+0, 188, 188, 1, 518400, 0xd018383b
+0, 189, 189, 1, 518400, 0xc9248d31
+0, 190, 190, 1, 518400, 0x838ad8ec
+0, 191, 191, 1, 518400, 0xa848824a
+0, 192, 192, 1, 518400, 0xc6a46ebd
+0, 193, 193, 1, 518400, 0x2a7c489c
+0, 194, 194, 1, 518400, 0xb1db6cef
+0, 195, 195, 1, 518400, 0xd24a999f
+0, 196, 196, 1, 518400, 0xce47efcd
+0, 197, 197, 1, 518400, 0xf3e058cb
+0, 198, 198, 1, 518400, 0x25d7f6e3
+0, 199, 199, 1, 518400, 0xe3daa12d
+0, 200, 200, 1, 518400, 0xb3de8475
+0, 201, 201, 1, 518400, 0x13efffdc
+0, 202, 202, 1, 518400, 0xfb37e048
+0, 203, 203, 1, 518400, 0x599a6daf
+0, 204, 204, 1, 518400, 0x84bf6814
+0, 205, 205, 1, 518400, 0x83c03a3f
+0, 206, 206, 1, 518400, 0x3a319ae9
+0, 207, 207, 1, 518400, 0x0af252c3
+0, 208, 208, 1, 518400, 0xeb8f2f43
+0, 209, 209, 1, 518400, 0x3bdcd421
+0, 210, 210, 1, 518400, 0x9107e0f2
+0, 211, 211, 1, 518400, 0x5f4fe3cf
+0, 212, 212, 1, 518400, 0x38f1e8ef
+0, 213, 213, 1, 518400, 0xb0359a0b
+0, 214, 214, 1, 518400, 0xdddd4645
+0, 215, 215, 1, 518400, 0xe14ffb0b
+0, 216, 216, 1, 518400, 0x34a31c96
+0, 217, 217, 1, 518400, 0x1f4406de
+0, 218, 218, 1, 518400, 0x042b82b6
+0, 219, 219, 1, 518400, 0x6af16a4d
+0, 220, 220, 1, 518400, 0x3cfba41a
+0, 221, 221, 1, 518400, 0xa054b6e8
+0, 222, 222, 1, 518400, 0x2d55721b
+0, 223, 223, 1, 518400, 0x55391f75
+0, 224, 224, 1, 518400, 0xc2d46fa6
+0, 225, 225, 1, 518400, 0x3a2576d9
+0, 226, 226, 1, 518400, 0xea9ea26d
+0, 227, 227, 1, 518400, 0xe2ec8962
+0, 228, 228, 1, 518400, 0x47568769
+0, 229, 229, 1, 518400, 0xc55e0186
+0, 230, 230, 1, 518400, 0x73a44453
+0, 231, 231, 1, 518400, 0xe36b1c77
+0, 232, 232, 1, 518400, 0x414db365
+0, 233, 233, 1, 518400, 0xfb25f7f6
+0, 234, 234, 1, 518400, 0x5b4847a7
+0, 235, 235, 1, 518400, 0xe96babf4
+0, 236, 236, 1, 518400, 0x15edbf63
+0, 237, 237, 1, 518400, 0x08a984c6
+0, 238, 238, 1, 518400, 0x47ec41af
+0, 239, 239, 1, 518400, 0x1912eaca
+0, 240, 240, 1, 518400, 0xe058b0cc
+0, 241, 241, 1, 518400, 0x03e9660b
+0, 242, 242, 1, 518400, 0x85fea285
+0, 243, 243, 1, 518400, 0xdf02bdd6
+0, 244, 244, 1, 518400, 0xad3e6849
+0, 245, 245, 1, 518400, 0x0ad866b6
+0, 246, 246, 1, 518400, 0x1b994f78
+0, 247, 247, 1, 518400, 0xc5916af5
+0, 248, 248, 1, 518400, 0x5f66adeb
+0, 249, 249, 1, 518400, 0x1c9f96a1
+0, 250, 250, 1, 518400, 0xfc390832
+0, 251, 251, 1, 518400, 0x0352ff56
+0, 252, 252, 1, 518400, 0x6803c8f4
+0, 253, 253, 1, 518400, 0x0f0b8686
+0, 254, 254, 1, 518400, 0xdc3a5bce
+0, 255, 255, 1, 518400, 0x96dd28d1
+0, 256, 256, 1, 518400, 0x51d56824
diff --git a/tests/ref/fate/h264-conformance-nl1_sony_d b/tests/ref/fate/h264-conformance-nl1_sony_d
index 5528f9ec23..98a56737bc 100644
--- a/tests/ref/fate/h264-conformance-nl1_sony_d
+++ b/tests/ref/fate/h264-conformance-nl1_sony_d
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xc805351d
-0, 3600, 38016, 0x3809fec3
-0, 7200, 38016, 0xf698ce3c
-0, 10800, 38016, 0x7e3da603
-0, 14400, 38016, 0x68b07d81
-0, 18000, 38016, 0xd91f717a
-0, 21600, 38016, 0x48885dd6
-0, 25200, 38016, 0x27e64e8e
-0, 28800, 38016, 0x955835ce
-0, 32400, 38016, 0xf19940a0
-0, 36000, 38016, 0x9a1c51e4
-0, 39600, 38016, 0xf59373af
-0, 43200, 38016, 0x5d6c7d06
-0, 46800, 38016, 0x32fca533
-0, 50400, 38016, 0x37e69987
-0, 54000, 38016, 0x96929e05
-0, 57600, 38016, 0xee37a1f9
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc805351d
+0, 1, 1, 1, 38016, 0x3809fec3
+0, 2, 2, 1, 38016, 0xf698ce3c
+0, 3, 3, 1, 38016, 0x7e3da603
+0, 4, 4, 1, 38016, 0x68b07d81
+0, 5, 5, 1, 38016, 0xd91f717a
+0, 6, 6, 1, 38016, 0x48885dd6
+0, 7, 7, 1, 38016, 0x27e64e8e
+0, 8, 8, 1, 38016, 0x955835ce
+0, 9, 9, 1, 38016, 0xf19940a0
+0, 10, 10, 1, 38016, 0x9a1c51e4
+0, 11, 11, 1, 38016, 0xf59373af
+0, 12, 12, 1, 38016, 0x5d6c7d06
+0, 13, 13, 1, 38016, 0x32fca533
+0, 14, 14, 1, 38016, 0x37e69987
+0, 15, 15, 1, 38016, 0x96929e05
+0, 16, 16, 1, 38016, 0xee37a1f9
diff --git a/tests/ref/fate/h264-conformance-nl2_sony_h b/tests/ref/fate/h264-conformance-nl2_sony_h
index 41d811fe8d..73eb8581ea 100644
--- a/tests/ref/fate/h264-conformance-nl2_sony_h
+++ b/tests/ref/fate/h264-conformance-nl2_sony_h
@@ -1,300 +1,301 @@
-0, 0, 38016, 0xc805351d
-0, 3600, 38016, 0x320510a8
-0, 7200, 38016, 0x3ef6e4c6
-0, 10800, 38016, 0x3b94c5e0
-0, 14400, 38016, 0x4be4a689
-0, 18000, 38016, 0x70919210
-0, 21600, 38016, 0x78a07b5a
-0, 25200, 38016, 0x8bd86efc
-0, 28800, 38016, 0xe3976cab
-0, 32400, 38016, 0x77fa735e
-0, 36000, 38016, 0x62488adb
-0, 39600, 38016, 0x5b07a6a4
-0, 43200, 38016, 0x7058b15f
-0, 46800, 38016, 0xa22dc9e2
-0, 50400, 38016, 0xc9d5cae3
-0, 54000, 38016, 0x16cbd6e1
-0, 57600, 38016, 0x4b23d9e9
-0, 61200, 38016, 0x96f7d798
-0, 64800, 38016, 0xdbcdcfdd
-0, 68400, 38016, 0x9314b847
-0, 72000, 38016, 0x0a209c28
-0, 75600, 38016, 0x6c757322
-0, 79200, 38016, 0x3d1a6376
-0, 82800, 38016, 0x155f5df7
-0, 86400, 38016, 0xd4446441
-0, 90000, 38016, 0xe1006713
-0, 93600, 38016, 0x5d226a3e
-0, 97200, 38016, 0xe839790c
-0, 100800, 38016, 0xa28c8b9a
-0, 104400, 38016, 0xde469f7a
-0, 108000, 38016, 0xf800b7ad
-0, 111600, 38016, 0xf2f9ccac
-0, 115200, 38016, 0x60feeb52
-0, 118800, 38016, 0xad39fd4f
-0, 122400, 38016, 0x4075fce6
-0, 126000, 38016, 0x5f2f036e
-0, 129600, 38016, 0x3e180450
-0, 133200, 38016, 0xd806fc04
-0, 136800, 38016, 0x3f15fbc6
-0, 140400, 38016, 0xb881faa4
-0, 144000, 38016, 0xf1cafdc8
-0, 147600, 38016, 0xd881f881
-0, 151200, 38016, 0x6314fdc8
-0, 154800, 38016, 0x8fa6f0d3
-0, 158400, 38016, 0x90d0f40d
-0, 162000, 38016, 0x1d30ee93
-0, 165600, 38016, 0x87f6ecca
-0, 169200, 38016, 0xca9ae712
-0, 172800, 38016, 0x02c6eb47
-0, 176400, 38016, 0xc263f492
-0, 180000, 38016, 0x717def51
-0, 183600, 38016, 0x0d3af240
-0, 187200, 38016, 0xc232ea7d
-0, 190800, 38016, 0x3c41f195
-0, 194400, 38016, 0x5d77f7fb
-0, 198000, 38016, 0x2901fb90
-0, 201600, 38016, 0x3b35033e
-0, 205200, 38016, 0xca4d034f
-0, 208800, 38016, 0x1e730e22
-0, 212400, 38016, 0x69b60d52
-0, 216000, 38016, 0xe50107bc
-0, 219600, 38016, 0x44b6f25f
-0, 223200, 38016, 0x222ebc66
-0, 226800, 38016, 0x165b7bca
-0, 230400, 38016, 0x12a37e44
-0, 234000, 38016, 0xcce9a1dc
-0, 237600, 38016, 0x273dd1a9
-0, 241200, 38016, 0x72b00e90
-0, 244800, 38016, 0x449a4fa6
-0, 248400, 38016, 0x203d8582
-0, 252000, 38016, 0x3fa7aaeb
-0, 255600, 38016, 0x0b47d491
-0, 259200, 38016, 0x1fa70639
-0, 262800, 38016, 0xf9fe391e
-0, 266400, 38016, 0x91c6786c
-0, 270000, 38016, 0x7ab99bb2
-0, 273600, 38016, 0x73f2c0f5
-0, 277200, 38016, 0xcffad748
-0, 280800, 38016, 0xe2b0ee34
-0, 284400, 38016, 0x6025f6d6
-0, 288000, 38016, 0xd722017c
-0, 291600, 38016, 0x321f0c24
-0, 295200, 38016, 0x336f0e81
-0, 298800, 38016, 0x783a012f
-0, 302400, 38016, 0x134cf484
-0, 306000, 38016, 0xec4bf2db
-0, 309600, 38016, 0xb481012e
-0, 313200, 38016, 0x76ff026c
-0, 316800, 38016, 0xaf3b102a
-0, 320400, 38016, 0x2eaf0bd6
-0, 324000, 38016, 0x39b8f833
-0, 327600, 38016, 0xe928d7ea
-0, 331200, 38016, 0xbe7ac2f8
-0, 334800, 38016, 0x3683b5c4
-0, 338400, 38016, 0xb3559d1c
-0, 342000, 38016, 0x73fb9f71
-0, 345600, 38016, 0x3e97b5aa
-0, 349200, 38016, 0x0c9dc525
-0, 352800, 38016, 0xecead941
-0, 356400, 38016, 0x4999e247
-0, 360000, 38016, 0x11ddea7c
-0, 363600, 38016, 0x4882cf24
-0, 367200, 38016, 0xae9ac0c6
-0, 370800, 38016, 0x4f88b589
-0, 374400, 38016, 0xc677d43f
-0, 378000, 38016, 0x5f46f219
-0, 381600, 38016, 0x5c1ffa13
-0, 385200, 38016, 0x162e11a3
-0, 388800, 38016, 0xd0b631d4
-0, 392400, 38016, 0x7133441a
-0, 396000, 38016, 0xbb085604
-0, 399600, 38016, 0x54a960d2
-0, 403200, 38016, 0xc0b468e7
-0, 406800, 38016, 0xe1ef485a
-0, 410400, 38016, 0x025f27e6
-0, 414000, 38016, 0x14da215e
-0, 417600, 38016, 0xe8f2394a
-0, 421200, 38016, 0x7c7a44e8
-0, 424800, 38016, 0xdb2e54c3
-0, 428400, 38016, 0xae5c5eee
-0, 432000, 38016, 0x74ae643f
-0, 435600, 38016, 0x70146b61
-0, 439200, 38016, 0x545c5265
-0, 442800, 38016, 0xe5a92556
-0, 446400, 38016, 0xf19e04e8
-0, 450000, 38016, 0xda51e574
-0, 453600, 38016, 0x4c17ded9
-0, 457200, 38016, 0x51fce958
-0, 460800, 38016, 0xae96fd16
-0, 464400, 38016, 0x7a610e32
-0, 468000, 38016, 0x06f31a06
-0, 471600, 38016, 0x658a1998
-0, 475200, 38016, 0xda370e80
-0, 478800, 38016, 0xe7a00dca
-0, 482400, 38016, 0xb07a0810
-0, 486000, 38016, 0x193c01a3
-0, 489600, 38016, 0xa700fd8f
-0, 493200, 38016, 0x8c14ed46
-0, 496800, 38016, 0xcd81dc72
-0, 500400, 38016, 0x67acd3bb
-0, 504000, 38016, 0x662cc586
-0, 507600, 38016, 0xa09ac106
-0, 511200, 38016, 0xf1abab73
-0, 514800, 38016, 0xfd9ba674
-0, 518400, 38016, 0x7686ae41
-0, 522000, 38016, 0x7185a2e9
-0, 525600, 38016, 0x2b5898da
-0, 529200, 38016, 0x3cdd6c42
-0, 532800, 38016, 0x0299414d
-0, 536400, 38016, 0x2b851a52
-0, 540000, 38016, 0x01c8ff7b
-0, 543600, 38016, 0x55d3f715
-0, 547200, 38016, 0xbe5ff38e
-0, 550800, 38016, 0xc31fe232
-0, 554400, 38016, 0x3201dc26
-0, 558000, 38016, 0xf8feed84
-0, 561600, 38016, 0x0a471009
-0, 565200, 38016, 0xef0d351d
-0, 568800, 38016, 0x79de6f09
-0, 572400, 38016, 0xa5039be4
-0, 576000, 38016, 0x4e1cafa6
-0, 579600, 38016, 0x2a71aea1
-0, 583200, 38016, 0xa99e9d08
-0, 586800, 38016, 0x80aa8a6a
-0, 590400, 38016, 0x9f287bb9
-0, 594000, 38016, 0x2ddc5ef7
-0, 597600, 38016, 0x31843470
-0, 601200, 38016, 0x08f3074e
-0, 604800, 38016, 0xa639e58d
-0, 608400, 38016, 0xcf31d61f
-0, 612000, 38016, 0x1ac7e986
-0, 615600, 38016, 0x9bbbfe98
-0, 619200, 38016, 0x3e0d0ce1
-0, 622800, 38016, 0x53240e4c
-0, 626400, 38016, 0xda6bf0d5
-0, 630000, 38016, 0x1701c355
-0, 633600, 38016, 0x572c8b1d
-0, 637200, 38016, 0x1f4f5a14
-0, 640800, 38016, 0x0fea3e61
-0, 644400, 38016, 0xa71c29ed
-0, 648000, 38016, 0xd3b218fb
-0, 651600, 38016, 0x228e05f8
-0, 655200, 38016, 0x4b8bfa9e
-0, 658800, 38016, 0x13d505ab
-0, 662400, 38016, 0xa58808b3
-0, 666000, 38016, 0x4b2a1329
-0, 669600, 38016, 0x13c63567
-0, 673200, 38016, 0x4ece56f8
-0, 676800, 38016, 0x934f67c3
-0, 680400, 38016, 0x2b606f56
-0, 684000, 38016, 0xba481841
-0, 687600, 38016, 0x1488ea11
-0, 691200, 38016, 0x066cefeb
-0, 694800, 38016, 0xb23105b7
-0, 698400, 38016, 0x64312267
-0, 702000, 38016, 0xd0cf6a37
-0, 705600, 38016, 0xb5a482c5
-0, 709200, 38016, 0x61289957
-0, 712800, 38016, 0x26a6ba47
-0, 716400, 38016, 0xb771d25e
-0, 720000, 38016, 0xedb5de8d
-0, 723600, 38016, 0x4fd2e829
-0, 727200, 38016, 0xbef3ef1f
-0, 730800, 38016, 0x5e0ef333
-0, 734400, 38016, 0x5081f460
-0, 738000, 38016, 0x6798fe84
-0, 741600, 38016, 0x28ce0078
-0, 745200, 38016, 0x9fb4f6a1
-0, 748800, 38016, 0x0a02e822
-0, 752400, 38016, 0x5615d41e
-0, 756000, 38016, 0x1a3bc214
-0, 759600, 38016, 0x5333b48a
-0, 763200, 38016, 0x646da3c9
-0, 766800, 38016, 0x024fa1b1
-0, 770400, 38016, 0x7b4892de
-0, 774000, 38016, 0x10ab8953
-0, 777600, 38016, 0x8aa28410
-0, 781200, 38016, 0xcbd185be
-0, 784800, 38016, 0xfa49818a
-0, 788400, 38016, 0x0f7a82d5
-0, 792000, 38016, 0xb86f716d
-0, 795600, 38016, 0xd22a6050
-0, 799200, 38016, 0x89a4520e
-0, 802800, 38016, 0x8a1147cf
-0, 806400, 38016, 0xa02a4196
-0, 810000, 38016, 0xece240f7
-0, 813600, 38016, 0xa5b940ff
-0, 817200, 38016, 0x9b274ce8
-0, 820800, 38016, 0xba0b68c7
-0, 824400, 38016, 0x39f28a91
-0, 828000, 38016, 0xc070af11
-0, 831600, 38016, 0x2a26d309
-0, 835200, 38016, 0xfa9afe77
-0, 838800, 38016, 0xe2f22ebf
-0, 842400, 38016, 0xf8ee4a45
-0, 846000, 38016, 0x14186047
-0, 849600, 38016, 0xe3407152
-0, 853200, 38016, 0xcef578b8
-0, 856800, 38016, 0x3fc06964
-0, 860400, 38016, 0xa7da3ade
-0, 864000, 38016, 0xa46d1b2b
-0, 867600, 38016, 0x14abfac5
-0, 871200, 38016, 0xbffbf269
-0, 874800, 38016, 0x1d9c3ade
-0, 878400, 38016, 0xc9c39c46
-0, 882000, 38016, 0x824afa80
-0, 885600, 38016, 0xc76611b8
-0, 889200, 38016, 0x31fce0d6
-0, 892800, 38016, 0x6740a03f
-0, 896400, 38016, 0x91d63134
-0, 900000, 38016, 0xb0f6cc86
-0, 903600, 38016, 0x3d878a14
-0, 907200, 38016, 0x1d008063
-0, 910800, 38016, 0xe47cd260
-0, 914400, 38016, 0x56503400
-0, 918000, 38016, 0xb201dc61
-0, 921600, 38016, 0xba42de1b
-0, 925200, 38016, 0x9c115ccb
-0, 928800, 38016, 0xe9be47d9
-0, 932400, 38016, 0xa7684b02
-0, 936000, 38016, 0xb4d74f42
-0, 939600, 38016, 0xbe006415
-0, 943200, 38016, 0xa30c7858
-0, 946800, 38016, 0x838f7f47
-0, 950400, 38016, 0xc1c28346
-0, 954000, 38016, 0xc7737219
-0, 957600, 38016, 0xa19a5fd5
-0, 961200, 38016, 0x56a64b00
-0, 964800, 38016, 0x6b672497
-0, 968400, 38016, 0x4cfafbe2
-0, 972000, 38016, 0xbe53d51b
-0, 975600, 38016, 0x4a86acc7
-0, 979200, 38016, 0x297288b0
-0, 982800, 38016, 0xd4bd2ec9
-0, 986400, 38016, 0x3697e2f6
-0, 990000, 38016, 0xa493d289
-0, 993600, 38016, 0xb2b9e324
-0, 997200, 38016, 0x998de275
-0, 1000800, 38016, 0x422a10cb
-0, 1004400, 38016, 0x845383b4
-0, 1008000, 38016, 0xb4a72107
-0, 1011600, 38016, 0x0e0eef6b
-0, 1015200, 38016, 0xbd8bbd01
-0, 1018800, 38016, 0x2f217c45
-0, 1022400, 38016, 0xb3515be7
-0, 1026000, 38016, 0xb633a542
-0, 1029600, 38016, 0x7e7a7086
-0, 1033200, 38016, 0xef64a834
-0, 1036800, 38016, 0x7b81bdad
-0, 1040400, 38016, 0x0fc7a7d2
-0, 1044000, 38016, 0x9111351d
-0, 1047600, 38016, 0x161c43dc
-0, 1051200, 38016, 0x945fce2a
-0, 1054800, 38016, 0x48780c38
-0, 1058400, 38016, 0x28904d31
-0, 1062000, 38016, 0x140d47d5
-0, 1065600, 38016, 0x1f5e257c
-0, 1069200, 38016, 0xb36a159c
-0, 1072800, 38016, 0x85ad2465
-0, 1076400, 38016, 0x973649e0
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xc805351d
+0, 1, 1, 1, 38016, 0x320510a8
+0, 2, 2, 1, 38016, 0x3ef6e4c6
+0, 3, 3, 1, 38016, 0x3b94c5e0
+0, 4, 4, 1, 38016, 0x4be4a689
+0, 5, 5, 1, 38016, 0x70919210
+0, 6, 6, 1, 38016, 0x78a07b5a
+0, 7, 7, 1, 38016, 0x8bd86efc
+0, 8, 8, 1, 38016, 0xe3976cab
+0, 9, 9, 1, 38016, 0x77fa735e
+0, 10, 10, 1, 38016, 0x62488adb
+0, 11, 11, 1, 38016, 0x5b07a6a4
+0, 12, 12, 1, 38016, 0x7058b15f
+0, 13, 13, 1, 38016, 0xa22dc9e2
+0, 14, 14, 1, 38016, 0xc9d5cae3
+0, 15, 15, 1, 38016, 0x16cbd6e1
+0, 16, 16, 1, 38016, 0x4b23d9e9
+0, 17, 17, 1, 38016, 0x96f7d798
+0, 18, 18, 1, 38016, 0xdbcdcfdd
+0, 19, 19, 1, 38016, 0x9314b847
+0, 20, 20, 1, 38016, 0x0a209c28
+0, 21, 21, 1, 38016, 0x6c757322
+0, 22, 22, 1, 38016, 0x3d1a6376
+0, 23, 23, 1, 38016, 0x155f5df7
+0, 24, 24, 1, 38016, 0xd4446441
+0, 25, 25, 1, 38016, 0xe1006713
+0, 26, 26, 1, 38016, 0x5d226a3e
+0, 27, 27, 1, 38016, 0xe839790c
+0, 28, 28, 1, 38016, 0xa28c8b9a
+0, 29, 29, 1, 38016, 0xde469f7a
+0, 30, 30, 1, 38016, 0xf800b7ad
+0, 31, 31, 1, 38016, 0xf2f9ccac
+0, 32, 32, 1, 38016, 0x60feeb52
+0, 33, 33, 1, 38016, 0xad39fd4f
+0, 34, 34, 1, 38016, 0x4075fce6
+0, 35, 35, 1, 38016, 0x5f2f036e
+0, 36, 36, 1, 38016, 0x3e180450
+0, 37, 37, 1, 38016, 0xd806fc04
+0, 38, 38, 1, 38016, 0x3f15fbc6
+0, 39, 39, 1, 38016, 0xb881faa4
+0, 40, 40, 1, 38016, 0xf1cafdc8
+0, 41, 41, 1, 38016, 0xd881f881
+0, 42, 42, 1, 38016, 0x6314fdc8
+0, 43, 43, 1, 38016, 0x8fa6f0d3
+0, 44, 44, 1, 38016, 0x90d0f40d
+0, 45, 45, 1, 38016, 0x1d30ee93
+0, 46, 46, 1, 38016, 0x87f6ecca
+0, 47, 47, 1, 38016, 0xca9ae712
+0, 48, 48, 1, 38016, 0x02c6eb47
+0, 49, 49, 1, 38016, 0xc263f492
+0, 50, 50, 1, 38016, 0x717def51
+0, 51, 51, 1, 38016, 0x0d3af240
+0, 52, 52, 1, 38016, 0xc232ea7d
+0, 53, 53, 1, 38016, 0x3c41f195
+0, 54, 54, 1, 38016, 0x5d77f7fb
+0, 55, 55, 1, 38016, 0x2901fb90
+0, 56, 56, 1, 38016, 0x3b35033e
+0, 57, 57, 1, 38016, 0xca4d034f
+0, 58, 58, 1, 38016, 0x1e730e22
+0, 59, 59, 1, 38016, 0x69b60d52
+0, 60, 60, 1, 38016, 0xe50107bc
+0, 61, 61, 1, 38016, 0x44b6f25f
+0, 62, 62, 1, 38016, 0x222ebc66
+0, 63, 63, 1, 38016, 0x165b7bca
+0, 64, 64, 1, 38016, 0x12a37e44
+0, 65, 65, 1, 38016, 0xcce9a1dc
+0, 66, 66, 1, 38016, 0x273dd1a9
+0, 67, 67, 1, 38016, 0x72b00e90
+0, 68, 68, 1, 38016, 0x449a4fa6
+0, 69, 69, 1, 38016, 0x203d8582
+0, 70, 70, 1, 38016, 0x3fa7aaeb
+0, 71, 71, 1, 38016, 0x0b47d491
+0, 72, 72, 1, 38016, 0x1fa70639
+0, 73, 73, 1, 38016, 0xf9fe391e
+0, 74, 74, 1, 38016, 0x91c6786c
+0, 75, 75, 1, 38016, 0x7ab99bb2
+0, 76, 76, 1, 38016, 0x73f2c0f5
+0, 77, 77, 1, 38016, 0xcffad748
+0, 78, 78, 1, 38016, 0xe2b0ee34
+0, 79, 79, 1, 38016, 0x6025f6d6
+0, 80, 80, 1, 38016, 0xd722017c
+0, 81, 81, 1, 38016, 0x321f0c24
+0, 82, 82, 1, 38016, 0x336f0e81
+0, 83, 83, 1, 38016, 0x783a012f
+0, 84, 84, 1, 38016, 0x134cf484
+0, 85, 85, 1, 38016, 0xec4bf2db
+0, 86, 86, 1, 38016, 0xb481012e
+0, 87, 87, 1, 38016, 0x76ff026c
+0, 88, 88, 1, 38016, 0xaf3b102a
+0, 89, 89, 1, 38016, 0x2eaf0bd6
+0, 90, 90, 1, 38016, 0x39b8f833
+0, 91, 91, 1, 38016, 0xe928d7ea
+0, 92, 92, 1, 38016, 0xbe7ac2f8
+0, 93, 93, 1, 38016, 0x3683b5c4
+0, 94, 94, 1, 38016, 0xb3559d1c
+0, 95, 95, 1, 38016, 0x73fb9f71
+0, 96, 96, 1, 38016, 0x3e97b5aa
+0, 97, 97, 1, 38016, 0x0c9dc525
+0, 98, 98, 1, 38016, 0xecead941
+0, 99, 99, 1, 38016, 0x4999e247
+0, 100, 100, 1, 38016, 0x11ddea7c
+0, 101, 101, 1, 38016, 0x4882cf24
+0, 102, 102, 1, 38016, 0xae9ac0c6
+0, 103, 103, 1, 38016, 0x4f88b589
+0, 104, 104, 1, 38016, 0xc677d43f
+0, 105, 105, 1, 38016, 0x5f46f219
+0, 106, 106, 1, 38016, 0x5c1ffa13
+0, 107, 107, 1, 38016, 0x162e11a3
+0, 108, 108, 1, 38016, 0xd0b631d4
+0, 109, 109, 1, 38016, 0x7133441a
+0, 110, 110, 1, 38016, 0xbb085604
+0, 111, 111, 1, 38016, 0x54a960d2
+0, 112, 112, 1, 38016, 0xc0b468e7
+0, 113, 113, 1, 38016, 0xe1ef485a
+0, 114, 114, 1, 38016, 0x025f27e6
+0, 115, 115, 1, 38016, 0x14da215e
+0, 116, 116, 1, 38016, 0xe8f2394a
+0, 117, 117, 1, 38016, 0x7c7a44e8
+0, 118, 118, 1, 38016, 0xdb2e54c3
+0, 119, 119, 1, 38016, 0xae5c5eee
+0, 120, 120, 1, 38016, 0x74ae643f
+0, 121, 121, 1, 38016, 0x70146b61
+0, 122, 122, 1, 38016, 0x545c5265
+0, 123, 123, 1, 38016, 0xe5a92556
+0, 124, 124, 1, 38016, 0xf19e04e8
+0, 125, 125, 1, 38016, 0xda51e574
+0, 126, 126, 1, 38016, 0x4c17ded9
+0, 127, 127, 1, 38016, 0x51fce958
+0, 128, 128, 1, 38016, 0xae96fd16
+0, 129, 129, 1, 38016, 0x7a610e32
+0, 130, 130, 1, 38016, 0x06f31a06
+0, 131, 131, 1, 38016, 0x658a1998
+0, 132, 132, 1, 38016, 0xda370e80
+0, 133, 133, 1, 38016, 0xe7a00dca
+0, 134, 134, 1, 38016, 0xb07a0810
+0, 135, 135, 1, 38016, 0x193c01a3
+0, 136, 136, 1, 38016, 0xa700fd8f
+0, 137, 137, 1, 38016, 0x8c14ed46
+0, 138, 138, 1, 38016, 0xcd81dc72
+0, 139, 139, 1, 38016, 0x67acd3bb
+0, 140, 140, 1, 38016, 0x662cc586
+0, 141, 141, 1, 38016, 0xa09ac106
+0, 142, 142, 1, 38016, 0xf1abab73
+0, 143, 143, 1, 38016, 0xfd9ba674
+0, 144, 144, 1, 38016, 0x7686ae41
+0, 145, 145, 1, 38016, 0x7185a2e9
+0, 146, 146, 1, 38016, 0x2b5898da
+0, 147, 147, 1, 38016, 0x3cdd6c42
+0, 148, 148, 1, 38016, 0x0299414d
+0, 149, 149, 1, 38016, 0x2b851a52
+0, 150, 150, 1, 38016, 0x01c8ff7b
+0, 151, 151, 1, 38016, 0x55d3f715
+0, 152, 152, 1, 38016, 0xbe5ff38e
+0, 153, 153, 1, 38016, 0xc31fe232
+0, 154, 154, 1, 38016, 0x3201dc26
+0, 155, 155, 1, 38016, 0xf8feed84
+0, 156, 156, 1, 38016, 0x0a471009
+0, 157, 157, 1, 38016, 0xef0d351d
+0, 158, 158, 1, 38016, 0x79de6f09
+0, 159, 159, 1, 38016, 0xa5039be4
+0, 160, 160, 1, 38016, 0x4e1cafa6
+0, 161, 161, 1, 38016, 0x2a71aea1
+0, 162, 162, 1, 38016, 0xa99e9d08
+0, 163, 163, 1, 38016, 0x80aa8a6a
+0, 164, 164, 1, 38016, 0x9f287bb9
+0, 165, 165, 1, 38016, 0x2ddc5ef7
+0, 166, 166, 1, 38016, 0x31843470
+0, 167, 167, 1, 38016, 0x08f3074e
+0, 168, 168, 1, 38016, 0xa639e58d
+0, 169, 169, 1, 38016, 0xcf31d61f
+0, 170, 170, 1, 38016, 0x1ac7e986
+0, 171, 171, 1, 38016, 0x9bbbfe98
+0, 172, 172, 1, 38016, 0x3e0d0ce1
+0, 173, 173, 1, 38016, 0x53240e4c
+0, 174, 174, 1, 38016, 0xda6bf0d5
+0, 175, 175, 1, 38016, 0x1701c355
+0, 176, 176, 1, 38016, 0x572c8b1d
+0, 177, 177, 1, 38016, 0x1f4f5a14
+0, 178, 178, 1, 38016, 0x0fea3e61
+0, 179, 179, 1, 38016, 0xa71c29ed
+0, 180, 180, 1, 38016, 0xd3b218fb
+0, 181, 181, 1, 38016, 0x228e05f8
+0, 182, 182, 1, 38016, 0x4b8bfa9e
+0, 183, 183, 1, 38016, 0x13d505ab
+0, 184, 184, 1, 38016, 0xa58808b3
+0, 185, 185, 1, 38016, 0x4b2a1329
+0, 186, 186, 1, 38016, 0x13c63567
+0, 187, 187, 1, 38016, 0x4ece56f8
+0, 188, 188, 1, 38016, 0x934f67c3
+0, 189, 189, 1, 38016, 0x2b606f56
+0, 190, 190, 1, 38016, 0xba481841
+0, 191, 191, 1, 38016, 0x1488ea11
+0, 192, 192, 1, 38016, 0x066cefeb
+0, 193, 193, 1, 38016, 0xb23105b7
+0, 194, 194, 1, 38016, 0x64312267
+0, 195, 195, 1, 38016, 0xd0cf6a37
+0, 196, 196, 1, 38016, 0xb5a482c5
+0, 197, 197, 1, 38016, 0x61289957
+0, 198, 198, 1, 38016, 0x26a6ba47
+0, 199, 199, 1, 38016, 0xb771d25e
+0, 200, 200, 1, 38016, 0xedb5de8d
+0, 201, 201, 1, 38016, 0x4fd2e829
+0, 202, 202, 1, 38016, 0xbef3ef1f
+0, 203, 203, 1, 38016, 0x5e0ef333
+0, 204, 204, 1, 38016, 0x5081f460
+0, 205, 205, 1, 38016, 0x6798fe84
+0, 206, 206, 1, 38016, 0x28ce0078
+0, 207, 207, 1, 38016, 0x9fb4f6a1
+0, 208, 208, 1, 38016, 0x0a02e822
+0, 209, 209, 1, 38016, 0x5615d41e
+0, 210, 210, 1, 38016, 0x1a3bc214
+0, 211, 211, 1, 38016, 0x5333b48a
+0, 212, 212, 1, 38016, 0x646da3c9
+0, 213, 213, 1, 38016, 0x024fa1b1
+0, 214, 214, 1, 38016, 0x7b4892de
+0, 215, 215, 1, 38016, 0x10ab8953
+0, 216, 216, 1, 38016, 0x8aa28410
+0, 217, 217, 1, 38016, 0xcbd185be
+0, 218, 218, 1, 38016, 0xfa49818a
+0, 219, 219, 1, 38016, 0x0f7a82d5
+0, 220, 220, 1, 38016, 0xb86f716d
+0, 221, 221, 1, 38016, 0xd22a6050
+0, 222, 222, 1, 38016, 0x89a4520e
+0, 223, 223, 1, 38016, 0x8a1147cf
+0, 224, 224, 1, 38016, 0xa02a4196
+0, 225, 225, 1, 38016, 0xece240f7
+0, 226, 226, 1, 38016, 0xa5b940ff
+0, 227, 227, 1, 38016, 0x9b274ce8
+0, 228, 228, 1, 38016, 0xba0b68c7
+0, 229, 229, 1, 38016, 0x39f28a91
+0, 230, 230, 1, 38016, 0xc070af11
+0, 231, 231, 1, 38016, 0x2a26d309
+0, 232, 232, 1, 38016, 0xfa9afe77
+0, 233, 233, 1, 38016, 0xe2f22ebf
+0, 234, 234, 1, 38016, 0xf8ee4a45
+0, 235, 235, 1, 38016, 0x14186047
+0, 236, 236, 1, 38016, 0xe3407152
+0, 237, 237, 1, 38016, 0xcef578b8
+0, 238, 238, 1, 38016, 0x3fc06964
+0, 239, 239, 1, 38016, 0xa7da3ade
+0, 240, 240, 1, 38016, 0xa46d1b2b
+0, 241, 241, 1, 38016, 0x14abfac5
+0, 242, 242, 1, 38016, 0xbffbf269
+0, 243, 243, 1, 38016, 0x1d9c3ade
+0, 244, 244, 1, 38016, 0xc9c39c46
+0, 245, 245, 1, 38016, 0x824afa80
+0, 246, 246, 1, 38016, 0xc76611b8
+0, 247, 247, 1, 38016, 0x31fce0d6
+0, 248, 248, 1, 38016, 0x6740a03f
+0, 249, 249, 1, 38016, 0x91d63134
+0, 250, 250, 1, 38016, 0xb0f6cc86
+0, 251, 251, 1, 38016, 0x3d878a14
+0, 252, 252, 1, 38016, 0x1d008063
+0, 253, 253, 1, 38016, 0xe47cd260
+0, 254, 254, 1, 38016, 0x56503400
+0, 255, 255, 1, 38016, 0xb201dc61
+0, 256, 256, 1, 38016, 0xba42de1b
+0, 257, 257, 1, 38016, 0x9c115ccb
+0, 258, 258, 1, 38016, 0xe9be47d9
+0, 259, 259, 1, 38016, 0xa7684b02
+0, 260, 260, 1, 38016, 0xb4d74f42
+0, 261, 261, 1, 38016, 0xbe006415
+0, 262, 262, 1, 38016, 0xa30c7858
+0, 263, 263, 1, 38016, 0x838f7f47
+0, 264, 264, 1, 38016, 0xc1c28346
+0, 265, 265, 1, 38016, 0xc7737219
+0, 266, 266, 1, 38016, 0xa19a5fd5
+0, 267, 267, 1, 38016, 0x56a64b00
+0, 268, 268, 1, 38016, 0x6b672497
+0, 269, 269, 1, 38016, 0x4cfafbe2
+0, 270, 270, 1, 38016, 0xbe53d51b
+0, 271, 271, 1, 38016, 0x4a86acc7
+0, 272, 272, 1, 38016, 0x297288b0
+0, 273, 273, 1, 38016, 0xd4bd2ec9
+0, 274, 274, 1, 38016, 0x3697e2f6
+0, 275, 275, 1, 38016, 0xa493d289
+0, 276, 276, 1, 38016, 0xb2b9e324
+0, 277, 277, 1, 38016, 0x998de275
+0, 278, 278, 1, 38016, 0x422a10cb
+0, 279, 279, 1, 38016, 0x845383b4
+0, 280, 280, 1, 38016, 0xb4a72107
+0, 281, 281, 1, 38016, 0x0e0eef6b
+0, 282, 282, 1, 38016, 0xbd8bbd01
+0, 283, 283, 1, 38016, 0x2f217c45
+0, 284, 284, 1, 38016, 0xb3515be7
+0, 285, 285, 1, 38016, 0xb633a542
+0, 286, 286, 1, 38016, 0x7e7a7086
+0, 287, 287, 1, 38016, 0xef64a834
+0, 288, 288, 1, 38016, 0x7b81bdad
+0, 289, 289, 1, 38016, 0x0fc7a7d2
+0, 290, 290, 1, 38016, 0x9111351d
+0, 291, 291, 1, 38016, 0x161c43dc
+0, 292, 292, 1, 38016, 0x945fce2a
+0, 293, 293, 1, 38016, 0x48780c38
+0, 294, 294, 1, 38016, 0x28904d31
+0, 295, 295, 1, 38016, 0x140d47d5
+0, 296, 296, 1, 38016, 0x1f5e257c
+0, 297, 297, 1, 38016, 0xb36a159c
+0, 298, 298, 1, 38016, 0x85ad2465
+0, 299, 299, 1, 38016, 0x973649e0
diff --git a/tests/ref/fate/h264-conformance-nl3_sva_e b/tests/ref/fate/h264-conformance-nl3_sva_e
index 4664afbfcb..a4d6db670a 100644
--- a/tests/ref/fate/h264-conformance-nl3_sva_e
+++ b/tests/ref/fate/h264-conformance-nl3_sva_e
@@ -1,33 +1,34 @@
-0, 0, 38016, 0x2fad15e2
-0, 3600, 38016, 0x7e391566
-0, 7200, 38016, 0x954001d4
-0, 10800, 38016, 0xe5ae2057
-0, 14400, 38016, 0xface3d5e
-0, 18000, 38016, 0x2b2361cd
-0, 21600, 38016, 0x5e906b5a
-0, 25200, 38016, 0xa46398e5
-0, 28800, 38016, 0x2a3ea141
-0, 32400, 38016, 0xa2a0beac
-0, 36000, 38016, 0x4830ab90
-0, 39600, 38016, 0xdd53d0fc
-0, 43200, 38016, 0x4d71ae7d
-0, 46800, 38016, 0x2290a25e
-0, 50400, 38016, 0x8baa6cca
-0, 54000, 38016, 0xc3e99458
-0, 57600, 38016, 0x5c608374
-0, 61200, 38016, 0x6443aa6c
-0, 64800, 38016, 0x1ef7991c
-0, 68400, 38016, 0xd246b49b
-0, 72000, 38016, 0xe181a026
-0, 75600, 38016, 0x878db497
-0, 79200, 38016, 0x071079c2
-0, 82800, 38016, 0xa94a62fa
-0, 86400, 38016, 0xa9da278f
-0, 90000, 38016, 0x247b3195
-0, 93600, 38016, 0xd7f81a90
-0, 97200, 38016, 0x9c303cdc
-0, 100800, 38016, 0x646e42a1
-0, 104400, 38016, 0x474a613d
-0, 108000, 38016, 0x63255932
-0, 111600, 38016, 0x2f0569e4
-0, 115200, 38016, 0x1f525192
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x2fad15e2
+0, 1, 1, 1, 38016, 0x7e391566
+0, 2, 2, 1, 38016, 0x954001d4
+0, 3, 3, 1, 38016, 0xe5ae2057
+0, 4, 4, 1, 38016, 0xface3d5e
+0, 5, 5, 1, 38016, 0x2b2361cd
+0, 6, 6, 1, 38016, 0x5e906b5a
+0, 7, 7, 1, 38016, 0xa46398e5
+0, 8, 8, 1, 38016, 0x2a3ea141
+0, 9, 9, 1, 38016, 0xa2a0beac
+0, 10, 10, 1, 38016, 0x4830ab90
+0, 11, 11, 1, 38016, 0xdd53d0fc
+0, 12, 12, 1, 38016, 0x4d71ae7d
+0, 13, 13, 1, 38016, 0x2290a25e
+0, 14, 14, 1, 38016, 0x8baa6cca
+0, 15, 15, 1, 38016, 0xc3e99458
+0, 16, 16, 1, 38016, 0x5c608374
+0, 17, 17, 1, 38016, 0x6443aa6c
+0, 18, 18, 1, 38016, 0x1ef7991c
+0, 19, 19, 1, 38016, 0xd246b49b
+0, 20, 20, 1, 38016, 0xe181a026
+0, 21, 21, 1, 38016, 0x878db497
+0, 22, 22, 1, 38016, 0x071079c2
+0, 23, 23, 1, 38016, 0xa94a62fa
+0, 24, 24, 1, 38016, 0xa9da278f
+0, 25, 25, 1, 38016, 0x247b3195
+0, 26, 26, 1, 38016, 0xd7f81a90
+0, 27, 27, 1, 38016, 0x9c303cdc
+0, 28, 28, 1, 38016, 0x646e42a1
+0, 29, 29, 1, 38016, 0x474a613d
+0, 30, 30, 1, 38016, 0x63255932
+0, 31, 31, 1, 38016, 0x2f0569e4
+0, 32, 32, 1, 38016, 0x1f525192
diff --git a/tests/ref/fate/h264-conformance-nlmq1_jvc_c b/tests/ref/fate/h264-conformance-nlmq1_jvc_c
index e9fca86164..30301256f9 100644
--- a/tests/ref/fate/h264-conformance-nlmq1_jvc_c
+++ b/tests/ref/fate/h264-conformance-nlmq1_jvc_c
@@ -1,30 +1,31 @@
-0, 0, 38016, 0xde1a2194
-0, 3600, 38016, 0x2957f3e5
-0, 7200, 38016, 0x9df4c6cf
-0, 10800, 38016, 0xf3db9f2d
-0, 14400, 38016, 0xd97474db
-0, 18000, 38016, 0x8e3065fa
-0, 21600, 38016, 0xc0be49b1
-0, 25200, 38016, 0xa69c3f06
-0, 28800, 38016, 0x96bb2e92
-0, 32400, 38016, 0x1ca232c1
-0, 36000, 38016, 0x3a06409d
-0, 39600, 38016, 0xcdce66e5
-0, 43200, 38016, 0x96387681
-0, 46800, 38016, 0xd0309561
-0, 50400, 38016, 0xb7b08c49
-0, 54000, 38016, 0xf5709355
-0, 57600, 38016, 0x3c1594ea
-0, 61200, 38016, 0x9be48a2c
-0, 64800, 38016, 0xdf7279c3
-0, 68400, 38016, 0xe3b660f3
-0, 72000, 38016, 0xd72a3cbe
-0, 75600, 38016, 0x06a117d1
-0, 79200, 38016, 0x8f5501b7
-0, 82800, 38016, 0x8f5afd81
-0, 86400, 38016, 0x98ecfd2b
-0, 90000, 38016, 0xd0b103bf
-0, 93600, 38016, 0xb9a7035c
-0, 97200, 38016, 0x866c12c7
-0, 100800, 38016, 0x3a0329f3
-0, 104400, 38016, 0x725141c1
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xde1a2194
+0, 1, 1, 1, 38016, 0x2957f3e5
+0, 2, 2, 1, 38016, 0x9df4c6cf
+0, 3, 3, 1, 38016, 0xf3db9f2d
+0, 4, 4, 1, 38016, 0xd97474db
+0, 5, 5, 1, 38016, 0x8e3065fa
+0, 6, 6, 1, 38016, 0xc0be49b1
+0, 7, 7, 1, 38016, 0xa69c3f06
+0, 8, 8, 1, 38016, 0x96bb2e92
+0, 9, 9, 1, 38016, 0x1ca232c1
+0, 10, 10, 1, 38016, 0x3a06409d
+0, 11, 11, 1, 38016, 0xcdce66e5
+0, 12, 12, 1, 38016, 0x96387681
+0, 13, 13, 1, 38016, 0xd0309561
+0, 14, 14, 1, 38016, 0xb7b08c49
+0, 15, 15, 1, 38016, 0xf5709355
+0, 16, 16, 1, 38016, 0x3c1594ea
+0, 17, 17, 1, 38016, 0x9be48a2c
+0, 18, 18, 1, 38016, 0xdf7279c3
+0, 19, 19, 1, 38016, 0xe3b660f3
+0, 20, 20, 1, 38016, 0xd72a3cbe
+0, 21, 21, 1, 38016, 0x06a117d1
+0, 22, 22, 1, 38016, 0x8f5501b7
+0, 23, 23, 1, 38016, 0x8f5afd81
+0, 24, 24, 1, 38016, 0x98ecfd2b
+0, 25, 25, 1, 38016, 0xd0b103bf
+0, 26, 26, 1, 38016, 0xb9a7035c
+0, 27, 27, 1, 38016, 0x866c12c7
+0, 28, 28, 1, 38016, 0x3a0329f3
+0, 29, 29, 1, 38016, 0x725141c1
diff --git a/tests/ref/fate/h264-conformance-nlmq2_jvc_c b/tests/ref/fate/h264-conformance-nlmq2_jvc_c
index a2c7c5a753..5258eb2646 100644
--- a/tests/ref/fate/h264-conformance-nlmq2_jvc_c
+++ b/tests/ref/fate/h264-conformance-nlmq2_jvc_c
@@ -1,30 +1,31 @@
-0, 0, 38016, 0xde1a2194
-0, 3600, 38016, 0x8b6cf842
-0, 7200, 38016, 0x6dc7c88b
-0, 10800, 38016, 0xdaefa55d
-0, 14400, 38016, 0x61b77631
-0, 18000, 38016, 0xfd096789
-0, 21600, 38016, 0x69204c43
-0, 25200, 38016, 0x2c8e40c0
-0, 28800, 38016, 0xa4f33298
-0, 32400, 38016, 0x67193923
-0, 36000, 38016, 0x0b634893
-0, 39600, 38016, 0x7ced69e1
-0, 43200, 38016, 0xc20179dc
-0, 46800, 38016, 0x9d4d94b9
-0, 50400, 38016, 0xf4158e1a
-0, 54000, 38016, 0xf24b986a
-0, 57600, 38016, 0x3fd39baf
-0, 61200, 38016, 0xc0f991b9
-0, 64800, 38016, 0xe3a98216
-0, 68400, 38016, 0x37246882
-0, 72000, 38016, 0xad5745b0
-0, 75600, 38016, 0x42831ea7
-0, 79200, 38016, 0x14530a1b
-0, 82800, 38016, 0x1a9f03a8
-0, 86400, 38016, 0x34f905f3
-0, 90000, 38016, 0x94300e93
-0, 93600, 38016, 0xcda00be5
-0, 97200, 38016, 0x607516d6
-0, 100800, 38016, 0xabb02c3b
-0, 104400, 38016, 0xcf3746bf
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xde1a2194
+0, 1, 1, 1, 38016, 0x8b6cf842
+0, 2, 2, 1, 38016, 0x6dc7c88b
+0, 3, 3, 1, 38016, 0xdaefa55d
+0, 4, 4, 1, 38016, 0x61b77631
+0, 5, 5, 1, 38016, 0xfd096789
+0, 6, 6, 1, 38016, 0x69204c43
+0, 7, 7, 1, 38016, 0x2c8e40c0
+0, 8, 8, 1, 38016, 0xa4f33298
+0, 9, 9, 1, 38016, 0x67193923
+0, 10, 10, 1, 38016, 0x0b634893
+0, 11, 11, 1, 38016, 0x7ced69e1
+0, 12, 12, 1, 38016, 0xc20179dc
+0, 13, 13, 1, 38016, 0x9d4d94b9
+0, 14, 14, 1, 38016, 0xf4158e1a
+0, 15, 15, 1, 38016, 0xf24b986a
+0, 16, 16, 1, 38016, 0x3fd39baf
+0, 17, 17, 1, 38016, 0xc0f991b9
+0, 18, 18, 1, 38016, 0xe3a98216
+0, 19, 19, 1, 38016, 0x37246882
+0, 20, 20, 1, 38016, 0xad5745b0
+0, 21, 21, 1, 38016, 0x42831ea7
+0, 22, 22, 1, 38016, 0x14530a1b
+0, 23, 23, 1, 38016, 0x1a9f03a8
+0, 24, 24, 1, 38016, 0x34f905f3
+0, 25, 25, 1, 38016, 0x94300e93
+0, 26, 26, 1, 38016, 0xcda00be5
+0, 27, 27, 1, 38016, 0x607516d6
+0, 28, 28, 1, 38016, 0xabb02c3b
+0, 29, 29, 1, 38016, 0xcf3746bf
diff --git a/tests/ref/fate/h264-conformance-nrf_mw_e b/tests/ref/fate/h264-conformance-nrf_mw_e
index 425ee75df4..ee5f7193a0 100644
--- a/tests/ref/fate/h264-conformance-nrf_mw_e
+++ b/tests/ref/fate/h264-conformance-nrf_mw_e
@@ -1,100 +1,101 @@
-0, 0, 38016, 0x3ae838ee
-0, 3600, 38016, 0x9ed7e141
-0, 7200, 38016, 0x354e83ed
-0, 10800, 38016, 0x96754ff4
-0, 14400, 38016, 0x2a013a3c
-0, 18000, 38016, 0x57ab4cf2
-0, 21600, 38016, 0x55037493
-0, 25200, 38016, 0x910b8920
-0, 28800, 38016, 0x457785a1
-0, 32400, 38016, 0x9d6864ad
-0, 36000, 38016, 0xe80131ce
-0, 39600, 38016, 0x4cd7f487
-0, 43200, 38016, 0x030df59a
-0, 46800, 38016, 0x6ea60426
-0, 50400, 38016, 0x35311f71
-0, 54000, 38016, 0x731450d8
-0, 57600, 38016, 0x29368c47
-0, 61200, 38016, 0x006292b0
-0, 64800, 38016, 0x961493b1
-0, 68400, 38016, 0xb2e99a07
-0, 72000, 38016, 0xa52f98be
-0, 75600, 38016, 0x8c0a8f70
-0, 79200, 38016, 0xdc5b992c
-0, 82800, 38016, 0xa4a49787
-0, 86400, 38016, 0x7a959608
-0, 90000, 38016, 0xc9619c0a
-0, 93600, 38016, 0xb5519a7e
-0, 97200, 38016, 0x05ea9d9b
-0, 100800, 38016, 0xf73fac90
-0, 104400, 38016, 0x0cd4b3d8
-0, 108000, 38016, 0xb3119df6
-0, 111600, 38016, 0xb8db5d78
-0, 115200, 38016, 0xfb633ee0
-0, 118800, 38016, 0xed1c8935
-0, 122400, 38016, 0x421fedd1
-0, 126000, 38016, 0xa4b84473
-0, 129600, 38016, 0x25598f81
-0, 133200, 38016, 0x92de1dd7
-0, 136800, 38016, 0x776b68c5
-0, 140400, 38016, 0x07b49a7a
-0, 144000, 38016, 0x883ccd79
-0, 147600, 38016, 0xb351e0fc
-0, 151200, 38016, 0x5577d53b
-0, 154800, 38016, 0xffd9ef7d
-0, 158400, 38016, 0x38c1fc8b
-0, 162000, 38016, 0xb9abf3e6
-0, 165600, 38016, 0x2191b0d6
-0, 169200, 38016, 0x313397a3
-0, 172800, 38016, 0x96bca02a
-0, 176400, 38016, 0xd39ac859
-0, 180000, 38016, 0xfb31e18f
-0, 183600, 38016, 0xe182b468
-0, 187200, 38016, 0x8af7dfd6
-0, 190800, 38016, 0x7c19fd4f
-0, 194400, 38016, 0xa8373bae
-0, 198000, 38016, 0x91055016
-0, 201600, 38016, 0x432b5d52
-0, 205200, 38016, 0x81301b3f
-0, 208800, 38016, 0x0d6c2367
-0, 212400, 38016, 0xf0023ac2
-0, 216000, 38016, 0xb9f33791
-0, 219600, 38016, 0xdab62201
-0, 223200, 38016, 0xfab7cfdd
-0, 226800, 38016, 0xfbb2a78f
-0, 230400, 38016, 0xe317c687
-0, 234000, 38016, 0xe4f5d939
-0, 237600, 38016, 0x022dda5b
-0, 241200, 38016, 0x8b5cdf2c
-0, 244800, 38016, 0x3dfec699
-0, 248400, 38016, 0x9484a75c
-0, 252000, 38016, 0x763a911b
-0, 255600, 38016, 0xb1fb7cc8
-0, 259200, 38016, 0x56bf7f7b
-0, 262800, 38016, 0x87567e3e
-0, 266400, 38016, 0x1aa1209e
-0, 270000, 38016, 0xe2b0da25
-0, 273600, 38016, 0xd250c706
-0, 277200, 38016, 0xbea1be9d
-0, 280800, 38016, 0x02f0e6fb
-0, 284400, 38016, 0xd18d382b
-0, 288000, 38016, 0xd0fa57f3
-0, 291600, 38016, 0x873b43e3
-0, 295200, 38016, 0x75b33855
-0, 298800, 38016, 0xcabbe932
-0, 302400, 38016, 0xeded9c0f
-0, 306000, 38016, 0x86b0b9ec
-0, 309600, 38016, 0xb461e10d
-0, 313200, 38016, 0x6702dbbe
-0, 316800, 38016, 0xb3e47c8c
-0, 320400, 38016, 0xd71333ee
-0, 324000, 38016, 0x15c3f15d
-0, 327600, 38016, 0xa7e6bb4e
-0, 331200, 38016, 0x5d5bd15b
-0, 334800, 38016, 0x2476f6b0
-0, 338400, 38016, 0xbee21b05
-0, 342000, 38016, 0x8172d7b9
-0, 345600, 38016, 0x4893b4b2
-0, 349200, 38016, 0xfda7ed23
-0, 352800, 38016, 0xc1ff4cb4
-0, 356400, 38016, 0x9fdc8cc4
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x3ae838ee
+0, 1, 1, 1, 38016, 0x9ed7e141
+0, 2, 2, 1, 38016, 0x354e83ed
+0, 3, 3, 1, 38016, 0x96754ff4
+0, 4, 4, 1, 38016, 0x2a013a3c
+0, 5, 5, 1, 38016, 0x57ab4cf2
+0, 6, 6, 1, 38016, 0x55037493
+0, 7, 7, 1, 38016, 0x910b8920
+0, 8, 8, 1, 38016, 0x457785a1
+0, 9, 9, 1, 38016, 0x9d6864ad
+0, 10, 10, 1, 38016, 0xe80131ce
+0, 11, 11, 1, 38016, 0x4cd7f487
+0, 12, 12, 1, 38016, 0x030df59a
+0, 13, 13, 1, 38016, 0x6ea60426
+0, 14, 14, 1, 38016, 0x35311f71
+0, 15, 15, 1, 38016, 0x731450d8
+0, 16, 16, 1, 38016, 0x29368c47
+0, 17, 17, 1, 38016, 0x006292b0
+0, 18, 18, 1, 38016, 0x961493b1
+0, 19, 19, 1, 38016, 0xb2e99a07
+0, 20, 20, 1, 38016, 0xa52f98be
+0, 21, 21, 1, 38016, 0x8c0a8f70
+0, 22, 22, 1, 38016, 0xdc5b992c
+0, 23, 23, 1, 38016, 0xa4a49787
+0, 24, 24, 1, 38016, 0x7a959608
+0, 25, 25, 1, 38016, 0xc9619c0a
+0, 26, 26, 1, 38016, 0xb5519a7e
+0, 27, 27, 1, 38016, 0x05ea9d9b
+0, 28, 28, 1, 38016, 0xf73fac90
+0, 29, 29, 1, 38016, 0x0cd4b3d8
+0, 30, 30, 1, 38016, 0xb3119df6
+0, 31, 31, 1, 38016, 0xb8db5d78
+0, 32, 32, 1, 38016, 0xfb633ee0
+0, 33, 33, 1, 38016, 0xed1c8935
+0, 34, 34, 1, 38016, 0x421fedd1
+0, 35, 35, 1, 38016, 0xa4b84473
+0, 36, 36, 1, 38016, 0x25598f81
+0, 37, 37, 1, 38016, 0x92de1dd7
+0, 38, 38, 1, 38016, 0x776b68c5
+0, 39, 39, 1, 38016, 0x07b49a7a
+0, 40, 40, 1, 38016, 0x883ccd79
+0, 41, 41, 1, 38016, 0xb351e0fc
+0, 42, 42, 1, 38016, 0x5577d53b
+0, 43, 43, 1, 38016, 0xffd9ef7d
+0, 44, 44, 1, 38016, 0x38c1fc8b
+0, 45, 45, 1, 38016, 0xb9abf3e6
+0, 46, 46, 1, 38016, 0x2191b0d6
+0, 47, 47, 1, 38016, 0x313397a3
+0, 48, 48, 1, 38016, 0x96bca02a
+0, 49, 49, 1, 38016, 0xd39ac859
+0, 50, 50, 1, 38016, 0xfb31e18f
+0, 51, 51, 1, 38016, 0xe182b468
+0, 52, 52, 1, 38016, 0x8af7dfd6
+0, 53, 53, 1, 38016, 0x7c19fd4f
+0, 54, 54, 1, 38016, 0xa8373bae
+0, 55, 55, 1, 38016, 0x91055016
+0, 56, 56, 1, 38016, 0x432b5d52
+0, 57, 57, 1, 38016, 0x81301b3f
+0, 58, 58, 1, 38016, 0x0d6c2367
+0, 59, 59, 1, 38016, 0xf0023ac2
+0, 60, 60, 1, 38016, 0xb9f33791
+0, 61, 61, 1, 38016, 0xdab62201
+0, 62, 62, 1, 38016, 0xfab7cfdd
+0, 63, 63, 1, 38016, 0xfbb2a78f
+0, 64, 64, 1, 38016, 0xe317c687
+0, 65, 65, 1, 38016, 0xe4f5d939
+0, 66, 66, 1, 38016, 0x022dda5b
+0, 67, 67, 1, 38016, 0x8b5cdf2c
+0, 68, 68, 1, 38016, 0x3dfec699
+0, 69, 69, 1, 38016, 0x9484a75c
+0, 70, 70, 1, 38016, 0x763a911b
+0, 71, 71, 1, 38016, 0xb1fb7cc8
+0, 72, 72, 1, 38016, 0x56bf7f7b
+0, 73, 73, 1, 38016, 0x87567e3e
+0, 74, 74, 1, 38016, 0x1aa1209e
+0, 75, 75, 1, 38016, 0xe2b0da25
+0, 76, 76, 1, 38016, 0xd250c706
+0, 77, 77, 1, 38016, 0xbea1be9d
+0, 78, 78, 1, 38016, 0x02f0e6fb
+0, 79, 79, 1, 38016, 0xd18d382b
+0, 80, 80, 1, 38016, 0xd0fa57f3
+0, 81, 81, 1, 38016, 0x873b43e3
+0, 82, 82, 1, 38016, 0x75b33855
+0, 83, 83, 1, 38016, 0xcabbe932
+0, 84, 84, 1, 38016, 0xeded9c0f
+0, 85, 85, 1, 38016, 0x86b0b9ec
+0, 86, 86, 1, 38016, 0xb461e10d
+0, 87, 87, 1, 38016, 0x6702dbbe
+0, 88, 88, 1, 38016, 0xb3e47c8c
+0, 89, 89, 1, 38016, 0xd71333ee
+0, 90, 90, 1, 38016, 0x15c3f15d
+0, 91, 91, 1, 38016, 0xa7e6bb4e
+0, 92, 92, 1, 38016, 0x5d5bd15b
+0, 93, 93, 1, 38016, 0x2476f6b0
+0, 94, 94, 1, 38016, 0xbee21b05
+0, 95, 95, 1, 38016, 0x8172d7b9
+0, 96, 96, 1, 38016, 0x4893b4b2
+0, 97, 97, 1, 38016, 0xfda7ed23
+0, 98, 98, 1, 38016, 0xc1ff4cb4
+0, 99, 99, 1, 38016, 0x9fdc8cc4
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_1_b b/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
index 7fc503edcb..8512102bb3 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
@@ -1,15 +1,16 @@
-0, 0, 518400, 0xc93c7c47
-0, 3600, 518400, 0xa3f2e502
-0, 7200, 518400, 0xb98920a4
-0, 10800, 518400, 0xad098ec1
-0, 14400, 518400, 0x3009b7aa
-0, 18000, 518400, 0xcf514018
-0, 21600, 518400, 0xd869038d
-0, 25200, 518400, 0x3ce5e188
-0, 28800, 518400, 0x029b4c14
-0, 32400, 518400, 0xd2224afc
-0, 36000, 518400, 0xbbca027c
-0, 39600, 518400, 0x1f3fa0ac
-0, 43200, 518400, 0x823b0125
-0, 46800, 518400, 0xaaa27cfb
-0, 50400, 518400, 0x5e926a4a
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xc93c7c47
+0, 1, 1, 1, 518400, 0xa3f2e502
+0, 2, 2, 1, 518400, 0xb98920a4
+0, 3, 3, 1, 518400, 0xad098ec1
+0, 4, 4, 1, 518400, 0x3009b7aa
+0, 5, 5, 1, 518400, 0xcf514018
+0, 6, 6, 1, 518400, 0xd869038d
+0, 7, 7, 1, 518400, 0x3ce5e188
+0, 8, 8, 1, 518400, 0x029b4c14
+0, 9, 9, 1, 518400, 0xd2224afc
+0, 10, 10, 1, 518400, 0xbbca027c
+0, 11, 11, 1, 518400, 0x1f3fa0ac
+0, 12, 12, 1, 518400, 0x823b0125
+0, 13, 13, 1, 518400, 0xaaa27cfb
+0, 14, 14, 1, 518400, 0x5e926a4a
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_2_b b/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
index ec278fa3c6..5808141891 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
@@ -1,15 +1,16 @@
-0, 0, 518400, 0xc93c7c47
-0, 3600, 518400, 0xf0c4b44a
-0, 7200, 518400, 0x3f5dc91c
-0, 10800, 518400, 0x03dc8453
-0, 14400, 518400, 0x5e5227af
-0, 18000, 518400, 0x9e7136af
-0, 21600, 518400, 0x963a2e3a
-0, 25200, 518400, 0xa544be6c
-0, 28800, 518400, 0xefa1f63a
-0, 32400, 518400, 0x62155ff1
-0, 36000, 518400, 0x253eb857
-0, 39600, 518400, 0x73530327
-0, 43200, 518400, 0x8920c9a3
-0, 46800, 518400, 0x4bdd038c
-0, 50400, 518400, 0xea6016dd
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xc93c7c47
+0, 1, 1, 1, 518400, 0xf0c4b44a
+0, 2, 2, 1, 518400, 0x3f5dc91c
+0, 3, 3, 1, 518400, 0x03dc8453
+0, 4, 4, 1, 518400, 0x5e5227af
+0, 5, 5, 1, 518400, 0x9e7136af
+0, 6, 6, 1, 518400, 0x963a2e3a
+0, 7, 7, 1, 518400, 0xa544be6c
+0, 8, 8, 1, 518400, 0xefa1f63a
+0, 9, 9, 1, 518400, 0x62155ff1
+0, 10, 10, 1, 518400, 0x253eb857
+0, 11, 11, 1, 518400, 0x73530327
+0, 12, 12, 1, 518400, 0x8920c9a3
+0, 13, 13, 1, 518400, 0x4bdd038c
+0, 14, 14, 1, 518400, 0xea6016dd
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_3_b b/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
index efdd491a5f..a572030f02 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
@@ -1,15 +1,16 @@
-0, 0, 518400, 0xc93c7c47
-0, 3600, 518400, 0x7112ac25
-0, 7200, 518400, 0x28bc28d2
-0, 10800, 518400, 0x6fc36875
-0, 14400, 518400, 0x3de99be0
-0, 18000, 518400, 0x97125499
-0, 21600, 518400, 0xb96fca3a
-0, 25200, 518400, 0x1ec56c0f
-0, 28800, 518400, 0xc65901d0
-0, 32400, 518400, 0x2baa1bfa
-0, 36000, 518400, 0x244fc6b7
-0, 39600, 518400, 0xc3536383
-0, 43200, 518400, 0xbcf40d5a
-0, 46800, 518400, 0x955f4734
-0, 50400, 518400, 0xe1b0275e
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xc93c7c47
+0, 1, 1, 1, 518400, 0x7112ac25
+0, 2, 2, 1, 518400, 0x28bc28d2
+0, 3, 3, 1, 518400, 0x6fc36875
+0, 4, 4, 1, 518400, 0x3de99be0
+0, 5, 5, 1, 518400, 0x97125499
+0, 6, 6, 1, 518400, 0xb96fca3a
+0, 7, 7, 1, 518400, 0x1ec56c0f
+0, 8, 8, 1, 518400, 0xc65901d0
+0, 9, 9, 1, 518400, 0x2baa1bfa
+0, 10, 10, 1, 518400, 0x244fc6b7
+0, 11, 11, 1, 518400, 0xc3536383
+0, 12, 12, 1, 518400, 0xbcf40d5a
+0, 13, 13, 1, 518400, 0x955f4734
+0, 14, 14, 1, 518400, 0xe1b0275e
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2 b/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
index 08241321f6..d1a347ff26 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
+++ b/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
@@ -1,15 +1,16 @@
-0, 0, 518400, 0xc93c7c47
-0, 3600, 518400, 0xfb452a9c
-0, 7200, 518400, 0x2f7a35bd
-0, 10800, 518400, 0xe63e30b9
-0, 14400, 518400, 0x39628205
-0, 18000, 518400, 0x17fa1ea4
-0, 21600, 518400, 0xd5ee83e2
-0, 25200, 518400, 0x611ee98d
-0, 28800, 518400, 0x07c1eeb8
-0, 32400, 518400, 0x9dff3418
-0, 36000, 518400, 0x87cd2f56
-0, 39600, 518400, 0x88675628
-0, 43200, 518400, 0x9bb8c9a0
-0, 46800, 518400, 0xe6c1df00
-0, 50400, 518400, 0xfcaab7a7
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xc93c7c47
+0, 1, 1, 1, 518400, 0xfb452a9c
+0, 2, 2, 1, 518400, 0x2f7a35bd
+0, 3, 3, 1, 518400, 0xe63e30b9
+0, 4, 4, 1, 518400, 0x39628205
+0, 5, 5, 1, 518400, 0x17fa1ea4
+0, 6, 6, 1, 518400, 0xd5ee83e2
+0, 7, 7, 1, 518400, 0x611ee98d
+0, 8, 8, 1, 518400, 0x07c1eeb8
+0, 9, 9, 1, 518400, 0x9dff3418
+0, 10, 10, 1, 518400, 0x87cd2f56
+0, 11, 11, 1, 518400, 0x88675628
+0, 12, 12, 1, 518400, 0x9bb8c9a0
+0, 13, 13, 1, 518400, 0xe6c1df00
+0, 14, 14, 1, 518400, 0xfcaab7a7
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_paff_2r b/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
index b41a131109..f2bf06f6ff 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
+++ b/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
@@ -1,15 +1,16 @@
-0, 0, 518400, 0xc93c7c47
-0, 3600, 518400, 0xfb452a9c
-0, 7200, 518400, 0x2f7a35bd
-0, 10800, 518400, 0xe63e30b9
-0, 14400, 518400, 0x39628205
-0, 18000, 518400, 0x17fa1ea4
-0, 21600, 518400, 0xd5ee83e2
-0, 25200, 518400, 0x4fd6d5c9
-0, 28800, 518400, 0x8703c999
-0, 32400, 518400, 0x1a87e2d3
-0, 36000, 518400, 0xa27fc4d0
-0, 39600, 518400, 0x6effab5d
-0, 43200, 518400, 0x51ea02c9
-0, 46800, 518400, 0xbcf84c88
-0, 50400, 518400, 0x1d41076b
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xc93c7c47
+0, 1, 1, 1, 518400, 0xfb452a9c
+0, 2, 2, 1, 518400, 0x2f7a35bd
+0, 3, 3, 1, 518400, 0xe63e30b9
+0, 4, 4, 1, 518400, 0x39628205
+0, 5, 5, 1, 518400, 0x17fa1ea4
+0, 6, 6, 1, 518400, 0xd5ee83e2
+0, 7, 7, 1, 518400, 0x4fd6d5c9
+0, 8, 8, 1, 518400, 0x8703c999
+0, 9, 9, 1, 518400, 0x1a87e2d3
+0, 10, 10, 1, 518400, 0xa27fc4d0
+0, 11, 11, 1, 518400, 0x6effab5d
+0, 12, 12, 1, 518400, 0x51ea02c9
+0, 13, 13, 1, 518400, 0xbcf84c88
+0, 14, 14, 1, 518400, 0x1d41076b
diff --git a/tests/ref/fate/h264-conformance-sl1_sva_b b/tests/ref/fate/h264-conformance-sl1_sva_b
index b218a5882a..a2f16b4b6e 100644
--- a/tests/ref/fate/h264-conformance-sl1_sva_b
+++ b/tests/ref/fate/h264-conformance-sl1_sva_b
@@ -1,33 +1,34 @@
-0, 0, 38016, 0x666c110c
-0, 3600, 38016, 0xc87421f6
-0, 7200, 38016, 0x1b74033d
-0, 10800, 38016, 0x21fe21c7
-0, 14400, 38016, 0x8f03321e
-0, 18000, 38016, 0xdbd46290
-0, 21600, 38016, 0x316a57d4
-0, 25200, 38016, 0x0a688f29
-0, 28800, 38016, 0x8bb890d5
-0, 32400, 38016, 0x4210c0a4
-0, 36000, 38016, 0x45f6b0e7
-0, 39600, 38016, 0x5feed346
-0, 43200, 38016, 0x22aea97e
-0, 46800, 38016, 0x8d96a049
-0, 50400, 38016, 0xe623654c
-0, 54000, 38016, 0xccd17c75
-0, 57600, 38016, 0x32ca7712
-0, 61200, 38016, 0x2fe49df2
-0, 64800, 38016, 0x6ee49068
-0, 68400, 38016, 0x74a0ba36
-0, 72000, 38016, 0x5079a13c
-0, 75600, 38016, 0xfd20a991
-0, 79200, 38016, 0xfc987386
-0, 82800, 38016, 0xa1f66a0b
-0, 86400, 38016, 0xd7112683
-0, 90000, 38016, 0xb60b3784
-0, 93600, 38016, 0x9e621ca3
-0, 97200, 38016, 0xd9264308
-0, 100800, 38016, 0x00db43fb
-0, 104400, 38016, 0x665a5b34
-0, 108000, 38016, 0x582050ce
-0, 111600, 38016, 0x52b95de5
-0, 115200, 38016, 0x95d8445e
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x666c110c
+0, 1, 1, 1, 38016, 0xc87421f6
+0, 2, 2, 1, 38016, 0x1b74033d
+0, 3, 3, 1, 38016, 0x21fe21c7
+0, 4, 4, 1, 38016, 0x8f03321e
+0, 5, 5, 1, 38016, 0xdbd46290
+0, 6, 6, 1, 38016, 0x316a57d4
+0, 7, 7, 1, 38016, 0x0a688f29
+0, 8, 8, 1, 38016, 0x8bb890d5
+0, 9, 9, 1, 38016, 0x4210c0a4
+0, 10, 10, 1, 38016, 0x45f6b0e7
+0, 11, 11, 1, 38016, 0x5feed346
+0, 12, 12, 1, 38016, 0x22aea97e
+0, 13, 13, 1, 38016, 0x8d96a049
+0, 14, 14, 1, 38016, 0xe623654c
+0, 15, 15, 1, 38016, 0xccd17c75
+0, 16, 16, 1, 38016, 0x32ca7712
+0, 17, 17, 1, 38016, 0x2fe49df2
+0, 18, 18, 1, 38016, 0x6ee49068
+0, 19, 19, 1, 38016, 0x74a0ba36
+0, 20, 20, 1, 38016, 0x5079a13c
+0, 21, 21, 1, 38016, 0xfd20a991
+0, 22, 22, 1, 38016, 0xfc987386
+0, 23, 23, 1, 38016, 0xa1f66a0b
+0, 24, 24, 1, 38016, 0xd7112683
+0, 25, 25, 1, 38016, 0xb60b3784
+0, 26, 26, 1, 38016, 0x9e621ca3
+0, 27, 27, 1, 38016, 0xd9264308
+0, 28, 28, 1, 38016, 0x00db43fb
+0, 29, 29, 1, 38016, 0x665a5b34
+0, 30, 30, 1, 38016, 0x582050ce
+0, 31, 31, 1, 38016, 0x52b95de5
+0, 32, 32, 1, 38016, 0x95d8445e
diff --git a/tests/ref/fate/h264-conformance-sva_ba1_b b/tests/ref/fate/h264-conformance-sva_ba1_b
index 0cb825aa37..cc55ac9dbb 100644
--- a/tests/ref/fate/h264-conformance-sva_ba1_b
+++ b/tests/ref/fate/h264-conformance-sva_ba1_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x359316a1
-0, 3600, 38016, 0xd5fafa54
-0, 7200, 38016, 0xea99e9be
-0, 10800, 38016, 0xd680f3db
-0, 14400, 38016, 0x8b771545
-0, 18000, 38016, 0xff8c3073
-0, 21600, 38016, 0x543d403a
-0, 25200, 38016, 0xd2136010
-0, 28800, 38016, 0x11d17cd3
-0, 32400, 38016, 0xd8c69527
-0, 36000, 38016, 0x070d9a08
-0, 39600, 38016, 0xc8e3b21d
-0, 43200, 38016, 0xe903b09e
-0, 46800, 38016, 0x30ba9ece
-0, 50400, 38016, 0xb32482a4
-0, 54000, 38016, 0x56cf8ea3
-0, 57600, 38016, 0x0b41abd0
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x359316a1
+0, 1, 1, 1, 38016, 0xd5fafa54
+0, 2, 2, 1, 38016, 0xea99e9be
+0, 3, 3, 1, 38016, 0xd680f3db
+0, 4, 4, 1, 38016, 0x8b771545
+0, 5, 5, 1, 38016, 0xff8c3073
+0, 6, 6, 1, 38016, 0x543d403a
+0, 7, 7, 1, 38016, 0xd2136010
+0, 8, 8, 1, 38016, 0x11d17cd3
+0, 9, 9, 1, 38016, 0xd8c69527
+0, 10, 10, 1, 38016, 0x070d9a08
+0, 11, 11, 1, 38016, 0xc8e3b21d
+0, 12, 12, 1, 38016, 0xe903b09e
+0, 13, 13, 1, 38016, 0x30ba9ece
+0, 14, 14, 1, 38016, 0xb32482a4
+0, 15, 15, 1, 38016, 0x56cf8ea3
+0, 16, 16, 1, 38016, 0x0b41abd0
diff --git a/tests/ref/fate/h264-conformance-sva_ba2_d b/tests/ref/fate/h264-conformance-sva_ba2_d
index 90337a2e41..b94086f9e4 100644
--- a/tests/ref/fate/h264-conformance-sva_ba2_d
+++ b/tests/ref/fate/h264-conformance-sva_ba2_d
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x359316a1
-0, 3600, 38016, 0xd7bb1285
-0, 7200, 38016, 0x3c36059f
-0, 10800, 38016, 0x983d195f
-0, 14400, 38016, 0xba323cc5
-0, 18000, 38016, 0xc9db4f32
-0, 21600, 38016, 0xc2a06817
-0, 25200, 38016, 0x18018392
-0, 28800, 38016, 0x8b4da14c
-0, 32400, 38016, 0x5a33b0f5
-0, 36000, 38016, 0x5b48b808
-0, 39600, 38016, 0xfc13c523
-0, 43200, 38016, 0xb915c169
-0, 46800, 38016, 0xfaab94ed
-0, 50400, 38016, 0xe455786f
-0, 54000, 38016, 0x529182a8
-0, 57600, 38016, 0xfb6893a9
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x359316a1
+0, 1, 1, 1, 38016, 0xd7bb1285
+0, 2, 2, 1, 38016, 0x3c36059f
+0, 3, 3, 1, 38016, 0x983d195f
+0, 4, 4, 1, 38016, 0xba323cc5
+0, 5, 5, 1, 38016, 0xc9db4f32
+0, 6, 6, 1, 38016, 0xc2a06817
+0, 7, 7, 1, 38016, 0x18018392
+0, 8, 8, 1, 38016, 0x8b4da14c
+0, 9, 9, 1, 38016, 0x5a33b0f5
+0, 10, 10, 1, 38016, 0x5b48b808
+0, 11, 11, 1, 38016, 0xfc13c523
+0, 12, 12, 1, 38016, 0xb915c169
+0, 13, 13, 1, 38016, 0xfaab94ed
+0, 14, 14, 1, 38016, 0xe455786f
+0, 15, 15, 1, 38016, 0x529182a8
+0, 16, 16, 1, 38016, 0xfb6893a9
diff --git a/tests/ref/fate/h264-conformance-sva_base_b b/tests/ref/fate/h264-conformance-sva_base_b
index 56cc9c635b..30663ff4e7 100644
--- a/tests/ref/fate/h264-conformance-sva_base_b
+++ b/tests/ref/fate/h264-conformance-sva_base_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x1c131302
-0, 3600, 38016, 0xbbca0c4f
-0, 7200, 38016, 0x81f5fd7b
-0, 10800, 38016, 0xc8990c96
-0, 14400, 38016, 0xd4c337ce
-0, 18000, 38016, 0xc4544ee1
-0, 21600, 38016, 0x5de26832
-0, 25200, 38016, 0xc1fc7ba9
-0, 28800, 38016, 0x5fea9c67
-0, 32400, 38016, 0xfa0aaf63
-0, 36000, 38016, 0xa7f6c07d
-0, 39600, 38016, 0x11a0c6ff
-0, 43200, 38016, 0xfdefc3a0
-0, 46800, 38016, 0xdb729a49
-0, 50400, 38016, 0x9b5e7f0b
-0, 54000, 38016, 0x6a047ea9
-0, 57600, 38016, 0xd8c29302
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x1c131302
+0, 1, 1, 1, 38016, 0xbbca0c4f
+0, 2, 2, 1, 38016, 0x81f5fd7b
+0, 3, 3, 1, 38016, 0xc8990c96
+0, 4, 4, 1, 38016, 0xd4c337ce
+0, 5, 5, 1, 38016, 0xc4544ee1
+0, 6, 6, 1, 38016, 0x5de26832
+0, 7, 7, 1, 38016, 0xc1fc7ba9
+0, 8, 8, 1, 38016, 0x5fea9c67
+0, 9, 9, 1, 38016, 0xfa0aaf63
+0, 10, 10, 1, 38016, 0xa7f6c07d
+0, 11, 11, 1, 38016, 0x11a0c6ff
+0, 12, 12, 1, 38016, 0xfdefc3a0
+0, 13, 13, 1, 38016, 0xdb729a49
+0, 14, 14, 1, 38016, 0x9b5e7f0b
+0, 15, 15, 1, 38016, 0x6a047ea9
+0, 16, 16, 1, 38016, 0xd8c29302
diff --git a/tests/ref/fate/h264-conformance-sva_cl1_e b/tests/ref/fate/h264-conformance-sva_cl1_e
index af1dbab55d..27cba6d9be 100644
--- a/tests/ref/fate/h264-conformance-sva_cl1_e
+++ b/tests/ref/fate/h264-conformance-sva_cl1_e
@@ -1,50 +1,51 @@
-0, 0, 38016, 0x6811161f
-0, 3600, 38016, 0x243a0d4e
-0, 7200, 38016, 0x0bc700de
-0, 10800, 38016, 0x30db1659
-0, 14400, 38016, 0xf88d3f1a
-0, 18000, 38016, 0xb37d5bd2
-0, 21600, 38016, 0x93f46c04
-0, 25200, 38016, 0xdb9878d0
-0, 28800, 38016, 0x92509f3a
-0, 32400, 38016, 0xd63badea
-0, 36000, 38016, 0xb942b664
-0, 39600, 38016, 0x703bc4ee
-0, 43200, 38016, 0xa78abfcd
-0, 46800, 38016, 0x4e1b96d8
-0, 50400, 38016, 0xaed371ac
-0, 54000, 38016, 0x2c917f89
-0, 57600, 38016, 0x57c29c96
-0, 61200, 38016, 0xaf1fb16a
-0, 64800, 38016, 0x257eb325
-0, 68400, 38016, 0x7701b0f9
-0, 72000, 38016, 0x7074c151
-0, 75600, 38016, 0x9778b1fe
-0, 79200, 38016, 0x9c2e8c0c
-0, 82800, 38016, 0x394276e9
-0, 86400, 38016, 0x2f5157bc
-0, 90000, 38016, 0xfb313ee7
-0, 93600, 38016, 0xbc6349c3
-0, 97200, 38016, 0xdca95a0c
-0, 100800, 38016, 0x53c46d45
-0, 104400, 38016, 0x62867764
-0, 108000, 38016, 0x87847fa3
-0, 111600, 38016, 0x74527d90
-0, 115200, 38016, 0x5c7a7779
-0, 118800, 38016, 0xeafd7e73
-0, 122400, 38016, 0x63aa7d06
-0, 126000, 38016, 0x2bc06fd2
-0, 129600, 38016, 0x058a7eae
-0, 133200, 38016, 0xc51a6f85
-0, 136800, 38016, 0xb49e6b0b
-0, 140400, 38016, 0x881a5997
-0, 144000, 38016, 0x5e4956b7
-0, 147600, 38016, 0x835441a0
-0, 151200, 38016, 0x212933cd
-0, 154800, 38016, 0x914031bd
-0, 158400, 38016, 0x29b63d29
-0, 162000, 38016, 0x03a03b60
-0, 165600, 38016, 0x282e1a0f
-0, 169200, 38016, 0x8964f214
-0, 172800, 38016, 0x23a9c5f9
-0, 176400, 38016, 0x04f9a780
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x6811161f
+0, 1, 1, 1, 38016, 0x243a0d4e
+0, 2, 2, 1, 38016, 0x0bc700de
+0, 3, 3, 1, 38016, 0x30db1659
+0, 4, 4, 1, 38016, 0xf88d3f1a
+0, 5, 5, 1, 38016, 0xb37d5bd2
+0, 6, 6, 1, 38016, 0x93f46c04
+0, 7, 7, 1, 38016, 0xdb9878d0
+0, 8, 8, 1, 38016, 0x92509f3a
+0, 9, 9, 1, 38016, 0xd63badea
+0, 10, 10, 1, 38016, 0xb942b664
+0, 11, 11, 1, 38016, 0x703bc4ee
+0, 12, 12, 1, 38016, 0xa78abfcd
+0, 13, 13, 1, 38016, 0x4e1b96d8
+0, 14, 14, 1, 38016, 0xaed371ac
+0, 15, 15, 1, 38016, 0x2c917f89
+0, 16, 16, 1, 38016, 0x57c29c96
+0, 17, 17, 1, 38016, 0xaf1fb16a
+0, 18, 18, 1, 38016, 0x257eb325
+0, 19, 19, 1, 38016, 0x7701b0f9
+0, 20, 20, 1, 38016, 0x7074c151
+0, 21, 21, 1, 38016, 0x9778b1fe
+0, 22, 22, 1, 38016, 0x9c2e8c0c
+0, 23, 23, 1, 38016, 0x394276e9
+0, 24, 24, 1, 38016, 0x2f5157bc
+0, 25, 25, 1, 38016, 0xfb313ee7
+0, 26, 26, 1, 38016, 0xbc6349c3
+0, 27, 27, 1, 38016, 0xdca95a0c
+0, 28, 28, 1, 38016, 0x53c46d45
+0, 29, 29, 1, 38016, 0x62867764
+0, 30, 30, 1, 38016, 0x87847fa3
+0, 31, 31, 1, 38016, 0x74527d90
+0, 32, 32, 1, 38016, 0x5c7a7779
+0, 33, 33, 1, 38016, 0xeafd7e73
+0, 34, 34, 1, 38016, 0x63aa7d06
+0, 35, 35, 1, 38016, 0x2bc06fd2
+0, 36, 36, 1, 38016, 0x058a7eae
+0, 37, 37, 1, 38016, 0xc51a6f85
+0, 38, 38, 1, 38016, 0xb49e6b0b
+0, 39, 39, 1, 38016, 0x881a5997
+0, 40, 40, 1, 38016, 0x5e4956b7
+0, 41, 41, 1, 38016, 0x835441a0
+0, 42, 42, 1, 38016, 0x212933cd
+0, 43, 43, 1, 38016, 0x914031bd
+0, 44, 44, 1, 38016, 0x29b63d29
+0, 45, 45, 1, 38016, 0x03a03b60
+0, 46, 46, 1, 38016, 0x282e1a0f
+0, 47, 47, 1, 38016, 0x8964f214
+0, 48, 48, 1, 38016, 0x23a9c5f9
+0, 49, 49, 1, 38016, 0x04f9a780
diff --git a/tests/ref/fate/h264-conformance-sva_fm1_e b/tests/ref/fate/h264-conformance-sva_fm1_e
index f83a51b6b0..0e5f3e0082 100644
--- a/tests/ref/fate/h264-conformance-sva_fm1_e
+++ b/tests/ref/fate/h264-conformance-sva_fm1_e
@@ -1,17 +1,18 @@
-0, 0, 38016, 0x1c131302
-0, 3600, 38016, 0x89dd0c15
-0, 7200, 38016, 0xaf7700bd
-0, 10800, 38016, 0x220d1115
-0, 14400, 38016, 0x76d0354e
-0, 18000, 38016, 0x9e514b93
-0, 21600, 38016, 0x20ff5e7c
-0, 25200, 38016, 0xd9cb7e01
-0, 28800, 38016, 0x26b7992d
-0, 32400, 38016, 0xa29dac84
-0, 36000, 38016, 0x407cb6e8
-0, 39600, 38016, 0xe82cc064
-0, 43200, 38016, 0x63ddb80f
-0, 46800, 38016, 0xec6f93a1
-0, 50400, 38016, 0x5f217759
-0, 54000, 38016, 0x341982ba
-0, 57600, 38016, 0x3f48980c
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0x1c131302
+0, 1, 1, 1, 38016, 0x89dd0c15
+0, 2, 2, 1, 38016, 0xaf7700bd
+0, 3, 3, 1, 38016, 0x220d1115
+0, 4, 4, 1, 38016, 0x76d0354e
+0, 5, 5, 1, 38016, 0x9e514b93
+0, 6, 6, 1, 38016, 0x20ff5e7c
+0, 7, 7, 1, 38016, 0xd9cb7e01
+0, 8, 8, 1, 38016, 0x26b7992d
+0, 9, 9, 1, 38016, 0xa29dac84
+0, 10, 10, 1, 38016, 0x407cb6e8
+0, 11, 11, 1, 38016, 0xe82cc064
+0, 12, 12, 1, 38016, 0x63ddb80f
+0, 13, 13, 1, 38016, 0xec6f93a1
+0, 14, 14, 1, 38016, 0x5f217759
+0, 15, 15, 1, 38016, 0x341982ba
+0, 16, 16, 1, 38016, 0x3f48980c
diff --git a/tests/ref/fate/h264-conformance-sva_nl1_b b/tests/ref/fate/h264-conformance-sva_nl1_b
index 074e656bc7..f2033d8693 100644
--- a/tests/ref/fate/h264-conformance-sva_nl1_b
+++ b/tests/ref/fate/h264-conformance-sva_nl1_b
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xb9ac19bd
-0, 3600, 38016, 0x3898fc35
-0, 7200, 38016, 0xf6f4ed19
-0, 10800, 38016, 0xc31af64b
-0, 14400, 38016, 0x42161687
-0, 18000, 38016, 0xe88133a3
-0, 21600, 38016, 0xebb5415a
-0, 25200, 38016, 0x643c62ac
-0, 28800, 38016, 0x7ad68041
-0, 32400, 38016, 0x2625981b
-0, 36000, 38016, 0x1a839bbf
-0, 39600, 38016, 0xe41db3a9
-0, 43200, 38016, 0x894eb2dd
-0, 46800, 38016, 0x4633a2a2
-0, 50400, 38016, 0xeb848787
-0, 54000, 38016, 0x23c590b0
-0, 57600, 38016, 0xc7cbaf63
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb9ac19bd
+0, 1, 1, 1, 38016, 0x3898fc35
+0, 2, 2, 1, 38016, 0xf6f4ed19
+0, 3, 3, 1, 38016, 0xc31af64b
+0, 4, 4, 1, 38016, 0x42161687
+0, 5, 5, 1, 38016, 0xe88133a3
+0, 6, 6, 1, 38016, 0xebb5415a
+0, 7, 7, 1, 38016, 0x643c62ac
+0, 8, 8, 1, 38016, 0x7ad68041
+0, 9, 9, 1, 38016, 0x2625981b
+0, 10, 10, 1, 38016, 0x1a839bbf
+0, 11, 11, 1, 38016, 0xe41db3a9
+0, 12, 12, 1, 38016, 0x894eb2dd
+0, 13, 13, 1, 38016, 0x4633a2a2
+0, 14, 14, 1, 38016, 0xeb848787
+0, 15, 15, 1, 38016, 0x23c590b0
+0, 16, 16, 1, 38016, 0xc7cbaf63
diff --git a/tests/ref/fate/h264-conformance-sva_nl2_e b/tests/ref/fate/h264-conformance-sva_nl2_e
index 6c0a40ede2..1770eff2db 100644
--- a/tests/ref/fate/h264-conformance-sva_nl2_e
+++ b/tests/ref/fate/h264-conformance-sva_nl2_e
@@ -1,17 +1,18 @@
-0, 0, 38016, 0xb9ac19bd
-0, 3600, 38016, 0x53c91566
-0, 7200, 38016, 0xb5bd089f
-0, 10800, 38016, 0xb81320bb
-0, 14400, 38016, 0x7c793dce
-0, 18000, 38016, 0x3d605b31
-0, 21600, 38016, 0x40216830
-0, 25200, 38016, 0x11c48f52
-0, 28800, 38016, 0x0f37a013
-0, 32400, 38016, 0xb06cb753
-0, 36000, 38016, 0x6233ca83
-0, 39600, 38016, 0x02b6d5a1
-0, 43200, 38016, 0xf76cc409
-0, 46800, 38016, 0xd19fa5c3
-0, 50400, 38016, 0x8d1c8a02
-0, 54000, 38016, 0x6802966d
-0, 57600, 38016, 0x107fb055
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xb9ac19bd
+0, 1, 1, 1, 38016, 0x53c91566
+0, 2, 2, 1, 38016, 0xb5bd089f
+0, 3, 3, 1, 38016, 0xb81320bb
+0, 4, 4, 1, 38016, 0x7c793dce
+0, 5, 5, 1, 38016, 0x3d605b31
+0, 6, 6, 1, 38016, 0x40216830
+0, 7, 7, 1, 38016, 0x11c48f52
+0, 8, 8, 1, 38016, 0x0f37a013
+0, 9, 9, 1, 38016, 0xb06cb753
+0, 10, 10, 1, 38016, 0x6233ca83
+0, 11, 11, 1, 38016, 0x02b6d5a1
+0, 12, 12, 1, 38016, 0xf76cc409
+0, 13, 13, 1, 38016, 0xd19fa5c3
+0, 14, 14, 1, 38016, 0x8d1c8a02
+0, 15, 15, 1, 38016, 0x6802966d
+0, 16, 16, 1, 38016, 0x107fb055
diff --git a/tests/ref/fate/h264-extreme-plane-pred b/tests/ref/fate/h264-extreme-plane-pred
index d8bee85b6b..db85e99bbb 100644
--- a/tests/ref/fate/h264-extreme-plane-pred
+++ b/tests/ref/fate/h264-extreme-plane-pred
@@ -1,100 +1,101 @@
-0, 0, 152064, 1e857d2dfeea75297e090ffe9e37a249
-0, 3600, 152064, 29d8336b4e9b77298025074dbad641d1
-0, 7200, 152064, 3f1a87d2088a7708f4ed06890c8cd018
-0, 10800, 152064, 56b8b8d9fefbd501c4f7918f21f9b015
-0, 14400, 152064, 597392c162ea79af1e5d3dd552ffeb47
-0, 18000, 152064, 064fdd170aa24463409b1cb0ddc7f5b6
-0, 21600, 152064, 9924da4026b10110fa644039e73f92c1
-0, 25200, 152064, afdb77f4a4c87faaf35988bf2d1d7c18
-0, 28800, 152064, 80714dc3bf376f38c00f8c67fc534fae
-0, 32400, 152064, fb0ab4028e1e9879b0bf0e414c0ccb33
-0, 36000, 152064, 03c694f4b9e6116214078131f3edff91
-0, 39600, 152064, 22d2de0d8f9e5477230b50c50ec46269
-0, 43200, 152064, 470e9a6c5bbb15e151afbfd6b2f254a3
-0, 46800, 152064, b585555552169640b1a896094335b624
-0, 50400, 152064, e261e0f650e6d649a35773520e7f5bff
-0, 54000, 152064, 2d1bf889eef057016e473a041fbceac0
-0, 57600, 152064, b1a3f8ebf1de26bc8c32d47a4a53c862
-0, 61200, 152064, d5cdb80386dbb996ca007a0e210a9905
-0, 64800, 152064, 05a200df7b8baa19d2a0309476727dd7
-0, 68400, 152064, 890d62163f4aa70a2055d50de0395a35
-0, 72000, 152064, c00bdd1c5f0d69bae66ba46a897ad0ad
-0, 75600, 152064, 65f76c6d453822eb48b180ac630cbdce
-0, 79200, 152064, d6b85fc02c6d8efa53a9f0f148a0520e
-0, 82800, 152064, adcb1621c5100b8e201592328bcd11be
-0, 86400, 152064, bad7da936734cf4304c1564d6d3e74b9
-0, 90000, 152064, a98d1232d0c22e6967415700d980c67f
-0, 93600, 152064, 3fa1110c3ada7d37f0495a26774a58fb
-0, 97200, 152064, 37613c65cfd3d77e8dda3b5b913e467f
-0, 100800, 152064, 42a5cf583a82e722e04c04b10fd36542
-0, 104400, 152064, 41c2870e102e3584780cd0243baa1900
-0, 108000, 152064, da389397c874f5fd974c57278bd1e327
-0, 111600, 152064, 238c265971ef9144d3fe6bc95a2ea060
-0, 115200, 152064, 085c83a54aa9327e1e3ee76ffa337538
-0, 118800, 152064, f462966f59018b39c10f9a65a80a41f8
-0, 122400, 152064, 6e9697b7c8193b38551af4ef56861b7a
-0, 126000, 152064, e68113abf3e81a28cafd95d91871886e
-0, 129600, 152064, 35a78df5ac1ff6ee469626b750241c9b
-0, 133200, 152064, b3302a87e334634a9f92ce51acf96ab3
-0, 136800, 152064, 52198528552cefe90004a2b045b33e8f
-0, 140400, 152064, 12d9ad991d4bb7935342c8b6474d1726
-0, 144000, 152064, 2e6a508aba965f292c7b2e82bd0debbe
-0, 147600, 152064, 8daff69112bb5fbc0158cbbf7fbe057e
-0, 151200, 152064, 5495a0bb6c88a115957d98b272b0d643
-0, 154800, 152064, 955db92ab0c482381200247a207e12bc
-0, 158400, 152064, c0f81c5f95fd658c153798a514fedd22
-0, 162000, 152064, 3cfc7b9c2d73621cdb04d7e7e8bc2b3b
-0, 165600, 152064, e8b6d1d526d6443cba2e64ccd5393a4f
-0, 169200, 152064, 7722e2420db0279c9eb7c6f7dfa89c07
-0, 172800, 152064, 41b908a50b97a2e927f2e6e285e27592
-0, 176400, 152064, e05f0ddd08debc2a0578893662c33ce0
-0, 180000, 152064, 1edcedca921dbb68c0ce53371abddd8f
-0, 183600, 152064, cdbf0c89feb336e58472f0163e43b02b
-0, 187200, 152064, 39c4d20ecfeee09800feae5ad783e0bd
-0, 190800, 152064, f60d05d20b3f338aa5917490d2b58f77
-0, 194400, 152064, 76e5eae7a5205f6f6aaf8099197dbb1f
-0, 198000, 152064, f7c4c80e79b691826915b7810ab7c2a6
-0, 201600, 152064, afbc098dcaa8c2a3f41dfc3e846e8e7b
-0, 205200, 152064, 6582805bbe4ab9a9138a23deb2ca45a8
-0, 208800, 152064, 54444ce52dd1ce7bc24e9cbaba89dc59
-0, 212400, 152064, c81193469c0cd5a50c451d869e07a786
-0, 216000, 152064, 89f2295b63db3adce2961630569749a5
-0, 219600, 152064, 3f4d6dd4dd819168a358384d6b134d00
-0, 223200, 152064, 45d3b5c72609a15c1be5a45f790a24c4
-0, 226800, 152064, f2283a8bf9599754d2e251c5f0861199
-0, 230400, 152064, 06a9ccf8132c494884954bb4cc148c11
-0, 234000, 152064, e20e0143fc840db46a88a8556d887ea2
-0, 237600, 152064, bcb1ca471f70109293a15b7e1b0f3a7f
-0, 241200, 152064, 0c5f59f091b3fd5ced9bb626e5b66ec8
-0, 244800, 152064, 4dd6cf80daf74390afe0423f726c2fb6
-0, 248400, 152064, fd52e6d570960cf100ac7c973dbd222e
-0, 252000, 152064, 684758faa9b5517b2e5dbbabccc6125b
-0, 255600, 152064, e538a3bcb2125c8ac324a5be49470960
-0, 259200, 152064, 0c91795b7f52e942a1c28b4c6510c6fa
-0, 262800, 152064, b33315c61d714bd70d2adce3309633fe
-0, 266400, 152064, af2554b6b1d3f215641f85494a78ad3d
-0, 270000, 152064, e59b20b3b2c5ec215ea34ab4850f940e
-0, 273600, 152064, fb543e874bdd9749aaa710d1551e0ebd
-0, 277200, 152064, 4383abaf938da0282fecabed153bca0e
-0, 280800, 152064, 4ce40ffa75b42320593e40596c34862a
-0, 284400, 152064, f337d0cc81b5c1b1b92c3f367ed5f9cd
-0, 288000, 152064, 0f5a8c41fb7334811a485239d9126808
-0, 291600, 152064, 0daf3d981474940bdf10a93148d69353
-0, 295200, 152064, 21a51f1686071a6af7973df92361964b
-0, 298800, 152064, 1f0d471c7b1fa86f236c2dee32822464
-0, 302400, 152064, cedc6fd29d67976f899a6a8afba6b38d
-0, 306000, 152064, 4af936d3d3b456953c7beb551476824a
-0, 309600, 152064, bcaf539953adb1952fefc2cdec6c2f60
-0, 313200, 152064, d1dfeafa0939fddc256986c2b00f73c7
-0, 316800, 152064, 99c9a2c7b198e2c8cfe007ff4330f036
-0, 320400, 152064, 4db6a7edfc44389536983aeeb15edb66
-0, 324000, 152064, 8d840674b90e3b488a34e04645430ee7
-0, 327600, 152064, ad7b3e55a2eb62fc5102cc5af49301aa
-0, 331200, 152064, f24484a975ec64acb50df3e9f9e8eddd
-0, 334800, 152064, 5794617c7e40bfcb7f024bda2f2a991d
-0, 338400, 152064, ae1c22fcfa7f3b3b62dd2ace4e4b4dc7
-0, 342000, 152064, ad9d13345ae5322a578e43653e9a9c16
-0, 345600, 152064, be1b86ee130ea9255d9640117559818d
-0, 349200, 152064, 81ed195d2831e62fc2cd4fa886de8e20
-0, 352800, 152064, 8dde0af730b03ea8b3acd14d42daba04
-0, 356400, 152064, c8ffbd5ba1af8b881daf511e4d8c26f3
+#tb 0: 1/25
+0, 0, 0, 1, 152064, 1e857d2dfeea75297e090ffe9e37a249
+0, 1, 1, 1, 152064, 29d8336b4e9b77298025074dbad641d1
+0, 2, 2, 1, 152064, 3f1a87d2088a7708f4ed06890c8cd018
+0, 3, 3, 1, 152064, 56b8b8d9fefbd501c4f7918f21f9b015
+0, 4, 4, 1, 152064, 597392c162ea79af1e5d3dd552ffeb47
+0, 5, 5, 1, 152064, 064fdd170aa24463409b1cb0ddc7f5b6
+0, 6, 6, 1, 152064, 9924da4026b10110fa644039e73f92c1
+0, 7, 7, 1, 152064, afdb77f4a4c87faaf35988bf2d1d7c18
+0, 8, 8, 1, 152064, 80714dc3bf376f38c00f8c67fc534fae
+0, 9, 9, 1, 152064, fb0ab4028e1e9879b0bf0e414c0ccb33
+0, 10, 10, 1, 152064, 03c694f4b9e6116214078131f3edff91
+0, 11, 11, 1, 152064, 22d2de0d8f9e5477230b50c50ec46269
+0, 12, 12, 1, 152064, 470e9a6c5bbb15e151afbfd6b2f254a3
+0, 13, 13, 1, 152064, b585555552169640b1a896094335b624
+0, 14, 14, 1, 152064, e261e0f650e6d649a35773520e7f5bff
+0, 15, 15, 1, 152064, 2d1bf889eef057016e473a041fbceac0
+0, 16, 16, 1, 152064, b1a3f8ebf1de26bc8c32d47a4a53c862
+0, 17, 17, 1, 152064, d5cdb80386dbb996ca007a0e210a9905
+0, 18, 18, 1, 152064, 05a200df7b8baa19d2a0309476727dd7
+0, 19, 19, 1, 152064, 890d62163f4aa70a2055d50de0395a35
+0, 20, 20, 1, 152064, c00bdd1c5f0d69bae66ba46a897ad0ad
+0, 21, 21, 1, 152064, 65f76c6d453822eb48b180ac630cbdce
+0, 22, 22, 1, 152064, d6b85fc02c6d8efa53a9f0f148a0520e
+0, 23, 23, 1, 152064, adcb1621c5100b8e201592328bcd11be
+0, 24, 24, 1, 152064, bad7da936734cf4304c1564d6d3e74b9
+0, 25, 25, 1, 152064, a98d1232d0c22e6967415700d980c67f
+0, 26, 26, 1, 152064, 3fa1110c3ada7d37f0495a26774a58fb
+0, 27, 27, 1, 152064, 37613c65cfd3d77e8dda3b5b913e467f
+0, 28, 28, 1, 152064, 42a5cf583a82e722e04c04b10fd36542
+0, 29, 29, 1, 152064, 41c2870e102e3584780cd0243baa1900
+0, 30, 30, 1, 152064, da389397c874f5fd974c57278bd1e327
+0, 31, 31, 1, 152064, 238c265971ef9144d3fe6bc95a2ea060
+0, 32, 32, 1, 152064, 085c83a54aa9327e1e3ee76ffa337538
+0, 33, 33, 1, 152064, f462966f59018b39c10f9a65a80a41f8
+0, 34, 34, 1, 152064, 6e9697b7c8193b38551af4ef56861b7a
+0, 35, 35, 1, 152064, e68113abf3e81a28cafd95d91871886e
+0, 36, 36, 1, 152064, 35a78df5ac1ff6ee469626b750241c9b
+0, 37, 37, 1, 152064, b3302a87e334634a9f92ce51acf96ab3
+0, 38, 38, 1, 152064, 52198528552cefe90004a2b045b33e8f
+0, 39, 39, 1, 152064, 12d9ad991d4bb7935342c8b6474d1726
+0, 40, 40, 1, 152064, 2e6a508aba965f292c7b2e82bd0debbe
+0, 41, 41, 1, 152064, 8daff69112bb5fbc0158cbbf7fbe057e
+0, 42, 42, 1, 152064, 5495a0bb6c88a115957d98b272b0d643
+0, 43, 43, 1, 152064, 955db92ab0c482381200247a207e12bc
+0, 44, 44, 1, 152064, c0f81c5f95fd658c153798a514fedd22
+0, 45, 45, 1, 152064, 3cfc7b9c2d73621cdb04d7e7e8bc2b3b
+0, 46, 46, 1, 152064, e8b6d1d526d6443cba2e64ccd5393a4f
+0, 47, 47, 1, 152064, 7722e2420db0279c9eb7c6f7dfa89c07
+0, 48, 48, 1, 152064, 41b908a50b97a2e927f2e6e285e27592
+0, 49, 49, 1, 152064, e05f0ddd08debc2a0578893662c33ce0
+0, 50, 50, 1, 152064, 1edcedca921dbb68c0ce53371abddd8f
+0, 51, 51, 1, 152064, cdbf0c89feb336e58472f0163e43b02b
+0, 52, 52, 1, 152064, 39c4d20ecfeee09800feae5ad783e0bd
+0, 53, 53, 1, 152064, f60d05d20b3f338aa5917490d2b58f77
+0, 54, 54, 1, 152064, 76e5eae7a5205f6f6aaf8099197dbb1f
+0, 55, 55, 1, 152064, f7c4c80e79b691826915b7810ab7c2a6
+0, 56, 56, 1, 152064, afbc098dcaa8c2a3f41dfc3e846e8e7b
+0, 57, 57, 1, 152064, 6582805bbe4ab9a9138a23deb2ca45a8
+0, 58, 58, 1, 152064, 54444ce52dd1ce7bc24e9cbaba89dc59
+0, 59, 59, 1, 152064, c81193469c0cd5a50c451d869e07a786
+0, 60, 60, 1, 152064, 89f2295b63db3adce2961630569749a5
+0, 61, 61, 1, 152064, 3f4d6dd4dd819168a358384d6b134d00
+0, 62, 62, 1, 152064, 45d3b5c72609a15c1be5a45f790a24c4
+0, 63, 63, 1, 152064, f2283a8bf9599754d2e251c5f0861199
+0, 64, 64, 1, 152064, 06a9ccf8132c494884954bb4cc148c11
+0, 65, 65, 1, 152064, e20e0143fc840db46a88a8556d887ea2
+0, 66, 66, 1, 152064, bcb1ca471f70109293a15b7e1b0f3a7f
+0, 67, 67, 1, 152064, 0c5f59f091b3fd5ced9bb626e5b66ec8
+0, 68, 68, 1, 152064, 4dd6cf80daf74390afe0423f726c2fb6
+0, 69, 69, 1, 152064, fd52e6d570960cf100ac7c973dbd222e
+0, 70, 70, 1, 152064, 684758faa9b5517b2e5dbbabccc6125b
+0, 71, 71, 1, 152064, e538a3bcb2125c8ac324a5be49470960
+0, 72, 72, 1, 152064, 0c91795b7f52e942a1c28b4c6510c6fa
+0, 73, 73, 1, 152064, b33315c61d714bd70d2adce3309633fe
+0, 74, 74, 1, 152064, af2554b6b1d3f215641f85494a78ad3d
+0, 75, 75, 1, 152064, e59b20b3b2c5ec215ea34ab4850f940e
+0, 76, 76, 1, 152064, fb543e874bdd9749aaa710d1551e0ebd
+0, 77, 77, 1, 152064, 4383abaf938da0282fecabed153bca0e
+0, 78, 78, 1, 152064, 4ce40ffa75b42320593e40596c34862a
+0, 79, 79, 1, 152064, f337d0cc81b5c1b1b92c3f367ed5f9cd
+0, 80, 80, 1, 152064, 0f5a8c41fb7334811a485239d9126808
+0, 81, 81, 1, 152064, 0daf3d981474940bdf10a93148d69353
+0, 82, 82, 1, 152064, 21a51f1686071a6af7973df92361964b
+0, 83, 83, 1, 152064, 1f0d471c7b1fa86f236c2dee32822464
+0, 84, 84, 1, 152064, cedc6fd29d67976f899a6a8afba6b38d
+0, 85, 85, 1, 152064, 4af936d3d3b456953c7beb551476824a
+0, 86, 86, 1, 152064, bcaf539953adb1952fefc2cdec6c2f60
+0, 87, 87, 1, 152064, d1dfeafa0939fddc256986c2b00f73c7
+0, 88, 88, 1, 152064, 99c9a2c7b198e2c8cfe007ff4330f036
+0, 89, 89, 1, 152064, 4db6a7edfc44389536983aeeb15edb66
+0, 90, 90, 1, 152064, 8d840674b90e3b488a34e04645430ee7
+0, 91, 91, 1, 152064, ad7b3e55a2eb62fc5102cc5af49301aa
+0, 92, 92, 1, 152064, f24484a975ec64acb50df3e9f9e8eddd
+0, 93, 93, 1, 152064, 5794617c7e40bfcb7f024bda2f2a991d
+0, 94, 94, 1, 152064, ae1c22fcfa7f3b3b62dd2ace4e4b4dc7
+0, 95, 95, 1, 152064, ad9d13345ae5322a578e43653e9a9c16
+0, 96, 96, 1, 152064, be1b86ee130ea9255d9640117559818d
+0, 97, 97, 1, 152064, 81ed195d2831e62fc2cd4fa886de8e20
+0, 98, 98, 1, 152064, 8dde0af730b03ea8b3acd14d42daba04
+0, 99, 99, 1, 152064, c8ffbd5ba1af8b881daf511e4d8c26f3
diff --git a/tests/ref/fate/h264-interlace-crop b/tests/ref/fate/h264-interlace-crop
index 2202c089d6..81b979ca39 100644
--- a/tests/ref/fate/h264-interlace-crop
+++ b/tests/ref/fate/h264-interlace-crop
@@ -1,3 +1,4 @@
-0, 0, 345600, 0xa9cb7e5a
-0, 3600, 345600, 0x73e47555
-0, 7200, 345600, 0x87aac593
+#tb 0: 1/25
+0, 0, 0, 1, 345600, 0xa9cb7e5a
+0, 1, 1, 1, 345600, 0x73e47555
+0, 2, 2, 1, 345600, 0x87aac593
diff --git a/tests/ref/fate/h264-lossless b/tests/ref/fate/h264-lossless
index 30a70b5118..11cc4d0898 100644
--- a/tests/ref/fate/h264-lossless
+++ b/tests/ref/fate/h264-lossless
@@ -1,10 +1,11 @@
-0, 0, 460800, 0x7731dd2f
-0, 3600, 460800, 0x944b8c64
-0, 7200, 460800, 0xbe833041
-0, 10800, 460800, 0xbe95d96a
-0, 14400, 460800, 0xfe7ea5e6
-0, 18000, 460800, 0x381743c7
-0, 21600, 460800, 0x63fcc2e9
-0, 25200, 460800, 0x79574960
-0, 28800, 460800, 0xdab9e18a
-0, 32400, 460800, 0xd88e8fe8
+#tb 0: 1/25
+0, 0, 0, 1, 460800, 0x7731dd2f
+0, 1, 1, 1, 460800, 0x944b8c64
+0, 2, 2, 1, 460800, 0xbe833041
+0, 3, 3, 1, 460800, 0xbe95d96a
+0, 4, 4, 1, 460800, 0xfe7ea5e6
+0, 5, 5, 1, 460800, 0x381743c7
+0, 6, 6, 1, 460800, 0x63fcc2e9
+0, 7, 7, 1, 460800, 0x79574960
+0, 8, 8, 1, 460800, 0xdab9e18a
+0, 9, 9, 1, 460800, 0xd88e8fe8
diff --git a/tests/ref/fate/id-cin-video b/tests/ref/fate/id-cin-video
index 174cef87d8..241cae509e 100644
--- a/tests/ref/fate/id-cin-video
+++ b/tests/ref/fate/id-cin-video
@@ -1,105 +1,107 @@
-0, 0, 230400, 0x00000000
-1, 0, 6300, 0xdd759df8
-0, 6429, 230400, 0x3a3486b4
-1, 6429, 6300, 0x43aa398c
-0, 12857, 230400, 0xb6a9b772
-1, 12857, 6300, 0x61a7b9fd
-0, 19286, 230400, 0x8e2d4c03
-1, 19286, 6300, 0xfc8adbc8
-0, 25714, 230400, 0x5df342a9
-1, 25714, 6300, 0x84c4dffc
-0, 32143, 230400, 0x00f95cc9
-1, 32143, 6300, 0x3044ede1
-0, 38571, 230400, 0x72ee1c4c
-1, 38571, 6300, 0x6de5b64c
-0, 45000, 230400, 0x2bd991e8
-1, 45000, 6300, 0x1d9df1b0
-0, 51429, 230400, 0x84cf471e
-1, 51429, 6300, 0xb5864b86
-0, 57857, 230400, 0x75253428
-1, 57857, 6300, 0xf2f7fbc2
-0, 64286, 230400, 0x57246d42
-1, 64286, 6300, 0xe61307a8
-0, 70714, 230400, 0x57246d42
-1, 70714, 6300, 0x07fcd607
-0, 77143, 230400, 0x57246d42
-1, 77143, 6300, 0xb8dfbdf6
-0, 83571, 230400, 0x7072be1b
-1, 83571, 6300, 0xf308e40c
-0, 90000, 230400, 0x2e9ffcf2
-1, 90000, 6300, 0xa6163aa8
-0, 96429, 230400, 0x2e9ffcf2
-1, 96429, 6300, 0x3f74c286
-0, 102857, 230400, 0x1a5cb24d
-1, 102857, 6300, 0xcece754c
-0, 109286, 230400, 0x1a06c797
-1, 109286, 6300, 0x7c5b47b9
-0, 115714, 230400, 0x9e51b953
-1, 115714, 6300, 0x3a7baf37
-0, 122143, 230400, 0x9e51b953
-1, 122143, 6300, 0x56fd368e
-0, 128571, 230400, 0x9e51b953
-1, 128571, 6300, 0x68db250e
-0, 135000, 230400, 0x9e51b953
-1, 135000, 6300, 0x37d2d710
-0, 141429, 230400, 0x9e51b953
-1, 141429, 6300, 0xf458b88e
-0, 147857, 230400, 0xccd7c68d
-1, 147857, 6300, 0xed38430f
-0, 154286, 230400, 0x776da8bc
-1, 154286, 6300, 0xd5982d28
-0, 160714, 230400, 0x495bec1c
-1, 160714, 6300, 0x17465fb3
-0, 167143, 230400, 0x495bec1c
-1, 167143, 6300, 0xe4591d73
-0, 173571, 230400, 0x495bec1c
-1, 173571, 6300, 0x4cbbf957
-0, 180000, 230400, 0x495bec1c
-1, 180000, 6300, 0x4f031f50
-0, 186429, 230400, 0x495bec1c
-1, 186429, 6300, 0xc03f8ca1
-0, 192857, 230400, 0x495bec1c
-1, 192857, 6300, 0x1f0d133c
-0, 199286, 230400, 0x495bec1c
-1, 199286, 6300, 0x18dbbeb4
-0, 205714, 230400, 0xa1cae3f3
-1, 205714, 6300, 0xef3fa45f
-0, 212143, 230400, 0x5cd567eb
-1, 212143, 6300, 0x7880f935
-0, 218571, 230400, 0x57bbfe30
-1, 218571, 6300, 0x5eeca5d5
-0, 225000, 230400, 0xc7763926
-1, 225000, 6300, 0xda99accc
-0, 231429, 230400, 0xc7763926
-1, 231429, 6300, 0x90aea270
-0, 237857, 230400, 0xc7763926
-1, 237857, 6300, 0x7fc9da4e
-0, 244286, 230400, 0xc7763926
-1, 244286, 6300, 0xb64d34d4
-0, 250714, 230400, 0xc7763926
-1, 250714, 6300, 0x385ed9e7
-0, 257143, 230400, 0xc7763926
-1, 257143, 6300, 0xd2f5be45
-0, 263571, 230400, 0xc7763926
-1, 263571, 6300, 0x763fa974
-0, 270000, 230400, 0x0e68cb2f
-1, 270000, 6300, 0x5a785ec4
-0, 276429, 230400, 0x1a5d96ba
-1, 276429, 6300, 0x2877c5a5
-0, 282857, 230400, 0xff3554f4
-1, 282857, 6300, 0x667e81a5
-0, 289286, 230400, 0x74438207
-1, 289286, 6300, 0xdcfeffeb
-0, 295714, 230400, 0x488de02d
-1, 295714, 6300, 0x1aae1606
-0, 302143, 230400, 0x488de02d
-1, 302143, 6300, 0x37e0550f
-0, 308571, 230400, 0x488de02d
-1, 308571, 6300, 0x018202e9
-0, 315000, 230400, 0x488de02d
-1, 315000, 6300, 0x2b13de85
-0, 321429, 230400, 0x488de02d
-1, 321429, 6300, 0xe3bfa403
-0, 327857, 230400, 0x488de02d
-1, 327857, 6300, 0x2c5bd9c9
-0, 334286, 230400, 0x488de02d
+#tb 0: 1/14
+#tb 1: 1/22050
+0, 0, 0, 1, 230400, 0x00000000
+1, 0, 0, 1575, 6300, 0xdd759df8
+0, 1, 1, 1, 230400, 0x3a3486b4
+1, 1575, 1575, 1575, 6300, 0x43aa398c
+0, 2, 2, 1, 230400, 0xb6a9b772
+1, 3150, 3150, 1575, 6300, 0x61a7b9fd
+0, 3, 3, 1, 230400, 0x8e2d4c03
+1, 4725, 4725, 1575, 6300, 0xfc8adbc8
+0, 4, 4, 1, 230400, 0x5df342a9
+1, 6300, 6300, 1575, 6300, 0x84c4dffc
+0, 5, 5, 1, 230400, 0x00f95cc9
+1, 7875, 7875, 1575, 6300, 0x3044ede1
+0, 6, 6, 1, 230400, 0x72ee1c4c
+1, 9450, 9450, 1575, 6300, 0x6de5b64c
+0, 7, 7, 1, 230400, 0x2bd991e8
+1, 11025, 11025, 1575, 6300, 0x1d9df1b0
+0, 8, 8, 1, 230400, 0x84cf471e
+1, 12600, 12600, 1575, 6300, 0xb5864b86
+0, 9, 9, 1, 230400, 0x75253428
+1, 14175, 14175, 1575, 6300, 0xf2f7fbc2
+0, 10, 10, 1, 230400, 0x57246d42
+1, 15750, 15750, 1575, 6300, 0xe61307a8
+0, 11, 11, 1, 230400, 0x57246d42
+1, 17325, 17325, 1575, 6300, 0x07fcd607
+0, 12, 12, 1, 230400, 0x57246d42
+1, 18900, 18900, 1575, 6300, 0xb8dfbdf6
+0, 13, 13, 1, 230400, 0x7072be1b
+1, 20475, 20475, 1575, 6300, 0xf308e40c
+0, 14, 14, 1, 230400, 0x2e9ffcf2
+1, 22050, 22050, 1575, 6300, 0xa6163aa8
+0, 15, 15, 1, 230400, 0x2e9ffcf2
+1, 23625, 23625, 1575, 6300, 0x3f74c286
+0, 16, 16, 1, 230400, 0x1a5cb24d
+1, 25200, 25200, 1575, 6300, 0xcece754c
+0, 17, 17, 1, 230400, 0x1a06c797
+1, 26775, 26775, 1575, 6300, 0x7c5b47b9
+0, 18, 18, 1, 230400, 0x9e51b953
+1, 28350, 28350, 1575, 6300, 0x3a7baf37
+0, 19, 19, 1, 230400, 0x9e51b953
+1, 29925, 29925, 1575, 6300, 0x56fd368e
+0, 20, 20, 1, 230400, 0x9e51b953
+1, 31500, 31500, 1575, 6300, 0x68db250e
+0, 21, 21, 1, 230400, 0x9e51b953
+1, 33075, 33075, 1575, 6300, 0x37d2d710
+0, 22, 22, 1, 230400, 0x9e51b953
+1, 34650, 34650, 1575, 6300, 0xf458b88e
+0, 23, 23, 1, 230400, 0xccd7c68d
+1, 36225, 36225, 1575, 6300, 0xed38430f
+0, 24, 24, 1, 230400, 0x776da8bc
+1, 37800, 37800, 1575, 6300, 0xd5982d28
+0, 25, 25, 1, 230400, 0x495bec1c
+1, 39375, 39375, 1575, 6300, 0x17465fb3
+0, 26, 26, 1, 230400, 0x495bec1c
+1, 40950, 40950, 1575, 6300, 0xe4591d73
+0, 27, 27, 1, 230400, 0x495bec1c
+1, 42525, 42525, 1575, 6300, 0x4cbbf957
+0, 28, 28, 1, 230400, 0x495bec1c
+1, 44100, 44100, 1575, 6300, 0x4f031f50
+0, 29, 29, 1, 230400, 0x495bec1c
+1, 45675, 45675, 1575, 6300, 0xc03f8ca1
+0, 30, 30, 1, 230400, 0x495bec1c
+1, 47250, 47250, 1575, 6300, 0x1f0d133c
+0, 31, 31, 1, 230400, 0x495bec1c
+1, 48825, 48825, 1575, 6300, 0x18dbbeb4
+0, 32, 32, 1, 230400, 0xa1cae3f3
+1, 50400, 50400, 1575, 6300, 0xef3fa45f
+0, 33, 33, 1, 230400, 0x5cd567eb
+1, 51975, 51975, 1575, 6300, 0x7880f935
+0, 34, 34, 1, 230400, 0x57bbfe30
+1, 53550, 53550, 1575, 6300, 0x5eeca5d5
+0, 35, 35, 1, 230400, 0xc7763926
+1, 55125, 55125, 1575, 6300, 0xda99accc
+0, 36, 36, 1, 230400, 0xc7763926
+1, 56700, 56700, 1575, 6300, 0x90aea270
+0, 37, 37, 1, 230400, 0xc7763926
+1, 58275, 58275, 1575, 6300, 0x7fc9da4e
+0, 38, 38, 1, 230400, 0xc7763926
+1, 59850, 59850, 1575, 6300, 0xb64d34d4
+0, 39, 39, 1, 230400, 0xc7763926
+1, 61425, 61425, 1575, 6300, 0x385ed9e7
+0, 40, 40, 1, 230400, 0xc7763926
+1, 63000, 63000, 1575, 6300, 0xd2f5be45
+0, 41, 41, 1, 230400, 0xc7763926
+1, 64575, 64575, 1575, 6300, 0x763fa974
+0, 42, 42, 1, 230400, 0x0e68cb2f
+1, 66150, 66150, 1575, 6300, 0x5a785ec4
+0, 43, 43, 1, 230400, 0x1a5d96ba
+1, 67725, 67725, 1575, 6300, 0x2877c5a5
+0, 44, 44, 1, 230400, 0xff3554f4
+1, 69300, 69300, 1575, 6300, 0x667e81a5
+0, 45, 45, 1, 230400, 0x74438207
+1, 70875, 70875, 1575, 6300, 0xdcfeffeb
+0, 46, 46, 1, 230400, 0x488de02d
+1, 72450, 72450, 1575, 6300, 0x1aae1606
+0, 47, 47, 1, 230400, 0x488de02d
+1, 74025, 74025, 1575, 6300, 0x37e0550f
+0, 48, 48, 1, 230400, 0x488de02d
+1, 75600, 75600, 1575, 6300, 0x018202e9
+0, 49, 49, 1, 230400, 0x488de02d
+1, 77175, 77175, 1575, 6300, 0x2b13de85
+0, 50, 50, 1, 230400, 0x488de02d
+1, 78750, 78750, 1575, 6300, 0xe3bfa403
+0, 51, 51, 1, 230400, 0x488de02d
+1, 80325, 80325, 1575, 6300, 0x2c5bd9c9
+0, 52, 52, 1, 230400, 0x488de02d
diff --git a/tests/ref/fate/iff-byterun1 b/tests/ref/fate/iff-byterun1
index 8620c8637b..6f80c72d47 100644
--- a/tests/ref/fate/iff-byterun1
+++ b/tests/ref/fate/iff-byterun1
@@ -1 +1,2 @@
-0, 0, 230400, 0x35e51c62
+#tb 0: 1/90000
+0, 0, 0, 0, 230400, 0x35e51c62
diff --git a/tests/ref/fate/iff-ilbm b/tests/ref/fate/iff-ilbm
index eb253a0a9e..a801aff46d 100644
--- a/tests/ref/fate/iff-ilbm
+++ b/tests/ref/fate/iff-ilbm
@@ -1 +1,2 @@
-0, 0, 230400, 0x0929e342
+#tb 0: 1/90000
+0, 0, 0, 0, 230400, 0x0929e342
diff --git a/tests/ref/fate/indeo2 b/tests/ref/fate/indeo2
index 49fabb4590..9f80f35d0c 100644
--- a/tests/ref/fate/indeo2
+++ b/tests/ref/fate/indeo2
@@ -1,130 +1,131 @@
-0, 0, 21600, 0x57a2ba42
-0, 6000, 21600, 0x61e09615
-0, 12000, 21600, 0x826e4e63
-0, 18000, 21600, 0x107716ec
-0, 24000, 21600, 0xb35ce1f4
-0, 30000, 21600, 0x12cab085
-0, 36000, 21600, 0x2f917f69
-0, 42000, 21600, 0x25aa3d6e
-0, 48000, 21600, 0xab1bfbed
-0, 54000, 21600, 0x9936dff9
-0, 60000, 21600, 0xc23cd8e5
-0, 66000, 21600, 0xa7ebbcaa
-0, 72000, 21600, 0xd4dda045
-0, 78000, 21600, 0xcbce6d7d
-0, 84000, 21600, 0x3cf35baf
-0, 90000, 21600, 0x16de6008
-0, 96000, 21600, 0x49d41acf
-0, 102001, 21600, 0x8c630034
-0, 108001, 21600, 0x0b310296
-0, 114001, 21600, 0x4887067d
-0, 120001, 21600, 0x1219f29e
-0, 126001, 21600, 0x3f3fc0c8
-0, 132001, 21600, 0x1bd1d0fc
-0, 138001, 21600, 0x913f9d4c
-0, 144001, 21600, 0x69e9a6b4
-0, 150001, 21600, 0xcc2e917f
-0, 156001, 21600, 0xf6967e30
-0, 162001, 21600, 0xdf816593
-0, 168001, 21600, 0xfd945b75
-0, 174001, 21600, 0x7d7e0224
-0, 180001, 21600, 0x7246f584
-0, 186001, 21600, 0x07b7ce82
-0, 192001, 21600, 0xee16c291
-0, 198001, 21600, 0xf4efb53a
-0, 204001, 21600, 0x2e73a208
-0, 210001, 21600, 0x1c2b6068
-0, 216001, 21600, 0x004250de
-0, 222001, 21600, 0x61d957d9
-0, 228001, 21600, 0x8b5d2cb0
-0, 234001, 21600, 0xc0a91fbc
-0, 240001, 21600, 0xa38108fc
-0, 246001, 21600, 0x551f03b9
-0, 252001, 21600, 0x93def5ca
-0, 258001, 21600, 0xe8ecf8bb
-0, 264001, 21600, 0x4c04fbb0
-0, 270001, 21600, 0x0e41dae4
-0, 276001, 21600, 0xca9fb0df
-0, 282001, 21600, 0xb123af19
-0, 288001, 21600, 0xfd59be7a
-0, 294001, 21600, 0x2c88b7a6
-0, 300002, 21600, 0x64cc9a1f
-0, 306002, 21600, 0x73d6a9ba
-0, 312002, 21600, 0x79198a11
-0, 318002, 21600, 0x0d4a8610
-0, 324002, 21600, 0x352e71bc
-0, 330002, 21600, 0x08aa627e
-0, 336002, 21600, 0xbee36e45
-0, 342002, 21600, 0x30de5c1b
-0, 348002, 21600, 0x21d75484
-0, 354002, 21600, 0xe0e91d52
-0, 360002, 21600, 0x678c2ebb
-0, 366002, 21600, 0x2080397b
-0, 372002, 21600, 0x7dbc1333
-0, 378002, 21600, 0x9c730ad0
-0, 384002, 21600, 0x4da50f55
-0, 390002, 21600, 0xdde5eaa7
-0, 396002, 21600, 0x949ed4fa
-0, 402002, 21600, 0x5d63bc54
-0, 408002, 21600, 0xc5dcba4f
-0, 414002, 21600, 0xd68caee1
-0, 420002, 21600, 0xf7409fc9
-0, 426002, 21600, 0x6b0ca3e5
-0, 432002, 21600, 0xd133a108
-0, 438002, 21600, 0xf2687b81
-0, 444002, 21600, 0x6e94645d
-0, 450002, 21600, 0xff7e7524
-0, 456002, 21600, 0x8c7255dd
-0, 462002, 21600, 0x84e979cf
-0, 468002, 21600, 0xaa4e7127
-0, 474002, 21600, 0x0b56708c
-0, 480002, 21600, 0x38f086c4
-0, 486002, 21600, 0x6a7086f6
-0, 492002, 21600, 0x57a3619d
-0, 498002, 21600, 0xee27639a
-0, 504003, 21600, 0x754b7ec6
-0, 510003, 21600, 0x2f7b428c
-0, 516003, 21600, 0x0dc94603
-0, 522003, 21600, 0xeede54d8
-0, 528003, 21600, 0x587b4725
-0, 534003, 21600, 0xe7c72c7a
-0, 540003, 21600, 0x523949cb
-0, 546003, 21600, 0xeade5385
-0, 552003, 21600, 0x1a8f45c8
-0, 558003, 21600, 0x814a393c
-0, 564003, 21600, 0xe7b34887
-0, 570003, 21600, 0x8eef3f5f
-0, 576003, 21600, 0x56f12f08
-0, 582003, 21600, 0xb2d02448
-0, 588003, 21600, 0xb7d936db
-0, 594003, 21600, 0x45f726ab
-0, 600003, 21600, 0x6012404d
-0, 606003, 21600, 0x273c254e
-0, 612003, 21600, 0x38e82c19
-0, 618003, 21600, 0x73653274
-0, 624003, 21600, 0x2ff63b0c
-0, 630003, 21600, 0x96d03611
-0, 636003, 21600, 0xee8c29d7
-0, 642003, 21600, 0xac043199
-0, 648003, 21600, 0xd2c741a7
-0, 654003, 21600, 0xdc7b2b81
-0, 660003, 21600, 0x376f438f
-0, 666003, 21600, 0x55442ff7
-0, 672003, 21600, 0x653b1472
-0, 678003, 21600, 0xc4293779
-0, 684003, 21600, 0xc6553740
-0, 690003, 21600, 0xcf441053
-0, 696003, 21600, 0xb1531bce
-0, 702004, 21600, 0x145323b3
-0, 708004, 21600, 0x916c2e9e
-0, 714004, 21600, 0xb89bfecc
-0, 720004, 21600, 0x8e2415b9
-0, 726004, 21600, 0x5af23021
-0, 732004, 21600, 0x53e81c10
-0, 738004, 21600, 0xf7f82a6f
-0, 744004, 21600, 0x851121a2
-0, 750004, 21600, 0xa8432bd2
-0, 756004, 21600, 0x1a381799
-0, 762004, 21600, 0xbb761384
-0, 768004, 21600, 0xc8f328d5
-0, 774004, 21600, 0xb3742e8a
+#tb 0: 66667/1000000
+0, 0, 0, 1, 21600, 0x57a2ba42
+0, 1, 1, 1, 21600, 0x61e09615
+0, 2, 2, 1, 21600, 0x826e4e63
+0, 3, 3, 1, 21600, 0x107716ec
+0, 4, 4, 1, 21600, 0xb35ce1f4
+0, 5, 5, 1, 21600, 0x12cab085
+0, 6, 6, 1, 21600, 0x2f917f69
+0, 7, 7, 1, 21600, 0x25aa3d6e
+0, 8, 8, 1, 21600, 0xab1bfbed
+0, 9, 9, 1, 21600, 0x9936dff9
+0, 10, 10, 1, 21600, 0xc23cd8e5
+0, 11, 11, 1, 21600, 0xa7ebbcaa
+0, 12, 12, 1, 21600, 0xd4dda045
+0, 13, 13, 1, 21600, 0xcbce6d7d
+0, 14, 14, 1, 21600, 0x3cf35baf
+0, 15, 15, 1, 21600, 0x16de6008
+0, 16, 16, 1, 21600, 0x49d41acf
+0, 17, 17, 1, 21600, 0x8c630034
+0, 18, 18, 1, 21600, 0x0b310296
+0, 19, 19, 1, 21600, 0x4887067d
+0, 20, 20, 1, 21600, 0x1219f29e
+0, 21, 21, 1, 21600, 0x3f3fc0c8
+0, 22, 22, 1, 21600, 0x1bd1d0fc
+0, 23, 23, 1, 21600, 0x913f9d4c
+0, 24, 24, 1, 21600, 0x69e9a6b4
+0, 25, 25, 1, 21600, 0xcc2e917f
+0, 26, 26, 1, 21600, 0xf6967e30
+0, 27, 27, 1, 21600, 0xdf816593
+0, 28, 28, 1, 21600, 0xfd945b75
+0, 29, 29, 1, 21600, 0x7d7e0224
+0, 30, 30, 1, 21600, 0x7246f584
+0, 31, 31, 1, 21600, 0x07b7ce82
+0, 32, 32, 1, 21600, 0xee16c291
+0, 33, 33, 1, 21600, 0xf4efb53a
+0, 34, 34, 1, 21600, 0x2e73a208
+0, 35, 35, 1, 21600, 0x1c2b6068
+0, 36, 36, 1, 21600, 0x004250de
+0, 37, 37, 1, 21600, 0x61d957d9
+0, 38, 38, 1, 21600, 0x8b5d2cb0
+0, 39, 39, 1, 21600, 0xc0a91fbc
+0, 40, 40, 1, 21600, 0xa38108fc
+0, 41, 41, 1, 21600, 0x551f03b9
+0, 42, 42, 1, 21600, 0x93def5ca
+0, 43, 43, 1, 21600, 0xe8ecf8bb
+0, 44, 44, 1, 21600, 0x4c04fbb0
+0, 45, 45, 1, 21600, 0x0e41dae4
+0, 46, 46, 1, 21600, 0xca9fb0df
+0, 47, 47, 1, 21600, 0xb123af19
+0, 48, 48, 1, 21600, 0xfd59be7a
+0, 49, 49, 1, 21600, 0x2c88b7a6
+0, 50, 50, 1, 21600, 0x64cc9a1f
+0, 51, 51, 1, 21600, 0x73d6a9ba
+0, 52, 52, 1, 21600, 0x79198a11
+0, 53, 53, 1, 21600, 0x0d4a8610
+0, 54, 54, 1, 21600, 0x352e71bc
+0, 55, 55, 1, 21600, 0x08aa627e
+0, 56, 56, 1, 21600, 0xbee36e45
+0, 57, 57, 1, 21600, 0x30de5c1b
+0, 58, 58, 1, 21600, 0x21d75484
+0, 59, 59, 1, 21600, 0xe0e91d52
+0, 60, 60, 1, 21600, 0x678c2ebb
+0, 61, 61, 1, 21600, 0x2080397b
+0, 62, 62, 1, 21600, 0x7dbc1333
+0, 63, 63, 1, 21600, 0x9c730ad0
+0, 64, 64, 1, 21600, 0x4da50f55
+0, 65, 65, 1, 21600, 0xdde5eaa7
+0, 66, 66, 1, 21600, 0x949ed4fa
+0, 67, 67, 1, 21600, 0x5d63bc54
+0, 68, 68, 1, 21600, 0xc5dcba4f
+0, 69, 69, 1, 21600, 0xd68caee1
+0, 70, 70, 1, 21600, 0xf7409fc9
+0, 71, 71, 1, 21600, 0x6b0ca3e5
+0, 72, 72, 1, 21600, 0xd133a108
+0, 73, 73, 1, 21600, 0xf2687b81
+0, 74, 74, 1, 21600, 0x6e94645d
+0, 75, 75, 1, 21600, 0xff7e7524
+0, 76, 76, 1, 21600, 0x8c7255dd
+0, 77, 77, 1, 21600, 0x84e979cf
+0, 78, 78, 1, 21600, 0xaa4e7127
+0, 79, 79, 1, 21600, 0x0b56708c
+0, 80, 80, 1, 21600, 0x38f086c4
+0, 81, 81, 1, 21600, 0x6a7086f6
+0, 82, 82, 1, 21600, 0x57a3619d
+0, 83, 83, 1, 21600, 0xee27639a
+0, 84, 84, 1, 21600, 0x754b7ec6
+0, 85, 85, 1, 21600, 0x2f7b428c
+0, 86, 86, 1, 21600, 0x0dc94603
+0, 87, 87, 1, 21600, 0xeede54d8
+0, 88, 88, 1, 21600, 0x587b4725
+0, 89, 89, 1, 21600, 0xe7c72c7a
+0, 90, 90, 1, 21600, 0x523949cb
+0, 91, 91, 1, 21600, 0xeade5385
+0, 92, 92, 1, 21600, 0x1a8f45c8
+0, 93, 93, 1, 21600, 0x814a393c
+0, 94, 94, 1, 21600, 0xe7b34887
+0, 95, 95, 1, 21600, 0x8eef3f5f
+0, 96, 96, 1, 21600, 0x56f12f08
+0, 97, 97, 1, 21600, 0xb2d02448
+0, 98, 98, 1, 21600, 0xb7d936db
+0, 99, 99, 1, 21600, 0x45f726ab
+0, 100, 100, 1, 21600, 0x6012404d
+0, 101, 101, 1, 21600, 0x273c254e
+0, 102, 102, 1, 21600, 0x38e82c19
+0, 103, 103, 1, 21600, 0x73653274
+0, 104, 104, 1, 21600, 0x2ff63b0c
+0, 105, 105, 1, 21600, 0x96d03611
+0, 106, 106, 1, 21600, 0xee8c29d7
+0, 107, 107, 1, 21600, 0xac043199
+0, 108, 108, 1, 21600, 0xd2c741a7
+0, 109, 109, 1, 21600, 0xdc7b2b81
+0, 110, 110, 1, 21600, 0x376f438f
+0, 111, 111, 1, 21600, 0x55442ff7
+0, 112, 112, 1, 21600, 0x653b1472
+0, 113, 113, 1, 21600, 0xc4293779
+0, 114, 114, 1, 21600, 0xc6553740
+0, 115, 115, 1, 21600, 0xcf441053
+0, 116, 116, 1, 21600, 0xb1531bce
+0, 117, 117, 1, 21600, 0x145323b3
+0, 118, 118, 1, 21600, 0x916c2e9e
+0, 119, 119, 1, 21600, 0xb89bfecc
+0, 120, 120, 1, 21600, 0x8e2415b9
+0, 121, 121, 1, 21600, 0x5af23021
+0, 122, 122, 1, 21600, 0x53e81c10
+0, 123, 123, 1, 21600, 0xf7f82a6f
+0, 124, 124, 1, 21600, 0x851121a2
+0, 125, 125, 1, 21600, 0xa8432bd2
+0, 126, 126, 1, 21600, 0x1a381799
+0, 127, 127, 1, 21600, 0xbb761384
+0, 128, 128, 1, 21600, 0xc8f328d5
+0, 129, 129, 1, 21600, 0xb3742e8a
diff --git a/tests/ref/fate/indeo3 b/tests/ref/fate/indeo3
index ee34b278c9..0f5564928f 100644
--- a/tests/ref/fate/indeo3
+++ b/tests/ref/fate/indeo3
@@ -1,40 +1,41 @@
-0, 0, 21600, 0x845098fc
-0, 9000, 21600, 0xc28e8bf0
-0, 18000, 21600, 0x2f418fb4
-0, 27000, 21600, 0x051d7a0e
-0, 36000, 21600, 0x1b36aa7c
-0, 45000, 21600, 0xb9e2ad38
-0, 54000, 21600, 0x8dc99b60
-0, 63000, 21600, 0xa3fa789a
-0, 72000, 21600, 0x1fdbade2
-0, 81000, 21600, 0x4f4ac164
-0, 90000, 21600, 0x0ea5cb50
-0, 99000, 21600, 0xfb659528
-0, 108000, 21600, 0xac5790f8
-0, 117000, 21600, 0x9762beb4
-0, 126000, 21600, 0x29b0da0a
-0, 135000, 21600, 0x6d88b0da
-0, 144000, 21600, 0x687b8efa
-0, 153000, 21600, 0xcd726220
-0, 162000, 21600, 0xa1766598
-0, 171000, 21600, 0xff4b8074
-0, 180000, 21600, 0x845098fc
-0, 189000, 21600, 0xdb259e08
-0, 198000, 21600, 0xb6bda5a0
-0, 207000, 21600, 0xbb998962
-0, 216000, 21600, 0x28aa7b7c
-0, 225000, 21600, 0x1ad1a15c
-0, 234000, 21600, 0xb535a128
-0, 243000, 21600, 0x4dbf968a
-0, 252000, 21600, 0xfe90a8d6
-0, 261000, 21600, 0xf63fabf0
-0, 270000, 21600, 0xd6fabe58
-0, 279000, 21600, 0x172eb09c
-0, 288000, 21600, 0x44f8a8fe
-0, 297000, 21600, 0x29429a06
-0, 306000, 21600, 0xb12f8cc4
-0, 315000, 21600, 0xd0c78cb4
-0, 324000, 21600, 0x97e17e0c
-0, 333000, 21600, 0xf8ac6700
-0, 342000, 21600, 0xf9c17c94
-0, 351000, 21600, 0xb10e8c54
+#tb 0: 1/10
+0, 0, 0, 1, 21600, 0x845098fc
+0, 1, 1, 1, 21600, 0xc28e8bf0
+0, 2, 2, 1, 21600, 0x2f418fb4
+0, 3, 3, 1, 21600, 0x051d7a0e
+0, 4, 4, 1, 21600, 0x1b36aa7c
+0, 5, 5, 1, 21600, 0xb9e2ad38
+0, 6, 6, 1, 21600, 0x8dc99b60
+0, 7, 7, 1, 21600, 0xa3fa789a
+0, 8, 8, 1, 21600, 0x1fdbade2
+0, 9, 9, 1, 21600, 0x4f4ac164
+0, 10, 10, 1, 21600, 0x0ea5cb50
+0, 11, 11, 1, 21600, 0xfb659528
+0, 12, 12, 1, 21600, 0xac5790f8
+0, 13, 13, 1, 21600, 0x9762beb4
+0, 14, 14, 1, 21600, 0x29b0da0a
+0, 15, 15, 1, 21600, 0x6d88b0da
+0, 16, 16, 1, 21600, 0x687b8efa
+0, 17, 17, 1, 21600, 0xcd726220
+0, 18, 18, 1, 21600, 0xa1766598
+0, 19, 19, 1, 21600, 0xff4b8074
+0, 20, 20, 1, 21600, 0x845098fc
+0, 21, 21, 1, 21600, 0xdb259e08
+0, 22, 22, 1, 21600, 0xb6bda5a0
+0, 23, 23, 1, 21600, 0xbb998962
+0, 24, 24, 1, 21600, 0x28aa7b7c
+0, 25, 25, 1, 21600, 0x1ad1a15c
+0, 26, 26, 1, 21600, 0xb535a128
+0, 27, 27, 1, 21600, 0x4dbf968a
+0, 28, 28, 1, 21600, 0xfe90a8d6
+0, 29, 29, 1, 21600, 0xf63fabf0
+0, 30, 30, 1, 21600, 0xd6fabe58
+0, 31, 31, 1, 21600, 0x172eb09c
+0, 32, 32, 1, 21600, 0x44f8a8fe
+0, 33, 33, 1, 21600, 0x29429a06
+0, 34, 34, 1, 21600, 0xb12f8cc4
+0, 35, 35, 1, 21600, 0xd0c78cb4
+0, 36, 36, 1, 21600, 0x97e17e0c
+0, 37, 37, 1, 21600, 0xf8ac6700
+0, 38, 38, 1, 21600, 0xf9c17c94
+0, 39, 39, 1, 21600, 0xb10e8c54
diff --git a/tests/ref/fate/indeo4 b/tests/ref/fate/indeo4
index 0f088ec7d9..7f60461337 100644
--- a/tests/ref/fate/indeo4
+++ b/tests/ref/fate/indeo4
@@ -1,100 +1,101 @@
-0, 0, 86400, 0x98f5e422
-0, 6000, 86400, 0x1864cb06
-0, 12000, 86400, 0xb09532ef
-0, 18000, 86400, 0x3cd3dcdc
-0, 24000, 86400, 0xe738847f
-0, 30000, 86400, 0xc9b13afb
-0, 36000, 86400, 0x5005d035
-0, 42000, 86400, 0x22f63e17
-0, 48000, 86400, 0x93391f02
-0, 54000, 86400, 0x264830fd
-0, 60000, 86400, 0x8fff9f5f
-0, 66000, 86400, 0x524997fe
-0, 72000, 86400, 0x54e330f9
-0, 78000, 86400, 0x1d766a22
-0, 84000, 86400, 0x683a70ac
-0, 90000, 86400, 0x553b7b3d
-0, 96000, 86400, 0x822c79bc
-0, 102000, 86400, 0xe1087a1c
-0, 108000, 86400, 0xff397595
-0, 114000, 86400, 0x1b6b7717
-0, 120000, 86400, 0x6c5275c1
-0, 126000, 86400, 0x4e6a7189
-0, 132000, 86400, 0x285c6eba
-0, 138000, 86400, 0xce647227
-0, 144000, 86400, 0xa0d07b1c
-0, 150000, 86400, 0x5b567861
-0, 156000, 86400, 0x105873ec
-0, 162000, 86400, 0x59267fa0
-0, 168000, 86400, 0xaeac839f
-0, 174000, 86400, 0x2faf7402
-0, 180000, 86400, 0xc8547a30
-0, 186000, 86400, 0x3d357d49
-0, 192000, 86400, 0x75db6d6c
-0, 198000, 86400, 0x9fbf68e9
-0, 204000, 86400, 0x56a64d26
-0, 210000, 86400, 0xce9e1f43
-0, 216000, 86400, 0xa4d7fddc
-0, 222000, 86400, 0x3e20d77c
-0, 228000, 86400, 0x4680661d
-0, 234000, 86400, 0xf1b20af3
-0, 240000, 86400, 0xb79d8045
-0, 246000, 86400, 0x9479fc8a
-0, 252000, 86400, 0x232965c3
-0, 258000, 86400, 0xd18bca17
-0, 264000, 86400, 0xb9064249
-0, 270000, 86400, 0xcc48ab34
-0, 276000, 86400, 0xe25018cd
-0, 282000, 86400, 0x8da489ee
-0, 288000, 86400, 0x90de0fc1
-0, 294000, 86400, 0x2428dcee
-0, 300000, 86400, 0x4316e1ae
-0, 306000, 86400, 0x2b25e54c
-0, 312000, 86400, 0x736ce020
-0, 318000, 86400, 0x9a6be09a
-0, 324000, 86400, 0x23bddbcd
-0, 330000, 86400, 0x9368e465
-0, 336000, 86400, 0x1ae9bb87
-0, 342000, 86400, 0x4e591f32
-0, 348000, 86400, 0xba1bf9dc
-0, 354000, 86400, 0x07f0aa60
-0, 360000, 86400, 0xf5a2cfa2
-0, 366000, 86400, 0xcba5fc18
-0, 372000, 86400, 0x858c0cfe
-0, 378000, 86400, 0xac73ecd4
-0, 384000, 86400, 0xf41bf03c
-0, 390000, 86400, 0x928ed146
-0, 396000, 86400, 0x9ff5990a
-0, 402000, 86400, 0xc2fabc3d
-0, 408000, 86400, 0x94af87a3
-0, 414000, 86400, 0x9bae514c
-0, 420000, 86400, 0xe0da267a
-0, 426000, 86400, 0x1d40f55c
-0, 432000, 86400, 0xe6173b68
-0, 438000, 86400, 0x1445490d
-0, 444000, 86400, 0x8d8753c1
-0, 450000, 86400, 0xe5a7779d
-0, 456000, 86400, 0x3cfc66ef
-0, 462000, 86400, 0xa5d45608
-0, 468000, 86400, 0x62f17be1
-0, 474000, 86400, 0xa64c84d3
-0, 480000, 86400, 0xf98162f0
-0, 486000, 86400, 0x0db77d9f
-0, 492000, 86400, 0x0f0cbac9
-0, 498000, 86400, 0xb9934e97
-0, 504000, 86400, 0x7f8fa248
-0, 510000, 86400, 0xdfd96768
-0, 516000, 86400, 0x81b07919
-0, 522000, 86400, 0x66c11e9f
-0, 528000, 86400, 0xd86eb114
-0, 534000, 86400, 0x67f20c1f
-0, 540000, 86400, 0x66915de5
-0, 546000, 86400, 0x2b8aa76f
-0, 552000, 86400, 0x85b5a3d2
-0, 558000, 86400, 0x80d29ed6
-0, 564000, 86400, 0x4d508e2c
-0, 570000, 86400, 0x0d407374
-0, 576000, 86400, 0xd4068016
-0, 582000, 86400, 0x6ffab98f
-0, 588000, 86400, 0x2360903d
-0, 594000, 86400, 0x470e04a0
+#tb 0: 1/15
+0, 0, 0, 1, 86400, 0x98f5e422
+0, 1, 1, 1, 86400, 0x1864cb06
+0, 2, 2, 1, 86400, 0xb09532ef
+0, 3, 3, 1, 86400, 0x3cd3dcdc
+0, 4, 4, 1, 86400, 0xe738847f
+0, 5, 5, 1, 86400, 0xc9b13afb
+0, 6, 6, 1, 86400, 0x5005d035
+0, 7, 7, 1, 86400, 0x22f63e17
+0, 8, 8, 1, 86400, 0x93391f02
+0, 9, 9, 1, 86400, 0x264830fd
+0, 10, 10, 1, 86400, 0x8fff9f5f
+0, 11, 11, 1, 86400, 0x524997fe
+0, 12, 12, 1, 86400, 0x54e330f9
+0, 13, 13, 1, 86400, 0x1d766a22
+0, 14, 14, 1, 86400, 0x683a70ac
+0, 15, 15, 1, 86400, 0x553b7b3d
+0, 16, 16, 1, 86400, 0x822c79bc
+0, 17, 17, 1, 86400, 0xe1087a1c
+0, 18, 18, 1, 86400, 0xff397595
+0, 19, 19, 1, 86400, 0x1b6b7717
+0, 20, 20, 1, 86400, 0x6c5275c1
+0, 21, 21, 1, 86400, 0x4e6a7189
+0, 22, 22, 1, 86400, 0x285c6eba
+0, 23, 23, 1, 86400, 0xce647227
+0, 24, 24, 1, 86400, 0xa0d07b1c
+0, 25, 25, 1, 86400, 0x5b567861
+0, 26, 26, 1, 86400, 0x105873ec
+0, 27, 27, 1, 86400, 0x59267fa0
+0, 28, 28, 1, 86400, 0xaeac839f
+0, 29, 29, 1, 86400, 0x2faf7402
+0, 30, 30, 1, 86400, 0xc8547a30
+0, 31, 31, 1, 86400, 0x3d357d49
+0, 32, 32, 1, 86400, 0x75db6d6c
+0, 33, 33, 1, 86400, 0x9fbf68e9
+0, 34, 34, 1, 86400, 0x56a64d26
+0, 35, 35, 1, 86400, 0xce9e1f43
+0, 36, 36, 1, 86400, 0xa4d7fddc
+0, 37, 37, 1, 86400, 0x3e20d77c
+0, 38, 38, 1, 86400, 0x4680661d
+0, 39, 39, 1, 86400, 0xf1b20af3
+0, 40, 40, 1, 86400, 0xb79d8045
+0, 41, 41, 1, 86400, 0x9479fc8a
+0, 42, 42, 1, 86400, 0x232965c3
+0, 43, 43, 1, 86400, 0xd18bca17
+0, 44, 44, 1, 86400, 0xb9064249
+0, 45, 45, 1, 86400, 0xcc48ab34
+0, 46, 46, 1, 86400, 0xe25018cd
+0, 47, 47, 1, 86400, 0x8da489ee
+0, 48, 48, 1, 86400, 0x90de0fc1
+0, 49, 49, 1, 86400, 0x2428dcee
+0, 50, 50, 1, 86400, 0x4316e1ae
+0, 51, 51, 1, 86400, 0x2b25e54c
+0, 52, 52, 1, 86400, 0x736ce020
+0, 53, 53, 1, 86400, 0x9a6be09a
+0, 54, 54, 1, 86400, 0x23bddbcd
+0, 55, 55, 1, 86400, 0x9368e465
+0, 56, 56, 1, 86400, 0x1ae9bb87
+0, 57, 57, 1, 86400, 0x4e591f32
+0, 58, 58, 1, 86400, 0xba1bf9dc
+0, 59, 59, 1, 86400, 0x07f0aa60
+0, 60, 60, 1, 86400, 0xf5a2cfa2
+0, 61, 61, 1, 86400, 0xcba5fc18
+0, 62, 62, 1, 86400, 0x858c0cfe
+0, 63, 63, 1, 86400, 0xac73ecd4
+0, 64, 64, 1, 86400, 0xf41bf03c
+0, 65, 65, 1, 86400, 0x928ed146
+0, 66, 66, 1, 86400, 0x9ff5990a
+0, 67, 67, 1, 86400, 0xc2fabc3d
+0, 68, 68, 1, 86400, 0x94af87a3
+0, 69, 69, 1, 86400, 0x9bae514c
+0, 70, 70, 1, 86400, 0xe0da267a
+0, 71, 71, 1, 86400, 0x1d40f55c
+0, 72, 72, 1, 86400, 0xe6173b68
+0, 73, 73, 1, 86400, 0x1445490d
+0, 74, 74, 1, 86400, 0x8d8753c1
+0, 75, 75, 1, 86400, 0xe5a7779d
+0, 76, 76, 1, 86400, 0x3cfc66ef
+0, 77, 77, 1, 86400, 0xa5d45608
+0, 78, 78, 1, 86400, 0x62f17be1
+0, 79, 79, 1, 86400, 0xa64c84d3
+0, 80, 80, 1, 86400, 0xf98162f0
+0, 81, 81, 1, 86400, 0x0db77d9f
+0, 82, 82, 1, 86400, 0x0f0cbac9
+0, 83, 83, 1, 86400, 0xb9934e97
+0, 84, 84, 1, 86400, 0x7f8fa248
+0, 85, 85, 1, 86400, 0xdfd96768
+0, 86, 86, 1, 86400, 0x81b07919
+0, 87, 87, 1, 86400, 0x66c11e9f
+0, 88, 88, 1, 86400, 0xd86eb114
+0, 89, 89, 1, 86400, 0x67f20c1f
+0, 90, 90, 1, 86400, 0x66915de5
+0, 91, 91, 1, 86400, 0x2b8aa76f
+0, 92, 92, 1, 86400, 0x85b5a3d2
+0, 93, 93, 1, 86400, 0x80d29ed6
+0, 94, 94, 1, 86400, 0x4d508e2c
+0, 95, 95, 1, 86400, 0x0d407374
+0, 96, 96, 1, 86400, 0xd4068016
+0, 97, 97, 1, 86400, 0x6ffab98f
+0, 98, 98, 1, 86400, 0x2360903d
+0, 99, 99, 1, 86400, 0x470e04a0
diff --git a/tests/ref/fate/indeo5 b/tests/ref/fate/indeo5
index 73fe74cf34..3f0adfb4ee 100644
--- a/tests/ref/fate/indeo5
+++ b/tests/ref/fate/indeo5
@@ -1,134 +1,135 @@
-0, 0, 48600, 0x72d4193b
-0, 6000, 48600, 0x72d4193b
-0, 12000, 48600, 0x36abd6f3
-0, 18000, 48600, 0x99e582f7
-0, 24000, 48600, 0xa4cb6fb7
-0, 30000, 48600, 0xf9b5657b
-0, 36000, 48600, 0xb7d666a4
-0, 42000, 48600, 0xb7345308
-0, 48000, 48600, 0x4f5339b9
-0, 54000, 48600, 0x1a9a02c7
-0, 60000, 48600, 0x4ed40866
-0, 66000, 48600, 0x635bf2af
-0, 72000, 48600, 0x12c02f49
-0, 78000, 48600, 0xc548a36d
-0, 84000, 48600, 0x9d9ffbf0
-0, 90000, 48600, 0x4f9dba66
-0, 96000, 48600, 0x2332b0e4
-0, 102000, 48600, 0x6c64342d
-0, 108000, 48600, 0x81156d54
-0, 114000, 48600, 0x8bfb9f04
-0, 120000, 48600, 0xd6bc38db
-0, 126000, 48600, 0x64de39d7
-0, 132000, 48600, 0xbddb3c37
-0, 138000, 48600, 0x15b75a31
-0, 144000, 48600, 0xa2dd7bdf
-0, 150000, 48600, 0xe4fb9b25
-0, 156000, 48600, 0xf2788234
-0, 162000, 48600, 0xa481a3d0
-0, 168000, 48600, 0x6087c790
-0, 174000, 48600, 0xf1dacfa1
-0, 180000, 48600, 0xe29e2e78
-0, 186000, 48600, 0x505b2db1
-0, 192000, 48600, 0x7bc56b02
-0, 198000, 48600, 0x3f7640de
-0, 204000, 48600, 0xd21a3f0b
-0, 210000, 48600, 0x92dc9b72
-0, 216000, 48600, 0x26e6804e
-0, 222000, 48600, 0xc3867fdc
-0, 228000, 48600, 0xe135c689
-0, 234000, 48600, 0xf0fda68b
-0, 240000, 48600, 0x7e07a430
-0, 246000, 48600, 0xb0809c56
-0, 252000, 48600, 0xd3f3d4b0
-0, 258000, 48600, 0x068ce7b9
-0, 264000, 48600, 0x3ae5ebb7
-0, 270000, 48600, 0x2274d1d8
-0, 276000, 48600, 0x9a2b95b7
-0, 282000, 48600, 0xe864dc3d
-0, 288000, 48600, 0xdf39d4db
-0, 294000, 48600, 0x5155c707
-0, 300000, 48600, 0xa26e9879
-0, 306000, 48600, 0x91b5747c
-0, 312000, 48600, 0xe7925589
-0, 318000, 48600, 0x582f1cb2
-0, 324000, 48600, 0x13180bdb
-0, 330000, 48600, 0x1623d914
-0, 336000, 48600, 0xfeeea068
-0, 342000, 48600, 0x61f8679c
-0, 348000, 48600, 0xcb678447
-0, 354000, 48600, 0xd0028749
-0, 360000, 48600, 0xec116a9c
-0, 366000, 48600, 0x16926417
-0, 372000, 48600, 0x342c6014
-0, 378000, 48600, 0xb81a3ec3
-0, 384000, 48600, 0xfd0d4654
-0, 390000, 48600, 0x741cc27a
-0, 396000, 48600, 0x2c53a9fe
-0, 402000, 48600, 0x795dc493
-0, 408000, 48600, 0x46eebc82
-0, 414000, 48600, 0xa2b7b84b
-0, 420000, 48600, 0x2274c95e
-0, 426000, 48600, 0x0ba5ac69
-0, 432000, 48600, 0x8335eb20
-0, 438000, 48600, 0xca80ef55
-0, 444000, 48600, 0xbb7cec8a
-0, 450000, 48600, 0x775bdde2
-0, 456000, 48600, 0x68a5a673
-0, 462000, 48600, 0x091ccca2
-0, 468000, 48600, 0xced6d065
-0, 474000, 48600, 0xed7fca50
-0, 480000, 48600, 0x5c77be3f
-0, 486000, 48600, 0x84719fe6
-0, 492000, 48600, 0x571cc076
-0, 498000, 48600, 0xa3b5be2a
-0, 504000, 48600, 0x0218bc6f
-0, 510000, 48600, 0x5ec1fa4c
-0, 516000, 48600, 0xcd3035fa
-0, 522000, 48600, 0xb8d2a741
-0, 528000, 48600, 0x6d39847c
-0, 534000, 48600, 0x0ffefc73
-0, 540000, 48600, 0x2bb74b68
-0, 546000, 48600, 0xf541d49f
-0, 552000, 48600, 0x6f7c9066
-0, 558000, 48600, 0x70d58548
-0, 564000, 48600, 0x92d38b55
-0, 570000, 48600, 0x5f4bdaa6
-0, 576000, 48600, 0x43868008
-0, 582000, 48600, 0xddb8e551
-0, 588000, 48600, 0xcd0cbd5f
-0, 594000, 48600, 0xf97e6bbd
-0, 600000, 48600, 0x5f1b31eb
-0, 606000, 48600, 0x10ff924d
-0, 612000, 48600, 0xcc31ca3f
-0, 618000, 48600, 0x5f27f9ff
-0, 624000, 48600, 0xd6fe4b71
-0, 630000, 48600, 0xa7d3b2c4
-0, 636000, 48600, 0x9992d6c7
-0, 642000, 48600, 0xd283089b
-0, 648000, 48600, 0x6ab52ede
-0, 654000, 48600, 0x495b1bad
-0, 660000, 48600, 0x3a4d1b72
-0, 666000, 48600, 0xdb421ba3
-0, 672000, 48600, 0x8ad11baa
-0, 678000, 48600, 0x17701bcc
-0, 684000, 48600, 0x4b771b6a
-0, 690000, 48600, 0x5345067e
-0, 696000, 48600, 0x2cd403a7
-0, 702000, 48600, 0x2cc5fd60
-0, 708000, 48600, 0xfa9cf1d4
-0, 714000, 48600, 0x8498e2d6
-0, 720000, 48600, 0x93dcc863
-0, 726000, 48600, 0xd46ac5d5
-0, 732000, 48600, 0x34e8c01b
-0, 738000, 48600, 0x4ad3b246
-0, 744000, 48600, 0x9848a6ca
-0, 750000, 48600, 0x7b7e8bee
-0, 756000, 48600, 0xaee0896b
-0, 762000, 48600, 0x263a812c
-0, 768000, 48600, 0x5d7b7782
-0, 774000, 48600, 0x3a2b6ad2
-0, 780000, 48600, 0xcf2a4ef3
-0, 786000, 48600, 0xc0134c9b
-0, 792000, 48600, 0x93c342d2
-0, 798000, 48600, 0x8d90393c
+#tb 0: 1/15
+0, 0, 0, 1, 48600, 0x72d4193b
+0, 1, 1, 1, 48600, 0x72d4193b
+0, 2, 2, 1, 48600, 0x36abd6f3
+0, 3, 3, 1, 48600, 0x99e582f7
+0, 4, 4, 1, 48600, 0xa4cb6fb7
+0, 5, 5, 1, 48600, 0xf9b5657b
+0, 6, 6, 1, 48600, 0xb7d666a4
+0, 7, 7, 1, 48600, 0xb7345308
+0, 8, 8, 1, 48600, 0x4f5339b9
+0, 9, 9, 1, 48600, 0x1a9a02c7
+0, 10, 10, 1, 48600, 0x4ed40866
+0, 11, 11, 1, 48600, 0x635bf2af
+0, 12, 12, 1, 48600, 0x12c02f49
+0, 13, 13, 1, 48600, 0xc548a36d
+0, 14, 14, 1, 48600, 0x9d9ffbf0
+0, 15, 15, 1, 48600, 0x4f9dba66
+0, 16, 16, 1, 48600, 0x2332b0e4
+0, 17, 17, 1, 48600, 0x6c64342d
+0, 18, 18, 1, 48600, 0x81156d54
+0, 19, 19, 1, 48600, 0x8bfb9f04
+0, 20, 20, 1, 48600, 0xd6bc38db
+0, 21, 21, 1, 48600, 0x64de39d7
+0, 22, 22, 1, 48600, 0xbddb3c37
+0, 23, 23, 1, 48600, 0x15b75a31
+0, 24, 24, 1, 48600, 0xa2dd7bdf
+0, 25, 25, 1, 48600, 0xe4fb9b25
+0, 26, 26, 1, 48600, 0xf2788234
+0, 27, 27, 1, 48600, 0xa481a3d0
+0, 28, 28, 1, 48600, 0x6087c790
+0, 29, 29, 1, 48600, 0xf1dacfa1
+0, 30, 30, 1, 48600, 0xe29e2e78
+0, 31, 31, 1, 48600, 0x505b2db1
+0, 32, 32, 1, 48600, 0x7bc56b02
+0, 33, 33, 1, 48600, 0x3f7640de
+0, 34, 34, 1, 48600, 0xd21a3f0b
+0, 35, 35, 1, 48600, 0x92dc9b72
+0, 36, 36, 1, 48600, 0x26e6804e
+0, 37, 37, 1, 48600, 0xc3867fdc
+0, 38, 38, 1, 48600, 0xe135c689
+0, 39, 39, 1, 48600, 0xf0fda68b
+0, 40, 40, 1, 48600, 0x7e07a430
+0, 41, 41, 1, 48600, 0xb0809c56
+0, 42, 42, 1, 48600, 0xd3f3d4b0
+0, 43, 43, 1, 48600, 0x068ce7b9
+0, 44, 44, 1, 48600, 0x3ae5ebb7
+0, 45, 45, 1, 48600, 0x2274d1d8
+0, 46, 46, 1, 48600, 0x9a2b95b7
+0, 47, 47, 1, 48600, 0xe864dc3d
+0, 48, 48, 1, 48600, 0xdf39d4db
+0, 49, 49, 1, 48600, 0x5155c707
+0, 50, 50, 1, 48600, 0xa26e9879
+0, 51, 51, 1, 48600, 0x91b5747c
+0, 52, 52, 1, 48600, 0xe7925589
+0, 53, 53, 1, 48600, 0x582f1cb2
+0, 54, 54, 1, 48600, 0x13180bdb
+0, 55, 55, 1, 48600, 0x1623d914
+0, 56, 56, 1, 48600, 0xfeeea068
+0, 57, 57, 1, 48600, 0x61f8679c
+0, 58, 58, 1, 48600, 0xcb678447
+0, 59, 59, 1, 48600, 0xd0028749
+0, 60, 60, 1, 48600, 0xec116a9c
+0, 61, 61, 1, 48600, 0x16926417
+0, 62, 62, 1, 48600, 0x342c6014
+0, 63, 63, 1, 48600, 0xb81a3ec3
+0, 64, 64, 1, 48600, 0xfd0d4654
+0, 65, 65, 1, 48600, 0x741cc27a
+0, 66, 66, 1, 48600, 0x2c53a9fe
+0, 67, 67, 1, 48600, 0x795dc493
+0, 68, 68, 1, 48600, 0x46eebc82
+0, 69, 69, 1, 48600, 0xa2b7b84b
+0, 70, 70, 1, 48600, 0x2274c95e
+0, 71, 71, 1, 48600, 0x0ba5ac69
+0, 72, 72, 1, 48600, 0x8335eb20
+0, 73, 73, 1, 48600, 0xca80ef55
+0, 74, 74, 1, 48600, 0xbb7cec8a
+0, 75, 75, 1, 48600, 0x775bdde2
+0, 76, 76, 1, 48600, 0x68a5a673
+0, 77, 77, 1, 48600, 0x091ccca2
+0, 78, 78, 1, 48600, 0xced6d065
+0, 79, 79, 1, 48600, 0xed7fca50
+0, 80, 80, 1, 48600, 0x5c77be3f
+0, 81, 81, 1, 48600, 0x84719fe6
+0, 82, 82, 1, 48600, 0x571cc076
+0, 83, 83, 1, 48600, 0xa3b5be2a
+0, 84, 84, 1, 48600, 0x0218bc6f
+0, 85, 85, 1, 48600, 0x5ec1fa4c
+0, 86, 86, 1, 48600, 0xcd3035fa
+0, 87, 87, 1, 48600, 0xb8d2a741
+0, 88, 88, 1, 48600, 0x6d39847c
+0, 89, 89, 1, 48600, 0x0ffefc73
+0, 90, 90, 1, 48600, 0x2bb74b68
+0, 91, 91, 1, 48600, 0xf541d49f
+0, 92, 92, 1, 48600, 0x6f7c9066
+0, 93, 93, 1, 48600, 0x70d58548
+0, 94, 94, 1, 48600, 0x92d38b55
+0, 95, 95, 1, 48600, 0x5f4bdaa6
+0, 96, 96, 1, 48600, 0x43868008
+0, 97, 97, 1, 48600, 0xddb8e551
+0, 98, 98, 1, 48600, 0xcd0cbd5f
+0, 99, 99, 1, 48600, 0xf97e6bbd
+0, 100, 100, 1, 48600, 0x5f1b31eb
+0, 101, 101, 1, 48600, 0x10ff924d
+0, 102, 102, 1, 48600, 0xcc31ca3f
+0, 103, 103, 1, 48600, 0x5f27f9ff
+0, 104, 104, 1, 48600, 0xd6fe4b71
+0, 105, 105, 1, 48600, 0xa7d3b2c4
+0, 106, 106, 1, 48600, 0x9992d6c7
+0, 107, 107, 1, 48600, 0xd283089b
+0, 108, 108, 1, 48600, 0x6ab52ede
+0, 109, 109, 1, 48600, 0x495b1bad
+0, 110, 110, 1, 48600, 0x3a4d1b72
+0, 111, 111, 1, 48600, 0xdb421ba3
+0, 112, 112, 1, 48600, 0x8ad11baa
+0, 113, 113, 1, 48600, 0x17701bcc
+0, 114, 114, 1, 48600, 0x4b771b6a
+0, 115, 115, 1, 48600, 0x5345067e
+0, 116, 116, 1, 48600, 0x2cd403a7
+0, 117, 117, 1, 48600, 0x2cc5fd60
+0, 118, 118, 1, 48600, 0xfa9cf1d4
+0, 119, 119, 1, 48600, 0x8498e2d6
+0, 120, 120, 1, 48600, 0x93dcc863
+0, 121, 121, 1, 48600, 0xd46ac5d5
+0, 122, 122, 1, 48600, 0x34e8c01b
+0, 123, 123, 1, 48600, 0x4ad3b246
+0, 124, 124, 1, 48600, 0x9848a6ca
+0, 125, 125, 1, 48600, 0x7b7e8bee
+0, 126, 126, 1, 48600, 0xaee0896b
+0, 127, 127, 1, 48600, 0x263a812c
+0, 128, 128, 1, 48600, 0x5d7b7782
+0, 129, 129, 1, 48600, 0x3a2b6ad2
+0, 130, 130, 1, 48600, 0xcf2a4ef3
+0, 131, 131, 1, 48600, 0xc0134c9b
+0, 132, 132, 1, 48600, 0x93c342d2
+0, 133, 133, 1, 48600, 0x8d90393c
diff --git a/tests/ref/fate/interplay-mve-16bit b/tests/ref/fate/interplay-mve-16bit
index 74f0b350c6..e0ddf381ba 100644
--- a/tests/ref/fate/interplay-mve-16bit
+++ b/tests/ref/fate/interplay-mve-16bit
@@ -1,129 +1,131 @@
-0, 0, 614400, 0x00000000
-1, 0, 5788, 0x916d2db8
-1, 2953, 5888, 0xc65cb069
-0, 3002, 614400, 0x00000000
-1, 5957, 5888, 0xd8ec1acc
-0, 6005, 614400, 0xa17ea4ec
-1, 8961, 5888, 0xb22af0d6
-0, 9007, 614400, 0x4fd207fb
-1, 11965, 5888, 0x86bb50d9
-0, 12010, 614400, 0xd7a510fb
-1, 14969, 5888, 0x7674d923
-0, 15012, 614400, 0xe901e2f4
-1, 17973, 5888, 0xb97c5500
-0, 18014, 614400, 0x4ac5d3c4
-1, 20978, 5888, 0xecea1249
-0, 21017, 614400, 0x32e3e99c
-1, 23982, 5888, 0x0f4fea81
-0, 24019, 614400, 0x7a2ff20c
-1, 26986, 5888, 0x997914d8
-0, 27022, 614400, 0x59941193
-1, 29990, 5888, 0xd012f03a
-0, 30024, 614400, 0x92773a2b
-1, 32994, 5888, 0x03fd5248
-0, 33026, 614400, 0x4cd14313
-1, 35998, 5888, 0x3041a288
-0, 36029, 614400, 0x2a093fa3
-1, 39002, 5888, 0xe6105de1
-0, 39031, 614400, 0xf68b8463
-1, 42006, 5888, 0xaa38c7bd
-0, 42034, 614400, 0xa9e1969b
-1, 45010, 5888, 0xbfff702c
-0, 45036, 614400, 0x461996bb
-1, 48014, 5888, 0xbe4319a3
-0, 48038, 614400, 0xae58d053
-1, 51018, 5888, 0x2e89d262
-0, 51041, 614400, 0x7693015a
-1, 54022, 5888, 0x10992b9c
-0, 54043, 614400, 0x0b3507fa
-1, 57027, 5888, 0x972904bf
-0, 57046, 614400, 0xff5c2492
-1, 60031, 5888, 0x0093501c
-0, 60048, 614400, 0x636e3e32
-1, 63035, 5888, 0x8994ad0e
-0, 63050, 614400, 0x1acd6d0a
-1, 66039, 5888, 0x9db37d21
-0, 66053, 614400, 0x67039232
-1, 69043, 5888, 0xa8c7300f
-0, 69055, 614400, 0x8ab9c75a
-1, 72047, 5888, 0x1b7073b5
-0, 72058, 614400, 0xe824bbe2
-1, 75051, 5888, 0x56ad7f7b
-0, 75060, 614400, 0x5133e9ea
-1, 78055, 5888, 0x9706a8fb
-0, 78062, 614400, 0xcecf1249
-1, 81059, 5888, 0x16c9420e
-0, 81065, 614400, 0xe6d928c1
-1, 84063, 5888, 0x3e11be0a
-0, 84067, 614400, 0x8da46ff1
-1, 87067, 5888, 0x3e534a32
-0, 87070, 614400, 0x1c778319
-1, 90071, 5788, 0x0ffae5f4
-0, 90072, 614400, 0x35a19451
-1, 93024, 5888, 0xc2018f82
-0, 93074, 614400, 0x5145d1b9
-1, 96029, 5888, 0x2a11f529
-0, 96077, 614400, 0x146ee231
-1, 99033, 5888, 0xec282167
-0, 99079, 614400, 0xd9b33380
-1, 102037, 5888, 0xd61b5a05
-0, 102082, 614400, 0x8b112ef8
-1, 105041, 5888, 0x61de2741
-0, 105084, 614400, 0xb9e79ab0
-1, 108045, 5888, 0x17aaff8c
-0, 108086, 614400, 0x62d3a498
-1, 111049, 5888, 0xd40cd7a6
-0, 111089, 614400, 0xaeaaaa58
-1, 114053, 5888, 0x840840d4
-0, 114091, 614400, 0x8922c440
-1, 117057, 5888, 0x7c97ddcf
-0, 117094, 614400, 0xd62ef758
-1, 120061, 5888, 0xed9150f7
-0, 120096, 614400, 0x2a53149f
-1, 123065, 5888, 0xbccf973e
-0, 123098, 614400, 0x13da47df
-1, 126069, 5888, 0x74bda5ea
-0, 126101, 614400, 0x27c05c3f
-1, 129073, 5888, 0xd083892a
-0, 129103, 614400, 0x41ff7ca7
-1, 132078, 5888, 0x16e444b2
-0, 132106, 614400, 0x6b0e8a07
-1, 135082, 5888, 0x68a9cedb
-0, 135108, 614400, 0xa200ad9f
-1, 138086, 5888, 0x80849f36
-0, 138110, 614400, 0x9da7cc77
-1, 141090, 5888, 0x63cb7df9
-0, 141113, 614400, 0x2f5703be
-1, 144094, 5888, 0xf90f754d
-0, 144115, 614400, 0x91c720f6
-1, 147098, 5888, 0x9c2c867d
-0, 147118, 614400, 0x927a882e
-1, 150102, 5888, 0x337994a4
-1, 153106, 5888, 0xf354a28d
-1, 156110, 5888, 0x70933738
-1, 159114, 5888, 0x3c019219
-1, 162118, 5888, 0xe0c21295
-1, 165122, 5888, 0x21869515
-1, 168127, 5888, 0xe9b1ec7d
-1, 171131, 5888, 0x57825497
-1, 174135, 5888, 0xae02ebeb
-1, 177139, 5888, 0x0c62e14f
-1, 180143, 5788, 0x8a255f8f
-1, 183096, 5888, 0x38993359
-1, 186100, 5888, 0x390baf95
-1, 189104, 5888, 0xb72c72ea
-1, 192108, 5888, 0xbbd3c6fe
-1, 195112, 5888, 0xefb26f0a
-1, 198116, 5888, 0xcc404dd0
-1, 201120, 5888, 0xffa23082
-1, 204124, 5888, 0xd0c43567
-1, 207129, 5888, 0x4d3b7958
-1, 210133, 5888, 0x47125aa1
-1, 213137, 5888, 0x99286cf3
-1, 216141, 5888, 0x478d61e2
-1, 219145, 5888, 0xac65b47e
-1, 222149, 5888, 0x333c1d1a
-1, 225153, 5888, 0x8f960ecf
-1, 228157, 5888, 0x58f76aec
-1, 231161, 5888, 0xb5e0dded
-1, 234165, 5888, 0xaf1a8f9a
+#tb 0: 417/12500
+#tb 1: 1/44100
+0, 0, 0, 1, 614400, 0x00000000
+1, 0, 0, 1447, 5788, 0x916d2db8
+1, 1447, 1447, 1472, 5888, 0xc65cb069
+0, 1, 1, 1, 614400, 0x00000000
+1, 2919, 2919, 1472, 5888, 0xd8ec1acc
+0, 2, 2, 1, 614400, 0xa17ea4ec
+1, 4391, 4391, 1472, 5888, 0xb22af0d6
+0, 3, 3, 1, 614400, 0x4fd207fb
+1, 5863, 5863, 1472, 5888, 0x86bb50d9
+0, 4, 4, 1, 614400, 0xd7a510fb
+1, 7335, 7335, 1472, 5888, 0x7674d923
+0, 5, 5, 1, 614400, 0xe901e2f4
+1, 8807, 8807, 1472, 5888, 0xb97c5500
+0, 6, 6, 1, 614400, 0x4ac5d3c4
+1, 10279, 10279, 1472, 5888, 0xecea1249
+0, 7, 7, 1, 614400, 0x32e3e99c
+1, 11751, 11751, 1472, 5888, 0x0f4fea81
+0, 8, 8, 1, 614400, 0x7a2ff20c
+1, 13223, 13223, 1472, 5888, 0x997914d8
+0, 9, 9, 1, 614400, 0x59941193
+1, 14695, 14695, 1472, 5888, 0xd012f03a
+0, 10, 10, 1, 614400, 0x92773a2b
+1, 16167, 16167, 1472, 5888, 0x03fd5248
+0, 11, 11, 1, 614400, 0x4cd14313
+1, 17639, 17639, 1472, 5888, 0x3041a288
+0, 12, 12, 1, 614400, 0x2a093fa3
+1, 19111, 19111, 1472, 5888, 0xe6105de1
+0, 13, 13, 1, 614400, 0xf68b8463
+1, 20583, 20583, 1472, 5888, 0xaa38c7bd
+0, 14, 14, 1, 614400, 0xa9e1969b
+1, 22055, 22055, 1472, 5888, 0xbfff702c
+0, 15, 15, 1, 614400, 0x461996bb
+1, 23527, 23527, 1472, 5888, 0xbe4319a3
+0, 16, 16, 1, 614400, 0xae58d053
+1, 24999, 24999, 1472, 5888, 0x2e89d262
+0, 17, 17, 1, 614400, 0x7693015a
+1, 26471, 26471, 1472, 5888, 0x10992b9c
+0, 18, 18, 1, 614400, 0x0b3507fa
+1, 27943, 27943, 1472, 5888, 0x972904bf
+0, 19, 19, 1, 614400, 0xff5c2492
+1, 29415, 29415, 1472, 5888, 0x0093501c
+0, 20, 20, 1, 614400, 0x636e3e32
+1, 30887, 30887, 1472, 5888, 0x8994ad0e
+0, 21, 21, 1, 614400, 0x1acd6d0a
+1, 32359, 32359, 1472, 5888, 0x9db37d21
+0, 22, 22, 1, 614400, 0x67039232
+1, 33831, 33831, 1472, 5888, 0xa8c7300f
+0, 23, 23, 1, 614400, 0x8ab9c75a
+1, 35303, 35303, 1472, 5888, 0x1b7073b5
+0, 24, 24, 1, 614400, 0xe824bbe2
+1, 36775, 36775, 1472, 5888, 0x56ad7f7b
+0, 25, 25, 1, 614400, 0x5133e9ea
+1, 38247, 38247, 1472, 5888, 0x9706a8fb
+0, 26, 26, 1, 614400, 0xcecf1249
+1, 39719, 39719, 1472, 5888, 0x16c9420e
+0, 27, 27, 1, 614400, 0xe6d928c1
+1, 41191, 41191, 1472, 5888, 0x3e11be0a
+0, 28, 28, 1, 614400, 0x8da46ff1
+1, 42663, 42663, 1472, 5888, 0x3e534a32
+0, 29, 29, 1, 614400, 0x1c778319
+1, 44135, 44135, 1447, 5788, 0x0ffae5f4
+0, 30, 30, 1, 614400, 0x35a19451
+1, 45582, 45582, 1472, 5888, 0xc2018f82
+0, 31, 31, 1, 614400, 0x5145d1b9
+1, 47054, 47054, 1472, 5888, 0x2a11f529
+0, 32, 32, 1, 614400, 0x146ee231
+1, 48526, 48526, 1472, 5888, 0xec282167
+0, 33, 33, 1, 614400, 0xd9b33380
+1, 49998, 49998, 1472, 5888, 0xd61b5a05
+0, 34, 34, 1, 614400, 0x8b112ef8
+1, 51470, 51470, 1472, 5888, 0x61de2741
+0, 35, 35, 1, 614400, 0xb9e79ab0
+1, 52942, 52942, 1472, 5888, 0x17aaff8c
+0, 36, 36, 1, 614400, 0x62d3a498
+1, 54414, 54414, 1472, 5888, 0xd40cd7a6
+0, 37, 37, 1, 614400, 0xaeaaaa58
+1, 55886, 55886, 1472, 5888, 0x840840d4
+0, 38, 38, 1, 614400, 0x8922c440
+1, 57358, 57358, 1472, 5888, 0x7c97ddcf
+0, 39, 39, 1, 614400, 0xd62ef758
+1, 58830, 58830, 1472, 5888, 0xed9150f7
+0, 40, 40, 1, 614400, 0x2a53149f
+1, 60302, 60302, 1472, 5888, 0xbccf973e
+0, 41, 41, 1, 614400, 0x13da47df
+1, 61774, 61774, 1472, 5888, 0x74bda5ea
+0, 42, 42, 1, 614400, 0x27c05c3f
+1, 63246, 63246, 1472, 5888, 0xd083892a
+0, 43, 43, 1, 614400, 0x41ff7ca7
+1, 64718, 64718, 1472, 5888, 0x16e444b2
+0, 44, 44, 1, 614400, 0x6b0e8a07
+1, 66190, 66190, 1472, 5888, 0x68a9cedb
+0, 45, 45, 1, 614400, 0xa200ad9f
+1, 67662, 67662, 1472, 5888, 0x80849f36
+0, 46, 46, 1, 614400, 0x9da7cc77
+1, 69134, 69134, 1472, 5888, 0x63cb7df9
+0, 47, 47, 1, 614400, 0x2f5703be
+1, 70606, 70606, 1472, 5888, 0xf90f754d
+0, 48, 48, 1, 614400, 0x91c720f6
+1, 72078, 72078, 1472, 5888, 0x9c2c867d
+0, 49, 49, 1, 614400, 0x927a882e
+1, 73550, 73550, 1472, 5888, 0x337994a4
+1, 75022, 75022, 1472, 5888, 0xf354a28d
+1, 76494, 76494, 1472, 5888, 0x70933738
+1, 77966, 77966, 1472, 5888, 0x3c019219
+1, 79438, 79438, 1472, 5888, 0xe0c21295
+1, 80910, 80910, 1472, 5888, 0x21869515
+1, 82382, 82382, 1472, 5888, 0xe9b1ec7d
+1, 83854, 83854, 1472, 5888, 0x57825497
+1, 85326, 85326, 1472, 5888, 0xae02ebeb
+1, 86798, 86798, 1472, 5888, 0x0c62e14f
+1, 88270, 88270, 1447, 5788, 0x8a255f8f
+1, 89717, 89717, 1472, 5888, 0x38993359
+1, 91189, 91189, 1472, 5888, 0x390baf95
+1, 92661, 92661, 1472, 5888, 0xb72c72ea
+1, 94133, 94133, 1472, 5888, 0xbbd3c6fe
+1, 95605, 95605, 1472, 5888, 0xefb26f0a
+1, 97077, 97077, 1472, 5888, 0xcc404dd0
+1, 98549, 98549, 1472, 5888, 0xffa23082
+1, 100021, 100021, 1472, 5888, 0xd0c43567
+1, 101493, 101493, 1472, 5888, 0x4d3b7958
+1, 102965, 102965, 1472, 5888, 0x47125aa1
+1, 104437, 104437, 1472, 5888, 0x99286cf3
+1, 105909, 105909, 1472, 5888, 0x478d61e2
+1, 107381, 107381, 1472, 5888, 0xac65b47e
+1, 108853, 108853, 1472, 5888, 0x333c1d1a
+1, 110325, 110325, 1472, 5888, 0x8f960ecf
+1, 111797, 111797, 1472, 5888, 0x58f76aec
+1, 113269, 113269, 1472, 5888, 0xb5e0dded
+1, 114741, 114741, 1472, 5888, 0xaf1a8f9a
diff --git a/tests/ref/fate/interplay-mve-8bit b/tests/ref/fate/interplay-mve-8bit
index 13959c3cf2..0a9287f8c9 100644
--- a/tests/ref/fate/interplay-mve-8bit
+++ b/tests/ref/fate/interplay-mve-8bit
@@ -1,234 +1,236 @@
-0, 0, 414720, 0xa5cd50ca
-1, 0, 5848, 0xea04292b
-1, 5967, 5888, 0x0e59e942
-0, 6006, 414720, 0x3facd321
-1, 11976, 5888, 0x56d480f6
-0, 12011, 414720, 0x849e6d4b
-1, 17984, 5888, 0xcb560b22
-0, 18017, 414720, 0xe649363f
-1, 23992, 5888, 0xca26865b
-0, 24022, 414720, 0x5bbd7b14
-1, 30000, 5888, 0xa434392f
-0, 30028, 414720, 0xe246ab51
-1, 36008, 5888, 0xa0615fe4
-0, 36033, 414720, 0x5721b22e
-1, 42016, 5888, 0x85b241cd
-0, 42039, 414720, 0xe391e107
-1, 48024, 5888, 0x2c417a43
-0, 48044, 414720, 0x04d851ff
-1, 54033, 5888, 0x2d5ed665
-0, 54050, 414720, 0x8d80d580
-1, 60041, 5888, 0x37267a2d
-0, 60055, 414720, 0x5a24b0bc
-1, 66049, 5888, 0x1f803c67
-0, 66061, 414720, 0x06cd6960
-1, 72057, 5888, 0xfb7940ef
-0, 72066, 414720, 0xf5ca48b4
-1, 78065, 5888, 0x1a5371e8
-0, 78072, 414720, 0x24700f94
-1, 84073, 5888, 0x37e29b21
-0, 84077, 414720, 0xb0bfe451
-1, 90082, 5848, 0x70065769
-0, 90083, 414720, 0x00e9f3d1
-1, 96049, 5888, 0xaf624f3d
-0, 96088, 414720, 0x0efbffd1
-1, 102057, 5888, 0x8f5e5b57
-0, 102094, 414720, 0x2ecdfc8d
-1, 108065, 5888, 0x93545968
-0, 108099, 414720, 0x94b531fc
-1, 114073, 5888, 0x915f268f
-0, 114105, 414720, 0x2c2579f8
-1, 120082, 5888, 0x9cd48ac4
-0, 120110, 414720, 0x6c7ecfb8
-1, 126090, 5888, 0x812c8e13
-0, 126116, 414720, 0x08982527
-1, 132098, 5888, 0xe794a2a7
-0, 132121, 414720, 0x5c0161b3
-1, 138106, 5888, 0x4a056e4b
-0, 138127, 414720, 0x453ce413
-1, 144114, 5888, 0xa3589992
-0, 144132, 414720, 0x634e36b2
-1, 150122, 5888, 0x19ea7ec5
-0, 150138, 414720, 0x401a683a
-1, 156131, 5888, 0x422d5097
-0, 156144, 414720, 0x3c5f442e
-1, 162139, 5888, 0xc9fd963f
-0, 162149, 414720, 0x075ef787
-1, 168147, 5888, 0xc556a5ea
-0, 168155, 414720, 0x8501a04f
-1, 174155, 5888, 0x51557e0f
-0, 174160, 414720, 0x3620093b
-1, 180163, 5848, 0x4903ad21
-0, 180166, 414720, 0xa42d9480
-1, 186131, 5888, 0xb1c85e85
-0, 186171, 414720, 0x09b150b4
-1, 192139, 5888, 0x68963d65
-0, 192177, 414720, 0xcad407f0
-1, 198147, 5888, 0x62a3124e
-0, 198182, 414720, 0x69e5eecd
-1, 204155, 5888, 0x4ff1878f
-0, 204188, 414720, 0xb92ad2d9
-1, 210163, 5888, 0x8b09ac18
-0, 210193, 414720, 0xc78eaf29
-1, 216171, 5888, 0x67d85338
-0, 216199, 414720, 0x47c3fa91
-1, 222180, 5888, 0x82eca0a6
-0, 222204, 414720, 0x8847b7b8
-1, 228188, 5888, 0x81a17eb8
-0, 228210, 414720, 0x864cab2f
-1, 234196, 5888, 0x7108478c
-0, 234215, 414720, 0x78d653e2
-1, 240204, 5888, 0xbfc18b09
-0, 240221, 414720, 0xda15cbd2
-1, 246212, 5888, 0xad93711f
-0, 246226, 414720, 0xdf9ce28a
-1, 252220, 5888, 0xf8d25e39
-0, 252232, 414720, 0xe88c49ca
-1, 258229, 5888, 0x41edd04e
-0, 258237, 414720, 0xd6bcbc07
-1, 264237, 5888, 0xa6557ee2
-0, 264243, 414720, 0xf0b4a7bf
-1, 270245, 5848, 0xc14d5456
-0, 270248, 414720, 0x74f9bfbf
-1, 276212, 5888, 0x20a7821f
-0, 276254, 414720, 0x904ce103
-1, 282220, 5888, 0x9f1a8f9d
-0, 282259, 414720, 0xca877e4a
-1, 288229, 5888, 0x2f3c6cc8
-0, 288265, 414720, 0x588effd6
-1, 294237, 5888, 0x757c894a
-0, 294270, 414720, 0x6dff8b71
-1, 300245, 5888, 0x483e98bb
-0, 300276, 414720, 0xbeaae788
-1, 306253, 5888, 0x84289c75
-0, 306282, 414720, 0x1a4d1242
-1, 312261, 5888, 0xf79d5a91
-0, 312287, 414720, 0x4ae98ea0
-1, 318269, 5888, 0x395b5228
-0, 318293, 414720, 0x41ed6d22
-1, 324278, 5888, 0x9c937a14
-0, 324298, 414720, 0x486e70aa
-1, 330286, 5888, 0x40c169cf
-0, 330304, 414720, 0xfddc103e
-1, 336294, 5888, 0x3e7f99b0
-0, 336309, 414720, 0x8620f03e
-1, 342302, 5888, 0xd4de993e
-0, 342315, 414720, 0x0e4ec273
-1, 348310, 5888, 0xae856b09
-0, 348320, 414720, 0xb2298b3e
-1, 354318, 5888, 0xa2369c95
-0, 354326, 414720, 0xb4f50176
-1, 360327, 5848, 0x992d516b
-0, 360331, 414720, 0xb9c7a495
-1, 366294, 5888, 0xcd785ba9
-0, 366337, 414720, 0xed270702
-1, 372302, 5888, 0x55ea3bce
-0, 372342, 414720, 0x98b72586
-1, 378310, 5888, 0xf06d4bbf
-0, 378348, 414720, 0xd8977cb1
-1, 384318, 5888, 0x2a9d4c1a
-0, 384353, 414720, 0xff3d3851
-1, 390327, 5888, 0xd5e348a3
-0, 390359, 414720, 0x7e4f0424
-1, 396335, 5888, 0x6431a24c
-0, 396364, 414720, 0xa9e75006
-1, 402343, 5888, 0x41f9908c
-0, 402370, 414720, 0x8f98cba9
-1, 408351, 5888, 0x0ed99656
-0, 408375, 414720, 0x25ecd620
-1, 414359, 5888, 0x635a6392
-0, 414381, 414720, 0x78cf5c58
-1, 420367, 5888, 0x690c750c
-0, 420386, 414720, 0x3fb4b81a
-1, 426376, 5888, 0xf9d97b23
-0, 426392, 414720, 0xd7b655fa
-1, 432384, 5888, 0x75e1606b
-0, 432397, 414720, 0xd9158db3
-1, 438392, 5888, 0x1bcb43b0
-0, 438403, 414720, 0x2e651852
-1, 444400, 5888, 0x48c295cb
-0, 444408, 414720, 0x9f9adb64
-1, 450408, 5848, 0xe47f7b5d
-0, 450414, 414720, 0xe9d16e81
-1, 456376, 5888, 0x20be7f3e
-0, 456420, 414720, 0xbe73daf5
-1, 462384, 5888, 0x8c2428c4
-0, 462425, 414720, 0x3d164329
-1, 468392, 5888, 0x851379af
-0, 468431, 414720, 0x1d5a9bc8
-1, 474400, 5888, 0x5916647d
-0, 474436, 414720, 0x8e8debbe
-1, 480408, 5888, 0xef9c6281
-0, 480442, 414720, 0x4e7a2bf0
-1, 486416, 5888, 0x49660d32
-0, 486447, 414720, 0x4a13804d
-1, 492424, 5888, 0x62cf36a1
-0, 492453, 414720, 0x5dd188d8
-1, 498433, 5888, 0x56dff39c
-0, 498458, 414720, 0xbe7f4963
-1, 504441, 5888, 0x4e6b5b02
-0, 504464, 414720, 0xcff3b767
-1, 510449, 5888, 0xb8697067
-0, 510469, 414720, 0xbbd3afa0
-1, 516457, 5888, 0xcb4e2706
-0, 516475, 414720, 0xaf9dec62
-1, 522465, 5888, 0x6eaa9669
-0, 522480, 414720, 0xc74816a1
-1, 528473, 5888, 0xfd9d7dba
-0, 528486, 414720, 0x51488bfc
-1, 534482, 5888, 0xfe137923
-0, 534491, 414720, 0x68c10a2c
-1, 540490, 5848, 0x1931296f
-0, 540497, 414720, 0x10179c4e
-1, 546457, 5888, 0xa09a7c03
-0, 546502, 414720, 0x18d559b7
-1, 552465, 5888, 0xded9802d
-0, 552508, 414720, 0x8257aa55
-1, 558473, 5888, 0x9f6723b7
-0, 558513, 414720, 0x9ea24501
-1, 564482, 5888, 0x3ad02476
-0, 564519, 414720, 0x238605cc
-1, 570490, 5888, 0xa1647e32
-0, 570524, 414720, 0xb552deaa
-1, 576498, 5888, 0x728672da
-0, 576530, 414720, 0x07c3348d
-1, 582506, 5888, 0x9c098090
-0, 582535, 414720, 0x82f4f9b0
-1, 588514, 5888, 0x32a65ea3
-0, 588541, 414720, 0xf5d76bc5
-1, 594522, 5888, 0xdde141d5
-0, 594546, 414720, 0x34b3a1e6
-1, 600531, 5888, 0x816c5fb4
-0, 600552, 414720, 0xda25e11b
-1, 606539, 5888, 0x75e17581
-0, 606558, 414720, 0x2b19936b
-1, 612547, 5888, 0x59035469
-0, 612563, 414720, 0xe91f9f73
-1, 618555, 5888, 0x20d340cd
-0, 618569, 414720, 0x48d09aab
-1, 624563, 5888, 0xa89a8790
-0, 624574, 414720, 0xac42bf83
-1, 630571, 5848, 0x12b74c34
-0, 630580, 414720, 0x2d8ca14e
-1, 636539, 5888, 0xcd3b3bef
-0, 636585, 414720, 0xe65462fd
-1, 642547, 5888, 0xe5c44bf3
-0, 642591, 414720, 0xe5bfc929
-1, 648555, 5888, 0xb82c4fa4
-0, 648596, 414720, 0x66784c58
-1, 654563, 5888, 0x05b2443a
-0, 654602, 414720, 0x70dbeca8
-1, 660571, 5888, 0x78028172
-1, 666580, 5888, 0xdfcac19a
-1, 672588, 5888, 0x0761a0b9
-1, 678596, 5888, 0x77d88607
-1, 684604, 5888, 0xdd7f4d77
-1, 690612, 5888, 0x366bf58a
-1, 696620, 5888, 0x9a3d59b5
-1, 702629, 5888, 0x16cb777f
-1, 708637, 5888, 0x1d4afe64
-1, 714645, 5888, 0xc0fe1e73
-1, 720653, 5848, 0xcceb69c8
-1, 726620, 5888, 0x89449643
-1, 732629, 5888, 0x5fe595b7
-1, 738637, 5888, 0x400a8c77
+#tb 0: 8341/125000
+#tb 1: 1/22050
+0, 0, 0, 1, 414720, 0xa5cd50ca
+1, 0, 0, 1462, 5848, 0xea04292b
+1, 1462, 1462, 1472, 5888, 0x0e59e942
+0, 1, 1, 1, 414720, 0x3facd321
+1, 2934, 2934, 1472, 5888, 0x56d480f6
+0, 2, 2, 1, 414720, 0x849e6d4b
+1, 4406, 4406, 1472, 5888, 0xcb560b22
+0, 3, 3, 1, 414720, 0xe649363f
+1, 5878, 5878, 1472, 5888, 0xca26865b
+0, 4, 4, 1, 414720, 0x5bbd7b14
+1, 7350, 7350, 1472, 5888, 0xa434392f
+0, 5, 5, 1, 414720, 0xe246ab51
+1, 8822, 8822, 1472, 5888, 0xa0615fe4
+0, 6, 6, 1, 414720, 0x5721b22e
+1, 10294, 10294, 1472, 5888, 0x85b241cd
+0, 7, 7, 1, 414720, 0xe391e107
+1, 11766, 11766, 1472, 5888, 0x2c417a43
+0, 8, 8, 1, 414720, 0x04d851ff
+1, 13238, 13238, 1472, 5888, 0x2d5ed665
+0, 9, 9, 1, 414720, 0x8d80d580
+1, 14710, 14710, 1472, 5888, 0x37267a2d
+0, 10, 10, 1, 414720, 0x5a24b0bc
+1, 16182, 16182, 1472, 5888, 0x1f803c67
+0, 11, 11, 1, 414720, 0x06cd6960
+1, 17654, 17654, 1472, 5888, 0xfb7940ef
+0, 12, 12, 1, 414720, 0xf5ca48b4
+1, 19126, 19126, 1472, 5888, 0x1a5371e8
+0, 13, 13, 1, 414720, 0x24700f94
+1, 20598, 20598, 1472, 5888, 0x37e29b21
+0, 14, 14, 1, 414720, 0xb0bfe451
+1, 22070, 22070, 1462, 5848, 0x70065769
+0, 15, 15, 1, 414720, 0x00e9f3d1
+1, 23532, 23532, 1472, 5888, 0xaf624f3d
+0, 16, 16, 1, 414720, 0x0efbffd1
+1, 25004, 25004, 1472, 5888, 0x8f5e5b57
+0, 17, 17, 1, 414720, 0x2ecdfc8d
+1, 26476, 26476, 1472, 5888, 0x93545968
+0, 18, 18, 1, 414720, 0x94b531fc
+1, 27948, 27948, 1472, 5888, 0x915f268f
+0, 19, 19, 1, 414720, 0x2c2579f8
+1, 29420, 29420, 1472, 5888, 0x9cd48ac4
+0, 20, 20, 1, 414720, 0x6c7ecfb8
+1, 30892, 30892, 1472, 5888, 0x812c8e13
+0, 21, 21, 1, 414720, 0x08982527
+1, 32364, 32364, 1472, 5888, 0xe794a2a7
+0, 22, 22, 1, 414720, 0x5c0161b3
+1, 33836, 33836, 1472, 5888, 0x4a056e4b
+0, 23, 23, 1, 414720, 0x453ce413
+1, 35308, 35308, 1472, 5888, 0xa3589992
+0, 24, 24, 1, 414720, 0x634e36b2
+1, 36780, 36780, 1472, 5888, 0x19ea7ec5
+0, 25, 25, 1, 414720, 0x401a683a
+1, 38252, 38252, 1472, 5888, 0x422d5097
+0, 26, 26, 1, 414720, 0x3c5f442e
+1, 39724, 39724, 1472, 5888, 0xc9fd963f
+0, 27, 27, 1, 414720, 0x075ef787
+1, 41196, 41196, 1472, 5888, 0xc556a5ea
+0, 28, 28, 1, 414720, 0x8501a04f
+1, 42668, 42668, 1472, 5888, 0x51557e0f
+0, 29, 29, 1, 414720, 0x3620093b
+1, 44140, 44140, 1462, 5848, 0x4903ad21
+0, 30, 30, 1, 414720, 0xa42d9480
+1, 45602, 45602, 1472, 5888, 0xb1c85e85
+0, 31, 31, 1, 414720, 0x09b150b4
+1, 47074, 47074, 1472, 5888, 0x68963d65
+0, 32, 32, 1, 414720, 0xcad407f0
+1, 48546, 48546, 1472, 5888, 0x62a3124e
+0, 33, 33, 1, 414720, 0x69e5eecd
+1, 50018, 50018, 1472, 5888, 0x4ff1878f
+0, 34, 34, 1, 414720, 0xb92ad2d9
+1, 51490, 51490, 1472, 5888, 0x8b09ac18
+0, 35, 35, 1, 414720, 0xc78eaf29
+1, 52962, 52962, 1472, 5888, 0x67d85338
+0, 36, 36, 1, 414720, 0x47c3fa91
+1, 54434, 54434, 1472, 5888, 0x82eca0a6
+0, 37, 37, 1, 414720, 0x8847b7b8
+1, 55906, 55906, 1472, 5888, 0x81a17eb8
+0, 38, 38, 1, 414720, 0x864cab2f
+1, 57378, 57378, 1472, 5888, 0x7108478c
+0, 39, 39, 1, 414720, 0x78d653e2
+1, 58850, 58850, 1472, 5888, 0xbfc18b09
+0, 40, 40, 1, 414720, 0xda15cbd2
+1, 60322, 60322, 1472, 5888, 0xad93711f
+0, 41, 41, 1, 414720, 0xdf9ce28a
+1, 61794, 61794, 1472, 5888, 0xf8d25e39
+0, 42, 42, 1, 414720, 0xe88c49ca
+1, 63266, 63266, 1472, 5888, 0x41edd04e
+0, 43, 43, 1, 414720, 0xd6bcbc07
+1, 64738, 64738, 1472, 5888, 0xa6557ee2
+0, 44, 44, 1, 414720, 0xf0b4a7bf
+1, 66210, 66210, 1462, 5848, 0xc14d5456
+0, 45, 45, 1, 414720, 0x74f9bfbf
+1, 67672, 67672, 1472, 5888, 0x20a7821f
+0, 46, 46, 1, 414720, 0x904ce103
+1, 69144, 69144, 1472, 5888, 0x9f1a8f9d
+0, 47, 47, 1, 414720, 0xca877e4a
+1, 70616, 70616, 1472, 5888, 0x2f3c6cc8
+0, 48, 48, 1, 414720, 0x588effd6
+1, 72088, 72088, 1472, 5888, 0x757c894a
+0, 49, 49, 1, 414720, 0x6dff8b71
+1, 73560, 73560, 1472, 5888, 0x483e98bb
+0, 50, 50, 1, 414720, 0xbeaae788
+1, 75032, 75032, 1472, 5888, 0x84289c75
+0, 51, 51, 1, 414720, 0x1a4d1242
+1, 76504, 76504, 1472, 5888, 0xf79d5a91
+0, 52, 52, 1, 414720, 0x4ae98ea0
+1, 77976, 77976, 1472, 5888, 0x395b5228
+0, 53, 53, 1, 414720, 0x41ed6d22
+1, 79448, 79448, 1472, 5888, 0x9c937a14
+0, 54, 54, 1, 414720, 0x486e70aa
+1, 80920, 80920, 1472, 5888, 0x40c169cf
+0, 55, 55, 1, 414720, 0xfddc103e
+1, 82392, 82392, 1472, 5888, 0x3e7f99b0
+0, 56, 56, 1, 414720, 0x8620f03e
+1, 83864, 83864, 1472, 5888, 0xd4de993e
+0, 57, 57, 1, 414720, 0x0e4ec273
+1, 85336, 85336, 1472, 5888, 0xae856b09
+0, 58, 58, 1, 414720, 0xb2298b3e
+1, 86808, 86808, 1472, 5888, 0xa2369c95
+0, 59, 59, 1, 414720, 0xb4f50176
+1, 88280, 88280, 1462, 5848, 0x992d516b
+0, 60, 60, 1, 414720, 0xb9c7a495
+1, 89742, 89742, 1472, 5888, 0xcd785ba9
+0, 61, 61, 1, 414720, 0xed270702
+1, 91214, 91214, 1472, 5888, 0x55ea3bce
+0, 62, 62, 1, 414720, 0x98b72586
+1, 92686, 92686, 1472, 5888, 0xf06d4bbf
+0, 63, 63, 1, 414720, 0xd8977cb1
+1, 94158, 94158, 1472, 5888, 0x2a9d4c1a
+0, 64, 64, 1, 414720, 0xff3d3851
+1, 95630, 95630, 1472, 5888, 0xd5e348a3
+0, 65, 65, 1, 414720, 0x7e4f0424
+1, 97102, 97102, 1472, 5888, 0x6431a24c
+0, 66, 66, 1, 414720, 0xa9e75006
+1, 98574, 98574, 1472, 5888, 0x41f9908c
+0, 67, 67, 1, 414720, 0x8f98cba9
+1, 100046, 100046, 1472, 5888, 0x0ed99656
+0, 68, 68, 1, 414720, 0x25ecd620
+1, 101518, 101518, 1472, 5888, 0x635a6392
+0, 69, 69, 1, 414720, 0x78cf5c58
+1, 102990, 102990, 1472, 5888, 0x690c750c
+0, 70, 70, 1, 414720, 0x3fb4b81a
+1, 104462, 104462, 1472, 5888, 0xf9d97b23
+0, 71, 71, 1, 414720, 0xd7b655fa
+1, 105934, 105934, 1472, 5888, 0x75e1606b
+0, 72, 72, 1, 414720, 0xd9158db3
+1, 107406, 107406, 1472, 5888, 0x1bcb43b0
+0, 73, 73, 1, 414720, 0x2e651852
+1, 108878, 108878, 1472, 5888, 0x48c295cb
+0, 74, 74, 1, 414720, 0x9f9adb64
+1, 110350, 110350, 1462, 5848, 0xe47f7b5d
+0, 75, 75, 1, 414720, 0xe9d16e81
+1, 111812, 111812, 1472, 5888, 0x20be7f3e
+0, 76, 76, 1, 414720, 0xbe73daf5
+1, 113284, 113284, 1472, 5888, 0x8c2428c4
+0, 77, 77, 1, 414720, 0x3d164329
+1, 114756, 114756, 1472, 5888, 0x851379af
+0, 78, 78, 1, 414720, 0x1d5a9bc8
+1, 116228, 116228, 1472, 5888, 0x5916647d
+0, 79, 79, 1, 414720, 0x8e8debbe
+1, 117700, 117700, 1472, 5888, 0xef9c6281
+0, 80, 80, 1, 414720, 0x4e7a2bf0
+1, 119172, 119172, 1472, 5888, 0x49660d32
+0, 81, 81, 1, 414720, 0x4a13804d
+1, 120644, 120644, 1472, 5888, 0x62cf36a1
+0, 82, 82, 1, 414720, 0x5dd188d8
+1, 122116, 122116, 1472, 5888, 0x56dff39c
+0, 83, 83, 1, 414720, 0xbe7f4963
+1, 123588, 123588, 1472, 5888, 0x4e6b5b02
+0, 84, 84, 1, 414720, 0xcff3b767
+1, 125060, 125060, 1472, 5888, 0xb8697067
+0, 85, 85, 1, 414720, 0xbbd3afa0
+1, 126532, 126532, 1472, 5888, 0xcb4e2706
+0, 86, 86, 1, 414720, 0xaf9dec62
+1, 128004, 128004, 1472, 5888, 0x6eaa9669
+0, 87, 87, 1, 414720, 0xc74816a1
+1, 129476, 129476, 1472, 5888, 0xfd9d7dba
+0, 88, 88, 1, 414720, 0x51488bfc
+1, 130948, 130948, 1472, 5888, 0xfe137923
+0, 89, 89, 1, 414720, 0x68c10a2c
+1, 132420, 132420, 1462, 5848, 0x1931296f
+0, 90, 90, 1, 414720, 0x10179c4e
+1, 133882, 133882, 1472, 5888, 0xa09a7c03
+0, 91, 91, 1, 414720, 0x18d559b7
+1, 135354, 135354, 1472, 5888, 0xded9802d
+0, 92, 92, 1, 414720, 0x8257aa55
+1, 136826, 136826, 1472, 5888, 0x9f6723b7
+0, 93, 93, 1, 414720, 0x9ea24501
+1, 138298, 138298, 1472, 5888, 0x3ad02476
+0, 94, 94, 1, 414720, 0x238605cc
+1, 139770, 139770, 1472, 5888, 0xa1647e32
+0, 95, 95, 1, 414720, 0xb552deaa
+1, 141242, 141242, 1472, 5888, 0x728672da
+0, 96, 96, 1, 414720, 0x07c3348d
+1, 142714, 142714, 1472, 5888, 0x9c098090
+0, 97, 97, 1, 414720, 0x82f4f9b0
+1, 144186, 144186, 1472, 5888, 0x32a65ea3
+0, 98, 98, 1, 414720, 0xf5d76bc5
+1, 145658, 145658, 1472, 5888, 0xdde141d5
+0, 99, 99, 1, 414720, 0x34b3a1e6
+1, 147130, 147130, 1472, 5888, 0x816c5fb4
+0, 100, 100, 1, 414720, 0xda25e11b
+1, 148602, 148602, 1472, 5888, 0x75e17581
+0, 101, 101, 1, 414720, 0x2b19936b
+1, 150074, 150074, 1472, 5888, 0x59035469
+0, 102, 102, 1, 414720, 0xe91f9f73
+1, 151546, 151546, 1472, 5888, 0x20d340cd
+0, 103, 103, 1, 414720, 0x48d09aab
+1, 153018, 153018, 1472, 5888, 0xa89a8790
+0, 104, 104, 1, 414720, 0xac42bf83
+1, 154490, 154490, 1462, 5848, 0x12b74c34
+0, 105, 105, 1, 414720, 0x2d8ca14e
+1, 155952, 155952, 1472, 5888, 0xcd3b3bef
+0, 106, 106, 1, 414720, 0xe65462fd
+1, 157424, 157424, 1472, 5888, 0xe5c44bf3
+0, 107, 107, 1, 414720, 0xe5bfc929
+1, 158896, 158896, 1472, 5888, 0xb82c4fa4
+0, 108, 108, 1, 414720, 0x66784c58
+1, 160368, 160368, 1472, 5888, 0x05b2443a
+0, 109, 109, 1, 414720, 0x70dbeca8
+1, 161840, 161840, 1472, 5888, 0x78028172
+1, 163312, 163312, 1472, 5888, 0xdfcac19a
+1, 164784, 164784, 1472, 5888, 0x0761a0b9
+1, 166256, 166256, 1472, 5888, 0x77d88607
+1, 167728, 167728, 1472, 5888, 0xdd7f4d77
+1, 169200, 169200, 1472, 5888, 0x366bf58a
+1, 170672, 170672, 1472, 5888, 0x9a3d59b5
+1, 172144, 172144, 1472, 5888, 0x16cb777f
+1, 173616, 173616, 1472, 5888, 0x1d4afe64
+1, 175088, 175088, 1472, 5888, 0xc0fe1e73
+1, 176560, 176560, 1462, 5848, 0xcceb69c8
+1, 178022, 178022, 1472, 5888, 0x89449643
+1, 179494, 179494, 1472, 5888, 0x5fe595b7
+1, 180966, 180966, 1472, 5888, 0x400a8c77
diff --git a/tests/ref/fate/iv8-demux b/tests/ref/fate/iv8-demux
index 87217f90df..fab4bb0d5f 100644
--- a/tests/ref/fate/iv8-demux
+++ b/tests/ref/fate/iv8-demux
@@ -1,25 +1,26 @@
-0, 0, 20883, 0x347191e2
-0, 0, 20882, 0xe1573905
-0, 3600, 20894, 0xd54f516a
-0, 7200, 20891, 0x1b5c5039
-0, 10800, 20883, 0x8e785b4d
-0, 14400, 20870, 0xd26ca1f6
-0, 18000, 21448, 0x946f5b2b
-0, 21600, 21433, 0xb18687c5
-0, 25200, 20865, 0xc0eb3fce
-0, 28800, 20842, 0x9d0728ba
-0, 32399, 20878, 0xf60f5dee
-0, 35999, 20866, 0x3bde568f
-0, 39600, 20884, 0x22736993
-0, 43200, 20860, 0xf56f2fca
-0, 46800, 20872, 0xf39e3cb3
-0, 50400, 20835, 0xa3c4363b
-0, 53999, 20905, 0x552853d1
-0, 57600, 20874, 0xed0b91ec
-0, 61200, 20877, 0xe1623e01
-0, 64799, 20933, 0x19906564
-0, 68399, 20891, 0x3d064fd3
-0, 72000, 20834, 0xcb774dbc
-0, 75600, 20870, 0xbc536589
-0, 79200, 21421, 0xc99a68e4
-0, 82800, 12869, 0x5684e304
+#tb 0: 1/90000
+0, 0, 0, 0, 20883, 0x347191e2
+0, 0, 3600, 0, 20882, 0xe1573905
+0, 3600, 7200, 0, 20894, 0xd54f516a
+0, 7200, 10800, 0, 20891, 0x1b5c5039
+0, 10800, 14400, 0, 20883, 0x8e785b4d
+0, 14400, 18000, 0, 20870, 0xd26ca1f6
+0, 18000, 21600, 0, 21448, 0x946f5b2b
+0, 21600, 25200, 0, 21433, 0xb18687c5
+0, 25200, 28800, 0, 20865, 0xc0eb3fce
+0, 28800, 32399, 0, 20842, 0x9d0728ba
+0, 32399, 35999, 0, 20878, 0xf60f5dee
+0, 35999, 39600, 0, 20866, 0x3bde568f
+0, 39600, 43200, 0, 20884, 0x22736993
+0, 43200, 46800, 0, 20860, 0xf56f2fca
+0, 46800, 50400, 0, 20872, 0xf39e3cb3
+0, 50400, 53999, 0, 20835, 0xa3c4363b
+0, 53999, 57600, 0, 20905, 0x552853d1
+0, 57600, 61200, 0, 20874, 0xed0b91ec
+0, 61200, 64799, 0, 20877, 0xe1623e01
+0, 64799, 68399, 0, 20933, 0x19906564
+0, 68399, 72000, 0, 20891, 0x3d064fd3
+0, 72000, 75600, 3600, 20834, 0xcb774dbc
+0, 75600, 79200, 3600, 20870, 0xbc536589
+0, 79200, 82800, 3600, 21421, 0xc99a68e4
+0, 82800, 86400, 3600, 12869, 0x5684e304
diff --git a/tests/ref/fate/kmvc b/tests/ref/fate/kmvc
index eb7bcdac06..8a733bbb4e 100644
--- a/tests/ref/fate/kmvc
+++ b/tests/ref/fate/kmvc
@@ -1,75 +1,76 @@
-0, 0, 153600, 0x00000000
-0, 3600, 153600, 0x00000000
-0, 7200, 153600, 0x00000000
-0, 10800, 153600, 0x3ad906f0
-0, 14400, 153600, 0x9f7c2e80
-0, 18000, 153600, 0x548c9e10
-0, 21600, 153600, 0xab4154e7
-0, 25200, 153600, 0x762964be
-0, 28800, 153600, 0xea6beab1
-0, 32400, 153600, 0x00805c23
-0, 36000, 153600, 0x932eebd2
-0, 39600, 153600, 0x73a9a1c4
-0, 43200, 153600, 0x3ecf80a2
-0, 46800, 153600, 0xb7266fcc
-0, 50400, 153600, 0xf9a75e02
-0, 54000, 153600, 0xa4cb4c00
-0, 57600, 153600, 0x8cc653fa
-0, 61200, 153600, 0xf0735df0
-0, 64800, 153600, 0x46945766
-0, 68400, 153600, 0x1cf75120
-0, 72000, 153600, 0x015d4476
-0, 75600, 153600, 0x4ad6419c
-0, 79200, 153600, 0xf97a1292
-0, 82800, 153600, 0x8048c6bd
-0, 86400, 153600, 0x0aa97f7f
-0, 90000, 153600, 0xcd1a0531
-0, 93600, 153600, 0xeb9e72b4
-0, 97200, 153600, 0x5a61d657
-0, 100800, 153600, 0xc4eb1759
-0, 104400, 153600, 0x07b05b0c
-0, 108000, 153600, 0x9c417927
-0, 111600, 153600, 0xa3a28516
-0, 115200, 153600, 0x78e97511
-0, 118800, 153600, 0x05c94e38
-0, 122400, 153600, 0x0003ffa4
-0, 126000, 153600, 0x46489827
-0, 129600, 153600, 0xa6ac0ea6
-0, 133200, 153600, 0xf4ae7e9a
-0, 136800, 153600, 0xe07dd526
-0, 140400, 153600, 0x5c0d0ab9
-0, 144000, 153600, 0xad542525
-0, 147600, 153600, 0xa72a35b1
-0, 151200, 153600, 0x373d3cbd
-0, 154800, 153600, 0x242c3cad
-0, 158400, 153600, 0xbe4f44e5
-0, 162000, 153600, 0x3b883575
-0, 165600, 153600, 0xcd7d2995
-0, 169200, 153600, 0x89a01f99
-0, 172800, 153600, 0x79ac0861
-0, 176400, 153600, 0xefb6ee22
-0, 180000, 153600, 0x4498d6b2
-0, 183600, 153600, 0x99efd0a6
-0, 187200, 153600, 0xd937c282
-0, 190800, 153600, 0xa6c6bbb2
-0, 194400, 153600, 0xf667bf0e
-0, 198000, 153600, 0x83b2c12e
-0, 201600, 153600, 0xcbd6c766
-0, 205200, 153600, 0xc5b3c762
-0, 208800, 153600, 0xe51fc5fa
-0, 212400, 153600, 0x6542c5ee
-0, 216000, 153600, 0x59d2c946
-0, 219600, 153600, 0xccaacdde
-0, 223200, 153600, 0x884ec6aa
-0, 226800, 153600, 0xb3d7c2de
-0, 230400, 153600, 0xd4e8c1a2
-0, 234000, 153600, 0xa416c3ba
-0, 237600, 153600, 0x6905b62e
-0, 241200, 153600, 0xce16b456
-0, 244800, 153600, 0xcbd9a67e
-0, 248400, 153600, 0x6785afd6
-0, 252000, 153600, 0x6fd7b1fa
-0, 255600, 153600, 0x2a65b77e
-0, 259200, 153600, 0xa162aff6
-0, 262800, 153600, 0x227ea802
-0, 266400, 153600, 0x98de79fa
+#tb 0: 1/25
+0, 0, 0, 1, 153600, 0x00000000
+0, 1, 1, 1, 153600, 0x00000000
+0, 2, 2, 1, 153600, 0x00000000
+0, 3, 3, 1, 153600, 0x3ad906f0
+0, 4, 4, 1, 153600, 0x9f7c2e80
+0, 5, 5, 1, 153600, 0x548c9e10
+0, 6, 6, 1, 153600, 0xab4154e7
+0, 7, 7, 1, 153600, 0x762964be
+0, 8, 8, 1, 153600, 0xea6beab1
+0, 9, 9, 1, 153600, 0x00805c23
+0, 10, 10, 1, 153600, 0x932eebd2
+0, 11, 11, 1, 153600, 0x73a9a1c4
+0, 12, 12, 1, 153600, 0x3ecf80a2
+0, 13, 13, 1, 153600, 0xb7266fcc
+0, 14, 14, 1, 153600, 0xf9a75e02
+0, 15, 15, 1, 153600, 0xa4cb4c00
+0, 16, 16, 1, 153600, 0x8cc653fa
+0, 17, 17, 1, 153600, 0xf0735df0
+0, 18, 18, 1, 153600, 0x46945766
+0, 19, 19, 1, 153600, 0x1cf75120
+0, 20, 20, 1, 153600, 0x015d4476
+0, 21, 21, 1, 153600, 0x4ad6419c
+0, 22, 22, 1, 153600, 0xf97a1292
+0, 23, 23, 1, 153600, 0x8048c6bd
+0, 24, 24, 1, 153600, 0x0aa97f7f
+0, 25, 25, 1, 153600, 0xcd1a0531
+0, 26, 26, 1, 153600, 0xeb9e72b4
+0, 27, 27, 1, 153600, 0x5a61d657
+0, 28, 28, 1, 153600, 0xc4eb1759
+0, 29, 29, 1, 153600, 0x07b05b0c
+0, 30, 30, 1, 153600, 0x9c417927
+0, 31, 31, 1, 153600, 0xa3a28516
+0, 32, 32, 1, 153600, 0x78e97511
+0, 33, 33, 1, 153600, 0x05c94e38
+0, 34, 34, 1, 153600, 0x0003ffa4
+0, 35, 35, 1, 153600, 0x46489827
+0, 36, 36, 1, 153600, 0xa6ac0ea6
+0, 37, 37, 1, 153600, 0xf4ae7e9a
+0, 38, 38, 1, 153600, 0xe07dd526
+0, 39, 39, 1, 153600, 0x5c0d0ab9
+0, 40, 40, 1, 153600, 0xad542525
+0, 41, 41, 1, 153600, 0xa72a35b1
+0, 42, 42, 1, 153600, 0x373d3cbd
+0, 43, 43, 1, 153600, 0x242c3cad
+0, 44, 44, 1, 153600, 0xbe4f44e5
+0, 45, 45, 1, 153600, 0x3b883575
+0, 46, 46, 1, 153600, 0xcd7d2995
+0, 47, 47, 1, 153600, 0x89a01f99
+0, 48, 48, 1, 153600, 0x79ac0861
+0, 49, 49, 1, 153600, 0xefb6ee22
+0, 50, 50, 1, 153600, 0x4498d6b2
+0, 51, 51, 1, 153600, 0x99efd0a6
+0, 52, 52, 1, 153600, 0xd937c282
+0, 53, 53, 1, 153600, 0xa6c6bbb2
+0, 54, 54, 1, 153600, 0xf667bf0e
+0, 55, 55, 1, 153600, 0x83b2c12e
+0, 56, 56, 1, 153600, 0xcbd6c766
+0, 57, 57, 1, 153600, 0xc5b3c762
+0, 58, 58, 1, 153600, 0xe51fc5fa
+0, 59, 59, 1, 153600, 0x6542c5ee
+0, 60, 60, 1, 153600, 0x59d2c946
+0, 61, 61, 1, 153600, 0xccaacdde
+0, 62, 62, 1, 153600, 0x884ec6aa
+0, 63, 63, 1, 153600, 0xb3d7c2de
+0, 64, 64, 1, 153600, 0xd4e8c1a2
+0, 65, 65, 1, 153600, 0xa416c3ba
+0, 66, 66, 1, 153600, 0x6905b62e
+0, 67, 67, 1, 153600, 0xce16b456
+0, 68, 68, 1, 153600, 0xcbd9a67e
+0, 69, 69, 1, 153600, 0x6785afd6
+0, 70, 70, 1, 153600, 0x6fd7b1fa
+0, 71, 71, 1, 153600, 0x2a65b77e
+0, 72, 72, 1, 153600, 0xa162aff6
+0, 73, 73, 1, 153600, 0x227ea802
+0, 74, 74, 1, 153600, 0x98de79fa
diff --git a/tests/ref/fate/lmlm4-demux b/tests/ref/fate/lmlm4-demux
index f3214234d7..0546135a46 100644
--- a/tests/ref/fate/lmlm4-demux
+++ b/tests/ref/fate/lmlm4-demux
@@ -1,215 +1,217 @@
-0, 0, 5951, 0xe9118e0d
-1, 0, 768, 0xaebcbebb
-1, 2160, 768, 0xaebcbebb
-0, 3003, 1672, 0x4b80d4ca
-1, 4320, 768, 0xaebcbebb
-0, 6006, 1604, 0x99e1b0a7
-1, 6480, 768, 0x866fe37a
-1, 8640, 768, 0x05d76890
-0, 9009, 1204, 0x9559038a
-1, 10800, 768, 0x858f5511
-0, 12012, 1482, 0x60056564
-1, 12960, 768, 0x97cb65ef
-0, 15015, 1105, 0xf508cef4
-1, 15120, 768, 0xe269742c
-1, 17280, 768, 0xa6015f8d
-0, 18018, 1193, 0xc8e0fd36
-1, 19440, 768, 0x759163e0
-0, 21021, 1247, 0x8dd202e5
-1, 21600, 768, 0xb1e16082
-1, 23760, 768, 0x1b616429
-0, 24024, 1367, 0xf59435e5
-1, 25920, 768, 0x7e4364f7
-0, 27027, 1406, 0x68ba4a7e
-1, 28080, 768, 0x59bd64f7
-0, 30030, 1262, 0x82c04123
-1, 30240, 768, 0xc3116fc6
-1, 32400, 768, 0x6a1c6b56
-0, 33033, 1381, 0x02335cf9
-1, 34560, 768, 0x285a64cf
-0, 36036, 1450, 0x7be46fd1
-1, 36720, 768, 0x79b16d65
-1, 38880, 768, 0x09b47635
-0, 39039, 1362, 0x75cc381a
-1, 41040, 768, 0x81597446
-0, 42042, 1409, 0x9ed74f3f
-1, 43200, 768, 0xfeb66eee
-0, 45045, 1253, 0x82400ae1
-1, 45360, 768, 0x78557618
-1, 47520, 768, 0x3af170bf
-0, 48048, 5499, 0xed286805
-1, 49680, 768, 0xefbd6399
-0, 51051, 1403, 0x483c4cbc
-1, 51840, 768, 0xc98e7492
-1, 54000, 768, 0x010d7149
-0, 54054, 1632, 0xa9ebcd6c
-1, 56160, 768, 0xce838b07
-0, 57057, 1207, 0xc8580724
-1, 58320, 768, 0xed18726c
-0, 60060, 1289, 0x61fb2fd2
-1, 60480, 768, 0x017e6712
-1, 62640, 768, 0x7f9268e9
-0, 63063, 1230, 0xf348f53c
-1, 64800, 768, 0xf6f258fc
-0, 66066, 1579, 0xa260b1ac
-1, 66960, 768, 0x9a1a6f31
-0, 69069, 949, 0x91849002
-1, 69120, 768, 0x14b47b23
-1, 71280, 768, 0x9bdc6a50
-0, 72072, 786, 0x3e33576f
-1, 73440, 768, 0x0fc46dab
-0, 75075, 894, 0x9ac36a61
-1, 75600, 768, 0x6c387372
-1, 77760, 768, 0x581e71cd
-0, 78078, 1186, 0x6bfc116e
-1, 79920, 768, 0x00cb785f
-0, 81081, 1187, 0xcfc512ae
-1, 82080, 768, 0x1dda7032
-0, 84084, 1527, 0x5c2c965a
-1, 84240, 768, 0xf57c7103
-1, 86400, 768, 0x2d927183
-0, 87087, 1536, 0x5ba7ac29
-1, 88560, 768, 0xdae86cdf
-0, 90090, 1095, 0xce06eb96
-1, 90720, 768, 0x2a2f6c3c
-1, 92880, 768, 0x44696eba
-0, 93093, 1402, 0x642f6b0d
-1, 95040, 768, 0xf67c71c4
-0, 96096, 5551, 0xf01a9c08
-1, 97200, 768, 0xc1ce7237
-0, 99099, 1211, 0x350206f7
-1, 99360, 768, 0xd9c36ef5
-1, 101520, 768, 0x63b06b03
-0, 102102, 887, 0x08767619
-1, 103680, 768, 0x8de97ebe
-0, 105105, 1042, 0xcc81a9ed
-1, 105840, 768, 0xbf117c32
-1, 108000, 768, 0x82897497
-0, 108108, 1247, 0x6f320614
-1, 110160, 768, 0x7a347abb
-0, 111111, 1459, 0xd28975b5
-1, 112320, 768, 0xc99b691e
-0, 114114, 1116, 0x1ab1e9db
-1, 114480, 768, 0xf4fc6e74
-1, 116640, 768, 0x511d6ec4
-0, 117117, 1110, 0x6411f66a
-1, 118800, 768, 0xb8c06b5f
-0, 120120, 1282, 0xd468375d
-1, 120960, 768, 0xf1776aed
-1, 123120, 768, 0xe6fe7fb4
-0, 123123, 1077, 0x1273c6e3
-1, 125280, 768, 0x36907aff
-0, 126126, 1043, 0x12dbd3ae
-1, 127440, 768, 0xddf666bb
-0, 129129, 1087, 0x3e70d37a
-1, 129600, 768, 0x8e896ebc
-1, 131760, 768, 0x0aa47dfa
-0, 132132, 992, 0x0651a71c
-1, 133920, 768, 0xc1736811
-0, 135135, 1012, 0x6a069f8c
-1, 136080, 768, 0xb3e87009
-0, 138138, 1320, 0x92803d69
-1, 138240, 768, 0xf23e6c00
-1, 140400, 768, 0x993a71d2
-0, 141141, 1080, 0xe0ffbe95
-1, 142560, 768, 0xa53466dd
-0, 144144, 5639, 0x658ca26b
-1, 144720, 768, 0xb43a74b0
-1, 146880, 768, 0x348f615c
-0, 147147, 1385, 0xbcb96241
-1, 149040, 768, 0x298f6e1b
-0, 150150, 1142, 0x8c6df318
-1, 151200, 768, 0x5db469c8
-0, 153153, 1175, 0xcac1faef
-1, 153360, 768, 0x08f16c2c
-1, 155520, 768, 0x4a0474cb
-0, 156156, 1091, 0xa937e32a
-1, 157680, 768, 0x077c760b
-0, 159159, 1174, 0xfa50040d
-1, 159840, 768, 0xa5777c2e
-1, 162000, 768, 0x0d157ea6
-0, 162162, 1293, 0x0c8d2740
-1, 164160, 768, 0x9bc26f86
-0, 165165, 1262, 0x502c0c35
-1, 166320, 768, 0x1a72742d
-0, 168168, 1038, 0x5e98c0cd
-1, 168480, 768, 0xa5bb6bbb
-1, 170640, 768, 0x48496c4c
-0, 171171, 1362, 0x256e43cf
-1, 172800, 768, 0x800d78f0
-0, 174174, 1200, 0x29e6f055
-1, 174960, 768, 0x40db840c
-1, 177120, 768, 0xadc96a6b
-0, 177177, 1495, 0x88e9b973
-1, 179280, 768, 0xff986b03
-0, 180180, 1386, 0x849297d2
-1, 181440, 768, 0x152473d6
-0, 183183, 1572, 0x63b7dc79
-1, 183600, 768, 0x01567323
-1, 185760, 768, 0xe5f26fe5
-0, 186186, 1190, 0x32ccf4cb
-1, 187920, 768, 0xa8fd72cd
-0, 189189, 1395, 0xa6ec4ae9
-1, 190080, 768, 0x8857655b
-0, 192192, 5692, 0x81aed6f3
-1, 192240, 768, 0x84017b13
-1, 194400, 768, 0xe6a968b3
-0, 195195, 1335, 0xe98a5497
-1, 196560, 768, 0xb03a7566
-0, 198198, 1361, 0x8ae15ab5
-1, 198720, 768, 0x8bea5f62
-1, 200880, 768, 0xac7570b0
-0, 201201, 1525, 0xed2bc1e8
-1, 203040, 768, 0x11306fac
-0, 204204, 1570, 0xba70d74b
-1, 205200, 768, 0xf2af5b28
-0, 207207, 1349, 0xd97a687d
-1, 207360, 768, 0x3069681f
-1, 209520, 768, 0x7ff07033
-0, 210210, 1270, 0xca8c3ca8
-1, 211680, 768, 0xd74973f2
-0, 213213, 1016, 0x32d0c81a
-1, 213840, 768, 0xb3627304
-1, 216000, 768, 0x11ff7589
-0, 216216, 983, 0x536faa97
-1, 218160, 768, 0x4a156c63
-0, 219219, 1111, 0x44ade015
-1, 220320, 768, 0xcb036127
-0, 222222, 1314, 0xce7c477d
-1, 222480, 768, 0x0b796bb9
-1, 224640, 768, 0x1d516c35
-0, 225225, 1005, 0x0196b491
-1, 226800, 768, 0xa9146da1
-0, 228228, 1162, 0xb8f6ebe6
-1, 228960, 768, 0x6d176392
-1, 231120, 768, 0x6f966269
-0, 231231, 1440, 0xfca67c72
-1, 233280, 768, 0x7ee17724
-0, 234234, 1437, 0x491181b1
-1, 235440, 768, 0x3f07614a
-0, 237237, 1261, 0xf0cd1898
-1, 237600, 768, 0x49d56945
-1, 239760, 768, 0x68eb660a
-0, 240240, 5638, 0x3a25a9f2
-1, 241920, 768, 0xe7c96677
-0, 243243, 1091, 0x67d9c693
-1, 244080, 768, 0x7dc07a35
-1, 246240, 768, 0x1e9c6397
-0, 246246, 875, 0x52147bb1
-1, 248400, 768, 0x93ef5de4
-0, 249249, 1188, 0x8522000f
-1, 250560, 768, 0x34af6803
-0, 252252, 1360, 0x89b82e7b
-1, 252720, 768, 0x77e068be
-1, 254880, 768, 0x65e274de
-0, 255255, 1378, 0xe8644914
-1, 257040, 768, 0xb7ad6a8a
-0, 258258, 1194, 0x89fef83d
-1, 259200, 768, 0x84b3635f
-0, 261261, 1422, 0x99daa18b
-1, 261360, 768, 0x066b78f2
-1, 263520, 768, 0xda137428
-0, 264264, 1049, 0x72a9cec1
-1, 265680, 768, 0xfd6c7597
-0, 267267, 1327, 0x7d15307c
-1, 267840, 768, 0x8d766d40
+#tb 0: 1001/30000
+#tb 1: 1/90000
+0, 0, -9223372036854775808, 1, 5951, 0xe9118e0d
+1, 0, 0, 2160, 768, 0xaebcbebb
+1, 2160, 2160, 2160, 768, 0xaebcbebb
+0, 1, -9223372036854775808, 1, 1672, 0x4b80d4ca
+1, 4320, 4320, 2160, 768, 0xaebcbebb
+0, 2, -9223372036854775808, 1, 1604, 0x99e1b0a7
+1, 6480, 6480, 2160, 768, 0x866fe37a
+1, 8640, 8640, 2160, 768, 0x05d76890
+0, 3, -9223372036854775808, 1, 1204, 0x9559038a
+1, 10800, 10800, 2160, 768, 0x858f5511
+0, 4, -9223372036854775808, 1, 1482, 0x60056564
+1, 12960, 12960, 2160, 768, 0x97cb65ef
+0, 5, -9223372036854775808, 1, 1105, 0xf508cef4
+1, 15120, 15120, 2160, 768, 0xe269742c
+1, 17280, 17280, 2160, 768, 0xa6015f8d
+0, 6, -9223372036854775808, 1, 1193, 0xc8e0fd36
+1, 19440, 19440, 2160, 768, 0x759163e0
+0, 7, -9223372036854775808, 1, 1247, 0x8dd202e5
+1, 21600, 21600, 2160, 768, 0xb1e16082
+1, 23760, 23760, 2160, 768, 0x1b616429
+0, 8, -9223372036854775808, 1, 1367, 0xf59435e5
+1, 25920, 25920, 2160, 768, 0x7e4364f7
+0, 9, -9223372036854775808, 1, 1406, 0x68ba4a7e
+1, 28080, 28080, 2160, 768, 0x59bd64f7
+0, 10, -9223372036854775808, 1, 1262, 0x82c04123
+1, 30240, 30240, 2160, 768, 0xc3116fc6
+1, 32400, 32400, 2160, 768, 0x6a1c6b56
+0, 11, -9223372036854775808, 1, 1381, 0x02335cf9
+1, 34560, 34560, 2160, 768, 0x285a64cf
+0, 12, -9223372036854775808, 1, 1450, 0x7be46fd1
+1, 36720, 36720, 2160, 768, 0x79b16d65
+1, 38880, 38880, 2160, 768, 0x09b47635
+0, 13, -9223372036854775808, 1, 1362, 0x75cc381a
+1, 41040, 41040, 2160, 768, 0x81597446
+0, 14, -9223372036854775808, 1, 1409, 0x9ed74f3f
+1, 43200, 43200, 2160, 768, 0xfeb66eee
+0, 15, -9223372036854775808, 1, 1253, 0x82400ae1
+1, 45360, 45360, 2160, 768, 0x78557618
+1, 47520, 47520, 2160, 768, 0x3af170bf
+0, 16, -9223372036854775808, 1, 5499, 0xed286805
+1, 49680, 49680, 2160, 768, 0xefbd6399
+0, 17, -9223372036854775808, 1, 1403, 0x483c4cbc
+1, 51840, 51840, 2160, 768, 0xc98e7492
+1, 54000, 54000, 2160, 768, 0x010d7149
+0, 18, -9223372036854775808, 1, 1632, 0xa9ebcd6c
+1, 56160, 56160, 2160, 768, 0xce838b07
+0, 19, -9223372036854775808, 1, 1207, 0xc8580724
+1, 58320, 58320, 2160, 768, 0xed18726c
+0, 20, -9223372036854775808, 1, 1289, 0x61fb2fd2
+1, 60480, 60480, 2160, 768, 0x017e6712
+1, 62640, 62640, 2160, 768, 0x7f9268e9
+0, 21, -9223372036854775808, 1, 1230, 0xf348f53c
+1, 64800, 64800, 2160, 768, 0xf6f258fc
+0, 22, -9223372036854775808, 1, 1579, 0xa260b1ac
+1, 66960, 66960, 2160, 768, 0x9a1a6f31
+0, 23, -9223372036854775808, 1, 949, 0x91849002
+1, 69120, 69120, 2160, 768, 0x14b47b23
+1, 71280, 71280, 2160, 768, 0x9bdc6a50
+0, 24, -9223372036854775808, 1, 786, 0x3e33576f
+1, 73440, 73440, 2160, 768, 0x0fc46dab
+0, 25, -9223372036854775808, 1, 894, 0x9ac36a61
+1, 75600, 75600, 2160, 768, 0x6c387372
+1, 77760, 77760, 2160, 768, 0x581e71cd
+0, 26, -9223372036854775808, 1, 1186, 0x6bfc116e
+1, 79920, 79920, 2160, 768, 0x00cb785f
+0, 27, -9223372036854775808, 1, 1187, 0xcfc512ae
+1, 82080, 82080, 2160, 768, 0x1dda7032
+0, 28, -9223372036854775808, 1, 1527, 0x5c2c965a
+1, 84240, 84240, 2160, 768, 0xf57c7103
+1, 86400, 86400, 2160, 768, 0x2d927183
+0, 29, -9223372036854775808, 1, 1536, 0x5ba7ac29
+1, 88560, 88560, 2160, 768, 0xdae86cdf
+0, 30, -9223372036854775808, 1, 1095, 0xce06eb96
+1, 90720, 90720, 2160, 768, 0x2a2f6c3c
+1, 92880, 92880, 2160, 768, 0x44696eba
+0, 31, -9223372036854775808, 1, 1402, 0x642f6b0d
+1, 95040, 95040, 2160, 768, 0xf67c71c4
+0, 32, -9223372036854775808, 1, 5551, 0xf01a9c08
+1, 97200, 97200, 2160, 768, 0xc1ce7237
+0, 33, -9223372036854775808, 1, 1211, 0x350206f7
+1, 99360, 99360, 2160, 768, 0xd9c36ef5
+1, 101520, 101520, 2160, 768, 0x63b06b03
+0, 34, -9223372036854775808, 1, 887, 0x08767619
+1, 103680, 103680, 2160, 768, 0x8de97ebe
+0, 35, -9223372036854775808, 1, 1042, 0xcc81a9ed
+1, 105840, 105840, 2160, 768, 0xbf117c32
+1, 108000, 108000, 2160, 768, 0x82897497
+0, 36, -9223372036854775808, 1, 1247, 0x6f320614
+1, 110160, 110160, 2160, 768, 0x7a347abb
+0, 37, -9223372036854775808, 1, 1459, 0xd28975b5
+1, 112320, 112320, 2160, 768, 0xc99b691e
+0, 38, -9223372036854775808, 1, 1116, 0x1ab1e9db
+1, 114480, 114480, 2160, 768, 0xf4fc6e74
+1, 116640, 116640, 2160, 768, 0x511d6ec4
+0, 39, -9223372036854775808, 1, 1110, 0x6411f66a
+1, 118800, 118800, 2160, 768, 0xb8c06b5f
+0, 40, -9223372036854775808, 1, 1282, 0xd468375d
+1, 120960, 120960, 2160, 768, 0xf1776aed
+1, 123120, 123120, 2160, 768, 0xe6fe7fb4
+0, 41, -9223372036854775808, 1, 1077, 0x1273c6e3
+1, 125280, 125280, 2160, 768, 0x36907aff
+0, 42, -9223372036854775808, 1, 1043, 0x12dbd3ae
+1, 127440, 127440, 2160, 768, 0xddf666bb
+0, 43, -9223372036854775808, 1, 1087, 0x3e70d37a
+1, 129600, 129600, 2160, 768, 0x8e896ebc
+1, 131760, 131760, 2160, 768, 0x0aa47dfa
+0, 44, -9223372036854775808, 1, 992, 0x0651a71c
+1, 133920, 133920, 2160, 768, 0xc1736811
+0, 45, -9223372036854775808, 1, 1012, 0x6a069f8c
+1, 136080, 136080, 2160, 768, 0xb3e87009
+0, 46, -9223372036854775808, 1, 1320, 0x92803d69
+1, 138240, 138240, 2160, 768, 0xf23e6c00
+1, 140400, 140400, 2160, 768, 0x993a71d2
+0, 47, -9223372036854775808, 1, 1080, 0xe0ffbe95
+1, 142560, 142560, 2160, 768, 0xa53466dd
+0, 48, -9223372036854775808, 1, 5639, 0x658ca26b
+1, 144720, 144720, 2160, 768, 0xb43a74b0
+1, 146880, 146880, 2160, 768, 0x348f615c
+0, 49, -9223372036854775808, 1, 1385, 0xbcb96241
+1, 149040, 149040, 2160, 768, 0x298f6e1b
+0, 50, -9223372036854775808, 1, 1142, 0x8c6df318
+1, 151200, 151200, 2160, 768, 0x5db469c8
+0, 51, -9223372036854775808, 1, 1175, 0xcac1faef
+1, 153360, 153360, 2160, 768, 0x08f16c2c
+1, 155520, 155520, 2160, 768, 0x4a0474cb
+0, 52, -9223372036854775808, 1, 1091, 0xa937e32a
+1, 157680, 157680, 2160, 768, 0x077c760b
+0, 53, -9223372036854775808, 1, 1174, 0xfa50040d
+1, 159840, 159840, 2160, 768, 0xa5777c2e
+1, 162000, 162000, 2160, 768, 0x0d157ea6
+0, 54, -9223372036854775808, 1, 1293, 0x0c8d2740
+1, 164160, 164160, 2160, 768, 0x9bc26f86
+0, 55, -9223372036854775808, 1, 1262, 0x502c0c35
+1, 166320, 166320, 2160, 768, 0x1a72742d
+0, 56, -9223372036854775808, 1, 1038, 0x5e98c0cd
+1, 168480, 168480, 2160, 768, 0xa5bb6bbb
+1, 170640, 170640, 2160, 768, 0x48496c4c
+0, 57, -9223372036854775808, 1, 1362, 0x256e43cf
+1, 172800, 172800, 2160, 768, 0x800d78f0
+0, 58, -9223372036854775808, 1, 1200, 0x29e6f055
+1, 174960, 174960, 2160, 768, 0x40db840c
+1, 177120, 177120, 2160, 768, 0xadc96a6b
+0, 59, -9223372036854775808, 1, 1495, 0x88e9b973
+1, 179280, 179280, 2160, 768, 0xff986b03
+0, 60, -9223372036854775808, 1, 1386, 0x849297d2
+1, 181440, 181440, 2160, 768, 0x152473d6
+0, 61, -9223372036854775808, 1, 1572, 0x63b7dc79
+1, 183600, 183600, 2160, 768, 0x01567323
+1, 185760, 185760, 2160, 768, 0xe5f26fe5
+0, 62, -9223372036854775808, 1, 1190, 0x32ccf4cb
+1, 187920, 187920, 2160, 768, 0xa8fd72cd
+0, 63, -9223372036854775808, 1, 1395, 0xa6ec4ae9
+1, 190080, 190080, 2160, 768, 0x8857655b
+0, 64, -9223372036854775808, 1, 5692, 0x81aed6f3
+1, 192240, 192240, 2160, 768, 0x84017b13
+1, 194400, 194400, 2160, 768, 0xe6a968b3
+0, 65, -9223372036854775808, 1, 1335, 0xe98a5497
+1, 196560, 196560, 2160, 768, 0xb03a7566
+0, 66, -9223372036854775808, 1, 1361, 0x8ae15ab5
+1, 198720, 198720, 2160, 768, 0x8bea5f62
+1, 200880, 200880, 2160, 768, 0xac7570b0
+0, 67, -9223372036854775808, 1, 1525, 0xed2bc1e8
+1, 203040, 203040, 2160, 768, 0x11306fac
+0, 68, -9223372036854775808, 1, 1570, 0xba70d74b
+1, 205200, 205200, 2160, 768, 0xf2af5b28
+0, 69, -9223372036854775808, 1, 1349, 0xd97a687d
+1, 207360, 207360, 2160, 768, 0x3069681f
+1, 209520, 209520, 2160, 768, 0x7ff07033
+0, 70, -9223372036854775808, 1, 1270, 0xca8c3ca8
+1, 211680, 211680, 2160, 768, 0xd74973f2
+0, 71, -9223372036854775808, 1, 1016, 0x32d0c81a
+1, 213840, 213840, 2160, 768, 0xb3627304
+1, 216000, 216000, 2160, 768, 0x11ff7589
+0, 72, -9223372036854775808, 1, 983, 0x536faa97
+1, 218160, 218160, 2160, 768, 0x4a156c63
+0, 73, -9223372036854775808, 1, 1111, 0x44ade015
+1, 220320, 220320, 2160, 768, 0xcb036127
+0, 74, -9223372036854775808, 1, 1314, 0xce7c477d
+1, 222480, 222480, 2160, 768, 0x0b796bb9
+1, 224640, 224640, 2160, 768, 0x1d516c35
+0, 75, -9223372036854775808, 1, 1005, 0x0196b491
+1, 226800, 226800, 2160, 768, 0xa9146da1
+0, 76, -9223372036854775808, 1, 1162, 0xb8f6ebe6
+1, 228960, 228960, 2160, 768, 0x6d176392
+1, 231120, 231120, 2160, 768, 0x6f966269
+0, 77, -9223372036854775808, 1, 1440, 0xfca67c72
+1, 233280, 233280, 2160, 768, 0x7ee17724
+0, 78, -9223372036854775808, 1, 1437, 0x491181b1
+1, 235440, 235440, 2160, 768, 0x3f07614a
+0, 79, -9223372036854775808, 1, 1261, 0xf0cd1898
+1, 237600, 237600, 2160, 768, 0x49d56945
+1, 239760, 239760, 2160, 768, 0x68eb660a
+0, 80, -9223372036854775808, 1, 5638, 0x3a25a9f2
+1, 241920, 241920, 2160, 768, 0xe7c96677
+0, 81, -9223372036854775808, 1, 1091, 0x67d9c693
+1, 244080, 244080, 2160, 768, 0x7dc07a35
+1, 246240, 246240, 2160, 768, 0x1e9c6397
+0, 82, -9223372036854775808, 1, 875, 0x52147bb1
+1, 248400, 248400, 2160, 768, 0x93ef5de4
+0, 83, -9223372036854775808, 1, 1188, 0x8522000f
+1, 250560, 250560, 2160, 768, 0x34af6803
+0, 84, -9223372036854775808, 1, 1360, 0x89b82e7b
+1, 252720, 252720, 2160, 768, 0x77e068be
+1, 254880, 254880, 2160, 768, 0x65e274de
+0, 85, -9223372036854775808, 1, 1378, 0xe8644914
+1, 257040, 257040, 2160, 768, 0xb7ad6a8a
+0, 86, -9223372036854775808, 1, 1194, 0x89fef83d
+1, 259200, 259200, 2160, 768, 0x84b3635f
+0, 87, -9223372036854775808, 1, 1422, 0x99daa18b
+1, 261360, 261360, 2160, 768, 0x066b78f2
+1, 263520, 263520, 2160, 768, 0xda137428
+0, 88, -9223372036854775808, 1, 1049, 0x72a9cec1
+1, 265680, 265680, 2160, 768, 0xfd6c7597
+0, 89, -9223372036854775808, 1, 1327, 0x7d15307c
+1, 267840, 267840, 2160, 768, 0x8d766d40
diff --git a/tests/ref/fate/loco-rgb b/tests/ref/fate/loco-rgb
index 4d2790b8c5..ad199f1410 100644
--- a/tests/ref/fate/loco-rgb
+++ b/tests/ref/fate/loco-rgb
@@ -1,5 +1,6 @@
-0, 0, 72192, 0x1847500c
-0, 12780, 72192, 0x1b0e2e87
-0, 25560, 72192, 0x293276c8
-0, 38340, 72192, 0x743b9705
-0, 51120, 72192, 0xcc1b2530
+#tb 0: 71/500
+0, 0, 0, 1, 72192, 0x1847500c
+0, 1, 1, 1, 72192, 0x1b0e2e87
+0, 2, 2, 1, 72192, 0x293276c8
+0, 3, 3, 1, 72192, 0x743b9705
+0, 4, 4, 1, 72192, 0xcc1b2530
diff --git a/tests/ref/fate/loco-yuy2 b/tests/ref/fate/loco-yuy2
index d3d68df06d..60a06bca7a 100644
--- a/tests/ref/fate/loco-yuy2
+++ b/tests/ref/fate/loco-yuy2
@@ -1,3 +1,4 @@
-0, 0, 48128, 0x7795782d
-0, 12780, 48128, 0x3d89bcf7
-0, 25560, 48128, 0x170d200a
+#tb 0: 71/500
+0, 0, 0, 1, 48128, 0x7795782d
+0, 1, 1, 1, 48128, 0x3d89bcf7
+0, 2, 2, 1, 48128, 0x170d200a
diff --git a/tests/ref/fate/mimic b/tests/ref/fate/mimic
index 8195cdcaba..0e684b6331 100644
--- a/tests/ref/fate/mimic
+++ b/tests/ref/fate/mimic
@@ -1,76 +1,77 @@
-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
+#tb 0: 1/1000
+0, 0, 0, 0, 115200, 0xa974d407
+0, 1, 1, 0, 115200, 0x72618b84
+0, 2, 2, 0, 115200, 0x87768573
+0, 3, 3, 0, 115200, 0x5d218e3e
+0, 4, 4, 0, 115200, 0x0c0db41c
+0, 5, 5, 0, 115200, 0xb777fd48
+0, 6, 6, 0, 115200, 0x40765de7
+0, 7, 7, 0, 115200, 0x370a3c90
+0, 8, 8, 0, 115200, 0xc605785a
+0, 9, 9, 0, 115200, 0x49468b23
+0, 10, 10, 0, 115200, 0x986b6fd4
+0, 11, 11, 0, 115200, 0x30f22ef8
+0, 12, 12, 0, 115200, 0xa90bd608
+0, 13, 13, 0, 115200, 0x9cf36518
+0, 14, 14, 0, 115200, 0x4ef1a679
+0, 15, 15, 0, 115200, 0x0df65873
+0, 16, 16, 0, 115200, 0xfecd4233
+0, 17, 17, 0, 115200, 0xee2f26cb
+0, 18, 18, 0, 115200, 0x795f612d
+0, 19, 19, 0, 115200, 0xbbb90125
+0, 20, 20, 0, 115200, 0x9230fb6e
+0, 21, 21, 0, 115200, 0x11869996
+0, 22, 22, 0, 115200, 0x6b5c892b
+0, 23, 23, 0, 115200, 0x88bdb9cd
+0, 24, 24, 0, 115200, 0x364bc5a0
+0, 25, 25, 0, 115200, 0x6b66d817
+0, 26, 26, 0, 115200, 0xd3a41252
+0, 27, 27, 0, 115200, 0x0cf5612f
+0, 28, 28, 0, 115200, 0x9752d055
+0, 29, 29, 0, 115200, 0x486e9f6f
+0, 30, 30, 0, 115200, 0x3eab62f8
+0, 31, 31, 0, 115200, 0xa7f52762
+0, 32, 32, 0, 115200, 0xfd4c4bbc
+0, 33, 33, 0, 115200, 0x194023f6
+0, 34, 34, 0, 115200, 0xd4668dad
+0, 35, 35, 0, 115200, 0x6b20d64b
+0, 36, 36, 0, 115200, 0xf2572aae
+0, 37, 37, 0, 115200, 0xc3554f25
+0, 38, 38, 0, 115200, 0xeeb5073a
+0, 39, 39, 0, 115200, 0xbd46291f
+0, 40, 40, 0, 115200, 0x0526838d
+0, 41, 41, 0, 115200, 0x85b2e864
+0, 42, 42, 0, 115200, 0xcfd894bc
+0, 43, 43, 0, 115200, 0x644f10fb
+0, 44, 44, 0, 115200, 0x556e4d88
+0, 45, 45, 0, 115200, 0x93243614
+0, 46, 46, 0, 115200, 0x754275c5
+0, 47, 47, 0, 115200, 0x7f648bf3
+0, 48, 48, 0, 115200, 0xece18c9b
+0, 49, 49, 0, 115200, 0x385d52c1
+0, 50, 50, 0, 115200, 0xafc58e4a
+0, 51, 51, 0, 115200, 0x50daf750
+0, 52, 52, 0, 115200, 0xf6bc67d1
+0, 53, 53, 0, 115200, 0xb64b6e07
+0, 54, 54, 0, 115200, 0x8751ed15
+0, 55, 55, 0, 115200, 0x329ce803
+0, 56, 56, 0, 115200, 0x40b2cb05
+0, 57, 57, 0, 115200, 0x60f3517d
+0, 58, 58, 0, 115200, 0xe0d46fdf
+0, 59, 59, 0, 115200, 0x204529fa
+0, 60, 60, 0, 115200, 0xd5afaf22
+0, 61, 61, 0, 115200, 0xd3cb3d4c
+0, 62, 62, 0, 115200, 0x87973a79
+0, 63, 63, 0, 115200, 0xe3b2f917
+0, 64, 64, 0, 115200, 0xf1923238
+0, 65, 65, 0, 115200, 0x51494d71
+0, 66, 66, 0, 115200, 0x58bc59bb
+0, 67, 67, 0, 115200, 0xd0273fdb
+0, 68, 68, 0, 115200, 0x6cc79700
+0, 69, 69, 0, 115200, 0xc8172d31
+0, 70, 70, 0, 115200, 0x8eb037ef
+0, 71, 71, 0, 115200, 0xc0bc2d76
+0, 72, 72, 0, 115200, 0x663c467a
+0, 73, 73, 0, 115200, 0xd085e950
+0, 74, 74, 0, 115200, 0x7d198d72
+0, 75, 75, 0, 115200, 0x6ebacda0
diff --git a/tests/ref/fate/mjpegb b/tests/ref/fate/mjpegb
index f2d0ec8f40..ef8a00b23e 100644
--- a/tests/ref/fate/mjpegb
+++ b/tests/ref/fate/mjpegb
@@ -1,10 +1,11 @@
-0, 0, 38400, 0x45311080
-0, 7500, 38400, 0x9474f731
-0, 15000, 38400, 0x429ebb12
-0, 22500, 38400, 0x472c199a
-0, 30000, 38400, 0xefd49dae
-0, 37500, 38400, 0x78627fa9
-0, 45000, 38400, 0x2a8d9148
-0, 52500, 38400, 0x21cc6738
-0, 60000, 38400, 0x0bc4703f
-0, 67500, 38400, 0x1ddcc035
+#tb 0: 1/12
+0, 0, 0, 1, 38400, 0x45311080
+0, 1, 1, 1, 38400, 0x9474f731
+0, 2, 2, 1, 38400, 0x429ebb12
+0, 3, 3, 1, 38400, 0x472c199a
+0, 4, 4, 1, 38400, 0xefd49dae
+0, 5, 5, 1, 38400, 0x78627fa9
+0, 6, 6, 1, 38400, 0x2a8d9148
+0, 7, 7, 1, 38400, 0x21cc6738
+0, 8, 8, 1, 38400, 0x0bc4703f
+0, 9, 9, 1, 38400, 0x1ddcc035
diff --git a/tests/ref/fate/motionpixels b/tests/ref/fate/motionpixels
index fa86f7379f..97d8edfb43 100644
--- a/tests/ref/fate/motionpixels
+++ b/tests/ref/fate/motionpixels
@@ -1,111 +1,112 @@
-0, 0, 230400, 0xee05b509
-0, 6000, 230400, 0x71048964
-0, 12000, 230400, 0x2ebe4ba1
-0, 18000, 230400, 0xeedc45a6
-0, 24000, 230400, 0x218e8656
-0, 30000, 230400, 0x5792b17e
-0, 36000, 230400, 0x51b0a062
-0, 42000, 230400, 0x5dc4fd9c
-0, 48000, 230400, 0x9b0261b1
-0, 54000, 230400, 0x35086ffc
-0, 60000, 230400, 0xcf9352ff
-0, 66000, 230400, 0x0b5139a1
-0, 72000, 230400, 0x22e8a31e
-0, 78000, 230400, 0x82f61a81
-0, 84000, 230400, 0xc5741ab5
-0, 90000, 230400, 0xb5e7b2ff
-0, 96000, 230400, 0x583289ca
-0, 102001, 230400, 0xee52afbb
-0, 108001, 230400, 0xfdb4dc1a
-0, 114001, 230400, 0xf5ce99c0
-0, 120001, 230400, 0xae222255
-0, 126001, 230400, 0xc4f4439d
-0, 132001, 230400, 0x1758f224
-0, 138001, 230400, 0x5f517926
-0, 144001, 230400, 0x73a8bed8
-0, 150001, 230400, 0x7ef8410c
-0, 156001, 230400, 0xfcb693c7
-0, 162001, 230400, 0x5292832e
-0, 168001, 230400, 0x591261d7
-0, 174001, 230400, 0x28cca691
-0, 180001, 230400, 0x22cf40ef
-0, 186001, 230400, 0x517b10f9
-0, 192001, 230400, 0x8197e939
-0, 198001, 230400, 0x9654ffdb
-0, 204001, 230400, 0x803f10dd
-0, 210001, 230400, 0xff9f67af
-0, 216001, 230400, 0x4847244c
-0, 222001, 230400, 0xff31638f
-0, 228001, 230400, 0x9692def5
-0, 234001, 230400, 0x67f0a5fb
-0, 240001, 230400, 0xce192074
-0, 246001, 230400, 0x33d6c4a5
-0, 252001, 230400, 0xaf7b5a03
-0, 258001, 230400, 0xd956b0c0
-0, 264001, 230400, 0x58ff1a65
-0, 270001, 230400, 0x044758a1
-0, 276001, 230400, 0xe8045b65
-0, 282001, 230400, 0xf504c5fb
-0, 288001, 230400, 0x17a9a2b0
-0, 294001, 230400, 0xf68bab8c
-0, 300002, 230400, 0xd06dd0cb
-0, 306002, 230400, 0xc47d2673
-0, 312002, 230400, 0x2112f291
-0, 318002, 230400, 0x4c07c83c
-0, 324002, 230400, 0x22ca0113
-0, 330002, 230400, 0x25b0c8b1
-0, 336002, 230400, 0xb6afc645
-0, 342002, 230400, 0x663b1c09
-0, 348002, 230400, 0x9006ef1f
-0, 354002, 230400, 0x54f81b11
-0, 360002, 230400, 0x456b79f2
-0, 366002, 230400, 0xb08f24d0
-0, 372002, 230400, 0x652ad875
-0, 378002, 230400, 0xc6ecd67f
-0, 384002, 230400, 0x78dad721
-0, 390002, 230400, 0x1d2a4f71
-0, 396002, 230400, 0xc71721d1
-0, 402002, 230400, 0x64e3a7df
-0, 408002, 230400, 0x3bb18e71
-0, 414002, 230400, 0xb571d58c
-0, 420002, 230400, 0xdae6ed5c
-0, 426002, 230400, 0xdd91504b
-0, 432002, 230400, 0xd5a807a5
-0, 438002, 230400, 0x39a67b03
-0, 444002, 230400, 0xe245c8ac
-0, 450002, 230400, 0x5b0d7858
-0, 456002, 230400, 0x501b8097
-0, 462002, 230400, 0xf7b10d48
-0, 468002, 230400, 0x769db0bd
-0, 474002, 230400, 0x600f1086
-0, 480002, 230400, 0x874f5565
-0, 486002, 230400, 0x14322f73
-0, 492002, 230400, 0x0eaa36a5
-0, 498002, 230400, 0x97178d13
-0, 504003, 230400, 0xd4c7a0d1
-0, 510003, 230400, 0x1d424ec8
-0, 516003, 230400, 0x695ad8d9
-0, 522003, 230400, 0xe7cc3ecf
-0, 528003, 230400, 0xfd25fd8c
-0, 534003, 230400, 0xef4bc203
-0, 540003, 230400, 0x2a113bec
-0, 546003, 230400, 0x6e7ad403
-0, 552003, 230400, 0xc6714d2b
-0, 558003, 230400, 0x77df8ba6
-0, 564003, 230400, 0xcd283106
-0, 570003, 230400, 0xcb95676f
-0, 576003, 230400, 0xb0b70393
-0, 582003, 230400, 0x4c40bd63
-0, 588003, 230400, 0x557e8ccf
-0, 594003, 230400, 0x9d5934b2
-0, 600003, 230400, 0x43c1793f
-0, 606003, 230400, 0x0232361e
-0, 612003, 230400, 0x92ed91e4
-0, 618003, 230400, 0x99769789
-0, 624003, 230400, 0xd49c2c5b
-0, 630003, 230400, 0x66b03495
-0, 636003, 230400, 0xb88a4658
-0, 642003, 230400, 0x9c21e4c2
-0, 648003, 230400, 0xb343f372
-0, 654003, 230400, 0xf7f1e588
-0, 660003, 230400, 0x9682bdb2
+#tb 0: 66667/1000000
+0, 0, 0, 1, 230400, 0xee05b509
+0, 1, 1, 1, 230400, 0x71048964
+0, 2, 2, 1, 230400, 0x2ebe4ba1
+0, 3, 3, 1, 230400, 0xeedc45a6
+0, 4, 4, 1, 230400, 0x218e8656
+0, 5, 5, 1, 230400, 0x5792b17e
+0, 6, 6, 1, 230400, 0x51b0a062
+0, 7, 7, 1, 230400, 0x5dc4fd9c
+0, 8, 8, 1, 230400, 0x9b0261b1
+0, 9, 9, 1, 230400, 0x35086ffc
+0, 10, 10, 1, 230400, 0xcf9352ff
+0, 11, 11, 1, 230400, 0x0b5139a1
+0, 12, 12, 1, 230400, 0x22e8a31e
+0, 13, 13, 1, 230400, 0x82f61a81
+0, 14, 14, 1, 230400, 0xc5741ab5
+0, 15, 15, 1, 230400, 0xb5e7b2ff
+0, 16, 16, 1, 230400, 0x583289ca
+0, 17, 17, 1, 230400, 0xee52afbb
+0, 18, 18, 1, 230400, 0xfdb4dc1a
+0, 19, 19, 1, 230400, 0xf5ce99c0
+0, 20, 20, 1, 230400, 0xae222255
+0, 21, 21, 1, 230400, 0xc4f4439d
+0, 22, 22, 1, 230400, 0x1758f224
+0, 23, 23, 1, 230400, 0x5f517926
+0, 24, 24, 1, 230400, 0x73a8bed8
+0, 25, 25, 1, 230400, 0x7ef8410c
+0, 26, 26, 1, 230400, 0xfcb693c7
+0, 27, 27, 1, 230400, 0x5292832e
+0, 28, 28, 1, 230400, 0x591261d7
+0, 29, 29, 1, 230400, 0x28cca691
+0, 30, 30, 1, 230400, 0x22cf40ef
+0, 31, 31, 1, 230400, 0x517b10f9
+0, 32, 32, 1, 230400, 0x8197e939
+0, 33, 33, 1, 230400, 0x9654ffdb
+0, 34, 34, 1, 230400, 0x803f10dd
+0, 35, 35, 1, 230400, 0xff9f67af
+0, 36, 36, 1, 230400, 0x4847244c
+0, 37, 37, 1, 230400, 0xff31638f
+0, 38, 38, 1, 230400, 0x9692def5
+0, 39, 39, 1, 230400, 0x67f0a5fb
+0, 40, 40, 1, 230400, 0xce192074
+0, 41, 41, 1, 230400, 0x33d6c4a5
+0, 42, 42, 1, 230400, 0xaf7b5a03
+0, 43, 43, 1, 230400, 0xd956b0c0
+0, 44, 44, 1, 230400, 0x58ff1a65
+0, 45, 45, 1, 230400, 0x044758a1
+0, 46, 46, 1, 230400, 0xe8045b65
+0, 47, 47, 1, 230400, 0xf504c5fb
+0, 48, 48, 1, 230400, 0x17a9a2b0
+0, 49, 49, 1, 230400, 0xf68bab8c
+0, 50, 50, 1, 230400, 0xd06dd0cb
+0, 51, 51, 1, 230400, 0xc47d2673
+0, 52, 52, 1, 230400, 0x2112f291
+0, 53, 53, 1, 230400, 0x4c07c83c
+0, 54, 54, 1, 230400, 0x22ca0113
+0, 55, 55, 1, 230400, 0x25b0c8b1
+0, 56, 56, 1, 230400, 0xb6afc645
+0, 57, 57, 1, 230400, 0x663b1c09
+0, 58, 58, 1, 230400, 0x9006ef1f
+0, 59, 59, 1, 230400, 0x54f81b11
+0, 60, 60, 1, 230400, 0x456b79f2
+0, 61, 61, 1, 230400, 0xb08f24d0
+0, 62, 62, 1, 230400, 0x652ad875
+0, 63, 63, 1, 230400, 0xc6ecd67f
+0, 64, 64, 1, 230400, 0x78dad721
+0, 65, 65, 1, 230400, 0x1d2a4f71
+0, 66, 66, 1, 230400, 0xc71721d1
+0, 67, 67, 1, 230400, 0x64e3a7df
+0, 68, 68, 1, 230400, 0x3bb18e71
+0, 69, 69, 1, 230400, 0xb571d58c
+0, 70, 70, 1, 230400, 0xdae6ed5c
+0, 71, 71, 1, 230400, 0xdd91504b
+0, 72, 72, 1, 230400, 0xd5a807a5
+0, 73, 73, 1, 230400, 0x39a67b03
+0, 74, 74, 1, 230400, 0xe245c8ac
+0, 75, 75, 1, 230400, 0x5b0d7858
+0, 76, 76, 1, 230400, 0x501b8097
+0, 77, 77, 1, 230400, 0xf7b10d48
+0, 78, 78, 1, 230400, 0x769db0bd
+0, 79, 79, 1, 230400, 0x600f1086
+0, 80, 80, 1, 230400, 0x874f5565
+0, 81, 81, 1, 230400, 0x14322f73
+0, 82, 82, 1, 230400, 0x0eaa36a5
+0, 83, 83, 1, 230400, 0x97178d13
+0, 84, 84, 1, 230400, 0xd4c7a0d1
+0, 85, 85, 1, 230400, 0x1d424ec8
+0, 86, 86, 1, 230400, 0x695ad8d9
+0, 87, 87, 1, 230400, 0xe7cc3ecf
+0, 88, 88, 1, 230400, 0xfd25fd8c
+0, 89, 89, 1, 230400, 0xef4bc203
+0, 90, 90, 1, 230400, 0x2a113bec
+0, 91, 91, 1, 230400, 0x6e7ad403
+0, 92, 92, 1, 230400, 0xc6714d2b
+0, 93, 93, 1, 230400, 0x77df8ba6
+0, 94, 94, 1, 230400, 0xcd283106
+0, 95, 95, 1, 230400, 0xcb95676f
+0, 96, 96, 1, 230400, 0xb0b70393
+0, 97, 97, 1, 230400, 0x4c40bd63
+0, 98, 98, 1, 230400, 0x557e8ccf
+0, 99, 99, 1, 230400, 0x9d5934b2
+0, 100, 100, 1, 230400, 0x43c1793f
+0, 101, 101, 1, 230400, 0x0232361e
+0, 102, 102, 1, 230400, 0x92ed91e4
+0, 103, 103, 1, 230400, 0x99769789
+0, 104, 104, 1, 230400, 0xd49c2c5b
+0, 105, 105, 1, 230400, 0x66b03495
+0, 106, 106, 1, 230400, 0xb88a4658
+0, 107, 107, 1, 230400, 0x9c21e4c2
+0, 108, 108, 1, 230400, 0xb343f372
+0, 109, 109, 1, 230400, 0xf7f1e588
+0, 110, 110, 1, 230400, 0x9682bdb2
diff --git a/tests/ref/fate/mpeg2-field-enc b/tests/ref/fate/mpeg2-field-enc
index 9ae5d62bf0..a85906153a 100644
--- a/tests/ref/fate/mpeg2-field-enc
+++ b/tests/ref/fate/mpeg2-field-enc
@@ -1,31 +1,32 @@
-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
+#tb 0: 1/25
+0, 0, 0, 1, 622080, 0xb3b66c5c
+0, 1, 1, 1, 622080, 0x088ec02b
+0, 2, 2, 1, 622080, 0x7a36db21
+0, 3, 3, 1, 622080, 0x541b286f
+0, 4, 4, 1, 622080, 0xb6c3e590
+0, 5, 5, 1, 622080, 0x39dbed51
+0, 6, 6, 1, 622080, 0x973dc728
+0, 7, 7, 1, 622080, 0xd7a4f804
+0, 8, 8, 1, 622080, 0xa2484762
+0, 9, 9, 1, 622080, 0x0cd268d1
+0, 10, 10, 1, 622080, 0x72eb663d
+0, 11, 11, 1, 622080, 0x8fdbac59
+0, 12, 12, 1, 622080, 0xa6f4feb9
+0, 13, 13, 1, 622080, 0xadb828c6
+0, 14, 14, 1, 622080, 0xea630a63
+0, 15, 15, 1, 622080, 0xa901d925
+0, 16, 16, 1, 622080, 0xac5e7087
+0, 17, 17, 1, 622080, 0x10274a2b
+0, 18, 18, 1, 622080, 0x143d541c
+0, 19, 19, 1, 622080, 0xee94c93a
+0, 20, 20, 1, 622080, 0xca030208
+0, 21, 21, 1, 622080, 0x26f30ead
+0, 22, 22, 1, 622080, 0xfc22f32c
+0, 23, 23, 1, 622080, 0x940a5ff8
+0, 24, 24, 1, 622080, 0x2164f805
+0, 25, 25, 1, 622080, 0xa76f5aba
+0, 26, 26, 1, 622080, 0x8c311471
+0, 27, 27, 1, 622080, 0xa45e1d95
+0, 28, 28, 1, 622080, 0x6cc61d6c
+0, 29, 29, 1, 622080, 0x6983b417
+0, 30, 30, 1, 622080, 0x982363c0
diff --git a/tests/ref/fate/msmpeg4v1 b/tests/ref/fate/msmpeg4v1
index d6fea22dd3..d67a0efa17 100644
--- a/tests/ref/fate/msmpeg4v1
+++ b/tests/ref/fate/msmpeg4v1
@@ -1,50 +1,51 @@
-0, 0, 126720, 0x84284323
-0, 3003, 126720, 0x336fe236
-0, 6006, 126720, 0x901f1299
-0, 9009, 126720, 0x3b8be5fe
-0, 12012, 126720, 0x6da06397
-0, 15015, 126720, 0xe83de744
-0, 18018, 126720, 0xef2ed2bb
-0, 21021, 126720, 0x3ed1797f
-0, 24024, 126720, 0xf8c81785
-0, 27027, 126720, 0xf38239e0
-0, 30030, 126720, 0x005a2d6d
-0, 33033, 126720, 0xd6be525d
-0, 36036, 126720, 0x39482727
-0, 39039, 126720, 0xc8d95bc5
-0, 42042, 126720, 0xbaebd1e7
-0, 45045, 126720, 0xc94d60b3
-0, 48048, 126720, 0x80886d64
-0, 51051, 126720, 0xf99a39ee
-0, 54054, 126720, 0xbc8b6c26
-0, 57057, 126720, 0x2270acf1
-0, 60060, 126720, 0x754b5965
-0, 63063, 126720, 0x5312dc30
-0, 66066, 126720, 0x2254cc6e
-0, 69069, 126720, 0x58b4bdcc
-0, 72072, 126720, 0xd1ed63ee
-0, 75075, 126720, 0x4442dec5
-0, 78078, 126720, 0x53403cef
-0, 81081, 126720, 0x495d575f
-0, 84084, 126720, 0x3ebfc7e8
-0, 87087, 126720, 0x8f0abe01
-0, 90090, 126720, 0x9540ba61
-0, 93093, 126720, 0xb011e3cf
-0, 96096, 126720, 0x70b4b1f4
-0, 99099, 126720, 0x803b67f9
-0, 102102, 126720, 0xa1c92662
-0, 105105, 126720, 0x3a3d9e4c
-0, 108108, 126720, 0x12660aa2
-0, 111111, 126720, 0xb84c7602
-0, 114114, 126720, 0x920df241
-0, 117117, 126720, 0x5f9db168
-0, 120120, 126720, 0xe3f524a6
-0, 123123, 126720, 0x5f390fa7
-0, 126126, 126720, 0xa9503b4f
-0, 129129, 126720, 0x259c08e2
-0, 132132, 126720, 0xef7a0279
-0, 135135, 126720, 0x4d31ed35
-0, 138138, 126720, 0xe10e3c7e
-0, 141141, 126720, 0xc35f191e
-0, 144144, 126720, 0x3401e9a9
-0, 147147, 126720, 0xd50603f9
+#tb 0: 100/2997
+0, 0, 0, 1, 126720, 0x84284323
+0, 1, 1, 1, 126720, 0x336fe236
+0, 2, 2, 1, 126720, 0x901f1299
+0, 3, 3, 1, 126720, 0x3b8be5fe
+0, 4, 4, 1, 126720, 0x6da06397
+0, 5, 5, 1, 126720, 0xe83de744
+0, 6, 6, 1, 126720, 0xef2ed2bb
+0, 7, 7, 1, 126720, 0x3ed1797f
+0, 8, 8, 1, 126720, 0xf8c81785
+0, 9, 9, 1, 126720, 0xf38239e0
+0, 10, 10, 1, 126720, 0x005a2d6d
+0, 11, 11, 1, 126720, 0xd6be525d
+0, 12, 12, 1, 126720, 0x39482727
+0, 13, 13, 1, 126720, 0xc8d95bc5
+0, 14, 14, 1, 126720, 0xbaebd1e7
+0, 15, 15, 1, 126720, 0xc94d60b3
+0, 16, 16, 1, 126720, 0x80886d64
+0, 17, 17, 1, 126720, 0xf99a39ee
+0, 18, 18, 1, 126720, 0xbc8b6c26
+0, 19, 19, 1, 126720, 0x2270acf1
+0, 20, 20, 1, 126720, 0x754b5965
+0, 21, 21, 1, 126720, 0x5312dc30
+0, 22, 22, 1, 126720, 0x2254cc6e
+0, 23, 23, 1, 126720, 0x58b4bdcc
+0, 24, 24, 1, 126720, 0xd1ed63ee
+0, 25, 25, 1, 126720, 0x4442dec5
+0, 26, 26, 1, 126720, 0x53403cef
+0, 27, 27, 1, 126720, 0x495d575f
+0, 28, 28, 1, 126720, 0x3ebfc7e8
+0, 29, 29, 1, 126720, 0x8f0abe01
+0, 30, 30, 1, 126720, 0x9540ba61
+0, 31, 31, 1, 126720, 0xb011e3cf
+0, 32, 32, 1, 126720, 0x70b4b1f4
+0, 33, 33, 1, 126720, 0x803b67f9
+0, 34, 34, 1, 126720, 0xa1c92662
+0, 35, 35, 1, 126720, 0x3a3d9e4c
+0, 36, 36, 1, 126720, 0x12660aa2
+0, 37, 37, 1, 126720, 0xb84c7602
+0, 38, 38, 1, 126720, 0x920df241
+0, 39, 39, 1, 126720, 0x5f9db168
+0, 40, 40, 1, 126720, 0xe3f524a6
+0, 41, 41, 1, 126720, 0x5f390fa7
+0, 42, 42, 1, 126720, 0xa9503b4f
+0, 43, 43, 1, 126720, 0x259c08e2
+0, 44, 44, 1, 126720, 0xef7a0279
+0, 45, 45, 1, 126720, 0x4d31ed35
+0, 46, 46, 1, 126720, 0xe10e3c7e
+0, 47, 47, 1, 126720, 0xc35f191e
+0, 48, 48, 1, 126720, 0x3401e9a9
+0, 49, 49, 1, 126720, 0xd50603f9
diff --git a/tests/ref/fate/msrle-8bit b/tests/ref/fate/msrle-8bit
index b2374cd21c..5db1c244fa 100644
--- a/tests/ref/fate/msrle-8bit
+++ b/tests/ref/fate/msrle-8bit
@@ -1,29 +1,30 @@
-0, 0, 11520, 0xaf416a66
-0, 15000, 11520, 0x8ab76654
-0, 30000, 11520, 0xd22880c4
-0, 45000, 11520, 0x9d2f612a
-0, 60000, 11520, 0xf538600a
-0, 75000, 11520, 0x371d64e6
-0, 90000, 11520, 0x49043fbf
-0, 105000, 11520, 0x49043fbf
-0, 120000, 11520, 0x12d16528
-0, 134999, 11520, 0x1e0a6109
-0, 149999, 11520, 0x9d2f612a
-0, 164999, 11520, 0x96e083ca
-0, 179999, 11520, 0x8ab76654
-0, 194999, 11520, 0x43ac6de7
-0, 209999, 11520, 0x43ac6de7
-0, 224999, 11520, 0x5c3e6819
-0, 239999, 11520, 0x22758af0
-0, 254999, 11520, 0x88845eba
-0, 269999, 11520, 0x4b38848a
-0, 284999, 11520, 0x4f7495d3
-0, 299999, 11520, 0x736b702c
-0, 314999, 11520, 0x736b702c
-0, 329999, 11520, 0x4f7495d3
-0, 344999, 11520, 0x4b38848a
-0, 359999, 11520, 0x88845eba
-0, 374999, 11520, 0x22758af0
-0, 389998, 11520, 0x5c3e6819
-0, 404998, 11520, 0x43ac6de7
-0, 419998, 11520, 0x43ac6de7
+#tb 0: 83333/500000
+0, 0, 0, 1, 11520, 0xaf416a66
+0, 1, 1, 1, 11520, 0x8ab76654
+0, 2, 2, 1, 11520, 0xd22880c4
+0, 3, 3, 1, 11520, 0x9d2f612a
+0, 4, 4, 1, 11520, 0xf538600a
+0, 5, 5, 1, 11520, 0x371d64e6
+0, 6, 6, 1, 11520, 0x49043fbf
+0, 7, 7, 1, 11520, 0x49043fbf
+0, 8, 8, 1, 11520, 0x12d16528
+0, 9, 9, 1, 11520, 0x1e0a6109
+0, 10, 10, 1, 11520, 0x9d2f612a
+0, 11, 11, 1, 11520, 0x96e083ca
+0, 12, 12, 1, 11520, 0x8ab76654
+0, 13, 13, 1, 11520, 0x43ac6de7
+0, 14, 14, 1, 11520, 0x43ac6de7
+0, 15, 15, 1, 11520, 0x5c3e6819
+0, 16, 16, 1, 11520, 0x22758af0
+0, 17, 17, 1, 11520, 0x88845eba
+0, 18, 18, 1, 11520, 0x4b38848a
+0, 19, 19, 1, 11520, 0x4f7495d3
+0, 20, 20, 1, 11520, 0x736b702c
+0, 21, 21, 1, 11520, 0x736b702c
+0, 22, 22, 1, 11520, 0x4f7495d3
+0, 23, 23, 1, 11520, 0x4b38848a
+0, 24, 24, 1, 11520, 0x88845eba
+0, 25, 25, 1, 11520, 0x22758af0
+0, 26, 26, 1, 11520, 0x5c3e6819
+0, 27, 27, 1, 11520, 0x43ac6de7
+0, 28, 28, 1, 11520, 0x43ac6de7
diff --git a/tests/ref/fate/msvideo1-16bit b/tests/ref/fate/msvideo1-16bit
index b40331197f..fffdea294a 100644
--- a/tests/ref/fate/msvideo1-16bit
+++ b/tests/ref/fate/msvideo1-16bit
@@ -1,30 +1,31 @@
-0, 0, 65712, 0x917e0076
-0, 6006, 65712, 0xfe76fd1f
-0, 12013, 65712, 0xd85820ee
-0, 18019, 65712, 0x1b410f6e
-0, 24026, 65712, 0x53c50436
-0, 30032, 65712, 0xa191044d
-0, 36039, 65712, 0xcf02ff1f
-0, 42045, 65712, 0xc2abf85f
-0, 48051, 65712, 0xe273087e
-0, 54058, 65712, 0x087d0936
-0, 60064, 65712, 0x4e4f2e96
-0, 66071, 65712, 0x91b51896
-0, 72077, 65712, 0x2798450e
-0, 78083, 65712, 0x9fea1d06
-0, 84090, 65712, 0xc64a2506
-0, 90096, 65712, 0x0551fe07
-0, 96103, 65712, 0xc64a042e
-0, 102109, 65712, 0xf3680dc6
-0, 108116, 65712, 0x2ea5356e
-0, 114122, 65712, 0x0315ed3f
-0, 120128, 65712, 0xc1d1f917
-0, 126135, 65712, 0xc0f6e607
-0, 132141, 65712, 0x5b0a092e
-0, 138148, 65712, 0x1551f16f
-0, 144154, 65712, 0x8440ee87
-0, 150161, 65712, 0xf7581ae6
-0, 156167, 65712, 0xee67037e
-0, 162173, 65712, 0x4a212ca6
-0, 168180, 65712, 0x693e0aa6
-0, 174186, 65712, 0x13e31116
+#tb 0: 33369/500000
+0, 0, 0, 1, 65712, 0x917e0076
+0, 1, 1, 1, 65712, 0xfe76fd1f
+0, 2, 2, 1, 65712, 0xd85820ee
+0, 3, 3, 1, 65712, 0x1b410f6e
+0, 4, 4, 1, 65712, 0x53c50436
+0, 5, 5, 1, 65712, 0xa191044d
+0, 6, 6, 1, 65712, 0xcf02ff1f
+0, 7, 7, 1, 65712, 0xc2abf85f
+0, 8, 8, 1, 65712, 0xe273087e
+0, 9, 9, 1, 65712, 0x087d0936
+0, 10, 10, 1, 65712, 0x4e4f2e96
+0, 11, 11, 1, 65712, 0x91b51896
+0, 12, 12, 1, 65712, 0x2798450e
+0, 13, 13, 1, 65712, 0x9fea1d06
+0, 14, 14, 1, 65712, 0xc64a2506
+0, 15, 15, 1, 65712, 0x0551fe07
+0, 16, 16, 1, 65712, 0xc64a042e
+0, 17, 17, 1, 65712, 0xf3680dc6
+0, 18, 18, 1, 65712, 0x2ea5356e
+0, 19, 19, 1, 65712, 0x0315ed3f
+0, 20, 20, 1, 65712, 0xc1d1f917
+0, 21, 21, 1, 65712, 0xc0f6e607
+0, 22, 22, 1, 65712, 0x5b0a092e
+0, 23, 23, 1, 65712, 0x1551f16f
+0, 24, 24, 1, 65712, 0x8440ee87
+0, 25, 25, 1, 65712, 0xf7581ae6
+0, 26, 26, 1, 65712, 0xee67037e
+0, 27, 27, 1, 65712, 0x4a212ca6
+0, 28, 28, 1, 65712, 0x693e0aa6
+0, 29, 29, 1, 65712, 0x13e31116
diff --git a/tests/ref/fate/msvideo1-8bit b/tests/ref/fate/msvideo1-8bit
index e0c70338e4..6e6bc0bae0 100644
--- a/tests/ref/fate/msvideo1-8bit
+++ b/tests/ref/fate/msvideo1-8bit
@@ -1,31 +1,32 @@
-0, 0, 57600, 0x8c3c5ee8
-0, 3000, 57600, 0xb79800b1
-0, 6000, 57600, 0x54a221be
-0, 9000, 57600, 0xb377ffb3
-0, 12000, 57600, 0x46efd210
-0, 15000, 57600, 0x46efd210
-0, 18000, 57600, 0x46efd210
-0, 21000, 57600, 0x92751fbc
-0, 24000, 57600, 0xd7287442
-0, 27000, 57600, 0xcf1153ee
-0, 30000, 57600, 0xda5de91a
-0, 33000, 57600, 0xa11cd513
-0, 36000, 57600, 0xa8edac2a
-0, 39000, 57600, 0xefd2a392
-0, 42000, 57600, 0x2d7060cf
-0, 45000, 57600, 0xbda3130d
-0, 48000, 57600, 0xacb8e940
-0, 50999, 57600, 0x93778985
-0, 53999, 57600, 0x25ed4d97
-0, 56999, 57600, 0x5be924bf
-0, 59999, 57600, 0xde5ee1f7
-0, 62999, 57600, 0x39850ab6
-0, 65999, 57600, 0x77da195d
-0, 68999, 57600, 0x6dad13c0
-0, 71999, 57600, 0x69897c48
-0, 74999, 57600, 0xfbe74728
-0, 77999, 57600, 0x908af79d
-0, 80999, 57600, 0x4ec4a868
-0, 83999, 57600, 0x7db370a1
-0, 86999, 57600, 0x2b1e52f6
-0, 89999, 57600, 0x2141467c
+#tb 0: 10000/300003
+0, 0, 0, 1, 57600, 0x8c3c5ee8
+0, 1, 1, 1, 57600, 0xb79800b1
+0, 2, 2, 1, 57600, 0x54a221be
+0, 3, 3, 1, 57600, 0xb377ffb3
+0, 4, 4, 1, 57600, 0x46efd210
+0, 5, 5, 1, 57600, 0x46efd210
+0, 6, 6, 1, 57600, 0x46efd210
+0, 7, 7, 1, 57600, 0x92751fbc
+0, 8, 8, 1, 57600, 0xd7287442
+0, 9, 9, 1, 57600, 0xcf1153ee
+0, 10, 10, 1, 57600, 0xda5de91a
+0, 11, 11, 1, 57600, 0xa11cd513
+0, 12, 12, 1, 57600, 0xa8edac2a
+0, 13, 13, 1, 57600, 0xefd2a392
+0, 14, 14, 1, 57600, 0x2d7060cf
+0, 15, 15, 1, 57600, 0xbda3130d
+0, 16, 16, 1, 57600, 0xacb8e940
+0, 17, 17, 1, 57600, 0x93778985
+0, 18, 18, 1, 57600, 0x25ed4d97
+0, 19, 19, 1, 57600, 0x5be924bf
+0, 20, 20, 1, 57600, 0xde5ee1f7
+0, 21, 21, 1, 57600, 0x39850ab6
+0, 22, 22, 1, 57600, 0x77da195d
+0, 23, 23, 1, 57600, 0x6dad13c0
+0, 24, 24, 1, 57600, 0x69897c48
+0, 25, 25, 1, 57600, 0xfbe74728
+0, 26, 26, 1, 57600, 0x908af79d
+0, 27, 27, 1, 57600, 0x4ec4a868
+0, 28, 28, 1, 57600, 0x7db370a1
+0, 29, 29, 1, 57600, 0x2b1e52f6
+0, 30, 30, 1, 57600, 0x2141467c
diff --git a/tests/ref/fate/mszh b/tests/ref/fate/mszh
index ba6221fcf7..4ff76ffbac 100644
--- a/tests/ref/fate/mszh
+++ b/tests/ref/fate/mszh
@@ -1 +1,2 @@
-0, 0, 253440, 0x94af61e5
+#tb 0: 100/2997
+0, 0, 0, 1, 253440, 0x94af61e5
diff --git a/tests/ref/fate/mtv b/tests/ref/fate/mtv
index 6699f62b58..e32f16e848 100644
--- a/tests/ref/fate/mtv
+++ b/tests/ref/fate/mtv
@@ -1,135 +1,137 @@
-0, 0, 18432, 0xbd7e0ac8
-1, 0, 417, 0xae1cc66a
-1, 2351, 418, 0xdc3ec850
-1, 4702, 418, 0x4e8ed05f
-0, 5625, 18432, 0xbd7e0ac8
-1, 7053, 418, 0xeb43d574
-1, 9404, 418, 0x9357c91d
-0, 11250, 18432, 0x902e0ab4
-1, 11755, 418, 0x5306d16b
-1, 14106, 418, 0x46e0d4da
-1, 16457, 418, 0xac11ce79
-0, 16875, 18432, 0xf1940b28
-1, 18808, 418, 0xffdfc4ad
-1, 21159, 418, 0xf8a8c2ff
-0, 22500, 18432, 0x2c180ac8
-1, 23510, 418, 0x2d66d83f
-1, 25861, 418, 0x65c0da12
-0, 28125, 18432, 0x2eae0b34
-1, 28212, 418, 0x0eafd20f
-1, 30563, 418, 0x8c6dd949
-1, 32914, 418, 0x9094c02d
-0, 33750, 18432, 0x2eae0b34
-1, 35265, 418, 0xb47bd944
-1, 37616, 418, 0x935ccce7
-0, 39375, 18432, 0x2eae0b34
-1, 39967, 418, 0x6e3ed020
-1, 42318, 418, 0x8922cd6c
-1, 44669, 418, 0xe811c8f8
-0, 45000, 18432, 0x2eae0b34
-1, 47020, 418, 0xb84adc72
-1, 49371, 418, 0xa2bbc5f4
-0, 50625, 18432, 0x2eae0b34
-1, 51722, 418, 0xec0cb67d
-1, 54073, 418, 0x89d1d014
-0, 56250, 18432, 0x2eae0b34
-1, 56424, 418, 0xfb5bc872
-1, 58776, 417, 0x8bfcc7a0
-1, 61127, 418, 0xeb4ac61b
-0, 61875, 18432, 0x2eae0b34
-1, 63478, 418, 0xd3cbc3c4
-1, 65829, 418, 0xa272d092
-0, 67500, 18432, 0x2eae0b34
-1, 68180, 418, 0x611ec37e
-1, 70531, 418, 0x70a3d423
-1, 72882, 418, 0xeff9ccf4
-0, 73125, 18432, 0x2eae0b34
-1, 75233, 418, 0x9788c65b
-1, 77584, 418, 0xe9a8cb8c
-0, 78750, 18432, 0x2eae0b34
-1, 79935, 418, 0x5834c300
-1, 82286, 418, 0xa4b8cd3a
-0, 84375, 18432, 0x2eae0b34
-1, 84637, 418, 0x6de2c7f9
-1, 86988, 418, 0x961bbbf3
-1, 89339, 418, 0x53edc13a
-0, 90000, 18432, 0x2c180ac8
-1, 91690, 418, 0x2fedc4b0
-1, 94041, 418, 0xb756c18b
-0, 95625, 18432, 0x2eae0b34
-1, 96392, 418, 0xaf0ed0e4
-1, 98743, 418, 0x019fd3f0
-1, 101094, 418, 0x6e29d83e
-0, 101250, 18432, 0x2c180ac8
-1, 103445, 418, 0x2ddad6bb
-1, 105796, 418, 0xafefca99
-0, 106875, 18432, 0x2eae0b34
-1, 108147, 418, 0x366ed013
-1, 110498, 418, 0x532ac7e0
-0, 112500, 18432, 0x2c180ac8
-1, 112849, 418, 0x1d0cd1ce
-1, 115200, 417, 0x572ad1e3
-1, 117551, 418, 0x858cd91f
-0, 118125, 18432, 0x2eae0b34
-1, 119902, 418, 0x82cacdfd
-1, 122253, 418, 0xf4dcc6ed
-0, 123750, 18432, 0x2c180ac8
-1, 124604, 418, 0x2cf3ca72
-1, 126955, 418, 0x5963c859
-1, 129306, 418, 0xa667c53d
-0, 129375, 18432, 0x2eae0b34
-1, 131657, 418, 0xb2f1d09c
-1, 134008, 418, 0x2ec1c8d3
-0, 135000, 18432, 0x2eae0b34
-1, 136359, 418, 0x5754d2e8
-1, 138710, 418, 0x1956bdba
-0, 140625, 18432, 0x2eae0b34
-1, 141061, 418, 0x3e18bd55
-1, 143412, 418, 0xe4cfc339
-1, 145763, 418, 0xb426c835
-0, 146250, 18432, 0x2eae0b34
-1, 148114, 418, 0xd7b6cbcf
-1, 150465, 418, 0x340ec315
-0, 151875, 18432, 0x2eae0b34
-1, 152816, 418, 0x23a9baec
-1, 155167, 418, 0x9f04cd01
-0, 157500, 18432, 0x2eae0b34
-1, 157518, 418, 0xa80ec223
-1, 159869, 418, 0x23d6bd5d
-1, 162220, 418, 0xcb25cf5b
-0, 163125, 18432, 0x2eae0b34
-1, 164571, 418, 0xccccc217
-1, 166922, 418, 0x757abbfe
-0, 168750, 18432, 0x2eae0b34
-1, 169273, 418, 0xa2e6cc68
-1, 171624, 418, 0xdf77cc05
-1, 173976, 417, 0xe9d2c5d5
-0, 174375, 18432, 0x2eae0b34
-1, 176327, 418, 0x50dec174
-1, 178678, 418, 0xf654b27e
-0, 180000, 18432, 0x2c180ac8
-1, 181029, 418, 0x4d8bc26e
-1, 183380, 418, 0xccd2bf37
-0, 185625, 18432, 0x2eae0b34
-1, 185731, 418, 0x6ce2c18a
-1, 188082, 418, 0xb3cdcf0c
-1, 190433, 418, 0x55eebe9a
-0, 191250, 18432, 0x2c180ac8
-1, 192784, 418, 0x9031c9ec
-1, 195135, 418, 0xb037c49d
-0, 196875, 18432, 0x2eae0b34
-1, 197486, 418, 0x377bcc78
-1, 199837, 418, 0x3762c725
-1, 202188, 418, 0x39afbd4d
-0, 202500, 18432, 0x2c180ac8
-1, 204539, 418, 0x655ed6cd
-1, 206890, 418, 0x09aec202
-0, 208125, 18432, 0x2eae0b34
-1, 209241, 418, 0xf2d2ce55
-1, 211592, 418, 0x254ebf04
-0, 213750, 18432, 0x2c180ac8
-1, 213943, 418, 0xa105cdcc
-1, 216294, 418, 0x1477ba58
-1, 218645, 418, 0x8d0dcdb2
-1, 220996, 418, 0x0d7cbef4
-1, 223347, 294, 0x5e2b87c4
+#tb 0: 1/16
+#tb 1: 1/44100
+0, 0, 0, 1, 18432, 0xbd7e0ac8
+1, 0, 0, 1152, 417, 0xae1cc66a
+1, 1152, 1152, 1152, 418, 0xdc3ec850
+1, 2304, 2304, 1152, 418, 0x4e8ed05f
+0, 1, 1, 1, 18432, 0xbd7e0ac8
+1, 3456, 3456, 1152, 418, 0xeb43d574
+1, 4608, 4608, 1152, 418, 0x9357c91d
+0, 2, 2, 1, 18432, 0x902e0ab4
+1, 5760, 5760, 1152, 418, 0x5306d16b
+1, 6912, 6912, 1152, 418, 0x46e0d4da
+1, 8064, 8064, 1152, 418, 0xac11ce79
+0, 3, 3, 1, 18432, 0xf1940b28
+1, 9216, 9216, 1152, 418, 0xffdfc4ad
+1, 10368, 10368, 1152, 418, 0xf8a8c2ff
+0, 4, 4, 1, 18432, 0x2c180ac8
+1, 11520, 11520, 1152, 418, 0x2d66d83f
+1, 12672, 12672, 1152, 418, 0x65c0da12
+0, 5, 5, 1, 18432, 0x2eae0b34
+1, 13824, 13824, 1152, 418, 0x0eafd20f
+1, 14976, 14976, 1152, 418, 0x8c6dd949
+1, 16128, 16128, 1152, 418, 0x9094c02d
+0, 6, 6, 1, 18432, 0x2eae0b34
+1, 17280, 17280, 1152, 418, 0xb47bd944
+1, 18432, 18432, 1152, 418, 0x935ccce7
+0, 7, 7, 1, 18432, 0x2eae0b34
+1, 19584, 19584, 1152, 418, 0x6e3ed020
+1, 20736, 20736, 1152, 418, 0x8922cd6c
+1, 21888, 21888, 1152, 418, 0xe811c8f8
+0, 8, 8, 1, 18432, 0x2eae0b34
+1, 23040, 23040, 1152, 418, 0xb84adc72
+1, 24192, 24192, 1152, 418, 0xa2bbc5f4
+0, 9, 9, 1, 18432, 0x2eae0b34
+1, 25344, 25344, 1152, 418, 0xec0cb67d
+1, 26496, 26496, 1152, 418, 0x89d1d014
+0, 10, 10, 1, 18432, 0x2eae0b34
+1, 27648, 27648, 1152, 418, 0xfb5bc872
+1, 28800, 28800, 1152, 417, 0x8bfcc7a0
+1, 29952, 29952, 1152, 418, 0xeb4ac61b
+0, 11, 11, 1, 18432, 0x2eae0b34
+1, 31104, 31104, 1152, 418, 0xd3cbc3c4
+1, 32256, 32256, 1152, 418, 0xa272d092
+0, 12, 12, 1, 18432, 0x2eae0b34
+1, 33408, 33408, 1152, 418, 0x611ec37e
+1, 34560, 34560, 1152, 418, 0x70a3d423
+1, 35712, 35712, 1152, 418, 0xeff9ccf4
+0, 13, 13, 1, 18432, 0x2eae0b34
+1, 36864, 36864, 1152, 418, 0x9788c65b
+1, 38016, 38016, 1152, 418, 0xe9a8cb8c
+0, 14, 14, 1, 18432, 0x2eae0b34
+1, 39168, 39168, 1152, 418, 0x5834c300
+1, 40320, 40320, 1152, 418, 0xa4b8cd3a
+0, 15, 15, 1, 18432, 0x2eae0b34
+1, 41472, 41472, 1152, 418, 0x6de2c7f9
+1, 42624, 42624, 1152, 418, 0x961bbbf3
+1, 43776, 43776, 1152, 418, 0x53edc13a
+0, 16, 16, 1, 18432, 0x2c180ac8
+1, 44928, 44928, 1152, 418, 0x2fedc4b0
+1, 46080, 46080, 1152, 418, 0xb756c18b
+0, 17, 17, 1, 18432, 0x2eae0b34
+1, 47232, 47232, 1152, 418, 0xaf0ed0e4
+1, 48384, 48384, 1152, 418, 0x019fd3f0
+1, 49536, 49536, 1152, 418, 0x6e29d83e
+0, 18, 18, 1, 18432, 0x2c180ac8
+1, 50688, 50688, 1152, 418, 0x2ddad6bb
+1, 51840, 51840, 1152, 418, 0xafefca99
+0, 19, 19, 1, 18432, 0x2eae0b34
+1, 52992, 52992, 1152, 418, 0x366ed013
+1, 54144, 54144, 1152, 418, 0x532ac7e0
+0, 20, 20, 1, 18432, 0x2c180ac8
+1, 55296, 55296, 1152, 418, 0x1d0cd1ce
+1, 56448, 56448, 1152, 417, 0x572ad1e3
+1, 57600, 57600, 1152, 418, 0x858cd91f
+0, 21, 21, 1, 18432, 0x2eae0b34
+1, 58752, 58752, 1152, 418, 0x82cacdfd
+1, 59904, 59904, 1152, 418, 0xf4dcc6ed
+0, 22, 22, 1, 18432, 0x2c180ac8
+1, 61056, 61056, 1152, 418, 0x2cf3ca72
+1, 62208, 62208, 1152, 418, 0x5963c859
+1, 63360, 63360, 1152, 418, 0xa667c53d
+0, 23, 23, 1, 18432, 0x2eae0b34
+1, 64512, 64512, 1152, 418, 0xb2f1d09c
+1, 65664, 65664, 1152, 418, 0x2ec1c8d3
+0, 24, 24, 1, 18432, 0x2eae0b34
+1, 66816, 66816, 1152, 418, 0x5754d2e8
+1, 67968, 67968, 1152, 418, 0x1956bdba
+0, 25, 25, 1, 18432, 0x2eae0b34
+1, 69120, 69120, 1152, 418, 0x3e18bd55
+1, 70272, 70272, 1152, 418, 0xe4cfc339
+1, 71424, 71424, 1152, 418, 0xb426c835
+0, 26, 26, 1, 18432, 0x2eae0b34
+1, 72576, 72576, 1152, 418, 0xd7b6cbcf
+1, 73728, 73728, 1152, 418, 0x340ec315
+0, 27, 27, 1, 18432, 0x2eae0b34
+1, 74880, 74880, 1152, 418, 0x23a9baec
+1, 76032, 76032, 1152, 418, 0x9f04cd01
+0, 28, 28, 1, 18432, 0x2eae0b34
+1, 77184, 77184, 1152, 418, 0xa80ec223
+1, 78336, 78336, 1152, 418, 0x23d6bd5d
+1, 79488, 79488, 1152, 418, 0xcb25cf5b
+0, 29, 29, 1, 18432, 0x2eae0b34
+1, 80640, 80640, 1152, 418, 0xccccc217
+1, 81792, 81792, 1152, 418, 0x757abbfe
+0, 30, 30, 1, 18432, 0x2eae0b34
+1, 82944, 82944, 1152, 418, 0xa2e6cc68
+1, 84096, 84096, 1152, 418, 0xdf77cc05
+1, 85248, 85248, 1152, 417, 0xe9d2c5d5
+0, 31, 31, 1, 18432, 0x2eae0b34
+1, 86400, 86400, 1152, 418, 0x50dec174
+1, 87552, 87552, 1152, 418, 0xf654b27e
+0, 32, 32, 1, 18432, 0x2c180ac8
+1, 88704, 88704, 1152, 418, 0x4d8bc26e
+1, 89856, 89856, 1152, 418, 0xccd2bf37
+0, 33, 33, 1, 18432, 0x2eae0b34
+1, 91008, 91008, 1152, 418, 0x6ce2c18a
+1, 92160, 92160, 1152, 418, 0xb3cdcf0c
+1, 93312, 93312, 1152, 418, 0x55eebe9a
+0, 34, 34, 1, 18432, 0x2c180ac8
+1, 94464, 94464, 1152, 418, 0x9031c9ec
+1, 95616, 95616, 1152, 418, 0xb037c49d
+0, 35, 35, 1, 18432, 0x2eae0b34
+1, 96768, 96768, 1152, 418, 0x377bcc78
+1, 97920, 97920, 1152, 418, 0x3762c725
+1, 99072, 99072, 1152, 418, 0x39afbd4d
+0, 36, 36, 1, 18432, 0x2c180ac8
+1, 100224, 100224, 1152, 418, 0x655ed6cd
+1, 101376, 101376, 1152, 418, 0x09aec202
+0, 37, 37, 1, 18432, 0x2eae0b34
+1, 102528, 102528, 1152, 418, 0xf2d2ce55
+1, 103680, 103680, 1152, 418, 0x254ebf04
+0, 38, 38, 1, 18432, 0x2c180ac8
+1, 104832, 104832, 1152, 418, 0xa105cdcc
+1, 105984, 105984, 1152, 418, 0x1477ba58
+1, 107136, 107136, 1152, 418, 0x8d0dcdb2
+1, 108288, 108288, 1152, 418, 0x0d7cbef4
+1, 109440, 109440, 1152, 294, 0x5e2b87c4
diff --git a/tests/ref/fate/mxf-demux b/tests/ref/fate/mxf-demux
index 877475319a..e162775d52 100644
--- a/tests/ref/fate/mxf-demux
+++ b/tests/ref/fate/mxf-demux
@@ -1,97 +1,99 @@
-0, 0, 8468, 0xc0855553
-1, 0, 32000, 0x479155e6
-0, 3600, 3814, 0xa10783b4
-0, 7200, 3747, 0xb7bf6973
-0, 10800, 3705, 0x5462a600
-0, 14400, 3704, 0x1e564943
-0, 18000, 3760, 0x10464b9a
-0, 21600, 3799, 0xd41d6dcf
-0, 25200, 3832, 0x5cf6999e
-0, 28800, 3778, 0xe5fc7b9e
-0, 32400, 38193, 0xd34e5dd4
-0, 36000, 8520, 0x2a203e68
-0, 39600, 3832, 0xe4c4b2fe
-0, 43200, 3787, 0x0cf95fee
-0, 46800, 3766, 0x9e019d14
-0, 50400, 3785, 0x0ea9ae75
-0, 54000, 3703, 0x11d349ff
-0, 57600, 3731, 0x5cf358ef
-0, 61200, 3785, 0x01c8962f
-0, 64800, 3741, 0xb2c47d53
-0, 68400, 38150, 0x08fa1f55
-0, 72000, 8487, 0x0c234b9a
-0, 75600, 3791, 0x831192ef
-0, 79200, 3612, 0x598944fb
-0, 82800, 3710, 0xccbb711a
-0, 86400, 3864, 0x4385966e
-0, 90000, 3919, 0x24e2abc3
-0, 93600, 3777, 0x210c6219
-0, 97200, 3811, 0x23bf68c2
-0, 100800, 3802, 0x52688862
-0, 104400, 38027, 0x3d5aa8b9
-0, 108000, 8333, 0x617de950
-0, 111600, 3831, 0x13fad8fc
-0, 115200, 3719, 0xbc317470
-0, 118800, 3761, 0xeac460b6
-0, 122400, 3637, 0x27d64b32
-0, 126000, 3666, 0xf0f700a5
-0, 129600, 3788, 0x1c4662a8
-0, 133200, 3960, 0xef6b9e99
-0, 136800, 3793, 0x3a6ca832
-0, 140400, 38312, 0xce1317cc
-0, 144000, 8548, 0x4ca944d4
-0, 147600, 3866, 0x4e85bf0f
-0, 151200, 3644, 0x030338e5
-0, 154800, 3634, 0xa95f4512
-0, 158400, 3925, 0x7583ba86
-0, 162000, 3675, 0x979f423f
-0, 165600, 3703, 0x11375f7a
-0, 169200, 3705, 0xb7de5d16
-0, 172800, 3688, 0x1db45852
-0, 176400, 38412, 0x2ee26a63
-0, 180000, 8385, 0x0bc20a27
-1, 180000, 32000, 0x8f7e5009
-0, 183600, 3733, 0xa3e2a9a0
-0, 187200, 3773, 0x27769caa
-0, 190800, 3670, 0xc8335e98
-0, 194400, 3596, 0xd6512fb0
-0, 198000, 3579, 0xa621fbc2
-0, 201600, 3641, 0x2f4f46ca
-0, 205200, 3686, 0x0a92385a
-0, 208800, 3672, 0xe65137b9
-0, 212400, 39065, 0xc723bf8b
-0, 216000, 8611, 0x5d177f40
-0, 219600, 3758, 0x33d59966
-0, 223200, 3674, 0x54f37902
-0, 226800, 3615, 0xa0f045fa
-0, 230400, 3719, 0x41cf93ff
-0, 234000, 3757, 0x3a1b7e8f
-0, 237600, 3762, 0xe7f9714d
-0, 241200, 3738, 0x8121805b
-0, 244800, 3733, 0x13e262db
-0, 248400, 38433, 0x3d58c500
-0, 252000, 8410, 0xa4f7fd2e
-0, 255600, 3711, 0x0e112d3c
-0, 259200, 3692, 0xb46574b2
-0, 262800, 3563, 0xad43343d
-0, 266400, 3613, 0x5cd85c4f
-0, 270000, 3653, 0xe15a2853
-0, 273600, 3684, 0x9ddd58cb
-0, 277200, 3256, 0xd7f89f2e
-0, 280800, 3698, 0x2b82624a
-0, 284400, 39520, 0xd3f2b7c5
-0, 288000, 8493, 0x163559be
-0, 291600, 3719, 0x6fa0916f
-0, 295200, 3655, 0xa9233de1
-0, 298800, 3684, 0xa6125737
-0, 302400, 3688, 0xa9da6686
-0, 306000, 3685, 0x674d634e
-0, 309600, 3677, 0x7a85535d
-0, 313200, 3666, 0xce3600a2
-0, 316800, 3837, 0x3a7090e1
-0, 320400, 38696, 0x12c59cd2
-0, 324000, 8022, 0xd343433f
-0, 327600, 5157, 0x440c14e5
-0, 331200, 5003, 0xf8e1daff
-0, 334800, 4954, 0x89866344
-0, 338400, 53664, 0xeb0c4c42
+#tb 0: 1/25
+#tb 1: 1/25
+0, 0, -9223372036854775808, 1, 8468, 0xc0855553
+1, 0, 0, 50, 32000, 0x479155e6
+0, 1, -9223372036854775808, 1, 3814, 0xa10783b4
+0, 2, -9223372036854775808, 1, 3747, 0xb7bf6973
+0, 3, -9223372036854775808, 1, 3705, 0x5462a600
+0, 4, -9223372036854775808, 1, 3704, 0x1e564943
+0, 5, -9223372036854775808, 1, 3760, 0x10464b9a
+0, 6, -9223372036854775808, 1, 3799, 0xd41d6dcf
+0, 7, -9223372036854775808, 1, 3832, 0x5cf6999e
+0, 8, -9223372036854775808, 1, 3778, 0xe5fc7b9e
+0, 9, -9223372036854775808, 1, 38193, 0xd34e5dd4
+0, 10, -9223372036854775808, 1, 8520, 0x2a203e68
+0, 11, -9223372036854775808, 1, 3832, 0xe4c4b2fe
+0, 12, -9223372036854775808, 1, 3787, 0x0cf95fee
+0, 13, -9223372036854775808, 1, 3766, 0x9e019d14
+0, 14, -9223372036854775808, 1, 3785, 0x0ea9ae75
+0, 15, -9223372036854775808, 1, 3703, 0x11d349ff
+0, 16, -9223372036854775808, 1, 3731, 0x5cf358ef
+0, 17, -9223372036854775808, 1, 3785, 0x01c8962f
+0, 18, -9223372036854775808, 1, 3741, 0xb2c47d53
+0, 19, -9223372036854775808, 1, 38150, 0x08fa1f55
+0, 20, -9223372036854775808, 1, 8487, 0x0c234b9a
+0, 21, -9223372036854775808, 1, 3791, 0x831192ef
+0, 22, -9223372036854775808, 1, 3612, 0x598944fb
+0, 23, -9223372036854775808, 1, 3710, 0xccbb711a
+0, 24, -9223372036854775808, 1, 3864, 0x4385966e
+0, 25, -9223372036854775808, 1, 3919, 0x24e2abc3
+0, 26, -9223372036854775808, 1, 3777, 0x210c6219
+0, 27, -9223372036854775808, 1, 3811, 0x23bf68c2
+0, 28, -9223372036854775808, 1, 3802, 0x52688862
+0, 29, -9223372036854775808, 1, 38027, 0x3d5aa8b9
+0, 30, -9223372036854775808, 1, 8333, 0x617de950
+0, 31, -9223372036854775808, 1, 3831, 0x13fad8fc
+0, 32, -9223372036854775808, 1, 3719, 0xbc317470
+0, 33, -9223372036854775808, 1, 3761, 0xeac460b6
+0, 34, -9223372036854775808, 1, 3637, 0x27d64b32
+0, 35, -9223372036854775808, 1, 3666, 0xf0f700a5
+0, 36, -9223372036854775808, 1, 3788, 0x1c4662a8
+0, 37, -9223372036854775808, 1, 3960, 0xef6b9e99
+0, 38, -9223372036854775808, 1, 3793, 0x3a6ca832
+0, 39, -9223372036854775808, 1, 38312, 0xce1317cc
+0, 40, -9223372036854775808, 1, 8548, 0x4ca944d4
+0, 41, -9223372036854775808, 1, 3866, 0x4e85bf0f
+0, 42, -9223372036854775808, 1, 3644, 0x030338e5
+0, 43, -9223372036854775808, 1, 3634, 0xa95f4512
+0, 44, -9223372036854775808, 1, 3925, 0x7583ba86
+0, 45, -9223372036854775808, 1, 3675, 0x979f423f
+0, 46, -9223372036854775808, 1, 3703, 0x11375f7a
+0, 47, -9223372036854775808, 1, 3705, 0xb7de5d16
+0, 48, -9223372036854775808, 1, 3688, 0x1db45852
+0, 49, -9223372036854775808, 1, 38412, 0x2ee26a63
+0, 50, -9223372036854775808, 1, 8385, 0x0bc20a27
+1, 50, 50, 50, 32000, 0x8f7e5009
+0, 51, -9223372036854775808, 1, 3733, 0xa3e2a9a0
+0, 52, -9223372036854775808, 1, 3773, 0x27769caa
+0, 53, -9223372036854775808, 1, 3670, 0xc8335e98
+0, 54, -9223372036854775808, 1, 3596, 0xd6512fb0
+0, 55, -9223372036854775808, 1, 3579, 0xa621fbc2
+0, 56, -9223372036854775808, 1, 3641, 0x2f4f46ca
+0, 57, -9223372036854775808, 1, 3686, 0x0a92385a
+0, 58, -9223372036854775808, 1, 3672, 0xe65137b9
+0, 59, -9223372036854775808, 1, 39065, 0xc723bf8b
+0, 60, -9223372036854775808, 1, 8611, 0x5d177f40
+0, 61, -9223372036854775808, 1, 3758, 0x33d59966
+0, 62, -9223372036854775808, 1, 3674, 0x54f37902
+0, 63, -9223372036854775808, 1, 3615, 0xa0f045fa
+0, 64, -9223372036854775808, 1, 3719, 0x41cf93ff
+0, 65, -9223372036854775808, 1, 3757, 0x3a1b7e8f
+0, 66, -9223372036854775808, 1, 3762, 0xe7f9714d
+0, 67, -9223372036854775808, 1, 3738, 0x8121805b
+0, 68, -9223372036854775808, 1, 3733, 0x13e262db
+0, 69, -9223372036854775808, 1, 38433, 0x3d58c500
+0, 70, -9223372036854775808, 1, 8410, 0xa4f7fd2e
+0, 71, -9223372036854775808, 1, 3711, 0x0e112d3c
+0, 72, -9223372036854775808, 1, 3692, 0xb46574b2
+0, 73, -9223372036854775808, 1, 3563, 0xad43343d
+0, 74, -9223372036854775808, 1, 3613, 0x5cd85c4f
+0, 75, -9223372036854775808, 1, 3653, 0xe15a2853
+0, 76, -9223372036854775808, 1, 3684, 0x9ddd58cb
+0, 77, -9223372036854775808, 1, 3256, 0xd7f89f2e
+0, 78, -9223372036854775808, 1, 3698, 0x2b82624a
+0, 79, -9223372036854775808, 1, 39520, 0xd3f2b7c5
+0, 80, -9223372036854775808, 1, 8493, 0x163559be
+0, 81, -9223372036854775808, 1, 3719, 0x6fa0916f
+0, 82, -9223372036854775808, 1, 3655, 0xa9233de1
+0, 83, -9223372036854775808, 1, 3684, 0xa6125737
+0, 84, -9223372036854775808, 1, 3688, 0xa9da6686
+0, 85, -9223372036854775808, 1, 3685, 0x674d634e
+0, 86, -9223372036854775808, 1, 3677, 0x7a85535d
+0, 87, -9223372036854775808, 1, 3666, 0xce3600a2
+0, 88, -9223372036854775808, 1, 3837, 0x3a7090e1
+0, 89, -9223372036854775808, 1, 38696, 0x12c59cd2
+0, 90, -9223372036854775808, 1, 8022, 0xd343433f
+0, 91, -9223372036854775808, 1, 5157, 0x440c14e5
+0, 92, -9223372036854775808, 1, 5003, 0xf8e1daff
+0, 93, -9223372036854775808, 1, 4954, 0x89866344
+0, 94, -9223372036854775808, 1, 53664, 0xeb0c4c42
diff --git a/tests/ref/fate/nc-demux b/tests/ref/fate/nc-demux
index adc03f0c72..1d00f8e24c 100644
--- a/tests/ref/fate/nc-demux
+++ b/tests/ref/fate/nc-demux
@@ -1,91 +1,92 @@
-0, 0, 19787, 0x75e463f3
-0, 900, 11913, 0x0f429c34
-0, 1800, 14225, 0xbd3c704c
-0, 2700, 10357, 0xbf232393
-0, 3600, 9595, 0xf565d39e
-0, 4500, 9262, 0x2afd6ce0
-0, 5400, 12214, 0x6ae81d9b
-0, 6300, 13920, 0x31b5b307
-0, 7200, 10164, 0x141eca4e
-0, 8100, 9516, 0xd5f2c42b
-0, 9000, 10006, 0x80850a76
-0, 9900, 11791, 0x10bc2dcd
-0, 10800, 13756, 0xda1fee08
-0, 11700, 10452, 0xbb3d62b0
-0, 12600, 9171, 0x64ae10f6
-0, 13500, 8816, 0x31ad8fcb
-0, 14400, 13168, 0xea1085ac
-0, 15300, 12797, 0x25143d22
-0, 16200, 11324, 0x3a54b38e
-0, 17100, 9173, 0x8b2bf552
-0, 18000, 9247, 0x2e87226b
-0, 18900, 14140, 0x1063786c
-0, 19800, 14437, 0xde123a17
-0, 20700, 11938, 0x3f1168f4
-0, 21600, 11966, 0xdd6786ec
-0, 22500, 13213, 0x8ab27c58
-0, 23400, 11843, 0x90415d8b
-0, 24300, 13345, 0x3c0e1793
-0, 25200, 9977, 0x74fc7f4b
-0, 26100, 9158, 0x0b5426a5
-0, 27000, 12715, 0x0035d569
-0, 27900, 19944, 0xe2887ba8
-0, 28800, 12762, 0xb0f17939
-0, 29700, 10260, 0x182b27aa
-0, 30600, 7405, 0x227fe9bf
-0, 31500, 13317, 0x1a678c62
-0, 32400, 11304, 0x3277af6d
-0, 33300, 13291, 0xe267616a
-0, 34200, 8975, 0xe7eeacea
-0, 35100, 8473, 0x8bb1cbff
-0, 36000, 13878, 0xfd3d55bb
-0, 36900, 11278, 0x61c7c55e
-0, 37800, 13785, 0x2acbf88f
-0, 38700, 9521, 0x99e2d065
-0, 39600, 9340, 0xe5c96510
-0, 40500, 12777, 0x4c3c7844
-0, 41400, 10685, 0x39e0f42e
-0, 42300, 14237, 0x9398d07f
-0, 43200, 9021, 0x3343c7ec
-0, 44100, 9327, 0xad489e86
-0, 45000, 13507, 0xb1344f1c
-0, 45900, 10199, 0x9a8868bf
-0, 46800, 14535, 0xddb13f41
-0, 47700, 8773, 0x3d8b6a79
-0, 48600, 16084, 0x5d915de4
-0, 49500, 9156, 0x5cb08a6a
-0, 50400, 15027, 0xc23b1dc8
-0, 51300, 8240, 0xd6d3526c
-0, 52200, 8720, 0x439c43bf
-0, 53100, 13684, 0x18fc82f0
-0, 54000, 8829, 0xa3ebeb30
-0, 54900, 14650, 0x99e8678c
-0, 55800, 19626, 0x80a7ee5c
-0, 56700, 7762, 0x7c209a12
-0, 57600, 13636, 0xc89c1aa3
-0, 58500, 8337, 0x749bf76a
-0, 59400, 15098, 0xc98bc6dc
-0, 60300, 9070, 0xcd4cf7f1
-0, 61200, 8269, 0x90e95d54
-0, 62100, 12672, 0x034888d0
-0, 63000, 7519, 0x6c089672
-0, 63900, 14439, 0x5d2478b9
-0, 64800, 6928, 0x98fbaa67
-0, 65700, 8735, 0x07643f1e
-0, 66600, 13522, 0x55034cdb
-0, 67500, 7807, 0xf5983103
-0, 68400, 14484, 0xfc9cf260
-0, 69300, 7193, 0x170a0fa1
-0, 70200, 9444, 0x6f9be36f
-0, 71100, 12598, 0x69b7609d
-0, 72000, 7650, 0x1abaec9e
-0, 72900, 15162, 0x2a87f723
-0, 73800, 7752, 0xcca248aa
-0, 74700, 9085, 0x1ca7d7e5
-0, 75600, 13187, 0xababcc64
-0, 76500, 7968, 0x64a28f46
-0, 77400, 15474, 0xf34c587c
-0, 78300, 8615, 0x61301034
-0, 79200, 14129, 0x42c88bea
-0, 80100, 7223, 0x675d7500
-0, 81000, 3072, 0x4cb6254c
+#tb 0: 1/100
+0, 0, -9223372036854775808, 1, 19787, 0x75e463f3
+0, 1, -9223372036854775808, 1, 11913, 0x0f429c34
+0, 2, -9223372036854775808, 1, 14225, 0xbd3c704c
+0, 3, -9223372036854775808, 1, 10357, 0xbf232393
+0, 4, -9223372036854775808, 1, 9595, 0xf565d39e
+0, 5, -9223372036854775808, 1, 9262, 0x2afd6ce0
+0, 6, -9223372036854775808, 1, 12214, 0x6ae81d9b
+0, 7, -9223372036854775808, 1, 13920, 0x31b5b307
+0, 8, -9223372036854775808, 1, 10164, 0x141eca4e
+0, 9, -9223372036854775808, 1, 9516, 0xd5f2c42b
+0, 10, -9223372036854775808, 1, 10006, 0x80850a76
+0, 11, -9223372036854775808, 1, 11791, 0x10bc2dcd
+0, 12, -9223372036854775808, 1, 13756, 0xda1fee08
+0, 13, -9223372036854775808, 1, 10452, 0xbb3d62b0
+0, 14, -9223372036854775808, 1, 9171, 0x64ae10f6
+0, 15, -9223372036854775808, 1, 8816, 0x31ad8fcb
+0, 16, -9223372036854775808, 1, 13168, 0xea1085ac
+0, 17, -9223372036854775808, 1, 12797, 0x25143d22
+0, 18, -9223372036854775808, 1, 11324, 0x3a54b38e
+0, 19, -9223372036854775808, 1, 9173, 0x8b2bf552
+0, 20, -9223372036854775808, 1, 9247, 0x2e87226b
+0, 21, -9223372036854775808, 1, 14140, 0x1063786c
+0, 22, -9223372036854775808, 1, 14437, 0xde123a17
+0, 23, -9223372036854775808, 1, 11938, 0x3f1168f4
+0, 24, -9223372036854775808, 1, 11966, 0xdd6786ec
+0, 25, -9223372036854775808, 1, 13213, 0x8ab27c58
+0, 26, -9223372036854775808, 1, 11843, 0x90415d8b
+0, 27, -9223372036854775808, 1, 13345, 0x3c0e1793
+0, 28, -9223372036854775808, 1, 9977, 0x74fc7f4b
+0, 29, -9223372036854775808, 1, 9158, 0x0b5426a5
+0, 30, -9223372036854775808, 1, 12715, 0x0035d569
+0, 31, -9223372036854775808, 1, 19944, 0xe2887ba8
+0, 32, -9223372036854775808, 1, 12762, 0xb0f17939
+0, 33, -9223372036854775808, 1, 10260, 0x182b27aa
+0, 34, -9223372036854775808, 1, 7405, 0x227fe9bf
+0, 35, -9223372036854775808, 1, 13317, 0x1a678c62
+0, 36, -9223372036854775808, 1, 11304, 0x3277af6d
+0, 37, -9223372036854775808, 1, 13291, 0xe267616a
+0, 38, -9223372036854775808, 1, 8975, 0xe7eeacea
+0, 39, -9223372036854775808, 1, 8473, 0x8bb1cbff
+0, 40, -9223372036854775808, 1, 13878, 0xfd3d55bb
+0, 41, -9223372036854775808, 1, 11278, 0x61c7c55e
+0, 42, -9223372036854775808, 1, 13785, 0x2acbf88f
+0, 43, -9223372036854775808, 1, 9521, 0x99e2d065
+0, 44, -9223372036854775808, 1, 9340, 0xe5c96510
+0, 45, -9223372036854775808, 1, 12777, 0x4c3c7844
+0, 46, -9223372036854775808, 1, 10685, 0x39e0f42e
+0, 47, -9223372036854775808, 1, 14237, 0x9398d07f
+0, 48, -9223372036854775808, 1, 9021, 0x3343c7ec
+0, 49, -9223372036854775808, 1, 9327, 0xad489e86
+0, 50, -9223372036854775808, 1, 13507, 0xb1344f1c
+0, 51, -9223372036854775808, 1, 10199, 0x9a8868bf
+0, 52, -9223372036854775808, 1, 14535, 0xddb13f41
+0, 53, -9223372036854775808, 1, 8773, 0x3d8b6a79
+0, 54, -9223372036854775808, 1, 16084, 0x5d915de4
+0, 55, -9223372036854775808, 1, 9156, 0x5cb08a6a
+0, 56, -9223372036854775808, 1, 15027, 0xc23b1dc8
+0, 57, -9223372036854775808, 1, 8240, 0xd6d3526c
+0, 58, -9223372036854775808, 1, 8720, 0x439c43bf
+0, 59, -9223372036854775808, 1, 13684, 0x18fc82f0
+0, 60, -9223372036854775808, 1, 8829, 0xa3ebeb30
+0, 61, -9223372036854775808, 1, 14650, 0x99e8678c
+0, 62, -9223372036854775808, 1, 19626, 0x80a7ee5c
+0, 63, -9223372036854775808, 1, 7762, 0x7c209a12
+0, 64, -9223372036854775808, 1, 13636, 0xc89c1aa3
+0, 65, -9223372036854775808, 1, 8337, 0x749bf76a
+0, 66, -9223372036854775808, 1, 15098, 0xc98bc6dc
+0, 67, -9223372036854775808, 1, 9070, 0xcd4cf7f1
+0, 68, -9223372036854775808, 1, 8269, 0x90e95d54
+0, 69, -9223372036854775808, 1, 12672, 0x034888d0
+0, 70, -9223372036854775808, 1, 7519, 0x6c089672
+0, 71, -9223372036854775808, 1, 14439, 0x5d2478b9
+0, 72, -9223372036854775808, 1, 6928, 0x98fbaa67
+0, 73, -9223372036854775808, 1, 8735, 0x07643f1e
+0, 74, -9223372036854775808, 1, 13522, 0x55034cdb
+0, 75, -9223372036854775808, 1, 7807, 0xf5983103
+0, 76, -9223372036854775808, 1, 14484, 0xfc9cf260
+0, 77, -9223372036854775808, 1, 7193, 0x170a0fa1
+0, 78, -9223372036854775808, 1, 9444, 0x6f9be36f
+0, 79, -9223372036854775808, 1, 12598, 0x69b7609d
+0, 80, -9223372036854775808, 1, 7650, 0x1abaec9e
+0, 81, -9223372036854775808, 1, 15162, 0x2a87f723
+0, 82, -9223372036854775808, 1, 7752, 0xcca248aa
+0, 83, -9223372036854775808, 1, 9085, 0x1ca7d7e5
+0, 84, -9223372036854775808, 1, 13187, 0xababcc64
+0, 85, -9223372036854775808, 1, 7968, 0x64a28f46
+0, 86, -9223372036854775808, 1, 15474, 0xf34c587c
+0, 87, -9223372036854775808, 1, 8615, 0x61301034
+0, 88, -9223372036854775808, 1, 14129, 0x42c88bea
+0, 89, -9223372036854775808, 1, 7223, 0x675d7500
+0, 90, -9223372036854775808, 1, 3072, 0x4cb6254c
diff --git a/tests/ref/fate/nsv-demux b/tests/ref/fate/nsv-demux
index 620dfa04ec..0f094465db 100644
--- a/tests/ref/fate/nsv-demux
+++ b/tests/ref/fate/nsv-demux
@@ -1,171 +1,173 @@
-0, 0, 12, 0x1396035f
-0, 6006, 24, 0x8ab80ac7
-0, 12012, 208, 0x1de1603e
-1, 12522, 104, 0x8ae85dc9
-1, 17224, 105, 0xb7033847
-0, 18018, 364, 0xffb4b341
-1, 21926, 104, 0x5f853482
-0, 24024, 456, 0x7a4deaeb
-1, 26628, 105, 0xfcb731fd
-0, 30030, 432, 0xf4ddd813
-1, 31330, 104, 0x4f8232bb
-1, 36032, 105, 0x2f543039
-0, 36036, 572, 0xc84c21ff
-1, 40734, 104, 0xe4cc34a1
-0, 42042, 500, 0x0e6bf9f4
-1, 45436, 105, 0xea663711
-0, 48048, 508, 0x2d6efe2a
-1, 50138, 104, 0x3c583098
-0, 54054, 436, 0x7d07d3c5
-1, 54840, 105, 0xbe6c33ff
-1, 59542, 104, 0x56de2d7a
-0, 60060, 620, 0xa9313342
-1, 64244, 105, 0x4e80385d
-0, 66066, 1384, 0x9b97c579
-1, 68946, 104, 0x34eb340d
-0, 72072, 760, 0xd1aa8183
-1, 73648, 105, 0x87e82f74
-0, 78078, 836, 0x261da980
-1, 78350, 104, 0xa546377d
-1, 83052, 105, 0x92bd349d
-0, 84084, 860, 0x52f0afa0
-1, 87754, 104, 0xdba53f3d
-0, 90090, 696, 0x63845855
-1, 92456, 105, 0xd3c3384e
-0, 96096, 460, 0x2916e7be
-1, 97158, 104, 0xdf7d30ce
-1, 101860, 105, 0xae20344e
-0, 102102, 328, 0xab8caaca
-1, 106562, 104, 0xe4cc33b7
-0, 108108, 396, 0xc775bc8e
-1, 111264, 105, 0xda993806
-0, 114114, 344, 0x114ea25a
-1, 115966, 104, 0xd6d12edd
-1, 120668, 105, 0x6b9c2ed5
-1, 125370, 104, 0xce6c3b04
-0, 126126, 532, 0xd5650f54
-1, 130072, 105, 0x31db399e
-1, 134775, 104, 0xd50b347a
-0, 138138, 476, 0x77f1f3a7
-1, 139477, 105, 0xe87734d6
-1, 144179, 104, 0x21873412
-0, 150150, 976, 0x2f7cf7ae
-1, 150420, 105, 0x29c03514
-1, 155122, 104, 0x91a5347a
-1, 159824, 105, 0xdbbf3696
-0, 162162, 104, 0x8fbf2f65
-1, 164526, 104, 0x3b463afc
-1, 169228, 105, 0xddf53845
-1, 173930, 104, 0x94c23d1a
-0, 174174, 652, 0xa9244ac0
-1, 178632, 105, 0xc0fd36c4
-1, 183334, 104, 0x36d535e0
-0, 186186, 152, 0x97804cc1
-1, 188036, 105, 0xe81a35da
-1, 192738, 104, 0x2b4e3699
-1, 197440, 105, 0x3978392c
-0, 198198, 156, 0xca434d31
-1, 202142, 104, 0xca903459
-0, 204204, 196, 0x1ff16161
-1, 206844, 105, 0xedc4374a
-0, 210210, 176, 0x9b455230
-1, 211546, 104, 0x0b3938d2
-0, 216216, 156, 0xbbbf4bf3
-1, 216249, 105, 0xb2653246
-1, 220951, 104, 0x76333479
-0, 222222, 220, 0x77a97152
-1, 225653, 105, 0x779138c4
-0, 228228, 204, 0x667d5ecf
-1, 230355, 104, 0xfe142f55
-0, 234234, 232, 0x3a266ccd
-1, 235057, 105, 0x39aa3410
-1, 239759, 104, 0x520f330d
-0, 240240, 308, 0x844a95b7
-1, 244461, 104, 0x1aad37b0
-0, 246246, 384, 0x71d2c695
-1, 249163, 105, 0x164038eb
-1, 253865, 104, 0x21d434bd
-0, 258258, 520, 0x4f9d012a
-1, 258567, 105, 0x9c1236d4
-1, 263269, 104, 0x6aa933c3
-1, 267971, 105, 0xec5c371e
-0, 270270, 648, 0xabd13b29
-1, 272673, 104, 0xedb33251
-1, 277375, 105, 0x4f953476
-1, 282077, 104, 0x7da13400
-0, 282282, 604, 0x006b328f
-1, 286779, 105, 0x57a83aaa
-1, 291481, 104, 0x8b822f2f
-0, 294294, 492, 0xa150fac1
-1, 296183, 105, 0x3b31341a
-1, 300885, 104, 0x74a4316d
-1, 305587, 105, 0x05013469
-0, 306306, 456, 0xd3e9e52c
-1, 310289, 104, 0xcc8932cb
-1, 314991, 105, 0xd9233422
-0, 318318, 340, 0x7229a1b7
-1, 319693, 104, 0x5c603350
-1, 324395, 105, 0x76e631bc
-1, 329097, 104, 0x657e3b35
-0, 330330, 280, 0x48948b60
-1, 333799, 105, 0x9d283226
-1, 338502, 104, 0x574936ef
-0, 342342, 304, 0x3ae68dcf
-1, 343204, 105, 0x1b923555
-1, 347906, 104, 0x2a9f3583
-1, 352608, 105, 0xb8cd306f
-0, 354354, 324, 0x005da2ab
-1, 357310, 104, 0xa21d3475
-1, 362012, 105, 0x651539ea
-0, 366366, 348, 0x3230a873
-1, 366714, 104, 0x7b7235b8
-1, 371416, 105, 0x2bbb337a
-1, 376118, 104, 0x26c332eb
-0, 378378, 336, 0x8655ad2d
-1, 380820, 105, 0x990838d8
-1, 385522, 104, 0x4dc63ad4
-1, 390224, 105, 0xfb8e3418
-0, 390390, 380, 0x742ebc44
-1, 394926, 104, 0x1882388e
-1, 399628, 105, 0xe6b534cc
-0, 402402, 340, 0xfc1aa74e
-1, 404330, 104, 0x60fe35d0
-1, 409032, 105, 0x5164354a
-1, 413734, 104, 0x92ee3115
-0, 414414, 332, 0x3cfba56c
-1, 418436, 105, 0x9b32327e
-1, 423138, 104, 0x9b9e394a
-0, 426426, 332, 0xc024ad4c
-1, 427840, 105, 0xce3c337f
-1, 432542, 104, 0x7a4e33c5
-0, 438438, 3432, 0xcdfcd1c9
-1, 440868, 105, 0x0e3d34eb
-1, 445570, 104, 0xd23e338e
-1, 450272, 105, 0x4abf340c
-0, 450450, 792, 0xe7df949f
-1, 454974, 104, 0xe7522e15
-1, 459676, 105, 0x995037ba
-0, 462462, 912, 0xbc61d549
-1, 464378, 104, 0x5ef12e9b
-1, 469080, 105, 0x5c3b3166
-1, 473782, 104, 0xfc38314b
-0, 474474, 956, 0x809bdff0
-1, 478484, 104, 0x5e3636e4
-1, 483186, 105, 0xae7b3345
-0, 486486, 652, 0x88d3484f
-1, 487888, 104, 0x635c317a
-1, 492590, 105, 0xa90c361a
-1, 497292, 104, 0x8f563594
-0, 498498, 1284, 0xecc37164
-1, 501468, 105, 0x028e3985
-1, 506170, 104, 0x4fd135f6
-0, 510510, 428, 0x4794e174
-1, 510872, 105, 0xaaf539ac
-1, 515574, 104, 0x668b3265
-1, 520276, 105, 0x74ad3b4b
-0, 522522, 460, 0x7253d94a
-1, 524978, 104, 0xbde5332f
-1, 529680, 105, 0xdc3631e7
-1, 534382, 104, 0x3e363a1e
-0, 534534, 24, 0x664206ba
-1, 539084, 105, 0x48b63926
+#tb 0: 1001/15000
+#tb 1: 1/30000000
+0, 0, 0, 1, 12, 0x1396035f
+0, 1, 1, 1, 24, 0x8ab80ac7
+0, 2, 2, 1, 208, 0x1de1603e
+1, 4173848, 4173848, 1567346, 104, 0x8ae85dc9
+1, 5741194, 5741194, 1567346, 105, 0xb7033847
+0, 3, 3, 1, 364, 0xffb4b341
+1, 7308540, 7308540, 1567346, 104, 0x5f853482
+0, 4, 4, 1, 456, 0x7a4deaeb
+1, 8875886, 8875886, 1567346, 105, 0xfcb731fd
+0, 5, 5, 1, 432, 0xf4ddd813
+1, 10443232, 10443232, 1567346, 104, 0x4f8232bb
+1, 12010578, 12010578, 1567346, 105, 0x2f543039
+0, 6, 6, 1, 572, 0xc84c21ff
+1, 13577924, 13577924, 1567346, 104, 0xe4cc34a1
+0, 7, 7, 1, 500, 0x0e6bf9f4
+1, 15145270, 15145270, 1567346, 105, 0xea663711
+0, 8, 8, 1, 508, 0x2d6efe2a
+1, 16712616, 16712616, 1567346, 104, 0x3c583098
+0, 9, 9, 1, 436, 0x7d07d3c5
+1, 18279962, 18279962, 1567346, 105, 0xbe6c33ff
+1, 19847308, 19847308, 1567346, 104, 0x56de2d7a
+0, 10, 10, 1, 620, 0xa9313342
+1, 21414654, 21414654, 1567346, 105, 0x4e80385d
+0, 11, 11, 1, 1384, 0x9b97c579
+1, 22982000, 22982000, 1567346, 104, 0x34eb340d
+0, 12, 12, 1, 760, 0xd1aa8183
+1, 24549346, 24549346, 1567346, 105, 0x87e82f74
+0, 13, 13, 1, 836, 0x261da980
+1, 26116692, 26116692, 1567346, 104, 0xa546377d
+1, 27684038, 27684038, 1567346, 105, 0x92bd349d
+0, 14, 14, 1, 860, 0x52f0afa0
+1, 29251384, 29251384, 1567346, 104, 0xdba53f3d
+0, 15, 15, 1, 696, 0x63845855
+1, 30818730, 30818730, 1567346, 105, 0xd3c3384e
+0, 16, 16, 1, 460, 0x2916e7be
+1, 32386076, 32386076, 1567346, 104, 0xdf7d30ce
+1, 33953422, 33953422, 1567346, 105, 0xae20344e
+0, 17, 17, 1, 328, 0xab8caaca
+1, 35520768, 35520768, 1567346, 104, 0xe4cc33b7
+0, 18, 18, 1, 396, 0xc775bc8e
+1, 37088114, 37088114, 1567346, 105, 0xda993806
+0, 19, 19, 1, 344, 0x114ea25a
+1, 38655460, 38655460, 1567346, 104, 0xd6d12edd
+1, 40222806, 40222806, 1567346, 105, 0x6b9c2ed5
+1, 41790152, 41790152, 1567346, 104, 0xce6c3b04
+0, 21, 21, 1, 532, 0xd5650f54
+1, 43357498, 43357498, 1567346, 105, 0x31db399e
+1, 44924844, 44924844, 1567346, 104, 0xd50b347a
+0, 23, 23, 1, 476, 0x77f1f3a7
+1, 46492190, 46492190, 1567346, 105, 0xe87734d6
+1, 48059536, 48059536, 1567346, 104, 0x21873412
+0, 25, 25, 1, 976, 0x2f7cf7ae
+1, 50140000, 50140000, 1567346, 105, 0x29c03514
+1, 51707346, 51707346, 1567346, 104, 0x91a5347a
+1, 53274692, 53274692, 1567346, 105, 0xdbbf3696
+0, 27, 27, 1, 104, 0x8fbf2f65
+1, 54842038, 54842038, 1567346, 104, 0x3b463afc
+1, 56409384, 56409384, 1567346, 105, 0xddf53845
+1, 57976730, 57976730, 1567346, 104, 0x94c23d1a
+0, 29, 29, 1, 652, 0xa9244ac0
+1, 59544076, 59544076, 1567346, 105, 0xc0fd36c4
+1, 61111422, 61111422, 1567346, 104, 0x36d535e0
+0, 31, 31, 1, 152, 0x97804cc1
+1, 62678768, 62678768, 1567346, 105, 0xe81a35da
+1, 64246114, 64246114, 1567346, 104, 0x2b4e3699
+1, 65813460, 65813460, 1567346, 105, 0x3978392c
+0, 33, 33, 1, 156, 0xca434d31
+1, 67380806, 67380806, 1567346, 104, 0xca903459
+0, 34, 34, 1, 196, 0x1ff16161
+1, 68948152, 68948152, 1567346, 105, 0xedc4374a
+0, 35, 35, 1, 176, 0x9b455230
+1, 70515498, 70515498, 1567346, 104, 0x0b3938d2
+0, 36, 36, 1, 156, 0xbbbf4bf3
+1, 72082844, 72082844, 1567346, 105, 0xb2653246
+1, 73650190, 73650190, 1567346, 104, 0x76333479
+0, 37, 37, 1, 220, 0x77a97152
+1, 75217536, 75217536, 1567346, 105, 0x779138c4
+0, 38, 38, 1, 204, 0x667d5ecf
+1, 76784882, 76784882, 1567346, 104, 0xfe142f55
+0, 39, 39, 1, 232, 0x3a266ccd
+1, 78352228, 78352228, 1567346, 105, 0x39aa3410
+1, 79919574, 79919574, 1567346, 104, 0x520f330d
+0, 40, 40, 1, 308, 0x844a95b7
+1, 81486920, 81486920, 1567346, 104, 0x1aad37b0
+0, 41, 41, 1, 384, 0x71d2c695
+1, 83054266, 83054266, 1567346, 105, 0x164038eb
+1, 84621612, 84621612, 1567346, 104, 0x21d434bd
+0, 43, 43, 1, 520, 0x4f9d012a
+1, 86188958, 86188958, 1567346, 105, 0x9c1236d4
+1, 87756304, 87756304, 1567346, 104, 0x6aa933c3
+1, 89323650, 89323650, 1567346, 105, 0xec5c371e
+0, 45, 45, 1, 648, 0xabd13b29
+1, 90890996, 90890996, 1567346, 104, 0xedb33251
+1, 92458342, 92458342, 1567346, 105, 0x4f953476
+1, 94025688, 94025688, 1567346, 104, 0x7da13400
+0, 47, 47, 1, 604, 0x006b328f
+1, 95593034, 95593034, 1567346, 105, 0x57a83aaa
+1, 97160380, 97160380, 1567346, 104, 0x8b822f2f
+0, 49, 49, 1, 492, 0xa150fac1
+1, 98727726, 98727726, 1567346, 105, 0x3b31341a
+1, 100295072, 100295072, 1567346, 104, 0x74a4316d
+1, 101862418, 101862418, 1567346, 105, 0x05013469
+0, 51, 51, 1, 456, 0xd3e9e52c
+1, 103429764, 103429764, 1567346, 104, 0xcc8932cb
+1, 104997110, 104997110, 1567346, 105, 0xd9233422
+0, 53, 53, 1, 340, 0x7229a1b7
+1, 106564456, 106564456, 1567346, 104, 0x5c603350
+1, 108131802, 108131802, 1567346, 105, 0x76e631bc
+1, 109699148, 109699148, 1567346, 104, 0x657e3b35
+0, 55, 55, 1, 280, 0x48948b60
+1, 111266494, 111266494, 1567346, 105, 0x9d283226
+1, 112833840, 112833840, 1567346, 104, 0x574936ef
+0, 57, 57, 1, 304, 0x3ae68dcf
+1, 114401186, 114401186, 1567346, 105, 0x1b923555
+1, 115968532, 115968532, 1567346, 104, 0x2a9f3583
+1, 117535878, 117535878, 1567346, 105, 0xb8cd306f
+0, 59, 59, 1, 324, 0x005da2ab
+1, 119103224, 119103224, 1567346, 104, 0xa21d3475
+1, 120670570, 120670570, 1567346, 105, 0x651539ea
+0, 61, 61, 1, 348, 0x3230a873
+1, 122237916, 122237916, 1567346, 104, 0x7b7235b8
+1, 123805262, 123805262, 1567346, 105, 0x2bbb337a
+1, 125372608, 125372608, 1567346, 104, 0x26c332eb
+0, 63, 63, 1, 336, 0x8655ad2d
+1, 126939954, 126939954, 1567346, 105, 0x990838d8
+1, 128507300, 128507300, 1567346, 104, 0x4dc63ad4
+1, 130074646, 130074646, 1567346, 105, 0xfb8e3418
+0, 65, 65, 1, 380, 0x742ebc44
+1, 131641992, 131641992, 1567346, 104, 0x1882388e
+1, 133209338, 133209338, 1567346, 105, 0xe6b534cc
+0, 67, 67, 1, 340, 0xfc1aa74e
+1, 134776684, 134776684, 1567346, 104, 0x60fe35d0
+1, 136344030, 136344030, 1567346, 105, 0x5164354a
+1, 137911376, 137911376, 1567346, 104, 0x92ee3115
+0, 69, 69, 1, 332, 0x3cfba56c
+1, 139478722, 139478722, 1567346, 105, 0x9b32327e
+1, 141046068, 141046068, 1567346, 104, 0x9b9e394a
+0, 71, 71, 1, 332, 0xc024ad4c
+1, 142613414, 142613414, 1567346, 105, 0xce3c337f
+1, 144180760, 144180760, 1567346, 104, 0x7a4e33c5
+0, 73, 73, 1, 3432, 0xcdfcd1c9
+1, 146956000, 146956000, 1567346, 105, 0x0e3d34eb
+1, 148523346, 148523346, 1567346, 104, 0xd23e338e
+1, 150090692, 150090692, 1567346, 105, 0x4abf340c
+0, 75, 75, 1, 792, 0xe7df949f
+1, 151658038, 151658038, 1567346, 104, 0xe7522e15
+1, 153225384, 153225384, 1567346, 105, 0x995037ba
+0, 77, 77, 1, 912, 0xbc61d549
+1, 154792730, 154792730, 1567346, 104, 0x5ef12e9b
+1, 156360076, 156360076, 1567346, 105, 0x5c3b3166
+1, 157927422, 157927422, 1567346, 104, 0xfc38314b
+0, 79, 79, 1, 956, 0x809bdff0
+1, 159494768, 159494768, 1567346, 104, 0x5e3636e4
+1, 161062114, 161062114, 1567346, 105, 0xae7b3345
+0, 81, 81, 1, 652, 0x88d3484f
+1, 162629460, 162629460, 1567346, 104, 0x635c317a
+1, 164196806, 164196806, 1567346, 105, 0xa90c361a
+1, 165764152, 165764152, 1567346, 104, 0x8f563594
+0, 83, 83, 1, 1284, 0xecc37164
+1, 167156000, 167156000, 1567346, 105, 0x028e3985
+1, 168723346, 168723346, 1567346, 104, 0x4fd135f6
+0, 85, 85, 1, 428, 0x4794e174
+1, 170290692, 170290692, 1567346, 105, 0xaaf539ac
+1, 171858038, 171858038, 1567346, 104, 0x668b3265
+1, 173425384, 173425384, 1567346, 105, 0x74ad3b4b
+0, 87, 87, 1, 460, 0x7253d94a
+1, 174992730, 174992730, 1567346, 104, 0xbde5332f
+1, 176560076, 176560076, 1567346, 105, 0xdc3631e7
+1, 178127422, 178127422, 1567346, 104, 0x3e363a1e
+0, 89, 89, 1, 24, 0x664206ba
+1, 179694768, 179694768, 1567346, 105, 0x48b63926
diff --git a/tests/ref/fate/nuv b/tests/ref/fate/nuv
index f1fcae3883..19e4f90528 100644
--- a/tests/ref/fate/nuv
+++ b/tests/ref/fate/nuv
@@ -1,27 +1,29 @@
-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
-1, 12539, 4096, 0x072ef72b
-1, 14629, 4096, 0xb3560144
-0, 15015, 460800, 0x4e091ee2
-1, 16718, 4096, 0x0a3d119e
-0, 18018, 460800, 0x2ea88828
-1, 18808, 4096, 0xbe391aa4
-1, 20898, 4096, 0x28f7c6e5
-0, 21021, 460800, 0x4b7f4df0
-1, 22988, 4096, 0xca9d9df2
-0, 24024, 460800, 0xb30eb322
-1, 25078, 4096, 0x5c6b95a9
-1, 27167, 4096, 0x0bdfc0bf
-1, 29257, 4096, 0xd95a9277
-1, 31347, 4096, 0xae2bef2c
-1, 33437, 4096, 0xbf031e83
-1, 35527, 4096, 0x4c83e2d1
+#tb 0: 100/2997
+#tb 1: 1/44100
+0, 0, 0, 1, 460800, 0x54aedafe
+1, 0, 0, 1024, 4096, 0x00000000
+1, 1024, 1024, 1024, 4096, 0x4dfae7a6
+0, 1, 1, 1, 460800, 0xb7aa8b56
+1, 2048, 2048, 1024, 4096, 0x3fd9f5c6
+0, 2, 2, 1, 460800, 0x283ea3b5
+1, 3072, 3072, 1024, 4096, 0x7b86e310
+1, 4096, 4096, 1024, 4096, 0x611cece5
+0, 3, 3, 1, 460800, 0x283ea3b5
+1, 5120, 5120, 1024, 4096, 0xb7d8e872
+0, 4, 4, 1, 460800, 0x10e577de
+1, 6144, 6144, 1024, 4096, 0x072ef72b
+1, 7168, 7168, 1024, 4096, 0xb3560144
+0, 5, 5, 1, 460800, 0x4e091ee2
+1, 8192, 8192, 1024, 4096, 0x0a3d119e
+0, 6, 6, 1, 460800, 0x2ea88828
+1, 9216, 9216, 1024, 4096, 0xbe391aa4
+1, 10240, 10240, 1024, 4096, 0x28f7c6e5
+0, 7, 7, 1, 460800, 0x4b7f4df0
+1, 11264, 11264, 1024, 4096, 0xca9d9df2
+0, 8, 8, 1, 460800, 0xb30eb322
+1, 12288, 12288, 1024, 4096, 0x5c6b95a9
+1, 13312, 13312, 1024, 4096, 0x0bdfc0bf
+1, 14336, 14336, 1024, 4096, 0xd95a9277
+1, 15360, 15360, 1024, 4096, 0xae2bef2c
+1, 16384, 16384, 1024, 4096, 0xbf031e83
+1, 17408, 17408, 1024, 4096, 0x4c83e2d1
diff --git a/tests/ref/fate/pcm_dvd b/tests/ref/fate/pcm_dvd
index 475fce416b..691e1a6119 100644
--- a/tests/ref/fate/pcm_dvd
+++ b/tests/ref/fate/pcm_dvd
@@ -1,123 +1,124 @@
-0, 0, 1336, 0x8e3c0abc
-0, 626, 1336, 0x99c41108
-0, 1253, 1336, 0xd65be322
-0, 1879, 1336, 0x15b575fb
-0, 2505, 1336, 0x366f742a
-0, 3131, 1336, 0xed72ad83
-0, 3758, 1336, 0x73f21c93
-0, 4384, 1336, 0x4be7a770
-0, 5010, 1336, 0x69ecf80c
-0, 5636, 1336, 0x835dc0e5
-0, 6263, 1336, 0x3089458d
-0, 6889, 1336, 0xc73b8cdc
-0, 7515, 1336, 0xc1cdaa8f
-0, 8141, 1336, 0x47a49186
-0, 8768, 1336, 0x2db387e2
-0, 9394, 1336, 0x90da9a97
-0, 10020, 1336, 0xcd34a467
-0, 10646, 1336, 0xdca8bd29
-0, 11273, 1336, 0xa09f9da3
-0, 11899, 1336, 0x47c8acf6
-0, 12525, 1336, 0x94dfa20e
-0, 13151, 1336, 0x2123a5f6
-0, 13778, 1336, 0x2f1badde
-0, 14404, 1336, 0x47579528
-0, 15030, 1336, 0x028daa10
-0, 15656, 1336, 0x5ed7adcd
-0, 16283, 1336, 0xc5ee8f10
-0, 16909, 1336, 0xcfacb489
-0, 17535, 1336, 0x07de937b
-0, 18161, 1336, 0x07bd8f8b
-0, 18788, 1336, 0x4660912e
-0, 19414, 1336, 0x047f97ad
-0, 20040, 1336, 0xe0e8a11f
-0, 20666, 1336, 0xcd9898e6
-0, 21293, 1336, 0xccfda786
-0, 21919, 1336, 0xab1b9e40
-0, 22545, 1336, 0x2ea79ea1
-0, 23171, 1336, 0xade2ad7e
-0, 23798, 1336, 0xe5cf9684
-0, 24424, 1336, 0xb57184cf
-0, 25050, 1336, 0x0668a5ce
-0, 25676, 1336, 0x643a9d96
-0, 26303, 1336, 0x97dc8ecc
-0, 26929, 1336, 0x72c2b174
-0, 27555, 1336, 0xe39d8fc3
-0, 28181, 1336, 0x56fc76d2
-0, 28808, 1336, 0x91a884b3
-0, 29434, 1336, 0x7b039a4e
-0, 30060, 1336, 0x3770a9dd
-0, 30686, 1336, 0x317c9cb8
-0, 31313, 1336, 0xdd97ad48
-0, 31939, 1336, 0x98066c1b
-0, 32565, 1336, 0xecd3a31c
-0, 33191, 1336, 0x0578b329
-0, 33818, 1336, 0x6942881c
-0, 34444, 1336, 0x56b5af29
-0, 35070, 1336, 0xf111a48a
-0, 35696, 1336, 0x1f5a8d45
-0, 36323, 1336, 0x39abdded
-0, 36949, 1336, 0xdb997fe8
-0, 37575, 1336, 0xd7f0d0b2
-0, 38201, 1336, 0xf3219413
-0, 38828, 1336, 0x9d80899d
-0, 39454, 1336, 0x7238bd63
-0, 40080, 1336, 0x7376703e
-0, 40706, 1336, 0x0fd56d02
-0, 41333, 1336, 0xa6c0951e
-0, 41959, 1336, 0xfacb674e
-0, 42585, 1336, 0x805bd289
-0, 43211, 1336, 0xa2a51a12
-0, 43838, 1336, 0x8a75d91b
-0, 44464, 1336, 0x34b1ef80
-0, 45090, 1336, 0x902921e0
-0, 45716, 1336, 0xc2db7895
-0, 46343, 1336, 0x7a0db9e1
-0, 46969, 1336, 0x66a93277
-0, 47595, 1336, 0x30830a83
-0, 48221, 1336, 0x251cf132
-0, 48848, 1336, 0x08dd852c
-0, 49474, 1336, 0x22ea164c
-0, 50100, 1336, 0x3bdd91c4
-0, 50726, 1336, 0xa4c0fbd7
-0, 51353, 1336, 0x83aa81bd
-0, 51979, 1336, 0x8a7b0fdb
-0, 52605, 1336, 0x35c37b01
-0, 53231, 1336, 0xdede811e
-0, 53858, 1336, 0x7473a657
-0, 54484, 1336, 0x5b917e2b
-0, 55110, 1336, 0x1c5a7cfc
-0, 55736, 1336, 0xeb7bab0d
-0, 56363, 1336, 0x7337795c
-0, 56989, 1336, 0x68da9d08
-0, 57615, 1336, 0xe93b87fe
-0, 58241, 1336, 0xd4639f00
-0, 58868, 1336, 0x1070a91d
-0, 59494, 1336, 0x50e3788f
-0, 60120, 1336, 0x1dac6691
-0, 60746, 1336, 0xf62c709d
-0, 61373, 1336, 0x2369648d
-0, 61999, 1336, 0xbfc792e6
-0, 62625, 1336, 0x975eb8e3
-0, 63251, 1336, 0x35c49ba6
-0, 63878, 1336, 0xe6198aa9
-0, 64504, 1336, 0x99f37d9d
-0, 65130, 1336, 0x4815aff1
-0, 65756, 1336, 0x4fd366ca
-0, 66383, 1336, 0x43cf7bb4
-0, 67009, 1336, 0x14a576ac
-0, 67635, 1336, 0xc6986978
-0, 68261, 1336, 0x10f67dc4
-0, 68888, 1336, 0xcca07f7a
-0, 69514, 1336, 0x6d0a5dfe
-0, 70140, 1336, 0x4e0761ef
-0, 70766, 1336, 0x31368e66
-0, 71393, 1336, 0x14b895c1
-0, 72019, 1336, 0x4bb7c111
-0, 72645, 1336, 0x1676a8bb
-0, 73271, 1336, 0xddaaa459
-0, 73898, 1336, 0xc43eabce
-0, 74524, 1336, 0x4d9f8d54
-0, 75150, 1336, 0x0ac292cb
-0, 75776, 1336, 0x2d9c74e4
-0, 76403, 1336, 0xe73da38f
+#tb 0: 1/48000
+0, 0, 0, 334, 1336, 0x8e3c0abc
+0, 334, 334, 334, 1336, 0x99c41108
+0, 668, 668, 334, 1336, 0xd65be322
+0, 1002, 1002, 334, 1336, 0x15b575fb
+0, 1336, 1336, 334, 1336, 0x366f742a
+0, 1670, 1670, 334, 1336, 0xed72ad83
+0, 2004, 2004, 334, 1336, 0x73f21c93
+0, 2338, 2338, 334, 1336, 0x4be7a770
+0, 2672, 2672, 334, 1336, 0x69ecf80c
+0, 3006, 3006, 334, 1336, 0x835dc0e5
+0, 3340, 3340, 334, 1336, 0x3089458d
+0, 3674, 3674, 334, 1336, 0xc73b8cdc
+0, 4008, 4008, 334, 1336, 0xc1cdaa8f
+0, 4342, 4342, 334, 1336, 0x47a49186
+0, 4676, 4676, 334, 1336, 0x2db387e2
+0, 5010, 5010, 334, 1336, 0x90da9a97
+0, 5344, 5344, 334, 1336, 0xcd34a467
+0, 5678, 5678, 334, 1336, 0xdca8bd29
+0, 6012, 6012, 334, 1336, 0xa09f9da3
+0, 6346, 6346, 334, 1336, 0x47c8acf6
+0, 6680, 6680, 334, 1336, 0x94dfa20e
+0, 7014, 7014, 334, 1336, 0x2123a5f6
+0, 7348, 7348, 334, 1336, 0x2f1badde
+0, 7682, 7682, 334, 1336, 0x47579528
+0, 8016, 8016, 334, 1336, 0x028daa10
+0, 8350, 8350, 334, 1336, 0x5ed7adcd
+0, 8684, 8684, 334, 1336, 0xc5ee8f10
+0, 9018, 9018, 334, 1336, 0xcfacb489
+0, 9352, 9352, 334, 1336, 0x07de937b
+0, 9686, 9686, 334, 1336, 0x07bd8f8b
+0, 10020, 10020, 334, 1336, 0x4660912e
+0, 10354, 10354, 334, 1336, 0x047f97ad
+0, 10688, 10688, 334, 1336, 0xe0e8a11f
+0, 11022, 11022, 334, 1336, 0xcd9898e6
+0, 11356, 11356, 334, 1336, 0xccfda786
+0, 11690, 11690, 334, 1336, 0xab1b9e40
+0, 12024, 12024, 334, 1336, 0x2ea79ea1
+0, 12358, 12358, 334, 1336, 0xade2ad7e
+0, 12692, 12692, 334, 1336, 0xe5cf9684
+0, 13026, 13026, 334, 1336, 0xb57184cf
+0, 13360, 13360, 334, 1336, 0x0668a5ce
+0, 13694, 13694, 334, 1336, 0x643a9d96
+0, 14028, 14028, 334, 1336, 0x97dc8ecc
+0, 14362, 14362, 334, 1336, 0x72c2b174
+0, 14696, 14696, 334, 1336, 0xe39d8fc3
+0, 15030, 15030, 334, 1336, 0x56fc76d2
+0, 15364, 15364, 334, 1336, 0x91a884b3
+0, 15698, 15698, 334, 1336, 0x7b039a4e
+0, 16032, 16032, 334, 1336, 0x3770a9dd
+0, 16366, 16366, 334, 1336, 0x317c9cb8
+0, 16700, 16700, 334, 1336, 0xdd97ad48
+0, 17034, 17034, 334, 1336, 0x98066c1b
+0, 17368, 17368, 334, 1336, 0xecd3a31c
+0, 17702, 17702, 334, 1336, 0x0578b329
+0, 18036, 18036, 334, 1336, 0x6942881c
+0, 18370, 18370, 334, 1336, 0x56b5af29
+0, 18704, 18704, 334, 1336, 0xf111a48a
+0, 19038, 19038, 334, 1336, 0x1f5a8d45
+0, 19372, 19372, 334, 1336, 0x39abdded
+0, 19706, 19706, 334, 1336, 0xdb997fe8
+0, 20040, 20040, 334, 1336, 0xd7f0d0b2
+0, 20374, 20374, 334, 1336, 0xf3219413
+0, 20708, 20708, 334, 1336, 0x9d80899d
+0, 21042, 21042, 334, 1336, 0x7238bd63
+0, 21376, 21376, 334, 1336, 0x7376703e
+0, 21710, 21710, 334, 1336, 0x0fd56d02
+0, 22044, 22044, 334, 1336, 0xa6c0951e
+0, 22378, 22378, 334, 1336, 0xfacb674e
+0, 22712, 22712, 334, 1336, 0x805bd289
+0, 23046, 23046, 334, 1336, 0xa2a51a12
+0, 23380, 23380, 334, 1336, 0x8a75d91b
+0, 23714, 23714, 334, 1336, 0x34b1ef80
+0, 24048, 24048, 334, 1336, 0x902921e0
+0, 24382, 24382, 334, 1336, 0xc2db7895
+0, 24716, 24716, 334, 1336, 0x7a0db9e1
+0, 25050, 25050, 334, 1336, 0x66a93277
+0, 25384, 25384, 334, 1336, 0x30830a83
+0, 25718, 25718, 334, 1336, 0x251cf132
+0, 26052, 26052, 334, 1336, 0x08dd852c
+0, 26386, 26386, 334, 1336, 0x22ea164c
+0, 26720, 26720, 334, 1336, 0x3bdd91c4
+0, 27054, 27054, 334, 1336, 0xa4c0fbd7
+0, 27388, 27388, 334, 1336, 0x83aa81bd
+0, 27722, 27722, 334, 1336, 0x8a7b0fdb
+0, 28056, 28056, 334, 1336, 0x35c37b01
+0, 28390, 28390, 334, 1336, 0xdede811e
+0, 28724, 28724, 334, 1336, 0x7473a657
+0, 29058, 29058, 334, 1336, 0x5b917e2b
+0, 29392, 29392, 334, 1336, 0x1c5a7cfc
+0, 29726, 29726, 334, 1336, 0xeb7bab0d
+0, 30060, 30060, 334, 1336, 0x7337795c
+0, 30394, 30394, 334, 1336, 0x68da9d08
+0, 30728, 30728, 334, 1336, 0xe93b87fe
+0, 31062, 31062, 334, 1336, 0xd4639f00
+0, 31396, 31396, 334, 1336, 0x1070a91d
+0, 31730, 31730, 334, 1336, 0x50e3788f
+0, 32064, 32064, 334, 1336, 0x1dac6691
+0, 32398, 32398, 334, 1336, 0xf62c709d
+0, 32732, 32732, 334, 1336, 0x2369648d
+0, 33066, 33066, 334, 1336, 0xbfc792e6
+0, 33400, 33400, 334, 1336, 0x975eb8e3
+0, 33734, 33734, 334, 1336, 0x35c49ba6
+0, 34068, 34068, 334, 1336, 0xe6198aa9
+0, 34402, 34402, 334, 1336, 0x99f37d9d
+0, 34736, 34736, 334, 1336, 0x4815aff1
+0, 35070, 35070, 334, 1336, 0x4fd366ca
+0, 35404, 35404, 334, 1336, 0x43cf7bb4
+0, 35738, 35738, 334, 1336, 0x14a576ac
+0, 36072, 36072, 334, 1336, 0xc6986978
+0, 36406, 36406, 334, 1336, 0x10f67dc4
+0, 36740, 36740, 334, 1336, 0xcca07f7a
+0, 37074, 37074, 334, 1336, 0x6d0a5dfe
+0, 37408, 37408, 334, 1336, 0x4e0761ef
+0, 37742, 37742, 334, 1336, 0x31368e66
+0, 38076, 38076, 334, 1336, 0x14b895c1
+0, 38410, 38410, 334, 1336, 0x4bb7c111
+0, 38744, 38744, 334, 1336, 0x1676a8bb
+0, 39078, 39078, 334, 1336, 0xddaaa459
+0, 39412, 39412, 334, 1336, 0xc43eabce
+0, 39746, 39746, 334, 1336, 0x4d9f8d54
+0, 40080, 40080, 334, 1336, 0x0ac292cb
+0, 40414, 40414, 334, 1336, 0x2d9c74e4
+0, 40748, 40748, 334, 1336, 0xe73da38f
diff --git a/tests/ref/fate/pictor b/tests/ref/fate/pictor
index 3fa0f31f12..3dc4344758 100644
--- a/tests/ref/fate/pictor
+++ b/tests/ref/fate/pictor
@@ -1 +1,2 @@
-0, 0, 192816, 0xf97e2ba1
+#tb 0: 1/25
+0, 0, 0, 1, 192816, 0xf97e2ba1
diff --git a/tests/ref/fate/prores-422 b/tests/ref/fate/prores-422
index 8d6f3ab517..acd09e3da6 100644
--- a/tests/ref/fate/prores-422
+++ b/tests/ref/fate/prores-422
@@ -1,2 +1,3 @@
-0, 0, 8294400, 0xe8e9d448
-0, 3003, 8294400, 0xe8e9d448
+#tb 0: 100/2997
+0, 0, 0, 1, 8294400, 0xe8e9d448
+0, 1, 1, 1, 8294400, 0xe8e9d448
diff --git a/tests/ref/fate/prores-422_hq b/tests/ref/fate/prores-422_hq
index 8ce6937cf5..a404ef4d3f 100644
--- a/tests/ref/fate/prores-422_hq
+++ b/tests/ref/fate/prores-422_hq
@@ -1,2 +1,3 @@
-0, 0, 8294400, 0x817063b0
-0, 3003, 8294400, 0x817063b0
+#tb 0: 100/2997
+0, 0, 0, 1, 8294400, 0x817063b0
+0, 1, 1, 1, 8294400, 0x817063b0
diff --git a/tests/ref/fate/prores-422_lt b/tests/ref/fate/prores-422_lt
index e9d0437568..09e2408cd1 100644
--- a/tests/ref/fate/prores-422_lt
+++ b/tests/ref/fate/prores-422_lt
@@ -1,2 +1,3 @@
-0, 0, 8294400, 0xcd4ccde1
-0, 3003, 8294400, 0xcd4ccde1
+#tb 0: 100/2997
+0, 0, 0, 1, 8294400, 0xcd4ccde1
+0, 1, 1, 1, 8294400, 0xcd4ccde1
diff --git a/tests/ref/fate/prores-422_proxy b/tests/ref/fate/prores-422_proxy
index c9e454fd61..d716f87c2b 100644
--- a/tests/ref/fate/prores-422_proxy
+++ b/tests/ref/fate/prores-422_proxy
@@ -1,2 +1,3 @@
-0, 0, 8294400, 0x51d29320
-0, 3003, 8294400, 0x51d29320
+#tb 0: 100/2997
+0, 0, 0, 1, 8294400, 0x51d29320
+0, 1, 1, 1, 8294400, 0x51d29320
diff --git a/tests/ref/fate/prores-alpha b/tests/ref/fate/prores-alpha
index 45926528d8..e300951ebf 100644
--- a/tests/ref/fate/prores-alpha
+++ b/tests/ref/fate/prores-alpha
@@ -1,2 +1,3 @@
-0, 0, 12441600, 0x9d3dc525
-0, 3003, 12441600, 0x9d3dc525
+#tb 0: 100/2997
+0, 0, 0, 1, 12441600, 0x9d3dc525
+0, 1, 1, 1, 12441600, 0x9d3dc525
diff --git a/tests/ref/fate/psx-str b/tests/ref/fate/psx-str
index 3872e289e5..a76af1c4f8 100644
--- a/tests/ref/fate/psx-str
+++ b/tests/ref/fate/psx-str
@@ -1,200 +1,202 @@
-0, 0, 115200, 0x6b106a56
-1, 0, 8064, 0x02260037
-1, 4800, 8064, 0x4ee9f4e9
-0, 6000, 115200, 0x53c16930
-1, 9600, 8064, 0xf8fd82aa
-0, 12000, 115200, 0xe2126f03
-1, 14400, 8064, 0xc100792b
-0, 18000, 115200, 0xc3c18ba0
-1, 19200, 8064, 0xf11a5316
-0, 24000, 115200, 0xe281b655
-1, 24000, 8064, 0x6937f8c0
-1, 28800, 8064, 0xed194e42
-0, 30000, 115200, 0x7b1e0536
-1, 33600, 8064, 0x619ce54b
-0, 36000, 115200, 0xbbd868c5
-1, 38400, 8064, 0x544999ec
-0, 42000, 115200, 0xfc67bf8e
-1, 43200, 8064, 0x0ea877b4
-0, 48000, 115200, 0xb463151c
-1, 48000, 8064, 0xb764d1c0
-1, 52800, 8064, 0x7a2fd211
-0, 54000, 115200, 0x6e686846
-1, 57600, 8064, 0xff69f6c5
-0, 60000, 115200, 0xca36b835
-1, 62400, 8064, 0x26c11ec7
-0, 66000, 115200, 0x17b91efc
-1, 67200, 8064, 0xfb4ecc0c
-0, 72000, 115200, 0xc051a49a
-1, 72000, 8064, 0x111d799b
-1, 76800, 8064, 0xc704dc91
-0, 78000, 115200, 0xc68c227b
-1, 81600, 8064, 0xa9f372fb
-0, 84000, 115200, 0x9ba6b521
-1, 86400, 8064, 0xa3f0ad0f
-0, 90000, 115200, 0x09d56ecc
-1, 91200, 8064, 0x958719b9
-0, 96000, 115200, 0xc20e3485
-1, 96000, 8064, 0x9b011bf7
-1, 100800, 8064, 0x466d96fb
-0, 102000, 115200, 0xf07e2c48
-1, 105600, 8064, 0x6ed4eb29
-0, 108000, 115200, 0x551c6da1
-1, 110400, 8064, 0x066966db
-0, 114000, 115200, 0xed65bacd
-1, 115200, 8064, 0xf60fe0bc
-0, 120000, 115200, 0x51a23a3b
-1, 120000, 8064, 0x2c845167
-1, 124800, 8064, 0x7d63894f
-0, 126000, 115200, 0x559ddce1
-1, 129600, 8064, 0x0682ee36
-0, 132000, 115200, 0x1fef6373
-1, 134400, 8064, 0xcaeb7c70
-0, 138000, 115200, 0x11b2dece
-1, 139200, 8064, 0x93948697
-0, 144000, 115200, 0x851b877c
-1, 144000, 8064, 0x5805f0d6
-1, 148800, 8064, 0xcfb641ff
-0, 150000, 115200, 0x5f9a7c99
-1, 153600, 8064, 0xe3499bb1
-0, 156000, 115200, 0x9ffe6153
-1, 158400, 8064, 0x689fe483
-0, 162000, 115200, 0x950b0de8
-1, 163200, 8064, 0x1b8f2f2d
-0, 168000, 115200, 0x6ec4c89a
-1, 168000, 8064, 0x23852e71
-1, 172800, 8064, 0x15e7b298
-0, 174000, 115200, 0xa9234812
-1, 177600, 8064, 0x5345a9a3
-0, 180000, 115200, 0xc834f491
-1, 182400, 8064, 0x257b6ecf
-0, 186000, 115200, 0x2cc1a2aa
-1, 187200, 8064, 0xaf62836c
-0, 192000, 115200, 0x5df53b71
-1, 192000, 8064, 0xc3a401e3
-1, 196800, 8064, 0x2b98fdf1
-0, 198000, 115200, 0xe1d0cb31
-1, 201600, 8064, 0x37168697
-0, 204000, 115200, 0xa0d2f8ab
-1, 206400, 8064, 0x2d876c89
-0, 210000, 115200, 0x9342d739
-1, 211200, 8064, 0xc40a6ada
-0, 216000, 115200, 0x586bc658
-1, 216000, 8064, 0xcca6b829
-1, 220800, 8064, 0x6667550a
-0, 222000, 115200, 0x76902834
-1, 225600, 8064, 0x99c1b5cb
-0, 228000, 115200, 0x91f25616
-1, 230400, 8064, 0xc05d3ed3
-0, 234000, 115200, 0xce8c95fb
-1, 235200, 8064, 0xdd641781
-0, 240000, 115200, 0xdf0d3de6
-1, 240000, 8064, 0xa65d49dc
-1, 244800, 8064, 0x2a0d5df7
-0, 246000, 115200, 0x120db7ae
-1, 249600, 8064, 0xa6348438
-0, 252000, 115200, 0x2143e287
-1, 254400, 8064, 0xf2e1412d
-0, 258000, 115200, 0x2498d3b6
-1, 259200, 8064, 0xc41c6a7a
-0, 264000, 115200, 0x99975ff8
-1, 264000, 8064, 0x147edc3d
-1, 268800, 8064, 0x17e3cfe7
-0, 270000, 115200, 0xbad65f9f
-1, 273600, 8064, 0x01fe3969
-0, 276000, 115200, 0x5066605b
-1, 278400, 8064, 0xc437ac11
-0, 282000, 115200, 0x6f8a61a0
-1, 283200, 8064, 0xbbf747c1
-0, 288000, 115200, 0x80c96143
-1, 288000, 8064, 0x2a4b88c0
-1, 292800, 8064, 0xcd149c80
-0, 294000, 115200, 0x663c6198
-1, 297600, 8064, 0xcf339dfc
-0, 300000, 115200, 0x0354620b
-1, 302400, 8064, 0xc81ff84b
-0, 306000, 115200, 0xfe186346
-1, 307200, 8064, 0x4d978100
-0, 312000, 115200, 0x844962f8
-1, 312000, 8064, 0x6da6665b
-1, 316800, 8064, 0x12fa354f
-0, 318000, 115200, 0x917c672f
-1, 321600, 8064, 0x6baedae6
-0, 324000, 115200, 0x45086647
-1, 326400, 8064, 0xddd77327
-0, 330000, 115200, 0xace06816
-1, 331200, 8064, 0x0a31c118
-0, 336000, 115200, 0x4ef26aa2
-1, 336000, 8064, 0x7652ee6e
-1, 340800, 8064, 0x486a24cc
-0, 342000, 115200, 0xf2046bb3
-1, 345600, 8064, 0xf6cf01ee
-0, 348000, 115200, 0x846b6eb0
-1, 350400, 8064, 0x2a19e830
-0, 354000, 115200, 0x8a17716d
-1, 355200, 8064, 0xde675a31
-0, 360000, 115200, 0x36127568
-1, 360000, 8064, 0xeefcc9af
-1, 364800, 8064, 0xaec4c989
-0, 366000, 115200, 0x3e877b5c
-1, 369600, 8064, 0x16b73de9
-0, 372000, 115200, 0xea5681e8
-1, 374400, 8064, 0x188a582a
-0, 378000, 115200, 0x41bc8a39
-1, 379200, 8064, 0xc092e73d
-0, 384000, 115200, 0x6f839446
-1, 384000, 8064, 0xf7ebca97
-1, 388800, 8064, 0x170ce07a
-0, 390000, 115200, 0xef74a005
-1, 393600, 8064, 0xa0705384
-0, 396000, 115200, 0x4354b2c2
-1, 398400, 8064, 0xd0154a3c
-0, 402000, 115200, 0x4607cf99
-1, 403200, 8064, 0x57c73c6c
-0, 408000, 115200, 0x4c18e8db
-1, 408000, 8064, 0x590c9ddb
-1, 412800, 8064, 0x2cbe552f
-0, 414000, 115200, 0x04d71efb
-1, 417600, 8064, 0x0d286932
-0, 420000, 115200, 0x32f4b9ae
-1, 422400, 8064, 0x5931cea3
-0, 426000, 115200, 0x4dd48d01
-1, 427200, 8064, 0xaf0fb80d
-0, 432000, 115200, 0x5fa9627f
-1, 432000, 8064, 0x7fb61e9b
-1, 436800, 8064, 0xf17134bb
-0, 438000, 115200, 0x7a413f88
-1, 441600, 8064, 0xd647859a
-0, 444000, 115200, 0xf1b7e5b6
-1, 446400, 8064, 0x55a60921
-0, 450000, 115200, 0x3d720e05
-1, 451200, 8064, 0x3811fa58
-0, 456000, 115200, 0x49243fd8
-1, 456000, 8064, 0xaceeccea
-1, 460800, 8064, 0x5fcedf14
-0, 462000, 115200, 0x9834b697
-1, 465600, 8064, 0xd8c64abf
-0, 468000, 115200, 0x4b8bc217
-1, 470400, 8064, 0x79495e8d
-0, 474000, 115200, 0x3eaf5504
-1, 475200, 8064, 0x4b7db039
-0, 480000, 115200, 0x057a3701
-1, 480000, 8064, 0x7152f86d
-1, 484800, 8064, 0xd92cfc1a
-0, 486000, 115200, 0x6e88f21a
-1, 489600, 8064, 0x75c540ef
-0, 492000, 115200, 0x236c5226
-1, 494400, 8064, 0x9c03ef5e
-0, 498000, 115200, 0x92212d84
-1, 499200, 8064, 0x7b2911c8
-0, 504000, 115200, 0xf6b0a4ff
-1, 504000, 8064, 0x69d9d553
-1, 508800, 8064, 0xcb45d7c5
-0, 510000, 115200, 0xb49e9b4e
-1, 513600, 8064, 0x37ec8b0a
-0, 516000, 115200, 0x4a252440
-1, 518400, 8064, 0xe4354221
-0, 522000, 115200, 0x65f3339a
-1, 523200, 8064, 0xc0d91cdb
-0, 528000, 115200, 0x38e40a20
-1, 528000, 8064, 0xea0be175
+#tb 0: 1/15
+#tb 1: 1/37800
+0, 0, 0, 1, 115200, 0x6b106a56
+1, 0, 0, 2016, 8064, 0x02260037
+1, 2016, 2016, 2016, 8064, 0x4ee9f4e9
+0, 1, 1, 1, 115200, 0x53c16930
+1, 4032, 4032, 2016, 8064, 0xf8fd82aa
+0, 2, 2, 1, 115200, 0xe2126f03
+1, 6048, 6048, 2016, 8064, 0xc100792b
+0, 3, 3, 1, 115200, 0xc3c18ba0
+1, 8064, 8064, 2016, 8064, 0xf11a5316
+0, 4, 4, 1, 115200, 0xe281b655
+1, 10080, 10080, 2016, 8064, 0x6937f8c0
+1, 12096, 12096, 2016, 8064, 0xed194e42
+0, 5, 5, 1, 115200, 0x7b1e0536
+1, 14112, 14112, 2016, 8064, 0x619ce54b
+0, 6, 6, 1, 115200, 0xbbd868c5
+1, 16128, 16128, 2016, 8064, 0x544999ec
+0, 7, 7, 1, 115200, 0xfc67bf8e
+1, 18144, 18144, 2016, 8064, 0x0ea877b4
+0, 8, 8, 1, 115200, 0xb463151c
+1, 20160, 20160, 2016, 8064, 0xb764d1c0
+1, 22176, 22176, 2016, 8064, 0x7a2fd211
+0, 9, 9, 1, 115200, 0x6e686846
+1, 24192, 24192, 2016, 8064, 0xff69f6c5
+0, 10, 10, 1, 115200, 0xca36b835
+1, 26208, 26208, 2016, 8064, 0x26c11ec7
+0, 11, 11, 1, 115200, 0x17b91efc
+1, 28224, 28224, 2016, 8064, 0xfb4ecc0c
+0, 12, 12, 1, 115200, 0xc051a49a
+1, 30240, 30240, 2016, 8064, 0x111d799b
+1, 32256, 32256, 2016, 8064, 0xc704dc91
+0, 13, 13, 1, 115200, 0xc68c227b
+1, 34272, 34272, 2016, 8064, 0xa9f372fb
+0, 14, 14, 1, 115200, 0x9ba6b521
+1, 36288, 36288, 2016, 8064, 0xa3f0ad0f
+0, 15, 15, 1, 115200, 0x09d56ecc
+1, 38304, 38304, 2016, 8064, 0x958719b9
+0, 16, 16, 1, 115200, 0xc20e3485
+1, 40320, 40320, 2016, 8064, 0x9b011bf7
+1, 42336, 42336, 2016, 8064, 0x466d96fb
+0, 17, 17, 1, 115200, 0xf07e2c48
+1, 44352, 44352, 2016, 8064, 0x6ed4eb29
+0, 18, 18, 1, 115200, 0x551c6da1
+1, 46368, 46368, 2016, 8064, 0x066966db
+0, 19, 19, 1, 115200, 0xed65bacd
+1, 48384, 48384, 2016, 8064, 0xf60fe0bc
+0, 20, 20, 1, 115200, 0x51a23a3b
+1, 50400, 50400, 2016, 8064, 0x2c845167
+1, 52416, 52416, 2016, 8064, 0x7d63894f
+0, 21, 21, 1, 115200, 0x559ddce1
+1, 54432, 54432, 2016, 8064, 0x0682ee36
+0, 22, 22, 1, 115200, 0x1fef6373
+1, 56448, 56448, 2016, 8064, 0xcaeb7c70
+0, 23, 23, 1, 115200, 0x11b2dece
+1, 58464, 58464, 2016, 8064, 0x93948697
+0, 24, 24, 1, 115200, 0x851b877c
+1, 60480, 60480, 2016, 8064, 0x5805f0d6
+1, 62496, 62496, 2016, 8064, 0xcfb641ff
+0, 25, 25, 1, 115200, 0x5f9a7c99
+1, 64512, 64512, 2016, 8064, 0xe3499bb1
+0, 26, 26, 1, 115200, 0x9ffe6153
+1, 66528, 66528, 2016, 8064, 0x689fe483
+0, 27, 27, 1, 115200, 0x950b0de8
+1, 68544, 68544, 2016, 8064, 0x1b8f2f2d
+0, 28, 28, 1, 115200, 0x6ec4c89a
+1, 70560, 70560, 2016, 8064, 0x23852e71
+1, 72576, 72576, 2016, 8064, 0x15e7b298
+0, 29, 29, 1, 115200, 0xa9234812
+1, 74592, 74592, 2016, 8064, 0x5345a9a3
+0, 30, 30, 1, 115200, 0xc834f491
+1, 76608, 76608, 2016, 8064, 0x257b6ecf
+0, 31, 31, 1, 115200, 0x2cc1a2aa
+1, 78624, 78624, 2016, 8064, 0xaf62836c
+0, 32, 32, 1, 115200, 0x5df53b71
+1, 80640, 80640, 2016, 8064, 0xc3a401e3
+1, 82656, 82656, 2016, 8064, 0x2b98fdf1
+0, 33, 33, 1, 115200, 0xe1d0cb31
+1, 84672, 84672, 2016, 8064, 0x37168697
+0, 34, 34, 1, 115200, 0xa0d2f8ab
+1, 86688, 86688, 2016, 8064, 0x2d876c89
+0, 35, 35, 1, 115200, 0x9342d739
+1, 88704, 88704, 2016, 8064, 0xc40a6ada
+0, 36, 36, 1, 115200, 0x586bc658
+1, 90720, 90720, 2016, 8064, 0xcca6b829
+1, 92736, 92736, 2016, 8064, 0x6667550a
+0, 37, 37, 1, 115200, 0x76902834
+1, 94752, 94752, 2016, 8064, 0x99c1b5cb
+0, 38, 38, 1, 115200, 0x91f25616
+1, 96768, 96768, 2016, 8064, 0xc05d3ed3
+0, 39, 39, 1, 115200, 0xce8c95fb
+1, 98784, 98784, 2016, 8064, 0xdd641781
+0, 40, 40, 1, 115200, 0xdf0d3de6
+1, 100800, 100800, 2016, 8064, 0xa65d49dc
+1, 102816, 102816, 2016, 8064, 0x2a0d5df7
+0, 41, 41, 1, 115200, 0x120db7ae
+1, 104832, 104832, 2016, 8064, 0xa6348438
+0, 42, 42, 1, 115200, 0x2143e287
+1, 106848, 106848, 2016, 8064, 0xf2e1412d
+0, 43, 43, 1, 115200, 0x2498d3b6
+1, 108864, 108864, 2016, 8064, 0xc41c6a7a
+0, 44, 44, 1, 115200, 0x99975ff8
+1, 110880, 110880, 2016, 8064, 0x147edc3d
+1, 112896, 112896, 2016, 8064, 0x17e3cfe7
+0, 45, 45, 1, 115200, 0xbad65f9f
+1, 114912, 114912, 2016, 8064, 0x01fe3969
+0, 46, 46, 1, 115200, 0x5066605b
+1, 116928, 116928, 2016, 8064, 0xc437ac11
+0, 47, 47, 1, 115200, 0x6f8a61a0
+1, 118944, 118944, 2016, 8064, 0xbbf747c1
+0, 48, 48, 1, 115200, 0x80c96143
+1, 120960, 120960, 2016, 8064, 0x2a4b88c0
+1, 122976, 122976, 2016, 8064, 0xcd149c80
+0, 49, 49, 1, 115200, 0x663c6198
+1, 124992, 124992, 2016, 8064, 0xcf339dfc
+0, 50, 50, 1, 115200, 0x0354620b
+1, 127008, 127008, 2016, 8064, 0xc81ff84b
+0, 51, 51, 1, 115200, 0xfe186346
+1, 129024, 129024, 2016, 8064, 0x4d978100
+0, 52, 52, 1, 115200, 0x844962f8
+1, 131040, 131040, 2016, 8064, 0x6da6665b
+1, 133056, 133056, 2016, 8064, 0x12fa354f
+0, 53, 53, 1, 115200, 0x917c672f
+1, 135072, 135072, 2016, 8064, 0x6baedae6
+0, 54, 54, 1, 115200, 0x45086647
+1, 137088, 137088, 2016, 8064, 0xddd77327
+0, 55, 55, 1, 115200, 0xace06816
+1, 139104, 139104, 2016, 8064, 0x0a31c118
+0, 56, 56, 1, 115200, 0x4ef26aa2
+1, 141120, 141120, 2016, 8064, 0x7652ee6e
+1, 143136, 143136, 2016, 8064, 0x486a24cc
+0, 57, 57, 1, 115200, 0xf2046bb3
+1, 145152, 145152, 2016, 8064, 0xf6cf01ee
+0, 58, 58, 1, 115200, 0x846b6eb0
+1, 147168, 147168, 2016, 8064, 0x2a19e830
+0, 59, 59, 1, 115200, 0x8a17716d
+1, 149184, 149184, 2016, 8064, 0xde675a31
+0, 60, 60, 1, 115200, 0x36127568
+1, 151200, 151200, 2016, 8064, 0xeefcc9af
+1, 153216, 153216, 2016, 8064, 0xaec4c989
+0, 61, 61, 1, 115200, 0x3e877b5c
+1, 155232, 155232, 2016, 8064, 0x16b73de9
+0, 62, 62, 1, 115200, 0xea5681e8
+1, 157248, 157248, 2016, 8064, 0x188a582a
+0, 63, 63, 1, 115200, 0x41bc8a39
+1, 159264, 159264, 2016, 8064, 0xc092e73d
+0, 64, 64, 1, 115200, 0x6f839446
+1, 161280, 161280, 2016, 8064, 0xf7ebca97
+1, 163296, 163296, 2016, 8064, 0x170ce07a
+0, 65, 65, 1, 115200, 0xef74a005
+1, 165312, 165312, 2016, 8064, 0xa0705384
+0, 66, 66, 1, 115200, 0x4354b2c2
+1, 167328, 167328, 2016, 8064, 0xd0154a3c
+0, 67, 67, 1, 115200, 0x4607cf99
+1, 169344, 169344, 2016, 8064, 0x57c73c6c
+0, 68, 68, 1, 115200, 0x4c18e8db
+1, 171360, 171360, 2016, 8064, 0x590c9ddb
+1, 173376, 173376, 2016, 8064, 0x2cbe552f
+0, 69, 69, 1, 115200, 0x04d71efb
+1, 175392, 175392, 2016, 8064, 0x0d286932
+0, 70, 70, 1, 115200, 0x32f4b9ae
+1, 177408, 177408, 2016, 8064, 0x5931cea3
+0, 71, 71, 1, 115200, 0x4dd48d01
+1, 179424, 179424, 2016, 8064, 0xaf0fb80d
+0, 72, 72, 1, 115200, 0x5fa9627f
+1, 181440, 181440, 2016, 8064, 0x7fb61e9b
+1, 183456, 183456, 2016, 8064, 0xf17134bb
+0, 73, 73, 1, 115200, 0x7a413f88
+1, 185472, 185472, 2016, 8064, 0xd647859a
+0, 74, 74, 1, 115200, 0xf1b7e5b6
+1, 187488, 187488, 2016, 8064, 0x55a60921
+0, 75, 75, 1, 115200, 0x3d720e05
+1, 189504, 189504, 2016, 8064, 0x3811fa58
+0, 76, 76, 1, 115200, 0x49243fd8
+1, 191520, 191520, 2016, 8064, 0xaceeccea
+1, 193536, 193536, 2016, 8064, 0x5fcedf14
+0, 77, 77, 1, 115200, 0x9834b697
+1, 195552, 195552, 2016, 8064, 0xd8c64abf
+0, 78, 78, 1, 115200, 0x4b8bc217
+1, 197568, 197568, 2016, 8064, 0x79495e8d
+0, 79, 79, 1, 115200, 0x3eaf5504
+1, 199584, 199584, 2016, 8064, 0x4b7db039
+0, 80, 80, 1, 115200, 0x057a3701
+1, 201600, 201600, 2016, 8064, 0x7152f86d
+1, 203616, 203616, 2016, 8064, 0xd92cfc1a
+0, 81, 81, 1, 115200, 0x6e88f21a
+1, 205632, 205632, 2016, 8064, 0x75c540ef
+0, 82, 82, 1, 115200, 0x236c5226
+1, 207648, 207648, 2016, 8064, 0x9c03ef5e
+0, 83, 83, 1, 115200, 0x92212d84
+1, 209664, 209664, 2016, 8064, 0x7b2911c8
+0, 84, 84, 1, 115200, 0xf6b0a4ff
+1, 211680, 211680, 2016, 8064, 0x69d9d553
+1, 213696, 213696, 2016, 8064, 0xcb45d7c5
+0, 85, 85, 1, 115200, 0xb49e9b4e
+1, 215712, 215712, 2016, 8064, 0x37ec8b0a
+0, 86, 86, 1, 115200, 0x4a252440
+1, 217728, 217728, 2016, 8064, 0xe4354221
+0, 87, 87, 1, 115200, 0x65f3339a
+1, 219744, 219744, 2016, 8064, 0xc0d91cdb
+0, 88, 88, 1, 115200, 0x38e40a20
+1, 221760, 221760, 2016, 8064, 0xea0be175
diff --git a/tests/ref/fate/psx-str-v3-mdec b/tests/ref/fate/psx-str-v3-mdec
index 52a3835d2a..7e4bbdb13d 100644
--- a/tests/ref/fate/psx-str-v3-mdec
+++ b/tests/ref/fate/psx-str-v3-mdec
@@ -1,59 +1,60 @@
-0, 0, 76800, 0x2677be82
-0, 6000, 76800, 0x1f323c75
-0, 12000, 76800, 0xc8be3be9
-0, 18000, 76800, 0x1f323c75
-0, 24000, 76800, 0x7e484488
-0, 30000, 76800, 0x8bd644aa
-0, 36000, 76800, 0xaa62e7b8
-0, 42000, 76800, 0xaa62e7b8
-0, 48000, 76800, 0x53fadb39
-0, 54000, 76800, 0x53fadb39
-0, 60000, 76800, 0x1ff9d964
-0, 66000, 76800, 0x1ff9d964
-0, 72000, 76800, 0xd8c8d947
-0, 78000, 76800, 0xd8c8d947
-0, 84000, 76800, 0x6d0bd94c
-0, 90000, 76800, 0x6d0bd94c
-0, 96000, 76800, 0x7e66d948
-0, 102000, 76800, 0x7e66d948
-0, 108000, 76800, 0x8eecfd72
-0, 114000, 76800, 0xb15f29ab
-0, 120000, 76800, 0x08e5502e
-0, 126000, 76800, 0xaa58796d
-0, 132000, 76800, 0xe254a27c
-0, 138000, 76800, 0xeec8cf68
-0, 144000, 76800, 0x812bf8ee
-0, 150000, 76800, 0x929922ef
-0, 156000, 76800, 0xe1174e06
-0, 162000, 76800, 0x2da77bf1
-0, 168000, 76800, 0xd0f6a727
-0, 174000, 76800, 0x31bfd168
-0, 180000, 76800, 0xb87af225
-0, 186000, 76800, 0xd0080859
-0, 192000, 76800, 0x99ab15ba
-0, 198000, 76800, 0x99ab15ba
-0, 204000, 76800, 0x99ab15ba
-0, 210000, 76800, 0x99ab15ba
-0, 216000, 76800, 0x99ab15ba
-0, 222000, 76800, 0x99ab15ba
-0, 228000, 76800, 0x99ab15ba
-0, 234000, 76800, 0x99ab15ba
-0, 240000, 76800, 0x99ab15ba
-0, 246000, 76800, 0x99ab15ba
-0, 252000, 76800, 0x99ab15ba
-0, 258000, 76800, 0x99ab15ba
-0, 264000, 76800, 0x99ab15ba
-0, 270000, 76800, 0x99ab15ba
-0, 276000, 76800, 0x99ab15ba
-0, 282000, 76800, 0x99ab15ba
-0, 288000, 76800, 0x0c1617d5
-0, 294000, 76800, 0xb1c81b5d
-0, 300000, 76800, 0xb4e41e44
-0, 306000, 76800, 0x765725e2
-0, 312000, 76800, 0x25cd3109
-0, 318000, 76800, 0xa42b5291
-0, 324000, 76800, 0x15bb6ee4
-0, 330000, 76800, 0xb33c9f50
-0, 336000, 76800, 0x1ca1b874
-0, 342000, 76800, 0x7506e92a
-0, 348000, 76800, 0x97c9030a
+#tb 0: 1/15
+0, 0, 0, 1, 76800, 0x2677be82
+0, 1, 1, 1, 76800, 0x1f323c75
+0, 2, 2, 1, 76800, 0xc8be3be9
+0, 3, 3, 1, 76800, 0x1f323c75
+0, 4, 4, 1, 76800, 0x7e484488
+0, 5, 5, 1, 76800, 0x8bd644aa
+0, 6, 6, 1, 76800, 0xaa62e7b8
+0, 7, 7, 1, 76800, 0xaa62e7b8
+0, 8, 8, 1, 76800, 0x53fadb39
+0, 9, 9, 1, 76800, 0x53fadb39
+0, 10, 10, 1, 76800, 0x1ff9d964
+0, 11, 11, 1, 76800, 0x1ff9d964
+0, 12, 12, 1, 76800, 0xd8c8d947
+0, 13, 13, 1, 76800, 0xd8c8d947
+0, 14, 14, 1, 76800, 0x6d0bd94c
+0, 15, 15, 1, 76800, 0x6d0bd94c
+0, 16, 16, 1, 76800, 0x7e66d948
+0, 17, 17, 1, 76800, 0x7e66d948
+0, 18, 18, 1, 76800, 0x8eecfd72
+0, 19, 19, 1, 76800, 0xb15f29ab
+0, 20, 20, 1, 76800, 0x08e5502e
+0, 21, 21, 1, 76800, 0xaa58796d
+0, 22, 22, 1, 76800, 0xe254a27c
+0, 23, 23, 1, 76800, 0xeec8cf68
+0, 24, 24, 1, 76800, 0x812bf8ee
+0, 25, 25, 1, 76800, 0x929922ef
+0, 26, 26, 1, 76800, 0xe1174e06
+0, 27, 27, 1, 76800, 0x2da77bf1
+0, 28, 28, 1, 76800, 0xd0f6a727
+0, 29, 29, 1, 76800, 0x31bfd168
+0, 30, 30, 1, 76800, 0xb87af225
+0, 31, 31, 1, 76800, 0xd0080859
+0, 32, 32, 1, 76800, 0x99ab15ba
+0, 33, 33, 1, 76800, 0x99ab15ba
+0, 34, 34, 1, 76800, 0x99ab15ba
+0, 35, 35, 1, 76800, 0x99ab15ba
+0, 36, 36, 1, 76800, 0x99ab15ba
+0, 37, 37, 1, 76800, 0x99ab15ba
+0, 38, 38, 1, 76800, 0x99ab15ba
+0, 39, 39, 1, 76800, 0x99ab15ba
+0, 40, 40, 1, 76800, 0x99ab15ba
+0, 41, 41, 1, 76800, 0x99ab15ba
+0, 42, 42, 1, 76800, 0x99ab15ba
+0, 43, 43, 1, 76800, 0x99ab15ba
+0, 44, 44, 1, 76800, 0x99ab15ba
+0, 45, 45, 1, 76800, 0x99ab15ba
+0, 46, 46, 1, 76800, 0x99ab15ba
+0, 47, 47, 1, 76800, 0x99ab15ba
+0, 48, 48, 1, 76800, 0x0c1617d5
+0, 49, 49, 1, 76800, 0xb1c81b5d
+0, 50, 50, 1, 76800, 0xb4e41e44
+0, 51, 51, 1, 76800, 0x765725e2
+0, 52, 52, 1, 76800, 0x25cd3109
+0, 53, 53, 1, 76800, 0xa42b5291
+0, 54, 54, 1, 76800, 0x15bb6ee4
+0, 55, 55, 1, 76800, 0xb33c9f50
+0, 56, 56, 1, 76800, 0x1ca1b874
+0, 57, 57, 1, 76800, 0x7506e92a
+0, 58, 58, 1, 76800, 0x97c9030a
diff --git a/tests/ref/fate/ptx b/tests/ref/fate/ptx
index e1688bb3c4..fad2a500fe 100644
--- a/tests/ref/fate/ptx
+++ b/tests/ref/fate/ptx
@@ -1 +1,2 @@
-0, 0, 393216, 0xda280efc
+#tb 0: 1/25
+0, 0, 0, 1, 393216, 0xda280efc
diff --git a/tests/ref/fate/pva-demux b/tests/ref/fate/pva-demux
index 511f652219..5227b5b851 100644
--- a/tests/ref/fate/pva-demux
+++ b/tests/ref/fate/pva-demux
@@ -1,25 +1,27 @@
-1, 0, 384, 0x071abcc8
-1, 0, 384, 0x31c9aee0
-1, 2160, 384, 0xa50eaa94
-1, 4320, 384, 0x9e86ba0e
-1, 8640, 384, 0x2321b800
-1, 10800, 384, 0x2347afa8
-1, 12960, 384, 0x0831b8d3
-1, 15120, 384, 0xd5acafa1
-1, 17280, 384, 0xc975b9d2
-1, 19440, 384, 0x2e10b02a
-1, 21600, 384, 0x501eadd0
-1, 23760, 384, 0x153fc171
-1, 25920, 384, 0xc5f0b3c2
-1, 28080, 384, 0xf731b200
-1, 30240, 384, 0x2e16b713
-1, 32400, 384, 0x61f6bba9
-1, 34560, 384, 0x1b9eb0ff
-1, 36720, 384, 0x2ab4b7bd
-1, 38880, 384, 0xd66eb45c
-1, 41040, 384, 0x145ab426
-1, 43200, 384, 0x297cb370
-1, 45360, 384, 0x287bb6b7
-1, 47520, 384, 0xfddbb7df
-1, 49680, 384, 0xbbb2af0c
-1, 51840, 384, 0x8f03b5fc
+#tb 0: 1/25
+#tb 1: 1/90000
+1, 0, 0, 2160, 384, 0x071abcc8
+1, 0, 0, 2160, 384, 0x31c9aee0
+1, 2160, 2160, 2160, 384, 0xa50eaa94
+1, 4320, 4320, 2160, 384, 0x9e86ba0e
+1, 8640, 8640, 2160, 384, 0x2321b800
+1, 10800, 10800, 2160, 384, 0x2347afa8
+1, 12960, 12960, 2160, 384, 0x0831b8d3
+1, 15120, 15120, 2160, 384, 0xd5acafa1
+1, 17280, 17280, 2160, 384, 0xc975b9d2
+1, 19440, 19440, 2160, 384, 0x2e10b02a
+1, 21600, 21600, 2160, 384, 0x501eadd0
+1, 23760, 23760, 2160, 384, 0x153fc171
+1, 25920, 25920, 2160, 384, 0xc5f0b3c2
+1, 28080, 28080, 2160, 384, 0xf731b200
+1, 30240, 30240, 2160, 384, 0x2e16b713
+1, 32400, 32400, 2160, 384, 0x61f6bba9
+1, 34560, 34560, 2160, 384, 0x1b9eb0ff
+1, 36720, 36720, 2160, 384, 0x2ab4b7bd
+1, 38880, 38880, 2160, 384, 0xd66eb45c
+1, 41040, 41040, 2160, 384, 0x145ab426
+1, 43200, 43200, 2160, 384, 0x297cb370
+1, 45360, 45360, 2160, 384, 0x287bb6b7
+1, 47520, 47520, 2160, 384, 0xfddbb7df
+1, 49680, 49680, 2160, 384, 0xbbb2af0c
+1, 51840, 51840, 2160, 384, 0x8f03b5fc
diff --git a/tests/ref/fate/qpeg b/tests/ref/fate/qpeg
index b7d698c009..eca2924af7 100644
--- a/tests/ref/fate/qpeg
+++ b/tests/ref/fate/qpeg
@@ -1,100 +1,101 @@
-0, 0, 230400, 0x0b712fba
-0, 3600, 230400, 0x30252ac7
-0, 7200, 230400, 0x6d98a787
-0, 10800, 230400, 0x5d1f6ce7
-0, 14400, 230400, 0xccb79136
-0, 18000, 230400, 0x394093e1
-0, 21600, 230400, 0x3e76c5e9
-0, 25200, 230400, 0xd6cdc8f1
-0, 28800, 230400, 0xd355371d
-0, 32400, 230400, 0x2c1519ca
-0, 36000, 230400, 0xd82427e1
-0, 39600, 230400, 0x4202e3b4
-0, 43200, 230400, 0x27c15cda
-0, 46800, 230400, 0x3fd7d5db
-0, 50400, 230400, 0x03838791
-0, 54000, 230400, 0x8253d774
-0, 57600, 230400, 0x833e9c9f
-0, 61200, 230400, 0xe30aba05
-0, 64800, 230400, 0x81056b68
-0, 68400, 230400, 0xe6454d37
-0, 72000, 230400, 0x6bb65f77
-0, 75600, 230400, 0x95b652eb
-0, 79200, 230400, 0x4f585a73
-0, 82800, 230400, 0x9bc2c9d8
-0, 86400, 230400, 0x09f00930
-0, 90000, 230400, 0x6be9d11a
-0, 93600, 230400, 0x5cdd4ea5
-0, 97200, 230400, 0x77508d67
-0, 100800, 230400, 0x76b21fdd
-0, 104400, 230400, 0x39e2dddb
-0, 108000, 230400, 0x8b16d389
-0, 111600, 230400, 0xb2b329fb
-0, 115200, 230400, 0x8e998c17
-0, 118800, 230400, 0x3852049f
-0, 122400, 230400, 0x5a7f6302
-0, 126000, 230400, 0xdd7d9d86
-0, 129600, 230400, 0x337298bd
-0, 133200, 230400, 0x2fa38668
-0, 136800, 230400, 0xfc42afcd
-0, 140400, 230400, 0x20ff7b1d
-0, 144000, 230400, 0xa9190f28
-0, 147600, 230400, 0x2ca26827
-0, 151200, 230400, 0x1106bd55
-0, 154800, 230400, 0xb965748e
-0, 158400, 230400, 0x2c2d2691
-0, 162000, 230400, 0x8096db4d
-0, 165600, 230400, 0x7b223871
-0, 169200, 230400, 0xf9edbca9
-0, 172800, 230400, 0x0e607f74
-0, 176400, 230400, 0x3e64ed79
-0, 180000, 230400, 0x2198f77a
-0, 183600, 230400, 0x3cf4925a
-0, 187200, 230400, 0x2de0ebdb
-0, 190800, 230400, 0x5104c55f
-0, 194400, 230400, 0xebd7f8f7
-0, 198000, 230400, 0xfce8a2ae
-0, 201600, 230400, 0xeb073121
-0, 205200, 230400, 0x8f2ed47d
-0, 208800, 230400, 0xdcb72934
-0, 212400, 230400, 0xf69e75a1
-0, 216000, 230400, 0xc45ab599
-0, 219600, 230400, 0x0d218766
-0, 223200, 230400, 0x4a6aafce
-0, 226800, 230400, 0x642153ca
-0, 230400, 230400, 0x8bd7a2a4
-0, 234000, 230400, 0x04abeeed
-0, 237600, 230400, 0x37bf9f2c
-0, 241200, 230400, 0x1d966ae5
-0, 244800, 230400, 0x3a2ef337
-0, 248400, 230400, 0x9edaf34f
-0, 252000, 230400, 0x7f3c0ff8
-0, 255600, 230400, 0x403cbdee
-0, 259200, 230400, 0x86b340e8
-0, 262800, 230400, 0x5a57c916
-0, 266400, 230400, 0x35763ab3
-0, 270000, 230400, 0xd135a1ba
-0, 273600, 230400, 0x56a7b1db
-0, 277200, 230400, 0x6e8d2910
-0, 280800, 230400, 0xc8d9c4e1
-0, 284400, 230400, 0xb61fd11f
-0, 288000, 230400, 0x8949b165
-0, 291600, 230400, 0x60082f69
-0, 295200, 230400, 0xf9c74a14
-0, 298800, 230400, 0x1f0af3f4
-0, 302400, 230400, 0x1abe4a3b
-0, 306000, 230400, 0xdf762ffb
-0, 309600, 230400, 0x38513b73
-0, 313200, 230400, 0xf3b01fcf
-0, 316800, 230400, 0xea7d486c
-0, 320400, 230400, 0xfabc7a89
-0, 324000, 230400, 0xc72f6977
-0, 327600, 230400, 0x1c9e4590
-0, 331200, 230400, 0x51abf71e
-0, 334800, 230400, 0x39c9d819
-0, 338400, 230400, 0xfc62d8e0
-0, 342000, 230400, 0x40bb8c0d
-0, 345600, 230400, 0xa0bd86d2
-0, 349200, 230400, 0x610dfe19
-0, 352800, 230400, 0x997e1572
-0, 356400, 230400, 0x49919319
+#tb 0: 1/25
+0, 0, 0, 1, 230400, 0x0b712fba
+0, 1, 1, 1, 230400, 0x30252ac7
+0, 2, 2, 1, 230400, 0x6d98a787
+0, 3, 3, 1, 230400, 0x5d1f6ce7
+0, 4, 4, 1, 230400, 0xccb79136
+0, 5, 5, 1, 230400, 0x394093e1
+0, 6, 6, 1, 230400, 0x3e76c5e9
+0, 7, 7, 1, 230400, 0xd6cdc8f1
+0, 8, 8, 1, 230400, 0xd355371d
+0, 9, 9, 1, 230400, 0x2c1519ca
+0, 10, 10, 1, 230400, 0xd82427e1
+0, 11, 11, 1, 230400, 0x4202e3b4
+0, 12, 12, 1, 230400, 0x27c15cda
+0, 13, 13, 1, 230400, 0x3fd7d5db
+0, 14, 14, 1, 230400, 0x03838791
+0, 15, 15, 1, 230400, 0x8253d774
+0, 16, 16, 1, 230400, 0x833e9c9f
+0, 17, 17, 1, 230400, 0xe30aba05
+0, 18, 18, 1, 230400, 0x81056b68
+0, 19, 19, 1, 230400, 0xe6454d37
+0, 20, 20, 1, 230400, 0x6bb65f77
+0, 21, 21, 1, 230400, 0x95b652eb
+0, 22, 22, 1, 230400, 0x4f585a73
+0, 23, 23, 1, 230400, 0x9bc2c9d8
+0, 24, 24, 1, 230400, 0x09f00930
+0, 25, 25, 1, 230400, 0x6be9d11a
+0, 26, 26, 1, 230400, 0x5cdd4ea5
+0, 27, 27, 1, 230400, 0x77508d67
+0, 28, 28, 1, 230400, 0x76b21fdd
+0, 29, 29, 1, 230400, 0x39e2dddb
+0, 30, 30, 1, 230400, 0x8b16d389
+0, 31, 31, 1, 230400, 0xb2b329fb
+0, 32, 32, 1, 230400, 0x8e998c17
+0, 33, 33, 1, 230400, 0x3852049f
+0, 34, 34, 1, 230400, 0x5a7f6302
+0, 35, 35, 1, 230400, 0xdd7d9d86
+0, 36, 36, 1, 230400, 0x337298bd
+0, 37, 37, 1, 230400, 0x2fa38668
+0, 38, 38, 1, 230400, 0xfc42afcd
+0, 39, 39, 1, 230400, 0x20ff7b1d
+0, 40, 40, 1, 230400, 0xa9190f28
+0, 41, 41, 1, 230400, 0x2ca26827
+0, 42, 42, 1, 230400, 0x1106bd55
+0, 43, 43, 1, 230400, 0xb965748e
+0, 44, 44, 1, 230400, 0x2c2d2691
+0, 45, 45, 1, 230400, 0x8096db4d
+0, 46, 46, 1, 230400, 0x7b223871
+0, 47, 47, 1, 230400, 0xf9edbca9
+0, 48, 48, 1, 230400, 0x0e607f74
+0, 49, 49, 1, 230400, 0x3e64ed79
+0, 50, 50, 1, 230400, 0x2198f77a
+0, 51, 51, 1, 230400, 0x3cf4925a
+0, 52, 52, 1, 230400, 0x2de0ebdb
+0, 53, 53, 1, 230400, 0x5104c55f
+0, 54, 54, 1, 230400, 0xebd7f8f7
+0, 55, 55, 1, 230400, 0xfce8a2ae
+0, 56, 56, 1, 230400, 0xeb073121
+0, 57, 57, 1, 230400, 0x8f2ed47d
+0, 58, 58, 1, 230400, 0xdcb72934
+0, 59, 59, 1, 230400, 0xf69e75a1
+0, 60, 60, 1, 230400, 0xc45ab599
+0, 61, 61, 1, 230400, 0x0d218766
+0, 62, 62, 1, 230400, 0x4a6aafce
+0, 63, 63, 1, 230400, 0x642153ca
+0, 64, 64, 1, 230400, 0x8bd7a2a4
+0, 65, 65, 1, 230400, 0x04abeeed
+0, 66, 66, 1, 230400, 0x37bf9f2c
+0, 67, 67, 1, 230400, 0x1d966ae5
+0, 68, 68, 1, 230400, 0x3a2ef337
+0, 69, 69, 1, 230400, 0x9edaf34f
+0, 70, 70, 1, 230400, 0x7f3c0ff8
+0, 71, 71, 1, 230400, 0x403cbdee
+0, 72, 72, 1, 230400, 0x86b340e8
+0, 73, 73, 1, 230400, 0x5a57c916
+0, 74, 74, 1, 230400, 0x35763ab3
+0, 75, 75, 1, 230400, 0xd135a1ba
+0, 76, 76, 1, 230400, 0x56a7b1db
+0, 77, 77, 1, 230400, 0x6e8d2910
+0, 78, 78, 1, 230400, 0xc8d9c4e1
+0, 79, 79, 1, 230400, 0xb61fd11f
+0, 80, 80, 1, 230400, 0x8949b165
+0, 81, 81, 1, 230400, 0x60082f69
+0, 82, 82, 1, 230400, 0xf9c74a14
+0, 83, 83, 1, 230400, 0x1f0af3f4
+0, 84, 84, 1, 230400, 0x1abe4a3b
+0, 85, 85, 1, 230400, 0xdf762ffb
+0, 86, 86, 1, 230400, 0x38513b73
+0, 87, 87, 1, 230400, 0xf3b01fcf
+0, 88, 88, 1, 230400, 0xea7d486c
+0, 89, 89, 1, 230400, 0xfabc7a89
+0, 90, 90, 1, 230400, 0xc72f6977
+0, 91, 91, 1, 230400, 0x1c9e4590
+0, 92, 92, 1, 230400, 0x51abf71e
+0, 93, 93, 1, 230400, 0x39c9d819
+0, 94, 94, 1, 230400, 0xfc62d8e0
+0, 95, 95, 1, 230400, 0x40bb8c0d
+0, 96, 96, 1, 230400, 0xa0bd86d2
+0, 97, 97, 1, 230400, 0x610dfe19
+0, 98, 98, 1, 230400, 0x997e1572
+0, 99, 99, 1, 230400, 0x49919319
diff --git a/tests/ref/fate/qtrle-16bit b/tests/ref/fate/qtrle-16bit
index 2f0ca48551..b60ce522df 100644
--- a/tests/ref/fate/qtrle-16bit
+++ b/tests/ref/fate/qtrle-16bit
@@ -1,83 +1,84 @@
-0, 0, 57600, 0xe6b0a48c
-0, 6000, 57600, 0xe064d51c
-0, 12000, 57600, 0xbfce6b33
-0, 18000, 57600, 0x371bab02
-0, 24000, 57600, 0x0d2d7456
-0, 30000, 57600, 0x9184eecb
-0, 36000, 57600, 0xb482e8db
-0, 42000, 57600, 0x0f4cd4be
-0, 48000, 57600, 0xe276cccb
-0, 54000, 57600, 0x04c21c62
-0, 60000, 57600, 0x848960a2
-0, 66000, 57600, 0xc4c8cf03
-0, 72000, 57600, 0xb4094866
-0, 78000, 57600, 0xf22da043
-0, 84000, 57600, 0x6517b67b
-0, 90000, 57600, 0x23e39ccb
-0, 96000, 57600, 0x41525ca3
-0, 102000, 57600, 0xc3edc5f3
-0, 108000, 57600, 0x8ce81c7e
-0, 114000, 57600, 0x56829443
-0, 120000, 57600, 0x511ce287
-0, 126000, 57600, 0x8f029a5b
-0, 132000, 57600, 0x2b47cf43
-0, 138000, 57600, 0x8e7ecf4b
-0, 144000, 57600, 0xd620317e
-0, 150000, 57600, 0x5987646e
-0, 156000, 57600, 0xcfedb7df
-0, 162000, 57600, 0x33746e7b
-0, 168000, 57600, 0x1d318573
-0, 174000, 57600, 0xc851848b
-0, 180000, 57600, 0x939db1d7
-0, 186000, 57600, 0x1719aed3
-0, 192000, 57600, 0x1ba3e18c
-0, 198000, 57600, 0x04f355fb
-0, 204000, 57600, 0x6fafd5f4
-0, 210000, 57600, 0x434f800b
-0, 216000, 57600, 0xed42179b
-0, 222000, 57600, 0x3b33118b
-0, 228000, 57600, 0xf81880cb
-0, 234000, 57600, 0xd2c58e1b
-0, 240000, 57600, 0xd96f50eb
-0, 246000, 57600, 0x64ef63fb
-0, 252000, 57600, 0x7b14b6fc
-0, 258000, 57600, 0xeb1c9054
-0, 264000, 57600, 0x3b30c97c
-0, 270000, 57600, 0xc93e9484
-0, 276000, 57600, 0xe012c0cc
-0, 282000, 57600, 0x48e2dda4
-0, 288000, 57600, 0x13eb55fb
-0, 294000, 57600, 0xa5edbedc
-0, 300000, 57600, 0x0123a484
-0, 306000, 57600, 0xc624a7ac
-0, 312000, 57600, 0xd83cf45c
-0, 318000, 57600, 0x8f9bf4b4
-0, 324000, 57600, 0x2d494b8c
-0, 330000, 57600, 0xb246f07c
-0, 336000, 57600, 0x5750e67c
-0, 342000, 57600, 0x6643e9ac
-0, 348000, 57600, 0x8d3b86b3
-0, 354000, 57600, 0x4bb0546b
-0, 360000, 57600, 0xfe439333
-0, 366000, 57600, 0x0cc76233
-0, 372000, 57600, 0xb6fe40ae
-0, 378000, 57600, 0xf79fe0d7
-0, 384000, 57600, 0xdc90dcbb
-0, 390000, 57600, 0x371e7c2b
-0, 396000, 57600, 0x7c4590bb
-0, 402000, 57600, 0x66f5454b
-0, 408000, 57600, 0x1678ae5b
-0, 414000, 57600, 0x1ee8fdec
-0, 420000, 57600, 0x98d2a083
-0, 426000, 57600, 0x86d29e5b
-0, 432000, 57600, 0x23d2bc83
-0, 438000, 57600, 0x3fc729f2
-0, 444000, 57600, 0x821d61da
-0, 450000, 57600, 0xdd549e0e
-0, 456000, 57600, 0x641234e2
-0, 462000, 57600, 0x9a282112
-0, 468000, 57600, 0x6587e2fb
-0, 474000, 57600, 0x043d0cb2
-0, 480000, 57600, 0x90328707
-0, 486000, 57600, 0x5744d313
-0, 492000, 57600, 0x6e1b95cb
+#tb 0: 1/15
+0, 0, 0, 1, 57600, 0xe6b0a48c
+0, 1, 1, 1, 57600, 0xe064d51c
+0, 2, 2, 1, 57600, 0xbfce6b33
+0, 3, 3, 1, 57600, 0x371bab02
+0, 4, 4, 1, 57600, 0x0d2d7456
+0, 5, 5, 1, 57600, 0x9184eecb
+0, 6, 6, 1, 57600, 0xb482e8db
+0, 7, 7, 1, 57600, 0x0f4cd4be
+0, 8, 8, 1, 57600, 0xe276cccb
+0, 9, 9, 1, 57600, 0x04c21c62
+0, 10, 10, 1, 57600, 0x848960a2
+0, 11, 11, 1, 57600, 0xc4c8cf03
+0, 12, 12, 1, 57600, 0xb4094866
+0, 13, 13, 1, 57600, 0xf22da043
+0, 14, 14, 1, 57600, 0x6517b67b
+0, 15, 15, 1, 57600, 0x23e39ccb
+0, 16, 16, 1, 57600, 0x41525ca3
+0, 17, 17, 1, 57600, 0xc3edc5f3
+0, 18, 18, 1, 57600, 0x8ce81c7e
+0, 19, 19, 1, 57600, 0x56829443
+0, 20, 20, 1, 57600, 0x511ce287
+0, 21, 21, 1, 57600, 0x8f029a5b
+0, 22, 22, 1, 57600, 0x2b47cf43
+0, 23, 23, 1, 57600, 0x8e7ecf4b
+0, 24, 24, 1, 57600, 0xd620317e
+0, 25, 25, 1, 57600, 0x5987646e
+0, 26, 26, 1, 57600, 0xcfedb7df
+0, 27, 27, 1, 57600, 0x33746e7b
+0, 28, 28, 1, 57600, 0x1d318573
+0, 29, 29, 1, 57600, 0xc851848b
+0, 30, 30, 1, 57600, 0x939db1d7
+0, 31, 31, 1, 57600, 0x1719aed3
+0, 32, 32, 1, 57600, 0x1ba3e18c
+0, 33, 33, 1, 57600, 0x04f355fb
+0, 34, 34, 1, 57600, 0x6fafd5f4
+0, 35, 35, 1, 57600, 0x434f800b
+0, 36, 36, 1, 57600, 0xed42179b
+0, 37, 37, 1, 57600, 0x3b33118b
+0, 38, 38, 1, 57600, 0xf81880cb
+0, 39, 39, 1, 57600, 0xd2c58e1b
+0, 40, 40, 1, 57600, 0xd96f50eb
+0, 41, 41, 1, 57600, 0x64ef63fb
+0, 42, 42, 1, 57600, 0x7b14b6fc
+0, 43, 43, 1, 57600, 0xeb1c9054
+0, 44, 44, 1, 57600, 0x3b30c97c
+0, 45, 45, 1, 57600, 0xc93e9484
+0, 46, 46, 1, 57600, 0xe012c0cc
+0, 47, 47, 1, 57600, 0x48e2dda4
+0, 48, 48, 1, 57600, 0x13eb55fb
+0, 49, 49, 1, 57600, 0xa5edbedc
+0, 50, 50, 1, 57600, 0x0123a484
+0, 51, 51, 1, 57600, 0xc624a7ac
+0, 52, 52, 1, 57600, 0xd83cf45c
+0, 53, 53, 1, 57600, 0x8f9bf4b4
+0, 54, 54, 1, 57600, 0x2d494b8c
+0, 55, 55, 1, 57600, 0xb246f07c
+0, 56, 56, 1, 57600, 0x5750e67c
+0, 57, 57, 1, 57600, 0x6643e9ac
+0, 58, 58, 1, 57600, 0x8d3b86b3
+0, 59, 59, 1, 57600, 0x4bb0546b
+0, 60, 60, 1, 57600, 0xfe439333
+0, 61, 61, 1, 57600, 0x0cc76233
+0, 62, 62, 1, 57600, 0xb6fe40ae
+0, 63, 63, 1, 57600, 0xf79fe0d7
+0, 64, 64, 1, 57600, 0xdc90dcbb
+0, 65, 65, 1, 57600, 0x371e7c2b
+0, 66, 66, 1, 57600, 0x7c4590bb
+0, 67, 67, 1, 57600, 0x66f5454b
+0, 68, 68, 1, 57600, 0x1678ae5b
+0, 69, 69, 1, 57600, 0x1ee8fdec
+0, 70, 70, 1, 57600, 0x98d2a083
+0, 71, 71, 1, 57600, 0x86d29e5b
+0, 72, 72, 1, 57600, 0x23d2bc83
+0, 73, 73, 1, 57600, 0x3fc729f2
+0, 74, 74, 1, 57600, 0x821d61da
+0, 75, 75, 1, 57600, 0xdd549e0e
+0, 76, 76, 1, 57600, 0x641234e2
+0, 77, 77, 1, 57600, 0x9a282112
+0, 78, 78, 1, 57600, 0x6587e2fb
+0, 79, 79, 1, 57600, 0x043d0cb2
+0, 80, 80, 1, 57600, 0x90328707
+0, 81, 81, 1, 57600, 0x5744d313
+0, 82, 82, 1, 57600, 0x6e1b95cb
diff --git a/tests/ref/fate/qtrle-1bit b/tests/ref/fate/qtrle-1bit
index 040c9bfe72..dc5d6aa106 100644
--- a/tests/ref/fate/qtrle-1bit
+++ b/tests/ref/fate/qtrle-1bit
@@ -1,107 +1,109 @@
-0, 0, 9600, 0xc1632102
-1, 0, 2040, 0x0a157db4
-1, 4163, 2040, 0x00c63e08
-0, 7500, 9600, 0x0f6c0521
-1, 8327, 2040, 0xacf2a25b
-1, 12490, 2040, 0xd6189e85
-0, 15000, 9600, 0x04b90b5a
-1, 16653, 2040, 0x8276f843
-1, 20816, 2040, 0xadebae73
-0, 22500, 9600, 0x2ebd4500
-1, 24980, 2040, 0x5da76697
-1, 29143, 2040, 0x469d0ea7
-0, 30000, 9600, 0x726f46f4
-1, 33306, 2040, 0x0d7412e1
-1, 37469, 2040, 0x2f2cc63f
-0, 37500, 9600, 0x37f6968e
-1, 41633, 2040, 0x10106eb7
-0, 45000, 9600, 0x7305872e
-1, 45796, 2040, 0x300124c7
-1, 49959, 2040, 0xa329f8e8
-0, 52500, 9600, 0x222eff5e
-1, 54122, 2040, 0xcea35ca5
-1, 58286, 2040, 0x55105aef
-0, 60000, 9600, 0x9317e227
-1, 62449, 2040, 0x08980ce1
-1, 66612, 2040, 0x367faf24
-0, 67500, 9600, 0x421eee9d
-1, 70776, 2040, 0x75bfef06
-1, 74939, 2040, 0x34f1daf4
-0, 75000, 9600, 0xcbcfaaff
-1, 79102, 2040, 0x97050317
-0, 82500, 9600, 0xe7d43be2
-1, 83265, 2040, 0xd297c536
-1, 87429, 2040, 0xa8abad5a
-0, 90000, 9600, 0x0b71e28c
-1, 91592, 2040, 0x445ce8e0
-1, 95755, 2040, 0xa3f4d940
-0, 97500, 9600, 0xd6a050ca
-1, 99918, 2040, 0x0ebb7b26
-1, 104082, 2040, 0x4372f6f6
-0, 105000, 9600, 0x0ac6dbf5
-1, 108245, 2040, 0xd4365079
-1, 112408, 2040, 0x56f902f7
-0, 112500, 9600, 0x5c036038
-1, 116571, 2040, 0x4153938a
-0, 120000, 9600, 0x6e417ed6
-1, 120735, 2040, 0x14996d86
-1, 124898, 2040, 0x3f99c318
-0, 127500, 9600, 0x8bd0dc22
-1, 129061, 2040, 0x939978a5
-1, 133224, 2040, 0x7086bd44
-0, 135000, 9600, 0xdf3b0877
-1, 137388, 276, 0x25b89d22
-1, 137951, 2040, 0xf3edb106
-1, 142114, 2040, 0x0ca61430
-0, 142500, 9600, 0xae6e7823
-1, 146278, 2040, 0x7229c458
-0, 150000, 9600, 0x8ff0ac32
-1, 150441, 2040, 0xc37edd31
-1, 154604, 2040, 0xa3da98b4
-0, 157500, 9600, 0xa2d9e2ce
-1, 158767, 2040, 0x69704803
-1, 162931, 2040, 0xa79bf334
-0, 165000, 9600, 0x5fd92b65
-1, 167094, 2040, 0x59d8d4c4
-1, 171257, 2040, 0xf9ff0271
-0, 172500, 9600, 0x81c1c824
-1, 175420, 2040, 0xc4ced9d6
-1, 179584, 2040, 0x859f1912
-0, 180000, 9600, 0xb8a2ace4
-1, 183747, 2040, 0xe7955aa6
-0, 187500, 9600, 0x65b70404
-1, 187910, 2040, 0x374624fd
-1, 192073, 2040, 0x52121097
-0, 195000, 9600, 0xc5349eb2
-1, 196237, 2040, 0x660fe645
-1, 200400, 2040, 0xf624176a
-0, 202500, 9600, 0xf60cc2b8
-1, 204563, 2040, 0x1f2246dd
-1, 208727, 2040, 0x940e0a32
-0, 210000, 9600, 0x31474595
-1, 212890, 2040, 0x9c6d338c
-1, 217053, 2040, 0xfce0d30a
-0, 217500, 9600, 0xf602635b
-1, 221216, 2040, 0xd0ec9aa5
-0, 225000, 9600, 0x873cbd87
-1, 225380, 2040, 0x58012141
-1, 229543, 2040, 0xde67fc43
-0, 232500, 9600, 0xb9793ffe
-1, 233706, 2040, 0x6baa0450
-1, 237869, 2040, 0xf4f80252
-0, 240000, 9600, 0x42eb2831
-1, 242033, 2040, 0x0cd47ee3
-1, 246196, 2040, 0x129cbaa7
-0, 247500, 9600, 0x44cc1dab
-1, 250359, 2040, 0x5ef5c0a1
-1, 254522, 2040, 0xf660baa7
-0, 255000, 9600, 0xbdcbbb87
-1, 258686, 2040, 0xe48bc0a1
-0, 262500, 9600, 0x29c22df7
-1, 262849, 2040, 0xdfeabaa7
-1, 267012, 2040, 0xed04c0a1
-0, 270000, 9600, 0xde502ef5
-1, 271176, 2040, 0xd771baa7
-1, 275339, 300, 0x521f24e9
-1, 275951, 1476, 0x9b9394b1
-0, 277500, 9600, 0xaf311aeb
+#tb 0: 1/12
+#tb 1: 1/22050
+0, 0, 0, 1, 9600, 0xc1632102
+1, 0, 0, 1020, 2040, 0x0a157db4
+1, 1020, 1020, 1020, 2040, 0x00c63e08
+0, 1, 1, 1, 9600, 0x0f6c0521
+1, 2040, 2040, 1020, 2040, 0xacf2a25b
+1, 3060, 3060, 1020, 2040, 0xd6189e85
+0, 2, 2, 1, 9600, 0x04b90b5a
+1, 4080, 4080, 1020, 2040, 0x8276f843
+1, 5100, 5100, 1020, 2040, 0xadebae73
+0, 3, 3, 1, 9600, 0x2ebd4500
+1, 6120, 6120, 1020, 2040, 0x5da76697
+1, 7140, 7140, 1020, 2040, 0x469d0ea7
+0, 4, 4, 1, 9600, 0x726f46f4
+1, 8160, 8160, 1020, 2040, 0x0d7412e1
+1, 9180, 9180, 1020, 2040, 0x2f2cc63f
+0, 5, 5, 1, 9600, 0x37f6968e
+1, 10200, 10200, 1020, 2040, 0x10106eb7
+0, 6, 6, 1, 9600, 0x7305872e
+1, 11220, 11220, 1020, 2040, 0x300124c7
+1, 12240, 12240, 1020, 2040, 0xa329f8e8
+0, 7, 7, 1, 9600, 0x222eff5e
+1, 13260, 13260, 1020, 2040, 0xcea35ca5
+1, 14280, 14280, 1020, 2040, 0x55105aef
+0, 8, 8, 1, 9600, 0x9317e227
+1, 15300, 15300, 1020, 2040, 0x08980ce1
+1, 16320, 16320, 1020, 2040, 0x367faf24
+0, 9, 9, 1, 9600, 0x421eee9d
+1, 17340, 17340, 1020, 2040, 0x75bfef06
+1, 18360, 18360, 1020, 2040, 0x34f1daf4
+0, 10, 10, 1, 9600, 0xcbcfaaff
+1, 19380, 19380, 1020, 2040, 0x97050317
+0, 11, 11, 1, 9600, 0xe7d43be2
+1, 20400, 20400, 1020, 2040, 0xd297c536
+1, 21420, 21420, 1020, 2040, 0xa8abad5a
+0, 12, 12, 1, 9600, 0x0b71e28c
+1, 22440, 22440, 1020, 2040, 0x445ce8e0
+1, 23460, 23460, 1020, 2040, 0xa3f4d940
+0, 13, 13, 1, 9600, 0xd6a050ca
+1, 24480, 24480, 1020, 2040, 0x0ebb7b26
+1, 25500, 25500, 1020, 2040, 0x4372f6f6
+0, 14, 14, 1, 9600, 0x0ac6dbf5
+1, 26520, 26520, 1020, 2040, 0xd4365079
+1, 27540, 27540, 1020, 2040, 0x56f902f7
+0, 15, 15, 1, 9600, 0x5c036038
+1, 28560, 28560, 1020, 2040, 0x4153938a
+0, 16, 16, 1, 9600, 0x6e417ed6
+1, 29580, 29580, 1020, 2040, 0x14996d86
+1, 30600, 30600, 1020, 2040, 0x3f99c318
+0, 17, 17, 1, 9600, 0x8bd0dc22
+1, 31620, 31620, 1020, 2040, 0x939978a5
+1, 32640, 32640, 1020, 2040, 0x7086bd44
+0, 18, 18, 1, 9600, 0xdf3b0877
+1, 33660, 33660, 138, 276, 0x25b89d22
+1, 33798, 33798, 1020, 2040, 0xf3edb106
+1, 34818, 34818, 1020, 2040, 0x0ca61430
+0, 19, 19, 1, 9600, 0xae6e7823
+1, 35838, 35838, 1020, 2040, 0x7229c458
+0, 20, 20, 1, 9600, 0x8ff0ac32
+1, 36858, 36858, 1020, 2040, 0xc37edd31
+1, 37878, 37878, 1020, 2040, 0xa3da98b4
+0, 21, 21, 1, 9600, 0xa2d9e2ce
+1, 38898, 38898, 1020, 2040, 0x69704803
+1, 39918, 39918, 1020, 2040, 0xa79bf334
+0, 22, 22, 1, 9600, 0x5fd92b65
+1, 40938, 40938, 1020, 2040, 0x59d8d4c4
+1, 41958, 41958, 1020, 2040, 0xf9ff0271
+0, 23, 23, 1, 9600, 0x81c1c824
+1, 42978, 42978, 1020, 2040, 0xc4ced9d6
+1, 43998, 43998, 1020, 2040, 0x859f1912
+0, 24, 24, 1, 9600, 0xb8a2ace4
+1, 45018, 45018, 1020, 2040, 0xe7955aa6
+0, 25, 25, 1, 9600, 0x65b70404
+1, 46038, 46038, 1020, 2040, 0x374624fd
+1, 47058, 47058, 1020, 2040, 0x52121097
+0, 26, 26, 1, 9600, 0xc5349eb2
+1, 48078, 48078, 1020, 2040, 0x660fe645
+1, 49098, 49098, 1020, 2040, 0xf624176a
+0, 27, 27, 1, 9600, 0xf60cc2b8
+1, 50118, 50118, 1020, 2040, 0x1f2246dd
+1, 51138, 51138, 1020, 2040, 0x940e0a32
+0, 28, 28, 1, 9600, 0x31474595
+1, 52158, 52158, 1020, 2040, 0x9c6d338c
+1, 53178, 53178, 1020, 2040, 0xfce0d30a
+0, 29, 29, 1, 9600, 0xf602635b
+1, 54198, 54198, 1020, 2040, 0xd0ec9aa5
+0, 30, 30, 1, 9600, 0x873cbd87
+1, 55218, 55218, 1020, 2040, 0x58012141
+1, 56238, 56238, 1020, 2040, 0xde67fc43
+0, 31, 31, 1, 9600, 0xb9793ffe
+1, 57258, 57258, 1020, 2040, 0x6baa0450
+1, 58278, 58278, 1020, 2040, 0xf4f80252
+0, 32, 32, 1, 9600, 0x42eb2831
+1, 59298, 59298, 1020, 2040, 0x0cd47ee3
+1, 60318, 60318, 1020, 2040, 0x129cbaa7
+0, 33, 33, 1, 9600, 0x44cc1dab
+1, 61338, 61338, 1020, 2040, 0x5ef5c0a1
+1, 62358, 62358, 1020, 2040, 0xf660baa7
+0, 34, 34, 1, 9600, 0xbdcbbb87
+1, 63378, 63378, 1020, 2040, 0xe48bc0a1
+0, 35, 35, 1, 9600, 0x29c22df7
+1, 64398, 64398, 1020, 2040, 0xdfeabaa7
+1, 65418, 65418, 1020, 2040, 0xed04c0a1
+0, 36, 36, 1, 9600, 0xde502ef5
+1, 66438, 66438, 1020, 2040, 0xd771baa7
+1, 67458, 67458, 150, 300, 0x521f24e9
+1, 67608, 67608, 738, 1476, 0x9b9394b1
+0, 37, 37, 1, 9600, 0xaf311aeb
diff --git a/tests/ref/fate/qtrle-24bit b/tests/ref/fate/qtrle-24bit
index da8fec4c4a..a21b0996f4 100644
--- a/tests/ref/fate/qtrle-24bit
+++ b/tests/ref/fate/qtrle-24bit
@@ -1,34 +1,35 @@
-0, 0, 57600, 0x3718ad00
-0, 9000, 57600, 0x54861558
-0, 18000, 57600, 0xea1d6233
-0, 27000, 57600, 0xf669a2fd
-0, 36000, 57600, 0xc9f76f31
-0, 45000, 57600, 0xe23c6d7b
-0, 54000, 57600, 0xbc9d6167
-0, 63000, 57600, 0x0ca63477
-0, 72000, 57600, 0xc0850d22
-0, 81000, 57600, 0x735d10b2
-0, 90000, 57600, 0x561f3c4a
-0, 99000, 57600, 0x84db9cf1
-0, 108000, 57600, 0x9fb841f4
-0, 117000, 57600, 0xeaf262ab
-0, 126000, 57600, 0x264886b4
-0, 135000, 57600, 0x5edc5518
-0, 144000, 57600, 0xd3e60c72
-0, 153000, 57600, 0x9cabaed7
-0, 162000, 57600, 0x616716cf
-0, 171000, 57600, 0xa43f61aa
-0, 180000, 57600, 0xdba3a0bd
-0, 189000, 57600, 0xa7dd6dfa
-0, 198000, 57600, 0xc3fa6c84
-0, 207000, 57600, 0xb1275fb8
-0, 216000, 57600, 0x2e39331f
-0, 225000, 57600, 0x5b9e0bca
-0, 234000, 57600, 0x0e760f5a
-0, 243000, 57600, 0xc56c3e69
-0, 252000, 57600, 0x51da9fb8
-0, 261000, 57600, 0xe3a1432b
-0, 270000, 57600, 0xe1b360a3
-0, 279000, 57600, 0x30b383cd
-0, 288000, 57600, 0x950c5439
-0, 297000, 57600, 0x8f9d0ca2
+#tb 0: 1/10
+0, 0, 0, 1, 57600, 0x3718ad00
+0, 1, 1, 1, 57600, 0x54861558
+0, 2, 2, 1, 57600, 0xea1d6233
+0, 3, 3, 1, 57600, 0xf669a2fd
+0, 4, 4, 1, 57600, 0xc9f76f31
+0, 5, 5, 1, 57600, 0xe23c6d7b
+0, 6, 6, 1, 57600, 0xbc9d6167
+0, 7, 7, 1, 57600, 0x0ca63477
+0, 8, 8, 1, 57600, 0xc0850d22
+0, 9, 9, 1, 57600, 0x735d10b2
+0, 10, 10, 1, 57600, 0x561f3c4a
+0, 11, 11, 1, 57600, 0x84db9cf1
+0, 12, 12, 1, 57600, 0x9fb841f4
+0, 13, 13, 1, 57600, 0xeaf262ab
+0, 14, 14, 1, 57600, 0x264886b4
+0, 15, 15, 1, 57600, 0x5edc5518
+0, 16, 16, 1, 57600, 0xd3e60c72
+0, 17, 17, 1, 57600, 0x9cabaed7
+0, 18, 18, 1, 57600, 0x616716cf
+0, 19, 19, 1, 57600, 0xa43f61aa
+0, 20, 20, 1, 57600, 0xdba3a0bd
+0, 21, 21, 1, 57600, 0xa7dd6dfa
+0, 22, 22, 1, 57600, 0xc3fa6c84
+0, 23, 23, 1, 57600, 0xb1275fb8
+0, 24, 24, 1, 57600, 0x2e39331f
+0, 25, 25, 1, 57600, 0x5b9e0bca
+0, 26, 26, 1, 57600, 0x0e760f5a
+0, 27, 27, 1, 57600, 0xc56c3e69
+0, 28, 28, 1, 57600, 0x51da9fb8
+0, 29, 29, 1, 57600, 0xe3a1432b
+0, 30, 30, 1, 57600, 0xe1b360a3
+0, 31, 31, 1, 57600, 0x30b383cd
+0, 32, 32, 1, 57600, 0x950c5439
+0, 33, 33, 1, 57600, 0x8f9d0ca2
diff --git a/tests/ref/fate/qtrle-2bit b/tests/ref/fate/qtrle-2bit
index c7e3fe6053..4b93d8730c 100644
--- a/tests/ref/fate/qtrle-2bit
+++ b/tests/ref/fate/qtrle-2bit
@@ -1,107 +1,109 @@
-0, 0, 230400, 0xb1ee55dc
-1, 0, 2040, 0x0a157db4
-1, 4163, 2040, 0x00c63e08
-0, 7500, 230400, 0x97c580bf
-1, 8327, 2040, 0xacf2a25b
-1, 12490, 2040, 0xd6189e85
-0, 15000, 230400, 0xd4bd57e8
-1, 16653, 2040, 0x8276f843
-1, 20816, 2040, 0xadebae73
-0, 22500, 230400, 0x412b79aa
-1, 24980, 2040, 0x5da76697
-1, 29143, 2040, 0x469d0ea7
-0, 30000, 230400, 0x928a44d1
-1, 33306, 2040, 0x0d7412e1
-1, 37469, 2040, 0x2f2cc63f
-0, 37500, 230400, 0x6bbdc0e4
-1, 41633, 2040, 0x10106eb7
-0, 45000, 230400, 0x382e960f
-1, 45796, 2040, 0x300124c7
-1, 49959, 2040, 0xa329f8e8
-0, 52500, 230400, 0x62c863ea
-1, 54122, 2040, 0xcea35ca5
-1, 58286, 2040, 0x55105aef
-0, 60000, 230400, 0xbfccd3ce
-1, 62449, 2040, 0x08980ce1
-1, 66612, 2040, 0x367faf24
-0, 67500, 230400, 0x1987cdd4
-1, 70776, 2040, 0x75bfef06
-1, 74939, 2040, 0x34f1daf4
-0, 75000, 230400, 0x40279727
-1, 79102, 2040, 0x97050317
-0, 82500, 230400, 0x9d4f6746
-1, 83265, 2040, 0xd297c536
-1, 87429, 2040, 0xa8abad5a
-0, 90000, 230400, 0x7b8a77ec
-1, 91592, 2040, 0x445ce8e0
-1, 95755, 2040, 0xa3f4d940
-0, 97500, 230400, 0x2ce7a781
-1, 99918, 2040, 0x0ebb7b26
-1, 104082, 2040, 0x4372f6f6
-0, 105000, 230400, 0xb749815e
-1, 108245, 2040, 0xd4365079
-1, 112408, 2040, 0x56f902f7
-0, 112500, 230400, 0x61c88610
-1, 116571, 2040, 0x4153938a
-0, 120000, 230400, 0x8449114d
-1, 120735, 2040, 0x14996d86
-1, 124898, 2040, 0x3f99c318
-0, 127500, 230400, 0x5f73e666
-1, 129061, 2040, 0x939978a5
-1, 133224, 2040, 0x7086bd44
-0, 135000, 230400, 0xbde53ce6
-1, 137388, 276, 0x25b89d22
-1, 137951, 2040, 0xf3edb106
-1, 142114, 2040, 0x0ca61430
-0, 142500, 230400, 0x8c7406fd
-1, 146278, 2040, 0x7229c458
-0, 150000, 230400, 0xf9e9a3ef
-1, 150441, 2040, 0xc37edd31
-1, 154604, 2040, 0xa3da98b4
-0, 157500, 230400, 0x7e0a3077
-1, 158767, 2040, 0x69704803
-1, 162931, 2040, 0xa79bf334
-0, 165000, 230400, 0xd9245c5f
-1, 167094, 2040, 0x59d8d4c4
-1, 171257, 2040, 0xf9ff0271
-0, 172500, 230400, 0x6d077ea2
-1, 175420, 2040, 0xc4ced9d6
-1, 179584, 2040, 0x859f1912
-0, 180000, 230400, 0xf622bb2a
-1, 183747, 2040, 0xe7955aa6
-0, 187500, 230400, 0x35292dc8
-1, 187910, 2040, 0x374624fd
-1, 192073, 2040, 0x52121097
-0, 195000, 230400, 0xc0cea946
-1, 196237, 2040, 0x660fe645
-1, 200400, 2040, 0xf624176a
-0, 202500, 230400, 0x98b27b60
-1, 204563, 2040, 0x1f2246dd
-1, 208727, 2040, 0x940e0a32
-0, 210000, 230400, 0x668ef6bd
-1, 212890, 2040, 0x9c6d338c
-1, 217053, 2040, 0xfce0d30a
-0, 217500, 230400, 0x6c07a31c
-1, 221216, 2040, 0xd0ec9aa5
-0, 225000, 230400, 0x0b4a6ae1
-1, 225380, 2040, 0x58012141
-1, 229543, 2040, 0xde67fc43
-0, 232500, 230400, 0x945b9878
-1, 233706, 2040, 0x6baa0450
-1, 237869, 2040, 0xf4f80252
-0, 240000, 230400, 0xab28031c
-1, 242033, 2040, 0x0cd47ee3
-1, 246196, 2040, 0x129cbaa7
-0, 247500, 230400, 0x977252b0
-1, 250359, 2040, 0x5ef5c0a1
-1, 254522, 2040, 0xf660baa7
-0, 255000, 230400, 0x6c3d9706
-1, 258686, 2040, 0xe48bc0a1
-0, 262500, 230400, 0xe053bc2a
-1, 262849, 2040, 0xdfeabaa7
-1, 267012, 2040, 0xed04c0a1
-0, 270000, 230400, 0x4cf2fc7c
-1, 271176, 2040, 0xd771baa7
-1, 275339, 300, 0x521f24e9
-1, 275951, 1476, 0x9b9394b1
-0, 277500, 230400, 0x610beda7
+#tb 0: 1/12
+#tb 1: 1/22050
+0, 0, 0, 1, 230400, 0xb1ee55dc
+1, 0, 0, 1020, 2040, 0x0a157db4
+1, 1020, 1020, 1020, 2040, 0x00c63e08
+0, 1, 1, 1, 230400, 0x97c580bf
+1, 2040, 2040, 1020, 2040, 0xacf2a25b
+1, 3060, 3060, 1020, 2040, 0xd6189e85
+0, 2, 2, 1, 230400, 0xd4bd57e8
+1, 4080, 4080, 1020, 2040, 0x8276f843
+1, 5100, 5100, 1020, 2040, 0xadebae73
+0, 3, 3, 1, 230400, 0x412b79aa
+1, 6120, 6120, 1020, 2040, 0x5da76697
+1, 7140, 7140, 1020, 2040, 0x469d0ea7
+0, 4, 4, 1, 230400, 0x928a44d1
+1, 8160, 8160, 1020, 2040, 0x0d7412e1
+1, 9180, 9180, 1020, 2040, 0x2f2cc63f
+0, 5, 5, 1, 230400, 0x6bbdc0e4
+1, 10200, 10200, 1020, 2040, 0x10106eb7
+0, 6, 6, 1, 230400, 0x382e960f
+1, 11220, 11220, 1020, 2040, 0x300124c7
+1, 12240, 12240, 1020, 2040, 0xa329f8e8
+0, 7, 7, 1, 230400, 0x62c863ea
+1, 13260, 13260, 1020, 2040, 0xcea35ca5
+1, 14280, 14280, 1020, 2040, 0x55105aef
+0, 8, 8, 1, 230400, 0xbfccd3ce
+1, 15300, 15300, 1020, 2040, 0x08980ce1
+1, 16320, 16320, 1020, 2040, 0x367faf24
+0, 9, 9, 1, 230400, 0x1987cdd4
+1, 17340, 17340, 1020, 2040, 0x75bfef06
+1, 18360, 18360, 1020, 2040, 0x34f1daf4
+0, 10, 10, 1, 230400, 0x40279727
+1, 19380, 19380, 1020, 2040, 0x97050317
+0, 11, 11, 1, 230400, 0x9d4f6746
+1, 20400, 20400, 1020, 2040, 0xd297c536
+1, 21420, 21420, 1020, 2040, 0xa8abad5a
+0, 12, 12, 1, 230400, 0x7b8a77ec
+1, 22440, 22440, 1020, 2040, 0x445ce8e0
+1, 23460, 23460, 1020, 2040, 0xa3f4d940
+0, 13, 13, 1, 230400, 0x2ce7a781
+1, 24480, 24480, 1020, 2040, 0x0ebb7b26
+1, 25500, 25500, 1020, 2040, 0x4372f6f6
+0, 14, 14, 1, 230400, 0xb749815e
+1, 26520, 26520, 1020, 2040, 0xd4365079
+1, 27540, 27540, 1020, 2040, 0x56f902f7
+0, 15, 15, 1, 230400, 0x61c88610
+1, 28560, 28560, 1020, 2040, 0x4153938a
+0, 16, 16, 1, 230400, 0x8449114d
+1, 29580, 29580, 1020, 2040, 0x14996d86
+1, 30600, 30600, 1020, 2040, 0x3f99c318
+0, 17, 17, 1, 230400, 0x5f73e666
+1, 31620, 31620, 1020, 2040, 0x939978a5
+1, 32640, 32640, 1020, 2040, 0x7086bd44
+0, 18, 18, 1, 230400, 0xbde53ce6
+1, 33660, 33660, 138, 276, 0x25b89d22
+1, 33798, 33798, 1020, 2040, 0xf3edb106
+1, 34818, 34818, 1020, 2040, 0x0ca61430
+0, 19, 19, 1, 230400, 0x8c7406fd
+1, 35838, 35838, 1020, 2040, 0x7229c458
+0, 20, 20, 1, 230400, 0xf9e9a3ef
+1, 36858, 36858, 1020, 2040, 0xc37edd31
+1, 37878, 37878, 1020, 2040, 0xa3da98b4
+0, 21, 21, 1, 230400, 0x7e0a3077
+1, 38898, 38898, 1020, 2040, 0x69704803
+1, 39918, 39918, 1020, 2040, 0xa79bf334
+0, 22, 22, 1, 230400, 0xd9245c5f
+1, 40938, 40938, 1020, 2040, 0x59d8d4c4
+1, 41958, 41958, 1020, 2040, 0xf9ff0271
+0, 23, 23, 1, 230400, 0x6d077ea2
+1, 42978, 42978, 1020, 2040, 0xc4ced9d6
+1, 43998, 43998, 1020, 2040, 0x859f1912
+0, 24, 24, 1, 230400, 0xf622bb2a
+1, 45018, 45018, 1020, 2040, 0xe7955aa6
+0, 25, 25, 1, 230400, 0x35292dc8
+1, 46038, 46038, 1020, 2040, 0x374624fd
+1, 47058, 47058, 1020, 2040, 0x52121097
+0, 26, 26, 1, 230400, 0xc0cea946
+1, 48078, 48078, 1020, 2040, 0x660fe645
+1, 49098, 49098, 1020, 2040, 0xf624176a
+0, 27, 27, 1, 230400, 0x98b27b60
+1, 50118, 50118, 1020, 2040, 0x1f2246dd
+1, 51138, 51138, 1020, 2040, 0x940e0a32
+0, 28, 28, 1, 230400, 0x668ef6bd
+1, 52158, 52158, 1020, 2040, 0x9c6d338c
+1, 53178, 53178, 1020, 2040, 0xfce0d30a
+0, 29, 29, 1, 230400, 0x6c07a31c
+1, 54198, 54198, 1020, 2040, 0xd0ec9aa5
+0, 30, 30, 1, 230400, 0x0b4a6ae1
+1, 55218, 55218, 1020, 2040, 0x58012141
+1, 56238, 56238, 1020, 2040, 0xde67fc43
+0, 31, 31, 1, 230400, 0x945b9878
+1, 57258, 57258, 1020, 2040, 0x6baa0450
+1, 58278, 58278, 1020, 2040, 0xf4f80252
+0, 32, 32, 1, 230400, 0xab28031c
+1, 59298, 59298, 1020, 2040, 0x0cd47ee3
+1, 60318, 60318, 1020, 2040, 0x129cbaa7
+0, 33, 33, 1, 230400, 0x977252b0
+1, 61338, 61338, 1020, 2040, 0x5ef5c0a1
+1, 62358, 62358, 1020, 2040, 0xf660baa7
+0, 34, 34, 1, 230400, 0x6c3d9706
+1, 63378, 63378, 1020, 2040, 0xe48bc0a1
+0, 35, 35, 1, 230400, 0xe053bc2a
+1, 64398, 64398, 1020, 2040, 0xdfeabaa7
+1, 65418, 65418, 1020, 2040, 0xed04c0a1
+0, 36, 36, 1, 230400, 0x4cf2fc7c
+1, 66438, 66438, 1020, 2040, 0xd771baa7
+1, 67458, 67458, 150, 300, 0x521f24e9
+1, 67608, 67608, 738, 1476, 0x9b9394b1
+0, 37, 37, 1, 230400, 0x610beda7
diff --git a/tests/ref/fate/qtrle-32bit b/tests/ref/fate/qtrle-32bit
index a5e9c8a1a0..ed6dc03a26 100644
--- a/tests/ref/fate/qtrle-32bit
+++ b/tests/ref/fate/qtrle-32bit
@@ -1,26 +1,27 @@
-0, 0, 1036800, 0x2a90d062
-0, 3003, 1036800, 0x6565aded
-0, 6006, 1036800, 0xf0b587d2
-0, 9009, 1036800, 0xf0b4e53f
-0, 12012, 1036800, 0x5ba4b96a
-0, 15015, 1036800, 0x501df9c1
-0, 18018, 1036800, 0xcf45b940
-0, 21021, 1036800, 0xa454df07
-0, 24024, 1036800, 0xc504d152
-0, 27027, 1036800, 0xd90ecac7
-0, 30030, 1036800, 0xe30368df
-0, 33033, 1036800, 0x0ca35522
-0, 36036, 1036800, 0xe76b8d43
-0, 39039, 1036800, 0x7c85a447
-0, 42042, 1036800, 0x3e2d1b5f
-0, 45045, 1036800, 0x230fa5a6
-0, 48048, 1036800, 0x4fad025e
-0, 51051, 1036800, 0x7d3366ae
-0, 54054, 1036800, 0xa83720f7
-0, 57057, 1036800, 0x5dbd13b1
-0, 60060, 1036800, 0xd0ebd56d
-0, 63063, 1036800, 0x4d7c67f3
-0, 66066, 1036800, 0x226baa3f
-0, 69069, 1036800, 0xc0e93acf
-0, 72072, 1036800, 0x5a466c17
-0, 75075, 1036800, 0xfdb7d2ea
+#tb 0: 100/2997
+0, 0, 0, 1, 1036800, 0x2a90d062
+0, 1, 1, 1, 1036800, 0x6565aded
+0, 2, 2, 1, 1036800, 0xf0b587d2
+0, 3, 3, 1, 1036800, 0xf0b4e53f
+0, 4, 4, 1, 1036800, 0x5ba4b96a
+0, 5, 5, 1, 1036800, 0x501df9c1
+0, 6, 6, 1, 1036800, 0xcf45b940
+0, 7, 7, 1, 1036800, 0xa454df07
+0, 8, 8, 1, 1036800, 0xc504d152
+0, 9, 9, 1, 1036800, 0xd90ecac7
+0, 10, 10, 1, 1036800, 0xe30368df
+0, 11, 11, 1, 1036800, 0x0ca35522
+0, 12, 12, 1, 1036800, 0xe76b8d43
+0, 13, 13, 1, 1036800, 0x7c85a447
+0, 14, 14, 1, 1036800, 0x3e2d1b5f
+0, 15, 15, 1, 1036800, 0x230fa5a6
+0, 16, 16, 1, 1036800, 0x4fad025e
+0, 17, 17, 1, 1036800, 0x7d3366ae
+0, 18, 18, 1, 1036800, 0xa83720f7
+0, 19, 19, 1, 1036800, 0x5dbd13b1
+0, 20, 20, 1, 1036800, 0xd0ebd56d
+0, 21, 21, 1, 1036800, 0x4d7c67f3
+0, 22, 22, 1, 1036800, 0x226baa3f
+0, 23, 23, 1, 1036800, 0xc0e93acf
+0, 24, 24, 1, 1036800, 0x5a466c17
+0, 25, 25, 1, 1036800, 0xfdb7d2ea
diff --git a/tests/ref/fate/qtrle-4bit b/tests/ref/fate/qtrle-4bit
index 5678096673..74eb4ab078 100644
--- a/tests/ref/fate/qtrle-4bit
+++ b/tests/ref/fate/qtrle-4bit
@@ -1,38 +1,39 @@
-0, 0, 230400, 0x0655b3d9
-0, 7500, 230400, 0x9c626fd3
-0, 15000, 230400, 0x5bc95868
-0, 22500, 230400, 0x55a38387
-0, 30000, 230400, 0xd3495b60
-0, 37500, 230400, 0xecdb2d15
-0, 45000, 230400, 0x7f9b373e
-0, 52500, 230400, 0x51caac22
-0, 60000, 230400, 0x0f2ac153
-0, 67500, 230400, 0xe5a6f9e7
-0, 75000, 230400, 0xfc2b2250
-0, 82500, 230400, 0x24e2da1b
-0, 90000, 230400, 0x2723d7dd
-0, 97500, 230400, 0x024a4989
-0, 105000, 230400, 0xdbafb92d
-0, 112500, 230400, 0x6b9b5056
-0, 120000, 230400, 0x010cabb4
-0, 127500, 230400, 0xf75bc1c0
-0, 135000, 230400, 0x6c7fd744
-0, 142500, 230400, 0xabe4371a
-0, 150000, 230400, 0xe41fb781
-0, 157500, 230400, 0x42c5649e
-0, 165000, 230400, 0xf5511deb
-0, 172500, 230400, 0xebf5ab32
-0, 180000, 230400, 0x44398194
-0, 187500, 230400, 0xfd63510c
-0, 195000, 230400, 0xa013975e
-0, 202500, 230400, 0xe0aa028d
-0, 210000, 230400, 0x349f6f3b
-0, 217500, 230400, 0x2446032c
-0, 225000, 230400, 0x648f122c
-0, 232500, 230400, 0xbda221fd
-0, 240000, 230400, 0xf0f97642
-0, 247500, 230400, 0x6a1737de
-0, 255000, 230400, 0x808a8179
-0, 262500, 230400, 0x121641cf
-0, 270000, 230400, 0x275d11ea
-0, 277500, 230400, 0x92adf2cf
+#tb 0: 1/12
+0, 0, 0, 1, 230400, 0x0655b3d9
+0, 1, 1, 1, 230400, 0x9c626fd3
+0, 2, 2, 1, 230400, 0x5bc95868
+0, 3, 3, 1, 230400, 0x55a38387
+0, 4, 4, 1, 230400, 0xd3495b60
+0, 5, 5, 1, 230400, 0xecdb2d15
+0, 6, 6, 1, 230400, 0x7f9b373e
+0, 7, 7, 1, 230400, 0x51caac22
+0, 8, 8, 1, 230400, 0x0f2ac153
+0, 9, 9, 1, 230400, 0xe5a6f9e7
+0, 10, 10, 1, 230400, 0xfc2b2250
+0, 11, 11, 1, 230400, 0x24e2da1b
+0, 12, 12, 1, 230400, 0x2723d7dd
+0, 13, 13, 1, 230400, 0x024a4989
+0, 14, 14, 1, 230400, 0xdbafb92d
+0, 15, 15, 1, 230400, 0x6b9b5056
+0, 16, 16, 1, 230400, 0x010cabb4
+0, 17, 17, 1, 230400, 0xf75bc1c0
+0, 18, 18, 1, 230400, 0x6c7fd744
+0, 19, 19, 1, 230400, 0xabe4371a
+0, 20, 20, 1, 230400, 0xe41fb781
+0, 21, 21, 1, 230400, 0x42c5649e
+0, 22, 22, 1, 230400, 0xf5511deb
+0, 23, 23, 1, 230400, 0xebf5ab32
+0, 24, 24, 1, 230400, 0x44398194
+0, 25, 25, 1, 230400, 0xfd63510c
+0, 26, 26, 1, 230400, 0xa013975e
+0, 27, 27, 1, 230400, 0xe0aa028d
+0, 28, 28, 1, 230400, 0x349f6f3b
+0, 29, 29, 1, 230400, 0x2446032c
+0, 30, 30, 1, 230400, 0x648f122c
+0, 31, 31, 1, 230400, 0xbda221fd
+0, 32, 32, 1, 230400, 0xf0f97642
+0, 33, 33, 1, 230400, 0x6a1737de
+0, 34, 34, 1, 230400, 0x808a8179
+0, 35, 35, 1, 230400, 0x121641cf
+0, 36, 36, 1, 230400, 0x275d11ea
+0, 37, 37, 1, 230400, 0x92adf2cf
diff --git a/tests/ref/fate/qtrle-8bit b/tests/ref/fate/qtrle-8bit
index 62f748207e..5b30fbbf5c 100644
--- a/tests/ref/fate/qtrle-8bit
+++ b/tests/ref/fate/qtrle-8bit
@@ -1,167 +1,168 @@
-0, 0, 921600, 0x1492e3ed
-0, 6000, 921600, 0x1492e3ed
-0, 12000, 921600, 0x1492e3ed
-0, 18000, 921600, 0x23ef4fc7
-0, 24000, 921600, 0x23ef4fc7
-0, 30000, 921600, 0xe406d4be
-0, 36000, 921600, 0xe406d4be
-0, 42000, 921600, 0xe406d4be
-0, 48000, 921600, 0x62b8b5a1
-0, 54000, 921600, 0x62b8b5a1
-0, 60000, 921600, 0x7d8ba674
-0, 66000, 921600, 0x7d8ba674
-0, 72000, 921600, 0x7d8ba674
-0, 78000, 921600, 0xfe666be7
-0, 84000, 921600, 0xfe666be7
-0, 90000, 921600, 0x721baec0
-0, 96000, 921600, 0x721baec0
-0, 102000, 921600, 0x721baec0
-0, 108000, 921600, 0xc237180a
-0, 114000, 921600, 0xc237180a
-0, 120000, 921600, 0xf03a7482
-0, 126000, 921600, 0xf03a7482
-0, 132000, 921600, 0xf03a7482
-0, 138000, 921600, 0x5612a391
-0, 144000, 921600, 0x5612a391
-0, 150000, 921600, 0x9dbcc46a
-0, 156000, 921600, 0x9dbcc46a
-0, 162000, 921600, 0x9dbcc46a
-0, 168000, 921600, 0xa128a5d5
-0, 174000, 921600, 0xa128a5d5
-0, 180000, 921600, 0x63e0025c
-0, 186000, 921600, 0x63e0025c
-0, 192000, 921600, 0x63e0025c
-0, 198000, 921600, 0x262359ed
-0, 204000, 921600, 0x262359ed
-0, 210000, 921600, 0x343688e8
-0, 216000, 921600, 0x343688e8
-0, 222000, 921600, 0x343688e8
-0, 228000, 921600, 0x343688e8
-0, 234000, 921600, 0x343688e8
-0, 240000, 921600, 0x343688e8
-0, 246000, 921600, 0x343688e8
-0, 252000, 921600, 0x343688e8
-0, 258000, 921600, 0x343688e8
-0, 264000, 921600, 0x343688e8
-0, 270000, 921600, 0xe4b29d57
-0, 276000, 921600, 0xe4b29d57
-0, 282000, 921600, 0xe4b29d57
-0, 288000, 921600, 0x198e8a4a
-0, 294000, 921600, 0x198e8a4a
-0, 300000, 921600, 0x0cad8dc9
-0, 306000, 921600, 0x0cad8dc9
-0, 312000, 921600, 0x0cad8dc9
-0, 318000, 921600, 0x1f74cf3d
-0, 324000, 921600, 0x1f74cf3d
-0, 330000, 921600, 0xec5b5449
-0, 336000, 921600, 0xec5b5449
-0, 342000, 921600, 0xec5b5449
-0, 348000, 921600, 0x39829711
-0, 354000, 921600, 0x39829711
-0, 360000, 921600, 0x6de5b9c6
-0, 366000, 921600, 0x6de5b9c6
-0, 372000, 921600, 0x6de5b9c6
-0, 378000, 921600, 0x47b0e9d4
-0, 384000, 921600, 0x47b0e9d4
-0, 390000, 921600, 0x756452b8
-0, 396000, 921600, 0x756452b8
-0, 402000, 921600, 0x756452b8
-0, 408000, 921600, 0x6fce3478
-0, 414000, 921600, 0x6fce3478
-0, 420000, 921600, 0x372397cd
-0, 426000, 921600, 0x372397cd
-0, 432000, 921600, 0x372397cd
-0, 438000, 921600, 0xe3999ba1
-0, 444000, 921600, 0xe3999ba1
-0, 450000, 921600, 0x6ba26b43
-0, 456000, 921600, 0x6ba26b43
-0, 462000, 921600, 0x6ba26b43
-0, 468000, 921600, 0x4e9ee49e
-0, 474000, 921600, 0x4e9ee49e
-0, 480000, 921600, 0xdb5fd6e7
-0, 486000, 921600, 0xdb5fd6e7
-0, 492000, 921600, 0xdb5fd6e7
-0, 498000, 921600, 0x8f2254a5
-0, 504000, 921600, 0x8f2254a5
-0, 510000, 921600, 0x8f2254a5
-0, 516000, 921600, 0x8f2254a5
-0, 522000, 921600, 0x8f2254a5
-0, 528000, 921600, 0x8f2254a5
-0, 534000, 921600, 0x8f2254a5
-0, 540000, 921600, 0x8f2254a5
-0, 546000, 921600, 0x8f2254a5
-0, 552000, 921600, 0x8f2254a5
-0, 558000, 921600, 0x57e95c32
-0, 564000, 921600, 0x57e95c32
-0, 570000, 921600, 0x41627a9b
-0, 576000, 921600, 0x41627a9b
-0, 582000, 921600, 0x41627a9b
-0, 588000, 921600, 0x7412dcee
-0, 594000, 921600, 0x7412dcee
-0, 600000, 921600, 0xaebe10ed
-0, 606000, 921600, 0xaebe10ed
-0, 612000, 921600, 0xaebe10ed
-0, 618000, 921600, 0x411a91f6
-0, 624000, 921600, 0x411a91f6
-0, 630000, 921600, 0xb059df3f
-0, 636000, 921600, 0xb059df3f
-0, 642000, 921600, 0xb059df3f
-0, 648000, 921600, 0x4d6f5a77
-0, 654000, 921600, 0x4d6f5a77
-0, 660000, 921600, 0xbbf06df4
-0, 666000, 921600, 0xbbf06df4
-0, 672000, 921600, 0xbbf06df4
-0, 678000, 921600, 0xe27f7bf6
-0, 684000, 921600, 0xe27f7bf6
-0, 690000, 921600, 0xd7e8360e
-0, 696000, 921600, 0xd7e8360e
-0, 702000, 921600, 0xd7e8360e
-0, 708000, 921600, 0x1dd4c344
-0, 714000, 921600, 0x1dd4c344
-0, 720000, 921600, 0x7995a7ce
-0, 726000, 921600, 0x7995a7ce
-0, 732000, 921600, 0x7995a7ce
-0, 738000, 921600, 0x2ef3c566
-0, 744000, 921600, 0x2ef3c566
-0, 750000, 921600, 0xf296736e
-0, 756000, 921600, 0xf296736e
-0, 762000, 921600, 0xf296736e
-0, 768000, 921600, 0xf296736e
-0, 774000, 921600, 0xf296736e
-0, 780000, 921600, 0xf296736e
-0, 786000, 921600, 0xf296736e
-0, 792000, 921600, 0xf296736e
-0, 798000, 921600, 0xf296736e
-0, 804000, 921600, 0xf296736e
-0, 810000, 921600, 0x1a488311
-0, 816000, 921600, 0x1a488311
-0, 822000, 921600, 0x1a488311
-0, 828000, 921600, 0x9e28011b
-0, 834000, 921600, 0x9e28011b
-0, 840000, 921600, 0x84d1ea80
-0, 846000, 921600, 0x84d1ea80
-0, 852000, 921600, 0x84d1ea80
-0, 858000, 921600, 0x9ed41052
-0, 864000, 921600, 0x9ed41052
-0, 870000, 921600, 0xd4db7206
-0, 876000, 921600, 0xd4db7206
-0, 882000, 921600, 0xd4db7206
-0, 888000, 921600, 0x55f695a9
-0, 894000, 921600, 0x55f695a9
-0, 900000, 921600, 0x9d8c667f
-0, 906000, 921600, 0x9d8c667f
-0, 912000, 921600, 0x9d8c667f
-0, 918000, 921600, 0x9b6037ec
-0, 924000, 921600, 0x9b6037ec
-0, 930000, 921600, 0x57c5e835
-0, 936000, 921600, 0x57c5e835
-0, 942000, 921600, 0x57c5e835
-0, 948000, 921600, 0x476dad89
-0, 954000, 921600, 0x476dad89
-0, 960000, 921600, 0xcfd6ad2b
-0, 966000, 921600, 0xcfd6ad2b
-0, 972000, 921600, 0xcfd6ad2b
-0, 978000, 921600, 0x3b372379
-0, 984000, 921600, 0x3b372379
-0, 990000, 921600, 0x36f245f5
-0, 996000, 921600, 0x36f245f5
+#tb 0: 1/15
+0, 0, 0, 1, 921600, 0x1492e3ed
+0, 1, 1, 1, 921600, 0x1492e3ed
+0, 2, 2, 1, 921600, 0x1492e3ed
+0, 3, 3, 1, 921600, 0x23ef4fc7
+0, 4, 4, 1, 921600, 0x23ef4fc7
+0, 5, 5, 1, 921600, 0xe406d4be
+0, 6, 6, 1, 921600, 0xe406d4be
+0, 7, 7, 1, 921600, 0xe406d4be
+0, 8, 8, 1, 921600, 0x62b8b5a1
+0, 9, 9, 1, 921600, 0x62b8b5a1
+0, 10, 10, 1, 921600, 0x7d8ba674
+0, 11, 11, 1, 921600, 0x7d8ba674
+0, 12, 12, 1, 921600, 0x7d8ba674
+0, 13, 13, 1, 921600, 0xfe666be7
+0, 14, 14, 1, 921600, 0xfe666be7
+0, 15, 15, 1, 921600, 0x721baec0
+0, 16, 16, 1, 921600, 0x721baec0
+0, 17, 17, 1, 921600, 0x721baec0
+0, 18, 18, 1, 921600, 0xc237180a
+0, 19, 19, 1, 921600, 0xc237180a
+0, 20, 20, 1, 921600, 0xf03a7482
+0, 21, 21, 1, 921600, 0xf03a7482
+0, 22, 22, 1, 921600, 0xf03a7482
+0, 23, 23, 1, 921600, 0x5612a391
+0, 24, 24, 1, 921600, 0x5612a391
+0, 25, 25, 1, 921600, 0x9dbcc46a
+0, 26, 26, 1, 921600, 0x9dbcc46a
+0, 27, 27, 1, 921600, 0x9dbcc46a
+0, 28, 28, 1, 921600, 0xa128a5d5
+0, 29, 29, 1, 921600, 0xa128a5d5
+0, 30, 30, 1, 921600, 0x63e0025c
+0, 31, 31, 1, 921600, 0x63e0025c
+0, 32, 32, 1, 921600, 0x63e0025c
+0, 33, 33, 1, 921600, 0x262359ed
+0, 34, 34, 1, 921600, 0x262359ed
+0, 35, 35, 1, 921600, 0x343688e8
+0, 36, 36, 1, 921600, 0x343688e8
+0, 37, 37, 1, 921600, 0x343688e8
+0, 38, 38, 1, 921600, 0x343688e8
+0, 39, 39, 1, 921600, 0x343688e8
+0, 40, 40, 1, 921600, 0x343688e8
+0, 41, 41, 1, 921600, 0x343688e8
+0, 42, 42, 1, 921600, 0x343688e8
+0, 43, 43, 1, 921600, 0x343688e8
+0, 44, 44, 1, 921600, 0x343688e8
+0, 45, 45, 1, 921600, 0xe4b29d57
+0, 46, 46, 1, 921600, 0xe4b29d57
+0, 47, 47, 1, 921600, 0xe4b29d57
+0, 48, 48, 1, 921600, 0x198e8a4a
+0, 49, 49, 1, 921600, 0x198e8a4a
+0, 50, 50, 1, 921600, 0x0cad8dc9
+0, 51, 51, 1, 921600, 0x0cad8dc9
+0, 52, 52, 1, 921600, 0x0cad8dc9
+0, 53, 53, 1, 921600, 0x1f74cf3d
+0, 54, 54, 1, 921600, 0x1f74cf3d
+0, 55, 55, 1, 921600, 0xec5b5449
+0, 56, 56, 1, 921600, 0xec5b5449
+0, 57, 57, 1, 921600, 0xec5b5449
+0, 58, 58, 1, 921600, 0x39829711
+0, 59, 59, 1, 921600, 0x39829711
+0, 60, 60, 1, 921600, 0x6de5b9c6
+0, 61, 61, 1, 921600, 0x6de5b9c6
+0, 62, 62, 1, 921600, 0x6de5b9c6
+0, 63, 63, 1, 921600, 0x47b0e9d4
+0, 64, 64, 1, 921600, 0x47b0e9d4
+0, 65, 65, 1, 921600, 0x756452b8
+0, 66, 66, 1, 921600, 0x756452b8
+0, 67, 67, 1, 921600, 0x756452b8
+0, 68, 68, 1, 921600, 0x6fce3478
+0, 69, 69, 1, 921600, 0x6fce3478
+0, 70, 70, 1, 921600, 0x372397cd
+0, 71, 71, 1, 921600, 0x372397cd
+0, 72, 72, 1, 921600, 0x372397cd
+0, 73, 73, 1, 921600, 0xe3999ba1
+0, 74, 74, 1, 921600, 0xe3999ba1
+0, 75, 75, 1, 921600, 0x6ba26b43
+0, 76, 76, 1, 921600, 0x6ba26b43
+0, 77, 77, 1, 921600, 0x6ba26b43
+0, 78, 78, 1, 921600, 0x4e9ee49e
+0, 79, 79, 1, 921600, 0x4e9ee49e
+0, 80, 80, 1, 921600, 0xdb5fd6e7
+0, 81, 81, 1, 921600, 0xdb5fd6e7
+0, 82, 82, 1, 921600, 0xdb5fd6e7
+0, 83, 83, 1, 921600, 0x8f2254a5
+0, 84, 84, 1, 921600, 0x8f2254a5
+0, 85, 85, 1, 921600, 0x8f2254a5
+0, 86, 86, 1, 921600, 0x8f2254a5
+0, 87, 87, 1, 921600, 0x8f2254a5
+0, 88, 88, 1, 921600, 0x8f2254a5
+0, 89, 89, 1, 921600, 0x8f2254a5
+0, 90, 90, 1, 921600, 0x8f2254a5
+0, 91, 91, 1, 921600, 0x8f2254a5
+0, 92, 92, 1, 921600, 0x8f2254a5
+0, 93, 93, 1, 921600, 0x57e95c32
+0, 94, 94, 1, 921600, 0x57e95c32
+0, 95, 95, 1, 921600, 0x41627a9b
+0, 96, 96, 1, 921600, 0x41627a9b
+0, 97, 97, 1, 921600, 0x41627a9b
+0, 98, 98, 1, 921600, 0x7412dcee
+0, 99, 99, 1, 921600, 0x7412dcee
+0, 100, 100, 1, 921600, 0xaebe10ed
+0, 101, 101, 1, 921600, 0xaebe10ed
+0, 102, 102, 1, 921600, 0xaebe10ed
+0, 103, 103, 1, 921600, 0x411a91f6
+0, 104, 104, 1, 921600, 0x411a91f6
+0, 105, 105, 1, 921600, 0xb059df3f
+0, 106, 106, 1, 921600, 0xb059df3f
+0, 107, 107, 1, 921600, 0xb059df3f
+0, 108, 108, 1, 921600, 0x4d6f5a77
+0, 109, 109, 1, 921600, 0x4d6f5a77
+0, 110, 110, 1, 921600, 0xbbf06df4
+0, 111, 111, 1, 921600, 0xbbf06df4
+0, 112, 112, 1, 921600, 0xbbf06df4
+0, 113, 113, 1, 921600, 0xe27f7bf6
+0, 114, 114, 1, 921600, 0xe27f7bf6
+0, 115, 115, 1, 921600, 0xd7e8360e
+0, 116, 116, 1, 921600, 0xd7e8360e
+0, 117, 117, 1, 921600, 0xd7e8360e
+0, 118, 118, 1, 921600, 0x1dd4c344
+0, 119, 119, 1, 921600, 0x1dd4c344
+0, 120, 120, 1, 921600, 0x7995a7ce
+0, 121, 121, 1, 921600, 0x7995a7ce
+0, 122, 122, 1, 921600, 0x7995a7ce
+0, 123, 123, 1, 921600, 0x2ef3c566
+0, 124, 124, 1, 921600, 0x2ef3c566
+0, 125, 125, 1, 921600, 0xf296736e
+0, 126, 126, 1, 921600, 0xf296736e
+0, 127, 127, 1, 921600, 0xf296736e
+0, 128, 128, 1, 921600, 0xf296736e
+0, 129, 129, 1, 921600, 0xf296736e
+0, 130, 130, 1, 921600, 0xf296736e
+0, 131, 131, 1, 921600, 0xf296736e
+0, 132, 132, 1, 921600, 0xf296736e
+0, 133, 133, 1, 921600, 0xf296736e
+0, 134, 134, 1, 921600, 0xf296736e
+0, 135, 135, 1, 921600, 0x1a488311
+0, 136, 136, 1, 921600, 0x1a488311
+0, 137, 137, 1, 921600, 0x1a488311
+0, 138, 138, 1, 921600, 0x9e28011b
+0, 139, 139, 1, 921600, 0x9e28011b
+0, 140, 140, 1, 921600, 0x84d1ea80
+0, 141, 141, 1, 921600, 0x84d1ea80
+0, 142, 142, 1, 921600, 0x84d1ea80
+0, 143, 143, 1, 921600, 0x9ed41052
+0, 144, 144, 1, 921600, 0x9ed41052
+0, 145, 145, 1, 921600, 0xd4db7206
+0, 146, 146, 1, 921600, 0xd4db7206
+0, 147, 147, 1, 921600, 0xd4db7206
+0, 148, 148, 1, 921600, 0x55f695a9
+0, 149, 149, 1, 921600, 0x55f695a9
+0, 150, 150, 1, 921600, 0x9d8c667f
+0, 151, 151, 1, 921600, 0x9d8c667f
+0, 152, 152, 1, 921600, 0x9d8c667f
+0, 153, 153, 1, 921600, 0x9b6037ec
+0, 154, 154, 1, 921600, 0x9b6037ec
+0, 155, 155, 1, 921600, 0x57c5e835
+0, 156, 156, 1, 921600, 0x57c5e835
+0, 157, 157, 1, 921600, 0x57c5e835
+0, 158, 158, 1, 921600, 0x476dad89
+0, 159, 159, 1, 921600, 0x476dad89
+0, 160, 160, 1, 921600, 0xcfd6ad2b
+0, 161, 161, 1, 921600, 0xcfd6ad2b
+0, 162, 162, 1, 921600, 0xcfd6ad2b
+0, 163, 163, 1, 921600, 0x3b372379
+0, 164, 164, 1, 921600, 0x3b372379
+0, 165, 165, 1, 921600, 0x36f245f5
+0, 166, 166, 1, 921600, 0x36f245f5
diff --git a/tests/ref/fate/quickdraw b/tests/ref/fate/quickdraw
index 5d6303b70d..f88e9c7310 100644
--- a/tests/ref/fate/quickdraw
+++ b/tests/ref/fate/quickdraw
@@ -1,2 +1,3 @@
-0, 0, 921600, 0xc0e68764
-0, 6000, 921600, 0x01a16629
+#tb 0: 1/15
+0, 0, 0, 1, 921600, 0xc0e68764
+0, 1, 1, 1, 921600, 0x01a16629
diff --git a/tests/ref/fate/r210 b/tests/ref/fate/r210
index 238a1364e5..45bb10c2f4 100644
--- a/tests/ref/fate/r210
+++ b/tests/ref/fate/r210
@@ -1,3 +1,4 @@
-0, 0, 1843200, 0xbd414b93
-0, 3003, 1843200, 0x23298f1f
-0, 6006, 1843200, 0x5a56df19
+#tb 0: 1001/30000
+0, 0, 0, 1, 1843200, 0xbd414b93
+0, 1, 1, 1, 1843200, 0x23298f1f
+0, 2, 2, 1, 1843200, 0x5a56df19
diff --git a/tests/ref/fate/real-rv40 b/tests/ref/fate/real-rv40
index c63c525d08..6159859cad 100644
--- a/tests/ref/fate/real-rv40
+++ b/tests/ref/fate/real-rv40
@@ -1,240 +1,241 @@
-0, 0, 276480, 0x5f7a0d4f
-0, 3754, 276480, 0x5f7a0d4f
-0, 7507, 276480, 0x5f7a0d4f
-0, 11261, 276480, 0x5f7a0d4f
-0, 15015, 276480, 0x5f7a0d4f
-0, 18769, 276480, 0x5f7a0d4f
-0, 22522, 276480, 0x5f7a0d4f
-0, 26276, 276480, 0x5f7a0d4f
-0, 30030, 276480, 0x5f7a0d4f
-0, 33784, 276480, 0x5f7a0d4f
-0, 37537, 276480, 0x5f7a0d4f
-0, 41291, 276480, 0x5f7a0d4f
-0, 45045, 276480, 0x5f7a0d4f
-0, 48799, 276480, 0x5f7a0d4f
-0, 52552, 276480, 0x5f7a0d4f
-0, 56306, 276480, 0x5f7a0d4f
-0, 60060, 276480, 0x5f7a0d4f
-0, 63814, 276480, 0x5f7a0d4f
-0, 67567, 276480, 0x5f7a0d4f
-0, 71321, 276480, 0x5f7a0d4f
-0, 75075, 276480, 0x5f7a0d4f
-0, 78829, 276480, 0x5f7a0d4f
-0, 82582, 276480, 0x5f7a0d4f
-0, 86336, 276480, 0x5f7a0d4f
-0, 90090, 276480, 0x5f7a0d4f
-0, 93844, 276480, 0x5f7a0d4f
-0, 97597, 276480, 0x5f7a0d4f
-0, 101351, 276480, 0x5f7a0d4f
-0, 105105, 276480, 0x5f7a0d4f
-0, 108859, 276480, 0x5f7a0d4f
-0, 112612, 276480, 0x5f7a0d4f
-0, 116366, 276480, 0x5f7a0d4f
-0, 120120, 276480, 0x5f7a0d4f
-0, 123874, 276480, 0x75641594
-0, 127627, 276480, 0x32ee3526
-0, 131381, 276480, 0xcb53479a
-0, 135135, 276480, 0x7ca9658e
-0, 138889, 276480, 0x5ce39368
-0, 142642, 276480, 0x4ec1e418
-0, 146396, 276480, 0xb3790499
-0, 150150, 276480, 0xa9f1506f
-0, 153904, 276480, 0x85cbc3b5
-0, 157657, 276480, 0x377c7b46
-0, 161411, 276480, 0x1a61d8db
-0, 165165, 276480, 0xe1de7f0a
-0, 168919, 276480, 0x756a4a2e
-0, 172672, 276480, 0xcb379547
-0, 176426, 276480, 0xbae14484
-0, 180180, 276480, 0x8e12331c
-0, 183934, 276480, 0x99c085be
-0, 187687, 276480, 0xe479ffed
-0, 191441, 276480, 0x99c82949
-0, 195195, 276480, 0xac7672dd
-0, 198949, 276480, 0x1e4fae19
-0, 202702, 276480, 0x776412ef
-0, 206456, 276480, 0x7d9b579f
-0, 210210, 276480, 0x1cd1ab29
-0, 213964, 276480, 0x58ce0f38
-0, 217717, 276480, 0x5ab69b27
-0, 221471, 276480, 0x0afad610
-0, 225225, 276480, 0x9eca3f11
-0, 228979, 276480, 0xc3db9706
-0, 232732, 276480, 0xc9c57884
-0, 236486, 276480, 0xd9fbb2cf
-0, 240240, 276480, 0xdc07f3c9
-0, 243994, 276480, 0x000b5269
-0, 247747, 276480, 0x27ff7a5d
-0, 251501, 276480, 0xd92e2017
-0, 255255, 276480, 0x18d4b27d
-0, 259009, 276480, 0x70647530
-0, 262762, 276480, 0x97612c4b
-0, 266516, 276480, 0xc9d4ac78
-0, 270270, 276480, 0x4ec4d57f
-0, 274024, 276480, 0xdf4e04d7
-0, 277777, 276480, 0xbd98f57c
-0, 281531, 276480, 0x7247ea3e
-0, 285285, 276480, 0xa5d670ec
-0, 289039, 276480, 0x5163b29b
-0, 292792, 276480, 0x99170e64
-0, 296546, 276480, 0x37f4c0b0
-0, 300300, 276480, 0x7a4f2561
-0, 304053, 276480, 0x8a4e991f
-0, 307807, 276480, 0x6a45425f
-0, 311561, 276480, 0x1f0e2bb6
-0, 315315, 276480, 0xd75482c6
-0, 319068, 276480, 0x7bf6b1ef
-0, 322822, 276480, 0x6de1e34b
-0, 326576, 276480, 0x4526c89b
-0, 330330, 276480, 0xf964e18e
-0, 334083, 276480, 0xdcaaa99a
-0, 337837, 276480, 0xd1e98808
-0, 341591, 276480, 0x556b2365
-0, 345345, 276480, 0x0cf65540
-0, 349098, 276480, 0x6e2d524e
-0, 352852, 276480, 0x22c50a3d
-0, 356606, 276480, 0x293f19af
-0, 360360, 276480, 0xf4b1c461
-0, 364113, 276480, 0x62b76407
-0, 367867, 276480, 0x51e9b3eb
-0, 371621, 276480, 0x7b910bc7
-0, 375375, 276480, 0x6dd14ca6
-0, 379128, 276480, 0x441f7afd
-0, 382882, 276480, 0xfb01efc6
-0, 386636, 276480, 0x4f73ccea
-0, 390390, 276480, 0x5ac8e06f
-0, 394143, 276480, 0x294bb441
-0, 397897, 276480, 0xe04ac45e
-0, 401651, 276480, 0xa7a38d41
-0, 405405, 276480, 0xf688a3ed
-0, 409158, 276480, 0x58f275ea
-0, 412912, 276480, 0xf0b3b71b
-0, 416666, 276480, 0x3ce773bf
-0, 420420, 276480, 0x01840548
-0, 424173, 276480, 0x674e34e4
-0, 427927, 276480, 0x41dda2d9
-0, 431681, 276480, 0xc5b60838
-0, 435435, 276480, 0x9b209f41
-0, 439188, 276480, 0xf46ba7fb
-0, 442942, 276480, 0x28b54815
-0, 446696, 276480, 0xb605a933
-0, 450450, 276480, 0x34484aff
-0, 454203, 276480, 0xaf2b5d89
-0, 457957, 276480, 0x8facba58
-0, 461711, 276480, 0xbbe3e99f
-0, 465465, 276480, 0x02162c7c
-0, 469218, 276480, 0x28a63236
-0, 472972, 276480, 0x1ad43fd7
-0, 476726, 276480, 0xe37883e5
-0, 480480, 276480, 0x2b8a89c5
-0, 484233, 276480, 0x71507bd2
-0, 487987, 276480, 0x35626022
-0, 491741, 276480, 0x461fc3e7
-0, 495495, 276480, 0xce5af1ec
-0, 499248, 276480, 0x7c1139b3
-0, 503002, 276480, 0x7fd73a99
-0, 506756, 276480, 0x4ae4c3a6
-0, 510510, 276480, 0xcb60725a
-0, 514263, 276480, 0xb52e1aa2
-0, 518017, 276480, 0xd6f82cae
-0, 521771, 276480, 0x6310e665
-0, 525525, 276480, 0xfa88a483
-0, 529278, 276480, 0xf88f75d4
-0, 533032, 276480, 0x04a8e3ee
-0, 536786, 276480, 0x54766a12
-0, 540540, 276480, 0x0b41f0d7
-0, 544293, 276480, 0xa29f5b01
-0, 548047, 276480, 0x754ceaf5
-0, 551801, 276480, 0x150c0423
-0, 555555, 276480, 0xde084059
-0, 559308, 276480, 0x5a38b4af
-0, 563062, 276480, 0xfcebc261
-0, 566816, 276480, 0x0eb9770d
-0, 570570, 276480, 0x046394ae
-0, 574323, 276480, 0x3d3ca985
-0, 578077, 276480, 0x94a03c75
-0, 581831, 276480, 0x800eea2d
-0, 585585, 276480, 0x6a841f41
-0, 589338, 276480, 0x2f98911c
-0, 593092, 276480, 0x923b9937
-0, 596846, 276480, 0xe82f8e0f
-0, 600600, 276480, 0xee82d657
-0, 604353, 276480, 0xefab7ffd
-0, 608107, 276480, 0x6b9fbc80
-0, 611861, 276480, 0x4a1ada47
-0, 615614, 276480, 0x6d4b49d7
-0, 619368, 276480, 0xe4bdbd1e
-0, 623122, 276480, 0x225a56c0
-0, 626876, 276480, 0xd4adadad
-0, 630629, 276480, 0xff4e1a8c
-0, 634383, 276480, 0xf58b1b7c
-0, 638137, 276480, 0xbaffcdcc
-0, 641891, 276480, 0x374f88f0
-0, 645644, 276480, 0x3d861ae6
-0, 649398, 276480, 0xeb6eb88f
-0, 653152, 276480, 0xdb753d35
-0, 656906, 276480, 0x9aa543af
-0, 660659, 276480, 0xb24c8016
-0, 664413, 276480, 0xea80a82e
-0, 668167, 276480, 0x2aae902a
-0, 671921, 276480, 0x5bba3cfb
-0, 675674, 276480, 0x5c6e97a9
-0, 679428, 276480, 0x9b9ee961
-0, 683182, 276480, 0xaa12b6fd
-0, 686936, 276480, 0xe9d2439f
-0, 690689, 276480, 0xbf09053c
-0, 694443, 276480, 0x50c31e73
-0, 698197, 276480, 0xdd9fb89f
-0, 701951, 276480, 0x3e4e5aec
-0, 705704, 276480, 0x0b752d28
-0, 709458, 276480, 0xaf82399a
-0, 713212, 276480, 0x7ce5f23c
-0, 716966, 276480, 0xad135d0f
-0, 720719, 276480, 0x55dadd30
-0, 724473, 276480, 0x5aaa7519
-0, 728227, 276480, 0xe45a5599
-0, 731981, 276480, 0xc8e89913
-0, 735734, 276480, 0x2f447fd3
-0, 739488, 276480, 0x704411fb
-0, 743242, 276480, 0x9d7430a1
-0, 746996, 276480, 0x24dd5fd3
-0, 750749, 276480, 0x51cb657c
-0, 754503, 276480, 0x2c230702
-0, 758257, 276480, 0x4a4f76cd
-0, 762011, 276480, 0xdcd71e88
-0, 765764, 276480, 0x87160f99
-0, 769518, 276480, 0x27f54854
-0, 773272, 276480, 0x694d76e3
-0, 777026, 276480, 0xcbe93c19
-0, 780779, 276480, 0x50742e1b
-0, 784533, 276480, 0x525463e2
-0, 788287, 276480, 0x819898f9
-0, 792041, 276480, 0x08fac755
-0, 795794, 276480, 0x35c46927
-0, 799548, 276480, 0xeeed00fc
-0, 803302, 276480, 0xb6f99ee3
-0, 807056, 276480, 0xd87f4c73
-0, 810809, 276480, 0xde97d9fd
-0, 814563, 276480, 0xefc83107
-0, 818317, 276480, 0xbb22e024
-0, 822071, 276480, 0x53a7cfcb
-0, 825824, 276480, 0xbe1fbb19
-0, 829578, 276480, 0x300f922a
-0, 833332, 276480, 0x826fc3bd
-0, 837086, 276480, 0x679aa57a
-0, 840839, 276480, 0x5497097b
-0, 844593, 276480, 0x679a53f8
-0, 848347, 276480, 0x976c9e93
-0, 852101, 276480, 0xe80f87f2
-0, 855854, 276480, 0xdc2d7c6c
-0, 859608, 276480, 0xb194656e
-0, 863362, 276480, 0xf002c5ca
-0, 867116, 276480, 0x43fc1c64
-0, 870869, 276480, 0xf62d8581
-0, 874623, 276480, 0xb243dda5
-0, 878377, 276480, 0x1700efbb
-0, 882131, 276480, 0x9ebe6ba2
-0, 885884, 276480, 0x8f316c66
-0, 889638, 276480, 0x6348ecf5
-0, 893392, 276480, 0x34b5b78a
-0, 897146, 276480, 0xcbf66922
+#tb 0: 32768/785647
+0, 0, 0, 1, 276480, 0x5f7a0d4f
+0, 1, 1, 1, 276480, 0x5f7a0d4f
+0, 2, 2, 1, 276480, 0x5f7a0d4f
+0, 3, 3, 1, 276480, 0x5f7a0d4f
+0, 4, 4, 1, 276480, 0x5f7a0d4f
+0, 5, 5, 1, 276480, 0x5f7a0d4f
+0, 6, 6, 1, 276480, 0x5f7a0d4f
+0, 7, 7, 1, 276480, 0x5f7a0d4f
+0, 8, 8, 1, 276480, 0x5f7a0d4f
+0, 9, 9, 1, 276480, 0x5f7a0d4f
+0, 10, 10, 1, 276480, 0x5f7a0d4f
+0, 11, 11, 1, 276480, 0x5f7a0d4f
+0, 12, 12, 1, 276480, 0x5f7a0d4f
+0, 13, 13, 1, 276480, 0x5f7a0d4f
+0, 14, 14, 1, 276480, 0x5f7a0d4f
+0, 15, 15, 1, 276480, 0x5f7a0d4f
+0, 16, 16, 1, 276480, 0x5f7a0d4f
+0, 17, 17, 1, 276480, 0x5f7a0d4f
+0, 18, 18, 1, 276480, 0x5f7a0d4f
+0, 19, 19, 1, 276480, 0x5f7a0d4f
+0, 20, 20, 1, 276480, 0x5f7a0d4f
+0, 21, 21, 1, 276480, 0x5f7a0d4f
+0, 22, 22, 1, 276480, 0x5f7a0d4f
+0, 23, 23, 1, 276480, 0x5f7a0d4f
+0, 24, 24, 1, 276480, 0x5f7a0d4f
+0, 25, 25, 1, 276480, 0x5f7a0d4f
+0, 26, 26, 1, 276480, 0x5f7a0d4f
+0, 27, 27, 1, 276480, 0x5f7a0d4f
+0, 28, 28, 1, 276480, 0x5f7a0d4f
+0, 29, 29, 1, 276480, 0x5f7a0d4f
+0, 30, 30, 1, 276480, 0x5f7a0d4f
+0, 31, 31, 1, 276480, 0x5f7a0d4f
+0, 32, 32, 1, 276480, 0x5f7a0d4f
+0, 33, 33, 1, 276480, 0x75641594
+0, 34, 34, 1, 276480, 0x32ee3526
+0, 35, 35, 1, 276480, 0xcb53479a
+0, 36, 36, 1, 276480, 0x7ca9658e
+0, 37, 37, 1, 276480, 0x5ce39368
+0, 38, 38, 1, 276480, 0x4ec1e418
+0, 39, 39, 1, 276480, 0xb3790499
+0, 40, 40, 1, 276480, 0xa9f1506f
+0, 41, 41, 1, 276480, 0x85cbc3b5
+0, 42, 42, 1, 276480, 0x377c7b46
+0, 43, 43, 1, 276480, 0x1a61d8db
+0, 44, 44, 1, 276480, 0xe1de7f0a
+0, 45, 45, 1, 276480, 0x756a4a2e
+0, 46, 46, 1, 276480, 0xcb379547
+0, 47, 47, 1, 276480, 0xbae14484
+0, 48, 48, 1, 276480, 0x8e12331c
+0, 49, 49, 1, 276480, 0x99c085be
+0, 50, 50, 1, 276480, 0xe479ffed
+0, 51, 51, 1, 276480, 0x99c82949
+0, 52, 52, 1, 276480, 0xac7672dd
+0, 53, 53, 1, 276480, 0x1e4fae19
+0, 54, 54, 1, 276480, 0x776412ef
+0, 55, 55, 1, 276480, 0x7d9b579f
+0, 56, 56, 1, 276480, 0x1cd1ab29
+0, 57, 57, 1, 276480, 0x58ce0f38
+0, 58, 58, 1, 276480, 0x5ab69b27
+0, 59, 59, 1, 276480, 0x0afad610
+0, 60, 60, 1, 276480, 0x9eca3f11
+0, 61, 61, 1, 276480, 0xc3db9706
+0, 62, 62, 1, 276480, 0xc9c57884
+0, 63, 63, 1, 276480, 0xd9fbb2cf
+0, 64, 64, 1, 276480, 0xdc07f3c9
+0, 65, 65, 1, 276480, 0x000b5269
+0, 66, 66, 1, 276480, 0x27ff7a5d
+0, 67, 67, 1, 276480, 0xd92e2017
+0, 68, 68, 1, 276480, 0x18d4b27d
+0, 69, 69, 1, 276480, 0x70647530
+0, 70, 70, 1, 276480, 0x97612c4b
+0, 71, 71, 1, 276480, 0xc9d4ac78
+0, 72, 72, 1, 276480, 0x4ec4d57f
+0, 73, 73, 1, 276480, 0xdf4e04d7
+0, 74, 74, 1, 276480, 0xbd98f57c
+0, 75, 75, 1, 276480, 0x7247ea3e
+0, 76, 76, 1, 276480, 0xa5d670ec
+0, 77, 77, 1, 276480, 0x5163b29b
+0, 78, 78, 1, 276480, 0x99170e64
+0, 79, 79, 1, 276480, 0x37f4c0b0
+0, 80, 80, 1, 276480, 0x7a4f2561
+0, 81, 81, 1, 276480, 0x8a4e991f
+0, 82, 82, 1, 276480, 0x6a45425f
+0, 83, 83, 1, 276480, 0x1f0e2bb6
+0, 84, 84, 1, 276480, 0xd75482c6
+0, 85, 85, 1, 276480, 0x7bf6b1ef
+0, 86, 86, 1, 276480, 0x6de1e34b
+0, 87, 87, 1, 276480, 0x4526c89b
+0, 88, 88, 1, 276480, 0xf964e18e
+0, 89, 89, 1, 276480, 0xdcaaa99a
+0, 90, 90, 1, 276480, 0xd1e98808
+0, 91, 91, 1, 276480, 0x556b2365
+0, 92, 92, 1, 276480, 0x0cf65540
+0, 93, 93, 1, 276480, 0x6e2d524e
+0, 94, 94, 1, 276480, 0x22c50a3d
+0, 95, 95, 1, 276480, 0x293f19af
+0, 96, 96, 1, 276480, 0xf4b1c461
+0, 97, 97, 1, 276480, 0x62b76407
+0, 98, 98, 1, 276480, 0x51e9b3eb
+0, 99, 99, 1, 276480, 0x7b910bc7
+0, 100, 100, 1, 276480, 0x6dd14ca6
+0, 101, 101, 1, 276480, 0x441f7afd
+0, 102, 102, 1, 276480, 0xfb01efc6
+0, 103, 103, 1, 276480, 0x4f73ccea
+0, 104, 104, 1, 276480, 0x5ac8e06f
+0, 105, 105, 1, 276480, 0x294bb441
+0, 106, 106, 1, 276480, 0xe04ac45e
+0, 107, 107, 1, 276480, 0xa7a38d41
+0, 108, 108, 1, 276480, 0xf688a3ed
+0, 109, 109, 1, 276480, 0x58f275ea
+0, 110, 110, 1, 276480, 0xf0b3b71b
+0, 111, 111, 1, 276480, 0x3ce773bf
+0, 112, 112, 1, 276480, 0x01840548
+0, 113, 113, 1, 276480, 0x674e34e4
+0, 114, 114, 1, 276480, 0x41dda2d9
+0, 115, 115, 1, 276480, 0xc5b60838
+0, 116, 116, 1, 276480, 0x9b209f41
+0, 117, 117, 1, 276480, 0xf46ba7fb
+0, 118, 118, 1, 276480, 0x28b54815
+0, 119, 119, 1, 276480, 0xb605a933
+0, 120, 120, 1, 276480, 0x34484aff
+0, 121, 121, 1, 276480, 0xaf2b5d89
+0, 122, 122, 1, 276480, 0x8facba58
+0, 123, 123, 1, 276480, 0xbbe3e99f
+0, 124, 124, 1, 276480, 0x02162c7c
+0, 125, 125, 1, 276480, 0x28a63236
+0, 126, 126, 1, 276480, 0x1ad43fd7
+0, 127, 127, 1, 276480, 0xe37883e5
+0, 128, 128, 1, 276480, 0x2b8a89c5
+0, 129, 129, 1, 276480, 0x71507bd2
+0, 130, 130, 1, 276480, 0x35626022
+0, 131, 131, 1, 276480, 0x461fc3e7
+0, 132, 132, 1, 276480, 0xce5af1ec
+0, 133, 133, 1, 276480, 0x7c1139b3
+0, 134, 134, 1, 276480, 0x7fd73a99
+0, 135, 135, 1, 276480, 0x4ae4c3a6
+0, 136, 136, 1, 276480, 0xcb60725a
+0, 137, 137, 1, 276480, 0xb52e1aa2
+0, 138, 138, 1, 276480, 0xd6f82cae
+0, 139, 139, 1, 276480, 0x6310e665
+0, 140, 140, 1, 276480, 0xfa88a483
+0, 141, 141, 1, 276480, 0xf88f75d4
+0, 142, 142, 1, 276480, 0x04a8e3ee
+0, 143, 143, 1, 276480, 0x54766a12
+0, 144, 144, 1, 276480, 0x0b41f0d7
+0, 145, 145, 1, 276480, 0xa29f5b01
+0, 146, 146, 1, 276480, 0x754ceaf5
+0, 147, 147, 1, 276480, 0x150c0423
+0, 148, 148, 1, 276480, 0xde084059
+0, 149, 149, 1, 276480, 0x5a38b4af
+0, 150, 150, 1, 276480, 0xfcebc261
+0, 151, 151, 1, 276480, 0x0eb9770d
+0, 152, 152, 1, 276480, 0x046394ae
+0, 153, 153, 1, 276480, 0x3d3ca985
+0, 154, 154, 1, 276480, 0x94a03c75
+0, 155, 155, 1, 276480, 0x800eea2d
+0, 156, 156, 1, 276480, 0x6a841f41
+0, 157, 157, 1, 276480, 0x2f98911c
+0, 158, 158, 1, 276480, 0x923b9937
+0, 159, 159, 1, 276480, 0xe82f8e0f
+0, 160, 160, 1, 276480, 0xee82d657
+0, 161, 161, 1, 276480, 0xefab7ffd
+0, 162, 162, 1, 276480, 0x6b9fbc80
+0, 163, 163, 1, 276480, 0x4a1ada47
+0, 164, 164, 1, 276480, 0x6d4b49d7
+0, 165, 165, 1, 276480, 0xe4bdbd1e
+0, 166, 166, 1, 276480, 0x225a56c0
+0, 167, 167, 1, 276480, 0xd4adadad
+0, 168, 168, 1, 276480, 0xff4e1a8c
+0, 169, 169, 1, 276480, 0xf58b1b7c
+0, 170, 170, 1, 276480, 0xbaffcdcc
+0, 171, 171, 1, 276480, 0x374f88f0
+0, 172, 172, 1, 276480, 0x3d861ae6
+0, 173, 173, 1, 276480, 0xeb6eb88f
+0, 174, 174, 1, 276480, 0xdb753d35
+0, 175, 175, 1, 276480, 0x9aa543af
+0, 176, 176, 1, 276480, 0xb24c8016
+0, 177, 177, 1, 276480, 0xea80a82e
+0, 178, 178, 1, 276480, 0x2aae902a
+0, 179, 179, 1, 276480, 0x5bba3cfb
+0, 180, 180, 1, 276480, 0x5c6e97a9
+0, 181, 181, 1, 276480, 0x9b9ee961
+0, 182, 182, 1, 276480, 0xaa12b6fd
+0, 183, 183, 1, 276480, 0xe9d2439f
+0, 184, 184, 1, 276480, 0xbf09053c
+0, 185, 185, 1, 276480, 0x50c31e73
+0, 186, 186, 1, 276480, 0xdd9fb89f
+0, 187, 187, 1, 276480, 0x3e4e5aec
+0, 188, 188, 1, 276480, 0x0b752d28
+0, 189, 189, 1, 276480, 0xaf82399a
+0, 190, 190, 1, 276480, 0x7ce5f23c
+0, 191, 191, 1, 276480, 0xad135d0f
+0, 192, 192, 1, 276480, 0x55dadd30
+0, 193, 193, 1, 276480, 0x5aaa7519
+0, 194, 194, 1, 276480, 0xe45a5599
+0, 195, 195, 1, 276480, 0xc8e89913
+0, 196, 196, 1, 276480, 0x2f447fd3
+0, 197, 197, 1, 276480, 0x704411fb
+0, 198, 198, 1, 276480, 0x9d7430a1
+0, 199, 199, 1, 276480, 0x24dd5fd3
+0, 200, 200, 1, 276480, 0x51cb657c
+0, 201, 201, 1, 276480, 0x2c230702
+0, 202, 202, 1, 276480, 0x4a4f76cd
+0, 203, 203, 1, 276480, 0xdcd71e88
+0, 204, 204, 1, 276480, 0x87160f99
+0, 205, 205, 1, 276480, 0x27f54854
+0, 206, 206, 1, 276480, 0x694d76e3
+0, 207, 207, 1, 276480, 0xcbe93c19
+0, 208, 208, 1, 276480, 0x50742e1b
+0, 209, 209, 1, 276480, 0x525463e2
+0, 210, 210, 1, 276480, 0x819898f9
+0, 211, 211, 1, 276480, 0x08fac755
+0, 212, 212, 1, 276480, 0x35c46927
+0, 213, 213, 1, 276480, 0xeeed00fc
+0, 214, 214, 1, 276480, 0xb6f99ee3
+0, 215, 215, 1, 276480, 0xd87f4c73
+0, 216, 216, 1, 276480, 0xde97d9fd
+0, 217, 217, 1, 276480, 0xefc83107
+0, 218, 218, 1, 276480, 0xbb22e024
+0, 219, 219, 1, 276480, 0x53a7cfcb
+0, 220, 220, 1, 276480, 0xbe1fbb19
+0, 221, 221, 1, 276480, 0x300f922a
+0, 222, 222, 1, 276480, 0x826fc3bd
+0, 223, 223, 1, 276480, 0x679aa57a
+0, 224, 224, 1, 276480, 0x5497097b
+0, 225, 225, 1, 276480, 0x679a53f8
+0, 226, 226, 1, 276480, 0x976c9e93
+0, 227, 227, 1, 276480, 0xe80f87f2
+0, 228, 228, 1, 276480, 0xdc2d7c6c
+0, 229, 229, 1, 276480, 0xb194656e
+0, 230, 230, 1, 276480, 0xf002c5ca
+0, 231, 231, 1, 276480, 0x43fc1c64
+0, 232, 232, 1, 276480, 0xf62d8581
+0, 233, 233, 1, 276480, 0xb243dda5
+0, 234, 234, 1, 276480, 0x1700efbb
+0, 235, 235, 1, 276480, 0x9ebe6ba2
+0, 236, 236, 1, 276480, 0x8f316c66
+0, 237, 237, 1, 276480, 0x6348ecf5
+0, 238, 238, 1, 276480, 0x34b5b78a
+0, 239, 239, 1, 276480, 0xcbf66922
diff --git a/tests/ref/fate/redcode-demux b/tests/ref/fate/redcode-demux
index 2a4db65ce2..34a2924b94 100644
--- a/tests/ref/fate/redcode-demux
+++ b/tests/ref/fate/redcode-demux
@@ -1,5 +1,7 @@
-0, 0, 1626280, 0x5768c7d6
-1, 0, 14816, 0xd185e8c7
-0, 3754, 1626092, 0x070bd882
-1, 6803, 32736, 0x791b737a
-0, 7508, 893932, 0x8c7cd0a6
+#tb 0: 1/240000
+#tb 1: 1/240000
+0, 0, 0, 10010, 1626280, 0x5768c7d6
+1, 0, 0, 18140, 14816, 0xd185e8c7
+0, 10010, 10010, 10010, 1626092, 0x070bd882
+1, 18140, 18140, 40920, 32736, 0x791b737a
+0, 20020, 20020, 10010, 893932, 0x8c7cd0a6
diff --git a/tests/ref/fate/rl2 b/tests/ref/fate/rl2
index 7a2146d63e..d7dd23dd20 100644
--- a/tests/ref/fate/rl2
+++ b/tests/ref/fate/rl2
@@ -1,108 +1,109 @@
-0, 0, 192000, 0x7112a667
-0, 9559, 192000, 0x6936abf3
-0, 19118, 192000, 0xb1f08981
-0, 28678, 192000, 0x4ce7fece
-0, 38237, 192000, 0xf04decde
-0, 47796, 192000, 0x47fef74b
-0, 57355, 192000, 0x99b42ac2
-0, 66914, 192000, 0x3c4c419d
-0, 76473, 192000, 0x66bf5588
-0, 86033, 192000, 0xe1de4725
-0, 95592, 192000, 0x348b2af9
-0, 105151, 192000, 0x1ce73e83
-0, 114710, 192000, 0xcdaa6e02
-0, 124269, 192000, 0x370dc2ce
-0, 133829, 192000, 0x1e1e40fe
-0, 143388, 192000, 0x491470a4
-0, 152947, 192000, 0x88c43e9a
-0, 162506, 192000, 0x036f3f44
-0, 172065, 192000, 0xc8be7e25
-0, 181624, 192000, 0xbedb397d
-0, 191184, 192000, 0x97c410f4
-0, 200743, 192000, 0xc2c8225d
-0, 210302, 192000, 0xe396bccb
-0, 219861, 192000, 0x7e89c24c
-0, 229420, 192000, 0xb044954c
-0, 238980, 192000, 0x335890dd
-0, 248539, 192000, 0x58a457c0
-0, 258098, 192000, 0xeb0f4798
-0, 267657, 192000, 0x0bfc39a1
-0, 277216, 192000, 0x06a6905a
-0, 286776, 192000, 0x5300c99b
-0, 296335, 192000, 0x38f3f845
-0, 305894, 192000, 0x6afa3543
-0, 315453, 192000, 0x5106a8e0
-0, 325012, 192000, 0xc76f0dab
-0, 334571, 192000, 0x8efa6939
-0, 344131, 192000, 0x64ea23d7
-0, 353690, 192000, 0x421a2817
-0, 363249, 192000, 0xc854fa18
-0, 372808, 192000, 0x4a10d59c
-0, 382367, 192000, 0x72637829
-0, 391927, 192000, 0xdbbe2796
-0, 401486, 192000, 0xff742e6b
-0, 411045, 192000, 0xf94b9346
-0, 420604, 192000, 0xc90ea53c
-0, 430163, 192000, 0x177483bb
-0, 439722, 192000, 0x3510369c
-0, 449282, 192000, 0x501034bf
-0, 458841, 192000, 0x315c744b
-0, 468400, 192000, 0xdb5048ae
-0, 477959, 192000, 0x09a86221
-0, 487518, 192000, 0xb9c9568a
-0, 497078, 192000, 0x5eee665b
-0, 506637, 192000, 0xdef85517
-0, 516196, 192000, 0x7896b5ad
-0, 525755, 192000, 0x19fbad39
-0, 535314, 192000, 0x63358748
-0, 544873, 192000, 0xca0196a3
-0, 554433, 192000, 0x0b321da3
-0, 563992, 192000, 0xa07af07e
-0, 573551, 192000, 0x21f9310c
-0, 583110, 192000, 0x62d59874
-0, 592669, 192000, 0x021227b4
-0, 602229, 192000, 0x01dac0c2
-0, 611788, 192000, 0xf3c33a74
-0, 621347, 192000, 0xeebe83b7
-0, 630906, 192000, 0x9ec77f97
-0, 640465, 192000, 0xc91c2e37
-0, 650024, 192000, 0x7b58751d
-0, 659584, 192000, 0xb178dfbb
-0, 669143, 192000, 0x2a63b5be
-0, 678702, 192000, 0x44a407ac
-0, 688261, 192000, 0x9a8e17dd
-0, 697820, 192000, 0x5546f4c8
-0, 707380, 192000, 0xeda94586
-0, 716939, 192000, 0x941dfa6b
-0, 726498, 192000, 0x9772301d
-0, 736057, 192000, 0x8be16b16
-0, 745616, 192000, 0x26dd4496
-0, 755176, 192000, 0x27823797
-0, 764735, 192000, 0xacc914f7
-0, 774294, 192000, 0xcbb72c9b
-0, 783853, 192000, 0x4bd3391c
-0, 793412, 192000, 0x4e6adbfe
-0, 802971, 192000, 0x7a791c75
-0, 812531, 192000, 0xc4f59c94
-0, 822090, 192000, 0xc4f59c94
-0, 831649, 192000, 0x984a4a0b
-0, 841208, 192000, 0x3353f31f
-0, 850767, 192000, 0xa9d4dc5a
-0, 860327, 192000, 0xb33425d0
-0, 869886, 192000, 0x546d768a
-0, 879445, 192000, 0xfefbe5c9
-0, 889004, 192000, 0xbd6be61d
-0, 898563, 192000, 0xf5792731
-0, 908122, 192000, 0xccde0582
-0, 917682, 192000, 0x857d58ee
-0, 927241, 192000, 0xe914ce48
-0, 936800, 192000, 0x1f736298
-0, 946359, 192000, 0xec0b4846
-0, 955918, 192000, 0xe1422624
-0, 965478, 192000, 0x56e2b0e0
-0, 975037, 192000, 0xc4190640
-0, 984596, 192000, 0x7c461977
-0, 994155, 192000, 0x34b1d5e8
-0, 1003714, 192000, 0xbdc70f7a
-0, 1013273, 192000, 0xb466cd8d
-0, 1022833, 192000, 0x0e86a04c
+#tb 0: 1171/11025
+0, 0, 0, 1, 192000, 0x7112a667
+0, 1, 1, 1, 192000, 0x6936abf3
+0, 2, 2, 1, 192000, 0xb1f08981
+0, 3, 3, 1, 192000, 0x4ce7fece
+0, 4, 4, 1, 192000, 0xf04decde
+0, 5, 5, 1, 192000, 0x47fef74b
+0, 6, 6, 1, 192000, 0x99b42ac2
+0, 7, 7, 1, 192000, 0x3c4c419d
+0, 8, 8, 1, 192000, 0x66bf5588
+0, 9, 9, 1, 192000, 0xe1de4725
+0, 10, 10, 1, 192000, 0x348b2af9
+0, 11, 11, 1, 192000, 0x1ce73e83
+0, 12, 12, 1, 192000, 0xcdaa6e02
+0, 13, 13, 1, 192000, 0x370dc2ce
+0, 14, 14, 1, 192000, 0x1e1e40fe
+0, 15, 15, 1, 192000, 0x491470a4
+0, 16, 16, 1, 192000, 0x88c43e9a
+0, 17, 17, 1, 192000, 0x036f3f44
+0, 18, 18, 1, 192000, 0xc8be7e25
+0, 19, 19, 1, 192000, 0xbedb397d
+0, 20, 20, 1, 192000, 0x97c410f4
+0, 21, 21, 1, 192000, 0xc2c8225d
+0, 22, 22, 1, 192000, 0xe396bccb
+0, 23, 23, 1, 192000, 0x7e89c24c
+0, 24, 24, 1, 192000, 0xb044954c
+0, 25, 25, 1, 192000, 0x335890dd
+0, 26, 26, 1, 192000, 0x58a457c0
+0, 27, 27, 1, 192000, 0xeb0f4798
+0, 28, 28, 1, 192000, 0x0bfc39a1
+0, 29, 29, 1, 192000, 0x06a6905a
+0, 30, 30, 1, 192000, 0x5300c99b
+0, 31, 31, 1, 192000, 0x38f3f845
+0, 32, 32, 1, 192000, 0x6afa3543
+0, 33, 33, 1, 192000, 0x5106a8e0
+0, 34, 34, 1, 192000, 0xc76f0dab
+0, 35, 35, 1, 192000, 0x8efa6939
+0, 36, 36, 1, 192000, 0x64ea23d7
+0, 37, 37, 1, 192000, 0x421a2817
+0, 38, 38, 1, 192000, 0xc854fa18
+0, 39, 39, 1, 192000, 0x4a10d59c
+0, 40, 40, 1, 192000, 0x72637829
+0, 41, 41, 1, 192000, 0xdbbe2796
+0, 42, 42, 1, 192000, 0xff742e6b
+0, 43, 43, 1, 192000, 0xf94b9346
+0, 44, 44, 1, 192000, 0xc90ea53c
+0, 45, 45, 1, 192000, 0x177483bb
+0, 46, 46, 1, 192000, 0x3510369c
+0, 47, 47, 1, 192000, 0x501034bf
+0, 48, 48, 1, 192000, 0x315c744b
+0, 49, 49, 1, 192000, 0xdb5048ae
+0, 50, 50, 1, 192000, 0x09a86221
+0, 51, 51, 1, 192000, 0xb9c9568a
+0, 52, 52, 1, 192000, 0x5eee665b
+0, 53, 53, 1, 192000, 0xdef85517
+0, 54, 54, 1, 192000, 0x7896b5ad
+0, 55, 55, 1, 192000, 0x19fbad39
+0, 56, 56, 1, 192000, 0x63358748
+0, 57, 57, 1, 192000, 0xca0196a3
+0, 58, 58, 1, 192000, 0x0b321da3
+0, 59, 59, 1, 192000, 0xa07af07e
+0, 60, 60, 1, 192000, 0x21f9310c
+0, 61, 61, 1, 192000, 0x62d59874
+0, 62, 62, 1, 192000, 0x021227b4
+0, 63, 63, 1, 192000, 0x01dac0c2
+0, 64, 64, 1, 192000, 0xf3c33a74
+0, 65, 65, 1, 192000, 0xeebe83b7
+0, 66, 66, 1, 192000, 0x9ec77f97
+0, 67, 67, 1, 192000, 0xc91c2e37
+0, 68, 68, 1, 192000, 0x7b58751d
+0, 69, 69, 1, 192000, 0xb178dfbb
+0, 70, 70, 1, 192000, 0x2a63b5be
+0, 71, 71, 1, 192000, 0x44a407ac
+0, 72, 72, 1, 192000, 0x9a8e17dd
+0, 73, 73, 1, 192000, 0x5546f4c8
+0, 74, 74, 1, 192000, 0xeda94586
+0, 75, 75, 1, 192000, 0x941dfa6b
+0, 76, 76, 1, 192000, 0x9772301d
+0, 77, 77, 1, 192000, 0x8be16b16
+0, 78, 78, 1, 192000, 0x26dd4496
+0, 79, 79, 1, 192000, 0x27823797
+0, 80, 80, 1, 192000, 0xacc914f7
+0, 81, 81, 1, 192000, 0xcbb72c9b
+0, 82, 82, 1, 192000, 0x4bd3391c
+0, 83, 83, 1, 192000, 0x4e6adbfe
+0, 84, 84, 1, 192000, 0x7a791c75
+0, 85, 85, 1, 192000, 0xc4f59c94
+0, 86, 86, 1, 192000, 0xc4f59c94
+0, 87, 87, 1, 192000, 0x984a4a0b
+0, 88, 88, 1, 192000, 0x3353f31f
+0, 89, 89, 1, 192000, 0xa9d4dc5a
+0, 90, 90, 1, 192000, 0xb33425d0
+0, 91, 91, 1, 192000, 0x546d768a
+0, 92, 92, 1, 192000, 0xfefbe5c9
+0, 93, 93, 1, 192000, 0xbd6be61d
+0, 94, 94, 1, 192000, 0xf5792731
+0, 95, 95, 1, 192000, 0xccde0582
+0, 96, 96, 1, 192000, 0x857d58ee
+0, 97, 97, 1, 192000, 0xe914ce48
+0, 98, 98, 1, 192000, 0x1f736298
+0, 99, 99, 1, 192000, 0xec0b4846
+0, 100, 100, 1, 192000, 0xe1422624
+0, 101, 101, 1, 192000, 0x56e2b0e0
+0, 102, 102, 1, 192000, 0xc4190640
+0, 103, 103, 1, 192000, 0x7c461977
+0, 104, 104, 1, 192000, 0x34b1d5e8
+0, 105, 105, 1, 192000, 0xbdc70f7a
+0, 106, 106, 1, 192000, 0xb466cd8d
+0, 107, 107, 1, 192000, 0x0e86a04c
diff --git a/tests/ref/fate/rpza b/tests/ref/fate/rpza
index 32ea1cfb4e..7819fa1aca 100644
--- a/tests/ref/fate/rpza
+++ b/tests/ref/fate/rpza
@@ -1,30 +1,31 @@
-0, 0, 230400, 0x4aec80a3
-0, 6000, 230400, 0xb6c41452
-0, 12000, 230400, 0xa6c27f12
-0, 18000, 230400, 0x309bd2d2
-0, 24000, 230400, 0x597a7341
-0, 30000, 230400, 0x597a7341
-0, 36000, 230400, 0xd6d6c569
-0, 42000, 230400, 0x31413d89
-0, 48000, 230400, 0x464e42e9
-0, 54000, 230400, 0x502d7c71
-0, 60000, 230400, 0x502d7c71
-0, 66000, 230400, 0xc96f23d1
-0, 72000, 230400, 0xc96f23d1
-0, 78000, 230400, 0x5bfd2bc7
-0, 84000, 230400, 0x821640a7
-0, 90000, 230400, 0x8f001967
-0, 96000, 230400, 0x406ba109
-0, 102000, 230400, 0x85d99b50
-0, 108000, 230400, 0x2fdb4018
-0, 114000, 230400, 0xfa127259
-0, 120000, 230400, 0xe6427b9b
-0, 126000, 230400, 0xe6427b9b
-0, 132000, 230400, 0x3a279000
-0, 138000, 230400, 0x710755ee
-0, 144000, 230400, 0x76549d35
-0, 150000, 230400, 0xf4d0132c
-0, 156000, 230400, 0xf4d0132c
-0, 162000, 230400, 0x19d7ec14
-0, 168000, 230400, 0x19d7ec14
-0, 174000, 230400, 0x5f24b7e1
+#tb 0: 1/15
+0, 0, 0, 1, 230400, 0x4aec80a3
+0, 1, 1, 1, 230400, 0xb6c41452
+0, 2, 2, 1, 230400, 0xa6c27f12
+0, 3, 3, 1, 230400, 0x309bd2d2
+0, 4, 4, 1, 230400, 0x597a7341
+0, 5, 5, 1, 230400, 0x597a7341
+0, 6, 6, 1, 230400, 0xd6d6c569
+0, 7, 7, 1, 230400, 0x31413d89
+0, 8, 8, 1, 230400, 0x464e42e9
+0, 9, 9, 1, 230400, 0x502d7c71
+0, 10, 10, 1, 230400, 0x502d7c71
+0, 11, 11, 1, 230400, 0xc96f23d1
+0, 12, 12, 1, 230400, 0xc96f23d1
+0, 13, 13, 1, 230400, 0x5bfd2bc7
+0, 14, 14, 1, 230400, 0x821640a7
+0, 15, 15, 1, 230400, 0x8f001967
+0, 16, 16, 1, 230400, 0x406ba109
+0, 17, 17, 1, 230400, 0x85d99b50
+0, 18, 18, 1, 230400, 0x2fdb4018
+0, 19, 19, 1, 230400, 0xfa127259
+0, 20, 20, 1, 230400, 0xe6427b9b
+0, 21, 21, 1, 230400, 0xe6427b9b
+0, 22, 22, 1, 230400, 0x3a279000
+0, 23, 23, 1, 230400, 0x710755ee
+0, 24, 24, 1, 230400, 0x76549d35
+0, 25, 25, 1, 230400, 0xf4d0132c
+0, 26, 26, 1, 230400, 0xf4d0132c
+0, 27, 27, 1, 230400, 0x19d7ec14
+0, 28, 28, 1, 230400, 0x19d7ec14
+0, 29, 29, 1, 230400, 0x5f24b7e1
diff --git a/tests/ref/fate/rv30 b/tests/ref/fate/rv30
index a3c5dcfbbf..df002d948b 100644
--- a/tests/ref/fate/rv30
+++ b/tests/ref/fate/rv30
@@ -1,109 +1,110 @@
-0, 0, 126720, 0xcefaec47
-0, 3003, 126720, 0xa416ece5
-0, 6006, 126720, 0xa416ece5
-0, 9009, 126720, 0xa416ece5
-0, 12012, 126720, 0x60d6ed27
-0, 15015, 126720, 0x259af497
-0, 18018, 126720, 0x5e6ff4d7
-0, 21021, 126720, 0xcc10f4b7
-0, 24024, 126720, 0x763ab817
-0, 27027, 126720, 0xeb6fb8d7
-0, 30030, 126720, 0xda71b917
-0, 33033, 126720, 0x0967b8f7
-0, 36036, 126720, 0x4b62b947
-0, 39039, 126720, 0xbb1abbb7
-0, 42042, 126720, 0x273fbc37
-0, 45045, 126720, 0x16eebbd7
-0, 48048, 126720, 0x105eb927
-0, 51051, 126720, 0x7fa3ae27
-0, 54054, 126720, 0x722e99f7
-0, 57057, 126720, 0x5ac9a827
-0, 60060, 126720, 0x07beba77
-0, 63063, 126720, 0x29d6a887
-0, 66066, 126720, 0xa5caab87
-0, 69069, 126720, 0x9ca7aac7
-0, 72072, 126720, 0xb7debcd7
-0, 75075, 126720, 0xd115a757
-0, 78078, 126720, 0x6ddaef32
-0, 81081, 126720, 0xde1bb900
-0, 84084, 126720, 0xac6c071b
-0, 87087, 126720, 0x04e7897c
-0, 90090, 126720, 0x5eee050f
-0, 93093, 126720, 0xe675be59
-0, 96096, 126720, 0xdc3e0837
-0, 99099, 126720, 0x68cfda2b
-0, 102102, 126720, 0xe572dfc9
-0, 105105, 126720, 0x582fb176
-0, 108108, 126720, 0xa9477df0
-0, 111111, 126720, 0xbc3cc34f
-0, 114114, 126720, 0xcf8cb0e2
-0, 117117, 126720, 0xcff1db35
-0, 120120, 126720, 0xc6e10f9f
-0, 123123, 126720, 0x75ae61b6
-0, 126126, 126720, 0x12af3119
-0, 129129, 126720, 0x85597543
-0, 132132, 126720, 0x68c27aca
-0, 135135, 126720, 0x554fe3e4
-0, 138138, 126720, 0x72ecea95
-0, 141141, 126720, 0xf4d003d1
-0, 144144, 126720, 0x9bf6a605
-0, 147147, 126720, 0x5d00b5fe
-0, 150150, 126720, 0x93f7b040
-0, 153153, 126720, 0x0d6ad154
-0, 156156, 126720, 0x4be8b4ea
-0, 159159, 126720, 0xe39bba0d
-0, 162162, 126720, 0x9c21bad8
-0, 165165, 126720, 0xa567f25b
-0, 168168, 126720, 0x7a82663a
-0, 171171, 126720, 0x72f2a47d
-0, 174174, 126720, 0x4f639ebe
-0, 177177, 126720, 0xab0fce83
-0, 180180, 126720, 0x6cf87d39
-0, 183183, 126720, 0x534a10cc
-0, 186186, 126720, 0x6bbcf44c
-0, 189189, 126720, 0xfdca11d3
-0, 192192, 126720, 0x7e58f5a6
-0, 195195, 126720, 0x5fd753d8
-0, 198198, 126720, 0x0c735615
-0, 201201, 126720, 0x2a034ebf
-0, 204204, 126720, 0xeaf3dd0b
-0, 207207, 126720, 0x0eaf0c1b
-0, 210210, 126720, 0xce5e6794
-0, 213213, 126720, 0xf27c31c3
-0, 216216, 126720, 0xb64af168
-0, 219219, 126720, 0x14cf7974
-0, 222222, 126720, 0x1c2a513d
-0, 225225, 126720, 0xa3f515ab
-0, 228228, 126720, 0xcfd62765
-0, 231231, 126720, 0xbc513f2a
-0, 234234, 126720, 0xbc303fae
-0, 237237, 126720, 0x2f8f69b9
-0, 240240, 126720, 0x0a22cc69
-0, 243243, 126720, 0xd9f67585
-0, 246246, 126720, 0x20403001
-0, 249249, 126720, 0xf92b2a25
-0, 252252, 126720, 0x3c170aad
-0, 255255, 126720, 0x3378251f
-0, 258258, 126720, 0xb3ed5911
-0, 261261, 126720, 0x35d24ef8
-0, 264264, 126720, 0x8da30275
-0, 267267, 126720, 0xc15a3577
-0, 270270, 126720, 0xf2942f53
-0, 273273, 126720, 0x44d8304a
-0, 276276, 126720, 0xd688a932
-0, 279279, 126720, 0x0a24f256
-0, 282282, 126720, 0xfab9c45d
-0, 285285, 126720, 0x10e939ce
-0, 288288, 126720, 0x97fcaa3a
-0, 291291, 126720, 0x45464610
-0, 294294, 126720, 0xfe2e057d
-0, 297297, 126720, 0x0b6718ae
-0, 300300, 126720, 0x5284da7b
-0, 303303, 126720, 0x23efdc35
-0, 306306, 126720, 0xc387b2b3
-0, 309309, 126720, 0xc9e92bf1
-0, 312312, 126720, 0xfbf20a01
-0, 315315, 126720, 0x4d888b2e
-0, 318318, 126720, 0xdd0d74df
-0, 321321, 126720, 0x49d07aa4
-0, 324324, 126720, 0x08382b8e
+#tb 0: 32768/982057
+0, 0, 0, 1, 126720, 0xcefaec47
+0, 1, 1, 1, 126720, 0xa416ece5
+0, 2, 2, 1, 126720, 0xa416ece5
+0, 3, 3, 1, 126720, 0xa416ece5
+0, 4, 4, 1, 126720, 0x60d6ed27
+0, 5, 5, 1, 126720, 0x259af497
+0, 6, 6, 1, 126720, 0x5e6ff4d7
+0, 7, 7, 1, 126720, 0xcc10f4b7
+0, 8, 8, 1, 126720, 0x763ab817
+0, 9, 9, 1, 126720, 0xeb6fb8d7
+0, 10, 10, 1, 126720, 0xda71b917
+0, 11, 11, 1, 126720, 0x0967b8f7
+0, 12, 12, 1, 126720, 0x4b62b947
+0, 13, 13, 1, 126720, 0xbb1abbb7
+0, 14, 14, 1, 126720, 0x273fbc37
+0, 15, 15, 1, 126720, 0x16eebbd7
+0, 16, 16, 1, 126720, 0x105eb927
+0, 17, 17, 1, 126720, 0x7fa3ae27
+0, 18, 18, 1, 126720, 0x722e99f7
+0, 19, 19, 1, 126720, 0x5ac9a827
+0, 20, 20, 1, 126720, 0x07beba77
+0, 21, 21, 1, 126720, 0x29d6a887
+0, 22, 22, 1, 126720, 0xa5caab87
+0, 23, 23, 1, 126720, 0x9ca7aac7
+0, 24, 24, 1, 126720, 0xb7debcd7
+0, 25, 25, 1, 126720, 0xd115a757
+0, 26, 26, 1, 126720, 0x6ddaef32
+0, 27, 27, 1, 126720, 0xde1bb900
+0, 28, 28, 1, 126720, 0xac6c071b
+0, 29, 29, 1, 126720, 0x04e7897c
+0, 30, 30, 1, 126720, 0x5eee050f
+0, 31, 31, 1, 126720, 0xe675be59
+0, 32, 32, 1, 126720, 0xdc3e0837
+0, 33, 33, 1, 126720, 0x68cfda2b
+0, 34, 34, 1, 126720, 0xe572dfc9
+0, 35, 35, 1, 126720, 0x582fb176
+0, 36, 36, 1, 126720, 0xa9477df0
+0, 37, 37, 1, 126720, 0xbc3cc34f
+0, 38, 38, 1, 126720, 0xcf8cb0e2
+0, 39, 39, 1, 126720, 0xcff1db35
+0, 40, 40, 1, 126720, 0xc6e10f9f
+0, 41, 41, 1, 126720, 0x75ae61b6
+0, 42, 42, 1, 126720, 0x12af3119
+0, 43, 43, 1, 126720, 0x85597543
+0, 44, 44, 1, 126720, 0x68c27aca
+0, 45, 45, 1, 126720, 0x554fe3e4
+0, 46, 46, 1, 126720, 0x72ecea95
+0, 47, 47, 1, 126720, 0xf4d003d1
+0, 48, 48, 1, 126720, 0x9bf6a605
+0, 49, 49, 1, 126720, 0x5d00b5fe
+0, 50, 50, 1, 126720, 0x93f7b040
+0, 51, 51, 1, 126720, 0x0d6ad154
+0, 52, 52, 1, 126720, 0x4be8b4ea
+0, 53, 53, 1, 126720, 0xe39bba0d
+0, 54, 54, 1, 126720, 0x9c21bad8
+0, 55, 55, 1, 126720, 0xa567f25b
+0, 56, 56, 1, 126720, 0x7a82663a
+0, 57, 57, 1, 126720, 0x72f2a47d
+0, 58, 58, 1, 126720, 0x4f639ebe
+0, 59, 59, 1, 126720, 0xab0fce83
+0, 60, 60, 1, 126720, 0x6cf87d39
+0, 61, 61, 1, 126720, 0x534a10cc
+0, 62, 62, 1, 126720, 0x6bbcf44c
+0, 63, 63, 1, 126720, 0xfdca11d3
+0, 64, 64, 1, 126720, 0x7e58f5a6
+0, 65, 65, 1, 126720, 0x5fd753d8
+0, 66, 66, 1, 126720, 0x0c735615
+0, 67, 67, 1, 126720, 0x2a034ebf
+0, 68, 68, 1, 126720, 0xeaf3dd0b
+0, 69, 69, 1, 126720, 0x0eaf0c1b
+0, 70, 70, 1, 126720, 0xce5e6794
+0, 71, 71, 1, 126720, 0xf27c31c3
+0, 72, 72, 1, 126720, 0xb64af168
+0, 73, 73, 1, 126720, 0x14cf7974
+0, 74, 74, 1, 126720, 0x1c2a513d
+0, 75, 75, 1, 126720, 0xa3f515ab
+0, 76, 76, 1, 126720, 0xcfd62765
+0, 77, 77, 1, 126720, 0xbc513f2a
+0, 78, 78, 1, 126720, 0xbc303fae
+0, 79, 79, 1, 126720, 0x2f8f69b9
+0, 80, 80, 1, 126720, 0x0a22cc69
+0, 81, 81, 1, 126720, 0xd9f67585
+0, 82, 82, 1, 126720, 0x20403001
+0, 83, 83, 1, 126720, 0xf92b2a25
+0, 84, 84, 1, 126720, 0x3c170aad
+0, 85, 85, 1, 126720, 0x3378251f
+0, 86, 86, 1, 126720, 0xb3ed5911
+0, 87, 87, 1, 126720, 0x35d24ef8
+0, 88, 88, 1, 126720, 0x8da30275
+0, 89, 89, 1, 126720, 0xc15a3577
+0, 90, 90, 1, 126720, 0xf2942f53
+0, 91, 91, 1, 126720, 0x44d8304a
+0, 92, 92, 1, 126720, 0xd688a932
+0, 93, 93, 1, 126720, 0x0a24f256
+0, 94, 94, 1, 126720, 0xfab9c45d
+0, 95, 95, 1, 126720, 0x10e939ce
+0, 96, 96, 1, 126720, 0x97fcaa3a
+0, 97, 97, 1, 126720, 0x45464610
+0, 98, 98, 1, 126720, 0xfe2e057d
+0, 99, 99, 1, 126720, 0x0b6718ae
+0, 100, 100, 1, 126720, 0x5284da7b
+0, 101, 101, 1, 126720, 0x23efdc35
+0, 102, 102, 1, 126720, 0xc387b2b3
+0, 103, 103, 1, 126720, 0xc9e92bf1
+0, 104, 104, 1, 126720, 0xfbf20a01
+0, 105, 105, 1, 126720, 0x4d888b2e
+0, 106, 106, 1, 126720, 0xdd0d74df
+0, 107, 107, 1, 126720, 0x49d07aa4
+0, 108, 108, 1, 126720, 0x08382b8e
diff --git a/tests/ref/fate/sierra-vmd b/tests/ref/fate/sierra-vmd
index 8ea1570472..9522cff868 100644
--- a/tests/ref/fate/sierra-vmd
+++ b/tests/ref/fate/sierra-vmd
@@ -1,332 +1,334 @@
-0, 0, 230400, 0x0224ab01
-1, 0, 123480, 0x3a794c13
-0, 9000, 230400, 0x449e4d81
-0, 18000, 230400, 0x3e15e07a
-0, 27000, 230400, 0xdabe4172
-0, 36000, 230400, 0x0947b7db
-0, 45000, 230400, 0x934e243b
-0, 54000, 230400, 0x6b5c5b6c
-0, 63000, 230400, 0x4bf7bbb5
-0, 72000, 230400, 0x423eec8e
-0, 81000, 230400, 0x63663b5e
-0, 90000, 230400, 0x9c258a67
-0, 99000, 230400, 0x1c92b6e0
-0, 108000, 230400, 0xdd0a0e28
-0, 117000, 230400, 0x51d64af1
-0, 126000, 230400, 0x5776ac12
-0, 135000, 230400, 0x49070132
-0, 144000, 230400, 0xa59635ab
-0, 153000, 230400, 0xb1f99504
-0, 162000, 230400, 0x61fac725
-0, 171000, 230400, 0xc32c28d5
-0, 180000, 230400, 0x2b7a91d6
-0, 189000, 230400, 0x917be717
-0, 198000, 230400, 0xd3c5a2ff
-0, 207000, 230400, 0x0678a707
-0, 216000, 230400, 0x122504e6
-0, 225000, 230400, 0x76aebdae
-0, 234000, 230400, 0x81357545
-0, 243000, 230400, 0x38baeebd
-0, 252000, 230400, 0x1c5c44d4
-1, 252000, 4410, 0x109d04e0
-0, 261000, 230400, 0x60e189cc
-1, 261000, 4410, 0x224d244f
-0, 270000, 230400, 0xb1f4381c
-1, 270000, 4410, 0xbb72413d
-0, 279000, 230400, 0xb5048fed
-1, 279000, 4410, 0xaa5f5b86
-0, 288000, 230400, 0xc947c30e
-1, 288000, 4410, 0x94e7aea7
-0, 297000, 230400, 0xe8e31c07
-1, 297000, 4410, 0xad497ca0
-0, 306000, 230400, 0x6d49dd02
-1, 306000, 4410, 0x1de10c9e
-0, 315000, 230400, 0x293e15d3
-1, 315000, 4410, 0x9f55efa8
-0, 324000, 230400, 0x354d792e
-1, 324000, 4410, 0x220a072a
-0, 333000, 230400, 0x35468780
-1, 333000, 4410, 0xa7dafb29
-0, 342000, 230400, 0x365d3991
-1, 342000, 4410, 0xd5e29c7a
-0, 351000, 230400, 0xc9debef2
-1, 351000, 4410, 0xb8465006
-0, 360000, 230400, 0x4c4634c2
-1, 360000, 4410, 0x518669c7
-0, 369000, 230400, 0x347c2dca
-1, 369000, 4410, 0xb5b5efca
-0, 378000, 230400, 0x1efa0aaa
-1, 378000, 4410, 0x8600015d
-0, 387000, 230400, 0xa79a0b5a
-1, 387000, 4410, 0xe2f68fe9
-0, 396000, 230400, 0xfdb2dcdb
-1, 396000, 4410, 0x8d3458d9
-0, 405000, 230400, 0x42dbea33
-1, 405000, 4410, 0xf1ff4775
-0, 414000, 230400, 0x2a207e43
-1, 414000, 4410, 0x830f67c9
-0, 423000, 230400, 0x86573783
-1, 423000, 4410, 0x110e0bc1
-0, 432000, 230400, 0xc3968473
-1, 432000, 4410, 0x71682f47
-0, 441000, 230400, 0x8f62a7b4
-1, 441000, 4410, 0x38119095
-0, 450000, 230400, 0x5a2e3073
-1, 450000, 4410, 0xd2494db6
-0, 459000, 230400, 0xd24f5e2c
-1, 459000, 4410, 0x8b552509
-0, 468000, 230400, 0x1df3c67d
-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
-1, 513000, 4410, 0xe85f583f
-0, 522000, 230400, 0x85f594f5
-1, 522000, 4410, 0x2cbc67c4
-0, 531000, 230400, 0xb09f99dd
-1, 531000, 4410, 0xc82e6aa1
-0, 540000, 230400, 0x2b368475
-1, 540000, 4410, 0xb9fc423c
-0, 549000, 230400, 0xa2417afd
-1, 549000, 4410, 0x6b9b4ef9
-0, 558000, 230400, 0x590b709d
-1, 558000, 4410, 0x39290f10
-0, 567000, 230400, 0x5d617705
-1, 567000, 4410, 0xad718eb4
-0, 576000, 230400, 0xabf981ad
-1, 576000, 4410, 0x82f463ac
-0, 585000, 230400, 0x5a8590cd
-1, 585000, 4410, 0xfac87cac
-0, 594000, 230400, 0x1bff853d
-1, 594000, 4410, 0x9e8bcca7
-0, 603000, 230400, 0x71d08055
-1, 603000, 4410, 0x52f79c99
-0, 612000, 230400, 0x2ebd817d
-1, 612000, 4410, 0xf2d14de2
-0, 621000, 230400, 0x6e838255
-1, 621000, 4410, 0x367f95e1
-0, 630000, 230400, 0x043984cd
-1, 630000, 4410, 0x8bfac293
-0, 639000, 230400, 0x7ff18495
-1, 639000, 4410, 0x01ea5040
-0, 648000, 230400, 0xa43b8385
-1, 648000, 4410, 0x8ff5e212
-0, 657000, 230400, 0x72b5825d
-1, 657000, 4410, 0x93f32824
-0, 666000, 230400, 0x3a178085
-1, 666000, 4410, 0x998f90dc
-0, 675000, 230400, 0x67748245
-1, 675000, 4410, 0x65231170
-0, 684000, 230400, 0xeddf81d5
-1, 684000, 4410, 0xc79039a1
-0, 693000, 230400, 0x8b088665
-1, 693000, 4410, 0x0b0e58bd
-0, 702000, 230400, 0x6c408e15
-1, 702000, 4410, 0xc24ab4fa
-0, 711000, 230400, 0x81f196dd
-1, 711000, 4410, 0xd3796a8e
-0, 720000, 230400, 0xab9f953d
-1, 720000, 4410, 0xa37f8295
-0, 729000, 230400, 0xa5f69795
-1, 729000, 4410, 0xb760fed7
-0, 738000, 230400, 0xa772950d
-1, 738000, 4410, 0x05495a34
-0, 747000, 230400, 0x6a5596d5
-1, 747000, 4410, 0x6f203437
-0, 756000, 230400, 0x1355958d
-1, 756000, 4410, 0x71299402
-0, 765000, 230400, 0x4134981d
-1, 765000, 4410, 0x72e7b346
-0, 774000, 230400, 0x8b929515
-1, 774000, 4410, 0x879b0dae
-0, 783000, 230400, 0x482f95c5
-1, 783000, 4410, 0x041aa1bd
-0, 792000, 230400, 0x7a9795d5
-1, 792000, 4410, 0x18a962e6
-0, 801000, 230400, 0x21c29abd
-1, 801000, 4410, 0x21d20539
-0, 810000, 230400, 0x9ae6a475
-1, 810000, 4410, 0x8f449267
-0, 819000, 230400, 0x3734aee5
-1, 819000, 4410, 0xecdc01d6
-0, 828000, 230400, 0xa0a1b365
-1, 828000, 4410, 0x458abd5a
-0, 837000, 230400, 0x2dcab1c5
-1, 837000, 4410, 0xa070ea63
-0, 846000, 230400, 0x9c8b6c44
-1, 846000, 4410, 0xc25b26ce
-0, 855000, 230400, 0x5da75feb
-1, 855000, 4410, 0x4d9237ca
-0, 864000, 230400, 0x4d02f8e3
-1, 864000, 4410, 0x748e1801
-0, 873000, 230400, 0x66824f3a
-1, 873000, 4410, 0xc96b69e6
-0, 882000, 230400, 0x0c9257e2
-1, 882000, 4410, 0x6663186c
-0, 891000, 230400, 0xb2927092
-1, 891000, 4410, 0x7f6d3081
-0, 900000, 230400, 0xb5dc6e9a
-1, 900000, 4410, 0x1a0343b5
-0, 909000, 230400, 0x6e567bc6
-1, 909000, 4410, 0xc48e338c
-0, 918000, 230400, 0xbf9e0f7a
-1, 918000, 4410, 0x26fc03c8
-0, 927000, 230400, 0xb16f684a
-1, 927000, 4410, 0x69be7e2d
-0, 936000, 230400, 0xf9e55e81
-1, 936000, 4410, 0x69a74da1
-0, 945000, 230400, 0xd8d0bcba
-1, 945000, 4410, 0x85bd2ab3
-0, 954000, 230400, 0x44720ac0
-1, 954000, 4410, 0xeff05426
-0, 963000, 230400, 0x7d4c2058
-1, 963000, 4410, 0x292829e0
-0, 972000, 230400, 0xb0973eb9
-1, 972000, 4410, 0x8f741798
-0, 981000, 230400, 0x405a13ce
-1, 981000, 4410, 0x6b9337e9
-0, 990000, 230400, 0x6422f00a
-1, 990000, 4410, 0xe4e1703f
-0, 999000, 230400, 0x924b6c1e
-1, 999000, 4410, 0x043d6c35
-0, 1008000, 230400, 0xcf7809c0
-1, 1008000, 4410, 0x3a8988e7
-0, 1017000, 230400, 0x883a3863
-1, 1017000, 4410, 0x1fa7d2a9
-0, 1026000, 230400, 0x6adc9e03
-1, 1026000, 4410, 0xe28799e3
-0, 1035000, 230400, 0x4f5ab7a8
-1, 1035000, 4410, 0xc2df4470
-0, 1044000, 230400, 0xdc0aab94
-1, 1044000, 4410, 0x694d0cf5
-1, 1053000, 4410, 0x5aac2dcf
-1, 1062000, 4410, 0x259fa2db
-1, 1071000, 4410, 0xd16d6803
-1, 1080000, 4410, 0xa4b3478a
-1, 1089000, 4410, 0xdbe0443d
-1, 1098000, 4410, 0x26c16119
-1, 1107000, 4410, 0x0c06475c
-1, 1116000, 4410, 0x6ffaba2d
-1, 1125000, 4410, 0x5b287192
-1, 1134000, 4410, 0xf2cf2651
-1, 1143000, 4410, 0x3857673a
-1, 1152000, 4410, 0x5b555feb
-1, 1161000, 4410, 0x93f997af
-1, 1170000, 4410, 0xb3ba8d35
-1, 1179000, 4410, 0x66433944
-1, 1188000, 4410, 0xf0005a5f
-1, 1197000, 4410, 0xb948541f
-1, 1206000, 4410, 0xc8f1b16f
-1, 1215000, 4410, 0x7d4b7506
-1, 1224000, 4410, 0xac723c55
-1, 1233000, 4410, 0x2926fab5
-1, 1242000, 4410, 0x31684995
-1, 1251000, 4410, 0x35ebfca4
-1, 1260000, 4410, 0x9cd42c18
-1, 1269000, 4410, 0xd7ecd7b1
-1, 1278000, 4410, 0x5e13c602
-1, 1287000, 4410, 0xe955b5e3
-1, 1296000, 4410, 0xefad19a1
-1, 1305000, 4410, 0x435950de
-1, 1314000, 4410, 0x9d624ebe
-1, 1323000, 4410, 0x774a9158
-1, 1332000, 4410, 0x8c41e66a
-1, 1341000, 4410, 0x70112740
-1, 1350000, 4410, 0x55abc7a2
-1, 1359000, 4410, 0x0ec3183c
-1, 1368000, 4410, 0x54609c56
-1, 1377000, 4410, 0x60d49f92
-1, 1386000, 4410, 0x5fb061c8
-1, 1395000, 4410, 0x6e119c98
-1, 1404000, 4410, 0x3f39fc69
-1, 1413000, 4410, 0xef466d0e
-1, 1422000, 4410, 0xf4cb6fe1
-1, 1431000, 4410, 0xc4434439
-1, 1440000, 4410, 0xd02329d2
-1, 1449000, 4410, 0x216cffaf
-1, 1458000, 4410, 0x7e59e8c1
-1, 1467000, 4410, 0xc7c3346d
-1, 1476000, 4410, 0x5b3723af
-1, 1485000, 4410, 0x76097270
-1, 1494000, 4410, 0xae39a233
-1, 1503000, 4410, 0x686a471c
-1, 1512000, 4410, 0x3af3c5e0
-1, 1521000, 4410, 0x11ac711e
-1, 1530000, 4410, 0xcd8da8ce
-1, 1539000, 4410, 0x21296e3a
-1, 1548000, 4410, 0x77168188
-1, 1557000, 4410, 0x5fcf59cd
-1, 1566000, 4410, 0x390c8717
-1, 1575000, 4410, 0x3d5d5b3c
-1, 1584000, 4410, 0x3b8f13d3
-1, 1593000, 4410, 0x5b002c2f
-1, 1602000, 4410, 0x9e1d2b08
-1, 1611000, 4410, 0x69454ebd
-1, 1620000, 4410, 0x62a54bec
-1, 1629000, 4410, 0x4d231fdb
-1, 1638000, 4410, 0x65624ff7
-1, 1647000, 4410, 0x6fc66932
-1, 1656000, 4410, 0x23200cf6
-1, 1665000, 4410, 0xf8033122
-1, 1674000, 4410, 0x0fce0744
-1, 1683000, 4410, 0x9302683e
-1, 1692000, 4410, 0xd2380245
-1, 1701000, 4410, 0x482e0872
-1, 1710000, 4410, 0xe98e6461
-1, 1719000, 4410, 0x1db404e3
-1, 1728000, 4410, 0x47a26d45
-1, 1737000, 4410, 0x449a348a
-1, 1746000, 4410, 0xee874f84
-1, 1755000, 4410, 0xc4ecf965
-1, 1764000, 4410, 0xcc450bc8
-1, 1773000, 4410, 0xb18d044b
-1, 1782000, 4410, 0x895435e8
-1, 1791000, 4410, 0x57e7574e
-1, 1800000, 4410, 0x8041ad3d
-1, 1809000, 4410, 0x853d1616
-1, 1818000, 4410, 0xa11bb32b
-1, 1827000, 4410, 0xe10ea0de
-1, 1836000, 4410, 0xdf2ee328
-1, 1845000, 4410, 0xd5a6dcae
-1, 1854000, 4410, 0xd176c00b
-1, 1863000, 4410, 0x9cd6bcf3
-1, 1872000, 4410, 0x2569690a
-1, 1881000, 4410, 0x6824aa1d
-1, 1890000, 4410, 0xa9110afa
-1, 1899000, 4410, 0x115c25be
-1, 1908000, 4410, 0x1100f085
-1, 1917000, 4410, 0x00000000
-1, 1926000, 4410, 0x00000000
-1, 1935000, 4410, 0x00000000
-1, 1944000, 4410, 0x00000000
-1, 1953000, 4410, 0x00000000
-1, 1962000, 4410, 0x00000000
-1, 1971000, 4410, 0x00000000
-1, 1980000, 4410, 0x00000000
-1, 1989000, 4410, 0x00000000
-1, 1998000, 4410, 0x00000000
-1, 2007000, 4410, 0x00000000
-1, 2016000, 4410, 0x00000000
-1, 2025000, 4410, 0x00000000
-1, 2034000, 4410, 0x00000000
-1, 2043000, 4410, 0x00000000
-1, 2052000, 4410, 0x00000000
-1, 2061000, 4410, 0x00000000
-1, 2070000, 4410, 0x00000000
-1, 2079000, 4410, 0x00000000
-1, 2088000, 4410, 0x00000000
-1, 2097000, 4410, 0x00000000
-1, 2106000, 4410, 0x00000000
-1, 2115000, 4410, 0x00000000
-1, 2124000, 4410, 0x00000000
-1, 2133000, 4410, 0x00000000
-1, 2142000, 4410, 0x00000000
-1, 2151000, 4410, 0x00000000
-1, 2160000, 4410, 0x00000000
-1, 2169000, 4410, 0x00000000
+#tb 0: 1/10
+#tb 1: 1/22050
+0, 0, 0, 1, 230400, 0x0224ab01
+1, 0, 0, 61740, 123480, 0x3a794c13
+0, 1, 1, 1, 230400, 0x449e4d81
+0, 2, 2, 1, 230400, 0x3e15e07a
+0, 3, 3, 1, 230400, 0xdabe4172
+0, 4, 4, 1, 230400, 0x0947b7db
+0, 5, 5, 1, 230400, 0x934e243b
+0, 6, 6, 1, 230400, 0x6b5c5b6c
+0, 7, 7, 1, 230400, 0x4bf7bbb5
+0, 8, 8, 1, 230400, 0x423eec8e
+0, 9, 9, 1, 230400, 0x63663b5e
+0, 10, 10, 1, 230400, 0x9c258a67
+0, 11, 11, 1, 230400, 0x1c92b6e0
+0, 12, 12, 1, 230400, 0xdd0a0e28
+0, 13, 13, 1, 230400, 0x51d64af1
+0, 14, 14, 1, 230400, 0x5776ac12
+0, 15, 15, 1, 230400, 0x49070132
+0, 16, 16, 1, 230400, 0xa59635ab
+0, 17, 17, 1, 230400, 0xb1f99504
+0, 18, 18, 1, 230400, 0x61fac725
+0, 19, 19, 1, 230400, 0xc32c28d5
+0, 20, 20, 1, 230400, 0x2b7a91d6
+0, 21, 21, 1, 230400, 0x917be717
+0, 22, 22, 1, 230400, 0xd3c5a2ff
+0, 23, 23, 1, 230400, 0x0678a707
+0, 24, 24, 1, 230400, 0x122504e6
+0, 25, 25, 1, 230400, 0x76aebdae
+0, 26, 26, 1, 230400, 0x81357545
+0, 27, 27, 1, 230400, 0x38baeebd
+0, 28, 28, 1, 230400, 0x1c5c44d4
+1, 61740, 61740, 2205, 4410, 0x109d04e0
+0, 29, 29, 1, 230400, 0x60e189cc
+1, 63945, 63945, 2205, 4410, 0x224d244f
+0, 30, 30, 1, 230400, 0xb1f4381c
+1, 66150, 66150, 2205, 4410, 0xbb72413d
+0, 31, 31, 1, 230400, 0xb5048fed
+1, 68355, 68355, 2205, 4410, 0xaa5f5b86
+0, 32, 32, 1, 230400, 0xc947c30e
+1, 70560, 70560, 2205, 4410, 0x94e7aea7
+0, 33, 33, 1, 230400, 0xe8e31c07
+1, 72765, 72765, 2205, 4410, 0xad497ca0
+0, 34, 34, 1, 230400, 0x6d49dd02
+1, 74970, 74970, 2205, 4410, 0x1de10c9e
+0, 35, 35, 1, 230400, 0x293e15d3
+1, 77175, 77175, 2205, 4410, 0x9f55efa8
+0, 36, 36, 1, 230400, 0x354d792e
+1, 79380, 79380, 2205, 4410, 0x220a072a
+0, 37, 37, 1, 230400, 0x35468780
+1, 81585, 81585, 2205, 4410, 0xa7dafb29
+0, 38, 38, 1, 230400, 0x365d3991
+1, 83790, 83790, 2205, 4410, 0xd5e29c7a
+0, 39, 39, 1, 230400, 0xc9debef2
+1, 85995, 85995, 2205, 4410, 0xb8465006
+0, 40, 40, 1, 230400, 0x4c4634c2
+1, 88200, 88200, 2205, 4410, 0x518669c7
+0, 41, 41, 1, 230400, 0x347c2dca
+1, 90405, 90405, 2205, 4410, 0xb5b5efca
+0, 42, 42, 1, 230400, 0x1efa0aaa
+1, 92610, 92610, 2205, 4410, 0x8600015d
+0, 43, 43, 1, 230400, 0xa79a0b5a
+1, 94815, 94815, 2205, 4410, 0xe2f68fe9
+0, 44, 44, 1, 230400, 0xfdb2dcdb
+1, 97020, 97020, 2205, 4410, 0x8d3458d9
+0, 45, 45, 1, 230400, 0x42dbea33
+1, 99225, 99225, 2205, 4410, 0xf1ff4775
+0, 46, 46, 1, 230400, 0x2a207e43
+1, 101430, 101430, 2205, 4410, 0x830f67c9
+0, 47, 47, 1, 230400, 0x86573783
+1, 103635, 103635, 2205, 4410, 0x110e0bc1
+0, 48, 48, 1, 230400, 0xc3968473
+1, 105840, 105840, 2205, 4410, 0x71682f47
+0, 49, 49, 1, 230400, 0x8f62a7b4
+1, 108045, 108045, 2205, 4410, 0x38119095
+0, 50, 50, 1, 230400, 0x5a2e3073
+1, 110250, 110250, 2205, 4410, 0xd2494db6
+0, 51, 51, 1, 230400, 0xd24f5e2c
+1, 112455, 112455, 2205, 4410, 0x8b552509
+0, 52, 52, 1, 230400, 0x1df3c67d
+1, 114660, 114660, 2205, 4410, 0x71e52909
+0, 53, 53, 1, 230400, 0xe4fd884d
+1, 116865, 116865, 2205, 4410, 0x9f0a6f4d
+0, 54, 54, 1, 230400, 0x9a228555
+1, 119070, 119070, 2205, 4410, 0x901302f2
+0, 55, 55, 1, 230400, 0x9eba8ed5
+1, 121275, 121275, 2205, 4410, 0x855d5222
+0, 56, 56, 1, 230400, 0x3d808a3d
+1, 123480, 123480, 2205, 4410, 0x324bb2fe
+0, 57, 57, 1, 230400, 0xf57e866d
+1, 125685, 125685, 2205, 4410, 0xe85f583f
+0, 58, 58, 1, 230400, 0x85f594f5
+1, 127890, 127890, 2205, 4410, 0x2cbc67c4
+0, 59, 59, 1, 230400, 0xb09f99dd
+1, 130095, 130095, 2205, 4410, 0xc82e6aa1
+0, 60, 60, 1, 230400, 0x2b368475
+1, 132300, 132300, 2205, 4410, 0xb9fc423c
+0, 61, 61, 1, 230400, 0xa2417afd
+1, 134505, 134505, 2205, 4410, 0x6b9b4ef9
+0, 62, 62, 1, 230400, 0x590b709d
+1, 136710, 136710, 2205, 4410, 0x39290f10
+0, 63, 63, 1, 230400, 0x5d617705
+1, 138915, 138915, 2205, 4410, 0xad718eb4
+0, 64, 64, 1, 230400, 0xabf981ad
+1, 141120, 141120, 2205, 4410, 0x82f463ac
+0, 65, 65, 1, 230400, 0x5a8590cd
+1, 143325, 143325, 2205, 4410, 0xfac87cac
+0, 66, 66, 1, 230400, 0x1bff853d
+1, 145530, 145530, 2205, 4410, 0x9e8bcca7
+0, 67, 67, 1, 230400, 0x71d08055
+1, 147735, 147735, 2205, 4410, 0x52f79c99
+0, 68, 68, 1, 230400, 0x2ebd817d
+1, 149940, 149940, 2205, 4410, 0xf2d14de2
+0, 69, 69, 1, 230400, 0x6e838255
+1, 152145, 152145, 2205, 4410, 0x367f95e1
+0, 70, 70, 1, 230400, 0x043984cd
+1, 154350, 154350, 2205, 4410, 0x8bfac293
+0, 71, 71, 1, 230400, 0x7ff18495
+1, 156555, 156555, 2205, 4410, 0x01ea5040
+0, 72, 72, 1, 230400, 0xa43b8385
+1, 158760, 158760, 2205, 4410, 0x8ff5e212
+0, 73, 73, 1, 230400, 0x72b5825d
+1, 160965, 160965, 2205, 4410, 0x93f32824
+0, 74, 74, 1, 230400, 0x3a178085
+1, 163170, 163170, 2205, 4410, 0x998f90dc
+0, 75, 75, 1, 230400, 0x67748245
+1, 165375, 165375, 2205, 4410, 0x65231170
+0, 76, 76, 1, 230400, 0xeddf81d5
+1, 167580, 167580, 2205, 4410, 0xc79039a1
+0, 77, 77, 1, 230400, 0x8b088665
+1, 169785, 169785, 2205, 4410, 0x0b0e58bd
+0, 78, 78, 1, 230400, 0x6c408e15
+1, 171990, 171990, 2205, 4410, 0xc24ab4fa
+0, 79, 79, 1, 230400, 0x81f196dd
+1, 174195, 174195, 2205, 4410, 0xd3796a8e
+0, 80, 80, 1, 230400, 0xab9f953d
+1, 176400, 176400, 2205, 4410, 0xa37f8295
+0, 81, 81, 1, 230400, 0xa5f69795
+1, 178605, 178605, 2205, 4410, 0xb760fed7
+0, 82, 82, 1, 230400, 0xa772950d
+1, 180810, 180810, 2205, 4410, 0x05495a34
+0, 83, 83, 1, 230400, 0x6a5596d5
+1, 183015, 183015, 2205, 4410, 0x6f203437
+0, 84, 84, 1, 230400, 0x1355958d
+1, 185220, 185220, 2205, 4410, 0x71299402
+0, 85, 85, 1, 230400, 0x4134981d
+1, 187425, 187425, 2205, 4410, 0x72e7b346
+0, 86, 86, 1, 230400, 0x8b929515
+1, 189630, 189630, 2205, 4410, 0x879b0dae
+0, 87, 87, 1, 230400, 0x482f95c5
+1, 191835, 191835, 2205, 4410, 0x041aa1bd
+0, 88, 88, 1, 230400, 0x7a9795d5
+1, 194040, 194040, 2205, 4410, 0x18a962e6
+0, 89, 89, 1, 230400, 0x21c29abd
+1, 196245, 196245, 2205, 4410, 0x21d20539
+0, 90, 90, 1, 230400, 0x9ae6a475
+1, 198450, 198450, 2205, 4410, 0x8f449267
+0, 91, 91, 1, 230400, 0x3734aee5
+1, 200655, 200655, 2205, 4410, 0xecdc01d6
+0, 92, 92, 1, 230400, 0xa0a1b365
+1, 202860, 202860, 2205, 4410, 0x458abd5a
+0, 93, 93, 1, 230400, 0x2dcab1c5
+1, 205065, 205065, 2205, 4410, 0xa070ea63
+0, 94, 94, 1, 230400, 0x9c8b6c44
+1, 207270, 207270, 2205, 4410, 0xc25b26ce
+0, 95, 95, 1, 230400, 0x5da75feb
+1, 209475, 209475, 2205, 4410, 0x4d9237ca
+0, 96, 96, 1, 230400, 0x4d02f8e3
+1, 211680, 211680, 2205, 4410, 0x748e1801
+0, 97, 97, 1, 230400, 0x66824f3a
+1, 213885, 213885, 2205, 4410, 0xc96b69e6
+0, 98, 98, 1, 230400, 0x0c9257e2
+1, 216090, 216090, 2205, 4410, 0x6663186c
+0, 99, 99, 1, 230400, 0xb2927092
+1, 218295, 218295, 2205, 4410, 0x7f6d3081
+0, 100, 100, 1, 230400, 0xb5dc6e9a
+1, 220500, 220500, 2205, 4410, 0x1a0343b5
+0, 101, 101, 1, 230400, 0x6e567bc6
+1, 222705, 222705, 2205, 4410, 0xc48e338c
+0, 102, 102, 1, 230400, 0xbf9e0f7a
+1, 224910, 224910, 2205, 4410, 0x26fc03c8
+0, 103, 103, 1, 230400, 0xb16f684a
+1, 227115, 227115, 2205, 4410, 0x69be7e2d
+0, 104, 104, 1, 230400, 0xf9e55e81
+1, 229320, 229320, 2205, 4410, 0x69a74da1
+0, 105, 105, 1, 230400, 0xd8d0bcba
+1, 231525, 231525, 2205, 4410, 0x85bd2ab3
+0, 106, 106, 1, 230400, 0x44720ac0
+1, 233730, 233730, 2205, 4410, 0xeff05426
+0, 107, 107, 1, 230400, 0x7d4c2058
+1, 235935, 235935, 2205, 4410, 0x292829e0
+0, 108, 108, 1, 230400, 0xb0973eb9
+1, 238140, 238140, 2205, 4410, 0x8f741798
+0, 109, 109, 1, 230400, 0x405a13ce
+1, 240345, 240345, 2205, 4410, 0x6b9337e9
+0, 110, 110, 1, 230400, 0x6422f00a
+1, 242550, 242550, 2205, 4410, 0xe4e1703f
+0, 111, 111, 1, 230400, 0x924b6c1e
+1, 244755, 244755, 2205, 4410, 0x043d6c35
+0, 112, 112, 1, 230400, 0xcf7809c0
+1, 246960, 246960, 2205, 4410, 0x3a8988e7
+0, 113, 113, 1, 230400, 0x883a3863
+1, 249165, 249165, 2205, 4410, 0x1fa7d2a9
+0, 114, 114, 1, 230400, 0x6adc9e03
+1, 251370, 251370, 2205, 4410, 0xe28799e3
+0, 115, 115, 1, 230400, 0x4f5ab7a8
+1, 253575, 253575, 2205, 4410, 0xc2df4470
+0, 116, 116, 1, 230400, 0xdc0aab94
+1, 255780, 255780, 2205, 4410, 0x694d0cf5
+1, 257985, 257985, 2205, 4410, 0x5aac2dcf
+1, 260190, 260190, 2205, 4410, 0x259fa2db
+1, 262395, 262395, 2205, 4410, 0xd16d6803
+1, 264600, 264600, 2205, 4410, 0xa4b3478a
+1, 266805, 266805, 2205, 4410, 0xdbe0443d
+1, 269010, 269010, 2205, 4410, 0x26c16119
+1, 271215, 271215, 2205, 4410, 0x0c06475c
+1, 273420, 273420, 2205, 4410, 0x6ffaba2d
+1, 275625, 275625, 2205, 4410, 0x5b287192
+1, 277830, 277830, 2205, 4410, 0xf2cf2651
+1, 280035, 280035, 2205, 4410, 0x3857673a
+1, 282240, 282240, 2205, 4410, 0x5b555feb
+1, 284445, 284445, 2205, 4410, 0x93f997af
+1, 286650, 286650, 2205, 4410, 0xb3ba8d35
+1, 288855, 288855, 2205, 4410, 0x66433944
+1, 291060, 291060, 2205, 4410, 0xf0005a5f
+1, 293265, 293265, 2205, 4410, 0xb948541f
+1, 295470, 295470, 2205, 4410, 0xc8f1b16f
+1, 297675, 297675, 2205, 4410, 0x7d4b7506
+1, 299880, 299880, 2205, 4410, 0xac723c55
+1, 302085, 302085, 2205, 4410, 0x2926fab5
+1, 304290, 304290, 2205, 4410, 0x31684995
+1, 306495, 306495, 2205, 4410, 0x35ebfca4
+1, 308700, 308700, 2205, 4410, 0x9cd42c18
+1, 310905, 310905, 2205, 4410, 0xd7ecd7b1
+1, 313110, 313110, 2205, 4410, 0x5e13c602
+1, 315315, 315315, 2205, 4410, 0xe955b5e3
+1, 317520, 317520, 2205, 4410, 0xefad19a1
+1, 319725, 319725, 2205, 4410, 0x435950de
+1, 321930, 321930, 2205, 4410, 0x9d624ebe
+1, 324135, 324135, 2205, 4410, 0x774a9158
+1, 326340, 326340, 2205, 4410, 0x8c41e66a
+1, 328545, 328545, 2205, 4410, 0x70112740
+1, 330750, 330750, 2205, 4410, 0x55abc7a2
+1, 332955, 332955, 2205, 4410, 0x0ec3183c
+1, 335160, 335160, 2205, 4410, 0x54609c56
+1, 337365, 337365, 2205, 4410, 0x60d49f92
+1, 339570, 339570, 2205, 4410, 0x5fb061c8
+1, 341775, 341775, 2205, 4410, 0x6e119c98
+1, 343980, 343980, 2205, 4410, 0x3f39fc69
+1, 346185, 346185, 2205, 4410, 0xef466d0e
+1, 348390, 348390, 2205, 4410, 0xf4cb6fe1
+1, 350595, 350595, 2205, 4410, 0xc4434439
+1, 352800, 352800, 2205, 4410, 0xd02329d2
+1, 355005, 355005, 2205, 4410, 0x216cffaf
+1, 357210, 357210, 2205, 4410, 0x7e59e8c1
+1, 359415, 359415, 2205, 4410, 0xc7c3346d
+1, 361620, 361620, 2205, 4410, 0x5b3723af
+1, 363825, 363825, 2205, 4410, 0x76097270
+1, 366030, 366030, 2205, 4410, 0xae39a233
+1, 368235, 368235, 2205, 4410, 0x686a471c
+1, 370440, 370440, 2205, 4410, 0x3af3c5e0
+1, 372645, 372645, 2205, 4410, 0x11ac711e
+1, 374850, 374850, 2205, 4410, 0xcd8da8ce
+1, 377055, 377055, 2205, 4410, 0x21296e3a
+1, 379260, 379260, 2205, 4410, 0x77168188
+1, 381465, 381465, 2205, 4410, 0x5fcf59cd
+1, 383670, 383670, 2205, 4410, 0x390c8717
+1, 385875, 385875, 2205, 4410, 0x3d5d5b3c
+1, 388080, 388080, 2205, 4410, 0x3b8f13d3
+1, 390285, 390285, 2205, 4410, 0x5b002c2f
+1, 392490, 392490, 2205, 4410, 0x9e1d2b08
+1, 394695, 394695, 2205, 4410, 0x69454ebd
+1, 396900, 396900, 2205, 4410, 0x62a54bec
+1, 399105, 399105, 2205, 4410, 0x4d231fdb
+1, 401310, 401310, 2205, 4410, 0x65624ff7
+1, 403515, 403515, 2205, 4410, 0x6fc66932
+1, 405720, 405720, 2205, 4410, 0x23200cf6
+1, 407925, 407925, 2205, 4410, 0xf8033122
+1, 410130, 410130, 2205, 4410, 0x0fce0744
+1, 412335, 412335, 2205, 4410, 0x9302683e
+1, 414540, 414540, 2205, 4410, 0xd2380245
+1, 416745, 416745, 2205, 4410, 0x482e0872
+1, 418950, 418950, 2205, 4410, 0xe98e6461
+1, 421155, 421155, 2205, 4410, 0x1db404e3
+1, 423360, 423360, 2205, 4410, 0x47a26d45
+1, 425565, 425565, 2205, 4410, 0x449a348a
+1, 427770, 427770, 2205, 4410, 0xee874f84
+1, 429975, 429975, 2205, 4410, 0xc4ecf965
+1, 432180, 432180, 2205, 4410, 0xcc450bc8
+1, 434385, 434385, 2205, 4410, 0xb18d044b
+1, 436590, 436590, 2205, 4410, 0x895435e8
+1, 438795, 438795, 2205, 4410, 0x57e7574e
+1, 441000, 441000, 2205, 4410, 0x8041ad3d
+1, 443205, 443205, 2205, 4410, 0x853d1616
+1, 445410, 445410, 2205, 4410, 0xa11bb32b
+1, 447615, 447615, 2205, 4410, 0xe10ea0de
+1, 449820, 449820, 2205, 4410, 0xdf2ee328
+1, 452025, 452025, 2205, 4410, 0xd5a6dcae
+1, 454230, 454230, 2205, 4410, 0xd176c00b
+1, 456435, 456435, 2205, 4410, 0x9cd6bcf3
+1, 458640, 458640, 2205, 4410, 0x2569690a
+1, 460845, 460845, 2205, 4410, 0x6824aa1d
+1, 463050, 463050, 2205, 4410, 0xa9110afa
+1, 465255, 465255, 2205, 4410, 0x115c25be
+1, 467460, 467460, 2205, 4410, 0x1100f085
+1, 469665, 469665, 2205, 4410, 0x00000000
+1, 471870, 471870, 2205, 4410, 0x00000000
+1, 474075, 474075, 2205, 4410, 0x00000000
+1, 476280, 476280, 2205, 4410, 0x00000000
+1, 478485, 478485, 2205, 4410, 0x00000000
+1, 480690, 480690, 2205, 4410, 0x00000000
+1, 482895, 482895, 2205, 4410, 0x00000000
+1, 485100, 485100, 2205, 4410, 0x00000000
+1, 487305, 487305, 2205, 4410, 0x00000000
+1, 489510, 489510, 2205, 4410, 0x00000000
+1, 491715, 491715, 2205, 4410, 0x00000000
+1, 493920, 493920, 2205, 4410, 0x00000000
+1, 496125, 496125, 2205, 4410, 0x00000000
+1, 498330, 498330, 2205, 4410, 0x00000000
+1, 500535, 500535, 2205, 4410, 0x00000000
+1, 502740, 502740, 2205, 4410, 0x00000000
+1, 504945, 504945, 2205, 4410, 0x00000000
+1, 507150, 507150, 2205, 4410, 0x00000000
+1, 509355, 509355, 2205, 4410, 0x00000000
+1, 511560, 511560, 2205, 4410, 0x00000000
+1, 513765, 513765, 2205, 4410, 0x00000000
+1, 515970, 515970, 2205, 4410, 0x00000000
+1, 518175, 518175, 2205, 4410, 0x00000000
+1, 520380, 520380, 2205, 4410, 0x00000000
+1, 522585, 522585, 2205, 4410, 0x00000000
+1, 524790, 524790, 2205, 4410, 0x00000000
+1, 526995, 526995, 2205, 4410, 0x00000000
+1, 529200, 529200, 2205, 4410, 0x00000000
+1, 531405, 531405, 2205, 4410, 0x00000000
diff --git a/tests/ref/fate/siff b/tests/ref/fate/siff
index 05c12c2088..8cc6d7f445 100644
--- a/tests/ref/fate/siff
+++ b/tests/ref/fate/siff
@@ -1,39 +1,41 @@
-0, 0, 230400, 0x3bd1d731
-1, 0, 44100, 0xd0a49e09
-0, 7500, 230400, 0x9d0774c3
-0, 15000, 230400, 0xa0faafe2
-0, 22500, 230400, 0x38325309
-0, 30000, 230400, 0xe90a1b1e
-0, 37500, 230400, 0x8efbc904
-0, 45000, 230400, 0x0a8476f3
-0, 52500, 230400, 0x5d94587d
-0, 60000, 230400, 0x280b905d
-0, 67500, 230400, 0x07178dd9
-0, 75000, 230400, 0xf52b8db4
-0, 82500, 230400, 0x2b70c1dc
-0, 90000, 230400, 0x8157a6e9
-1, 90000, 44100, 0xf151af4d
-0, 97500, 230400, 0xd4a3c357
-0, 105000, 230400, 0x703861bb
-0, 112500, 230400, 0xa13cf75e
-0, 120000, 230400, 0x140e487f
-0, 127500, 230400, 0x05cca333
-0, 135000, 230400, 0x0506ee2b
-0, 142500, 230400, 0xe3e13466
-0, 150000, 230400, 0x8a24118c
-0, 157500, 230400, 0x22050962
-0, 165000, 230400, 0x0f5c8a0d
-0, 172500, 230400, 0x3475df44
-0, 180000, 230400, 0x65354e06
-1, 180000, 44100, 0xecd3cd08
-0, 187500, 230400, 0xb9a01978
-0, 195000, 230400, 0x15207ee1
-0, 202500, 230400, 0x3b214f0b
-0, 210000, 230400, 0xf9461bbb
-0, 217500, 230400, 0x1469290f
-0, 225000, 230400, 0x8ddfd514
-0, 232500, 230400, 0x1bffa6a1
-0, 240000, 230400, 0x5a04d712
-0, 247500, 230400, 0xaa8de439
-0, 255000, 230400, 0x610c5439
-0, 262500, 230400, 0xd02d3e7c
+#tb 0: 1/12
+#tb 1: 1/22050
+0, 0, 0, 1, 230400, 0x3bd1d731
+1, 0, 0, 22050, 44100, 0xd0a49e09
+0, 1, 1, 1, 230400, 0x9d0774c3
+0, 2, 2, 1, 230400, 0xa0faafe2
+0, 3, 3, 1, 230400, 0x38325309
+0, 4, 4, 1, 230400, 0xe90a1b1e
+0, 5, 5, 1, 230400, 0x8efbc904
+0, 6, 6, 1, 230400, 0x0a8476f3
+0, 7, 7, 1, 230400, 0x5d94587d
+0, 8, 8, 1, 230400, 0x280b905d
+0, 9, 9, 1, 230400, 0x07178dd9
+0, 10, 10, 1, 230400, 0xf52b8db4
+0, 11, 11, 1, 230400, 0x2b70c1dc
+0, 12, 12, 1, 230400, 0x8157a6e9
+1, 22050, 22050, 22050, 44100, 0xf151af4d
+0, 13, 13, 1, 230400, 0xd4a3c357
+0, 14, 14, 1, 230400, 0x703861bb
+0, 15, 15, 1, 230400, 0xa13cf75e
+0, 16, 16, 1, 230400, 0x140e487f
+0, 17, 17, 1, 230400, 0x05cca333
+0, 18, 18, 1, 230400, 0x0506ee2b
+0, 19, 19, 1, 230400, 0xe3e13466
+0, 20, 20, 1, 230400, 0x8a24118c
+0, 21, 21, 1, 230400, 0x22050962
+0, 22, 22, 1, 230400, 0x0f5c8a0d
+0, 23, 23, 1, 230400, 0x3475df44
+0, 24, 24, 1, 230400, 0x65354e06
+1, 44100, 44100, 22050, 44100, 0xecd3cd08
+0, 25, 25, 1, 230400, 0xb9a01978
+0, 26, 26, 1, 230400, 0x15207ee1
+0, 27, 27, 1, 230400, 0x3b214f0b
+0, 28, 28, 1, 230400, 0xf9461bbb
+0, 29, 29, 1, 230400, 0x1469290f
+0, 30, 30, 1, 230400, 0x8ddfd514
+0, 31, 31, 1, 230400, 0x1bffa6a1
+0, 32, 32, 1, 230400, 0x5a04d712
+0, 33, 33, 1, 230400, 0xaa8de439
+0, 34, 34, 1, 230400, 0x610c5439
+0, 35, 35, 1, 230400, 0xd02d3e7c
diff --git a/tests/ref/fate/smacker b/tests/ref/fate/smacker
index df88a4ae8a..b8d4d22d01 100644
--- a/tests/ref/fate/smacker
+++ b/tests/ref/fate/smacker
@@ -1,186 +1,188 @@
-0, 0, 192000, 0x8926d7fc
-1, 0, 47240, 0x9974897c
-0, 6390, 192000, 0x2506d384
-0, 12780, 192000, 0x9a8dc93a
-0, 19170, 192000, 0x4badb7f2
-0, 25560, 192000, 0xc1fc9631
-0, 31950, 192000, 0xfc906592
-0, 38340, 192000, 0xeddd28e2
-0, 44730, 192000, 0xeee0dcf5
-0, 51120, 192000, 0x76798c91
-0, 57510, 192000, 0x8a034c1b
-0, 63900, 192000, 0x4df3127c
-0, 70290, 192000, 0x2eefd36f
-0, 76680, 192000, 0x58a2a1d6
-0, 83070, 192000, 0x1a3d7971
-0, 89460, 192000, 0xa1a65bd5
-0, 95850, 192000, 0x344957b9
-1, 96408, 3128, 0x7e4064b4
-0, 102240, 192000, 0xe23b5f4e
-1, 102792, 3128, 0x80883301
-0, 108630, 192000, 0xb5c2710b
-1, 109176, 3136, 0x2ad2d341
-0, 115020, 192000, 0x7a25938f
-1, 115576, 3128, 0xda8468e3
-0, 121410, 192000, 0x0a84e4c9
-1, 121959, 3136, 0x9d6f6cdf
-0, 127800, 192000, 0x94209b0d
-1, 128359, 3128, 0x1aaa64b5
-0, 134190, 192000, 0xf940e51f
-1, 134743, 3128, 0x9182728b
-0, 140580, 192000, 0xb9fdec42
-1, 141127, 3136, 0xfa8e17b3
-0, 146970, 192000, 0x7b04a376
-1, 147527, 3128, 0x0dc3c1cf
-0, 153360, 192000, 0x5fe0026b
-1, 153910, 3136, 0x0109639d
-0, 159750, 192000, 0x775aca39
-1, 160310, 3128, 0x6d8a12d9
-0, 166140, 192000, 0xae14fb32
-1, 166694, 3128, 0x4b9a9597
-0, 172530, 192000, 0x661106e5
-1, 173078, 3136, 0x9112710e
-0, 178920, 192000, 0xe8658dbf
-1, 179478, 3128, 0x8cccf522
-0, 185310, 192000, 0x5359f0f9
-1, 185861, 3128, 0x6594bbf3
-0, 191700, 192000, 0xc1ec80f4
-1, 192245, 3136, 0xd878a7d5
-0, 198090, 192000, 0xca53806b
-1, 198645, 3128, 0xaa6e3905
-0, 204480, 192000, 0xf0766b2e
-1, 205029, 3136, 0x2a062e04
-0, 210870, 192000, 0x39962da8
-1, 211429, 3128, 0x84e4006a
-0, 217260, 192000, 0x4171c37f
-1, 217812, 3128, 0x85183633
-0, 223650, 192000, 0x3abf3b46
-1, 224196, 3136, 0xb62d4b02
-0, 230040, 192000, 0xecc68313
-1, 230596, 3128, 0xe209462a
-0, 236430, 192000, 0xea339baf
-1, 236980, 3136, 0x57c4824b
-0, 242820, 192000, 0x616b8f16
-1, 243380, 3128, 0x664a9163
-0, 249210, 192000, 0xf77a8581
-1, 249763, 3128, 0xb4287874
-0, 255600, 192000, 0xb315678b
-1, 256147, 3136, 0xde626885
-0, 261990, 192000, 0x0a4a5218
-1, 262547, 3128, 0x919763c2
-0, 268380, 192000, 0x98802be4
-1, 268931, 3128, 0xa4f664e1
-0, 274770, 192000, 0xa2f0fd94
-1, 275314, 3136, 0xa0bab0d4
-0, 281160, 192000, 0x6671c84f
-1, 281714, 3128, 0xe938939c
-0, 287550, 192000, 0x38327e31
-1, 288098, 3136, 0x3679bfc7
-0, 293940, 192000, 0xb85d3e08
-1, 294498, 3128, 0xc96c55c3
-0, 300330, 192000, 0xdc69eba9
-1, 300882, 3128, 0x119114d6
-0, 306720, 192000, 0x8955a0b3
-1, 307265, 3136, 0x42f3800f
-0, 313110, 192000, 0x714a548b
-1, 313665, 3128, 0x4250c4ad
-0, 319500, 192000, 0xc0471de9
-1, 320049, 3136, 0x5cdd4925
-0, 325890, 192000, 0x2e16e039
-1, 326449, 3128, 0xa4c12360
-0, 332280, 192000, 0x9fa4b033
-1, 332833, 3128, 0x849f48de
-0, 338670, 192000, 0x4a0f9402
-1, 339216, 3136, 0x6acd8ff9
-0, 345060, 192000, 0x1f3e6843
-1, 345616, 3128, 0xb2758556
-0, 351450, 192000, 0x31774850
-1, 352000, 3128, 0x10f2fcb1
-0, 357840, 192000, 0x9d5336a2
-1, 358384, 3136, 0xf0f02b23
-0, 364230, 192000, 0xf7de27a2
-1, 364784, 3128, 0x64f759c6
-0, 370620, 192000, 0x98c717ce
-1, 371167, 3136, 0x7ec075e3
-0, 377010, 192000, 0x615b10b8
-1, 377567, 3128, 0xf981d51e
-0, 383400, 192000, 0xd5bc0e7e
-1, 383951, 3128, 0xc622e8b9
-0, 389790, 192000, 0xd5bc0e7e
-1, 390335, 3136, 0xf632e2f8
-0, 396180, 192000, 0xd5bc0e7e
-1, 396735, 3128, 0xda561864
-0, 402570, 192000, 0xd5bc0e7e
-1, 403118, 3136, 0x14d2e888
-0, 408960, 192000, 0xd5bc0e7e
-1, 409518, 3128, 0x015bb869
-0, 415350, 192000, 0xd5bc0e7e
-1, 415902, 3128, 0xedb1fb62
-0, 421740, 192000, 0xd5bc0e7e
-1, 422286, 3136, 0xe0560c41
-0, 428130, 192000, 0xd5bc0e7e
-1, 428686, 3128, 0x14773c9a
-0, 434520, 192000, 0xd5bc0e7e
-1, 435069, 3136, 0x850f1c82
-0, 440910, 192000, 0xd5bc0e7e
-1, 441469, 3128, 0xb0bd5347
-0, 447300, 192000, 0xd5bc0e7e
-1, 447853, 3128, 0x8f82edbf
-0, 453690, 192000, 0xd5bc0e7e
-1, 454237, 3136, 0x493abee2
-0, 460080, 192000, 0xd5bc0e7e
-1, 460637, 3128, 0xf5daff3f
-0, 466470, 192000, 0xd5bc0e7e
-1, 467020, 3128, 0x78ad2690
-0, 472860, 192000, 0xd5bc0e7e
-1, 473404, 3136, 0x490ebafc
-0, 479250, 192000, 0xd5bc0e7e
-1, 479804, 3128, 0x70333fd2
-0, 485640, 192000, 0xd5bc0e7e
-1, 486188, 3136, 0x8cb1c350
-0, 492030, 192000, 0xd5bc0e7e
-1, 492588, 3128, 0x8bd057cb
-0, 498420, 192000, 0xd5bc0e7e
-1, 498971, 3128, 0x161b3dbc
-0, 504810, 192000, 0xd5bc0e7e
-1, 505355, 3136, 0xb47fb88a
-0, 511200, 192000, 0xd5bc0e7e
-1, 511755, 3128, 0x474b381e
-0, 517590, 192000, 0xd5bc0e7e
-1, 518139, 3136, 0x07c519bb
-0, 523980, 192000, 0xd5bc0e7e
-1, 524539, 3128, 0x15b916c8
-0, 530370, 192000, 0xd5bc0e7e
-1, 530922, 3128, 0x0ed7f6fb
-0, 536760, 192000, 0xd5bc0e7e
-1, 537306, 3136, 0x54d6397b
-0, 543150, 192000, 0xd5bc0e7e
-1, 543706, 3128, 0x437242bb
-0, 549540, 192000, 0xd5bc0e7e
-1, 550090, 3128, 0x38f05c4d
-0, 555930, 192000, 0xd5bc0e7e
-1, 556473, 3136, 0x5d000e59
-0, 562320, 192000, 0xd5bc0e7e
-1, 562873, 3128, 0xdeab2d04
-0, 568710, 192000, 0xd5bc0e7e
-1, 569257, 3136, 0x77de6880
-0, 575100, 192000, 0xd5bc0e7e
-1, 575657, 3128, 0xbc87ef25
-0, 581490, 192000, 0xd5bc0e7e
-1, 582041, 3128, 0xc1638ade
-0, 587880, 192000, 0xd5bc0e7e
-1, 588424, 3136, 0xcfb64a5f
-0, 594270, 192000, 0xd5bc0e7e
-1, 594824, 3128, 0x90b1b826
-0, 600660, 192000, 0xd5bc0e7e
-1, 601208, 3136, 0x00000000
-0, 607050, 192000, 0xd5bc0e7e
-1, 607608, 3128, 0x00000000
-0, 613440, 192000, 0xd5bc0e7e
-1, 613992, 3128, 0x00000000
-0, 619830, 192000, 0xd5bc0e7e
-1, 620376, 3136, 0x00000000
-0, 626220, 192000, 0xd5bc0e7e
-1, 626776, 3128, 0x00000000
-0, 632610, 192000, 0xd5bc0e7e
-1, 633159, 2856, 0x00000000
+#tb 0: 71/1000
+#tb 1: 1/22050
+0, 0, 0, 1, 192000, 0x8926d7fc
+1, 0, 0, 23620, 47240, 0x9974897c
+0, 1, 1, 1, 192000, 0x2506d384
+0, 2, 2, 1, 192000, 0x9a8dc93a
+0, 3, 3, 1, 192000, 0x4badb7f2
+0, 4, 4, 1, 192000, 0xc1fc9631
+0, 5, 5, 1, 192000, 0xfc906592
+0, 6, 6, 1, 192000, 0xeddd28e2
+0, 7, 7, 1, 192000, 0xeee0dcf5
+0, 8, 8, 1, 192000, 0x76798c91
+0, 9, 9, 1, 192000, 0x8a034c1b
+0, 10, 10, 1, 192000, 0x4df3127c
+0, 11, 11, 1, 192000, 0x2eefd36f
+0, 12, 12, 1, 192000, 0x58a2a1d6
+0, 13, 13, 1, 192000, 0x1a3d7971
+0, 14, 14, 1, 192000, 0xa1a65bd5
+0, 15, 15, 1, 192000, 0x344957b9
+1, 23620, 23620, 1564, 3128, 0x7e4064b4
+0, 16, 16, 1, 192000, 0xe23b5f4e
+1, 25184, 25184, 1564, 3128, 0x80883301
+0, 17, 17, 1, 192000, 0xb5c2710b
+1, 26748, 26748, 1568, 3136, 0x2ad2d341
+0, 18, 18, 1, 192000, 0x7a25938f
+1, 28316, 28316, 1564, 3128, 0xda8468e3
+0, 19, 19, 1, 192000, 0x0a84e4c9
+1, 29880, 29880, 1568, 3136, 0x9d6f6cdf
+0, 20, 20, 1, 192000, 0x94209b0d
+1, 31448, 31448, 1564, 3128, 0x1aaa64b5
+0, 21, 21, 1, 192000, 0xf940e51f
+1, 33012, 33012, 1564, 3128, 0x9182728b
+0, 22, 22, 1, 192000, 0xb9fdec42
+1, 34576, 34576, 1568, 3136, 0xfa8e17b3
+0, 23, 23, 1, 192000, 0x7b04a376
+1, 36144, 36144, 1564, 3128, 0x0dc3c1cf
+0, 24, 24, 1, 192000, 0x5fe0026b
+1, 37708, 37708, 1568, 3136, 0x0109639d
+0, 25, 25, 1, 192000, 0x775aca39
+1, 39276, 39276, 1564, 3128, 0x6d8a12d9
+0, 26, 26, 1, 192000, 0xae14fb32
+1, 40840, 40840, 1564, 3128, 0x4b9a9597
+0, 27, 27, 1, 192000, 0x661106e5
+1, 42404, 42404, 1568, 3136, 0x9112710e
+0, 28, 28, 1, 192000, 0xe8658dbf
+1, 43972, 43972, 1564, 3128, 0x8cccf522
+0, 29, 29, 1, 192000, 0x5359f0f9
+1, 45536, 45536, 1564, 3128, 0x6594bbf3
+0, 30, 30, 1, 192000, 0xc1ec80f4
+1, 47100, 47100, 1568, 3136, 0xd878a7d5
+0, 31, 31, 1, 192000, 0xca53806b
+1, 48668, 48668, 1564, 3128, 0xaa6e3905
+0, 32, 32, 1, 192000, 0xf0766b2e
+1, 50232, 50232, 1568, 3136, 0x2a062e04
+0, 33, 33, 1, 192000, 0x39962da8
+1, 51800, 51800, 1564, 3128, 0x84e4006a
+0, 34, 34, 1, 192000, 0x4171c37f
+1, 53364, 53364, 1564, 3128, 0x85183633
+0, 35, 35, 1, 192000, 0x3abf3b46
+1, 54928, 54928, 1568, 3136, 0xb62d4b02
+0, 36, 36, 1, 192000, 0xecc68313
+1, 56496, 56496, 1564, 3128, 0xe209462a
+0, 37, 37, 1, 192000, 0xea339baf
+1, 58060, 58060, 1568, 3136, 0x57c4824b
+0, 38, 38, 1, 192000, 0x616b8f16
+1, 59628, 59628, 1564, 3128, 0x664a9163
+0, 39, 39, 1, 192000, 0xf77a8581
+1, 61192, 61192, 1564, 3128, 0xb4287874
+0, 40, 40, 1, 192000, 0xb315678b
+1, 62756, 62756, 1568, 3136, 0xde626885
+0, 41, 41, 1, 192000, 0x0a4a5218
+1, 64324, 64324, 1564, 3128, 0x919763c2
+0, 42, 42, 1, 192000, 0x98802be4
+1, 65888, 65888, 1564, 3128, 0xa4f664e1
+0, 43, 43, 1, 192000, 0xa2f0fd94
+1, 67452, 67452, 1568, 3136, 0xa0bab0d4
+0, 44, 44, 1, 192000, 0x6671c84f
+1, 69020, 69020, 1564, 3128, 0xe938939c
+0, 45, 45, 1, 192000, 0x38327e31
+1, 70584, 70584, 1568, 3136, 0x3679bfc7
+0, 46, 46, 1, 192000, 0xb85d3e08
+1, 72152, 72152, 1564, 3128, 0xc96c55c3
+0, 47, 47, 1, 192000, 0xdc69eba9
+1, 73716, 73716, 1564, 3128, 0x119114d6
+0, 48, 48, 1, 192000, 0x8955a0b3
+1, 75280, 75280, 1568, 3136, 0x42f3800f
+0, 49, 49, 1, 192000, 0x714a548b
+1, 76848, 76848, 1564, 3128, 0x4250c4ad
+0, 50, 50, 1, 192000, 0xc0471de9
+1, 78412, 78412, 1568, 3136, 0x5cdd4925
+0, 51, 51, 1, 192000, 0x2e16e039
+1, 79980, 79980, 1564, 3128, 0xa4c12360
+0, 52, 52, 1, 192000, 0x9fa4b033
+1, 81544, 81544, 1564, 3128, 0x849f48de
+0, 53, 53, 1, 192000, 0x4a0f9402
+1, 83108, 83108, 1568, 3136, 0x6acd8ff9
+0, 54, 54, 1, 192000, 0x1f3e6843
+1, 84676, 84676, 1564, 3128, 0xb2758556
+0, 55, 55, 1, 192000, 0x31774850
+1, 86240, 86240, 1564, 3128, 0x10f2fcb1
+0, 56, 56, 1, 192000, 0x9d5336a2
+1, 87804, 87804, 1568, 3136, 0xf0f02b23
+0, 57, 57, 1, 192000, 0xf7de27a2
+1, 89372, 89372, 1564, 3128, 0x64f759c6
+0, 58, 58, 1, 192000, 0x98c717ce
+1, 90936, 90936, 1568, 3136, 0x7ec075e3
+0, 59, 59, 1, 192000, 0x615b10b8
+1, 92504, 92504, 1564, 3128, 0xf981d51e
+0, 60, 60, 1, 192000, 0xd5bc0e7e
+1, 94068, 94068, 1564, 3128, 0xc622e8b9
+0, 61, 61, 1, 192000, 0xd5bc0e7e
+1, 95632, 95632, 1568, 3136, 0xf632e2f8
+0, 62, 62, 1, 192000, 0xd5bc0e7e
+1, 97200, 97200, 1564, 3128, 0xda561864
+0, 63, 63, 1, 192000, 0xd5bc0e7e
+1, 98764, 98764, 1568, 3136, 0x14d2e888
+0, 64, 64, 1, 192000, 0xd5bc0e7e
+1, 100332, 100332, 1564, 3128, 0x015bb869
+0, 65, 65, 1, 192000, 0xd5bc0e7e
+1, 101896, 101896, 1564, 3128, 0xedb1fb62
+0, 66, 66, 1, 192000, 0xd5bc0e7e
+1, 103460, 103460, 1568, 3136, 0xe0560c41
+0, 67, 67, 1, 192000, 0xd5bc0e7e
+1, 105028, 105028, 1564, 3128, 0x14773c9a
+0, 68, 68, 1, 192000, 0xd5bc0e7e
+1, 106592, 106592, 1568, 3136, 0x850f1c82
+0, 69, 69, 1, 192000, 0xd5bc0e7e
+1, 108160, 108160, 1564, 3128, 0xb0bd5347
+0, 70, 70, 1, 192000, 0xd5bc0e7e
+1, 109724, 109724, 1564, 3128, 0x8f82edbf
+0, 71, 71, 1, 192000, 0xd5bc0e7e
+1, 111288, 111288, 1568, 3136, 0x493abee2
+0, 72, 72, 1, 192000, 0xd5bc0e7e
+1, 112856, 112856, 1564, 3128, 0xf5daff3f
+0, 73, 73, 1, 192000, 0xd5bc0e7e
+1, 114420, 114420, 1564, 3128, 0x78ad2690
+0, 74, 74, 1, 192000, 0xd5bc0e7e
+1, 115984, 115984, 1568, 3136, 0x490ebafc
+0, 75, 75, 1, 192000, 0xd5bc0e7e
+1, 117552, 117552, 1564, 3128, 0x70333fd2
+0, 76, 76, 1, 192000, 0xd5bc0e7e
+1, 119116, 119116, 1568, 3136, 0x8cb1c350
+0, 77, 77, 1, 192000, 0xd5bc0e7e
+1, 120684, 120684, 1564, 3128, 0x8bd057cb
+0, 78, 78, 1, 192000, 0xd5bc0e7e
+1, 122248, 122248, 1564, 3128, 0x161b3dbc
+0, 79, 79, 1, 192000, 0xd5bc0e7e
+1, 123812, 123812, 1568, 3136, 0xb47fb88a
+0, 80, 80, 1, 192000, 0xd5bc0e7e
+1, 125380, 125380, 1564, 3128, 0x474b381e
+0, 81, 81, 1, 192000, 0xd5bc0e7e
+1, 126944, 126944, 1568, 3136, 0x07c519bb
+0, 82, 82, 1, 192000, 0xd5bc0e7e
+1, 128512, 128512, 1564, 3128, 0x15b916c8
+0, 83, 83, 1, 192000, 0xd5bc0e7e
+1, 130076, 130076, 1564, 3128, 0x0ed7f6fb
+0, 84, 84, 1, 192000, 0xd5bc0e7e
+1, 131640, 131640, 1568, 3136, 0x54d6397b
+0, 85, 85, 1, 192000, 0xd5bc0e7e
+1, 133208, 133208, 1564, 3128, 0x437242bb
+0, 86, 86, 1, 192000, 0xd5bc0e7e
+1, 134772, 134772, 1564, 3128, 0x38f05c4d
+0, 87, 87, 1, 192000, 0xd5bc0e7e
+1, 136336, 136336, 1568, 3136, 0x5d000e59
+0, 88, 88, 1, 192000, 0xd5bc0e7e
+1, 137904, 137904, 1564, 3128, 0xdeab2d04
+0, 89, 89, 1, 192000, 0xd5bc0e7e
+1, 139468, 139468, 1568, 3136, 0x77de6880
+0, 90, 90, 1, 192000, 0xd5bc0e7e
+1, 141036, 141036, 1564, 3128, 0xbc87ef25
+0, 91, 91, 1, 192000, 0xd5bc0e7e
+1, 142600, 142600, 1564, 3128, 0xc1638ade
+0, 92, 92, 1, 192000, 0xd5bc0e7e
+1, 144164, 144164, 1568, 3136, 0xcfb64a5f
+0, 93, 93, 1, 192000, 0xd5bc0e7e
+1, 145732, 145732, 1564, 3128, 0x90b1b826
+0, 94, 94, 1, 192000, 0xd5bc0e7e
+1, 147296, 147296, 1568, 3136, 0x00000000
+0, 95, 95, 1, 192000, 0xd5bc0e7e
+1, 148864, 148864, 1564, 3128, 0x00000000
+0, 96, 96, 1, 192000, 0xd5bc0e7e
+1, 150428, 150428, 1564, 3128, 0x00000000
+0, 97, 97, 1, 192000, 0xd5bc0e7e
+1, 151992, 151992, 1568, 3136, 0x00000000
+0, 98, 98, 1, 192000, 0xd5bc0e7e
+1, 153560, 153560, 1564, 3128, 0x00000000
+0, 99, 99, 1, 192000, 0xd5bc0e7e
+1, 155124, 155124, 1428, 2856, 0x00000000
diff --git a/tests/ref/fate/smc b/tests/ref/fate/smc
index 2901b908d5..1635b37e55 100644
--- a/tests/ref/fate/smc
+++ b/tests/ref/fate/smc
@@ -1,120 +1,121 @@
-0, 0, 230400, 0xf814fc90
-0, 9000, 230400, 0xe1b13137
-0, 18000, 230400, 0xa7f4d408
-0, 27000, 230400, 0x4b86e1d5
-0, 36000, 230400, 0xc663af5a
-0, 45000, 230400, 0x943b5757
-0, 54000, 230400, 0x0d7ee496
-0, 63000, 230400, 0x78792de4
-0, 72000, 230400, 0xd102fb8d
-0, 81000, 230400, 0xf9006139
-0, 90000, 230400, 0x216bd87d
-0, 99000, 230400, 0x1e4c902c
-0, 108000, 230400, 0x5aaa7742
-0, 117000, 230400, 0x48699d93
-0, 126000, 230400, 0xd1e22a5c
-0, 135000, 230400, 0x18929315
-0, 144000, 230400, 0x680dd4d3
-0, 153000, 230400, 0x4cdbcbcb
-0, 162000, 230400, 0x6f810d98
-0, 171000, 230400, 0xb4f68204
-0, 180000, 230400, 0xbd3bb19e
-0, 189000, 230400, 0xab27b424
-0, 198000, 230400, 0xe5dd675d
-0, 207000, 230400, 0x811e45a1
-0, 216000, 230400, 0x951011f7
-0, 225000, 230400, 0x2f1e2b99
-0, 234000, 230400, 0x6657c0d6
-0, 243000, 230400, 0xfd29177d
-0, 252000, 230400, 0x4b4c01d7
-0, 261000, 230400, 0x9af286aa
-0, 270000, 230400, 0xc4e9b193
-0, 279000, 230400, 0x05dc28ec
-0, 288000, 230400, 0x68352119
-0, 297000, 230400, 0x0b87e79c
-0, 306000, 230400, 0x8358b180
-0, 315000, 230400, 0x8debbc9d
-0, 324000, 230400, 0x961c58ce
-0, 333000, 230400, 0xd8a809c8
-0, 342000, 230400, 0x5351789d
-0, 351000, 230400, 0xa7ca598c
-0, 360000, 230400, 0xc5ce1812
-0, 369000, 230400, 0x74496550
-0, 378000, 230400, 0x326e366e
-0, 387000, 230400, 0x27ae9a92
-0, 396000, 230400, 0xadbc8794
-0, 405000, 230400, 0x7f3587d8
-0, 414000, 230400, 0xf0400ca6
-0, 423000, 230400, 0x59a5138e
-0, 432000, 230400, 0x456d62a5
-0, 441000, 230400, 0xf1a5e5f1
-0, 450000, 230400, 0x75c712e4
-0, 459000, 230400, 0xd160780a
-0, 468000, 230400, 0xc6c23cf0
-0, 477000, 230400, 0x0339a2ac
-0, 486000, 230400, 0x0e27a2e2
-0, 495000, 230400, 0x84976300
-0, 504000, 230400, 0xb368f3c4
-0, 513000, 230400, 0xa5231fb8
-0, 522000, 230400, 0x17c036d4
-0, 531000, 230400, 0xfc81a2c0
-0, 540000, 230400, 0x99faa403
-0, 549000, 230400, 0xff59efd3
-0, 558000, 230400, 0xcece1d23
-0, 567000, 230400, 0x56c785d9
-0, 576000, 230400, 0xe5a9f222
-0, 585000, 230400, 0xb80946f8
-0, 594000, 230400, 0xf6b642c6
-0, 603000, 230400, 0x69573aed
-0, 612000, 230400, 0xfb69a1fd
-0, 621000, 230400, 0x100b47f4
-0, 630000, 230400, 0x6edf9543
-0, 639000, 230400, 0x11fdf43c
-0, 648000, 230400, 0xd143bf2a
-0, 657000, 230400, 0x7ca747c4
-0, 666000, 230400, 0xd984bd73
-0, 675000, 230400, 0xc5477e8d
-0, 684000, 230400, 0xf7d58300
-0, 693000, 230400, 0x7a1b9463
-0, 702000, 230400, 0x47a29342
-0, 711000, 230400, 0xdf437f9d
-0, 720000, 230400, 0xf836ef5d
-0, 729000, 230400, 0xc98937af
-0, 738000, 230400, 0x9258695b
-0, 747000, 230400, 0xd4fe179c
-0, 756000, 230400, 0x35d524d3
-0, 765000, 230400, 0xd9ce5484
-0, 774000, 230400, 0xdef776ed
-0, 783000, 230400, 0x154c4057
-0, 792000, 230400, 0xf5c764f1
-0, 801000, 230400, 0x41979b13
-0, 810000, 230400, 0xae4e83db
-0, 819000, 230400, 0x09fc0f83
-0, 828000, 230400, 0x60267fdf
-0, 837000, 230400, 0xeaafc525
-0, 846000, 230400, 0x80cc35e5
-0, 855000, 230400, 0xd82c6164
-0, 864000, 230400, 0xd68b8111
-0, 873000, 230400, 0x96f874a3
-0, 882000, 230400, 0x7fc861c4
-0, 891000, 230400, 0xb911f310
-0, 900000, 230400, 0x35bbf5aa
-0, 909000, 230400, 0xa922b683
-0, 918000, 230400, 0xbf6ae353
-0, 927000, 230400, 0x6bd3984c
-0, 936000, 230400, 0xe51768c0
-0, 945000, 230400, 0xee691624
-0, 954000, 230400, 0xd546fed7
-0, 963000, 230400, 0x98d375e6
-0, 972000, 230400, 0x3b9ca990
-0, 981000, 230400, 0x27128ad1
-0, 990000, 230400, 0x2788e38c
-0, 999000, 230400, 0xb0cf3381
-0, 1008000, 230400, 0x4fc86d39
-0, 1017000, 230400, 0xf5632fff
-0, 1026000, 230400, 0x7fa1e6c2
-0, 1035000, 230400, 0xffeef044
-0, 1044000, 230400, 0x932af385
-0, 1053000, 230400, 0x76738428
-0, 1062000, 230400, 0xf6771ba2
-0, 1071000, 230400, 0x17e2ff27
+#tb 0: 1/10
+0, 0, 0, 1, 230400, 0xf814fc90
+0, 1, 1, 1, 230400, 0xe1b13137
+0, 2, 2, 1, 230400, 0xa7f4d408
+0, 3, 3, 1, 230400, 0x4b86e1d5
+0, 4, 4, 1, 230400, 0xc663af5a
+0, 5, 5, 1, 230400, 0x943b5757
+0, 6, 6, 1, 230400, 0x0d7ee496
+0, 7, 7, 1, 230400, 0x78792de4
+0, 8, 8, 1, 230400, 0xd102fb8d
+0, 9, 9, 1, 230400, 0xf9006139
+0, 10, 10, 1, 230400, 0x216bd87d
+0, 11, 11, 1, 230400, 0x1e4c902c
+0, 12, 12, 1, 230400, 0x5aaa7742
+0, 13, 13, 1, 230400, 0x48699d93
+0, 14, 14, 1, 230400, 0xd1e22a5c
+0, 15, 15, 1, 230400, 0x18929315
+0, 16, 16, 1, 230400, 0x680dd4d3
+0, 17, 17, 1, 230400, 0x4cdbcbcb
+0, 18, 18, 1, 230400, 0x6f810d98
+0, 19, 19, 1, 230400, 0xb4f68204
+0, 20, 20, 1, 230400, 0xbd3bb19e
+0, 21, 21, 1, 230400, 0xab27b424
+0, 22, 22, 1, 230400, 0xe5dd675d
+0, 23, 23, 1, 230400, 0x811e45a1
+0, 24, 24, 1, 230400, 0x951011f7
+0, 25, 25, 1, 230400, 0x2f1e2b99
+0, 26, 26, 1, 230400, 0x6657c0d6
+0, 27, 27, 1, 230400, 0xfd29177d
+0, 28, 28, 1, 230400, 0x4b4c01d7
+0, 29, 29, 1, 230400, 0x9af286aa
+0, 30, 30, 1, 230400, 0xc4e9b193
+0, 31, 31, 1, 230400, 0x05dc28ec
+0, 32, 32, 1, 230400, 0x68352119
+0, 33, 33, 1, 230400, 0x0b87e79c
+0, 34, 34, 1, 230400, 0x8358b180
+0, 35, 35, 1, 230400, 0x8debbc9d
+0, 36, 36, 1, 230400, 0x961c58ce
+0, 37, 37, 1, 230400, 0xd8a809c8
+0, 38, 38, 1, 230400, 0x5351789d
+0, 39, 39, 1, 230400, 0xa7ca598c
+0, 40, 40, 1, 230400, 0xc5ce1812
+0, 41, 41, 1, 230400, 0x74496550
+0, 42, 42, 1, 230400, 0x326e366e
+0, 43, 43, 1, 230400, 0x27ae9a92
+0, 44, 44, 1, 230400, 0xadbc8794
+0, 45, 45, 1, 230400, 0x7f3587d8
+0, 46, 46, 1, 230400, 0xf0400ca6
+0, 47, 47, 1, 230400, 0x59a5138e
+0, 48, 48, 1, 230400, 0x456d62a5
+0, 49, 49, 1, 230400, 0xf1a5e5f1
+0, 50, 50, 1, 230400, 0x75c712e4
+0, 51, 51, 1, 230400, 0xd160780a
+0, 52, 52, 1, 230400, 0xc6c23cf0
+0, 53, 53, 1, 230400, 0x0339a2ac
+0, 54, 54, 1, 230400, 0x0e27a2e2
+0, 55, 55, 1, 230400, 0x84976300
+0, 56, 56, 1, 230400, 0xb368f3c4
+0, 57, 57, 1, 230400, 0xa5231fb8
+0, 58, 58, 1, 230400, 0x17c036d4
+0, 59, 59, 1, 230400, 0xfc81a2c0
+0, 60, 60, 1, 230400, 0x99faa403
+0, 61, 61, 1, 230400, 0xff59efd3
+0, 62, 62, 1, 230400, 0xcece1d23
+0, 63, 63, 1, 230400, 0x56c785d9
+0, 64, 64, 1, 230400, 0xe5a9f222
+0, 65, 65, 1, 230400, 0xb80946f8
+0, 66, 66, 1, 230400, 0xf6b642c6
+0, 67, 67, 1, 230400, 0x69573aed
+0, 68, 68, 1, 230400, 0xfb69a1fd
+0, 69, 69, 1, 230400, 0x100b47f4
+0, 70, 70, 1, 230400, 0x6edf9543
+0, 71, 71, 1, 230400, 0x11fdf43c
+0, 72, 72, 1, 230400, 0xd143bf2a
+0, 73, 73, 1, 230400, 0x7ca747c4
+0, 74, 74, 1, 230400, 0xd984bd73
+0, 75, 75, 1, 230400, 0xc5477e8d
+0, 76, 76, 1, 230400, 0xf7d58300
+0, 77, 77, 1, 230400, 0x7a1b9463
+0, 78, 78, 1, 230400, 0x47a29342
+0, 79, 79, 1, 230400, 0xdf437f9d
+0, 80, 80, 1, 230400, 0xf836ef5d
+0, 81, 81, 1, 230400, 0xc98937af
+0, 82, 82, 1, 230400, 0x9258695b
+0, 83, 83, 1, 230400, 0xd4fe179c
+0, 84, 84, 1, 230400, 0x35d524d3
+0, 85, 85, 1, 230400, 0xd9ce5484
+0, 86, 86, 1, 230400, 0xdef776ed
+0, 87, 87, 1, 230400, 0x154c4057
+0, 88, 88, 1, 230400, 0xf5c764f1
+0, 89, 89, 1, 230400, 0x41979b13
+0, 90, 90, 1, 230400, 0xae4e83db
+0, 91, 91, 1, 230400, 0x09fc0f83
+0, 92, 92, 1, 230400, 0x60267fdf
+0, 93, 93, 1, 230400, 0xeaafc525
+0, 94, 94, 1, 230400, 0x80cc35e5
+0, 95, 95, 1, 230400, 0xd82c6164
+0, 96, 96, 1, 230400, 0xd68b8111
+0, 97, 97, 1, 230400, 0x96f874a3
+0, 98, 98, 1, 230400, 0x7fc861c4
+0, 99, 99, 1, 230400, 0xb911f310
+0, 100, 100, 1, 230400, 0x35bbf5aa
+0, 101, 101, 1, 230400, 0xa922b683
+0, 102, 102, 1, 230400, 0xbf6ae353
+0, 103, 103, 1, 230400, 0x6bd3984c
+0, 104, 104, 1, 230400, 0xe51768c0
+0, 105, 105, 1, 230400, 0xee691624
+0, 106, 106, 1, 230400, 0xd546fed7
+0, 107, 107, 1, 230400, 0x98d375e6
+0, 108, 108, 1, 230400, 0x3b9ca990
+0, 109, 109, 1, 230400, 0x27128ad1
+0, 110, 110, 1, 230400, 0x2788e38c
+0, 111, 111, 1, 230400, 0xb0cf3381
+0, 112, 112, 1, 230400, 0x4fc86d39
+0, 113, 113, 1, 230400, 0xf5632fff
+0, 114, 114, 1, 230400, 0x7fa1e6c2
+0, 115, 115, 1, 230400, 0xffeef044
+0, 116, 116, 1, 230400, 0x932af385
+0, 117, 117, 1, 230400, 0x76738428
+0, 118, 118, 1, 230400, 0xf6771ba2
+0, 119, 119, 1, 230400, 0x17e2ff27
diff --git a/tests/ref/fate/smjpeg b/tests/ref/fate/smjpeg
index ec91959e7c..928ded7c62 100644
--- a/tests/ref/fate/smjpeg
+++ b/tests/ref/fate/smjpeg
@@ -1,423 +1,425 @@
-0, 0, 734, 0x5a042c2c
-1, 0, 1024, 0x00000000
-1, 2090, 1024, 0x00000000
-1, 4180, 1024, 0xd89a448e
-1, 6269, 1024, 0x695b369c
-1, 8359, 1024, 0xc8ba5707
-0, 9990, 763, 0xb5893f2f
-1, 10449, 1024, 0xdf241fc6
-1, 12539, 1024, 0x61cf4166
-1, 14629, 1024, 0x97cbc386
-1, 16718, 1024, 0x44899d04
-1, 18808, 1024, 0xa7cbaa62
-0, 19980, 3023, 0x0f3907d3
-1, 20898, 1024, 0xa7aea60c
-1, 22988, 1024, 0xd7b18a89
-1, 25078, 1024, 0x268e81f6
-1, 27167, 1024, 0x9cf83a2f
-1, 29257, 1024, 0x5559b508
-0, 29970, 4800, 0x22e6e18a
-1, 31347, 1024, 0xe1b9e71c
-1, 33437, 1024, 0xdcee733e
-1, 35527, 1024, 0xe5918f60
-1, 37616, 1024, 0x29dbd209
-1, 39706, 1024, 0x9bcbcf16
-0, 39960, 6417, 0x427adde5
-1, 41796, 1024, 0x86f5f458
-1, 43886, 1024, 0xabcbda86
-1, 45976, 1024, 0xc51f77b9
-1, 48065, 1024, 0xf6b3a504
-0, 49950, 6776, 0x7a74c6ad
-1, 50155, 1024, 0x1af3e40e
-1, 52245, 1024, 0x3866b03b
-1, 54335, 1024, 0xbc005403
-1, 56424, 1024, 0xe9dfcc51
-1, 58514, 1024, 0x83c837cb
-0, 59940, 6808, 0x1f6eb7c3
-1, 60604, 1024, 0xfa649580
-1, 62694, 1024, 0x519452ea
-1, 64784, 1024, 0xd4978774
-1, 66873, 1024, 0xe2a3b1cd
-1, 68963, 1024, 0x9a9472ad
-0, 69930, 6726, 0x452087e6
-1, 71053, 1024, 0xa12d4060
-1, 73143, 1024, 0x31fb0646
-1, 75233, 1024, 0xfc44343f
-1, 77322, 1024, 0x0847751a
-1, 79412, 1024, 0x227968a2
-0, 79920, 6829, 0xee82b109
-1, 81502, 1024, 0x7cce9f1c
-1, 83592, 1024, 0xb8356713
-1, 85682, 1024, 0xb29f6e6f
-1, 87771, 1024, 0x9e1430ab
-1, 89861, 1024, 0x26d85423
-0, 89910, 7055, 0xf41f1108
-1, 91951, 1024, 0x6496547d
-1, 94041, 1024, 0x316b1a86
-1, 96131, 1024, 0x3cd83afc
-1, 98220, 1024, 0x993ff633
-0, 99990, 6977, 0xf8fe1ede
-1, 100310, 1024, 0x0708d1a2
-1, 102400, 1024, 0xd7230db9
-1, 104490, 1024, 0xbb0779ca
-1, 106580, 1024, 0xc6094e1b
-1, 108669, 1024, 0x15a8b039
-0, 109980, 6942, 0x9ad105c6
-1, 110759, 1024, 0xd6dbe88c
-1, 112849, 1024, 0x7e8d1140
-1, 114939, 1024, 0xef88e525
-1, 117029, 1024, 0x44e21149
-1, 119118, 1024, 0x65b0f5f4
-0, 119970, 6926, 0xe239dad6
-1, 121208, 1024, 0xb955f687
-1, 123298, 1024, 0xc85fba9c
-1, 125388, 1024, 0xf59655ad
-1, 127478, 1024, 0x6de80bf1
-1, 129567, 1024, 0x2dcf6e41
-0, 129960, 6966, 0x81dcfab1
-1, 131657, 1024, 0xd0ddcf8a
-1, 133747, 1024, 0x00135c2d
-1, 135837, 1024, 0x697f8efd
-1, 137927, 1024, 0x7a9bada5
-0, 139950, 6896, 0x31e6cc02
-1, 140016, 1024, 0x0d22783c
-1, 142106, 1024, 0x7726d07d
-1, 144196, 1024, 0xa2f14f67
-1, 146286, 1024, 0x7f51060d
-1, 148376, 1024, 0xc4ec6aea
-0, 149940, 6889, 0x1cc1006e
-1, 150465, 1024, 0x9bb37ca4
-1, 152555, 1024, 0x9b085577
-1, 154645, 1024, 0x8812f8af
-1, 156735, 1024, 0x788f5221
-1, 158824, 1024, 0x3a2ce642
-0, 159930, 6933, 0xc303f87f
-1, 160914, 1024, 0x72415692
-1, 163004, 1024, 0xe3dcc105
-1, 165094, 1024, 0xb26c0599
-1, 167184, 1024, 0x5c9e55eb
-1, 169273, 1024, 0x8fe88707
-0, 169920, 7034, 0xb4970a20
-1, 171363, 1024, 0xc5d7beb6
-1, 173453, 1024, 0xe1d3a3b4
-1, 175543, 1024, 0x012da0c6
-1, 177633, 1024, 0x8d010922
-1, 179722, 1024, 0x3366eb0d
-0, 179910, 6961, 0xf064095d
-1, 181812, 1024, 0xc9381a27
-1, 183902, 1024, 0x0774f685
-1, 185992, 1024, 0xc5cae0a5
-1, 188082, 1024, 0xa6f4737c
-0, 189990, 7089, 0x5ba350f9
-1, 190171, 1024, 0x8fb6d0d1
-1, 192261, 1024, 0x05f579c2
-1, 194351, 1024, 0x56905d99
-1, 196441, 1024, 0x002ee18d
-1, 198531, 1024, 0xeb37ef51
-0, 199980, 7078, 0xa83f3e88
-1, 200620, 1024, 0x38025635
-1, 202710, 1024, 0x4fe643c8
-1, 204800, 1024, 0x11d66ab1
-1, 206890, 1024, 0xcc3051e9
-1, 208980, 1024, 0xcd93e854
-0, 209970, 7147, 0xcda66cfc
-1, 211069, 1024, 0x38f1196d
-1, 213159, 1024, 0x657a15fc
-1, 215249, 1024, 0x669ce2a9
-1, 217339, 1024, 0x95862dda
-1, 219429, 1024, 0x1726a7b2
-0, 219960, 7173, 0xb7455859
-1, 221518, 1024, 0xd6ece2a1
-1, 223608, 1024, 0x33ab9553
-1, 225698, 1024, 0xd50c73a6
-1, 227788, 1024, 0xfe25b63a
-1, 229878, 1024, 0x7e2959e3
-0, 229950, 7213, 0x97b89994
-1, 231967, 1024, 0xa4c07b34
-1, 234057, 1024, 0xd6d8f15c
-1, 236147, 1024, 0x1eccddd7
-1, 238237, 1024, 0x2b69f9cb
-0, 239940, 7170, 0xca8b2948
-1, 240327, 1024, 0x667b775f
-1, 242416, 1024, 0xad3b84e9
-1, 244506, 1024, 0x4f29fc67
-1, 246596, 1024, 0x8d611ab7
-1, 248686, 1024, 0x278966ea
-0, 249930, 7174, 0xc7cc6bbb
-1, 250776, 1024, 0xaf33812b
-1, 252865, 1024, 0xa55f4265
-1, 254955, 1024, 0x023cb51c
-1, 257045, 1024, 0x1d1f1005
-1, 259135, 1024, 0x874cccf7
-0, 259920, 7235, 0xc2e68d2b
-1, 261224, 1024, 0xda705428
-1, 263314, 1024, 0x48d9b440
-1, 265404, 1024, 0xa14e0712
-1, 267494, 1024, 0x7efbad1f
-1, 269584, 1024, 0xdb82c17f
-0, 270000, 7261, 0x8204a423
-1, 271673, 1024, 0xcbe87613
-1, 273763, 1024, 0x3a63df1d
-1, 275853, 1024, 0xd5636bba
-1, 277943, 1024, 0x9397af23
-0, 279990, 7353, 0xacc7e7c0
-1, 280033, 1024, 0x32a07c98
-1, 282122, 1024, 0x202ca667
-1, 284212, 1024, 0xdf969011
-1, 286302, 1024, 0xc434d238
-1, 288392, 1024, 0xe9ad7562
-0, 289980, 7065, 0x45035c5c
-1, 290482, 1024, 0xb51b6b50
-1, 292571, 1024, 0xe70aecd3
-1, 294661, 1024, 0x03c816b2
-1, 296751, 1024, 0x869fdf25
-1, 298841, 1024, 0xd40a0a62
-0, 299970, 7269, 0x72edbb76
-1, 300931, 1024, 0x5af7dd35
-1, 303020, 1024, 0x891ffc72
-1, 305110, 1024, 0x1ff68a08
-1, 307200, 1024, 0x5a7517a9
-1, 309290, 1024, 0x0f959f74
-0, 309960, 7220, 0xb926772f
-1, 311380, 1024, 0xe92a12a2
-1, 313469, 1024, 0x38000e55
-1, 315559, 1024, 0x39fbdd70
-1, 317649, 1024, 0xca3d9184
-1, 319739, 1024, 0x66c8995b
-0, 319950, 7326, 0x0a66c632
-1, 321829, 1024, 0xac25acea
-1, 323918, 1024, 0x3cd1046c
-1, 326008, 1024, 0x6a1df31c
-1, 328098, 1024, 0x21ca10a1
-0, 329940, 7225, 0xe39076ab
-1, 330188, 1024, 0x1aeccedc
-1, 332278, 1024, 0xddea1335
-1, 334367, 1024, 0x19f5ca9f
-1, 336457, 1024, 0x88e95e43
-1, 338547, 1024, 0x726284fe
-0, 339930, 7265, 0xe0209036
-1, 340637, 1024, 0x6b85b40e
-1, 342727, 1024, 0x111fee2a
-1, 344816, 1024, 0x3656b588
-1, 346906, 1024, 0xa5a2b552
-1, 348996, 1024, 0x38fb2467
-0, 349920, 7337, 0x7a5dc093
-1, 351086, 1024, 0xaa919ccc
-1, 353176, 1024, 0x15993dbc
-1, 355265, 1024, 0xbe01a7b9
-1, 357355, 1024, 0xefe93c09
-1, 359445, 1024, 0x1bb566e5
-0, 360000, 7246, 0x519a7a3c
-1, 361535, 1024, 0x15ce6237
-1, 363624, 1024, 0xa8552e66
-1, 365714, 1024, 0x9d80187e
-1, 367804, 1024, 0x5df3fc30
-1, 369894, 1024, 0x1a312aa5
-0, 369990, 7266, 0x352c8078
-1, 371984, 1024, 0x6bb8e302
-1, 374073, 1024, 0xbd9684bb
-1, 376163, 1024, 0x78b0b166
-1, 378253, 1024, 0xd9af5eae
-0, 379980, 7323, 0xcaf69d7c
-1, 380343, 1024, 0xdb90fe82
-1, 382433, 1024, 0x327614e9
-1, 384522, 1024, 0x1f19b7fe
-1, 386612, 1024, 0x46c53f96
-1, 388702, 1024, 0x921b2189
-0, 389970, 7309, 0x98c1e6f7
-1, 390792, 1024, 0xa8fbc85a
-1, 392882, 1024, 0xabfdaaae
-1, 394971, 1024, 0x6acc7387
-1, 397061, 1024, 0x0d9c27b5
-1, 399151, 1024, 0xba4dd809
-0, 399960, 7121, 0x913d5bd6
-1, 401241, 1024, 0x2a2ad521
-1, 403331, 1024, 0x892de38a
-1, 405420, 1024, 0xdc97a2eb
-1, 407510, 1024, 0x4f614ca4
-1, 409600, 1024, 0x9c8a77ea
-0, 409950, 7088, 0x56302362
-1, 411690, 1024, 0x2d30e646
-1, 413780, 1024, 0x74e800a7
-1, 415869, 1024, 0x1e01fb02
-1, 417959, 1024, 0x4ed2c1d8
-0, 419940, 7104, 0xc0d14f78
-1, 420049, 1024, 0xf2fdbe63
-1, 422139, 1024, 0x8d6f63a1
-1, 424229, 1024, 0xded468d9
-1, 426318, 1024, 0xccad839e
-1, 428408, 1024, 0xdde7c082
-0, 429930, 7169, 0xd03c825b
-1, 430498, 1024, 0x548613c5
-1, 432588, 1024, 0x383909bd
-1, 434678, 1024, 0xfd37627b
-1, 436767, 1024, 0x6d95a481
-1, 438857, 1024, 0x56aa87fa
-0, 439920, 7038, 0x1ecc201d
-1, 440947, 1024, 0x7b67258c
-1, 443037, 1024, 0x7dd99a92
-1, 445127, 1024, 0x4a66d102
-1, 447216, 1024, 0x7b3fce51
-1, 449306, 1024, 0xbbd968aa
-0, 450000, 7015, 0x83c94454
-1, 451396, 1024, 0x8283ec36
-1, 453486, 1024, 0x3c96493d
-1, 455576, 1024, 0xfa4f8cf8
-1, 457665, 1024, 0xe2cf872d
-1, 459755, 1024, 0x0a9e7aa6
-0, 459990, 6983, 0x9e51f54d
-1, 461845, 1024, 0x6e7a0550
-1, 463935, 1024, 0x3acfea2f
-1, 466024, 1024, 0x7111d0fa
-1, 468114, 1024, 0xe9a1eca9
-0, 469980, 7088, 0x70d33de1
-1, 470204, 1024, 0x24da6c46
-1, 472294, 1024, 0x117cff37
-1, 474384, 1024, 0x0f27cab6
-1, 476473, 1024, 0x69b6b4e6
-1, 478563, 1024, 0x1e6cc841
-0, 479970, 7096, 0x4d0f81b5
-1, 480653, 1024, 0xb01e2365
-1, 482743, 1024, 0x14e200d3
-1, 484833, 1024, 0xd1184c98
-1, 486922, 1024, 0xef9140e9
-1, 489012, 1024, 0x4cbb645e
-0, 489960, 7106, 0xd1a83ddc
-1, 491102, 1024, 0xe7fe2f06
-1, 493192, 1024, 0xf8c45028
-1, 495282, 1024, 0x561358f4
-1, 497371, 1024, 0xd0129b77
-1, 499461, 1024, 0xcc636e88
-0, 499950, 7219, 0x20f47fe4
-1, 501551, 1024, 0xe9406321
-1, 503641, 1024, 0x9f16a041
-1, 505731, 1024, 0x468bf409
-1, 507820, 1024, 0x3df70f7b
-1, 509910, 1024, 0xa880b11b
-0, 509940, 7184, 0x45dc6a0e
-1, 512000, 1024, 0x3286c489
-1, 514090, 1024, 0x39fe9ebc
-1, 516180, 1024, 0xc533d83b
-1, 518269, 1024, 0x153b195d
-0, 519930, 7222, 0x488c6499
-1, 520359, 1024, 0xd84786a1
-1, 522449, 1024, 0xdc295aaa
-1, 524539, 1024, 0xfb764d8c
-1, 526629, 1024, 0xeebc9db9
-1, 528718, 1024, 0x7ba9403e
-0, 529920, 7254, 0xbd097ba7
-1, 530808, 1024, 0x4e5571ec
-1, 532898, 1024, 0xd965fad4
-1, 534988, 1024, 0x87e259f2
-1, 537078, 1024, 0xae7e533b
-1, 539167, 1024, 0x313cf4d6
-0, 540000, 7189, 0x46e06d43
-1, 541257, 1024, 0xe1844c90
-1, 543347, 1024, 0xbb057b44
-1, 545437, 1024, 0xa5099687
-1, 547527, 1024, 0xbff10707
-1, 549616, 1024, 0x37c4ffc0
-0, 549990, 7283, 0x19dd7319
-1, 551706, 1024, 0xf9fb6caa
-1, 553796, 1024, 0x3b6a3a1f
-1, 555886, 1024, 0x83431edb
-1, 557976, 1024, 0x1eb713cf
-0, 559980, 7161, 0x23171d02
-1, 560065, 1024, 0xd7b07a6d
-1, 562155, 1024, 0x81ae3391
-1, 564245, 1024, 0xf150130a
-1, 566335, 1024, 0x09678eaa
-1, 568424, 1024, 0xb94e06f1
-0, 569970, 6976, 0xcc610c26
-1, 570514, 1024, 0x67b1dbc9
-1, 572604, 1024, 0xd6edc235
-1, 574694, 1024, 0x34e4c499
-1, 576784, 1024, 0xeefd89c0
-1, 578873, 1024, 0x38afdaf1
-0, 579960, 7056, 0x6cd917b0
-1, 580963, 1024, 0x29a60d76
-1, 583053, 1024, 0xe28a4372
-1, 585143, 1024, 0x7089454d
-1, 587233, 1024, 0x0c01bb7b
-1, 589322, 1024, 0xbd776a72
-0, 589950, 6736, 0x02b78951
-1, 591412, 1024, 0x86776fd0
-1, 593502, 1024, 0xb37c88f7
-1, 595592, 1024, 0x5f90aaf8
-1, 597682, 1024, 0x203d4222
-1, 599771, 1024, 0x382692a6
-0, 599940, 6540, 0x767e0854
-1, 601861, 1024, 0xf37c95fd
-1, 603951, 1024, 0x6c0b8877
-1, 606041, 1024, 0x2e54a8b6
-1, 608131, 1024, 0x7f266488
-0, 609930, 6170, 0xc84962fb
-1, 610220, 1024, 0xfbf20f9a
-1, 612310, 1024, 0xf2985cc0
-1, 614400, 1024, 0xc7075340
-1, 616490, 1024, 0xe4585695
-1, 618580, 1024, 0xbdffa380
-0, 619920, 6169, 0x27e06c03
-1, 620669, 1024, 0x2422a8a9
-1, 622759, 1024, 0x59cbd75f
-1, 624849, 1024, 0x04ad1a8c
-1, 626939, 1024, 0x33c09191
-1, 629029, 1024, 0x55efa6fd
-0, 630000, 5864, 0xd14db83f
-1, 631118, 1024, 0xf73d0e5d
-1, 633208, 1024, 0x6141ebae
-1, 635298, 1024, 0x7db17a68
-1, 637388, 1024, 0xa6c690b6
-1, 639478, 1024, 0xa6fd6725
-0, 639990, 5375, 0x4a21055d
-1, 641567, 1024, 0x50a90b9b
-1, 643657, 1024, 0xef990dc8
-1, 645747, 1024, 0x75adf6b5
-1, 647837, 1024, 0x61eac43e
-1, 649927, 1024, 0x67797a19
-0, 649980, 5206, 0x95ead3cb
-1, 652016, 1024, 0xf325277a
-1, 654106, 1024, 0x18bf254a
-1, 656196, 1024, 0x2ce6bee3
-1, 658286, 1024, 0x8d320860
-0, 659970, 5220, 0xcfdcc37e
-1, 660376, 1024, 0xc979b6e8
-1, 662465, 1024, 0xdb644b41
-1, 664555, 1024, 0xe1b368ba
-1, 666645, 1024, 0xacc53d15
-1, 668735, 1024, 0x42ea8c18
-0, 669960, 4946, 0x2d864a77
-1, 670824, 1024, 0xe52c99a4
-1, 672914, 1024, 0xd7db54a6
-1, 675004, 1024, 0x7f27a7e3
-1, 677094, 1024, 0xf7ffeaa9
-1, 679184, 1024, 0x792b6088
-0, 679950, 4390, 0x2ab9f462
-1, 681273, 1024, 0x61d99724
-1, 683363, 1024, 0x5213720e
-1, 685453, 1024, 0xac09dd30
-1, 687543, 1024, 0x960bf6bb
-1, 689633, 1024, 0xc90168e1
-0, 689940, 4051, 0x1d09592e
-1, 691722, 1024, 0x43b45768
-1, 693812, 1024, 0x935d60a1
-1, 695902, 1024, 0x9a342ef2
-1, 697992, 1024, 0xc894709f
-0, 699930, 3680, 0x39bd6a12
-1, 700082, 1024, 0x59b43b07
-1, 702171, 1024, 0x36a1a98d
-1, 704261, 1024, 0x9e1a121c
-1, 706351, 1024, 0x02208b78
-1, 708441, 1024, 0xd1d7b274
-0, 709920, 2910, 0x6337ece9
-1, 710531, 1024, 0xdacd5096
-1, 712620, 1024, 0x51b71ead
-1, 714710, 1024, 0xd009a7ca
-1, 716800, 1024, 0xb6d5a938
-1, 718890, 1024, 0xf3d45e47
-0, 720000, 2153, 0xf4e3bc17
-1, 720980, 1024, 0xea8e04fc
-1, 723069, 1024, 0x0b928bd8
-1, 725159, 1024, 0x0f02caec
-1, 727249, 1024, 0xe2b137a8
-1, 729339, 1024, 0xd5f94892
+#tb 0: 1/1000
+#tb 1: 1/22050
+0, 0, 0, 0, 734, 0x5a042c2c
+1, 0, 0, 512, 1024, 0x00000000
+1, 512, 512, 512, 1024, 0x00000000
+1, 1024, 1024, 512, 1024, 0xd89a448e
+1, 1536, 1536, 512, 1024, 0x695b369c
+1, 2048, 2048, 512, 1024, 0xc8ba5707
+0, 111, 111, 0, 763, 0xb5893f2f
+1, 2560, 2560, 512, 1024, 0xdf241fc6
+1, 3072, 3072, 512, 1024, 0x61cf4166
+1, 3584, 3584, 512, 1024, 0x97cbc386
+1, 4096, 4096, 512, 1024, 0x44899d04
+1, 4608, 4608, 512, 1024, 0xa7cbaa62
+0, 222, 222, 0, 3023, 0x0f3907d3
+1, 5120, 5120, 512, 1024, 0xa7aea60c
+1, 5632, 5632, 512, 1024, 0xd7b18a89
+1, 6144, 6144, 512, 1024, 0x268e81f6
+1, 6656, 6656, 512, 1024, 0x9cf83a2f
+1, 7168, 7168, 512, 1024, 0x5559b508
+0, 333, 333, 0, 4800, 0x22e6e18a
+1, 7680, 7680, 512, 1024, 0xe1b9e71c
+1, 8192, 8192, 512, 1024, 0xdcee733e
+1, 8704, 8704, 512, 1024, 0xe5918f60
+1, 9216, 9216, 512, 1024, 0x29dbd209
+1, 9728, 9728, 512, 1024, 0x9bcbcf16
+0, 444, 444, 0, 6417, 0x427adde5
+1, 10240, 10240, 512, 1024, 0x86f5f458
+1, 10752, 10752, 512, 1024, 0xabcbda86
+1, 11264, 11264, 512, 1024, 0xc51f77b9
+1, 11776, 11776, 512, 1024, 0xf6b3a504
+0, 555, 555, 0, 6776, 0x7a74c6ad
+1, 12288, 12288, 512, 1024, 0x1af3e40e
+1, 12800, 12800, 512, 1024, 0x3866b03b
+1, 13312, 13312, 512, 1024, 0xbc005403
+1, 13824, 13824, 512, 1024, 0xe9dfcc51
+1, 14336, 14336, 512, 1024, 0x83c837cb
+0, 666, 666, 0, 6808, 0x1f6eb7c3
+1, 14848, 14848, 512, 1024, 0xfa649580
+1, 15360, 15360, 512, 1024, 0x519452ea
+1, 15872, 15872, 512, 1024, 0xd4978774
+1, 16384, 16384, 512, 1024, 0xe2a3b1cd
+1, 16896, 16896, 512, 1024, 0x9a9472ad
+0, 777, 777, 0, 6726, 0x452087e6
+1, 17408, 17408, 512, 1024, 0xa12d4060
+1, 17920, 17920, 512, 1024, 0x31fb0646
+1, 18432, 18432, 512, 1024, 0xfc44343f
+1, 18944, 18944, 512, 1024, 0x0847751a
+1, 19456, 19456, 512, 1024, 0x227968a2
+0, 888, 888, 0, 6829, 0xee82b109
+1, 19968, 19968, 512, 1024, 0x7cce9f1c
+1, 20480, 20480, 512, 1024, 0xb8356713
+1, 20992, 20992, 512, 1024, 0xb29f6e6f
+1, 21504, 21504, 512, 1024, 0x9e1430ab
+1, 22016, 22016, 512, 1024, 0x26d85423
+0, 999, 999, 0, 7055, 0xf41f1108
+1, 22528, 22528, 512, 1024, 0x6496547d
+1, 23040, 23040, 512, 1024, 0x316b1a86
+1, 23552, 23552, 512, 1024, 0x3cd83afc
+1, 24064, 24064, 512, 1024, 0x993ff633
+0, 1111, 1111, 0, 6977, 0xf8fe1ede
+1, 24576, 24576, 512, 1024, 0x0708d1a2
+1, 25088, 25088, 512, 1024, 0xd7230db9
+1, 25600, 25600, 512, 1024, 0xbb0779ca
+1, 26112, 26112, 512, 1024, 0xc6094e1b
+1, 26624, 26624, 512, 1024, 0x15a8b039
+0, 1222, 1222, 0, 6942, 0x9ad105c6
+1, 27136, 27136, 512, 1024, 0xd6dbe88c
+1, 27648, 27648, 512, 1024, 0x7e8d1140
+1, 28160, 28160, 512, 1024, 0xef88e525
+1, 28672, 28672, 512, 1024, 0x44e21149
+1, 29184, 29184, 512, 1024, 0x65b0f5f4
+0, 1333, 1333, 0, 6926, 0xe239dad6
+1, 29696, 29696, 512, 1024, 0xb955f687
+1, 30208, 30208, 512, 1024, 0xc85fba9c
+1, 30720, 30720, 512, 1024, 0xf59655ad
+1, 31232, 31232, 512, 1024, 0x6de80bf1
+1, 31744, 31744, 512, 1024, 0x2dcf6e41
+0, 1444, 1444, 0, 6966, 0x81dcfab1
+1, 32256, 32256, 512, 1024, 0xd0ddcf8a
+1, 32768, 32768, 512, 1024, 0x00135c2d
+1, 33280, 33280, 512, 1024, 0x697f8efd
+1, 33792, 33792, 512, 1024, 0x7a9bada5
+0, 1555, 1555, 0, 6896, 0x31e6cc02
+1, 34304, 34304, 512, 1024, 0x0d22783c
+1, 34816, 34816, 512, 1024, 0x7726d07d
+1, 35328, 35328, 512, 1024, 0xa2f14f67
+1, 35840, 35840, 512, 1024, 0x7f51060d
+1, 36352, 36352, 512, 1024, 0xc4ec6aea
+0, 1666, 1666, 0, 6889, 0x1cc1006e
+1, 36864, 36864, 512, 1024, 0x9bb37ca4
+1, 37376, 37376, 512, 1024, 0x9b085577
+1, 37888, 37888, 512, 1024, 0x8812f8af
+1, 38400, 38400, 512, 1024, 0x788f5221
+1, 38912, 38912, 512, 1024, 0x3a2ce642
+0, 1777, 1777, 0, 6933, 0xc303f87f
+1, 39424, 39424, 512, 1024, 0x72415692
+1, 39936, 39936, 512, 1024, 0xe3dcc105
+1, 40448, 40448, 512, 1024, 0xb26c0599
+1, 40960, 40960, 512, 1024, 0x5c9e55eb
+1, 41472, 41472, 512, 1024, 0x8fe88707
+0, 1888, 1888, 0, 7034, 0xb4970a20
+1, 41984, 41984, 512, 1024, 0xc5d7beb6
+1, 42496, 42496, 512, 1024, 0xe1d3a3b4
+1, 43008, 43008, 512, 1024, 0x012da0c6
+1, 43520, 43520, 512, 1024, 0x8d010922
+1, 44032, 44032, 512, 1024, 0x3366eb0d
+0, 1999, 1999, 0, 6961, 0xf064095d
+1, 44544, 44544, 512, 1024, 0xc9381a27
+1, 45056, 45056, 512, 1024, 0x0774f685
+1, 45568, 45568, 512, 1024, 0xc5cae0a5
+1, 46080, 46080, 512, 1024, 0xa6f4737c
+0, 2111, 2111, 0, 7089, 0x5ba350f9
+1, 46592, 46592, 512, 1024, 0x8fb6d0d1
+1, 47104, 47104, 512, 1024, 0x05f579c2
+1, 47616, 47616, 512, 1024, 0x56905d99
+1, 48128, 48128, 512, 1024, 0x002ee18d
+1, 48640, 48640, 512, 1024, 0xeb37ef51
+0, 2222, 2222, 0, 7078, 0xa83f3e88
+1, 49152, 49152, 512, 1024, 0x38025635
+1, 49664, 49664, 512, 1024, 0x4fe643c8
+1, 50176, 50176, 512, 1024, 0x11d66ab1
+1, 50688, 50688, 512, 1024, 0xcc3051e9
+1, 51200, 51200, 512, 1024, 0xcd93e854
+0, 2333, 2333, 0, 7147, 0xcda66cfc
+1, 51712, 51712, 512, 1024, 0x38f1196d
+1, 52224, 52224, 512, 1024, 0x657a15fc
+1, 52736, 52736, 512, 1024, 0x669ce2a9
+1, 53248, 53248, 512, 1024, 0x95862dda
+1, 53760, 53760, 512, 1024, 0x1726a7b2
+0, 2444, 2444, 0, 7173, 0xb7455859
+1, 54272, 54272, 512, 1024, 0xd6ece2a1
+1, 54784, 54784, 512, 1024, 0x33ab9553
+1, 55296, 55296, 512, 1024, 0xd50c73a6
+1, 55808, 55808, 512, 1024, 0xfe25b63a
+1, 56320, 56320, 512, 1024, 0x7e2959e3
+0, 2555, 2555, 0, 7213, 0x97b89994
+1, 56832, 56832, 512, 1024, 0xa4c07b34
+1, 57344, 57344, 512, 1024, 0xd6d8f15c
+1, 57856, 57856, 512, 1024, 0x1eccddd7
+1, 58368, 58368, 512, 1024, 0x2b69f9cb
+0, 2666, 2666, 0, 7170, 0xca8b2948
+1, 58880, 58880, 512, 1024, 0x667b775f
+1, 59392, 59392, 512, 1024, 0xad3b84e9
+1, 59904, 59904, 512, 1024, 0x4f29fc67
+1, 60416, 60416, 512, 1024, 0x8d611ab7
+1, 60928, 60928, 512, 1024, 0x278966ea
+0, 2777, 2777, 0, 7174, 0xc7cc6bbb
+1, 61440, 61440, 512, 1024, 0xaf33812b
+1, 61952, 61952, 512, 1024, 0xa55f4265
+1, 62464, 62464, 512, 1024, 0x023cb51c
+1, 62976, 62976, 512, 1024, 0x1d1f1005
+1, 63488, 63488, 512, 1024, 0x874cccf7
+0, 2888, 2888, 0, 7235, 0xc2e68d2b
+1, 64000, 64000, 512, 1024, 0xda705428
+1, 64512, 64512, 512, 1024, 0x48d9b440
+1, 65024, 65024, 512, 1024, 0xa14e0712
+1, 65536, 65536, 512, 1024, 0x7efbad1f
+1, 66048, 66048, 512, 1024, 0xdb82c17f
+0, 3000, 3000, 0, 7261, 0x8204a423
+1, 66560, 66560, 512, 1024, 0xcbe87613
+1, 67072, 67072, 512, 1024, 0x3a63df1d
+1, 67584, 67584, 512, 1024, 0xd5636bba
+1, 68096, 68096, 512, 1024, 0x9397af23
+0, 3111, 3111, 0, 7353, 0xacc7e7c0
+1, 68608, 68608, 512, 1024, 0x32a07c98
+1, 69120, 69120, 512, 1024, 0x202ca667
+1, 69632, 69632, 512, 1024, 0xdf969011
+1, 70144, 70144, 512, 1024, 0xc434d238
+1, 70656, 70656, 512, 1024, 0xe9ad7562
+0, 3222, 3222, 0, 7065, 0x45035c5c
+1, 71168, 71168, 512, 1024, 0xb51b6b50
+1, 71680, 71680, 512, 1024, 0xe70aecd3
+1, 72192, 72192, 512, 1024, 0x03c816b2
+1, 72704, 72704, 512, 1024, 0x869fdf25
+1, 73216, 73216, 512, 1024, 0xd40a0a62
+0, 3333, 3333, 0, 7269, 0x72edbb76
+1, 73728, 73728, 512, 1024, 0x5af7dd35
+1, 74240, 74240, 512, 1024, 0x891ffc72
+1, 74752, 74752, 512, 1024, 0x1ff68a08
+1, 75264, 75264, 512, 1024, 0x5a7517a9
+1, 75776, 75776, 512, 1024, 0x0f959f74
+0, 3444, 3444, 0, 7220, 0xb926772f
+1, 76288, 76288, 512, 1024, 0xe92a12a2
+1, 76800, 76800, 512, 1024, 0x38000e55
+1, 77312, 77312, 512, 1024, 0x39fbdd70
+1, 77824, 77824, 512, 1024, 0xca3d9184
+1, 78336, 78336, 512, 1024, 0x66c8995b
+0, 3555, 3555, 0, 7326, 0x0a66c632
+1, 78848, 78848, 512, 1024, 0xac25acea
+1, 79360, 79360, 512, 1024, 0x3cd1046c
+1, 79872, 79872, 512, 1024, 0x6a1df31c
+1, 80384, 80384, 512, 1024, 0x21ca10a1
+0, 3666, 3666, 0, 7225, 0xe39076ab
+1, 80896, 80896, 512, 1024, 0x1aeccedc
+1, 81408, 81408, 512, 1024, 0xddea1335
+1, 81920, 81920, 512, 1024, 0x19f5ca9f
+1, 82432, 82432, 512, 1024, 0x88e95e43
+1, 82944, 82944, 512, 1024, 0x726284fe
+0, 3777, 3777, 0, 7265, 0xe0209036
+1, 83456, 83456, 512, 1024, 0x6b85b40e
+1, 83968, 83968, 512, 1024, 0x111fee2a
+1, 84480, 84480, 512, 1024, 0x3656b588
+1, 84992, 84992, 512, 1024, 0xa5a2b552
+1, 85504, 85504, 512, 1024, 0x38fb2467
+0, 3888, 3888, 0, 7337, 0x7a5dc093
+1, 86016, 86016, 512, 1024, 0xaa919ccc
+1, 86528, 86528, 512, 1024, 0x15993dbc
+1, 87040, 87040, 512, 1024, 0xbe01a7b9
+1, 87552, 87552, 512, 1024, 0xefe93c09
+1, 88064, 88064, 512, 1024, 0x1bb566e5
+0, 4000, 4000, 0, 7246, 0x519a7a3c
+1, 88576, 88576, 512, 1024, 0x15ce6237
+1, 89088, 89088, 512, 1024, 0xa8552e66
+1, 89600, 89600, 512, 1024, 0x9d80187e
+1, 90112, 90112, 512, 1024, 0x5df3fc30
+1, 90624, 90624, 512, 1024, 0x1a312aa5
+0, 4111, 4111, 0, 7266, 0x352c8078
+1, 91136, 91136, 512, 1024, 0x6bb8e302
+1, 91648, 91648, 512, 1024, 0xbd9684bb
+1, 92160, 92160, 512, 1024, 0x78b0b166
+1, 92672, 92672, 512, 1024, 0xd9af5eae
+0, 4222, 4222, 0, 7323, 0xcaf69d7c
+1, 93184, 93184, 512, 1024, 0xdb90fe82
+1, 93696, 93696, 512, 1024, 0x327614e9
+1, 94208, 94208, 512, 1024, 0x1f19b7fe
+1, 94720, 94720, 512, 1024, 0x46c53f96
+1, 95232, 95232, 512, 1024, 0x921b2189
+0, 4333, 4333, 0, 7309, 0x98c1e6f7
+1, 95744, 95744, 512, 1024, 0xa8fbc85a
+1, 96256, 96256, 512, 1024, 0xabfdaaae
+1, 96768, 96768, 512, 1024, 0x6acc7387
+1, 97280, 97280, 512, 1024, 0x0d9c27b5
+1, 97792, 97792, 512, 1024, 0xba4dd809
+0, 4444, 4444, 0, 7121, 0x913d5bd6
+1, 98304, 98304, 512, 1024, 0x2a2ad521
+1, 98816, 98816, 512, 1024, 0x892de38a
+1, 99328, 99328, 512, 1024, 0xdc97a2eb
+1, 99840, 99840, 512, 1024, 0x4f614ca4
+1, 100352, 100352, 512, 1024, 0x9c8a77ea
+0, 4555, 4555, 111, 7088, 0x56302362
+1, 100864, 100864, 512, 1024, 0x2d30e646
+1, 101376, 101376, 512, 1024, 0x74e800a7
+1, 101888, 101888, 512, 1024, 0x1e01fb02
+1, 102400, 102400, 512, 1024, 0x4ed2c1d8
+0, 4666, 4666, 111, 7104, 0xc0d14f78
+1, 102912, 102912, 512, 1024, 0xf2fdbe63
+1, 103424, 103424, 512, 1024, 0x8d6f63a1
+1, 103936, 103936, 512, 1024, 0xded468d9
+1, 104448, 104448, 512, 1024, 0xccad839e
+1, 104960, 104960, 512, 1024, 0xdde7c082
+0, 4777, 4777, 111, 7169, 0xd03c825b
+1, 105472, 105472, 512, 1024, 0x548613c5
+1, 105984, 105984, 512, 1024, 0x383909bd
+1, 106496, 106496, 512, 1024, 0xfd37627b
+1, 107008, 107008, 512, 1024, 0x6d95a481
+1, 107520, 107520, 512, 1024, 0x56aa87fa
+0, 4888, 4888, 111, 7038, 0x1ecc201d
+1, 108032, 108032, 512, 1024, 0x7b67258c
+1, 108544, 108544, 512, 1024, 0x7dd99a92
+1, 109056, 109056, 512, 1024, 0x4a66d102
+1, 109568, 109568, 512, 1024, 0x7b3fce51
+1, 110080, 110080, 512, 1024, 0xbbd968aa
+0, 5000, 5000, 111, 7015, 0x83c94454
+1, 110592, 110592, 512, 1024, 0x8283ec36
+1, 111104, 111104, 512, 1024, 0x3c96493d
+1, 111616, 111616, 512, 1024, 0xfa4f8cf8
+1, 112128, 112128, 512, 1024, 0xe2cf872d
+1, 112640, 112640, 512, 1024, 0x0a9e7aa6
+0, 5111, 5111, 111, 6983, 0x9e51f54d
+1, 113152, 113152, 512, 1024, 0x6e7a0550
+1, 113664, 113664, 512, 1024, 0x3acfea2f
+1, 114176, 114176, 512, 1024, 0x7111d0fa
+1, 114688, 114688, 512, 1024, 0xe9a1eca9
+0, 5222, 5222, 111, 7088, 0x70d33de1
+1, 115200, 115200, 512, 1024, 0x24da6c46
+1, 115712, 115712, 512, 1024, 0x117cff37
+1, 116224, 116224, 512, 1024, 0x0f27cab6
+1, 116736, 116736, 512, 1024, 0x69b6b4e6
+1, 117248, 117248, 512, 1024, 0x1e6cc841
+0, 5333, 5333, 111, 7096, 0x4d0f81b5
+1, 117760, 117760, 512, 1024, 0xb01e2365
+1, 118272, 118272, 512, 1024, 0x14e200d3
+1, 118784, 118784, 512, 1024, 0xd1184c98
+1, 119296, 119296, 512, 1024, 0xef9140e9
+1, 119808, 119808, 512, 1024, 0x4cbb645e
+0, 5444, 5444, 111, 7106, 0xd1a83ddc
+1, 120320, 120320, 512, 1024, 0xe7fe2f06
+1, 120832, 120832, 512, 1024, 0xf8c45028
+1, 121344, 121344, 512, 1024, 0x561358f4
+1, 121856, 121856, 512, 1024, 0xd0129b77
+1, 122368, 122368, 512, 1024, 0xcc636e88
+0, 5555, 5555, 111, 7219, 0x20f47fe4
+1, 122880, 122880, 512, 1024, 0xe9406321
+1, 123392, 123392, 512, 1024, 0x9f16a041
+1, 123904, 123904, 512, 1024, 0x468bf409
+1, 124416, 124416, 512, 1024, 0x3df70f7b
+1, 124928, 124928, 512, 1024, 0xa880b11b
+0, 5666, 5666, 111, 7184, 0x45dc6a0e
+1, 125440, 125440, 512, 1024, 0x3286c489
+1, 125952, 125952, 512, 1024, 0x39fe9ebc
+1, 126464, 126464, 512, 1024, 0xc533d83b
+1, 126976, 126976, 512, 1024, 0x153b195d
+0, 5777, 5777, 111, 7222, 0x488c6499
+1, 127488, 127488, 512, 1024, 0xd84786a1
+1, 128000, 128000, 512, 1024, 0xdc295aaa
+1, 128512, 128512, 512, 1024, 0xfb764d8c
+1, 129024, 129024, 512, 1024, 0xeebc9db9
+1, 129536, 129536, 512, 1024, 0x7ba9403e
+0, 5888, 5888, 111, 7254, 0xbd097ba7
+1, 130048, 130048, 512, 1024, 0x4e5571ec
+1, 130560, 130560, 512, 1024, 0xd965fad4
+1, 131072, 131072, 512, 1024, 0x87e259f2
+1, 131584, 131584, 512, 1024, 0xae7e533b
+1, 132096, 132096, 512, 1024, 0x313cf4d6
+0, 6000, 6000, 111, 7189, 0x46e06d43
+1, 132608, 132608, 512, 1024, 0xe1844c90
+1, 133120, 133120, 512, 1024, 0xbb057b44
+1, 133632, 133632, 512, 1024, 0xa5099687
+1, 134144, 134144, 512, 1024, 0xbff10707
+1, 134656, 134656, 512, 1024, 0x37c4ffc0
+0, 6111, 6111, 111, 7283, 0x19dd7319
+1, 135168, 135168, 512, 1024, 0xf9fb6caa
+1, 135680, 135680, 512, 1024, 0x3b6a3a1f
+1, 136192, 136192, 512, 1024, 0x83431edb
+1, 136704, 136704, 512, 1024, 0x1eb713cf
+0, 6222, 6222, 111, 7161, 0x23171d02
+1, 137216, 137216, 512, 1024, 0xd7b07a6d
+1, 137728, 137728, 512, 1024, 0x81ae3391
+1, 138240, 138240, 512, 1024, 0xf150130a
+1, 138752, 138752, 512, 1024, 0x09678eaa
+1, 139264, 139264, 512, 1024, 0xb94e06f1
+0, 6333, 6333, 111, 6976, 0xcc610c26
+1, 139776, 139776, 512, 1024, 0x67b1dbc9
+1, 140288, 140288, 512, 1024, 0xd6edc235
+1, 140800, 140800, 512, 1024, 0x34e4c499
+1, 141312, 141312, 512, 1024, 0xeefd89c0
+1, 141824, 141824, 512, 1024, 0x38afdaf1
+0, 6444, 6444, 111, 7056, 0x6cd917b0
+1, 142336, 142336, 512, 1024, 0x29a60d76
+1, 142848, 142848, 512, 1024, 0xe28a4372
+1, 143360, 143360, 512, 1024, 0x7089454d
+1, 143872, 143872, 512, 1024, 0x0c01bb7b
+1, 144384, 144384, 512, 1024, 0xbd776a72
+0, 6555, 6555, 111, 6736, 0x02b78951
+1, 144896, 144896, 512, 1024, 0x86776fd0
+1, 145408, 145408, 512, 1024, 0xb37c88f7
+1, 145920, 145920, 512, 1024, 0x5f90aaf8
+1, 146432, 146432, 512, 1024, 0x203d4222
+1, 146944, 146944, 512, 1024, 0x382692a6
+0, 6666, 6666, 111, 6540, 0x767e0854
+1, 147456, 147456, 512, 1024, 0xf37c95fd
+1, 147968, 147968, 512, 1024, 0x6c0b8877
+1, 148480, 148480, 512, 1024, 0x2e54a8b6
+1, 148992, 148992, 512, 1024, 0x7f266488
+0, 6777, 6777, 111, 6170, 0xc84962fb
+1, 149504, 149504, 512, 1024, 0xfbf20f9a
+1, 150016, 150016, 512, 1024, 0xf2985cc0
+1, 150528, 150528, 512, 1024, 0xc7075340
+1, 151040, 151040, 512, 1024, 0xe4585695
+1, 151552, 151552, 512, 1024, 0xbdffa380
+0, 6888, 6888, 111, 6169, 0x27e06c03
+1, 152064, 152064, 512, 1024, 0x2422a8a9
+1, 152576, 152576, 512, 1024, 0x59cbd75f
+1, 153088, 153088, 512, 1024, 0x04ad1a8c
+1, 153600, 153600, 512, 1024, 0x33c09191
+1, 154112, 154112, 512, 1024, 0x55efa6fd
+0, 7000, 7000, 111, 5864, 0xd14db83f
+1, 154624, 154624, 512, 1024, 0xf73d0e5d
+1, 155136, 155136, 512, 1024, 0x6141ebae
+1, 155648, 155648, 512, 1024, 0x7db17a68
+1, 156160, 156160, 512, 1024, 0xa6c690b6
+1, 156672, 156672, 512, 1024, 0xa6fd6725
+0, 7111, 7111, 111, 5375, 0x4a21055d
+1, 157184, 157184, 512, 1024, 0x50a90b9b
+1, 157696, 157696, 512, 1024, 0xef990dc8
+1, 158208, 158208, 512, 1024, 0x75adf6b5
+1, 158720, 158720, 512, 1024, 0x61eac43e
+1, 159232, 159232, 512, 1024, 0x67797a19
+0, 7222, 7222, 111, 5206, 0x95ead3cb
+1, 159744, 159744, 512, 1024, 0xf325277a
+1, 160256, 160256, 512, 1024, 0x18bf254a
+1, 160768, 160768, 512, 1024, 0x2ce6bee3
+1, 161280, 161280, 512, 1024, 0x8d320860
+0, 7333, 7333, 111, 5220, 0xcfdcc37e
+1, 161792, 161792, 512, 1024, 0xc979b6e8
+1, 162304, 162304, 512, 1024, 0xdb644b41
+1, 162816, 162816, 512, 1024, 0xe1b368ba
+1, 163328, 163328, 512, 1024, 0xacc53d15
+1, 163840, 163840, 512, 1024, 0x42ea8c18
+0, 7444, 7444, 111, 4946, 0x2d864a77
+1, 164352, 164352, 512, 1024, 0xe52c99a4
+1, 164864, 164864, 512, 1024, 0xd7db54a6
+1, 165376, 165376, 512, 1024, 0x7f27a7e3
+1, 165888, 165888, 512, 1024, 0xf7ffeaa9
+1, 166400, 166400, 512, 1024, 0x792b6088
+0, 7555, 7555, 111, 4390, 0x2ab9f462
+1, 166912, 166912, 512, 1024, 0x61d99724
+1, 167424, 167424, 512, 1024, 0x5213720e
+1, 167936, 167936, 512, 1024, 0xac09dd30
+1, 168448, 168448, 512, 1024, 0x960bf6bb
+1, 168960, 168960, 512, 1024, 0xc90168e1
+0, 7666, 7666, 111, 4051, 0x1d09592e
+1, 169472, 169472, 512, 1024, 0x43b45768
+1, 169984, 169984, 512, 1024, 0x935d60a1
+1, 170496, 170496, 512, 1024, 0x9a342ef2
+1, 171008, 171008, 512, 1024, 0xc894709f
+0, 7777, 7777, 111, 3680, 0x39bd6a12
+1, 171520, 171520, 512, 1024, 0x59b43b07
+1, 172032, 172032, 512, 1024, 0x36a1a98d
+1, 172544, 172544, 512, 1024, 0x9e1a121c
+1, 173056, 173056, 512, 1024, 0x02208b78
+1, 173568, 173568, 512, 1024, 0xd1d7b274
+0, 7888, 7888, 111, 2910, 0x6337ece9
+1, 174080, 174080, 512, 1024, 0xdacd5096
+1, 174592, 174592, 512, 1024, 0x51b71ead
+1, 175104, 175104, 512, 1024, 0xd009a7ca
+1, 175616, 175616, 512, 1024, 0xb6d5a938
+1, 176128, 176128, 512, 1024, 0xf3d45e47
+0, 8000, 8000, 111, 2153, 0xf4e3bc17
+1, 176640, 176640, 512, 1024, 0xea8e04fc
+1, 177152, 177152, 512, 1024, 0x0b928bd8
+1, 177664, 177664, 512, 1024, 0x0f02caec
+1, 178176, 178176, 512, 1024, 0xe2b137a8
+1, 178688, 178688, 512, 1024, 0xd5f94892
diff --git a/tests/ref/fate/sp5x b/tests/ref/fate/sp5x
index ed06a771ff..986c111981 100644
--- a/tests/ref/fate/sp5x
+++ b/tests/ref/fate/sp5x
@@ -1,19 +1,21 @@
-0, 0, 115200, 0x8ebcb7f8
-1, 0, 2048, 0x366ee71c
-0, 9234, 115200, 0x1fa8e673
-1, 11520, 2048, 0xc62f0414
-0, 18468, 115200, 0xec07fb6a
-1, 23040, 2048, 0x754e0f19
-0, 27702, 115200, 0x6773a8c3
-1, 34560, 2048, 0x4a44152a
-0, 36936, 115200, 0x0d279643
-1, 46080, 2048, 0x4fd3ff01
-0, 46170, 115200, 0xb33796e4
-0, 55404, 115200, 0xfe11fc79
-1, 57600, 2048, 0x11c3fa1b
-0, 64638, 115200, 0x4ac8e31b
-1, 69120, 2048, 0x9945fa06
-0, 73872, 115200, 0x15317942
-1, 80640, 2048, 0x12e5071a
-0, 83106, 115200, 0x07803f0e
-1, 92160, 44, 0x7ad110e8
+#tb 0: 513/5000
+#tb 1: 1/8000
+0, 0, 0, 1, 115200, 0x8ebcb7f8
+1, 0, 0, 1024, 2048, 0x366ee71c
+0, 1, 1, 1, 115200, 0x1fa8e673
+1, 1024, 1024, 1024, 2048, 0xc62f0414
+0, 2, 2, 1, 115200, 0xec07fb6a
+1, 2048, 2048, 1024, 2048, 0x754e0f19
+0, 3, 3, 1, 115200, 0x6773a8c3
+1, 3072, 3072, 1024, 2048, 0x4a44152a
+0, 4, 4, 1, 115200, 0x0d279643
+1, 4096, 4096, 1024, 2048, 0x4fd3ff01
+0, 5, 5, 1, 115200, 0xb33796e4
+0, 6, 6, 1, 115200, 0xfe11fc79
+1, 5120, 5120, 1024, 2048, 0x11c3fa1b
+0, 7, 7, 1, 115200, 0x4ac8e31b
+1, 6144, 6144, 1024, 2048, 0x9945fa06
+0, 8, 8, 1, 115200, 0x15317942
+1, 7168, 7168, 1024, 2048, 0x12e5071a
+0, 9, 9, 1, 115200, 0x07803f0e
+1, 8192, 8192, 22, 44, 0x7ad110e8
diff --git a/tests/ref/fate/sunraster-1bit-raw b/tests/ref/fate/sunraster-1bit-raw
index 40babe74b2..123e245217 100644
--- a/tests/ref/fate/sunraster-1bit-raw
+++ b/tests/ref/fate/sunraster-1bit-raw
@@ -1 +1,2 @@
-0, 0, 32768, 0x6d16e246
+#tb 0: 1/25
+0, 0, 0, 1, 32768, 0x6d16e246
diff --git a/tests/ref/fate/sunraster-1bit-rle b/tests/ref/fate/sunraster-1bit-rle
index 40babe74b2..123e245217 100644
--- a/tests/ref/fate/sunraster-1bit-rle
+++ b/tests/ref/fate/sunraster-1bit-rle
@@ -1 +1,2 @@
-0, 0, 32768, 0x6d16e246
+#tb 0: 1/25
+0, 0, 0, 1, 32768, 0x6d16e246
diff --git a/tests/ref/fate/sunraster-24bit-raw b/tests/ref/fate/sunraster-24bit-raw
index 0b0dafc61f..fa059ef320 100644
--- a/tests/ref/fate/sunraster-24bit-raw
+++ b/tests/ref/fate/sunraster-24bit-raw
@@ -1 +1,2 @@
-0, 0, 786432, 0xb4d417bf
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xb4d417bf
diff --git a/tests/ref/fate/sunraster-24bit-rle b/tests/ref/fate/sunraster-24bit-rle
index 0b0dafc61f..fa059ef320 100644
--- a/tests/ref/fate/sunraster-24bit-rle
+++ b/tests/ref/fate/sunraster-24bit-rle
@@ -1 +1,2 @@
-0, 0, 786432, 0xb4d417bf
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xb4d417bf
diff --git a/tests/ref/fate/sunraster-8bit-raw b/tests/ref/fate/sunraster-8bit-raw
index 3f22c8f84f..659b433047 100644
--- a/tests/ref/fate/sunraster-8bit-raw
+++ b/tests/ref/fate/sunraster-8bit-raw
@@ -1 +1,2 @@
-0, 0, 786432, 0xf4364008
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xf4364008
diff --git a/tests/ref/fate/sunraster-8bit-rle b/tests/ref/fate/sunraster-8bit-rle
index 3f22c8f84f..659b433047 100644
--- a/tests/ref/fate/sunraster-8bit-rle
+++ b/tests/ref/fate/sunraster-8bit-rle
@@ -1 +1,2 @@
-0, 0, 786432, 0xf4364008
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xf4364008
diff --git a/tests/ref/fate/svq1 b/tests/ref/fate/svq1
index b048681944..3bcf715a61 100644
--- a/tests/ref/fate/svq1
+++ b/tests/ref/fate/svq1
@@ -1,150 +1,151 @@
-0, 0, 21600, 0x7f9389e3
-0, 6000, 21600, 0xcebb8896
-0, 12000, 21600, 0xef51860a
-0, 18000, 21600, 0x88d97e7d
-0, 24000, 21600, 0xc7757c88
-0, 30000, 21600, 0x2f537ade
-0, 36000, 21600, 0xd50a7eff
-0, 42000, 21600, 0xdcfb7fc6
-0, 48000, 21600, 0x0d608299
-0, 54000, 21600, 0x97ca81b4
-0, 60000, 21600, 0x791f80e7
-0, 66000, 21600, 0x96ae7d33
-0, 72000, 21600, 0x4d7474a8
-0, 78000, 21600, 0x2ae76f37
-0, 84000, 21600, 0x7da76265
-0, 90000, 21600, 0x93ae3eb6
-0, 96000, 21600, 0xebfd3868
-0, 102000, 21600, 0x54f82ffa
-0, 108000, 21600, 0x8d5b2ad0
-0, 114000, 21600, 0xe67128e6
-0, 120000, 21600, 0xb7bf613e
-0, 126000, 21600, 0xefd0f51b
-0, 132000, 21600, 0x31b7da59
-0, 138000, 21600, 0x7a84a8f7
-0, 144000, 21600, 0x0351ad27
-0, 150000, 21600, 0xed6f434d
-0, 156000, 21600, 0x0e771127
-0, 162000, 21600, 0x37bf0b95
-0, 168000, 21600, 0x30e10a77
-0, 174000, 21600, 0x1a48288a
-0, 180000, 21600, 0xf43c6770
-0, 186000, 21600, 0x3c43ae68
-0, 192000, 21600, 0x04dc0949
-0, 198000, 21600, 0x7920758d
-0, 204000, 21600, 0x6c12bab5
-0, 210000, 21600, 0x1ac23706
-0, 216000, 21600, 0x7a95cb5f
-0, 222000, 21600, 0xf1bfbb46
-0, 228000, 21600, 0x773d1d0c
-0, 234000, 21600, 0x2e7bea65
-0, 240000, 21600, 0xdb1a086f
-0, 246000, 21600, 0x5b36b78d
-0, 252000, 21600, 0x7b533ca6
-0, 258000, 21600, 0x65d75105
-0, 264000, 21600, 0xfe6f6207
-0, 270000, 21600, 0x44c4ce57
-0, 276000, 21600, 0x220f3dae
-0, 282000, 21600, 0xb4d20ffb
-0, 288000, 21600, 0x8907ad72
-0, 294000, 21600, 0xc6418998
-0, 300000, 21600, 0x395b6670
-0, 306000, 21600, 0x83495b88
-0, 312000, 21600, 0x8920d683
-0, 318000, 21600, 0xd7fc64ea
-0, 324000, 21600, 0x21a3b222
-0, 330000, 21600, 0xc11f2dbd
-0, 336000, 21600, 0xd1d5495d
-0, 342000, 21600, 0x70f2de20
-0, 348000, 21600, 0x10adc9a9
-0, 354000, 21600, 0xf713c0ec
-0, 360000, 21600, 0xa346b3fe
-0, 366000, 21600, 0x7945c29b
-0, 372000, 21600, 0xb07ceb91
-0, 378000, 21600, 0xe1eaf9ef
-0, 384000, 21600, 0x6fa915c7
-0, 390000, 21600, 0x61952055
-0, 396000, 21600, 0x4bca2382
-0, 402000, 21600, 0x36161fe2
-0, 408000, 21600, 0xf93a28f7
-0, 414000, 21600, 0xa02a3d47
-0, 420000, 21600, 0x925b3609
-0, 426000, 21600, 0x5b6941db
-0, 432000, 21600, 0x33154a91
-0, 438000, 21600, 0xb1d75c50
-0, 444000, 21600, 0x1cb369bd
-0, 450000, 21600, 0x3be4eff2
-0, 456000, 21600, 0xbb89c301
-0, 462000, 21600, 0xc7630d85
-0, 468000, 21600, 0xf7441c67
-0, 474000, 21600, 0xc23611ef
-0, 480000, 21600, 0x840efb21
-0, 486000, 21600, 0x7d470a0f
-0, 492000, 21600, 0xfe093210
-0, 498000, 21600, 0x0f3ea098
-0, 504000, 21600, 0xcd72286f
-0, 510000, 21600, 0x826f8030
-0, 516000, 21600, 0xcda3ace8
-0, 522000, 21600, 0x39cb4cd0
-0, 528000, 21600, 0xa86a60ac
-0, 534000, 21600, 0xcd32ed8e
-0, 540000, 21600, 0x769b285d
-0, 546000, 21600, 0x10234cd0
-0, 552000, 21600, 0x951036b8
-0, 558000, 21600, 0xaef248fa
-0, 564000, 21600, 0x74e36e84
-0, 570000, 21600, 0x3908531b
-0, 576000, 21600, 0x342f2a9d
-0, 582000, 21600, 0x291d58f3
-0, 588000, 21600, 0xcf24b1e5
-0, 594000, 21600, 0x3e7c7959
-0, 600000, 21600, 0x6517e573
-0, 606000, 21600, 0x304cc6db
-0, 612000, 21600, 0x272895e4
-0, 618000, 21600, 0x52325837
-0, 624000, 21600, 0xd01344bd
-0, 630000, 21600, 0xd25a370b
-0, 636000, 21600, 0x274e0ae9
-0, 642000, 21600, 0x6f66138f
-0, 648000, 21600, 0xd35a0f60
-0, 654000, 21600, 0xe0610863
-0, 660000, 21600, 0x920b05fb
-0, 666000, 21600, 0x5befe39d
-0, 672000, 21600, 0xd167bd58
-0, 678000, 21600, 0x653ac504
-0, 684000, 21600, 0x8372c6d7
-0, 690000, 21600, 0x0302c276
-0, 696000, 21600, 0xa176b694
-0, 702000, 21600, 0x4c2e935a
-0, 708000, 21600, 0xf7ea844e
-0, 714000, 21600, 0x76d6c07b
-0, 720000, 21600, 0x0a14d610
-0, 726000, 21600, 0x0ec9f3f3
-0, 732000, 21600, 0xdc90f6ea
-0, 738000, 21600, 0xc841f9ef
-0, 744000, 21600, 0x7ab5f9b9
-0, 750000, 21600, 0xda40f3c2
-0, 756000, 21600, 0x0040fb72
-0, 762000, 21600, 0x705b0786
-0, 768000, 21600, 0x26d5198d
-0, 774000, 21600, 0x6f5153ad
-0, 780000, 21600, 0x9f26624b
-0, 786000, 21600, 0x0d3ea7af
-0, 792000, 21600, 0xb957ca79
-0, 798000, 21600, 0x03a60612
-0, 804000, 21600, 0x3ddc4ff1
-0, 810000, 21600, 0x8fe5697f
-0, 816000, 21600, 0x3d199b09
-0, 822000, 21600, 0x97e2b504
-0, 828000, 21600, 0x7563f784
-0, 834000, 21600, 0x9a473879
-0, 840000, 21600, 0x2e2054e5
-0, 846000, 21600, 0x06b3658b
-0, 852000, 21600, 0xa37ee249
-0, 858000, 21600, 0xa527efa1
-0, 864000, 21600, 0x12791532
-0, 870000, 21600, 0xc5350145
-0, 876000, 21600, 0xcd44f1ac
-0, 882000, 21600, 0xe610edfb
-0, 888000, 21600, 0x5642f672
-0, 894000, 21600, 0xf2bc3e5b
+#tb 0: 1/15
+0, 0, 0, 1, 21600, 0x7f9389e3
+0, 1, 1, 1, 21600, 0xcebb8896
+0, 2, 2, 1, 21600, 0xef51860a
+0, 3, 3, 1, 21600, 0x88d97e7d
+0, 4, 4, 1, 21600, 0xc7757c88
+0, 5, 5, 1, 21600, 0x2f537ade
+0, 6, 6, 1, 21600, 0xd50a7eff
+0, 7, 7, 1, 21600, 0xdcfb7fc6
+0, 8, 8, 1, 21600, 0x0d608299
+0, 9, 9, 1, 21600, 0x97ca81b4
+0, 10, 10, 1, 21600, 0x791f80e7
+0, 11, 11, 1, 21600, 0x96ae7d33
+0, 12, 12, 1, 21600, 0x4d7474a8
+0, 13, 13, 1, 21600, 0x2ae76f37
+0, 14, 14, 1, 21600, 0x7da76265
+0, 15, 15, 1, 21600, 0x93ae3eb6
+0, 16, 16, 1, 21600, 0xebfd3868
+0, 17, 17, 1, 21600, 0x54f82ffa
+0, 18, 18, 1, 21600, 0x8d5b2ad0
+0, 19, 19, 1, 21600, 0xe67128e6
+0, 20, 20, 1, 21600, 0xb7bf613e
+0, 21, 21, 1, 21600, 0xefd0f51b
+0, 22, 22, 1, 21600, 0x31b7da59
+0, 23, 23, 1, 21600, 0x7a84a8f7
+0, 24, 24, 1, 21600, 0x0351ad27
+0, 25, 25, 1, 21600, 0xed6f434d
+0, 26, 26, 1, 21600, 0x0e771127
+0, 27, 27, 1, 21600, 0x37bf0b95
+0, 28, 28, 1, 21600, 0x30e10a77
+0, 29, 29, 1, 21600, 0x1a48288a
+0, 30, 30, 1, 21600, 0xf43c6770
+0, 31, 31, 1, 21600, 0x3c43ae68
+0, 32, 32, 1, 21600, 0x04dc0949
+0, 33, 33, 1, 21600, 0x7920758d
+0, 34, 34, 1, 21600, 0x6c12bab5
+0, 35, 35, 1, 21600, 0x1ac23706
+0, 36, 36, 1, 21600, 0x7a95cb5f
+0, 37, 37, 1, 21600, 0xf1bfbb46
+0, 38, 38, 1, 21600, 0x773d1d0c
+0, 39, 39, 1, 21600, 0x2e7bea65
+0, 40, 40, 1, 21600, 0xdb1a086f
+0, 41, 41, 1, 21600, 0x5b36b78d
+0, 42, 42, 1, 21600, 0x7b533ca6
+0, 43, 43, 1, 21600, 0x65d75105
+0, 44, 44, 1, 21600, 0xfe6f6207
+0, 45, 45, 1, 21600, 0x44c4ce57
+0, 46, 46, 1, 21600, 0x220f3dae
+0, 47, 47, 1, 21600, 0xb4d20ffb
+0, 48, 48, 1, 21600, 0x8907ad72
+0, 49, 49, 1, 21600, 0xc6418998
+0, 50, 50, 1, 21600, 0x395b6670
+0, 51, 51, 1, 21600, 0x83495b88
+0, 52, 52, 1, 21600, 0x8920d683
+0, 53, 53, 1, 21600, 0xd7fc64ea
+0, 54, 54, 1, 21600, 0x21a3b222
+0, 55, 55, 1, 21600, 0xc11f2dbd
+0, 56, 56, 1, 21600, 0xd1d5495d
+0, 57, 57, 1, 21600, 0x70f2de20
+0, 58, 58, 1, 21600, 0x10adc9a9
+0, 59, 59, 1, 21600, 0xf713c0ec
+0, 60, 60, 1, 21600, 0xa346b3fe
+0, 61, 61, 1, 21600, 0x7945c29b
+0, 62, 62, 1, 21600, 0xb07ceb91
+0, 63, 63, 1, 21600, 0xe1eaf9ef
+0, 64, 64, 1, 21600, 0x6fa915c7
+0, 65, 65, 1, 21600, 0x61952055
+0, 66, 66, 1, 21600, 0x4bca2382
+0, 67, 67, 1, 21600, 0x36161fe2
+0, 68, 68, 1, 21600, 0xf93a28f7
+0, 69, 69, 1, 21600, 0xa02a3d47
+0, 70, 70, 1, 21600, 0x925b3609
+0, 71, 71, 1, 21600, 0x5b6941db
+0, 72, 72, 1, 21600, 0x33154a91
+0, 73, 73, 1, 21600, 0xb1d75c50
+0, 74, 74, 1, 21600, 0x1cb369bd
+0, 75, 75, 1, 21600, 0x3be4eff2
+0, 76, 76, 1, 21600, 0xbb89c301
+0, 77, 77, 1, 21600, 0xc7630d85
+0, 78, 78, 1, 21600, 0xf7441c67
+0, 79, 79, 1, 21600, 0xc23611ef
+0, 80, 80, 1, 21600, 0x840efb21
+0, 81, 81, 1, 21600, 0x7d470a0f
+0, 82, 82, 1, 21600, 0xfe093210
+0, 83, 83, 1, 21600, 0x0f3ea098
+0, 84, 84, 1, 21600, 0xcd72286f
+0, 85, 85, 1, 21600, 0x826f8030
+0, 86, 86, 1, 21600, 0xcda3ace8
+0, 87, 87, 1, 21600, 0x39cb4cd0
+0, 88, 88, 1, 21600, 0xa86a60ac
+0, 89, 89, 1, 21600, 0xcd32ed8e
+0, 90, 90, 1, 21600, 0x769b285d
+0, 91, 91, 1, 21600, 0x10234cd0
+0, 92, 92, 1, 21600, 0x951036b8
+0, 93, 93, 1, 21600, 0xaef248fa
+0, 94, 94, 1, 21600, 0x74e36e84
+0, 95, 95, 1, 21600, 0x3908531b
+0, 96, 96, 1, 21600, 0x342f2a9d
+0, 97, 97, 1, 21600, 0x291d58f3
+0, 98, 98, 1, 21600, 0xcf24b1e5
+0, 99, 99, 1, 21600, 0x3e7c7959
+0, 100, 100, 1, 21600, 0x6517e573
+0, 101, 101, 1, 21600, 0x304cc6db
+0, 102, 102, 1, 21600, 0x272895e4
+0, 103, 103, 1, 21600, 0x52325837
+0, 104, 104, 1, 21600, 0xd01344bd
+0, 105, 105, 1, 21600, 0xd25a370b
+0, 106, 106, 1, 21600, 0x274e0ae9
+0, 107, 107, 1, 21600, 0x6f66138f
+0, 108, 108, 1, 21600, 0xd35a0f60
+0, 109, 109, 1, 21600, 0xe0610863
+0, 110, 110, 1, 21600, 0x920b05fb
+0, 111, 111, 1, 21600, 0x5befe39d
+0, 112, 112, 1, 21600, 0xd167bd58
+0, 113, 113, 1, 21600, 0x653ac504
+0, 114, 114, 1, 21600, 0x8372c6d7
+0, 115, 115, 1, 21600, 0x0302c276
+0, 116, 116, 1, 21600, 0xa176b694
+0, 117, 117, 1, 21600, 0x4c2e935a
+0, 118, 118, 1, 21600, 0xf7ea844e
+0, 119, 119, 1, 21600, 0x76d6c07b
+0, 120, 120, 1, 21600, 0x0a14d610
+0, 121, 121, 1, 21600, 0x0ec9f3f3
+0, 122, 122, 1, 21600, 0xdc90f6ea
+0, 123, 123, 1, 21600, 0xc841f9ef
+0, 124, 124, 1, 21600, 0x7ab5f9b9
+0, 125, 125, 1, 21600, 0xda40f3c2
+0, 126, 126, 1, 21600, 0x0040fb72
+0, 127, 127, 1, 21600, 0x705b0786
+0, 128, 128, 1, 21600, 0x26d5198d
+0, 129, 129, 1, 21600, 0x6f5153ad
+0, 130, 130, 1, 21600, 0x9f26624b
+0, 131, 131, 1, 21600, 0x0d3ea7af
+0, 132, 132, 1, 21600, 0xb957ca79
+0, 133, 133, 1, 21600, 0x03a60612
+0, 134, 134, 1, 21600, 0x3ddc4ff1
+0, 135, 135, 1, 21600, 0x8fe5697f
+0, 136, 136, 1, 21600, 0x3d199b09
+0, 137, 137, 1, 21600, 0x97e2b504
+0, 138, 138, 1, 21600, 0x7563f784
+0, 139, 139, 1, 21600, 0x9a473879
+0, 140, 140, 1, 21600, 0x2e2054e5
+0, 141, 141, 1, 21600, 0x06b3658b
+0, 142, 142, 1, 21600, 0xa37ee249
+0, 143, 143, 1, 21600, 0xa527efa1
+0, 144, 144, 1, 21600, 0x12791532
+0, 145, 145, 1, 21600, 0xc5350145
+0, 146, 146, 1, 21600, 0xcd44f1ac
+0, 147, 147, 1, 21600, 0xe610edfb
+0, 148, 148, 1, 21600, 0x5642f672
+0, 149, 149, 1, 21600, 0xf2bc3e5b
diff --git a/tests/ref/fate/svq3 b/tests/ref/fate/svq3
index 324c363a82..073d10b366 100644
--- a/tests/ref/fate/svq3
+++ b/tests/ref/fate/svq3
@@ -1,180 +1,181 @@
-0, 0, 115200, 0x2c810465
-0, 3000, 115200, 0x010b5765
-0, 6000, 115200, 0x2be11a4e
-0, 9000, 115200, 0x99445d06
-0, 12000, 115200, 0x6b54d83c
-0, 15000, 115200, 0x3832b76a
-0, 18000, 115200, 0x3832b76a
-0, 21000, 115200, 0xe18385db
-0, 24000, 115200, 0x847d4bf0
-0, 27000, 115200, 0x0d650f50
-0, 30000, 115200, 0x4b85c44c
-0, 33000, 115200, 0xce1927a6
-0, 36000, 115200, 0x89353747
-0, 39000, 115200, 0x58da43f2
-0, 42000, 115200, 0xee9a4eef
-0, 45000, 115200, 0xce9453d9
-0, 48000, 115200, 0x804a5eb0
-0, 51000, 115200, 0xb3d46605
-0, 54000, 115200, 0x45b5668e
-0, 57000, 115200, 0xdd0d4c5a
-0, 60000, 115200, 0x99101301
-0, 63000, 115200, 0xf0c3f272
-0, 66000, 115200, 0xea21f8b1
-0, 69000, 115200, 0xd8e7fbb1
-0, 72000, 115200, 0x89d90aa1
-0, 75000, 115200, 0x882e19da
-0, 78000, 115200, 0xfc0f2709
-0, 81000, 115200, 0x9b732f3f
-0, 84000, 115200, 0xec453cda
-0, 87000, 115200, 0xa77e4989
-0, 90000, 115200, 0xad935834
-0, 93000, 115200, 0x3a5a6177
-0, 96000, 115200, 0xd3c07999
-0, 99000, 115200, 0xfad388dd
-0, 102000, 115200, 0xaf6e9520
-0, 105000, 115200, 0xdb64a4b3
-0, 108000, 115200, 0xc6f9b49e
-0, 111000, 115200, 0x4446c315
-0, 114000, 115200, 0x660bd01c
-0, 117000, 115200, 0x963fdd7d
-0, 120000, 115200, 0x8733e7b3
-0, 123000, 115200, 0x41aaf1d5
-0, 126000, 115200, 0xa803fd81
-0, 129000, 115200, 0xe2b4077f
-0, 132000, 115200, 0xfe6707cb
-0, 135000, 115200, 0x027c122d
-0, 138000, 115200, 0xbcb81ea8
-0, 141000, 115200, 0xd2ac2405
-0, 144000, 115200, 0x3d893006
-0, 147000, 115200, 0xbdcc3ba8
-0, 150000, 115200, 0x83ed4c6b
-0, 153000, 115200, 0x69ee5e7c
-0, 156000, 115200, 0xfe317411
-0, 159000, 115200, 0x849e84e6
-0, 162000, 115200, 0x040f945f
-0, 165000, 115200, 0x6481ac89
-0, 168000, 115200, 0x8a48be9e
-0, 171000, 115200, 0xb162ce94
-0, 174000, 115200, 0x178dd69a
-0, 177000, 115200, 0x64fdecaa
-0, 180000, 115200, 0x4b51297e
-0, 183000, 115200, 0x3d39a1ae
-0, 186000, 115200, 0x900fd939
-0, 189000, 115200, 0x7704fb19
-0, 192000, 115200, 0xa426137e
-0, 195000, 115200, 0x9a112706
-0, 198000, 115200, 0x294931f7
-0, 201000, 115200, 0x0d0e4372
-0, 204000, 115200, 0x33bd50e4
-0, 207000, 115200, 0x9c86e3e2
-0, 210000, 115200, 0x714af5d5
-0, 213000, 115200, 0xc5f9fcd0
-0, 216000, 115200, 0x184602bb
-0, 219000, 115200, 0x6958e9e6
-0, 222000, 115200, 0x5a214952
-0, 225000, 115200, 0x706cca0e
-0, 228000, 115200, 0x67689363
-0, 231000, 115200, 0x459f410c
-0, 234000, 115200, 0xa8f4c365
-0, 237000, 115200, 0xf1fc50c5
-0, 240000, 115200, 0xc22af545
-0, 243000, 115200, 0xd39802a2
-0, 246000, 115200, 0xb76c04b6
-0, 249000, 115200, 0x7a548db4
-0, 252000, 115200, 0x79e56765
-0, 255000, 115200, 0x3f273a17
-0, 258000, 115200, 0xe04366db
-0, 261000, 115200, 0x8e10939b
-0, 264000, 115200, 0x49220ea2
-0, 267000, 115200, 0x35361889
-0, 270000, 115200, 0x9b20bdfa
-0, 273000, 115200, 0x5d472eaf
-0, 276000, 115200, 0xeda43081
-0, 279000, 115200, 0x59bae8b4
-0, 282000, 115200, 0xf126d6a4
-0, 285000, 115200, 0x18106464
-0, 288000, 115200, 0x85530c73
-0, 291000, 115200, 0xcef32c78
-0, 294000, 115200, 0xfd6233a0
-0, 297000, 115200, 0xae9d6fc3
-0, 300000, 115200, 0x3d0cce10
-0, 303000, 115200, 0xfce5f124
-0, 306000, 115200, 0x90b10802
-0, 309000, 115200, 0xeea44201
-0, 312000, 115200, 0x1cefb56d
-0, 315000, 115200, 0xd6daa0b1
-0, 318000, 115200, 0xd700cef4
-0, 321000, 115200, 0x36dbf58f
-0, 324000, 115200, 0xdb20d060
-0, 327000, 115200, 0x5ca61fd5
-0, 330000, 115200, 0x4f271361
-0, 333000, 115200, 0xcaf03743
-0, 336000, 115200, 0x520f351a
-0, 339000, 115200, 0x40bc7b89
-0, 342000, 115200, 0xd0af0b08
-0, 345000, 115200, 0x6a45290c
-0, 348000, 115200, 0x57210c14
-0, 351000, 115200, 0xc1e233f9
-0, 354000, 115200, 0x96fdfc54
-0, 357000, 115200, 0x43a8359c
-0, 360000, 115200, 0xd493bfde
-0, 363000, 115200, 0xd5339d13
-0, 366000, 115200, 0x7542baa0
-0, 369000, 115200, 0x268d2cb9
-0, 372000, 115200, 0xaf3888bb
-0, 375000, 115200, 0xb82f520a
-0, 378000, 115200, 0x0feb2981
-0, 381000, 115200, 0x45314b58
-0, 384000, 115200, 0xb26a193a
-0, 387000, 115200, 0xdfdffc38
-0, 390000, 115200, 0xec6a55f5
-0, 393000, 115200, 0xf6e35716
-0, 396000, 115200, 0x5ce8544e
-0, 399000, 115200, 0x3e38ddce
-0, 402000, 115200, 0x964a2006
-0, 405000, 115200, 0xaba138d6
-0, 408000, 115200, 0x2f46949c
-0, 411000, 115200, 0xbdbdb587
-0, 414000, 115200, 0x1bf11e1d
-0, 417000, 115200, 0x2632f558
-0, 420000, 115200, 0x0e58078b
-0, 423000, 115200, 0x2ab2f9be
-0, 426000, 115200, 0x9205f1d8
-0, 429000, 115200, 0x6a4bd949
-0, 432000, 115200, 0xedc1552f
-0, 435000, 115200, 0x0a60974d
-0, 438000, 115200, 0xe1a1400e
-0, 441000, 115200, 0x45f06952
-0, 444000, 115200, 0xc5163125
-0, 447000, 115200, 0x151da156
-0, 450000, 115200, 0x3f34b048
-0, 453000, 115200, 0xcf7c1e5d
-0, 456000, 115200, 0xed9c4e1c
-0, 459000, 115200, 0x47e06453
-0, 462000, 115200, 0xc8ce6f19
-0, 465000, 115200, 0xac619619
-0, 468000, 115200, 0x64711e2d
-0, 471000, 115200, 0x1f502b52
-0, 474000, 115200, 0x39592c9d
-0, 477000, 115200, 0x7dffb901
-0, 480000, 115200, 0xc75fa3ce
-0, 483000, 115200, 0x625bc977
-0, 486000, 115200, 0x15c7fda3
-0, 489000, 115200, 0x6e5d35b5
-0, 492000, 115200, 0xf847cf88
-0, 495000, 115200, 0xc10867fe
-0, 498000, 115200, 0xae07fbfc
-0, 501000, 115200, 0xc1571542
-0, 504000, 115200, 0x4c7d5602
-0, 507000, 115200, 0xbe7045aa
-0, 510000, 115200, 0xc8b4835b
-0, 513000, 115200, 0xf9b7d427
-0, 516000, 115200, 0x7fa7c112
-0, 519000, 115200, 0xe0105feb
-0, 522000, 115200, 0x70784740
-0, 525000, 115200, 0xa6801ef5
-0, 528000, 115200, 0x9cf35921
-0, 531000, 115200, 0x4d956630
-0, 534000, 115200, 0x717a25c1
-0, 537000, 115200, 0x8f5e39de
+#tb 0: 1/30
+0, 0, 0, 1, 115200, 0x2c810465
+0, 1, 1, 1, 115200, 0x010b5765
+0, 2, 2, 1, 115200, 0x2be11a4e
+0, 3, 3, 1, 115200, 0x99445d06
+0, 4, 4, 1, 115200, 0x6b54d83c
+0, 5, 5, 1, 115200, 0x3832b76a
+0, 6, 6, 1, 115200, 0x3832b76a
+0, 7, 7, 1, 115200, 0xe18385db
+0, 8, 8, 1, 115200, 0x847d4bf0
+0, 9, 9, 1, 115200, 0x0d650f50
+0, 10, 10, 1, 115200, 0x4b85c44c
+0, 11, 11, 1, 115200, 0xce1927a6
+0, 12, 12, 1, 115200, 0x89353747
+0, 13, 13, 1, 115200, 0x58da43f2
+0, 14, 14, 1, 115200, 0xee9a4eef
+0, 15, 15, 1, 115200, 0xce9453d9
+0, 16, 16, 1, 115200, 0x804a5eb0
+0, 17, 17, 1, 115200, 0xb3d46605
+0, 18, 18, 1, 115200, 0x45b5668e
+0, 19, 19, 1, 115200, 0xdd0d4c5a
+0, 20, 20, 1, 115200, 0x99101301
+0, 21, 21, 1, 115200, 0xf0c3f272
+0, 22, 22, 1, 115200, 0xea21f8b1
+0, 23, 23, 1, 115200, 0xd8e7fbb1
+0, 24, 24, 1, 115200, 0x89d90aa1
+0, 25, 25, 1, 115200, 0x882e19da
+0, 26, 26, 1, 115200, 0xfc0f2709
+0, 27, 27, 1, 115200, 0x9b732f3f
+0, 28, 28, 1, 115200, 0xec453cda
+0, 29, 29, 1, 115200, 0xa77e4989
+0, 30, 30, 1, 115200, 0xad935834
+0, 31, 31, 1, 115200, 0x3a5a6177
+0, 32, 32, 1, 115200, 0xd3c07999
+0, 33, 33, 1, 115200, 0xfad388dd
+0, 34, 34, 1, 115200, 0xaf6e9520
+0, 35, 35, 1, 115200, 0xdb64a4b3
+0, 36, 36, 1, 115200, 0xc6f9b49e
+0, 37, 37, 1, 115200, 0x4446c315
+0, 38, 38, 1, 115200, 0x660bd01c
+0, 39, 39, 1, 115200, 0x963fdd7d
+0, 40, 40, 1, 115200, 0x8733e7b3
+0, 41, 41, 1, 115200, 0x41aaf1d5
+0, 42, 42, 1, 115200, 0xa803fd81
+0, 43, 43, 1, 115200, 0xe2b4077f
+0, 44, 44, 1, 115200, 0xfe6707cb
+0, 45, 45, 1, 115200, 0x027c122d
+0, 46, 46, 1, 115200, 0xbcb81ea8
+0, 47, 47, 1, 115200, 0xd2ac2405
+0, 48, 48, 1, 115200, 0x3d893006
+0, 49, 49, 1, 115200, 0xbdcc3ba8
+0, 50, 50, 1, 115200, 0x83ed4c6b
+0, 51, 51, 1, 115200, 0x69ee5e7c
+0, 52, 52, 1, 115200, 0xfe317411
+0, 53, 53, 1, 115200, 0x849e84e6
+0, 54, 54, 1, 115200, 0x040f945f
+0, 55, 55, 1, 115200, 0x6481ac89
+0, 56, 56, 1, 115200, 0x8a48be9e
+0, 57, 57, 1, 115200, 0xb162ce94
+0, 58, 58, 1, 115200, 0x178dd69a
+0, 59, 59, 1, 115200, 0x64fdecaa
+0, 60, 60, 1, 115200, 0x4b51297e
+0, 61, 61, 1, 115200, 0x3d39a1ae
+0, 62, 62, 1, 115200, 0x900fd939
+0, 63, 63, 1, 115200, 0x7704fb19
+0, 64, 64, 1, 115200, 0xa426137e
+0, 65, 65, 1, 115200, 0x9a112706
+0, 66, 66, 1, 115200, 0x294931f7
+0, 67, 67, 1, 115200, 0x0d0e4372
+0, 68, 68, 1, 115200, 0x33bd50e4
+0, 69, 69, 1, 115200, 0x9c86e3e2
+0, 70, 70, 1, 115200, 0x714af5d5
+0, 71, 71, 1, 115200, 0xc5f9fcd0
+0, 72, 72, 1, 115200, 0x184602bb
+0, 73, 73, 1, 115200, 0x6958e9e6
+0, 74, 74, 1, 115200, 0x5a214952
+0, 75, 75, 1, 115200, 0x706cca0e
+0, 76, 76, 1, 115200, 0x67689363
+0, 77, 77, 1, 115200, 0x459f410c
+0, 78, 78, 1, 115200, 0xa8f4c365
+0, 79, 79, 1, 115200, 0xf1fc50c5
+0, 80, 80, 1, 115200, 0xc22af545
+0, 81, 81, 1, 115200, 0xd39802a2
+0, 82, 82, 1, 115200, 0xb76c04b6
+0, 83, 83, 1, 115200, 0x7a548db4
+0, 84, 84, 1, 115200, 0x79e56765
+0, 85, 85, 1, 115200, 0x3f273a17
+0, 86, 86, 1, 115200, 0xe04366db
+0, 87, 87, 1, 115200, 0x8e10939b
+0, 88, 88, 1, 115200, 0x49220ea2
+0, 89, 89, 1, 115200, 0x35361889
+0, 90, 90, 1, 115200, 0x9b20bdfa
+0, 91, 91, 1, 115200, 0x5d472eaf
+0, 92, 92, 1, 115200, 0xeda43081
+0, 93, 93, 1, 115200, 0x59bae8b4
+0, 94, 94, 1, 115200, 0xf126d6a4
+0, 95, 95, 1, 115200, 0x18106464
+0, 96, 96, 1, 115200, 0x85530c73
+0, 97, 97, 1, 115200, 0xcef32c78
+0, 98, 98, 1, 115200, 0xfd6233a0
+0, 99, 99, 1, 115200, 0xae9d6fc3
+0, 100, 100, 1, 115200, 0x3d0cce10
+0, 101, 101, 1, 115200, 0xfce5f124
+0, 102, 102, 1, 115200, 0x90b10802
+0, 103, 103, 1, 115200, 0xeea44201
+0, 104, 104, 1, 115200, 0x1cefb56d
+0, 105, 105, 1, 115200, 0xd6daa0b1
+0, 106, 106, 1, 115200, 0xd700cef4
+0, 107, 107, 1, 115200, 0x36dbf58f
+0, 108, 108, 1, 115200, 0xdb20d060
+0, 109, 109, 1, 115200, 0x5ca61fd5
+0, 110, 110, 1, 115200, 0x4f271361
+0, 111, 111, 1, 115200, 0xcaf03743
+0, 112, 112, 1, 115200, 0x520f351a
+0, 113, 113, 1, 115200, 0x40bc7b89
+0, 114, 114, 1, 115200, 0xd0af0b08
+0, 115, 115, 1, 115200, 0x6a45290c
+0, 116, 116, 1, 115200, 0x57210c14
+0, 117, 117, 1, 115200, 0xc1e233f9
+0, 118, 118, 1, 115200, 0x96fdfc54
+0, 119, 119, 1, 115200, 0x43a8359c
+0, 120, 120, 1, 115200, 0xd493bfde
+0, 121, 121, 1, 115200, 0xd5339d13
+0, 122, 122, 1, 115200, 0x7542baa0
+0, 123, 123, 1, 115200, 0x268d2cb9
+0, 124, 124, 1, 115200, 0xaf3888bb
+0, 125, 125, 1, 115200, 0xb82f520a
+0, 126, 126, 1, 115200, 0x0feb2981
+0, 127, 127, 1, 115200, 0x45314b58
+0, 128, 128, 1, 115200, 0xb26a193a
+0, 129, 129, 1, 115200, 0xdfdffc38
+0, 130, 130, 1, 115200, 0xec6a55f5
+0, 131, 131, 1, 115200, 0xf6e35716
+0, 132, 132, 1, 115200, 0x5ce8544e
+0, 133, 133, 1, 115200, 0x3e38ddce
+0, 134, 134, 1, 115200, 0x964a2006
+0, 135, 135, 1, 115200, 0xaba138d6
+0, 136, 136, 1, 115200, 0x2f46949c
+0, 137, 137, 1, 115200, 0xbdbdb587
+0, 138, 138, 1, 115200, 0x1bf11e1d
+0, 139, 139, 1, 115200, 0x2632f558
+0, 140, 140, 1, 115200, 0x0e58078b
+0, 141, 141, 1, 115200, 0x2ab2f9be
+0, 142, 142, 1, 115200, 0x9205f1d8
+0, 143, 143, 1, 115200, 0x6a4bd949
+0, 144, 144, 1, 115200, 0xedc1552f
+0, 145, 145, 1, 115200, 0x0a60974d
+0, 146, 146, 1, 115200, 0xe1a1400e
+0, 147, 147, 1, 115200, 0x45f06952
+0, 148, 148, 1, 115200, 0xc5163125
+0, 149, 149, 1, 115200, 0x151da156
+0, 150, 150, 1, 115200, 0x3f34b048
+0, 151, 151, 1, 115200, 0xcf7c1e5d
+0, 152, 152, 1, 115200, 0xed9c4e1c
+0, 153, 153, 1, 115200, 0x47e06453
+0, 154, 154, 1, 115200, 0xc8ce6f19
+0, 155, 155, 1, 115200, 0xac619619
+0, 156, 156, 1, 115200, 0x64711e2d
+0, 157, 157, 1, 115200, 0x1f502b52
+0, 158, 158, 1, 115200, 0x39592c9d
+0, 159, 159, 1, 115200, 0x7dffb901
+0, 160, 160, 1, 115200, 0xc75fa3ce
+0, 161, 161, 1, 115200, 0x625bc977
+0, 162, 162, 1, 115200, 0x15c7fda3
+0, 163, 163, 1, 115200, 0x6e5d35b5
+0, 164, 164, 1, 115200, 0xf847cf88
+0, 165, 165, 1, 115200, 0xc10867fe
+0, 166, 166, 1, 115200, 0xae07fbfc
+0, 167, 167, 1, 115200, 0xc1571542
+0, 168, 168, 1, 115200, 0x4c7d5602
+0, 169, 169, 1, 115200, 0xbe7045aa
+0, 170, 170, 1, 115200, 0xc8b4835b
+0, 171, 171, 1, 115200, 0xf9b7d427
+0, 172, 172, 1, 115200, 0x7fa7c112
+0, 173, 173, 1, 115200, 0xe0105feb
+0, 174, 174, 1, 115200, 0x70784740
+0, 175, 175, 1, 115200, 0xa6801ef5
+0, 176, 176, 1, 115200, 0x9cf35921
+0, 177, 177, 1, 115200, 0x4d956630
+0, 178, 178, 1, 115200, 0x717a25c1
+0, 179, 179, 1, 115200, 0x8f5e39de
diff --git a/tests/ref/fate/targa-conformance-CBW8 b/tests/ref/fate/targa-conformance-CBW8
index 4ff3a9d42a..60270d7996 100644
--- a/tests/ref/fate/targa-conformance-CBW8
+++ b/tests/ref/fate/targa-conformance-CBW8
@@ -1 +1,2 @@
-0, 0, 16384, 0x267e21ef
+#tb 0: 1/25
+0, 0, 0, 1, 16384, 0x267e21ef
diff --git a/tests/ref/fate/targa-conformance-CCM8 b/tests/ref/fate/targa-conformance-CCM8
index acc3068e26..aad3bfc955 100644
--- a/tests/ref/fate/targa-conformance-CCM8
+++ b/tests/ref/fate/targa-conformance-CCM8
@@ -1 +1,2 @@
-0, 0, 65536, 0xcf98bc29
+#tb 0: 1/25
+0, 0, 0, 1, 65536, 0xcf98bc29
diff --git a/tests/ref/fate/targa-conformance-CTC16 b/tests/ref/fate/targa-conformance-CTC16
index d2c75f684d..e848ff8668 100644
--- a/tests/ref/fate/targa-conformance-CTC16
+++ b/tests/ref/fate/targa-conformance-CTC16
@@ -1 +1,2 @@
-0, 0, 32768, 0xa6b3d20d
+#tb 0: 1/25
+0, 0, 0, 1, 32768, 0xa6b3d20d
diff --git a/tests/ref/fate/targa-conformance-CTC24 b/tests/ref/fate/targa-conformance-CTC24
index 42e12715ac..c95f406b8e 100644
--- a/tests/ref/fate/targa-conformance-CTC24
+++ b/tests/ref/fate/targa-conformance-CTC24
@@ -1 +1,2 @@
-0, 0, 49152, 0xaca4bc29
+#tb 0: 1/25
+0, 0, 0, 1, 49152, 0xaca4bc29
diff --git a/tests/ref/fate/targa-conformance-CTC32 b/tests/ref/fate/targa-conformance-CTC32
index acc3068e26..aad3bfc955 100644
--- a/tests/ref/fate/targa-conformance-CTC32
+++ b/tests/ref/fate/targa-conformance-CTC32
@@ -1 +1,2 @@
-0, 0, 65536, 0xcf98bc29
+#tb 0: 1/25
+0, 0, 0, 1, 65536, 0xcf98bc29
diff --git a/tests/ref/fate/targa-conformance-UBW8 b/tests/ref/fate/targa-conformance-UBW8
index 4ff3a9d42a..60270d7996 100644
--- a/tests/ref/fate/targa-conformance-UBW8
+++ b/tests/ref/fate/targa-conformance-UBW8
@@ -1 +1,2 @@
-0, 0, 16384, 0x267e21ef
+#tb 0: 1/25
+0, 0, 0, 1, 16384, 0x267e21ef
diff --git a/tests/ref/fate/targa-conformance-UCM8 b/tests/ref/fate/targa-conformance-UCM8
index acc3068e26..aad3bfc955 100644
--- a/tests/ref/fate/targa-conformance-UCM8
+++ b/tests/ref/fate/targa-conformance-UCM8
@@ -1 +1,2 @@
-0, 0, 65536, 0xcf98bc29
+#tb 0: 1/25
+0, 0, 0, 1, 65536, 0xcf98bc29
diff --git a/tests/ref/fate/targa-conformance-UTC16 b/tests/ref/fate/targa-conformance-UTC16
index d2c75f684d..e848ff8668 100644
--- a/tests/ref/fate/targa-conformance-UTC16
+++ b/tests/ref/fate/targa-conformance-UTC16
@@ -1 +1,2 @@
-0, 0, 32768, 0xa6b3d20d
+#tb 0: 1/25
+0, 0, 0, 1, 32768, 0xa6b3d20d
diff --git a/tests/ref/fate/targa-conformance-UTC24 b/tests/ref/fate/targa-conformance-UTC24
index 42e12715ac..c95f406b8e 100644
--- a/tests/ref/fate/targa-conformance-UTC24
+++ b/tests/ref/fate/targa-conformance-UTC24
@@ -1 +1,2 @@
-0, 0, 49152, 0xaca4bc29
+#tb 0: 1/25
+0, 0, 0, 1, 49152, 0xaca4bc29
diff --git a/tests/ref/fate/targa-conformance-UTC32 b/tests/ref/fate/targa-conformance-UTC32
index acc3068e26..aad3bfc955 100644
--- a/tests/ref/fate/targa-conformance-UTC32
+++ b/tests/ref/fate/targa-conformance-UTC32
@@ -1 +1,2 @@
-0, 0, 65536, 0xcf98bc29
+#tb 0: 1/25
+0, 0, 0, 1, 65536, 0xcf98bc29
diff --git a/tests/ref/fate/targa-top-to-bottom b/tests/ref/fate/targa-top-to-bottom
index e9d53bb455..4d9577ae74 100644
--- a/tests/ref/fate/targa-top-to-bottom
+++ b/tests/ref/fate/targa-top-to-bottom
@@ -1 +1,2 @@
-0, 0, 196608, 0xb29ec51a
+#tb 0: 1/25
+0, 0, 0, 1, 196608, 0xb29ec51a
diff --git a/tests/ref/fate/tiertex-seq b/tests/ref/fate/tiertex-seq
index 24819ebf62..c4f1a2a92a 100644
--- a/tests/ref/fate/tiertex-seq
+++ b/tests/ref/fate/tiertex-seq
@@ -1,98 +1,100 @@
-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
-1, 14400, 1764, 0x75026779
-0, 18000, 98304, 0x37cf1601
-1, 18000, 1764, 0xb4356e37
-0, 21600, 98304, 0x82941990
-1, 21600, 1764, 0xfafa64cb
-0, 25200, 98304, 0xe0a5309e
-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
-1, 39600, 1764, 0x9c396930
-0, 43200, 98304, 0xf6bd74c7
-1, 43200, 1764, 0x87115ec4
-0, 46800, 98304, 0x1efd38c4
-1, 46800, 1764, 0x0c9b69b6
-0, 50400, 98304, 0x29c26bba
-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
-1, 64800, 1764, 0xc5cd75d0
-0, 68400, 98304, 0x00000000
-1, 68400, 1764, 0x3ff3646d
-0, 72000, 98304, 0x00000000
-1, 72000, 1764, 0x10136d25
-1, 75600, 1764, 0xeb1a6cd0
-1, 79200, 1764, 0xef937ed1
-1, 82800, 1764, 0x2d2b6f79
-1, 86400, 1764, 0x6f457231
-1, 90000, 1764, 0x56267c9d
-1, 93600, 1764, 0xd49e79c8
-1, 97200, 1764, 0xc726703d
-1, 100800, 1764, 0x2abf8074
-1, 104400, 1764, 0xb50c556d
-1, 108000, 1764, 0xc1f2523c
-1, 111600, 1764, 0x850a6f93
-1, 115200, 1764, 0x8da76c31
-1, 118800, 1764, 0xfcccdf13
-1, 122400, 1764, 0x00000000
-1, 126000, 1764, 0x00000000
-1, 129600, 1764, 0x00000000
-1, 133200, 1764, 0x00000000
-1, 136800, 1764, 0x00000000
-1, 140400, 1764, 0x00000000
-1, 144000, 1764, 0x00000000
-1, 147600, 1764, 0x00000000
-1, 151200, 1764, 0x00000000
-1, 154800, 1764, 0x00000000
-1, 158400, 1764, 0x00000000
-1, 162000, 1764, 0x00000000
-1, 165600, 1764, 0x00000000
-1, 169200, 1764, 0x00000000
-1, 172800, 1764, 0x00000000
-1, 176400, 1764, 0x00000000
-1, 180000, 1764, 0x00000000
-1, 183600, 1764, 0x00000000
-1, 187200, 1764, 0x00000000
-1, 190800, 1764, 0x00000000
-1, 194400, 1764, 0x00000000
-1, 198000, 1764, 0x00000000
-1, 201600, 1764, 0x00000000
-1, 205200, 1764, 0x00000000
-1, 208800, 1764, 0x00000000
-1, 212400, 1764, 0x00000000
-1, 216000, 1764, 0x00000000
-1, 219600, 1764, 0x00000000
-1, 223200, 1764, 0x00000000
-1, 226800, 1764, 0x00000000
-1, 230400, 1764, 0x00000000
-1, 234000, 1764, 0x00000000
-1, 237600, 1764, 0x00000000
-1, 241200, 1764, 0x00000000
-1, 244800, 1764, 0x00000000
-1, 248400, 1764, 0x00000000
-1, 252000, 1764, 0x00000000
-1, 255600, 1764, 0x00000000
-1, 259200, 1764, 0x00000000
-1, 262800, 1764, 0x00000000
-1, 266400, 1764, 0x00000000
-1, 270000, 1764, 0x00000000
-1, 273600, 1764, 0x00000000
+#tb 0: 1/25
+#tb 1: 1/22050
+0, 0, 0, 1, 98304, 0x2e5db4a4
+1, 0, 0, 882, 1764, 0x00000000
+0, 1, 1, 1, 98304, 0xb20c19d0
+1, 882, 882, 882, 1764, 0x80a253d9
+0, 2, 2, 1, 98304, 0x6b8538c0
+1, 1764, 1764, 882, 1764, 0x95a16721
+0, 3, 3, 1, 98304, 0x172207e3
+1, 2646, 2646, 882, 1764, 0x0f0d4cb6
+0, 4, 4, 1, 98304, 0x63fb7dc1
+1, 3528, 3528, 882, 1764, 0x75026779
+0, 5, 5, 1, 98304, 0x37cf1601
+1, 4410, 4410, 882, 1764, 0xb4356e37
+0, 6, 6, 1, 98304, 0x82941990
+1, 5292, 5292, 882, 1764, 0xfafa64cb
+0, 7, 7, 1, 98304, 0xe0a5309e
+1, 6174, 6174, 882, 1764, 0xe8fd7970
+0, 8, 8, 1, 98304, 0x164cb67d
+1, 7056, 7056, 882, 1764, 0x666879b7
+0, 9, 9, 1, 98304, 0xed2189f8
+1, 7938, 7938, 882, 1764, 0xf2cd7770
+0, 10, 10, 1, 98304, 0x7215e529
+1, 8820, 8820, 882, 1764, 0x54317a1c
+0, 11, 11, 1, 98304, 0x170c783b
+1, 9702, 9702, 882, 1764, 0x9c396930
+0, 12, 12, 1, 98304, 0xf6bd74c7
+1, 10584, 10584, 882, 1764, 0x87115ec4
+0, 13, 13, 1, 98304, 0x1efd38c4
+1, 11466, 11466, 882, 1764, 0x0c9b69b6
+0, 14, 14, 1, 98304, 0x29c26bba
+1, 12348, 12348, 882, 1764, 0x8c3a758a
+0, 15, 15, 1, 98304, 0x880a6313
+1, 13230, 13230, 882, 1764, 0x605d776a
+0, 16, 16, 1, 98304, 0x73f5bb00
+1, 14112, 14112, 882, 1764, 0x0556852d
+0, 17, 17, 1, 98304, 0xc85b19ec
+1, 14994, 14994, 882, 1764, 0x7d4363f8
+0, 18, 18, 1, 98304, 0x00000000
+1, 15876, 15876, 882, 1764, 0xc5cd75d0
+0, 19, 19, 1, 98304, 0x00000000
+1, 16758, 16758, 882, 1764, 0x3ff3646d
+0, 20, 20, 1, 98304, 0x00000000
+1, 17640, 17640, 882, 1764, 0x10136d25
+1, 18522, 18522, 882, 1764, 0xeb1a6cd0
+1, 19404, 19404, 882, 1764, 0xef937ed1
+1, 20286, 20286, 882, 1764, 0x2d2b6f79
+1, 21168, 21168, 882, 1764, 0x6f457231
+1, 22050, 22050, 882, 1764, 0x56267c9d
+1, 22932, 22932, 882, 1764, 0xd49e79c8
+1, 23814, 23814, 882, 1764, 0xc726703d
+1, 24696, 24696, 882, 1764, 0x2abf8074
+1, 25578, 25578, 882, 1764, 0xb50c556d
+1, 26460, 26460, 882, 1764, 0xc1f2523c
+1, 27342, 27342, 882, 1764, 0x850a6f93
+1, 28224, 28224, 882, 1764, 0x8da76c31
+1, 29106, 29106, 882, 1764, 0xfcccdf13
+1, 29988, 29988, 882, 1764, 0x00000000
+1, 30870, 30870, 882, 1764, 0x00000000
+1, 31752, 31752, 882, 1764, 0x00000000
+1, 32634, 32634, 882, 1764, 0x00000000
+1, 33516, 33516, 882, 1764, 0x00000000
+1, 34398, 34398, 882, 1764, 0x00000000
+1, 35280, 35280, 882, 1764, 0x00000000
+1, 36162, 36162, 882, 1764, 0x00000000
+1, 37044, 37044, 882, 1764, 0x00000000
+1, 37926, 37926, 882, 1764, 0x00000000
+1, 38808, 38808, 882, 1764, 0x00000000
+1, 39690, 39690, 882, 1764, 0x00000000
+1, 40572, 40572, 882, 1764, 0x00000000
+1, 41454, 41454, 882, 1764, 0x00000000
+1, 42336, 42336, 882, 1764, 0x00000000
+1, 43218, 43218, 882, 1764, 0x00000000
+1, 44100, 44100, 882, 1764, 0x00000000
+1, 44982, 44982, 882, 1764, 0x00000000
+1, 45864, 45864, 882, 1764, 0x00000000
+1, 46746, 46746, 882, 1764, 0x00000000
+1, 47628, 47628, 882, 1764, 0x00000000
+1, 48510, 48510, 882, 1764, 0x00000000
+1, 49392, 49392, 882, 1764, 0x00000000
+1, 50274, 50274, 882, 1764, 0x00000000
+1, 51156, 51156, 882, 1764, 0x00000000
+1, 52038, 52038, 882, 1764, 0x00000000
+1, 52920, 52920, 882, 1764, 0x00000000
+1, 53802, 53802, 882, 1764, 0x00000000
+1, 54684, 54684, 882, 1764, 0x00000000
+1, 55566, 55566, 882, 1764, 0x00000000
+1, 56448, 56448, 882, 1764, 0x00000000
+1, 57330, 57330, 882, 1764, 0x00000000
+1, 58212, 58212, 882, 1764, 0x00000000
+1, 59094, 59094, 882, 1764, 0x00000000
+1, 59976, 59976, 882, 1764, 0x00000000
+1, 60858, 60858, 882, 1764, 0x00000000
+1, 61740, 61740, 882, 1764, 0x00000000
+1, 62622, 62622, 882, 1764, 0x00000000
+1, 63504, 63504, 882, 1764, 0x00000000
+1, 64386, 64386, 882, 1764, 0x00000000
+1, 65268, 65268, 882, 1764, 0x00000000
+1, 66150, 66150, 882, 1764, 0x00000000
+1, 67032, 67032, 882, 1764, 0x00000000
diff --git a/tests/ref/fate/tiff-fax-g3 b/tests/ref/fate/tiff-fax-g3
index b712dd2a8a..fa7bc2f79f 100644
--- a/tests/ref/fate/tiff-fax-g3
+++ b/tests/ref/fate/tiff-fax-g3
@@ -1 +1,2 @@
-0, 0, 1000384, 0xb758eb8b
+#tb 0: 1/25
+0, 0, 0, 1, 1000384, 0xb758eb8b
diff --git a/tests/ref/fate/tiff-fax-g3s b/tests/ref/fate/tiff-fax-g3s
index b712dd2a8a..fa7bc2f79f 100644
--- a/tests/ref/fate/tiff-fax-g3s
+++ b/tests/ref/fate/tiff-fax-g3s
@@ -1 +1,2 @@
-0, 0, 1000384, 0xb758eb8b
+#tb 0: 1/25
+0, 0, 0, 1, 1000384, 0xb758eb8b
diff --git a/tests/ref/fate/tmv b/tests/ref/fate/tmv
index feca20e060..6203e863b9 100644
--- a/tests/ref/fate/tmv
+++ b/tests/ref/fate/tmv
@@ -1,220 +1,222 @@
-0, 0, 192000, 0xc698297a
-1, 0, 736, 0xf63db497
-0, 1501, 192000, 0x8d5bd6be
-1, 1501, 736, 0xbc42caef
-0, 3003, 192000, 0x21c32083
-1, 3003, 736, 0x5619a45a
-0, 4504, 192000, 0x849cd4c0
-1, 4504, 736, 0x1b8ac0f9
-0, 6006, 192000, 0x8c63a4f0
-1, 6006, 736, 0x55dcac78
-0, 7507, 192000, 0x5dbee9ab
-1, 7507, 736, 0xd9f2a266
-0, 9009, 192000, 0x2b12d9bb
-1, 9009, 736, 0x22f8af51
-0, 10510, 192000, 0x1a737e17
-1, 10510, 736, 0x838bacb8
-0, 12012, 192000, 0x90536c29
-1, 12012, 736, 0x7b29b4f9
-0, 13513, 192000, 0xd7795243
-1, 13513, 736, 0x5a01b505
-0, 15015, 192000, 0x08847e17
-1, 15015, 736, 0xc330abb4
-0, 16516, 192000, 0x47aa5a3b
-1, 16516, 736, 0x84d6c49d
-0, 18018, 192000, 0x9435266f
-1, 18018, 736, 0xd0a1a588
-0, 19519, 192000, 0x87e7ea9c
-1, 19519, 736, 0x9083a382
-0, 21021, 192000, 0x6dc00285
-1, 21021, 736, 0x291eb335
-0, 22522, 192000, 0xf6407ddf
-1, 22522, 736, 0xdda2b452
-0, 24024, 192000, 0x55541c09
-1, 24024, 736, 0x82feab67
-0, 25525, 192000, 0xf1c4f5be
-1, 25525, 736, 0xfca6b943
-0, 27027, 192000, 0xe59ff74c
-1, 27027, 736, 0x2a4ea1fd
-0, 28528, 192000, 0x0fedcf04
-1, 28528, 736, 0xbb4bc783
-0, 30030, 192000, 0x04b893dd
-1, 30030, 736, 0x8c10a799
-0, 31531, 192000, 0xfef47d83
-1, 31531, 736, 0x8751a53b
-0, 33033, 192000, 0x07bde9ed
-1, 33033, 736, 0x4b3c9fc3
-0, 34534, 192000, 0xb8003fd2
-1, 34534, 736, 0x5dad9b46
-0, 36036, 192000, 0x4eb6b3ed
-1, 36036, 736, 0xe106a3e6
-0, 37537, 192000, 0x320b0b34
-1, 37537, 736, 0xa42a9a3b
-0, 39039, 192000, 0x5156e90f
-1, 39039, 736, 0xb5069901
-0, 40540, 192000, 0x34778cde
-1, 40540, 736, 0x3556c3c3
-0, 42042, 192000, 0xd8d96e44
-1, 42042, 736, 0xa870c1ee
-0, 43543, 192000, 0x962ae9f3
-1, 43543, 736, 0xc388b6d8
-0, 45045, 192000, 0x3d29d85a
-1, 45045, 736, 0xe167a2b0
-0, 46546, 192000, 0x838554fa
-1, 46546, 736, 0x15aeb59d
-0, 48048, 192000, 0xd64a3b93
-1, 48048, 736, 0xa576c0bc
-0, 49549, 192000, 0x380ef140
-1, 49549, 736, 0x44f3b827
-0, 51051, 192000, 0x076b38c0
-1, 51051, 736, 0xfa5ecd84
-0, 52552, 192000, 0xd9a67c7c
-1, 52552, 736, 0xb7b996f6
-0, 54054, 192000, 0xc2849a50
-1, 54054, 736, 0xb390c311
-0, 55555, 192000, 0x9b94a347
-1, 55555, 736, 0xc5a9ab0f
-0, 57057, 192000, 0xe3ba9c07
-1, 57057, 736, 0x1a3aa3f6
-0, 58558, 192000, 0xef0011f5
-1, 58558, 736, 0xdaaf9e42
-0, 60060, 192000, 0xa98381e8
-1, 60060, 736, 0xad8fb0ba
-0, 61561, 192000, 0x27e5ce9b
-1, 61561, 736, 0x9cce9e05
-0, 63063, 192000, 0x8568e33f
-1, 63063, 736, 0x70639e6f
-0, 64564, 192000, 0x540633b6
-1, 64564, 736, 0xc5e1ba9b
-0, 66066, 192000, 0xd8fcfbed
-1, 66066, 736, 0x9e6cb422
-0, 67567, 192000, 0x15609e04
-1, 67567, 736, 0x5c559a1e
-0, 69069, 192000, 0x7e4f5c9b
-1, 69069, 736, 0xb071c2da
-0, 70570, 192000, 0xef14950d
-1, 70570, 736, 0xd9bdb9eb
-0, 72072, 192000, 0x9e0b85b9
-1, 72072, 736, 0x5ecab2d5
-0, 73573, 192000, 0xf3b69b95
-1, 73573, 736, 0x0f78a8fe
-0, 75075, 192000, 0x09b6db39
-1, 75075, 736, 0x74ebaccd
-0, 76576, 192000, 0x4dc9a300
-1, 76576, 736, 0x2cfab78e
-0, 78078, 192000, 0x29d9fdde
-1, 78078, 736, 0x32c6c26e
-0, 79579, 192000, 0x22e79283
-1, 79579, 736, 0xbe339d74
-0, 81081, 192000, 0x5f5c95aa
-1, 81081, 736, 0x2c31b687
-0, 82582, 192000, 0x4d76efde
-1, 82582, 736, 0xcbb0b8d5
-0, 84084, 192000, 0xb1d79f6a
-1, 84084, 736, 0x17bcb56a
-0, 85585, 192000, 0xedfe6012
-1, 85585, 736, 0x116fb70c
-0, 87087, 192000, 0x4a56033a
-1, 87087, 736, 0xa22eb34f
-0, 88588, 192000, 0xdbc9f746
-1, 88588, 736, 0x130bc9bb
-0, 90090, 192000, 0xedff8a16
-1, 90090, 736, 0xbb0b77aa
-0, 91591, 192000, 0x46b5f843
-1, 91591, 736, 0xafb5a9f0
-0, 93093, 192000, 0xbd12dbfc
-1, 93093, 736, 0xaf55f1a3
-0, 94594, 192000, 0xacf2a336
-1, 94594, 736, 0x988e9669
-0, 96096, 192000, 0x13843e7f
-1, 96096, 736, 0x4e2cc9ab
-0, 97597, 192000, 0x6fda777f
-1, 97597, 736, 0x34b3b7ea
-0, 99099, 192000, 0x16ffef07
-1, 99099, 736, 0x1252a16b
-0, 100600, 192000, 0xb36c06c6
-1, 100600, 736, 0x04279e74
-0, 102102, 192000, 0xd65746b1
-1, 102102, 736, 0x9c2ecb2e
-0, 103603, 192000, 0x2817079b
-1, 103603, 736, 0x6c16945a
-0, 105105, 192000, 0xadb60837
-1, 105105, 736, 0x2c0cc1f9
-0, 106606, 192000, 0x60cb0d87
-1, 106606, 736, 0x52fba868
-0, 108108, 192000, 0x14e5b02b
-1, 108108, 736, 0xe2a2a5be
-0, 109609, 192000, 0x574fd8f4
-1, 109609, 736, 0x2f56a95b
-0, 111111, 192000, 0xffb9a8fa
-1, 111111, 736, 0x573196a0
-0, 112612, 192000, 0xc2904a3e
-1, 112612, 736, 0xb542c1dc
-0, 114114, 192000, 0x22e77c9b
-1, 114114, 736, 0x7f6a9964
-0, 115615, 192000, 0xd76d81c2
-1, 115615, 736, 0xc39db324
-0, 117117, 192000, 0xf5b0fcc8
-1, 117117, 736, 0xa2dbb058
-0, 118618, 192000, 0xc452ce4d
-1, 118618, 736, 0x8bfac722
-0, 120120, 192000, 0x64a53e4f
-1, 120120, 736, 0x5e679406
-0, 121621, 192000, 0xe6c115da
-1, 121621, 736, 0xd7a8c2aa
-0, 123123, 192000, 0x959d45fe
-1, 123123, 736, 0x5ec6a7a0
-0, 124624, 192000, 0xabb270b6
-1, 124624, 736, 0x9f33c47f
-0, 126126, 192000, 0x451642b8
-1, 126126, 736, 0x4c4998bf
-0, 127627, 192000, 0x028b2202
-1, 127627, 736, 0x2363c344
-0, 129129, 192000, 0xf5d79b86
-1, 129129, 736, 0xecf9a09f
-0, 130630, 192000, 0xebe0623e
-1, 130630, 736, 0x5a069e69
-0, 132132, 192000, 0x7560d1eb
-1, 132132, 736, 0xe2e5b106
-0, 133633, 192000, 0xcbf85785
-1, 133633, 736, 0x7ff4b09e
-0, 135135, 192000, 0x180f6aca
-1, 135135, 736, 0x0157acd2
-0, 136636, 192000, 0xea8ecb95
-1, 136636, 736, 0x64849b5a
-0, 138138, 192000, 0x6a5e3639
-1, 138138, 736, 0x0399b037
-0, 139639, 192000, 0x5aa6c22c
-1, 139639, 736, 0xa57ea80f
-0, 141141, 192000, 0xdbb50948
-1, 141141, 736, 0x233eb2a4
-0, 142642, 192000, 0x0184a90a
-1, 142642, 736, 0x8aa5dfa0
-0, 144144, 192000, 0x0efc1358
-1, 144144, 736, 0x0c9fa877
-0, 145645, 192000, 0x29053255
-1, 145645, 736, 0xbe6faef2
-0, 147147, 192000, 0x3a7e239d
-1, 147147, 736, 0xf800c0f2
-0, 148648, 192000, 0x3bd99ca5
-1, 148648, 736, 0x1d68a964
-0, 150150, 192000, 0xe1b5a4d6
-1, 150150, 736, 0x0e4f8872
-0, 151651, 192000, 0xf487f8bb
-1, 151651, 736, 0x31c6ed1c
-0, 153153, 192000, 0x8b14387c
-1, 153153, 736, 0x7448a8d2
-0, 154654, 192000, 0xdaeb9cb4
-1, 154654, 736, 0x79a2ac09
-0, 156156, 192000, 0xdc1d2f5b
-1, 156156, 736, 0xbdbfa397
-0, 157657, 192000, 0x4dcab167
-1, 157657, 736, 0xa5deb8bb
-0, 159159, 192000, 0x87fcf0d3
-1, 159159, 736, 0x4565d179
-0, 160660, 192000, 0x36d37542
-1, 160660, 736, 0x64d89f91
-0, 162162, 192000, 0x59ba49c5
-1, 162162, 736, 0x32319f68
-0, 163663, 192000, 0xf679b712
-1, 163663, 736, 0x3efdc04f
+#tb 0: 184/11029
+#tb 1: 1/22058
+0, 0, 0, 1, 192000, 0xc698297a
+1, 0, 0, 368, 736, 0xf63db497
+0, 1, 1, 1, 192000, 0x8d5bd6be
+1, 368, 368, 368, 736, 0xbc42caef
+0, 2, 2, 1, 192000, 0x21c32083
+1, 736, 736, 368, 736, 0x5619a45a
+0, 3, 3, 1, 192000, 0x849cd4c0
+1, 1104, 1104, 368, 736, 0x1b8ac0f9
+0, 4, 4, 1, 192000, 0x8c63a4f0
+1, 1472, 1472, 368, 736, 0x55dcac78
+0, 5, 5, 1, 192000, 0x5dbee9ab
+1, 1840, 1840, 368, 736, 0xd9f2a266
+0, 6, 6, 1, 192000, 0x2b12d9bb
+1, 2208, 2208, 368, 736, 0x22f8af51
+0, 7, 7, 1, 192000, 0x1a737e17
+1, 2576, 2576, 368, 736, 0x838bacb8
+0, 8, 8, 1, 192000, 0x90536c29
+1, 2944, 2944, 368, 736, 0x7b29b4f9
+0, 9, 9, 1, 192000, 0xd7795243
+1, 3312, 3312, 368, 736, 0x5a01b505
+0, 10, 10, 1, 192000, 0x08847e17
+1, 3680, 3680, 368, 736, 0xc330abb4
+0, 11, 11, 1, 192000, 0x47aa5a3b
+1, 4048, 4048, 368, 736, 0x84d6c49d
+0, 12, 12, 1, 192000, 0x9435266f
+1, 4416, 4416, 368, 736, 0xd0a1a588
+0, 13, 13, 1, 192000, 0x87e7ea9c
+1, 4784, 4784, 368, 736, 0x9083a382
+0, 14, 14, 1, 192000, 0x6dc00285
+1, 5152, 5152, 368, 736, 0x291eb335
+0, 15, 15, 1, 192000, 0xf6407ddf
+1, 5520, 5520, 368, 736, 0xdda2b452
+0, 16, 16, 1, 192000, 0x55541c09
+1, 5888, 5888, 368, 736, 0x82feab67
+0, 17, 17, 1, 192000, 0xf1c4f5be
+1, 6256, 6256, 368, 736, 0xfca6b943
+0, 18, 18, 1, 192000, 0xe59ff74c
+1, 6624, 6624, 368, 736, 0x2a4ea1fd
+0, 19, 19, 1, 192000, 0x0fedcf04
+1, 6992, 6992, 368, 736, 0xbb4bc783
+0, 20, 20, 1, 192000, 0x04b893dd
+1, 7360, 7360, 368, 736, 0x8c10a799
+0, 21, 21, 1, 192000, 0xfef47d83
+1, 7728, 7728, 368, 736, 0x8751a53b
+0, 22, 22, 1, 192000, 0x07bde9ed
+1, 8096, 8096, 368, 736, 0x4b3c9fc3
+0, 23, 23, 1, 192000, 0xb8003fd2
+1, 8464, 8464, 368, 736, 0x5dad9b46
+0, 24, 24, 1, 192000, 0x4eb6b3ed
+1, 8832, 8832, 368, 736, 0xe106a3e6
+0, 25, 25, 1, 192000, 0x320b0b34
+1, 9200, 9200, 368, 736, 0xa42a9a3b
+0, 26, 26, 1, 192000, 0x5156e90f
+1, 9568, 9568, 368, 736, 0xb5069901
+0, 27, 27, 1, 192000, 0x34778cde
+1, 9936, 9936, 368, 736, 0x3556c3c3
+0, 28, 28, 1, 192000, 0xd8d96e44
+1, 10304, 10304, 368, 736, 0xa870c1ee
+0, 29, 29, 1, 192000, 0x962ae9f3
+1, 10672, 10672, 368, 736, 0xc388b6d8
+0, 30, 30, 1, 192000, 0x3d29d85a
+1, 11040, 11040, 368, 736, 0xe167a2b0
+0, 31, 31, 1, 192000, 0x838554fa
+1, 11408, 11408, 368, 736, 0x15aeb59d
+0, 32, 32, 1, 192000, 0xd64a3b93
+1, 11776, 11776, 368, 736, 0xa576c0bc
+0, 33, 33, 1, 192000, 0x380ef140
+1, 12144, 12144, 368, 736, 0x44f3b827
+0, 34, 34, 1, 192000, 0x076b38c0
+1, 12512, 12512, 368, 736, 0xfa5ecd84
+0, 35, 35, 1, 192000, 0xd9a67c7c
+1, 12880, 12880, 368, 736, 0xb7b996f6
+0, 36, 36, 1, 192000, 0xc2849a50
+1, 13248, 13248, 368, 736, 0xb390c311
+0, 37, 37, 1, 192000, 0x9b94a347
+1, 13616, 13616, 368, 736, 0xc5a9ab0f
+0, 38, 38, 1, 192000, 0xe3ba9c07
+1, 13984, 13984, 368, 736, 0x1a3aa3f6
+0, 39, 39, 1, 192000, 0xef0011f5
+1, 14352, 14352, 368, 736, 0xdaaf9e42
+0, 40, 40, 1, 192000, 0xa98381e8
+1, 14720, 14720, 368, 736, 0xad8fb0ba
+0, 41, 41, 1, 192000, 0x27e5ce9b
+1, 15088, 15088, 368, 736, 0x9cce9e05
+0, 42, 42, 1, 192000, 0x8568e33f
+1, 15456, 15456, 368, 736, 0x70639e6f
+0, 43, 43, 1, 192000, 0x540633b6
+1, 15824, 15824, 368, 736, 0xc5e1ba9b
+0, 44, 44, 1, 192000, 0xd8fcfbed
+1, 16192, 16192, 368, 736, 0x9e6cb422
+0, 45, 45, 1, 192000, 0x15609e04
+1, 16560, 16560, 368, 736, 0x5c559a1e
+0, 46, 46, 1, 192000, 0x7e4f5c9b
+1, 16928, 16928, 368, 736, 0xb071c2da
+0, 47, 47, 1, 192000, 0xef14950d
+1, 17296, 17296, 368, 736, 0xd9bdb9eb
+0, 48, 48, 1, 192000, 0x9e0b85b9
+1, 17664, 17664, 368, 736, 0x5ecab2d5
+0, 49, 49, 1, 192000, 0xf3b69b95
+1, 18032, 18032, 368, 736, 0x0f78a8fe
+0, 50, 50, 1, 192000, 0x09b6db39
+1, 18400, 18400, 368, 736, 0x74ebaccd
+0, 51, 51, 1, 192000, 0x4dc9a300
+1, 18768, 18768, 368, 736, 0x2cfab78e
+0, 52, 52, 1, 192000, 0x29d9fdde
+1, 19136, 19136, 368, 736, 0x32c6c26e
+0, 53, 53, 1, 192000, 0x22e79283
+1, 19504, 19504, 368, 736, 0xbe339d74
+0, 54, 54, 1, 192000, 0x5f5c95aa
+1, 19872, 19872, 368, 736, 0x2c31b687
+0, 55, 55, 1, 192000, 0x4d76efde
+1, 20240, 20240, 368, 736, 0xcbb0b8d5
+0, 56, 56, 1, 192000, 0xb1d79f6a
+1, 20608, 20608, 368, 736, 0x17bcb56a
+0, 57, 57, 1, 192000, 0xedfe6012
+1, 20976, 20976, 368, 736, 0x116fb70c
+0, 58, 58, 1, 192000, 0x4a56033a
+1, 21344, 21344, 368, 736, 0xa22eb34f
+0, 59, 59, 1, 192000, 0xdbc9f746
+1, 21712, 21712, 368, 736, 0x130bc9bb
+0, 60, 60, 1, 192000, 0xedff8a16
+1, 22080, 22080, 368, 736, 0xbb0b77aa
+0, 61, 61, 1, 192000, 0x46b5f843
+1, 22448, 22448, 368, 736, 0xafb5a9f0
+0, 62, 62, 1, 192000, 0xbd12dbfc
+1, 22816, 22816, 368, 736, 0xaf55f1a3
+0, 63, 63, 1, 192000, 0xacf2a336
+1, 23184, 23184, 368, 736, 0x988e9669
+0, 64, 64, 1, 192000, 0x13843e7f
+1, 23552, 23552, 368, 736, 0x4e2cc9ab
+0, 65, 65, 1, 192000, 0x6fda777f
+1, 23920, 23920, 368, 736, 0x34b3b7ea
+0, 66, 66, 1, 192000, 0x16ffef07
+1, 24288, 24288, 368, 736, 0x1252a16b
+0, 67, 67, 1, 192000, 0xb36c06c6
+1, 24656, 24656, 368, 736, 0x04279e74
+0, 68, 68, 1, 192000, 0xd65746b1
+1, 25024, 25024, 368, 736, 0x9c2ecb2e
+0, 69, 69, 1, 192000, 0x2817079b
+1, 25392, 25392, 368, 736, 0x6c16945a
+0, 70, 70, 1, 192000, 0xadb60837
+1, 25760, 25760, 368, 736, 0x2c0cc1f9
+0, 71, 71, 1, 192000, 0x60cb0d87
+1, 26128, 26128, 368, 736, 0x52fba868
+0, 72, 72, 1, 192000, 0x14e5b02b
+1, 26496, 26496, 368, 736, 0xe2a2a5be
+0, 73, 73, 1, 192000, 0x574fd8f4
+1, 26864, 26864, 368, 736, 0x2f56a95b
+0, 74, 74, 1, 192000, 0xffb9a8fa
+1, 27232, 27232, 368, 736, 0x573196a0
+0, 75, 75, 1, 192000, 0xc2904a3e
+1, 27600, 27600, 368, 736, 0xb542c1dc
+0, 76, 76, 1, 192000, 0x22e77c9b
+1, 27968, 27968, 368, 736, 0x7f6a9964
+0, 77, 77, 1, 192000, 0xd76d81c2
+1, 28336, 28336, 368, 736, 0xc39db324
+0, 78, 78, 1, 192000, 0xf5b0fcc8
+1, 28704, 28704, 368, 736, 0xa2dbb058
+0, 79, 79, 1, 192000, 0xc452ce4d
+1, 29072, 29072, 368, 736, 0x8bfac722
+0, 80, 80, 1, 192000, 0x64a53e4f
+1, 29440, 29440, 368, 736, 0x5e679406
+0, 81, 81, 1, 192000, 0xe6c115da
+1, 29808, 29808, 368, 736, 0xd7a8c2aa
+0, 82, 82, 1, 192000, 0x959d45fe
+1, 30176, 30176, 368, 736, 0x5ec6a7a0
+0, 83, 83, 1, 192000, 0xabb270b6
+1, 30544, 30544, 368, 736, 0x9f33c47f
+0, 84, 84, 1, 192000, 0x451642b8
+1, 30912, 30912, 368, 736, 0x4c4998bf
+0, 85, 85, 1, 192000, 0x028b2202
+1, 31280, 31280, 368, 736, 0x2363c344
+0, 86, 86, 1, 192000, 0xf5d79b86
+1, 31648, 31648, 368, 736, 0xecf9a09f
+0, 87, 87, 1, 192000, 0xebe0623e
+1, 32016, 32016, 368, 736, 0x5a069e69
+0, 88, 88, 1, 192000, 0x7560d1eb
+1, 32384, 32384, 368, 736, 0xe2e5b106
+0, 89, 89, 1, 192000, 0xcbf85785
+1, 32752, 32752, 368, 736, 0x7ff4b09e
+0, 90, 90, 1, 192000, 0x180f6aca
+1, 33120, 33120, 368, 736, 0x0157acd2
+0, 91, 91, 1, 192000, 0xea8ecb95
+1, 33488, 33488, 368, 736, 0x64849b5a
+0, 92, 92, 1, 192000, 0x6a5e3639
+1, 33856, 33856, 368, 736, 0x0399b037
+0, 93, 93, 1, 192000, 0x5aa6c22c
+1, 34224, 34224, 368, 736, 0xa57ea80f
+0, 94, 94, 1, 192000, 0xdbb50948
+1, 34592, 34592, 368, 736, 0x233eb2a4
+0, 95, 95, 1, 192000, 0x0184a90a
+1, 34960, 34960, 368, 736, 0x8aa5dfa0
+0, 96, 96, 1, 192000, 0x0efc1358
+1, 35328, 35328, 368, 736, 0x0c9fa877
+0, 97, 97, 1, 192000, 0x29053255
+1, 35696, 35696, 368, 736, 0xbe6faef2
+0, 98, 98, 1, 192000, 0x3a7e239d
+1, 36064, 36064, 368, 736, 0xf800c0f2
+0, 99, 99, 1, 192000, 0x3bd99ca5
+1, 36432, 36432, 368, 736, 0x1d68a964
+0, 100, 100, 1, 192000, 0xe1b5a4d6
+1, 36800, 36800, 368, 736, 0x0e4f8872
+0, 101, 101, 1, 192000, 0xf487f8bb
+1, 37168, 37168, 368, 736, 0x31c6ed1c
+0, 102, 102, 1, 192000, 0x8b14387c
+1, 37536, 37536, 368, 736, 0x7448a8d2
+0, 103, 103, 1, 192000, 0xdaeb9cb4
+1, 37904, 37904, 368, 736, 0x79a2ac09
+0, 104, 104, 1, 192000, 0xdc1d2f5b
+1, 38272, 38272, 368, 736, 0xbdbfa397
+0, 105, 105, 1, 192000, 0x4dcab167
+1, 38640, 38640, 368, 736, 0xa5deb8bb
+0, 106, 106, 1, 192000, 0x87fcf0d3
+1, 39008, 39008, 368, 736, 0x4565d179
+0, 107, 107, 1, 192000, 0x36d37542
+1, 39376, 39376, 368, 736, 0x64d89f91
+0, 108, 108, 1, 192000, 0x59ba49c5
+1, 39744, 39744, 368, 736, 0x32319f68
+0, 109, 109, 1, 192000, 0xf679b712
+1, 40112, 40112, 368, 736, 0x3efdc04f
diff --git a/tests/ref/fate/truemotion1-15 b/tests/ref/fate/truemotion1-15
index d9925c73c6..ebffc6e830 100644
--- a/tests/ref/fate/truemotion1-15
+++ b/tests/ref/fate/truemotion1-15
@@ -1,218 +1,220 @@
-0, 0, 161280, 0x7041748d
-1, 0, 10836, 0x2a531236
-1, 5529, 10836, 0xc58f45af
-0, 6000, 161280, 0x3cc4dfb5
-1, 11057, 10836, 0x436cf135
-0, 12000, 161280, 0xca3af22d
-1, 16586, 10836, 0x3a6022cc
-0, 18000, 161280, 0x23ad1d85
-1, 22114, 10836, 0x57e83a4a
-0, 24000, 161280, 0x9c9cf364
-1, 27643, 10836, 0xca4b3a1b
-0, 30000, 161280, 0x1551d6a8
-1, 33171, 10836, 0xc3da7536
-0, 36000, 161280, 0xc39f6b95
-1, 38700, 10836, 0x8c57d47b
-0, 42000, 161280, 0x3b036dcc
-1, 44229, 10836, 0x9a79572b
-0, 48000, 161280, 0xa6fac1db
-1, 49757, 10836, 0x7dbd6fd3
-0, 54000, 161280, 0x67656b62
-1, 55286, 10836, 0x4454fdde
-0, 60000, 161280, 0xb41f47d1
-1, 60814, 10836, 0x68aae686
-0, 66000, 161280, 0xc207249e
-1, 66343, 10836, 0x61f2df35
-1, 71871, 10836, 0xe36883c6
-0, 72000, 161280, 0xbee8f843
-1, 77400, 10836, 0xefa62217
-0, 78000, 161280, 0x092acf46
-1, 82929, 10836, 0x63b92479
-0, 84000, 161280, 0x8d9e2680
-1, 88457, 10836, 0xaf452579
-0, 90000, 161280, 0x8becc20c
-1, 93986, 10836, 0xdbb10001
-0, 96000, 161280, 0x655e444e
-1, 99514, 10836, 0xafb7f7a7
-0, 102000, 161280, 0x5c112da0
-1, 105043, 10836, 0xd4b1e591
-0, 108000, 161280, 0x232fa9eb
-1, 110571, 10836, 0x4d44b3bb
-0, 114000, 161280, 0x9721745d
-1, 116100, 10836, 0xff2ea5b3
-0, 120000, 161280, 0x92f1d880
-1, 121629, 10836, 0x214e88ad
-0, 126000, 161280, 0x16233978
-1, 127157, 10836, 0xde8bfc9a
-0, 132000, 161280, 0x19a27e69
-1, 132686, 10836, 0xb3cc4b6a
-0, 138000, 161280, 0x7b6ad73a
-1, 138214, 10836, 0x670bce40
-1, 143743, 10836, 0xc17d31b2
-0, 144000, 161280, 0xa7a674aa
-1, 149271, 10836, 0x7bcb9392
-0, 150000, 161280, 0x4e434abb
-1, 154800, 10836, 0x230e28c9
-0, 156000, 161280, 0xb96eea14
-1, 160329, 10836, 0x42df4204
-0, 162000, 161280, 0x1350188c
-1, 165857, 10836, 0xfa9134b9
-0, 168000, 161280, 0x79c6f305
-1, 171386, 10836, 0x418c1844
-0, 174000, 161280, 0xa9c7782d
-1, 176914, 10836, 0x93ba66b6
-0, 180000, 161280, 0x40a4f456
-1, 182443, 10836, 0x264a4ffa
-0, 186000, 161280, 0xaf291ed6
-1, 187971, 10836, 0x82c78a8e
-0, 192000, 161280, 0xab29b4e1
-1, 193500, 10836, 0x10d22fdc
-0, 198000, 161280, 0xbfcd2712
-1, 199029, 10836, 0x2d25906b
-0, 204000, 161280, 0xff22a0d7
-1, 204557, 10836, 0xa8a111fb
-0, 210000, 161280, 0xb0ae88a9
-1, 210086, 10836, 0xbd95df87
-1, 215614, 10836, 0x500ddec0
-0, 216000, 161280, 0x811d1259
-1, 221143, 10836, 0x95d9350b
-0, 222000, 161280, 0x593c39a1
-1, 226671, 10836, 0xfa54ea1f
-0, 228000, 161280, 0x5a5a97f8
-1, 232200, 10836, 0x51b2467e
-0, 234000, 161280, 0xa5639ecf
-1, 237729, 10836, 0x5d772af9
-0, 240000, 161280, 0x543920c6
-1, 243257, 10836, 0xae25dd8d
-0, 246000, 161280, 0xb41689ee
-1, 248786, 10836, 0xe4bd0cb0
-0, 252000, 161280, 0xc0ad83de
-1, 254314, 10836, 0xb33544f0
-0, 258000, 161280, 0x9e9e7456
-1, 259843, 10836, 0xd5658b12
-0, 264000, 161280, 0x777ccbfe
-1, 265371, 10836, 0xeff66e5d
-0, 270000, 161280, 0x9c2df916
-1, 270900, 10836, 0xb1fff6c5
-0, 276000, 161280, 0xe0c13b35
-1, 276429, 10836, 0x84db56b5
-1, 281957, 10836, 0x0230e3c9
-0, 282000, 161280, 0x39bfa5a5
-1, 287486, 10836, 0xe58a7faf
-0, 288000, 161280, 0x35dfb264
-1, 293014, 10836, 0xc4003e2a
-0, 294000, 161280, 0x43018613
-1, 298543, 10836, 0x6360cbbf
-0, 300000, 161280, 0x43584b8a
-1, 304071, 10836, 0xc29c2a05
-0, 306000, 161280, 0xa5cd230a
-1, 309600, 10836, 0xb294dd11
-0, 312000, 161280, 0x6fe2cfb3
-1, 315129, 10836, 0x4388b43b
-0, 318000, 161280, 0x88a7c0db
-1, 320657, 10836, 0xdd7be367
-0, 324000, 161280, 0x476f1cd2
-1, 326186, 10836, 0xb9f612a9
-0, 330000, 161280, 0x96401d49
-1, 331714, 10836, 0xb64a39fe
-0, 336000, 161280, 0x7d932919
-1, 337243, 10836, 0x6eba6594
-0, 342000, 161280, 0x06465481
-1, 342771, 10836, 0xb4af35c1
-0, 348000, 161280, 0x39631520
-1, 348300, 10836, 0x4e581c49
-1, 353829, 10836, 0xb062a19f
-0, 354000, 161280, 0xc3fff780
-1, 359357, 10836, 0x87cd6135
-0, 360000, 161280, 0xa81faf28
-1, 364886, 10836, 0x37bffbd6
-0, 366000, 161280, 0x7a311f4f
-1, 370414, 10836, 0x6c797900
-0, 372000, 161280, 0x52f9b931
-1, 375943, 10836, 0x1615df36
-0, 378000, 161280, 0x938cf016
-1, 381471, 10836, 0xb472d9e9
-0, 384000, 161280, 0xf8f6e19c
-1, 387000, 10836, 0xdfff626e
-0, 390000, 161280, 0xca90561b
-1, 392529, 10836, 0xffa6d771
-0, 396000, 161280, 0x8594d06b
-1, 398057, 10836, 0xa7f3cf96
-0, 402000, 161280, 0xea32bf3b
-1, 403586, 10836, 0xf556b50a
-0, 408000, 161280, 0x4646111a
-1, 409114, 10836, 0x99b86b39
-0, 414000, 161280, 0xee891162
-1, 414643, 10836, 0x886920d3
-0, 420000, 161280, 0xcfc32082
-1, 420171, 10836, 0xefb0305a
-1, 425700, 10836, 0x4ab7aa32
-0, 426000, 161280, 0x863c281a
-1, 431229, 10836, 0x7f106530
-0, 432000, 161280, 0x01b591aa
-1, 436757, 10836, 0x6461559a
-0, 438000, 161280, 0x211fbc62
-1, 442286, 10836, 0x25e3b12b
-0, 444000, 161280, 0xae2bafe2
-1, 447814, 10836, 0x32cfa3ba
-0, 450000, 161280, 0xcfe46dca
-1, 453343, 10836, 0x0bff78a4
-0, 456000, 161280, 0xcf8fe8a3
-1, 458871, 10836, 0xe4323d53
-0, 462000, 161280, 0x3f8474eb
-1, 464400, 10836, 0x70b35196
-0, 468000, 161280, 0x06da345a
-1, 469929, 10836, 0xf2b8b07f
-0, 474000, 161280, 0xbd4d3280
-1, 475457, 10836, 0x826cc972
-0, 480000, 161280, 0xb5e70fea
-1, 480986, 10836, 0x8a0fdce8
-0, 486000, 161280, 0x0c99c804
-1, 486514, 10836, 0xa072a503
-0, 492000, 161280, 0x19841ed4
-1, 492043, 10836, 0xd698d8e7
-1, 497571, 10836, 0xfe80e794
-0, 498000, 161280, 0xf81dea50
-1, 503100, 10836, 0xdd580a5a
-0, 504000, 161280, 0x7777d81c
-1, 508629, 10836, 0x121bc1bb
-0, 510000, 161280, 0x0497cfd8
-1, 514157, 10836, 0x8cebd7d9
-0, 516000, 161280, 0x50b6eb64
-1, 519686, 10836, 0x6eaef4d7
-0, 522000, 161280, 0x5071fc07
-1, 525214, 10836, 0x8f0b5d0b
-0, 528000, 161280, 0xbb7527fb
-1, 530743, 10836, 0x40ccf61f
-0, 534000, 161280, 0x13054f1f
-1, 536271, 10836, 0xb6db5f1d
-0, 540000, 161280, 0x4b78fb27
-1, 541800, 10836, 0xa089f250
-0, 546000, 161280, 0xf504968f
-1, 547329, 10836, 0xd3512f2b
-0, 552000, 161280, 0x555b10b7
-1, 552857, 10836, 0xfa127f74
-0, 558000, 161280, 0xcc0dde40
-1, 558386, 10836, 0xd6a60ead
-1, 563914, 10836, 0x00000000
-0, 564000, 161280, 0xcc0dde40
-1, 569443, 10836, 0x00000000
-0, 570000, 161280, 0x367f60c8
-1, 574971, 10836, 0x00000000
-0, 576000, 161280, 0x367f60c8
-1, 580500, 10836, 0x00000000
-0, 582000, 161280, 0x367f60c8
-1, 586029, 10836, 0x00000000
-0, 588000, 161280, 0x367f60c8
-1, 591557, 10836, 0x00000000
-0, 594000, 161280, 0x367f60c8
-1, 597086, 10836, 0x00000000
-0, 600000, 161280, 0x367f60c8
-1, 602614, 10836, 0x00000000
-0, 606000, 161280, 0x367f60c8
-1, 608143, 10836, 0x00000000
-0, 612000, 161280, 0x367f60c8
-1, 613671, 10836, 0x00000000
-0, 618000, 161280, 0x367f60c8
-1, 619200, 10836, 0x00000000
-0, 624000, 161280, 0x367f60c8
+#tb 0: 1/15
+#tb 1: 1/44100
+0, 0, 0, 1, 161280, 0x7041748d
+1, 0, 0, 2709, 10836, 0x2a531236
+1, 2709, 2709, 2709, 10836, 0xc58f45af
+0, 1, 1, 1, 161280, 0x3cc4dfb5
+1, 5418, 5418, 2709, 10836, 0x436cf135
+0, 2, 2, 1, 161280, 0xca3af22d
+1, 8127, 8127, 2709, 10836, 0x3a6022cc
+0, 3, 3, 1, 161280, 0x23ad1d85
+1, 10836, 10836, 2709, 10836, 0x57e83a4a
+0, 4, 4, 1, 161280, 0x9c9cf364
+1, 13545, 13545, 2709, 10836, 0xca4b3a1b
+0, 5, 5, 1, 161280, 0x1551d6a8
+1, 16254, 16254, 2709, 10836, 0xc3da7536
+0, 6, 6, 1, 161280, 0xc39f6b95
+1, 18963, 18963, 2709, 10836, 0x8c57d47b
+0, 7, 7, 1, 161280, 0x3b036dcc
+1, 21672, 21672, 2709, 10836, 0x9a79572b
+0, 8, 8, 1, 161280, 0xa6fac1db
+1, 24381, 24381, 2709, 10836, 0x7dbd6fd3
+0, 9, 9, 1, 161280, 0x67656b62
+1, 27090, 27090, 2709, 10836, 0x4454fdde
+0, 10, 10, 1, 161280, 0xb41f47d1
+1, 29799, 29799, 2709, 10836, 0x68aae686
+0, 11, 11, 1, 161280, 0xc207249e
+1, 32508, 32508, 2709, 10836, 0x61f2df35
+1, 35217, 35217, 2709, 10836, 0xe36883c6
+0, 12, 12, 1, 161280, 0xbee8f843
+1, 37926, 37926, 2709, 10836, 0xefa62217
+0, 13, 13, 1, 161280, 0x092acf46
+1, 40635, 40635, 2709, 10836, 0x63b92479
+0, 14, 14, 1, 161280, 0x8d9e2680
+1, 43344, 43344, 2709, 10836, 0xaf452579
+0, 15, 15, 1, 161280, 0x8becc20c
+1, 46053, 46053, 2709, 10836, 0xdbb10001
+0, 16, 16, 1, 161280, 0x655e444e
+1, 48762, 48762, 2709, 10836, 0xafb7f7a7
+0, 17, 17, 1, 161280, 0x5c112da0
+1, 51471, 51471, 2709, 10836, 0xd4b1e591
+0, 18, 18, 1, 161280, 0x232fa9eb
+1, 54180, 54180, 2709, 10836, 0x4d44b3bb
+0, 19, 19, 1, 161280, 0x9721745d
+1, 56889, 56889, 2709, 10836, 0xff2ea5b3
+0, 20, 20, 1, 161280, 0x92f1d880
+1, 59598, 59598, 2709, 10836, 0x214e88ad
+0, 21, 21, 1, 161280, 0x16233978
+1, 62307, 62307, 2709, 10836, 0xde8bfc9a
+0, 22, 22, 1, 161280, 0x19a27e69
+1, 65016, 65016, 2709, 10836, 0xb3cc4b6a
+0, 23, 23, 1, 161280, 0x7b6ad73a
+1, 67725, 67725, 2709, 10836, 0x670bce40
+1, 70434, 70434, 2709, 10836, 0xc17d31b2
+0, 24, 24, 1, 161280, 0xa7a674aa
+1, 73143, 73143, 2709, 10836, 0x7bcb9392
+0, 25, 25, 1, 161280, 0x4e434abb
+1, 75852, 75852, 2709, 10836, 0x230e28c9
+0, 26, 26, 1, 161280, 0xb96eea14
+1, 78561, 78561, 2709, 10836, 0x42df4204
+0, 27, 27, 1, 161280, 0x1350188c
+1, 81270, 81270, 2709, 10836, 0xfa9134b9
+0, 28, 28, 1, 161280, 0x79c6f305
+1, 83979, 83979, 2709, 10836, 0x418c1844
+0, 29, 29, 1, 161280, 0xa9c7782d
+1, 86688, 86688, 2709, 10836, 0x93ba66b6
+0, 30, 30, 1, 161280, 0x40a4f456
+1, 89397, 89397, 2709, 10836, 0x264a4ffa
+0, 31, 31, 1, 161280, 0xaf291ed6
+1, 92106, 92106, 2709, 10836, 0x82c78a8e
+0, 32, 32, 1, 161280, 0xab29b4e1
+1, 94815, 94815, 2709, 10836, 0x10d22fdc
+0, 33, 33, 1, 161280, 0xbfcd2712
+1, 97524, 97524, 2709, 10836, 0x2d25906b
+0, 34, 34, 1, 161280, 0xff22a0d7
+1, 100233, 100233, 2709, 10836, 0xa8a111fb
+0, 35, 35, 1, 161280, 0xb0ae88a9
+1, 102942, 102942, 2709, 10836, 0xbd95df87
+1, 105651, 105651, 2709, 10836, 0x500ddec0
+0, 36, 36, 1, 161280, 0x811d1259
+1, 108360, 108360, 2709, 10836, 0x95d9350b
+0, 37, 37, 1, 161280, 0x593c39a1
+1, 111069, 111069, 2709, 10836, 0xfa54ea1f
+0, 38, 38, 1, 161280, 0x5a5a97f8
+1, 113778, 113778, 2709, 10836, 0x51b2467e
+0, 39, 39, 1, 161280, 0xa5639ecf
+1, 116487, 116487, 2709, 10836, 0x5d772af9
+0, 40, 40, 1, 161280, 0x543920c6
+1, 119196, 119196, 2709, 10836, 0xae25dd8d
+0, 41, 41, 1, 161280, 0xb41689ee
+1, 121905, 121905, 2709, 10836, 0xe4bd0cb0
+0, 42, 42, 1, 161280, 0xc0ad83de
+1, 124614, 124614, 2709, 10836, 0xb33544f0
+0, 43, 43, 1, 161280, 0x9e9e7456
+1, 127323, 127323, 2709, 10836, 0xd5658b12
+0, 44, 44, 1, 161280, 0x777ccbfe
+1, 130032, 130032, 2709, 10836, 0xeff66e5d
+0, 45, 45, 1, 161280, 0x9c2df916
+1, 132741, 132741, 2709, 10836, 0xb1fff6c5
+0, 46, 46, 1, 161280, 0xe0c13b35
+1, 135450, 135450, 2709, 10836, 0x84db56b5
+1, 138159, 138159, 2709, 10836, 0x0230e3c9
+0, 47, 47, 1, 161280, 0x39bfa5a5
+1, 140868, 140868, 2709, 10836, 0xe58a7faf
+0, 48, 48, 1, 161280, 0x35dfb264
+1, 143577, 143577, 2709, 10836, 0xc4003e2a
+0, 49, 49, 1, 161280, 0x43018613
+1, 146286, 146286, 2709, 10836, 0x6360cbbf
+0, 50, 50, 1, 161280, 0x43584b8a
+1, 148995, 148995, 2709, 10836, 0xc29c2a05
+0, 51, 51, 1, 161280, 0xa5cd230a
+1, 151704, 151704, 2709, 10836, 0xb294dd11
+0, 52, 52, 1, 161280, 0x6fe2cfb3
+1, 154413, 154413, 2709, 10836, 0x4388b43b
+0, 53, 53, 1, 161280, 0x88a7c0db
+1, 157122, 157122, 2709, 10836, 0xdd7be367
+0, 54, 54, 1, 161280, 0x476f1cd2
+1, 159831, 159831, 2709, 10836, 0xb9f612a9
+0, 55, 55, 1, 161280, 0x96401d49
+1, 162540, 162540, 2709, 10836, 0xb64a39fe
+0, 56, 56, 1, 161280, 0x7d932919
+1, 165249, 165249, 2709, 10836, 0x6eba6594
+0, 57, 57, 1, 161280, 0x06465481
+1, 167958, 167958, 2709, 10836, 0xb4af35c1
+0, 58, 58, 1, 161280, 0x39631520
+1, 170667, 170667, 2709, 10836, 0x4e581c49
+1, 173376, 173376, 2709, 10836, 0xb062a19f
+0, 59, 59, 1, 161280, 0xc3fff780
+1, 176085, 176085, 2709, 10836, 0x87cd6135
+0, 60, 60, 1, 161280, 0xa81faf28
+1, 178794, 178794, 2709, 10836, 0x37bffbd6
+0, 61, 61, 1, 161280, 0x7a311f4f
+1, 181503, 181503, 2709, 10836, 0x6c797900
+0, 62, 62, 1, 161280, 0x52f9b931
+1, 184212, 184212, 2709, 10836, 0x1615df36
+0, 63, 63, 1, 161280, 0x938cf016
+1, 186921, 186921, 2709, 10836, 0xb472d9e9
+0, 64, 64, 1, 161280, 0xf8f6e19c
+1, 189630, 189630, 2709, 10836, 0xdfff626e
+0, 65, 65, 1, 161280, 0xca90561b
+1, 192339, 192339, 2709, 10836, 0xffa6d771
+0, 66, 66, 1, 161280, 0x8594d06b
+1, 195048, 195048, 2709, 10836, 0xa7f3cf96
+0, 67, 67, 1, 161280, 0xea32bf3b
+1, 197757, 197757, 2709, 10836, 0xf556b50a
+0, 68, 68, 1, 161280, 0x4646111a
+1, 200466, 200466, 2709, 10836, 0x99b86b39
+0, 69, 69, 1, 161280, 0xee891162
+1, 203175, 203175, 2709, 10836, 0x886920d3
+0, 70, 70, 1, 161280, 0xcfc32082
+1, 205884, 205884, 2709, 10836, 0xefb0305a
+1, 208593, 208593, 2709, 10836, 0x4ab7aa32
+0, 71, 71, 1, 161280, 0x863c281a
+1, 211302, 211302, 2709, 10836, 0x7f106530
+0, 72, 72, 1, 161280, 0x01b591aa
+1, 214011, 214011, 2709, 10836, 0x6461559a
+0, 73, 73, 1, 161280, 0x211fbc62
+1, 216720, 216720, 2709, 10836, 0x25e3b12b
+0, 74, 74, 1, 161280, 0xae2bafe2
+1, 219429, 219429, 2709, 10836, 0x32cfa3ba
+0, 75, 75, 1, 161280, 0xcfe46dca
+1, 222138, 222138, 2709, 10836, 0x0bff78a4
+0, 76, 76, 1, 161280, 0xcf8fe8a3
+1, 224847, 224847, 2709, 10836, 0xe4323d53
+0, 77, 77, 1, 161280, 0x3f8474eb
+1, 227556, 227556, 2709, 10836, 0x70b35196
+0, 78, 78, 1, 161280, 0x06da345a
+1, 230265, 230265, 2709, 10836, 0xf2b8b07f
+0, 79, 79, 1, 161280, 0xbd4d3280
+1, 232974, 232974, 2709, 10836, 0x826cc972
+0, 80, 80, 1, 161280, 0xb5e70fea
+1, 235683, 235683, 2709, 10836, 0x8a0fdce8
+0, 81, 81, 1, 161280, 0x0c99c804
+1, 238392, 238392, 2709, 10836, 0xa072a503
+0, 82, 82, 1, 161280, 0x19841ed4
+1, 241101, 241101, 2709, 10836, 0xd698d8e7
+1, 243810, 243810, 2709, 10836, 0xfe80e794
+0, 83, 83, 1, 161280, 0xf81dea50
+1, 246519, 246519, 2709, 10836, 0xdd580a5a
+0, 84, 84, 1, 161280, 0x7777d81c
+1, 249228, 249228, 2709, 10836, 0x121bc1bb
+0, 85, 85, 1, 161280, 0x0497cfd8
+1, 251937, 251937, 2709, 10836, 0x8cebd7d9
+0, 86, 86, 1, 161280, 0x50b6eb64
+1, 254646, 254646, 2709, 10836, 0x6eaef4d7
+0, 87, 87, 1, 161280, 0x5071fc07
+1, 257355, 257355, 2709, 10836, 0x8f0b5d0b
+0, 88, 88, 1, 161280, 0xbb7527fb
+1, 260064, 260064, 2709, 10836, 0x40ccf61f
+0, 89, 89, 1, 161280, 0x13054f1f
+1, 262773, 262773, 2709, 10836, 0xb6db5f1d
+0, 90, 90, 1, 161280, 0x4b78fb27
+1, 265482, 265482, 2709, 10836, 0xa089f250
+0, 91, 91, 1, 161280, 0xf504968f
+1, 268191, 268191, 2709, 10836, 0xd3512f2b
+0, 92, 92, 1, 161280, 0x555b10b7
+1, 270900, 270900, 2709, 10836, 0xfa127f74
+0, 93, 93, 1, 161280, 0xcc0dde40
+1, 273609, 273609, 2709, 10836, 0xd6a60ead
+1, 276318, 276318, 2709, 10836, 0x00000000
+0, 94, 94, 1, 161280, 0xcc0dde40
+1, 279027, 279027, 2709, 10836, 0x00000000
+0, 95, 95, 1, 161280, 0x367f60c8
+1, 281736, 281736, 2709, 10836, 0x00000000
+0, 96, 96, 1, 161280, 0x367f60c8
+1, 284445, 284445, 2709, 10836, 0x00000000
+0, 97, 97, 1, 161280, 0x367f60c8
+1, 287154, 287154, 2709, 10836, 0x00000000
+0, 98, 98, 1, 161280, 0x367f60c8
+1, 289863, 289863, 2709, 10836, 0x00000000
+0, 99, 99, 1, 161280, 0x367f60c8
+1, 292572, 292572, 2709, 10836, 0x00000000
+0, 100, 100, 1, 161280, 0x367f60c8
+1, 295281, 295281, 2709, 10836, 0x00000000
+0, 101, 101, 1, 161280, 0x367f60c8
+1, 297990, 297990, 2709, 10836, 0x00000000
+0, 102, 102, 1, 161280, 0x367f60c8
+1, 300699, 300699, 2709, 10836, 0x00000000
+0, 103, 103, 1, 161280, 0x367f60c8
+1, 303408, 303408, 2709, 10836, 0x00000000
+0, 104, 104, 1, 161280, 0x367f60c8
diff --git a/tests/ref/fate/truemotion1-24 b/tests/ref/fate/truemotion1-24
index 054f6b38e8..ad0fed6ebe 100644
--- a/tests/ref/fate/truemotion1-24
+++ b/tests/ref/fate/truemotion1-24
@@ -1,43 +1,45 @@
-0, 0, 69120, 0x68beb30f
-1, 0, 10836, 0xedecb6a7
-1, 5529, 10836, 0x8098a323
-0, 6000, 69120, 0x3976f5cf
-1, 11057, 10836, 0xcfa1112e
-0, 12000, 69120, 0xf815bc3c
-1, 16586, 10836, 0xe241ede4
-0, 18000, 69120, 0xa7cc0ae6
-1, 22114, 10836, 0xddf254bb
-0, 24000, 69120, 0xd85ac282
-1, 27643, 10836, 0xa16c8507
-0, 30000, 69120, 0xf7fd7edb
-1, 33171, 10836, 0xbe211f93
-0, 36000, 69120, 0x433bb6f6
-1, 38700, 10836, 0x26c7283d
-0, 42000, 69120, 0xdbac8bee
-1, 44229, 10836, 0x4d18be56
-0, 48000, 69120, 0x88e2a799
-1, 49757, 10836, 0x57b9af6f
-0, 54000, 69120, 0x49617b26
-1, 55286, 10836, 0xd5864280
-0, 60000, 69120, 0xeb44ca01
-1, 60814, 10836, 0xd582b451
-0, 66000, 69120, 0x6fea37e8
-1, 66343, 10836, 0xec13731d
-1, 71871, 10836, 0xe3d4fbb8
-0, 72000, 69120, 0xf55d74c7
-1, 77400, 10836, 0xcbb54d18
-0, 78000, 69120, 0xb5082ca7
-1, 82929, 10836, 0xff7e7133
-0, 84000, 69120, 0x5876d758
-1, 88457, 10836, 0xcc28b1a7
-1, 93986, 10836, 0xbf9e07a5
-1, 99514, 10836, 0x16408f38
-1, 105043, 10836, 0x2b000c9f
-1, 110571, 10836, 0x0ccd9811
-1, 116100, 10836, 0xf9575d48
-1, 121629, 10836, 0x1ee68190
-1, 127157, 10836, 0xde435373
-1, 132686, 10836, 0xd83be17a
-1, 138214, 10836, 0x9a7f0bbe
-1, 143743, 10836, 0x8709e4d3
-1, 149271, 10836, 0xde1879cb
+#tb 0: 1/15
+#tb 1: 1/44100
+0, 0, 0, 1, 69120, 0x68beb30f
+1, 0, 0, 2709, 10836, 0xedecb6a7
+1, 2709, 2709, 2709, 10836, 0x8098a323
+0, 1, 1, 1, 69120, 0x3976f5cf
+1, 5418, 5418, 2709, 10836, 0xcfa1112e
+0, 2, 2, 1, 69120, 0xf815bc3c
+1, 8127, 8127, 2709, 10836, 0xe241ede4
+0, 3, 3, 1, 69120, 0xa7cc0ae6
+1, 10836, 10836, 2709, 10836, 0xddf254bb
+0, 4, 4, 1, 69120, 0xd85ac282
+1, 13545, 13545, 2709, 10836, 0xa16c8507
+0, 5, 5, 1, 69120, 0xf7fd7edb
+1, 16254, 16254, 2709, 10836, 0xbe211f93
+0, 6, 6, 1, 69120, 0x433bb6f6
+1, 18963, 18963, 2709, 10836, 0x26c7283d
+0, 7, 7, 1, 69120, 0xdbac8bee
+1, 21672, 21672, 2709, 10836, 0x4d18be56
+0, 8, 8, 1, 69120, 0x88e2a799
+1, 24381, 24381, 2709, 10836, 0x57b9af6f
+0, 9, 9, 1, 69120, 0x49617b26
+1, 27090, 27090, 2709, 10836, 0xd5864280
+0, 10, 10, 1, 69120, 0xeb44ca01
+1, 29799, 29799, 2709, 10836, 0xd582b451
+0, 11, 11, 1, 69120, 0x6fea37e8
+1, 32508, 32508, 2709, 10836, 0xec13731d
+1, 35217, 35217, 2709, 10836, 0xe3d4fbb8
+0, 12, 12, 1, 69120, 0xf55d74c7
+1, 37926, 37926, 2709, 10836, 0xcbb54d18
+0, 13, 13, 1, 69120, 0xb5082ca7
+1, 40635, 40635, 2709, 10836, 0xff7e7133
+0, 14, 14, 1, 69120, 0x5876d758
+1, 43344, 43344, 2709, 10836, 0xcc28b1a7
+1, 46053, 46053, 2709, 10836, 0xbf9e07a5
+1, 48762, 48762, 2709, 10836, 0x16408f38
+1, 51471, 51471, 2709, 10836, 0x2b000c9f
+1, 54180, 54180, 2709, 10836, 0x0ccd9811
+1, 56889, 56889, 2709, 10836, 0xf9575d48
+1, 59598, 59598, 2709, 10836, 0x1ee68190
+1, 62307, 62307, 2709, 10836, 0xde435373
+1, 65016, 65016, 2709, 10836, 0xd83be17a
+1, 67725, 67725, 2709, 10836, 0x9a7f0bbe
+1, 70434, 70434, 2709, 10836, 0x8709e4d3
+1, 73143, 73143, 2709, 10836, 0xde1879cb
diff --git a/tests/ref/fate/truemotion2 b/tests/ref/fate/truemotion2
index e7c4ee47f4..c263ba4580 100644
--- a/tests/ref/fate/truemotion2
+++ b/tests/ref/fate/truemotion2
@@ -1,30 +1,31 @@
-0, 0, 230400, 0x135cb509
-0, 6000, 230400, 0x919a1ab7
-0, 12000, 230400, 0x0af8722b
-0, 18000, 230400, 0xc9616809
-0, 24000, 230400, 0xe16ecaf7
-0, 30000, 230400, 0xa86f8d1b
-0, 36000, 230400, 0xd351b5a4
-0, 42000, 230400, 0xd112b5b7
-0, 48000, 230400, 0xc9c3c9b1
-0, 54000, 230400, 0x4f91e572
-0, 60000, 230400, 0xb1d8c4d3
-0, 66000, 230400, 0x34de10c1
-0, 72000, 230400, 0xbd4f3b29
-0, 78000, 230400, 0xfeaf1477
-0, 84000, 230400, 0x718ffa17
-0, 90000, 230400, 0x23b46ef3
-0, 96000, 230400, 0x6346d9b8
-0, 102000, 230400, 0xdb66bf57
-0, 108000, 230400, 0xeb74a2ff
-0, 114000, 230400, 0xe0750470
-0, 120000, 230400, 0x645eb109
-0, 126000, 230400, 0xbb96489a
-0, 132000, 230400, 0x58a70e35
-0, 138000, 230400, 0xc7563441
-0, 144000, 230400, 0x6098f07e
-0, 150000, 230400, 0x579ece15
-0, 156000, 230400, 0xe1ca8d03
-0, 162000, 230400, 0x8928cf34
-0, 168000, 230400, 0xf621620e
-0, 174000, 230400, 0x98a344ea
+#tb 0: 1/15
+0, 0, 0, 1, 230400, 0x135cb509
+0, 1, 1, 1, 230400, 0x919a1ab7
+0, 2, 2, 1, 230400, 0x0af8722b
+0, 3, 3, 1, 230400, 0xc9616809
+0, 4, 4, 1, 230400, 0xe16ecaf7
+0, 5, 5, 1, 230400, 0xa86f8d1b
+0, 6, 6, 1, 230400, 0xd351b5a4
+0, 7, 7, 1, 230400, 0xd112b5b7
+0, 8, 8, 1, 230400, 0xc9c3c9b1
+0, 9, 9, 1, 230400, 0x4f91e572
+0, 10, 10, 1, 230400, 0xb1d8c4d3
+0, 11, 11, 1, 230400, 0x34de10c1
+0, 12, 12, 1, 230400, 0xbd4f3b29
+0, 13, 13, 1, 230400, 0xfeaf1477
+0, 14, 14, 1, 230400, 0x718ffa17
+0, 15, 15, 1, 230400, 0x23b46ef3
+0, 16, 16, 1, 230400, 0x6346d9b8
+0, 17, 17, 1, 230400, 0xdb66bf57
+0, 18, 18, 1, 230400, 0xeb74a2ff
+0, 19, 19, 1, 230400, 0xe0750470
+0, 20, 20, 1, 230400, 0x645eb109
+0, 21, 21, 1, 230400, 0xbb96489a
+0, 22, 22, 1, 230400, 0x58a70e35
+0, 23, 23, 1, 230400, 0xc7563441
+0, 24, 24, 1, 230400, 0x6098f07e
+0, 25, 25, 1, 230400, 0x579ece15
+0, 26, 26, 1, 230400, 0xe1ca8d03
+0, 27, 27, 1, 230400, 0x8928cf34
+0, 28, 28, 1, 230400, 0xf621620e
+0, 29, 29, 1, 230400, 0x98a344ea
diff --git a/tests/ref/fate/tscc-15bit b/tests/ref/fate/tscc-15bit
index bc55f0fc50..372b165850 100644
--- a/tests/ref/fate/tscc-15bit
+++ b/tests/ref/fate/tscc-15bit
@@ -1,240 +1,242 @@
-0, 0, 657600, 0xaf456809
-1, 0, 22050, 0x1740aaec
-0, 6000, 657600, 0xaf456809
-0, 12000, 657600, 0xaf456809
-0, 18000, 657600, 0x2dbe6889
-0, 24000, 657600, 0x2dbe6889
-0, 30000, 657600, 0x2dbe6889
-0, 36000, 657600, 0x2dbe6889
-0, 42000, 657600, 0x2dbe6889
-0, 48000, 657600, 0x2dbe6889
-0, 54000, 657600, 0x2dbe6889
-0, 60000, 657600, 0x2dbe6889
-0, 66000, 657600, 0x2dbe6889
-0, 72000, 657600, 0x2dbe6889
-0, 78000, 657600, 0x2dbe6889
-0, 84000, 657600, 0x2dbe6889
-0, 90000, 657600, 0x2dbe6889
-1, 90000, 22050, 0x75ed6086
-0, 96000, 657600, 0x2dbe6889
-0, 102000, 657600, 0x2dbe6889
-0, 108000, 657600, 0x2dbe6889
-0, 114000, 657600, 0x2dbe6889
-0, 120000, 657600, 0x2dbe6889
-0, 126000, 657600, 0x92796e59
-0, 132000, 657600, 0x92796e59
-0, 138000, 657600, 0x92796e59
-0, 144000, 657600, 0x64cb6889
-0, 150000, 657600, 0x64cb6889
-0, 156000, 657600, 0x64cb6889
-0, 162000, 657600, 0x64cb6889
-0, 168000, 657600, 0x64cb6889
-0, 174000, 657600, 0x64cb6889
-0, 180000, 657600, 0x42036b71
-1, 180000, 22050, 0xca52a4e9
-0, 186000, 657600, 0x42036b71
-0, 192000, 657600, 0x42036b71
-0, 198000, 657600, 0xc40a6889
-0, 204000, 657600, 0xc40a6889
-0, 210000, 657600, 0xc40a6889
-0, 216000, 657600, 0xaa6f7429
-0, 222000, 657600, 0xaa6f7429
-0, 228000, 657600, 0xaa6f7429
-0, 234000, 657600, 0x854172d9
-0, 240000, 657600, 0x854172d9
-0, 246000, 657600, 0x854172d9
-0, 252000, 657600, 0x22d10de0
-0, 258000, 657600, 0xa75f0d60
-0, 264000, 657600, 0x7a440be0
-0, 270000, 657600, 0x40095d50
-1, 270000, 22050, 0xb306d419
-0, 276000, 657600, 0x40095d50
-0, 282000, 657600, 0x64766320
-0, 288000, 657600, 0x64766320
-0, 294000, 657600, 0x64766320
-0, 300000, 657600, 0x64766320
-0, 306000, 657600, 0x64766320
-0, 312000, 657600, 0x64766320
-0, 318000, 657600, 0x64766320
-0, 324000, 657600, 0x64766320
-0, 330000, 657600, 0x64766320
-0, 336000, 657600, 0x64766320
-0, 342000, 657600, 0xf51adc49
-0, 348000, 657600, 0xf51adc49
-0, 354000, 657600, 0xf51adc49
-0, 360000, 657600, 0xdd47af59
-1, 360000, 22050, 0x8cbb9625
-0, 366000, 657600, 0xdd47af59
-0, 372000, 657600, 0xffa8acf1
-0, 378000, 657600, 0x5994b059
-0, 384000, 657600, 0x5994b059
-0, 390000, 657600, 0x5994b059
-0, 396000, 657600, 0x03ffae71
-0, 402000, 657600, 0x03ffae71
-0, 408000, 657600, 0x03ffae71
-0, 414000, 657600, 0xe33ab89e
-0, 420000, 657600, 0xe33ab89e
-0, 426000, 657600, 0xe33ab89e
-0, 432000, 657600, 0xbe37b549
-0, 438000, 657600, 0xbe37b549
-0, 444000, 657600, 0x1d395bf9
-0, 450000, 657600, 0x1d395bf9
-1, 450000, 22050, 0x34a11f66
-0, 456000, 657600, 0x1d395bf9
-0, 462000, 657600, 0x1d395bf9
-0, 468000, 657600, 0x2ec36f37
-0, 474000, 657600, 0x2ec36f37
-0, 480000, 657600, 0xb04a6eb7
-0, 486000, 657600, 0x66610458
-0, 492000, 657600, 0x66610458
-0, 498000, 657600, 0xaf8901f0
-0, 504000, 657600, 0x3ae41c48
-0, 510000, 657600, 0x5b870b70
-0, 516000, 657600, 0x11490c60
-0, 522000, 657600, 0x70064801
-0, 528000, 657600, 0x80d54519
-0, 534000, 657600, 0xe8c942b1
-0, 540000, 657600, 0x830d8c24
-1, 540000, 22050, 0x1ae81230
-0, 546000, 657600, 0x830d8c24
-0, 552000, 657600, 0x830d8c24
-0, 558000, 657600, 0xf3c4707c
-0, 564000, 657600, 0x6ace707c
-0, 570000, 657600, 0x6ace707c
-0, 576000, 657600, 0x6ace707c
-0, 582000, 657600, 0x6ace707c
-0, 588000, 657600, 0x6ace707c
-0, 594000, 657600, 0x5f461aae
-0, 600000, 657600, 0x5f461aae
-0, 606000, 657600, 0x221ceecf
-0, 612000, 657600, 0x221ceecf
-0, 618000, 657600, 0x221ceecf
-0, 624000, 657600, 0x221ceecf
-0, 630000, 657600, 0x221ceecf
-1, 630000, 22050, 0x1217eeba
-0, 636000, 657600, 0x221ceecf
-0, 642000, 657600, 0x221ceecf
-0, 648000, 657600, 0x3bf6f39f
-0, 654000, 657600, 0x3bf6f39f
-0, 660000, 657600, 0x3bf6f39f
-0, 666000, 657600, 0xc2caeecf
-0, 672000, 657600, 0xc2caeecf
-0, 678000, 657600, 0xc2caeecf
-0, 684000, 657600, 0xc316d63e
-0, 690000, 657600, 0xc316d63e
-0, 696000, 657600, 0xc316d63e
-0, 702000, 657600, 0x41f6218d
-0, 708000, 657600, 0x41f6218d
-0, 714000, 657600, 0x41f6218d
-0, 720000, 657600, 0xff43ec36
-1, 720000, 22050, 0x50e70baa
-0, 726000, 657600, 0x0b10eb16
-0, 732000, 657600, 0x0b10eb16
-0, 738000, 657600, 0xbdf41aa5
-0, 744000, 657600, 0xbdf41aa5
-0, 750000, 657600, 0xbdf41aa5
-0, 756000, 657600, 0xd502ca06
-0, 762000, 657600, 0xd502ca06
-0, 768000, 657600, 0xd502ca06
-0, 774000, 657600, 0x8446f89e
-0, 780000, 657600, 0x8446f89e
-0, 786000, 657600, 0x8446f89e
-0, 792000, 657600, 0x3d4ccf06
-0, 798000, 657600, 0x0897d1de
-0, 804000, 657600, 0x0897d1de
-0, 810000, 657600, 0x3e27e01e
-1, 810000, 22050, 0xb19e89c0
-0, 816000, 657600, 0x3e27e01e
-0, 822000, 657600, 0x3e27e01e
-0, 828000, 657600, 0x3e27e01e
-0, 834000, 657600, 0x3e27e01e
-0, 840000, 657600, 0x3e27e01e
-0, 846000, 657600, 0xe51078a8
-0, 852000, 657600, 0xe51078a8
-0, 858000, 657600, 0xe9967a40
-0, 864000, 657600, 0xe9967a40
-0, 870000, 657600, 0xe9967a40
-0, 876000, 657600, 0xe9967a40
-0, 882000, 657600, 0xe9967a40
-0, 888000, 657600, 0xe9967a40
-0, 894000, 657600, 0xe9967a40
-0, 900000, 657600, 0x726cb6b8
-1, 900000, 22050, 0x78526696
-0, 906000, 657600, 0x2960b6e8
-0, 912000, 657600, 0x2960b6e8
-0, 918000, 657600, 0x1637d6c8
-0, 924000, 657600, 0x6f2fd9b0
-0, 930000, 657600, 0x27a7d6c8
-0, 936000, 657600, 0xe855d6c8
-0, 942000, 657600, 0xe855d6c8
-0, 948000, 657600, 0xe855d6c8
-0, 954000, 657600, 0x1a8ad6c8
-0, 960000, 657600, 0x9c11d648
-0, 966000, 657600, 0x6136d648
-0, 972000, 657600, 0xdfa0d6c8
-0, 978000, 657600, 0xdfa0d6c8
-0, 984000, 657600, 0xdfa0d6c8
-0, 990000, 657600, 0xdfa0d6c8
-1, 990000, 22050, 0x48e3bb21
-0, 996000, 657600, 0xdfa0d6c8
-0, 1002000, 657600, 0xdfa0d6c8
-0, 1008000, 657600, 0xdfa0d6c8
-0, 1014000, 657600, 0xdfa0d6c8
-0, 1020000, 657600, 0xdfa0d6c8
-0, 1026000, 657600, 0x125cd9b0
-0, 1032000, 657600, 0x125cd9b0
-0, 1038000, 657600, 0x8a7ed6c8
-0, 1044000, 657600, 0x09a6d9b0
-0, 1050000, 657600, 0x09a6d9b0
-0, 1056000, 657600, 0x09a6d9b0
-0, 1062000, 657600, 0x85e87a68
-0, 1068000, 657600, 0x85e87a68
-0, 1074000, 657600, 0x85e87a68
-0, 1080000, 657600, 0xb0a141a8
-1, 1080000, 22050, 0xbc32204a
-0, 1086000, 657600, 0xb0a141a8
-0, 1092000, 657600, 0xf3333bd8
-0, 1098000, 657600, 0xea090688
-0, 1104000, 657600, 0xa017fe41
-0, 1110000, 657600, 0xa017fe41
-0, 1116000, 657600, 0x32e93bd8
-0, 1122000, 657600, 0x7fe640c0
-0, 1128000, 657600, 0x7fe640c0
-0, 1134000, 657600, 0xcd8995b2
-0, 1140000, 657600, 0x84278a92
-0, 1146000, 657600, 0x84278a92
-0, 1152000, 657600, 0xf1d2874a
-0, 1158000, 657600, 0xf1d2874a
-0, 1164000, 657600, 0xf1d2874a
-0, 1170000, 657600, 0xa58d6742
-1, 1170000, 22050, 0xdf6f1e46
-0, 1176000, 657600, 0xa58d6742
-0, 1182000, 657600, 0xa58d6742
-0, 1188000, 657600, 0xb0cd11bb
-0, 1194000, 657600, 0xb0cd11bb
-0, 1200000, 657600, 0xc55610bb
-0, 1206000, 657600, 0x4ee1168b
-0, 1212000, 657600, 0x61c513a3
-0, 1218000, 657600, 0xd26410bb
-0, 1224000, 657600, 0xe7c410bb
-0, 1230000, 657600, 0x444a0dd3
-0, 1236000, 657600, 0x444a0dd3
-0, 1242000, 657600, 0x97ac10bb
-0, 1248000, 657600, 0x97ac10bb
-0, 1254000, 657600, 0xe8b30dd3
-0, 1260000, 657600, 0x3d0c10bb
-1, 1260000, 22050, 0x4c91da9d
-0, 1266000, 657600, 0x8d2b0dd3
-0, 1272000, 657600, 0x8d2b0dd3
-0, 1278000, 657600, 0xa5760dd3
-0, 1284000, 657600, 0xa5760dd3
-0, 1290000, 657600, 0xa5760dd3
-0, 1296000, 657600, 0x31a30dd3
-0, 1302000, 657600, 0x31a30dd3
-0, 1308000, 657600, 0x31a30dd3
-0, 1314000, 657600, 0x31a30dd3
-0, 1320000, 657600, 0x31a30dd3
-0, 1326000, 657600, 0x31a30dd3
-0, 1332000, 657600, 0x31a30dd3
-0, 1338000, 657600, 0x31a30dd3
-0, 1344000, 657600, 0x31a30dd3
+#tb 0: 1/15
+#tb 1: 1/11025
+0, 0, 0, 1, 657600, 0xaf456809
+1, 0, 0, 11025, 22050, 0x1740aaec
+0, 1, 1, 1, 657600, 0xaf456809
+0, 2, 2, 1, 657600, 0xaf456809
+0, 3, 3, 1, 657600, 0x2dbe6889
+0, 4, 4, 1, 657600, 0x2dbe6889
+0, 5, 5, 1, 657600, 0x2dbe6889
+0, 6, 6, 1, 657600, 0x2dbe6889
+0, 7, 7, 1, 657600, 0x2dbe6889
+0, 8, 8, 1, 657600, 0x2dbe6889
+0, 9, 9, 1, 657600, 0x2dbe6889
+0, 10, 10, 1, 657600, 0x2dbe6889
+0, 11, 11, 1, 657600, 0x2dbe6889
+0, 12, 12, 1, 657600, 0x2dbe6889
+0, 13, 13, 1, 657600, 0x2dbe6889
+0, 14, 14, 1, 657600, 0x2dbe6889
+0, 15, 15, 1, 657600, 0x2dbe6889
+1, 11025, 11025, 11025, 22050, 0x75ed6086
+0, 16, 16, 1, 657600, 0x2dbe6889
+0, 17, 17, 1, 657600, 0x2dbe6889
+0, 18, 18, 1, 657600, 0x2dbe6889
+0, 19, 19, 1, 657600, 0x2dbe6889
+0, 20, 20, 1, 657600, 0x2dbe6889
+0, 21, 21, 1, 657600, 0x92796e59
+0, 22, 22, 1, 657600, 0x92796e59
+0, 23, 23, 1, 657600, 0x92796e59
+0, 24, 24, 1, 657600, 0x64cb6889
+0, 25, 25, 1, 657600, 0x64cb6889
+0, 26, 26, 1, 657600, 0x64cb6889
+0, 27, 27, 1, 657600, 0x64cb6889
+0, 28, 28, 1, 657600, 0x64cb6889
+0, 29, 29, 1, 657600, 0x64cb6889
+0, 30, 30, 1, 657600, 0x42036b71
+1, 22050, 22050, 11025, 22050, 0xca52a4e9
+0, 31, 31, 1, 657600, 0x42036b71
+0, 32, 32, 1, 657600, 0x42036b71
+0, 33, 33, 1, 657600, 0xc40a6889
+0, 34, 34, 1, 657600, 0xc40a6889
+0, 35, 35, 1, 657600, 0xc40a6889
+0, 36, 36, 1, 657600, 0xaa6f7429
+0, 37, 37, 1, 657600, 0xaa6f7429
+0, 38, 38, 1, 657600, 0xaa6f7429
+0, 39, 39, 1, 657600, 0x854172d9
+0, 40, 40, 1, 657600, 0x854172d9
+0, 41, 41, 1, 657600, 0x854172d9
+0, 42, 42, 1, 657600, 0x22d10de0
+0, 43, 43, 1, 657600, 0xa75f0d60
+0, 44, 44, 1, 657600, 0x7a440be0
+0, 45, 45, 1, 657600, 0x40095d50
+1, 33075, 33075, 11025, 22050, 0xb306d419
+0, 46, 46, 1, 657600, 0x40095d50
+0, 47, 47, 1, 657600, 0x64766320
+0, 48, 48, 1, 657600, 0x64766320
+0, 49, 49, 1, 657600, 0x64766320
+0, 50, 50, 1, 657600, 0x64766320
+0, 51, 51, 1, 657600, 0x64766320
+0, 52, 52, 1, 657600, 0x64766320
+0, 53, 53, 1, 657600, 0x64766320
+0, 54, 54, 1, 657600, 0x64766320
+0, 55, 55, 1, 657600, 0x64766320
+0, 56, 56, 1, 657600, 0x64766320
+0, 57, 57, 1, 657600, 0xf51adc49
+0, 58, 58, 1, 657600, 0xf51adc49
+0, 59, 59, 1, 657600, 0xf51adc49
+0, 60, 60, 1, 657600, 0xdd47af59
+1, 44100, 44100, 11025, 22050, 0x8cbb9625
+0, 61, 61, 1, 657600, 0xdd47af59
+0, 62, 62, 1, 657600, 0xffa8acf1
+0, 63, 63, 1, 657600, 0x5994b059
+0, 64, 64, 1, 657600, 0x5994b059
+0, 65, 65, 1, 657600, 0x5994b059
+0, 66, 66, 1, 657600, 0x03ffae71
+0, 67, 67, 1, 657600, 0x03ffae71
+0, 68, 68, 1, 657600, 0x03ffae71
+0, 69, 69, 1, 657600, 0xe33ab89e
+0, 70, 70, 1, 657600, 0xe33ab89e
+0, 71, 71, 1, 657600, 0xe33ab89e
+0, 72, 72, 1, 657600, 0xbe37b549
+0, 73, 73, 1, 657600, 0xbe37b549
+0, 74, 74, 1, 657600, 0x1d395bf9
+0, 75, 75, 1, 657600, 0x1d395bf9
+1, 55125, 55125, 11025, 22050, 0x34a11f66
+0, 76, 76, 1, 657600, 0x1d395bf9
+0, 77, 77, 1, 657600, 0x1d395bf9
+0, 78, 78, 1, 657600, 0x2ec36f37
+0, 79, 79, 1, 657600, 0x2ec36f37
+0, 80, 80, 1, 657600, 0xb04a6eb7
+0, 81, 81, 1, 657600, 0x66610458
+0, 82, 82, 1, 657600, 0x66610458
+0, 83, 83, 1, 657600, 0xaf8901f0
+0, 84, 84, 1, 657600, 0x3ae41c48
+0, 85, 85, 1, 657600, 0x5b870b70
+0, 86, 86, 1, 657600, 0x11490c60
+0, 87, 87, 1, 657600, 0x70064801
+0, 88, 88, 1, 657600, 0x80d54519
+0, 89, 89, 1, 657600, 0xe8c942b1
+0, 90, 90, 1, 657600, 0x830d8c24
+1, 66150, 66150, 11025, 22050, 0x1ae81230
+0, 91, 91, 1, 657600, 0x830d8c24
+0, 92, 92, 1, 657600, 0x830d8c24
+0, 93, 93, 1, 657600, 0xf3c4707c
+0, 94, 94, 1, 657600, 0x6ace707c
+0, 95, 95, 1, 657600, 0x6ace707c
+0, 96, 96, 1, 657600, 0x6ace707c
+0, 97, 97, 1, 657600, 0x6ace707c
+0, 98, 98, 1, 657600, 0x6ace707c
+0, 99, 99, 1, 657600, 0x5f461aae
+0, 100, 100, 1, 657600, 0x5f461aae
+0, 101, 101, 1, 657600, 0x221ceecf
+0, 102, 102, 1, 657600, 0x221ceecf
+0, 103, 103, 1, 657600, 0x221ceecf
+0, 104, 104, 1, 657600, 0x221ceecf
+0, 105, 105, 1, 657600, 0x221ceecf
+1, 77175, 77175, 11025, 22050, 0x1217eeba
+0, 106, 106, 1, 657600, 0x221ceecf
+0, 107, 107, 1, 657600, 0x221ceecf
+0, 108, 108, 1, 657600, 0x3bf6f39f
+0, 109, 109, 1, 657600, 0x3bf6f39f
+0, 110, 110, 1, 657600, 0x3bf6f39f
+0, 111, 111, 1, 657600, 0xc2caeecf
+0, 112, 112, 1, 657600, 0xc2caeecf
+0, 113, 113, 1, 657600, 0xc2caeecf
+0, 114, 114, 1, 657600, 0xc316d63e
+0, 115, 115, 1, 657600, 0xc316d63e
+0, 116, 116, 1, 657600, 0xc316d63e
+0, 117, 117, 1, 657600, 0x41f6218d
+0, 118, 118, 1, 657600, 0x41f6218d
+0, 119, 119, 1, 657600, 0x41f6218d
+0, 120, 120, 1, 657600, 0xff43ec36
+1, 88200, 88200, 11025, 22050, 0x50e70baa
+0, 121, 121, 1, 657600, 0x0b10eb16
+0, 122, 122, 1, 657600, 0x0b10eb16
+0, 123, 123, 1, 657600, 0xbdf41aa5
+0, 124, 124, 1, 657600, 0xbdf41aa5
+0, 125, 125, 1, 657600, 0xbdf41aa5
+0, 126, 126, 1, 657600, 0xd502ca06
+0, 127, 127, 1, 657600, 0xd502ca06
+0, 128, 128, 1, 657600, 0xd502ca06
+0, 129, 129, 1, 657600, 0x8446f89e
+0, 130, 130, 1, 657600, 0x8446f89e
+0, 131, 131, 1, 657600, 0x8446f89e
+0, 132, 132, 1, 657600, 0x3d4ccf06
+0, 133, 133, 1, 657600, 0x0897d1de
+0, 134, 134, 1, 657600, 0x0897d1de
+0, 135, 135, 1, 657600, 0x3e27e01e
+1, 99225, 99225, 11025, 22050, 0xb19e89c0
+0, 136, 136, 1, 657600, 0x3e27e01e
+0, 137, 137, 1, 657600, 0x3e27e01e
+0, 138, 138, 1, 657600, 0x3e27e01e
+0, 139, 139, 1, 657600, 0x3e27e01e
+0, 140, 140, 1, 657600, 0x3e27e01e
+0, 141, 141, 1, 657600, 0xe51078a8
+0, 142, 142, 1, 657600, 0xe51078a8
+0, 143, 143, 1, 657600, 0xe9967a40
+0, 144, 144, 1, 657600, 0xe9967a40
+0, 145, 145, 1, 657600, 0xe9967a40
+0, 146, 146, 1, 657600, 0xe9967a40
+0, 147, 147, 1, 657600, 0xe9967a40
+0, 148, 148, 1, 657600, 0xe9967a40
+0, 149, 149, 1, 657600, 0xe9967a40
+0, 150, 150, 1, 657600, 0x726cb6b8
+1, 110250, 110250, 11025, 22050, 0x78526696
+0, 151, 151, 1, 657600, 0x2960b6e8
+0, 152, 152, 1, 657600, 0x2960b6e8
+0, 153, 153, 1, 657600, 0x1637d6c8
+0, 154, 154, 1, 657600, 0x6f2fd9b0
+0, 155, 155, 1, 657600, 0x27a7d6c8
+0, 156, 156, 1, 657600, 0xe855d6c8
+0, 157, 157, 1, 657600, 0xe855d6c8
+0, 158, 158, 1, 657600, 0xe855d6c8
+0, 159, 159, 1, 657600, 0x1a8ad6c8
+0, 160, 160, 1, 657600, 0x9c11d648
+0, 161, 161, 1, 657600, 0x6136d648
+0, 162, 162, 1, 657600, 0xdfa0d6c8
+0, 163, 163, 1, 657600, 0xdfa0d6c8
+0, 164, 164, 1, 657600, 0xdfa0d6c8
+0, 165, 165, 1, 657600, 0xdfa0d6c8
+1, 121275, 121275, 11025, 22050, 0x48e3bb21
+0, 166, 166, 1, 657600, 0xdfa0d6c8
+0, 167, 167, 1, 657600, 0xdfa0d6c8
+0, 168, 168, 1, 657600, 0xdfa0d6c8
+0, 169, 169, 1, 657600, 0xdfa0d6c8
+0, 170, 170, 1, 657600, 0xdfa0d6c8
+0, 171, 171, 1, 657600, 0x125cd9b0
+0, 172, 172, 1, 657600, 0x125cd9b0
+0, 173, 173, 1, 657600, 0x8a7ed6c8
+0, 174, 174, 1, 657600, 0x09a6d9b0
+0, 175, 175, 1, 657600, 0x09a6d9b0
+0, 176, 176, 1, 657600, 0x09a6d9b0
+0, 177, 177, 1, 657600, 0x85e87a68
+0, 178, 178, 1, 657600, 0x85e87a68
+0, 179, 179, 1, 657600, 0x85e87a68
+0, 180, 180, 1, 657600, 0xb0a141a8
+1, 132300, 132300, 11025, 22050, 0xbc32204a
+0, 181, 181, 1, 657600, 0xb0a141a8
+0, 182, 182, 1, 657600, 0xf3333bd8
+0, 183, 183, 1, 657600, 0xea090688
+0, 184, 184, 1, 657600, 0xa017fe41
+0, 185, 185, 1, 657600, 0xa017fe41
+0, 186, 186, 1, 657600, 0x32e93bd8
+0, 187, 187, 1, 657600, 0x7fe640c0
+0, 188, 188, 1, 657600, 0x7fe640c0
+0, 189, 189, 1, 657600, 0xcd8995b2
+0, 190, 190, 1, 657600, 0x84278a92
+0, 191, 191, 1, 657600, 0x84278a92
+0, 192, 192, 1, 657600, 0xf1d2874a
+0, 193, 193, 1, 657600, 0xf1d2874a
+0, 194, 194, 1, 657600, 0xf1d2874a
+0, 195, 195, 1, 657600, 0xa58d6742
+1, 143325, 143325, 11025, 22050, 0xdf6f1e46
+0, 196, 196, 1, 657600, 0xa58d6742
+0, 197, 197, 1, 657600, 0xa58d6742
+0, 198, 198, 1, 657600, 0xb0cd11bb
+0, 199, 199, 1, 657600, 0xb0cd11bb
+0, 200, 200, 1, 657600, 0xc55610bb
+0, 201, 201, 1, 657600, 0x4ee1168b
+0, 202, 202, 1, 657600, 0x61c513a3
+0, 203, 203, 1, 657600, 0xd26410bb
+0, 204, 204, 1, 657600, 0xe7c410bb
+0, 205, 205, 1, 657600, 0x444a0dd3
+0, 206, 206, 1, 657600, 0x444a0dd3
+0, 207, 207, 1, 657600, 0x97ac10bb
+0, 208, 208, 1, 657600, 0x97ac10bb
+0, 209, 209, 1, 657600, 0xe8b30dd3
+0, 210, 210, 1, 657600, 0x3d0c10bb
+1, 154350, 154350, 11025, 22050, 0x4c91da9d
+0, 211, 211, 1, 657600, 0x8d2b0dd3
+0, 212, 212, 1, 657600, 0x8d2b0dd3
+0, 213, 213, 1, 657600, 0xa5760dd3
+0, 214, 214, 1, 657600, 0xa5760dd3
+0, 215, 215, 1, 657600, 0xa5760dd3
+0, 216, 216, 1, 657600, 0x31a30dd3
+0, 217, 217, 1, 657600, 0x31a30dd3
+0, 218, 218, 1, 657600, 0x31a30dd3
+0, 219, 219, 1, 657600, 0x31a30dd3
+0, 220, 220, 1, 657600, 0x31a30dd3
+0, 221, 221, 1, 657600, 0x31a30dd3
+0, 222, 222, 1, 657600, 0x31a30dd3
+0, 223, 223, 1, 657600, 0x31a30dd3
+0, 224, 224, 1, 657600, 0x31a30dd3
diff --git a/tests/ref/fate/tscc-32bit b/tests/ref/fate/tscc-32bit
index 90deaf561b..2163ff22fc 100644
--- a/tests/ref/fate/tscc-32bit
+++ b/tests/ref/fate/tscc-32bit
@@ -1,156 +1,157 @@
-0, 0, 2359296, 0x76cccaa7
-0, 6000, 2359296, 0x09c52bbf
-0, 12000, 2359296, 0xc8746009
-0, 18000, 2359296, 0xe48ff59b
-0, 24000, 2359296, 0xa2f1fddb
-0, 30000, 2359296, 0xbb0e0026
-0, 36000, 2359296, 0x66a905ab
-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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 906000, 2359296, 0xe4ef27fa
-0, 912000, 2359296, 0xe4ef27fa
-0, 918000, 2359296, 0xe4ef27fa
-0, 924000, 2359296, 0x5e5b2672
-0, 930000, 2359296, 0x5e5b2672
+#tb 0: 1/15
+0, 0, 0, 1, 2359296, 0x76cccaa7
+0, 1, 1, 1, 2359296, 0x09c52bbf
+0, 2, 2, 1, 2359296, 0xc8746009
+0, 3, 3, 1, 2359296, 0xe48ff59b
+0, 4, 4, 1, 2359296, 0xa2f1fddb
+0, 5, 5, 1, 2359296, 0xbb0e0026
+0, 6, 6, 1, 2359296, 0x66a905ab
+0, 7, 7, 1, 2359296, 0xe990f855
+0, 8, 8, 1, 2359296, 0xe990f855
+0, 9, 9, 1, 2359296, 0x3ec2c64e
+0, 10, 10, 1, 2359296, 0xda3ba3cf
+0, 11, 11, 1, 2359296, 0x60a070fd
+0, 12, 12, 1, 2359296, 0x42e5fedc
+0, 13, 13, 1, 2359296, 0x42e5fedc
+0, 14, 14, 1, 2359296, 0x699cf990
+0, 15, 15, 1, 2359296, 0x699cf990
+0, 16, 16, 1, 2359296, 0x699cf990
+0, 17, 17, 1, 2359296, 0x699cf990
+0, 18, 18, 1, 2359296, 0x699cf990
+0, 19, 19, 1, 2359296, 0x699cf990
+0, 20, 20, 1, 2359296, 0x699cf990
+0, 21, 21, 1, 2359296, 0x1524160c
+0, 22, 22, 1, 2359296, 0x1524160c
+0, 23, 23, 1, 2359296, 0x1524160c
+0, 24, 24, 1, 2359296, 0x1524160c
+0, 25, 25, 1, 2359296, 0x1524160c
+0, 26, 26, 1, 2359296, 0x1524160c
+0, 27, 27, 1, 2359296, 0x1524160c
+0, 28, 28, 1, 2359296, 0x33df0c8c
+0, 29, 29, 1, 2359296, 0x33df0c8c
+0, 30, 30, 1, 2359296, 0x33df0c8c
+0, 31, 31, 1, 2359296, 0x33df0c8c
+0, 32, 32, 1, 2359296, 0x33df0c8c
+0, 33, 33, 1, 2359296, 0x33df0c8c
+0, 34, 34, 1, 2359296, 0x33df0c8c
+0, 35, 35, 1, 2359296, 0xfe3d29f8
+0, 36, 36, 1, 2359296, 0xfe3d29f8
+0, 37, 37, 1, 2359296, 0xfe3d29f8
+0, 38, 38, 1, 2359296, 0xfe3d29f8
+0, 39, 39, 1, 2359296, 0xfe3d29f8
+0, 40, 40, 1, 2359296, 0xfe3d29f8
+0, 41, 41, 1, 2359296, 0xfe3d29f8
+0, 42, 42, 1, 2359296, 0x1b9d197f
+0, 43, 43, 1, 2359296, 0x1b9d197f
+0, 44, 44, 1, 2359296, 0x1b9d197f
+0, 45, 45, 1, 2359296, 0x1b9d197f
+0, 46, 46, 1, 2359296, 0x1b9d197f
+0, 47, 47, 1, 2359296, 0x1b9d197f
+0, 48, 48, 1, 2359296, 0x1b9d197f
+0, 49, 49, 1, 2359296, 0x48c126fb
+0, 50, 50, 1, 2359296, 0x48c126fb
+0, 51, 51, 1, 2359296, 0x48c126fb
+0, 52, 52, 1, 2359296, 0x48c126fb
+0, 53, 53, 1, 2359296, 0x48c126fb
+0, 54, 54, 1, 2359296, 0x48c126fb
+0, 55, 55, 1, 2359296, 0x48c126fb
+0, 56, 56, 1, 2359296, 0xcaa31c7c
+0, 57, 57, 1, 2359296, 0xcaa31c7c
+0, 58, 58, 1, 2359296, 0xcaa31c7c
+0, 59, 59, 1, 2359296, 0xcaa31c7c
+0, 60, 60, 1, 2359296, 0xcaa31c7c
+0, 61, 61, 1, 2359296, 0xcaa31c7c
+0, 62, 62, 1, 2359296, 0xcaa31c7c
+0, 63, 63, 1, 2359296, 0xc6a333ee
+0, 64, 64, 1, 2359296, 0xc6a333ee
+0, 65, 65, 1, 2359296, 0xc6a333ee
+0, 66, 66, 1, 2359296, 0xc6a333ee
+0, 67, 67, 1, 2359296, 0xc6a333ee
+0, 68, 68, 1, 2359296, 0xc6a333ee
+0, 69, 69, 1, 2359296, 0xc6a333ee
+0, 70, 70, 1, 2359296, 0xb96d1583
+0, 71, 71, 1, 2359296, 0xb96d1583
+0, 72, 72, 1, 2359296, 0xb96d1583
+0, 73, 73, 1, 2359296, 0xb96d1583
+0, 74, 74, 1, 2359296, 0xb96d1583
+0, 75, 75, 1, 2359296, 0xb96d1583
+0, 76, 76, 1, 2359296, 0xb96d1583
+0, 77, 77, 1, 2359296, 0x878135ec
+0, 78, 78, 1, 2359296, 0x878135ec
+0, 79, 79, 1, 2359296, 0x878135ec
+0, 80, 80, 1, 2359296, 0x878135ec
+0, 81, 81, 1, 2359296, 0x878135ec
+0, 82, 82, 1, 2359296, 0x878135ec
+0, 83, 83, 1, 2359296, 0x878135ec
+0, 84, 84, 1, 2359296, 0x76922870
+0, 85, 85, 1, 2359296, 0x76922870
+0, 86, 86, 1, 2359296, 0x76922870
+0, 87, 87, 1, 2359296, 0x76922870
+0, 88, 88, 1, 2359296, 0x76922870
+0, 89, 89, 1, 2359296, 0x76922870
+0, 90, 90, 1, 2359296, 0x76922870
+0, 91, 91, 1, 2359296, 0xb0e031f0
+0, 92, 92, 1, 2359296, 0xb0e031f0
+0, 93, 93, 1, 2359296, 0xb0e031f0
+0, 94, 94, 1, 2359296, 0xb0e031f0
+0, 95, 95, 1, 2359296, 0xb0e031f0
+0, 96, 96, 1, 2359296, 0xb0e031f0
+0, 97, 97, 1, 2359296, 0xb0e031f0
+0, 98, 98, 1, 2359296, 0xb2ef2a6e
+0, 99, 99, 1, 2359296, 0xb2ef2a6e
+0, 100, 100, 1, 2359296, 0xb2ef2a6e
+0, 101, 101, 1, 2359296, 0x083c2474
+0, 102, 102, 1, 2359296, 0x083c2474
+0, 103, 103, 1, 2359296, 0x083c2474
+0, 104, 104, 1, 2359296, 0x083c2474
+0, 105, 105, 1, 2359296, 0xbdfe2ef3
+0, 106, 106, 1, 2359296, 0xbdfe2ef3
+0, 107, 107, 1, 2359296, 0xbdfe2ef3
+0, 108, 108, 1, 2359296, 0xbdfe2ef3
+0, 109, 109, 1, 2359296, 0xbdfe2ef3
+0, 110, 110, 1, 2359296, 0xbdfe2ef3
+0, 111, 111, 1, 2359296, 0xbdfe2ef3
+0, 112, 112, 1, 2359296, 0x934b1484
+0, 113, 113, 1, 2359296, 0x934b1484
+0, 114, 114, 1, 2359296, 0x934b1484
+0, 115, 115, 1, 2359296, 0x934b1484
+0, 116, 116, 1, 2359296, 0x3e0d1a7e
+0, 117, 117, 1, 2359296, 0x3e0d1a7e
+0, 118, 118, 1, 2359296, 0x3e0d1a7e
+0, 119, 119, 1, 2359296, 0x3ce539e8
+0, 120, 120, 1, 2359296, 0x3ce539e8
+0, 121, 121, 1, 2359296, 0x3ce539e8
+0, 122, 122, 1, 2359296, 0x3ce539e8
+0, 123, 123, 1, 2359296, 0x3ce539e8
+0, 124, 124, 1, 2359296, 0x3ce539e8
+0, 125, 125, 1, 2359296, 0x3ce539e8
+0, 126, 126, 1, 2359296, 0xd46c2f69
+0, 127, 127, 1, 2359296, 0xd46c2f69
+0, 128, 128, 1, 2359296, 0xd46c2f69
+0, 129, 129, 1, 2359296, 0xd46c2f69
+0, 130, 130, 1, 2359296, 0xd46c2f69
+0, 131, 131, 1, 2359296, 0xd46c2f69
+0, 132, 132, 1, 2359296, 0xd46c2f69
+0, 133, 133, 1, 2359296, 0x8d2933ee
+0, 134, 134, 1, 2359296, 0x8d2933ee
+0, 135, 135, 1, 2359296, 0x8d2933ee
+0, 136, 136, 1, 2359296, 0x8d2933ee
+0, 137, 137, 1, 2359296, 0x8d2933ee
+0, 138, 138, 1, 2359296, 0x8d2933ee
+0, 139, 139, 1, 2359296, 0x8d2933ee
+0, 140, 140, 1, 2359296, 0xb6092b6d
+0, 141, 141, 1, 2359296, 0xb6092b6d
+0, 142, 142, 1, 2359296, 0xb6092b6d
+0, 143, 143, 1, 2359296, 0xb6092b6d
+0, 144, 144, 1, 2359296, 0xb6092b6d
+0, 145, 145, 1, 2359296, 0xb6092b6d
+0, 146, 146, 1, 2359296, 0xb6092b6d
+0, 147, 147, 1, 2359296, 0xe4ef27fa
+0, 148, 148, 1, 2359296, 0xe4ef27fa
+0, 149, 149, 1, 2359296, 0xe4ef27fa
+0, 150, 150, 1, 2359296, 0xe4ef27fa
+0, 151, 151, 1, 2359296, 0xe4ef27fa
+0, 152, 152, 1, 2359296, 0xe4ef27fa
+0, 153, 153, 1, 2359296, 0xe4ef27fa
+0, 154, 154, 1, 2359296, 0x5e5b2672
+0, 155, 155, 1, 2359296, 0x5e5b2672
diff --git a/tests/ref/fate/txd-16bpp b/tests/ref/fate/txd-16bpp
index aa5979e2e2..9522873946 100644
--- a/tests/ref/fate/txd-16bpp
+++ b/tests/ref/fate/txd-16bpp
@@ -1,11 +1,12 @@
-0, 0, 16384, 0x213f9ea8
-0, 18000, 16384, 0x8185fdb1
-0, 36000, 16384, 0xf03581d1
-0, 54000, 16384, 0x629cd573
-0, 72000, 16384, 0xfe7a5b63
-0, 90000, 16384, 0x4afc05b2
-0, 108000, 16384, 0x074b8515
-0, 126000, 16384, 0x17fde900
-0, 144000, 16384, 0x831bac76
-0, 162000, 16384, 0x2fb579f3
-0, 180000, 16384, 0x68762bed
+#tb 0: 1/5
+0, 0, 0, 1, 16384, 0x213f9ea8
+0, 1, 1, 1, 16384, 0x8185fdb1
+0, 2, 2, 1, 16384, 0xf03581d1
+0, 3, 3, 1, 16384, 0x629cd573
+0, 4, 4, 1, 16384, 0xfe7a5b63
+0, 5, 5, 1, 16384, 0x4afc05b2
+0, 6, 6, 1, 16384, 0x074b8515
+0, 7, 7, 1, 16384, 0x17fde900
+0, 8, 8, 1, 16384, 0x831bac76
+0, 9, 9, 1, 16384, 0x2fb579f3
+0, 10, 10, 1, 16384, 0x68762bed
diff --git a/tests/ref/fate/txd-pal8 b/tests/ref/fate/txd-pal8
index 8d8f2a5fc5..61fee80fb0 100644
--- a/tests/ref/fate/txd-pal8
+++ b/tests/ref/fate/txd-pal8
@@ -1 +1,2 @@
-0, 0, 786432, 0x56654d61
+#tb 0: 1/5
+0, 0, 0, 1, 786432, 0x56654d61
diff --git a/tests/ref/fate/ulti b/tests/ref/fate/ulti
index 820dcfda1c..4e9968b6df 100644
--- a/tests/ref/fate/ulti
+++ b/tests/ref/fate/ulti
@@ -1,62 +1,63 @@
-0, 0, 86400, 0x5d58253d
-0, 7500, 86400, 0x0626d90d
-0, 15000, 86400, 0x4ecb5048
-0, 22500, 86400, 0xf54ea8f7
-0, 30000, 86400, 0xa777c21b
-0, 37500, 86400, 0x7d71e329
-0, 45000, 86400, 0x2903252a
-0, 52500, 86400, 0xbe7302c1
-0, 60000, 86400, 0x734423a8
-0, 67500, 86400, 0x4f422bab
-0, 75000, 86400, 0x21fbf200
-0, 82500, 86400, 0xabf299a7
-0, 90000, 86400, 0x400b4bf8
-0, 97500, 86400, 0x61d044f9
-0, 105000, 86400, 0x72fb94af
-0, 112500, 86400, 0xf522e717
-0, 120000, 86400, 0xad3e0297
-0, 127500, 86400, 0xbef57a5f
-0, 135000, 86400, 0x450ca6e7
-0, 142500, 86400, 0x76ae56e6
-0, 150000, 86400, 0x7b9b7555
-0, 157500, 86400, 0xb522ce0d
-0, 165000, 86400, 0xaa9b8536
-0, 172500, 86400, 0x019d00c4
-0, 180000, 86400, 0xb0f4dee5
-0, 187500, 86400, 0xa7482e52
-0, 195000, 86400, 0x3c87fc35
-0, 202500, 86400, 0xb6d1dede
-0, 210000, 86400, 0x926ee647
-0, 217500, 86400, 0x8747bfc7
-0, 225000, 86400, 0x61569e9b
-0, 232500, 86400, 0x9209a5f6
-0, 240000, 86400, 0x5f89ef12
-0, 247500, 86400, 0x00bfc18f
-0, 255000, 86400, 0xcc6f2f62
-0, 262500, 86400, 0x3ab9cfbf
-0, 270000, 86400, 0x936f2386
-0, 277500, 86400, 0x2203a76c
-0, 285000, 86400, 0xd3d248a3
-0, 292500, 86400, 0x148af7b8
-0, 300000, 86400, 0x437bffae
-0, 307500, 86400, 0x6876c6d5
-0, 315000, 86400, 0x49fc1429
-0, 322500, 86400, 0x181efd2c
-0, 330000, 86400, 0x26ecd294
-0, 337500, 86400, 0xdcdb609e
-0, 345000, 86400, 0xd3cb0ecb
-0, 352500, 86400, 0x528ffc4b
-0, 360000, 86400, 0xb536c7b4
-0, 367500, 86400, 0xae4ab8c5
-0, 375000, 86400, 0xe14fee77
-0, 382500, 86400, 0xcd3e9e85
-0, 390000, 86400, 0x71cfba54
-0, 397500, 86400, 0x9b309c62
-0, 405000, 86400, 0x91b31881
-0, 412500, 86400, 0xae8bda28
-0, 420000, 86400, 0x8db0f87a
-0, 427500, 86400, 0xcd974e98
-0, 435000, 86400, 0x4405116e
-0, 442500, 86400, 0xfe4cc7b4
-0, 450000, 86400, 0x17d27206
-0, 457500, 86400, 0x11743762
+#tb 0: 1/12
+0, 0, 0, 1, 86400, 0x5d58253d
+0, 1, 1, 1, 86400, 0x0626d90d
+0, 2, 2, 1, 86400, 0x4ecb5048
+0, 3, 3, 1, 86400, 0xf54ea8f7
+0, 4, 4, 1, 86400, 0xa777c21b
+0, 5, 5, 1, 86400, 0x7d71e329
+0, 6, 6, 1, 86400, 0x2903252a
+0, 7, 7, 1, 86400, 0xbe7302c1
+0, 8, 8, 1, 86400, 0x734423a8
+0, 9, 9, 1, 86400, 0x4f422bab
+0, 10, 10, 1, 86400, 0x21fbf200
+0, 11, 11, 1, 86400, 0xabf299a7
+0, 12, 12, 1, 86400, 0x400b4bf8
+0, 13, 13, 1, 86400, 0x61d044f9
+0, 14, 14, 1, 86400, 0x72fb94af
+0, 15, 15, 1, 86400, 0xf522e717
+0, 16, 16, 1, 86400, 0xad3e0297
+0, 17, 17, 1, 86400, 0xbef57a5f
+0, 18, 18, 1, 86400, 0x450ca6e7
+0, 19, 19, 1, 86400, 0x76ae56e6
+0, 20, 20, 1, 86400, 0x7b9b7555
+0, 21, 21, 1, 86400, 0xb522ce0d
+0, 22, 22, 1, 86400, 0xaa9b8536
+0, 23, 23, 1, 86400, 0x019d00c4
+0, 24, 24, 1, 86400, 0xb0f4dee5
+0, 25, 25, 1, 86400, 0xa7482e52
+0, 26, 26, 1, 86400, 0x3c87fc35
+0, 27, 27, 1, 86400, 0xb6d1dede
+0, 28, 28, 1, 86400, 0x926ee647
+0, 29, 29, 1, 86400, 0x8747bfc7
+0, 30, 30, 1, 86400, 0x61569e9b
+0, 31, 31, 1, 86400, 0x9209a5f6
+0, 32, 32, 1, 86400, 0x5f89ef12
+0, 33, 33, 1, 86400, 0x00bfc18f
+0, 34, 34, 1, 86400, 0xcc6f2f62
+0, 35, 35, 1, 86400, 0x3ab9cfbf
+0, 36, 36, 1, 86400, 0x936f2386
+0, 37, 37, 1, 86400, 0x2203a76c
+0, 38, 38, 1, 86400, 0xd3d248a3
+0, 39, 39, 1, 86400, 0x148af7b8
+0, 40, 40, 1, 86400, 0x437bffae
+0, 41, 41, 1, 86400, 0x6876c6d5
+0, 42, 42, 1, 86400, 0x49fc1429
+0, 43, 43, 1, 86400, 0x181efd2c
+0, 44, 44, 1, 86400, 0x26ecd294
+0, 45, 45, 1, 86400, 0xdcdb609e
+0, 46, 46, 1, 86400, 0xd3cb0ecb
+0, 47, 47, 1, 86400, 0x528ffc4b
+0, 48, 48, 1, 86400, 0xb536c7b4
+0, 49, 49, 1, 86400, 0xae4ab8c5
+0, 50, 50, 1, 86400, 0xe14fee77
+0, 51, 51, 1, 86400, 0xcd3e9e85
+0, 52, 52, 1, 86400, 0x71cfba54
+0, 53, 53, 1, 86400, 0x9b309c62
+0, 54, 54, 1, 86400, 0x91b31881
+0, 55, 55, 1, 86400, 0xae8bda28
+0, 56, 56, 1, 86400, 0x8db0f87a
+0, 57, 57, 1, 86400, 0xcd974e98
+0, 58, 58, 1, 86400, 0x4405116e
+0, 59, 59, 1, 86400, 0xfe4cc7b4
+0, 60, 60, 1, 86400, 0x17d27206
+0, 61, 61, 1, 86400, 0x11743762
diff --git a/tests/ref/fate/utvideo_rgb_left b/tests/ref/fate/utvideo_rgb_left
index 5d2b73ca8a..d19a6b1ead 100644
--- a/tests/ref/fate/utvideo_rgb_left
+++ b/tests/ref/fate/utvideo_rgb_left
@@ -1,4 +1,5 @@
-0, 0, 921600, 0x27e6001e
-0, 3003, 921600, 0x7c0a92bc
-0, 6006, 921600, 0x4d2be42c
-0, 9009, 921600, 0x58ddd0be
+#tb 0: 1001/30000
+0, 0, 0, 1, 921600, 0x27e6001e
+0, 1, 1, 1, 921600, 0x7c0a92bc
+0, 2, 2, 1, 921600, 0x4d2be42c
+0, 3, 3, 1, 921600, 0x58ddd0be
diff --git a/tests/ref/fate/utvideo_rgb_median b/tests/ref/fate/utvideo_rgb_median
index 69141537b9..f041285352 100644
--- a/tests/ref/fate/utvideo_rgb_median
+++ b/tests/ref/fate/utvideo_rgb_median
@@ -1,5 +1,6 @@
-0, 0, 921600, 0x9776611f
-0, 3003, 921600, 0xdbfa64f4
-0, 6006, 921600, 0xed2a0580
-0, 9009, 921600, 0x6ecc80bc
-0, 12012, 921600, 0x58ddd0be
+#tb 0: 1001/30000
+0, 0, 0, 1, 921600, 0x9776611f
+0, 1, 1, 1, 921600, 0xdbfa64f4
+0, 2, 2, 1, 921600, 0xed2a0580
+0, 3, 3, 1, 921600, 0x6ecc80bc
+0, 4, 4, 1, 921600, 0x58ddd0be
diff --git a/tests/ref/fate/utvideo_rgba_left b/tests/ref/fate/utvideo_rgba_left
index 7d3800e970..a7e0ed43b4 100644
--- a/tests/ref/fate/utvideo_rgba_left
+++ b/tests/ref/fate/utvideo_rgba_left
@@ -1,5 +1,6 @@
-0, 0, 1228800, 0xf1bc9432
-0, 3003, 1228800, 0x8480d1e5
-0, 6006, 1228800, 0xb01d5fb2
-0, 9009, 1228800, 0x53cb42c4
-0, 12012, 1228800, 0x2b2ea176
+#tb 0: 1001/30000
+0, 0, 0, 1, 1228800, 0xf1bc9432
+0, 1, 1, 1, 1228800, 0x8480d1e5
+0, 2, 2, 1, 1228800, 0xb01d5fb2
+0, 3, 3, 1, 1228800, 0x53cb42c4
+0, 4, 4, 1, 1228800, 0x2b2ea176
diff --git a/tests/ref/fate/utvideo_rgba_median b/tests/ref/fate/utvideo_rgba_median
index 7d3800e970..a7e0ed43b4 100644
--- a/tests/ref/fate/utvideo_rgba_median
+++ b/tests/ref/fate/utvideo_rgba_median
@@ -1,5 +1,6 @@
-0, 0, 1228800, 0xf1bc9432
-0, 3003, 1228800, 0x8480d1e5
-0, 6006, 1228800, 0xb01d5fb2
-0, 9009, 1228800, 0x53cb42c4
-0, 12012, 1228800, 0x2b2ea176
+#tb 0: 1001/30000
+0, 0, 0, 1, 1228800, 0xf1bc9432
+0, 1, 1, 1, 1228800, 0x8480d1e5
+0, 2, 2, 1, 1228800, 0xb01d5fb2
+0, 3, 3, 1, 1228800, 0x53cb42c4
+0, 4, 4, 1, 1228800, 0x2b2ea176
diff --git a/tests/ref/fate/utvideo_yuv420_left b/tests/ref/fate/utvideo_yuv420_left
index bdb90a6168..026f8fb981 100644
--- a/tests/ref/fate/utvideo_yuv420_left
+++ b/tests/ref/fate/utvideo_yuv420_left
@@ -1,7 +1,8 @@
-0, 0, 460800, 0xece98fc8
-0, 3003, 460800, 0x9baf786b
-0, 6006, 460800, 0x8e8e0510
-0, 9009, 460800, 0x27c1f2ba
-0, 12012, 460800, 0x6a817987
-0, 15015, 460800, 0x2f713ec2
-0, 18018, 460800, 0x003b560e
+#tb 0: 1001/30000
+0, 0, 0, 1, 460800, 0xece98fc8
+0, 1, 1, 1, 460800, 0x9baf786b
+0, 2, 2, 1, 460800, 0x8e8e0510
+0, 3, 3, 1, 460800, 0x27c1f2ba
+0, 4, 4, 1, 460800, 0x6a817987
+0, 5, 5, 1, 460800, 0x2f713ec2
+0, 6, 6, 1, 460800, 0x003b560e
diff --git a/tests/ref/fate/utvideo_yuv420_median b/tests/ref/fate/utvideo_yuv420_median
index 5cd3bc84ee..5662d8c66c 100644
--- a/tests/ref/fate/utvideo_yuv420_median
+++ b/tests/ref/fate/utvideo_yuv420_median
@@ -1,4 +1,5 @@
-0, 0, 460800, 0x6a817987
-0, 3003, 460800, 0x2f713ec2
-0, 6006, 460800, 0x003b560e
-0, 9009, 460800, 0x9e1bbf63
+#tb 0: 1001/30000
+0, 0, 0, 1, 460800, 0x6a817987
+0, 1, 1, 1, 460800, 0x2f713ec2
+0, 2, 2, 1, 460800, 0x003b560e
+0, 3, 3, 1, 460800, 0x9e1bbf63
diff --git a/tests/ref/fate/utvideo_yuv422_left b/tests/ref/fate/utvideo_yuv422_left
index d68bf4e26e..438b32a9c9 100644
--- a/tests/ref/fate/utvideo_yuv422_left
+++ b/tests/ref/fate/utvideo_yuv422_left
@@ -1,4 +1,5 @@
-0, 0, 614400, 0x9a6b8802
-0, 3003, 614400, 0xaa8687e2
-0, 6006, 614400, 0x2fe5bd40
-0, 9009, 614400, 0x1c8f3737
+#tb 0: 1001/30000
+0, 0, 0, 1, 614400, 0x9a6b8802
+0, 1, 1, 1, 614400, 0xaa8687e2
+0, 2, 2, 1, 614400, 0x2fe5bd40
+0, 3, 3, 1, 614400, 0x1c8f3737
diff --git a/tests/ref/fate/utvideo_yuv422_median b/tests/ref/fate/utvideo_yuv422_median
index d68bf4e26e..438b32a9c9 100644
--- a/tests/ref/fate/utvideo_yuv422_median
+++ b/tests/ref/fate/utvideo_yuv422_median
@@ -1,4 +1,5 @@
-0, 0, 614400, 0x9a6b8802
-0, 3003, 614400, 0xaa8687e2
-0, 6006, 614400, 0x2fe5bd40
-0, 9009, 614400, 0x1c8f3737
+#tb 0: 1001/30000
+0, 0, 0, 1, 614400, 0x9a6b8802
+0, 1, 1, 1, 614400, 0xaa8687e2
+0, 2, 2, 1, 614400, 0x2fe5bd40
+0, 3, 3, 1, 614400, 0x1c8f3737
diff --git a/tests/ref/fate/v210 b/tests/ref/fate/v210
index 6a551a56b5..2847564b6b 100644
--- a/tests/ref/fate/v210
+++ b/tests/ref/fate/v210
@@ -1 +1,2 @@
-0, 0, 3686400, 0x75ee1dde
+#tb 0: 1/50
+0, 0, 0, 1, 3686400, 0x75ee1dde
diff --git a/tests/ref/fate/v410dec b/tests/ref/fate/v410dec
index f72d74fc38..98b2816b6a 100644
--- a/tests/ref/fate/v410dec
+++ b/tests/ref/fate/v410dec
@@ -1 +1,2 @@
-0, 0, 393216, 0xfe11a6b0
+#tb 0: 1/25
+0, 0, 0, 1, 393216, 0xfe11a6b0
diff --git a/tests/ref/fate/vble b/tests/ref/fate/vble
index 748052e3c4..8c4250fd2a 100644
--- a/tests/ref/fate/vble
+++ b/tests/ref/fate/vble
@@ -1,4 +1,5 @@
-0, 0, 1382400, 0x5e1bc307
-0, 3003, 1382400, 0x198795f7
-0, 6006, 1382400, 0xa9102ac2
-0, 9009, 1382400, 0x9e347932
+#tb 0: 1001/30000
+0, 0, 0, 1, 1382400, 0x5e1bc307
+0, 1, 1, 1, 1382400, 0x198795f7
+0, 2, 2, 1, 1382400, 0xa9102ac2
+0, 3, 3, 1, 1382400, 0x9e347932
diff --git a/tests/ref/fate/vc1-ism b/tests/ref/fate/vc1-ism
index 886e583c5d..650196335d 100644
--- a/tests/ref/fate/vc1-ism
+++ b/tests/ref/fate/vc1-ism
@@ -1,120 +1,121 @@
-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
+#tb 0: 1/24
+0, 0, 0, 1, 37440, 0xd1bc5235
+0, 1, 1, 1, 37440, 0x158e6167
+0, 2, 2, 1, 37440, 0x0faa4481
+0, 3, 3, 1, 37440, 0x427158c5
+0, 4, 4, 1, 37440, 0x4eb53ac6
+0, 5, 5, 1, 37440, 0x99304eea
+0, 6, 6, 1, 37440, 0xcc554a6f
+0, 7, 7, 1, 37440, 0xabeb6c35
+0, 8, 8, 1, 37440, 0xddfc7e18
+0, 9, 9, 1, 37440, 0xaa79b504
+0, 10, 10, 1, 37440, 0x5cb1c839
+0, 11, 11, 1, 37440, 0x7e36ecca
+0, 12, 12, 1, 37440, 0xf486f425
+0, 13, 13, 1, 37440, 0xf1b4138f
+0, 14, 14, 1, 37440, 0x966f1a49
+0, 15, 15, 1, 37440, 0x5eff21da
+0, 16, 16, 1, 37440, 0x333f39b1
+0, 17, 17, 1, 37440, 0x62e5963e
+0, 18, 18, 1, 37440, 0x26930671
+0, 19, 19, 1, 37440, 0x27b4bb6c
+0, 20, 20, 1, 37440, 0xdbd07766
+0, 21, 21, 1, 37440, 0x04260104
+0, 22, 22, 1, 37440, 0x9b1e078b
+0, 23, 23, 1, 37440, 0xdf4e2474
+0, 24, 24, 1, 37440, 0x57d44986
+0, 25, 25, 1, 37440, 0x8780e34c
+0, 26, 26, 1, 37440, 0xf80c8bc0
+0, 27, 27, 1, 37440, 0x630a7583
+0, 28, 28, 1, 37440, 0x235ae089
+0, 29, 29, 1, 37440, 0x984b8f0e
+0, 30, 30, 1, 37440, 0x865cf592
+0, 31, 31, 1, 37440, 0x70f376f2
+0, 32, 32, 1, 37440, 0x8b30c035
+0, 33, 33, 1, 37440, 0xde772d79
+0, 34, 34, 1, 37440, 0x8e076be5
+0, 35, 35, 1, 37440, 0x3dc2bd9f
+0, 36, 36, 1, 37440, 0xb782eb67
+0, 37, 37, 1, 37440, 0x02025d73
+0, 38, 38, 1, 37440, 0x86bbbce8
+0, 39, 39, 1, 37440, 0xd6554f62
+0, 40, 40, 1, 37440, 0xb831b917
+0, 41, 41, 1, 37440, 0x80643560
+0, 42, 42, 1, 37440, 0x4ecf9afd
+0, 43, 43, 1, 37440, 0x9ce51e0b
+0, 44, 44, 1, 37440, 0x179466cd
+0, 45, 45, 1, 37440, 0x145fc900
+0, 46, 46, 1, 37440, 0xb1b50402
+0, 47, 47, 1, 37440, 0x0a87552a
+0, 48, 48, 1, 37440, 0x8f53821d
+0, 49, 49, 1, 37440, 0x1c07c825
+0, 50, 50, 1, 37440, 0x49dde82f
+0, 51, 51, 1, 37440, 0xb1a32605
+0, 52, 52, 1, 37440, 0x410f3cd5
+0, 53, 53, 1, 37440, 0xff5e6696
+0, 54, 54, 1, 37440, 0x96f678c9
+0, 55, 55, 1, 37440, 0x6c9e9e68
+0, 56, 56, 1, 37440, 0x79a2a655
+0, 57, 57, 1, 37440, 0xf237bd6c
+0, 58, 58, 1, 37440, 0x4051b611
+0, 59, 59, 1, 37440, 0xc7ccc918
+0, 60, 60, 1, 37440, 0xbd02c122
+0, 61, 61, 1, 37440, 0xacb3c881
+0, 62, 62, 1, 37440, 0x2abdb940
+0, 63, 63, 1, 37440, 0x19d5be85
+0, 64, 64, 1, 37440, 0xfa5fb1ba
+0, 65, 65, 1, 37440, 0xdae7a7aa
+0, 66, 66, 1, 37440, 0x6b0f9f69
+0, 67, 67, 1, 37440, 0x353e8201
+0, 68, 68, 1, 37440, 0xa21443aa
+0, 69, 69, 1, 37440, 0x66c8d7e0
+0, 70, 70, 1, 37440, 0xc332068e
+0, 71, 71, 1, 37440, 0x71431b9b
+0, 72, 72, 1, 37440, 0x392f15cb
+0, 73, 73, 1, 37440, 0x95a146bb
+0, 74, 74, 1, 37440, 0x7c51740a
+0, 75, 75, 1, 37440, 0xa3bdd43c
+0, 76, 76, 1, 37440, 0xa079f965
+0, 77, 77, 1, 37440, 0xa95423ea
+0, 78, 78, 1, 37440, 0xd1bd2c67
+0, 79, 79, 1, 37440, 0x6cf82844
+0, 80, 80, 1, 37440, 0xd401e128
+0, 81, 81, 1, 37440, 0x1f7db118
+0, 82, 82, 1, 37440, 0x2e0a65a9
+0, 83, 83, 1, 37440, 0x321c1c40
+0, 84, 84, 1, 37440, 0x95b2a127
+0, 85, 85, 1, 37440, 0xa1471f4b
+0, 86, 86, 1, 37440, 0x29d148c0
+0, 87, 87, 1, 37440, 0x24c07107
+0, 88, 88, 1, 37440, 0x0ead678d
+0, 89, 89, 1, 37440, 0xd0ca6495
+0, 90, 90, 1, 37440, 0x08f935ef
+0, 91, 91, 1, 37440, 0xb5ec3c38
+0, 92, 92, 1, 37440, 0xce371628
+0, 93, 93, 1, 37440, 0x68170812
+0, 94, 94, 1, 37440, 0xe222699e
+0, 95, 95, 1, 37440, 0xd688706c
+0, 96, 96, 1, 37440, 0x81a033f9
+0, 97, 97, 1, 37440, 0x28bd0fbf
+0, 98, 98, 1, 37440, 0xe36db7b2
+0, 99, 99, 1, 37440, 0x30559121
+0, 100, 100, 1, 37440, 0xbf2b5fc8
+0, 101, 101, 1, 37440, 0x4b427672
+0, 102, 102, 1, 37440, 0x0544b0b4
+0, 103, 103, 1, 37440, 0x38a70b06
+0, 104, 104, 1, 37440, 0x4ed62607
+0, 105, 105, 1, 37440, 0x6efe8ea6
+0, 106, 106, 1, 37440, 0x81197e11
+0, 107, 107, 1, 37440, 0xf4060050
+0, 108, 108, 1, 37440, 0xaf205f13
+0, 109, 109, 1, 37440, 0x5fa21382
+0, 110, 110, 1, 37440, 0x8627ad05
+0, 111, 111, 1, 37440, 0xf7130133
+0, 112, 112, 1, 37440, 0x76dea7ba
+0, 113, 113, 1, 37440, 0x1dbae1be
+0, 114, 114, 1, 37440, 0x74a933f7
+0, 115, 115, 1, 37440, 0xbdcd41a3
+0, 116, 116, 1, 37440, 0xf0fe8c1c
+0, 117, 117, 1, 37440, 0xc0036222
+0, 118, 118, 1, 37440, 0x3058385c
+0, 119, 119, 1, 37440, 0x68141016
diff --git a/tests/ref/fate/vc1_sa00040 b/tests/ref/fate/vc1_sa00040
index 901f81a97f..24e3247486 100644
--- a/tests/ref/fate/vc1_sa00040
+++ b/tests/ref/fate/vc1_sa00040
@@ -1,15 +1,16 @@
-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, 25200, 38016, 0xc15f4368
-0, 28800, 38016, 0xd1bd47a8
-0, 32400, 38016, 0xd1bd47a8
-0, 36000, 38016, 0xe1e821ca
-0, 39600, 38016, 0xe1e821ca
-0, 43200, 38016, 0xe1e821ca
-0, 46800, 38016, 0xe1e821ca
-0, 50400, 38016, 0xe1e821ca
+#tb 0: 1/25
+0, 0, 0, 1, 38016, 0xa6f15db5
+0, 1, 1, 1, 38016, 0xa6f15db5
+0, 2, 2, 1, 38016, 0xa6f15db5
+0, 3, 3, 1, 38016, 0x5c4ef0e7
+0, 4, 4, 1, 38016, 0x53a42d1d
+0, 5, 5, 1, 38016, 0x68f7d89e
+0, 6, 6, 1, 38016, 0xc15f4368
+0, 7, 7, 1, 38016, 0xc15f4368
+0, 8, 8, 1, 38016, 0xd1bd47a8
+0, 9, 9, 1, 38016, 0xd1bd47a8
+0, 10, 10, 1, 38016, 0xe1e821ca
+0, 11, 11, 1, 38016, 0xe1e821ca
+0, 12, 12, 1, 38016, 0xe1e821ca
+0, 13, 13, 1, 38016, 0xe1e821ca
+0, 14, 14, 1, 38016, 0xe1e821ca
diff --git a/tests/ref/fate/vc1_sa00050 b/tests/ref/fate/vc1_sa00050
index 3eb27bd3c5..f5b1ad9853 100644
--- a/tests/ref/fate/vc1_sa00050
+++ b/tests/ref/fate/vc1_sa00050
@@ -1,30 +1,31 @@
-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, 25200, 115200, 0x509eb814
-0, 28800, 115200, 0x11a76c3e
-0, 32400, 115200, 0x11a76c3e
-0, 36000, 115200, 0x00cf734a
-0, 39600, 115200, 0x00cf734a
-0, 43200, 115200, 0x00cf734a
-0, 46800, 115200, 0x00cf734a
-0, 50400, 115200, 0x00cf734a
-0, 54000, 115200, 0x00cf734a
-0, 57600, 115200, 0x00cf734a
-0, 61200, 115200, 0x00cf734a
-0, 64800, 115200, 0xfddf48e6
-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, 90000, 115200, 0x5324ab20
-0, 93600, 115200, 0xa23e66bb
-0, 97200, 115200, 0x680a50ff
-0, 100800, 115200, 0x680a50ff
-0, 104400, 115200, 0x680a50ff
+#tb 0: 1/25
+0, 0, 0, 1, 115200, 0xb8830eef
+0, 1, 1, 1, 115200, 0xb8830eef
+0, 2, 2, 1, 115200, 0xb8830eef
+0, 3, 3, 1, 115200, 0x952ff5e1
+0, 4, 4, 1, 115200, 0xa4362b14
+0, 5, 5, 1, 115200, 0x32bacbe7
+0, 6, 6, 1, 115200, 0x509eb814
+0, 7, 7, 1, 115200, 0x509eb814
+0, 8, 8, 1, 115200, 0x11a76c3e
+0, 9, 9, 1, 115200, 0x11a76c3e
+0, 10, 10, 1, 115200, 0x00cf734a
+0, 11, 11, 1, 115200, 0x00cf734a
+0, 12, 12, 1, 115200, 0x00cf734a
+0, 13, 13, 1, 115200, 0x00cf734a
+0, 14, 14, 1, 115200, 0x00cf734a
+0, 15, 15, 1, 115200, 0x00cf734a
+0, 16, 16, 1, 115200, 0x00cf734a
+0, 17, 17, 1, 115200, 0x00cf734a
+0, 18, 18, 1, 115200, 0xfddf48e6
+0, 19, 19, 1, 115200, 0xfddf48e6
+0, 20, 20, 1, 115200, 0x1eccebbf
+0, 21, 21, 1, 115200, 0x3da2f77e
+0, 22, 22, 1, 115200, 0x7c232572
+0, 23, 23, 1, 115200, 0xedf426e5
+0, 24, 24, 1, 115200, 0x5324ab20
+0, 25, 25, 1, 115200, 0x5324ab20
+0, 26, 26, 1, 115200, 0xa23e66bb
+0, 27, 27, 1, 115200, 0x680a50ff
+0, 28, 28, 1, 115200, 0x680a50ff
+0, 29, 29, 1, 115200, 0x680a50ff
diff --git a/tests/ref/fate/vc1_sa10091 b/tests/ref/fate/vc1_sa10091
index c121090097..c0db3969c6 100644
--- a/tests/ref/fate/vc1_sa10091
+++ b/tests/ref/fate/vc1_sa10091
@@ -1,30 +1,31 @@
-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, 25200, 518400, 0x70d9a891
-0, 28800, 518400, 0x70d9a891
-0, 32400, 518400, 0xa461ee86
-0, 36000, 518400, 0x722bc6e8
-0, 39600, 518400, 0x722bc6e8
-0, 43200, 518400, 0x722bc6e8
-0, 46800, 518400, 0xf752fd2c
-0, 50400, 518400, 0xf752fd2c
-0, 54000, 518400, 0x91abcaca
-0, 57600, 518400, 0x572727c3
-0, 61200, 518400, 0x572727c3
-0, 64800, 518400, 0x24c12382
-0, 68400, 518400, 0x24c12382
-0, 72000, 518400, 0x9aa39fe8
-0, 75600, 518400, 0x9aa39fe8
-0, 79200, 518400, 0x5cb6bd19
-0, 82800, 518400, 0x704d9300
-0, 86400, 518400, 0x590fad49
-0, 90000, 518400, 0x590fad49
-0, 93600, 518400, 0x590fad49
-0, 97200, 518400, 0x46bea10b
-0, 100800, 518400, 0x46bea10b
-0, 104400, 518400, 0x46bea10b
+#tb 0: 1/25
+0, 0, 0, 1, 518400, 0xae20b4fa
+0, 1, 1, 1, 518400, 0x2b4ccdf9
+0, 2, 2, 1, 518400, 0x2b4ccdf9
+0, 3, 3, 1, 518400, 0x2b4ccdf9
+0, 4, 4, 1, 518400, 0x2b4ccdf9
+0, 5, 5, 1, 518400, 0x2b4ccdf9
+0, 6, 6, 1, 518400, 0x70d9a891
+0, 7, 7, 1, 518400, 0x70d9a891
+0, 8, 8, 1, 518400, 0x70d9a891
+0, 9, 9, 1, 518400, 0xa461ee86
+0, 10, 10, 1, 518400, 0x722bc6e8
+0, 11, 11, 1, 518400, 0x722bc6e8
+0, 12, 12, 1, 518400, 0x722bc6e8
+0, 13, 13, 1, 518400, 0xf752fd2c
+0, 14, 14, 1, 518400, 0xf752fd2c
+0, 15, 15, 1, 518400, 0x91abcaca
+0, 16, 16, 1, 518400, 0x572727c3
+0, 17, 17, 1, 518400, 0x572727c3
+0, 18, 18, 1, 518400, 0x24c12382
+0, 19, 19, 1, 518400, 0x24c12382
+0, 20, 20, 1, 518400, 0x9aa39fe8
+0, 21, 21, 1, 518400, 0x9aa39fe8
+0, 22, 22, 1, 518400, 0x5cb6bd19
+0, 23, 23, 1, 518400, 0x704d9300
+0, 24, 24, 1, 518400, 0x590fad49
+0, 25, 25, 1, 518400, 0x590fad49
+0, 26, 26, 1, 518400, 0x590fad49
+0, 27, 27, 1, 518400, 0x46bea10b
+0, 28, 28, 1, 518400, 0x46bea10b
+0, 29, 29, 1, 518400, 0x46bea10b
diff --git a/tests/ref/fate/vc1_sa20021 b/tests/ref/fate/vc1_sa20021
index aae607bbbc..cfb7d29b41 100644
--- a/tests/ref/fate/vc1_sa20021
+++ b/tests/ref/fate/vc1_sa20021
@@ -1,60 +1,61 @@
-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, 21600, 506880, 0x2782268a
-0, 25200, 506880, 0x2782268a
-0, 28800, 506880, 0x2782268a
-0, 32400, 506880, 0xe6803b32
-0, 36000, 506880, 0xe6803b32
-0, 39600, 506880, 0xa5ef9baf
-0, 43200, 506880, 0xa5ef9baf
-0, 46800, 506880, 0x46e8cbcb
-0, 50400, 506880, 0x28a2239b
-0, 54000, 506880, 0x7667af2f
-0, 57600, 506880, 0x7667af2f
-0, 61200, 506880, 0x8011bcaf
-0, 64800, 506880, 0xd422115b
-0, 68400, 506880, 0xd422115b
-0, 72000, 506880, 0xd422115b
-0, 75600, 506880, 0xbcee0b5b
-0, 79200, 506880, 0x08fe9ec8
-0, 82800, 506880, 0xc8fb8b37
-0, 86400, 506880, 0xc8fb8b37
-0, 90000, 506880, 0x2c698b52
-0, 93600, 506880, 0x2c698b52
-0, 97200, 506880, 0x2c698b52
-0, 100800, 506880, 0x2b4ad9bc
-0, 104400, 506880, 0x2b4ad9bc
-0, 108000, 506880, 0x2b4ad9bc
-0, 111600, 506880, 0x2b4ad9bc
-0, 115200, 506880, 0x92e84ebb
-0, 118800, 506880, 0x92e84ebb
-0, 122400, 506880, 0xdb877da3
-0, 126000, 506880, 0xdb877da3
-0, 129600, 506880, 0xdb877da3
-0, 133200, 506880, 0x44610654
-0, 136800, 506880, 0x44610654
-0, 140400, 506880, 0xe254ce67
-0, 144000, 506880, 0xa6085385
-0, 147600, 506880, 0x2d45d744
-0, 151200, 506880, 0x2d45d744
-0, 154800, 506880, 0x6e684f51
-0, 158400, 506880, 0xe96186cf
-0, 162000, 506880, 0xb535d369
-0, 165600, 506880, 0xb535d369
-0, 169200, 506880, 0xb535d369
-0, 172800, 506880, 0xeed0b7e0
-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, 198000, 506880, 0x09bbac2d
-0, 201600, 506880, 0x09bbac2d
-0, 205200, 506880, 0x09bbac2d
-0, 208800, 506880, 0x09bbac2d
-0, 212400, 506880, 0xda77f0df
+#tb 0: 1/25
+0, 0, 0, 1, 506880, 0x884bc093
+0, 1, 1, 1, 506880, 0x4b09548f
+0, 2, 2, 1, 506880, 0x195cbee1
+0, 3, 3, 1, 506880, 0xc8141e28
+0, 4, 4, 1, 506880, 0xb170c49b
+0, 5, 5, 1, 506880, 0x2782268a
+0, 6, 6, 1, 506880, 0x2782268a
+0, 7, 7, 1, 506880, 0x2782268a
+0, 8, 8, 1, 506880, 0x2782268a
+0, 9, 9, 1, 506880, 0xe6803b32
+0, 10, 10, 1, 506880, 0xe6803b32
+0, 11, 11, 1, 506880, 0xa5ef9baf
+0, 12, 12, 1, 506880, 0xa5ef9baf
+0, 13, 13, 1, 506880, 0x46e8cbcb
+0, 14, 14, 1, 506880, 0x28a2239b
+0, 15, 15, 1, 506880, 0x7667af2f
+0, 16, 16, 1, 506880, 0x7667af2f
+0, 17, 17, 1, 506880, 0x8011bcaf
+0, 18, 18, 1, 506880, 0xd422115b
+0, 19, 19, 1, 506880, 0xd422115b
+0, 20, 20, 1, 506880, 0xd422115b
+0, 21, 21, 1, 506880, 0xbcee0b5b
+0, 22, 22, 1, 506880, 0x08fe9ec8
+0, 23, 23, 1, 506880, 0xc8fb8b37
+0, 24, 24, 1, 506880, 0xc8fb8b37
+0, 25, 25, 1, 506880, 0x2c698b52
+0, 26, 26, 1, 506880, 0x2c698b52
+0, 27, 27, 1, 506880, 0x2c698b52
+0, 28, 28, 1, 506880, 0x2b4ad9bc
+0, 29, 29, 1, 506880, 0x2b4ad9bc
+0, 30, 30, 1, 506880, 0x2b4ad9bc
+0, 31, 31, 1, 506880, 0x2b4ad9bc
+0, 32, 32, 1, 506880, 0x92e84ebb
+0, 33, 33, 1, 506880, 0x92e84ebb
+0, 34, 34, 1, 506880, 0xdb877da3
+0, 35, 35, 1, 506880, 0xdb877da3
+0, 36, 36, 1, 506880, 0xdb877da3
+0, 37, 37, 1, 506880, 0x44610654
+0, 38, 38, 1, 506880, 0x44610654
+0, 39, 39, 1, 506880, 0xe254ce67
+0, 40, 40, 1, 506880, 0xa6085385
+0, 41, 41, 1, 506880, 0x2d45d744
+0, 42, 42, 1, 506880, 0x2d45d744
+0, 43, 43, 1, 506880, 0x6e684f51
+0, 44, 44, 1, 506880, 0xe96186cf
+0, 45, 45, 1, 506880, 0xb535d369
+0, 46, 46, 1, 506880, 0xb535d369
+0, 47, 47, 1, 506880, 0xb535d369
+0, 48, 48, 1, 506880, 0xeed0b7e0
+0, 49, 49, 1, 506880, 0xeed0b7e0
+0, 50, 50, 1, 506880, 0xeed0b7e0
+0, 51, 51, 1, 506880, 0xeed0b7e0
+0, 52, 52, 1, 506880, 0x8789b20b
+0, 53, 53, 1, 506880, 0x0a0f42fb
+0, 54, 54, 1, 506880, 0x09bbac2d
+0, 55, 55, 1, 506880, 0x09bbac2d
+0, 56, 56, 1, 506880, 0x09bbac2d
+0, 57, 57, 1, 506880, 0x09bbac2d
+0, 58, 58, 1, 506880, 0x09bbac2d
+0, 59, 59, 1, 506880, 0xda77f0df
diff --git a/tests/ref/fate/vcr1 b/tests/ref/fate/vcr1
index 22f817c6a3..da21df4c2e 100644
--- a/tests/ref/fate/vcr1
+++ b/tests/ref/fate/vcr1
@@ -1,128 +1,129 @@
-0, 0, 28512, 0x7165286d
-0, 5949, 28512, 0x2b842acc
-0, 11898, 28512, 0x6d1b8e85
-0, 17847, 28512, 0xc5042fab
-0, 23796, 28512, 0x8b84fa8d
-0, 29745, 28512, 0x2ba34ee5
-0, 35693, 28512, 0x48493c3a
-0, 41642, 28512, 0xbd774ff0
-0, 47591, 28512, 0xf2e2edcd
-0, 53540, 28512, 0x9364c39e
-0, 59489, 28512, 0x7203d4d0
-0, 65438, 28512, 0x3771e23e
-0, 71387, 28512, 0xf332b71e
-0, 77336, 28512, 0x64d9aedb
-0, 83285, 28512, 0xc8f9cdbe
-0, 89234, 28512, 0xf077a6e8
-0, 95183, 28512, 0xa9958897
-0, 101131, 28512, 0x89fb6c6e
-0, 107080, 28512, 0x05b7350c
-0, 113029, 28512, 0x23cf3ec8
-0, 118978, 28512, 0xf9105aa6
-0, 124927, 28512, 0x37ed48cb
-0, 130876, 28512, 0xf4b15ce3
-0, 136825, 28512, 0x64b994b8
-0, 142774, 28512, 0x6731c26b
-0, 148723, 28512, 0x650d110b
-0, 154672, 28512, 0xbbb248ca
-0, 160621, 28512, 0x426ab4ab
-0, 166569, 28512, 0xb7f2e361
-0, 172518, 28512, 0xced16599
-0, 178467, 28512, 0xebf11860
-0, 184416, 28512, 0xefe1df5f
-0, 190365, 28512, 0x2afc432e
-0, 196314, 28512, 0x07bd3eea
-0, 202263, 28512, 0x8b133899
-0, 208212, 28512, 0x0830f148
-0, 214161, 28512, 0x871fc549
-0, 220110, 28512, 0x0082c863
-0, 226059, 28512, 0x6144bdce
-0, 232007, 28512, 0x0af772ea
-0, 237956, 28512, 0x982b8707
-0, 243905, 28512, 0x565a3bfe
-0, 249854, 28512, 0xdf14192e
-0, 255803, 28512, 0x0c5ffcc1
-0, 261752, 28512, 0x87532564
-0, 267701, 28512, 0x0ba1661b
-0, 273650, 28512, 0xd0e7a750
-0, 279599, 28512, 0x5add4281
-0, 285548, 28512, 0x9f45c597
-0, 291497, 28512, 0x921736d0
-0, 297446, 28512, 0xab177a89
-0, 303394, 28512, 0xb83a6f7c
-0, 309343, 28512, 0x9bf6716b
-0, 315292, 28512, 0xc8ca0f4f
-0, 321241, 28512, 0x2ca6c753
-0, 327190, 28512, 0xc2f67d1f
-0, 333139, 28512, 0x9b0e1d7b
-0, 339088, 28512, 0x5257c5d0
-0, 345037, 28512, 0xf256bd2f
-0, 350986, 28512, 0x1b04bd04
-0, 356935, 28512, 0x83deb9e4
-0, 362884, 28512, 0x5f3aa6b4
-0, 368832, 28512, 0x9313c5f3
-0, 374781, 28512, 0x1cfe0c23
-0, 380730, 28512, 0x3e9b37bf
-0, 386679, 28512, 0x1603b386
-0, 392628, 28512, 0x3e70da87
-0, 398577, 28512, 0xa6684712
-0, 404526, 28512, 0x0454bbb7
-0, 410475, 28512, 0x7cf2f717
-0, 416424, 28512, 0xdfbd424c
-0, 422373, 28512, 0x7318a177
-0, 428322, 28512, 0xbffcd503
-0, 434270, 28512, 0x85db177d
-0, 440219, 28512, 0x2a8269d1
-0, 446168, 28512, 0xb5455cd5
-0, 452117, 28512, 0x5fd79a35
-0, 458066, 28512, 0xc1a7c005
-0, 464015, 28512, 0x55230bb0
-0, 469964, 28512, 0x5acf45d9
-0, 475913, 28512, 0xdf1259bf
-0, 481862, 28512, 0xe04e87eb
-0, 487811, 28512, 0xfd25abc0
-0, 493760, 28512, 0x38c4d017
-0, 499708, 28512, 0x7b15d521
-0, 505657, 28512, 0xb156b981
-0, 511606, 28512, 0xcc99cd09
-0, 517555, 28512, 0x633a9cec
-0, 523504, 28512, 0xf00a7c1b
-0, 529453, 28512, 0x426250e9
-0, 535402, 28512, 0xfad02714
-0, 541351, 28512, 0x1ea5d8d2
-0, 547300, 28512, 0x581ea622
-0, 553249, 28512, 0x6b225f61
-0, 559198, 28512, 0x68f337e6
-0, 565146, 28512, 0x85f7060e
-0, 571095, 28512, 0xaa3b1086
-0, 577044, 28512, 0x91fa1371
-0, 582993, 28512, 0x92acd34a
-0, 588942, 28512, 0x0ae8c1e6
-0, 594891, 28512, 0x1335a5b3
-0, 600840, 28512, 0xc364a5e7
-0, 606789, 28512, 0x19b9819a
-0, 612738, 28512, 0xd42d7045
-0, 618687, 28512, 0x4c866a18
-0, 624636, 28512, 0xf0a99685
-0, 630584, 28512, 0x47a4a1bd
-0, 636533, 28512, 0x8dd09006
-0, 642482, 28512, 0x3f0b742d
-0, 648431, 28512, 0x1acf52be
-0, 654380, 28512, 0x9e5d1460
-0, 660329, 28512, 0xd6852de9
-0, 666278, 28512, 0x36e00f16
-0, 672227, 28512, 0xe83dea09
-0, 678176, 28512, 0xbb71daf1
-0, 684125, 28512, 0xaeedf763
-0, 690074, 28512, 0xa793ed91
-0, 696022, 28512, 0x9b0f093f
-0, 701971, 28512, 0xc8504b43
-0, 707920, 28512, 0x08c68319
-0, 713869, 28512, 0x2284b24a
-0, 719818, 28512, 0x5980e906
-0, 725767, 28512, 0x6ffd2c14
-0, 731716, 28512, 0x5c6c3c27
-0, 737665, 28512, 0x20d2efec
-0, 743614, 28512, 0x69ffec11
-0, 749563, 28512, 0x8721f8ab
-0, 755512, 28512, 0xb606e164
+#tb 0: 66099/1000000
+0, 0, 0, 1, 28512, 0x7165286d
+0, 1, 1, 1, 28512, 0x2b842acc
+0, 2, 2, 1, 28512, 0x6d1b8e85
+0, 3, 3, 1, 28512, 0xc5042fab
+0, 4, 4, 1, 28512, 0x8b84fa8d
+0, 5, 5, 1, 28512, 0x2ba34ee5
+0, 6, 6, 1, 28512, 0x48493c3a
+0, 7, 7, 1, 28512, 0xbd774ff0
+0, 8, 8, 1, 28512, 0xf2e2edcd
+0, 9, 9, 1, 28512, 0x9364c39e
+0, 10, 10, 1, 28512, 0x7203d4d0
+0, 11, 11, 1, 28512, 0x3771e23e
+0, 12, 12, 1, 28512, 0xf332b71e
+0, 13, 13, 1, 28512, 0x64d9aedb
+0, 14, 14, 1, 28512, 0xc8f9cdbe
+0, 15, 15, 1, 28512, 0xf077a6e8
+0, 16, 16, 1, 28512, 0xa9958897
+0, 17, 17, 1, 28512, 0x89fb6c6e
+0, 18, 18, 1, 28512, 0x05b7350c
+0, 19, 19, 1, 28512, 0x23cf3ec8
+0, 20, 20, 1, 28512, 0xf9105aa6
+0, 21, 21, 1, 28512, 0x37ed48cb
+0, 22, 22, 1, 28512, 0xf4b15ce3
+0, 23, 23, 1, 28512, 0x64b994b8
+0, 24, 24, 1, 28512, 0x6731c26b
+0, 25, 25, 1, 28512, 0x650d110b
+0, 26, 26, 1, 28512, 0xbbb248ca
+0, 27, 27, 1, 28512, 0x426ab4ab
+0, 28, 28, 1, 28512, 0xb7f2e361
+0, 29, 29, 1, 28512, 0xced16599
+0, 30, 30, 1, 28512, 0xebf11860
+0, 31, 31, 1, 28512, 0xefe1df5f
+0, 32, 32, 1, 28512, 0x2afc432e
+0, 33, 33, 1, 28512, 0x07bd3eea
+0, 34, 34, 1, 28512, 0x8b133899
+0, 35, 35, 1, 28512, 0x0830f148
+0, 36, 36, 1, 28512, 0x871fc549
+0, 37, 37, 1, 28512, 0x0082c863
+0, 38, 38, 1, 28512, 0x6144bdce
+0, 39, 39, 1, 28512, 0x0af772ea
+0, 40, 40, 1, 28512, 0x982b8707
+0, 41, 41, 1, 28512, 0x565a3bfe
+0, 42, 42, 1, 28512, 0xdf14192e
+0, 43, 43, 1, 28512, 0x0c5ffcc1
+0, 44, 44, 1, 28512, 0x87532564
+0, 45, 45, 1, 28512, 0x0ba1661b
+0, 46, 46, 1, 28512, 0xd0e7a750
+0, 47, 47, 1, 28512, 0x5add4281
+0, 48, 48, 1, 28512, 0x9f45c597
+0, 49, 49, 1, 28512, 0x921736d0
+0, 50, 50, 1, 28512, 0xab177a89
+0, 51, 51, 1, 28512, 0xb83a6f7c
+0, 52, 52, 1, 28512, 0x9bf6716b
+0, 53, 53, 1, 28512, 0xc8ca0f4f
+0, 54, 54, 1, 28512, 0x2ca6c753
+0, 55, 55, 1, 28512, 0xc2f67d1f
+0, 56, 56, 1, 28512, 0x9b0e1d7b
+0, 57, 57, 1, 28512, 0x5257c5d0
+0, 58, 58, 1, 28512, 0xf256bd2f
+0, 59, 59, 1, 28512, 0x1b04bd04
+0, 60, 60, 1, 28512, 0x83deb9e4
+0, 61, 61, 1, 28512, 0x5f3aa6b4
+0, 62, 62, 1, 28512, 0x9313c5f3
+0, 63, 63, 1, 28512, 0x1cfe0c23
+0, 64, 64, 1, 28512, 0x3e9b37bf
+0, 65, 65, 1, 28512, 0x1603b386
+0, 66, 66, 1, 28512, 0x3e70da87
+0, 67, 67, 1, 28512, 0xa6684712
+0, 68, 68, 1, 28512, 0x0454bbb7
+0, 69, 69, 1, 28512, 0x7cf2f717
+0, 70, 70, 1, 28512, 0xdfbd424c
+0, 71, 71, 1, 28512, 0x7318a177
+0, 72, 72, 1, 28512, 0xbffcd503
+0, 73, 73, 1, 28512, 0x85db177d
+0, 74, 74, 1, 28512, 0x2a8269d1
+0, 75, 75, 1, 28512, 0xb5455cd5
+0, 76, 76, 1, 28512, 0x5fd79a35
+0, 77, 77, 1, 28512, 0xc1a7c005
+0, 78, 78, 1, 28512, 0x55230bb0
+0, 79, 79, 1, 28512, 0x5acf45d9
+0, 80, 80, 1, 28512, 0xdf1259bf
+0, 81, 81, 1, 28512, 0xe04e87eb
+0, 82, 82, 1, 28512, 0xfd25abc0
+0, 83, 83, 1, 28512, 0x38c4d017
+0, 84, 84, 1, 28512, 0x7b15d521
+0, 85, 85, 1, 28512, 0xb156b981
+0, 86, 86, 1, 28512, 0xcc99cd09
+0, 87, 87, 1, 28512, 0x633a9cec
+0, 88, 88, 1, 28512, 0xf00a7c1b
+0, 89, 89, 1, 28512, 0x426250e9
+0, 90, 90, 1, 28512, 0xfad02714
+0, 91, 91, 1, 28512, 0x1ea5d8d2
+0, 92, 92, 1, 28512, 0x581ea622
+0, 93, 93, 1, 28512, 0x6b225f61
+0, 94, 94, 1, 28512, 0x68f337e6
+0, 95, 95, 1, 28512, 0x85f7060e
+0, 96, 96, 1, 28512, 0xaa3b1086
+0, 97, 97, 1, 28512, 0x91fa1371
+0, 98, 98, 1, 28512, 0x92acd34a
+0, 99, 99, 1, 28512, 0x0ae8c1e6
+0, 100, 100, 1, 28512, 0x1335a5b3
+0, 101, 101, 1, 28512, 0xc364a5e7
+0, 102, 102, 1, 28512, 0x19b9819a
+0, 103, 103, 1, 28512, 0xd42d7045
+0, 104, 104, 1, 28512, 0x4c866a18
+0, 105, 105, 1, 28512, 0xf0a99685
+0, 106, 106, 1, 28512, 0x47a4a1bd
+0, 107, 107, 1, 28512, 0x8dd09006
+0, 108, 108, 1, 28512, 0x3f0b742d
+0, 109, 109, 1, 28512, 0x1acf52be
+0, 110, 110, 1, 28512, 0x9e5d1460
+0, 111, 111, 1, 28512, 0xd6852de9
+0, 112, 112, 1, 28512, 0x36e00f16
+0, 113, 113, 1, 28512, 0xe83dea09
+0, 114, 114, 1, 28512, 0xbb71daf1
+0, 115, 115, 1, 28512, 0xaeedf763
+0, 116, 116, 1, 28512, 0xa793ed91
+0, 117, 117, 1, 28512, 0x9b0f093f
+0, 118, 118, 1, 28512, 0xc8504b43
+0, 119, 119, 1, 28512, 0x08c68319
+0, 120, 120, 1, 28512, 0x2284b24a
+0, 121, 121, 1, 28512, 0x5980e906
+0, 122, 122, 1, 28512, 0x6ffd2c14
+0, 123, 123, 1, 28512, 0x5c6c3c27
+0, 124, 124, 1, 28512, 0x20d2efec
+0, 125, 125, 1, 28512, 0x69ffec11
+0, 126, 126, 1, 28512, 0x8721f8ab
+0, 127, 127, 1, 28512, 0xb606e164
diff --git a/tests/ref/fate/videoxl b/tests/ref/fate/videoxl
index aca08645a7..4d2db37f3e 100644
--- a/tests/ref/fate/videoxl
+++ b/tests/ref/fate/videoxl
@@ -1,40 +1,41 @@
-0, 0, 36096, 0xab1c53c1
-0, 12780, 36096, 0x8b598ff3
-0, 25560, 36096, 0xe9a5f3eb
-0, 38340, 36096, 0x10584b30
-0, 51120, 36096, 0x19d8c5d2
-0, 63900, 36096, 0x43a453b9
-0, 76680, 36096, 0xb32db13b
-0, 89460, 36096, 0xf117e7b3
-0, 102240, 36096, 0x9171fb33
-0, 115020, 36096, 0xdf84081c
-0, 127800, 36096, 0xc9d9527e
-0, 140580, 36096, 0x72fa295e
-0, 153360, 36096, 0xce02060e
-0, 166140, 36096, 0x31f5fdbd
-0, 178920, 36096, 0x4179dc07
-0, 191700, 36096, 0xf250c03f
-0, 204480, 36096, 0xc4aca7c5
-0, 217260, 36096, 0xd9b1837f
-0, 230040, 36096, 0x0af164ef
-0, 242820, 36096, 0x90123fcd
-0, 255600, 36096, 0x60392815
-0, 268380, 36096, 0x7a7b0ac9
-0, 281160, 36096, 0x36c1fe9c
-0, 293940, 36096, 0x50bed8a4
-0, 306720, 36096, 0x10f3b998
-0, 319500, 36096, 0x18e5b516
-0, 332280, 36096, 0x860597dc
-0, 345060, 36096, 0x05488146
-0, 357840, 36096, 0xac577cec
-0, 370620, 36096, 0xc9f95550
-0, 383400, 36096, 0xa0c95270
-0, 396180, 36096, 0x977c5bf2
-0, 408960, 36096, 0xc9f95550
-0, 421740, 36096, 0xa0c95270
-0, 434520, 36096, 0x977c5bf2
-0, 447300, 36096, 0xc9f95550
-0, 460080, 36096, 0xa0c95270
-0, 472860, 36096, 0x977c5bf2
-0, 485640, 36096, 0xc9f95550
-0, 498420, 36096, 0xa0c95270
+#tb 0: 71/500
+0, 0, 0, 1, 36096, 0xab1c53c1
+0, 1, 1, 1, 36096, 0x8b598ff3
+0, 2, 2, 1, 36096, 0xe9a5f3eb
+0, 3, 3, 1, 36096, 0x10584b30
+0, 4, 4, 1, 36096, 0x19d8c5d2
+0, 5, 5, 1, 36096, 0x43a453b9
+0, 6, 6, 1, 36096, 0xb32db13b
+0, 7, 7, 1, 36096, 0xf117e7b3
+0, 8, 8, 1, 36096, 0x9171fb33
+0, 9, 9, 1, 36096, 0xdf84081c
+0, 10, 10, 1, 36096, 0xc9d9527e
+0, 11, 11, 1, 36096, 0x72fa295e
+0, 12, 12, 1, 36096, 0xce02060e
+0, 13, 13, 1, 36096, 0x31f5fdbd
+0, 14, 14, 1, 36096, 0x4179dc07
+0, 15, 15, 1, 36096, 0xf250c03f
+0, 16, 16, 1, 36096, 0xc4aca7c5
+0, 17, 17, 1, 36096, 0xd9b1837f
+0, 18, 18, 1, 36096, 0x0af164ef
+0, 19, 19, 1, 36096, 0x90123fcd
+0, 20, 20, 1, 36096, 0x60392815
+0, 21, 21, 1, 36096, 0x7a7b0ac9
+0, 22, 22, 1, 36096, 0x36c1fe9c
+0, 23, 23, 1, 36096, 0x50bed8a4
+0, 24, 24, 1, 36096, 0x10f3b998
+0, 25, 25, 1, 36096, 0x18e5b516
+0, 26, 26, 1, 36096, 0x860597dc
+0, 27, 27, 1, 36096, 0x05488146
+0, 28, 28, 1, 36096, 0xac577cec
+0, 29, 29, 1, 36096, 0xc9f95550
+0, 30, 30, 1, 36096, 0xa0c95270
+0, 31, 31, 1, 36096, 0x977c5bf2
+0, 32, 32, 1, 36096, 0xc9f95550
+0, 33, 33, 1, 36096, 0xa0c95270
+0, 34, 34, 1, 36096, 0x977c5bf2
+0, 35, 35, 1, 36096, 0xc9f95550
+0, 36, 36, 1, 36096, 0xa0c95270
+0, 37, 37, 1, 36096, 0x977c5bf2
+0, 38, 38, 1, 36096, 0xc9f95550
+0, 39, 39, 1, 36096, 0xa0c95270
diff --git a/tests/ref/fate/vmnc-16bit b/tests/ref/fate/vmnc-16bit
index a298877bff..2a1848eccb 100644
--- a/tests/ref/fate/vmnc-16bit
+++ b/tests/ref/fate/vmnc-16bit
@@ -1,192 +1,193 @@
-0, 0, 864000, 0x9b1cee65
-0, 18000, 864000, 0x82950e3f
-0, 36000, 864000, 0x335f9678
-0, 54000, 864000, 0x6b86b7e7
-0, 72000, 864000, 0x25618cf2
-0, 90000, 864000, 0xed2196c9
-0, 108000, 864000, 0xbeaa31ba
-0, 126000, 864000, 0x14e6c8ab
-0, 144000, 864000, 0x17e5c196
-0, 162000, 864000, 0x4aa15110
-0, 180000, 864000, 0x4aa15110
-0, 198000, 864000, 0x4aa15110
-0, 216000, 864000, 0x3c2d3809
-0, 234000, 864000, 0xd075f4d0
-0, 252000, 864000, 0x0c3f2833
-0, 270000, 864000, 0xe7471872
-0, 288000, 864000, 0x4300b71d
-0, 306000, 864000, 0x6b5844ec
-0, 324000, 864000, 0xb3ebc395
-0, 342000, 864000, 0x39aa8a7d
-0, 360000, 864000, 0x52a3d93d
-0, 378000, 864000, 0x73adbdac
-0, 396000, 864000, 0xa9fd6cdc
-0, 414000, 864000, 0x4a085344
-0, 432000, 864000, 0xc21b943c
-0, 450000, 864000, 0xfaef6ed4
-0, 468000, 864000, 0xa3e9163c
-0, 486000, 864000, 0x917e2be4
-0, 504000, 864000, 0x2d89d534
-0, 522000, 864000, 0x6fe5a9e4
-0, 540000, 864000, 0x71af29ec
-0, 558000, 864000, 0x8f33f6ad
-0, 576000, 864000, 0xe7d46a24
-0, 594000, 864000, 0xb631e044
-0, 612000, 864000, 0x77db01cb
-0, 630000, 864000, 0x9861b6ec
-0, 648000, 864000, 0x973bd263
-0, 666000, 864000, 0xdd4c175b
-0, 684000, 864000, 0xdc28469b
-0, 702000, 864000, 0x67393ebb
-0, 720000, 864000, 0x01a06813
-0, 738000, 864000, 0x63e88f73
-0, 756000, 864000, 0x3ffbdd73
-0, 774000, 864000, 0xd25f790b
-0, 792000, 864000, 0x14e3c5d3
-0, 810000, 864000, 0x0d3d1202
-0, 828000, 864000, 0x69decf03
-0, 846000, 864000, 0x1b20ab93
-0, 864000, 864000, 0xee2f8d4a
-0, 882000, 864000, 0xaac44c52
-0, 900000, 864000, 0x3f874a5a
-0, 918000, 864000, 0x239b2d7a
-0, 936000, 864000, 0xb85db552
-0, 954000, 864000, 0xb12962a2
-0, 972000, 864000, 0xb8270fd9
-0, 990000, 864000, 0x14930601
-0, 1008000, 864000, 0x827a15c1
-0, 1026000, 864000, 0xe31011d1
-0, 1044000, 864000, 0xcd2154c1
-0, 1062000, 864000, 0xad02dbd9
-0, 1080000, 864000, 0x40c17d58
-0, 1098000, 864000, 0x8219e3b9
-0, 1116000, 864000, 0x2d348340
-0, 1134000, 864000, 0x6b61dfc9
-0, 1152000, 864000, 0xc8d95be1
-0, 1170000, 864000, 0x70ba0918
-0, 1188000, 864000, 0xdc728131
-0, 1206000, 864000, 0x9b054a10
-0, 1224000, 864000, 0x3983f751
-0, 1242000, 864000, 0x325fe1a9
-0, 1260000, 864000, 0x7a41eac0
-0, 1278000, 864000, 0x324372a8
-0, 1296000, 864000, 0xc014ea18
-0, 1314000, 864000, 0x1a506a1f
-0, 1332000, 864000, 0x47b59557
-0, 1350000, 864000, 0x5f2e194f
-0, 1368000, 864000, 0x9f6abb68
-0, 1386000, 864000, 0x831d2b97
-0, 1404000, 864000, 0x0635af7f
-0, 1422000, 864000, 0xe54a5626
-0, 1440000, 864000, 0x704dca4f
-0, 1458000, 864000, 0x47de6676
-0, 1476000, 864000, 0x609705fd
-0, 1494000, 864000, 0x8d92e086
-0, 1512000, 864000, 0xdb7dab5e
-0, 1530000, 864000, 0xe6ccb686
-0, 1548000, 864000, 0x0d137f66
-0, 1566000, 864000, 0xd200035d
-0, 1584000, 864000, 0x7dcb959d
-0, 1602000, 864000, 0xee849f75
-0, 1620000, 864000, 0x89d14acd
-0, 1638000, 864000, 0x3738029d
-0, 1656000, 864000, 0x6f4c4395
-0, 1674000, 864000, 0x06334395
-0, 1692000, 864000, 0x238b7c94
-0, 1710000, 864000, 0xfa5d1e14
-0, 1728000, 864000, 0x50b10e54
-0, 1746000, 864000, 0x9ed3b6e4
-0, 1764000, 864000, 0x68da9374
-0, 1782000, 864000, 0xb32a137c
-0, 1800000, 864000, 0x577d5084
-0, 1818000, 864000, 0xd262176b
-0, 1836000, 864000, 0xf58b44b3
-0, 1854000, 864000, 0xd0828edc
-0, 1872000, 864000, 0xc91a7544
-0, 1890000, 864000, 0x18ae7f1c
-0, 1908000, 864000, 0x82623643
-0, 1926000, 864000, 0x9cf82cfb
-0, 1944000, 864000, 0x93ad116b
-0, 1962000, 864000, 0xa669044b
-0, 1980000, 864000, 0x8adf88c3
-0, 1998000, 864000, 0xb83fb413
-0, 2016000, 864000, 0xb9e291f3
-0, 2034000, 864000, 0x5833dcc3
-0, 2052000, 864000, 0x4ab825aa
-0, 2070000, 864000, 0xb52c3b53
-0, 2088000, 864000, 0x0cb0dd53
-0, 2106000, 864000, 0x98b8dd52
-0, 2124000, 864000, 0x989230ba
-0, 2142000, 864000, 0xaed4c073
-0, 2160000, 864000, 0x76a7c83a
-0, 2178000, 864000, 0x02711eea
-0, 2196000, 864000, 0x8de65fe2
-0, 2214000, 864000, 0xc1163689
-0, 2232000, 864000, 0xc04f8b31
-0, 2250000, 864000, 0x69218d2a
-0, 2268000, 864000, 0x7e3abe62
-0, 2286000, 864000, 0x00ebe27a
-0, 2304000, 864000, 0x34803f11
-0, 2322000, 864000, 0x85591cd9
-0, 2340000, 864000, 0x8422fb51
-0, 2358000, 864000, 0x67c759e1
-0, 2376000, 864000, 0x4ac36af1
-0, 2394000, 864000, 0xdf00fca2
-0, 2412000, 864000, 0x74c633d1
-0, 2430000, 864000, 0x00251c31
-0, 2448000, 864000, 0x6d12a499
-0, 2466000, 864000, 0x1b6492e1
-0, 2484000, 864000, 0xdfc9a2a1
-0, 2502000, 864000, 0x33dcac79
-0, 2520000, 864000, 0x2305a499
-0, 2538000, 864000, 0xe1f3ae71
-0, 2556000, 864000, 0xc0cc92e1
-0, 2574000, 864000, 0x53d3b261
-0, 2592000, 864000, 0xf953aa81
-0, 2610000, 864000, 0x4108da69
-0, 2628000, 864000, 0xd6acf9e9
-0, 2646000, 864000, 0xb97ed900
-0, 2664000, 864000, 0x1d8b7a80
-0, 2682000, 864000, 0xd5406cb8
-0, 2700000, 864000, 0x5aa34948
-0, 2718000, 864000, 0x328eee01
-0, 2736000, 864000, 0xac92e621
-0, 2754000, 864000, 0x4fa1f5e1
-0, 2772000, 864000, 0xf7c4e8a8
-0, 2790000, 864000, 0xc358bd58
-0, 2808000, 864000, 0x29ec4b27
-0, 2826000, 864000, 0xf7219c88
-0, 2844000, 864000, 0xe77ff130
-0, 2862000, 864000, 0x73683417
-0, 2880000, 864000, 0x08b6be77
-0, 2898000, 864000, 0x3a7eea6f
-0, 2916000, 864000, 0xb319cce7
-0, 2934000, 864000, 0x9607b13e
-0, 2952000, 864000, 0x30543f0d
-0, 2970000, 864000, 0x56915a9e
-0, 2988000, 864000, 0x79f158a6
-0, 3006000, 864000, 0x498b8bd6
-0, 3024000, 864000, 0xe9ad7046
-0, 3042000, 864000, 0xe9ad7046
-0, 3060000, 864000, 0x10317e0e
-0, 3078000, 864000, 0x10317e0e
-0, 3096000, 864000, 0x10317e0e
-0, 3114000, 864000, 0x99ec7046
-0, 3132000, 864000, 0x924d46ee
-0, 3150000, 864000, 0x98bf333e
-0, 3168000, 864000, 0xb2625c96
-0, 3186000, 864000, 0xb46b3926
-0, 3204000, 864000, 0xeb4e5c96
-0, 3222000, 864000, 0x87154ece
-0, 3240000, 864000, 0x9e4c666e
-0, 3258000, 864000, 0x65b53d16
-0, 3276000, 864000, 0x99e85e8e
-0, 3294000, 864000, 0x650ba17e
-0, 3312000, 864000, 0x1ecb000e
-0, 3330000, 864000, 0xb942327d
-0, 3348000, 864000, 0x1bf20925
-0, 3366000, 864000, 0x61dba6a5
-0, 3384000, 864000, 0x5de16d8d
-0, 3402000, 864000, 0x4eb1f75d
-0, 3420000, 864000, 0x4eb1f75d
-0, 3438000, 864000, 0xd0750144
+#tb 0: 1/5
+0, 0, 0, 1, 864000, 0x9b1cee65
+0, 1, 1, 1, 864000, 0x82950e3f
+0, 2, 2, 1, 864000, 0x335f9678
+0, 3, 3, 1, 864000, 0x6b86b7e7
+0, 4, 4, 1, 864000, 0x25618cf2
+0, 5, 5, 1, 864000, 0xed2196c9
+0, 6, 6, 1, 864000, 0xbeaa31ba
+0, 7, 7, 1, 864000, 0x14e6c8ab
+0, 8, 8, 1, 864000, 0x17e5c196
+0, 9, 9, 1, 864000, 0x4aa15110
+0, 10, 10, 1, 864000, 0x4aa15110
+0, 11, 11, 1, 864000, 0x4aa15110
+0, 12, 12, 1, 864000, 0x3c2d3809
+0, 13, 13, 1, 864000, 0xd075f4d0
+0, 14, 14, 1, 864000, 0x0c3f2833
+0, 15, 15, 1, 864000, 0xe7471872
+0, 16, 16, 1, 864000, 0x4300b71d
+0, 17, 17, 1, 864000, 0x6b5844ec
+0, 18, 18, 1, 864000, 0xb3ebc395
+0, 19, 19, 1, 864000, 0x39aa8a7d
+0, 20, 20, 1, 864000, 0x52a3d93d
+0, 21, 21, 1, 864000, 0x73adbdac
+0, 22, 22, 1, 864000, 0xa9fd6cdc
+0, 23, 23, 1, 864000, 0x4a085344
+0, 24, 24, 1, 864000, 0xc21b943c
+0, 25, 25, 1, 864000, 0xfaef6ed4
+0, 26, 26, 1, 864000, 0xa3e9163c
+0, 27, 27, 1, 864000, 0x917e2be4
+0, 28, 28, 1, 864000, 0x2d89d534
+0, 29, 29, 1, 864000, 0x6fe5a9e4
+0, 30, 30, 1, 864000, 0x71af29ec
+0, 31, 31, 1, 864000, 0x8f33f6ad
+0, 32, 32, 1, 864000, 0xe7d46a24
+0, 33, 33, 1, 864000, 0xb631e044
+0, 34, 34, 1, 864000, 0x77db01cb
+0, 35, 35, 1, 864000, 0x9861b6ec
+0, 36, 36, 1, 864000, 0x973bd263
+0, 37, 37, 1, 864000, 0xdd4c175b
+0, 38, 38, 1, 864000, 0xdc28469b
+0, 39, 39, 1, 864000, 0x67393ebb
+0, 40, 40, 1, 864000, 0x01a06813
+0, 41, 41, 1, 864000, 0x63e88f73
+0, 42, 42, 1, 864000, 0x3ffbdd73
+0, 43, 43, 1, 864000, 0xd25f790b
+0, 44, 44, 1, 864000, 0x14e3c5d3
+0, 45, 45, 1, 864000, 0x0d3d1202
+0, 46, 46, 1, 864000, 0x69decf03
+0, 47, 47, 1, 864000, 0x1b20ab93
+0, 48, 48, 1, 864000, 0xee2f8d4a
+0, 49, 49, 1, 864000, 0xaac44c52
+0, 50, 50, 1, 864000, 0x3f874a5a
+0, 51, 51, 1, 864000, 0x239b2d7a
+0, 52, 52, 1, 864000, 0xb85db552
+0, 53, 53, 1, 864000, 0xb12962a2
+0, 54, 54, 1, 864000, 0xb8270fd9
+0, 55, 55, 1, 864000, 0x14930601
+0, 56, 56, 1, 864000, 0x827a15c1
+0, 57, 57, 1, 864000, 0xe31011d1
+0, 58, 58, 1, 864000, 0xcd2154c1
+0, 59, 59, 1, 864000, 0xad02dbd9
+0, 60, 60, 1, 864000, 0x40c17d58
+0, 61, 61, 1, 864000, 0x8219e3b9
+0, 62, 62, 1, 864000, 0x2d348340
+0, 63, 63, 1, 864000, 0x6b61dfc9
+0, 64, 64, 1, 864000, 0xc8d95be1
+0, 65, 65, 1, 864000, 0x70ba0918
+0, 66, 66, 1, 864000, 0xdc728131
+0, 67, 67, 1, 864000, 0x9b054a10
+0, 68, 68, 1, 864000, 0x3983f751
+0, 69, 69, 1, 864000, 0x325fe1a9
+0, 70, 70, 1, 864000, 0x7a41eac0
+0, 71, 71, 1, 864000, 0x324372a8
+0, 72, 72, 1, 864000, 0xc014ea18
+0, 73, 73, 1, 864000, 0x1a506a1f
+0, 74, 74, 1, 864000, 0x47b59557
+0, 75, 75, 1, 864000, 0x5f2e194f
+0, 76, 76, 1, 864000, 0x9f6abb68
+0, 77, 77, 1, 864000, 0x831d2b97
+0, 78, 78, 1, 864000, 0x0635af7f
+0, 79, 79, 1, 864000, 0xe54a5626
+0, 80, 80, 1, 864000, 0x704dca4f
+0, 81, 81, 1, 864000, 0x47de6676
+0, 82, 82, 1, 864000, 0x609705fd
+0, 83, 83, 1, 864000, 0x8d92e086
+0, 84, 84, 1, 864000, 0xdb7dab5e
+0, 85, 85, 1, 864000, 0xe6ccb686
+0, 86, 86, 1, 864000, 0x0d137f66
+0, 87, 87, 1, 864000, 0xd200035d
+0, 88, 88, 1, 864000, 0x7dcb959d
+0, 89, 89, 1, 864000, 0xee849f75
+0, 90, 90, 1, 864000, 0x89d14acd
+0, 91, 91, 1, 864000, 0x3738029d
+0, 92, 92, 1, 864000, 0x6f4c4395
+0, 93, 93, 1, 864000, 0x06334395
+0, 94, 94, 1, 864000, 0x238b7c94
+0, 95, 95, 1, 864000, 0xfa5d1e14
+0, 96, 96, 1, 864000, 0x50b10e54
+0, 97, 97, 1, 864000, 0x9ed3b6e4
+0, 98, 98, 1, 864000, 0x68da9374
+0, 99, 99, 1, 864000, 0xb32a137c
+0, 100, 100, 1, 864000, 0x577d5084
+0, 101, 101, 1, 864000, 0xd262176b
+0, 102, 102, 1, 864000, 0xf58b44b3
+0, 103, 103, 1, 864000, 0xd0828edc
+0, 104, 104, 1, 864000, 0xc91a7544
+0, 105, 105, 1, 864000, 0x18ae7f1c
+0, 106, 106, 1, 864000, 0x82623643
+0, 107, 107, 1, 864000, 0x9cf82cfb
+0, 108, 108, 1, 864000, 0x93ad116b
+0, 109, 109, 1, 864000, 0xa669044b
+0, 110, 110, 1, 864000, 0x8adf88c3
+0, 111, 111, 1, 864000, 0xb83fb413
+0, 112, 112, 1, 864000, 0xb9e291f3
+0, 113, 113, 1, 864000, 0x5833dcc3
+0, 114, 114, 1, 864000, 0x4ab825aa
+0, 115, 115, 1, 864000, 0xb52c3b53
+0, 116, 116, 1, 864000, 0x0cb0dd53
+0, 117, 117, 1, 864000, 0x98b8dd52
+0, 118, 118, 1, 864000, 0x989230ba
+0, 119, 119, 1, 864000, 0xaed4c073
+0, 120, 120, 1, 864000, 0x76a7c83a
+0, 121, 121, 1, 864000, 0x02711eea
+0, 122, 122, 1, 864000, 0x8de65fe2
+0, 123, 123, 1, 864000, 0xc1163689
+0, 124, 124, 1, 864000, 0xc04f8b31
+0, 125, 125, 1, 864000, 0x69218d2a
+0, 126, 126, 1, 864000, 0x7e3abe62
+0, 127, 127, 1, 864000, 0x00ebe27a
+0, 128, 128, 1, 864000, 0x34803f11
+0, 129, 129, 1, 864000, 0x85591cd9
+0, 130, 130, 1, 864000, 0x8422fb51
+0, 131, 131, 1, 864000, 0x67c759e1
+0, 132, 132, 1, 864000, 0x4ac36af1
+0, 133, 133, 1, 864000, 0xdf00fca2
+0, 134, 134, 1, 864000, 0x74c633d1
+0, 135, 135, 1, 864000, 0x00251c31
+0, 136, 136, 1, 864000, 0x6d12a499
+0, 137, 137, 1, 864000, 0x1b6492e1
+0, 138, 138, 1, 864000, 0xdfc9a2a1
+0, 139, 139, 1, 864000, 0x33dcac79
+0, 140, 140, 1, 864000, 0x2305a499
+0, 141, 141, 1, 864000, 0xe1f3ae71
+0, 142, 142, 1, 864000, 0xc0cc92e1
+0, 143, 143, 1, 864000, 0x53d3b261
+0, 144, 144, 1, 864000, 0xf953aa81
+0, 145, 145, 1, 864000, 0x4108da69
+0, 146, 146, 1, 864000, 0xd6acf9e9
+0, 147, 147, 1, 864000, 0xb97ed900
+0, 148, 148, 1, 864000, 0x1d8b7a80
+0, 149, 149, 1, 864000, 0xd5406cb8
+0, 150, 150, 1, 864000, 0x5aa34948
+0, 151, 151, 1, 864000, 0x328eee01
+0, 152, 152, 1, 864000, 0xac92e621
+0, 153, 153, 1, 864000, 0x4fa1f5e1
+0, 154, 154, 1, 864000, 0xf7c4e8a8
+0, 155, 155, 1, 864000, 0xc358bd58
+0, 156, 156, 1, 864000, 0x29ec4b27
+0, 157, 157, 1, 864000, 0xf7219c88
+0, 158, 158, 1, 864000, 0xe77ff130
+0, 159, 159, 1, 864000, 0x73683417
+0, 160, 160, 1, 864000, 0x08b6be77
+0, 161, 161, 1, 864000, 0x3a7eea6f
+0, 162, 162, 1, 864000, 0xb319cce7
+0, 163, 163, 1, 864000, 0x9607b13e
+0, 164, 164, 1, 864000, 0x30543f0d
+0, 165, 165, 1, 864000, 0x56915a9e
+0, 166, 166, 1, 864000, 0x79f158a6
+0, 167, 167, 1, 864000, 0x498b8bd6
+0, 168, 168, 1, 864000, 0xe9ad7046
+0, 169, 169, 1, 864000, 0xe9ad7046
+0, 170, 170, 1, 864000, 0x10317e0e
+0, 171, 171, 1, 864000, 0x10317e0e
+0, 172, 172, 1, 864000, 0x10317e0e
+0, 173, 173, 1, 864000, 0x99ec7046
+0, 174, 174, 1, 864000, 0x924d46ee
+0, 175, 175, 1, 864000, 0x98bf333e
+0, 176, 176, 1, 864000, 0xb2625c96
+0, 177, 177, 1, 864000, 0xb46b3926
+0, 178, 178, 1, 864000, 0xeb4e5c96
+0, 179, 179, 1, 864000, 0x87154ece
+0, 180, 180, 1, 864000, 0x9e4c666e
+0, 181, 181, 1, 864000, 0x65b53d16
+0, 182, 182, 1, 864000, 0x99e85e8e
+0, 183, 183, 1, 864000, 0x650ba17e
+0, 184, 184, 1, 864000, 0x1ecb000e
+0, 185, 185, 1, 864000, 0xb942327d
+0, 186, 186, 1, 864000, 0x1bf20925
+0, 187, 187, 1, 864000, 0x61dba6a5
+0, 188, 188, 1, 864000, 0x5de16d8d
+0, 189, 189, 1, 864000, 0x4eb1f75d
+0, 190, 190, 1, 864000, 0x4eb1f75d
+0, 191, 191, 1, 864000, 0xd0750144
diff --git a/tests/ref/fate/vmnc-32bit b/tests/ref/fate/vmnc-32bit
index 6abcd0dea8..c66f770589 100644
--- a/tests/ref/fate/vmnc-32bit
+++ b/tests/ref/fate/vmnc-32bit
@@ -1,49 +1,50 @@
-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
+#tb 0: 1/5
+0, 0, 0, 1, 3655644, 0x87973530
+0, 1, 1, 1, 3655644, 0x87973530
+0, 2, 2, 1, 3655644, 0x3c3167fd
+0, 3, 3, 1, 3655644, 0x87973530
+0, 4, 4, 1, 3655644, 0x3c3167fd
+0, 5, 5, 1, 3655644, 0x87973530
+0, 6, 6, 1, 3655644, 0x87973530
+0, 7, 7, 1, 3655644, 0x3c3167fd
+0, 8, 8, 1, 3655644, 0x87973530
+0, 9, 9, 1, 3655644, 0x4f0da763
+0, 10, 10, 1, 3655644, 0x66a4a763
+0, 11, 11, 1, 3655644, 0xb20a7496
+0, 12, 12, 1, 3655644, 0x66a4a763
+0, 13, 13, 1, 3655644, 0x5600644a
+0, 14, 14, 1, 3655644, 0xce5880ee
+0, 15, 15, 1, 3655644, 0xa993ef3d
+0, 16, 16, 1, 3655644, 0x73564014
+0, 17, 17, 1, 3655644, 0x2a6e1e8c
+0, 18, 18, 1, 3655644, 0xbae02e7c
+0, 19, 19, 1, 3655644, 0x55af4a2d
+0, 20, 20, 1, 3655644, 0x54b7ff2d
+0, 21, 21, 1, 3655644, 0x39af1aed
+0, 22, 22, 1, 3655644, 0xe48dd11c
+0, 23, 23, 1, 3655644, 0xba15c78d
+0, 24, 24, 1, 3655644, 0x39af1aed
+0, 25, 25, 1, 3655644, 0x27f96cd8
+0, 26, 26, 1, 3655644, 0xf4f068dc
+0, 27, 27, 1, 3655644, 0xf1c55cf5
+0, 28, 28, 1, 3655644, 0xd932633d
+0, 29, 29, 1, 3655644, 0xc6e95e0a
+0, 30, 30, 1, 3655644, 0x9a63c9de
+0, 31, 31, 1, 3655644, 0xf166ad4f
+0, 32, 32, 1, 3655644, 0xe9eeba41
+0, 33, 33, 1, 3655644, 0x7e598ad7
+0, 34, 34, 1, 3655644, 0xf3bd257e
+0, 35, 35, 1, 3655644, 0xf35b3852
+0, 36, 36, 1, 3655644, 0x9d553959
+0, 37, 37, 1, 3655644, 0x0a9de8e2
+0, 38, 38, 1, 3655644, 0xf2325b6c
+0, 39, 39, 1, 3655644, 0xcf924028
+0, 40, 40, 1, 3655644, 0x8dae55bc
+0, 41, 41, 1, 3655644, 0x57b08ced
+0, 42, 42, 1, 3655644, 0xef89a1d8
+0, 43, 43, 1, 3655644, 0x69e5503a
+0, 44, 44, 1, 3655644, 0xc3de7b3f
+0, 45, 45, 1, 3655644, 0x88eea64a
+0, 46, 46, 1, 3655644, 0xe39cce1f
+0, 47, 47, 1, 3655644, 0xf0ed0d04
+0, 48, 48, 1, 3655644, 0x32490d3e
diff --git a/tests/ref/fate/vp3-coeff-level64 b/tests/ref/fate/vp3-coeff-level64
index 31a49aa1a9..4bfafaf5ef 100644
--- a/tests/ref/fate/vp3-coeff-level64
+++ b/tests/ref/fate/vp3-coeff-level64
@@ -1,8 +1,9 @@
-0, 0, 4617600, 0x4ba6df50
-0, 6000, 4617600, 0x419fdeaf
-0, 12000, 4617600, 0xeb2edced
-0, 18000, 4617600, 0xa2bb3a1a
-0, 24000, 4617600, 0x411cfb36
-0, 30000, 4617600, 0xb2dc22ed
-0, 36000, 4617600, 0x236d23b5
-0, 42000, 4617600, 0x7fef275e
+#tb 0: 1/15
+0, 0, 0, 1, 4617600, 0x4ba6df50
+0, 1, 1, 1, 4617600, 0x419fdeaf
+0, 2, 2, 1, 4617600, 0xeb2edced
+0, 3, 3, 1, 4617600, 0xa2bb3a1a
+0, 4, 4, 1, 4617600, 0x411cfb36
+0, 5, 5, 1, 4617600, 0xb2dc22ed
+0, 6, 6, 1, 4617600, 0x236d23b5
+0, 7, 7, 1, 4617600, 0x7fef275e
diff --git a/tests/ref/fate/vp31 b/tests/ref/fate/vp31
index 7c3d7d191a..48221c1b02 100644
--- a/tests/ref/fate/vp31
+++ b/tests/ref/fate/vp31
@@ -1,114 +1,115 @@
-0, 0, 261120, 0xc50dec2b
-0, 3600, 261120, 0xaa8d4441
-0, 7200, 261120, 0x932b0d44
-0, 10800, 261120, 0x125e1af7
-0, 14400, 261120, 0x09a763a5
-0, 18000, 261120, 0x56939852
-0, 21600, 261120, 0x0eda6d35
-0, 25200, 261120, 0x2f0d3869
-0, 28800, 261120, 0xe177c34c
-0, 32400, 261120, 0x5d4e833a
-0, 36000, 261120, 0x42e26e7a
-0, 39600, 261120, 0xf5a60b4c
-0, 43200, 261120, 0x29938341
-0, 46800, 261120, 0x0a9ebb80
-0, 50400, 261120, 0xd18c6a11
-0, 54000, 261120, 0x4b8212ac
-0, 57600, 261120, 0x7902aabc
-0, 61200, 261120, 0x4babac44
-0, 64800, 261120, 0xf33efa46
-0, 68400, 261120, 0x110dd40a
-0, 72000, 261120, 0xae327a8a
-0, 75600, 261120, 0xab757d75
-0, 79200, 261120, 0xfbd1402d
-0, 82800, 261120, 0x4f2c5d31
-0, 86400, 261120, 0xc7ea2149
-0, 90000, 261120, 0x86072cf7
-0, 93600, 261120, 0x37c2f2ed
-0, 97200, 261120, 0x1d51ee83
-0, 100800, 261120, 0x72291b8b
-0, 104400, 261120, 0xe9c8ffaf
-0, 108000, 261120, 0x657a1615
-0, 111600, 261120, 0x6f832019
-0, 115200, 261120, 0xf4445a22
-0, 118800, 261120, 0x105306f0
-0, 122400, 261120, 0x34c0c36b
-0, 126000, 261120, 0x7767be18
-0, 129600, 261120, 0x88a7eaeb
-0, 133200, 261120, 0x797e69e4
-0, 136800, 261120, 0x78901f02
-0, 140400, 261120, 0xbc91758e
-0, 144000, 261120, 0x35d47b24
-0, 147600, 261120, 0xaf0ebc82
-0, 151200, 261120, 0x40e63004
-0, 154800, 261120, 0x70d1c5c1
-0, 158400, 261120, 0x8aea2b70
-0, 162000, 261120, 0x51f3cd81
-0, 165600, 261120, 0x8f8584b7
-0, 169200, 261120, 0x921541fb
-0, 172800, 261120, 0xddd3f1ea
-0, 176400, 261120, 0x6be2e960
-0, 180000, 261120, 0x72997a1f
-0, 183600, 261120, 0xe70fc009
-0, 187200, 261120, 0x816a0687
-0, 190800, 261120, 0x2aa79e82
-0, 194400, 261120, 0x85f2fe5c
-0, 198000, 261120, 0x000dd8b6
-0, 201600, 261120, 0x1be19dd4
-0, 205200, 261120, 0xadea80e5
-0, 208800, 261120, 0x0cc2204f
-0, 212400, 261120, 0xd62968a8
-0, 216000, 261120, 0x0afc75c2
-0, 219600, 261120, 0x82341f09
-0, 223200, 261120, 0xbf7e66cd
-0, 226800, 261120, 0x8f3491df
-0, 230400, 261120, 0xc316d383
-0, 234000, 261120, 0x3de7f632
-0, 237600, 261120, 0xda55cfb0
-0, 241200, 261120, 0xbd88bb46
-0, 244800, 261120, 0x75444b17
-0, 248400, 261120, 0x798cc498
-0, 252000, 261120, 0xf9a60fa6
-0, 255600, 261120, 0xbd8debd7
-0, 259200, 261120, 0x7c890029
-0, 262800, 261120, 0x7a75e44a
-0, 266400, 261120, 0x1f04611c
-0, 270000, 261120, 0x96b3ee93
-0, 273600, 261120, 0x7fc11f39
-0, 277200, 261120, 0xe87d6864
-0, 280800, 261120, 0x6797d904
-0, 284400, 261120, 0x9e3e7bde
-0, 288000, 261120, 0xc31a8039
-0, 291600, 261120, 0xe3ef4cf7
-0, 295200, 261120, 0x83c56fc9
-0, 298800, 261120, 0xb304f7aa
-0, 302400, 261120, 0x039a7080
-0, 306000, 261120, 0xffb08224
-0, 309600, 261120, 0xa7be783a
-0, 313200, 261120, 0x572beff3
-0, 316800, 261120, 0x1bc59ae8
-0, 320400, 261120, 0x11c8feb4
-0, 324000, 261120, 0xe2398651
-0, 327600, 261120, 0x37c3efba
-0, 331200, 261120, 0xb32f0dd4
-0, 334800, 261120, 0x66880c50
-0, 338400, 261120, 0x4f7392c8
-0, 342000, 261120, 0x3d5c08f6
-0, 345600, 261120, 0xfd129211
-0, 349200, 261120, 0x9b396ebe
-0, 352800, 261120, 0x75ab9a4a
-0, 356400, 261120, 0xf8c4e7ea
-0, 360000, 261120, 0xdd48c7c3
-0, 363600, 261120, 0xdebf20e6
-0, 367200, 261120, 0x35c32091
-0, 370800, 261120, 0xce5a49c7
-0, 374400, 261120, 0x69fc8e0d
-0, 378000, 261120, 0x43a08b41
-0, 381600, 261120, 0x01a0513c
-0, 385200, 261120, 0x1d3f490a
-0, 388800, 261120, 0xb44df252
-0, 392400, 261120, 0x1259753e
-0, 396000, 261120, 0x4a1538d6
-0, 399600, 261120, 0xd5ed4bd5
-0, 403200, 261120, 0xa21590b5
-0, 406800, 261120, 0xfb2de1f7
+#tb 0: 1/25
+0, 0, 0, 1, 261120, 0xc50dec2b
+0, 1, 1, 1, 261120, 0xaa8d4441
+0, 2, 2, 1, 261120, 0x932b0d44
+0, 3, 3, 1, 261120, 0x125e1af7
+0, 4, 4, 1, 261120, 0x09a763a5
+0, 5, 5, 1, 261120, 0x56939852
+0, 6, 6, 1, 261120, 0x0eda6d35
+0, 7, 7, 1, 261120, 0x2f0d3869
+0, 8, 8, 1, 261120, 0xe177c34c
+0, 9, 9, 1, 261120, 0x5d4e833a
+0, 10, 10, 1, 261120, 0x42e26e7a
+0, 11, 11, 1, 261120, 0xf5a60b4c
+0, 12, 12, 1, 261120, 0x29938341
+0, 13, 13, 1, 261120, 0x0a9ebb80
+0, 14, 14, 1, 261120, 0xd18c6a11
+0, 15, 15, 1, 261120, 0x4b8212ac
+0, 16, 16, 1, 261120, 0x7902aabc
+0, 17, 17, 1, 261120, 0x4babac44
+0, 18, 18, 1, 261120, 0xf33efa46
+0, 19, 19, 1, 261120, 0x110dd40a
+0, 20, 20, 1, 261120, 0xae327a8a
+0, 21, 21, 1, 261120, 0xab757d75
+0, 22, 22, 1, 261120, 0xfbd1402d
+0, 23, 23, 1, 261120, 0x4f2c5d31
+0, 24, 24, 1, 261120, 0xc7ea2149
+0, 25, 25, 1, 261120, 0x86072cf7
+0, 26, 26, 1, 261120, 0x37c2f2ed
+0, 27, 27, 1, 261120, 0x1d51ee83
+0, 28, 28, 1, 261120, 0x72291b8b
+0, 29, 29, 1, 261120, 0xe9c8ffaf
+0, 30, 30, 1, 261120, 0x657a1615
+0, 31, 31, 1, 261120, 0x6f832019
+0, 32, 32, 1, 261120, 0xf4445a22
+0, 33, 33, 1, 261120, 0x105306f0
+0, 34, 34, 1, 261120, 0x34c0c36b
+0, 35, 35, 1, 261120, 0x7767be18
+0, 36, 36, 1, 261120, 0x88a7eaeb
+0, 37, 37, 1, 261120, 0x797e69e4
+0, 38, 38, 1, 261120, 0x78901f02
+0, 39, 39, 1, 261120, 0xbc91758e
+0, 40, 40, 1, 261120, 0x35d47b24
+0, 41, 41, 1, 261120, 0xaf0ebc82
+0, 42, 42, 1, 261120, 0x40e63004
+0, 43, 43, 1, 261120, 0x70d1c5c1
+0, 44, 44, 1, 261120, 0x8aea2b70
+0, 45, 45, 1, 261120, 0x51f3cd81
+0, 46, 46, 1, 261120, 0x8f8584b7
+0, 47, 47, 1, 261120, 0x921541fb
+0, 48, 48, 1, 261120, 0xddd3f1ea
+0, 49, 49, 1, 261120, 0x6be2e960
+0, 50, 50, 1, 261120, 0x72997a1f
+0, 51, 51, 1, 261120, 0xe70fc009
+0, 52, 52, 1, 261120, 0x816a0687
+0, 53, 53, 1, 261120, 0x2aa79e82
+0, 54, 54, 1, 261120, 0x85f2fe5c
+0, 55, 55, 1, 261120, 0x000dd8b6
+0, 56, 56, 1, 261120, 0x1be19dd4
+0, 57, 57, 1, 261120, 0xadea80e5
+0, 58, 58, 1, 261120, 0x0cc2204f
+0, 59, 59, 1, 261120, 0xd62968a8
+0, 60, 60, 1, 261120, 0x0afc75c2
+0, 61, 61, 1, 261120, 0x82341f09
+0, 62, 62, 1, 261120, 0xbf7e66cd
+0, 63, 63, 1, 261120, 0x8f3491df
+0, 64, 64, 1, 261120, 0xc316d383
+0, 65, 65, 1, 261120, 0x3de7f632
+0, 66, 66, 1, 261120, 0xda55cfb0
+0, 67, 67, 1, 261120, 0xbd88bb46
+0, 68, 68, 1, 261120, 0x75444b17
+0, 69, 69, 1, 261120, 0x798cc498
+0, 70, 70, 1, 261120, 0xf9a60fa6
+0, 71, 71, 1, 261120, 0xbd8debd7
+0, 72, 72, 1, 261120, 0x7c890029
+0, 73, 73, 1, 261120, 0x7a75e44a
+0, 74, 74, 1, 261120, 0x1f04611c
+0, 75, 75, 1, 261120, 0x96b3ee93
+0, 76, 76, 1, 261120, 0x7fc11f39
+0, 77, 77, 1, 261120, 0xe87d6864
+0, 78, 78, 1, 261120, 0x6797d904
+0, 79, 79, 1, 261120, 0x9e3e7bde
+0, 80, 80, 1, 261120, 0xc31a8039
+0, 81, 81, 1, 261120, 0xe3ef4cf7
+0, 82, 82, 1, 261120, 0x83c56fc9
+0, 83, 83, 1, 261120, 0xb304f7aa
+0, 84, 84, 1, 261120, 0x039a7080
+0, 85, 85, 1, 261120, 0xffb08224
+0, 86, 86, 1, 261120, 0xa7be783a
+0, 87, 87, 1, 261120, 0x572beff3
+0, 88, 88, 1, 261120, 0x1bc59ae8
+0, 89, 89, 1, 261120, 0x11c8feb4
+0, 90, 90, 1, 261120, 0xe2398651
+0, 91, 91, 1, 261120, 0x37c3efba
+0, 92, 92, 1, 261120, 0xb32f0dd4
+0, 93, 93, 1, 261120, 0x66880c50
+0, 94, 94, 1, 261120, 0x4f7392c8
+0, 95, 95, 1, 261120, 0x3d5c08f6
+0, 96, 96, 1, 261120, 0xfd129211
+0, 97, 97, 1, 261120, 0x9b396ebe
+0, 98, 98, 1, 261120, 0x75ab9a4a
+0, 99, 99, 1, 261120, 0xf8c4e7ea
+0, 100, 100, 1, 261120, 0xdd48c7c3
+0, 101, 101, 1, 261120, 0xdebf20e6
+0, 102, 102, 1, 261120, 0x35c32091
+0, 103, 103, 1, 261120, 0xce5a49c7
+0, 104, 104, 1, 261120, 0x69fc8e0d
+0, 105, 105, 1, 261120, 0x43a08b41
+0, 106, 106, 1, 261120, 0x01a0513c
+0, 107, 107, 1, 261120, 0x1d3f490a
+0, 108, 108, 1, 261120, 0xb44df252
+0, 109, 109, 1, 261120, 0x1259753e
+0, 110, 110, 1, 261120, 0x4a1538d6
+0, 111, 111, 1, 261120, 0xd5ed4bd5
+0, 112, 112, 1, 261120, 0xa21590b5
+0, 113, 113, 1, 261120, 0xfb2de1f7
diff --git a/tests/ref/fate/vp5 b/tests/ref/fate/vp5
index bf67801a47..791fe60af1 100644
--- a/tests/ref/fate/vp5
+++ b/tests/ref/fate/vp5
@@ -1,246 +1,247 @@
-0, 0, 233472, 0x27488413
-0, 3754, 233472, 0x4af384b5
-0, 7508, 233472, 0x948d845d
-0, 11261, 233472, 0xd6ed845e
-0, 15015, 233472, 0x230f8444
-0, 18769, 233472, 0x230f8444
-0, 22523, 233472, 0x230f8444
-0, 26276, 233472, 0xa5078424
-0, 30030, 233472, 0xa5078424
-0, 33784, 233472, 0xa5078424
-0, 37538, 233472, 0xa5078424
-0, 41291, 233472, 0xa5078424
-0, 45045, 233472, 0xa5078424
-0, 48799, 233472, 0xa5078424
-0, 52553, 233472, 0xa5078424
-0, 56306, 233472, 0xa5078424
-0, 60060, 233472, 0xa5078424
-0, 63814, 233472, 0xa5078424
-0, 67568, 233472, 0xa5078424
-0, 71321, 233472, 0xa5078424
-0, 75075, 233472, 0xa5078424
-0, 78829, 233472, 0xa5078424
-0, 82583, 233472, 0xa5078424
-0, 86336, 233472, 0xa5078424
-0, 90090, 233472, 0xa5078424
-0, 93844, 233472, 0xa5078424
-0, 97598, 233472, 0xa5078424
-0, 101351, 233472, 0xa5078424
-0, 105105, 233472, 0xa5078424
-0, 108859, 233472, 0xa5078424
-0, 112613, 233472, 0xa5078424
-0, 116366, 233472, 0xa5078424
-0, 120120, 233472, 0xa5078424
-0, 123874, 233472, 0xa5078424
-0, 127628, 233472, 0xa5078424
-0, 131381, 233472, 0xa5078424
-0, 135135, 233472, 0xa5078424
-0, 138889, 233472, 0xa5078424
-0, 142643, 233472, 0xa5078424
-0, 146396, 233472, 0xa5078424
-0, 150150, 233472, 0x05667dea
-0, 153904, 233472, 0x6ae1823e
-0, 157658, 233472, 0x3c8a7ea9
-0, 161411, 233472, 0xcae2832a
-0, 165165, 233472, 0x547a7ec2
-0, 168919, 233472, 0xa6628327
-0, 172673, 233472, 0xecd77edc
-0, 176426, 233472, 0xe9538356
-0, 180180, 233472, 0xca297eb1
-0, 183934, 233472, 0xe5648329
-0, 187688, 233472, 0xad8c7e94
-0, 191441, 233472, 0xca0d82fc
-0, 195195, 233472, 0x62277e8d
-0, 198949, 233472, 0x7ef782f5
-0, 202703, 233472, 0x09b27e8d
-0, 206456, 233472, 0x66f382f5
-0, 210210, 233472, 0x0aaa7e8d
-0, 213964, 233472, 0x676b82f5
-0, 217718, 233472, 0x0a8a7e8d
-0, 221471, 233472, 0x670b82f5
-0, 225225, 233472, 0x09fa7e8d
-0, 228979, 233472, 0x671b82f5
-0, 232733, 233472, 0x0ac27e8d
-0, 236486, 233472, 0x674382f5
-0, 240240, 233472, 0x0a727e8d
-0, 243994, 233472, 0x673382f5
-0, 247748, 233472, 0x0a127e8d
-0, 251501, 233472, 0x66f382f5
-0, 255255, 233472, 0x0aaa7e8d
-0, 259009, 233472, 0x676b82f5
-0, 262763, 233472, 0x0a8a7e8d
-0, 266516, 233472, 0x670b82f5
-0, 270270, 233472, 0x09fa7e8d
-0, 274024, 233472, 0x671b82f5
-0, 277778, 233472, 0x0ac27e8d
-0, 281531, 233472, 0x674382f5
-0, 285285, 233472, 0x0a727e8d
-0, 289039, 233472, 0x673382f5
-0, 292793, 233472, 0x0a127e8d
-0, 296546, 233472, 0xa3917e7f
-0, 300300, 233472, 0x0554868d
-0, 304054, 233472, 0x05ba6d7a
-0, 307808, 233472, 0x05ba6d7a
-0, 311561, 233472, 0x05ba6d7a
-0, 315315, 233472, 0x05ba6d7a
-0, 319069, 233472, 0x05ba6d7a
-0, 322823, 233472, 0x05ba6d7a
-0, 326576, 233472, 0x05ba6d7a
-0, 330330, 233472, 0x05ba6d7a
-0, 334084, 233472, 0x05ba6d7a
-0, 337838, 233472, 0x05ba6d7a
-0, 341591, 233472, 0x05ba6d7a
-0, 345345, 233472, 0x05ba6d7a
-0, 349099, 233472, 0x05ba6d7a
-0, 352853, 233472, 0x05ba6d7a
-0, 356606, 233472, 0x05ba6d7a
-0, 360360, 233472, 0x05ba6d7a
-0, 364114, 233472, 0x05ba6d7a
-0, 367868, 233472, 0x05ba6d7a
-0, 371621, 233472, 0x05ba6d7a
-0, 375375, 233472, 0x05ba6d7a
-0, 379129, 233472, 0x05ba6d7a
-0, 382883, 233472, 0x05ba6d7a
-0, 386636, 233472, 0x05ba6d7a
-0, 390390, 233472, 0x3a6a6d61
-0, 394144, 233472, 0x0bab7adc
-0, 397898, 233472, 0x12b44993
-0, 401651, 233472, 0xa20ad6d1
-0, 405405, 233472, 0xfd916a4a
-0, 409159, 233472, 0xd34f3e95
-0, 412913, 233472, 0x19571d5c
-0, 416666, 233472, 0x7c8351ad
-0, 420420, 233472, 0xea279823
-0, 424174, 233472, 0xc5011cfd
-0, 427928, 233472, 0xbd7fb9af
-0, 431681, 233472, 0xdfb3bb7c
-0, 435435, 233472, 0x6d631236
-0, 439189, 233472, 0xdb579a7b
-0, 442943, 233472, 0x47584a3e
-0, 446696, 233472, 0x7a27a914
-0, 450450, 233472, 0x2996270d
-0, 454204, 233472, 0xefeaa7ed
-0, 457958, 233472, 0xa3e74ae1
-0, 461711, 233472, 0x8a51d61c
-0, 465465, 233472, 0x25085ee7
-0, 469219, 233472, 0x0a811253
-0, 472973, 233472, 0x7d3eda84
-0, 476726, 233472, 0xd0a0887d
-0, 480480, 233472, 0xc9e6702c
-0, 484234, 233472, 0x0da14346
-0, 487988, 233472, 0x040f0605
-0, 491741, 233472, 0x76ea841a
-0, 495495, 233472, 0x105b6600
-0, 499249, 233472, 0x73015e08
-0, 503003, 233472, 0xe77d6662
-0, 506756, 233472, 0x7514fcd1
-0, 510510, 233472, 0xb091a850
-0, 514264, 233472, 0x74ccdccd
-0, 518018, 233472, 0xd1c002fc
-0, 521771, 233472, 0x7bfcfdac
-0, 525525, 233472, 0xf48a133f
-0, 529279, 233472, 0x279c16dd
-0, 533033, 233472, 0x58427907
-0, 536786, 233472, 0x4668a8f2
-0, 540540, 233472, 0x93fb555f
-0, 544294, 233472, 0x49ed3cf2
-0, 548048, 233472, 0xd620fac9
-0, 551801, 233472, 0xe4efae83
-0, 555555, 233472, 0xe4d377be
-0, 559309, 233472, 0x6fc229c1
-0, 563063, 233472, 0xab5a8898
-0, 566816, 233472, 0x58a493dd
-0, 570570, 233472, 0x5c1c1093
-0, 574324, 233472, 0x2d831af9
-0, 578078, 233472, 0x9a0d3cdf
-0, 581831, 233472, 0x2be78f0b
-0, 585585, 233472, 0xfc7cc656
-0, 589339, 233472, 0xaa8624b7
-0, 593093, 233472, 0xb9c9afc1
-0, 596846, 233472, 0x709e8009
-0, 600600, 233472, 0xd2260830
-0, 604354, 233472, 0xadb3954e
-0, 608108, 233472, 0x74fc3e65
-0, 611861, 233472, 0xb4bcdea4
-0, 615615, 233472, 0x60c46cf5
-0, 619369, 233472, 0x0e48eff8
-0, 623123, 233472, 0x60e46733
-0, 626876, 233472, 0x708ec89f
-0, 630630, 233472, 0x1f11264e
-0, 634384, 233472, 0x6cba8300
-0, 638138, 233472, 0xd1a5d756
-0, 641891, 233472, 0xb936621e
-0, 645645, 233472, 0x1667b4af
-0, 649399, 233472, 0xc212276d
-0, 653153, 233472, 0x9d7a871d
-0, 656906, 233472, 0xb52834f9
-0, 660660, 233472, 0x983bde84
-0, 664414, 233472, 0xd1c63d88
-0, 668168, 233472, 0xa38cb687
-0, 671921, 233472, 0xd81bf8ff
-0, 675675, 233472, 0x688b231a
-0, 679429, 233472, 0xd5ad3038
-0, 683183, 233472, 0xcd227f74
-0, 686936, 233472, 0x81ec23d6
-0, 690690, 233472, 0x52c1cd86
-0, 694444, 233472, 0xa4199853
-0, 698198, 233472, 0xe82c83e4
-0, 701951, 233472, 0xe9810f88
-0, 705705, 233472, 0x37e95ae7
-0, 709459, 233472, 0xf6974d5d
-0, 713213, 233472, 0x31788551
-0, 716966, 233472, 0x00d6c539
-0, 720720, 233472, 0xdbb52151
-0, 724474, 233472, 0x594433d3
-0, 728228, 233472, 0xeec44f91
-0, 731981, 233472, 0x302894bf
-0, 735735, 233472, 0x44f5ddc3
-0, 739489, 233472, 0x6c1edd28
-0, 743243, 233472, 0x7fd1e412
-0, 746996, 233472, 0xd771f11b
-0, 750750, 233472, 0x09c675d5
-0, 754504, 233472, 0x8fd9112e
-0, 758258, 233472, 0x602002e5
-0, 762011, 233472, 0xb9a22029
-0, 765765, 233472, 0x18e99807
-0, 769519, 233472, 0x3d8657d8
-0, 773273, 233472, 0x4cd73a85
-0, 777026, 233472, 0x84ddb474
-0, 780780, 233472, 0x69636bb8
-0, 784534, 233472, 0xa0436d50
-0, 788288, 233472, 0x93c86d78
-0, 792041, 233472, 0x05ba6d7a
-0, 795795, 233472, 0x05ba6d7a
-0, 799549, 233472, 0x05ba6d7a
-0, 803303, 233472, 0x126c6406
-0, 807056, 233472, 0xe3885a3a
-0, 810810, 233472, 0xf1256fe9
-0, 814564, 233472, 0x5a84377e
-0, 818318, 233472, 0x7c392d90
-0, 822071, 233472, 0x8a74df48
-0, 825825, 233472, 0xfa394653
-0, 829579, 233472, 0xcbe0cc1b
-0, 833333, 233472, 0xbf8639cf
-0, 837086, 233472, 0x7dd2c935
-0, 840840, 233472, 0x1093148f
-0, 844594, 233472, 0x624d7d3e
-0, 848348, 233472, 0xb340cd65
-0, 852101, 233472, 0x6c0ae5c6
-0, 855855, 233472, 0x0c5eaf73
-0, 859609, 233472, 0x27be64ce
-0, 863363, 233472, 0xac8990f4
-0, 867116, 233472, 0x1f935102
-0, 870870, 233472, 0x6e57d96f
-0, 874624, 233472, 0xf246ea4d
-0, 878378, 233472, 0x18058011
-0, 882131, 233472, 0x5951fe6e
-0, 885885, 233472, 0x0f10371d
-0, 889639, 233472, 0xe1481043
-0, 893393, 233472, 0xdedeefcc
-0, 897146, 233472, 0xf8865db2
-0, 900900, 233472, 0xe1b3d4d6
-0, 904654, 233472, 0x81962c43
-0, 908408, 233472, 0xe903d0bb
-0, 912161, 233472, 0x6f530ac6
-0, 915915, 233472, 0x94f7466c
-0, 919669, 233472, 0xa8c1d365
+#tb 0: 1001/24000
+0, 0, 0, 1, 233472, 0x27488413
+0, 1, 1, 1, 233472, 0x4af384b5
+0, 2, 2, 1, 233472, 0x948d845d
+0, 3, 3, 1, 233472, 0xd6ed845e
+0, 4, 4, 1, 233472, 0x230f8444
+0, 5, 5, 1, 233472, 0x230f8444
+0, 6, 6, 1, 233472, 0x230f8444
+0, 7, 7, 1, 233472, 0xa5078424
+0, 8, 8, 1, 233472, 0xa5078424
+0, 9, 9, 1, 233472, 0xa5078424
+0, 10, 10, 1, 233472, 0xa5078424
+0, 11, 11, 1, 233472, 0xa5078424
+0, 12, 12, 1, 233472, 0xa5078424
+0, 13, 13, 1, 233472, 0xa5078424
+0, 14, 14, 1, 233472, 0xa5078424
+0, 15, 15, 1, 233472, 0xa5078424
+0, 16, 16, 1, 233472, 0xa5078424
+0, 17, 17, 1, 233472, 0xa5078424
+0, 18, 18, 1, 233472, 0xa5078424
+0, 19, 19, 1, 233472, 0xa5078424
+0, 20, 20, 1, 233472, 0xa5078424
+0, 21, 21, 1, 233472, 0xa5078424
+0, 22, 22, 1, 233472, 0xa5078424
+0, 23, 23, 1, 233472, 0xa5078424
+0, 24, 24, 1, 233472, 0xa5078424
+0, 25, 25, 1, 233472, 0xa5078424
+0, 26, 26, 1, 233472, 0xa5078424
+0, 27, 27, 1, 233472, 0xa5078424
+0, 28, 28, 1, 233472, 0xa5078424
+0, 29, 29, 1, 233472, 0xa5078424
+0, 30, 30, 1, 233472, 0xa5078424
+0, 31, 31, 1, 233472, 0xa5078424
+0, 32, 32, 1, 233472, 0xa5078424
+0, 33, 33, 1, 233472, 0xa5078424
+0, 34, 34, 1, 233472, 0xa5078424
+0, 35, 35, 1, 233472, 0xa5078424
+0, 36, 36, 1, 233472, 0xa5078424
+0, 37, 37, 1, 233472, 0xa5078424
+0, 38, 38, 1, 233472, 0xa5078424
+0, 39, 39, 1, 233472, 0xa5078424
+0, 40, 40, 1, 233472, 0x05667dea
+0, 41, 41, 1, 233472, 0x6ae1823e
+0, 42, 42, 1, 233472, 0x3c8a7ea9
+0, 43, 43, 1, 233472, 0xcae2832a
+0, 44, 44, 1, 233472, 0x547a7ec2
+0, 45, 45, 1, 233472, 0xa6628327
+0, 46, 46, 1, 233472, 0xecd77edc
+0, 47, 47, 1, 233472, 0xe9538356
+0, 48, 48, 1, 233472, 0xca297eb1
+0, 49, 49, 1, 233472, 0xe5648329
+0, 50, 50, 1, 233472, 0xad8c7e94
+0, 51, 51, 1, 233472, 0xca0d82fc
+0, 52, 52, 1, 233472, 0x62277e8d
+0, 53, 53, 1, 233472, 0x7ef782f5
+0, 54, 54, 1, 233472, 0x09b27e8d
+0, 55, 55, 1, 233472, 0x66f382f5
+0, 56, 56, 1, 233472, 0x0aaa7e8d
+0, 57, 57, 1, 233472, 0x676b82f5
+0, 58, 58, 1, 233472, 0x0a8a7e8d
+0, 59, 59, 1, 233472, 0x670b82f5
+0, 60, 60, 1, 233472, 0x09fa7e8d
+0, 61, 61, 1, 233472, 0x671b82f5
+0, 62, 62, 1, 233472, 0x0ac27e8d
+0, 63, 63, 1, 233472, 0x674382f5
+0, 64, 64, 1, 233472, 0x0a727e8d
+0, 65, 65, 1, 233472, 0x673382f5
+0, 66, 66, 1, 233472, 0x0a127e8d
+0, 67, 67, 1, 233472, 0x66f382f5
+0, 68, 68, 1, 233472, 0x0aaa7e8d
+0, 69, 69, 1, 233472, 0x676b82f5
+0, 70, 70, 1, 233472, 0x0a8a7e8d
+0, 71, 71, 1, 233472, 0x670b82f5
+0, 72, 72, 1, 233472, 0x09fa7e8d
+0, 73, 73, 1, 233472, 0x671b82f5
+0, 74, 74, 1, 233472, 0x0ac27e8d
+0, 75, 75, 1, 233472, 0x674382f5
+0, 76, 76, 1, 233472, 0x0a727e8d
+0, 77, 77, 1, 233472, 0x673382f5
+0, 78, 78, 1, 233472, 0x0a127e8d
+0, 79, 79, 1, 233472, 0xa3917e7f
+0, 80, 80, 1, 233472, 0x0554868d
+0, 81, 81, 1, 233472, 0x05ba6d7a
+0, 82, 82, 1, 233472, 0x05ba6d7a
+0, 83, 83, 1, 233472, 0x05ba6d7a
+0, 84, 84, 1, 233472, 0x05ba6d7a
+0, 85, 85, 1, 233472, 0x05ba6d7a
+0, 86, 86, 1, 233472, 0x05ba6d7a
+0, 87, 87, 1, 233472, 0x05ba6d7a
+0, 88, 88, 1, 233472, 0x05ba6d7a
+0, 89, 89, 1, 233472, 0x05ba6d7a
+0, 90, 90, 1, 233472, 0x05ba6d7a
+0, 91, 91, 1, 233472, 0x05ba6d7a
+0, 92, 92, 1, 233472, 0x05ba6d7a
+0, 93, 93, 1, 233472, 0x05ba6d7a
+0, 94, 94, 1, 233472, 0x05ba6d7a
+0, 95, 95, 1, 233472, 0x05ba6d7a
+0, 96, 96, 1, 233472, 0x05ba6d7a
+0, 97, 97, 1, 233472, 0x05ba6d7a
+0, 98, 98, 1, 233472, 0x05ba6d7a
+0, 99, 99, 1, 233472, 0x05ba6d7a
+0, 100, 100, 1, 233472, 0x05ba6d7a
+0, 101, 101, 1, 233472, 0x05ba6d7a
+0, 102, 102, 1, 233472, 0x05ba6d7a
+0, 103, 103, 1, 233472, 0x05ba6d7a
+0, 104, 104, 1, 233472, 0x3a6a6d61
+0, 105, 105, 1, 233472, 0x0bab7adc
+0, 106, 106, 1, 233472, 0x12b44993
+0, 107, 107, 1, 233472, 0xa20ad6d1
+0, 108, 108, 1, 233472, 0xfd916a4a
+0, 109, 109, 1, 233472, 0xd34f3e95
+0, 110, 110, 1, 233472, 0x19571d5c
+0, 111, 111, 1, 233472, 0x7c8351ad
+0, 112, 112, 1, 233472, 0xea279823
+0, 113, 113, 1, 233472, 0xc5011cfd
+0, 114, 114, 1, 233472, 0xbd7fb9af
+0, 115, 115, 1, 233472, 0xdfb3bb7c
+0, 116, 116, 1, 233472, 0x6d631236
+0, 117, 117, 1, 233472, 0xdb579a7b
+0, 118, 118, 1, 233472, 0x47584a3e
+0, 119, 119, 1, 233472, 0x7a27a914
+0, 120, 120, 1, 233472, 0x2996270d
+0, 121, 121, 1, 233472, 0xefeaa7ed
+0, 122, 122, 1, 233472, 0xa3e74ae1
+0, 123, 123, 1, 233472, 0x8a51d61c
+0, 124, 124, 1, 233472, 0x25085ee7
+0, 125, 125, 1, 233472, 0x0a811253
+0, 126, 126, 1, 233472, 0x7d3eda84
+0, 127, 127, 1, 233472, 0xd0a0887d
+0, 128, 128, 1, 233472, 0xc9e6702c
+0, 129, 129, 1, 233472, 0x0da14346
+0, 130, 130, 1, 233472, 0x040f0605
+0, 131, 131, 1, 233472, 0x76ea841a
+0, 132, 132, 1, 233472, 0x105b6600
+0, 133, 133, 1, 233472, 0x73015e08
+0, 134, 134, 1, 233472, 0xe77d6662
+0, 135, 135, 1, 233472, 0x7514fcd1
+0, 136, 136, 1, 233472, 0xb091a850
+0, 137, 137, 1, 233472, 0x74ccdccd
+0, 138, 138, 1, 233472, 0xd1c002fc
+0, 139, 139, 1, 233472, 0x7bfcfdac
+0, 140, 140, 1, 233472, 0xf48a133f
+0, 141, 141, 1, 233472, 0x279c16dd
+0, 142, 142, 1, 233472, 0x58427907
+0, 143, 143, 1, 233472, 0x4668a8f2
+0, 144, 144, 1, 233472, 0x93fb555f
+0, 145, 145, 1, 233472, 0x49ed3cf2
+0, 146, 146, 1, 233472, 0xd620fac9
+0, 147, 147, 1, 233472, 0xe4efae83
+0, 148, 148, 1, 233472, 0xe4d377be
+0, 149, 149, 1, 233472, 0x6fc229c1
+0, 150, 150, 1, 233472, 0xab5a8898
+0, 151, 151, 1, 233472, 0x58a493dd
+0, 152, 152, 1, 233472, 0x5c1c1093
+0, 153, 153, 1, 233472, 0x2d831af9
+0, 154, 154, 1, 233472, 0x9a0d3cdf
+0, 155, 155, 1, 233472, 0x2be78f0b
+0, 156, 156, 1, 233472, 0xfc7cc656
+0, 157, 157, 1, 233472, 0xaa8624b7
+0, 158, 158, 1, 233472, 0xb9c9afc1
+0, 159, 159, 1, 233472, 0x709e8009
+0, 160, 160, 1, 233472, 0xd2260830
+0, 161, 161, 1, 233472, 0xadb3954e
+0, 162, 162, 1, 233472, 0x74fc3e65
+0, 163, 163, 1, 233472, 0xb4bcdea4
+0, 164, 164, 1, 233472, 0x60c46cf5
+0, 165, 165, 1, 233472, 0x0e48eff8
+0, 166, 166, 1, 233472, 0x60e46733
+0, 167, 167, 1, 233472, 0x708ec89f
+0, 168, 168, 1, 233472, 0x1f11264e
+0, 169, 169, 1, 233472, 0x6cba8300
+0, 170, 170, 1, 233472, 0xd1a5d756
+0, 171, 171, 1, 233472, 0xb936621e
+0, 172, 172, 1, 233472, 0x1667b4af
+0, 173, 173, 1, 233472, 0xc212276d
+0, 174, 174, 1, 233472, 0x9d7a871d
+0, 175, 175, 1, 233472, 0xb52834f9
+0, 176, 176, 1, 233472, 0x983bde84
+0, 177, 177, 1, 233472, 0xd1c63d88
+0, 178, 178, 1, 233472, 0xa38cb687
+0, 179, 179, 1, 233472, 0xd81bf8ff
+0, 180, 180, 1, 233472, 0x688b231a
+0, 181, 181, 1, 233472, 0xd5ad3038
+0, 182, 182, 1, 233472, 0xcd227f74
+0, 183, 183, 1, 233472, 0x81ec23d6
+0, 184, 184, 1, 233472, 0x52c1cd86
+0, 185, 185, 1, 233472, 0xa4199853
+0, 186, 186, 1, 233472, 0xe82c83e4
+0, 187, 187, 1, 233472, 0xe9810f88
+0, 188, 188, 1, 233472, 0x37e95ae7
+0, 189, 189, 1, 233472, 0xf6974d5d
+0, 190, 190, 1, 233472, 0x31788551
+0, 191, 191, 1, 233472, 0x00d6c539
+0, 192, 192, 1, 233472, 0xdbb52151
+0, 193, 193, 1, 233472, 0x594433d3
+0, 194, 194, 1, 233472, 0xeec44f91
+0, 195, 195, 1, 233472, 0x302894bf
+0, 196, 196, 1, 233472, 0x44f5ddc3
+0, 197, 197, 1, 233472, 0x6c1edd28
+0, 198, 198, 1, 233472, 0x7fd1e412
+0, 199, 199, 1, 233472, 0xd771f11b
+0, 200, 200, 1, 233472, 0x09c675d5
+0, 201, 201, 1, 233472, 0x8fd9112e
+0, 202, 202, 1, 233472, 0x602002e5
+0, 203, 203, 1, 233472, 0xb9a22029
+0, 204, 204, 1, 233472, 0x18e99807
+0, 205, 205, 1, 233472, 0x3d8657d8
+0, 206, 206, 1, 233472, 0x4cd73a85
+0, 207, 207, 1, 233472, 0x84ddb474
+0, 208, 208, 1, 233472, 0x69636bb8
+0, 209, 209, 1, 233472, 0xa0436d50
+0, 210, 210, 1, 233472, 0x93c86d78
+0, 211, 211, 1, 233472, 0x05ba6d7a
+0, 212, 212, 1, 233472, 0x05ba6d7a
+0, 213, 213, 1, 233472, 0x05ba6d7a
+0, 214, 214, 1, 233472, 0x126c6406
+0, 215, 215, 1, 233472, 0xe3885a3a
+0, 216, 216, 1, 233472, 0xf1256fe9
+0, 217, 217, 1, 233472, 0x5a84377e
+0, 218, 218, 1, 233472, 0x7c392d90
+0, 219, 219, 1, 233472, 0x8a74df48
+0, 220, 220, 1, 233472, 0xfa394653
+0, 221, 221, 1, 233472, 0xcbe0cc1b
+0, 222, 222, 1, 233472, 0xbf8639cf
+0, 223, 223, 1, 233472, 0x7dd2c935
+0, 224, 224, 1, 233472, 0x1093148f
+0, 225, 225, 1, 233472, 0x624d7d3e
+0, 226, 226, 1, 233472, 0xb340cd65
+0, 227, 227, 1, 233472, 0x6c0ae5c6
+0, 228, 228, 1, 233472, 0x0c5eaf73
+0, 229, 229, 1, 233472, 0x27be64ce
+0, 230, 230, 1, 233472, 0xac8990f4
+0, 231, 231, 1, 233472, 0x1f935102
+0, 232, 232, 1, 233472, 0x6e57d96f
+0, 233, 233, 1, 233472, 0xf246ea4d
+0, 234, 234, 1, 233472, 0x18058011
+0, 235, 235, 1, 233472, 0x5951fe6e
+0, 236, 236, 1, 233472, 0x0f10371d
+0, 237, 237, 1, 233472, 0xe1481043
+0, 238, 238, 1, 233472, 0xdedeefcc
+0, 239, 239, 1, 233472, 0xf8865db2
+0, 240, 240, 1, 233472, 0xe1b3d4d6
+0, 241, 241, 1, 233472, 0x81962c43
+0, 242, 242, 1, 233472, 0xe903d0bb
+0, 243, 243, 1, 233472, 0x6f530ac6
+0, 244, 244, 1, 233472, 0x94f7466c
+0, 245, 245, 1, 233472, 0xa8c1d365
diff --git a/tests/ref/fate/vp6a b/tests/ref/fate/vp6a
index e6ea0bcd01..de0518bf35 100644
--- a/tests/ref/fate/vp6a
+++ b/tests/ref/fate/vp6a
@@ -1,93 +1,94 @@
-0, 0, 135000, 0x9dceed6d
-0, 22500, 135000, 0xcb87787f
-0, 45000, 135000, 0xdb4361ce
-0, 67500, 135000, 0xb8fd81c2
-0, 90000, 135000, 0xbf86a7af
-0, 112500, 135000, 0x2e7787e3
-0, 135000, 135000, 0x6cec6ebd
-0, 157500, 135000, 0xa4d08c07
-0, 180000, 135000, 0x1be48faf
-0, 202500, 135000, 0xf3cd8ede
-0, 225000, 135000, 0x33ec8a49
-0, 247500, 135000, 0x11e887ec
-0, 270000, 135000, 0x3e215c25
-0, 292500, 135000, 0x1a2cb3f8
-0, 315000, 135000, 0x7fb0e48a
-0, 337500, 135000, 0x749f3738
-0, 360000, 135000, 0x686e78e9
-0, 382500, 135000, 0x29515bc7
-0, 405000, 135000, 0x987126bd
-0, 427500, 135000, 0xdf77bb13
-0, 450000, 135000, 0x5fb1468a
-0, 472500, 135000, 0x06ea50ea
-0, 495000, 135000, 0x7bd9c715
-0, 517500, 135000, 0xdd6e6831
-0, 540000, 135000, 0x0ee3760f
-0, 562500, 135000, 0xc7984dc8
-0, 585000, 135000, 0x7e385bff
-0, 607500, 135000, 0xae155ab9
-0, 630000, 135000, 0xc05ee8f7
-0, 652500, 135000, 0x93de3392
-0, 675000, 135000, 0xfe45b38b
-0, 697500, 135000, 0xeb5ed72c
-0, 720000, 135000, 0x0794cb57
-0, 742500, 135000, 0x2578c6e5
-0, 765000, 135000, 0x78486707
-0, 787500, 135000, 0x41e1f0e6
-0, 810000, 135000, 0x4508eb76
-0, 832500, 135000, 0xd8c087f3
-0, 855000, 135000, 0x1a8db89a
-0, 877500, 135000, 0x6dbd90c6
-0, 900000, 135000, 0x0845e400
-0, 922500, 135000, 0xe8b02fc2
-0, 945000, 135000, 0x8007d813
-0, 967500, 135000, 0xdfb04e69
-0, 990000, 135000, 0x5746cf71
-0, 1012500, 135000, 0xe510299f
-0, 1035000, 135000, 0xeea0c829
-0, 1057500, 135000, 0x7c0578ab
-0, 1080000, 135000, 0xb1569ce9
-0, 1102500, 135000, 0x6c233986
-0, 1125000, 135000, 0x95b77f3d
-0, 1147500, 135000, 0xfc368d80
-0, 1170000, 135000, 0x5c73b064
-0, 1192500, 135000, 0x2206da8d
-0, 1215000, 135000, 0x62bb599e
-0, 1237500, 135000, 0x15a68991
-0, 1260000, 135000, 0x5f5eb810
-0, 1282500, 135000, 0x85a9634a
-0, 1305000, 135000, 0xf24b5c1a
-0, 1327500, 135000, 0x38034850
-0, 1350000, 135000, 0x48fd3599
-0, 1372500, 135000, 0xb9d62408
-0, 1395000, 135000, 0xaf202a21
-0, 1417500, 135000, 0x341aa582
-0, 1440000, 135000, 0x90cdc9bb
-0, 1462500, 135000, 0x0b52f319
-0, 1485000, 135000, 0xce61aa5e
-0, 1507500, 135000, 0x988acb45
-0, 1530000, 135000, 0xcd353664
-0, 1552500, 135000, 0xa80c8ce9
-0, 1575000, 135000, 0x15dce784
-0, 1597500, 135000, 0x16bd4519
-0, 1620000, 135000, 0x571712f3
-0, 1642500, 135000, 0x6b109f1e
-0, 1665000, 135000, 0x8e4c19aa
-0, 1687500, 135000, 0x4132bd4c
-0, 1710000, 135000, 0x5babafe2
-0, 1732500, 135000, 0xddef6313
-0, 1755000, 135000, 0x76d6b48b
-0, 1777500, 135000, 0x929e7702
-0, 1800000, 135000, 0x33f5e4a1
-0, 1822500, 135000, 0xdb7041bf
-0, 1845000, 135000, 0xbc761e04
-0, 1867500, 135000, 0x0b2a81e6
-0, 1890000, 135000, 0xf6fd20ea
-0, 1912500, 135000, 0x1894a26c
-0, 1935000, 135000, 0xb25e216f
-0, 1957500, 135000, 0x83bb02ee
-0, 1980000, 135000, 0x6952a3c3
-0, 2002500, 135000, 0x372184d6
-0, 2025000, 135000, 0x2ac47afe
-0, 2047500, 135000, 0x14c33a35
-0, 2070000, 135000, 0xdc08470e
+#tb 0: 1/4
+0, 0, 0, 1, 135000, 0x9dceed6d
+0, 1, 1, 1, 135000, 0xcb87787f
+0, 2, 2, 1, 135000, 0xdb4361ce
+0, 3, 3, 1, 135000, 0xb8fd81c2
+0, 4, 4, 1, 135000, 0xbf86a7af
+0, 5, 5, 1, 135000, 0x2e7787e3
+0, 6, 6, 1, 135000, 0x6cec6ebd
+0, 7, 7, 1, 135000, 0xa4d08c07
+0, 8, 8, 1, 135000, 0x1be48faf
+0, 9, 9, 1, 135000, 0xf3cd8ede
+0, 10, 10, 1, 135000, 0x33ec8a49
+0, 11, 11, 1, 135000, 0x11e887ec
+0, 12, 12, 1, 135000, 0x3e215c25
+0, 13, 13, 1, 135000, 0x1a2cb3f8
+0, 14, 14, 1, 135000, 0x7fb0e48a
+0, 15, 15, 1, 135000, 0x749f3738
+0, 16, 16, 1, 135000, 0x686e78e9
+0, 17, 17, 1, 135000, 0x29515bc7
+0, 18, 18, 1, 135000, 0x987126bd
+0, 19, 19, 1, 135000, 0xdf77bb13
+0, 20, 20, 1, 135000, 0x5fb1468a
+0, 21, 21, 1, 135000, 0x06ea50ea
+0, 22, 22, 1, 135000, 0x7bd9c715
+0, 23, 23, 1, 135000, 0xdd6e6831
+0, 24, 24, 1, 135000, 0x0ee3760f
+0, 25, 25, 1, 135000, 0xc7984dc8
+0, 26, 26, 1, 135000, 0x7e385bff
+0, 27, 27, 1, 135000, 0xae155ab9
+0, 28, 28, 1, 135000, 0xc05ee8f7
+0, 29, 29, 1, 135000, 0x93de3392
+0, 30, 30, 1, 135000, 0xfe45b38b
+0, 31, 31, 1, 135000, 0xeb5ed72c
+0, 32, 32, 1, 135000, 0x0794cb57
+0, 33, 33, 1, 135000, 0x2578c6e5
+0, 34, 34, 1, 135000, 0x78486707
+0, 35, 35, 1, 135000, 0x41e1f0e6
+0, 36, 36, 1, 135000, 0x4508eb76
+0, 37, 37, 1, 135000, 0xd8c087f3
+0, 38, 38, 1, 135000, 0x1a8db89a
+0, 39, 39, 1, 135000, 0x6dbd90c6
+0, 40, 40, 1, 135000, 0x0845e400
+0, 41, 41, 1, 135000, 0xe8b02fc2
+0, 42, 42, 1, 135000, 0x8007d813
+0, 43, 43, 1, 135000, 0xdfb04e69
+0, 44, 44, 1, 135000, 0x5746cf71
+0, 45, 45, 1, 135000, 0xe510299f
+0, 46, 46, 1, 135000, 0xeea0c829
+0, 47, 47, 1, 135000, 0x7c0578ab
+0, 48, 48, 1, 135000, 0xb1569ce9
+0, 49, 49, 1, 135000, 0x6c233986
+0, 50, 50, 1, 135000, 0x95b77f3d
+0, 51, 51, 1, 135000, 0xfc368d80
+0, 52, 52, 1, 135000, 0x5c73b064
+0, 53, 53, 1, 135000, 0x2206da8d
+0, 54, 54, 1, 135000, 0x62bb599e
+0, 55, 55, 1, 135000, 0x15a68991
+0, 56, 56, 1, 135000, 0x5f5eb810
+0, 57, 57, 1, 135000, 0x85a9634a
+0, 58, 58, 1, 135000, 0xf24b5c1a
+0, 59, 59, 1, 135000, 0x38034850
+0, 60, 60, 1, 135000, 0x48fd3599
+0, 61, 61, 1, 135000, 0xb9d62408
+0, 62, 62, 1, 135000, 0xaf202a21
+0, 63, 63, 1, 135000, 0x341aa582
+0, 64, 64, 1, 135000, 0x90cdc9bb
+0, 65, 65, 1, 135000, 0x0b52f319
+0, 66, 66, 1, 135000, 0xce61aa5e
+0, 67, 67, 1, 135000, 0x988acb45
+0, 68, 68, 1, 135000, 0xcd353664
+0, 69, 69, 1, 135000, 0xa80c8ce9
+0, 70, 70, 1, 135000, 0x15dce784
+0, 71, 71, 1, 135000, 0x16bd4519
+0, 72, 72, 1, 135000, 0x571712f3
+0, 73, 73, 1, 135000, 0x6b109f1e
+0, 74, 74, 1, 135000, 0x8e4c19aa
+0, 75, 75, 1, 135000, 0x4132bd4c
+0, 76, 76, 1, 135000, 0x5babafe2
+0, 77, 77, 1, 135000, 0xddef6313
+0, 78, 78, 1, 135000, 0x76d6b48b
+0, 79, 79, 1, 135000, 0x929e7702
+0, 80, 80, 1, 135000, 0x33f5e4a1
+0, 81, 81, 1, 135000, 0xdb7041bf
+0, 82, 82, 1, 135000, 0xbc761e04
+0, 83, 83, 1, 135000, 0x0b2a81e6
+0, 84, 84, 1, 135000, 0xf6fd20ea
+0, 85, 85, 1, 135000, 0x1894a26c
+0, 86, 86, 1, 135000, 0xb25e216f
+0, 87, 87, 1, 135000, 0x83bb02ee
+0, 88, 88, 1, 135000, 0x6952a3c3
+0, 89, 89, 1, 135000, 0x372184d6
+0, 90, 90, 1, 135000, 0x2ac47afe
+0, 91, 91, 1, 135000, 0x14c33a35
+0, 92, 92, 1, 135000, 0xdc08470e
diff --git a/tests/ref/fate/vp6f b/tests/ref/fate/vp6f
index b942685c19..edb555dc63 100644
--- a/tests/ref/fate/vp6f
+++ b/tests/ref/fate/vp6f
@@ -1,174 +1,175 @@
-0, 0, 13440, 0x7cb0a22f
-0, 9000, 13440, 0xdfcea6ba
-0, 18000, 13440, 0x59b2a5da
-0, 27000, 13440, 0x12f1b2d8
-0, 36000, 13440, 0x280fb9f6
-0, 45000, 13440, 0x7bace8b3
-0, 54000, 13440, 0x4ec91480
-0, 63000, 13440, 0xa8010450
-0, 72000, 13440, 0x61d8fc46
-0, 81000, 13440, 0x242bb24e
-0, 90000, 13440, 0x88397a36
-0, 99000, 13440, 0x10e15726
-0, 108000, 13440, 0x3018438c
-0, 117000, 13440, 0xbbb94c21
-0, 126000, 13440, 0xfc3e5e2b
-0, 135000, 13440, 0xeaa69354
-0, 144000, 13440, 0x96f1cc01
-0, 153000, 13440, 0x333fdaff
-0, 162000, 13440, 0xb5230ed2
-0, 171000, 13440, 0x59383446
-0, 180000, 13440, 0x954939e6
-0, 189000, 13440, 0x53813d2f
-0, 198000, 13440, 0x3ca53600
-0, 207000, 13440, 0x7b30227a
-0, 216000, 13440, 0x5145bbfe
-0, 225000, 13440, 0xa0979632
-0, 234000, 13440, 0x08026e21
-0, 243000, 13440, 0x3f456d1e
-0, 252000, 13440, 0x7d036b62
-0, 261000, 13440, 0x508085fb
-0, 270000, 13440, 0x251dc193
-0, 279000, 13440, 0xf3121c9b
-0, 288000, 13440, 0xf5da772e
-0, 297000, 13440, 0x8179ccf7
-0, 306000, 13440, 0xd57ceeb3
-0, 315000, 13440, 0xc8f2169c
-0, 324000, 13440, 0xbf8296c3
-0, 333000, 13440, 0xee1927d0
-0, 342000, 13440, 0xdd84e8d1
-0, 351000, 13440, 0x7be57be2
-0, 360000, 13440, 0xae353f91
-0, 369000, 13440, 0x3ae927f2
-0, 378000, 13440, 0x417227c6
-0, 387000, 13440, 0x32572bea
-0, 396000, 13440, 0x8b9e4839
-0, 405000, 13440, 0xad669441
-0, 414000, 13440, 0xc9de99a6
-0, 423000, 13440, 0xb3ffb88b
-0, 432000, 13440, 0xb321b8a0
-0, 441000, 13440, 0x2efdbf53
-0, 450000, 13440, 0x9b7aa566
-0, 459000, 13440, 0x563c8d60
-0, 468000, 13440, 0xe3848ee8
-0, 477000, 13440, 0xa84b8f1d
-0, 486000, 13440, 0x52da9f9f
-0, 495000, 13440, 0x2ed56d97
-0, 504000, 13440, 0x4e8534c2
-0, 513000, 13440, 0x318900a6
-0, 522000, 13440, 0xda96de39
-0, 531000, 13440, 0xaae7ac0b
-0, 540000, 13440, 0x7533ad99
-0, 549000, 13440, 0x4e70c2c9
-0, 558000, 13440, 0x9ce5e3fa
-0, 567000, 13440, 0xc788fbbc
-0, 576000, 13440, 0xd36604a9
-0, 585000, 13440, 0x246221a4
-0, 594000, 13440, 0x290c5c2b
-0, 603000, 13440, 0xde6c68ec
-0, 612000, 13440, 0x56248dbf
-0, 621000, 13440, 0x5b898cbd
-0, 630000, 13440, 0x090574b9
-0, 639000, 13440, 0x8df2814a
-0, 648000, 13440, 0xd4a6b285
-0, 657000, 13440, 0xa016e921
-0, 666000, 13440, 0x7f93fdc1
-0, 675000, 13440, 0xfd0dee6f
-0, 684000, 13440, 0xef04ce0e
-0, 693000, 13440, 0x7560bee3
-0, 702000, 13440, 0x5a8cdc85
-0, 711000, 13440, 0x4788f7bc
-0, 720000, 13440, 0xc001e34d
-0, 729000, 13440, 0xc687eb74
-0, 738000, 13440, 0xbf20feba
-0, 747000, 13440, 0xd32647a8
-0, 756000, 13440, 0xe69a955a
-0, 765000, 13440, 0x1b56951f
-0, 774000, 13440, 0xd1977378
-0, 783000, 13440, 0x1620357d
-0, 792000, 13440, 0x2596116f
-0, 801000, 13440, 0x7473feca
-0, 810000, 13440, 0x7f92bb47
-0, 819000, 13440, 0x6866a683
-0, 828000, 13440, 0xe9b08d7e
-0, 837000, 13440, 0xa3fd7546
-0, 846000, 13440, 0xa4416522
-0, 855000, 13440, 0xd8f5572e
-0, 864000, 13440, 0xf5746dbd
-0, 873000, 13440, 0x256a87c6
-0, 882000, 13440, 0x722aa2c8
-0, 891000, 13440, 0xb26de5f5
-0, 900000, 13440, 0x117f0841
-0, 909000, 13440, 0xda2d192c
-0, 918000, 13440, 0xb022442d
-0, 927000, 13440, 0xbc4044f2
-0, 936000, 13440, 0x68b330da
-0, 945000, 13440, 0xc07228cf
-0, 954000, 13440, 0xaa3f3d44
-0, 963000, 13440, 0x25867aad
-0, 972000, 13440, 0xa3ecb432
-0, 981000, 13440, 0x93ccdcbb
-0, 990000, 13440, 0x8302fa4f
-0, 999000, 13440, 0x2f960f33
-0, 1008000, 13440, 0x15d41d14
-0, 1017000, 13440, 0x636529d0
-0, 1026000, 13440, 0x11035be5
-0, 1035000, 13440, 0x9b6e9167
-0, 1044000, 13440, 0x7b01adc7
-0, 1053000, 13440, 0xa237e05d
-0, 1062000, 13440, 0xd2f4f134
-0, 1071000, 13440, 0x2052d368
-0, 1080000, 13440, 0x08f7ae0d
-0, 1089000, 13440, 0xa89185bc
-0, 1098000, 13440, 0xfa628236
-0, 1107000, 13440, 0xdf79848b
-0, 1116000, 13440, 0xd19a906f
-0, 1125000, 13440, 0x219f9324
-0, 1134000, 13440, 0x46509b6d
-0, 1143000, 13440, 0xc5d9a568
-0, 1152000, 13440, 0xb21aaaa8
-0, 1161000, 13440, 0x925a97ed
-0, 1170000, 13440, 0xc5e3557f
-0, 1179000, 13440, 0x7c57155a
-0, 1188000, 13440, 0x6b26d005
-0, 1197000, 13440, 0xfdc7b369
-0, 1206000, 13440, 0x99919fc2
-0, 1215000, 13440, 0xcfe889e4
-0, 1224000, 13440, 0xd1196856
-0, 1233000, 13440, 0xec8348c6
-0, 1242000, 13440, 0x5ede0d9a
-0, 1251000, 13440, 0x198ef66e
-0, 1260000, 13440, 0x62fcefdf
-0, 1269000, 13440, 0x7791f415
-0, 1278000, 13440, 0xfbdb0029
-0, 1287000, 13440, 0xdab12b01
-0, 1296000, 13440, 0x646b2d5f
-0, 1305000, 13440, 0x5410f52e
-0, 1314000, 13440, 0x7186eef8
-0, 1323000, 13440, 0xca251ef6
-0, 1332000, 13440, 0x757c3b43
-0, 1341000, 13440, 0x59ff4982
-0, 1350000, 13440, 0xbe8ff084
-0, 1359000, 13440, 0xc85a9e38
-0, 1368000, 13440, 0x541b9a19
-0, 1377000, 13440, 0x274893c9
-0, 1386000, 13440, 0x7634b5d2
-0, 1395000, 13440, 0x1bd8e10c
-0, 1404000, 13440, 0xa661dfb1
-0, 1413000, 13440, 0x9d01bf92
-0, 1422000, 13440, 0xcb1eb220
-0, 1431000, 13440, 0x0ce27d25
-0, 1440000, 13440, 0x523b594f
-0, 1449000, 13440, 0xf0a04c4f
-0, 1458000, 13440, 0x0f0ffc3d
-0, 1467000, 13440, 0xb0d8b778
-0, 1476000, 13440, 0x5137a642
-0, 1485000, 13440, 0xd213a552
-0, 1494000, 13440, 0xc2fbc9b1
-0, 1503000, 13440, 0xfc2ee379
-0, 1512000, 13440, 0xfb80f737
-0, 1521000, 13440, 0xd6cb2447
-0, 1530000, 13440, 0x124b606d
-0, 1539000, 13440, 0xf788a066
-0, 1548000, 13440, 0xa16eed6e
-0, 1557000, 13440, 0x73ff0f82
+#tb 0: 1/10
+0, 0, 0, 1, 13440, 0x7cb0a22f
+0, 1, 1, 1, 13440, 0xdfcea6ba
+0, 2, 2, 1, 13440, 0x59b2a5da
+0, 3, 3, 1, 13440, 0x12f1b2d8
+0, 4, 4, 1, 13440, 0x280fb9f6
+0, 5, 5, 1, 13440, 0x7bace8b3
+0, 6, 6, 1, 13440, 0x4ec91480
+0, 7, 7, 1, 13440, 0xa8010450
+0, 8, 8, 1, 13440, 0x61d8fc46
+0, 9, 9, 1, 13440, 0x242bb24e
+0, 10, 10, 1, 13440, 0x88397a36
+0, 11, 11, 1, 13440, 0x10e15726
+0, 12, 12, 1, 13440, 0x3018438c
+0, 13, 13, 1, 13440, 0xbbb94c21
+0, 14, 14, 1, 13440, 0xfc3e5e2b
+0, 15, 15, 1, 13440, 0xeaa69354
+0, 16, 16, 1, 13440, 0x96f1cc01
+0, 17, 17, 1, 13440, 0x333fdaff
+0, 18, 18, 1, 13440, 0xb5230ed2
+0, 19, 19, 1, 13440, 0x59383446
+0, 20, 20, 1, 13440, 0x954939e6
+0, 21, 21, 1, 13440, 0x53813d2f
+0, 22, 22, 1, 13440, 0x3ca53600
+0, 23, 23, 1, 13440, 0x7b30227a
+0, 24, 24, 1, 13440, 0x5145bbfe
+0, 25, 25, 1, 13440, 0xa0979632
+0, 26, 26, 1, 13440, 0x08026e21
+0, 27, 27, 1, 13440, 0x3f456d1e
+0, 28, 28, 1, 13440, 0x7d036b62
+0, 29, 29, 1, 13440, 0x508085fb
+0, 30, 30, 1, 13440, 0x251dc193
+0, 31, 31, 1, 13440, 0xf3121c9b
+0, 32, 32, 1, 13440, 0xf5da772e
+0, 33, 33, 1, 13440, 0x8179ccf7
+0, 34, 34, 1, 13440, 0xd57ceeb3
+0, 35, 35, 1, 13440, 0xc8f2169c
+0, 36, 36, 1, 13440, 0xbf8296c3
+0, 37, 37, 1, 13440, 0xee1927d0
+0, 38, 38, 1, 13440, 0xdd84e8d1
+0, 39, 39, 1, 13440, 0x7be57be2
+0, 40, 40, 1, 13440, 0xae353f91
+0, 41, 41, 1, 13440, 0x3ae927f2
+0, 42, 42, 1, 13440, 0x417227c6
+0, 43, 43, 1, 13440, 0x32572bea
+0, 44, 44, 1, 13440, 0x8b9e4839
+0, 45, 45, 1, 13440, 0xad669441
+0, 46, 46, 1, 13440, 0xc9de99a6
+0, 47, 47, 1, 13440, 0xb3ffb88b
+0, 48, 48, 1, 13440, 0xb321b8a0
+0, 49, 49, 1, 13440, 0x2efdbf53
+0, 50, 50, 1, 13440, 0x9b7aa566
+0, 51, 51, 1, 13440, 0x563c8d60
+0, 52, 52, 1, 13440, 0xe3848ee8
+0, 53, 53, 1, 13440, 0xa84b8f1d
+0, 54, 54, 1, 13440, 0x52da9f9f
+0, 55, 55, 1, 13440, 0x2ed56d97
+0, 56, 56, 1, 13440, 0x4e8534c2
+0, 57, 57, 1, 13440, 0x318900a6
+0, 58, 58, 1, 13440, 0xda96de39
+0, 59, 59, 1, 13440, 0xaae7ac0b
+0, 60, 60, 1, 13440, 0x7533ad99
+0, 61, 61, 1, 13440, 0x4e70c2c9
+0, 62, 62, 1, 13440, 0x9ce5e3fa
+0, 63, 63, 1, 13440, 0xc788fbbc
+0, 64, 64, 1, 13440, 0xd36604a9
+0, 65, 65, 1, 13440, 0x246221a4
+0, 66, 66, 1, 13440, 0x290c5c2b
+0, 67, 67, 1, 13440, 0xde6c68ec
+0, 68, 68, 1, 13440, 0x56248dbf
+0, 69, 69, 1, 13440, 0x5b898cbd
+0, 70, 70, 1, 13440, 0x090574b9
+0, 71, 71, 1, 13440, 0x8df2814a
+0, 72, 72, 1, 13440, 0xd4a6b285
+0, 73, 73, 1, 13440, 0xa016e921
+0, 74, 74, 1, 13440, 0x7f93fdc1
+0, 75, 75, 1, 13440, 0xfd0dee6f
+0, 76, 76, 1, 13440, 0xef04ce0e
+0, 77, 77, 1, 13440, 0x7560bee3
+0, 78, 78, 1, 13440, 0x5a8cdc85
+0, 79, 79, 1, 13440, 0x4788f7bc
+0, 80, 80, 1, 13440, 0xc001e34d
+0, 81, 81, 1, 13440, 0xc687eb74
+0, 82, 82, 1, 13440, 0xbf20feba
+0, 83, 83, 1, 13440, 0xd32647a8
+0, 84, 84, 1, 13440, 0xe69a955a
+0, 85, 85, 1, 13440, 0x1b56951f
+0, 86, 86, 1, 13440, 0xd1977378
+0, 87, 87, 1, 13440, 0x1620357d
+0, 88, 88, 1, 13440, 0x2596116f
+0, 89, 89, 1, 13440, 0x7473feca
+0, 90, 90, 1, 13440, 0x7f92bb47
+0, 91, 91, 1, 13440, 0x6866a683
+0, 92, 92, 1, 13440, 0xe9b08d7e
+0, 93, 93, 1, 13440, 0xa3fd7546
+0, 94, 94, 1, 13440, 0xa4416522
+0, 95, 95, 1, 13440, 0xd8f5572e
+0, 96, 96, 1, 13440, 0xf5746dbd
+0, 97, 97, 1, 13440, 0x256a87c6
+0, 98, 98, 1, 13440, 0x722aa2c8
+0, 99, 99, 1, 13440, 0xb26de5f5
+0, 100, 100, 1, 13440, 0x117f0841
+0, 101, 101, 1, 13440, 0xda2d192c
+0, 102, 102, 1, 13440, 0xb022442d
+0, 103, 103, 1, 13440, 0xbc4044f2
+0, 104, 104, 1, 13440, 0x68b330da
+0, 105, 105, 1, 13440, 0xc07228cf
+0, 106, 106, 1, 13440, 0xaa3f3d44
+0, 107, 107, 1, 13440, 0x25867aad
+0, 108, 108, 1, 13440, 0xa3ecb432
+0, 109, 109, 1, 13440, 0x93ccdcbb
+0, 110, 110, 1, 13440, 0x8302fa4f
+0, 111, 111, 1, 13440, 0x2f960f33
+0, 112, 112, 1, 13440, 0x15d41d14
+0, 113, 113, 1, 13440, 0x636529d0
+0, 114, 114, 1, 13440, 0x11035be5
+0, 115, 115, 1, 13440, 0x9b6e9167
+0, 116, 116, 1, 13440, 0x7b01adc7
+0, 117, 117, 1, 13440, 0xa237e05d
+0, 118, 118, 1, 13440, 0xd2f4f134
+0, 119, 119, 1, 13440, 0x2052d368
+0, 120, 120, 1, 13440, 0x08f7ae0d
+0, 121, 121, 1, 13440, 0xa89185bc
+0, 122, 122, 1, 13440, 0xfa628236
+0, 123, 123, 1, 13440, 0xdf79848b
+0, 124, 124, 1, 13440, 0xd19a906f
+0, 125, 125, 1, 13440, 0x219f9324
+0, 126, 126, 1, 13440, 0x46509b6d
+0, 127, 127, 1, 13440, 0xc5d9a568
+0, 128, 128, 1, 13440, 0xb21aaaa8
+0, 129, 129, 1, 13440, 0x925a97ed
+0, 130, 130, 1, 13440, 0xc5e3557f
+0, 131, 131, 1, 13440, 0x7c57155a
+0, 132, 132, 1, 13440, 0x6b26d005
+0, 133, 133, 1, 13440, 0xfdc7b369
+0, 134, 134, 1, 13440, 0x99919fc2
+0, 135, 135, 1, 13440, 0xcfe889e4
+0, 136, 136, 1, 13440, 0xd1196856
+0, 137, 137, 1, 13440, 0xec8348c6
+0, 138, 138, 1, 13440, 0x5ede0d9a
+0, 139, 139, 1, 13440, 0x198ef66e
+0, 140, 140, 1, 13440, 0x62fcefdf
+0, 141, 141, 1, 13440, 0x7791f415
+0, 142, 142, 1, 13440, 0xfbdb0029
+0, 143, 143, 1, 13440, 0xdab12b01
+0, 144, 144, 1, 13440, 0x646b2d5f
+0, 145, 145, 1, 13440, 0x5410f52e
+0, 146, 146, 1, 13440, 0x7186eef8
+0, 147, 147, 1, 13440, 0xca251ef6
+0, 148, 148, 1, 13440, 0x757c3b43
+0, 149, 149, 1, 13440, 0x59ff4982
+0, 150, 150, 1, 13440, 0xbe8ff084
+0, 151, 151, 1, 13440, 0xc85a9e38
+0, 152, 152, 1, 13440, 0x541b9a19
+0, 153, 153, 1, 13440, 0x274893c9
+0, 154, 154, 1, 13440, 0x7634b5d2
+0, 155, 155, 1, 13440, 0x1bd8e10c
+0, 156, 156, 1, 13440, 0xa661dfb1
+0, 157, 157, 1, 13440, 0x9d01bf92
+0, 158, 158, 1, 13440, 0xcb1eb220
+0, 159, 159, 1, 13440, 0x0ce27d25
+0, 160, 160, 1, 13440, 0x523b594f
+0, 161, 161, 1, 13440, 0xf0a04c4f
+0, 162, 162, 1, 13440, 0x0f0ffc3d
+0, 163, 163, 1, 13440, 0xb0d8b778
+0, 164, 164, 1, 13440, 0x5137a642
+0, 165, 165, 1, 13440, 0xd213a552
+0, 166, 166, 1, 13440, 0xc2fbc9b1
+0, 167, 167, 1, 13440, 0xfc2ee379
+0, 168, 168, 1, 13440, 0xfb80f737
+0, 169, 169, 1, 13440, 0xd6cb2447
+0, 170, 170, 1, 13440, 0x124b606d
+0, 171, 171, 1, 13440, 0xf788a066
+0, 172, 172, 1, 13440, 0xa16eed6e
+0, 173, 173, 1, 13440, 0x73ff0f82
diff --git a/tests/ref/fate/vp8-sign-bias b/tests/ref/fate/vp8-sign-bias
index 4e4f6c4b2d..f125bff820 100644
--- a/tests/ref/fate/vp8-sign-bias
+++ b/tests/ref/fate/vp8-sign-bias
@@ -1,9 +1,10 @@
-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
+#tb 0: 1/24
+0, 0, 0, 1, 614880, 12ce23b288485be3ddbc1db28c21517f
+0, 1, 1, 1, 614880, ce352e1079535ea058c0e9ad50f7cdb8
+0, 2, 2, 1, 614880, 9f6bf2739a027dfd12c81586cf75d3a3
+0, 3, 3, 1, 614880, 7593a85ab7790eb39d65fc53f769ed8b
+0, 4, 4, 1, 614880, 52f47f1e0348f3297d9f233fb5405e8b
+0, 5, 5, 1, 614880, cd51d2c200bfd66e8e1b0fd6b404570f
+0, 6, 6, 1, 614880, cf535cf0a53e903cd98a9a944b72da6d
+0, 7, 7, 1, 614880, 1b270fd2b56daa7892102c2885d23201
+0, 8, 8, 1, 614880, ff373c0c8a4a319c84e72b1c3d76b399
diff --git a/tests/ref/fate/vp8-test-vector-001 b/tests/ref/fate/vp8-test-vector-001
index df138923dc..64accc488c 100644
--- a/tests/ref/fate/vp8-test-vector-001
+++ b/tests/ref/fate/vp8-test-vector-001
@@ -1,29 +1,30 @@
-0, 0, 38016, 83c78b5db579710f61f9354d5c51e8c8
-0, 3000, 38016, 8d089d226f52d6cdaffdb3fcc080b75b
-0, 6000, 38016, acaae81ca812145e85e0be83bdf54226
-0, 9000, 38016, e94651d798b6bf5f09a9bba10cacaf7a
-0, 12000, 38016, 60c2607913e528d501962bf407341731
-0, 15000, 38016, e683f2bf28b31e36db88087bd03b6917
-0, 18000, 38016, 0c2923785051bc9b90c2447a85527764
-0, 21000, 38016, 1bc97b6b2e4ca36b149c3768495747ac
-0, 24000, 38016, 0586d948ed3fd479c6dd08055973bcb4
-0, 27000, 38016, c9a1198e1680487c77a2d1631695aeec
-0, 30000, 38016, 547d8ffce9c085231c74717a9b815625
-0, 33000, 38016, d31c02a5591eb7bd8e73703252e1a1ab
-0, 36000, 38016, 23bafc8e22b2ed7e8c5e52369095cd30
-0, 39000, 38016, 9725d52d7810a19b20dcc9bb0fa36abd
-0, 42000, 38016, 7aefaabdcd2595939fd05078d01b484b
-0, 45000, 38016, 828e758d6f0b29b2693b2dc6b09249a6
-0, 48000, 38016, 53f09380dde1420ba270b74d8819537c
-0, 51000, 38016, 09791a7db3bc28258350cfdc95d8f224
-0, 54000, 38016, 2050271dc4ba3f3e427cf8088c96e28d
-0, 57000, 38016, 4e69d3f7cea45844b740368fcd4dd815
-0, 60000, 38016, 4ed07697e239b7f12ee6a97ad09c08fb
-0, 63000, 38016, 1437c129bfbda63ca1d39a94ee91b097
-0, 66000, 38016, 4fc951bf45e164b711591155a59c73fa
-0, 69000, 38016, 97d1007e27b4b9072751e87e8d1f1415
-0, 72000, 38016, 18c809835dcc3d30c93ae1be569dcd24
-0, 75000, 38016, de0fd0035a542791c4dda5735657efc5
-0, 78000, 38016, 27a70ff95d0cfa10f54652c9fb8a9db2
-0, 81000, 38016, 2285b9324ec91099626191f769962e44
-0, 84000, 38016, 56794d911b02190212bca92f88ad60c6
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
+0, 1, 1, 1, 38016, 8d089d226f52d6cdaffdb3fcc080b75b
+0, 2, 2, 1, 38016, acaae81ca812145e85e0be83bdf54226
+0, 3, 3, 1, 38016, e94651d798b6bf5f09a9bba10cacaf7a
+0, 4, 4, 1, 38016, 60c2607913e528d501962bf407341731
+0, 5, 5, 1, 38016, e683f2bf28b31e36db88087bd03b6917
+0, 6, 6, 1, 38016, 0c2923785051bc9b90c2447a85527764
+0, 7, 7, 1, 38016, 1bc97b6b2e4ca36b149c3768495747ac
+0, 8, 8, 1, 38016, 0586d948ed3fd479c6dd08055973bcb4
+0, 9, 9, 1, 38016, c9a1198e1680487c77a2d1631695aeec
+0, 10, 10, 1, 38016, 547d8ffce9c085231c74717a9b815625
+0, 11, 11, 1, 38016, d31c02a5591eb7bd8e73703252e1a1ab
+0, 12, 12, 1, 38016, 23bafc8e22b2ed7e8c5e52369095cd30
+0, 13, 13, 1, 38016, 9725d52d7810a19b20dcc9bb0fa36abd
+0, 14, 14, 1, 38016, 7aefaabdcd2595939fd05078d01b484b
+0, 15, 15, 1, 38016, 828e758d6f0b29b2693b2dc6b09249a6
+0, 16, 16, 1, 38016, 53f09380dde1420ba270b74d8819537c
+0, 17, 17, 1, 38016, 09791a7db3bc28258350cfdc95d8f224
+0, 18, 18, 1, 38016, 2050271dc4ba3f3e427cf8088c96e28d
+0, 19, 19, 1, 38016, 4e69d3f7cea45844b740368fcd4dd815
+0, 20, 20, 1, 38016, 4ed07697e239b7f12ee6a97ad09c08fb
+0, 21, 21, 1, 38016, 1437c129bfbda63ca1d39a94ee91b097
+0, 22, 22, 1, 38016, 4fc951bf45e164b711591155a59c73fa
+0, 23, 23, 1, 38016, 97d1007e27b4b9072751e87e8d1f1415
+0, 24, 24, 1, 38016, 18c809835dcc3d30c93ae1be569dcd24
+0, 25, 25, 1, 38016, de0fd0035a542791c4dda5735657efc5
+0, 26, 26, 1, 38016, 27a70ff95d0cfa10f54652c9fb8a9db2
+0, 27, 27, 1, 38016, 2285b9324ec91099626191f769962e44
+0, 28, 28, 1, 38016, 56794d911b02190212bca92f88ad60c6
diff --git a/tests/ref/fate/vp8-test-vector-002 b/tests/ref/fate/vp8-test-vector-002
index 0ec5af81d9..d42674ad0a 100644
--- a/tests/ref/fate/vp8-test-vector-002
+++ b/tests/ref/fate/vp8-test-vector-002
@@ -1,49 +1,50 @@
-0, 0, 38016, 872e9922f37f0e92c767d33e0a15b8e0
-0, 3750, 38016, ea5ad6c6ee4355018fc0ba83b5172836
-0, 7500, 38016, fe744612b2167c9ba6e1dc81c031e16a
-0, 11250, 38016, 744359695caee3f32307a2d7eef09e85
-0, 15000, 38016, 07211ac8d8bae4d931ade402ff6e3c12
-0, 18750, 38016, 2ce02854f228b1378d9dc34cab8d343b
-0, 22500, 38016, af5222ad42c4f22f22fbf19c26c02dcb
-0, 26250, 38016, 88538d39f2647df8fedf15bd1b767bbf
-0, 30000, 38016, d0d936471dd4e9922eb067c0f09eacab
-0, 33750, 38016, 03cb1f5c5026e96f6e686aa1fa9b1028
-0, 37500, 38016, 2ebe35e23d2244c5b0f777fbc01f8f37
-0, 41250, 38016, f9314f5ea91ebbaaed6e37ca0701ed67
-0, 45000, 38016, 37dca7530d09fd1e8bad154b9e312ea2
-0, 48750, 38016, 9841dc8ff6424abe362c4dfe03b5fbd0
-0, 52500, 38016, 72bd0b70c576dfb544f622c488217491
-0, 56250, 38016, 309b21c126153f20f312e38a8dad44e1
-0, 60000, 38016, 0acbb170ede66ebdae4e9d8e56908f75
-0, 63750, 38016, 318c9c3e531d00734b5f78433da176c9
-0, 67500, 38016, 0388dfdb2a792148b44bdb705cc2df99
-0, 71250, 38016, f440adff2b44888becbf3ca16e425441
-0, 75000, 38016, ac41431627d8d1712d40412ab8c3200c
-0, 78750, 38016, 417e1abbfe2a078663dae688ae4a9bb1
-0, 82500, 38016, 73d493bdf4a29d5cfeec610109f582a8
-0, 86250, 38016, 3c026a536ef36467d4a9db6bcc20cec1
-0, 90000, 38016, 57836430f2f10862b84541d99cca062c
-0, 93750, 38016, 04ad6fa97e1ff49931b574bdaaddd5db
-0, 97500, 38016, e94f2ec4cbf2b9067a4a4307eadebb6f
-0, 101250, 38016, e3542cdee672d97c65ab06dbe611247d
-0, 105000, 38016, 6c83c6c76aa8bf73646eb7a714cb42bf
-0, 108750, 38016, b5f64c6fc6d0c777a0a0b9097862f171
-0, 112500, 38016, 293dccaf5027759679bb9e8696b6381a
-0, 116250, 38016, 1a3d015ff9b164cb7922aef0aeac520e
-0, 120000, 38016, 93f9152d9425f0ec43160a0c01c485b2
-0, 123750, 38016, c7c4a8f78f781f70cedc44edc1d06911
-0, 127500, 38016, 21330442d5bef415fd765759d867c98b
-0, 131250, 38016, 6164258040f85206a3833aeb4f27a34f
-0, 135000, 38016, 3213e1405dfe6588a7334a8bc2b1e47f
-0, 138750, 38016, a619fa73f0081a349dfa2b000de19045
-0, 142500, 38016, 1f3cec4bb793dc4a118ddcf500090f37
-0, 146250, 38016, 12308ec77632ca10f1451aec8e62b82f
-0, 150000, 38016, 018c7f50ed4a494a9fcd32fdfed6705f
-0, 153750, 38016, a7282728fbd7e0b49a6967b0ea4e1f61
-0, 157500, 38016, 6aa15ab83e82f246ee9c7b7a040bfaac
-0, 161250, 38016, e4c17d2603e03753d54a142491cf5dc0
-0, 165000, 38016, 0a7331aa707e42e732f04e9175438195
-0, 168750, 38016, b522cfa3f3c706d1901231bb9e6b4b8a
-0, 172500, 38016, 7b2a70e47d9af98cfa6216ed2a7d528c
-0, 176250, 38016, b56e22bc9beacff9c3207b2757fc7f94
-0, 180000, 38016, a3dfc9461c0480cf56ee465ddabf0de1
+#tb 0: 1/24
+0, 0, 0, 1, 38016, 872e9922f37f0e92c767d33e0a15b8e0
+0, 1, 1, 1, 38016, ea5ad6c6ee4355018fc0ba83b5172836
+0, 2, 2, 1, 38016, fe744612b2167c9ba6e1dc81c031e16a
+0, 3, 3, 1, 38016, 744359695caee3f32307a2d7eef09e85
+0, 4, 4, 1, 38016, 07211ac8d8bae4d931ade402ff6e3c12
+0, 5, 5, 1, 38016, 2ce02854f228b1378d9dc34cab8d343b
+0, 6, 6, 1, 38016, af5222ad42c4f22f22fbf19c26c02dcb
+0, 7, 7, 1, 38016, 88538d39f2647df8fedf15bd1b767bbf
+0, 8, 8, 1, 38016, d0d936471dd4e9922eb067c0f09eacab
+0, 9, 9, 1, 38016, 03cb1f5c5026e96f6e686aa1fa9b1028
+0, 10, 10, 1, 38016, 2ebe35e23d2244c5b0f777fbc01f8f37
+0, 11, 11, 1, 38016, f9314f5ea91ebbaaed6e37ca0701ed67
+0, 12, 12, 1, 38016, 37dca7530d09fd1e8bad154b9e312ea2
+0, 13, 13, 1, 38016, 9841dc8ff6424abe362c4dfe03b5fbd0
+0, 14, 14, 1, 38016, 72bd0b70c576dfb544f622c488217491
+0, 15, 15, 1, 38016, 309b21c126153f20f312e38a8dad44e1
+0, 16, 16, 1, 38016, 0acbb170ede66ebdae4e9d8e56908f75
+0, 17, 17, 1, 38016, 318c9c3e531d00734b5f78433da176c9
+0, 18, 18, 1, 38016, 0388dfdb2a792148b44bdb705cc2df99
+0, 19, 19, 1, 38016, f440adff2b44888becbf3ca16e425441
+0, 20, 20, 1, 38016, ac41431627d8d1712d40412ab8c3200c
+0, 21, 21, 1, 38016, 417e1abbfe2a078663dae688ae4a9bb1
+0, 22, 22, 1, 38016, 73d493bdf4a29d5cfeec610109f582a8
+0, 23, 23, 1, 38016, 3c026a536ef36467d4a9db6bcc20cec1
+0, 24, 24, 1, 38016, 57836430f2f10862b84541d99cca062c
+0, 25, 25, 1, 38016, 04ad6fa97e1ff49931b574bdaaddd5db
+0, 26, 26, 1, 38016, e94f2ec4cbf2b9067a4a4307eadebb6f
+0, 27, 27, 1, 38016, e3542cdee672d97c65ab06dbe611247d
+0, 28, 28, 1, 38016, 6c83c6c76aa8bf73646eb7a714cb42bf
+0, 29, 29, 1, 38016, b5f64c6fc6d0c777a0a0b9097862f171
+0, 30, 30, 1, 38016, 293dccaf5027759679bb9e8696b6381a
+0, 31, 31, 1, 38016, 1a3d015ff9b164cb7922aef0aeac520e
+0, 32, 32, 1, 38016, 93f9152d9425f0ec43160a0c01c485b2
+0, 33, 33, 1, 38016, c7c4a8f78f781f70cedc44edc1d06911
+0, 34, 34, 1, 38016, 21330442d5bef415fd765759d867c98b
+0, 35, 35, 1, 38016, 6164258040f85206a3833aeb4f27a34f
+0, 36, 36, 1, 38016, 3213e1405dfe6588a7334a8bc2b1e47f
+0, 37, 37, 1, 38016, a619fa73f0081a349dfa2b000de19045
+0, 38, 38, 1, 38016, 1f3cec4bb793dc4a118ddcf500090f37
+0, 39, 39, 1, 38016, 12308ec77632ca10f1451aec8e62b82f
+0, 40, 40, 1, 38016, 018c7f50ed4a494a9fcd32fdfed6705f
+0, 41, 41, 1, 38016, a7282728fbd7e0b49a6967b0ea4e1f61
+0, 42, 42, 1, 38016, 6aa15ab83e82f246ee9c7b7a040bfaac
+0, 43, 43, 1, 38016, e4c17d2603e03753d54a142491cf5dc0
+0, 44, 44, 1, 38016, 0a7331aa707e42e732f04e9175438195
+0, 45, 45, 1, 38016, b522cfa3f3c706d1901231bb9e6b4b8a
+0, 46, 46, 1, 38016, 7b2a70e47d9af98cfa6216ed2a7d528c
+0, 47, 47, 1, 38016, b56e22bc9beacff9c3207b2757fc7f94
+0, 48, 48, 1, 38016, a3dfc9461c0480cf56ee465ddabf0de1
diff --git a/tests/ref/fate/vp8-test-vector-003 b/tests/ref/fate/vp8-test-vector-003
index 9ff420028d..504766fd52 100644
--- a/tests/ref/fate/vp8-test-vector-003
+++ b/tests/ref/fate/vp8-test-vector-003
@@ -1,49 +1,50 @@
-0, 0, 38016, 96e6ce168b5ef377053e86ab5484e7f9
-0, 3750, 38016, 10fd750292d8522ab7ee577043604789
-0, 7500, 38016, e040995173dc5c85abbbe38f6823ff9a
-0, 11250, 38016, 5aa18f4fbd8b5b887d74f84cc92075dc
-0, 15000, 38016, f0dc7f520e88b94e5cb924d804b0472a
-0, 18750, 38016, 2375955dce3bb0a824779a800cd1555b
-0, 22500, 38016, 3e96a0e477de39530e1950cff284a854
-0, 26250, 38016, 6cd40fa8a89221f2b990bd8af2a9ee14
-0, 30000, 38016, 0b929243ceeffce836279e2aa84647cd
-0, 33750, 38016, 1e95f0ad25fe033076b57c3852bb3550
-0, 37500, 38016, 81aa93a3f9c56d2aa4b8285d3507e6b4
-0, 41250, 38016, cf9947a302dec306d7f487cf3a2731b0
-0, 45000, 38016, 3b9ca47752db95a049678da07974b476
-0, 48750, 38016, aa6788405dc47dd44867fca6c95ba3d9
-0, 52500, 38016, 276d1c62b908c081c7bbb78f943b0de1
-0, 56250, 38016, eb006b6218e457fd794e9b3a5dfbf638
-0, 60000, 38016, 9dd5312833e770286c5aa5436a00376e
-0, 63750, 38016, 7899278e66aa255ce5bf69a6e1137d0f
-0, 67500, 38016, 0ac7d062ea7550fa0717723b1272abc2
-0, 71250, 38016, d8f1bb881a46ecafcbbe457a004a71f1
-0, 75000, 38016, cc3a04b98159189a74b5241df540d8fb
-0, 78750, 38016, 4e29eb2c8c465ae9ffcfa28ec0b3694b
-0, 82500, 38016, 608fb6ba526e6aa4ad1c0290aedaa69d
-0, 86250, 38016, 4acc6a73547be6310b9a275436c55805
-0, 90000, 38016, 482cf409b86242d30f3a78a6c85364df
-0, 93750, 38016, a22cb76770f112eb1169218cc87c1e4f
-0, 97500, 38016, e74675b051ff05e178a9a24893721d99
-0, 101250, 38016, ee5061bff62c8c8603b7bc2bb2bb29e8
-0, 105000, 38016, a3c0ab11f338bd488c69f2b62e1e5a74
-0, 108750, 38016, 9f6b7e30e0ed4e272393b9a9957752e1
-0, 112500, 38016, 9cce9f2ffff1766d05bda04e46eff997
-0, 116250, 38016, 5105a2ba923bc6f21ea3d32ab1bc7bf8
-0, 120000, 38016, 957d619a1001e2b5e52db166b66b7f50
-0, 123750, 38016, fdb4e71cddeec8a321d9c8d4ffc506ce
-0, 127500, 38016, 9ee646940fb8ac2312d29e9f1c3b6d40
-0, 131250, 38016, a110e81d2105beae81cd36b15bc5ac2f
-0, 135000, 38016, 804b6d8fc99fadb9c6bfdae3becee6b5
-0, 138750, 38016, e217627bbaeebf30456e38aeb1f0746b
-0, 142500, 38016, 56468a2c548dd3085b4bce88c4a1e41d
-0, 146250, 38016, ef170e7f21e2b262525b43d6b25dec4c
-0, 150000, 38016, 3acc3c47def8a0fa0561eaacaf9e41a1
-0, 153750, 38016, 0c3e2187f13e4504fb4b246706bba83c
-0, 157500, 38016, 397326a22e6e49487309c39d64037df8
-0, 161250, 38016, 95236c1319b6f1f692b3998547811ee7
-0, 165000, 38016, 5aff1957504884abf74d6fb74b74b032
-0, 168750, 38016, 6de06343435a8926a746037cab5f633c
-0, 172500, 38016, 3de68e05ddf2c60ee9110048ceefeb6a
-0, 176250, 38016, e637fef689edad6ffd6eeb4a29004bf7
-0, 180000, 38016, bb809114af8df5cb4ed82d3a1d11a673
+#tb 0: 1/24
+0, 0, 0, 1, 38016, 96e6ce168b5ef377053e86ab5484e7f9
+0, 1, 1, 1, 38016, 10fd750292d8522ab7ee577043604789
+0, 2, 2, 1, 38016, e040995173dc5c85abbbe38f6823ff9a
+0, 3, 3, 1, 38016, 5aa18f4fbd8b5b887d74f84cc92075dc
+0, 4, 4, 1, 38016, f0dc7f520e88b94e5cb924d804b0472a
+0, 5, 5, 1, 38016, 2375955dce3bb0a824779a800cd1555b
+0, 6, 6, 1, 38016, 3e96a0e477de39530e1950cff284a854
+0, 7, 7, 1, 38016, 6cd40fa8a89221f2b990bd8af2a9ee14
+0, 8, 8, 1, 38016, 0b929243ceeffce836279e2aa84647cd
+0, 9, 9, 1, 38016, 1e95f0ad25fe033076b57c3852bb3550
+0, 10, 10, 1, 38016, 81aa93a3f9c56d2aa4b8285d3507e6b4
+0, 11, 11, 1, 38016, cf9947a302dec306d7f487cf3a2731b0
+0, 12, 12, 1, 38016, 3b9ca47752db95a049678da07974b476
+0, 13, 13, 1, 38016, aa6788405dc47dd44867fca6c95ba3d9
+0, 14, 14, 1, 38016, 276d1c62b908c081c7bbb78f943b0de1
+0, 15, 15, 1, 38016, eb006b6218e457fd794e9b3a5dfbf638
+0, 16, 16, 1, 38016, 9dd5312833e770286c5aa5436a00376e
+0, 17, 17, 1, 38016, 7899278e66aa255ce5bf69a6e1137d0f
+0, 18, 18, 1, 38016, 0ac7d062ea7550fa0717723b1272abc2
+0, 19, 19, 1, 38016, d8f1bb881a46ecafcbbe457a004a71f1
+0, 20, 20, 1, 38016, cc3a04b98159189a74b5241df540d8fb
+0, 21, 21, 1, 38016, 4e29eb2c8c465ae9ffcfa28ec0b3694b
+0, 22, 22, 1, 38016, 608fb6ba526e6aa4ad1c0290aedaa69d
+0, 23, 23, 1, 38016, 4acc6a73547be6310b9a275436c55805
+0, 24, 24, 1, 38016, 482cf409b86242d30f3a78a6c85364df
+0, 25, 25, 1, 38016, a22cb76770f112eb1169218cc87c1e4f
+0, 26, 26, 1, 38016, e74675b051ff05e178a9a24893721d99
+0, 27, 27, 1, 38016, ee5061bff62c8c8603b7bc2bb2bb29e8
+0, 28, 28, 1, 38016, a3c0ab11f338bd488c69f2b62e1e5a74
+0, 29, 29, 1, 38016, 9f6b7e30e0ed4e272393b9a9957752e1
+0, 30, 30, 1, 38016, 9cce9f2ffff1766d05bda04e46eff997
+0, 31, 31, 1, 38016, 5105a2ba923bc6f21ea3d32ab1bc7bf8
+0, 32, 32, 1, 38016, 957d619a1001e2b5e52db166b66b7f50
+0, 33, 33, 1, 38016, fdb4e71cddeec8a321d9c8d4ffc506ce
+0, 34, 34, 1, 38016, 9ee646940fb8ac2312d29e9f1c3b6d40
+0, 35, 35, 1, 38016, a110e81d2105beae81cd36b15bc5ac2f
+0, 36, 36, 1, 38016, 804b6d8fc99fadb9c6bfdae3becee6b5
+0, 37, 37, 1, 38016, e217627bbaeebf30456e38aeb1f0746b
+0, 38, 38, 1, 38016, 56468a2c548dd3085b4bce88c4a1e41d
+0, 39, 39, 1, 38016, ef170e7f21e2b262525b43d6b25dec4c
+0, 40, 40, 1, 38016, 3acc3c47def8a0fa0561eaacaf9e41a1
+0, 41, 41, 1, 38016, 0c3e2187f13e4504fb4b246706bba83c
+0, 42, 42, 1, 38016, 397326a22e6e49487309c39d64037df8
+0, 43, 43, 1, 38016, 95236c1319b6f1f692b3998547811ee7
+0, 44, 44, 1, 38016, 5aff1957504884abf74d6fb74b74b032
+0, 45, 45, 1, 38016, 6de06343435a8926a746037cab5f633c
+0, 46, 46, 1, 38016, 3de68e05ddf2c60ee9110048ceefeb6a
+0, 47, 47, 1, 38016, e637fef689edad6ffd6eeb4a29004bf7
+0, 48, 48, 1, 38016, bb809114af8df5cb4ed82d3a1d11a673
diff --git a/tests/ref/fate/vp8-test-vector-004 b/tests/ref/fate/vp8-test-vector-004
index 56e05b29d8..f402372b88 100644
--- a/tests/ref/fate/vp8-test-vector-004
+++ b/tests/ref/fate/vp8-test-vector-004
@@ -1,29 +1,30 @@
-0, 0, 38016, 83c78b5db579710f61f9354d5c51e8c8
-0, 3000, 38016, d173eb8a8211a05672b43206609c9034
-0, 6000, 38016, 204e3e91613d647d30244c00fa2b9563
-0, 9000, 38016, 3cc1a395bd10a49b006741778285925b
-0, 12000, 38016, 024548b00dea4f104d6b9a728be05786
-0, 15000, 38016, 01401e9418f2e00ab4ffdb3296d40ffa
-0, 18000, 38016, 35d8b3c1ef9cb864315b7502b93629b2
-0, 21000, 38016, aeb44f0fe4c2eecb26c0bd657d65b00b
-0, 24000, 38016, 42e40bed012bacf59f0c41d4cfd3e52a
-0, 27000, 38016, 9796191fa2bd4572123ea043396e8485
-0, 30000, 38016, 2d6d68b902129f3c3f1730e73b98f9c9
-0, 33000, 38016, ba348b89248b92d0b86d794dc413e6a0
-0, 36000, 38016, 5ce49bf164033d49bef1b23120d202d6
-0, 39000, 38016, 54837a426c63a9c40ef8750232615dad
-0, 42000, 38016, 350bcddf9a34f5003f6f655aaa020a00
-0, 45000, 38016, babb82b1e2ca9315816b6f43b8ef84a0
-0, 48000, 38016, c770825785c51fa374fd5bb08ff9f536
-0, 51000, 38016, e9e0f92e416fcd27ca2e93a0804ac938
-0, 54000, 38016, e0f2b89423da549eaa8b2b89f956f0f8
-0, 57000, 38016, 9926b7e13b51115735eb0af8bb5e4ea1
-0, 60000, 38016, d6b30a058b854c54068ebfc2b05f8fa0
-0, 63000, 38016, a03048df79e41ada8a3ecc15a85e3f94
-0, 66000, 38016, 34bef9af0633a43434841fd5189c161c
-0, 69000, 38016, 219b447552b1ee409c1b9b56176d36bf
-0, 72000, 38016, 95ea99459eaebc2f7233feeaf0549224
-0, 75000, 38016, 34e08ce4067ca67ee9014cf628b6bb1c
-0, 78000, 38016, 066c09a20d11b9dc3fa6972fd7f242c4
-0, 81000, 38016, aed02c1951070ae5febea21ad54add55
-0, 84000, 38016, f5a0fde2d818c4aaabd29b069ced6aea
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
+0, 1, 1, 1, 38016, d173eb8a8211a05672b43206609c9034
+0, 2, 2, 1, 38016, 204e3e91613d647d30244c00fa2b9563
+0, 3, 3, 1, 38016, 3cc1a395bd10a49b006741778285925b
+0, 4, 4, 1, 38016, 024548b00dea4f104d6b9a728be05786
+0, 5, 5, 1, 38016, 01401e9418f2e00ab4ffdb3296d40ffa
+0, 6, 6, 1, 38016, 35d8b3c1ef9cb864315b7502b93629b2
+0, 7, 7, 1, 38016, aeb44f0fe4c2eecb26c0bd657d65b00b
+0, 8, 8, 1, 38016, 42e40bed012bacf59f0c41d4cfd3e52a
+0, 9, 9, 1, 38016, 9796191fa2bd4572123ea043396e8485
+0, 10, 10, 1, 38016, 2d6d68b902129f3c3f1730e73b98f9c9
+0, 11, 11, 1, 38016, ba348b89248b92d0b86d794dc413e6a0
+0, 12, 12, 1, 38016, 5ce49bf164033d49bef1b23120d202d6
+0, 13, 13, 1, 38016, 54837a426c63a9c40ef8750232615dad
+0, 14, 14, 1, 38016, 350bcddf9a34f5003f6f655aaa020a00
+0, 15, 15, 1, 38016, babb82b1e2ca9315816b6f43b8ef84a0
+0, 16, 16, 1, 38016, c770825785c51fa374fd5bb08ff9f536
+0, 17, 17, 1, 38016, e9e0f92e416fcd27ca2e93a0804ac938
+0, 18, 18, 1, 38016, e0f2b89423da549eaa8b2b89f956f0f8
+0, 19, 19, 1, 38016, 9926b7e13b51115735eb0af8bb5e4ea1
+0, 20, 20, 1, 38016, d6b30a058b854c54068ebfc2b05f8fa0
+0, 21, 21, 1, 38016, a03048df79e41ada8a3ecc15a85e3f94
+0, 22, 22, 1, 38016, 34bef9af0633a43434841fd5189c161c
+0, 23, 23, 1, 38016, 219b447552b1ee409c1b9b56176d36bf
+0, 24, 24, 1, 38016, 95ea99459eaebc2f7233feeaf0549224
+0, 25, 25, 1, 38016, 34e08ce4067ca67ee9014cf628b6bb1c
+0, 26, 26, 1, 38016, 066c09a20d11b9dc3fa6972fd7f242c4
+0, 27, 27, 1, 38016, aed02c1951070ae5febea21ad54add55
+0, 28, 28, 1, 38016, f5a0fde2d818c4aaabd29b069ced6aea
diff --git a/tests/ref/fate/vp8-test-vector-005 b/tests/ref/fate/vp8-test-vector-005
index b672ee9b10..3569deea68 100644
--- a/tests/ref/fate/vp8-test-vector-005
+++ b/tests/ref/fate/vp8-test-vector-005
@@ -1,49 +1,50 @@
-0, 0, 38016, e7a4be434df4bb524ba56a03cba901f4
-0, 3750, 38016, d903ade6d49e51485627c044fbb2190c
-0, 7500, 38016, af07ee39629b852870104cb9a9dde9e3
-0, 11250, 38016, 388a5f736db2de15342b62294fda4c82
-0, 15000, 38016, a072600936aa77738fa2fa88ba212849
-0, 18750, 38016, 0f96b1fb05b92498c0e1fcb6552e7e79
-0, 22500, 38016, 68b0db002a0127ee79a7c70062aa8c3a
-0, 26250, 38016, f9bc8edfeb9ceca9227a20cdab6788de
-0, 30000, 38016, bfe2115b000565abc3dce1d38f804ed7
-0, 33750, 38016, 67f17f96177f5464af1b97452560d2af
-0, 37500, 38016, 658278016e5409b69d014fab0d94d0ea
-0, 41250, 38016, 04dfd36afa0ddf22993d21c0a0fc715e
-0, 45000, 38016, 088e5a7cc75a895f01f7a4362f104bc1
-0, 48750, 38016, fb622a1a421b3689950f1adde9296dbb
-0, 52500, 38016, 3711ac7adc816614a2efda9e138f53fc
-0, 56250, 38016, 8e6fe3e68ccf53f23dd430b611fbfa6d
-0, 60000, 38016, 1c77dd651cd38d3308671f0705d29926
-0, 63750, 38016, bb5d7afccebc5d8a29f5980d21530d61
-0, 67500, 38016, e51f2eeb39afa50ea243eaca39974f82
-0, 71250, 38016, 7a73b1546fb5d8d4b05ebd4c839f74f8
-0, 75000, 38016, 62a0db46717d7fb6523c62968fd3bc85
-0, 78750, 38016, 98d6e520a164c42c5d19167c0ad48b22
-0, 82500, 38016, 9749a21ea432221323c1a6b61ea59d51
-0, 86250, 38016, 45fa9a9583db0139611b860bed8f6bc1
-0, 90000, 38016, aac06fe351759ca81a5028f2f4a7b534
-0, 93750, 38016, 7b7c7c16a377d61b6fe474541a18f0cd
-0, 97500, 38016, 2a84883fdfa8450d46b8b9352b7d5a87
-0, 101250, 38016, 3fc42d7dd6fa25ec17d8f2881f81b376
-0, 105000, 38016, bfb243be1eada17adab5580b748248e7
-0, 108750, 38016, 531fd799989db62210efc1999397d280
-0, 112500, 38016, 1c1e68673b295e17fca1b14d1eb1995e
-0, 116250, 38016, 12ee0f8810a1a3574337ef98987cf919
-0, 120000, 38016, 0c6ef1cec243c552e83054d5ac56a8c1
-0, 123750, 38016, cf0af3fb96e57143d335086485fbfa5c
-0, 127500, 38016, f5df68bb123d1f2f59ba471fbd118a9e
-0, 131250, 38016, 0b4a0cf5dd7968fd26959ad2849655b0
-0, 135000, 38016, 0ba766224688a95bfa43ac2453555972
-0, 138750, 38016, ef3f9fd7e5509bb880377fa1997d318c
-0, 142500, 38016, d7486c3176cef98c0046522acbdaa4f0
-0, 146250, 38016, f8dd15973993f4a2acd1d34b3610622e
-0, 150000, 38016, e99b7f294e6bdd9ae18f013f62174fcd
-0, 153750, 38016, 68ccf7e14a1055b24c5faf1b3a1888e7
-0, 157500, 38016, 2f230afb6e5c67e4b7e000317638e919
-0, 161250, 38016, 9cab31ac76ed26a879ac8b88bf7d33a1
-0, 165000, 38016, 1e2affc0f458808b4564bd0453565a81
-0, 168750, 38016, 79669092f6c73053c3de6d0d1408cc8c
-0, 172500, 38016, 7b27977ba84341b9af4d58a7864f763a
-0, 176250, 38016, 2481a387d65e7a16fe831b8da2200985
-0, 180000, 38016, fa5e3bc265877b30ca71de0a2b14663b
+#tb 0: 1/24
+0, 0, 0, 1, 38016, e7a4be434df4bb524ba56a03cba901f4
+0, 1, 1, 1, 38016, d903ade6d49e51485627c044fbb2190c
+0, 2, 2, 1, 38016, af07ee39629b852870104cb9a9dde9e3
+0, 3, 3, 1, 38016, 388a5f736db2de15342b62294fda4c82
+0, 4, 4, 1, 38016, a072600936aa77738fa2fa88ba212849
+0, 5, 5, 1, 38016, 0f96b1fb05b92498c0e1fcb6552e7e79
+0, 6, 6, 1, 38016, 68b0db002a0127ee79a7c70062aa8c3a
+0, 7, 7, 1, 38016, f9bc8edfeb9ceca9227a20cdab6788de
+0, 8, 8, 1, 38016, bfe2115b000565abc3dce1d38f804ed7
+0, 9, 9, 1, 38016, 67f17f96177f5464af1b97452560d2af
+0, 10, 10, 1, 38016, 658278016e5409b69d014fab0d94d0ea
+0, 11, 11, 1, 38016, 04dfd36afa0ddf22993d21c0a0fc715e
+0, 12, 12, 1, 38016, 088e5a7cc75a895f01f7a4362f104bc1
+0, 13, 13, 1, 38016, fb622a1a421b3689950f1adde9296dbb
+0, 14, 14, 1, 38016, 3711ac7adc816614a2efda9e138f53fc
+0, 15, 15, 1, 38016, 8e6fe3e68ccf53f23dd430b611fbfa6d
+0, 16, 16, 1, 38016, 1c77dd651cd38d3308671f0705d29926
+0, 17, 17, 1, 38016, bb5d7afccebc5d8a29f5980d21530d61
+0, 18, 18, 1, 38016, e51f2eeb39afa50ea243eaca39974f82
+0, 19, 19, 1, 38016, 7a73b1546fb5d8d4b05ebd4c839f74f8
+0, 20, 20, 1, 38016, 62a0db46717d7fb6523c62968fd3bc85
+0, 21, 21, 1, 38016, 98d6e520a164c42c5d19167c0ad48b22
+0, 22, 22, 1, 38016, 9749a21ea432221323c1a6b61ea59d51
+0, 23, 23, 1, 38016, 45fa9a9583db0139611b860bed8f6bc1
+0, 24, 24, 1, 38016, aac06fe351759ca81a5028f2f4a7b534
+0, 25, 25, 1, 38016, 7b7c7c16a377d61b6fe474541a18f0cd
+0, 26, 26, 1, 38016, 2a84883fdfa8450d46b8b9352b7d5a87
+0, 27, 27, 1, 38016, 3fc42d7dd6fa25ec17d8f2881f81b376
+0, 28, 28, 1, 38016, bfb243be1eada17adab5580b748248e7
+0, 29, 29, 1, 38016, 531fd799989db62210efc1999397d280
+0, 30, 30, 1, 38016, 1c1e68673b295e17fca1b14d1eb1995e
+0, 31, 31, 1, 38016, 12ee0f8810a1a3574337ef98987cf919
+0, 32, 32, 1, 38016, 0c6ef1cec243c552e83054d5ac56a8c1
+0, 33, 33, 1, 38016, cf0af3fb96e57143d335086485fbfa5c
+0, 34, 34, 1, 38016, f5df68bb123d1f2f59ba471fbd118a9e
+0, 35, 35, 1, 38016, 0b4a0cf5dd7968fd26959ad2849655b0
+0, 36, 36, 1, 38016, 0ba766224688a95bfa43ac2453555972
+0, 37, 37, 1, 38016, ef3f9fd7e5509bb880377fa1997d318c
+0, 38, 38, 1, 38016, d7486c3176cef98c0046522acbdaa4f0
+0, 39, 39, 1, 38016, f8dd15973993f4a2acd1d34b3610622e
+0, 40, 40, 1, 38016, e99b7f294e6bdd9ae18f013f62174fcd
+0, 41, 41, 1, 38016, 68ccf7e14a1055b24c5faf1b3a1888e7
+0, 42, 42, 1, 38016, 2f230afb6e5c67e4b7e000317638e919
+0, 43, 43, 1, 38016, 9cab31ac76ed26a879ac8b88bf7d33a1
+0, 44, 44, 1, 38016, 1e2affc0f458808b4564bd0453565a81
+0, 45, 45, 1, 38016, 79669092f6c73053c3de6d0d1408cc8c
+0, 46, 46, 1, 38016, 7b27977ba84341b9af4d58a7864f763a
+0, 47, 47, 1, 38016, 2481a387d65e7a16fe831b8da2200985
+0, 48, 48, 1, 38016, fa5e3bc265877b30ca71de0a2b14663b
diff --git a/tests/ref/fate/vp8-test-vector-006 b/tests/ref/fate/vp8-test-vector-006
index bbdf8142f7..38b92c4a7f 100644
--- a/tests/ref/fate/vp8-test-vector-006
+++ b/tests/ref/fate/vp8-test-vector-006
@@ -1,48 +1,49 @@
-0, 0, 37697, 9ca5df27b0158aca2a38dff946f58c41
-0, 3750, 37697, 627129a99538ec1ac51be910ca92ebc4
-0, 7500, 37697, 6c2df1f21af317aa5bb68b161ca96c70
-0, 11250, 37697, d66db823863838ca5b7f9125609e7de3
-0, 15000, 37697, ecc970f8846290c0b7bf8d0865975cb7
-0, 18750, 37697, 2fe7575c448562e291933e297335e1c8
-0, 22500, 37697, e2a6fb8af11f65ce1153d6021df39e5f
-0, 26250, 37697, 4536008cd0a425c9a9d93cbb3e8ba640
-0, 30000, 37697, 478f042fff1cf0b6fd2eed391879c7ba
-0, 33750, 37697, f079ee39021b1dd730f80bfaff9a6ae4
-0, 37500, 37697, cb9b166c785ceabecf79e12e6068d4e4
-0, 41250, 37697, 6bd6f77dc9c45cec08949a42aa1c2653
-0, 45000, 37697, 1433577eb50b3270c0f1d6d26fb26277
-0, 48750, 37697, 2765b207d230efd9a3e2e93c641b8553
-0, 52500, 37697, a67e2f6bcf3b03e250c0ad8f1384ffb6
-0, 56250, 37697, b5ea80e2dbffefdd8a613c25ee7f5f0c
-0, 60000, 37697, e4b58bf735a8258842ad3c364eb9418c
-0, 63750, 37697, 8e5fc5d4c78eb495f62e4a014a6a2a6c
-0, 67500, 37697, 53bee2faf4cfae16037cda36a6194a57
-0, 71250, 37697, e5c2e1de872a7107f80966ae857557d4
-0, 75000, 37697, 882e46851681e6e3b376b5d1d9e139fb
-0, 78750, 37697, 40b199fe02b5885947af22ce1314a085
-0, 82500, 37697, 942b79dd5360c2a114db760424620a84
-0, 86250, 37697, fe9f69dd6fc113ceec9127d9e12b3958
-0, 90000, 37697, db13edae7e8e8a91d1ec84227c8f818f
-0, 93750, 37697, 1963ea61c3e93150f7604ee6fa09b12c
-0, 97500, 37697, 8cf43556160454d2353cedb9ba5675aa
-0, 101250, 37697, a5e6b5b00fea3d9b1bdbd01fda712f27
-0, 105000, 37697, 35f006cb6e570999b9011282c49c6d22
-0, 108750, 37697, d884d482371cb2727e26475bb390d38b
-0, 112500, 37697, a7233206056d3af69c6cff343b57de84
-0, 116250, 37697, 437492f3e594576e1c17065e0091aa2d
-0, 120000, 37697, 47f0677d9aff054056a194755628fdb8
-0, 123750, 37697, fc93105a16501763a6e6ba3445ee6f32
-0, 127500, 37697, 68612903d08399e0f0d9e28c1f18f6ea
-0, 131250, 37697, a340fbba24c73372e6248f10e878f11b
-0, 135000, 37697, 58c3561b06f9d866587f728877c08860
-0, 138750, 37697, f2dd2a029515ad9c0655ccf86a2c524b
-0, 142500, 37697, 789d43f63cbb302dad9f3e4b33713746
-0, 146250, 37697, d8f979aca1774470269283da048a505b
-0, 150000, 37697, ecc06e2175290319cb36614370c8ad62
-0, 153750, 37697, 5ba26b83766b666007b502a7194170e3
-0, 157500, 37697, 8163a20e9a345b70579c625c50e7ec73
-0, 161250, 37697, 1f1a497d768c4bcd57de11b21baf9138
-0, 165000, 37697, a21e9a52a982675815c9937b49ebb0ff
-0, 168750, 37697, dcc0bd83ce31ac99577cd2f9ced69096
-0, 172500, 37697, df36b27588b8515580d5015e5f66dbf9
-0, 176250, 37697, 156a6351549949953ce3197b990760a9
+#tb 0: 1/24
+0, 0, 0, 1, 37697, 9ca5df27b0158aca2a38dff946f58c41
+0, 1, 1, 1, 37697, 627129a99538ec1ac51be910ca92ebc4
+0, 2, 2, 1, 37697, 6c2df1f21af317aa5bb68b161ca96c70
+0, 3, 3, 1, 37697, d66db823863838ca5b7f9125609e7de3
+0, 4, 4, 1, 37697, ecc970f8846290c0b7bf8d0865975cb7
+0, 5, 5, 1, 37697, 2fe7575c448562e291933e297335e1c8
+0, 6, 6, 1, 37697, e2a6fb8af11f65ce1153d6021df39e5f
+0, 7, 7, 1, 37697, 4536008cd0a425c9a9d93cbb3e8ba640
+0, 8, 8, 1, 37697, 478f042fff1cf0b6fd2eed391879c7ba
+0, 9, 9, 1, 37697, f079ee39021b1dd730f80bfaff9a6ae4
+0, 10, 10, 1, 37697, cb9b166c785ceabecf79e12e6068d4e4
+0, 11, 11, 1, 37697, 6bd6f77dc9c45cec08949a42aa1c2653
+0, 12, 12, 1, 37697, 1433577eb50b3270c0f1d6d26fb26277
+0, 13, 13, 1, 37697, 2765b207d230efd9a3e2e93c641b8553
+0, 14, 14, 1, 37697, a67e2f6bcf3b03e250c0ad8f1384ffb6
+0, 15, 15, 1, 37697, b5ea80e2dbffefdd8a613c25ee7f5f0c
+0, 16, 16, 1, 37697, e4b58bf735a8258842ad3c364eb9418c
+0, 17, 17, 1, 37697, 8e5fc5d4c78eb495f62e4a014a6a2a6c
+0, 18, 18, 1, 37697, 53bee2faf4cfae16037cda36a6194a57
+0, 19, 19, 1, 37697, e5c2e1de872a7107f80966ae857557d4
+0, 20, 20, 1, 37697, 882e46851681e6e3b376b5d1d9e139fb
+0, 21, 21, 1, 37697, 40b199fe02b5885947af22ce1314a085
+0, 22, 22, 1, 37697, 942b79dd5360c2a114db760424620a84
+0, 23, 23, 1, 37697, fe9f69dd6fc113ceec9127d9e12b3958
+0, 24, 24, 1, 37697, db13edae7e8e8a91d1ec84227c8f818f
+0, 25, 25, 1, 37697, 1963ea61c3e93150f7604ee6fa09b12c
+0, 26, 26, 1, 37697, 8cf43556160454d2353cedb9ba5675aa
+0, 27, 27, 1, 37697, a5e6b5b00fea3d9b1bdbd01fda712f27
+0, 28, 28, 1, 37697, 35f006cb6e570999b9011282c49c6d22
+0, 29, 29, 1, 37697, d884d482371cb2727e26475bb390d38b
+0, 30, 30, 1, 37697, a7233206056d3af69c6cff343b57de84
+0, 31, 31, 1, 37697, 437492f3e594576e1c17065e0091aa2d
+0, 32, 32, 1, 37697, 47f0677d9aff054056a194755628fdb8
+0, 33, 33, 1, 37697, fc93105a16501763a6e6ba3445ee6f32
+0, 34, 34, 1, 37697, 68612903d08399e0f0d9e28c1f18f6ea
+0, 35, 35, 1, 37697, a340fbba24c73372e6248f10e878f11b
+0, 36, 36, 1, 37697, 58c3561b06f9d866587f728877c08860
+0, 37, 37, 1, 37697, f2dd2a029515ad9c0655ccf86a2c524b
+0, 38, 38, 1, 37697, 789d43f63cbb302dad9f3e4b33713746
+0, 39, 39, 1, 37697, d8f979aca1774470269283da048a505b
+0, 40, 40, 1, 37697, ecc06e2175290319cb36614370c8ad62
+0, 41, 41, 1, 37697, 5ba26b83766b666007b502a7194170e3
+0, 42, 42, 1, 37697, 8163a20e9a345b70579c625c50e7ec73
+0, 43, 43, 1, 37697, 1f1a497d768c4bcd57de11b21baf9138
+0, 44, 44, 1, 37697, a21e9a52a982675815c9937b49ebb0ff
+0, 45, 45, 1, 37697, dcc0bd83ce31ac99577cd2f9ced69096
+0, 46, 46, 1, 37697, df36b27588b8515580d5015e5f66dbf9
+0, 47, 47, 1, 37697, 156a6351549949953ce3197b990760a9
diff --git a/tests/ref/fate/vp8-test-vector-007 b/tests/ref/fate/vp8-test-vector-007
index d4aa997ce8..8d9b912fc9 100644
--- a/tests/ref/fate/vp8-test-vector-007
+++ b/tests/ref/fate/vp8-test-vector-007
@@ -1,29 +1,30 @@
-0, 0, 38016, 98bd0af6928c144888a9c320270e9f0e
-0, 3000, 38016, 9ff7cff703d58481acd233451388377c
-0, 6000, 38016, e4cd8815527846cc782ea61ef5a46e49
-0, 9000, 38016, db45275b87e194e5b505dd8c47da4f5d
-0, 12000, 38016, c889d0f7bd34faf4df0e0a9eb9fc292a
-0, 15000, 38016, 4dbfb1727baf9b75980e7fdd44ca0924
-0, 18000, 38016, 5f217ac95c891dc81f7193fc5352d582
-0, 21000, 38016, 11166789635e472f629510f551b11e2c
-0, 24000, 38016, 336e6e42e67e1ccb7cda6298cb63f192
-0, 27000, 38016, 02dbcff56882e304d5043d0f9b1ff9ff
-0, 30000, 38016, fe033ea2c6b8b81a9328b470f8b0d6bb
-0, 33000, 38016, 0e3330fe9a7c0439ff53f18f0d15eb48
-0, 36000, 38016, 6c0d7e042a3bb32a128c4a405f59b426
-0, 39000, 38016, 7e51afc33dbf4b77fc5735f5d9ec0248
-0, 42000, 38016, a8381f193f34a5071b8eeba7f5cd1968
-0, 45000, 38016, 501a7914b47ff85c24f0533ee98b9fe9
-0, 48000, 38016, 00bd5fbb7e3b66514e6c77c3a5f118c3
-0, 51000, 38016, 23e296d12a45909cadda252b9f4e67bd
-0, 54000, 38016, fa0b5c69bacf766551bebdde0910eb9f
-0, 57000, 38016, f5cc24d10d58ebc50503ca321db708cc
-0, 60000, 38016, 3997eb9ff6231dee9e23752776113cd6
-0, 63000, 38016, 68d4c9cd494d91dd70e7a94c7a4b9a12
-0, 66000, 38016, 647b34f3aa7318adce68803ba00104fb
-0, 69000, 38016, ffed5301bd6fddd1d24d12e6096cc8a6
-0, 72000, 38016, 9511388180811c10d166886868d6e71c
-0, 75000, 38016, a9b330803b8ccd91596591c0449423ab
-0, 78000, 38016, 69b192888cda09dac658d5820183a2e8
-0, 81000, 38016, 8886e5851e60a7474cc9e214ba6373ad
-0, 84000, 38016, f59e354deedb129a90ab3922838b03d3
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 98bd0af6928c144888a9c320270e9f0e
+0, 1, 1, 1, 38016, 9ff7cff703d58481acd233451388377c
+0, 2, 2, 1, 38016, e4cd8815527846cc782ea61ef5a46e49
+0, 3, 3, 1, 38016, db45275b87e194e5b505dd8c47da4f5d
+0, 4, 4, 1, 38016, c889d0f7bd34faf4df0e0a9eb9fc292a
+0, 5, 5, 1, 38016, 4dbfb1727baf9b75980e7fdd44ca0924
+0, 6, 6, 1, 38016, 5f217ac95c891dc81f7193fc5352d582
+0, 7, 7, 1, 38016, 11166789635e472f629510f551b11e2c
+0, 8, 8, 1, 38016, 336e6e42e67e1ccb7cda6298cb63f192
+0, 9, 9, 1, 38016, 02dbcff56882e304d5043d0f9b1ff9ff
+0, 10, 10, 1, 38016, fe033ea2c6b8b81a9328b470f8b0d6bb
+0, 11, 11, 1, 38016, 0e3330fe9a7c0439ff53f18f0d15eb48
+0, 12, 12, 1, 38016, 6c0d7e042a3bb32a128c4a405f59b426
+0, 13, 13, 1, 38016, 7e51afc33dbf4b77fc5735f5d9ec0248
+0, 14, 14, 1, 38016, a8381f193f34a5071b8eeba7f5cd1968
+0, 15, 15, 1, 38016, 501a7914b47ff85c24f0533ee98b9fe9
+0, 16, 16, 1, 38016, 00bd5fbb7e3b66514e6c77c3a5f118c3
+0, 17, 17, 1, 38016, 23e296d12a45909cadda252b9f4e67bd
+0, 18, 18, 1, 38016, fa0b5c69bacf766551bebdde0910eb9f
+0, 19, 19, 1, 38016, f5cc24d10d58ebc50503ca321db708cc
+0, 20, 20, 1, 38016, 3997eb9ff6231dee9e23752776113cd6
+0, 21, 21, 1, 38016, 68d4c9cd494d91dd70e7a94c7a4b9a12
+0, 22, 22, 1, 38016, 647b34f3aa7318adce68803ba00104fb
+0, 23, 23, 1, 38016, ffed5301bd6fddd1d24d12e6096cc8a6
+0, 24, 24, 1, 38016, 9511388180811c10d166886868d6e71c
+0, 25, 25, 1, 38016, a9b330803b8ccd91596591c0449423ab
+0, 26, 26, 1, 38016, 69b192888cda09dac658d5820183a2e8
+0, 27, 27, 1, 38016, 8886e5851e60a7474cc9e214ba6373ad
+0, 28, 28, 1, 38016, f59e354deedb129a90ab3922838b03d3
diff --git a/tests/ref/fate/vp8-test-vector-008 b/tests/ref/fate/vp8-test-vector-008
index 105b6b49a8..9be8d73a24 100644
--- a/tests/ref/fate/vp8-test-vector-008
+++ b/tests/ref/fate/vp8-test-vector-008
@@ -1,2 +1,3 @@
-0, 0, 1907424, 7146d3a72b6cb8e43ee5280ef8d661fe
-0, 3913, 1907424, 5a537e9710158efb5ad2683a1d3b4c72
+#tb 0: 1/23
+0, 0, 0, 1, 1907424, 7146d3a72b6cb8e43ee5280ef8d661fe
+0, 1, 1, 1, 1907424, 5a537e9710158efb5ad2683a1d3b4c72
diff --git a/tests/ref/fate/vp8-test-vector-009 b/tests/ref/fate/vp8-test-vector-009
index c65210e0d8..fae204db99 100644
--- a/tests/ref/fate/vp8-test-vector-009
+++ b/tests/ref/fate/vp8-test-vector-009
@@ -1,49 +1,50 @@
-0, 0, 38016, b3a3121c796a60c88988fef5240a07fe
-0, 3750, 38016, f25147764829cf837e00b8fd6383e2c4
-0, 7500, 38016, 1b1552291a89c97d5deea145ab0ac0cd
-0, 11250, 38016, 0b2e75bbbe8f4248eb1519b6542efc96
-0, 15000, 38016, 99e8fc68547e119253ee3b8d79efa774
-0, 18750, 38016, 3aaf9210819238da7f704339bd8f262c
-0, 22500, 38016, de80b11f4c325e6d467d4abe5ad0db51
-0, 26250, 38016, 93d2fba68721768018b35ccac27b6bb1
-0, 30000, 38016, 07d7d4f8ad4151a013b652bec21ea9b8
-0, 33750, 38016, aaa95e4d39aa31cf68fdb8da268827e5
-0, 37500, 38016, 3607fcda0733e0b0fd10a8f7fbe6e39e
-0, 41250, 38016, 6d8cc24ea3b9827ef0147c8b7cc6938d
-0, 45000, 38016, 977a6b65d41b1b70dd4df9f526045675
-0, 48750, 38016, 9258b0e5fc2217c3aebbd96bb06c937a
-0, 52500, 38016, 887378a3aad18346a3827cd0aadc6873
-0, 56250, 38016, c2a3ff302d74eefd0855f2c862766aca
-0, 60000, 38016, 1a7d835f5a977e1fd8cc37bdd8d029ca
-0, 63750, 38016, 232be1f7e334001c3abbed550cc60c34
-0, 67500, 38016, e8cb3470b9a3ffbc7014793514dc89cf
-0, 71250, 38016, 54b20adca41910f003790a975ff7b50d
-0, 75000, 38016, 2c5fce4dcdd538f1d9377fa071f3d615
-0, 78750, 38016, d559840da8cef1f0b1379a592f708f0a
-0, 82500, 38016, ffab5f1060938a62cf8ef9df30ec8a33
-0, 86250, 38016, b7d93c8eda8cce4d387f2ea78c415704
-0, 90000, 38016, 7840aa27333e6350d114b256ab4304f1
-0, 93750, 38016, dc1f3b125177d0ad7f53dd058bba03e7
-0, 97500, 38016, 37134fcaad963a22f4df04c0765af455
-0, 101250, 38016, 4dc062fb76943a75e7b2428e5babbb3c
-0, 105000, 38016, dfda91bc05efc72073a2b6b62f294327
-0, 108750, 38016, 7ffc690c63a1c54e35978336dc5828a3
-0, 112500, 38016, 9ae31bacbc097c2ccf1500ff89882e46
-0, 116250, 38016, 1450c24713dcad41aeba1c44007bf12f
-0, 120000, 38016, f125bb52b8a1b11e076de55cca1069ee
-0, 123750, 38016, 555e1f2a6d293a0bdc9f92e9c3b3118d
-0, 127500, 38016, ec9a8d577a07a4f0d5deae63b3cea6dd
-0, 131250, 38016, a54f74e0ee329db4a78851bb7e54b2ba
-0, 135000, 38016, 99fcfe7ed9028bc443a790f9cf8eb812
-0, 138750, 38016, b9b994ffbe0150945b752a2120b4a475
-0, 142500, 38016, f00d70d8a28cecaaec1eb84592e3f6c3
-0, 146250, 38016, 3bc8ed07fc92c4d339164891e6624306
-0, 150000, 38016, d755777560d745d6bdfa01b9e9cbbcc0
-0, 153750, 38016, bcefb5ef8fae173e413406b4a60e2255
-0, 157500, 38016, fb47098c334b82764e30819066b13096
-0, 161250, 38016, 9e31f68fc96045bba43cf1253eedc419
-0, 165000, 38016, 53522d46d2ba91ab23693db7d41ecda7
-0, 168750, 38016, d66a074ebe6123590622e5cb308d75e5
-0, 172500, 38016, 6574fce175632a22fcc05b47157318e4
-0, 176250, 38016, 31f7fb05d060c1dea46044787772baaf
-0, 180000, 38016, cec733062ae526ae71b39ae0dc402482
+#tb 0: 1/24
+0, 0, 0, 1, 38016, b3a3121c796a60c88988fef5240a07fe
+0, 1, 1, 1, 38016, f25147764829cf837e00b8fd6383e2c4
+0, 2, 2, 1, 38016, 1b1552291a89c97d5deea145ab0ac0cd
+0, 3, 3, 1, 38016, 0b2e75bbbe8f4248eb1519b6542efc96
+0, 4, 4, 1, 38016, 99e8fc68547e119253ee3b8d79efa774
+0, 5, 5, 1, 38016, 3aaf9210819238da7f704339bd8f262c
+0, 6, 6, 1, 38016, de80b11f4c325e6d467d4abe5ad0db51
+0, 7, 7, 1, 38016, 93d2fba68721768018b35ccac27b6bb1
+0, 8, 8, 1, 38016, 07d7d4f8ad4151a013b652bec21ea9b8
+0, 9, 9, 1, 38016, aaa95e4d39aa31cf68fdb8da268827e5
+0, 10, 10, 1, 38016, 3607fcda0733e0b0fd10a8f7fbe6e39e
+0, 11, 11, 1, 38016, 6d8cc24ea3b9827ef0147c8b7cc6938d
+0, 12, 12, 1, 38016, 977a6b65d41b1b70dd4df9f526045675
+0, 13, 13, 1, 38016, 9258b0e5fc2217c3aebbd96bb06c937a
+0, 14, 14, 1, 38016, 887378a3aad18346a3827cd0aadc6873
+0, 15, 15, 1, 38016, c2a3ff302d74eefd0855f2c862766aca
+0, 16, 16, 1, 38016, 1a7d835f5a977e1fd8cc37bdd8d029ca
+0, 17, 17, 1, 38016, 232be1f7e334001c3abbed550cc60c34
+0, 18, 18, 1, 38016, e8cb3470b9a3ffbc7014793514dc89cf
+0, 19, 19, 1, 38016, 54b20adca41910f003790a975ff7b50d
+0, 20, 20, 1, 38016, 2c5fce4dcdd538f1d9377fa071f3d615
+0, 21, 21, 1, 38016, d559840da8cef1f0b1379a592f708f0a
+0, 22, 22, 1, 38016, ffab5f1060938a62cf8ef9df30ec8a33
+0, 23, 23, 1, 38016, b7d93c8eda8cce4d387f2ea78c415704
+0, 24, 24, 1, 38016, 7840aa27333e6350d114b256ab4304f1
+0, 25, 25, 1, 38016, dc1f3b125177d0ad7f53dd058bba03e7
+0, 26, 26, 1, 38016, 37134fcaad963a22f4df04c0765af455
+0, 27, 27, 1, 38016, 4dc062fb76943a75e7b2428e5babbb3c
+0, 28, 28, 1, 38016, dfda91bc05efc72073a2b6b62f294327
+0, 29, 29, 1, 38016, 7ffc690c63a1c54e35978336dc5828a3
+0, 30, 30, 1, 38016, 9ae31bacbc097c2ccf1500ff89882e46
+0, 31, 31, 1, 38016, 1450c24713dcad41aeba1c44007bf12f
+0, 32, 32, 1, 38016, f125bb52b8a1b11e076de55cca1069ee
+0, 33, 33, 1, 38016, 555e1f2a6d293a0bdc9f92e9c3b3118d
+0, 34, 34, 1, 38016, ec9a8d577a07a4f0d5deae63b3cea6dd
+0, 35, 35, 1, 38016, a54f74e0ee329db4a78851bb7e54b2ba
+0, 36, 36, 1, 38016, 99fcfe7ed9028bc443a790f9cf8eb812
+0, 37, 37, 1, 38016, b9b994ffbe0150945b752a2120b4a475
+0, 38, 38, 1, 38016, f00d70d8a28cecaaec1eb84592e3f6c3
+0, 39, 39, 1, 38016, 3bc8ed07fc92c4d339164891e6624306
+0, 40, 40, 1, 38016, d755777560d745d6bdfa01b9e9cbbcc0
+0, 41, 41, 1, 38016, bcefb5ef8fae173e413406b4a60e2255
+0, 42, 42, 1, 38016, fb47098c334b82764e30819066b13096
+0, 43, 43, 1, 38016, 9e31f68fc96045bba43cf1253eedc419
+0, 44, 44, 1, 38016, 53522d46d2ba91ab23693db7d41ecda7
+0, 45, 45, 1, 38016, d66a074ebe6123590622e5cb308d75e5
+0, 46, 46, 1, 38016, 6574fce175632a22fcc05b47157318e4
+0, 47, 47, 1, 38016, 31f7fb05d060c1dea46044787772baaf
+0, 48, 48, 1, 38016, cec733062ae526ae71b39ae0dc402482
diff --git a/tests/ref/fate/vp8-test-vector-010 b/tests/ref/fate/vp8-test-vector-010
index ea5c8f396c..b250ad92d1 100644
--- a/tests/ref/fate/vp8-test-vector-010
+++ b/tests/ref/fate/vp8-test-vector-010
@@ -1,57 +1,58 @@
-0, 0, 115200, 3441ec1a9b9d325c9aeda44e3b68377d
-0, 3000, 115200, bff86a84fd673394f45c09d19a1ee0ac
-0, 6000, 115200, 8cd920f0de408e8cd883f9241680ff80
-0, 9000, 115200, d1b27cbb40859bbbb6da40dce6ddbf1b
-0, 12000, 115200, ca102ed86e45fe452f55a2cf0253de21
-0, 15000, 115200, ac7630be64017becd6e958df360263b5
-0, 18000, 115200, a044041ede746687d33ba6342d8d3edb
-0, 21000, 115200, 75d7c0eec357afd0c2d54e769f551b20
-0, 24000, 115200, eebd916e4fba53a66fc8e6ab98091a0f
-0, 27000, 115200, c0044160a944dcac81efe9f63def4bc2
-0, 30000, 115200, 9ba8b2ccbea045b39bd150ea383abc00
-0, 33000, 115200, 8d7654804fc62f7d52d5bf3d47f536e9
-0, 36000, 115200, 9fd6cd81fbe6cfc43e03cdf166c7ea93
-0, 39000, 115200, a1a494064dba27238005227c0808c5f6
-0, 42000, 115200, b8dca72164ea72b3f257c97c3ad87416
-0, 45000, 115200, 90ae005c0f3ddb4318318805b8fc29cf
-0, 48000, 115200, 8183e7b60f18887a9530a7905db4b417
-0, 51000, 115200, 1650ad1fff9076141f59b660c562f0f2
-0, 54000, 115200, e9ee675cafd270c366ac9d3ced5af879
-0, 57000, 115200, 2257172d6e8628b4dd4d9bf97e9ee2c3
-0, 60000, 115200, 577438f88feca7a876381a6fcf094684
-0, 63000, 115200, 4b37e90eb35cba66d31616169020c039
-0, 66000, 115200, 2c631ab87b8d3b7df13f888e3d6f1690
-0, 69000, 115200, e0d46e04d6a57b20c2b056cd0a0ca1ec
-0, 72000, 115200, 65bd3e207b8ed966b71f40a04f1900b8
-0, 75000, 115200, fd842606a20fb297463b7b3dd6efa2c2
-0, 78000, 115200, 778cd96eabe785320254db7692583f47
-0, 81000, 115200, 094272ad385a64fbc70a62f958e27eff
-0, 84000, 115200, cf5f7b3b94a00938b633ea1d9aa8e8dc
-0, 87000, 115200, 032e2f3649484ca17c739cf89052de77
-0, 90000, 115200, 9afe92189c21675745609e3b21a75941
-0, 93000, 115200, a5e087c496798bfbc64d6c26eee0b3af
-0, 96000, 115200, efb2716347ba2e01f7dc103d2a6cebb4
-0, 99000, 115200, c83541678dcca8937e372102bc4d1f68
-0, 102000, 115200, 3401ed97a9296610c8473dcf03e13f20
-0, 105000, 115200, 35af1327fafe026b6539951a9baee282
-0, 108000, 115200, f320e2d64192849c08c4c5e6d79e4ecf
-0, 111000, 115200, 5a661af83f451d8651cf081399d451b2
-0, 114000, 115200, 625d271b60d91229699f1de35d232b13
-0, 117000, 115200, 8e504154fa8eba5f9807bf40c647eea8
-0, 120000, 115200, 094ecb39a65c71e85d15a587472bb336
-0, 123000, 115200, 4d08bfe5771f00e13646be49e3471c4c
-0, 126000, 115200, 20841206e07721fb631088d492622543
-0, 129000, 115200, edf969142e1b053f951c1a5756f2b5d9
-0, 132000, 115200, 4959a13f20311d9b435e501fd753c94b
-0, 135000, 115200, a7f34e6c985d630af07a9f6dc47ea50e
-0, 138000, 115200, 96f6667d849f3abe4e85e3ce368b76ee
-0, 141000, 115200, a47d443c8aa5f2d2e3b44deab3f4f8e7
-0, 144000, 115200, 4ebda78d96facc4472ecdb4f667be0c6
-0, 147000, 115200, 6ba744c47edab85c6e77584e35e1b735
-0, 150000, 115200, 4d2e6882f15356171e4383111ec70e6e
-0, 153000, 115200, 85077fc81dff947b1251bfbd981aaf52
-0, 156000, 115200, f03e8879a5218387c502eaab31682df9
-0, 159000, 115200, 90f6128298cb52f769d697f9f842df27
-0, 162000, 115200, 700a705680c1a940141bc03ae5de391b
-0, 165000, 115200, 049b3df3ed9673ab8e0f0d0d896f65c2
-0, 168000, 115200, ca8c3e5509211dc92078371f06dc8635
+#tb 0: 1/30
+0, 0, 0, 1, 115200, 3441ec1a9b9d325c9aeda44e3b68377d
+0, 1, 1, 1, 115200, bff86a84fd673394f45c09d19a1ee0ac
+0, 2, 2, 1, 115200, 8cd920f0de408e8cd883f9241680ff80
+0, 3, 3, 1, 115200, d1b27cbb40859bbbb6da40dce6ddbf1b
+0, 4, 4, 1, 115200, ca102ed86e45fe452f55a2cf0253de21
+0, 5, 5, 1, 115200, ac7630be64017becd6e958df360263b5
+0, 6, 6, 1, 115200, a044041ede746687d33ba6342d8d3edb
+0, 7, 7, 1, 115200, 75d7c0eec357afd0c2d54e769f551b20
+0, 8, 8, 1, 115200, eebd916e4fba53a66fc8e6ab98091a0f
+0, 9, 9, 1, 115200, c0044160a944dcac81efe9f63def4bc2
+0, 10, 10, 1, 115200, 9ba8b2ccbea045b39bd150ea383abc00
+0, 11, 11, 1, 115200, 8d7654804fc62f7d52d5bf3d47f536e9
+0, 12, 12, 1, 115200, 9fd6cd81fbe6cfc43e03cdf166c7ea93
+0, 13, 13, 1, 115200, a1a494064dba27238005227c0808c5f6
+0, 14, 14, 1, 115200, b8dca72164ea72b3f257c97c3ad87416
+0, 15, 15, 1, 115200, 90ae005c0f3ddb4318318805b8fc29cf
+0, 16, 16, 1, 115200, 8183e7b60f18887a9530a7905db4b417
+0, 17, 17, 1, 115200, 1650ad1fff9076141f59b660c562f0f2
+0, 18, 18, 1, 115200, e9ee675cafd270c366ac9d3ced5af879
+0, 19, 19, 1, 115200, 2257172d6e8628b4dd4d9bf97e9ee2c3
+0, 20, 20, 1, 115200, 577438f88feca7a876381a6fcf094684
+0, 21, 21, 1, 115200, 4b37e90eb35cba66d31616169020c039
+0, 22, 22, 1, 115200, 2c631ab87b8d3b7df13f888e3d6f1690
+0, 23, 23, 1, 115200, e0d46e04d6a57b20c2b056cd0a0ca1ec
+0, 24, 24, 1, 115200, 65bd3e207b8ed966b71f40a04f1900b8
+0, 25, 25, 1, 115200, fd842606a20fb297463b7b3dd6efa2c2
+0, 26, 26, 1, 115200, 778cd96eabe785320254db7692583f47
+0, 27, 27, 1, 115200, 094272ad385a64fbc70a62f958e27eff
+0, 28, 28, 1, 115200, cf5f7b3b94a00938b633ea1d9aa8e8dc
+0, 29, 29, 1, 115200, 032e2f3649484ca17c739cf89052de77
+0, 30, 30, 1, 115200, 9afe92189c21675745609e3b21a75941
+0, 31, 31, 1, 115200, a5e087c496798bfbc64d6c26eee0b3af
+0, 32, 32, 1, 115200, efb2716347ba2e01f7dc103d2a6cebb4
+0, 33, 33, 1, 115200, c83541678dcca8937e372102bc4d1f68
+0, 34, 34, 1, 115200, 3401ed97a9296610c8473dcf03e13f20
+0, 35, 35, 1, 115200, 35af1327fafe026b6539951a9baee282
+0, 36, 36, 1, 115200, f320e2d64192849c08c4c5e6d79e4ecf
+0, 37, 37, 1, 115200, 5a661af83f451d8651cf081399d451b2
+0, 38, 38, 1, 115200, 625d271b60d91229699f1de35d232b13
+0, 39, 39, 1, 115200, 8e504154fa8eba5f9807bf40c647eea8
+0, 40, 40, 1, 115200, 094ecb39a65c71e85d15a587472bb336
+0, 41, 41, 1, 115200, 4d08bfe5771f00e13646be49e3471c4c
+0, 42, 42, 1, 115200, 20841206e07721fb631088d492622543
+0, 43, 43, 1, 115200, edf969142e1b053f951c1a5756f2b5d9
+0, 44, 44, 1, 115200, 4959a13f20311d9b435e501fd753c94b
+0, 45, 45, 1, 115200, a7f34e6c985d630af07a9f6dc47ea50e
+0, 46, 46, 1, 115200, 96f6667d849f3abe4e85e3ce368b76ee
+0, 47, 47, 1, 115200, a47d443c8aa5f2d2e3b44deab3f4f8e7
+0, 48, 48, 1, 115200, 4ebda78d96facc4472ecdb4f667be0c6
+0, 49, 49, 1, 115200, 6ba744c47edab85c6e77584e35e1b735
+0, 50, 50, 1, 115200, 4d2e6882f15356171e4383111ec70e6e
+0, 51, 51, 1, 115200, 85077fc81dff947b1251bfbd981aaf52
+0, 52, 52, 1, 115200, f03e8879a5218387c502eaab31682df9
+0, 53, 53, 1, 115200, 90f6128298cb52f769d697f9f842df27
+0, 54, 54, 1, 115200, 700a705680c1a940141bc03ae5de391b
+0, 55, 55, 1, 115200, 049b3df3ed9673ab8e0f0d0d896f65c2
+0, 56, 56, 1, 115200, ca8c3e5509211dc92078371f06dc8635
diff --git a/tests/ref/fate/vp8-test-vector-011 b/tests/ref/fate/vp8-test-vector-011
index 99409cd439..d591ec7eee 100644
--- a/tests/ref/fate/vp8-test-vector-011
+++ b/tests/ref/fate/vp8-test-vector-011
@@ -1,29 +1,30 @@
-0, 0, 38016, 83c78b5db579710f61f9354d5c51e8c8
-0, 3000, 38016, 9b755a63c7c5352660a265f6e24991e1
-0, 6000, 38016, a591f0b04447d6d6dd9bb990502594aa
-0, 9000, 38016, 6ebbd38d20a4104a842c66df53a8b86e
-0, 12000, 38016, a114c37e74a4252ed66c5c4e7c8df84b
-0, 15000, 38016, 4bad182348dcfb627b3e15bc228a3c8f
-0, 18000, 38016, a843b5c80266f890044a4ba1f59de8ed
-0, 21000, 38016, 34816d9129f252afcbd56d6ad1df94c7
-0, 24000, 38016, 7d7d46cd08e18aea6fc52c0ec58a4803
-0, 27000, 38016, c96c3357d89534fce32251a0d52c68c5
-0, 30000, 38016, 5eb1329f955ab80696d8220605a51552
-0, 33000, 38016, 68b3d5162cd5b004a6dfeac705c75afa
-0, 36000, 38016, b79647c678fbbb9ffbd8c4ff63c05e43
-0, 39000, 38016, 4566eb5f995852d72b6913d2ca2e321c
-0, 42000, 38016, 02e7e951ac9e42eafb1260defaecf685
-0, 45000, 38016, ddbfa0f81a009c41271c9aa587e88baa
-0, 48000, 38016, 27d31dba74cb2170c456830a9f888c0b
-0, 51000, 38016, 0537650a41bb087a5fd33d6347fe9036
-0, 54000, 38016, df2205297d4f00164a3440c8fa1ac4ee
-0, 57000, 38016, 9942b757bd3839c1cd6b1068c68967f2
-0, 60000, 38016, d9284e1e989cd38d0226b1a3c6e89409
-0, 63000, 38016, 12427a3fdc22461fe9d6ff9dd5863bef
-0, 66000, 38016, 63f75f2a63630347671c0e6dd2f88bcb
-0, 69000, 38016, b161169a678e3959b492d83a03d47dee
-0, 72000, 38016, 50a6d4c8722197f0abd1028b968dce58
-0, 75000, 38016, c0f81ef6b25034cff00db1e3c369be97
-0, 78000, 38016, 01b502a4b69d5be7a82f292e735aa087
-0, 81000, 38016, 6bbff03307f93a654e4529e2a5092887
-0, 84000, 38016, 17ef5fd4bd1cc6030e1370a43f1d19bf
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
+0, 1, 1, 1, 38016, 9b755a63c7c5352660a265f6e24991e1
+0, 2, 2, 1, 38016, a591f0b04447d6d6dd9bb990502594aa
+0, 3, 3, 1, 38016, 6ebbd38d20a4104a842c66df53a8b86e
+0, 4, 4, 1, 38016, a114c37e74a4252ed66c5c4e7c8df84b
+0, 5, 5, 1, 38016, 4bad182348dcfb627b3e15bc228a3c8f
+0, 6, 6, 1, 38016, a843b5c80266f890044a4ba1f59de8ed
+0, 7, 7, 1, 38016, 34816d9129f252afcbd56d6ad1df94c7
+0, 8, 8, 1, 38016, 7d7d46cd08e18aea6fc52c0ec58a4803
+0, 9, 9, 1, 38016, c96c3357d89534fce32251a0d52c68c5
+0, 10, 10, 1, 38016, 5eb1329f955ab80696d8220605a51552
+0, 11, 11, 1, 38016, 68b3d5162cd5b004a6dfeac705c75afa
+0, 12, 12, 1, 38016, b79647c678fbbb9ffbd8c4ff63c05e43
+0, 13, 13, 1, 38016, 4566eb5f995852d72b6913d2ca2e321c
+0, 14, 14, 1, 38016, 02e7e951ac9e42eafb1260defaecf685
+0, 15, 15, 1, 38016, ddbfa0f81a009c41271c9aa587e88baa
+0, 16, 16, 1, 38016, 27d31dba74cb2170c456830a9f888c0b
+0, 17, 17, 1, 38016, 0537650a41bb087a5fd33d6347fe9036
+0, 18, 18, 1, 38016, df2205297d4f00164a3440c8fa1ac4ee
+0, 19, 19, 1, 38016, 9942b757bd3839c1cd6b1068c68967f2
+0, 20, 20, 1, 38016, d9284e1e989cd38d0226b1a3c6e89409
+0, 21, 21, 1, 38016, 12427a3fdc22461fe9d6ff9dd5863bef
+0, 22, 22, 1, 38016, 63f75f2a63630347671c0e6dd2f88bcb
+0, 23, 23, 1, 38016, b161169a678e3959b492d83a03d47dee
+0, 24, 24, 1, 38016, 50a6d4c8722197f0abd1028b968dce58
+0, 25, 25, 1, 38016, c0f81ef6b25034cff00db1e3c369be97
+0, 26, 26, 1, 38016, 01b502a4b69d5be7a82f292e735aa087
+0, 27, 27, 1, 38016, 6bbff03307f93a654e4529e2a5092887
+0, 28, 28, 1, 38016, 17ef5fd4bd1cc6030e1370a43f1d19bf
diff --git a/tests/ref/fate/vp8-test-vector-012 b/tests/ref/fate/vp8-test-vector-012
index 5af0e4c1af..4d5adcbf1b 100644
--- a/tests/ref/fate/vp8-test-vector-012
+++ b/tests/ref/fate/vp8-test-vector-012
@@ -1,29 +1,30 @@
-0, 0, 38016, cc3069a59b6f4319761af2b39923a6e5
-0, 3000, 38016, c0bc935941d994c6af6a864f02a90a62
-0, 6000, 38016, 5b6073ce4a03967aa87e56dfa27e32c2
-0, 9000, 38016, 5310a9d6bf938ed89b10727f11e131c4
-0, 12000, 38016, 290fb1310ea10b862b51d37ff9d79f7c
-0, 15000, 38016, 0ca1accba77dc867df682b8e3768d6e2
-0, 18000, 38016, 2a90659dd4cd5d2f825641be55609d97
-0, 21000, 38016, e003db31fbfeab54385252e8c64197fc
-0, 24000, 38016, 0778609bd9626652e8a8dd07d5ef9f45
-0, 27000, 38016, 36eecf49c4aa2d8c3f232a1dbbb5f4ca
-0, 30000, 38016, f69f30dd8ebb7db4c51e0371f6a23736
-0, 33000, 38016, e9d5293db5122b9683a0853c2ef678cb
-0, 36000, 38016, 75d6a09bca67a82c8aacabb710558330
-0, 39000, 38016, 973d73aa4bb4e3de2cb1ba97685e08ca
-0, 42000, 38016, daf9ce67baaaa02bc56f49b540f22a30
-0, 45000, 38016, d08fd3b942e1219132015819c553f2c2
-0, 48000, 38016, 0aeea73b030e47bbd80bb0fb33fb6ebd
-0, 51000, 38016, 6e9f5f98fffe27abfae52304c693ae44
-0, 54000, 38016, 961c71a47741a1ac47fcaebf958647c8
-0, 57000, 38016, e75e53160b9f33eca0dfba999d8002eb
-0, 60000, 38016, ebb5d79336f75c44a09971dbba6947f3
-0, 63000, 38016, f02317fae5e143103a114ca692b58c25
-0, 66000, 38016, 8282867aa63fa23c48cc0216e21933cc
-0, 69000, 38016, d0d74ebbf56ca62825641028b66cdb20
-0, 72000, 38016, a8df24b0a22fe4fb334ea7063cba8754
-0, 75000, 38016, 8a570e42ad6ab42ead80b5022c2eb2f1
-0, 78000, 38016, dae566f13fa69de11db3ba7673e6211d
-0, 81000, 38016, 914ed8403cdbf4c54d0b9cb1eeee6832
-0, 84000, 38016, 18aa8d4bfe06a04ec4e9ccf9c7a92643
+#tb 0: 1/30
+0, 0, 0, 1, 38016, cc3069a59b6f4319761af2b39923a6e5
+0, 1, 1, 1, 38016, c0bc935941d994c6af6a864f02a90a62
+0, 2, 2, 1, 38016, 5b6073ce4a03967aa87e56dfa27e32c2
+0, 3, 3, 1, 38016, 5310a9d6bf938ed89b10727f11e131c4
+0, 4, 4, 1, 38016, 290fb1310ea10b862b51d37ff9d79f7c
+0, 5, 5, 1, 38016, 0ca1accba77dc867df682b8e3768d6e2
+0, 6, 6, 1, 38016, 2a90659dd4cd5d2f825641be55609d97
+0, 7, 7, 1, 38016, e003db31fbfeab54385252e8c64197fc
+0, 8, 8, 1, 38016, 0778609bd9626652e8a8dd07d5ef9f45
+0, 9, 9, 1, 38016, 36eecf49c4aa2d8c3f232a1dbbb5f4ca
+0, 10, 10, 1, 38016, f69f30dd8ebb7db4c51e0371f6a23736
+0, 11, 11, 1, 38016, e9d5293db5122b9683a0853c2ef678cb
+0, 12, 12, 1, 38016, 75d6a09bca67a82c8aacabb710558330
+0, 13, 13, 1, 38016, 973d73aa4bb4e3de2cb1ba97685e08ca
+0, 14, 14, 1, 38016, daf9ce67baaaa02bc56f49b540f22a30
+0, 15, 15, 1, 38016, d08fd3b942e1219132015819c553f2c2
+0, 16, 16, 1, 38016, 0aeea73b030e47bbd80bb0fb33fb6ebd
+0, 17, 17, 1, 38016, 6e9f5f98fffe27abfae52304c693ae44
+0, 18, 18, 1, 38016, 961c71a47741a1ac47fcaebf958647c8
+0, 19, 19, 1, 38016, e75e53160b9f33eca0dfba999d8002eb
+0, 20, 20, 1, 38016, ebb5d79336f75c44a09971dbba6947f3
+0, 21, 21, 1, 38016, f02317fae5e143103a114ca692b58c25
+0, 22, 22, 1, 38016, 8282867aa63fa23c48cc0216e21933cc
+0, 23, 23, 1, 38016, d0d74ebbf56ca62825641028b66cdb20
+0, 24, 24, 1, 38016, a8df24b0a22fe4fb334ea7063cba8754
+0, 25, 25, 1, 38016, 8a570e42ad6ab42ead80b5022c2eb2f1
+0, 26, 26, 1, 38016, dae566f13fa69de11db3ba7673e6211d
+0, 27, 27, 1, 38016, 914ed8403cdbf4c54d0b9cb1eeee6832
+0, 28, 28, 1, 38016, 18aa8d4bfe06a04ec4e9ccf9c7a92643
diff --git a/tests/ref/fate/vp8-test-vector-013 b/tests/ref/fate/vp8-test-vector-013
index fbb111778d..de7c0b3cbc 100644
--- a/tests/ref/fate/vp8-test-vector-013
+++ b/tests/ref/fate/vp8-test-vector-013
@@ -1,29 +1,30 @@
-0, 0, 38016, ad137b9eae93daed28fe31fd5165b4d0
-0, 3000, 38016, 7cd527f647680c0eb305050d27fb8092
-0, 6000, 38016, f306e07a2e86c82a8cc1333be3812326
-0, 9000, 38016, 4ffd6065ef6af716fdb7388479cf300e
-0, 12000, 38016, e776c698ae335107d5794c02cf00d3ee
-0, 15000, 38016, c0043e3283b96a4aa58d2265b007e67e
-0, 18000, 38016, 235dd358e6adb3e144d7d957458e74a0
-0, 21000, 38016, 4d34b966a406e7c2d5cef029ddc76021
-0, 24000, 38016, 65f9eb823a63e17710b111892c415b70
-0, 27000, 38016, 84d4a1d510d1c1aa8f3e7232d574ba9d
-0, 30000, 38016, f3218df364f0e283df56b5d4a9cdfca9
-0, 33000, 38016, 3079d93a140b51fe3e7b4889fd5fdd24
-0, 36000, 38016, 4b76d7f904960792b78378c95453b77a
-0, 39000, 38016, 26cdd39f9cd862b383352bf769d212a0
-0, 42000, 38016, d98dbe7d7b8a5ccc50cb3a2e3dcacec8
-0, 45000, 38016, a931f142064062d7d2d1245278c6edd9
-0, 48000, 38016, 0c6dae06c59c040801be386d7e883f52
-0, 51000, 38016, cec4a68182fb14185360f57de81e73cb
-0, 54000, 38016, 7e819d1d928f974f25d45023a89a6765
-0, 57000, 38016, 6d9a9fd28212940497f881ef4886d756
-0, 60000, 38016, f22969fc06edc0c9190cae8bb22243ae
-0, 63000, 38016, 2fcd676dbf66f842e91649a3d6c80f50
-0, 66000, 38016, ce16e8920e91ec208dfb241addfc612b
-0, 69000, 38016, 3a205f364751ff5e72d7da20e5713f53
-0, 72000, 38016, 2305bcde500197d7697eec4ba89f1533
-0, 75000, 38016, 23712ae207ea2381f886ed038ec3852b
-0, 78000, 38016, 7197e717541573be07f9cda50ba524a9
-0, 81000, 38016, 3f3e3ec6d1d6f49021affbadb75c1fda
-0, 84000, 38016, 424fe8391a419b005a6f142ec65d802b
+#tb 0: 1/30
+0, 0, 0, 1, 38016, ad137b9eae93daed28fe31fd5165b4d0
+0, 1, 1, 1, 38016, 7cd527f647680c0eb305050d27fb8092
+0, 2, 2, 1, 38016, f306e07a2e86c82a8cc1333be3812326
+0, 3, 3, 1, 38016, 4ffd6065ef6af716fdb7388479cf300e
+0, 4, 4, 1, 38016, e776c698ae335107d5794c02cf00d3ee
+0, 5, 5, 1, 38016, c0043e3283b96a4aa58d2265b007e67e
+0, 6, 6, 1, 38016, 235dd358e6adb3e144d7d957458e74a0
+0, 7, 7, 1, 38016, 4d34b966a406e7c2d5cef029ddc76021
+0, 8, 8, 1, 38016, 65f9eb823a63e17710b111892c415b70
+0, 9, 9, 1, 38016, 84d4a1d510d1c1aa8f3e7232d574ba9d
+0, 10, 10, 1, 38016, f3218df364f0e283df56b5d4a9cdfca9
+0, 11, 11, 1, 38016, 3079d93a140b51fe3e7b4889fd5fdd24
+0, 12, 12, 1, 38016, 4b76d7f904960792b78378c95453b77a
+0, 13, 13, 1, 38016, 26cdd39f9cd862b383352bf769d212a0
+0, 14, 14, 1, 38016, d98dbe7d7b8a5ccc50cb3a2e3dcacec8
+0, 15, 15, 1, 38016, a931f142064062d7d2d1245278c6edd9
+0, 16, 16, 1, 38016, 0c6dae06c59c040801be386d7e883f52
+0, 17, 17, 1, 38016, cec4a68182fb14185360f57de81e73cb
+0, 18, 18, 1, 38016, 7e819d1d928f974f25d45023a89a6765
+0, 19, 19, 1, 38016, 6d9a9fd28212940497f881ef4886d756
+0, 20, 20, 1, 38016, f22969fc06edc0c9190cae8bb22243ae
+0, 21, 21, 1, 38016, 2fcd676dbf66f842e91649a3d6c80f50
+0, 22, 22, 1, 38016, ce16e8920e91ec208dfb241addfc612b
+0, 23, 23, 1, 38016, 3a205f364751ff5e72d7da20e5713f53
+0, 24, 24, 1, 38016, 2305bcde500197d7697eec4ba89f1533
+0, 25, 25, 1, 38016, 23712ae207ea2381f886ed038ec3852b
+0, 26, 26, 1, 38016, 7197e717541573be07f9cda50ba524a9
+0, 27, 27, 1, 38016, 3f3e3ec6d1d6f49021affbadb75c1fda
+0, 28, 28, 1, 38016, 424fe8391a419b005a6f142ec65d802b
diff --git a/tests/ref/fate/vp8-test-vector-014 b/tests/ref/fate/vp8-test-vector-014
index 5ce3cef0b6..4341e59097 100644
--- a/tests/ref/fate/vp8-test-vector-014
+++ b/tests/ref/fate/vp8-test-vector-014
@@ -1,49 +1,50 @@
-0, 0, 37697, 7a0356dc950e79744d79c98e391ebee9
-0, 3000, 37697, 96e221e75c290dd847b8e55865073366
-0, 6000, 37697, 67638290841837c90f180a01094f9191
-0, 9000, 37697, 93c8e234e123f7a641c5eb44903b75ab
-0, 12000, 37697, b4fa5ce6089221863002019d99ae7f9d
-0, 15000, 37697, 5d3b48fbb681ef2b6a0a5e60c03ee5bd
-0, 18000, 37697, 26635956a9ed343428b36947723b4b94
-0, 21000, 37697, 18e9b11e10350ab20b89482c5d1c5cea
-0, 24000, 37697, 44fe40a7ce85552ccf95a451c5732e57
-0, 27000, 37697, f38758bf6d522023961d08719e92d3ce
-0, 30000, 37697, 28a2a9ebb3633a0822c9a283ab1ddea6
-0, 33000, 37697, 4b4485c9419710ad6d3e6aa11fe3a91b
-0, 36000, 37697, e3f6850a934c6e3e2fed3026e1e53066
-0, 39000, 37697, 4acff1abe788a4944474b82d10af172d
-0, 42000, 37697, 4cbfcc008923e8303df170d4e7b1cf34
-0, 45000, 37697, dde5de0c676f60b4cea26bbf024bbfb7
-0, 48000, 37697, fe1b0890eef18cd4989d251dbc3b7ef2
-0, 51000, 37697, 462303741de9904a13bd46534010f588
-0, 54000, 37697, 7ab2068505dbccdf522a08a65373b6b6
-0, 57000, 37697, cb63092b6880bbdbaa40b40d738aa4dd
-0, 60000, 37697, dca7556869370de600afbda82bb45fae
-0, 63000, 37697, 5f5cae9db9e3aa3f300706ebc3874987
-0, 66000, 37697, eaf7ba4f48eb5722c09420f2be4bc5f3
-0, 69000, 37697, dd5b43b72c8b9c3ad53afef0f8869a68
-0, 72000, 37697, f5d81cadb4b1f69e9700293e38ea36a2
-0, 75000, 37697, 1e56a6becf3099db71fbc7a996c4fbba
-0, 78000, 37697, 7e0676c4af74b59d9560d8b42d400de2
-0, 81000, 37697, 6717c3c344b45e9e202e808d19c9baa8
-0, 84000, 37697, 42b92f6fbd4cc5d4cf4f9b364a8a7741
-0, 87000, 37697, 6caca9fcc03e8b9d326aec18eaaae928
-0, 90000, 37697, cfa2798d156cabe81160c00939102d90
-0, 93000, 37697, 5d018cfac7da660819da2e5d25e8126e
-0, 96000, 37697, 761b7b2b64b22abadb89c58ab294520b
-0, 99000, 37697, 4e066fa627d4dbf3635148eb6b2a0477
-0, 102000, 37697, e0d6dd242cb99c7bc9826a05895344c5
-0, 105000, 37697, 84e7beedcba6da53feb722f30211d2f8
-0, 108000, 37697, af49b3fcc56b02ca746792b1d3bbe1c8
-0, 111000, 37697, cdd9f17b4501bc7f7bedb70f2e33f282
-0, 114000, 37697, 69d853dfd9b09d299faec521acb4e765
-0, 117000, 37697, c3497292359c1a1de81cd5fb062e5175
-0, 120000, 37697, 0e3994e4a62d8c922dbde51186615ea7
-0, 123000, 37697, 86bc5561c72bd17e7473f54f6b6311f1
-0, 126000, 37697, 0c747481e3dc575c6aad4507f8e62d8e
-0, 129000, 37697, 6779dfe5b6a7d4ba5ae5355058f54bc9
-0, 132000, 37697, d7d4e85f48d38c1106a031bd9b57d909
-0, 135000, 37697, a0ab20a38891925fd77ac2b075f0046f
-0, 138000, 37697, 88655045ce8c5cb4c4aa3a5071f1beba
-0, 141000, 37697, 7e849d493185a8f782b53a71151bae26
-0, 144000, 37697, a5b9a0cbfac73d2227118c0718cf9d14
+#tb 0: 1/30
+0, 0, 0, 1, 37697, 7a0356dc950e79744d79c98e391ebee9
+0, 1, 1, 1, 37697, 96e221e75c290dd847b8e55865073366
+0, 2, 2, 1, 37697, 67638290841837c90f180a01094f9191
+0, 3, 3, 1, 37697, 93c8e234e123f7a641c5eb44903b75ab
+0, 4, 4, 1, 37697, b4fa5ce6089221863002019d99ae7f9d
+0, 5, 5, 1, 37697, 5d3b48fbb681ef2b6a0a5e60c03ee5bd
+0, 6, 6, 1, 37697, 26635956a9ed343428b36947723b4b94
+0, 7, 7, 1, 37697, 18e9b11e10350ab20b89482c5d1c5cea
+0, 8, 8, 1, 37697, 44fe40a7ce85552ccf95a451c5732e57
+0, 9, 9, 1, 37697, f38758bf6d522023961d08719e92d3ce
+0, 10, 10, 1, 37697, 28a2a9ebb3633a0822c9a283ab1ddea6
+0, 11, 11, 1, 37697, 4b4485c9419710ad6d3e6aa11fe3a91b
+0, 12, 12, 1, 37697, e3f6850a934c6e3e2fed3026e1e53066
+0, 13, 13, 1, 37697, 4acff1abe788a4944474b82d10af172d
+0, 14, 14, 1, 37697, 4cbfcc008923e8303df170d4e7b1cf34
+0, 15, 15, 1, 37697, dde5de0c676f60b4cea26bbf024bbfb7
+0, 16, 16, 1, 37697, fe1b0890eef18cd4989d251dbc3b7ef2
+0, 17, 17, 1, 37697, 462303741de9904a13bd46534010f588
+0, 18, 18, 1, 37697, 7ab2068505dbccdf522a08a65373b6b6
+0, 19, 19, 1, 37697, cb63092b6880bbdbaa40b40d738aa4dd
+0, 20, 20, 1, 37697, dca7556869370de600afbda82bb45fae
+0, 21, 21, 1, 37697, 5f5cae9db9e3aa3f300706ebc3874987
+0, 22, 22, 1, 37697, eaf7ba4f48eb5722c09420f2be4bc5f3
+0, 23, 23, 1, 37697, dd5b43b72c8b9c3ad53afef0f8869a68
+0, 24, 24, 1, 37697, f5d81cadb4b1f69e9700293e38ea36a2
+0, 25, 25, 1, 37697, 1e56a6becf3099db71fbc7a996c4fbba
+0, 26, 26, 1, 37697, 7e0676c4af74b59d9560d8b42d400de2
+0, 27, 27, 1, 37697, 6717c3c344b45e9e202e808d19c9baa8
+0, 28, 28, 1, 37697, 42b92f6fbd4cc5d4cf4f9b364a8a7741
+0, 29, 29, 1, 37697, 6caca9fcc03e8b9d326aec18eaaae928
+0, 30, 30, 1, 37697, cfa2798d156cabe81160c00939102d90
+0, 31, 31, 1, 37697, 5d018cfac7da660819da2e5d25e8126e
+0, 32, 32, 1, 37697, 761b7b2b64b22abadb89c58ab294520b
+0, 33, 33, 1, 37697, 4e066fa627d4dbf3635148eb6b2a0477
+0, 34, 34, 1, 37697, e0d6dd242cb99c7bc9826a05895344c5
+0, 35, 35, 1, 37697, 84e7beedcba6da53feb722f30211d2f8
+0, 36, 36, 1, 37697, af49b3fcc56b02ca746792b1d3bbe1c8
+0, 37, 37, 1, 37697, cdd9f17b4501bc7f7bedb70f2e33f282
+0, 38, 38, 1, 37697, 69d853dfd9b09d299faec521acb4e765
+0, 39, 39, 1, 37697, c3497292359c1a1de81cd5fb062e5175
+0, 40, 40, 1, 37697, 0e3994e4a62d8c922dbde51186615ea7
+0, 41, 41, 1, 37697, 86bc5561c72bd17e7473f54f6b6311f1
+0, 42, 42, 1, 37697, 0c747481e3dc575c6aad4507f8e62d8e
+0, 43, 43, 1, 37697, 6779dfe5b6a7d4ba5ae5355058f54bc9
+0, 44, 44, 1, 37697, d7d4e85f48d38c1106a031bd9b57d909
+0, 45, 45, 1, 37697, a0ab20a38891925fd77ac2b075f0046f
+0, 46, 46, 1, 37697, 88655045ce8c5cb4c4aa3a5071f1beba
+0, 47, 47, 1, 37697, 7e849d493185a8f782b53a71151bae26
+0, 48, 48, 1, 37697, a5b9a0cbfac73d2227118c0718cf9d14
diff --git a/tests/ref/fate/vp8-test-vector-015 b/tests/ref/fate/vp8-test-vector-015
index 7e97342f71..b32f2337d7 100644
--- a/tests/ref/fate/vp8-test-vector-015
+++ b/tests/ref/fate/vp8-test-vector-015
@@ -1,260 +1,261 @@
-0, 0, 115200, 6b4c7cc0c6a7218362e43cffef6618c9
-0, 3000, 115200, e132a7b1bb4fb15b1019092aedc0e599
-0, 6000, 115200, b36975db60f24088d95385ff7e8b7b8a
-0, 9000, 115200, 4ae6a13ae0435afb2eac66f15a07b143
-0, 12000, 115200, d1de33515e29053171c9fbe969a33fa1
-0, 15000, 115200, cf01450481865c10765995a3b92b440f
-0, 18000, 115200, 274461d33aeab30885b23bf2818ad150
-0, 21000, 115200, cb434c5a829b3d6d15a6e76f05abd51f
-0, 24000, 115200, 512019fa16b1cd6bf308c91d6577cf2a
-0, 27000, 115200, 2d1174741c144b2162806373d0092739
-0, 30000, 115200, 8ec38a17566342a35598bd5ab6d290d5
-0, 33000, 115200, 262b71c9874cc7a5138b12b294575572
-0, 36000, 115200, bfe5e37095dc450dc717fda5ef77b6fe
-0, 39000, 115200, 7fbcdb00872206a597bb69ebe9221b03
-0, 42000, 115200, b599ac8568b6780dec25de4211e071ef
-0, 45000, 115200, 797085b07f4c1e4f4b0116d329403cf8
-0, 48000, 115200, a0d0821365658bee14767698877cc066
-0, 51000, 115200, 286a917e787d474eb78b4797a0909a5e
-0, 54000, 115200, 3548a320f6954c40a00ddf2e4ee212bd
-0, 57000, 115200, 80af737ca733afa28fdae06421b3cf8d
-0, 60000, 115200, f31a2b62cb69bc680b314a033f91881b
-0, 63000, 115200, 02e4a780b3a0d83a8897988ef17b548c
-0, 66000, 115200, 844929e7492b389fc520c5f75d37aa77
-0, 69000, 115200, 558ac4c1c11da425baf832a73e1ac2da
-0, 72000, 115200, 41b21109a7aa5f163ac0967ecd11f792
-0, 75000, 115200, a2a050c04eaa97db43a5a0a96d20a143
-0, 78000, 115200, 18d1881d44ab9dc959c34d92c0cabd36
-0, 81000, 115200, 53618af318cd187b4fcd5a3c22d3ab79
-0, 84000, 115200, 8028e6a6a6dadc8331e39cff1ba2b899
-0, 87000, 115200, 2c32a58d68595ff4100cec4fc1637c55
-0, 90000, 115200, 8ecc02d32f36edd167cabe2a7bc66683
-0, 93000, 115200, 7caa9ce69ac9f71170a69fbcef4c4b34
-0, 96000, 115200, df06a6a8a81979c39f2c3546eb03a3c2
-0, 99000, 115200, 2bfd578fa08335e975d498e11eadc8bc
-0, 102000, 115200, 0d78c5656d56e423ff31cab09855a335
-0, 105000, 115200, 7152d9e35748a7ec2e8da37f0b943325
-0, 108000, 115200, eb9e0e5cba76f0819da6256136ffd4e3
-0, 111000, 115200, c4e5ef875132c06a80f0afb3ee894684
-0, 114000, 115200, d2feb49297dd2f0a532479341d607e64
-0, 117000, 115200, d092d165608f405161fbf73a19df26ca
-0, 120000, 115200, cb228940384c3021af42b0ab81c65d7a
-0, 123000, 115200, 426decfbf29a025a7a5e376951c34b83
-0, 126000, 115200, 42c25e24bfd048bde0f9105d934cb81e
-0, 129000, 115200, 4bf37f8ccb2c4f42fa64a52a4699883f
-0, 132000, 115200, 5a00d85407910d4170d11511f03cc3a7
-0, 135000, 115200, 032072b8713a2cd7434b5be706a8667d
-0, 138000, 115200, e729c561b318aa14d7dbf96299c4675d
-0, 141000, 115200, e7e1d71c1c59bb759c89f15c6e8970f0
-0, 144000, 115200, 9c04011f4d92257a6dc112c5acad0f59
-0, 147000, 115200, ca7c7cbf52dd7af9a62212f3a9bd1f74
-0, 150000, 115200, 3cc9c4d3857d692e0dbfee682d63d32c
-0, 153000, 115200, 1188fc9620cf0d23af21d8823c127b80
-0, 156000, 115200, c614690b8d4d3bea47f1b236ff32d1d8
-0, 159000, 115200, d6ccde3360e6a05b61013e85f96de9e9
-0, 162000, 115200, 7f11cacc42d14121aeab487975ec190b
-0, 165000, 115200, cdd8b538ff107f88c5f0dc7128bc331e
-0, 168000, 115200, f43a387e9bb2f4db387d3f44da16457b
-0, 171000, 115200, b7ba01b86fce2252105f99848e2ac95c
-0, 174000, 115200, 094200f775b6ced838d0c37e0d0b34e6
-0, 177000, 115200, b2d2fa96666b96b7cb624133cf404b09
-0, 180000, 115200, d935644161a2b06f0efc75dc6d0fcf46
-0, 183000, 115200, 2a3be6460f313d7fdd6f6f9c70092a50
-0, 186000, 115200, f8254b6469b807ce0e9a1ea4b98a59db
-0, 189000, 115200, 43639a3293ec640b203e0c8a97e6f45e
-0, 192000, 115200, 055762cccc279c8dd27450ec1d512d5f
-0, 195000, 115200, a90dac910f3cdd216293bebc46b36501
-0, 198000, 115200, 3531ef2a4a59271f89ca0972b65d06aa
-0, 201000, 115200, 1f87adde14795639105be714247d0bd0
-0, 204000, 115200, e991cdd7912266937ca6f0d59199645b
-0, 207000, 115200, 5b98019db0fca644da5ee73e0160c7c5
-0, 210000, 115200, 6276f3907e4bb87885d21e11150d044d
-0, 213000, 115200, 985785d7a788dcc07bd5fb72d3dc758e
-0, 216000, 115200, 3379548a573d068d47d5f54aaf79c8a9
-0, 219000, 115200, a2b36848e7d19383cfabf8bdcabd241a
-0, 222000, 115200, 0aeda76888a5a2426ae3b390e38aba52
-0, 225000, 115200, 2c652e7850ccc10cbc7a3266f1fb6c00
-0, 228000, 115200, 5dfc9e4dce69f1f644fad5b69c0b4008
-0, 231000, 115200, da775fc1469012a0c717ebe5dc940e26
-0, 234000, 115200, 6185a863f7d023ddb2b049e265aab1bb
-0, 237000, 115200, 7a56397397191ab1b7c93a4bdc9b57c1
-0, 240000, 115200, 3e95a3f2c2660dc28ec64efef29615f0
-0, 243000, 115200, b9ba03bd7c09224174368a60af389b9c
-0, 246000, 115200, bfd23a13e077843506a01e44adb27c04
-0, 249000, 115200, 9025dff58a57abcc25da69fd233e312a
-0, 252000, 115200, ba4b91b0fe4d36f77b62ec3fe7b10a96
-0, 255000, 115200, 7955419ff2bc42b703dfc976576a5bd4
-0, 258000, 115200, 36d6a723ebb35c45128bfa8a7bba0d49
-0, 261000, 115200, 77503cc79e3cb0fc74745bac967fee1d
-0, 264000, 115200, a05af40cb4fc009fe94be6dbf148b453
-0, 267000, 115200, 35bc39585679f7c07f1b196879719ce6
-0, 270000, 115200, 48831c2e2212134ab192a123e847c157
-0, 273000, 115200, c09c37f9fd929185452a8beb3c61b839
-0, 276000, 115200, c534a38d586f3cac998240a7013c636c
-0, 279000, 115200, b598c6999442cf0c53ed6a19d1215eb8
-0, 282000, 115200, c639685c8f4af3d006df1833950943aa
-0, 285000, 115200, 351e1c089ba5b9024de6e311c4a4afd3
-0, 288000, 115200, 67d8ea902179548d0b01544249b2411f
-0, 291000, 115200, 3717ddf0edbb2020a5b974678d358d25
-0, 294000, 115200, 85f7c6861241e3f43fc63c397c8c3c37
-0, 297000, 115200, c5b23b4d3d141d8cfbc5354ca1cfd34d
-0, 300000, 115200, c2e42fa6b11cdc3abcf3ee0c3f75a459
-0, 303000, 115200, 34df411aa928d5df3628644d9a38c768
-0, 306000, 115200, a768b448b6c894d9b927bc880249079a
-0, 309000, 115200, a2e9ad0d0ad733b8ccacf0379b05f6f9
-0, 312000, 115200, 4b485e9496ab4d417b8cffaf8754f5cb
-0, 315000, 115200, 47007fabfacd9e9c5a3997fb70d45895
-0, 318000, 115200, 4962433241c7509801b46bea70f38269
-0, 321000, 115200, 7b4593b45606650e78aec67722cfc2bf
-0, 324000, 115200, 882bcbf7d2c12e93df2fbebc6ac19dd8
-0, 327000, 115200, a2998a9c648817236bfffdae454f9fa1
-0, 330000, 115200, 56775760fa99e9a9b7293ddc78a44ece
-0, 333000, 115200, bb245d095424c28dd2ace22a5a511d6a
-0, 336000, 115200, 598c54d2b207190ed549dec7390a4190
-0, 339000, 115200, c73f16b2709527fce3d725ade5aab2fc
-0, 342000, 115200, 32dcad6eb17bee583884029fe18c07a7
-0, 345000, 115200, a1297c404a0d22e0e8e1e4ef67696606
-0, 348000, 115200, 2fef1ac7becf9b8c9f3ac2310f444e3b
-0, 351000, 115200, 0f03614ed3daec6c37c5b564ad24f595
-0, 354000, 115200, 9b175a6353ec377da408b0cf03388081
-0, 357000, 115200, 37b991b4a216a4847d0768a3b878284a
-0, 360000, 115200, faafcd544080a6a4f87a0d0a393ba37b
-0, 363000, 115200, 43ede087f37c1b0392829bbc668242fc
-0, 366000, 115200, b7ed1274016c4d1810d8999d495b7370
-0, 369000, 115200, 22af7bfc83c6e1f2eff2ae26e115b446
-0, 372000, 115200, 969b22455f3be057036ddd5a329b1de3
-0, 375000, 115200, 63c24b8a3d6c3a4c2fd47c48860abff9
-0, 378000, 115200, b407ddc89c538d7b6fb70e48493f872c
-0, 381000, 115200, 5de69fb9e1cd425cd3931116803f5391
-0, 384000, 115200, 07fc7a5cb360edae97db999c2a8d2716
-0, 387000, 115200, 602a17c58cac811e6e71e33448931ce5
-0, 390000, 115200, 44087725484198c8e846d112583e574b
-0, 393000, 115200, 0d81da0d23d196ff972894878bd17b73
-0, 396000, 115200, b3cd65f1bd2274895e54da99bb4c4f07
-0, 399000, 115200, ae8ca35672d8352af49f37f5174c8fbd
-0, 402000, 115200, 9eea1ff900cf680e8208cd5d07a4d284
-0, 405000, 115200, 5a47f272dfda3fe61955875f761a71f2
-0, 408000, 115200, 544558333008db01451c886ac0b62c47
-0, 411000, 115200, 5f8e4f3b11d7f5a28ff5cd9f3a6853bb
-0, 414000, 115200, e9bc3da7060457f2d52a5bf6fe3bb515
-0, 417000, 115200, 6aea6851a092260ae6594c6d9170ea8e
-0, 420000, 115200, 38e7fa5bea809a984a5f810940ca0e49
-0, 423000, 115200, 9e8a23ac9067a1acf8472d7aa3b9811e
-0, 426000, 115200, 6f25f5873afd5c341ca6b3eb284be809
-0, 429000, 115200, 40c3240e6cde94aae793a52cb46487da
-0, 432000, 115200, b7f1f13842fbf0c6e085280eb89b956f
-0, 435000, 115200, 1f059372d8bf4dadf78d8e215bbf9786
-0, 438000, 115200, 50c1d6b76930e765bff5ecbaaae686fe
-0, 441000, 115200, 5bd8cb05ebc034192e08ca8ce18a7964
-0, 444000, 115200, ffc0c20b07e26857dc4f2c079a2ad675
-0, 447000, 115200, 5dafb6ac0953c254182dba124e213c07
-0, 450000, 115200, c774ed25712a38603fe2e224802768cb
-0, 453000, 115200, de549cc803a6138d483be15b28ef2286
-0, 456000, 115200, c963d9bc79c1dd2a47f7f8424c56239e
-0, 459000, 115200, 9df993e0bef1bedbce1a6b596f2c64f4
-0, 462000, 115200, 875792bde0f45358009b506840be68e1
-0, 465000, 115200, 7f8c57083d2df08db6287cb025260788
-0, 468000, 115200, 47eb13bc0942b5cafeea324fc5bf5cd5
-0, 471000, 115200, d89129c7528ff7372f23d1191c75e336
-0, 474000, 115200, bdd14e38b00075d8da485d1517dbbd65
-0, 477000, 115200, 0e8e21a50a5dd1ac6fc881ad38ec38bd
-0, 480000, 115200, a0fce98c23a053b4073715c554b9dc44
-0, 483000, 115200, 18bda80360c72d04c60016682b1f6c8d
-0, 486000, 115200, 306d7556c18dcf58c8183959d1c34c2a
-0, 489000, 115200, 7ada9d23b96ef41322497d1077b00c4d
-0, 492000, 115200, d7df0508be4bd0c3e83f346f0b9a1868
-0, 495000, 115200, 749725f425f6fd4a79269bca900d09ae
-0, 498000, 115200, ed30973158a576e2919e2fcfd00987fc
-0, 501000, 115200, 2486d8b742ccc50cf8683af7f4502aec
-0, 504000, 115200, bdfb21e4236c904aeacd7b094fcffe98
-0, 507000, 115200, df2ef3e452731053ade82506c013164e
-0, 510000, 115200, 4695bfd9aa8e5667572f8f2142c6e538
-0, 513000, 115200, 649f5315cff1d28f0183144bf4d4eea4
-0, 516000, 115200, 450e987b9d6075d32e21d030bc385833
-0, 519000, 115200, 7aec79b25dabfcc2eb2f32e7dbff85f2
-0, 522000, 115200, c9c2a96239ad556a2ee496d7c4c965c1
-0, 525000, 115200, 3a038e48aa1238b62d431823653bc45a
-0, 528000, 115200, 6d5c8de6a281dbce68998b2c38063f33
-0, 531000, 115200, 045032f57d6a50ae148f4372f5083a62
-0, 534000, 115200, 5f39172951e083e712c3b1c528e61a4f
-0, 537000, 115200, 5a49eea76b6a86e305fb207fc1479264
-0, 540000, 115200, 33ca5fb5f3e4ff3a24235da71c5730d5
-0, 543000, 115200, 81f231d20426c5cbd02a85a425f5d0b8
-0, 546000, 115200, 302d94aa9a8d3828cf74c8b2b7e7fdd5
-0, 549000, 115200, c56f4f0c32b0f2c409b64ed10216a40a
-0, 552000, 115200, 9cf7f51e1527f11c38c395bac94849d9
-0, 555000, 115200, 0f17e427d14db658131eb0ccdc2a97ef
-0, 558000, 115200, 2624dd6b8e4e95770f132d90aa6f6119
-0, 561000, 115200, 9ddabfd5f803014443c2a0686869c546
-0, 564000, 115200, 0170cb86a377d791d7cbee2af0836db7
-0, 567000, 115200, f43a7c63bcafb51ead65e2831610612c
-0, 570000, 115200, e7000913b11bdeb74ba4eca110df8470
-0, 573000, 115200, a4208c5fcd101ceb5a976838ae9a811f
-0, 576000, 115200, 8ddcb546ac632c967e879fb5101afa24
-0, 579000, 115200, 547007771194373dd246586744130f7c
-0, 582000, 115200, 3608a46fee2731341ae9f71d3a80918a
-0, 585000, 115200, 758692e173552eb3439a572c953dda0f
-0, 588000, 115200, 481f456d6c6ac2e0325acba5eeabcd26
-0, 591000, 115200, c749a3ef8641d5ec4f25c611ffad1000
-0, 594000, 115200, 93f089f7f1e78b1a4185c0b0d99875fb
-0, 597000, 115200, 1159712bb4dbaed38d2a7558335f4037
-0, 600000, 115200, e8dab85a977f525d4d9b448e4278a34b
-0, 603000, 115200, 780055af1414e7693777a18428b20a07
-0, 606000, 115200, 59252515451fd96ca3f1194d5aadc3a7
-0, 609000, 115200, 0a977d6db761c149316417988657610a
-0, 612000, 115200, ed81d3a10369c12543f9bb6822a249b6
-0, 615000, 115200, 341e844231f6b55ee3c1eb22ca1bac8e
-0, 618000, 115200, d0a180c7d15e30a71e297fda0452c153
-0, 621000, 115200, 58d6f2522ecd8e5fea34cc9f10da2a88
-0, 624000, 115200, dc8f96811577f4fd3e6624abae42f449
-0, 627000, 115200, 3624a2e95f94a0a4413e464f4bf93dcd
-0, 630000, 115200, cb0deeb5f2d570ca23e3be3ab9231fe9
-0, 633000, 115200, 5080848626a52e30eb0f64f234ca3e57
-0, 636000, 115200, a31c9fe4255318d86e7855f01588220f
-0, 639000, 115200, 6c25fd8d1f0e898f6078decc4220d47d
-0, 642000, 115200, 77e52da08ab57ba5784ce42872cc01cb
-0, 645000, 115200, b4a87059745b3b862ef7431a9630f16a
-0, 648000, 115200, 1dadc814514ef00f11010df21d8a9494
-0, 651000, 115200, 5c816a0bbc8ed8fca166aa454093cb59
-0, 654000, 115200, 10320c174423d1712d9ce812701bcaf9
-0, 657000, 115200, 279c9398657af129e072165f41e0fb8c
-0, 660000, 115200, 49d88374bc4d965d3cee3274c7cd9906
-0, 663000, 115200, 48871e22f635f50569dea1bd5ca40d5c
-0, 666000, 115200, 3b8396580f8fbd99daca4df13662f1fc
-0, 669000, 115200, 569245e1bf3cb42aa95f765a8449980f
-0, 672000, 115200, c5cab497d244447df0ab832dcc9c5968
-0, 675000, 115200, 0a98ca4f1d771c4bc0286b825d085955
-0, 678000, 115200, e4a55f175c3933f02ccf74ccf2961da2
-0, 681000, 115200, 462dca7f377d708e753ef0bbde19a090
-0, 684000, 115200, 6f1680f498b0ed6f89a834b5700cc48a
-0, 687000, 115200, 996414e2e3a4bac5868ceeb25b84e6e4
-0, 690000, 115200, 6ecb4d4b857578d32f716c56dc7e6be9
-0, 693000, 115200, e05c8e33157e20c8e8f255e937d6b6cb
-0, 696000, 115200, 6542744da147d16533e41dad287a54fc
-0, 699000, 115200, bb4b6921d2855025fbcaff4c12299d02
-0, 702000, 115200, 6bc3e605759725012f7e44f1285b0899
-0, 705000, 115200, 0be37ecb7cec0cf8a0f9bbc3c590ba98
-0, 708000, 115200, 4f1103e5923ba8dea3e99c8b75eaed3c
-0, 711000, 115200, 220a8fb0409112c4f4ee769880717fea
-0, 714000, 115200, e4c612263cfbc0f41283fd1e88e2ff52
-0, 717000, 115200, ede2bc67ad87cd78191b742dd56419b5
-0, 720000, 115200, ded6a1d0690603aea233e4d624aa60a9
-0, 723000, 115200, 59c8b53e47ebdab696547a887163b272
-0, 726000, 115200, 985f8afbc6df2d64d601d2fdc93571d7
-0, 729000, 115200, e595f0aa7b6b62094f0ad84252105f55
-0, 732000, 115200, c2fe4382a1740bcfc2f4c3573c6c3176
-0, 735000, 115200, 880d8c906a8b39a61b68eb0ada857e5f
-0, 738000, 115200, 9a3ca55d2d75e3c41a86aea2ec87ff76
-0, 741000, 115200, f800751663dbefa61c33c3ebbd5430b4
-0, 744000, 115200, d904333c0c76235c8ffdfc81dffddb46
-0, 747000, 115200, 6a633a9a7686a9a02bd252ec8bcff4fc
-0, 750000, 115200, 930d06ecc252a911a60c2d9d4f2618e6
-0, 753000, 115200, bb146a4410c34bba74883d8ae478f47b
-0, 756000, 115200, be8ab9fc95685ebec64ff1f8129afa35
-0, 759000, 115200, d1f871ea3ceb38bf2b6d00ebfc38187a
-0, 762000, 115200, ba33366e050a5f5abbf8202e0afbb9e8
-0, 765000, 115200, f706356e12cf4082337bb8f7a5a10673
-0, 768000, 115200, 6e8200d3c1cccc0f810985ea2a2030f6
-0, 771000, 115200, caafdc1810556197df6f42336edcc07b
-0, 774000, 115200, 5321ff525f5bb5063443a3dc43fc42af
-0, 777000, 115200, c24bdd3b935f7ca6e9e105b1ae8504db
+#tb 0: 1/30
+0, 0, 0, 1, 115200, 6b4c7cc0c6a7218362e43cffef6618c9
+0, 1, 1, 1, 115200, e132a7b1bb4fb15b1019092aedc0e599
+0, 2, 2, 1, 115200, b36975db60f24088d95385ff7e8b7b8a
+0, 3, 3, 1, 115200, 4ae6a13ae0435afb2eac66f15a07b143
+0, 4, 4, 1, 115200, d1de33515e29053171c9fbe969a33fa1
+0, 5, 5, 1, 115200, cf01450481865c10765995a3b92b440f
+0, 6, 6, 1, 115200, 274461d33aeab30885b23bf2818ad150
+0, 7, 7, 1, 115200, cb434c5a829b3d6d15a6e76f05abd51f
+0, 8, 8, 1, 115200, 512019fa16b1cd6bf308c91d6577cf2a
+0, 9, 9, 1, 115200, 2d1174741c144b2162806373d0092739
+0, 10, 10, 1, 115200, 8ec38a17566342a35598bd5ab6d290d5
+0, 11, 11, 1, 115200, 262b71c9874cc7a5138b12b294575572
+0, 12, 12, 1, 115200, bfe5e37095dc450dc717fda5ef77b6fe
+0, 13, 13, 1, 115200, 7fbcdb00872206a597bb69ebe9221b03
+0, 14, 14, 1, 115200, b599ac8568b6780dec25de4211e071ef
+0, 15, 15, 1, 115200, 797085b07f4c1e4f4b0116d329403cf8
+0, 16, 16, 1, 115200, a0d0821365658bee14767698877cc066
+0, 17, 17, 1, 115200, 286a917e787d474eb78b4797a0909a5e
+0, 18, 18, 1, 115200, 3548a320f6954c40a00ddf2e4ee212bd
+0, 19, 19, 1, 115200, 80af737ca733afa28fdae06421b3cf8d
+0, 20, 20, 1, 115200, f31a2b62cb69bc680b314a033f91881b
+0, 21, 21, 1, 115200, 02e4a780b3a0d83a8897988ef17b548c
+0, 22, 22, 1, 115200, 844929e7492b389fc520c5f75d37aa77
+0, 23, 23, 1, 115200, 558ac4c1c11da425baf832a73e1ac2da
+0, 24, 24, 1, 115200, 41b21109a7aa5f163ac0967ecd11f792
+0, 25, 25, 1, 115200, a2a050c04eaa97db43a5a0a96d20a143
+0, 26, 26, 1, 115200, 18d1881d44ab9dc959c34d92c0cabd36
+0, 27, 27, 1, 115200, 53618af318cd187b4fcd5a3c22d3ab79
+0, 28, 28, 1, 115200, 8028e6a6a6dadc8331e39cff1ba2b899
+0, 29, 29, 1, 115200, 2c32a58d68595ff4100cec4fc1637c55
+0, 30, 30, 1, 115200, 8ecc02d32f36edd167cabe2a7bc66683
+0, 31, 31, 1, 115200, 7caa9ce69ac9f71170a69fbcef4c4b34
+0, 32, 32, 1, 115200, df06a6a8a81979c39f2c3546eb03a3c2
+0, 33, 33, 1, 115200, 2bfd578fa08335e975d498e11eadc8bc
+0, 34, 34, 1, 115200, 0d78c5656d56e423ff31cab09855a335
+0, 35, 35, 1, 115200, 7152d9e35748a7ec2e8da37f0b943325
+0, 36, 36, 1, 115200, eb9e0e5cba76f0819da6256136ffd4e3
+0, 37, 37, 1, 115200, c4e5ef875132c06a80f0afb3ee894684
+0, 38, 38, 1, 115200, d2feb49297dd2f0a532479341d607e64
+0, 39, 39, 1, 115200, d092d165608f405161fbf73a19df26ca
+0, 40, 40, 1, 115200, cb228940384c3021af42b0ab81c65d7a
+0, 41, 41, 1, 115200, 426decfbf29a025a7a5e376951c34b83
+0, 42, 42, 1, 115200, 42c25e24bfd048bde0f9105d934cb81e
+0, 43, 43, 1, 115200, 4bf37f8ccb2c4f42fa64a52a4699883f
+0, 44, 44, 1, 115200, 5a00d85407910d4170d11511f03cc3a7
+0, 45, 45, 1, 115200, 032072b8713a2cd7434b5be706a8667d
+0, 46, 46, 1, 115200, e729c561b318aa14d7dbf96299c4675d
+0, 47, 47, 1, 115200, e7e1d71c1c59bb759c89f15c6e8970f0
+0, 48, 48, 1, 115200, 9c04011f4d92257a6dc112c5acad0f59
+0, 49, 49, 1, 115200, ca7c7cbf52dd7af9a62212f3a9bd1f74
+0, 50, 50, 1, 115200, 3cc9c4d3857d692e0dbfee682d63d32c
+0, 51, 51, 1, 115200, 1188fc9620cf0d23af21d8823c127b80
+0, 52, 52, 1, 115200, c614690b8d4d3bea47f1b236ff32d1d8
+0, 53, 53, 1, 115200, d6ccde3360e6a05b61013e85f96de9e9
+0, 54, 54, 1, 115200, 7f11cacc42d14121aeab487975ec190b
+0, 55, 55, 1, 115200, cdd8b538ff107f88c5f0dc7128bc331e
+0, 56, 56, 1, 115200, f43a387e9bb2f4db387d3f44da16457b
+0, 57, 57, 1, 115200, b7ba01b86fce2252105f99848e2ac95c
+0, 58, 58, 1, 115200, 094200f775b6ced838d0c37e0d0b34e6
+0, 59, 59, 1, 115200, b2d2fa96666b96b7cb624133cf404b09
+0, 60, 60, 1, 115200, d935644161a2b06f0efc75dc6d0fcf46
+0, 61, 61, 1, 115200, 2a3be6460f313d7fdd6f6f9c70092a50
+0, 62, 62, 1, 115200, f8254b6469b807ce0e9a1ea4b98a59db
+0, 63, 63, 1, 115200, 43639a3293ec640b203e0c8a97e6f45e
+0, 64, 64, 1, 115200, 055762cccc279c8dd27450ec1d512d5f
+0, 65, 65, 1, 115200, a90dac910f3cdd216293bebc46b36501
+0, 66, 66, 1, 115200, 3531ef2a4a59271f89ca0972b65d06aa
+0, 67, 67, 1, 115200, 1f87adde14795639105be714247d0bd0
+0, 68, 68, 1, 115200, e991cdd7912266937ca6f0d59199645b
+0, 69, 69, 1, 115200, 5b98019db0fca644da5ee73e0160c7c5
+0, 70, 70, 1, 115200, 6276f3907e4bb87885d21e11150d044d
+0, 71, 71, 1, 115200, 985785d7a788dcc07bd5fb72d3dc758e
+0, 72, 72, 1, 115200, 3379548a573d068d47d5f54aaf79c8a9
+0, 73, 73, 1, 115200, a2b36848e7d19383cfabf8bdcabd241a
+0, 74, 74, 1, 115200, 0aeda76888a5a2426ae3b390e38aba52
+0, 75, 75, 1, 115200, 2c652e7850ccc10cbc7a3266f1fb6c00
+0, 76, 76, 1, 115200, 5dfc9e4dce69f1f644fad5b69c0b4008
+0, 77, 77, 1, 115200, da775fc1469012a0c717ebe5dc940e26
+0, 78, 78, 1, 115200, 6185a863f7d023ddb2b049e265aab1bb
+0, 79, 79, 1, 115200, 7a56397397191ab1b7c93a4bdc9b57c1
+0, 80, 80, 1, 115200, 3e95a3f2c2660dc28ec64efef29615f0
+0, 81, 81, 1, 115200, b9ba03bd7c09224174368a60af389b9c
+0, 82, 82, 1, 115200, bfd23a13e077843506a01e44adb27c04
+0, 83, 83, 1, 115200, 9025dff58a57abcc25da69fd233e312a
+0, 84, 84, 1, 115200, ba4b91b0fe4d36f77b62ec3fe7b10a96
+0, 85, 85, 1, 115200, 7955419ff2bc42b703dfc976576a5bd4
+0, 86, 86, 1, 115200, 36d6a723ebb35c45128bfa8a7bba0d49
+0, 87, 87, 1, 115200, 77503cc79e3cb0fc74745bac967fee1d
+0, 88, 88, 1, 115200, a05af40cb4fc009fe94be6dbf148b453
+0, 89, 89, 1, 115200, 35bc39585679f7c07f1b196879719ce6
+0, 90, 90, 1, 115200, 48831c2e2212134ab192a123e847c157
+0, 91, 91, 1, 115200, c09c37f9fd929185452a8beb3c61b839
+0, 92, 92, 1, 115200, c534a38d586f3cac998240a7013c636c
+0, 93, 93, 1, 115200, b598c6999442cf0c53ed6a19d1215eb8
+0, 94, 94, 1, 115200, c639685c8f4af3d006df1833950943aa
+0, 95, 95, 1, 115200, 351e1c089ba5b9024de6e311c4a4afd3
+0, 96, 96, 1, 115200, 67d8ea902179548d0b01544249b2411f
+0, 97, 97, 1, 115200, 3717ddf0edbb2020a5b974678d358d25
+0, 98, 98, 1, 115200, 85f7c6861241e3f43fc63c397c8c3c37
+0, 99, 99, 1, 115200, c5b23b4d3d141d8cfbc5354ca1cfd34d
+0, 100, 100, 1, 115200, c2e42fa6b11cdc3abcf3ee0c3f75a459
+0, 101, 101, 1, 115200, 34df411aa928d5df3628644d9a38c768
+0, 102, 102, 1, 115200, a768b448b6c894d9b927bc880249079a
+0, 103, 103, 1, 115200, a2e9ad0d0ad733b8ccacf0379b05f6f9
+0, 104, 104, 1, 115200, 4b485e9496ab4d417b8cffaf8754f5cb
+0, 105, 105, 1, 115200, 47007fabfacd9e9c5a3997fb70d45895
+0, 106, 106, 1, 115200, 4962433241c7509801b46bea70f38269
+0, 107, 107, 1, 115200, 7b4593b45606650e78aec67722cfc2bf
+0, 108, 108, 1, 115200, 882bcbf7d2c12e93df2fbebc6ac19dd8
+0, 109, 109, 1, 115200, a2998a9c648817236bfffdae454f9fa1
+0, 110, 110, 1, 115200, 56775760fa99e9a9b7293ddc78a44ece
+0, 111, 111, 1, 115200, bb245d095424c28dd2ace22a5a511d6a
+0, 112, 112, 1, 115200, 598c54d2b207190ed549dec7390a4190
+0, 113, 113, 1, 115200, c73f16b2709527fce3d725ade5aab2fc
+0, 114, 114, 1, 115200, 32dcad6eb17bee583884029fe18c07a7
+0, 115, 115, 1, 115200, a1297c404a0d22e0e8e1e4ef67696606
+0, 116, 116, 1, 115200, 2fef1ac7becf9b8c9f3ac2310f444e3b
+0, 117, 117, 1, 115200, 0f03614ed3daec6c37c5b564ad24f595
+0, 118, 118, 1, 115200, 9b175a6353ec377da408b0cf03388081
+0, 119, 119, 1, 115200, 37b991b4a216a4847d0768a3b878284a
+0, 120, 120, 1, 115200, faafcd544080a6a4f87a0d0a393ba37b
+0, 121, 121, 1, 115200, 43ede087f37c1b0392829bbc668242fc
+0, 122, 122, 1, 115200, b7ed1274016c4d1810d8999d495b7370
+0, 123, 123, 1, 115200, 22af7bfc83c6e1f2eff2ae26e115b446
+0, 124, 124, 1, 115200, 969b22455f3be057036ddd5a329b1de3
+0, 125, 125, 1, 115200, 63c24b8a3d6c3a4c2fd47c48860abff9
+0, 126, 126, 1, 115200, b407ddc89c538d7b6fb70e48493f872c
+0, 127, 127, 1, 115200, 5de69fb9e1cd425cd3931116803f5391
+0, 128, 128, 1, 115200, 07fc7a5cb360edae97db999c2a8d2716
+0, 129, 129, 1, 115200, 602a17c58cac811e6e71e33448931ce5
+0, 130, 130, 1, 115200, 44087725484198c8e846d112583e574b
+0, 131, 131, 1, 115200, 0d81da0d23d196ff972894878bd17b73
+0, 132, 132, 1, 115200, b3cd65f1bd2274895e54da99bb4c4f07
+0, 133, 133, 1, 115200, ae8ca35672d8352af49f37f5174c8fbd
+0, 134, 134, 1, 115200, 9eea1ff900cf680e8208cd5d07a4d284
+0, 135, 135, 1, 115200, 5a47f272dfda3fe61955875f761a71f2
+0, 136, 136, 1, 115200, 544558333008db01451c886ac0b62c47
+0, 137, 137, 1, 115200, 5f8e4f3b11d7f5a28ff5cd9f3a6853bb
+0, 138, 138, 1, 115200, e9bc3da7060457f2d52a5bf6fe3bb515
+0, 139, 139, 1, 115200, 6aea6851a092260ae6594c6d9170ea8e
+0, 140, 140, 1, 115200, 38e7fa5bea809a984a5f810940ca0e49
+0, 141, 141, 1, 115200, 9e8a23ac9067a1acf8472d7aa3b9811e
+0, 142, 142, 1, 115200, 6f25f5873afd5c341ca6b3eb284be809
+0, 143, 143, 1, 115200, 40c3240e6cde94aae793a52cb46487da
+0, 144, 144, 1, 115200, b7f1f13842fbf0c6e085280eb89b956f
+0, 145, 145, 1, 115200, 1f059372d8bf4dadf78d8e215bbf9786
+0, 146, 146, 1, 115200, 50c1d6b76930e765bff5ecbaaae686fe
+0, 147, 147, 1, 115200, 5bd8cb05ebc034192e08ca8ce18a7964
+0, 148, 148, 1, 115200, ffc0c20b07e26857dc4f2c079a2ad675
+0, 149, 149, 1, 115200, 5dafb6ac0953c254182dba124e213c07
+0, 150, 150, 1, 115200, c774ed25712a38603fe2e224802768cb
+0, 151, 151, 1, 115200, de549cc803a6138d483be15b28ef2286
+0, 152, 152, 1, 115200, c963d9bc79c1dd2a47f7f8424c56239e
+0, 153, 153, 1, 115200, 9df993e0bef1bedbce1a6b596f2c64f4
+0, 154, 154, 1, 115200, 875792bde0f45358009b506840be68e1
+0, 155, 155, 1, 115200, 7f8c57083d2df08db6287cb025260788
+0, 156, 156, 1, 115200, 47eb13bc0942b5cafeea324fc5bf5cd5
+0, 157, 157, 1, 115200, d89129c7528ff7372f23d1191c75e336
+0, 158, 158, 1, 115200, bdd14e38b00075d8da485d1517dbbd65
+0, 159, 159, 1, 115200, 0e8e21a50a5dd1ac6fc881ad38ec38bd
+0, 160, 160, 1, 115200, a0fce98c23a053b4073715c554b9dc44
+0, 161, 161, 1, 115200, 18bda80360c72d04c60016682b1f6c8d
+0, 162, 162, 1, 115200, 306d7556c18dcf58c8183959d1c34c2a
+0, 163, 163, 1, 115200, 7ada9d23b96ef41322497d1077b00c4d
+0, 164, 164, 1, 115200, d7df0508be4bd0c3e83f346f0b9a1868
+0, 165, 165, 1, 115200, 749725f425f6fd4a79269bca900d09ae
+0, 166, 166, 1, 115200, ed30973158a576e2919e2fcfd00987fc
+0, 167, 167, 1, 115200, 2486d8b742ccc50cf8683af7f4502aec
+0, 168, 168, 1, 115200, bdfb21e4236c904aeacd7b094fcffe98
+0, 169, 169, 1, 115200, df2ef3e452731053ade82506c013164e
+0, 170, 170, 1, 115200, 4695bfd9aa8e5667572f8f2142c6e538
+0, 171, 171, 1, 115200, 649f5315cff1d28f0183144bf4d4eea4
+0, 172, 172, 1, 115200, 450e987b9d6075d32e21d030bc385833
+0, 173, 173, 1, 115200, 7aec79b25dabfcc2eb2f32e7dbff85f2
+0, 174, 174, 1, 115200, c9c2a96239ad556a2ee496d7c4c965c1
+0, 175, 175, 1, 115200, 3a038e48aa1238b62d431823653bc45a
+0, 176, 176, 1, 115200, 6d5c8de6a281dbce68998b2c38063f33
+0, 177, 177, 1, 115200, 045032f57d6a50ae148f4372f5083a62
+0, 178, 178, 1, 115200, 5f39172951e083e712c3b1c528e61a4f
+0, 179, 179, 1, 115200, 5a49eea76b6a86e305fb207fc1479264
+0, 180, 180, 1, 115200, 33ca5fb5f3e4ff3a24235da71c5730d5
+0, 181, 181, 1, 115200, 81f231d20426c5cbd02a85a425f5d0b8
+0, 182, 182, 1, 115200, 302d94aa9a8d3828cf74c8b2b7e7fdd5
+0, 183, 183, 1, 115200, c56f4f0c32b0f2c409b64ed10216a40a
+0, 184, 184, 1, 115200, 9cf7f51e1527f11c38c395bac94849d9
+0, 185, 185, 1, 115200, 0f17e427d14db658131eb0ccdc2a97ef
+0, 186, 186, 1, 115200, 2624dd6b8e4e95770f132d90aa6f6119
+0, 187, 187, 1, 115200, 9ddabfd5f803014443c2a0686869c546
+0, 188, 188, 1, 115200, 0170cb86a377d791d7cbee2af0836db7
+0, 189, 189, 1, 115200, f43a7c63bcafb51ead65e2831610612c
+0, 190, 190, 1, 115200, e7000913b11bdeb74ba4eca110df8470
+0, 191, 191, 1, 115200, a4208c5fcd101ceb5a976838ae9a811f
+0, 192, 192, 1, 115200, 8ddcb546ac632c967e879fb5101afa24
+0, 193, 193, 1, 115200, 547007771194373dd246586744130f7c
+0, 194, 194, 1, 115200, 3608a46fee2731341ae9f71d3a80918a
+0, 195, 195, 1, 115200, 758692e173552eb3439a572c953dda0f
+0, 196, 196, 1, 115200, 481f456d6c6ac2e0325acba5eeabcd26
+0, 197, 197, 1, 115200, c749a3ef8641d5ec4f25c611ffad1000
+0, 198, 198, 1, 115200, 93f089f7f1e78b1a4185c0b0d99875fb
+0, 199, 199, 1, 115200, 1159712bb4dbaed38d2a7558335f4037
+0, 200, 200, 1, 115200, e8dab85a977f525d4d9b448e4278a34b
+0, 201, 201, 1, 115200, 780055af1414e7693777a18428b20a07
+0, 202, 202, 1, 115200, 59252515451fd96ca3f1194d5aadc3a7
+0, 203, 203, 1, 115200, 0a977d6db761c149316417988657610a
+0, 204, 204, 1, 115200, ed81d3a10369c12543f9bb6822a249b6
+0, 205, 205, 1, 115200, 341e844231f6b55ee3c1eb22ca1bac8e
+0, 206, 206, 1, 115200, d0a180c7d15e30a71e297fda0452c153
+0, 207, 207, 1, 115200, 58d6f2522ecd8e5fea34cc9f10da2a88
+0, 208, 208, 1, 115200, dc8f96811577f4fd3e6624abae42f449
+0, 209, 209, 1, 115200, 3624a2e95f94a0a4413e464f4bf93dcd
+0, 210, 210, 1, 115200, cb0deeb5f2d570ca23e3be3ab9231fe9
+0, 211, 211, 1, 115200, 5080848626a52e30eb0f64f234ca3e57
+0, 212, 212, 1, 115200, a31c9fe4255318d86e7855f01588220f
+0, 213, 213, 1, 115200, 6c25fd8d1f0e898f6078decc4220d47d
+0, 214, 214, 1, 115200, 77e52da08ab57ba5784ce42872cc01cb
+0, 215, 215, 1, 115200, b4a87059745b3b862ef7431a9630f16a
+0, 216, 216, 1, 115200, 1dadc814514ef00f11010df21d8a9494
+0, 217, 217, 1, 115200, 5c816a0bbc8ed8fca166aa454093cb59
+0, 218, 218, 1, 115200, 10320c174423d1712d9ce812701bcaf9
+0, 219, 219, 1, 115200, 279c9398657af129e072165f41e0fb8c
+0, 220, 220, 1, 115200, 49d88374bc4d965d3cee3274c7cd9906
+0, 221, 221, 1, 115200, 48871e22f635f50569dea1bd5ca40d5c
+0, 222, 222, 1, 115200, 3b8396580f8fbd99daca4df13662f1fc
+0, 223, 223, 1, 115200, 569245e1bf3cb42aa95f765a8449980f
+0, 224, 224, 1, 115200, c5cab497d244447df0ab832dcc9c5968
+0, 225, 225, 1, 115200, 0a98ca4f1d771c4bc0286b825d085955
+0, 226, 226, 1, 115200, e4a55f175c3933f02ccf74ccf2961da2
+0, 227, 227, 1, 115200, 462dca7f377d708e753ef0bbde19a090
+0, 228, 228, 1, 115200, 6f1680f498b0ed6f89a834b5700cc48a
+0, 229, 229, 1, 115200, 996414e2e3a4bac5868ceeb25b84e6e4
+0, 230, 230, 1, 115200, 6ecb4d4b857578d32f716c56dc7e6be9
+0, 231, 231, 1, 115200, e05c8e33157e20c8e8f255e937d6b6cb
+0, 232, 232, 1, 115200, 6542744da147d16533e41dad287a54fc
+0, 233, 233, 1, 115200, bb4b6921d2855025fbcaff4c12299d02
+0, 234, 234, 1, 115200, 6bc3e605759725012f7e44f1285b0899
+0, 235, 235, 1, 115200, 0be37ecb7cec0cf8a0f9bbc3c590ba98
+0, 236, 236, 1, 115200, 4f1103e5923ba8dea3e99c8b75eaed3c
+0, 237, 237, 1, 115200, 220a8fb0409112c4f4ee769880717fea
+0, 238, 238, 1, 115200, e4c612263cfbc0f41283fd1e88e2ff52
+0, 239, 239, 1, 115200, ede2bc67ad87cd78191b742dd56419b5
+0, 240, 240, 1, 115200, ded6a1d0690603aea233e4d624aa60a9
+0, 241, 241, 1, 115200, 59c8b53e47ebdab696547a887163b272
+0, 242, 242, 1, 115200, 985f8afbc6df2d64d601d2fdc93571d7
+0, 243, 243, 1, 115200, e595f0aa7b6b62094f0ad84252105f55
+0, 244, 244, 1, 115200, c2fe4382a1740bcfc2f4c3573c6c3176
+0, 245, 245, 1, 115200, 880d8c906a8b39a61b68eb0ada857e5f
+0, 246, 246, 1, 115200, 9a3ca55d2d75e3c41a86aea2ec87ff76
+0, 247, 247, 1, 115200, f800751663dbefa61c33c3ebbd5430b4
+0, 248, 248, 1, 115200, d904333c0c76235c8ffdfc81dffddb46
+0, 249, 249, 1, 115200, 6a633a9a7686a9a02bd252ec8bcff4fc
+0, 250, 250, 1, 115200, 930d06ecc252a911a60c2d9d4f2618e6
+0, 251, 251, 1, 115200, bb146a4410c34bba74883d8ae478f47b
+0, 252, 252, 1, 115200, be8ab9fc95685ebec64ff1f8129afa35
+0, 253, 253, 1, 115200, d1f871ea3ceb38bf2b6d00ebfc38187a
+0, 254, 254, 1, 115200, ba33366e050a5f5abbf8202e0afbb9e8
+0, 255, 255, 1, 115200, f706356e12cf4082337bb8f7a5a10673
+0, 256, 256, 1, 115200, 6e8200d3c1cccc0f810985ea2a2030f6
+0, 257, 257, 1, 115200, caafdc1810556197df6f42336edcc07b
+0, 258, 258, 1, 115200, 5321ff525f5bb5063443a3dc43fc42af
+0, 259, 259, 1, 115200, c24bdd3b935f7ca6e9e105b1ae8504db
diff --git a/tests/ref/fate/vp8-test-vector-016 b/tests/ref/fate/vp8-test-vector-016
index 1a82145599..291e7fe2cd 100644
--- a/tests/ref/fate/vp8-test-vector-016
+++ b/tests/ref/fate/vp8-test-vector-016
@@ -1,29 +1,30 @@
-0, 0, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
-0, 3000, 38016, 9a1b97859b2f774954dbf96f45a22a0a
-0, 6000, 38016, f0f5651b32577549dc2e6e3050125229
-0, 9000, 38016, 9edf800d31dc653a23ed71d0f3fc32e4
-0, 12000, 38016, 78dd1fa96e63c177f2b90d702c92f48c
-0, 15000, 38016, e1cec336383c4ea63ccaff8bfa5c8e24
-0, 18000, 38016, e8b5a454e178ab7ba9b83dfc10b4171e
-0, 21000, 38016, 572dbaaf319f1681749135c49940c64e
-0, 24000, 38016, b0e8313de033cc75a78532789bb6a3cb
-0, 27000, 38016, ffc5581d83ff67b549d63c7de1a1e8cb
-0, 30000, 38016, 8ae3fcd3d74947d434b7c5f9ee08bbbf
-0, 33000, 38016, 3adff74d92ae0a463dddc6f89965f706
-0, 36000, 38016, f08355430fdf5bb16a91eef05f03186b
-0, 39000, 38016, d477eb8150a1a94dd6af7f067e8c0429
-0, 42000, 38016, f860f225e27871a17060373b79007ec6
-0, 45000, 38016, 22a25c07ac5e7c67df793e0d3169386c
-0, 48000, 38016, a96f9cef4efe74db0cce039c85c03c4d
-0, 51000, 38016, ff9c93cbc364976044144ee631f89bd2
-0, 54000, 38016, 3a6b43090adb6c8b5188d544a08295a8
-0, 57000, 38016, 7f41a10ada80865d24585860065aa5e4
-0, 60000, 38016, 099847f606672fd065e6841000cafcb3
-0, 63000, 38016, fbf543c12ce48633e6d10717862c35a7
-0, 66000, 38016, 1b9956d8a6c45e39d219da33ff7c334a
-0, 69000, 38016, 911eb8f478485c0f4eef1d03f53aa80b
-0, 72000, 38016, b801570a437439ce12c5037df0235742
-0, 75000, 38016, 8d231805d741abe79670a0e9f13712ea
-0, 78000, 38016, 87bfcc2c88c4471067c07fbcf635870d
-0, 81000, 38016, d51b6999afde880bc77597063b58d28f
-0, 84000, 38016, c69c07a34bfad3b5a95b19a84e991c13
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
+0, 1, 1, 1, 38016, 9a1b97859b2f774954dbf96f45a22a0a
+0, 2, 2, 1, 38016, f0f5651b32577549dc2e6e3050125229
+0, 3, 3, 1, 38016, 9edf800d31dc653a23ed71d0f3fc32e4
+0, 4, 4, 1, 38016, 78dd1fa96e63c177f2b90d702c92f48c
+0, 5, 5, 1, 38016, e1cec336383c4ea63ccaff8bfa5c8e24
+0, 6, 6, 1, 38016, e8b5a454e178ab7ba9b83dfc10b4171e
+0, 7, 7, 1, 38016, 572dbaaf319f1681749135c49940c64e
+0, 8, 8, 1, 38016, b0e8313de033cc75a78532789bb6a3cb
+0, 9, 9, 1, 38016, ffc5581d83ff67b549d63c7de1a1e8cb
+0, 10, 10, 1, 38016, 8ae3fcd3d74947d434b7c5f9ee08bbbf
+0, 11, 11, 1, 38016, 3adff74d92ae0a463dddc6f89965f706
+0, 12, 12, 1, 38016, f08355430fdf5bb16a91eef05f03186b
+0, 13, 13, 1, 38016, d477eb8150a1a94dd6af7f067e8c0429
+0, 14, 14, 1, 38016, f860f225e27871a17060373b79007ec6
+0, 15, 15, 1, 38016, 22a25c07ac5e7c67df793e0d3169386c
+0, 16, 16, 1, 38016, a96f9cef4efe74db0cce039c85c03c4d
+0, 17, 17, 1, 38016, ff9c93cbc364976044144ee631f89bd2
+0, 18, 18, 1, 38016, 3a6b43090adb6c8b5188d544a08295a8
+0, 19, 19, 1, 38016, 7f41a10ada80865d24585860065aa5e4
+0, 20, 20, 1, 38016, 099847f606672fd065e6841000cafcb3
+0, 21, 21, 1, 38016, fbf543c12ce48633e6d10717862c35a7
+0, 22, 22, 1, 38016, 1b9956d8a6c45e39d219da33ff7c334a
+0, 23, 23, 1, 38016, 911eb8f478485c0f4eef1d03f53aa80b
+0, 24, 24, 1, 38016, b801570a437439ce12c5037df0235742
+0, 25, 25, 1, 38016, 8d231805d741abe79670a0e9f13712ea
+0, 26, 26, 1, 38016, 87bfcc2c88c4471067c07fbcf635870d
+0, 27, 27, 1, 38016, d51b6999afde880bc77597063b58d28f
+0, 28, 28, 1, 38016, c69c07a34bfad3b5a95b19a84e991c13
diff --git a/tests/ref/fate/vp8-test-vector-017 b/tests/ref/fate/vp8-test-vector-017
index c461420bd1..a8ccda8ee9 100644
--- a/tests/ref/fate/vp8-test-vector-017
+++ b/tests/ref/fate/vp8-test-vector-017
@@ -1,29 +1,30 @@
-0, 0, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
-0, 3000, 38016, f0f411dd067bff05d5d9c64e3f52a4b1
-0, 6000, 38016, c8696f8fa56b4adf18f3db0c384d968f
-0, 9000, 38016, 5772aa26a95092b4a8a117e97d6dde49
-0, 12000, 38016, fc52254ea1cbcc2e7a5b126d8c44a023
-0, 15000, 38016, bf6208554657f568ad69d5c60f692fdb
-0, 18000, 38016, 3a68eef642b250177592455f4aa925d9
-0, 21000, 38016, 98102b7bd56cbe456d86c93e8cdd48eb
-0, 24000, 38016, 59d54b7d97600b2890c8abab2af9a7dc
-0, 27000, 38016, ba4b4bb534ee2a00f418828b9723d996
-0, 30000, 38016, feb1115136fa96d5e9425ac18261de7c
-0, 33000, 38016, ef7eb6dc656c2bd7447c7d8f650108c1
-0, 36000, 38016, 89ec385a0d34c8fd5b1334d8756c96b9
-0, 39000, 38016, 27bc439dd8e6d50c3c7a6e0b390e7418
-0, 42000, 38016, ec36c065d8b668fabb6b16ecc01eea0a
-0, 45000, 38016, 5c94f9b441fc70f62856c835f9e9ad50
-0, 48000, 38016, 4b6c1bd876b00052b39e6ca91cad9c05
-0, 51000, 38016, 1099121afd681cf3218dffb9714a0fd7
-0, 54000, 38016, d0c1de888fab35f33c1148dc80494d20
-0, 57000, 38016, 745941ea768d06ea27c3fbca782e3591
-0, 60000, 38016, 09f85054f188da6f7260debf6b71bbb1
-0, 63000, 38016, 2bdd642a7551681f1ca9680a0d9183a8
-0, 66000, 38016, 054aba9db9790a0f1c79db491a6cac6d
-0, 69000, 38016, fa4b52162f6da0c15100f4382d92d7e4
-0, 72000, 38016, 88c589535811dd394bd1723172329629
-0, 75000, 38016, c11cc1a30199d46db048120969dc4118
-0, 78000, 38016, c61207280f40620f8cd5e962f3aa160f
-0, 81000, 38016, 8a721ecbad0b2f17aabb2d06e27c00aa
-0, 84000, 38016, da32f1d272e065cd31415b23f86837cc
+#tb 0: 1/30
+0, 0, 0, 1, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
+0, 1, 1, 1, 38016, f0f411dd067bff05d5d9c64e3f52a4b1
+0, 2, 2, 1, 38016, c8696f8fa56b4adf18f3db0c384d968f
+0, 3, 3, 1, 38016, 5772aa26a95092b4a8a117e97d6dde49
+0, 4, 4, 1, 38016, fc52254ea1cbcc2e7a5b126d8c44a023
+0, 5, 5, 1, 38016, bf6208554657f568ad69d5c60f692fdb
+0, 6, 6, 1, 38016, 3a68eef642b250177592455f4aa925d9
+0, 7, 7, 1, 38016, 98102b7bd56cbe456d86c93e8cdd48eb
+0, 8, 8, 1, 38016, 59d54b7d97600b2890c8abab2af9a7dc
+0, 9, 9, 1, 38016, ba4b4bb534ee2a00f418828b9723d996
+0, 10, 10, 1, 38016, feb1115136fa96d5e9425ac18261de7c
+0, 11, 11, 1, 38016, ef7eb6dc656c2bd7447c7d8f650108c1
+0, 12, 12, 1, 38016, 89ec385a0d34c8fd5b1334d8756c96b9
+0, 13, 13, 1, 38016, 27bc439dd8e6d50c3c7a6e0b390e7418
+0, 14, 14, 1, 38016, ec36c065d8b668fabb6b16ecc01eea0a
+0, 15, 15, 1, 38016, 5c94f9b441fc70f62856c835f9e9ad50
+0, 16, 16, 1, 38016, 4b6c1bd876b00052b39e6ca91cad9c05
+0, 17, 17, 1, 38016, 1099121afd681cf3218dffb9714a0fd7
+0, 18, 18, 1, 38016, d0c1de888fab35f33c1148dc80494d20
+0, 19, 19, 1, 38016, 745941ea768d06ea27c3fbca782e3591
+0, 20, 20, 1, 38016, 09f85054f188da6f7260debf6b71bbb1
+0, 21, 21, 1, 38016, 2bdd642a7551681f1ca9680a0d9183a8
+0, 22, 22, 1, 38016, 054aba9db9790a0f1c79db491a6cac6d
+0, 23, 23, 1, 38016, fa4b52162f6da0c15100f4382d92d7e4
+0, 24, 24, 1, 38016, 88c589535811dd394bd1723172329629
+0, 25, 25, 1, 38016, c11cc1a30199d46db048120969dc4118
+0, 26, 26, 1, 38016, c61207280f40620f8cd5e962f3aa160f
+0, 27, 27, 1, 38016, 8a721ecbad0b2f17aabb2d06e27c00aa
+0, 28, 28, 1, 38016, da32f1d272e065cd31415b23f86837cc
diff --git a/tests/ref/fate/vqa-cc b/tests/ref/fate/vqa-cc
index d7d7f10e9f..97ae71d5c4 100644
--- a/tests/ref/fate/vqa-cc
+++ b/tests/ref/fate/vqa-cc
@@ -1,78 +1,80 @@
-0, 0, 192000, 0x00000000
-1, 0, 22048, 0x0665d7f4
-0, 6000, 192000, 0x00000000
-0, 12000, 192000, 0x00000000
-0, 18000, 192000, 0x00000000
-0, 24000, 192000, 0xcd900ccc
-0, 30000, 192000, 0xfd496438
-0, 36000, 192000, 0x965f0bf3
-0, 42000, 192000, 0x378fca5f
-1, 44996, 2940, 0x0f3c64cb
-0, 48000, 192000, 0x5ccd8966
-1, 50996, 2940, 0xc90b9e78
-0, 54000, 192000, 0x859676f9
-1, 56996, 2940, 0x146246a3
-0, 60000, 192000, 0x820bfb1c
-1, 62996, 2940, 0xd22c714e
-0, 66000, 192000, 0x7570cc05
-1, 68996, 2940, 0xd86b681e
-0, 72000, 192000, 0xf38bdb06
-1, 74996, 2940, 0x12ec8186
-0, 78000, 192000, 0x9b0cbb44
-1, 80996, 2940, 0x69aa85b6
-0, 84000, 192000, 0x0ed70665
-1, 86996, 2940, 0xb24d33b0
-0, 90000, 192000, 0xd16de7fc
-1, 92996, 2940, 0x3f7b0f0d
-0, 96000, 192000, 0x97afb484
-1, 98996, 2940, 0x64f10f7e
-0, 102000, 192000, 0x012893f3
-1, 104996, 2940, 0xd6ea379a
-0, 108000, 192000, 0x742a4b43
-1, 110996, 2940, 0x7c38e830
-0, 114000, 192000, 0x309dcd75
-1, 116996, 2940, 0xc28ff132
-0, 120000, 192000, 0xed7814ac
-1, 122996, 2940, 0xe7b11629
-0, 126000, 192000, 0xdb7de3d7
-1, 128996, 2940, 0xeb86fdcb
-0, 132000, 192000, 0xe18679a3
-1, 134996, 2940, 0x5508f586
-0, 138000, 192000, 0xb1f213f4
-1, 140996, 2940, 0xf4fa1f1b
-0, 144000, 192000, 0x33c99b5c
-1, 146996, 2940, 0x9e5ff976
-0, 150000, 192000, 0xf66c0c91
-1, 152996, 2940, 0xcfc4e08f
-0, 156000, 192000, 0x929cdc73
-1, 158996, 2940, 0x74bde7ed
-0, 162000, 192000, 0xa723fc3b
-1, 164996, 2940, 0x3e4ae245
-0, 168000, 192000, 0xe6395ccc
-1, 170996, 2940, 0x4c6a8e56
-0, 174000, 192000, 0x147fbf74
-1, 176996, 2940, 0xa09d86ab
-0, 180000, 192000, 0x3ec62d28
-1, 182996, 2940, 0xc8531912
-0, 186000, 192000, 0x22104ffb
-1, 188996, 2940, 0xa5f266aa
-0, 192000, 192000, 0x91f25f58
-1, 194996, 2940, 0x587a4187
-0, 198000, 192000, 0xc91b0e4e
-1, 200996, 2940, 0x14752d45
-0, 204000, 192000, 0x4683df56
-1, 206996, 2940, 0x558cde10
-0, 210000, 192000, 0x8ef8932a
-1, 212996, 2940, 0x735fee38
-0, 216000, 192000, 0xce6c0ec0
-1, 218996, 2940, 0xac8bb6c8
-0, 222000, 192000, 0xcc10e2a0
-1, 224996, 2940, 0xa503c73b
-1, 230996, 2940, 0x7cd588a3
-1, 236996, 2940, 0xa6974b04
-1, 242996, 2940, 0xbf448241
-1, 248996, 2940, 0x2a5c2759
-1, 254996, 2940, 0xd0de5ce0
-1, 260996, 2940, 0xc0486649
-1, 266996, 2940, 0x48b040af
-1, 272996, 2940, 0x82a338a9
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 192000, 0x00000000
+1, 0, 0, 11024, 22048, 0x0665d7f4
+0, 1, 1, 1, 192000, 0x00000000
+0, 2, 2, 1, 192000, 0x00000000
+0, 3, 3, 1, 192000, 0x00000000
+0, 4, 4, 1, 192000, 0xcd900ccc
+0, 5, 5, 1, 192000, 0xfd496438
+0, 6, 6, 1, 192000, 0x965f0bf3
+0, 7, 7, 1, 192000, 0x378fca5f
+1, 11024, 11024, 1470, 2940, 0x0f3c64cb
+0, 8, 8, 1, 192000, 0x5ccd8966
+1, 12494, 12494, 1470, 2940, 0xc90b9e78
+0, 9, 9, 1, 192000, 0x859676f9
+1, 13964, 13964, 1470, 2940, 0x146246a3
+0, 10, 10, 1, 192000, 0x820bfb1c
+1, 15434, 15434, 1470, 2940, 0xd22c714e
+0, 11, 11, 1, 192000, 0x7570cc05
+1, 16904, 16904, 1470, 2940, 0xd86b681e
+0, 12, 12, 1, 192000, 0xf38bdb06
+1, 18374, 18374, 1470, 2940, 0x12ec8186
+0, 13, 13, 1, 192000, 0x9b0cbb44
+1, 19844, 19844, 1470, 2940, 0x69aa85b6
+0, 14, 14, 1, 192000, 0x0ed70665
+1, 21314, 21314, 1470, 2940, 0xb24d33b0
+0, 15, 15, 1, 192000, 0xd16de7fc
+1, 22784, 22784, 1470, 2940, 0x3f7b0f0d
+0, 16, 16, 1, 192000, 0x97afb484
+1, 24254, 24254, 1470, 2940, 0x64f10f7e
+0, 17, 17, 1, 192000, 0x012893f3
+1, 25724, 25724, 1470, 2940, 0xd6ea379a
+0, 18, 18, 1, 192000, 0x742a4b43
+1, 27194, 27194, 1470, 2940, 0x7c38e830
+0, 19, 19, 1, 192000, 0x309dcd75
+1, 28664, 28664, 1470, 2940, 0xc28ff132
+0, 20, 20, 1, 192000, 0xed7814ac
+1, 30134, 30134, 1470, 2940, 0xe7b11629
+0, 21, 21, 1, 192000, 0xdb7de3d7
+1, 31604, 31604, 1470, 2940, 0xeb86fdcb
+0, 22, 22, 1, 192000, 0xe18679a3
+1, 33074, 33074, 1470, 2940, 0x5508f586
+0, 23, 23, 1, 192000, 0xb1f213f4
+1, 34544, 34544, 1470, 2940, 0xf4fa1f1b
+0, 24, 24, 1, 192000, 0x33c99b5c
+1, 36014, 36014, 1470, 2940, 0x9e5ff976
+0, 25, 25, 1, 192000, 0xf66c0c91
+1, 37484, 37484, 1470, 2940, 0xcfc4e08f
+0, 26, 26, 1, 192000, 0x929cdc73
+1, 38954, 38954, 1470, 2940, 0x74bde7ed
+0, 27, 27, 1, 192000, 0xa723fc3b
+1, 40424, 40424, 1470, 2940, 0x3e4ae245
+0, 28, 28, 1, 192000, 0xe6395ccc
+1, 41894, 41894, 1470, 2940, 0x4c6a8e56
+0, 29, 29, 1, 192000, 0x147fbf74
+1, 43364, 43364, 1470, 2940, 0xa09d86ab
+0, 30, 30, 1, 192000, 0x3ec62d28
+1, 44834, 44834, 1470, 2940, 0xc8531912
+0, 31, 31, 1, 192000, 0x22104ffb
+1, 46304, 46304, 1470, 2940, 0xa5f266aa
+0, 32, 32, 1, 192000, 0x91f25f58
+1, 47774, 47774, 1470, 2940, 0x587a4187
+0, 33, 33, 1, 192000, 0xc91b0e4e
+1, 49244, 49244, 1470, 2940, 0x14752d45
+0, 34, 34, 1, 192000, 0x4683df56
+1, 50714, 50714, 1470, 2940, 0x558cde10
+0, 35, 35, 1, 192000, 0x8ef8932a
+1, 52184, 52184, 1470, 2940, 0x735fee38
+0, 36, 36, 1, 192000, 0xce6c0ec0
+1, 53654, 53654, 1470, 2940, 0xac8bb6c8
+0, 37, 37, 1, 192000, 0xcc10e2a0
+1, 55124, 55124, 1470, 2940, 0xa503c73b
+1, 56594, 56594, 1470, 2940, 0x7cd588a3
+1, 58064, 58064, 1470, 2940, 0xa6974b04
+1, 59534, 59534, 1470, 2940, 0xbf448241
+1, 61004, 61004, 1470, 2940, 0x2a5c2759
+1, 62474, 62474, 1470, 2940, 0xd0de5ce0
+1, 63944, 63944, 1470, 2940, 0xc0486649
+1, 65414, 65414, 1470, 2940, 0x48b040af
+1, 66884, 66884, 1470, 2940, 0x82a338a9
diff --git a/tests/ref/fate/vqf-demux b/tests/ref/fate/vqf-demux
index a06fff3952..3d4cd3dd78 100644
--- a/tests/ref/fate/vqf-demux
+++ b/tests/ref/fate/vqf-demux
@@ -1 +1 @@
-48313c746da06b157711b13675f37312
+178a10705baabc5b82bd79240f38a700
diff --git a/tests/ref/fate/wc3movie-xan b/tests/ref/fate/wc3movie-xan
index 8fd2282c1e..57b7f70edc 100644
--- a/tests/ref/fate/wc3movie-xan
+++ b/tests/ref/fate/wc3movie-xan
@@ -1,70 +1,72 @@
-0, 0, 158400, 0x25aec781
-1, 0, 2940, 0x92cee2a6
-0, 6000, 158400, 0xda4dbf70
-1, 6000, 2940, 0x126902c3
-0, 12000, 158400, 0x2d8fc909
-1, 12000, 2940, 0x4977b9e6
-0, 18000, 158400, 0xea93c5ab
-1, 18000, 2940, 0x5144d68c
-0, 24000, 158400, 0xa1f5bf60
-1, 24000, 2940, 0x282ebf71
-0, 30000, 158400, 0x739ecfa9
-1, 30000, 2940, 0xc2e7c73c
-0, 36000, 158400, 0xe9830c7e
-1, 36000, 2940, 0x717d6fc5
-0, 42000, 158400, 0xd885665b
-1, 42000, 2940, 0x78538428
-0, 48000, 158400, 0x3235f8ad
-1, 48000, 2940, 0x94ffd1ad
-0, 54000, 158400, 0xd8550cca
-1, 54000, 2940, 0xad43de8b
-0, 60000, 158400, 0x05e9e231
-1, 60000, 2940, 0x65e4b604
-0, 66000, 158400, 0xce9dd29b
-1, 66000, 2940, 0xd6d6c30f
-0, 72000, 158400, 0x857494a6
-1, 72000, 2940, 0x7b897e4e
-0, 78000, 158400, 0x9cad464a
-1, 78000, 2940, 0xf79546ad
-0, 84000, 158400, 0x04c3177a
-1, 84000, 2940, 0x658c904e
-0, 90000, 158400, 0xa3d2399a
-1, 90000, 2940, 0xb7b8cd8c
-0, 96000, 158400, 0x12cdd418
-1, 96000, 2940, 0x2f2da7c5
-0, 102000, 158400, 0x5ef67c9e
-1, 102000, 2940, 0x51938cf8
-0, 108000, 158400, 0xba7a7f11
-1, 108000, 2940, 0xdf61c87a
-0, 114000, 158400, 0x084b60e7
-1, 114000, 2940, 0xf72a7069
-0, 120000, 158400, 0xef95a6a5
-1, 120000, 2940, 0x9af2a425
-0, 126000, 158400, 0x55f392f1
-1, 126000, 2940, 0x4c3f5ac7
-0, 132000, 158400, 0x63fca6bb
-1, 132000, 2940, 0xfe4cb0b2
-0, 138000, 158400, 0x0f7e62fe
-1, 138000, 2940, 0x732a35ed
-0, 144000, 158400, 0xf35febc1
-1, 144000, 2940, 0x526b9e0f
-0, 150000, 158400, 0x6bf6f219
-1, 150000, 2940, 0x4bd9d4e2
-0, 156000, 158400, 0xbdf13e77
-1, 156000, 2940, 0x84340827
-0, 162000, 158400, 0x88490e47
-1, 162000, 2940, 0xe54f7911
-0, 168000, 158400, 0xdb786540
-1, 168000, 2940, 0x0bbdef52
-0, 174000, 158400, 0x7335c045
-1, 174000, 2940, 0xc1aac5e1
-0, 180000, 158400, 0x6b78015a
-1, 180000, 2940, 0x515ea512
-0, 186000, 158400, 0x9e9b6d16
-1, 186000, 2940, 0x9e7fdac1
-0, 192000, 158400, 0xe618e024
-1, 192000, 2940, 0xf1d4c9cc
-0, 198000, 158400, 0x56cd60f7
-1, 198000, 2940, 0x1bc9b6ee
-0, 204000, 158400, 0xf08e22fe
-1, 204000, 2940, 0xff8ac114
+#tb 0: 1/15
+#tb 1: 1/22050
+0, 0, 0, 1, 158400, 0x25aec781
+1, 0, 0, 1470, 2940, 0x92cee2a6
+0, 1, 1, 1, 158400, 0xda4dbf70
+1, 1470, 1470, 1470, 2940, 0x126902c3
+0, 2, 2, 1, 158400, 0x2d8fc909
+1, 2940, 2940, 1470, 2940, 0x4977b9e6
+0, 3, 3, 1, 158400, 0xea93c5ab
+1, 4410, 4410, 1470, 2940, 0x5144d68c
+0, 4, 4, 1, 158400, 0xa1f5bf60
+1, 5880, 5880, 1470, 2940, 0x282ebf71
+0, 5, 5, 1, 158400, 0x739ecfa9
+1, 7350, 7350, 1470, 2940, 0xc2e7c73c
+0, 6, 6, 1, 158400, 0xe9830c7e
+1, 8820, 8820, 1470, 2940, 0x717d6fc5
+0, 7, 7, 1, 158400, 0xd885665b
+1, 10290, 10290, 1470, 2940, 0x78538428
+0, 8, 8, 1, 158400, 0x3235f8ad
+1, 11760, 11760, 1470, 2940, 0x94ffd1ad
+0, 9, 9, 1, 158400, 0xd8550cca
+1, 13230, 13230, 1470, 2940, 0xad43de8b
+0, 10, 10, 1, 158400, 0x05e9e231
+1, 14700, 14700, 1470, 2940, 0x65e4b604
+0, 11, 11, 1, 158400, 0xce9dd29b
+1, 16170, 16170, 1470, 2940, 0xd6d6c30f
+0, 12, 12, 1, 158400, 0x857494a6
+1, 17640, 17640, 1470, 2940, 0x7b897e4e
+0, 13, 13, 1, 158400, 0x9cad464a
+1, 19110, 19110, 1470, 2940, 0xf79546ad
+0, 14, 14, 1, 158400, 0x04c3177a
+1, 20580, 20580, 1470, 2940, 0x658c904e
+0, 15, 15, 1, 158400, 0xa3d2399a
+1, 22050, 22050, 1470, 2940, 0xb7b8cd8c
+0, 16, 16, 1, 158400, 0x12cdd418
+1, 23520, 23520, 1470, 2940, 0x2f2da7c5
+0, 17, 17, 1, 158400, 0x5ef67c9e
+1, 24990, 24990, 1470, 2940, 0x51938cf8
+0, 18, 18, 1, 158400, 0xba7a7f11
+1, 26460, 26460, 1470, 2940, 0xdf61c87a
+0, 19, 19, 1, 158400, 0x084b60e7
+1, 27930, 27930, 1470, 2940, 0xf72a7069
+0, 20, 20, 1, 158400, 0xef95a6a5
+1, 29400, 29400, 1470, 2940, 0x9af2a425
+0, 21, 21, 1, 158400, 0x55f392f1
+1, 30870, 30870, 1470, 2940, 0x4c3f5ac7
+0, 22, 22, 1, 158400, 0x63fca6bb
+1, 32340, 32340, 1470, 2940, 0xfe4cb0b2
+0, 23, 23, 1, 158400, 0x0f7e62fe
+1, 33810, 33810, 1470, 2940, 0x732a35ed
+0, 24, 24, 1, 158400, 0xf35febc1
+1, 35280, 35280, 1470, 2940, 0x526b9e0f
+0, 25, 25, 1, 158400, 0x6bf6f219
+1, 36750, 36750, 1470, 2940, 0x4bd9d4e2
+0, 26, 26, 1, 158400, 0xbdf13e77
+1, 38220, 38220, 1470, 2940, 0x84340827
+0, 27, 27, 1, 158400, 0x88490e47
+1, 39690, 39690, 1470, 2940, 0xe54f7911
+0, 28, 28, 1, 158400, 0xdb786540
+1, 41160, 41160, 1470, 2940, 0x0bbdef52
+0, 29, 29, 1, 158400, 0x7335c045
+1, 42630, 42630, 1470, 2940, 0xc1aac5e1
+0, 30, 30, 1, 158400, 0x6b78015a
+1, 44100, 44100, 1470, 2940, 0x515ea512
+0, 31, 31, 1, 158400, 0x9e9b6d16
+1, 45570, 45570, 1470, 2940, 0x9e7fdac1
+0, 32, 32, 1, 158400, 0xe618e024
+1, 47040, 47040, 1470, 2940, 0xf1d4c9cc
+0, 33, 33, 1, 158400, 0x56cd60f7
+1, 48510, 48510, 1470, 2940, 0x1bc9b6ee
+0, 34, 34, 1, 158400, 0xf08e22fe
+1, 49980, 49980, 1470, 2940, 0xff8ac114
diff --git a/tests/ref/fate/wmv8-drm b/tests/ref/fate/wmv8-drm
index e18309b16a..344ed8d753 100644
--- a/tests/ref/fate/wmv8-drm
+++ b/tests/ref/fate/wmv8-drm
@@ -1,130 +1,131 @@
-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, 0x2676a064
+#tb 0: 1/24
+0, 0, 0, 1, 84480, 0x7760a00b
+0, 1, 1, 1, 84480, 0xfe39a1db
+0, 2, 2, 1, 84480, 0xd71961b4
+0, 3, 3, 1, 84480, 0xc80dedba
+0, 4, 4, 1, 84480, 0x34d8b538
+0, 5, 5, 1, 84480, 0x1a86b8e5
+0, 6, 6, 1, 84480, 0xabf7c25d
+0, 7, 7, 1, 84480, 0x912600ee
+0, 8, 8, 1, 84480, 0x7ee7c70b
+0, 9, 9, 1, 84480, 0x09c5b0d1
+0, 10, 10, 1, 84480, 0x6dbe6c0c
+0, 11, 11, 1, 84480, 0x0fe0a120
+0, 12, 12, 1, 84480, 0x2352d3a2
+0, 13, 13, 1, 84480, 0xb22ce92e
+0, 14, 14, 1, 84480, 0x31db0099
+0, 15, 15, 1, 84480, 0xad2dd73a
+0, 16, 16, 1, 84480, 0xb9af8e20
+0, 17, 17, 1, 84480, 0x7b956549
+0, 18, 18, 1, 84480, 0x3f774b87
+0, 19, 19, 1, 84480, 0x824a23a3
+0, 20, 20, 1, 84480, 0x4469a8d8
+0, 21, 21, 1, 84480, 0xc80c7a0a
+0, 22, 22, 1, 84480, 0xcf958549
+0, 23, 23, 1, 84480, 0x449746e3
+0, 24, 24, 1, 84480, 0xbac66a82
+0, 25, 25, 1, 84480, 0x99e85855
+0, 26, 26, 1, 84480, 0xa4a17d17
+0, 27, 27, 1, 84480, 0xe29c7587
+0, 28, 28, 1, 84480, 0x551de592
+0, 29, 29, 1, 84480, 0xe0877bce
+0, 30, 30, 1, 84480, 0x9660eb35
+0, 31, 31, 1, 84480, 0x0a34b644
+0, 32, 32, 1, 84480, 0x352919f0
+0, 33, 33, 1, 84480, 0xef56ce27
+0, 34, 34, 1, 84480, 0x030fe862
+0, 35, 35, 1, 84480, 0x2eba33e2
+0, 36, 36, 1, 84480, 0x242de401
+0, 37, 37, 1, 84480, 0xbadd61ca
+0, 38, 38, 1, 84480, 0x2060465b
+0, 39, 39, 1, 84480, 0x256e6965
+0, 40, 40, 1, 84480, 0x243b7084
+0, 41, 41, 1, 84480, 0x8b3c0b47
+0, 42, 42, 1, 84480, 0xc174a9af
+0, 43, 43, 1, 84480, 0xb6d48686
+0, 44, 44, 1, 84480, 0xa3dd1871
+0, 45, 45, 1, 84480, 0x04cdcaf7
+0, 46, 46, 1, 84480, 0x55f89c94
+0, 47, 47, 1, 84480, 0xda657032
+0, 48, 48, 1, 84480, 0x38ba7698
+0, 49, 49, 1, 84480, 0x4d03a7f2
+0, 50, 50, 1, 84480, 0x115d9035
+0, 51, 51, 1, 84480, 0x24c6acc6
+0, 52, 52, 1, 84480, 0xdd2bbcae
+0, 53, 53, 1, 84480, 0xb4fee0b9
+0, 54, 54, 1, 84480, 0xc51c14e0
+0, 55, 55, 1, 84480, 0xfb7737de
+0, 56, 56, 1, 84480, 0x38675fb0
+0, 57, 57, 1, 84480, 0x4752c710
+0, 58, 58, 1, 84480, 0xfeb7491b
+0, 59, 59, 1, 84480, 0xaa248122
+0, 60, 60, 1, 84480, 0x9a4af87c
+0, 61, 61, 1, 84480, 0xedcf09df
+0, 62, 62, 1, 84480, 0x563a05df
+0, 63, 63, 1, 84480, 0x0dde1e03
+0, 64, 64, 1, 84480, 0xd8f0ff65
+0, 65, 65, 1, 84480, 0xbeb9ae1a
+0, 66, 66, 1, 84480, 0x416d1468
+0, 67, 67, 1, 84480, 0x66c87d4c
+0, 68, 68, 1, 84480, 0xa67c0774
+0, 69, 69, 1, 84480, 0xd8f8aec1
+0, 70, 70, 1, 84480, 0xadfa502b
+0, 71, 71, 1, 84480, 0x50bf20e4
+0, 72, 72, 1, 84480, 0xbcb3d8cc
+0, 73, 73, 1, 84480, 0xa54677d7
+0, 74, 74, 1, 84480, 0x3566042d
+0, 75, 75, 1, 84480, 0x4c9eed57
+0, 76, 76, 1, 84480, 0xc3b90e58
+0, 77, 77, 1, 84480, 0x3c042bfa
+0, 78, 78, 1, 84480, 0x19f8e890
+0, 79, 79, 1, 84480, 0xd3dacfb9
+0, 80, 80, 1, 84480, 0x2365fc6f
+0, 81, 81, 1, 84480, 0xa2c19d00
+0, 82, 82, 1, 84480, 0xce94336f
+0, 83, 83, 1, 84480, 0xfa9bcf14
+0, 84, 84, 1, 84480, 0x24d6a243
+0, 85, 85, 1, 84480, 0xae1c8854
+0, 86, 86, 1, 84480, 0xbb8968bf
+0, 87, 87, 1, 84480, 0x6f923623
+0, 88, 88, 1, 84480, 0x22e98029
+0, 89, 89, 1, 84480, 0x8ac33af3
+0, 90, 90, 1, 84480, 0x05947b6e
+0, 91, 91, 1, 84480, 0xfc35661a
+0, 92, 92, 1, 84480, 0x0e6b6e47
+0, 93, 93, 1, 84480, 0x82c764bb
+0, 94, 94, 1, 84480, 0x57a36833
+0, 95, 95, 1, 84480, 0xc8dd690a
+0, 96, 96, 1, 84480, 0x02c47232
+0, 97, 97, 1, 84480, 0x6645715d
+0, 98, 98, 1, 84480, 0xc64860f7
+0, 99, 99, 1, 84480, 0x4f5614b3
+0, 100, 100, 1, 84480, 0xa70842ca
+0, 101, 101, 1, 84480, 0x379d8458
+0, 102, 102, 1, 84480, 0xa14701cf
+0, 103, 103, 1, 84480, 0xad1aa2b2
+0, 104, 104, 1, 84480, 0xee28f320
+0, 105, 105, 1, 84480, 0x505801e9
+0, 106, 106, 1, 84480, 0x7947233b
+0, 107, 107, 1, 84480, 0x3ce72a9d
+0, 108, 108, 1, 84480, 0xa6834e64
+0, 109, 109, 1, 84480, 0xfebf4d70
+0, 110, 110, 1, 84480, 0x4a0775e2
+0, 111, 111, 1, 84480, 0x9d7e945b
+0, 112, 112, 1, 84480, 0xaa9eadd9
+0, 113, 113, 1, 84480, 0xaa85c9b1
+0, 114, 114, 1, 84480, 0xa005edaf
+0, 115, 115, 1, 84480, 0x7fc4e5cc
+0, 116, 116, 1, 84480, 0xb0f6e8d1
+0, 117, 117, 1, 84480, 0x9ef9f330
+0, 118, 118, 1, 84480, 0xbe14ff1f
+0, 119, 119, 1, 84480, 0xd494048c
+0, 120, 120, 1, 84480, 0x046166a7
+0, 121, 121, 1, 84480, 0x052a09b2
+0, 122, 122, 1, 84480, 0x71fff4ab
+0, 123, 123, 1, 84480, 0xb9684e41
+0, 124, 124, 1, 84480, 0x1ddce068
+0, 125, 125, 1, 84480, 0xb9de300e
+0, 126, 126, 1, 84480, 0x13962590
+0, 127, 127, 1, 84480, 0xde79482f
+0, 128, 128, 1, 84480, 0x7d1ca064
+0, 129, 129, 1, 84480, 0x2676a064
diff --git a/tests/ref/fate/wmv8-drm-nodec b/tests/ref/fate/wmv8-drm-nodec
index 1a70fa5c64..05a02aafd1 100644
--- a/tests/ref/fate/wmv8-drm-nodec
+++ b/tests/ref/fate/wmv8-drm-nodec
@@ -1,150 +1,152 @@
-0, 0, 282, 0x000d949a
-1, 0, 1088, 0x5cd379bb
-1, 39150, 1088, 0x8dfa1368
-1, 66600, 1088, 0xc0d211be
-1, 92070, 1088, 0x8238113a
-0, 108720, 137, 0x903c415e
-0, 112500, 942, 0xd5b7d2aa
-0, 116190, 841, 0xaffd8ce6
-1, 117540, 1088, 0x9f8924b7
-0, 119970, 1164, 0x4ed84836
-0, 123750, 1492, 0x37f3e8aa
-0, 127440, 1663, 0xc091392d
-0, 131220, 1443, 0x6162c718
-0, 135000, 1721, 0x7bdb3dd0
-0, 138690, 1410, 0xde689881
-0, 142470, 1258, 0xb5b86920
-1, 143010, 1088, 0x767f317a
-0, 146250, 2050, 0x99b6d7c7
-0, 149940, 1242, 0x9ba35009
-0, 153720, 1630, 0x17f10192
-0, 157500, 1747, 0xbbee59d7
-0, 161190, 1565, 0xb09b00d9
-0, 164970, 1573, 0xd2e62201
-1, 168480, 1088, 0x57000d38
-0, 168750, 1353, 0x2305a24d
-0, 172440, 1425, 0xf41bbb46
-0, 176220, 1355, 0xfc08a762
-0, 180000, 1363, 0x98cda71d
-0, 183690, 1547, 0x8742f11f
-0, 187470, 1967, 0x43d61723
-0, 191250, 1378, 0xde22c753
-0, 194940, 961, 0x2418a4da
-1, 197820, 1088, 0xad977261
-0, 198720, 968, 0x0d04ba51
-0, 202500, 1140, 0x737f3543
-0, 206190, 1119, 0x3c050388
-0, 209970, 1078, 0xeac8d981
-0, 213750, 1113, 0xebfa0314
-0, 217440, 1229, 0x95dc3cb5
-0, 221220, 1311, 0x8a6f5bda
-0, 225000, 1270, 0x2e66540a
-0, 228690, 1408, 0x5f489779
-0, 232470, 1359, 0x8bd085f5
-0, 236250, 1428, 0xef9ba480
-0, 239940, 1179, 0x5bb221a8
-0, 243720, 1108, 0x9a6019a8
-0, 247500, 1205, 0xccba4d22
-0, 251190, 1306, 0xde708c19
-0, 254970, 1724, 0xa70b521e
-0, 258750, 1336, 0xdf3974b9
-0, 262440, 1259, 0x1f6b4307
-0, 266220, 1194, 0x635f5a43
-0, 270000, 1183, 0x1dd47115
-0, 273690, 1126, 0x5bac3cc8
-0, 277470, 1360, 0x1fe2d981
-0, 281250, 1261, 0x34288acb
-0, 284940, 1250, 0x26bd72b3
-0, 288720, 1147, 0x02e81ba0
-0, 292500, 1368, 0xb8146962
-0, 296190, 1377, 0xf7b6ce65
-0, 299970, 1396, 0x88467dee
-0, 303750, 1408, 0x5585c25c
-0, 307440, 1551, 0x42002c8d
-0, 311220, 1524, 0xbcb609e3
-1, 313380, 1088, 0xdce57471
-0, 315000, 1554, 0x3d740564
-0, 318690, 1467, 0xc349f2d7
-0, 322470, 1066, 0xb7401462
-0, 326250, 1502, 0x3ee602ed
-0, 329940, 1148, 0xba463637
-0, 333720, 1351, 0x5e85ae79
-0, 337500, 1187, 0xed8d6055
-0, 341190, 1200, 0x64185be6
-0, 344970, 1175, 0x12ad3c1e
-0, 348750, 1179, 0x7e034570
-0, 352440, 1136, 0x5c633c51
-1, 352620, 1088, 0xf3887977
-0, 356220, 1064, 0x5eb51d89
-0, 360000, 953, 0xe148bbdd
-0, 363690, 989, 0x901ec306
-0, 367470, 1030, 0x680de26f
-0, 371250, 1078, 0x86e0ee43
-0, 374940, 1232, 0x98546a86
-0, 378720, 1164, 0x93305074
-0, 382500, 1348, 0x27cfa91b
-0, 386190, 1417, 0x2312d70e
-0, 389970, 1285, 0x46ca4cca
-1, 391770, 1088, 0x1d6c8ed2
-0, 393750, 1037, 0xcf09dd3d
-0, 397440, 1005, 0xe780cf1f
-0, 401220, 890, 0x8b1d8c1b
-0, 405000, 1023, 0xd1dbd506
-0, 408690, 803, 0x935e775e
-0, 412470, 1035, 0x6a220483
-0, 416250, 466, 0xd88bb237
-1, 431010, 1088, 0x09115bae
-0, 442440, 945, 0x8f2eb1ec
-0, 446220, 1190, 0x4c451c1b
-0, 450000, 1811, 0x727c52cb
-0, 453690, 1552, 0x73f82bff
-0, 457470, 1544, 0xa7241ece
-0, 461250, 1707, 0x3d1a6464
-0, 464940, 1103, 0x06b22710
-0, 468720, 1122, 0x656725b8
-1, 470160, 1088, 0x0c8b9372
-0, 472500, 1150, 0xf9674678
-0, 476190, 1438, 0x03fac426
-0, 479970, 1623, 0x7adb1321
-0, 483750, 1677, 0x0b9a3e62
-0, 487440, 1124, 0x769c0ea2
-0, 491220, 1221, 0xd942409f
-0, 495000, 1698, 0xd7ca3fe3
-0, 498690, 1262, 0xb994692f
-0, 502470, 2097, 0xf4eb663f
-0, 506250, 1251, 0xfd4f633a
-1, 509310, 1088, 0x75a82540
-0, 509940, 1633, 0xb7e1290e
-0, 513720, 1739, 0xecd18c38
-0, 517500, 1132, 0xc83e1828
-0, 521190, 825, 0xdd02867c
-0, 524970, 903, 0x349ba205
-0, 528750, 1013, 0x1366ec2a
-0, 532440, 1340, 0xeaa2a231
-0, 536220, 1102, 0x82de2889
-0, 540000, 1834, 0x59b99b92
-1, 540720, 1088, 0x690312b0
-0, 543690, 1332, 0x0610813a
-0, 547470, 1275, 0x5b0d7be7
-0, 551250, 1376, 0xd915b0fe
-0, 554940, 1417, 0x8606b34a
-0, 558720, 1360, 0x3bcd93d3
-0, 562500, 1330, 0xd0439c93
-0, 566190, 1562, 0xb2560a09
-1, 568080, 1088, 0x76d50ff3
-0, 569970, 1376, 0x4f9eb447
-0, 573750, 1405, 0x85d3b084
-0, 577440, 1344, 0xcdbda2ae
-0, 581220, 1313, 0xe3067b35
-0, 585000, 1459, 0xf9d2c56f
-0, 588690, 1275, 0xf5536d81
-0, 592470, 1209, 0x3b5b4ea5
-1, 593550, 1088, 0x8766276f
-0, 596250, 1352, 0x7b199d28
-0, 599940, 1349, 0x02adaaf3
-0, 603720, 1464, 0x20d7cfd2
-0, 607500, 1377, 0x78e0b1f4
-0, 611190, 289, 0x1f2e9246
-1, 619020, 1088, 0x678f20fd
-1, 644490, 1088, 0x718afa20
-1, 669960, 1088, 0x758f0939
+#tb 0: 1/1000
+#tb 1: 1/1000
+0, 0, 0, 0, 282, 0x000d949a
+1, 0, 0, 435, 1088, 0x5cd379bb
+1, 435, 435, 435, 1088, 0x8dfa1368
+1, 740, 740, 435, 1088, 0xc0d211be
+1, 1023, 1023, 435, 1088, 0x8238113a
+0, 1208, 1208, 0, 137, 0x903c415e
+0, 1250, 1250, 0, 942, 0xd5b7d2aa
+0, 1291, 1291, 0, 841, 0xaffd8ce6
+1, 1306, 1306, 435, 1088, 0x9f8924b7
+0, 1333, 1333, 0, 1164, 0x4ed84836
+0, 1375, 1375, 0, 1492, 0x37f3e8aa
+0, 1416, 1416, 0, 1663, 0xc091392d
+0, 1458, 1458, 0, 1443, 0x6162c718
+0, 1500, 1500, 0, 1721, 0x7bdb3dd0
+0, 1541, 1541, 0, 1410, 0xde689881
+0, 1583, 1583, 0, 1258, 0xb5b86920
+1, 1589, 1589, 435, 1088, 0x767f317a
+0, 1625, 1625, 0, 2050, 0x99b6d7c7
+0, 1666, 1666, 0, 1242, 0x9ba35009
+0, 1708, 1708, 0, 1630, 0x17f10192
+0, 1750, 1750, 0, 1747, 0xbbee59d7
+0, 1791, 1791, 0, 1565, 0xb09b00d9
+0, 1833, 1833, 0, 1573, 0xd2e62201
+1, 1872, 1872, 435, 1088, 0x57000d38
+0, 1875, 1875, 0, 1353, 0x2305a24d
+0, 1916, 1916, 0, 1425, 0xf41bbb46
+0, 1958, 1958, 0, 1355, 0xfc08a762
+0, 2000, 2000, 0, 1363, 0x98cda71d
+0, 2041, 2041, 0, 1547, 0x8742f11f
+0, 2083, 2083, 0, 1967, 0x43d61723
+0, 2125, 2125, 0, 1378, 0xde22c753
+0, 2166, 2166, 0, 961, 0x2418a4da
+1, 2198, 2198, 435, 1088, 0xad977261
+0, 2208, 2208, 0, 968, 0x0d04ba51
+0, 2250, 2250, 0, 1140, 0x737f3543
+0, 2291, 2291, 0, 1119, 0x3c050388
+0, 2333, 2333, 0, 1078, 0xeac8d981
+0, 2375, 2375, 0, 1113, 0xebfa0314
+0, 2416, 2416, 0, 1229, 0x95dc3cb5
+0, 2458, 2458, 0, 1311, 0x8a6f5bda
+0, 2500, 2500, 0, 1270, 0x2e66540a
+0, 2541, 2541, 0, 1408, 0x5f489779
+0, 2583, 2583, 0, 1359, 0x8bd085f5
+0, 2625, 2625, 0, 1428, 0xef9ba480
+0, 2666, 2666, 0, 1179, 0x5bb221a8
+0, 2708, 2708, 0, 1108, 0x9a6019a8
+0, 2750, 2750, 0, 1205, 0xccba4d22
+0, 2791, 2791, 0, 1306, 0xde708c19
+0, 2833, 2833, 0, 1724, 0xa70b521e
+0, 2875, 2875, 41, 1336, 0xdf3974b9
+0, 2916, 2916, 41, 1259, 0x1f6b4307
+0, 2958, 2958, 41, 1194, 0x635f5a43
+0, 3000, 3000, 41, 1183, 0x1dd47115
+0, 3041, 3041, 41, 1126, 0x5bac3cc8
+0, 3083, 3083, 41, 1360, 0x1fe2d981
+0, 3125, 3125, 41, 1261, 0x34288acb
+0, 3166, 3166, 41, 1250, 0x26bd72b3
+0, 3208, 3208, 41, 1147, 0x02e81ba0
+0, 3250, 3250, 41, 1368, 0xb8146962
+0, 3291, 3291, 41, 1377, 0xf7b6ce65
+0, 3333, 3333, 41, 1396, 0x88467dee
+0, 3375, 3375, 41, 1408, 0x5585c25c
+0, 3416, 3416, 41, 1551, 0x42002c8d
+0, 3458, 3458, 41, 1524, 0xbcb609e3
+1, 3482, 3482, 435, 1088, 0xdce57471
+0, 3500, 3500, 41, 1554, 0x3d740564
+0, 3541, 3541, 41, 1467, 0xc349f2d7
+0, 3583, 3583, 41, 1066, 0xb7401462
+0, 3625, 3625, 41, 1502, 0x3ee602ed
+0, 3666, 3666, 41, 1148, 0xba463637
+0, 3708, 3708, 41, 1351, 0x5e85ae79
+0, 3750, 3750, 41, 1187, 0xed8d6055
+0, 3791, 3791, 41, 1200, 0x64185be6
+0, 3833, 3833, 41, 1175, 0x12ad3c1e
+0, 3875, 3875, 41, 1179, 0x7e034570
+0, 3916, 3916, 41, 1136, 0x5c633c51
+1, 3918, 3918, 435, 1088, 0xf3887977
+0, 3958, 3958, 41, 1064, 0x5eb51d89
+0, 4000, 4000, 41, 953, 0xe148bbdd
+0, 4041, 4041, 41, 989, 0x901ec306
+0, 4083, 4083, 41, 1030, 0x680de26f
+0, 4125, 4125, 41, 1078, 0x86e0ee43
+0, 4166, 4166, 41, 1232, 0x98546a86
+0, 4208, 4208, 41, 1164, 0x93305074
+0, 4250, 4250, 41, 1348, 0x27cfa91b
+0, 4291, 4291, 41, 1417, 0x2312d70e
+0, 4333, 4333, 41, 1285, 0x46ca4cca
+1, 4353, 4353, 435, 1088, 0x1d6c8ed2
+0, 4375, 4375, 41, 1037, 0xcf09dd3d
+0, 4416, 4416, 41, 1005, 0xe780cf1f
+0, 4458, 4458, 41, 890, 0x8b1d8c1b
+0, 4500, 4500, 41, 1023, 0xd1dbd506
+0, 4541, 4541, 41, 803, 0x935e775e
+0, 4583, 4583, 41, 1035, 0x6a220483
+0, 4625, 4625, 41, 466, 0xd88bb237
+1, 4789, 4789, 435, 1088, 0x09115bae
+0, 4916, 4916, 41, 945, 0x8f2eb1ec
+0, 4958, 4958, 41, 1190, 0x4c451c1b
+0, 5000, 5000, 41, 1811, 0x727c52cb
+0, 5041, 5041, 41, 1552, 0x73f82bff
+0, 5083, 5083, 41, 1544, 0xa7241ece
+0, 5125, 5125, 41, 1707, 0x3d1a6464
+0, 5166, 5166, 41, 1103, 0x06b22710
+0, 5208, 5208, 41, 1122, 0x656725b8
+1, 5224, 5224, 435, 1088, 0x0c8b9372
+0, 5250, 5250, 41, 1150, 0xf9674678
+0, 5291, 5291, 41, 1438, 0x03fac426
+0, 5333, 5333, 41, 1623, 0x7adb1321
+0, 5375, 5375, 41, 1677, 0x0b9a3e62
+0, 5416, 5416, 41, 1124, 0x769c0ea2
+0, 5458, 5458, 41, 1221, 0xd942409f
+0, 5500, 5500, 41, 1698, 0xd7ca3fe3
+0, 5541, 5541, 41, 1262, 0xb994692f
+0, 5583, 5583, 41, 2097, 0xf4eb663f
+0, 5625, 5625, 41, 1251, 0xfd4f633a
+1, 5659, 5659, 435, 1088, 0x75a82540
+0, 5666, 5666, 41, 1633, 0xb7e1290e
+0, 5708, 5708, 41, 1739, 0xecd18c38
+0, 5750, 5750, 41, 1132, 0xc83e1828
+0, 5791, 5791, 41, 825, 0xdd02867c
+0, 5833, 5833, 41, 903, 0x349ba205
+0, 5875, 5875, 41, 1013, 0x1366ec2a
+0, 5916, 5916, 41, 1340, 0xeaa2a231
+0, 5958, 5958, 41, 1102, 0x82de2889
+0, 6000, 6000, 41, 1834, 0x59b99b92
+1, 6008, 6008, 435, 1088, 0x690312b0
+0, 6041, 6041, 41, 1332, 0x0610813a
+0, 6083, 6083, 41, 1275, 0x5b0d7be7
+0, 6125, 6125, 41, 1376, 0xd915b0fe
+0, 6166, 6166, 41, 1417, 0x8606b34a
+0, 6208, 6208, 41, 1360, 0x3bcd93d3
+0, 6250, 6250, 41, 1330, 0xd0439c93
+0, 6291, 6291, 41, 1562, 0xb2560a09
+1, 6312, 6312, 435, 1088, 0x76d50ff3
+0, 6333, 6333, 41, 1376, 0x4f9eb447
+0, 6375, 6375, 41, 1405, 0x85d3b084
+0, 6416, 6416, 41, 1344, 0xcdbda2ae
+0, 6458, 6458, 41, 1313, 0xe3067b35
+0, 6500, 6500, 41, 1459, 0xf9d2c56f
+0, 6541, 6541, 41, 1275, 0xf5536d81
+0, 6583, 6583, 41, 1209, 0x3b5b4ea5
+1, 6595, 6595, 435, 1088, 0x8766276f
+0, 6625, 6625, 41, 1352, 0x7b199d28
+0, 6666, 6666, 41, 1349, 0x02adaaf3
+0, 6708, 6708, 41, 1464, 0x20d7cfd2
+0, 6750, 6750, 41, 1377, 0x78e0b1f4
+0, 6791, 6791, 41, 289, 0x1f2e9246
+1, 6878, 6878, 435, 1088, 0x678f20fd
+1, 7161, 7161, 435, 1088, 0x718afa20
+1, 7444, 7444, 435, 1088, 0x758f0939
diff --git a/tests/ref/fate/wnv1 b/tests/ref/fate/wnv1
index e7fd7ae0f1..4de35bfc7c 100644
--- a/tests/ref/fate/wnv1
+++ b/tests/ref/fate/wnv1
@@ -1,86 +1,87 @@
-0, 0, 38400, 0x4c3fdc2f
-0, 6000, 38400, 0x11c9d0cb
-0, 12000, 38400, 0x6c37fd7f
-0, 18000, 38400, 0x7e6c9b93
-0, 23999, 38400, 0xc9d4c5f7
-0, 29999, 38400, 0x5038088a
-0, 35999, 38400, 0xa48411b6
-0, 41999, 38400, 0xb9b7e97b
-0, 47999, 38400, 0xce37e037
-0, 53999, 38400, 0x5df528da
-0, 59999, 38400, 0xe4e65876
-0, 65998, 38400, 0x5bf4a46e
-0, 71998, 38400, 0xee478c2a
-0, 77998, 38400, 0x51a555c2
-0, 83998, 38400, 0x30a4030a
-0, 89998, 38400, 0xb13802d6
-0, 95998, 38400, 0x45ef5482
-0, 101997, 38400, 0x00aef51b
-0, 107997, 38400, 0xe8a71d7e
-0, 113997, 38400, 0x3d185142
-0, 119997, 38400, 0x221f59ea
-0, 125997, 38400, 0x1ae13572
-0, 131997, 38400, 0xe498450e
-0, 137997, 38400, 0xe744747a
-0, 143996, 38400, 0x44ee3352
-0, 149996, 38400, 0x74187342
-0, 155996, 38400, 0xbee9656e
-0, 161996, 38400, 0x645c8d1a
-0, 167996, 38400, 0x443dde1e
-0, 173996, 38400, 0x012106fd
-0, 179996, 38400, 0x4bb86b82
-0, 185995, 38400, 0x152473ba
-0, 191995, 38400, 0xa5214ea2
-0, 197995, 38400, 0x9e8c7046
-0, 203995, 38400, 0xdd95a9ba
-0, 209995, 38400, 0x64c5f292
-0, 215995, 38400, 0xdd42a04a
-0, 221994, 38400, 0x6069359e
-0, 227994, 38400, 0x094bf60f
-0, 233994, 38400, 0x584217be
-0, 239994, 38400, 0x4c5ef453
-0, 245994, 38400, 0x7e83eeb7
-0, 251994, 38400, 0xaa57efb3
-0, 257994, 38400, 0x42b0a66f
-0, 263993, 38400, 0x371fdcbf
-0, 269993, 38400, 0xb8f1e1bf
-0, 275993, 38400, 0x45c91fa6
-0, 281993, 38400, 0x7508338e
-0, 287993, 38400, 0xb5dd91ab
-0, 293993, 38400, 0x0204b38f
-0, 299993, 38400, 0x8ae2da6f
-0, 305992, 38400, 0x926ad59f
-0, 311992, 38400, 0xf9c3234e
-0, 317992, 38400, 0xabcb00f6
-0, 323992, 38400, 0x2d1de7bb
-0, 329992, 38400, 0x332d39ce
-0, 335992, 38400, 0xcd767286
-0, 341991, 38400, 0xf3d046ae
-0, 347991, 38400, 0x7ccc8162
-0, 353991, 38400, 0x09f6997e
-0, 359991, 38400, 0x5fcc6536
-0, 365991, 38400, 0x9959a3b6
-0, 371991, 38400, 0x63a5dcd2
-0, 377991, 38400, 0x66deae96
-0, 383990, 38400, 0x6feb0b1d
-0, 389990, 38400, 0x2063c25e
-0, 395990, 38400, 0x617f93de
-0, 401990, 38400, 0x4251c806
-0, 407990, 38400, 0x702eb68e
-0, 413990, 38400, 0xe80b8ea6
-0, 419990, 38400, 0xa51ec1b2
-0, 425989, 38400, 0x8aa8af8a
-0, 431989, 38400, 0x9a260321
-0, 437989, 38400, 0x2c732c22
-0, 443989, 38400, 0x216ed6a2
-0, 449989, 38400, 0x5558326d
-0, 455989, 38400, 0x0cae4cf5
-0, 461988, 38400, 0xf0e02f3d
-0, 467988, 38400, 0xfddd061d
-0, 473988, 38400, 0x4563e9d6
-0, 479988, 38400, 0xc8ac10d1
-0, 485988, 38400, 0x97f8c3fa
-0, 491988, 38400, 0x86190eb1
-0, 497988, 38400, 0xc9022d65
-0, 503987, 38400, 0x345738d5
-0, 509987, 38400, 0x457ae80e
+#tb 0: 13333/200000
+0, 0, 0, 1, 38400, 0x4c3fdc2f
+0, 1, 1, 1, 38400, 0x11c9d0cb
+0, 2, 2, 1, 38400, 0x6c37fd7f
+0, 3, 3, 1, 38400, 0x7e6c9b93
+0, 4, 4, 1, 38400, 0xc9d4c5f7
+0, 5, 5, 1, 38400, 0x5038088a
+0, 6, 6, 1, 38400, 0xa48411b6
+0, 7, 7, 1, 38400, 0xb9b7e97b
+0, 8, 8, 1, 38400, 0xce37e037
+0, 9, 9, 1, 38400, 0x5df528da
+0, 10, 10, 1, 38400, 0xe4e65876
+0, 11, 11, 1, 38400, 0x5bf4a46e
+0, 12, 12, 1, 38400, 0xee478c2a
+0, 13, 13, 1, 38400, 0x51a555c2
+0, 14, 14, 1, 38400, 0x30a4030a
+0, 15, 15, 1, 38400, 0xb13802d6
+0, 16, 16, 1, 38400, 0x45ef5482
+0, 17, 17, 1, 38400, 0x00aef51b
+0, 18, 18, 1, 38400, 0xe8a71d7e
+0, 19, 19, 1, 38400, 0x3d185142
+0, 20, 20, 1, 38400, 0x221f59ea
+0, 21, 21, 1, 38400, 0x1ae13572
+0, 22, 22, 1, 38400, 0xe498450e
+0, 23, 23, 1, 38400, 0xe744747a
+0, 24, 24, 1, 38400, 0x44ee3352
+0, 25, 25, 1, 38400, 0x74187342
+0, 26, 26, 1, 38400, 0xbee9656e
+0, 27, 27, 1, 38400, 0x645c8d1a
+0, 28, 28, 1, 38400, 0x443dde1e
+0, 29, 29, 1, 38400, 0x012106fd
+0, 30, 30, 1, 38400, 0x4bb86b82
+0, 31, 31, 1, 38400, 0x152473ba
+0, 32, 32, 1, 38400, 0xa5214ea2
+0, 33, 33, 1, 38400, 0x9e8c7046
+0, 34, 34, 1, 38400, 0xdd95a9ba
+0, 35, 35, 1, 38400, 0x64c5f292
+0, 36, 36, 1, 38400, 0xdd42a04a
+0, 37, 37, 1, 38400, 0x6069359e
+0, 38, 38, 1, 38400, 0x094bf60f
+0, 39, 39, 1, 38400, 0x584217be
+0, 40, 40, 1, 38400, 0x4c5ef453
+0, 41, 41, 1, 38400, 0x7e83eeb7
+0, 42, 42, 1, 38400, 0xaa57efb3
+0, 43, 43, 1, 38400, 0x42b0a66f
+0, 44, 44, 1, 38400, 0x371fdcbf
+0, 45, 45, 1, 38400, 0xb8f1e1bf
+0, 46, 46, 1, 38400, 0x45c91fa6
+0, 47, 47, 1, 38400, 0x7508338e
+0, 48, 48, 1, 38400, 0xb5dd91ab
+0, 49, 49, 1, 38400, 0x0204b38f
+0, 50, 50, 1, 38400, 0x8ae2da6f
+0, 51, 51, 1, 38400, 0x926ad59f
+0, 52, 52, 1, 38400, 0xf9c3234e
+0, 53, 53, 1, 38400, 0xabcb00f6
+0, 54, 54, 1, 38400, 0x2d1de7bb
+0, 55, 55, 1, 38400, 0x332d39ce
+0, 56, 56, 1, 38400, 0xcd767286
+0, 57, 57, 1, 38400, 0xf3d046ae
+0, 58, 58, 1, 38400, 0x7ccc8162
+0, 59, 59, 1, 38400, 0x09f6997e
+0, 60, 60, 1, 38400, 0x5fcc6536
+0, 61, 61, 1, 38400, 0x9959a3b6
+0, 62, 62, 1, 38400, 0x63a5dcd2
+0, 63, 63, 1, 38400, 0x66deae96
+0, 64, 64, 1, 38400, 0x6feb0b1d
+0, 65, 65, 1, 38400, 0x2063c25e
+0, 66, 66, 1, 38400, 0x617f93de
+0, 67, 67, 1, 38400, 0x4251c806
+0, 68, 68, 1, 38400, 0x702eb68e
+0, 69, 69, 1, 38400, 0xe80b8ea6
+0, 70, 70, 1, 38400, 0xa51ec1b2
+0, 71, 71, 1, 38400, 0x8aa8af8a
+0, 72, 72, 1, 38400, 0x9a260321
+0, 73, 73, 1, 38400, 0x2c732c22
+0, 74, 74, 1, 38400, 0x216ed6a2
+0, 75, 75, 1, 38400, 0x5558326d
+0, 76, 76, 1, 38400, 0x0cae4cf5
+0, 77, 77, 1, 38400, 0xf0e02f3d
+0, 78, 78, 1, 38400, 0xfddd061d
+0, 79, 79, 1, 38400, 0x4563e9d6
+0, 80, 80, 1, 38400, 0xc8ac10d1
+0, 81, 81, 1, 38400, 0x97f8c3fa
+0, 82, 82, 1, 38400, 0x86190eb1
+0, 83, 83, 1, 38400, 0xc9022d65
+0, 84, 84, 1, 38400, 0x345738d5
+0, 85, 85, 1, 38400, 0x457ae80e
diff --git a/tests/ref/fate/wtv-demux b/tests/ref/fate/wtv-demux
index b3744ee2d1..d20d041432 100644
--- a/tests/ref/fate/wtv-demux
+++ b/tests/ref/fate/wtv-demux
@@ -1,139 +1,141 @@
-1, 0, 576, 0x9b6e1638
-1, 1620, 576, 0x0ca91183
-1, 3780, 576, 0xec6a180f
-1, 5940, 576, 0x478a2b9b
-1, 8100, 576, 0x00fa15b3
-1, 10260, 576, 0xfb551816
-1, 12960, 576, 0x422e12bd
-1, 15120, 576, 0xa7581b29
-1, 17280, 576, 0xd4b31a74
-1, 19440, 576, 0x11521b10
-1, 21600, 576, 0x3dcc1474
-1, 23760, 576, 0x66c31aab
-1, 25920, 576, 0x97f318a8
-1, 28080, 576, 0xd3fb1a30
-1, 30240, 576, 0xd2bd16af
-1, 32400, 576, 0x6c10146a
-1, 34560, 576, 0x10d81468
-1, 36720, 576, 0x3813162d
-1, 38880, 576, 0x89e71d95
-1, 41040, 576, 0xd1c717f9
-1, 43200, 576, 0x1a311e5f
-1, 45360, 576, 0x0ea80e05
-1, 47520, 576, 0x2f1718f2
-1, 49680, 576, 0xffe01e13
-1, 51840, 576, 0xa7b02296
-1, 54000, 576, 0x199f1597
-1, 56160, 576, 0xdea217ba
-1, 58320, 576, 0x8a790f01
-1, 60480, 576, 0x23e80038
-1, 62640, 576, 0x75dc048a
-1, 64800, 576, 0xeb4b0d93
-1, 66960, 576, 0xde1322f5
-1, 69120, 576, 0xc3131f35
-1, 71280, 576, 0x708f1381
-1, 73440, 576, 0x1f00137e
-0, 74578, 41980, 0xd4920915
-1, 75600, 576, 0x05131eb0
-1, 77760, 576, 0x78151c22
-0, 78178, 7228, 0x1b141fa3
-1, 79920, 576, 0x31771239
-0, 81777, 7492, 0x1a47f3e4
-1, 82080, 576, 0x3ce4097c
-1, 84240, 576, 0x180e15f4
-0, 85378, 25068, 0xcb70a744
-1, 86400, 576, 0x30db0604
-1, 88560, 576, 0x9b290284
-0, 88978, 7212, 0x0ab9f558
-1, 90720, 576, 0xcf340753
-0, 92578, 7612, 0xa93054f0
-1, 92880, 576, 0xdaa41457
-1, 95040, 576, 0x34d310a2
-0, 96177, 22868, 0xa77db64a
-1, 97200, 576, 0x58b31010
-1, 99360, 576, 0x19610f54
-0, 99778, 6260, 0x6cf76411
-1, 101520, 576, 0x17762352
-0, 103377, 6156, 0xe168394b
-1, 103680, 576, 0x1fea1448
-1, 105840, 576, 0x55840a01
-0, 106977, 23364, 0x53164f1e
-1, 108000, 576, 0x6c9c24ce
-1, 110160, 576, 0x955f1e97
-0, 110578, 6708, 0x89877269
-1, 112320, 576, 0x2827134f
-0, 114178, 6908, 0x8d62a249
-1, 114480, 576, 0x34a01c29
-1, 116640, 576, 0x7d351e52
-0, 117778, 38156, 0xec41f682
-1, 118800, 576, 0x00c91d9e
-1, 120960, 576, 0x57ea1a97
-0, 121377, 5764, 0xcc04534b
-1, 123120, 576, 0xef3a1c74
-0, 124977, 5388, 0xb8a1c3c5
-1, 125280, 576, 0x11fc217d
-1, 127440, 576, 0x59ce20e5
-0, 128578, 16764, 0x59460d96
-1, 129600, 576, 0xaafc1dbf
-1, 131760, 576, 0xdd941609
-0, 132177, 5548, 0x5c91e93d
-1, 133920, 576, 0x900420b0
-0, 135777, 5652, 0x5e321aed
-1, 136080, 576, 0x5f4f1aa1
-1, 138240, 576, 0x7d7e18de
-0, 139377, 15564, 0xefdf5080
-1, 140400, 576, 0x986c0d9d
-1, 142560, 576, 0xcb4c21c0
-0, 142977, 6492, 0xd1d5c5f8
-1, 144720, 576, 0xbcfb1e8b
-0, 146577, 5604, 0xf9472b44
-1, 146880, 576, 0xcb541b4c
-1, 149040, 576, 0x980426e9
-0, 150177, 17924, 0x45815b7b
-1, 151200, 576, 0x09d00aa0
-1, 153360, 576, 0xad591374
-0, 153778, 5020, 0x3cc5e554
-1, 155520, 576, 0x97bf1461
-0, 157378, 5276, 0xa0554c12
-1, 157680, 576, 0xdc871cc4
-1, 159840, 576, 0x56781896
-0, 160977, 31460, 0x5765eb5f
-1, 162000, 576, 0xc77714e3
-1, 164160, 576, 0x280e18d4
-0, 164577, 4972, 0x91adbab7
-1, 166320, 576, 0xbc0d2302
-0, 168178, 5580, 0xfea707cb
-1, 168480, 576, 0x79191384
-1, 170640, 576, 0x65481c97
-0, 171778, 17412, 0x0afe4d27
-1, 172800, 576, 0xc94d227d
-1, 174960, 576, 0xa68a1f14
-0, 175378, 5236, 0x03f55309
-1, 177120, 576, 0x6af11a5c
-0, 178977, 4924, 0x558e753c
-1, 179280, 576, 0x4d1019ef
-1, 181440, 576, 0x3b1b17b5
-0, 182577, 15396, 0xf145d121
-1, 183600, 576, 0xcdd8159f
-1, 185760, 576, 0x97cd1d06
-0, 186177, 4708, 0x43066a92
-1, 187920, 576, 0x5d1b1123
-0, 189778, 4332, 0x9e22bcba
-1, 190080, 576, 0x888d0cb0
-1, 192240, 576, 0x556e1dad
-0, 193377, 12876, 0x46ff9ef4
-1, 194400, 576, 0xf7af0bce
-1, 196560, 576, 0xb5da160a
-0, 196978, 5940, 0x27cba62e
-1, 198720, 576, 0x4a8d0e98
-0, 200578, 6124, 0x6bab0a6d
-1, 200880, 576, 0x183b1c7e
-1, 203040, 576, 0xc47120e6
-0, 204178, 36428, 0x942f9648
-1, 205200, 576, 0xb1f31346
-0, 207777, 6660, 0x545a0db7
-0, 211377, 6780, 0x2d1d4189
-0, 214978, 16460, 0x7c3b3ca4
-0, 218578, 6724, 0x8538cc6f
-0, 222178, 7068, 0x69574fd0
-0, 225777, 19552, 0xf230e854
+#tb 0: 1/10000000
+#tb 1: 1/10000000
+1, -2, -2, 180000, 576, 0x9b6e1638
+1, 179998, 179998, 240000, 576, 0x0ca91183
+1, 419998, 419998, 240000, 576, 0xec6a180f
+1, 659998, 659998, 240000, 576, 0x478a2b9b
+1, 899998, 899998, 240000, 576, 0x00fa15b3
+1, 1139998, 1139998, 240000, 576, 0xfb551816
+1, 1439998, 1439998, 240000, 576, 0x422e12bd
+1, 1679998, 1679998, 240000, 576, 0xa7581b29
+1, 1919998, 1919998, 240000, 576, 0xd4b31a74
+1, 2159998, 2159998, 240000, 576, 0x11521b10
+1, 2399998, 2399998, 240000, 576, 0x3dcc1474
+1, 2639998, 2639998, 240000, 576, 0x66c31aab
+1, 2879998, 2879998, 240000, 576, 0x97f318a8
+1, 3119998, 3119998, 240000, 576, 0xd3fb1a30
+1, 3359998, 3359998, 240000, 576, 0xd2bd16af
+1, 3599998, 3599998, 240000, 576, 0x6c10146a
+1, 3839998, 3839998, 240000, 576, 0x10d81468
+1, 4079998, 4079998, 240000, 576, 0x3813162d
+1, 4319998, 4319998, 240000, 576, 0x89e71d95
+1, 4559998, 4559998, 240000, 576, 0xd1c717f9
+1, 4799998, 4799998, 240000, 576, 0x1a311e5f
+1, 5039998, 5039998, 240000, 576, 0x0ea80e05
+1, 5279998, 5279998, 240000, 576, 0x2f1718f2
+1, 5519998, 5519998, 240000, 576, 0xffe01e13
+1, 5759998, 5759998, 240000, 576, 0xa7b02296
+1, 5999998, 5999998, 240000, 576, 0x199f1597
+1, 6239998, 6239998, 240000, 576, 0xdea217ba
+1, 6479998, 6479998, 240000, 576, 0x8a790f01
+1, 6719998, 6719998, 240000, 576, 0x23e80038
+1, 6959998, 6959998, 240000, 576, 0x75dc048a
+1, 7199998, 7199998, 240000, 576, 0xeb4b0d93
+1, 7439998, 7439998, 240000, 576, 0xde1322f5
+1, 7679998, 7679998, 240000, 576, 0xc3131f35
+1, 7919998, 7919998, 240000, 576, 0x708f1381
+1, 8159998, 8159998, 240000, 576, 0x1f00137e
+0, 8286442, 9486442, 400000, 41980, 0xd4920915
+1, 8399998, 8399998, 240000, 576, 0x05131eb0
+1, 8639998, 8639998, 240000, 576, 0x78151c22
+0, 8686442, 8686442, 400000, 7228, 0x1b141fa3
+1, 8879998, 8879998, 240000, 576, 0x31771239
+0, 9086331, 9086331, 400000, 7492, 0x1a47f3e4
+1, 9119998, 9119998, 240000, 576, 0x3ce4097c
+1, 9359998, 9359998, 240000, 576, 0x180e15f4
+0, 9486442, 10686331, 400000, 25068, 0xcb70a744
+1, 9599998, 9599998, 240000, 576, 0x30db0604
+1, 9839998, 9839998, 240000, 576, 0x9b290284
+0, 9886442, 9886442, 400000, 7212, 0x0ab9f558
+1, 10079998, 10079998, 240000, 576, 0xcf340753
+0, 10286442, 10286442, 400000, 7612, 0xa93054f0
+1, 10319998, 10319998, 240000, 576, 0xdaa41457
+1, 10559998, 10559998, 240000, 576, 0x34d310a2
+0, 10686331, 11886331, 400000, 22868, 0xa77db64a
+1, 10799998, 10799998, 240000, 576, 0x58b31010
+1, 11039998, 11039998, 240000, 576, 0x19610f54
+0, 11086442, 11086442, 400000, 6260, 0x6cf76411
+1, 11279998, 11279998, 240000, 576, 0x17762352
+0, 11486331, 11486331, 400000, 6156, 0xe168394b
+1, 11519998, 11519998, 240000, 576, 0x1fea1448
+1, 11759998, 11759998, 240000, 576, 0x55840a01
+0, 11886331, 13086442, 400000, 23364, 0x53164f1e
+1, 11999998, 11999998, 240000, 576, 0x6c9c24ce
+1, 12239998, 12239998, 240000, 576, 0x955f1e97
+0, 12286442, 12286442, 400000, 6708, 0x89877269
+1, 12479998, 12479998, 240000, 576, 0x2827134f
+0, 12686442, 12686442, 400000, 6908, 0x8d62a249
+1, 12719998, 12719998, 240000, 576, 0x34a01c29
+1, 12959998, 12959998, 240000, 576, 0x7d351e52
+0, 13086442, 14286442, 400000, 38156, 0xec41f682
+1, 13199998, 13199998, 240000, 576, 0x00c91d9e
+1, 13439998, 13439998, 240000, 576, 0x57ea1a97
+0, 13486331, 13486331, 400000, 5764, 0xcc04534b
+1, 13679998, 13679998, 240000, 576, 0xef3a1c74
+0, 13886331, 13886331, 400000, 5388, 0xb8a1c3c5
+1, 13919998, 13919998, 240000, 576, 0x11fc217d
+1, 14159998, 14159998, 240000, 576, 0x59ce20e5
+0, 14286442, 15486331, 400000, 16764, 0x59460d96
+1, 14399998, 14399998, 240000, 576, 0xaafc1dbf
+1, 14639998, 14639998, 240000, 576, 0xdd941609
+0, 14686331, 14686331, 400000, 5548, 0x5c91e93d
+1, 14879998, 14879998, 240000, 576, 0x900420b0
+0, 15086331, 15086331, 400000, 5652, 0x5e321aed
+1, 15119998, 15119998, 240000, 576, 0x5f4f1aa1
+1, 15359998, 15359998, 240000, 576, 0x7d7e18de
+0, 15486331, 16686331, 400000, 15564, 0xefdf5080
+1, 15599998, 15599998, 240000, 576, 0x986c0d9d
+1, 15839998, 15839998, 240000, 576, 0xcb4c21c0
+0, 15886331, 15886331, 400000, 6492, 0xd1d5c5f8
+1, 16079998, 16079998, 240000, 576, 0xbcfb1e8b
+0, 16286331, 16286331, 400000, 5604, 0xf9472b44
+1, 16319998, 16319998, 240000, 576, 0xcb541b4c
+1, 16559998, 16559998, 240000, 576, 0x980426e9
+0, 16686331, 17886331, 400000, 17924, 0x45815b7b
+1, 16799998, 16799998, 240000, 576, 0x09d00aa0
+1, 17039998, 17039998, 240000, 576, 0xad591374
+0, 17086442, 17086442, 400000, 5020, 0x3cc5e554
+1, 17279998, 17279998, 240000, 576, 0x97bf1461
+0, 17486442, 17486442, 400000, 5276, 0xa0554c12
+1, 17519998, 17519998, 240000, 576, 0xdc871cc4
+1, 17759998, 17759998, 240000, 576, 0x56781896
+0, 17886331, 19086442, 400000, 31460, 0x5765eb5f
+1, 17999998, 17999998, 240000, 576, 0xc77714e3
+1, 18239998, 18239998, 240000, 576, 0x280e18d4
+0, 18286331, 18286331, 400000, 4972, 0x91adbab7
+1, 18479998, 18479998, 240000, 576, 0xbc0d2302
+0, 18686442, 18686442, 400000, 5580, 0xfea707cb
+1, 18719998, 18719998, 240000, 576, 0x79191384
+1, 18959998, 18959998, 240000, 576, 0x65481c97
+0, 19086442, 20286331, 400000, 17412, 0x0afe4d27
+1, 19199998, 19199998, 240000, 576, 0xc94d227d
+1, 19439998, 19439998, 240000, 576, 0xa68a1f14
+0, 19486442, 19486442, 400000, 5236, 0x03f55309
+1, 19679998, 19679998, 240000, 576, 0x6af11a5c
+0, 19886331, 19886331, 400000, 4924, 0x558e753c
+1, 19919998, 19919998, 240000, 576, 0x4d1019ef
+1, 20159998, 20159998, 240000, 576, 0x3b1b17b5
+0, 20286331, 21486331, 400000, 15396, 0xf145d121
+1, 20399998, 20399998, 240000, 576, 0xcdd8159f
+1, 20639998, 20639998, 240000, 576, 0x97cd1d06
+0, 20686331, 20686331, 400000, 4708, 0x43066a92
+1, 20879998, 20879998, 240000, 576, 0x5d1b1123
+0, 21086442, 21086442, 400000, 4332, 0x9e22bcba
+1, 21119998, 21119998, 240000, 576, 0x888d0cb0
+1, 21359998, 21359998, 240000, 576, 0x556e1dad
+0, 21486331, 22686442, 400000, 12876, 0x46ff9ef4
+1, 21599998, 21599998, 240000, 576, 0xf7af0bce
+1, 21839998, 21839998, 240000, 576, 0xb5da160a
+0, 21886442, 21886442, 400000, 5940, 0x27cba62e
+1, 22079998, 22079998, 240000, 576, 0x4a8d0e98
+0, 22286442, 22286442, 400000, 6124, 0x6bab0a6d
+1, 22319998, 22319998, 240000, 576, 0x183b1c7e
+1, 22559998, 22559998, 240000, 576, 0xc47120e6
+0, 22686442, 23886442, 400000, 36428, 0x942f9648
+1, 22799998, 22799998, 240000, 576, 0xb1f31346
+0, 23086331, 23086331, 400000, 6660, 0x545a0db7
+0, 23486331, 23486331, 400000, 6780, 0x2d1d4189
+0, 23886442, 25086331, 400000, 16460, 0x7c3b3ca4
+0, 24286442, 24286442, 400000, 6724, 0x8538cc6f
+0, 24686442, 24686442, 400000, 7068, 0x69574fd0
+0, 25086331, 26286331, 400000, 19552, 0xf230e854
diff --git a/tests/ref/fate/xmv-demux b/tests/ref/fate/xmv-demux
index 887b855d74..841ba9c51a 100644
--- a/tests/ref/fate/xmv-demux
+++ b/tests/ref/fate/xmv-demux
@@ -1,181 +1,183 @@
-0, 0, 1508, 0xefceba48
-1, 0, 5976, 0xfa2c2db9
-1, 10841, 5976, 0x256b935c
-1, 21682, 5976, 0xa78a9563
-1, 32522, 5976, 0x4ea056f4
-1, 43363, 5976, 0xda772d8d
-1, 54204, 5976, 0xafacf7c9
-0, 57600, 108, 0x06713c96
-0, 61200, 952, 0xd306df7e
-0, 64800, 2312, 0xaf316585
-1, 65045, 5976, 0xdeb003f4
-0, 68400, 3872, 0xfc1c527c
-0, 72000, 20, 0xaffc0edd
-0, 75600, 6600, 0xe1b66c7f
-1, 75886, 2016, 0xa7380d36
-0, 79200, 6868, 0xd5b3f631
-1, 79543, 2016, 0xbc090bac
-0, 82800, 8420, 0xf70ee33b
-1, 83200, 2016, 0x6f8c164c
-0, 86400, 13144, 0x9a54ef39
-1, 86857, 2016, 0x13b80e28
-0, 90000, 6340, 0xe55bf555
-1, 90514, 2016, 0xd40ff863
-0, 93600, 3736, 0x0b23f89f
-1, 94171, 2016, 0x4d530ed7
-0, 97200, 2624, 0x79e2e451
-1, 97829, 2160, 0x0fbc37eb
-0, 100800, 1860, 0x63886f11
-1, 101747, 13824, 0x82fb2602
-0, 104400, 1244, 0x74594601
-0, 108000, 564, 0xf4561dfb
-0, 111600, 80, 0xbf8e2e30
-0, 115200, 20, 0xa0990c29
-1, 126824, 13824, 0x08771caf
-1, 151902, 13824, 0xdf7d4a65
-1, 176980, 13896, 0x24bf3f47
-1, 202188, 3600, 0x9ad26b9f
-1, 208718, 3600, 0x8c666fd6
-1, 215249, 3600, 0x305c6ca1
-1, 221780, 3600, 0x48b04e1e
-0, 223200, 104, 0x12413980
-0, 226800, 796, 0x2e698ed3
-1, 228310, 3600, 0x8c915935
-0, 230400, 1808, 0x8b3e6e5e
-0, 234000, 4712, 0xdbd51737
-1, 234841, 3600, 0xa8f45e01
-0, 237600, 5548, 0xee9c831c
-0, 241200, 6152, 0x9c18ccc1
-1, 241371, 3816, 0xc64cc5ed
-0, 244800, 6452, 0x7860462a
-1, 248294, 1944, 0x0ac2e3f1
-0, 248400, 6676, 0xe1b1c9e4
-1, 251820, 1944, 0x2197dccd
-0, 252000, 10904, 0x0bded7b7
-1, 255347, 1944, 0x0c02e77f
-0, 255600, 12844, 0xe6d16cff
-1, 258873, 1944, 0x675ee06a
-0, 259200, 10920, 0xe114c46b
-1, 262400, 2160, 0x0d803a8b
-0, 262800, 5952, 0xb7464634
-1, 266318, 6696, 0xa7a0dfea
-0, 266400, 4732, 0x2fa2e36d
-0, 270000, 2592, 0xf54ddd57
-0, 273600, 1516, 0x4a1cd4d5
-0, 277200, 864, 0x49889afc
-1, 278465, 6696, 0x59aa3145
-0, 280800, 468, 0x3932e6a4
-0, 284400, 116, 0x2b8341e6
-0, 288000, 16, 0x6a3109cf
-1, 290612, 6696, 0x69be4d78
-1, 302759, 6696, 0x64064c67
-1, 314906, 6696, 0xc8536f98
-1, 327053, 6696, 0xc0ce5199
-1, 339200, 6768, 0x3b275c58
-1, 351478, 8856, 0x90e5b37c
-0, 360000, 1508, 0xefceba48
-1, 367543, 8856, 0x86b33366
-1, 383608, 8856, 0x19e18797
-1, 399673, 8856, 0x0a0c7fbd
-1, 415739, 8928, 0x4a9b2d42
-0, 417600, 100, 0x45023894
-0, 421200, 948, 0xa65ed345
-0, 424800, 2808, 0xd7285746
-0, 428400, 5372, 0x05794175
-1, 431935, 1512, 0xed8b3f4b
-0, 432000, 11596, 0x8636eca7
-1, 434678, 1512, 0xa27d3891
-0, 435600, 11524, 0xe1f39be3
-1, 437420, 1512, 0xb0f13eb6
-0, 439200, 23392, 0xab053f05
-1, 440163, 1656, 0xe5a98324
-0, 442800, 4560, 0x03197d07
-1, 443167, 2232, 0x15445433
-0, 446400, 4440, 0x1cc361a2
-1, 447216, 2232, 0x5cb348a9
-0, 450000, 23688, 0x16030634
-1, 451265, 2232, 0xf10347da
-0, 453600, 16132, 0xf0eca799
-1, 455314, 2448, 0x3e16a175
-0, 457200, 29896, 0x0c0988ea
-1, 459755, 2520, 0x17e3ca2b
-0, 460800, 19956, 0x0093aa0b
-1, 464327, 1944, 0x35c2de84
-0, 464400, 16392, 0x8829a9ca
-1, 467853, 1944, 0x55b4db40
-0, 468000, 16772, 0x9a4a546d
-1, 471380, 2088, 0xdaae14b2
-0, 471600, 8920, 0xcd8ca203
-1, 475167, 1944, 0x92ccd37f
-0, 475200, 9632, 0x53c1d37b
-1, 478694, 1944, 0x70efede1
-0, 478800, 8976, 0xfe4da2cc
-1, 482220, 1944, 0x7601d304
-0, 482400, 6680, 0x35348fe0
-1, 485747, 1944, 0x3922ebc2
-0, 486000, 9228, 0xcbf62b0c
-1, 489273, 2160, 0xde462f2e
-0, 489600, 5108, 0xd1d88511
-1, 493192, 1872, 0x467ac1d2
-0, 493200, 10016, 0xaff4b2b2
-1, 496588, 1872, 0xa1e4cd43
-0, 496800, 7468, 0x23e81ab8
-1, 499984, 1872, 0x1dceccc6
-0, 500400, 4172, 0x253cd05b
-1, 503380, 1872, 0x2bbad2a5
-0, 504000, 8188, 0x7ede743f
-1, 506776, 1872, 0xc603d44d
-0, 507600, 2884, 0x2dec55a3
-1, 510171, 1872, 0x1b4cc261
-0, 511200, 3900, 0xd0666a18
-1, 513567, 1872, 0x10edd6cf
-0, 514800, 2996, 0x9cc99b8c
-1, 516963, 2376, 0xecdb9d61
-0, 518400, 2156, 0xae612776
-1, 521273, 2592, 0x5559eced
-0, 522000, 3988, 0x0d2c9992
-0, 525600, 1512, 0x6281fc00
-1, 525976, 2592, 0x8848dfc7
-0, 529200, 6544, 0xb75c2562
-1, 530678, 2592, 0x4ca2d7da
-0, 532800, 4108, 0xfb21efc9
-1, 535380, 2592, 0x285fd7e6
-0, 536400, 1096, 0x85922a37
-0, 540000, 9740, 0xe57d7647
-1, 540082, 2592, 0x2717e404
-0, 543600, 416, 0x61c2ea02
-1, 544784, 2592, 0xf106111a
-0, 547200, 336, 0x1dc5ac1c
-1, 549486, 2592, 0xd7d01119
-0, 550800, 204, 0x16f57017
-1, 554188, 2592, 0x550cfeda
-0, 554400, 112, 0x78374234
-0, 558000, 40, 0x6cb21985
-1, 558890, 2592, 0x47ad00c4
-1, 563592, 2592, 0x39bbf306
-1, 568294, 3240, 0x69addfce
-1, 574171, 21384, 0x254f63e0
-1, 612963, 21456, 0x2f7a9859
-0, 615600, 14420, 0x53324ca4
-0, 619200, 40, 0x10971420
-1, 651886, 37512, 0x6e962928
-1, 719935, 2736, 0x1dc91c69
-0, 720000, 24904, 0x15574f7e
-1, 724898, 2736, 0x023434fd
-1, 729861, 2736, 0x906f1541
-0, 734400, 1908, 0xccb2dd3c
-1, 734824, 2736, 0x85a31102
-0, 738000, 4676, 0xbfa42b7e
-1, 739788, 3024, 0x9296a5f3
-0, 741600, 3600, 0x87c9dc58
-0, 745200, 8184, 0x504a8e65
-1, 745273, 1944, 0x7bf4dedc
-0, 748800, 9636, 0x2efb3006
-1, 748800, 1944, 0x4196c404
-1, 752327, 1944, 0xcda97c7a
-0, 752400, 9580, 0x0fb6f4e8
-1, 755853, 1944, 0x5f4922b2
-0, 756000, 7840, 0xe996f564
-1, 759380, 2088, 0x37dfc157
-0, 759600, 4208, 0xe9c2fba2
-0, 763200, 556, 0x3f1e077c
+#tb 0: 1/1000
+#tb 1: 16/11025
+0, 0, 0, 0, 1508, 0xefceba48
+1, 0, 0, 83, 5976, 0xfa2c2db9
+1, 83, 83, 83, 5976, 0x256b935c
+1, 166, 166, 83, 5976, 0xa78a9563
+1, 249, 249, 83, 5976, 0x4ea056f4
+1, 332, 332, 83, 5976, 0xda772d8d
+1, 415, 415, 83, 5976, 0xafacf7c9
+0, 640, 640, 0, 108, 0x06713c96
+0, 680, 680, 0, 952, 0xd306df7e
+0, 720, 720, 0, 2312, 0xaf316585
+1, 498, 498, 83, 5976, 0xdeb003f4
+0, 760, 760, 0, 3872, 0xfc1c527c
+0, 800, 800, 0, 20, 0xaffc0edd
+0, 840, 840, 0, 6600, 0xe1b66c7f
+1, 581, 581, 28, 2016, 0xa7380d36
+0, 880, 880, 0, 6868, 0xd5b3f631
+1, 609, 609, 28, 2016, 0xbc090bac
+0, 920, 920, 0, 8420, 0xf70ee33b
+1, 637, 637, 28, 2016, 0x6f8c164c
+0, 960, 960, 0, 13144, 0x9a54ef39
+1, 665, 665, 28, 2016, 0x13b80e28
+0, 1000, 1000, 0, 6340, 0xe55bf555
+1, 693, 693, 28, 2016, 0xd40ff863
+0, 1040, 1040, 0, 3736, 0x0b23f89f
+1, 721, 721, 28, 2016, 0x4d530ed7
+0, 1080, 1080, 0, 2624, 0x79e2e451
+1, 749, 749, 30, 2160, 0x0fbc37eb
+0, 1120, 1120, 0, 1860, 0x63886f11
+1, 779, 779, 192, 13824, 0x82fb2602
+0, 1160, 1160, 0, 1244, 0x74594601
+0, 1200, 1200, 0, 564, 0xf4561dfb
+0, 1240, 1240, 0, 80, 0xbf8e2e30
+0, 1280, 1280, 0, 20, 0xa0990c29
+1, 971, 971, 192, 13824, 0x08771caf
+1, 1163, 1163, 192, 13824, 0xdf7d4a65
+1, 1355, 1355, 193, 13896, 0x24bf3f47
+1, 1548, 1548, 50, 3600, 0x9ad26b9f
+1, 1598, 1598, 50, 3600, 0x8c666fd6
+1, 1648, 1648, 50, 3600, 0x305c6ca1
+1, 1698, 1698, 50, 3600, 0x48b04e1e
+0, 2480, 2480, 0, 104, 0x12413980
+0, 2520, 2520, 0, 796, 0x2e698ed3
+1, 1748, 1748, 50, 3600, 0x8c915935
+0, 2560, 2560, 0, 1808, 0x8b3e6e5e
+0, 2600, 2600, 0, 4712, 0xdbd51737
+1, 1798, 1798, 50, 3600, 0xa8f45e01
+0, 2640, 2640, 0, 5548, 0xee9c831c
+0, 2680, 2680, 0, 6152, 0x9c18ccc1
+1, 1848, 1848, 53, 3816, 0xc64cc5ed
+0, 2720, 2720, 0, 6452, 0x7860462a
+1, 1901, 1901, 27, 1944, 0x0ac2e3f1
+0, 2760, 2760, 0, 6676, 0xe1b1c9e4
+1, 1928, 1928, 27, 1944, 0x2197dccd
+0, 2800, 2800, 0, 10904, 0x0bded7b7
+1, 1955, 1955, 27, 1944, 0x0c02e77f
+0, 2840, 2840, 0, 12844, 0xe6d16cff
+1, 1982, 1982, 27, 1944, 0x675ee06a
+0, 2880, 2880, 0, 10920, 0xe114c46b
+1, 2009, 2009, 30, 2160, 0x0d803a8b
+0, 2920, 2920, 0, 5952, 0xb7464634
+1, 2039, 2039, 93, 6696, 0xa7a0dfea
+0, 2960, 2960, 0, 4732, 0x2fa2e36d
+0, 3000, 3000, 0, 2592, 0xf54ddd57
+0, 3040, 3040, 0, 1516, 0x4a1cd4d5
+0, 3080, 3080, 0, 864, 0x49889afc
+1, 2132, 2132, 93, 6696, 0x59aa3145
+0, 3120, 3120, 0, 468, 0x3932e6a4
+0, 3160, 3160, 0, 116, 0x2b8341e6
+0, 3200, 3200, 0, 16, 0x6a3109cf
+1, 2225, 2225, 93, 6696, 0x69be4d78
+1, 2318, 2318, 93, 6696, 0x64064c67
+1, 2411, 2411, 93, 6696, 0xc8536f98
+1, 2504, 2504, 93, 6696, 0xc0ce5199
+1, 2597, 2597, 94, 6768, 0x3b275c58
+1, 2691, 2691, 123, 8856, 0x90e5b37c
+0, 4000, 4000, 0, 1508, 0xefceba48
+1, 2814, 2814, 123, 8856, 0x86b33366
+1, 2937, 2937, 123, 8856, 0x19e18797
+1, 3060, 3060, 123, 8856, 0x0a0c7fbd
+1, 3183, 3183, 124, 8928, 0x4a9b2d42
+0, 4640, 4640, 0, 100, 0x45023894
+0, 4680, 4680, 0, 948, 0xa65ed345
+0, 4720, 4720, 0, 2808, 0xd7285746
+0, 4760, 4760, 40, 5372, 0x05794175
+1, 3307, 3307, 21, 1512, 0xed8b3f4b
+0, 4800, 4800, 40, 11596, 0x8636eca7
+1, 3328, 3328, 21, 1512, 0xa27d3891
+0, 4840, 4840, 40, 11524, 0xe1f39be3
+1, 3349, 3349, 21, 1512, 0xb0f13eb6
+0, 4880, 4880, 40, 23392, 0xab053f05
+1, 3370, 3370, 23, 1656, 0xe5a98324
+0, 4920, 4920, 40, 4560, 0x03197d07
+1, 3393, 3393, 31, 2232, 0x15445433
+0, 4960, 4960, 40, 4440, 0x1cc361a2
+1, 3424, 3424, 31, 2232, 0x5cb348a9
+0, 5000, 5000, 40, 23688, 0x16030634
+1, 3455, 3455, 31, 2232, 0xf10347da
+0, 5040, 5040, 40, 16132, 0xf0eca799
+1, 3486, 3486, 34, 2448, 0x3e16a175
+0, 5080, 5080, 40, 29896, 0x0c0988ea
+1, 3520, 3520, 35, 2520, 0x17e3ca2b
+0, 5120, 5120, 40, 19956, 0x0093aa0b
+1, 3555, 3555, 27, 1944, 0x35c2de84
+0, 5160, 5160, 40, 16392, 0x8829a9ca
+1, 3582, 3582, 27, 1944, 0x55b4db40
+0, 5200, 5200, 40, 16772, 0x9a4a546d
+1, 3609, 3609, 29, 2088, 0xdaae14b2
+0, 5240, 5240, 40, 8920, 0xcd8ca203
+1, 3638, 3638, 27, 1944, 0x92ccd37f
+0, 5280, 5280, 40, 9632, 0x53c1d37b
+1, 3665, 3665, 27, 1944, 0x70efede1
+0, 5320, 5320, 40, 8976, 0xfe4da2cc
+1, 3692, 3692, 27, 1944, 0x7601d304
+0, 5360, 5360, 40, 6680, 0x35348fe0
+1, 3719, 3719, 27, 1944, 0x3922ebc2
+0, 5400, 5400, 40, 9228, 0xcbf62b0c
+1, 3746, 3746, 30, 2160, 0xde462f2e
+0, 5440, 5440, 40, 5108, 0xd1d88511
+1, 3776, 3776, 26, 1872, 0x467ac1d2
+0, 5480, 5480, 40, 10016, 0xaff4b2b2
+1, 3802, 3802, 26, 1872, 0xa1e4cd43
+0, 5520, 5520, 40, 7468, 0x23e81ab8
+1, 3828, 3828, 26, 1872, 0x1dceccc6
+0, 5560, 5560, 40, 4172, 0x253cd05b
+1, 3854, 3854, 26, 1872, 0x2bbad2a5
+0, 5600, 5600, 40, 8188, 0x7ede743f
+1, 3880, 3880, 26, 1872, 0xc603d44d
+0, 5640, 5640, 40, 2884, 0x2dec55a3
+1, 3906, 3906, 26, 1872, 0x1b4cc261
+0, 5680, 5680, 40, 3900, 0xd0666a18
+1, 3932, 3932, 26, 1872, 0x10edd6cf
+0, 5720, 5720, 40, 2996, 0x9cc99b8c
+1, 3958, 3958, 33, 2376, 0xecdb9d61
+0, 5760, 5760, 40, 2156, 0xae612776
+1, 3991, 3991, 36, 2592, 0x5559eced
+0, 5800, 5800, 40, 3988, 0x0d2c9992
+0, 5840, 5840, 40, 1512, 0x6281fc00
+1, 4027, 4027, 36, 2592, 0x8848dfc7
+0, 5880, 5880, 40, 6544, 0xb75c2562
+1, 4063, 4063, 36, 2592, 0x4ca2d7da
+0, 5920, 5920, 40, 4108, 0xfb21efc9
+1, 4099, 4099, 36, 2592, 0x285fd7e6
+0, 5960, 5960, 40, 1096, 0x85922a37
+0, 6000, 6000, 40, 9740, 0xe57d7647
+1, 4135, 4135, 36, 2592, 0x2717e404
+0, 6040, 6040, 40, 416, 0x61c2ea02
+1, 4171, 4171, 36, 2592, 0xf106111a
+0, 6080, 6080, 40, 336, 0x1dc5ac1c
+1, 4207, 4207, 36, 2592, 0xd7d01119
+0, 6120, 6120, 40, 204, 0x16f57017
+1, 4243, 4243, 36, 2592, 0x550cfeda
+0, 6160, 6160, 40, 112, 0x78374234
+0, 6200, 6200, 40, 40, 0x6cb21985
+1, 4279, 4279, 36, 2592, 0x47ad00c4
+1, 4315, 4315, 36, 2592, 0x39bbf306
+1, 4351, 4351, 45, 3240, 0x69addfce
+1, 4396, 4396, 297, 21384, 0x254f63e0
+1, 4693, 4693, 298, 21456, 0x2f7a9859
+0, 6840, 6840, 40, 14420, 0x53324ca4
+0, 6880, 6880, 40, 40, 0x10971420
+1, 4991, 4991, 521, 37512, 0x6e962928
+1, 5512, 5512, 38, 2736, 0x1dc91c69
+0, 8000, 8000, 40, 24904, 0x15574f7e
+1, 5550, 5550, 38, 2736, 0x023434fd
+1, 5588, 5588, 38, 2736, 0x906f1541
+0, 8160, 8160, 40, 1908, 0xccb2dd3c
+1, 5626, 5626, 38, 2736, 0x85a31102
+0, 8200, 8200, 40, 4676, 0xbfa42b7e
+1, 5664, 5664, 42, 3024, 0x9296a5f3
+0, 8240, 8240, 40, 3600, 0x87c9dc58
+0, 8280, 8280, 40, 8184, 0x504a8e65
+1, 5706, 5706, 27, 1944, 0x7bf4dedc
+0, 8320, 8320, 40, 9636, 0x2efb3006
+1, 5733, 5733, 27, 1944, 0x4196c404
+1, 5760, 5760, 27, 1944, 0xcda97c7a
+0, 8360, 8360, 40, 9580, 0x0fb6f4e8
+1, 5787, 5787, 27, 1944, 0x5f4922b2
+0, 8400, 8400, 40, 7840, 0xe996f564
+1, 5814, 5814, 29, 2088, 0x37dfc157
+0, 8440, 8440, 40, 4208, 0xe9c2fba2
+0, 8480, 8480, 40, 556, 0x3f1e077c
diff --git a/tests/ref/fate/xxan-wc4 b/tests/ref/fate/xxan-wc4
index 7fede0afc6..34857bfd26 100644
--- a/tests/ref/fate/xxan-wc4
+++ b/tests/ref/fate/xxan-wc4
@@ -1,21 +1,22 @@
-0, 0, 79360, 0x3b0a7d1b
-0, 6000, 79360, 0x740842c3
-0, 12000, 79360, 0x85160167
-0, 18000, 79360, 0xaf510e92
-0, 24000, 79360, 0x8e290bec
-0, 30000, 79360, 0x51e981b0
-0, 36000, 79360, 0x16e52c60
-0, 42000, 79360, 0x66e1e60a
-0, 48000, 79360, 0x40fa58f6
-0, 54000, 79360, 0x00388edd
-0, 60000, 79360, 0xc74f95bf
-0, 66000, 79360, 0xf446a3fd
-0, 72000, 79360, 0x27b5eb60
-0, 78000, 79360, 0xea9266a2
-0, 84000, 79360, 0x7b6a7907
-0, 90000, 79360, 0x2be7d946
-0, 96000, 79360, 0x61881ee4
-0, 102000, 79360, 0x9214bd4f
-0, 108000, 79360, 0xeb294afe
-0, 114000, 79360, 0xc861ad55
-0, 120000, 79360, 0x3d3b6220
+#tb 0: 1/15
+0, 0, 0, 1, 79360, 0x3b0a7d1b
+0, 1, 1, 1, 79360, 0x740842c3
+0, 2, 2, 1, 79360, 0x85160167
+0, 3, 3, 1, 79360, 0xaf510e92
+0, 4, 4, 1, 79360, 0x8e290bec
+0, 5, 5, 1, 79360, 0x51e981b0
+0, 6, 6, 1, 79360, 0x16e52c60
+0, 7, 7, 1, 79360, 0x66e1e60a
+0, 8, 8, 1, 79360, 0x40fa58f6
+0, 9, 9, 1, 79360, 0x00388edd
+0, 10, 10, 1, 79360, 0xc74f95bf
+0, 11, 11, 1, 79360, 0xf446a3fd
+0, 12, 12, 1, 79360, 0x27b5eb60
+0, 13, 13, 1, 79360, 0xea9266a2
+0, 14, 14, 1, 79360, 0x7b6a7907
+0, 15, 15, 1, 79360, 0x2be7d946
+0, 16, 16, 1, 79360, 0x61881ee4
+0, 17, 17, 1, 79360, 0x9214bd4f
+0, 18, 18, 1, 79360, 0xeb294afe
+0, 19, 19, 1, 79360, 0xc861ad55
+0, 20, 20, 1, 79360, 0x3d3b6220
diff --git a/tests/ref/fate/yop b/tests/ref/fate/yop
index 782fd471c9..5629825688 100644
--- a/tests/ref/fate/yop
+++ b/tests/ref/fate/yop
@@ -1,7 +1,8 @@
-0, 0, 302760, 0x78939253
-0, 7500, 302760, 0x534f5253
-0, 15000, 302760, 0xe991aa82
-0, 22500, 302760, 0xc34b20bd
-0, 30000, 302760, 0x461d29a1
-0, 37500, 302760, 0x45abca02
-0, 45000, 302760, 0xb05448b9
+#tb 0: 1/12
+0, 0, 0, 1, 302760, 0x78939253
+0, 1, 1, 1, 302760, 0x534f5253
+0, 2, 2, 1, 302760, 0xe991aa82
+0, 3, 3, 1, 302760, 0xc34b20bd
+0, 4, 4, 1, 302760, 0x461d29a1
+0, 5, 5, 1, 302760, 0x45abca02
+0, 6, 6, 1, 302760, 0xb05448b9
diff --git a/tests/ref/fate/zlib b/tests/ref/fate/zlib
index ba6221fcf7..4ff76ffbac 100644
--- a/tests/ref/fate/zlib
+++ b/tests/ref/fate/zlib
@@ -1 +1,2 @@
-0, 0, 253440, 0x94af61e5
+#tb 0: 100/2997
+0, 0, 0, 1, 253440, 0x94af61e5
diff --git a/tests/ref/fate/zmbv-15bit b/tests/ref/fate/zmbv-15bit
index 527c1e6b60..f054a9d781 100644
--- a/tests/ref/fate/zmbv-15bit
+++ b/tests/ref/fate/zmbv-15bit
@@ -1,159 +1,160 @@
-0, 0, 192000, 0xe1d317d6
-0, 14193, 192000, 0xe100109d
-0, 28385, 192000, 0xecc69c65
-0, 42578, 192000, 0x68f06324
-0, 56770, 192000, 0x68f06324
-0, 70963, 192000, 0x68f06324
-0, 85155, 192000, 0x68f06324
-0, 99348, 192000, 0x68f06324
-0, 113540, 192000, 0x68f06324
-0, 127733, 192000, 0x68f06324
-0, 141925, 192000, 0x68f06324
-0, 156118, 192000, 0x68f06324
-0, 170310, 192000, 0x68f06324
-0, 184503, 192000, 0x68f06324
-0, 198695, 192000, 0x68f06324
-0, 212888, 192000, 0x68f06324
-0, 227080, 192000, 0x68f06324
-0, 241273, 192000, 0x4c03d2e3
-0, 255466, 192000, 0x4c03d2e3
-0, 269658, 192000, 0x4c03d2e3
-0, 283851, 192000, 0x4c03d2e3
-0, 298043, 192000, 0xb562cf68
-0, 312236, 192000, 0xb562cf68
-0, 326428, 192000, 0xb562cf68
-0, 340621, 192000, 0xb562cf68
-0, 354813, 192000, 0xb562cf68
-0, 369006, 192000, 0x0e5e03c7
-0, 383198, 192000, 0x0e5e03c7
-0, 397391, 192000, 0x0e5e03c7
-0, 411583, 192000, 0x0e5e03c7
-0, 425776, 192000, 0xeb2e0f67
-0, 439968, 192000, 0xeb2e0f67
-0, 454161, 192000, 0xeb2e0f67
-0, 468353, 192000, 0xeb2e0f67
-0, 482546, 192000, 0xeb2e0f67
-0, 496739, 192000, 0xdce603c7
-0, 510931, 192000, 0xdce603c7
-0, 525124, 192000, 0xdce603c7
-0, 539316, 192000, 0xdce603c7
-0, 553509, 192000, 0xa8e7db08
-0, 567701, 192000, 0xa8e7db08
-0, 581894, 192000, 0xa8e7db08
-0, 596086, 192000, 0xa8e7db08
-0, 610279, 192000, 0xa8e7db08
-0, 624471, 192000, 0x322a1b07
-0, 638664, 192000, 0x322a1b07
-0, 652856, 192000, 0x322a1b07
-0, 667049, 192000, 0x322a1b07
-0, 681241, 192000, 0x743206af
-0, 695434, 192000, 0x743206af
-0, 709627, 192000, 0x743206af
-0, 723819, 192000, 0x743206af
-0, 738012, 192000, 0x743206af
-0, 752204, 192000, 0x50195ddf
-0, 766397, 192000, 0x50195ddf
-0, 780589, 192000, 0x50195ddf
-0, 794782, 192000, 0x50195ddf
-0, 808974, 192000, 0xd31620d7
-0, 823167, 192000, 0xd31620d7
-0, 837359, 192000, 0xd31620d7
-0, 851552, 192000, 0xd31620d7
-0, 865744, 192000, 0xd31620d7
-0, 879937, 192000, 0x3af023bf
-0, 894129, 192000, 0x3af023bf
-0, 908322, 192000, 0x3af023bf
-0, 922514, 192000, 0x3af023bf
-0, 936707, 192000, 0x561a124f
-0, 950900, 192000, 0x561a124f
-0, 965092, 192000, 0x561a124f
-0, 979285, 192000, 0x561a124f
-0, 993477, 192000, 0x561a124f
-0, 1007670, 192000, 0x99210c7f
-0, 1021862, 192000, 0x99210c7f
-0, 1036055, 192000, 0x99210c7f
-0, 1050247, 192000, 0x99210c7f
-0, 1064440, 192000, 0xc77b03c7
-0, 1078632, 192000, 0xc77b03c7
-0, 1092825, 192000, 0xc77b03c7
-0, 1107017, 192000, 0xc77b03c7
-0, 1121210, 192000, 0xc77b03c7
-0, 1135402, 192000, 0x83ea7550
-0, 1149595, 192000, 0xec285270
-0, 1163787, 192000, 0x0e075558
-0, 1177980, 192000, 0x880c2108
-0, 1192173, 192000, 0x40c523f0
-0, 1206365, 192000, 0x01378f78
-0, 1220558, 192000, 0x42045558
-0, 1234750, 192000, 0xde8f3278
-0, 1248943, 192000, 0xa58c0110
-0, 1263135, 192000, 0x335ea9d1
-0, 1277328, 192000, 0x7e94bb41
-0, 1291520, 192000, 0x9cc5d569
-0, 1305713, 192000, 0xe942e109
-0, 1319905, 192000, 0x4cb83848
-0, 1334098, 192000, 0x6986fe19
-0, 1348290, 192000, 0xbb8c23f0
-0, 1362483, 192000, 0x296766c8
-0, 1376675, 192000, 0xb4230cb0
-0, 1390868, 192000, 0x2c2f1850
-0, 1405060, 192000, 0x93c70110
-0, 1419253, 192000, 0xb830a9d1
-0, 1433446, 192000, 0xbed48fa9
-0, 1447638, 192000, 0xc087bb41
-0, 1461831, 192000, 0x792de6d9
-0, 1476023, 192000, 0x1edaf849
-0, 1490216, 192000, 0x6564bb41
-0, 1504408, 192000, 0x9153d569
-0, 1518601, 192000, 0xe73ff561
-0, 1532793, 192000, 0xfa3be3f1
-0, 1546986, 192000, 0x8008fe19
-0, 1561178, 192000, 0xd2561b38
-0, 1575371, 192000, 0xae3c26d8
-0, 1589563, 192000, 0xb0114f88
-0, 1603756, 192000, 0x117e1e20
-0, 1617948, 192000, 0x482d1280
-0, 1632141, 192000, 0x425106e0
-0, 1646334, 192000, 0x0e6b0cb0
-0, 1660526, 192000, 0x95dc2ca8
-0, 1674719, 192000, 0x52097b20
-0, 1688911, 192000, 0x41a84f88
-0, 1703104, 192000, 0xb78d7268
-0, 1717296, 192000, 0x2cd366c8
-0, 1731489, 192000, 0xbf39e109
-0, 1745681, 192000, 0xecbaeca9
-0, 1759874, 192000, 0x3254eca9
-0, 1774066, 192000, 0x3fc903f8
-0, 1788259, 192000, 0x0bbc5e10
-0, 1802451, 192000, 0xe9103560
-0, 1816644, 192000, 0xbd5d2f90
-0, 1830836, 192000, 0x7ace2ca8
-0, 1845029, 192000, 0x7354c6e1
-0, 1859221, 192000, 0x72e0d569
-0, 1873414, 192000, 0xa4ade3f1
-0, 1887607, 192000, 0xf2f8cf99
-0, 1901799, 192000, 0x2b7ee6d9
-0, 1915992, 192000, 0x548d1b38
-0, 1930184, 192000, 0xa1551b38
-0, 1944377, 192000, 0xfb3e3560
-0, 1958569, 192000, 0x3aaaccb1
-0, 1972762, 192000, 0xa85ee109
-0, 1986954, 192000, 0xc1bff849
-0, 2001147, 192000, 0xa62bef91
-0, 2015339, 192000, 0xddf40cb0
-0, 2029532, 192000, 0x15bb3e18
-0, 2043724, 192000, 0x92fd5558
-0, 2057917, 192000, 0x2d365270
-0, 2072109, 192000, 0xb5f343e8
-0, 2086302, 192000, 0x93042108
-0, 2100494, 192000, 0x96d59830
-0, 2114687, 192000, 0x1f69ddf0
-0, 2128880, 192000, 0x8eb0124f
-0, 2143072, 192000, 0xae727dd7
-0, 2157265, 192000, 0xb8a63aff
-0, 2171457, 192000, 0xfae83de7
-0, 2185650, 192000, 0x2f034987
-0, 2199842, 192000, 0xa99e1537
-0, 2214035, 192000, 0x0ad70c7f
-0, 2228227, 192000, 0x74b3e990
-0, 2242420, 192000, 0x1bf0d250
+#tb 0: 250000/1585341
+0, 0, 0, 1, 192000, 0xe1d317d6
+0, 1, 1, 1, 192000, 0xe100109d
+0, 2, 2, 1, 192000, 0xecc69c65
+0, 3, 3, 1, 192000, 0x68f06324
+0, 4, 4, 1, 192000, 0x68f06324
+0, 5, 5, 1, 192000, 0x68f06324
+0, 6, 6, 1, 192000, 0x68f06324
+0, 7, 7, 1, 192000, 0x68f06324
+0, 8, 8, 1, 192000, 0x68f06324
+0, 9, 9, 1, 192000, 0x68f06324
+0, 10, 10, 1, 192000, 0x68f06324
+0, 11, 11, 1, 192000, 0x68f06324
+0, 12, 12, 1, 192000, 0x68f06324
+0, 13, 13, 1, 192000, 0x68f06324
+0, 14, 14, 1, 192000, 0x68f06324
+0, 15, 15, 1, 192000, 0x68f06324
+0, 16, 16, 1, 192000, 0x68f06324
+0, 17, 17, 1, 192000, 0x4c03d2e3
+0, 18, 18, 1, 192000, 0x4c03d2e3
+0, 19, 19, 1, 192000, 0x4c03d2e3
+0, 20, 20, 1, 192000, 0x4c03d2e3
+0, 21, 21, 1, 192000, 0xb562cf68
+0, 22, 22, 1, 192000, 0xb562cf68
+0, 23, 23, 1, 192000, 0xb562cf68
+0, 24, 24, 1, 192000, 0xb562cf68
+0, 25, 25, 1, 192000, 0xb562cf68
+0, 26, 26, 1, 192000, 0x0e5e03c7
+0, 27, 27, 1, 192000, 0x0e5e03c7
+0, 28, 28, 1, 192000, 0x0e5e03c7
+0, 29, 29, 1, 192000, 0x0e5e03c7
+0, 30, 30, 1, 192000, 0xeb2e0f67
+0, 31, 31, 1, 192000, 0xeb2e0f67
+0, 32, 32, 1, 192000, 0xeb2e0f67
+0, 33, 33, 1, 192000, 0xeb2e0f67
+0, 34, 34, 1, 192000, 0xeb2e0f67
+0, 35, 35, 1, 192000, 0xdce603c7
+0, 36, 36, 1, 192000, 0xdce603c7
+0, 37, 37, 1, 192000, 0xdce603c7
+0, 38, 38, 1, 192000, 0xdce603c7
+0, 39, 39, 1, 192000, 0xa8e7db08
+0, 40, 40, 1, 192000, 0xa8e7db08
+0, 41, 41, 1, 192000, 0xa8e7db08
+0, 42, 42, 1, 192000, 0xa8e7db08
+0, 43, 43, 1, 192000, 0xa8e7db08
+0, 44, 44, 1, 192000, 0x322a1b07
+0, 45, 45, 1, 192000, 0x322a1b07
+0, 46, 46, 1, 192000, 0x322a1b07
+0, 47, 47, 1, 192000, 0x322a1b07
+0, 48, 48, 1, 192000, 0x743206af
+0, 49, 49, 1, 192000, 0x743206af
+0, 50, 50, 1, 192000, 0x743206af
+0, 51, 51, 1, 192000, 0x743206af
+0, 52, 52, 1, 192000, 0x743206af
+0, 53, 53, 1, 192000, 0x50195ddf
+0, 54, 54, 1, 192000, 0x50195ddf
+0, 55, 55, 1, 192000, 0x50195ddf
+0, 56, 56, 1, 192000, 0x50195ddf
+0, 57, 57, 1, 192000, 0xd31620d7
+0, 58, 58, 1, 192000, 0xd31620d7
+0, 59, 59, 1, 192000, 0xd31620d7
+0, 60, 60, 1, 192000, 0xd31620d7
+0, 61, 61, 1, 192000, 0xd31620d7
+0, 62, 62, 1, 192000, 0x3af023bf
+0, 63, 63, 1, 192000, 0x3af023bf
+0, 64, 64, 1, 192000, 0x3af023bf
+0, 65, 65, 1, 192000, 0x3af023bf
+0, 66, 66, 1, 192000, 0x561a124f
+0, 67, 67, 1, 192000, 0x561a124f
+0, 68, 68, 1, 192000, 0x561a124f
+0, 69, 69, 1, 192000, 0x561a124f
+0, 70, 70, 1, 192000, 0x561a124f
+0, 71, 71, 1, 192000, 0x99210c7f
+0, 72, 72, 1, 192000, 0x99210c7f
+0, 73, 73, 1, 192000, 0x99210c7f
+0, 74, 74, 1, 192000, 0x99210c7f
+0, 75, 75, 1, 192000, 0xc77b03c7
+0, 76, 76, 1, 192000, 0xc77b03c7
+0, 77, 77, 1, 192000, 0xc77b03c7
+0, 78, 78, 1, 192000, 0xc77b03c7
+0, 79, 79, 1, 192000, 0xc77b03c7
+0, 80, 80, 1, 192000, 0x83ea7550
+0, 81, 81, 1, 192000, 0xec285270
+0, 82, 82, 1, 192000, 0x0e075558
+0, 83, 83, 1, 192000, 0x880c2108
+0, 84, 84, 1, 192000, 0x40c523f0
+0, 85, 85, 1, 192000, 0x01378f78
+0, 86, 86, 1, 192000, 0x42045558
+0, 87, 87, 1, 192000, 0xde8f3278
+0, 88, 88, 1, 192000, 0xa58c0110
+0, 89, 89, 1, 192000, 0x335ea9d1
+0, 90, 90, 1, 192000, 0x7e94bb41
+0, 91, 91, 1, 192000, 0x9cc5d569
+0, 92, 92, 1, 192000, 0xe942e109
+0, 93, 93, 1, 192000, 0x4cb83848
+0, 94, 94, 1, 192000, 0x6986fe19
+0, 95, 95, 1, 192000, 0xbb8c23f0
+0, 96, 96, 1, 192000, 0x296766c8
+0, 97, 97, 1, 192000, 0xb4230cb0
+0, 98, 98, 1, 192000, 0x2c2f1850
+0, 99, 99, 1, 192000, 0x93c70110
+0, 100, 100, 1, 192000, 0xb830a9d1
+0, 101, 101, 1, 192000, 0xbed48fa9
+0, 102, 102, 1, 192000, 0xc087bb41
+0, 103, 103, 1, 192000, 0x792de6d9
+0, 104, 104, 1, 192000, 0x1edaf849
+0, 105, 105, 1, 192000, 0x6564bb41
+0, 106, 106, 1, 192000, 0x9153d569
+0, 107, 107, 1, 192000, 0xe73ff561
+0, 108, 108, 1, 192000, 0xfa3be3f1
+0, 109, 109, 1, 192000, 0x8008fe19
+0, 110, 110, 1, 192000, 0xd2561b38
+0, 111, 111, 1, 192000, 0xae3c26d8
+0, 112, 112, 1, 192000, 0xb0114f88
+0, 113, 113, 1, 192000, 0x117e1e20
+0, 114, 114, 1, 192000, 0x482d1280
+0, 115, 115, 1, 192000, 0x425106e0
+0, 116, 116, 1, 192000, 0x0e6b0cb0
+0, 117, 117, 1, 192000, 0x95dc2ca8
+0, 118, 118, 1, 192000, 0x52097b20
+0, 119, 119, 1, 192000, 0x41a84f88
+0, 120, 120, 1, 192000, 0xb78d7268
+0, 121, 121, 1, 192000, 0x2cd366c8
+0, 122, 122, 1, 192000, 0xbf39e109
+0, 123, 123, 1, 192000, 0xecbaeca9
+0, 124, 124, 1, 192000, 0x3254eca9
+0, 125, 125, 1, 192000, 0x3fc903f8
+0, 126, 126, 1, 192000, 0x0bbc5e10
+0, 127, 127, 1, 192000, 0xe9103560
+0, 128, 128, 1, 192000, 0xbd5d2f90
+0, 129, 129, 1, 192000, 0x7ace2ca8
+0, 130, 130, 1, 192000, 0x7354c6e1
+0, 131, 131, 1, 192000, 0x72e0d569
+0, 132, 132, 1, 192000, 0xa4ade3f1
+0, 133, 133, 1, 192000, 0xf2f8cf99
+0, 134, 134, 1, 192000, 0x2b7ee6d9
+0, 135, 135, 1, 192000, 0x548d1b38
+0, 136, 136, 1, 192000, 0xa1551b38
+0, 137, 137, 1, 192000, 0xfb3e3560
+0, 138, 138, 1, 192000, 0x3aaaccb1
+0, 139, 139, 1, 192000, 0xa85ee109
+0, 140, 140, 1, 192000, 0xc1bff849
+0, 141, 141, 1, 192000, 0xa62bef91
+0, 142, 142, 1, 192000, 0xddf40cb0
+0, 143, 143, 1, 192000, 0x15bb3e18
+0, 144, 144, 1, 192000, 0x92fd5558
+0, 145, 145, 1, 192000, 0x2d365270
+0, 146, 146, 1, 192000, 0xb5f343e8
+0, 147, 147, 1, 192000, 0x93042108
+0, 148, 148, 1, 192000, 0x96d59830
+0, 149, 149, 1, 192000, 0x1f69ddf0
+0, 150, 150, 1, 192000, 0x8eb0124f
+0, 151, 151, 1, 192000, 0xae727dd7
+0, 152, 152, 1, 192000, 0xb8a63aff
+0, 153, 153, 1, 192000, 0xfae83de7
+0, 154, 154, 1, 192000, 0x2f034987
+0, 155, 155, 1, 192000, 0xa99e1537
+0, 156, 156, 1, 192000, 0x0ad70c7f
+0, 157, 157, 1, 192000, 0x74b3e990
+0, 158, 158, 1, 192000, 0x1bf0d250
diff --git a/tests/ref/fate/zmbv-16bit b/tests/ref/fate/zmbv-16bit
index ef37d44f65..b0c3df5513 100644
--- a/tests/ref/fate/zmbv-16bit
+++ b/tests/ref/fate/zmbv-16bit
@@ -1,159 +1,160 @@
-0, 0, 192000, 0x11e62dbe
-0, 14193, 192000, 0x31698b8f
-0, 28385, 192000, 0x31698b8f
-0, 42578, 192000, 0x31698b8f
-0, 56770, 192000, 0x31698b8f
-0, 70963, 192000, 0x31698b8f
-0, 85155, 192000, 0x31698b8f
-0, 99348, 192000, 0x31698b8f
-0, 113540, 192000, 0x31698b8f
-0, 127733, 192000, 0x31698b8f
-0, 141925, 192000, 0x31698b8f
-0, 156118, 192000, 0x31698b8f
-0, 170310, 192000, 0x31698b8f
-0, 184503, 192000, 0x4ca609ea
-0, 198695, 192000, 0x4ca609ea
-0, 212888, 192000, 0x4ca609ea
-0, 227080, 192000, 0x4ca609ea
-0, 241273, 192000, 0x33dd0a8b
-0, 255466, 192000, 0x33dd0a8b
-0, 269658, 192000, 0x33dd0a8b
-0, 283851, 192000, 0x33dd0a8b
-0, 298043, 192000, 0x33dd0a8b
-0, 312236, 192000, 0x08e2420f
-0, 326428, 192000, 0x08e2420f
-0, 340621, 192000, 0x08e2420f
-0, 354813, 192000, 0x08e2420f
-0, 369006, 192000, 0x7b7b50ab
-0, 383198, 192000, 0x7b7b50ab
-0, 397391, 192000, 0x7b7b50ab
-0, 411583, 192000, 0x7b7b50ab
-0, 425776, 192000, 0x7b7b50ab
-0, 439968, 192000, 0x128744fb
-0, 454161, 192000, 0x128744fb
-0, 468353, 192000, 0x128744fb
-0, 482546, 192000, 0x128744fb
-0, 496739, 192000, 0x8643163b
-0, 510931, 192000, 0x8643163b
-0, 525124, 192000, 0x8643163b
-0, 539316, 192000, 0x8643163b
-0, 553509, 192000, 0x8643163b
-0, 567701, 192000, 0x4f7c596f
-0, 581894, 192000, 0x4f7c596f
-0, 596086, 192000, 0x4f7c596f
-0, 610279, 192000, 0x4f7c596f
-0, 624471, 192000, 0xa275420f
-0, 638664, 192000, 0xa275420f
-0, 652856, 192000, 0xa275420f
-0, 667049, 192000, 0xa275420f
-0, 681241, 192000, 0xa275420f
-0, 695434, 192000, 0x2e4796cb
-0, 709627, 192000, 0x2e4796cb
-0, 723819, 192000, 0x2e4796cb
-0, 738012, 192000, 0x2e4796cb
-0, 752204, 192000, 0xebd45683
-0, 766397, 192000, 0xebd45683
-0, 780589, 192000, 0xebd45683
-0, 794782, 192000, 0xebd45683
-0, 808974, 192000, 0xebd45683
-0, 823167, 192000, 0x0bf6596f
-0, 837359, 192000, 0x0bf6596f
-0, 851552, 192000, 0x0bf6596f
-0, 865744, 192000, 0x0bf6596f
-0, 879937, 192000, 0xb7af47e7
-0, 894129, 192000, 0xb7af47e7
-0, 908322, 192000, 0xb7af47e7
-0, 922514, 192000, 0xb7af47e7
-0, 936707, 192000, 0xb7af47e7
-0, 950900, 192000, 0x8bc344fb
-0, 965092, 192000, 0x8bc344fb
-0, 979285, 192000, 0x8bc344fb
-0, 993477, 192000, 0x8bc344fb
-0, 1007670, 192000, 0x8bc344fb
-0, 1021862, 192000, 0x02a23f23
-0, 1036055, 192000, 0x02a23f23
-0, 1050247, 192000, 0x02a23f23
-0, 1064440, 192000, 0x02a23f23
-0, 1078632, 192000, 0x17be3087
-0, 1092825, 192000, 0x52c7b2d4
-0, 1107017, 192000, 0xa05e9888
-0, 1121210, 192000, 0x4d6a6cb4
-0, 1135402, 192000, 0x3e2189ec
-0, 1149595, 192000, 0xfbe3ca34
-0, 1163787, 192000, 0xa9cd8fc4
-0, 1177980, 192000, 0x986e6cb4
-0, 1192173, 192000, 0x42373b08
-0, 1206365, 192000, 0xab96e351
-0, 1220558, 192000, 0x28ccf4d9
-0, 1234750, 192000, 0xc19e0f34
-0, 1248943, 192000, 0xd8da1ae4
-0, 1263135, 192000, 0xd015728c
-0, 1277328, 192000, 0x550623a8
-0, 1291520, 192000, 0x3c5c5268
-0, 1305713, 192000, 0x3eae8128
-0, 1319905, 192000, 0x3c51381c
-0, 1334098, 192000, 0x745046b8
-0, 1348290, 192000, 0xa8bd43cc
-0, 1362483, 192000, 0xde8fe351
-0, 1376675, 192000, 0x3d5cc905
-0, 1390868, 192000, 0xcf8df4d9
-0, 1405060, 192000, 0x698b20bc
-0, 1419253, 192000, 0x159d3244
-0, 1433446, 192000, 0xba1af4d9
-0, 1447638, 192000, 0x033a0f34
-0, 1461831, 192000, 0x72612f58
-0, 1476023, 192000, 0x11e11dd0
-0, 1490216, 192000, 0x4fc04f7c
-0, 1504408, 192000, 0x37779888
-0, 1518601, 192000, 0xabfc5e18
-0, 1532793, 192000, 0x0ad97e3c
-0, 1546986, 192000, 0xddf492b0
-0, 1561178, 192000, 0x198b23a8
-0, 1575371, 192000, 0x6b491220
-0, 1589563, 192000, 0x632417f8
-0, 1603756, 192000, 0x0dc5381c
-0, 1617948, 192000, 0x6d548700
-0, 1632141, 192000, 0xae0c5b2c
-0, 1646334, 192000, 0x23427e3c
-0, 1660526, 192000, 0x5def728c
-0, 1674719, 192000, 0xec831ae4
-0, 1688911, 192000, 0x00000000
-0, 1703104, 192000, 0x00000000
-0, 1717296, 192000, 0x00000000
-0, 1731489, 192000, 0x00000000
-0, 1745681, 192000, 0x00000000
-0, 1759874, 192000, 0x00000000
-0, 1774066, 192000, 0x00000000
-0, 1788259, 192000, 0x00000000
-0, 1802451, 192000, 0x00000000
-0, 1816644, 192000, 0xd6050414
-0, 1830836, 192000, 0xf9f90594
-0, 1845029, 192000, 0xa6220704
-0, 1859221, 192000, 0x54570858
-0, 1873414, 192000, 0xd81109ac
-0, 1887607, 192000, 0xc0540afc
-0, 1901799, 192000, 0x83ee0c20
-0, 1915992, 192000, 0x2a810d3c
-0, 1930184, 192000, 0xb3a71844
-0, 1944377, 192000, 0xd4ff1c7c
-0, 1958569, 192000, 0x92b21fdc
-0, 1972762, 192000, 0x03912364
-0, 1986954, 192000, 0x65c9262c
-0, 2001147, 192000, 0xf2e5290c
-0, 2015339, 192000, 0xc8cc2b4c
-0, 2029532, 192000, 0x272a2f1c
-0, 2043724, 192000, 0xa672313c
-0, 2057917, 192000, 0xab01331c
-0, 2072109, 192000, 0x92643458
-0, 2086302, 192000, 0x9a943548
-0, 2100494, 192000, 0x3eb735ac
-0, 2114687, 192000, 0x3eb735ac
-0, 2128880, 192000, 0x3eb735ac
-0, 2143072, 192000, 0x3eb735ac
-0, 2157265, 192000, 0x3eb735ac
-0, 2171457, 192000, 0x3eb735ac
-0, 2185650, 192000, 0x3eb735ac
-0, 2199842, 192000, 0x3eb735ac
-0, 2214035, 192000, 0x3eb735ac
-0, 2228227, 192000, 0x3eb735ac
-0, 2242420, 192000, 0x3eb735ac
+#tb 0: 250000/1585341
+0, 0, 0, 1, 192000, 0x11e62dbe
+0, 1, 1, 1, 192000, 0x31698b8f
+0, 2, 2, 1, 192000, 0x31698b8f
+0, 3, 3, 1, 192000, 0x31698b8f
+0, 4, 4, 1, 192000, 0x31698b8f
+0, 5, 5, 1, 192000, 0x31698b8f
+0, 6, 6, 1, 192000, 0x31698b8f
+0, 7, 7, 1, 192000, 0x31698b8f
+0, 8, 8, 1, 192000, 0x31698b8f
+0, 9, 9, 1, 192000, 0x31698b8f
+0, 10, 10, 1, 192000, 0x31698b8f
+0, 11, 11, 1, 192000, 0x31698b8f
+0, 12, 12, 1, 192000, 0x31698b8f
+0, 13, 13, 1, 192000, 0x4ca609ea
+0, 14, 14, 1, 192000, 0x4ca609ea
+0, 15, 15, 1, 192000, 0x4ca609ea
+0, 16, 16, 1, 192000, 0x4ca609ea
+0, 17, 17, 1, 192000, 0x33dd0a8b
+0, 18, 18, 1, 192000, 0x33dd0a8b
+0, 19, 19, 1, 192000, 0x33dd0a8b
+0, 20, 20, 1, 192000, 0x33dd0a8b
+0, 21, 21, 1, 192000, 0x33dd0a8b
+0, 22, 22, 1, 192000, 0x08e2420f
+0, 23, 23, 1, 192000, 0x08e2420f
+0, 24, 24, 1, 192000, 0x08e2420f
+0, 25, 25, 1, 192000, 0x08e2420f
+0, 26, 26, 1, 192000, 0x7b7b50ab
+0, 27, 27, 1, 192000, 0x7b7b50ab
+0, 28, 28, 1, 192000, 0x7b7b50ab
+0, 29, 29, 1, 192000, 0x7b7b50ab
+0, 30, 30, 1, 192000, 0x7b7b50ab
+0, 31, 31, 1, 192000, 0x128744fb
+0, 32, 32, 1, 192000, 0x128744fb
+0, 33, 33, 1, 192000, 0x128744fb
+0, 34, 34, 1, 192000, 0x128744fb
+0, 35, 35, 1, 192000, 0x8643163b
+0, 36, 36, 1, 192000, 0x8643163b
+0, 37, 37, 1, 192000, 0x8643163b
+0, 38, 38, 1, 192000, 0x8643163b
+0, 39, 39, 1, 192000, 0x8643163b
+0, 40, 40, 1, 192000, 0x4f7c596f
+0, 41, 41, 1, 192000, 0x4f7c596f
+0, 42, 42, 1, 192000, 0x4f7c596f
+0, 43, 43, 1, 192000, 0x4f7c596f
+0, 44, 44, 1, 192000, 0xa275420f
+0, 45, 45, 1, 192000, 0xa275420f
+0, 46, 46, 1, 192000, 0xa275420f
+0, 47, 47, 1, 192000, 0xa275420f
+0, 48, 48, 1, 192000, 0xa275420f
+0, 49, 49, 1, 192000, 0x2e4796cb
+0, 50, 50, 1, 192000, 0x2e4796cb
+0, 51, 51, 1, 192000, 0x2e4796cb
+0, 52, 52, 1, 192000, 0x2e4796cb
+0, 53, 53, 1, 192000, 0xebd45683
+0, 54, 54, 1, 192000, 0xebd45683
+0, 55, 55, 1, 192000, 0xebd45683
+0, 56, 56, 1, 192000, 0xebd45683
+0, 57, 57, 1, 192000, 0xebd45683
+0, 58, 58, 1, 192000, 0x0bf6596f
+0, 59, 59, 1, 192000, 0x0bf6596f
+0, 60, 60, 1, 192000, 0x0bf6596f
+0, 61, 61, 1, 192000, 0x0bf6596f
+0, 62, 62, 1, 192000, 0xb7af47e7
+0, 63, 63, 1, 192000, 0xb7af47e7
+0, 64, 64, 1, 192000, 0xb7af47e7
+0, 65, 65, 1, 192000, 0xb7af47e7
+0, 66, 66, 1, 192000, 0xb7af47e7
+0, 67, 67, 1, 192000, 0x8bc344fb
+0, 68, 68, 1, 192000, 0x8bc344fb
+0, 69, 69, 1, 192000, 0x8bc344fb
+0, 70, 70, 1, 192000, 0x8bc344fb
+0, 71, 71, 1, 192000, 0x8bc344fb
+0, 72, 72, 1, 192000, 0x02a23f23
+0, 73, 73, 1, 192000, 0x02a23f23
+0, 74, 74, 1, 192000, 0x02a23f23
+0, 75, 75, 1, 192000, 0x02a23f23
+0, 76, 76, 1, 192000, 0x17be3087
+0, 77, 77, 1, 192000, 0x52c7b2d4
+0, 78, 78, 1, 192000, 0xa05e9888
+0, 79, 79, 1, 192000, 0x4d6a6cb4
+0, 80, 80, 1, 192000, 0x3e2189ec
+0, 81, 81, 1, 192000, 0xfbe3ca34
+0, 82, 82, 1, 192000, 0xa9cd8fc4
+0, 83, 83, 1, 192000, 0x986e6cb4
+0, 84, 84, 1, 192000, 0x42373b08
+0, 85, 85, 1, 192000, 0xab96e351
+0, 86, 86, 1, 192000, 0x28ccf4d9
+0, 87, 87, 1, 192000, 0xc19e0f34
+0, 88, 88, 1, 192000, 0xd8da1ae4
+0, 89, 89, 1, 192000, 0xd015728c
+0, 90, 90, 1, 192000, 0x550623a8
+0, 91, 91, 1, 192000, 0x3c5c5268
+0, 92, 92, 1, 192000, 0x3eae8128
+0, 93, 93, 1, 192000, 0x3c51381c
+0, 94, 94, 1, 192000, 0x745046b8
+0, 95, 95, 1, 192000, 0xa8bd43cc
+0, 96, 96, 1, 192000, 0xde8fe351
+0, 97, 97, 1, 192000, 0x3d5cc905
+0, 98, 98, 1, 192000, 0xcf8df4d9
+0, 99, 99, 1, 192000, 0x698b20bc
+0, 100, 100, 1, 192000, 0x159d3244
+0, 101, 101, 1, 192000, 0xba1af4d9
+0, 102, 102, 1, 192000, 0x033a0f34
+0, 103, 103, 1, 192000, 0x72612f58
+0, 104, 104, 1, 192000, 0x11e11dd0
+0, 105, 105, 1, 192000, 0x4fc04f7c
+0, 106, 106, 1, 192000, 0x37779888
+0, 107, 107, 1, 192000, 0xabfc5e18
+0, 108, 108, 1, 192000, 0x0ad97e3c
+0, 109, 109, 1, 192000, 0xddf492b0
+0, 110, 110, 1, 192000, 0x198b23a8
+0, 111, 111, 1, 192000, 0x6b491220
+0, 112, 112, 1, 192000, 0x632417f8
+0, 113, 113, 1, 192000, 0x0dc5381c
+0, 114, 114, 1, 192000, 0x6d548700
+0, 115, 115, 1, 192000, 0xae0c5b2c
+0, 116, 116, 1, 192000, 0x23427e3c
+0, 117, 117, 1, 192000, 0x5def728c
+0, 118, 118, 1, 192000, 0xec831ae4
+0, 119, 119, 1, 192000, 0x00000000
+0, 120, 120, 1, 192000, 0x00000000
+0, 121, 121, 1, 192000, 0x00000000
+0, 122, 122, 1, 192000, 0x00000000
+0, 123, 123, 1, 192000, 0x00000000
+0, 124, 124, 1, 192000, 0x00000000
+0, 125, 125, 1, 192000, 0x00000000
+0, 126, 126, 1, 192000, 0x00000000
+0, 127, 127, 1, 192000, 0x00000000
+0, 128, 128, 1, 192000, 0xd6050414
+0, 129, 129, 1, 192000, 0xf9f90594
+0, 130, 130, 1, 192000, 0xa6220704
+0, 131, 131, 1, 192000, 0x54570858
+0, 132, 132, 1, 192000, 0xd81109ac
+0, 133, 133, 1, 192000, 0xc0540afc
+0, 134, 134, 1, 192000, 0x83ee0c20
+0, 135, 135, 1, 192000, 0x2a810d3c
+0, 136, 136, 1, 192000, 0xb3a71844
+0, 137, 137, 1, 192000, 0xd4ff1c7c
+0, 138, 138, 1, 192000, 0x92b21fdc
+0, 139, 139, 1, 192000, 0x03912364
+0, 140, 140, 1, 192000, 0x65c9262c
+0, 141, 141, 1, 192000, 0xf2e5290c
+0, 142, 142, 1, 192000, 0xc8cc2b4c
+0, 143, 143, 1, 192000, 0x272a2f1c
+0, 144, 144, 1, 192000, 0xa672313c
+0, 145, 145, 1, 192000, 0xab01331c
+0, 146, 146, 1, 192000, 0x92643458
+0, 147, 147, 1, 192000, 0x9a943548
+0, 148, 148, 1, 192000, 0x3eb735ac
+0, 149, 149, 1, 192000, 0x3eb735ac
+0, 150, 150, 1, 192000, 0x3eb735ac
+0, 151, 151, 1, 192000, 0x3eb735ac
+0, 152, 152, 1, 192000, 0x3eb735ac
+0, 153, 153, 1, 192000, 0x3eb735ac
+0, 154, 154, 1, 192000, 0x3eb735ac
+0, 155, 155, 1, 192000, 0x3eb735ac
+0, 156, 156, 1, 192000, 0x3eb735ac
+0, 157, 157, 1, 192000, 0x3eb735ac
+0, 158, 158, 1, 192000, 0x3eb735ac
diff --git a/tests/ref/fate/zmbv-32bit b/tests/ref/fate/zmbv-32bit
index 4b961cc370..e1df12361a 100644
--- a/tests/ref/fate/zmbv-32bit
+++ b/tests/ref/fate/zmbv-32bit
@@ -1,159 +1,160 @@
-0, 0, 192000, 0x3ac10e8e
-0, 14193, 192000, 0xb772ee57
-0, 28385, 192000, 0x9b6e648a
-0, 42578, 192000, 0x3d9c33e3
-0, 56770, 192000, 0x006db76d
-0, 70963, 192000, 0x006db76d
-0, 85155, 192000, 0x006db76d
-0, 99348, 192000, 0x006db76d
-0, 113540, 192000, 0x006db76d
-0, 127733, 192000, 0x006db76d
-0, 141925, 192000, 0x006db76d
-0, 156118, 192000, 0x006db76d
-0, 170310, 192000, 0x006db76d
-0, 184503, 192000, 0x006db76d
-0, 198695, 192000, 0x006db76d
-0, 212888, 192000, 0x7b9b28fb
-0, 227080, 192000, 0x7b9b28fb
-0, 241273, 192000, 0x7b9b28fb
-0, 255466, 192000, 0x7b9b28fb
-0, 269658, 192000, 0x7b9b28fb
-0, 283851, 192000, 0x7b9b28fb
-0, 298043, 192000, 0x67be3519
-0, 312236, 192000, 0x67be3519
-0, 326428, 192000, 0x67be3519
-0, 340621, 192000, 0x67be3519
-0, 354813, 192000, 0x67be3519
-0, 369006, 192000, 0x2ece70dd
-0, 383198, 192000, 0x2ece70dd
-0, 397391, 192000, 0x2ece70dd
-0, 411583, 192000, 0x2ece70dd
-0, 425776, 192000, 0x2ece70dd
-0, 439968, 192000, 0x2ece70dd
-0, 454161, 192000, 0xd3a382cb
-0, 468353, 192000, 0xd3a382cb
-0, 482546, 192000, 0xd3a382cb
-0, 496739, 192000, 0xd3a382cb
-0, 510931, 192000, 0xd3a382cb
-0, 525124, 192000, 0xd3a382cb
-0, 539316, 192000, 0x2d3d7fce
-0, 553509, 192000, 0x2d3d7fce
-0, 567701, 192000, 0x2d3d7fce
-0, 581894, 192000, 0x2d3d7fce
-0, 596086, 192000, 0x2d3d7fce
-0, 610279, 192000, 0x36fd52fb
-0, 624471, 192000, 0x36fd52fb
-0, 638664, 192000, 0x36fd52fb
-0, 652856, 192000, 0x36fd52fb
-0, 667049, 192000, 0x36fd52fb
-0, 681241, 192000, 0x36fd52fb
-0, 695434, 192000, 0xa38e9ab3
-0, 709627, 192000, 0x57095eef
-0, 723819, 192000, 0x5c4f4d01
-0, 738012, 192000, 0xac20321c
-0, 752204, 192000, 0x7e370e40
-0, 766397, 192000, 0xe9d92925
-0, 780589, 192000, 0xfef4d26d
-0, 794782, 192000, 0x77a4ab94
-0, 808974, 192000, 0x802fb18e
-0, 823167, 192000, 0xce968db2
-0, 837359, 192000, 0x21e6ab94
-0, 851552, 192000, 0x309d45fa
-0, 865744, 192000, 0x5d193709
-0, 879937, 192000, 0x72190d33
-0, 894129, 192000, 0xdaed162a
-0, 908322, 192000, 0x2fcaf23f
-0, 922514, 192000, 0x8986d45d
-0, 936707, 192000, 0xcf7de34e
-0, 950900, 192000, 0x22390d33
-0, 965092, 192000, 0x4b29132d
-0, 979285, 192000, 0xbffe1f21
-0, 993477, 192000, 0xa4eee34e
-0, 1007670, 192000, 0xe85ae64b
-0, 1021862, 192000, 0xb7bef23f
-0, 1036055, 192000, 0x05ab1927
-0, 1050247, 192000, 0x915f6cd3
-0, 1064440, 192000, 0x524d69d6
-0, 1078632, 192000, 0x62da78c7
-0, 1092825, 192000, 0xbf6f84bb
-0, 1107017, 192000, 0xbe9f6cd3
-0, 1121210, 192000, 0x80d0132d
-0, 1135402, 192000, 0x0789251b
-0, 1149595, 192000, 0xba1a1f21
-0, 1163787, 192000, 0x542b42fd
-0, 1177980, 192000, 0x0ff951ee
-0, 1192173, 192000, 0x785048f7
-0, 1206365, 192000, 0x5a50251b
-0, 1220558, 192000, 0xd5d73a06
-0, 1234750, 192000, 0x7a3a54eb
-0, 1248943, 192000, 0x1e2b5de2
-0, 1263135, 192000, 0xeac542fd
-0, 1277328, 192000, 0x897a1f21
-0, 1291520, 192000, 0x61602b15
-0, 1305713, 192000, 0xb12f221e
-0, 1319905, 192000, 0x08541f21
-0, 1334098, 192000, 0xeebd251b
-0, 1348290, 192000, 0xc1132e12
-0, 1362483, 192000, 0x99642818
-0, 1376675, 192000, 0x9b8e162a
-0, 1390868, 192000, 0x21b81f21
-0, 1405060, 192000, 0x1abd1030
-0, 1419253, 192000, 0x0d613d03
-0, 1433446, 192000, 0xcb32132d
-0, 1447638, 192000, 0xc680162a
-0, 1461831, 192000, 0x8dea2818
-0, 1476023, 192000, 0x3c4e1927
-0, 1490216, 192000, 0xed733709
-0, 1504408, 192000, 0xf4051c24
-0, 1518601, 192000, 0xb8eb221e
-0, 1532793, 192000, 0x1a412818
-0, 1546986, 192000, 0x6ee6162a
-0, 1561178, 192000, 0xe1a248f7
-0, 1575371, 192000, 0xc2c2221e
-0, 1589563, 192000, 0x7fdf1f21
-0, 1603756, 192000, 0x85bc251b
-0, 1617948, 192000, 0xe77c251b
-0, 1632141, 192000, 0x8789340c
-0, 1646334, 192000, 0xb6014000
-0, 1660526, 192000, 0xaa9542fd
-0, 1674719, 192000, 0x36ce54eb
-0, 1688911, 192000, 0xd1324ef1
-0, 1703104, 192000, 0x0ade60df
-0, 1717296, 192000, 0xfac56cd3
-0, 1731489, 192000, 0x00000000
-0, 1745681, 192000, 0x00000000
-0, 1759874, 192000, 0xc61c026a
-0, 1774066, 192000, 0x60810842
-0, 1788259, 192000, 0x65081393
-0, 1802451, 192000, 0xc806209f
-0, 1816644, 192000, 0x53aa32cb
-0, 1830836, 192000, 0x176546ef
-0, 1845029, 192000, 0x4e095d0e
-0, 1859221, 192000, 0xf74b7774
-0, 1873414, 192000, 0x32809306
-0, 1887607, 192000, 0x5219ae81
-0, 1901799, 192000, 0x3badcc40
-0, 1915992, 192000, 0x1387ea5d
-0, 1930184, 192000, 0xe0c606f0
-0, 1944377, 192000, 0x106f2197
-0, 1958569, 192000, 0xfe2139cf
-0, 1972762, 192000, 0x907d4f0a
-0, 1986954, 192000, 0x04415dad
-0, 2001147, 192000, 0xe0b864b6
-0, 2015339, 192000, 0xcb2a64b8
-0, 2029532, 192000, 0xcb2a64b8
-0, 2043724, 192000, 0xcb2a64b8
-0, 2057917, 192000, 0xcb2a64b8
-0, 2072109, 192000, 0xcb2a64b8
-0, 2086302, 192000, 0xcb2a64b8
-0, 2100494, 192000, 0xcb2a64b8
-0, 2114687, 192000, 0xcb2a64b8
-0, 2128880, 192000, 0xcb2a64b8
-0, 2143072, 192000, 0xcb2a64b8
-0, 2157265, 192000, 0xcb2a64b8
-0, 2171457, 192000, 0xcb2a64b8
-0, 2185650, 192000, 0xcb2a64b8
-0, 2199842, 192000, 0xcb2a64b8
-0, 2214035, 192000, 0xcb2a64b8
-0, 2228227, 192000, 0xcb2a64b8
-0, 2242420, 192000, 0xcb2a64b8
+#tb 0: 250000/1585341
+0, 0, 0, 1, 192000, 0x3ac10e8e
+0, 1, 1, 1, 192000, 0xb772ee57
+0, 2, 2, 1, 192000, 0x9b6e648a
+0, 3, 3, 1, 192000, 0x3d9c33e3
+0, 4, 4, 1, 192000, 0x006db76d
+0, 5, 5, 1, 192000, 0x006db76d
+0, 6, 6, 1, 192000, 0x006db76d
+0, 7, 7, 1, 192000, 0x006db76d
+0, 8, 8, 1, 192000, 0x006db76d
+0, 9, 9, 1, 192000, 0x006db76d
+0, 10, 10, 1, 192000, 0x006db76d
+0, 11, 11, 1, 192000, 0x006db76d
+0, 12, 12, 1, 192000, 0x006db76d
+0, 13, 13, 1, 192000, 0x006db76d
+0, 14, 14, 1, 192000, 0x006db76d
+0, 15, 15, 1, 192000, 0x7b9b28fb
+0, 16, 16, 1, 192000, 0x7b9b28fb
+0, 17, 17, 1, 192000, 0x7b9b28fb
+0, 18, 18, 1, 192000, 0x7b9b28fb
+0, 19, 19, 1, 192000, 0x7b9b28fb
+0, 20, 20, 1, 192000, 0x7b9b28fb
+0, 21, 21, 1, 192000, 0x67be3519
+0, 22, 22, 1, 192000, 0x67be3519
+0, 23, 23, 1, 192000, 0x67be3519
+0, 24, 24, 1, 192000, 0x67be3519
+0, 25, 25, 1, 192000, 0x67be3519
+0, 26, 26, 1, 192000, 0x2ece70dd
+0, 27, 27, 1, 192000, 0x2ece70dd
+0, 28, 28, 1, 192000, 0x2ece70dd
+0, 29, 29, 1, 192000, 0x2ece70dd
+0, 30, 30, 1, 192000, 0x2ece70dd
+0, 31, 31, 1, 192000, 0x2ece70dd
+0, 32, 32, 1, 192000, 0xd3a382cb
+0, 33, 33, 1, 192000, 0xd3a382cb
+0, 34, 34, 1, 192000, 0xd3a382cb
+0, 35, 35, 1, 192000, 0xd3a382cb
+0, 36, 36, 1, 192000, 0xd3a382cb
+0, 37, 37, 1, 192000, 0xd3a382cb
+0, 38, 38, 1, 192000, 0x2d3d7fce
+0, 39, 39, 1, 192000, 0x2d3d7fce
+0, 40, 40, 1, 192000, 0x2d3d7fce
+0, 41, 41, 1, 192000, 0x2d3d7fce
+0, 42, 42, 1, 192000, 0x2d3d7fce
+0, 43, 43, 1, 192000, 0x36fd52fb
+0, 44, 44, 1, 192000, 0x36fd52fb
+0, 45, 45, 1, 192000, 0x36fd52fb
+0, 46, 46, 1, 192000, 0x36fd52fb
+0, 47, 47, 1, 192000, 0x36fd52fb
+0, 48, 48, 1, 192000, 0x36fd52fb
+0, 49, 49, 1, 192000, 0xa38e9ab3
+0, 50, 50, 1, 192000, 0x57095eef
+0, 51, 51, 1, 192000, 0x5c4f4d01
+0, 52, 52, 1, 192000, 0xac20321c
+0, 53, 53, 1, 192000, 0x7e370e40
+0, 54, 54, 1, 192000, 0xe9d92925
+0, 55, 55, 1, 192000, 0xfef4d26d
+0, 56, 56, 1, 192000, 0x77a4ab94
+0, 57, 57, 1, 192000, 0x802fb18e
+0, 58, 58, 1, 192000, 0xce968db2
+0, 59, 59, 1, 192000, 0x21e6ab94
+0, 60, 60, 1, 192000, 0x309d45fa
+0, 61, 61, 1, 192000, 0x5d193709
+0, 62, 62, 1, 192000, 0x72190d33
+0, 63, 63, 1, 192000, 0xdaed162a
+0, 64, 64, 1, 192000, 0x2fcaf23f
+0, 65, 65, 1, 192000, 0x8986d45d
+0, 66, 66, 1, 192000, 0xcf7de34e
+0, 67, 67, 1, 192000, 0x22390d33
+0, 68, 68, 1, 192000, 0x4b29132d
+0, 69, 69, 1, 192000, 0xbffe1f21
+0, 70, 70, 1, 192000, 0xa4eee34e
+0, 71, 71, 1, 192000, 0xe85ae64b
+0, 72, 72, 1, 192000, 0xb7bef23f
+0, 73, 73, 1, 192000, 0x05ab1927
+0, 74, 74, 1, 192000, 0x915f6cd3
+0, 75, 75, 1, 192000, 0x524d69d6
+0, 76, 76, 1, 192000, 0x62da78c7
+0, 77, 77, 1, 192000, 0xbf6f84bb
+0, 78, 78, 1, 192000, 0xbe9f6cd3
+0, 79, 79, 1, 192000, 0x80d0132d
+0, 80, 80, 1, 192000, 0x0789251b
+0, 81, 81, 1, 192000, 0xba1a1f21
+0, 82, 82, 1, 192000, 0x542b42fd
+0, 83, 83, 1, 192000, 0x0ff951ee
+0, 84, 84, 1, 192000, 0x785048f7
+0, 85, 85, 1, 192000, 0x5a50251b
+0, 86, 86, 1, 192000, 0xd5d73a06
+0, 87, 87, 1, 192000, 0x7a3a54eb
+0, 88, 88, 1, 192000, 0x1e2b5de2
+0, 89, 89, 1, 192000, 0xeac542fd
+0, 90, 90, 1, 192000, 0x897a1f21
+0, 91, 91, 1, 192000, 0x61602b15
+0, 92, 92, 1, 192000, 0xb12f221e
+0, 93, 93, 1, 192000, 0x08541f21
+0, 94, 94, 1, 192000, 0xeebd251b
+0, 95, 95, 1, 192000, 0xc1132e12
+0, 96, 96, 1, 192000, 0x99642818
+0, 97, 97, 1, 192000, 0x9b8e162a
+0, 98, 98, 1, 192000, 0x21b81f21
+0, 99, 99, 1, 192000, 0x1abd1030
+0, 100, 100, 1, 192000, 0x0d613d03
+0, 101, 101, 1, 192000, 0xcb32132d
+0, 102, 102, 1, 192000, 0xc680162a
+0, 103, 103, 1, 192000, 0x8dea2818
+0, 104, 104, 1, 192000, 0x3c4e1927
+0, 105, 105, 1, 192000, 0xed733709
+0, 106, 106, 1, 192000, 0xf4051c24
+0, 107, 107, 1, 192000, 0xb8eb221e
+0, 108, 108, 1, 192000, 0x1a412818
+0, 109, 109, 1, 192000, 0x6ee6162a
+0, 110, 110, 1, 192000, 0xe1a248f7
+0, 111, 111, 1, 192000, 0xc2c2221e
+0, 112, 112, 1, 192000, 0x7fdf1f21
+0, 113, 113, 1, 192000, 0x85bc251b
+0, 114, 114, 1, 192000, 0xe77c251b
+0, 115, 115, 1, 192000, 0x8789340c
+0, 116, 116, 1, 192000, 0xb6014000
+0, 117, 117, 1, 192000, 0xaa9542fd
+0, 118, 118, 1, 192000, 0x36ce54eb
+0, 119, 119, 1, 192000, 0xd1324ef1
+0, 120, 120, 1, 192000, 0x0ade60df
+0, 121, 121, 1, 192000, 0xfac56cd3
+0, 122, 122, 1, 192000, 0x00000000
+0, 123, 123, 1, 192000, 0x00000000
+0, 124, 124, 1, 192000, 0xc61c026a
+0, 125, 125, 1, 192000, 0x60810842
+0, 126, 126, 1, 192000, 0x65081393
+0, 127, 127, 1, 192000, 0xc806209f
+0, 128, 128, 1, 192000, 0x53aa32cb
+0, 129, 129, 1, 192000, 0x176546ef
+0, 130, 130, 1, 192000, 0x4e095d0e
+0, 131, 131, 1, 192000, 0xf74b7774
+0, 132, 132, 1, 192000, 0x32809306
+0, 133, 133, 1, 192000, 0x5219ae81
+0, 134, 134, 1, 192000, 0x3badcc40
+0, 135, 135, 1, 192000, 0x1387ea5d
+0, 136, 136, 1, 192000, 0xe0c606f0
+0, 137, 137, 1, 192000, 0x106f2197
+0, 138, 138, 1, 192000, 0xfe2139cf
+0, 139, 139, 1, 192000, 0x907d4f0a
+0, 140, 140, 1, 192000, 0x04415dad
+0, 141, 141, 1, 192000, 0xe0b864b6
+0, 142, 142, 1, 192000, 0xcb2a64b8
+0, 143, 143, 1, 192000, 0xcb2a64b8
+0, 144, 144, 1, 192000, 0xcb2a64b8
+0, 145, 145, 1, 192000, 0xcb2a64b8
+0, 146, 146, 1, 192000, 0xcb2a64b8
+0, 147, 147, 1, 192000, 0xcb2a64b8
+0, 148, 148, 1, 192000, 0xcb2a64b8
+0, 149, 149, 1, 192000, 0xcb2a64b8
+0, 150, 150, 1, 192000, 0xcb2a64b8
+0, 151, 151, 1, 192000, 0xcb2a64b8
+0, 152, 152, 1, 192000, 0xcb2a64b8
+0, 153, 153, 1, 192000, 0xcb2a64b8
+0, 154, 154, 1, 192000, 0xcb2a64b8
+0, 155, 155, 1, 192000, 0xcb2a64b8
+0, 156, 156, 1, 192000, 0xcb2a64b8
+0, 157, 157, 1, 192000, 0xcb2a64b8
+0, 158, 158, 1, 192000, 0xcb2a64b8
diff --git a/tests/ref/fate/zmbv-8bit b/tests/ref/fate/zmbv-8bit
index 258147f914..64dacae5a7 100644
--- a/tests/ref/fate/zmbv-8bit
+++ b/tests/ref/fate/zmbv-8bit
@@ -1,275 +1,276 @@
-0, 0, 192000, 0x5234b617
-0, 1284, 192000, 0x5234b617
-0, 2568, 192000, 0x5234b617
-0, 3852, 192000, 0x5234b617
-0, 5137, 192000, 0x5234b617
-0, 6421, 192000, 0x5234b617
-0, 7705, 192000, 0x5234b617
-0, 8989, 192000, 0x5234b617
-0, 10273, 192000, 0x5234b617
-0, 11557, 192000, 0x5234b617
-0, 12841, 192000, 0x5234b617
-0, 14125, 192000, 0x5234b617
-0, 15410, 192000, 0x5234b617
-0, 16694, 192000, 0x5234b617
-0, 17978, 192000, 0x5234b617
-0, 19262, 192000, 0x5234b617
-0, 20546, 192000, 0x5234b617
-0, 21830, 192000, 0x5234b617
-0, 23114, 192000, 0x5234b617
-0, 24398, 192000, 0x5234b617
-0, 25683, 192000, 0x5234b617
-0, 26967, 192000, 0x5234b617
-0, 28251, 192000, 0x5234b617
-0, 29535, 192000, 0x5234b617
-0, 30819, 192000, 0x5234b617
-0, 32103, 192000, 0x5234b617
-0, 33387, 192000, 0x5234b617
-0, 34672, 192000, 0x5234b617
-0, 35956, 192000, 0x5234b617
-0, 37240, 192000, 0x5234b617
-0, 38524, 192000, 0x5234b617
-0, 39808, 192000, 0x5234b617
-0, 41092, 192000, 0x5234b617
-0, 42376, 192000, 0x5234b617
-0, 43660, 192000, 0x5234b617
-0, 44945, 192000, 0x5234b617
-0, 46229, 192000, 0x5234b617
-0, 47513, 192000, 0x5234b617
-0, 48797, 192000, 0x5234b617
-0, 50081, 192000, 0x5234b617
-0, 51365, 192000, 0x5234b617
-0, 52649, 192000, 0x5234b617
-0, 53934, 192000, 0x5234b617
-0, 55218, 192000, 0x5234b617
-0, 56502, 192000, 0x5234b617
-0, 57786, 192000, 0x5234b617
-0, 59070, 192000, 0x5234b617
-0, 60354, 192000, 0x5234b617
-0, 61638, 192000, 0x5234b617
-0, 62922, 192000, 0x5234b617
-0, 64207, 192000, 0x5234b617
-0, 65491, 192000, 0x5234b617
-0, 66775, 192000, 0x5234b617
-0, 68059, 192000, 0x5234b617
-0, 69343, 192000, 0x5234b617
-0, 70627, 192000, 0x5234b617
-0, 71911, 192000, 0x5234b617
-0, 73195, 192000, 0x5234b617
-0, 74480, 192000, 0x5234b617
-0, 75764, 192000, 0x5234b617
-0, 77048, 192000, 0x5234b617
-0, 78332, 192000, 0x5234b617
-0, 79616, 192000, 0x5234b617
-0, 80900, 192000, 0x5234b617
-0, 82184, 192000, 0x5234b617
-0, 83469, 192000, 0x5234b617
-0, 84753, 192000, 0x5234b617
-0, 86037, 192000, 0x5234b617
-0, 87321, 192000, 0x5234b617
-0, 88605, 192000, 0x5234b617
-0, 89889, 192000, 0x5234b617
-0, 91173, 192000, 0x5234b617
-0, 92457, 192000, 0x5234b617
-0, 93742, 192000, 0x5234b617
-0, 95026, 192000, 0x5234b617
-0, 96310, 192000, 0x5234b617
-0, 97594, 192000, 0x5234b617
-0, 98878, 192000, 0x5234b617
-0, 100162, 192000, 0x5234b617
-0, 101446, 192000, 0x5234b617
-0, 102730, 192000, 0x5234b617
-0, 104015, 192000, 0x5234b617
-0, 105299, 192000, 0x5234b617
-0, 106583, 192000, 0x5234b617
-0, 107867, 192000, 0x5234b617
-0, 109151, 192000, 0x5234b617
-0, 110435, 192000, 0x0c148693
-0, 111719, 192000, 0x973f438b
-0, 113004, 192000, 0x602a279b
-0, 114288, 192000, 0x739c7527
-0, 115572, 192000, 0x4ef4b477
-0, 116856, 192000, 0x8fffec23
-0, 118140, 192000, 0xe192c706
-0, 119424, 192000, 0xf38000e5
-0, 120708, 192000, 0x628b9051
-0, 121992, 192000, 0xd7c162c0
-0, 123277, 192000, 0xd4b85307
-0, 124561, 192000, 0x377cf8cf
-0, 125845, 192000, 0xf1ffdff2
-0, 127129, 192000, 0x95a0ab01
-0, 128413, 192000, 0xeb69c7f0
-0, 129697, 192000, 0xfbd0af52
-0, 130981, 192000, 0x32da6d10
-0, 132266, 192000, 0xca8e7836
-0, 133550, 192000, 0x404cefe9
-0, 134834, 192000, 0x0433e9c8
-0, 136118, 192000, 0xd6e09ecf
-0, 137402, 192000, 0xc9a822b5
-0, 138686, 192000, 0x032f2398
-0, 139970, 192000, 0x9e0305bf
-0, 141254, 192000, 0x9d66c993
-0, 142539, 192000, 0xe126b022
-0, 143823, 192000, 0xb59d2829
-0, 145107, 192000, 0x967ad5b1
-0, 146391, 192000, 0xb76ad1dc
-0, 147675, 192000, 0xc901e6e3
-0, 148959, 192000, 0xd22bc862
-0, 150243, 192000, 0xe7547295
-0, 151527, 192000, 0x179a8d78
-0, 152812, 192000, 0x87a4310f
-0, 154096, 192000, 0x4e24d3b3
-0, 155380, 192000, 0xb1b8e58a
-0, 156664, 192000, 0x0ae55330
-0, 157948, 192000, 0xdb3288ab
-0, 159232, 192000, 0x31867a92
-0, 160516, 192000, 0x2a44a0a5
-0, 161801, 192000, 0x29c062f4
-0, 163085, 192000, 0xf4df3a2b
-0, 164369, 192000, 0x8e424f86
-0, 165653, 192000, 0x25b901f9
-0, 166937, 192000, 0x77af6cad
-0, 168221, 192000, 0x0b82d562
-0, 169505, 192000, 0x4322dc3e
-0, 170789, 192000, 0x4322dc3e
-0, 172074, 192000, 0x4322dc3e
-0, 173358, 192000, 0x2c51f91e
-0, 174642, 192000, 0x2c51f91e
-0, 175926, 192000, 0x2c51f91e
-0, 177210, 192000, 0x2c51f91e
-0, 178494, 192000, 0x197128e5
-0, 179778, 192000, 0x197128e5
-0, 181062, 192000, 0x197128e5
-0, 182347, 192000, 0xb67867c5
-0, 183631, 192000, 0xb67867c5
-0, 184915, 192000, 0xb67867c5
-0, 186199, 192000, 0xb67867c5
-0, 187483, 192000, 0x62fcac19
-0, 188767, 192000, 0x62fcac19
-0, 190051, 192000, 0x62fcac19
-0, 191336, 192000, 0xe4f4f281
-0, 192620, 192000, 0xe4f4f281
-0, 193904, 192000, 0xe4f4f281
-0, 195188, 192000, 0xe4f4f281
-0, 196472, 192000, 0x060c3190
-0, 197756, 192000, 0x060c3190
-0, 199040, 192000, 0x060c3190
-0, 200324, 192000, 0xe5c05bb4
-0, 201609, 192000, 0xe5c05bb4
-0, 202893, 192000, 0xe5c05bb4
-0, 204177, 192000, 0xe5c05bb4
-0, 205461, 192000, 0xd4b187fc
-0, 206745, 192000, 0xd4b187fc
-0, 208029, 192000, 0xd4b187fc
-0, 209313, 192000, 0x9a549a6c
-0, 210597, 192000, 0x9a549a6c
-0, 211882, 192000, 0x9a549a6c
-0, 213166, 192000, 0x9a549a6c
-0, 214450, 192000, 0xd491bd50
-0, 215734, 192000, 0xd491bd50
-0, 217018, 192000, 0xd491bd50
-0, 218302, 192000, 0xfdfad4a8
-0, 219586, 192000, 0xfdfad4a8
-0, 220871, 192000, 0xfdfad4a8
-0, 222155, 192000, 0xfdfad4a8
-0, 223439, 192000, 0x363ef77c
-0, 224723, 192000, 0x363ef77c
-0, 226007, 192000, 0x363ef77c
-0, 227291, 192000, 0x80c016f7
-0, 228575, 192000, 0x80c016f7
-0, 229859, 192000, 0x80c016f7
-0, 231144, 192000, 0x80c016f7
-0, 232428, 192000, 0x65852e7f
-0, 233712, 192000, 0x65852e7f
-0, 234996, 192000, 0x65852e7f
-0, 236280, 192000, 0xcb13542b
-0, 237564, 192000, 0xcb13542b
-0, 238848, 192000, 0xcb13542b
-0, 240133, 192000, 0xcb13542b
-0, 241417, 192000, 0xb7a5664f
-0, 242701, 192000, 0xb7a5664f
-0, 243985, 192000, 0xb7a5664f
-0, 245269, 192000, 0x8a128fd7
-0, 246553, 192000, 0x8a128fd7
-0, 247837, 192000, 0x8a128fd7
-0, 249121, 192000, 0x8a128fd7
-0, 250406, 192000, 0x9674b39b
-0, 251690, 192000, 0x9674b39b
-0, 252974, 192000, 0x9674b39b
-0, 254258, 192000, 0x2940e3b3
-0, 255542, 192000, 0x2940e3b3
-0, 256826, 192000, 0x2940e3b3
-0, 258110, 192000, 0x2940e3b3
-0, 259394, 192000, 0x0440e56b
-0, 260679, 192000, 0x0440e56b
-0, 261963, 192000, 0x0440e56b
-0, 263247, 192000, 0xefa3d16b
-0, 264531, 192000, 0xefa3d16b
-0, 265815, 192000, 0xefa3d16b
-0, 267099, 192000, 0xefa3d16b
-0, 268383, 192000, 0x6569b257
-0, 269668, 192000, 0x6569b257
-0, 270952, 192000, 0x6569b257
-0, 272236, 192000, 0x089985d7
-0, 273520, 192000, 0x089985d7
-0, 274804, 192000, 0x089985d7
-0, 276088, 192000, 0x089985d7
-0, 277372, 192000, 0x87e160af
-0, 278656, 192000, 0x87e160af
-0, 279941, 192000, 0x87e160af
-0, 281225, 192000, 0x117433bb
-0, 282509, 192000, 0x117433bb
-0, 283793, 192000, 0x117433bb
-0, 285077, 192000, 0x117433bb
-0, 286361, 192000, 0xd9e0f8bc
-0, 287645, 192000, 0xd9e0f8bc
-0, 288929, 192000, 0xd9e0f8bc
-0, 290214, 192000, 0x653cac38
-0, 291498, 192000, 0x653cac38
-0, 292782, 192000, 0x653cac38
-0, 294066, 192000, 0x653cac38
-0, 295350, 192000, 0x9070526c
-0, 296634, 192000, 0x9070526c
-0, 297918, 192000, 0x9070526c
-0, 299203, 192000, 0x15e6e9c9
-0, 300487, 192000, 0x15e6e9c9
-0, 301771, 192000, 0x15e6e9c9
-0, 303055, 192000, 0x15e6e9c9
-0, 304339, 192000, 0x610eab25
-0, 305623, 192000, 0x610eab25
-0, 306907, 192000, 0x610eab25
-0, 308191, 192000, 0xde2a829d
-0, 309476, 192000, 0xde2a829d
-0, 310760, 192000, 0xde2a829d
-0, 312044, 192000, 0xde2a829d
-0, 313328, 192000, 0x2014becd
-0, 314612, 192000, 0x2014becd
-0, 315896, 192000, 0x2014becd
-0, 317180, 192000, 0x551e0f98
-0, 318465, 192000, 0x551e0f98
-0, 319749, 192000, 0x551e0f98
-0, 321033, 192000, 0x551e0f98
-0, 322317, 192000, 0x4aaa6bec
-0, 323601, 192000, 0x4aaa6bec
-0, 324885, 192000, 0x4aaa6bec
-0, 326169, 192000, 0x4053d278
-0, 327453, 192000, 0x4053d278
-0, 328738, 192000, 0x4053d278
-0, 330022, 192000, 0x4053d278
-0, 331306, 192000, 0xa0e645db
-0, 332590, 192000, 0xa0e645db
-0, 333874, 192000, 0xa0e645db
-0, 335158, 192000, 0x3f1fc327
-0, 336442, 192000, 0x3f1fc327
-0, 337726, 192000, 0x3f1fc327
-0, 339011, 192000, 0x3f1fc327
-0, 340295, 192000, 0xa4ca2a9a
-0, 341579, 192000, 0xa4ca2a9a
-0, 342863, 192000, 0xa4ca2a9a
-0, 344147, 192000, 0xf1b2b22e
-0, 345431, 192000, 0xf1b2b22e
-0, 346715, 192000, 0xf1b2b22e
-0, 348000, 192000, 0xf1b2b22e
-0, 349284, 192000, 0xd08e49d1
-0, 350568, 192000, 0xd08e49d1
-0, 351852, 192000, 0xd08e49d1
+#tb 0: 1000000/70086303
+0, 0, 0, 1, 192000, 0x5234b617
+0, 1, 1, 1, 192000, 0x5234b617
+0, 2, 2, 1, 192000, 0x5234b617
+0, 3, 3, 1, 192000, 0x5234b617
+0, 4, 4, 1, 192000, 0x5234b617
+0, 5, 5, 1, 192000, 0x5234b617
+0, 6, 6, 1, 192000, 0x5234b617
+0, 7, 7, 1, 192000, 0x5234b617
+0, 8, 8, 1, 192000, 0x5234b617
+0, 9, 9, 1, 192000, 0x5234b617
+0, 10, 10, 1, 192000, 0x5234b617
+0, 11, 11, 1, 192000, 0x5234b617
+0, 12, 12, 1, 192000, 0x5234b617
+0, 13, 13, 1, 192000, 0x5234b617
+0, 14, 14, 1, 192000, 0x5234b617
+0, 15, 15, 1, 192000, 0x5234b617
+0, 16, 16, 1, 192000, 0x5234b617
+0, 17, 17, 1, 192000, 0x5234b617
+0, 18, 18, 1, 192000, 0x5234b617
+0, 19, 19, 1, 192000, 0x5234b617
+0, 20, 20, 1, 192000, 0x5234b617
+0, 21, 21, 1, 192000, 0x5234b617
+0, 22, 22, 1, 192000, 0x5234b617
+0, 23, 23, 1, 192000, 0x5234b617
+0, 24, 24, 1, 192000, 0x5234b617
+0, 25, 25, 1, 192000, 0x5234b617
+0, 26, 26, 1, 192000, 0x5234b617
+0, 27, 27, 1, 192000, 0x5234b617
+0, 28, 28, 1, 192000, 0x5234b617
+0, 29, 29, 1, 192000, 0x5234b617
+0, 30, 30, 1, 192000, 0x5234b617
+0, 31, 31, 1, 192000, 0x5234b617
+0, 32, 32, 1, 192000, 0x5234b617
+0, 33, 33, 1, 192000, 0x5234b617
+0, 34, 34, 1, 192000, 0x5234b617
+0, 35, 35, 1, 192000, 0x5234b617
+0, 36, 36, 1, 192000, 0x5234b617
+0, 37, 37, 1, 192000, 0x5234b617
+0, 38, 38, 1, 192000, 0x5234b617
+0, 39, 39, 1, 192000, 0x5234b617
+0, 40, 40, 1, 192000, 0x5234b617
+0, 41, 41, 1, 192000, 0x5234b617
+0, 42, 42, 1, 192000, 0x5234b617
+0, 43, 43, 1, 192000, 0x5234b617
+0, 44, 44, 1, 192000, 0x5234b617
+0, 45, 45, 1, 192000, 0x5234b617
+0, 46, 46, 1, 192000, 0x5234b617
+0, 47, 47, 1, 192000, 0x5234b617
+0, 48, 48, 1, 192000, 0x5234b617
+0, 49, 49, 1, 192000, 0x5234b617
+0, 50, 50, 1, 192000, 0x5234b617
+0, 51, 51, 1, 192000, 0x5234b617
+0, 52, 52, 1, 192000, 0x5234b617
+0, 53, 53, 1, 192000, 0x5234b617
+0, 54, 54, 1, 192000, 0x5234b617
+0, 55, 55, 1, 192000, 0x5234b617
+0, 56, 56, 1, 192000, 0x5234b617
+0, 57, 57, 1, 192000, 0x5234b617
+0, 58, 58, 1, 192000, 0x5234b617
+0, 59, 59, 1, 192000, 0x5234b617
+0, 60, 60, 1, 192000, 0x5234b617
+0, 61, 61, 1, 192000, 0x5234b617
+0, 62, 62, 1, 192000, 0x5234b617
+0, 63, 63, 1, 192000, 0x5234b617
+0, 64, 64, 1, 192000, 0x5234b617
+0, 65, 65, 1, 192000, 0x5234b617
+0, 66, 66, 1, 192000, 0x5234b617
+0, 67, 67, 1, 192000, 0x5234b617
+0, 68, 68, 1, 192000, 0x5234b617
+0, 69, 69, 1, 192000, 0x5234b617
+0, 70, 70, 1, 192000, 0x5234b617
+0, 71, 71, 1, 192000, 0x5234b617
+0, 72, 72, 1, 192000, 0x5234b617
+0, 73, 73, 1, 192000, 0x5234b617
+0, 74, 74, 1, 192000, 0x5234b617
+0, 75, 75, 1, 192000, 0x5234b617
+0, 76, 76, 1, 192000, 0x5234b617
+0, 77, 77, 1, 192000, 0x5234b617
+0, 78, 78, 1, 192000, 0x5234b617
+0, 79, 79, 1, 192000, 0x5234b617
+0, 80, 80, 1, 192000, 0x5234b617
+0, 81, 81, 1, 192000, 0x5234b617
+0, 82, 82, 1, 192000, 0x5234b617
+0, 83, 83, 1, 192000, 0x5234b617
+0, 84, 84, 1, 192000, 0x5234b617
+0, 85, 85, 1, 192000, 0x5234b617
+0, 86, 86, 1, 192000, 0x0c148693
+0, 87, 87, 1, 192000, 0x973f438b
+0, 88, 88, 1, 192000, 0x602a279b
+0, 89, 89, 1, 192000, 0x739c7527
+0, 90, 90, 1, 192000, 0x4ef4b477
+0, 91, 91, 1, 192000, 0x8fffec23
+0, 92, 92, 1, 192000, 0xe192c706
+0, 93, 93, 1, 192000, 0xf38000e5
+0, 94, 94, 1, 192000, 0x628b9051
+0, 95, 95, 1, 192000, 0xd7c162c0
+0, 96, 96, 1, 192000, 0xd4b85307
+0, 97, 97, 1, 192000, 0x377cf8cf
+0, 98, 98, 1, 192000, 0xf1ffdff2
+0, 99, 99, 1, 192000, 0x95a0ab01
+0, 100, 100, 1, 192000, 0xeb69c7f0
+0, 101, 101, 1, 192000, 0xfbd0af52
+0, 102, 102, 1, 192000, 0x32da6d10
+0, 103, 103, 1, 192000, 0xca8e7836
+0, 104, 104, 1, 192000, 0x404cefe9
+0, 105, 105, 1, 192000, 0x0433e9c8
+0, 106, 106, 1, 192000, 0xd6e09ecf
+0, 107, 107, 1, 192000, 0xc9a822b5
+0, 108, 108, 1, 192000, 0x032f2398
+0, 109, 109, 1, 192000, 0x9e0305bf
+0, 110, 110, 1, 192000, 0x9d66c993
+0, 111, 111, 1, 192000, 0xe126b022
+0, 112, 112, 1, 192000, 0xb59d2829
+0, 113, 113, 1, 192000, 0x967ad5b1
+0, 114, 114, 1, 192000, 0xb76ad1dc
+0, 115, 115, 1, 192000, 0xc901e6e3
+0, 116, 116, 1, 192000, 0xd22bc862
+0, 117, 117, 1, 192000, 0xe7547295
+0, 118, 118, 1, 192000, 0x179a8d78
+0, 119, 119, 1, 192000, 0x87a4310f
+0, 120, 120, 1, 192000, 0x4e24d3b3
+0, 121, 121, 1, 192000, 0xb1b8e58a
+0, 122, 122, 1, 192000, 0x0ae55330
+0, 123, 123, 1, 192000, 0xdb3288ab
+0, 124, 124, 1, 192000, 0x31867a92
+0, 125, 125, 1, 192000, 0x2a44a0a5
+0, 126, 126, 1, 192000, 0x29c062f4
+0, 127, 127, 1, 192000, 0xf4df3a2b
+0, 128, 128, 1, 192000, 0x8e424f86
+0, 129, 129, 1, 192000, 0x25b901f9
+0, 130, 130, 1, 192000, 0x77af6cad
+0, 131, 131, 1, 192000, 0x0b82d562
+0, 132, 132, 1, 192000, 0x4322dc3e
+0, 133, 133, 1, 192000, 0x4322dc3e
+0, 134, 134, 1, 192000, 0x4322dc3e
+0, 135, 135, 1, 192000, 0x2c51f91e
+0, 136, 136, 1, 192000, 0x2c51f91e
+0, 137, 137, 1, 192000, 0x2c51f91e
+0, 138, 138, 1, 192000, 0x2c51f91e
+0, 139, 139, 1, 192000, 0x197128e5
+0, 140, 140, 1, 192000, 0x197128e5
+0, 141, 141, 1, 192000, 0x197128e5
+0, 142, 142, 1, 192000, 0xb67867c5
+0, 143, 143, 1, 192000, 0xb67867c5
+0, 144, 144, 1, 192000, 0xb67867c5
+0, 145, 145, 1, 192000, 0xb67867c5
+0, 146, 146, 1, 192000, 0x62fcac19
+0, 147, 147, 1, 192000, 0x62fcac19
+0, 148, 148, 1, 192000, 0x62fcac19
+0, 149, 149, 1, 192000, 0xe4f4f281
+0, 150, 150, 1, 192000, 0xe4f4f281
+0, 151, 151, 1, 192000, 0xe4f4f281
+0, 152, 152, 1, 192000, 0xe4f4f281
+0, 153, 153, 1, 192000, 0x060c3190
+0, 154, 154, 1, 192000, 0x060c3190
+0, 155, 155, 1, 192000, 0x060c3190
+0, 156, 156, 1, 192000, 0xe5c05bb4
+0, 157, 157, 1, 192000, 0xe5c05bb4
+0, 158, 158, 1, 192000, 0xe5c05bb4
+0, 159, 159, 1, 192000, 0xe5c05bb4
+0, 160, 160, 1, 192000, 0xd4b187fc
+0, 161, 161, 1, 192000, 0xd4b187fc
+0, 162, 162, 1, 192000, 0xd4b187fc
+0, 163, 163, 1, 192000, 0x9a549a6c
+0, 164, 164, 1, 192000, 0x9a549a6c
+0, 165, 165, 1, 192000, 0x9a549a6c
+0, 166, 166, 1, 192000, 0x9a549a6c
+0, 167, 167, 1, 192000, 0xd491bd50
+0, 168, 168, 1, 192000, 0xd491bd50
+0, 169, 169, 1, 192000, 0xd491bd50
+0, 170, 170, 1, 192000, 0xfdfad4a8
+0, 171, 171, 1, 192000, 0xfdfad4a8
+0, 172, 172, 1, 192000, 0xfdfad4a8
+0, 173, 173, 1, 192000, 0xfdfad4a8
+0, 174, 174, 1, 192000, 0x363ef77c
+0, 175, 175, 1, 192000, 0x363ef77c
+0, 176, 176, 1, 192000, 0x363ef77c
+0, 177, 177, 1, 192000, 0x80c016f7
+0, 178, 178, 1, 192000, 0x80c016f7
+0, 179, 179, 1, 192000, 0x80c016f7
+0, 180, 180, 1, 192000, 0x80c016f7
+0, 181, 181, 1, 192000, 0x65852e7f
+0, 182, 182, 1, 192000, 0x65852e7f
+0, 183, 183, 1, 192000, 0x65852e7f
+0, 184, 184, 1, 192000, 0xcb13542b
+0, 185, 185, 1, 192000, 0xcb13542b
+0, 186, 186, 1, 192000, 0xcb13542b
+0, 187, 187, 1, 192000, 0xcb13542b
+0, 188, 188, 1, 192000, 0xb7a5664f
+0, 189, 189, 1, 192000, 0xb7a5664f
+0, 190, 190, 1, 192000, 0xb7a5664f
+0, 191, 191, 1, 192000, 0x8a128fd7
+0, 192, 192, 1, 192000, 0x8a128fd7
+0, 193, 193, 1, 192000, 0x8a128fd7
+0, 194, 194, 1, 192000, 0x8a128fd7
+0, 195, 195, 1, 192000, 0x9674b39b
+0, 196, 196, 1, 192000, 0x9674b39b
+0, 197, 197, 1, 192000, 0x9674b39b
+0, 198, 198, 1, 192000, 0x2940e3b3
+0, 199, 199, 1, 192000, 0x2940e3b3
+0, 200, 200, 1, 192000, 0x2940e3b3
+0, 201, 201, 1, 192000, 0x2940e3b3
+0, 202, 202, 1, 192000, 0x0440e56b
+0, 203, 203, 1, 192000, 0x0440e56b
+0, 204, 204, 1, 192000, 0x0440e56b
+0, 205, 205, 1, 192000, 0xefa3d16b
+0, 206, 206, 1, 192000, 0xefa3d16b
+0, 207, 207, 1, 192000, 0xefa3d16b
+0, 208, 208, 1, 192000, 0xefa3d16b
+0, 209, 209, 1, 192000, 0x6569b257
+0, 210, 210, 1, 192000, 0x6569b257
+0, 211, 211, 1, 192000, 0x6569b257
+0, 212, 212, 1, 192000, 0x089985d7
+0, 213, 213, 1, 192000, 0x089985d7
+0, 214, 214, 1, 192000, 0x089985d7
+0, 215, 215, 1, 192000, 0x089985d7
+0, 216, 216, 1, 192000, 0x87e160af
+0, 217, 217, 1, 192000, 0x87e160af
+0, 218, 218, 1, 192000, 0x87e160af
+0, 219, 219, 1, 192000, 0x117433bb
+0, 220, 220, 1, 192000, 0x117433bb
+0, 221, 221, 1, 192000, 0x117433bb
+0, 222, 222, 1, 192000, 0x117433bb
+0, 223, 223, 1, 192000, 0xd9e0f8bc
+0, 224, 224, 1, 192000, 0xd9e0f8bc
+0, 225, 225, 1, 192000, 0xd9e0f8bc
+0, 226, 226, 1, 192000, 0x653cac38
+0, 227, 227, 1, 192000, 0x653cac38
+0, 228, 228, 1, 192000, 0x653cac38
+0, 229, 229, 1, 192000, 0x653cac38
+0, 230, 230, 1, 192000, 0x9070526c
+0, 231, 231, 1, 192000, 0x9070526c
+0, 232, 232, 1, 192000, 0x9070526c
+0, 233, 233, 1, 192000, 0x15e6e9c9
+0, 234, 234, 1, 192000, 0x15e6e9c9
+0, 235, 235, 1, 192000, 0x15e6e9c9
+0, 236, 236, 1, 192000, 0x15e6e9c9
+0, 237, 237, 1, 192000, 0x610eab25
+0, 238, 238, 1, 192000, 0x610eab25
+0, 239, 239, 1, 192000, 0x610eab25
+0, 240, 240, 1, 192000, 0xde2a829d
+0, 241, 241, 1, 192000, 0xde2a829d
+0, 242, 242, 1, 192000, 0xde2a829d
+0, 243, 243, 1, 192000, 0xde2a829d
+0, 244, 244, 1, 192000, 0x2014becd
+0, 245, 245, 1, 192000, 0x2014becd
+0, 246, 246, 1, 192000, 0x2014becd
+0, 247, 247, 1, 192000, 0x551e0f98
+0, 248, 248, 1, 192000, 0x551e0f98
+0, 249, 249, 1, 192000, 0x551e0f98
+0, 250, 250, 1, 192000, 0x551e0f98
+0, 251, 251, 1, 192000, 0x4aaa6bec
+0, 252, 252, 1, 192000, 0x4aaa6bec
+0, 253, 253, 1, 192000, 0x4aaa6bec
+0, 254, 254, 1, 192000, 0x4053d278
+0, 255, 255, 1, 192000, 0x4053d278
+0, 256, 256, 1, 192000, 0x4053d278
+0, 257, 257, 1, 192000, 0x4053d278
+0, 258, 258, 1, 192000, 0xa0e645db
+0, 259, 259, 1, 192000, 0xa0e645db
+0, 260, 260, 1, 192000, 0xa0e645db
+0, 261, 261, 1, 192000, 0x3f1fc327
+0, 262, 262, 1, 192000, 0x3f1fc327
+0, 263, 263, 1, 192000, 0x3f1fc327
+0, 264, 264, 1, 192000, 0x3f1fc327
+0, 265, 265, 1, 192000, 0xa4ca2a9a
+0, 266, 266, 1, 192000, 0xa4ca2a9a
+0, 267, 267, 1, 192000, 0xa4ca2a9a
+0, 268, 268, 1, 192000, 0xf1b2b22e
+0, 269, 269, 1, 192000, 0xf1b2b22e
+0, 270, 270, 1, 192000, 0xf1b2b22e
+0, 271, 271, 1, 192000, 0xf1b2b22e
+0, 272, 272, 1, 192000, 0xd08e49d1
+0, 273, 273, 1, 192000, 0xd08e49d1
+0, 274, 274, 1, 192000, 0xd08e49d1