cur_noise_index -> cur_ni
PR JIRA ID: CPR-25
Change-Id: I97996e8612762cd4dc171d50cc4051b4866651ee
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
ulong out_en; /* This flag save whether the capture video node of MCSC is opened or not. */
u32 prev_hwfc_output_ids;
/* noise_index also needs to use in TDNR, CAC, DJAG */
- u32 cur_noise_index;
+ u32 cur_ni;
/* for tdnr use */
enum mcsc_output_index tdnr_output;
noise_index = frame->noise_idx; /* get applying NI from frame */
#endif
- if (!start_flag && hw_mcsc->cur_noise_index == noise_index)
+ if (!start_flag && hw_mcsc->cur_ni == noise_index)
goto exit;
/* find ref NI arry index for re-configure NI depended settings */
tdnr_cfgs.spatial_dep_cfg, tdnr_cfgs.spatial_indep_cfg);
exit:
- hw_mcsc->cur_noise_index = noise_index;
+ hw_mcsc->cur_ni = noise_index;
return ret;
}
noise_index = frame->noise_idx; /* get applying NI from frame */
#endif
- if (!start_flag && hw_mcsc->cur_noise_index == noise_index)
+ if (!start_flag && hw_mcsc->cur_ni == noise_index)
goto exit;
/* find ref NI arry index for re-configure NI depended settings */
tdnr_cfgs.spatial_dep_cfg, tdnr_cfgs.spatial_indep_cfg);
exit:
- hw_mcsc->cur_noise_index = noise_index;
+ hw_mcsc->cur_ni = noise_index;
return ret;
}