Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorSpaceXformer.cpp31 return as_IB(src)->makeColorSpace(fDst); in apply()
40 sk_sp<SkImage> xformed = as_IB(image)->makeColorSpace(fDst); in apply()
165 dst.setDrawLooper(looper->makeColorSpace(this)); in apply()
DSkImageCacherator.cpp100 fInfo = fInfo.makeColorSpace(SkColorSpace::MakeSRGBLinear()); in Validator()
431 return fInfo.makeColorSpace(nullptr); in buildCacheInfo()
437 .makeColorSpace(as_CSB(fInfo.colorSpace())->makeLinearGamma()); in buildCacheInfo()
441 .makeColorSpace(as_CSB(fInfo.colorSpace())->makeSRGBGamma()); in buildCacheInfo()
DSkPixmap.cpp63 fInfo = fInfo.makeColorSpace(std::move(cs)); in setColorSpace()
DSkBitmap.cpp764 dstInfo = dstInfo.makeColorSpace(SkColorSpace::MakeSRGBLinear()); in copyTo()
DSkCanvas.cpp759 *const_cast<SkImageInfo*>(&tmp.info()) = tmp.info().makeColorSpace(nullptr); in SkCanvas()
/external/skia/include/core/
DSkDrawLooper.h104 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in SK_DEFINE_FLATTENABLE_TYPE()
DSkImageInfo.h268 SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { in makeColorSpace() function
/external/skia/src/image/
DSkImage.cpp239 SkImageInfo info = this->onImageInfo().makeColorType(kN32_SkColorType).makeColorSpace(nullptr); in onAsLegacyBitmap()
305 sk_sp<SkImage> SkImage_Base::makeColorSpace(sk_sp<SkColorSpace> target) const { in makeColorSpace() function in SkImage_Base
443 return SkImage::MakeRasterData(info.makeColorSpace(sk_ref_sp(colorSpace)), data, rowBytes); in SkImageMakeRasterCopyAndAssignColorSpace()
DSkImage_Base.h90 sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target) const;
DSkImage_Generator.cpp107 SkImageInfo dstInfo = fCache.info().makeColorSpace(target); in onMakeColorSpace()
DSkImage_Raster.cpp404 SkImageInfo dstInfo = fBitmap.info().makeColorType(kN32_SkColorType).makeColorSpace(target); in onMakeColorSpace()
/external/skia/bench/
DCodecBench.cpp47 .makeColorSpace(nullptr); in onDelayedSetup()
DColorCodecBench.cpp86 fDstInfo = fDstInfo.makeColorSpace(fDstSpace); in onDelayedSetup()
/external/skia/tools/
DResources.cpp40 gen->getPixels(gen->getInfo().makeColorSpace(nullptr), dst->getPixels(), dst->rowBytes(), in GetResourceAsBitmap()
/external/skia/gm/
Dimagemasksubset.cpp39 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels()
Dreadpixels.cpp61 .makeColorSpace(fix_for_colortype(codec->getInfo().colorSpace(), colorType)); in make_raster_image()
156 sk_sp<SkImage> raw = SkImage::MakeRasterData(dstInfo.makeColorSpace(srgb), data, rowBytes); in draw_image()
Dencode-srgb.cpp107 .makeColorSpace(fix_for_colortype(colorSpace, colorType)); in make()
Dpictureimagegenerator.cpp162 SkImageInfo bmInfo = gen->getInfo().makeColorSpace(canvas->imageInfo().refColorSpace()); in onDraw()
/external/skia/tests/
DCodecTest.cpp1073 .makeColorSpace(colorSpace); in check_color_xform()
1174 .makeColorSpace(nullptr); in DEF_TEST()
1185 .makeColorSpace(nullptr); in DEF_TEST()
1227 infoF16 = infoF16.makeColorSpace(csXYZ->makeLinearGamma()); in test_conversion_possible()
DImageTest.cpp1066 sk_sp<SkImage> p3Image = as_IB(srgbImage)->makeColorSpace(p3); in DEF_TEST()
1075 sk_sp<SkImage> adobeImage = as_IB(srgbImage)->makeColorSpace(adobeGamut); in DEF_TEST()
1085 p3Image = as_IB(srgbImage)->makeColorSpace(p3); in DEF_TEST()
/external/skia/dm/
DDMSrcSink.cpp381 *decodeInfo = decodeInfo->makeColorSpace(std::move(linearSpace)); in get_decode_info()
1036 SkImageInfo decodeInfo = codec->getInfo().makeColorType(fColorType).makeColorSpace(dstSpace); in draw()
1043 decodeInfo = decodeInfo.makeColorSpace(csXYZ->makeLinearGamma()); in draw()
/external/skia/samplecode/
DSampleApp.cpp359 auto offscreenImage = SkImage::MakeRasterData(info.makeColorSpace(colorSpace), data, in publishCanvas()