comparison tools/lib64gfx.h @ 1783:1ce808599129

Add DM_RLE_ZERO_COUNT_MAX flag for RLE decoder which makes it interpret run lengths of 0 as maximum value of the type, e.g. 256 or 65536 (latter is probably useless.)
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 13 Jun 2018 01:34:46 +0300
parents e53dc89c0e56
children 52e90130453b
comparison
equal deleted inserted replaced
1782:22b6fa1a2ee4 1783:1ce808599129
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,
244 DM_RLE_BACKWARDS_OUTPUT = 0x0200, 244 DM_RLE_BACKWARDS_OUTPUT = 0x0200,
245 DM_RLE_ZERO_COUNT_MAX = 0x0400,
245 246
246 DM_OUT_CROP_NONE = 0x0000, 247 DM_OUT_CROP_NONE = 0x0000,
247 DM_OUT_CROP_START = 0x1000, 248 DM_OUT_CROP_START = 0x1000,
248 DM_OUT_CROP_END = 0x2000, 249 DM_OUT_CROP_END = 0x2000,
249 DM_OUT_CROP_MASK = 0xf000, 250 DM_OUT_CROP_MASK = 0xf000,