HomeSort by relevance Sort by last modified time
    Searched refs:ximg (Results 1 - 2 of 2) sorted by null

  /hardware/intel/img/psb_video/src/x11/
psb_x11.c 121 XImage *ximg = NULL; local
189 ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32, 0);
191 if (ximg->byte_order == MSBFirst)
192 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PutSurface: XImage pixels has MSBFirst, %d bits / pixel\n", ximg->bits_per_pixel);
194 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PutSurface: XImage pixels has LSBFirst, %d bits / pixel\n", ximg->bits_per_pixel);
196 if (ximg->bits_per_pixel != 32) {
218 ximg->data = (char *) malloc(ximg->bytes_per_line * height);
219 if (NULL == ximg->data) {
228 uint32_t *dest_even = (uint32_t *)(ximg->data + y * ximg->bytes_per_line)
    [all...]
psb_coverlay.c 398 XImage *ximg = NULL; local
472 ximg = XCreateImage(ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, image_width, image_height, 32, 0);
474 if (NULL == ximg) {
479 ximg->data = wsbmBOMap(bo, WSBM_ACCESS_READ);
480 if (NULL == ximg->data) {
481 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: Failed to map to ximg->data.\n", __func__);
498 XPutImage(ctx->native_dpy, output->output_drawable, output->gc, ximg, srcx, srcy, destx, desty, width, height);
511 XPutImage(ctx->native_dpy, output->extend_drawable, output->extend_gc, ximg,
517 ximg->data = NULL;
519 if (NULL != ximg)
    [all...]

Completed in 2426 milliseconds