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