Lines Matching defs:ratio
94 * The compression ratio is checked at the first end of a packet
150 unsigned int ratio; /* recent compression ratio */
151 unsigned int checkpoint; /* when to next check the ratio */
229 db->ratio = 0;
236 * Compute the compression ratio using fixed-point arithmetic
240 * watch only the local compression ratio.
244 * must compute the same ratio.
253 /* age the ratio by limiting the size of the counts */
264 /* Reset the dictionary only if the ratio is worse,
278 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE)
283 db->ratio = new_ratio;