summaryrefslogtreecommitdiff
path: root/snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'snapshot.c')
-rw-r--r--snapshot.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/snapshot.c b/snapshot.c
index 878d4bf..61e297f 100644
--- a/snapshot.c
+++ b/snapshot.c
@@ -119,6 +119,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
*/
@@ -617,6 +623,7 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unu
ops.watch_fd = __events_watch_fd;
ops.unwatch_fd = __events_unwatch_fd;
ops.aewb_ready = __iq_aewb_process;
+ ops.histogram_ready = __iq_histogram_process,
isp = omap3_isp_open(MEDIA_DEVICE, &ops);
if (isp == NULL) {