HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 201 - 225 of 800) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/freetype/src/smooth/
ftsmooth.c 97 /* convert a slot's glyph image into a bitmap */
107 FT_Bitmap* bitmap = &slot->bitmap; local
205 * XXX: on 16bit system, we return an error for huge bitmap
225 /* release old bitmap buffer */
228 FT_FREE( bitmap->buffer );
233 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)( pitch * height ) ) )
244 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
245 bitmap->num_grays = 256;
246 bitmap->width = (unsigned int)width
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
RecyclableBufferedInputStream.java 1 package com.bumptech.glide.load.resource.bitmap;
  /external/libvncserver/examples/
example.c 230 char bitmap[]= local
263 c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap);
  /external/ltrace/sysdeps/linux-gnu/ia64/
trace.c 56 } bitmap; member in union:bundle_t
101 unsigned long bot = 0UL | bundle.bitmap.word0.bot_slot1;
102 unsigned long top = 0UL | bundle.bitmap.word1.top_slot1;
108 insn = bundle.bitmap.word1.slot2;
111 insn = bundle.bitmap.word0.slot0;
  /external/opencv/otherlibs/highgui/
grfmt_imageio.cpp 136 CGContextRef context = NULL; // The bitmap context
138 uchar* bitmap = NULL; local
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
159 if( !bitmap )
165 context = CGBitmapContextCreate( (void *)bitmap,
176 free( bitmap );
180 // Copy the image data into the bitmap region
187 free( bitmap);
192 // Move the bitmap (in RGB) into data (in BGR)
220 memcpy (data + y * step, bitmap + y * m_width, m_width)
    [all...]
  /external/openssh/
bitmap.c 23 #include "bitmap.h"
30 struct bitmap { struct
36 struct bitmap *
39 struct bitmap *ret;
53 bitmap_free(struct bitmap *b)
63 bitmap_zero(struct bitmap *b)
70 bitmap_test_bit(struct bitmap *b, u_int n)
80 reserve(struct bitmap *b, u_int n)
99 bitmap_set_bit(struct bitmap *b, u_int n)
115 retop(struct bitmap *b
    [all...]
  /external/pdfium/third_party/freetype/include/
ftglyph.h 63 /* bitmap, a vector outline, or even images in other formats. */
80 /* bitmap or pointer. */
124 /* A handle to an object used to model a bitmap glyph image. This is */
136 /* A structure used for bitmap glyph images. This really is a */
144 /* glyph bitmap. */
148 /* bitmap. This distance is positive for upwards~y! */
150 /* bitmap :: A descriptor for the bitmap. */
155 /* the bitmap's contents easily. */
165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_
    [all...]
  /external/pdfium/third_party/freetype/src/smooth/
ftsmooth.c 97 /* convert a slot's glyph image into a bitmap */
107 FT_Bitmap* bitmap = &slot->bitmap; local
205 * XXX: on 16bit system, we return an error for huge bitmap
225 /* release old bitmap buffer */
228 FT_FREE( bitmap->buffer );
233 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)pitch * height ) )
244 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
245 bitmap->num_grays = 256;
246 bitmap->width = width
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
HudSystem.java 300 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local
301 if (bitmap != null) {
302 bitmap.resize(barWidth, mFuelDrawable.getHeight());
303 bitmap.setTexture(mFuelDrawable.getTexture());
304 render.scheduleForDraw(bitmap, location, SortConstants.HUD + 1, false);
314 DrawableBitmap bitmap = mFlyButtonEnabledDrawable; local
316 bitmap = mFlyButtonDepressedDrawable;
318 bitmap = mFlyButtonDisabledDrawable;
321 if (bitmap.getWidth() == 0) {
323 Texture tex = bitmap.getTexture()
334 DrawableBitmap bitmap = mStompButtonEnabledDrawable; local
371 DrawableBitmap bitmap = mMovementSliderButtonDrawable; local
452 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBitmapDrawable.java 6 import android.graphics.Bitmap;
20 private Bitmap bitmap; field in class:ShadowBitmapDrawable
29 public void __constructor__(Bitmap bitmap) {
30 this.bitmap = bitmap;
33 public void __constructor__(Resources resources, Bitmap bitmap) {
34 this.bitmap = bitmap
    [all...]
  /external/skia/experimental/nanomsg/
picture_demo.cpp 194 SkBitmap bitmap; local
195 bitmap.allocN32Pixels(1000, 1000);
196 SkCanvas canvas(bitmap);
202 SkImageEncoder::EncodeFile(FLAGS_png[0], bitmap, SkImageEncoder::kPNG_Type, 100);
  /external/skia/gm/
all_bitmap_configs.cpp 25 // Make either A8 or gray8 bitmap.
163 SkBitmap bitmap; local
164 if (GetResourceAsBitmap("color_wheel.png", &bitmap)) {
165 bitmap.setImmutable();
166 draw(canvas, p, bitmap, kN32_SkColorType, "Native 32");
169 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType);
175 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType);
bitmaprect.cpp 16 static void make_bitmap(SkBitmap* bitmap) {
17 bitmap->allocN32Pixels(64, 64);
19 SkCanvas canvas(*bitmap);
61 SkBitmap bitmap; variable
62 make_bitmap(&bitmap); variable
71 canvas->drawBitmap(bitmap, 0, 0, &paint);
73 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint);
75 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint);
91 static void make_3x3_bitmap(SkBitmap* bitmap) {
101 bitmap->allocN32Pixels(xSize, ySize, true)
139 SkBitmap bitmap; variable
140 make_3x3_bitmap(&bitmap); variable
    [all...]
mixedxfermodes.cpp 96 SkBitmap bitmap; variable
97 bitmap.allocN32Pixels(2, 2);
98 memcpy(bitmap.getPixels(), kCheckerPixelData, sizeof(kCheckerPixelData));
101 fBG.reset(SkShader::CreateBitmapShader(bitmap,
recordopts.cpp 74 SkBitmap bitmap; local
75 bitmap.allocN32Pixels(kTestRectSize, kTestRectSize);
76 bitmap.eraseColor(shapeColor);
78 // Make the bitmap non-uniform color, so that it can not be optimized as uniform drawRect.
79 SkCanvas canvas(bitmap);
93 canvas->drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0), &drawPaint);
xfermodes3.cpp 22 * This tests drawing device-covering rects with solid colors and bitmap shaders over a
168 SkBitmap bitmap; local
169 if (ropixels.asROBitmap(&bitmap)) {
170 canvas->drawBitmap(bitmap, 0, 0);
  /external/skia/samplecode/
SampleBitmapRect.cpp 31 static void make_bitmap(SkBitmap* bitmap) {
32 bitmap->allocN32Pixels(INT_SIZE, INT_SIZE);
33 SkCanvas canvas(*bitmap);
124 SkBitmap bitmap; variable
125 make_bitmap(&bitmap); variable
129 canvas->drawBitmap(bitmap, 0, 0, &paint);
134 canvas->drawBitmapRectToRect(bitmap, &srcR, fDstR[i], &paint);
  /external/skia/src/image/
SkImage_Raster.cpp 174 SkBitmap bitmap; local
175 if (!SkInstallDiscardablePixelRef(generator, &bitmap)) {
178 if (0 == bitmap.width() || 0 == bitmap.height()) {
182 return SkNEW_ARGS(SkImage_Raster, (bitmap, NULL));
  /external/skia/src/images/
SkDecodingImageGenerator.cpp 86 // a bitmap described by fInfo and fRowBytes
87 const size_t fRowBytes; // rowbytes for the destination bitmap
169 SkBitmap bitmap; local
172 const SkImageDecoder::Result decodeResult = decoder->decode(fStream, &bitmap, info.colorType(),
180 SkASSERT(bitmap.canCopyTo(info.colorType()));
181 bool copySuccess = bitmap.copyTo(&bm, info.colorType(), &allocator);
183 SkDEBUGFAIL("bitmap.copyTo(requestedConfig) failed.");
189 SkASSERT(check_alpha(info.alphaType(), bitmap.alphaType()));
193 if (kIndex_8_SkColorType != bitmap.colorType()) {
197 SkColorTable* ctable = bitmap.getColorTable()
239 SkBitmap bitmap; local
    [all...]
  /external/skia/src/utils/mac/
SkCreateCGImageRef.cpp 49 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local
50 delete bitmap;
124 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local
125 if (NULL == bitmap) {
129 const int w = bitmap->width();
130 const int h = bitmap->height();
131 const size_t s = bitmap->getSize();
133 // our provider "owns" the bitmap*, and will take care of deleting it
134 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release
136 bitmap->lockPixels()
216 SkBitmap bitmap; local
    [all...]
  /external/skia/tests/
CanvasStateTest.cpp 262 SkBitmap bitmap; local
263 bitmap.allocN32Pixels(10, 10);
264 SkCanvas canvas(bitmap);
286 SkBitmap bitmap; local
287 bitmap.allocN32Pixels(10, 10);
288 SkCanvas canvas(bitmap);
311 SkBitmap bitmap; local
312 bitmap.allocN32Pixels(WIDTH, HEIGHT);
313 SkCanvas canvas(bitmap);
TextureCompressionTest.cpp 45 SkBitmap bitmap; local
58 bool setInfoSuccess = bitmap.setInfo(info);
61 bitmap.allocPixels(info);
62 bitmap.unlockPixels();
69 SkAutoDataUnref data(SkTextureCompressor::CompressBitmapToFormat(bitmap, fmt));
75 * Make sure that we properly fail when we don't have the correct bitmap type.
79 SkBitmap bitmap; local
91 bool setInfoSuccess = bitmap.setInfo(info);
94 bitmap.allocPixels(info);
95 bitmap.unlockPixels()
112 SkBitmap bitmap; local
207 SkBitmap bitmap; local
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
DecodeHandler.java 74 BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); local
76 rawResult = multiFormatReader.decodeWithState(bitmap);
  /frameworks/base/core/java/android/app/
SharedElementCallback.java 20 import android.graphics.Bitmap;
46 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap";
176 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d); local
177 if (bitmap != null) {
179 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap);
221 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); local
222 if (bitmap == null)
237 Bitmap bitmap = (Bitmap) snapshot; local
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
ImageUtils.java 19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
41 // Size of the smaller bitmap we're actually going to scan.
45 private Bitmap mTempCompactBitmap;
51 * Checks whether a bitmap is grayscale. Grayscale here means "very close to a perfect
54 * Instead of scanning every pixel in the bitmap, we first resize the bitmap to no more than
58 public boolean isGrayscale(Bitmap bitmap) {
59 int height = bitmap.getHeight()
    [all...]

Completed in 1373 milliseconds

1 2 3 4 5 6 7 891011>>