Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 1786:52e90130453b
Add descriptive comments to some of RLE decoder flags that were missing "documentation".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 13 Jun 2018 01:40:22 +0300 |
parents | 1ce808599129 |
children | 9bec535956fd |
comparison
equal
deleted
inserted
replaced
1785:86d10d5d4915 | 1786:52e90130453b |
---|---|
238 | 238 |
239 DM_RLE_ORDER_1 = 0x0000, // Order: <marker>, <count/run length>, <data> | 239 DM_RLE_ORDER_1 = 0x0000, // Order: <marker>, <count/run length>, <data> |
240 DM_RLE_ORDER_2 = 0x0010, // Order: <marker>, <data>, <count/run length> | 240 DM_RLE_ORDER_2 = 0x0010, // Order: <marker>, <data>, <count/run length> |
241 DM_RLE_ORDER_MASK = 0x00f0, | 241 DM_RLE_ORDER_MASK = 0x00f0, |
242 | 242 |
243 DM_RLE_BACKWARDS_INPUT = 0x0100, | 243 DM_RLE_BACKWARDS_INPUT = 0x0100, // Input is read backwards |
244 DM_RLE_BACKWARDS_OUTPUT = 0x0200, | 244 DM_RLE_BACKWARDS_OUTPUT = 0x0200, // Output is written backwards |
245 DM_RLE_ZERO_COUNT_MAX = 0x0400, | 245 DM_RLE_ZERO_COUNT_MAX = 0x0400, // Zero "count" / run length value is max run (2^8, 2^16) |
246 | 246 |
247 DM_OUT_CROP_NONE = 0x0000, | 247 DM_OUT_CROP_NONE = 0x0000, |
248 DM_OUT_CROP_START = 0x1000, | 248 DM_OUT_CROP_START = 0x1000, |
249 DM_OUT_CROP_END = 0x2000, | 249 DM_OUT_CROP_END = 0x2000, |
250 DM_OUT_CROP_MASK = 0xf000, | 250 DM_OUT_CROP_MASK = 0xf000, |