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 #ifdef IA_CSS_INCLUDE_CONFIGURATIONS 17 #include "isp/kernels/crop/crop_1.0/ia_css_crop.host.h" 18 #include "isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.h" 19 #include "isp/kernels/fpn/fpn_1.0/ia_css_fpn.host.h" 20 #include "isp/kernels/ob/ob_1.0/ia_css_ob.host.h" 21 #include "isp/kernels/output/output_1.0/ia_css_output.host.h" 22 #include "isp/kernels/qplane/qplane_2/ia_css_qplane.host.h" 23 #include "isp/kernels/raw/raw_1.0/ia_css_raw.host.h" 24 #include "isp/kernels/ref/ref_1.0/ia_css_ref.host.h" 25 #include "isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.h" 26 27 /* ISP2401 */ 28 #include "isp/kernels/sc/sc_1.0/ia_css_sc.host.h" 29 30 #include "isp/kernels/tnr/tnr_1.0/ia_css_tnr.host.h" 31 #include "isp/kernels/vf/vf_1.0/ia_css_vf.host.h" 32 #include "isp/kernels/iterator/iterator_1.0/ia_css_iterator.host.h" 33 #include "isp/kernels/copy_output/copy_output_1.0/ia_css_copy_output.host.h" 34 #endif /* IA_CSS_INCLUDE_CONFIGURATIONS */ 35 /* Generated code: do not edit or commmit. */ 36 37 #ifndef _IA_CSS_ISP_CONFIG_H 38 #define _IA_CSS_ISP_CONFIG_H 39 40 /* Code generated by genparam/gencode.c:gen_param_enum() */ 41 42 enum ia_css_configuration_ids { 43 IA_CSS_ITERATOR_CONFIG_ID, 44 IA_CSS_COPY_OUTPUT_CONFIG_ID, 45 IA_CSS_CROP_CONFIG_ID, 46 IA_CSS_FPN_CONFIG_ID, 47 IA_CSS_DVS_CONFIG_ID, 48 IA_CSS_QPLANE_CONFIG_ID, 49 IA_CSS_OUTPUT0_CONFIG_ID, 50 IA_CSS_OUTPUT1_CONFIG_ID, 51 IA_CSS_OUTPUT_CONFIG_ID, 52 IA_CSS_RAW_CONFIG_ID, 53 IA_CSS_TNR_CONFIG_ID, 54 IA_CSS_REF_CONFIG_ID, 55 IA_CSS_VF_CONFIG_ID, 56 57 /* ISP 2401 */ 58 IA_CSS_SC_CONFIG_ID, 59 60 IA_CSS_NUM_CONFIGURATION_IDS 61 }; 62 63 /* Code generated by genparam/gencode.c:gen_param_offsets() */ 64 65 struct ia_css_config_memory_offsets { 66 struct { 67 struct ia_css_isp_parameter iterator; 68 struct ia_css_isp_parameter copy_output; 69 struct ia_css_isp_parameter crop; 70 struct ia_css_isp_parameter fpn; 71 struct ia_css_isp_parameter dvs; 72 struct ia_css_isp_parameter qplane; 73 struct ia_css_isp_parameter output0; 74 struct ia_css_isp_parameter output1; 75 struct ia_css_isp_parameter output; 76 77 /* ISP2401 */ 78 struct ia_css_isp_parameter sc; 79 80 struct ia_css_isp_parameter raw; 81 struct ia_css_isp_parameter tnr; 82 struct ia_css_isp_parameter ref; 83 struct ia_css_isp_parameter vf; 84 } dmem; 85 }; 86 87 #if defined(IA_CSS_INCLUDE_CONFIGURATIONS) 88 89 #include "ia_css_stream.h" /* struct ia_css_stream */ 90 #include "ia_css_binary.h" /* struct ia_css_binary */ 91 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 92 93 void 94 ia_css_configure_iterator( 95 const struct ia_css_binary *binary, 96 const struct ia_css_iterator_configuration *config_dmem); 97 98 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 99 100 void 101 ia_css_configure_copy_output( 102 const struct ia_css_binary *binary, 103 const struct ia_css_copy_output_configuration *config_dmem); 104 105 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 106 107 void 108 ia_css_configure_crop( 109 const struct ia_css_binary *binary, 110 const struct ia_css_crop_configuration *config_dmem); 111 112 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 113 114 void 115 ia_css_configure_fpn( 116 const struct ia_css_binary *binary, 117 const struct ia_css_fpn_configuration *config_dmem); 118 119 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 120 121 void 122 ia_css_configure_dvs( 123 const struct ia_css_binary *binary, 124 const struct ia_css_dvs_configuration *config_dmem); 125 126 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 127 128 void 129 ia_css_configure_qplane( 130 const struct ia_css_binary *binary, 131 const struct ia_css_qplane_configuration *config_dmem); 132 133 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 134 135 void 136 ia_css_configure_output0( 137 const struct ia_css_binary *binary, 138 const struct ia_css_output0_configuration *config_dmem); 139 140 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 141 142 void 143 ia_css_configure_output1( 144 const struct ia_css_binary *binary, 145 const struct ia_css_output1_configuration *config_dmem); 146 147 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 148 149 void 150 ia_css_configure_output( 151 const struct ia_css_binary *binary, 152 const struct ia_css_output_configuration *config_dmem); 153 154 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 155 156 void 157 ia_css_configure_raw( 158 const struct ia_css_binary *binary, 159 const struct ia_css_raw_configuration *config_dmem); 160 161 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 162 163 void 164 ia_css_configure_tnr( 165 const struct ia_css_binary *binary, 166 const struct ia_css_tnr_configuration *config_dmem); 167 168 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 169 170 void 171 ia_css_configure_ref( 172 const struct ia_css_binary *binary, 173 const struct ia_css_ref_configuration *config_dmem); 174 175 /* Code generated by genparam/genconfig.c:gen_configure_function() */ 176 177 void 178 ia_css_configure_vf( 179 const struct ia_css_binary *binary, 180 const struct ia_css_vf_configuration *config_dmem); 181 182 #endif /* IA_CSS_INCLUDE_CONFIGURATION */ 183 184 #endif /* _IA_CSS_ISP_CONFIG_H */ 185