forked from marfrit/libva-v4l2-request-fourier
surface: Use object surface structure directly instead of abstract type
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+3
-3
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user