changeset 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 86d10d5d4915
children 8af6067b6bd7
files tools/lib64gfx.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed Jun 13 01:39:06 2018 +0300
+++ b/tools/lib64gfx.h	Wed Jun 13 01:40:22 2018 +0300
@@ -240,9 +240,9 @@
     DM_RLE_ORDER_2          = 0x0010, // Order: <marker>, <data>, <count/run length>
     DM_RLE_ORDER_MASK       = 0x00f0,
 
-    DM_RLE_BACKWARDS_INPUT  = 0x0100,
-    DM_RLE_BACKWARDS_OUTPUT = 0x0200,
-    DM_RLE_ZERO_COUNT_MAX   = 0x0400,
+    DM_RLE_BACKWARDS_INPUT  = 0x0100, // Input is read backwards
+    DM_RLE_BACKWARDS_OUTPUT = 0x0200, // Output is written backwards
+    DM_RLE_ZERO_COUNT_MAX   = 0x0400, // Zero "count" / run length value is max run (2^8, 2^16)
 
     DM_OUT_CROP_NONE        = 0x0000,
     DM_OUT_CROP_START       = 0x1000,