HomeSort by relevance Sort by last modified time
    Searched defs:rowBytes (Results 1 - 18 of 18) sorted by null

  /external/skia/src/core/
SkBitmap_scroll.cpp 76 int rowBytes = this->rowBytes(); // need rowBytes to be signed
79 src -= dy * rowBytes;
82 dst += dy * rowBytes;
85 src += (height - 1) * rowBytes;
86 dst += (height - 1) * rowBytes;
87 // now invert rowbytes so we copy backwards in the loop
88 rowBytes = -rowBytes;
    [all...]
SkBlitter_A8.cpp 187 device += fDevice.rowBytes();
201 int rowBytes = fDevice.rowBytes();
208 device += rowBytes;
218 device += rowBytes;
238 device += fDevice.rowBytes();
251 device += fDevice.rowBytes();
383 device += fDevice.rowBytes();
SkBlitter_ARGB32.cpp 167 unsigned devRB = fDevice.rowBytes() - (width << 2);
213 unsigned devRB = fDevice.rowBytes() - (width << 2);
234 unsigned devRB = fDevice.rowBytes() - (width << 2);
264 uint32_t rowBytes = fDevice.rowBytes();
273 device = (uint32_t*)((char*)device + rowBytes);
286 size_t rowBytes = fDevice.rowBytes();
290 device = (uint32_t*)((char*)device + rowBytes);
329 unsigned deviceRB = fDevice.rowBytes() - (width << 2)
    [all...]
SkScalerContext.cpp 44 mask->fRowBytes = this->rowBytes();
49 const size_t size = this->rowBytes() * fHeight;
80 uint32_t* output = reinterpret_cast<uint32_t*>(input + SkAlign4(rowBytes() * fHeight));
92 input += rowBytes();
106 input += rowBytes();
442 glyph->rowBytes());
444 sk_bzero(glyph->fImage, bm.height() * bm.rowBytes());
471 int dstRB = origGlyph.rowBytes();
504 unsigned rowBytes = origGlyph.rowBytes();
    [all...]
SkBitmap.cpp 185 Sk64 rowBytes;
186 rowBytes.setZero();
193 rowBytes.set(width);
194 rowBytes.add(7);
195 rowBytes.shiftRight(3);
199 rowBytes.set(width);
203 rowBytes.set(width);
204 rowBytes.shiftLeft(1);
207 rowBytes.set(width);
208 rowBytes.shiftLeft(2)
    [all...]
SkDraw.cpp 266 const size_t rowBytes = bitmap.rowBytes();
270 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);
273 pixels += rowBytes;
357 int rb = bitmap->rowBytes();
943 mask.fRowBytes = bitmap.rowBytes();
    [all...]
  /external/skia/src/gl/
SkGLTextCache.cpp 80 int rowBytes = glyph.rowBytes();
81 SkASSERT(rowBytes >= glyph.fWidth);
85 fNextFreeOffsetX + rowBytes >= fStrikeWidth) {
88 strike = SkNEW_ARGS(Strike, (this, rowBytes, glyph.fHeight));
99 glTexSubImage2D(GL_TEXTURE_2D, 0, strike->fNextFreeOffsetX, 0, rowBytes,
184 strike = SkNEW_ARGS(Strike, (NULL, glyph.rowBytes(), glyph.fHeight));
  /external/skia/src/animator/
SkDrawBitmap.h 54 int32_t rowBytes;
  /external/skia/src/effects/
SkEmbossMask.cpp 112 int rowBytes = mask->fRowBytes;
119 int next_row = neq_to_mask(y, maxy) & rowBytes;
175 alpha += rowBytes;
176 multiply += rowBytes;
177 additive += rowBytes;
178 prev_row = rowBytes;
  /external/webkit/WebKitTools/DumpRenderTree/cg/
ImageDiffCG.cpp 92 size_t rowBytes = width * 4;
95 void* baseBuffer = calloc(height, rowBytes);
96 RetainPtr<CGContextRef> baseContext(AdoptCF, CGBitmapContextCreate(baseBuffer, width, height, 8, rowBytes, CGImageGetColorSpace(baseImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
100 void* buffer = calloc(height, rowBytes);
101 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
  /external/skia/src/images/
SkImageDecoder_libgif.cpp 246 const int rowBytes = bm->rowBytes();
272 scanline += desc.Top * rowBytes + desc.Left;
281 uint8_t* row = scanline + iter.currY() * rowBytes;
295 scanline += rowBytes;
  /external/skia/include/core/
SkBitmap.h 101 int rowBytes() const { return fRowBytes; }
115 /** Return the rowbytes expressed as a number of pixels (like width and
117 return the same as rowBytes(). Is undefined for configs that are less
126 /** Return the byte size of the pixels, based on the height and rowBytes.
132 /** Return the byte size of the pixels, based on the height and rowBytes.
155 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically
156 if you pass 0 for rowBytes to setConfig().
175 /** Set the bitmap's config and dimensions. If rowBytes is 0, then
179 void setConfig(Config, int width, int height, int rowBytes = 0);
SkScalerContext.h 46 unsigned rowBytes() const {
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 97 dst = (char*)dst + dstBitmap.rowBytes();
309 return bitmap->rowBytes();
339 const int rowBytes = p->readInt32();
353 bitmap->setConfig(config, width, height, rowBytes);
396 p->writeInt32(bitmap->rowBytes());
476 src = (void*)((const char*)src + bitmap->rowBytes());
  /external/webkit/WebCore/platform/graphics/win/
MediaPlayerPrivateQuickTimeWin.cpp 784 unsigned rowBytes;
788 m_qtMovie->getCurrentFrameInfo(buffer, bitsPerPixel, rowBytes, width, height);
792 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreateWithBytesNoCopy(0, static_cast<UInt8*>(buffer), rowBytes * height, kCFAllocatorNull));
794 RetainPtr<CGImageRef> frameImage(AdoptCF, CGImageCreate(width, height, 8, bitsPerPixel, rowBytes, colorSpace,
  /external/webkit/WebKit/chromium/src/
GraphicsContext3D.cpp 720 int rowBytes = width * 4;
721 m_renderOutput = new unsigned char[height * rowBytes];
733 unsigned int rowBytes = width * 4;
736 unsigned char* rowA = framebuffer + i * rowBytes;
737 unsigned char* rowB = framebuffer + (height - i - 1) * rowBytes;
742 memcpy(scanline, rowB, rowBytes);
743 memcpy(rowB, rowA, rowBytes);
744 memcpy(rowA, scanline, rowBytes);
834 int rowBytes = m_cachedWidth * 4;
835 CGDataProviderRef dataProvider = CGDataProviderCreateWithData(0, m_renderOutput, rowBytes * m_cachedHeight, 0)
    [all...]
  /external/webkit/WebKit/android/plugins/
android_npapi.h 68 int32_t rowBytes;
    [all...]
  /prebuilt/darwin-x86/swt/
swt.jar 

Completed in 523 milliseconds