mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user