Home
last modified time | relevance | path

Searched refs:ximage (Results 1 – 17 of 17) 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.c187 if (!xrb->ximage) in clear_32bit_ximage()
200 GLuint *ptr4 = (GLuint *) xrb->ximage->data; in clear_32bit_ximage()
229 XMesaImage *img = xrb->ximage; in clear_nbit_ximage()
388 XMesaImage ximage; in xmesa_DrawPixels_8R8G8B() local
399 memset(&ximage, 0, sizeof(XMesaImage)); in xmesa_DrawPixels_8R8G8B()
400 ximage.width = width; in xmesa_DrawPixels_8R8G8B()
401 ximage.height = height; in xmesa_DrawPixels_8R8G8B()
402 ximage.format = ZPixmap; in xmesa_DrawPixels_8R8G8B()
403 ximage.data = (char *) pixels in xmesa_DrawPixels_8R8G8B()
405 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.c78 XMesaPutPixel(xrb->ximage, x, y, p); \
102 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
136 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
170 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
202 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
244 XMesaPutPixel(xrb->ximage, x, y, p); \
265 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
295 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
327 XMesaImage *img = xrb->ximage; \
353 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_api.c1338 if (b->backxrb->ximage) { in XMesaSwapBuffers()
1345 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1356 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1399 if (b->backxrb->ximage) { in XMesaCopySubBuffer()
1406 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1416 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1445 XMesaImage **ximage ) in XMesaGetBackBuffer() argument
1450 if (ximage) in XMesaGetBackBuffer()
1451 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer()
1456 *ximage = NULL; in XMesaGetBackBuffer()
[all …]
Dxmesa.h272 XMesaImage **ximage );
DxmesaP.h160 XMesaImage *ximage; /* The back buffer, if not using a Pixmap */ member
/external/mesa3d/src/glx/
Ddrisw_glx.c60 pdp->ximage = XCreateImage(dpy, in XCreateDrawable()
73 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable()
74 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable()
82 XDestroyImage(pdp->ximage); in XDestroyDrawable()
144 XImage *ximage; in swrastPutImage2() local
160 ximage = pdp->ximage; in swrastPutImage2()
161 ximage->data = data; in swrastPutImage2()
162 ximage->width = w; in swrastPutImage2()
163 ximage->height = h; in swrastPutImage2()
164 ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastPutImage2()
[all …]
Ddrisw_priv.h64 XImage *ximage; member
/external/libpng/contrib/gregbook/
Drpng-x.c142 static XImage *ximage; variable
667 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
670 if (!ximage) { in rpng_x_create_window()
683 ximage->byte_order = MSBFirst; in rpng_x_create_window()
700 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image()
708 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image()
709 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image()
710 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image()
717 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image()
779 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image()
[all …]
Drpng2-x.c291 static XImage *ximage; variable
1021 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window()
1024 if (!ximage) { in rpng2_x_create_window()
1037 ximage->byte_order = MSBFirst; in rpng2_x_create_window()
1096 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image()
1308 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1312 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1350 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1370 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image()
1389 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row()
[all …]
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c303 XImage *ximage; in xlib_sw_display() local
343 ximage = xlib_dt->tempImage; in xlib_sw_display()
344 ximage->data = xlib_dt->data; in xlib_sw_display()
348 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); in xlib_sw_display()
352 ximage = xlib_dt->tempImage; in xlib_sw_display()
353 ximage->data = xlib_dt->data; in xlib_sw_display()
356 assert(ximage->format); in xlib_sw_display()
357 assert(ximage->bitmap_unit); in xlib_sw_display()
360 ximage->width = xlib_dt->width; in xlib_sw_display()
361 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()
1999 (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth); in XDisplayImageInfo()
2008 windows->image.ximage->width,windows->image.ximage->height); in XDisplayImageInfo()
2108 static void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception) in XDitherImage() argument
2201 scanline_pad=(unsigned int) (ximage->bytes_per_line- in XDitherImage()
2202 ((size_t) (ximage->width*ximage->bits_per_pixel) >> 3)); in XDitherImage()
2205 q=ximage->data; in XDitherImage()
2747 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.c856 window_info.ximage=(XImage *) NULL; in XAnimateBackgroundImage()
1000 (window_info.ximage->width/2); in XAnimateBackgroundImage()
1002 (window_info.ximage->height/2); in XAnimateBackgroundImage()
1055 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
1126 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
2132 windows->image.ximage->width=(int) image->columns; in XAnimateImages()
2133 windows->image.ximage->height=(int) image->rows; in XAnimateImages()
Dxwindow-private.h405 *ximage, member