1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __IA_CSS_BNR2_2_PARAM_H
17 #define __IA_CSS_BNR2_2_PARAM_H
18 
19 #include "type_support.h"
20 
21 /* BNR (Bayer Noise Reduction) ISP parameters */
22 struct sh_css_isp_bnr2_2_params {
23 	s32 d_var_gain_r;
24 	s32 d_var_gain_g;
25 	s32 d_var_gain_b;
26 	s32 d_var_gain_slope_r;
27 	s32 d_var_gain_slope_g;
28 	s32 d_var_gain_slope_b;
29 	s32 n_var_gain_r;
30 	s32 n_var_gain_g;
31 	s32 n_var_gain_b;
32 	s32 n_var_gain_slope_r;
33 	s32 n_var_gain_slope_g;
34 	s32 n_var_gain_slope_b;
35 	s32 dir_thres;
36 	s32 dir_thres_w;
37 	s32 var_offset_coef;
38 	s32 dir_gain;
39 	s32 detail_gain;
40 	s32 detail_gain_divisor;
41 	s32 detail_level_offset;
42 	s32 d_var_th_min;
43 	s32 d_var_th_max;
44 	s32 n_var_th_min;
45 	s32 n_var_th_max;
46 };
47 
48 #endif /* __IA_CSS_BNR2_2_PARAM_H */
49