Searched defs:rowBytes (Results 76 - 78 of 78) sorted by relevance
1234
/external/skia/samplecode/ |
H A D | SampleApp.cpp | 298 bm.rowBytes(), 1249 size_t rowBytes; local 1250 void* addr = orig->accessTopLayerPixels(&info, &rowBytes); 1261 p += y * n.height() * rowBytes; 1263 surfs[index] = SkSurface::NewRasterDirect(n, p, rowBytes);
|
/external/skia/src/core/ |
H A D | SkCanvas.cpp | 717 if (bm.getPixels() && this->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), x, y)) { 739 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), r.x(), r.y())) { 746 bool SkCanvas::readPixels(const SkImageInfo& dstInfo, void* dstP, size_t rowBytes, int x, int y) { argument 753 SkReadPixelsRec rec(dstInfo, dstP, rowBytes, x, y); 769 return this->writePixels(bm.info(), bm.getPixels(), bm.rowBytes(), x, y); 774 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, argument 783 if (NULL == pixels || rowBytes < origInfo.minRowBytes()) { 809 pixels = ((const char*)pixels - y * rowBytes - x * info.bytesPerPixel()); 815 return device->writePixels(info, pixels, rowBytes, target.x(), target.y()); 1132 const void* SkCanvas::peekPixels(SkImageInfo* info, size_t* rowBytes) { argument 1136 onPeekPixels(SkImageInfo* info, size_t* rowBytes) argument 1141 accessTopLayerPixels(SkImageInfo* info, size_t* rowBytes, SkIPoint* origin) argument 1149 onAccessTopLayerPixels(SkImageInfo* info, size_t* rowBytes) argument 2660 NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) argument [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_mac.cpp | 159 int width, int height, size_t rowBytes) { 161 SkASSERT(width * sizeof(uint32_t) <= rowBytes); 166 ptr = (uint32_t*)((char*)ptr + rowBytes); 172 rowBytes -= width * sizeof(uint32_t); 187 ptr = (uint32_t*)((char*)ptr + rowBytes); 196 ptr = (uint32_t*)((char*)ptr + rowBytes); 809 size_t rowBytes = fSize.fWidth * sizeof(CGRGBPixel); local 818 rowBytes = fSize.fWidth * sizeof(CGRGBPixel); 819 void* image = fImageStorage.reset(rowBytes * fSize.fHeight); 825 rowBytes, fRGBSpac 158 sk_memset_rect32(uint32_t* ptr, uint32_t value, int width, int height, size_t rowBytes) argument [all...] |
Completed in 118 milliseconds
1234