From 2ef39048c246cb7bf4a9678ee1ce63d7ddfa09a1 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Mon, 23 Apr 2018 12:00:04 +0200 Subject: [PATCH] surface: Reorder object surface structure Signed-off-by: Paul Kocialkowski --- src/surface.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/surface.h b/src/surface.h index e1aa114..76e7a2b 100644 --- a/src/surface.h +++ b/src/surface.h @@ -35,13 +35,15 @@ struct object_surface { struct object_base base; + VASurfaceID surface_id; + VAStatus status; + int width; + int height; + uint32_t request; uint32_t input_buf_index; uint32_t output_buf_index; - int width; - int height; - VAStatus status; }; VAStatus SunxiCedrusCreateSurfaces(VADriverContextP ctx, int width,