Searched defs:bitmap (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/external/skia/gm/
H A Dsmallimage.cpp5 SkBitmap bitmap; local
6 if (GetResourceAsBitmap("randPixels.png", &bitmap)) {
7 canvas->drawBitmap(bitmap, 0.0f, 0.0f);
H A Dcolorfilteralpha8.cpp28 SkBitmap bitmap; variable
30 bitmap.allocPixels(info);
31 bitmap.eraseColor(0x88FFFFFF);
42 canvas->drawBitmap(bitmap, 100.0f, 100.0f, &paint);
H A Doverdrawcolorfilter.cpp12 static inline void set_bitmap(SkBitmap* bitmap, uint8_t alpha) { argument
13 for (int y = 0; y < bitmap->height(); y++) {
14 for (int x = 0; x < bitmap->width(); x++) {
15 uint8_t* addr = bitmap->getAddr8(x, y);
20 bitmap->notifyPixelsChanged();
46 SkBitmap bitmap; variable
47 bitmap.allocPixels(info);
48 set_bitmap(&bitmap, 0);
49 canvas->drawBitmap(bitmap, 0, 0, &paint);
50 set_bitmap(&bitmap,
[all...]
/external/pdfium/core/fpdfapi/page/
H A Dfpdf_page_func_embeddertest.cpp17 FPDF_BITMAP bitmap = RenderPage(page); local
18 CompareBitmap(bitmap, 612, 792, "1940568c9ba33bac5d0b1ee9558c76b3");
19 FPDFBitmap_Destroy(bitmap);
/external/pdfium/core/fpdfapi/render/
H A Dfpdf_render_loadimage_embeddertest.cpp16 FPDF_BITMAP bitmap = RenderPage(page); local
17 CompareBitmap(bitmap, 612, 792, "a14d7ee573c1b2456d7bf6b7762823cf");
18 FPDFBitmap_Destroy(bitmap);
27 FPDF_BITMAP bitmap = RenderPage(page); local
28 CompareBitmap(bitmap, 24, 24, "dc0ea1b743c2edb22c597cadc8537f7b");
29 FPDFBitmap_Destroy(bitmap);
38 FPDF_BITMAP bitmap = RenderPage(page); local
39 CompareBitmap(bitmap, 749, 749, "b9e75190cdc5edf0069a408744ca07dc");
40 FPDFBitmap_Destroy(bitmap);
H A Dfpdf_render_pattern_embeddertest.cpp14 FPDF_BITMAP bitmap = RenderPage(page); local
15 CompareBitmap(bitmap, 612, 792, "1940568c9ba33bac5d0b1ee9558c76b3");
16 FPDFBitmap_Destroy(bitmap);
/external/pdfium/core/fxcodec/codec/
H A Dfx_codec_embeddertest.cpp16 FPDF_BITMAP bitmap = RenderPage(page); local
17 CompareBitmap(bitmap, 691, 432, "24d75af646f8772c5ee7ced260452ae4");
18 FPDFBitmap_Destroy(bitmap);
/external/pdfium/core/fxge/ge/
H A Dfx_ge_text_embeddertest.cpp15 FPDF_BITMAP bitmap = RenderPage(page); local
16 FPDFBitmap_Destroy(bitmap);
/external/skia/tests/
H A DPictureShaderTest.cpp19 SkBitmap bitmap; local
20 bitmap.allocN32Pixels(1,1);
22 SkCanvas canvas(bitmap);
29 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN);
39 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN);
H A DPDFInvalidBitmapTest.cpp33 SkBitmap bitmap; local
34 bitmap.setInfo(imageInfo);
35 bitmap.setPixelRef(sk_make_sp<InvalidPixelRef>(imageInfo), 0 ,0);
36 return bitmap;
H A DPathOpsExtendedTest.h25 const SkPath& one, const SkPath& two, SkBitmap& bitmap);
29 SkBitmap bitmap; local
30 return comparePaths(reporter, filename, one, two, bitmap);
/external/skia/samplecode/
H A DDecodeFile.h16 static inline bool decode_file(const char* filename, SkBitmap* bitmap, argument
31 if (!bitmap->tryAllocPixels(info)) {
35 return SkCodec::kSuccess == codec->getPixels(info, bitmap->getPixels(), bitmap->rowBytes());
/external/webrtc/webrtc/modules/desktop_capture/
H A Ddesktop_frame_win.h23 // Frame data is stored in a GDI bitmap.
31 HBITMAP bitmap() { return bitmap_; } function in class:webrtc::DesktopFrameWin
38 HBITMAP bitmap);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapResource.java1 package com.bumptech.glide.load.resource.bitmap;
13 private final Bitmap bitmap; field in class:BitmapResource
20 * @param bitmap A Bitmap.
23 public static BitmapResource obtain(Bitmap bitmap, BitmapPool bitmapPool) { argument
24 if (bitmap == null) {
27 return new BitmapResource(bitmap, bitmapPool);
31 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { argument
32 if (bitmap == null) {
38 this.bitmap = bitmap;
[all...]
H A DBitmapEncoder.java1 package com.bumptech.glide.load.resource.bitmap;
42 final Bitmap bitmap = resource.get();
45 Bitmap.CompressFormat format = getFormat(bitmap);
46 bitmap.compress(format, quality, os);
48 Log.v(TAG, "Compressed with type: " + format + " of size " + Util.getBitmapByteSize(bitmap) + " in "
56 return "BitmapEncoder.com.bumptech.glide.load.resource.bitmap";
59 private Bitmap.CompressFormat getFormat(Bitmap bitmap) { argument
62 } else if (bitmap.hasAlpha()) {
H A DBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
9 * A bitmap decoder for a given resource type.
15 * Returns a decoded bitmap for a given resource and target dimensions.
18 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or
19 * obtained from the pool other than the bitmap returned by this method should be returned to the
21 * @param outWidth The target width for the returned bitmap (need not match exactly).
22 * @param outHeight The target height for the returned bitmap (need not match exactly).
23 * @param decodeFormat The desired configuration for the returned bitmap.
H A DBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
H A DBitmapTransformation.java1 package com.bumptech.glide.load.resource.bitmap;
71 * @param outWidth The ideal width of the transformed bitmap (does not need to match exactly).
72 * @param outHeight The ideal height of the transformed bitmap (does not need to match exactly).
/external/c-ares/
H A Dares_getsock.c31 int bitmap = 0; local
50 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
62 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
66 bitmap |= ARES_GETSOCK_WRITABLE(setbits, sockindex);
71 return bitmap;
/external/jemalloc/test/unit/
H A Dbitmap.c30 bitmap_t *bitmap = (bitmap_t *)malloc( local
32 bitmap_init(bitmap, &binfo);
35 assert_false(bitmap_get(bitmap, &binfo, j),
38 free(bitmap);
53 bitmap_t *bitmap = (bitmap_t *)malloc( local
55 bitmap_init(bitmap, &binfo);
58 bitmap_set(bitmap, &binfo, j);
59 assert_true(bitmap_full(bitmap, &binfo),
61 free(bitmap);
76 bitmap_t *bitmap local
105 bitmap_t *bitmap = (bitmap_t *)malloc( local
[all...]
/external/pdfium/fpdfsdk/
H A Dfpdfeditimg_unittest.cpp58 FPDF_BITMAP bitmap = FPDFBitmap_Create(kBitmapSize, kBitmapSize, 0); local
59 FPDFBitmap_FillRect(bitmap, 0, 0, kBitmapSize, kBitmapSize, 0x00000000);
60 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetWidth(bitmap));
61 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetHeight(bitmap));
64 ASSERT_TRUE(FPDFImageObj_SetBitmap(&page, 0, page_image, bitmap));
71 FPDFBitmap_Destroy(bitmap);
/external/selinux/libsepol/tests/
H A Ddebug.c27 void print_ebitmap(ebitmap_t * bitmap, FILE * fp) argument
30 for (i = 0; i < bitmap->highbit; i++) {
31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i));
/external/skia/bench/
H A DReadPixBench.cpp43 SkBitmap bitmap; variable
45 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize));
50 canvas->readPixels(&bitmap, x * offX, y * offY);
/external/swiftshader/src/Main/
H A DFrameBufferGDI.hpp52 HBITMAP bitmap; member in class:sw::FrameBufferGDI
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruPoolStrategy.java6 void put(Bitmap bitmap); argument
9 String logBitmap(Bitmap bitmap); argument
11 int getSize(Bitmap bitmap); argument

Completed in 1423 milliseconds

1234567891011>>