mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: rockchip: isp: get hdrtmo/bls/dhaze stat on frame end only
Signed-off-by: Hu Kejun <william.hu@rock-chips.com> Change-Id: Ic0db16e19696b2077cf78a1973cad91f4bde4cba
This commit is contained in:
@@ -1256,9 +1256,11 @@ rkisp_stats_send_meas_v2x(struct rkisp_isp_stats_vdev *stats_vdev,
|
||||
cur_stat_buf->meas_type |= ISP2X_STAT_RAWHSTCH2;
|
||||
}
|
||||
|
||||
ops->get_bls_stats(stats_vdev, cur_stat_buf);
|
||||
ops->get_tmo_stats(stats_vdev, cur_stat_buf);
|
||||
ops->get_dhaz_stats(stats_vdev, cur_stat_buf);
|
||||
if (meas_work->isp_ris & ISP2X_FRAME) {
|
||||
ops->get_bls_stats(stats_vdev, cur_stat_buf);
|
||||
ops->get_tmo_stats(stats_vdev, cur_stat_buf);
|
||||
ops->get_dhaz_stats(stats_vdev, cur_stat_buf);
|
||||
}
|
||||
|
||||
if (cur_buf) {
|
||||
vb2_set_plane_payload(&cur_buf->vb.vb2_buf, 0,
|
||||
|
||||
Reference in New Issue
Block a user