diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-06-02 16:39:13 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-06-02 17:06:04 +0200 |
commit | 0700edb0d8fb3965cc80a2c30b101cab35d0b93f (patch) | |
tree | 58eab877f98f26012ebceeb4b6218e860b9299c1 /subdev.h | |
parent | 293ec4a8813e6d7d68dc147dff102d3a61396515 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |