/external/skia/tests/ |
ReadPixelsTest.cpp | 116 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 138 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 192 uint32_t pixel = *reinterpret_cast<SkPMColor*>(pixels + by * bitmap.rowBytes() + bx * bitmap.bytesPerPixel()); 234 int rowBytes = 0; 242 rowBytes = w * sizeof(SkPMColor) + 16 * sizeof(SkPMColor); 248 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes);
|
BitmapCopyTest.cpp | 305 REPORTER_ASSERT(reporter, copy.rowBytes() <= 4); 462 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes() * 3) 477 subset.rowBytes()); 491 subset.rowBytes()+1); 496 subset.rowBytes()+1) == successExpected); 499 "copyPixelsTo(buf, bufSize, rowBytes+1)", reporter); 509 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes()-1) 513 "copyPixelsTo(buf, bufSize, rowBytes()-1)", reporter); 536 subset.copyPixelsFrom(buf, bufSize, bufBm.rowBytes()) == 546 subset.copyPixelsFrom(buf, 1, subset.rowBytes()) = [all...] |
WritePixelsTest.cpp | 145 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 242 size_t canvasRowBytes = devBmp.rowBytes(); 310 size_t rowBytes = c.fTightRowBytes ? 0 : 4 * DEV_W + 100; 311 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H, rowBytes); 316 // if rowBytes isn't tight then set the padding to a known value 317 if (rowBytes) { 345 size_t rowBytes = tightRowBytes ? 0 : 4 * w + 60; 346 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes); 354 uint32_t* pixel = reinterpret_cast<uint32_t*>(pixels + y * bitmap->rowBytes() + x * 4);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 301 size_t rowBytes, 305 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); 372 size_t rowBytes, 381 srcData, rowBytes, 384 texture= fGpu->createTexture(desc, srcData, rowBytes); 563 size_t rowBytes) { 565 return fGpu->createTexture(descCopy, srcData, rowBytes); [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 301 size_t rowBytes, 305 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); 372 size_t rowBytes, 381 srcData, rowBytes, 384 texture= fGpu->createTexture(desc, srcData, rowBytes); 563 size_t rowBytes) { 565 return fGpu->createTexture(descCopy, srcData, rowBytes); [all...] |
/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/WebKit/Source/platform/image-decoders/ |
ImageFrame.h | 98 const int rowBytes = (endX - startX) * sizeof(PixelData); 101 memcpy(getAddr(startX, destY), startAddr, 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/opts/ |
SkBitmapProcState_opts_arm.cpp | 39 xy[0] * s.fBitmap->rowBytes()); 129 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->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/opts/ |
SkBitmapProcState_opts_arm.cpp | 39 xy[0] * s.fBitmap->rowBytes()); 129 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
|
/external/skia/src/utils/ios/ |
SkImageDecoder_iOS.mm | 46 8, bm->rowBytes(), cs, BITMAP_INFO);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageFrameGenerator.h | 71 // into |pixels| with a stride of |rowBytes|. 74 bool decodeAndScale(const SkImageInfo&, size_t index, void* pixels, size_t rowBytes);
|
ImageFrameGenerator.cpp | 108 bool ImageFrameGenerator::decodeAndScale(const SkImageInfo& info, size_t index, void* pixels, size_t rowBytes) 135 bool copied = cachedImage->bitmap().copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes);
|
/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();
|
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/utils/ |
SkCanvasStateUtils.cpp | 63 size_t rowBytes; // Number of bytes from start of one line to next. 64 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 | 85 base::checked_numeric_cast<int>(bitmap.rowBytes()),
|
/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();
|
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/utils/ |
SkCanvasStateUtils.cpp | 63 size_t rowBytes; // Number of bytes from start of one line to next. 64 void* pixels; // The pixels, all (height * rowBytes) of them. 234 layerState->raster.rowBytes = bitmap.rowBytes(); 292 layerState.raster.rowBytes);
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 244 const GLsizei rowBytes = width * bytesPerPixel(); 245 uint8_t pixels[rowBytes * texture->height]; 286 memcpy(pixels + rowBytes, pixels, rowBytes);
|
/external/chromium/webkit/glue/media/ |
video_renderer_impl.cc | 180 bitmap_.rowBytes(), 241 local_dest_irect.fTop * bitmap.rowBytes() + 296 bitmap.rowBytes(),
|
/external/chromium_org/third_party/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 234 const UINT stride = (UINT) bm->rowBytes(); 325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); 419 const UINT stride = (UINT) bitmap->rowBytes();
|