/external/skia/src/core/ |
SkBitmapShaderTemplate.h | 67 unsigned srcRB = srcBitmap.rowBytes(); 211 unsigned srcRB = srcBitmap.rowBytes(); 295 #undef NOFILTER_BITMAP_SHADER_SAMPLE_XY //(x, y, rowBytes) 302 #undef NOFILTER_BITMAP_SHADER_SAMPLE_XY16 //(x, y, rowBytes)
|
SkBlitter_ARGB32.cpp | 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 199 uint32_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/src/ports/ |
SkImageDecoder_WIC.cpp | 140 const int stride = bm->rowBytes(); 215 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); 311 , bitmap->rowBytes() 312 , bitmap->rowBytes()*height
|
/external/skia/src/utils/ |
SkBitmapTransformer.cpp | 76 size_t srcRowBytes = fBitmap.rowBytes();
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 244 const GLsizei rowBytes = width * bytesPerPixel(); 245 uint8_t pixels[rowBytes * texture->height]; 286 memcpy(pixels + rowBytes, pixels, rowBytes);
|
/external/skia/legacy/src/ports/ |
SkImageDecoder_WIC.cpp | 130 const int stride = bm->rowBytes(); 281 , bitmap->rowBytes() 282 , bitmap->rowBytes()*height
|
/external/webkit/Tools/WebKitTestRunner/cg/ |
TestInvocationCG.cpp | 53 size_t rowBytes = (4 * pixelsWide + 63) & ~63; 54 void* buffer = calloc(pixelsHigh, rowBytes); 57 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
|
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 262 const int rowBytes = bm->rowBytes(); 288 scanline += desc.Top * rowBytes + desc.Left; 297 uint8_t* row = scanline + iter.currY() * rowBytes; 311 scanline += rowBytes;
|
/external/skia/src/gpu/ |
GrContext.cpp | 281 size_t rowBytes, 285 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); 350 size_t rowBytes) { 362 srcData, rowBytes, 365 texture= fGpu->createTexture(desc, srcData, rowBytes); 488 size_t rowBytes) { 490 return fGpu->createTexture(descCopy, srcData, rowBytes); [all...] |
GrGpu.cpp | 122 const void* srcData, size_t rowBytes) { 128 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); 234 size_t rowBytes, bool invertY) { 237 config, buffer, rowBytes, invertY); 243 size_t rowBytes) { 246 config, buffer, rowBytes);
|
/external/skia/tests/ |
BitmapCopyTest.cpp | 334 REPORTER_ASSERT(reporter, copy.rowBytes() <= 4); 520 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes() * 3) 535 subset.rowBytes()); 549 subset.rowBytes()+1); 554 subset.rowBytes()+1) == successExpected); 557 "copyPixelsTo(buf, bufSize, rowBytes+1)", reporter); 567 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes()-1) 571 "copyPixelsTo(buf, bufSize, rowBytes()-1)", reporter); 594 subset.copyPixelsFrom(buf, bufSize, bufBm.rowBytes()) == 604 subset.copyPixelsFrom(buf, 1, subset.rowBytes()) = [all...] |
ReadPixelsTest.cpp | 118 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 140 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 194 uint32_t pixel = *reinterpret_cast<SkPMColor*>(pixels + by * bitmap.rowBytes() + bx * bitmap.bytesPerPixel()); 237 int rowBytes = 0; 245 rowBytes = w * sizeof(SkPMColor) + 16 * sizeof(SkPMColor); 251 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes);
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngrtran.c | [all...] |
/external/skia/include/core/ |
SkBitmap.h | 115 int rowBytes() const { return fRowBytes; } 129 /** Return the rowbytes expressed as a number of pixels (like width and 131 return the same as rowBytes(). Is undefined for configs that are less 140 /** Return the byte size of the pixels, based on the height and rowBytes. 152 /** Return the byte size of the pixels, based on the height and rowBytes. 206 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically 207 if you pass 0 for rowBytes to setConfig(). 250 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 254 void setConfig(Config, int width, int height, int rowBytes = 0); 270 In the case when the dstRowBytes matches the bitmap's rowBytes, the cop [all...] |
/external/skia/include/gpu/ |
GrContext.h | 131 * @param rowBytes The number of bytes between rows of the texture. Zero 137 void* srcData, size_t rowBytes); 218 size_t rowBytes); 507 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly 518 size_t rowBytes = 0, 531 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 538 size_t rowBytes = 0, 550 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightly 560 size_t rowBytes = 0, 572 * @param rowBytes number of bytes between consecutive rows. Zer [all...] |
SkGr.h | 99 int rowBytes, void* image);
|
/external/skia/legacy/include/core/ |
SkBitmap.h | 110 int rowBytes() const { return fRowBytes; } 124 /** Return the rowbytes expressed as a number of pixels (like width and 126 return the same as rowBytes(). Is undefined for configs that are less 135 /** Return the byte size of the pixels, based on the height and rowBytes. 147 /** Return the byte size of the pixels, based on the height and rowBytes. 201 /** Given a config and a width, this computes the optimal rowBytes value. This is called automatically 202 if you pass 0 for rowBytes to setConfig(). 221 /** Set the bitmap's config and dimensions. If rowBytes is 0, then 225 void setConfig(Config, int width, int height, int rowBytes = 0); 241 In the case when the dstRowBytes matches the bitmap's rowBytes, the cop [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 39 assertEquals("rowbytes", 400, bm1.getRowBytes()); 40 assertEquals("rowbytes", 200, bm2.getRowBytes()); 41 assertEquals("rowbytes", 200, bm3.getRowBytes());
|
/external/quake/quake/src/QW/client/ |
vid.h | 40 unsigned rowbytes; // may be > width if displayed in a window
member in struct:__anon14227
|
vid_svgalib.c | 156 offset = x + ((y << repshift) + i + j) * vid.rowbytes; 216 offset = x + ((y << repshift) + i + j) * vid.rowbytes; 497 vid.rowbytes = modes[current_mode].linewidth; 500 vid.rowbytes = modes[current_mode].linewidth*4; 506 vid.conrowbytes = vid.rowbytes; 522 bsize = vid.rowbytes * vid.height; 750 int total = vid.rowbytes * vid.height; 769 offset = rects->y * vid.rowbytes + rects->x; 790 offset += vid.rowbytes;
|
/external/quake/quake/src/WinQuake/ |
vid.h | 40 unsigned rowbytes; // may be > width if displayed in a window
member in struct:__anon14674
|
vid_null.cpp | 54 vid.rowbytes = vid.conrowbytes = BASEWIDTH;
|
vid_svgalib.cpp | 155 offset = x + ((y << repshift) + i + j) * vid.rowbytes; 215 offset = x + ((y << repshift) + i + j) * vid.rowbytes; 496 vid.rowbytes = modes[current_mode].linewidth; 499 vid.rowbytes = modes[current_mode].linewidth*4; 505 vid.conrowbytes = vid.rowbytes; 521 bsize = vid.rowbytes * vid.height; 737 int total = vid.rowbytes * vid.height; 756 offset = rects->y * vid.rowbytes + rects->x; 777 offset += vid.rowbytes;
|
/external/skia/legacy/src/core/ |
SkBlitMask.h | 27 * but each scanline is offset by dstRB (rowbytes) and srcRB respectively.
|
SkSpriteBlitter_RGB16.cpp | 61 unsigned dstRB = fDevice->rowBytes(); 62 unsigned srcRB = fSource->rowBytes(); 288 unsigned dstRB = fDevice->rowBytes(); 289 unsigned srcRB = fSource->rowBytes();
|