summaryrefslogtreecommitdiff
path: root/subdev.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-06-02 16:39:13 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-06-02 17:06:04 +0200
commit0700edb0d8fb3965cc80a2c30b101cab35d0b93f (patch)
tree58eab877f98f26012ebceeb4b6218e860b9299c1 /subdev.h
parent293ec4a8813e6d7d68dc147dff102d3a61396515 (diff)
Print active formats when printing device topology
When run with the -p argument, print the active format on all subdev pads. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'subdev.h')
-rw-r--r--subdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/subdev.h b/subdev.h
index aeb92d3..c431271 100644
--- a/subdev.h
+++ b/subdev.h
@@ -24,6 +24,10 @@
struct media_entity;
+const char *pixelcode_to_string(enum v4l2_mbus_pixelcode code);
+enum v4l2_mbus_pixelcode string_to_pixelcode(const char *string,
+ unsigned int length);
+
int v4l2_subdev_get_format(struct media_entity *entity,
struct v4l2_mbus_framefmt *format, unsigned int pad,
enum v4l2_subdev_format which);