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 #define IA_CSS_INCLUDE_STATES
16 #include "isp/kernels/aa/aa_2/ia_css_aa2.host.h"
17 #include "isp/kernels/cnr/cnr_1.0/ia_css_cnr.host.h"
18 #include "isp/kernels/cnr/cnr_2/ia_css_cnr2.host.h"
19 #include "isp/kernels/de/de_1.0/ia_css_de.host.h"
20 #include "isp/kernels/dp/dp_1.0/ia_css_dp.host.h"
21 #include "isp/kernels/ref/ref_1.0/ia_css_ref.host.h"
22 #include "isp/kernels/tnr/tnr_1.0/ia_css_tnr.host.h"
23 #include "isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.h"
24 #include "isp/kernels/dpc2/ia_css_dpc2.host.h"
25 #include "isp/kernels/eed1_8/ia_css_eed1_8.host.h"
26 /* Generated code: do not edit or commmit. */
27 
28 #ifndef _IA_CSS_ISP_STATE_H
29 #define _IA_CSS_ISP_STATE_H
30 
31 /* Code generated by genparam/gencode.c:gen_param_enum() */
32 
33 enum ia_css_state_ids {
34 	IA_CSS_AA_STATE_ID,
35 	IA_CSS_CNR_STATE_ID,
36 	IA_CSS_CNR2_STATE_ID,
37 	IA_CSS_DP_STATE_ID,
38 	IA_CSS_DE_STATE_ID,
39 	IA_CSS_TNR_STATE_ID,
40 	IA_CSS_REF_STATE_ID,
41 	IA_CSS_YNR_STATE_ID,
42 	IA_CSS_NUM_STATE_IDS
43 };
44 
45 /* Code generated by genparam/gencode.c:gen_param_offsets() */
46 
47 struct ia_css_state_memory_offsets {
48 	struct {
49 		struct ia_css_isp_parameter aa;
50 		struct ia_css_isp_parameter cnr;
51 		struct ia_css_isp_parameter cnr2;
52 		struct ia_css_isp_parameter dp;
53 		struct ia_css_isp_parameter de;
54 		struct ia_css_isp_parameter ynr;
55 	} vmem;
56 	struct {
57 		struct ia_css_isp_parameter tnr;
58 		struct ia_css_isp_parameter ref;
59 	} dmem;
60 };
61 
62 #if defined(IA_CSS_INCLUDE_STATES)
63 
64 #include "ia_css_stream.h"   /* struct ia_css_stream */
65 #include "ia_css_binary.h"   /* struct ia_css_binary */
66 /* Code generated by genparam/genstate.c:gen_state_init_table() */
67 
68 extern void (*ia_css_kernel_init_state[IA_CSS_NUM_STATE_IDS])(
69     const struct ia_css_binary *binary);
70 
71 #endif /* IA_CSS_INCLUDE_STATE */
72 
73 #endif /* _IA_CSS_ISP_STATE_H */
74