HomeSort by relevance Sort by last modified time
    Searched defs:rowBytes (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/tests/
ImageGeneratorTest.cpp 18 size_t rowBytes[3] = { 0 };
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);
MallocPixelRefTest.cpp 29 // rowbytes too small.
33 size_t rowBytes = info.minRowBytes() - 1;
34 size_t size = info.getSafeSize(rowBytes);
37 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data));
38 // rowbytes too small.
42 size_t rowBytes = info.minRowBytes() + 2;
43 size_t size = info.getSafeSize(rowBytes) - 1;
46 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data));
50 size_t rowBytes = info.minRowBytes() + 7;
51 size_t size = info.getSafeSize(rowBytes) + 9
    [all...]
RecordReplaceDrawTest.cpp 74 const size_t rowBytes = info.minRowBytes();
75 const size_t size = rowBytes * info.height();
80 return SkImage::NewRasterCopy(info, addr.get(), rowBytes);
PathUtilsTest.cpp 61 int w, int h, int rowBytes){
67 const char* curLine = &bin_bmp[y * rowBytes];
110 const char* bin_bmp, int w, int h, int rowBytes){
113 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes);
120 const char* bin_bmp, int w, int h, int rowBytes){
123 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes);
131 const int h = 8, rowBytes = 4;
133 char bits[ h * rowBytes ];
140 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap
146 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes);
    [all...]
  /external/chromium_org/third_party/skia/gm/
peekpixels.cpp 47 size_t rowBytes;
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/
SkBitmap_scroll.cpp 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed
70 src -= dy * rowBytes;
73 dst += dy * rowBytes;
76 src += (height - 1) * rowBytes;
77 dst += (height - 1) * rowBytes;
78 // now invert rowbytes so we copy backwards in the loop
79 rowBytes = -rowBytes;
    [all...]
SkMallocPixelRef.cpp 42 size_t rowBytes,
48 (info, addr, rowBytes, ctable, NULL, NULL));
64 return NULL; // cannot meet requested rowbytes
67 int32_t rowBytes;
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,
    [all...]
SkMipMap.cpp 28 p += src.rowBytes() >> 2;
66 p += src.rowBytes() >> 1;
101 p += src.rowBytes() >> 1;
177 uint32_t rowBytes;
183 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width));
188 levels[i].fRowBytes = rowBytes;
192 dstBM.installPixels(SkImageInfo::Make(width, height, ct, at), addr, rowBytes);
203 addr += height * rowBytes;
  /external/skia/gm/
peekpixels.cpp 47 size_t rowBytes;
48 const void* addr = surfCanvas->peekPixels(&info, &rowBytes);
49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) {
gammatext.cpp 42 size_t rowBytes) {
48 8, rowBytes, space, BITMAP_INFO_RGB);
149 size_t rowBytes;
150 const void* addr = canvas->peekPixels(&info, &rowBytes);
152 cg = makeCG(info, addr, rowBytes);
  /external/skia/src/core/
SkBitmap_scroll.cpp 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed
70 src -= dy * rowBytes;
73 dst += dy * rowBytes;
76 src += (height - 1) * rowBytes;
77 dst += (height - 1) * rowBytes;
78 // now invert rowbytes so we copy backwards in the loop
79 rowBytes = -rowBytes;
    [all...]
SkMallocPixelRef.cpp 43 size_t rowBytes,
49 (info, addr, rowBytes, ctable, NULL, NULL));
65 return NULL; // cannot meet requested rowbytes
68 int32_t rowBytes;
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,
    [all...]
  /external/skia/tests/
MallocPixelRefTest.cpp 29 // rowbytes too small.
33 size_t rowBytes = info.minRowBytes() - 1;
34 size_t size = info.getSafeSize(rowBytes);
38 SkMallocPixelRef::NewWithData(info, rowBytes,
40 // rowbytes too small.
44 size_t rowBytes = info.minRowBytes() + 2;
45 size_t size = info.getSafeSize(rowBytes) - 1;
49 SkMallocPixelRef::NewWithData(info, rowBytes, NULL,
54 size_t rowBytes = info.minRowBytes() + 7;
55 size_t size = info.getSafeSize(rowBytes) + 9
    [all...]
PathUtilsTest.cpp 61 int w, int h, int rowBytes){
67 const char* curLine = &bin_bmp[y * rowBytes];
110 const char* bin_bmp, int w, int h, int rowBytes){
113 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes);
120 const char* bin_bmp, int w, int h, int rowBytes){
123 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes);
131 const int h = 8, rowBytes = 4;
133 char bits[ h * rowBytes ];
140 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap
146 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes);
    [all...]
  /external/chromium_org/content/browser/compositor/
software_output_device_x11.cc 66 size_t rowBytes;
67 const void* addr = canvas_->peekPixels(&info, &rowBytes);
76 image.bytes_per_line = rowBytes;
120 size_t rowBytes;
121 const void* addr = canvas_->peekPixels(&info, &rowBytes);
  /external/skia/include/core/
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/animator/
SkDrawBitmap.h 46 int32_t rowBytes;
SkDrawBitmap.cpp 51 SK_MEMBER(rowBytes, Int),
60 rowBytes(0), width(-1), fColor(0), fColorSet(false) {
73 if (rowBytes > 0)
74 SkDebugf("rowBytes=\"%d\" ", rowBytes);
90 SkASSERT(rowBytes >= 0);
93 rowBytes);
  /external/skia/src/animator/
SkDrawBitmap.h 46 int32_t rowBytes;
SkDrawBitmap.cpp 51 SK_MEMBER(rowBytes, Int),
60 rowBytes(0), width(-1), fColor(0), fColorSet(false) {
73 if (rowBytes > 0)
74 SkDebugf("rowBytes=\"%d\" ", rowBytes);
90 SkASSERT(rowBytes >= 0);
92 fBitmap.setInfo(SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType), rowBytes);
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
ImageDecoder.cpp 215 ImagePlanes::ImagePlanes(void* planes[3], size_t rowBytes[3])
219 m_rowBytes[i] = rowBytes[i];
229 size_t ImagePlanes::rowBytes(int i) const
  /external/chromium_org/third_party/skia/include/core/
SkPixelRef.h 71 size_t rowBytes() const { return fRec.fRowBytes; }
224 * If any planes or rowBytes is NULL, this should output the sizes and return true
227 * If all planes and rowBytes are not NULL, then it should copy the associated Y,U,V data
234 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
236 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace);
326 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
347 void setPreLocked(void*, size_t rowBytes, SkColorTable*);
392 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
  /external/chromium_org/third_party/skia/src/effects/
SkEmbossMask.cpp 99 int rowBytes = mask->fRowBytes;
105 int next_row = neq_to_mask(y, maxy) & rowBytes;
158 alpha += rowBytes;
159 multiply += rowBytes;
160 additive += rowBytes;
161 prev_row = rowBytes;
  /external/chromium_org/third_party/skia/src/gpu/
GrAtlas.cpp 125 size_t rowBytes = fBytesPerPixel*fRects->width();
127 dataPtr += rowBytes*fDirtyRect.fTop;
133 rowBytes,
  /external/skia/dm/
DMWriteTask.cpp 97 const size_t rowBytes = info.minRowBytes(); // Assume densely packed.
98 const size_t bitmapBytes = info.getSafeSize(rowBytes);
109 info, rowBytes, NULL/*ctable*/, subset));
112 bitmap->setInfo(info, rowBytes);

Completed in 429 milliseconds

1 2 3 4