/external/skia/debugger/QT/ |
SkRasterWidget.cpp | 52 size_t rowBytes; 53 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { 57 rowBytes,
|
SkDrawCommandGeometryWidget.cpp | 45 size_t rowBytes; 46 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { 64 rowBytes,
|
/external/skia/gm/ |
peekpixels.cpp | 47 size_t rowBytes; 48 const void* addr = surfCanvas->peekPixels(&info, &rowBytes); 49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) {
|
/external/skia/src/core/ |
SkBitmap_scroll.cpp | 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed 70 src -= dy * rowBytes; 73 dst += dy * rowBytes; 76 src += (height - 1) * rowBytes; 77 dst += (height - 1) * rowBytes; 78 // now invert rowbytes so we copy backwards in the loop 79 rowBytes = -rowBytes; [all...] |
SkMallocPixelRef.cpp | 42 size_t rowBytes, 48 (info, addr, rowBytes, ctable, NULL, NULL)); 59 // only want to permit 31bits of rowBytes 65 return NULL; // cannot meet requested rowbytes 68 int32_t rowBytes; 70 rowBytes = SkToS32(requestedRowBytes); 72 rowBytes = minRB; 75 int64_t bigSize = (int64_t)info.height() * rowBytes; 81 SkASSERT(size >= info.getSafeSize(rowBytes)); 88 (info, addr, rowBytes, ctable [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(); 349 device += fDevice.rowBytes(); 396 const size_t dstRB = fDevice.rowBytes(); 405 const size_t dstRB = fDevice.rowBytes(); [all...] |
SkBlitter_ARGB32.cpp | 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 121 device = (uint32_t*)((char*)device + fDevice.rowBytes()); 212 device = (uint32_t*)((char*)device + fDevice.rowBytes()); 231 size_t rowBytes = fDevice.rowBytes(); 234 device = (uint32_t*)((char*)device + rowBytes); 247 size_t rowBytes = fDevice.rowBytes(); 251 device = (uint32_t*)((char*)device + rowBytes); 305 device = (uint32_t*)((char*)device + fDevice.rowBytes()); [all...] |
SkGlyph.h | 63 * Compute the rowbytes for the specified width and mask-format. 79 unsigned rowBytes() const {
|
SkMipMap.cpp | 23 p += srcBM.rowBytes() >> 2; 51 p += srcBM.rowBytes() >> 2; 90 p += srcBM.rowBytes() >> 1; 127 p += srcBM.rowBytes() >> 1; 139 const size_t rb = srcBM.rowBytes(); 160 p += srcBM.rowBytes(); 262 uint32_t rowBytes; 268 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width)); 273 levels[i].fRowBytes = rowBytes; 277 dstBM.installPixels(SkImageInfo::Make(width, height, ct, at), addr, rowBytes); [all...] |
/external/skia/tests/ |
ImageGeneratorTest.cpp | 23 size_t rowBytes[3] = { 0 }; 30 ig.getYUV8Planes(sizes, NULL, rowBytes, NULL); 31 ig.getYUV8Planes(sizes, planes, rowBytes, NULL); 32 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); 36 rowBytes[0] = rowBytes[1] = rowBytes[2] = 250; 38 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
|
MallocPixelRefTest.cpp | 29 // rowbytes too small. 33 size_t rowBytes = info.minRowBytes() - 1; 34 size_t size = info.getSafeSize(rowBytes); 37 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); 38 // rowbytes too small. 42 size_t rowBytes = info.minRowBytes() + 2; 43 size_t size = info.getSafeSize(rowBytes) - 1; 46 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); 50 size_t rowBytes = info.minRowBytes() + 7; 51 size_t size = info.getSafeSize(rowBytes) + 9 [all...] |
JpegTest.cpp | 482 size_t sizes[3], rowBytes[3]; 485 rowBytes[i] = yuvSizes[i].fWidth; 486 totalSize += sizes[i] = rowBytes[i] * yuvSizes[i].fHeight; 487 REPORTER_ASSERT(reporter, rowBytes[i] == (size_t)expected_sizes[i]); 498 REPORTER_ASSERT(reporter, pixelRef->getYUV8Planes(yuvSizes, planes, rowBytes, NULL));
|
CodexTest.cpp | 55 codec->getPixels(info, bm.getPixels(), bm.rowBytes(), NULL, NULL, NULL); 64 codec->getPixels(info, bm.getPixels(), bm.rowBytes(), NULL, NULL, NULL); 179 size_t rowBytes = scaledDims.width() * sizeof(SkPMColor); 180 size_t totalBytes = scaledInfo.getSafeSize(rowBytes); 184 codec->getPixels(scaledInfo, pixels.get(), rowBytes, NULL, NULL, NULL);
|
/external/skia/bench/ |
DecodingBench.cpp | 71 const size_t rowBytes = bm.info().minRowBytes(); 72 fPixelStorage.reset(bm.info().getSafeSize(rowBytes)); 86 fPixelStorage, bm->rowBytes(), ct))->unref();
|
/external/skia/example/ |
HelloWorld.cpp | 161 size_t rowBytes; 163 const void* pixels = snap->peekPixels(&info, &rowBytes); 169 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); 90 SkASSERT(rowBytes >= 0); 93 rowBytes);
|
SkDrawBitmap.h | 46 int32_t rowBytes;
|
/external/skia/include/core/ |
SkPixelRef.h | 71 size_t rowBytes() const { return fRec.fRowBytes; } 201 * If any planes or rowBytes is NULL, this should output the sizes and return true 204 * If all planes and rowBytes are not NULL, then it should copy the associated Y,U,V data 211 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 213 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); 289 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 310 void setPreLocked(void*, size_t rowBytes, SkColorTable*); 362 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
|
/external/skia/src/codec/ |
SkSwizzler.cpp | 31 const size_t rowBytes = compute_row_bytes_ppb(width, pixelsPerByte); 34 for (uint32_t byte = 0; byte < rowBytes; byte++) { 54 const size_t rowBytes = compute_row_bytes_ppb(width, pixelsPerByte); 57 for (uint32_t byte = 0; byte < rowBytes; byte++) { 416 size_t rowBytes) 422 , fDstRowBytes(rowBytes)
|
/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/gpu/ |
GrAtlas.cpp | 121 size_t rowBytes = fBytesPerPixel*fRects->width(); 123 dataPtr += rowBytes*fDirtyRect.fTop; 127 rowBytes, GrContext::kDontFlush_PixelOpsFlag);
|
GrBatchAtlas.cpp | 49 bool addSubImage(int width, int height, const void* image, SkIPoint16* loc, size_t rowBytes) { 65 memcpy(dataPtr, imagePtr, rowBytes); 67 imagePtr += rowBytes; 97 size_t rowBytes = fBytesPerPixel * fRects->width(); 99 dataPtr += rowBytes * fDirtyRect.fTop; 104 fTexture->config(), dataPtr, rowBytes);
|
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 211 size_t rowBytes = bm->rowBytes(); 222 addr += rowBytes;
|
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 68 uint64_t rowBytes; // Number of bytes from start of one line to next. 69 void* pixels; // The pixels, all (height * rowBytes) of them. 250 layerState->raster.rowBytes = bitmap.rowBytes(); 309 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 236 const GLsizei rowBytes = width * bytesPerPixel(); 237 uint8_t pixels[rowBytes * texture->height]; 278 memcpy(pixels + rowBytes, pixels, rowBytes);
|