/external/chromium_org/third_party/skia/include/utils/ |
H A D | SkPathUtils.h | 28 int w, int h, int rowBytes); 36 int w, int h, int rowBytes);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | ImageGeneratorTest.cpp | 18 size_t rowBytes[3] = { 0 }; local 25 ig.getYUV8Planes(sizes, NULL, rowBytes, NULL); 26 ig.getYUV8Planes(sizes, planes, rowBytes, NULL); 27 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); 31 rowBytes[0] = rowBytes[1] = rowBytes[2] = 250; 33 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
|
H A D | MallocPixelRefTest.cpp | 33 size_t rowBytes = info.minRowBytes() - 1; local 34 size_t size = info.getSafeSize(rowBytes); 37 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); 42 size_t rowBytes = info.minRowBytes() + 2; local 43 size_t size = info.getSafeSize(rowBytes) - 1; 46 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data)); 50 size_t rowBytes = info.minRowBytes() + 7; local 51 size_t size = info.getSafeSize(rowBytes) + 9; 55 SkMallocPixelRef::NewDirect(info, memory.get(), rowBytes, NULL)); 61 SkMallocPixelRef::NewAllocate(info, rowBytes, NUL [all...] |
/external/skia/include/utils/ |
H A D | SkPathUtils.h | 28 int w, int h, int rowBytes); 36 int w, int h, int rowBytes);
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkTextureCompression_opts_neon.h | 12 int width, int height, int rowBytes);
|
H A D | SkBlitRect_opts_SSE2.h | 18 size_t rowBytes, uint32_t color);
|
H A D | SkBlitRect_opts_SSE2.cpp | 18 size_t rowBytes, uint32_t color) { 40 destination = (uint32_t*)((char*)destination + rowBytes); 52 size_t rowBytes, uint32_t color) { 109 destination = (uint32_t*)((char*)destination + rowBytes); 115 size_t rowBytes, uint32_t color) { 124 rowBytes, color); 127 rowBytes, color); 130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color); 16 BlitRect32_OpaqueNarrow_SSE2(SkPMColor* SK_RESTRICT destination, int width, int height, size_t rowBytes, uint32_t color) argument 50 BlitRect32_OpaqueWide_SSE2(SkPMColor* SK_RESTRICT destination, int width, int height, size_t rowBytes, uint32_t color) argument 113 ColorRect32_SSE2(SkPMColor* destination, int width, int height, size_t rowBytes, uint32_t color) argument
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkImageGenerator.cpp | 19 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, argument 27 if (rowBytes < info.minRowBytes()) { 43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount); 51 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument 56 return this->getPixels(info, pixels, rowBytes, NULL, NULL); 60 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument 66 bool isValidWithPlanes = (planes) && (rowBytes) && 68 (0 != rowBytes[0]) && (0 != rowBytes[1]) && (0 != rowBytes[ 96 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]) argument 100 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace) argument [all...] |
H A D | SkBitmap_scroll.cpp | 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed local 70 src -= dy * rowBytes; 73 dst += dy * rowBytes; 76 src += (height - 1) * rowBytes; 77 dst += (height - 1) * rowBytes; 79 rowBytes = -rowBytes; 99 dst += rowBytes; [all...] |
H A D | SkMallocPixelRef.cpp | 42 size_t rowBytes, 48 (info, addr, rowBytes, ctable, NULL, NULL)); 67 int32_t rowBytes; local 69 rowBytes = SkToS32(requestedRowBytes); 71 rowBytes = minRB; 74 int64_t bigSize = (int64_t)info.height() * rowBytes; 80 SkASSERT(size >= info.getSafeSize(rowBytes)); 87 (info, addr, rowBytes, ctable, 92 size_t rowBytes, 101 (info, addr, rowBytes, ctabl 40 NewDirect(const SkImageInfo& info, void* addr, size_t rowBytes, SkColorTable* ctable) argument 91 NewWithProc(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable, void* addr, SkMallocPixelRef::ReleaseProc proc, void* context) argument 108 NewWithData(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable, SkData* data) argument 134 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, bool ownsPixels) argument 156 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, SkMallocPixelRef::ReleaseProc proc, void* context) argument 204 create(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument [all...] |
H A D | SkDistanceFieldGen.h | 34 * @param rowBytes Size of each row in the image, in bytes 38 int w, int h, int rowBytes); 47 * @param rowBytes Size of each row in the image, in bytes 51 int w, int h, int rowBytes);
|
/external/skia/src/core/ |
H A D | SkBitmap_scroll.cpp | 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed local 70 src -= dy * rowBytes; 73 dst += dy * rowBytes; 76 src += (height - 1) * rowBytes; 77 dst += (height - 1) * rowBytes; 79 rowBytes = -rowBytes; 99 dst += rowBytes; [all...] |
H A D | SkDistanceFieldGen.h | 34 * @param rowBytes Size of each row in the image, in bytes 38 int w, int h, int rowBytes); 47 * @param rowBytes Size of each row in the image, in bytes 51 int w, int h, int rowBytes);
|
H A D | SkMallocPixelRef.cpp | 43 size_t rowBytes, 49 (info, addr, rowBytes, ctable, NULL, NULL)); 68 int32_t rowBytes; local 70 rowBytes = SkToS32(requestedRowBytes); 72 rowBytes = minRB; 75 int64_t bigSize = (int64_t)info.fHeight * rowBytes; 81 SkASSERT(size >= info.getSafeSize(rowBytes)); 88 (info, addr, rowBytes, ctable, 93 size_t rowBytes, 102 (info, addr, rowBytes, ctabl 41 NewDirect(const SkImageInfo& info, void* addr, size_t rowBytes, SkColorTable* ctable) argument 92 NewWithProc(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable, void* addr, SkMallocPixelRef::ReleaseProc proc, void* context) argument 109 NewWithData(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable, SkData* data) argument 135 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, bool ownsPixels) argument 157 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, SkMallocPixelRef::ReleaseProc proc, void* context) argument [all...] |
H A D | SkImageGenerator.cpp | 19 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, argument 27 if (rowBytes < info.minRowBytes()) { 43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount); 51 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument 56 return this->getPixels(info, pixels, rowBytes, NULL, NULL);
|
/external/skia/src/opts/ |
H A D | SkBlitRect_opts_SSE2.h | 18 size_t rowBytes, uint32_t color);
|
H A D | SkBlitRect_opts_SSE2.cpp | 18 size_t rowBytes, uint32_t color) { 40 destination = (uint32_t*)((char*)destination + rowBytes); 52 size_t rowBytes, uint32_t color) { 109 destination = (uint32_t*)((char*)destination + rowBytes); 115 size_t rowBytes, uint32_t color) { 124 rowBytes, color); 127 rowBytes, color); 130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color); 16 BlitRect32_OpaqueNarrow_SSE2(SkPMColor* SK_RESTRICT destination, int width, int height, size_t rowBytes, uint32_t color) argument 50 BlitRect32_OpaqueWide_SSE2(SkPMColor* SK_RESTRICT destination, int width, int height, size_t rowBytes, uint32_t color) argument 113 ColorRect32_SSE2(SkPMColor* destination, int width, int height, size_t rowBytes, uint32_t color) argument
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageGenerator.h | 54 virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument 55 return this->onGetPixels(info, pixels, rowBytes, NULL, NULL); 80 * least (info.fHeight - 1) * rowBytes + (info.fWidth * 104 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 110 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 114 * If planes or rowBytes is NULL or if any entry in planes is NULL or if any entry in rowBytes 117 * rowBytes are both fully defined and non NULL/non 0 or they are both NULL or have NULL or 0 118 * entries only. Having only partial planes/rowBytes information is not supported. 120 * If all planes and rowBytes entrie [all...] |
H A D | SkMallocPixelRef.h | 21 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes, 31 size_t rowBytes, SkColorTable*); 35 * pixels. If rowBytes are 0, an optimal value will be chosen automatically. 36 * If rowBytes is > 0, then it will be respected, or NULL will be returned 37 * if rowBytes is invalid for the specified info. 44 size_t rowBytes, SkColorTable*); 48 * rowBytes, and optional colortable. On destruction, ReleaseProc 57 size_t rowBytes, SkColorTable*, 63 * SkData, rowBytes, and optional colortable as pixel storage. 72 size_t rowBytes, [all...] |
/external/chromium_org/third_party/skia/src/image/ |
H A D | SkImagePriv.cpp | 20 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); 24 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
|
H A D | SkImage_Raster.cpp | 17 static bool ValidArgs(const Info& info, size_t rowBytes) { argument 40 if (rowBytes < SkImageMinRowBytes(info)) { 44 int64_t size = (int64_t)info.height() * rowBytes; 60 virtual const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const SK_OVERRIDE; 64 SkImage_Raster(const SkImageInfo&, SkPixelRef*, size_t rowBytes); 103 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) argument 110 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data); 115 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes) argument 118 fBitmap.setInfo(info, rowBytes); 157 *rowBytesPtr = fBitmap.rowBytes(); 168 NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) argument 186 NewRasterData(const SkImageInfo& info, SkData* data, size_t rowBytes) argument 215 SkNewImageFromPixelRef(const SkImageInfo& info, SkPixelRef* pr, size_t rowBytes) argument [all...] |
/external/skia/tests/ |
H A D | MallocPixelRefTest.cpp | 33 size_t rowBytes = info.minRowBytes() - 1; local 34 size_t size = info.getSafeSize(rowBytes); 38 SkMallocPixelRef::NewWithData(info, rowBytes, 44 size_t rowBytes = info.minRowBytes() + 2; local 45 size_t size = info.getSafeSize(rowBytes) - 1; 49 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, 54 size_t rowBytes = info.minRowBytes() + 7; local 55 size_t size = info.getSafeSize(rowBytes) + 9; 59 SkMallocPixelRef::NewDirect(info, memory.get(), rowBytes, NULL)); 65 SkMallocPixelRef::NewAllocate(info, rowBytes, NUL [all...] |
/external/skia/include/core/ |
H A D | SkImageGenerator.h | 60 virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument 61 return this->onGetPixels(info, pixels, rowBytes, NULL, NULL); 86 * least (info.fHeight - 1) * rowBytes + (info.fWidth * 110 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 116 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 123 void* pixels, size_t rowBytes,
|
H A D | SkMallocPixelRef.h | 21 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes, 31 size_t rowBytes, SkColorTable*); 35 * pixels. If rowBytes are 0, an optimal value will be chosen automatically. 36 * If rowBytes is > 0, then it will be respected, or NULL will be returned 37 * if rowBytes is invalid for the specified info. 44 size_t rowBytes, SkColorTable*); 48 * rowBytes, and optional colortable. On destruction, ReleaseProc 57 size_t rowBytes, SkColorTable*, 63 * SkData, rowBytes, and optional colortable as pixel storage. 72 size_t rowBytes, 98 size_t rowBytes() const { return fRB; } function in class:SkMallocPixelRef [all...] |
/external/skia/src/image/ |
H A D | SkImage_Raster.cpp | 17 static bool ValidArgs(const Info& info, size_t rowBytes) { argument 40 if (rowBytes < SkImageMinRowBytes(info)) { 44 int64_t size = (int64_t)info.fHeight * rowBytes; 59 virtual const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const SK_OVERRIDE; 63 SkImage_Raster(const SkImageInfo&, SkPixelRef*, size_t rowBytes); 92 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) argument 99 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data); 104 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes) argument 107 fBitmap.setInfo(info, rowBytes); 142 *rowBytesPtr = fBitmap.rowBytes(); 153 NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) argument 171 NewRasterData(const SkImageInfo& info, SkData* data, size_t rowBytes) argument 192 SkNewImageFromPixelRef(const SkImageInfo& info, SkPixelRef* pr, size_t rowBytes) argument [all...] |