Lines Matching defs:value

305  * maximum value
308 * @param maximum value allowed for gamma
309 * @param gamma_max maximum gamma value
320 float value;
326 value = static_cast<float>(gamma_max * std::pow(static_cast<double>(i) / size, 1.0 / gamma));
327 if (value > maximum) {
328 value = maximum;
330 gamma_table[i] = static_cast<std::uint16_t>(value);
542 unsigned dpihw = dev->reg.find_reg(0x05).value >> 6;
653 regs.set8(custom_reg.address, custom_reg.value);
836 // wait until feed count reaches the required value
1562 // now top value
1878 // pick target value at 95th percentile of all values. There may be a lot of black values
2317 auto value = calibration_data[i];
2318 value = ((value >> 8) & 0xff) | ((value << 8) & 0xff00);
2319 calibration_data[i] = value;
2724 /* computes one coefficient given bright-dark value
2727 * @param value brght-dark value
2730 compute_coefficient (unsigned int coeff, unsigned int target, unsigned int value)
2734 if (value > 0)
2736 result = (coeff * target) / value;
2754 * scanner raw input to output value calculation:
2776 * @param target_bright value of the white target code
2777 * @param target_dark value of the black target code
2809 scanner raw input to output value calculation:
2957 * @param target value of the target code
3029 * @param target white target value
4006 // send gamma tables. They have been set to device or user value
4007 // when setting option value */
4769 "A value of 0 means cache is not used. A negative value means cache never expires.");
4782 "A value of 0 means, that the lamp won't be turned off.");
5605 dbg.vlog(DBG_proc, "value: %d", *reinterpret_cast<SANE_Word*>(val));
5609 dbg.vlog(DBG_proc, "value: %s", *reinterpret_cast<SANE_Bool*>(val) ? "true" : "false");
5613 dbg.vlog(DBG_proc, "value: %f", fixed_to_float(*reinterpret_cast<SANE_Word*>(val)));
5617 dbg.vlog(DBG_proc, "value: %s", reinterpret_cast<char*>(val));
5622 dbg.log(DBG_proc, "value: (non-printable)");
5811 /** @brief set calibration file value
5812 * Set calibration file value. Load new cache values from file if it exists,