aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-01 15:33:51 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-08 21:51:24 +0100
commitcd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2 (patch)
treeeb85df8829ca31607cf4a6b7093121043c493110 /tests
parent38d553322891c8e47182f05199d19888422167dc (diff)
downloadffmpeg-cd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2.tar.gz
rawenc: switch to encode2().
This changes a number of FATE results, since before this commit, the timestamps in all tests using rawenc were made up by lavf. In most cases, the previous timestamps were completely bogus. In some other cases -- raw formats, mostly h264 -- the new timestamps are bogus as well. The only difference is that timestamps invented by the muxer are replaced by timestamps invented by the demuxer. cscd -- avconv sets output codec timebase from r_frame_rate and r_frame_rate is in this case some guessed number 31.42 (377/12), which is not accurate enough to represent all timestamps. This results in some frames having duplicate pts. Therefore, vsync 0 needs to be changed to vsync 2 and avconv drops two frames. A proper fix in the future would be to set output timebase to something saner in avconv. nuv -- previous timestamps for video were wrong AND the cscd comment applies, one frame is dropped. vp8-signbias -- the file contains two frames with identical timestamps, so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one frame. vc1-ism -- apparrently either the demuxer lies about timestamps or the file is broken, since dts == pts on all packets, but reordering clearly takes place.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/screen.mak3
-rw-r--r--tests/fate/video.mak3
-rw-r--r--tests/fate/vpx.mak4
-rw-r--r--tests/ref/fate/bethsoft-vid140
-rw-r--r--tests/ref/fate/cscd328
-rw-r--r--tests/ref/fate/deluxepaint-anm106
-rw-r--r--tests/ref/fate/dfa416
-rw-r--r--tests/ref/fate/ea-cmv388
-rw-r--r--tests/ref/fate/film-cvid-pcm-stereo-8bit218
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_fld0_full60
-rw-r--r--tests/ref/fate/h264-conformance-cabac_mot_picaff0_full60
-rw-r--r--tests/ref/fate/h264-conformance-cabref3_sand_d100
-rw-r--r--tests/ref/fate/h264-conformance-cafi1_sva_c66
-rw-r--r--tests/ref/fate/h264-conformance-cama1_vtc_c8
-rw-r--r--tests/ref/fate/h264-conformance-cama2_vtc_b8
-rw-r--r--tests/ref/fate/h264-conformance-cama3_vtc_b8
-rw-r--r--tests/ref/fate/h264-conformance-capa1_toshiba_b180
-rw-r--r--tests/ref/fate/h264-conformance-capama3_sand_f100
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b60
-rw-r--r--tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b60
-rw-r--r--tests/ref/fate/h264-conformance-cvfi1_sony_d34
-rw-r--r--tests/ref/fate/h264-conformance-cvfi1_sva_c14
-rw-r--r--tests/ref/fate/h264-conformance-cvfi2_sony_h34
-rw-r--r--tests/ref/fate/h264-conformance-cvfi2_sva_c26
-rw-r--r--tests/ref/fate/h264-conformance-cvmapaqp3_sony_e16
-rw-r--r--tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b60
-rw-r--r--tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b60
-rw-r--r--tests/ref/fate/h264-conformance-cvnlfi1_sony_c34
-rw-r--r--tests/ref/fate/h264-conformance-cvnlfi2_sony_h34
-rw-r--r--tests/ref/fate/h264-conformance-cvpa1_toshiba_b180
-rw-r--r--tests/ref/fate/h264-conformance-fi1_sony_e34
-rw-r--r--tests/ref/fate/h264-conformance-frext-bcrm_freh10200
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh11200
-rw-r--r--tests/ref/fate/h264-conformance-frext-brcm_freh4200
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh6200
-rw-r--r--tests/ref/fate/h264-conformance-frext-freh7_b200
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext2_panasonic_b30
-rw-r--r--tests/ref/fate/h264-conformance-frext-frext4_panasonic_a20
-rw-r--r--tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b20
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c600
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c600
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b600
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a600
-rw-r--r--tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a600
-rw-r--r--tests/ref/fate/h264-conformance-mr3_tandberg_b582
-rw-r--r--tests/ref/fate/h264-conformance-mr6_bt_b120
-rw-r--r--tests/ref/fate/h264-conformance-mr7_bt_b100
-rw-r--r--tests/ref/fate/h264-conformance-mr8_bt_b116
-rw-r--r--tests/ref/fate/h264-conformance-mr9_bt_b96
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_1_b30
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_2_b30
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_field_3_b30
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_paff_1r230
-rw-r--r--tests/ref/fate/h264-conformance-sharp_mp_paff_2r30
-rw-r--r--tests/ref/fate/mimic150
-rw-r--r--tests/ref/fate/mpeg2-field-enc62
-rw-r--r--tests/ref/fate/nuv17
-rw-r--r--tests/ref/fate/quickdraw2
-rw-r--r--tests/ref/fate/real-rv402
-rw-r--r--tests/ref/fate/sierra-vmd126
-rw-r--r--tests/ref/fate/tiertex-seq40
-rw-r--r--tests/ref/fate/tscc-32bit166
-rw-r--r--tests/ref/fate/vc1-ism238
-rw-r--r--tests/ref/fate/vc1_sa0004014
-rw-r--r--tests/ref/fate/vc1_sa0005030
-rw-r--r--tests/ref/fate/vc1_sa1009126
-rw-r--r--tests/ref/fate/vc1_sa2002162
-rw-r--r--tests/ref/fate/vmnc-32bit88
-rw-r--r--tests/ref/fate/vp8-sign-bias13
-rw-r--r--tests/ref/fate/wmv8-drm258
-rw-r--r--tests/ref/lavf/gxf2
71 files changed, 4486 insertions, 4486 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index b6d053b5f5..e6762ab6f9 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -1,5 +1,6 @@
+# FIXME dropped frames in this test because of coarse timebase
FATE_TESTS += fate-cscd
-fate-cscd: CMD = framecrc -i $(SAMPLES)/CSCD/sample_video.avi -an -vsync 0 -pix_fmt rgb24
+fate-cscd: CMD = framecrc -i $(SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24
FATE_TESTS += fate-dxtory
fate-dxtory: CMD = framecrc -i $(SAMPLES)/dxtory/dxtory_mic.avi
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index c90661eb64..098b3e6f33 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -142,8 +142,9 @@ fate-motionpixels: CMD = framecrc -i $(SAMPLES)/motion-pixels/INTRO-partial.MVI
FATE_TESTS += fate-mpeg2-field-enc
fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an
+# FIXME dropped frames in this test because of coarse timebase
FATE_TESTS += fate-nuv
-fate-nuv: CMD = framecrc -idct simple -i $(SAMPLES)/nuv/Today.nuv -vsync 0
+fate-nuv: CMD = framecrc -idct simple -i $(SAMPLES)/nuv/Today.nuv
FATE_TESTS += fate-qpeg
fate-qpeg: CMD = framecrc -i $(SAMPLES)/qpeg/Clock.avi -an -pix_fmt rgb24
diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index f55771e773..f6823651f5 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -33,8 +33,10 @@ endef
define FATE_VP8_FULL
$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
+# FIXME this file contains two frames with identical timestamps,
+# so avconv drops one of them
FATE_VP8 += fate-vp8-sign-bias$(1)
-fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf -vsync 0
+fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf
fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
endef
diff --git a/tests/ref/fate/bethsoft-vid b/tests/ref/fate/bethsoft-vid
index d6d2dd32b3..46083fa7df 100644
--- a/tests/ref/fate/bethsoft-vid
+++ b/tests/ref/fate/bethsoft-vid
@@ -1,143 +1,143 @@
#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
+0, 1, 1, 1, 192000, 0x00000000
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
+0, 5, 5, 1, 192000, 0x01a6cf45
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
+0, 10, 10, 1, 192000, 0xd07d57e9
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
+0, 14, 14, 1, 192000, 0x3cb1dff5
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
+0, 18, 18, 1, 192000, 0xd1aaa8fb
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
+0, 23, 23, 1, 192000, 0x75f526cd
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
+0, 27, 27, 1, 192000, 0x0f673577
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
+0, 31, 31, 1, 192000, 0x897b6781
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
+0, 35, 35, 1, 192000, 0x81e6b7f7
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
+0, 40, 40, 1, 192000, 0x1f45ce61
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
+0, 44, 44, 1, 192000, 0x5a0772a6
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
+0, 48, 48, 1, 192000, 0xf78732b3
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
+0, 53, 53, 1, 192000, 0x8427f9e5
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
+0, 57, 57, 1, 192000, 0x40473f11
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
+0, 61, 61, 1, 192000, 0x173ceebe
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
+0, 65, 65, 1, 192000, 0x136b9516
1, 12580, 12580, 925, 1850, 0xca6edb15
-0, 68, 68, 1, 192000, 0x0307f62f
-0, 69, 69, 1, 192000, 0x79b7417b
+0, 70, 70, 1, 192000, 0x138d11ae
1, 13505, 13505, 740, 1480, 0xba279597
+0, 74, 74, 1, 192000, 0x063dbff3
1, 14245, 14245, 740, 1480, 0xc5a38a9e
+0, 78, 78, 1, 192000, 0x5280852f
1, 14985, 14985, 925, 1850, 0x8147eef5
+0, 83, 83, 1, 192000, 0x99943a8f
1, 15910, 15910, 740, 1480, 0xce2c7cb5
+0, 87, 87, 1, 192000, 0x0330a728
1, 16650, 16650, 740, 1480, 0x4282819f
+0, 91, 91, 1, 192000, 0x5d35467d
1, 17390, 17390, 740, 1480, 0xbdbb8da6
+0, 95, 95, 1, 192000, 0xfd436343
1, 18130, 18130, 925, 1850, 0xdbbeea10
+0, 100, 100, 1, 192000, 0xc323fcfe
1, 19055, 19055, 740, 1480, 0xbe6a77c2
+0, 104, 104, 1, 192000, 0x2a1530a0
1, 19795, 19795, 740, 1480, 0xa85c75b2
+0, 108, 108, 1, 192000, 0xbd43bb60
1, 20535, 20535, 925, 1850, 0xa45bde21
+0, 113, 113, 1, 192000, 0xa47f5eab
1, 21460, 21460, 740, 1480, 0x84aa7895
+0, 117, 117, 1, 192000, 0xff17f5f7
1, 22200, 22200, 740, 1480, 0x147f7d9f
+0, 121, 121, 1, 192000, 0xb4140b55
1, 22940, 22940, 740, 1480, 0xc8e77b85
+0, 125, 125, 1, 192000, 0xb8782cc4
1, 23680, 23680, 925, 1850, 0x10d4d81b
+0, 130, 130, 1, 192000, 0x92975b8b
1, 24605, 24605, 740, 1480, 0xb4ae8bb1
+0, 134, 134, 1, 192000, 0xf42a64d6
1, 25345, 25345, 740, 1480, 0x3ef782a5
+0, 138, 138, 1, 192000, 0x2cc7077d
1, 26085, 26085, 925, 1850, 0xdeebda14
+0, 143, 143, 1, 192000, 0x00080cc8
1, 27010, 27010, 740, 1480, 0x4c7e7bbb
+0, 147, 147, 1, 192000, 0x584b48f3
1, 27750, 27750, 740, 1480, 0x0e0e9198
+0, 151, 151, 1, 192000, 0xd68f57da
1, 28490, 28490, 740, 1480, 0x5c1f819f
+0, 155, 155, 1, 192000, 0x60158422
1, 29230, 29230, 925, 1850, 0x0e4cf6ff
+0, 160, 160, 1, 192000, 0xd7fb89e6
1, 30155, 30155, 740, 1480, 0x374388a7
+0, 164, 164, 1, 192000, 0x97f1c76a
1, 30895, 30895, 740, 1480, 0xed729389
+0, 168, 168, 1, 192000, 0x46c4bb9e
1, 31635, 31635, 925, 1850, 0xe0f1e43f
+0, 173, 173, 1, 192000, 0xd32f9b66
1, 32560, 32560, 740, 1480, 0x3b27839a
+0, 177, 177, 1, 192000, 0x74f43886
1, 33300, 33300, 740, 1480, 0xe6287e94
+0, 181, 181, 1, 192000, 0x3c4e47df
1, 34040, 34040, 740, 1480, 0x7e0d84b5
+0, 185, 185, 1, 192000, 0xb5ac0a58
1, 34780, 34780, 925, 1850, 0xf08bebf7
+0, 190, 190, 1, 192000, 0xcc572b31
1, 35705, 35705, 740, 1480, 0x94cf73a0
+0, 194, 194, 1, 192000, 0xb1739d26
1, 36445, 36445, 740, 1480, 0xfef384ae
+0, 198, 198, 1, 192000, 0x73da5473
1, 37185, 37185, 925, 1850, 0x3b93e0f7
+0, 203, 203, 1, 192000, 0x5f79f5bc
1, 38110, 38110, 740, 1480, 0x28d27bae
+0, 207, 207, 1, 192000, 0x0affc0a0
1, 38850, 38850, 740, 1480, 0x94d57da5
+0, 211, 211, 1, 192000, 0x2b4d5c1c
1, 39590, 39590, 740, 1480, 0xc9327db5
+0, 215, 215, 1, 192000, 0x309b41bc
1, 40330, 40330, 925, 1850, 0xe781f604
+0, 220, 220, 1, 192000, 0xd42b6424
1, 41255, 41255, 740, 1480, 0x752f8c5b
+0, 224, 224, 1, 192000, 0x4795c948
1, 41995, 41995, 740, 1480, 0x30068032
+0, 228, 228, 1, 192000, 0xbc1a3a8b
1, 42735, 42735, 925, 1850, 0x7895023e
+0, 233, 233, 1, 192000, 0x16529c5b
1, 43660, 43660, 740, 1480, 0xa1e0a6e1
+0, 237, 237, 1, 192000, 0x6b1b31ba
1, 44400, 44400, 740, 1480, 0x6af4b500
+0, 241, 241, 1, 192000, 0x569182ce
1, 45140, 45140, 740, 1480, 0xc26ea4c7
+0, 245, 245, 1, 192000, 0xe6ea9866
1, 45880, 45880, 925, 1850, 0x16a72419
+0, 250, 250, 1, 192000, 0x102c6076
1, 46805, 46805, 740, 1480, 0x1794aacc
+0, 254, 254, 1, 192000, 0xb29f527a
1, 47545, 47545, 740, 1480, 0x2ecad8d0
+0, 258, 258, 1, 192000, 0x040b4eee
1, 48285, 48285, 925, 1850, 0x2e645e07
+0, 263, 263, 1, 192000, 0x92574f4a
1, 49210, 49210, 740, 1480, 0x1c54dfe7
+0, 267, 267, 1, 192000, 0x1e8acdce
1, 49950, 49950, 740, 1480, 0xbd35feec
+0, 271, 271, 1, 192000, 0x1becf516
1, 50690, 50690, 740, 1480, 0x419403d6
+0, 275, 275, 1, 192000, 0xb62e9776
1, 51430, 51430, 925, 1850, 0x78699d2a
+0, 280, 280, 1, 192000, 0xed37a08e
1, 52355, 52355, 740, 1480, 0x74ec68e0
+0, 284, 284, 1, 192000, 0xc0719912
1, 53095, 53095, 740, 1480, 0x76af64d9
+0, 288, 288, 1, 192000, 0x24cf7a7e
1, 53835, 53835, 925, 1850, 0x5a303d1a
+0, 293, 293, 1, 192000, 0x0307f62f
1, 54760, 54760, 537, 1074, 0x142ce7ba
+0, 297, 297, 1, 192000, 0x79b7417b
1, 55297, 55297, 925, 1850, 0x7ff682f7
diff --git a/tests/ref/fate/cscd b/tests/ref/fate/cscd
index 04b0c5521a..4ad046e7b3 100644
--- a/tests/ref/fate/cscd
+++ b/tests/ref/fate/cscd
@@ -13,7 +13,6 @@
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
@@ -38,172 +37,171 @@
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, 40, 40, 1, 270000, 0x1f9c15d8
+0, 41, 41, 1, 270000, 0x436f15d8
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, 43, 43, 1, 270000, 0xe90115d8
+0, 44, 44, 1, 270000, 0x8ea215d8
+0, 45, 45, 1, 270000, 0x424015d8
+0, 47, 47, 1, 270000, 0x0ce315d8
+0, 48, 48, 1, 270000, 0x14bc15d8
+0, 50, 50, 1, 270000, 0x2a9215d8
+0, 51, 51, 1, 270000, 0x233f15d8
+0, 53, 53, 1, 270000, 0x764b15d8
+0, 54, 54, 1, 270000, 0xf76115d8
+0, 56, 56, 1, 270000, 0xbbe015d8
+0, 57, 57, 1, 270000, 0x95af15d8
+0, 59, 59, 1, 270000, 0x324815d8
+0, 60, 60, 1, 270000, 0x311915d8
+0, 62, 62, 1, 270000, 0x090ef191
+0, 63, 63, 1, 270000, 0xd88974dc
+0, 65, 65, 1, 270000, 0xfa7f58df
+0, 66, 66, 1, 270000, 0x78f849c3
+0, 68, 68, 1, 270000, 0xae174892
+0, 69, 69, 1, 270000, 0x9d4e2332
+0, 71, 71, 1, 270000, 0x874b09b4
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, 73, 73, 1, 270000, 0x4069fed6
+0, 74, 74, 1, 270000, 0x4069fed6
+0, 75, 75, 1, 270000, 0x4069fed6
+0, 76, 76, 1, 270000, 0x4069fed6
+0, 77, 77, 1, 270000, 0x4069fed6
+0, 78, 78, 1, 270000, 0x4069fed6
+0, 79, 79, 1, 270000, 0x4069fed6
+0, 80, 80, 1, 270000, 0x4069fed6
+0, 81, 81, 1, 270000, 0x4069fed6
+0, 82, 82, 1, 270000, 0x4069fed6
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
+0, 90, 90, 1, 270000, 0x773db046
+0, 91, 91, 1, 270000, 0x773db046
+0, 92, 92, 1, 270000, 0x773db046
+0, 93, 93, 1, 270000, 0x773db046
+0, 94, 94, 1, 270000, 0x773db046
+0, 95, 95, 1, 270000, 0x773db046
+0, 96, 96, 1, 270000, 0x773db046
+0, 97, 97, 1, 270000, 0x773db046
+0, 98, 98, 1, 270000, 0x773db046
+0, 99, 99, 1, 270000, 0x773db046
+0, 100, 100, 1, 270000, 0x773db046
+0, 101, 101, 1, 270000, 0x773db046
+0, 102, 102, 1, 270000, 0x773db046
+0, 103, 103, 1, 270000, 0x773db046
+0, 104, 104, 1, 270000, 0x17b9aec9
+0, 105, 105, 1, 270000, 0x622fad4c
+0, 107, 107, 1, 270000, 0xdaea3aef
+0, 108, 108, 1, 270000, 0x61bb10e3
+0, 109, 109, 1, 270000, 0xfc37ee0c
+0, 110, 110, 1, 270000, 0x50dbd01e
+0, 112, 112, 1, 270000, 0xcd66c27c
+0, 113, 113, 1, 270000, 0xd13f1e4f
+0, 115, 115, 1, 270000, 0xa4a2dbf5
+0, 116, 116, 1, 270000, 0xf302c9ab
+0, 118, 118, 1, 270000, 0x4479f7fe
+0, 119, 119, 1, 270000, 0x1afe92c8
+0, 121, 121, 1, 270000, 0x3007f4c3
+0, 122, 122, 1, 270000, 0x5834c096
+0, 123, 123, 1, 270000, 0x40109126
+0, 124, 124, 1, 270000, 0x0a7b8882
+0, 126, 126, 1, 270000, 0x15b8635d
+0, 127, 127, 1, 270000, 0xeaa5598e
+0, 128, 128, 1, 270000, 0x0b7b5489
+0, 129, 129, 1, 270000, 0x0b7b5489
+0, 130, 130, 1, 270000, 0x0b7b5489
+0, 131, 131, 1, 270000, 0x0b7b5489
+0, 132, 132, 1, 270000, 0x8f0e6eaa
+0, 133, 133, 1, 270000, 0xc46fc0f2
+0, 134, 134, 1, 270000, 0xadd7e605
+0, 136, 136, 1, 270000, 0x9d23a056
+0, 137, 137, 1, 270000, 0x365afa63
+0, 139, 139, 1, 270000, 0x6ac3bda2
+0, 140, 140, 1, 270000, 0x14f5daf2
+0, 142, 142, 1, 270000, 0x4b3afb6a
+0, 143, 143, 1, 270000, 0x1a3302e3
+0, 144, 144, 1, 270000, 0x1a3302e3
+0, 145, 145, 1, 270000, 0x1a3302e3
+0, 146, 146, 1, 270000, 0x1a3302e3
+0, 147, 147, 1, 270000, 0xc15526e2
+0, 148, 148, 1, 270000, 0x3dd73006
+0, 150, 150, 1, 270000, 0x60abb5bc
+0, 151, 151, 1, 270000, 0xb960c27c
+0, 152, 152, 1, 270000, 0x8fa4c01c
+0, 153, 153, 1, 270000, 0x8fa4c01c
+0, 154, 154, 1, 270000, 0x8fa4c01c
+0, 155, 155, 1, 270000, 0xb20dcc38
+0, 157, 157, 1, 270000, 0x03c6ad3c
+0, 158, 158, 1, 270000, 0xe550b194
+0, 159, 159, 1, 270000, 0xe550b194
+0, 160, 160, 1, 270000, 0xe550b194
+0, 161, 161, 1, 270000, 0xe550b194
+0, 162, 162, 1, 270000, 0xe550b194
+0, 163, 163, 1, 270000, 0xe550b194
+0, 164, 164, 1, 270000, 0xe550b194
+0, 165, 165, 1, 270000, 0xe550b194
+0, 166, 166, 1, 270000, 0xe550b194
+0, 167, 167, 1, 270000, 0xe550b194
+0, 168, 168, 1, 270000, 0xe550b194
+0, 169, 169, 1, 270000, 0xe550b194
+0, 170, 170, 1, 270000, 0xe550b194
+0, 171, 171, 1, 270000, 0xe550b194
+0, 172, 172, 1, 270000, 0x4550a014
+0, 173, 173, 1, 270000, 0xaf639da8
+0, 175, 175, 1, 270000, 0xe4229da8
+0, 176, 176, 1, 270000, 0x315d9da8
+0, 177, 177, 1, 270000, 0x7e899da8
+0, 178, 178, 1, 270000, 0x99b9a8a0
+0, 179, 179, 1, 270000, 0x4588ac2a
+0, 181, 181, 1, 270000, 0x1e79ae6e
+0, 182, 182, 1, 270000, 0xa003cb14
+0, 184, 184, 1, 270000, 0x03ef1bb8
+0, 185, 185, 1, 270000, 0x3b3f30fc
+0, 187, 187, 1, 270000, 0x4dad3525
+0, 188, 188, 1, 270000, 0x5b600c12
+0, 190, 190, 1, 270000, 0x75a1fab3
+0, 191, 191, 1, 270000, 0xc9f7d9ad
+0, 193, 193, 1, 270000, 0x9eaec58d
+0, 194, 194, 1, 270000, 0xb91bc3e8
+0, 196, 196, 1, 270000, 0x77bdbbfb
+0, 197, 197, 1, 270000, 0x77bdbbfb
+0, 198, 198, 1, 270000, 0x77bdbbfb
+0, 199, 199, 1, 270000, 0x77bdbbfb
+0, 200, 200, 1, 270000, 0x77bdbbfb
+0, 201, 201, 1, 270000, 0x77bdbbfb
+0, 202, 202, 1, 270000, 0x3d54eac2
+0, 203, 203, 1, 270000, 0x3d54eac2
+0, 204, 204, 1, 270000, 0x3d54eac2
+0, 205, 205, 1, 270000, 0x3d54eac2
+0, 206, 206, 1, 270000, 0x3d54eac2
+0, 208, 208, 1, 270000, 0x3d54eac2
+0, 209, 209, 1, 270000, 0x3d54eac2
+0, 210, 210, 1, 270000, 0x3d54eac2
+0, 211, 211, 1, 270000, 0x3d54eac2
+0, 212, 212, 1, 270000, 0x3d54eac2
+0, 213, 213, 1, 270000, 0x3d54eac2
+0, 214, 214, 1, 270000, 0x3d54eac2
+0, 215, 215, 1, 270000, 0x3d54eac2
+0, 216, 216, 1, 270000, 0x3d54eac2
+0, 217, 217, 1, 270000, 0x3d54eac2
+0, 218, 218, 1, 270000, 0x3d54eac2
+0, 219, 219, 1, 270000, 0x3d54eac2
+0, 220, 220, 1, 270000, 0x3d54eac2
+0, 222, 222, 1, 270000, 0x5f3609ba
+0, 223, 223, 1, 270000, 0x80921b0c
+0, 224, 224, 1, 270000, 0x80921b0c
+0, 225, 225, 1, 270000, 0x80921b0c
+0, 226, 226, 1, 270000, 0x80921b0c
+0, 227, 227, 1, 270000, 0x80921b0c
+0, 228, 228, 1, 270000, 0x80921b0c
+0, 229, 229, 1, 270000, 0x80921b0c
+0, 230, 230, 1, 270000, 0x80921b0c
+0, 231, 231, 1, 270000, 0x80921b0c
+0, 232, 232, 1, 270000, 0x80921b0c
+0, 233, 233, 1, 270000, 0x80921b0c
+0, 234, 234, 1, 270000, 0x80921b0c
+0, 235, 235, 1, 270000, 0x80921b0c
+0, 236, 236, 1, 270000, 0x80921b0c
+0, 237, 237, 1, 270000, 0x80921b0c
+0, 238, 238, 1, 270000, 0x80921b0c
+0, 239, 239, 1, 270000, 0xf0e626a8
+0, 240, 240, 1, 270000, 0xf0e626a8
diff --git a/tests/ref/fate/deluxepaint-anm b/tests/ref/fate/deluxepaint-anm
index 063e406152..e69b95e125 100644
--- a/tests/ref/fate/deluxepaint-anm
+++ b/tests/ref/fate/deluxepaint-anm
@@ -69,56 +69,56 @@
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
+0, 103, 103, 1, 192000, 0x362931f5
+0, 104, 104, 1, 192000, 0xfb41331d
+0, 105, 105, 1, 192000, 0x087433f8
+0, 106, 106, 1, 192000, 0xf36b34a6
+0, 107, 107, 1, 192000, 0x652a33cd
+0, 108, 108, 1, 192000, 0x652a33cd
+0, 109, 109, 1, 192000, 0xe50c336a
+0, 110, 110, 1, 192000, 0x652a33cd
+0, 111, 111, 1, 192000, 0xeed134c6
+0, 112, 112, 1, 192000, 0x652a33cd
+0, 113, 113, 1, 192000, 0x5d7633e5
+0, 114, 114, 1, 192000, 0x845233b5
+0, 115, 115, 1, 192000, 0x9d1c349b
+0, 116, 116, 1, 192000, 0x25843317
+0, 117, 117, 1, 192000, 0xc84b375c
+0, 118, 118, 1, 192000, 0xaf2b3410
+0, 119, 119, 1, 192000, 0xaf2b3410
+0, 120, 120, 1, 192000, 0x26d23594
+0, 121, 121, 1, 192000, 0xaf2b3410
+0, 122, 122, 1, 192000, 0x26d23594
+0, 123, 123, 1, 192000, 0xaf2b3410
+0, 124, 124, 1, 192000, 0x72c4dfb9
+0, 125, 125, 1, 192000, 0x3c72e390
+0, 126, 126, 1, 192000, 0xb4466634
+0, 127, 127, 1, 192000, 0x84f064f5
+0, 128, 128, 1, 192000, 0xad43f3f5
+0, 129, 129, 1, 192000, 0xa8644d57
+0, 130, 130, 1, 192000, 0xfac35238
+0, 131, 131, 1, 192000, 0xe9374d1e
+0, 132, 132, 1, 192000, 0x0bd14cfa
+0, 133, 133, 1, 192000, 0x7e51a437
+0, 134, 134, 1, 192000, 0x92678dfa
+0, 135, 135, 1, 192000, 0x43338d41
+0, 136, 136, 1, 192000, 0x00000000
+0, 137, 137, 1, 192000, 0x00000000
+0, 138, 138, 1, 192000, 0x00000000
+0, 139, 139, 1, 192000, 0x00000000
+0, 140, 140, 1, 192000, 0x00000000
+0, 141, 141, 1, 192000, 0x00000000
+0, 142, 142, 1, 192000, 0x00000000
+0, 143, 143, 1, 192000, 0x00000000
+0, 144, 144, 1, 192000, 0x00000000
+0, 145, 145, 1, 192000, 0x00000000
+0, 146, 146, 1, 192000, 0x00000000
+0, 147, 147, 1, 192000, 0x00000000
+0, 148, 148, 1, 192000, 0x00000000
+0, 149, 149, 1, 192000, 0x00000000
+0, 150, 150, 1, 192000, 0x00000000
+0, 151, 151, 1, 192000, 0x00000000
+0, 152, 152, 1, 192000, 0x00000000
+0, 153, 153, 1, 192000, 0x00000000
+0, 154, 154, 1, 192000, 0x00000000
+0, 155, 155, 1, 192000, 0x82a79641
diff --git a/tests/ref/fate/dfa4 b/tests/ref/fate/dfa4
index 129ef4ba58..67b5722b2a 100644
--- a/tests/ref/fate/dfa4
+++ b/tests/ref/fate/dfa4
@@ -1,14 +1,14 @@
#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, 1, 1, 1, 921600, 0xe6309638
+0, 2, 2, 1, 921600, 0xa99a7665
+0, 3, 3, 1, 921600, 0x172ccfbb
+0, 4, 4, 1, 921600, 0xcf676571
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
+0, 10, 10, 1, 921600, 0x6a5077f2
+0, 11, 11, 1, 921600, 0xb83db404
+0, 12, 12, 1, 921600, 0x997ceb90
+0, 13, 13, 1, 921600, 0xd707157c
diff --git a/tests/ref/fate/ea-cmv b/tests/ref/fate/ea-cmv
index 8f9049e907..18f2b3ae15 100644
--- a/tests/ref/fate/ea-cmv
+++ b/tests/ref/fate/ea-cmv
@@ -1,195 +1,195 @@
#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
+0, 1, 1, 1, 120000, 0x34ac91d2
+0, 2, 2, 1, 120000, 0x17150729
+0, 3, 3, 1, 120000, 0xc3f510bb
+0, 4, 4, 1, 120000, 0xb3b14a3b
+0, 5, 5, 1, 120000, 0x26a7f3d1
+0, 6, 6, 1, 120000, 0xd161af6f
+0, 7, 7, 1, 120000, 0x459fc92d
+0, 8, 8, 1, 120000, 0x05c3fa94
+0, 9, 9, 1, 120000, 0x6630cd8c
+0, 10, 10, 1, 120000, 0x60cd39d4
+0, 11, 11, 1, 120000, 0xc8854d1c
+0, 12, 12, 1, 120000, 0xe55e8e6d
+0, 13, 13, 1, 120000, 0xbeab201f
+0, 14, 14, 1, 120000, 0x70744b0b
+0, 15, 15, 1, 120000, 0x80dea5d0
+0, 16, 16, 1, 120000, 0x769bfa1c
+0, 17, 17, 1, 120000, 0x04e25bbe
+0, 18, 18, 1, 120000, 0x48abc5a5
+0, 19, 19, 1, 120000, 0xda5c4e2a
+0, 20, 20, 1, 120000, 0x8de96d38
+0, 21, 21, 1, 120000, 0xe96418b0
+0, 22, 22, 1, 120000, 0x1c2f272b
+0, 23, 23, 1, 120000, 0x4b755804
+0, 24, 24, 1, 120000, 0xc92f96fd
+0, 25, 25, 1, 120000, 0x69e90ebb
+0, 26, 26, 1, 120000, 0x78d4bd1a
+0, 27, 27, 1, 120000, 0xaf2edf55
+0, 28, 28, 1, 120000, 0x94161c78
+0, 29, 29, 1, 120000, 0x1109094d
+0, 30, 30, 1, 120000, 0xc61b0392
+0, 31, 31, 1, 120000, 0xc157d003
+0, 32, 32, 1, 120000, 0xf2747e7b
+0, 33, 33, 1, 120000, 0xa36299c2
+0, 34, 34, 1, 120000, 0x49bc788c
+0, 35, 35, 1, 120000, 0x3bee336e
+0, 36, 36, 1, 120000, 0xa316b9d1
+0, 37, 37, 1, 120000, 0x5cc32e9c
+0, 38, 38, 1, 120000, 0x9f7eca16
+0, 39, 39, 1, 120000, 0x958e2988
+0, 40, 40, 1, 120000, 0xebcba2f1
+0, 41, 41, 1, 120000, 0x281f1e60
+0, 42, 42, 1, 120000, 0x82256c4d
+0, 43, 43, 1, 120000, 0xddc8be56
+0, 44, 44, 1, 120000, 0x64ff2ed0
+0, 45, 45, 1, 120000, 0x3e63ab02
+0, 46, 46, 1, 120000, 0x43f78b37
+0, 47, 47, 1, 120000, 0xb7cc62d4
+0, 48, 48, 1, 120000, 0x694f1764
+0, 49, 49, 1, 120000, 0x2264c483
+0, 51, 51, 1, 120000, 0xb6680b4a
+0, 52, 52, 1, 120000, 0x2a92626a
+0, 53, 53, 1, 120000, 0x8da02509
+0, 54, 54, 1, 120000, 0xa976c382
+0, 55, 55, 1, 120000, 0x749e822b
+0, 56, 56, 1, 120000, 0xe9e7fc8c
+0, 57, 57, 1, 120000, 0xfdc05a0c
+0, 58, 58, 1, 120000, 0x7d5a856d
+0, 59, 59, 1, 120000, 0xcc344937
+0, 60, 60, 1, 120000, 0x9d90bc67
+0, 61, 61, 1, 120000, 0x3f527712
+0, 62, 62, 1, 120000, 0xf0f57f97
+0, 63, 63, 1, 120000, 0xc29535cd
+0, 64, 64, 1, 120000, 0x9a64598b
+0, 65, 65, 1, 120000, 0x0d1ddf7c
+0, 66, 66, 1, 120000, 0xb580ec24
+0, 67, 67, 1, 120000, 0xf0db5bbc
+0, 68, 68, 1, 120000, 0x6b980b61
+0, 69, 69, 1, 120000, 0xc29f30b5
+0, 70, 70, 1, 120000, 0xaf2c4bcd
+0, 71, 71, 1, 120000, 0x1e725645
+0, 72, 72, 1, 120000, 0x295c4c96
+0, 73, 73, 1, 120000, 0x7ea121a2
+0, 74, 74, 1, 120000, 0xdb9e9cec
+0, 75, 75, 1, 120000, 0x1da47c80
+0, 76, 76, 1, 120000, 0x9d0c1345
+0, 77, 77, 1, 120000, 0x88058527
+0, 78, 78, 1, 120000, 0x46766aed
+0, 79, 79, 1, 120000, 0xba520bd3
+0, 80, 80, 1, 120000, 0x7fb6373c
+0, 81, 81, 1, 120000, 0x05a86f4d
+0, 82, 82, 1, 120000, 0x7fb47cbd
+0, 83, 83, 1, 120000, 0x6814d8ca
+0, 84, 84, 1, 120000, 0x9c13acb8
+0, 85, 85, 1, 120000, 0xad0edbfe
+0, 86, 86, 1, 120000, 0x352fde81
+0, 87, 87, 1, 120000, 0xa654b386
+0, 88, 88, 1, 120000, 0xd3b3dc72
+0, 89, 89, 1, 120000, 0x01572668
+0, 90, 90, 1, 120000, 0x30189e03
+0, 91, 91, 1, 120000, 0x26126d30
+0, 92, 92, 1, 120000, 0x4f376c7d
+0, 93, 93, 1, 120000, 0xd3667bcf
+0, 94, 94, 1, 120000, 0x0b46b3d5
+0, 95, 95, 1, 120000, 0x893415ef
+0, 96, 96, 1, 120000, 0x99a78749
+0, 97, 97, 1, 120000, 0x6da0d8e9
+0, 98, 98, 1, 120000, 0x22d8ceb6
+0, 99, 99, 1, 120000, 0x67ef9be8
+0, 100, 100, 1, 120000, 0xb696fb53
+0, 101, 101, 1, 120000, 0x70339dab
+0, 102, 102, 1, 120000, 0xc1876efa
+0, 103, 103, 1, 120000, 0x80e78c92
+0, 104, 104, 1, 120000, 0x18d2f2ac
+0, 105, 105, 1, 120000, 0x28be9ae4
+0, 106, 106, 1, 120000, 0xc3c2c190
+0, 107, 107, 1, 120000, 0xd6a859d8
+0, 108, 108, 1, 120000, 0x40b9046d
+0, 109, 109, 1, 120000, 0x7f8d5999
+0, 110, 110, 1, 120000, 0x89724027
+0, 111, 111, 1, 120000, 0x4c15c988
+0, 112, 112, 1, 120000, 0x812ebe08
+0, 113, 113, 1, 120000, 0x273ef8e2
+0, 114, 114, 1, 120000, 0xe029de06
+0, 115, 115, 1, 120000, 0x5846127c
+0, 116, 116, 1, 120000, 0x6c5df8e3
+0, 117, 117, 1, 120000, 0x7424919f
+0, 118, 118, 1, 120000, 0xa8313015
+0, 119, 119, 1, 120000, 0x28878ab4
+0, 120, 120, 1, 120000, 0x126d0746
+0, 121, 121, 1, 120000, 0xee3f7138
+0, 122, 122, 1, 120000, 0xd4b2e0a1
+0, 123, 123, 1, 120000, 0x8d60bfff
+0, 124, 124, 1, 120000, 0x701c23d0
+0, 125, 125, 1, 120000, 0x1cbb5654
+0, 126, 126, 1, 120000, 0x0f5853e9
+0, 127, 127, 1, 120000, 0x2a5c3339
+0, 128, 128, 1, 120000, 0x86b00350
+0, 129, 129, 1, 120000, 0xe8cc6931
+0, 130, 130, 1, 120000, 0xf1cad983
+0, 131, 131, 1, 120000, 0xabcd8704
+0, 132, 132, 1, 120000, 0x89592f94
+0, 133, 133, 1, 120000, 0x100486d9
+0, 134, 134, 1, 120000, 0x60ef9e2d
+0, 135, 135, 1, 120000, 0x2485176a
+0, 136, 136, 1, 120000, 0x6b8c360d
+0, 137, 137, 1, 120000, 0xe2e1bf4f
+0, 138, 138, 1, 120000, 0xe17b65c3
+0, 139, 139, 1, 120000, 0x2a42821a
+0, 140, 140, 1, 120000, 0xbe9ddba7
+0, 141, 141, 1, 120000, 0x19f937fe
+0, 142, 142, 1, 120000, 0xb7e0c600
+0, 143, 143, 1, 120000, 0xfbf8c5f6
+0, 144, 144, 1, 120000, 0x93b62f93
+0, 145, 145, 1, 120000, 0xb6ddec93
+0, 146, 146, 1, 120000, 0xa04d031b
+0, 147, 147, 1, 120000, 0x61c986c0
+0, 148, 148, 1, 120000, 0x3516e54a
+0, 149, 149, 1, 120000, 0x3489eb2c
+0, 150, 150, 1, 120000, 0xb75a4827
+0, 151, 151, 1, 120000, 0x76031a80
+0, 152, 152, 1, 120000, 0x867c3969
+0, 153, 153, 1, 120000, 0x9b63a093
+0, 154, 154, 1, 120000, 0xcb253d8a
+0, 155, 155, 1, 120000, 0x354ba3b2
+0, 156, 156, 1, 120000, 0x4d5ead8c
+0, 157, 157, 1, 120000, 0x7b7029ae
+0, 158, 158, 1, 120000, 0x4765ab9d
+0, 159, 159, 1, 120000, 0x747cdee9
+0, 160, 160, 1, 120000, 0x20989b08
+0, 161, 161, 1, 120000, 0x3a957085
+0, 162, 162, 1, 120000, 0xdd49e8ad
+0, 163, 163, 1, 120000, 0x00e89719
+0, 164, 164, 1, 120000, 0x2822aa76
+0, 165, 165, 1, 120000, 0x492388f3
+0, 166, 166, 1, 120000, 0x4dffa6ee
+0, 167, 167, 1, 120000, 0xc382bb83
+0, 168, 168, 1, 120000, 0xb59aaa74
+0, 169, 169, 1, 120000, 0x7c7885d3
+0, 170, 170, 1, 120000, 0xc05ee219
+0, 171, 171, 1, 120000, 0xc3df6b73
+0, 172, 172, 1, 120000, 0x8ae31170
+0, 173, 173, 1, 120000, 0xb979fdce
+0, 174, 174, 1, 120000, 0xb8f9e407
+0, 175, 175, 1, 120000, 0x56675b80
+0, 176, 176, 1, 120000, 0x1aad1ce2
+0, 177, 177, 1, 120000, 0xa050a52b
+0, 178, 178, 1, 120000, 0x49f8c32f
+0, 179, 179, 1, 120000, 0x8e7f4d2c
+0, 180, 180, 1, 120000, 0x5c07f751
+0, 181, 181, 1, 120000, 0x67fa5523
+0, 182, 182, 1, 120000, 0xf38b933a
+0, 183, 183, 1, 120000, 0xb113e202
+0, 184, 184, 1, 120000, 0xb8d99ff4
+0, 185, 185, 1, 120000, 0x15ab6cc6
+0, 186, 186, 1, 120000, 0xd64a51c9
+0, 187, 187, 1, 120000, 0x2088b53c
+0, 188, 188, 1, 120000, 0xdd78d40a
+0, 189, 189, 1, 120000, 0x2fb58848
+0, 190, 190, 1, 120000, 0xf775d36a
+0, 191, 191, 1, 120000, 0xa03987e9
+0, 192, 192, 1, 120000, 0x457322ad
+0, 193, 193, 1, 120000, 0x0f6c3d1c
+0, 194, 194, 1, 120000, 0xbdf2f1a5
+0, 195, 195, 1, 120000, 0x5828ee1d
diff --git a/tests/ref/fate/film-cvid-pcm-stereo-8bit b/tests/ref/fate/film-cvid-pcm-stereo-8bit
index 3062815d2c..40851e263d 100644
--- a/tests/ref/fate/film-cvid-pcm-stereo-8bit
+++ b/tests/ref/fate/film-cvid-pcm-stereo-8bit
@@ -2,140 +2,140 @@
#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
+0, 2, 2, 1, 107520, 0x61eb28c1
+0, 4, 4, 1, 107520, 0x45e20af7
+0, 6, 6, 1, 107520, 0x366970fc
+0, 8, 8, 1, 107520, 0xa392bcb3
+0, 10, 10, 1, 107520, 0xcf7bac98
+0, 12, 12, 1, 107520, 0x222eba53
+0, 14, 14, 1, 107520, 0x74e255a1
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
+0, 16, 16, 1, 107520, 0xc19eec6f
+0, 18, 18, 1, 107520, 0xa3880681
+0, 20, 20, 1, 107520, 0x957878db
+0, 22, 22, 1, 107520, 0x18340692
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
+0, 24, 24, 1, 107520, 0x9970f24d
+0, 26, 26, 1, 107520, 0xf08618aa
+0, 28, 28, 1, 107520, 0xee7324f0
+0, 30, 30, 1, 107520, 0xe15025b3
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
+0, 32, 32, 1, 107520, 0x8afa312e
+0, 34, 34, 1, 107520, 0x717a7d0f
+0, 36, 36, 1, 107520, 0x355c6e23
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
+0, 38, 38, 1, 107520, 0x7015a50f
+0, 40, 40, 1, 107520, 0xcdfc1a16
+0, 42, 42, 1, 107520, 0x38d929e7
+0, 44, 44, 1, 107520, 0x52913423
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
+0, 46, 46, 1, 107520, 0xe2c91c10
+0, 48, 48, 1, 107520, 0x85516e9c
+0, 50, 50, 1, 107520, 0xd1626030
+0, 52, 52, 1, 107520, 0xea7b16de
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
+0, 54, 54, 1, 107520, 0xa33eaa0d
+0, 56, 56, 1, 107520, 0x8e3be6a6
+0, 58, 58, 1, 107520, 0x14147bd6
+0, 60, 60, 1, 107520, 0x07d54bec
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
+0, 62, 62, 1, 107520, 0xe287a0a7
+0, 64, 64, 1, 107520, 0xc023a14d
+0, 66, 66, 1, 107520, 0x2437085d
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
+0, 68, 68, 1, 107520, 0x63823918
+0, 70, 70, 1, 107520, 0xbc17e198
+0, 72, 72, 1, 107520, 0x9d99bc81
+0, 74, 74, 1, 107520, 0x7e4ec71e
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
+0, 76, 76, 1, 107520, 0x55b98376
+0, 78, 78, 1, 107520, 0x356d8e9e
+0, 80, 80, 1, 107520, 0xf77e8a61
+0, 82, 82, 1, 107520, 0x5ae7c8c7
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
+0, 84, 84, 1, 107520, 0x8acf9322
+0, 86, 86, 1, 107520, 0x40a9177e
+0, 88, 88, 1, 107520, 0x3e0e4d8d
+0, 90, 90, 1, 107520, 0xd268865b
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
+0, 92, 92, 1, 107520, 0x89a4efeb
+0, 94, 94, 1, 107520, 0x70ca2478
+0, 96, 96, 1, 107520, 0xcc9ec981
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
+0, 98, 98, 1, 107520, 0xf0648459
+0, 100, 100, 1, 107520, 0x7e4a4cca
+0, 102, 102, 1, 107520, 0xb315dc65
+0, 104, 104, 1, 107520, 0x2aecc7b4
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
+0, 106, 106, 1, 107520, 0x81742f51
+0, 108, 108, 1, 107520, 0x3a1d7571
+0, 110, 110, 1, 107520, 0x3a1d7571
+0, 112, 112, 1, 107520, 0x3a1d7571
1, 165384, 165384, 11016, 44064, 0xed2c7dfb
+0, 114, 114, 1, 107520, 0x3a1d7571
+0, 116, 116, 1, 107520, 0x3a1d7571
+0, 118, 118, 1, 107520, 0x3a1d7571
+0, 120, 120, 1, 107520, 0x3a1d7571
1, 176400, 176400, 11028, 44112, 0x9e475274
+0, 122, 122, 1, 107520, 0xe974733e
+0, 124, 124, 1, 107520, 0x999c6fbf
+0, 126, 126, 1, 107520, 0x26b56b6e
1, 187428, 187428, 11028, 44112, 0x541f05d4
+0, 128, 128, 1, 107520, 0xc9f9647b
+0, 130, 130, 1, 107520, 0x6d025d00
+0, 132, 132, 1, 107520, 0xf9c056c1
+0, 134, 134, 1, 107520, 0xa5cc4d0b
1, 198456, 198456, 11028, 44112, 0x09e39025
+0, 136, 136, 1, 107520, 0x1a4c4236
+0, 138, 138, 1, 107520, 0xa9d538b6
+0, 140, 140, 1, 107520, 0x14682d00
+0, 142, 142, 1, 107520, 0x6236204f
1, 209484, 209484, 11016, 44064, 0xdc111087
+0, 144, 144, 1, 107520, 0x303e14aa
+0, 146, 146, 1, 107520, 0x943b0837
+0, 148, 148, 1, 107520, 0xfce5fd07
+0, 150, 150, 1, 107520, 0xd993f193
1, 220500, 220500, 11028, 44112, 0xb8f86e48
+0, 152, 152, 1, 107520, 0x4d48e7b4
+0, 154, 154, 1, 107520, 0x61ccdf83
+0, 156, 156, 1, 107520, 0xfb4fd608
1, 231528, 231528, 11028, 44112, 0xa1e0c75c
+0, 158, 158, 1, 107520, 0x5efdcdb3
+0, 160, 160, 1, 107520, 0xb03ec886
+0, 162, 162, 1, 107520, 0xf464c343
+0, 164, 164, 1, 107520, 0xf464c343
1, 242556, 242556, 11028, 44112, 0x0654dcb0
+0, 166, 166, 1, 107520, 0xf464c343
+0, 168, 168, 1, 107520, 0xf464c343
+0, 170, 170, 1, 107520, 0xf464c343
+0, 172, 172, 1, 107520, 0xf464c343
1, 253584, 253584, 11016, 44064, 0xb921e11a
+0, 174, 174, 1, 107520, 0xf464c343
+0, 176, 176, 1, 107520, 0xf464c343
+0, 178, 178, 1, 107520, 0xf464c343
+0, 180, 180, 1, 107520, 0xf464c343
1, 264600, 264600, 11028, 44112, 0xe0ac619f
+0, 182, 182, 1, 107520, 0xf464c343
+0, 184, 184, 1, 107520, 0xf2b2c712
+0, 186, 186, 1, 107520, 0xf2b2c712
1, 275628, 275628, 11028, 44112, 0xb07aa65c
+0, 188, 188, 1, 107520, 0xf2b2c712
+0, 190, 190, 1, 107520, 0xf2b2c712
+0, 192, 192, 1, 107520, 0xb95e6bc8
+0, 194, 194, 1, 107520, 0x33feee37
1, 286656, 286656, 11028, 44112, 0x24610ff0
+0, 196, 196, 1, 107520, 0x36ee3cd5
+0, 198, 198, 1, 107520, 0x59096471
+0, 200, 200, 1, 107520, 0x53b470c6
+0, 202, 202, 1, 107520, 0xdb7c64ff
1, 297684, 297684, 11016, 44064, 0x00000000
+0, 204, 204, 1, 107520, 0xe5a1596a
+0, 206, 206, 1, 107520, 0x8c8942eb
+0, 208, 208, 1, 107520, 0x5ecc379e
+0, 210, 210, 1, 107520, 0xea09432a
1, 308700, 308700, 11028, 44112, 0x00000000
+0, 212, 212, 1, 107520, 0xe01e6b73
+0, 214, 214, 1, 107520, 0x1d13bba8
+0, 216, 216, 1, 107520, 0x3a993a6c
1, 319728, 319728, 2200, 8800, 0x00000000
+0, 218, 218, 1, 107520, 0x2ede041a
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_fld0_full b/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
index b131cdaa26..d1093c1262 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
@@ -1,31 +1,31 @@
#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
+0, 2, 2, 1, 518400, 0xbf168f4e
+0, 4, 4, 1, 518400, 0xeda5e54f
+0, 6, 6, 1, 518400, 0xef496d43
+0, 8, 8, 1, 518400, 0x6b68dad5
+0, 10, 10, 1, 518400, 0x9a40a7de
+0, 12, 12, 1, 518400, 0x0c21c018
+0, 14, 14, 1, 518400, 0x4ac5a846
+0, 16, 16, 1, 518400, 0x3a1aa817
+0, 18, 18, 1, 518400, 0xcc4eb434
+0, 20, 20, 1, 518400, 0x4368a3c2
+0, 22, 22, 1, 518400, 0xb923682f
+0, 24, 24, 1, 518400, 0xd95460a8
+0, 26, 26, 1, 518400, 0x8e8518aa
+0, 28, 28, 1, 518400, 0x292a1a80
+0, 30, 30, 1, 518400, 0xbada388e
+0, 32, 32, 1, 518400, 0xa67f63c9
+0, 34, 34, 1, 518400, 0x9fc77e21
+0, 36, 36, 1, 518400, 0xe99dc2ac
+0, 38, 38, 1, 518400, 0x17d7d080
+0, 40, 40, 1, 518400, 0x41760c0b
+0, 42, 42, 1, 518400, 0x3c70f34d
+0, 44, 44, 1, 518400, 0x0d640285
+0, 46, 46, 1, 518400, 0x448893e8
+0, 48, 48, 1, 518400, 0x08194490
+0, 50, 50, 1, 518400, 0xcf227031
+0, 52, 52, 1, 518400, 0x8d94587d
+0, 54, 54, 1, 518400, 0x696fca01
+0, 56, 56, 1, 518400, 0xe0ab234b
+0, 58, 58, 1, 518400, 0x0620153b
+0, 59, 59, 1, 518400, 0xb78c146c
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full b/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
index 484025e576..32210af809 100644
--- a/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
+++ b/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
@@ -1,31 +1,31 @@
#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
+0, 1, 1, 1, 518400, 0xd8b58a23
+0, 3, 3, 1, 518400, 0xe53b4aba
+0, 4, 4, 1, 518400, 0x6cbca47a
+0, 5, 5, 1, 518400, 0xceb51253
+0, 6, 6, 1, 518400, 0x60cb3cdd
+0, 8, 8, 1, 518400, 0x7b633553
+0, 10, 10, 1, 518400, 0x10c012c9
+0, 12, 12, 1, 518400, 0xa340ee20
+0, 13, 13, 1, 518400, 0x574c22c2
+0, 14, 14, 1, 518400, 0xbcdb1bf7
+0, 15, 15, 1, 518400, 0x57811e9a
+0, 17, 17, 1, 518400, 0xdd4af748
+0, 19, 19, 1, 518400, 0xb931a637
+0, 21, 21, 1, 518400, 0xcef6ce95
+0, 22, 22, 1, 518400, 0xd28c7085
+0, 23, 23, 1, 518400, 0xae9daf53
+0, 24, 24, 1, 518400, 0xca29d819
+0, 26, 26, 1, 518400, 0x3c4bd7eb
+0, 28, 28, 1, 518400, 0x912ee227
+0, 30, 30, 1, 518400, 0xb67d0e27
+0, 31, 31, 1, 518400, 0x8cf7309d
+0, 32, 32, 1, 518400, 0x358ad344
+0, 33, 33, 1, 518400, 0x4462c642
+0, 35, 35, 1, 518400, 0x3bb43428
+0, 37, 37, 1, 518400, 0x12d6f8ca
+0, 39, 39, 1, 518400, 0x003f13aa
+0, 40, 40, 1, 518400, 0x6cd8c432
+0, 41, 41, 1, 518400, 0xee5ff01b
+0, 43, 43, 1, 518400, 0xba0616ee
+0, 44, 44, 1, 518400, 0x37fa7891
diff --git a/tests/ref/fate/h264-conformance-cabref3_sand_d b/tests/ref/fate/h264-conformance-cabref3_sand_d
index 9e555f6ee6..247ac2e9be 100644
--- a/tests/ref/fate/h264-conformance-cabref3_sand_d
+++ b/tests/ref/fate/h264-conformance-cabref3_sand_d
@@ -1,51 +1,51 @@
#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
+0, 2, 2, 1, 152064, 0x2061bbd0
+0, 4, 4, 1, 152064, 0x41adb750
+0, 6, 6, 1, 152064, 0x6e889e90
+0, 8, 8, 1, 152064, 0xbb5e60f5
+0, 10, 10, 1, 152064, 0x5a32eca7
+0, 12, 12, 1, 152064, 0x5cb05e88
+0, 14, 14, 1, 152064, 0x2fff3e6c
+0, 16, 16, 1, 152064, 0xd917c85e
+0, 18, 18, 1, 152064, 0x6eac446f
+0, 20, 20, 1, 152064, 0x238b24b0
+0, 22, 22, 1, 152064, 0x3f3bd44c
+0, 24, 24, 1, 152064, 0x73982bc5
+0, 26, 26, 1, 152064, 0xf6188a82
+0, 28, 28, 1, 152064, 0x818c5b41
+0, 30, 30, 1, 152064, 0x000d1012
+0, 32, 32, 1, 152064, 0xc4a8750e
+0, 34, 34, 1, 152064, 0x1689bb77
+0, 36, 36, 1, 152064, 0x8f52f338
+0, 38, 38, 1, 152064, 0xbf5ee06b
+0, 40, 40, 1, 152064, 0x89508ad7
+0, 42, 42, 1, 152064, 0x2b1986a6
+0, 44, 44, 1, 152064, 0xe6fd6b0e
+0, 46, 46, 1, 152064, 0x883e2e4e
+0, 48, 48, 1, 152064, 0xd133db07
+0, 50, 50, 1, 152064, 0x39b3bb22
+0, 52, 52, 1, 152064, 0x8447410a
+0, 54, 54, 1, 152064, 0x9c66c6e5
+0, 56, 56, 1, 152064, 0x514de9cc
+0, 58, 58, 1, 152064, 0x08d9f1da
+0, 60, 60, 1, 152064, 0x8f10f536
+0, 62, 62, 1, 152064, 0x57d4b27b
+0, 64, 64, 1, 152064, 0x46f56d3c
+0, 66, 66, 1, 152064, 0x5d260230
+0, 68, 68, 1, 152064, 0x4a72aeac
+0, 70, 70, 1, 152064, 0x5cfe187f
+0, 72, 72, 1, 152064, 0x08e55cb2
+0, 74, 74, 1, 152064, 0x4727f34f
+0, 76, 76, 1, 152064, 0xd6a26f1c
+0, 78, 78, 1, 152064, 0xcc1fcf9c
+0, 80, 80, 1, 152064, 0x3681b775
+0, 82, 82, 1, 152064, 0xf580c7d9
+0, 84, 84, 1, 152064, 0xaa6747fb
+0, 86, 86, 1, 152064, 0x2e22f9f9
+0, 88, 88, 1, 152064, 0xb3ee6d81
+0, 90, 90, 1, 152064, 0x930b0145
+0, 92, 92, 1, 152064, 0xae36af99
+0, 94, 94, 1, 152064, 0xeb58fd26
+0, 96, 96, 1, 152064, 0xb9004da3
+0, 98, 98, 1, 152064, 0x2b25e444
+0, 99, 99, 1, 152064, 0xb36927de
diff --git a/tests/ref/fate/h264-conformance-cafi1_sva_c b/tests/ref/fate/h264-conformance-cafi1_sva_c
index 180adf186b..4be282cbf6 100644
--- a/tests/ref/fate/h264-conformance-cafi1_sva_c
+++ b/tests/ref/fate/h264-conformance-cafi1_sva_c
@@ -1,34 +1,34 @@
#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
+0, 2, 2, 1, 518400, 0x47bd73fa
+0, 4, 4, 1, 518400, 0xfe3ea7cc
+0, 6, 6, 1, 518400, 0x9bc549ae
+0, 8, 8, 1, 518400, 0x7bb7f0a1
+0, 10, 10, 1, 518400, 0x328903d4
+0, 12, 12, 1, 518400, 0x96ab366b
+0, 14, 14, 1, 518400, 0xa923eed3
+0, 16, 16, 1, 518400, 0x162b08f6
+0, 18, 18, 1, 518400, 0xe711bd8b
+0, 20, 20, 1, 518400, 0x55e2d4ed
+0, 22, 22, 1, 518400, 0x7dd3107b
+0, 24, 24, 1, 518400, 0x0ed20bcf
+0, 26, 26, 1, 518400, 0x352f5743
+0, 28, 28, 1, 518400, 0x0a3aeb5e
+0, 30, 30, 1, 518400, 0xc458eda3
+0, 32, 32, 1, 518400, 0xe8d5fec5
+0, 34, 34, 1, 518400, 0x18fc6c37
+0, 36, 36, 1, 518400, 0x448add76
+0, 38, 38, 1, 518400, 0x8741ead7
+0, 40, 40, 1, 518400, 0x7008a751
+0, 42, 42, 1, 518400, 0x4ca0633d
+0, 44, 44, 1, 518400, 0x021ab800
+0, 46, 46, 1, 518400, 0xfb91ba57
+0, 48, 48, 1, 518400, 0x90e71dd0
+0, 50, 50, 1, 518400, 0xac859de5
+0, 52, 52, 1, 518400, 0xce9790bd
+0, 54, 54, 1, 518400, 0x010ade8b
+0, 56, 56, 1, 518400, 0xd0b3a399
+0, 58, 58, 1, 518400, 0x6cafcff3
+0, 60, 60, 1, 518400, 0xc32284c0
+0, 62, 62, 1, 518400, 0x1af8f73e
+0, 64, 64, 1, 518400, 0x3babd71e
+0, 65, 65, 1, 518400, 0xd77cb86b
diff --git a/tests/ref/fate/h264-conformance-cama1_vtc_c b/tests/ref/fate/h264-conformance-cama1_vtc_c
index eeb66b0e1c..b4cc76ef45 100644
--- a/tests/ref/fate/h264-conformance-cama1_vtc_c
+++ b/tests/ref/fate/h264-conformance-cama1_vtc_c
@@ -1,5 +1,5 @@
#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
+0, 1, 1, 1, 518400, 0x41c2ce17
+0, 2, 2, 1, 518400, 0x39f217da
+0, 3, 3, 1, 518400, 0x5a108db9
+0, 4, 4, 1, 518400, 0x20cb214c
diff --git a/tests/ref/fate/h264-conformance-cama2_vtc_b b/tests/ref/fate/h264-conformance-cama2_vtc_b
index 0dfe6a9ac3..911f144af6 100644
--- a/tests/ref/fate/h264-conformance-cama2_vtc_b
+++ b/tests/ref/fate/h264-conformance-cama2_vtc_b
@@ -1,5 +1,5 @@
#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
+0, 1, 1, 1, 622080, 0x004bb93f
+0, 2, 2, 1, 622080, 0xe70e193c
+0, 3, 3, 1, 622080, 0xd394cf17
+0, 4, 4, 1, 622080, 0x9e4cc924
diff --git a/tests/ref/fate/h264-conformance-cama3_vtc_b b/tests/ref/fate/h264-conformance-cama3_vtc_b
index 46821c1798..3d912bd2d1 100644
--- a/tests/ref/fate/h264-conformance-cama3_vtc_b
+++ b/tests/ref/fate/h264-conformance-cama3_vtc_b
@@ -1,5 +1,5 @@
#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
+0, 1, 1, 1, 622080, 0xf3f0bf86
+0, 2, 2, 1, 622080, 0x6aaf3d42
+0, 3, 3, 1, 622080, 0xe53bcd5d
+0, 4, 4, 1, 622080, 0x8dabca9d
diff --git a/tests/ref/fate/h264-conformance-capa1_toshiba_b b/tests/ref/fate/h264-conformance-capa1_toshiba_b
index a0336f82e5..0d721ac036 100644
--- a/tests/ref/fate/h264-conformance-capa1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-capa1_toshiba_b
@@ -1,91 +1,91 @@
#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
+0, 2, 2, 1, 152064, 0x4040d2fc
+0, 3, 3, 1, 152064, 0x0d8f9897
+0, 5, 5, 1, 152064, 0xc23321cd
+0, 7, 7, 1, 152064, 0x3c9225eb
+0, 9, 9, 1, 152064, 0x8927006f
+0, 11, 11, 1, 152064, 0xf706a302
+0, 13, 13, 1, 152064, 0x8219c106
+0, 14, 14, 1, 152064, 0x06c990ea
+0, 15, 15, 1, 152064, 0x3a0f1135
+0, 16, 16, 1, 152064, 0x4cff21d3
+0, 17, 17, 1, 152064, 0x6be0e050
+0, 18, 18, 1, 152064, 0x718b6c7b
+0, 19, 19, 1, 152064, 0x24b38713
+0, 20, 20, 1, 152064, 0x500553fb
+0, 22, 22, 1, 152064, 0x531ae610
+0, 23, 23, 1, 152064, 0x46f4ff1b
+0, 25, 25, 1, 152064, 0xe5abe5ff
+0, 26, 26, 1, 152064, 0x97daa351
+0, 28, 28, 1, 152064, 0xfbef0a8f
+0, 30, 30, 1, 152064, 0xbe76134f
+0, 31, 31, 1, 152064, 0xa4bf10ea
+0, 33, 33, 1, 152064, 0xb2fb32af
+0, 35, 35, 1, 152064, 0xd33027a5
+0, 36, 36, 1, 152064, 0x78e20c2b
+0, 38, 38, 1, 152064, 0xefda2d6f
+0, 40, 40, 1, 152064, 0xb99126f0
+0, 41, 41, 1, 152064, 0x89d7e465
+0, 42, 42, 1, 152064, 0x6150ff97
+0, 44, 44, 1, 152064, 0xde03d937
+0, 45, 45, 1, 152064, 0xd90ca874
+0, 47, 47, 1, 152064, 0xb120b294
+0, 48, 48, 1, 152064, 0x644eade4
+0, 50, 50, 1, 152064, 0xd1bb004f
+0, 51, 51, 1, 152064, 0x99806a8b
+0, 52, 52, 1, 152064, 0x8c6b635f
+0, 53, 53, 1, 152064, 0xa269fa8b
+0, 55, 55, 1, 152064, 0xc11c0e64
+0, 56, 56, 1, 152064, 0xac13f5eb
+0, 57, 57, 1, 152064, 0x895799cf
+0, 59, 59, 1, 152064, 0x95a9bea1
+0, 60, 60, 1, 152064, 0xe998dfba
+0, 61, 61, 1, 152064, 0xc72d8460
+0, 63, 63, 1, 152064, 0xd1cb9b9a
+0, 64, 64, 1, 152064, 0xb49aadd3
+0, 65, 65, 1, 152064, 0x8bc38547
+0, 66, 66, 1, 152064, 0x3485984b
+0, 68, 68, 1, 152064, 0xdf305c0a
+0, 69, 69, 1, 152064, 0x6a1ec990
+0, 71, 71, 1, 152064, 0x595e0de4
+0, 73, 73, 1, 152064, 0xe1baf7c4
+0, 74, 74, 1, 152064, 0xf08b9b47
+0, 75, 75, 1, 152064, 0x6532ba6f
+0, 76, 76, 1, 152064, 0x3de67da6
+0, 77, 77, 1, 152064, 0x439ffd04
+0, 78, 78, 1, 152064, 0x6e6c1e97
+0, 79, 79, 1, 152064, 0x8e5aee7a
+0, 81, 81, 1, 152064, 0xd634999a
+0, 83, 83, 1, 152064, 0xadfa9e8b
+0, 84, 84, 1, 152064, 0x1b9090f5
+0, 86, 86, 1, 152064, 0x29094dfc
+0, 88, 88, 1, 152064, 0x56748851
+0, 90, 90, 1, 152064, 0x2316719d
+0, 92, 92, 1, 152064, 0x2ee0060b
+0, 94, 94, 1, 152064, 0x3edb36d4
+0, 96, 96, 1, 152064, 0x9ef437a3
+0, 98, 98, 1, 152064, 0x8d9af72e
+0, 100, 100, 1, 152064, 0xab86389c
+0, 102, 102, 1, 152064, 0xd3b34576
+0, 103, 103, 1, 152064, 0x9e5b04f4
+0, 105, 105, 1, 152064, 0x6a164c17
+0, 106, 106, 1, 152064, 0xcecf20ab
+0, 108, 108, 1, 152064, 0x07c8e273
+0, 110, 110, 1, 152064, 0x9b46fe6a
+0, 112, 112, 1, 152064, 0xc1e8002b
+0, 113, 113, 1, 152064, 0xdebdbe53
+0, 114, 114, 1, 152064, 0x0d2dfd99
+0, 116, 116, 1, 152064, 0xe8ae925f
+0, 117, 117, 1, 152064, 0xe1fe6272
+0, 118, 118, 1, 152064, 0xbb74d5e6
+0, 120, 120, 1, 152064, 0xc7b5d949
+0, 122, 122, 1, 152064, 0x9b15b020
+0, 124, 124, 1, 152064, 0xc8201f44
+0, 126, 126, 1, 152064, 0x30d03303
+0, 128, 128, 1, 152064, 0x9f66fbc2
+0, 130, 130, 1, 152064, 0x482b71ec
+0, 131, 131, 1, 152064, 0x1c9e50bf
+0, 133, 133, 1, 152064, 0x89f247e4
+0, 135, 135, 1, 152064, 0xaa5f9141
+0, 136, 136, 1, 152064, 0xb816aa8c
+0, 137, 137, 1, 152064, 0x3112a619
diff --git a/tests/ref/fate/h264-conformance-capama3_sand_f b/tests/ref/fate/h264-conformance-capama3_sand_f
index b621b8138d..5a84688070 100644
--- a/tests/ref/fate/h264-conformance-capama3_sand_f
+++ b/tests/ref/fate/h264-conformance-capama3_sand_f
@@ -1,51 +1,51 @@
#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
+0, 1, 1, 1, 152064, 0xf772f152
+0, 2, 2, 1, 152064, 0xc416d300
+0, 4, 4, 1, 152064, 0xc2275c94
+0, 6, 6, 1, 152064, 0x1bd35645
+0, 7, 7, 1, 152064, 0x60327bf5
+0, 9, 9, 1, 152064, 0x7f5541bd
+0, 11, 11, 1, 152064, 0x52e5ebad
+0, 12, 12, 1, 152064, 0xb8e5c1f3
+0, 13, 13, 1, 152064, 0x2b4e3653
+0, 14, 14, 1, 152064, 0x9a8f8499
+0, 15, 15, 1, 152064, 0x32d4e9fb
+0, 17, 17, 1, 152064, 0x0bc73d7a
+0, 19, 19, 1, 152064, 0xb58a8b87
+0, 21, 21, 1, 152064, 0xddbc5468
+0, 23, 23, 1, 152064, 0xcfa30b64
+0, 24, 24, 1, 152064, 0xad411f36
+0, 26, 26, 1, 152064, 0x2f8c4d9b
+0, 28, 28, 1, 152064, 0xc8523359
+0, 29, 29, 1, 152064, 0x86be9861
+0, 30, 30, 1, 152064, 0x7518d731
+0, 32, 32, 1, 152064, 0x425fbfab
+0, 34, 34, 1, 152064, 0x4f00250d
+0, 36, 36, 1, 152064, 0x12b40617
+0, 38, 38, 1, 152064, 0x65ff925d
+0, 40, 40, 1, 152064, 0xc76a94c9
+0, 41, 41, 1, 152064, 0x640170d5
+0, 43, 43, 1, 152064, 0xd338a090
+0, 44, 44, 1, 152064, 0xce715174
+0, 46, 46, 1, 152064, 0x7bded195
+0, 48, 48, 1, 152064, 0x09e7d3b9
+0, 50, 50, 1, 152064, 0x651e1518
+0, 51, 51, 1, 152064, 0x03cadc5f
+0, 52, 52, 1, 152064, 0x08906919
+0, 54, 54, 1, 152064, 0x3303ebe0
+0, 56, 56, 1, 152064, 0xa28676c5
+0, 58, 58, 1, 152064, 0x3900ecaf
+0, 60, 60, 1, 152064, 0xeb795a05
+0, 61, 61, 1, 152064, 0x870034df
+0, 63, 63, 1, 152064, 0x69b0527a
+0, 64, 64, 1, 152064, 0xb2b314f9
+0, 66, 66, 1, 152064, 0x1a44ea1a
+0, 67, 67, 1, 152064, 0xe6eaec87
+0, 68, 68, 1, 152064, 0xd9ad818e
+0, 69, 69, 1, 152064, 0x9c7ff76e
+0, 70, 70, 1, 152064, 0x74c45abb
+0, 71, 71, 1, 152064, 0x2f4fa5c6
+0, 73, 73, 1, 152064, 0x19620702
+0, 75, 75, 1, 152064, 0xfc9601f3
+0, 77, 77, 1, 152064, 0x33e0d8e7
+0, 78, 78, 1, 152064, 0xdf7f2a80
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 f80c3be2e5..71020d94a2 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
@@ -1,31 +1,31 @@
#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
+0, 2, 2, 1, 518400, 0x99d0df36
+0, 4, 4, 1, 518400, 0xa8601c1a
+0, 6, 6, 1, 518400, 0x4a17d235
+0, 8, 8, 1, 518400, 0x75f23abf
+0, 10, 10, 1, 518400, 0x746aad53
+0, 12, 12, 1, 518400, 0xb0b8913e
+0, 14, 14, 1, 518400, 0x60a27f57
+0, 16, 16, 1, 518400, 0xfa227f3e
+0, 18, 18, 1, 518400, 0x7a1e57c2
+0, 20, 20, 1, 518400, 0xcbbaa84f
+0, 22, 22, 1, 518400, 0xf9c1bd13
+0, 24, 24, 1, 518400, 0x9e80caaf
+0, 26, 26, 1, 518400, 0x14cc6928
+0, 28, 28, 1, 518400, 0xca0353ef
+0, 30, 30, 1, 518400, 0xcad65e5f
+0, 32, 32, 1, 518400, 0xd5bc47b3
+0, 34, 34, 1, 518400, 0xa9893d36
+0, 36, 36, 1, 518400, 0x69bd9085
+0, 38, 38, 1, 518400, 0xff33c476
+0, 40, 40, 1, 518400, 0x9538adf7
+0, 42, 42, 1, 518400, 0xd4ff3b62
+0, 44, 44, 1, 518400, 0x021a11fd
+0, 46, 46, 1, 518400, 0x293e6f9f
+0, 48, 48, 1, 518400, 0x5d38e4c3
+0, 50, 50, 1, 518400, 0xd1f4ad49
+0, 52, 52, 1, 518400, 0xf13dd946
+0, 54, 54, 1, 518400, 0x0359e9ff
+0, 56, 56, 1, 518400, 0xb61098ad
+0, 58, 58, 1, 518400, 0xa855b11c
+0, 59, 59, 1, 518400, 0x7fcf9343
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 ed5e02eee6..98b2461e0e 100644
--- a/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
+++ b/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
@@ -1,31 +1,31 @@
#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
+0, 1, 1, 1, 518400, 0xf6b83a0e
+0, 3, 3, 1, 518400, 0xc5e8b8ee
+0, 4, 4, 1, 518400, 0xb3bc6e43
+0, 5, 5, 1, 518400, 0x5b08dc73
+0, 6, 6, 1, 518400, 0x4a7f7690
+0, 8, 8, 1, 518400, 0x8a9f4275
+0, 10, 10, 1, 518400, 0xc7cb92fd
+0, 12, 12, 1, 518400, 0xc721e231
+0, 13, 13, 1, 518400, 0xfb31371b
+0, 14, 14, 1, 518400, 0xac57f5d9
+0, 15, 15, 1, 518400, 0x92b7debc
+0, 17, 17, 1, 518400, 0xfe3e533e
+0, 19, 19, 1, 518400, 0x1b3a7a72
+0, 21, 21, 1, 518400, 0x98df2d81
+0, 22, 22, 1, 518400, 0xe0ce9c52
+0, 23, 23, 1, 518400, 0x6a31166d
+0, 24, 24, 1, 518400, 0x64ffd4d2
+0, 26, 26, 1, 518400, 0x3ec062ef
+0, 28, 28, 1, 518400, 0x3480fae1
+0, 30, 30, 1, 518400, 0xa87ae4b7
+0, 31, 31, 1, 518400, 0xd301319f
+0, 32, 32, 1, 518400, 0xa9284989
+0, 33, 33, 1, 518400, 0x3de73b50
+0, 35, 35, 1, 518400, 0x30a79f84
+0, 37, 37, 1, 518400, 0x7d5152d4
+0, 39, 39, 1, 518400, 0x25514095
+0, 40, 40, 1, 518400, 0x1749a05f
+0, 41, 41, 1, 518400, 0x598139a7
+0, 43, 43, 1, 518400, 0x3cece862
+0, 44, 44, 1, 518400, 0xe1c27efe
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sony_d b/tests/ref/fate/h264-conformance-cvfi1_sony_d
index 195c7d6c96..0c82f32415 100644
--- a/tests/ref/fate/h264-conformance-cvfi1_sony_d
+++ b/tests/ref/fate/h264-conformance-cvfi1_sony_d
@@ -1,18 +1,18 @@
#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
+0, 1, 1, 1, 518400, 0xd9444d71
+0, 3, 3, 1, 518400, 0x5d8928cd
+0, 5, 5, 1, 518400, 0xea5bc08b
+0, 7, 7, 1, 518400, 0xb4465d31
+0, 9, 9, 1, 518400, 0x983b5dbb
+0, 11, 11, 1, 518400, 0x54936746
+0, 13, 13, 1, 518400, 0x7ae38b02
+0, 15, 15, 1, 518400, 0xc2a0dd83
+0, 17, 17, 1, 518400, 0x61cac7a6
+0, 19, 19, 1, 518400, 0xb0038443
+0, 21, 21, 1, 518400, 0x16514296
+0, 23, 23, 1, 518400, 0xa68dd470
+0, 25, 25, 1, 518400, 0x2572f868
+0, 27, 27, 1, 518400, 0x770a3239
+0, 29, 29, 1, 518400, 0xdd04f6d2
+0, 31, 31, 1, 518400, 0xa5e5d01e
+0, 33, 33, 1, 518400, 0x5fe25c86
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sva_c b/tests/ref/fate/h264-conformance-cvfi1_sva_c
index c19bc0d338..aa792f70d2 100644
--- a/tests/ref/fate/h264-conformance-cvfi1_sva_c
+++ b/tests/ref/fate/h264-conformance-cvfi1_sva_c
@@ -1,8 +1,8 @@
#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
+0, 1, 1, 1, 518400, 0x8f022263
+0, 3, 3, 1, 518400, 0x02692654
+0, 5, 5, 1, 518400, 0x55eff579
+0, 7, 7, 1, 518400, 0x6c1bdf1d
+0, 9, 9, 1, 518400, 0xbbedf5e4
+0, 11, 11, 1, 518400, 0xb90d740d
+0, 13, 13, 1, 518400, 0x81300adb
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sony_h b/tests/ref/fate/h264-conformance-cvfi2_sony_h
index 0914e22951..db7836909c 100644
--- a/tests/ref/fate/h264-conformance-cvfi2_sony_h
+++ b/tests/ref/fate/h264-conformance-cvfi2_sony_h
@@ -1,18 +1,18 @@
#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
+0, 3, 3, 1, 518400, 0xd9444d71
+0, 5, 5, 1, 518400, 0x491faf75
+0, 7, 7, 1, 518400, 0xf8b4d15c
+0, 9, 9, 1, 518400, 0x99d9f60c
+0, 11, 11, 1, 518400, 0x46c17a6d
+0, 13, 13, 1, 518400, 0x30b9447d
+0, 15, 15, 1, 518400, 0x135d0c76
+0, 17, 17, 1, 518400, 0x1b831a3c
+0, 19, 19, 1, 518400, 0x5910def8
+0, 21, 21, 1, 518400, 0x8db90147
+0, 23, 23, 1, 518400, 0x6a2b79c7
+0, 25, 25, 1, 518400, 0xc8d302e5
+0, 27, 27, 1, 518400, 0x515bb024
+0, 29, 29, 1, 518400, 0xedf7836c
+0, 31, 31, 1, 518400, 0x7e247b9d
+0, 32, 32, 1, 518400, 0x10c9bb10
+0, 33, 33, 1, 518400, 0xe38e2807
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sva_c b/tests/ref/fate/h264-conformance-cvfi2_sva_c
index 7c3162a7e0..063ec13c57 100644
--- a/tests/ref/fate/h264-conformance-cvfi2_sva_c
+++ b/tests/ref/fate/h264-conformance-cvfi2_sva_c
@@ -1,14 +1,14 @@
#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
+0, 2, 2, 1, 518400, 0x4073cc0b
+0, 4, 4, 1, 518400, 0x5f599a48
+0, 6, 6, 1, 518400, 0xc6fe555a
+0, 8, 8, 1, 518400, 0xe63ac345
+0, 10, 10, 1, 518400, 0x9b4f0c5c
+0, 12, 12, 1, 518400, 0x98aaba2d
+0, 14, 14, 1, 518400, 0xd629bd09
+0, 16, 16, 1, 518400, 0xe9796c37
+0, 18, 18, 1, 518400, 0xba54d16e
+0, 20, 20, 1, 518400, 0xe396c3eb
+0, 22, 22, 1, 518400, 0x63ee4b81
+0, 24, 24, 1, 518400, 0x68ac6986
+0, 25, 25, 1, 518400, 0xe0d53000
diff --git a/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e b/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
index 094fc9848f..bf2835641a 100644
--- a/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
+++ b/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
@@ -1,9 +1,9 @@
#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
+0, 2, 2, 1, 518400, 0x80dffda2
+0, 4, 4, 1, 518400, 0x9450183b
+0, 6, 6, 1, 518400, 0x85d429a7
+0, 7, 7, 1, 518400, 0xe1f3b686
+0, 9, 9, 1, 518400, 0x2180c761
+0, 11, 11, 1, 518400, 0x30269c7c
+0, 12, 12, 1, 518400, 0xe9aa575a
+0, 13, 13, 1, 518400, 0x7b815a0a
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 57fa2f7690..0670058d75 100644
--- a/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
+++ b/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
@@ -1,31 +1,31 @@
#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
+0, 2, 2, 1, 518400, 0xe9c7643e
+0, 4, 4, 1, 518400, 0xba7456ec
+0, 6, 6, 1, 518400, 0xdeb96749
+0, 8, 8, 1, 518400, 0xa101a986
+0, 10, 10, 1, 518400, 0x3db7baa5
+0, 12, 12, 1, 518400, 0xf3dfcec7
+0, 14, 14, 1, 518400, 0x79b4f537
+0, 16, 16, 1, 518400, 0x9e64fe68
+0, 18, 18, 1, 518400, 0x0e810b53
+0, 20, 20, 1, 518400, 0x20baf3b8
+0, 22, 22, 1, 518400, 0x0a49d341
+0, 24, 24, 1, 518400, 0xa8304ab5
+0, 26, 26, 1, 518400, 0x2600e98f
+0, 28, 28, 1, 518400, 0x9253e3e8
+0, 30, 30, 1, 518400, 0xd6e12783
+0, 32, 32, 1, 518400, 0x6894fc79
+0, 34, 34, 1, 518400, 0xfb60d3e3
+0, 36, 36, 1, 518400, 0x523602be
+0, 38, 38, 1, 518400, 0x4979f409
+0, 40, 40, 1, 518400, 0x50d4e2ab
+0, 42, 42, 1, 518400, 0xa8c2140a
+0, 44, 44, 1, 518400, 0x45c0bc15
+0, 46, 46, 1, 518400, 0xaef78cab
+0, 48, 48, 1, 518400, 0xec539d02
+0, 50, 50, 1, 518400, 0x602585ea
+0, 52, 52, 1, 518400, 0xda263463
+0, 54, 54, 1, 518400, 0xa03d8922
+0, 56, 56, 1, 518400, 0x43ea1c1d
+0, 58, 58, 1, 518400, 0xb1e055a6
+0, 59, 59, 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 bc7e81e36d..7f66ba08e8 100644
--- a/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
+++ b/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
@@ -1,31 +1,31 @@
#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
+0, 2, 2, 1, 518400, 0x7b2475e3
+0, 4, 4, 1, 518400, 0xda786a87
+0, 6, 6, 1, 518400, 0xb1dd8108
+0, 8, 8, 1, 518400, 0x760ed65d
+0, 10, 10, 1, 518400, 0x8632d20c
+0, 12, 12, 1, 518400, 0xdd81e625
+0, 14, 14, 1, 518400, 0x853f1c41
+0, 16, 16, 1, 518400, 0x20191585
+0, 18, 18, 1, 518400, 0x0367e357
+0, 20, 20, 1, 518400, 0x60521167
+0, 22, 22, 1, 518400, 0xa887d4cc
+0, 24, 24, 1, 518400, 0x9a450f9e
+0, 26, 26, 1, 518400, 0xe9620841
+0, 28, 28, 1, 518400, 0xb482fb0e
+0, 30, 30, 1, 518400, 0x7b79f670
+0, 32, 32, 1, 518400, 0x9d37f1d1
+0, 34, 34, 1, 518400, 0xe358d323
+0, 36, 36, 1, 518400, 0x62ade59c
+0, 38, 38, 1, 518400, 0xdd78da66
+0, 40, 40, 1, 518400, 0xd97b867b
+0, 42, 42, 1, 518400, 0x8a90cf8c
+0, 44, 44, 1, 518400, 0x9d386610
+0, 46, 46, 1, 518400, 0x2c590f46
+0, 48, 48, 1, 518400, 0x92662861
+0, 50, 50, 1, 518400, 0x6979f563
+0, 52, 52, 1, 518400, 0xdd0fa1b2
+0, 54, 54, 1, 518400, 0xccbf1c1c
+0, 56, 56, 1, 518400, 0x7e358112
+0, 58, 58, 1, 518400, 0xb7c0d89d
+0, 59, 59, 1, 518400, 0xc6b03973
diff --git a/tests/ref/fate/h264-conformance-cvnlfi1_sony_c b/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
index aa3c220fca..d2a1e13b13 100644
--- a/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
+++ b/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
@@ -1,18 +1,18 @@
#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
+0, 1, 1, 1, 518400, 0x0fbb4e71
+0, 3, 3, 1, 518400, 0x4b816734
+0, 5, 5, 1, 518400, 0x0c350f19
+0, 7, 7, 1, 518400, 0xda049cb6
+0, 9, 9, 1, 518400, 0x1f3e7bb9
+0, 11, 11, 1, 518400, 0x995cbe66
+0, 13, 13, 1, 518400, 0x07f7e65c
+0, 15, 15, 1, 518400, 0xfcb7487f
+0, 17, 17, 1, 518400, 0xb080f48a
+0, 19, 19, 1, 518400, 0x3ef5b7e4
+0, 21, 21, 1, 518400, 0xa1518e1c
+0, 23, 23, 1, 518400, 0xb36f1cc9
+0, 25, 25, 1, 518400, 0x86ea48af
+0, 27, 27, 1, 518400, 0xe42373b7
+0, 29, 29, 1, 518400, 0xa8435828
+0, 31, 31, 1, 518400, 0xc942ea0e
+0, 33, 33, 1, 518400, 0xcc597514
diff --git a/tests/ref/fate/h264-conformance-cvnlfi2_sony_h b/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
index fe2e4d14db..5c4022dbe4 100644
--- a/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
+++ b/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
@@ -1,18 +1,18 @@
#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
+0, 3, 3, 1, 518400, 0x0fbb4e71
+0, 5, 5, 1, 518400, 0xc46bec04
+0, 7, 7, 1, 518400, 0xc50ffc1d
+0, 9, 9, 1, 518400, 0x684b07b7
+0, 11, 11, 1, 518400, 0xde799af0
+0, 13, 13, 1, 518400, 0xed497b27
+0, 15, 15, 1, 518400, 0x3e9d1e3a
+0, 17, 17, 1, 518400, 0x154d3c5c
+0, 19, 19, 1, 518400, 0x5257e37c
+0, 21, 21, 1, 518400, 0x6e15139a
+0, 23, 23, 1, 518400, 0x5dc39c59
+0, 25, 25, 1, 518400, 0xe1803100
+0, 27, 27, 1, 518400, 0xb4d4d535
+0, 29, 29, 1, 518400, 0x7a97a25d
+0, 31, 31, 1, 518400, 0xf86b8923
+0, 32, 32, 1, 518400, 0x3355be98
+0, 33, 33, 1, 518400, 0x8f555830
diff --git a/tests/ref/fate/h264-conformance-cvpa1_toshiba_b b/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
index fd0911bb5f..0253e1a781 100644
--- a/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
+++ b/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
@@ -1,91 +1,91 @@
#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
+0, 2, 2, 1, 152064, 0x128cd77a
+0, 3, 3, 1, 152064, 0x565b9fc1
+0, 5, 5, 1, 152064, 0xbe322679
+0, 7, 7, 1, 152064, 0x0ea4238f
+0, 9, 9, 1, 152064, 0x1e08fb3c
+0, 11, 11, 1, 152064, 0x6da3a93c
+0, 13, 13, 1, 152064, 0x75e5b181
+0, 14, 14, 1, 152064, 0xa0b39334
+0, 15, 15, 1, 152064, 0xa0d10d6d
+0, 16, 16, 1, 152064, 0x33842bcb
+0, 17, 17, 1, 152064, 0x9a74e1e4
+0, 18, 18, 1, 152064, 0xc2037244
+0, 19, 19, 1, 152064, 0x364b8ae4
+0, 20, 20, 1, 152064, 0x18c04971
+0, 22, 22, 1, 152064, 0x7234ecb5
+0, 23, 23, 1, 152064, 0x3719f8bc
+0, 25, 25, 1, 152064, 0x1285ead1
+0, 26, 26, 1, 152064, 0xd3bfab18
+0, 28, 28, 1, 152064, 0x898111e2
+0, 30, 30, 1, 152064, 0x681c15fc
+0, 31, 31, 1, 152064, 0x8e501572
+0, 33, 33, 1, 152064, 0xd7c838be
+0, 35, 35, 1, 152064, 0xede424b2
+0, 36, 36, 1, 152064, 0xcfc20240
+0, 38, 38, 1, 152064, 0x13992e86
+0, 40, 40, 1, 152064, 0x56fb251a
+0, 41, 41, 1, 152064, 0xee9be320
+0, 42, 42, 1, 152064, 0xea650153
+0, 44, 44, 1, 152064, 0x2cb6dabe
+0, 45, 45, 1, 152064, 0xf44fa4b5
+0, 47, 47, 1, 152064, 0xdac2adff
+0, 48, 48, 1, 152064, 0x9e15a1dc
+0, 50, 50, 1, 152064, 0x28d00970
+0, 51, 51, 1, 152064, 0xe4277347
+0, 52, 52, 1, 152064, 0xebd25ad1
+0, 53, 53, 1, 152064, 0x029402da
+0, 55, 55, 1, 152064, 0x1a2311ef
+0, 56, 56, 1, 152064, 0xb86bf96a
+0, 57, 57, 1, 152064, 0x67d7a5b0
+0, 59, 59, 1, 152064, 0x573abc2d
+0, 60, 60, 1, 152064, 0xbe97dec0
+0, 61, 61, 1, 152064, 0x592b91a4
+0, 63, 63, 1, 152064, 0x9adda65e
+0, 64, 64, 1, 152064, 0x0354b2cb
+0, 65, 65, 1, 152064, 0x91e27ff9
+0, 66, 66, 1, 152064, 0x389f8625
+0, 68, 68, 1, 152064, 0x90175850
+0, 69, 69, 1, 152064, 0x2d36c427
+0, 71, 71, 1, 152064, 0xc0dd14ab
+0, 73, 73, 1, 152064, 0xd49bf131
+0, 74, 74, 1, 152064, 0x0d4a9b92
+0, 75, 75, 1, 152064, 0xae9bb2f1
+0, 76, 76, 1, 152064, 0x36847ade
+0, 77, 77, 1, 152064, 0x74810382
+0, 78, 78, 1, 152064, 0xc56d1d9f
+0, 79, 79, 1, 152064, 0xcfefe3ae
+0, 81, 81, 1, 152064, 0xeaa39353
+0, 83, 83, 1, 152064, 0x14289aef
+0, 84, 84, 1, 152064, 0x74ba8f3b
+0, 86, 86, 1, 152064, 0xdcaa518d
+0, 88, 88, 1, 152064, 0x6e4881c2
+0, 90, 90, 1, 152064, 0xa4db767d
+0, 92, 92, 1, 152064, 0x239b0b19
+0, 94, 94, 1, 152064, 0x5d054236
+0, 96, 96, 1, 152064, 0x6f392d7c
+0, 98, 98, 1, 152064, 0x5c2af146
+0, 100, 100, 1, 152064, 0x26b439af
+0, 102, 102, 1, 152064, 0xba7043ab
+0, 103, 103, 1, 152064, 0x0816000c
+0, 105, 105, 1, 152064, 0x3a713c05
+0, 106, 106, 1, 152064, 0xb3111f6d
+0, 108, 108, 1, 152064, 0xdbf8dae2
+0, 110, 110, 1, 152064, 0x09ddf22e
+0, 112, 112, 1, 152064, 0x8871fa7e
+0, 113, 113, 1, 152064, 0x9f5db7a1
+0, 114, 114, 1, 152064, 0xcc38f225
+0, 116, 116, 1, 152064, 0xa1d18df9
+0, 117, 117, 1, 152064, 0x9b1c5d6a
+0, 118, 118, 1, 152064, 0x9f2bc696
+0, 120, 120, 1, 152064, 0xc39bd11a
+0, 122, 122, 1, 152064, 0x4ceca7d0
+0, 124, 124, 1, 152064, 0x63a60f1d
+0, 126, 126, 1, 152064, 0x4cd31f28
+0, 128, 128, 1, 152064, 0x9c9af5d1
+0, 130, 130, 1, 152064, 0x6def65fc
+0, 131, 131, 1, 152064, 0x1011466d
+0, 133, 133, 1, 152064, 0xfeca406d
+0, 135, 135, 1, 152064, 0xd1ca8a1e
+0, 136, 136, 1, 152064, 0x30caa195
+0, 137, 137, 1, 152064, 0x31a09a48
diff --git a/tests/ref/fate/h264-conformance-fi1_sony_e b/tests/ref/fate/h264-conformance-fi1_sony_e
index 6b5e0dbd52..2e675b9e35 100644
--- a/tests/ref/fate/h264-conformance-fi1_sony_e
+++ b/tests/ref/fate/h264-conformance-fi1_sony_e
@@ -1,18 +1,18 @@
#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
+0, 1, 1, 1, 36864, 0x3d54d3e3
+0, 3, 3, 1, 36864, 0xa9573ef0
+0, 5, 5, 1, 36864, 0x0ea5f263
+0, 7, 7, 1, 36864, 0x5a849fb9
+0, 9, 9, 1, 36864, 0x7ddb1eff
+0, 11, 11, 1, 36864, 0x5e73e3b7
+0, 13, 13, 1, 36864, 0x7d50d329
+0, 15, 15, 1, 36864, 0xf2c2cd27
+0, 17, 17, 1, 36864, 0xdf4f4628
+0, 19, 19, 1, 36864, 0xddd6d5be
+0, 21, 21, 1, 36864, 0xb530e1aa
+0, 23, 23, 1, 36864, 0xeca42470
+0, 25, 25, 1, 36864, 0xa5701caf
+0, 27, 27, 1, 36864, 0x6f5d28fc
+0, 29, 29, 1, 36864, 0xd4ab4ab2
+0, 31, 31, 1, 36864, 0xf2dfcc22
+0, 33, 33, 1, 36864, 0xcaa87e79
diff --git a/tests/ref/fate/h264-conformance-frext-bcrm_freh10 b/tests/ref/fate/h264-conformance-frext-bcrm_freh10
index 272a4aa235..351d2b7c6c 100644
--- a/tests/ref/fate/h264-conformance-frext-bcrm_freh10
+++ b/tests/ref/fate/h264-conformance-frext-bcrm_freh10
@@ -1,101 +1,101 @@
#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
+0, 2, 2, 1, 152064, 0xbdc2b880
+0, 4, 4, 1, 152064, 0x4ebf93fe
+0, 6, 6, 1, 152064, 0xe30d6871
+0, 8, 8, 1, 152064, 0x04f46b9b
+0, 10, 10, 1, 152064, 0xd7dd219a
+0, 12, 12, 1, 152064, 0x02fc6511
+0, 14, 14, 1, 152064, 0x98868faa
+0, 16, 16, 1, 152064, 0x54b94f92
+0, 18, 18, 1, 152064, 0xe3b6be4b
+0, 20, 20, 1, 152064, 0xf148cf10
+0, 22, 22, 1, 152064, 0xda3239b8
+0, 24, 24, 1, 152064, 0x6c5d7331
+0, 26, 26, 1, 152064, 0x825f1fea
+0, 28, 28, 1, 152064, 0x47791056
+0, 30, 30, 1, 152064, 0xc08e8a58
+0, 32, 32, 1, 152064, 0x020299f3
+0, 34, 34, 1, 152064, 0x0dfd4457
+0, 36, 36, 1, 152064, 0xcf005e68
+0, 38, 38, 1, 152064, 0x1f9e2c32
+0, 40, 40, 1, 152064, 0xa8359324
+0, 42, 42, 1, 152064, 0x4b03752d
+0, 44, 44, 1, 152064, 0xd6281621
+0, 46, 46, 1, 152064, 0xc97ac928
+0, 48, 48, 1, 152064, 0xded90dcd
+0, 50, 50, 1, 152064, 0xd6883255
+0, 52, 52, 1, 152064, 0x6edb4d4f
+0, 54, 54, 1, 152064, 0xd6f93a80
+0, 56, 56, 1, 152064, 0x163d6153
+0, 58, 58, 1, 152064, 0x04b90c06
+0, 60, 60, 1, 152064, 0xee8730c1
+0, 62, 62, 1, 152064, 0xd5f5c669
+0, 64, 64, 1, 152064, 0xcc600b1f
+0, 66, 66, 1, 152064, 0x15ddde03
+0, 68, 68, 1, 152064, 0xd0388dd0
+0, 70, 70, 1, 152064, 0xa292ab7d
+0, 72, 72, 1, 152064, 0xacf584e9
+0, 74, 74, 1, 152064, 0xcef42714
+0, 76, 76, 1, 152064, 0xeb162f35
+0, 78, 78, 1, 152064, 0x0a07de7b
+0, 80, 80, 1, 152064, 0x7ae76c81
+0, 82, 82, 1, 152064, 0x139c8fda
+0, 84, 84, 1, 152064, 0x43724411
+0, 86, 86, 1, 152064, 0x07b2ddea
+0, 88, 88, 1, 152064, 0x831a1cc7
+0, 90, 90, 1, 152064, 0x092f5073
+0, 92, 92, 1, 152064, 0xe5b6d380
+0, 94, 94, 1, 152064, 0xdd30d69e
+0, 96, 96, 1, 152064, 0x887020b2
+0, 98, 98, 1, 152064, 0x84436510
+0, 100, 100, 1, 152064, 0x49f63606
+0, 102, 102, 1, 152064, 0x6b96e959
+0, 104, 104, 1, 152064, 0xc6247cc7
+0, 106, 106, 1, 152064, 0x7a67c532
+0, 108, 108, 1, 152064, 0x93f4c476
+0, 110, 110, 1, 152064, 0x3c119654
+0, 112, 112, 1, 152064, 0xa45f7c72
+0, 114, 114, 1, 152064, 0x2ac50cb0
+0, 116, 116, 1, 152064, 0x9bf16d06
+0, 118, 118, 1, 152064, 0xfa0750d9
+0, 120, 120, 1, 152064, 0x02197630
+0, 122, 122, 1, 152064, 0x6d44f9b5
+0, 124, 124, 1, 152064, 0x86b211f5
+0, 126, 126, 1, 152064, 0xf4fda5d0
+0, 128, 128, 1, 152064, 0x36f840a7
+0, 130, 130, 1, 152064, 0x42412992
+0, 132, 132, 1, 152064, 0xd0c9ba37
+0, 134, 134, 1, 152064, 0xc40eba62
+0, 136, 136, 1, 152064, 0x2d093b53
+0, 138, 138, 1, 152064, 0xee39c69c
+0, 140, 140, 1, 152064, 0xcbbf8968
+0, 142, 142, 1, 152064, 0xfddc1704
+0, 144, 144, 1, 152064, 0x8dc47c61
+0, 146, 146, 1, 152064, 0xf15580bf
+0, 148, 148, 1, 152064, 0x9c71a8b0
+0, 150, 150, 1, 152064, 0x19b90b9f
+0, 152, 152, 1, 152064, 0xb65ae287
+0, 154, 154, 1, 152064, 0xf265693d
+0, 156, 156, 1, 152064, 0x721714a1
+0, 158, 158, 1, 152064, 0x383e8ac5
+0, 160, 160, 1, 152064, 0x02558677
+0, 162, 162, 1, 152064, 0xdaab3cdf
+0, 164, 164, 1, 152064, 0xc939a2f6
+0, 166, 166, 1, 152064, 0x977afa7f
+0, 168, 168, 1, 152064, 0xe5e65f35
+0, 170, 170, 1, 152064, 0x247546fa
+0, 172, 172, 1, 152064, 0x49ff2094
+0, 174, 174, 1, 152064, 0x9fd58cda
+0, 176, 176, 1, 152064, 0x3e31b6e3
+0, 178, 178, 1, 152064, 0x75c6d796
+0, 180, 180, 1, 152064, 0x4ab3e7bb
+0, 182, 182, 1, 152064, 0x393935ea
+0, 184, 184, 1, 152064, 0xc8e62905
+0, 186, 186, 1, 152064, 0xbb149e61
+0, 188, 188, 1, 152064, 0x2553c4c5
+0, 190, 190, 1, 152064, 0x7f82a8b4
+0, 192, 192, 1, 152064, 0x26ef31e6
+0, 194, 194, 1, 152064, 0xf029744a
+0, 196, 196, 1, 152064, 0x0a6f191a
+0, 198, 198, 1, 152064, 0x55808643
+0, 199, 199, 1, 152064, 0x27576172
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh11 b/tests/ref/fate/h264-conformance-frext-brcm_freh11
index 3183c4dd0e..c3c2975325 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh11
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh11
@@ -1,101 +1,101 @@
#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
+0, 2, 2, 1, 152064, 0x9744ac59
+0, 4, 4, 1, 152064, 0x3eba88bf
+0, 6, 6, 1, 152064, 0xd4105c5a
+0, 8, 8, 1, 152064, 0x452966a3
+0, 10, 10, 1, 152064, 0x30071add
+0, 12, 12, 1, 152064, 0x0eb75245
+0, 14, 14, 1, 152064, 0x4daa80fa
+0, 16, 16, 1, 152064, 0xf53a43a1
+0, 18, 18, 1, 152064, 0xa55ab43d
+0, 20, 20, 1, 152064, 0x915ec82e
+0, 22, 22, 1, 152064, 0xadce2f9a
+0, 24, 24, 1, 152064, 0xf7a25715
+0, 26, 26, 1, 152064, 0x90c91c7d
+0, 28, 28, 1, 152064, 0x4f0df4ef
+0, 30, 30, 1, 152064, 0xf6e0783c
+0, 32, 32, 1, 152064, 0x417c8ca8
+0, 34, 34, 1, 152064, 0xd33d29d8
+0, 36, 36, 1, 152064, 0xc9723fa3
+0, 38, 38, 1, 152064, 0x3e4f22f4
+0, 40, 40, 1, 152064, 0xd5aa7bd8
+0, 42, 42, 1, 152064, 0x2a425b54
+0, 44, 44, 1, 152064, 0x2d400788
+0, 46, 46, 1, 152064, 0x12fab3a4
+0, 48, 48, 1, 152064, 0x5544f881
+0, 50, 50, 1, 152064, 0xd0612cc5
+0, 52, 52, 1, 152064, 0x157b3654
+0, 54, 54, 1, 152064, 0x04b61fe0
+0, 56, 56, 1, 152064, 0x897d600a
+0, 58, 58, 1, 152064, 0x0d94fa29
+0, 60, 60, 1, 152064, 0xc0fe249d
+0, 62, 62, 1, 152064, 0x65abc1d6
+0, 64, 64, 1, 152064, 0x2bd5f09d
+0, 66, 66, 1, 152064, 0xd3eebd28
+0, 68, 68, 1, 152064, 0x93458649
+0, 70, 70, 1, 152064, 0x55e793a6
+0, 72, 72, 1, 152064, 0x9fc378ce
+0, 74, 74, 1, 152064, 0x24c32731
+0, 76, 76, 1, 152064, 0x3c321c50
+0, 78, 78, 1, 152064, 0xcef3ca8b
+0, 80, 80, 1, 152064, 0x97116676
+0, 82, 82, 1, 152064, 0x73ae78f6
+0, 84, 84, 1, 152064, 0xdeec219e
+0, 86, 86, 1, 152064, 0xc061d584
+0, 88, 88, 1, 152064, 0xcf47f6c9
+0, 90, 90, 1, 152064, 0x280d3a2d
+0, 92, 92, 1, 152064, 0xb660c846
+0, 94, 94, 1, 152064, 0xe167c588
+0, 96, 96, 1, 152064, 0x08f808de
+0, 98, 98, 1, 152064, 0x9de65c0b
+0, 100, 100, 1, 152064, 0xc52a1937
+0, 102, 102, 1, 152064, 0xf5a4d86f
+0, 104, 104, 1, 152064, 0xbef86d37
+0, 106, 106, 1, 152064, 0xa227b21b
+0, 108, 108, 1, 152064, 0x0601ad35
+0, 110, 110, 1, 152064, 0x15198730
+0, 112, 112, 1, 152064, 0x9af764c6
+0, 114, 114, 1, 152064, 0x1a95e99a
+0, 116, 116, 1, 152064, 0x6bef5aa8
+0, 118, 118, 1, 152064, 0x92f03267
+0, 120, 120, 1, 152064, 0x0a3d56cb
+0, 122, 122, 1, 152064, 0xd9c9f62e
+0, 124, 124, 1, 152064, 0xcd81ea16
+0, 126, 126, 1, 152064, 0x8ed789c0
+0, 128, 128, 1, 152064, 0x5a5e356f
+0, 130, 130, 1, 152064, 0x2f260ebf
+0, 132, 132, 1, 152064, 0xa0379c89
+0, 134, 134, 1, 152064, 0x100cb40c
+0, 136, 136, 1, 152064, 0xaad2220a
+0, 138, 138, 1, 152064, 0xec82aa8d
+0, 140, 140, 1, 152064, 0x91088303
+0, 142, 142, 1, 152064, 0x0cce0e9e
+0, 144, 144, 1, 152064, 0xf3bc716a
+0, 146, 146, 1, 152064, 0x989879c5
+0, 148, 148, 1, 152064, 0x491297a0
+0, 150, 150, 1, 152064, 0xdc16f30d
+0, 152, 152, 1, 152064, 0xb9bfdd57
+0, 154, 154, 1, 152064, 0x5fba59c2
+0, 156, 156, 1, 152064, 0x89c40529
+0, 158, 158, 1, 152064, 0x1b3e7b54
+0, 160, 160, 1, 152064, 0x5d0d7903
+0, 162, 162, 1, 152064, 0x2e3434e1
+0, 164, 164, 1, 152064, 0x1f47a276
+0, 166, 166, 1, 152064, 0xa22de2b1
+0, 168, 168, 1, 152064, 0x77344844
+0, 170, 170, 1, 152064, 0x6a6b3fce
+0, 172, 172, 1, 152064, 0x82660651
+0, 174, 174, 1, 152064, 0x51e67cc9
+0, 176, 176, 1, 152064, 0xb790ae51
+0, 178, 178, 1, 152064, 0x906bc6b6
+0, 180, 180, 1, 152064, 0x55c5dc21
+0, 182, 182, 1, 152064, 0xb51f3004
+0, 184, 184, 1, 152064, 0x68500a25
+0, 186, 186, 1, 152064, 0x5dbc812e
+0, 188, 188, 1, 152064, 0x895eb6ed
+0, 190, 190, 1, 152064, 0x2f5594fc
+0, 192, 192, 1, 152064, 0x04a222a9
+0, 194, 194, 1, 152064, 0x90036f6a
+0, 196, 196, 1, 152064, 0x8b8b064c
+0, 198, 198, 1, 152064, 0xd47c7334
+0, 199, 199, 1, 152064, 0x13f06213
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh4 b/tests/ref/fate/h264-conformance-frext-brcm_freh4
index ad3a3ec775..04c05acbee 100644
--- a/tests/ref/fate/h264-conformance-frext-brcm_freh4
+++ b/tests/ref/fate/h264-conformance-frext-brcm_freh4
@@ -1,101 +1,101 @@
#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
+0, 2, 2, 1, 152064, 0x9744ac59
+0, 4, 4, 1, 152064, 0xe1c69d97
+0, 6, 6, 1, 152064, 0x9ae85f93
+0, 8, 8, 1, 152064, 0x452966a3
+0, 10, 10, 1, 152064, 0xe8192823
+0, 12, 12, 1, 152064, 0x58b764eb
+0, 14, 14, 1, 152064, 0x51b686b1
+0, 16, 16, 1, 152064, 0x4bca5822
+0, 18, 18, 1, 152064, 0x29abc41c
+0, 20, 20, 1, 152064, 0x850ec94f
+0, 22, 22, 1, 152064, 0xac2c34f8
+0, 24, 24, 1, 152064, 0x080c6e67
+0, 26, 26, 1, 152064, 0x5e4e14d2
+0, 28, 28, 1, 152064, 0x978b054c
+0, 30, 30, 1, 152064, 0x861d8c3c
+0, 32, 32, 1, 152064, 0xe0818918
+0, 34, 34, 1, 152064, 0x8b834511
+0, 36, 36, 1, 152064, 0x223f567c
+0, 38, 38, 1, 152064, 0x6d61298d
+0, 40, 40, 1, 152064, 0xfe30826e
+0, 42, 42, 1, 152064, 0x4bad4f98
+0, 44, 44, 1, 152064, 0x69d5fdca
+0, 46, 46, 1, 152064, 0xe45bba1b
+0, 48, 48, 1, 152064, 0xa6d81298
+0, 50, 50, 1, 152064, 0x7f3f2c91
+0, 52, 52, 1, 152064, 0x658754b9
+0, 54, 54, 1, 152064, 0x2c6d3eba
+0, 56, 56, 1, 152064, 0x4500600c
+0, 58, 58, 1, 152064, 0xa745f74b
+0, 60, 60, 1, 152064, 0x2bf21fca
+0, 62, 62, 1, 152064, 0x08b8bdb3
+0, 64, 64, 1, 152064, 0x5a9d0a8b
+0, 66, 66, 1, 152064, 0x3a57d523
+0, 68, 68, 1, 152064, 0x3606826e
+0, 70, 70, 1, 152064, 0x3b91a8fb
+0, 72, 72, 1, 152064, 0x37c28959
+0, 74, 74, 1, 152064, 0xb51d1e75
+0, 76, 76, 1, 152064, 0x13be3f58
+0, 78, 78, 1, 152064, 0x0ed0e7cf
+0, 80, 80, 1, 152064, 0x298560d4
+0, 82, 82, 1, 152064, 0x62b68373
+0, 84, 84, 1, 152064, 0xf8bb4520
+0, 86, 86, 1, 152064, 0x90dfd6af
+0, 88, 88, 1, 152064, 0xf4770d20
+0, 90, 90, 1, 152064, 0x0d9549a0
+0, 92, 92, 1, 152064, 0x004eccb1
+0, 94, 94, 1, 152064, 0x3146d46b
+0, 96, 96, 1, 152064, 0x078d1808
+0, 98, 98, 1, 152064, 0x5d8d60cd
+0, 100, 100, 1, 152064, 0x8ff52dd8
+0, 102, 102, 1, 152064, 0x5aa3ccf7
+0, 104, 104, 1, 152064, 0x5bec6c39
+0, 106, 106, 1, 152064, 0xd44cae9d
+0, 108, 108, 1, 152064, 0xa1b0a151
+0, 110, 110, 1, 152064, 0xe3be7bb2
+0, 112, 112, 1, 152064, 0x50096775
+0, 114, 114, 1, 152064, 0xdffff851
+0, 116, 116, 1, 152064, 0x1d7250eb
+0, 118, 118, 1, 152064, 0x69663ca7
+0, 120, 120, 1, 152064, 0x62f77fc7
+0, 122, 122, 1, 152064, 0xbab8f471
+0, 124, 124, 1, 152064, 0x6af31785
+0, 126, 126, 1, 152064, 0xcbb2a9aa
+0, 128, 128, 1, 152064, 0xc57c32b9
+0, 130, 130, 1, 152064, 0xecbe2ce0
+0, 132, 132, 1, 152064, 0x2fbebf81
+0, 134, 134, 1, 152064, 0xa168af68
+0, 136, 136, 1, 152064, 0x1e5631ac
+0, 138, 138, 1, 152064, 0xe69fc927
+0, 140, 140, 1, 152064, 0x8e5c81d8
+0, 142, 142, 1, 152064, 0x42402010
+0, 144, 144, 1, 152064, 0xd7267482
+0, 146, 146, 1, 152064, 0x64b280df
+0, 148, 148, 1, 152064, 0xc4cbafcc
+0, 150, 150, 1, 152064, 0xcf2f1e8b
+0, 152, 152, 1, 152064, 0x4d6fdb3f
+0, 154, 154, 1, 152064, 0xf22d6fed
+0, 156, 156, 1, 152064, 0x625b167c
+0, 158, 158, 1, 152064, 0x41348089
+0, 160, 160, 1, 152064, 0x6db2779b
+0, 162, 162, 1, 152064, 0xe87030a8
+0, 164, 164, 1, 152064, 0x91b29cdd
+0, 166, 166, 1, 152064, 0xe824f242
+0, 168, 168, 1, 152064, 0xac995380
+0, 170, 170, 1, 152064, 0x7efe361b
+0, 172, 172, 1, 152064, 0xe10c0c26
+0, 174, 174, 1, 152064, 0x93108260
+0, 176, 176, 1, 152064, 0xbf4caed7
+0, 178, 178, 1, 152064, 0xb6a4d826
+0, 180, 180, 1, 152064, 0x78beea4e
+0, 182, 182, 1, 152064, 0xdf612df9
+0, 184, 184, 1, 152064, 0xa9ef2830
+0, 186, 186, 1, 152064, 0x06448895
+0, 188, 188, 1, 152064, 0x332eb6d5
+0, 190, 190, 1, 152064, 0x935ba2c5
+0, 192, 192, 1, 152064, 0x62a22656
+0, 194, 194, 1, 152064, 0x06a670a7
+0, 196, 196, 1, 152064, 0xf60b1af0
+0, 198, 198, 1, 152064, 0x85177c10
+0, 199, 199, 1, 152064, 0x5e4e5c4b
diff --git a/tests/ref/fate/h264-conformance-frext-freh6 b/tests/ref/fate/h264-conformance-frext-freh6
index c769038cfd..2fb085ef5f 100644
--- a/tests/ref/fate/h264-conformance-frext-freh6
+++ b/tests/ref/fate/h264-conformance-frext-freh6
@@ -1,101 +1,101 @@
#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
+0, 2, 2, 1, 152064, 0x3b21d6cd
+0, 4, 4, 1, 152064, 0xc32088c6
+0, 6, 6, 1, 152064, 0x65a64cee
+0, 8, 8, 1, 152064, 0x0bd45a5b
+0, 10, 10, 1, 152064, 0xb2210d4d
+0, 12, 12, 1, 152064, 0xf5b15527
+0, 14, 14, 1, 152064, 0x806572ad
+0, 16, 16, 1, 152064, 0x6ecb1fc8
+0, 18, 18, 1, 152064, 0xc25e96d5
+0, 20, 20, 1, 152064, 0x5593b825
+0, 22, 22, 1, 152064, 0xf3be1cff
+0, 24, 24, 1, 152064, 0xa9155072
+0, 26, 26, 1, 152064, 0xd5552e26
+0, 28, 28, 1, 152064, 0x7bf0dbee
+0, 30, 30, 1, 152064, 0x998b4911
+0, 32, 32, 1, 152064, 0xcc71bbe0
+0, 34, 34, 1, 152064, 0x602415b8
+0, 36, 36, 1, 152064, 0xcfff37cf
+0, 38, 38, 1, 152064, 0x7cf824a8
+0, 40, 40, 1, 152064, 0x34816ee5
+0, 42, 42, 1, 152064, 0x1480540c
+0, 44, 44, 1, 152064, 0xc2351aaf
+0, 46, 46, 1, 152064, 0x3b8eac9f
+0, 48, 48, 1, 152064, 0x92a8faf8
+0, 50, 50, 1, 152064, 0x7b6121c8
+0, 52, 52, 1, 152064, 0xe73a3bac
+0, 54, 54, 1, 152064, 0xcd6e1e36
+0, 56, 56, 1, 152064, 0xb24660b1
+0, 58, 58, 1, 152064, 0xa290ec25
+0, 60, 60, 1, 152064, 0x308915ff
+0, 62, 62, 1, 152064, 0x1e8dd4db
+0, 64, 64, 1, 152064, 0x1372f2e0
+0, 66, 66, 1, 152064, 0xa07cc1d0
+0, 68, 68, 1, 152064, 0x34bb872c
+0, 70, 70, 1, 152064, 0x59e6a565
+0, 72, 72, 1, 152064, 0x9a097932
+0, 74, 74, 1, 152064, 0x938f2e20
+0, 76, 76, 1, 152064, 0x59a8157d
+0, 78, 78, 1, 152064, 0x5cacd404
+0, 80, 80, 1, 152064, 0xdad068f5
+0, 82, 82, 1, 152064, 0x7ba67d47
+0, 84, 84, 1, 152064, 0xc2a11e2d
+0, 86, 86, 1, 152064, 0xd37fdef7
+0, 88, 88, 1, 152064, 0x19a3f80a
+0, 90, 90, 1, 152064, 0x7ec7426a
+0, 92, 92, 1, 152064, 0x8ffedb61
+0, 94, 94, 1, 152064, 0x82aebdd0
+0, 96, 96, 1, 152064, 0xdfc920cc
+0, 98, 98, 1, 152064, 0x2a467698
+0, 100, 100, 1, 152064, 0xd08a37d5
+0, 102, 102, 1, 152064, 0xe606e66a
+0, 104, 104, 1, 152064, 0x0e7b8bd8
+0, 106, 106, 1, 152064, 0xf983c732
+0, 108, 108, 1, 152064, 0x9b82c2e7
+0, 110, 110, 1, 152064, 0xa990a47e
+0, 112, 112, 1, 152064, 0x2d5679f1
+0, 114, 114, 1, 152064, 0x7f1c0201
+0, 116, 116, 1, 152064, 0xc38b709d
+0, 118, 118, 1, 152064, 0x040246d8
+0, 120, 120, 1, 152064, 0xbc856021
+0, 122, 122, 1, 152064, 0x81e01a78
+0, 124, 124, 1, 152064, 0xaff1e7f1
+0, 126, 126, 1, 152064, 0x1fee7715
+0, 128, 128, 1, 152064, 0x65053711
+0, 130, 130, 1, 152064, 0x238a0118
+0, 132, 132, 1, 152064, 0x563491b4
+0, 134, 134, 1, 152064, 0x5974a6cc
+0, 136, 136, 1, 152064, 0xd8682c35
+0, 138, 138, 1, 152064, 0x85c49e96
+0, 140, 140, 1, 152064, 0x29486faa
+0, 142, 142, 1, 152064, 0x1a4f0579
+0, 144, 144, 1, 152064, 0x6ab86c2f
+0, 146, 146, 1, 152064, 0x36a36d2b
+0, 148, 148, 1, 152064, 0x3bd77543
+0, 150, 150, 1, 152064, 0x8fbddc41
+0, 152, 152, 1, 152064, 0xccc6e0a5
+0, 154, 154, 1, 152064, 0x00a9539e
+0, 156, 156, 1, 152064, 0x07ba0714
+0, 158, 158, 1, 152064, 0xbab2735d
+0, 160, 160, 1, 152064, 0x79cb5ba0
+0, 162, 162, 1, 152064, 0xdbcc1c92
+0, 164, 164, 1, 152064, 0xffec952c
+0, 166, 166, 1, 152064, 0xc31ac68e
+0, 168, 168, 1, 152064, 0x24293eb9
+0, 170, 170, 1, 152064, 0x7b9b2cb4
+0, 172, 172, 1, 152064, 0x9dd4fe95
+0, 174, 174, 1, 152064, 0xb62e8baf
+0, 176, 176, 1, 152064, 0x9fefc174
+0, 178, 178, 1, 152064, 0xe027c24e
+0, 180, 180, 1, 152064, 0xe38adc70
+0, 182, 182, 1, 152064, 0xc7bf536f
+0, 184, 184, 1, 152064, 0x4448f330
+0, 186, 186, 1, 152064, 0x4dad5339
+0, 188, 188, 1, 152064, 0x48fbab15
+0, 190, 190, 1, 152064, 0xe6c97b2c
+0, 192, 192, 1, 152064, 0x3c3829ee
+0, 194, 194, 1, 152064, 0x927772c0
+0, 196, 196, 1, 152064, 0xbb0f0ef4
+0, 198, 198, 1, 152064, 0xe65780a7
+0, 199, 199, 1, 152064, 0xaf8f6d72
diff --git a/tests/ref/fate/h264-conformance-frext-freh7_b b/tests/ref/fate/h264-conformance-frext-freh7_b
index 519c34676e..9b23f78277 100644
--- a/tests/ref/fate/h264-conformance-frext-freh7_b
+++ b/tests/ref/fate/h264-conformance-frext-freh7_b
@@ -1,101 +1,101 @@
#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
+0, 2, 2, 1, 152064, 0x89f2e8d5
+0, 4, 4, 1, 152064, 0x35b99397
+0, 6, 6, 1, 152064, 0x6ef46744
+0, 8, 8, 1, 152064, 0xec4d6c1c
+0, 10, 10, 1, 152064, 0xad6e0c70
+0, 12, 12, 1, 152064, 0x2db534b3
+0, 14, 14, 1, 152064, 0xcbd25ddd
+0, 16, 16, 1, 152064, 0xd90708b4
+0, 18, 18, 1, 152064, 0xc2aa52df
+0, 20, 20, 1, 152064, 0xbcfc84dc
+0, 22, 22, 1, 152064, 0xa5a6d269
+0, 24, 24, 1, 152064, 0x27220ce9
+0, 26, 26, 1, 152064, 0xf075ee6d
+0, 28, 28, 1, 152064, 0x9fd3c2ac
+0, 30, 30, 1, 152064, 0xcba24c2d
+0, 32, 32, 1, 152064, 0x41cd9441
+0, 34, 34, 1, 152064, 0x0126efa3
+0, 36, 36, 1, 152064, 0xf62112af
+0, 38, 38, 1, 152064, 0x35aff50f
+0, 40, 40, 1, 152064, 0xcb0b276f
+0, 42, 42, 1, 152064, 0xc7ef0214
+0, 44, 44, 1, 152064, 0x7f78d387
+0, 46, 46, 1, 152064, 0x266c673d
+0, 48, 48, 1, 152064, 0x1d39c073
+0, 50, 50, 1, 152064, 0x6a3ae455
+0, 52, 52, 1, 152064, 0xe4ce0230
+0, 54, 54, 1, 152064, 0x7f95e87b
+0, 56, 56, 1, 152064, 0x7c552236
+0, 58, 58, 1, 152064, 0x24c799b9
+0, 60, 60, 1, 152064, 0x5042d974
+0, 62, 62, 1, 152064, 0xe934a5b8
+0, 64, 64, 1, 152064, 0x6d59c884
+0, 66, 66, 1, 152064, 0xd00f7fdb
+0, 68, 68, 1, 152064, 0x62ac3ebd
+0, 70, 70, 1, 152064, 0xb40a6c25
+0, 72, 72, 1, 152064, 0x8706188c
+0, 74, 74, 1, 152064, 0x7682e339
+0, 76, 76, 1, 152064, 0x1061d943
+0, 78, 78, 1, 152064, 0x50fa684a
+0, 80, 80, 1, 152064, 0xab4b1975
+0, 82, 82, 1, 152064, 0x2d043acb
+0, 84, 84, 1, 152064, 0xe3c2ec0a
+0, 86, 86, 1, 152064, 0xb9bc99dc
+0, 88, 88, 1, 152064, 0x051fb857
+0, 90, 90, 1, 152064, 0x71d1fe52
+0, 92, 92, 1, 152064, 0x4230c694
+0, 94, 94, 1, 152064, 0xb412a137
+0, 96, 96, 1, 152064, 0x2f50f90d
+0, 98, 98, 1, 152064, 0x68a1466f
+0, 100, 100, 1, 152064, 0x77e3f47b
+0, 102, 102, 1, 152064, 0x4d08de2b
+0, 104, 104, 1, 152064, 0x1fc663be
+0, 106, 106, 1, 152064, 0x2c8ba712
+0, 108, 108, 1, 152064, 0xd50d85b9
+0, 110, 110, 1, 152064, 0xe8483437
+0, 112, 112, 1, 152064, 0x4e331e4c
+0, 114, 114, 1, 152064, 0x0f64a7a0
+0, 116, 116, 1, 152064, 0x797b0b8c
+0, 118, 118, 1, 152064, 0x1b91e6d8
+0, 120, 120, 1, 152064, 0xf3a1f3b6
+0, 122, 122, 1, 152064, 0x2b94bd52
+0, 124, 124, 1, 152064, 0x1f30962e
+0, 126, 126, 1, 152064, 0x853321cf
+0, 128, 128, 1, 152064, 0x8266c0ac
+0, 130, 130, 1, 152064, 0x25498be0
+0, 132, 132, 1, 152064, 0x0f653af9
+0, 134, 134, 1, 152064, 0x0a025f7e
+0, 136, 136, 1, 152064, 0x1cfbae04
+0, 138, 138, 1, 152064, 0x3a874757
+0, 140, 140, 1, 152064, 0x2c67006e
+0, 142, 142, 1, 152064, 0x1d409bce
+0, 144, 144, 1, 152064, 0xfe43121f
+0, 146, 146, 1, 152064, 0x43411830
+0, 148, 148, 1, 152064, 0x536d26ca
+0, 150, 150, 1, 152064, 0x9eb873ea
+0, 152, 152, 1, 152064, 0x093f93ec
+0, 154, 154, 1, 152064, 0xdf6f0381
+0, 156, 156, 1, 152064, 0xa9f4b5e5
+0, 158, 158, 1, 152064, 0x08f71ef8
+0, 160, 160, 1, 152064, 0x7a68f820
+0, 162, 162, 1, 152064, 0xae0c73e7
+0, 164, 164, 1, 152064, 0x886ae6c7
+0, 166, 166, 1, 152064, 0x9357f433
+0, 168, 168, 1, 152064, 0xcc335068
+0, 170, 170, 1, 152064, 0x2ea108ab
+0, 172, 172, 1, 152064, 0x06d7dcb0
+0, 174, 174, 1, 152064, 0x81dc81bc
+0, 176, 176, 1, 152064, 0xfb32b626
+0, 178, 178, 1, 152064, 0x2787d1c7
+0, 180, 180, 1, 152064, 0x69e51118
+0, 182, 182, 1, 152064, 0xba15d94d
+0, 184, 184, 1, 152064, 0xc41c09cf
+0, 186, 186, 1, 152064, 0x7e50e12f
+0, 188, 188, 1, 152064, 0x0763ddbe
+0, 190, 190, 1, 152064, 0x8a09bb88
+0, 192, 192, 1, 152064, 0x530752b7
+0, 194, 194, 1, 152064, 0x9b159923
+0, 196, 196, 1, 152064, 0xcbb83ed3
+0, 198, 198, 1, 152064, 0xdeb5ac0e
+0, 199, 199, 1, 152064, 0x189299d4
diff --git a/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b b/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
index 7c53b5c9ee..75005ec803 100644
--- a/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
+++ b/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
@@ -1,16 +1,16 @@
#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
+0, 2, 2, 1, 152064, 0x0147a2a9
+0, 3, 3, 1, 152064, 0xe2365351
+0, 4, 4, 1, 152064, 0xb5f9daee
+0, 5, 5, 1, 152064, 0xd60818b2
+0, 7, 7, 1, 152064, 0x21b528e5
+0, 8, 8, 1, 152064, 0x9c9dda18
+0, 9, 9, 1, 152064, 0x387fe7de
+0, 11, 11, 1, 152064, 0x8f0c5a1e
+0, 12, 12, 1, 152064, 0x02409694
+0, 14, 14, 1, 152064, 0x2b36a7a7
+0, 15, 15, 1, 152064, 0x3c6d3863
+0, 17, 17, 1, 152064, 0xaa7835e1
+0, 18, 18, 1, 152064, 0x6d105fe7
+0, 20, 20, 1, 152064, 0x9a348732
+0, 21, 21, 1, 152064, 0x96a3af13
diff --git a/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a b/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
index c0886e446d..0efe2ab51e 100644
--- a/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
+++ b/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
@@ -1,11 +1,11 @@
#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
+0, 1, 1, 1, 152064, 0xd604d440
+0, 3, 3, 1, 152064, 0x08ef262c
+0, 4, 4, 1, 152064, 0x992fca8e
+0, 5, 5, 1, 152064, 0x5a02ee15
+0, 7, 7, 1, 152064, 0xf15d5c66
+0, 9, 9, 1, 152064, 0x360dda12
+0, 10, 10, 1, 152064, 0x18b54985
+0, 12, 12, 1, 152064, 0xf12b6cde
+0, 13, 13, 1, 152064, 0x3b2e63f7
+0, 14, 14, 1, 152064, 0x140abcfd
diff --git a/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b b/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
index eb41d46955..e5fc739a06 100644
--- a/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
+++ b/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
@@ -1,11 +1,11 @@
#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
+0, 2, 2, 1, 152064, 0xb055a9bd
+0, 4, 4, 1, 152064, 0x9e1eadb6
+0, 5, 5, 1, 152064, 0x48f117d2
+0, 6, 6, 1, 152064, 0x3e3ff049
+0, 7, 7, 1, 152064, 0x2ff80943
+0, 9, 9, 1, 152064, 0xc5ee16a6
+0, 10, 10, 1, 152064, 0x38c33f28
+0, 11, 11, 1, 152064, 0x3e8444c7
+0, 12, 12, 1, 152064, 0x14ca4ab2
+0, 13, 13, 1, 152064, 0xe20e78f7
diff --git a/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c b/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
index dbfec436bd..b2081848db 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
@@ -1,301 +1,301 @@
#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
+0, 2, 2, 1, 152064, 0x502ec077
+0, 4, 4, 1, 152064, 0x84807243
+0, 6, 6, 1, 152064, 0xd7474a6e
+0, 8, 8, 1, 152064, 0x793469bb
+0, 10, 10, 1, 152064, 0xb7a0faf7
+0, 12, 12, 1, 152064, 0x1d3d3cba
+0, 14, 14, 1, 152064, 0xb62583de
+0, 16, 16, 1, 152064, 0xc8422fb1
+0, 18, 18, 1, 152064, 0x321dc699
+0, 20, 20, 1, 152064, 0x7a34d350
+0, 22, 22, 1, 152064, 0xaa4c302d
+0, 24, 24, 1, 152064, 0x45fa7ab0
+0, 26, 26, 1, 152064, 0xc7262e41
+0, 28, 28, 1, 152064, 0x3550000c
+0, 30, 30, 1, 152064, 0xf4bab54b
+0, 32, 32, 1, 152064, 0xaccf9c1a
+0, 34, 34, 1, 152064, 0x9bee20e9
+0, 36, 36, 1, 152064, 0x47fb7720
+0, 38, 38, 1, 152064, 0x12c63ffb
+0, 40, 40, 1, 152064, 0xfa2b8b4d
+0, 42, 42, 1, 152064, 0x279964bd
+0, 44, 44, 1, 152064, 0xb8b01c7e
+0, 46, 46, 1, 152064, 0x816fa010
+0, 48, 48, 1, 152064, 0x59fe1c8c
+0, 50, 50, 1, 152064, 0x13393fad
+0, 52, 52, 1, 152064, 0x991a50a4
+0, 54, 54, 1, 152064, 0x57df3eb7
+0, 56, 56, 1, 152064, 0x744371df
+0, 58, 58, 1, 152064, 0xe9f6d3ff
+0, 60, 60, 1, 152064, 0xc506fba0
+0, 62, 62, 1, 152064, 0x6295b90e
+0, 64, 64, 1, 152064, 0xa19cee2d
+0, 66, 66, 1, 152064, 0xf8c1b3ca
+0, 68, 68, 1, 152064, 0x69f68ce0
+0, 70, 70, 1, 152064, 0x80558bb6
+0, 72, 72, 1, 152064, 0x27824fa5
+0, 74, 74, 1, 152064, 0x27c929a1
+0, 76, 76, 1, 152064, 0xc0fe06d1
+0, 78, 78, 1, 152064, 0xc52bc58c
+0, 80, 80, 1, 152064, 0x0a5363c7
+0, 82, 82, 1, 152064, 0xd0f45a0d
+0, 84, 84, 1, 152064, 0x274710f9
+0, 86, 86, 1, 152064, 0x89d2d390
+0, 88, 88, 1, 152064, 0x12a9bfb0
+0, 90, 90, 1, 152064, 0x04501a93
+0, 92, 92, 1, 152064, 0xf92cbbf4
+0, 94, 94, 1, 152064, 0xf6d1b27d
+0, 96, 96, 1, 152064, 0xe3e904c3
+0, 98, 98, 1, 152064, 0x58f8516d
+0, 100, 100, 1, 152064, 0x70370c2b
+0, 102, 102, 1, 152064, 0xfeebc88c
+0, 104, 104, 1, 152064, 0x974c6ed6
+0, 106, 106, 1, 152064, 0x401bdcf2
+0, 108, 108, 1, 152064, 0xfe61e278
+0, 110, 110, 1, 152064, 0x96ba8bb9
+0, 112, 112, 1, 152064, 0x988492fd
+0, 114, 114, 1, 152064, 0xd1d913a9
+0, 116, 116, 1, 152064, 0x6bc46f0e
+0, 118, 118, 1, 152064, 0x695ef706
+0, 120, 120, 1, 152064, 0x142045c9
+0, 122, 122, 1, 152064, 0xb390ed87
+0, 124, 124, 1, 152064, 0xb9e6d2e5
+0, 126, 126, 1, 152064, 0xe348797f
+0, 128, 128, 1, 152064, 0x1cbd29d6
+0, 130, 130, 1, 152064, 0xbd7dd694
+0, 132, 132, 1, 152064, 0x516873c3
+0, 134, 134, 1, 152064, 0x27bba182
+0, 136, 136, 1, 152064, 0x7541f920
+0, 138, 138, 1, 152064, 0xfdf67042
+0, 140, 140, 1, 152064, 0x6c3c7896
+0, 142, 142, 1, 152064, 0xed86c467
+0, 144, 144, 1, 152064, 0x4ea83ca2
+0, 146, 146, 1, 152064, 0xa3e6725b
+0, 148, 148, 1, 152064, 0x917f5f16
+0, 150, 150, 1, 152064, 0x8cf2d2e1
+0, 152, 152, 1, 152064, 0x57a8d116
+0, 154, 154, 1, 152064, 0x0db267d4
+0, 156, 156, 1, 152064, 0xce782ac5
+0, 158, 158, 1, 152064, 0x1c9d8518
+0, 160, 160, 1, 152064, 0x47598ac7
+0, 162, 162, 1, 152064, 0xc5033d97
+0, 164, 164, 1, 152064, 0xd7aaa3a4
+0, 166, 166, 1, 152064, 0x078afc96
+0, 168, 168, 1, 152064, 0xc9fe673d
+0, 170, 170, 1, 152064, 0xe9284066
+0, 172, 172, 1, 152064, 0xbc570982
+0, 174, 174, 1, 152064, 0x0aac8574
+0, 176, 176, 1, 152064, 0x098cbeee
+0, 178, 178, 1, 152064, 0x19c36a9d
+0, 180, 180, 1, 152064, 0x8fe4a893
+0, 182, 182, 1, 152064, 0x0b652f17
+0, 184, 184, 1, 152064, 0x10f2e6bf
+0, 186, 186, 1, 152064, 0x7ce5634e
+0, 188, 188, 1, 152064, 0x8fe4ac6c
+0, 190, 190, 1, 152064, 0xcaba749e
+0, 192, 192, 1, 152064, 0x5f8a0d5c
+0, 194, 194, 1, 152064, 0xcaa66bbc
+0, 196, 196, 1, 152064, 0xc87ae617
+0, 198, 198, 1, 152064, 0xe8ef4dd7
+0, 200, 200, 1, 152064, 0xdfca5a07
+0, 202, 202, 1, 152064, 0x5f7eab7d
+0, 204, 204, 1, 152064, 0x8a65ebbb
+0, 206, 206, 1, 152064, 0x4beab4a0
+0, 208, 208, 1, 152064, 0xb5e6ab30
+0, 210, 210, 1, 152064, 0x8fe4f4d4
+0, 212, 212, 1, 152064, 0x95bde1ca
+0, 214, 214, 1, 152064, 0xcc5e3a53
+0, 216, 216, 1, 152064, 0xf09f1dd7
+0, 218, 218, 1, 152064, 0x10179672
+0, 220, 220, 1, 152064, 0x4ad16184
+0, 222, 222, 1, 152064, 0x9efa0e23
+0, 224, 224, 1, 152064, 0x22f59522
+0, 226, 226, 1, 152064, 0x4d38f09d
+0, 228, 228, 1, 152064, 0x4c5ebf56
+0, 230, 230, 1, 152064, 0xb19d5077
+0, 232, 232, 1, 152064, 0xa98576b9
+0, 234, 234, 1, 152064, 0x65324239
+0, 236, 236, 1, 152064, 0x709e4031
+0, 238, 238, 1, 152064, 0xf8e81681
+0, 240, 240, 1, 152064, 0x058514e5
+0, 242, 242, 1, 152064, 0xd1d1c806
+0, 244, 244, 1, 152064, 0x0e4dde57
+0, 246, 246, 1, 152064, 0x49e9c2bb
+0, 248, 248, 1, 152064, 0x01417ce6
+0, 250, 250, 1, 152064, 0xda7ebbf1
+0, 252, 252, 1, 152064, 0xa22906b7
+0, 254, 254, 1, 152064, 0x32e2df87
+0, 256, 256, 1, 152064, 0x69917c8f
+0, 258, 258, 1, 152064, 0xea8ed2cc
+0, 260, 260, 1, 152064, 0x0b8d57f1
+0, 262, 262, 1, 152064, 0x5f683bcd
+0, 264, 264, 1, 152064, 0x5162fe2f
+0, 266, 266, 1, 152064, 0x49c052f8
+0, 268, 268, 1, 152064, 0x990b69ba
+0, 270, 270, 1, 152064, 0xa6d4f99f
+0, 272, 272, 1, 152064, 0xe79ef4da
+0, 274, 274, 1, 152064, 0x5e8a3847
+0, 276, 276, 1, 152064, 0x38b1e75f
+0, 278, 278, 1, 152064, 0xf5c91bed
+0, 280, 280, 1, 152064, 0xd59a6d26
+0, 282, 282, 1, 152064, 0xc361de06
+0, 284, 284, 1, 152064, 0x63ed2229
+0, 286, 286, 1, 152064, 0xb8229205
+0, 288, 288, 1, 152064, 0x7c6619af
+0, 290, 290, 1, 152064, 0x4126b02f
+0, 292, 292, 1, 152064, 0x9250b99b
+0, 294, 294, 1, 152064, 0x589778f9
+0, 296, 296, 1, 152064, 0xed1fa45b
+0, 298, 298, 1, 152064, 0x700b6f32
+0, 300, 300, 1, 152064, 0x0590df55
+0, 302, 302, 1, 152064, 0x3e9c4018
+0, 304, 304, 1, 152064, 0x957b8860
+0, 306, 306, 1, 152064, 0x56161560
+0, 308, 308, 1, 152064, 0xbc43bc3b
+0, 310, 310, 1, 152064, 0x508d8632
+0, 312, 312, 1, 152064, 0xbc5736d8
+0, 314, 314, 1, 152064, 0xed7d3aef
+0, 316, 316, 1, 152064, 0x1dcdda9f
+0, 318, 318, 1, 152064, 0x8ef6d5c9
+0, 320, 320, 1, 152064, 0x15466acc
+0, 322, 322, 1, 152064, 0x45d4cf67
+0, 324, 324, 1, 152064, 0x8c900b9d
+0, 326, 326, 1, 152064, 0x747006e0
+0, 328, 328, 1, 152064, 0xac920a0c
+0, 330, 330, 1, 152064, 0xb8210c27
+0, 332, 332, 1, 152064, 0x7dbb873a
+0, 334, 334, 1, 152064, 0x0d4d7584
+0, 336, 336, 1, 152064, 0xefb3fe60
+0, 338, 338, 1, 152064, 0x905e2644
+0, 340, 340, 1, 152064, 0x7c04e534
+0, 342, 342, 1, 152064, 0x8889972a
+0, 344, 344, 1, 152064, 0x21c7d8ad
+0, 346, 346, 1, 152064, 0x1c641176
+0, 348, 348, 1, 152064, 0xf71489a4
+0, 350, 350, 1, 152064, 0xd7ac5555
+0, 352, 352, 1, 152064, 0xb4609c6d
+0, 354, 354, 1, 152064, 0xf5b2bd5e
+0, 356, 356, 1, 152064, 0x9f43ce57
+0, 358, 358, 1, 152064, 0x77642dd3
+0, 360, 360, 1, 152064, 0x3e79565c
+0, 362, 362, 1, 152064, 0x95f40b8e
+0, 364, 364, 1, 152064, 0x3c8ca4d4
+0, 366, 366, 1, 152064, 0xa02ac497
+0, 368, 368, 1, 152064, 0x4c93b377
+0, 370, 370, 1, 152064, 0x55f5ac68
+0, 372, 372, 1, 152064, 0xf8652eca
+0, 374, 374, 1, 152064, 0x56e94574
+0, 376, 376, 1, 152064, 0x6d8302e1
+0, 378, 378, 1, 152064, 0x29a57061
+0, 380, 380, 1, 152064, 0x24e4cfdc
+0, 382, 382, 1, 152064, 0xf5a5d62a
+0, 384, 384, 1, 152064, 0x998870c1
+0, 386, 386, 1, 152064, 0xa15b1f4e
+0, 388, 388, 1, 152064, 0xb0ccb51f
+0, 390, 390, 1, 152064, 0xeaaf59ab
+0, 392, 392, 1, 152064, 0x7e2b4fe6
+0, 394, 394, 1, 152064, 0x72299fea
+0, 396, 396, 1, 152064, 0x769da8b2
+0, 398, 398, 1, 152064, 0xefad7ef8
+0, 400, 400, 1, 152064, 0x24819983
+0, 402, 402, 1, 152064, 0x2aad32ab
+0, 404, 404, 1, 152064, 0xc80cac79
+0, 406, 406, 1, 152064, 0x1659d628
+0, 408, 408, 1, 152064, 0xef941f66
+0, 410, 410, 1, 152064, 0x0d7fcdb5
+0, 412, 412, 1, 152064, 0x7c1853fa
+0, 414, 414, 1, 152064, 0xb94c4d3c
+0, 416, 416, 1, 152064, 0xc47adfc2
+0, 418, 418, 1, 152064, 0x366a6729
+0, 420, 420, 1, 152064, 0x7eb37b70
+0, 422, 422, 1, 152064, 0xafd54c27
+0, 424, 424, 1, 152064, 0x67b18636
+0, 426, 426, 1, 152064, 0x93b22dcf
+0, 428, 428, 1, 152064, 0xa64991f1
+0, 430, 430, 1, 152064, 0xd32a7102
+0, 432, 432, 1, 152064, 0xff665d1c
+0, 434, 434, 1, 152064, 0xf107cc31
+0, 436, 436, 1, 152064, 0xf5b25652
+0, 438, 438, 1, 152064, 0x8caf783d
+0, 440, 440, 1, 152064, 0x72f3eb00
+0, 442, 442, 1, 152064, 0xb5aea5f8
+0, 444, 444, 1, 152064, 0xee70e870
+0, 446, 446, 1, 152064, 0x7c3a0156
+0, 448, 448, 1, 152064, 0x871b6383
+0, 450, 450, 1, 152064, 0x48d831ff
+0, 452, 452, 1, 152064, 0xca233913
+0, 454, 454, 1, 152064, 0xe14bc5eb
+0, 456, 456, 1, 152064, 0x9b1d27e7
+0, 458, 458, 1, 152064, 0xfb9637f7
+0, 460, 460, 1, 152064, 0x0c022157
+0, 462, 462, 1, 152064, 0x16d35fc9
+0, 464, 464, 1, 152064, 0x6d935f71
+0, 466, 466, 1, 152064, 0xae4066fa
+0, 468, 468, 1, 152064, 0xcef94fdc
+0, 470, 470, 1, 152064, 0xc234edb9
+0, 472, 472, 1, 152064, 0x26a4f2e2
+0, 474, 474, 1, 152064, 0xd29ac23e
+0, 476, 476, 1, 152064, 0xb7604395
+0, 478, 478, 1, 152064, 0x408084f6
+0, 480, 480, 1, 152064, 0x0a02026c
+0, 482, 482, 1, 152064, 0x78b33c7c
+0, 484, 484, 1, 152064, 0xcb02b874
+0, 486, 486, 1, 152064, 0xf566513b
+0, 488, 488, 1, 152064, 0xb34e52b1
+0, 490, 490, 1, 152064, 0xf55ff493
+0, 492, 492, 1, 152064, 0xb0e8282a
+0, 494, 494, 1, 152064, 0xe9510bbe
+0, 496, 496, 1, 152064, 0x292e8c5a
+0, 498, 498, 1, 152064, 0x62b9d2b0
+0, 500, 500, 1, 152064, 0x3a8cc827
+0, 502, 502, 1, 152064, 0x25cc465e
+0, 504, 504, 1, 152064, 0xf2bc32e2
+0, 506, 506, 1, 152064, 0x6141f914
+0, 508, 508, 1, 152064, 0x1171256f
+0, 510, 510, 1, 152064, 0x13cb2ded
+0, 512, 512, 1, 152064, 0x3d4ca557
+0, 514, 514, 1, 152064, 0xf2b9e72e
+0, 516, 516, 1, 152064, 0x03f7547a
+0, 518, 518, 1, 152064, 0xc7302955
+0, 520, 520, 1, 152064, 0xe78a46d3
+0, 522, 522, 1, 152064, 0x3726a270
+0, 524, 524, 1, 152064, 0x2f65722a
+0, 526, 526, 1, 152064, 0x55acce40
+0, 528, 528, 1, 152064, 0xf6fa9db2
+0, 530, 530, 1, 152064, 0x70a36937
+0, 532, 532, 1, 152064, 0x9313742d
+0, 534, 534, 1, 152064, 0x2eb14e53
+0, 536, 536, 1, 152064, 0x3d47c9c3
+0, 538, 538, 1, 152064, 0xd0a90348
+0, 540, 540, 1, 152064, 0x6ad48088
+0, 542, 542, 1, 152064, 0x68e64738
+0, 544, 544, 1, 152064, 0x04c3735a
+0, 546, 546, 1, 152064, 0x51d0593f
+0, 548, 548, 1, 152064, 0x42cf2b48
+0, 550, 550, 1, 152064, 0xa5496a0c
+0, 552, 552, 1, 152064, 0x84c25549
+0, 554, 554, 1, 152064, 0x96691600
+0, 556, 556, 1, 152064, 0x423135db
+0, 558, 558, 1, 152064, 0x8d2e08b6
+0, 560, 560, 1, 152064, 0xaeb4c840
+0, 562, 562, 1, 152064, 0xf3e71780
+0, 564, 564, 1, 152064, 0x8858228b
+0, 566, 566, 1, 152064, 0xf28613f8
+0, 568, 568, 1, 152064, 0xb5327882
+0, 570, 570, 1, 152064, 0xbb60bb85
+0, 572, 572, 1, 152064, 0x345ab1c9
+0, 574, 574, 1, 152064, 0x8aac2cba
+0, 576, 576, 1, 152064, 0x7ce15b4c
+0, 578, 578, 1, 152064, 0xc09c55c0
+0, 580, 580, 1, 152064, 0x8482ddd6
+0, 582, 582, 1, 152064, 0xab222a13
+0, 584, 584, 1, 152064, 0xd39b0dea
+0, 586, 586, 1, 152064, 0x6dab6e06
+0, 588, 588, 1, 152064, 0xec0891bd
+0, 590, 590, 1, 152064, 0x88bd9701
+0, 592, 592, 1, 152064, 0xdf13072a
+0, 594, 594, 1, 152064, 0x23b33081
+0, 596, 596, 1, 152064, 0x63943137
+0, 598, 598, 1, 152064, 0xab6a9052
+0, 599, 599, 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 65a366e0cb..aafb2d4c6f 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
+++ b/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
@@ -1,301 +1,301 @@
#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
+0, 2, 2, 1, 152064, 0x3e39c08b
+0, 4, 4, 1, 152064, 0xabc67990
+0, 6, 6, 1, 152064, 0x19614e74
+0, 8, 8, 1, 152064, 0xa3776beb
+0, 10, 10, 1, 152064, 0xcce6ffdf
+0, 12, 12, 1, 152064, 0xb0e94746
+0, 14, 14, 1, 152064, 0xdb1a84ef
+0, 16, 16, 1, 152064, 0xb2624509
+0, 18, 18, 1, 152064, 0x32e2d826
+0, 20, 20, 1, 152064, 0xb3bddf0b
+0, 22, 22, 1, 152064, 0x2e273ce3
+0, 24, 24, 1, 152064, 0x67af7e4d
+0, 26, 26, 1, 152064, 0x505c3261
+0, 28, 28, 1, 152064, 0xa43d015e
+0, 30, 30, 1, 152064, 0xad41c1f6
+0, 32, 32, 1, 152064, 0x633ba55f
+0, 34, 34, 1, 152064, 0xe80634f0
+0, 36, 36, 1, 152064, 0x80a07dc9
+0, 38, 38, 1, 152064, 0x0e7a3bbf
+0, 40, 40, 1, 152064, 0xcb099196
+0, 42, 42, 1, 152064, 0x57c96db5
+0, 44, 44, 1, 152064, 0xccd422fa
+0, 46, 46, 1, 152064, 0x0850b7a7
+0, 48, 48, 1, 152064, 0x30e33156
+0, 50, 50, 1, 152064, 0x34e13f9a
+0, 52, 52, 1, 152064, 0x03d36000
+0, 54, 54, 1, 152064, 0xbf7d49da
+0, 56, 56, 1, 152064, 0x77336d09
+0, 58, 58, 1, 152064, 0xca8be5a9
+0, 60, 60, 1, 152064, 0xe57c0b08
+0, 62, 62, 1, 152064, 0xbe77c093
+0, 64, 64, 1, 152064, 0x6bf1ff05
+0, 66, 66, 1, 152064, 0x9142babf
+0, 68, 68, 1, 152064, 0x08db8e67
+0, 70, 70, 1, 152064, 0x69ac8cb6
+0, 72, 72, 1, 152064, 0xaa3b5c88
+0, 74, 74, 1, 152064, 0x9bd32638
+0, 76, 76, 1, 152064, 0x7972115a
+0, 78, 78, 1, 152064, 0x5c1dd47b
+0, 80, 80, 1, 152064, 0x8a196e02
+0, 82, 82, 1, 152064, 0xa89672bc
+0, 84, 84, 1, 152064, 0x27b220e4
+0, 86, 86, 1, 152064, 0xfa38dc4a
+0, 88, 88, 1, 152064, 0x4784c639
+0, 90, 90, 1, 152064, 0xa5e4229a
+0, 92, 92, 1, 152064, 0xa986bdfc
+0, 94, 94, 1, 152064, 0x2951b47b
+0, 96, 96, 1, 152064, 0x4df404a6
+0, 98, 98, 1, 152064, 0xc75155e8
+0, 100, 100, 1, 152064, 0xfc05248c
+0, 102, 102, 1, 152064, 0x5d53da10
+0, 104, 104, 1, 152064, 0x284376ec
+0, 106, 106, 1, 152064, 0x19fce380
+0, 108, 108, 1, 152064, 0x876be6c9
+0, 110, 110, 1, 152064, 0x39eb8ff9
+0, 112, 112, 1, 152064, 0x289c9543
+0, 114, 114, 1, 152064, 0x24dd2356
+0, 116, 116, 1, 152064, 0x1dc17d3c
+0, 118, 118, 1, 152064, 0xd17c00ac
+0, 120, 120, 1, 152064, 0xc2ad54de
+0, 122, 122, 1, 152064, 0xbe11ee2f
+0, 124, 124, 1, 152064, 0x3db9dc89
+0, 126, 126, 1, 152064, 0xac0d7bc2
+0, 128, 128, 1, 152064, 0x8dab2dde
+0, 130, 130, 1, 152064, 0x566ad225
+0, 132, 132, 1, 152064, 0x587c7853
+0, 134, 134, 1, 152064, 0x601c9c80
+0, 136, 136, 1, 152064, 0x2afaf751
+0, 138, 138, 1, 152064, 0x1c9f7e3a
+0, 140, 140, 1, 152064, 0x899475bf
+0, 142, 142, 1, 152064, 0x0d65c7d9
+0, 144, 144, 1, 152064, 0xafd63d12
+0, 146, 146, 1, 152064, 0x162e62b9
+0, 148, 148, 1, 152064, 0x5c9554be
+0, 150, 150, 1, 152064, 0x35fbdaa2
+0, 152, 152, 1, 152064, 0x6438cbd8
+0, 154, 154, 1, 152064, 0xde0772c9
+0, 156, 156, 1, 152064, 0x79f82854
+0, 158, 158, 1, 152064, 0x86957840
+0, 160, 160, 1, 152064, 0xd9468cbf
+0, 162, 162, 1, 152064, 0x23e74609
+0, 164, 164, 1, 152064, 0x3919a146
+0, 166, 166, 1, 152064, 0xd641078b
+0, 168, 168, 1, 152064, 0x24397220
+0, 170, 170, 1, 152064, 0xe7fc3a7c
+0, 172, 172, 1, 152064, 0x3997154a
+0, 174, 174, 1, 152064, 0x2af3952c
+0, 176, 176, 1, 152064, 0x274ac07a
+0, 178, 178, 1, 152064, 0x288f7b09
+0, 180, 180, 1, 152064, 0xe6f9b022
+0, 182, 182, 1, 152064, 0xf09e2fbb
+0, 184, 184, 1, 152064, 0x7244e477
+0, 186, 186, 1, 152064, 0x0dfc72eb
+0, 188, 188, 1, 152064, 0x0322b21f
+0, 190, 190, 1, 152064, 0x18b08205
+0, 192, 192, 1, 152064, 0x6606153e
+0, 194, 194, 1, 152064, 0x85186272
+0, 196, 196, 1, 152064, 0x3369f064
+0, 198, 198, 1, 152064, 0xbe0d5a44
+0, 200, 200, 1, 152064, 0x320258bb
+0, 202, 202, 1, 152064, 0x4d6fb091
+0, 204, 204, 1, 152064, 0xc9bbf5e7
+0, 206, 206, 1, 152064, 0x0aa1b69b
+0, 208, 208, 1, 152064, 0x85b9ac11
+0, 210, 210, 1, 152064, 0xb25ff818
+0, 212, 212, 1, 152064, 0xa155dc25
+0, 214, 214, 1, 152064, 0xa8e03bfd
+0, 216, 216, 1, 152064, 0x0a862956
+0, 218, 218, 1, 152064, 0x11b49264
+0, 220, 220, 1, 152064, 0xa94e664e
+0, 222, 222, 1, 152064, 0x330e0fa2
+0, 224, 224, 1, 152064, 0xaf3d9518
+0, 226, 226, 1, 152064, 0x0836f2e8
+0, 228, 228, 1, 152064, 0xbf6dc578
+0, 230, 230, 1, 152064, 0x7b524d20
+0, 232, 232, 1, 152064, 0x9ef7677f
+0, 234, 234, 1, 152064, 0xeacf3f34
+0, 236, 236, 1, 152064, 0xfb4e3dbe
+0, 238, 238, 1, 152064, 0xb46e25cb
+0, 240, 240, 1, 152064, 0x363c1603
+0, 242, 242, 1, 152064, 0x263fc542
+0, 244, 244, 1, 152064, 0xf106e548
+0, 246, 246, 1, 152064, 0xde43c56a
+0, 248, 248, 1, 152064, 0xc2c4770a
+0, 250, 250, 1, 152064, 0x122fce19
+0, 252, 252, 1, 152064, 0x3ba01434
+0, 254, 254, 1, 152064, 0x0e8ce5ee
+0, 256, 256, 1, 152064, 0x6ceb82e1
+0, 258, 258, 1, 152064, 0xa23ee21c
+0, 260, 260, 1, 152064, 0xc6d960f9
+0, 262, 262, 1, 152064, 0x0de15258
+0, 264, 264, 1, 152064, 0x187b0333
+0, 266, 266, 1, 152064, 0x92e6582f
+0, 268, 268, 1, 152064, 0xb9586ce0
+0, 270, 270, 1, 152064, 0xefd803b5
+0, 272, 272, 1, 152064, 0x24eafb29
+0, 274, 274, 1, 152064, 0x20c73b14
+0, 276, 276, 1, 152064, 0xbd7ceaaa
+0, 278, 278, 1, 152064, 0x775216c8
+0, 280, 280, 1, 152064, 0xa08971c7
+0, 282, 282, 1, 152064, 0xef0ee865
+0, 284, 284, 1, 152064, 0x9ac61c2f
+0, 286, 286, 1, 152064, 0x52ae8ea9
+0, 288, 288, 1, 152064, 0x06571c14
+0, 290, 290, 1, 152064, 0x6e78ad33
+0, 292, 292, 1, 152064, 0xad01c627
+0, 294, 294, 1, 152064, 0xbfe074d3
+0, 296, 296, 1, 152064, 0x9357a183
+0, 298, 298, 1, 152064, 0x8de7767f
+0, 300, 300, 1, 152064, 0xa5e6e76e
+0, 302, 302, 1, 152064, 0xa6f646fe
+0, 304, 304, 1, 152064, 0x132e99f8
+0, 306, 306, 1, 152064, 0xb79f27de
+0, 308, 308, 1, 152064, 0x36d3cdcf
+0, 310, 310, 1, 152064, 0xdc938336
+0, 312, 312, 1, 152064, 0xacaa3a7f
+0, 314, 314, 1, 152064, 0xc61a37fd
+0, 316, 316, 1, 152064, 0x4fe1ddf0
+0, 318, 318, 1, 152064, 0xc0f7d660
+0, 320, 320, 1, 152064, 0xd72458ea
+0, 322, 322, 1, 152064, 0x6978d123
+0, 324, 324, 1, 152064, 0x64e60ccf
+0, 326, 326, 1, 152064, 0xaa07004c
+0, 328, 328, 1, 152064, 0x07cd1064
+0, 330, 330, 1, 152064, 0xa82320e5
+0, 332, 332, 1, 152064, 0xaedd8d30
+0, 334, 334, 1, 152064, 0x79b082ea
+0, 336, 336, 1, 152064, 0x9ed800ab
+0, 338, 338, 1, 152064, 0xde592bb4
+0, 340, 340, 1, 152064, 0xd966df88
+0, 342, 342, 1, 152064, 0xf921988a
+0, 344, 344, 1, 152064, 0x557ad9ae
+0, 346, 346, 1, 152064, 0xc3f31a9a
+0, 348, 348, 1, 152064, 0x65248561
+0, 350, 350, 1, 152064, 0x63df4aa6
+0, 352, 352, 1, 152064, 0x618da0a9
+0, 354, 354, 1, 152064, 0xe6f1c435
+0, 356, 356, 1, 152064, 0x9f90c38f
+0, 358, 358, 1, 152064, 0xd2853e14
+0, 360, 360, 1, 152064, 0x6e0268a9
+0, 362, 362, 1, 152064, 0x393712d1
+0, 364, 364, 1, 152064, 0x470da25f
+0, 366, 366, 1, 152064, 0xaf55cb3d
+0, 368, 368, 1, 152064, 0x6935b8b9
+0, 370, 370, 1, 152064, 0x5409a15f
+0, 372, 372, 1, 152064, 0x09073fee
+0, 374, 374, 1, 152064, 0xfb274e82
+0, 376, 376, 1, 152064, 0x1a770581
+0, 378, 378, 1, 152064, 0x17277d0d
+0, 380, 380, 1, 152064, 0xd4dcd982
+0, 382, 382, 1, 152064, 0x6b04eaf3
+0, 384, 384, 1, 152064, 0x8a3d822e
+0, 386, 386, 1, 152064, 0x1b971ec9
+0, 388, 388, 1, 152064, 0x14e0c0f6
+0, 390, 390, 1, 152064, 0x00667450
+0, 392, 392, 1, 152064, 0xd2385902
+0, 394, 394, 1, 152064, 0x905da6ab
+0, 396, 396, 1, 152064, 0xa3ffb18b
+0, 398, 398, 1, 152064, 0x10d48b19
+0, 400, 400, 1, 152064, 0xb2c7a3bd
+0, 402, 402, 1, 152064, 0x45593e96
+0, 404, 404, 1, 152064, 0x47a0b60c
+0, 406, 406, 1, 152064, 0x68c6d1b9
+0, 408, 408, 1, 152064, 0xbc881fcc
+0, 410, 410, 1, 152064, 0x422cc6f2
+0, 412, 412, 1, 152064, 0x9b686410
+0, 414, 414, 1, 152064, 0x35dc5e86
+0, 416, 416, 1, 152064, 0x247bedaa
+0, 418, 418, 1, 152064, 0x22b76fd1
+0, 420, 420, 1, 152064, 0x67cc7a75
+0, 422, 422, 1, 152064, 0xa197521e
+0, 424, 424, 1, 152064, 0x428c8662
+0, 426, 426, 1, 152064, 0x33dc2c73
+0, 428, 428, 1, 152064, 0x5b538903
+0, 430, 430, 1, 152064, 0x3c4176b6
+0, 432, 432, 1, 152064, 0x774364ba
+0, 434, 434, 1, 152064, 0xf237d03e
+0, 436, 436, 1, 152064, 0xac8746fb
+0, 438, 438, 1, 152064, 0x6b306a84
+0, 440, 440, 1, 152064, 0xa2ace513
+0, 442, 442, 1, 152064, 0x709c9be7
+0, 444, 444, 1, 152064, 0x2403f373
+0, 446, 446, 1, 152064, 0x147bf717
+0, 448, 448, 1, 152064, 0xe58964c8
+0, 450, 450, 1, 152064, 0xa0da36fc
+0, 452, 452, 1, 152064, 0x1ac1355c
+0, 454, 454, 1, 152064, 0x8a31c9f2
+0, 456, 456, 1, 152064, 0x42ba205c
+0, 458, 458, 1, 152064, 0xa11b3575
+0, 460, 460, 1, 152064, 0xcb35207c
+0, 462, 462, 1, 152064, 0x528f6189
+0, 464, 464, 1, 152064, 0x34f05bd7
+0, 466, 466, 1, 152064, 0x72317356
+0, 468, 468, 1, 152064, 0xaabd5028
+0, 470, 470, 1, 152064, 0x13dbeb7b
+0, 472, 472, 1, 152064, 0x62f1e8a8
+0, 474, 474, 1, 152064, 0x1723bfcd
+0, 476, 476, 1, 152064, 0x5c083c00
+0, 478, 478, 1, 152064, 0x52137894
+0, 480, 480, 1, 152064, 0xef1e082c
+0, 482, 482, 1, 152064, 0x664b3d53
+0, 484, 484, 1, 152064, 0x2eb9b296
+0, 486, 486, 1, 152064, 0xd0ca511e
+0, 488, 488, 1, 152064, 0x012d4724
+0, 490, 490, 1, 152064, 0xa847f5af
+0, 492, 492, 1, 152064, 0x483a2fde
+0, 494, 494, 1, 152064, 0xd1ab0257
+0, 496, 496, 1, 152064, 0x414692c7
+0, 498, 498, 1, 152064, 0x0b79df88
+0, 500, 500, 1, 152064, 0xdaa2c4a3
+0, 502, 502, 1, 152064, 0xd1b44500
+0, 504, 504, 1, 152064, 0xfd3d2cf3
+0, 506, 506, 1, 152064, 0xfdc0f748
+0, 508, 508, 1, 152064, 0xce762a2a
+0, 510, 510, 1, 152064, 0x08b63572
+0, 512, 512, 1, 152064, 0x5a46a38d
+0, 514, 514, 1, 152064, 0x03cee9c0
+0, 516, 516, 1, 152064, 0x9ee45473
+0, 518, 518, 1, 152064, 0x5a432386
+0, 520, 520, 1, 152064, 0x54c83d87
+0, 522, 522, 1, 152064, 0xc9caa1de
+0, 524, 524, 1, 152064, 0xa28367f1
+0, 526, 526, 1, 152064, 0x2607cdf1
+0, 528, 528, 1, 152064, 0x06baa8de
+0, 530, 530, 1, 152064, 0xf5346e32
+0, 532, 532, 1, 152064, 0x6d3e732b
+0, 534, 534, 1, 152064, 0x798c584b
+0, 536, 536, 1, 152064, 0x4076c948
+0, 538, 538, 1, 152064, 0x868cf63a
+0, 540, 540, 1, 152064, 0x23107ac5
+0, 542, 542, 1, 152064, 0x306f3fe2
+0, 544, 544, 1, 152064, 0xbd1d71d6
+0, 546, 546, 1, 152064, 0x1429545f
+0, 548, 548, 1, 152064, 0xaded29aa
+0, 550, 550, 1, 152064, 0x9b455a94
+0, 552, 552, 1, 152064, 0xb3774ce7
+0, 554, 554, 1, 152064, 0x92580986
+0, 556, 556, 1, 152064, 0x0eae2f95
+0, 558, 558, 1, 152064, 0x599208b2
+0, 560, 560, 1, 152064, 0x4804c04c
+0, 562, 562, 1, 152064, 0x5f730e8f
+0, 564, 564, 1, 152064, 0x3e501d1e
+0, 566, 566, 1, 152064, 0x32100740
+0, 568, 568, 1, 152064, 0x62226ff8
+0, 570, 570, 1, 152064, 0x7683b622
+0, 572, 572, 1, 152064, 0xc3e0aec1
+0, 574, 574, 1, 152064, 0xfac12608
+0, 576, 576, 1, 152064, 0xb21a5781
+0, 578, 578, 1, 152064, 0x8f1e4964
+0, 580, 580, 1, 152064, 0x0f62dd6e
+0, 582, 582, 1, 152064, 0xac062ac4
+0, 584, 584, 1, 152064, 0x1b320f7a
+0, 586, 586, 1, 152064, 0x346e7211
+0, 588, 588, 1, 152064, 0xe47592f3
+0, 590, 590, 1, 152064, 0xa3a7919c
+0, 592, 592, 1, 152064, 0xa3580fa6
+0, 594, 594, 1, 152064, 0xc73430c1
+0, 596, 596, 1, 152064, 0x994a2c18
+0, 598, 598, 1, 152064, 0x0b5d8d45
+0, 599, 599, 1, 152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b b/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
index a81e91fef8..494fafa5a8 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
+++ b/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
@@ -1,301 +1,301 @@
#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
+0, 1, 1, 1, 152064, 0xf8248ceb
+0, 3, 3, 1, 152064, 0xb6204c81
+0, 4, 4, 1, 152064, 0x22fb1737
+0, 5, 5, 1, 152064, 0xce8c3fd7
+0, 7, 7, 1, 152064, 0xee88cedc
+0, 8, 8, 1, 152064, 0x1d4209ca
+0, 10, 10, 1, 152064, 0x6fb15238
+0, 12, 12, 1, 152064, 0x505200c2
+0, 13, 13, 1, 152064, 0xb73574ba
+0, 14, 14, 1, 152064, 0x0586a097
+0, 16, 16, 1, 152064, 0xed50fe02
+0, 17, 17, 1, 152064, 0x222221ab
+0, 18, 18, 1, 152064, 0x8afefd46
+0, 20, 20, 1, 152064, 0x6832c5cc
+0, 22, 22, 1, 152064, 0xba4c8110
+0, 23, 23, 1, 152064, 0x95c07e1e
+0, 24, 24, 1, 152064, 0xc5d6fde9
+0, 26, 26, 1, 152064, 0xe75a4921
+0, 28, 28, 1, 152064, 0x53b61688
+0, 29, 29, 1, 152064, 0x0335424b
+0, 31, 31, 1, 152064, 0x621742c7
+0, 33, 33, 1, 152064, 0x4f69f41b
+0, 34, 34, 1, 152064, 0x6b3f65d7
+0, 36, 36, 1, 152064, 0x8dfde04f
+0, 37, 37, 1, 152064, 0x30750ff5
+0, 39, 39, 1, 152064, 0xe3d70f3c
+0, 40, 40, 1, 152064, 0x0c1af825
+0, 42, 42, 1, 152064, 0x58a53935
+0, 43, 43, 1, 152064, 0xc63d9e98
+0, 45, 45, 1, 152064, 0xa85fdc48
+0, 46, 46, 1, 152064, 0x01bb9784
+0, 48, 48, 1, 152064, 0xdd5cb509
+0, 49, 49, 1, 152064, 0x29ae7d2b
+0, 51, 51, 1, 152064, 0xdb08593e
+0, 53, 53, 1, 152064, 0x372d5d4e
+0, 55, 55, 1, 152064, 0x31522664
+0, 57, 57, 1, 152064, 0x3f13f335
+0, 58, 58, 1, 152064, 0xfd10c19a
+0, 60, 60, 1, 152064, 0xef728975
+0, 62, 62, 1, 152064, 0x8e79234d
+0, 64, 64, 1, 152064, 0x47022791
+0, 65, 65, 1, 152064, 0x1ef9d297
+0, 66, 66, 1, 152064, 0x77bf9738
+0, 67, 67, 1, 152064, 0xd6bc8f03
+0, 69, 69, 1, 152064, 0x283ded4a
+0, 71, 71, 1, 152064, 0xd87098d1
+0, 72, 72, 1, 152064, 0x300077a2
+0, 73, 73, 1, 152064, 0x30ffbea4
+0, 75, 75, 1, 152064, 0x5dc5356b
+0, 76, 76, 1, 152064, 0x31cce185
+0, 77, 77, 1, 152064, 0x47fc9148
+0, 79, 79, 1, 152064, 0x1641491e
+0, 80, 80, 1, 152064, 0x2184937d
+0, 82, 82, 1, 152064, 0x126eb74a
+0, 83, 83, 1, 152064, 0x25c07593
+0, 84, 84, 1, 152064, 0xb1294e7e
+0, 86, 86, 1, 152064, 0x8b35f45d
+0, 88, 88, 1, 152064, 0x54765025
+0, 89, 89, 1, 152064, 0x1d17e901
+0, 91, 91, 1, 152064, 0xaeab358d
+0, 93, 93, 1, 152064, 0xf682c91f
+0, 94, 94, 1, 152064, 0x0b4c9b06
+0, 95, 95, 1, 152064, 0x45f326dc
+0, 97, 97, 1, 152064, 0x132eeda3
+0, 98, 98, 1, 152064, 0x3c9b8e16
+0, 99, 99, 1, 152064, 0x1be133c1
+0, 100, 100, 1, 152064, 0xfa876720
+0, 102, 102, 1, 152064, 0x1666cdb8
+0, 103, 103, 1, 152064, 0x362f418f
+0, 104, 104, 1, 152064, 0x926b4a96
+0, 105, 105, 1, 152064, 0xee3da1df
+0, 107, 107, 1, 152064, 0xc11f025d
+0, 108, 108, 1, 152064, 0x9ba62c19
+0, 109, 109, 1, 152064, 0x0d66194f
+0, 110, 110, 1, 152064, 0x2fd09340
+0, 111, 111, 1, 152064, 0x3dfb9e4d
+0, 112, 112, 1, 152064, 0xa3192ce6
+0, 113, 113, 1, 152064, 0x6bfce0e1
+0, 114, 114, 1, 152064, 0x3b7c5286
+0, 116, 116, 1, 152064, 0xb52f4bf5
+0, 118, 118, 1, 152064, 0x30870027
+0, 119, 119, 1, 152064, 0x6f8e71c3
+0, 120, 120, 1, 152064, 0x8d41b09a
+0, 121, 121, 1, 152064, 0xc1ff1d05
+0, 122, 122, 1, 152064, 0xca54125c
+0, 123, 123, 1, 152064, 0x3342d823
+0, 125, 125, 1, 152064, 0xcc4a7542
+0, 127, 127, 1, 152064, 0x21fc9a9d
+0, 128, 128, 1, 152064, 0x91587574
+0, 129, 129, 1, 152064, 0x30929cc2
+0, 130, 130, 1, 152064, 0xf07606b7
+0, 132, 132, 1, 152064, 0x0476b876
+0, 134, 134, 1, 152064, 0x213333dc
+0, 135, 135, 1, 152064, 0x87c67597
+0, 137, 137, 1, 152064, 0x05434641
+0, 139, 139, 1, 152064, 0x959eeffc
+0, 140, 140, 1, 152064, 0x92a130b4
+0, 142, 142, 1, 152064, 0x53d0b544
+0, 144, 144, 1, 152064, 0xaf8c233e
+0, 146, 146, 1, 152064, 0xd3d4259a
+0, 148, 148, 1, 152064, 0xa0287753
+0, 149, 149, 1, 152064, 0xfa23972a
+0, 150, 150, 1, 152064, 0xacae756d
+0, 152, 152, 1, 152064, 0xd8b58b5c
+0, 153, 153, 1, 152064, 0x7db2c755
+0, 155, 155, 1, 152064, 0x31e7b79a
+0, 157, 157, 1, 152064, 0xd8660d98
+0, 158, 158, 1, 152064, 0xdcf0d10d
+0, 159, 159, 1, 152064, 0x3e6567e6
+0, 161, 161, 1, 152064, 0xec3530fd
+0, 162, 162, 1, 152064, 0xf686c61a
+0, 163, 163, 1, 152064, 0x6e706804
+0, 165, 165, 1, 152064, 0x5fd4a1a3
+0, 167, 167, 1, 152064, 0xbb3384f7
+0, 168, 168, 1, 152064, 0x8ffb14dd
+0, 170, 170, 1, 152064, 0x01253a73
+0, 172, 172, 1, 152064, 0xf89c15df
+0, 173, 173, 1, 152064, 0xda2b0b4c
+0, 175, 175, 1, 152064, 0xfc9dfcc1
+0, 177, 177, 1, 152064, 0xfef4f0fa
+0, 178, 178, 1, 152064, 0x91669bea
+0, 180, 180, 1, 152064, 0x3664a565
+0, 181, 181, 1, 152064, 0x32dd7923
+0, 182, 182, 1, 152064, 0x26825231
+0, 183, 183, 1, 152064, 0x5f81896e
+0, 185, 185, 1, 152064, 0x0c64ca2f
+0, 186, 186, 1, 152064, 0x488bb665
+0, 188, 188, 1, 152064, 0x4d183a0f
+0, 189, 189, 1, 152064, 0xed169321
+0, 190, 190, 1, 152064, 0xcec22917
+0, 191, 191, 1, 152064, 0xbe04ea6c
+0, 193, 193, 1, 152064, 0x32b8bf9f
+0, 195, 195, 1, 152064, 0x9c7c2e13
+0, 197, 197, 1, 152064, 0x232e3016
+0, 199, 199, 1, 152064, 0x1b76c08e
+0, 201, 201, 1, 152064, 0x7425d821
+0, 202, 202, 1, 152064, 0x0818ff3c
+0, 203, 203, 1, 152064, 0xb4f2c42b
+0, 204, 204, 1, 152064, 0xe029f979
+0, 206, 206, 1, 152064, 0x97c54c2f
+0, 208, 208, 1, 152064, 0xd101c3b5
+0, 209, 209, 1, 152064, 0x5ed1f5d4
+0, 211, 211, 1, 152064, 0xc28264d1
+0, 212, 212, 1, 152064, 0xa162dd31
+0, 213, 213, 1, 152064, 0x2ee872ce
+0, 215, 215, 1, 152064, 0x809a8fce
+0, 216, 216, 1, 152064, 0xcfcc3ef9
+0, 218, 218, 1, 152064, 0xa5be6ce3
+0, 219, 219, 1, 152064, 0xd75930a0
+0, 221, 221, 1, 152064, 0x28acb80f
+0, 223, 223, 1, 152064, 0x223f2152
+0, 225, 225, 1, 152064, 0x0cf070cb
+0, 226, 226, 1, 152064, 0xcc7d011e
+0, 228, 228, 1, 152064, 0xb2c2a63c
+0, 229, 229, 1, 152064, 0x15514caa
+0, 231, 231, 1, 152064, 0x0c6d18ee
+0, 232, 232, 1, 152064, 0x33b4265d
+0, 233, 233, 1, 152064, 0xb4abaaaf
+0, 235, 235, 1, 152064, 0x26a7a856
+0, 236, 236, 1, 152064, 0xc75249cc
+0, 238, 238, 1, 152064, 0x59ccb0e1
+0, 240, 240, 1, 152064, 0xc613f202
+0, 242, 242, 1, 152064, 0xd1c0e171
+0, 243, 243, 1, 152064, 0xa195da2b
+0, 244, 244, 1, 152064, 0xbc7ed475
+0, 245, 245, 1, 152064, 0x99206e2c
+0, 247, 247, 1, 152064, 0x0ef04e03
+0, 249, 249, 1, 152064, 0x68cbc6a1
+0, 250, 250, 1, 152064, 0x2a5304b1
+0, 251, 251, 1, 152064, 0xf017978b
+0, 252, 252, 1, 152064, 0x94f5641a
+0, 254, 254, 1, 152064, 0xd681bd8f
+0, 255, 255, 1, 152064, 0x16e1e3a3
+0, 257, 257, 1, 152064, 0xe4486c7e
+0, 259, 259, 1, 152064, 0xa1bd394e
+0, 260, 260, 1, 152064, 0x49ad5959
+0, 262, 262, 1, 152064, 0x82219b70
+0, 264, 264, 1, 152064, 0x64e2abcf
+0, 266, 266, 1, 152064, 0x6d7d05d8
+0, 268, 268, 1, 152064, 0xd9ac2251
+0, 269, 269, 1, 152064, 0xf477eee5
+0, 271, 271, 1, 152064, 0xb9826a78
+0, 272, 272, 1, 152064, 0x97828a37
+0, 274, 274, 1, 152064, 0x12099b1f
+0, 275, 275, 1, 152064, 0x1ec45fa7
+0, 277, 277, 1, 152064, 0xfd5501c9
+0, 278, 278, 1, 152064, 0x6a8b26a3
+0, 280, 280, 1, 152064, 0xae58ff40
+0, 282, 282, 1, 152064, 0xc0f47aa1
+0, 283, 283, 1, 152064, 0x08bfa548
+0, 284, 284, 1, 152064, 0x7f2ff5ef
+0, 286, 286, 1, 152064, 0x5efa94a3
+0, 288, 288, 1, 152064, 0xf786f970
+0, 290, 290, 1, 152064, 0xab6bc712
+0, 291, 291, 1, 152064, 0x25647bee
+0, 293, 293, 1, 152064, 0x54333ad5
+0, 295, 295, 1, 152064, 0xb3a99413
+0, 296, 296, 1, 152064, 0xe7a78a0d
+0, 298, 298, 1, 152064, 0xa5054abc
+0, 300, 300, 1, 152064, 0xb94896ea
+0, 301, 301, 1, 152064, 0x9f641bca
+0, 303, 303, 1, 152064, 0x7363901c
+0, 304, 304, 1, 152064, 0xd340a000
+0, 305, 305, 1, 152064, 0x0217f413
+0, 306, 306, 1, 152064, 0xbbdba6e6
+0, 307, 307, 1, 152064, 0xabc42617
+0, 309, 309, 1, 152064, 0xa3442925
+0, 311, 311, 1, 152064, 0x7d06c7e9
+0, 312, 312, 1, 152064, 0xa45e32df
+0, 313, 313, 1, 152064, 0xf5ed407f
+0, 315, 315, 1, 152064, 0x5ec235d5
+0, 317, 317, 1, 152064, 0xa5706635
+0, 319, 319, 1, 152064, 0xa44a209b
+0, 321, 321, 1, 152064, 0xf2137e37
+0, 323, 323, 1, 152064, 0x5220508f
+0, 324, 324, 1, 152064, 0xae6b37da
+0, 326, 326, 1, 152064, 0xdf09b6cd
+0, 327, 327, 1, 152064, 0x2d39e1c0
+0, 329, 329, 1, 152064, 0xc8284a76
+0, 331, 331, 1, 152064, 0x7d7bbe76
+0, 332, 332, 1, 152064, 0xcfed7416
+0, 333, 333, 1, 152064, 0x81caaedd
+0, 334, 334, 1, 152064, 0x9dcdd771
+0, 336, 336, 1, 152064, 0x46c1331b
+0, 338, 338, 1, 152064, 0xace60efa
+0, 339, 339, 1, 152064, 0x9e0909f7
+0, 341, 341, 1, 152064, 0x72f5a321
+0, 342, 342, 1, 152064, 0x68f8cdcc
+0, 343, 343, 1, 152064, 0xcc59fdd9
+0, 345, 345, 1, 152064, 0xc0a700c6
+0, 347, 347, 1, 152064, 0xf4254dcf
+0, 348, 348, 1, 152064, 0xc59b46d1
+0, 350, 350, 1, 152064, 0x2e5b2524
+0, 352, 352, 1, 152064, 0x46051293
+0, 353, 353, 1, 152064, 0x3cbcd1cd
+0, 354, 354, 1, 152064, 0x9f308587
+0, 356, 356, 1, 152064, 0x6b91633f
+0, 357, 357, 1, 152064, 0xb7191012
+0, 359, 359, 1, 152064, 0xd2fd030f
+0, 361, 361, 1, 152064, 0x15a0ae2e
+0, 363, 363, 1, 152064, 0xac3920d0
+0, 364, 364, 1, 152064, 0x0eef80aa
+0, 365, 365, 1, 152064, 0x319008f1
+0, 367, 367, 1, 152064, 0x7734450c
+0, 368, 368, 1, 152064, 0xf112df62
+0, 369, 369, 1, 152064, 0x1dd8ffae
+0, 371, 371, 1, 152064, 0x655ef429
+0, 372, 372, 1, 152064, 0x27026213
+0, 374, 374, 1, 152064, 0x5c14b015
+0, 376, 376, 1, 152064, 0x9512abeb
+0, 378, 378, 1, 152064, 0x961812b2
+0, 379, 379, 1, 152064, 0xb8890aea
+0, 380, 380, 1, 152064, 0x4519db9a
+0, 381, 381, 1, 152064, 0xf358034a
+0, 383, 383, 1, 152064, 0x45d9f2ab
+0, 384, 384, 1, 152064, 0xebd47e7d
+0, 385, 385, 1, 152064, 0x15578be9
+0, 387, 387, 1, 152064, 0x1b373b2d
+0, 388, 388, 1, 152064, 0xbbe707e5
+0, 389, 389, 1, 152064, 0x5bf62385
+0, 391, 391, 1, 152064, 0x832e6ef5
+0, 393, 393, 1, 152064, 0x761e5968
+0, 394, 394, 1, 152064, 0x251f984d
+0, 396, 396, 1, 152064, 0xbda48899
+0, 397, 397, 1, 152064, 0x3fd843b9
+0, 399, 399, 1, 152064, 0x00485425
+0, 401, 401, 1, 152064, 0x4e282b39
+0, 403, 403, 1, 152064, 0x2630a8ea
+0, 405, 405, 1, 152064, 0x5ea5c973
+0, 407, 407, 1, 152064, 0xfc436d21
+0, 409, 409, 1, 152064, 0x69852ef5
+0, 411, 411, 1, 152064, 0x44cb5589
+0, 413, 413, 1, 152064, 0x32f32725
+0, 415, 415, 1, 152064, 0x54d50aca
+0, 417, 417, 1, 152064, 0xe7a639bb
+0, 419, 419, 1, 152064, 0x01be2ad5
+0, 421, 421, 1, 152064, 0x5c63eca4
+0, 423, 423, 1, 152064, 0x94e91116
+0, 424, 424, 1, 152064, 0x9a8be637
+0, 425, 425, 1, 152064, 0x165d9a12
+0, 427, 427, 1, 152064, 0x8c25ca0a
+0, 429, 429, 1, 152064, 0x4ee2ed32
+0, 431, 431, 1, 152064, 0x4b2fe0c6
+0, 433, 433, 1, 152064, 0x521e434e
+0, 435, 435, 1, 152064, 0x97679d7e
+0, 437, 437, 1, 152064, 0x886b9506
+0, 438, 438, 1, 152064, 0x4283eda8
+0, 440, 440, 1, 152064, 0xef793c49
+0, 441, 441, 1, 152064, 0x68ac2afe
+0, 443, 443, 1, 152064, 0x3d1ab510
+0, 444, 444, 1, 152064, 0x98d3ec95
+0, 445, 445, 1, 152064, 0x09f7e512
+0, 447, 447, 1, 152064, 0x801355dd
+0, 449, 449, 1, 152064, 0xf2e87a11
+0, 450, 450, 1, 152064, 0x16757601
+0, 451, 451, 1, 152064, 0x3074d74a
+0, 453, 453, 1, 152064, 0xec8c1290
+0, 455, 455, 1, 152064, 0x46fb1877
+0, 456, 456, 1, 152064, 0xf0b662c4
+0, 457, 457, 1, 152064, 0xf8683940
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a b/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
index dbfec436bd..b2081848db 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
@@ -1,301 +1,301 @@
#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
+0, 2, 2, 1, 152064, 0x502ec077
+0, 4, 4, 1, 152064, 0x84807243
+0, 6, 6, 1, 152064, 0xd7474a6e
+0, 8, 8, 1, 152064, 0x793469bb
+0, 10, 10, 1, 152064, 0xb7a0faf7
+0, 12, 12, 1, 152064, 0x1d3d3cba
+0, 14, 14, 1, 152064, 0xb62583de
+0, 16, 16, 1, 152064, 0xc8422fb1
+0, 18, 18, 1, 152064, 0x321dc699
+0, 20, 20, 1, 152064, 0x7a34d350
+0, 22, 22, 1, 152064, 0xaa4c302d
+0, 24, 24, 1, 152064, 0x45fa7ab0
+0, 26, 26, 1, 152064, 0xc7262e41
+0, 28, 28, 1, 152064, 0x3550000c
+0, 30, 30, 1, 152064, 0xf4bab54b
+0, 32, 32, 1, 152064, 0xaccf9c1a
+0, 34, 34, 1, 152064, 0x9bee20e9
+0, 36, 36, 1, 152064, 0x47fb7720
+0, 38, 38, 1, 152064, 0x12c63ffb
+0, 40, 40, 1, 152064, 0xfa2b8b4d
+0, 42, 42, 1, 152064, 0x279964bd
+0, 44, 44, 1, 152064, 0xb8b01c7e
+0, 46, 46, 1, 152064, 0x816fa010
+0, 48, 48, 1, 152064, 0x59fe1c8c
+0, 50, 50, 1, 152064, 0x13393fad
+0, 52, 52, 1, 152064, 0x991a50a4
+0, 54, 54, 1, 152064, 0x57df3eb7
+0, 56, 56, 1, 152064, 0x744371df
+0, 58, 58, 1, 152064, 0xe9f6d3ff
+0, 60, 60, 1, 152064, 0xc506fba0
+0, 62, 62, 1, 152064, 0x6295b90e
+0, 64, 64, 1, 152064, 0xa19cee2d
+0, 66, 66, 1, 152064, 0xf8c1b3ca
+0, 68, 68, 1, 152064, 0x69f68ce0
+0, 70, 70, 1, 152064, 0x80558bb6
+0, 72, 72, 1, 152064, 0x27824fa5
+0, 74, 74, 1, 152064, 0x27c929a1
+0, 76, 76, 1, 152064, 0xc0fe06d1
+0, 78, 78, 1, 152064, 0xc52bc58c
+0, 80, 80, 1, 152064, 0x0a5363c7
+0, 82, 82, 1, 152064, 0xd0f45a0d
+0, 84, 84, 1, 152064, 0x274710f9
+0, 86, 86, 1, 152064, 0x89d2d390
+0, 88, 88, 1, 152064, 0x12a9bfb0
+0, 90, 90, 1, 152064, 0x04501a93
+0, 92, 92, 1, 152064, 0xf92cbbf4
+0, 94, 94, 1, 152064, 0xf6d1b27d
+0, 96, 96, 1, 152064, 0xe3e904c3
+0, 98, 98, 1, 152064, 0x58f8516d
+0, 100, 100, 1, 152064, 0x70370c2b
+0, 102, 102, 1, 152064, 0xfeebc88c
+0, 104, 104, 1, 152064, 0x974c6ed6
+0, 106, 106, 1, 152064, 0x401bdcf2
+0, 108, 108, 1, 152064, 0xfe61e278
+0, 110, 110, 1, 152064, 0x96ba8bb9
+0, 112, 112, 1, 152064, 0x988492fd
+0, 114, 114, 1, 152064, 0xd1d913a9
+0, 116, 116, 1, 152064, 0x6bc46f0e
+0, 118, 118, 1, 152064, 0x695ef706
+0, 120, 120, 1, 152064, 0x142045c9
+0, 122, 122, 1, 152064, 0xb390ed87
+0, 124, 124, 1, 152064, 0xb9e6d2e5
+0, 126, 126, 1, 152064, 0xe348797f
+0, 128, 128, 1, 152064, 0x1cbd29d6
+0, 130, 130, 1, 152064, 0xbd7dd694
+0, 132, 132, 1, 152064, 0x516873c3
+0, 134, 134, 1, 152064, 0x27bba182
+0, 136, 136, 1, 152064, 0x7541f920
+0, 138, 138, 1, 152064, 0xfdf67042
+0, 140, 140, 1, 152064, 0x6c3c7896
+0, 142, 142, 1, 152064, 0xed86c467
+0, 144, 144, 1, 152064, 0x4ea83ca2
+0, 146, 146, 1, 152064, 0xa3e6725b
+0, 148, 148, 1, 152064, 0x917f5f16
+0, 150, 150, 1, 152064, 0x8cf2d2e1
+0, 152, 152, 1, 152064, 0x57a8d116
+0, 154, 154, 1, 152064, 0x0db267d4
+0, 156, 156, 1, 152064, 0xce782ac5
+0, 158, 158, 1, 152064, 0x1c9d8518
+0, 160, 160, 1, 152064, 0x47598ac7
+0, 162, 162, 1, 152064, 0xc5033d97
+0, 164, 164, 1, 152064, 0xd7aaa3a4
+0, 166, 166, 1, 152064, 0x078afc96
+0, 168, 168, 1, 152064, 0xc9fe673d
+0, 170, 170, 1, 152064, 0xe9284066
+0, 172, 172, 1, 152064, 0xbc570982
+0, 174, 174, 1, 152064, 0x0aac8574
+0, 176, 176, 1, 152064, 0x098cbeee
+0, 178, 178, 1, 152064, 0x19c36a9d
+0, 180, 180, 1, 152064, 0x8fe4a893
+0, 182, 182, 1, 152064, 0x0b652f17
+0, 184, 184, 1, 152064, 0x10f2e6bf
+0, 186, 186, 1, 152064, 0x7ce5634e
+0, 188, 188, 1, 152064, 0x8fe4ac6c
+0, 190, 190, 1, 152064, 0xcaba749e
+0, 192, 192, 1, 152064, 0x5f8a0d5c
+0, 194, 194, 1, 152064, 0xcaa66bbc
+0, 196, 196, 1, 152064, 0xc87ae617
+0, 198, 198, 1, 152064, 0xe8ef4dd7
+0, 200, 200, 1, 152064, 0xdfca5a07
+0, 202, 202, 1, 152064, 0x5f7eab7d
+0, 204, 204, 1, 152064, 0x8a65ebbb
+0, 206, 206, 1, 152064, 0x4beab4a0
+0, 208, 208, 1, 152064, 0xb5e6ab30
+0, 210, 210, 1, 152064, 0x8fe4f4d4
+0, 212, 212, 1, 152064, 0x95bde1ca
+0, 214, 214, 1, 152064, 0xcc5e3a53
+0, 216, 216, 1, 152064, 0xf09f1dd7
+0, 218, 218, 1, 152064, 0x10179672
+0, 220, 220, 1, 152064, 0x4ad16184
+0, 222, 222, 1, 152064, 0x9efa0e23
+0, 224, 224, 1, 152064, 0x22f59522
+0, 226, 226, 1, 152064, 0x4d38f09d
+0, 228, 228, 1, 152064, 0x4c5ebf56
+0, 230, 230, 1, 152064, 0xb19d5077
+0, 232, 232, 1, 152064, 0xa98576b9
+0, 234, 234, 1, 152064, 0x65324239
+0, 236, 236, 1, 152064, 0x709e4031
+0, 238, 238, 1, 152064, 0xf8e81681
+0, 240, 240, 1, 152064, 0x058514e5
+0, 242, 242, 1, 152064, 0xd1d1c806
+0, 244, 244, 1, 152064, 0x0e4dde57
+0, 246, 246, 1, 152064, 0x49e9c2bb
+0, 248, 248, 1, 152064, 0x01417ce6
+0, 250, 250, 1, 152064, 0xda7ebbf1
+0, 252, 252, 1, 152064, 0xa22906b7
+0, 254, 254, 1, 152064, 0x32e2df87
+0, 256, 256, 1, 152064, 0x69917c8f
+0, 258, 258, 1, 152064, 0xea8ed2cc
+0, 260, 260, 1, 152064, 0x0b8d57f1
+0, 262, 262, 1, 152064, 0x5f683bcd
+0, 264, 264, 1, 152064, 0x5162fe2f
+0, 266, 266, 1, 152064, 0x49c052f8
+0, 268, 268, 1, 152064, 0x990b69ba
+0, 270, 270, 1, 152064, 0xa6d4f99f
+0, 272, 272, 1, 152064, 0xe79ef4da
+0, 274, 274, 1, 152064, 0x5e8a3847
+0, 276, 276, 1, 152064, 0x38b1e75f
+0, 278, 278, 1, 152064, 0xf5c91bed
+0, 280, 280, 1, 152064, 0xd59a6d26
+0, 282, 282, 1, 152064, 0xc361de06
+0, 284, 284, 1, 152064, 0x63ed2229
+0, 286, 286, 1, 152064, 0xb8229205
+0, 288, 288, 1, 152064, 0x7c6619af
+0, 290, 290, 1, 152064, 0x4126b02f
+0, 292, 292, 1, 152064, 0x9250b99b
+0, 294, 294, 1, 152064, 0x589778f9
+0, 296, 296, 1, 152064, 0xed1fa45b
+0, 298, 298, 1, 152064, 0x700b6f32
+0, 300, 300, 1, 152064, 0x0590df55
+0, 302, 302, 1, 152064, 0x3e9c4018
+0, 304, 304, 1, 152064, 0x957b8860
+0, 306, 306, 1, 152064, 0x56161560
+0, 308, 308, 1, 152064, 0xbc43bc3b
+0, 310, 310, 1, 152064, 0x508d8632
+0, 312, 312, 1, 152064, 0xbc5736d8
+0, 314, 314, 1, 152064, 0xed7d3aef
+0, 316, 316, 1, 152064, 0x1dcdda9f
+0, 318, 318, 1, 152064, 0x8ef6d5c9
+0, 320, 320, 1, 152064, 0x15466acc
+0, 322, 322, 1, 152064, 0x45d4cf67
+0, 324, 324, 1, 152064, 0x8c900b9d
+0, 326, 326, 1, 152064, 0x747006e0
+0, 328, 328, 1, 152064, 0xac920a0c
+0, 330, 330, 1, 152064, 0xb8210c27
+0, 332, 332, 1, 152064, 0x7dbb873a
+0, 334, 334, 1, 152064, 0x0d4d7584
+0, 336, 336, 1, 152064, 0xefb3fe60
+0, 338, 338, 1, 152064, 0x905e2644
+0, 340, 340, 1, 152064, 0x7c04e534
+0, 342, 342, 1, 152064, 0x8889972a
+0, 344, 344, 1, 152064, 0x21c7d8ad
+0, 346, 346, 1, 152064, 0x1c641176
+0, 348, 348, 1, 152064, 0xf71489a4
+0, 350, 350, 1, 152064, 0xd7ac5555
+0, 352, 352, 1, 152064, 0xb4609c6d
+0, 354, 354, 1, 152064, 0xf5b2bd5e
+0, 356, 356, 1, 152064, 0x9f43ce57
+0, 358, 358, 1, 152064, 0x77642dd3
+0, 360, 360, 1, 152064, 0x3e79565c
+0, 362, 362, 1, 152064, 0x95f40b8e
+0, 364, 364, 1, 152064, 0x3c8ca4d4
+0, 366, 366, 1, 152064, 0xa02ac497
+0, 368, 368, 1, 152064, 0x4c93b377
+0, 370, 370, 1, 152064, 0x55f5ac68
+0, 372, 372, 1, 152064, 0xf8652eca
+0, 374, 374, 1, 152064, 0x56e94574
+0, 376, 376, 1, 152064, 0x6d8302e1
+0, 378, 378, 1, 152064, 0x29a57061
+0, 380, 380, 1, 152064, 0x24e4cfdc
+0, 382, 382, 1, 152064, 0xf5a5d62a
+0, 384, 384, 1, 152064, 0x998870c1
+0, 386, 386, 1, 152064, 0xa15b1f4e
+0, 388, 388, 1, 152064, 0xb0ccb51f
+0, 390, 390, 1, 152064, 0xeaaf59ab
+0, 392, 392, 1, 152064, 0x7e2b4fe6
+0, 394, 394, 1, 152064, 0x72299fea
+0, 396, 396, 1, 152064, 0x769da8b2
+0, 398, 398, 1, 152064, 0xefad7ef8
+0, 400, 400, 1, 152064, 0x24819983
+0, 402, 402, 1, 152064, 0x2aad32ab
+0, 404, 404, 1, 152064, 0xc80cac79
+0, 406, 406, 1, 152064, 0x1659d628
+0, 408, 408, 1, 152064, 0xef941f66
+0, 410, 410, 1, 152064, 0x0d7fcdb5
+0, 412, 412, 1, 152064, 0x7c1853fa
+0, 414, 414, 1, 152064, 0xb94c4d3c
+0, 416, 416, 1, 152064, 0xc47adfc2
+0, 418, 418, 1, 152064, 0x366a6729
+0, 420, 420, 1, 152064, 0x7eb37b70
+0, 422, 422, 1, 152064, 0xafd54c27
+0, 424, 424, 1, 152064, 0x67b18636
+0, 426, 426, 1, 152064, 0x93b22dcf
+0, 428, 428, 1, 152064, 0xa64991f1
+0, 430, 430, 1, 152064, 0xd32a7102
+0, 432, 432, 1, 152064, 0xff665d1c
+0, 434, 434, 1, 152064, 0xf107cc31
+0, 436, 436, 1, 152064, 0xf5b25652
+0, 438, 438, 1, 152064, 0x8caf783d
+0, 440, 440, 1, 152064, 0x72f3eb00
+0, 442, 442, 1, 152064, 0xb5aea5f8
+0, 444, 444, 1, 152064, 0xee70e870
+0, 446, 446, 1, 152064, 0x7c3a0156
+0, 448, 448, 1, 152064, 0x871b6383
+0, 450, 450, 1, 152064, 0x48d831ff
+0, 452, 452, 1, 152064, 0xca233913
+0, 454, 454, 1, 152064, 0xe14bc5eb
+0, 456, 456, 1, 152064, 0x9b1d27e7
+0, 458, 458, 1, 152064, 0xfb9637f7
+0, 460, 460, 1, 152064, 0x0c022157
+0, 462, 462, 1, 152064, 0x16d35fc9
+0, 464, 464, 1, 152064, 0x6d935f71
+0, 466, 466, 1, 152064, 0xae4066fa
+0, 468, 468, 1, 152064, 0xcef94fdc
+0, 470, 470, 1, 152064, 0xc234edb9
+0, 472, 472, 1, 152064, 0x26a4f2e2
+0, 474, 474, 1, 152064, 0xd29ac23e
+0, 476, 476, 1, 152064, 0xb7604395
+0, 478, 478, 1, 152064, 0x408084f6
+0, 480, 480, 1, 152064, 0x0a02026c
+0, 482, 482, 1, 152064, 0x78b33c7c
+0, 484, 484, 1, 152064, 0xcb02b874
+0, 486, 486, 1, 152064, 0xf566513b
+0, 488, 488, 1, 152064, 0xb34e52b1
+0, 490, 490, 1, 152064, 0xf55ff493
+0, 492, 492, 1, 152064, 0xb0e8282a
+0, 494, 494, 1, 152064, 0xe9510bbe
+0, 496, 496, 1, 152064, 0x292e8c5a
+0, 498, 498, 1, 152064, 0x62b9d2b0
+0, 500, 500, 1, 152064, 0x3a8cc827
+0, 502, 502, 1, 152064, 0x25cc465e
+0, 504, 504, 1, 152064, 0xf2bc32e2
+0, 506, 506, 1, 152064, 0x6141f914
+0, 508, 508, 1, 152064, 0x1171256f
+0, 510, 510, 1, 152064, 0x13cb2ded
+0, 512, 512, 1, 152064, 0x3d4ca557
+0, 514, 514, 1, 152064, 0xf2b9e72e
+0, 516, 516, 1, 152064, 0x03f7547a
+0, 518, 518, 1, 152064, 0xc7302955
+0, 520, 520, 1, 152064, 0xe78a46d3
+0, 522, 522, 1, 152064, 0x3726a270
+0, 524, 524, 1, 152064, 0x2f65722a
+0, 526, 526, 1, 152064, 0x55acce40
+0, 528, 528, 1, 152064, 0xf6fa9db2
+0, 530, 530, 1, 152064, 0x70a36937
+0, 532, 532, 1, 152064, 0x9313742d
+0, 534, 534, 1, 152064, 0x2eb14e53
+0, 536, 536, 1, 152064, 0x3d47c9c3
+0, 538, 538, 1, 152064, 0xd0a90348
+0, 540, 540, 1, 152064, 0x6ad48088
+0, 542, 542, 1, 152064, 0x68e64738
+0, 544, 544, 1, 152064, 0x04c3735a
+0, 546, 546, 1, 152064, 0x51d0593f
+0, 548, 548, 1, 152064, 0x42cf2b48
+0, 550, 550, 1, 152064, 0xa5496a0c
+0, 552, 552, 1, 152064, 0x84c25549
+0, 554, 554, 1, 152064, 0x96691600
+0, 556, 556, 1, 152064, 0x423135db
+0, 558, 558, 1, 152064, 0x8d2e08b6
+0, 560, 560, 1, 152064, 0xaeb4c840
+0, 562, 562, 1, 152064, 0xf3e71780
+0, 564, 564, 1, 152064, 0x8858228b
+0, 566, 566, 1, 152064, 0xf28613f8
+0, 568, 568, 1, 152064, 0xb5327882
+0, 570, 570, 1, 152064, 0xbb60bb85
+0, 572, 572, 1, 152064, 0x345ab1c9
+0, 574, 574, 1, 152064, 0x8aac2cba
+0, 576, 576, 1, 152064, 0x7ce15b4c
+0, 578, 578, 1, 152064, 0xc09c55c0
+0, 580, 580, 1, 152064, 0x8482ddd6
+0, 582, 582, 1, 152064, 0xab222a13
+0, 584, 584, 1, 152064, 0xd39b0dea
+0, 586, 586, 1, 152064, 0x6dab6e06
+0, 588, 588, 1, 152064, 0xec0891bd
+0, 590, 590, 1, 152064, 0x88bd9701
+0, 592, 592, 1, 152064, 0xdf13072a
+0, 594, 594, 1, 152064, 0x23b33081
+0, 596, 596, 1, 152064, 0x63943137
+0, 598, 598, 1, 152064, 0xab6a9052
+0, 599, 599, 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 65a366e0cb..aafb2d4c6f 100644
--- a/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
+++ b/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
@@ -1,301 +1,301 @@
#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
+0, 2, 2, 1, 152064, 0x3e39c08b
+0, 4, 4, 1, 152064, 0xabc67990
+0, 6, 6, 1, 152064, 0x19614e74
+0, 8, 8, 1, 152064, 0xa3776beb
+0, 10, 10, 1, 152064, 0xcce6ffdf
+0, 12, 12, 1, 152064, 0xb0e94746
+0, 14, 14, 1, 152064, 0xdb1a84ef
+0, 16, 16, 1, 152064, 0xb2624509
+0, 18, 18, 1, 152064, 0x32e2d826
+0, 20, 20, 1, 152064, 0xb3bddf0b
+0, 22, 22, 1, 152064, 0x2e273ce3
+0, 24, 24, 1, 152064, 0x67af7e4d
+0, 26, 26, 1, 152064, 0x505c3261
+0, 28, 28, 1, 152064, 0xa43d015e
+0, 30, 30, 1, 152064, 0xad41c1f6
+0, 32, 32, 1, 152064, 0x633ba55f
+0, 34, 34, 1, 152064, 0xe80634f0
+0, 36, 36, 1, 152064, 0x80a07dc9
+0, 38, 38, 1, 152064, 0x0e7a3bbf
+0, 40, 40, 1, 152064, 0xcb099196
+0, 42, 42, 1, 152064, 0x57c96db5
+0, 44, 44, 1, 152064, 0xccd422fa
+0, 46, 46, 1, 152064, 0x0850b7a7
+0, 48, 48, 1, 152064, 0x30e33156
+0, 50, 50, 1, 152064, 0x34e13f9a
+0, 52, 52, 1, 152064, 0x03d36000
+0, 54, 54, 1, 152064, 0xbf7d49da
+0, 56, 56, 1, 152064, 0x77336d09
+0, 58, 58, 1, 152064, 0xca8be5a9
+0, 60, 60, 1, 152064, 0xe57c0b08
+0, 62, 62, 1, 152064, 0xbe77c093
+0, 64, 64, 1, 152064, 0x6bf1ff05
+0, 66, 66, 1, 152064, 0x9142babf
+0, 68, 68, 1, 152064, 0x08db8e67
+0, 70, 70, 1, 152064, 0x69ac8cb6
+0, 72, 72, 1, 152064, 0xaa3b5c88
+0, 74, 74, 1, 152064, 0x9bd32638
+0, 76, 76, 1, 152064, 0x7972115a
+0, 78, 78, 1, 152064, 0x5c1dd47b
+0, 80, 80, 1, 152064, 0x8a196e02
+0, 82, 82, 1, 152064, 0xa89672bc
+0, 84, 84, 1, 152064, 0x27b220e4
+0, 86, 86, 1, 152064, 0xfa38dc4a
+0, 88, 88, 1, 152064, 0x4784c639
+0, 90, 90, 1, 152064, 0xa5e4229a
+0, 92, 92, 1, 152064, 0xa986bdfc
+0, 94, 94, 1, 152064, 0x2951b47b
+0, 96, 96, 1, 152064, 0x4df404a6
+0, 98, 98, 1, 152064, 0xc75155e8
+0, 100, 100, 1, 152064, 0xfc05248c
+0, 102, 102, 1, 152064, 0x5d53da10
+0, 104, 104, 1, 152064, 0x284376ec
+0, 106, 106, 1, 152064, 0x19fce380
+0, 108, 108, 1, 152064, 0x876be6c9
+0, 110, 110, 1, 152064, 0x39eb8ff9
+0, 112, 112, 1, 152064, 0x289c9543
+0, 114, 114, 1, 152064, 0x24dd2356
+0, 116, 116, 1, 152064, 0x1dc17d3c
+0, 118, 118, 1, 152064, 0xd17c00ac
+0, 120, 120, 1, 152064, 0xc2ad54de
+0, 122, 122, 1, 152064, 0xbe11ee2f
+0, 124, 124, 1, 152064, 0x3db9dc89
+0, 126, 126, 1, 152064, 0xac0d7bc2
+0, 128, 128, 1, 152064, 0x8dab2dde
+0, 130, 130, 1, 152064, 0x566ad225
+0, 132, 132, 1, 152064, 0x587c7853
+0, 134, 134, 1, 152064, 0x601c9c80
+0, 136, 136, 1, 152064, 0x2afaf751
+0, 138, 138, 1, 152064, 0x1c9f7e3a
+0, 140, 140, 1, 152064, 0x899475bf
+0, 142, 142, 1, 152064, 0x0d65c7d9
+0, 144, 144, 1, 152064, 0xafd63d12
+0, 146, 146, 1, 152064, 0x162e62b9
+0, 148, 148, 1, 152064, 0x5c9554be
+0, 150, 150, 1, 152064, 0x35fbdaa2
+0, 152, 152, 1, 152064, 0x6438cbd8
+0, 154, 154, 1, 152064, 0xde0772c9
+0, 156, 156, 1, 152064, 0x79f82854
+0, 158, 158, 1, 152064, 0x86957840
+0, 160, 160, 1, 152064, 0xd9468cbf
+0, 162, 162, 1, 152064, 0x23e74609
+0, 164, 164, 1, 152064, 0x3919a146
+0, 166, 166, 1, 152064, 0xd641078b
+0, 168, 168, 1, 152064, 0x24397220
+0, 170, 170, 1, 152064, 0xe7fc3a7c
+0, 172, 172, 1, 152064, 0x3997154a
+0, 174, 174, 1, 152064, 0x2af3952c
+0, 176, 176, 1, 152064, 0x274ac07a
+0, 178, 178, 1, 152064, 0x288f7b09
+0, 180, 180, 1, 152064, 0xe6f9b022
+0, 182, 182, 1, 152064, 0xf09e2fbb
+0, 184, 184, 1, 152064, 0x7244e477
+0, 186, 186, 1, 152064, 0x0dfc72eb
+0, 188, 188, 1, 152064, 0x0322b21f
+0, 190, 190, 1, 152064, 0x18b08205
+0, 192, 192, 1, 152064, 0x6606153e
+0, 194, 194, 1, 152064, 0x85186272
+0, 196, 196, 1, 152064, 0x3369f064
+0, 198, 198, 1, 152064, 0xbe0d5a44
+0, 200, 200, 1, 152064, 0x320258bb
+0, 202, 202, 1, 152064, 0x4d6fb091
+0, 204, 204, 1, 152064, 0xc9bbf5e7
+0, 206, 206, 1, 152064, 0x0aa1b69b
+0, 208, 208, 1, 152064, 0x85b9ac11
+0, 210, 210, 1, 152064, 0xb25ff818
+0, 212, 212, 1, 152064, 0xa155dc25
+0, 214, 214, 1, 152064, 0xa8e03bfd
+0, 216, 216, 1, 152064, 0x0a862956
+0, 218, 218, 1, 152064, 0x11b49264
+0, 220, 220, 1, 152064, 0xa94e664e
+0, 222, 222, 1, 152064, 0x330e0fa2
+0, 224, 224, 1, 152064, 0xaf3d9518
+0, 226, 226, 1, 152064, 0x0836f2e8
+0, 228, 228, 1, 152064, 0xbf6dc578
+0, 230, 230, 1, 152064, 0x7b524d20
+0, 232, 232, 1, 152064, 0x9ef7677f
+0, 234, 234, 1, 152064, 0xeacf3f34
+0, 236, 236, 1, 152064, 0xfb4e3dbe
+0, 238, 238, 1, 152064, 0xb46e25cb
+0, 240, 240, 1, 152064, 0x363c1603
+0, 242, 242, 1, 152064, 0x263fc542
+0, 244, 244, 1, 152064, 0xf106e548
+0, 246, 246, 1, 152064, 0xde43c56a
+0, 248, 248, 1, 152064, 0xc2c4770a
+0, 250, 250, 1, 152064, 0x122fce19
+0, 252, 252, 1, 152064, 0x3ba01434
+0, 254, 254, 1, 152064, 0x0e8ce5ee
+0, 256, 256, 1, 152064, 0x6ceb82e1
+0, 258, 258, 1, 152064, 0xa23ee21c
+0, 260, 260, 1, 152064, 0xc6d960f9
+0, 262, 262, 1, 152064, 0x0de15258
+0, 264, 264, 1, 152064, 0x187b0333
+0, 266, 266, 1, 152064, 0x92e6582f
+0, 268, 268, 1, 152064, 0xb9586ce0
+0, 270, 270, 1, 152064, 0xefd803b5
+0, 272, 272, 1, 152064, 0x24eafb29
+0, 274, 274, 1, 152064, 0x20c73b14
+0, 276, 276, 1, 152064, 0xbd7ceaaa
+0, 278, 278, 1, 152064, 0x775216c8
+0, 280, 280, 1, 152064, 0xa08971c7
+0, 282, 282, 1, 152064, 0xef0ee865
+0, 284, 284, 1, 152064, 0x9ac61c2f
+0, 286, 286, 1, 152064, 0x52ae8ea9
+0, 288, 288, 1, 152064, 0x06571c14
+0, 290, 290, 1, 152064, 0x6e78ad33
+0, 292, 292, 1, 152064, 0xad01c627
+0, 294, 294, 1, 152064, 0xbfe074d3
+0, 296, 296, 1, 152064, 0x9357a183
+0, 298, 298, 1, 152064, 0x8de7767f
+0, 300, 300, 1, 152064, 0xa5e6e76e
+0, 302, 302, 1, 152064, 0xa6f646fe
+0, 304, 304, 1, 152064, 0x132e99f8
+0, 306, 306, 1, 152064, 0xb79f27de
+0, 308, 308, 1, 152064, 0x36d3cdcf
+0, 310, 310, 1, 152064, 0xdc938336
+0, 312, 312, 1, 152064, 0xacaa3a7f
+0, 314, 314, 1, 152064, 0xc61a37fd
+0, 316, 316, 1, 152064, 0x4fe1ddf0
+0, 318, 318, 1, 152064, 0xc0f7d660
+0, 320, 320, 1, 152064, 0xd72458ea
+0, 322, 322, 1, 152064, 0x6978d123
+0, 324, 324, 1, 152064, 0x64e60ccf
+0, 326, 326, 1, 152064, 0xaa07004c
+0, 328, 328, 1, 152064, 0x07cd1064
+0, 330, 330, 1, 152064, 0xa82320e5
+0, 332, 332, 1, 152064, 0xaedd8d30
+0, 334, 334, 1, 152064, 0x79b082ea
+0, 336, 336, 1, 152064, 0x9ed800ab
+0, 338, 338, 1, 152064, 0xde592bb4
+0, 340, 340, 1, 152064, 0xd966df88
+0, 342, 342, 1, 152064, 0xf921988a
+0, 344, 344, 1, 152064, 0x557ad9ae
+0, 346, 346, 1, 152064, 0xc3f31a9a
+0, 348, 348, 1, 152064, 0x65248561
+0, 350, 350, 1, 152064, 0x63df4aa6
+0, 352, 352, 1, 152064, 0x618da0a9
+0, 354, 354, 1, 152064, 0xe6f1c435
+0, 356, 356, 1, 152064, 0x9f90c38f
+0, 358, 358, 1, 152064, 0xd2853e14
+0, 360, 360, 1, 152064, 0x6e0268a9
+0, 362, 362, 1, 152064, 0x393712d1
+0, 364, 364, 1, 152064, 0x470da25f
+0, 366, 366, 1, 152064, 0xaf55cb3d
+0, 368, 368, 1, 152064, 0x6935b8b9
+0, 370, 370, 1, 152064, 0x5409a15f
+0, 372, 372, 1, 152064, 0x09073fee
+0, 374, 374, 1, 152064, 0xfb274e82
+0, 376, 376, 1, 152064, 0x1a770581
+0, 378, 378, 1, 152064, 0x17277d0d
+0, 380, 380, 1, 152064, 0xd4dcd982
+0, 382, 382, 1, 152064, 0x6b04eaf3
+0, 384, 384, 1, 152064, 0x8a3d822e
+0, 386, 386, 1, 152064, 0x1b971ec9
+0, 388, 388, 1, 152064, 0x14e0c0f6
+0, 390, 390, 1, 152064, 0x00667450
+0, 392, 392, 1, 152064, 0xd2385902
+0, 394, 394, 1, 152064, 0x905da6ab
+0, 396, 396, 1, 152064, 0xa3ffb18b
+0, 398, 398, 1, 152064, 0x10d48b19
+0, 400, 400, 1, 152064, 0xb2c7a3bd
+0, 402, 402, 1, 152064, 0x45593e96
+0, 404, 404, 1, 152064, 0x47a0b60c
+0, 406, 406, 1, 152064, 0x68c6d1b9
+0, 408, 408, 1, 152064, 0xbc881fcc
+0, 410, 410, 1, 152064, 0x422cc6f2
+0, 412, 412, 1, 152064, 0x9b686410
+0, 414, 414, 1, 152064, 0x35dc5e86
+0, 416, 416, 1, 152064, 0x247bedaa
+0, 418, 418, 1, 152064, 0x22b76fd1
+0, 420, 420, 1, 152064, 0x67cc7a75
+0, 422, 422, 1, 152064, 0xa197521e
+0, 424, 424, 1, 152064, 0x428c8662
+0, 426, 426, 1, 152064, 0x33dc2c73
+0, 428, 428, 1, 152064, 0x5b538903
+0, 430, 430, 1, 152064, 0x3c4176b6
+0, 432, 432, 1, 152064, 0x774364ba
+0, 434, 434, 1, 152064, 0xf237d03e
+0, 436, 436, 1, 152064, 0xac8746fb
+0, 438, 438, 1, 152064, 0x6b306a84
+0, 440, 440, 1, 152064, 0xa2ace513
+0, 442, 442, 1, 152064, 0x709c9be7
+0, 444, 444, 1, 152064, 0x2403f373
+0, 446, 446, 1, 152064, 0x147bf717
+0, 448, 448, 1, 152064, 0xe58964c8
+0, 450, 450, 1, 152064, 0xa0da36fc
+0, 452, 452, 1, 152064, 0x1ac1355c
+0, 454, 454, 1, 152064, 0x8a31c9f2
+0, 456, 456, 1, 152064, 0x42ba205c
+0, 458, 458, 1, 152064, 0xa11b3575
+0, 460, 460, 1, 152064, 0xcb35207c
+0, 462, 462, 1, 152064, 0x528f6189
+0, 464, 464, 1, 152064, 0x34f05bd7
+0, 466, 466, 1, 152064, 0x72317356
+0, 468, 468, 1, 152064, 0xaabd5028
+0, 470, 470, 1, 152064, 0x13dbeb7b
+0, 472, 472, 1, 152064, 0x62f1e8a8
+0, 474, 474, 1, 152064, 0x1723bfcd
+0, 476, 476, 1, 152064, 0x5c083c00
+0, 478, 478, 1, 152064, 0x52137894
+0, 480, 480, 1, 152064, 0xef1e082c
+0, 482, 482, 1, 152064, 0x664b3d53
+0, 484, 484, 1, 152064, 0x2eb9b296
+0, 486, 486, 1, 152064, 0xd0ca511e
+0, 488, 488, 1, 152064, 0x012d4724
+0, 490, 490, 1, 152064, 0xa847f5af
+0, 492, 492, 1, 152064, 0x483a2fde
+0, 494, 494, 1, 152064, 0xd1ab0257
+0, 496, 496, 1, 152064, 0x414692c7
+0, 498, 498, 1, 152064, 0x0b79df88
+0, 500, 500, 1, 152064, 0xdaa2c4a3
+0, 502, 502, 1, 152064, 0xd1b44500
+0, 504, 504, 1, 152064, 0xfd3d2cf3
+0, 506, 506, 1, 152064, 0xfdc0f748
+0, 508, 508, 1, 152064, 0xce762a2a
+0, 510, 510, 1, 152064, 0x08b63572
+0, 512, 512, 1, 152064, 0x5a46a38d
+0, 514, 514, 1, 152064, 0x03cee9c0
+0, 516, 516, 1, 152064, 0x9ee45473
+0, 518, 518, 1, 152064, 0x5a432386
+0, 520, 520, 1, 152064, 0x54c83d87
+0, 522, 522, 1, 152064, 0xc9caa1de
+0, 524, 524, 1, 152064, 0xa28367f1
+0, 526, 526, 1, 152064, 0x2607cdf1
+0, 528, 528, 1, 152064, 0x06baa8de
+0, 530, 530, 1, 152064, 0xf5346e32
+0, 532, 532, 1, 152064, 0x6d3e732b
+0, 534, 534, 1, 152064, 0x798c584b
+0, 536, 536, 1, 152064, 0x4076c948
+0, 538, 538, 1, 152064, 0x868cf63a
+0, 540, 540, 1, 152064, 0x23107ac5
+0, 542, 542, 1, 152064, 0x306f3fe2
+0, 544, 544, 1, 152064, 0xbd1d71d6
+0, 546, 546, 1, 152064, 0x1429545f
+0, 548, 548, 1, 152064, 0xaded29aa
+0, 550, 550, 1, 152064, 0x9b455a94
+0, 552, 552, 1, 152064, 0xb3774ce7
+0, 554, 554, 1, 152064, 0x92580986
+0, 556, 556, 1, 152064, 0x0eae2f95
+0, 558, 558, 1, 152064, 0x599208b2
+0, 560, 560, 1, 152064, 0x4804c04c
+0, 562, 562, 1, 152064, 0x5f730e8f
+0, 564, 564, 1, 152064, 0x3e501d1e
+0, 566, 566, 1, 152064, 0x32100740
+0, 568, 568, 1, 152064, 0x62226ff8
+0, 570, 570, 1, 152064, 0x7683b622
+0, 572, 572, 1, 152064, 0xc3e0aec1
+0, 574, 574, 1, 152064, 0xfac12608
+0, 576, 576, 1, 152064, 0xb21a5781
+0, 578, 578, 1, 152064, 0x8f1e4964
+0, 580, 580, 1, 152064, 0x0f62dd6e
+0, 582, 582, 1, 152064, 0xac062ac4
+0, 584, 584, 1, 152064, 0x1b320f7a
+0, 586, 586, 1, 152064, 0x346e7211
+0, 588, 588, 1, 152064, 0xe47592f3
+0, 590, 590, 1, 152064, 0xa3a7919c
+0, 592, 592, 1, 152064, 0xa3580fa6
+0, 594, 594, 1, 152064, 0xc73430c1
+0, 596, 596, 1, 152064, 0x994a2c18
+0, 598, 598, 1, 152064, 0x0b5d8d45
+0, 599, 599, 1, 152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-mr3_tandberg_b b/tests/ref/fate/h264-conformance-mr3_tandberg_b
index ee8014ef36..6e0c83ac89 100644
--- a/tests/ref/fate/h264-conformance-mr3_tandberg_b
+++ b/tests/ref/fate/h264-conformance-mr3_tandberg_b
@@ -8,294 +8,294 @@
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
+0, 10, 10, 1, 38016, 0xda748c2f
+0, 11, 11, 1, 38016, 0x7b4dbff0
+0, 12, 12, 1, 38016, 0xd4a1b24a
+0, 13, 13, 1, 38016, 0x714cb4cc
+0, 14, 14, 1, 38016, 0x2c6d80f0
+0, 15, 15, 1, 38016, 0x92266151
+0, 16, 16, 1, 38016, 0x6b766a23
+0, 17, 17, 1, 38016, 0xb24f7efe
+0, 18, 18, 1, 38016, 0x8410838e
+0, 19, 19, 1, 38016, 0x67fe872a
+0, 20, 20, 1, 38016, 0x55b49d36
+0, 21, 21, 1, 38016, 0x7a1c9c41
+0, 22, 22, 1, 38016, 0xb4818e0e
+0, 23, 23, 1, 38016, 0x25f6683c
+0, 24, 24, 1, 38016, 0xe4d141a4
+0, 25, 25, 1, 38016, 0x808216ad
+0, 26, 26, 1, 38016, 0x2acf0baf
+0, 27, 27, 1, 38016, 0xf3de13c4
+0, 28, 28, 1, 38016, 0x5f412187
+0, 29, 29, 1, 38016, 0xb31a340a
+0, 30, 30, 1, 38016, 0x019d42d1
+0, 31, 31, 1, 38016, 0xeeb94b9b
+0, 32, 32, 1, 38016, 0xef55472e
+0, 33, 33, 1, 38016, 0xdb5e3697
+0, 34, 34, 1, 38016, 0x8565303e
+0, 35, 35, 1, 38016, 0x5f9c2c1b
+0, 36, 36, 1, 38016, 0xeb3d27f4
+0, 37, 37, 1, 38016, 0x9a43282d
+0, 38, 38, 1, 38016, 0xe04720c6
+0, 39, 39, 1, 38016, 0x19cc0eba
+0, 40, 40, 1, 38016, 0x218efeb6
+0, 41, 41, 1, 38016, 0x7733f491
+0, 42, 42, 1, 38016, 0x7f3bede9
+0, 43, 43, 1, 38016, 0x49c5ec0d
+0, 44, 44, 1, 38016, 0x803cf19e
+0, 45, 45, 1, 38016, 0x31de0d3f
+0, 46, 46, 1, 38016, 0xa7e30426
+0, 47, 47, 1, 38016, 0xba37f068
+0, 48, 48, 1, 38016, 0x2842bdf8
+0, 49, 49, 1, 38016, 0x76df97dc
+0, 50, 50, 1, 38016, 0xf3246d26
+0, 51, 51, 1, 38016, 0x0a384d72
+0, 52, 52, 1, 38016, 0x40964f41
+0, 53, 53, 1, 38016, 0x46364324
+0, 54, 54, 1, 38016, 0x7cbf3db4
+0, 55, 55, 1, 38016, 0x7a223bec
+0, 56, 56, 1, 38016, 0x458651c1
+0, 57, 57, 1, 38016, 0xb82d7e3c
+0, 58, 58, 1, 38016, 0x0f50a55d
+0, 59, 59, 1, 38016, 0xc306cae4
+0, 60, 60, 1, 38016, 0x9d6ddfcb
+0, 61, 61, 1, 38016, 0xb602e8e9
+0, 62, 62, 1, 38016, 0xbf0ae386
+0, 63, 63, 1, 38016, 0x0a8bd46e
+0, 64, 64, 1, 38016, 0xd437c5c1
+0, 65, 65, 1, 38016, 0xd61d9959
+0, 66, 66, 1, 38016, 0x70639b56
+0, 67, 67, 1, 38016, 0x36fd407b
+0, 68, 68, 1, 38016, 0x58ce3ddd
+0, 69, 69, 1, 38016, 0x86cc1d8c
+0, 70, 70, 1, 38016, 0xee422dc2
+0, 71, 71, 1, 38016, 0xab475639
+0, 72, 72, 1, 38016, 0xc1327ad8
+0, 73, 73, 1, 38016, 0x63d196d4
+0, 74, 74, 1, 38016, 0x1aba8ebd
+0, 75, 75, 1, 38016, 0x74a269ac
+0, 76, 76, 1, 38016, 0x267f3563
+0, 77, 77, 1, 38016, 0xa18ff180
+0, 78, 78, 1, 38016, 0x70c9c9fd
+0, 79, 79, 1, 38016, 0xa6c59f9c
+0, 80, 80, 1, 38016, 0xd7cd8927
+0, 81, 81, 1, 38016, 0xd30b7345
+0, 82, 82, 1, 38016, 0x679a4dda
+0, 83, 83, 1, 38016, 0xeb0562de
+0, 84, 84, 1, 38016, 0xdd7d6cdb
+0, 85, 85, 1, 38016, 0xd6e26b73
+0, 86, 86, 1, 38016, 0xa65a860f
+0, 87, 87, 1, 38016, 0xae95c71e
+0, 88, 88, 1, 38016, 0x1a89ca86
+0, 89, 89, 1, 38016, 0xa33ecee6
+0, 90, 90, 1, 38016, 0x821da6cb
+0, 91, 91, 1, 38016, 0xf0e1612f
+0, 92, 92, 1, 38016, 0x67b8516b
+0, 93, 93, 1, 38016, 0x62f965bc
+0, 94, 94, 1, 38016, 0xd1917aa6
+0, 95, 95, 1, 38016, 0xe72db54d
+0, 96, 96, 1, 38016, 0x9b64e721
+0, 97, 97, 1, 38016, 0xa819efda
+0, 98, 98, 1, 38016, 0xeacfdacb
+0, 99, 99, 1, 38016, 0x52f235e1
+0, 100, 100, 1, 38016, 0x2b512cb8
+0, 101, 101, 1, 38016, 0xaac73fb3
+0, 102, 102, 1, 38016, 0x7d2d504f
+0, 103, 103, 1, 38016, 0x396d503a
+0, 104, 104, 1, 38016, 0x97905235
+0, 105, 105, 1, 38016, 0xf0056693
+0, 106, 106, 1, 38016, 0x728a6a9e
+0, 107, 107, 1, 38016, 0x0eed7824
+0, 108, 108, 1, 38016, 0x59506237
+0, 109, 109, 1, 38016, 0xd4304c93
+0, 110, 110, 1, 38016, 0x7e663ee8
+0, 111, 111, 1, 38016, 0x0ebc2d11
+0, 112, 112, 1, 38016, 0x52db2112
+0, 113, 113, 1, 38016, 0x74aa1815
+0, 114, 114, 1, 38016, 0x57a60dc6
+0, 115, 115, 1, 38016, 0x86e9fa32
+0, 116, 116, 1, 38016, 0x67e8ff09
+0, 117, 117, 1, 38016, 0x26e8f7ea
+0, 118, 118, 1, 38016, 0x183dff56
+0, 119, 119, 1, 38016, 0xa470af8d
+0, 120, 120, 1, 38016, 0xe017d594
+0, 121, 121, 1, 38016, 0xb899d48b
+0, 122, 122, 1, 38016, 0x0d3bc5f7
+0, 123, 123, 1, 38016, 0xd68bbb0d
+0, 124, 124, 1, 38016, 0x8bf5b4cb
+0, 125, 125, 1, 38016, 0x6bfcaa47
+0, 126, 126, 1, 38016, 0x29a9b01b
+0, 127, 127, 1, 38016, 0xcdedbdb7
+0, 128, 128, 1, 38016, 0xdb5ad9c3
+0, 129, 129, 1, 38016, 0x468aeef6
+0, 130, 130, 1, 38016, 0xdc2b143e
+0, 131, 131, 1, 38016, 0x6776277c
+0, 132, 132, 1, 38016, 0xb78d5294
+0, 133, 133, 1, 38016, 0x1dfb63ab
+0, 134, 134, 1, 38016, 0xbd1f99bc
+0, 135, 135, 1, 38016, 0xde16b89a
+0, 136, 136, 1, 38016, 0xbf46edca
+0, 137, 137, 1, 38016, 0x6306e8c4
+0, 138, 138, 1, 38016, 0x7b09d224
+0, 139, 139, 1, 38016, 0xfea1aff6
+0, 140, 140, 1, 38016, 0x183686b0
+0, 141, 141, 1, 38016, 0x665a61ff
+0, 142, 142, 1, 38016, 0xc8af42d1
+0, 143, 143, 1, 38016, 0xe2326bc1
+0, 144, 144, 1, 38016, 0x56dbde82
+0, 145, 145, 1, 38016, 0xa0254f97
+0, 146, 146, 1, 38016, 0x3b74a0b4
+0, 147, 147, 1, 38016, 0x9aee9b7f
+0, 148, 148, 1, 38016, 0xd94b6133
+0, 149, 149, 1, 38016, 0x5819f795
+0, 150, 150, 1, 38016, 0xc45a8c02
+0, 151, 151, 1, 38016, 0x2f9204a0
+0, 152, 152, 1, 38016, 0xbe09e051
+0, 153, 153, 1, 38016, 0xb542badd
+0, 154, 154, 1, 38016, 0x23bd9e00
+0, 155, 155, 1, 38016, 0x4f338d3d
+0, 156, 156, 1, 38016, 0x8c91e8f3
+0, 157, 157, 1, 38016, 0xa7347d57
+0, 158, 158, 1, 38016, 0x6d91de4d
+0, 159, 159, 1, 38016, 0x3443d936
+0, 160, 160, 1, 38016, 0x9d25b4e2
+0, 161, 161, 1, 38016, 0xd93cd4b3
+0, 162, 162, 1, 38016, 0xa1c9e9a0
+0, 163, 163, 1, 38016, 0x1482f220
+0, 164, 164, 1, 38016, 0x1295f270
+0, 165, 165, 1, 38016, 0x399ae9da
+0, 166, 166, 1, 38016, 0x85dcdf28
+0, 167, 167, 1, 38016, 0x4207b9e5
+0, 168, 168, 1, 38016, 0xad1c9d75
+0, 169, 169, 1, 38016, 0x4a266c14
+0, 170, 170, 1, 38016, 0x3afc4508
+0, 171, 171, 1, 38016, 0x2b1b2385
+0, 172, 172, 1, 38016, 0x738f005f
+0, 173, 173, 1, 38016, 0xfec3d833
+0, 174, 174, 1, 38016, 0x3f7f6ae9
+0, 175, 175, 1, 38016, 0xd8551823
+0, 176, 176, 1, 38016, 0x6df03570
+0, 177, 177, 1, 38016, 0x767c3054
+0, 178, 178, 1, 38016, 0x89bd342c
+0, 179, 179, 1, 38016, 0x77ba806c
+0, 180, 180, 1, 38016, 0x1c98005c
+0, 181, 181, 1, 38016, 0xa13ce2a3
+0, 182, 182, 1, 38016, 0x1be59915
+0, 183, 183, 1, 38016, 0x279c6027
+0, 184, 184, 1, 38016, 0x96ac11a2
+0, 185, 185, 1, 38016, 0x3ae95131
+0, 186, 186, 1, 38016, 0xae19f7fe
+0, 187, 187, 1, 38016, 0xcde4efe6
+0, 188, 188, 1, 38016, 0x5ecc3f7a
+0, 189, 189, 1, 38016, 0x79645152
+0, 190, 190, 1, 38016, 0x1ee2e89f
+0, 191, 191, 1, 38016, 0x91d34bb4
+0, 192, 192, 1, 38016, 0xf019d464
+0, 193, 193, 1, 38016, 0x8eb07205
+0, 194, 194, 1, 38016, 0x5399bb5b
+0, 195, 195, 1, 38016, 0x61f0c77a
+0, 196, 196, 1, 38016, 0xb2bd8726
+0, 197, 197, 1, 38016, 0x47b89243
+0, 198, 198, 1, 38016, 0xebfe4d76
+0, 199, 199, 1, 38016, 0xe8f87d91
+0, 200, 200, 1, 38016, 0x5e9fb239
+0, 201, 201, 1, 38016, 0x357ca1f8
+0, 202, 202, 1, 38016, 0x757d2e02
+0, 203, 203, 1, 38016, 0x40672e7c
+0, 204, 204, 1, 38016, 0xd966abca
+0, 205, 205, 1, 38016, 0xe98d0d47
+0, 206, 206, 1, 38016, 0x341babf5
+0, 207, 207, 1, 38016, 0xd12d5a0c
+0, 208, 208, 1, 38016, 0xea2f99ab
+0, 209, 209, 1, 38016, 0x14bce88e
+0, 210, 210, 1, 38016, 0xe4bda9e8
+0, 211, 211, 1, 38016, 0x2c57ec89
+0, 212, 212, 1, 38016, 0x28bbb83e
+0, 213, 213, 1, 38016, 0xf8444b54
+0, 214, 214, 1, 38016, 0x3aba03cd
+0, 215, 215, 1, 38016, 0x373daa20
+0, 216, 216, 1, 38016, 0x69586597
+0, 217, 217, 1, 38016, 0xc0c70d53
+0, 218, 218, 1, 38016, 0x76a5df5a
+0, 219, 219, 1, 38016, 0x1afde8f0
+0, 220, 220, 1, 38016, 0x9638285a
+0, 221, 221, 1, 38016, 0x9f0686c0
+0, 222, 222, 1, 38016, 0xc65b2238
+0, 223, 223, 1, 38016, 0x0d61b610
+0, 224, 224, 1, 38016, 0x78e14e1f
+0, 225, 225, 1, 38016, 0xcf80ac4a
+0, 226, 226, 1, 38016, 0xe094083d
+0, 227, 227, 1, 38016, 0xee5e612e
+0, 228, 228, 1, 38016, 0x51cdad9d
+0, 229, 229, 1, 38016, 0xae41100e
+0, 230, 230, 1, 38016, 0x77558f58
+0, 231, 231, 1, 38016, 0xb9503b95
+0, 232, 232, 1, 38016, 0xb71dffeb
+0, 233, 233, 1, 38016, 0x1872e3e6
+0, 234, 234, 1, 38016, 0x29c3d252
+0, 235, 235, 1, 38016, 0x1c77c6ec
+0, 236, 236, 1, 38016, 0x26feb194
+0, 237, 237, 1, 38016, 0x3307c3c4
+0, 238, 238, 1, 38016, 0x8e5a8080
+0, 239, 239, 1, 38016, 0x933472f7
+0, 240, 240, 1, 38016, 0xd4768d84
+0, 241, 241, 1, 38016, 0x3324485f
+0, 242, 242, 1, 38016, 0xd50af078
+0, 243, 243, 1, 38016, 0x53820752
+0, 244, 244, 1, 38016, 0xbe7f1c47
+0, 245, 245, 1, 38016, 0xe43d3a34
+0, 246, 246, 1, 38016, 0x57194b82
+0, 247, 247, 1, 38016, 0x68a052ed
+0, 248, 248, 1, 38016, 0x5c898052
+0, 249, 249, 1, 38016, 0x7104a6ad
+0, 250, 250, 1, 38016, 0x1676b5e8
+0, 251, 251, 1, 38016, 0xe1cfd375
+0, 252, 252, 1, 38016, 0x16fede04
+0, 253, 253, 1, 38016, 0xca49dd4a
+0, 254, 254, 1, 38016, 0x7b98d9d1
+0, 255, 255, 1, 38016, 0x4020d210
+0, 256, 256, 1, 38016, 0x62c5d1e4
+0, 257, 257, 1, 38016, 0x756abdb4
+0, 258, 258, 1, 38016, 0x558fb00f
+0, 259, 259, 1, 38016, 0x4ab0b1f1
+0, 260, 260, 1, 38016, 0x7c9fb0c2
+0, 261, 261, 1, 38016, 0xcecfbdd0
+0, 262, 262, 1, 38016, 0x70e6d174
+0, 263, 263, 1, 38016, 0x83d7ddde
+0, 264, 264, 1, 38016, 0xbbcde2d9
+0, 265, 265, 1, 38016, 0xc89eeaef
+0, 266, 266, 1, 38016, 0x8565e15c
+0, 267, 267, 1, 38016, 0x28e0db24
+0, 268, 268, 1, 38016, 0x1d9dd334
+0, 269, 269, 1, 38016, 0xce02c452
+0, 270, 270, 1, 38016, 0xe29dbd0c
+0, 271, 271, 1, 38016, 0x4aa3b638
+0, 272, 272, 1, 38016, 0x5533c135
+0, 273, 273, 1, 38016, 0x6c57b65f
+0, 274, 274, 1, 38016, 0x23d3b851
+0, 275, 275, 1, 38016, 0xd8cbb960
+0, 276, 276, 1, 38016, 0x02edb916
+0, 277, 277, 1, 38016, 0xa622bd42
+0, 278, 278, 1, 38016, 0x4ba5be1c
+0, 279, 279, 1, 38016, 0xe69bb625
+0, 280, 280, 1, 38016, 0xbca5b292
+0, 281, 281, 1, 38016, 0xde38b1c8
+0, 282, 282, 1, 38016, 0xe9e3b617
+0, 283, 283, 1, 38016, 0x216cc574
+0, 284, 284, 1, 38016, 0x3780c5ad
+0, 285, 285, 1, 38016, 0x5531e3f9
+0, 286, 286, 1, 38016, 0xe2c5f5d4
+0, 287, 287, 1, 38016, 0x24cefc6e
+0, 288, 288, 1, 38016, 0xa3ce003d
+0, 289, 289, 1, 38016, 0x42d01c9e
+0, 290, 290, 1, 38016, 0xbfc13689
+0, 291, 291, 1, 38016, 0x122647a9
+0, 292, 292, 1, 38016, 0xe45254da
+0, 293, 293, 1, 38016, 0xad955b0c
+0, 294, 294, 1, 38016, 0x4b086abb
+0, 295, 295, 1, 38016, 0xd4857b8c
+0, 296, 296, 1, 38016, 0xa71594ce
+0, 297, 297, 1, 38016, 0x04e4a73d
+0, 298, 298, 1, 38016, 0x295abf63
+0, 299, 299, 1, 38016, 0xbe4ed5dd
+0, 300, 300, 1, 38016, 0x087bcf64
diff --git a/tests/ref/fate/h264-conformance-mr6_bt_b b/tests/ref/fate/h264-conformance-mr6_bt_b
index 3b02506562..4a46efe3e5 100644
--- a/tests/ref/fate/h264-conformance-mr6_bt_b
+++ b/tests/ref/fate/h264-conformance-mr6_bt_b
@@ -1,61 +1,61 @@
#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
+0, 1, 1, 1, 36864, 0x954464be
+0, 3, 3, 1, 36864, 0xace1d90b
+0, 5, 5, 1, 36864, 0x8f149f03
+0, 7, 7, 1, 36864, 0xea9b21eb
+0, 9, 9, 1, 36864, 0xb51d9fe3
+0, 11, 11, 1, 36864, 0x61bd11d7
+0, 13, 13, 1, 36864, 0x9d36980f
+0, 15, 15, 1, 36864, 0xa4192c5e
+0, 17, 17, 1, 36864, 0x11006433
+0, 19, 19, 1, 36864, 0x4a243e46
+0, 21, 21, 1, 36864, 0x1807b5e8
+0, 23, 23, 1, 36864, 0xbe37743c
+0, 25, 25, 1, 36864, 0x82491319
+0, 27, 27, 1, 36864, 0x006e9914
+0, 29, 29, 1, 36864, 0xa5261884
+0, 31, 31, 1, 36864, 0x2030c9d6
+0, 33, 33, 1, 36864, 0xc80eb1ce
+0, 35, 35, 1, 36864, 0x4d559791
+0, 37, 37, 1, 36864, 0xf5f900ee
+0, 39, 39, 1, 36864, 0x2cc9c0d7
+0, 41, 41, 1, 36864, 0x5ba14186
+0, 43, 43, 1, 36864, 0x47a46865
+0, 45, 45, 1, 36864, 0x5ba180b7
+0, 47, 47, 1, 36864, 0xc67c4876
+0, 49, 49, 1, 36864, 0x4311d75d
+0, 51, 51, 1, 36864, 0x56edb851
+0, 53, 53, 1, 36864, 0x7e5aa3e0
+0, 55, 55, 1, 36864, 0x8df8283a
+0, 57, 57, 1, 36864, 0xb8583ddf
+0, 59, 59, 1, 36864, 0xf33fb779
+0, 61, 61, 1, 36864, 0xe9942ddc
+0, 63, 63, 1, 36864, 0x2bc5f7fa
+0, 65, 65, 1, 36864, 0xc7b66c65
+0, 67, 67, 1, 36864, 0x1a524319
+0, 69, 69, 1, 36864, 0xf60c6141
+0, 71, 71, 1, 36864, 0x113f41f2
+0, 73, 73, 1, 36864, 0xad191a31
+0, 75, 75, 1, 36864, 0x3898264a
+0, 77, 77, 1, 36864, 0x3c2f34a4
+0, 79, 79, 1, 36864, 0xd0fc76aa
+0, 81, 81, 1, 36864, 0x2870b546
+0, 83, 83, 1, 36864, 0x7d326fb4
+0, 85, 85, 1, 36864, 0xd7ed14e1
+0, 87, 87, 1, 36864, 0x205174aa
+0, 89, 89, 1, 36864, 0xa3a88be9
+0, 91, 91, 1, 36864, 0xd6f01751
+0, 93, 93, 1, 36864, 0x5420bb80
+0, 95, 95, 1, 36864, 0xe14518f9
+0, 97, 97, 1, 36864, 0x931db61e
+0, 99, 99, 1, 36864, 0x052ecfae
+0, 101, 101, 1, 36864, 0x29b1b0f5
+0, 103, 103, 1, 36864, 0xa3057117
+0, 105, 105, 1, 36864, 0x954464be
+0, 107, 107, 1, 36864, 0xace1d90b
+0, 109, 109, 1, 36864, 0x8f149f03
+0, 111, 111, 1, 36864, 0x485722c5
+0, 113, 113, 1, 36864, 0x534b18f9
+0, 115, 115, 1, 36864, 0xc893a0a6
+0, 117, 117, 1, 36864, 0x8b04e1dd
+0, 119, 119, 1, 36864, 0xaf536964
diff --git a/tests/ref/fate/h264-conformance-mr7_bt_b b/tests/ref/fate/h264-conformance-mr7_bt_b
index 25b7054fa8..f1e561e097 100644
--- a/tests/ref/fate/h264-conformance-mr7_bt_b
+++ b/tests/ref/fate/h264-conformance-mr7_bt_b
@@ -9,53 +9,53 @@
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
+0, 11, 11, 1, 36864, 0x8baeb610
+0, 13, 13, 1, 36864, 0x86d47617
+0, 14, 14, 1, 36864, 0xf11011cc
+0, 15, 15, 1, 36864, 0xe56a9daa
+0, 16, 16, 1, 36864, 0xd57119d6
+0, 17, 17, 1, 36864, 0xe28fcde7
+0, 18, 18, 1, 36864, 0x9aeeba86
+0, 19, 19, 1, 36864, 0xa518a7c5
+0, 20, 20, 1, 36864, 0x9af410be
+0, 22, 22, 1, 36864, 0x1fedd12f
+0, 23, 23, 1, 36864, 0xa8032e03
+0, 24, 24, 1, 36864, 0x579e6274
+0, 25, 25, 1, 36864, 0x99846ef6
+0, 26, 26, 1, 36864, 0xb5ad3ca7
+0, 27, 27, 1, 36864, 0x7845cb90
+0, 28, 28, 1, 36864, 0x569fae24
+0, 29, 29, 1, 36864, 0x8a3c9f98
+0, 30, 30, 1, 36864, 0x0b7722af
+0, 31, 31, 1, 36864, 0x699c2dd8
+0, 32, 32, 1, 36864, 0xd477af13
+0, 33, 33, 1, 36864, 0x17b62d7c
+0, 34, 34, 1, 36864, 0xb1ecf6a7
+0, 35, 35, 1, 36864, 0xf9c17e4c
+0, 36, 36, 1, 36864, 0xe7c44618
+0, 37, 37, 1, 36864, 0x7e23654e
+0, 38, 38, 1, 36864, 0xd8a0457c
+0, 39, 39, 1, 36864, 0x57e11df1
+0, 40, 40, 1, 36864, 0xd54d2a43
+0, 41, 41, 1, 36864, 0xc6f03950
+0, 42, 42, 1, 36864, 0x687e750e
+0, 44, 44, 1, 36864, 0x2870b546
+0, 46, 46, 1, 36864, 0xda0370d0
+0, 47, 47, 1, 36864, 0x5a2e0bff
+0, 49, 49, 1, 36864, 0xe1f07533
+0, 50, 50, 1, 36864, 0x3de892b9
+0, 51, 51, 1, 36864, 0xe5c31505
+0, 52, 52, 1, 36864, 0x96b8c082
+0, 53, 53, 1, 36864, 0x55391423
+0, 54, 54, 1, 36864, 0xc285bd71
+0, 55, 55, 1, 36864, 0xf702d9f3
+0, 56, 56, 1, 36864, 0x7afbadf8
+0, 57, 57, 1, 36864, 0xd9b568f7
+0, 58, 58, 1, 36864, 0x579e6274
+0, 59, 59, 1, 36864, 0x8650c61c
+0, 60, 60, 1, 36864, 0xbc359647
+0, 61, 61, 1, 36864, 0x5522328c
+0, 62, 62, 1, 36864, 0x02821fd6
+0, 63, 63, 1, 36864, 0xb4ee9562
+0, 64, 64, 1, 36864, 0xcefedb68
+0, 65, 65, 1, 36864, 0xd959782e
diff --git a/tests/ref/fate/h264-conformance-mr8_bt_b b/tests/ref/fate/h264-conformance-mr8_bt_b
index 220acf1e5f..8b299ecef1 100644
--- a/tests/ref/fate/h264-conformance-mr8_bt_b
+++ b/tests/ref/fate/h264-conformance-mr8_bt_b
@@ -1,59 +1,59 @@
#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
+0, 2, 2, 1, 36864, 0x36df68f4
+0, 4, 4, 1, 36864, 0x52d4c6d9
+0, 6, 6, 1, 36864, 0xad16b0be
+0, 8, 8, 1, 36864, 0xf8c72556
+0, 10, 10, 1, 36864, 0x70aaad30
+0, 12, 12, 1, 36864, 0x53cffd5e
+0, 14, 14, 1, 36864, 0xb3fa8abc
+0, 16, 16, 1, 36864, 0x9c894009
+0, 18, 18, 1, 36864, 0xfbc08050
+0, 20, 20, 1, 36864, 0x9d5b2d65
+0, 22, 22, 1, 36864, 0x3bd8bb5d
+0, 24, 24, 1, 36864, 0x8d976ecf
+0, 26, 26, 1, 36864, 0x25010368
+0, 28, 28, 1, 36864, 0xb6e6a11c
+0, 30, 30, 1, 36864, 0x595a3967
+0, 32, 32, 1, 36864, 0x4fbcb9a8
+0, 34, 34, 1, 36864, 0xc7c5c16b
+0, 36, 36, 1, 36864, 0x661ae1eb
+0, 38, 38, 1, 36864, 0x169f04a7
+0, 40, 40, 1, 36864, 0xd124c93a
+0, 42, 42, 1, 36864, 0x3f642dba
+0, 44, 44, 1, 36864, 0xe7ad6956
+0, 46, 46, 1, 36864, 0x47dc76d3
+0, 48, 48, 1, 36864, 0x496a3917
+0, 50, 50, 1, 36864, 0xa976d5f3
+0, 52, 52, 1, 36864, 0x507bb685
+0, 54, 54, 1, 36864, 0x2f61ac12
+0, 56, 56, 1, 36864, 0x527818d8
+0, 58, 58, 1, 36864, 0xa4983396
+0, 60, 60, 1, 36864, 0x3ec9b07b
+0, 62, 62, 1, 36864, 0x7db52d99
+0, 64, 64, 1, 36864, 0xe974fd00
+0, 66, 66, 1, 36864, 0x9c677a4f
+0, 68, 68, 1, 36864, 0x108f3a05
+0, 70, 70, 1, 36864, 0x23a56ba2
+0, 72, 72, 1, 36864, 0x4c8d47e8
+0, 74, 74, 1, 36864, 0x9e0b0f09
+0, 76, 76, 1, 36864, 0x4d262b16
+0, 78, 78, 1, 36864, 0x6122402e
+0, 80, 80, 1, 36864, 0xed037036
+0, 82, 82, 1, 36864, 0x62b3ba08
+0, 84, 84, 1, 36864, 0x7f876930
+0, 86, 86, 1, 36864, 0x4a6c0983
+0, 88, 88, 1, 36864, 0xf9787086
+0, 90, 90, 1, 36864, 0x01d1b1b5
+0, 92, 92, 1, 36864, 0xc1622655
+0, 94, 94, 1, 36864, 0x27e8e0f7
+0, 96, 96, 1, 36864, 0xc1622655
+0, 98, 98, 1, 36864, 0x12c2b7e9
+0, 100, 100, 1, 36864, 0xd752d2ef
+0, 102, 102, 1, 36864, 0xcbb1c3a7
+0, 104, 104, 1, 36864, 0x18c56fba
+0, 106, 106, 1, 36864, 0xb1b3771c
+0, 108, 108, 1, 36864, 0x284ef3c4
+0, 110, 110, 1, 36864, 0xda6eb5a0
+0, 112, 112, 1, 36864, 0x17ad337c
+0, 114, 114, 1, 36864, 0xe2801e4f
+0, 115, 115, 1, 36864, 0x6c33bd17
diff --git a/tests/ref/fate/h264-conformance-mr9_bt_b b/tests/ref/fate/h264-conformance-mr9_bt_b
index 3744802a6a..efc25d41ee 100644
--- a/tests/ref/fate/h264-conformance-mr9_bt_b
+++ b/tests/ref/fate/h264-conformance-mr9_bt_b
@@ -9,51 +9,51 @@
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
+0, 11, 11, 1, 36864, 0x49fab4fd
+0, 13, 13, 1, 36864, 0x975a7545
+0, 14, 14, 1, 36864, 0x9b080a2f
+0, 15, 15, 1, 36864, 0x78db960e
+0, 16, 16, 1, 36864, 0xd7a928d4
+0, 17, 17, 1, 36864, 0x0a83ba1b
+0, 18, 18, 1, 36864, 0xad6bb30c
+0, 19, 19, 1, 36864, 0xf6addb0d
+0, 20, 20, 1, 36864, 0x00540a0a
+0, 22, 22, 1, 36864, 0x049cc748
+0, 23, 23, 1, 36864, 0x5b1e2291
+0, 24, 24, 1, 36864, 0x2367706e
+0, 25, 25, 1, 36864, 0x88ef6b11
+0, 26, 26, 1, 36864, 0x85b73230
+0, 27, 27, 1, 36864, 0xe46cd522
+0, 28, 28, 1, 36864, 0x98489c05
+0, 29, 29, 1, 36864, 0x7e439564
+0, 30, 30, 1, 36864, 0x71330799
+0, 31, 31, 1, 36864, 0x81a6239e
+0, 32, 32, 1, 36864, 0x8005a302
+0, 33, 33, 1, 36864, 0xdf132e3f
+0, 34, 34, 1, 36864, 0x2a1d00de
+0, 35, 35, 1, 36864, 0x7bb57e14
+0, 36, 36, 1, 36864, 0xf2a637cf
+0, 37, 37, 1, 36864, 0xae6f6916
+0, 38, 38, 1, 36864, 0x2f1d4763
+0, 39, 39, 1, 36864, 0xa4e1145e
+0, 40, 40, 1, 36864, 0xc1644392
+0, 41, 41, 1, 36864, 0x21853537
+0, 42, 42, 1, 36864, 0x0bc45bac
+0, 44, 44, 1, 36864, 0x84ccb8ee
+0, 46, 46, 1, 36864, 0x65de651c
+0, 47, 47, 1, 36864, 0x33ff027e
+0, 49, 49, 1, 36864, 0xefe47056
+0, 50, 50, 1, 36864, 0x8952b47c
+0, 51, 51, 1, 36864, 0x78730fcf
+0, 52, 52, 1, 36864, 0x14bae79f
+0, 53, 53, 1, 36864, 0x53230fbe
+0, 54, 54, 1, 36864, 0x15b0b245
+0, 55, 55, 1, 36864, 0x45fbd155
+0, 56, 56, 1, 36864, 0x41cfbac4
+0, 57, 57, 1, 36864, 0x0d635d61
+0, 58, 58, 1, 36864, 0x55aa8d3c
+0, 59, 59, 1, 36864, 0x8f02fbaf
+0, 60, 60, 1, 36864, 0xb17fac3f
+0, 61, 61, 1, 36864, 0xc12627f9
+0, 62, 62, 1, 36864, 0xa5971e4a
+0, 63, 63, 1, 36864, 0x3677abfe
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 8512102bb3..93e006453a 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
@@ -1,16 +1,16 @@
#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
+0, 1, 1, 1, 518400, 0xc93c7c47
+0, 3, 3, 1, 518400, 0xa3f2e502
+0, 5, 5, 1, 518400, 0xb98920a4
+0, 7, 7, 1, 518400, 0xad098ec1
+0, 9, 9, 1, 518400, 0x3009b7aa
+0, 11, 11, 1, 518400, 0xcf514018
+0, 13, 13, 1, 518400, 0xd869038d
+0, 15, 15, 1, 518400, 0x3ce5e188
+0, 17, 17, 1, 518400, 0x029b4c14
+0, 19, 19, 1, 518400, 0xd2224afc
+0, 21, 21, 1, 518400, 0xbbca027c
+0, 23, 23, 1, 518400, 0x1f3fa0ac
+0, 25, 25, 1, 518400, 0x823b0125
+0, 27, 27, 1, 518400, 0xaaa27cfb
+0, 29, 29, 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 5808141891..eddd8c85ea 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
@@ -1,16 +1,16 @@
#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
+0, 1, 1, 1, 518400, 0xc93c7c47
+0, 3, 3, 1, 518400, 0xf0c4b44a
+0, 5, 5, 1, 518400, 0x3f5dc91c
+0, 7, 7, 1, 518400, 0x03dc8453
+0, 9, 9, 1, 518400, 0x5e5227af
+0, 11, 11, 1, 518400, 0x9e7136af
+0, 13, 13, 1, 518400, 0x963a2e3a
+0, 15, 15, 1, 518400, 0xa544be6c
+0, 17, 17, 1, 518400, 0xefa1f63a
+0, 19, 19, 1, 518400, 0x62155ff1
+0, 21, 21, 1, 518400, 0x253eb857
+0, 23, 23, 1, 518400, 0x73530327
+0, 25, 25, 1, 518400, 0x8920c9a3
+0, 27, 27, 1, 518400, 0x4bdd038c
+0, 29, 29, 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 a572030f02..09096a0ee9 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
+++ b/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
@@ -1,16 +1,16 @@
#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
+0, 2, 2, 1, 518400, 0xc93c7c47
+0, 4, 4, 1, 518400, 0x7112ac25
+0, 6, 6, 1, 518400, 0x28bc28d2
+0, 8, 8, 1, 518400, 0x6fc36875
+0, 10, 10, 1, 518400, 0x3de99be0
+0, 12, 12, 1, 518400, 0x97125499
+0, 14, 14, 1, 518400, 0xb96fca3a
+0, 16, 16, 1, 518400, 0x1ec56c0f
+0, 18, 18, 1, 518400, 0xc65901d0
+0, 20, 20, 1, 518400, 0x2baa1bfa
+0, 22, 22, 1, 518400, 0x244fc6b7
+0, 24, 24, 1, 518400, 0xc3536383
+0, 26, 26, 1, 518400, 0xbcf40d5a
+0, 28, 28, 1, 518400, 0x955f4734
+0, 29, 29, 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 d1a347ff26..2847e3fb02 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
+++ b/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
@@ -1,16 +1,16 @@
#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
+0, 1, 1, 1, 518400, 0xc93c7c47
+0, 2, 2, 1, 518400, 0xfb452a9c
+0, 4, 4, 1, 518400, 0x2f7a35bd
+0, 6, 6, 1, 518400, 0xe63e30b9
+0, 8, 8, 1, 518400, 0x39628205
+0, 9, 9, 1, 518400, 0x17fa1ea4
+0, 10, 10, 1, 518400, 0xd5ee83e2
+0, 11, 11, 1, 518400, 0x611ee98d
+0, 13, 13, 1, 518400, 0x07c1eeb8
+0, 15, 15, 1, 518400, 0x9dff3418
+0, 17, 17, 1, 518400, 0x87cd2f56
+0, 18, 18, 1, 518400, 0x88675628
+0, 20, 20, 1, 518400, 0x9bb8c9a0
+0, 21, 21, 1, 518400, 0xe6c1df00
+0, 22, 22, 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 f2bf06f6ff..22bf8e2f52 100644
--- a/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
+++ b/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
@@ -1,16 +1,16 @@
#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
+0, 1, 1, 1, 518400, 0xc93c7c47
+0, 2, 2, 1, 518400, 0xfb452a9c
+0, 4, 4, 1, 518400, 0x2f7a35bd
+0, 6, 6, 1, 518400, 0xe63e30b9
+0, 8, 8, 1, 518400, 0x39628205
+0, 9, 9, 1, 518400, 0x17fa1ea4
+0, 10, 10, 1, 518400, 0xd5ee83e2
+0, 11, 11, 1, 518400, 0x4fd6d5c9
+0, 13, 13, 1, 518400, 0x8703c999
+0, 15, 15, 1, 518400, 0x1a87e2d3
+0, 17, 17, 1, 518400, 0xa27fc4d0
+0, 18, 18, 1, 518400, 0x6effab5d
+0, 20, 20, 1, 518400, 0x51ea02c9
+0, 21, 21, 1, 518400, 0xbcf84c88
+0, 22, 22, 1, 518400, 0x1d41076b
diff --git a/tests/ref/fate/mimic b/tests/ref/fate/mimic
index 0e684b6331..217d487b10 100644
--- a/tests/ref/fate/mimic
+++ b/tests/ref/fate/mimic
@@ -1,77 +1,77 @@
#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
+0, 548, 548, 0, 115200, 0x72618b84
+0, 1088, 1088, 0, 115200, 0x87768573
+0, 1759, 1759, 0, 115200, 0x5d218e3e
+0, 2437, 2437, 0, 115200, 0x0c0db41c
+0, 3076, 3076, 0, 115200, 0xb777fd48
+0, 3908, 3908, 0, 115200, 0x40765de7
+0, 4545, 4545, 0, 115200, 0x370a3c90
+0, 5092, 5092, 0, 115200, 0xc605785a
+0, 6016, 6016, 0, 115200, 0x49468b23
+0, 6560, 6560, 0, 115200, 0x986b6fd4
+0, 7648, 7648, 0, 115200, 0x30f22ef8
+0, 8164, 8164, 0, 115200, 0xa90bd608
+0, 8836, 8836, 0, 115200, 0x9cf36518
+0, 9632, 9632, 0, 115200, 0x4ef1a679
+0, 9922, 9922, 0, 115200, 0x0df65873
+0, 10316, 10316, 0, 115200, 0xfecd4233
+0, 11104, 11104, 0, 115200, 0xee2f26cb
+0, 11776, 11776, 0, 115200, 0x795f612d
+0, 12321, 12321, 0, 115200, 0xbbb90125
+0, 12992, 12992, 0, 115200, 0x9230fb6e
+0, 13805, 13805, 0, 115200, 0x11869996
+0, 14468, 14468, 0, 115200, 0x6b5c892b
+0, 15136, 15136, 0, 115200, 0x88bdb9cd
+0, 15937, 15937, 0, 115200, 0x364bc5a0
+0, 16608, 16608, 0, 115200, 0x6b66d817
+0, 17281, 17281, 0, 115200, 0xd3a41252
+0, 18089, 18089, 0, 115200, 0x0cf5612f
+0, 18754, 18754, 0, 115200, 0x9752d055
+0, 19808, 19808, 0, 115200, 0x486e9f6f
+0, 20484, 20484, 0, 115200, 0x3eab62f8
+0, 21031, 21031, 0, 115200, 0xa7f52762
+0, 21957, 21957, 0, 115200, 0xfd4c4bbc
+0, 22498, 22498, 0, 115200, 0x194023f6
+0, 22880, 22880, 0, 115200, 0xd4668dad
+0, 23680, 23680, 0, 115200, 0x6b20d64b
+0, 24353, 24353, 0, 115200, 0xf2572aae
+0, 24901, 24901, 0, 115200, 0xc3554f25
+0, 25695, 25695, 0, 115200, 0xeeb5073a
+0, 26495, 26495, 0, 115200, 0xbd46291f
+0, 27040, 27040, 0, 115200, 0x0526838d
+0, 28107, 28107, 0, 115200, 0x85b2e864
+0, 28778, 28778, 0, 115200, 0xcfd894bc
+0, 29316, 29316, 0, 115200, 0x644f10fb
+0, 30240, 30240, 0, 115200, 0x556e4d88
+0, 30786, 30786, 0, 115200, 0x93243614
+0, 31983, 31983, 0, 115200, 0x754275c5
+0, 32929, 32929, 0, 115200, 0x7f648bf3
+0, 33600, 33600, 0, 115200, 0xece18c9b
+0, 34271, 34271, 0, 115200, 0x385d52c1
+0, 35201, 35201, 0, 115200, 0xafc58e4a
+0, 35743, 35743, 0, 115200, 0x50daf750
+0, 36384, 36384, 0, 115200, 0xf6bc67d1
+0, 37344, 37344, 0, 115200, 0xb64b6e07
+0, 38028, 38028, 0, 115200, 0x8751ed15
+0, 38657, 38657, 0, 115200, 0x329ce803
+0, 39334, 39334, 0, 115200, 0x40b2cb05
+0, 40129, 40129, 0, 115200, 0x60f3517d
+0, 40802, 40802, 0, 115200, 0xe0d46fdf
+0, 41472, 41472, 0, 115200, 0x204529fa
+0, 42276, 42276, 0, 115200, 0xd5afaf22
+0, 42944, 42944, 0, 115200, 0xd3cb3d4c
+0, 43616, 43616, 0, 115200, 0x87973a79
+0, 44421, 44421, 0, 115200, 0xe3b2f917
+0, 45092, 45092, 0, 115200, 0xf1923238
+0, 45632, 45632, 0, 115200, 0x51494d71
+0, 46561, 46561, 0, 115200, 0x58bc59bb
+0, 47105, 47105, 0, 115200, 0xd0273fdb
+0, 47776, 47776, 0, 115200, 0x6cc79700
+0, 48294, 48294, 0, 115200, 0xc8172d31
+0, 48960, 48960, 0, 115200, 0x8eb037ef
+0, 49504, 49504, 0, 115200, 0xc0bc2d76
+0, 50053, 50053, 0, 115200, 0x663c467a
+0, 50597, 50597, 0, 115200, 0xd085e950
+0, 51520, 51520, 0, 115200, 0x7d198d72
+0, 52092, 52092, 0, 115200, 0x6ebacda0
diff --git a/tests/ref/fate/mpeg2-field-enc b/tests/ref/fate/mpeg2-field-enc
index a85906153a..903adb56b8 100644
--- a/tests/ref/fate/mpeg2-field-enc
+++ b/tests/ref/fate/mpeg2-field-enc
@@ -1,32 +1,32 @@
#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
+0, 9, 9, 1, 622080, 0xb3b66c5c
+0, 10, 10, 1, 622080, 0x088ec02b
+0, 11, 11, 1, 622080, 0x7a36db21
+0, 12, 12, 1, 622080, 0x541b286f
+0, 13, 13, 1, 622080, 0xb6c3e590
+0, 14, 14, 1, 622080, 0x39dbed51
+0, 15, 15, 1, 622080, 0x973dc728
+0, 16, 16, 1, 622080, 0xd7a4f804
+0, 17, 17, 1, 622080, 0xa2484762
+0, 18, 18, 1, 622080, 0x0cd268d1
+0, 19, 19, 1, 622080, 0x72eb663d
+0, 20, 20, 1, 622080, 0x8fdbac59
+0, 21, 21, 1, 622080, 0xa6f4feb9
+0, 22, 22, 1, 622080, 0xadb828c6
+0, 23, 23, 1, 622080, 0xea630a63
+0, 24, 24, 1, 622080, 0xa901d925
+0, 25, 25, 1, 622080, 0xac5e7087
+0, 26, 26, 1, 622080, 0x10274a2b
+0, 27, 27, 1, 622080, 0x143d541c
+0, 28, 28, 1, 622080, 0xee94c93a
+0, 29, 29, 1, 622080, 0xca030208
+0, 30, 30, 1, 622080, 0x26f30ead
+0, 31, 31, 1, 622080, 0xfc22f32c
+0, 32, 32, 1, 622080, 0x940a5ff8
+0, 33, 33, 1, 622080, 0x2164f805
+0, 34, 34, 1, 622080, 0xa76f5aba
+0, 35, 35, 1, 622080, 0x8c311471
+0, 36, 36, 1, 622080, 0xa45e1d95
+0, 37, 37, 1, 622080, 0x6cc61d6c
+0, 38, 38, 1, 622080, 0x6983b417
+0, 39, 39, 1, 622080, 0x982363c0
diff --git a/tests/ref/fate/nuv b/tests/ref/fate/nuv
index 19e4f90528..23a6a93e9f 100644
--- a/tests/ref/fate/nuv
+++ b/tests/ref/fate/nuv
@@ -1,29 +1,28 @@
#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
+0, 4, 4, 1, 460800, 0x54aedafe
1, 6144, 6144, 1024, 4096, 0x072ef72b
1, 7168, 7168, 1024, 4096, 0xb3560144
-0, 5, 5, 1, 460800, 0x4e091ee2
+0, 5, 5, 1, 460800, 0xb7aa8b56
1, 8192, 8192, 1024, 4096, 0x0a3d119e
-0, 6, 6, 1, 460800, 0x2ea88828
+0, 6, 6, 1, 460800, 0x283ea3b5
1, 9216, 9216, 1024, 4096, 0xbe391aa4
1, 10240, 10240, 1024, 4096, 0x28f7c6e5
-0, 7, 7, 1, 460800, 0x4b7f4df0
+0, 7, 7, 1, 460800, 0x10e577de
1, 11264, 11264, 1024, 4096, 0xca9d9df2
-0, 8, 8, 1, 460800, 0xb30eb322
+0, 8, 8, 1, 460800, 0x4e091ee2
1, 12288, 12288, 1024, 4096, 0x5c6b95a9
+0, 9, 9, 1, 460800, 0x2ea88828
1, 13312, 13312, 1024, 4096, 0x0bdfc0bf
1, 14336, 14336, 1024, 4096, 0xd95a9277
+0, 10, 10, 1, 460800, 0x4b7f4df0
1, 15360, 15360, 1024, 4096, 0xae2bef2c
+0, 11, 11, 1, 460800, 0xb30eb322
1, 16384, 16384, 1024, 4096, 0xbf031e83
1, 17408, 17408, 1024, 4096, 0x4c83e2d1
diff --git a/tests/ref/fate/quickdraw b/tests/ref/fate/quickdraw
index f88e9c7310..eccb477fb7 100644
--- a/tests/ref/fate/quickdraw
+++ b/tests/ref/fate/quickdraw
@@ -1,3 +1,3 @@
#tb 0: 1/15
0, 0, 0, 1, 921600, 0xc0e68764
-0, 1, 1, 1, 921600, 0x01a16629
+0, 2, 2, 1, 921600, 0x01a16629
diff --git a/tests/ref/fate/real-rv40 b/tests/ref/fate/real-rv40
index 8307817021..6a8480bdc0 100644
--- a/tests/ref/fate/real-rv40
+++ b/tests/ref/fate/real-rv40
@@ -1,5 +1,5 @@
#tb 0: 32768/785647
-0, 0, 0, 1, 276480, 0x5f7a0d4f
+0, -1, -1, 1, 276480, 0x5f7a0d4f
0, 1, 1, 1, 276480, 0x5f7a0d4f
0, 2, 2, 1, 276480, 0x5f7a0d4f
0, 3, 3, 1, 276480, 0x5f7a0d4f
diff --git a/tests/ref/fate/sierra-vmd b/tests/ref/fate/sierra-vmd
index 9522cff868..c72813e5b8 100644
--- a/tests/ref/fate/sierra-vmd
+++ b/tests/ref/fate/sierra-vmd
@@ -81,131 +81,126 @@
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
+0, 57, 57, 1, 230400, 0x9a228555
1, 125685, 125685, 2205, 4410, 0xe85f583f
-0, 58, 58, 1, 230400, 0x85f594f5
+0, 58, 58, 1, 230400, 0x9eba8ed5
1, 127890, 127890, 2205, 4410, 0x2cbc67c4
-0, 59, 59, 1, 230400, 0xb09f99dd
+0, 59, 59, 1, 230400, 0x3d808a3d
1, 130095, 130095, 2205, 4410, 0xc82e6aa1
-0, 60, 60, 1, 230400, 0x2b368475
+0, 60, 60, 1, 230400, 0xf57e866d
1, 132300, 132300, 2205, 4410, 0xb9fc423c
-0, 61, 61, 1, 230400, 0xa2417afd
+0, 61, 61, 1, 230400, 0x85f594f5
1, 134505, 134505, 2205, 4410, 0x6b9b4ef9
-0, 62, 62, 1, 230400, 0x590b709d
+0, 62, 62, 1, 230400, 0xb09f99dd
1, 136710, 136710, 2205, 4410, 0x39290f10
-0, 63, 63, 1, 230400, 0x5d617705
+0, 63, 63, 1, 230400, 0x2b368475
1, 138915, 138915, 2205, 4410, 0xad718eb4
-0, 64, 64, 1, 230400, 0xabf981ad
+0, 64, 64, 1, 230400, 0xa2417afd
1, 141120, 141120, 2205, 4410, 0x82f463ac
-0, 65, 65, 1, 230400, 0x5a8590cd
+0, 65, 65, 1, 230400, 0x590b709d
1, 143325, 143325, 2205, 4410, 0xfac87cac
-0, 66, 66, 1, 230400, 0x1bff853d
+0, 66, 66, 1, 230400, 0x5d617705
1, 145530, 145530, 2205, 4410, 0x9e8bcca7
-0, 67, 67, 1, 230400, 0x71d08055
+0, 67, 67, 1, 230400, 0xabf981ad
1, 147735, 147735, 2205, 4410, 0x52f79c99
-0, 68, 68, 1, 230400, 0x2ebd817d
+0, 68, 68, 1, 230400, 0x5a8590cd
1, 149940, 149940, 2205, 4410, 0xf2d14de2
-0, 69, 69, 1, 230400, 0x6e838255
+0, 69, 69, 1, 230400, 0x1bff853d
1, 152145, 152145, 2205, 4410, 0x367f95e1
-0, 70, 70, 1, 230400, 0x043984cd
+0, 70, 70, 1, 230400, 0x71d08055
1, 154350, 154350, 2205, 4410, 0x8bfac293
-0, 71, 71, 1, 230400, 0x7ff18495
+0, 71, 71, 1, 230400, 0x2ebd817d
1, 156555, 156555, 2205, 4410, 0x01ea5040
-0, 72, 72, 1, 230400, 0xa43b8385
+0, 72, 72, 1, 230400, 0x6e838255
1, 158760, 158760, 2205, 4410, 0x8ff5e212
-0, 73, 73, 1, 230400, 0x72b5825d
+0, 73, 73, 1, 230400, 0x043984cd
1, 160965, 160965, 2205, 4410, 0x93f32824
-0, 74, 74, 1, 230400, 0x3a178085
+0, 74, 74, 1, 230400, 0x7ff18495
1, 163170, 163170, 2205, 4410, 0x998f90dc
-0, 75, 75, 1, 230400, 0x67748245
+0, 75, 75, 1, 230400, 0xa43b8385
1, 165375, 165375, 2205, 4410, 0x65231170
-0, 76, 76, 1, 230400, 0xeddf81d5
+0, 76, 76, 1, 230400, 0x72b5825d
1, 167580, 167580, 2205, 4410, 0xc79039a1
-0, 77, 77, 1, 230400, 0x8b088665
+0, 77, 77, 1, 230400, 0x3a178085
1, 169785, 169785, 2205, 4410, 0x0b0e58bd
-0, 78, 78, 1, 230400, 0x6c408e15
+0, 78, 78, 1, 230400, 0x67748245
1, 171990, 171990, 2205, 4410, 0xc24ab4fa
-0, 79, 79, 1, 230400, 0x81f196dd
+0, 79, 79, 1, 230400, 0xeddf81d5
1, 174195, 174195, 2205, 4410, 0xd3796a8e
-0, 80, 80, 1, 230400, 0xab9f953d
+0, 80, 80, 1, 230400, 0x8b088665
1, 176400, 176400, 2205, 4410, 0xa37f8295
-0, 81, 81, 1, 230400, 0xa5f69795
+0, 81, 81, 1, 230400, 0x6c408e15
1, 178605, 178605, 2205, 4410, 0xb760fed7
-0, 82, 82, 1, 230400, 0xa772950d
+0, 82, 82, 1, 230400, 0x81f196dd
1, 180810, 180810, 2205, 4410, 0x05495a34
-0, 83, 83, 1, 230400, 0x6a5596d5
+0, 83, 83, 1, 230400, 0xab9f953d
1, 183015, 183015, 2205, 4410, 0x6f203437
-0, 84, 84, 1, 230400, 0x1355958d
+0, 84, 84, 1, 230400, 0xa5f69795
1, 185220, 185220, 2205, 4410, 0x71299402
-0, 85, 85, 1, 230400, 0x4134981d
+0, 85, 85, 1, 230400, 0xa772950d
1, 187425, 187425, 2205, 4410, 0x72e7b346
-0, 86, 86, 1, 230400, 0x8b929515
+0, 86, 86, 1, 230400, 0x6a5596d5
1, 189630, 189630, 2205, 4410, 0x879b0dae
-0, 87, 87, 1, 230400, 0x482f95c5
+0, 87, 87, 1, 230400, 0x1355958d
1, 191835, 191835, 2205, 4410, 0x041aa1bd
-0, 88, 88, 1, 230400, 0x7a9795d5
+0, 88, 88, 1, 230400, 0x4134981d
1, 194040, 194040, 2205, 4410, 0x18a962e6
-0, 89, 89, 1, 230400, 0x21c29abd
+0, 89, 89, 1, 230400, 0x8b929515
1, 196245, 196245, 2205, 4410, 0x21d20539
-0, 90, 90, 1, 230400, 0x9ae6a475
+0, 90, 90, 1, 230400, 0x482f95c5
1, 198450, 198450, 2205, 4410, 0x8f449267
-0, 91, 91, 1, 230400, 0x3734aee5
+0, 91, 91, 1, 230400, 0x7a9795d5
1, 200655, 200655, 2205, 4410, 0xecdc01d6
-0, 92, 92, 1, 230400, 0xa0a1b365
+0, 92, 92, 1, 230400, 0x21c29abd
1, 202860, 202860, 2205, 4410, 0x458abd5a
-0, 93, 93, 1, 230400, 0x2dcab1c5
+0, 93, 93, 1, 230400, 0x9ae6a475
1, 205065, 205065, 2205, 4410, 0xa070ea63
-0, 94, 94, 1, 230400, 0x9c8b6c44
+0, 94, 94, 1, 230400, 0x3734aee5
1, 207270, 207270, 2205, 4410, 0xc25b26ce
-0, 95, 95, 1, 230400, 0x5da75feb
+0, 95, 95, 1, 230400, 0xa0a1b365
1, 209475, 209475, 2205, 4410, 0x4d9237ca
-0, 96, 96, 1, 230400, 0x4d02f8e3
+0, 96, 96, 1, 230400, 0x2dcab1c5
1, 211680, 211680, 2205, 4410, 0x748e1801
-0, 97, 97, 1, 230400, 0x66824f3a
+0, 97, 97, 1, 230400, 0x9c8b6c44
1, 213885, 213885, 2205, 4410, 0xc96b69e6
-0, 98, 98, 1, 230400, 0x0c9257e2
+0, 98, 98, 1, 230400, 0x5da75feb
1, 216090, 216090, 2205, 4410, 0x6663186c
-0, 99, 99, 1, 230400, 0xb2927092
+0, 99, 99, 1, 230400, 0x4d02f8e3
1, 218295, 218295, 2205, 4410, 0x7f6d3081
-0, 100, 100, 1, 230400, 0xb5dc6e9a
+0, 100, 100, 1, 230400, 0x66824f3a
1, 220500, 220500, 2205, 4410, 0x1a0343b5
-0, 101, 101, 1, 230400, 0x6e567bc6
+0, 101, 101, 1, 230400, 0x0c9257e2
1, 222705, 222705, 2205, 4410, 0xc48e338c
-0, 102, 102, 1, 230400, 0xbf9e0f7a
+0, 102, 102, 1, 230400, 0xb2927092
1, 224910, 224910, 2205, 4410, 0x26fc03c8
-0, 103, 103, 1, 230400, 0xb16f684a
+0, 103, 103, 1, 230400, 0xb5dc6e9a
1, 227115, 227115, 2205, 4410, 0x69be7e2d
-0, 104, 104, 1, 230400, 0xf9e55e81
+0, 104, 104, 1, 230400, 0x6e567bc6
1, 229320, 229320, 2205, 4410, 0x69a74da1
-0, 105, 105, 1, 230400, 0xd8d0bcba
+0, 105, 105, 1, 230400, 0xbf9e0f7a
1, 231525, 231525, 2205, 4410, 0x85bd2ab3
-0, 106, 106, 1, 230400, 0x44720ac0
+0, 106, 106, 1, 230400, 0xb16f684a
1, 233730, 233730, 2205, 4410, 0xeff05426
-0, 107, 107, 1, 230400, 0x7d4c2058
+0, 107, 107, 1, 230400, 0xf9e55e81
1, 235935, 235935, 2205, 4410, 0x292829e0
-0, 108, 108, 1, 230400, 0xb0973eb9
+0, 108, 108, 1, 230400, 0xd8d0bcba
1, 238140, 238140, 2205, 4410, 0x8f741798
-0, 109, 109, 1, 230400, 0x405a13ce
+0, 109, 109, 1, 230400, 0x44720ac0
1, 240345, 240345, 2205, 4410, 0x6b9337e9
-0, 110, 110, 1, 230400, 0x6422f00a
+0, 110, 110, 1, 230400, 0x7d4c2058
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
+0, 113, 113, 1, 230400, 0xb0973eb9
1, 249165, 249165, 2205, 4410, 0x1fa7d2a9
-0, 114, 114, 1, 230400, 0x6adc9e03
+0, 114, 114, 1, 230400, 0x405a13ce
1, 251370, 251370, 2205, 4410, 0xe28799e3
-0, 115, 115, 1, 230400, 0x4f5ab7a8
+0, 115, 115, 1, 230400, 0x6422f00a
1, 253575, 253575, 2205, 4410, 0xc2df4470
-0, 116, 116, 1, 230400, 0xdc0aab94
+0, 116, 116, 1, 230400, 0x924b6c1e
1, 255780, 255780, 2205, 4410, 0x694d0cf5
1, 257985, 257985, 2205, 4410, 0x5aac2dcf
1, 260190, 260190, 2205, 4410, 0x259fa2db
@@ -235,9 +230,13 @@
1, 313110, 313110, 2205, 4410, 0x5e13c602
1, 315315, 315315, 2205, 4410, 0xe955b5e3
1, 317520, 317520, 2205, 4410, 0xefad19a1
+0, 145, 145, 1, 230400, 0xcf7809c0
1, 319725, 319725, 2205, 4410, 0x435950de
+0, 146, 146, 1, 230400, 0x883a3863
1, 321930, 321930, 2205, 4410, 0x9d624ebe
+0, 147, 147, 1, 230400, 0x6adc9e03
1, 324135, 324135, 2205, 4410, 0x774a9158
+0, 148, 148, 1, 230400, 0x4f5ab7a8
1, 326340, 326340, 2205, 4410, 0x8c41e66a
1, 328545, 328545, 2205, 4410, 0x70112740
1, 330750, 330750, 2205, 4410, 0x55abc7a2
@@ -304,6 +303,7 @@
1, 465255, 465255, 2205, 4410, 0x115c25be
1, 467460, 467460, 2205, 4410, 0x1100f085
1, 469665, 469665, 2205, 4410, 0x00000000
+0, 214, 214, 1, 230400, 0xdc0aab94
1, 471870, 471870, 2205, 4410, 0x00000000
1, 474075, 474075, 2205, 4410, 0x00000000
1, 476280, 476280, 2205, 4410, 0x00000000
diff --git a/tests/ref/fate/tiertex-seq b/tests/ref/fate/tiertex-seq
index c4f1a2a92a..595309342e 100644
--- a/tests/ref/fate/tiertex-seq
+++ b/tests/ref/fate/tiertex-seq
@@ -2,97 +2,97 @@
#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
+0, 4, 4, 1, 98304, 0xb20c19d0
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
+0, 7, 7, 1, 98304, 0x6b8538c0
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
+0, 11, 11, 1, 98304, 0x172207e3
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
+0, 14, 14, 1, 98304, 0x63fb7dc1
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
+0, 18, 18, 1, 98304, 0x37cf1601
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
+0, 22, 22, 1, 98304, 0x82941990
1, 19404, 19404, 882, 1764, 0xef937ed1
1, 20286, 20286, 882, 1764, 0x2d2b6f79
1, 21168, 21168, 882, 1764, 0x6f457231
+0, 25, 25, 1, 98304, 0xe0a5309e
1, 22050, 22050, 882, 1764, 0x56267c9d
1, 22932, 22932, 882, 1764, 0xd49e79c8
1, 23814, 23814, 882, 1764, 0xc726703d
1, 24696, 24696, 882, 1764, 0x2abf8074
+0, 29, 29, 1, 98304, 0x164cb67d
1, 25578, 25578, 882, 1764, 0xb50c556d
1, 26460, 26460, 882, 1764, 0xc1f2523c
1, 27342, 27342, 882, 1764, 0x850a6f93
+0, 32, 32, 1, 98304, 0xed2189f8
1, 28224, 28224, 882, 1764, 0x8da76c31
1, 29106, 29106, 882, 1764, 0xfcccdf13
1, 29988, 29988, 882, 1764, 0x00000000
1, 30870, 30870, 882, 1764, 0x00000000
+0, 36, 36, 1, 98304, 0x7215e529
1, 31752, 31752, 882, 1764, 0x00000000
1, 32634, 32634, 882, 1764, 0x00000000
1, 33516, 33516, 882, 1764, 0x00000000
+0, 39, 39, 1, 98304, 0x170c783b
1, 34398, 34398, 882, 1764, 0x00000000
1, 35280, 35280, 882, 1764, 0x00000000
1, 36162, 36162, 882, 1764, 0x00000000
1, 37044, 37044, 882, 1764, 0x00000000
+0, 43, 43, 1, 98304, 0xf6bd74c7
1, 37926, 37926, 882, 1764, 0x00000000
1, 38808, 38808, 882, 1764, 0x00000000
1, 39690, 39690, 882, 1764, 0x00000000
1, 40572, 40572, 882, 1764, 0x00000000
+0, 47, 47, 1, 98304, 0x1efd38c4
1, 41454, 41454, 882, 1764, 0x00000000
1, 42336, 42336, 882, 1764, 0x00000000
1, 43218, 43218, 882, 1764, 0x00000000
+0, 50, 50, 1, 98304, 0x29c26bba
1, 44100, 44100, 882, 1764, 0x00000000
1, 44982, 44982, 882, 1764, 0x00000000
1, 45864, 45864, 882, 1764, 0x00000000
1, 46746, 46746, 882, 1764, 0x00000000
+0, 54, 54, 1, 98304, 0x880a6313
1, 47628, 47628, 882, 1764, 0x00000000
1, 48510, 48510, 882, 1764, 0x00000000
1, 49392, 49392, 882, 1764, 0x00000000
+0, 57, 57, 1, 98304, 0x73f5bb00
1, 50274, 50274, 882, 1764, 0x00000000
1, 51156, 51156, 882, 1764, 0x00000000
1, 52038, 52038, 882, 1764, 0x00000000
1, 52920, 52920, 882, 1764, 0x00000000
+0, 61, 61, 1, 98304, 0xc85b19ec
1, 53802, 53802, 882, 1764, 0x00000000
1, 54684, 54684, 882, 1764, 0x00000000
1, 55566, 55566, 882, 1764, 0x00000000
+0, 64, 64, 1, 98304, 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
+0, 68, 68, 1, 98304, 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
+0, 72, 72, 1, 98304, 0x00000000
1, 63504, 63504, 882, 1764, 0x00000000
1, 64386, 64386, 882, 1764, 0x00000000
1, 65268, 65268, 882, 1764, 0x00000000
diff --git a/tests/ref/fate/tscc-32bit b/tests/ref/fate/tscc-32bit
index 2163ff22fc..4eef49009d 100644
--- a/tests/ref/fate/tscc-32bit
+++ b/tests/ref/fate/tscc-32bit
@@ -9,149 +9,149 @@
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, 13, 13, 1, 2359296, 0xda3ba3cf
+0, 14, 14, 1, 2359296, 0x60a070fd
+0, 15, 15, 1, 2359296, 0x42e5fedc
+0, 16, 16, 1, 2359296, 0x42e5fedc
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, 21, 21, 1, 2359296, 0x699cf990
+0, 22, 22, 1, 2359296, 0x699cf990
+0, 23, 23, 1, 2359296, 0x699cf990
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, 28, 28, 1, 2359296, 0x1524160c
+0, 29, 29, 1, 2359296, 0x1524160c
+0, 30, 30, 1, 2359296, 0x1524160c
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, 35, 35, 1, 2359296, 0x33df0c8c
+0, 36, 36, 1, 2359296, 0x33df0c8c
+0, 37, 37, 1, 2359296, 0x33df0c8c
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, 42, 42, 1, 2359296, 0xfe3d29f8
+0, 43, 43, 1, 2359296, 0xfe3d29f8
+0, 44, 44, 1, 2359296, 0xfe3d29f8
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, 49, 49, 1, 2359296, 0x1b9d197f
+0, 50, 50, 1, 2359296, 0x1b9d197f
+0, 51, 51, 1, 2359296, 0x1b9d197f
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, 56, 56, 1, 2359296, 0x48c126fb
+0, 57, 57, 1, 2359296, 0x48c126fb
+0, 58, 58, 1, 2359296, 0x48c126fb
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, 63, 63, 1, 2359296, 0xcaa31c7c
+0, 64, 64, 1, 2359296, 0xcaa31c7c
+0, 65, 65, 1, 2359296, 0xcaa31c7c
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, 70, 70, 1, 2359296, 0xc6a333ee
+0, 71, 71, 1, 2359296, 0xc6a333ee
+0, 72, 72, 1, 2359296, 0xc6a333ee
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, 77, 77, 1, 2359296, 0xb96d1583
+0, 78, 78, 1, 2359296, 0xb96d1583
+0, 79, 79, 1, 2359296, 0xb96d1583
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, 84, 84, 1, 2359296, 0x878135ec
+0, 85, 85, 1, 2359296, 0x878135ec
+0, 86, 86, 1, 2359296, 0x878135ec
+0, 87, 87, 1, 2359296, 0x878135ec
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, 91, 91, 1, 2359296, 0x76922870
+0, 92, 92, 1, 2359296, 0x76922870
+0, 93, 93, 1, 2359296, 0x76922870
+0, 94, 94, 1, 2359296, 0x76922870
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, 98, 98, 1, 2359296, 0xb0e031f0
+0, 99, 99, 1, 2359296, 0xb0e031f0
+0, 100, 100, 1, 2359296, 0xb0e031f0
+0, 101, 101, 1, 2359296, 0xb0e031f0
+0, 102, 102, 1, 2359296, 0xb2ef2a6e
+0, 103, 103, 1, 2359296, 0xb2ef2a6e
+0, 104, 104, 1, 2359296, 0xb2ef2a6e
+0, 105, 105, 1, 2359296, 0x083c2474
+0, 106, 106, 1, 2359296, 0x083c2474
+0, 107, 107, 1, 2359296, 0x083c2474
+0, 108, 108, 1, 2359296, 0x083c2474
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, 112, 112, 1, 2359296, 0xbdfe2ef3
+0, 113, 113, 1, 2359296, 0xbdfe2ef3
+0, 114, 114, 1, 2359296, 0xbdfe2ef3
+0, 115, 115, 1, 2359296, 0xbdfe2ef3
+0, 116, 116, 1, 2359296, 0x934b1484
+0, 117, 117, 1, 2359296, 0x934b1484
+0, 118, 118, 1, 2359296, 0x934b1484
+0, 119, 119, 1, 2359296, 0x934b1484
+0, 120, 120, 1, 2359296, 0x3e0d1a7e
+0, 121, 121, 1, 2359296, 0x3e0d1a7e
+0, 122, 122, 1, 2359296, 0x3e0d1a7e
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, 126, 126, 1, 2359296, 0x3ce539e8
+0, 127, 127, 1, 2359296, 0x3ce539e8
+0, 128, 128, 1, 2359296, 0x3ce539e8
+0, 129, 129, 1, 2359296, 0x3ce539e8
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, 133, 133, 1, 2359296, 0xd46c2f69
+0, 134, 134, 1, 2359296, 0xd46c2f69
+0, 135, 135, 1, 2359296, 0xd46c2f69
+0, 136, 136, 1, 2359296, 0xd46c2f69
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, 140, 140, 1, 2359296, 0x8d2933ee
+0, 141, 141, 1, 2359296, 0x8d2933ee
+0, 142, 142, 1, 2359296, 0x8d2933ee
+0, 143, 143, 1, 2359296, 0x8d2933ee
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, 147, 147, 1, 2359296, 0xb6092b6d
+0, 148, 148, 1, 2359296, 0xb6092b6d
+0, 149, 149, 1, 2359296, 0xb6092b6d
+0, 150, 150, 1, 2359296, 0xb6092b6d
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
+0, 154, 154, 1, 2359296, 0xe4ef27fa
+0, 155, 155, 1, 2359296, 0xe4ef27fa
+0, 156, 156, 1, 2359296, 0xe4ef27fa
+0, 157, 157, 1, 2359296, 0xe4ef27fa
+0, 158, 158, 1, 2359296, 0x5e5b2672
+0, 159, 159, 1, 2359296, 0x5e5b2672
diff --git a/tests/ref/fate/vc1-ism b/tests/ref/fate/vc1-ism
index 650196335d..7d3b0abb9b 100644
--- a/tests/ref/fate/vc1-ism
+++ b/tests/ref/fate/vc1-ism
@@ -1,121 +1,121 @@
#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
+0, 2, 2, 1, 37440, 0x158e6167
+0, 3, 3, 1, 37440, 0x0faa4481
+0, 4, 4, 1, 37440, 0x427158c5
+0, 5, 5, 1, 37440, 0x4eb53ac6
+0, 6, 6, 1, 37440, 0x99304eea
+0, 7, 7, 1, 37440, 0xcc554a6f
+0, 8, 8, 1, 37440, 0xabeb6c35
+0, 9, 9, 1, 37440, 0xddfc7e18
+0, 10, 10, 1, 37440, 0xaa79b504
+0, 11, 11, 1, 37440, 0x5cb1c839
+0, 12, 12, 1, 37440, 0x7e36ecca
+0, 13, 13, 1, 37440, 0xf486f425
+0, 14, 14, 1, 37440, 0xf1b4138f
+0, 15, 15, 1, 37440, 0x966f1a49
+0, 16, 16, 1, 37440, 0x5eff21da
+0, 17, 17, 1, 37440, 0x333f39b1
+0, 18, 18, 1, 37440, 0x62e5963e
+0, 19, 19, 1, 37440, 0x26930671
+0, 20, 20, 1, 37440, 0x27b4bb6c
+0, 21, 21, 1, 37440, 0xdbd07766
+0, 22, 22, 1, 37440, 0x04260104
+0, 23, 23, 1, 37440, 0x9b1e078b
+0, 24, 24, 1, 37440, 0xdf4e2474
+0, 25, 25, 1, 37440, 0x57d44986
+0, 26, 26, 1, 37440, 0x8780e34c
+0, 27, 27, 1, 37440, 0xf80c8bc0
+0, 28, 28, 1, 37440, 0x630a7583
+0, 29, 29, 1, 37440, 0x235ae089
+0, 30, 30, 1, 37440, 0x984b8f0e
+0, 31, 31, 1, 37440, 0x865cf592
+0, 32, 32, 1, 37440, 0x70f376f2
+0, 33, 33, 1, 37440, 0x8b30c035
+0, 34, 34, 1, 37440, 0xde772d79
+0, 35, 35, 1, 37440, 0x8e076be5
+0, 36, 36, 1, 37440, 0x3dc2bd9f
+0, 37, 37, 1, 37440, 0xb782eb67
+0, 38, 38, 1, 37440, 0x02025d73
+0, 39, 39, 1, 37440, 0x86bbbce8
+0, 40, 40, 1, 37440, 0xd6554f62
+0, 41, 41, 1, 37440, 0xb831b917
+0, 42, 42, 1, 37440, 0x80643560
+0, 43, 43, 1, 37440, 0x4ecf9afd
+0, 44, 44, 1, 37440, 0x9ce51e0b
+0, 45, 45, 1, 37440, 0x179466cd
+0, 46, 46, 1, 37440, 0x145fc900
+0, 47, 47, 1, 37440, 0xb1b50402
+0, 48, 48, 1, 37440, 0x0a87552a
+0, 49, 49, 1, 37440, 0x8f53821d
+0, 50, 50, 1, 37440, 0x1c07c825
+0, 51, 51, 1, 37440, 0x49dde82f
+0, 52, 52, 1, 37440, 0xb1a32605
+0, 53, 53, 1, 37440, 0x410f3cd5
+0, 54, 54, 1, 37440, 0xff5e6696
+0, 55, 55, 1, 37440, 0x96f678c9
+0, 56, 56, 1, 37440, 0x6c9e9e68
+0, 57, 57, 1, 37440, 0x79a2a655
+0, 58, 58, 1, 37440, 0xf237bd6c
+0, 59, 59, 1, 37440, 0x4051b611
+0, 60, 60, 1, 37440, 0xc7ccc918
+0, 61, 61, 1, 37440, 0xbd02c122
+0, 62, 62, 1, 37440, 0xacb3c881
+0, 63, 63, 1, 37440, 0x2abdb940
+0, 64, 64, 1, 37440, 0x19d5be85
+0, 65, 65, 1, 37440, 0xfa5fb1ba
+0, 66, 66, 1, 37440, 0xdae7a7aa
+0, 67, 67, 1, 37440, 0x6b0f9f69
+0, 68, 68, 1, 37440, 0x353e8201
+0, 69, 69, 1, 37440, 0xa21443aa
+0, 70, 70, 1, 37440, 0x66c8d7e0
+0, 71, 71, 1, 37440, 0xc332068e
+0, 72, 72, 1, 37440, 0x71431b9b
+0, 73, 73, 1, 37440, 0x392f15cb
+0, 74, 74, 1, 37440, 0x95a146bb
+0, 75, 75, 1, 37440, 0x7c51740a
+0, 76, 76, 1, 37440, 0xa3bdd43c
+0, 77, 77, 1, 37440, 0xa079f965
+0, 78, 78, 1, 37440, 0xa95423ea
+0, 79, 79, 1, 37440, 0xd1bd2c67
+0, 80, 80, 1, 37440, 0x6cf82844
+0, 81, 81, 1, 37440, 0xd401e128
+0, 82, 82, 1, 37440, 0x1f7db118
+0, 83, 83, 1, 37440, 0x2e0a65a9
+0, 84, 84, 1, 37440, 0x321c1c40
+0, 85, 85, 1, 37440, 0x95b2a127
+0, 86, 86, 1, 37440, 0xa1471f4b
+0, 87, 87, 1, 37440, 0x29d148c0
+0, 88, 88, 1, 37440, 0x24c07107
+0, 89, 89, 1, 37440, 0x0ead678d
+0, 90, 90, 1, 37440, 0xd0ca6495
+0, 91, 91, 1, 37440, 0x08f935ef
+0, 92, 92, 1, 37440, 0xb5ec3c38
+0, 93, 93, 1, 37440, 0xce371628
+0, 94, 94, 1, 37440, 0x68170812
+0, 95, 95, 1, 37440, 0xe222699e
+0, 96, 96, 1, 37440, 0xd688706c
+0, 97, 97, 1, 37440, 0x81a033f9
+0, 98, 98, 1, 37440, 0x28bd0fbf
+0, 99, 99, 1, 37440, 0xe36db7b2
+0, 100, 100, 1, 37440, 0x30559121
+0, 101, 101, 1, 37440, 0xbf2b5fc8
+0, 102, 102, 1, 37440, 0x4b427672
+0, 103, 103, 1, 37440, 0x0544b0b4
+0, 104, 104, 1, 37440, 0x38a70b06
+0, 105, 105, 1, 37440, 0x4ed62607
+0, 106, 106, 1, 37440, 0x6efe8ea6
+0, 107, 107, 1, 37440, 0x81197e11
+0, 108, 108, 1, 37440, 0xf4060050
+0, 109, 109, 1, 37440, 0xaf205f13
+0, 110, 110, 1, 37440, 0x5fa21382
+0, 111, 111, 1, 37440, 0x8627ad05
+0, 112, 112, 1, 37440, 0xf7130133
+0, 113, 113, 1, 37440, 0x76dea7ba
+0, 114, 114, 1, 37440, 0x1dbae1be
+0, 115, 115, 1, 37440, 0x74a933f7
+0, 116, 116, 1, 37440, 0xbdcd41a3
+0, 117, 117, 1, 37440, 0xf0fe8c1c
+0, 118, 118, 1, 37440, 0xc0036222
+0, 119, 119, 1, 37440, 0x3058385c
+0, 120, 120, 1, 37440, 0x68141016
diff --git a/tests/ref/fate/vc1_sa00040 b/tests/ref/fate/vc1_sa00040
index 24e3247486..1cb080aad8 100644
--- a/tests/ref/fate/vc1_sa00040
+++ b/tests/ref/fate/vc1_sa00040
@@ -1,16 +1,16 @@
#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, 3, 3, 1, 38016, 0xa6f15db5
+0, 4, 4, 1, 38016, 0x5c4ef0e7
+0, 5, 5, 1, 38016, 0x53a42d1d
+0, 6, 6, 1, 38016, 0x68f7d89e
0, 7, 7, 1, 38016, 0xc15f4368
-0, 8, 8, 1, 38016, 0xd1bd47a8
+0, 8, 8, 1, 38016, 0xc15f4368
0, 9, 9, 1, 38016, 0xd1bd47a8
-0, 10, 10, 1, 38016, 0xe1e821ca
+0, 10, 10, 1, 38016, 0xd1bd47a8
0, 11, 11, 1, 38016, 0xe1e821ca
0, 12, 12, 1, 38016, 0xe1e821ca
0, 13, 13, 1, 38016, 0xe1e821ca
0, 14, 14, 1, 38016, 0xe1e821ca
+0, 15, 15, 1, 38016, 0xe1e821ca
diff --git a/tests/ref/fate/vc1_sa00050 b/tests/ref/fate/vc1_sa00050
index f5b1ad9853..2287821b35 100644
--- a/tests/ref/fate/vc1_sa00050
+++ b/tests/ref/fate/vc1_sa00050
@@ -1,15 +1,14 @@
#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, 3, 3, 1, 115200, 0xb8830eef
+0, 4, 4, 1, 115200, 0x952ff5e1
+0, 5, 5, 1, 115200, 0xa4362b14
+0, 6, 6, 1, 115200, 0x32bacbe7
0, 7, 7, 1, 115200, 0x509eb814
-0, 8, 8, 1, 115200, 0x11a76c3e
+0, 8, 8, 1, 115200, 0x509eb814
0, 9, 9, 1, 115200, 0x11a76c3e
-0, 10, 10, 1, 115200, 0x00cf734a
+0, 10, 10, 1, 115200, 0x11a76c3e
0, 11, 11, 1, 115200, 0x00cf734a
0, 12, 12, 1, 115200, 0x00cf734a
0, 13, 13, 1, 115200, 0x00cf734a
@@ -17,15 +16,16 @@
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, 18, 18, 1, 115200, 0x00cf734a
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, 20, 20, 1, 115200, 0xfddf48e6
+0, 21, 21, 1, 115200, 0x1eccebbf
+0, 22, 22, 1, 115200, 0x3da2f77e
+0, 23, 23, 1, 115200, 0x7c232572
+0, 24, 24, 1, 115200, 0xedf426e5
0, 25, 25, 1, 115200, 0x5324ab20
-0, 26, 26, 1, 115200, 0xa23e66bb
-0, 27, 27, 1, 115200, 0x680a50ff
+0, 26, 26, 1, 115200, 0x5324ab20
+0, 27, 27, 1, 115200, 0xa23e66bb
0, 28, 28, 1, 115200, 0x680a50ff
0, 29, 29, 1, 115200, 0x680a50ff
+0, 30, 30, 1, 115200, 0x680a50ff
diff --git a/tests/ref/fate/vc1_sa10091 b/tests/ref/fate/vc1_sa10091
index c0db3969c6..33326d6a63 100644
--- a/tests/ref/fate/vc1_sa10091
+++ b/tests/ref/fate/vc1_sa10091
@@ -1,31 +1,31 @@
#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, 6, 6, 1, 518400, 0x2b4ccdf9
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, 9, 9, 1, 518400, 0x70d9a891
+0, 10, 10, 1, 518400, 0xa461ee86
0, 11, 11, 1, 518400, 0x722bc6e8
0, 12, 12, 1, 518400, 0x722bc6e8
-0, 13, 13, 1, 518400, 0xf752fd2c
+0, 13, 13, 1, 518400, 0x722bc6e8
0, 14, 14, 1, 518400, 0xf752fd2c
-0, 15, 15, 1, 518400, 0x91abcaca
-0, 16, 16, 1, 518400, 0x572727c3
+0, 15, 15, 1, 518400, 0xf752fd2c
+0, 16, 16, 1, 518400, 0x91abcaca
0, 17, 17, 1, 518400, 0x572727c3
-0, 18, 18, 1, 518400, 0x24c12382
+0, 18, 18, 1, 518400, 0x572727c3
0, 19, 19, 1, 518400, 0x24c12382
-0, 20, 20, 1, 518400, 0x9aa39fe8
+0, 20, 20, 1, 518400, 0x24c12382
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, 22, 22, 1, 518400, 0x9aa39fe8
+0, 23, 23, 1, 518400, 0x5cb6bd19
+0, 24, 24, 1, 518400, 0x704d9300
0, 25, 25, 1, 518400, 0x590fad49
0, 26, 26, 1, 518400, 0x590fad49
-0, 27, 27, 1, 518400, 0x46bea10b
+0, 27, 27, 1, 518400, 0x590fad49
0, 28, 28, 1, 518400, 0x46bea10b
0, 29, 29, 1, 518400, 0x46bea10b
+0, 30, 30, 1, 518400, 0x46bea10b
diff --git a/tests/ref/fate/vc1_sa20021 b/tests/ref/fate/vc1_sa20021
index cfb7d29b41..22989a0aed 100644
--- a/tests/ref/fate/vc1_sa20021
+++ b/tests/ref/fate/vc1_sa20021
@@ -1,61 +1,61 @@
#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, 2, 2, 1, 506880, 0x4b09548f
+0, 3, 3, 1, 506880, 0x195cbee1
+0, 4, 4, 1, 506880, 0xc8141e28
+0, 5, 5, 1, 506880, 0xb170c49b
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, 9, 9, 1, 506880, 0x2782268a
0, 10, 10, 1, 506880, 0xe6803b32
-0, 11, 11, 1, 506880, 0xa5ef9baf
+0, 11, 11, 1, 506880, 0xe6803b32
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, 13, 13, 1, 506880, 0xa5ef9baf
+0, 14, 14, 1, 506880, 0x46e8cbcb
+0, 15, 15, 1, 506880, 0x28a2239b
0, 16, 16, 1, 506880, 0x7667af2f
-0, 17, 17, 1, 506880, 0x8011bcaf
-0, 18, 18, 1, 506880, 0xd422115b
+0, 17, 17, 1, 506880, 0x7667af2f
+0, 18, 18, 1, 506880, 0x8011bcaf
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, 21, 21, 1, 506880, 0xd422115b
+0, 22, 22, 1, 506880, 0xbcee0b5b
+0, 23, 23, 1, 506880, 0x08fe9ec8
0, 24, 24, 1, 506880, 0xc8fb8b37
-0, 25, 25, 1, 506880, 0x2c698b52
+0, 25, 25, 1, 506880, 0xc8fb8b37
0, 26, 26, 1, 506880, 0x2c698b52
0, 27, 27, 1, 506880, 0x2c698b52
-0, 28, 28, 1, 506880, 0x2b4ad9bc
+0, 28, 28, 1, 506880, 0x2c698b52
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, 32, 32, 1, 506880, 0x2b4ad9bc
0, 33, 33, 1, 506880, 0x92e84ebb
-0, 34, 34, 1, 506880, 0xdb877da3
+0, 34, 34, 1, 506880, 0x92e84ebb
0, 35, 35, 1, 506880, 0xdb877da3
0, 36, 36, 1, 506880, 0xdb877da3
-0, 37, 37, 1, 506880, 0x44610654
+0, 37, 37, 1, 506880, 0xdb877da3
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, 39, 39, 1, 506880, 0x44610654
+0, 40, 40, 1, 506880, 0xe254ce67
+0, 41, 41, 1, 506880, 0xa6085385
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, 43, 43, 1, 506880, 0x2d45d744
+0, 44, 44, 1, 506880, 0x6e684f51
+0, 45, 45, 1, 506880, 0xe96186cf
0, 46, 46, 1, 506880, 0xb535d369
0, 47, 47, 1, 506880, 0xb535d369
-0, 48, 48, 1, 506880, 0xeed0b7e0
+0, 48, 48, 1, 506880, 0xb535d369
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, 52, 52, 1, 506880, 0xeed0b7e0
+0, 53, 53, 1, 506880, 0x8789b20b
+0, 54, 54, 1, 506880, 0x0a0f42fb
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
+0, 59, 59, 1, 506880, 0x09bbac2d
+0, 60, 60, 1, 506880, 0xda77f0df
diff --git a/tests/ref/fate/vmnc-32bit b/tests/ref/fate/vmnc-32bit
index c66f770589..d55d88f66b 100644
--- a/tests/ref/fate/vmnc-32bit
+++ b/tests/ref/fate/vmnc-32bit
@@ -2,49 +2,49 @@
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
+0, 10, 10, 1, 3655644, 0x87973530
+0, 11, 11, 1, 3655644, 0x87973530
+0, 12, 12, 1, 3655644, 0x3c3167fd
+0, 15, 15, 1, 3655644, 0x87973530
+0, 18, 18, 1, 3655644, 0x4f0da763
+0, 19, 19, 1, 3655644, 0x66a4a763
+0, 20, 20, 1, 3655644, 0xb20a7496
+0, 23, 23, 1, 3655644, 0x66a4a763
+0, 24, 24, 1, 3655644, 0x5600644a
+0, 26, 26, 1, 3655644, 0xce5880ee
+0, 49, 49, 1, 3655644, 0xa993ef3d
+0, 61, 61, 1, 3655644, 0x73564014
+0, 64, 64, 1, 3655644, 0x2a6e1e8c
+0, 68, 68, 1, 3655644, 0xbae02e7c
+0, 72, 72, 1, 3655644, 0x55af4a2d
+0, 73, 73, 1, 3655644, 0x54b7ff2d
+0, 77, 77, 1, 3655644, 0x39af1aed
+0, 82, 82, 1, 3655644, 0xe48dd11c
+0, 89, 89, 1, 3655644, 0xba15c78d
+0, 96, 96, 1, 3655644, 0x39af1aed
+0, 103, 103, 1, 3655644, 0x27f96cd8
+0, 110, 110, 1, 3655644, 0xf4f068dc
+0, 111, 111, 1, 3655644, 0xf1c55cf5
+0, 113, 113, 1, 3655644, 0xd932633d
+0, 114, 114, 1, 3655644, 0xc6e95e0a
+0, 115, 115, 1, 3655644, 0x9a63c9de
+0, 116, 116, 1, 3655644, 0xf166ad4f
+0, 117, 117, 1, 3655644, 0xe9eeba41
+0, 118, 118, 1, 3655644, 0x7e598ad7
+0, 123, 123, 1, 3655644, 0xf3bd257e
+0, 127, 127, 1, 3655644, 0xf35b3852
+0, 128, 128, 1, 3655644, 0x9d553959
+0, 129, 129, 1, 3655644, 0x0a9de8e2
+0, 135, 135, 1, 3655644, 0xf2325b6c
+0, 137, 137, 1, 3655644, 0xcf924028
+0, 139, 139, 1, 3655644, 0x8dae55bc
+0, 141, 141, 1, 3655644, 0x57b08ced
+0, 143, 143, 1, 3655644, 0xef89a1d8
+0, 145, 145, 1, 3655644, 0x69e5503a
+0, 147, 147, 1, 3655644, 0xc3de7b3f
+0, 149, 149, 1, 3655644, 0x88eea64a
+0, 162, 162, 1, 3655644, 0xe39cce1f
+0, 166, 166, 1, 3655644, 0xf0ed0d04
+0, 171, 171, 1, 3655644, 0x32490d3e
diff --git a/tests/ref/fate/vp8-sign-bias b/tests/ref/fate/vp8-sign-bias
index f125bff820..77b69ed421 100644
--- a/tests/ref/fate/vp8-sign-bias
+++ b/tests/ref/fate/vp8-sign-bias
@@ -1,10 +1,9 @@
#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, 2, 2, 1, 614880, ce352e1079535ea058c0e9ad50f7cdb8
+0, 3, 3, 1, 614880, 9f6bf2739a027dfd12c81586cf75d3a3
+0, 4, 4, 1, 614880, 7593a85ab7790eb39d65fc53f769ed8b
+0, 5, 5, 1, 614880, 52f47f1e0348f3297d9f233fb5405e8b
+0, 6, 6, 1, 614880, cd51d2c200bfd66e8e1b0fd6b404570f
+0, 7, 7, 1, 614880, cf535cf0a53e903cd98a9a944b72da6d
0, 8, 8, 1, 614880, ff373c0c8a4a319c84e72b1c3d76b399
diff --git a/tests/ref/fate/wmv8-drm b/tests/ref/fate/wmv8-drm
index 344ed8d753..9b522ae60e 100644
--- a/tests/ref/fate/wmv8-drm
+++ b/tests/ref/fate/wmv8-drm
@@ -1,131 +1,131 @@
#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
+0, 29, 29, 1, 84480, 0xfe39a1db
+0, 30, 30, 1, 84480, 0xd71961b4
+0, 31, 31, 1, 84480, 0xc80dedba
+0, 32, 32, 1, 84480, 0x34d8b538
+0, 33, 33, 1, 84480, 0x1a86b8e5
+0, 34, 34, 1, 84480, 0xabf7c25d
+0, 35, 35, 1, 84480, 0x912600ee
+0, 36, 36, 1, 84480, 0x7ee7c70b
+0, 37, 37, 1, 84480, 0x09c5b0d1
+0, 38, 38, 1, 84480, 0x6dbe6c0c
+0, 39, 39, 1, 84480, 0x0fe0a120
+0, 40, 40, 1, 84480, 0x2352d3a2
+0, 41, 41, 1, 84480, 0xb22ce92e
+0, 42, 42, 1, 84480, 0x31db0099
+0, 43, 43, 1, 84480, 0xad2dd73a
+0, 44, 44, 1, 84480, 0xb9af8e20
+0, 45, 45, 1, 84480, 0x7b956549
+0, 46, 46, 1, 84480, 0x3f774b87
+0, 47, 47, 1, 84480, 0x824a23a3
+0, 48, 48, 1, 84480, 0x4469a8d8
+0, 49, 49, 1, 84480, 0xc80c7a0a
+0, 50, 50, 1, 84480, 0xcf958549
+0, 51, 51, 1, 84480, 0x449746e3
+0, 52, 52, 1, 84480, 0xbac66a82
+0, 53, 53, 1, 84480, 0x99e85855
+0, 54, 54, 1, 84480, 0xa4a17d17
+0, 55, 55, 1, 84480, 0xe29c7587
+0, 56, 56, 1, 84480, 0x551de592
+0, 57, 57, 1, 84480, 0xe0877bce
+0, 58, 58, 1, 84480, 0x9660eb35
+0, 59, 59, 1, 84480, 0x0a34b644
+0, 60, 60, 1, 84480, 0x352919f0
+0, 61, 61, 1, 84480, 0xef56ce27
+0, 62, 62, 1, 84480, 0x030fe862
+0, 63, 63, 1, 84480, 0x2eba33e2
+0, 64, 64, 1, 84480, 0x242de401
+0, 65, 65, 1, 84480, 0xbadd61ca
+0, 66, 66, 1, 84480, 0x2060465b
+0, 67, 67, 1, 84480, 0x256e6965
+0, 68, 68, 1, 84480, 0x243b7084
+0, 69, 69, 1, 84480, 0x8b3c0b47
+0, 70, 70, 1, 84480, 0xc174a9af
+0, 71, 71, 1, 84480, 0xb6d48686
+0, 72, 72, 1, 84480, 0xa3dd1871
+0, 73, 73, 1, 84480, 0x04cdcaf7
+0, 74, 74, 1, 84480, 0x55f89c94
+0, 75, 75, 1, 84480, 0xda657032
+0, 76, 76, 1, 84480, 0x38ba7698
+0, 77, 77, 1, 84480, 0x4d03a7f2
+0, 78, 78, 1, 84480, 0x115d9035
+0, 79, 79, 1, 84480, 0x24c6acc6
+0, 80, 80, 1, 84480, 0xdd2bbcae
+0, 81, 81, 1, 84480, 0xb4fee0b9
+0, 82, 82, 1, 84480, 0xc51c14e0
+0, 83, 83, 1, 84480, 0xfb7737de
+0, 84, 84, 1, 84480, 0x38675fb0
+0, 85, 85, 1, 84480, 0x4752c710
+0, 86, 86, 1, 84480, 0xfeb7491b
+0, 87, 87, 1, 84480, 0xaa248122
+0, 88, 88, 1, 84480, 0x9a4af87c
+0, 89, 89, 1, 84480, 0xedcf09df
+0, 90, 90, 1, 84480, 0x563a05df
+0, 91, 91, 1, 84480, 0x0dde1e03
+0, 92, 92, 1, 84480, 0xd8f0ff65
+0, 93, 93, 1, 84480, 0xbeb9ae1a
+0, 94, 94, 1, 84480, 0x416d1468
+0, 95, 95, 1, 84480, 0x66c87d4c
+0, 96, 96, 1, 84480, 0xa67c0774
+0, 97, 97, 1, 84480, 0xd8f8aec1
+0, 98, 98, 1, 84480, 0xadfa502b
+0, 99, 99, 1, 84480, 0x50bf20e4
+0, 100, 100, 1, 84480, 0xbcb3d8cc
+0, 101, 101, 1, 84480, 0xa54677d7
+0, 102, 102, 1, 84480, 0x3566042d
+0, 103, 103, 1, 84480, 0x4c9eed57
+0, 104, 104, 1, 84480, 0xc3b90e58
+0, 105, 105, 1, 84480, 0x3c042bfa
+0, 106, 106, 1, 84480, 0x19f8e890
+0, 107, 107, 1, 84480, 0xd3dacfb9
+0, 108, 108, 1, 84480, 0x2365fc6f
+0, 109, 109, 1, 84480, 0xa2c19d00
+0, 110, 110, 1, 84480, 0xce94336f
+0, 111, 111, 1, 84480, 0xfa9bcf14
+0, 118, 118, 1, 84480, 0x24d6a243
+0, 119, 119, 1, 84480, 0xae1c8854
+0, 120, 120, 1, 84480, 0xbb8968bf
+0, 121, 121, 1, 84480, 0x6f923623
+0, 122, 122, 1, 84480, 0x22e98029
+0, 123, 123, 1, 84480, 0x8ac33af3
+0, 124, 124, 1, 84480, 0x05947b6e
+0, 125, 125, 1, 84480, 0xfc35661a
+0, 126, 126, 1, 84480, 0x0e6b6e47
+0, 127, 127, 1, 84480, 0x82c764bb
+0, 128, 128, 1, 84480, 0x57a36833
+0, 129, 129, 1, 84480, 0xc8dd690a
+0, 130, 130, 1, 84480, 0x02c47232
+0, 131, 131, 1, 84480, 0x6645715d
+0, 132, 132, 1, 84480, 0xc64860f7
+0, 133, 133, 1, 84480, 0x4f5614b3
+0, 134, 134, 1, 84480, 0xa70842ca
+0, 135, 135, 1, 84480, 0x379d8458
+0, 136, 136, 1, 84480, 0xa14701cf
+0, 137, 137, 1, 84480, 0xad1aa2b2
+0, 138, 138, 1, 84480, 0xee28f320
+0, 139, 139, 1, 84480, 0x505801e9
+0, 140, 140, 1, 84480, 0x7947233b
+0, 141, 141, 1, 84480, 0x3ce72a9d
+0, 142, 142, 1, 84480, 0xa6834e64
+0, 143, 143, 1, 84480, 0xfebf4d70
+0, 144, 144, 1, 84480, 0x4a0775e2
+0, 145, 145, 1, 84480, 0x9d7e945b
+0, 146, 146, 1, 84480, 0xaa9eadd9
+0, 147, 147, 1, 84480, 0xaa85c9b1
+0, 148, 148, 1, 84480, 0xa005edaf
+0, 149, 149, 1, 84480, 0x7fc4e5cc
+0, 150, 150, 1, 84480, 0xb0f6e8d1
+0, 151, 151, 1, 84480, 0x9ef9f330
+0, 152, 152, 1, 84480, 0xbe14ff1f
+0, 153, 153, 1, 84480, 0xd494048c
+0, 154, 154, 1, 84480, 0x046166a7
+0, 155, 155, 1, 84480, 0x052a09b2
+0, 156, 156, 1, 84480, 0x71fff4ab
+0, 157, 157, 1, 84480, 0xb9684e41
+0, 158, 158, 1, 84480, 0x1ddce068
+0, 159, 159, 1, 84480, 0xb9de300e
+0, 160, 160, 1, 84480, 0x13962590
+0, 161, 161, 1, 84480, 0xde79482f
+0, 162, 162, 1, 84480, 0x7d1ca064
+0, 163, 163, 1, 84480, 0x2676a064
diff --git a/tests/ref/lavf/gxf b/tests/ref/lavf/gxf
index 6b39c2f273..efdcfd5e9e 100644
--- a/tests/ref/lavf/gxf
+++ b/tests/ref/lavf/gxf
@@ -1,3 +1,3 @@
346d38d330ab5cb0caa6b5537167bc0d *./tests/data/lavf/lavf.gxf
796392 ./tests/data/lavf/lavf.gxf
-./tests/data/lavf/lavf.gxf CRC=0x345f86eb
+./tests/data/lavf/lavf.gxf CRC=0x246186eb