Searched refs:dstSpace (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkColorSpaceXform_A2B.cpp | 99 SkColorSpace_XYZ* dstSpace) in SkColorSpaceXform_A2B() argument 100 : fLinearDstGamma(kLinear_SkGammaNamed == dstSpace->gammaNamed()) { in SkColorSpaceXform_A2B() 209 if (!dstSpace->fromXYZD50()->isIdentity()) { in SkColorSpaceXform_A2B() 210 addMatrix(*dstSpace->fromXYZD50()); in SkColorSpaceXform_A2B() 213 switch (dstSpace->gammaNamed()) { in SkColorSpaceXform_A2B() 225 const SkGammas& gammas = *dstSpace->gammas(); in SkColorSpaceXform_A2B()
|
D | SkColorSpaceXform_Base.h | 22 static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace, 67 SkColorSpace_XYZ* dstSpace, SkTransferFunctionBehavior premulBehavior);
|
D | SkColorSpaceXform.cpp | 294 SkColorSpace* dstSpace) { in New() argument 295 return SkColorSpaceXform_Base::New(srcSpace, dstSpace, SkTransferFunctionBehavior::kRespect); in New() 299 SkColorSpace* dstSpace, SkTransferFunctionBehavior premulBehavior) { in New() argument 301 if (!srcSpace || !dstSpace) { in New() 306 if (SkColorSpace_Base::Type::kA2B == as_CSB(dstSpace)->type()) { in New() 313 SkColorSpace_XYZ* dst = static_cast<SkColorSpace_XYZ*>(dstSpace); in New() 317 SkColorSpace_XYZ* dstSpaceXYZ = static_cast<SkColorSpace_XYZ*>(dstSpace); in New() 321 if (SkColorSpace::Equals(srcSpace, dstSpace)) { in New() 940 SkColorSpace_XYZ* dstSpace, SkTransferFunctionBehavior premulBehavior) in SkColorSpaceXform_XYZ() argument 964 const int numDstTables = num_tables(dstSpace); in SkColorSpaceXform_XYZ() [all …]
|
D | SkColorSpaceXform_A2B.h | 33 SkColorSpaceXform_A2B(SkColorSpace_A2B* srcSpace, SkColorSpace_XYZ* dstSpace);
|
/external/skia/gm/ |
D | colorspacexform.cpp | 41 sk_sp<SkColorSpace> dstSpace = in onOnceBeforeDraw() local 44 dstSpace.get()); in onOnceBeforeDraw() 51 xform = SkColorSpaceXform::New(srcSpace.get(), dstSpace.get()); in onOnceBeforeDraw()
|
/external/skia/tests/ |
D | ColorSpaceXformTest.cpp | 55 sk_sp<SkColorSpace> dstSpace(new SkColorSpace_XYZ(gammaNamed, gammas, arbitraryMatrix, in CreateIdentityXform_A2B() local 59 static_cast<SkColorSpace_XYZ*>(dstSpace.get())); in CreateIdentityXform_A2B() 308 auto dstSpace = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkMatrix44::I()); in DEF_TEST() local 309 auto xform = SkColorSpaceXform::New(srcSpace.get(), dstSpace.get()); in DEF_TEST()
|
/external/skia/include/core/ |
D | SkColorSpaceXform.h | 25 static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace);
|
/external/skia/src/gpu/effects/ |
D | GrNonlinearColorSpaceXformEffect.cpp | 190 sk_sp<SkColorSpace> dstSpace = SkColorSpace::MakeSRGB(); in TestCreate() local 191 return GrNonlinearColorSpaceXformEffect::Make(srcSpace.get(), dstSpace.get()); in TestCreate()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 1029 sk_sp<SkColorSpace> dstSpace = nullptr; in draw() local 1031 dstSpace = SkColorSpace::MakeSRGB(); in draw() 1033 dstSpace = SkColorSpace::MakeICC(dstData->data(), dstData->size()); in draw() 1036 SkImageInfo decodeInfo = codec->getInfo().makeColorType(fColorType).makeColorSpace(dstSpace); in draw()
|