/external/chromium_org/third_party/skia/include/utils/ |
SkPathUtils.h | 28 int w, int h, int rowBytes); 36 int w, int h, int rowBytes);
|
/external/skia/include/utils/ |
SkPathUtils.h | 28 int w, int h, int rowBytes); 36 int w, int h, int rowBytes);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmap_scroll.cpp | 85 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed 88 src -= dy * rowBytes; 91 dst += dy * rowBytes; 94 src += (height - 1) * rowBytes; 95 dst += (height - 1) * rowBytes; 96 // now invert rowbytes so we copy backwards in the loop 97 rowBytes = -rowBytes; [all...] |
SkMallocPixelRef.cpp | 37 size_t rowBytes, 42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false)); 57 return NULL; // cannot meet requested rowbytes 60 int32_t rowBytes; 62 rowBytes = requestedRowBytes; 64 rowBytes = minRB; 68 bigSize.setMul(info.fHeight, rowBytes); 79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true)); 85 size_t rowBytes, SkColorTable* ctable, 91 SkASSERT(rowBytes >= info.minRowBytes()) [all...] |
/external/skia/src/core/ |
SkBitmap_scroll.cpp | 85 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed 88 src -= dy * rowBytes; 91 dst += dy * rowBytes; 94 src += (height - 1) * rowBytes; 95 dst += (height - 1) * rowBytes; 96 // now invert rowbytes so we copy backwards in the loop 97 rowBytes = -rowBytes; [all...] |
SkMallocPixelRef.cpp | 37 size_t rowBytes, 42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false)); 57 return NULL; // cannot meet requested rowbytes 60 int32_t rowBytes; 62 rowBytes = requestedRowBytes; 64 rowBytes = minRB; 68 bigSize.setMul(info.fHeight, rowBytes); 79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true)); 85 size_t rowBytes, SkColorTable* ctable, 91 SkASSERT(rowBytes >= info.minRowBytes()) [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRect_opts_SSE2.h | 20 size_t rowBytes, uint32_t color);
|
SkBlitRect_opts_SSE2.cpp | 19 size_t rowBytes, uint32_t color) { 41 destination = (uint32_t*)((char*)destination + rowBytes); 53 size_t rowBytes, uint32_t color) { 110 destination = (uint32_t*)((char*)destination + rowBytes); 116 size_t rowBytes, uint32_t color) { 125 rowBytes, color); 128 rowBytes, color); 131 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
|
/external/skia/src/opts/ |
SkBlitRect_opts_SSE2.h | 20 size_t rowBytes, uint32_t color);
|
SkBlitRect_opts_SSE2.cpp | 19 size_t rowBytes, uint32_t color) { 41 destination = (uint32_t*)((char*)destination + rowBytes); 53 size_t rowBytes, uint32_t color) { 110 destination = (uint32_t*)((char*)destination + rowBytes); 116 size_t rowBytes, uint32_t color) { 125 rowBytes, color); 128 rowBytes, color); 131 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
|
/external/chromium_org/third_party/skia/src/image/ |
SkImage_Raster.cpp | 17 static bool ValidArgs(const Info& info, size_t rowBytes) { 40 if (rowBytes < SkImageMinRowBytes(info)) { 44 int64_t size = (int64_t)info.fHeight * rowBytes; 61 SkImage_Raster(const SkImageInfo&, SkPixelRef*, size_t rowBytes); 85 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) 87 fBitmap.setConfig(info, rowBytes); 92 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes) 96 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes, info.fAlphaType); 117 SkImage* SkImage::NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) { 118 if (!SkImage_Raster::ValidArgs(info, rowBytes)) { [all...] |
SkSurface_Raster.cpp | 39 bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) { 61 if (kIgnoreRowBytesValue == rowBytes) { 66 if (minRB > rowBytes) { 70 size_t alignedRowBytes = rowBytes >> shift << shift; 71 if (alignedRowBytes != rowBytes) { 75 uint64_t size = (uint64_t)info.fHeight * rowBytes; 142 SkSurface* SkSurface::NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) { 143 if (!SkSurface_Raster::Valid(info, rowBytes)) { 150 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes));
|
/external/skia/src/image/ |
SkImage_Raster.cpp | 17 static bool ValidArgs(const Info& info, size_t rowBytes) { 40 if (rowBytes < SkImageMinRowBytes(info)) { 44 int64_t size = (int64_t)info.fHeight * rowBytes; 61 SkImage_Raster(const SkImageInfo&, SkPixelRef*, size_t rowBytes); 85 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) 87 fBitmap.setConfig(info, rowBytes); 92 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes) 96 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes, info.fAlphaType); 117 SkImage* SkImage::NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) { 118 if (!SkImage_Raster::ValidArgs(info, rowBytes)) { [all...] |
SkSurface_Raster.cpp | 39 bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) { 61 if (kIgnoreRowBytesValue == rowBytes) { 66 if (minRB > rowBytes) { 70 size_t alignedRowBytes = rowBytes >> shift << shift; 71 if (alignedRowBytes != rowBytes) { 75 uint64_t size = (uint64_t)info.fHeight * rowBytes; 142 SkSurface* SkSurface::NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) { 143 if (!SkSurface_Raster::Valid(info, rowBytes)) { 150 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes));
|
/external/skia/include/core/ |
SkMallocPixelRef.h | 21 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes, 31 size_t rowBytes, SkColorTable*); 37 * If rowBytes is 0, an optimal value will be chosen automatically. 38 * If rowBytes is > 0, then it will be used, unless it is invald for the 46 size_t rowBytes, SkColorTable*); 63 size_t rowBytes() const { return fRB; }
|
SkImageGenerator.h | 77 * least (info.fHeight - 1) * rowBytes + (info.fWidth * 96 size_t rowBytes) = 0;
|
/external/skia/tests/ |
PathUtilsTest.cpp | 62 int w, int h, int rowBytes){ 69 const char* curLine = &bin_bmp[y * rowBytes]; 113 const char* bin_bmp, int w, int h, int rowBytes){ 116 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes); 123 const char* bin_bmp, int w, int h, int rowBytes){ 126 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes); 134 const int h = 8, rowBytes = 4; 136 char bits[ h * rowBytes ]; 143 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap 149 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes); [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkMallocPixelRef.h | 21 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes, 31 size_t rowBytes, SkColorTable*); 37 * If rowBytes is 0, an optimal value will be chosen automatically. 38 * If rowBytes is > 0, then it will be used, unless it is invald for the 46 size_t rowBytes, SkColorTable*);
|
SkImageGenerator.h | 77 * least (info.fHeight - 1) * rowBytes + (info.fWidth * 96 size_t rowBytes) = 0;
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrFontScaler.h | 31 int rowBytes, void* image) = 0;
|
/external/skia/include/gpu/ |
GrFontScaler.h | 31 int rowBytes, void* image) = 0;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
DecodingImageGenerator.h | 53 virtual bool getPixels(const SkImageInfo&, void* pixels, size_t rowBytes);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrRenderTarget.cpp | 19 size_t rowBytes, 28 config, buffer, rowBytes, 35 size_t rowBytes, 44 config, buffer, rowBytes,
|
/external/chromium_org/third_party/skia/src/lazy/ |
SkCachingPixelRef.h | 63 SkCachingPixelRef(const SkImageInfo&, SkImageGenerator*, size_t rowBytes);
|
/external/skia/src/gpu/ |
GrRenderTarget.cpp | 19 size_t rowBytes, 28 config, buffer, rowBytes, 35 size_t rowBytes, 44 config, buffer, rowBytes,
|