Searched refs:HSIZE (Results 1 – 6 of 6) sorted by relevance
39 #define HSIZE (1 << (HLOG)) macro51 # 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))
33 static final int HSIZE = 5003; // 80% occupancy field in LZWEncoder54 int[] htab = new int[HSIZE];56 int[] codetab = new int[HSIZE];58 int hsize = HSIZE; // for dynamic table sizing
77 #define HSIZE 9001L /* 91% occupancy */ macro789 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()
117 static int HSIZE=(1<<14); field in CLZF141 return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1)); in IDX()
117 UInt32 HSIZE=(1<<14); field in LZF.NET.CLZF141 return ((((h ^ (h << 5)) >> (int) (3*8 - HLOG)) - h*5) & (HSIZE - 1)); in IDX()
566 #define HSIZE 20 in icvOrderFoundConnectedQuads() macro567 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()