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

/external/skia/src/image/
H A DSkImage_Generator.cpp51 bool SkImage_Generator::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument
58 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY);
63 if (fCache.directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) {
71 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY);
H A DSkSurface.cpp173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
H A DSkImage_Raster.cpp168 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
171 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
363 void* dstPixels = dst->getPixels(); local
368 SkAssertResult(src.readPixels(src.info().makeColorType(kN32_SkColorType), dstPixels,
371 srcPixels = dstPixels;
378 void* dstRow = dstPixels;
H A DSkImage.cpp55 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
57 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint);
H A DSkImage_Gpu.cpp179 bool SkImage_Gpu::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument
185 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, srcX, srcY);
/external/skia/include/core/
H A DSkPixmap.h185 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
187 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { argument
188 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0);
/external/skia/src/core/
H A DSkConvertPixels.cpp54 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument
83 proc((uint32_t*) dstPixels, srcPixels, dstInfo.width());
84 dstPixels = SkTAddOffset<void>(dstPixels, dstRB);
120 static inline void apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, argument
154 SkAssertResult(xform->apply(dstFormat, dstPixels, srcFormat, srcPixels, dstInfo.width(),
156 dstPixels = SkTAddOffset<void>(dstPixels, dstRB);
163 void do_index8(const SkImageInfo& dstInfo, T* dstPixels, size_t dstRB, argument
176 dstPixels[
183 convert_from_index8(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const uint8_t* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument
378 SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument
[all...]
H A DSkPixmap.cpp87 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y) argument
93 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y);
H A DSkBitmap.cpp700 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, argument
706 return src.pixmap().readPixels(requestedDstInfo, dstPixels, dstRB, x, y);
729 void* dstPixels = this->getAddr(rec.fX, rec.fY); local
731 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes,
H A DSkBitmapDevice.cpp179 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
181 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
/external/skia/tests/
H A DColorSpaceXformTest.cpp81 uint32_t dstPixels[width]; local
85 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels,
94 SkGetPackedB32(dstPixels[i])));
96 SkGetPackedG32(dstPixels[i])));
98 SkGetPackedR32(dstPixels[i])));
100 SkGetPackedA32(dstPixels[i])));
117 uint32_t dstPixels[width]; local
121 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels,
130 SkGetPackedB32(dstPixels[i])));
132 SkGetPackedG32(dstPixels[
[all...]
H A DReadPixelsTest.cpp577 uint64_t dstPixels[kNumPixels]; local
578 SkPixmap dstPixmap(dstInfo, dstPixels, dstInfo.minRowBytes(), dstColorTable.get());
591 REPORTER_ASSERT(r, 0 == memcmp(dstPixels, five_reference_pixels(dstInfo.colorType()),
/external/skia/src/effects/
H A DSkRRectsGaussianEdgeMaskFilter.cpp160 uint8_t* dstPixels = dst->fImage = SkMask::AllocImage(dstSize); local
166 uint8_t* dstRow = dstPixels + y*dst->fRowBytes;
H A DSkBlurMask.cpp904 uint8_t* dstPixels = SkMask::AllocImage(dstSize); local
905 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels);
959 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
965 dst->fImage = dstPixels;
977 dstPixels + pad*dst->fRowBytes + pad,
979 SkMask::FreeImage(dstPixels);
981 clamp_with_orig(dstPixels + pad*dst->fRowBytes + pad,
/external/skia/src/gpu/
H A DSkGpuDevice.cpp196 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
204 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, x, y);

Completed in 7545 milliseconds