summaryrefslogtreecommitdiffstats
path: root/src/libs/lprof/cmsprf.cpp
diff options
context:
space:
mode:
authorTDE Weblate <[email protected]>2025-03-15 13:04:23 +0000
committerMichele Calgaro <[email protected]>2025-03-19 13:12:11 +0900
commit8b3a88df55c67e3e75b93385db1c4f27f409a06f (patch)
tree8427cf9e4892c66674645e7152c3246a334bd165 /src/libs/lprof/cmsprf.cpp
parent0b5e696d79ab1a160293d520b7526e031238989a (diff)
downloaddigikam-rename/true-false.tar.gz
digikam-rename/true-false.zip
Update translation filesrename/true-false
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: applications/digikam Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/digikam/
Diffstat (limited to 'src/libs/lprof/cmsprf.cpp')
-rw-r--r--src/libs/lprof/cmsprf.cpp20
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;