GNU Linux-libre 4.14.254-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / ynr / ynr_2 / ia_css_ynr2_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_YNR2_PARAM_H
16 #define __IA_CSS_YNR2_PARAM_H
17
18 #include "type_support.h"
19
20 /* YNR (Y Noise Reduction), YEE (Y Edge Enhancement) */
21 struct sh_css_isp_yee2_params {
22         int32_t edge_sense_gain_0;
23         int32_t edge_sense_gain_1;
24         int32_t corner_sense_gain_0;
25         int32_t corner_sense_gain_1;
26 };
27
28 /* Fringe Control */
29 struct sh_css_isp_fc_params {
30         int32_t gain_exp;
31         uint16_t coring_pos_0;
32         uint16_t coring_pos_1;
33         uint16_t coring_neg_0;
34         uint16_t coring_neg_1;
35         int32_t gain_pos_0;
36         int32_t gain_pos_1;
37         int32_t gain_neg_0;
38         int32_t gain_neg_1;
39         int32_t crop_pos_0;
40         int32_t crop_pos_1;
41         int32_t crop_neg_0;
42         int32_t crop_neg_1;
43 };
44
45 #endif /* __IA_CSS_YNR2_PARAM_H */