/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...] |
H A D | RecordReplaceDrawTest.cpp | 74 const size_t rowBytes = info.minRowBytes(); local 75 const size_t size = rowBytes * info.height(); 80 return SkImage::NewRasterCopy(info, addr.get(), rowBytes);
|
/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...] |
/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/chromium_org/third_party/skia/gm/ |
H A D | peekpixels.cpp | 47 size_t rowBytes; variable 48 const void* addr = surfCanvas->peekPixels(&info, &rowBytes); 49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) {
|
/external/chromium_org/third_party/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 | 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 | SkBlitRow_D32.cpp | 194 size_t rowBytes, SkPMColor color) { 210 dst = (SkPMColor*) ((char*)dst + rowBytes); 217 dst = (SkPMColor*) ((char*)dst + rowBytes); 223 dst = (SkPMColor*) ((char*)dst + rowBytes); 229 dst = (SkPMColor*) ((char*)dst + rowBytes); 235 dst = (SkPMColor*) ((char*)dst + rowBytes); 193 ColorRect32(SkPMColor* dst, int width, int height, size_t rowBytes, SkPMColor color) argument
|
/external/chromium_org/third_party/skia/src/lazy/ |
H A D | SkCachingPixelRef.cpp | 23 (info, generator, dst->rowBytes()))); 30 size_t rowBytes) 34 , fRowBytes(rowBytes) { 71 rec->fRowBytes = fLockedBitmap.rowBytes(); 28 SkCachingPixelRef(const SkImageInfo& info, SkImageGenerator* generator, size_t rowBytes) argument
|
H A D | SkDiscardablePixelRef.cpp | 14 size_t rowBytes, 19 , fRowBytes(rowBytes) 117 (info, autoGenerator.detach(), dst->rowBytes(), factory))); 12 SkDiscardablePixelRef(const SkImageInfo& info, SkImageGenerator* generator, size_t rowBytes, SkDiscardableMemory::Factory* fact) argument
|
/external/chromium_org/third_party/skia/src/opts/ |
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/skia/gm/ |
H A D | peekpixels.cpp | 47 size_t rowBytes; variable 48 const void* addr = surfCanvas->peekPixels(&info, &rowBytes); 49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), 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 | 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/lazy/ |
H A D | SkCachingPixelRef.cpp | 22 (info, generator, dst->rowBytes()))); 29 size_t rowBytes) 34 , fRowBytes(rowBytes) { 89 rec->fRowBytes = bitmap.rowBytes(); 27 SkCachingPixelRef(const SkImageInfo& info, SkImageGenerator* generator, size_t rowBytes) argument
|
H A D | SkDiscardablePixelRef.cpp | 14 size_t rowBytes, 19 , fRowBytes(rowBytes) 114 (info, autoGenerator.detach(), dst->rowBytes(), factory))); 12 SkDiscardablePixelRef(const SkImageInfo& info, SkImageGenerator* generator, size_t rowBytes, SkDiscardableMemory::Factory* fact) argument
|
/external/skia/src/opts/ |
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/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/chromium_org/content/browser/compositor/ |
H A D | software_output_device_x11.cc | 66 size_t rowBytes; local 67 const void* addr = canvas_->peekPixels(&info, &rowBytes); 76 image.bytes_per_line = rowBytes; 120 size_t rowBytes; local 121 const void* addr = canvas_->peekPixels(&info, &rowBytes);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | DecodingImageGenerator.cpp | 70 bool DecodingImageGenerator::onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount) argument 82 bool decoded = m_frameGenerator->decodeAndScale(m_imageInfo, m_frameIndex, pixels, rowBytes); 87 bool DecodingImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace) argument 97 bool decoded = m_frameGenerator->decodeToYUV(sizes, planes, rowBytes);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawBitmap.h | 46 int32_t rowBytes; member in class:SkDrawBitmap
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrRenderTarget.cpp | 19 size_t rowBytes, 28 config, buffer, rowBytes, 35 size_t rowBytes, 44 config, buffer, rowBytes, 16 readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument 32 writePixels(int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument
|
/external/skia/src/animator/ |
H A D | SkDrawBitmap.h | 46 int32_t rowBytes; member in class:SkDrawBitmap
|