diff options
Diffstat (limited to 'iq.c')
-rw-r--r-- | iq.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -94,6 +94,12 @@ void iq_aewb_process(struct iq_tuning *iq, omap3_isp_sensor_set_gain(iq->isp, iqp->gain); } +void iq_histogram_process(struct iq_tuning *iq __attribute__((__unused__)), + const struct omap3_isp_histogram_stats *stats __attribute__((__unused__))) +{ + printf("hist: data received\n"); +} + /** * iq_params_init - Initialize IQ parameters * @params: IQ parameters @@ -223,7 +229,8 @@ struct iq_tuning *iq_init(struct omap3_isp_device *isp, window.height = params->window.height * format.height; omap3_isp_aewb_configure(isp, &window, iq->pix_max - iq->params.black_level - 1); - omap3_isp_stats_enable(isp, true); + omap3_isp_histogram_configure(isp, &window); + omap3_isp_stats_enable(isp, OMAP3_ISP_STAT_AEWB | OMAP3_ISP_STAT_HIST); return iq; } |