Home
last modified time | relevance | path

Searched refs:toXYZD50 (Results 1 – 25 of 40) sorted by relevance

12

/third_party/flutter/skia/src/core/
DSkColorSpace.cpp14 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() function in SkColorSpacePrimaries
19 const skcms_Matrix3x3& toXYZD50) { in SkColorSpace() argument
20 memcpy(fToXYZD50_3x3, &toXYZD50.vals[0][0], 9*sizeof(float)); in SkColorSpace()
100 SkAssertResult(skcms_Matrix3x3_invert(&skcms_sRGB_profile()->toXYZD50, &inv)); in computeLazyDstFields()
132 bool SkColorSpace::toXYZD50(SkMatrix44* toXYZD50) const { in toXYZD50() function in SkColorSpace
133 toXYZD50->set3x3RowMajorf(fToXYZD50_3x3); in toXYZD50()
137 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() function in SkColorSpace
138 memcpy(toXYZD50, fToXYZD50_3x3, 9*sizeof(float)); in toXYZD50()
145 skcms_Matrix3x3 toXYZD50, in gamutTransformTo() local
148 memcpy(& toXYZD50, this-> fToXYZD50_3x3, 9*sizeof(float)); in gamutTransformTo()
[all …]
DSkICC.cpp175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument
178 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag()
179 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag()
180 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag()
232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
246 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description()
249 bool dcip3_gamut = nearly_equal(toXYZD50, SkNamedGamut::kDCIP3); in get_color_profile_description()
257 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description()
270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument
[all …]
DSkColorSpaceXformSteps.cpp65 src->toXYZD50(&srcM); in SkColorSpaceXformSteps()
66 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
/third_party/skia/src/core/
DSkICC.cpp175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument
178 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag()
179 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag()
180 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag()
232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
246 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description()
249 bool display_p3 = nearly_equal(toXYZD50, SkNamedGamut::kDisplayP3); in get_color_profile_description()
257 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description()
270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument
[all …]
DSkColorSpace.cpp15 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() function in SkColorSpacePrimaries
20 const skcms_Matrix3x3& toXYZD50) in SkColorSpace() argument
22 , fToXYZD50(toXYZD50) { in SkColorSpace()
98 SkAssertResult(skcms_Matrix3x3_invert(&skcms_sRGB_profile()->toXYZD50, in computeLazyDstFields()
134 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() function in SkColorSpace
135 *toXYZD50 = fToXYZD50; in toXYZD50()
202 if (!skcms_Matrix3x3_invert(&profile.toXYZD50, &inv)) { in Make()
217 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make()
222 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make()
DSkColorSpaceXformSteps.cpp58 src->toXYZD50(&srcM); in SkColorSpaceXformSteps()
59 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
/third_party/flutter/skia/include/core/
DSkColorSpace.h37 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
148 bool toXYZD50(SkMatrix44* toXYZD50) const;
150 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/third_party/skia/include/core/
DSkColorSpace.h36 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
153 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/third_party/flutter/skia/src/images/
DSkImageEncoderFns.h171 skcms_Matrix3x3 toXYZD50; in icc_from_color_space() local
172 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) { in icc_from_color_space()
173 return SkWriteICCProfile(fn, toXYZD50); in icc_from_color_space()
/third_party/skia/src/images/
DSkImageEncoderFns.h189 skcms_Matrix3x3 toXYZD50; in icc_from_color_space() local
190 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) { in icc_from_color_space()
191 return SkWriteICCProfile(fn, toXYZD50); in icc_from_color_space()
/third_party/skia/include/third_party/skcms/
Dskcms.h174 skcms_Matrix3x3 toXYZD50; member
358 skcms_Matrix3x3* toXYZD50);
366 skcms_Matrix3x3* toXYZD50);
389 p->toXYZD50 = *m; in skcms_SetXYZD50()
/third_party/flutter/skia/include/third_party/skcms/
Dskcms.h107 skcms_Matrix3x3 toXYZD50; member
279 skcms_Matrix3x3* toXYZD50);
299 p->toXYZD50 = *m; in skcms_SetXYZD50()
/third_party/skia/gm/
Dreadpixels.cpp76 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn() local
77 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
79 return SkColorSpace::MakeRGB(fn, toXYZD50); in make_parametric_transfer_fn()
/third_party/flutter/skia/gm/
Dreadpixels.cpp81 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn() local
82 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
84 return SkColorSpace::MakeRGB(fn, toXYZD50); in make_parametric_transfer_fn()
/third_party/flutter/skia/tests/
DColorSpaceTest.cpp38 space->toXYZD50(&mat); in test_space()
209 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
274 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
288 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
/third_party/skia/third_party/skcms/
Dskcms.cc1276 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_ParseWithA2BPriority()
1277 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_ParseWithA2BPriority()
1278 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_ParseWithA2BPriority()
1299 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_ParseWithA2BPriority()
1653 skcms_Matrix3x3* toXYZD50) { in skcms_AdaptToXYZD50() argument
1655 !toXYZD50) { in skcms_AdaptToXYZD50()
1682 *toXYZD50 = {{ in skcms_AdaptToXYZD50()
1687 *toXYZD50 = skcms_Matrix3x3_concat(toXYZD50, &xyz_to_lms); in skcms_AdaptToXYZD50()
1688 *toXYZD50 = skcms_Matrix3x3_concat(&lms_to_xyz, toXYZD50); in skcms_AdaptToXYZD50()
1697 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument
[all …]
/third_party/skia/tests/
DColorSpaceTest.cpp38 space->toXYZD50(&mat); in test_space()
209 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
274 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
288 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
DNdkEncodeTest.cpp261 return a && b && a->isNumericalTransferFn(&fnA) && a->toXYZD50(&gamutA) in nearly_equal()
262 && b->isNumericalTransferFn(&fnB) && b->toXYZD50(&gamutB) in nearly_equal()
/third_party/skia/docs/examples/
DDCIToXYZD50.cpp19 p.toXYZD50(&toXYZ); in draw()
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc940 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_Parse()
941 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_Parse()
942 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_Parse()
963 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_Parse()
1235 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument
1240 !toXYZD50) { in skcms_PrimariesToXYZD50()
1294 *toXYZD50 = skcms_Matrix3x3_concat(&DXtoD50, &toXYZ); in skcms_PrimariesToXYZD50()
2053 && skcms_Matrix3x3_invert(&profile->toXYZD50, fromXYZD50); in prep_for_destination()
2151 skcms_SetXYZD50(&gray_dst_profile, &skcms_XYZD50_profile()->toXYZD50); in skcms_TransformWithPalette()
2246 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50; in skcms_TransformWithPalette()
[all …]
/third_party/skia/src/ports/
DSkNDKConversions.cpp100 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&gamut)) { in toDataSpace()
/third_party/flutter/skia/src/codec/
DSkPngCodec.cpp385 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() local
403 toXYZD50 = tmp; in read_color_profile()
425 skcms_SetXYZD50(&skcmsProfile, &toXYZD50); in read_color_profile()
/third_party/skia/src/codec/
DSkPngCodec.cpp383 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() local
401 toXYZD50 = tmp; in read_color_profile()
423 skcms_SetXYZD50(&skcmsProfile, &toXYZD50); in read_color_profile()

12