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