diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2009-10-02 23:48:53 +0000 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2009-10-02 23:48:53 +0000 |
commit | dbfbed3ca3306d7b03bc7ea0941001bc086fff94 (patch) | |
tree | 5496243f6c99e16934d280e4fb08362a39d21d40 /gs/base/gstparam.h | |
parent | 7a2f7d30a69eab7e7a9c51d0f7448826fc1a8d18 (diff) |
Initial work on getting the ICC profile working as colorspaces for the transparency buffers. This commit has a GC issue that I need to track down.
DETAILS:
This adds a profile cache (which is actually a linked list) to the project. This cache will be for use during clist operation since it will store the ICC profiles for the transparency buffers in a manner similar to what is done for with the pattern cache. Also, added in the logic and communication of the profile information through the pdf14 compositor actions. The next step is to enable the writing and reading of the ICC profiles from the clist (and to track down my GC issue). There is also a minor change to pdf_draw.ps to properly communicate the color space of the group when it is an indirect referenced object. Thanks to Alex for this fix.
git-svn-id: http://svn.ghostscript.com/ghostscript/branches/icc_work@10116 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gstparam.h')
-rw-r--r-- | gs/base/gstparam.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gs/base/gstparam.h b/gs/base/gstparam.h index c0bc24f27..409f42827 100644 --- a/gs/base/gstparam.h +++ b/gs/base/gstparam.h @@ -19,6 +19,7 @@ #include "gsccolor.h" #include "gsrefct.h" +#include "gscspace.h" /* Define the names of the known blend modes. */ typedef enum { @@ -87,6 +88,7 @@ typedef struct gs_transparency_group_params_s { uint mask_id; int group_color_numcomps; gs_transparency_color_t group_color; + cmm_profile_t *iccprofile; /* The profile */ } gs_transparency_group_params_t; /* Define the parameter structure for a transparency mask. */ @@ -109,6 +111,7 @@ typedef struct gs_transparency_mask_params_s { int (*TransferFunction)(floatp in, float *out, void *proc_data); gs_function_t *TransferFunction_data; bool replacing; + cmm_profile_t *iccprofile; /* The profile */ } gs_transparency_mask_params_t; #define MASK_TRANSFER_FUNCTION_SIZE 256 @@ -127,6 +130,7 @@ typedef struct gx_transparency_mask_params_s { bool replacing; uint mask_id; byte transfer_fn[MASK_TRANSFER_FUNCTION_SIZE]; + cmm_profile_t *iccprofile; /* The profile */ } gx_transparency_mask_params_t; /* |