xref: /linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ia_css_ctc1_5_param.h (revision b83deaa741558babf4b8d51d34f6637ccfff1b26)
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_CTC1_5_PARAM_H
17 #define __IA_CSS_CTC1_5_PARAM_H
18 
19 #include "type_support.h"
20 #include "ctc/ctc_1.0/ia_css_ctc_param.h" /* vamem params */
21 
22 /* CTC (Color Tone Control) */
23 struct sh_css_isp_ctc_params {
24 	s32 y0;
25 	s32 y1;
26 	s32 y2;
27 	s32 y3;
28 	s32 y4;
29 	s32 y5;
30 	s32 ce_gain_exp;
31 	s32 x1;
32 	s32 x2;
33 	s32 x3;
34 	s32 x4;
35 	s32 dydx0;
36 	s32 dydx0_shift;
37 	s32 dydx1;
38 	s32 dydx1_shift;
39 	s32 dydx2;
40 	s32 dydx2_shift;
41 	s32 dydx3;
42 	s32 dydx3_shift;
43 	s32 dydx4;
44 	s32 dydx4_shift;
45 };
46 
47 #endif /* __IA_CSS_CTC1_5_PARAM_H */
48