summaryrefslogtreecommitdiff
path: root/src/i965_drv_video.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-03-15 10:50:58 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-03-15 15:45:28 +0800
commite2bb988514638aa0ef31a9ec5019986a9a9fc70f (patch)
tree5d24e9d583110f45e1d3dbd38e62ad76fbab6789 /src/i965_drv_video.h
parent855cf8eadca5c5f0f51786a80505a8f14316e3bb (diff)
downloadlibva-intel-driver-e2bb988514638aa0ef31a9ec5019986a9a9fc70f.tar.gz
libva-intel-driver-e2bb988514638aa0ef31a9ec5019986a9a9fc70f.tar.bz2
libva-intel-driver-e2bb988514638aa0ef31a9ec5019986a9a9fc70f.zip
Check the object instance instead of the id for subpicture and image
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/i965_drv_video.h')
-rw-r--r--src/i965_drv_video.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h
index 787755c..0943736 100644
--- a/src/i965_drv_video.h
+++ b/src/i965_drv_video.h
@@ -198,6 +198,7 @@ struct object_surface
struct object_base base;
VASurfaceStatus status;
VASubpictureID subpic[I965_MAX_SUBPIC_SUM];
+ struct object_subpic *obj_subpic[I965_MAX_SUBPIC_SUM];
unsigned int subpic_render_idx;
int width;
@@ -244,6 +245,7 @@ struct object_subpic
{
struct object_base base;
VAImageID image;
+ struct object_image *obj_image;
VARectangle src_rect;
VARectangle dst_rect;
unsigned int format;