Home
last modified time | relevance | path

Searched refs:maxcode (Results 1 – 11 of 11) sorted by relevance

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java50 int maxcode; // maximum code, given n_bits field in LZWEncoder
160 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()
/external/pdfium/third_party/libtiff/
Dtif_lzw.c95 unsigned short maxcode; /* maximum code for lzw_nbits */ member
104 #define lzw_maxcode base.maxcode
880 int free_ent, maxcode, nbits; in LZWEncode() local
899 maxcode = sp->lzw_maxcode; in LZWEncode()
978 maxcode = MAXCODE(BITS_MIN); in LZWEncode()
984 if (free_ent > maxcode) { in LZWEncode()
987 maxcode = (int) MAXCODE(nbits); in LZWEncode()
1006 maxcode = MAXCODE(BITS_MIN); in LZWEncode()
1025 sp->lzw_maxcode = maxcode; in LZWEncode()
/external/opencv3/3rdparty/libtiff/
Dtif_lzw.c95 unsigned short maxcode; /* maximum code for lzw_nbits */ member
104 #define lzw_maxcode base.maxcode
870 int free_ent, maxcode, nbits; in LZWEncode() local
889 maxcode = sp->lzw_maxcode; in LZWEncode()
968 maxcode = MAXCODE(BITS_MIN); in LZWEncode()
974 if (free_ent > maxcode) { in LZWEncode()
977 maxcode = (int) MAXCODE(nbits); in LZWEncode()
996 maxcode = MAXCODE(BITS_MIN); in LZWEncode()
1015 sp->lzw_maxcode = maxcode; in LZWEncode()
/external/libjpeg-turbo/
Djdhuff.h22 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member
220 while (s > htbl->maxcode[nb]) { \
Dwrgif.c56 int maxcode; /* maximum code, given n_bits */ member
150 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()
174 if (dinfo->code_counter < dinfo->maxcode) { in compress_pixel()
Djdhuff.c228 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
230 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
234 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
464 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdhuff.c226 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
228 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
231 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
417 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
Djdhuff.h28 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member
/external/opencv3/3rdparty/libjpeg/
Djdhuff.c30 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member
397 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
399 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
402 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
608 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp106 int32 maxcode[18]; member
213 htbl->maxcode [l] = huffcode [p - 1]; in FixHuffTbl()
219 htbl->maxcode [l] = -1; in FixHuffTbl()
226 htbl->maxcode[17] = 0xFFFFFL; in FixHuffTbl()
1641 while (code > htbl->maxcode [l]) in HuffDecode()
/external/libgdx/gdx/jni/gdx2d/
Dstb_image.h1466 unsigned int maxcode[18]; member
1542 h->maxcode[j] = code << (16-j); in stbi__build_huffman()
1545 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()
1638 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()
3469 int maxcode[17]; member
3514 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()
3518 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()
3591 if (k < z->maxcode[s]) in stbi__zhuffman_decode_slowpath()