digiKam
|
Go to the source code of this file.
Macros | |
#define | CMS_NO_REGISTER_KEYWORD 1 |
#define | cmsFLAGS_NOTPRECALC 0x0100 |
#define | cmsFLAGS_WHITEBLACKCOMPENSATION 0x2000 |
#define | FAR |
#define | LCMS_DESC_MAX 512 |
#define | LCMS_ERROR_SHOW 1 |
Typedefs | |
typedef unsigned char | BYTE |
typedef void * | cmsHPROFILE |
Opaque typedefs to hide internals. More... | |
typedef unsigned long | DWORD |
typedef int | LCMSBOOL |
typedef unsigned char * | LPBYTE |
typedef cmsCIELab FAR * | LPcmsCIELab |
typedef cmsCIExyY FAR * | LPcmsCIExyY |
typedef cmsCIEXYZ FAR * | LPcmsCIEXYZ |
Colorspaces. More... | |
typedef unsigned long * | LPDWORD |
typedef cmsCIEXYZTRIPLE FAR * | LPMAT3 |
typedef void * | LPVOID |
typedef unsigned short * | LPWORD |
typedef cmsCIEXYZTRIPLE | MAT3 |
typedef unsigned short | WORD |
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 | icProfileClassSignature { icSigInputClass = 0x73636E72L , icSigDisplayClass = 0x6D6E7472L , icSigOutputClass = 0x70727472L , icSigLinkClass = 0x6C696E6BL , icSigAbstractClass = 0x61627374L , icSigColorSpaceClass = 0x73706163L , icSigNamedColorClass = 0x6e6d636cL , icMaxEnumClass = 0xFFFFFFFFL } |
enum | icTagSignature { icSigAToB0Tag = 0x41324230L , icSigAToB1Tag = 0x41324231L , icSigAToB2Tag = 0x41324232L , icSigBlueColorantTag = 0x6258595AL , icSigBlueTRCTag = 0x62545243L , icSigBToA0Tag = 0x42324130L , icSigBToA1Tag = 0x42324131L , icSigBToA2Tag = 0x42324132L , icSigCalibrationDateTimeTag = 0x63616C74L , icSigCharTargetTag = 0x74617267L , icSigCopyrightTag = 0x63707274L , icSigCrdInfoTag = 0x63726469L , icSigDeviceMfgDescTag = 0x646D6E64L , icSigDeviceModelDescTag = 0x646D6464L , icSigGamutTag = 0x67616D74L , icSigGrayTRCTag = 0x6b545243L , icSigGreenColorantTag = 0x6758595AL , icSigGreenTRCTag = 0x67545243L , icSigLuminanceTag = 0x6C756d69L , icSigMeasurementTag = 0x6D656173L , icSigMediaBlackPointTag = 0x626B7074L , icSigMediaWhitePointTag = 0x77747074L , icSigNamedColorTag = 0x6E636f6CL , icSigNamedColor2Tag = 0x6E636C32L , icSigPreview0Tag = 0x70726530L , icSigPreview1Tag = 0x70726531L , icSigPreview2Tag = 0x70726532L , icSigProfileDescriptionTag = 0x64657363L , icSigProfileSequenceDescTag = 0x70736571L , icSigPs2CRD0Tag = 0x70736430L , icSigPs2CRD1Tag = 0x70736431L , icSigPs2CRD2Tag = 0x70736432L , icSigPs2CRD3Tag = 0x70736433L , icSigPs2CSATag = 0x70733273L , icSigPs2RenderingIntentTag = 0x70733269L , icSigRedColorantTag = 0x7258595AL , icSigRedTRCTag = 0x72545243L , icSigScreeningDescTag = 0x73637264L , icSigScreeningTag = 0x7363726EL , icSigTechnologyTag = 0x74656368L , icSigUcrBgTag = 0x62666420L , icSigViewingCondDescTag = 0x76756564L , icSigViewingConditionsTag = 0x76696577L , icMaxEnumTag = 0xFFFFFFFFL } |
Functions | |
DIGIKAM_EXPORT LCMSBOOL | dkCmsAdaptMatrixFromD50 (LPMAT3 r, LPcmsCIExyY DestWhitePt) |
DIGIKAM_EXPORT LCMSBOOL | dkCmsCloseProfile (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT cmsHPROFILE | dkCmsCreate_sRGBProfile () |
DIGIKAM_EXPORT cmsHTRANSFORM | dkCmsCreateProofingTransform (cmsHPROFILE Input, DWORD InputFormat, cmsHPROFILE Output, DWORD OutputFormat, cmsHPROFILE Proofing, int Intent, int ProofingIntent, DWORD dwFlags) |
DIGIKAM_EXPORT cmsHTRANSFORM | dkCmsCreateTransform (cmsHPROFILE Input, DWORD InputFormat, cmsHPROFILE Output, DWORD OutputFormat, int Intent, DWORD dwFlags) |
DIGIKAM_EXPORT cmsHPROFILE | dkCmsCreateXYZProfile () |
DIGIKAM_EXPORT void | dkCmsDeleteTransform (cmsHTRANSFORM hTransform) |
DIGIKAM_EXPORT double | dkCmsDeltaE (LPcmsCIELab Lab1, LPcmsCIELab Lab2) |
DIGIKAM_EXPORT void | dkCmsDoTransform (cmsHTRANSFORM Transform, LPVOID InputBuffer, LPVOID OutputBuffer, unsigned int Size) |
DIGIKAM_EXPORT int | dkCmsErrorAction (int nAction) |
DIGIKAM_EXPORT void | dkCmsFloat2XYZEncoded (WORD XYZ[3], const cmsCIEXYZ *const fXYZ) |
DIGIKAM_EXPORT icColorSpaceSignature | dkCmsGetColorSpace (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT icProfileClassSignature | dkCmsGetDeviceClass (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT icColorSpaceSignature | dkCmsGetPCS (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT DWORD | dkCmsGetProfileICCversion (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT LCMSBOOL | dkCmsIsTag (cmsHPROFILE hProfile, icTagSignature sig) |
DIGIKAM_EXPORT cmsHPROFILE | dkCmsOpenProfileFromFile (const char *const ICCProfile, const char *const sAccess) |
DIGIKAM_EXPORT cmsHPROFILE | dkCmsOpenProfileFromMem (LPVOID MemPtr, DWORD dwSize) |
DIGIKAM_EXPORT LCMSBOOL | dkCmsReadICCMatrixRGB2XYZ (LPMAT3 r, cmsHPROFILE hProfile) |
DIGIKAM_EXPORT void | dkCmsSetAlarmCodes (int r, int g, int b) |
DIGIKAM_EXPORT QString | dkCmsTakeCopyright (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT DWORD | dkCmsTakeHeaderFlags (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT QString | dkCmsTakeManufacturer (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT LCMSBOOL | dkCmsTakeMediaWhitePoint (LPcmsCIEXYZ Dest, cmsHPROFILE hProfile) |
DIGIKAM_EXPORT QString | dkCmsTakeModel (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT QString | dkCmsTakeProductDesc (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT QString | dkCmsTakeProductInfo (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT QString | dkCmsTakeProductName (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT const BYTE * | dkCmsTakeProfileID (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT int | dkCmsTakeRenderingIntent (cmsHPROFILE hProfile) |
DIGIKAM_EXPORT void | dkCmsXYZ2xyY (LPcmsCIExyY Dest, const cmsCIEXYZ *const Source) |
#define CMS_NO_REGISTER_KEYWORD 1 |
#define cmsFLAGS_NOTPRECALC 0x0100 |
#define cmsFLAGS_WHITEBLACKCOMPENSATION 0x2000 |
#define FAR |
#define LCMS_DESC_MAX 512 |
#define LCMS_ERROR_SHOW 1 |
typedef unsigned char BYTE |
typedef void* cmsHPROFILE |
Opaque typedefs to hide internals.
typedef unsigned long DWORD |
typedef int LCMSBOOL |
typedef unsigned char * LPBYTE |
typedef cmsCIELab FAR* LPcmsCIELab |
typedef cmsCIExyY FAR* LPcmsCIExyY |
typedef cmsCIEXYZ FAR* LPcmsCIEXYZ |
Colorspaces.
typedef unsigned long * LPDWORD |
typedef void* LPVOID |
typedef unsigned short * LPWORD |
typedef cmsCIEXYZTRIPLE MAT3 |
typedef unsigned short WORD |
enum icTagSignature |
public tags and sizes
DIGIKAM_EXPORT LCMSBOOL dkCmsAdaptMatrixFromD50 | ( | LPMAT3 | r, |
LPcmsCIExyY | DestWhitePt | ||
) |
White Point & Primary chromas handling Returns the final chromatic adaptation from illuminant FromIll to Illuminant ToIll The cone matrix can be specified in ConeMatrix. If NULL, assuming D50 source. White point is given in xyY
References _l1LPMAT3tol2cmsMAT3().
DIGIKAM_EXPORT LCMSBOOL dkCmsCloseProfile | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT cmsHPROFILE dkCmsCreate_sRGBProfile | ( | ) |
Referenced by Digikam::CIETongueWidget::CIETongueWidget().
DIGIKAM_EXPORT cmsHTRANSFORM dkCmsCreateProofingTransform | ( | cmsHPROFILE | Input, |
DWORD | InputFormat, | ||
cmsHPROFILE | Output, | ||
DWORD | OutputFormat, | ||
cmsHPROFILE | Proofing, | ||
int | Intent, | ||
int | ProofingIntent, | ||
DWORD | dwFlags | ||
) |
DIGIKAM_EXPORT cmsHTRANSFORM dkCmsCreateTransform | ( | cmsHPROFILE | Input, |
DWORD | InputFormat, | ||
cmsHPROFILE | Output, | ||
DWORD | OutputFormat, | ||
int | Intent, | ||
DWORD | dwFlags | ||
) |
Referenced by Digikam::CIETongueWidget::CIETongueWidget().
DIGIKAM_EXPORT cmsHPROFILE dkCmsCreateXYZProfile | ( | ) |
Referenced by Digikam::CIETongueWidget::CIETongueWidget().
DIGIKAM_EXPORT void dkCmsDeleteTransform | ( | cmsHTRANSFORM | hTransform | ) |
Referenced by Digikam::CIETongueWidget::~CIETongueWidget().
DIGIKAM_EXPORT double dkCmsDeltaE | ( | LPcmsCIELab | Lab1, |
LPcmsCIELab | Lab2 | ||
) |
DIGIKAM_EXPORT void dkCmsDoTransform | ( | cmsHTRANSFORM | Transform, |
LPVOID | InputBuffer, | ||
LPVOID | OutputBuffer, | ||
unsigned int | Size | ||
) |
Referenced by Digikam::CIETongueWidget::colorByCoord().
DIGIKAM_EXPORT int dkCmsErrorAction | ( | int | nAction | ) |
DIGIKAM_EXPORT void dkCmsFloat2XYZEncoded | ( | WORD | XYZ[3], |
const cmsCIEXYZ *const | fXYZ | ||
) |
Referenced by Digikam::CIETongueWidget::colorByCoord().
DIGIKAM_EXPORT icColorSpaceSignature dkCmsGetColorSpace | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT icProfileClassSignature dkCmsGetDeviceClass | ( | cmsHPROFILE | hProfile | ) |
Referenced by Digikam::IccProfile::type().
DIGIKAM_EXPORT icColorSpaceSignature dkCmsGetPCS | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT DWORD dkCmsGetProfileICCversion | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT LCMSBOOL dkCmsIsTag | ( | cmsHPROFILE | hProfile, |
icTagSignature | sig | ||
) |
DIGIKAM_EXPORT cmsHPROFILE dkCmsOpenProfileFromFile | ( | const char *const | ICCProfile, |
const char *const | sAccess | ||
) |
Referenced by Digikam::CIETongueWidget::setProfileFromFile().
DIGIKAM_EXPORT cmsHPROFILE dkCmsOpenProfileFromMem | ( | LPVOID | MemPtr, |
DWORD | dwSize | ||
) |
Referenced by Digikam::IccProfile::open(), and Digikam::CIETongueWidget::setProfileData().
DIGIKAM_EXPORT LCMSBOOL dkCmsReadICCMatrixRGB2XYZ | ( | LPMAT3 | r, |
cmsHPROFILE | hProfile | ||
) |
References _l2tol1MAT3(), and GetProfileRGBPrimaries().
DIGIKAM_EXPORT void dkCmsSetAlarmCodes | ( | int | r, |
int | g, | ||
int | b | ||
) |
DIGIKAM_EXPORT QString dkCmsTakeCopyright | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT DWORD dkCmsTakeHeaderFlags | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT QString dkCmsTakeManufacturer | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT LCMSBOOL dkCmsTakeMediaWhitePoint | ( | LPcmsCIEXYZ | Dest, |
cmsHPROFILE | hProfile | ||
) |
DIGIKAM_EXPORT QString dkCmsTakeModel | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT QString dkCmsTakeProductDesc | ( | cmsHPROFILE | hProfile | ) |
References dkCmsTakeProductName(), and Digikam::DatabaseFields::Name.
Referenced by Digikam::IccProfile::description().
DIGIKAM_EXPORT QString dkCmsTakeProductInfo | ( | cmsHPROFILE | hProfile | ) |
References K007.
DIGIKAM_EXPORT QString dkCmsTakeProductName | ( | cmsHPROFILE | hProfile | ) |
References Digikam::DatabaseFields::Model, and Digikam::DatabaseFields::Name.
Referenced by dkCmsTakeProductDesc().
DIGIKAM_EXPORT const BYTE* dkCmsTakeProfileID | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT int dkCmsTakeRenderingIntent | ( | cmsHPROFILE | hProfile | ) |
DIGIKAM_EXPORT void dkCmsXYZ2xyY | ( | LPcmsCIExyY | Dest, |
const cmsCIEXYZ *const | Source | ||
) |