From 5476128f0a88217414f05e6a7ee518cdb411d026 Mon Sep 17 00:00:00 2001 From: raftias Date: Thu, 1 Dec 2016 13:44:07 -0500 Subject: Added CMYK support for ICC profiles. Changed ICC parsing/SkGammas/SkColorLookUpTable to handle non-3-channel inputs. Parsed CMYK A2B ICC profiles. Integrated this with SkJpegCodec (the only file that supports CMYK) and SkColorSpaceXform_A2B to allow parsing and color xforming of ICC CMYK images. CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD Change-Id: I11e3d17180244281be3eb43fd608609925a7f71e Reviewed-on: https://skia-review.googlesource.com/5444 Reviewed-by: Matt Sarett Commit-Queue: Matt Sarett --- src/core/SkRasterPipeline.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/SkRasterPipeline.h') diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h index 9e8f8f7906..7338c4d001 100644 --- a/src/core/SkRasterPipeline.h +++ b/src/core/SkRasterPipeline.h @@ -76,7 +76,8 @@ M(matrix_2x3) M(matrix_3x4) M(matrix_4x5) \ M(matrix_perspective) \ M(parametric_r) M(parametric_g) M(parametric_b) \ - M(table_r) M(table_g) M(table_b) \ + M(parametric_a) \ + M(table_r) M(table_g) M(table_b) M(table_a) \ M(color_lookup_table) M(lab_to_xyz) \ M(clamp_x) M(mirror_x) M(repeat_x) \ M(clamp_y) M(mirror_y) M(repeat_y) \ -- cgit v1.2.3