summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2009-06-19 04:14:12 +0800
committerAustin Yuan <shengquan.yuan@intel.com>2009-06-19 04:14:12 +0800
commit214cd9cd3c4f9d00a559823bd22fcc2d5a6e9c00 (patch)
tree86998864b71c6f1014f6fcc359af55ba672ec90d
parent71b5fec133c15cf4b2af641f3b1c387e17aadc56 (diff)
Fixed dummy driver compile issue20090618_Alpha2.3
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--dummy_drv_video/dummy_drv_video.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/dummy_drv_video/dummy_drv_video.c b/dummy_drv_video/dummy_drv_video.c
index 4db2e46..20ee3ae 100644
--- a/dummy_drv_video/dummy_drv_video.c
+++ b/dummy_drv_video/dummy_drv_video.c
@@ -1154,11 +1154,17 @@ VAStatus dummy_SetDisplayAttributes (
}
-VAStatus dummy_DbgCopySurfaceToBuffer(
+VAStatus dummy_CopySurfaceToBuffer(
VADriverContextP ctx,
VASurfaceID surface,
- void **buffer, /* out */
- unsigned int *stride /* out */
+ unsigned int *fourcc, /* following are output argument */
+ unsigned int *luma_stride,
+ unsigned int *chroma_u_stride,
+ unsigned int *chroma_v_stride,
+ unsigned int *luma_offset,
+ unsigned int *chroma_u_offset,
+ unsigned int *chroma_v_offset,
+ void **buffer
)
{
/* TODO */
@@ -1266,7 +1272,7 @@ VAStatus __vaDriverInit_0_29( VADriverContextP ctx )
ctx->vtable.vaGetDisplayAttributes = dummy_GetDisplayAttributes;
ctx->vtable.vaSetDisplayAttributes = dummy_SetDisplayAttributes;
- ctx->vtable.vaDbgCopySurfaceToBuffer = dummy_DbgCopySurfaceToBuffer;
+ ctx->vtable.vaCopySurfaceToBuffer = dummy_CopySurfaceToBuffer;
driver_data = (struct dummy_driver_data *) malloc( sizeof(*driver_data) );
ctx->pDriverData = (void *) driver_data;