Searched defs:rowBytes (Results 1 - 25 of 130) sorted by relevance

123456

/external/chromium_org/third_party/skia/tests/
H A DImageGeneratorTest.cpp18 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 DMallocPixelRefTest.cpp33 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 DRecordReplaceDrawTest.cpp74 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 DSkImageGenerator.h54 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 DSkImageGenerator.h60 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 DSkMallocPixelRef.h21 * 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 Dpeekpixels.cpp47 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 DSkBitmap_scroll.cpp67 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 DSkImageGenerator.cpp19 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 DSkBlitRow_D32.cpp194 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 DSkCachingPixelRef.cpp23 (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 DSkDiscardablePixelRef.cpp14 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 DSkBlitRect_opts_SSE2.cpp18 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 Dpeekpixels.cpp47 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 DSkBitmap_scroll.cpp67 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 DSkImageGenerator.cpp19 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 DSkCachingPixelRef.cpp22 (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 DSkDiscardablePixelRef.cpp14 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 DSkBlitRect_opts_SSE2.cpp18 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 DMallocPixelRefTest.cpp33 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 Dsoftware_output_device_x11.cc66 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 DDecodingImageGenerator.cpp70 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 DSkDrawBitmap.h46 int32_t rowBytes; member in class:SkDrawBitmap
/external/chromium_org/third_party/skia/src/gpu/
H A DGrRenderTarget.cpp19 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 DSkDrawBitmap.h46 int32_t rowBytes; member in class:SkDrawBitmap

Completed in 3682 milliseconds

123456