Searched refs:maxcode (Results 1 – 8 of 8) sorted by relevance
50 int maxcode; // maximum code, given n_bits field in LZWEncoder160 maxcode = MAXCODE(n_bits); in compress()273 if (free_ent > maxcode || clear_flg) { in output()275 maxcode = MAXCODE(n_bits = g_init_bits); in output()280 maxcode = maxmaxcode; in output()282 maxcode = MAXCODE(n_bits); in output()
78 code_int maxcode; /* maximum code, given n_bits */ member154 if (dinfo->free_code > dinfo->maxcode) { in output()157 dinfo->maxcode = LZW_TABLE_SIZE; /* free_code will never exceed this */ in output()159 dinfo->maxcode = MAXCODE(dinfo->n_bits); in output()184 dinfo->maxcode = MAXCODE(dinfo->n_bits); in clear_block()194 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()478 if (dest->code_counter < dest->maxcode) { in put_raw_pixel_rows()
26 JLONG maxcode[18]; /* largest code of length k (-1 if none) */ member232 while (s > htbl->maxcode[nb]) { \
215 dtbl->maxcode[l] = huffcode[p - 1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()217 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()221 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()450 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
94 unsigned short maxcode; /* maximum code for lzw_nbits */ member103 #define lzw_maxcode base.maxcode1126 int free_ent, maxcode, nbits; in LZWEncode() local1145 maxcode = sp->lzw_maxcode; in LZWEncode()1237 maxcode = MAXCODE(BITS_MIN); in LZWEncode()1245 if (free_ent > maxcode) in LZWEncode()1249 maxcode = (int)MAXCODE(nbits); in LZWEncode()1271 maxcode = MAXCODE(BITS_MIN); in LZWEncode()1290 sp->lzw_maxcode = (unsigned short)maxcode; in LZWEncode()
106 int32 maxcode[18]; member213 htbl->maxcode [l] = huffcode [p - 1]; in FixHuffTbl()219 htbl->maxcode [l] = -1; in FixHuffTbl()226 htbl->maxcode[17] = 0xFFFFFL; in FixHuffTbl()1645 while (code > htbl->maxcode [l]) in HuffDecode()
1653 unsigned int maxcode[18]; member1732 h->maxcode[j] = code << (16-j); in stbi__build_huffman()1735 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()1829 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()3754 int maxcode[17]; member3799 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()3803 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()3876 if (k < z->maxcode[s]) in stbi__zhuffman_decode_slowpath()
1696 unsigned int maxcode[18]; member1776 h->maxcode[j] = code << (16-j); in stbi__build_huffman()1779 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()1873 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()3798 int maxcode[17]; member3843 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()3847 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()3920 if (k < z->maxcode[s]) in stbi__zhuffman_decode_slowpath()