Searched defs:bitmap (Results 1 - 25 of 32) sorted by relevance

12

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dbitmap.c22 #include <ipxe/bitmap.h>
31 * Resize bitmap
33 * @v bitmap Bitmap
34 * @v new_length New length of bitmap, in bits
37 int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length ) { argument
43 old_num_blocks = BITMAP_INDEX ( bitmap->length + BITMAP_BLKSIZE - 1 );
47 new_size = ( new_num_blocks * sizeof ( bitmap->blocks[0] ) );
48 new_blocks = realloc ( bitmap->blocks, new_size );
50 DBGC ( bitmap, "Bitma
73 bitmap_test( struct bitmap *bitmap, unsigned int bit ) argument
88 bitmap_set( struct bitmap *bitmap, unsigned int bit ) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dbitmap.h16 /** A single block of bits within a bitmap */
23 * Block index within bitmap
31 * Block mask within bitmap
38 /** A bitmap */
39 struct bitmap { struct
42 /** Length of the bitmap, in bits */
44 /** Index of first gap in the bitmap */
48 extern int bitmap_resize ( struct bitmap *bitmap, unsigned int new_length );
49 extern int bitmap_test ( struct bitmap *bitma
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_drawpixels.c43 GLubyte *bitmap; local
46 bitmap = (void*) (uintptr_t) READ_DATA(sizeof(int) + 28, GLint);
48 bitmap = DATA_POINTER( sizeof(int) + 32, GLubyte );
55 cr_unpackDispatch.Bitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DSearching.c60 #define BITMAP64 ((UINT64 *)bitmap)
64 BuildBitmap(unsigned char * bitmap, const char *s2, int n) argument
69 // Initialize bitmap. Bit 0 is always 1 which corresponds to '\0'
73 // Set bits in bitmap corresponding to the characters in s2
77 bitmap[index] = bitmap[index] | bit;
90 UINT8 bitmap[ (((UCHAR_MAX + 1) / CHAR_BIT) + (CHAR_BIT - 1)) & ~7U]; local
97 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
102 if ((bitmap[inde
117 UINT8 bitmap[ (((UCHAR_MAX + 1) / CHAR_BIT) + (CHAR_BIT - 1)) & ~7U]; local
162 UINT8 bitmap[ (((UCHAR_MAX + 1) / CHAR_BIT) + (CHAR_BIT - 1)) & ~7U]; local
224 UINT8 bitmap[ (((UCHAR_MAX + 1) / CHAR_BIT) + (CHAR_BIT - 1)) & ~7U]; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Wchar/
H A DSearching.c55 #define BITMAP64 ((UINT64 *)bitmap)
59 BuildBitmap(unsigned char * bitmap, const wchar_t *s2, UINTN n) argument
64 //// Initialize bitmap. Bit 0 is always 1 which corresponds to '\0'
67 (void)wmemset( (wchar_t *)bitmap, 0, n / sizeof(wchar_t));
68 bitmap[0] = 1;
70 // Set bits in bitmap corresponding to the characters in s2
74 bitmap[index] |= bit;
231 // s2 can be different on each call, so build the bitmap each time.
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpack_pixels.c115 const GLubyte *bitmap, const CRPixelPackState *unpack )
117 const int noimagedata = (bitmap == NULL) || crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB);
145 WRITE_DATA( 28, GLint, (GLint) (uintptr_t) bitmap);
148 crBitmapCopy(width, height, (GLubyte *)(data_ptr + 32), bitmap, unpack);
113 crPackBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap, const CRPixelPackState *unpack ) argument
/vbox/src/VBox/RDP/client-1.8.3/
H A Dpstcache.c46 /* Update mru stamp/index for a bitmap */
60 /* Load a bitmap from the persistent cache */
67 RD_HBITMAP bitmap; local
81 bitmap = ui_create_bitmap(cellhdr.width, cellhdr.height, celldata);
82 DEBUG(("Load bitmap from disk: id=%d, idx=%d, bmp=%p)\n", cache_id, cache_idx, bitmap));
83 cache_put_bitmap(cache_id, cache_idx, bitmap);
89 /* Store a bitmap in the persistent cache */
114 /* List the bitmap keys from the persistent cache file */
127 /* The server disconnects if the bitmap cach
[all...]
H A Dcache.c52 RD_HBITMAP bitmap; member in struct:bmpcache_entry
65 /* Setup the bitmap cache lru/mru linked list */
73 while (--n >= 0 && g_bmpcache[id][idx[n]].bitmap == NULL);
89 while (--n >= 0 && g_bmpcache[id][idx[n]].bitmap == NULL);
105 error("Oops. %d in bitmap cache linked list, %d in ui cache...\n", c,
111 /* Move a bitmap to a new position in the linked list. */
123 DEBUG_RDP5(("bump bitmap: id=%d, idx=%d, bump=%d\n", id, idx, bump));
177 /* Evict the least-recently used bitmap from the cache */
189 DEBUG_RDP5(("evict bitmap: id=%d idx=%d n_idx=%d bmp=%p\n", id, idx, n_idx,
190 g_bmpcache[id][idx].bitmap));
227 cache_put_bitmap(uint8 id, uint16 idx, RD_HBITMAP bitmap) argument
[all...]
H A Dorders.c421 RD_HBITMAP bitmap; local
456 bitmap = cache_get_bitmap(os->cache_id, os->cache_idx);
457 if (bitmap == NULL)
460 ui_memblt(ROP2_S(os->opcode), os->x, os->y, os->cx, os->cy, bitmap, os->srcx, os->srcy); local
467 RD_HBITMAP bitmap; local
515 bitmap = cache_get_bitmap(os->cache_id, os->cache_idx);
516 if (bitmap == NULL)
522 bitmap, os->srcx, os->srcy, &brush, os->bgcolour, os->fgcolour);
925 /* Process a raw bitmap cache order */
929 RD_HBITMAP bitmap; local
962 RD_HBITMAP bitmap; local
1018 RD_HBITMAP bitmap; local
1132 RD_HGLYPH bitmap; local
[all...]
H A Dxwin.c868 /* repeat and unroll, similar to bitmap.c */
2761 Pixmap bitmap; local
2778 bitmap = XCreatePixmap(g_display, g_wnd, width, height, g_depth);
2782 XPutImage(g_display, bitmap, g_create_bitmap_gc, image, 0, 0, 0, 0, width, height);
2787 return (RD_HBITMAP) bitmap;
2844 Pixmap bitmap; local
2849 bitmap = XCreatePixmap(g_display, g_wnd, width, height, 1);
2851 g_create_glyph_gc = XCreateGC(g_display, bitmap, 0, NULL);
2859 XPutImage(g_display, bitmap, g_create_glyph_gc, image, 0, 0, 0, 0, width, height);
2862 return (RD_HGLYPH) bitmap;
[all...]
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_pixel.c156 const GLubyte *bitmap)
165 (void) bitmap;
154 crStateBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) argument
H A Dstate_feedback.c1054 const GLubyte * bitmap)
1061 (void) bitmap;
2407 const GLubyte * bitmap)
2414 (void) bitmap;
1052 crStateFeedbackBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) argument
2405 crStateSelectBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) argument
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/
H A Dslam.c30 #include <ipxe/bitmap.h>
71 * representation of the received-blocks bitmap, looking something
143 /** Block bitmap */
144 struct bitmap bitmap; member in struct:slam_request
158 bitmap_free ( &slam->bitmap );
273 first_block = bitmap_first_gap ( &slam->bitmap );
279 if ( bitmap_test ( &slam->bitmap,
449 /* Discard and reset the bitmap */
450 bitmap_free ( &slam->bitmap );
[all...]
H A Dtftp.c37 #include <ipxe/bitmap.h>
123 /** Block bitmap */
124 struct bitmap bitmap; member in struct:tftp_request
168 bitmap_free ( &tftp->bitmap );
254 * Presize TFTP receive buffers and block bitmap
280 if ( ( rc = bitmap_resize ( &tftp->bitmap, num_blocks ) ) != 0 ) {
281 DBGC ( tftp, "TFTP %p could not resize bitmap to %d blocks: "
410 block = bitmap_first_gap ( &tftp->bitmap );
532 * the block bitmap
[all...]
/vbox/src/VBox/Additions/haiku/VBoxTray/
H A DVBoxClipboard.cpp203 BBitmap *bitmap = BTranslationUtils::GetBitmap(&mio); local
204 if (bitmap)
210 if ( bitmap->IsValid()
211 && bitmap->Archive(&bitmapArchive) == B_OK
212 && clip->AddMessage("image/bitmap", &bitmapArchive) == B_OK)
216 delete bitmap;
280 if (clip->FindMessage("image/bitmap", &archivedBitmap) == B_OK ||
281 clip->FindMessage("image/x-be-bitmap", &archivedBitmap) == B_OK)
283 BBitmap *bitmap = new(std::nothrow) BBitmap(&archivedBitmap); local
284 if (bitmap)
[all...]
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dxfont.c37 * Generate OpenGL-compatible bitmap.
42 int x0, int y0, unsigned int c, GLubyte *bitmap)
61 /* Fill the bitmap (X11 and OpenGL are upside down wrt each other). */
65 bitmap[width*(height - y - 1) + x/8] |= (1 << (7 - (x % 8)));
143 /* Allocate a bitmap that can fit all characters. */
152 crWarning("Couldn't allocate bitmap in glXUseXFont()");
40 fill_bitmap(Display *dpy, Window win, GC gc, unsigned int width, unsigned int height, int x0, int y0, unsigned int c, GLubyte *bitmap) argument
H A Ddri_drv.c200 const GLubyte *bitmap)
197 vboxDDBitmap(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap) argument
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/
H A Ddcpc.c124 * Called from the platform overflow interrupt handler. 'bitmap' is a mask
128 dcpc_fire(uint64_t bitmap) argument
135 if ((bitmap & dcpc_ovf_mask) == 0) {
166 (bitmap & (1ULL << dcpc_actv_reqs[i]->dcpc_picno))) {
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshader.c329 static inline void set_bitmap_bit(DWORD *bitmap, DWORD bit) argument
334 bitmap[idx] |= (1 << shift);
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/
H A Ddlm_pointers.c37 int crdlm_pointers_Bitmap( struct instanceBitmap *instance, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap, CRClientState *c) argument
40 /* glBitmap can be called with a NULL size 0 bitmap, say for
44 * Also, the bitmap isn't necessarily just sitting in memory; the PixelStore
49 crBitmapCopy(width, height, instance->bitmap, bitmap,
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dshader.c329 static inline void set_bitmap_bit(DWORD *bitmap, DWORD bit) argument
334 bitmap[idx] |= (1 << shift);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dshader.c385 static inline void set_bitmap_bit(DWORD *bitmap, DWORD bit) argument
390 bitmap[idx] |= (1 << shift);
2128 * the proper sample value. The tex_types bitmap defaults to
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispVRDP.cpp45 } bitmap; member in union:_VRDPBRUSH::__anon629
106 WARN(("Unsupported bitmap format %d", pso->iBitmapFormat));
1337 * RDP_ORDER_MEMBLT ROP with screen and cached offscreen bitmap.
1338 * RDP_ORDER_TRIBLT ROP with screen, cached offscreen bitmap and a brush.
1458 /* Offscreen bitmap to screen. MEMBLT. */
1463 LOG(("MEMBLT: bitmap %dx%d.", psoSrc->sizlBitmap.cx, psoSrc->sizlBitmap.cy));
1474 * Computing a bitmap hash increases CPU load. Up to 384K pixels (~620x620)
1479 LOG(("MEMBLT: non cacheable bitmap."));
1608 LOG(("bitmap pBrush = %p, size = %d", pBrush, cbBrush));
1619 uint32_t *pu32BitsDst = &pBrush->u.bitmap
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Ddevice.c508 UINT hotspot_x, UINT hotspot_y, IDirect3DSurface8 *bitmap)
511 struct d3d8_surface *bitmap_impl = unsafe_impl_from_IDirect3DSurface8(bitmap);
514 TRACE("iface %p, hotspot_x %u, hotspot_y %u, bitmap %p.\n",
515 iface, hotspot_x, hotspot_y, bitmap);
517 if (!bitmap)
519 WARN("No cursor bitmap, returning D3DERR_INVALIDCALL.\n");
507 d3d8_device_SetCursorProperties(IDirect3DDevice8 *iface, UINT hotspot_x, UINT hotspot_y, IDirect3DSurface8 *bitmap) argument
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Ddevice.c499 UINT hotspot_x, UINT hotspot_y, IDirect3DSurface9 *bitmap)
502 struct d3d9_surface *bitmap_impl = unsafe_impl_from_IDirect3DSurface9(bitmap);
505 TRACE("iface %p, hotspot_x %u, hotspot_y %u, bitmap %p.\n",
506 iface, hotspot_x, hotspot_y, bitmap);
508 if (!bitmap)
510 WARN("No cursor bitmap, returning D3DERR_INVALIDCALL.\n");
498 d3d9_device_SetCursorProperties(IDirect3DDevice9Ex *iface, UINT hotspot_x, UINT hotspot_y, IDirect3DSurface9 *bitmap) argument

Completed in 156 milliseconds

12