Home
last modified time | relevance | path

Searched refs:srcPixels (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkConfig8888.cpp171 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in CopyPixels() argument
184 memcpy(dstPixels, srcPixels, bytes); in CopyPixels()
185 srcPixels = (const char*)srcPixels + srcRB; in CopyPixels()
202 srcPI.fPixels = srcPixels; in CopyPixels()
225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); in CopyPixels()
235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); in CopyPixels()
239 copy_32_to_g8(dstPixels, dstRB, srcPixels, srcRB, srcInfo); in CopyPixels()
263 const uint8_t* SK_RESTRICT srcRow = (const uint8_t*)srcPixels; in CopyPixels()
268 const SkPMColor* SK_RESTRICT srcRow = (const SkPMColor*)srcPixels; in CopyPixels()
274 srcPixels = (const char*)srcPixels + srcRB; in CopyPixels()
[all …]
DSkConfig8888.h21 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes,
DSkPixmap.cpp107 const void* srcPixels = this->addr(srcR.x(), srcR.y()); in readPixels() local
109 srcInfo, srcPixels, this->rowBytes(), this->ctable()); in readPixels()
DSkBitmapDevice.cpp161 bool SkBitmapDevice::onWritePixels(const SkImageInfo& srcInfo, const void* srcPixels, in onWritePixels() argument
173 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { in onWritePixels()
/external/skia/tests/
DCopySurfaceTest.cpp28 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
30 srcPixels.get()[i] = i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
72 srcPixels.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 uint32_t s = srcPixels.get()[sy * kW + sx]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBitmapCopyTest.cpp581 SkPMColor srcPixels[16]; in DEF_TEST() local
582 fill_4x4_pixels(srcPixels); in DEF_TEST()
584 srcBM.installPixels(srcInfo, srcPixels, rowBytes); in DEF_TEST()
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/
DMainPage.xaml.cpp82 Platform::Array<byte>^ srcPixels = pixelProvider->DetachPixelData(); in MainPage()
84 memcpy(Lena.data, srcPixels->Data, 4*frameWidth*frameHeight); in MainPage()
/external/skia/src/effects/
DSkBlurMask.cpp904 const uint8_t* srcPixels = src.fImage; in BlurGroundTruth() local
920 const uint8_t* srcptr = srcPixels + y * srcWidth; in BlurGroundTruth()
977 srcPixels, src.fRowBytes, in BlurGroundTruth()
983 dst->fRowBytes, srcPixels, src.fRowBytes, srcWidth, srcHeight, style); in BlurGroundTruth()