Searched refs:bitmap (Results 126 - 150 of 1242) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_frame_win.cc21 HBITMAP bitmap)
23 bitmap_(bitmap),
37 // Describe a device independent bitmap (DIB) that is the size of the desktop.
50 HBITMAP bitmap = CreateDIBSection(hdc, &bmi, DIB_RGB_COLORS, &data, local
52 if (!bitmap) {
60 shared_memory, bitmap);
17 DesktopFrameWin(DesktopSize size, int stride, uint8_t* data, SharedMemory* shared_memory, HBITMAP bitmap) argument
/external/skia/dm/
H A DDMGpuGMTask.cpp39 SkBitmap bitmap; local
40 bitmap.setInfo(info);
41 canvas->readPixels(&bitmap, 0, 0);
43 this->spawnChild(SkNEW_ARGS(ExpectationsTask, (*this, fExpectations, bitmap)));
44 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
H A DDMRecordTask.cpp47 // Draw the SkRecord back into a bitmap.
48 SkBitmap bitmap; local
49 AllocatePixels(fReference, &bitmap);
50 SkCanvas target(bitmap);
53 if (!BitmapsEqual(bitmap, fReference)) {
55 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
H A DDMExpectations.h12 // Return true if bitmap is the correct output for task, else false.
13 virtual bool check(const Task& task, SkBitmap bitmap) const = 0;
26 bool check(const Task& task, SkBitmap bitmap) const SK_OVERRIDE {
36 const skiagm::GmResultDigest digest(bitmap);
/external/skia/gm/
H A Dpeekpixels.cpp42 SkBitmap bitmap; variable
49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) {
50 canvas->drawBitmap(bitmap, 0, 0, NULL);
57 if (ropixels.asROBitmap(&bitmap)) {
58 canvas->drawBitmap(bitmap, 0, 0, NULL);
/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/chromium_org/third_party/freetype/src/base/
H A Dftbitmap.c101 FT_Bitmap* bitmap,
113 width = bitmap->width;
114 height = bitmap->rows;
115 pitch = bitmap->pitch;
119 switch ( bitmap->pixel_mode )
153 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 );
154 FT_Byte* end = bitmap->buffer + pitch;
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) )
181 if ( bitmap->pitch > 0 )
186 for ( i = 0; i < bitmap
100 ft_bitmap_assure_buffer( FT_Memory memory, FT_Bitmap* bitmap, FT_UInt xpixels, FT_UInt ypixels ) argument
717 FT_Bitmap bitmap; local
[all...]
/external/freetype/src/base/
H A Dftbitmap.c101 FT_Bitmap* bitmap,
113 width = bitmap->width;
114 height = bitmap->rows;
115 pitch = bitmap->pitch;
119 switch ( bitmap->pixel_mode )
153 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 );
154 FT_Byte* end = bitmap->buffer + pitch;
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) )
181 if ( bitmap->pitch > 0 )
186 for ( i = 0; i < bitmap
100 ft_bitmap_assure_buffer( FT_Memory memory, FT_Bitmap* bitmap, FT_UInt xpixels, FT_UInt ypixels ) argument
710 FT_Bitmap bitmap; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftbitmap.c101 FT_Bitmap* bitmap,
113 width = bitmap->width;
114 height = bitmap->rows;
115 pitch = bitmap->pitch;
119 switch ( bitmap->pixel_mode )
153 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 );
154 FT_Byte* end = bitmap->buffer + pitch;
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) )
181 if ( bitmap->pitch > 0 )
186 for ( i = 0; i < bitmap
100 ft_bitmap_assure_buffer( FT_Memory memory, FT_Bitmap* bitmap, FT_UInt xpixels, FT_UInt ypixels ) argument
717 FT_Bitmap bitmap; local
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGr.cpp27 based bitmap. [palette (colortable) + indices].
37 static void build_compressed_data(void* buffer, const SkBitmap& bitmap) { argument
38 SkASSERT(kIndex_8_SkColorType == bitmap.colorType());
40 SkAutoLockPixels alp(bitmap);
41 if (!bitmap.readyToDraw()) {
42 SkDEBUGFAIL("bitmap not ready to draw!");
46 SkColorTable* ctable = bitmap.getColorTable();
70 if ((unsigned)bitmap.width() == bitmap.rowBytes()) {
71 memcpy(dst, bitmap
87 generate_bitmap_cache_id(const SkBitmap& bitmap, GrCacheID* id) argument
108 generate_bitmap_texture_desc(const SkBitmap& bitmap, GrTextureDesc* desc) argument
298 const SkBitmap* bitmap = &origBitmap; local
361 GrIsBitmapInCache(const GrContext* ctx, const SkBitmap& bitmap, const GrTextureParams* params) argument
372 GrLockAndRefCachedBitmapTexture(GrContext* ctx, const SkBitmap& bitmap, const GrTextureParams* params) argument
[all...]
/external/chromium_org/chrome/browser/thumbnails/
H A Dsimple_thumbnail_crop.cc43 const SkBitmap& bitmap) {
45 if (bitmap.isNull() || bitmap.empty())
49 bitmap,
62 double SimpleThumbnailCrop::CalculateBoringScore(const SkBitmap& bitmap) { argument
63 if (bitmap.isNull() || bitmap.empty())
66 color_utils::BuildLumaHistogram(bitmap, histogram);
69 int pixel_count = bitmap.width() * bitmap
40 ProcessBitmap( scoped_refptr<ThumbnailingContext> context, const ConsumerCallback& callback, const SkBitmap& bitmap) argument
73 GetClippedBitmap(const SkBitmap& bitmap, int desired_width, int desired_height, ClipResult* clip_result) argument
195 CreateThumbnail(const SkBitmap& bitmap, const gfx::Size& desired_size, ClipResult* clip_result) argument
[all...]
H A Dsimple_thumbnail_crop_unittest.cc27 SkBitmap bitmap; local
28 EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap));
37 SkBitmap bitmap = local
40 EXPECT_DOUBLE_EQ(1.0, SimpleThumbnailCrop::CalculateBoringScore(bitmap));
53 SkBitmap bitmap = local
55 ASSERT_EQ(kSize.width(), bitmap.width());
56 ASSERT_EQ(kSize.height(), bitmap.height());
58 EXPECT_DOUBLE_EQ(0.5, SimpleThumbnailCrop::CalculateBoringScore(bitmap));
62 // The input bitmap is vertically long.
64 SkBitmap bitmap local
81 SkBitmap bitmap = local
98 SkBitmap bitmap = local
115 SkBitmap bitmap = local
132 SkBitmap bitmap = local
[all...]
/external/chromium_org/third_party/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp47 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local
48 delete bitmap;
122 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local
123 if (NULL == bitmap) {
127 const int w = bitmap->width();
128 const int h = bitmap->height();
129 const size_t s = bitmap->getSize();
131 // our provider "owns" the bitmap*, and will take care of deleting it
132 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release
134 bitmap
223 SkBitmap bitmap; local
[all...]
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp47 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local
48 delete bitmap;
122 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local
123 if (NULL == bitmap) {
127 const int w = bitmap->width();
128 const int h = bitmap->height();
129 const size_t s = bitmap->getSize();
131 // our provider "owns" the bitmap*, and will take care of deleting it
132 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release
134 bitmap
223 SkBitmap bitmap; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
H A Dset_icon_apitest.cc87 EXPECT_TRUE(page_action->GetDeclarativeIcon(tab_id).bitmap()->empty());
89 EXPECT_FALSE(page_action->GetDeclarativeIcon(tab_id).bitmap()->empty());
93 EXPECT_TRUE(page_action->GetDeclarativeIcon(tab_id).bitmap()->empty());
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_downloader.cc48 const SkBitmap* bitmap) {
49 if (!bitmap || !cache_)
52 // Decode the downloaded bitmap. Ownership of the image is taken by |cache_|.
53 gfx::Image image = gfx::Image::CreateFrom1xBitmap(*bitmap);
47 OnFetchComplete(const GURL url, const SkBitmap* bitmap) argument
/external/chromium_org/third_party/skia/bench/
H A DReadPixBench.cpp44 SkBitmap bitmap; variable
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize));
51 canvas->readPixels(&bitmap, x * offX, y * offY);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifFrameResourceDecoder.java8 import com.bumptech.glide.load.resource.bitmap.BitmapResource;
21 Bitmap bitmap = source.getNextFrame();
22 return new BitmapResource(bitmap ,bitmapPool);
/external/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.cpp44 SkBitmap bitmap; variable
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize));
51 canvas->readPixels(&bitmap, x * offX, y * offY);
/external/chromium_org/cc/resources/
H A Dscoped_ui_resource.h18 // ScopedUIResource creates an UIResource from a bitmap and a LayerTreeHost.
22 // initially given bitmap regardless of whether the request was due to lost
27 const UIResourceBitmap& bitmap);
36 ScopedUIResource(LayerTreeHost* host, const UIResourceBitmap& bitmap);
H A Dui_resource_request.cc15 const UIResourceBitmap& bitmap)
16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {}
13 UIResourceRequest(UIResourceRequestType type, UIResourceId id, const UIResourceBitmap& bitmap) argument
/external/chromium_org/third_party/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...]

Completed in 6802 milliseconds

1234567891011>>