Commit graph

110 commits

Author SHA1 Message Date
Solomon Peachy 1abd74fbf3 mitsud90: accidently deleted some comments 2021-05-14 12:23:39 -04:00
Solomon Peachy fe5e8f38c2 mitsud90: Add test print capabilities, and document test stuff seen 2021-05-14 11:08:23 -04:00
Solomon Peachy aaa63cac89 mitsu70x: Support Mitsubishi CP-K60DW-S "HG" media
Apparently there's a "media subtype' field, and HG media needs a
different calibration data file.
2021-05-14 09:15:03 -04:00
Solomon Peachy e3ab11a975 misc: Get rid of all USB_VID_*/USB_PID_* definitions
Directly reference the IDs in the lookup tables, like in linux-kernel
2021-04-16 21:12:54 -04:00
Solomon Peachy bb9e38d85b mitsud90: Clean out a couple of now-completed items on the todo list 2021-04-16 20:26:29 -04:00
Solomon Peachy 923e4ffeaf mitsud90: Make the LUT code not dependent on the CP-M1 series.
(ASK500 doesn't support a LUT at present, but have the code ready)
2021-03-22 21:41:43 -04:00
Solomon Peachy 6e5cdca81f mitsud90: Report the MAIN fw version in the status dump. 2021-03-22 21:41:23 -04:00
Solomon Peachy e450d6f496 mitsud90: Initial support for the Fujifilm ASK-500
Looks to be a near-identical clone of the CP-M1 series, albeit with
different color curves and no LUT.

Currently untested, as I don't know the USB VID/PID.  Gutenprint
support not yet committed.
2021-03-15 17:08:43 -04:00
Solomon Peachy 8a4fd56c13 Update shaftnet.org URLS from http -> https
Update copyright year as appropriate
2021-01-23 10:47:01 -05:00
Solomon Peachy d2e7da6ad6 mitsud90: Implenent the backend bits needed to support panorama prints
That _should_ be everything.  Still don't know what special sauce
is needed to actually generate the overlapping panels.
2021-01-14 07:57:14 -05:00
Solomon Peachy fde51ddcf4 mitsu_m1: Add support for new "vivid" color profile
(the new "natural" profile is identical to the old standard one)
2020-12-25 20:28:20 -05:00
Solomon Peachy c14dc23de3 lib70x: Library enhancements for CP30D family
* 3D LUT processed in planar format
 * Sharpening support (not implemented yet)
2020-12-05 18:42:46 -05:00
Solomon Peachy cfe0fd8004 common: the 'dyesub_backend' structure is now const everywhere. 2020-10-05 22:27:08 -04:00
Solomon Peachy 322ad8d7b7 common: Introduce a common USB connection object, and use it! 2020-08-12 20:04:54 -04:00
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