Header file defining the Color management module interface - ICC (ICC-CMM). More...
#include <stddef.h>#include "ripcall.h"#include "swapi.h"#include "swblobapi.h"#include "swcmmobjects.h"#include "swdataapi.h"#include "swmemapi.h"Data Structures | |
| struct | sw_cmm_instance |
| An instance structure for the CMM API implementation. More... | |
| struct | sw_cmm_init_params |
| Collection structure for initialization parameters. More... | |
| struct | sw_cmm_api |
| The definition of an implementation of the alternate CMM interface. More... | |
Macros | |
| #define | SW_CMM_N_ICC_RENDERING_INTENTS (4) |
| The number of ICC rendering intents. | |
| #define | SW_CMM_N_SW_RENDERING_INTENTS (6) |
| The number of extended rendering intents, including absolute derivations of the ICC perceptual and saturation intents. | |
Typedefs | |
| typedef HqnResult | sw_cmm_result |
| Type of return values from sw_cmm_api functions. More... | |
| typedef void * | sw_cmm_profile |
| An opaque structure defined by the alterate CMM implementation to represent profiles. More... | |
| typedef void * | sw_cmm_transform |
| An opaque structure defined by the alternate CMM implementation to represent transforms. More... | |
| typedef struct sw_cmm_api | sw_cmm_api |
| Type definition of the alternate CMM interface implementation. | |
| typedef struct sw_cmm_instance | sw_cmm_instance |
| An instance structure for the CMM API implementation. More... | |
| typedef struct sw_cmm_init_params | sw_cmm_init_params |
| Collection structure for initialization parameters. | |
Enumerations | |
| enum | { SW_CMM_API_VERSION_20070525 = 2 , SW_CMM_API_VERSION_20070614 , SW_CMM_API_VERSION_20071109 , SW_CMM_API_VERSION_20160324 , SW_CMM_API_VERSION_20160819 , SW_CMM_API_VERSION_20200117 , SW_CMM_API_VERSION_20250922 } |
| Version numbers defined for the CMM API. More... | |
| enum | SW_CMM_RESULT { SW_CMM_SUCCESS = HQN_RESULT_SUCCESS , SW_CMM_ERROR = 1 , SW_CMM_ERROR_IOERROR , SW_CMM_ERROR_MEMORY , SW_CMM_ERROR_INVALID , SW_CMM_ERROR_UNSUPPORTED , SW_CMM_ERROR_VERSION , SW_CMM_SUCCESS_USE_BUILTIN } |
| Return values for sw_cmm_api CMM functions. More... | |
| enum | { SW_CMM_INTENT_PERCEPTUAL = 0 , SW_CMM_INTENT_RELATIVE_COLORIMETRIC , SW_CMM_INTENT_SATURATION , SW_CMM_INTENT_ABSOLUTE_COLORIMETRIC , SW_CMM_INTENT_ABSOLUTE_PERCEPTUAL , SW_CMM_INTENT_ABSOLUTE_SATURATION } |
| Values of rendering intent for use in the intents array as passed to sw_cmm_api::open_transform() and sw_cmm_api::open_transform2(). More... | |
Functions | |
| HqnResult | swcmm_result_translate (sw_cmm_result result) |
| Translate a CMM API-specific error code to a generic HqnResult error code. More... | |
| sw_api_result | SwRegisterCMM (sw_cmm_api *implementation) |
| This routine makes an alternate CMM implementation known to the rip. More... | |
Header file defining the Color management module interface - ICC (ICC-CMM).
Copyright (C) 2026 Hybrid Software Helix Ltd. All rights reserved.
This source code contains the confidential and trade secret information of Hybrid Software Helix Ltd. It may not be used, copied or distributed for any reason except as set forth in the applicable Hybrid Software Helix license agreement.