media: rockchip: isp: fix rawnr param error

Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ic3c37fca818283ae5e717715c97a3e8f508a1e70
This commit is contained in:
Hu Kejun
2020-03-11 14:12:18 +08:00
committed by Tao Huang
parent f2bc69fd7c
commit 5ca69b7168
2 changed files with 2 additions and 2 deletions

View File

@@ -2975,7 +2975,7 @@ isp_rawnr_config(struct rkisp_isp_params_vdev *params_vdev,
rkisp_iowrite32(params_vdev, arg->pix_diff, ISP_RAWNR_PIX_DIFF);
rkisp_iowrite32(params_vdev, arg->thld_diff, ISP_RAWNR_HILD_DIFF);
value = (arg->gas_weig_scl2 & 0x01) << 24 |
value = (arg->gas_weig_scl2 & 0xFF) << 24 |
(arg->gas_weig_scl1 & 0xFF) << 16 |
(arg->thld_chanelw & 0x07FF);
rkisp_iowrite32(params_vdev, value, ISP_RAWNR_THLD_CHANELW);

View File

@@ -833,7 +833,7 @@
#define ISP_HDRTMO_HIST_RO31 (ISP_HDRTMO_BASE + 0x000dc)
#define ISP_RAWNR_BASE 0x00003A00
#define ISP_RAWNR_CTRL (ISP_RAWNR_BASE + 0x00004)
#define ISP_RAWNR_CTRL (ISP_RAWNR_BASE + 0x00000)
#define ISP_RAWNR_FILTPAR0 (ISP_RAWNR_BASE + 0x00008)
#define ISP_RAWNR_FILTPAR1 (ISP_RAWNR_BASE + 0x0000c)
#define ISP_RAWNR_FILTPAR2 (ISP_RAWNR_BASE + 0x00010)