Home
last modified time | relevance | path

Searched refs:HSIZE (Results 1 – 6 of 6) sorted by relevance

/external/liblzf/
Dlzf_c.c39 #define HSIZE (1 << (HLOG)) macro
51 # define IDX(h) ((( h >> (3*8 - HLOG)) - h ) & (HSIZE - 1))
53 # define IDX(h) ((( h >> (3*8 - HLOG)) - h*5) & (HSIZE - 1))
55 # define IDX(h) ((((h ^ (h << 5)) >> (3*8 - HLOG)) - h*5) & (HSIZE - 1))
71 # define IDX(h) ((h) & (HSIZE - 1))
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java33 static final int HSIZE = 5003; // 80% occupancy field in LZWEncoder
54 int[] htab = new int[HSIZE];
56 int[] codetab = new int[HSIZE];
58 int hsize = HSIZE; // for dynamic table sizing
/external/pdfium/third_party/libtiff/
Dtif_lzw.c77 #define HSIZE 9001L /* 91% occupancy */ macro
789 sp->enc_hashtab = (hash_t*) _TIFFmalloc(HSIZE*sizeof (hash_t)); in LZWSetupEncode()
922 if (h >= HSIZE) in LZWEncode()
923 h -= HSIZE; in LZWEncode()
934 disp = HSIZE - h; in LZWEncode()
943 h += HSIZE; in LZWEncode()
1068 register hash_t *hp = &sp->enc_hashtab[HSIZE-1]; in cl_hash()
1069 register long i = HSIZE-8; in cl_hash()
/external/liblzf/src/org/liblzf/
DCLZF.java117 static int HSIZE=(1<<14); field in CLZF
141 return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1)); in IDX()
/external/liblzf/cs/
DCLZF.cs117 UInt32 HSIZE=(1<<14); field in LZF.NET.CLZF
141 return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1)); in IDX()
/external/opencv/cv/src/
Dcvcalibinit.cpp566 #define HSIZE 20 in icvOrderFoundConnectedQuads() macro
567 int col_hist[HSIZE*2]; in icvOrderFoundConnectedQuads()
568 int row_hist[HSIZE*2]; // bad programming, should allow variable size in icvOrderFoundConnectedQuads()
570 for (i=0; i<HSIZE*2; i++) // init to zero in icvOrderFoundConnectedQuads()
586 col_hist[col+HSIZE]++; in icvOrderFoundConnectedQuads()
587 row_hist[row+HSIZE]++; in icvOrderFoundConnectedQuads()
626 PRINTF("HIST[%d] = %d\n", i, col_hist[i+HSIZE]); in icvOrderFoundConnectedQuads()
655 if (col_hist[col_max+HSIZE] > col_hist[col_min+HSIZE]) in icvOrderFoundConnectedQuads()
671 if (row_hist[row_max+HSIZE] > row_hist[row_min+HSIZE]) in icvOrderFoundConnectedQuads()