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 c431271..e3106e6 100644
--- a/subdev.h
+++ b/subdev.h
@@ -34,6 +34,10 @@ int v4l2_subdev_get_format(struct media_entity *entity,
int v4l2_subdev_set_format(struct media_entity *entity,
struct v4l2_mbus_framefmt *format, unsigned int pad,
enum v4l2_subdev_format which);
+int v4l2_subdev_get_crop(struct media_entity *entity, struct v4l2_rect *rect,
+ unsigned int pad, enum v4l2_subdev_format which);
+int v4l2_subdev_set_crop(struct media_entity *entity, struct v4l2_rect *rect,
+ unsigned int pad, enum v4l2_subdev_format which);
#endif