image: Use object image 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:11:36 +02:00
parent 97950176ad
commit 0bd492f0d3
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -30,7 +30,7 @@
#include "object_heap.h"
#define IMAGE(id) ((object_image_p) object_heap_lookup(&driver_data->image_heap, id))
#define IMAGE(id) ((struct object_image *) object_heap_lookup(&driver_data->image_heap, id))
#define IMAGE_ID_OFFSET 0x10000000
struct object_image {
@@ -38,8 +38,6 @@ struct object_image {
VABufferID buf;
};
typedef struct object_image *object_image_p;
VAStatus sunxi_cedrus_QueryImageFormats(VADriverContextP ctx,
VAImageFormat *format_list, int *num_formats);