HomeSort by relevance Sort by last modified time
    Searched refs:dstPixels (Results 1 - 25 of 27) sorted by null

1 2

  /external/skia/src/core/
SkConvertPixels.cpp 54 void swizzle_and_multiply(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
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,
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,
176 dstPixels[x] = dstCTable[srcPixels[x]]
    [all...]
SkConvertPixels.h 16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
SkImageCacherator.h 90 bool directGeneratePixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
SkPixmap.cpp 87 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, int x, int y)
93 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y);
SkBitmap.cpp 700 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB,
706 return src.pixmap().readPixels(requestedDstInfo, dstPixels, dstRB, x, y);
729 void* dstPixels = this->getAddr(rec.fX, rec.fY);
731 SkConvertPixels(dstInfo, dstPixels, this->rowBytes(), rec.fInfo, rec.fPixels, rec.fRowBytes,
    [all...]
SkBitmapDevice.cpp 179 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
181 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
  /external/skia/tests/
ColorSpaceXformTest.cpp 81 uint32_t dstPixels[width];
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];
121 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels,
130 SkGetPackedB32(dstPixels[i])));
132 SkGetPackedG32(dstPixels[i])))
    [all...]
CopySurfaceTest.cpp 37 SkAutoTMalloc<uint32_t> dstPixels(kW * kH);
39 dstPixels.get()[i] = ~i;
85 dstPixels.get(),
158 uint32_t d = dstPixels.get()[y * kW + x];
BitmapCopyTest.cpp 616 SkPMColor dstPixels[16];
634 clear_4x4_pixels(dstPixels);
638 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes,
649 SkPMColor dstC = dstPixels[y*4+x];
ReadPixelsTest.cpp 577 uint64_t dstPixels[kNumPixels];
578 SkPixmap dstPixmap(dstInfo, dstPixels, dstInfo.minRowBytes(), dstColorTable.get());
591 REPORTER_ASSERT(r, 0 == memcmp(dstPixels, five_reference_pixels(dstInfo.colorType()),
  /external/skia/include/utils/mac/
SkCGUtils.h 44 * Copy the pixels from src into the memory specified by info/rowBytes/dstPixels. On failure,
47 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
  /external/skia/src/image/
SkImage_Generator.cpp 51 bool SkImage_Generator::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
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);
SkImage_Gpu.h 59 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
SkImage_Raster.cpp 168 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
171 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
363 void* dstPixels = dst->getPixels();
368 SkAssertResult(src.readPixels(src.info().makeColorType(kN32_SkColorType), dstPixels,
371 srcPixels = dstPixels;
378 void* dstRow = dstPixels;
SkImage_Base.h 47 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
SkSurface.cpp 173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
SkImage.cpp 55 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
57 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint);
SkImage_Gpu.cpp 179 bool SkImage_Gpu::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
185 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, srcX, srcY);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BlendComposite.java 150 int[] dstPixels = new int[width];
153 dstIn.getDataElements(0, y, width, 1, dstPixels);
165 pixel = dstPixels[x];
180 dstPixels[x] = (result[3] & 0xFF) << 24 |
185 dstPixels[x] =
194 dstOut.setDataElements(0, y, width, 1, dstPixels);
  /external/skia/include/core/
SkPixmap.h 185 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
187 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const {
188 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0);
SkSurface.h 295 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
SkImage.h 262 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
SkBitmap.h 647 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
    [all...]
  /external/skia/src/effects/
SkBlurMask.cpp 904 uint8_t* dstPixels = SkMask::AllocImage(dstSize);
905 SkAutoTCallVProc<uint8_t, SkMask_FreeImage> autoCall(dstPixels);
    [all...]
SkRRectsGaussianEdgeMaskFilter.cpp 160 uint8_t* dstPixels = dst->fImage = SkMask::AllocImage(dstSize);
166 uint8_t* dstRow = dstPixels + y*dst->fRowBytes;

Completed in 5351 milliseconds

1 2