Commit graph

27 commits

Author SHA1 Message Date
Solomon Peachy 9abe62b115 build: MinGW now compiles selphy_print cleanly.
Need to test it out. Especially the dynamic DLL loading.
2020-01-26 00:41:48 -05:00
Solomon Peachy d0d6ef32b4 misc: Clean up endian macros, eliminate use of ntohs and friends. 2020-01-25 07:33:52 -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 f8dc40cf90 Fix boneheaded bug in lib70x code. 2019-12-03 07:16:10 -05:00
Solomon Peachy 7647aa7c3a Build: Use 'pkg-config' to figure out where to put backend data files.
(If it doesn't work, then default to '/usr/local/')
2019-10-15 22:09:24 -04:00
Solomon Peachy edd1facf8c lib70x: Fix a compilation warning. 2019-10-15 22:09:03 -04:00
Solomon Peachy 4e435ae533 all: compile with -D_FORTIFY_SOURCE=2
We'll see how this goes.
2019-07-01 09:36:42 -04:00
Solomon Peachy 70b10a55dd misc: It's 'Fujifilm', not 'Fuji' 2019-05-26 22:35:44 -04:00
Solomon Peachy 9ae4330a66 mitsu98xx: Start using lib70x -- 3D LUT only for now. 2019-02-26 07:23:14 -05:00
Solomon Peachy 9025bd8cd0 Add a note about lib70x support for the CP98xx model series 2019-02-26 07:01:40 -05:00
Solomon Peachy 7b4a12758f mitsu98xx: Continue to rejigger internals to prepare for library.
* "raw" expects lamination data, always
 * non-raw now expects packed 8bpp BGR data, single plane
 * gamma correction function converts packed BGR8 -> planar YMC16.
 * 3D LUTs implemented.  (lifted from lib70x)
2018-04-20 16:23:03 -04:00
Solomon Peachy c718b5ae9d mitsu98xx: Use the gamma tables out of the $OtherOS driver.
A lot of additional work is needed still, including Gutenprint.
2018-04-18 21:12:27 -04:00
Solomon Peachy 256dedbe73 mitsu9550: Support reading the 9810/9820 lamination data from disk.
...It's how the official mistu drivers do things!
2018-01-21 21:36:29 -05:00
Solomon Peachy 5b40d2e216 All: Add 'SPDX-License-Identifier' headers to all source files.
(GPL-3.0+ for everything but the S6145 backend, which is GPL-3.0+
   with an additional permission)
2017-11-17 13:34:26 -05:00
Solomon Peachy 87683e610a mitsu70x: Major update.
Long story short, Library was sending rows in the wrong order, but to
 fix this, the row data needed to be reversed so the images weren't
 mirrored.

 Library given an extension (and API bump) to allow it to swap if
 necessary.  Backend tells library to swap unless Gutenprint is feeding
 data in that is in the correct order.

 For Gutenprint 5.2.12, this code will reverse the data.  Future
 Gutenprint releases will do the right thing so no swapping is needed.
2017-03-19 19:29:37 -04:00
Solomon Peachy 9603d5d262 mitsu70x: Enhancements for the D80 in Superfine mode
* Needs to switch between two different CPC files based on image
 * Split out K60/D70/D80 processing into their own functions
   * Rewind handled differently on K60 vs D80
 * Library needed an API bump to accomodate this

 * Lots of further library cleanups (no functional change)
2017-03-17 21:50:50 -04:00
Solomon Peachy f0498af274 lib70x: Update to 0.5
Fixed a couple more bugs, and better annotation in more places.

Output is incrementally better, but still showing some smearing.
2017-03-16 22:20:33 -04:00
Solomon Peachy c3a4f4111d lib70x: Several bugfixes to the library, plus a pile of cleanups.
It's still not quite right...
2017-03-15 23:42:19 -04:00
Solomon Peachy af0905a6d9 lib70x: Further cleanups, and add an API version query. 2017-03-14 23:20:33 -04:00
Solomon Peachy b1f078b624 lib70x: Minor updates and cleanups; no functional changes. 2017-03-14 22:37:32 -04:00
Solomon Peachy be6e481d17 Update library READMEs to include the ldconfig stuff. 2017-01-13 19:09:35 -05:00
Solomon Peachy 35ae9aba9c lib70x: Add in the latest "v4.0" CPC files for the EK305.
Required for media coming out in Jan 2017.
(new media also requires 1.04 firmware!)
2016-12-02 07:50:17 -05:00
Solomon Peachy eff62b73f5 lib70x: Convert all cpc files to UNIX line endings. 2016-12-02 07:49:48 -05:00
Solomon Peachy 755eb9ed22 lib70x: Fix crashes and other fun in the rewind code. 2016-10-19 23:46:25 -04:00
Solomon Peachy fd22189a40 lib70x: Implement rewind detection support. Disabled for the moment. 2016-10-19 21:21:34 -04:00
Solomon Peachy 741718b445 mitsu70x: default data path should be /usr/local instead. 2016-10-06 08:20:52 -04:00
Solomon Peachy 8d54da9ded mitsu70x: Bundle the library and rearrange a few things.
The backend still doesn't dynamically load it yet, but that's next.
2016-10-05 09:52:56 -04:00