/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/skia/src/gpu/gl/ |
GrGpuGL.h | 54 size_t rowBytes) const SK_OVERRIDE; 106 size_t rowBytes) SK_OVERRIDE; 130 size_t rowBytes) SK_OVERRIDE; 135 size_t rowBytes) SK_OVERRIDE; 250 size_t rowBytes);
|
GrGpuGL.cpp | 515 size_t rowBytes) { 534 config, buffer, rowBytes)) { 548 size_t* rowBytes) { 549 if (!*rowBytes) { 550 *rowBytes = *width * bpp; 560 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); 584 size_t rowBytes) { 589 &width, &height, &data, &rowBytes)) { 644 if (rowBytes != trimRowBytes) { 645 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp) [all...] |
/external/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/gpu/gl/ |
GrGpuGL.cpp | 515 size_t rowBytes) { 534 config, buffer, rowBytes)) { 548 size_t* rowBytes) { 549 if (!*rowBytes) { 550 *rowBytes = *width * bpp; 560 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); 584 size_t rowBytes) { 589 &width, &height, &data, &rowBytes)) { 644 if (rowBytes != trimRowBytes) { 645 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp) [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrGpu.cpp | 116 const void* srcData, size_t rowBytes) { 122 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); 229 size_t rowBytes) { 232 config, buffer, rowBytes); 238 size_t rowBytes) { 241 config, buffer, rowBytes);
|
GrContext.cpp | 309 size_t rowBytes, 313 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); 380 size_t rowBytes) { 388 srcData, rowBytes, 391 texture= fGpu->createTexture(desc, srcData, rowBytes); 545 size_t rowBytes) { 547 return fGpu->createTexture(descCopy, srcData, rowBytes); [all...] |
/external/skia/src/gpu/ |
GrGpu.cpp | 116 const void* srcData, size_t rowBytes) { 122 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); 229 size_t rowBytes) { 232 config, buffer, rowBytes); 238 size_t rowBytes) { 241 config, buffer, rowBytes);
|
GrContext.cpp | 309 size_t rowBytes, 313 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); 380 size_t rowBytes) { 388 srcData, rowBytes, 391 texture= fGpu->createTexture(desc, srcData, rowBytes); 545 size_t rowBytes) { 547 return fGpu->createTexture(descCopy, srcData, rowBytes); [all...] |
/external/skia/tests/ |
ReadPixelsTest.cpp | 119 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 141 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 195 uint32_t pixel = *reinterpret_cast<SkPMColor*>(pixels + by * bitmap.rowBytes() + bx * bitmap.bytesPerPixel()); 238 int rowBytes = 0; 246 rowBytes = w * sizeof(SkPMColor) + 16 * sizeof(SkPMColor); 252 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes);
|
BitmapCopyTest.cpp | 329 REPORTER_ASSERT(reporter, copy.rowBytes() <= 4); 511 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes() * 3) 526 subset.rowBytes()); 540 subset.rowBytes()+1); 545 subset.rowBytes()+1) == successExpected); 548 "copyPixelsTo(buf, bufSize, rowBytes+1)", reporter); 558 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes()-1) 562 "copyPixelsTo(buf, bufSize, rowBytes()-1)", reporter); 585 subset.copyPixelsFrom(buf, bufSize, bufBm.rowBytes()) == 595 subset.copyPixelsFrom(buf, 1, subset.rowBytes()) = [all...] |
WritePixelsTest.cpp | 147 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 244 size_t canvasRowBytes = devBmp.rowBytes(); 312 size_t rowBytes = c.fTightRowBytes ? 0 : 4 * DEV_W + 100; 313 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H, rowBytes); 318 // if rowBytes isn't tight then set the padding to a known value 319 if (rowBytes) { 347 size_t rowBytes = tightRowBytes ? 0 : 4 * w + 60; 348 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes); 356 uint32_t* pixel = reinterpret_cast<uint32_t*>(pixels + y * bitmap->rowBytes() + x * 4);
|
/external/chromium_org/skia/ext/ |
convolver_unittest.cc | 277 for (unsigned int x = 0; x < source.rowBytes(); x++) 279 src_ptr += source.rowBytes(); 292 static_cast<int>(source.rowBytes()), 294 static_cast<int>(result_c.rowBytes()), r1, false); 300 static_cast<int>(source.rowBytes()), 302 static_cast<int>(result_sse.rowBytes()), r2, true); 327 r1 += result_c.rowBytes(); 328 r2 += result_sse.rowBytes();
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrTexture.h | 68 size_t rowBytes = 0, 74 size_t rowBytes = 0,
|
/external/chromium_org/third_party/skia/src/image/ |
SkImagePriv.cpp | 107 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); 111 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
|
/external/chromium_org/third_party/skia/src/utils/ios/ |
SkImageDecoder_iOS.mm | 46 8, bm->rowBytes(), cs, BITMAP_INFO);
|
/external/skia/include/gpu/ |
GrTexture.h | 68 size_t rowBytes = 0, 74 size_t rowBytes = 0,
|
/external/skia/src/image/ |
SkImagePriv.cpp | 107 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); 111 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
|
/external/skia/src/utils/ios/ |
SkImageDecoder_iOS.mm | 46 8, bm->rowBytes(), cs, BITMAP_INFO);
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 112 size_t rowBytes() const { return fRowBytes; } 126 /** Return the rowbytes expressed as a number of pixels (like width and 128 return the same as rowBytes(). Is undefined for configs that are less 137 /** Return the byte size of the pixels, based on the height and rowBytes. 149 /** 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(). 247 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 251 void setConfig(Config, int width, int height, size_t rowBytes = 0); 267 In the case when the dstRowBytes matches the bitmap's rowBytes, the cop [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState_sample.h | 52 size_t rb = s.fBitmap->rowBytes(); 100 xy[0] * s.fBitmap->rowBytes()); 149 size_t rb = s.fBitmap->rowBytes(); 195 size_t rb = s.fBitmap->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);
|
/external/chromium_org/ui/snapshot/ |
snapshot_aura.cc | 84 base::checked_numeric_cast<int>(bitmap.rowBytes()),
|
/external/skia/include/core/ |
SkBitmap.h | 112 size_t rowBytes() const { return fRowBytes; } 126 /** Return the rowbytes expressed as a number of pixels (like width and 128 return the same as rowBytes(). Is undefined for configs that are less 137 /** Return the byte size of the pixels, based on the height and rowBytes. 149 /** 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(). 247 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 251 void setConfig(Config, int width, int height, size_t rowBytes = 0); 267 In the case when the dstRowBytes matches the bitmap's rowBytes, the cop [all...] |
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 52 size_t rb = s.fBitmap->rowBytes(); 100 xy[0] * s.fBitmap->rowBytes()); 149 size_t rb = s.fBitmap->rowBytes(); 195 size_t rb = s.fBitmap->rowBytes();
|