Rework buffer management to be more generic and support untiled format

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-07-11 15:16:52 +02:00
parent 2ca67372f8
commit 9f2c069f76
12 changed files with 330 additions and 100 deletions
+4
View File
@@ -26,6 +26,8 @@
#ifndef _SUNXI_CEDRUS_H_
#define _SUNXI_CEDRUS_H_
#include <stdbool.h>
#include <va/va.h>
#include "object_heap.h"
#include "context.h"
@@ -49,6 +51,8 @@ struct sunxi_cedrus_driver_data {
struct object_heap image_heap;
int video_fd;
int media_fd;
bool tiled_format;
};
VAStatus VA_DRIVER_INIT_FUNC(VADriverContextP context);