[FFmpeg-cvslog] avformat/utils: add gif to tb_unreliable()

Michael Niedermayer git at videolan.org
Mon Apr 28 15:56:14 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 28 15:14:41 2014 +0200| [4394f82f52583dc1d781d29dcb3f2a8dac73f3f6] | committer: Michael Niedermayer

avformat/utils: add gif to tb_unreliable()

This improves the used timebases when gif is the source

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c                    |    1 +
 tests/ref/fate/gif-color               |  346 ++++++++++++++++----------------
 tests/ref/fate/gif-disposal-background |   10 +-
 tests/ref/fate/gif-disposal-restore    |    5 +-
 tests/ref/fate/gifenc-bgr4_byte        |  346 ++++++++++++++++----------------
 tests/ref/fate/gifenc-bgr8             |  346 ++++++++++++++++----------------
 tests/ref/fate/gifenc-gray             |  346 ++++++++++++++++----------------
 tests/ref/fate/gifenc-pal8             |  346 ++++++++++++++++----------------
 tests/ref/fate/gifenc-rgb4_byte        |  346 ++++++++++++++++----------------
 tests/ref/fate/gifenc-rgb8             |  346 ++++++++++++++++----------------
 tests/ref/lavf/gif                     |    2 +-
 11 files changed, 1220 insertions(+), 1220 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 06d92dc..a531038 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2868,6 +2868,7 @@ static int tb_unreliable(AVCodecContext *c)
         // c->codec_tag == AV_RL32("XVID") ||
         c->codec_tag == AV_RL32("mp4v") ||
         c->codec_id == AV_CODEC_ID_MPEG2VIDEO ||
+        c->codec_id == AV_CODEC_ID_GIF ||
         c->codec_id == AV_CODEC_ID_H264)
         return 1;
     return 0;
diff --git a/tests/ref/fate/gif-color b/tests/ref/fate/gif-color
index 6abb565..5559186 100644
--- a/tests/ref/fate/gif-color
+++ b/tests/ref/fate/gif-color
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,   188356, 0xf0944065
-0,         10,         10,        1,   188356, 0x146ed4c4
-0,         20,         20,        1,   188356, 0x96866a6f
-0,         30,         30,        1,   188356, 0xe15e1f1c
-0,         40,         40,        1,   188356, 0x0662c1d0
-0,         50,         50,        1,   188356, 0x88fa6cc4
-0,         60,         60,        1,   188356, 0x3cce2f71
-0,         70,         70,        1,   188356, 0x1510f9f3
-0,         80,         80,        1,   188356, 0xf27e9fa8
-0,         90,         90,        1,   188356, 0x0f4b64a2
-0,        100,        100,        1,   188356, 0x3d2714a5
-0,        110,        110,        1,   188356, 0x392ce45d
-0,        120,        120,        1,   188356, 0x2eadb79f
-0,        130,        130,        1,   188356, 0x68109314
-0,        140,        140,        1,   188356, 0x4eca71ac
-0,        150,        150,        1,   188356, 0xa9aa5907
-0,        160,        160,        1,   188356, 0x2a5d08c0
-0,        170,        170,        1,   188356, 0x942bba84
-0,        180,        180,        1,   188356, 0xbee38983
-0,        190,        190,        1,   188356, 0xa0d65a5a
-0,        200,        200,        1,   188356, 0x47270bee
-0,        210,        210,        1,   188356, 0xc020dc40
-0,        220,        220,        1,   188356, 0x978dbc8f
-0,        230,        230,        1,   188356, 0x6b1e9f1b
-0,        240,        240,        1,   188356, 0xd8078bf4
-0,        250,        250,        1,   188356, 0x94ca7bd7
-0,        260,        260,        1,   188356, 0xac745e77
-0,        270,        270,        1,   188356, 0x73154f2c
-0,        280,        280,        1,   188356, 0x31200601
-0,        290,        290,        1,   188356, 0x6525dd42
-0,        300,        300,        1,   188356, 0xa29b985a
-0,        310,        310,        1,   188356, 0xe3e074d8
-0,        320,        320,        1,   188356, 0xb87b3222
-0,        330,        330,        1,   188356, 0x5b9a11f2
-0,        340,        340,        1,   188356, 0x25f7f8c9
-0,        350,        350,        1,   188356, 0x0235e93c
-0,        360,        360,        1,   188356, 0x2a42d643
-0,        370,        370,        1,   188356, 0xfb7acddb
-0,        380,        380,        1,   188356, 0xecbbbf5e
-0,        390,        390,        1,   188356, 0xeba4bc9a
-0,        400,        400,        1,   188356, 0x4317b36b
-0,        410,        410,        1,   188356, 0x7316ae1a
-0,        420,        420,        1,   188356, 0xb5ccad05
-0,        430,        430,        1,   188356, 0x38afb0dc
-0,        440,        440,        1,   188356, 0xf11cad55
-0,        450,        450,        1,   188356, 0x3d77b400
-0,        460,        460,        1,   188356, 0xf084b9b9
-0,        470,        470,        1,   188356, 0x02a4c584
-0,        480,        480,        1,   188356, 0x14f4d52e
-0,        490,        490,        1,   188356, 0x55118432
-0,        500,        500,        1,   188356, 0x4ad82e9f
-0,        510,        510,        1,   188356, 0xc6eafc52
-0,        520,        520,        1,   188356, 0xf4bdc575
-0,        530,        530,        1,   188356, 0x8429689e
-0,        540,        540,        1,   188356, 0xaa23019e
-0,        550,        550,        1,   188356, 0xaf52c3a5
-0,        560,        560,        1,   188356, 0x1d387c32
-0,        570,        570,        1,   188356, 0x543d5cd2
-0,        580,        580,        1,   188356, 0x8cdb399c
-0,        590,        590,        1,   188356, 0xcceb292f
-0,        600,        600,        1,   188356, 0xa87115e8
-0,        610,        610,        1,   188356, 0x9665ec8f
-0,        620,        620,        1,   188356, 0xad99baf4
-0,        630,        630,        1,   188356, 0xc6e5a2b5
-0,        640,        640,        1,   188356, 0xe2a48359
-0,        650,        650,        1,   188356, 0x3a270df0
-0,        660,        660,        1,   188356, 0xcc34826b
-0,        670,        670,        1,   188356, 0x15ec2dcc
-0,        680,        680,        1,   188356, 0x8874c5f9
-0,        690,        690,        1,   188356, 0x829966e8
-0,        700,        700,        1,   188356, 0x691f1ebb
-0,        710,        710,        1,   188356, 0x00e3e184
-0,        720,        720,        1,   188356, 0x97739332
-0,        730,        730,        1,   188356, 0x507769aa
-0,        740,        740,        1,   188356, 0xddfb3069
-0,        750,        750,        1,   188356, 0x7296f749
-0,        760,        760,        1,   188356, 0x0555ca32
-0,        770,        770,        1,   188356, 0x4554c683
-0,        780,        780,        1,   188356, 0x2398c10f
-0,        790,        790,        1,   188356, 0x1c5ccfa0
-0,        800,        800,        1,   188356, 0xa580f3c8
-0,        810,        810,        1,   188356, 0x4fadea78
-0,        820,        820,        1,   188356, 0x4a57db38
-0,        830,        830,        1,   188356, 0x9e98df6d
-0,        840,        840,        1,   188356, 0xfeb3dec9
-0,        850,        850,        1,   188356, 0xbf16ef7a
-0,        860,        860,        1,   188356, 0xdc23fc48
-0,        870,        870,        1,   188356, 0x3bf2e401
-0,        880,        880,        1,   188356, 0xc832bcf4
-0,        890,        890,        1,   188356, 0x977db44f
-0,        900,        900,        1,   188356, 0x18d39d96
-0,        910,        910,        1,   188356, 0x9adf60d8
-0,        920,        920,        1,   188356, 0x567b667a
-0,        930,        930,        1,   188356, 0xd4a45e8e
-0,        940,        940,        1,   188356, 0x94a24cc7
-0,        950,        950,        1,   188356, 0x086f0a53
-0,        960,        960,        1,   188356, 0xcbf3ebcb
-0,        970,        970,        1,   188356, 0x1a40a7b9
-0,        980,        980,        1,   188356, 0xe16d8964
-0,        990,        990,        1,   188356, 0x3edd7dfa
-0,       1000,       1000,        1,   188356, 0xba417fa5
-0,       1010,       1010,        1,   188356, 0x734a7611
-0,       1020,       1020,        1,   188356, 0xfa1e7b1e
-0,       1030,       1030,        1,   188356, 0x1af23355
-0,       1040,       1040,        1,   188356, 0x28d41390
-0,       1050,       1050,        1,   188356, 0x2838c58d
-0,       1060,       1060,        1,   188356, 0x4e2ba2a8
-0,       1070,       1070,        1,   188356, 0xcedc99ae
-0,       1080,       1080,        1,   188356, 0xb06ba12d
-0,       1090,       1090,        1,   188356, 0x38c997b6
-0,       1100,       1100,        1,   188356, 0x12dba0dc
-0,       1110,       1110,        1,   188356, 0x5f86496a
-0,       1120,       1120,        1,   188356, 0x0b74216d
-0,       1130,       1130,        1,   188356, 0xdbddbada
-0,       1140,       1140,        1,   188356, 0x7d168af2
-0,       1150,       1150,        1,   188356, 0x22d4462b
-0,       1160,       1160,        1,   188356, 0xc248265d
-0,       1170,       1170,        1,   188356, 0x37a41b0d
-0,       1180,       1180,        1,   188356, 0x9ebd24f1
-0,       1190,       1190,        1,   188356, 0xf21f1633
-0,       1200,       1200,        1,   188356, 0x1db62004
-0,       1210,       1210,        1,   188356, 0xcc241ac1
-0,       1220,       1220,        1,   188356, 0x224d2637
-0,       1230,       1230,        1,   188356, 0x1bd8390c
-0,       1240,       1240,        1,   188356, 0xd8e64966
-0,       1250,       1250,        1,   188356, 0x96e66287
-0,       1260,       1260,        1,   188356, 0xa83c9a32
-0,       1270,       1270,        1,   188356, 0x3a5faeba
-0,       1280,       1280,        1,   188356, 0x8200cd87
-0,       1290,       1290,        1,   188356, 0x6326e591
-0,       1300,       1300,        1,   188356, 0xb5d70993
-0,       1310,       1310,        1,   188356, 0x954d5da2
-0,       1320,       1320,        1,   188356, 0x38b1788b
-0,       1330,       1330,        1,   188356, 0x4aafa131
-0,       1340,       1340,        1,   188356, 0xaff2be78
-0,       1350,       1350,        1,   188356, 0x9bd7eb69
-0,       1360,       1360,        1,   188356, 0x0d2b17c9
-0,       1370,       1370,        1,   188356, 0xf5d8a764
-0,       1380,       1380,        1,   188356, 0xa302dfb2
-0,       1390,       1390,        1,   188356, 0xe8a32ac1
-0,       1400,       1400,        1,   188356, 0x50a8470d
-0,       1410,       1410,        1,   188356, 0x52826061
-0,       1420,       1420,        1,   188356, 0x26e88798
-0,       1430,       1430,        1,   188356, 0x1448acb8
-0,       1440,       1440,        1,   188356, 0xfb380972
-0,       1450,       1450,        1,   188356, 0x184976e8
-0,       1460,       1460,        1,   188356, 0xa349a871
-0,       1470,       1470,        1,   188356, 0x617ed8b1
-0,       1480,       1480,        1,   188356, 0xb6bc1425
-0,       1490,       1490,        1,   188356, 0xafe74efd
-0,       1500,       1500,        1,   188356, 0x0b8b61e5
-0,       1510,       1510,        1,   188356, 0xc6ad67a7
-0,       1520,       1520,        1,   188356, 0x4da186fe
-0,       1530,       1530,        1,   188356, 0xe08f9975
-0,       1540,       1540,        1,   188356, 0xa43f8ba4
-0,       1550,       1550,        1,   188356, 0xcad4b6b5
-0,       1560,       1560,        1,   188356, 0x7e70d51e
-0,       1570,       1570,        1,   188356, 0x429b0b5b
-0,       1580,       1580,        1,   188356, 0xea92350d
-0,       1590,       1590,        1,   188356, 0x9a7440f8
-0,       1600,       1600,        1,   188356, 0x63a2be6e
-0,       1610,       1610,        1,   188356, 0x59b64b50
-0,       1620,       1620,        1,   188356, 0x63c4a10e
-0,       1630,       1630,        1,   188356, 0x6146e5e0
-0,       1640,       1640,        1,   188356, 0x603b2ae5
-0,       1650,       1650,        1,   188356, 0x818bc774
-0,       1660,       1660,        1,   188356, 0xa5ce278f
-0,       1670,       1670,        1,   188356, 0x4d85684d
-0,       1680,       1680,        1,   188356, 0xbbda9cad
-0,       1690,       1690,        1,   188356, 0xfee2e78e
-0,       1700,       1700,        1,   188356, 0x681d2635
-0,       1710,       1710,        1,   188356, 0x05354903
-0,       1720,       1720,        1,   188356, 0x8eecac99
+0,          1,          1,        1,   188356, 0x146ed4c4
+0,          2,          2,        1,   188356, 0x96866a6f
+0,          3,          3,        1,   188356, 0xe15e1f1c
+0,          4,          4,        1,   188356, 0x0662c1d0
+0,          5,          5,        1,   188356, 0x88fa6cc4
+0,          6,          6,        1,   188356, 0x3cce2f71
+0,          7,          7,        1,   188356, 0x1510f9f3
+0,          8,          8,        1,   188356, 0xf27e9fa8
+0,          9,          9,        1,   188356, 0x0f4b64a2
+0,         10,         10,        1,   188356, 0x3d2714a5
+0,         11,         11,        1,   188356, 0x392ce45d
+0,         12,         12,        1,   188356, 0x2eadb79f
+0,         13,         13,        1,   188356, 0x68109314
+0,         14,         14,        1,   188356, 0x4eca71ac
+0,         15,         15,        1,   188356, 0xa9aa5907
+0,         16,         16,        1,   188356, 0x2a5d08c0
+0,         17,         17,        1,   188356, 0x942bba84
+0,         18,         18,        1,   188356, 0xbee38983
+0,         19,         19,        1,   188356, 0xa0d65a5a
+0,         20,         20,        1,   188356, 0x47270bee
+0,         21,         21,        1,   188356, 0xc020dc40
+0,         22,         22,        1,   188356, 0x978dbc8f
+0,         23,         23,        1,   188356, 0x6b1e9f1b
+0,         24,         24,        1,   188356, 0xd8078bf4
+0,         25,         25,        1,   188356, 0x94ca7bd7
+0,         26,         26,        1,   188356, 0xac745e77
+0,         27,         27,        1,   188356, 0x73154f2c
+0,         28,         28,        1,   188356, 0x31200601
+0,         29,         29,        1,   188356, 0x6525dd42
+0,         30,         30,        1,   188356, 0xa29b985a
+0,         31,         31,        1,   188356, 0xe3e074d8
+0,         32,         32,        1,   188356, 0xb87b3222
+0,         33,         33,        1,   188356, 0x5b9a11f2
+0,         34,         34,        1,   188356, 0x25f7f8c9
+0,         35,         35,        1,   188356, 0x0235e93c
+0,         36,         36,        1,   188356, 0x2a42d643
+0,         37,         37,        1,   188356, 0xfb7acddb
+0,         38,         38,        1,   188356, 0xecbbbf5e
+0,         39,         39,        1,   188356, 0xeba4bc9a
+0,         40,         40,        1,   188356, 0x4317b36b
+0,         41,         41,        1,   188356, 0x7316ae1a
+0,         42,         42,        1,   188356, 0xb5ccad05
+0,         43,         43,        1,   188356, 0x38afb0dc
+0,         44,         44,        1,   188356, 0xf11cad55
+0,         45,         45,        1,   188356, 0x3d77b400
+0,         46,         46,        1,   188356, 0xf084b9b9
+0,         47,         47,        1,   188356, 0x02a4c584
+0,         48,         48,        1,   188356, 0x14f4d52e
+0,         49,         49,        1,   188356, 0x55118432
+0,         50,         50,        1,   188356, 0x4ad82e9f
+0,         51,         51,        1,   188356, 0xc6eafc52
+0,         52,         52,        1,   188356, 0xf4bdc575
+0,         53,         53,        1,   188356, 0x8429689e
+0,         54,         54,        1,   188356, 0xaa23019e
+0,         55,         55,        1,   188356, 0xaf52c3a5
+0,         56,         56,        1,   188356, 0x1d387c32
+0,         57,         57,        1,   188356, 0x543d5cd2
+0,         58,         58,        1,   188356, 0x8cdb399c
+0,         59,         59,        1,   188356, 0xcceb292f
+0,         60,         60,        1,   188356, 0xa87115e8
+0,         61,         61,        1,   188356, 0x9665ec8f
+0,         62,         62,        1,   188356, 0xad99baf4
+0,         63,         63,        1,   188356, 0xc6e5a2b5
+0,         64,         64,        1,   188356, 0xe2a48359
+0,         65,         65,        1,   188356, 0x3a270df0
+0,         66,         66,        1,   188356, 0xcc34826b
+0,         67,         67,        1,   188356, 0x15ec2dcc
+0,         68,         68,        1,   188356, 0x8874c5f9
+0,         69,         69,        1,   188356, 0x829966e8
+0,         70,         70,        1,   188356, 0x691f1ebb
+0,         71,         71,        1,   188356, 0x00e3e184
+0,         72,         72,        1,   188356, 0x97739332
+0,         73,         73,        1,   188356, 0x507769aa
+0,         74,         74,        1,   188356, 0xddfb3069
+0,         75,         75,        1,   188356, 0x7296f749
+0,         76,         76,        1,   188356, 0x0555ca32
+0,         77,         77,        1,   188356, 0x4554c683
+0,         78,         78,        1,   188356, 0x2398c10f
+0,         79,         79,        1,   188356, 0x1c5ccfa0
+0,         80,         80,        1,   188356, 0xa580f3c8
+0,         81,         81,        1,   188356, 0x4fadea78
+0,         82,         82,        1,   188356, 0x4a57db38
+0,         83,         83,        1,   188356, 0x9e98df6d
+0,         84,         84,        1,   188356, 0xfeb3dec9
+0,         85,         85,        1,   188356, 0xbf16ef7a
+0,         86,         86,        1,   188356, 0xdc23fc48
+0,         87,         87,        1,   188356, 0x3bf2e401
+0,         88,         88,        1,   188356, 0xc832bcf4
+0,         89,         89,        1,   188356, 0x977db44f
+0,         90,         90,        1,   188356, 0x18d39d96
+0,         91,         91,        1,   188356, 0x9adf60d8
+0,         92,         92,        1,   188356, 0x567b667a
+0,         93,         93,        1,   188356, 0xd4a45e8e
+0,         94,         94,        1,   188356, 0x94a24cc7
+0,         95,         95,        1,   188356, 0x086f0a53
+0,         96,         96,        1,   188356, 0xcbf3ebcb
+0,         97,         97,        1,   188356, 0x1a40a7b9
+0,         98,         98,        1,   188356, 0xe16d8964
+0,         99,         99,        1,   188356, 0x3edd7dfa
+0,        100,        100,        1,   188356, 0xba417fa5
+0,        101,        101,        1,   188356, 0x734a7611
+0,        102,        102,        1,   188356, 0xfa1e7b1e
+0,        103,        103,        1,   188356, 0x1af23355
+0,        104,        104,        1,   188356, 0x28d41390
+0,        105,        105,        1,   188356, 0x2838c58d
+0,        106,        106,        1,   188356, 0x4e2ba2a8
+0,        107,        107,        1,   188356, 0xcedc99ae
+0,        108,        108,        1,   188356, 0xb06ba12d
+0,        109,        109,        1,   188356, 0x38c997b6
+0,        110,        110,        1,   188356, 0x12dba0dc
+0,        111,        111,        1,   188356, 0x5f86496a
+0,        112,        112,        1,   188356, 0x0b74216d
+0,        113,        113,        1,   188356, 0xdbddbada
+0,        114,        114,        1,   188356, 0x7d168af2
+0,        115,        115,        1,   188356, 0x22d4462b
+0,        116,        116,        1,   188356, 0xc248265d
+0,        117,        117,        1,   188356, 0x37a41b0d
+0,        118,        118,        1,   188356, 0x9ebd24f1
+0,        119,        119,        1,   188356, 0xf21f1633
+0,        120,        120,        1,   188356, 0x1db62004
+0,        121,        121,        1,   188356, 0xcc241ac1
+0,        122,        122,        1,   188356, 0x224d2637
+0,        123,        123,        1,   188356, 0x1bd8390c
+0,        124,        124,        1,   188356, 0xd8e64966
+0,        125,        125,        1,   188356, 0x96e66287
+0,        126,        126,        1,   188356, 0xa83c9a32
+0,        127,        127,        1,   188356, 0x3a5faeba
+0,        128,        128,        1,   188356, 0x8200cd87
+0,        129,        129,        1,   188356, 0x6326e591
+0,        130,        130,        1,   188356, 0xb5d70993
+0,        131,        131,        1,   188356, 0x954d5da2
+0,        132,        132,        1,   188356, 0x38b1788b
+0,        133,        133,        1,   188356, 0x4aafa131
+0,        134,        134,        1,   188356, 0xaff2be78
+0,        135,        135,        1,   188356, 0x9bd7eb69
+0,        136,        136,        1,   188356, 0x0d2b17c9
+0,        137,        137,        1,   188356, 0xf5d8a764
+0,        138,        138,        1,   188356, 0xa302dfb2
+0,        139,        139,        1,   188356, 0xe8a32ac1
+0,        140,        140,        1,   188356, 0x50a8470d
+0,        141,        141,        1,   188356, 0x52826061
+0,        142,        142,        1,   188356, 0x26e88798
+0,        143,        143,        1,   188356, 0x1448acb8
+0,        144,        144,        1,   188356, 0xfb380972
+0,        145,        145,        1,   188356, 0x184976e8
+0,        146,        146,        1,   188356, 0xa349a871
+0,        147,        147,        1,   188356, 0x617ed8b1
+0,        148,        148,        1,   188356, 0xb6bc1425
+0,        149,        149,        1,   188356, 0xafe74efd
+0,        150,        150,        1,   188356, 0x0b8b61e5
+0,        151,        151,        1,   188356, 0xc6ad67a7
+0,        152,        152,        1,   188356, 0x4da186fe
+0,        153,        153,        1,   188356, 0xe08f9975
+0,        154,        154,        1,   188356, 0xa43f8ba4
+0,        155,        155,        1,   188356, 0xcad4b6b5
+0,        156,        156,        1,   188356, 0x7e70d51e
+0,        157,        157,        1,   188356, 0x429b0b5b
+0,        158,        158,        1,   188356, 0xea92350d
+0,        159,        159,        1,   188356, 0x9a7440f8
+0,        160,        160,        1,   188356, 0x63a2be6e
+0,        161,        161,        1,   188356, 0x59b64b50
+0,        162,        162,        1,   188356, 0x63c4a10e
+0,        163,        163,        1,   188356, 0x6146e5e0
+0,        164,        164,        1,   188356, 0x603b2ae5
+0,        165,        165,        1,   188356, 0x818bc774
+0,        166,        166,        1,   188356, 0xa5ce278f
+0,        167,        167,        1,   188356, 0x4d85684d
+0,        168,        168,        1,   188356, 0xbbda9cad
+0,        169,        169,        1,   188356, 0xfee2e78e
+0,        170,        170,        1,   188356, 0x681d2635
+0,        171,        171,        1,   188356, 0x05354903
+0,        172,        172,        1,   188356, 0x8eecac99
diff --git a/tests/ref/fate/gif-disposal-background b/tests/ref/fate/gif-disposal-background
index dbfaa48f..838745b 100644
--- a/tests/ref/fate/gif-disposal-background
+++ b/tests/ref/fate/gif-disposal-background
@@ -1,6 +1,6 @@
-#tb 0: 1/100
+#tb 0: 1/2
 0,          0,          0,        1,    10368, 0x8b200cc8
-0,         50,         50,        1,    10368, 0x4e208e4f
-0,        100,        100,        1,    10368, 0x044dba8b
-0,        150,        150,        1,    10368, 0x1d617e09
-0,        200,        200,        1,    10368, 0xae38a6d2
+0,          1,          1,        1,    10368, 0x4e208e4f
+0,          2,          2,        1,    10368, 0x044dba8b
+0,          3,          3,        1,    10368, 0x1d617e09
+0,          4,          4,        1,    10368, 0xae38a6d2
diff --git a/tests/ref/fate/gif-disposal-restore b/tests/ref/fate/gif-disposal-restore
index 0ce4112..c5ebfcb 100644
--- a/tests/ref/fate/gif-disposal-restore
+++ b/tests/ref/fate/gif-disposal-restore
@@ -1,4 +1,3 @@
-#tb 0: 1/100
+#tb 0: 1/1
 0,          0,          0,        1,   112320, 0xb8afe429
-0,         10,         10,        1,   112320, 0xae588a4b
-0,        310,        310,        1,   112320, 0xccdd27b7
+0,          3,          3,        1,   112320, 0xccdd27b7
diff --git a/tests/ref/fate/gifenc-bgr4_byte b/tests/ref/fate/gifenc-bgr4_byte
index dceaf52..c0d39bd 100644
--- a/tests/ref/fate/gifenc-bgr4_byte
+++ b/tests/ref/fate/gifenc-bgr4_byte
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,      508, 0xa1b80fc0
-0,         10,         10,        1,      213, 0x4f554bd7, S=1,     1024, 0xb6327c81
-0,         20,         20,        1,      131, 0x283b2988, S=1,     1024, 0xae3a7c81
-0,         30,         30,        1,      384, 0xc4fea72a, S=1,     1024, 0xb6327c81
-0,         40,         40,        1,      381, 0x050ba2b8, S=1,     1024, 0x9e4a7c81
-0,         50,         50,        1,      430, 0x00cfb2ae, S=1,     1024, 0x9e4a7c81
-0,         60,         60,        1,      518, 0xc8e5d827, S=1,     1024, 0x9e4a7c81
-0,         70,         70,        1,      535, 0x326ce62a, S=1,     1024, 0x9e4a7c81
-0,         80,         80,        1,      438, 0x34d6b7c0, S=1,     1024, 0xb6327c81
-0,         90,         90,        1,      923, 0x9fb1a37c, S=1,     1024, 0xb6327c81
-0,        100,        100,        1,      694, 0xf20449a5, S=1,     1024, 0xb6327c81
-0,        110,        110,        1,     1194, 0x67cd2ab5, S=1,     1024, 0xb6327c81
-0,        120,        120,        1,     1291, 0x1d23539d, S=1,     1024, 0xb6327c81
-0,        130,        130,        1,     1245, 0x065f32e6, S=1,     1024, 0xb6327c81
-0,        140,        140,        1,     1330, 0x83ec51a4, S=1,     1024, 0xb6327c81
-0,        150,        150,        1,     1276, 0x2acf38dc, S=1,     1024, 0xb6327c81
-0,        160,        160,        1,     1475, 0x4cd197ef, S=1,     1024, 0xb6327c81
-0,        170,        170,        1,     1784, 0xd1e84ae6, S=1,     1024, 0xde0a7c81
-0,        180,        180,        1,     1675, 0x092dfa86, S=1,     1024, 0xde0a7c81
-0,        190,        190,        1,     1509, 0x639aaa00, S=1,     1024, 0xde0a7c81
-0,        200,        200,        1,     1705, 0xfd3719d5, S=1,     1024, 0xde0a7c81
-0,        210,        210,        1,     1745, 0x8a761db4, S=1,     1024, 0xde0a7c81
-0,        220,        220,        1,     1642, 0x18830245, S=1,     1024, 0xde0a7c81
-0,        230,        230,        1,     1718, 0x3c8d1ebe, S=1,     1024, 0xde0a7c81
-0,        240,        240,        1,     1900, 0x2ea879d1, S=1,     1024, 0xde0a7c81
-0,        250,        250,        1,     1807, 0x02b35230, S=1,     1024, 0xde0a7c81
-0,        260,        260,        1,     1915, 0x22d48344, S=1,     1024, 0xde0a7c81
-0,        270,        270,        1,     2100, 0x55fcd063, S=1,     1024, 0xde0a7c81
-0,        280,        280,        1,     2700, 0x7cc5f08b, S=1,     1024, 0xde0a7c81
-0,        290,        290,        1,     2673, 0xb997a80d, S=1,     1024, 0xde0a7c81
-0,        300,        300,        1,     2895, 0xab69484d, S=1,     1024, 0xde0a7c81
-0,        310,        310,        1,     3257, 0xf753cf24, S=1,     1024, 0xde0a7c81
-0,        320,        320,        1,     3179, 0x34f2c13b, S=1,     1024, 0xde0a7c81
-0,        330,        330,        1,     3296, 0x7c06e72f, S=1,     1024, 0xde0a7c81
-0,        340,        340,        1,     3600, 0x4ca67634, S=1,     1024, 0xde0a7c81
-0,        350,        350,        1,     3699, 0xabe89fe3, S=1,     1024, 0xde0a7c81
-0,        360,        360,        1,     3814, 0x1869d3f4, S=1,     1024, 0xde0a7c81
-0,        370,        370,        1,     3627, 0x19bd7da7, S=1,     1024, 0xde0a7c81
-0,        380,        380,        1,     2950, 0x048a6055, S=1,     1024, 0xde0a7c81
-0,        390,        390,        1,     3086, 0x64ec8fc2, S=1,     1024, 0xde0a7c81
-0,        400,        400,        1,     3094, 0x1a388553, S=1,     1024, 0xde0a7c81
-0,        410,        410,        1,     3456, 0x01432c82, S=1,     1024, 0xde0a7c81
-0,        420,        420,        1,     4108, 0xf9505c66, S=1,     1024, 0xde0a7c81
-0,        430,        430,        1,     4217, 0x7f985ba4, S=1,     1024, 0xde0a7c81
-0,        440,        440,        1,     3613, 0xd0684d83, S=1,     1024, 0xde0a7c81
-0,        450,        450,        1,     3910, 0x0070e692, S=1,     1024, 0xde0a7c81
-0,        460,        460,        1,     4461, 0x5cc9e33d, S=1,     1024, 0xde0a7c81
-0,        470,        470,        1,     4593, 0x33a32dd1, S=1,     1024, 0xde0a7c81
-0,        480,        480,        1,     4822, 0x59549883, S=1,     1024, 0xde0a7c81
-0,        490,        490,        1,     5398, 0xb7bac31e, S=1,     1024, 0xde0a7c81
-0,        500,        500,        1,     5266, 0x21c695aa, S=1,     1024, 0xde0a7c81
-0,        510,        510,        1,     5416, 0xf305e3ed, S=1,     1024, 0xde0a7c81
-0,        520,        520,        1,     5519, 0x857d071f, S=1,     1024, 0xde0a7c81
-0,        530,        530,        1,     5701, 0x8f885c9c, S=1,     1024, 0xde0a7c81
-0,        540,        540,        1,     6160, 0x48523e83, S=1,     1024, 0xde0a7c81
-0,        550,        550,        1,     6233, 0x8fd2511e, S=1,     1024, 0xde0a7c81
-0,        560,        560,        1,     5911, 0x92d4c516, S=1,     1024, 0xde0a7c81
-0,        570,        570,        1,     5997, 0xbd7cfa15, S=1,     1024, 0xde0a7c81
-0,        580,        580,        1,     5946, 0x8f5fedff, S=1,     1024, 0xde0a7c81
-0,        590,        590,        1,     6468, 0x45c0cb8c, S=1,     1024, 0xde0a7c81
-0,        600,        600,        1,     6737, 0x4e1e39ac, S=1,     1024, 0xde0a7c81
-0,        610,        610,        1,     6275, 0x1d5e8f4c, S=1,     1024, 0xde0a7c81
-0,        620,        620,        1,     6641, 0x844b3aad, S=1,     1024, 0xde0a7c81
-0,        630,        630,        1,     6378, 0x52568640, S=1,     1024, 0xde0a7c81
-0,        640,        640,        1,     6257, 0xfabc585f, S=1,     1024, 0xde0a7c81
-0,        650,        650,        1,     6908, 0xf261701c, S=1,     1024, 0xde0a7c81
-0,        660,        660,        1,     7230, 0xb4f524ce, S=1,     1024, 0xde0a7c81
-0,        670,        670,        1,     7556, 0x89c1a712, S=1,     1024, 0xde0a7c81
-0,        680,        680,        1,     7413, 0x553970a4, S=1,     1024, 0xde0a7c81
-0,        690,        690,        1,     7476, 0x24d2a761, S=1,     1024, 0xde0a7c81
-0,        700,        700,        1,     7596, 0xf072e431, S=1,     1024, 0xde0a7c81
-0,        710,        710,        1,     7756, 0x131205c0, S=1,     1024, 0xde0a7c81
-0,        720,        720,        1,     8015, 0xf4536a7f, S=1,     1024, 0xde0a7c81
-0,        730,        730,        1,     8128, 0xba80be2b, S=1,     1024, 0xde0a7c81
-0,        740,        740,        1,     8101, 0x44ceb3a2, S=1,     1024, 0xde0a7c81
-0,        750,        750,        1,     7863, 0x55043dfd, S=1,     1024, 0xde0a7c81
-0,        760,        760,        1,     7960, 0x38399182, S=1,     1024, 0xde0a7c81
-0,        770,        770,        1,     8238, 0x1d52ecf3, S=1,     1024, 0xde0a7c81
-0,        780,        780,        1,     8321, 0xd8d24a5c, S=1,     1024, 0xde0a7c81
-0,        790,        790,        1,     8562, 0x4a0cc02b, S=1,     1024, 0xde0a7c81
-0,        800,        800,        1,     8746, 0x2db40da7, S=1,     1024, 0xde0a7c81
-0,        810,        810,        1,     8578, 0x46f9a4c1, S=1,     1024, 0xde0a7c81
-0,        820,        820,        1,     8878, 0xf58d5a19, S=1,     1024, 0xde0a7c81
-0,        830,        830,        1,     9077, 0x78de57f6, S=1,     1024, 0xde0a7c81
-0,        840,        840,        1,     9310, 0x8c10f77a, S=1,     1024, 0xde0a7c81
-0,        850,        850,        1,     9394, 0x741f431e, S=1,     1024, 0xde0a7c81
-0,        860,        860,        1,     9161, 0x6f499587, S=1,     1024, 0xde0a7c81
-0,        870,        870,        1,     9462, 0x628936c3, S=1,     1024, 0xde0a7c81
-0,        880,        880,        1,     9650, 0x4cb4936e, S=1,     1024, 0xde0a7c81
-0,        890,        890,        1,     9701, 0x5e069c40, S=1,     1024, 0xde0a7c81
-0,        900,        900,        1,     9523, 0x66a13c83, S=1,     1024, 0xde0a7c81
-0,        910,        910,        1,     9891, 0x43ea0e93, S=1,     1024, 0xde0a7c81
-0,        920,        920,        1,    10005, 0x96a849e7, S=1,     1024, 0xde0a7c81
-0,        930,        930,        1,    10038, 0x68032d25, S=1,     1024, 0xde0a7c81
-0,        940,        940,        1,    10086, 0xef59458d, S=1,     1024, 0xde0a7c81
-0,        950,        950,        1,    10438, 0x3466fed0, S=1,     1024, 0xde0a7c81
-0,        960,        960,        1,    10583, 0x8bdd5477, S=1,     1024, 0xde0a7c81
-0,        970,        970,        1,    10581, 0x69d27fee, S=1,     1024, 0xde0a7c81
-0,        980,        980,        1,    10807, 0xde62d6e3, S=1,     1024, 0xde0a7c81
-0,        990,        990,        1,    11111, 0x34eb4c13, S=1,     1024, 0xde0a7c81
-0,       1000,       1000,        1,    11194, 0x584f6b73, S=1,     1024, 0xde0a7c81
-0,       1010,       1010,        1,    11240, 0xc90ba13f, S=1,     1024, 0xde0a7c81
-0,       1020,       1020,        1,    11483, 0x59c4f3c5, S=1,     1024, 0xde0a7c81
-0,       1030,       1030,        1,    11680, 0xc62c5bc1, S=1,     1024, 0xde0a7c81
-0,       1040,       1040,        1,    11785, 0xc9bab793, S=1,     1024, 0xde0a7c81
-0,       1050,       1050,        1,    11436, 0xc9c40809, S=1,     1024, 0xde0a7c81
-0,       1060,       1060,        1,    11928, 0x4b77c9a7, S=1,     1024, 0xde0a7c81
-0,       1070,       1070,        1,    11932, 0x722abcbe, S=1,     1024, 0xde0a7c81
-0,       1080,       1080,        1,    12281, 0x0d136f53, S=1,     1024, 0xde0a7c81
-0,       1090,       1090,        1,    12334, 0x04a47f78, S=1,     1024, 0xde0a7c81
-0,       1100,       1100,        1,    12452, 0xa02db188, S=1,     1024, 0xde0a7c81
-0,       1110,       1110,        1,    12695, 0x1a813b2e, S=1,     1024, 0xde0a7c81
-0,       1120,       1120,        1,    12668, 0x81b24f79, S=1,     1024, 0xde0a7c81
-0,       1130,       1130,        1,    12957, 0x4da59f8c, S=1,     1024, 0xde0a7c81
-0,       1140,       1140,        1,    13054, 0x7abedf5a, S=1,     1024, 0xde0a7c81
-0,       1150,       1150,        1,    13147, 0x138f2bbd, S=1,     1024, 0xde0a7c81
-0,       1160,       1160,        1,    13171, 0x43c1195f, S=1,     1024, 0xde0a7c81
-0,       1170,       1170,        1,    13198, 0x2c8d58d4, S=1,     1024, 0xde0a7c81
-0,       1180,       1180,        1,    13211, 0x12c36193, S=1,     1024, 0xde0a7c81
-0,       1190,       1190,        1,    13210, 0xfe496107, S=1,     1024, 0xde0a7c81
-0,       1200,       1200,        1,    13467, 0x4d8ea128, S=1,     1024, 0xde0a7c81
-0,       1210,       1210,        1,    13665, 0x94caddde, S=1,     1024, 0xde0a7c81
-0,       1220,       1220,        1,    13692, 0xe38febd9, S=1,     1024, 0xde0a7c81
-0,       1230,       1230,        1,    13821, 0xee592e62, S=1,     1024, 0xde0a7c81
-0,       1240,       1240,        1,    13946, 0xceb09235, S=1,     1024, 0xde0a7c81
-0,       1250,       1250,        1,    14063, 0x7361d2f5, S=1,     1024, 0xde0a7c81
-0,       1260,       1260,        1,    14124, 0x226bcac1, S=1,     1024, 0xde0a7c81
-0,       1270,       1270,        1,    14331, 0x0649512b, S=1,     1024, 0xde0a7c81
-0,       1280,       1280,        1,    14469, 0x0d7da45b, S=1,     1024, 0xde0a7c81
-0,       1290,       1290,        1,    14536, 0x73cca242, S=1,     1024, 0xde0a7c81
-0,       1300,       1300,        1,    14608, 0x1f3dd14e, S=1,     1024, 0xde0a7c81
-0,       1310,       1310,        1,    14898, 0xd13d258e, S=1,     1024, 0xde0a7c81
-0,       1320,       1320,        1,    14978, 0xfa049fea, S=1,     1024, 0xde0a7c81
-0,       1330,       1330,        1,    15142, 0x1dfad60c, S=1,     1024, 0xde0a7c81
-0,       1340,       1340,        1,    15129, 0x5962bae7, S=1,     1024, 0xde0a7c81
-0,       1350,       1350,        1,    15243, 0x2c2c113b, S=1,     1024, 0xde0a7c81
-0,       1360,       1360,        1,    15337, 0x3cab623b, S=1,     1024, 0xde0a7c81
-0,       1370,       1370,        1,    15638, 0xbff3a100, S=1,     1024, 0xde0a7c81
-0,       1380,       1380,        1,    15912, 0x13bf1fb2, S=1,     1024, 0xde0a7c81
-0,       1390,       1390,        1,    16041, 0x01134246, S=1,     1024, 0xde0a7c81
-0,       1400,       1400,        1,    16228, 0xe2f80035, S=1,     1024, 0xde0a7c81
-0,       1410,       1410,        1,    16262, 0xc8d3ea51, S=1,     1024, 0xde0a7c81
-0,       1420,       1420,        1,    16371, 0xe7da07f2, S=1,     1024, 0xde0a7c81
-0,       1430,       1430,        1,    16661, 0x10ada592, S=1,     1024, 0xde0a7c81
-0,       1440,       1440,        1,    16917, 0xbfb717e5, S=1,     1024, 0xde0a7c81
-0,       1450,       1450,        1,    17149, 0x4074ca41, S=1,     1024, 0xde0a7c81
-0,       1460,       1460,        1,    17172, 0xf749b49f, S=1,     1024, 0xde0a7c81
-0,       1470,       1470,        1,    17315, 0x2abea8a0, S=1,     1024, 0xde0a7c81
-0,       1480,       1480,        1,    17397, 0x14f71122, S=1,     1024, 0xde0a7c81
-0,       1490,       1490,        1,    17431, 0xce49f2d3, S=1,     1024, 0xde0a7c81
-0,       1500,       1500,        1,    17576, 0x7c6552ad, S=1,     1024, 0xde0a7c81
-0,       1510,       1510,        1,    17764, 0x1d198d60, S=1,     1024, 0xde0a7c81
-0,       1520,       1520,        1,    17826, 0xe1727f57, S=1,     1024, 0xde0a7c81
-0,       1530,       1530,        1,    17918, 0xb78d9b9f, S=1,     1024, 0xde0a7c81
-0,       1540,       1540,        1,    17823, 0xc9fabf19, S=1,     1024, 0xde0a7c81
-0,       1550,       1550,        1,    18142, 0xeb5b21a9, S=1,     1024, 0xde0a7c81
-0,       1560,       1560,        1,    18257, 0x7b38822c, S=1,     1024, 0xde0a7c81
-0,       1570,       1570,        1,    18337, 0xd395c279, S=1,     1024, 0xde0a7c81
-0,       1580,       1580,        1,    18293, 0x6c3b3766, S=1,     1024, 0xde0a7c81
-0,       1590,       1590,        1,    18418, 0x2abcbcf8, S=1,     1024, 0xde0a7c81
-0,       1600,       1600,        1,    18607, 0x79424730, S=1,     1024, 0xde0a7c81
-0,       1610,       1610,        1,    18916, 0x8707bbc6, S=1,     1024, 0xde0a7c81
-0,       1620,       1620,        1,    19073, 0xd82c03f6, S=1,     1024, 0xde0a7c81
-0,       1630,       1630,        1,    19168, 0xb7d6fe27, S=1,     1024, 0xde0a7c81
-0,       1640,       1640,        1,    19210, 0x79f301eb, S=1,     1024, 0xde0a7c81
-0,       1650,       1650,        1,    19398, 0x0a5663c6, S=1,     1024, 0xde0a7c81
-0,       1660,       1660,        1,    19480, 0x4fe09e5b, S=1,     1024, 0xde0a7c81
-0,       1670,       1670,        1,    19659, 0xab971088, S=1,     1024, 0xde0a7c81
-0,       1680,       1680,        1,    19672, 0x2e331553, S=1,     1024, 0xde0a7c81
-0,       1690,       1690,        1,    19936, 0x2eea628a, S=1,     1024, 0xde0a7c81
-0,       1700,       1700,        1,    19975, 0xd6bb9ab2, S=1,     1024, 0xde0a7c81
-0,       1710,       1710,        1,    20021, 0xf7e98dc5, S=1,     1024, 0xde0a7c81
-0,       1720,       1720,        1,    20060, 0x20017807, S=1,     1024, 0xde0a7c81
+0,          1,          1,        1,      213, 0x4f554bd7, S=1,     1024, 0xb6327c81
+0,          2,          2,        1,      131, 0x283b2988, S=1,     1024, 0xae3a7c81
+0,          3,          3,        1,      384, 0xc4fea72a, S=1,     1024, 0xb6327c81
+0,          4,          4,        1,      381, 0x050ba2b8, S=1,     1024, 0x9e4a7c81
+0,          5,          5,        1,      430, 0x00cfb2ae, S=1,     1024, 0x9e4a7c81
+0,          6,          6,        1,      518, 0xc8e5d827, S=1,     1024, 0x9e4a7c81
+0,          7,          7,        1,      535, 0x326ce62a, S=1,     1024, 0x9e4a7c81
+0,          8,          8,        1,      438, 0x34d6b7c0, S=1,     1024, 0xb6327c81
+0,          9,          9,        1,      923, 0x9fb1a37c, S=1,     1024, 0xb6327c81
+0,         10,         10,        1,      694, 0xf20449a5, S=1,     1024, 0xb6327c81
+0,         11,         11,        1,     1194, 0x67cd2ab5, S=1,     1024, 0xb6327c81
+0,         12,         12,        1,     1291, 0x1d23539d, S=1,     1024, 0xb6327c81
+0,         13,         13,        1,     1245, 0x065f32e6, S=1,     1024, 0xb6327c81
+0,         14,         14,        1,     1330, 0x83ec51a4, S=1,     1024, 0xb6327c81
+0,         15,         15,        1,     1276, 0x2acf38dc, S=1,     1024, 0xb6327c81
+0,         16,         16,        1,     1475, 0x4cd197ef, S=1,     1024, 0xb6327c81
+0,         17,         17,        1,     1784, 0xd1e84ae6, S=1,     1024, 0xde0a7c81
+0,         18,         18,        1,     1675, 0x092dfa86, S=1,     1024, 0xde0a7c81
+0,         19,         19,        1,     1509, 0x639aaa00, S=1,     1024, 0xde0a7c81
+0,         20,         20,        1,     1705, 0xfd3719d5, S=1,     1024, 0xde0a7c81
+0,         21,         21,        1,     1745, 0x8a761db4, S=1,     1024, 0xde0a7c81
+0,         22,         22,        1,     1642, 0x18830245, S=1,     1024, 0xde0a7c81
+0,         23,         23,        1,     1718, 0x3c8d1ebe, S=1,     1024, 0xde0a7c81
+0,         24,         24,        1,     1900, 0x2ea879d1, S=1,     1024, 0xde0a7c81
+0,         25,         25,        1,     1807, 0x02b35230, S=1,     1024, 0xde0a7c81
+0,         26,         26,        1,     1915, 0x22d48344, S=1,     1024, 0xde0a7c81
+0,         27,         27,        1,     2100, 0x55fcd063, S=1,     1024, 0xde0a7c81
+0,         28,         28,        1,     2700, 0x7cc5f08b, S=1,     1024, 0xde0a7c81
+0,         29,         29,        1,     2673, 0xb997a80d, S=1,     1024, 0xde0a7c81
+0,         30,         30,        1,     2895, 0xab69484d, S=1,     1024, 0xde0a7c81
+0,         31,         31,        1,     3257, 0xf753cf24, S=1,     1024, 0xde0a7c81
+0,         32,         32,        1,     3179, 0x34f2c13b, S=1,     1024, 0xde0a7c81
+0,         33,         33,        1,     3296, 0x7c06e72f, S=1,     1024, 0xde0a7c81
+0,         34,         34,        1,     3600, 0x4ca67634, S=1,     1024, 0xde0a7c81
+0,         35,         35,        1,     3699, 0xabe89fe3, S=1,     1024, 0xde0a7c81
+0,         36,         36,        1,     3814, 0x1869d3f4, S=1,     1024, 0xde0a7c81
+0,         37,         37,        1,     3627, 0x19bd7da7, S=1,     1024, 0xde0a7c81
+0,         38,         38,        1,     2950, 0x048a6055, S=1,     1024, 0xde0a7c81
+0,         39,         39,        1,     3086, 0x64ec8fc2, S=1,     1024, 0xde0a7c81
+0,         40,         40,        1,     3094, 0x1a388553, S=1,     1024, 0xde0a7c81
+0,         41,         41,        1,     3456, 0x01432c82, S=1,     1024, 0xde0a7c81
+0,         42,         42,        1,     4108, 0xf9505c66, S=1,     1024, 0xde0a7c81
+0,         43,         43,        1,     4217, 0x7f985ba4, S=1,     1024, 0xde0a7c81
+0,         44,         44,        1,     3613, 0xd0684d83, S=1,     1024, 0xde0a7c81
+0,         45,         45,        1,     3910, 0x0070e692, S=1,     1024, 0xde0a7c81
+0,         46,         46,        1,     4461, 0x5cc9e33d, S=1,     1024, 0xde0a7c81
+0,         47,         47,        1,     4593, 0x33a32dd1, S=1,     1024, 0xde0a7c81
+0,         48,         48,        1,     4822, 0x59549883, S=1,     1024, 0xde0a7c81
+0,         49,         49,        1,     5398, 0xb7bac31e, S=1,     1024, 0xde0a7c81
+0,         50,         50,        1,     5266, 0x21c695aa, S=1,     1024, 0xde0a7c81
+0,         51,         51,        1,     5416, 0xf305e3ed, S=1,     1024, 0xde0a7c81
+0,         52,         52,        1,     5519, 0x857d071f, S=1,     1024, 0xde0a7c81
+0,         53,         53,        1,     5701, 0x8f885c9c, S=1,     1024, 0xde0a7c81
+0,         54,         54,        1,     6160, 0x48523e83, S=1,     1024, 0xde0a7c81
+0,         55,         55,        1,     6233, 0x8fd2511e, S=1,     1024, 0xde0a7c81
+0,         56,         56,        1,     5911, 0x92d4c516, S=1,     1024, 0xde0a7c81
+0,         57,         57,        1,     5997, 0xbd7cfa15, S=1,     1024, 0xde0a7c81
+0,         58,         58,        1,     5946, 0x8f5fedff, S=1,     1024, 0xde0a7c81
+0,         59,         59,        1,     6468, 0x45c0cb8c, S=1,     1024, 0xde0a7c81
+0,         60,         60,        1,     6737, 0x4e1e39ac, S=1,     1024, 0xde0a7c81
+0,         61,         61,        1,     6275, 0x1d5e8f4c, S=1,     1024, 0xde0a7c81
+0,         62,         62,        1,     6641, 0x844b3aad, S=1,     1024, 0xde0a7c81
+0,         63,         63,        1,     6378, 0x52568640, S=1,     1024, 0xde0a7c81
+0,         64,         64,        1,     6257, 0xfabc585f, S=1,     1024, 0xde0a7c81
+0,         65,         65,        1,     6908, 0xf261701c, S=1,     1024, 0xde0a7c81
+0,         66,         66,        1,     7230, 0xb4f524ce, S=1,     1024, 0xde0a7c81
+0,         67,         67,        1,     7556, 0x89c1a712, S=1,     1024, 0xde0a7c81
+0,         68,         68,        1,     7413, 0x553970a4, S=1,     1024, 0xde0a7c81
+0,         69,         69,        1,     7476, 0x24d2a761, S=1,     1024, 0xde0a7c81
+0,         70,         70,        1,     7596, 0xf072e431, S=1,     1024, 0xde0a7c81
+0,         71,         71,        1,     7756, 0x131205c0, S=1,     1024, 0xde0a7c81
+0,         72,         72,        1,     8015, 0xf4536a7f, S=1,     1024, 0xde0a7c81
+0,         73,         73,        1,     8128, 0xba80be2b, S=1,     1024, 0xde0a7c81
+0,         74,         74,        1,     8101, 0x44ceb3a2, S=1,     1024, 0xde0a7c81
+0,         75,         75,        1,     7863, 0x55043dfd, S=1,     1024, 0xde0a7c81
+0,         76,         76,        1,     7960, 0x38399182, S=1,     1024, 0xde0a7c81
+0,         77,         77,        1,     8238, 0x1d52ecf3, S=1,     1024, 0xde0a7c81
+0,         78,         78,        1,     8321, 0xd8d24a5c, S=1,     1024, 0xde0a7c81
+0,         79,         79,        1,     8562, 0x4a0cc02b, S=1,     1024, 0xde0a7c81
+0,         80,         80,        1,     8746, 0x2db40da7, S=1,     1024, 0xde0a7c81
+0,         81,         81,        1,     8578, 0x46f9a4c1, S=1,     1024, 0xde0a7c81
+0,         82,         82,        1,     8878, 0xf58d5a19, S=1,     1024, 0xde0a7c81
+0,         83,         83,        1,     9077, 0x78de57f6, S=1,     1024, 0xde0a7c81
+0,         84,         84,        1,     9310, 0x8c10f77a, S=1,     1024, 0xde0a7c81
+0,         85,         85,        1,     9394, 0x741f431e, S=1,     1024, 0xde0a7c81
+0,         86,         86,        1,     9161, 0x6f499587, S=1,     1024, 0xde0a7c81
+0,         87,         87,        1,     9462, 0x628936c3, S=1,     1024, 0xde0a7c81
+0,         88,         88,        1,     9650, 0x4cb4936e, S=1,     1024, 0xde0a7c81
+0,         89,         89,        1,     9701, 0x5e069c40, S=1,     1024, 0xde0a7c81
+0,         90,         90,        1,     9523, 0x66a13c83, S=1,     1024, 0xde0a7c81
+0,         91,         91,        1,     9891, 0x43ea0e93, S=1,     1024, 0xde0a7c81
+0,         92,         92,        1,    10005, 0x96a849e7, S=1,     1024, 0xde0a7c81
+0,         93,         93,        1,    10038, 0x68032d25, S=1,     1024, 0xde0a7c81
+0,         94,         94,        1,    10086, 0xef59458d, S=1,     1024, 0xde0a7c81
+0,         95,         95,        1,    10438, 0x3466fed0, S=1,     1024, 0xde0a7c81
+0,         96,         96,        1,    10583, 0x8bdd5477, S=1,     1024, 0xde0a7c81
+0,         97,         97,        1,    10581, 0x69d27fee, S=1,     1024, 0xde0a7c81
+0,         98,         98,        1,    10807, 0xde62d6e3, S=1,     1024, 0xde0a7c81
+0,         99,         99,        1,    11111, 0x34eb4c13, S=1,     1024, 0xde0a7c81
+0,        100,        100,        1,    11194, 0x584f6b73, S=1,     1024, 0xde0a7c81
+0,        101,        101,        1,    11240, 0xc90ba13f, S=1,     1024, 0xde0a7c81
+0,        102,        102,        1,    11483, 0x59c4f3c5, S=1,     1024, 0xde0a7c81
+0,        103,        103,        1,    11680, 0xc62c5bc1, S=1,     1024, 0xde0a7c81
+0,        104,        104,        1,    11785, 0xc9bab793, S=1,     1024, 0xde0a7c81
+0,        105,        105,        1,    11436, 0xc9c40809, S=1,     1024, 0xde0a7c81
+0,        106,        106,        1,    11928, 0x4b77c9a7, S=1,     1024, 0xde0a7c81
+0,        107,        107,        1,    11932, 0x722abcbe, S=1,     1024, 0xde0a7c81
+0,        108,        108,        1,    12281, 0x0d136f53, S=1,     1024, 0xde0a7c81
+0,        109,        109,        1,    12334, 0x04a47f78, S=1,     1024, 0xde0a7c81
+0,        110,        110,        1,    12452, 0xa02db188, S=1,     1024, 0xde0a7c81
+0,        111,        111,        1,    12695, 0x1a813b2e, S=1,     1024, 0xde0a7c81
+0,        112,        112,        1,    12668, 0x81b24f79, S=1,     1024, 0xde0a7c81
+0,        113,        113,        1,    12957, 0x4da59f8c, S=1,     1024, 0xde0a7c81
+0,        114,        114,        1,    13054, 0x7abedf5a, S=1,     1024, 0xde0a7c81
+0,        115,        115,        1,    13147, 0x138f2bbd, S=1,     1024, 0xde0a7c81
+0,        116,        116,        1,    13171, 0x43c1195f, S=1,     1024, 0xde0a7c81
+0,        117,        117,        1,    13198, 0x2c8d58d4, S=1,     1024, 0xde0a7c81
+0,        118,        118,        1,    13211, 0x12c36193, S=1,     1024, 0xde0a7c81
+0,        119,        119,        1,    13210, 0xfe496107, S=1,     1024, 0xde0a7c81
+0,        120,        120,        1,    13467, 0x4d8ea128, S=1,     1024, 0xde0a7c81
+0,        121,        121,        1,    13665, 0x94caddde, S=1,     1024, 0xde0a7c81
+0,        122,        122,        1,    13692, 0xe38febd9, S=1,     1024, 0xde0a7c81
+0,        123,        123,        1,    13821, 0xee592e62, S=1,     1024, 0xde0a7c81
+0,        124,        124,        1,    13946, 0xceb09235, S=1,     1024, 0xde0a7c81
+0,        125,        125,        1,    14063, 0x7361d2f5, S=1,     1024, 0xde0a7c81
+0,        126,        126,        1,    14124, 0x226bcac1, S=1,     1024, 0xde0a7c81
+0,        127,        127,        1,    14331, 0x0649512b, S=1,     1024, 0xde0a7c81
+0,        128,        128,        1,    14469, 0x0d7da45b, S=1,     1024, 0xde0a7c81
+0,        129,        129,        1,    14536, 0x73cca242, S=1,     1024, 0xde0a7c81
+0,        130,        130,        1,    14608, 0x1f3dd14e, S=1,     1024, 0xde0a7c81
+0,        131,        131,        1,    14898, 0xd13d258e, S=1,     1024, 0xde0a7c81
+0,        132,        132,        1,    14978, 0xfa049fea, S=1,     1024, 0xde0a7c81
+0,        133,        133,        1,    15142, 0x1dfad60c, S=1,     1024, 0xde0a7c81
+0,        134,        134,        1,    15129, 0x5962bae7, S=1,     1024, 0xde0a7c81
+0,        135,        135,        1,    15243, 0x2c2c113b, S=1,     1024, 0xde0a7c81
+0,        136,        136,        1,    15337, 0x3cab623b, S=1,     1024, 0xde0a7c81
+0,        137,        137,        1,    15638, 0xbff3a100, S=1,     1024, 0xde0a7c81
+0,        138,        138,        1,    15912, 0x13bf1fb2, S=1,     1024, 0xde0a7c81
+0,        139,        139,        1,    16041, 0x01134246, S=1,     1024, 0xde0a7c81
+0,        140,        140,        1,    16228, 0xe2f80035, S=1,     1024, 0xde0a7c81
+0,        141,        141,        1,    16262, 0xc8d3ea51, S=1,     1024, 0xde0a7c81
+0,        142,        142,        1,    16371, 0xe7da07f2, S=1,     1024, 0xde0a7c81
+0,        143,        143,        1,    16661, 0x10ada592, S=1,     1024, 0xde0a7c81
+0,        144,        144,        1,    16917, 0xbfb717e5, S=1,     1024, 0xde0a7c81
+0,        145,        145,        1,    17149, 0x4074ca41, S=1,     1024, 0xde0a7c81
+0,        146,        146,        1,    17172, 0xf749b49f, S=1,     1024, 0xde0a7c81
+0,        147,        147,        1,    17315, 0x2abea8a0, S=1,     1024, 0xde0a7c81
+0,        148,        148,        1,    17397, 0x14f71122, S=1,     1024, 0xde0a7c81
+0,        149,        149,        1,    17431, 0xce49f2d3, S=1,     1024, 0xde0a7c81
+0,        150,        150,        1,    17576, 0x7c6552ad, S=1,     1024, 0xde0a7c81
+0,        151,        151,        1,    17764, 0x1d198d60, S=1,     1024, 0xde0a7c81
+0,        152,        152,        1,    17826, 0xe1727f57, S=1,     1024, 0xde0a7c81
+0,        153,        153,        1,    17918, 0xb78d9b9f, S=1,     1024, 0xde0a7c81
+0,        154,        154,        1,    17823, 0xc9fabf19, S=1,     1024, 0xde0a7c81
+0,        155,        155,        1,    18142, 0xeb5b21a9, S=1,     1024, 0xde0a7c81
+0,        156,        156,        1,    18257, 0x7b38822c, S=1,     1024, 0xde0a7c81
+0,        157,        157,        1,    18337, 0xd395c279, S=1,     1024, 0xde0a7c81
+0,        158,        158,        1,    18293, 0x6c3b3766, S=1,     1024, 0xde0a7c81
+0,        159,        159,        1,    18418, 0x2abcbcf8, S=1,     1024, 0xde0a7c81
+0,        160,        160,        1,    18607, 0x79424730, S=1,     1024, 0xde0a7c81
+0,        161,        161,        1,    18916, 0x8707bbc6, S=1,     1024, 0xde0a7c81
+0,        162,        162,        1,    19073, 0xd82c03f6, S=1,     1024, 0xde0a7c81
+0,        163,        163,        1,    19168, 0xb7d6fe27, S=1,     1024, 0xde0a7c81
+0,        164,        164,        1,    19210, 0x79f301eb, S=1,     1024, 0xde0a7c81
+0,        165,        165,        1,    19398, 0x0a5663c6, S=1,     1024, 0xde0a7c81
+0,        166,        166,        1,    19480, 0x4fe09e5b, S=1,     1024, 0xde0a7c81
+0,        167,        167,        1,    19659, 0xab971088, S=1,     1024, 0xde0a7c81
+0,        168,        168,        1,    19672, 0x2e331553, S=1,     1024, 0xde0a7c81
+0,        169,        169,        1,    19936, 0x2eea628a, S=1,     1024, 0xde0a7c81
+0,        170,        170,        1,    19975, 0xd6bb9ab2, S=1,     1024, 0xde0a7c81
+0,        171,        171,        1,    20021, 0xf7e98dc5, S=1,     1024, 0xde0a7c81
+0,        172,        172,        1,    20060, 0x20017807, S=1,     1024, 0xde0a7c81
diff --git a/tests/ref/fate/gifenc-bgr8 b/tests/ref/fate/gifenc-bgr8
index 49db763..9f4a593 100644
--- a/tests/ref/fate/gifenc-bgr8
+++ b/tests/ref/fate/gifenc-bgr8
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,      552, 0x271a2dd3
-0,         10,         10,        1,      297, 0x90168a95, S=1,     1024, 0xf351799f
-0,         20,         20,        1,      438, 0x91efce1b, S=1,     1024, 0xf351799f
-0,         30,         30,        1,      450, 0x7c2dcfad, S=1,     1024, 0xf351799f
-0,         40,         40,        1,      547, 0xc131fd3b, S=1,     1024, 0xf351799f
-0,         50,         50,        1,      614, 0x68182006, S=1,     1024, 0xf351799f
-0,         60,         60,        1,      642, 0x78bb1f5f, S=1,     1024, 0xf351799f
-0,         70,         70,        1,      660, 0x35c033a2, S=1,     1024, 0xf351799f
-0,         80,         80,        1,      821, 0xaf30790b, S=1,     1024, 0xf351799f
-0,         90,         90,        1,     1157, 0x741c2da1, S=1,     1024, 0xf351799f
-0,        100,        100,        1,      179, 0x3a27517c, S=1,     1024, 0xf351799f
-0,        110,        110,        1,     1333, 0x5ee76f3c, S=1,     1024, 0xf351799f
-0,        120,        120,        1,     1638, 0x5f640e86, S=1,     1024, 0xf351799f
-0,        130,        130,        1,     1531, 0xccb8e437, S=1,     1024, 0xf351799f
-0,        140,        140,        1,     1720, 0xc95d45ec, S=1,     1024, 0xf351799f
-0,        150,        150,        1,     1910, 0x56cc831e, S=1,     1024, 0xf351799f
-0,        160,        160,        1,     2124, 0x9cc8e130, S=1,     1024, 0xf351799f
-0,        170,        170,        1,     2248, 0x05a325b1, S=1,     1024, 0xf351799f
-0,        180,        180,        1,     2311, 0xdc633703, S=1,     1024, 0xf351799f
-0,        190,        190,        1,     2408, 0x91c26f3e, S=1,     1024, 0xf351799f
-0,        200,        200,        1,     2601, 0x8cf3c157, S=1,     1024, 0xf351799f
-0,        210,        210,        1,     2687, 0x8f6400e6, S=1,     1024, 0xf351799f
-0,        220,        220,        1,     2784, 0xaa880e55, S=1,     1024, 0xf351799f
-0,        230,        230,        1,     2884, 0x46f546f6, S=1,     1024, 0xf351799f
-0,        240,        240,        1,     2982, 0x807c7ad5, S=1,     1024, 0xf351799f
-0,        250,        250,        1,     3101, 0xbcc89bec, S=1,     1024, 0xf351799f
-0,        260,        260,        1,     3253, 0xd032f3fa, S=1,     1024, 0xf351799f
-0,        270,        270,        1,     3329, 0xe4d42430, S=1,     1024, 0xf351799f
-0,        280,        280,        1,     3572, 0xf8058aa0, S=1,     1024, 0xf351799f
-0,        290,        290,        1,     3807, 0x3d2af9f3, S=1,     1024, 0xf351799f
-0,        300,        300,        1,     2750, 0x814d1c33, S=1,     1024, 0xf351799f
-0,        310,        310,        1,     4031, 0x3b077006, S=1,     1024, 0xf351799f
-0,        320,        320,        1,     3025, 0x86729c1c, S=1,     1024, 0xf351799f
-0,        330,        330,        1,     4295, 0xf71b0b38, S=1,     1024, 0xf351799f
-0,        340,        340,        1,     2044, 0x5adcb93b, S=1,     1024, 0xf351799f
-0,        350,        350,        1,     3212, 0xcf79eeed, S=1,     1024, 0xf351799f
-0,        360,        360,        1,     2281, 0x68464d30, S=1,     1024, 0xf351799f
-0,        370,        370,        1,     3633, 0x0010992f, S=1,     1024, 0xf351799f
-0,        380,        380,        1,     3552, 0x23697490, S=1,     1024, 0xf351799f
-0,        390,        390,        1,     3690, 0x62afdbb8, S=1,     1024, 0xf351799f
-0,        400,        400,        1,     1558, 0x7a13e53b, S=1,     1024, 0xf351799f
-0,        410,        410,        1,      940, 0xb1b6cba2, S=1,     1024, 0xf351799f
-0,        420,        420,        1,      273, 0x3687799b, S=1,     1024, 0xf351799f
-0,        430,        430,        1,      930, 0x29f3b0c4, S=1,     1024, 0xf351799f
-0,        440,        440,        1,      271, 0xe7af807c, S=1,     1024, 0xf351799f
-0,        450,        450,        1,      196, 0xf5ab51ee, S=1,     1024, 0xf351799f
-0,        460,        460,        1,     4299, 0x67ec0d55, S=1,     1024, 0xf351799f
-0,        470,        470,        1,     4895, 0xb394406c, S=1,     1024, 0xf351799f
-0,        480,        480,        1,     4928, 0x233919d7, S=1,     1024, 0xf351799f
-0,        490,        490,        1,     4941, 0x58a357da, S=1,     1024, 0xf351799f
-0,        500,        500,        1,     4154, 0x21f2ac33, S=1,     1024, 0xf351799f
-0,        510,        510,        1,     4678, 0xab3cc050, S=1,     1024, 0xf351799f
-0,        520,        520,        1,     4741, 0x1974b581, S=1,     1024, 0xf351799f
-0,        530,        530,        1,     4982, 0x891456d5, S=1,     1024, 0xf351799f
-0,        540,        540,        1,     5179, 0x860fc6a1, S=1,     1024, 0xf351799f
-0,        550,        550,        1,     5046, 0xce9183d3, S=1,     1024, 0xf351799f
-0,        560,        560,        1,     5140, 0xa6d7b9af, S=1,     1024, 0xf351799f
-0,        570,        570,        1,     4289, 0xb415f717, S=1,     1024, 0xf351799f
-0,        580,        580,        1,     5079, 0xa8d59e01, S=1,     1024, 0xf351799f
-0,        590,        590,        1,     5284, 0xea34e3b3, S=1,     1024, 0xf351799f
-0,        600,        600,        1,     5426, 0x556a15cd, S=1,     1024, 0xf351799f
-0,        610,        610,        1,     4645, 0x061e8936, S=1,     1024, 0xf351799f
-0,        620,        620,        1,     5263, 0x7536cf7d, S=1,     1024, 0xf351799f
-0,        630,        630,        1,     5221, 0x9fbac3ca, S=1,     1024, 0xf351799f
-0,        640,        640,        1,     5217, 0x02269bd2, S=1,     1024, 0xf351799f
-0,        650,        650,        1,     5395, 0x120fff66, S=1,     1024, 0xf351799f
-0,        660,        660,        1,     5220, 0x77cedcc5, S=1,     1024, 0xf351799f
-0,        670,        670,        1,     5704, 0xba42dd96, S=1,     1024, 0xf351799f
-0,        680,        680,        1,     5636, 0xcb91a25b, S=1,     1024, 0xf351799f
-0,        690,        690,        1,     5818, 0x8dc0df92, S=1,     1024, 0xf351799f
-0,        700,        700,        1,     5763, 0x51d5d5f0, S=1,     1024, 0xf351799f
-0,        710,        710,        1,     6116, 0x09558b48, S=1,     1024, 0xf351799f
-0,        720,        720,        1,     6069, 0x41926817, S=1,     1024, 0xf351799f
-0,        730,        730,        1,     5796, 0x7fbeda44, S=1,     1024, 0xf351799f
-0,        740,        740,        1,     5999, 0xe07d3770, S=1,     1024, 0xf351799f
-0,        750,        750,        1,     6220, 0x6607b06f, S=1,     1024, 0xf351799f
-0,        760,        760,        1,     6374, 0x7628e533, S=1,     1024, 0xf351799f
-0,        770,        770,        1,     6465, 0xfe956b15, S=1,     1024, 0xf351799f
-0,        780,        780,        1,     7019, 0x6c9a1aef, S=1,     1024, 0xf351799f
-0,        790,        790,        1,     7255, 0x5fa5c1bf, S=1,     1024, 0xf351799f
-0,        800,        800,        1,     8197, 0xf11d6ef2, S=1,     1024, 0xf351799f
-0,        810,        810,        1,     8358, 0x027279e8, S=1,     1024, 0xf351799f
-0,        820,        820,        1,     7708, 0x607f8e8b, S=1,     1024, 0xf351799f
-0,        830,        830,        1,     7412, 0x6bb2105f, S=1,     1024, 0xf351799f
-0,        840,        840,        1,     7541, 0xfdc02154, S=1,     1024, 0xf351799f
-0,        850,        850,        1,     7948, 0x916ecd8b, S=1,     1024, 0xf351799f
-0,        860,        860,        1,     8408, 0x1f97d414, S=1,     1024, 0xf351799f
-0,        870,        870,        1,     8056, 0x9cbf159c, S=1,     1024, 0xf351799f
-0,        880,        880,        1,     7401, 0x2625addb, S=1,     1024, 0xf351799f
-0,        890,        890,        1,     7494, 0x2877eacb, S=1,     1024, 0xf351799f
-0,        900,        900,        1,     7806, 0xe32574a3, S=1,     1024, 0xf351799f
-0,        910,        910,        1,     7768, 0x25ed7ee7, S=1,     1024, 0xf351799f
-0,        920,        920,        1,     7749, 0x6d8e978e, S=1,     1024, 0xf351799f
-0,        930,        930,        1,     8047, 0xec4b150c, S=1,     1024, 0xf351799f
-0,        940,        940,        1,     7618, 0x88cf30d5, S=1,     1024, 0xf351799f
-0,        950,        950,        1,     7979, 0x0eb1cf2a, S=1,     1024, 0xf351799f
-0,        960,        960,        1,    12062, 0xb49d9125, S=1,     1024, 0xf351799f
-0,        970,        970,        1,    12317, 0x2d8fd6e9, S=1,     1024, 0xf351799f
-0,        980,        980,        1,    12217, 0x9b3be549, S=1,     1024, 0xf351799f
-0,        990,        990,        1,    11227, 0x067e9118, S=1,     1024, 0xf351799f
-0,       1000,       1000,        1,    11108, 0x5e5b0afd, S=1,     1024, 0xf351799f
-0,       1010,       1010,        1,    11366, 0xb38e8d15, S=1,     1024, 0xf351799f
-0,       1020,       1020,        1,    11896, 0xeb3e35ca, S=1,     1024, 0xf351799f
-0,       1030,       1030,        1,    11479, 0xbf7581e9, S=1,     1024, 0xf351799f
-0,       1040,       1040,        1,    13395, 0x415b38d8, S=1,     1024, 0xf351799f
-0,       1050,       1050,        1,    12913, 0x61544631, S=1,     1024, 0xf351799f
-0,       1060,       1060,        1,    13864, 0xd39fe768, S=1,     1024, 0xf351799f
-0,       1070,       1070,        1,    13551, 0x76c167d1, S=1,     1024, 0xf351799f
-0,       1080,       1080,        1,    14041, 0x2f206888, S=1,     1024, 0xf351799f
-0,       1090,       1090,        1,    14144, 0x9ec030d3, S=1,     1024, 0xf351799f
-0,       1100,       1100,        1,    14277, 0xa84b3a9b, S=1,     1024, 0xf351799f
-0,       1110,       1110,        1,    14424, 0xf5f1e06e, S=1,     1024, 0xf351799f
-0,       1120,       1120,        1,    14689, 0xbca0adb5, S=1,     1024, 0xf351799f
-0,       1130,       1130,        1,    14598, 0xc1d45745, S=1,     1024, 0xf351799f
-0,       1140,       1140,        1,    15213, 0x8f3080fc, S=1,     1024, 0xf351799f
-0,       1150,       1150,        1,    15425, 0xb0aa8f59, S=1,     1024, 0xf351799f
-0,       1160,       1160,        1,    15595, 0x1406e5d5, S=1,     1024, 0xf351799f
-0,       1170,       1170,        1,    15598, 0x48ec7d08, S=1,     1024, 0xf351799f
-0,       1180,       1180,        1,    15863, 0x5381db7b, S=1,     1024, 0xf351799f
-0,       1190,       1190,        1,    15717, 0xb87a1b87, S=1,     1024, 0xf351799f
-0,       1200,       1200,        1,    16078, 0x5bab2453, S=1,     1024, 0xf351799f
-0,       1210,       1210,        1,    16225, 0xa1f88113, S=1,     1024, 0xf351799f
-0,       1220,       1220,        1,    16135, 0x6af2f4e1, S=1,     1024, 0xf351799f
-0,       1230,       1230,        1,    16661, 0xf02a3343, S=1,     1024, 0xf351799f
-0,       1240,       1240,        1,    16619, 0xc71935a4, S=1,     1024, 0xf351799f
-0,       1250,       1250,        1,    16829, 0x29849844, S=1,     1024, 0xf351799f
-0,       1260,       1260,        1,    16944, 0x3423ae77, S=1,     1024, 0xf351799f
-0,       1270,       1270,        1,    17119, 0x609b4409, S=1,     1024, 0xf351799f
-0,       1280,       1280,        1,    17150, 0xf85dfd31, S=1,     1024, 0xf351799f
-0,       1290,       1290,        1,    17321, 0x38eccb10, S=1,     1024, 0xf351799f
-0,       1300,       1300,        1,    17395, 0x0ba08b85, S=1,     1024, 0xf351799f
-0,       1310,       1310,        1,    17666, 0x6fbc0264, S=1,     1024, 0xf351799f
-0,       1320,       1320,        1,    17730, 0x3dcc64a6, S=1,     1024, 0xf351799f
-0,       1330,       1330,        1,    17934, 0xb539974b, S=1,     1024, 0xf351799f
-0,       1340,       1340,        1,    17944, 0x2214ec94, S=1,     1024, 0xf351799f
-0,       1350,       1350,        1,    18238, 0x70f9ff1d, S=1,     1024, 0xf351799f
-0,       1360,       1360,        1,    18391, 0x4b149209, S=1,     1024, 0xf351799f
-0,       1370,       1370,        1,    18543, 0x45a1c02f, S=1,     1024, 0xf351799f
-0,       1380,       1380,        1,    18939, 0x2789a88c, S=1,     1024, 0xf351799f
-0,       1390,       1390,        1,    19145, 0x5daafd7a, S=1,     1024, 0xf351799f
-0,       1400,       1400,        1,    19120, 0x565f80e6, S=1,     1024, 0xf351799f
-0,       1410,       1410,        1,    19130, 0xff70cc21, S=1,     1024, 0xf351799f
-0,       1420,       1420,        1,    19494, 0xbfa284db, S=1,     1024, 0xf351799f
-0,       1430,       1430,        1,    19534, 0x3d40743b, S=1,     1024, 0xf351799f
-0,       1440,       1440,        1,    19747, 0x33c9b108, S=1,     1024, 0xf351799f
-0,       1450,       1450,        1,    20114, 0x9d223e36, S=1,     1024, 0xf351799f
-0,       1460,       1460,        1,    20257, 0xe7bdaf43, S=1,     1024, 0xf351799f
-0,       1470,       1470,        1,    20370, 0x0c5f1970, S=1,     1024, 0xf351799f
-0,       1480,       1480,        1,    20292, 0x6986d20e, S=1,     1024, 0xf351799f
-0,       1490,       1490,        1,    20491, 0xd88e4c08, S=1,     1024, 0xf351799f
-0,       1500,       1500,        1,    20647, 0x1aefaffc, S=1,     1024, 0xf351799f
-0,       1510,       1510,        1,    20666, 0x43e4aaaa, S=1,     1024, 0xf351799f
-0,       1520,       1520,        1,    21007, 0xa7ca3ef0, S=1,     1024, 0xf351799f
-0,       1530,       1530,        1,    21058, 0x06814351, S=1,     1024, 0xf351799f
-0,       1540,       1540,        1,    21153, 0x3c852b10, S=1,     1024, 0xf351799f
-0,       1550,       1550,        1,    21078, 0x8df15855, S=1,     1024, 0xf351799f
-0,       1560,       1560,        1,    21458, 0xd3a531d6, S=1,     1024, 0xf351799f
-0,       1570,       1570,        1,    21669, 0x88baca53, S=1,     1024, 0xf351799f
-0,       1580,       1580,        1,    21581, 0xd692fa1f, S=1,     1024, 0xf351799f
-0,       1590,       1590,        1,    21654, 0x30fb9061, S=1,     1024, 0xf351799f
-0,       1600,       1600,        1,    21987, 0xe7646d8b, S=1,     1024, 0xf351799f
-0,       1610,       1610,        1,    22205, 0x0fc55b6a, S=1,     1024, 0xf351799f
-0,       1620,       1620,        1,    22475, 0x4bc4c032, S=1,     1024, 0xf351799f
-0,       1630,       1630,        1,    22490, 0x58ca23f6, S=1,     1024, 0xf351799f
-0,       1640,       1640,        1,    22460, 0xf9ceb0ac, S=1,     1024, 0xf351799f
-0,       1650,       1650,        1,    22861, 0xb05f0f84, S=1,     1024, 0xf351799f
-0,       1660,       1660,        1,    22746, 0x0df23a5c, S=1,     1024, 0xf351799f
-0,       1670,       1670,        1,    23165, 0xbd7147ad, S=1,     1024, 0xf351799f
-0,       1680,       1680,        1,    23273, 0x9781a34f, S=1,     1024, 0xf351799f
-0,       1690,       1690,        1,    23211, 0x69c7606b, S=1,     1024, 0xf351799f
-0,       1700,       1700,        1,    23648, 0xdafde037, S=1,     1024, 0xf351799f
-0,       1710,       1710,        1,    23675, 0x2a2147ed, S=1,     1024, 0xf351799f
-0,       1720,       1720,        1,    23874, 0x12c184b6, S=1,     1024, 0xf351799f
+0,          1,          1,        1,      297, 0x90168a95, S=1,     1024, 0xf351799f
+0,          2,          2,        1,      438, 0x91efce1b, S=1,     1024, 0xf351799f
+0,          3,          3,        1,      450, 0x7c2dcfad, S=1,     1024, 0xf351799f
+0,          4,          4,        1,      547, 0xc131fd3b, S=1,     1024, 0xf351799f
+0,          5,          5,        1,      614, 0x68182006, S=1,     1024, 0xf351799f
+0,          6,          6,        1,      642, 0x78bb1f5f, S=1,     1024, 0xf351799f
+0,          7,          7,        1,      660, 0x35c033a2, S=1,     1024, 0xf351799f
+0,          8,          8,        1,      821, 0xaf30790b, S=1,     1024, 0xf351799f
+0,          9,          9,        1,     1157, 0x741c2da1, S=1,     1024, 0xf351799f
+0,         10,         10,        1,      179, 0x3a27517c, S=1,     1024, 0xf351799f
+0,         11,         11,        1,     1333, 0x5ee76f3c, S=1,     1024, 0xf351799f
+0,         12,         12,        1,     1638, 0x5f640e86, S=1,     1024, 0xf351799f
+0,         13,         13,        1,     1531, 0xccb8e437, S=1,     1024, 0xf351799f
+0,         14,         14,        1,     1720, 0xc95d45ec, S=1,     1024, 0xf351799f
+0,         15,         15,        1,     1910, 0x56cc831e, S=1,     1024, 0xf351799f
+0,         16,         16,        1,     2124, 0x9cc8e130, S=1,     1024, 0xf351799f
+0,         17,         17,        1,     2248, 0x05a325b1, S=1,     1024, 0xf351799f
+0,         18,         18,        1,     2311, 0xdc633703, S=1,     1024, 0xf351799f
+0,         19,         19,        1,     2408, 0x91c26f3e, S=1,     1024, 0xf351799f
+0,         20,         20,        1,     2601, 0x8cf3c157, S=1,     1024, 0xf351799f
+0,         21,         21,        1,     2687, 0x8f6400e6, S=1,     1024, 0xf351799f
+0,         22,         22,        1,     2784, 0xaa880e55, S=1,     1024, 0xf351799f
+0,         23,         23,        1,     2884, 0x46f546f6, S=1,     1024, 0xf351799f
+0,         24,         24,        1,     2982, 0x807c7ad5, S=1,     1024, 0xf351799f
+0,         25,         25,        1,     3101, 0xbcc89bec, S=1,     1024, 0xf351799f
+0,         26,         26,        1,     3253, 0xd032f3fa, S=1,     1024, 0xf351799f
+0,         27,         27,        1,     3329, 0xe4d42430, S=1,     1024, 0xf351799f
+0,         28,         28,        1,     3572, 0xf8058aa0, S=1,     1024, 0xf351799f
+0,         29,         29,        1,     3807, 0x3d2af9f3, S=1,     1024, 0xf351799f
+0,         30,         30,        1,     2750, 0x814d1c33, S=1,     1024, 0xf351799f
+0,         31,         31,        1,     4031, 0x3b077006, S=1,     1024, 0xf351799f
+0,         32,         32,        1,     3025, 0x86729c1c, S=1,     1024, 0xf351799f
+0,         33,         33,        1,     4295, 0xf71b0b38, S=1,     1024, 0xf351799f
+0,         34,         34,        1,     2044, 0x5adcb93b, S=1,     1024, 0xf351799f
+0,         35,         35,        1,     3212, 0xcf79eeed, S=1,     1024, 0xf351799f
+0,         36,         36,        1,     2281, 0x68464d30, S=1,     1024, 0xf351799f
+0,         37,         37,        1,     3633, 0x0010992f, S=1,     1024, 0xf351799f
+0,         38,         38,        1,     3552, 0x23697490, S=1,     1024, 0xf351799f
+0,         39,         39,        1,     3690, 0x62afdbb8, S=1,     1024, 0xf351799f
+0,         40,         40,        1,     1558, 0x7a13e53b, S=1,     1024, 0xf351799f
+0,         41,         41,        1,      940, 0xb1b6cba2, S=1,     1024, 0xf351799f
+0,         42,         42,        1,      273, 0x3687799b, S=1,     1024, 0xf351799f
+0,         43,         43,        1,      930, 0x29f3b0c4, S=1,     1024, 0xf351799f
+0,         44,         44,        1,      271, 0xe7af807c, S=1,     1024, 0xf351799f
+0,         45,         45,        1,      196, 0xf5ab51ee, S=1,     1024, 0xf351799f
+0,         46,         46,        1,     4299, 0x67ec0d55, S=1,     1024, 0xf351799f
+0,         47,         47,        1,     4895, 0xb394406c, S=1,     1024, 0xf351799f
+0,         48,         48,        1,     4928, 0x233919d7, S=1,     1024, 0xf351799f
+0,         49,         49,        1,     4941, 0x58a357da, S=1,     1024, 0xf351799f
+0,         50,         50,        1,     4154, 0x21f2ac33, S=1,     1024, 0xf351799f
+0,         51,         51,        1,     4678, 0xab3cc050, S=1,     1024, 0xf351799f
+0,         52,         52,        1,     4741, 0x1974b581, S=1,     1024, 0xf351799f
+0,         53,         53,        1,     4982, 0x891456d5, S=1,     1024, 0xf351799f
+0,         54,         54,        1,     5179, 0x860fc6a1, S=1,     1024, 0xf351799f
+0,         55,         55,        1,     5046, 0xce9183d3, S=1,     1024, 0xf351799f
+0,         56,         56,        1,     5140, 0xa6d7b9af, S=1,     1024, 0xf351799f
+0,         57,         57,        1,     4289, 0xb415f717, S=1,     1024, 0xf351799f
+0,         58,         58,        1,     5079, 0xa8d59e01, S=1,     1024, 0xf351799f
+0,         59,         59,        1,     5284, 0xea34e3b3, S=1,     1024, 0xf351799f
+0,         60,         60,        1,     5426, 0x556a15cd, S=1,     1024, 0xf351799f
+0,         61,         61,        1,     4645, 0x061e8936, S=1,     1024, 0xf351799f
+0,         62,         62,        1,     5263, 0x7536cf7d, S=1,     1024, 0xf351799f
+0,         63,         63,        1,     5221, 0x9fbac3ca, S=1,     1024, 0xf351799f
+0,         64,         64,        1,     5217, 0x02269bd2, S=1,     1024, 0xf351799f
+0,         65,         65,        1,     5395, 0x120fff66, S=1,     1024, 0xf351799f
+0,         66,         66,        1,     5220, 0x77cedcc5, S=1,     1024, 0xf351799f
+0,         67,         67,        1,     5704, 0xba42dd96, S=1,     1024, 0xf351799f
+0,         68,         68,        1,     5636, 0xcb91a25b, S=1,     1024, 0xf351799f
+0,         69,         69,        1,     5818, 0x8dc0df92, S=1,     1024, 0xf351799f
+0,         70,         70,        1,     5763, 0x51d5d5f0, S=1,     1024, 0xf351799f
+0,         71,         71,        1,     6116, 0x09558b48, S=1,     1024, 0xf351799f
+0,         72,         72,        1,     6069, 0x41926817, S=1,     1024, 0xf351799f
+0,         73,         73,        1,     5796, 0x7fbeda44, S=1,     1024, 0xf351799f
+0,         74,         74,        1,     5999, 0xe07d3770, S=1,     1024, 0xf351799f
+0,         75,         75,        1,     6220, 0x6607b06f, S=1,     1024, 0xf351799f
+0,         76,         76,        1,     6374, 0x7628e533, S=1,     1024, 0xf351799f
+0,         77,         77,        1,     6465, 0xfe956b15, S=1,     1024, 0xf351799f
+0,         78,         78,        1,     7019, 0x6c9a1aef, S=1,     1024, 0xf351799f
+0,         79,         79,        1,     7255, 0x5fa5c1bf, S=1,     1024, 0xf351799f
+0,         80,         80,        1,     8197, 0xf11d6ef2, S=1,     1024, 0xf351799f
+0,         81,         81,        1,     8358, 0x027279e8, S=1,     1024, 0xf351799f
+0,         82,         82,        1,     7708, 0x607f8e8b, S=1,     1024, 0xf351799f
+0,         83,         83,        1,     7412, 0x6bb2105f, S=1,     1024, 0xf351799f
+0,         84,         84,        1,     7541, 0xfdc02154, S=1,     1024, 0xf351799f
+0,         85,         85,        1,     7948, 0x916ecd8b, S=1,     1024, 0xf351799f
+0,         86,         86,        1,     8408, 0x1f97d414, S=1,     1024, 0xf351799f
+0,         87,         87,        1,     8056, 0x9cbf159c, S=1,     1024, 0xf351799f
+0,         88,         88,        1,     7401, 0x2625addb, S=1,     1024, 0xf351799f
+0,         89,         89,        1,     7494, 0x2877eacb, S=1,     1024, 0xf351799f
+0,         90,         90,        1,     7806, 0xe32574a3, S=1,     1024, 0xf351799f
+0,         91,         91,        1,     7768, 0x25ed7ee7, S=1,     1024, 0xf351799f
+0,         92,         92,        1,     7749, 0x6d8e978e, S=1,     1024, 0xf351799f
+0,         93,         93,        1,     8047, 0xec4b150c, S=1,     1024, 0xf351799f
+0,         94,         94,        1,     7618, 0x88cf30d5, S=1,     1024, 0xf351799f
+0,         95,         95,        1,     7979, 0x0eb1cf2a, S=1,     1024, 0xf351799f
+0,         96,         96,        1,    12062, 0xb49d9125, S=1,     1024, 0xf351799f
+0,         97,         97,        1,    12317, 0x2d8fd6e9, S=1,     1024, 0xf351799f
+0,         98,         98,        1,    12217, 0x9b3be549, S=1,     1024, 0xf351799f
+0,         99,         99,        1,    11227, 0x067e9118, S=1,     1024, 0xf351799f
+0,        100,        100,        1,    11108, 0x5e5b0afd, S=1,     1024, 0xf351799f
+0,        101,        101,        1,    11366, 0xb38e8d15, S=1,     1024, 0xf351799f
+0,        102,        102,        1,    11896, 0xeb3e35ca, S=1,     1024, 0xf351799f
+0,        103,        103,        1,    11479, 0xbf7581e9, S=1,     1024, 0xf351799f
+0,        104,        104,        1,    13395, 0x415b38d8, S=1,     1024, 0xf351799f
+0,        105,        105,        1,    12913, 0x61544631, S=1,     1024, 0xf351799f
+0,        106,        106,        1,    13864, 0xd39fe768, S=1,     1024, 0xf351799f
+0,        107,        107,        1,    13551, 0x76c167d1, S=1,     1024, 0xf351799f
+0,        108,        108,        1,    14041, 0x2f206888, S=1,     1024, 0xf351799f
+0,        109,        109,        1,    14144, 0x9ec030d3, S=1,     1024, 0xf351799f
+0,        110,        110,        1,    14277, 0xa84b3a9b, S=1,     1024, 0xf351799f
+0,        111,        111,        1,    14424, 0xf5f1e06e, S=1,     1024, 0xf351799f
+0,        112,        112,        1,    14689, 0xbca0adb5, S=1,     1024, 0xf351799f
+0,        113,        113,        1,    14598, 0xc1d45745, S=1,     1024, 0xf351799f
+0,        114,        114,        1,    15213, 0x8f3080fc, S=1,     1024, 0xf351799f
+0,        115,        115,        1,    15425, 0xb0aa8f59, S=1,     1024, 0xf351799f
+0,        116,        116,        1,    15595, 0x1406e5d5, S=1,     1024, 0xf351799f
+0,        117,        117,        1,    15598, 0x48ec7d08, S=1,     1024, 0xf351799f
+0,        118,        118,        1,    15863, 0x5381db7b, S=1,     1024, 0xf351799f
+0,        119,        119,        1,    15717, 0xb87a1b87, S=1,     1024, 0xf351799f
+0,        120,        120,        1,    16078, 0x5bab2453, S=1,     1024, 0xf351799f
+0,        121,        121,        1,    16225, 0xa1f88113, S=1,     1024, 0xf351799f
+0,        122,        122,        1,    16135, 0x6af2f4e1, S=1,     1024, 0xf351799f
+0,        123,        123,        1,    16661, 0xf02a3343, S=1,     1024, 0xf351799f
+0,        124,        124,        1,    16619, 0xc71935a4, S=1,     1024, 0xf351799f
+0,        125,        125,        1,    16829, 0x29849844, S=1,     1024, 0xf351799f
+0,        126,        126,        1,    16944, 0x3423ae77, S=1,     1024, 0xf351799f
+0,        127,        127,        1,    17119, 0x609b4409, S=1,     1024, 0xf351799f
+0,        128,        128,        1,    17150, 0xf85dfd31, S=1,     1024, 0xf351799f
+0,        129,        129,        1,    17321, 0x38eccb10, S=1,     1024, 0xf351799f
+0,        130,        130,        1,    17395, 0x0ba08b85, S=1,     1024, 0xf351799f
+0,        131,        131,        1,    17666, 0x6fbc0264, S=1,     1024, 0xf351799f
+0,        132,        132,        1,    17730, 0x3dcc64a6, S=1,     1024, 0xf351799f
+0,        133,        133,        1,    17934, 0xb539974b, S=1,     1024, 0xf351799f
+0,        134,        134,        1,    17944, 0x2214ec94, S=1,     1024, 0xf351799f
+0,        135,        135,        1,    18238, 0x70f9ff1d, S=1,     1024, 0xf351799f
+0,        136,        136,        1,    18391, 0x4b149209, S=1,     1024, 0xf351799f
+0,        137,        137,        1,    18543, 0x45a1c02f, S=1,     1024, 0xf351799f
+0,        138,        138,        1,    18939, 0x2789a88c, S=1,     1024, 0xf351799f
+0,        139,        139,        1,    19145, 0x5daafd7a, S=1,     1024, 0xf351799f
+0,        140,        140,        1,    19120, 0x565f80e6, S=1,     1024, 0xf351799f
+0,        141,        141,        1,    19130, 0xff70cc21, S=1,     1024, 0xf351799f
+0,        142,        142,        1,    19494, 0xbfa284db, S=1,     1024, 0xf351799f
+0,        143,        143,        1,    19534, 0x3d40743b, S=1,     1024, 0xf351799f
+0,        144,        144,        1,    19747, 0x33c9b108, S=1,     1024, 0xf351799f
+0,        145,        145,        1,    20114, 0x9d223e36, S=1,     1024, 0xf351799f
+0,        146,        146,        1,    20257, 0xe7bdaf43, S=1,     1024, 0xf351799f
+0,        147,        147,        1,    20370, 0x0c5f1970, S=1,     1024, 0xf351799f
+0,        148,        148,        1,    20292, 0x6986d20e, S=1,     1024, 0xf351799f
+0,        149,        149,        1,    20491, 0xd88e4c08, S=1,     1024, 0xf351799f
+0,        150,        150,        1,    20647, 0x1aefaffc, S=1,     1024, 0xf351799f
+0,        151,        151,        1,    20666, 0x43e4aaaa, S=1,     1024, 0xf351799f
+0,        152,        152,        1,    21007, 0xa7ca3ef0, S=1,     1024, 0xf351799f
+0,        153,        153,        1,    21058, 0x06814351, S=1,     1024, 0xf351799f
+0,        154,        154,        1,    21153, 0x3c852b10, S=1,     1024, 0xf351799f
+0,        155,        155,        1,    21078, 0x8df15855, S=1,     1024, 0xf351799f
+0,        156,        156,        1,    21458, 0xd3a531d6, S=1,     1024, 0xf351799f
+0,        157,        157,        1,    21669, 0x88baca53, S=1,     1024, 0xf351799f
+0,        158,        158,        1,    21581, 0xd692fa1f, S=1,     1024, 0xf351799f
+0,        159,        159,        1,    21654, 0x30fb9061, S=1,     1024, 0xf351799f
+0,        160,        160,        1,    21987, 0xe7646d8b, S=1,     1024, 0xf351799f
+0,        161,        161,        1,    22205, 0x0fc55b6a, S=1,     1024, 0xf351799f
+0,        162,        162,        1,    22475, 0x4bc4c032, S=1,     1024, 0xf351799f
+0,        163,        163,        1,    22490, 0x58ca23f6, S=1,     1024, 0xf351799f
+0,        164,        164,        1,    22460, 0xf9ceb0ac, S=1,     1024, 0xf351799f
+0,        165,        165,        1,    22861, 0xb05f0f84, S=1,     1024, 0xf351799f
+0,        166,        166,        1,    22746, 0x0df23a5c, S=1,     1024, 0xf351799f
+0,        167,        167,        1,    23165, 0xbd7147ad, S=1,     1024, 0xf351799f
+0,        168,        168,        1,    23273, 0x9781a34f, S=1,     1024, 0xf351799f
+0,        169,        169,        1,    23211, 0x69c7606b, S=1,     1024, 0xf351799f
+0,        170,        170,        1,    23648, 0xdafde037, S=1,     1024, 0xf351799f
+0,        171,        171,        1,    23675, 0x2a2147ed, S=1,     1024, 0xf351799f
+0,        172,        172,        1,    23874, 0x12c184b6, S=1,     1024, 0xf351799f
diff --git a/tests/ref/fate/gifenc-gray b/tests/ref/fate/gifenc-gray
index 8fdc3b3..c11e132 100644
--- a/tests/ref/fate/gifenc-gray
+++ b/tests/ref/fate/gifenc-gray
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,      579, 0x0d0e3ab8
-0,         10,         10,        1,      150, 0x178b3a8c, S=1,     1024, 0xc2f67c9f
-0,         20,         20,        1,      155, 0x941743f5, S=1,     1024, 0xc2f67c9f
-0,         30,         30,        1,      144, 0x68c73711, S=1,     1024, 0xc2f67c9f
-0,         40,         40,        1,      152, 0xaf9a3f2e, S=1,     1024, 0xc2f67c9f
-0,         50,         50,        1,      136, 0x68593d85, S=1,     1024, 0xc2f67c9f
-0,         60,         60,        1,      134, 0x0dcb373f, S=1,     1024, 0xc2f67c9f
-0,         70,         70,        1,      129, 0x3baf3279, S=1,     1024, 0xc2f67c9f
-0,         80,         80,        1,      123, 0x9c963148, S=1,     1024, 0xc2f67c9f
-0,         90,         90,        1,      123, 0x5c272d6b, S=1,     1024, 0xc2f67c9f
-0,        100,        100,        1,      150, 0x5f8d41aa, S=1,     1024, 0xc2f67c9f
-0,        110,        110,        1,      134, 0x6f582fee, S=1,     1024, 0xc2f67c9f
-0,        120,        120,        1,      134, 0x85d53038, S=1,     1024, 0xc2f67c9f
-0,        130,        130,        1,      123, 0x6d2a2cb2, S=1,     1024, 0xc2f67c9f
-0,        140,        140,        1,      127, 0x1e78327b, S=1,     1024, 0xc2f67c9f
-0,        150,        150,        1,      119, 0xbafc2c31, S=1,     1024, 0xc2f67c9f
-0,        160,        160,        1,      138, 0x57553638, S=1,     1024, 0xc2f67c9f
-0,        170,        170,        1,      140, 0xf7423adb, S=1,     1024, 0xc2f67c9f
-0,        180,        180,        1,      122, 0x7e592f8b, S=1,     1024, 0xc2f67c9f
-0,        190,        190,        1,      123, 0xaa7d313c, S=1,     1024, 0xc2f67c9f
-0,        200,        200,        1,      140, 0x4fd63b34, S=1,     1024, 0xc2f67c9f
-0,        210,        210,        1,      123, 0x67753163, S=1,     1024, 0xc2f67c9f
-0,        220,        220,        1,      123, 0x02193147, S=1,     1024, 0xc2f67c9f
-0,        230,        230,        1,      124, 0xa85131e9, S=1,     1024, 0xc2f67c9f
-0,        240,        240,        1,      122, 0xef8731e2, S=1,     1024, 0xc2f67c9f
-0,        250,        250,        1,      122, 0x06d432c9, S=1,     1024, 0xc2f67c9f
-0,        260,        260,        1,      123, 0xcc8831cd, S=1,     1024, 0xc2f67c9f
-0,        270,        270,        1,      118, 0xa1d33166, S=1,     1024, 0xc2f67c9f
-0,        280,        280,        1,      159, 0xcc8c454c, S=1,     1024, 0xc2f67c9f
-0,        290,        290,        1,      140, 0x8a0231ad, S=1,     1024, 0xc2f67c9f
-0,        300,        300,        1,      163, 0xe78248d2, S=1,     1024, 0xc2f67c9f
-0,        310,        310,        1,      142, 0x3b293489, S=1,     1024, 0xc2f67c9f
-0,        320,        320,        1,      170, 0x5f504b12, S=1,     1024, 0xc2f67c9f
-0,        330,        330,        1,      146, 0x38a53693, S=1,     1024, 0xc2f67c9f
-0,        340,        340,        1,      132, 0xb18a3499, S=1,     1024, 0xc2f67c9f
-0,        350,        350,        1,      113, 0x55182bda, S=1,     1024, 0xc2f67c9f
-0,        360,        360,        1,      132, 0xaced3333, S=1,     1024, 0xc2f67c9f
-0,        370,        370,        1,      120, 0x9ffe2e4f, S=1,     1024, 0xc2f67c9f
-0,        380,        380,        1,      135, 0x6223351e, S=1,     1024, 0xc2f67c9f
-0,        390,        390,        1,      123, 0x269b3058, S=1,     1024, 0xc2f67c9f
-0,        400,        400,        1,      119, 0x17052def, S=1,     1024, 0xc2f67c9f
-0,        410,        410,        1,      119, 0x36da2ee2, S=1,     1024, 0xc2f67c9f
-0,        420,        420,        1,      120, 0x984e31be, S=1,     1024, 0xc2f67c9f
-0,        430,        430,        1,      114, 0xfd382c9d, S=1,     1024, 0xc2f67c9f
-0,        440,        440,        1,      125, 0x926a36c6, S=1,     1024, 0xc2f67c9f
-0,        450,        450,        1,      117, 0xbceb3183, S=1,     1024, 0xc2f67c9f
-0,        460,        460,        1,      116, 0xf4c72d82, S=1,     1024, 0xc2f67c9f
-0,        470,        470,        1,      124, 0x0c19343c, S=1,     1024, 0xc2f67c9f
-0,        480,        480,        1,      117, 0x1f032eb1, S=1,     1024, 0xc2f67c9f
-0,        490,        490,        1,      135, 0x31a437e6, S=1,     1024, 0xc2f67c9f
-0,        500,        500,        1,      131, 0x4c1735fe, S=1,     1024, 0xc2f67c9f
-0,        510,        510,        1,      122, 0xb7603463, S=1,     1024, 0xc2f67c9f
-0,        520,        520,        1,      122, 0x7f5e34e1, S=1,     1024, 0xc2f67c9f
-0,        530,        530,        1,      124, 0x9562350f, S=1,     1024, 0xc2f67c9f
-0,        540,        540,        1,      126, 0x18b33759, S=1,     1024, 0xc2f67c9f
-0,        550,        550,        1,      117, 0x748f3243, S=1,     1024, 0xc2f67c9f
-0,        560,        560,        1,      109, 0x72832fe7, S=1,     1024, 0xc2f67c9f
-0,        570,        570,        1,      120, 0x748a2e38, S=1,     1024, 0xc2f67c9f
-0,        580,        580,        1,      120, 0x61f82fb2, S=1,     1024, 0xc2f67c9f
-0,        590,        590,        1,      122, 0x2a6b3282, S=1,     1024, 0xc2f67c9f
-0,        600,        600,        1,      116, 0x8b542de6, S=1,     1024, 0xc2f67c9f
-0,        610,        610,        1,      119, 0xf33c318e, S=1,     1024, 0xc2f67c9f
-0,        620,        620,        1,      116, 0xff182f36, S=1,     1024, 0xc2f67c9f
-0,        630,        630,        1,      119, 0xeb9e2fcc, S=1,     1024, 0xc2f67c9f
-0,        640,        640,        1,      118, 0xe82d304e, S=1,     1024, 0xc2f67c9f
-0,        650,        650,        1,      137, 0x98303d30, S=1,     1024, 0xc2f67c9f
-0,        660,        660,        1,      149, 0x01123fff, S=1,     1024, 0xc2f67c9f
-0,        670,        670,        1,      115, 0x4ca92f75, S=1,     1024, 0xc2f67c9f
-0,        680,        680,        1,      131, 0xf4193bc0, S=1,     1024, 0xc2f67c9f
-0,        690,        690,        1,      115, 0xda5e2f30, S=1,     1024, 0xc2f67c9f
-0,        700,        700,        1,      100, 0x9ba32a58, S=1,     1024, 0xc2f67c9f
-0,        710,        710,        1,      109, 0xa47e2c91, S=1,     1024, 0xc2f67c9f
-0,        720,        720,        1,      120, 0x22452fd6, S=1,     1024, 0xc2f67c9f
-0,        730,        730,        1,      116, 0xd3c52c26, S=1,     1024, 0xc2f67c9f
-0,        740,        740,        1,      106, 0x95b42c9f, S=1,     1024, 0xc2f67c9f
-0,        750,        750,        1,       96, 0xfdc12639, S=1,     1024, 0xc2f67c9f
-0,        760,        760,        1,       99, 0x210f251b, S=1,     1024, 0xc2f67c9f
-0,        770,        770,        1,      119, 0x173b341c, S=1,     1024, 0xc2f67c9f
-0,        780,        780,        1,      119, 0x3bca2f29, S=1,     1024, 0xc2f67c9f
-0,        790,        790,        1,      213, 0x9e905d4c, S=1,     1024, 0xc2f67c9f
-0,        800,        800,        1,      209, 0xa0015e94, S=1,     1024, 0xc2f67c9f
-0,        810,        810,        1,      120, 0x36762bd4, S=1,     1024, 0xc2f67c9f
-0,        820,        820,        1,      119, 0x019b2edc, S=1,     1024, 0xc2f67c9f
-0,        830,        830,        1,      124, 0x211d30e7, S=1,     1024, 0xc2f67c9f
-0,        840,        840,        1,      125, 0x538732ff, S=1,     1024, 0xc2f67c9f
-0,        850,        850,        1,      123, 0x2887308a, S=1,     1024, 0xc2f67c9f
-0,        860,        860,        1,      119, 0x7ff930f4, S=1,     1024, 0xc2f67c9f
-0,        870,        870,        1,      119, 0xa50c2e16, S=1,     1024, 0xc2f67c9f
-0,        880,        880,        1,      107, 0x9ed02cea, S=1,     1024, 0xc2f67c9f
-0,        890,        890,        1,      119, 0xc234332a, S=1,     1024, 0xc2f67c9f
-0,        900,        900,        1,      115, 0x38353092, S=1,     1024, 0xc2f67c9f
-0,        910,        910,        1,      162, 0x6cda4644, S=1,     1024, 0xc2f67c9f
-0,        920,        920,        1,      124, 0x2f683081, S=1,     1024, 0xc2f67c9f
-0,        930,        930,        1,      116, 0x72952d04, S=1,     1024, 0xc2f67c9f
-0,        940,        940,        1,       84, 0x1a532301, S=1,     1024, 0xc2f67c9f
-0,        950,        950,        1,      176, 0xfb3c5400, S=1,     1024, 0xc2f67c9f
-0,        960,        960,        1,      137, 0x253132d1, S=1,     1024, 0xc2f67c9f
-0,        970,        970,        1,      179, 0x2b38528b, S=1,     1024, 0xc2f67c9f
-0,        980,        980,        1,      150, 0xbe413cbe, S=1,     1024, 0xc2f67c9f
-0,        990,        990,        1,      140, 0x9e93392a, S=1,     1024, 0xc2f67c9f
-0,       1000,       1000,        1,      129, 0x577e331e, S=1,     1024, 0xc2f67c9f
-0,       1010,       1010,        1,      146, 0x16ff3924, S=1,     1024, 0xc2f67c9f
-0,       1020,       1020,        1,      133, 0x756a3163, S=1,     1024, 0xc2f67c9f
-0,       1030,       1030,        1,      190, 0x3e865b77, S=1,     1024, 0xc2f67c9f
-0,       1040,       1040,        1,      159, 0xdf393fc8, S=1,     1024, 0xc2f67c9f
-0,       1050,       1050,        1,      188, 0x84be5168, S=1,     1024, 0xc2f67c9f
-0,       1060,       1060,        1,      163, 0x4c0e41f0, S=1,     1024, 0xc2f67c9f
-0,       1070,       1070,        1,      144, 0x5fda3792, S=1,     1024, 0xc2f67c9f
-0,       1080,       1080,        1,      136, 0x028c3800, S=1,     1024, 0xc2f67c9f
-0,       1090,       1090,        1,      150, 0x75d43a8d, S=1,     1024, 0xc2f67c9f
-0,       1100,       1100,        1,      134, 0x81123999, S=1,     1024, 0xc2f67c9f
-0,       1110,       1110,        1,      198, 0x0a875baa, S=1,     1024, 0xc2f67c9f
-0,       1120,       1120,        1,      169, 0xfdd7458c, S=1,     1024, 0xc2f67c9f
-0,       1130,       1130,        1,      210, 0x9b195be4, S=1,     1024, 0xc2f67c9f
-0,       1140,       1140,        1,      174, 0x0a424a76, S=1,     1024, 0xc2f67c9f
-0,       1150,       1150,        1,      137, 0xb1b535fd, S=1,     1024, 0xc2f67c9f
-0,       1160,       1160,        1,      122, 0x4d3f327b, S=1,     1024, 0xc2f67c9f
-0,       1170,       1170,        1,      152, 0x5e423b0c, S=1,     1024, 0xc2f67c9f
-0,       1180,       1180,        1,      137, 0xd13a39f7, S=1,     1024, 0xc2f67c9f
-0,       1190,       1190,        1,      156, 0x40864321, S=1,     1024, 0xc2f67c9f
-0,       1200,       1200,        1,      140, 0xbe1e393c, S=1,     1024, 0xc2f67c9f
-0,       1210,       1210,        1,      179, 0xaf204635, S=1,     1024, 0xc2f67c9f
-0,       1220,       1220,        1,      116, 0x5ac83123, S=1,     1024, 0xc2f67c9f
-0,       1230,       1230,        1,      118, 0x22bc2ec5, S=1,     1024, 0xc2f67c9f
-0,       1240,       1240,        1,      123, 0xc9b5302d, S=1,     1024, 0xc2f67c9f
-0,       1250,       1250,        1,      125, 0x5cee3077, S=1,     1024, 0xc2f67c9f
-0,       1260,       1260,        1,      194, 0xccc159ca, S=1,     1024, 0xc2f67c9f
-0,       1270,       1270,        1,      122, 0x4d243229, S=1,     1024, 0xc2f67c9f
-0,       1280,       1280,        1,      124, 0x948f330b, S=1,     1024, 0xc2f67c9f
-0,       1290,       1290,        1,      133, 0xd53c35ca, S=1,     1024, 0xc2f67c9f
-0,       1300,       1300,        1,      126, 0xc5543710, S=1,     1024, 0xc2f67c9f
-0,       1310,       1310,        1,      208, 0x6cf15ea2, S=1,     1024, 0xc2f67c9f
-0,       1320,       1320,        1,      131, 0xa8d33505, S=1,     1024, 0xc2f67c9f
-0,       1330,       1330,        1,      114, 0x0ae53001, S=1,     1024, 0xc2f67c9f
-0,       1340,       1340,        1,      129, 0xe9ff37c4, S=1,     1024, 0xc2f67c9f
-0,       1350,       1350,        1,      120, 0x02623359, S=1,     1024, 0xc2f67c9f
-0,       1360,       1360,        1,      164, 0x9dc545e5, S=1,     1024, 0xc2f67c9f
-0,       1370,       1370,        1,      245, 0xc170715a, S=1,     1024, 0xc2f67c9f
-0,       1380,       1380,        1,      215, 0xc93d5fbe, S=1,     1024, 0xc2f67c9f
-0,       1390,       1390,        1,      225, 0x14866349, S=1,     1024, 0xc2f67c9f
-0,       1400,       1400,        1,      123, 0x70cd2b64, S=1,     1024, 0xc2f67c9f
-0,       1410,       1410,        1,      124, 0xe9002fb5, S=1,     1024, 0xc2f67c9f
-0,       1420,       1420,        1,      125, 0x106e309b, S=1,     1024, 0xc2f67c9f
-0,       1430,       1430,        1,      122, 0x050e32b0, S=1,     1024, 0xc2f67c9f
-0,       1440,       1440,        1,      224, 0xf548614f, S=1,     1024, 0xc2f67c9f
-0,       1450,       1450,        1,      239, 0x125c6ade, S=1,     1024, 0xc2f67c9f
-0,       1460,       1460,        1,      127, 0x398734b6, S=1,     1024, 0xc2f67c9f
-0,       1470,       1470,        1,      126, 0x2ff431e5, S=1,     1024, 0xc2f67c9f
-0,       1480,       1480,        1,      124, 0x9583313b, S=1,     1024, 0xc2f67c9f
-0,       1490,       1490,        1,      126, 0xc1fc3692, S=1,     1024, 0xc2f67c9f
-0,       1500,       1500,        1,      123, 0xd0bf3170, S=1,     1024, 0xc2f67c9f
-0,       1510,       1510,        1,      117, 0x651f3032, S=1,     1024, 0xc2f67c9f
-0,       1520,       1520,        1,      119, 0x268a3078, S=1,     1024, 0xc2f67c9f
-0,       1530,       1530,        1,      117, 0x9e4d3283, S=1,     1024, 0xc2f67c9f
-0,       1540,       1540,        1,      149, 0x8f1043ba, S=1,     1024, 0xc2f67c9f
-0,       1550,       1550,        1,      127, 0x352338bc, S=1,     1024, 0xc2f67c9f
-0,       1560,       1560,        1,      113, 0xf877314e, S=1,     1024, 0xc2f67c9f
-0,       1570,       1570,        1,      128, 0x88103a62, S=1,     1024, 0xc2f67c9f
-0,       1580,       1580,        1,      111, 0xbf0630d9, S=1,     1024, 0xc2f67c9f
-0,       1590,       1590,        1,      146, 0x159c44f7, S=1,     1024, 0xc2f67c9f
-0,       1600,       1600,        1,      237, 0x4e45662e, S=1,     1024, 0xc2f67c9f
-0,       1610,       1610,        1,      233, 0x8f9e6354, S=1,     1024, 0xc2f67c9f
-0,       1620,       1620,        1,      160, 0x9c3f431f, S=1,     1024, 0xc2f67c9f
-0,       1630,       1630,        1,      125, 0xbd2b33c6, S=1,     1024, 0xc2f67c9f
-0,       1640,       1640,        1,      131, 0x3ecd3ba5, S=1,     1024, 0xc2f67c9f
-0,       1650,       1650,        1,      231, 0xdf286db6, S=1,     1024, 0xc2f67c9f
-0,       1660,       1660,        1,      153, 0xb6da408d, S=1,     1024, 0xc2f67c9f
-0,       1670,       1670,        1,      126, 0x6741365e, S=1,     1024, 0xc2f67c9f
-0,       1680,       1680,        1,      113, 0x658f2c90, S=1,     1024, 0xc2f67c9f
-0,       1690,       1690,        1,      125, 0xc0033320, S=1,     1024, 0xc2f67c9f
-0,       1700,       1700,        1,      122, 0xe38a2db1, S=1,     1024, 0xc2f67c9f
-0,       1710,       1710,        1,      145, 0x29d63e83, S=1,     1024, 0xc2f67c9f
-0,       1720,       1720,        1,      171, 0xc0e44b70, S=1,     1024, 0xc2f67c9f
+0,          1,          1,        1,      150, 0x178b3a8c, S=1,     1024, 0xc2f67c9f
+0,          2,          2,        1,      155, 0x941743f5, S=1,     1024, 0xc2f67c9f
+0,          3,          3,        1,      144, 0x68c73711, S=1,     1024, 0xc2f67c9f
+0,          4,          4,        1,      152, 0xaf9a3f2e, S=1,     1024, 0xc2f67c9f
+0,          5,          5,        1,      136, 0x68593d85, S=1,     1024, 0xc2f67c9f
+0,          6,          6,        1,      134, 0x0dcb373f, S=1,     1024, 0xc2f67c9f
+0,          7,          7,        1,      129, 0x3baf3279, S=1,     1024, 0xc2f67c9f
+0,          8,          8,        1,      123, 0x9c963148, S=1,     1024, 0xc2f67c9f
+0,          9,          9,        1,      123, 0x5c272d6b, S=1,     1024, 0xc2f67c9f
+0,         10,         10,        1,      150, 0x5f8d41aa, S=1,     1024, 0xc2f67c9f
+0,         11,         11,        1,      134, 0x6f582fee, S=1,     1024, 0xc2f67c9f
+0,         12,         12,        1,      134, 0x85d53038, S=1,     1024, 0xc2f67c9f
+0,         13,         13,        1,      123, 0x6d2a2cb2, S=1,     1024, 0xc2f67c9f
+0,         14,         14,        1,      127, 0x1e78327b, S=1,     1024, 0xc2f67c9f
+0,         15,         15,        1,      119, 0xbafc2c31, S=1,     1024, 0xc2f67c9f
+0,         16,         16,        1,      138, 0x57553638, S=1,     1024, 0xc2f67c9f
+0,         17,         17,        1,      140, 0xf7423adb, S=1,     1024, 0xc2f67c9f
+0,         18,         18,        1,      122, 0x7e592f8b, S=1,     1024, 0xc2f67c9f
+0,         19,         19,        1,      123, 0xaa7d313c, S=1,     1024, 0xc2f67c9f
+0,         20,         20,        1,      140, 0x4fd63b34, S=1,     1024, 0xc2f67c9f
+0,         21,         21,        1,      123, 0x67753163, S=1,     1024, 0xc2f67c9f
+0,         22,         22,        1,      123, 0x02193147, S=1,     1024, 0xc2f67c9f
+0,         23,         23,        1,      124, 0xa85131e9, S=1,     1024, 0xc2f67c9f
+0,         24,         24,        1,      122, 0xef8731e2, S=1,     1024, 0xc2f67c9f
+0,         25,         25,        1,      122, 0x06d432c9, S=1,     1024, 0xc2f67c9f
+0,         26,         26,        1,      123, 0xcc8831cd, S=1,     1024, 0xc2f67c9f
+0,         27,         27,        1,      118, 0xa1d33166, S=1,     1024, 0xc2f67c9f
+0,         28,         28,        1,      159, 0xcc8c454c, S=1,     1024, 0xc2f67c9f
+0,         29,         29,        1,      140, 0x8a0231ad, S=1,     1024, 0xc2f67c9f
+0,         30,         30,        1,      163, 0xe78248d2, S=1,     1024, 0xc2f67c9f
+0,         31,         31,        1,      142, 0x3b293489, S=1,     1024, 0xc2f67c9f
+0,         32,         32,        1,      170, 0x5f504b12, S=1,     1024, 0xc2f67c9f
+0,         33,         33,        1,      146, 0x38a53693, S=1,     1024, 0xc2f67c9f
+0,         34,         34,        1,      132, 0xb18a3499, S=1,     1024, 0xc2f67c9f
+0,         35,         35,        1,      113, 0x55182bda, S=1,     1024, 0xc2f67c9f
+0,         36,         36,        1,      132, 0xaced3333, S=1,     1024, 0xc2f67c9f
+0,         37,         37,        1,      120, 0x9ffe2e4f, S=1,     1024, 0xc2f67c9f
+0,         38,         38,        1,      135, 0x6223351e, S=1,     1024, 0xc2f67c9f
+0,         39,         39,        1,      123, 0x269b3058, S=1,     1024, 0xc2f67c9f
+0,         40,         40,        1,      119, 0x17052def, S=1,     1024, 0xc2f67c9f
+0,         41,         41,        1,      119, 0x36da2ee2, S=1,     1024, 0xc2f67c9f
+0,         42,         42,        1,      120, 0x984e31be, S=1,     1024, 0xc2f67c9f
+0,         43,         43,        1,      114, 0xfd382c9d, S=1,     1024, 0xc2f67c9f
+0,         44,         44,        1,      125, 0x926a36c6, S=1,     1024, 0xc2f67c9f
+0,         45,         45,        1,      117, 0xbceb3183, S=1,     1024, 0xc2f67c9f
+0,         46,         46,        1,      116, 0xf4c72d82, S=1,     1024, 0xc2f67c9f
+0,         47,         47,        1,      124, 0x0c19343c, S=1,     1024, 0xc2f67c9f
+0,         48,         48,        1,      117, 0x1f032eb1, S=1,     1024, 0xc2f67c9f
+0,         49,         49,        1,      135, 0x31a437e6, S=1,     1024, 0xc2f67c9f
+0,         50,         50,        1,      131, 0x4c1735fe, S=1,     1024, 0xc2f67c9f
+0,         51,         51,        1,      122, 0xb7603463, S=1,     1024, 0xc2f67c9f
+0,         52,         52,        1,      122, 0x7f5e34e1, S=1,     1024, 0xc2f67c9f
+0,         53,         53,        1,      124, 0x9562350f, S=1,     1024, 0xc2f67c9f
+0,         54,         54,        1,      126, 0x18b33759, S=1,     1024, 0xc2f67c9f
+0,         55,         55,        1,      117, 0x748f3243, S=1,     1024, 0xc2f67c9f
+0,         56,         56,        1,      109, 0x72832fe7, S=1,     1024, 0xc2f67c9f
+0,         57,         57,        1,      120, 0x748a2e38, S=1,     1024, 0xc2f67c9f
+0,         58,         58,        1,      120, 0x61f82fb2, S=1,     1024, 0xc2f67c9f
+0,         59,         59,        1,      122, 0x2a6b3282, S=1,     1024, 0xc2f67c9f
+0,         60,         60,        1,      116, 0x8b542de6, S=1,     1024, 0xc2f67c9f
+0,         61,         61,        1,      119, 0xf33c318e, S=1,     1024, 0xc2f67c9f
+0,         62,         62,        1,      116, 0xff182f36, S=1,     1024, 0xc2f67c9f
+0,         63,         63,        1,      119, 0xeb9e2fcc, S=1,     1024, 0xc2f67c9f
+0,         64,         64,        1,      118, 0xe82d304e, S=1,     1024, 0xc2f67c9f
+0,         65,         65,        1,      137, 0x98303d30, S=1,     1024, 0xc2f67c9f
+0,         66,         66,        1,      149, 0x01123fff, S=1,     1024, 0xc2f67c9f
+0,         67,         67,        1,      115, 0x4ca92f75, S=1,     1024, 0xc2f67c9f
+0,         68,         68,        1,      131, 0xf4193bc0, S=1,     1024, 0xc2f67c9f
+0,         69,         69,        1,      115, 0xda5e2f30, S=1,     1024, 0xc2f67c9f
+0,         70,         70,        1,      100, 0x9ba32a58, S=1,     1024, 0xc2f67c9f
+0,         71,         71,        1,      109, 0xa47e2c91, S=1,     1024, 0xc2f67c9f
+0,         72,         72,        1,      120, 0x22452fd6, S=1,     1024, 0xc2f67c9f
+0,         73,         73,        1,      116, 0xd3c52c26, S=1,     1024, 0xc2f67c9f
+0,         74,         74,        1,      106, 0x95b42c9f, S=1,     1024, 0xc2f67c9f
+0,         75,         75,        1,       96, 0xfdc12639, S=1,     1024, 0xc2f67c9f
+0,         76,         76,        1,       99, 0x210f251b, S=1,     1024, 0xc2f67c9f
+0,         77,         77,        1,      119, 0x173b341c, S=1,     1024, 0xc2f67c9f
+0,         78,         78,        1,      119, 0x3bca2f29, S=1,     1024, 0xc2f67c9f
+0,         79,         79,        1,      213, 0x9e905d4c, S=1,     1024, 0xc2f67c9f
+0,         80,         80,        1,      209, 0xa0015e94, S=1,     1024, 0xc2f67c9f
+0,         81,         81,        1,      120, 0x36762bd4, S=1,     1024, 0xc2f67c9f
+0,         82,         82,        1,      119, 0x019b2edc, S=1,     1024, 0xc2f67c9f
+0,         83,         83,        1,      124, 0x211d30e7, S=1,     1024, 0xc2f67c9f
+0,         84,         84,        1,      125, 0x538732ff, S=1,     1024, 0xc2f67c9f
+0,         85,         85,        1,      123, 0x2887308a, S=1,     1024, 0xc2f67c9f
+0,         86,         86,        1,      119, 0x7ff930f4, S=1,     1024, 0xc2f67c9f
+0,         87,         87,        1,      119, 0xa50c2e16, S=1,     1024, 0xc2f67c9f
+0,         88,         88,        1,      107, 0x9ed02cea, S=1,     1024, 0xc2f67c9f
+0,         89,         89,        1,      119, 0xc234332a, S=1,     1024, 0xc2f67c9f
+0,         90,         90,        1,      115, 0x38353092, S=1,     1024, 0xc2f67c9f
+0,         91,         91,        1,      162, 0x6cda4644, S=1,     1024, 0xc2f67c9f
+0,         92,         92,        1,      124, 0x2f683081, S=1,     1024, 0xc2f67c9f
+0,         93,         93,        1,      116, 0x72952d04, S=1,     1024, 0xc2f67c9f
+0,         94,         94,        1,       84, 0x1a532301, S=1,     1024, 0xc2f67c9f
+0,         95,         95,        1,      176, 0xfb3c5400, S=1,     1024, 0xc2f67c9f
+0,         96,         96,        1,      137, 0x253132d1, S=1,     1024, 0xc2f67c9f
+0,         97,         97,        1,      179, 0x2b38528b, S=1,     1024, 0xc2f67c9f
+0,         98,         98,        1,      150, 0xbe413cbe, S=1,     1024, 0xc2f67c9f
+0,         99,         99,        1,      140, 0x9e93392a, S=1,     1024, 0xc2f67c9f
+0,        100,        100,        1,      129, 0x577e331e, S=1,     1024, 0xc2f67c9f
+0,        101,        101,        1,      146, 0x16ff3924, S=1,     1024, 0xc2f67c9f
+0,        102,        102,        1,      133, 0x756a3163, S=1,     1024, 0xc2f67c9f
+0,        103,        103,        1,      190, 0x3e865b77, S=1,     1024, 0xc2f67c9f
+0,        104,        104,        1,      159, 0xdf393fc8, S=1,     1024, 0xc2f67c9f
+0,        105,        105,        1,      188, 0x84be5168, S=1,     1024, 0xc2f67c9f
+0,        106,        106,        1,      163, 0x4c0e41f0, S=1,     1024, 0xc2f67c9f
+0,        107,        107,        1,      144, 0x5fda3792, S=1,     1024, 0xc2f67c9f
+0,        108,        108,        1,      136, 0x028c3800, S=1,     1024, 0xc2f67c9f
+0,        109,        109,        1,      150, 0x75d43a8d, S=1,     1024, 0xc2f67c9f
+0,        110,        110,        1,      134, 0x81123999, S=1,     1024, 0xc2f67c9f
+0,        111,        111,        1,      198, 0x0a875baa, S=1,     1024, 0xc2f67c9f
+0,        112,        112,        1,      169, 0xfdd7458c, S=1,     1024, 0xc2f67c9f
+0,        113,        113,        1,      210, 0x9b195be4, S=1,     1024, 0xc2f67c9f
+0,        114,        114,        1,      174, 0x0a424a76, S=1,     1024, 0xc2f67c9f
+0,        115,        115,        1,      137, 0xb1b535fd, S=1,     1024, 0xc2f67c9f
+0,        116,        116,        1,      122, 0x4d3f327b, S=1,     1024, 0xc2f67c9f
+0,        117,        117,        1,      152, 0x5e423b0c, S=1,     1024, 0xc2f67c9f
+0,        118,        118,        1,      137, 0xd13a39f7, S=1,     1024, 0xc2f67c9f
+0,        119,        119,        1,      156, 0x40864321, S=1,     1024, 0xc2f67c9f
+0,        120,        120,        1,      140, 0xbe1e393c, S=1,     1024, 0xc2f67c9f
+0,        121,        121,        1,      179, 0xaf204635, S=1,     1024, 0xc2f67c9f
+0,        122,        122,        1,      116, 0x5ac83123, S=1,     1024, 0xc2f67c9f
+0,        123,        123,        1,      118, 0x22bc2ec5, S=1,     1024, 0xc2f67c9f
+0,        124,        124,        1,      123, 0xc9b5302d, S=1,     1024, 0xc2f67c9f
+0,        125,        125,        1,      125, 0x5cee3077, S=1,     1024, 0xc2f67c9f
+0,        126,        126,        1,      194, 0xccc159ca, S=1,     1024, 0xc2f67c9f
+0,        127,        127,        1,      122, 0x4d243229, S=1,     1024, 0xc2f67c9f
+0,        128,        128,        1,      124, 0x948f330b, S=1,     1024, 0xc2f67c9f
+0,        129,        129,        1,      133, 0xd53c35ca, S=1,     1024, 0xc2f67c9f
+0,        130,        130,        1,      126, 0xc5543710, S=1,     1024, 0xc2f67c9f
+0,        131,        131,        1,      208, 0x6cf15ea2, S=1,     1024, 0xc2f67c9f
+0,        132,        132,        1,      131, 0xa8d33505, S=1,     1024, 0xc2f67c9f
+0,        133,        133,        1,      114, 0x0ae53001, S=1,     1024, 0xc2f67c9f
+0,        134,        134,        1,      129, 0xe9ff37c4, S=1,     1024, 0xc2f67c9f
+0,        135,        135,        1,      120, 0x02623359, S=1,     1024, 0xc2f67c9f
+0,        136,        136,        1,      164, 0x9dc545e5, S=1,     1024, 0xc2f67c9f
+0,        137,        137,        1,      245, 0xc170715a, S=1,     1024, 0xc2f67c9f
+0,        138,        138,        1,      215, 0xc93d5fbe, S=1,     1024, 0xc2f67c9f
+0,        139,        139,        1,      225, 0x14866349, S=1,     1024, 0xc2f67c9f
+0,        140,        140,        1,      123, 0x70cd2b64, S=1,     1024, 0xc2f67c9f
+0,        141,        141,        1,      124, 0xe9002fb5, S=1,     1024, 0xc2f67c9f
+0,        142,        142,        1,      125, 0x106e309b, S=1,     1024, 0xc2f67c9f
+0,        143,        143,        1,      122, 0x050e32b0, S=1,     1024, 0xc2f67c9f
+0,        144,        144,        1,      224, 0xf548614f, S=1,     1024, 0xc2f67c9f
+0,        145,        145,        1,      239, 0x125c6ade, S=1,     1024, 0xc2f67c9f
+0,        146,        146,        1,      127, 0x398734b6, S=1,     1024, 0xc2f67c9f
+0,        147,        147,        1,      126, 0x2ff431e5, S=1,     1024, 0xc2f67c9f
+0,        148,        148,        1,      124, 0x9583313b, S=1,     1024, 0xc2f67c9f
+0,        149,        149,        1,      126, 0xc1fc3692, S=1,     1024, 0xc2f67c9f
+0,        150,        150,        1,      123, 0xd0bf3170, S=1,     1024, 0xc2f67c9f
+0,        151,        151,        1,      117, 0x651f3032, S=1,     1024, 0xc2f67c9f
+0,        152,        152,        1,      119, 0x268a3078, S=1,     1024, 0xc2f67c9f
+0,        153,        153,        1,      117, 0x9e4d3283, S=1,     1024, 0xc2f67c9f
+0,        154,        154,        1,      149, 0x8f1043ba, S=1,     1024, 0xc2f67c9f
+0,        155,        155,        1,      127, 0x352338bc, S=1,     1024, 0xc2f67c9f
+0,        156,        156,        1,      113, 0xf877314e, S=1,     1024, 0xc2f67c9f
+0,        157,        157,        1,      128, 0x88103a62, S=1,     1024, 0xc2f67c9f
+0,        158,        158,        1,      111, 0xbf0630d9, S=1,     1024, 0xc2f67c9f
+0,        159,        159,        1,      146, 0x159c44f7, S=1,     1024, 0xc2f67c9f
+0,        160,        160,        1,      237, 0x4e45662e, S=1,     1024, 0xc2f67c9f
+0,        161,        161,        1,      233, 0x8f9e6354, S=1,     1024, 0xc2f67c9f
+0,        162,        162,        1,      160, 0x9c3f431f, S=1,     1024, 0xc2f67c9f
+0,        163,        163,        1,      125, 0xbd2b33c6, S=1,     1024, 0xc2f67c9f
+0,        164,        164,        1,      131, 0x3ecd3ba5, S=1,     1024, 0xc2f67c9f
+0,        165,        165,        1,      231, 0xdf286db6, S=1,     1024, 0xc2f67c9f
+0,        166,        166,        1,      153, 0xb6da408d, S=1,     1024, 0xc2f67c9f
+0,        167,        167,        1,      126, 0x6741365e, S=1,     1024, 0xc2f67c9f
+0,        168,        168,        1,      113, 0x658f2c90, S=1,     1024, 0xc2f67c9f
+0,        169,        169,        1,      125, 0xc0033320, S=1,     1024, 0xc2f67c9f
+0,        170,        170,        1,      122, 0xe38a2db1, S=1,     1024, 0xc2f67c9f
+0,        171,        171,        1,      145, 0x29d63e83, S=1,     1024, 0xc2f67c9f
+0,        172,        172,        1,      171, 0xc0e44b70, S=1,     1024, 0xc2f67c9f
diff --git a/tests/ref/fate/gifenc-pal8 b/tests/ref/fate/gifenc-pal8
index a483dab..203a154 100644
--- a/tests/ref/fate/gifenc-pal8
+++ b/tests/ref/fate/gifenc-pal8
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,     1320, 0x95d1a9e9, S=1,     1024, 0xec907a9e
-0,         10,         10,        1,     1463, 0xa697fe95, S=1,     1024, 0xec907a9e
-0,         20,         20,        1,     1638, 0x7ea154fa, S=1,     1024, 0xec907a9e
-0,         30,         30,        1,     1755, 0x7e0b9c4d, S=1,     1024, 0xec907a9e
-0,         40,         40,        1,     1896, 0x4aacc768, S=1,     1024, 0xec907a9e
-0,         50,         50,        1,     2038, 0x209d1490, S=1,     1024, 0xec907a9e
-0,         60,         60,        1,     2168, 0x0c405606, S=1,     1024, 0xec907a9e
-0,         70,         70,        1,     2258, 0xc2fa9229, S=1,     1024, 0xec907a9e
-0,         80,         80,        1,     2442, 0x0d4bec48, S=1,     1024, 0xec907a9e
-0,         90,         90,        1,     2565, 0x15742730, S=1,     1024, 0xec907a9e
-0,        100,        100,        1,     2733, 0x2eb57d95, S=1,     1024, 0xec907a9e
-0,        110,        110,        1,     2849, 0x9f16ad46, S=1,     1024, 0xec907a9e
-0,        120,        120,        1,     2981, 0xf139f908, S=1,     1024, 0xec907a9e
-0,        130,        130,        1,     3082, 0x57144aec, S=1,     1024, 0xec907a9e
-0,        140,        140,        1,     3200, 0x35227f42, S=1,     1024, 0xec907a9e
-0,        150,        150,        1,     3316, 0xf6d7c002, S=1,     1024, 0xec907a9e
-0,        160,        160,        1,     3462, 0x27a20d23, S=1,     1024, 0xec907a9e
-0,        170,        170,        1,     3600, 0xaecb2b02, S=1,     1024, 0xec907a9e
-0,        180,        180,        1,     3712, 0x947d49d1, S=1,     1024, 0xec907a9e
-0,        190,        190,        1,     3838, 0xf87eb223, S=1,     1024, 0xec907a9e
-0,        200,        200,        1,     3949, 0x4152eedf, S=1,     1024, 0xec907a9e
-0,        210,        210,        1,     4084, 0x512c1e34, S=1,     1024, 0xec907a9e
-0,        220,        220,        1,     4187, 0xc5715a14, S=1,     1024, 0xec907a9e
-0,        230,        230,        1,     4323, 0x6326a0f5, S=1,     1024, 0xec907a9e
-0,        240,        240,        1,     4426, 0x5f6bd655, S=1,     1024, 0xec907a9e
-0,        250,        250,        1,     4564, 0xc62005fd, S=1,     1024, 0xec907a9e
-0,        260,        260,        1,     4664, 0x43e97006, S=1,     1024, 0xec907a9e
-0,        270,        270,        1,     4808, 0xf6e08d4f, S=1,     1024, 0xec907a9e
-0,        280,        280,        1,     4932, 0x2d51e0b5, S=1,     1024, 0xec907a9e
-0,        290,        290,        1,     5072, 0x577430c8, S=1,     1024, 0xec907a9e
-0,        300,        300,        1,     5247, 0xd9fe945d, S=1,     1024, 0xec907a9e
-0,        310,        310,        1,     5353, 0x27eec140, S=1,     1024, 0xec907a9e
-0,        320,        320,        1,     5536, 0xde59038d, S=1,     1024, 0xec907a9e
-0,        330,        330,        1,     5691, 0x358970e4, S=1,     1024, 0xec907a9e
-0,        340,        340,        1,     5835, 0xd89201d8, S=1,     1024, 0xec907a9e
-0,        350,        350,        1,     5967, 0x1c2e1fee, S=1,     1024, 0xec907a9e
-0,        360,        360,        1,     6082, 0xd4b88e90, S=1,     1024, 0xec907a9e
-0,        370,        370,        1,     6277, 0x020fe685, S=1,     1024, 0xec907a9e
-0,        380,        380,        1,     6382, 0xc1db2297, S=1,     1024, 0xec907a9e
-0,        390,        390,        1,     6509, 0xc65473a6, S=1,     1024, 0xec907a9e
-0,        400,        400,        1,     6621, 0xca917a35, S=1,     1024, 0xec907a9e
-0,        410,        410,        1,     6714, 0x70f29b1d, S=1,     1024, 0xec907a9e
-0,        420,        420,        1,     6822, 0x6f02e7ec, S=1,     1024, 0xec907a9e
-0,        430,        430,        1,     6880, 0x95440d97, S=1,     1024, 0xec907a9e
-0,        440,        440,        1,     6983, 0xab7a43fb, S=1,     1024, 0xec907a9e
-0,        450,        450,        1,     7085, 0xc3427580, S=1,     1024, 0xec907a9e
-0,        460,        460,        1,     7242, 0x3d00c5f0, S=1,     1024, 0xec907a9e
-0,        470,        470,        1,     7349, 0x453fad59, S=1,     1024, 0xec907a9e
-0,        480,        480,        1,     7514, 0xbd862667, S=1,     1024, 0xec907a9e
-0,        490,        490,        1,     7575, 0xf8cb3c77, S=1,     1024, 0xec907a9e
-0,        500,        500,        1,     7759, 0x1fe6ab40, S=1,     1024, 0xec907a9e
-0,        510,        510,        1,     7846, 0x3853fd0f, S=1,     1024, 0xec907a9e
-0,        520,        520,        1,     7975, 0x88d02c47, S=1,     1024, 0xec907a9e
-0,        530,        530,        1,     8092, 0xe28a3368, S=1,     1024, 0xec907a9e
-0,        540,        540,        1,     8188, 0x159a5d3b, S=1,     1024, 0xec907a9e
-0,        550,        550,        1,     8307, 0x598cae50, S=1,     1024, 0xec907a9e
-0,        560,        560,        1,     8436, 0xd104ee50, S=1,     1024, 0xec907a9e
-0,        570,        570,        1,     8498, 0x0b1527ed, S=1,     1024, 0xec907a9e
-0,        580,        580,        1,     8559, 0x0f722288, S=1,     1024, 0xec907a9e
-0,        590,        590,        1,     8661, 0x3efb2500, S=1,     1024, 0xec907a9e
-0,        600,        600,        1,     8774, 0x1e188a8b, S=1,     1024, 0xec907a9e
-0,        610,        610,        1,     8848, 0x5b438dbb, S=1,     1024, 0xec907a9e
-0,        620,        620,        1,     8968, 0x4b47ecb3, S=1,     1024, 0xec907a9e
-0,        630,        630,        1,     9036, 0x7a8e0791, S=1,     1024, 0xec907a9e
-0,        640,        640,        1,     9114, 0x7379131a, S=1,     1024, 0xec907a9e
-0,        650,        650,        1,     9258, 0x06099246, S=1,     1024, 0xec907a9e
-0,        660,        660,        1,     9423, 0x721ac9ab, S=1,     1024, 0xec907a9e
-0,        670,        670,        1,     9529, 0xbb1c0d18, S=1,     1024, 0xec907a9e
-0,        680,        680,        1,     9608, 0xc29a05f0, S=1,     1024, 0xec907a9e
-0,        690,        690,        1,     9668, 0xf35221ff, S=1,     1024, 0xec907a9e
-0,        700,        700,        1,     9709, 0x8c6d33f0, S=1,     1024, 0xec907a9e
-0,        710,        710,        1,     9810, 0x2d5b59f4, S=1,     1024, 0xec907a9e
-0,        720,        720,        1,     9879, 0x110ea6e5, S=1,     1024, 0xec907a9e
-0,        730,        730,        1,    10038, 0x5945f5f4, S=1,     1024, 0xec907a9e
-0,        740,        740,        1,    10120, 0xab24f519, S=1,     1024, 0xec907a9e
-0,        750,        750,        1,    10218, 0x090d305a, S=1,     1024, 0xec907a9e
-0,        760,        760,        1,    10231, 0xa77e6a66, S=1,     1024, 0xec907a9e
-0,        770,        770,        1,    10313, 0x192254b7, S=1,     1024, 0xec907a9e
-0,        780,        780,        1,    10444, 0x36609934, S=1,     1024, 0xec907a9e
-0,        790,        790,        1,    10670, 0xfa971206, S=1,     1024, 0xec907a9e
-0,        800,        800,        1,    10902, 0x01b59fd5, S=1,     1024, 0xec907a9e
-0,        810,        810,        1,    10992, 0x1f2ab0bc, S=1,     1024, 0xec907a9e
-0,        820,        820,        1,    11044, 0x7f5b1dc2, S=1,     1024, 0xec907a9e
-0,        830,        830,        1,    11170, 0x0beaee49, S=1,     1024, 0xec907a9e
-0,        840,        840,        1,    11267, 0xb1ae3808, S=1,     1024, 0xec907a9e
-0,        850,        850,        1,    11427, 0x2cc9aa3f, S=1,     1024, 0xec907a9e
-0,        860,        860,        1,    11529, 0x654de4f3, S=1,     1024, 0xec907a9e
-0,        870,        870,        1,    11632, 0xf4972bdf, S=1,     1024, 0xec907a9e
-0,        880,        880,        1,    11825, 0x0cd2548c, S=1,     1024, 0xec907a9e
-0,        890,        890,        1,    11864, 0x80758637, S=1,     1024, 0xec907a9e
-0,        900,        900,        1,    11950, 0xf8246fba, S=1,     1024, 0xec907a9e
-0,        910,        910,        1,    12088, 0x1b99c82b, S=1,     1024, 0xec907a9e
-0,        920,        920,        1,    12161, 0x682cf4ad, S=1,     1024, 0xec907a9e
-0,        930,        930,        1,    12305, 0x9f62069a, S=1,     1024, 0xec907a9e
-0,        940,        940,        1,    12296, 0xe08dd96c, S=1,     1024, 0xec907a9e
-0,        950,        950,        1,    12497, 0x9a20b2d0, S=1,     1024, 0xec907a9e
-0,        960,        960,        1,    12660, 0x4d1d05ea, S=1,     1024, 0xec907a9e
-0,        970,        970,        1,    12763, 0x12542531, S=1,     1024, 0xec907a9e
-0,        980,        980,        1,    12917, 0x7d0944dc, S=1,     1024, 0xec907a9e
-0,        990,        990,        1,    13021, 0xa1c89f22, S=1,     1024, 0xec907a9e
-0,       1000,       1000,        1,    13184, 0xe13ad0be, S=1,     1024, 0xec907a9e
-0,       1010,       1010,        1,    13315, 0x11b93a5d, S=1,     1024, 0xec907a9e
-0,       1020,       1020,        1,    13337, 0x677e54ef, S=1,     1024, 0xec907a9e
-0,       1030,       1030,        1,    13536, 0x48b7b5de, S=1,     1024, 0xec907a9e
-0,       1040,       1040,        1,    13728, 0x03f4d302, S=1,     1024, 0xec907a9e
-0,       1050,       1050,        1,    13822, 0x973b97ec, S=1,     1024, 0xec907a9e
-0,       1060,       1060,        1,    14002, 0x0de77dfc, S=1,     1024, 0xec907a9e
-0,       1070,       1070,        1,    14156, 0xf1b1d4e1, S=1,     1024, 0xec907a9e
-0,       1080,       1080,        1,    14256, 0x355320cc, S=1,     1024, 0xec907a9e
-0,       1090,       1090,        1,    14451, 0x306cb131, S=1,     1024, 0xec907a9e
-0,       1100,       1100,        1,    14508, 0xca729c8e, S=1,     1024, 0xec907a9e
-0,       1110,       1110,        1,    14683, 0x7abec197, S=1,     1024, 0xec907a9e
-0,       1120,       1120,        1,    14852, 0xa5b90496, S=1,     1024, 0xec907a9e
-0,       1130,       1130,        1,    15090, 0xcd29839d, S=1,     1024, 0xec907a9e
-0,       1140,       1140,        1,    15225, 0xfd85f899, S=1,     1024, 0xec907a9e
-0,       1150,       1150,        1,    15340, 0x07411310, S=1,     1024, 0xec907a9e
-0,       1160,       1160,        1,    15473, 0xe90086c1, S=1,     1024, 0xec907a9e
-0,       1170,       1170,        1,    15583, 0x524da1f3, S=1,     1024, 0xec907a9e
-0,       1180,       1180,        1,    15683, 0x404cbd62, S=1,     1024, 0xec907a9e
-0,       1190,       1190,        1,    15779, 0x3ec01717, S=1,     1024, 0xec907a9e
-0,       1200,       1200,        1,    15934, 0xac8b4c03, S=1,     1024, 0xec907a9e
-0,       1210,       1210,        1,    16116, 0xb4fa83c9, S=1,     1024, 0xec907a9e
-0,       1220,       1220,        1,    16153, 0x18f669c1, S=1,     1024, 0xec907a9e
-0,       1230,       1230,        1,    16303, 0x765b10e4, S=1,     1024, 0xec907a9e
-0,       1240,       1240,        1,    16460, 0xc4a8149a, S=1,     1024, 0xec907a9e
-0,       1250,       1250,        1,    16475, 0x48664e2d, S=1,     1024, 0xec907a9e
-0,       1260,       1260,        1,    16710, 0x8a599742, S=1,     1024, 0xec907a9e
-0,       1270,       1270,        1,    16848, 0x8634a3d5, S=1,     1024, 0xec907a9e
-0,       1280,       1280,        1,    16955, 0x01f1ebda, S=1,     1024, 0xec907a9e
-0,       1290,       1290,        1,    17044, 0xd57b47df, S=1,     1024, 0xec907a9e
-0,       1300,       1300,        1,    17153, 0xc5cf7bc7, S=1,     1024, 0xec907a9e
-0,       1310,       1310,        1,    17375, 0xbbeea767, S=1,     1024, 0xec907a9e
-0,       1320,       1320,        1,    17476, 0xd7a25686, S=1,     1024, 0xec907a9e
-0,       1330,       1330,        1,    17602, 0x1c99b228, S=1,     1024, 0xec907a9e
-0,       1340,       1340,        1,    17676, 0xd860d1d2, S=1,     1024, 0xec907a9e
-0,       1350,       1350,        1,    17799, 0xe4ccb3ae, S=1,     1024, 0xec907a9e
-0,       1360,       1360,        1,    17930, 0xf322e416, S=1,     1024, 0xec907a9e
-0,       1370,       1370,        1,    18201, 0xc6f1cfa7, S=1,     1024, 0xec907a9e
-0,       1380,       1380,        1,    18409, 0x7cdfe609, S=1,     1024, 0xec907a9e
-0,       1390,       1390,        1,    18686, 0xf65e5519, S=1,     1024, 0xec907a9e
-0,       1400,       1400,        1,    18790, 0x6d5c8a90, S=1,     1024, 0xec907a9e
-0,       1410,       1410,        1,    18891, 0x4702a6cf, S=1,     1024, 0xec907a9e
-0,       1420,       1420,        1,    18995, 0x69e5e02d, S=1,     1024, 0xec907a9e
-0,       1430,       1430,        1,    19058, 0xc56f0272, S=1,     1024, 0xec907a9e
-0,       1440,       1440,        1,    19223, 0xe89733f6, S=1,     1024, 0xec907a9e
-0,       1450,       1450,        1,    19501, 0xdb80f9e9, S=1,     1024, 0xec907a9e
-0,       1460,       1460,        1,    19566, 0xa3952da8, S=1,     1024, 0xec907a9e
-0,       1470,       1470,        1,    19692, 0x65925150, S=1,     1024, 0xec907a9e
-0,       1480,       1480,        1,    19730, 0x1352599a, S=1,     1024, 0xec907a9e
-0,       1490,       1490,        1,    19916, 0xd246bf9b, S=1,     1024, 0xec907a9e
-0,       1500,       1500,        1,    20136, 0x1c462eea, S=1,     1024, 0xec907a9e
-0,       1510,       1510,        1,    20210, 0xdec93f63, S=1,     1024, 0xec907a9e
-0,       1520,       1520,        1,    20311, 0xdff7836e, S=1,     1024, 0xec907a9e
-0,       1530,       1530,        1,    20377, 0x753d813f, S=1,     1024, 0xec907a9e
-0,       1540,       1540,        1,    20478, 0x7592b1a8, S=1,     1024, 0xec907a9e
-0,       1550,       1550,        1,    20597, 0x58313994, S=1,     1024, 0xec907a9e
-0,       1560,       1560,        1,    20717, 0xcdd9c665, S=1,     1024, 0xec907a9e
-0,       1570,       1570,        1,    20816, 0x803b4b03, S=1,     1024, 0xec907a9e
-0,       1580,       1580,        1,    20912, 0xce36ce22, S=1,     1024, 0xec907a9e
-0,       1590,       1590,        1,    20975, 0x1d08e543, S=1,     1024, 0xec907a9e
-0,       1600,       1600,        1,    21130, 0xc966e24c, S=1,     1024, 0xec907a9e
-0,       1610,       1610,        1,    21343, 0x735e614e, S=1,     1024, 0xec907a9e
-0,       1620,       1620,        1,    21455, 0x78d7afd1, S=1,     1024, 0xec907a9e
-0,       1630,       1630,        1,    21533, 0x62a10f46, S=1,     1024, 0xec907a9e
-0,       1640,       1640,        1,    21645, 0x8e53a12f, S=1,     1024, 0xec907a9e
-0,       1650,       1650,        1,    21931, 0x3b2f7226, S=1,     1024, 0xec907a9e
-0,       1660,       1660,        1,    22009, 0xf06bc58a, S=1,     1024, 0xec907a9e
-0,       1670,       1670,        1,    22115, 0xeeb1c5d7, S=1,     1024, 0xec907a9e
-0,       1680,       1680,        1,    22211, 0xcbab1084, S=1,     1024, 0xec907a9e
-0,       1690,       1690,        1,    22380, 0xf07d5cb7, S=1,     1024, 0xec907a9e
-0,       1700,       1700,        1,    22443, 0xcb79441c, S=1,     1024, 0xec907a9e
-0,       1710,       1710,        1,    22588, 0xcad49814, S=1,     1024, 0xec907a9e
-0,       1720,       1720,        1,    22706, 0x34924e43, S=1,     1024, 0xec907a9e
+0,          1,          1,        1,     1463, 0xa697fe95, S=1,     1024, 0xec907a9e
+0,          2,          2,        1,     1638, 0x7ea154fa, S=1,     1024, 0xec907a9e
+0,          3,          3,        1,     1755, 0x7e0b9c4d, S=1,     1024, 0xec907a9e
+0,          4,          4,        1,     1896, 0x4aacc768, S=1,     1024, 0xec907a9e
+0,          5,          5,        1,     2038, 0x209d1490, S=1,     1024, 0xec907a9e
+0,          6,          6,        1,     2168, 0x0c405606, S=1,     1024, 0xec907a9e
+0,          7,          7,        1,     2258, 0xc2fa9229, S=1,     1024, 0xec907a9e
+0,          8,          8,        1,     2442, 0x0d4bec48, S=1,     1024, 0xec907a9e
+0,          9,          9,        1,     2565, 0x15742730, S=1,     1024, 0xec907a9e
+0,         10,         10,        1,     2733, 0x2eb57d95, S=1,     1024, 0xec907a9e
+0,         11,         11,        1,     2849, 0x9f16ad46, S=1,     1024, 0xec907a9e
+0,         12,         12,        1,     2981, 0xf139f908, S=1,     1024, 0xec907a9e
+0,         13,         13,        1,     3082, 0x57144aec, S=1,     1024, 0xec907a9e
+0,         14,         14,        1,     3200, 0x35227f42, S=1,     1024, 0xec907a9e
+0,         15,         15,        1,     3316, 0xf6d7c002, S=1,     1024, 0xec907a9e
+0,         16,         16,        1,     3462, 0x27a20d23, S=1,     1024, 0xec907a9e
+0,         17,         17,        1,     3600, 0xaecb2b02, S=1,     1024, 0xec907a9e
+0,         18,         18,        1,     3712, 0x947d49d1, S=1,     1024, 0xec907a9e
+0,         19,         19,        1,     3838, 0xf87eb223, S=1,     1024, 0xec907a9e
+0,         20,         20,        1,     3949, 0x4152eedf, S=1,     1024, 0xec907a9e
+0,         21,         21,        1,     4084, 0x512c1e34, S=1,     1024, 0xec907a9e
+0,         22,         22,        1,     4187, 0xc5715a14, S=1,     1024, 0xec907a9e
+0,         23,         23,        1,     4323, 0x6326a0f5, S=1,     1024, 0xec907a9e
+0,         24,         24,        1,     4426, 0x5f6bd655, S=1,     1024, 0xec907a9e
+0,         25,         25,        1,     4564, 0xc62005fd, S=1,     1024, 0xec907a9e
+0,         26,         26,        1,     4664, 0x43e97006, S=1,     1024, 0xec907a9e
+0,         27,         27,        1,     4808, 0xf6e08d4f, S=1,     1024, 0xec907a9e
+0,         28,         28,        1,     4932, 0x2d51e0b5, S=1,     1024, 0xec907a9e
+0,         29,         29,        1,     5072, 0x577430c8, S=1,     1024, 0xec907a9e
+0,         30,         30,        1,     5247, 0xd9fe945d, S=1,     1024, 0xec907a9e
+0,         31,         31,        1,     5353, 0x27eec140, S=1,     1024, 0xec907a9e
+0,         32,         32,        1,     5536, 0xde59038d, S=1,     1024, 0xec907a9e
+0,         33,         33,        1,     5691, 0x358970e4, S=1,     1024, 0xec907a9e
+0,         34,         34,        1,     5835, 0xd89201d8, S=1,     1024, 0xec907a9e
+0,         35,         35,        1,     5967, 0x1c2e1fee, S=1,     1024, 0xec907a9e
+0,         36,         36,        1,     6082, 0xd4b88e90, S=1,     1024, 0xec907a9e
+0,         37,         37,        1,     6277, 0x020fe685, S=1,     1024, 0xec907a9e
+0,         38,         38,        1,     6382, 0xc1db2297, S=1,     1024, 0xec907a9e
+0,         39,         39,        1,     6509, 0xc65473a6, S=1,     1024, 0xec907a9e
+0,         40,         40,        1,     6621, 0xca917a35, S=1,     1024, 0xec907a9e
+0,         41,         41,        1,     6714, 0x70f29b1d, S=1,     1024, 0xec907a9e
+0,         42,         42,        1,     6822, 0x6f02e7ec, S=1,     1024, 0xec907a9e
+0,         43,         43,        1,     6880, 0x95440d97, S=1,     1024, 0xec907a9e
+0,         44,         44,        1,     6983, 0xab7a43fb, S=1,     1024, 0xec907a9e
+0,         45,         45,        1,     7085, 0xc3427580, S=1,     1024, 0xec907a9e
+0,         46,         46,        1,     7242, 0x3d00c5f0, S=1,     1024, 0xec907a9e
+0,         47,         47,        1,     7349, 0x453fad59, S=1,     1024, 0xec907a9e
+0,         48,         48,        1,     7514, 0xbd862667, S=1,     1024, 0xec907a9e
+0,         49,         49,        1,     7575, 0xf8cb3c77, S=1,     1024, 0xec907a9e
+0,         50,         50,        1,     7759, 0x1fe6ab40, S=1,     1024, 0xec907a9e
+0,         51,         51,        1,     7846, 0x3853fd0f, S=1,     1024, 0xec907a9e
+0,         52,         52,        1,     7975, 0x88d02c47, S=1,     1024, 0xec907a9e
+0,         53,         53,        1,     8092, 0xe28a3368, S=1,     1024, 0xec907a9e
+0,         54,         54,        1,     8188, 0x159a5d3b, S=1,     1024, 0xec907a9e
+0,         55,         55,        1,     8307, 0x598cae50, S=1,     1024, 0xec907a9e
+0,         56,         56,        1,     8436, 0xd104ee50, S=1,     1024, 0xec907a9e
+0,         57,         57,        1,     8498, 0x0b1527ed, S=1,     1024, 0xec907a9e
+0,         58,         58,        1,     8559, 0x0f722288, S=1,     1024, 0xec907a9e
+0,         59,         59,        1,     8661, 0x3efb2500, S=1,     1024, 0xec907a9e
+0,         60,         60,        1,     8774, 0x1e188a8b, S=1,     1024, 0xec907a9e
+0,         61,         61,        1,     8848, 0x5b438dbb, S=1,     1024, 0xec907a9e
+0,         62,         62,        1,     8968, 0x4b47ecb3, S=1,     1024, 0xec907a9e
+0,         63,         63,        1,     9036, 0x7a8e0791, S=1,     1024, 0xec907a9e
+0,         64,         64,        1,     9114, 0x7379131a, S=1,     1024, 0xec907a9e
+0,         65,         65,        1,     9258, 0x06099246, S=1,     1024, 0xec907a9e
+0,         66,         66,        1,     9423, 0x721ac9ab, S=1,     1024, 0xec907a9e
+0,         67,         67,        1,     9529, 0xbb1c0d18, S=1,     1024, 0xec907a9e
+0,         68,         68,        1,     9608, 0xc29a05f0, S=1,     1024, 0xec907a9e
+0,         69,         69,        1,     9668, 0xf35221ff, S=1,     1024, 0xec907a9e
+0,         70,         70,        1,     9709, 0x8c6d33f0, S=1,     1024, 0xec907a9e
+0,         71,         71,        1,     9810, 0x2d5b59f4, S=1,     1024, 0xec907a9e
+0,         72,         72,        1,     9879, 0x110ea6e5, S=1,     1024, 0xec907a9e
+0,         73,         73,        1,    10038, 0x5945f5f4, S=1,     1024, 0xec907a9e
+0,         74,         74,        1,    10120, 0xab24f519, S=1,     1024, 0xec907a9e
+0,         75,         75,        1,    10218, 0x090d305a, S=1,     1024, 0xec907a9e
+0,         76,         76,        1,    10231, 0xa77e6a66, S=1,     1024, 0xec907a9e
+0,         77,         77,        1,    10313, 0x192254b7, S=1,     1024, 0xec907a9e
+0,         78,         78,        1,    10444, 0x36609934, S=1,     1024, 0xec907a9e
+0,         79,         79,        1,    10670, 0xfa971206, S=1,     1024, 0xec907a9e
+0,         80,         80,        1,    10902, 0x01b59fd5, S=1,     1024, 0xec907a9e
+0,         81,         81,        1,    10992, 0x1f2ab0bc, S=1,     1024, 0xec907a9e
+0,         82,         82,        1,    11044, 0x7f5b1dc2, S=1,     1024, 0xec907a9e
+0,         83,         83,        1,    11170, 0x0beaee49, S=1,     1024, 0xec907a9e
+0,         84,         84,        1,    11267, 0xb1ae3808, S=1,     1024, 0xec907a9e
+0,         85,         85,        1,    11427, 0x2cc9aa3f, S=1,     1024, 0xec907a9e
+0,         86,         86,        1,    11529, 0x654de4f3, S=1,     1024, 0xec907a9e
+0,         87,         87,        1,    11632, 0xf4972bdf, S=1,     1024, 0xec907a9e
+0,         88,         88,        1,    11825, 0x0cd2548c, S=1,     1024, 0xec907a9e
+0,         89,         89,        1,    11864, 0x80758637, S=1,     1024, 0xec907a9e
+0,         90,         90,        1,    11950, 0xf8246fba, S=1,     1024, 0xec907a9e
+0,         91,         91,        1,    12088, 0x1b99c82b, S=1,     1024, 0xec907a9e
+0,         92,         92,        1,    12161, 0x682cf4ad, S=1,     1024, 0xec907a9e
+0,         93,         93,        1,    12305, 0x9f62069a, S=1,     1024, 0xec907a9e
+0,         94,         94,        1,    12296, 0xe08dd96c, S=1,     1024, 0xec907a9e
+0,         95,         95,        1,    12497, 0x9a20b2d0, S=1,     1024, 0xec907a9e
+0,         96,         96,        1,    12660, 0x4d1d05ea, S=1,     1024, 0xec907a9e
+0,         97,         97,        1,    12763, 0x12542531, S=1,     1024, 0xec907a9e
+0,         98,         98,        1,    12917, 0x7d0944dc, S=1,     1024, 0xec907a9e
+0,         99,         99,        1,    13021, 0xa1c89f22, S=1,     1024, 0xec907a9e
+0,        100,        100,        1,    13184, 0xe13ad0be, S=1,     1024, 0xec907a9e
+0,        101,        101,        1,    13315, 0x11b93a5d, S=1,     1024, 0xec907a9e
+0,        102,        102,        1,    13337, 0x677e54ef, S=1,     1024, 0xec907a9e
+0,        103,        103,        1,    13536, 0x48b7b5de, S=1,     1024, 0xec907a9e
+0,        104,        104,        1,    13728, 0x03f4d302, S=1,     1024, 0xec907a9e
+0,        105,        105,        1,    13822, 0x973b97ec, S=1,     1024, 0xec907a9e
+0,        106,        106,        1,    14002, 0x0de77dfc, S=1,     1024, 0xec907a9e
+0,        107,        107,        1,    14156, 0xf1b1d4e1, S=1,     1024, 0xec907a9e
+0,        108,        108,        1,    14256, 0x355320cc, S=1,     1024, 0xec907a9e
+0,        109,        109,        1,    14451, 0x306cb131, S=1,     1024, 0xec907a9e
+0,        110,        110,        1,    14508, 0xca729c8e, S=1,     1024, 0xec907a9e
+0,        111,        111,        1,    14683, 0x7abec197, S=1,     1024, 0xec907a9e
+0,        112,        112,        1,    14852, 0xa5b90496, S=1,     1024, 0xec907a9e
+0,        113,        113,        1,    15090, 0xcd29839d, S=1,     1024, 0xec907a9e
+0,        114,        114,        1,    15225, 0xfd85f899, S=1,     1024, 0xec907a9e
+0,        115,        115,        1,    15340, 0x07411310, S=1,     1024, 0xec907a9e
+0,        116,        116,        1,    15473, 0xe90086c1, S=1,     1024, 0xec907a9e
+0,        117,        117,        1,    15583, 0x524da1f3, S=1,     1024, 0xec907a9e
+0,        118,        118,        1,    15683, 0x404cbd62, S=1,     1024, 0xec907a9e
+0,        119,        119,        1,    15779, 0x3ec01717, S=1,     1024, 0xec907a9e
+0,        120,        120,        1,    15934, 0xac8b4c03, S=1,     1024, 0xec907a9e
+0,        121,        121,        1,    16116, 0xb4fa83c9, S=1,     1024, 0xec907a9e
+0,        122,        122,        1,    16153, 0x18f669c1, S=1,     1024, 0xec907a9e
+0,        123,        123,        1,    16303, 0x765b10e4, S=1,     1024, 0xec907a9e
+0,        124,        124,        1,    16460, 0xc4a8149a, S=1,     1024, 0xec907a9e
+0,        125,        125,        1,    16475, 0x48664e2d, S=1,     1024, 0xec907a9e
+0,        126,        126,        1,    16710, 0x8a599742, S=1,     1024, 0xec907a9e
+0,        127,        127,        1,    16848, 0x8634a3d5, S=1,     1024, 0xec907a9e
+0,        128,        128,        1,    16955, 0x01f1ebda, S=1,     1024, 0xec907a9e
+0,        129,        129,        1,    17044, 0xd57b47df, S=1,     1024, 0xec907a9e
+0,        130,        130,        1,    17153, 0xc5cf7bc7, S=1,     1024, 0xec907a9e
+0,        131,        131,        1,    17375, 0xbbeea767, S=1,     1024, 0xec907a9e
+0,        132,        132,        1,    17476, 0xd7a25686, S=1,     1024, 0xec907a9e
+0,        133,        133,        1,    17602, 0x1c99b228, S=1,     1024, 0xec907a9e
+0,        134,        134,        1,    17676, 0xd860d1d2, S=1,     1024, 0xec907a9e
+0,        135,        135,        1,    17799, 0xe4ccb3ae, S=1,     1024, 0xec907a9e
+0,        136,        136,        1,    17930, 0xf322e416, S=1,     1024, 0xec907a9e
+0,        137,        137,        1,    18201, 0xc6f1cfa7, S=1,     1024, 0xec907a9e
+0,        138,        138,        1,    18409, 0x7cdfe609, S=1,     1024, 0xec907a9e
+0,        139,        139,        1,    18686, 0xf65e5519, S=1,     1024, 0xec907a9e
+0,        140,        140,        1,    18790, 0x6d5c8a90, S=1,     1024, 0xec907a9e
+0,        141,        141,        1,    18891, 0x4702a6cf, S=1,     1024, 0xec907a9e
+0,        142,        142,        1,    18995, 0x69e5e02d, S=1,     1024, 0xec907a9e
+0,        143,        143,        1,    19058, 0xc56f0272, S=1,     1024, 0xec907a9e
+0,        144,        144,        1,    19223, 0xe89733f6, S=1,     1024, 0xec907a9e
+0,        145,        145,        1,    19501, 0xdb80f9e9, S=1,     1024, 0xec907a9e
+0,        146,        146,        1,    19566, 0xa3952da8, S=1,     1024, 0xec907a9e
+0,        147,        147,        1,    19692, 0x65925150, S=1,     1024, 0xec907a9e
+0,        148,        148,        1,    19730, 0x1352599a, S=1,     1024, 0xec907a9e
+0,        149,        149,        1,    19916, 0xd246bf9b, S=1,     1024, 0xec907a9e
+0,        150,        150,        1,    20136, 0x1c462eea, S=1,     1024, 0xec907a9e
+0,        151,        151,        1,    20210, 0xdec93f63, S=1,     1024, 0xec907a9e
+0,        152,        152,        1,    20311, 0xdff7836e, S=1,     1024, 0xec907a9e
+0,        153,        153,        1,    20377, 0x753d813f, S=1,     1024, 0xec907a9e
+0,        154,        154,        1,    20478, 0x7592b1a8, S=1,     1024, 0xec907a9e
+0,        155,        155,        1,    20597, 0x58313994, S=1,     1024, 0xec907a9e
+0,        156,        156,        1,    20717, 0xcdd9c665, S=1,     1024, 0xec907a9e
+0,        157,        157,        1,    20816, 0x803b4b03, S=1,     1024, 0xec907a9e
+0,        158,        158,        1,    20912, 0xce36ce22, S=1,     1024, 0xec907a9e
+0,        159,        159,        1,    20975, 0x1d08e543, S=1,     1024, 0xec907a9e
+0,        160,        160,        1,    21130, 0xc966e24c, S=1,     1024, 0xec907a9e
+0,        161,        161,        1,    21343, 0x735e614e, S=1,     1024, 0xec907a9e
+0,        162,        162,        1,    21455, 0x78d7afd1, S=1,     1024, 0xec907a9e
+0,        163,        163,        1,    21533, 0x62a10f46, S=1,     1024, 0xec907a9e
+0,        164,        164,        1,    21645, 0x8e53a12f, S=1,     1024, 0xec907a9e
+0,        165,        165,        1,    21931, 0x3b2f7226, S=1,     1024, 0xec907a9e
+0,        166,        166,        1,    22009, 0xf06bc58a, S=1,     1024, 0xec907a9e
+0,        167,        167,        1,    22115, 0xeeb1c5d7, S=1,     1024, 0xec907a9e
+0,        168,        168,        1,    22211, 0xcbab1084, S=1,     1024, 0xec907a9e
+0,        169,        169,        1,    22380, 0xf07d5cb7, S=1,     1024, 0xec907a9e
+0,        170,        170,        1,    22443, 0xcb79441c, S=1,     1024, 0xec907a9e
+0,        171,        171,        1,    22588, 0xcad49814, S=1,     1024, 0xec907a9e
+0,        172,        172,        1,    22706, 0x34924e43, S=1,     1024, 0xec907a9e
diff --git a/tests/ref/fate/gifenc-rgb4_byte b/tests/ref/fate/gifenc-rgb4_byte
index 16696da..9b00103 100644
--- a/tests/ref/fate/gifenc-rgb4_byte
+++ b/tests/ref/fate/gifenc-rgb4_byte
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,      508, 0xf04a113b
-0,         10,         10,        1,      213, 0x23c24d3d, S=1,     1024, 0xf7700427
-0,         20,         20,        1,      131, 0x56d22a39, S=1,     1024, 0x03730427
-0,         30,         30,        1,      384, 0xb1d8a4bd, S=1,     1024, 0xf7700427
-0,         40,         40,        1,      381, 0x37a3a2c9, S=1,     1024, 0xf3740427
-0,         50,         50,        1,      430, 0x162bb3d3, S=1,     1024, 0xf3740427
-0,         60,         60,        1,      518, 0x195bd738, S=1,     1024, 0xf3740427
-0,         70,         70,        1,      535, 0x12cde6b7, S=1,     1024, 0xf3740427
-0,         80,         80,        1,      438, 0xa653b946, S=1,     1024, 0x0b6b0427
-0,         90,         90,        1,      923, 0xd2e2a35f, S=1,     1024, 0x0b6b0427
-0,        100,        100,        1,      694, 0xe1cf4a1f, S=1,     1024, 0x0b6b0427
-0,        110,        110,        1,     1194, 0xa6152c8a, S=1,     1024, 0x0b6b0427
-0,        120,        120,        1,     1291, 0x94d25581, S=1,     1024, 0x0b6b0427
-0,        130,        130,        1,     1245, 0x5b483525, S=1,     1024, 0x0b6b0427
-0,        140,        140,        1,     1330, 0xfb5351c8, S=1,     1024, 0x0b6b0427
-0,        150,        150,        1,     1276, 0x6f403914, S=1,     1024, 0x0b6b0427
-0,        160,        160,        1,     1475, 0xbf459755, S=1,     1024, 0x0b6b0427
-0,        170,        170,        1,     1784, 0xe9954aa7, S=1,     1024, 0xecb30526
-0,        180,        180,        1,     1675, 0x219dfaf8, S=1,     1024, 0xecb30526
-0,        190,        190,        1,     1509, 0xd7f5abbe, S=1,     1024, 0xecb30526
-0,        200,        200,        1,     1705, 0x44a01729, S=1,     1024, 0xecb30526
-0,        210,        210,        1,     1745, 0x31ff1f89, S=1,     1024, 0xecb30526
-0,        220,        220,        1,     1642, 0x55420147, S=1,     1024, 0xecb30526
-0,        230,        230,        1,     1718, 0x68ef1cb8, S=1,     1024, 0xecb30526
-0,        240,        240,        1,     1900, 0xd7737a09, S=1,     1024, 0xecb30526
-0,        250,        250,        1,     1807, 0x4f6c5140, S=1,     1024, 0xecb30526
-0,        260,        260,        1,     1915, 0x976d80e6, S=1,     1024, 0xecb30526
-0,        270,        270,        1,     2100, 0x0ae6d1ce, S=1,     1024, 0xecb30526
-0,        280,        280,        1,     2700, 0x7a89f104, S=1,     1024, 0xecb30526
-0,        290,        290,        1,     2673, 0xf6b6a71d, S=1,     1024, 0xecb30526
-0,        300,        300,        1,     2895, 0x9079484b, S=1,     1024, 0xecb30526
-0,        310,        310,        1,     3257, 0x0b0cd125, S=1,     1024, 0xecb30526
-0,        320,        320,        1,     3179, 0x3ee2c161, S=1,     1024, 0xecb30526
-0,        330,        330,        1,     3296, 0x6230e506, S=1,     1024, 0xecb30526
-0,        340,        340,        1,     3600, 0x021775d7, S=1,     1024, 0xecb30526
-0,        350,        350,        1,     3699, 0xfb03a043, S=1,     1024, 0xecb30526
-0,        360,        360,        1,     3814, 0x96a8d57e, S=1,     1024, 0xecb30526
-0,        370,        370,        1,     3627, 0x33a37f8f, S=1,     1024, 0xecb30526
-0,        380,        380,        1,     2950, 0x50806197, S=1,     1024, 0xecb30526
-0,        390,        390,        1,     3086, 0x72068d4c, S=1,     1024, 0xecb30526
-0,        400,        400,        1,     3094, 0x2880861f, S=1,     1024, 0xecb30526
-0,        410,        410,        1,     3456, 0x6d232a96, S=1,     1024, 0xecb30526
-0,        420,        420,        1,     4108, 0x46d75ebb, S=1,     1024, 0xecb30526
-0,        430,        430,        1,     4217, 0x04a258f4, S=1,     1024, 0xecb30526
-0,        440,        440,        1,     3613, 0x667f4ff8, S=1,     1024, 0xecb30526
-0,        450,        450,        1,     3910, 0x8f37e73e, S=1,     1024, 0xecb30526
-0,        460,        460,        1,     4461, 0x5db9e0bf, S=1,     1024, 0xecb30526
-0,        470,        470,        1,     4593, 0x883f2f49, S=1,     1024, 0xecb30526
-0,        480,        480,        1,     4822, 0x03d99b73, S=1,     1024, 0xecb30526
-0,        490,        490,        1,     5398, 0x39f7bff4, S=1,     1024, 0xecb30526
-0,        500,        500,        1,     5266, 0xd5ab9630, S=1,     1024, 0xecb30526
-0,        510,        510,        1,     5416, 0x5876e16f, S=1,     1024, 0xecb30526
-0,        520,        520,        1,     5519, 0x30ed05d8, S=1,     1024, 0xecb30526
-0,        530,        530,        1,     5701, 0x5bae5af7, S=1,     1024, 0xecb30526
-0,        540,        540,        1,     6160, 0x98364177, S=1,     1024, 0xecb30526
-0,        550,        550,        1,     6233, 0x52a05075, S=1,     1024, 0xecb30526
-0,        560,        560,        1,     5911, 0x04bfc46a, S=1,     1024, 0xecb30526
-0,        570,        570,        1,     5997, 0xf1e6f586, S=1,     1024, 0xecb30526
-0,        580,        580,        1,     5946, 0xe6f3f055, S=1,     1024, 0xecb30526
-0,        590,        590,        1,     6468, 0xc8a3cf61, S=1,     1024, 0xecb30526
-0,        600,        600,        1,     6737, 0xc27b3b79, S=1,     1024, 0xecb30526
-0,        610,        610,        1,     6275, 0x84d88e2b, S=1,     1024, 0xecb30526
-0,        620,        620,        1,     6641, 0xb44b3534, S=1,     1024, 0xecb30526
-0,        630,        630,        1,     6378, 0x3965888b, S=1,     1024, 0xecb30526
-0,        640,        640,        1,     6257, 0x12115750, S=1,     1024, 0xecb30526
-0,        650,        650,        1,     6908, 0x57137217, S=1,     1024, 0xecb30526
-0,        660,        660,        1,     7230, 0xbacc24ee, S=1,     1024, 0xecb30526
-0,        670,        670,        1,     7556, 0x1aa2a694, S=1,     1024, 0xecb30526
-0,        680,        680,        1,     7413, 0xbc9e7718, S=1,     1024, 0xecb30526
-0,        690,        690,        1,     7476, 0xb2a1aba0, S=1,     1024, 0xecb30526
-0,        700,        700,        1,     7596, 0x3301e56d, S=1,     1024, 0xecb30526
-0,        710,        710,        1,     7756, 0x8f2504f8, S=1,     1024, 0xecb30526
-0,        720,        720,        1,     8015, 0xd4146c80, S=1,     1024, 0xecb30526
-0,        730,        730,        1,     8128, 0x11b2bf4c, S=1,     1024, 0xecb30526
-0,        740,        740,        1,     8101, 0xc627adbe, S=1,     1024, 0xecb30526
-0,        750,        750,        1,     7863, 0xe99f3f3b, S=1,     1024, 0xecb30526
-0,        760,        760,        1,     7960, 0x4bc091b8, S=1,     1024, 0xecb30526
-0,        770,        770,        1,     8238, 0x1086ea8a, S=1,     1024, 0xecb30526
-0,        780,        780,        1,     8321, 0x3a404791, S=1,     1024, 0xecb30526
-0,        790,        790,        1,     8562, 0xcbdcc01e, S=1,     1024, 0xecb30526
-0,        800,        800,        1,     8746, 0xec190b22, S=1,     1024, 0xecb30526
-0,        810,        810,        1,     8578, 0x12e7a4e8, S=1,     1024, 0xecb30526
-0,        820,        820,        1,     8878, 0x51c05771, S=1,     1024, 0xecb30526
-0,        830,        830,        1,     9077, 0xe12b589b, S=1,     1024, 0xecb30526
-0,        840,        840,        1,     9310, 0xde3bf881, S=1,     1024, 0xecb30526
-0,        850,        850,        1,     9394, 0x1eba46cc, S=1,     1024, 0xecb30526
-0,        860,        860,        1,     9161, 0x7c359911, S=1,     1024, 0xecb30526
-0,        870,        870,        1,     9462, 0xccda3664, S=1,     1024, 0xecb30526
-0,        880,        880,        1,     9650, 0x6e6292fc, S=1,     1024, 0xecb30526
-0,        890,        890,        1,     9701, 0x08909b95, S=1,     1024, 0xecb30526
-0,        900,        900,        1,     9523, 0xe61b38bb, S=1,     1024, 0xecb30526
-0,        910,        910,        1,     9891, 0x96b90b98, S=1,     1024, 0xecb30526
-0,        920,        920,        1,    10005, 0x2db84c80, S=1,     1024, 0xecb30526
-0,        930,        930,        1,    10038, 0x37e52a72, S=1,     1024, 0xecb30526
-0,        940,        940,        1,    10086, 0x135a43e4, S=1,     1024, 0xecb30526
-0,        950,        950,        1,    10438, 0x472c0372, S=1,     1024, 0xecb30526
-0,        960,        960,        1,    10583, 0xcf4c5862, S=1,     1024, 0xecb30526
-0,        970,        970,        1,    10581, 0xce658137, S=1,     1024, 0xecb30526
-0,        980,        980,        1,    10807, 0x3954dad9, S=1,     1024, 0xecb30526
-0,        990,        990,        1,    11111, 0x5f8d504f, S=1,     1024, 0xecb30526
-0,       1000,       1000,        1,    11194, 0x3c7e6a77, S=1,     1024, 0xecb30526
-0,       1010,       1010,        1,    11240, 0x5112a0a3, S=1,     1024, 0xecb30526
-0,       1020,       1020,        1,    11483, 0xaf10f4fa, S=1,     1024, 0xecb30526
-0,       1030,       1030,        1,    11680, 0x44a25971, S=1,     1024, 0xecb30526
-0,       1040,       1040,        1,    11785, 0x7350b5db, S=1,     1024, 0xecb30526
-0,       1050,       1050,        1,    11436, 0xe3170ad5, S=1,     1024, 0xecb30526
-0,       1060,       1060,        1,    11928, 0x13d8c885, S=1,     1024, 0xecb30526
-0,       1070,       1070,        1,    11932, 0xecb5bdf7, S=1,     1024, 0xecb30526
-0,       1080,       1080,        1,    12281, 0x18bb76d5, S=1,     1024, 0xecb30526
-0,       1090,       1090,        1,    12334, 0x16147fc3, S=1,     1024, 0xecb30526
-0,       1100,       1100,        1,    12452, 0x61a8b3d7, S=1,     1024, 0xecb30526
-0,       1110,       1110,        1,    12695, 0x8b703e74, S=1,     1024, 0xecb30526
-0,       1120,       1120,        1,    12668, 0x19505176, S=1,     1024, 0xecb30526
-0,       1130,       1130,        1,    12957, 0x3b839f0d, S=1,     1024, 0xecb30526
-0,       1140,       1140,        1,    13054, 0xb8a5e3db, S=1,     1024, 0xecb30526
-0,       1150,       1150,        1,    13147, 0xdf5c2e68, S=1,     1024, 0xecb30526
-0,       1160,       1160,        1,    13171, 0x15961ca2, S=1,     1024, 0xecb30526
-0,       1170,       1170,        1,    13198, 0xfd855718, S=1,     1024, 0xecb30526
-0,       1180,       1180,        1,    13211, 0x1a625e31, S=1,     1024, 0xecb30526
-0,       1190,       1190,        1,    13210, 0x246661c9, S=1,     1024, 0xecb30526
-0,       1200,       1200,        1,    13467, 0xfcaaa461, S=1,     1024, 0xecb30526
-0,       1210,       1210,        1,    13665, 0x8100dbf2, S=1,     1024, 0xecb30526
-0,       1220,       1220,        1,    13692, 0xddd1eab9, S=1,     1024, 0xecb30526
-0,       1230,       1230,        1,    13821, 0xc70e2af0, S=1,     1024, 0xecb30526
-0,       1240,       1240,        1,    13946, 0xe15d9134, S=1,     1024, 0xecb30526
-0,       1250,       1250,        1,    14063, 0xf652d232, S=1,     1024, 0xecb30526
-0,       1260,       1260,        1,    14124, 0x756ccc81, S=1,     1024, 0xecb30526
-0,       1270,       1270,        1,    14331, 0x56d64fe8, S=1,     1024, 0xecb30526
-0,       1280,       1280,        1,    14469, 0x4c3faa7f, S=1,     1024, 0xecb30526
-0,       1290,       1290,        1,    14536, 0xad02a19b, S=1,     1024, 0xecb30526
-0,       1300,       1300,        1,    14608, 0x0971d168, S=1,     1024, 0xecb30526
-0,       1310,       1310,        1,    14898, 0x1a6827b3, S=1,     1024, 0xecb30526
-0,       1320,       1320,        1,    14978, 0xf9709fef, S=1,     1024, 0xecb30526
-0,       1330,       1330,        1,    15142, 0x3598da63, S=1,     1024, 0xecb30526
-0,       1340,       1340,        1,    15129, 0x062fb976, S=1,     1024, 0xecb30526
-0,       1350,       1350,        1,    15243, 0x0a6a12f9, S=1,     1024, 0xecb30526
-0,       1360,       1360,        1,    15337, 0x0f9a65d6, S=1,     1024, 0xecb30526
-0,       1370,       1370,        1,    15638, 0xf7bc9ef5, S=1,     1024, 0xecb30526
-0,       1380,       1380,        1,    15912, 0x2d5b26bb, S=1,     1024, 0xecb30526
-0,       1390,       1390,        1,    16041, 0xbfaf4857, S=1,     1024, 0xecb30526
-0,       1400,       1400,        1,    16228, 0xdac701f0, S=1,     1024, 0xecb30526
-0,       1410,       1410,        1,    16262, 0xcd0ae5e4, S=1,     1024, 0xecb30526
-0,       1420,       1420,        1,    16371, 0x9d4f0e73, S=1,     1024, 0xecb30526
-0,       1430,       1430,        1,    16661, 0xd37ba990, S=1,     1024, 0xecb30526
-0,       1440,       1440,        1,    16917, 0xd5b01774, S=1,     1024, 0xecb30526
-0,       1450,       1450,        1,    17149, 0x435ecdd4, S=1,     1024, 0xecb30526
-0,       1460,       1460,        1,    17172, 0x045fb234, S=1,     1024, 0xecb30526
-0,       1470,       1470,        1,    17315, 0xc5ddadab, S=1,     1024, 0xecb30526
-0,       1480,       1480,        1,    17397, 0xff8e15b6, S=1,     1024, 0xecb30526
-0,       1490,       1490,        1,    17431, 0x6832f8c0, S=1,     1024, 0xecb30526
-0,       1500,       1500,        1,    17576, 0x5c2a5445, S=1,     1024, 0xecb30526
-0,       1510,       1510,        1,    17764, 0x609f8c3b, S=1,     1024, 0xecb30526
-0,       1520,       1520,        1,    17826, 0x538c8532, S=1,     1024, 0xecb30526
-0,       1530,       1530,        1,    17918, 0x84fc9a95, S=1,     1024, 0xecb30526
-0,       1540,       1540,        1,    17823, 0x788fbada, S=1,     1024, 0xecb30526
-0,       1550,       1550,        1,    18142, 0x56881e47, S=1,     1024, 0xecb30526
-0,       1560,       1560,        1,    18257, 0xa35b86cf, S=1,     1024, 0xecb30526
-0,       1570,       1570,        1,    18337, 0x82ddbc21, S=1,     1024, 0xecb30526
-0,       1580,       1580,        1,    18293, 0xf0d838d6, S=1,     1024, 0xecb30526
-0,       1590,       1590,        1,    18418, 0x7ed8bba6, S=1,     1024, 0xecb30526
-0,       1600,       1600,        1,    18607, 0xccea47f6, S=1,     1024, 0xecb30526
-0,       1610,       1610,        1,    18916, 0x880ebd63, S=1,     1024, 0xecb30526
-0,       1620,       1620,        1,    19073, 0x055f02e3, S=1,     1024, 0xecb30526
-0,       1630,       1630,        1,    19168, 0xcc2c02d7, S=1,     1024, 0xecb30526
-0,       1640,       1640,        1,    19210, 0xa538ffc1, S=1,     1024, 0xecb30526
-0,       1650,       1650,        1,    19398, 0x4777644d, S=1,     1024, 0xecb30526
-0,       1660,       1660,        1,    19480, 0xcb2aa0fa, S=1,     1024, 0xecb30526
-0,       1670,       1670,        1,    19659, 0xe3c1122d, S=1,     1024, 0xecb30526
-0,       1680,       1680,        1,    19672, 0x1d1e193f, S=1,     1024, 0xecb30526
-0,       1690,       1690,        1,    19936, 0xcd036346, S=1,     1024, 0xecb30526
-0,       1700,       1700,        1,    19975, 0x96529b21, S=1,     1024, 0xecb30526
-0,       1710,       1710,        1,    20021, 0xcdaf8bb5, S=1,     1024, 0xecb30526
-0,       1720,       1720,        1,    20060, 0x1cea7784, S=1,     1024, 0xecb30526
+0,          1,          1,        1,      213, 0x23c24d3d, S=1,     1024, 0xf7700427
+0,          2,          2,        1,      131, 0x56d22a39, S=1,     1024, 0x03730427
+0,          3,          3,        1,      384, 0xb1d8a4bd, S=1,     1024, 0xf7700427
+0,          4,          4,        1,      381, 0x37a3a2c9, S=1,     1024, 0xf3740427
+0,          5,          5,        1,      430, 0x162bb3d3, S=1,     1024, 0xf3740427
+0,          6,          6,        1,      518, 0x195bd738, S=1,     1024, 0xf3740427
+0,          7,          7,        1,      535, 0x12cde6b7, S=1,     1024, 0xf3740427
+0,          8,          8,        1,      438, 0xa653b946, S=1,     1024, 0x0b6b0427
+0,          9,          9,        1,      923, 0xd2e2a35f, S=1,     1024, 0x0b6b0427
+0,         10,         10,        1,      694, 0xe1cf4a1f, S=1,     1024, 0x0b6b0427
+0,         11,         11,        1,     1194, 0xa6152c8a, S=1,     1024, 0x0b6b0427
+0,         12,         12,        1,     1291, 0x94d25581, S=1,     1024, 0x0b6b0427
+0,         13,         13,        1,     1245, 0x5b483525, S=1,     1024, 0x0b6b0427
+0,         14,         14,        1,     1330, 0xfb5351c8, S=1,     1024, 0x0b6b0427
+0,         15,         15,        1,     1276, 0x6f403914, S=1,     1024, 0x0b6b0427
+0,         16,         16,        1,     1475, 0xbf459755, S=1,     1024, 0x0b6b0427
+0,         17,         17,        1,     1784, 0xe9954aa7, S=1,     1024, 0xecb30526
+0,         18,         18,        1,     1675, 0x219dfaf8, S=1,     1024, 0xecb30526
+0,         19,         19,        1,     1509, 0xd7f5abbe, S=1,     1024, 0xecb30526
+0,         20,         20,        1,     1705, 0x44a01729, S=1,     1024, 0xecb30526
+0,         21,         21,        1,     1745, 0x31ff1f89, S=1,     1024, 0xecb30526
+0,         22,         22,        1,     1642, 0x55420147, S=1,     1024, 0xecb30526
+0,         23,         23,        1,     1718, 0x68ef1cb8, S=1,     1024, 0xecb30526
+0,         24,         24,        1,     1900, 0xd7737a09, S=1,     1024, 0xecb30526
+0,         25,         25,        1,     1807, 0x4f6c5140, S=1,     1024, 0xecb30526
+0,         26,         26,        1,     1915, 0x976d80e6, S=1,     1024, 0xecb30526
+0,         27,         27,        1,     2100, 0x0ae6d1ce, S=1,     1024, 0xecb30526
+0,         28,         28,        1,     2700, 0x7a89f104, S=1,     1024, 0xecb30526
+0,         29,         29,        1,     2673, 0xf6b6a71d, S=1,     1024, 0xecb30526
+0,         30,         30,        1,     2895, 0x9079484b, S=1,     1024, 0xecb30526
+0,         31,         31,        1,     3257, 0x0b0cd125, S=1,     1024, 0xecb30526
+0,         32,         32,        1,     3179, 0x3ee2c161, S=1,     1024, 0xecb30526
+0,         33,         33,        1,     3296, 0x6230e506, S=1,     1024, 0xecb30526
+0,         34,         34,        1,     3600, 0x021775d7, S=1,     1024, 0xecb30526
+0,         35,         35,        1,     3699, 0xfb03a043, S=1,     1024, 0xecb30526
+0,         36,         36,        1,     3814, 0x96a8d57e, S=1,     1024, 0xecb30526
+0,         37,         37,        1,     3627, 0x33a37f8f, S=1,     1024, 0xecb30526
+0,         38,         38,        1,     2950, 0x50806197, S=1,     1024, 0xecb30526
+0,         39,         39,        1,     3086, 0x72068d4c, S=1,     1024, 0xecb30526
+0,         40,         40,        1,     3094, 0x2880861f, S=1,     1024, 0xecb30526
+0,         41,         41,        1,     3456, 0x6d232a96, S=1,     1024, 0xecb30526
+0,         42,         42,        1,     4108, 0x46d75ebb, S=1,     1024, 0xecb30526
+0,         43,         43,        1,     4217, 0x04a258f4, S=1,     1024, 0xecb30526
+0,         44,         44,        1,     3613, 0x667f4ff8, S=1,     1024, 0xecb30526
+0,         45,         45,        1,     3910, 0x8f37e73e, S=1,     1024, 0xecb30526
+0,         46,         46,        1,     4461, 0x5db9e0bf, S=1,     1024, 0xecb30526
+0,         47,         47,        1,     4593, 0x883f2f49, S=1,     1024, 0xecb30526
+0,         48,         48,        1,     4822, 0x03d99b73, S=1,     1024, 0xecb30526
+0,         49,         49,        1,     5398, 0x39f7bff4, S=1,     1024, 0xecb30526
+0,         50,         50,        1,     5266, 0xd5ab9630, S=1,     1024, 0xecb30526
+0,         51,         51,        1,     5416, 0x5876e16f, S=1,     1024, 0xecb30526
+0,         52,         52,        1,     5519, 0x30ed05d8, S=1,     1024, 0xecb30526
+0,         53,         53,        1,     5701, 0x5bae5af7, S=1,     1024, 0xecb30526
+0,         54,         54,        1,     6160, 0x98364177, S=1,     1024, 0xecb30526
+0,         55,         55,        1,     6233, 0x52a05075, S=1,     1024, 0xecb30526
+0,         56,         56,        1,     5911, 0x04bfc46a, S=1,     1024, 0xecb30526
+0,         57,         57,        1,     5997, 0xf1e6f586, S=1,     1024, 0xecb30526
+0,         58,         58,        1,     5946, 0xe6f3f055, S=1,     1024, 0xecb30526
+0,         59,         59,        1,     6468, 0xc8a3cf61, S=1,     1024, 0xecb30526
+0,         60,         60,        1,     6737, 0xc27b3b79, S=1,     1024, 0xecb30526
+0,         61,         61,        1,     6275, 0x84d88e2b, S=1,     1024, 0xecb30526
+0,         62,         62,        1,     6641, 0xb44b3534, S=1,     1024, 0xecb30526
+0,         63,         63,        1,     6378, 0x3965888b, S=1,     1024, 0xecb30526
+0,         64,         64,        1,     6257, 0x12115750, S=1,     1024, 0xecb30526
+0,         65,         65,        1,     6908, 0x57137217, S=1,     1024, 0xecb30526
+0,         66,         66,        1,     7230, 0xbacc24ee, S=1,     1024, 0xecb30526
+0,         67,         67,        1,     7556, 0x1aa2a694, S=1,     1024, 0xecb30526
+0,         68,         68,        1,     7413, 0xbc9e7718, S=1,     1024, 0xecb30526
+0,         69,         69,        1,     7476, 0xb2a1aba0, S=1,     1024, 0xecb30526
+0,         70,         70,        1,     7596, 0x3301e56d, S=1,     1024, 0xecb30526
+0,         71,         71,        1,     7756, 0x8f2504f8, S=1,     1024, 0xecb30526
+0,         72,         72,        1,     8015, 0xd4146c80, S=1,     1024, 0xecb30526
+0,         73,         73,        1,     8128, 0x11b2bf4c, S=1,     1024, 0xecb30526
+0,         74,         74,        1,     8101, 0xc627adbe, S=1,     1024, 0xecb30526
+0,         75,         75,        1,     7863, 0xe99f3f3b, S=1,     1024, 0xecb30526
+0,         76,         76,        1,     7960, 0x4bc091b8, S=1,     1024, 0xecb30526
+0,         77,         77,        1,     8238, 0x1086ea8a, S=1,     1024, 0xecb30526
+0,         78,         78,        1,     8321, 0x3a404791, S=1,     1024, 0xecb30526
+0,         79,         79,        1,     8562, 0xcbdcc01e, S=1,     1024, 0xecb30526
+0,         80,         80,        1,     8746, 0xec190b22, S=1,     1024, 0xecb30526
+0,         81,         81,        1,     8578, 0x12e7a4e8, S=1,     1024, 0xecb30526
+0,         82,         82,        1,     8878, 0x51c05771, S=1,     1024, 0xecb30526
+0,         83,         83,        1,     9077, 0xe12b589b, S=1,     1024, 0xecb30526
+0,         84,         84,        1,     9310, 0xde3bf881, S=1,     1024, 0xecb30526
+0,         85,         85,        1,     9394, 0x1eba46cc, S=1,     1024, 0xecb30526
+0,         86,         86,        1,     9161, 0x7c359911, S=1,     1024, 0xecb30526
+0,         87,         87,        1,     9462, 0xccda3664, S=1,     1024, 0xecb30526
+0,         88,         88,        1,     9650, 0x6e6292fc, S=1,     1024, 0xecb30526
+0,         89,         89,        1,     9701, 0x08909b95, S=1,     1024, 0xecb30526
+0,         90,         90,        1,     9523, 0xe61b38bb, S=1,     1024, 0xecb30526
+0,         91,         91,        1,     9891, 0x96b90b98, S=1,     1024, 0xecb30526
+0,         92,         92,        1,    10005, 0x2db84c80, S=1,     1024, 0xecb30526
+0,         93,         93,        1,    10038, 0x37e52a72, S=1,     1024, 0xecb30526
+0,         94,         94,        1,    10086, 0x135a43e4, S=1,     1024, 0xecb30526
+0,         95,         95,        1,    10438, 0x472c0372, S=1,     1024, 0xecb30526
+0,         96,         96,        1,    10583, 0xcf4c5862, S=1,     1024, 0xecb30526
+0,         97,         97,        1,    10581, 0xce658137, S=1,     1024, 0xecb30526
+0,         98,         98,        1,    10807, 0x3954dad9, S=1,     1024, 0xecb30526
+0,         99,         99,        1,    11111, 0x5f8d504f, S=1,     1024, 0xecb30526
+0,        100,        100,        1,    11194, 0x3c7e6a77, S=1,     1024, 0xecb30526
+0,        101,        101,        1,    11240, 0x5112a0a3, S=1,     1024, 0xecb30526
+0,        102,        102,        1,    11483, 0xaf10f4fa, S=1,     1024, 0xecb30526
+0,        103,        103,        1,    11680, 0x44a25971, S=1,     1024, 0xecb30526
+0,        104,        104,        1,    11785, 0x7350b5db, S=1,     1024, 0xecb30526
+0,        105,        105,        1,    11436, 0xe3170ad5, S=1,     1024, 0xecb30526
+0,        106,        106,        1,    11928, 0x13d8c885, S=1,     1024, 0xecb30526
+0,        107,        107,        1,    11932, 0xecb5bdf7, S=1,     1024, 0xecb30526
+0,        108,        108,        1,    12281, 0x18bb76d5, S=1,     1024, 0xecb30526
+0,        109,        109,        1,    12334, 0x16147fc3, S=1,     1024, 0xecb30526
+0,        110,        110,        1,    12452, 0x61a8b3d7, S=1,     1024, 0xecb30526
+0,        111,        111,        1,    12695, 0x8b703e74, S=1,     1024, 0xecb30526
+0,        112,        112,        1,    12668, 0x19505176, S=1,     1024, 0xecb30526
+0,        113,        113,        1,    12957, 0x3b839f0d, S=1,     1024, 0xecb30526
+0,        114,        114,        1,    13054, 0xb8a5e3db, S=1,     1024, 0xecb30526
+0,        115,        115,        1,    13147, 0xdf5c2e68, S=1,     1024, 0xecb30526
+0,        116,        116,        1,    13171, 0x15961ca2, S=1,     1024, 0xecb30526
+0,        117,        117,        1,    13198, 0xfd855718, S=1,     1024, 0xecb30526
+0,        118,        118,        1,    13211, 0x1a625e31, S=1,     1024, 0xecb30526
+0,        119,        119,        1,    13210, 0x246661c9, S=1,     1024, 0xecb30526
+0,        120,        120,        1,    13467, 0xfcaaa461, S=1,     1024, 0xecb30526
+0,        121,        121,        1,    13665, 0x8100dbf2, S=1,     1024, 0xecb30526
+0,        122,        122,        1,    13692, 0xddd1eab9, S=1,     1024, 0xecb30526
+0,        123,        123,        1,    13821, 0xc70e2af0, S=1,     1024, 0xecb30526
+0,        124,        124,        1,    13946, 0xe15d9134, S=1,     1024, 0xecb30526
+0,        125,        125,        1,    14063, 0xf652d232, S=1,     1024, 0xecb30526
+0,        126,        126,        1,    14124, 0x756ccc81, S=1,     1024, 0xecb30526
+0,        127,        127,        1,    14331, 0x56d64fe8, S=1,     1024, 0xecb30526
+0,        128,        128,        1,    14469, 0x4c3faa7f, S=1,     1024, 0xecb30526
+0,        129,        129,        1,    14536, 0xad02a19b, S=1,     1024, 0xecb30526
+0,        130,        130,        1,    14608, 0x0971d168, S=1,     1024, 0xecb30526
+0,        131,        131,        1,    14898, 0x1a6827b3, S=1,     1024, 0xecb30526
+0,        132,        132,        1,    14978, 0xf9709fef, S=1,     1024, 0xecb30526
+0,        133,        133,        1,    15142, 0x3598da63, S=1,     1024, 0xecb30526
+0,        134,        134,        1,    15129, 0x062fb976, S=1,     1024, 0xecb30526
+0,        135,        135,        1,    15243, 0x0a6a12f9, S=1,     1024, 0xecb30526
+0,        136,        136,        1,    15337, 0x0f9a65d6, S=1,     1024, 0xecb30526
+0,        137,        137,        1,    15638, 0xf7bc9ef5, S=1,     1024, 0xecb30526
+0,        138,        138,        1,    15912, 0x2d5b26bb, S=1,     1024, 0xecb30526
+0,        139,        139,        1,    16041, 0xbfaf4857, S=1,     1024, 0xecb30526
+0,        140,        140,        1,    16228, 0xdac701f0, S=1,     1024, 0xecb30526
+0,        141,        141,        1,    16262, 0xcd0ae5e4, S=1,     1024, 0xecb30526
+0,        142,        142,        1,    16371, 0x9d4f0e73, S=1,     1024, 0xecb30526
+0,        143,        143,        1,    16661, 0xd37ba990, S=1,     1024, 0xecb30526
+0,        144,        144,        1,    16917, 0xd5b01774, S=1,     1024, 0xecb30526
+0,        145,        145,        1,    17149, 0x435ecdd4, S=1,     1024, 0xecb30526
+0,        146,        146,        1,    17172, 0x045fb234, S=1,     1024, 0xecb30526
+0,        147,        147,        1,    17315, 0xc5ddadab, S=1,     1024, 0xecb30526
+0,        148,        148,        1,    17397, 0xff8e15b6, S=1,     1024, 0xecb30526
+0,        149,        149,        1,    17431, 0x6832f8c0, S=1,     1024, 0xecb30526
+0,        150,        150,        1,    17576, 0x5c2a5445, S=1,     1024, 0xecb30526
+0,        151,        151,        1,    17764, 0x609f8c3b, S=1,     1024, 0xecb30526
+0,        152,        152,        1,    17826, 0x538c8532, S=1,     1024, 0xecb30526
+0,        153,        153,        1,    17918, 0x84fc9a95, S=1,     1024, 0xecb30526
+0,        154,        154,        1,    17823, 0x788fbada, S=1,     1024, 0xecb30526
+0,        155,        155,        1,    18142, 0x56881e47, S=1,     1024, 0xecb30526
+0,        156,        156,        1,    18257, 0xa35b86cf, S=1,     1024, 0xecb30526
+0,        157,        157,        1,    18337, 0x82ddbc21, S=1,     1024, 0xecb30526
+0,        158,        158,        1,    18293, 0xf0d838d6, S=1,     1024, 0xecb30526
+0,        159,        159,        1,    18418, 0x7ed8bba6, S=1,     1024, 0xecb30526
+0,        160,        160,        1,    18607, 0xccea47f6, S=1,     1024, 0xecb30526
+0,        161,        161,        1,    18916, 0x880ebd63, S=1,     1024, 0xecb30526
+0,        162,        162,        1,    19073, 0x055f02e3, S=1,     1024, 0xecb30526
+0,        163,        163,        1,    19168, 0xcc2c02d7, S=1,     1024, 0xecb30526
+0,        164,        164,        1,    19210, 0xa538ffc1, S=1,     1024, 0xecb30526
+0,        165,        165,        1,    19398, 0x4777644d, S=1,     1024, 0xecb30526
+0,        166,        166,        1,    19480, 0xcb2aa0fa, S=1,     1024, 0xecb30526
+0,        167,        167,        1,    19659, 0xe3c1122d, S=1,     1024, 0xecb30526
+0,        168,        168,        1,    19672, 0x1d1e193f, S=1,     1024, 0xecb30526
+0,        169,        169,        1,    19936, 0xcd036346, S=1,     1024, 0xecb30526
+0,        170,        170,        1,    19975, 0x96529b21, S=1,     1024, 0xecb30526
+0,        171,        171,        1,    20021, 0xcdaf8bb5, S=1,     1024, 0xecb30526
+0,        172,        172,        1,    20060, 0x1cea7784, S=1,     1024, 0xecb30526
diff --git a/tests/ref/fate/gifenc-rgb8 b/tests/ref/fate/gifenc-rgb8
index 226b26e..a894173 100644
--- a/tests/ref/fate/gifenc-rgb8
+++ b/tests/ref/fate/gifenc-rgb8
@@ -1,174 +1,174 @@
-#tb 0: 1/100
+#tb 0: 1/10
 0,          0,          0,        1,      552, 0x47602c6c
-0,         10,         10,        1,      297, 0x49dd8847, S=1,     1024, 0xcfc8799f
-0,         20,         20,        1,      438, 0x4776d352, S=1,     1024, 0xcfc8799f
-0,         30,         30,        1,      450, 0x2254d187, S=1,     1024, 0xcfc8799f
-0,         40,         40,        1,      547, 0xe16104bc, S=1,     1024, 0xcfc8799f
-0,         50,         50,        1,      614, 0x0fdc2027, S=1,     1024, 0xcfc8799f
-0,         60,         60,        1,      642, 0xa0af1edf, S=1,     1024, 0xcfc8799f
-0,         70,         70,        1,      660, 0xd0763931, S=1,     1024, 0xcfc8799f
-0,         80,         80,        1,      821, 0xc38f7fac, S=1,     1024, 0xcfc8799f
-0,         90,         90,        1,     1157, 0x4c112ecd, S=1,     1024, 0xcfc8799f
-0,        100,        100,        1,      179, 0x0690541c, S=1,     1024, 0xcfc8799f
-0,        110,        110,        1,     1333, 0x216f70a7, S=1,     1024, 0xcfc8799f
-0,        120,        120,        1,     1638, 0x901c093d, S=1,     1024, 0xcfc8799f
-0,        130,        130,        1,     1531, 0xc9bae5ff, S=1,     1024, 0xcfc8799f
-0,        140,        140,        1,     1720, 0xce854743, S=1,     1024, 0xcfc8799f
-0,        150,        150,        1,     1910, 0x2690866d, S=1,     1024, 0xcfc8799f
-0,        160,        160,        1,     2124, 0xa586dad0, S=1,     1024, 0xcfc8799f
-0,        170,        170,        1,     2248, 0x9ddc2a88, S=1,     1024, 0xcfc8799f
-0,        180,        180,        1,     2311, 0xd64235af, S=1,     1024, 0xcfc8799f
-0,        190,        190,        1,     2408, 0xe2a66cc9, S=1,     1024, 0xcfc8799f
-0,        200,        200,        1,     2601, 0xeab6c267, S=1,     1024, 0xcfc8799f
-0,        210,        210,        1,     2687, 0xfe1d0311, S=1,     1024, 0xcfc8799f
-0,        220,        220,        1,     2784, 0xca600dee, S=1,     1024, 0xcfc8799f
-0,        230,        230,        1,     2884, 0xc7134b99, S=1,     1024, 0xcfc8799f
-0,        240,        240,        1,     2982, 0x0b1e7825, S=1,     1024, 0xcfc8799f
-0,        250,        250,        1,     3101, 0x3e029e0e, S=1,     1024, 0xcfc8799f
-0,        260,        260,        1,     3253, 0x846af678, S=1,     1024, 0xcfc8799f
-0,        270,        270,        1,     3329, 0x29a81b71, S=1,     1024, 0xcfc8799f
-0,        280,        280,        1,     3572, 0xa3e08a52, S=1,     1024, 0xcfc8799f
-0,        290,        290,        1,     3807, 0x18e1fed2, S=1,     1024, 0xcfc8799f
-0,        300,        300,        1,     2750, 0xff6e1f9e, S=1,     1024, 0xcfc8799f
-0,        310,        310,        1,     4031, 0x6d4f7329, S=1,     1024, 0xcfc8799f
-0,        320,        320,        1,     3025, 0xb43c9e94, S=1,     1024, 0xcfc8799f
-0,        330,        330,        1,     4295, 0xc1850a80, S=1,     1024, 0xcfc8799f
-0,        340,        340,        1,     2044, 0x0440c072, S=1,     1024, 0xcfc8799f
-0,        350,        350,        1,     3212, 0xe91af08f, S=1,     1024, 0xcfc8799f
-0,        360,        360,        1,     2281, 0x6a414aa1, S=1,     1024, 0xcfc8799f
-0,        370,        370,        1,     3633, 0xac779aa3, S=1,     1024, 0xcfc8799f
-0,        380,        380,        1,     3552, 0xed2c75b2, S=1,     1024, 0xcfc8799f
-0,        390,        390,        1,     3690, 0x2020dd0d, S=1,     1024, 0xcfc8799f
-0,        400,        400,        1,     1558, 0x2c14e4b2, S=1,     1024, 0xcfc8799f
-0,        410,        410,        1,      940, 0x4927cd90, S=1,     1024, 0xcfc8799f
-0,        420,        420,        1,      273, 0x138c7831, S=1,     1024, 0xcfc8799f
-0,        430,        430,        1,      930, 0xf1c3ae3f, S=1,     1024, 0xcfc8799f
-0,        440,        440,        1,      271, 0x6d338044, S=1,     1024, 0xcfc8799f
-0,        450,        450,        1,      196, 0xa5de5322, S=1,     1024, 0xcfc8799f
-0,        460,        460,        1,     4299, 0x5bac0d86, S=1,     1024, 0xcfc8799f
-0,        470,        470,        1,     4895, 0xc43639a6, S=1,     1024, 0xcfc8799f
-0,        480,        480,        1,     4928, 0xf17d13e8, S=1,     1024, 0xcfc8799f
-0,        490,        490,        1,     4941, 0x71915520, S=1,     1024, 0xcfc8799f
-0,        500,        500,        1,     4154, 0xc860b8a6, S=1,     1024, 0xcfc8799f
-0,        510,        510,        1,     4678, 0x2651c339, S=1,     1024, 0xcfc8799f
-0,        520,        520,        1,     4741, 0xffd6bb45, S=1,     1024, 0xcfc8799f
-0,        530,        530,        1,     4982, 0x132c5977, S=1,     1024, 0xcfc8799f
-0,        540,        540,        1,     5179, 0x97aac3a1, S=1,     1024, 0xcfc8799f
-0,        550,        550,        1,     5046, 0x836a80cd, S=1,     1024, 0xcfc8799f
-0,        560,        560,        1,     5140, 0xa725c1e7, S=1,     1024, 0xcfc8799f
-0,        570,        570,        1,     4289, 0x7b3afbc0, S=1,     1024, 0xcfc8799f
-0,        580,        580,        1,     5079, 0xb2e7a2de, S=1,     1024, 0xcfc8799f
-0,        590,        590,        1,     5284, 0xb757dfe1, S=1,     1024, 0xcfc8799f
-0,        600,        600,        1,     5426, 0xf9f11e57, S=1,     1024, 0xcfc8799f
-0,        610,        610,        1,     4645, 0xf0f289e1, S=1,     1024, 0xcfc8799f
-0,        620,        620,        1,     5263, 0x8617d7e9, S=1,     1024, 0xcfc8799f
-0,        630,        630,        1,     5221, 0x26e3ca43, S=1,     1024, 0xcfc8799f
-0,        640,        640,        1,     5217, 0x90989cfb, S=1,     1024, 0xcfc8799f
-0,        650,        650,        1,     5395, 0xe29a01cb, S=1,     1024, 0xcfc8799f
-0,        660,        660,        1,     5220, 0xe2dee355, S=1,     1024, 0xcfc8799f
-0,        670,        670,        1,     5704, 0xcfbcd55e, S=1,     1024, 0xcfc8799f
-0,        680,        680,        1,     5636, 0x7fc2a1e5, S=1,     1024, 0xcfc8799f
-0,        690,        690,        1,     5818, 0x6090ebbd, S=1,     1024, 0xcfc8799f
-0,        700,        700,        1,     5763, 0xc110c791, S=1,     1024, 0xcfc8799f
-0,        710,        710,        1,     6116, 0xb4ee8e30, S=1,     1024, 0xcfc8799f
-0,        720,        720,        1,     6069, 0x21b263db, S=1,     1024, 0xcfc8799f
-0,        730,        730,        1,     5796, 0x2514df52, S=1,     1024, 0xcfc8799f
-0,        740,        740,        1,     5999, 0x1c3c3701, S=1,     1024, 0xcfc8799f
-0,        750,        750,        1,     6220, 0x8340b150, S=1,     1024, 0xcfc8799f
-0,        760,        760,        1,     6374, 0x00d8eaa5, S=1,     1024, 0xcfc8799f
-0,        770,        770,        1,     6465, 0x74c4778a, S=1,     1024, 0xcfc8799f
-0,        780,        780,        1,     7019, 0xdb1a28a3, S=1,     1024, 0xcfc8799f
-0,        790,        790,        1,     7255, 0x1e19b76e, S=1,     1024, 0xcfc8799f
-0,        800,        800,        1,     8197, 0x26bc6a79, S=1,     1024, 0xcfc8799f
-0,        810,        810,        1,     8358, 0x118781e0, S=1,     1024, 0xcfc8799f
-0,        820,        820,        1,     7708, 0xfc0c963d, S=1,     1024, 0xcfc8799f
-0,        830,        830,        1,     7412, 0xdcc311ee, S=1,     1024, 0xcfc8799f
-0,        840,        840,        1,     7541, 0x4d2819c1, S=1,     1024, 0xcfc8799f
-0,        850,        850,        1,     7948, 0xf12eca3d, S=1,     1024, 0xcfc8799f
-0,        860,        860,        1,     8408, 0x43add468, S=1,     1024, 0xcfc8799f
-0,        870,        870,        1,     8056, 0x2d162377, S=1,     1024, 0xcfc8799f
-0,        880,        880,        1,     7401, 0x26ebb649, S=1,     1024, 0xcfc8799f
-0,        890,        890,        1,     7494, 0x35fcf9ae, S=1,     1024, 0xcfc8799f
-0,        900,        900,        1,     7806, 0x4238723d, S=1,     1024, 0xcfc8799f
-0,        910,        910,        1,     7768, 0xb01e795a, S=1,     1024, 0xcfc8799f
-0,        920,        920,        1,     7749, 0x6ab39c12, S=1,     1024, 0xcfc8799f
-0,        930,        930,        1,     8047, 0x0e5f24aa, S=1,     1024, 0xcfc8799f
-0,        940,        940,        1,     7618, 0xd787340f, S=1,     1024, 0xcfc8799f
-0,        950,        950,        1,     7979, 0x0824c4df, S=1,     1024, 0xcfc8799f
-0,        960,        960,        1,    12062, 0xc46d9d92, S=1,     1024, 0xcfc8799f
-0,        970,        970,        1,    12317, 0x1314dc0c, S=1,     1024, 0xcfc8799f
-0,        980,        980,        1,    12217, 0x78c2ed30, S=1,     1024, 0xcfc8799f
-0,        990,        990,        1,    11227, 0x2a578eb9, S=1,     1024, 0xcfc8799f
-0,       1000,       1000,        1,    11108, 0x4eaa068c, S=1,     1024, 0xcfc8799f
-0,       1010,       1010,        1,    11366, 0x48f8993f, S=1,     1024, 0xcfc8799f
-0,       1020,       1020,        1,    11896, 0x32414841, S=1,     1024, 0xcfc8799f
-0,       1030,       1030,        1,    11479, 0xeaa38225, S=1,     1024, 0xcfc8799f
-0,       1040,       1040,        1,    13395, 0xaa9d4c72, S=1,     1024, 0xcfc8799f
-0,       1050,       1050,        1,    12913, 0x28854353, S=1,     1024, 0xcfc8799f
-0,       1060,       1060,        1,    13864, 0x663df630, S=1,     1024, 0xcfc8799f
-0,       1070,       1070,        1,    13551, 0xf7ba7be7, S=1,     1024, 0xcfc8799f
-0,       1080,       1080,        1,    14041, 0x2dc071b9, S=1,     1024, 0xcfc8799f
-0,       1090,       1090,        1,    14144, 0x33a03d1d, S=1,     1024, 0xcfc8799f
-0,       1100,       1100,        1,    14277, 0x6bda5935, S=1,     1024, 0xcfc8799f
-0,       1110,       1110,        1,    14424, 0xa696efd8, S=1,     1024, 0xcfc8799f
-0,       1120,       1120,        1,    14689, 0x8e3ad12c, S=1,     1024, 0xcfc8799f
-0,       1130,       1130,        1,    14598, 0x544668b4, S=1,     1024, 0xcfc8799f
-0,       1140,       1140,        1,    15213, 0x60009558, S=1,     1024, 0xcfc8799f
-0,       1150,       1150,        1,    15425, 0x86e5adf4, S=1,     1024, 0xcfc8799f
-0,       1160,       1160,        1,    15595, 0x878d09b9, S=1,     1024, 0xcfc8799f
-0,       1170,       1170,        1,    15598, 0x10daabc4, S=1,     1024, 0xcfc8799f
-0,       1180,       1180,        1,    15863, 0x2462016c, S=1,     1024, 0xcfc8799f
-0,       1190,       1190,        1,    15717, 0xe05041c4, S=1,     1024, 0xcfc8799f
-0,       1200,       1200,        1,    16078, 0x7c8f3a8c, S=1,     1024, 0xcfc8799f
-0,       1210,       1210,        1,    16225, 0x9771a52e, S=1,     1024, 0xcfc8799f
-0,       1220,       1220,        1,    16135, 0x2dfc1692, S=1,     1024, 0xcfc8799f
-0,       1230,       1230,        1,    16661, 0x09c96d7e, S=1,     1024, 0xcfc8799f
-0,       1240,       1240,        1,    16619, 0xc4735b56, S=1,     1024, 0xcfc8799f
-0,       1250,       1250,        1,    16829, 0x589dc13f, S=1,     1024, 0xcfc8799f
-0,       1260,       1260,        1,    16944, 0x997cd18f, S=1,     1024, 0xcfc8799f
-0,       1270,       1270,        1,    17119, 0x6c396b60, S=1,     1024, 0xcfc8799f
-0,       1280,       1280,        1,    17150, 0x8e603d31, S=1,     1024, 0xcfc8799f
-0,       1290,       1290,        1,    17321, 0x0bbcee5a, S=1,     1024, 0xcfc8799f
-0,       1300,       1300,        1,    17395, 0x99f0c974, S=1,     1024, 0xcfc8799f
-0,       1310,       1310,        1,    17666, 0x37184223, S=1,     1024, 0xcfc8799f
-0,       1320,       1320,        1,    17730, 0xa0d385b3, S=1,     1024, 0xcfc8799f
-0,       1330,       1330,        1,    17934, 0xb22cc97d, S=1,     1024, 0xcfc8799f
-0,       1340,       1340,        1,    17944, 0x0cd309c6, S=1,     1024, 0xcfc8799f
-0,       1350,       1350,        1,    18238, 0x6b7e3237, S=1,     1024, 0xcfc8799f
-0,       1360,       1360,        1,    18391, 0x4df3c48a, S=1,     1024, 0xcfc8799f
-0,       1370,       1370,        1,    18543, 0x90a2f238, S=1,     1024, 0xcfc8799f
-0,       1380,       1380,        1,    18939, 0xc57dda5b, S=1,     1024, 0xcfc8799f
-0,       1390,       1390,        1,    19145, 0x1267294a, S=1,     1024, 0xcfc8799f
-0,       1400,       1400,        1,    19120, 0xeac6a9c3, S=1,     1024, 0xcfc8799f
-0,       1410,       1410,        1,    19130, 0x31f3edbc, S=1,     1024, 0xcfc8799f
-0,       1420,       1420,        1,    19494, 0x3259a2f3, S=1,     1024, 0xcfc8799f
-0,       1430,       1430,        1,    19534, 0xda22a752, S=1,     1024, 0xcfc8799f
-0,       1440,       1440,        1,    19747, 0x8805c379, S=1,     1024, 0xcfc8799f
-0,       1450,       1450,        1,    20114, 0xaaf96864, S=1,     1024, 0xcfc8799f
-0,       1460,       1460,        1,    20257, 0x7223da26, S=1,     1024, 0xcfc8799f
-0,       1470,       1470,        1,    20370, 0x08ef382a, S=1,     1024, 0xcfc8799f
-0,       1480,       1480,        1,    20292, 0x4b47f207, S=1,     1024, 0xcfc8799f
-0,       1490,       1490,        1,    20491, 0xeedd6d1c, S=1,     1024, 0xcfc8799f
-0,       1500,       1500,        1,    20647, 0xb0d1dd45, S=1,     1024, 0xcfc8799f
-0,       1510,       1510,        1,    20666, 0x382cc8a4, S=1,     1024, 0xcfc8799f
-0,       1520,       1520,        1,    21007, 0x398f4f7d, S=1,     1024, 0xcfc8799f
-0,       1530,       1530,        1,    21058, 0xd6616a9d, S=1,     1024, 0xcfc8799f
-0,       1540,       1540,        1,    21153, 0x988749db, S=1,     1024, 0xcfc8799f
-0,       1550,       1550,        1,    21078, 0x1b328059, S=1,     1024, 0xcfc8799f
-0,       1560,       1560,        1,    21458, 0x6348529c, S=1,     1024, 0xcfc8799f
-0,       1570,       1570,        1,    21669, 0xcf63e2de, S=1,     1024, 0xcfc8799f
-0,       1580,       1580,        1,    21581, 0x1fc021af, S=1,     1024, 0xcfc8799f
-0,       1590,       1590,        1,    21654, 0x899dab18, S=1,     1024, 0xcfc8799f
-0,       1600,       1600,        1,    21987, 0x634086fe, S=1,     1024, 0xcfc8799f
-0,       1610,       1610,        1,    22205, 0x617a7335, S=1,     1024, 0xcfc8799f
-0,       1620,       1620,        1,    22475, 0x9fa2e01c, S=1,     1024, 0xcfc8799f
-0,       1630,       1630,        1,    22490, 0x7dc5376c, S=1,     1024, 0xcfc8799f
-0,       1640,       1640,        1,    22460, 0x33e6bbfe, S=1,     1024, 0xcfc8799f
-0,       1650,       1650,        1,    22861, 0x18993510, S=1,     1024, 0xcfc8799f
-0,       1660,       1660,        1,    22746, 0xdff85615, S=1,     1024, 0xcfc8799f
-0,       1670,       1670,        1,    23165, 0xf0ac66a3, S=1,     1024, 0xcfc8799f
-0,       1680,       1680,        1,    23273, 0x13869ad9, S=1,     1024, 0xcfc8799f
-0,       1690,       1690,        1,    23211, 0xd30b6205, S=1,     1024, 0xcfc8799f
-0,       1700,       1700,        1,    23648, 0xa0cef01b, S=1,     1024, 0xcfc8799f
-0,       1710,       1710,        1,    23675, 0x760460b9, S=1,     1024, 0xcfc8799f
-0,       1720,       1720,        1,    23874, 0xacf998c5, S=1,     1024, 0xcfc8799f
+0,          1,          1,        1,      297, 0x49dd8847, S=1,     1024, 0xcfc8799f
+0,          2,          2,        1,      438, 0x4776d352, S=1,     1024, 0xcfc8799f
+0,          3,          3,        1,      450, 0x2254d187, S=1,     1024, 0xcfc8799f
+0,          4,          4,        1,      547, 0xe16104bc, S=1,     1024, 0xcfc8799f
+0,          5,          5,        1,      614, 0x0fdc2027, S=1,     1024, 0xcfc8799f
+0,          6,          6,        1,      642, 0xa0af1edf, S=1,     1024, 0xcfc8799f
+0,          7,          7,        1,      660, 0xd0763931, S=1,     1024, 0xcfc8799f
+0,          8,          8,        1,      821, 0xc38f7fac, S=1,     1024, 0xcfc8799f
+0,          9,          9,        1,     1157, 0x4c112ecd, S=1,     1024, 0xcfc8799f
+0,         10,         10,        1,      179, 0x0690541c, S=1,     1024, 0xcfc8799f
+0,         11,         11,        1,     1333, 0x216f70a7, S=1,     1024, 0xcfc8799f
+0,         12,         12,        1,     1638, 0x901c093d, S=1,     1024, 0xcfc8799f
+0,         13,         13,        1,     1531, 0xc9bae5ff, S=1,     1024, 0xcfc8799f
+0,         14,         14,        1,     1720, 0xce854743, S=1,     1024, 0xcfc8799f
+0,         15,         15,        1,     1910, 0x2690866d, S=1,     1024, 0xcfc8799f
+0,         16,         16,        1,     2124, 0xa586dad0, S=1,     1024, 0xcfc8799f
+0,         17,         17,        1,     2248, 0x9ddc2a88, S=1,     1024, 0xcfc8799f
+0,         18,         18,        1,     2311, 0xd64235af, S=1,     1024, 0xcfc8799f
+0,         19,         19,        1,     2408, 0xe2a66cc9, S=1,     1024, 0xcfc8799f
+0,         20,         20,        1,     2601, 0xeab6c267, S=1,     1024, 0xcfc8799f
+0,         21,         21,        1,     2687, 0xfe1d0311, S=1,     1024, 0xcfc8799f
+0,         22,         22,        1,     2784, 0xca600dee, S=1,     1024, 0xcfc8799f
+0,         23,         23,        1,     2884, 0xc7134b99, S=1,     1024, 0xcfc8799f
+0,         24,         24,        1,     2982, 0x0b1e7825, S=1,     1024, 0xcfc8799f
+0,         25,         25,        1,     3101, 0x3e029e0e, S=1,     1024, 0xcfc8799f
+0,         26,         26,        1,     3253, 0x846af678, S=1,     1024, 0xcfc8799f
+0,         27,         27,        1,     3329, 0x29a81b71, S=1,     1024, 0xcfc8799f
+0,         28,         28,        1,     3572, 0xa3e08a52, S=1,     1024, 0xcfc8799f
+0,         29,         29,        1,     3807, 0x18e1fed2, S=1,     1024, 0xcfc8799f
+0,         30,         30,        1,     2750, 0xff6e1f9e, S=1,     1024, 0xcfc8799f
+0,         31,         31,        1,     4031, 0x6d4f7329, S=1,     1024, 0xcfc8799f
+0,         32,         32,        1,     3025, 0xb43c9e94, S=1,     1024, 0xcfc8799f
+0,         33,         33,        1,     4295, 0xc1850a80, S=1,     1024, 0xcfc8799f
+0,         34,         34,        1,     2044, 0x0440c072, S=1,     1024, 0xcfc8799f
+0,         35,         35,        1,     3212, 0xe91af08f, S=1,     1024, 0xcfc8799f
+0,         36,         36,        1,     2281, 0x6a414aa1, S=1,     1024, 0xcfc8799f
+0,         37,         37,        1,     3633, 0xac779aa3, S=1,     1024, 0xcfc8799f
+0,         38,         38,        1,     3552, 0xed2c75b2, S=1,     1024, 0xcfc8799f
+0,         39,         39,        1,     3690, 0x2020dd0d, S=1,     1024, 0xcfc8799f
+0,         40,         40,        1,     1558, 0x2c14e4b2, S=1,     1024, 0xcfc8799f
+0,         41,         41,        1,      940, 0x4927cd90, S=1,     1024, 0xcfc8799f
+0,         42,         42,        1,      273, 0x138c7831, S=1,     1024, 0xcfc8799f
+0,         43,         43,        1,      930, 0xf1c3ae3f, S=1,     1024, 0xcfc8799f
+0,         44,         44,        1,      271, 0x6d338044, S=1,     1024, 0xcfc8799f
+0,         45,         45,        1,      196, 0xa5de5322, S=1,     1024, 0xcfc8799f
+0,         46,         46,        1,     4299, 0x5bac0d86, S=1,     1024, 0xcfc8799f
+0,         47,         47,        1,     4895, 0xc43639a6, S=1,     1024, 0xcfc8799f
+0,         48,         48,        1,     4928, 0xf17d13e8, S=1,     1024, 0xcfc8799f
+0,         49,         49,        1,     4941, 0x71915520, S=1,     1024, 0xcfc8799f
+0,         50,         50,        1,     4154, 0xc860b8a6, S=1,     1024, 0xcfc8799f
+0,         51,         51,        1,     4678, 0x2651c339, S=1,     1024, 0xcfc8799f
+0,         52,         52,        1,     4741, 0xffd6bb45, S=1,     1024, 0xcfc8799f
+0,         53,         53,        1,     4982, 0x132c5977, S=1,     1024, 0xcfc8799f
+0,         54,         54,        1,     5179, 0x97aac3a1, S=1,     1024, 0xcfc8799f
+0,         55,         55,        1,     5046, 0x836a80cd, S=1,     1024, 0xcfc8799f
+0,         56,         56,        1,     5140, 0xa725c1e7, S=1,     1024, 0xcfc8799f
+0,         57,         57,        1,     4289, 0x7b3afbc0, S=1,     1024, 0xcfc8799f
+0,         58,         58,        1,     5079, 0xb2e7a2de, S=1,     1024, 0xcfc8799f
+0,         59,         59,        1,     5284, 0xb757dfe1, S=1,     1024, 0xcfc8799f
+0,         60,         60,        1,     5426, 0xf9f11e57, S=1,     1024, 0xcfc8799f
+0,         61,         61,        1,     4645, 0xf0f289e1, S=1,     1024, 0xcfc8799f
+0,         62,         62,        1,     5263, 0x8617d7e9, S=1,     1024, 0xcfc8799f
+0,         63,         63,        1,     5221, 0x26e3ca43, S=1,     1024, 0xcfc8799f
+0,         64,         64,        1,     5217, 0x90989cfb, S=1,     1024, 0xcfc8799f
+0,         65,         65,        1,     5395, 0xe29a01cb, S=1,     1024, 0xcfc8799f
+0,         66,         66,        1,     5220, 0xe2dee355, S=1,     1024, 0xcfc8799f
+0,         67,         67,        1,     5704, 0xcfbcd55e, S=1,     1024, 0xcfc8799f
+0,         68,         68,        1,     5636, 0x7fc2a1e5, S=1,     1024, 0xcfc8799f
+0,         69,         69,        1,     5818, 0x6090ebbd, S=1,     1024, 0xcfc8799f
+0,         70,         70,        1,     5763, 0xc110c791, S=1,     1024, 0xcfc8799f
+0,         71,         71,        1,     6116, 0xb4ee8e30, S=1,     1024, 0xcfc8799f
+0,         72,         72,        1,     6069, 0x21b263db, S=1,     1024, 0xcfc8799f
+0,         73,         73,        1,     5796, 0x2514df52, S=1,     1024, 0xcfc8799f
+0,         74,         74,        1,     5999, 0x1c3c3701, S=1,     1024, 0xcfc8799f
+0,         75,         75,        1,     6220, 0x8340b150, S=1,     1024, 0xcfc8799f
+0,         76,         76,        1,     6374, 0x00d8eaa5, S=1,     1024, 0xcfc8799f
+0,         77,         77,        1,     6465, 0x74c4778a, S=1,     1024, 0xcfc8799f
+0,         78,         78,        1,     7019, 0xdb1a28a3, S=1,     1024, 0xcfc8799f
+0,         79,         79,        1,     7255, 0x1e19b76e, S=1,     1024, 0xcfc8799f
+0,         80,         80,        1,     8197, 0x26bc6a79, S=1,     1024, 0xcfc8799f
+0,         81,         81,        1,     8358, 0x118781e0, S=1,     1024, 0xcfc8799f
+0,         82,         82,        1,     7708, 0xfc0c963d, S=1,     1024, 0xcfc8799f
+0,         83,         83,        1,     7412, 0xdcc311ee, S=1,     1024, 0xcfc8799f
+0,         84,         84,        1,     7541, 0x4d2819c1, S=1,     1024, 0xcfc8799f
+0,         85,         85,        1,     7948, 0xf12eca3d, S=1,     1024, 0xcfc8799f
+0,         86,         86,        1,     8408, 0x43add468, S=1,     1024, 0xcfc8799f
+0,         87,         87,        1,     8056, 0x2d162377, S=1,     1024, 0xcfc8799f
+0,         88,         88,        1,     7401, 0x26ebb649, S=1,     1024, 0xcfc8799f
+0,         89,         89,        1,     7494, 0x35fcf9ae, S=1,     1024, 0xcfc8799f
+0,         90,         90,        1,     7806, 0x4238723d, S=1,     1024, 0xcfc8799f
+0,         91,         91,        1,     7768, 0xb01e795a, S=1,     1024, 0xcfc8799f
+0,         92,         92,        1,     7749, 0x6ab39c12, S=1,     1024, 0xcfc8799f
+0,         93,         93,        1,     8047, 0x0e5f24aa, S=1,     1024, 0xcfc8799f
+0,         94,         94,        1,     7618, 0xd787340f, S=1,     1024, 0xcfc8799f
+0,         95,         95,        1,     7979, 0x0824c4df, S=1,     1024, 0xcfc8799f
+0,         96,         96,        1,    12062, 0xc46d9d92, S=1,     1024, 0xcfc8799f
+0,         97,         97,        1,    12317, 0x1314dc0c, S=1,     1024, 0xcfc8799f
+0,         98,         98,        1,    12217, 0x78c2ed30, S=1,     1024, 0xcfc8799f
+0,         99,         99,        1,    11227, 0x2a578eb9, S=1,     1024, 0xcfc8799f
+0,        100,        100,        1,    11108, 0x4eaa068c, S=1,     1024, 0xcfc8799f
+0,        101,        101,        1,    11366, 0x48f8993f, S=1,     1024, 0xcfc8799f
+0,        102,        102,        1,    11896, 0x32414841, S=1,     1024, 0xcfc8799f
+0,        103,        103,        1,    11479, 0xeaa38225, S=1,     1024, 0xcfc8799f
+0,        104,        104,        1,    13395, 0xaa9d4c72, S=1,     1024, 0xcfc8799f
+0,        105,        105,        1,    12913, 0x28854353, S=1,     1024, 0xcfc8799f
+0,        106,        106,        1,    13864, 0x663df630, S=1,     1024, 0xcfc8799f
+0,        107,        107,        1,    13551, 0xf7ba7be7, S=1,     1024, 0xcfc8799f
+0,        108,        108,        1,    14041, 0x2dc071b9, S=1,     1024, 0xcfc8799f
+0,        109,        109,        1,    14144, 0x33a03d1d, S=1,     1024, 0xcfc8799f
+0,        110,        110,        1,    14277, 0x6bda5935, S=1,     1024, 0xcfc8799f
+0,        111,        111,        1,    14424, 0xa696efd8, S=1,     1024, 0xcfc8799f
+0,        112,        112,        1,    14689, 0x8e3ad12c, S=1,     1024, 0xcfc8799f
+0,        113,        113,        1,    14598, 0x544668b4, S=1,     1024, 0xcfc8799f
+0,        114,        114,        1,    15213, 0x60009558, S=1,     1024, 0xcfc8799f
+0,        115,        115,        1,    15425, 0x86e5adf4, S=1,     1024, 0xcfc8799f
+0,        116,        116,        1,    15595, 0x878d09b9, S=1,     1024, 0xcfc8799f
+0,        117,        117,        1,    15598, 0x10daabc4, S=1,     1024, 0xcfc8799f
+0,        118,        118,        1,    15863, 0x2462016c, S=1,     1024, 0xcfc8799f
+0,        119,        119,        1,    15717, 0xe05041c4, S=1,     1024, 0xcfc8799f
+0,        120,        120,        1,    16078, 0x7c8f3a8c, S=1,     1024, 0xcfc8799f
+0,        121,        121,        1,    16225, 0x9771a52e, S=1,     1024, 0xcfc8799f
+0,        122,        122,        1,    16135, 0x2dfc1692, S=1,     1024, 0xcfc8799f
+0,        123,        123,        1,    16661, 0x09c96d7e, S=1,     1024, 0xcfc8799f
+0,        124,        124,        1,    16619, 0xc4735b56, S=1,     1024, 0xcfc8799f
+0,        125,        125,        1,    16829, 0x589dc13f, S=1,     1024, 0xcfc8799f
+0,        126,        126,        1,    16944, 0x997cd18f, S=1,     1024, 0xcfc8799f
+0,        127,        127,        1,    17119, 0x6c396b60, S=1,     1024, 0xcfc8799f
+0,        128,        128,        1,    17150, 0x8e603d31, S=1,     1024, 0xcfc8799f
+0,        129,        129,        1,    17321, 0x0bbcee5a, S=1,     1024, 0xcfc8799f
+0,        130,        130,        1,    17395, 0x99f0c974, S=1,     1024, 0xcfc8799f
+0,        131,        131,        1,    17666, 0x37184223, S=1,     1024, 0xcfc8799f
+0,        132,        132,        1,    17730, 0xa0d385b3, S=1,     1024, 0xcfc8799f
+0,        133,        133,        1,    17934, 0xb22cc97d, S=1,     1024, 0xcfc8799f
+0,        134,        134,        1,    17944, 0x0cd309c6, S=1,     1024, 0xcfc8799f
+0,        135,        135,        1,    18238, 0x6b7e3237, S=1,     1024, 0xcfc8799f
+0,        136,        136,        1,    18391, 0x4df3c48a, S=1,     1024, 0xcfc8799f
+0,        137,        137,        1,    18543, 0x90a2f238, S=1,     1024, 0xcfc8799f
+0,        138,        138,        1,    18939, 0xc57dda5b, S=1,     1024, 0xcfc8799f
+0,        139,        139,        1,    19145, 0x1267294a, S=1,     1024, 0xcfc8799f
+0,        140,        140,        1,    19120, 0xeac6a9c3, S=1,     1024, 0xcfc8799f
+0,        141,        141,        1,    19130, 0x31f3edbc, S=1,     1024, 0xcfc8799f
+0,        142,        142,        1,    19494, 0x3259a2f3, S=1,     1024, 0xcfc8799f
+0,        143,        143,        1,    19534, 0xda22a752, S=1,     1024, 0xcfc8799f
+0,        144,        144,        1,    19747, 0x8805c379, S=1,     1024, 0xcfc8799f
+0,        145,        145,        1,    20114, 0xaaf96864, S=1,     1024, 0xcfc8799f
+0,        146,        146,        1,    20257, 0x7223da26, S=1,     1024, 0xcfc8799f
+0,        147,        147,        1,    20370, 0x08ef382a, S=1,     1024, 0xcfc8799f
+0,        148,        148,        1,    20292, 0x4b47f207, S=1,     1024, 0xcfc8799f
+0,        149,        149,        1,    20491, 0xeedd6d1c, S=1,     1024, 0xcfc8799f
+0,        150,        150,        1,    20647, 0xb0d1dd45, S=1,     1024, 0xcfc8799f
+0,        151,        151,        1,    20666, 0x382cc8a4, S=1,     1024, 0xcfc8799f
+0,        152,        152,        1,    21007, 0x398f4f7d, S=1,     1024, 0xcfc8799f
+0,        153,        153,        1,    21058, 0xd6616a9d, S=1,     1024, 0xcfc8799f
+0,        154,        154,        1,    21153, 0x988749db, S=1,     1024, 0xcfc8799f
+0,        155,        155,        1,    21078, 0x1b328059, S=1,     1024, 0xcfc8799f
+0,        156,        156,        1,    21458, 0x6348529c, S=1,     1024, 0xcfc8799f
+0,        157,        157,        1,    21669, 0xcf63e2de, S=1,     1024, 0xcfc8799f
+0,        158,        158,        1,    21581, 0x1fc021af, S=1,     1024, 0xcfc8799f
+0,        159,        159,        1,    21654, 0x899dab18, S=1,     1024, 0xcfc8799f
+0,        160,        160,        1,    21987, 0x634086fe, S=1,     1024, 0xcfc8799f
+0,        161,        161,        1,    22205, 0x617a7335, S=1,     1024, 0xcfc8799f
+0,        162,        162,        1,    22475, 0x9fa2e01c, S=1,     1024, 0xcfc8799f
+0,        163,        163,        1,    22490, 0x7dc5376c, S=1,     1024, 0xcfc8799f
+0,        164,        164,        1,    22460, 0x33e6bbfe, S=1,     1024, 0xcfc8799f
+0,        165,        165,        1,    22861, 0x18993510, S=1,     1024, 0xcfc8799f
+0,        166,        166,        1,    22746, 0xdff85615, S=1,     1024, 0xcfc8799f
+0,        167,        167,        1,    23165, 0xf0ac66a3, S=1,     1024, 0xcfc8799f
+0,        168,        168,        1,    23273, 0x13869ad9, S=1,     1024, 0xcfc8799f
+0,        169,        169,        1,    23211, 0xd30b6205, S=1,     1024, 0xcfc8799f
+0,        170,        170,        1,    23648, 0xa0cef01b, S=1,     1024, 0xcfc8799f
+0,        171,        171,        1,    23675, 0x760460b9, S=1,     1024, 0xcfc8799f
+0,        172,        172,        1,    23874, 0xacf998c5, S=1,     1024, 0xcfc8799f
diff --git a/tests/ref/lavf/gif b/tests/ref/lavf/gif
index 531cd1e..d2e2f11 100644
--- a/tests/ref/lavf/gif
+++ b/tests/ref/lavf/gif
@@ -1,3 +1,3 @@
 e35f5ea283bbcb249818e0078ec72664 *./tests/data/lavf/lavf.gif
 2011766 ./tests/data/lavf/lavf.gif
-./tests/data/lavf/lavf.gif CRC=0x0dc5477c
+./tests/data/lavf/lavf.gif CRC=0x2429faff



More information about the ffmpeg-cvslog mailing list