Lines Matching refs:hcode_t
112 typedef uint16 hcode_t; /* codes fit in 16 bits */ typedef
115 hcode_t code;
347 code = (hcode_t)((nextdata >> (nextbits-nbits)) & nbitsmask); \
368 hcode_t code; in LZWDecode()
591 code = (hcode_t)(nextdata & nbitsmask); \
843 sp->enc_oldcode = (hcode_t) -1; /* generates CODE_CLEAR in LZWEncode */ in LZWPreEncode()
889 hcode_t ent; in LZWEncode()
917 ent = (hcode_t)sp->enc_oldcode; in LZWEncode()
919 if (ent == (hcode_t) -1 && cc > 0) { in LZWEncode()
981 ent = (hcode_t)c; in LZWEncode()
982 hp->code = (hcode_t)(free_ent++); in LZWEncode()
1066 if (sp->enc_oldcode != (hcode_t) -1) { in LZWPostEncode()
1070 sp->enc_oldcode = (hcode_t) -1; in LZWPostEncode()