diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-08 14:35:31 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-08 23:26:42 +0200 |
commit | 857d32bce873cc0a467e60f7f462c84594330730 (patch) | |
tree | 6126114f5549cd72d9b5e042a428552c6f9905d8 /isp/stats-priv.h | |
parent | cbd64859e6c1509b0f2ee7728cb66b120d52c45e (diff) |
isp: Add histogram supporthistogram
Support enabling the histogram statistics engine and retrieving
histogram data. Histogram data is currently ignored in the image quality
tuning implementation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/stats-priv.h')
-rw-r--r-- | isp/stats-priv.h | 18 |
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); |