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