Home
last modified time | relevance | path

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

12

/external/skqp/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.cpp57 src->toXYZD50(&srcM); in SkColorSpaceXformSteps()
58 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
/external/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()
/external/skqp/include/core/
DSkColorSpace.h37 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
146 bool toXYZD50(SkMatrix44* toXYZD50) const;
148 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/external/skia/include/core/
DSkColorSpace.h36 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
153 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/external/skqp/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()
/external/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()
/external/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()
/external/skqp/third_party/skcms/
Dskcms.h107 skcms_Matrix3x3 toXYZD50; member
280 skcms_Matrix3x3* toXYZD50);
300 p->toXYZD50 = *m; in skcms_SetXYZD50()
Dskcms.cc927 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_Parse()
928 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_Parse()
929 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_Parse()
950 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_Parse()
1222 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument
1227 !toXYZD50) { in skcms_PrimariesToXYZD50()
1281 *toXYZD50 = skcms_Matrix3x3_concat(&DXtoD50, &toXYZ); in skcms_PrimariesToXYZD50()
2019 && skcms_Matrix3x3_invert(&profile->toXYZD50, fromXYZD50); in prep_for_destination()
2111 skcms_SetXYZD50(&gray_dst_profile, &skcms_XYZD50_profile()->toXYZD50); in skcms_TransformWithPalette()
2206 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50; in skcms_TransformWithPalette()
[all …]
/external/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()
/external/skqp/gm/
Dreadpixels.cpp65 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn() local
66 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
68 return SkColorSpace::MakeRGB(fn, toXYZD50); in make_parametric_transfer_fn()
/external/skqp/tests/
DColorSpaceTest.cpp37 space->toXYZD50(&mat); in test_space()
208 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
273 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
287 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
/external/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 …]
/external/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()
/external/skia/docs/examples/
DDCIToXYZD50.cpp19 p.toXYZD50(&toXYZ); in draw()
/external/skia/src/ports/
DSkNDKConversions.cpp100 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&gamut)) { in toDataSpace()
/external/skqp/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()
/external/skia/src/codec/
DSkPngCodec.cpp384 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() local
402 toXYZD50 = tmp; in read_color_profile()
424 skcms_SetXYZD50(&skcmsProfile, &toXYZD50); in read_color_profile()

12