/external/skia/platform_tools/android/examples/hello_skia_app/jni/ |
H A D | helloskia.cpp | 25 void* dstPixels; local 27 AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels); 32 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirect(info, dstPixels, dstInfo.stride));
|
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 869 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, argument 874 if (NULL == dstPixels || dstRB < requestedDstInfo.minRowBytes()) { 897 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel()); 911 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, this->rowBytes(),
|
H A D | SkBitmapDevice.cpp | 160 void* dstPixels = fBitmap.getAddr(x, y); local 163 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { 170 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 172 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
|
H A D | SkConfig8888.cpp | 181 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument 196 dstPI.fPixels = dstPixels; 225 rect_memcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); 235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); 239 copy_32_to_g8(dstPixels, dstRB, srcPixels, srcRB, srcInfo); 261 SkPMColor16* SK_RESTRICT dstRow = (SkPMColor16*)dstPixels; 273 dstPixels = (char*)dstPixels + dstRB; 293 SkAutoTUnref<SkCanvas> canvas(SkCanvas::NewRasterDirect(dstInfo, dstPixels, dstRB));
|
/external/skia/src/effects/ |
H A D | SkBlurMask.cpp | 907 uint8_t* dstPixels = SkMask::AllocImage(dstSize); local 908 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels); 962 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output 968 dst->fImage = dstPixels; 980 dstPixels + pad*dst->fRowBytes + pad, 982 SkMask::FreeImage(dstPixels); 984 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad,
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 237 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 252 config, dstPixels, dstRowBytes, flags);
|
/external/skia/src/image/ |
H A D | SkImage.cpp | 40 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 42 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY); 128 bool SkImage_Base::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 135 bm.installPixels(dstInfo, dstPixels, dstRowBytes);
|
H A D | SkImage_Raster.cpp | 125 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 128 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
|
H A D | SkSurface.cpp | 173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument 175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
|