/external/chromium_org/third_party/skia/dm/ |
H A D | DMPipeTask.cpp | 9 DEFINE_bool(pipe, true, "If true, check several pipe variants against the reference bitmap."); 47 SkBitmap bitmap; local 48 AllocatePixels(fReference, &bitmap); 50 SkCanvas canvas(bitmap); 56 bitmap.width(), 57 bitmap.height()); 63 if (!BitmapsEqual(bitmap, fReference)) { 65 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, "GM", bitmap)));
|
H A D | DMUtil.h | 26 // Allocate an empty bitmap with this size and depth. 27 void AllocatePixels(SkColorType, int w, int h, SkBitmap* bitmap); 28 // Allocate an empty bitmap the same size and depth as reference. 29 void AllocatePixels(const SkBitmap& reference, SkBitmap* bitmap); 31 // Draw picture to bitmap. 32 void DrawPicture(const SkPicture& picture, SkBitmap* bitmap);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkBitmapHasher.cpp | 33 /*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(©Bitmap, kN32_SkColorType)) {
|
/external/skia/dm/ |
H A D | DMPipeTask.cpp | 9 DEFINE_bool(pipe, true, "If true, check several pipe variants against the reference bitmap."); 47 SkBitmap bitmap; local 48 AllocatePixels(fReference, &bitmap); 50 SkCanvas canvas(bitmap); 56 bitmap.width(), 57 bitmap.height()); 62 if (!BitmapsEqual(bitmap, fReference)) { 64 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
|
H A D | DMUtil.h | 26 // Allocate an empty bitmap with this size and depth. 27 void AllocatePixels(SkColorType, int w, int h, SkBitmap* bitmap); 28 // Allocate an empty bitmap the same size and depth as reference. 29 void AllocatePixels(const SkBitmap& reference, SkBitmap* bitmap); 31 // Draw picture to bitmap. 32 void DrawPicture(SkPicture* picture, SkBitmap* bitmap);
|
/external/skia/src/image/ |
H A D | SkImage_Gpu.cpp | 38 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));
|
H A D | SkImage.cpp | 54 bool SkImage::readPixels(SkBitmap* bitmap, const SkIRect* subset) const { argument 55 if (NULL == bitmap) { 61 // trim against the bitmap, if its already been allocated 62 if (bitmap->pixelRef()) { 63 bounds.fRight = SkMin32(bounds.fRight, bitmap->width()); 64 bounds.fBottom = SkMin32(bounds.fBottom, bitmap->height()); 71 // perhaps we could return true + empty-bitmap? 74 return as_IB(this)->onReadPixels(bitmap, bounds); 105 bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const { argument 106 if (bitmap [all...] |
/external/skia/src/utils/ |
H A D | SkBitmapHasher.cpp | 33 /*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(©Bitmap, kN32_SkColorType)) {
|
/external/chromium_org/ui/base/dragdrop/ |
H A D | drag_utils_win.cc | 48 HBITMAP bitmap = local 51 if (!bitmap || !bits) 57 return bitmap; 65 // by premultiplied colors, so unpremultiply the bitmap. 66 // SetDragImageOnDataObject(HBITMAP) takes ownership of the bitmap. 67 HBITMAP bitmap = CreateHBITMAPFromSkBitmap( local 68 SkBitmapOperations::UnPreMultiply(*image_skia.bitmap())); 69 if (bitmap) { 70 // Attach 'bitmap' to the data_object. 72 bitmap, [all...] |
/external/chromium_org/cc/blink/ |
H A D | web_external_texture_layer_impl.cc | 70 WebExternalBitmapImpl* bitmap = NULL; local 73 bitmap = AllocateBitmap(); 74 if (!client_->prepareMailbox(&client_mailbox, bitmap)) { 75 if (bitmap) 76 free_bitmaps_.push_back(bitmap); 81 if (bitmap) { 82 *mailbox = cc::TextureMailbox(bitmap->shared_memory(), bitmap->size()); 94 bitmap)); 113 WebExternalBitmapImpl* bitmap, 110 DidReleaseMailbox( base::WeakPtr<WebExternalTextureLayerImpl> layer, const blink::WebExternalTextureMailbox& mailbox, WebExternalBitmapImpl* bitmap, unsigned sync_point, bool lost_resource) argument [all...] |
/external/chromium_org/ui/views/controls/table/ |
H A D | test_table_model.cc | 31 SkBitmap bitmap; local 32 bitmap.setInfo(SkImageInfo::MakeN32Premul(16, 16)); 33 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/ |
H A D | module.mk | 20 $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer$(ECHO_DRIVER_DONE) 22 $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for LCDs$(ECHO_DRIVER_DONE) 24 $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for vertical LCDs$(ECHO_DRIVER_DONE)
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsContextTest.cpp | 48 #define EXPECT_PIXELS_MATCH(bitmap, opaqueRect) \ 50 SkAutoLockPixels locker(bitmap); \ 53 int alpha = *bitmap.getAddr32(x, y) >> 24; \ 58 #define EXPECT_PIXELS_MATCH_EXACT(bitmap, opaqueRect) \ 60 SkAutoLockPixels locker(bitmap); \ 61 for (int y = 0; y < bitmap.height(); ++y) \ 62 for (int x = 0; x < bitmap.width(); ++x) { \ 63 int alpha = *bitmap.getAddr32(x, y) >> 24; \ 71 SkBitmap bitmap; local 72 bitmap 129 SkBitmap bitmap; local 223 SkBitmap bitmap; local 261 SkBitmap bitmap; local 302 SkBitmap bitmap; local 359 SkBitmap bitmap; local 453 SkBitmap bitmap; local 511 SkBitmap bitmap; local 593 SkBitmap bitmap; local 649 SkBitmap bitmap; local 694 SkBitmap bitmap; local 738 SkBitmap bitmap; local 790 SkBitmap bitmap; local 842 SkBitmap bitmap; local 890 SkBitmap bitmap; local 924 SkBitmap bitmap; local 969 SkBitmap bitmap; local 1049 SkBitmap bitmap; local 1089 SkBitmap bitmap; local 1127 SkBitmap bitmap; local 1161 SkBitmap bitmap; local [all...] |
/external/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 4 /* Maximum bitmap bit count is 2^LG_BITMAP_MAXBITS. */ 32 /* Logical number of bits in bitmap (stored at bottom level). */ 52 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo); 59 bool bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo); 60 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 61 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 62 size_t bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo); 63 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 68 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 71 bitmap_t rg = bitmap[rgof 77 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 89 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 123 bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 145 bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument [all...] |
/external/chromium_org/cc/output/ |
H A D | copy_output_result.cc | 15 CopyOutputResult::CopyOutputResult(scoped_ptr<SkBitmap> bitmap) argument 16 : size_(bitmap->width(), bitmap->height()), 17 bitmap_(bitmap.Pass()) {
|
/external/chromium_org/mojo/aura/ |
H A D | window_tree_host_mojo_delegate.h | 16 virtual void CompositorContentsChanged(const SkBitmap& bitmap) = 0;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/ |
H A D | DecodeFormat.java | 4 import com.bumptech.glide.load.resource.bitmap.BitmapDecoder;
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
H A D | Util.java | 31 public static int getSize(Bitmap bitmap) { argument 33 return bitmap.getAllocationByteCount(); 35 return bitmap.getHeight() * bitmap.getRowBytes();
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/ |
H A D | module.mk | 20 $(ECHO_DRIVER)raster $(ECHO_DRIVER_DESC)monochrome bitmap renderer$(ECHO_DRIVER_DONE)
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
H A D | SDL_pgvideo.h | 45 pghandle bitmap; member in struct:SDL_PrivateVideoData
|
/external/chromium_org/cc/resources/ |
H A D | resource_update.h | 20 const SkBitmap* bitmap, 29 const SkBitmap* bitmap; member in struct:cc::ResourceUpdate
|
/external/chromium_org/third_party/skia/include/utils/ |
H A D | SkNinePatch.h | 23 const SkBitmap& bitmap, const SkIRect& margins, 27 const SkBitmap& bitmap,
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | bitmap_unittest.py | 10 from telemetry.core import bitmap namespace 30 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 35 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 41 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 46 self.assertEqual(bitmap.HistogramDistance(hist1, hist2), 0) 51 self.assertEqual(bitmap.HistogramDistance(hist1, hist2), 2) 52 self.assertEqual(bitmap.HistogramDistance(hist2, hist1), 2) 57 self.assertEqual(bitmap.HistogramDistance(hist1, hist2), 1) 58 self.assertEqual(bitmap.HistogramDistance(hist2, hist1), 1) 62 self.assertEqual(bitmap [all...] |
/external/libsepol/tests/ |
H A D | debug.h | 26 extern void print_ebitmap(ebitmap_t * bitmap, FILE * fp);
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
H A D | GdiPlusCachedBitmap.h | 28 * An object to store a bitmap prepared for rendering on a particular
31 * initializing the data (with a bitmap) and using the graphics to
44 IN Bitmap *bitmap,
50 (GpBitmap *)bitmap->nativeImage,
43 CachedBitmap( IN Bitmap *bitmap, IN Graphics *graphics) argument
|