/external/chromium_org/third_party/skia/src/core/ |
SkBitmap_scroll.cpp | 85 int rowBytes = (int)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...] |
SkBlitter_A8.cpp | 169 device += fDevice.rowBytes(); 183 size_t rowBytes = fDevice.rowBytes(); 188 device += rowBytes; 195 device += rowBytes; 215 device += fDevice.rowBytes(); 224 device += fDevice.rowBytes(); 342 device += fDevice.rowBytes();
|
SkGlyph.h | 43 * Compute the rowbytes for the specified width and mask-format. 61 unsigned rowBytes() const {
|
SkMipMap.cpp | 28 p += src.rowBytes() >> 2; 66 p += src.rowBytes() >> 1; 101 p += src.rowBytes() >> 1; 183 uint32_t rowBytes; 189 rowBytes = SkToU32(SkBitmap::ComputeRowBytes(config, width)); 194 levels[i].fRowBytes = rowBytes; 198 dstBM.setConfig(config, width, height, rowBytes); 210 addr += height * rowBytes;
|
SkBlitter_ARGB32.cpp | 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 199 size_t rowBytes = fDevice.rowBytes(); 202 device = (uint32_t*)((char*)device + rowBytes); 215 size_t rowBytes = fDevice.rowBytes(); 218 fColorRect32Proc(device, width, height, rowBytes, color); 222 device = (uint32_t*)((char*)device + rowBytes); 339 size_t deviceRB = fDevice.rowBytes(); 514 const size_t dstRB = fDevice.rowBytes(); [all...] |
/external/skia/src/core/ |
SkBitmap_scroll.cpp | 85 int rowBytes = (int)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...] |
SkBlitter_A8.cpp | 169 device += fDevice.rowBytes(); 183 size_t rowBytes = fDevice.rowBytes(); 188 device += rowBytes; 195 device += rowBytes; 215 device += fDevice.rowBytes(); 224 device += fDevice.rowBytes(); 342 device += fDevice.rowBytes();
|
SkGlyph.h | 43 * Compute the rowbytes for the specified width and mask-format. 61 unsigned rowBytes() const {
|
SkMipMap.cpp | 28 p += src.rowBytes() >> 2; 66 p += src.rowBytes() >> 1; 101 p += src.rowBytes() >> 1; 183 uint32_t rowBytes; 189 rowBytes = SkToU32(SkBitmap::ComputeRowBytes(config, width)); 194 levels[i].fRowBytes = rowBytes; 198 dstBM.setConfig(config, width, height, rowBytes); 210 addr += height * rowBytes;
|
SkBlitter_ARGB32.cpp | 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 199 size_t rowBytes = fDevice.rowBytes(); 202 device = (uint32_t*)((char*)device + rowBytes); 215 size_t rowBytes = fDevice.rowBytes(); 218 fColorRect32Proc(device, width, height, rowBytes, color); 222 device = (uint32_t*)((char*)device + rowBytes); 339 size_t deviceRB = fDevice.rowBytes(); 514 const size_t dstRB = fDevice.rowBytes(); [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawBitmap.h | 46 int32_t rowBytes;
|
/external/skia/src/animator/ |
SkDrawBitmap.h | 46 int32_t rowBytes;
|
/external/chromium_org/third_party/skia/src/gpu/ |
SkGr.cpp | 39 if ((unsigned)bitmap.width() == bitmap.rowBytes()) { 44 size_t rowBytes = bitmap.rowBytes(); 48 src += rowBytes; 105 // "rowBytes", since they are the same now. 135 return ctx->createTexture(params, desc, cacheID, bitmap->getPixels(), bitmap->rowBytes()); 147 bitmap->rowBytes());
|
/external/chromium_org/third_party/skia/src/image/ |
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; 149 SkSurface* SkSurface::NewRasterDirect(const SkImage::Info& info, void* pixels, size_t rowBytes) { 150 if (!SkSurface_Raster::Valid(info, rowBytes)) { 157 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes)); 166 size_t rowBytes = SkImageMinRowBytes(info) [all...] |
/external/skia/src/gpu/ |
SkGr.cpp | 39 if ((unsigned)bitmap.width() == bitmap.rowBytes()) { 44 size_t rowBytes = bitmap.rowBytes(); 48 src += rowBytes; 105 // "rowBytes", since they are the same now. 135 return ctx->createTexture(params, desc, cacheID, bitmap->getPixels(), bitmap->rowBytes()); 147 bitmap->rowBytes());
|
/external/skia/src/image/ |
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; 149 SkSurface* SkSurface::NewRasterDirect(const SkImage::Info& info, void* pixels, size_t rowBytes) { 150 if (!SkSurface_Raster::Valid(info, rowBytes)) { 157 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes)); 166 size_t rowBytes = SkImageMinRowBytes(info) [all...] |
/external/skia/tests/ |
PathUtilsTest.cpp | 63 int w, int h, int rowBytes){ 70 const char* curLine = &bin_bmp[y * rowBytes]; 114 const char* bin_bmp, int w, int h, int rowBytes){ 117 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes); 124 const char* bin_bmp, int w, int h, int rowBytes){ 127 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes); 135 const int h = 8, rowBytes = 4; 137 char bits[ h * rowBytes ]; 144 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap 150 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
DeferredImageDecoder.cpp | 79 int rowBytes = 0; 80 rowBytes = SkBitmap::ComputeRowBytes(SkBitmap::kARGB_8888_Config, scaledSize.width()); 83 resizedBitmap.setConfig(SkBitmap::kARGB_8888_Config, scaledSubset.width(), scaledSubset.height(), rowBytes);
|
/external/chromium_org/third_party/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/chromium_org/third_party/skia/src/pdf/ |
SkPDFImage.cpp | 31 const int rowBytes = srcRect.width(); 32 image = new SkMemoryStream(rowBytes * srcRect.height()); 35 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes); 36 dst += rowBytes; 42 const int rowBytes = (srcRect.width() * 3 + 1) / 2; 44 image = new SkMemoryStream(rowBytes * srcRect.height()); 87 const int rowBytes = srcRect.width() * 3; 88 image = new SkMemoryStream(rowBytes * srcRect.height()); 103 const int rowBytes = srcRect.width() * 3; 104 image = new SkMemoryStream(rowBytes * srcRect.height()) [all...] |
/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/skia/src/pdf/ |
SkPDFImage.cpp | 31 const int rowBytes = srcRect.width(); 32 image = new SkMemoryStream(rowBytes * srcRect.height()); 35 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes); 36 dst += rowBytes; 42 const int rowBytes = (srcRect.width() * 3 + 1) / 2; 44 image = new SkMemoryStream(rowBytes * srcRect.height()); 87 const int rowBytes = srcRect.width() * 3; 88 image = new SkMemoryStream(rowBytes * srcRect.height()); 103 const int rowBytes = srcRect.width() * 3; 104 image = new SkMemoryStream(rowBytes * srcRect.height()) [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libgif.cpp | 255 const int rowBytes = bm->rowBytes(); 281 scanline += desc.Top * rowBytes + desc.Left; 290 uint8_t* row = scanline + iter.currY() * rowBytes; 304 scanline += rowBytes;
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 58 const size_t dstRB = glyph.rowBytes(); 167 target.pitch = glyph.rowBytes(); 173 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 195 unsigned dstRowBytes = glyph.rowBytes(); 225 dst += glyph.rowBytes(); 242 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 251 unsigned rowBytes = glyph.rowBytes(); 257 dst += rowBytes;
|
/external/chromium_org/third_party/skia/src/utils/ |
SkCanvasStateUtils.cpp | 64 uint32_t rowBytes; // Number of bytes from start of one line to next. 65 void* pixels; // The pixels, all (height * rowBytes) of them. 234 layerState->raster.rowBytes = bitmap.rowBytes(); 292 layerState.raster.rowBytes);
|