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_YNR_PARAM_H
17 #define __IA_CSS_YNR_PARAM_H
18 
19 #include "type_support.h"
20 
21 /* YNR (Y Noise Reduction) */
22 struct sh_css_isp_ynr_params {
23 	s32 threshold;
24 	s32 gain_all;
25 	s32 gain_dir;
26 	s32 threshold_cb;
27 	s32 threshold_cr;
28 };
29 
30 /* YEE (Y Edge Enhancement) */
31 struct sh_css_isp_yee_params {
32 	s32 dirthreshold_s;
33 	s32 dirthreshold_g;
34 	s32 dirthreshold_width_log2;
35 	s32 dirthreshold_width;
36 	s32 detailgain;
37 	s32 coring_s;
38 	s32 coring_g;
39 	s32 scale_plus_s;
40 	s32 scale_plus_g;
41 	s32 scale_minus_s;
42 	s32 scale_minus_g;
43 	s32 clip_plus_s;
44 	s32 clip_plus_g;
45 	s32 clip_minus_s;
46 	s32 clip_minus_g;
47 	s32 Yclip;
48 };
49 
50 #endif /* __IA_CSS_YNR_PARAM_H */
51