1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_S3A_PARAM_H
8 #define __IA_CSS_S3A_PARAM_H
9 
10 #include "type_support.h"
11 
12 /* AE (3A Support) */
13 struct sh_css_isp_ae_params {
14 	/* coefficients to calculate Y */
15 	s32 y_coef_r;
16 	s32 y_coef_g;
17 	s32 y_coef_b;
18 };
19 
20 /* AWB (3A Support) */
21 struct sh_css_isp_awb_params {
22 	s32 lg_high_raw;
23 	s32 lg_low;
24 	s32 lg_high;
25 };
26 
27 /* AF (3A Support) */
28 struct sh_css_isp_af_params {
29 	s32 fir1[7];
30 	s32 fir2[7];
31 };
32 
33 /* S3A (3A Support) */
34 struct sh_css_isp_s3a_params {
35 	/* coefficients to calculate Y */
36 	struct sh_css_isp_ae_params ae;
37 
38 	/* AWB level gate */
39 	struct sh_css_isp_awb_params awb;
40 
41 	/* af fir coefficients */
42 	struct sh_css_isp_af_params af;
43 };
44 
45 #endif /* __IA_CSS_S3A_PARAM_H */
46