Home
last modified time | relevance | path

Searched refs:dstCS (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/core/
DSkColorFilter.cpp98 SkColorSpace* dstCS) const { in filterColor4f()
101 dstCS, kPremul_SkAlphaType).apply(color.vec()); in filterColor4f()
103 return as_CFB(this)->onFilterColor4f(color, dstCS).unpremul(); in filterColor4f()
107 SkColorSpace* dstCS) const { in onFilterColor4f()
116 SkStageRec rec = {&pipeline, &alloc, kRGBA_F32_SkColorType, dstCS, solidPaint, props}; in onFilterColor4f()
130 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f()
396 sk_sp<SkColorSpace> workingFormat(const sk_sp<SkColorSpace>& dstCS, SkAlphaType* at) const { in workingFormat() argument
400 if (fUseDstTF ) { SkAssertResult(dstCS->isNumericalTransferFn(&tf)); } in workingFormat()
401 if (fUseDstGamut) { SkAssertResult(dstCS->toXYZD50 (&gamut)); } in workingFormat()
412 sk_sp<SkColorSpace> dstCS = dstColorInfo.refColorSpace(); in asFragmentProcessor() local
[all …]
DSkPaintPriv.cpp100 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument
110 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
DSkPaintPriv.h59 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
DSkBlitter_Sprite.cpp130 if (auto dstCS = fDst.colorSpace()) { in setup() local
140 dstCS, kPremul_SkAlphaType) in setup()
DSkColorFilterBase.h85 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const;
DSkRasterPipelineBlitter.cpp104 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local
108 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter()
126 if (shader->appendRootStages({&shaderPipeline, alloc, dstCT, dstCS, paint, props}, ctm)) { in SkCreateRasterPipelineBlitter()
DSkRuntimeEffectPriv.h81 const SkColorSpace* dstCS);
DSkRuntimeEffect.cpp149 const SkColorSpace* dstCS) { in TransformUniforms() argument
151 dstCS, kUnpremul_SkAlphaType); in TransformUniforms()
1265 SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const override { in onFilterColor4f()
1271 return SkColorFilterBase::onFilterColor4f(color, dstCS); in onFilterColor4f()
1278 dstCS); in onFilterColor4f()
1288 return as_CFB(colorFilter)->onFilterColor4f(inColor, dstCS); in onFilterColor4f()
1520 sk_sp<const SkData> uniformData(const SkColorSpace* dstCS) const { in uniformData()
1526 sk_sp<const SkData> uniforms = fUniformsCallback({dstCS}); in uniformData()
DSkDraw_vertices.cpp211 auto dstCS = skipColorXform ? nullptr : sk_ref_sp(deviceCS); in convert_colors() local
215 SkImageInfo::Make(count, 1, kRGBA_F32_SkColorType, kPremul_SkAlphaType, dstCS); in convert_colors()
/external/pdfium/core/fxcodec/icc/
Dicc_transform.cpp90 cmsColorSpaceSignature dstCS = cmsGetColorSpace(dstProfile.get()); in CreateTransformSRGB() local
91 if (!Check3Components(dstCS)) in CreateTransformSRGB()
95 switch (dstCS) { in CreateTransformSRGB()
/external/skia/src/shaders/
DSkPictureShader.cpp377 auto dstCS = ref_or_srgb(args.fDstColorInfo->colorSpace()); in asFragmentProcessor() local
382 dstCS.get(), in asFragmentProcessor()
397 dstCS->toXYZD50Hash(), in asFragmentProcessor()
398 dstCS->transferFnHash(), in asFragmentProcessor()
/external/skia/include/core/
DSkColorFilter.h50 SkColorSpace* dstCS) const;
/external/skia/src/gpu/ganesh/
DSkGr.cpp547 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in skpaint_to_grpaint_impl() local
548 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl()
/external/skia/site/docs/user/
Dcolor.md82 if (dstCS == nullptr) { dstCS = srcCS; }
/external/skia/src/utils/
DSkPatchUtils.cpp240 static void skcolor_to_float(SkPMColor4f* dst, const SkColor* src, int count, SkColorSpace* dstCS) { in skcolor_to_float() argument
244 kPremul_SkAlphaType, sk_ref_sp(dstCS)); in skcolor_to_float()
/external/skia/src/shaders/gradients/
DSkGradientShaderBase.h108 const SkColorInfo& dstCS,
/external/skia/tests/
DReadPixelsTest.cpp524 for (const sk_sp<SkColorSpace>& dstCS : kColorSpaces) { in DEF_TEST() local
529 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/external/skia/src/gpu/graphite/
DDevice.cpp115 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in extract_paint_color() local
116 return filter->filterColor4f(dstPaintColor, dstCS, dstCS); in extract_paint_color()