Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Drpng-x.c139 static XImage *ximage; variable
660 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
663 if (!ximage) { in rpng_x_create_window()
676 ximage->byte_order = MSBFirst; in rpng_x_create_window()
693 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image()
701 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image()
702 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image()
703 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image()
710 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image()
772 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image()
[all …]
Drpng2-x.c273 static XImage *ximage; variable
1008 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window()
1011 if (!ximage) { in rpng2_x_create_window()
1024 ximage->byte_order = MSBFirst; in rpng2_x_create_window()
1083 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image()
1295 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1299 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1337 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1357 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image()
1376 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row()
[all …]