Home
last modified time | relevance | path

Searched refs:skcms_Matrix3x3 (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/include/core/
DSkColorSpace.h36 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 …]
DSkICC.h13 struct skcms_Matrix3x3;
17 const skcms_Matrix3x3& toXYZD50);
DSkColorFilter.h92 const skcms_Matrix3x3* gamut,
/external/skqp/src/core/
DSkColorSpace.cpp14 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 …]
DSkICC.cpp175 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/
DSkColorSpace.h37 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);
DSkICC.h13 struct skcms_Matrix3x3;
17 const skcms_Matrix3x3& toXYZD50);
/external/skia/include/third_party/skcms/
Dskcms.h26 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*);
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/
Dskcms.h26 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()
Dskcms.cc196 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 …]
Dskcms_internal.h25 bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m);
/external/skia/src/core/
DSkColorSpace.cpp15 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 …]
DSkICC.cpp175 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()
DSkColorFilter.cpp319 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/
DColorSpaceTest.cpp37 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 …]
DAndroidCodecTest.cpp195 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()
DNdkEncodeTest.cpp229 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/
DSkNDKConversions.cpp47 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/
DColorSpaceTest.cpp36 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()
DAndroidCodecTest.cpp191 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/
Dskcms.cc380 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/
Dcolorspace.cpp24 static const skcms_Matrix3x3 gGamuts[] = {
84 for (skcms_Matrix3x3 gamut : gGamuts) { in draw_colorspace_gm()
Dpictureshadercache.cpp75 skcms_Matrix3x3 greenToYellow = {{ in onDraw()
/external/skia/docs/examples/
DDCIToXYZD50.cpp18 skcms_Matrix3x3 toXYZ; in draw()
/external/skqp/gm/
Dtosrgb_colorfilter.cpp32 skcms_Matrix3x3 narrowGamutRGBMatrix;

12