summaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-19 19:01:37 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-19 23:59:21 +0200
commite1b35bdde2fc84de0435a1ab2d085452a0d5ad00 (patch)
tree71702a6caf86ef6b82cd6d1de0a52641bb00d0ea /tests/ref
parent0f1250b7e52fc41abf4f050b41467639cb9fd7a3 (diff)
downloadffmpeg-streaming-e1b35bdde2fc84de0435a1ab2d085452a0d5ad00.zip
ffmpeg-streaming-e1b35bdde2fc84de0435a1ab2d085452a0d5ad00.tar.gz
lavc/gif: add flag to enable transparency detection between frames.
While this is not always optimal, in practice most of the common cases are. ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags -transdiff -frames:v 50 -y bbb-notrans.gif ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags +transdiff -frames:v 50 -y bbb-trans.gif -rw-r--r-- 1 ubitux ubitux 1.1M Apr 19 19:00 bbb-notrans.gif -rw-r--r-- 1 ubitux ubitux 378K Apr 19 19:00 bbb-trans.gif
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/gifenc-bgr4_byte344
-rw-r--r--tests/ref/fate/gifenc-bgr8344
-rw-r--r--tests/ref/fate/gifenc-gray344
-rw-r--r--tests/ref/fate/gifenc-rgb4_byte344
-rw-r--r--tests/ref/fate/gifenc-rgb8344
5 files changed, 860 insertions, 860 deletions
diff --git a/tests/ref/fate/gifenc-bgr4_byte b/tests/ref/fate/gifenc-bgr4_byte
index 7e86803..67b32af 100644
--- a/tests/ref/fate/gifenc-bgr4_byte
+++ b/tests/ref/fate/gifenc-bgr4_byte
@@ -1,174 +1,174 @@
#tb 0: 1/100
0, 0, 0, 1, 507, 0x91080fbf
-0, 10, 10, 1, 193, 0x1d7e4858
-0, 20, 20, 1, 130, 0xfe2d2987
-0, 30, 30, 1, 395, 0xf717a07e
-0, 40, 40, 1, 431, 0x940db956
-0, 50, 50, 1, 466, 0xb8dccc62
-0, 60, 60, 1, 542, 0x0ae8e79a
-0, 70, 70, 1, 597, 0x5baf0acf
-0, 80, 80, 1, 969, 0x87e2cc88
-0, 90, 90, 1, 1044, 0xd5daf5ef
-0, 100, 100, 1, 1185, 0xbcb62ceb
-0, 110, 110, 1, 1273, 0x15895efd
-0, 120, 120, 1, 1352, 0x53b287f7
-0, 130, 130, 1, 1428, 0x55c2a576
-0, 140, 140, 1, 1488, 0x65eacda9
-0, 150, 150, 1, 1428, 0xef6d8e92
-0, 160, 160, 1, 1709, 0xd59b38bd
-0, 170, 170, 1, 1834, 0xa7a6676f
-0, 180, 180, 1, 1933, 0xa9f5915f
-0, 190, 190, 1, 1944, 0x51f28eb4
-0, 200, 200, 1, 2170, 0xa28a0d4e
-0, 210, 210, 1, 2051, 0x893eb9bf
-0, 220, 220, 1, 2250, 0x32c2449c
-0, 230, 230, 1, 2334, 0x94bc4f85
-0, 240, 240, 1, 2267, 0x957d32eb
-0, 250, 250, 1, 2447, 0xb1098a71
-0, 260, 260, 1, 2552, 0xb38bb5d4
-0, 270, 270, 1, 2450, 0x30447fb7
-0, 280, 280, 1, 2893, 0x1dbc5e35
-0, 290, 290, 1, 2905, 0x3b495cac
-0, 300, 300, 1, 3158, 0xd4570380
-0, 310, 310, 1, 3276, 0xd30827f4
-0, 320, 320, 1, 3439, 0xcdac7c90
-0, 330, 330, 1, 3481, 0x561c6e32
-0, 340, 340, 1, 3641, 0xf314bfe5
-0, 350, 350, 1, 3727, 0x8e8ff2c3
-0, 360, 360, 1, 3826, 0x728f3cee
-0, 370, 370, 1, 3933, 0x29cb6577
-0, 380, 380, 1, 3944, 0xc9455d41
-0, 390, 390, 1, 4011, 0x141d88dd
-0, 400, 400, 1, 4119, 0x6d74b89b
-0, 410, 410, 1, 4132, 0x93da9bd7
-0, 420, 420, 1, 4332, 0xdabb38ff
-0, 430, 430, 1, 4400, 0xd49955a6
-0, 440, 440, 1, 4376, 0x674b0ffe
-0, 450, 450, 1, 4483, 0xd89c764c
-0, 460, 460, 1, 4623, 0xbb7ec92d
-0, 470, 470, 1, 4692, 0xaf8bf4c9
-0, 480, 480, 1, 4752, 0x8259213a
-0, 490, 490, 1, 4947, 0x29c786e3
-0, 500, 500, 1, 5076, 0x49f0bb0c
-0, 510, 510, 1, 5189, 0x5295fa2f
-0, 520, 520, 1, 5287, 0x3cc83668
-0, 530, 530, 1, 5414, 0x95bfb406
-0, 540, 540, 1, 5688, 0xbc080b7a
-0, 550, 550, 1, 5806, 0x756742d5
-0, 560, 560, 1, 5905, 0x2e668221
-0, 570, 570, 1, 6056, 0xe76bbf67
-0, 580, 580, 1, 6126, 0x9959e501
-0, 590, 590, 1, 6203, 0x4ea0be07
-0, 600, 600, 1, 6313, 0x1a4e1744
-0, 610, 610, 1, 6416, 0x6a5a1e08
-0, 620, 620, 1, 6471, 0xb2cb5000
-0, 630, 630, 1, 6552, 0x43d07883
-0, 640, 640, 1, 6650, 0xe993ae84
-0, 650, 650, 1, 6811, 0x1902fd8d
-0, 660, 660, 1, 6966, 0x324a604f
-0, 670, 670, 1, 7063, 0xbe2d7441
-0, 680, 680, 1, 7107, 0xf0a16cdf
-0, 690, 690, 1, 7163, 0x93747168
-0, 700, 700, 1, 7169, 0x0d0791d0
-0, 710, 710, 1, 7255, 0xa00bc770
-0, 720, 720, 1, 7355, 0xe3e9ef39
-0, 730, 730, 1, 7407, 0x392d0e75
-0, 740, 740, 1, 7485, 0xfd1c3a13
-0, 750, 750, 1, 7512, 0x31e84bce
-0, 760, 760, 1, 7495, 0xb340ec92
-0, 770, 770, 1, 7602, 0x75043f9d
-0, 780, 780, 1, 7677, 0x8e4972ea
-0, 790, 790, 1, 7824, 0x7aadda27
-0, 800, 800, 1, 7975, 0xb5510d88
-0, 810, 810, 1, 8093, 0xfa944446
-0, 820, 820, 1, 8249, 0x1da4671e
-0, 830, 830, 1, 8288, 0xbf2f9b73
-0, 840, 840, 1, 8418, 0xcec6ebe7
-0, 850, 850, 1, 8508, 0x8d852009
-0, 860, 860, 1, 8563, 0xfcdf2ea0
-0, 870, 870, 1, 8676, 0x2a567c4d
-0, 880, 880, 1, 8779, 0x40d77560
-0, 890, 890, 1, 8897, 0xf707c828
-0, 900, 900, 1, 9036, 0xd1401652
-0, 910, 910, 1, 9050, 0x46760af2
-0, 920, 920, 1, 9102, 0x177b2b76
-0, 930, 930, 1, 9207, 0x8f113246
-0, 940, 940, 1, 9227, 0xc4c03f9c
-0, 950, 950, 1, 9480, 0x9e26defd
-0, 960, 960, 1, 9548, 0x1a6cfb21
-0, 970, 970, 1, 9756, 0x0c547a64
-0, 980, 980, 1, 9884, 0x67db7d02
-0, 990, 990, 1, 9960, 0x3901d566
-0, 1000, 1000, 1, 10020, 0x45cd0035
-0, 1010, 1010, 1, 10107, 0x071d10de
-0, 1020, 1020, 1, 10268, 0x0d1f723e
-0, 1030, 1030, 1, 10409, 0xab71b500
-0, 1040, 1040, 1, 10512, 0xf415fc0d
-0, 1050, 1050, 1, 10667, 0xadd43de6
-0, 1060, 1060, 1, 10789, 0xaabcb5ba
-0, 1070, 1070, 1, 10807, 0x578564f1
-0, 1080, 1080, 1, 11051, 0x89e6bc1c
-0, 1090, 1090, 1, 11121, 0x68611ce7
-0, 1100, 1100, 1, 11243, 0xc2293d04
-0, 1110, 1110, 1, 11412, 0x430e92f4
-0, 1120, 1120, 1, 11446, 0x7da6be3a
-0, 1130, 1130, 1, 11592, 0x02d51db6
-0, 1140, 1140, 1, 11666, 0x78590e6c
-0, 1150, 1150, 1, 11767, 0xfdf54b91
-0, 1160, 1160, 1, 11805, 0x96eeb115
-0, 1170, 1170, 1, 11878, 0x387f9de3
-0, 1180, 1180, 1, 11980, 0xd93cbaca
-0, 1190, 1190, 1, 12065, 0xa504c7d1
-0, 1200, 1200, 1, 12142, 0xe9660a75
-0, 1210, 1210, 1, 12294, 0xd8627ea2
-0, 1220, 1220, 1, 12358, 0xf7ab4df0
-0, 1230, 1230, 1, 12415, 0xcf1a4811
-0, 1240, 1240, 1, 12484, 0x0c59905f
-0, 1250, 1250, 1, 12637, 0x220c0c94
-0, 1260, 1260, 1, 12705, 0xef421ab5
-0, 1270, 1270, 1, 12884, 0x3def62ad
-0, 1280, 1280, 1, 12934, 0xb469cd56
-0, 1290, 1290, 1, 13018, 0x4c66e202
-0, 1300, 1300, 1, 13120, 0x63e2d409
-0, 1310, 1310, 1, 13379, 0x30fc473b
-0, 1320, 1320, 1, 13442, 0x31f5a18d
-0, 1330, 1330, 1, 13496, 0x1374a646
-0, 1340, 1340, 1, 13638, 0x65a9cd1e
-0, 1350, 1350, 1, 13672, 0x55f0a47a
-0, 1360, 1360, 1, 13780, 0x5b931209
-0, 1370, 1370, 1, 14041, 0x65aa5a1c
-0, 1380, 1380, 1, 14177, 0x0982ccc2
-0, 1390, 1390, 1, 14386, 0x8dcc0c8d
-0, 1400, 1400, 1, 14464, 0x97f961d1
-0, 1410, 1410, 1, 14503, 0x337b31e0
-0, 1420, 1420, 1, 14620, 0x7be29621
-0, 1430, 1430, 1, 14786, 0x721ae651
-0, 1440, 1440, 1, 14954, 0x9332ecfd
-0, 1450, 1450, 1, 15113, 0x5e9796e0
-0, 1460, 1460, 1, 15237, 0x23a2b15d
-0, 1470, 1470, 1, 15258, 0x7af1b15a
-0, 1480, 1480, 1, 15401, 0x4c87e5ea
-0, 1490, 1490, 1, 15485, 0xf434d51b
-0, 1500, 1500, 1, 15590, 0xf3438a5e
-0, 1510, 1510, 1, 15639, 0x3c1191ba
-0, 1520, 1520, 1, 15710, 0x3f8fb09e
-0, 1530, 1530, 1, 15845, 0xef17e0d0
-0, 1540, 1540, 1, 15819, 0x8e410489
-0, 1550, 1550, 1, 15934, 0x1dc30805
-0, 1560, 1560, 1, 16086, 0xe8668b2b
-0, 1570, 1570, 1, 16134, 0xa870a1ad
-0, 1580, 1580, 1, 16235, 0xbc6cb3ff
-0, 1590, 1590, 1, 16255, 0x2ebb95fe
-0, 1600, 1600, 1, 16553, 0xe6302d8a
-0, 1610, 1610, 1, 16670, 0xd0334b51
-0, 1620, 1620, 1, 16849, 0x19c680c3
-0, 1630, 1630, 1, 16961, 0x830c19d7
-0, 1640, 1640, 1, 16964, 0x11682a72
-0, 1650, 1650, 1, 17178, 0x394b922c
-0, 1660, 1660, 1, 17233, 0x39326f15
-0, 1670, 1670, 1, 17377, 0xef8a7825
-0, 1680, 1680, 1, 17479, 0x08a48972
-0, 1690, 1690, 1, 17498, 0x2b8a7493
-0, 1700, 1700, 1, 17620, 0xd2131afa
-0, 1710, 1710, 1, 17560, 0xf7b16916
-0, 1720, 1720, 1, 17648, 0xc5fd212d
+0, 10, 10, 1, 213, 0x4f554bd7, S=1, 1024, 0xb6327c81
+0, 20, 20, 1, 130, 0xfe2d2987, 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, 517, 0xefb5d826, S=1, 1024, 0x9e4a7c81
+0, 70, 70, 1, 535, 0x326ce62a, S=1, 1024, 0x9e4a7c81
+0, 80, 80, 1, 437, 0x7c5db7bf, S=1, 1024, 0xb6327c81
+0, 90, 90, 1, 923, 0x9fb1a37c, S=1, 1024, 0xb6327c81
+0, 100, 100, 1, 693, 0xa7b549a4, 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, 1275, 0xf0f438db, S=1, 1024, 0xb6327c81
+0, 160, 160, 1, 1474, 0xb41c97ee, S=1, 1024, 0xb6327c81
+0, 170, 170, 1, 1783, 0x86164ae5, 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, 1717, 0x1d251ebd, S=1, 1024, 0xde0a7c81
+0, 240, 240, 1, 1900, 0x2ea879d1, S=1, 1024, 0xde0a7c81
+0, 250, 250, 1, 1806, 0xb071522f, 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, 2894, 0x62d9484c, 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, 3599, 0xd65f7633, S=1, 1024, 0xde0a7c81
+0, 350, 350, 1, 3698, 0x0b9e9fe2, S=1, 1024, 0xde0a7c81
+0, 360, 360, 1, 3814, 0x1869d3f4, S=1, 1024, 0xde0a7c81
+0, 370, 370, 1, 3626, 0x9be87da6, 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, 3093, 0x94cc8552, S=1, 1024, 0xde0a7c81
+0, 410, 410, 1, 3456, 0x01432c82, S=1, 1024, 0xde0a7c81
+0, 420, 420, 1, 4107, 0x9bea5c65, S=1, 1024, 0xde0a7c81
+0, 430, 430, 1, 4216, 0x23875ba3, S=1, 1024, 0xde0a7c81
+0, 440, 440, 1, 3613, 0xd0684d83, S=1, 1024, 0xde0a7c81
+0, 450, 450, 1, 3909, 0x1995e691, S=1, 1024, 0xde0a7c81
+0, 460, 460, 1, 4460, 0x791ce33c, S=1, 1024, 0xde0a7c81
+0, 470, 470, 1, 4592, 0x04ed2dd0, S=1, 1024, 0xde0a7c81
+0, 480, 480, 1, 4821, 0xbff89882, S=1, 1024, 0xde0a7c81
+0, 490, 490, 1, 5397, 0xf483c31d, S=1, 1024, 0xde0a7c81
+0, 500, 500, 1, 5266, 0x21c695aa, S=1, 1024, 0xde0a7c81
+0, 510, 510, 1, 5415, 0x0efce3ec, 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, 7595, 0x0ba1e430, 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, 11482, 0x6521f3c4, 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, 11927, 0x8135c9a6, S=1, 1024, 0xde0a7c81
+0, 1070, 1070, 1, 11932, 0x722abcbe, S=1, 1024, 0xde0a7c81
+0, 1080, 1080, 1, 12280, 0x9cc46f52, 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, 12667, 0x31c94f78, S=1, 1024, 0xde0a7c81
+0, 1130, 1130, 1, 12957, 0x4da59f8c, S=1, 1024, 0xde0a7c81
+0, 1140, 1140, 1, 13053, 0x9a63df59, 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, 13197, 0xd32858d3, 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, 17396, 0x02ec1121, S=1, 1024, 0xde0a7c81
+0, 1490, 1490, 1, 17430, 0xdb5cf2d2, 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
diff --git a/tests/ref/fate/gifenc-bgr8 b/tests/ref/fate/gifenc-bgr8
index 5c8377a..040c233 100644
--- a/tests/ref/fate/gifenc-bgr8
+++ b/tests/ref/fate/gifenc-bgr8
@@ -1,174 +1,174 @@
#tb 0: 1/100
0, 0, 0, 1, 552, 0x271a2dd3
-0, 10, 10, 1, 296, 0x87e9926d
-0, 20, 20, 1, 457, 0x4bb9dc1a
-0, 30, 30, 1, 561, 0x11661d1b
-0, 40, 40, 1, 736, 0xfbfa6dc1
-0, 50, 50, 1, 879, 0xc46dc61b
-0, 60, 60, 1, 988, 0x07fcf5e1
-0, 70, 70, 1, 1034, 0x3d1d16a7
-0, 80, 80, 1, 1266, 0x969583ba
-0, 90, 90, 1, 1262, 0x2769771f
-0, 100, 100, 1, 179, 0x3a27517c
-0, 110, 110, 1, 1650, 0xa0c341c0
-0, 120, 120, 1, 1789, 0xb3649a49
-0, 130, 130, 1, 1731, 0x17fb7671
-0, 140, 140, 1, 1947, 0xc61ef1ec
-0, 150, 150, 1, 2015, 0x9f93f9ec
-0, 160, 160, 1, 2256, 0xfbf1854a
-0, 170, 170, 1, 2420, 0xfd40d5d0
-0, 180, 180, 1, 2504, 0xbcec0335
-0, 190, 190, 1, 2604, 0x522b0ea9
-0, 200, 200, 1, 2805, 0x752a995a
-0, 210, 210, 1, 2876, 0xb78ba92e
-0, 220, 220, 1, 2980, 0xae84cf06
-0, 230, 230, 1, 3096, 0xe7962222
-0, 240, 240, 1, 3210, 0x84392f81
-0, 250, 250, 1, 3299, 0xe205816c
-0, 260, 260, 1, 3396, 0xf8e9b993
-0, 270, 270, 1, 3496, 0x85a7cbe0
-0, 280, 280, 1, 3703, 0xfd2737d5
-0, 290, 290, 1, 3878, 0x66ed9693
-0, 300, 300, 1, 4095, 0x83c1032c
-0, 310, 310, 1, 4152, 0xe6640ad9
-0, 320, 320, 1, 4342, 0x56f0a1f6
-0, 330, 330, 1, 4514, 0x72e4dfaf
-0, 340, 340, 1, 4609, 0xd5cd3059
-0, 350, 350, 1, 4781, 0xdf5eaf33
-0, 360, 360, 1, 4754, 0x688796ec
-0, 370, 370, 1, 5011, 0x2ed6175c
-0, 380, 380, 1, 5094, 0xbfd950d1
-0, 390, 390, 1, 5207, 0xf085adcd
-0, 400, 400, 1, 2346, 0x3136d807
-0, 410, 410, 1, 1451, 0x5bfbe908
-0, 420, 420, 1, 272, 0xa6627f67
-0, 430, 430, 1, 1422, 0xc1d6d691
-0, 440, 440, 1, 314, 0xfbf2951f
-0, 450, 450, 1, 188, 0x4ee353db
-0, 460, 460, 1, 5429, 0x5a04008c
-0, 470, 470, 1, 6017, 0x7af85b10
-0, 480, 480, 1, 6120, 0x744f9147
-0, 490, 490, 1, 6350, 0x4385ea48
-0, 500, 500, 1, 6573, 0xd3a47d1e
-0, 510, 510, 1, 6640, 0xb93d6b6a
-0, 520, 520, 1, 6741, 0x9341b1d7
-0, 530, 530, 1, 6976, 0x92a2ff68
-0, 540, 540, 1, 7081, 0x49d2542f
-0, 550, 550, 1, 7190, 0x4a1b7c77
-0, 560, 560, 1, 7303, 0x0677a725
-0, 570, 570, 1, 7107, 0xaa7b2eb0
-0, 580, 580, 1, 7401, 0xe9c4e181
-0, 590, 590, 1, 7529, 0x7b071929
-0, 600, 600, 1, 7642, 0xb4a551b1
-0, 610, 610, 1, 7702, 0x46717848
-0, 620, 620, 1, 7809, 0xcf6f663c
-0, 630, 630, 1, 7846, 0x10b0c25a
-0, 640, 640, 1, 7924, 0x3f86d689
-0, 650, 650, 1, 8189, 0x3a505d27
-0, 660, 660, 1, 8358, 0x2918901e
-0, 670, 670, 1, 8457, 0x6228be94
-0, 680, 680, 1, 8448, 0x30a9cd2d
-0, 690, 690, 1, 8685, 0xd28830fc
-0, 700, 700, 1, 8703, 0x68ad4d0a
-0, 710, 710, 1, 8782, 0x4a6b6e98
-0, 720, 720, 1, 8839, 0x20358ebb
-0, 730, 730, 1, 8453, 0x500fb863
-0, 740, 740, 1, 8641, 0x0fcb1f64
-0, 750, 750, 1, 9203, 0x9cfd2739
-0, 760, 760, 1, 9191, 0x25bc41e0
-0, 770, 770, 1, 9259, 0x05985a48
-0, 780, 780, 1, 8905, 0xc6b798e4
-0, 790, 790, 1, 9171, 0x5d9afefa
-0, 800, 800, 1, 9857, 0xd9d24f4a
-0, 810, 810, 1, 9989, 0xda479e57
-0, 820, 820, 1, 10005, 0xe616d606
-0, 830, 830, 1, 9614, 0xe8b10d58
-0, 840, 840, 1, 9777, 0x432b620a
-0, 850, 850, 1, 10364, 0xab9a9cf9
-0, 860, 860, 1, 10496, 0x7374a9c8
-0, 870, 870, 1, 10541, 0x08b4e722
-0, 880, 880, 1, 10185, 0x55b30955
-0, 890, 890, 1, 10309, 0x20a92e4c
-0, 900, 900, 1, 10947, 0xdcca628d
-0, 910, 910, 1, 11045, 0xbbc2d1b9
-0, 920, 920, 1, 11054, 0x809c1063
-0, 930, 930, 1, 10637, 0x76b10ce2
-0, 940, 940, 1, 10673, 0xebfbe18a
-0, 950, 950, 1, 11495, 0xa2759ffe
-0, 960, 960, 1, 11710, 0xc97e2b99
-0, 970, 970, 1, 11853, 0x93f669f5
-0, 980, 980, 1, 11633, 0x3c260277
-0, 990, 990, 1, 12088, 0x8416bdc8
-0, 1000, 1000, 1, 12214, 0x2d67d04f
-0, 1010, 1010, 1, 12364, 0xedc26a23
-0, 1020, 1020, 1, 12390, 0x09442bdc
-0, 1030, 1030, 1, 12634, 0x3974df0b
-0, 1040, 1040, 1, 12783, 0x4510e5dd
-0, 1050, 1050, 1, 12935, 0x3aa8ab83
-0, 1060, 1060, 1, 13151, 0x6dcfcea8
-0, 1070, 1070, 1, 13297, 0x42ff3c3b
-0, 1080, 1080, 1, 13398, 0xf8bd861f
-0, 1090, 1090, 1, 13593, 0x8a981279
-0, 1100, 1100, 1, 13650, 0xdf4dfc45
-0, 1110, 1110, 1, 13861, 0x529b2d5b
-0, 1120, 1120, 1, 14030, 0x23066a5b
-0, 1130, 1130, 1, 14304, 0x0f6cfe7b
-0, 1140, 1140, 1, 14439, 0x96347009
-0, 1150, 1150, 1, 14572, 0x656096eb
-0, 1160, 1160, 1, 14705, 0xcbf10aab
-0, 1170, 1170, 1, 14815, 0xe0a025dd
-0, 1180, 1180, 1, 14915, 0x5337414c
-0, 1190, 1190, 1, 15011, 0xc6aa9af2
-0, 1200, 1200, 1, 15166, 0x0ecdcfde
-0, 1210, 1210, 1, 15348, 0xda6107b3
-0, 1220, 1220, 1, 15385, 0x4e21ed9c
-0, 1230, 1230, 1, 15535, 0xf25b94bf
-0, 1240, 1240, 1, 15692, 0x22c59875
-0, 1250, 1250, 1, 15707, 0x60c1d208
-0, 1260, 1260, 1, 15942, 0xb3d41b2c
-0, 1270, 1270, 1, 16080, 0xc7e627bf
-0, 1280, 1280, 1, 16187, 0x63656fc4
-0, 1290, 1290, 1, 16276, 0x10d3cbba
-0, 1300, 1300, 1, 16385, 0x28aeffa2
-0, 1310, 1310, 1, 16607, 0x7d652b51
-0, 1320, 1320, 1, 16708, 0xa18cda61
-0, 1330, 1330, 1, 16834, 0xd00d3612
-0, 1340, 1340, 1, 16908, 0xab6b55bc
-0, 1350, 1350, 1, 17031, 0x15d03798
-0, 1360, 1360, 1, 17162, 0xa1246800
-0, 1370, 1370, 1, 17433, 0x11fc5391
-0, 1380, 1380, 1, 17641, 0xf01069f3
-0, 1390, 1390, 1, 17918, 0x1df6d8f4
-0, 1400, 1400, 1, 18022, 0x29070e7a
-0, 1410, 1410, 1, 18123, 0x0b202ab9
-0, 1420, 1420, 1, 18227, 0xc2166417
-0, 1430, 1430, 1, 18290, 0x9274864d
-0, 1440, 1440, 1, 18455, 0xb6beb7d1
-0, 1450, 1450, 1, 18733, 0xe1da7dd3
-0, 1460, 1460, 1, 18798, 0x2688b183
-0, 1470, 1470, 1, 18924, 0xd20fd52b
-0, 1480, 1480, 1, 18962, 0x137ddd75
-0, 1490, 1490, 1, 19148, 0xa52f4385
-0, 1500, 1500, 1, 19368, 0x4602b2c5
-0, 1510, 1510, 1, 19442, 0x281cc33e
-0, 1520, 1520, 1, 19543, 0x31bd0758
-0, 1530, 1530, 1, 19609, 0xc7680529
-0, 1540, 1540, 1, 19710, 0xd0303592
-0, 1550, 1550, 1, 19829, 0x013ebd6f
-0, 1560, 1560, 1, 19949, 0x49304a4f
-0, 1570, 1570, 1, 20048, 0xfc31cede
-0, 1580, 1580, 1, 20144, 0xbf3a520c
-0, 1590, 1590, 1, 20207, 0x82d1692d
-0, 1600, 1600, 1, 20362, 0x09876636
-0, 1610, 1610, 1, 20575, 0x6f19e529
-0, 1620, 1620, 1, 20687, 0x27c833bb
-0, 1630, 1630, 1, 20765, 0x40a49321
-0, 1640, 1640, 1, 20877, 0x1f8c2519
-0, 1650, 1650, 1, 21163, 0x23aff601
-0, 1660, 1660, 1, 21241, 0x080c4974
-0, 1670, 1670, 1, 21347, 0xa22a49c1
-0, 1680, 1680, 1, 21443, 0xf423945f
-0, 1690, 1690, 1, 21612, 0x29b0e092
-0, 1700, 1700, 1, 21675, 0x7971c7f7
-0, 1710, 1710, 1, 21820, 0x2c3c1bfe
-0, 1720, 1720, 1, 21938, 0x6070d21e
+0, 10, 10, 1, 297, 0x90168a95, S=1, 1024, 0xf351799f
+0, 20, 20, 1, 437, 0xc31bce1a, 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, 613, 0x47b82005, 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, 2247, 0xdf2725b0, 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, 2686, 0x8e0b00e5, 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, 2981, 0x050d7ad4, S=1, 1024, 0xf351799f
+0, 250, 250, 1, 3101, 0xbcc89bec, S=1, 1024, 0xf351799f
+0, 260, 260, 1, 3252, 0xdb80f3f9, S=1, 1024, 0xf351799f
+0, 270, 270, 1, 3329, 0xe4d42430, S=1, 1024, 0xf351799f
+0, 280, 280, 1, 3571, 0x6c7d8a9f, S=1, 1024, 0xf351799f
+0, 290, 290, 1, 3806, 0x4255f9f2, S=1, 1024, 0xf351799f
+0, 300, 300, 1, 2749, 0x64681c32, 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, 4294, 0xeb280b37, 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, 2280, 0x1a394d2f, S=1, 1024, 0xf351799f
+0, 370, 370, 1, 3632, 0x66ad992e, S=1, 1024, 0xf351799f
+0, 380, 380, 1, 3552, 0x23697490, S=1, 1024, 0xf351799f
+0, 390, 390, 1, 3689, 0x868adbb7, S=1, 1024, 0xf351799f
+0, 400, 400, 1, 1558, 0x7a13e53b, S=1, 1024, 0xf351799f
+0, 410, 410, 1, 939, 0xe565cba1, S=1, 1024, 0xf351799f
+0, 420, 420, 1, 273, 0x3687799b, S=1, 1024, 0xf351799f
+0, 430, 430, 1, 929, 0x788ab0c3, 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, 4894, 0x7315406b, S=1, 1024, 0xf351799f
+0, 480, 480, 1, 4927, 0x092e19d6, S=1, 1024, 0xf351799f
+0, 490, 490, 1, 4941, 0x58a357da, S=1, 1024, 0xf351799f
+0, 500, 500, 1, 4153, 0x7582ac32, S=1, 1024, 0xf351799f
+0, 510, 510, 1, 4677, 0xeaa3c04f, S=1, 1024, 0xf351799f
+0, 520, 520, 1, 4740, 0x636bb580, S=1, 1024, 0xf351799f
+0, 530, 530, 1, 4981, 0x31d556d4, 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, 4288, 0xbc3af716, 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, 4644, 0x7cc08935, 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, 5216, 0x65f09bd1, S=1, 1024, 0xf351799f
+0, 650, 650, 1, 5394, 0x1293ff65, S=1, 1024, 0xf351799f
+0, 660, 660, 1, 5219, 0x9aa2dcc4, 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, 7540, 0xdc032153, 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, 7617, 0x574430d4, 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, 11226, 0x74889117, 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, 18390, 0xb8319208, 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, 23164, 0x755347ac, 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
diff --git a/tests/ref/fate/gifenc-gray b/tests/ref/fate/gifenc-gray
index c7e90d1..404237d 100644
--- a/tests/ref/fate/gifenc-gray
+++ b/tests/ref/fate/gifenc-gray
@@ -1,174 +1,174 @@
#tb 0: 1/100
0, 0, 0, 1, 568, 0xe1d43487
-0, 10, 10, 1, 142, 0x92d43281
-0, 20, 20, 1, 130, 0x29383852
-0, 30, 30, 1, 129, 0x036732fa
-0, 40, 40, 1, 145, 0xcbc036bb
-0, 50, 50, 1, 135, 0x6e4536d1
-0, 60, 60, 1, 127, 0xe73f2f55
-0, 70, 70, 1, 119, 0x7912307f
-0, 80, 80, 1, 132, 0xce58343c
-0, 90, 90, 1, 126, 0x1fcd2b9c
-0, 100, 100, 1, 127, 0x6c293369
-0, 110, 110, 1, 126, 0x19162e3f
-0, 120, 120, 1, 119, 0x06602dec
-0, 130, 130, 1, 118, 0x8b083037
-0, 140, 140, 1, 115, 0xa8372c6d
-0, 150, 150, 1, 114, 0x8d0f2dbd
-0, 160, 160, 1, 129, 0xb5ab318d
-0, 170, 170, 1, 129, 0x278e34bd
-0, 180, 180, 1, 119, 0x408e3131
-0, 190, 190, 1, 121, 0x069a2c25
-0, 200, 200, 1, 127, 0x24793635
-0, 210, 210, 1, 110, 0xe30a29cc
-0, 220, 220, 1, 116, 0xf7b827f0
-0, 230, 230, 1, 118, 0xf5f62ff6
-0, 240, 240, 1, 115, 0xb7c92c27
-0, 250, 250, 1, 114, 0x0a642b7e
-0, 260, 260, 1, 114, 0x07b32c7c
-0, 270, 270, 1, 118, 0x1f4432b8
-0, 280, 280, 1, 144, 0xa81e3c75
-0, 290, 290, 1, 121, 0xacb828d6
-0, 300, 300, 1, 148, 0xb245426a
-0, 310, 310, 1, 124, 0x3d173009
-0, 320, 320, 1, 151, 0xa57c443d
-0, 330, 330, 1, 121, 0x93da2d00
-0, 340, 340, 1, 124, 0x1dd02f53
-0, 350, 350, 1, 117, 0xb0942d05
-0, 360, 360, 1, 117, 0xb5af292b
-0, 370, 370, 1, 116, 0x731a30ff
-0, 380, 380, 1, 123, 0x16342dde
-0, 390, 390, 1, 117, 0xef9e2f92
-0, 400, 400, 1, 110, 0x646e2a4a
-0, 410, 410, 1, 110, 0xe44f2be1
-0, 420, 420, 1, 108, 0x58f22c11
-0, 430, 430, 1, 112, 0x2c702d3e
-0, 440, 440, 1, 111, 0x7b412ab9
-0, 450, 450, 1, 112, 0xe95d2dfb
-0, 460, 460, 1, 109, 0x2baf2bde
-0, 470, 470, 1, 114, 0x3a772c6a
-0, 480, 480, 1, 110, 0xfe702831
-0, 490, 490, 1, 125, 0xa31f344b
-0, 500, 500, 1, 119, 0xbc31318d
-0, 510, 510, 1, 115, 0xc7b62b8f
-0, 520, 520, 1, 118, 0x7cf22dcb
-0, 530, 530, 1, 119, 0xe16c2f96
-0, 540, 540, 1, 119, 0x86d43604
-0, 550, 550, 1, 109, 0x22b72af1
-0, 560, 560, 1, 103, 0x12982731
-0, 570, 570, 1, 114, 0x6ef22e10
-0, 580, 580, 1, 109, 0x621b26dd
-0, 590, 590, 1, 110, 0xfe062836
-0, 600, 600, 1, 112, 0x4a8e2ce3
-0, 610, 610, 1, 111, 0xa7ae2865
-0, 620, 620, 1, 103, 0x80bc2b33
-0, 630, 630, 1, 114, 0xc2f92f3f
-0, 640, 640, 1, 108, 0x81332cdf
-0, 650, 650, 1, 121, 0x0d1133ad
-0, 660, 660, 1, 136, 0x2c0c3481
-0, 670, 670, 1, 108, 0x55222d1f
-0, 680, 680, 1, 125, 0x9cc536df
-0, 690, 690, 1, 114, 0x04602ae4
-0, 700, 700, 1, 99, 0xd58f291d
-0, 710, 710, 1, 98, 0xcb8f2807
-0, 720, 720, 1, 109, 0x7f292c9b
-0, 730, 730, 1, 106, 0x3daa297f
-0, 740, 740, 1, 100, 0xb7032b73
-0, 750, 750, 1, 88, 0xd56b218e
-0, 760, 760, 1, 93, 0xdcfd2353
-0, 770, 770, 1, 112, 0x35322b03
-0, 780, 780, 1, 112, 0x7c2b2d67
-0, 790, 790, 1, 204, 0xd02c5bd9
-0, 800, 800, 1, 204, 0x82055f0a
-0, 810, 810, 1, 115, 0x76472e9b
-0, 820, 820, 1, 110, 0x22b12abc
-0, 830, 830, 1, 116, 0x50a0318e
-0, 840, 840, 1, 115, 0x10632f57
-0, 850, 850, 1, 120, 0x9c5631e3
-0, 860, 860, 1, 114, 0x0e192ed8
-0, 870, 870, 1, 109, 0xdedb2a99
-0, 880, 880, 1, 105, 0x639c2cf5
-0, 890, 890, 1, 117, 0x4aff2afa
-0, 900, 900, 1, 103, 0x44842781
-0, 910, 910, 1, 147, 0x22493e48
-0, 920, 920, 1, 117, 0x3cb02d86
-0, 930, 930, 1, 111, 0x813d2e1f
-0, 940, 940, 1, 83, 0xb6961b02
-0, 950, 950, 1, 159, 0x5f2e43d0
-0, 960, 960, 1, 126, 0x56d42d1d
-0, 970, 970, 1, 164, 0xea6c464d
-0, 980, 980, 1, 133, 0x21113425
-0, 990, 990, 1, 125, 0xfc6e322e
-0, 1000, 1000, 1, 116, 0x226830da
-0, 1010, 1010, 1, 130, 0xa71a317d
-0, 1020, 1020, 1, 127, 0x5b5433af
-0, 1030, 1030, 1, 172, 0x0ed64b21
-0, 1040, 1040, 1, 142, 0x9733380f
-0, 1050, 1050, 1, 184, 0x358b533c
-0, 1060, 1060, 1, 155, 0x5304441c
-0, 1070, 1070, 1, 139, 0x15743a98
-0, 1080, 1080, 1, 129, 0xc5782f81
-0, 1090, 1090, 1, 144, 0x1ee637c8
-0, 1100, 1100, 1, 133, 0x69403297
-0, 1110, 1110, 1, 192, 0x128553a4
-0, 1120, 1120, 1, 159, 0xea783f5a
-0, 1130, 1130, 1, 201, 0xc04252a1
-0, 1140, 1140, 1, 161, 0xb56b44f6
-0, 1150, 1150, 1, 136, 0x402130e8
-0, 1160, 1160, 1, 117, 0x694c3490
-0, 1170, 1170, 1, 151, 0x96803b5d
-0, 1180, 1180, 1, 135, 0x9a9b399f
-0, 1190, 1190, 1, 147, 0x7e83348d
-0, 1200, 1200, 1, 135, 0x932e3720
-0, 1210, 1210, 1, 183, 0x822946e2
-0, 1220, 1220, 1, 116, 0x93652e25
-0, 1230, 1230, 1, 117, 0x77063135
-0, 1240, 1240, 1, 109, 0x12752965
-0, 1250, 1250, 1, 111, 0x8fd62b54
-0, 1260, 1260, 1, 188, 0x6c1850e5
-0, 1270, 1270, 1, 121, 0x15003168
-0, 1280, 1280, 1, 115, 0x93482f77
-0, 1290, 1290, 1, 120, 0x36552de5
-0, 1300, 1300, 1, 117, 0x74472f78
-0, 1310, 1310, 1, 188, 0xadac5400
-0, 1320, 1320, 1, 125, 0xccb83070
-0, 1330, 1330, 1, 118, 0x606e2d29
-0, 1340, 1340, 1, 130, 0x77eb3516
-0, 1350, 1350, 1, 120, 0x500f3045
-0, 1360, 1360, 1, 164, 0x729244f4
-0, 1370, 1370, 1, 234, 0xff2969ee
-0, 1380, 1380, 1, 207, 0xf9366155
-0, 1390, 1390, 1, 210, 0x31555d58
-0, 1400, 1400, 1, 118, 0x7f9a32bd
-0, 1410, 1410, 1, 120, 0xfba63099
-0, 1420, 1420, 1, 114, 0xcb382d23
-0, 1430, 1430, 1, 115, 0x10f32bad
-0, 1440, 1440, 1, 206, 0x405e630e
-0, 1450, 1450, 1, 216, 0xf6e6635f
-0, 1460, 1460, 1, 123, 0x43aa33b8
-0, 1470, 1470, 1, 121, 0x780d3018
-0, 1480, 1480, 1, 121, 0xdba92f73
-0, 1490, 1490, 1, 118, 0x35b32e26
-0, 1500, 1500, 1, 116, 0x79ff2c29
-0, 1510, 1510, 1, 110, 0xb0552ba1
-0, 1520, 1520, 1, 117, 0x08f62fd4
-0, 1530, 1530, 1, 112, 0x0dac2e9d
-0, 1540, 1540, 1, 142, 0x092138a5
-0, 1550, 1550, 1, 119, 0x752a2fc6
-0, 1560, 1560, 1, 105, 0xec5824cd
-0, 1570, 1570, 1, 115, 0xea282f22
-0, 1580, 1580, 1, 108, 0x60b72ece
-0, 1590, 1590, 1, 139, 0x6ec63b92
-0, 1600, 1600, 1, 216, 0x2c906371
-0, 1610, 1610, 1, 226, 0x77b1687d
-0, 1620, 1620, 1, 155, 0x8180455a
-0, 1630, 1630, 1, 121, 0x66092c73
-0, 1640, 1640, 1, 123, 0xf9f22cb9
-0, 1650, 1650, 1, 220, 0x65525fcb
-0, 1660, 1660, 1, 153, 0x4b9f414c
-0, 1670, 1670, 1, 120, 0x072e3379
-0, 1680, 1680, 1, 109, 0xe46a2b38
-0, 1690, 1690, 1, 118, 0xf0f12d62
-0, 1700, 1700, 1, 117, 0xcb9e2cbb
-0, 1710, 1710, 1, 137, 0x1ae83718
-0, 1720, 1720, 1, 161, 0x87364667
+0, 10, 10, 1, 142, 0x92d43281, S=1, 1024, 0xc2f67c9f
+0, 20, 20, 1, 130, 0x29383852, S=1, 1024, 0xc2f67c9f
+0, 30, 30, 1, 129, 0x036732fa, S=1, 1024, 0xc2f67c9f
+0, 40, 40, 1, 145, 0xcbc036bb, S=1, 1024, 0xc2f67c9f
+0, 50, 50, 1, 135, 0x6e4536d1, S=1, 1024, 0xc2f67c9f
+0, 60, 60, 1, 127, 0xe73f2f55, S=1, 1024, 0xc2f67c9f
+0, 70, 70, 1, 119, 0x7912307f, S=1, 1024, 0xc2f67c9f
+0, 80, 80, 1, 132, 0xce58343c, S=1, 1024, 0xc2f67c9f
+0, 90, 90, 1, 126, 0x1fcd2b9c, S=1, 1024, 0xc2f67c9f
+0, 100, 100, 1, 127, 0x6c293369, S=1, 1024, 0xc2f67c9f
+0, 110, 110, 1, 126, 0x19162e3f, S=1, 1024, 0xc2f67c9f
+0, 120, 120, 1, 119, 0x06602dec, S=1, 1024, 0xc2f67c9f
+0, 130, 130, 1, 118, 0x8b083037, S=1, 1024, 0xc2f67c9f
+0, 140, 140, 1, 115, 0xa8372c6d, S=1, 1024, 0xc2f67c9f
+0, 150, 150, 1, 114, 0x8d0f2dbd, S=1, 1024, 0xc2f67c9f
+0, 160, 160, 1, 129, 0xb5ab318d, S=1, 1024, 0xc2f67c9f
+0, 170, 170, 1, 129, 0x278e34bd, S=1, 1024, 0xc2f67c9f
+0, 180, 180, 1, 119, 0x408e3131, S=1, 1024, 0xc2f67c9f
+0, 190, 190, 1, 121, 0x069a2c25, S=1, 1024, 0xc2f67c9f
+0, 200, 200, 1, 127, 0x24793635, S=1, 1024, 0xc2f67c9f
+0, 210, 210, 1, 110, 0xe30a29cc, S=1, 1024, 0xc2f67c9f
+0, 220, 220, 1, 116, 0xf7b827f0, S=1, 1024, 0xc2f67c9f
+0, 230, 230, 1, 118, 0xf5f62ff6, S=1, 1024, 0xc2f67c9f
+0, 240, 240, 1, 115, 0xb7c92c27, S=1, 1024, 0xc2f67c9f
+0, 250, 250, 1, 114, 0x0a642b7e, S=1, 1024, 0xc2f67c9f
+0, 260, 260, 1, 114, 0x07b32c7c, S=1, 1024, 0xc2f67c9f
+0, 270, 270, 1, 118, 0x1f4432b8, S=1, 1024, 0xc2f67c9f
+0, 280, 280, 1, 144, 0xa81e3c75, S=1, 1024, 0xc2f67c9f
+0, 290, 290, 1, 121, 0xacb828d6, S=1, 1024, 0xc2f67c9f
+0, 300, 300, 1, 148, 0xb245426a, S=1, 1024, 0xc2f67c9f
+0, 310, 310, 1, 124, 0x3d173009, S=1, 1024, 0xc2f67c9f
+0, 320, 320, 1, 151, 0xa57c443d, S=1, 1024, 0xc2f67c9f
+0, 330, 330, 1, 121, 0x93da2d00, S=1, 1024, 0xc2f67c9f
+0, 340, 340, 1, 124, 0x1dd02f53, S=1, 1024, 0xc2f67c9f
+0, 350, 350, 1, 117, 0xb0942d05, S=1, 1024, 0xc2f67c9f
+0, 360, 360, 1, 117, 0xb5af292b, S=1, 1024, 0xc2f67c9f
+0, 370, 370, 1, 116, 0x731a30ff, S=1, 1024, 0xc2f67c9f
+0, 380, 380, 1, 123, 0x16342dde, S=1, 1024, 0xc2f67c9f
+0, 390, 390, 1, 117, 0xef9e2f92, S=1, 1024, 0xc2f67c9f
+0, 400, 400, 1, 110, 0x646e2a4a, S=1, 1024, 0xc2f67c9f
+0, 410, 410, 1, 110, 0xe44f2be1, S=1, 1024, 0xc2f67c9f
+0, 420, 420, 1, 108, 0x58f22c11, S=1, 1024, 0xc2f67c9f
+0, 430, 430, 1, 112, 0x2c702d3e, S=1, 1024, 0xc2f67c9f
+0, 440, 440, 1, 111, 0x7b412ab9, S=1, 1024, 0xc2f67c9f
+0, 450, 450, 1, 112, 0xe95d2dfb, S=1, 1024, 0xc2f67c9f
+0, 460, 460, 1, 109, 0x2baf2bde, S=1, 1024, 0xc2f67c9f
+0, 470, 470, 1, 114, 0x3a772c6a, S=1, 1024, 0xc2f67c9f
+0, 480, 480, 1, 110, 0xfe702831, S=1, 1024, 0xc2f67c9f
+0, 490, 490, 1, 125, 0xa31f344b, S=1, 1024, 0xc2f67c9f
+0, 500, 500, 1, 119, 0xbc31318d, S=1, 1024, 0xc2f67c9f
+0, 510, 510, 1, 115, 0xc7b62b8f, S=1, 1024, 0xc2f67c9f
+0, 520, 520, 1, 118, 0x7cf22dcb, S=1, 1024, 0xc2f67c9f
+0, 530, 530, 1, 119, 0xe16c2f96, S=1, 1024, 0xc2f67c9f
+0, 540, 540, 1, 119, 0x86d43604, S=1, 1024, 0xc2f67c9f
+0, 550, 550, 1, 109, 0x22b72af1, S=1, 1024, 0xc2f67c9f
+0, 560, 560, 1, 103, 0x12982731, S=1, 1024, 0xc2f67c9f
+0, 570, 570, 1, 114, 0x6ef22e10, S=1, 1024, 0xc2f67c9f
+0, 580, 580, 1, 109, 0x621b26dd, S=1, 1024, 0xc2f67c9f
+0, 590, 590, 1, 110, 0xfe062836, S=1, 1024, 0xc2f67c9f
+0, 600, 600, 1, 112, 0x4a8e2ce3, S=1, 1024, 0xc2f67c9f
+0, 610, 610, 1, 111, 0xa7ae2865, S=1, 1024, 0xc2f67c9f
+0, 620, 620, 1, 103, 0x80bc2b33, S=1, 1024, 0xc2f67c9f
+0, 630, 630, 1, 114, 0xc2f92f3f, S=1, 1024, 0xc2f67c9f
+0, 640, 640, 1, 108, 0x81332cdf, S=1, 1024, 0xc2f67c9f
+0, 650, 650, 1, 121, 0x0d1133ad, S=1, 1024, 0xc2f67c9f
+0, 660, 660, 1, 136, 0x2c0c3481, S=1, 1024, 0xc2f67c9f
+0, 670, 670, 1, 108, 0x55222d1f, S=1, 1024, 0xc2f67c9f
+0, 680, 680, 1, 125, 0x9cc536df, S=1, 1024, 0xc2f67c9f
+0, 690, 690, 1, 114, 0x04602ae4, S=1, 1024, 0xc2f67c9f
+0, 700, 700, 1, 99, 0xd58f291d, S=1, 1024, 0xc2f67c9f
+0, 710, 710, 1, 98, 0xcb8f2807, S=1, 1024, 0xc2f67c9f
+0, 720, 720, 1, 109, 0x7f292c9b, S=1, 1024, 0xc2f67c9f
+0, 730, 730, 1, 106, 0x3daa297f, S=1, 1024, 0xc2f67c9f
+0, 740, 740, 1, 100, 0xb7032b73, S=1, 1024, 0xc2f67c9f
+0, 750, 750, 1, 88, 0xd56b218e, S=1, 1024, 0xc2f67c9f
+0, 760, 760, 1, 93, 0xdcfd2353, S=1, 1024, 0xc2f67c9f
+0, 770, 770, 1, 112, 0x35322b03, S=1, 1024, 0xc2f67c9f
+0, 780, 780, 1, 112, 0x7c2b2d67, S=1, 1024, 0xc2f67c9f
+0, 790, 790, 1, 204, 0xd02c5bd9, S=1, 1024, 0xc2f67c9f
+0, 800, 800, 1, 204, 0x82055f0a, S=1, 1024, 0xc2f67c9f
+0, 810, 810, 1, 115, 0x76472e9b, S=1, 1024, 0xc2f67c9f
+0, 820, 820, 1, 110, 0x22b12abc, S=1, 1024, 0xc2f67c9f
+0, 830, 830, 1, 116, 0x50a0318e, S=1, 1024, 0xc2f67c9f
+0, 840, 840, 1, 115, 0x10632f57, S=1, 1024, 0xc2f67c9f
+0, 850, 850, 1, 120, 0x9c5631e3, S=1, 1024, 0xc2f67c9f
+0, 860, 860, 1, 114, 0x0e192ed8, S=1, 1024, 0xc2f67c9f
+0, 870, 870, 1, 109, 0xdedb2a99, S=1, 1024, 0xc2f67c9f
+0, 880, 880, 1, 105, 0x639c2cf5, S=1, 1024, 0xc2f67c9f
+0, 890, 890, 1, 117, 0x4aff2afa, S=1, 1024, 0xc2f67c9f
+0, 900, 900, 1, 103, 0x44842781, S=1, 1024, 0xc2f67c9f
+0, 910, 910, 1, 147, 0x22493e48, S=1, 1024, 0xc2f67c9f
+0, 920, 920, 1, 117, 0x3cb02d86, S=1, 1024, 0xc2f67c9f
+0, 930, 930, 1, 111, 0x813d2e1f, S=1, 1024, 0xc2f67c9f
+0, 940, 940, 1, 83, 0xb6961b02, S=1, 1024, 0xc2f67c9f
+0, 950, 950, 1, 159, 0x5f2e43d0, S=1, 1024, 0xc2f67c9f
+0, 960, 960, 1, 126, 0x56d42d1d, S=1, 1024, 0xc2f67c9f
+0, 970, 970, 1, 164, 0xea6c464d, S=1, 1024, 0xc2f67c9f
+0, 980, 980, 1, 133, 0x21113425, S=1, 1024, 0xc2f67c9f
+0, 990, 990, 1, 125, 0xfc6e322e, S=1, 1024, 0xc2f67c9f
+0, 1000, 1000, 1, 116, 0x226830da, S=1, 1024, 0xc2f67c9f
+0, 1010, 1010, 1, 130, 0xa71a317d, S=1, 1024, 0xc2f67c9f
+0, 1020, 1020, 1, 127, 0x5b5433af, S=1, 1024, 0xc2f67c9f
+0, 1030, 1030, 1, 172, 0x0ed64b21, S=1, 1024, 0xc2f67c9f
+0, 1040, 1040, 1, 142, 0x9733380f, S=1, 1024, 0xc2f67c9f
+0, 1050, 1050, 1, 184, 0x358b533c, S=1, 1024, 0xc2f67c9f
+0, 1060, 1060, 1, 155, 0x5304441c, S=1, 1024, 0xc2f67c9f
+0, 1070, 1070, 1, 139, 0x15743a98, S=1, 1024, 0xc2f67c9f
+0, 1080, 1080, 1, 129, 0xc5782f81, S=1, 1024, 0xc2f67c9f
+0, 1090, 1090, 1, 144, 0x1ee637c8, S=1, 1024, 0xc2f67c9f
+0, 1100, 1100, 1, 133, 0x69403297, S=1, 1024, 0xc2f67c9f
+0, 1110, 1110, 1, 192, 0x128553a4, S=1, 1024, 0xc2f67c9f
+0, 1120, 1120, 1, 159, 0xea783f5a, S=1, 1024, 0xc2f67c9f
+0, 1130, 1130, 1, 201, 0xc04252a1, S=1, 1024, 0xc2f67c9f
+0, 1140, 1140, 1, 161, 0xb56b44f6, S=1, 1024, 0xc2f67c9f
+0, 1150, 1150, 1, 136, 0x402130e8, S=1, 1024, 0xc2f67c9f
+0, 1160, 1160, 1, 117, 0x694c3490, S=1, 1024, 0xc2f67c9f
+0, 1170, 1170, 1, 151, 0x96803b5d, S=1, 1024, 0xc2f67c9f
+0, 1180, 1180, 1, 135, 0x9a9b399f, S=1, 1024, 0xc2f67c9f
+0, 1190, 1190, 1, 147, 0x7e83348d, S=1, 1024, 0xc2f67c9f
+0, 1200, 1200, 1, 135, 0x932e3720, S=1, 1024, 0xc2f67c9f
+0, 1210, 1210, 1, 183, 0x822946e2, S=1, 1024, 0xc2f67c9f
+0, 1220, 1220, 1, 116, 0x93652e25, S=1, 1024, 0xc2f67c9f
+0, 1230, 1230, 1, 117, 0x77063135, S=1, 1024, 0xc2f67c9f
+0, 1240, 1240, 1, 109, 0x12752965, S=1, 1024, 0xc2f67c9f
+0, 1250, 1250, 1, 111, 0x8fd62b54, S=1, 1024, 0xc2f67c9f
+0, 1260, 1260, 1, 188, 0x6c1850e5, S=1, 1024, 0xc2f67c9f
+0, 1270, 1270, 1, 121, 0x15003168, S=1, 1024, 0xc2f67c9f
+0, 1280, 1280, 1, 115, 0x93482f77, S=1, 1024, 0xc2f67c9f
+0, 1290, 1290, 1, 120, 0x36552de5, S=1, 1024, 0xc2f67c9f
+0, 1300, 1300, 1, 117, 0x74472f78, S=1, 1024, 0xc2f67c9f
+0, 1310, 1310, 1, 188, 0xadac5400, S=1, 1024, 0xc2f67c9f
+0, 1320, 1320, 1, 125, 0xccb83070, S=1, 1024, 0xc2f67c9f
+0, 1330, 1330, 1, 118, 0x606e2d29, S=1, 1024, 0xc2f67c9f
+0, 1340, 1340, 1, 130, 0x77eb3516, S=1, 1024, 0xc2f67c9f
+0, 1350, 1350, 1, 120, 0x500f3045, S=1, 1024, 0xc2f67c9f
+0, 1360, 1360, 1, 164, 0x729244f4, S=1, 1024, 0xc2f67c9f
+0, 1370, 1370, 1, 234, 0xff2969ee, S=1, 1024, 0xc2f67c9f
+0, 1380, 1380, 1, 207, 0xf9366155, S=1, 1024, 0xc2f67c9f
+0, 1390, 1390, 1, 210, 0x31555d58, S=1, 1024, 0xc2f67c9f
+0, 1400, 1400, 1, 118, 0x7f9a32bd, S=1, 1024, 0xc2f67c9f
+0, 1410, 1410, 1, 120, 0xfba63099, S=1, 1024, 0xc2f67c9f
+0, 1420, 1420, 1, 114, 0xcb382d23, S=1, 1024, 0xc2f67c9f
+0, 1430, 1430, 1, 115, 0x10f32bad, S=1, 1024, 0xc2f67c9f
+0, 1440, 1440, 1, 206, 0x405e630e, S=1, 1024, 0xc2f67c9f
+0, 1450, 1450, 1, 216, 0xf6e6635f, S=1, 1024, 0xc2f67c9f
+0, 1460, 1460, 1, 123, 0x43aa33b8, S=1, 1024, 0xc2f67c9f
+0, 1470, 1470, 1, 121, 0x780d3018, S=1, 1024, 0xc2f67c9f
+0, 1480, 1480, 1, 121, 0xdba92f73, S=1, 1024, 0xc2f67c9f
+0, 1490, 1490, 1, 118, 0x35b32e26, S=1, 1024, 0xc2f67c9f
+0, 1500, 1500, 1, 116, 0x79ff2c29, S=1, 1024, 0xc2f67c9f
+0, 1510, 1510, 1, 110, 0xb0552ba1, S=1, 1024, 0xc2f67c9f
+0, 1520, 1520, 1, 117, 0x08f62fd4, S=1, 1024, 0xc2f67c9f
+0, 1530, 1530, 1, 112, 0x0dac2e9d, S=1, 1024, 0xc2f67c9f
+0, 1540, 1540, 1, 142, 0x092138a5, S=1, 1024, 0xc2f67c9f
+0, 1550, 1550, 1, 119, 0x752a2fc6, S=1, 1024, 0xc2f67c9f
+0, 1560, 1560, 1, 105, 0xec5824cd, S=1, 1024, 0xc2f67c9f
+0, 1570, 1570, 1, 115, 0xea282f22, S=1, 1024, 0xc2f67c9f
+0, 1580, 1580, 1, 108, 0x60b72ece, S=1, 1024, 0xc2f67c9f
+0, 1590, 1590, 1, 139, 0x6ec63b92, S=1, 1024, 0xc2f67c9f
+0, 1600, 1600, 1, 216, 0x2c906371, S=1, 1024, 0xc2f67c9f
+0, 1610, 1610, 1, 226, 0x77b1687d, S=1, 1024, 0xc2f67c9f
+0, 1620, 1620, 1, 155, 0x8180455a, S=1, 1024, 0xc2f67c9f
+0, 1630, 1630, 1, 121, 0x66092c73, S=1, 1024, 0xc2f67c9f
+0, 1640, 1640, 1, 123, 0xf9f22cb9, S=1, 1024, 0xc2f67c9f
+0, 1650, 1650, 1, 220, 0x65525fcb, S=1, 1024, 0xc2f67c9f
+0, 1660, 1660, 1, 153, 0x4b9f414c, S=1, 1024, 0xc2f67c9f
+0, 1670, 1670, 1, 120, 0x072e3379, S=1, 1024, 0xc2f67c9f
+0, 1680, 1680, 1, 109, 0xe46a2b38, S=1, 1024, 0xc2f67c9f
+0, 1690, 1690, 1, 118, 0xf0f12d62, S=1, 1024, 0xc2f67c9f
+0, 1700, 1700, 1, 117, 0xcb9e2cbb, S=1, 1024, 0xc2f67c9f
+0, 1710, 1710, 1, 137, 0x1ae83718, S=1, 1024, 0xc2f67c9f
+0, 1720, 1720, 1, 161, 0x87364667, S=1, 1024, 0xc2f67c9f
diff --git a/tests/ref/fate/gifenc-rgb4_byte b/tests/ref/fate/gifenc-rgb4_byte
index 5b33fb4..8a0595a 100644
--- a/tests/ref/fate/gifenc-rgb4_byte
+++ b/tests/ref/fate/gifenc-rgb4_byte
@@ -1,174 +1,174 @@
#tb 0: 1/100
0, 0, 0, 1, 507, 0xde1f113a
-0, 10, 10, 1, 193, 0x6c2448d4
-0, 20, 20, 1, 130, 0x2c222a38
-0, 30, 30, 1, 395, 0x0c139f90
-0, 40, 40, 1, 431, 0x4093bb5e
-0, 50, 50, 1, 466, 0x307ecb19
-0, 60, 60, 1, 542, 0xe8fae7d2
-0, 70, 70, 1, 597, 0x5b7f0870
-0, 80, 80, 1, 969, 0xefb6cd0c
-0, 90, 90, 1, 1044, 0x6500f3ee
-0, 100, 100, 1, 1185, 0xb3602d63
-0, 110, 110, 1, 1273, 0x84ca6006
-0, 120, 120, 1, 1352, 0x86aa8986
-0, 130, 130, 1, 1428, 0xeb1da79d
-0, 140, 140, 1, 1488, 0x6549cd84
-0, 150, 150, 1, 1428, 0x3c1f8b5e
-0, 160, 160, 1, 1709, 0xd9ab39f1
-0, 170, 170, 1, 1834, 0x9b5865c8
-0, 180, 180, 1, 1933, 0x3e5e8fa8
-0, 190, 190, 1, 1944, 0x67448c6f
-0, 200, 200, 1, 2170, 0xafa60bdd
-0, 210, 210, 1, 2051, 0xe603ba51
-0, 220, 220, 1, 2250, 0x10d74679
-0, 230, 230, 1, 2334, 0xc9224dc4
-0, 240, 240, 1, 2267, 0xa1cc3467
-0, 250, 250, 1, 2447, 0xc1248bb6
-0, 260, 260, 1, 2552, 0x5193b550
-0, 270, 270, 1, 2450, 0x990c82c5
-0, 280, 280, 1, 2893, 0xccf35e77
-0, 290, 290, 1, 2905, 0x64d45dc1
-0, 300, 300, 1, 3158, 0x103d0545
-0, 310, 310, 1, 3276, 0x7dd92526
-0, 320, 320, 1, 3439, 0x1ca57e83
-0, 330, 330, 1, 3481, 0x4cad6dd3
-0, 340, 340, 1, 3641, 0xac67bebf
-0, 350, 350, 1, 3727, 0xc88df63a
-0, 360, 360, 1, 3826, 0x319e3e11
-0, 370, 370, 1, 3933, 0x3d066774
-0, 380, 380, 1, 3944, 0x3d585bb8
-0, 390, 390, 1, 4011, 0x815286ac
-0, 400, 400, 1, 4119, 0xcd9dba95
-0, 410, 410, 1, 4132, 0x52259b57
-0, 420, 420, 1, 4332, 0xa5f037b6
-0, 430, 430, 1, 4400, 0xe03653c6
-0, 440, 440, 1, 4376, 0x52b71156
-0, 450, 450, 1, 4483, 0x8cf671c2
-0, 460, 460, 1, 4623, 0xd632c8a6
-0, 470, 470, 1, 4692, 0xa0b6f5a0
-0, 480, 480, 1, 4752, 0xbd86228c
-0, 490, 490, 1, 4947, 0x943688c9
-0, 500, 500, 1, 5076, 0xc6e6bb8e
-0, 510, 510, 1, 5189, 0x1963f89b
-0, 520, 520, 1, 5287, 0x3ace3762
-0, 530, 530, 1, 5414, 0x0c0eb25b
-0, 540, 540, 1, 5688, 0x62d90e2c
-0, 550, 550, 1, 5806, 0xf2514244
-0, 560, 560, 1, 5905, 0xc69e829a
-0, 570, 570, 1, 6056, 0xdfdfc029
-0, 580, 580, 1, 6126, 0x0071e896
-0, 590, 590, 1, 6203, 0xdc57bc5d
-0, 600, 600, 1, 6313, 0x307a167b
-0, 610, 610, 1, 6416, 0x8e471ea1
-0, 620, 620, 1, 6471, 0x581d5221
-0, 630, 630, 1, 6552, 0x6e957723
-0, 640, 640, 1, 6650, 0xa39cae03
-0, 650, 650, 1, 6811, 0x7680fe85
-0, 660, 660, 1, 6966, 0xbef763ea
-0, 670, 670, 1, 7063, 0x1786757b
-0, 680, 680, 1, 7107, 0xb418701d
-0, 690, 690, 1, 7163, 0x0a996e5e
-0, 700, 700, 1, 7169, 0x94cd92ac
-0, 710, 710, 1, 7255, 0x9e27c671
-0, 720, 720, 1, 7355, 0x5ae7ed7d
-0, 730, 730, 1, 7407, 0x0ad4094a
-0, 740, 740, 1, 7485, 0xf2de3823
-0, 750, 750, 1, 7512, 0x2d5b4942
-0, 760, 760, 1, 7495, 0x039fea5a
-0, 770, 770, 1, 7602, 0x185644b9
-0, 780, 780, 1, 7677, 0x5427764e
-0, 790, 790, 1, 7824, 0x3c1bdfc6
-0, 800, 800, 1, 7975, 0xd97a0dc3
-0, 810, 810, 1, 8093, 0xb9c04303
-0, 820, 820, 1, 8249, 0x8f006a33
-0, 830, 830, 1, 8288, 0xc734a06f
-0, 840, 840, 1, 8418, 0x962ee9ee
-0, 850, 850, 1, 8508, 0x65e71dd7
-0, 860, 860, 1, 8563, 0x67ca31c5
-0, 870, 870, 1, 8676, 0xc87179ea
-0, 880, 880, 1, 8779, 0x80b07aee
-0, 890, 890, 1, 8897, 0xdde8ca43
-0, 900, 900, 1, 9036, 0x1373160a
-0, 910, 910, 1, 9050, 0x2fbb0e01
-0, 920, 920, 1, 9102, 0xe69b2dfc
-0, 930, 930, 1, 9207, 0xd3a53360
-0, 940, 940, 1, 9227, 0x8e10446b
-0, 950, 950, 1, 9480, 0x42aee212
-0, 960, 960, 1, 9548, 0x5ad7fe46
-0, 970, 970, 1, 9756, 0xf8387efc
-0, 980, 980, 1, 9884, 0x09207bce
-0, 990, 990, 1, 9960, 0x1c52d8cc
-0, 1000, 1000, 1, 10020, 0x31860047
-0, 1010, 1010, 1, 10107, 0x2c3b141f
-0, 1020, 1020, 1, 10268, 0xc18a6dd5
-0, 1030, 1030, 1, 10409, 0xc8efb2ca
-0, 1040, 1040, 1, 10512, 0x70460090
-0, 1050, 1050, 1, 10667, 0x0c093e54
-0, 1060, 1060, 1, 10789, 0x12f4b600
-0, 1070, 1070, 1, 10807, 0xdf2666f0
-0, 1080, 1080, 1, 11051, 0x9f2fbe4b
-0, 1090, 1090, 1, 11121, 0xc2221f4f
-0, 1100, 1100, 1, 11243, 0x834538ee
-0, 1110, 1110, 1, 11412, 0x69cf93d0
-0, 1120, 1120, 1, 11446, 0xb3ebc432
-0, 1130, 1130, 1, 11592, 0xe773219d
-0, 1140, 1140, 1, 11666, 0x4b010ef2
-0, 1150, 1150, 1, 11767, 0xfc994ccf
-0, 1160, 1160, 1, 11805, 0x867db358
-0, 1170, 1170, 1, 11878, 0xb1f99cd5
-0, 1180, 1180, 1, 11980, 0x8e7cb628
-0, 1190, 1190, 1, 12065, 0xe8a6c8fb
-0, 1200, 1200, 1, 12142, 0x120f0868
-0, 1210, 1210, 1, 12294, 0x0e2a815f
-0, 1220, 1220, 1, 12358, 0x9ec44f74
-0, 1230, 1230, 1, 12415, 0x57984d3e
-0, 1240, 1240, 1, 12484, 0x60e792ef
-0, 1250, 1250, 1, 12637, 0xda550e79
-0, 1260, 1260, 1, 12705, 0x387416aa
-0, 1270, 1270, 1, 12884, 0x93d565b1
-0, 1280, 1280, 1, 12934, 0xcc3acd63
-0, 1290, 1290, 1, 13018, 0x5d19e50a
-0, 1300, 1300, 1, 13120, 0x1d79d417
-0, 1310, 1310, 1, 13379, 0x68834368
-0, 1320, 1320, 1, 13442, 0x74a5a323
-0, 1330, 1330, 1, 13496, 0x542ba103
-0, 1340, 1340, 1, 13638, 0x4ed3cdb9
-0, 1350, 1350, 1, 13672, 0xb0cea3a7
-0, 1360, 1360, 1, 13780, 0x69cc1216
-0, 1370, 1370, 1, 14041, 0x26a159bb
-0, 1380, 1380, 1, 14177, 0xca8bcad9
-0, 1390, 1390, 1, 14386, 0x1a810f09
-0, 1400, 1400, 1, 14464, 0x89e15cc3
-0, 1410, 1410, 1, 14503, 0x28e335ba
-0, 1420, 1420, 1, 14620, 0x87039b52
-0, 1430, 1430, 1, 14786, 0xf594e3da
-0, 1440, 1440, 1, 14954, 0x27b6efb8
-0, 1450, 1450, 1, 15113, 0x59619847
-0, 1460, 1460, 1, 15237, 0x5533afb0
-0, 1470, 1470, 1, 15258, 0xca92b037
-0, 1480, 1480, 1, 15401, 0xe645ea07
-0, 1490, 1490, 1, 15485, 0x2e3fd45d
-0, 1500, 1500, 1, 15590, 0x839785f6
-0, 1510, 1510, 1, 15639, 0x286b947f
-0, 1520, 1520, 1, 15710, 0xe109b479
-0, 1530, 1530, 1, 15845, 0xb983e576
-0, 1540, 1540, 1, 15819, 0x0f870857
-0, 1550, 1550, 1, 15934, 0x1d4f099f
-0, 1560, 1560, 1, 16086, 0x52118670
-0, 1570, 1570, 1, 16134, 0xbc6e9e1c
-0, 1580, 1580, 1, 16235, 0xd550b479
-0, 1590, 1590, 1, 16255, 0x78a598da
-0, 1600, 1600, 1, 16553, 0x6abd2c56
-0, 1610, 1610, 1, 16670, 0xe7405032
-0, 1620, 1620, 1, 16849, 0xe3cb8052
-0, 1630, 1630, 1, 16961, 0x5bb8144b
-0, 1640, 1640, 1, 16964, 0x412d2c8b
-0, 1650, 1650, 1, 17178, 0x27038f39
-0, 1660, 1660, 1, 17233, 0x5be26ca6
-0, 1670, 1670, 1, 17377, 0x95e37b15
-0, 1680, 1680, 1, 17479, 0x7fd78720
-0, 1690, 1690, 1, 17498, 0x643e7d0a
-0, 1700, 1700, 1, 17620, 0x926b1baa
-0, 1710, 1710, 1, 17560, 0xba04651e
-0, 1720, 1720, 1, 17648, 0xf4391cc1
+0, 10, 10, 1, 213, 0x23c24d3d, S=1, 1024, 0xf7700427
+0, 20, 20, 1, 130, 0x2c222a38, 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, 517, 0x411ad737, S=1, 1024, 0xf3740427
+0, 70, 70, 1, 535, 0x12cde6b7, S=1, 1024, 0xf3740427
+0, 80, 80, 1, 437, 0xec54b945, S=1, 1024, 0x0b6b0427
+0, 90, 90, 1, 923, 0xd2e2a35f, S=1, 1024, 0x0b6b0427
+0, 100, 100, 1, 693, 0x97064a1e, 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, 1275, 0x353c3913, S=1, 1024, 0x0b6b0427
+0, 160, 160, 1, 1474, 0x27399754, S=1, 1024, 0x0b6b0427
+0, 170, 170, 1, 1783, 0x9e024aa6, 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, 1717, 0x4b8d1cb7, S=1, 1024, 0xecb30526
+0, 240, 240, 1, 1900, 0xd7737a09, S=1, 1024, 0xecb30526
+0, 250, 250, 1, 1806, 0xfe1a513f, 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, 2894, 0x47eb484a, 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, 3599, 0x8c2d75d6, S=1, 1024, 0xecb30526
+0, 350, 350, 1, 3698, 0x5a59a042, S=1, 1024, 0xecb30526
+0, 360, 360, 1, 3814, 0x96a8d57e, S=1, 1024, 0xecb30526
+0, 370, 370, 1, 3626, 0xb3e67f8e, 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, 3093, 0xa248861e, S=1, 1024, 0xecb30526
+0, 410, 410, 1, 3456, 0x6d232a96, S=1, 1024, 0xecb30526
+0, 420, 420, 1, 4107, 0xe70d5eba, S=1, 1024, 0xecb30526
+0, 430, 430, 1, 4216, 0xab3258f3, S=1, 1024, 0xecb30526
+0, 440, 440, 1, 3613, 0x667f4ff8, S=1, 1024, 0xecb30526
+0, 450, 450, 1, 3909, 0xa7b0e73d, S=1, 1024, 0xecb30526
+0, 460, 460, 1, 4460, 0x7c8ae0be, S=1, 1024, 0xecb30526
+0, 470, 470, 1, 4592, 0x58112f48, S=1, 1024, 0xecb30526
+0, 480, 480, 1, 4821, 0x678d9b72, S=1, 1024, 0xecb30526
+0, 490, 490, 1, 5397, 0x79eabff3, S=1, 1024, 0xecb30526
+0, 500, 500, 1, 5266, 0xd5ab9630, S=1, 1024, 0xecb30526
+0, 510, 510, 1, 5415, 0x76dce16e, 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, 7595, 0x4ce5e56c, 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, 11482, 0xb938f4f9, 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, 11927, 0x4ab8c884, S=1, 1024, 0xecb30526
+0, 1070, 1070, 1, 11932, 0xecb5bdf7, S=1, 1024, 0xecb30526
+0, 1080, 1080, 1, 12280, 0xa0ea76d4, 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, 12667, 0xc75b5175, S=1, 1024, 0xecb30526
+0, 1130, 1130, 1, 12957, 0x3b839f0d, S=1, 1024, 0xecb30526
+0, 1140, 1140, 1, 13053, 0xd3c9e3da, 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, 13197, 0xa5eb5717, 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, 17396, 0xe8ef15b5, S=1, 1024, 0xecb30526
+0, 1490, 1490, 1, 17430, 0x6f58f8bf, 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
diff --git a/tests/ref/fate/gifenc-rgb8 b/tests/ref/fate/gifenc-rgb8
index 0465cf8..63789b7 100644
--- a/tests/ref/fate/gifenc-rgb8
+++ b/tests/ref/fate/gifenc-rgb8
@@ -1,174 +1,174 @@
#tb 0: 1/100
0, 0, 0, 1, 552, 0x47602c6c
-0, 10, 10, 1, 296, 0xb4fe95a2
-0, 20, 20, 1, 457, 0x094cddbc
-0, 30, 30, 1, 561, 0xde1e1eda
-0, 40, 40, 1, 736, 0x214a727b
-0, 50, 50, 1, 879, 0xcb3ece91
-0, 60, 60, 1, 988, 0x6d73fdd3
-0, 70, 70, 1, 1034, 0xd7561a6f
-0, 80, 80, 1, 1266, 0x42f383c2
-0, 90, 90, 1, 1262, 0xec807046
-0, 100, 100, 1, 179, 0x0690541c
-0, 110, 110, 1, 1650, 0xbe403782
-0, 120, 120, 1, 1789, 0xa8869efa
-0, 130, 130, 1, 1731, 0xbcfa7a2a
-0, 140, 140, 1, 1947, 0x81faf4ae
-0, 150, 150, 1, 2015, 0x9241f8ff
-0, 160, 160, 1, 2256, 0x5979832b
-0, 170, 170, 1, 2420, 0x4fded762
-0, 180, 180, 1, 2504, 0x329d0104
-0, 190, 190, 1, 2604, 0xee6707e3
-0, 200, 200, 1, 2805, 0x80e998e5
-0, 210, 210, 1, 2876, 0x71e3a8c1
-0, 220, 220, 1, 2980, 0x77e5d327
-0, 230, 230, 1, 3096, 0x31dc20bc
-0, 240, 240, 1, 3210, 0x17073031
-0, 250, 250, 1, 3299, 0x79e57fe8
-0, 260, 260, 1, 3396, 0x4f38c1ec
-0, 270, 270, 1, 3496, 0x0a0ccee2
-0, 280, 280, 1, 3703, 0x5de13b37
-0, 290, 290, 1, 3878, 0x201baf7d
-0, 300, 300, 1, 4095, 0x58980971
-0, 310, 310, 1, 4152, 0x8dfa0b07
-0, 320, 320, 1, 4342, 0x4b71a904
-0, 330, 330, 1, 4514, 0xfb9be5ce
-0, 340, 340, 1, 4609, 0x2b043300
-0, 350, 350, 1, 4781, 0xc969b3a1
-0, 360, 360, 1, 4754, 0x573aa51f
-0, 370, 370, 1, 5011, 0xcf051a34
-0, 380, 380, 1, 5094, 0xdb304d4e
-0, 390, 390, 1, 5207, 0x12b2b281
-0, 400, 400, 1, 2346, 0x98f8d488
-0, 410, 410, 1, 1451, 0xfc50e5b8
-0, 420, 420, 1, 272, 0x7ffd8015
-0, 430, 430, 1, 1422, 0xc89fd0b6
-0, 440, 440, 1, 314, 0x50f299f8
-0, 450, 450, 1, 188, 0x991f52da
-0, 460, 460, 1, 5429, 0x2e410a88
-0, 470, 470, 1, 6017, 0x10b75eb8
-0, 480, 480, 1, 6120, 0x3271939c
-0, 490, 490, 1, 6350, 0x25a1e14f
-0, 500, 500, 1, 6573, 0x8e7f78be
-0, 510, 510, 1, 6640, 0x4b906975
-0, 520, 520, 1, 6741, 0x09b4b2d2
-0, 530, 530, 1, 6976, 0xd71e0451
-0, 540, 540, 1, 7081, 0x3b3d5d96
-0, 550, 550, 1, 7190, 0x43e08b08
-0, 560, 560, 1, 7303, 0x789db394
-0, 570, 570, 1, 7107, 0xfd973662
-0, 580, 580, 1, 7401, 0xf22cefc1
-0, 590, 590, 1, 7529, 0xd055268f
-0, 600, 600, 1, 7642, 0x6e8c4e4e
-0, 610, 610, 1, 7702, 0x04df7a90
-0, 620, 620, 1, 7809, 0xbdaa746e
-0, 630, 630, 1, 7846, 0x0c76be01
-0, 640, 640, 1, 7924, 0x020bdae0
-0, 650, 650, 1, 8189, 0xb5ae5872
-0, 660, 660, 1, 8358, 0x41588a80
-0, 670, 670, 1, 8457, 0x17aec618
-0, 680, 680, 1, 8448, 0x6fe4d014
-0, 690, 690, 1, 8685, 0x271b29da
-0, 700, 700, 1, 8703, 0x2b1d543f
-0, 710, 710, 1, 8782, 0x3ad37896
-0, 720, 720, 1, 8839, 0x3603942b
-0, 730, 730, 1, 8453, 0xeb28be8b
-0, 740, 740, 1, 8641, 0x35dd24cf
-0, 750, 750, 1, 9203, 0x471e37ed
-0, 760, 760, 1, 9191, 0x94b638e6
-0, 770, 770, 1, 9259, 0xbc0b58ee
-0, 780, 780, 1, 8905, 0x1e9e9bbc
-0, 790, 790, 1, 9171, 0x053e06be
-0, 800, 800, 1, 9857, 0x2778480f
-0, 810, 810, 1, 9989, 0x83949a91
-0, 820, 820, 1, 10005, 0x90a8d339
-0, 830, 830, 1, 9614, 0xe0481ebe
-0, 840, 840, 1, 9777, 0x6ed15fe2
-0, 850, 850, 1, 10364, 0x7c76a7c9
-0, 860, 860, 1, 10496, 0x0dddbbc8
-0, 870, 870, 1, 10541, 0x742aec5b
-0, 880, 880, 1, 10185, 0x4f8203d2
-0, 890, 890, 1, 10309, 0x0802342e
-0, 900, 900, 1, 10947, 0x2be867d3
-0, 910, 910, 1, 11045, 0xc6fdd553
-0, 920, 920, 1, 11054, 0x712a0b68
-0, 930, 930, 1, 10637, 0x11f61342
-0, 940, 940, 1, 10673, 0x2ea0e35b
-0, 950, 950, 1, 11495, 0xdc4daed5
-0, 960, 960, 1, 11710, 0xb0982c2f
-0, 970, 970, 1, 11853, 0xaba66c60
-0, 980, 980, 1, 11633, 0x8dbaf9a5
-0, 990, 990, 1, 12088, 0x77c6c019
-0, 1000, 1000, 1, 12214, 0x2258da24
-0, 1010, 1010, 1, 12364, 0xa5826f91
-0, 1020, 1020, 1, 12390, 0xf9ca337a
-0, 1030, 1030, 1, 12634, 0x7f24ef77
-0, 1040, 1040, 1, 12783, 0x80a3ef7b
-0, 1050, 1050, 1, 12935, 0xf646bce6
-0, 1060, 1060, 1, 13151, 0xa3fddf67
-0, 1070, 1070, 1, 13297, 0x5194345c
-0, 1080, 1080, 1, 13398, 0xbacc92df
-0, 1090, 1090, 1, 13593, 0xece81394
-0, 1100, 1100, 1, 13650, 0x19a50f4c
-0, 1110, 1110, 1, 13861, 0x3f0a3be4
-0, 1120, 1120, 1, 14030, 0x0a497635
-0, 1130, 1130, 1, 14304, 0x52ea0416
-0, 1140, 1140, 1, 14439, 0x8e9f84ad
-0, 1150, 1150, 1, 14572, 0xf0a6a956
-0, 1160, 1160, 1, 14705, 0x439b16df
-0, 1170, 1170, 1, 14815, 0xacdc2f29
-0, 1180, 1180, 1, 14915, 0x59b75de8
-0, 1190, 1190, 1, 15011, 0xb1ccaf19
-0, 1200, 1200, 1, 15166, 0x5096ef46
-0, 1210, 1210, 1, 15348, 0xab4a2cd9
-0, 1220, 1220, 1, 15385, 0x03981120
-0, 1230, 1230, 1, 15535, 0x25d4bd16
-0, 1240, 1240, 1, 15692, 0x5ab9bbb1
-0, 1250, 1250, 1, 15707, 0x1be5ffc8
-0, 1260, 1260, 1, 15942, 0x267748e2
-0, 1270, 1270, 1, 16080, 0x76a14ebb
-0, 1280, 1280, 1, 16187, 0xded89de8
-0, 1290, 1290, 1, 16276, 0x861f0195
-0, 1300, 1300, 1, 16385, 0x7b2444b3
-0, 1310, 1310, 1, 16607, 0xcea35a1b
-0, 1320, 1320, 1, 16708, 0xdf7df945
-0, 1330, 1330, 1, 16834, 0xbb405f28
-0, 1340, 1340, 1, 16908, 0x4f597965
-0, 1350, 1350, 1, 17031, 0x90ab6981
-0, 1360, 1360, 1, 17162, 0x63288c81
-0, 1370, 1370, 1, 17433, 0x8df076db
-0, 1380, 1380, 1, 17641, 0xf3c092bb
-0, 1390, 1390, 1, 17918, 0x4b52018c
-0, 1400, 1400, 1, 18022, 0xce5043aa
-0, 1410, 1410, 1, 18123, 0x56de4a96
-0, 1420, 1420, 1, 18227, 0xf4937b23
-0, 1430, 1430, 1, 18290, 0x6adeb2c6
-0, 1440, 1440, 1, 18455, 0x6960cccc
-0, 1450, 1450, 1, 18733, 0x98ac92d4
-0, 1460, 1460, 1, 18798, 0xb0afda64
-0, 1470, 1470, 1, 18924, 0xd4ddfcf9
-0, 1480, 1480, 1, 18962, 0x6ba9fa09
-0, 1490, 1490, 1, 19148, 0x9ab766f4
-0, 1500, 1500, 1, 19368, 0xe2d9c9ff
-0, 1510, 1510, 1, 19442, 0xd8e9dd47
-0, 1520, 1520, 1, 19543, 0x3185075e
-0, 1530, 1530, 1, 19609, 0xad8619eb
-0, 1540, 1540, 1, 19710, 0x4e1858cc
-0, 1550, 1550, 1, 19829, 0x8e2ddd1a
-0, 1560, 1560, 1, 19949, 0xa2d664cb
-0, 1570, 1570, 1, 20048, 0xd87bf37e
-0, 1580, 1580, 1, 20144, 0x032b7022
-0, 1590, 1590, 1, 20207, 0x5fbd91f6
-0, 1600, 1600, 1, 20362, 0x6e2587d9
-0, 1610, 1610, 1, 20575, 0xbdb909ec
-0, 1620, 1620, 1, 20687, 0xfa5d47d8
-0, 1630, 1630, 1, 20765, 0xaeb7be00
-0, 1640, 1640, 1, 20877, 0xdc294c19
-0, 1650, 1650, 1, 21163, 0x39d218cf
-0, 1660, 1660, 1, 21241, 0xab766ba8
-0, 1670, 1670, 1, 21347, 0xa1516a9f
-0, 1680, 1680, 1, 21443, 0xff56b01c
-0, 1690, 1690, 1, 21612, 0xdbe2fe6e
-0, 1700, 1700, 1, 21675, 0x9ff6f253
-0, 1710, 1710, 1, 21820, 0x313a327c
-0, 1720, 1720, 1, 21938, 0x3bf9ea0d
+0, 10, 10, 1, 297, 0x49dd8847, S=1, 1024, 0xcfc8799f
+0, 20, 20, 1, 437, 0x736bd351, 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, 613, 0xef4c2026, 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, 2247, 0x72982a87, 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, 2686, 0xfa990310, 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, 2981, 0x92507824, S=1, 1024, 0xcfc8799f
+0, 250, 250, 1, 3101, 0x3e029e0e, S=1, 1024, 0xcfc8799f
+0, 260, 260, 1, 3252, 0x8d3af677, S=1, 1024, 0xcfc8799f
+0, 270, 270, 1, 3329, 0x29a81b71, S=1, 1024, 0xcfc8799f
+0, 280, 280, 1, 3571, 0x18a68a51, S=1, 1024, 0xcfc8799f
+0, 290, 290, 1, 3806, 0x192dfed1, S=1, 1024, 0xcfc8799f
+0, 300, 300, 1, 2749, 0xdf1e1f9d, 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, 4294, 0xb64a0a7f, 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, 2280, 0x1ec34aa0, S=1, 1024, 0xcfc8799f
+0, 370, 370, 1, 3632, 0x11af9aa2, S=1, 1024, 0xcfc8799f
+0, 380, 380, 1, 3552, 0xed2c75b2, S=1, 1024, 0xcfc8799f
+0, 390, 390, 1, 3689, 0x42a6dd0c, S=1, 1024, 0xcfc8799f
+0, 400, 400, 1, 1558, 0x2c14e4b2, S=1, 1024, 0xcfc8799f
+0, 410, 410, 1, 939, 0x7ae8cd8f, S=1, 1024, 0xcfc8799f
+0, 420, 420, 1, 273, 0x138c7831, S=1, 1024, 0xcfc8799f
+0, 430, 430, 1, 929, 0x42eeae3e, 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, 4894, 0x8a7d39a5, S=1, 1024, 0xcfc8799f
+0, 480, 480, 1, 4927, 0xdd6113e7, S=1, 1024, 0xcfc8799f
+0, 490, 490, 1, 4941, 0x71915520, S=1, 1024, 0xcfc8799f
+0, 500, 500, 1, 4153, 0x0f8cb8a5, S=1, 1024, 0xcfc8799f
+0, 510, 510, 1, 4677, 0x62cfc338, S=1, 1024, 0xcfc8799f
+0, 520, 520, 1, 4740, 0x4418bb44, S=1, 1024, 0xcfc8799f
+0, 530, 530, 1, 4981, 0xb93c5976, 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, 4288, 0x7eb6fbbf, 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, 4644, 0x66f889e0, 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, 5216, 0xf3399cfa, S=1, 1024, 0xcfc8799f
+0, 650, 650, 1, 5394, 0xe0c801ca, S=1, 1024, 0xcfc8799f
+0, 660, 660, 1, 5219, 0xff22e354, 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, 7540, 0x32fe19c0, 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, 7617, 0xa2c2340e, 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, 11226, 0x9ac08eb8, 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, 18390, 0x888fc489, 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, 23164, 0x899866a2, 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
OpenPOWER on IntegriCloud