GNU Linux-libre 4.14.254-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / ynr / ynr_1.0 / ia_css_ynr_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_YNR_PARAM_H
16 #define __IA_CSS_YNR_PARAM_H
17
18 #include "type_support.h"
19
20 /* YNR (Y Noise Reduction) */
21 struct sh_css_isp_ynr_params {
22         int32_t threshold;
23         int32_t gain_all;
24         int32_t gain_dir;
25         int32_t threshold_cb;
26         int32_t threshold_cr;
27 };
28
29 /* YEE (Y Edge Enhancement) */
30 struct sh_css_isp_yee_params {
31         int32_t dirthreshold_s;
32         int32_t dirthreshold_g;
33         int32_t dirthreshold_width_log2;
34         int32_t dirthreshold_width;
35         int32_t detailgain;
36         int32_t coring_s;
37         int32_t coring_g;
38         int32_t scale_plus_s;
39         int32_t scale_plus_g;
40         int32_t scale_minus_s;
41         int32_t scale_minus_g;
42         int32_t clip_plus_s;
43         int32_t clip_plus_g;
44         int32_t clip_minus_s;
45         int32_t clip_minus_g;
46         int32_t Yclip;
47 };
48
49 #endif /* __IA_CSS_YNR_PARAM_H */