summaryrefslogtreecommitdiffstats
path: root/backend_mitsud90.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-12-05 18:14:33 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-12-05 18:42:46 -0500
commitcae7349fdc66eb8620d85c2576ba1ddff4a52834 (patch)
treeb9952a09c62be6d380d31547e26822dbee7e7458 /backend_mitsud90.c
parenta5561a8d468a6c31ac1a7a6676cc75affa1a0209 (diff)
downloadselphy_print-cae7349fdc66eb8620d85c2576ba1ddff4a52834.tar.gz
selphy_print-cae7349fdc66eb8620d85c2576ba1ddff4a52834.tar.bz2
selphy_print-cae7349fdc66eb8620d85c2576ba1ddff4a52834.zip
lib70x: Library enhancements for CP30D family
* 3D LUT processed in planar format * Sharpening support (not implemented yet)
Diffstat (limited to 'backend_mitsud90.c')
-rw-r--r--backend_mitsud90.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/backend_mitsud90.c b/backend_mitsud90.c
index 10789e9..70a38da 100644
--- a/backend_mitsud90.c
+++ b/backend_mitsud90.c
@@ -842,11 +842,11 @@ static int mitsud90_read_parse(void *vctx, const void **vjob, int data_fd, int c
job->hdr.colorcorr = 1;
if (job->m1_colormode == 0) {
- int ret = mitsu_apply3dlut(&ctx->lib, CPM1_LUT_FNAME,
- job->databuf + sizeof(struct mitsud90_plane_hdr),
- be16_to_cpu(job->hdr.cols),
- be16_to_cpu(job->hdr.rows),
- be16_to_cpu(job->hdr.cols) * 3, COLORCONV_RGB);
+ int ret = mitsu_apply3dlut_packed(&ctx->lib, CPM1_LUT_FNAME,
+ job->databuf + sizeof(struct mitsud90_plane_hdr),
+ be16_to_cpu(job->hdr.cols),
+ be16_to_cpu(job->hdr.rows),
+ be16_to_cpu(job->hdr.cols) * 3, COLORCONV_RGB);
if (ret) {
mitsud90_cleanup_job(job);
return ret;