Commit Graph

1864 Commits

Author SHA1 Message Date
Solomon Peachy 7a985c2697 mitsu_p9x: Fix execution in test mode. 2020-02-28 22:01:35 -05:00
Solomon Peachy d9bf9c8001 Add Mitsubishi CP-M1 to blacklist. 2020-02-28 16:01:34 -05:00
Solomon Peachy 2486d75715 mitsu_cpm1: enable regression job 2020-02-28 15:58:54 -05:00
Solomon Peachy acd4069dee mitsu_m1: Now have a VID/PID! 2020-02-28 15:00:39 -05:00
Solomon Peachy 1df1f24db6 mitsud90: Report correct model name in the stats info 2020-02-28 09:02:39 -05:00
Solomon Peachy 5567aa748c sonyupdneo: Provide an example status dump from the SDP1000 2020-02-27 22:38:59 -05:00
Solomon Peachy 7114c1cbc2 mitsu_m1: Always free the CPC data after we're done with it. 2020-02-27 20:38:21 -05:00
Solomon Peachy 74e32bd688 mitsu_m1: Don't forget to free the CPC data. 2020-02-27 20:03:19 -05:00
Solomon Peachy 86f0a1bb8f mitsu_m1: A couple of bug fixes
* Correct "glossy overprint rate" calculation
 * Allocate the correct buffer size for matte data
2020-02-27 18:59:31 -05:00
Solomon Peachy 7b9136e1ea blacklist update. 2020-02-27 11:57:02 -05:00
Solomon Peachy 6505ec5d91 mitsu: Don't abort on attaching if the library isn't loaded.
Instead, only abort on job parsing, and even then only if it's necessary.
2020-02-27 11:53:31 -05:00
Solomon Peachy a0e3326316 sonyupdneo: Add USB ID for Stryker SDP1000 (rebaded UP-DR80MD) 2020-02-27 07:12:42 -05:00
Solomon Peachy ae990da966 mitsup9x: Fix an inverted test. 2020-02-26 21:27:36 -05:00
Solomon Peachy 7b0a94f5a4 mitsup9x: Detect different iSerial modes, and complain appropriately. 2020-02-26 21:23:43 -05:00
Solomon Peachy a37678f9f8 dnp_citizen: Better sanitization of the iManufacturer string 2020-02-26 21:11:14 -05:00
Solomon Peachy d751e9b6d3 mitsu_p95: Document the differences between the three iSerial modes
(Need to add support for querying iSerial and reporting it, plus
 detecting mode 2 and suggesting changing it to mode 1)
2020-02-26 20:40:13 -05:00
Solomon Peachy eeeda9a116 misc: Use GCC builtins for byteswapping.
(On most CPUs this translates to single-cycle operations.  1.2% binary
size shrink on x86_64, for example)
2020-02-26 16:02:42 -05:00
Solomon Peachy 505d8e2b15 mitsu_m1: image data is in LITTLE endian format.
Everything else is big endian.  *grumble*
2020-02-26 15:59:44 -05:00
Solomon Peachy c62a79d908 mitsu_m1: Add in a windows-generated testjob.
(Doesn't work yet, but it's there..)
2020-02-25 22:01:42 -05:00
Solomon Peachy 3fc3af6dac mitsud90: Further lessons on the panorama header.
(Not that we're any closer to having panorama support, but knowledge is good!)
2020-02-25 21:44:27 -05:00
Solomon Peachy 0747f75c5c build: Make the build prettier. 2020-02-25 21:43:58 -05:00
Solomon Peachy b750c4bf83 mitsux70x: static assertion for header. 2020-02-25 21:27:12 -05:00
Solomon Peachy 74219c849a mitsu_m1: A couple more fixes. 2020-02-25 21:22:11 -05:00
Solomon Peachy ff422af49e mitsu_m1: More work on enablement
* Properly copy over job header and footer
 * Correct header definitions for M1 (based on Windows dumps)
 * Add packed attributes to fixed structures
 * static assertions for header lengths

ToDo:

 * Define RAW vs non-RAW flag in header
 * Define sharpening flag in header
 * Sharpening code
 * ???
 * Profit
2020-02-25 21:07:50 -05:00
Solomon Peachy a0ca92d25b common: Add support for compile time assertions.
(Allows us to check header lengths are sane)
2020-02-25 21:02:10 -05:00
Solomon Peachy 3407c7ce22 mitsu_cpm1: Perform gamma correction.
Main thing left is the CLE stuff, but that appears to only happen if
Sharpening is turned on.

Oh, and a ton of testing.  Or any testing at all.
2020-02-25 01:24:23 -05:00
Solomon Peachy 5fe0fd3cda lib70x: A few more documentation/comment updates. 2020-02-24 08:39:16 -05:00
Solomon Peachy 11d301e46b lib70x: Correct a subtle color correction bug
Initialized the wrong data structure, causing faint ghosting in very light
areas closer to the start of the print/.

This was first reported on the K60 and EK305, but presumably affected
all members of the family.
2020-02-20 22:07:19 -05:00
Solomon Peachy d0e94694a3 Make a note of the new Mitsubishi CP-M15 model 2020-02-20 20:12:05 -05:00
Solomon Peachy 86b49ccd70 lib70x: Comments and other docs updated. 2020-02-20 11:56:14 -05:00
Solomon Peachy 547e353513 Clean up the Mitusbishi ICC profile lists. 2020-02-20 11:41:52 -05:00
Solomon Peachy 023df719c6 lib70x: Bugfixes for cp98xx gamma table generation and application
(And a pile of minor readability improvements)
2020-02-19 20:43:18 -05:00
Solomon Peachy 84e3dfd78b build: A few more improvements in the makefile 2020-02-17 20:12:23 -05:00
Solomon Peachy e7407f0675 build: don't screw up when there's no gutenprint header. 2020-02-17 19:48:37 -05:00
Solomon Peachy 976fc628d6 build: Improvements around testing
* Consolidate backend data files into one place
 * Use local (ie not-system) for test targets
 * Build dependency fixes
2020-02-17 10:44:54 -05:00
Solomon Peachy 79895460fa mitsu98xx: Correct an error message. 2020-02-17 10:33:37 -05:00
Solomon Peachy bd65001ca4 lib70x: Fix a logic error introduced by unsigned integer underflow 2020-02-16 16:56:09 -05:00
Solomon Peachy 494a188f1a common: Allow CORRTABLE_PATH to be overrided at runtime. 2020-02-16 16:20:47 -05:00
Solomon Peachy e3120aa9bc Mitsubishi CP-M1 data files 2020-02-16 14:06:32 -05:00
Solomon Peachy 9cd61ac571 mitsu_m1: Fill in the beginning of CP-M1 support.
* Calculate opRate and rgbRate
 * Matte plane loading
 * set up input and output BandImages
 * Placeholders for remaining stuff

Notaby missing:

 * How to tell which gamma table to use
 * USB PID
2020-02-16 14:03:29 -05:00
Solomon Peachy 8a135cbda4 lib70x: 98xx input data is BGR. Mitsu code assumes RGB! 2020-02-14 11:28:23 -05:00
Solomon Peachy 8702af49b2 lib70x: Corrected errors in the 98xx gamma code.
* Figured out the in_r8 and in_r9 parameters (always set)
  * Fixed bad loop initializers in Gamma Table setup
  * Minor readability improvements
2020-02-14 11:24:22 -05:00
Solomon Peachy 763028f111 lib70x: Wrong Blue->Yellow gamma base used in the CP98xx gamma code. 2020-02-14 10:28:16 -05:00
Solomon Peachy 07e5bc3d9b lib70x: Fix Sharp_CopyLine()
As part of the copyline function, we have to fill in the "extra"
head/tailroom on either end.  Headroom was done correctly, but tailroom
was not, instead overwriting the head room of of the next row.

This probably has no visible effect on the image, but it was incorrect.
2020-02-14 07:32:04 -05:00
Solomon Peachy 014fc03d8d lib70x: More commenting cleanups.
* Re-enabled some redundant code just for accuracy's sake
 * Added a (disabled) "workaround" for EK305/K60 data table quirk
2020-02-14 06:59:56 -05:00
Solomon Peachy 950cd7b0b2 lib70x: Minor cleanups. No functional changes. 2020-02-13 10:47:27 -05:00
Solomon Peachy ef666ba37e mitsu98xx: Significant fixes
* Cleanup library code loop conditionals
 * Reverse row data if needed
 * Convert packed YMC16 to planar YMC16
 * Send data to printer last row first (ie matching processing flow)
2020-02-12 20:07:03 -05:00
Solomon Peachy 6cb17fc183 build: Handle a lack of gutenprint headers a little more gracefully 2020-02-11 21:41:24 -05:00
Solomon Peachy 81b78aa17c common: Fix probing when you don't specify a unique model.
(whoops!)
2020-02-11 21:33:58 -05:00
Solomon Peachy 1b6d98a292 mitsu: Document some more CP-M1 stuff, and move a little common code. 2020-02-11 21:15:08 -05:00