/third_party/skia/src/core/ |
D | SkICC.cpp | 179 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument 182 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag() 183 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag() 184 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag() 245 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument 247 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description() 259 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description() 262 bool display_p3 = nearly_equal(toXYZD50, SkNamedGamut::kDisplayP3); in get_color_profile_description() 270 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description() 283 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument [all …]
|
D | SkColorSpace.cpp | 15 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() 99 SkAssertResult(skcms_Matrix3x3_invert(&skcms_sRGB_profile()->toXYZD50, in computeLazyDstFields() 135 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() function in SkColorSpace 136 *toXYZD50 = fToXYZD50; in toXYZD50() 216 if (!skcms_Matrix3x3_invert(&profile.toXYZD50, &inv)) { in Make() 231 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make() 236 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make()
|
D | SkColorSpaceXformSteps.cpp | 58 src->toXYZD50(&srcM); in SkColorSpaceXformSteps() 59 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
|
D | SkColorFilter.cpp | 347 if (fUseDstGamut) { SkAssertResult(dstCS->toXYZD50 (&gamut)); } in workingFormat()
|
/third_party/skia/include/core/ |
D | SkColorSpace.h | 36 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const; 153 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
|
D | SkICC.h | 19 const skcms_Matrix3x3& toXYZD50); 20 …p<SkData> SkWriteICCProfileWithCicp(const skcms_TransferFunction&, const skcms_Matrix3x3& toXYZD50,
|
/third_party/skia/src/images/ |
D | SkImageEncoderFns.h | 189 skcms_Matrix3x3 toXYZD50; in icc_from_color_space() local 191 if (cs->toXYZD50(&toXYZD50)) { in icc_from_color_space() 194 return SkWriteICCProfileWithCicp(fn, toXYZD50, cicp); in icc_from_color_space() 196 return SkWriteICCProfile(fn, toXYZD50); in icc_from_color_space()
|
/third_party/skia/include/third_party/skcms/ |
D | skcms.h | 181 skcms_Matrix3x3 toXYZD50; member 367 skcms_Matrix3x3* toXYZD50); 375 skcms_Matrix3x3* toXYZD50); 398 p->toXYZD50 = *m; in skcms_SetXYZD50()
|
/third_party/skia/gm/ |
D | readpixels.cpp | 76 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/skia/third_party/skcms/ |
D | skcms.cc | 1300 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_ParseWithA2BPriority() 1301 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_ParseWithA2BPriority() 1302 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_ParseWithA2BPriority() 1323 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_ParseWithA2BPriority() 1683 skcms_Matrix3x3* toXYZD50) { in skcms_AdaptToXYZD50() argument 1685 !toXYZD50) { in skcms_AdaptToXYZD50() 1712 *toXYZD50 = {{ in skcms_AdaptToXYZD50() 1717 *toXYZD50 = skcms_Matrix3x3_concat(toXYZD50, &xyz_to_lms); in skcms_AdaptToXYZD50() 1718 *toXYZD50 = skcms_Matrix3x3_concat(&lms_to_xyz, toXYZD50); in skcms_AdaptToXYZD50() 1727 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument [all …]
|
/third_party/skia/tests/ |
D | ColorSpaceTest.cpp | 38 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()
|
D | NdkEncodeTest.cpp | 261 return a && b && a->isNumericalTransferFn(&fnA) && a->toXYZD50(&gamutA) in nearly_equal() 262 && b->isNumericalTransferFn(&fnB) && b->toXYZD50(&gamutB) in nearly_equal()
|
D | AndroidCodecTest.cpp | 196 cs->toXYZD50(&matrix); in DEF_TEST()
|
D | CodecTest.cpp | 1616 bool success = p3->toXYZD50(&mat0); in test_encode_icc() 1618 success = p3Codec->getInfo().colorSpace()->toXYZD50(&mat1); in test_encode_icc()
|
/third_party/skia/docs/examples/ |
D | DCIToXYZD50.cpp | 19 p.toXYZD50(&toXYZ); in draw()
|
/third_party/skia/src/codec/ |
D | SkPngCodec.cpp | 383 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()
|
D | SkAndroidCodec.cpp | 51 load_gamut(rgb, profile.toXYZD50); in is_wide_gamut()
|
/third_party/skia/src/ports/ |
D | SkNDKConversions.cpp | 100 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&gamut)) { in toDataSpace()
|
/third_party/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 108 p->toXYZD50(&matrix); in make_colorspace()
|
/third_party/skia/dm/ |
D | DM.cpp | 1260 if (cs->toXYZD50(&gamut)) { in identify_gamut()
|
/third_party/skia/site/docs/user/release/ |
D | release_notes.md | 673 * Removed SkMatrix44 version of toXYZD50 from SkColorSpace. Switched to skcms types in
|
/third_party/skia/ |
D | RELEASE_NOTES.txt | 785 * Removed SkMatrix44 version of toXYZD50 from SkColorSpace. Switched to skcms types in
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 1475 SkAssertResult(fColorSpacePrimaries.toXYZD50(&toXYZ)); in drawSlide()
|