/third_party/skia/include/core/ |
D | SkColorSpace.h | 36 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const; 64 static constexpr skcms_Matrix3x3 kSRGB = {{ 74 static constexpr skcms_Matrix3x3 kAdobeRGB = {{ 84 static constexpr skcms_Matrix3x3 kDisplayP3 = {{ 90 static constexpr skcms_Matrix3x3 kRec2020 = {{ 96 static constexpr skcms_Matrix3x3 kXYZ = {{ 120 const skcms_Matrix3x3& toXYZ); 153 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const; 222 void gamutTransformTo(const SkColorSpace* dst, skcms_Matrix3x3* src_to_dst) const; 233 SkColorSpace(const skcms_TransferFunction& transferFn, const skcms_Matrix3x3& toXYZ); [all …]
|
D | SkICC.h | 13 struct skcms_Matrix3x3; 19 const skcms_Matrix3x3& toXYZD50); 20 SK_API sk_sp<SkData> SkWriteICCProfileWithCicp(const skcms_TransferFunction&, const skcms_Matrix3x3…
|
/third_party/skia/include/third_party/skcms/ |
D | skcms.h | 26 typedef struct skcms_Matrix3x3 { struct 28 } skcms_Matrix3x3; typedef 31 SKCMS_API bool skcms_Matrix3x3_invert(const skcms_Matrix3x3*, skcms_Matrix3x3*); 32 SKCMS_API skcms_Matrix3x3 skcms_Matrix3x3_concat(const skcms_Matrix3x3*, const skcms_Matrix3x3*); 181 skcms_Matrix3x3 toXYZD50; 246 SKCMS_API bool skcms_GetCHAD(const skcms_ICCProfile*, skcms_Matrix3x3*); 367 skcms_Matrix3x3* toXYZD50); 375 skcms_Matrix3x3* toXYZD50); 396 static inline void skcms_SetXYZD50(skcms_ICCProfile* p, const skcms_Matrix3x3* m) { in skcms_SetXYZD50()
|
/third_party/skia/src/core/ |
D | SkColorSpace.cpp | 15 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() 20 const skcms_Matrix3x3& toXYZD50) in SkColorSpace() 28 static bool xyz_almost_equal(const skcms_Matrix3x3& mA, const skcms_Matrix3x3& mB) { in xyz_almost_equal() 41 const skcms_Matrix3x3& toXYZ) { in MakeRGB() 68 const skcms_Matrix3x3& to_xyz) { in Make() 135 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() 140 void SkColorSpace::gamutTransformTo(const SkColorSpace* dst, skcms_Matrix3x3* src_to_dst) const { in gamutTransformTo() 174 skcms_Matrix3x3 spin = {{ in makeColorSpin() 180 skcms_Matrix3x3 spun = skcms_Matrix3x3_concat(&fToXYZD50, &spin); in makeColorSpin() 215 skcms_Matrix3x3 inv; in Make() [all …]
|
D | SkICC.cpp | 179 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() 232 static bool nearly_equal(const skcms_Matrix3x3& u, const skcms_Matrix3x3& v) { in nearly_equal() 245 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() 283 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() 313 const skcms_Matrix3x3& toXYZD50) { in SkWriteICCProfile() 371 const skcms_Matrix3x3& toXYZD50, in SkWriteICCProfileWithCicp()
|
D | SkColorFilter.cpp | 328 skcms_Matrix3x3 fGamut; bool fUseDstGamut = true; 333 const skcms_Matrix3x3* gamut, in SkWorkingFormatColorFilter() 344 skcms_Matrix3x3 gamut = fGamut; in workingFormat() 432 skcms_Matrix3x3 gamut; in CreateProc() 447 const skcms_Matrix3x3* gamut, in WithWorkingFormat()
|
D | SkColorFilterPriv.h | 22 const skcms_Matrix3x3* gamut,
|
D | SkColorSpaceXformSteps.cpp | 41 skcms_Matrix3x3 src_to_dst; // TODO: switch src_to_dst_matrix to row-major in SkColorSpaceXformSteps() 57 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps()
|
D | SkColorSpacePriv.h | 19 static constexpr skcms_Matrix3x3 gNarrow_toXYZD50 = {{
|
/third_party/skia/tests/ |
D | ColorSpaceTest.cpp | 37 skcms_Matrix3x3 mat; in test_space() 141 skcms_Matrix3x3 toXYZ = {{ in DEF_TEST() 174 skcms_Matrix3x3 toXYZ = {{ in DEF_TEST() 195 static inline bool matrix_almost_equal(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in matrix_almost_equal() 207 const skcms_Matrix3x3& reference) { in check_primaries() 208 skcms_Matrix3x3 toXYZ; in check_primaries() 216 skcms_Matrix3x3 srgbToXYZ; in DEF_TEST() 238 skcms_Matrix3x3 proToXYZ = {{ in DEF_TEST() 255 skcms_Matrix3x3 ntscToXYZ = {{ in DEF_TEST() 273 skcms_Matrix3x3 reference; in DEF_TEST() [all …]
|
D | AndroidCodecTest.cpp | 195 skcms_Matrix3x3 matrix; in DEF_TEST() 198 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() 203 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
|
D | NdkEncodeTest.cpp | 229 static constexpr skcms_Matrix3x3 kDCIP3 = {{ 250 static bool nearly_equal(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in nearly_equal() 260 skcms_Matrix3x3 gamutA, gamutB; in nearly_equal()
|
/third_party/skia/src/ports/ |
D | SkNDKConversions.cpp | 47 static constexpr skcms_Matrix3x3 kDCIP3 = {{ 57 skcms_Matrix3x3 gamut; 86 static bool nearly_equal(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in nearly_equal() 99 skcms_Matrix3x3 gamut; in toDataSpace()
|
/third_party/skia/third_party/skcms/ |
D | skcms.cc | 383 bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m) { in skcms_GetCHAD() 432 const skcms_ICCTag* bXYZ, skcms_Matrix3x3* toXYZ) { in read_to_XYZD50() 1672 static skcms_Vector3 mv_mul(const skcms_Matrix3x3* m, const skcms_Vector3* v) { in mv_mul() 1683 skcms_Matrix3x3* toXYZD50) { in skcms_AdaptToXYZD50() 1698 skcms_Matrix3x3 xyz_to_lms = {{ in skcms_AdaptToXYZD50() 1703 skcms_Matrix3x3 lms_to_xyz = {{ in skcms_AdaptToXYZD50() 1727 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() 1737 skcms_Matrix3x3 primaries = {{ in skcms_PrimariesToXYZD50() 1742 skcms_Matrix3x3 primaries_inv; in skcms_PrimariesToXYZD50() 1751 skcms_Matrix3x3 toXYZ = {{ in skcms_PrimariesToXYZD50() [all …]
|
/third_party/skia/gm/ |
D | colorspace.cpp | 24 static const skcms_Matrix3x3 gGamuts[] = { 84 for (skcms_Matrix3x3 gamut : gGamuts) { in draw_colorspace_gm()
|
D | pictureshadercache.cpp | 75 skcms_Matrix3x3 greenToYellow = {{ in onDraw()
|
D | readpixels.cpp | 76 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn()
|
/third_party/skia/docs/examples/ |
D | DCIToXYZD50.cpp | 18 skcms_Matrix3x3 toXYZ; in draw()
|
/third_party/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 93 skcms_Matrix3x3 skcmsMat; in gen_fuzzed_imageinfo()
|
/third_party/skia/src/images/ |
D | SkImageEncoderFns.h | 189 skcms_Matrix3x3 toXYZD50; in icc_from_color_space()
|
/third_party/skia/tools/fm/ |
D | fm.cpp | 539 const FlagOption<skcms_Matrix3x3> kGamuts[] = { in main() 557 skcms_Matrix3x3 gamut; in main()
|
/third_party/skia/src/codec/ |
D | SkAndroidCodec.cpp | 23 static void load_gamut(SkPoint rgb[], const skcms_Matrix3x3& xyz) { in load_gamut()
|
D | SkPngCodec.cpp | 383 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() 399 skcms_Matrix3x3 tmp; in read_color_profile()
|
/third_party/skia/dm/ |
D | DM.cpp | 1259 skcms_Matrix3x3 gamut; in identify_gamut() 1261 auto eq = [](skcms_Matrix3x3 x, skcms_Matrix3x3 y) { in identify_gamut()
|
/third_party/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 107 skcms_Matrix3x3 matrix; in make_colorspace()
|