Lines Matching defs:const
145 const Genesys_Model& model) :
151 const Genesys_Model& model) :
156 std::uint16_t vendor_id() const { return vendor_; }
157 std::uint16_t product_id() const { return product_; }
158 std::uint16_t bcd_device() const { return bcd_device_; }
160 const Genesys_Model& model() const { return model_; }
215 const Genesys_Sensor& sanei_genesys_find_sensor_any(const Genesys_Device* dev);
216 const Genesys_Sensor& sanei_genesys_find_sensor(const Genesys_Device* dev, unsigned dpi,
218 bool sanei_genesys_has_sensor(const Genesys_Device* dev, unsigned dpi, unsigned channels,
223 std::vector<std::reference_wrapper<const Genesys_Sensor>>
224 sanei_genesys_find_sensors_all(const Genesys_Device* dev, ScanMethod scan_method);
228 extern void sanei_genesys_init_shading_data(Genesys_Device* dev, const Genesys_Sensor& sensor,
237 void sanei_genesys_set_lamp_power(Genesys_Device* dev, const Genesys_Sensor& sensor,
242 bool should_enable_gamma(const ScanSession& session, const Genesys_Sensor& sensor);
259 const std::vector<std::uint16_t>& slope_table,
269 SANE_Int sanei_genesys_exposure_time2(Genesys_Device* dev, const MotorProfile& profile, float ydpi,
275 std::vector<std::uint16_t> get_gamma_table(Genesys_Device* dev, const Genesys_Sensor& sensor,
278 void sanei_genesys_send_gamma_table(Genesys_Device* dev, const Genesys_Sensor& sensor);
299 bool should_calibrate_only_active_area(const Genesys_Device& dev,
300 const Genesys_Settings& settings);
302 void scanner_offset_calibration(Genesys_Device& dev, const Genesys_Sensor& sensor,
305 void scanner_coarse_gain_calibration(Genesys_Device& dev, const Genesys_Sensor& sensor,
308 SensorExposure scanner_led_calibration(Genesys_Device& dev, const Genesys_Sensor& sensor,
313 void scanner_send_slope_table(Genesys_Device* dev, const Genesys_Sensor& sensor, unsigned table_nr,
314 const std::vector<std::uint16_t>& slope_table);
316 extern void sanei_genesys_write_file(const char* filename, const std::uint8_t* data,
323 Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession& session,
327 const SensorExposure& exposure);
341 bool get_registers_gain4_bit(AsicType asic_type, const Genesys_Register_Set& regs);
353 void scanner_setup_sensor(Genesys_Device& dev, const Genesys_Sensor& sensor,
356 const MotorProfile* get_motor_profile_ptr(const std::vector<MotorProfile>& profiles,
358 const ScanSession& session);
360 const MotorProfile& get_motor_profile(const std::vector<MotorProfile>& profiles,
362 const ScanSession& session);
364 MotorSlopeTable create_slope_table(AsicType asic_type, const Genesys_Motor& motor, unsigned ydpi,
366 const MotorProfile& motor_profile);
369 const MotorProfile& motor_profile);
390 const ScanSession& session,
391 const Genesys_Calibration_Cache* cache,
400 const Genesys_Sensor& sensor,
404 const Genesys_Device& dev, const Genesys_Sensor& sensor,
408 void compute_session(const Genesys_Device* dev, ScanSession& s, const Genesys_Sensor& sensor);
410 ImagePipelineStack build_image_pipeline(const Genesys_Device& dev, const ScanSession& session,
414 void setup_image_pipeline(Genesys_Device& dev, const ScanSession& session);
440 void debug_dump(unsigned level, const T& value)