mpeg2: Pass driver_data along to access reference surfaces

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-25 09:32:19 +02:00
parent 61ccf702a1
commit c55a2709b0
3 changed files with 10 additions and 6 deletions
+4 -2
View File
@@ -33,10 +33,12 @@
#include "surface.h"
int mpeg2_fill_picture_parameters(struct object_context *context_object,
int mpeg2_fill_picture_parameters(struct sunxi_cedrus_driver_data *driver_data,
struct object_context *context_object,
struct object_surface *surface_object,
VAPictureParameterBufferMPEG2 *parameters);
int mpeg2_fill_slice_data(struct object_context *context_object,
int mpeg2_fill_slice_data(struct sunxi_cedrus_driver_data *driver_data,
struct object_context *context_object,
struct object_surface *surface_object, void *data, unsigned int size);
#endif