Go to the documentation of this file.
4 #ifndef __FB_GFX_LZW_H__
5 #define __FB_GFX_LZW_H__
9 #define TABLE_SIZE 5021
11 #define OUTPUT_CODE(c) \
14 *out_buffer++ |= (c & 0xF) << 4; \
15 *out_buffer++ = c >> 4; \
19 *out_buffer++ = c & 0xFF; \
20 *out_buffer = c >> 8; \
23 if (size >= *out_size) \
28 #define INPUT_CODE(c) \
31 c = *in_buffer++ >> 4; \
32 c |= *in_buffer++ << 4; \
37 c |= (*in_buffer & 0xF) << 8; \