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 /live.c | |
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 'live.c')
-rw-r--r-- | live.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -103,6 +103,12 @@ static void __iq_aewb_process(struct omap3_isp_device *isp __attribute__((__unus iq_aewb_process(iq, stats); } +static void __iq_histogram_process(struct omap3_isp_device *isp __attribute__((__unused__)), + const struct omap3_isp_histogram_stats *stats) +{ + iq_histogram_process(iq, stats); +} + /* ----------------------------------------------------------------------------- * Events */ @@ -286,6 +292,7 @@ static struct omap3_isp_operations isp_ops = { .watch_fd = __events_watch_fd, .unwatch_fd = __events_unwatch_fd, .aewb_ready = __iq_aewb_process, + .histogram_ready = __iq_histogram_process, }; static int viewfinder_init(struct omap3_isp_device *isp, |