Searched refs:rowBytes (Results 151 - 175 of 342) sorted by relevance

1234567891011>>

/external/skia/src/gpu/
H A DSkGr.cpp68 if ((unsigned)bitmap.width() == bitmap.rowBytes()) {
73 size_t rowBytes = bitmap.rowBytes(); local
77 src += rowBytes;
217 // "rowBytes", since they are the same now.
278 bitmap->getPixels(), bitmap->rowBytes(), &key);
294 bitmap->rowBytes());
H A DGrContext.cpp315 size_t rowBytes,
319 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes));
389 size_t rowBytes,
399 srcData, rowBytes,
402 texture = fGpu->createTexture(desc, srcData, rowBytes);
581 size_t rowBytes) {
583 return fGpu->createTexture(descCopy, srcData, rowBytes);
1318 GrPixelConfig config, const void* buffer, size_t rowBytes,
1326 config, buffer, rowBytes, flags);
1337 config, buffer, rowBytes);
312 createResizedTexture(const GrTextureDesc& desc, const GrCacheID& cacheID, const void* srcData, size_t rowBytes, bool filter) argument
385 createTexture(const GrTextureParams* params, const GrTextureDesc& desc, const GrCacheID& cacheID, const void* srcData, size_t rowBytes, GrResourceKey* cacheKey) argument
579 createUncachedTexture(const GrTextureDesc& descIn, void* srcData, size_t rowBytes) argument
1316 writeTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t flags) argument
1340 readTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t flags) argument
1390 readRenderTargetPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig dstConfig, void* buffer, size_t rowBytes, uint32_t flags) argument
1582 writeRenderTargetPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig srcConfig, const void* buffer, size_t rowBytes, uint32_t flags) argument
[all...]
H A DSkGrPixelRef.cpp40 rec->fRowBytes = fBitmap.rowBytes();
187 buffer, dst->rowBytes());
H A DGrAtlas.cpp121 size_t rowBytes = fBytesPerPixel*fRects->width(); local
123 dataPtr += rowBytes*fDirtyRect.fTop;
129 rowBytes,
/external/chromium_org/third_party/skia/src/gpu/
H A DGrContext.cpp336 size_t rowBytes,
340 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes));
411 size_t rowBytes,
421 srcData, rowBytes,
424 texture = fGpu->createTexture(desc, srcData, rowBytes);
608 size_t rowBytes) {
610 return fGpu->createTexture(descCopy, srcData, rowBytes);
1336 GrPixelConfig config, const void* buffer, size_t rowBytes,
1344 config, buffer, rowBytes, flags);
1355 config, buffer, rowBytes);
333 createResizedTexture(const GrTextureDesc& desc, const GrCacheID& cacheID, const void* srcData, size_t rowBytes, bool filter) argument
407 createTexture(const GrTextureParams* params, const GrTextureDesc& desc, const GrCacheID& cacheID, const void* srcData, size_t rowBytes, GrResourceKey* cacheKey) argument
606 createUncachedTexture(const GrTextureDesc& descIn, void* srcData, size_t rowBytes) argument
1334 writeTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t flags) argument
1358 readTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t flags) argument
1408 readRenderTargetPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig dstConfig, void* buffer, size_t rowBytes, uint32_t flags) argument
1597 writeRenderTargetPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig srcConfig, const void* buffer, size_t rowBytes, uint32_t flags) argument
[all...]
H A DSkGrPixelRef.cpp42 rec->fRowBytes = fBitmap.rowBytes();
192 buffer, cachedBitmap.rowBytes());
/external/chromium_org/skia/ext/
H A Dconvolver_unittest.cc247 for (unsigned int x = 0; x < source.rowBytes(); x++)
249 src_ptr += source.rowBytes();
262 static_cast<int>(source.rowBytes()),
264 static_cast<int>(result_c.rowBytes()), r1, false);
270 static_cast<int>(source.rowBytes()),
272 static_cast<int>(result_sse.rowBytes()), r2, true);
295 r1 += result_c.rowBytes();
296 r2 += result_sse.rowBytes();
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
H A DImageDecoder.h54 ImagePlanes(void* planes[3], size_t rowBytes[3]);
57 size_t rowBytes(int) const;
H A DImageFrame.h98 const int rowBytes = (endX - startX) * sizeof(PixelData);
101 memcpy(getAddr(startX, destY), startAddr, rowBytes);
/external/chromium_org/third_party/skia/include/core/
H A DSkBitmapDevice.h133 virtual void* onAccessPixels(SkImageInfo* info, size_t* rowBytes) SK_OVERRIDE;
159 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE;
H A DSkCanvas.h113 static SkCanvas* NewRasterDirectN32(int width, int height, SkPMColor* pixels, size_t rowBytes) { argument
114 return NewRasterDirect(SkImageInfo::MakeN32Premul(width, height), pixels, rowBytes);
224 * return the ImageInfo, rowBytes and origin. The returned address is only valid
229 * On failure, returns NULL and the info, rowBytes, and origin parameters are ignored.
231 void* accessTopLayerPixels(SkImageInfo* info, size_t* rowBytes, SkIPoint* origin = NULL);
237 * return the ImageInfo and rowBytes. The returned address is only valid
242 * On failure, returns NULL and the info and rowBytes parameters are
245 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
248 * Copy the pixels from the base-layer into the specified buffer (pixels + rowBytes),
293 * then we have two sets of pixels (of equal size), the "src" specified by info+pixels+rowBytes
1513 size_t rowBytes() const { return fRowBytes; } function in class:SkAutoROCanvasPixels
[all...]
/external/chromium_org/third_party/skia/include/gpu/
H A DGrTexture.h32 size_t rowBytes = 0,
38 size_t rowBytes = 0,
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_opts_arm.cpp40 xy[0] * s.fBitmap->rowBytes());
130 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
H A DSkBitmapProcState_opts_mips_dsp.cpp24 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
156 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
/external/skia/include/core/
H A DSkBitmapDevice.h144 virtual void* onAccessPixels(SkImageInfo* info, size_t* rowBytes) SK_OVERRIDE;
201 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE;
H A DSkPixelRef.h70 size_t rowBytes() const { return fRec.fRowBytes; } function in class:SkPixelRef
343 void setPreLocked(void*, size_t rowBytes, SkColorTable*);
/external/skia/include/gpu/
H A DGrTexture.h31 size_t rowBytes = 0,
37 size_t rowBytes = 0,
/external/skia/src/opts/
H A DSkBitmapProcState_opts_arm.cpp39 xy[0] * s.fBitmap->rowBytes());
129 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
/external/skia/src/utils/ios/
H A DSkImageDecoder_iOS.mm47 8, bm->rowBytes(), cs, BITMAP_INFO);
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_sample.h52 size_t rb = s.fBitmap->rowBytes();
100 xy[0] * s.fBitmap->rowBytes());
149 size_t rb = s.fBitmap->rowBytes();
195 size_t rb = s.fBitmap->rowBytes();
H A DSkDistanceFieldGen.cpp464 int width, int height, int rowBytes) {
479 memcpy(currDestPtr, currSrcScanLine, rowBytes);
480 currSrcScanLine += rowBytes;
492 int width, int height, int rowBytes) {
515 currSrcScanLine += rowBytes;
462 SkGenerateDistanceFieldFromA8Image(unsigned char* distanceField, const unsigned char* image, int width, int height, int rowBytes) argument
490 SkGenerateDistanceFieldFromBWImage(unsigned char* distanceField, const unsigned char* image, int width, int height, int rowBytes) argument
/external/chromium_org/third_party/skia/src/utils/
H A DSkCanvasStateUtils.cpp68 uint64_t rowBytes; // Number of bytes from start of one line to next. member in struct:SkCanvasLayerState::__anon15354::__anon15355
69 void* pixels; // The pixels, all (height * rowBytes) of them.
250 layerState->raster.rowBytes = bitmap.rowBytes();
309 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
/external/chromium_org/ui/gfx/image/
H A Dimage_util.cc45 static_cast<int>(bitmap.rowBytes()), quality,
/external/skia/src/core/
H A DSkBitmapProcState_sample.h52 size_t rb = s.fBitmap->rowBytes();
100 xy[0] * s.fBitmap->rowBytes());
149 size_t rb = s.fBitmap->rowBytes();
195 size_t rb = s.fBitmap->rowBytes();
/external/skia/src/utils/
H A DSkCanvasStateUtils.cpp63 uint64_t rowBytes; // Number of bytes from start of one line to next. member in struct:SkCanvasLayerState::__anon30763::__anon30764
64 void* pixels; // The pixels, all (height * rowBytes) of them.
245 layerState->raster.rowBytes = bitmap.rowBytes();
304 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);

Completed in 883 milliseconds

1234567891011>>