Wykres commitów

193 Commity (dd702968279b4328d0650853a15cc4bf96542494)

Autor SHA1 Wiadomość Data
Povilas Kanapickas dd70296827 genesys: Move desegmentation line width data to a separate struct 2019-09-12 21:26:52 +03:00
Povilas Kanapickas 88d6cdcc32 genesys: Rename read_bytes_left -> read_bytes_left_after_deseg 2019-09-12 20:06:38 +03:00
Povilas Kanapickas 50e5c80434 genesys: Remove low-level handling of xdpi < ydpi case
The high-level code ensures that the xdpi is always natively supported
by the scanner.
2019-09-12 18:21:18 +03:00
Povilas Kanapickas 21254ad929 genesys: Use Sensor::optical_res directly where possible 2019-09-12 18:21:16 +03:00
Povilas Kanapickas a2ade50870 genesys: Ensure that resolution is set to a supported one at high-level
Previously we relied on low-level implementation to detect when the
requested resolution is higher than one supported by the scanner and
seamlessly patch around so that the high-level code does not notice.
This complicates the low level implementation and results to duplicate
code.
2019-08-18 11:13:01 +03:00
Povilas Kanapickas 61a055a8cf genesys: Pass the line width requested by the frontend separately 2019-08-18 11:13:00 +03:00
Povilas Kanapickas 0b2840a3ff genesys: Clarify frontend param processing a little 2019-08-18 11:12:59 +03:00
Povilas Kanapickas ec0ceaebb5 genesys: Use correct resolution to select sensor during option parsing 2019-08-18 11:12:58 +03:00
Povilas Kanapickas ceb56a8b3b genesys: Move gl646 sensor settings to the common sensor table 2019-08-17 12:02:45 +03:00
Povilas Kanapickas 5532f2f277 genesys: Add channel count to the parameters that identify a sensor 2019-08-17 11:51:35 +03:00
Povilas Kanapickas f2871ca81d genesys: Reduce duplication in channel count and depth calculation 2019-08-17 11:51:34 +03:00
Povilas Kanapickas 6216ada2e7 Merge branch 'genesys-fix-sensor-write' into 'master'
genesys: Fix writing to sensors

See merge request sane-project/backends!137
2019-08-31 14:43:05 +00:00
Povilas Kanapickas 0cd26a8adf genesys: Extract resolution filtering to separate class 2019-08-17 11:56:45 +03:00
Povilas Kanapickas 86ac877d82 genesys: Remove unused code 2019-08-17 11:05:38 +03:00
Povilas Kanapickas eb1c4fadb9 genesys: Pick correct sensors during option parsing 2019-08-17 11:05:37 +03:00
Povilas Kanapickas f019f9e7b8 genesys: Don't modify sensor in *_led_calibration() 2019-08-17 11:05:35 +03:00
Povilas Kanapickas 4348451e47 genesys: Add sensor profile to the sensor struct
This will allow moving per-chip sensor profile tables to a common
configuration
2019-08-17 11:02:36 +03:00
Povilas Kanapickas ba546d5370 genesys: Store segment order as a std::vector 2019-08-17 11:02:35 +03:00
Povilas Kanapickas 503797c248 genesys: Simplify shading computation by using enum for color order 2019-08-17 10:53:56 +03:00
Povilas Kanapickas 3a1163480a genesys: Store calibration data using correct type internally 2019-08-17 10:53:55 +03:00
Povilas Kanapickas 5e5a1a6fc3 genesys: Use correct type for std::plus 2019-08-31 15:11:40 +03:00
Olaf Meeuwissen 5e74e1b794 genesys: Make std::plus<> template type instantiation explicit
This fixes compile errors on older versions of gcc and possibly other
C++ compilers.
2019-08-19 22:06:33 +09:00
Povilas Kanapickas 6592692448 genesys: Compile genesys_devices.cc as a separate translation unit 2019-08-04 18:21:06 +03:00
Povilas Kanapickas 8cb6130cfe genesys: Cleanup the gpo setup 2019-08-04 14:01:50 +03:00
Povilas Kanapickas ea602f7ebc genesys: Rewrite and document sanei_genesys_calculate_zmod() 2019-08-04 12:01:51 +03:00
Povilas Kanapickas 6f20e6d341 genesys: Use std::vector for the motor slope tables 2019-08-04 12:01:50 +03:00
Povilas Kanapickas 510e8123f3 genesys: Remove support for multiple motor power modes 2019-08-04 12:01:49 +03:00
Povilas Kanapickas 239eab6ea6 genesys: Simplify motor setup to make it easier to expand 2019-08-04 12:01:48 +03:00
Povilas Kanapickas e5a90e8005 genesys: Update all sensors when searching for reference point 2019-08-04 02:48:29 +03:00
Povilas Kanapickas 91b20fb268 genesys: Make sanei_genesys_search_reference_point() non-destructive 2019-08-04 02:48:28 +03:00
Povilas Kanapickas 38b97f1402 genesys: Include full session description into the device struct 2019-07-27 05:12:31 +03:00
Povilas Kanapickas f4401d501f genesys: Make asic type an enum 2019-07-27 05:12:30 +03:00
Povilas Kanapickas e34814aef8 genesys: Remove duplicate fields out of settings struct 2019-07-27 05:12:29 +03:00
Povilas Kanapickas a58b20d2c8 genesys: Move cmd_set from model to device struct 2019-08-02 22:39:04 +03:00
Povilas Kanapickas 035951933b Merge branch 'genesys-physical-register-state' into 'master'
genesys: Cache physical register state

See merge request sane-project/backends!111
2019-08-09 10:28:10 +00:00
Povilas Kanapickas f9a9d3f84a genesys: Cache physical register state in the device on writes 2019-08-02 22:39:01 +03:00
Povilas Kanapickas faab7b02e0 genesys: Cache physical register state in the device on bulk writes 2019-08-02 22:39:00 +03:00
Povilas Kanapickas 7836ea5778 genesys: Remove bulk_write_register from the cmd_set structures 2019-08-02 22:38:59 +03:00
Povilas Kanapickas f9b87de44a genesys: Remove manual allocations from calibration functions 2019-08-02 22:38:54 +03:00
Povilas Kanapickas 6b2919db9a genesys: Remove manual allocations in device class 2019-08-02 22:38:53 +03:00
Povilas Kanapickas 49b94dc09e genesys: Split genesys_low.h into several files 2019-08-02 22:35:16 +03:00
Povilas Kanapickas 3c6635559f genesys: Remove unused code 2019-08-02 22:31:58 +03:00
Povilas Kanapickas c036024810 genesys: Return errors as exceptions from genesys_buffer_image() 2019-07-27 10:12:35 +03:00
Povilas Kanapickas 748acbbb81 genesys: Simplify code by removing uses of RIE() macro 2019-07-27 10:12:34 +03:00
Povilas Kanapickas c6bbc5f773 genesys: Return errors as exceptions from genesys_read_ordered_data() 2019-07-27 10:12:33 +03:00
Povilas Kanapickas 1c030da1c2 genesys: Return errors as exceptions from image manipulation functions 2019-07-27 10:12:32 +03:00
Povilas Kanapickas 39e5daa7b4 genesys: Remove unused code 2019-07-27 10:12:31 +03:00
Povilas Kanapickas db2bb793d4 genesys: Remove obsolete comments 2019-07-27 10:12:30 +03:00
Povilas Kanapickas 107019c5de genesys: Return errors as exceptions from init_options() 2019-07-27 10:12:29 +03:00
Povilas Kanapickas 1fd16cd16b genesys: Return errors as exceptions from calc_parameters() 2019-07-27 10:12:28 +03:00