libva: Catch up with the latest version of the media request API

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-03-09 14:28:27 +01:00
parent c8e187aed5
commit 923a001e50
4 changed files with 46 additions and 11 deletions
+2
View File
@@ -28,6 +28,7 @@
#include <va/va.h>
#include "object_heap.h"
#include "context.h"
#include <linux/videodev2.h>
@@ -54,6 +55,7 @@ struct sunxi_cedrus_driver_data {
char *chroma_bufs[VIDEO_MAX_FRAME];
unsigned int num_dst_bufs;
int mem2mem_fd;
int request_fds[INPUT_BUFFERS_NB];
};
#endif /* _SUNXI_CEDRUS_DRV_VIDEO_H_ */