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

1 2

  /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...]
SkGlyph.h 43 * Compute the rowbytes for the specified width and mask-format.
61 unsigned rowBytes() const {
SkMipMap.cpp 28 p += src.rowBytes() >> 2;
66 p += src.rowBytes() >> 1;
101 p += src.rowBytes() >> 1;
183 uint32_t rowBytes;
189 rowBytes = SkToU32(SkBitmap::ComputeRowBytes(config, width));
194 levels[i].fRowBytes = rowBytes;
198 dstBM.setConfig(config, width, height, rowBytes);
210 addr += height * rowBytes;
SkBlitter_A8.cpp 169 device += fDevice.rowBytes();
183 size_t rowBytes = fDevice.rowBytes();
188 device += rowBytes;
195 device += rowBytes;
215 device += fDevice.rowBytes();
224 device += fDevice.rowBytes();
346 device += fDevice.rowBytes();
393 const size_t dstRB = fDevice.rowBytes();
402 const size_t dstRB = fDevice.rowBytes();
    [all...]
SkBlitter_ARGB32.cpp 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes());
199 size_t rowBytes = fDevice.rowBytes();
202 device = (uint32_t*)((char*)device + rowBytes);
215 size_t rowBytes = fDevice.rowBytes();
218 fColorRect32Proc(device, width, height, rowBytes, color);
222 device = (uint32_t*)((char*)device + rowBytes);
339 size_t deviceRB = fDevice.rowBytes();
514 const size_t dstRB = fDevice.rowBytes();
    [all...]
  /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; }
  /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...]
SkGlyph.h 43 * Compute the rowbytes for the specified width and mask-format.
61 unsigned rowBytes() const {
SkMipMap.cpp 28 p += src.rowBytes() >> 2;
66 p += src.rowBytes() >> 1;
101 p += src.rowBytes() >> 1;
183 uint32_t rowBytes;
189 rowBytes = SkToU32(SkBitmap::ComputeRowBytes(config, width));
194 levels[i].fRowBytes = rowBytes;
198 dstBM.setConfig(config, width, height, rowBytes);
210 addr += height * rowBytes;
SkBlitter_A8.cpp 169 device += fDevice.rowBytes();
183 size_t rowBytes = fDevice.rowBytes();
188 device += rowBytes;
195 device += rowBytes;
215 device += fDevice.rowBytes();
224 device += fDevice.rowBytes();
346 device += fDevice.rowBytes();
393 const size_t dstRB = fDevice.rowBytes();
402 const size_t dstRB = fDevice.rowBytes();
    [all...]
SkBlitter_ARGB32.cpp 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes());
199 size_t rowBytes = fDevice.rowBytes();
202 device = (uint32_t*)((char*)device + rowBytes);
215 size_t rowBytes = fDevice.rowBytes();
218 fColorRect32Proc(device, width, height, rowBytes, color);
222 device = (uint32_t*)((char*)device + rowBytes);
339 size_t deviceRB = fDevice.rowBytes();
514 const size_t dstRB = fDevice.rowBytes();
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkDrawBitmap.h 46 int32_t rowBytes;
  /external/skia/src/animator/
SkDrawBitmap.h 46 int32_t rowBytes;
  /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/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/
SkGr.cpp 47 if ((unsigned)bitmap.width() == bitmap.rowBytes()) {
52 size_t rowBytes = bitmap.rowBytes();
56 src += rowBytes;
135 // "rowBytes", since they are the same now.
175 bitmap->getPixels(), bitmap->rowBytes(), &key);
191 bitmap->rowBytes());
  /external/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/skia/src/gpu/
SkGr.cpp 47 if ((unsigned)bitmap.width() == bitmap.rowBytes()) {
52 size_t rowBytes = bitmap.rowBytes();
56 src += rowBytes;
135 // "rowBytes", since they are the same now.
175 bitmap->getPixels(), bitmap->rowBytes(), &key);
191 bitmap->rowBytes());
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFImage.cpp 49 const int rowBytes = srcRect.width();
55 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes);
56 dst += rowBytes;
  /external/chromium_org/third_party/skia/src/utils/
SkCanvasStateUtils.cpp 63 size_t rowBytes; // Number of bytes from start of one line to next.
64 void* pixels; // The pixels, all (height * rowBytes) of them.
234 layerState->raster.rowBytes = bitmap.rowBytes();
292 layerState.raster.rowBytes);
  /external/skia/src/pdf/
SkPDFImage.cpp 49 const int rowBytes = srcRect.width();
55 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes);
56 dst += rowBytes;
  /external/skia/src/utils/
SkCanvasStateUtils.cpp 63 size_t rowBytes; // Number of bytes from start of one line to next.
64 void* pixels; // The pixels, all (height * rowBytes) of them.
234 layerState->raster.rowBytes = bitmap.rowBytes();
292 layerState.raster.rowBytes);
  /frameworks/base/core/jni/
android_view_SurfaceControl.cpp 165 ssize_t rowBytes = screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat());
168 bitmap->setConfig(screenshotInfo, rowBytes);

Completed in 4699 milliseconds

1 2