summaryrefslogtreecommitdiff
path: root/isp/omap3isp.h
diff options
context:
space:
mode:
Diffstat (limited to 'isp/omap3isp.h')
-rw-r--r--isp/omap3isp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/isp/omap3isp.h b/isp/omap3isp.h
index 93ddfff..491dcdb 100644
--- a/isp/omap3isp.h
+++ b/isp/omap3isp.h
@@ -50,6 +50,8 @@ struct omap3_isp_operations {
struct v4l2_video_buffer *buffer);
void (*snapshot_ready)(struct omap3_isp_device *isp,
struct v4l2_video_buffer *buffer);
+ void (*scaler_ready)(struct omap3_isp_device *isp,
+ struct v4l2_video_buffer *buffer);
void (*aewb_ready)(struct omap3_isp_device *isp,
const struct omap3_isp_aewb_stats *stats);
void (*watch_fd)(int fd, enum omap3_isp_event_type type,
@@ -84,6 +86,21 @@ int omap3_isp_snapshot_done(struct omap3_isp_device *isp);
int omap3_isp_snapshot_put_buffer(struct omap3_isp_device *isp,
struct v4l2_video_buffer *buffer);
+/* Scaler */
+int omap3_isp_scaler_setup(struct omap3_isp_device *isp,
+ struct v4l2_mbus_framefmt *ifmt,
+ struct v4l2_mbus_framefmt *ofmt);
+int omap3_isp_scaler_set_pool(struct omap3_isp_device *isp,
+ struct v4l2_buffers_pool *pool);
+int omap3_isp_scaler_start(struct omap3_isp_device *isp,
+ struct v4l2_video_buffer *ibuf,
+ unsigned int obufs);
+int omap3_isp_scaler_stop(struct omap3_isp_device *isp);
+int omap3_isp_scaler_put_buffer(struct omap3_isp_device *isp,
+ struct v4l2_video_buffer *buffer);
+int omap3_isp_scaler_pan_zoom(struct omap3_isp_device *isp,
+ float x, float y, float zoom);
+
/* Processing parameters */
#define OMAP3_ISP_SENSOR_GAIN_KEEP -1