Searched refs:makeColorSpace (Results 1 – 22 of 22) sorted by relevance
/external/skia/src/core/ |
D | SkColorSpaceXformer.cpp | 31 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()
|
D | SkImageCacherator.cpp | 100 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()
|
D | SkPixmap.cpp | 63 fInfo = fInfo.makeColorSpace(std::move(cs)); in setColorSpace()
|
D | SkBitmap.cpp | 764 dstInfo = dstInfo.makeColorSpace(SkColorSpace::MakeSRGBLinear()); in copyTo()
|
D | SkCanvas.cpp | 759 *const_cast<SkImageInfo*>(&tmp.info()) = tmp.info().makeColorSpace(nullptr); in SkCanvas()
|
/external/skia/include/core/ |
D | SkDrawLooper.h | 104 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in SK_DEFINE_FLATTENABLE_TYPE()
|
D | SkImageInfo.h | 268 SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { in makeColorSpace() function
|
/external/skia/src/image/ |
D | SkImage.cpp | 239 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()
|
D | SkImage_Base.h | 90 sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target) const;
|
D | SkImage_Generator.cpp | 107 SkImageInfo dstInfo = fCache.info().makeColorSpace(target); in onMakeColorSpace()
|
D | SkImage_Raster.cpp | 404 SkImageInfo dstInfo = fBitmap.info().makeColorType(kN32_SkColorType).makeColorSpace(target); in onMakeColorSpace()
|
/external/skia/bench/ |
D | CodecBench.cpp | 47 .makeColorSpace(nullptr); in onDelayedSetup()
|
D | ColorCodecBench.cpp | 86 fDstInfo = fDstInfo.makeColorSpace(fDstSpace); in onDelayedSetup()
|
/external/skia/tools/ |
D | Resources.cpp | 40 gen->getPixels(gen->getInfo().makeColorSpace(nullptr), dst->getPixels(), dst->rowBytes(), in GetResourceAsBitmap()
|
/external/skia/gm/ |
D | imagemasksubset.cpp | 39 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels()
|
D | readpixels.cpp | 61 .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()
|
D | encode-srgb.cpp | 107 .makeColorSpace(fix_for_colortype(colorSpace, colorType)); in make()
|
D | pictureimagegenerator.cpp | 162 SkImageInfo bmInfo = gen->getInfo().makeColorSpace(canvas->imageInfo().refColorSpace()); in onDraw()
|
/external/skia/tests/ |
D | CodecTest.cpp | 1073 .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()
|
D | ImageTest.cpp | 1066 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/ |
D | DMSrcSink.cpp | 381 *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/ |
D | SampleApp.cpp | 359 auto offscreenImage = SkImage::MakeRasterData(info.makeColorSpace(colorSpace), data, in publishCanvas()
|