[FFmpeg-cvslog] avconv: replace -vsync cfr code with the fps filter.

Anton Khirnov git at videolan.org
Sun May 20 12:35:47 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed May  9 16:25:02 2012 +0200| [74b961db77b5d3328f6c1eafde327cd0af23d0d6] | committer: Anton Khirnov

avconv: replace -vsync cfr code with the fps filter.

Invented timestamps for the h264 tests return to something resembling
sanity.

In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74b961db77b5d3328f6c1eafde327cd0af23d0d6
---

 avconv.c                                           |  150 ++---
 .../ref/fate/h264-conformance-cabac_mot_fld0_full  |   60 +-
 .../fate/h264-conformance-cabac_mot_picaff0_full   |   60 +-
 tests/ref/fate/h264-conformance-cabref3_sand_d     |  100 ++--
 tests/ref/fate/h264-conformance-cafi1_sva_c        |   66 +--
 tests/ref/fate/h264-conformance-cama1_vtc_c        |    8 +-
 tests/ref/fate/h264-conformance-cama2_vtc_b        |    8 +-
 tests/ref/fate/h264-conformance-cama3_vtc_b        |    8 +-
 tests/ref/fate/h264-conformance-capa1_toshiba_b    |  180 +++---
 tests/ref/fate/h264-conformance-capama3_sand_f     |  100 ++--
 .../fate/h264-conformance-cavlc_mot_fld0_full_b    |   60 +-
 .../fate/h264-conformance-cavlc_mot_picaff0_full_b |   60 +-
 tests/ref/fate/h264-conformance-cvfi1_sony_d       |   34 +-
 tests/ref/fate/h264-conformance-cvfi1_sva_c        |   14 +-
 tests/ref/fate/h264-conformance-cvfi2_sony_h       |   34 +-
 tests/ref/fate/h264-conformance-cvfi2_sva_c        |   26 +-
 tests/ref/fate/h264-conformance-cvmapaqp3_sony_e   |   16 +-
 tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b |   60 +-
 tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b |   60 +-
 tests/ref/fate/h264-conformance-cvnlfi1_sony_c     |   34 +-
 tests/ref/fate/h264-conformance-cvnlfi2_sony_h     |   34 +-
 tests/ref/fate/h264-conformance-cvpa1_toshiba_b    |  180 +++---
 tests/ref/fate/h264-conformance-fi1_sony_e         |   34 +-
 tests/ref/fate/h264-conformance-frext-bcrm_freh10  |  200 +++----
 tests/ref/fate/h264-conformance-frext-brcm_freh11  |  200 +++----
 tests/ref/fate/h264-conformance-frext-brcm_freh4   |  200 +++----
 tests/ref/fate/h264-conformance-frext-freh6        |  200 +++----
 tests/ref/fate/h264-conformance-frext-freh7_b      |  200 +++----
 .../fate/h264-conformance-frext-frext2_panasonic_b |   30 +-
 .../fate/h264-conformance-frext-frext4_panasonic_a |   20 +-
 tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b |   20 +-
 .../ref/fate/h264-conformance-frext-hpcafl_bcrm_c  |  600 ++++++++++----------
 .../fate/h264-conformance-frext-hpcaflnl_bcrm_c    |  600 ++++++++++----------
 .../fate/h264-conformance-frext-hpcamapalq_bcrm_b  |  600 ++++++++++----------
 .../ref/fate/h264-conformance-frext-hpcvfl_bcrm_a  |  600 ++++++++++----------
 .../fate/h264-conformance-frext-hpcvflnl_bcrm_a    |  600 ++++++++++----------
 tests/ref/fate/h264-conformance-mr3_tandberg_b     |  582 +++++++++----------
 tests/ref/fate/h264-conformance-mr6_bt_b           |  120 ++--
 tests/ref/fate/h264-conformance-mr7_bt_b           |  100 ++--
 tests/ref/fate/h264-conformance-mr8_bt_b           |  116 ++--
 tests/ref/fate/h264-conformance-mr9_bt_b           |   96 ++--
 tests/ref/fate/h264-conformance-sharp_mp_field_1_b |   30 +-
 tests/ref/fate/h264-conformance-sharp_mp_field_2_b |   30 +-
 tests/ref/fate/h264-conformance-sharp_mp_field_3_b |   30 +-
 tests/ref/fate/h264-conformance-sharp_mp_paff_1r2  |   30 +-
 tests/ref/fate/h264-conformance-sharp_mp_paff_2r   |   30 +-
 tests/ref/fate/idroq-video-encode                  |    2 +-
 tests/ref/fate/vc1-ism                             |  124 ++--
 48 files changed, 3355 insertions(+), 3391 deletions(-)

diff --git a/avconv.c b/avconv.c
index 0b4ca81..21168a7 100644
--- a/avconv.c
+++ b/avconv.c
@@ -751,7 +751,8 @@ static int configure_video_filters(FilterGraph *fg, AVFilterContext **in_filter,
         sample_aspect_ratio = ist->st->codec->sample_aspect_ratio;
 
     snprintf(args, 255, "%d:%d:%d:%d:%d:%d:%d", ist->st->codec->width,
-             ist->st->codec->height, ist->st->codec->pix_fmt, 1, AV_TIME_BASE,
+             ist->st->codec->height, ist->st->codec->pix_fmt,
+             ist->st->time_base.num, ist->st->time_base.den,
              sample_aspect_ratio.num, sample_aspect_ratio.den);
 
     ret = avfilter_graph_create_filter(&fg->inputs[0]->filter,
@@ -780,6 +781,20 @@ static int configure_video_filters(FilterGraph *fg, AVFilterContext **in_filter,
         *in_filter = filter;
     }
 
+    if (ost->frame_rate.num) {
+        snprintf(args, sizeof(args), "fps=%d/%d", ost->frame_rate.num,
+                 ost->frame_rate.den);
+        ret = avfilter_graph_create_filter(&filter, avfilter_get_by_name("fps"),
+                                           "fps", args, NULL, fg->graph);
+        if (ret < 0)
+            return ret;
+
+        ret = avfilter_link(filter, 0, *out_filter, 0);
+        if (ret < 0)
+            return ret;
+        *out_filter = filter;
+    }
+
     if ((pix_fmts = choose_pix_fmts(ost))) {
         if ((ret = avfilter_graph_create_filter(&filter,
                                                 avfilter_get_by_name("format"),
@@ -1382,13 +1397,6 @@ static void update_sample_fmt(AVCodecContext *dec, AVCodec *dec_codec,
     }
 }
 
-static double
-get_sync_ipts(const OutputStream *ost, int64_t pts)
-{
-    OutputFile *of = output_files[ost->file_index];
-    return (double)(pts - of->start_time) / AV_TIME_BASE;
-}
-
 static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
 {
     AVBitStreamFilterContext *bsfc = ost->bitstream_filters;
@@ -1600,17 +1608,9 @@ static void do_video_out(AVFormatContext *s,
                          AVFrame *in_picture,
                          int *frame_size, float quality)
 {
-    int nb_frames, i, ret, format_video_sync;
-    AVCodecContext *enc;
-    double sync_ipts, delta;
-
-    enc = ost->st->codec;
-
-    sync_ipts = get_sync_ipts(ost, in_picture->pts) / av_q2d(enc->time_base);
-    delta = sync_ipts - ost->sync_opts;
-
-    /* by default, we output a single frame */
-    nb_frames = 1;
+    int ret, format_video_sync;
+    AVPacket pkt;
+    AVCodecContext *enc = ost->st->codec;
 
     *frame_size = 0;
 
@@ -1618,49 +1618,29 @@ static void do_video_out(AVFormatContext *s,
     if (format_video_sync == VSYNC_AUTO)
         format_video_sync = (s->oformat->flags & AVFMT_NOTIMESTAMPS) ? VSYNC_PASSTHROUGH :
                             (s->oformat->flags & AVFMT_VARIABLE_FPS) ? VSYNC_VFR : VSYNC_CFR;
-
-    switch (format_video_sync) {
-    case VSYNC_CFR:
-        // FIXME set to 0.5 after we fix some dts/pts bugs like in avidec.c
-        if (delta < -1.1)
-            nb_frames = 0;
-        else if (delta > 1.1)
-            nb_frames = lrintf(delta);
-        break;
-    case VSYNC_VFR:
-        if (delta <= -0.6)
-            nb_frames = 0;
-        else if (delta > 0.6)
-            ost->sync_opts = lrint(sync_ipts);
-        break;
-    case VSYNC_PASSTHROUGH:
-        ost->sync_opts = lrint(sync_ipts);
-        break;
-    default:
-        av_assert0(0);
-    }
-
-    nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number);
-    if (nb_frames == 0) {
+    if (format_video_sync != VSYNC_PASSTHROUGH &&
+        ost->frame_number &&
+        in_picture->pts != AV_NOPTS_VALUE &&
+        in_picture->pts < ost->sync_opts) {
         nb_frames_drop++;
         av_log(NULL, AV_LOG_VERBOSE, "*** drop!\n");
         return;
-    } else if (nb_frames > 1) {
-        nb_frames_dup += nb_frames - 1;
-        av_log(NULL, AV_LOG_VERBOSE, "*** %d dup!\n", nb_frames - 1);
     }
 
+    if (in_picture->pts == AV_NOPTS_VALUE)
+        in_picture->pts = ost->sync_opts;
+    ost->sync_opts = in_picture->pts;
+
+
     if (!ost->frame_number)
-        ost->first_pts = ost->sync_opts;
+        ost->first_pts = in_picture->pts;
 
-    /* duplicates frame if needed */
-    for (i = 0; i < nb_frames; i++) {
-        AVPacket pkt;
         av_init_packet(&pkt);
         pkt.data = NULL;
         pkt.size = 0;
 
-        if (!check_recording_time(ost))
+        if (!check_recording_time(ost) ||
+            ost->frame_number >= ost->max_frames)
             return;
 
         if (s->oformat->flags & AVFMT_RAWPICTURE &&
@@ -1672,7 +1652,7 @@ static void do_video_out(AVFormatContext *s,
             enc->coded_frame->top_field_first  = in_picture->top_field_first;
             pkt.data   = (uint8_t *)in_picture;
             pkt.size   =  sizeof(AVPicture);
-            pkt.pts    = av_rescale_q(ost->sync_opts, enc->time_base, ost->st->time_base);
+            pkt.pts    = av_rescale_q(in_picture->pts, enc->time_base, ost->st->time_base);
             pkt.flags |= AV_PKT_FLAG_KEY;
 
             write_frame(s, &pkt, ost);
@@ -1696,7 +1676,6 @@ static void do_video_out(AVFormatContext *s,
             big_picture.quality = quality;
             if (!enc->me_threshold)
                 big_picture.pict_type = 0;
-            big_picture.pts = ost->sync_opts;
             if (ost->forced_kf_index < ost->forced_kf_count &&
                 big_picture.pts >= ost->forced_kf_pts[ost->forced_kf_index]) {
                 big_picture.pict_type = AV_PICTURE_TYPE_I;
@@ -1731,7 +1710,6 @@ static void do_video_out(AVFormatContext *s,
          * flush, we need to limit them here, before they go into encoder.
          */
         ost->frame_number++;
-    }
 }
 
 static double psnr(double d)
@@ -1809,11 +1787,7 @@ static int poll_filters(void)
                 break;
 
             avfilter_copy_buf_props(filtered_frame, picref);
-            if (ost->enc->type == AVMEDIA_TYPE_VIDEO)
-                filtered_frame->pts = av_rescale_q(picref->pts,
-                                                   ost->filter->filter->inputs[0]->time_base,
-                                                   AV_TIME_BASE_Q);
-            else if (picref->pts != AV_NOPTS_VALUE)
+            if (picref->pts != AV_NOPTS_VALUE)
                 filtered_frame->pts = av_rescale_q(picref->pts,
                                                    ost->filter->filter->inputs[0]->time_base,
                                                    ost->st->codec->time_base) -
@@ -2288,7 +2262,7 @@ static int transcode_audio(InputStream *ist, AVPacket *pkt, int *got_output)
     return ret;
 }
 
-static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int64_t *pkt_pts)
+static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output)
 {
     AVFrame *decoded_frame;
     void *buffer_to_free = NULL;
@@ -2300,9 +2274,6 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
     else
         avcodec_get_frame_defaults(ist->decoded_frame);
     decoded_frame = ist->decoded_frame;
-    pkt->pts  = *pkt_pts;
-    pkt->dts  = ist->last_dts;
-    *pkt_pts  = AV_NOPTS_VALUE;
 
     ret = avcodec_decode_video2(ist->st->codec,
                                 decoded_frame, got_output, pkt);
@@ -2406,7 +2377,6 @@ static int output_packet(InputStream *ist, const AVPacket *pkt)
 {
     int i;
     int got_output;
-    int64_t pkt_pts = AV_NOPTS_VALUE;
     AVPacket avpkt;
 
     if (ist->next_dts == AV_NOPTS_VALUE)
@@ -2424,8 +2394,6 @@ static int output_packet(InputStream *ist, const AVPacket *pkt)
 
     if (pkt->dts != AV_NOPTS_VALUE)
         ist->next_dts = ist->last_dts = av_rescale_q(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q);
-    if (pkt->pts != AV_NOPTS_VALUE)
-        pkt_pts = av_rescale_q(pkt->pts, ist->st->time_base, AV_TIME_BASE_Q);
 
     // while we have more to decode or while the decoder did output something on EOF
     while (ist->decoding_needed && (avpkt.size > 0 || (!pkt && got_output))) {
@@ -2445,7 +2413,7 @@ static int output_packet(InputStream *ist, const AVPacket *pkt)
             ret = transcode_audio    (ist, &avpkt, &got_output);
             break;
         case AVMEDIA_TYPE_VIDEO:
-            ret = transcode_video    (ist, &avpkt, &got_output, &pkt_pts);
+            ret = transcode_video    (ist, &avpkt, &got_output);
             if (avpkt.duration)
                 ist->next_dts += av_rescale_q(avpkt.duration, ist->st->time_base, AV_TIME_BASE_Q);
             else if (ist->st->r_frame_rate.num)
@@ -2733,6 +2701,27 @@ static int transcode_init(void)
                 ist->decoding_needed = 1;
             ost->encoding_needed = 1;
 
+            /*
+             * We want CFR output if and only if one of those is true:
+             * 1) user specified output framerate with -r
+             * 2) user specified -vsync cfr
+             * 3) output format is CFR and the user didn't force vsync to
+             *    something else than CFR
+             *
+             * in such a case, set ost->frame_rate
+             */
+            if (codec->codec_type == AVMEDIA_TYPE_VIDEO &&
+                !ost->frame_rate.num && ist &&
+                (video_sync_method ==  VSYNC_CFR ||
+                 (video_sync_method ==  VSYNC_AUTO &&
+                  !(oc->oformat->flags & (AVFMT_NOTIMESTAMPS | AVFMT_VARIABLE_FPS))))) {
+                ost->frame_rate = ist->st->r_frame_rate.num ? ist->st->r_frame_rate : (AVRational){25, 1};
+                if (ost->enc && ost->enc->supported_framerates && !ost->force_fps) {
+                    int idx = av_find_nearest_q_idx(ost->frame_rate, ost->enc->supported_framerates);
+                    ost->frame_rate = ost->enc->supported_framerates[idx];
+                }
+            }
+
             if (!ost->filter &&
                 (codec->codec_type == AVMEDIA_TYPE_VIDEO ||
                  codec->codec_type == AVMEDIA_TYPE_AUDIO)) {
@@ -2753,32 +2742,7 @@ static int transcode_init(void)
                 codec->time_base      = (AVRational){ 1, codec->sample_rate };
                 break;
             case AVMEDIA_TYPE_VIDEO:
-                /*
-                 * We want CFR output if and only if one of those is true:
-                 * 1) user specified output framerate with -r
-                 * 2) user specified -vsync cfr
-                 * 3) output format is CFR and the user didn't force vsync to
-                 *    something else than CFR
-                 *
-                 * in such a case, set ost->frame_rate
-                 */
-                if (!ost->frame_rate.num && ist &&
-                    (video_sync_method ==  VSYNC_CFR ||
-                     (video_sync_method ==  VSYNC_AUTO &&
-                      !(oc->oformat->flags & (AVFMT_NOTIMESTAMPS | AVFMT_VARIABLE_FPS))))) {
-                    ost->frame_rate = ist->st->r_frame_rate.num ? ist->st->r_frame_rate : (AVRational){25, 1};
-                    if (ost->enc && ost->enc->supported_framerates && !ost->force_fps) {
-                        int idx = av_find_nearest_q_idx(ost->frame_rate, ost->enc->supported_framerates);
-                        ost->frame_rate = ost->enc->supported_framerates[idx];
-                    }
-                }
-                if (ost->frame_rate.num) {
-                    codec->time_base = (AVRational){ost->frame_rate.den, ost->frame_rate.num};
-                    video_sync_method = VSYNC_CFR;
-                } else if (ist)
-                    codec->time_base = ist->st->time_base;
-                else
-                    codec->time_base = ost->filter->filter->inputs[0]->time_base;
+                codec->time_base = ost->filter->filter->inputs[0]->time_base;
 
                 codec->width  = ost->filter->filter->inputs[0]->w;
                 codec->height = ost->filter->filter->inputs[0]->h;
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_fld0_full b/tests/ref/fate/h264-conformance-cabac_mot_fld0_full
index d1093c1..b131cda 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,          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
+0,          0,          0,        1,   518400, 0xbf168f4e
+0,          1,          1,        1,   518400, 0xeda5e54f
+0,          2,          2,        1,   518400, 0xef496d43
+0,          3,          3,        1,   518400, 0x6b68dad5
+0,          4,          4,        1,   518400, 0x9a40a7de
+0,          5,          5,        1,   518400, 0x0c21c018
+0,          6,          6,        1,   518400, 0x4ac5a846
+0,          7,          7,        1,   518400, 0x3a1aa817
+0,          8,          8,        1,   518400, 0xcc4eb434
+0,          9,          9,        1,   518400, 0x4368a3c2
+0,         10,         10,        1,   518400, 0xb923682f
+0,         11,         11,        1,   518400, 0xd95460a8
+0,         12,         12,        1,   518400, 0x8e8518aa
+0,         13,         13,        1,   518400, 0x292a1a80
+0,         14,         14,        1,   518400, 0xbada388e
+0,         15,         15,        1,   518400, 0xa67f63c9
+0,         16,         16,        1,   518400, 0x9fc77e21
+0,         17,         17,        1,   518400, 0xe99dc2ac
+0,         18,         18,        1,   518400, 0x17d7d080
+0,         19,         19,        1,   518400, 0x41760c0b
+0,         20,         20,        1,   518400, 0x3c70f34d
+0,         21,         21,        1,   518400, 0x0d640285
+0,         22,         22,        1,   518400, 0x448893e8
+0,         23,         23,        1,   518400, 0x08194490
+0,         24,         24,        1,   518400, 0xcf227031
+0,         25,         25,        1,   518400, 0x8d94587d
+0,         26,         26,        1,   518400, 0x696fca01
+0,         27,         27,        1,   518400, 0xe0ab234b
+0,         28,         28,        1,   518400, 0x0620153b
+0,         29,         29,        1,   518400, 0xb78c146c
diff --git a/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full b/tests/ref/fate/h264-conformance-cabac_mot_picaff0_full
index 32210af..484025e 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,          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
+0,          0,          0,        1,   518400, 0xd8b58a23
+0,          1,          1,        1,   518400, 0xe53b4aba
+0,          2,          2,        1,   518400, 0x6cbca47a
+0,          3,          3,        1,   518400, 0xceb51253
+0,          4,          4,        1,   518400, 0x60cb3cdd
+0,          5,          5,        1,   518400, 0x7b633553
+0,          6,          6,        1,   518400, 0x10c012c9
+0,          7,          7,        1,   518400, 0xa340ee20
+0,          8,          8,        1,   518400, 0x574c22c2
+0,          9,          9,        1,   518400, 0xbcdb1bf7
+0,         10,         10,        1,   518400, 0x57811e9a
+0,         11,         11,        1,   518400, 0xdd4af748
+0,         12,         12,        1,   518400, 0xb931a637
+0,         13,         13,        1,   518400, 0xcef6ce95
+0,         14,         14,        1,   518400, 0xd28c7085
+0,         15,         15,        1,   518400, 0xae9daf53
+0,         16,         16,        1,   518400, 0xca29d819
+0,         17,         17,        1,   518400, 0x3c4bd7eb
+0,         18,         18,        1,   518400, 0x912ee227
+0,         19,         19,        1,   518400, 0xb67d0e27
+0,         20,         20,        1,   518400, 0x8cf7309d
+0,         21,         21,        1,   518400, 0x358ad344
+0,         22,         22,        1,   518400, 0x4462c642
+0,         23,         23,        1,   518400, 0x3bb43428
+0,         24,         24,        1,   518400, 0x12d6f8ca
+0,         25,         25,        1,   518400, 0x003f13aa
+0,         26,         26,        1,   518400, 0x6cd8c432
+0,         27,         27,        1,   518400, 0xee5ff01b
+0,         28,         28,        1,   518400, 0xba0616ee
+0,         29,         29,        1,   518400, 0x37fa7891
diff --git a/tests/ref/fate/h264-conformance-cabref3_sand_d b/tests/ref/fate/h264-conformance-cabref3_sand_d
index 247ac2e..9e555f6 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,          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
+0,          0,          0,        1,   152064, 0x2061bbd0
+0,          1,          1,        1,   152064, 0x41adb750
+0,          2,          2,        1,   152064, 0x6e889e90
+0,          3,          3,        1,   152064, 0xbb5e60f5
+0,          4,          4,        1,   152064, 0x5a32eca7
+0,          5,          5,        1,   152064, 0x5cb05e88
+0,          6,          6,        1,   152064, 0x2fff3e6c
+0,          7,          7,        1,   152064, 0xd917c85e
+0,          8,          8,        1,   152064, 0x6eac446f
+0,          9,          9,        1,   152064, 0x238b24b0
+0,         10,         10,        1,   152064, 0x3f3bd44c
+0,         11,         11,        1,   152064, 0x73982bc5
+0,         12,         12,        1,   152064, 0xf6188a82
+0,         13,         13,        1,   152064, 0x818c5b41
+0,         14,         14,        1,   152064, 0x000d1012
+0,         15,         15,        1,   152064, 0xc4a8750e
+0,         16,         16,        1,   152064, 0x1689bb77
+0,         17,         17,        1,   152064, 0x8f52f338
+0,         18,         18,        1,   152064, 0xbf5ee06b
+0,         19,         19,        1,   152064, 0x89508ad7
+0,         20,         20,        1,   152064, 0x2b1986a6
+0,         21,         21,        1,   152064, 0xe6fd6b0e
+0,         22,         22,        1,   152064, 0x883e2e4e
+0,         23,         23,        1,   152064, 0xd133db07
+0,         24,         24,        1,   152064, 0x39b3bb22
+0,         25,         25,        1,   152064, 0x8447410a
+0,         26,         26,        1,   152064, 0x9c66c6e5
+0,         27,         27,        1,   152064, 0x514de9cc
+0,         28,         28,        1,   152064, 0x08d9f1da
+0,         29,         29,        1,   152064, 0x8f10f536
+0,         30,         30,        1,   152064, 0x57d4b27b
+0,         31,         31,        1,   152064, 0x46f56d3c
+0,         32,         32,        1,   152064, 0x5d260230
+0,         33,         33,        1,   152064, 0x4a72aeac
+0,         34,         34,        1,   152064, 0x5cfe187f
+0,         35,         35,        1,   152064, 0x08e55cb2
+0,         36,         36,        1,   152064, 0x4727f34f
+0,         37,         37,        1,   152064, 0xd6a26f1c
+0,         38,         38,        1,   152064, 0xcc1fcf9c
+0,         39,         39,        1,   152064, 0x3681b775
+0,         40,         40,        1,   152064, 0xf580c7d9
+0,         41,         41,        1,   152064, 0xaa6747fb
+0,         42,         42,        1,   152064, 0x2e22f9f9
+0,         43,         43,        1,   152064, 0xb3ee6d81
+0,         44,         44,        1,   152064, 0x930b0145
+0,         45,         45,        1,   152064, 0xae36af99
+0,         46,         46,        1,   152064, 0xeb58fd26
+0,         47,         47,        1,   152064, 0xb9004da3
+0,         48,         48,        1,   152064, 0x2b25e444
+0,         49,         49,        1,   152064, 0xb36927de
diff --git a/tests/ref/fate/h264-conformance-cafi1_sva_c b/tests/ref/fate/h264-conformance-cafi1_sva_c
index 4be282c..180adf1 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,          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
+0,          0,          0,        1,   518400, 0x47bd73fa
+0,          1,          1,        1,   518400, 0xfe3ea7cc
+0,          2,          2,        1,   518400, 0x9bc549ae
+0,          3,          3,        1,   518400, 0x7bb7f0a1
+0,          4,          4,        1,   518400, 0x328903d4
+0,          5,          5,        1,   518400, 0x96ab366b
+0,          6,          6,        1,   518400, 0xa923eed3
+0,          7,          7,        1,   518400, 0x162b08f6
+0,          8,          8,        1,   518400, 0xe711bd8b
+0,          9,          9,        1,   518400, 0x55e2d4ed
+0,         10,         10,        1,   518400, 0x7dd3107b
+0,         11,         11,        1,   518400, 0x0ed20bcf
+0,         12,         12,        1,   518400, 0x352f5743
+0,         13,         13,        1,   518400, 0x0a3aeb5e
+0,         14,         14,        1,   518400, 0xc458eda3
+0,         15,         15,        1,   518400, 0xe8d5fec5
+0,         16,         16,        1,   518400, 0x18fc6c37
+0,         17,         17,        1,   518400, 0x448add76
+0,         18,         18,        1,   518400, 0x8741ead7
+0,         19,         19,        1,   518400, 0x7008a751
+0,         20,         20,        1,   518400, 0x4ca0633d
+0,         21,         21,        1,   518400, 0x021ab800
+0,         22,         22,        1,   518400, 0xfb91ba57
+0,         23,         23,        1,   518400, 0x90e71dd0
+0,         24,         24,        1,   518400, 0xac859de5
+0,         25,         25,        1,   518400, 0xce9790bd
+0,         26,         26,        1,   518400, 0x010ade8b
+0,         27,         27,        1,   518400, 0xd0b3a399
+0,         28,         28,        1,   518400, 0x6cafcff3
+0,         29,         29,        1,   518400, 0xc32284c0
+0,         30,         30,        1,   518400, 0x1af8f73e
+0,         31,         31,        1,   518400, 0x3babd71e
+0,         32,         32,        1,   518400, 0xd77cb86b
diff --git a/tests/ref/fate/h264-conformance-cama1_vtc_c b/tests/ref/fate/h264-conformance-cama1_vtc_c
index b4cc76e..eeb66b0 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,          1,          1,        1,   518400, 0x41c2ce17
-0,          2,          2,        1,   518400, 0x39f217da
-0,          3,          3,        1,   518400, 0x5a108db9
-0,          4,          4,        1,   518400, 0x20cb214c
+0,          0,          0,        1,   518400, 0x41c2ce17
+0,          1,          1,        1,   518400, 0x39f217da
+0,          2,          2,        1,   518400, 0x5a108db9
+0,          3,          3,        1,   518400, 0x20cb214c
diff --git a/tests/ref/fate/h264-conformance-cama2_vtc_b b/tests/ref/fate/h264-conformance-cama2_vtc_b
index 911f144..0dfe6a9 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,          1,          1,        1,   622080, 0x004bb93f
-0,          2,          2,        1,   622080, 0xe70e193c
-0,          3,          3,        1,   622080, 0xd394cf17
-0,          4,          4,        1,   622080, 0x9e4cc924
+0,          0,          0,        1,   622080, 0x004bb93f
+0,          1,          1,        1,   622080, 0xe70e193c
+0,          2,          2,        1,   622080, 0xd394cf17
+0,          3,          3,        1,   622080, 0x9e4cc924
diff --git a/tests/ref/fate/h264-conformance-cama3_vtc_b b/tests/ref/fate/h264-conformance-cama3_vtc_b
index 3d912bd..46821c1 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,          1,          1,        1,   622080, 0xf3f0bf86
-0,          2,          2,        1,   622080, 0x6aaf3d42
-0,          3,          3,        1,   622080, 0xe53bcd5d
-0,          4,          4,        1,   622080, 0x8dabca9d
+0,          0,          0,        1,   622080, 0xf3f0bf86
+0,          1,          1,        1,   622080, 0x6aaf3d42
+0,          2,          2,        1,   622080, 0xe53bcd5d
+0,          3,          3,        1,   622080, 0x8dabca9d
diff --git a/tests/ref/fate/h264-conformance-capa1_toshiba_b b/tests/ref/fate/h264-conformance-capa1_toshiba_b
index 0d721ac..a0336f8 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,          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
+0,          0,          0,        1,   152064, 0x4040d2fc
+0,          1,          1,        1,   152064, 0x0d8f9897
+0,          2,          2,        1,   152064, 0xc23321cd
+0,          3,          3,        1,   152064, 0x3c9225eb
+0,          4,          4,        1,   152064, 0x8927006f
+0,          5,          5,        1,   152064, 0xf706a302
+0,          6,          6,        1,   152064, 0x8219c106
+0,          7,          7,        1,   152064, 0x06c990ea
+0,          8,          8,        1,   152064, 0x3a0f1135
+0,          9,          9,        1,   152064, 0x4cff21d3
+0,         10,         10,        1,   152064, 0x6be0e050
+0,         11,         11,        1,   152064, 0x718b6c7b
+0,         12,         12,        1,   152064, 0x24b38713
+0,         13,         13,        1,   152064, 0x500553fb
+0,         14,         14,        1,   152064, 0x531ae610
+0,         15,         15,        1,   152064, 0x46f4ff1b
+0,         16,         16,        1,   152064, 0xe5abe5ff
+0,         17,         17,        1,   152064, 0x97daa351
+0,         18,         18,        1,   152064, 0xfbef0a8f
+0,         19,         19,        1,   152064, 0xbe76134f
+0,         20,         20,        1,   152064, 0xa4bf10ea
+0,         21,         21,        1,   152064, 0xb2fb32af
+0,         22,         22,        1,   152064, 0xd33027a5
+0,         23,         23,        1,   152064, 0x78e20c2b
+0,         24,         24,        1,   152064, 0xefda2d6f
+0,         25,         25,        1,   152064, 0xb99126f0
+0,         26,         26,        1,   152064, 0x89d7e465
+0,         27,         27,        1,   152064, 0x6150ff97
+0,         28,         28,        1,   152064, 0xde03d937
+0,         29,         29,        1,   152064, 0xd90ca874
+0,         30,         30,        1,   152064, 0xb120b294
+0,         31,         31,        1,   152064, 0x644eade4
+0,         32,         32,        1,   152064, 0xd1bb004f
+0,         33,         33,        1,   152064, 0x99806a8b
+0,         34,         34,        1,   152064, 0x8c6b635f
+0,         35,         35,        1,   152064, 0xa269fa8b
+0,         36,         36,        1,   152064, 0xc11c0e64
+0,         37,         37,        1,   152064, 0xac13f5eb
+0,         38,         38,        1,   152064, 0x895799cf
+0,         39,         39,        1,   152064, 0x95a9bea1
+0,         40,         40,        1,   152064, 0xe998dfba
+0,         41,         41,        1,   152064, 0xc72d8460
+0,         42,         42,        1,   152064, 0xd1cb9b9a
+0,         43,         43,        1,   152064, 0xb49aadd3
+0,         44,         44,        1,   152064, 0x8bc38547
+0,         45,         45,        1,   152064, 0x3485984b
+0,         46,         46,        1,   152064, 0xdf305c0a
+0,         47,         47,        1,   152064, 0x6a1ec990
+0,         48,         48,        1,   152064, 0x595e0de4
+0,         49,         49,        1,   152064, 0xe1baf7c4
+0,         50,         50,        1,   152064, 0xf08b9b47
+0,         51,         51,        1,   152064, 0x6532ba6f
+0,         52,         52,        1,   152064, 0x3de67da6
+0,         53,         53,        1,   152064, 0x439ffd04
+0,         54,         54,        1,   152064, 0x6e6c1e97
+0,         55,         55,        1,   152064, 0x8e5aee7a
+0,         56,         56,        1,   152064, 0xd634999a
+0,         57,         57,        1,   152064, 0xadfa9e8b
+0,         58,         58,        1,   152064, 0x1b9090f5
+0,         59,         59,        1,   152064, 0x29094dfc
+0,         60,         60,        1,   152064, 0x56748851
+0,         61,         61,        1,   152064, 0x2316719d
+0,         62,         62,        1,   152064, 0x2ee0060b
+0,         63,         63,        1,   152064, 0x3edb36d4
+0,         64,         64,        1,   152064, 0x9ef437a3
+0,         65,         65,        1,   152064, 0x8d9af72e
+0,         66,         66,        1,   152064, 0xab86389c
+0,         67,         67,        1,   152064, 0xd3b34576
+0,         68,         68,        1,   152064, 0x9e5b04f4
+0,         69,         69,        1,   152064, 0x6a164c17
+0,         70,         70,        1,   152064, 0xcecf20ab
+0,         71,         71,        1,   152064, 0x07c8e273
+0,         72,         72,        1,   152064, 0x9b46fe6a
+0,         73,         73,        1,   152064, 0xc1e8002b
+0,         74,         74,        1,   152064, 0xdebdbe53
+0,         75,         75,        1,   152064, 0x0d2dfd99
+0,         76,         76,        1,   152064, 0xe8ae925f
+0,         77,         77,        1,   152064, 0xe1fe6272
+0,         78,         78,        1,   152064, 0xbb74d5e6
+0,         79,         79,        1,   152064, 0xc7b5d949
+0,         80,         80,        1,   152064, 0x9b15b020
+0,         81,         81,        1,   152064, 0xc8201f44
+0,         82,         82,        1,   152064, 0x30d03303
+0,         83,         83,        1,   152064, 0x9f66fbc2
+0,         84,         84,        1,   152064, 0x482b71ec
+0,         85,         85,        1,   152064, 0x1c9e50bf
+0,         86,         86,        1,   152064, 0x89f247e4
+0,         87,         87,        1,   152064, 0xaa5f9141
+0,         88,         88,        1,   152064, 0xb816aa8c
+0,         89,         89,        1,   152064, 0x3112a619
diff --git a/tests/ref/fate/h264-conformance-capama3_sand_f b/tests/ref/fate/h264-conformance-capama3_sand_f
index 5a84688..b621b81 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,          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
+0,          0,          0,        1,   152064, 0xf772f152
+0,          1,          1,        1,   152064, 0xc416d300
+0,          2,          2,        1,   152064, 0xc2275c94
+0,          3,          3,        1,   152064, 0x1bd35645
+0,          4,          4,        1,   152064, 0x60327bf5
+0,          5,          5,        1,   152064, 0x7f5541bd
+0,          6,          6,        1,   152064, 0x52e5ebad
+0,          7,          7,        1,   152064, 0xb8e5c1f3
+0,          8,          8,        1,   152064, 0x2b4e3653
+0,          9,          9,        1,   152064, 0x9a8f8499
+0,         10,         10,        1,   152064, 0x32d4e9fb
+0,         11,         11,        1,   152064, 0x0bc73d7a
+0,         12,         12,        1,   152064, 0xb58a8b87
+0,         13,         13,        1,   152064, 0xddbc5468
+0,         14,         14,        1,   152064, 0xcfa30b64
+0,         15,         15,        1,   152064, 0xad411f36
+0,         16,         16,        1,   152064, 0x2f8c4d9b
+0,         17,         17,        1,   152064, 0xc8523359
+0,         18,         18,        1,   152064, 0x86be9861
+0,         19,         19,        1,   152064, 0x7518d731
+0,         20,         20,        1,   152064, 0x425fbfab
+0,         21,         21,        1,   152064, 0x4f00250d
+0,         22,         22,        1,   152064, 0x12b40617
+0,         23,         23,        1,   152064, 0x65ff925d
+0,         24,         24,        1,   152064, 0xc76a94c9
+0,         25,         25,        1,   152064, 0x640170d5
+0,         26,         26,        1,   152064, 0xd338a090
+0,         27,         27,        1,   152064, 0xce715174
+0,         28,         28,        1,   152064, 0x7bded195
+0,         29,         29,        1,   152064, 0x09e7d3b9
+0,         30,         30,        1,   152064, 0x651e1518
+0,         31,         31,        1,   152064, 0x03cadc5f
+0,         32,         32,        1,   152064, 0x08906919
+0,         33,         33,        1,   152064, 0x3303ebe0
+0,         34,         34,        1,   152064, 0xa28676c5
+0,         35,         35,        1,   152064, 0x3900ecaf
+0,         36,         36,        1,   152064, 0xeb795a05
+0,         37,         37,        1,   152064, 0x870034df
+0,         38,         38,        1,   152064, 0x69b0527a
+0,         39,         39,        1,   152064, 0xb2b314f9
+0,         40,         40,        1,   152064, 0x1a44ea1a
+0,         41,         41,        1,   152064, 0xe6eaec87
+0,         42,         42,        1,   152064, 0xd9ad818e
+0,         43,         43,        1,   152064, 0x9c7ff76e
+0,         44,         44,        1,   152064, 0x74c45abb
+0,         45,         45,        1,   152064, 0x2f4fa5c6
+0,         46,         46,        1,   152064, 0x19620702
+0,         47,         47,        1,   152064, 0xfc9601f3
+0,         48,         48,        1,   152064, 0x33e0d8e7
+0,         49,         49,        1,   152064, 0xdf7f2a80
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_fld0_full_b
index 71020d9..f80c3be 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,          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
+0,          0,          0,        1,   518400, 0x99d0df36
+0,          1,          1,        1,   518400, 0xa8601c1a
+0,          2,          2,        1,   518400, 0x4a17d235
+0,          3,          3,        1,   518400, 0x75f23abf
+0,          4,          4,        1,   518400, 0x746aad53
+0,          5,          5,        1,   518400, 0xb0b8913e
+0,          6,          6,        1,   518400, 0x60a27f57
+0,          7,          7,        1,   518400, 0xfa227f3e
+0,          8,          8,        1,   518400, 0x7a1e57c2
+0,          9,          9,        1,   518400, 0xcbbaa84f
+0,         10,         10,        1,   518400, 0xf9c1bd13
+0,         11,         11,        1,   518400, 0x9e80caaf
+0,         12,         12,        1,   518400, 0x14cc6928
+0,         13,         13,        1,   518400, 0xca0353ef
+0,         14,         14,        1,   518400, 0xcad65e5f
+0,         15,         15,        1,   518400, 0xd5bc47b3
+0,         16,         16,        1,   518400, 0xa9893d36
+0,         17,         17,        1,   518400, 0x69bd9085
+0,         18,         18,        1,   518400, 0xff33c476
+0,         19,         19,        1,   518400, 0x9538adf7
+0,         20,         20,        1,   518400, 0xd4ff3b62
+0,         21,         21,        1,   518400, 0x021a11fd
+0,         22,         22,        1,   518400, 0x293e6f9f
+0,         23,         23,        1,   518400, 0x5d38e4c3
+0,         24,         24,        1,   518400, 0xd1f4ad49
+0,         25,         25,        1,   518400, 0xf13dd946
+0,         26,         26,        1,   518400, 0x0359e9ff
+0,         27,         27,        1,   518400, 0xb61098ad
+0,         28,         28,        1,   518400, 0xa855b11c
+0,         29,         29,        1,   518400, 0x7fcf9343
diff --git a/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b b/tests/ref/fate/h264-conformance-cavlc_mot_picaff0_full_b
index 98b2461..ed5e02e 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,          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
+0,          0,          0,        1,   518400, 0xf6b83a0e
+0,          1,          1,        1,   518400, 0xc5e8b8ee
+0,          2,          2,        1,   518400, 0xb3bc6e43
+0,          3,          3,        1,   518400, 0x5b08dc73
+0,          4,          4,        1,   518400, 0x4a7f7690
+0,          5,          5,        1,   518400, 0x8a9f4275
+0,          6,          6,        1,   518400, 0xc7cb92fd
+0,          7,          7,        1,   518400, 0xc721e231
+0,          8,          8,        1,   518400, 0xfb31371b
+0,          9,          9,        1,   518400, 0xac57f5d9
+0,         10,         10,        1,   518400, 0x92b7debc
+0,         11,         11,        1,   518400, 0xfe3e533e
+0,         12,         12,        1,   518400, 0x1b3a7a72
+0,         13,         13,        1,   518400, 0x98df2d81
+0,         14,         14,        1,   518400, 0xe0ce9c52
+0,         15,         15,        1,   518400, 0x6a31166d
+0,         16,         16,        1,   518400, 0x64ffd4d2
+0,         17,         17,        1,   518400, 0x3ec062ef
+0,         18,         18,        1,   518400, 0x3480fae1
+0,         19,         19,        1,   518400, 0xa87ae4b7
+0,         20,         20,        1,   518400, 0xd301319f
+0,         21,         21,        1,   518400, 0xa9284989
+0,         22,         22,        1,   518400, 0x3de73b50
+0,         23,         23,        1,   518400, 0x30a79f84
+0,         24,         24,        1,   518400, 0x7d5152d4
+0,         25,         25,        1,   518400, 0x25514095
+0,         26,         26,        1,   518400, 0x1749a05f
+0,         27,         27,        1,   518400, 0x598139a7
+0,         28,         28,        1,   518400, 0x3cece862
+0,         29,         29,        1,   518400, 0xe1c27efe
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sony_d b/tests/ref/fate/h264-conformance-cvfi1_sony_d
index 0c82f32..195c7d6 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,          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
+0,          0,          0,        1,   518400, 0xd9444d71
+0,          1,          1,        1,   518400, 0x5d8928cd
+0,          2,          2,        1,   518400, 0xea5bc08b
+0,          3,          3,        1,   518400, 0xb4465d31
+0,          4,          4,        1,   518400, 0x983b5dbb
+0,          5,          5,        1,   518400, 0x54936746
+0,          6,          6,        1,   518400, 0x7ae38b02
+0,          7,          7,        1,   518400, 0xc2a0dd83
+0,          8,          8,        1,   518400, 0x61cac7a6
+0,          9,          9,        1,   518400, 0xb0038443
+0,         10,         10,        1,   518400, 0x16514296
+0,         11,         11,        1,   518400, 0xa68dd470
+0,         12,         12,        1,   518400, 0x2572f868
+0,         13,         13,        1,   518400, 0x770a3239
+0,         14,         14,        1,   518400, 0xdd04f6d2
+0,         15,         15,        1,   518400, 0xa5e5d01e
+0,         16,         16,        1,   518400, 0x5fe25c86
diff --git a/tests/ref/fate/h264-conformance-cvfi1_sva_c b/tests/ref/fate/h264-conformance-cvfi1_sva_c
index aa792f7..c19bc0d 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,          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
+0,          0,          0,        1,   518400, 0x8f022263
+0,          1,          1,        1,   518400, 0x02692654
+0,          2,          2,        1,   518400, 0x55eff579
+0,          3,          3,        1,   518400, 0x6c1bdf1d
+0,          4,          4,        1,   518400, 0xbbedf5e4
+0,          5,          5,        1,   518400, 0xb90d740d
+0,          6,          6,        1,   518400, 0x81300adb
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sony_h b/tests/ref/fate/h264-conformance-cvfi2_sony_h
index db78369..0914e22 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,          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
+0,          0,          0,        1,   518400, 0xd9444d71
+0,          1,          1,        1,   518400, 0x491faf75
+0,          2,          2,        1,   518400, 0xf8b4d15c
+0,          3,          3,        1,   518400, 0x99d9f60c
+0,          4,          4,        1,   518400, 0x46c17a6d
+0,          5,          5,        1,   518400, 0x30b9447d
+0,          6,          6,        1,   518400, 0x135d0c76
+0,          7,          7,        1,   518400, 0x1b831a3c
+0,          8,          8,        1,   518400, 0x5910def8
+0,          9,          9,        1,   518400, 0x8db90147
+0,         10,         10,        1,   518400, 0x6a2b79c7
+0,         11,         11,        1,   518400, 0xc8d302e5
+0,         12,         12,        1,   518400, 0x515bb024
+0,         13,         13,        1,   518400, 0xedf7836c
+0,         14,         14,        1,   518400, 0x7e247b9d
+0,         15,         15,        1,   518400, 0x10c9bb10
+0,         16,         16,        1,   518400, 0xe38e2807
diff --git a/tests/ref/fate/h264-conformance-cvfi2_sva_c b/tests/ref/fate/h264-conformance-cvfi2_sva_c
index 063ec13..7c3162a 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,          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
+0,          0,          0,        1,   518400, 0x4073cc0b
+0,          1,          1,        1,   518400, 0x5f599a48
+0,          2,          2,        1,   518400, 0xc6fe555a
+0,          3,          3,        1,   518400, 0xe63ac345
+0,          4,          4,        1,   518400, 0x9b4f0c5c
+0,          5,          5,        1,   518400, 0x98aaba2d
+0,          6,          6,        1,   518400, 0xd629bd09
+0,          7,          7,        1,   518400, 0xe9796c37
+0,          8,          8,        1,   518400, 0xba54d16e
+0,          9,          9,        1,   518400, 0xe396c3eb
+0,         10,         10,        1,   518400, 0x63ee4b81
+0,         11,         11,        1,   518400, 0x68ac6986
+0,         12,         12,        1,   518400, 0xe0d53000
diff --git a/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e b/tests/ref/fate/h264-conformance-cvmapaqp3_sony_e
index bf28356..094fc98 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,          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
+0,          0,          0,        1,   518400, 0x80dffda2
+0,          1,          1,        1,   518400, 0x9450183b
+0,          2,          2,        1,   518400, 0x85d429a7
+0,          3,          3,        1,   518400, 0xe1f3b686
+0,          4,          4,        1,   518400, 0x2180c761
+0,          5,          5,        1,   518400, 0x30269c7c
+0,          6,          6,        1,   518400, 0xe9aa575a
+0,          7,          7,        1,   518400, 0x7b815a0a
diff --git a/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b b/tests/ref/fate/h264-conformance-cvmp_mot_fld_l30_b
index 0670058..57fa2f7 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,          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
+0,          0,          0,        1,   518400, 0xe9c7643e
+0,          1,          1,        1,   518400, 0xba7456ec
+0,          2,          2,        1,   518400, 0xdeb96749
+0,          3,          3,        1,   518400, 0xa101a986
+0,          4,          4,        1,   518400, 0x3db7baa5
+0,          5,          5,        1,   518400, 0xf3dfcec7
+0,          6,          6,        1,   518400, 0x79b4f537
+0,          7,          7,        1,   518400, 0x9e64fe68
+0,          8,          8,        1,   518400, 0x0e810b53
+0,          9,          9,        1,   518400, 0x20baf3b8
+0,         10,         10,        1,   518400, 0x0a49d341
+0,         11,         11,        1,   518400, 0xa8304ab5
+0,         12,         12,        1,   518400, 0x2600e98f
+0,         13,         13,        1,   518400, 0x9253e3e8
+0,         14,         14,        1,   518400, 0xd6e12783
+0,         15,         15,        1,   518400, 0x6894fc79
+0,         16,         16,        1,   518400, 0xfb60d3e3
+0,         17,         17,        1,   518400, 0x523602be
+0,         18,         18,        1,   518400, 0x4979f409
+0,         19,         19,        1,   518400, 0x50d4e2ab
+0,         20,         20,        1,   518400, 0xa8c2140a
+0,         21,         21,        1,   518400, 0x45c0bc15
+0,         22,         22,        1,   518400, 0xaef78cab
+0,         23,         23,        1,   518400, 0xec539d02
+0,         24,         24,        1,   518400, 0x602585ea
+0,         25,         25,        1,   518400, 0xda263463
+0,         26,         26,        1,   518400, 0xa03d8922
+0,         27,         27,        1,   518400, 0x43ea1c1d
+0,         28,         28,        1,   518400, 0xb1e055a6
+0,         29,         29,        1,   518400, 0x6fff9398
diff --git a/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b b/tests/ref/fate/h264-conformance-cvmp_mot_frm_l31_b
index 7f66ba0..bc7e81e 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,          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
+0,          0,          0,        1,   518400, 0x7b2475e3
+0,          1,          1,        1,   518400, 0xda786a87
+0,          2,          2,        1,   518400, 0xb1dd8108
+0,          3,          3,        1,   518400, 0x760ed65d
+0,          4,          4,        1,   518400, 0x8632d20c
+0,          5,          5,        1,   518400, 0xdd81e625
+0,          6,          6,        1,   518400, 0x853f1c41
+0,          7,          7,        1,   518400, 0x20191585
+0,          8,          8,        1,   518400, 0x0367e357
+0,          9,          9,        1,   518400, 0x60521167
+0,         10,         10,        1,   518400, 0xa887d4cc
+0,         11,         11,        1,   518400, 0x9a450f9e
+0,         12,         12,        1,   518400, 0xe9620841
+0,         13,         13,        1,   518400, 0xb482fb0e
+0,         14,         14,        1,   518400, 0x7b79f670
+0,         15,         15,        1,   518400, 0x9d37f1d1
+0,         16,         16,        1,   518400, 0xe358d323
+0,         17,         17,        1,   518400, 0x62ade59c
+0,         18,         18,        1,   518400, 0xdd78da66
+0,         19,         19,        1,   518400, 0xd97b867b
+0,         20,         20,        1,   518400, 0x8a90cf8c
+0,         21,         21,        1,   518400, 0x9d386610
+0,         22,         22,        1,   518400, 0x2c590f46
+0,         23,         23,        1,   518400, 0x92662861
+0,         24,         24,        1,   518400, 0x6979f563
+0,         25,         25,        1,   518400, 0xdd0fa1b2
+0,         26,         26,        1,   518400, 0xccbf1c1c
+0,         27,         27,        1,   518400, 0x7e358112
+0,         28,         28,        1,   518400, 0xb7c0d89d
+0,         29,         29,        1,   518400, 0xc6b03973
diff --git a/tests/ref/fate/h264-conformance-cvnlfi1_sony_c b/tests/ref/fate/h264-conformance-cvnlfi1_sony_c
index d2a1e13..aa3c220 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,          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
+0,          0,          0,        1,   518400, 0x0fbb4e71
+0,          1,          1,        1,   518400, 0x4b816734
+0,          2,          2,        1,   518400, 0x0c350f19
+0,          3,          3,        1,   518400, 0xda049cb6
+0,          4,          4,        1,   518400, 0x1f3e7bb9
+0,          5,          5,        1,   518400, 0x995cbe66
+0,          6,          6,        1,   518400, 0x07f7e65c
+0,          7,          7,        1,   518400, 0xfcb7487f
+0,          8,          8,        1,   518400, 0xb080f48a
+0,          9,          9,        1,   518400, 0x3ef5b7e4
+0,         10,         10,        1,   518400, 0xa1518e1c
+0,         11,         11,        1,   518400, 0xb36f1cc9
+0,         12,         12,        1,   518400, 0x86ea48af
+0,         13,         13,        1,   518400, 0xe42373b7
+0,         14,         14,        1,   518400, 0xa8435828
+0,         15,         15,        1,   518400, 0xc942ea0e
+0,         16,         16,        1,   518400, 0xcc597514
diff --git a/tests/ref/fate/h264-conformance-cvnlfi2_sony_h b/tests/ref/fate/h264-conformance-cvnlfi2_sony_h
index 5c4022d..fe2e4d1 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,          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
+0,          0,          0,        1,   518400, 0x0fbb4e71
+0,          1,          1,        1,   518400, 0xc46bec04
+0,          2,          2,        1,   518400, 0xc50ffc1d
+0,          3,          3,        1,   518400, 0x684b07b7
+0,          4,          4,        1,   518400, 0xde799af0
+0,          5,          5,        1,   518400, 0xed497b27
+0,          6,          6,        1,   518400, 0x3e9d1e3a
+0,          7,          7,        1,   518400, 0x154d3c5c
+0,          8,          8,        1,   518400, 0x5257e37c
+0,          9,          9,        1,   518400, 0x6e15139a
+0,         10,         10,        1,   518400, 0x5dc39c59
+0,         11,         11,        1,   518400, 0xe1803100
+0,         12,         12,        1,   518400, 0xb4d4d535
+0,         13,         13,        1,   518400, 0x7a97a25d
+0,         14,         14,        1,   518400, 0xf86b8923
+0,         15,         15,        1,   518400, 0x3355be98
+0,         16,         16,        1,   518400, 0x8f555830
diff --git a/tests/ref/fate/h264-conformance-cvpa1_toshiba_b b/tests/ref/fate/h264-conformance-cvpa1_toshiba_b
index 0253e1a..fd0911b 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,          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
+0,          0,          0,        1,   152064, 0x128cd77a
+0,          1,          1,        1,   152064, 0x565b9fc1
+0,          2,          2,        1,   152064, 0xbe322679
+0,          3,          3,        1,   152064, 0x0ea4238f
+0,          4,          4,        1,   152064, 0x1e08fb3c
+0,          5,          5,        1,   152064, 0x6da3a93c
+0,          6,          6,        1,   152064, 0x75e5b181
+0,          7,          7,        1,   152064, 0xa0b39334
+0,          8,          8,        1,   152064, 0xa0d10d6d
+0,          9,          9,        1,   152064, 0x33842bcb
+0,         10,         10,        1,   152064, 0x9a74e1e4
+0,         11,         11,        1,   152064, 0xc2037244
+0,         12,         12,        1,   152064, 0x364b8ae4
+0,         13,         13,        1,   152064, 0x18c04971
+0,         14,         14,        1,   152064, 0x7234ecb5
+0,         15,         15,        1,   152064, 0x3719f8bc
+0,         16,         16,        1,   152064, 0x1285ead1
+0,         17,         17,        1,   152064, 0xd3bfab18
+0,         18,         18,        1,   152064, 0x898111e2
+0,         19,         19,        1,   152064, 0x681c15fc
+0,         20,         20,        1,   152064, 0x8e501572
+0,         21,         21,        1,   152064, 0xd7c838be
+0,         22,         22,        1,   152064, 0xede424b2
+0,         23,         23,        1,   152064, 0xcfc20240
+0,         24,         24,        1,   152064, 0x13992e86
+0,         25,         25,        1,   152064, 0x56fb251a
+0,         26,         26,        1,   152064, 0xee9be320
+0,         27,         27,        1,   152064, 0xea650153
+0,         28,         28,        1,   152064, 0x2cb6dabe
+0,         29,         29,        1,   152064, 0xf44fa4b5
+0,         30,         30,        1,   152064, 0xdac2adff
+0,         31,         31,        1,   152064, 0x9e15a1dc
+0,         32,         32,        1,   152064, 0x28d00970
+0,         33,         33,        1,   152064, 0xe4277347
+0,         34,         34,        1,   152064, 0xebd25ad1
+0,         35,         35,        1,   152064, 0x029402da
+0,         36,         36,        1,   152064, 0x1a2311ef
+0,         37,         37,        1,   152064, 0xb86bf96a
+0,         38,         38,        1,   152064, 0x67d7a5b0
+0,         39,         39,        1,   152064, 0x573abc2d
+0,         40,         40,        1,   152064, 0xbe97dec0
+0,         41,         41,        1,   152064, 0x592b91a4
+0,         42,         42,        1,   152064, 0x9adda65e
+0,         43,         43,        1,   152064, 0x0354b2cb
+0,         44,         44,        1,   152064, 0x91e27ff9
+0,         45,         45,        1,   152064, 0x389f8625
+0,         46,         46,        1,   152064, 0x90175850
+0,         47,         47,        1,   152064, 0x2d36c427
+0,         48,         48,        1,   152064, 0xc0dd14ab
+0,         49,         49,        1,   152064, 0xd49bf131
+0,         50,         50,        1,   152064, 0x0d4a9b92
+0,         51,         51,        1,   152064, 0xae9bb2f1
+0,         52,         52,        1,   152064, 0x36847ade
+0,         53,         53,        1,   152064, 0x74810382
+0,         54,         54,        1,   152064, 0xc56d1d9f
+0,         55,         55,        1,   152064, 0xcfefe3ae
+0,         56,         56,        1,   152064, 0xeaa39353
+0,         57,         57,        1,   152064, 0x14289aef
+0,         58,         58,        1,   152064, 0x74ba8f3b
+0,         59,         59,        1,   152064, 0xdcaa518d
+0,         60,         60,        1,   152064, 0x6e4881c2
+0,         61,         61,        1,   152064, 0xa4db767d
+0,         62,         62,        1,   152064, 0x239b0b19
+0,         63,         63,        1,   152064, 0x5d054236
+0,         64,         64,        1,   152064, 0x6f392d7c
+0,         65,         65,        1,   152064, 0x5c2af146
+0,         66,         66,        1,   152064, 0x26b439af
+0,         67,         67,        1,   152064, 0xba7043ab
+0,         68,         68,        1,   152064, 0x0816000c
+0,         69,         69,        1,   152064, 0x3a713c05
+0,         70,         70,        1,   152064, 0xb3111f6d
+0,         71,         71,        1,   152064, 0xdbf8dae2
+0,         72,         72,        1,   152064, 0x09ddf22e
+0,         73,         73,        1,   152064, 0x8871fa7e
+0,         74,         74,        1,   152064, 0x9f5db7a1
+0,         75,         75,        1,   152064, 0xcc38f225
+0,         76,         76,        1,   152064, 0xa1d18df9
+0,         77,         77,        1,   152064, 0x9b1c5d6a
+0,         78,         78,        1,   152064, 0x9f2bc696
+0,         79,         79,        1,   152064, 0xc39bd11a
+0,         80,         80,        1,   152064, 0x4ceca7d0
+0,         81,         81,        1,   152064, 0x63a60f1d
+0,         82,         82,        1,   152064, 0x4cd31f28
+0,         83,         83,        1,   152064, 0x9c9af5d1
+0,         84,         84,        1,   152064, 0x6def65fc
+0,         85,         85,        1,   152064, 0x1011466d
+0,         86,         86,        1,   152064, 0xfeca406d
+0,         87,         87,        1,   152064, 0xd1ca8a1e
+0,         88,         88,        1,   152064, 0x30caa195
+0,         89,         89,        1,   152064, 0x31a09a48
diff --git a/tests/ref/fate/h264-conformance-fi1_sony_e b/tests/ref/fate/h264-conformance-fi1_sony_e
index 2e675b9..6b5e0db 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,          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
+0,          0,          0,        1,    36864, 0x3d54d3e3
+0,          1,          1,        1,    36864, 0xa9573ef0
+0,          2,          2,        1,    36864, 0x0ea5f263
+0,          3,          3,        1,    36864, 0x5a849fb9
+0,          4,          4,        1,    36864, 0x7ddb1eff
+0,          5,          5,        1,    36864, 0x5e73e3b7
+0,          6,          6,        1,    36864, 0x7d50d329
+0,          7,          7,        1,    36864, 0xf2c2cd27
+0,          8,          8,        1,    36864, 0xdf4f4628
+0,          9,          9,        1,    36864, 0xddd6d5be
+0,         10,         10,        1,    36864, 0xb530e1aa
+0,         11,         11,        1,    36864, 0xeca42470
+0,         12,         12,        1,    36864, 0xa5701caf
+0,         13,         13,        1,    36864, 0x6f5d28fc
+0,         14,         14,        1,    36864, 0xd4ab4ab2
+0,         15,         15,        1,    36864, 0xf2dfcc22
+0,         16,         16,        1,    36864, 0xcaa87e79
diff --git a/tests/ref/fate/h264-conformance-frext-bcrm_freh10 b/tests/ref/fate/h264-conformance-frext-bcrm_freh10
index 351d2b7..272a4aa 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,          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
+0,          0,          0,        1,   152064, 0xbdc2b880
+0,          1,          1,        1,   152064, 0x4ebf93fe
+0,          2,          2,        1,   152064, 0xe30d6871
+0,          3,          3,        1,   152064, 0x04f46b9b
+0,          4,          4,        1,   152064, 0xd7dd219a
+0,          5,          5,        1,   152064, 0x02fc6511
+0,          6,          6,        1,   152064, 0x98868faa
+0,          7,          7,        1,   152064, 0x54b94f92
+0,          8,          8,        1,   152064, 0xe3b6be4b
+0,          9,          9,        1,   152064, 0xf148cf10
+0,         10,         10,        1,   152064, 0xda3239b8
+0,         11,         11,        1,   152064, 0x6c5d7331
+0,         12,         12,        1,   152064, 0x825f1fea
+0,         13,         13,        1,   152064, 0x47791056
+0,         14,         14,        1,   152064, 0xc08e8a58
+0,         15,         15,        1,   152064, 0x020299f3
+0,         16,         16,        1,   152064, 0x0dfd4457
+0,         17,         17,        1,   152064, 0xcf005e68
+0,         18,         18,        1,   152064, 0x1f9e2c32
+0,         19,         19,        1,   152064, 0xa8359324
+0,         20,         20,        1,   152064, 0x4b03752d
+0,         21,         21,        1,   152064, 0xd6281621
+0,         22,         22,        1,   152064, 0xc97ac928
+0,         23,         23,        1,   152064, 0xded90dcd
+0,         24,         24,        1,   152064, 0xd6883255
+0,         25,         25,        1,   152064, 0x6edb4d4f
+0,         26,         26,        1,   152064, 0xd6f93a80
+0,         27,         27,        1,   152064, 0x163d6153
+0,         28,         28,        1,   152064, 0x04b90c06
+0,         29,         29,        1,   152064, 0xee8730c1
+0,         30,         30,        1,   152064, 0xd5f5c669
+0,         31,         31,        1,   152064, 0xcc600b1f
+0,         32,         32,        1,   152064, 0x15ddde03
+0,         33,         33,        1,   152064, 0xd0388dd0
+0,         34,         34,        1,   152064, 0xa292ab7d
+0,         35,         35,        1,   152064, 0xacf584e9
+0,         36,         36,        1,   152064, 0xcef42714
+0,         37,         37,        1,   152064, 0xeb162f35
+0,         38,         38,        1,   152064, 0x0a07de7b
+0,         39,         39,        1,   152064, 0x7ae76c81
+0,         40,         40,        1,   152064, 0x139c8fda
+0,         41,         41,        1,   152064, 0x43724411
+0,         42,         42,        1,   152064, 0x07b2ddea
+0,         43,         43,        1,   152064, 0x831a1cc7
+0,         44,         44,        1,   152064, 0x092f5073
+0,         45,         45,        1,   152064, 0xe5b6d380
+0,         46,         46,        1,   152064, 0xdd30d69e
+0,         47,         47,        1,   152064, 0x887020b2
+0,         48,         48,        1,   152064, 0x84436510
+0,         49,         49,        1,   152064, 0x49f63606
+0,         50,         50,        1,   152064, 0x6b96e959
+0,         51,         51,        1,   152064, 0xc6247cc7
+0,         52,         52,        1,   152064, 0x7a67c532
+0,         53,         53,        1,   152064, 0x93f4c476
+0,         54,         54,        1,   152064, 0x3c119654
+0,         55,         55,        1,   152064, 0xa45f7c72
+0,         56,         56,        1,   152064, 0x2ac50cb0
+0,         57,         57,        1,   152064, 0x9bf16d06
+0,         58,         58,        1,   152064, 0xfa0750d9
+0,         59,         59,        1,   152064, 0x02197630
+0,         60,         60,        1,   152064, 0x6d44f9b5
+0,         61,         61,        1,   152064, 0x86b211f5
+0,         62,         62,        1,   152064, 0xf4fda5d0
+0,         63,         63,        1,   152064, 0x36f840a7
+0,         64,         64,        1,   152064, 0x42412992
+0,         65,         65,        1,   152064, 0xd0c9ba37
+0,         66,         66,        1,   152064, 0xc40eba62
+0,         67,         67,        1,   152064, 0x2d093b53
+0,         68,         68,        1,   152064, 0xee39c69c
+0,         69,         69,        1,   152064, 0xcbbf8968
+0,         70,         70,        1,   152064, 0xfddc1704
+0,         71,         71,        1,   152064, 0x8dc47c61
+0,         72,         72,        1,   152064, 0xf15580bf
+0,         73,         73,        1,   152064, 0x9c71a8b0
+0,         74,         74,        1,   152064, 0x19b90b9f
+0,         75,         75,        1,   152064, 0xb65ae287
+0,         76,         76,        1,   152064, 0xf265693d
+0,         77,         77,        1,   152064, 0x721714a1
+0,         78,         78,        1,   152064, 0x383e8ac5
+0,         79,         79,        1,   152064, 0x02558677
+0,         80,         80,        1,   152064, 0xdaab3cdf
+0,         81,         81,        1,   152064, 0xc939a2f6
+0,         82,         82,        1,   152064, 0x977afa7f
+0,         83,         83,        1,   152064, 0xe5e65f35
+0,         84,         84,        1,   152064, 0x247546fa
+0,         85,         85,        1,   152064, 0x49ff2094
+0,         86,         86,        1,   152064, 0x9fd58cda
+0,         87,         87,        1,   152064, 0x3e31b6e3
+0,         88,         88,        1,   152064, 0x75c6d796
+0,         89,         89,        1,   152064, 0x4ab3e7bb
+0,         90,         90,        1,   152064, 0x393935ea
+0,         91,         91,        1,   152064, 0xc8e62905
+0,         92,         92,        1,   152064, 0xbb149e61
+0,         93,         93,        1,   152064, 0x2553c4c5
+0,         94,         94,        1,   152064, 0x7f82a8b4
+0,         95,         95,        1,   152064, 0x26ef31e6
+0,         96,         96,        1,   152064, 0xf029744a
+0,         97,         97,        1,   152064, 0x0a6f191a
+0,         98,         98,        1,   152064, 0x55808643
+0,         99,         99,        1,   152064, 0x27576172
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh11 b/tests/ref/fate/h264-conformance-frext-brcm_freh11
index c3c2975..3183c4d 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,          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
+0,          0,          0,        1,   152064, 0x9744ac59
+0,          1,          1,        1,   152064, 0x3eba88bf
+0,          2,          2,        1,   152064, 0xd4105c5a
+0,          3,          3,        1,   152064, 0x452966a3
+0,          4,          4,        1,   152064, 0x30071add
+0,          5,          5,        1,   152064, 0x0eb75245
+0,          6,          6,        1,   152064, 0x4daa80fa
+0,          7,          7,        1,   152064, 0xf53a43a1
+0,          8,          8,        1,   152064, 0xa55ab43d
+0,          9,          9,        1,   152064, 0x915ec82e
+0,         10,         10,        1,   152064, 0xadce2f9a
+0,         11,         11,        1,   152064, 0xf7a25715
+0,         12,         12,        1,   152064, 0x90c91c7d
+0,         13,         13,        1,   152064, 0x4f0df4ef
+0,         14,         14,        1,   152064, 0xf6e0783c
+0,         15,         15,        1,   152064, 0x417c8ca8
+0,         16,         16,        1,   152064, 0xd33d29d8
+0,         17,         17,        1,   152064, 0xc9723fa3
+0,         18,         18,        1,   152064, 0x3e4f22f4
+0,         19,         19,        1,   152064, 0xd5aa7bd8
+0,         20,         20,        1,   152064, 0x2a425b54
+0,         21,         21,        1,   152064, 0x2d400788
+0,         22,         22,        1,   152064, 0x12fab3a4
+0,         23,         23,        1,   152064, 0x5544f881
+0,         24,         24,        1,   152064, 0xd0612cc5
+0,         25,         25,        1,   152064, 0x157b3654
+0,         26,         26,        1,   152064, 0x04b61fe0
+0,         27,         27,        1,   152064, 0x897d600a
+0,         28,         28,        1,   152064, 0x0d94fa29
+0,         29,         29,        1,   152064, 0xc0fe249d
+0,         30,         30,        1,   152064, 0x65abc1d6
+0,         31,         31,        1,   152064, 0x2bd5f09d
+0,         32,         32,        1,   152064, 0xd3eebd28
+0,         33,         33,        1,   152064, 0x93458649
+0,         34,         34,        1,   152064, 0x55e793a6
+0,         35,         35,        1,   152064, 0x9fc378ce
+0,         36,         36,        1,   152064, 0x24c32731
+0,         37,         37,        1,   152064, 0x3c321c50
+0,         38,         38,        1,   152064, 0xcef3ca8b
+0,         39,         39,        1,   152064, 0x97116676
+0,         40,         40,        1,   152064, 0x73ae78f6
+0,         41,         41,        1,   152064, 0xdeec219e
+0,         42,         42,        1,   152064, 0xc061d584
+0,         43,         43,        1,   152064, 0xcf47f6c9
+0,         44,         44,        1,   152064, 0x280d3a2d
+0,         45,         45,        1,   152064, 0xb660c846
+0,         46,         46,        1,   152064, 0xe167c588
+0,         47,         47,        1,   152064, 0x08f808de
+0,         48,         48,        1,   152064, 0x9de65c0b
+0,         49,         49,        1,   152064, 0xc52a1937
+0,         50,         50,        1,   152064, 0xf5a4d86f
+0,         51,         51,        1,   152064, 0xbef86d37
+0,         52,         52,        1,   152064, 0xa227b21b
+0,         53,         53,        1,   152064, 0x0601ad35
+0,         54,         54,        1,   152064, 0x15198730
+0,         55,         55,        1,   152064, 0x9af764c6
+0,         56,         56,        1,   152064, 0x1a95e99a
+0,         57,         57,        1,   152064, 0x6bef5aa8
+0,         58,         58,        1,   152064, 0x92f03267
+0,         59,         59,        1,   152064, 0x0a3d56cb
+0,         60,         60,        1,   152064, 0xd9c9f62e
+0,         61,         61,        1,   152064, 0xcd81ea16
+0,         62,         62,        1,   152064, 0x8ed789c0
+0,         63,         63,        1,   152064, 0x5a5e356f
+0,         64,         64,        1,   152064, 0x2f260ebf
+0,         65,         65,        1,   152064, 0xa0379c89
+0,         66,         66,        1,   152064, 0x100cb40c
+0,         67,         67,        1,   152064, 0xaad2220a
+0,         68,         68,        1,   152064, 0xec82aa8d
+0,         69,         69,        1,   152064, 0x91088303
+0,         70,         70,        1,   152064, 0x0cce0e9e
+0,         71,         71,        1,   152064, 0xf3bc716a
+0,         72,         72,        1,   152064, 0x989879c5
+0,         73,         73,        1,   152064, 0x491297a0
+0,         74,         74,        1,   152064, 0xdc16f30d
+0,         75,         75,        1,   152064, 0xb9bfdd57
+0,         76,         76,        1,   152064, 0x5fba59c2
+0,         77,         77,        1,   152064, 0x89c40529
+0,         78,         78,        1,   152064, 0x1b3e7b54
+0,         79,         79,        1,   152064, 0x5d0d7903
+0,         80,         80,        1,   152064, 0x2e3434e1
+0,         81,         81,        1,   152064, 0x1f47a276
+0,         82,         82,        1,   152064, 0xa22de2b1
+0,         83,         83,        1,   152064, 0x77344844
+0,         84,         84,        1,   152064, 0x6a6b3fce
+0,         85,         85,        1,   152064, 0x82660651
+0,         86,         86,        1,   152064, 0x51e67cc9
+0,         87,         87,        1,   152064, 0xb790ae51
+0,         88,         88,        1,   152064, 0x906bc6b6
+0,         89,         89,        1,   152064, 0x55c5dc21
+0,         90,         90,        1,   152064, 0xb51f3004
+0,         91,         91,        1,   152064, 0x68500a25
+0,         92,         92,        1,   152064, 0x5dbc812e
+0,         93,         93,        1,   152064, 0x895eb6ed
+0,         94,         94,        1,   152064, 0x2f5594fc
+0,         95,         95,        1,   152064, 0x04a222a9
+0,         96,         96,        1,   152064, 0x90036f6a
+0,         97,         97,        1,   152064, 0x8b8b064c
+0,         98,         98,        1,   152064, 0xd47c7334
+0,         99,         99,        1,   152064, 0x13f06213
diff --git a/tests/ref/fate/h264-conformance-frext-brcm_freh4 b/tests/ref/fate/h264-conformance-frext-brcm_freh4
index 04c05ac..ad3a3ec 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,          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
+0,          0,          0,        1,   152064, 0x9744ac59
+0,          1,          1,        1,   152064, 0xe1c69d97
+0,          2,          2,        1,   152064, 0x9ae85f93
+0,          3,          3,        1,   152064, 0x452966a3
+0,          4,          4,        1,   152064, 0xe8192823
+0,          5,          5,        1,   152064, 0x58b764eb
+0,          6,          6,        1,   152064, 0x51b686b1
+0,          7,          7,        1,   152064, 0x4bca5822
+0,          8,          8,        1,   152064, 0x29abc41c
+0,          9,          9,        1,   152064, 0x850ec94f
+0,         10,         10,        1,   152064, 0xac2c34f8
+0,         11,         11,        1,   152064, 0x080c6e67
+0,         12,         12,        1,   152064, 0x5e4e14d2
+0,         13,         13,        1,   152064, 0x978b054c
+0,         14,         14,        1,   152064, 0x861d8c3c
+0,         15,         15,        1,   152064, 0xe0818918
+0,         16,         16,        1,   152064, 0x8b834511
+0,         17,         17,        1,   152064, 0x223f567c
+0,         18,         18,        1,   152064, 0x6d61298d
+0,         19,         19,        1,   152064, 0xfe30826e
+0,         20,         20,        1,   152064, 0x4bad4f98
+0,         21,         21,        1,   152064, 0x69d5fdca
+0,         22,         22,        1,   152064, 0xe45bba1b
+0,         23,         23,        1,   152064, 0xa6d81298
+0,         24,         24,        1,   152064, 0x7f3f2c91
+0,         25,         25,        1,   152064, 0x658754b9
+0,         26,         26,        1,   152064, 0x2c6d3eba
+0,         27,         27,        1,   152064, 0x4500600c
+0,         28,         28,        1,   152064, 0xa745f74b
+0,         29,         29,        1,   152064, 0x2bf21fca
+0,         30,         30,        1,   152064, 0x08b8bdb3
+0,         31,         31,        1,   152064, 0x5a9d0a8b
+0,         32,         32,        1,   152064, 0x3a57d523
+0,         33,         33,        1,   152064, 0x3606826e
+0,         34,         34,        1,   152064, 0x3b91a8fb
+0,         35,         35,        1,   152064, 0x37c28959
+0,         36,         36,        1,   152064, 0xb51d1e75
+0,         37,         37,        1,   152064, 0x13be3f58
+0,         38,         38,        1,   152064, 0x0ed0e7cf
+0,         39,         39,        1,   152064, 0x298560d4
+0,         40,         40,        1,   152064, 0x62b68373
+0,         41,         41,        1,   152064, 0xf8bb4520
+0,         42,         42,        1,   152064, 0x90dfd6af
+0,         43,         43,        1,   152064, 0xf4770d20
+0,         44,         44,        1,   152064, 0x0d9549a0
+0,         45,         45,        1,   152064, 0x004eccb1
+0,         46,         46,        1,   152064, 0x3146d46b
+0,         47,         47,        1,   152064, 0x078d1808
+0,         48,         48,        1,   152064, 0x5d8d60cd
+0,         49,         49,        1,   152064, 0x8ff52dd8
+0,         50,         50,        1,   152064, 0x5aa3ccf7
+0,         51,         51,        1,   152064, 0x5bec6c39
+0,         52,         52,        1,   152064, 0xd44cae9d
+0,         53,         53,        1,   152064, 0xa1b0a151
+0,         54,         54,        1,   152064, 0xe3be7bb2
+0,         55,         55,        1,   152064, 0x50096775
+0,         56,         56,        1,   152064, 0xdffff851
+0,         57,         57,        1,   152064, 0x1d7250eb
+0,         58,         58,        1,   152064, 0x69663ca7
+0,         59,         59,        1,   152064, 0x62f77fc7
+0,         60,         60,        1,   152064, 0xbab8f471
+0,         61,         61,        1,   152064, 0x6af31785
+0,         62,         62,        1,   152064, 0xcbb2a9aa
+0,         63,         63,        1,   152064, 0xc57c32b9
+0,         64,         64,        1,   152064, 0xecbe2ce0
+0,         65,         65,        1,   152064, 0x2fbebf81
+0,         66,         66,        1,   152064, 0xa168af68
+0,         67,         67,        1,   152064, 0x1e5631ac
+0,         68,         68,        1,   152064, 0xe69fc927
+0,         69,         69,        1,   152064, 0x8e5c81d8
+0,         70,         70,        1,   152064, 0x42402010
+0,         71,         71,        1,   152064, 0xd7267482
+0,         72,         72,        1,   152064, 0x64b280df
+0,         73,         73,        1,   152064, 0xc4cbafcc
+0,         74,         74,        1,   152064, 0xcf2f1e8b
+0,         75,         75,        1,   152064, 0x4d6fdb3f
+0,         76,         76,        1,   152064, 0xf22d6fed
+0,         77,         77,        1,   152064, 0x625b167c
+0,         78,         78,        1,   152064, 0x41348089
+0,         79,         79,        1,   152064, 0x6db2779b
+0,         80,         80,        1,   152064, 0xe87030a8
+0,         81,         81,        1,   152064, 0x91b29cdd
+0,         82,         82,        1,   152064, 0xe824f242
+0,         83,         83,        1,   152064, 0xac995380
+0,         84,         84,        1,   152064, 0x7efe361b
+0,         85,         85,        1,   152064, 0xe10c0c26
+0,         86,         86,        1,   152064, 0x93108260
+0,         87,         87,        1,   152064, 0xbf4caed7
+0,         88,         88,        1,   152064, 0xb6a4d826
+0,         89,         89,        1,   152064, 0x78beea4e
+0,         90,         90,        1,   152064, 0xdf612df9
+0,         91,         91,        1,   152064, 0xa9ef2830
+0,         92,         92,        1,   152064, 0x06448895
+0,         93,         93,        1,   152064, 0x332eb6d5
+0,         94,         94,        1,   152064, 0x935ba2c5
+0,         95,         95,        1,   152064, 0x62a22656
+0,         96,         96,        1,   152064, 0x06a670a7
+0,         97,         97,        1,   152064, 0xf60b1af0
+0,         98,         98,        1,   152064, 0x85177c10
+0,         99,         99,        1,   152064, 0x5e4e5c4b
diff --git a/tests/ref/fate/h264-conformance-frext-freh6 b/tests/ref/fate/h264-conformance-frext-freh6
index 2fb085e..c769038 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,          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
+0,          0,          0,        1,   152064, 0x3b21d6cd
+0,          1,          1,        1,   152064, 0xc32088c6
+0,          2,          2,        1,   152064, 0x65a64cee
+0,          3,          3,        1,   152064, 0x0bd45a5b
+0,          4,          4,        1,   152064, 0xb2210d4d
+0,          5,          5,        1,   152064, 0xf5b15527
+0,          6,          6,        1,   152064, 0x806572ad
+0,          7,          7,        1,   152064, 0x6ecb1fc8
+0,          8,          8,        1,   152064, 0xc25e96d5
+0,          9,          9,        1,   152064, 0x5593b825
+0,         10,         10,        1,   152064, 0xf3be1cff
+0,         11,         11,        1,   152064, 0xa9155072
+0,         12,         12,        1,   152064, 0xd5552e26
+0,         13,         13,        1,   152064, 0x7bf0dbee
+0,         14,         14,        1,   152064, 0x998b4911
+0,         15,         15,        1,   152064, 0xcc71bbe0
+0,         16,         16,        1,   152064, 0x602415b8
+0,         17,         17,        1,   152064, 0xcfff37cf
+0,         18,         18,        1,   152064, 0x7cf824a8
+0,         19,         19,        1,   152064, 0x34816ee5
+0,         20,         20,        1,   152064, 0x1480540c
+0,         21,         21,        1,   152064, 0xc2351aaf
+0,         22,         22,        1,   152064, 0x3b8eac9f
+0,         23,         23,        1,   152064, 0x92a8faf8
+0,         24,         24,        1,   152064, 0x7b6121c8
+0,         25,         25,        1,   152064, 0xe73a3bac
+0,         26,         26,        1,   152064, 0xcd6e1e36
+0,         27,         27,        1,   152064, 0xb24660b1
+0,         28,         28,        1,   152064, 0xa290ec25
+0,         29,         29,        1,   152064, 0x308915ff
+0,         30,         30,        1,   152064, 0x1e8dd4db
+0,         31,         31,        1,   152064, 0x1372f2e0
+0,         32,         32,        1,   152064, 0xa07cc1d0
+0,         33,         33,        1,   152064, 0x34bb872c
+0,         34,         34,        1,   152064, 0x59e6a565
+0,         35,         35,        1,   152064, 0x9a097932
+0,         36,         36,        1,   152064, 0x938f2e20
+0,         37,         37,        1,   152064, 0x59a8157d
+0,         38,         38,        1,   152064, 0x5cacd404
+0,         39,         39,        1,   152064, 0xdad068f5
+0,         40,         40,        1,   152064, 0x7ba67d47
+0,         41,         41,        1,   152064, 0xc2a11e2d
+0,         42,         42,        1,   152064, 0xd37fdef7
+0,         43,         43,        1,   152064, 0x19a3f80a
+0,         44,         44,        1,   152064, 0x7ec7426a
+0,         45,         45,        1,   152064, 0x8ffedb61
+0,         46,         46,        1,   152064, 0x82aebdd0
+0,         47,         47,        1,   152064, 0xdfc920cc
+0,         48,         48,        1,   152064, 0x2a467698
+0,         49,         49,        1,   152064, 0xd08a37d5
+0,         50,         50,        1,   152064, 0xe606e66a
+0,         51,         51,        1,   152064, 0x0e7b8bd8
+0,         52,         52,        1,   152064, 0xf983c732
+0,         53,         53,        1,   152064, 0x9b82c2e7
+0,         54,         54,        1,   152064, 0xa990a47e
+0,         55,         55,        1,   152064, 0x2d5679f1
+0,         56,         56,        1,   152064, 0x7f1c0201
+0,         57,         57,        1,   152064, 0xc38b709d
+0,         58,         58,        1,   152064, 0x040246d8
+0,         59,         59,        1,   152064, 0xbc856021
+0,         60,         60,        1,   152064, 0x81e01a78
+0,         61,         61,        1,   152064, 0xaff1e7f1
+0,         62,         62,        1,   152064, 0x1fee7715
+0,         63,         63,        1,   152064, 0x65053711
+0,         64,         64,        1,   152064, 0x238a0118
+0,         65,         65,        1,   152064, 0x563491b4
+0,         66,         66,        1,   152064, 0x5974a6cc
+0,         67,         67,        1,   152064, 0xd8682c35
+0,         68,         68,        1,   152064, 0x85c49e96
+0,         69,         69,        1,   152064, 0x29486faa
+0,         70,         70,        1,   152064, 0x1a4f0579
+0,         71,         71,        1,   152064, 0x6ab86c2f
+0,         72,         72,        1,   152064, 0x36a36d2b
+0,         73,         73,        1,   152064, 0x3bd77543
+0,         74,         74,        1,   152064, 0x8fbddc41
+0,         75,         75,        1,   152064, 0xccc6e0a5
+0,         76,         76,        1,   152064, 0x00a9539e
+0,         77,         77,        1,   152064, 0x07ba0714
+0,         78,         78,        1,   152064, 0xbab2735d
+0,         79,         79,        1,   152064, 0x79cb5ba0
+0,         80,         80,        1,   152064, 0xdbcc1c92
+0,         81,         81,        1,   152064, 0xffec952c
+0,         82,         82,        1,   152064, 0xc31ac68e
+0,         83,         83,        1,   152064, 0x24293eb9
+0,         84,         84,        1,   152064, 0x7b9b2cb4
+0,         85,         85,        1,   152064, 0x9dd4fe95
+0,         86,         86,        1,   152064, 0xb62e8baf
+0,         87,         87,        1,   152064, 0x9fefc174
+0,         88,         88,        1,   152064, 0xe027c24e
+0,         89,         89,        1,   152064, 0xe38adc70
+0,         90,         90,        1,   152064, 0xc7bf536f
+0,         91,         91,        1,   152064, 0x4448f330
+0,         92,         92,        1,   152064, 0x4dad5339
+0,         93,         93,        1,   152064, 0x48fbab15
+0,         94,         94,        1,   152064, 0xe6c97b2c
+0,         95,         95,        1,   152064, 0x3c3829ee
+0,         96,         96,        1,   152064, 0x927772c0
+0,         97,         97,        1,   152064, 0xbb0f0ef4
+0,         98,         98,        1,   152064, 0xe65780a7
+0,         99,         99,        1,   152064, 0xaf8f6d72
diff --git a/tests/ref/fate/h264-conformance-frext-freh7_b b/tests/ref/fate/h264-conformance-frext-freh7_b
index 9b23f78..519c346 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,          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
+0,          0,          0,        1,   152064, 0x89f2e8d5
+0,          1,          1,        1,   152064, 0x35b99397
+0,          2,          2,        1,   152064, 0x6ef46744
+0,          3,          3,        1,   152064, 0xec4d6c1c
+0,          4,          4,        1,   152064, 0xad6e0c70
+0,          5,          5,        1,   152064, 0x2db534b3
+0,          6,          6,        1,   152064, 0xcbd25ddd
+0,          7,          7,        1,   152064, 0xd90708b4
+0,          8,          8,        1,   152064, 0xc2aa52df
+0,          9,          9,        1,   152064, 0xbcfc84dc
+0,         10,         10,        1,   152064, 0xa5a6d269
+0,         11,         11,        1,   152064, 0x27220ce9
+0,         12,         12,        1,   152064, 0xf075ee6d
+0,         13,         13,        1,   152064, 0x9fd3c2ac
+0,         14,         14,        1,   152064, 0xcba24c2d
+0,         15,         15,        1,   152064, 0x41cd9441
+0,         16,         16,        1,   152064, 0x0126efa3
+0,         17,         17,        1,   152064, 0xf62112af
+0,         18,         18,        1,   152064, 0x35aff50f
+0,         19,         19,        1,   152064, 0xcb0b276f
+0,         20,         20,        1,   152064, 0xc7ef0214
+0,         21,         21,        1,   152064, 0x7f78d387
+0,         22,         22,        1,   152064, 0x266c673d
+0,         23,         23,        1,   152064, 0x1d39c073
+0,         24,         24,        1,   152064, 0x6a3ae455
+0,         25,         25,        1,   152064, 0xe4ce0230
+0,         26,         26,        1,   152064, 0x7f95e87b
+0,         27,         27,        1,   152064, 0x7c552236
+0,         28,         28,        1,   152064, 0x24c799b9
+0,         29,         29,        1,   152064, 0x5042d974
+0,         30,         30,        1,   152064, 0xe934a5b8
+0,         31,         31,        1,   152064, 0x6d59c884
+0,         32,         32,        1,   152064, 0xd00f7fdb
+0,         33,         33,        1,   152064, 0x62ac3ebd
+0,         34,         34,        1,   152064, 0xb40a6c25
+0,         35,         35,        1,   152064, 0x8706188c
+0,         36,         36,        1,   152064, 0x7682e339
+0,         37,         37,        1,   152064, 0x1061d943
+0,         38,         38,        1,   152064, 0x50fa684a
+0,         39,         39,        1,   152064, 0xab4b1975
+0,         40,         40,        1,   152064, 0x2d043acb
+0,         41,         41,        1,   152064, 0xe3c2ec0a
+0,         42,         42,        1,   152064, 0xb9bc99dc
+0,         43,         43,        1,   152064, 0x051fb857
+0,         44,         44,        1,   152064, 0x71d1fe52
+0,         45,         45,        1,   152064, 0x4230c694
+0,         46,         46,        1,   152064, 0xb412a137
+0,         47,         47,        1,   152064, 0x2f50f90d
+0,         48,         48,        1,   152064, 0x68a1466f
+0,         49,         49,        1,   152064, 0x77e3f47b
+0,         50,         50,        1,   152064, 0x4d08de2b
+0,         51,         51,        1,   152064, 0x1fc663be
+0,         52,         52,        1,   152064, 0x2c8ba712
+0,         53,         53,        1,   152064, 0xd50d85b9
+0,         54,         54,        1,   152064, 0xe8483437
+0,         55,         55,        1,   152064, 0x4e331e4c
+0,         56,         56,        1,   152064, 0x0f64a7a0
+0,         57,         57,        1,   152064, 0x797b0b8c
+0,         58,         58,        1,   152064, 0x1b91e6d8
+0,         59,         59,        1,   152064, 0xf3a1f3b6
+0,         60,         60,        1,   152064, 0x2b94bd52
+0,         61,         61,        1,   152064, 0x1f30962e
+0,         62,         62,        1,   152064, 0x853321cf
+0,         63,         63,        1,   152064, 0x8266c0ac
+0,         64,         64,        1,   152064, 0x25498be0
+0,         65,         65,        1,   152064, 0x0f653af9
+0,         66,         66,        1,   152064, 0x0a025f7e
+0,         67,         67,        1,   152064, 0x1cfbae04
+0,         68,         68,        1,   152064, 0x3a874757
+0,         69,         69,        1,   152064, 0x2c67006e
+0,         70,         70,        1,   152064, 0x1d409bce
+0,         71,         71,        1,   152064, 0xfe43121f
+0,         72,         72,        1,   152064, 0x43411830
+0,         73,         73,        1,   152064, 0x536d26ca
+0,         74,         74,        1,   152064, 0x9eb873ea
+0,         75,         75,        1,   152064, 0x093f93ec
+0,         76,         76,        1,   152064, 0xdf6f0381
+0,         77,         77,        1,   152064, 0xa9f4b5e5
+0,         78,         78,        1,   152064, 0x08f71ef8
+0,         79,         79,        1,   152064, 0x7a68f820
+0,         80,         80,        1,   152064, 0xae0c73e7
+0,         81,         81,        1,   152064, 0x886ae6c7
+0,         82,         82,        1,   152064, 0x9357f433
+0,         83,         83,        1,   152064, 0xcc335068
+0,         84,         84,        1,   152064, 0x2ea108ab
+0,         85,         85,        1,   152064, 0x06d7dcb0
+0,         86,         86,        1,   152064, 0x81dc81bc
+0,         87,         87,        1,   152064, 0xfb32b626
+0,         88,         88,        1,   152064, 0x2787d1c7
+0,         89,         89,        1,   152064, 0x69e51118
+0,         90,         90,        1,   152064, 0xba15d94d
+0,         91,         91,        1,   152064, 0xc41c09cf
+0,         92,         92,        1,   152064, 0x7e50e12f
+0,         93,         93,        1,   152064, 0x0763ddbe
+0,         94,         94,        1,   152064, 0x8a09bb88
+0,         95,         95,        1,   152064, 0x530752b7
+0,         96,         96,        1,   152064, 0x9b159923
+0,         97,         97,        1,   152064, 0xcbb83ed3
+0,         98,         98,        1,   152064, 0xdeb5ac0e
+0,         99,         99,        1,   152064, 0x189299d4
diff --git a/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b b/tests/ref/fate/h264-conformance-frext-frext2_panasonic_b
index 75005ec..7c53b5c 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,          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
+0,          0,          0,        1,   152064, 0x0147a2a9
+0,          1,          1,        1,   152064, 0xe2365351
+0,          2,          2,        1,   152064, 0xb5f9daee
+0,          3,          3,        1,   152064, 0xd60818b2
+0,          4,          4,        1,   152064, 0x21b528e5
+0,          5,          5,        1,   152064, 0x9c9dda18
+0,          6,          6,        1,   152064, 0x387fe7de
+0,          7,          7,        1,   152064, 0x8f0c5a1e
+0,          8,          8,        1,   152064, 0x02409694
+0,          9,          9,        1,   152064, 0x2b36a7a7
+0,         10,         10,        1,   152064, 0x3c6d3863
+0,         11,         11,        1,   152064, 0xaa7835e1
+0,         12,         12,        1,   152064, 0x6d105fe7
+0,         13,         13,        1,   152064, 0x9a348732
+0,         14,         14,        1,   152064, 0x96a3af13
diff --git a/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a b/tests/ref/fate/h264-conformance-frext-frext4_panasonic_a
index 0efe2ab..c0886e4 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,          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
+0,          0,          0,        1,   152064, 0xd604d440
+0,          1,          1,        1,   152064, 0x08ef262c
+0,          2,          2,        1,   152064, 0x992fca8e
+0,          3,          3,        1,   152064, 0x5a02ee15
+0,          4,          4,        1,   152064, 0xf15d5c66
+0,          5,          5,        1,   152064, 0x360dda12
+0,          6,          6,        1,   152064, 0x18b54985
+0,          7,          7,        1,   152064, 0xf12b6cde
+0,          8,          8,        1,   152064, 0x3b2e63f7
+0,          9,          9,        1,   152064, 0x140abcfd
diff --git a/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b b/tests/ref/fate/h264-conformance-frext-hcaff1_hhi_b
index e5fc739..eb41d46 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,          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
+0,          0,          0,        1,   152064, 0xb055a9bd
+0,          1,          1,        1,   152064, 0x9e1eadb6
+0,          2,          2,        1,   152064, 0x48f117d2
+0,          3,          3,        1,   152064, 0x3e3ff049
+0,          4,          4,        1,   152064, 0x2ff80943
+0,          5,          5,        1,   152064, 0xc5ee16a6
+0,          6,          6,        1,   152064, 0x38c33f28
+0,          7,          7,        1,   152064, 0x3e8444c7
+0,          8,          8,        1,   152064, 0x14ca4ab2
+0,          9,          9,        1,   152064, 0xe20e78f7
diff --git a/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c b/tests/ref/fate/h264-conformance-frext-hpcafl_bcrm_c
index b208184..dbfec43 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,          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
+0,          0,          0,        1,   152064, 0x502ec077
+0,          1,          1,        1,   152064, 0x84807243
+0,          2,          2,        1,   152064, 0xd7474a6e
+0,          3,          3,        1,   152064, 0x793469bb
+0,          4,          4,        1,   152064, 0xb7a0faf7
+0,          5,          5,        1,   152064, 0x1d3d3cba
+0,          6,          6,        1,   152064, 0xb62583de
+0,          7,          7,        1,   152064, 0xc8422fb1
+0,          8,          8,        1,   152064, 0x321dc699
+0,          9,          9,        1,   152064, 0x7a34d350
+0,         10,         10,        1,   152064, 0xaa4c302d
+0,         11,         11,        1,   152064, 0x45fa7ab0
+0,         12,         12,        1,   152064, 0xc7262e41
+0,         13,         13,        1,   152064, 0x3550000c
+0,         14,         14,        1,   152064, 0xf4bab54b
+0,         15,         15,        1,   152064, 0xaccf9c1a
+0,         16,         16,        1,   152064, 0x9bee20e9
+0,         17,         17,        1,   152064, 0x47fb7720
+0,         18,         18,        1,   152064, 0x12c63ffb
+0,         19,         19,        1,   152064, 0xfa2b8b4d
+0,         20,         20,        1,   152064, 0x279964bd
+0,         21,         21,        1,   152064, 0xb8b01c7e
+0,         22,         22,        1,   152064, 0x816fa010
+0,         23,         23,        1,   152064, 0x59fe1c8c
+0,         24,         24,        1,   152064, 0x13393fad
+0,         25,         25,        1,   152064, 0x991a50a4
+0,         26,         26,        1,   152064, 0x57df3eb7
+0,         27,         27,        1,   152064, 0x744371df
+0,         28,         28,        1,   152064, 0xe9f6d3ff
+0,         29,         29,        1,   152064, 0xc506fba0
+0,         30,         30,        1,   152064, 0x6295b90e
+0,         31,         31,        1,   152064, 0xa19cee2d
+0,         32,         32,        1,   152064, 0xf8c1b3ca
+0,         33,         33,        1,   152064, 0x69f68ce0
+0,         34,         34,        1,   152064, 0x80558bb6
+0,         35,         35,        1,   152064, 0x27824fa5
+0,         36,         36,        1,   152064, 0x27c929a1
+0,         37,         37,        1,   152064, 0xc0fe06d1
+0,         38,         38,        1,   152064, 0xc52bc58c
+0,         39,         39,        1,   152064, 0x0a5363c7
+0,         40,         40,        1,   152064, 0xd0f45a0d
+0,         41,         41,        1,   152064, 0x274710f9
+0,         42,         42,        1,   152064, 0x89d2d390
+0,         43,         43,        1,   152064, 0x12a9bfb0
+0,         44,         44,        1,   152064, 0x04501a93
+0,         45,         45,        1,   152064, 0xf92cbbf4
+0,         46,         46,        1,   152064, 0xf6d1b27d
+0,         47,         47,        1,   152064, 0xe3e904c3
+0,         48,         48,        1,   152064, 0x58f8516d
+0,         49,         49,        1,   152064, 0x70370c2b
+0,         50,         50,        1,   152064, 0xfeebc88c
+0,         51,         51,        1,   152064, 0x974c6ed6
+0,         52,         52,        1,   152064, 0x401bdcf2
+0,         53,         53,        1,   152064, 0xfe61e278
+0,         54,         54,        1,   152064, 0x96ba8bb9
+0,         55,         55,        1,   152064, 0x988492fd
+0,         56,         56,        1,   152064, 0xd1d913a9
+0,         57,         57,        1,   152064, 0x6bc46f0e
+0,         58,         58,        1,   152064, 0x695ef706
+0,         59,         59,        1,   152064, 0x142045c9
+0,         60,         60,        1,   152064, 0xb390ed87
+0,         61,         61,        1,   152064, 0xb9e6d2e5
+0,         62,         62,        1,   152064, 0xe348797f
+0,         63,         63,        1,   152064, 0x1cbd29d6
+0,         64,         64,        1,   152064, 0xbd7dd694
+0,         65,         65,        1,   152064, 0x516873c3
+0,         66,         66,        1,   152064, 0x27bba182
+0,         67,         67,        1,   152064, 0x7541f920
+0,         68,         68,        1,   152064, 0xfdf67042
+0,         69,         69,        1,   152064, 0x6c3c7896
+0,         70,         70,        1,   152064, 0xed86c467
+0,         71,         71,        1,   152064, 0x4ea83ca2
+0,         72,         72,        1,   152064, 0xa3e6725b
+0,         73,         73,        1,   152064, 0x917f5f16
+0,         74,         74,        1,   152064, 0x8cf2d2e1
+0,         75,         75,        1,   152064, 0x57a8d116
+0,         76,         76,        1,   152064, 0x0db267d4
+0,         77,         77,        1,   152064, 0xce782ac5
+0,         78,         78,        1,   152064, 0x1c9d8518
+0,         79,         79,        1,   152064, 0x47598ac7
+0,         80,         80,        1,   152064, 0xc5033d97
+0,         81,         81,        1,   152064, 0xd7aaa3a4
+0,         82,         82,        1,   152064, 0x078afc96
+0,         83,         83,        1,   152064, 0xc9fe673d
+0,         84,         84,        1,   152064, 0xe9284066
+0,         85,         85,        1,   152064, 0xbc570982
+0,         86,         86,        1,   152064, 0x0aac8574
+0,         87,         87,        1,   152064, 0x098cbeee
+0,         88,         88,        1,   152064, 0x19c36a9d
+0,         89,         89,        1,   152064, 0x8fe4a893
+0,         90,         90,        1,   152064, 0x0b652f17
+0,         91,         91,        1,   152064, 0x10f2e6bf
+0,         92,         92,        1,   152064, 0x7ce5634e
+0,         93,         93,        1,   152064, 0x8fe4ac6c
+0,         94,         94,        1,   152064, 0xcaba749e
+0,         95,         95,        1,   152064, 0x5f8a0d5c
+0,         96,         96,        1,   152064, 0xcaa66bbc
+0,         97,         97,        1,   152064, 0xc87ae617
+0,         98,         98,        1,   152064, 0xe8ef4dd7
+0,         99,         99,        1,   152064, 0xdfca5a07
+0,        100,        100,        1,   152064, 0x5f7eab7d
+0,        101,        101,        1,   152064, 0x8a65ebbb
+0,        102,        102,        1,   152064, 0x4beab4a0
+0,        103,        103,        1,   152064, 0xb5e6ab30
+0,        104,        104,        1,   152064, 0x8fe4f4d4
+0,        105,        105,        1,   152064, 0x95bde1ca
+0,        106,        106,        1,   152064, 0xcc5e3a53
+0,        107,        107,        1,   152064, 0xf09f1dd7
+0,        108,        108,        1,   152064, 0x10179672
+0,        109,        109,        1,   152064, 0x4ad16184
+0,        110,        110,        1,   152064, 0x9efa0e23
+0,        111,        111,        1,   152064, 0x22f59522
+0,        112,        112,        1,   152064, 0x4d38f09d
+0,        113,        113,        1,   152064, 0x4c5ebf56
+0,        114,        114,        1,   152064, 0xb19d5077
+0,        115,        115,        1,   152064, 0xa98576b9
+0,        116,        116,        1,   152064, 0x65324239
+0,        117,        117,        1,   152064, 0x709e4031
+0,        118,        118,        1,   152064, 0xf8e81681
+0,        119,        119,        1,   152064, 0x058514e5
+0,        120,        120,        1,   152064, 0xd1d1c806
+0,        121,        121,        1,   152064, 0x0e4dde57
+0,        122,        122,        1,   152064, 0x49e9c2bb
+0,        123,        123,        1,   152064, 0x01417ce6
+0,        124,        124,        1,   152064, 0xda7ebbf1
+0,        125,        125,        1,   152064, 0xa22906b7
+0,        126,        126,        1,   152064, 0x32e2df87
+0,        127,        127,        1,   152064, 0x69917c8f
+0,        128,        128,        1,   152064, 0xea8ed2cc
+0,        129,        129,        1,   152064, 0x0b8d57f1
+0,        130,        130,        1,   152064, 0x5f683bcd
+0,        131,        131,        1,   152064, 0x5162fe2f
+0,        132,        132,        1,   152064, 0x49c052f8
+0,        133,        133,        1,   152064, 0x990b69ba
+0,        134,        134,        1,   152064, 0xa6d4f99f
+0,        135,        135,        1,   152064, 0xe79ef4da
+0,        136,        136,        1,   152064, 0x5e8a3847
+0,        137,        137,        1,   152064, 0x38b1e75f
+0,        138,        138,        1,   152064, 0xf5c91bed
+0,        139,        139,        1,   152064, 0xd59a6d26
+0,        140,        140,        1,   152064, 0xc361de06
+0,        141,        141,        1,   152064, 0x63ed2229
+0,        142,        142,        1,   152064, 0xb8229205
+0,        143,        143,        1,   152064, 0x7c6619af
+0,        144,        144,        1,   152064, 0x4126b02f
+0,        145,        145,        1,   152064, 0x9250b99b
+0,        146,        146,        1,   152064, 0x589778f9
+0,        147,        147,        1,   152064, 0xed1fa45b
+0,        148,        148,        1,   152064, 0x700b6f32
+0,        149,        149,        1,   152064, 0x0590df55
+0,        150,        150,        1,   152064, 0x3e9c4018
+0,        151,        151,        1,   152064, 0x957b8860
+0,        152,        152,        1,   152064, 0x56161560
+0,        153,        153,        1,   152064, 0xbc43bc3b
+0,        154,        154,        1,   152064, 0x508d8632
+0,        155,        155,        1,   152064, 0xbc5736d8
+0,        156,        156,        1,   152064, 0xed7d3aef
+0,        157,        157,        1,   152064, 0x1dcdda9f
+0,        158,        158,        1,   152064, 0x8ef6d5c9
+0,        159,        159,        1,   152064, 0x15466acc
+0,        160,        160,        1,   152064, 0x45d4cf67
+0,        161,        161,        1,   152064, 0x8c900b9d
+0,        162,        162,        1,   152064, 0x747006e0
+0,        163,        163,        1,   152064, 0xac920a0c
+0,        164,        164,        1,   152064, 0xb8210c27
+0,        165,        165,        1,   152064, 0x7dbb873a
+0,        166,        166,        1,   152064, 0x0d4d7584
+0,        167,        167,        1,   152064, 0xefb3fe60
+0,        168,        168,        1,   152064, 0x905e2644
+0,        169,        169,        1,   152064, 0x7c04e534
+0,        170,        170,        1,   152064, 0x8889972a
+0,        171,        171,        1,   152064, 0x21c7d8ad
+0,        172,        172,        1,   152064, 0x1c641176
+0,        173,        173,        1,   152064, 0xf71489a4
+0,        174,        174,        1,   152064, 0xd7ac5555
+0,        175,        175,        1,   152064, 0xb4609c6d
+0,        176,        176,        1,   152064, 0xf5b2bd5e
+0,        177,        177,        1,   152064, 0x9f43ce57
+0,        178,        178,        1,   152064, 0x77642dd3
+0,        179,        179,        1,   152064, 0x3e79565c
+0,        180,        180,        1,   152064, 0x95f40b8e
+0,        181,        181,        1,   152064, 0x3c8ca4d4
+0,        182,        182,        1,   152064, 0xa02ac497
+0,        183,        183,        1,   152064, 0x4c93b377
+0,        184,        184,        1,   152064, 0x55f5ac68
+0,        185,        185,        1,   152064, 0xf8652eca
+0,        186,        186,        1,   152064, 0x56e94574
+0,        187,        187,        1,   152064, 0x6d8302e1
+0,        188,        188,        1,   152064, 0x29a57061
+0,        189,        189,        1,   152064, 0x24e4cfdc
+0,        190,        190,        1,   152064, 0xf5a5d62a
+0,        191,        191,        1,   152064, 0x998870c1
+0,        192,        192,        1,   152064, 0xa15b1f4e
+0,        193,        193,        1,   152064, 0xb0ccb51f
+0,        194,        194,        1,   152064, 0xeaaf59ab
+0,        195,        195,        1,   152064, 0x7e2b4fe6
+0,        196,        196,        1,   152064, 0x72299fea
+0,        197,        197,        1,   152064, 0x769da8b2
+0,        198,        198,        1,   152064, 0xefad7ef8
+0,        199,        199,        1,   152064, 0x24819983
+0,        200,        200,        1,   152064, 0x2aad32ab
+0,        201,        201,        1,   152064, 0xc80cac79
+0,        202,        202,        1,   152064, 0x1659d628
+0,        203,        203,        1,   152064, 0xef941f66
+0,        204,        204,        1,   152064, 0x0d7fcdb5
+0,        205,        205,        1,   152064, 0x7c1853fa
+0,        206,        206,        1,   152064, 0xb94c4d3c
+0,        207,        207,        1,   152064, 0xc47adfc2
+0,        208,        208,        1,   152064, 0x366a6729
+0,        209,        209,        1,   152064, 0x7eb37b70
+0,        210,        210,        1,   152064, 0xafd54c27
+0,        211,        211,        1,   152064, 0x67b18636
+0,        212,        212,        1,   152064, 0x93b22dcf
+0,        213,        213,        1,   152064, 0xa64991f1
+0,        214,        214,        1,   152064, 0xd32a7102
+0,        215,        215,        1,   152064, 0xff665d1c
+0,        216,        216,        1,   152064, 0xf107cc31
+0,        217,        217,        1,   152064, 0xf5b25652
+0,        218,        218,        1,   152064, 0x8caf783d
+0,        219,        219,        1,   152064, 0x72f3eb00
+0,        220,        220,        1,   152064, 0xb5aea5f8
+0,        221,        221,        1,   152064, 0xee70e870
+0,        222,        222,        1,   152064, 0x7c3a0156
+0,        223,        223,        1,   152064, 0x871b6383
+0,        224,        224,        1,   152064, 0x48d831ff
+0,        225,        225,        1,   152064, 0xca233913
+0,        226,        226,        1,   152064, 0xe14bc5eb
+0,        227,        227,        1,   152064, 0x9b1d27e7
+0,        228,        228,        1,   152064, 0xfb9637f7
+0,        229,        229,        1,   152064, 0x0c022157
+0,        230,        230,        1,   152064, 0x16d35fc9
+0,        231,        231,        1,   152064, 0x6d935f71
+0,        232,        232,        1,   152064, 0xae4066fa
+0,        233,        233,        1,   152064, 0xcef94fdc
+0,        234,        234,        1,   152064, 0xc234edb9
+0,        235,        235,        1,   152064, 0x26a4f2e2
+0,        236,        236,        1,   152064, 0xd29ac23e
+0,        237,        237,        1,   152064, 0xb7604395
+0,        238,        238,        1,   152064, 0x408084f6
+0,        239,        239,        1,   152064, 0x0a02026c
+0,        240,        240,        1,   152064, 0x78b33c7c
+0,        241,        241,        1,   152064, 0xcb02b874
+0,        242,        242,        1,   152064, 0xf566513b
+0,        243,        243,        1,   152064, 0xb34e52b1
+0,        244,        244,        1,   152064, 0xf55ff493
+0,        245,        245,        1,   152064, 0xb0e8282a
+0,        246,        246,        1,   152064, 0xe9510bbe
+0,        247,        247,        1,   152064, 0x292e8c5a
+0,        248,        248,        1,   152064, 0x62b9d2b0
+0,        249,        249,        1,   152064, 0x3a8cc827
+0,        250,        250,        1,   152064, 0x25cc465e
+0,        251,        251,        1,   152064, 0xf2bc32e2
+0,        252,        252,        1,   152064, 0x6141f914
+0,        253,        253,        1,   152064, 0x1171256f
+0,        254,        254,        1,   152064, 0x13cb2ded
+0,        255,        255,        1,   152064, 0x3d4ca557
+0,        256,        256,        1,   152064, 0xf2b9e72e
+0,        257,        257,        1,   152064, 0x03f7547a
+0,        258,        258,        1,   152064, 0xc7302955
+0,        259,        259,        1,   152064, 0xe78a46d3
+0,        260,        260,        1,   152064, 0x3726a270
+0,        261,        261,        1,   152064, 0x2f65722a
+0,        262,        262,        1,   152064, 0x55acce40
+0,        263,        263,        1,   152064, 0xf6fa9db2
+0,        264,        264,        1,   152064, 0x70a36937
+0,        265,        265,        1,   152064, 0x9313742d
+0,        266,        266,        1,   152064, 0x2eb14e53
+0,        267,        267,        1,   152064, 0x3d47c9c3
+0,        268,        268,        1,   152064, 0xd0a90348
+0,        269,        269,        1,   152064, 0x6ad48088
+0,        270,        270,        1,   152064, 0x68e64738
+0,        271,        271,        1,   152064, 0x04c3735a
+0,        272,        272,        1,   152064, 0x51d0593f
+0,        273,        273,        1,   152064, 0x42cf2b48
+0,        274,        274,        1,   152064, 0xa5496a0c
+0,        275,        275,        1,   152064, 0x84c25549
+0,        276,        276,        1,   152064, 0x96691600
+0,        277,        277,        1,   152064, 0x423135db
+0,        278,        278,        1,   152064, 0x8d2e08b6
+0,        279,        279,        1,   152064, 0xaeb4c840
+0,        280,        280,        1,   152064, 0xf3e71780
+0,        281,        281,        1,   152064, 0x8858228b
+0,        282,        282,        1,   152064, 0xf28613f8
+0,        283,        283,        1,   152064, 0xb5327882
+0,        284,        284,        1,   152064, 0xbb60bb85
+0,        285,        285,        1,   152064, 0x345ab1c9
+0,        286,        286,        1,   152064, 0x8aac2cba
+0,        287,        287,        1,   152064, 0x7ce15b4c
+0,        288,        288,        1,   152064, 0xc09c55c0
+0,        289,        289,        1,   152064, 0x8482ddd6
+0,        290,        290,        1,   152064, 0xab222a13
+0,        291,        291,        1,   152064, 0xd39b0dea
+0,        292,        292,        1,   152064, 0x6dab6e06
+0,        293,        293,        1,   152064, 0xec0891bd
+0,        294,        294,        1,   152064, 0x88bd9701
+0,        295,        295,        1,   152064, 0xdf13072a
+0,        296,        296,        1,   152064, 0x23b33081
+0,        297,        297,        1,   152064, 0x63943137
+0,        298,        298,        1,   152064, 0xab6a9052
+0,        299,        299,        1,   152064, 0x05485494
diff --git a/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c b/tests/ref/fate/h264-conformance-frext-hpcaflnl_bcrm_c
index aafb2d4..65a366e 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,          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
+0,          0,          0,        1,   152064, 0x3e39c08b
+0,          1,          1,        1,   152064, 0xabc67990
+0,          2,          2,        1,   152064, 0x19614e74
+0,          3,          3,        1,   152064, 0xa3776beb
+0,          4,          4,        1,   152064, 0xcce6ffdf
+0,          5,          5,        1,   152064, 0xb0e94746
+0,          6,          6,        1,   152064, 0xdb1a84ef
+0,          7,          7,        1,   152064, 0xb2624509
+0,          8,          8,        1,   152064, 0x32e2d826
+0,          9,          9,        1,   152064, 0xb3bddf0b
+0,         10,         10,        1,   152064, 0x2e273ce3
+0,         11,         11,        1,   152064, 0x67af7e4d
+0,         12,         12,        1,   152064, 0x505c3261
+0,         13,         13,        1,   152064, 0xa43d015e
+0,         14,         14,        1,   152064, 0xad41c1f6
+0,         15,         15,        1,   152064, 0x633ba55f
+0,         16,         16,        1,   152064, 0xe80634f0
+0,         17,         17,        1,   152064, 0x80a07dc9
+0,         18,         18,        1,   152064, 0x0e7a3bbf
+0,         19,         19,        1,   152064, 0xcb099196
+0,         20,         20,        1,   152064, 0x57c96db5
+0,         21,         21,        1,   152064, 0xccd422fa
+0,         22,         22,        1,   152064, 0x0850b7a7
+0,         23,         23,        1,   152064, 0x30e33156
+0,         24,         24,        1,   152064, 0x34e13f9a
+0,         25,         25,        1,   152064, 0x03d36000
+0,         26,         26,        1,   152064, 0xbf7d49da
+0,         27,         27,        1,   152064, 0x77336d09
+0,         28,         28,        1,   152064, 0xca8be5a9
+0,         29,         29,        1,   152064, 0xe57c0b08
+0,         30,         30,        1,   152064, 0xbe77c093
+0,         31,         31,        1,   152064, 0x6bf1ff05
+0,         32,         32,        1,   152064, 0x9142babf
+0,         33,         33,        1,   152064, 0x08db8e67
+0,         34,         34,        1,   152064, 0x69ac8cb6
+0,         35,         35,        1,   152064, 0xaa3b5c88
+0,         36,         36,        1,   152064, 0x9bd32638
+0,         37,         37,        1,   152064, 0x7972115a
+0,         38,         38,        1,   152064, 0x5c1dd47b
+0,         39,         39,        1,   152064, 0x8a196e02
+0,         40,         40,        1,   152064, 0xa89672bc
+0,         41,         41,        1,   152064, 0x27b220e4
+0,         42,         42,        1,   152064, 0xfa38dc4a
+0,         43,         43,        1,   152064, 0x4784c639
+0,         44,         44,        1,   152064, 0xa5e4229a
+0,         45,         45,        1,   152064, 0xa986bdfc
+0,         46,         46,        1,   152064, 0x2951b47b
+0,         47,         47,        1,   152064, 0x4df404a6
+0,         48,         48,        1,   152064, 0xc75155e8
+0,         49,         49,        1,   152064, 0xfc05248c
+0,         50,         50,        1,   152064, 0x5d53da10
+0,         51,         51,        1,   152064, 0x284376ec
+0,         52,         52,        1,   152064, 0x19fce380
+0,         53,         53,        1,   152064, 0x876be6c9
+0,         54,         54,        1,   152064, 0x39eb8ff9
+0,         55,         55,        1,   152064, 0x289c9543
+0,         56,         56,        1,   152064, 0x24dd2356
+0,         57,         57,        1,   152064, 0x1dc17d3c
+0,         58,         58,        1,   152064, 0xd17c00ac
+0,         59,         59,        1,   152064, 0xc2ad54de
+0,         60,         60,        1,   152064, 0xbe11ee2f
+0,         61,         61,        1,   152064, 0x3db9dc89
+0,         62,         62,        1,   152064, 0xac0d7bc2
+0,         63,         63,        1,   152064, 0x8dab2dde
+0,         64,         64,        1,   152064, 0x566ad225
+0,         65,         65,        1,   152064, 0x587c7853
+0,         66,         66,        1,   152064, 0x601c9c80
+0,         67,         67,        1,   152064, 0x2afaf751
+0,         68,         68,        1,   152064, 0x1c9f7e3a
+0,         69,         69,        1,   152064, 0x899475bf
+0,         70,         70,        1,   152064, 0x0d65c7d9
+0,         71,         71,        1,   152064, 0xafd63d12
+0,         72,         72,        1,   152064, 0x162e62b9
+0,         73,         73,        1,   152064, 0x5c9554be
+0,         74,         74,        1,   152064, 0x35fbdaa2
+0,         75,         75,        1,   152064, 0x6438cbd8
+0,         76,         76,        1,   152064, 0xde0772c9
+0,         77,         77,        1,   152064, 0x79f82854
+0,         78,         78,        1,   152064, 0x86957840
+0,         79,         79,        1,   152064, 0xd9468cbf
+0,         80,         80,        1,   152064, 0x23e74609
+0,         81,         81,        1,   152064, 0x3919a146
+0,         82,         82,        1,   152064, 0xd641078b
+0,         83,         83,        1,   152064, 0x24397220
+0,         84,         84,        1,   152064, 0xe7fc3a7c
+0,         85,         85,        1,   152064, 0x3997154a
+0,         86,         86,        1,   152064, 0x2af3952c
+0,         87,         87,        1,   152064, 0x274ac07a
+0,         88,         88,        1,   152064, 0x288f7b09
+0,         89,         89,        1,   152064, 0xe6f9b022
+0,         90,         90,        1,   152064, 0xf09e2fbb
+0,         91,         91,        1,   152064, 0x7244e477
+0,         92,         92,        1,   152064, 0x0dfc72eb
+0,         93,         93,        1,   152064, 0x0322b21f
+0,         94,         94,        1,   152064, 0x18b08205
+0,         95,         95,        1,   152064, 0x6606153e
+0,         96,         96,        1,   152064, 0x85186272
+0,         97,         97,        1,   152064, 0x3369f064
+0,         98,         98,        1,   152064, 0xbe0d5a44
+0,         99,         99,        1,   152064, 0x320258bb
+0,        100,        100,        1,   152064, 0x4d6fb091
+0,        101,        101,        1,   152064, 0xc9bbf5e7
+0,        102,        102,        1,   152064, 0x0aa1b69b
+0,        103,        103,        1,   152064, 0x85b9ac11
+0,        104,        104,        1,   152064, 0xb25ff818
+0,        105,        105,        1,   152064, 0xa155dc25
+0,        106,        106,        1,   152064, 0xa8e03bfd
+0,        107,        107,        1,   152064, 0x0a862956
+0,        108,        108,        1,   152064, 0x11b49264
+0,        109,        109,        1,   152064, 0xa94e664e
+0,        110,        110,        1,   152064, 0x330e0fa2
+0,        111,        111,        1,   152064, 0xaf3d9518
+0,        112,        112,        1,   152064, 0x0836f2e8
+0,        113,        113,        1,   152064, 0xbf6dc578
+0,        114,        114,        1,   152064, 0x7b524d20
+0,        115,        115,        1,   152064, 0x9ef7677f
+0,        116,        116,        1,   152064, 0xeacf3f34
+0,        117,        117,        1,   152064, 0xfb4e3dbe
+0,        118,        118,        1,   152064, 0xb46e25cb
+0,        119,        119,        1,   152064, 0x363c1603
+0,        120,        120,        1,   152064, 0x263fc542
+0,        121,        121,        1,   152064, 0xf106e548
+0,        122,        122,        1,   152064, 0xde43c56a
+0,        123,        123,        1,   152064, 0xc2c4770a
+0,        124,        124,        1,   152064, 0x122fce19
+0,        125,        125,        1,   152064, 0x3ba01434
+0,        126,        126,        1,   152064, 0x0e8ce5ee
+0,        127,        127,        1,   152064, 0x6ceb82e1
+0,        128,        128,        1,   152064, 0xa23ee21c
+0,        129,        129,        1,   152064, 0xc6d960f9
+0,        130,        130,        1,   152064, 0x0de15258
+0,        131,        131,        1,   152064, 0x187b0333
+0,        132,        132,        1,   152064, 0x92e6582f
+0,        133,        133,        1,   152064, 0xb9586ce0
+0,        134,        134,        1,   152064, 0xefd803b5
+0,        135,        135,        1,   152064, 0x24eafb29
+0,        136,        136,        1,   152064, 0x20c73b14
+0,        137,        137,        1,   152064, 0xbd7ceaaa
+0,        138,        138,        1,   152064, 0x775216c8
+0,        139,        139,        1,   152064, 0xa08971c7
+0,        140,        140,        1,   152064, 0xef0ee865
+0,        141,        141,        1,   152064, 0x9ac61c2f
+0,        142,        142,        1,   152064, 0x52ae8ea9
+0,        143,        143,        1,   152064, 0x06571c14
+0,        144,        144,        1,   152064, 0x6e78ad33
+0,        145,        145,        1,   152064, 0xad01c627
+0,        146,        146,        1,   152064, 0xbfe074d3
+0,        147,        147,        1,   152064, 0x9357a183
+0,        148,        148,        1,   152064, 0x8de7767f
+0,        149,        149,        1,   152064, 0xa5e6e76e
+0,        150,        150,        1,   152064, 0xa6f646fe
+0,        151,        151,        1,   152064, 0x132e99f8
+0,        152,        152,        1,   152064, 0xb79f27de
+0,        153,        153,        1,   152064, 0x36d3cdcf
+0,        154,        154,        1,   152064, 0xdc938336
+0,        155,        155,        1,   152064, 0xacaa3a7f
+0,        156,        156,        1,   152064, 0xc61a37fd
+0,        157,        157,        1,   152064, 0x4fe1ddf0
+0,        158,        158,        1,   152064, 0xc0f7d660
+0,        159,        159,        1,   152064, 0xd72458ea
+0,        160,        160,        1,   152064, 0x6978d123
+0,        161,        161,        1,   152064, 0x64e60ccf
+0,        162,        162,        1,   152064, 0xaa07004c
+0,        163,        163,        1,   152064, 0x07cd1064
+0,        164,        164,        1,   152064, 0xa82320e5
+0,        165,        165,        1,   152064, 0xaedd8d30
+0,        166,        166,        1,   152064, 0x79b082ea
+0,        167,        167,        1,   152064, 0x9ed800ab
+0,        168,        168,        1,   152064, 0xde592bb4
+0,        169,        169,        1,   152064, 0xd966df88
+0,        170,        170,        1,   152064, 0xf921988a
+0,        171,        171,        1,   152064, 0x557ad9ae
+0,        172,        172,        1,   152064, 0xc3f31a9a
+0,        173,        173,        1,   152064, 0x65248561
+0,        174,        174,        1,   152064, 0x63df4aa6
+0,        175,        175,        1,   152064, 0x618da0a9
+0,        176,        176,        1,   152064, 0xe6f1c435
+0,        177,        177,        1,   152064, 0x9f90c38f
+0,        178,        178,        1,   152064, 0xd2853e14
+0,        179,        179,        1,   152064, 0x6e0268a9
+0,        180,        180,        1,   152064, 0x393712d1
+0,        181,        181,        1,   152064, 0x470da25f
+0,        182,        182,        1,   152064, 0xaf55cb3d
+0,        183,        183,        1,   152064, 0x6935b8b9
+0,        184,        184,        1,   152064, 0x5409a15f
+0,        185,        185,        1,   152064, 0x09073fee
+0,        186,        186,        1,   152064, 0xfb274e82
+0,        187,        187,        1,   152064, 0x1a770581
+0,        188,        188,        1,   152064, 0x17277d0d
+0,        189,        189,        1,   152064, 0xd4dcd982
+0,        190,        190,        1,   152064, 0x6b04eaf3
+0,        191,        191,        1,   152064, 0x8a3d822e
+0,        192,        192,        1,   152064, 0x1b971ec9
+0,        193,        193,        1,   152064, 0x14e0c0f6
+0,        194,        194,        1,   152064, 0x00667450
+0,        195,        195,        1,   152064, 0xd2385902
+0,        196,        196,        1,   152064, 0x905da6ab
+0,        197,        197,        1,   152064, 0xa3ffb18b
+0,        198,        198,        1,   152064, 0x10d48b19
+0,        199,        199,        1,   152064, 0xb2c7a3bd
+0,        200,        200,        1,   152064, 0x45593e96
+0,        201,        201,        1,   152064, 0x47a0b60c
+0,        202,        202,        1,   152064, 0x68c6d1b9
+0,        203,        203,        1,   152064, 0xbc881fcc
+0,        204,        204,        1,   152064, 0x422cc6f2
+0,        205,        205,        1,   152064, 0x9b686410
+0,        206,        206,        1,   152064, 0x35dc5e86
+0,        207,        207,        1,   152064, 0x247bedaa
+0,        208,        208,        1,   152064, 0x22b76fd1
+0,        209,        209,        1,   152064, 0x67cc7a75
+0,        210,        210,        1,   152064, 0xa197521e
+0,        211,        211,        1,   152064, 0x428c8662
+0,        212,        212,        1,   152064, 0x33dc2c73
+0,        213,        213,        1,   152064, 0x5b538903
+0,        214,        214,        1,   152064, 0x3c4176b6
+0,        215,        215,        1,   152064, 0x774364ba
+0,        216,        216,        1,   152064, 0xf237d03e
+0,        217,        217,        1,   152064, 0xac8746fb
+0,        218,        218,        1,   152064, 0x6b306a84
+0,        219,        219,        1,   152064, 0xa2ace513
+0,        220,        220,        1,   152064, 0x709c9be7
+0,        221,        221,        1,   152064, 0x2403f373
+0,        222,        222,        1,   152064, 0x147bf717
+0,        223,        223,        1,   152064, 0xe58964c8
+0,        224,        224,        1,   152064, 0xa0da36fc
+0,        225,        225,        1,   152064, 0x1ac1355c
+0,        226,        226,        1,   152064, 0x8a31c9f2
+0,        227,        227,        1,   152064, 0x42ba205c
+0,        228,        228,        1,   152064, 0xa11b3575
+0,        229,        229,        1,   152064, 0xcb35207c
+0,        230,        230,        1,   152064, 0x528f6189
+0,        231,        231,        1,   152064, 0x34f05bd7
+0,        232,        232,        1,   152064, 0x72317356
+0,        233,        233,        1,   152064, 0xaabd5028
+0,        234,        234,        1,   152064, 0x13dbeb7b
+0,        235,        235,        1,   152064, 0x62f1e8a8
+0,        236,        236,        1,   152064, 0x1723bfcd
+0,        237,        237,        1,   152064, 0x5c083c00
+0,        238,        238,        1,   152064, 0x52137894
+0,        239,        239,        1,   152064, 0xef1e082c
+0,        240,        240,        1,   152064, 0x664b3d53
+0,        241,        241,        1,   152064, 0x2eb9b296
+0,        242,        242,        1,   152064, 0xd0ca511e
+0,        243,        243,        1,   152064, 0x012d4724
+0,        244,        244,        1,   152064, 0xa847f5af
+0,        245,        245,        1,   152064, 0x483a2fde
+0,        246,        246,        1,   152064, 0xd1ab0257
+0,        247,        247,        1,   152064, 0x414692c7
+0,        248,        248,        1,   152064, 0x0b79df88
+0,        249,        249,        1,   152064, 0xdaa2c4a3
+0,        250,        250,        1,   152064, 0xd1b44500
+0,        251,        251,        1,   152064, 0xfd3d2cf3
+0,        252,        252,        1,   152064, 0xfdc0f748
+0,        253,        253,        1,   152064, 0xce762a2a
+0,        254,        254,        1,   152064, 0x08b63572
+0,        255,        255,        1,   152064, 0x5a46a38d
+0,        256,        256,        1,   152064, 0x03cee9c0
+0,        257,        257,        1,   152064, 0x9ee45473
+0,        258,        258,        1,   152064, 0x5a432386
+0,        259,        259,        1,   152064, 0x54c83d87
+0,        260,        260,        1,   152064, 0xc9caa1de
+0,        261,        261,        1,   152064, 0xa28367f1
+0,        262,        262,        1,   152064, 0x2607cdf1
+0,        263,        263,        1,   152064, 0x06baa8de
+0,        264,        264,        1,   152064, 0xf5346e32
+0,        265,        265,        1,   152064, 0x6d3e732b
+0,        266,        266,        1,   152064, 0x798c584b
+0,        267,        267,        1,   152064, 0x4076c948
+0,        268,        268,        1,   152064, 0x868cf63a
+0,        269,        269,        1,   152064, 0x23107ac5
+0,        270,        270,        1,   152064, 0x306f3fe2
+0,        271,        271,        1,   152064, 0xbd1d71d6
+0,        272,        272,        1,   152064, 0x1429545f
+0,        273,        273,        1,   152064, 0xaded29aa
+0,        274,        274,        1,   152064, 0x9b455a94
+0,        275,        275,        1,   152064, 0xb3774ce7
+0,        276,        276,        1,   152064, 0x92580986
+0,        277,        277,        1,   152064, 0x0eae2f95
+0,        278,        278,        1,   152064, 0x599208b2
+0,        279,        279,        1,   152064, 0x4804c04c
+0,        280,        280,        1,   152064, 0x5f730e8f
+0,        281,        281,        1,   152064, 0x3e501d1e
+0,        282,        282,        1,   152064, 0x32100740
+0,        283,        283,        1,   152064, 0x62226ff8
+0,        284,        284,        1,   152064, 0x7683b622
+0,        285,        285,        1,   152064, 0xc3e0aec1
+0,        286,        286,        1,   152064, 0xfac12608
+0,        287,        287,        1,   152064, 0xb21a5781
+0,        288,        288,        1,   152064, 0x8f1e4964
+0,        289,        289,        1,   152064, 0x0f62dd6e
+0,        290,        290,        1,   152064, 0xac062ac4
+0,        291,        291,        1,   152064, 0x1b320f7a
+0,        292,        292,        1,   152064, 0x346e7211
+0,        293,        293,        1,   152064, 0xe47592f3
+0,        294,        294,        1,   152064, 0xa3a7919c
+0,        295,        295,        1,   152064, 0xa3580fa6
+0,        296,        296,        1,   152064, 0xc73430c1
+0,        297,        297,        1,   152064, 0x994a2c18
+0,        298,        298,        1,   152064, 0x0b5d8d45
+0,        299,        299,        1,   152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b b/tests/ref/fate/h264-conformance-frext-hpcamapalq_bcrm_b
index 494fafa..a81e91f 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,          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
+0,          0,          0,        1,   152064, 0xf8248ceb
+0,          1,          1,        1,   152064, 0xb6204c81
+0,          2,          2,        1,   152064, 0x22fb1737
+0,          3,          3,        1,   152064, 0xce8c3fd7
+0,          4,          4,        1,   152064, 0xee88cedc
+0,          5,          5,        1,   152064, 0x1d4209ca
+0,          6,          6,        1,   152064, 0x6fb15238
+0,          7,          7,        1,   152064, 0x505200c2
+0,          8,          8,        1,   152064, 0xb73574ba
+0,          9,          9,        1,   152064, 0x0586a097
+0,         10,         10,        1,   152064, 0xed50fe02
+0,         11,         11,        1,   152064, 0x222221ab
+0,         12,         12,        1,   152064, 0x8afefd46
+0,         13,         13,        1,   152064, 0x6832c5cc
+0,         14,         14,        1,   152064, 0xba4c8110
+0,         15,         15,        1,   152064, 0x95c07e1e
+0,         16,         16,        1,   152064, 0xc5d6fde9
+0,         17,         17,        1,   152064, 0xe75a4921
+0,         18,         18,        1,   152064, 0x53b61688
+0,         19,         19,        1,   152064, 0x0335424b
+0,         20,         20,        1,   152064, 0x621742c7
+0,         21,         21,        1,   152064, 0x4f69f41b
+0,         22,         22,        1,   152064, 0x6b3f65d7
+0,         23,         23,        1,   152064, 0x8dfde04f
+0,         24,         24,        1,   152064, 0x30750ff5
+0,         25,         25,        1,   152064, 0xe3d70f3c
+0,         26,         26,        1,   152064, 0x0c1af825
+0,         27,         27,        1,   152064, 0x58a53935
+0,         28,         28,        1,   152064, 0xc63d9e98
+0,         29,         29,        1,   152064, 0xa85fdc48
+0,         30,         30,        1,   152064, 0x01bb9784
+0,         31,         31,        1,   152064, 0xdd5cb509
+0,         32,         32,        1,   152064, 0x29ae7d2b
+0,         33,         33,        1,   152064, 0xdb08593e
+0,         34,         34,        1,   152064, 0x372d5d4e
+0,         35,         35,        1,   152064, 0x31522664
+0,         36,         36,        1,   152064, 0x3f13f335
+0,         37,         37,        1,   152064, 0xfd10c19a
+0,         38,         38,        1,   152064, 0xef728975
+0,         39,         39,        1,   152064, 0x8e79234d
+0,         40,         40,        1,   152064, 0x47022791
+0,         41,         41,        1,   152064, 0x1ef9d297
+0,         42,         42,        1,   152064, 0x77bf9738
+0,         43,         43,        1,   152064, 0xd6bc8f03
+0,         44,         44,        1,   152064, 0x283ded4a
+0,         45,         45,        1,   152064, 0xd87098d1
+0,         46,         46,        1,   152064, 0x300077a2
+0,         47,         47,        1,   152064, 0x30ffbea4
+0,         48,         48,        1,   152064, 0x5dc5356b
+0,         49,         49,        1,   152064, 0x31cce185
+0,         50,         50,        1,   152064, 0x47fc9148
+0,         51,         51,        1,   152064, 0x1641491e
+0,         52,         52,        1,   152064, 0x2184937d
+0,         53,         53,        1,   152064, 0x126eb74a
+0,         54,         54,        1,   152064, 0x25c07593
+0,         55,         55,        1,   152064, 0xb1294e7e
+0,         56,         56,        1,   152064, 0x8b35f45d
+0,         57,         57,        1,   152064, 0x54765025
+0,         58,         58,        1,   152064, 0x1d17e901
+0,         59,         59,        1,   152064, 0xaeab358d
+0,         60,         60,        1,   152064, 0xf682c91f
+0,         61,         61,        1,   152064, 0x0b4c9b06
+0,         62,         62,        1,   152064, 0x45f326dc
+0,         63,         63,        1,   152064, 0x132eeda3
+0,         64,         64,        1,   152064, 0x3c9b8e16
+0,         65,         65,        1,   152064, 0x1be133c1
+0,         66,         66,        1,   152064, 0xfa876720
+0,         67,         67,        1,   152064, 0x1666cdb8
+0,         68,         68,        1,   152064, 0x362f418f
+0,         69,         69,        1,   152064, 0x926b4a96
+0,         70,         70,        1,   152064, 0xee3da1df
+0,         71,         71,        1,   152064, 0xc11f025d
+0,         72,         72,        1,   152064, 0x9ba62c19
+0,         73,         73,        1,   152064, 0x0d66194f
+0,         74,         74,        1,   152064, 0x2fd09340
+0,         75,         75,        1,   152064, 0x3dfb9e4d
+0,         76,         76,        1,   152064, 0xa3192ce6
+0,         77,         77,        1,   152064, 0x6bfce0e1
+0,         78,         78,        1,   152064, 0x3b7c5286
+0,         79,         79,        1,   152064, 0xb52f4bf5
+0,         80,         80,        1,   152064, 0x30870027
+0,         81,         81,        1,   152064, 0x6f8e71c3
+0,         82,         82,        1,   152064, 0x8d41b09a
+0,         83,         83,        1,   152064, 0xc1ff1d05
+0,         84,         84,        1,   152064, 0xca54125c
+0,         85,         85,        1,   152064, 0x3342d823
+0,         86,         86,        1,   152064, 0xcc4a7542
+0,         87,         87,        1,   152064, 0x21fc9a9d
+0,         88,         88,        1,   152064, 0x91587574
+0,         89,         89,        1,   152064, 0x30929cc2
+0,         90,         90,        1,   152064, 0xf07606b7
+0,         91,         91,        1,   152064, 0x0476b876
+0,         92,         92,        1,   152064, 0x213333dc
+0,         93,         93,        1,   152064, 0x87c67597
+0,         94,         94,        1,   152064, 0x05434641
+0,         95,         95,        1,   152064, 0x959eeffc
+0,         96,         96,        1,   152064, 0x92a130b4
+0,         97,         97,        1,   152064, 0x53d0b544
+0,         98,         98,        1,   152064, 0xaf8c233e
+0,         99,         99,        1,   152064, 0xd3d4259a
+0,        100,        100,        1,   152064, 0xa0287753
+0,        101,        101,        1,   152064, 0xfa23972a
+0,        102,        102,        1,   152064, 0xacae756d
+0,        103,        103,        1,   152064, 0xd8b58b5c
+0,        104,        104,        1,   152064, 0x7db2c755
+0,        105,        105,        1,   152064, 0x31e7b79a
+0,        106,        106,        1,   152064, 0xd8660d98
+0,        107,        107,        1,   152064, 0xdcf0d10d
+0,        108,        108,        1,   152064, 0x3e6567e6
+0,        109,        109,        1,   152064, 0xec3530fd
+0,        110,        110,        1,   152064, 0xf686c61a
+0,        111,        111,        1,   152064, 0x6e706804
+0,        112,        112,        1,   152064, 0x5fd4a1a3
+0,        113,        113,        1,   152064, 0xbb3384f7
+0,        114,        114,        1,   152064, 0x8ffb14dd
+0,        115,        115,        1,   152064, 0x01253a73
+0,        116,        116,        1,   152064, 0xf89c15df
+0,        117,        117,        1,   152064, 0xda2b0b4c
+0,        118,        118,        1,   152064, 0xfc9dfcc1
+0,        119,        119,        1,   152064, 0xfef4f0fa
+0,        120,        120,        1,   152064, 0x91669bea
+0,        121,        121,        1,   152064, 0x3664a565
+0,        122,        122,        1,   152064, 0x32dd7923
+0,        123,        123,        1,   152064, 0x26825231
+0,        124,        124,        1,   152064, 0x5f81896e
+0,        125,        125,        1,   152064, 0x0c64ca2f
+0,        126,        126,        1,   152064, 0x488bb665
+0,        127,        127,        1,   152064, 0x4d183a0f
+0,        128,        128,        1,   152064, 0xed169321
+0,        129,        129,        1,   152064, 0xcec22917
+0,        130,        130,        1,   152064, 0xbe04ea6c
+0,        131,        131,        1,   152064, 0x32b8bf9f
+0,        132,        132,        1,   152064, 0x9c7c2e13
+0,        133,        133,        1,   152064, 0x232e3016
+0,        134,        134,        1,   152064, 0x1b76c08e
+0,        135,        135,        1,   152064, 0x7425d821
+0,        136,        136,        1,   152064, 0x0818ff3c
+0,        137,        137,        1,   152064, 0xb4f2c42b
+0,        138,        138,        1,   152064, 0xe029f979
+0,        139,        139,        1,   152064, 0x97c54c2f
+0,        140,        140,        1,   152064, 0xd101c3b5
+0,        141,        141,        1,   152064, 0x5ed1f5d4
+0,        142,        142,        1,   152064, 0xc28264d1
+0,        143,        143,        1,   152064, 0xa162dd31
+0,        144,        144,        1,   152064, 0x2ee872ce
+0,        145,        145,        1,   152064, 0x809a8fce
+0,        146,        146,        1,   152064, 0xcfcc3ef9
+0,        147,        147,        1,   152064, 0xa5be6ce3
+0,        148,        148,        1,   152064, 0xd75930a0
+0,        149,        149,        1,   152064, 0x28acb80f
+0,        150,        150,        1,   152064, 0x223f2152
+0,        151,        151,        1,   152064, 0x0cf070cb
+0,        152,        152,        1,   152064, 0xcc7d011e
+0,        153,        153,        1,   152064, 0xb2c2a63c
+0,        154,        154,        1,   152064, 0x15514caa
+0,        155,        155,        1,   152064, 0x0c6d18ee
+0,        156,        156,        1,   152064, 0x33b4265d
+0,        157,        157,        1,   152064, 0xb4abaaaf
+0,        158,        158,        1,   152064, 0x26a7a856
+0,        159,        159,        1,   152064, 0xc75249cc
+0,        160,        160,        1,   152064, 0x59ccb0e1
+0,        161,        161,        1,   152064, 0xc613f202
+0,        162,        162,        1,   152064, 0xd1c0e171
+0,        163,        163,        1,   152064, 0xa195da2b
+0,        164,        164,        1,   152064, 0xbc7ed475
+0,        165,        165,        1,   152064, 0x99206e2c
+0,        166,        166,        1,   152064, 0x0ef04e03
+0,        167,        167,        1,   152064, 0x68cbc6a1
+0,        168,        168,        1,   152064, 0x2a5304b1
+0,        169,        169,        1,   152064, 0xf017978b
+0,        170,        170,        1,   152064, 0x94f5641a
+0,        171,        171,        1,   152064, 0xd681bd8f
+0,        172,        172,        1,   152064, 0x16e1e3a3
+0,        173,        173,        1,   152064, 0xe4486c7e
+0,        174,        174,        1,   152064, 0xa1bd394e
+0,        175,        175,        1,   152064, 0x49ad5959
+0,        176,        176,        1,   152064, 0x82219b70
+0,        177,        177,        1,   152064, 0x64e2abcf
+0,        178,        178,        1,   152064, 0x6d7d05d8
+0,        179,        179,        1,   152064, 0xd9ac2251
+0,        180,        180,        1,   152064, 0xf477eee5
+0,        181,        181,        1,   152064, 0xb9826a78
+0,        182,        182,        1,   152064, 0x97828a37
+0,        183,        183,        1,   152064, 0x12099b1f
+0,        184,        184,        1,   152064, 0x1ec45fa7
+0,        185,        185,        1,   152064, 0xfd5501c9
+0,        186,        186,        1,   152064, 0x6a8b26a3
+0,        187,        187,        1,   152064, 0xae58ff40
+0,        188,        188,        1,   152064, 0xc0f47aa1
+0,        189,        189,        1,   152064, 0x08bfa548
+0,        190,        190,        1,   152064, 0x7f2ff5ef
+0,        191,        191,        1,   152064, 0x5efa94a3
+0,        192,        192,        1,   152064, 0xf786f970
+0,        193,        193,        1,   152064, 0xab6bc712
+0,        194,        194,        1,   152064, 0x25647bee
+0,        195,        195,        1,   152064, 0x54333ad5
+0,        196,        196,        1,   152064, 0xb3a99413
+0,        197,        197,        1,   152064, 0xe7a78a0d
+0,        198,        198,        1,   152064, 0xa5054abc
+0,        199,        199,        1,   152064, 0xb94896ea
+0,        200,        200,        1,   152064, 0x9f641bca
+0,        201,        201,        1,   152064, 0x7363901c
+0,        202,        202,        1,   152064, 0xd340a000
+0,        203,        203,        1,   152064, 0x0217f413
+0,        204,        204,        1,   152064, 0xbbdba6e6
+0,        205,        205,        1,   152064, 0xabc42617
+0,        206,        206,        1,   152064, 0xa3442925
+0,        207,        207,        1,   152064, 0x7d06c7e9
+0,        208,        208,        1,   152064, 0xa45e32df
+0,        209,        209,        1,   152064, 0xf5ed407f
+0,        210,        210,        1,   152064, 0x5ec235d5
+0,        211,        211,        1,   152064, 0xa5706635
+0,        212,        212,        1,   152064, 0xa44a209b
+0,        213,        213,        1,   152064, 0xf2137e37
+0,        214,        214,        1,   152064, 0x5220508f
+0,        215,        215,        1,   152064, 0xae6b37da
+0,        216,        216,        1,   152064, 0xdf09b6cd
+0,        217,        217,        1,   152064, 0x2d39e1c0
+0,        218,        218,        1,   152064, 0xc8284a76
+0,        219,        219,        1,   152064, 0x7d7bbe76
+0,        220,        220,        1,   152064, 0xcfed7416
+0,        221,        221,        1,   152064, 0x81caaedd
+0,        222,        222,        1,   152064, 0x9dcdd771
+0,        223,        223,        1,   152064, 0x46c1331b
+0,        224,        224,        1,   152064, 0xace60efa
+0,        225,        225,        1,   152064, 0x9e0909f7
+0,        226,        226,        1,   152064, 0x72f5a321
+0,        227,        227,        1,   152064, 0x68f8cdcc
+0,        228,        228,        1,   152064, 0xcc59fdd9
+0,        229,        229,        1,   152064, 0xc0a700c6
+0,        230,        230,        1,   152064, 0xf4254dcf
+0,        231,        231,        1,   152064, 0xc59b46d1
+0,        232,        232,        1,   152064, 0x2e5b2524
+0,        233,        233,        1,   152064, 0x46051293
+0,        234,        234,        1,   152064, 0x3cbcd1cd
+0,        235,        235,        1,   152064, 0x9f308587
+0,        236,        236,        1,   152064, 0x6b91633f
+0,        237,        237,        1,   152064, 0xb7191012
+0,        238,        238,        1,   152064, 0xd2fd030f
+0,        239,        239,        1,   152064, 0x15a0ae2e
+0,        240,        240,        1,   152064, 0xac3920d0
+0,        241,        241,        1,   152064, 0x0eef80aa
+0,        242,        242,        1,   152064, 0x319008f1
+0,        243,        243,        1,   152064, 0x7734450c
+0,        244,        244,        1,   152064, 0xf112df62
+0,        245,        245,        1,   152064, 0x1dd8ffae
+0,        246,        246,        1,   152064, 0x655ef429
+0,        247,        247,        1,   152064, 0x27026213
+0,        248,        248,        1,   152064, 0x5c14b015
+0,        249,        249,        1,   152064, 0x9512abeb
+0,        250,        250,        1,   152064, 0x961812b2
+0,        251,        251,        1,   152064, 0xb8890aea
+0,        252,        252,        1,   152064, 0x4519db9a
+0,        253,        253,        1,   152064, 0xf358034a
+0,        254,        254,        1,   152064, 0x45d9f2ab
+0,        255,        255,        1,   152064, 0xebd47e7d
+0,        256,        256,        1,   152064, 0x15578be9
+0,        257,        257,        1,   152064, 0x1b373b2d
+0,        258,        258,        1,   152064, 0xbbe707e5
+0,        259,        259,        1,   152064, 0x5bf62385
+0,        260,        260,        1,   152064, 0x832e6ef5
+0,        261,        261,        1,   152064, 0x761e5968
+0,        262,        262,        1,   152064, 0x251f984d
+0,        263,        263,        1,   152064, 0xbda48899
+0,        264,        264,        1,   152064, 0x3fd843b9
+0,        265,        265,        1,   152064, 0x00485425
+0,        266,        266,        1,   152064, 0x4e282b39
+0,        267,        267,        1,   152064, 0x2630a8ea
+0,        268,        268,        1,   152064, 0x5ea5c973
+0,        269,        269,        1,   152064, 0xfc436d21
+0,        270,        270,        1,   152064, 0x69852ef5
+0,        271,        271,        1,   152064, 0x44cb5589
+0,        272,        272,        1,   152064, 0x32f32725
+0,        273,        273,        1,   152064, 0x54d50aca
+0,        274,        274,        1,   152064, 0xe7a639bb
+0,        275,        275,        1,   152064, 0x01be2ad5
+0,        276,        276,        1,   152064, 0x5c63eca4
+0,        277,        277,        1,   152064, 0x94e91116
+0,        278,        278,        1,   152064, 0x9a8be637
+0,        279,        279,        1,   152064, 0x165d9a12
+0,        280,        280,        1,   152064, 0x8c25ca0a
+0,        281,        281,        1,   152064, 0x4ee2ed32
+0,        282,        282,        1,   152064, 0x4b2fe0c6
+0,        283,        283,        1,   152064, 0x521e434e
+0,        284,        284,        1,   152064, 0x97679d7e
+0,        285,        285,        1,   152064, 0x886b9506
+0,        286,        286,        1,   152064, 0x4283eda8
+0,        287,        287,        1,   152064, 0xef793c49
+0,        288,        288,        1,   152064, 0x68ac2afe
+0,        289,        289,        1,   152064, 0x3d1ab510
+0,        290,        290,        1,   152064, 0x98d3ec95
+0,        291,        291,        1,   152064, 0x09f7e512
+0,        292,        292,        1,   152064, 0x801355dd
+0,        293,        293,        1,   152064, 0xf2e87a11
+0,        294,        294,        1,   152064, 0x16757601
+0,        295,        295,        1,   152064, 0x3074d74a
+0,        296,        296,        1,   152064, 0xec8c1290
+0,        297,        297,        1,   152064, 0x46fb1877
+0,        298,        298,        1,   152064, 0xf0b662c4
+0,        299,        299,        1,   152064, 0xf8683940
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a b/tests/ref/fate/h264-conformance-frext-hpcvfl_bcrm_a
index b208184..dbfec43 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,          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
+0,          0,          0,        1,   152064, 0x502ec077
+0,          1,          1,        1,   152064, 0x84807243
+0,          2,          2,        1,   152064, 0xd7474a6e
+0,          3,          3,        1,   152064, 0x793469bb
+0,          4,          4,        1,   152064, 0xb7a0faf7
+0,          5,          5,        1,   152064, 0x1d3d3cba
+0,          6,          6,        1,   152064, 0xb62583de
+0,          7,          7,        1,   152064, 0xc8422fb1
+0,          8,          8,        1,   152064, 0x321dc699
+0,          9,          9,        1,   152064, 0x7a34d350
+0,         10,         10,        1,   152064, 0xaa4c302d
+0,         11,         11,        1,   152064, 0x45fa7ab0
+0,         12,         12,        1,   152064, 0xc7262e41
+0,         13,         13,        1,   152064, 0x3550000c
+0,         14,         14,        1,   152064, 0xf4bab54b
+0,         15,         15,        1,   152064, 0xaccf9c1a
+0,         16,         16,        1,   152064, 0x9bee20e9
+0,         17,         17,        1,   152064, 0x47fb7720
+0,         18,         18,        1,   152064, 0x12c63ffb
+0,         19,         19,        1,   152064, 0xfa2b8b4d
+0,         20,         20,        1,   152064, 0x279964bd
+0,         21,         21,        1,   152064, 0xb8b01c7e
+0,         22,         22,        1,   152064, 0x816fa010
+0,         23,         23,        1,   152064, 0x59fe1c8c
+0,         24,         24,        1,   152064, 0x13393fad
+0,         25,         25,        1,   152064, 0x991a50a4
+0,         26,         26,        1,   152064, 0x57df3eb7
+0,         27,         27,        1,   152064, 0x744371df
+0,         28,         28,        1,   152064, 0xe9f6d3ff
+0,         29,         29,        1,   152064, 0xc506fba0
+0,         30,         30,        1,   152064, 0x6295b90e
+0,         31,         31,        1,   152064, 0xa19cee2d
+0,         32,         32,        1,   152064, 0xf8c1b3ca
+0,         33,         33,        1,   152064, 0x69f68ce0
+0,         34,         34,        1,   152064, 0x80558bb6
+0,         35,         35,        1,   152064, 0x27824fa5
+0,         36,         36,        1,   152064, 0x27c929a1
+0,         37,         37,        1,   152064, 0xc0fe06d1
+0,         38,         38,        1,   152064, 0xc52bc58c
+0,         39,         39,        1,   152064, 0x0a5363c7
+0,         40,         40,        1,   152064, 0xd0f45a0d
+0,         41,         41,        1,   152064, 0x274710f9
+0,         42,         42,        1,   152064, 0x89d2d390
+0,         43,         43,        1,   152064, 0x12a9bfb0
+0,         44,         44,        1,   152064, 0x04501a93
+0,         45,         45,        1,   152064, 0xf92cbbf4
+0,         46,         46,        1,   152064, 0xf6d1b27d
+0,         47,         47,        1,   152064, 0xe3e904c3
+0,         48,         48,        1,   152064, 0x58f8516d
+0,         49,         49,        1,   152064, 0x70370c2b
+0,         50,         50,        1,   152064, 0xfeebc88c
+0,         51,         51,        1,   152064, 0x974c6ed6
+0,         52,         52,        1,   152064, 0x401bdcf2
+0,         53,         53,        1,   152064, 0xfe61e278
+0,         54,         54,        1,   152064, 0x96ba8bb9
+0,         55,         55,        1,   152064, 0x988492fd
+0,         56,         56,        1,   152064, 0xd1d913a9
+0,         57,         57,        1,   152064, 0x6bc46f0e
+0,         58,         58,        1,   152064, 0x695ef706
+0,         59,         59,        1,   152064, 0x142045c9
+0,         60,         60,        1,   152064, 0xb390ed87
+0,         61,         61,        1,   152064, 0xb9e6d2e5
+0,         62,         62,        1,   152064, 0xe348797f
+0,         63,         63,        1,   152064, 0x1cbd29d6
+0,         64,         64,        1,   152064, 0xbd7dd694
+0,         65,         65,        1,   152064, 0x516873c3
+0,         66,         66,        1,   152064, 0x27bba182
+0,         67,         67,        1,   152064, 0x7541f920
+0,         68,         68,        1,   152064, 0xfdf67042
+0,         69,         69,        1,   152064, 0x6c3c7896
+0,         70,         70,        1,   152064, 0xed86c467
+0,         71,         71,        1,   152064, 0x4ea83ca2
+0,         72,         72,        1,   152064, 0xa3e6725b
+0,         73,         73,        1,   152064, 0x917f5f16
+0,         74,         74,        1,   152064, 0x8cf2d2e1
+0,         75,         75,        1,   152064, 0x57a8d116
+0,         76,         76,        1,   152064, 0x0db267d4
+0,         77,         77,        1,   152064, 0xce782ac5
+0,         78,         78,        1,   152064, 0x1c9d8518
+0,         79,         79,        1,   152064, 0x47598ac7
+0,         80,         80,        1,   152064, 0xc5033d97
+0,         81,         81,        1,   152064, 0xd7aaa3a4
+0,         82,         82,        1,   152064, 0x078afc96
+0,         83,         83,        1,   152064, 0xc9fe673d
+0,         84,         84,        1,   152064, 0xe9284066
+0,         85,         85,        1,   152064, 0xbc570982
+0,         86,         86,        1,   152064, 0x0aac8574
+0,         87,         87,        1,   152064, 0x098cbeee
+0,         88,         88,        1,   152064, 0x19c36a9d
+0,         89,         89,        1,   152064, 0x8fe4a893
+0,         90,         90,        1,   152064, 0x0b652f17
+0,         91,         91,        1,   152064, 0x10f2e6bf
+0,         92,         92,        1,   152064, 0x7ce5634e
+0,         93,         93,        1,   152064, 0x8fe4ac6c
+0,         94,         94,        1,   152064, 0xcaba749e
+0,         95,         95,        1,   152064, 0x5f8a0d5c
+0,         96,         96,        1,   152064, 0xcaa66bbc
+0,         97,         97,        1,   152064, 0xc87ae617
+0,         98,         98,        1,   152064, 0xe8ef4dd7
+0,         99,         99,        1,   152064, 0xdfca5a07
+0,        100,        100,        1,   152064, 0x5f7eab7d
+0,        101,        101,        1,   152064, 0x8a65ebbb
+0,        102,        102,        1,   152064, 0x4beab4a0
+0,        103,        103,        1,   152064, 0xb5e6ab30
+0,        104,        104,        1,   152064, 0x8fe4f4d4
+0,        105,        105,        1,   152064, 0x95bde1ca
+0,        106,        106,        1,   152064, 0xcc5e3a53
+0,        107,        107,        1,   152064, 0xf09f1dd7
+0,        108,        108,        1,   152064, 0x10179672
+0,        109,        109,        1,   152064, 0x4ad16184
+0,        110,        110,        1,   152064, 0x9efa0e23
+0,        111,        111,        1,   152064, 0x22f59522
+0,        112,        112,        1,   152064, 0x4d38f09d
+0,        113,        113,        1,   152064, 0x4c5ebf56
+0,        114,        114,        1,   152064, 0xb19d5077
+0,        115,        115,        1,   152064, 0xa98576b9
+0,        116,        116,        1,   152064, 0x65324239
+0,        117,        117,        1,   152064, 0x709e4031
+0,        118,        118,        1,   152064, 0xf8e81681
+0,        119,        119,        1,   152064, 0x058514e5
+0,        120,        120,        1,   152064, 0xd1d1c806
+0,        121,        121,        1,   152064, 0x0e4dde57
+0,        122,        122,        1,   152064, 0x49e9c2bb
+0,        123,        123,        1,   152064, 0x01417ce6
+0,        124,        124,        1,   152064, 0xda7ebbf1
+0,        125,        125,        1,   152064, 0xa22906b7
+0,        126,        126,        1,   152064, 0x32e2df87
+0,        127,        127,        1,   152064, 0x69917c8f
+0,        128,        128,        1,   152064, 0xea8ed2cc
+0,        129,        129,        1,   152064, 0x0b8d57f1
+0,        130,        130,        1,   152064, 0x5f683bcd
+0,        131,        131,        1,   152064, 0x5162fe2f
+0,        132,        132,        1,   152064, 0x49c052f8
+0,        133,        133,        1,   152064, 0x990b69ba
+0,        134,        134,        1,   152064, 0xa6d4f99f
+0,        135,        135,        1,   152064, 0xe79ef4da
+0,        136,        136,        1,   152064, 0x5e8a3847
+0,        137,        137,        1,   152064, 0x38b1e75f
+0,        138,        138,        1,   152064, 0xf5c91bed
+0,        139,        139,        1,   152064, 0xd59a6d26
+0,        140,        140,        1,   152064, 0xc361de06
+0,        141,        141,        1,   152064, 0x63ed2229
+0,        142,        142,        1,   152064, 0xb8229205
+0,        143,        143,        1,   152064, 0x7c6619af
+0,        144,        144,        1,   152064, 0x4126b02f
+0,        145,        145,        1,   152064, 0x9250b99b
+0,        146,        146,        1,   152064, 0x589778f9
+0,        147,        147,        1,   152064, 0xed1fa45b
+0,        148,        148,        1,   152064, 0x700b6f32
+0,        149,        149,        1,   152064, 0x0590df55
+0,        150,        150,        1,   152064, 0x3e9c4018
+0,        151,        151,        1,   152064, 0x957b8860
+0,        152,        152,        1,   152064, 0x56161560
+0,        153,        153,        1,   152064, 0xbc43bc3b
+0,        154,        154,        1,   152064, 0x508d8632
+0,        155,        155,        1,   152064, 0xbc5736d8
+0,        156,        156,        1,   152064, 0xed7d3aef
+0,        157,        157,        1,   152064, 0x1dcdda9f
+0,        158,        158,        1,   152064, 0x8ef6d5c9
+0,        159,        159,        1,   152064, 0x15466acc
+0,        160,        160,        1,   152064, 0x45d4cf67
+0,        161,        161,        1,   152064, 0x8c900b9d
+0,        162,        162,        1,   152064, 0x747006e0
+0,        163,        163,        1,   152064, 0xac920a0c
+0,        164,        164,        1,   152064, 0xb8210c27
+0,        165,        165,        1,   152064, 0x7dbb873a
+0,        166,        166,        1,   152064, 0x0d4d7584
+0,        167,        167,        1,   152064, 0xefb3fe60
+0,        168,        168,        1,   152064, 0x905e2644
+0,        169,        169,        1,   152064, 0x7c04e534
+0,        170,        170,        1,   152064, 0x8889972a
+0,        171,        171,        1,   152064, 0x21c7d8ad
+0,        172,        172,        1,   152064, 0x1c641176
+0,        173,        173,        1,   152064, 0xf71489a4
+0,        174,        174,        1,   152064, 0xd7ac5555
+0,        175,        175,        1,   152064, 0xb4609c6d
+0,        176,        176,        1,   152064, 0xf5b2bd5e
+0,        177,        177,        1,   152064, 0x9f43ce57
+0,        178,        178,        1,   152064, 0x77642dd3
+0,        179,        179,        1,   152064, 0x3e79565c
+0,        180,        180,        1,   152064, 0x95f40b8e
+0,        181,        181,        1,   152064, 0x3c8ca4d4
+0,        182,        182,        1,   152064, 0xa02ac497
+0,        183,        183,        1,   152064, 0x4c93b377
+0,        184,        184,        1,   152064, 0x55f5ac68
+0,        185,        185,        1,   152064, 0xf8652eca
+0,        186,        186,        1,   152064, 0x56e94574
+0,        187,        187,        1,   152064, 0x6d8302e1
+0,        188,        188,        1,   152064, 0x29a57061
+0,        189,        189,        1,   152064, 0x24e4cfdc
+0,        190,        190,        1,   152064, 0xf5a5d62a
+0,        191,        191,        1,   152064, 0x998870c1
+0,        192,        192,        1,   152064, 0xa15b1f4e
+0,        193,        193,        1,   152064, 0xb0ccb51f
+0,        194,        194,        1,   152064, 0xeaaf59ab
+0,        195,        195,        1,   152064, 0x7e2b4fe6
+0,        196,        196,        1,   152064, 0x72299fea
+0,        197,        197,        1,   152064, 0x769da8b2
+0,        198,        198,        1,   152064, 0xefad7ef8
+0,        199,        199,        1,   152064, 0x24819983
+0,        200,        200,        1,   152064, 0x2aad32ab
+0,        201,        201,        1,   152064, 0xc80cac79
+0,        202,        202,        1,   152064, 0x1659d628
+0,        203,        203,        1,   152064, 0xef941f66
+0,        204,        204,        1,   152064, 0x0d7fcdb5
+0,        205,        205,        1,   152064, 0x7c1853fa
+0,        206,        206,        1,   152064, 0xb94c4d3c
+0,        207,        207,        1,   152064, 0xc47adfc2
+0,        208,        208,        1,   152064, 0x366a6729
+0,        209,        209,        1,   152064, 0x7eb37b70
+0,        210,        210,        1,   152064, 0xafd54c27
+0,        211,        211,        1,   152064, 0x67b18636
+0,        212,        212,        1,   152064, 0x93b22dcf
+0,        213,        213,        1,   152064, 0xa64991f1
+0,        214,        214,        1,   152064, 0xd32a7102
+0,        215,        215,        1,   152064, 0xff665d1c
+0,        216,        216,        1,   152064, 0xf107cc31
+0,        217,        217,        1,   152064, 0xf5b25652
+0,        218,        218,        1,   152064, 0x8caf783d
+0,        219,        219,        1,   152064, 0x72f3eb00
+0,        220,        220,        1,   152064, 0xb5aea5f8
+0,        221,        221,        1,   152064, 0xee70e870
+0,        222,        222,        1,   152064, 0x7c3a0156
+0,        223,        223,        1,   152064, 0x871b6383
+0,        224,        224,        1,   152064, 0x48d831ff
+0,        225,        225,        1,   152064, 0xca233913
+0,        226,        226,        1,   152064, 0xe14bc5eb
+0,        227,        227,        1,   152064, 0x9b1d27e7
+0,        228,        228,        1,   152064, 0xfb9637f7
+0,        229,        229,        1,   152064, 0x0c022157
+0,        230,        230,        1,   152064, 0x16d35fc9
+0,        231,        231,        1,   152064, 0x6d935f71
+0,        232,        232,        1,   152064, 0xae4066fa
+0,        233,        233,        1,   152064, 0xcef94fdc
+0,        234,        234,        1,   152064, 0xc234edb9
+0,        235,        235,        1,   152064, 0x26a4f2e2
+0,        236,        236,        1,   152064, 0xd29ac23e
+0,        237,        237,        1,   152064, 0xb7604395
+0,        238,        238,        1,   152064, 0x408084f6
+0,        239,        239,        1,   152064, 0x0a02026c
+0,        240,        240,        1,   152064, 0x78b33c7c
+0,        241,        241,        1,   152064, 0xcb02b874
+0,        242,        242,        1,   152064, 0xf566513b
+0,        243,        243,        1,   152064, 0xb34e52b1
+0,        244,        244,        1,   152064, 0xf55ff493
+0,        245,        245,        1,   152064, 0xb0e8282a
+0,        246,        246,        1,   152064, 0xe9510bbe
+0,        247,        247,        1,   152064, 0x292e8c5a
+0,        248,        248,        1,   152064, 0x62b9d2b0
+0,        249,        249,        1,   152064, 0x3a8cc827
+0,        250,        250,        1,   152064, 0x25cc465e
+0,        251,        251,        1,   152064, 0xf2bc32e2
+0,        252,        252,        1,   152064, 0x6141f914
+0,        253,        253,        1,   152064, 0x1171256f
+0,        254,        254,        1,   152064, 0x13cb2ded
+0,        255,        255,        1,   152064, 0x3d4ca557
+0,        256,        256,        1,   152064, 0xf2b9e72e
+0,        257,        257,        1,   152064, 0x03f7547a
+0,        258,        258,        1,   152064, 0xc7302955
+0,        259,        259,        1,   152064, 0xe78a46d3
+0,        260,        260,        1,   152064, 0x3726a270
+0,        261,        261,        1,   152064, 0x2f65722a
+0,        262,        262,        1,   152064, 0x55acce40
+0,        263,        263,        1,   152064, 0xf6fa9db2
+0,        264,        264,        1,   152064, 0x70a36937
+0,        265,        265,        1,   152064, 0x9313742d
+0,        266,        266,        1,   152064, 0x2eb14e53
+0,        267,        267,        1,   152064, 0x3d47c9c3
+0,        268,        268,        1,   152064, 0xd0a90348
+0,        269,        269,        1,   152064, 0x6ad48088
+0,        270,        270,        1,   152064, 0x68e64738
+0,        271,        271,        1,   152064, 0x04c3735a
+0,        272,        272,        1,   152064, 0x51d0593f
+0,        273,        273,        1,   152064, 0x42cf2b48
+0,        274,        274,        1,   152064, 0xa5496a0c
+0,        275,        275,        1,   152064, 0x84c25549
+0,        276,        276,        1,   152064, 0x96691600
+0,        277,        277,        1,   152064, 0x423135db
+0,        278,        278,        1,   152064, 0x8d2e08b6
+0,        279,        279,        1,   152064, 0xaeb4c840
+0,        280,        280,        1,   152064, 0xf3e71780
+0,        281,        281,        1,   152064, 0x8858228b
+0,        282,        282,        1,   152064, 0xf28613f8
+0,        283,        283,        1,   152064, 0xb5327882
+0,        284,        284,        1,   152064, 0xbb60bb85
+0,        285,        285,        1,   152064, 0x345ab1c9
+0,        286,        286,        1,   152064, 0x8aac2cba
+0,        287,        287,        1,   152064, 0x7ce15b4c
+0,        288,        288,        1,   152064, 0xc09c55c0
+0,        289,        289,        1,   152064, 0x8482ddd6
+0,        290,        290,        1,   152064, 0xab222a13
+0,        291,        291,        1,   152064, 0xd39b0dea
+0,        292,        292,        1,   152064, 0x6dab6e06
+0,        293,        293,        1,   152064, 0xec0891bd
+0,        294,        294,        1,   152064, 0x88bd9701
+0,        295,        295,        1,   152064, 0xdf13072a
+0,        296,        296,        1,   152064, 0x23b33081
+0,        297,        297,        1,   152064, 0x63943137
+0,        298,        298,        1,   152064, 0xab6a9052
+0,        299,        299,        1,   152064, 0x05485494
diff --git a/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a b/tests/ref/fate/h264-conformance-frext-hpcvflnl_bcrm_a
index aafb2d4..65a366e 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,          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
+0,          0,          0,        1,   152064, 0x3e39c08b
+0,          1,          1,        1,   152064, 0xabc67990
+0,          2,          2,        1,   152064, 0x19614e74
+0,          3,          3,        1,   152064, 0xa3776beb
+0,          4,          4,        1,   152064, 0xcce6ffdf
+0,          5,          5,        1,   152064, 0xb0e94746
+0,          6,          6,        1,   152064, 0xdb1a84ef
+0,          7,          7,        1,   152064, 0xb2624509
+0,          8,          8,        1,   152064, 0x32e2d826
+0,          9,          9,        1,   152064, 0xb3bddf0b
+0,         10,         10,        1,   152064, 0x2e273ce3
+0,         11,         11,        1,   152064, 0x67af7e4d
+0,         12,         12,        1,   152064, 0x505c3261
+0,         13,         13,        1,   152064, 0xa43d015e
+0,         14,         14,        1,   152064, 0xad41c1f6
+0,         15,         15,        1,   152064, 0x633ba55f
+0,         16,         16,        1,   152064, 0xe80634f0
+0,         17,         17,        1,   152064, 0x80a07dc9
+0,         18,         18,        1,   152064, 0x0e7a3bbf
+0,         19,         19,        1,   152064, 0xcb099196
+0,         20,         20,        1,   152064, 0x57c96db5
+0,         21,         21,        1,   152064, 0xccd422fa
+0,         22,         22,        1,   152064, 0x0850b7a7
+0,         23,         23,        1,   152064, 0x30e33156
+0,         24,         24,        1,   152064, 0x34e13f9a
+0,         25,         25,        1,   152064, 0x03d36000
+0,         26,         26,        1,   152064, 0xbf7d49da
+0,         27,         27,        1,   152064, 0x77336d09
+0,         28,         28,        1,   152064, 0xca8be5a9
+0,         29,         29,        1,   152064, 0xe57c0b08
+0,         30,         30,        1,   152064, 0xbe77c093
+0,         31,         31,        1,   152064, 0x6bf1ff05
+0,         32,         32,        1,   152064, 0x9142babf
+0,         33,         33,        1,   152064, 0x08db8e67
+0,         34,         34,        1,   152064, 0x69ac8cb6
+0,         35,         35,        1,   152064, 0xaa3b5c88
+0,         36,         36,        1,   152064, 0x9bd32638
+0,         37,         37,        1,   152064, 0x7972115a
+0,         38,         38,        1,   152064, 0x5c1dd47b
+0,         39,         39,        1,   152064, 0x8a196e02
+0,         40,         40,        1,   152064, 0xa89672bc
+0,         41,         41,        1,   152064, 0x27b220e4
+0,         42,         42,        1,   152064, 0xfa38dc4a
+0,         43,         43,        1,   152064, 0x4784c639
+0,         44,         44,        1,   152064, 0xa5e4229a
+0,         45,         45,        1,   152064, 0xa986bdfc
+0,         46,         46,        1,   152064, 0x2951b47b
+0,         47,         47,        1,   152064, 0x4df404a6
+0,         48,         48,        1,   152064, 0xc75155e8
+0,         49,         49,        1,   152064, 0xfc05248c
+0,         50,         50,        1,   152064, 0x5d53da10
+0,         51,         51,        1,   152064, 0x284376ec
+0,         52,         52,        1,   152064, 0x19fce380
+0,         53,         53,        1,   152064, 0x876be6c9
+0,         54,         54,        1,   152064, 0x39eb8ff9
+0,         55,         55,        1,   152064, 0x289c9543
+0,         56,         56,        1,   152064, 0x24dd2356
+0,         57,         57,        1,   152064, 0x1dc17d3c
+0,         58,         58,        1,   152064, 0xd17c00ac
+0,         59,         59,        1,   152064, 0xc2ad54de
+0,         60,         60,        1,   152064, 0xbe11ee2f
+0,         61,         61,        1,   152064, 0x3db9dc89
+0,         62,         62,        1,   152064, 0xac0d7bc2
+0,         63,         63,        1,   152064, 0x8dab2dde
+0,         64,         64,        1,   152064, 0x566ad225
+0,         65,         65,        1,   152064, 0x587c7853
+0,         66,         66,        1,   152064, 0x601c9c80
+0,         67,         67,        1,   152064, 0x2afaf751
+0,         68,         68,        1,   152064, 0x1c9f7e3a
+0,         69,         69,        1,   152064, 0x899475bf
+0,         70,         70,        1,   152064, 0x0d65c7d9
+0,         71,         71,        1,   152064, 0xafd63d12
+0,         72,         72,        1,   152064, 0x162e62b9
+0,         73,         73,        1,   152064, 0x5c9554be
+0,         74,         74,        1,   152064, 0x35fbdaa2
+0,         75,         75,        1,   152064, 0x6438cbd8
+0,         76,         76,        1,   152064, 0xde0772c9
+0,         77,         77,        1,   152064, 0x79f82854
+0,         78,         78,        1,   152064, 0x86957840
+0,         79,         79,        1,   152064, 0xd9468cbf
+0,         80,         80,        1,   152064, 0x23e74609
+0,         81,         81,        1,   152064, 0x3919a146
+0,         82,         82,        1,   152064, 0xd641078b
+0,         83,         83,        1,   152064, 0x24397220
+0,         84,         84,        1,   152064, 0xe7fc3a7c
+0,         85,         85,        1,   152064, 0x3997154a
+0,         86,         86,        1,   152064, 0x2af3952c
+0,         87,         87,        1,   152064, 0x274ac07a
+0,         88,         88,        1,   152064, 0x288f7b09
+0,         89,         89,        1,   152064, 0xe6f9b022
+0,         90,         90,        1,   152064, 0xf09e2fbb
+0,         91,         91,        1,   152064, 0x7244e477
+0,         92,         92,        1,   152064, 0x0dfc72eb
+0,         93,         93,        1,   152064, 0x0322b21f
+0,         94,         94,        1,   152064, 0x18b08205
+0,         95,         95,        1,   152064, 0x6606153e
+0,         96,         96,        1,   152064, 0x85186272
+0,         97,         97,        1,   152064, 0x3369f064
+0,         98,         98,        1,   152064, 0xbe0d5a44
+0,         99,         99,        1,   152064, 0x320258bb
+0,        100,        100,        1,   152064, 0x4d6fb091
+0,        101,        101,        1,   152064, 0xc9bbf5e7
+0,        102,        102,        1,   152064, 0x0aa1b69b
+0,        103,        103,        1,   152064, 0x85b9ac11
+0,        104,        104,        1,   152064, 0xb25ff818
+0,        105,        105,        1,   152064, 0xa155dc25
+0,        106,        106,        1,   152064, 0xa8e03bfd
+0,        107,        107,        1,   152064, 0x0a862956
+0,        108,        108,        1,   152064, 0x11b49264
+0,        109,        109,        1,   152064, 0xa94e664e
+0,        110,        110,        1,   152064, 0x330e0fa2
+0,        111,        111,        1,   152064, 0xaf3d9518
+0,        112,        112,        1,   152064, 0x0836f2e8
+0,        113,        113,        1,   152064, 0xbf6dc578
+0,        114,        114,        1,   152064, 0x7b524d20
+0,        115,        115,        1,   152064, 0x9ef7677f
+0,        116,        116,        1,   152064, 0xeacf3f34
+0,        117,        117,        1,   152064, 0xfb4e3dbe
+0,        118,        118,        1,   152064, 0xb46e25cb
+0,        119,        119,        1,   152064, 0x363c1603
+0,        120,        120,        1,   152064, 0x263fc542
+0,        121,        121,        1,   152064, 0xf106e548
+0,        122,        122,        1,   152064, 0xde43c56a
+0,        123,        123,        1,   152064, 0xc2c4770a
+0,        124,        124,        1,   152064, 0x122fce19
+0,        125,        125,        1,   152064, 0x3ba01434
+0,        126,        126,        1,   152064, 0x0e8ce5ee
+0,        127,        127,        1,   152064, 0x6ceb82e1
+0,        128,        128,        1,   152064, 0xa23ee21c
+0,        129,        129,        1,   152064, 0xc6d960f9
+0,        130,        130,        1,   152064, 0x0de15258
+0,        131,        131,        1,   152064, 0x187b0333
+0,        132,        132,        1,   152064, 0x92e6582f
+0,        133,        133,        1,   152064, 0xb9586ce0
+0,        134,        134,        1,   152064, 0xefd803b5
+0,        135,        135,        1,   152064, 0x24eafb29
+0,        136,        136,        1,   152064, 0x20c73b14
+0,        137,        137,        1,   152064, 0xbd7ceaaa
+0,        138,        138,        1,   152064, 0x775216c8
+0,        139,        139,        1,   152064, 0xa08971c7
+0,        140,        140,        1,   152064, 0xef0ee865
+0,        141,        141,        1,   152064, 0x9ac61c2f
+0,        142,        142,        1,   152064, 0x52ae8ea9
+0,        143,        143,        1,   152064, 0x06571c14
+0,        144,        144,        1,   152064, 0x6e78ad33
+0,        145,        145,        1,   152064, 0xad01c627
+0,        146,        146,        1,   152064, 0xbfe074d3
+0,        147,        147,        1,   152064, 0x9357a183
+0,        148,        148,        1,   152064, 0x8de7767f
+0,        149,        149,        1,   152064, 0xa5e6e76e
+0,        150,        150,        1,   152064, 0xa6f646fe
+0,        151,        151,        1,   152064, 0x132e99f8
+0,        152,        152,        1,   152064, 0xb79f27de
+0,        153,        153,        1,   152064, 0x36d3cdcf
+0,        154,        154,        1,   152064, 0xdc938336
+0,        155,        155,        1,   152064, 0xacaa3a7f
+0,        156,        156,        1,   152064, 0xc61a37fd
+0,        157,        157,        1,   152064, 0x4fe1ddf0
+0,        158,        158,        1,   152064, 0xc0f7d660
+0,        159,        159,        1,   152064, 0xd72458ea
+0,        160,        160,        1,   152064, 0x6978d123
+0,        161,        161,        1,   152064, 0x64e60ccf
+0,        162,        162,        1,   152064, 0xaa07004c
+0,        163,        163,        1,   152064, 0x07cd1064
+0,        164,        164,        1,   152064, 0xa82320e5
+0,        165,        165,        1,   152064, 0xaedd8d30
+0,        166,        166,        1,   152064, 0x79b082ea
+0,        167,        167,        1,   152064, 0x9ed800ab
+0,        168,        168,        1,   152064, 0xde592bb4
+0,        169,        169,        1,   152064, 0xd966df88
+0,        170,        170,        1,   152064, 0xf921988a
+0,        171,        171,        1,   152064, 0x557ad9ae
+0,        172,        172,        1,   152064, 0xc3f31a9a
+0,        173,        173,        1,   152064, 0x65248561
+0,        174,        174,        1,   152064, 0x63df4aa6
+0,        175,        175,        1,   152064, 0x618da0a9
+0,        176,        176,        1,   152064, 0xe6f1c435
+0,        177,        177,        1,   152064, 0x9f90c38f
+0,        178,        178,        1,   152064, 0xd2853e14
+0,        179,        179,        1,   152064, 0x6e0268a9
+0,        180,        180,        1,   152064, 0x393712d1
+0,        181,        181,        1,   152064, 0x470da25f
+0,        182,        182,        1,   152064, 0xaf55cb3d
+0,        183,        183,        1,   152064, 0x6935b8b9
+0,        184,        184,        1,   152064, 0x5409a15f
+0,        185,        185,        1,   152064, 0x09073fee
+0,        186,        186,        1,   152064, 0xfb274e82
+0,        187,        187,        1,   152064, 0x1a770581
+0,        188,        188,        1,   152064, 0x17277d0d
+0,        189,        189,        1,   152064, 0xd4dcd982
+0,        190,        190,        1,   152064, 0x6b04eaf3
+0,        191,        191,        1,   152064, 0x8a3d822e
+0,        192,        192,        1,   152064, 0x1b971ec9
+0,        193,        193,        1,   152064, 0x14e0c0f6
+0,        194,        194,        1,   152064, 0x00667450
+0,        195,        195,        1,   152064, 0xd2385902
+0,        196,        196,        1,   152064, 0x905da6ab
+0,        197,        197,        1,   152064, 0xa3ffb18b
+0,        198,        198,        1,   152064, 0x10d48b19
+0,        199,        199,        1,   152064, 0xb2c7a3bd
+0,        200,        200,        1,   152064, 0x45593e96
+0,        201,        201,        1,   152064, 0x47a0b60c
+0,        202,        202,        1,   152064, 0x68c6d1b9
+0,        203,        203,        1,   152064, 0xbc881fcc
+0,        204,        204,        1,   152064, 0x422cc6f2
+0,        205,        205,        1,   152064, 0x9b686410
+0,        206,        206,        1,   152064, 0x35dc5e86
+0,        207,        207,        1,   152064, 0x247bedaa
+0,        208,        208,        1,   152064, 0x22b76fd1
+0,        209,        209,        1,   152064, 0x67cc7a75
+0,        210,        210,        1,   152064, 0xa197521e
+0,        211,        211,        1,   152064, 0x428c8662
+0,        212,        212,        1,   152064, 0x33dc2c73
+0,        213,        213,        1,   152064, 0x5b538903
+0,        214,        214,        1,   152064, 0x3c4176b6
+0,        215,        215,        1,   152064, 0x774364ba
+0,        216,        216,        1,   152064, 0xf237d03e
+0,        217,        217,        1,   152064, 0xac8746fb
+0,        218,        218,        1,   152064, 0x6b306a84
+0,        219,        219,        1,   152064, 0xa2ace513
+0,        220,        220,        1,   152064, 0x709c9be7
+0,        221,        221,        1,   152064, 0x2403f373
+0,        222,        222,        1,   152064, 0x147bf717
+0,        223,        223,        1,   152064, 0xe58964c8
+0,        224,        224,        1,   152064, 0xa0da36fc
+0,        225,        225,        1,   152064, 0x1ac1355c
+0,        226,        226,        1,   152064, 0x8a31c9f2
+0,        227,        227,        1,   152064, 0x42ba205c
+0,        228,        228,        1,   152064, 0xa11b3575
+0,        229,        229,        1,   152064, 0xcb35207c
+0,        230,        230,        1,   152064, 0x528f6189
+0,        231,        231,        1,   152064, 0x34f05bd7
+0,        232,        232,        1,   152064, 0x72317356
+0,        233,        233,        1,   152064, 0xaabd5028
+0,        234,        234,        1,   152064, 0x13dbeb7b
+0,        235,        235,        1,   152064, 0x62f1e8a8
+0,        236,        236,        1,   152064, 0x1723bfcd
+0,        237,        237,        1,   152064, 0x5c083c00
+0,        238,        238,        1,   152064, 0x52137894
+0,        239,        239,        1,   152064, 0xef1e082c
+0,        240,        240,        1,   152064, 0x664b3d53
+0,        241,        241,        1,   152064, 0x2eb9b296
+0,        242,        242,        1,   152064, 0xd0ca511e
+0,        243,        243,        1,   152064, 0x012d4724
+0,        244,        244,        1,   152064, 0xa847f5af
+0,        245,        245,        1,   152064, 0x483a2fde
+0,        246,        246,        1,   152064, 0xd1ab0257
+0,        247,        247,        1,   152064, 0x414692c7
+0,        248,        248,        1,   152064, 0x0b79df88
+0,        249,        249,        1,   152064, 0xdaa2c4a3
+0,        250,        250,        1,   152064, 0xd1b44500
+0,        251,        251,        1,   152064, 0xfd3d2cf3
+0,        252,        252,        1,   152064, 0xfdc0f748
+0,        253,        253,        1,   152064, 0xce762a2a
+0,        254,        254,        1,   152064, 0x08b63572
+0,        255,        255,        1,   152064, 0x5a46a38d
+0,        256,        256,        1,   152064, 0x03cee9c0
+0,        257,        257,        1,   152064, 0x9ee45473
+0,        258,        258,        1,   152064, 0x5a432386
+0,        259,        259,        1,   152064, 0x54c83d87
+0,        260,        260,        1,   152064, 0xc9caa1de
+0,        261,        261,        1,   152064, 0xa28367f1
+0,        262,        262,        1,   152064, 0x2607cdf1
+0,        263,        263,        1,   152064, 0x06baa8de
+0,        264,        264,        1,   152064, 0xf5346e32
+0,        265,        265,        1,   152064, 0x6d3e732b
+0,        266,        266,        1,   152064, 0x798c584b
+0,        267,        267,        1,   152064, 0x4076c948
+0,        268,        268,        1,   152064, 0x868cf63a
+0,        269,        269,        1,   152064, 0x23107ac5
+0,        270,        270,        1,   152064, 0x306f3fe2
+0,        271,        271,        1,   152064, 0xbd1d71d6
+0,        272,        272,        1,   152064, 0x1429545f
+0,        273,        273,        1,   152064, 0xaded29aa
+0,        274,        274,        1,   152064, 0x9b455a94
+0,        275,        275,        1,   152064, 0xb3774ce7
+0,        276,        276,        1,   152064, 0x92580986
+0,        277,        277,        1,   152064, 0x0eae2f95
+0,        278,        278,        1,   152064, 0x599208b2
+0,        279,        279,        1,   152064, 0x4804c04c
+0,        280,        280,        1,   152064, 0x5f730e8f
+0,        281,        281,        1,   152064, 0x3e501d1e
+0,        282,        282,        1,   152064, 0x32100740
+0,        283,        283,        1,   152064, 0x62226ff8
+0,        284,        284,        1,   152064, 0x7683b622
+0,        285,        285,        1,   152064, 0xc3e0aec1
+0,        286,        286,        1,   152064, 0xfac12608
+0,        287,        287,        1,   152064, 0xb21a5781
+0,        288,        288,        1,   152064, 0x8f1e4964
+0,        289,        289,        1,   152064, 0x0f62dd6e
+0,        290,        290,        1,   152064, 0xac062ac4
+0,        291,        291,        1,   152064, 0x1b320f7a
+0,        292,        292,        1,   152064, 0x346e7211
+0,        293,        293,        1,   152064, 0xe47592f3
+0,        294,        294,        1,   152064, 0xa3a7919c
+0,        295,        295,        1,   152064, 0xa3580fa6
+0,        296,        296,        1,   152064, 0xc73430c1
+0,        297,        297,        1,   152064, 0x994a2c18
+0,        298,        298,        1,   152064, 0x0b5d8d45
+0,        299,        299,        1,   152064, 0x9eed5109
diff --git a/tests/ref/fate/h264-conformance-mr3_tandberg_b b/tests/ref/fate/h264-conformance-mr3_tandberg_b
index 6e0c83a..ee8014e 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,         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
+0,          9,          9,        1,    38016, 0xda748c2f
+0,         10,         10,        1,    38016, 0x7b4dbff0
+0,         11,         11,        1,    38016, 0xd4a1b24a
+0,         12,         12,        1,    38016, 0x714cb4cc
+0,         13,         13,        1,    38016, 0x2c6d80f0
+0,         14,         14,        1,    38016, 0x92266151
+0,         15,         15,        1,    38016, 0x6b766a23
+0,         16,         16,        1,    38016, 0xb24f7efe
+0,         17,         17,        1,    38016, 0x8410838e
+0,         18,         18,        1,    38016, 0x67fe872a
+0,         19,         19,        1,    38016, 0x55b49d36
+0,         20,         20,        1,    38016, 0x7a1c9c41
+0,         21,         21,        1,    38016, 0xb4818e0e
+0,         22,         22,        1,    38016, 0x25f6683c
+0,         23,         23,        1,    38016, 0xe4d141a4
+0,         24,         24,        1,    38016, 0x808216ad
+0,         25,         25,        1,    38016, 0x2acf0baf
+0,         26,         26,        1,    38016, 0xf3de13c4
+0,         27,         27,        1,    38016, 0x5f412187
+0,         28,         28,        1,    38016, 0xb31a340a
+0,         29,         29,        1,    38016, 0x019d42d1
+0,         30,         30,        1,    38016, 0xeeb94b9b
+0,         31,         31,        1,    38016, 0xef55472e
+0,         32,         32,        1,    38016, 0xdb5e3697
+0,         33,         33,        1,    38016, 0x8565303e
+0,         34,         34,        1,    38016, 0x5f9c2c1b
+0,         35,         35,        1,    38016, 0xeb3d27f4
+0,         36,         36,        1,    38016, 0x9a43282d
+0,         37,         37,        1,    38016, 0xe04720c6
+0,         38,         38,        1,    38016, 0x19cc0eba
+0,         39,         39,        1,    38016, 0x218efeb6
+0,         40,         40,        1,    38016, 0x7733f491
+0,         41,         41,        1,    38016, 0x7f3bede9
+0,         42,         42,        1,    38016, 0x49c5ec0d
+0,         43,         43,        1,    38016, 0x803cf19e
+0,         44,         44,        1,    38016, 0x31de0d3f
+0,         45,         45,        1,    38016, 0xa7e30426
+0,         46,         46,        1,    38016, 0xba37f068
+0,         47,         47,        1,    38016, 0x2842bdf8
+0,         48,         48,        1,    38016, 0x76df97dc
+0,         49,         49,        1,    38016, 0xf3246d26
+0,         50,         50,        1,    38016, 0x0a384d72
+0,         51,         51,        1,    38016, 0x40964f41
+0,         52,         52,        1,    38016, 0x46364324
+0,         53,         53,        1,    38016, 0x7cbf3db4
+0,         54,         54,        1,    38016, 0x7a223bec
+0,         55,         55,        1,    38016, 0x458651c1
+0,         56,         56,        1,    38016, 0xb82d7e3c
+0,         57,         57,        1,    38016, 0x0f50a55d
+0,         58,         58,        1,    38016, 0xc306cae4
+0,         59,         59,        1,    38016, 0x9d6ddfcb
+0,         60,         60,        1,    38016, 0xb602e8e9
+0,         61,         61,        1,    38016, 0xbf0ae386
+0,         62,         62,        1,    38016, 0x0a8bd46e
+0,         63,         63,        1,    38016, 0xd437c5c1
+0,         64,         64,        1,    38016, 0xd61d9959
+0,         65,         65,        1,    38016, 0x70639b56
+0,         66,         66,        1,    38016, 0x36fd407b
+0,         67,         67,        1,    38016, 0x58ce3ddd
+0,         68,         68,        1,    38016, 0x86cc1d8c
+0,         69,         69,        1,    38016, 0xee422dc2
+0,         70,         70,        1,    38016, 0xab475639
+0,         71,         71,        1,    38016, 0xc1327ad8
+0,         72,         72,        1,    38016, 0x63d196d4
+0,         73,         73,        1,    38016, 0x1aba8ebd
+0,         74,         74,        1,    38016, 0x74a269ac
+0,         75,         75,        1,    38016, 0x267f3563
+0,         76,         76,        1,    38016, 0xa18ff180
+0,         77,         77,        1,    38016, 0x70c9c9fd
+0,         78,         78,        1,    38016, 0xa6c59f9c
+0,         79,         79,        1,    38016, 0xd7cd8927
+0,         80,         80,        1,    38016, 0xd30b7345
+0,         81,         81,        1,    38016, 0x679a4dda
+0,         82,         82,        1,    38016, 0xeb0562de
+0,         83,         83,        1,    38016, 0xdd7d6cdb
+0,         84,         84,        1,    38016, 0xd6e26b73
+0,         85,         85,        1,    38016, 0xa65a860f
+0,         86,         86,        1,    38016, 0xae95c71e
+0,         87,         87,        1,    38016, 0x1a89ca86
+0,         88,         88,        1,    38016, 0xa33ecee6
+0,         89,         89,        1,    38016, 0x821da6cb
+0,         90,         90,        1,    38016, 0xf0e1612f
+0,         91,         91,        1,    38016, 0x67b8516b
+0,         92,         92,        1,    38016, 0x62f965bc
+0,         93,         93,        1,    38016, 0xd1917aa6
+0,         94,         94,        1,    38016, 0xe72db54d
+0,         95,         95,        1,    38016, 0x9b64e721
+0,         96,         96,        1,    38016, 0xa819efda
+0,         97,         97,        1,    38016, 0xeacfdacb
+0,         98,         98,        1,    38016, 0x52f235e1
+0,         99,         99,        1,    38016, 0x2b512cb8
+0,        100,        100,        1,    38016, 0xaac73fb3
+0,        101,        101,        1,    38016, 0x7d2d504f
+0,        102,        102,        1,    38016, 0x396d503a
+0,        103,        103,        1,    38016, 0x97905235
+0,        104,        104,        1,    38016, 0xf0056693
+0,        105,        105,        1,    38016, 0x728a6a9e
+0,        106,        106,        1,    38016, 0x0eed7824
+0,        107,        107,        1,    38016, 0x59506237
+0,        108,        108,        1,    38016, 0xd4304c93
+0,        109,        109,        1,    38016, 0x7e663ee8
+0,        110,        110,        1,    38016, 0x0ebc2d11
+0,        111,        111,        1,    38016, 0x52db2112
+0,        112,        112,        1,    38016, 0x74aa1815
+0,        113,        113,        1,    38016, 0x57a60dc6
+0,        114,        114,        1,    38016, 0x86e9fa32
+0,        115,        115,        1,    38016, 0x67e8ff09
+0,        116,        116,        1,    38016, 0x26e8f7ea
+0,        117,        117,        1,    38016, 0x183dff56
+0,        118,        118,        1,    38016, 0xa470af8d
+0,        119,        119,        1,    38016, 0xe017d594
+0,        120,        120,        1,    38016, 0xb899d48b
+0,        121,        121,        1,    38016, 0x0d3bc5f7
+0,        122,        122,        1,    38016, 0xd68bbb0d
+0,        123,        123,        1,    38016, 0x8bf5b4cb
+0,        124,        124,        1,    38016, 0x6bfcaa47
+0,        125,        125,        1,    38016, 0x29a9b01b
+0,        126,        126,        1,    38016, 0xcdedbdb7
+0,        127,        127,        1,    38016, 0xdb5ad9c3
+0,        128,        128,        1,    38016, 0x468aeef6
+0,        129,        129,        1,    38016, 0xdc2b143e
+0,        130,        130,        1,    38016, 0x6776277c
+0,        131,        131,        1,    38016, 0xb78d5294
+0,        132,        132,        1,    38016, 0x1dfb63ab
+0,        133,        133,        1,    38016, 0xbd1f99bc
+0,        134,        134,        1,    38016, 0xde16b89a
+0,        135,        135,        1,    38016, 0xbf46edca
+0,        136,        136,        1,    38016, 0x6306e8c4
+0,        137,        137,        1,    38016, 0x7b09d224
+0,        138,        138,        1,    38016, 0xfea1aff6
+0,        139,        139,        1,    38016, 0x183686b0
+0,        140,        140,        1,    38016, 0x665a61ff
+0,        141,        141,        1,    38016, 0xc8af42d1
+0,        142,        142,        1,    38016, 0xe2326bc1
+0,        143,        143,        1,    38016, 0x56dbde82
+0,        144,        144,        1,    38016, 0xa0254f97
+0,        145,        145,        1,    38016, 0x3b74a0b4
+0,        146,        146,        1,    38016, 0x9aee9b7f
+0,        147,        147,        1,    38016, 0xd94b6133
+0,        148,        148,        1,    38016, 0x5819f795
+0,        149,        149,        1,    38016, 0xc45a8c02
+0,        150,        150,        1,    38016, 0x2f9204a0
+0,        151,        151,        1,    38016, 0xbe09e051
+0,        152,        152,        1,    38016, 0xb542badd
+0,        153,        153,        1,    38016, 0x23bd9e00
+0,        154,        154,        1,    38016, 0x4f338d3d
+0,        155,        155,        1,    38016, 0x8c91e8f3
+0,        156,        156,        1,    38016, 0xa7347d57
+0,        157,        157,        1,    38016, 0x6d91de4d
+0,        158,        158,        1,    38016, 0x3443d936
+0,        159,        159,        1,    38016, 0x9d25b4e2
+0,        160,        160,        1,    38016, 0xd93cd4b3
+0,        161,        161,        1,    38016, 0xa1c9e9a0
+0,        162,        162,        1,    38016, 0x1482f220
+0,        163,        163,        1,    38016, 0x1295f270
+0,        164,        164,        1,    38016, 0x399ae9da
+0,        165,        165,        1,    38016, 0x85dcdf28
+0,        166,        166,        1,    38016, 0x4207b9e5
+0,        167,        167,        1,    38016, 0xad1c9d75
+0,        168,        168,        1,    38016, 0x4a266c14
+0,        169,        169,        1,    38016, 0x3afc4508
+0,        170,        170,        1,    38016, 0x2b1b2385
+0,        171,        171,        1,    38016, 0x738f005f
+0,        172,        172,        1,    38016, 0xfec3d833
+0,        173,        173,        1,    38016, 0x3f7f6ae9
+0,        174,        174,        1,    38016, 0xd8551823
+0,        175,        175,        1,    38016, 0x6df03570
+0,        176,        176,        1,    38016, 0x767c3054
+0,        177,        177,        1,    38016, 0x89bd342c
+0,        178,        178,        1,    38016, 0x77ba806c
+0,        179,        179,        1,    38016, 0x1c98005c
+0,        180,        180,        1,    38016, 0xa13ce2a3
+0,        181,        181,        1,    38016, 0x1be59915
+0,        182,        182,        1,    38016, 0x279c6027
+0,        183,        183,        1,    38016, 0x96ac11a2
+0,        184,        184,        1,    38016, 0x3ae95131
+0,        185,        185,        1,    38016, 0xae19f7fe
+0,        186,        186,        1,    38016, 0xcde4efe6
+0,        187,        187,        1,    38016, 0x5ecc3f7a
+0,        188,        188,        1,    38016, 0x79645152
+0,        189,        189,        1,    38016, 0x1ee2e89f
+0,        190,        190,        1,    38016, 0x91d34bb4
+0,        191,        191,        1,    38016, 0xf019d464
+0,        192,        192,        1,    38016, 0x8eb07205
+0,        193,        193,        1,    38016, 0x5399bb5b
+0,        194,        194,        1,    38016, 0x61f0c77a
+0,        195,        195,        1,    38016, 0xb2bd8726
+0,        196,        196,        1,    38016, 0x47b89243
+0,        197,        197,        1,    38016, 0xebfe4d76
+0,        198,        198,        1,    38016, 0xe8f87d91
+0,        199,        199,        1,    38016, 0x5e9fb239
+0,        200,        200,        1,    38016, 0x357ca1f8
+0,        201,        201,        1,    38016, 0x757d2e02
+0,        202,        202,        1,    38016, 0x40672e7c
+0,        203,        203,        1,    38016, 0xd966abca
+0,        204,        204,        1,    38016, 0xe98d0d47
+0,        205,        205,        1,    38016, 0x341babf5
+0,        206,        206,        1,    38016, 0xd12d5a0c
+0,        207,        207,        1,    38016, 0xea2f99ab
+0,        208,        208,        1,    38016, 0x14bce88e
+0,        209,        209,        1,    38016, 0xe4bda9e8
+0,        210,        210,        1,    38016, 0x2c57ec89
+0,        211,        211,        1,    38016, 0x28bbb83e
+0,        212,        212,        1,    38016, 0xf8444b54
+0,        213,        213,        1,    38016, 0x3aba03cd
+0,        214,        214,        1,    38016, 0x373daa20
+0,        215,        215,        1,    38016, 0x69586597
+0,        216,        216,        1,    38016, 0xc0c70d53
+0,        217,        217,        1,    38016, 0x76a5df5a
+0,        218,        218,        1,    38016, 0x1afde8f0
+0,        219,        219,        1,    38016, 0x9638285a
+0,        220,        220,        1,    38016, 0x9f0686c0
+0,        221,        221,        1,    38016, 0xc65b2238
+0,        222,        222,        1,    38016, 0x0d61b610
+0,        223,        223,        1,    38016, 0x78e14e1f
+0,        224,        224,        1,    38016, 0xcf80ac4a
+0,        225,        225,        1,    38016, 0xe094083d
+0,        226,        226,        1,    38016, 0xee5e612e
+0,        227,        227,        1,    38016, 0x51cdad9d
+0,        228,        228,        1,    38016, 0xae41100e
+0,        229,        229,        1,    38016, 0x77558f58
+0,        230,        230,        1,    38016, 0xb9503b95
+0,        231,        231,        1,    38016, 0xb71dffeb
+0,        232,        232,        1,    38016, 0x1872e3e6
+0,        233,        233,        1,    38016, 0x29c3d252
+0,        234,        234,        1,    38016, 0x1c77c6ec
+0,        235,        235,        1,    38016, 0x26feb194
+0,        236,        236,        1,    38016, 0x3307c3c4
+0,        237,        237,        1,    38016, 0x8e5a8080
+0,        238,        238,        1,    38016, 0x933472f7
+0,        239,        239,        1,    38016, 0xd4768d84
+0,        240,        240,        1,    38016, 0x3324485f
+0,        241,        241,        1,    38016, 0xd50af078
+0,        242,        242,        1,    38016, 0x53820752
+0,        243,        243,        1,    38016, 0xbe7f1c47
+0,        244,        244,        1,    38016, 0xe43d3a34
+0,        245,        245,        1,    38016, 0x57194b82
+0,        246,        246,        1,    38016, 0x68a052ed
+0,        247,        247,        1,    38016, 0x5c898052
+0,        248,        248,        1,    38016, 0x7104a6ad
+0,        249,        249,        1,    38016, 0x1676b5e8
+0,        250,        250,        1,    38016, 0xe1cfd375
+0,        251,        251,        1,    38016, 0x16fede04
+0,        252,        252,        1,    38016, 0xca49dd4a
+0,        253,        253,        1,    38016, 0x7b98d9d1
+0,        254,        254,        1,    38016, 0x4020d210
+0,        255,        255,        1,    38016, 0x62c5d1e4
+0,        256,        256,        1,    38016, 0x756abdb4
+0,        257,        257,        1,    38016, 0x558fb00f
+0,        258,        258,        1,    38016, 0x4ab0b1f1
+0,        259,        259,        1,    38016, 0x7c9fb0c2
+0,        260,        260,        1,    38016, 0xcecfbdd0
+0,        261,        261,        1,    38016, 0x70e6d174
+0,        262,        262,        1,    38016, 0x83d7ddde
+0,        263,        263,        1,    38016, 0xbbcde2d9
+0,        264,        264,        1,    38016, 0xc89eeaef
+0,        265,        265,        1,    38016, 0x8565e15c
+0,        266,        266,        1,    38016, 0x28e0db24
+0,        267,        267,        1,    38016, 0x1d9dd334
+0,        268,        268,        1,    38016, 0xce02c452
+0,        269,        269,        1,    38016, 0xe29dbd0c
+0,        270,        270,        1,    38016, 0x4aa3b638
+0,        271,        271,        1,    38016, 0x5533c135
+0,        272,        272,        1,    38016, 0x6c57b65f
+0,        273,        273,        1,    38016, 0x23d3b851
+0,        274,        274,        1,    38016, 0xd8cbb960
+0,        275,        275,        1,    38016, 0x02edb916
+0,        276,        276,        1,    38016, 0xa622bd42
+0,        277,        277,        1,    38016, 0x4ba5be1c
+0,        278,        278,        1,    38016, 0xe69bb625
+0,        279,        279,        1,    38016, 0xbca5b292
+0,        280,        280,        1,    38016, 0xde38b1c8
+0,        281,        281,        1,    38016, 0xe9e3b617
+0,        282,        282,        1,    38016, 0x216cc574
+0,        283,        283,        1,    38016, 0x3780c5ad
+0,        284,        284,        1,    38016, 0x5531e3f9
+0,        285,        285,        1,    38016, 0xe2c5f5d4
+0,        286,        286,        1,    38016, 0x24cefc6e
+0,        287,        287,        1,    38016, 0xa3ce003d
+0,        288,        288,        1,    38016, 0x42d01c9e
+0,        289,        289,        1,    38016, 0xbfc13689
+0,        290,        290,        1,    38016, 0x122647a9
+0,        291,        291,        1,    38016, 0xe45254da
+0,        292,        292,        1,    38016, 0xad955b0c
+0,        293,        293,        1,    38016, 0x4b086abb
+0,        294,        294,        1,    38016, 0xd4857b8c
+0,        295,        295,        1,    38016, 0xa71594ce
+0,        296,        296,        1,    38016, 0x04e4a73d
+0,        297,        297,        1,    38016, 0x295abf63
+0,        298,        298,        1,    38016, 0xbe4ed5dd
+0,        299,        299,        1,    38016, 0x087bcf64
diff --git a/tests/ref/fate/h264-conformance-mr6_bt_b b/tests/ref/fate/h264-conformance-mr6_bt_b
index 4a46efe..3b02506 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,          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
+0,          0,          0,        1,    36864, 0x954464be
+0,          1,          1,        1,    36864, 0xace1d90b
+0,          2,          2,        1,    36864, 0x8f149f03
+0,          3,          3,        1,    36864, 0xea9b21eb
+0,          4,          4,        1,    36864, 0xb51d9fe3
+0,          5,          5,        1,    36864, 0x61bd11d7
+0,          6,          6,        1,    36864, 0x9d36980f
+0,          7,          7,        1,    36864, 0xa4192c5e
+0,          8,          8,        1,    36864, 0x11006433
+0,          9,          9,        1,    36864, 0x4a243e46
+0,         10,         10,        1,    36864, 0x1807b5e8
+0,         11,         11,        1,    36864, 0xbe37743c
+0,         12,         12,        1,    36864, 0x82491319
+0,         13,         13,        1,    36864, 0x006e9914
+0,         14,         14,        1,    36864, 0xa5261884
+0,         15,         15,        1,    36864, 0x2030c9d6
+0,         16,         16,        1,    36864, 0xc80eb1ce
+0,         17,         17,        1,    36864, 0x4d559791
+0,         18,         18,        1,    36864, 0xf5f900ee
+0,         19,         19,        1,    36864, 0x2cc9c0d7
+0,         20,         20,        1,    36864, 0x5ba14186
+0,         21,         21,        1,    36864, 0x47a46865
+0,         22,         22,        1,    36864, 0x5ba180b7
+0,         23,         23,        1,    36864, 0xc67c4876
+0,         24,         24,        1,    36864, 0x4311d75d
+0,         25,         25,        1,    36864, 0x56edb851
+0,         26,         26,        1,    36864, 0x7e5aa3e0
+0,         27,         27,        1,    36864, 0x8df8283a
+0,         28,         28,        1,    36864, 0xb8583ddf
+0,         29,         29,        1,    36864, 0xf33fb779
+0,         30,         30,        1,    36864, 0xe9942ddc
+0,         31,         31,        1,    36864, 0x2bc5f7fa
+0,         32,         32,        1,    36864, 0xc7b66c65
+0,         33,         33,        1,    36864, 0x1a524319
+0,         34,         34,        1,    36864, 0xf60c6141
+0,         35,         35,        1,    36864, 0x113f41f2
+0,         36,         36,        1,    36864, 0xad191a31
+0,         37,         37,        1,    36864, 0x3898264a
+0,         38,         38,        1,    36864, 0x3c2f34a4
+0,         39,         39,        1,    36864, 0xd0fc76aa
+0,         40,         40,        1,    36864, 0x2870b546
+0,         41,         41,        1,    36864, 0x7d326fb4
+0,         42,         42,        1,    36864, 0xd7ed14e1
+0,         43,         43,        1,    36864, 0x205174aa
+0,         44,         44,        1,    36864, 0xa3a88be9
+0,         45,         45,        1,    36864, 0xd6f01751
+0,         46,         46,        1,    36864, 0x5420bb80
+0,         47,         47,        1,    36864, 0xe14518f9
+0,         48,         48,        1,    36864, 0x931db61e
+0,         49,         49,        1,    36864, 0x052ecfae
+0,         50,         50,        1,    36864, 0x29b1b0f5
+0,         51,         51,        1,    36864, 0xa3057117
+0,         52,         52,        1,    36864, 0x954464be
+0,         53,         53,        1,    36864, 0xace1d90b
+0,         54,         54,        1,    36864, 0x8f149f03
+0,         55,         55,        1,    36864, 0x485722c5
+0,         56,         56,        1,    36864, 0x534b18f9
+0,         57,         57,        1,    36864, 0xc893a0a6
+0,         58,         58,        1,    36864, 0x8b04e1dd
+0,         59,         59,        1,    36864, 0xaf536964
diff --git a/tests/ref/fate/h264-conformance-mr7_bt_b b/tests/ref/fate/h264-conformance-mr7_bt_b
index f1e561e..25b7054 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,         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
+0,         10,         10,        1,    36864, 0x8baeb610
+0,         11,         11,        1,    36864, 0x86d47617
+0,         12,         12,        1,    36864, 0xf11011cc
+0,         13,         13,        1,    36864, 0xe56a9daa
+0,         14,         14,        1,    36864, 0xd57119d6
+0,         15,         15,        1,    36864, 0xe28fcde7
+0,         16,         16,        1,    36864, 0x9aeeba86
+0,         17,         17,        1,    36864, 0xa518a7c5
+0,         18,         18,        1,    36864, 0x9af410be
+0,         19,         19,        1,    36864, 0x1fedd12f
+0,         20,         20,        1,    36864, 0xa8032e03
+0,         21,         21,        1,    36864, 0x579e6274
+0,         22,         22,        1,    36864, 0x99846ef6
+0,         23,         23,        1,    36864, 0xb5ad3ca7
+0,         24,         24,        1,    36864, 0x7845cb90
+0,         25,         25,        1,    36864, 0x569fae24
+0,         26,         26,        1,    36864, 0x8a3c9f98
+0,         27,         27,        1,    36864, 0x0b7722af
+0,         28,         28,        1,    36864, 0x699c2dd8
+0,         29,         29,        1,    36864, 0xd477af13
+0,         30,         30,        1,    36864, 0x17b62d7c
+0,         31,         31,        1,    36864, 0xb1ecf6a7
+0,         32,         32,        1,    36864, 0xf9c17e4c
+0,         33,         33,        1,    36864, 0xe7c44618
+0,         34,         34,        1,    36864, 0x7e23654e
+0,         35,         35,        1,    36864, 0xd8a0457c
+0,         36,         36,        1,    36864, 0x57e11df1
+0,         37,         37,        1,    36864, 0xd54d2a43
+0,         38,         38,        1,    36864, 0xc6f03950
+0,         39,         39,        1,    36864, 0x687e750e
+0,         40,         40,        1,    36864, 0x2870b546
+0,         41,         41,        1,    36864, 0xda0370d0
+0,         42,         42,        1,    36864, 0x5a2e0bff
+0,         43,         43,        1,    36864, 0xe1f07533
+0,         44,         44,        1,    36864, 0x3de892b9
+0,         45,         45,        1,    36864, 0xe5c31505
+0,         46,         46,        1,    36864, 0x96b8c082
+0,         47,         47,        1,    36864, 0x55391423
+0,         48,         48,        1,    36864, 0xc285bd71
+0,         49,         49,        1,    36864, 0xf702d9f3
+0,         50,         50,        1,    36864, 0x7afbadf8
+0,         51,         51,        1,    36864, 0xd9b568f7
+0,         52,         52,        1,    36864, 0x579e6274
+0,         53,         53,        1,    36864, 0x8650c61c
+0,         54,         54,        1,    36864, 0xbc359647
+0,         55,         55,        1,    36864, 0x5522328c
+0,         56,         56,        1,    36864, 0x02821fd6
+0,         57,         57,        1,    36864, 0xb4ee9562
+0,         58,         58,        1,    36864, 0xcefedb68
+0,         59,         59,        1,    36864, 0xd959782e
diff --git a/tests/ref/fate/h264-conformance-mr8_bt_b b/tests/ref/fate/h264-conformance-mr8_bt_b
index 8b299ec..220acf1 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,          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
+0,          0,          0,        1,    36864, 0x36df68f4
+0,          1,          1,        1,    36864, 0x52d4c6d9
+0,          2,          2,        1,    36864, 0xad16b0be
+0,          3,          3,        1,    36864, 0xf8c72556
+0,          4,          4,        1,    36864, 0x70aaad30
+0,          5,          5,        1,    36864, 0x53cffd5e
+0,          6,          6,        1,    36864, 0xb3fa8abc
+0,          7,          7,        1,    36864, 0x9c894009
+0,          8,          8,        1,    36864, 0xfbc08050
+0,          9,          9,        1,    36864, 0x9d5b2d65
+0,         10,         10,        1,    36864, 0x3bd8bb5d
+0,         11,         11,        1,    36864, 0x8d976ecf
+0,         12,         12,        1,    36864, 0x25010368
+0,         13,         13,        1,    36864, 0xb6e6a11c
+0,         14,         14,        1,    36864, 0x595a3967
+0,         15,         15,        1,    36864, 0x4fbcb9a8
+0,         16,         16,        1,    36864, 0xc7c5c16b
+0,         17,         17,        1,    36864, 0x661ae1eb
+0,         18,         18,        1,    36864, 0x169f04a7
+0,         19,         19,        1,    36864, 0xd124c93a
+0,         20,         20,        1,    36864, 0x3f642dba
+0,         21,         21,        1,    36864, 0xe7ad6956
+0,         22,         22,        1,    36864, 0x47dc76d3
+0,         23,         23,        1,    36864, 0x496a3917
+0,         24,         24,        1,    36864, 0xa976d5f3
+0,         25,         25,        1,    36864, 0x507bb685
+0,         26,         26,        1,    36864, 0x2f61ac12
+0,         27,         27,        1,    36864, 0x527818d8
+0,         28,         28,        1,    36864, 0xa4983396
+0,         29,         29,        1,    36864, 0x3ec9b07b
+0,         30,         30,        1,    36864, 0x7db52d99
+0,         31,         31,        1,    36864, 0xe974fd00
+0,         32,         32,        1,    36864, 0x9c677a4f
+0,         33,         33,        1,    36864, 0x108f3a05
+0,         34,         34,        1,    36864, 0x23a56ba2
+0,         35,         35,        1,    36864, 0x4c8d47e8
+0,         36,         36,        1,    36864, 0x9e0b0f09
+0,         37,         37,        1,    36864, 0x4d262b16
+0,         38,         38,        1,    36864, 0x6122402e
+0,         39,         39,        1,    36864, 0xed037036
+0,         40,         40,        1,    36864, 0x62b3ba08
+0,         41,         41,        1,    36864, 0x7f876930
+0,         42,         42,        1,    36864, 0x4a6c0983
+0,         43,         43,        1,    36864, 0xf9787086
+0,         44,         44,        1,    36864, 0x01d1b1b5
+0,         45,         45,        1,    36864, 0xc1622655
+0,         46,         46,        1,    36864, 0x27e8e0f7
+0,         47,         47,        1,    36864, 0xc1622655
+0,         48,         48,        1,    36864, 0x12c2b7e9
+0,         49,         49,        1,    36864, 0xd752d2ef
+0,         50,         50,        1,    36864, 0xcbb1c3a7
+0,         51,         51,        1,    36864, 0x18c56fba
+0,         52,         52,        1,    36864, 0xb1b3771c
+0,         53,         53,        1,    36864, 0x284ef3c4
+0,         54,         54,        1,    36864, 0xda6eb5a0
+0,         55,         55,        1,    36864, 0x17ad337c
+0,         56,         56,        1,    36864, 0xe2801e4f
+0,         57,         57,        1,    36864, 0x6c33bd17
diff --git a/tests/ref/fate/h264-conformance-mr9_bt_b b/tests/ref/fate/h264-conformance-mr9_bt_b
index efc25d4..3744802 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,         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
+0,         10,         10,        1,    36864, 0x49fab4fd
+0,         11,         11,        1,    36864, 0x975a7545
+0,         12,         12,        1,    36864, 0x9b080a2f
+0,         13,         13,        1,    36864, 0x78db960e
+0,         14,         14,        1,    36864, 0xd7a928d4
+0,         15,         15,        1,    36864, 0x0a83ba1b
+0,         16,         16,        1,    36864, 0xad6bb30c
+0,         17,         17,        1,    36864, 0xf6addb0d
+0,         18,         18,        1,    36864, 0x00540a0a
+0,         19,         19,        1,    36864, 0x049cc748
+0,         20,         20,        1,    36864, 0x5b1e2291
+0,         21,         21,        1,    36864, 0x2367706e
+0,         22,         22,        1,    36864, 0x88ef6b11
+0,         23,         23,        1,    36864, 0x85b73230
+0,         24,         24,        1,    36864, 0xe46cd522
+0,         25,         25,        1,    36864, 0x98489c05
+0,         26,         26,        1,    36864, 0x7e439564
+0,         27,         27,        1,    36864, 0x71330799
+0,         28,         28,        1,    36864, 0x81a6239e
+0,         29,         29,        1,    36864, 0x8005a302
+0,         30,         30,        1,    36864, 0xdf132e3f
+0,         31,         31,        1,    36864, 0x2a1d00de
+0,         32,         32,        1,    36864, 0x7bb57e14
+0,         33,         33,        1,    36864, 0xf2a637cf
+0,         34,         34,        1,    36864, 0xae6f6916
+0,         35,         35,        1,    36864, 0x2f1d4763
+0,         36,         36,        1,    36864, 0xa4e1145e
+0,         37,         37,        1,    36864, 0xc1644392
+0,         38,         38,        1,    36864, 0x21853537
+0,         39,         39,        1,    36864, 0x0bc45bac
+0,         40,         40,        1,    36864, 0x84ccb8ee
+0,         41,         41,        1,    36864, 0x65de651c
+0,         42,         42,        1,    36864, 0x33ff027e
+0,         43,         43,        1,    36864, 0xefe47056
+0,         44,         44,        1,    36864, 0x8952b47c
+0,         45,         45,        1,    36864, 0x78730fcf
+0,         46,         46,        1,    36864, 0x14bae79f
+0,         47,         47,        1,    36864, 0x53230fbe
+0,         48,         48,        1,    36864, 0x15b0b245
+0,         49,         49,        1,    36864, 0x45fbd155
+0,         50,         50,        1,    36864, 0x41cfbac4
+0,         51,         51,        1,    36864, 0x0d635d61
+0,         52,         52,        1,    36864, 0x55aa8d3c
+0,         53,         53,        1,    36864, 0x8f02fbaf
+0,         54,         54,        1,    36864, 0xb17fac3f
+0,         55,         55,        1,    36864, 0xc12627f9
+0,         56,         56,        1,    36864, 0xa5971e4a
+0,         57,         57,        1,    36864, 0x3677abfe
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_1_b b/tests/ref/fate/h264-conformance-sharp_mp_field_1_b
index 93e0064..8512102 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,          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
+0,          0,          0,        1,   518400, 0xc93c7c47
+0,          1,          1,        1,   518400, 0xa3f2e502
+0,          2,          2,        1,   518400, 0xb98920a4
+0,          3,          3,        1,   518400, 0xad098ec1
+0,          4,          4,        1,   518400, 0x3009b7aa
+0,          5,          5,        1,   518400, 0xcf514018
+0,          6,          6,        1,   518400, 0xd869038d
+0,          7,          7,        1,   518400, 0x3ce5e188
+0,          8,          8,        1,   518400, 0x029b4c14
+0,          9,          9,        1,   518400, 0xd2224afc
+0,         10,         10,        1,   518400, 0xbbca027c
+0,         11,         11,        1,   518400, 0x1f3fa0ac
+0,         12,         12,        1,   518400, 0x823b0125
+0,         13,         13,        1,   518400, 0xaaa27cfb
+0,         14,         14,        1,   518400, 0x5e926a4a
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_2_b b/tests/ref/fate/h264-conformance-sharp_mp_field_2_b
index eddd8c8..5808141 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,          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
+0,          0,          0,        1,   518400, 0xc93c7c47
+0,          1,          1,        1,   518400, 0xf0c4b44a
+0,          2,          2,        1,   518400, 0x3f5dc91c
+0,          3,          3,        1,   518400, 0x03dc8453
+0,          4,          4,        1,   518400, 0x5e5227af
+0,          5,          5,        1,   518400, 0x9e7136af
+0,          6,          6,        1,   518400, 0x963a2e3a
+0,          7,          7,        1,   518400, 0xa544be6c
+0,          8,          8,        1,   518400, 0xefa1f63a
+0,          9,          9,        1,   518400, 0x62155ff1
+0,         10,         10,        1,   518400, 0x253eb857
+0,         11,         11,        1,   518400, 0x73530327
+0,         12,         12,        1,   518400, 0x8920c9a3
+0,         13,         13,        1,   518400, 0x4bdd038c
+0,         14,         14,        1,   518400, 0xea6016dd
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_field_3_b b/tests/ref/fate/h264-conformance-sharp_mp_field_3_b
index 09096a0..a572030 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,          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
+0,          0,          0,        1,   518400, 0xc93c7c47
+0,          1,          1,        1,   518400, 0x7112ac25
+0,          2,          2,        1,   518400, 0x28bc28d2
+0,          3,          3,        1,   518400, 0x6fc36875
+0,          4,          4,        1,   518400, 0x3de99be0
+0,          5,          5,        1,   518400, 0x97125499
+0,          6,          6,        1,   518400, 0xb96fca3a
+0,          7,          7,        1,   518400, 0x1ec56c0f
+0,          8,          8,        1,   518400, 0xc65901d0
+0,          9,          9,        1,   518400, 0x2baa1bfa
+0,         10,         10,        1,   518400, 0x244fc6b7
+0,         11,         11,        1,   518400, 0xc3536383
+0,         12,         12,        1,   518400, 0xbcf40d5a
+0,         13,         13,        1,   518400, 0x955f4734
+0,         14,         14,        1,   518400, 0xe1b0275e
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2 b/tests/ref/fate/h264-conformance-sharp_mp_paff_1r2
index 2847e3f..d1a347f 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,          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
+0,          0,          0,        1,   518400, 0xc93c7c47
+0,          1,          1,        1,   518400, 0xfb452a9c
+0,          2,          2,        1,   518400, 0x2f7a35bd
+0,          3,          3,        1,   518400, 0xe63e30b9
+0,          4,          4,        1,   518400, 0x39628205
+0,          5,          5,        1,   518400, 0x17fa1ea4
+0,          6,          6,        1,   518400, 0xd5ee83e2
+0,          7,          7,        1,   518400, 0x611ee98d
+0,          8,          8,        1,   518400, 0x07c1eeb8
+0,          9,          9,        1,   518400, 0x9dff3418
+0,         10,         10,        1,   518400, 0x87cd2f56
+0,         11,         11,        1,   518400, 0x88675628
+0,         12,         12,        1,   518400, 0x9bb8c9a0
+0,         13,         13,        1,   518400, 0xe6c1df00
+0,         14,         14,        1,   518400, 0xfcaab7a7
diff --git a/tests/ref/fate/h264-conformance-sharp_mp_paff_2r b/tests/ref/fate/h264-conformance-sharp_mp_paff_2r
index 22bf8e2..f2bf06f 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,          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
+0,          0,          0,        1,   518400, 0xc93c7c47
+0,          1,          1,        1,   518400, 0xfb452a9c
+0,          2,          2,        1,   518400, 0x2f7a35bd
+0,          3,          3,        1,   518400, 0xe63e30b9
+0,          4,          4,        1,   518400, 0x39628205
+0,          5,          5,        1,   518400, 0x17fa1ea4
+0,          6,          6,        1,   518400, 0xd5ee83e2
+0,          7,          7,        1,   518400, 0x4fd6d5c9
+0,          8,          8,        1,   518400, 0x8703c999
+0,          9,          9,        1,   518400, 0x1a87e2d3
+0,         10,         10,        1,   518400, 0xa27fc4d0
+0,         11,         11,        1,   518400, 0x6effab5d
+0,         12,         12,        1,   518400, 0x51ea02c9
+0,         13,         13,        1,   518400, 0xbcf84c88
+0,         14,         14,        1,   518400, 0x1d41076b
diff --git a/tests/ref/fate/idroq-video-encode b/tests/ref/fate/idroq-video-encode
index f243a0d..859d3b8 100644
--- a/tests/ref/fate/idroq-video-encode
+++ b/tests/ref/fate/idroq-video-encode
@@ -1 +1 @@
-72e5b060ff0ab8855da22f33a6e04bff
+5090bb74bad2ea17093c32682b608dc4
diff --git a/tests/ref/fate/vc1-ism b/tests/ref/fate/vc1-ism
index 2a42a13..4daca95 100644
--- a/tests/ref/fate/vc1-ism
+++ b/tests/ref/fate/vc1-ism
@@ -1,121 +1,121 @@
 #tb 0: 1/10000000
-0,     423330,     423330,        0,    37440, 0xd1bc5235
+0,     423334,     423334,        0,    37440, 0xd1bc5235
 0,     840000,     840000,        0,    37440, 0x158e6167
-0,    1256670,    1256670,        0,    37440, 0x0faa4481
+0,    1256666,    1256666,        0,    37440, 0x0faa4481
 0,    1670000,    1670000,        0,    37440, 0x427158c5
-0,    2086670,    2086670,        0,    37440, 0x4eb53ac6
+0,    2086666,    2086666,        0,    37440, 0x4eb53ac6
 0,    2500000,    2500000,        0,    37440, 0x99304eea
-0,    2916670,    2916670,        0,    37440, 0xcc554a6f
+0,    2916666,    2916666,        0,    37440, 0xcc554a6f
 0,    3340000,    3340000,        0,    37440, 0xabeb6c35
-0,    3756670,    3756670,        0,    37440, 0xddfc7e18
+0,    3756666,    3756666,        0,    37440, 0xddfc7e18
 0,    4170000,    4170000,        0,    37440, 0xaa79b504
-0,    4586670,    4586670,        0,    37440, 0x5cb1c839
+0,    4586666,    4586666,        0,    37440, 0x5cb1c839
 0,    5000000,    5000000,        0,    37440, 0x7e36ecca
-0,    5416670,    5416670,        0,    37440, 0xf486f425
+0,    5416666,    5416666,        0,    37440, 0xf486f425
 0,    5840000,    5840000,        0,    37440, 0xf1b4138f
-0,    6256670,    6256670,        0,    37440, 0x966f1a49
+0,    6256666,    6256666,        0,    37440, 0x966f1a49
 0,    6670000,    6670000,        0,    37440, 0x5eff21da
-0,    7086670,    7086670,        0,    37440, 0x333f39b1
+0,    7086666,    7086666,        0,    37440, 0x333f39b1
 0,    7500000,    7500000,        0,    37440, 0x62e5963e
-0,    7916670,    7916670,        0,    37440, 0x26930671
+0,    7916666,    7916666,        0,    37440, 0x26930671
 0,    8340000,    8340000,        0,    37440, 0x27b4bb6c
-0,    8756670,    8756670,        0,    37440, 0xdbd07766
+0,    8756666,    8756666,        0,    37440, 0xdbd07766
 0,    9170000,    9170000,        0,    37440, 0x04260104
-0,    9586670,    9586670,        0,    37440, 0x9b1e078b
+0,    9586666,    9586666,        0,    37440, 0x9b1e078b
 0,   10000000,   10000000,        0,    37440, 0xdf4e2474
-0,   10416670,   10416670,        0,    37440, 0x57d44986
+0,   10416666,   10416666,        0,    37440, 0x57d44986
 0,   10840000,   10840000,        0,    37440, 0x8780e34c
-0,   11256670,   11256670,        0,    37440, 0xf80c8bc0
+0,   11256666,   11256666,        0,    37440, 0xf80c8bc0
 0,   11670000,   11670000,        0,    37440, 0x630a7583
-0,   12086670,   12086670,        0,    37440, 0x235ae089
+0,   12086666,   12086666,        0,    37440, 0x235ae089
 0,   12500000,   12500000,        0,    37440, 0x984b8f0e
-0,   12916670,   12916670,        0,    37440, 0x865cf592
+0,   12916666,   12916666,        0,    37440, 0x865cf592
 0,   13340000,   13340000,        0,    37440, 0x70f376f2
-0,   13756670,   13756670,        0,    37440, 0x8b30c035
+0,   13756666,   13756666,        0,    37440, 0x8b30c035
 0,   14170000,   14170000,        0,    37440, 0xde772d79
-0,   14586670,   14586670,        0,    37440, 0x8e076be5
+0,   14586666,   14586666,        0,    37440, 0x8e076be5
 0,   15000000,   15000000,        0,    37440, 0x3dc2bd9f
-0,   15416670,   15416670,        0,    37440, 0xb782eb67
+0,   15416666,   15416666,        0,    37440, 0xb782eb67
 0,   15840000,   15840000,        0,    37440, 0x02025d73
-0,   16256670,   16256670,        0,    37440, 0x86bbbce8
+0,   16256666,   16256666,        0,    37440, 0x86bbbce8
 0,   16670000,   16670000,        0,    37440, 0xd6554f62
-0,   17086670,   17086670,        0,    37440, 0xb831b917
+0,   17086666,   17086666,        0,    37440, 0xb831b917
 0,   17500000,   17500000,        0,    37440, 0x80643560
-0,   17916670,   17916670,        0,    37440, 0x4ecf9afd
+0,   17916666,   17916666,        0,    37440, 0x4ecf9afd
 0,   18340000,   18340000,        0,    37440, 0x9ce51e0b
-0,   18756670,   18756670,        0,    37440, 0x179466cd
+0,   18756666,   18756666,        0,    37440, 0x179466cd
 0,   19170000,   19170000,        0,    37440, 0x145fc900
-0,   19586670,   19586670,        0,    37440, 0xb1b50402
+0,   19586666,   19586666,        0,    37440, 0xb1b50402
 0,   20000000,   20000000,        0,    37440, 0x0a87552a
-0,   20416670,   20416670,        0,    37440, 0x8f53821d
+0,   20416666,   20416666,        0,    37440, 0x8f53821d
 0,   20840000,   20840000,        0,    37440, 0x1c07c825
-0,   21256670,   21256670,        0,    37440, 0x49dde82f
+0,   21256666,   21256666,        0,    37440, 0x49dde82f
 0,   21670000,   21670000,        0,    37440, 0xb1a32605
-0,   22086670,   22086670,        0,    37440, 0x410f3cd5
+0,   22086666,   22086666,        0,    37440, 0x410f3cd5
 0,   22500000,   22500000,        0,    37440, 0xff5e6696
-0,   22916670,   22916670,        0,    37440, 0x96f678c9
+0,   22916666,   22916666,        0,    37440, 0x96f678c9
 0,   23340000,   23340000,        0,    37440, 0x6c9e9e68
-0,   23756670,   23756670,        0,    37440, 0x79a2a655
+0,   23756666,   23756666,        0,    37440, 0x79a2a655
 0,   24170000,   24170000,        0,    37440, 0xf237bd6c
-0,   24586670,   24586670,        0,    37440, 0x4051b611
+0,   24586666,   24586666,        0,    37440, 0x4051b611
 0,   25000000,   25000000,        0,    37440, 0xc7ccc918
-0,   25416670,   25416670,        0,    37440, 0xbd02c122
+0,   25416666,   25416666,        0,    37440, 0xbd02c122
 0,   25840000,   25840000,        0,    37440, 0xacb3c881
-0,   26256670,   26256670,        0,    37440, 0x2abdb940
+0,   26256666,   26256666,        0,    37440, 0x2abdb940
 0,   26670000,   26670000,        0,    37440, 0x19d5be85
-0,   27086670,   27086670,        0,    37440, 0xfa5fb1ba
-0,   27503330,   27503330,        0,    37440, 0xdae7a7aa
-0,   27920000,   27920000,        0,    37440, 0x6b0f9f69
+0,   27086666,   27086666,        0,    37440, 0xfa5fb1ba
+0,   27503332,   27503332,        0,    37440, 0xdae7a7aa
+0,   27919998,   27919998,        0,    37440, 0x6b0f9f69
 0,   28340000,   28340000,        0,    37440, 0x353e8201
-0,   28756670,   28756670,        0,    37440, 0xa21443aa
+0,   28756666,   28756666,        0,    37440, 0xa21443aa
 0,   29170000,   29170000,        0,    37440, 0x66c8d7e0
-0,   29586670,   29586670,        0,    37440, 0xc332068e
+0,   29586666,   29586666,        0,    37440, 0xc332068e
 0,   30000000,   30000000,        0,    37440, 0x71431b9b
-0,   30416670,   30416670,        0,    37440, 0x392f15cb
+0,   30416666,   30416666,        0,    37440, 0x392f15cb
 0,   30840000,   30840000,        0,    37440, 0x95a146bb
-0,   31256670,   31256670,        0,    37440, 0x7c51740a
+0,   31256666,   31256666,        0,    37440, 0x7c51740a
 0,   31670000,   31670000,        0,    37440, 0xa3bdd43c
-0,   32086670,   32086670,        0,    37440, 0xa079f965
+0,   32086666,   32086666,        0,    37440, 0xa079f965
 0,   32500000,   32500000,        0,    37440, 0xa95423ea
-0,   32916670,   32916670,        0,    37440, 0xd1bd2c67
+0,   32916666,   32916666,        0,    37440, 0xd1bd2c67
 0,   33340000,   33340000,        0,    37440, 0x6cf82844
-0,   33756670,   33756670,        0,    37440, 0xd401e128
+0,   33756666,   33756666,        0,    37440, 0xd401e128
 0,   34170000,   34170000,        0,    37440, 0x1f7db118
-0,   34586670,   34586670,        0,    37440, 0x2e0a65a9
+0,   34586666,   34586666,        0,    37440, 0x2e0a65a9
 0,   35000000,   35000000,        0,    37440, 0x321c1c40
-0,   35416670,   35416670,        0,    37440, 0x95b2a127
+0,   35416666,   35416666,        0,    37440, 0x95b2a127
 0,   35840000,   35840000,        0,    37440, 0xa1471f4b
-0,   36256670,   36256670,        0,    37440, 0x29d148c0
+0,   36256666,   36256666,        0,    37440, 0x29d148c0
 0,   36670000,   36670000,        0,    37440, 0x24c07107
-0,   37086670,   37086670,        0,    37440, 0x0ead678d
+0,   37086666,   37086666,        0,    37440, 0x0ead678d
 0,   37500000,   37500000,        0,    37440, 0xd0ca6495
-0,   37916670,   37916670,        0,    37440, 0x08f935ef
+0,   37916666,   37916666,        0,    37440, 0x08f935ef
 0,   38340000,   38340000,        0,    37440, 0xb5ec3c38
-0,   38756670,   38756670,        0,    37440, 0xce371628
+0,   38756666,   38756666,        0,    37440, 0xce371628
 0,   39170000,   39170000,        0,    37440, 0x68170812
-0,   39586670,   39586670,        0,    37440, 0xe222699e
+0,   39586666,   39586666,        0,    37440, 0xe222699e
 0,   40000000,   40000000,        0,    37440, 0xd688706c
-0,   40416670,   40416670,        0,    37440, 0x81a033f9
+0,   40416666,   40416666,        0,    37440, 0x81a033f9
 0,   40840000,   40840000,        0,    37440, 0x28bd0fbf
-0,   41256670,   41256670,        0,    37440, 0xe36db7b2
+0,   41256666,   41256666,        0,    37440, 0xe36db7b2
 0,   41670000,   41670000,        0,    37440, 0x30559121
-0,   42086670,   42086670,        0,    37440, 0xbf2b5fc8
+0,   42086666,   42086666,        0,    37440, 0xbf2b5fc8
 0,   42500000,   42500000,        0,    37440, 0x4b427672
-0,   42916670,   42916670,        0,    37440, 0x0544b0b4
+0,   42916666,   42916666,        0,    37440, 0x0544b0b4
 0,   43340000,   43340000,        0,    37440, 0x38a70b06
-0,   43756670,   43756670,        0,    37440, 0x4ed62607
+0,   43756666,   43756666,        0,    37440, 0x4ed62607
 0,   44170000,   44170000,        0,    37440, 0x6efe8ea6
-0,   44586670,   44586670,        0,    37440, 0x81197e11
+0,   44586666,   44586666,        0,    37440, 0x81197e11
 0,   45000000,   45000000,        0,    37440, 0xf4060050
-0,   45416670,   45416670,        0,    37440, 0xaf205f13
+0,   45416666,   45416666,        0,    37440, 0xaf205f13
 0,   45840000,   45840000,        0,    37440, 0x5fa21382
-0,   46256670,   46256670,        0,    37440, 0x8627ad05
+0,   46256666,   46256666,        0,    37440, 0x8627ad05
 0,   46670000,   46670000,        0,    37440, 0xf7130133
-0,   47086670,   47086670,        0,    37440, 0x76dea7ba
+0,   47086666,   47086666,        0,    37440, 0x76dea7ba
 0,   47500000,   47500000,        0,    37440, 0x1dbae1be
-0,   47916670,   47916670,        0,    37440, 0x74a933f7
+0,   47916666,   47916666,        0,    37440, 0x74a933f7
 0,   48340000,   48340000,        0,    37440, 0xbdcd41a3
-0,   48756670,   48756670,        0,    37440, 0xf0fe8c1c
+0,   48756666,   48756666,        0,    37440, 0xf0fe8c1c
 0,   49170000,   49170000,        0,    37440, 0xc0036222
-0,   49586670,   49586670,        0,    37440, 0x3058385c
-0,   50003340,   50003340,        0,    37440, 0x68141016
+0,   49586666,   49586666,        0,    37440, 0x3058385c
+0,   49586667,   49586667,        0,    37440, 0x68141016



More information about the ffmpeg-cvslog mailing list