]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/media/soc_camera.h
[media] V4L: soc-camera: add a livecrop host operation
[mv-sheeva.git] / include / media / soc_camera.h
index f80b5372baf37ee3d6324b5e5809d85594a748fc..844cd09d7d3ebaadce18e2bfe0edd694669419a9 100644 (file)
@@ -80,6 +80,11 @@ struct soc_camera_host_ops {
        int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *);
        int (*get_crop)(struct soc_camera_device *, struct v4l2_crop *);
        int (*set_crop)(struct soc_camera_device *, struct v4l2_crop *);
+       /*
+        * The difference to .set_crop() is, that .set_livecrop is not allowed
+        * to change the output sizes
+        */
+       int (*set_livecrop)(struct soc_camera_device *, struct v4l2_crop *);
        int (*set_fmt)(struct soc_camera_device *, struct v4l2_format *);
        int (*try_fmt)(struct soc_camera_device *, struct v4l2_format *);
        void (*init_videobuf)(struct videobuf_queue *,