Go to the source code of this file.
Value:{ \
if (bit) { \
c = *in_buffer++ >> 4; \
c |= *in_buffer++ << 4; \
in_size--; \
} \
else { \
c = *in_buffer++; \
c |= (*in_buffer & 0xF) << 8; \
} \
in_size--; \
bit ^= 1; \
}
Definition at line 28 of file fb_gfx_lzw.h.
Value:{ \
if (bit) { \
*out_buffer++ |= (c & 0xF) << 4; \
*out_buffer++ = c >> 4; \
size++; \
} \
else { \
*out_buffer++ = c & 0xFF; \
*out_buffer = c >> 8; \
} \
size++; \
return -1; \
bit ^= 1; \
}
Definition at line 11 of file fb_gfx_lzw.h.