/external/skia/src/image/ |
SkImage_Raster.cpp | 17 static bool ValidArgs(const Info& info, size_t rowBytes) { 41 if (rowBytes < SkImageMinRowBytes(info)) { 45 int64_t size = (int64_t)info.fHeight * rowBytes; 60 SkImage_Raster(const SkImage::Info&, SkPixelRef*, size_t rowBytes); 84 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) 89 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 95 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes) 100 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 114 SkImage* SkImage::NewRasterCopy(const SkImage::Info& info, const void* pixels, size_t rowBytes) { 115 if (!SkImage_Raster::ValidArgs(info, rowBytes)) { [all...] |
SkSurface_Raster.cpp | 39 bool SkSurface_Raster::Valid(const SkImage::Info& info, size_t rowBytes) { 62 if (kIgnoreRowBytesValue == rowBytes) { 67 if (minRB > rowBytes) { 71 size_t alignedRowBytes = rowBytes >> shift << shift; 72 if (alignedRowBytes != rowBytes) { 76 uint64_t size = (uint64_t)info.fHeight * rowBytes; 142 SkSurface* SkSurface::NewRasterDirect(const SkImage::Info& info, void* pixels, size_t rowBytes) { 143 if (!SkSurface_Raster::Valid(info, rowBytes)) { 150 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes)); 159 size_t rowBytes = SkImageMinRowBytes(info) [all...] |
/external/skia/legacy/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...] |
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();
|
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...] |
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...] |
/external/skia/src/core/ |
SkBitmap_scroll.cpp | 85 int rowBytes = this->rowBytes(); // need rowBytes to be signed 88 src -= dy * rowBytes; 91 dst += dy * rowBytes; 94 src += (height - 1) * rowBytes; 95 dst += (height - 1) * rowBytes; 96 // now invert rowbytes so we copy backwards in the loop 97 rowBytes = -rowBytes; [all...] |
SkConfig8888.h | 40 Copies all pixels from a bitmap to a dst ptr with a given rowBytes and 52 size_t srcRowBytes = srcBmp.rowBytes(); 59 Copies over all pixels in a bitmap from a src ptr with a given rowBytes and 70 size_t dstRowBytes = dstBmp.rowBytes();
|
SkBitmap.cpp | 189 Sk64 rowBytes; 190 rowBytes.setZero(); 197 rowBytes.set(width); 198 rowBytes.add(7); 199 rowBytes.shiftRight(3); 203 rowBytes.set(width); 207 rowBytes.set(width); 208 rowBytes.shiftLeft(1); 211 rowBytes.set(width); 212 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...] |
/external/skia/src/opts/ |
SkBlitRect_opts_SSE2.h | 20 size_t rowBytes, uint32_t color);
|
SkBlitRect_opts_SSE2.cpp | 19 size_t rowBytes, uint32_t color) { 41 destination = (uint32_t*)((char*)destination + rowBytes); 53 size_t rowBytes, uint32_t color) { 110 destination = (uint32_t*)((char*)destination + rowBytes); 116 size_t rowBytes, uint32_t color) { 124 rowBytes, color); 127 rowBytes, color); 130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
|
/external/quake/quake/src/QW/client/ |
d_modech.c | 61 int rowbytes; local 64 rowbytes = WARP_WIDTH; 66 rowbytes = vid.rowbytes; 100 d_scantable[i] = i*rowbytes;
|
draw.c | 31 int rowbytes; member in struct:__anon14135 119 r_rectdesc.rowbytes = draw_backtile->width; 362 dest = vid.buffer + y * vid.rowbytes + x; 367 dest += vid.rowbytes; 374 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; 383 pusdest += vid.rowbytes >> 1; 413 dest = vid.buffer + y * vid.rowbytes + x; 418 dest += vid.rowbytes; 425 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; 434 pusdest += vid.rowbytes >> 1 [all...] |
d_fill.c | 59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx); 74 ldest = (unsigned *)((byte*)ldest + vid.rowbytes); 84 dest += vid.rowbytes;
|
/external/quake/quake/src/WinQuake/ |
d_modech.cpp | 61 int rowbytes;
local 64 rowbytes = WARP_WIDTH;
66 rowbytes = vid.rowbytes;
100 d_scantable[i] = i*rowbytes;
|
draw.cpp | 31 int rowbytes; member in struct:__anon14422 121 r_rectdesc.rowbytes = draw_backtile->width; 307 dest = vid.buffer + y * vid.rowbytes + x; 312 dest += vid.rowbytes; 319 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; 328 pusdest += vid.rowbytes >> 1; 356 dest = vid.buffer + y * vid.rowbytes + x; 366 dest += vid.rowbytes; 393 dest += vid.rowbytes; 401 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x [all...] |
/external/skia/legacy/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/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/gpu/ |
GrRenderTarget.cpp | 21 size_t rowBytes, 30 config, buffer, rowBytes, 37 size_t rowBytes, 46 config, buffer, rowBytes,
|
SkGr.cpp | 42 if (bitmap.width() == bitmap.rowBytes()) { 47 size_t rowBytes = bitmap.rowBytes(); 51 src += rowBytes; 116 // "rowBytes", since they are the same now. 142 return ctx->createTexture(params, desc, cacheID, bitmap->getPixels(), bitmap->rowBytes()); 154 bitmap->rowBytes());
|
/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/include/gpu/ |
GrSurface.h | 74 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 84 size_t rowBytes = 0, 88 * Copy the src pixels [buffer, rowbytes, pixelconfig] into the surface at the specified 96 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 103 size_t rowBytes = 0,
|