Rework buffer and slice handling

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-04-20 11:23:14 +02:00
parent 70bbd56770
commit d758a0d425
5 changed files with 28 additions and 9 deletions
+2
View File
@@ -37,10 +37,12 @@
struct object_buffer {
struct object_base base;
void *buffer_data;
void *buffer_map;
int max_num_elements;
int num_elements;
VABufferType type;
unsigned int size;
unsigned int map_size;
};
typedef struct object_buffer *object_buffer_p;