HomeSort by relevance Sort by last modified time
    Searched defs:rowBytes (Results 1 - 23 of 23) 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 177 device += fDevice.rowBytes();
191 int rowBytes = fDevice.rowBytes();
196 device += rowBytes;
203 device += rowBytes;
223 device += fDevice.rowBytes();
232 device += fDevice.rowBytes();
350 device += fDevice.rowBytes();
SkBlitter_ARGB32.cpp 107 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes());
133 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes());
271 fBlitMaskProc(fDevice.getAddr32(x, y), fDevice.rowBytes(),
310 unsigned devRB = fDevice.rowBytes() - (width << 2);
329 fBlitMaskProc(fDevice.getAddr32(x, y), fDevice.rowBytes(),
351 uint32_t rowBytes = fDevice.rowBytes();
360 device = (uint32_t*)((char*)device + rowBytes);
373 size_t rowBytes = fDevice.rowBytes();
    [all...]
SkScalerContext.cpp 40 mask->fRowBytes = this->rowBytes();
45 const size_t size = this->rowBytes() * fHeight;
76 uint32_t* output = reinterpret_cast<uint32_t*>(input + SkAlign4(rowBytes() * fHeight));
88 input += rowBytes();
102 input += rowBytes();
442 glyph->rowBytes());
444 sk_bzero(glyph->fImage, bm.height() * bm.rowBytes());
472 int dstRB = origGlyph.rowBytes();
505 unsigned rowBytes = origGlyph.rowBytes();
    [all...]
SkBitmap.cpp 195 Sk64 rowBytes;
196 rowBytes.setZero();
203 rowBytes.set(width);
204 rowBytes.add(7);
205 rowBytes.shiftRight(3);
209 rowBytes.set(width);
213 rowBytes.set(width);
214 rowBytes.shiftLeft(1);
217 rowBytes.set(width);
218 rowBytes.shiftLeft(2)
    [all...]
SkDraw.cpp 247 const size_t rowBytes = bitmap.rowBytes();
251 pixels += rect.fTop * rowBytes + (rect.fLeft << shiftPerPixel);
254 pixels += rowBytes;
338 int rb = bitmap->rowBytes();
    [all...]
  /external/skia/src/animator/
SkDrawBitmap.h 54 int32_t rowBytes;
  /external/skia/src/gpu/
SkGr.cpp 49 if (bitmap.width() == bitmap.rowBytes()) {
54 size_t rowBytes = bitmap.rowBytes();
58 src += rowBytes;
99 // "rowBytes", since they are the same now.
112 bitmap->rowBytes());
  /external/webkit/Tools/WebKitTestRunner/cg/
TestInvocationCG.cpp 53 size_t rowBytes = (4 * pixelsWide + 63) & ~63;
54 void* buffer = calloc(pixelsHigh, rowBytes);
57 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
  /external/skia/src/effects/
SkEmbossMask.cpp 106 int rowBytes = mask->fRowBytes;
112 int next_row = neq_to_mask(y, maxy) & rowBytes;
165 alpha += rowBytes;
166 multiply += rowBytes;
167 additive += rowBytes;
168 prev_row = rowBytes;
  /external/skia/src/pdf/
SkPDFImage.cpp 42 const int rowBytes = srcRect.width();
43 image = new SkMemoryStream(rowBytes * srcRect.height());
46 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes);
47 dst += rowBytes;
52 const int rowBytes = srcRect.width();
53 image = new SkMemoryStream(rowBytes * srcRect.height());
58 SkPackBits::Unpack8(dst, srcRect.fLeft, rowBytes,
60 dst += rowBytes;
66 const int rowBytes = (srcRect.width() * 3 + 1) / 2;
68 image = new SkMemoryStream(rowBytes * srcRect.height())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 261 int rowBytes = imageWidth * 4;
262 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithData(0, imagePixels, rowBytes * imageHeight, 0));
263 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(imageWidth, imageHeight, 8, 32, rowBytes, deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
  /external/skia/src/images/
SkImageDecoder_libgif.cpp 251 const int rowBytes = bm->rowBytes();
277 scanline += desc.Top * rowBytes + desc.Left;
286 uint8_t* row = scanline + iter.currY() * rowBytes;
300 scanline += rowBytes;
  /external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp 96 size_t rowBytes = width * 4;
99 void* baseBuffer = calloc(height, rowBytes);
100 RetainPtr<CGContextRef> baseContext(AdoptCF, CGBitmapContextCreate(baseBuffer, width, height, 8, rowBytes, CGImageGetColorSpace(baseImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
104 void* buffer = calloc(height, rowBytes);
105 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
  /external/skia/include/core/
SkBitmap.h 117 int rowBytes() const { return fRowBytes; }
131 /** Return the rowbytes expressed as a number of pixels (like width and
133 return the same as rowBytes(). Is undefined for configs that are less
142 /** Return the byte size of the pixels, based on the height and rowBytes.
154 /** Return the byte size of the pixels, based on the height and rowBytes.
181 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically
182 if you pass 0 for rowBytes to setConfig().
201 /** Set the bitmap's config and dimensions. If rowBytes is 0, then
205 void setConfig(Config, int width, int height, int rowBytes = 0);
598 uint32_t rowBytes);
    [all...]
SkScalerContext.h 57 * Compute the rowbytes for the specified width and mask-format.
73 unsigned rowBytes() const {
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 100 dst = (char*)dst + dstBitmap.rowBytes();
325 return bitmap->rowBytes();
359 const int rowBytes = p->readInt32();
373 bitmap->setConfig(config, width, height, rowBytes);
427 p->writeInt32(bitmap->rowBytes());
530 src = (void*)((const char*)src + bitmap->rowBytes());
  /external/webkit/Source/WebCore/platform/graphics/win/
MediaPlayerPrivateQuickTimeWin.cpp 863 unsigned rowBytes;
867 m_qtGWorld->getCurrentFrameInfo(buffer, bitsPerPixel, rowBytes, width, height);
871 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreateWithBytesNoCopy(0, static_cast<UInt8*>(buffer), rowBytes * height, kCFAllocatorNull));
873 RetainPtr<CGImageRef> frameImage(AdoptCF, CGImageCreate(width, height, 8, bitsPerPixel, rowBytes, colorSpace,
  /external/webkit/Source/WebKit/chromium/src/
GraphicsContext3DChromium.cpp 286 int rowBytes = width * 4;
287 m_renderOutput = new unsigned char[height * rowBytes];
    [all...]
  /external/skia/src/ports/
SkFontHost_mac_coretext.cpp 452 sk_bzero(glyph.fImage, glyph.fHeight * glyph.rowBytes());
462 size_t rowBytes = glyph.rowBytes();
475 rowBytes = glyph.fWidth << 2;
476 size_t size = glyph.fHeight * rowBytes;
482 rowBytes = SkAlign4(glyph.fWidth);
483 size_t size = glyph.fHeight * rowBytes;
490 rowBytes, colorspace, info);
511 size_t dstRB = glyph.rowBytes();
516 src = (const uint32_t*)((const char*)src + rowBytes);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/opengl/
GraphicsContext3DOpenGL.cpp 124 int rowBytes = m_currentWidth * 4;
125 int totalBytes = rowBytes * m_currentHeight;
    [all...]
  /external/webkit/Source/WebKit/android/plugins/
android_npapi.h 68 int32_t rowBytes;
    [all...]
  /prebuilt/darwin-x86/swt/
swt.jar 

Completed in 482 milliseconds