/external/skia/src/core/ |
SkBitmap_scroll.cpp | 81 int rowBytes = this->rowBytes(); // need rowBytes to be signed 84 src -= dy * rowBytes; 87 dst += dy * rowBytes; 90 src += (height - 1) * rowBytes; 91 dst += (height - 1) * rowBytes; 92 // now invert rowbytes so we copy backwards in the loop 93 rowBytes = -rowBytes; [all...] |
SkBitmap.cpp | 188 Sk64 rowBytes; 189 rowBytes.setZero(); 196 rowBytes.set(width); 197 rowBytes.add(7); 198 rowBytes.shiftRight(3); 202 rowBytes.set(width); 206 rowBytes.set(width); 207 rowBytes.shiftLeft(1); 210 rowBytes.set(width); 211 rowBytes.shiftLeft(2) [all...] |
SkProcSpriteBlitter.cpp | 21 size_t dstRB = fDevice.rowBytes(); 22 size_t srcRB = fSource.rowBytes();
|
SkSpriteBlitter_ARGB32.cpp | 42 size_t dstRB = fDevice->rowBytes(); 43 size_t srcRB = fSource->rowBytes(); 130 unsigned dstRB = fDevice->rowBytes(); 131 unsigned srcRB = fSource->rowBytes(); 177 unsigned dstRB = fDevice->rowBytes(); 178 unsigned srcRB = fSource->rowBytes(); 224 unsigned dstRB = fDevice->rowBytes(); 225 unsigned srcRB = fSource->rowBytes(); 253 unsigned dstRB = fDevice->rowBytes(); 254 unsigned srcRB = fSource->rowBytes(); [all...] |
SkConfig8888.h | 37 Copies all pixels from a bitmap to a dst ptr with a given rowBytes and 46 Copies over all pixels in a bitmap from a src ptr with a given rowBytes and 69 size_t srcRowBytes = srcBmp.rowBytes(); 83 size_t dstRowBytes = dstBmp.rowBytes();
|
SkSpriteBlitterTemplate.h | 25 unsigned dstRB = fDevice->rowBytes(); 26 unsigned srcRB = fSource->rowBytes();
|
/external/skia/src/gpu/ |
GrTexture.cpp | 18 size_t rowBytes) { 27 config, buffer, rowBytes); 32 size_t rowBytes) { 41 config, buffer, rowBytes);
|
GrRenderTarget.cpp | 18 size_t rowBytes) { 27 config, buffer, rowBytes); 32 size_t rowBytes) { 41 config, buffer, rowBytes);
|
SkGr.cpp | 42 if (bitmap.width() == bitmap.rowBytes()) { 47 size_t rowBytes = bitmap.rowBytes(); 51 src += rowBytes; 94 // "rowBytes", since they are the same now. 119 bitmap->rowBytes()); 127 bitmap->rowBytes());
|
GrGpu.h | 122 const void* srcData, size_t rowBytes); 220 * do memcpys to handle rowBytes that aren't tight. It could do the y-flip 234 size_t rowBytes) const = 0; 256 * @param rowBytes the number of bytes between consecutive rows. Zero 267 GrPixelConfig config, void* buffer, size_t rowBytes, 279 * @param rowBytes number of bytes bewtween consecutive rows. Zero 285 size_t rowBytes); 408 size_t rowBytes) = 0; 439 size_t rowBytes, 446 size_t rowBytes) = 0 [all...] |
/external/skia/include/gpu/ |
GrFontScaler.h | 32 int rowBytes, void* image) = 0;
|
GrRenderTarget.h | 134 * @param rowBytes number of bytes bewtween consecutive rows. Zero 141 GrPixelConfig config, void* buffer, size_t rowBytes); 144 * Copy the src pixels [buffer, rowbytes, pixelconfig] into the render 152 * @param rowBytes number of bytes bewtween consecutive rows. Zero 156 GrPixelConfig config, const void* buffer, size_t rowBytes);
|
GrTexture.h | 64 * @param rowBytes number of bytes bewtween consecutive rows. Zero 72 size_t rowBytes); 82 * @param rowBytes number of bytes bewtween consecutive rows. Zero 87 size_t rowBytes);
|
GrContext.h | 130 * @param rowBytes The number of bytes between rows of the texture. Zero 136 void* srcData, size_t rowBytes); 218 size_t rowBytes); 477 * @param rowBytes number of bytes bewtween consecutive rows. Zero 487 size_t rowBytes) { 491 rowBytes, 0); 495 * Copy the src pixels [buffer, rowbytes, pixelconfig] into a render target 505 * @param rowBytes number of bytes bewtween consecutive rows. Zero 511 size_t rowBytes) { 513 config, buffer, rowBytes, 0) [all...] |
/external/skia/src/animator/ |
SkDrawBitmap.cpp | 51 SK_MEMBER(rowBytes, Int), 60 rowBytes(0), width(-1), fColor(0), fColorSet(false) { 73 if (rowBytes > 0) 74 SkDebugf("rowBytes=\"%d\" ", rowBytes); 92 SkASSERT(rowBytes >= 0); 93 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 99 int rowBytes = mask->fRowBytes; 105 int next_row = neq_to_mask(y, maxy) & rowBytes; 158 alpha += rowBytes; 159 multiply += rowBytes; 160 additive += rowBytes; 161 prev_row = rowBytes;
|
/external/webkit/Tools/DumpRenderTree/mac/ |
PixelDumpSupportMac.mm | 108 static PassRefPtr<BitmapContext> createBitmapContext(size_t pixelsWide, size_t pixelsHigh, size_t& rowBytes, void*& buffer) 110 rowBytes = (4 * pixelsWide + 63) & ~63; // Use a multiple of 64 bytes to improve CG performance 112 buffer = calloc(pixelsHigh, rowBytes); 128 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); // Use ARGB8 on PPC or BGRA8 on X86 to improve CG performance 149 size_t rowBytes = 0; 151 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pixelsWide, pixelsHigh, rowBytes, buffer); 211 void *flipBuffer = calloc(pixelsHigh, rowBytes); 213 glPixelStorei(GL_PACK_ROW_LENGTH, rowBytes / 4); 222 bcopy((char*)flipBuffer + rowBytes * i, (char*)buffer + rowBytes * (pixelsHigh - i - 1), pixelsWide * 4) [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
WebGLLayer.mm | 125 size_t rowBytes = (width * 4 + 15) & ~15; 126 size_t dataSize = rowBytes * height; 131 glPixelStorei(GL_PACK_ROW_LENGTH, rowBytes / 4); 135 CGImageRef image = CGImageCreate(width, height, 8, 32, rowBytes, imageColorSpace.get(),
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GraphicsContext3DSkia.cpp | 80 ASSERT(skiaImage->rowBytes() == skiaImage->width() * 4); 81 outputVector.resize(skiaImage->rowBytes() * skiaImage->height());
|
/external/skia/src/pdf/ |
SkPDFImage.cpp | 35 const int rowBytes = srcRect.width(); 36 image = new SkMemoryStream(rowBytes * srcRect.height()); 39 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes); 40 dst += rowBytes; 45 const int rowBytes = srcRect.width(); 46 image = new SkMemoryStream(rowBytes * srcRect.height()); 51 SkPackBits::Unpack8(dst, srcRect.fLeft, rowBytes, 53 dst += rowBytes; 59 const int rowBytes = (srcRect.width() * 3 + 1) / 2; 61 image = new SkMemoryStream(rowBytes * srcRect.height()) [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGL.h | 46 size_t rowBytes) const SK_OVERRIDE; 103 size_t rowBytes); 124 size_t rowBytes, 130 size_t rowBytes) SK_OVERRIDE; 230 size_t rowBytes);
|
/external/webkit/Source/WebKit/android/plugins/ |
SkANP.cpp | 74 dst->setConfig(config, src.width, src.height, src.rowBytes); 99 dst->rowBytes = src.rowBytes();
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTMovieGWorld.h | 65 void getCurrentFrameInfo(void*& buffer, unsigned& bitsPerPixel, unsigned& rowBytes, unsigned& width, unsigned& height);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
PlatformCanvas.cpp | 101 size_t rowBytes = canvas->size().width() * 4; 103 canvas->size().width(), canvas->size().height(), 8, rowBytes,
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferDataCG.cpp | 78 src.rowBytes = scanlineData->srcRowBytes; 84 dest.rowBytes = scanlineData->destRowBytes; 163 src.rowBytes = srcBytesPerRow; 169 dst.rowBytes = destBytesPerRow; 212 src.rowBytes = srcBytesPerRow; 218 dest.rowBytes = destBytesPerRow; 300 src.rowBytes = srcBytesPerRow; 306 dst.rowBytes = destBytesPerRow; 349 src.rowBytes = srcBytesPerRow; 355 dest.rowBytes = destBytesPerRow [all...] |