Searched refs:bitmap (Results 51 - 75 of 274) sorted by relevance

1234567891011

/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dvnidpool.h13 uint32 *bitmap; member in struct:vnidpool
H A Dvnidpool.c11 /* primary type for the bitmap */
14 #define BM_BYTE(p, vnid) (p->bitmap[(vnid % p->bmsize) / sizeof(BMT)])
33 p->bitmap = (BMT *)(p + 1);
35 memset(p->bitmap, 0, size / sizeof(BMT));
36 dprintf("vnidpool_alloc: pool @ %p, bitmap @ %p, size %ld\n", p, p->bitmap, p->bmsize);
50 if (pool->bitmap[i])
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DImageCache.h55 int GetImage(PDF* pdf, BBitmap* bitmap, int mask);
/haiku-fatelf/src/apps/mediaplayer/
H A DVideoView.cpp78 if (const BBitmap* bitmap = GetBitmap()) {
81 _DrawBitmap(bitmap);
170 VideoView::SetBitmap(const BBitmap* bitmap) argument
172 VideoTarget::SetBitmap(bitmap);
173 // Attention: Don't lock the window, if the bitmap is NULL. Otherwise
177 if (!bitmap || LockLooperWithTimeout(10000) != B_OK)
182 || (bitmap->Flags() & B_BITMAP_WILL_OVERLAY) != 0) {
186 status_t ret = SetViewOverlay(bitmap, bitmap->Bounds(),
200 if (bitmap
391 _DrawBitmap(const BBitmap* bitmap) argument
[all...]
/haiku-fatelf/src/apps/mediaplayer/support/
H A DStackBlurFilter.h44 void Filter(BBitmap* bitmap, double radius);
/haiku-fatelf/src/preferences/media/
H A DMediaIcons.h38 BBitmap* bitmap);
/haiku-fatelf/src/servers/app/drawing/
H A DBBitmapBuffer.h12 BBitmapBuffer(BBitmap* bitmap);
H A DBitmapBuffer.h12 BitmapBuffer(ServerBitmap* bitmap);
H A DOverlay.cpp61 Overlay::Overlay(HWInterface& interface, ServerBitmap* bitmap, argument
80 _AllocateBuffer(bitmap);
82 TRACE("overlay: created %p, bitmap %p\n", this, bitmap);
110 Overlay::Resume(ServerBitmap* bitmap) argument
119 status_t status = _AllocateBuffer(bitmap);
129 Overlay::Suspend(ServerBitmap* bitmap, bool needTemporary) argument
154 Overlay::_AllocateBuffer(ServerBitmap* bitmap) argument
156 fOverlayBuffer = fHWInterface.AllocateOverlayBuffer(bitmap->Width(),
157 bitmap
[all...]
/haiku-fatelf/src/preferences/appearance/
H A DCurView.cpp415 bitmap=NULL;
427 bitmap=bmp;
434 if(bitmap)
435 DrawBitmap(bitmap, drawrect);
449 delete bitmap;
450 bitmap=tmp;
457 drawrect=bitmap->Bounds();
458 if(r.Contains(bitmap->Bounds()))
461 offset=((r.IntegerWidth()-bitmap->Bounds().IntegerWidth()) >> 1)+5;
469 if(bitmap
[all...]
/haiku-fatelf/src/apps/musiccollection/
H A DMusicFileListView.h62 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); local
63 BView* bitmapView = new BView(rect, "bitmap", B_FOLLOW_NONE,
66 bitmap->Lock();
67 bitmap->AddChild(bitmapView);
83 bitmap->Unlock();
92 DragMessage(&dragMessage, bitmap, B_OP_ALPHA, pt, this);
/haiku-fatelf/src/add-ons/translators/gif/
H A DGIFTranslator.cpp59 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.3, 0.3, "image/x-be-bitmap",
67 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.3, 0.3, "image/x-be-bitmap",
133 BBitmap *bitmap = new BBitmap(header.bounds, header.colors); local
134 *out = bitmap;
135 if (bitmap == NULL) return B_NO_MEMORY;
136 unsigned char *bits = (unsigned char *)bitmap->Bits();
138 delete bitmap;
144 delete bitmap;
182 strcpy(outInfo->MIME, "image/x-be-bitmap");
211 BBitmap *bitmap local
[all...]
/haiku-fatelf/src/servers/app/font/
H A DFontEngine.cpp292 decompose_ft_bitmap_mono(const FT_Bitmap& bitmap, int x, int y, argument
295 const uint8* buf = (const uint8*)bitmap.buffer;
296 int pitch = bitmap.pitch;
297 sl.reset(x, x + bitmap.width);
300 buf += bitmap.pitch * (bitmap.rows - 1);
301 y += bitmap.rows;
304 for (int i = 0; i < bitmap.rows; i++) {
307 for (int j = 0; j < bitmap.width; j++) {
323 decompose_ft_bitmap_gray8(const FT_Bitmap& bitmap, in argument
366 decompose_ft_bitmap_subpix(const FT_Bitmap& bitmap, int x, int y, bool flip_y, Scanline& sl, ScanlineStorage& storage) argument
[all...]
/haiku-fatelf/src/apps/3dmov/
H A DViewObject.cpp225 ARGUMENTS: bitmap
230 void ViewObject :: GLCreateTexture(MediaSource *media, BBitmap *bitmap) argument
233 assert(bitmap != 0);
244 GLDetermineFormat(bitmap->ColorSpace(), &media->mTextureFormat, &num_bytes);
245 media->mTextureWidth = (int)(bitmap->Bounds().Width() + 1);
246 media->mTextureHeight = (int)(bitmap->Bounds().Height() + 1);
255 (unsigned char *)bitmap->Bits()); // pixels
286 BBitmap *bitmap = BTranslationUtils::GetBitmap(path.Path(), NULL); local
287 if (bitmap)
290 GLCreateTexture(media, bitmap);
[all...]
/haiku-fatelf/src/tests/kits/interface/bbitmap/
H A DBBitmapTester.cpp96 BApplication app("application/x-vnd.obos.bitmap-constructor-test");
188 // create and check bitmap
189 BBitmap bitmap(testCase.bounds, testCase.space);
190 CHK(bitmap.InitCheck() == B_OK);
191 CHK(bitmap.IsValid() == true);
192 CHK(bitmap.Bits() != NULL);
193 CHK(bitmap.Bounds() == testCase.bounds);
194 CHK(bitmap.ColorSpace() == testCase.space);
195 if (bitmap.BytesPerRow() != bpr) {
196 printf("space: %x: bpr: %ld (%ld)\n", testCase.space, bitmap
[all...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfPizCompressor.cpp77 unsigned char bitmap[BITMAP_SIZE],
82 bitmap[i] = 0;
85 bitmap[data[i] >> 3] |= (1 << (data[i] & 7));
87 bitmap[0] &= ~1; // zero is not explicitly stored in
88 // the bitmap; we assume that the
95 if (bitmap[i])
107 forwardLutFromBitmap (const unsigned char bitmap[BITMAP_SIZE], argument
114 if ((i == 0) || (bitmap[i >> 3] & (1 << (i & 7))))
121 } // i.e. number of ones in bitmap minus 1
125 reverseLutFromBitmap (const unsigned char bitmap[BITMAP_SIZ argument
75 bitmapFromData(const unsigned short data[ ], int nData, unsigned char bitmap[BITMAP_SIZE], unsigned short &minNonZero, unsigned short &maxNonZero) argument
413 AutoArray <unsigned char, BITMAP_SIZE> bitmap; local
537 AutoArray <unsigned char, BITMAP_SIZE> bitmap; local
[all...]
/haiku-fatelf/src/servers/app/drawing/html5/
H A DCanvasMessage.cpp67 CanvasMessage::AddBitmap(const ServerBitmap& bitmap, bool minimal) argument
70 Add(bitmap.Width());
71 Add(bitmap.Height());
72 Add(bitmap.BytesPerRow());
75 Add(bitmap.ColorSpace());
76 Add(bitmap.Flags());
79 uint32 bitsLength = bitmap.BitsLength();
85 memcpy(fBuffer + fWriteIndex, bitmap.Bits(), bitsLength);
294 BBitmap *bitmap = new(std::nothrow) BBitmap( local
296 if (bitmap
[all...]
/haiku-fatelf/src/kits/shared/
H A DIconView.cpp43 BBitmap* bitmap = new BBitmap(BRect(iconSize), B_RGBA32); local
44 if (bitmap == NULL)
48 fIconBitmap = bitmap;
/haiku-fatelf/src/tests/servers/app/bitmap_bounds/
H A Dmain.cpp80 // bitmap image is drawn. Otherwise, the entire bitmap
86 // top area of the bitmap...
88 // BRect bitmap = view.OffsetByCopy(fBitmap->Bounds().LeftTop());
90 // DrawBitmap(fBitmap, bitmap, view);
94 // bitmap at the left top corner of the view
95 BRect bitmap = fBitmap->Bounds(); local
96 BRect view = bitmap.OffsetToCopy(B_ORIGIN);
98 DrawBitmap(fBitmap, bitmap, view);
/haiku-fatelf/headers/private/kernel/util/
H A DRadixBitmap.h29 * The radix bitmap structure is ported from FreeBSD.
45 bitmap_t bitmap; // bitmap for the slots if we are a leaf member in union:radix_node::__anon1101
/haiku-fatelf/src/add-ons/print/drivers/pcl5/
H A DPCL5.h23 virtual bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku-fatelf/src/apps/pairs/
H A DPairsView.h37 bool _HasBitmap(BList& bitmaps, BBitmap* bitmap);
/haiku-fatelf/src/servers/app/
H A DOffscreenServerWindow.h19 int32 handlerID, ServerBitmap* bitmap);
/haiku-fatelf/src/tests/servers/app/painter/
H A DBitmapView.h14 BBitmap* bitmap);
/haiku-fatelf/src/apps/icon-o-matic/generic/support/
H A Dsupport_ui.cpp73 make_color_drop_message(rgb_color color, BBitmap* bitmap) argument
82 // prepare bitmap
83 if (bitmap && bitmap->IsValid()
84 && (bitmap->ColorSpace() == B_RGB32
85 || bitmap->ColorSpace() == B_RGBA32)) {
86 uint8* bits = (uint8*)bitmap->Bits();
87 uint32 bpr = bitmap->BytesPerRow();
88 uint32 width = bitmap->Bounds().IntegerWidth() + 1;
89 uint32 height = bitmap
[all...]

Completed in 224 milliseconds

1234567891011