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:
+1
-3
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "object_heap.h"
|
||||
|
||||
#define SURFACE(id) ((object_surface_p) object_heap_lookup(&driver_data->surface_heap, id))
|
||||
#define SURFACE(id) ((struct object_surface *) object_heap_lookup(&driver_data->surface_heap, id))
|
||||
#define SURFACE_ID_OFFSET 0x04000000
|
||||
|
||||
struct object_surface {
|
||||
@@ -44,8 +44,6 @@ struct object_surface {
|
||||
VAStatus status;
|
||||
};
|
||||
|
||||
typedef struct object_surface *object_surface_p;
|
||||
|
||||
VAStatus sunxi_cedrus_CreateSurfaces(VADriverContextP ctx, int width,
|
||||
int height, int format, int num_surfaces, VASurfaceID *surfaces);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user