CMM Implementation of the interface to the Microsoft's Image Color Management.
More...
|
| static HqBool | icm2_init (sw_cmm_api *implementation, const sw_cmm_init_params *params) |
| | Callback function to ask us to initialise the module. More...
|
| |
| static void | icm2_finish (sw_cmm_api *implementation) |
| | Callback function to ask us to tidy up when closing the module. More...
|
| |
| static sw_cmm_result | icm2_construct (sw_cmm_instance *instance) |
| | Construct an instance of the sw_cmm_api interface. More...
|
| |
| static sw_cmm_result | icm2_open_profile (sw_cmm_instance *instance, sw_blob_instance *ICC_profile, sw_cmm_profile *handle) |
| | Create an internal profile structure for ICC profile data stored in memory. More...
|
| |
| static void | icm2_close_profile (sw_cmm_instance *instance, sw_cmm_profile profile) |
| | Close a profile with a handle previously created with icm2_open_profile(). More...
|
| |
| static sw_cmm_result | icm2_open_transform (sw_cmm_instance *instance, sw_cmm_profile profiles[], uint32 num_profiles, int32 intents[], HqBool black_point_compensations[], uint32 *num_input_channels, uint32 *num_output_channels, sw_cmm_transform *handle) |
| | Create a transform structure. More...
|
| |
| static void | icm2_close_transform (sw_cmm_instance *instance, sw_cmm_transform transform) |
| | Close a transform previously opened with icm2_open_transform(). More...
|
| |
| static sw_cmm_result | icm2_invoke_transform (sw_cmm_instance *instance, sw_cmm_transform transform, float *input_data, float *output_data, uint32 num_pixels) |
| | Use the specified transform to adjust color data. More...
|
| |
| sw_cmm_api * | icm2_getInstance (void) |
| | Return the singleton instance of a sw_cmm_api object containing details specific to the ICM2 CMM example module. More...
|
| |
| static HqBool | getColorSpaceFromProfile (HPROFILE hProfile, COLORTYPE *pColorSpace) |
| | Find the color space used by the specified profile. More...
|
| |
| static uint32 | getChannelCount (COLORTYPE ctColorSpace) |
| | Find the number of color channels used in the specified color space. More...
|
| |
| static uint32 | getChannelCountFromProfile (HPROFILE hProfile) |
| | Find the number of color channels used in the specified profile. More...
|
| |
| static DWORD | getICMRenderingIntent (int32 nRIPIntent) |
| | Convert a rendering intent from the CMM API into its ICM2 equivalent. More...
|
| |
| static PCOLOR | createTransformBuffer (sw_cmm_instance *instance, uint32 num_pixels) |
| | Allocate memory to hold COLOR data for the transform process. More...
|
| |
| static void | convertFloatToCOLORArray (PCOLOR pOutputArray, COLORTYPE ctColorType, float *pInputArray, uint32 num_pixels) |
| | Convert an array of floating point pixel values to COLOR equivalents. More...
|
| |
| static void | convertCOLORToFloatArray (float *pOutputArray, COLORTYPE ctColorType, PCOLOR pInputArray, uint32 num_pixels) |
| | Convert an array of COLOR pixel values to floating point equivalents. More...
|
| |
CMM Implementation of the interface to the Microsoft's Image Color Management.