Searched defs:bitmap (Results 226 - 250 of 826) sorted by relevance

1234567891011>>

/external/chromium_org/ui/views/controls/button/
H A Dlabel_button_unittest.cc20 SkBitmap bitmap; local
21 bitmap.allocN32Pixels(width, height);
22 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/freetype/src/base/
H A Dftlcdfil.c5 /* FreeType API for color filtering of subpixel bitmap glyphs (body). */
34 _ft_lcd_filter_fir( FT_Bitmap* bitmap, argument
39 FT_UInt width = (FT_UInt)bitmap->width;
40 FT_UInt height = (FT_UInt)bitmap->rows;
46 FT_Byte* line = bitmap->buffer;
52 for ( ; height > 0; height--, line += bitmap->pitch )
105 FT_Byte* column = bitmap->buffer;
106 FT_Int pitch = bitmap->pitch;
169 _ft_lcd_filter_legacy( FT_Bitmap* bitmap, argument
173 FT_UInt width = (FT_UInt)bitmap
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DSerialBitmapReferenceCounter.java58 public void acquireBitmap(Bitmap bitmap) { argument
59 initBitmap(bitmap);
60 counter.get(bitmap).acquire();
64 public void releaseBitmap(Bitmap bitmap) { argument
65 final InnerTracker tracker = counter.get(bitmap);
67 recycle(tracker, bitmap);
71 private void recycle(InnerTracker tracker, Bitmap bitmap) { argument
72 if (!target.put(bitmap)) {
73 bitmap.recycle();
75 counter.remove(bitmap);
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DTransformationUtils.java4 package com.bumptech.glide.load.resource.bitmap;
74 * @param pool The BitmapPool to try to reuse a bitmap from.
93 // overdraw, not underdraw, to avoid artifacts from bitmap reuse.
159 * @return The oriented bitmap. May be the imageToOrient without modification, or a new Bitmap.
173 * @return The oriented bitmap. May be the imageToOrient without modification, or a new Bitmap.
229 * @param toOrient The bitmap to rotate/flip
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftlcdfil.c6 /* FreeType API for color filtering of subpixel bitmap glyphs (body). */
35 _ft_lcd_filter_fir( FT_Bitmap* bitmap, argument
40 FT_UInt width = (FT_UInt)bitmap->width;
41 FT_UInt height = (FT_UInt)bitmap->rows;
47 FT_Byte* line = bitmap->buffer;
50 for ( ; height > 0; height--, line += bitmap->pitch )
104 FT_Byte* column = bitmap->buffer;
105 FT_Int pitch = bitmap->pitch;
169 _ft_lcd_filter_legacy( FT_Bitmap* bitmap, argument
173 FT_UInt width = (FT_UInt)bitmap
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_BView.h78 virtual void SetBitmap(BBitmap *bitmap) { argument
82 image = bitmap;
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacavideo.h53 struct caca_bitmap *bitmap; member in struct:SDL_PrivateVideoData
64 #define Caca_bitmap (this->hidden->bitmap)
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestbitmap.c2 /* Simple program: Test bitmap blits */
20 SDL_Surface *bitmap; local
23 /* Allocate the bitmap */
24 bitmap = SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 1, 0, 0, 0, 0);
25 if ( bitmap == NULL ) {
26 fprintf(stderr, "Couldn't allocate bitmap: %s\n",
32 line = (Uint8 *)bitmap->pixels;
47 line += bitmap->pitch;
50 return(bitmap);
56 SDL_Surface *bitmap; local
[all...]
/external/skia/bench/
H A DPictureRecordBench.cpp86 // create a simple bitmap
87 SkBitmap bitmap; variable
88 bitmap.allocPixels(SkImageInfo::Make(10, 10,
91 // draw a single color into the bitmap
92 SkCanvas bitmapCanvas(bitmap);
95 // draw the bitmap onto the canvas
96 canvas->drawBitmapMatrix(bitmap, matrix);
/external/skia/dm/
H A DDMBenchTask.cpp56 SkBitmap bitmap; local
57 AllocatePixels(colorType, bench->getSize().x(), bench->getSize().y(), &bitmap);
58 SkCanvas canvas(bitmap);
/external/skia/experimental/Intersection/
H A DEdgeWalkerQuadratics_Test.cpp11 static SkBitmap bitmap; variable
21 testSimplify(path, true, out, bitmap);
32 testSimplify(path, true, out, bitmap);
43 testSimplify(path, true, out, bitmap);
54 testSimplify(path, true, out, bitmap);
68 testSimplify(path, true, out, bitmap);
82 testSimplify(path, true, out, bitmap);
96 testSimplify(path, true, out, bitmap);
110 testSimplify(path, true, out, bitmap);
124 testSimplify(path, true, out, bitmap);
[all...]
/external/skia/gm/
H A Ddeviceproperties.cpp41 SkBitmap bitmap; local
42 bitmap.allocN32Pixels(size.width(), size.height());
47 SkBitmapDevice device(bitmap, properties);
93 originalCanvas->drawBitmap(bitmap, 0, 0);
H A Ddisplacement.cpp46 void make_checkerboard(SkBitmap* bitmap, int w, int h) { argument
47 bitmap->allocN32Pixels(w, h);
48 SkCanvas canvas(*bitmap);
209 // and color should use the same bitmap, given to SkCanvas::drawBitmap()
H A Dgm_expectations.h41 explicit GmResultDigest(const SkBitmap &bitmap);
46 * ["bitmap-64bitMD5", 12345].
64 * such as ["bitmap-64bitMD5", 12345].
69 * Returns the hashtype, such as "bitmap-64bitMD5", as an SkString.
88 explicit BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {} argument
108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure);
150 * than a single bitmap), returns NULL.
H A Dimagefiltersgraph.cpp108 void drawClippedBitmap(SkCanvas* canvas, const SkBitmap& bitmap, const SkPaint& paint) { argument
111 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())));
112 canvas->drawBitmap(bitmap, 0, 0, &paint);
H A Dninepatchstretch.cpp10 static void make_bitmap(SkBitmap* bitmap, SkIRect* center) { argument
15 bitmap->allocN32Pixels(kSize, kSize);
16 SkCanvas canvas(*bitmap);
H A Dresizeimagefilter.cpp95 SkBitmap bitmap; local
96 bitmap.allocN32Pixels(16, 16);
97 bitmap.eraseARGB(0x00, 0x00, 0x00, 0x00);
99 SkBitmapDevice bitmapDevice(bitmap);
109 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
H A Dtileimagefilter.cpp78 SkBitmap* bitmap = (i & 0x01) ? &fCheckerboard : &fBitmap; local
79 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4),
80 SkIntToScalar(bitmap->height()/4),
81 SkIntToScalar(bitmap->width()/(i+1)),
82 SkIntToScalar(bitmap->height()/(i+1)));
85 SkIntToScalar(bitmap->width() - i * 12),
86 SkIntToScalar(bitmap->height()) - i * 12);
87 SkAutoTUnref<SkImageFilter> tileInput(SkBitmapSource::Create(*bitmap));
96 x += bitmap->width() + MARGIN;
97 if (x + bitmap
[all...]
/external/skia/samplecode/
H A DSampleAARects.cpp16 SkBitmap bitmap; local
17 bitmap.allocN32Pixels(n, n);
18 bitmap.eraseColor(SK_ColorGREEN);
20 SkCanvas canvas(bitmap);
34 return bitmap;
/external/skia/src/core/
H A DSkBlitBWMaskTemplate.h19 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS)
26 static void SK_BLITBWMASK_NAME(const SkBitmap& bitmap, const SkMask& srcMask, const SkIRect& clip SK_BLITBWMASK_ARGS) argument
34 size_t bitmap_rowBytes = bitmap.rowBytes();
42 SK_BLITBWMASK_DEVTYPE* device = bitmap.SK_BLITBWMASK_GETADDR(cx, cy);
/external/skia/src/image/
H A DSkImage_Gpu.cpp38 SkImage_Gpu::SkImage_Gpu(const SkBitmap& bitmap) argument
39 : INHERITED(bitmap.width(), bitmap.height())
40 , fBitmap(bitmap) {
67 SkImage* SkImage::NewTexture(const SkBitmap& bitmap) { argument
68 if (NULL == bitmap.getTexture()) {
72 return SkNEW_ARGS(SkImage_Gpu, (bitmap));
/external/skia/src/images/
H A DSkImageEncoder_argb.cpp89 bool SkARGBImageEncoder::onEncode(SkWStream* stream, const SkBitmap& bitmap, int) { argument
90 const ScanlineImporter scanline_import = ChooseImporter(bitmap.colorType());
95 SkAutoLockPixels alp(bitmap);
96 const uint8_t* src = (uint8_t*)bitmap.getPixels();
97 if (NULL == bitmap.getPixels()) {
102 const SkPMColor* colors = ctLocker.lockColors(bitmap);
104 const int argbStride = bitmap.width() * 4;
107 for (int y = 0; y < bitmap.height(); ++y) {
108 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap
[all...]
/external/skia/src/pipe/utils/
H A DSamplePipeControllers.cpp43 TiledPipeController::TiledPipeController(const SkBitmap& bitmap, argument
49 int32_t height = bitmap.height() / NumberOfTiles;
52 bottom = i + 1 == NumberOfTiles ? bitmap.height() : top + height;
53 rect.setLTRB(0, top, bitmap.width(), bottom);
56 SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect);
/external/skia/src/utils/
H A DSkPathUtils.cpp99 const char* bitmap,
101 // loop for every line in bitmap
104 //l2p_fn(path, &bitmap[i*stride], i, w);
105 Line2path_span(path, &bitmap[i*stride], i, w);
111 const char* bitmap,
119 const char* line = &bitmap[y * stride];
98 BitsToPath_Path(SkPath* path, const char* bitmap, int w, int h, int stride) argument
110 BitsToPath_Region(SkPath* path, const char* bitmap, int w, int h, int stride) argument
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp87 bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) const { argument
90 switch (bitmap->colorType()) {
108 // Upload the bitmap data to OpenCL
109 bitmap->lockPixels();
111 &bitmapFormat, bitmap->width(), bitmap->height(),
112 bitmap->rowBytes(), bitmap->getPixels(),
114 bitmap->unlockPixels();

Completed in 392 milliseconds

1234567891011>>