Lines Matching refs:outmax
9031 unsigned int outmax;
9056 const unsigned int outmax = (1U<<out_depth)-1;
9085 vi->outmax = outmax;
9107 r = dp->background_color.red; r /= outmax;
9108 g = dp->background_color.green; g /= outmax;
9109 b = dp->background_color.blue; b /= outmax;
9224 const unsigned int outmax = vi->outmax;
9261 encoded_sample *= outmax;
9312 output /= outmax;
9351 encoded_sample *= outmax;
9428 low_value *= outmax;
9440 if (es_hi < outmax && input_sample+tmp < 1)
9445 high_value *= outmax;
9452 es_hi = outmax;
9511 is_lo = ceil(outmax * tmp - vi->maxout_total);
9530 is_hi = floor(outmax * tmp + vi->maxout_total);
9532 if (is_hi > outmax)
9533 is_hi = outmax;
9566 is_lo = ceil(outmax * tmp - vi->maxout_total);
9577 is_hi = floor(outmax * tmp + vi->maxout_total);
9578 if (is_hi > outmax) is_hi = outmax;
9582 is_hi = outmax;
9605 * places. Just use outmax to work out which.
9607 int precision = (outmax >= 1000 ? 6 : 3);
9763 pos = safecatn(msg, sizeof msg, pos, outmax);