Searched refs:rowBytes (Results 126 - 150 of 342) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp380 target.pitch = glyph.rowBytes();
385 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight);
437 unscaledBitmapAlias.fRowBytes = unscaledBitmap.rowBytes();
447 bitmapRowBytes = glyph.rowBytes();
474 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes());
483 dst = (uint16_t*)((char*)dst + glyph.rowBytes());
484 src += dstBitmap.rowBytes();
492 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight);
501 unsigned rowBytes = glyph.rowBytes(); local
[all...]
/external/skia/src/core/
H A DSkBlitter_A8.cpp169 device += fDevice.rowBytes();
183 size_t rowBytes = fDevice.rowBytes(); local
188 device += rowBytes;
195 device += rowBytes;
215 device += fDevice.rowBytes();
224 device += fDevice.rowBytes();
349 device += fDevice.rowBytes();
396 const size_t dstRB = fDevice.rowBytes();
405 const size_t dstRB = fDevice.rowBytes();
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp380 target.pitch = glyph.rowBytes();
385 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight);
437 unscaledBitmapAlias.fRowBytes = unscaledBitmap.rowBytes();
447 bitmapRowBytes = glyph.rowBytes();
474 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes());
483 dst = (uint16_t*)((char*)dst + glyph.rowBytes());
484 src += dstBitmap.rowBytes();
492 memset(glyph.fImage, 0, glyph.rowBytes() * glyph.fHeight);
501 unsigned rowBytes = glyph.rowBytes(); local
[all...]
/external/chromium_org/chrome/utility/
H A Dchrome_content_utility_client_unittest.cc27 bitmap.rowBytes(),
/external/chromium_org/third_party/skia/bench/
H A DWritePixelsBench.cpp60 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DSkAntiEdge.h63 void walk(uint8_t* result, int rowBytes, int height);
/external/chromium_org/third_party/skia/experimental/pixman/
H A Djunk.cpp33 int p_stride = bitmap->rowBytes();
/external/chromium_org/third_party/skia/include/gpu/
H A DGrFontScaler.h72 int rowBytes, void* image);
/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 DGrTexture.cpp79 size_t rowBytes, uint32_t pixelOpsFlags) {
87 config, buffer, rowBytes,
93 size_t rowBytes, uint32_t pixelOpsFlags) {
101 config, buffer, rowBytes,
77 readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument
91 writePixels(int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument
H A DGrGpu.cpp65 const void* srcData, size_t rowBytes) {
89 tex = this->onCreateTexture(desc, srcData, rowBytes);
185 size_t rowBytes) {
188 config, buffer, rowBytes);
194 size_t rowBytes) {
197 config, buffer, rowBytes);
64 createTexture(const GrTextureDesc& desc, const void* srcData, size_t rowBytes) argument
182 readPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) argument
191 writeTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes) argument
/external/chromium_org/third_party/skia/tools/
H A Dsk_tool_utils.cpp59 canvas->writePixels(info, tmp.getPixels(), tmp.rowBytes(), x, y);
/external/skia/bench/
H A DWritePixelsBench.cpp62 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
/external/skia/dm/
H A DDMWriteTask.cpp97 const size_t rowBytes = info.minRowBytes(); // Assume densely packed. local
98 const size_t bitmapBytes = info.getSafeSize(rowBytes);
109 info, rowBytes, NULL/*ctable*/, subset));
112 bitmap->setInfo(info, rowBytes);
/external/skia/experimental/Intersection/
H A DSkAntiEdge.h63 void walk(uint8_t* result, int rowBytes, int height);
/external/skia/experimental/pixman/
H A Djunk.cpp33 int p_stride = bitmap->rowBytes();
/external/skia/src/animator/
H A DSkDrawBitmap.h46 int32_t rowBytes; member in class:SkDrawBitmap
/external/skia/src/gpu/
H A DGrTexture.cpp94 size_t rowBytes, uint32_t pixelOpsFlags) {
102 config, buffer, rowBytes,
108 size_t rowBytes, uint32_t pixelOpsFlags) {
116 config, buffer, rowBytes,
92 readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument
106 writePixels(int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes, uint32_t pixelOpsFlags) argument
H A DGrGpu.cpp112 const void* srcData, size_t rowBytes) {
136 tex = this->onCreateTexture(desc, srcData, rowBytes);
240 size_t rowBytes) {
243 config, buffer, rowBytes);
249 size_t rowBytes) {
252 config, buffer, rowBytes);
111 createTexture(const GrTextureDesc& desc, const void* srcData, size_t rowBytes) argument
237 readPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) argument
246 writeTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes) argument
/external/chromium_org/third_party/skia/tests/
H A DBitmapCopyTest.cpp462 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes() * 3)
476 bufBm.installPixels(info, buf, subset.rowBytes());
488 bufBm.installPixels(info, buf, subset.rowBytes()+1);
492 subset.rowBytes()+1) == successExpected);
495 "copyPixelsTo(buf, bufSize, rowBytes+1)", reporter);
504 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes()-1)
508 "copyPixelsTo(buf, bufSize, rowBytes()-1)", reporter);
529 subset.copyPixelsFrom(buf, bufSize, bufBm.rowBytes()) ==
539 subset.copyPixelsFrom(buf, 1, subset.rowBytes()) ==
584 const size_t rowBytes
[all...]
H A DWritePixelsTest.cpp201 canvasRowBytes = secretDevBitmap.rowBytes();
282 // This is a tricky pattern, because we have to setConfig+rowBytes AND specify
283 // a custom pixelRef (which also has to specify its rowBytes), so we have to be
284 // sure that the two rowBytes match (and the infos match).
286 static bool allocRowBytes(SkBitmap* bm, const SkImageInfo& info, size_t rowBytes) { argument
287 if (!bm->setInfo(info, rowBytes)) {
290 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL);
303 const size_t rowBytes = c.fTightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100; local
304 const size_t size = info.getSafeSize(rowBytes);
306 // if rowBytes is
331 size_t rowBytes = tightRB ? 0 : 4 * w + 60; local
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGpuGL.h68 size_t rowBytes) const SK_OVERRIDE;
114 size_t rowBytes) SK_OVERRIDE;
136 size_t rowBytes) SK_OVERRIDE;
141 size_t rowBytes) SK_OVERRIDE;
253 size_t rowBytes);
H A DGrGpuGL.cpp466 size_t rowBytes) {
492 config, buffer, rowBytes);
509 size_t* rowBytes) {
510 if (!*rowBytes) {
511 *rowBytes = *width * bpp;
521 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp);
545 size_t rowBytes) {
553 &width, &height, &data, &rowBytes)) {
616 if (rowBytes != trimRowBytes) {
617 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bp
463 onWriteTexturePixels(GrTexture* texture, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes) argument
504 adjust_pixel_ops_params(int surfaceWidth, int surfaceHeight, size_t bpp, int* left, int* top, int* width, int* height, const void** data, size_t* rowBytes) argument
540 uploadTexData(const GrGLTexture::Desc& desc, bool isNewTexture, int left, int top, int width, int height, GrPixelConfig dataConfig, const void* data, size_t rowBytes) argument
938 onCreateTexture(const GrTextureDesc& desc, const void* srcData, size_t rowBytes) argument
1571 onReadPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) argument
[all...]
/external/skia/include/core/
H A DSkCanvas.h104 static SkCanvas* NewRasterDirectN32(int width, int height, SkPMColor* pixels, size_t rowBytes) { argument
105 return NewRasterDirect(SkImageInfo::MakeN32Premul(width, height), pixels, rowBytes);
207 * return the ImageInfo, rowBytes and origin. The returned address is only valid
212 * On failure, returns NULL and the info, rowBytes, and origin parameters are ignored.
214 void* accessTopLayerPixels(SkImageInfo* info, size_t* rowBytes, SkIPoint* origin = NULL);
220 * return the ImageInfo and rowBytes. The returned address is only valid
225 * On failure, returns NULL and the info and rowBytes parameters are
228 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
231 * Copy the pixels from the base-layer into the specified buffer (pixels + rowBytes),
241 * and the "dst" by info+pixels+rowBytes
1470 size_t rowBytes() const { return fRowBytes; } function in class:SkAutoROCanvasPixels
[all...]
/external/skia/tests/
H A DWritePixelsTest.cpp207 canvasRowBytes = secretDevBitmap.rowBytes();
288 // This is a tricky pattern, because we have to setConfig+rowBytes AND specify
289 // a custom pixelRef (which also has to specify its rowBytes), so we have to be
290 // sure that the two rowBytes match (and the infos match).
292 static bool allocRowBytes(SkBitmap* bm, const SkImageInfo& info, size_t rowBytes) { argument
293 if (!bm->setInfo(info, rowBytes)) {
296 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL);
305 size_t rowBytes = c.fTightRowBytes ? 0 : 4 * DEV_W + 100; local
307 if (!allocRowBytes(&bmp, info, rowBytes)) {
311 // if rowBytes is
340 size_t rowBytes = tightRB ? 0 : 4 * w + 60; local
[all...]

Completed in 468 milliseconds

1234567891011>>