Searched refs:bm (Results 251 - 275 of 405) sorted by relevance

<<11121314151617

/external/tcpdump/
H A Dprint-atalk.c350 atp_bitmap_print(register u_char bm) argument
360 if ((bm + 1) & (bm & 0xff)) {
362 for (i = 0; bm; ++i) {
363 if (bm & 1) {
367 bm >>= 1;
371 for (i = 0; bm; ++i)
372 bm >>= 1;
/external/chromium_org/third_party/skia/bench/
H A DAlternatingColorPatternBench.cpp38 static void makebm(SkBitmap* bm, int w, int h) { argument
39 bm->allocN32Pixels(w, h);
40 bm->eraseColor(SK_ColorTRANSPARENT);
42 SkCanvas canvas(*bm);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleBitmapRect.cpp144 static void make_big_bitmap(SkBitmap* bm) { argument
160 bm->allocN32Pixels(BIG_W, BIG_H);
161 bm->eraseColor(SK_ColorWHITE);
163 SkCanvas canvas(*bm);
H A DSampleShaderText.cpp13 static void makebm(SkBitmap* bm, int w, int h) { argument
14 bm->allocN32Pixels(w, h);
15 bm->eraseColor(SK_ColorTRANSPARENT);
17 SkCanvas canvas(*bm);
H A DSampleText.cpp127 static void make_textstrip(SkBitmap* bm) { argument
128 bm->allocPixels(SkImageInfo::Make(200, 18, kRGB_565_SkColorType,
130 bm->eraseColor(SK_ColorWHITE);
132 SkCanvas canvas(*bm);
H A DSampleRotateCircles.cpp110 SkBitmap bm; local
111 bm.allocN32Pixels(w, h);
112 bm.eraseColor(0);
114 SkAutoLockPixels alp(bm);
122 *bm.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0);
127 canvas->drawBitmap(bm, 0, 0, NULL);
H A DSampleFatBits.cpp41 SkBitmap bm; local
42 bm.allocN32Pixels(2, 2);
43 bm.lockPixels();
44 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = SkPreMultiplyColor(colors[0]);
45 *bm.getAddr32(0, 1) = *bm.getAddr32(1, 0) = SkPreMultiplyColor(colors[1]);
46 return SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode,
H A DSampleFontCache.cpp70 SkBitmap* bm = (SkBitmap*)context; local
71 SkCanvas canvas(*bm);
/external/chromium_org/third_party/skia/src/image/
H A DSkImage_Raster.cpp74 SkImage_Raster(const SkBitmap& bm) argument
75 : INHERITED(bm.width(), bm.height())
76 , fBitmap(bm) {}
/external/skia/gm/
H A Dshadertext.cpp14 static void makebm(SkBitmap* bm, int w, int h) { argument
15 bm->allocN32Pixels(w, h);
16 bm->eraseColor(SK_ColorTRANSPARENT);
18 SkCanvas canvas(*bm);
/external/skia/samplecode/
H A DSampleBitmapRect.cpp150 static void make_big_bitmap(SkBitmap* bm) { argument
166 bm->allocN32Pixels(BIG_W, BIG_H);
167 bm->eraseColor(SK_ColorWHITE);
169 SkCanvas canvas(*bm);
H A DSampleShaderText.cpp13 static void makebm(SkBitmap* bm, int w, int h) { argument
14 bm->allocN32Pixels(w, h);
15 bm->eraseColor(SK_ColorTRANSPARENT);
17 SkCanvas canvas(*bm);
H A DSampleText.cpp195 static void make_textstrip(SkBitmap* bm) { argument
196 bm->allocPixels(SkImageInfo::Make(200, 18, kRGB_565_SkColorType,
198 bm->eraseColor(SK_ColorWHITE);
200 SkCanvas canvas(*bm);
H A DSampleRotateCircles.cpp110 SkBitmap bm; local
111 bm.allocN32Pixels(w, h);
112 bm.eraseColor(0);
114 SkAutoLockPixels alp(bm);
122 *bm.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0);
127 canvas->drawBitmap(bm, 0, 0, NULL);
H A DSampleFatBits.cpp41 SkBitmap bm; local
42 bm.allocN32Pixels(2, 2);
43 bm.lockPixels();
44 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = SkPreMultiplyColor(colors[0]);
45 *bm.getAddr32(0, 1) = *bm.getAddr32(1, 0) = SkPreMultiplyColor(colors[1]);
46 return SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode,
H A DSampleFontCache.cpp70 SkBitmap* bm = (SkBitmap*)context; local
71 SkCanvas canvas(*bm);
/external/chromium_org/third_party/skia/include/core/
H A DSkBitmap.h779 SkAutoLockPixels(const SkBitmap& bm, bool doLock = true) : fBitmap(bm) { argument
782 bm.lockPixels();
809 explicit SkAutoLockColors(const SkBitmap& bm) { argument
810 fCTable = bm.getColorTable();
842 const SkPMColor* lockColors(const SkBitmap& bm) { argument
843 return this->lockColors(bm.getColorTable());
/external/skia/include/core/
H A DSkBitmap.h796 SkAutoLockPixels(const SkBitmap& bm, bool doLock = true) : fBitmap(bm) { argument
799 bm.lockPixels();
826 explicit SkAutoLockColors(const SkBitmap& bm) { argument
827 fCTable = bm.getColorTable();
859 const SkPMColor* lockColors(const SkBitmap& bm) { argument
860 return this->lockColors(bm.getColorTable());
/external/chromium_org/third_party/skia/tests/
H A DBitmapCopyTest.cpp84 // Utility function to read the value of a given pixel in bm. All
86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { argument
90 SkAutoLockPixels lock(bm);
91 const void* rawAddr = bm.getAddr(x,y);
93 switch (bm.bytesPerPixel()) {
111 // Utility function to set value of any pixel in bm.
112 // bm.getConfig() specifies what format 'val' must be
114 static void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { argument
117 SkAutoLockPixels lock(bm);
118 void* rawAddr = bm
180 writeCoordPixels(SkBitmap& bm, const Coordinates& coords) argument
[all...]
H A DDeviceLooperTest.cpp12 static void make_bm(SkBitmap* bm, int w, int h) { argument
13 bm->allocPixels(SkImageInfo::Make(w, h, kAlpha_8_SkColorType,
/external/skia/tests/
H A DBitmapCopyTest.cpp84 // Utility function to read the value of a given pixel in bm. All
86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { argument
90 SkAutoLockPixels lock(bm);
91 const void* rawAddr = bm.getAddr(x,y);
93 switch (bm.bytesPerPixel()) {
111 // Utility function to set value of any pixel in bm.
112 // bm.getConfig() specifies what format 'val' must be
114 static void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { argument
117 SkAutoLockPixels lock(bm);
118 void* rawAddr = bm
180 writeCoordPixels(SkBitmap& bm, const Coordinates& coords) argument
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureShader.cpp109 SkBitmap bm; local
110 if (!bm.tryAllocN32Pixels(tileSize.width(), tileSize.height())) {
113 bm.eraseColor(SK_ColorTRANSPARENT);
115 SkCanvas canvas(bm);
124 fCachedBitmapShader.reset(CreateBitmapShader(bm, fTmx, fTmy, &shaderMatrix));
H A DSkRecordDraw.cpp343 const SkBitmap& bm = op.bitmap; local
344 return Bounds::MakeXYWH(op.left, op.top, bm.width(), bm.height()); // Ignores the matrix.
363 const SkBitmap& bm = op.bitmap; local
364 return this->adjustAndMap(SkRect::MakeXYWH(op.left, op.top, bm.width(), bm.height()),
368 const SkBitmap& bm = op.bitmap; local
369 SkRect dst = SkRect::MakeWH(bm.width(), bm.height());
/external/chromium_org/skia/ext/
H A Dpixel_ref_utils.cc50 GatherPixelRefDevice(const SkBitmap& bm, argument
52 : SkBitmapDevice(bm), pixel_ref_set_(pixel_ref_set) {}
336 void AddBitmap(const SkBitmap& bm, const SkRect& rect) { argument
340 pixel_ref_set_->Add(bm.pixelRef(), paint_rect);
343 bool GetBitmapFromPaint(const SkPaint& paint, SkBitmap* bm) { argument
349 return shader->asABitmap(bm, NULL, NULL);
/external/pixman/test/
H A Dutils.h205 uint32_t am, rm, gm, bm; member in struct:__anon28878
238 uint32_t *bm);

Completed in 450 milliseconds

<<11121314151617