Lines Matching defs:color
84 /* set 12 bits output color */
511 u12shading_AdjustGain( U12_Device *dev, u_long color, SANE_Byte hilight )
515 if( dev->shade.Hilight.bColors[color] < dev->shade.bGainHigh ) {
518 dev->shade.Hilight.bColors[color] = hilight;
521 dev->shade.Gain.bColors[color] += dev->shade.bGainDouble;
523 dev->shade.Gain.bColors[color]++;
528 dev->shade.Hilight.bColors[color] = hilight;
529 dev->shade.Gain.bColors[color]--;
531 dev->shade.Hilight.bColors[color] = hilight;
535 if( dev->shade.Gain.bColors[color] > dev->shade.bMaxGain ) {
536 dev->shade.Gain.bColors[color] = dev->shade.bMaxGain;