Lines Matching defs:limit
65 int limit[MAX_HUFCODE_BITS+1], base[MAX_HUFCODE_BITS], permute[MAX_SYMBOLS];
164 int hh, ii, jj, kk, symCount, *base, *limit;
257 /* Calculate permute[], base[], and limit[] tables from length[].
265 * limit[] indicates the largest numerical value a symbol with a given
268 * To use these, keep reading bits until value <= limit[bitcount] or
277 // and limit array pointers so we're not always wasting the first
280 limit = hufGroup->limit-1;
282 // zero temp[] and limit[], and calculate permute[]
285 temp[ii] = limit[ii] = 0;
293 /* Calculate limit[] (the largest symbol-coding value at each bit
294 * length, which is (previous limit<<1)+symbols at this level), and
296 * limit minus the cumulative count of symbols coded for already). */
300 limit[ii] = pp-1;
304 limit[maxLen] = pp+temp[maxLen]-1;
305 limit[maxLen+1] = INT_MAX;
323 *byteCount, *base, *limit;
343 base = limit = 0;
355 limit = hufGroup->limit-1;
361 while (jj > limit[ii]) {