Home | History | Annotate | Download | only in src

Lines Matching refs:SURFACE

57 #define SURFACE(id)     ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
184 /* clean the displaying surface information in kernel */
219 object_surface_p surface,
238 /* check for surface */
240 if (*dest_x > surface->width) *dest_x = surface->width - 1;
242 if (*dest_y > surface->height) *dest_y = surface->height - 1;
244 if (((*width) + (*dest_x)) > surface->width) *width = surface->width - *dest_x;
245 if (((*height) + (*dest_y)) > surface->height) *height = surface->height - *dest_x;
461 VASurfaceID surface,
471 object_surface_p obj_surface = SURFACE(surface);
483 drv_debug_msg(VIDEO_DEBUG_ERROR, "Can't derive reference surface" \
514 /* create a buffer to represent surface buffer */
598 obj_image->derived_surface = surface; /* this image is derived from a surface */
615 object_surface_p obj_surface = SURFACE(obj_image->derived_surface);
850 VASurfaceID surface,
879 object_surface_p obj_surface = SURFACE(surface);
1005 VASurfaceID surface,
1022 object_surface_p obj_surface = SURFACE(surface);
1127 object_surface_p surface,
1148 /* check for surface */
1150 if (*dest_x > surface->width) *dest_x = surface->width - 1;
1152 if (*dest_y > surface->height) *dest_y = surface->height - 1;
1154 if (((*dest_width) + (*dest_x)) > (int)surface->width) *dest_width = surface->width - *dest_x;
1155 if (((*dest_height) + (*dest_y)) > (int)surface->height) *dest_height = surface->height - *dest_x;
1160 VASurfaceID surface,
1182 return psb_PutImage2(ctx, surface, image_id, src_x, src_y, src_width, src_height, dest_x, dest_y);
1194 object_surface_p obj_surface = SURFACE(surface);
1272 * Link supbicture into one surface, when update is zero, not need to
1274 * The image informatio and its BO of subpicture will copied to surface
1319 drv_debug_msg(VIDEO_DEBUG_ERROR, "can't support so many sub-pictures for the surface\n");
1554 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id);
1556 if (obj_surface) { /* remove subpict from surface */
1624 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id);
1698 short dest_x, /* upper left offset in surface */
1738 object_surface_p obj_surface = SURFACE(target_surfaces[i]);
1744 object_surface_p obj_surface = SURFACE(*surfaces);
1774 short dest_x, /* upper left offset in surface */
1815 object_surface_p obj_surface = SURFACE(*surfaces);
1821 drv_debug_msg(VIDEO_DEBUG_ERROR, "vaDeassociateSubpicture: Invalid surface, VASurfaceID=0x%08x\n", *surfaces);