Lines Matching refs:adjust
82 double adjust;
104 adjust = adjust_lo;
107 adjust = adjust_hi;
110 adjust = adjust_mid;
113 adjust = (adjust_mid + adjust_hi)/2;
116 adjust = (adjust_mid + adjust_lo)/2;
124 /* Calculate the table using the current 'adjust' */
131 calc = nearbyint((lo+adjust) * 256);
178 printf("/* adjust (mid ): %f: %u -> %u */\n", adjust, ec_mid,
181 adjust_mid = adjust;
184 else if (adjust < adjust_mid && error_count16 < ec_lo)
186 printf("/* adjust (low ): %f: %u -> %u */\n", adjust, ec_lo,
189 adjust_lo = adjust;
192 else if (adjust > adjust_mid && error_count16 < ec_hi)
194 printf("/* adjust (high): %f: %u -> %u */\n", adjust, ec_hi,
197 adjust_hi = adjust;
202 adjust = adjust_mid;
203 printf("/* adjust: %f: %u */\n", adjust, ec_mid);
208 /* For each entry in the table try to adjust it to minimize the error count