summaryrefslogtreecommitdiff
path: root/i965_drv_video.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-11-18 10:06:25 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-11-18 11:51:11 +0800
commitdf89849c75a43c46e87e0533f10f12efb8a7ce0d (patch)
tree0d716fbce393424ebf2770d089d3396c27b043d7 /i965_drv_video.h
parent16a5b7f9f521d92a46d5ba760d31f3564d2abfa2 (diff)
downloadlibva-intel-driver-df89849c75a43c46e87e0533f10f12efb8a7ce0d.tar.gz
libva-intel-driver-df89849c75a43c46e87e0533f10f12efb8a7ce0d.tar.bz2
libva-intel-driver-df89849c75a43c46e87e0533f10f12efb8a7ce0d.zip
cleanup vaCreateImage, make it possible to add formats later
Diffstat (limited to 'i965_drv_video.h')
-rw-r--r--i965_drv_video.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/i965_drv_video.h b/i965_drv_video.h
index 0b7ee33..855e6b9 100644
--- a/i965_drv_video.h
+++ b/i965_drv_video.h
@@ -106,13 +106,11 @@ struct object_buffer
int size_element;
VABufferType type;
};
+
struct object_image
{
struct object_base base;
- VABufferID buf;
- int width;
- int height;
- int size;
+ VAImage image;
dri_bo *bo;
};