Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkImageInfo.h184 : fColorSpace(nullptr) in SkImageInfo()
236 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
237 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
249 return fColorSpace && fColorSpace->gammaCloseToSRGB(); in gammaCloseToSRGB()
257 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
261 return Make(fWidth, fHeight, fColorType, newAlphaType, fColorSpace); in makeAlphaType()
265 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace); in makeColorType()
297 SkColorSpace::Equals(fColorSpace.get(), other.fColorSpace.get());
327 fColorSpace = nullptr; in reset()
337 sk_sp<SkColorSpace> fColorSpace;
[all …]
DSkCrossContextImageData.h45 , fColorSpace(std::move(colorSpace)) in SkCrossContextImageData()
60 sk_sp<SkColorSpace> fColorSpace; variable
DSkImageFilter.h43 explicit OutputProperties(SkColorSpace* colorSpace) : fColorSpace(colorSpace) {} in OutputProperties()
45 SkColorSpace* colorSpace() const { return fColorSpace; } in colorSpace()
50 SkColorSpace* fColorSpace;
DSkICC.h104 sk_sp<SkColorSpace> fColorSpace; variable
/external/skia/src/gpu/
DGrSurfaceContext.h35 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace()
36 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
37 bool isGammaCorrect() const { return fColorSpace; } in isGammaCorrect()
129 sk_sp<SkColorSpace> fColorSpace; variable
DGrSurfaceContext.cpp24 , fColorSpace(std::move(colorSpace)) in GrSurfaceContext()
DGrYUVProvider.cpp53 if (!provider->onQueryYUV8(&yuvInfo->fSizeInfo, &yuvInfo->fColorSpace)) { in init()
139 yuvInfo.fSizeInfo.fSizes, yuvInfo.fColorSpace, false)); in refAsTextureProxy()
DGrTextureAdjuster.cpp26 , fColorSpace(cs) in GrTextureAdjuster()
167 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace, in createFragmentProcessor()
DGrTextureAdjuster.h59 SkColorSpace* fColorSpace; variable
/external/skia/src/gpu/effects/
DGrYUVEffect.cpp96 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace()
167 , fColorSpace(colorSpace) in YUVtoRGBEffect()
192 return (fColorSpace == s.getColorSpace()) && (fNV12 == s.isNV12()); in onIsEqual()
201 SkYUVColorSpace fColorSpace; member in __anonedec87e40111::YUVtoRGBEffect
227 , fColorSpace(colorSpace) in RGBToYUVEffect()
235 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace()
350 return fColorSpace == s.getColorSpace() && fOutputChannels == s.outputChannels(); in onIsEqual()
355 SkYUVColorSpace fColorSpace; member in __anonedec87e40111::RGBToYUVEffect
/external/skia/src/image/
DSkImage_Gpu.cpp47 , fColorSpace(std::move(colorSpace)) in SkImage_Gpu()
62 return SkImageInfo::Make(fProxy->width(), fProxy->height(), ct, fAlphaType, fColorSpace); in onImageInfo()
86 fColorSpace); in getROPixels()
114 *texColorSpace = this->fColorSpace; in asTextureProxyRef()
118 this->uniqueID(), this->fColorSpace.get()); in asTextureProxyRef()
200 fColorSpace); in onReadPixels()
243 fColorSpace, fBudgeted); in onMakeSubset()
487 std::move(ccid->fColorSpace), ownership, nullptr, nullptr); in MakeFromCrossContextImageData()
525 void* fColorSpace; member
731 FILL_MEMBER(dtiBufferFiller, fColorSpace, &colorSpace); in getDeferredTextureImageData()
[all …]
DSkImage_Gpu.h63 sk_sp<SkColorSpace> refColorSpace() { return fColorSpace; } in refColorSpace()
72 sk_sp<SkColorSpace> fColorSpace; variable
/external/skia/tools/viewer/sk_app/
DDisplayParams.h18 , fColorSpace(nullptr) in DisplayParams()
22 sk_sp<SkColorSpace> fColorSpace; member
DGLWindowContext.cpp51 fPixelConfig = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace in initializeContext()
88 fDisplayParams.fColorSpace, in getBackbufferSurface()
/external/skia/src/core/
DSkSpecialImage.cpp364 , fColorSpace(std::move(colorSpace)) in SkSpecialImage_Gpu()
391 fColorSpace, SkBudgeted::kNo)); in onDraw()
413 this->alphaType(), fColorSpace); in onGetROPixels()
437 return fColorSpace.get(); in onGetColorSpace()
457 fColorSpace, in onMakeSubset()
472 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
484 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace); in onAsImage()
489 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
506 sk_sp<SkColorSpace> fColorSpace; member in SkSpecialImage_Gpu
DSkImageInfo.cpp38 fColorSpace = SkColorSpace::Deserialize(data->data(), data->size()); in unflatten()
50 if (fColorSpace) { in flatten()
51 sk_sp<SkData> data = fColorSpace->serialize(); in flatten()
DSkICC.cpp19 : fColorSpace(std::move(colorSpace)) in SkICC()
32 const SkMatrix44* m = as_CSB(fColorSpace)->toXYZD50(); in toXYZD50()
42 return as_CSB(fColorSpace)->onIsNumericalTransferFn(coeffs); in isNumericalTransferFn()
68 if (SkColorSpace_Base::Type::kA2B == as_CSB(fColorSpace)->type()) { in rawTransferFnData()
71 SkColorSpace_XYZ* colorSpace = (SkColorSpace_XYZ*) fColorSpace.get(); in rawTransferFnData()
DSkYUVPlanesCache.h28 SkYUVColorSpace fColorSpace; member
DSkColorShader.cpp129 : fColorSpace(std::move(space)) in SkColor4Shader()
216 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor()
333 return append_gamut_transform(p, scratch, fColorSpace.get(), dst); in onAppendStages()
/external/skia/tests/
DYUVCacheTest.cpp40 yuvInfo.fColorSpace = kRec601_SkYUVColorSpace; in DEF_TEST()
70 REPORTER_ASSERT(reporter, yuvInfo.fColorSpace == yuvInfoRead.fColorSpace); in DEF_TEST()
/external/skia/tools/flags/
DSkCommonFlagsConfig.h71 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace()
79 sk_sp<SkColorSpace> fColorSpace; variable
/external/skia/src/effects/gradients/
DSkGradientShader.cpp42 sk_sp<SkData> colorSpaceData = fColorSpace ? fColorSpace->serialize() : nullptr; in flatten()
96 fColorSpace = nullptr; in unflatten()
128 fColorSpace = SkColorSpace::Deserialize(data->data(), data->size()); in unflatten()
130 fColorSpace = nullptr; in unflatten()
218 if (!desc.fColorSpace) { in SkGradientShaderBase()
220 fColorSpace = SkColorSpace::MakeSRGBLinear(); in SkGradientShaderBase()
223 SkASSERT(desc.fColorSpace->gammaIsLinear()); in SkGradientShaderBase()
224 fColorSpace = desc.fColorSpace; in SkGradientShaderBase()
318 desc.fColorSpace = fColorSpace; in flatten()
849 desc->fColorSpace = std::move(colorSpace); in desc_init()
[all …]
DSkSweepGradient.cpp39 std::move(desc.fColorSpace), desc.fPos, desc.fCount, in CreateProc()
193 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, params.fColorSpace, in TestCreate()
250 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor()
DSkGradientShaderPriv.h91 sk_sp<SkColorSpace> fColorSpace; member
262 sk_sp<SkColorSpace> fColorSpace; // color space of gradient stops variable
421 sk_sp<SkColorSpace> fColorSpace; member
DSkRadialGradient.cpp68 return SkGradientShader::MakeRadial(center, radius, desc.fColors, std::move(desc.fColorSpace), in CreateProc()
313 params.fColorSpace, params.fStops, in TestCreate()
360 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor()

12