Searched refs:fRowBytes (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/third_party/skia/include/core/
H A DSkMask.h35 uint32_t fRowBytes; member in struct:SkMask
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
111 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
H A DSkBitmap.h106 size_t rowBytes() const { return fRowBytes; }
125 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); }
144 size_t getSize() const { return fHeight * fRowBytes; }
158 size.setMul(fHeight, fRowBytes);
669 uint32_t fRowBytes; member in class:SkBitmap
789 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
796 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
803 return (uint8_t*)fPixels + y * fRowBytes + x;
811 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)];
/external/skia/include/core/
H A DSkMask.h35 uint32_t fRowBytes; member in struct:SkMask
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
111 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
H A DSkBitmap.h106 size_t rowBytes() const { return fRowBytes; }
125 int rowBytesAsPixels() const { return fRowBytes >> (fBytesPerPixel >> 1); }
144 size_t getSize() const { return fHeight * fRowBytes; }
158 size.setMul(fHeight, fRowBytes);
669 uint32_t fRowBytes; member in class:SkBitmap
789 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
796 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
803 return (uint8_t*)fPixels + y * fRowBytes + x;
811 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)];
/external/chromium_org/third_party/skia/src/lazy/
H A DSkDiscardablePixelRef.cpp19 , fRowBytes(rowBytes)
23 SkASSERT(fRowBytes > 0);
48 const size_t size = this->info().getSafeSize(fRowBytes);
59 if (!fGenerator->getPixels(this->info(), pixels, fRowBytes)) {
H A DSkCachingPixelRef.cpp36 , fRowBytes(rowBytes) {
59 if ((!bitmap.setConfig(info, fRowBytes)) || !bitmap.allocPixels()) {
64 if (!fImageGenerator->getPixels(info, bitmap.getPixels(), fRowBytes)) {
H A DSkCachingPixelRef.h61 const size_t fRowBytes; member in class:SkCachingPixelRef
H A DSkDiscardablePixelRef.h33 const size_t fRowBytes; member in class:SkDiscardablePixelRef
/external/skia/src/lazy/
H A DSkDiscardablePixelRef.cpp19 , fRowBytes(rowBytes)
23 SkASSERT(fRowBytes > 0);
48 const size_t size = this->info().getSafeSize(fRowBytes);
59 if (!fGenerator->getPixels(this->info(), pixels, fRowBytes)) {
H A DSkCachingPixelRef.cpp36 , fRowBytes(rowBytes) {
59 if ((!bitmap.setConfig(info, fRowBytes)) || !bitmap.allocPixels()) {
64 if (!fImageGenerator->getPixels(info, bitmap.getPixels(), fRowBytes)) {
H A DSkCachingPixelRef.h61 const size_t fRowBytes; member in class:SkCachingPixelRef
H A DSkDiscardablePixelRef.h33 const size_t fRowBytes; member in class:SkDiscardablePixelRef
/external/chromium_org/third_party/skia/src/effects/
H A DSkStippleMaskFilter.cpp21 dst->fRowBytes = dst->fBounds.width();
40 scanline += dst->fRowBytes;
41 srcScanLine += src.fRowBytes;
H A DSkBlurMask.cpp535 dst->fRowBytes = dst->fBounds.width();
561 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false);
569 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true);
575 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, false, outerWeight);
583 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, true, outerWeight);
598 merge_src_with_blur(dst->fImage, src.fRowBytes,
599 sp, src.fRowBytes,
600 dp + passCount * (rx + ry * dst->fRowBytes),
601 dst->fRowBytes, sw, sh);
604 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes),
[all...]
H A DSkKernel33MaskFilter.cpp29 dst->fRowBytes = dst->fBounds.width();
38 const int srcRB = src.fRowBytes;
73 dstImage += dst->fRowBytes;
H A DSkTableMaskFilter.cpp33 dst->fRowBytes = SkAlign4(dst->fBounds.width());
44 int extraZeros = dst->fRowBytes - dstWidth;
50 srcP += src.fRowBytes;
/external/skia/src/effects/
H A DSkStippleMaskFilter.cpp21 dst->fRowBytes = dst->fBounds.width();
40 scanline += dst->fRowBytes;
41 srcScanLine += src.fRowBytes;
H A DSkBlurMask.cpp535 dst->fRowBytes = dst->fBounds.width();
561 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false);
569 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true);
575 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, false, outerWeight);
583 w = boxBlurInterp(sp, src.fRowBytes, tp, rx, w, h, true, outerWeight);
598 merge_src_with_blur(dst->fImage, src.fRowBytes,
599 sp, src.fRowBytes,
600 dp + passCount * (rx + ry * dst->fRowBytes),
601 dst->fRowBytes, sw, sh);
604 clamp_with_orig(dp + passCount * (rx + ry * dst->fRowBytes),
[all...]
H A DSkKernel33MaskFilter.cpp29 dst->fRowBytes = dst->fBounds.width();
38 const int srcRB = src.fRowBytes;
73 dstImage += dst->fRowBytes;
H A DSkTableMaskFilter.cpp33 dst->fRowBytes = SkAlign4(dst->fBounds.width());
44 int extraZeros = dst->fRowBytes - dstWidth;
50 srcP += src.fRowBytes;
/external/chromium_org/third_party/skia/src/core/
H A DSkMipMap.h22 uint32_t fRowBytes; member in struct:SkMipMap::Level
H A DSkMask.cpp25 return safeMul32(fBounds.height(), fRowBytes);
73 addr += (y - fBounds.fTop) * fRowBytes;
/external/skia/src/core/
H A DSkMipMap.h22 uint32_t fRowBytes; member in struct:SkMipMap::Level
H A DSkMask.cpp25 return safeMul32(fBounds.height(), fRowBytes);
73 addr += (y - fBounds.fTop) * fRowBytes;
/external/skia/tests/
H A DMipMapTest.cpp47 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);

Completed in 1348 milliseconds

123