Home
last modified time | relevance | path

Searched refs:ximage (Results 1 – 16 of 16) sorted by relevance

/external/ImageMagick/coders/
Dxwd.c199 *ximage; in ReadXWDImage() local
272 ximage=(XImage *) AcquireMagickMemory(sizeof(*ximage)); in ReadXWDImage()
273 if (ximage == (XImage *) NULL) in ReadXWDImage()
275 ximage->depth=(int) header.pixmap_depth; in ReadXWDImage()
276 ximage->format=(int) header.pixmap_format; in ReadXWDImage()
277 ximage->xoffset=(int) header.xoffset; in ReadXWDImage()
278 ximage->data=(char *) NULL; in ReadXWDImage()
279 ximage->width=(int) header.pixmap_width; in ReadXWDImage()
280 ximage->height=(int) header.pixmap_height; in ReadXWDImage()
281 ximage->bitmap_pad=(int) header.bitmap_pad; in ReadXWDImage()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c80 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage()
85 if (b->backxrb->ximage == NULL) { in alloc_back_shm_ximage()
91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage()
92 * b->backxrb->ximage->height, IPC_CREAT|0777); in alloc_back_shm_ximage()
95 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
96 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
102 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage()
106 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
108 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
125 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
[all …]
Dxm_dd.c186 if (!xrb->ximage) in clear_32bit_ximage()
199 GLuint *ptr4 = (GLuint *) xrb->ximage->data; in clear_32bit_ximage()
228 XMesaImage *img = xrb->ximage; in clear_nbit_ximage()
389 XMesaImage ximage; in xmesa_DrawPixels_8R8G8B() local
400 memset(&ximage, 0, sizeof(XMesaImage)); in xmesa_DrawPixels_8R8G8B()
401 ximage.width = width; in xmesa_DrawPixels_8R8G8B()
402 ximage.height = height; in xmesa_DrawPixels_8R8G8B()
403 ximage.format = ZPixmap; in xmesa_DrawPixels_8R8G8B()
404 ximage.data = (char *) pixels in xmesa_DrawPixels_8R8G8B()
406 ximage.byte_order = LSBFirst; in xmesa_DrawPixels_8R8G8B()
[all …]
Dxm_line.c137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel );
151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
185 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
222 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
239 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
263 XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel); \
280 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
303 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_tri.c76 XMesaPutPixel(xrb->ximage, x, y, p); \
100 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
134 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
200 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
242 XMesaPutPixel(xrb->ximage, x, y, p); \
263 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
293 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
325 XMesaImage *img = xrb->ximage; \
351 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_api.c1336 if (b->backxrb->ximage) { in XMesaSwapBuffers()
1343 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1354 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1397 if (b->backxrb->ximage) { in XMesaCopySubBuffer()
1404 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1414 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1443 XMesaImage **ximage ) in XMesaGetBackBuffer() argument
1448 if (ximage) in XMesaGetBackBuffer()
1449 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer()
1454 *ximage = NULL; in XMesaGetBackBuffer()
[all …]
Dxmesa.h278 XMesaImage **ximage );
DxmesaP.h160 XMesaImage *ximage; /* The back buffer, if not using a Pixmap */ member
/external/mesa3d/src/glx/
Ddrisw_glx.c67 XImage *ximage; member
98 pdp->ximage = XCreateImage(dpy, in XCreateDrawable()
111 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable()
112 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable()
120 XDestroyImage(pdp->ximage); in XDestroyDrawable()
182 XImage *ximage; in swrastPutImage() local
198 ximage = pdp->ximage; in swrastPutImage()
199 ximage->data = data; in swrastPutImage()
200 ximage->width = w; in swrastPutImage()
201 ximage->height = h; in swrastPutImage()
[all …]
/external/libpng/contrib/gregbook/
Drpng-x.c141 static XImage *ximage; variable
666 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
669 if (!ximage) { in rpng_x_create_window()
682 ximage->byte_order = MSBFirst; in rpng_x_create_window()
699 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image()
707 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image()
708 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image()
709 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image()
716 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image()
778 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image()
[all …]
Drpng2-x.c289 static XImage *ximage; variable
1012 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window()
1015 if (!ximage) { in rpng2_x_create_window()
1028 ximage->byte_order = MSBFirst; in rpng2_x_create_window()
1087 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image()
1299 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1303 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1341 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1361 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image()
1380 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row()
[all …]
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c296 XImage *ximage; in xlib_sw_display() local
336 ximage = xlib_dt->tempImage; in xlib_sw_display()
337 ximage->data = xlib_dt->data; in xlib_sw_display()
341 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); in xlib_sw_display()
345 ximage = xlib_dt->tempImage; in xlib_sw_display()
346 ximage->data = xlib_dt->data; in xlib_sw_display()
349 assert(ximage->format); in xlib_sw_display()
350 assert(ximage->bitmap_unit); in xlib_sw_display()
353 ximage->width = xlib_dt->width; in xlib_sw_display()
354 ximage->height = xlib_dt->height; in xlib_sw_display()
[all …]
/external/ImageMagick/MagickCore/
Dxwindow.c312 if (magick_windows[i]->ximage != (XImage *) NULL) in DestroyXResources()
314 XDestroyImage(magick_windows[i]->ximage); in DestroyXResources()
315 magick_windows[i]->ximage=(XImage *) NULL; in DestroyXResources()
1997 (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth); in XDisplayImageInfo()
2006 windows->image.ximage->width,windows->image.ximage->height); in XDisplayImageInfo()
2106 static void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception) in XDitherImage() argument
2207 scanline_pad=(unsigned int) (ximage->bytes_per_line- in XDitherImage()
2208 ((size_t) (ximage->width*ximage->bits_per_pixel) >> 3)); in XDitherImage()
2211 q=ximage->data; in XDitherImage()
2753 if (window_info->ximage != (XImage *) NULL) in XFreeResources()
[all …]
Ddisplay.c2715 width*(annotate_info->x+windows->image.x)/windows->image.ximage->width; in XAnnotateEditImage()
2717 windows->image.y)/windows->image.ximage->height; in XAnnotateEditImage()
2719 "%ux%u%+d%+d",width*annotate_info->width/windows->image.ximage->width, in XAnnotateEditImage()
2720 height*annotate_info->height/windows->image.ximage->height, in XAnnotateEditImage()
3165 if (segment_info.x2 > windows->image.ximage->width) in XChopImage()
3166 segment_info.x2=windows->image.ximage->width; in XChopImage()
3170 if (segment_info.y2 > windows->image.ximage->height) in XChopImage()
3171 segment_info.y2=windows->image.ximage->height; in XChopImage()
3214 windows->image.window_changes.width=windows->image.ximage->width- in XChopImage()
3216 windows->image.window_changes.height=windows->image.ximage->height- in XChopImage()
[all …]
Danimate.c852 window_info.ximage=(XImage *) NULL; in XAnimateBackgroundImage()
996 (window_info.ximage->width/2); in XAnimateBackgroundImage()
998 (window_info.ximage->height/2); in XAnimateBackgroundImage()
1051 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
1122 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
2123 windows->image.ximage->width=(int) image->columns; in XAnimateImages()
2124 windows->image.ximage->height=(int) image->rows; in XAnimateImages()
Dxwindow-private.h399 *ximage, member