34 #define LZW_MAXBITS 12
35 #define LZW_SIZTABLE (1<<LZW_MAXBITS)
37 static const uint16_t
mask[17] =
39 0x0000, 0x0001, 0x0003, 0x0007,
40 0x000F, 0x001F, 0x003F, 0x007F,
41 0x00FF, 0x01FF, 0x03FF, 0x07FF,
42 0x0FFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF
171 int l,
c, code,
oc,
fc;
184 while (sp > s->
stack) {
204 if (code == s->
slot && fc>=0) {
207 }
else if(code >= s->
slot)