Searched defs:bitmap (Results 26 - 50 of 292) sorted by relevance

1234567891011>>

/external/jemalloc/src/
H A Dbitmap.c52 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo) argument
58 * Bits are actually inverted with regard to the external bitmap
59 * interface, so the bitmap starts out with all 1 bits, except for
64 memset(bitmap, 0xffU, binfo->levels[binfo->nlevels].group_offset <<
69 bitmap[binfo->levels[1].group_offset - 1] >>= extra;
76 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
/external/linux-tools-perf/src/tools/perf/util/
H A Dbitmap.c2 * From lib/bitmap.c
3 * Helper functions for bitmap.h.
8 #include <linux/bitmap.h>
10 int __bitmap_weight(const unsigned long *bitmap, int bits) argument
15 w += hweight_long(bitmap[k]);
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
/external/pdfium/fpdfsdk/src/
H A Dfpdf_progressive.cpp17 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start( FPDF_BITMAP bitmap, FPDF_PAGE page, argument
22 if (bitmap == NULL || page == NULL)
37 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
39 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
43 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
45 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
H A Dfpdfeditimg.cpp56 DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_SetBitmap(FPDF_PAGE* pages,int nCount,FPDF_PAGEOBJECT image_object,FPDF_BITMAP bitmap) argument
58 if (!image_object || !bitmap)
61 pBmp = (CFX_DIBitmap*)bitmap;
/external/skia/dm/
H A DDMSrcSinkAndroid.cpp40 SkBitmap* bitmap,
66 return fSink->draw(proxy, bitmap, stream, log);
39 draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const argument
/external/skia/gm/
H A Dbitmappremul.cpp14 * This GM checks that bitmap pixels are unpremultiplied before being exported
18 * This tests both the ARGB4444 and ARGB8888 bitmap configurations.
25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { argument
26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct,
28 bitmap->eraseColor(SK_ColorWHITE);
32 SkBitmap bitmap; local
33 init_bitmap(kN32_SkColorType, &bitmap);
36 uint32_t* dst = bitmap.getAddr32(0, y);
45 return bitmap;
49 SkBitmap bitmap; local
66 SkBitmap bitmap; local
85 SkBitmap bitmap; local
[all...]
H A Dextractbitmap.cpp17 static void create_bitmap(SkBitmap* bitmap) { argument
20 bitmap->allocN32Pixels(W, H);
22 SkCanvas canvas(*bitmap);
44 SkBitmap bitmap; variable
45 create_bitmap(&bitmap); variable
46 int x = bitmap.width() / 2;
47 int y = bitmap.height() / 2;
51 canvas->drawBitmap(bitmap, 0, 0);
56 // Draw the bottom right fourth of the bitmap over the top left
58 bitmap
[all...]
/external/skia/include/effects/
H A DSkBitmapSource.h16 static SkBitmapSource* Create(const SkBitmap& bitmap) { argument
17 return SkNEW_ARGS(SkBitmapSource, (bitmap));
19 static SkBitmapSource* Create(const SkBitmap& bitmap, argument
22 return SkNEW_ARGS(SkBitmapSource, (bitmap, srcRect, dstRect, filterQuality));
30 explicit SkBitmapSource(const SkBitmap& bitmap);
31 SkBitmapSource(const SkBitmap& bitmap,
/external/skia/samplecode/
H A DSampleWritePixels.cpp19 static void create_bitmap(SkBitmap* bitmap) { argument
22 bitmap->allocN32Pixels(W, H);
24 SkCanvas canvas(*bitmap);
47 SkBitmap bitmap; local
48 create_bitmap(&bitmap);
49 int x = bitmap.width() / 2;
50 int y = bitmap.height() / 2;
53 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
57 canvas->writePixels(bitmap, 0, 0);
/external/skia/src/utils/
H A DSkBitmapHasher.cpp33 /*static*/ bool SkBitmapHasher::ComputeDigestInternal(const SkBitmap& bitmap, uint64_t *result) { argument
37 write_int32_to_buffer(SkToU32(bitmap.width()), &out);
38 write_int32_to_buffer(SkToU32(bitmap.height()), &out);
42 if (!enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality)) {
52 /*static*/ bool SkBitmapHasher::ComputeDigest(const SkBitmap& bitmap, uint64_t *result) { argument
53 if (ComputeDigestInternal(bitmap, result)) {
58 // version of the bitmap it will work better?
60 if (!bitmap.copyTo(&copyBitmap, kN32_SkColorType)) {
/external/skia/tests/
H A DPipeTest.cpp16 // Ensures that the pipe gracefully handles drawing an invalid bitmap.
45 SkBitmap bitmap; local
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64));
47 SkCanvas canvas(bitmap);
/external/skia/tools/
H A Dchrome_fuzz.cpp29 static void run_test_case(const SkString& testdata, const SkBitmap& bitmap, argument
48 canvas->drawBitmap(bitmap, 0, 0, &paint);
57 static bool read_and_run_test_case(const char* filename, const SkBitmap& bitmap, argument
64 run_test_case(testdata, bitmap, canvas);
70 SkBitmap bitmap; local
71 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize);
72 SkCanvas canvas(bitmap);
75 if (!read_and_run_test_case(argv[i], bitmap, &canvas))
H A Ddump_record.cpp27 SkBitmap bitmap; local
28 bitmap.allocN32Pixels(w, h);
29 SkCanvas canvas(bitmap);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dp2p_hostapd.c96 u8 bitmap; local
105 bitmap = P2P_MAN_DEVICE_MANAGEMENT;
107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED;
108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL;
109 *eid++ = bitmap;
/external/wpa_supplicant_8/src/ap/
H A Dp2p_hostapd.c96 u8 bitmap; local
105 bitmap = P2P_MAN_DEVICE_MANAGEMENT;
107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED;
108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL;
109 *eid++ = bitmap;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dp2p_hostapd.c96 u8 bitmap; local
105 bitmap = P2P_MAN_DEVICE_MANAGEMENT;
107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED;
108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL;
109 *eid++ = bitmap;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DBitmapPool.java47 * @param bitmap The {@link android.graphics.Bitmap} to attempt to add.
49 boolean put(Bitmap bitmap); argument
68 * bitmap.eraseColor(Color.TRANSPARENT);
H A DBitmapPoolAdapter.java21 public boolean put(Bitmap bitmap) { argument
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DFileDescriptorBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DImageVideoDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DStreamBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DStreamBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
16 * {@link com.bumptech.glide.load.resource.bitmap.Downsampler} to decode an {@link android.graphics.Bitmap} from an
20 private static final String ID = "StreamBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
50 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat);
51 return BitmapResource.obtain(bitmap, bitmapPool);
H A DVideoBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
13 * An {@link com.bumptech.glide.load.resource.bitmap.BitmapDecoder} that can decode a thumbnail frame
44 return "VideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
H A DTextureUtil.java53 private static void buildMipmap(Bitmap bitmap) { argument
55 int height = bitmap.getHeight();
56 int width = bitmap.getWidth();
59 //First of all, generate the texture from our bitmap and set it to the according level
60 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, level, bitmap, 0);
71 Bitmap bitmap2 = Bitmap.createScaledBitmap(bitmap, width, height, true);
73 //bitmap.recycle();
74 bitmap = bitmap2;
79 * <code>uploadTextureBitmap</code> uploads a native android bitmap
81 * @param bitmap
85 uploadTextureBitmap(final int target, Bitmap bitmap, boolean generateMips, boolean powerOf2) argument
[all...]
/external/pdfium/third_party/freetype/src/raster/
H A Dftrend1.c98 /* convert a slot's glyph image into a bitmap */
109 FT_Bitmap* bitmap; local
187 bitmap = &slot->bitmap;
190 /* release old bitmap buffer */
193 FT_FREE( bitmap->buffer );
202 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
203 bitmap->num_grays = 256;
208 bitmap->pixel_mode = FT_PIXEL_MODE_MONO;
211 bitmap
[all...]

Completed in 515 milliseconds

1234567891011>>