/external/skia/src/core/ |
D | SkBitmap_scroll.cpp | 76 int rowBytes = this->rowBytes(); // need rowBytes to be signed in scrollRect() local 79 src -= dy * rowBytes; in scrollRect() 82 dst += dy * rowBytes; in scrollRect() 85 src += (height - 1) * rowBytes; in scrollRect() 86 dst += (height - 1) * rowBytes; in scrollRect() 88 rowBytes = -rowBytes; in scrollRect() 102 dst += rowBytes; in scrollRect() 103 src += rowBytes; in scrollRect()
|
D | SkBitmap.cpp | 185 Sk64 rowBytes; in ComputeRowBytes() local 186 rowBytes.setZero(); in ComputeRowBytes() 193 rowBytes.set(width); in ComputeRowBytes() 194 rowBytes.add(7); in ComputeRowBytes() 195 rowBytes.shiftRight(3); in ComputeRowBytes() 199 rowBytes.set(width); in ComputeRowBytes() 203 rowBytes.set(width); in ComputeRowBytes() 204 rowBytes.shiftLeft(1); in ComputeRowBytes() 207 rowBytes.set(width); in ComputeRowBytes() 208 rowBytes.shiftLeft(2); in ComputeRowBytes() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 50 size_t dstRB = fDevice->rowBytes(); in blitRect() 51 size_t srcRB = fSource->rowBytes(); in blitRect() 138 unsigned dstRB = fDevice->rowBytes(); in blitRect() 139 unsigned srcRB = fSource->rowBytes(); in blitRect() 185 unsigned dstRB = fDevice->rowBytes(); in blitRect() 186 unsigned srcRB = fSource->rowBytes(); in blitRect() 232 unsigned dstRB = fDevice->rowBytes(); in blitRect() 233 unsigned srcRB = fSource->rowBytes(); in blitRect() 261 unsigned dstRB = fDevice->rowBytes(); in blitRect() 262 unsigned srcRB = fSource->rowBytes(); in blitRect()
|
D | SkBlitter_ARGB32.cpp | 167 unsigned devRB = fDevice.rowBytes() - (width << 2); in blitMask() 213 unsigned devRB = fDevice.rowBytes() - (width << 2); in blitMask() 234 unsigned devRB = fDevice.rowBytes() - (width << 2); in blitMask() 264 uint32_t rowBytes = fDevice.rowBytes(); in blitV() local 273 device = (uint32_t*)((char*)device + rowBytes); in blitV() 286 size_t rowBytes = fDevice.rowBytes(); in blitRect() local 290 device = (uint32_t*)((char*)device + rowBytes); in blitRect() 329 unsigned deviceRB = fDevice.rowBytes() - (width << 2); in blitMask() 349 unsigned deviceRB = fDevice.rowBytes() - (width << 2); in blitMask()
|
D | SkBlitter_A8.cpp | 187 device += fDevice.rowBytes(); in blitMask() 201 int rowBytes = fDevice.rowBytes(); in blitV() local 208 device += rowBytes; in blitV() 218 device += rowBytes; in blitV() 238 device += fDevice.rowBytes(); in blitRect() 251 device += fDevice.rowBytes(); in blitRect() 383 device += fDevice.rowBytes(); in blitMask()
|
D | SkScalerContext.cpp | 44 mask->fRowBytes = this->rowBytes(); in toMask() 49 const size_t size = this->rowBytes() * fHeight; in computeImageSize() 80 uint32_t* output = reinterpret_cast<uint32_t*>(input + SkAlign4(rowBytes() * fHeight)); in expandA8ToLCD() 92 input += rowBytes(); in expandA8ToLCD() 106 input += rowBytes(); in expandA8ToLCD() 442 glyph->rowBytes()); in getImage() 444 sk_bzero(glyph->fImage, bm.height() * bm.rowBytes()); in getImage() 471 int dstRB = origGlyph.rowBytes(); in getImage() 504 unsigned rowBytes = origGlyph.rowBytes(); in getImage() local 510 dst += rowBytes; in getImage()
|
D | SkBitmapProcState_sample.h | 30 int i, rb = s.fBitmap->rowBytes(); in MAKENAME() 78 xy[0] * s.fBitmap->rowBytes()); in MAKENAME() 127 unsigned rb = s.fBitmap->rowBytes(); in MAKENAME() 173 int rb = s.fBitmap->rowBytes(); in MAKENAME()
|
D | SkProcSpriteBlitter.cpp | 29 size_t dstRB = fDevice.rowBytes(); 30 size_t srcRB = fSource.rowBytes();
|
D | SkSpriteBlitterTemplate.h | 33 unsigned dstRB = fDevice->rowBytes(); in blitRect() 34 unsigned srcRB = fSource->rowBytes(); in blitRect()
|
D | SkSpriteBlitter_RGB16.cpp | 69 unsigned dstRB = fDevice->rowBytes(); in blitRect() 70 unsigned srcRB = fSource->rowBytes(); in blitRect() 296 unsigned dstRB = fDevice->rowBytes(); in blitRect() 297 unsigned srcRB = fSource->rowBytes(); in blitRect()
|
D | SkBlitter_RGB16.cpp | 215 unsigned deviceRB = fDevice.rowBytes() - (width << 1); in blitMask() 386 unsigned deviceRB = fDevice.rowBytes() - (width << 1); in blitMask() 486 unsigned deviceRB = fDevice.rowBytes(); in blitV() 502 unsigned deviceRB = fDevice.rowBytes(); in blitRect() 646 unsigned deviceRB = fDevice.rowBytes() - (width << 1); in blitMask() 667 unsigned deviceRB = fDevice.rowBytes(); in blitV() 683 unsigned deviceRB = fDevice.rowBytes(); in blitRect() 719 size_t dstRB = fDevice.rowBytes(); in blitRect() 861 size_t dstRB = fDevice.rowBytes(); in blitRect()
|
D | SkBlitter_4444.cpp | 181 unsigned rb = fDevice.rowBytes(); in blitV() 230 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()); in blitRect() 240 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()); in blitRect() 363 unsigned devRB = fDevice.rowBytes() - (width << 1); in blitMask()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 112 int rowBytes = mask->fRowBytes; in Emboss() local 119 int next_row = neq_to_mask(y, maxy) & rowBytes; in Emboss() 175 alpha += rowBytes; in Emboss() 176 multiply += rowBytes; in Emboss() 177 additive += rowBytes; in Emboss() 178 prev_row = rowBytes; in Emboss()
|
/external/skia/src/gl/ |
D | SkGLTextCache.cpp | 80 int rowBytes = glyph.rowBytes(); in addGlyphAndBind() local 81 SkASSERT(rowBytes >= glyph.fWidth); in addGlyphAndBind() 85 fNextFreeOffsetX + rowBytes >= fStrikeWidth) { in addGlyphAndBind() 88 strike = SkNEW_ARGS(Strike, (this, rowBytes, glyph.fHeight)); in addGlyphAndBind() 99 glTexSubImage2D(GL_TEXTURE_2D, 0, strike->fNextFreeOffsetX, 0, rowBytes, in addGlyphAndBind() 184 strike = SkNEW_ARGS(Strike, (NULL, glyph.rowBytes(), glyph.fHeight)); in addGlyphAndBind()
|
/external/skia/src/animator/ |
D | SkDrawBitmap.cpp | 59 SK_MEMBER(rowBytes, Int), 68 rowBytes(0), width(-1), fColor(0), fColorSet(false) { in SkDrawBitmap() 81 if (rowBytes > 0) in dump() 82 SkDebugf("rowBytes=\"%d\" ", rowBytes); in dump() 100 SkASSERT(rowBytes >= 0); in onEndElement() 101 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes); in onEndElement()
|
/external/webkit/WebKit/chromium/src/ |
D | GraphicsContext3D.cpp | 720 int rowBytes = width * 4; in reshape() local 721 m_renderOutput = new unsigned char[height * rowBytes]; in reshape() 733 unsigned int rowBytes = width * 4; in flipVertically() local 736 unsigned char* rowA = framebuffer + i * rowBytes; in flipVertically() 737 unsigned char* rowB = framebuffer + (height - i - 1) * rowBytes; in flipVertically() 742 memcpy(scanline, rowB, rowBytes); in flipVertically() 743 memcpy(rowB, rowA, rowBytes); in flipVertically() 744 memcpy(rowA, scanline, rowBytes); in flipVertically() 834 int rowBytes = m_cachedWidth * 4; in beginPaint() local 835 …CGDataProviderRef dataProvider = CGDataProviderCreateWithData(0, m_renderOutput, rowBytes * m_cach… in beginPaint() [all …]
|
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
D | ImageDiffCG.cpp | 92 size_t rowBytes = width * 4; in createDifferenceImage() local 95 void* baseBuffer = calloc(height, rowBytes); in createDifferenceImage() 96 …aseContext(AdoptCF, CGBitmapContextCreate(baseBuffer, width, height, 8, rowBytes, CGImageGetColorS… in createDifferenceImage() 100 void* buffer = calloc(height, rowBytes); in createDifferenceImage() 101 …xtRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorS… in createDifferenceImage()
|
/external/skia/src/images/ |
D | SkImageDecoder_libgif.cpp | 251 const int rowBytes = bm->rowBytes(); in onDecode() local 277 scanline += desc.Top * rowBytes + desc.Left; in onDecode() 286 uint8_t* row = scanline + iter.currY() * rowBytes; in onDecode() 300 scanline += rowBytes; in onDecode()
|
D | SkFlipPixelRef.cpp | 84 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift); in copyRect() 87 const size_t rb = dst.rowBytes(); in copyRect()
|
/external/webkit/WebKit/android/plugins/ |
D | SkANP.cpp | 74 dst->setConfig(config, src.width, src.height, src.rowBytes); in SetBitmap() 99 dst->rowBytes = src.rowBytes(); in SetBitmap()
|
/external/webkit/WebCore/platform/graphics/mac/ |
D | 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/webkit/WebKitTools/DumpRenderTree/mac/ |
D | PixelDumpSupportMac.mm | 119 …size_t rowBytes = (4 * pixelsWide + 63) & ~63; // Use a multiple of 64 bytes to improve CG perform… 121 void *buffer = calloc(pixelsHigh, rowBytes); 137 …CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpa… 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), pixelsWid…
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_arm.cpp | 40 xy[0] * s.fBitmap->rowBytes()); in SI8_D16_nofilter_DX_arm() 124 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); in SI8_opaque_D32_nofilter_DX_arm()
|
/external/webkit/WebCore/platform/graphics/win/ |
D | MediaPlayerPrivateQuickTimeWin.cpp | 784 unsigned rowBytes; in paintContents() local 788 m_qtMovie->getCurrentFrameInfo(buffer, bitsPerPixel, rowBytes, width, height); in paintContents() 792 …ta(AdoptCF, CFDataCreateWithBytesNoCopy(0, static_cast<UInt8*>(buffer), rowBytes * height, kCFAllo… in paintContents() 794 …GImageRef> frameImage(AdoptCF, CGImageCreate(width, height, 8, bitsPerPixel, rowBytes, colorSpace, in paintContents()
|
/external/webkit/WebCore/platform/image-decoders/ |
D | ImageDecoder.h | 100 const int rowBytes = (endX - startX) * sizeof(PixelData); in copyRowNTimes() local 103 memcpy(getAddr(startX, destY), startAddr, rowBytes); in copyRowNTimes()
|