summaryrefslogtreecommitdiff
path: root/isp/stats-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'isp/stats-priv.h')
-rw-r--r--isp/stats-priv.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/isp/stats-priv.h b/isp/stats-priv.h
index c3f084c..43b920a 100644
--- a/isp/stats-priv.h
+++ b/isp/stats-priv.h
@@ -66,6 +66,24 @@ struct omap3_isp_aewb {
bool enabled;
};
+/*
+ * struct omap3_isp_histogram - OMAP3 ISP histogram statistics engine
+ * @entity: Histogram entity
+ * @size: buffer size
+ * @buffer: buffer memory
+ * @rect: histogram region of interest
+ * @enabled: statistics engine enabled
+ */
+struct omap3_isp_histogram {
+ struct media_entity *entity;
+ unsigned int size;
+ void *buffer;
+
+ struct v4l2_rect rect;
+
+ bool enabled;
+};
+
int omap3_isp_stats_start(struct omap3_isp_device *isp);
void omap3_isp_stats_stop(struct omap3_isp_device *isp);
int omap3_isp_stats_init(struct omap3_isp_device *isp);