Commit graph

89 commits

Author SHA1 Message Date
Solomon Peachy 21bba6ea48 Minor doc updates 2024-06-04 21:32:40 -04:00
Solomon Peachy e44fbc2d0c lib70x: More fixes with respect to rewinding on the D80
* Only the EK305 uses a 10-entry REV table; the rest only use 4
 * Implement logic for 4-entry REV table lookups
 * On the D80, if we have to switch to the ECPC table, we also
   need slow from SF to UF print speeds.
2024-06-03 21:57:59 -04:00
Solomon Peachy 2fd196259b lib70x: Corrections with CP-D80 and rewind / superfine operation
* Use of ecpc has nothing to do with rewindability
  * Libary lacks awareness of print speed so stay out of rewind decision

This is an API change, so bump the version.
2024-06-02 16:16:08 -04:00
Solomon Peachy 478321be55 Minor corrections to the various image processing library READMEs 2024-01-23 21:05:09 -05:00
Solomon Peachy 30557772c1 mitsud90: add csv data files for D90 family. 2023-12-21 20:45:27 -05:00
Solomon Peachy c0a9f7499c mitsud90: Add in a LUT for the D90, may be needed in panorama mode
(The LUT needs to be done _before_ the panel split, so it can't be done
 in-printer)
2023-12-20 19:55:52 -05:00
Solomon Peachy afc7b18229 lib70x: Two bugfixs with respect to the CP9800 family
1) WMAM structure wasn't being initialized properly
   * Incorrect coefficents on two data arrays
   * Incorrect source in a memcpy for a weight factor table
 2) Buffer overflow in the output work buffer because it was
    incremented by one ROW for each pixe.

Who knows, the printer family might even print properly now?
2023-11-25 21:42:16 -05:00
Solomon Peachy 1c455529a1 lib70x: More cleanups in the CP98xx code. 2023-11-04 10:20:05 -04:00
Solomon Peachy e2dd3e8217 misc: Another round of CONSTification 2023-11-01 21:17:43 -04:00
Solomon Peachy f1c2004666 misc: misc fixes to make cppcheck & clang-analyze happier
Most of these are CONSTifying arguments, but there are some memory leaks too
2023-11-01 16:16:26 -04:00
Solomon Peachy a9b72fccd4 lib70x: Cleanups and a couple of bugfixes for the CP98xx code 2023-10-12 00:46:39 -04:00
Solomon Peachy 71a8c8f016 lib70x: Update copyright year 2023-10-09 22:56:16 -04:00
Solomon Peachy eb2f6f6c42 lib70x: For CP98xx, byteswap entire output buffer
Instead of just the first half.  oops.
2023-10-09 22:34:18 -04:00
Solomon Peachy 7e76625b67 lib70x: WIP (and incomplete) sharpening code for the CP98xx and CP30 2023-06-17 18:57:17 -04:00
Solomon Peachy 26f766c129 lib70x: Update documentation to include the D70-S/D707-S variants 2022-04-20 10:12:10 -04:00
Solomon Peachy 2bb883f49a Update copyright year on a few files 2021-08-19 23:40:45 -04:00
Solomon Peachy 85512ec8f2 lib70x: Fix a rewind check regression in the CPD80 processing code 2021-08-14 08:09:36 -04:00
Solomon Peachy b7e615c9ba lib70x: Rework the rewind logic a little bit
* Support additional rewind sizes listed in updated EK305 CPC files
 * Some failure paths in the rewind checks could leave rewind enabled
2021-08-13 08:22:39 -04:00
Solomon Peachy 248a0041ea Kodak305: updated CPC data files
Expands rewind table from 4 to 10 entries
2021-08-13 07:43:12 -04:00
Solomon Peachy 4dab34a2fb lib70x: Documentation updates 2021-06-28 22:50:32 -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 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 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 e1eb2692f8 mitsu cp30dw: Add LUT filename. 2020-11-28 21:59:35 -05:00
Solomon Peachy 1bd14cff80 Pull image processing announcement blurbs into the main program 2020-08-11 13:25:33 -04:00
Solomon Peachy c096b741a3 lib70x: get rid of some printf()s 2020-08-11 12:58:19 -04:00
Solomon Peachy d88aa836a6 further documentation updates 2020-08-10 08:04:05 -04:00
Solomon Peachy 458b80af55 lib70x: Fix 64-bit float byte order conversion
(Data tables are IEEE754 Big Endian)
2020-06-08 19:48:58 -04:00
Solomon Peachy 3fd61640e4 lib70x: Fix multiple errors in the CP98xx gamma code. 2020-06-08 19:48:42 -04:00
Solomon Peachy 75583174a7 lib70x: Hopefully fix a reverse image problem for the cp98xx series 2020-06-04 20:04:37 -04:00
Solomon Peachy 6474364125 lib70x: Clean up a few variable names. No functional change. 2020-03-21 22:11:57 -04:00
Solomon Peachy 22c1fb9202 mitsu_m1: Add ICC profile and updated gamma table for CP-M1 and CP-M15 2020-03-20 09:41:12 -04:00
Solomon Peachy 5a7adc735c Update data file READMEs 2020-03-07 23:57:12 -05:00
Solomon Peachy 559ab272f3 mitsu: Update documentation on a couple of structures 2020-03-06 08:55:52 -05:00
Solomon Peachy 913af03b57 misc: Update copyright year in the program output.
(File headers were correct, but interactive use was wrong..)
2020-03-03 18:48:33 -05:00
Solomon Peachy 4c5e93811e misc: Fix a small pile of static analysis problems 2020-03-03 00:16:05 -05:00
Solomon Peachy f697ccbffe mitsu_m1: Update READMEs and other documentation. 2020-03-02 23:32:11 -05:00
Solomon Peachy 5e19a0787e lib70x: Bump version. 2020-03-02 23:17:35 -05:00
Solomon Peachy 40312f5c0b mitsu_m1: Move all image processing code into library. 2020-03-02 23:12:32 -05:00
Solomon Peachy 5887d248b7 lib70x: Eliminate some dead debug code 2020-02-29 16:12:56 -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 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 86b49ccd70 lib70x: Comments and other docs updated. 2020-02-20 11:56:14 -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 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 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