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

12345

/external/skia/src/core/
H A DSkConfig8888.h16 size_t fRowBytes; member in struct:SkPixelInfo
H A DSkMipMap.h22 uint32_t fRowBytes; member in struct:SkMipMap::Level
H A DSkMask.cpp22 return safeMul32(fBounds.height(), fRowBytes);
70 addr += (y - fBounds.fTop) * fRowBytes;
/external/chromium_org/third_party/skia/src/lazy/
H A DSkDiscardablePixelRef.cpp19 , fRowBytes(rowBytes)
23 SkASSERT(fRowBytes > 0);
44 rec->fRowBytes = fRowBytes;
51 const size_t size = this->info().getSafeSize(fRowBytes);
68 if (!fGenerator->getPixels(info, pixels, fRowBytes)) {
70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) {
91 rec->fRowBytes = fRowBytes;
H A DSkCachingPixelRef.cpp34 , fRowBytes(rowBytes) {
57 if ((!bitmap.setInfo(info, fRowBytes)) || !bitmap.allocPixels()) {
62 if (!fImageGenerator->getPixels(info, bitmap.getPixels(), fRowBytes)) {
89 rec->fRowBytes = bitmap.rowBytes();
H A DSkCachingPixelRef.h62 const size_t fRowBytes; member in class:SkCachingPixelRef
H A DSkDiscardablePixelRef.h40 const size_t fRowBytes; member in class:SkDiscardablePixelRef
/external/skia/src/lazy/
H A DSkDiscardablePixelRef.cpp19 , fRowBytes(rowBytes)
23 SkASSERT(fRowBytes > 0);
44 rec->fRowBytes = fRowBytes;
51 const size_t size = this->info().getSafeSize(fRowBytes);
68 if (!fGenerator->getPixels(info, pixels, fRowBytes)) {
70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) {
91 rec->fRowBytes = fRowBytes;
H A DSkCachingPixelRef.cpp34 , fRowBytes(rowBytes) {
57 if ((!bitmap.setInfo(info, fRowBytes)) || !bitmap.allocPixels()) {
62 if (!fImageGenerator->getPixels(info, bitmap.getPixels(), fRowBytes)) {
89 rec->fRowBytes = bitmap.rowBytes();
H A DSkCachingPixelRef.h62 const size_t fRowBytes; member in class:SkCachingPixelRef
H A DSkDiscardablePixelRef.h40 const size_t fRowBytes; member in class:SkDiscardablePixelRef
/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.h123 return fRowBytes >> this->shiftPerPixel();
150 size_t rowBytes() const { return fRowBytes; }
171 size_t getSize() const { return fInfo.fHeight * fRowBytes; }
177 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
183 return sk_64_mul(fInfo.fHeight, fRowBytes);
192 return fInfo.getSafeSize64(fRowBytes);
794 uint32_t fRowBytes; member in class:SkBitmap
897 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
904 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
911 return (uint8_t*)fPixels + y * fRowBytes
[all...]
/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.h123 return fRowBytes >> this->shiftPerPixel();
150 size_t rowBytes() const { return fRowBytes; }
171 size_t getSize() const { return fInfo.fHeight * fRowBytes; }
177 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
183 return sk_64_mul(fInfo.fHeight, fRowBytes);
192 return fInfo.getSafeSize64(fRowBytes);
772 uint32_t fRowBytes; member in class:SkBitmap
875 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
882 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
889 return (uint8_t*)fPixels + y * fRowBytes
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkConfig8888.h16 size_t fRowBytes; member in struct:SkPixelInfo
H A DSkMipMap.h22 uint32_t fRowBytes; member in struct:SkMipMap::Level
H A DSkMask.cpp22 return safeMul32(fBounds.height(), fRowBytes);
70 addr += (y - fBounds.fTop) * fRowBytes;
/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.cpp531 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...]
/external/skia/src/effects/
H A DSkStippleMaskFilter.cpp21 dst->fRowBytes = dst->fBounds.width();
40 scanline += dst->fRowBytes;
41 srcScanLine += src.fRowBytes;
H A DSkBlurMask.cpp531 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...]
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePathUtils.cpp41 static const size_t fRowBytes = 2; member in class:SamplePathUtils
42 static const int fNumChars = fH * fRowBytes;
83 gBitsToPath_fns[j](&path, (char*) &gBits[i], fW, fH, fRowBytes);
/external/skia/samplecode/
H A DSamplePathUtils.cpp41 static const size_t fRowBytes = 2; member in class:SamplePathUtils
42 static const int fNumChars = fH * fRowBytes;
83 gBitsToPath_fns[j](&path, (char*) &gBits[i], fW, fH, fRowBytes);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/
H A DMockDiscardablePixelRef.h73 rec->fRowBytes = m_rowBytes;

Completed in 341 milliseconds

12345