Searched refs:ximage (Results 1 - 25 of 56) sorted by relevance

123

/xsrc/external/mit/libXpm/dist/src/
H A DCrPFrI.c45 XImage *ximage,
52 if ((ximage->width > UINT16_MAX) || (ximage->height > UINT16_MAX)) {
56 *pixmap_return = XCreatePixmap(display, d, ximage->width,
57 ximage->height, ximage->depth);
64 XPutImage(display, *pixmap_return, gc, ximage, 0, 0, 0, 0,
65 ximage->width, ximage->height);
42 xpmCreatePixmapFromImage(Display * display,Drawable d,XImage * ximage,Pixmap * pixmap_return) argument
H A DCrPFrBuf.c49 XImage *ximage = NULL, *shapeimage = NULL; local in function:XpmCreatePixmapFromBuffer
60 (pixmap_return ? &ximage : NULL),
69 if (pixmap_return && ximage) {
71 xpmCreatePixmapFromImage(display, d, ximage, pixmap_return);
81 if (ximage != NULL)
82 XDestroyImage(ximage);
H A DCrPFrDat.c49 XImage *ximage = NULL, *shapeimage = NULL; local in function:XpmCreatePixmapFromData
60 (pixmap_return ? &ximage : NULL),
69 if (pixmap_return && ximage) {
71 xpmCreatePixmapFromImage(display, d, ximage, pixmap_return);
81 if (ximage != NULL)
82 XDestroyImage(ximage);
H A DRdFToP.c49 XImage *ximage = NULL, *shapeimage = NULL; local in function:XpmReadFileToPixmap
60 (pixmap_return ? &ximage : NULL),
68 if (pixmap_return && ximage) {
70 xpmCreatePixmapFromImage(display, d, ximage, pixmap_return);
80 if (ximage != NULL)
81 XDestroyImage(ximage);
H A DCrBufFrP.c48 XImage *ximage = NULL; local in function:XpmCreateBufferFromPixmap
61 xpmCreateImageFromPixmap(display, pixmap, &ximage, &width, &height);
67 ErrorStatus = XpmCreateBufferFromImage(display, buffer_return, ximage,
71 if (ximage)
72 XDestroyImage(ximage);
H A DCrDatFrP.c48 XImage *ximage = NULL; local in function:XpmCreateDataFromPixmap
61 xpmCreateImageFromPixmap(display, pixmap, &ximage, &width, &height);
67 ErrorStatus = XpmCreateDataFromImage(display, data_return, ximage,
71 if (ximage)
72 XDestroyImage(ximage);
H A DWrFFrP.c48 XImage *ximage = NULL; local in function:XpmWriteFileFromPixmap
61 xpmCreateImageFromPixmap(display, pixmap, &ximage, &width, &height);
67 ErrorStatus = XpmWriteFileFromImage(display, filename, ximage, shapeimage,
71 if (ximage)
72 XDestroyImage(ximage);
H A Dcreate.c131 LFUNC(PutPixel1, int, (XImage *ximage, int x, int y, unsigned long pixel));
132 LFUNC(PutPixel, int, (XImage *ximage, int x, int y, unsigned long pixel));
134 LFUNC(PutPixel32, int, (XImage *ximage, int x, int y, unsigned long pixel));
136 LFUNC(PutPixel32MSB, int, (XImage *ximage, int x, int y, unsigned long pixel));
137 LFUNC(PutPixel32LSB, int, (XImage *ximage, int x, int y, unsigned long pixel));
138 LFUNC(PutPixel16MSB, int, (XImage *ximage, int x, int y, unsigned long pixel));
139 LFUNC(PutPixel16LSB, int, (XImage *ximage, int x, int y, unsigned long pixel));
140 LFUNC(PutPixel8, int, (XImage *ximage, int x, int y, unsigned long pixel));
141 LFUNC(PutPixel1MSB, int, (XImage *ximage, int x, int y, unsigned long pixel));
142 LFUNC(PutPixel1LSB, int, (XImage *ximage, in
773 XImage *ximage = NULL; local in function:XpmCreateImageFromXpmImage
1660 XImage *ximage = NULL, *shapeimage = NULL; local in function:XpmCreatePixmapFromXpmImage
1782 PutPixel1(register XImage * ximage,int x,int y,unsigned long pixel) argument
1817 PutPixel(register XImage * ximage,int x,int y,unsigned long pixel) argument
1856 PutPixel32(register XImage * ximage,int x,int y,unsigned long pixel) argument
1874 PutPixel32MSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
1894 PutPixel32LSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
1914 PutPixel16MSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
1932 PutPixel16LSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
1950 PutPixel8(register XImage * ximage,int x,int y,unsigned long pixel) argument
1964 PutPixel1MSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
1981 PutPixel1LSB(register XImage * ximage,int x,int y,unsigned long pixel) argument
2020 XImage *ximage = NULL; local in function:xpmParseDataAndCreate
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DImUtil.c436 * Deallocates the memory associated with the ximage data structure.
441 static int _XDestroyImage (XImage *ximage) argument
443 Xfree(ximage->data);
444 Xfree(ximage->obdata);
445 Xfree(ximage);
477 register XImage *ximage,
489 if ((ximage->bits_per_pixel | ximage->depth) == 1) {
490 src = &ximage->data[XYINDEX(x, y, ximage)];
476 _XGetPixel(register XImage * ximage,int x,int y) argument
539 _XGetPixel32(register XImage * ximage,int x,int y) argument
571 _XGetPixel16(register XImage * ximage,int x,int y) argument
595 _XGetPixel8(register XImage * ximage,int x,int y) argument
614 _XGetPixel1(register XImage * ximage,int x,int y) argument
654 _XPutPixel(register XImage * ximage,int x,int y,unsigned long pixel) argument
727 _XPutPixel32(register XImage * ximage,int x,int y,unsigned long pixel) argument
758 _XPutPixel16(register XImage * ximage,int x,int y,unsigned long pixel) argument
783 _XPutPixel8(register XImage * ximage,int x,int y,unsigned long pixel) argument
798 _XPutPixel1(register XImage * ximage,int x,int y,unsigned long pixel) argument
837 _XSubImage(XImage * ximage,register int x,register int y,unsigned int width,unsigned int height) argument
969 _XAddPixel(register XImage * ximage,register long value) argument
[all...]
H A DMacros.c246 XImage *ximage)
248 return((*((ximage)->f.destroy_image))((ximage)));
252 XImage *ximage,
255 return ((*((ximage)->f.get_pixel))((ximage), (x), (y)));
259 XImage *ximage,
263 return((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel)));
267 XImage *ximage,
245 XDestroyImage(XImage * ximage) argument
251 XGetPixel(XImage * ximage,int x,int y) argument
258 XPutPixel(XImage * ximage,int x,int y,unsigned long pixel) argument
266 XSubImage(XImage * ximage,int x,int y,unsigned int width,unsigned int height) argument
275 XAddPixel(XImage * ximage,long value) argument
[all...]
H A DCrBFData.c62 XImage ximage = { local in function:XCreateBitmapFromData
76 XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
H A DCrPFBData.c71 XImage ximage = { local in function:XCreatePixmapFromBitmapData
85 XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/
H A Dxm_buffer.c81 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display,
86 if (b->backxrb->ximage == NULL) {
93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
94 * b->backxrb->ximage->height, IPC_CREAT | 0600);
97 XDestroyImage(b->backxrb->ximage);
98 b->backxrb->ximage = NULL;
104 b->shminfo.shmaddr = b->backxrb->ximage->data
108 XDestroyImage(b->backxrb->ximage);
110 b->backxrb->ximage = NULL;
127 XDestroyImage(b->backxrb->ximage);
433 XImage *ximage = xrb->ximage; local in function:xmesa_MapRenderbuffer
524 XImage *ximage = xrb->ximage; local in function:xmesa_UnmapRenderbuffer
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/
H A Dxm_buffer.c81 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display,
86 if (b->backxrb->ximage == NULL) {
93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
94 * b->backxrb->ximage->height, IPC_CREAT | 0600);
97 XDestroyImage(b->backxrb->ximage);
98 b->backxrb->ximage = NULL;
104 b->shminfo.shmaddr = b->backxrb->ximage->data
108 XDestroyImage(b->backxrb->ximage);
110 b->backxrb->ximage = NULL;
127 XDestroyImage(b->backxrb->ximage);
433 XImage *ximage = xrb->ximage; local in function:xmesa_MapRenderbuffer
524 XImage *ximage = xrb->ximage; local in function:xmesa_UnmapRenderbuffer
[all...]
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dtest_image.c255 test_init_image(XImage *ximage, argument
262 ximage->width = width;
263 ximage->height = height;
264 ximage->format = ZPixmap;
265 ximage->data = shm->shmaddr;
266 ximage->obdata = (void *)shm;
267 ximage->byte_order = native_byte_order;
268 ximage->bitmap_unit = 32;
269 ximage->bitmap_bit_order = native_byte_order;
270 ximage
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Ddrisw_glx.c86 if (pdp->ximage) {
87 XDestroyImage(pdp->ximage);
88 pdp->ximage = NULL;
93 pdp->ximage = XShmCreateImage(dpy,
100 if (pdp->ximage != NULL) {
113 XDestroyImage(pdp->ximage);
114 pdp->ximage = NULL;
121 if (pdp->ximage == NULL) {
123 pdp->ximage = XCreateImage(dpy,
137 if (pdp->ximage
214 XImage *ximage; local in function:swrastXPutImage
305 XImage *ximage; local in function:swrastGetImage2
342 XImage *ximage; local in function:swrastGetImageShm
[all...]
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Ddrisw_glx.c59 if (pdp->ximage) {
60 XDestroyImage(pdp->ximage);
61 pdp->ximage = NULL;
68 pdp->ximage = XShmCreateImage(dpy,
75 if (pdp->ximage != NULL) {
88 XDestroyImage(pdp->ximage);
89 pdp->ximage = NULL;
96 if (pdp->ximage == NULL) {
98 pdp->ximage = XCreateImage(dpy,
112 if (pdp->ximage
186 XImage *ximage; local in function:swrastXPutImage
277 XImage *ximage; local in function:swrastGetImage2
314 XImage *ximage; local in function:swrastGetImageShm2
[all...]
/xsrc/external/mit/libX11/dist/include/X11/
H A DXutil.h196 XImage *ximage);
198 XImage *ximage,
201 XImage *ximage,
205 XImage *ximage,
209 XImage *ximage,
216 #define XDestroyImage(ximage) \
217 ((*((ximage)->f.destroy_image))((ximage)))
218 #define XGetPixel(ximage, x, y) \
219 ((*((ximage)
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xnest/
H A DPixmap.c85 XImage *ximage; local in function:xnestPixmapToRegion
92 ximage = XGetImage(xnestDisplay, xnestPixmap(pPixmap), 0, 0,
99 XDestroyImage(ximage);
108 currentPixel = XGetPixel(ximage, x, y);
132 XDestroyImage(ximage);
H A DCursor.c44 XImage *ximage; local in function:xnestRealizeCursor
76 ximage = XCreateImage(xnestDisplay,
84 XPutImage(xnestDisplay, source, xnestBitmapGC, ximage,
87 XFree(ximage);
89 ximage = XCreateImage(xnestDisplay,
97 XPutImage(xnestDisplay, mask, xnestBitmapGC, ximage,
100 XFree(ximage);
H A DGCOps.c82 XImage *ximage; local in function:xnestPutImage
84 ximage = XCreateImage(xnestDisplay, xnestDefaultVisual(pDrawable->pScreen),
90 if (ximage) {
92 ximage, 0, 0, x, y, w, h);
93 XFree(ximage);
102 XImage *ximage; local in function:xnestGetImage
105 ximage = XGetImage(xnestDisplay, xnestDrawable(pDrawable),
108 if (ximage) {
109 length = ximage->bytes_per_line * ximage
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xnest/
H A DCursor.c44 XImage *ximage; local in function:xnestRealizeCursor
69 ximage = XCreateImage(xnestDisplay,
76 XPutImage(xnestDisplay, source, xnestBitmapGC, ximage,
79 XFree(ximage);
81 ximage = XCreateImage(xnestDisplay,
88 XPutImage(xnestDisplay, mask, xnestBitmapGC, ximage,
91 XFree(ximage);
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dtest_image.c271 test_init_image(XImage *ximage, argument
278 ximage->width = width;
279 ximage->height = height;
280 ximage->format = ZPixmap;
281 ximage->data = shm->shmaddr;
282 ximage->obdata = (void *)shm;
283 ximage->byte_order = native_byte_order;
284 ximage->bitmap_unit = 32;
285 ximage->bitmap_bit_order = native_byte_order;
286 ximage
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/xlib/
H A Dxlib_sw_winsys.c304 XImage *ximage; local in function:xlib_sw_display
344 ximage = xlib_dt->tempImage;
345 ximage->data = xlib_dt->data;
349 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False);
353 ximage = xlib_dt->tempImage;
354 ximage->data = xlib_dt->data;
357 assert(ximage->format);
358 assert(ximage->bitmap_unit);
361 ximage->width = xlib_dt->width;
362 ximage
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/xlib/
H A Dxlib_sw_winsys.c305 XImage *ximage; local in function:xlib_sw_display
352 ximage = xlib_dt->tempImage;
353 ximage->data = xlib_dt->data;
357 ximage, box->x, box->y, box->x, box->y,
362 ximage = xlib_dt->tempImage;
363 ximage->data = xlib_dt->data;
366 assert(ximage->format);
367 assert(ximage->bitmap_unit);
370 ximage->width = xlib_dt->width;
371 ximage
[all...]

Completed in 15 milliseconds

123