/external/skia/src/gpu/ |
SkGr.cpp | 47 if ((unsigned)bitmap.width() == bitmap.rowBytes()) { 52 size_t rowBytes = bitmap.rowBytes(); 56 src += rowBytes; 135 // "rowBytes", since they are the same now. 175 bitmap->getPixels(), bitmap->rowBytes(), &key); 191 bitmap->rowBytes());
|
GrGpu.cpp | 112 const void* srcData, size_t rowBytes) { 122 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); 230 size_t rowBytes) { 233 config, buffer, rowBytes); 239 size_t rowBytes) { 242 config, buffer, rowBytes);
|
/external/skia/src/images/ |
SkDecodingImageGenerator.cpp | 23 TargetAllocator(void* target, size_t rowBytes, const SkImageInfo& info) 25 , fRowBytes(rowBytes) 143 size_t rowBytes) { 165 if (static_cast<size_t>(bpp * info.fWidth) > rowBytes) { 169 if (!bitmap.setConfig(info, rowBytes)) { 173 TargetAllocator allocator(pixels, rowBytes, info);
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 106 size_t rowBytes() const { return fRowBytes; } 120 /** Return the rowbytes expressed as a number of pixels (like width and 122 return the same as rowBytes(). Is undefined for configs that are less 140 /** Return the byte size of the pixels, based on the height and rowBytes. 152 /** Return the byte size of the pixels, based on the height and rowBytes. 203 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically 204 if you pass 0 for rowBytes to setConfig(). 240 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 244 bool setConfig(Config, int width, int height, size_t rowBytes, SkAlphaType); 246 bool setConfig(Config config, int width, int height, size_t rowBytes = 0) [all...] |
SkSurface.h | 32 * Create a new surface, using the specified pixels/rowbytes as its 38 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes);
|
/external/skia/include/core/ |
SkBitmap.h | 106 size_t rowBytes() const { return fRowBytes; } 120 /** Return the rowbytes expressed as a number of pixels (like width and 122 return the same as rowBytes(). Is undefined for configs that are less 140 /** Return the byte size of the pixels, based on the height and rowBytes. 152 /** Return the byte size of the pixels, based on the height and rowBytes. 203 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically 204 if you pass 0 for rowBytes to setConfig(). 240 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 244 bool setConfig(Config, int width, int height, size_t rowBytes, SkAlphaType); 246 bool setConfig(Config config, int width, int height, size_t rowBytes = 0) [all...] |
SkSurface.h | 32 * Create a new surface, using the specified pixels/rowbytes as its 38 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes);
|
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis.cc | 260 static_cast<int>(input_bitmap->rowBytes()), 265 static_cast<int>(intermediate.rowBytes()), 269 static_cast<int>(intermediate.rowBytes()), 274 static_cast<int>(input_bitmap->rowBytes()), 281 static_cast<int>(input_bitmap->rowBytes()), 286 static_cast<int>(intermediate.rowBytes()), 290 static_cast<int>(input_bitmap->rowBytes()), 295 static_cast<int>(intermediate2.rowBytes()), 303 static_cast<int>(input_bitmap->rowBytes()), 308 static_cast<int>(intermediate.rowBytes()), [all...] |
/external/chromium_org/third_party/skia/src/image/ |
SkImagePriv.cpp | 44 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); 48 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
|
/external/skia/src/image/ |
SkImagePriv.cpp | 44 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); 48 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 385 target.pitch = glyph.rowBytes(); 390 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 441 unscaledBitmapAlias.fRowBytes = unscaledBitmap.rowBytes(); 451 bitmapRowBytes = glyph.rowBytes(); 476 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes()); 485 dst = (uint16_t*)((char*)dst + glyph.rowBytes()); 486 src += dstBitmap.rowBytes(); 494 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 503 unsigned rowBytes = glyph.rowBytes(); [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 396 target.pitch = glyph.rowBytes(); 401 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 452 unscaledBitmapAlias.fRowBytes = unscaledBitmap.rowBytes(); 462 bitmapRowBytes = glyph.rowBytes(); 487 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes()); 496 dst = (uint16_t*)((char*)dst + glyph.rowBytes()); 497 src += dstBitmap.rowBytes(); 505 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight); 514 unsigned rowBytes = glyph.rowBytes(); [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
SkGr.h | 87 int rowBytes, void* image);
|
GrContext.h | 128 * @param rowBytes The number of bytes between rows of the texture. Zero 136 size_t rowBytes, 218 size_t rowBytes); 528 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly 539 size_t rowBytes = 0, 552 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 562 size_t rowBytes = 0, 574 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 584 size_t rowBytes = 0, 596 * @param rowBytes number of bytes between consecutive rows. Zer [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawBitmap.h | 46 int32_t rowBytes;
|
/external/skia/include/gpu/ |
SkGr.h | 87 int rowBytes, void* image);
|
GrContext.h | 128 * @param rowBytes The number of bytes between rows of the texture. Zero 136 size_t rowBytes, 218 size_t rowBytes); 528 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly 539 size_t rowBytes = 0, 552 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 562 size_t rowBytes = 0, 574 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 584 size_t rowBytes = 0, 596 * @param rowBytes number of bytes between consecutive rows. Zer [all...] |
/external/skia/src/animator/ |
SkDrawBitmap.h | 46 int32_t rowBytes;
|
/frameworks/base/native/graphics/jni/ |
bitmap.cpp | 34 info->stride = bm->rowBytes();
|
/external/chromium_org/media/filters/ |
skcanvas_video_renderer.cc | 121 local_dest_irect.fTop * bitmap.rowBytes() + 179 bitmap.rowBytes(), 240 bitmap->rowBytes(), 254 bitmap->rowBytes(), 270 bitmap->rowBytes(),
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL.h | 73 size_t rowBytes) const SK_OVERRIDE; 125 size_t rowBytes) SK_OVERRIDE; 147 size_t rowBytes) SK_OVERRIDE; 152 size_t rowBytes) SK_OVERRIDE; 260 size_t rowBytes);
|
GrGpuGL.cpp | 472 size_t rowBytes) { 491 config, buffer, rowBytes)) { 505 size_t* rowBytes) { 506 if (!*rowBytes) { 507 *rowBytes = *width * bpp; 517 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); 541 size_t rowBytes) { 546 &width, &height, &data, &rowBytes)) { 608 if (rowBytes != trimRowBytes) { 609 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp) [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGL.h | 73 size_t rowBytes) const SK_OVERRIDE; 125 size_t rowBytes) SK_OVERRIDE; 147 size_t rowBytes) SK_OVERRIDE; 152 size_t rowBytes) SK_OVERRIDE; 260 size_t rowBytes);
|
GrGpuGL.cpp | 472 size_t rowBytes) { 491 config, buffer, rowBytes)) { 505 size_t* rowBytes) { 506 if (!*rowBytes) { 507 *rowBytes = *width * bpp; 517 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); 541 size_t rowBytes) { 546 &width, &height, &data, &rowBytes)) { 608 if (rowBytes != trimRowBytes) { 609 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp) [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrGpu.cpp | 112 const void* srcData, size_t rowBytes) { 122 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); 230 size_t rowBytes) { 233 config, buffer, rowBytes); 239 size_t rowBytes) { 242 config, buffer, rowBytes);
|