diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2013-07-23 16:24:19 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2015-07-20 18:21:17 +0100 |
commit | 6948650efd3fb9e2a70b8cf16aca57e9d0b7eb0a (patch) | |
tree | 5c2a1c671c1d4521f8a770d1e69e3d4342718030 /base/gsicc_create.h | |
parent | 7fd9e0be26e67c36f87733bc89ea07dc26d9f839 (diff) | |
download | ghostpdl-6948650efd3fb9e2a70b8cf16aca57e9d0b7eb0a.tar.gz |
Commit of build_consolidation branch
Squashed into one commit (see branch for details of the evolution of the
branch).
This brings gpcl6 and gxps into the Ghostscript build system, and a shared
set of graphics library object files for all the interpreters.
Also, brings the same configuration options to the pcl and xps products as we
have for Ghostscript.
Diffstat (limited to 'base/gsicc_create.h')
-rw-r--r-- | base/gsicc_create.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/base/gsicc_create.h b/base/gsicc_create.h new file mode 100644 index 000000000..7d69d47f4 --- /dev/null +++ b/base/gsicc_create.h @@ -0,0 +1,47 @@ +/* Copyright (C) 2001-2012 Artifex Software, Inc. + All Rights Reserved. + + This software is provided AS-IS with no warranty, either express or + implied. + + This software is distributed under license and may not be copied, + modified or distributed except as expressly authorized under the terms + of the license contained in the file LICENSE in this distribution. + + Refer to licensing information at http://www.artifex.com or contact + Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, + CA 94903, U.S.A., +1(415)492-9861, for further information. +*/ + + +#ifndef gsicc_create_INCLUDED +# define gsicc_create_INCLUDED + +#include "gscie.h" + +void gsicc_create_fromcrd(unsigned char *buffer, gs_memory_t *memory); +int gsicc_create_froma(const gs_color_space *pcs, unsigned char **pp_buffer_in, + int *profile_size_out, gs_memory_t *memory, + gx_cie_vector_cache *a_cache, + gx_cie_scalar_cache *lmn_caches); +int gsicc_create_fromabc(const gs_color_space *pcs, unsigned char **buffer, + int *profile_size_out, gs_memory_t *memory, + gx_cie_vector_cache *abc_caches, + gx_cie_scalar_cache *lmn_caches, bool *islab); +int gsicc_create_fromdefg(const gs_color_space *pcs, + unsigned char **pp_buffer_in, int *profile_size_out, + gs_memory_t *memory, gx_cie_vector_cache *abc_caches, + gx_cie_scalar_cache *lmn_caches, + gx_cie_scalar_cache *defg_caches); +int gsicc_create_fromdef(const gs_color_space *pcs, unsigned char **pp_buffer_in, + int *profile_size_out, gs_memory_t *memory, + gx_cie_vector_cache *abc_caches, + gx_cie_scalar_cache *lmn_caches, + gx_cie_scalar_cache *def_caches); +cmm_profile_t* gsicc_create_from_cal(float *white, float *black, float *gamma, + float *matrix, gs_memory_t *memory, + int num_colors); +byte* gsicc_getv2buffer(cmm_profile_t *srcprofile, int *size); +byte* gsicc_create_getv2buffer(const gs_imager_state *pis, + cmm_profile_t *srcprofile, int *size); +#endif |