HomeSort by relevance Sort by last modified time
    Searched refs:fBitmap (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/skia/src/effects/
SkBitmapSource.cpp 12 fBitmap(bitmap) {
17 fBitmap.unflatten(buffer);
22 fBitmap.flatten(buffer);
27 *result = fBitmap;
  /external/skia/src/utils/
SkBitmapTransformer.h 52 fBitmap(bitmap), fPixelFormat(pixelFormat) {}
55 * Returns true iff we can convert between fBitmap and fPixelFormat.
70 return fBitmap.width() * 4;
80 return this->bytesNeededPerRow() * fBitmap.height();
100 const SkBitmap& fBitmap;
SkBitmapTransformer.cpp 27 SkBitmap::Config bitmapConfig = fBitmap.config();
74 fBitmap.lockPixels();
75 int width = fBitmap.width();
76 size_t srcRowBytes = fBitmap.rowBytes();
78 const char *srcBytes = const_cast<const char *>(static_cast<char*>(fBitmap.getPixels()));
80 for (int y = 0; y < fBitmap.height(); y++) {
85 fBitmap.unlockPixels();
  /external/webkit/Source/WebCore/platform/graphics/android/
SkBitmapRef.h 36 : fBitmap(src),
41 const SkBitmap& bitmap() const { return fBitmap; }
42 SkBitmap& bitmap() { return fBitmap; }
57 SkBitmap fBitmap;
  /external/skia/legacy/src/images/
SkImageRef.cpp 60 SkASSERT(SkBitmap::kNo_Config != fBitmap.config());
62 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height());
70 bitmap->setIsOpaque(fBitmap.isOpaque());
102 if (SkBitmap::kNo_Config != fBitmap.config()) {
103 fConfig = fBitmap.config();
106 if (NULL != fBitmap.getPixels() ||
107 (SkBitmap::kNo_Config != fBitmap.config() &&
112 SkASSERT(fBitmap.getPixels() == NULL)
    [all...]
SkImageRefPool.cpp 34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
62 if (!ref->isLocked() && ref->fBitmap.getPixels()) {
70 ref->fBitmap.width(), ref->fBitmap.height(),
71 ref->fBitmap.bytesPerPixel(),
77 ref->fBitmap.setPixels(NULL);
78 SkASSERT(NULL == ref->fBitmap.getPixels())
    [all...]
  /external/skia/src/images/
SkImageRef.cpp 57 SkASSERT(SkBitmap::kNo_Config != fBitmap.config());
59 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height());
67 bitmap->setIsOpaque(fBitmap.isOpaque());
98 if (SkBitmap::kNo_Config != fBitmap.config()) {
99 fConfig = fBitmap.config();
102 if (NULL != fBitmap.getPixels() ||
103 (SkBitmap::kNo_Config != fBitmap.config() &&
108 SkASSERT(fBitmap.getPixels() == NULL)
    [all...]
SkImageRefPool.cpp 34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
62 if (!ref->isLocked() && ref->fBitmap.getPixels()) {
70 ref->fBitmap.width(), ref->fBitmap.height(),
71 ref->fBitmap.bytesPerPixel(),
77 ref->fBitmap.setPixels(NULL);
78 SkASSERT(NULL == ref->fBitmap.getPixels())
    [all...]
  /external/skia/src/image/
SkSurface_Raster.cpp 31 SkBitmap fBitmap;
89 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb);
90 fBitmap.setPixels(pixels);
91 fBitmap.setIsOpaque(isOpaque);
100 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb);
101 fBitmap.setPixelRef(pr);
102 fBitmap.setIsOpaque(isOpaque);
106 fBitmap.eraseColor(SK_ColorTRANSPARENT);
111 return SkNEW_ARGS(SkCanvas, (fBitmap));
120 canvas->drawBitmap(fBitmap, x, y, paint)
    [all...]
SkImage_Gpu.cpp 31 SkBitmap fBitmap;
46 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fTexture->width(), fTexture->height());
47 fBitmap.setPixelRef(new SkGrPixelRef(fTexture))->unref();
56 canvas->drawBitmap(fBitmap, x, y, paint);
66 fBitmap.setPixelRef(new SkGrPixelRef(texture))->unref();
SkImage_Raster.cpp 62 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); }
67 SkBitmap fBitmap;
89 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes);
90 fBitmap.setPixelRef(SkNEW_ARGS(SkDataPixelRef, (data)))->unref();
91 fBitmap.setIsOpaque(isOpaque);
92 fBitmap.setImmutable();
100 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes);
101 fBitmap.setPixelRef(pr);
102 fBitmap.setIsOpaque(isOpaque);
103 fBitmap.setImmutable()
    [all...]
SkImage_Codec.cpp 25 SkBitmap fBitmap;
42 if (!fBitmap.pixelRef()) {
44 &fBitmap)) {
48 canvas->drawBitmap(fBitmap, x, y, paint);
  /external/skia/legacy/src/opts/
SkBitmapProcState_opts_arm.cpp 28 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
29 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
33 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
35 xy[0] * s.fBitmap->rowBytes());
39 if (1 == s.fBitmap->width()) {
103 s.fBitmap->getColorTable()->unlock16BitCache();
119 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
120 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
124 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
125 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes())
    [all...]
  /external/skia/src/opts/
SkBitmapProcState_opts_arm.cpp 28 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
29 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
33 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
35 xy[0] * s.fBitmap->rowBytes());
39 if (1 == s.fBitmap->width()) {
103 s.fBitmap->getColorTable()->unlock16BitCache();
119 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
120 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
124 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
125 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes())
    [all...]
  /external/skia/gm/
factory.cpp 40 SkBitmapFactory::DecodeBitmap(&fBitmap, data);
53 canvas->drawBitmap(fBitmap, 0, 0);
57 SkBitmap fBitmap;
imagefiltersgraph.cpp 33 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
34 fBitmap.allocPixels();
35 SkDevice device(fBitmap);
55 SkAutoTUnref<SkImageFilter> bitmapSource(new SkBitmapSource(fBitmap));
81 canvas->drawBitmap(fBitmap, 100, 0, &paint);
87 SkBitmap fBitmap;
blend.cpp 26 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80);
27 fBitmap.allocPixels();
28 SkDevice device(fBitmap);
69 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
70 canvas->drawBitmap(fBitmap, SkIntToScalar(x), 0, &paint);
97 SkBitmap fBitmap, fCheckerboard;
matrixconvolution.cpp 27 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80);
28 fBitmap.allocPixels();
29 SkDevice device(fBitmap);
63 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
64 canvas->drawBitmap(fBitmap, SkIntToScalar(x), SkIntToScalar(y), &paint);
89 SkBitmap fBitmap;
morphology.cpp 29 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 135, 135);
30 fBitmap.allocPixels();
31 SkDevice device(fBitmap);
81 canvas->drawBitmap(fBitmap, x, y);
89 SkBitmap fBitmap;
  /external/skia/legacy/src/core/
SkBitmapProcState_sample.h 36 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels();
37 int i, rb = s.fBitmap->rowBytes();
44 SkASSERT((XY >> 16) < (unsigned)s.fBitmap->height() &&
45 (XY & 0xFFFF) < (unsigned)s.fBitmap->width());
50 SkASSERT((XY >> 16) < (unsigned)s.fBitmap->height() &&
51 (XY & 0xFFFF) < (unsigned)s.fBitmap->width());
57 SkASSERT((XY >> 16) < (unsigned)s.fBitmap->height() &&
58 (XY & 0xFFFF) < (unsigned)s.fBitmap->width());
79 const SRCTYPE* SK_RESTRICT srcAddr = (const SRCTYPE*)s.fBitmap->getPixels();
83 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height())
    [all...]
SkBitmapSamplerTemplate.h 27 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
43 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
58 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
73 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
88 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
103 return BITMAP_PIXEL_TO_PMCOLOR(fBitmap, x, y);
  /external/skia/include/effects/
SkBitmapSource.h 27 SkBitmap fBitmap;
  /external/skia/bench/
BitmapRectBench.cpp 42 SkBitmap fBitmap;
58 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h);
59 fBitmap.allocPixels();
60 fBitmap.setIsOpaque(true);
61 fBitmap.eraseColor(SK_ColorBLACK);
62 drawIntoBitmap(fBitmap);
94 canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint);
  /external/skia/legacy/src/animator/
SkDrawBitmap.cpp 36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint);
93 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
94 fBitmap.allocPixels();
96 fBitmap.eraseColor(fColor);
164 value->fOperand.fS32 = fBitmap.height();
167 value->fOperand.fS32 = fBitmap.width();
184 fBitmap.reset();
185 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap);
190 fBitmap.reset();
196 SkImageDecoder::DecodeStream(stream, &fBitmap);
    [all...]
  /external/skia/src/animator/
SkDrawBitmap.cpp 36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint);
93 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
94 fBitmap.allocPixels();
96 fBitmap.eraseColor(fColor);
164 value->fOperand.fS32 = fBitmap.height();
167 value->fOperand.fS32 = fBitmap.width();
184 fBitmap.reset();
185 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap);
190 fBitmap.reset();
196 SkImageDecoder::DecodeStream(stream, &fBitmap);
    [all...]

Completed in 382 milliseconds

1 2 3 4 5