Sync with latest definitions from the Cedrus driver and requests API

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-06-18 15:07:59 +02:00
parent c0a3cd8fcd
commit bb73d363a3
6 changed files with 8 additions and 10 deletions
+1 -3
View File
@@ -39,12 +39,10 @@ int mpeg2_fill_picture_parameters(struct sunxi_cedrus_driver_data *driver_data,
struct object_surface *surface_object,
VAPictureParameterBufferMPEG2 *parameters)
{
struct v4l2_ctrl_mpeg2_frame_hdr *header = &surface_object->mpeg2_header;
struct v4l2_ctrl_mpeg2_slice_header *header = &surface_object->mpeg2_header;
struct object_surface *forward_reference_surface;
struct object_surface *backward_reference_surface;
header->type = MPEG2;
header->width = context_object->picture_width;
header->height = context_object->picture_height;