Lines Matching defs:value
1686 per-device value in the future - 0x32 was tested on the AV122,
1729 constrain_value (Avision_Scanner* s, SANE_Int option, void* value,
1733 return sanei_constrain_value (s->opt + option, value, info);
2266 ADDITIONAL_SENSE (0x26,0x02, "parameter value invalid");
4025 #define add_token(format,value) do { \
4027 message == message_begin ? "" : ":", value); \
5573 /* calculate calibration value for pixel i */
5729 brightness_contrast_func (double brightness, double contrast, double value)
5736 value = value * (1.0 + brightness);
5738 value = value + ((1.0 - value) * brightness);
5743 if (value > 0.5)
5744 nvalue = 1.0 - value;
5746 nvalue = value;
5750 if (value > 0.5)
5751 value = 1.0 - nvalue;
5753 value = nvalue;
5757 if (value > 0.5)
5758 nvalue = 1.0 - value;
5760 nvalue = value;
5765 if (value > 0.5)
5766 value = 1.0 - nvalue;
5768 value = nvalue;
5770 return value;
5859 * v1 <- current value for table
5860 * v2 <- next value for table (for interpolation)
5923 /* with AV_GAMMA_UINT16 only every second value is filled, so double i */
7980 /* SANE Standard 3.2.1 "... bytes of each sample value are
8468 /* TODO: check return value */
8604 /* We initialize the table to a gamma value of 2.22, since this is what