Home
last modified time | relevance | path

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

12

/third_party/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;
233 SkColorSpace(const skcms_TransferFunction& transferFn, const skcms_Matrix3x3& toXYZ);
[all …]
DSkICC.h13 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/
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*);
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/
DSkColorSpace.cpp15 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 …]
DSkICC.cpp179 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()
DSkColorFilter.cpp328 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()
DSkColorFilterPriv.h22 const skcms_Matrix3x3* gamut,
DSkColorSpaceXformSteps.cpp41 skcms_Matrix3x3 src_to_dst; // TODO: switch src_to_dst_matrix to row-major in SkColorSpaceXformSteps()
57 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps()
DSkColorSpacePriv.h19 static constexpr skcms_Matrix3x3 gNarrow_toXYZD50 = {{
/third_party/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()
/third_party/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()
/third_party/skia/third_party/skcms/
Dskcms.cc383 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/
Dcolorspace.cpp24 static const skcms_Matrix3x3 gGamuts[] = {
84 for (skcms_Matrix3x3 gamut : gGamuts) { in draw_colorspace_gm()
Dpictureshadercache.cpp75 skcms_Matrix3x3 greenToYellow = {{ in onDraw()
Dreadpixels.cpp76 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn()
/third_party/skia/docs/examples/
DDCIToXYZD50.cpp18 skcms_Matrix3x3 toXYZ; in draw()
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp93 skcms_Matrix3x3 skcmsMat; in gen_fuzzed_imageinfo()
/third_party/skia/src/images/
DSkImageEncoderFns.h189 skcms_Matrix3x3 toXYZD50; in icc_from_color_space()
/third_party/skia/tools/fm/
Dfm.cpp539 const FlagOption<skcms_Matrix3x3> kGamuts[] = { in main()
557 skcms_Matrix3x3 gamut; in main()
/third_party/skia/src/codec/
DSkAndroidCodec.cpp23 static void load_gamut(SkPoint rgb[], const skcms_Matrix3x3& xyz) { in load_gamut()
DSkPngCodec.cpp383 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile()
399 skcms_Matrix3x3 tmp; in read_color_profile()
/third_party/skia/dm/
DDM.cpp1259 skcms_Matrix3x3 gamut; in identify_gamut()
1261 auto eq = [](skcms_Matrix3x3 x, skcms_Matrix3x3 y) { in identify_gamut()
/third_party/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp107 skcms_Matrix3x3 matrix; in make_colorspace()

12