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

1234

/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) {
52 if (!fLockedBitmap.tryAllocPixels(info, fRowBytes)) {
56 if (!fImageGenerator->getPixels(info, fLockedBitmap.getPixels(), fRowBytes)) {
71 rec->fRowBytes = fLockedBitmap.rowBytes();
H A DSkCachingPixelRef.h56 const size_t fRowBytes; member in class:SkCachingPixelRef
H A DSkDiscardablePixelRef.h39 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.h97 return fRowBytes >> this->shiftPerPixel();
124 size_t rowBytes() const { return fRowBytes; }
145 size_t getSize() const { return fInfo.height() * fRowBytes; }
151 size_t getSafeSize() const { return fInfo.getSafeSize(fRowBytes); }
157 return sk_64_mul(fInfo.height(), fRowBytes);
166 return fInfo.getSafeSize64(fRowBytes);
755 uint32_t fRowBytes; member in class:SkBitmap
858 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2));
865 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1));
872 return (uint8_t*)fPixels + y * fRowBytes
[all...]
H A DSkPixelRef.h71 size_t rowBytes() const { return fRec.fRowBytes; }
80 size_t fRowBytes; member in struct:SkPixelRef::LockRec
85 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes;
/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/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/skia/src/effects/
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...]
H A DSkTableMaskFilter.cpp34 dst->fRowBytes = SkAlign4(dst->fBounds.width());
45 int extraZeros = dst->fRowBytes - dstWidth;
51 srcP += src.fRowBytes;

Completed in 2311 milliseconds

1234