diff options
Diffstat (limited to 'src/libs/lprof/cmsprf.cpp')
-rw-r--r-- | src/libs/lprof/cmsprf.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libs/lprof/cmsprf.cpp b/src/libs/lprof/cmsprf.cpp index 527fc8e8..3baa92ca 100644 --- a/src/libs/lprof/cmsprf.cpp +++ b/src/libs/lprof/cmsprf.cpp @@ -38,9 +38,9 @@ double cdecl _cmsxSaturate255To65535(double d); void cdecl _cmsxClampXYZ100(LPcmsCIEXYZ xyz); -BOOL cdecl cmsxEmbedCharTarget(LPPROFILERCOMMONDATA hdr); -BOOL cdecl cmsxEmbedMatrixShaper(LPPROFILERCOMMONDATA hdr); -BOOL cdecl cmsxEmbedTextualInfo(LPPROFILERCOMMONDATA hdr); +bool cdecl cmsxEmbedCharTarget(LPPROFILERCOMMONDATA hdr); +bool cdecl cmsxEmbedMatrixShaper(LPPROFILERCOMMONDATA hdr); +bool cdecl cmsxEmbedTextualInfo(LPPROFILERCOMMONDATA hdr); /* ----------------------------------------------------------------- Implementation */ @@ -115,13 +115,13 @@ int xfilelength(int fd) } -BOOL cmsxEmbedCharTarget(LPPROFILERCOMMONDATA hdr) +bool cmsxEmbedCharTarget(LPPROFILERCOMMONDATA hdr) { LCMSHANDLE it8 = cmsxIT8Alloc(); LPBYTE mem; size_t size, readed; FILE* f; - BOOL lFreeOnExit = false; + bool lFreeOnExit = false; if (!hdr->m.Patches) { @@ -167,7 +167,7 @@ BOOL cmsxEmbedCharTarget(LPPROFILERCOMMONDATA hdr) static -BOOL ComputeColorantMatrix(LPcmsCIEXYZTRIPLE Colorants, +bool ComputeColorantMatrix(LPcmsCIEXYZTRIPLE Colorants, LPcmsCIExyY WhitePoint, LPcmsCIExyYTRIPLE Primaries) { @@ -198,7 +198,7 @@ BOOL ComputeColorantMatrix(LPcmsCIEXYZTRIPLE Colorants, } -BOOL cmsxEmbedMatrixShaper(LPPROFILERCOMMONDATA hdr) +bool cmsxEmbedMatrixShaper(LPPROFILERCOMMONDATA hdr) { cmsCIEXYZTRIPLE Colorant; cmsCIExyY MediaWhite; @@ -220,7 +220,7 @@ BOOL cmsxEmbedMatrixShaper(LPPROFILERCOMMONDATA hdr) } -BOOL cmsxEmbedTextualInfo(LPPROFILERCOMMONDATA hdr) +bool cmsxEmbedTextualInfo(LPPROFILERCOMMONDATA hdr) { if (*hdr ->Description) cmsAddTag(hdr ->hProfile, icSigProfileDescriptionTag, hdr ->Description); @@ -239,7 +239,7 @@ BOOL cmsxEmbedTextualInfo(LPPROFILERCOMMONDATA hdr) -void cmsxChromaticAdaptationAndNormalization(LPPROFILERCOMMONDATA hdr, LPcmsCIEXYZ xyz, BOOL lReverse) +void cmsxChromaticAdaptationAndNormalization(LPPROFILERCOMMONDATA hdr, LPcmsCIEXYZ xyz, bool lReverse) { if (hdr->lUseCIECAM97s) { @@ -369,7 +369,7 @@ void cmsxComputeGamutHull(LPPROFILERCOMMONDATA hdr) } -BOOL cmsxChoosePCS(LPPROFILERCOMMONDATA hdr) +bool cmsxChoosePCS(LPPROFILERCOMMONDATA hdr) { double gamma_r, gamma_g, gamma_b; |