Home
last modified time | relevance | path

Searched refs:MAXCODE (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_lzw.c65 #define MAXCODE(n) ((1L<<(n))-1) macro
76 #define CODE_MAX MAXCODE(BITS_MAX)
81 #define CSIZE (MAXCODE(BITS_MAX)+1024L)
83 #define CSIZE (MAXCODE(BITS_MAX)+1L)
301 sp->lzw_maxcode = MAXCODE(BITS_MIN); in LZWPreDecode()
311 sp->lzw_maxcode = MAXCODE(BITS_MIN)-1; in LZWPreDecode()
319 sp->dec_nbitsmask = MAXCODE(BITS_MIN); in LZWPreDecode()
445 nbitsmask = MAXCODE(BITS_MIN); in LZWDecode()
489 nbitsmask = MAXCODE(nbits); in LZWDecode()
666 nbitsmask = MAXCODE(BITS_MIN); in LZWDecodeCompat()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_lzw.c65 #define MAXCODE(n) ((1L<<(n))-1) macro
76 #define CODE_MAX MAXCODE(BITS_MAX)
81 #define CSIZE (MAXCODE(BITS_MAX)+1024L)
83 #define CSIZE (MAXCODE(BITS_MAX)+1L)
299 sp->lzw_maxcode = MAXCODE(BITS_MIN); in LZWPreDecode()
309 sp->lzw_maxcode = MAXCODE(BITS_MIN)-1; in LZWPreDecode()
317 sp->dec_nbitsmask = MAXCODE(BITS_MIN); in LZWPreDecode()
441 nbitsmask = MAXCODE(BITS_MIN); in LZWDecode()
484 nbitsmask = MAXCODE(nbits); in LZWDecode()
660 nbitsmask = MAXCODE(BITS_MIN); in LZWDecodeCompat()
[all …]
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java160 maxcode = MAXCODE(n_bits); in compress()
237 final int MAXCODE(int n_bits) { in MAXCODE() method in LZWEncoder
275 maxcode = MAXCODE(n_bits = g_init_bits); in output()
282 maxcode = MAXCODE(n_bits); in output()
/external/libjpeg-turbo/
Dwrgif.c74 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) macro
150 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()