/external/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; 230 SkColorSpace(const skcms_TransferFunction& transferFn, const skcms_Matrix3x3& toXYZ); [all …]
|
D | SkICC.h | 13 struct skcms_Matrix3x3; 17 const skcms_Matrix3x3& toXYZD50);
|
D | SkColorFilter.h | 92 const skcms_Matrix3x3* gamut,
|
/external/skqp/src/core/ |
D | SkColorSpace.cpp | 14 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() 19 const skcms_Matrix3x3& toXYZD50) { in SkColorSpace() 27 static bool xyz_almost_equal(const skcms_Matrix3x3& mA, const skcms_Matrix3x3& mB) { in xyz_almost_equal() 40 const skcms_Matrix3x3& toXYZ) { in MakeRGB() 67 const skcms_Matrix3x3& to_xyz) { in Make() 97 skcms_Matrix3x3 fwd, inv; in computeLazyDstFields() 137 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() 145 skcms_Matrix3x3 toXYZD50, in gamutTransformTo() 151 skcms_Matrix3x3 srcToDst = skcms_Matrix3x3_concat(&fromXYZD50, &toXYZD50); in gamutTransformTo() 173 skcms_Matrix3x3 gamut; in makeLinearGamma() [all …]
|
D | SkICC.cpp | 175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() 219 static bool nearly_equal(const skcms_Matrix3x3& u, const skcms_Matrix3x3& v) { in nearly_equal() 232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() 270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() 296 const skcms_Matrix3x3& toXYZD50) { in SkWriteICCProfile()
|
/external/skqp/include/core/ |
D | SkColorSpace.h | 37 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const; 56 static constexpr skcms_Matrix3x3 kSRGB = {{ 66 static constexpr skcms_Matrix3x3 kAdobeRGB = {{ 76 static constexpr skcms_Matrix3x3 kDCIP3 = {{ 82 static constexpr skcms_Matrix3x3 kRec2020 = {{ 88 static constexpr skcms_Matrix3x3 kXYZ = {{ 112 const skcms_Matrix3x3& toXYZ); 148 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const; 225 const skcms_Matrix3x3& toXYZ);
|
D | SkICC.h | 13 struct skcms_Matrix3x3; 17 const skcms_Matrix3x3& toXYZD50);
|
/external/skia/include/third_party/skcms/ |
D | skcms.h | 26 typedef struct skcms_Matrix3x3 { struct 28 } skcms_Matrix3x3; argument 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*); 174 skcms_Matrix3x3 toXYZD50; 237 SKCMS_API bool skcms_GetCHAD(const skcms_ICCProfile*, skcms_Matrix3x3*); 358 skcms_Matrix3x3* toXYZD50); 366 skcms_Matrix3x3* toXYZD50); 387 static inline void skcms_SetXYZD50(skcms_ICCProfile* p, const skcms_Matrix3x3* m) { in skcms_SetXYZD50()
|
/external/skqp/third_party/skcms/ |
D | skcms.h | 26 typedef struct skcms_Matrix3x3 { struct 28 } skcms_Matrix3x3; argument 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*); 107 skcms_Matrix3x3 toXYZD50; 280 skcms_Matrix3x3* toXYZD50); 298 static inline void skcms_SetXYZD50(skcms_ICCProfile* p, const skcms_Matrix3x3* m) { in skcms_SetXYZD50()
|
D | skcms.cc | 196 bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m) { in skcms_GetCHAD() 239 const skcms_ICCTag* bXYZ, skcms_Matrix3x3* toXYZ) { in read_to_XYZD50() 1208 static skcms_Vector3 mv_mul(const skcms_Matrix3x3* m, const skcms_Vector3* v) { in mv_mul() 1222 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() 1232 skcms_Matrix3x3 primaries = {{ in skcms_PrimariesToXYZD50() 1237 skcms_Matrix3x3 primaries_inv; in skcms_PrimariesToXYZD50() 1246 skcms_Matrix3x3 toXYZ = {{ in skcms_PrimariesToXYZD50() 1259 skcms_Matrix3x3 xyz_to_lms = {{ in skcms_PrimariesToXYZD50() 1264 skcms_Matrix3x3 lms_to_xyz = {{ in skcms_PrimariesToXYZD50() 1273 skcms_Matrix3x3 DXtoD50 = {{ in skcms_PrimariesToXYZD50() [all …]
|
D | skcms_internal.h | 25 bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m);
|
/external/skia/src/core/ |
D | SkColorSpace.cpp | 15 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() 20 const skcms_Matrix3x3& toXYZD50) in SkColorSpace() 27 static bool xyz_almost_equal(const skcms_Matrix3x3& mA, const skcms_Matrix3x3& mB) { in xyz_almost_equal() 40 const skcms_Matrix3x3& toXYZ) { in MakeRGB() 67 const skcms_Matrix3x3& to_xyz) { in Make() 134 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() 139 void SkColorSpace::gamutTransformTo(const SkColorSpace* dst, skcms_Matrix3x3* src_to_dst) const { in gamutTransformTo() 173 skcms_Matrix3x3 spin = {{ in makeColorSpin() 179 skcms_Matrix3x3 spun = skcms_Matrix3x3_concat(&fToXYZD50, &spin); in makeColorSpin() 201 skcms_Matrix3x3 inv; in Make() [all …]
|
D | SkICC.cpp | 175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() 219 static bool nearly_equal(const skcms_Matrix3x3& u, const skcms_Matrix3x3& v) { in nearly_equal() 232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() 270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() 300 const skcms_Matrix3x3& toXYZD50) { in SkWriteICCProfile()
|
D | SkColorFilter.cpp | 319 skcms_Matrix3x3 fGamut; bool fUseDstGamut = true; 324 const skcms_Matrix3x3* gamut, in SkWorkingFormatColorFilter() 335 skcms_Matrix3x3 gamut = fGamut; in workingFormat() 423 skcms_Matrix3x3 gamut; in CreateProc() 438 const skcms_Matrix3x3* gamut, in WithWorkingFormat()
|
/external/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()
|
/external/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()
|
/external/skqp/tests/ |
D | ColorSpaceTest.cpp | 36 skcms_Matrix3x3 mat; in test_space() 140 skcms_Matrix3x3 toXYZ = {{ in DEF_TEST() 173 skcms_Matrix3x3 toXYZ = {{ in DEF_TEST() 194 static inline bool matrix_almost_equal(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in matrix_almost_equal() 206 const skcms_Matrix3x3& reference) { in check_primaries() 207 skcms_Matrix3x3 toXYZ; in check_primaries() 215 skcms_Matrix3x3 srgbToXYZ; in DEF_TEST() 237 skcms_Matrix3x3 proToXYZ = {{ in DEF_TEST() 254 skcms_Matrix3x3 ntscToXYZ = {{ in DEF_TEST() 272 skcms_Matrix3x3 reference; in DEF_TEST()
|
D | AndroidCodecTest.cpp | 191 skcms_Matrix3x3 matrix; in DEF_TEST() 194 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() 199 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
|
/external/skia/third_party/skcms/ |
D | skcms.cc | 380 bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m) { in skcms_GetCHAD() 429 const skcms_ICCTag* bXYZ, skcms_Matrix3x3* toXYZ) { in read_to_XYZD50() 1642 static skcms_Vector3 mv_mul(const skcms_Matrix3x3* m, const skcms_Vector3* v) { in mv_mul() 1653 skcms_Matrix3x3* toXYZD50) { in skcms_AdaptToXYZD50() 1668 skcms_Matrix3x3 xyz_to_lms = {{ in skcms_AdaptToXYZD50() 1673 skcms_Matrix3x3 lms_to_xyz = {{ in skcms_AdaptToXYZD50() 1697 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() 1707 skcms_Matrix3x3 primaries = {{ in skcms_PrimariesToXYZD50() 1712 skcms_Matrix3x3 primaries_inv; in skcms_PrimariesToXYZD50() 1721 skcms_Matrix3x3 toXYZ = {{ in skcms_PrimariesToXYZD50() [all …]
|
/external/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()
|
/external/skia/docs/examples/ |
D | DCIToXYZD50.cpp | 18 skcms_Matrix3x3 toXYZ; in draw()
|
/external/skqp/gm/ |
D | tosrgb_colorfilter.cpp | 32 skcms_Matrix3x3 narrowGamutRGBMatrix;
|