Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dxwd.c200 *ximage; in ReadXWDImage() local
338 ximage=(XImage *) AcquireMagickMemory(sizeof(*ximage)); in ReadXWDImage()
339 if (ximage == (XImage *) NULL) in ReadXWDImage()
341 ximage->depth=(int) header.pixmap_depth; in ReadXWDImage()
342 ximage->format=(int) header.pixmap_format; in ReadXWDImage()
343 ximage->xoffset=(int) header.xoffset; in ReadXWDImage()
344 ximage->data=(char *) NULL; in ReadXWDImage()
345 ximage->width=(int) header.pixmap_width; in ReadXWDImage()
346 ximage->height=(int) header.pixmap_height; in ReadXWDImage()
347 ximage->bitmap_pad=(int) header.bitmap_pad; in ReadXWDImage()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c81 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage()
86 if (b->backxrb->ximage == NULL) { in alloc_back_shm_ximage()
93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage()
94 * b->backxrb->ximage->height, IPC_CREAT | 0600); in alloc_back_shm_ximage()
97 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
98 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
104 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage()
108 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
110 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
127 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.c77 XMesaPutPixel(xrb->ximage, x, y, p); \
101 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
135 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
169 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
243 XMesaPutPixel(xrb->ximage, x, y, p); \
264 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
294 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
326 XMesaImage *img = xrb->ximage; \
352 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_api.c1333 if (b->backxrb->ximage) { in XMesaSwapBuffers()
1340 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1351 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1394 if (b->backxrb->ximage) { in XMesaCopySubBuffer()
1401 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1411 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1440 XMesaImage **ximage ) in XMesaGetBackBuffer() argument
1445 if (ximage) in XMesaGetBackBuffer()
1446 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer()
1451 *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.c59 if (pdp->ximage) { in XCreateDrawable()
60 XDestroyImage(pdp->ximage); in XCreateDrawable()
61 pdp->ximage = NULL; in XCreateDrawable()
68 pdp->ximage = XShmCreateImage(dpy, in XCreateDrawable()
75 if (pdp->ximage != NULL) { in XCreateDrawable()
88 XDestroyImage(pdp->ximage); in XCreateDrawable()
89 pdp->ximage = NULL; in XCreateDrawable()
96 if (pdp->ximage == NULL) { in XCreateDrawable()
98 pdp->ximage = XCreateImage(dpy, in XCreateDrawable()
112 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable()
[all …]
Ddrisw_priv.h67 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.c304 XImage *ximage; in xlib_sw_display() local
344 ximage = xlib_dt->tempImage; in xlib_sw_display()
345 ximage->data = xlib_dt->data; in xlib_sw_display()
349 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); in xlib_sw_display()
353 ximage = xlib_dt->tempImage; in xlib_sw_display()
354 ximage->data = xlib_dt->data; in xlib_sw_display()
357 assert(ximage->format); in xlib_sw_display()
358 assert(ximage->bitmap_unit); in xlib_sw_display()
361 ximage->width = xlib_dt->width; in xlib_sw_display()
362 ximage->height = xlib_dt->height; in xlib_sw_display()
[all …]
/external/ImageMagick/MagickCore/
Dxwindow.c317 if (magick_windows[i]->ximage != (XImage *) NULL) in DestroyXResources()
319 XDestroyImage(magick_windows[i]->ximage); in DestroyXResources()
320 magick_windows[i]->ximage=(XImage *) NULL; in DestroyXResources()
2004 (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth); in XDisplayImageInfo()
2013 windows->image.ximage->width,windows->image.ximage->height); in XDisplayImageInfo()
2113 static void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception) in XDitherImage() argument
2206 scanline_pad=(unsigned int) (ximage->bytes_per_line- in XDitherImage()
2207 ((size_t) (ximage->width*ximage->bits_per_pixel) >> 3)); in XDitherImage()
2210 q=ximage->data; in XDitherImage()
2752 if (window_info->ximage != (XImage *) NULL) in XFreeResources()
[all …]
Ddisplay.c2683 width*(annotate_info->x+windows->image.x)/windows->image.ximage->width; in XAnnotateEditImage()
2685 windows->image.y)/windows->image.ximage->height; in XAnnotateEditImage()
2687 "%ux%u%+d%+d",width*annotate_info->width/windows->image.ximage->width, in XAnnotateEditImage()
2688 height*annotate_info->height/windows->image.ximage->height, in XAnnotateEditImage()
3133 if (segment_info.x2 > windows->image.ximage->width) in XChopImage()
3134 segment_info.x2=windows->image.ximage->width; in XChopImage()
3138 if (segment_info.y2 > windows->image.ximage->height) in XChopImage()
3139 segment_info.y2=windows->image.ximage->height; in XChopImage()
3182 windows->image.window_changes.width=windows->image.ximage->width- in XChopImage()
3184 windows->image.window_changes.height=windows->image.ximage->height- in XChopImage()
[all …]
Dxwindow-private.h405 *ximage, member
Danimate.c855 window_info.ximage=(XImage *) NULL; in XAnimateBackgroundImage()
999 (window_info.ximage->width/2); in XAnimateBackgroundImage()
1001 (window_info.ximage->height/2); in XAnimateBackgroundImage()
1054 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
1125 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width, in XAnimateBackgroundImage()
2140 windows->image.ximage->width=(int) image->columns; in XAnimateImages()
2141 windows->image.ximage->height=(int) image->rows; in XAnimateImages()
/external/mesa3d/docs/
Denvvars.rst217 or ``ximage``
/external/crosvm/gpu_display/src/generated/
Dxlib.rs2716 pub fn XDestroyImage(ximage: *mut XImage) -> ::std::os::raw::c_int; in XDestroyImage()