surface: Use object surface structure directly instead of abstract type

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-23 10:06:11 +02:00
parent 6a06b4570b
commit 97950176ad
8 changed files with 25 additions and 27 deletions
+3 -3
View File
@@ -56,7 +56,7 @@ VAStatus sunxi_cedrus_BeginPicture(VADriverContextP ctx, VAContextID context,
INIT_DRIVER_DATA
VAStatus vaStatus = VA_STATUS_SUCCESS;
struct object_context *obj_context;
object_surface_p obj_surface;
struct object_surface *obj_surface;
obj_context = CONTEXT(context);
assert(obj_context);
@@ -86,7 +86,7 @@ VAStatus sunxi_cedrus_RenderPicture(VADriverContextP ctx, VAContextID context,
INIT_DRIVER_DATA
VAStatus vaStatus = VA_STATUS_SUCCESS;
struct object_context *obj_context;
object_surface_p obj_surface;
struct object_surface *obj_surface;
object_config_p obj_config;
int i;
@@ -145,7 +145,7 @@ VAStatus sunxi_cedrus_EndPicture(VADriverContextP ctx, VAContextID context)
INIT_DRIVER_DATA
VAStatus vaStatus = VA_STATUS_SUCCESS;
struct object_context *obj_context;
object_surface_p obj_surface;
struct object_surface *obj_surface;
struct v4l2_buffer out_buf, cap_buf;
struct v4l2_plane plane[1];
struct v4l2_plane planes[2];