/external/skia/src/core/ |
D | SkConfig8888.cpp | 170 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in CopyPixels() argument 184 memcpy(dstPixels, srcPixels, bytes); in CopyPixels() 186 dstPixels = (char*)dstPixels + dstRB; in CopyPixels() 196 dstPI.fPixels = dstPixels; 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() 261 SkPMColor16* SK_RESTRICT dstRow = (SkPMColor16*)dstPixels; in CopyPixels() 273 dstPixels = (char*)dstPixels + dstRB; in CopyPixels() 293 SkAutoTUnref<SkCanvas> canvas(SkCanvas::NewRasterDirect(dstInfo, dstPixels, dstRB)); in CopyPixels()
|
D | SkPixmap.cpp | 76 bool SkPixmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 81 if (nullptr == dstPixels || dstRB < requestedDstInfo.minRowBytes()) { in readPixels() 104 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel()); in readPixels() 108 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, in readPixels()
|
D | SkBitmapDevice.cpp | 170 void* dstPixels = fBitmap.getAddr(x, y); in onWritePixels() local 173 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { in onWritePixels() 180 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 182 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y); in onReadPixels()
|
D | SkConfig8888.h | 20 static bool CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkImageCacherator.h | 66 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
|
D | SkBitmap.cpp | 823 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument 829 return src.pixmap().readPixels(requestedDstInfo, dstPixels, dstRB, x, y); in readPixels()
|
/external/skia/src/image/ |
D | SkImage_Generator.cpp | 42 bool SkImage_Generator::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels() argument 47 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels() 52 if (fCache->directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels() 60 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
|
D | SkImage.cpp | 51 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument 53 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels() 225 bool SkImage_Base::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 232 bm.installPixels(dstInfo, dstPixels, dstRowBytes); in onReadPixels()
|
D | SkSurface.cpp | 189 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument 191 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
|
D | SkImage_Gpu.h | 44 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
|
D | SkImage_Base.h | 32 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkImage_Raster.cpp | 137 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 140 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
|
/external/skia/platform_tools/android/examples/hello_skia_app/jni/ |
D | helloskia.cpp | 25 void* dstPixels; in Java_com_example_HelloSkiaActivity_drawIntoBitmap() local 27 AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels); in Java_com_example_HelloSkiaActivity_drawIntoBitmap() 32 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirect(info, dstPixels, dstInfo.stride)); in Java_com_example_HelloSkiaActivity_drawIntoBitmap()
|
/external/skia/tests/ |
D | CopySurfaceTest.cpp | 33 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 35 dstPixels.get()[i] = ~i; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 76 dstPixels.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 146 uint32_t d = dstPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BitmapCopyTest.cpp | 587 SkPMColor dstPixels[16]; in DEF_TEST() local 605 clear_4x4_pixels(dstPixels); in DEF_TEST() 609 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes, in DEF_TEST() 620 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST()
|
/external/skia/include/core/ |
D | SkPixmap.h | 151 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 153 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() argument 154 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
|
D | SkSurface.h | 292 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkImage.h | 245 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkBitmap.h | 630 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
D | SkCanvas.h | 244 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 905 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth() local 906 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels); in BlurGroundTruth() 960 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth() 966 dst->fImage = dstPixels; in BlurGroundTruth() 978 dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth() 980 SkMask::FreeImage(dstPixels); in BlurGroundTruth() 982 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad, in BlurGroundTruth()
|
/external/skia/include/utils/mac/ |
D | SkCGUtils.h | 41 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 230 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument 244 return fRenderTarget->readPixels(x, y, dstInfo.width(), dstInfo.height(), config, dstPixels, in onReadPixels()
|