Searched defs:dstPixels (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/skia/platform_tools/android/examples/hello_skia_app/jni/
H A Dhelloskia.cpp25 void* dstPixels; local
27 AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels);
32 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirect(info, dstPixels, dstInfo.stride));
/external/skia/platform_tools/android/examples/hello_skia_app/jni/
H A Dhelloskia.cpp25 void* dstPixels; local
27 AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels);
32 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirect(info, dstPixels, dstInfo.stride));
/external/chromium_org/third_party/skia/src/core/
H A DSkConfig8888.cpp140 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument
155 dstPI.fPixels = dstPixels;
183 rect_memcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height);
210 SkPMColor16* SK_RESTRICT dstRow = (SkPMColor16*)dstPixels;
222 dstPixels = (char*)dstPixels + dstRB;
246 SkAutoTUnref<SkCanvas> canvas(SkCanvas::NewRasterDirect(dstInfo, dstPixels, dstRB));
H A DSkBitmapDevice.cpp159 void* dstPixels = fBitmap.getAddr(x, y); local
162 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) {
169 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
171 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
H A DSkBitmap.cpp840 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, argument
845 if (NULL == dstPixels || dstRB < requestedDstInfo.minRowBytes()) {
868 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel());
882 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, this->rowBytes(),
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
H A DGifDecoder.java432 private void decodeBitmapData(GifFrame frame, byte[] dstPixels) { argument
442 if (dstPixels == null || dstPixels.length < npix) {
443 dstPixels = new byte[npix]; // allocate new pixel array
536 dstPixels[pi++] = pixelStack[top];
541 dstPixels[i] = 0; // clear missing pixels
/external/skia/src/core/
H A DSkBitmapDevice.cpp171 static bool copy_pixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
180 dstPI.fPixels = dstPixels;
204 rect_memcpy(dstPixels, dstRowBytes, srcPixels, srcRowBytes,
222 void* dstPixels = fBitmap.getAddr(x, y); local
225 if (copy_pixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) {
232 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
255 return copy_pixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes);
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurMask.cpp907 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/chromium_org/third_party/skia/src/gpu/
H A DSkGpuDevice.cpp226 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
241 config, dstPixels, dstRowBytes, flags);
/external/skia/src/effects/
H A DSkBlurMask.cpp907 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 DSkGpuDevice.cpp262 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
277 config, dstPixels, dstRowBytes, flags);

Completed in 244 milliseconds