Home
last modified time | relevance | path

Searched refs:SkColorSpace_XYZ (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/core/
DSkColorSpace_XYZ.cpp13 SkColorSpace_XYZ::SkColorSpace_XYZ(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50) in SkColorSpace_XYZ() function in SkColorSpace_XYZ
22 SkColorSpace_XYZ::SkColorSpace_XYZ(SkGammaNamed gammaNamed, sk_sp<SkGammas> gammas, in SkColorSpace_XYZ() function in SkColorSpace_XYZ
40 const SkMatrix44* SkColorSpace_XYZ::fromXYZD50() const { in fromXYZD50()
54 bool SkColorSpace_XYZ::onGammaCloseToSRGB() const { in onGammaCloseToSRGB()
58 bool SkColorSpace_XYZ::onGammaIsLinear() const { in onGammaIsLinear()
62 bool SkColorSpace_XYZ::onIsNumericalTransferFn(SkColorSpaceTransferFn* coeffs) const { in onIsNumericalTransferFn()
85 sk_sp<SkColorSpace> SkColorSpace_XYZ::makeLinearGamma() { in makeLinearGamma()
92 sk_sp<SkColorSpace> SkColorSpace_XYZ::makeSRGBGamma() { in makeSRGBGamma()
99 void SkColorSpace_XYZ::toDstGammaTables(const uint8_t* tables[3], sk_sp<SkData>* storage, in toDstGammaTables()
DSkColorSpaceXform_Base.h16 class SkColorSpace_XYZ; variable
31 const SkColorSpace_XYZ* space, bool gammasAreMatching);
34 friend class SkColorSpace_XYZ; variable
66 SkColorSpaceXform_XYZ(SkColorSpace_XYZ* srcSpace, const SkMatrix44& srcToDst,
67 SkColorSpace_XYZ* dstSpace, SkTransferFunctionBehavior premulBehavior);
83 friend std::unique_ptr<SkColorSpaceXform> SlowIdentityXform(SkColorSpace_XYZ* space);
102 std::unique_ptr<SkColorSpaceXform> SlowIdentityXform(SkColorSpace_XYZ* space);
DSkColorSpace.cpp140 return sk_sp<SkColorSpace>(new SkColorSpace_XYZ(gammaNamed, toXYZD50)); in MakeRGB()
182 return sk_sp<SkColorSpace>(new SkColorSpace_XYZ(kNonStandard_SkGammaNamed, in MakeRGB()
215 gSRGB = new SkColorSpace_XYZ(kSRGB_SkGammaNamed, srgbToxyzD50); in MakeNamed()
226 gAdobeRGB = new SkColorSpace_XYZ(k2Dot2Curve_SkGammaNamed, adobergbToxyzD50); in MakeNamed()
237 gSRGBLinear = new SkColorSpace_XYZ(kLinear_SkGammaNamed, srgbToxyzD50); in MakeNamed()
344 const SkColorSpace_XYZ* thisXYZ = static_cast<const SkColorSpace_XYZ*>(this); in writeToMemory()
534 const SkColorSpace_XYZ* srcXYZ = static_cast<const SkColorSpace_XYZ*>(src); in Equals()
535 const SkColorSpace_XYZ* dstXYZ = static_cast<const SkColorSpace_XYZ*>(dst); in Equals()
DSkColorSpace_XYZ.h15 class SkColorSpace_XYZ : public SkColorSpace_Base {
39 SkColorSpace_XYZ(SkGammaNamed gammaNamed, const SkMatrix44& toXYZ);
41 SkColorSpace_XYZ(SkGammaNamed gammaNamed, sk_sp<SkGammas> gammas,
DSkColorSpaceXform_A2B.h20 class SkColorSpace_XYZ; variable
33 SkColorSpaceXform_A2B(SkColorSpace_A2B* srcSpace, SkColorSpace_XYZ* dstSpace);
DSkColorSpaceXform.cpp212 const SkColorSpace_XYZ* space, const GammaFns<T>& fns, in build_gamma_tables()
285 const SkColorSpace_XYZ* space, in BuildDstGammaTables()
313 SkColorSpace_XYZ* dst = static_cast<SkColorSpace_XYZ*>(dstSpace); in New()
316 SkColorSpace_XYZ* srcSpaceXYZ = static_cast<SkColorSpace_XYZ*>(srcSpace); in New()
317 SkColorSpace_XYZ* dstSpaceXYZ = static_cast<SkColorSpace_XYZ*>(dstSpace); in New()
915 static AI int num_tables(SkColorSpace_XYZ* space) { in num_tables()
939 ::SkColorSpaceXform_XYZ(SkColorSpace_XYZ* srcSpace, const SkMatrix44& srcToDst, in SkColorSpaceXform_XYZ()
940 SkColorSpace_XYZ* dstSpace, SkTransferFunctionBehavior premulBehavior) in SkColorSpaceXform_XYZ()
1306 std::unique_ptr<SkColorSpaceXform> SlowIdentityXform(SkColorSpace_XYZ* space) { in SlowIdentityXform()
DSkICC.cpp71 SkColorSpace_XYZ* colorSpace = (SkColorSpace_XYZ*) fColorSpace.get(); in rawTransferFnData()
DSkColorSpace_Base.h215 friend class SkColorSpace_XYZ; variable
DSkColorSpaceXform_A2B.cpp99 SkColorSpace_XYZ* dstSpace) in SkColorSpaceXform_A2B()
DSkColorSpace_ICC.cpp1411 return sk_sp<SkColorSpace>(new SkColorSpace_XYZ(gammaNamed, in make_xyz()
1456 return sk_sp<SkColorSpace>(new SkColorSpace_XYZ(kNonStandard_SkGammaNamed, in make_gray()
/external/skia/tests/
DColorSpaceXformTest.cpp25 sk_sp<SkColorSpace> space(new SkColorSpace_XYZ( in CreateIdentityXform()
29 return SlowIdentityXform(static_cast<SkColorSpace_XYZ*>(space.get())); in CreateIdentityXform()
55 sk_sp<SkColorSpace> dstSpace(new SkColorSpace_XYZ(gammaNamed, gammas, arbitraryMatrix, in CreateIdentityXform_A2B()
59 static_cast<SkColorSpace_XYZ*>(dstSpace.get())); in CreateIdentityXform_A2B()
DColorSpaceTest.cpp28 SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(space); in test_space()
139 auto srgbXYZ = static_cast<SkColorSpace_XYZ*>(srgb.get()); in DEF_TEST()
215 SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(cs.get()); in DEF_TEST()
DICCTest.cpp162 return MakeICC(sk_sp<SkColorSpace>(new SkColorSpace_XYZ( in MakeICC()
DCodecTest.cpp1226 SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(infoF16.colorSpace()); in test_conversion_possible()
/external/skia/bench/
DColorCodecBench.cpp91 fDstSpace = static_cast<SkColorSpace_XYZ*>(fDstSpace.get())->makeLinearGamma(); in onDelayedSetup()
/external/skia/include/core/
DSkMatrix44.h503 friend class SkColorSpace_XYZ; variable
/external/skia/tools/
Dcolorspaceinfo.cpp333 auto xyz = static_cast<SkColorSpace_XYZ*>(colorSpace.get()); in main()
/external/skia/gn/
Dcore.gni85 "$_src/core/SkColorSpace_XYZ.cpp",
86 "$_src/core/SkColorSpace_XYZ.h",
/external/skia/dm/
DDMSrcSink.cpp1042 SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(decodeInfo.colorSpace()); in draw()
/external/skia/samplecode/
DSampleApp.cpp1725 SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(colorSpace.get()); in onEvent()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp1797 fColorSpace = static_cast<SkColorSpace_XYZ*>(fColorSpace.get())->makeLinearGamma(); in RandomGradientParams()
/external/skia/
DAndroid.bp144 "src/core/SkColorSpace_XYZ.cpp",