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