Home
last modified time | relevance | path

Searched refs:blueTRC (Results 1 – 25 of 34) sorted by relevance

12

/dports/graphics/krita/krita-4.4.8/plugins/color/lcms2engine/colorprofiles/
H A DLcmsColorProfileContainer.cpp60 cmsToneCurve *blueTRC {0}; member in LcmsColorProfileContainer::Private
232 if (d->blueTRC) d->blueTRCReverse = cmsReverseToneCurve(d->blueTRC); in init()
236 && cmsIsToneCurveLinear(d->blueTRC); in init()
429 if (cmsIsToneCurveLinear(d->blueTRC)) { in getEstimatedTRC()
432 TRCtriplet[2] = cmsEstimateGamma(d->blueTRC, 0.01); in getEstimatedTRC()
458 if (!cmsIsToneCurveLinear(d->blueTRC)) { in LinearizeFloatValue()
459 Value[2] = cmsEvalToneCurveFloat(d->blueTRC, Value[2]); in LinearizeFloatValue()
478 if (!cmsIsToneCurveLinear(d->blueTRC)) { in DelinearizeFloatValue()
505 if (!cmsIsToneCurveLinear(d->blueTRC) && Value[2]<1.0) { in LinearizeFloatValueFast()
506 quint16 newValue = cmsEvalToneCurve16(d->blueTRC, Value[2] * scale); in LinearizeFloatValueFast()
[all …]
/dports/editors/calligra/calligra-3.2.1/plugins/colorengines/lcms2/colorprofiles/
H A DLcmsColorProfileContainer.cpp60 cmsToneCurve *blueTRC; member in LcmsColorProfileContainer::Private
212 d->blueTRC = ((cmsToneCurve *)cmsReadTag (d->profile, cmsSigBlueTRCTag)); in init()
215 d->blueTRCReverse = cmsReverseToneCurve(d->blueTRC); in init()
404 if (cmsIsToneCurveLinear(d->blueTRC)) { in getEstimatedTRC()
407 TRCtriplet[2] = cmsEstimateGamma(d->blueTRC, 0.01); in getEstimatedTRC()
443 if (cmsIsToneCurveLinear(d->blueTRC)) { in LinearizeFloatValue()
446 TRCtriplet[2] = cmsEvalToneCurveFloat(d->blueTRC, Value[2]); in LinearizeFloatValue()
477 if (cmsIsToneCurveLinear(d->blueTRC)) { in DelinearizeFloatValue()
512 if (!cmsIsToneCurveLinear(d->blueTRC) && Value[2]<1.0) { in LinearizeFloatValueFast()
513 TRCtriplet[2] = cmsEvalToneCurve16(d->blueTRC, TRCtriplet[2]); in LinearizeFloatValueFast()
[all …]
/dports/graphics/sampleicc/SampleICC-1.6.8/Contrib/CmdLine/create_display_profile/
H A Dcreate_display_profile.cpp164 icFloatNumber* blueTRC = new icFloatNumber[N]; in main() local
167 in >> redTRC[i] >> greenTRC[i] >> blueTRC[i]; in main()
287 blueTRCTag->SetGamma(blueTRC[0]); in main()
290 (*blueTRCTag)[i] = blueTRC[i]; in main()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/qcms/src/
H A Diccread.c1198 profile->blueTRC = curve_from_gamma(gamma); in qcms_profile_create_rgb_with_gamma()
1201 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_gamma()
1228 profile->blueTRC = curve_from_table(table, num_entries); in qcms_profile_create_rgb_with_table()
1231 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_table()
1338 profile->blueTRC = curve_from_table(table, 1024); in qcms_profile_sRGB()
1341 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_sRGB()
1473 profile->blueTRC = read_tag_curveType(src, index, TAG_bTRC); in qcms_profile_from_memory()
1475 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) in qcms_profile_from_memory()
1584 free(profile->blueTRC); in qcms_profile_release()
H A Dtransform.c1107 if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC) in qcms_profile_precache_output_transform()
1129 !compute_precache(profile->blueTRC, profile->output_table_b->data)) { in qcms_profile_precache_output_transform()
1343 if (!out->redTRC || !out->greenTRC || !out->blueTRC) { in qcms_transform_create()
1350 …build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, &transform->output_gamma_lut_b_leng… in qcms_transform_create()
1392 transform->input_gamma_table_b = build_input_gamma_table(in->blueTRC); in qcms_transform_create()
1595 if (!out->redTRC || !out->greenTRC || !out->blueTRC) in qcms_transform_get_output_trc_rgba()
1602 build_output_lut(out->blueTRC, &t->output_gamma_lut_b, &t->output_gamma_lut_b_length); in qcms_transform_get_output_trc_rgba()
H A Dqcmsint.h261 struct curveType *blueTRC; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/qcms/src/
H A Diccread.c1198 profile->blueTRC = curve_from_gamma(gamma); in qcms_profile_create_rgb_with_gamma()
1201 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_gamma()
1228 profile->blueTRC = curve_from_table(table, num_entries); in qcms_profile_create_rgb_with_table()
1231 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_table()
1338 profile->blueTRC = curve_from_table(table, 1024); in qcms_profile_sRGB()
1341 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_sRGB()
1473 profile->blueTRC = read_tag_curveType(src, index, TAG_bTRC); in qcms_profile_from_memory()
1475 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) in qcms_profile_from_memory()
1584 free(profile->blueTRC); in qcms_profile_release()
H A Dtransform.c1107 if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC) in qcms_profile_precache_output_transform()
1129 !compute_precache(profile->blueTRC, profile->output_table_b->data)) { in qcms_profile_precache_output_transform()
1343 if (!out->redTRC || !out->greenTRC || !out->blueTRC) { in qcms_transform_create()
1350 …build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, &transform->output_gamma_lut_b_leng… in qcms_transform_create()
1392 transform->input_gamma_table_b = build_input_gamma_table(in->blueTRC); in qcms_transform_create()
1595 if (!out->redTRC || !out->greenTRC || !out->blueTRC) in qcms_transform_get_output_trc_rgba()
1602 build_output_lut(out->blueTRC, &t->output_gamma_lut_b, &t->output_gamma_lut_b_length); in qcms_transform_get_output_trc_rgba()
H A Dqcmsint.h261 struct curveType *blueTRC; member
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/qcms/
H A Diccread.c921 profile->blueTRC = curve_from_gamma(gamma); in qcms_profile_create_rgb_with_gamma()
924 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_gamma()
950 profile->blueTRC = curve_from_table(table, num_entries); in qcms_profile_create_rgb_with_table()
953 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_table()
1125 profile->blueTRC = read_tag_curveType(src, index, TAG_bTRC); in qcms_profile_from_memory()
1127 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) in qcms_profile_from_memory()
1194 free(profile->blueTRC); in qcms_profile_release()
H A Dqcmsint.h215 struct curveType *blueTRC; member
H A Dtransform.c1125 if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC) in qcms_profile_precache_output_transform()
1147 !compute_precache(profile->blueTRC, profile->output_table_b->data)) { in qcms_profile_precache_output_transform()
1262 if (!out->redTRC || !out->greenTRC || !out->blueTRC) { in qcms_transform_create()
1268 …build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, &transform->output_gamma_lut_b_leng… in qcms_transform_create()
1328 transform->input_gamma_table_b = build_input_gamma_table(in->blueTRC); in qcms_transform_create()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/qcms/
H A Diccread.c910 profile->blueTRC = curve_from_gamma(gamma); in qcms_profile_create_rgb_with_gamma()
913 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_gamma()
939 profile->blueTRC = curve_from_table(table, num_entries); in qcms_profile_create_rgb_with_table()
942 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_table()
1114 profile->blueTRC = read_tag_curveType(src, index, TAG_bTRC); in qcms_profile_from_memory()
1116 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) in qcms_profile_from_memory()
1183 free(profile->blueTRC); in qcms_profile_release()
H A Dqcmsint.h215 struct curveType *blueTRC;
H A Dtransform.c1121 if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC)
1143 !compute_precache(profile->blueTRC, profile->output_table_b->data)) {
1257 if (!out->redTRC || !out->greenTRC || !out->blueTRC) {
1263 …build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, &transform->output_gamma_lut_b_leng…
1323 transform->input_gamma_table_b = build_input_gamma_table(in->blueTRC);
/dports/www/firefox-esr/firefox-91.8.0/gfx/qcms/src/
H A Diccread.rs55 pub(crate) blueTRC: Option<Box<curveType>>, field
973 profile.blueTRC = Some(curve_from_table(table)); in new_rgb_with_table()
1054 profile.blueTRC = Some(curve.clone()); in new_sRGB_parametric()
1076 profile.blueTRC = Some(identity_curve()); in new_XYZD50()
1111 profile.blueTRC = Some(curve_from_gamma(blueGamma)); in new_rgb_with_gamma_set()
1202 profile.blueTRC = read_tag_curveType(src, &index, TAG_bTRC); in new_from_slice()
1204 || profile.blueTRC.is_none() in new_from_slice()
H A Dchain.rs822 build_input_gamma_table(input.blueTRC.as_deref()).map(|x| (x as Box<[f32]>).into_vec()); in modular_transform_create_input()
872 } else if let (Some(redTRC), Some(greenTRC), Some(blueTRC)) = in modular_transform_create_output()
873 (&out.redTRC, &out.greenTRC, &out.blueTRC) in modular_transform_create_output()
894 transform.output_gamma_lut_b = Some(build_output_lut(blueTRC)?); in modular_transform_create_output()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/qcms/
H A Diccread.c924 profile->blueTRC = curve_from_gamma(blueGamma); in qcms_profile_create_rgb_with_gamma_set()
927 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_gamma_set()
962 profile->blueTRC = curve_from_table(table, num_entries); in qcms_profile_create_rgb_with_table()
965 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) { in qcms_profile_create_rgb_with_table()
1143 profile->blueTRC = read_tag_curveType(src, index, TAG_bTRC); in qcms_profile_from_memory()
1145 if (!profile->redTRC || !profile->blueTRC || !profile->greenTRC) in qcms_profile_from_memory()
1212 free(profile->blueTRC); in qcms_profile_release()
H A Dtransform.cpp1043 if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC) in qcms_profile_precache_output_transform()
1065 !compute_precache(profile->blueTRC, profile->output_table_b->data)) { in qcms_profile_precache_output_transform()
1194 if (!out->redTRC || !out->greenTRC || !out->blueTRC) { in qcms_transform_create()
1200 …build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, &transform->output_gamma_lut_b_leng… in qcms_transform_create()
1287 transform->input_gamma_table_b = build_input_gamma_table(in->blueTRC); in qcms_transform_create()
H A Dqcmsint.h226 struct curveType *blueTRC; member
H A Dchain.c737 transform->input_clut_table_b = build_input_gamma_table(in->blueTRC); in qcms_modular_transform_create_input()
790 } else if (out->redTRC && out->greenTRC && out->blueTRC) { in qcms_modular_transform_create_output()
824 build_output_lut(out->blueTRC, &transform->output_gamma_lut_b, in qcms_modular_transform_create_output()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/qcms/src/
H A Diccread.rs55 pub(crate) blueTRC: Option<Box<curveType>>, field
973 profile.blueTRC = Some(curve_from_table(table)); in new_rgb_with_table()
1054 profile.blueTRC = Some(curve.clone()); in new_sRGB_parametric()
1076 profile.blueTRC = Some(identity_curve()); in new_XYZD50()
1111 profile.blueTRC = Some(curve_from_gamma(blueGamma)); in new_rgb_with_gamma_set()
1202 profile.blueTRC = read_tag_curveType(src, &index, TAG_bTRC); in new_from_slice()
1204 || profile.blueTRC.is_none() in new_from_slice()
H A Dchain.rs822 build_input_gamma_table(input.blueTRC.as_deref()).map(|x| (x as Box<[f32]>).into_vec()); in modular_transform_create_input()
872 } else if let (Some(redTRC), Some(greenTRC), Some(blueTRC)) = in modular_transform_create_output()
873 (&out.redTRC, &out.greenTRC, &out.blueTRC) in modular_transform_create_output()
894 transform.output_gamma_lut_b = Some(build_output_lut(blueTRC)?); in modular_transform_create_output()
/dports/www/firefox/firefox-99.0/gfx/qcms/src/
H A Diccread.rs54 pub(crate) blueTRC: Option<Box<curveType>>, field
1463 profile.blueTRC = Some(curve_from_table(table)); in new_rgb_with_table()
1504 profile.blueTRC = Some(curve.clone()); in new_sRGB_parametric()
1527 profile.blueTRC = Some(identity_curve()); in new_XYZD50()
1545 profile.blueTRC = Some(Box::new(curve.clone())); in new_cicp()
1581 profile.blueTRC = Some(curve_from_gamma(blueGamma)); in new_rgb_with_gamma_set()
1676 profile.blueTRC = read_tag_curveType(src, &index, TAG_bTRC); in new_from_slice()
1678 || profile.blueTRC.is_none() in new_from_slice()
H A Dchain.rs816 build_input_gamma_table(input.blueTRC.as_deref()).map(|x| (x as Box<[f32]>).into_vec()); in modular_transform_create_input()
866 } else if let (Some(redTRC), Some(greenTRC), Some(blueTRC)) = in modular_transform_create_output()
867 (&out.redTRC, &out.greenTRC, &out.blueTRC) in modular_transform_create_output()
888 transform.output_gamma_lut_b = Some(build_output_lut(blueTRC)?); in modular_transform_create_output()

12