HomeSort by relevance Sort by last modified time
    Searched refs:rowBytes (Results 1 - 25 of 60) sorted by null

1 2 3

  /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...]
SkProcSpriteBlitter.cpp 29 size_t dstRB = fDevice.rowBytes();
30 size_t srcRB = fSource.rowBytes();
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...]
SkSpriteBlitter_ARGB32.cpp 50 size_t dstRB = fDevice->rowBytes();
51 size_t srcRB = fSource->rowBytes();
138 unsigned dstRB = fDevice->rowBytes();
139 unsigned srcRB = fSource->rowBytes();
185 unsigned dstRB = fDevice->rowBytes();
186 unsigned srcRB = fSource->rowBytes();
232 unsigned dstRB = fDevice->rowBytes();
233 unsigned srcRB = fSource->rowBytes();
261 unsigned dstRB = fDevice->rowBytes();
262 unsigned srcRB = fSource->rowBytes();
    [all...]
SkSpriteBlitterTemplate.h 33 unsigned dstRB = fDevice->rowBytes();
34 unsigned srcRB = fSource->rowBytes();
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...]
SkBitmapProcState_sample.h 30 int i, rb = s.fBitmap->rowBytes();
78 xy[0] * s.fBitmap->rowBytes());
127 unsigned rb = s.fBitmap->rowBytes();
173 int rb = s.fBitmap->rowBytes();
  /external/skia/src/animator/
SkDrawBitmap.cpp 59 SK_MEMBER(rowBytes, Int),
68 rowBytes(0), width(-1), fColor(0), fColorSet(false) {
81 if (rowBytes > 0)
82 SkDebugf("rowBytes=\"%d\" ", rowBytes);
100 SkASSERT(rowBytes >= 0);
101 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
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/WebCore/platform/graphics/mac/
Canvas3DLayer.mm 126 size_t rowBytes = (width * 4 + 15) & ~15;
127 size_t dataSize = rowBytes * height;
132 glPixelStorei(GL_PACK_ROW_LENGTH, rowBytes / 4);
136 CGImageRef image = CGImageCreate(width, height, 8, 32, rowBytes, imageColorSpace.get(),
  /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/webkit/WebKit/android/plugins/
SkANP.cpp 74 dst->setConfig(config, src.width, src.height, src.rowBytes);
99 dst->rowBytes = src.rowBytes();
  /external/webkit/WebKitTools/DumpRenderTree/mac/
PixelDumpSupportMac.mm 119 size_t rowBytes = (4 * pixelsWide + 63) & ~63; // Use a multiple of 64 bytes to improve CG performance
121 void *buffer = calloc(pixelsHigh, rowBytes);
137 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); // Use ARGB8 on PPC or BGRA8 on X86 to improve CG performance
201 void *flipBuffer = calloc(pixelsHigh, rowBytes);
203 glPixelStorei(GL_PACK_ROW_LENGTH, rowBytes / 4);
212 bcopy((char*)flipBuffer + rowBytes * i, (char*)buffer + rowBytes * (pixelsHigh - i - 1), pixelsWide * 4);
  /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;
SkFlipPixelRef.cpp 84 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift);
87 const size_t rb = dst.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/opts/
SkBitmapProcState_opts_arm.cpp 40 xy[0] * s.fBitmap->rowBytes());
124 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
  /external/webkit/WebCore/platform/graphics/win/
QTMovieWin.h 100 void getCurrentFrameInfo(void*& buffer, unsigned& bitsPerPixel, unsigned& rowBytes, unsigned& width, unsigned& height);
  /frameworks/base/native/graphics/jni/
bitmap.cpp 34 info->stride = bm->rowBytes();
  /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/skia/src/utils/mac/
SkCreateCGImageRef.cpp 99 bitmap->rowBytes(), space, info, dataRef,
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzYUV.m 297 yuv_pixmap->componentInfoY.rowBytes = EndianU32_NtoB(width);
303 yuv_pixmap->componentInfoCb.rowBytes = EndianU32_NtoB(width / 2);
309 yuv_pixmap->componentInfoCr.rowBytes = EndianU32_NtoB(width / 2);

Completed in 522 milliseconds

1 2 3