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

1 2 3

  /external/skia/src/image/
SkReadPixelsRec.h 19 , fRowBytes(rowBytes)
26 size_t fRowBytes;
32 * On true, may have modified its fields (except fRowBytes) to make it a legal subset
SkSurface_Raster.cpp 34 size_t fRowBytes;
95 fRowBytes = 0; // don't need to track the rowbytes
106 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match
160 SkASSERT(fBitmap.rowBytes() == fRowBytes); // be sure we always use the same value
  /external/skia/src/core/
SkYUVPlanesCache.h 26 * fRowBytes: rowBytes for each of the 3 planes (in bytes).
32 size_t fRowBytes[3];
SkMask.cpp 24 return safeMul32(fBounds.height(), fRowBytes);
83 addr += (y - fBounds.fTop) * fRowBytes;
SkConfig8888.h 18 size_t fRowBytes;
SkPixelRef.cpp 109 fRec.fRowBytes = rowBytes;
205 result->fRowBytes = fRec.fRowBytes;
350 result->fRowBytes = fRec.fRowBytes;
SkImageInfo.cpp 94 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) {
116 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
SkPixmap.cpp 31 fRowBytes = 0;
41 fRowBytes = rowBytes;
48 src.fImage, src.fRowBytes, nullptr);
70 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp;
72 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes, fCTable);
SkBitmap.cpp 92 SkTSwap(fRowBytes, other.fRowBytes);
147 fRowBytes = SkToU32(rowBytes);
172 + fPixelRefOrigin.fY * fRowBytes
265 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable);
399 mask.fImage, mask.fRowBytes);
605 const uint64_t* addr = (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x;
936 rowBytes = fRowBytes;
938 // With the new config, an appropriate fRowBytes will be computed by setInfo.
    [all...]
SkConfig8888.cpp 119 size_t srcInc = fRowBytes >> 2;
120 size_t dstInc = dst->fRowBytes >> 2;
197 dstPI.fRowBytes = dstRB;
203 srcPI.fRowBytes = srcRB;
SkBlitBWMaskTemplate.h 33 unsigned mask_rowBytes = srcMask.fRowBytes;
SkMaskFilter.cpp 47 dst->fImage = src.fImage + dy * src.fRowBytes + dx;
48 dst->fRowBytes = src.fRowBytes;
352 srcM.fRowBytes = 0;
  /external/skia/include/core/
SkMask.h 36 uint32_t fRowBytes;
63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
74 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
86 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
99 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
SkPixmap.h 26 : fPixels(NULL), fCTable(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0))
31 : fPixels(addr), fCTable(ctable), fRowBytes(rowBytes), fInfo(info)
62 size_t rowBytes() const { return fRowBytes; }
74 uint64_t getSize64() const { return sk_64_mul(fInfo.height(), fRowBytes); }
75 uint64_t getSafeSize64() const { return fInfo.getSafeSize64(fRowBytes); }
76 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
79 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes);
108 return (const uint8_t*)((const char*)this->addr8() + y * fRowBytes + (x << 0));
113 return (const uint16_t*)((const char*)this->addr16() + y * fRowBytes + (x << 1));
118 return (const uint32_t*)((const char*)this->addr32() + y * fRowBytes + (x << 2))
    [all...]
SkBitmap.h 101 return fRowBytes >> this->shiftPerPixel();
128 size_t rowBytes() const { return fRowBytes; }
149 size_t getSize() const { return fInfo.height() * fRowBytes; }
155 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
161 return sk_64_mul(fInfo.height(), fRowBytes);
170 return fInfo.getSafeSize64(fRowBytes);
766 uint32_t fRowBytes;
    [all...]
SkPixelRef.h 55 size_t rowBytes() const { return fRec.fRowBytes; }
66 size_t fRowBytes;
71 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes;
195 size_t fRowBytes;
  /external/skia/src/lazy/
SkDiscardablePixelRef.cpp 19 , fRowBytes(rowBytes)
24 SkASSERT(fRowBytes > 0);
47 rec->fRowBytes = fRowBytes;
55 const size_t size = this->info().getSafeSize(fRowBytes);
74 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) {
95 rec->fRowBytes = fRowBytes;
SkDiscardablePixelRef.h 44 const size_t fRowBytes;
  /external/skia/tests/
YUVCacheTest.cpp 39 yuvInfo.fRowBytes[i] = 80 * i;
67 REPORTER_ASSERT(reporter, yuvInfo.fRowBytes[i] == yuvInfoRead.fRowBytes[i]);
MaskCacheTest.cpp 49 mask.fRowBytes = 100;
87 mask.fRowBytes = 100;
BlitMaskClip.cpp 49 mask.fRowBytes = rowBytes;
  /external/skia/src/effects/
SkBlurMask.cpp 531 dst->fRowBytes = dst->fBounds.width();
557 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false);
565 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true);
571 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, false, outerWeight);
579 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, true, outerWeight);
594 merge_src_with_blur(dst->fImage, src.fRowBytes,
595 sp, src.fRowBytes,
596 dp + passCount * (rx + ry * dst->fRowBytes),
597 dst->fRowBytes, sw, sh);
600 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes),
    [all...]
SkTableMaskFilter.cpp 34 dst->fRowBytes = SkAlign4(dst->fBounds.width());
45 int extraZeros = dst->fRowBytes - dstWidth;
51 srcP += src.fRowBytes;
  /external/skia/src/gpu/
GrYUVProvider.cpp 55 yuvInfo->fRowBytes[i] = yuvInfo->fSize[i].fWidth; // we assume snug fit: rb == width
56 yuvInfo->fSizeInMemory[i] = yuvInfo->fRowBytes[i] * yuvInfo->fSize[i].fHeight;
70 if (!provider->onGetYUVPlanes(yuvInfo->fSize, planes, yuvInfo->fRowBytes,
107 yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) {
  /external/skia/samplecode/
SampleStrokePath.cpp 56 src.fRowBytes = src.fBounds.width();
71 dstPtr += dst.fRowBytes;

Completed in 506 milliseconds

1 2 3