Searched refs:bitmap (Results 1 - 25 of 274) sorted by relevance

1234567891011

/haiku-fatelf/src/apps/haiku3d/texture/
H A DBitmapTexture.cpp18 BitmapTexture::BitmapTexture(BBitmap* bitmap) argument
22 _Load(bitmap);
32 BitmapTexture::_Load(BBitmap* bitmap) { argument
33 if (bitmap == NULL)
41 (int) bitmap->Bounds().Width() + 1,
42 (int) bitmap->Bounds().Height() + 1,
44 bitmap->Bits());
47 fId, (int32) bitmap->Bounds().Width(),
48 (int32) bitmap->Bounds().Height(),
49 8 * bitmap
[all...]
H A DBitmapTexture.h17 BitmapTexture(BBitmap* bitmap);
21 void _Load(BBitmap* bitmap);
/haiku-fatelf/src/add-ons/opengl/swpipe/
H A Dbitmap_wrapper.h26 void copy_bitmap_bits(const Bitmap* bitmap, void* data, int32 length);
28 void get_bitmap_size(const Bitmap* bitmap, int32* width, int32* height);
29 color_space get_bitmap_color_space(const Bitmap* bitmap);
30 int32 get_bitmap_bytes_per_row(const Bitmap* bitmap);
31 int32 get_bitmap_bits_length(const Bitmap* bitmap);
33 void delete_bitmap(Bitmap* bitmap);
34 void dump_bitmap(const Bitmap* bitmap);
H A Dbitmap_wrapper.cpp36 get_bitmap_size(const Bitmap* bitmap, int32* width, int32* height) argument
38 BBitmap *bb = (BBitmap*)bitmap;
49 get_bitmap_color_space(const Bitmap* bitmap) argument
51 BBitmap *bb = (BBitmap*)bitmap;
59 copy_bitmap_bits(const Bitmap* bitmap, void* data, int32 length) argument
61 BBitmap *bb = (BBitmap*)bitmap;
70 delete_bitmap(Bitmap* bitmap) argument
72 BBitmap *bb = (BBitmap*)bitmap;
78 get_bitmap_bytes_per_row(const Bitmap* bitmap) argument
80 BBitmap *bb = (BBitmap*)bitmap;
88 get_bitmap_bits_length(const Bitmap* bitmap) argument
98 dump_bitmap(const Bitmap* bitmap) argument
[all...]
H A DGalliumContext.h50 Bitmap* bitmap; member in struct:hgl_context
63 context_id CreateContext(Bitmap* bitmap);
66 status_t SetCurrentContext(Bitmap *bitmap,
/haiku-fatelf/src/preferences/time/
H A DBitmaps.cpp20 ReplaceTransparentColor(BBitmap* bitmap, rgb_color with) argument
23 ASSERT(bitmap->ColorSpace() == B_COLOR_8_BIT);
28 uchar* bits = (uchar*)bitmap->Bits();
29 int32 bitsLength = bitmap->BitsLength();
/haiku-fatelf/src/servers/app/
H A DBitmapManager.cpp44 //! The one and only bitmap manager for the server, created by the AppServer
78 \param bounds Size of the bitmap
79 \param space Color space of the bitmap
108 ServerBitmap* bitmap = new(std::nothrow) ServerBitmap(bounds, space, flags, local
110 if (bitmap == NULL) {
120 Overlay* overlay = new(std::nothrow) Overlay(hwInterface, bitmap,
129 clientData = (overlay_client_data*)bitmap->fClientMemory.Allocate(
136 bitmap->fMemory = &bitmap->fClientMemory;
137 bitmap
227 BitmapRemoved(ServerBitmap* bitmap) argument
251 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local
262 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local
280 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local
291 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local
[all...]
H A DOffscreenWindow.cpp26 OffscreenWindow::OffscreenWindow(ServerBitmap* bitmap, argument
28 : Window(bitmap->Bounds(), name,
31 fBitmap(bitmap),
H A DServerBitmap.cpp34 path (bitmap creation from the application), and don't cause any further
36 If a bitmap was allocated this way, both, the fAllocator and
45 the bitmap is destructed. This method is mainly used for cursors.
50 \param rect Size of the bitmap.
51 \param space Color space of the bitmap
52 \param flags Various bitmap flags to tweak the bitmap as defined in Bitmap.h
57 \param screen Screen assigned to the bitmap.
84 ServerBitmap::ServerBitmap(const ServerBitmap* bitmap) argument
91 if (bitmap) {
230 UtilityBitmap(const ServerBitmap* bitmap) argument
[all...]
H A DOffscreenServerWindow.cpp18 ServerBitmap* bitmap)
20 fBitmap(bitmap)
16 OffscreenServerWindow(const char *title, ServerApp *app, port_id clientPort, port_id looperPort, int32 handlerID, ServerBitmap* bitmap) argument
/haiku-fatelf/src/add-ons/translators/wonderbrush/support/
H A Dbitmap_compression.cpp24 compress_bitmap_zlib(const BBitmap* bitmap, void** buffer, unsigned* size) argument
27 if (bitmap) {
28 Bytef* src = (Bytef*)bitmap->Bits();
29 uLong srcLength = bitmap->BitsLength();
39 //printf("zlib compressed %ld bytes bitmap into %d bytes (%f%%)\n", srcLength, *size, ((float)*size / (float)srcLength) * 100.0);
61 BBitmap* bitmap = new BBitmap(frame, 0, format); local
62 if (bitmap->IsValid()) {
64 Bytef* dst = (Bytef*)bitmap->Bits();
65 uLongf dstLength = bitmap->BitsLength();
71 if (ret != Z_OK || dstLength != (uint32)bitmap
90 archive_bitmap(const BBitmap* bitmap, BMessage* into, const char* fieldName) argument
112 extract_bitmap(BBitmap** bitmap, const BMessage* from, const char* fieldName) argument
[all...]
H A Dbitmap_compression.h18 archive_bitmap(const BBitmap* bitmap, BMessage* into, const char* fieldName);
21 extract_bitmap(BBitmap** bitmap, const BMessage* from, const char* fieldName);
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/video/
H A DVideoTarget.cpp35 VideoTarget::SetBitmap(const BBitmap* bitmap) argument
38 fBitmap = bitmap;
/haiku-fatelf/src/kits/print/
H A DBeUtilsTranslation.cpp66 BPicture *BitmapToPicture(BView* view, BBitmap *bitmap) { argument
67 if (bitmap) {
69 view->DrawBitmap(bitmap);
75 BPicture *BitmapToGrayedPicture(BView* view, BBitmap *bitmap) { argument
76 if (bitmap) {
77 BRect rect(bitmap->Bounds());
79 view->DrawBitmap(bitmap);
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DImage.cpp46 ImageDescription::ImageDescription(PDF* pdf, BBitmap* bitmap, int mask) argument
48 , fBitmap(bitmap)
51 bitmap->Lock();
52 fWidth = bitmap->Bounds().IntegerWidth()+1;
53 fHeight = bitmap->Bounds().IntegerHeight()+1;
54 fColorSpace = bitmap->ColorSpace();
55 bitmap->Unlock();
67 Image* ImageDescription::Store(PDF* pdf, int id, BBitmap* bitmap, int mask) { argument
77 bitmap->Lock();
78 w = bitmap
115 StorePNG(const char* fileName, BBitmap* bitmap) argument
126 StoreBitmap(const char* fileName, BBitmap* bitmap) argument
[all...]
H A DImage.h44 ImageDescription(PDF* pdf, BBitmap* bitmap, int mask);
55 Image* Store(PDF* pdf, int id, BBitmap* bitmap, int mask);
56 bool StoreBitmap(const char* fileName, BBitmap* bitmap);
57 bool StorePNG(const char* fileName, BBitmap* bitmap);
78 bool Equals(BBitmap* bitmap) const;
/haiku-fatelf/headers/libs/print/libprint/
H A DValidRect.h20 bool get_valid_rect(BBitmap *bitmap, RECT *rc);
/haiku-fatelf/src/add-ons/print/drivers/gutenprint/
H A DGPBand.cpp10 GPBand::GPBand(BBitmap* bitmap, BRect validRect, BPoint where) argument
12 fBitmap(*bitmap),
/haiku-fatelf/src/apps/soundrecorder/
H A DDrawingTidbits.cpp50 ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to) argument
52 ASSERT(bitmap->ColorSpace() == B_CMAP8);
59 uchar *bits = (uchar *)bitmap->Bits();
60 int32 bitsLength = bitmap->BitsLength();
67 ReplaceTransparentColor(BBitmap *bitmap, rgb_color with) argument
69 ASSERT(bitmap->ColorSpace() == B_CMAP8);
75 uchar *bits = (uchar *)bitmap->Bits();
76 int32 bitsLength = bitmap->BitsLength();
/haiku-fatelf/src/tests/kits/interface/menu/menuworld/
H A DBitmapMenuItem.cpp25 BitmapMenuItem::BitmapMenuItem(const char* name, const BBitmap& bitmap, argument
28 m_bitmap(bitmap.Bounds(), bitmap.ColorSpace())
33 m_bitmap.SetBits(bitmap.Bits(), bitmap.BitsLength(),
34 0, bitmap.ColorSpace());
/haiku-fatelf/src/apps/screenshot/
H A DScreenshotApp.cpp46 BMessage bitmap; local
47 status = message->FindMessage("wholeScreen", &bitmap);
51 fUtility->wholeScreen = new BBitmap(&bitmap);
53 status = message->FindMessage("cursorBitmap", &bitmap);
57 fUtility->cursorBitmap = new BBitmap(&bitmap);
59 status = message->FindMessage("cursorAreaBitmap", &bitmap);
63 fUtility->cursorAreaBitmap = new BBitmap(&bitmap);
/haiku-fatelf/src/tests/kits/midi/patchbay/
H A DEndpointInfo.cpp98 BBitmap* bitmap = NULL; local
106 bitmap = new BBitmap(r, B_RGBA32);
108 bitmap) == B_OK) {
109 printf("Created vector icon bitmap\n");
110 return bitmap;
112 delete bitmap;
119 bitmap = new BBitmap(r, ICON_COLOR_SPACE);
120 ASSERT((bitmap->BitsLength() == size));
121 memcpy(bitmap->Bits(), data, size);
123 return bitmap;
[all...]
/haiku-fatelf/src/add-ons/print/drivers/pcl6/
H A DRasterizer.cpp21 Rasterizer::SetBitmap(int x, int y, BBitmap* bitmap, int pageHeight) argument
26 BRect bounds = bitmap->Bounds();
40 if (!get_valid_rect(bitmap, &fBounds))
46 fBPR = bitmap->BytesPerRow();
47 fBits = (uchar*)bitmap->Bits();
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dbitmap.h2 * bitmap.h - Exports for bitmap handling. Originated from the Linux-NTFS project.
34 * - bitmap starts at bit = 0 and ends at bit = bitmap size - 1.
36 * size of the bitmap.
39 extern void ntfs_bit_set(u8 *bitmap, const u64 bit, const u8 new_value);
40 extern char ntfs_bit_get(const u8 *bitmap, const u64 bit);
41 extern char ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value);
46 * ntfs_bitmap_set_bit - set a bit in a bitmap
47 * @na: attribute containing the bitmap
[all...]
/haiku-fatelf/src/tests/kits/interface/flatten_picture/
H A DPictureTest.cpp63 BBitmap *bitmap = new BBitmap(frame, fColorSpace, true); local
64 AutoDelete<BBitmap> _bitmap(bitmap);
65 if (bitmap == NULL || bitmap->IsValid() == false || bitmap->InitCheck() != B_OK)
73 bitmap->Lock();
74 bitmap->AddChild(view);
75 // bitmap is locked during the life time of this object
107 // the result bitmap that does not accept views
136 BBitmap* bitmap local
145 BBitmap* bitmap = fBitmapFromPicture; local
155 BBitmap* bitmap = fBitmapFromRestoredPicture; local
[all...]

Completed in 215 milliseconds

1234567891011