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

1 2

  /external/skia/bench/
AndroidCodecBench.cpp 41 fPixelStorage.reset(fInfo.getSafeSize(fInfo.minRowBytes()));
53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options);
CodecBench.cpp 47 fPixelStorage.reset(fInfo.getSafeSize(fInfo.minRowBytes()));
64 codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(),
  /external/skia/tests/
BitmapTest.cpp 46 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr);
54 const size_t explicitRowBytes = info.minRowBytes() + 24;
58 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
60 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
63 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
75 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
78 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
81 bool success = bm.setInfo(info, info.minRowBytes() - 1); // invalid for 32bit
BitmapGetColorTest.cpp 40 bm.installPixels(info, storage, info.minRowBytes());
MallocPixelRefTest.cpp 28 SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, nullptr));
33 size_t rowBytes = info.minRowBytes() - 1;
42 size_t rowBytes = info.minRowBytes() + 2;
50 size_t rowBytes = info.minRowBytes() + 7;
CanvasTest.cpp 640 const size_t minRowBytes = info.minRowBytes();
641 const size_t size = info.getSafeSize(minRowBytes);
646 SkCanvas* canvas = SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes);
654 REPORTER_ASSERT(reporter, minRowBytes == rowBytes);
665 REPORTER_ASSERT(reporter, nullptr == SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes));
669 REPORTER_ASSERT(reporter, nullptr == SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes));
673 REPORTER_ASSERT(reporter, nullptr == SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes));
677 canvas = SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes);
BitmapCopyTest.cpp 452 bufBm.installPixels(info, buf, info.minRowBytes() * 2);
495 bufBm.installPixels(info, buf, info.minRowBytes());
510 bufBm.installPixels(info, buf, info.minRowBytes());
521 bufBm.installPixels(info, buf, info.minRowBytes());
ImageTest.cpp 72 const size_t rowBytes = info->minRowBytes();
85 return SkImage::NewRasterData(info, data, info.minRowBytes());
112 return SkImage::NewFromRaster(info, data->data(), info.minRowBytes(),
119 bitmap.installPixels(info, data->writable_data(), info.minRowBytes());
475 size_t rowBytes = info.minRowBytes();
644 REPORTER_ASSERT(reporter, info.minRowBytes() <= rowBytes);
  /external/skia/src/core/
SkMallocPixelRef.cpp 127 if ((rowBytes < info.minRowBytes())
152 SkASSERT(rowBytes >= info.minRowBytes());
175 SkASSERT(rowBytes >= info.minRowBytes());
SkImageInfo.cpp 94 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) {
SkImageGenerator.cpp 24 if (rowBytes < info.minRowBytes()) {
162 if (0 == info.getSafeSize(info.minRowBytes())) {
SkSpecialSurface.cpp 76 fBitmap.setInfo(info, info.minRowBytes());
SkPixmap.cpp 81 if (nullptr == dstPixels || dstRB < requestedDstInfo.minRowBytes()) {
293 size_t rb = info.minRowBytes();
SkBitmap.cpp 335 SkPixelRef* pr = factory->create(correctedInfo, correctedInfo.minRowBytes(), ctable);
466 if (dstRowBytes < info.minRowBytes()) {
487 size_t rowBytes = info.minRowBytes();
    [all...]
SkBitmapController.cpp 67 const size_t size = provider.info().getSafeSize(provider.info().minRowBytes());
SkDevice.cpp 226 SkASSERT(rowBytes >= info.minRowBytes());
241 SkASSERT(rowBytes >= info.minRowBytes());
  /external/skia/src/android/
SkBitmapRegionCanvas.cpp 94 bitmap->setInfo(dstInfo, dstInfo.minRowBytes());
  /external/skia/src/codec/
SkAndroidCodec.cpp 169 if (rowBytes < info.minRowBytes()) {
SkCodec.cpp 160 if (rowBytes < info.minRowBytes()) {
SkSampledCodec.cpp 282 memcpy(pixels, storagePtr, info.minRowBytes());
  /external/skia/src/lazy/
SkDiscardablePixelRef.cpp 129 if (!dst->setInfo(bmInfo, prInfo.minRowBytes())) {
  /external/skia/include/core/
SkBitmap.h 255 * (e.g. rowBytes < info.minRowBytes() or rowBytes is not aligned with
268 return this->tryAllocPixels(info, info.minRowBytes());
272 this->allocPixels(info, info.minRowBytes());
    [all...]
SkImageInfo.h 263 size_t minRowBytes() const {
  /external/skia/src/image/
SkImage_Raster.cpp 51 if (rowBytes < info.minRowBytes()) {
  /frameworks/base/core/jni/android/graphics/
Graphics.cpp 710 const size_t rowBytes = maxInfo.minRowBytes();
751 const size_t bytesToCopy = std::min(mRecycledBitmap->info().minRowBytes(),
752 mSkiaBitmap->info().minRowBytes());

Completed in 472 milliseconds

1 2