Commit graph

96 commits

Author SHA1 Message Date
Solomon Peachy a1c3406aab mitsu_cpm15: Add a detection entry (same VID/PID as the CP-M1) 2020-07-27 18:13:32 -04:00
Solomon Peachy f79500986f misc: Shut up a large pile of compile warnings with pedantic compilers 2020-03-24 18:23:00 -04:00
Solomon Peachy 559ab272f3 mitsu: Update documentation on a couple of structures 2020-03-06 08:55:52 -05:00
Solomon Peachy 80b5126a89 mitsud90: Further cutlist sanity checks. 2020-03-06 00:00:26 -05:00
Solomon Peachy 76c5efd5b7 mitsud90: Sanity check margin cut parameters. 2020-03-05 23:36:51 -05:00
Solomon Peachy 285a7d3cdd Mitsu_d90: Figured out the cutlist structure.
Had it all wrong, apparently...
2020-03-05 23:05:55 -05:00
Solomon Peachy 272b824ae5 mitsu_m1: New frivers expose "Fast" print speed. 2020-03-04 20:04:02 -05:00
Solomon Peachy 34b3c3331e mitsud90: Document various firmware revisions. Will eventually need to encode this. 2020-03-04 07:09:21 -05:00
Solomon Peachy d729011984 mitsud90: JOB footer, not PAGE footer! 2020-03-03 19:21:47 -05:00
Solomon Peachy 5d0b89e0e9 mitsu_m1: Figured out when to use the other Gamma table. 2020-03-03 11:29:52 -05:00
Solomon Peachy ad992a5a7b mitsu_m1: Correct the buffer offset used for OpRateMatte calculations 2020-03-03 07:33:30 -05:00
Solomon Peachy 40312f5c0b mitsu_m1: Move all image processing code into library. 2020-03-02 23:12:32 -05:00
Solomon Peachy d8fdaa7841 mitsu_m1: Sharpening is now implemented.
(Completely untested, beyond not crashing the regression suite)

Still need to move it into the library.
2020-03-02 22:06:34 -05:00
Solomon Peachy c2bd6eb619 mitsu_m1: Further updates to parsing and the test job. 2020-03-01 13:05:29 -05:00
Solomon Peachy eb00995139 mitsu_m1: Incomplete WIP sharpening code 2020-03-01 12:44:38 -05:00
Solomon Peachy 85c43087c4 mitsu_m1: Botched the test job dimensions 2020-03-01 12:44:21 -05:00
Solomon Peachy 71b0294d32 mitsud90: Don't treat job footer as part of the main payload 2020-03-01 11:06:19 -05:00
Solomon Peachy 4e0957543d mitsu_cpm1: Create some gutenprint regression entries 2020-02-29 16:13:21 -05:00
Solomon Peachy a2095a0ff7 mitsu_m1: Add in an 8bpp testjob, and fix a TON of bugs.
In theory, we're ready to try printing.
2020-02-29 15:40:01 -05:00
Solomon Peachy 077761be64 mitsu_m1: More fixes with job parsing 2020-02-29 00:04:43 -05:00
Solomon Peachy 327a5a2a68 mitsud90: bump backend version 2020-02-28 23:41:13 -05:00
Solomon Peachy 90338f0017 mitsu_m1: Fix up M1 info query so it actually works now.
(Might want to rework serial number query too)
2020-02-28 23:25:17 -05:00
Solomon Peachy a486a91dfb mitsu: Enhance media type reporting to handle per-model variations 2020-02-28 23:24:28 -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 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 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 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 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 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 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 d0e94694a3 Make a note of the new Mitsubishi CP-M15 model 2020-02-20 20:12:05 -05:00
Solomon Peachy 494a188f1a common: Allow CORRTABLE_PATH to be overrided at runtime. 2020-02-16 16:20:47 -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 1b6d98a292 mitsu: Document some more CP-M1 stuff, and move a little common code. 2020-02-11 21:15:08 -05:00
Solomon Peachy 5512a553db mitsud90: Remove redundant definition of CORRDATA_PATH 2020-02-06 15:53:15 -05:00
Solomon Peachy 959b2de744 Mitsubishi: Start pulling common code into a separate code module. 2020-02-05 18:50:58 -05:00
Solomon Peachy d4fb31de28 cpm1: Initial CPC data loading/parsing. 2020-02-05 12:29:25 -05:00
Solomon Peachy bff5d1df5c mitsud90: Documentation tweak. 2020-01-30 22:10:07 -05:00
Solomon Peachy 697486b467 All: Leave the "prefix" list for family or backwards-compatible names only.
...use the name in the DEVICE entry for backend matches!
2020-01-30 22:08:55 -05:00
Solomon Peachy 626a49f05d Misc: Update address for FSF.
Also fix the copyright year for a few files.
2020-01-17 16:50:56 -05:00
Solomon Peachy d3b8c2ae52 ... 2019-12-23 22:56:00 -05:00
Solomon Peachy 1ab0cf86eb mitsud90: More guesses about the status query responses 2019-12-23 21:58:05 -05:00
Solomon Peachy 3e1a536058 mitsud90: Tweak the output of the dumpall coammand:
* Fixed-width field dump (ie '%02x' instead of '%x')
 * Strip out common header
2019-12-22 22:39:38 -05:00
Solomon Peachy cfefb35bc2 mitsud90: Doc update 2019-12-21 20:49:36 -05:00
Solomon Peachy d38271dd58 mitsud90: Preliminary STATS support. Still need lifetime counter and FW version. 2019-12-21 20:45:04 -05:00