Searched refs:ximg (Results 1 – 2 of 2) sorted by relevance
/hardware/intel/img/psb_video/src/x11/ |
D | psb_x11.c | 121 XImage *ximg = NULL; in psb_putsurface_x11() local 189 …ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32… in psb_putsurface_x11() 191 if (ximg->byte_order == MSBFirst) in psb_putsurface_x11() 192 …_DEBUG_GENERAL, "PutSurface: XImage pixels has MSBFirst, %d bits / pixel\n", ximg->bits_per_pixel); in psb_putsurface_x11() 194 …_DEBUG_GENERAL, "PutSurface: XImage pixels has LSBFirst, %d bits / pixel\n", ximg->bits_per_pixel); in psb_putsurface_x11() 196 if (ximg->bits_per_pixel != 32) { in psb_putsurface_x11() 218 ximg->data = (char *) malloc(ximg->bytes_per_line * height); in psb_putsurface_x11() 219 if (NULL == ximg->data) { in psb_putsurface_x11() 228 uint32_t *dest_even = (uint32_t *)(ximg->data + y * ximg->bytes_per_line); in psb_putsurface_x11() 229 uint32_t *dest_odd = (uint32_t *)(ximg->data + (y + 1) * ximg->bytes_per_line); in psb_putsurface_x11() [all …]
|
D | psb_coverlay.c | 398 XImage *ximg = NULL; in psb_DisplayRGBASubpicture() local 472 …ximg = XCreateImage(ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, image_width, image_height, 3… in psb_DisplayRGBASubpicture() 474 if (NULL == ximg) { in psb_DisplayRGBASubpicture() 479 ximg->data = wsbmBOMap(bo, WSBM_ACCESS_READ); in psb_DisplayRGBASubpicture() 480 if (NULL == ximg->data) { in psb_DisplayRGBASubpicture() 498 …XPutImage(ctx->native_dpy, output->output_drawable, output->gc, ximg, srcx, srcy, destx, desty, wi… in psb_DisplayRGBASubpicture() 511 XPutImage(ctx->native_dpy, output->extend_drawable, output->extend_gc, ximg, in psb_DisplayRGBASubpicture() 517 ximg->data = NULL; in psb_DisplayRGBASubpicture() 519 if (NULL != ximg) in psb_DisplayRGBASubpicture() 520 XDestroyImage(ximg); in psb_DisplayRGBASubpicture()
|