aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2009-12-09 06:39:52 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:53:28 -0400
commiteb08f35480869f7a82e9be1f19bc4575452e7f98 (patch)
tree9a6138100f3cc4c84950ebb4129e620bffecb117 /include/media
parentf0beea8f46142ea7abd7ed3f44fd0967c603fae0 (diff)
[media] v4l: v4l2_subdev pad-level operations
Add a v4l2_subdev_pad_ops structure for the operations that need to be performed at the pad level such as format-related operations. Pad format-related operations use v4l2_mbus_framefmt instead of v4l2_format. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-subdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index f5dddacf8499..d4d3653426a9 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -413,6 +413,9 @@ struct v4l2_subdev_ir_ops {
413 struct v4l2_subdev_ir_parameters *params); 413 struct v4l2_subdev_ir_parameters *params);
414}; 414};
415 415
416struct v4l2_subdev_pad_ops {
417};
418
416struct v4l2_subdev_ops { 419struct v4l2_subdev_ops {
417 const struct v4l2_subdev_core_ops *core; 420 const struct v4l2_subdev_core_ops *core;
418 const struct v4l2_subdev_tuner_ops *tuner; 421 const struct v4l2_subdev_tuner_ops *tuner;
@@ -421,6 +424,7 @@ struct v4l2_subdev_ops {
421 const struct v4l2_subdev_vbi_ops *vbi; 424 const struct v4l2_subdev_vbi_ops *vbi;
422 const struct v4l2_subdev_ir_ops *ir; 425 const struct v4l2_subdev_ir_ops *ir;
423 const struct v4l2_subdev_sensor_ops *sensor; 426 const struct v4l2_subdev_sensor_ops *sensor;
427 const struct v4l2_subdev_pad_ops *pad;
424}; 428};
425 429
426/* 430/*