Povilas Kanapickas
687b549f0a
genesys: Use ScanSession to compute ccd_size_divisor on all chips
2019-08-18 10:37:49 +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
a31da79e07
genesys: Compute cksel from register descriptions on gl646
2019-08-17 12:02:44 +03:00
Povilas Kanapickas
0cd26a8adf
genesys: Extract resolution filtering to separate class
2019-08-17 11:56: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
d9fab3a7d8
genesys: Fix incorrect channel count when fetching ccd_size_divisor
...
All current scanners use the same divisor on both 1 and 3 channels, so
this commit does not change behavior.
2019-08-17 11:49:10 +03:00
Povilas Kanapickas
e8d9b6ff5d
genesys: Reduce duplication in the Sensor_Master struct list
2019-08-17 11:49:09 +03:00
Povilas Kanapickas
f228e427a9
genesys: Store sensor settings in std::vector on gl646
2019-08-17 11:49:08 +03:00
Povilas Kanapickas
a8ed3df0fd
genesys: Merge Sensor_Settings struct to Sensor_Master
2019-08-17 11:49:07 +03:00
Povilas Kanapickas
c001662c05
genesys: Reorder the components on Sensor_Master struct
2019-08-17 11:49:06 +03:00
Povilas Kanapickas
71a467ddf3
genesys: Remove unused data from Sensor_Master on gl646
2019-08-17 11:49:05 +03:00
Povilas Kanapickas
b19720cfa1
genesys: Simplify sensor register desc by matching ccd_size_divisor
2019-08-17 11:49:04 +03:00
Povilas Kanapickas
e36d6b8fb5
genesys: Simplify exposure setting on gl646
2019-08-17 11:49:03 +03:00
Povilas Kanapickas
a4a1003ffc
genesys: Rename Sensor_Master::{exposure->exposure_lperiod}
2019-08-17 11:49:02 +03:00
Povilas Kanapickas
a3a3647006
genesys: Compute dpiset instead of storing it in tables on gl646
2019-08-17 11:49:01 +03:00
Povilas Kanapickas
d2d43d5ed8
genesys: Make sensor table initialization more generic on gl646
2019-08-17 11:49:00 +03:00
Povilas Kanapickas
1330d2289b
genesys: Correctly initialize Sensor_Master struct
2019-08-17 11:48:59 +03:00
Povilas Kanapickas
eb4fb44048
genesys: Fix missing return from a previous refactor
2019-08-17 11:30:33 +03:00
Povilas Kanapickas
107404dcd0
genesys: Move ccd_size_divisor computation to compute_session()
2019-08-17 11:11:15 +03:00
Povilas Kanapickas
92412a90b2
genesys: Create compute_session() for common session computation
2019-08-17 11:11:14 +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
1902c9fbcb
genesys: Fix sensor const safety in *_search_start_position()
2019-08-17 11:05:36 +03:00
Povilas Kanapickas
f019f9e7b8
genesys: Don't modify sensor in *_led_calibration()
2019-08-17 11:05:35 +03:00
Povilas Kanapickas
53d447b6dc
genesys: Move GL846 sensor profiles to a common sensor array
2019-08-17 11:02:39 +03:00
Povilas Kanapickas
4978eceda3
genesys: Move GL847 sensor profiles to a common sensor array
2019-08-17 11:02:38 +03:00
Povilas Kanapickas
63cc11bce1
genesys: Move GL124 sensor profiles to a common sensor array
2019-08-17 11:02:37 +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
7872f87475
genesys: Move all gpio settings to a single struct on GL843
2019-08-17 10:38:58 +03:00
Povilas Kanapickas
8fce6b624c
genesys: Don't perform offset and gain calibration on unknown frontends
2019-08-17 10:27:42 +03:00
Povilas Kanapickas
5580fc0db1
genesys: Add frontend type to the layout struct
2019-08-17 10:27:41 +03:00
Povilas Kanapickas
a76a2a096e
genesys: Implement a way to override DPISET on GL124 and GL843
2019-08-17 10:21:04 +03:00
Povilas Kanapickas
db15a75504
genesys: Add a way to override dpihw
2019-08-17 10:21:03 +03:00
Povilas Kanapickas
458e31a0c0
genesys: Extract setting of DPIHW to a separate function
2019-08-17 10:21:02 +03:00
Povilas Kanapickas
759e450b6b
genesys: Reduce logical duplication in GenesysRegisterSettingSet
2019-08-17 10:02:40 +03:00
Povilas Kanapickas
543ba367bc
genesys: Rename GenesysRegisterSettingSet::{regs_->registers_}
2019-08-17 10:02:39 +03:00
Olaf Meeuwissen
f37326784d
Merge branch 'ci-tweaks' into 'master'
...
CI tweaks
See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen
740f013292
CI: Document the various jobs
2019-08-12 18:01:35 +09:00
Olaf Meeuwissen
5aa84ed9ea
CI: Drop Debian 9 mini build
...
The "mini" build scenario is sufficiently covered by Debian 10 mini.
Considering the Debian 9 is now oldstable, there is not much value in
keeping it around.
2019-08-12 17:39:54 +09:00
Olaf Meeuwissen
69044bdffe
CI: Drop Fedora 29 compile job
...
It's package version make up is too similar to Debian 10 for it to be
worth the CPU cycles.
2019-08-12 17:38:54 +09:00
Olaf Meeuwissen
08bff060f8
CI: Fix make distclean target
...
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Olaf Meeuwissen
1f1b9dcd56
CI: Only keep snapshots for 90 days
...
The snapshots aren't meant to stay around forever, that's for releases.
2019-08-11 12:59:07 +09:00
Olaf Meeuwissen
8cb53a191e
CI: Move after_script: from stretch to buster
...
This follows c90e9674e7
.
2019-08-11 12:52:03 +09:00
Olaf Meeuwissen
14e7ba47dd
CI: Speed up compile stage jobs
2019-08-11 12:49:19 +09:00
Olaf Meeuwissen
68d70def14
autofoo: Fix ltmain.sh.patch offsets to match new version
2019-08-11 12:22:19 +09:00
Olaf Meeuwissen
041ea5f53c
japi: Fix BUILT_SOURCES dependency
...
Newer automake versions have the dist target depend on BUILT_SOURCES
so that variable should not heavy build dependencies. This fixes the
dist target sufficiently, for CI purposes at least, in that it leads
to inclusion of the same list of files. Note that CI does not build
anything in the japi/ directory.
2019-08-11 12:10:07 +09:00