summaryrefslogtreecommitdiff
path: root/subdev.h
diff options
context:
space:
mode:
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);