Classes | Typedefs | Enumerations | Functions

qcms.h File Reference

#include <stdio.h>
Include dependency graph for qcms.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  qcms_CIE_xyY
struct  qcms_CIE_xyYTRIPLE

Typedefs

typedef int qcms_bool
typedef struct _qcms_transform qcms_transform
typedef struct _qcms_profile qcms_profile

Enumerations

enum  icColorSpaceSignature {
  icSigXYZData = 0x58595A20L, icSigLabData = 0x4C616220L, icSigLuvData = 0x4C757620L, icSigYCbCrData = 0x59436272L,
  icSigYxyData = 0x59787920L, icSigRgbData = 0x52474220L, icSigGrayData = 0x47524159L, icSigHsvData = 0x48535620L,
  icSigHlsData = 0x484C5320L, icSigCmykData = 0x434D594BL, icSigCmyData = 0x434D5920L, icSig2colorData = 0x32434C52L,
  icSig3colorData = 0x33434C52L, icSig4colorData = 0x34434C52L, icSig5colorData = 0x35434C52L, icSig6colorData = 0x36434C52L,
  icSig7colorData = 0x37434C52L, icSig8colorData = 0x38434C52L, icSig9colorData = 0x39434C52L, icSig10colorData = 0x41434C52L,
  icSig11colorData = 0x42434C52L, icSig12colorData = 0x43434C52L, icSig13colorData = 0x44434C52L, icSig14colorData = 0x45434C52L,
  icSig15colorData = 0x46434C52L, icMaxEnumData = 0xFFFFFFFFL
}
enum  qcms_intent {
  QCMS_INTENT_DEFAULT = 0, QCMS_INTENT_PERCEPTUAL = 0, QCMS_INTENT_RELATIVE_COLORIMETRIC = 1, QCMS_INTENT_SATURATION = 2,
  QCMS_INTENT_ABSOLUTE_COLORIMETRIC = 3
}
enum  qcms_data_type { QCMS_DATA_RGB_8, QCMS_DATA_RGBA_8, QCMS_DATA_GRAY_8, QCMS_DATA_GRAYA_8 }

Functions

qcms_profileqcms_profile_create_rgb_with_gamma (qcms_CIE_xyY white_point, qcms_CIE_xyYTRIPLE primaries, float gamma)
qcms_profileqcms_profile_from_memory (const void *mem, size_t size)
qcms_profileqcms_profile_from_file (FILE *file)
qcms_profileqcms_profile_from_path (const char *path)
qcms_profileqcms_profile_sRGB (void)
void qcms_profile_release (qcms_profile *profile)
qcms_bool qcms_profile_is_bogus (qcms_profile *profile)
qcms_intent qcms_profile_get_rendering_intent (qcms_profile *profile)
icColorSpaceSignature qcms_profile_get_color_space (qcms_profile *profile)
void qcms_profile_precache_output_transform (qcms_profile *profile)
qcms_transformqcms_transform_create (qcms_profile *in, qcms_data_type in_type, qcms_profile *out, qcms_data_type out_type, qcms_intent intent)
void qcms_transform_release (qcms_transform *)
void qcms_transform_data (qcms_transform *transform, void *src, void *dest, size_t length)

Typedef Documentation

typedef int qcms_bool
typedef struct _qcms_profile qcms_profile
typedef struct _qcms_transform qcms_transform

Enumeration Type Documentation

Enumerator:
icSigXYZData 
icSigLabData 
icSigLuvData 
icSigYCbCrData 
icSigYxyData 
icSigRgbData 
icSigGrayData 
icSigHsvData 
icSigHlsData 
icSigCmykData 
icSigCmyData 
icSig2colorData 
icSig3colorData 
icSig4colorData 
icSig5colorData 
icSig6colorData 
icSig7colorData 
icSig8colorData 
icSig9colorData 
icSig10colorData 
icSig11colorData 
icSig12colorData 
icSig13colorData 
icSig14colorData 
icSig15colorData 
icMaxEnumData 
Enumerator:
QCMS_DATA_RGB_8 
QCMS_DATA_RGBA_8 
QCMS_DATA_GRAY_8 
QCMS_DATA_GRAYA_8 
Enumerator:
QCMS_INTENT_DEFAULT 
QCMS_INTENT_PERCEPTUAL 
QCMS_INTENT_RELATIVE_COLORIMETRIC 
QCMS_INTENT_SATURATION 
QCMS_INTENT_ABSOLUTE_COLORIMETRIC 

Function Documentation

qcms_profile* qcms_profile_create_rgb_with_gamma ( qcms_CIE_xyY  white_point,
qcms_CIE_xyYTRIPLE  primaries,
float  gamma 
)
qcms_profile* qcms_profile_from_file ( FILE *  file  ) 
qcms_profile* qcms_profile_from_memory ( const void *  mem,
size_t  size 
)
qcms_profile* qcms_profile_from_path ( const char *  path  ) 
icColorSpaceSignature qcms_profile_get_color_space ( qcms_profile profile  ) 
qcms_intent qcms_profile_get_rendering_intent ( qcms_profile profile  ) 
qcms_bool qcms_profile_is_bogus ( qcms_profile profile  ) 
void qcms_profile_precache_output_transform ( qcms_profile profile  ) 
void qcms_profile_release ( qcms_profile profile  ) 
qcms_profile* qcms_profile_sRGB ( void   ) 
qcms_transform* qcms_transform_create ( qcms_profile in,
qcms_data_type  in_type,
qcms_profile out,
qcms_data_type  out_type,
qcms_intent  intent 
)
void qcms_transform_data ( qcms_transform transform,
void *  src,
void *  dest,
size_t  length 
)
void qcms_transform_release ( qcms_transform  )