Abstract away MPEG2 support

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-11 16:18:18 +02:00
committed by Paul Kocialkowski
parent 03fd51b3b3
commit d7d8fc744b
5 changed files with 104 additions and 98 deletions
+6 -1
View File
@@ -57,9 +57,14 @@ struct object_surface {
unsigned int destination_planes_count;
unsigned int destination_buffers_count;
struct v4l2_ctrl_mpeg2_slice_params mpeg2_slice_params;
unsigned int slices_size;
union {
struct {
VAPictureParameterBufferMPEG2 picture;
} mpeg2;
} params;
int request_fd;
};