87a330862bfc8709110015309804e48eb8452d11
[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_PARAMETERS
16 #include "sh_css_params.h"
17 #include "isp/kernels/aa/aa_2/ia_css_aa2.host.h"
18 #include "isp/kernels/anr/anr_1.0/ia_css_anr.host.h"
19 #include "isp/kernels/anr/anr_2/ia_css_anr2.host.h"
20 #include "isp/kernels/bh/bh_2/ia_css_bh.host.h"
21 #include "isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.h"
22 #include "isp/kernels/bnr/bnr2_2/ia_css_bnr2_2.host.h"
23 #include "isp/kernels/cnr/cnr_2/ia_css_cnr2.host.h"
24 #include "isp/kernels/crop/crop_1.0/ia_css_crop.host.h"
25 #include "isp/kernels/csc/csc_1.0/ia_css_csc.host.h"
26 #include "isp/kernels/ctc/ctc_1.0/ia_css_ctc.host.h"
27 #include "isp/kernels/ctc/ctc1_5/ia_css_ctc1_5.host.h"
28 #include "isp/kernels/ctc/ctc2/ia_css_ctc2.host.h"
29 #include "isp/kernels/de/de_1.0/ia_css_de.host.h"
30 #include "isp/kernels/de/de_2/ia_css_de2.host.h"
31 #include "isp/kernels/dp/dp_1.0/ia_css_dp.host.h"
32 #include "isp/kernels/fixedbds/fixedbds_1.0/ia_css_fixedbds.host.h"
33 #include "isp/kernels/fpn/fpn_1.0/ia_css_fpn.host.h"
34 #include "isp/kernels/gc/gc_1.0/ia_css_gc.host.h"
35 #include "isp/kernels/gc/gc_2/ia_css_gc2.host.h"
36 #include "isp/kernels/macc/macc_1.0/ia_css_macc.host.h"
37 #include "isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h"
38 #include "isp/kernels/ob/ob_1.0/ia_css_ob.host.h"
39 #include "isp/kernels/ob/ob2/ia_css_ob2.host.h"
40 #include "isp/kernels/output/output_1.0/ia_css_output.host.h"
41 #include "isp/kernels/raw_aa_binning/raw_aa_binning_1.0/ia_css_raa.host.h"
42 #include "isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.h"
43 #include "isp/kernels/sc/sc_1.0/ia_css_sc.host.h"
44 #include "isp/kernels/sdis/sdis_1.0/ia_css_sdis.host.h"
45 #include "isp/kernels/sdis/sdis_2/ia_css_sdis2.host.h"
46 #include "isp/kernels/tnr/tnr_1.0/ia_css_tnr.host.h"
47 #include "isp/kernels/uds/uds_1.0/ia_css_uds.host.h"
48 #include "isp/kernels/wb/wb_1.0/ia_css_wb.host.h"
49 #include "isp/kernels/xnr/xnr_1.0/ia_css_xnr.host.h"
50 #include "isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.h"
51 #include "isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.h"
52 #include "isp/kernels/ynr/ynr_2/ia_css_ynr2.host.h"
53 #include "isp/kernels/fc/fc_1.0/ia_css_formats.host.h"
54 #include "isp/kernels/tdf/tdf_1.0/ia_css_tdf.host.h"
55 #include "isp/kernels/dpc2/ia_css_dpc2.host.h"
56 #include "isp/kernels/eed1_8/ia_css_eed1_8.host.h"
57 #include "isp/kernels/bnlm/ia_css_bnlm.host.h"
58 #include "isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.h"
59 /* Generated code: do not edit or commmit. */
60
61 #include "ia_css_pipeline.h"
62 #include "ia_css_isp_params.h"
63 #include "ia_css_debug.h"
64 #include "assert_support.h"
65
66 /* Code generated by genparam/gencode.c:gen_process_function() */
67
68 static void
69 ia_css_process_aa(
70 unsigned pipe_id,
71 const struct ia_css_pipeline_stage *stage,
72 struct ia_css_isp_parameters *params)
73 {
74 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.aa.size;
75 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.aa.offset;
76
77 if (size) {
78 struct sh_css_isp_aa_params *t = (struct sh_css_isp_aa_params *)
79 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset];
80 t->strength = params->aa_config.strength;
81 }
82 }
83
84 /* Code generated by genparam/gencode.c:gen_process_function() */
85
86 static void
87 ia_css_process_anr(
88 unsigned pipe_id,
89 const struct ia_css_pipeline_stage *stage,
90 struct ia_css_isp_parameters *params)
91 {
92 assert(params != NULL);
93
94 {
95 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.anr.size;
96
97 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.anr.offset;
98
99 if (size) {
100 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_anr() enter:\n");
101
102 ia_css_anr_encode((struct sh_css_isp_anr_params *)
103 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
104 &params->anr_config,
105 size);
106 params->isp_params_changed = true;
107 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
108
109 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_anr() leave:\n");
110 }
111
112 }
113 }
114
115 /* Code generated by genparam/gencode.c:gen_process_function() */
116
117 static void
118 ia_css_process_anr2(
119 unsigned pipe_id,
120 const struct ia_css_pipeline_stage *stage,
121 struct ia_css_isp_parameters *params)
122 {
123 assert(params != NULL);
124
125 {
126 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.anr2.size;
127
128 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.anr2.offset;
129
130 if (size) {
131 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_anr2() enter:\n");
132
133 ia_css_anr2_vmem_encode((struct ia_css_isp_anr2_params *)
134 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
135 &params->anr_thres,
136 size);
137 params->isp_params_changed = true;
138 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
139
140 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_anr2() leave:\n");
141 }
142
143 }
144 }
145
146 /* Code generated by genparam/gencode.c:gen_process_function() */
147
148 static void
149 ia_css_process_bh(
150 unsigned pipe_id,
151 const struct ia_css_pipeline_stage *stage,
152 struct ia_css_isp_parameters *params)
153 {
154 assert(params != NULL);
155
156 {
157 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.bh.size;
158
159 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.bh.offset;
160
161 if (size) {
162 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");
163
164 ia_css_bh_encode((struct sh_css_isp_bh_params *)
165 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
166 &params->s3a_config,
167 size);
168 params->isp_params_changed = true;
169 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
170
171 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() leave:\n");
172 }
173
174 }
175 {
176 unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;
177
178 unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;
179
180 if (size) {
181 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");
182
183 ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
184 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
185 &params->s3a_config,
186 size);
187 params->isp_params_changed = true;
188 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
189
190 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() leave:\n");
191 }
192
193 }
194 }
195
196 /* Code generated by genparam/gencode.c:gen_process_function() */
197
198 static void
199 ia_css_process_cnr(
200 unsigned pipe_id,
201 const struct ia_css_pipeline_stage *stage,
202 struct ia_css_isp_parameters *params)
203 {
204 assert(params != NULL);
205
206 {
207 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.cnr.size;
208
209 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.cnr.offset;
210
211 if (size) {
212 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_cnr() enter:\n");
213
214 ia_css_cnr_encode((struct sh_css_isp_cnr_params *)
215 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
216 &params->cnr_config,
217 size);
218 params->isp_params_changed = true;
219 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
220
221 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_cnr() leave:\n");
222 }
223
224 }
225 }
226
227 /* Code generated by genparam/gencode.c:gen_process_function() */
228
229 static void
230 ia_css_process_crop(
231 unsigned pipe_id,
232 const struct ia_css_pipeline_stage *stage,
233 struct ia_css_isp_parameters *params)
234 {
235 assert(params != NULL);
236
237 {
238 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.crop.size;
239
240 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.crop.offset;
241
242 if (size) {
243 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_crop() enter:\n");
244
245 ia_css_crop_encode((struct sh_css_isp_crop_isp_params *)
246 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
247 &params->crop_config,
248 size);
249 params->isp_params_changed = true;
250 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
251
252 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_crop() leave:\n");
253 }
254
255 }
256 }
257
258 /* Code generated by genparam/gencode.c:gen_process_function() */
259
260 static void
261 ia_css_process_csc(
262 unsigned pipe_id,
263 const struct ia_css_pipeline_stage *stage,
264 struct ia_css_isp_parameters *params)
265 {
266 assert(params != NULL);
267
268 {
269 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.csc.size;
270
271 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.csc.offset;
272
273 if (size) {
274 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_csc() enter:\n");
275
276 ia_css_csc_encode((struct sh_css_isp_csc_params *)
277 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
278 &params->cc_config,
279 size);
280 params->isp_params_changed = true;
281 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
282
283 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_csc() leave:\n");
284 }
285
286 }
287 }
288
289 /* Code generated by genparam/gencode.c:gen_process_function() */
290
291 static void
292 ia_css_process_dp(
293 unsigned pipe_id,
294 const struct ia_css_pipeline_stage *stage,
295 struct ia_css_isp_parameters *params)
296 {
297 assert(params != NULL);
298
299 {
300 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.dp.size;
301
302 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.dp.offset;
303
304 if (size) {
305 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_dp() enter:\n");
306
307 ia_css_dp_encode((struct sh_css_isp_dp_params *)
308 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
309 &params->dp_config,
310 size);
311 params->isp_params_changed = true;
312 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
313
314 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_dp() leave:\n");
315 }
316
317 }
318 }
319
320 /* Code generated by genparam/gencode.c:gen_process_function() */
321
322 static void
323 ia_css_process_bnr(
324 unsigned pipe_id,
325 const struct ia_css_pipeline_stage *stage,
326 struct ia_css_isp_parameters *params)
327 {
328 assert(params != NULL);
329
330 {
331 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.bnr.size;
332
333 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.bnr.offset;
334
335 if (size) {
336 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bnr() enter:\n");
337
338 ia_css_bnr_encode((struct sh_css_isp_bnr_params *)
339 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
340 &params->nr_config,
341 size);
342 params->isp_params_changed = true;
343 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
344
345 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bnr() leave:\n");
346 }
347
348 }
349 }
350
351 /* Code generated by genparam/gencode.c:gen_process_function() */
352
353 static void
354 ia_css_process_de(
355 unsigned pipe_id,
356 const struct ia_css_pipeline_stage *stage,
357 struct ia_css_isp_parameters *params)
358 {
359 assert(params != NULL);
360
361 {
362 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.de.size;
363
364 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.de.offset;
365
366 if (size) {
367 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_de() enter:\n");
368
369 ia_css_de_encode((struct sh_css_isp_de_params *)
370 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
371 &params->de_config,
372 size);
373 params->isp_params_changed = true;
374 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
375
376 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_de() leave:\n");
377 }
378
379 }
380 }
381
382 /* Code generated by genparam/gencode.c:gen_process_function() */
383
384 static void
385 ia_css_process_ecd(
386 unsigned pipe_id,
387 const struct ia_css_pipeline_stage *stage,
388 struct ia_css_isp_parameters *params)
389 {
390 assert(params != NULL);
391
392 {
393 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.ecd.size;
394
395 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.ecd.offset;
396
397 if (size) {
398 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ecd() enter:\n");
399
400 ia_css_ecd_encode((struct sh_css_isp_ecd_params *)
401 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
402 &params->ecd_config,
403 size);
404 params->isp_params_changed = true;
405 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
406
407 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ecd() leave:\n");
408 }
409
410 }
411 }
412
413 /* Code generated by genparam/gencode.c:gen_process_function() */
414
415 static void
416 ia_css_process_formats(
417 unsigned pipe_id,
418 const struct ia_css_pipeline_stage *stage,
419 struct ia_css_isp_parameters *params)
420 {
421 assert(params != NULL);
422
423 {
424 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.formats.size;
425
426 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.formats.offset;
427
428 if (size) {
429 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_formats() enter:\n");
430
431 ia_css_formats_encode((struct sh_css_isp_formats_params *)
432 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
433 &params->formats_config,
434 size);
435 params->isp_params_changed = true;
436 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
437
438 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_formats() leave:\n");
439 }
440
441 }
442 }
443
444 /* Code generated by genparam/gencode.c:gen_process_function() */
445
446 static void
447 ia_css_process_fpn(
448 unsigned pipe_id,
449 const struct ia_css_pipeline_stage *stage,
450 struct ia_css_isp_parameters *params)
451 {
452 assert(params != NULL);
453
454 {
455 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.fpn.size;
456
457 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.fpn.offset;
458
459 if (size) {
460 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_fpn() enter:\n");
461
462 ia_css_fpn_encode((struct sh_css_isp_fpn_params *)
463 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
464 &params->fpn_config,
465 size);
466 params->isp_params_changed = true;
467 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
468
469 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_fpn() leave:\n");
470 }
471
472 }
473 }
474
475 /* Code generated by genparam/gencode.c:gen_process_function() */
476
477 static void
478 ia_css_process_gc(
479 unsigned pipe_id,
480 const struct ia_css_pipeline_stage *stage,
481 struct ia_css_isp_parameters *params)
482 {
483 assert(params != NULL);
484
485 {
486 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.gc.size;
487
488 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.gc.offset;
489
490 if (size) {
491 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_gc() enter:\n");
492
493 ia_css_gc_encode((struct sh_css_isp_gc_params *)
494 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
495 &params->gc_config,
496 size);
497 params->isp_params_changed = true;
498 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
499
500 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_gc() leave:\n");
501 }
502
503 }
504 {
505 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem1.gc.size;
506
507 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem1.gc.offset;
508
509 if (size) {
510 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_gc() enter:\n");
511
512 ia_css_gc_vamem_encode((struct sh_css_isp_gc_vamem_params *)
513 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM1].address[offset],
514 &params->gc_table,
515 size);
516 params->isp_params_changed = true;
517 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM1] = true;
518
519 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_gc() leave:\n");
520 }
521
522 }
523 }
524
525 /* Code generated by genparam/gencode.c:gen_process_function() */
526
527 static void
528 ia_css_process_ce(
529 unsigned pipe_id,
530 const struct ia_css_pipeline_stage *stage,
531 struct ia_css_isp_parameters *params)
532 {
533 assert(params != NULL);
534
535 {
536 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.ce.size;
537
538 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.ce.offset;
539
540 if (size) {
541 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ce() enter:\n");
542
543 ia_css_ce_encode((struct sh_css_isp_ce_params *)
544 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
545 &params->ce_config,
546 size);
547 params->isp_params_changed = true;
548 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
549
550 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ce() leave:\n");
551 }
552
553 }
554 }
555
556 /* Code generated by genparam/gencode.c:gen_process_function() */
557
558 static void
559 ia_css_process_yuv2rgb(
560 unsigned pipe_id,
561 const struct ia_css_pipeline_stage *stage,
562 struct ia_css_isp_parameters *params)
563 {
564 assert(params != NULL);
565
566 {
567 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.yuv2rgb.size;
568
569 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.yuv2rgb.offset;
570
571 if (size) {
572 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_yuv2rgb() enter:\n");
573
574 ia_css_yuv2rgb_encode((struct sh_css_isp_csc_params *)
575 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
576 &params->yuv2rgb_cc_config,
577 size);
578 params->isp_params_changed = true;
579 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
580
581 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_yuv2rgb() leave:\n");
582 }
583
584 }
585 }
586
587 /* Code generated by genparam/gencode.c:gen_process_function() */
588
589 static void
590 ia_css_process_rgb2yuv(
591 unsigned pipe_id,
592 const struct ia_css_pipeline_stage *stage,
593 struct ia_css_isp_parameters *params)
594 {
595 assert(params != NULL);
596
597 {
598 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.rgb2yuv.size;
599
600 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.rgb2yuv.offset;
601
602 if (size) {
603 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_rgb2yuv() enter:\n");
604
605 ia_css_rgb2yuv_encode((struct sh_css_isp_csc_params *)
606 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
607 &params->rgb2yuv_cc_config,
608 size);
609 params->isp_params_changed = true;
610 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
611
612 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_rgb2yuv() leave:\n");
613 }
614
615 }
616 }
617
618 /* Code generated by genparam/gencode.c:gen_process_function() */
619
620 static void
621 ia_css_process_r_gamma(
622 unsigned pipe_id,
623 const struct ia_css_pipeline_stage *stage,
624 struct ia_css_isp_parameters *params)
625 {
626 assert(params != NULL);
627
628 {
629 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem0.r_gamma.size;
630
631 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem0.r_gamma.offset;
632
633 if (size) {
634 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_r_gamma() enter:\n");
635
636 ia_css_r_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params *)
637 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM0].address[offset],
638 &params->r_gamma_table,
639 size);
640 params->isp_params_changed = true;
641 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM0] = true;
642
643 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_r_gamma() leave:\n");
644 }
645
646 }
647 }
648
649 /* Code generated by genparam/gencode.c:gen_process_function() */
650
651 static void
652 ia_css_process_g_gamma(
653 unsigned pipe_id,
654 const struct ia_css_pipeline_stage *stage,
655 struct ia_css_isp_parameters *params)
656 {
657 assert(params != NULL);
658
659 {
660 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem1.g_gamma.size;
661
662 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem1.g_gamma.offset;
663
664 if (size) {
665 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_g_gamma() enter:\n");
666
667 ia_css_g_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params *)
668 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM1].address[offset],
669 &params->g_gamma_table,
670 size);
671 params->isp_params_changed = true;
672 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM1] = true;
673
674 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_g_gamma() leave:\n");
675 }
676
677 }
678 }
679
680 /* Code generated by genparam/gencode.c:gen_process_function() */
681
682 static void
683 ia_css_process_b_gamma(
684 unsigned pipe_id,
685 const struct ia_css_pipeline_stage *stage,
686 struct ia_css_isp_parameters *params)
687 {
688 assert(params != NULL);
689
690 {
691 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem2.b_gamma.size;
692
693 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem2.b_gamma.offset;
694
695 if (size) {
696 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_b_gamma() enter:\n");
697
698 ia_css_b_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params *)
699 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM2].address[offset],
700 &params->b_gamma_table,
701 size);
702 params->isp_params_changed = true;
703 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM2] = true;
704
705 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_b_gamma() leave:\n");
706 }
707
708 }
709 }
710
711 /* Code generated by genparam/gencode.c:gen_process_function() */
712
713 static void
714 ia_css_process_uds(
715 unsigned pipe_id,
716 const struct ia_css_pipeline_stage *stage,
717 struct ia_css_isp_parameters *params)
718 {
719 assert(params != NULL);
720
721 {
722 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.uds.size;
723
724 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.uds.offset;
725
726 if (size) {
727 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_uds() enter:\n");
728
729 ia_css_uds_encode((struct sh_css_sp_uds_params *)
730 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
731 &params->uds_config,
732 size);
733 params->isp_params_changed = true;
734 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
735
736 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_uds() leave:\n");
737 }
738
739 }
740 }
741
742 /* Code generated by genparam/gencode.c:gen_process_function() */
743
744 static void
745 ia_css_process_raa(
746 unsigned pipe_id,
747 const struct ia_css_pipeline_stage *stage,
748 struct ia_css_isp_parameters *params)
749 {
750 assert(params != NULL);
751
752 {
753 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.raa.size;
754
755 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.raa.offset;
756
757 if (size) {
758 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_raa() enter:\n");
759
760 ia_css_raa_encode((struct sh_css_isp_aa_params *)
761 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
762 &params->raa_config,
763 size);
764 params->isp_params_changed = true;
765 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
766
767 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_raa() leave:\n");
768 }
769
770 }
771 }
772
773 /* Code generated by genparam/gencode.c:gen_process_function() */
774
775 static void
776 ia_css_process_s3a(
777 unsigned pipe_id,
778 const struct ia_css_pipeline_stage *stage,
779 struct ia_css_isp_parameters *params)
780 {
781 assert(params != NULL);
782
783 {
784 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.s3a.size;
785
786 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.s3a.offset;
787
788 if (size) {
789 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_s3a() enter:\n");
790
791 ia_css_s3a_encode((struct sh_css_isp_s3a_params *)
792 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
793 &params->s3a_config,
794 size);
795 params->isp_params_changed = true;
796 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
797
798 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_s3a() leave:\n");
799 }
800
801 }
802 }
803
804 /* Code generated by genparam/gencode.c:gen_process_function() */
805
806 static void
807 ia_css_process_ob(
808 unsigned pipe_id,
809 const struct ia_css_pipeline_stage *stage,
810 struct ia_css_isp_parameters *params)
811 {
812 assert(params != NULL);
813
814 {
815 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.ob.size;
816
817 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.ob.offset;
818
819 if (size) {
820 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ob() enter:\n");
821
822 ia_css_ob_encode((struct sh_css_isp_ob_params *)
823 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
824 &params->ob_config,
825 &params->stream_configs.ob, size);
826 params->isp_params_changed = true;
827 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
828
829 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ob() leave:\n");
830 }
831
832 }
833 {
834 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.ob.size;
835
836 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.ob.offset;
837
838 if (size) {
839 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ob() enter:\n");
840
841 ia_css_ob_vmem_encode((struct sh_css_isp_ob_vmem_params *)
842 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
843 &params->ob_config,
844 &params->stream_configs.ob, size);
845 params->isp_params_changed = true;
846 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
847
848 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ob() leave:\n");
849 }
850
851 }
852 }
853
854 /* Code generated by genparam/gencode.c:gen_process_function() */
855
856 static void
857 ia_css_process_output(
858 unsigned pipe_id,
859 const struct ia_css_pipeline_stage *stage,
860 struct ia_css_isp_parameters *params)
861 {
862 assert(params != NULL);
863
864 {
865 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.output.size;
866
867 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.output.offset;
868
869 if (size) {
870 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_output() enter:\n");
871
872 ia_css_output_encode((struct sh_css_isp_output_params *)
873 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
874 &params->output_config,
875 size);
876 params->isp_params_changed = true;
877 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
878
879 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_output() leave:\n");
880 }
881
882 }
883 }
884
885 /* Code generated by genparam/gencode.c:gen_process_function() */
886
887 static void
888 ia_css_process_sc(
889 unsigned pipe_id,
890 const struct ia_css_pipeline_stage *stage,
891 struct ia_css_isp_parameters *params)
892 {
893 assert(params != NULL);
894
895 {
896 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.sc.size;
897
898 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.sc.offset;
899
900 if (size) {
901 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sc() enter:\n");
902
903 ia_css_sc_encode((struct sh_css_isp_sc_params *)
904 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
905 &params->sc_config,
906 size);
907 params->isp_params_changed = true;
908 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
909
910 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sc() leave:\n");
911 }
912
913 }
914 }
915
916 /* Code generated by genparam/gencode.c:gen_process_function() */
917
918 static void
919 ia_css_process_bds(
920 unsigned pipe_id,
921 const struct ia_css_pipeline_stage *stage,
922 struct ia_css_isp_parameters *params)
923 {
924 assert(params != NULL);
925
926 {
927 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.bds.size;
928
929 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.bds.offset;
930
931 if (size) {
932 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bds() enter:\n");
933
934 ia_css_bds_encode((struct sh_css_isp_bds_params *)
935 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
936 &params->bds_config,
937 size);
938 params->isp_params_changed = true;
939 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
940
941 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bds() leave:\n");
942 }
943
944 }
945 }
946
947 /* Code generated by genparam/gencode.c:gen_process_function() */
948
949 static void
950 ia_css_process_tnr(
951 unsigned pipe_id,
952 const struct ia_css_pipeline_stage *stage,
953 struct ia_css_isp_parameters *params)
954 {
955 assert(params != NULL);
956
957 {
958 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.tnr.size;
959
960 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.tnr.offset;
961
962 if (size) {
963 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_tnr() enter:\n");
964
965 ia_css_tnr_encode((struct sh_css_isp_tnr_params *)
966 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
967 &params->tnr_config,
968 size);
969 params->isp_params_changed = true;
970 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
971
972 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_tnr() leave:\n");
973 }
974
975 }
976 }
977
978 /* Code generated by genparam/gencode.c:gen_process_function() */
979
980 static void
981 ia_css_process_macc(
982 unsigned pipe_id,
983 const struct ia_css_pipeline_stage *stage,
984 struct ia_css_isp_parameters *params)
985 {
986 assert(params != NULL);
987
988 {
989 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.macc.size;
990
991 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.macc.offset;
992
993 if (size) {
994 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_macc() enter:\n");
995
996 ia_css_macc_encode((struct sh_css_isp_macc_params *)
997 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
998 &params->macc_config,
999 size);
1000 params->isp_params_changed = true;
1001 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1002
1003 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_macc() leave:\n");
1004 }
1005
1006 }
1007 }
1008
1009 /* Code generated by genparam/gencode.c:gen_process_function() */
1010
1011 static void
1012 ia_css_process_sdis_horicoef(
1013 unsigned pipe_id,
1014 const struct ia_css_pipeline_stage *stage,
1015 struct ia_css_isp_parameters *params)
1016 {
1017 assert(params != NULL);
1018
1019 {
1020 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.sdis_horicoef.size;
1021
1022 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.sdis_horicoef.offset;
1023
1024 if (size) {
1025 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_horicoef() enter:\n");
1026
1027 ia_css_sdis_horicoef_vmem_encode((struct sh_css_isp_sdis_hori_coef_tbl *)
1028 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
1029 &params->dvs_coefs,
1030 size);
1031 params->isp_params_changed = true;
1032 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
1033
1034 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_horicoef() leave:\n");
1035 }
1036
1037 }
1038 }
1039
1040 /* Code generated by genparam/gencode.c:gen_process_function() */
1041
1042 static void
1043 ia_css_process_sdis_vertcoef(
1044 unsigned pipe_id,
1045 const struct ia_css_pipeline_stage *stage,
1046 struct ia_css_isp_parameters *params)
1047 {
1048 assert(params != NULL);
1049
1050 {
1051 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.sdis_vertcoef.size;
1052
1053 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.sdis_vertcoef.offset;
1054
1055 if (size) {
1056 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_vertcoef() enter:\n");
1057
1058 ia_css_sdis_vertcoef_vmem_encode((struct sh_css_isp_sdis_vert_coef_tbl *)
1059 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
1060 &params->dvs_coefs,
1061 size);
1062 params->isp_params_changed = true;
1063 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
1064
1065 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_vertcoef() leave:\n");
1066 }
1067
1068 }
1069 }
1070
1071 /* Code generated by genparam/gencode.c:gen_process_function() */
1072
1073 static void
1074 ia_css_process_sdis_horiproj(
1075 unsigned pipe_id,
1076 const struct ia_css_pipeline_stage *stage,
1077 struct ia_css_isp_parameters *params)
1078 {
1079 assert(params != NULL);
1080
1081 {
1082 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.sdis_horiproj.size;
1083
1084 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.sdis_horiproj.offset;
1085
1086 if (size) {
1087 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_horiproj() enter:\n");
1088
1089 ia_css_sdis_horiproj_encode((struct sh_css_isp_sdis_hori_proj_tbl *)
1090 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1091 &params->dvs_coefs,
1092 size);
1093 params->isp_params_changed = true;
1094 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1095
1096 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_horiproj() leave:\n");
1097 }
1098
1099 }
1100 }
1101
1102 /* Code generated by genparam/gencode.c:gen_process_function() */
1103
1104 static void
1105 ia_css_process_sdis_vertproj(
1106 unsigned pipe_id,
1107 const struct ia_css_pipeline_stage *stage,
1108 struct ia_css_isp_parameters *params)
1109 {
1110 assert(params != NULL);
1111
1112 {
1113 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.sdis_vertproj.size;
1114
1115 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.sdis_vertproj.offset;
1116
1117 if (size) {
1118 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_vertproj() enter:\n");
1119
1120 ia_css_sdis_vertproj_encode((struct sh_css_isp_sdis_vert_proj_tbl *)
1121 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1122 &params->dvs_coefs,
1123 size);
1124 params->isp_params_changed = true;
1125 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1126
1127 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis_vertproj() leave:\n");
1128 }
1129
1130 }
1131 }
1132
1133 /* Code generated by genparam/gencode.c:gen_process_function() */
1134
1135 static void
1136 ia_css_process_sdis2_horicoef(
1137 unsigned pipe_id,
1138 const struct ia_css_pipeline_stage *stage,
1139 struct ia_css_isp_parameters *params)
1140 {
1141 assert(params != NULL);
1142
1143 {
1144 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_horicoef.size;
1145
1146 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_horicoef.offset;
1147
1148 if (size) {
1149 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_horicoef() enter:\n");
1150
1151 ia_css_sdis2_horicoef_vmem_encode((struct sh_css_isp_sdis_hori_coef_tbl *)
1152 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
1153 &params->dvs2_coefs,
1154 size);
1155 params->isp_params_changed = true;
1156 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
1157
1158 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_horicoef() leave:\n");
1159 }
1160
1161 }
1162 }
1163
1164 /* Code generated by genparam/gencode.c:gen_process_function() */
1165
1166 static void
1167 ia_css_process_sdis2_vertcoef(
1168 unsigned pipe_id,
1169 const struct ia_css_pipeline_stage *stage,
1170 struct ia_css_isp_parameters *params)
1171 {
1172 assert(params != NULL);
1173
1174 {
1175 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_vertcoef.size;
1176
1177 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_vertcoef.offset;
1178
1179 if (size) {
1180 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_vertcoef() enter:\n");
1181
1182 ia_css_sdis2_vertcoef_vmem_encode((struct sh_css_isp_sdis_vert_coef_tbl *)
1183 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
1184 &params->dvs2_coefs,
1185 size);
1186 params->isp_params_changed = true;
1187 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
1188
1189 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_vertcoef() leave:\n");
1190 }
1191
1192 }
1193 }
1194
1195 /* Code generated by genparam/gencode.c:gen_process_function() */
1196
1197 static void
1198 ia_css_process_sdis2_horiproj(
1199 unsigned pipe_id,
1200 const struct ia_css_pipeline_stage *stage,
1201 struct ia_css_isp_parameters *params)
1202 {
1203 assert(params != NULL);
1204
1205 {
1206 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.sdis2_horiproj.size;
1207
1208 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.sdis2_horiproj.offset;
1209
1210 if (size) {
1211 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_horiproj() enter:\n");
1212
1213 ia_css_sdis2_horiproj_encode((struct sh_css_isp_sdis_hori_proj_tbl *)
1214 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1215 &params->dvs2_coefs,
1216 size);
1217 params->isp_params_changed = true;
1218 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1219
1220 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_horiproj() leave:\n");
1221 }
1222
1223 }
1224 }
1225
1226 /* Code generated by genparam/gencode.c:gen_process_function() */
1227
1228 static void
1229 ia_css_process_sdis2_vertproj(
1230 unsigned pipe_id,
1231 const struct ia_css_pipeline_stage *stage,
1232 struct ia_css_isp_parameters *params)
1233 {
1234 assert(params != NULL);
1235
1236 {
1237 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.sdis2_vertproj.size;
1238
1239 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.sdis2_vertproj.offset;
1240
1241 if (size) {
1242 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_vertproj() enter:\n");
1243
1244 ia_css_sdis2_vertproj_encode((struct sh_css_isp_sdis_vert_proj_tbl *)
1245 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1246 &params->dvs2_coefs,
1247 size);
1248 params->isp_params_changed = true;
1249 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1250
1251 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_sdis2_vertproj() leave:\n");
1252 }
1253
1254 }
1255 }
1256
1257 /* Code generated by genparam/gencode.c:gen_process_function() */
1258
1259 static void
1260 ia_css_process_wb(
1261 unsigned pipe_id,
1262 const struct ia_css_pipeline_stage *stage,
1263 struct ia_css_isp_parameters *params)
1264 {
1265 assert(params != NULL);
1266
1267 {
1268 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.wb.size;
1269
1270 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.wb.offset;
1271
1272 if (size) {
1273 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_wb() enter:\n");
1274
1275 ia_css_wb_encode((struct sh_css_isp_wb_params *)
1276 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1277 &params->wb_config,
1278 size);
1279 params->isp_params_changed = true;
1280 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1281
1282 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_wb() leave:\n");
1283 }
1284
1285 }
1286 }
1287
1288 /* Code generated by genparam/gencode.c:gen_process_function() */
1289
1290 static void
1291 ia_css_process_nr(
1292 unsigned pipe_id,
1293 const struct ia_css_pipeline_stage *stage,
1294 struct ia_css_isp_parameters *params)
1295 {
1296 assert(params != NULL);
1297
1298 {
1299 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.nr.size;
1300
1301 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.nr.offset;
1302
1303 if (size) {
1304 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_nr() enter:\n");
1305
1306 ia_css_nr_encode((struct sh_css_isp_ynr_params *)
1307 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1308 &params->nr_config,
1309 size);
1310 params->isp_params_changed = true;
1311 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1312
1313 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_nr() leave:\n");
1314 }
1315
1316 }
1317 }
1318
1319 /* Code generated by genparam/gencode.c:gen_process_function() */
1320
1321 static void
1322 ia_css_process_yee(
1323 unsigned pipe_id,
1324 const struct ia_css_pipeline_stage *stage,
1325 struct ia_css_isp_parameters *params)
1326 {
1327 assert(params != NULL);
1328
1329 {
1330 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.yee.size;
1331
1332 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.yee.offset;
1333
1334 if (size) {
1335 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_yee() enter:\n");
1336
1337 ia_css_yee_encode((struct sh_css_isp_yee_params *)
1338 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1339 &params->yee_config,
1340 size);
1341 params->isp_params_changed = true;
1342 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1343
1344 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_yee() leave:\n");
1345 }
1346
1347 }
1348 }
1349
1350 /* Code generated by genparam/gencode.c:gen_process_function() */
1351
1352 static void
1353 ia_css_process_ynr(
1354 unsigned pipe_id,
1355 const struct ia_css_pipeline_stage *stage,
1356 struct ia_css_isp_parameters *params)
1357 {
1358 assert(params != NULL);
1359
1360 {
1361 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.ynr.size;
1362
1363 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.ynr.offset;
1364
1365 if (size) {
1366 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ynr() enter:\n");
1367
1368 ia_css_ynr_encode((struct sh_css_isp_yee2_params *)
1369 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1370 &params->ynr_config,
1371 size);
1372 params->isp_params_changed = true;
1373 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1374
1375 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ynr() leave:\n");
1376 }
1377
1378 }
1379 }
1380
1381 /* Code generated by genparam/gencode.c:gen_process_function() */
1382
1383 static void
1384 ia_css_process_fc(
1385 unsigned pipe_id,
1386 const struct ia_css_pipeline_stage *stage,
1387 struct ia_css_isp_parameters *params)
1388 {
1389 assert(params != NULL);
1390
1391 {
1392 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.fc.size;
1393
1394 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.fc.offset;
1395
1396 if (size) {
1397 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_fc() enter:\n");
1398
1399 ia_css_fc_encode((struct sh_css_isp_fc_params *)
1400 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1401 &params->fc_config,
1402 size);
1403 params->isp_params_changed = true;
1404 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1405
1406 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_fc() leave:\n");
1407 }
1408
1409 }
1410 }
1411
1412 /* Code generated by genparam/gencode.c:gen_process_function() */
1413
1414 static void
1415 ia_css_process_ctc(
1416 unsigned pipe_id,
1417 const struct ia_css_pipeline_stage *stage,
1418 struct ia_css_isp_parameters *params)
1419 {
1420 assert(params != NULL);
1421
1422 {
1423 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.ctc.size;
1424
1425 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.ctc.offset;
1426
1427 if (size) {
1428 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ctc() enter:\n");
1429
1430 ia_css_ctc_encode((struct sh_css_isp_ctc_params *)
1431 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1432 &params->ctc_config,
1433 size);
1434 params->isp_params_changed = true;
1435 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1436
1437 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ctc() leave:\n");
1438 }
1439
1440 }
1441 {
1442 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem0.ctc.size;
1443
1444 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem0.ctc.offset;
1445
1446 if (size) {
1447 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ctc() enter:\n");
1448
1449 ia_css_ctc_vamem_encode((struct sh_css_isp_ctc_vamem_params *)
1450 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM0].address[offset],
1451 &params->ctc_table,
1452 size);
1453 params->isp_params_changed = true;
1454 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM0] = true;
1455
1456 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_ctc() leave:\n");
1457 }
1458
1459 }
1460 }
1461
1462 /* Code generated by genparam/gencode.c:gen_process_function() */
1463
1464 static void
1465 ia_css_process_xnr_table(
1466 unsigned pipe_id,
1467 const struct ia_css_pipeline_stage *stage,
1468 struct ia_css_isp_parameters *params)
1469 {
1470 assert(params != NULL);
1471
1472 {
1473 unsigned size = stage->binary->info->mem_offsets.offsets.param->vamem1.xnr_table.size;
1474
1475 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vamem1.xnr_table.offset;
1476
1477 if (size) {
1478 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr_table() enter:\n");
1479
1480 ia_css_xnr_table_vamem_encode((struct sh_css_isp_xnr_vamem_params *)
1481 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VAMEM1].address[offset],
1482 &params->xnr_table,
1483 size);
1484 params->isp_params_changed = true;
1485 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VAMEM1] = true;
1486
1487 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr_table() leave:\n");
1488 }
1489
1490 }
1491 }
1492
1493 /* Code generated by genparam/gencode.c:gen_process_function() */
1494
1495 static void
1496 ia_css_process_xnr(
1497 unsigned pipe_id,
1498 const struct ia_css_pipeline_stage *stage,
1499 struct ia_css_isp_parameters *params)
1500 {
1501 assert(params != NULL);
1502
1503 {
1504 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.xnr.size;
1505
1506 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.xnr.offset;
1507
1508 if (size) {
1509 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr() enter:\n");
1510
1511 ia_css_xnr_encode((struct sh_css_isp_xnr_params *)
1512 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1513 &params->xnr_config,
1514 size);
1515 params->isp_params_changed = true;
1516 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1517
1518 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr() leave:\n");
1519 }
1520
1521 }
1522 }
1523
1524 /* Code generated by genparam/gencode.c:gen_process_function() */
1525
1526 static void
1527 ia_css_process_xnr3(
1528 unsigned pipe_id,
1529 const struct ia_css_pipeline_stage *stage,
1530 struct ia_css_isp_parameters *params)
1531 {
1532 assert(params != NULL);
1533
1534 {
1535 unsigned size = stage->binary->info->mem_offsets.offsets.param->dmem.xnr3.size;
1536
1537 unsigned offset = stage->binary->info->mem_offsets.offsets.param->dmem.xnr3.offset;
1538
1539 if (size) {
1540 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr3() enter:\n");
1541
1542 ia_css_xnr3_encode((struct sh_css_isp_xnr3_params *)
1543 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_DMEM].address[offset],
1544 &params->xnr3_config,
1545 size);
1546 params->isp_params_changed = true;
1547 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = true;
1548
1549 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr3() leave:\n");
1550 }
1551
1552 }
1553 #ifdef ISP2401
1554 {
1555 unsigned size = stage->binary->info->mem_offsets.offsets.param->vmem.xnr3.size;
1556
1557 unsigned offset = stage->binary->info->mem_offsets.offsets.param->vmem.xnr3.offset;
1558
1559 if (size) {
1560 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr3() enter:\n");
1561
1562 ia_css_xnr3_vmem_encode((struct sh_css_isp_xnr3_vmem_params *)
1563 &stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_VMEM].address[offset],
1564 &params->xnr3_config,
1565 size);
1566 params->isp_params_changed = true;
1567 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = true;
1568
1569 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_xnr3() leave:\n");
1570 }
1571
1572 }
1573 #endif
1574 }
1575
1576 /* Code generated by genparam/gencode.c:gen_param_process_table() */
1577
1578 void (* ia_css_kernel_process_param[IA_CSS_NUM_PARAMETER_IDS])(
1579 unsigned pipe_id,
1580 const struct ia_css_pipeline_stage *stage,
1581 struct ia_css_isp_parameters *params) = {
1582 ia_css_process_aa,
1583 ia_css_process_anr,
1584 ia_css_process_anr2,
1585 ia_css_process_bh,
1586 ia_css_process_cnr,
1587 ia_css_process_crop,
1588 ia_css_process_csc,
1589 ia_css_process_dp,
1590 ia_css_process_bnr,
1591 ia_css_process_de,
1592 ia_css_process_ecd,
1593 ia_css_process_formats,
1594 ia_css_process_fpn,
1595 ia_css_process_gc,
1596 ia_css_process_ce,
1597 ia_css_process_yuv2rgb,
1598 ia_css_process_rgb2yuv,
1599 ia_css_process_r_gamma,
1600 ia_css_process_g_gamma,
1601 ia_css_process_b_gamma,
1602 ia_css_process_uds,
1603 ia_css_process_raa,
1604 ia_css_process_s3a,
1605 ia_css_process_ob,
1606 ia_css_process_output,
1607 ia_css_process_sc,
1608 ia_css_process_bds,
1609 ia_css_process_tnr,
1610 ia_css_process_macc,
1611 ia_css_process_sdis_horicoef,
1612 ia_css_process_sdis_vertcoef,
1613 ia_css_process_sdis_horiproj,
1614 ia_css_process_sdis_vertproj,
1615 ia_css_process_sdis2_horicoef,
1616 ia_css_process_sdis2_vertcoef,
1617 ia_css_process_sdis2_horiproj,
1618 ia_css_process_sdis2_vertproj,
1619 ia_css_process_wb,
1620 ia_css_process_nr,
1621 ia_css_process_yee,
1622 ia_css_process_ynr,
1623 ia_css_process_fc,
1624 ia_css_process_ctc,
1625 ia_css_process_xnr_table,
1626 ia_css_process_xnr,
1627 ia_css_process_xnr3,
1628 };
1629
1630 /* Code generated by genparam/gencode.c:gen_get_function() */
1631
1632 static void
1633 ia_css_get_dp_config(const struct ia_css_isp_parameters *params,
1634 struct ia_css_dp_config *config){
1635 if (config == NULL)
1636 return;
1637
1638 assert(params != NULL);
1639 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_dp_config() enter: "
1640 "config=%p\n",config);
1641
1642 *config = params->dp_config;
1643
1644 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_dp_config() leave\n");
1645 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1646 }
1647
1648 /* Code generated by genparam/gencode.c:gen_set_function() */
1649
1650 void
1651 ia_css_set_dp_config(struct ia_css_isp_parameters *params,
1652 const struct ia_css_dp_config *config)
1653 {
1654 if (config == NULL)
1655 return;
1656
1657 assert(params != NULL);
1658 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_dp_config() enter:\n");
1659 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1660 params->dp_config = *config;
1661 params->config_changed[IA_CSS_DP_ID] = true;
1662 #ifndef ISP2401
1663 params->config_changed[IA_CSS_DP_ID] = true;
1664
1665 #endif
1666 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_dp_config() leave: "
1667 "return_void\n");
1668 }
1669
1670 /* Code generated by genparam/gencode.c:gen_get_function() */
1671
1672 static void
1673 ia_css_get_wb_config(const struct ia_css_isp_parameters *params,
1674 struct ia_css_wb_config *config){
1675 if (config == NULL)
1676 return;
1677
1678 assert(params != NULL);
1679 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_wb_config() enter: "
1680 "config=%p\n",config);
1681
1682 *config = params->wb_config;
1683
1684 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_wb_config() leave\n");
1685 ia_css_wb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1686 }
1687
1688 /* Code generated by genparam/gencode.c:gen_set_function() */
1689
1690 void
1691 ia_css_set_wb_config(struct ia_css_isp_parameters *params,
1692 const struct ia_css_wb_config *config)
1693 {
1694 if (config == NULL)
1695 return;
1696
1697 assert(params != NULL);
1698 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_wb_config() enter:\n");
1699 ia_css_wb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1700 params->wb_config = *config;
1701 params->config_changed[IA_CSS_WB_ID] = true;
1702 #ifndef ISP2401
1703 params->config_changed[IA_CSS_WB_ID] = true;
1704
1705 #endif
1706 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_wb_config() leave: "
1707 "return_void\n");
1708 }
1709
1710 /* Code generated by genparam/gencode.c:gen_get_function() */
1711
1712 static void
1713 ia_css_get_tnr_config(const struct ia_css_isp_parameters *params,
1714 struct ia_css_tnr_config *config){
1715 if (config == NULL)
1716 return;
1717
1718 assert(params != NULL);
1719 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_tnr_config() enter: "
1720 "config=%p\n",config);
1721
1722 *config = params->tnr_config;
1723
1724 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_tnr_config() leave\n");
1725 ia_css_tnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1726 }
1727
1728 /* Code generated by genparam/gencode.c:gen_set_function() */
1729
1730 void
1731 ia_css_set_tnr_config(struct ia_css_isp_parameters *params,
1732 const struct ia_css_tnr_config *config)
1733 {
1734 if (config == NULL)
1735 return;
1736
1737 assert(params != NULL);
1738 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_tnr_config() enter:\n");
1739 ia_css_tnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1740 params->tnr_config = *config;
1741 params->config_changed[IA_CSS_TNR_ID] = true;
1742 #ifndef ISP2401
1743 params->config_changed[IA_CSS_TNR_ID] = true;
1744
1745 #endif
1746 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_tnr_config() leave: "
1747 "return_void\n");
1748 }
1749
1750 /* Code generated by genparam/gencode.c:gen_get_function() */
1751
1752 static void
1753 ia_css_get_ob_config(const struct ia_css_isp_parameters *params,
1754 struct ia_css_ob_config *config){
1755 if (config == NULL)
1756 return;
1757
1758 assert(params != NULL);
1759 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ob_config() enter: "
1760 "config=%p\n",config);
1761
1762 *config = params->ob_config;
1763
1764 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ob_config() leave\n");
1765 ia_css_ob_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1766 }
1767
1768 /* Code generated by genparam/gencode.c:gen_set_function() */
1769
1770 void
1771 ia_css_set_ob_config(struct ia_css_isp_parameters *params,
1772 const struct ia_css_ob_config *config)
1773 {
1774 if (config == NULL)
1775 return;
1776
1777 assert(params != NULL);
1778 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_ob_config() enter:\n");
1779 ia_css_ob_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1780 params->ob_config = *config;
1781 params->config_changed[IA_CSS_OB_ID] = true;
1782 #ifndef ISP2401
1783 params->config_changed[IA_CSS_OB_ID] = true;
1784
1785 #endif
1786 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_ob_config() leave: "
1787 "return_void\n");
1788 }
1789
1790 /* Code generated by genparam/gencode.c:gen_get_function() */
1791
1792 static void
1793 ia_css_get_de_config(const struct ia_css_isp_parameters *params,
1794 struct ia_css_de_config *config){
1795 if (config == NULL)
1796 return;
1797
1798 assert(params != NULL);
1799 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_de_config() enter: "
1800 "config=%p\n",config);
1801
1802 *config = params->de_config;
1803
1804 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_de_config() leave\n");
1805 ia_css_de_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1806 }
1807
1808 /* Code generated by genparam/gencode.c:gen_set_function() */
1809
1810 void
1811 ia_css_set_de_config(struct ia_css_isp_parameters *params,
1812 const struct ia_css_de_config *config)
1813 {
1814 if (config == NULL)
1815 return;
1816
1817 assert(params != NULL);
1818 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_de_config() enter:\n");
1819 ia_css_de_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1820 params->de_config = *config;
1821 params->config_changed[IA_CSS_DE_ID] = true;
1822 #ifndef ISP2401
1823 params->config_changed[IA_CSS_DE_ID] = true;
1824
1825 #endif
1826 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_de_config() leave: "
1827 "return_void\n");
1828 }
1829
1830 /* Code generated by genparam/gencode.c:gen_get_function() */
1831
1832 static void
1833 ia_css_get_anr_config(const struct ia_css_isp_parameters *params,
1834 struct ia_css_anr_config *config){
1835 if (config == NULL)
1836 return;
1837
1838 assert(params != NULL);
1839 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_anr_config() enter: "
1840 "config=%p\n",config);
1841
1842 *config = params->anr_config;
1843
1844 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_anr_config() leave\n");
1845 ia_css_anr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1846 }
1847
1848 /* Code generated by genparam/gencode.c:gen_set_function() */
1849
1850 void
1851 ia_css_set_anr_config(struct ia_css_isp_parameters *params,
1852 const struct ia_css_anr_config *config)
1853 {
1854 if (config == NULL)
1855 return;
1856
1857 assert(params != NULL);
1858 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_anr_config() enter:\n");
1859 ia_css_anr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1860 params->anr_config = *config;
1861 params->config_changed[IA_CSS_ANR_ID] = true;
1862 #ifndef ISP2401
1863 params->config_changed[IA_CSS_ANR_ID] = true;
1864
1865 #endif
1866 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_anr_config() leave: "
1867 "return_void\n");
1868 }
1869
1870 /* Code generated by genparam/gencode.c:gen_get_function() */
1871
1872 static void
1873 ia_css_get_anr2_config(const struct ia_css_isp_parameters *params,
1874 struct ia_css_anr_thres *config){
1875 if (config == NULL)
1876 return;
1877
1878 assert(params != NULL);
1879 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_anr2_config() enter: "
1880 "config=%p\n",config);
1881
1882 *config = params->anr_thres;
1883
1884 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_anr2_config() leave\n");
1885 ia_css_anr2_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1886 }
1887
1888 /* Code generated by genparam/gencode.c:gen_set_function() */
1889
1890 void
1891 ia_css_set_anr2_config(struct ia_css_isp_parameters *params,
1892 const struct ia_css_anr_thres *config)
1893 {
1894 if (config == NULL)
1895 return;
1896
1897 assert(params != NULL);
1898 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_anr2_config() enter:\n");
1899 ia_css_anr2_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1900 params->anr_thres = *config;
1901 params->config_changed[IA_CSS_ANR2_ID] = true;
1902 #ifndef ISP2401
1903 params->config_changed[IA_CSS_ANR2_ID] = true;
1904
1905 #endif
1906 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_anr2_config() leave: "
1907 "return_void\n");
1908 }
1909
1910 /* Code generated by genparam/gencode.c:gen_get_function() */
1911
1912 static void
1913 ia_css_get_ce_config(const struct ia_css_isp_parameters *params,
1914 struct ia_css_ce_config *config){
1915 if (config == NULL)
1916 return;
1917
1918 assert(params != NULL);
1919 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ce_config() enter: "
1920 "config=%p\n",config);
1921
1922 *config = params->ce_config;
1923
1924 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ce_config() leave\n");
1925 ia_css_ce_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1926 }
1927
1928 /* Code generated by genparam/gencode.c:gen_set_function() */
1929
1930 void
1931 ia_css_set_ce_config(struct ia_css_isp_parameters *params,
1932 const struct ia_css_ce_config *config)
1933 {
1934 if (config == NULL)
1935 return;
1936
1937 assert(params != NULL);
1938 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_ce_config() enter:\n");
1939 ia_css_ce_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1940 params->ce_config = *config;
1941 params->config_changed[IA_CSS_CE_ID] = true;
1942 #ifndef ISP2401
1943 params->config_changed[IA_CSS_CE_ID] = true;
1944
1945 #endif
1946 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_ce_config() leave: "
1947 "return_void\n");
1948 }
1949
1950 /* Code generated by genparam/gencode.c:gen_get_function() */
1951
1952 static void
1953 ia_css_get_ecd_config(const struct ia_css_isp_parameters *params,
1954 struct ia_css_ecd_config *config){
1955 if (config == NULL)
1956 return;
1957
1958 assert(params != NULL);
1959 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ecd_config() enter: "
1960 "config=%p\n",config);
1961
1962 *config = params->ecd_config;
1963
1964 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ecd_config() leave\n");
1965 ia_css_ecd_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1966 }
1967
1968 /* Code generated by genparam/gencode.c:gen_set_function() */
1969
1970 void
1971 ia_css_set_ecd_config(struct ia_css_isp_parameters *params,
1972 const struct ia_css_ecd_config *config)
1973 {
1974 if (config == NULL)
1975 return;
1976
1977 assert(params != NULL);
1978 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_ecd_config() enter:\n");
1979 ia_css_ecd_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
1980 params->ecd_config = *config;
1981 params->config_changed[IA_CSS_ECD_ID] = true;
1982 #ifndef ISP2401
1983 params->config_changed[IA_CSS_ECD_ID] = true;
1984
1985 #endif
1986 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_ecd_config() leave: "
1987 "return_void\n");
1988 }
1989
1990 /* Code generated by genparam/gencode.c:gen_get_function() */
1991
1992 static void
1993 ia_css_get_ynr_config(const struct ia_css_isp_parameters *params,
1994 struct ia_css_ynr_config *config){
1995 if (config == NULL)
1996 return;
1997
1998 assert(params != NULL);
1999 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ynr_config() enter: "
2000 "config=%p\n",config);
2001
2002 *config = params->ynr_config;
2003
2004 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ynr_config() leave\n");
2005 ia_css_ynr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2006 }
2007
2008 /* Code generated by genparam/gencode.c:gen_set_function() */
2009
2010 void
2011 ia_css_set_ynr_config(struct ia_css_isp_parameters *params,
2012 const struct ia_css_ynr_config *config)
2013 {
2014 if (config == NULL)
2015 return;
2016
2017 assert(params != NULL);
2018 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_ynr_config() enter:\n");
2019 ia_css_ynr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2020 params->ynr_config = *config;
2021 params->config_changed[IA_CSS_YNR_ID] = true;
2022 #ifndef ISP2401
2023 params->config_changed[IA_CSS_YNR_ID] = true;
2024
2025 #endif
2026 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_ynr_config() leave: "
2027 "return_void\n");
2028 }
2029
2030 /* Code generated by genparam/gencode.c:gen_get_function() */
2031
2032 static void
2033 ia_css_get_fc_config(const struct ia_css_isp_parameters *params,
2034 struct ia_css_fc_config *config){
2035 if (config == NULL)
2036 return;
2037
2038 assert(params != NULL);
2039 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_fc_config() enter: "
2040 "config=%p\n",config);
2041
2042 *config = params->fc_config;
2043
2044 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_fc_config() leave\n");
2045 ia_css_fc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2046 }
2047
2048 /* Code generated by genparam/gencode.c:gen_set_function() */
2049
2050 void
2051 ia_css_set_fc_config(struct ia_css_isp_parameters *params,
2052 const struct ia_css_fc_config *config)
2053 {
2054 if (config == NULL)
2055 return;
2056
2057 assert(params != NULL);
2058 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_fc_config() enter:\n");
2059 ia_css_fc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2060 params->fc_config = *config;
2061 params->config_changed[IA_CSS_FC_ID] = true;
2062 #ifndef ISP2401
2063 params->config_changed[IA_CSS_FC_ID] = true;
2064
2065 #endif
2066 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_fc_config() leave: "
2067 "return_void\n");
2068 }
2069
2070 /* Code generated by genparam/gencode.c:gen_get_function() */
2071
2072 static void
2073 ia_css_get_cnr_config(const struct ia_css_isp_parameters *params,
2074 struct ia_css_cnr_config *config){
2075 if (config == NULL)
2076 return;
2077
2078 assert(params != NULL);
2079 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_cnr_config() enter: "
2080 "config=%p\n",config);
2081
2082 *config = params->cnr_config;
2083
2084 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_cnr_config() leave\n");
2085 ia_css_cnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2086 }
2087
2088 /* Code generated by genparam/gencode.c:gen_set_function() */
2089
2090 void
2091 ia_css_set_cnr_config(struct ia_css_isp_parameters *params,
2092 const struct ia_css_cnr_config *config)
2093 {
2094 if (config == NULL)
2095 return;
2096
2097 assert(params != NULL);
2098 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_cnr_config() enter:\n");
2099 ia_css_cnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2100 params->cnr_config = *config;
2101 params->config_changed[IA_CSS_CNR_ID] = true;
2102 #ifndef ISP2401
2103 params->config_changed[IA_CSS_CNR_ID] = true;
2104
2105 #endif
2106 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_cnr_config() leave: "
2107 "return_void\n");
2108 }
2109
2110 /* Code generated by genparam/gencode.c:gen_get_function() */
2111
2112 static void
2113 ia_css_get_macc_config(const struct ia_css_isp_parameters *params,
2114 struct ia_css_macc_config *config){
2115 if (config == NULL)
2116 return;
2117
2118 assert(params != NULL);
2119 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_macc_config() enter: "
2120 "config=%p\n",config);
2121
2122 *config = params->macc_config;
2123
2124 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_macc_config() leave\n");
2125 ia_css_macc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2126 }
2127
2128 /* Code generated by genparam/gencode.c:gen_set_function() */
2129
2130 void
2131 ia_css_set_macc_config(struct ia_css_isp_parameters *params,
2132 const struct ia_css_macc_config *config)
2133 {
2134 if (config == NULL)
2135 return;
2136
2137 assert(params != NULL);
2138 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_macc_config() enter:\n");
2139 ia_css_macc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2140 params->macc_config = *config;
2141 params->config_changed[IA_CSS_MACC_ID] = true;
2142 #ifndef ISP2401
2143 params->config_changed[IA_CSS_MACC_ID] = true;
2144
2145 #endif
2146 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_macc_config() leave: "
2147 "return_void\n");
2148 }
2149
2150 /* Code generated by genparam/gencode.c:gen_get_function() */
2151
2152 static void
2153 ia_css_get_ctc_config(const struct ia_css_isp_parameters *params,
2154 struct ia_css_ctc_config *config){
2155 if (config == NULL)
2156 return;
2157
2158 assert(params != NULL);
2159 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ctc_config() enter: "
2160 "config=%p\n",config);
2161
2162 *config = params->ctc_config;
2163
2164 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_ctc_config() leave\n");
2165 ia_css_ctc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2166 }
2167
2168 /* Code generated by genparam/gencode.c:gen_set_function() */
2169
2170 void
2171 ia_css_set_ctc_config(struct ia_css_isp_parameters *params,
2172 const struct ia_css_ctc_config *config)
2173 {
2174 if (config == NULL)
2175 return;
2176
2177 assert(params != NULL);
2178 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_ctc_config() enter:\n");
2179 ia_css_ctc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2180 params->ctc_config = *config;
2181 params->config_changed[IA_CSS_CTC_ID] = true;
2182 #ifndef ISP2401
2183 params->config_changed[IA_CSS_CTC_ID] = true;
2184
2185 #endif
2186 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_ctc_config() leave: "
2187 "return_void\n");
2188 }
2189
2190 /* Code generated by genparam/gencode.c:gen_get_function() */
2191
2192 static void
2193 ia_css_get_aa_config(const struct ia_css_isp_parameters *params,
2194 struct ia_css_aa_config *config){
2195 if (config == NULL)
2196 return;
2197
2198 assert(params != NULL);
2199 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_aa_config() enter: "
2200 "config=%p\n",config);
2201
2202 *config = params->aa_config;
2203
2204 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_aa_config() leave\n");
2205 }
2206
2207 /* Code generated by genparam/gencode.c:gen_set_function() */
2208
2209 void
2210 ia_css_set_aa_config(struct ia_css_isp_parameters *params,
2211 const struct ia_css_aa_config *config)
2212 {
2213 if (config == NULL)
2214 return;
2215
2216 assert(params != NULL);
2217 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_aa_config() enter:\n");
2218 params->aa_config = *config;
2219 params->config_changed[IA_CSS_AA_ID] = true;
2220 #ifndef ISP2401
2221 params->config_changed[IA_CSS_AA_ID] = true;
2222
2223 #endif
2224 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_aa_config() leave: "
2225 "return_void\n");
2226 }
2227
2228 /* Code generated by genparam/gencode.c:gen_get_function() */
2229
2230 static void
2231 ia_css_get_yuv2rgb_config(const struct ia_css_isp_parameters *params,
2232 struct ia_css_cc_config *config){
2233 if (config == NULL)
2234 return;
2235
2236 assert(params != NULL);
2237 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_yuv2rgb_config() enter: "
2238 "config=%p\n",config);
2239
2240 *config = params->yuv2rgb_cc_config;
2241
2242 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_yuv2rgb_config() leave\n");
2243 ia_css_yuv2rgb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2244 }
2245
2246 /* Code generated by genparam/gencode.c:gen_set_function() */
2247
2248 void
2249 ia_css_set_yuv2rgb_config(struct ia_css_isp_parameters *params,
2250 const struct ia_css_cc_config *config)
2251 {
2252 if (config == NULL)
2253 return;
2254
2255 assert(params != NULL);
2256 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_yuv2rgb_config() enter:\n");
2257 ia_css_yuv2rgb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2258 params->yuv2rgb_cc_config = *config;
2259 params->config_changed[IA_CSS_YUV2RGB_ID] = true;
2260 #ifndef ISP2401
2261 params->config_changed[IA_CSS_YUV2RGB_ID] = true;
2262
2263 #endif
2264 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_yuv2rgb_config() leave: "
2265 "return_void\n");
2266 }
2267
2268 /* Code generated by genparam/gencode.c:gen_get_function() */
2269
2270 static void
2271 ia_css_get_rgb2yuv_config(const struct ia_css_isp_parameters *params,
2272 struct ia_css_cc_config *config){
2273 if (config == NULL)
2274 return;
2275
2276 assert(params != NULL);
2277 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_rgb2yuv_config() enter: "
2278 "config=%p\n",config);
2279
2280 *config = params->rgb2yuv_cc_config;
2281
2282 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_rgb2yuv_config() leave\n");
2283 ia_css_rgb2yuv_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2284 }
2285
2286 /* Code generated by genparam/gencode.c:gen_set_function() */
2287
2288 void
2289 ia_css_set_rgb2yuv_config(struct ia_css_isp_parameters *params,
2290 const struct ia_css_cc_config *config)
2291 {
2292 if (config == NULL)
2293 return;
2294
2295 assert(params != NULL);
2296 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_rgb2yuv_config() enter:\n");
2297 ia_css_rgb2yuv_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2298 params->rgb2yuv_cc_config = *config;
2299 params->config_changed[IA_CSS_RGB2YUV_ID] = true;
2300 #ifndef ISP2401
2301 params->config_changed[IA_CSS_RGB2YUV_ID] = true;
2302
2303 #endif
2304 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_rgb2yuv_config() leave: "
2305 "return_void\n");
2306 }
2307
2308 /* Code generated by genparam/gencode.c:gen_get_function() */
2309
2310 static void
2311 ia_css_get_csc_config(const struct ia_css_isp_parameters *params,
2312 struct ia_css_cc_config *config){
2313 if (config == NULL)
2314 return;
2315
2316 assert(params != NULL);
2317 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_csc_config() enter: "
2318 "config=%p\n",config);
2319
2320 *config = params->cc_config;
2321
2322 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_csc_config() leave\n");
2323 ia_css_csc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2324 }
2325
2326 /* Code generated by genparam/gencode.c:gen_set_function() */
2327
2328 void
2329 ia_css_set_csc_config(struct ia_css_isp_parameters *params,
2330 const struct ia_css_cc_config *config)
2331 {
2332 if (config == NULL)
2333 return;
2334
2335 assert(params != NULL);
2336 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_csc_config() enter:\n");
2337 ia_css_csc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2338 params->cc_config = *config;
2339 params->config_changed[IA_CSS_CSC_ID] = true;
2340 #ifndef ISP2401
2341 params->config_changed[IA_CSS_CSC_ID] = true;
2342
2343 #endif
2344 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_csc_config() leave: "
2345 "return_void\n");
2346 }
2347
2348 /* Code generated by genparam/gencode.c:gen_get_function() */
2349
2350 static void
2351 ia_css_get_nr_config(const struct ia_css_isp_parameters *params,
2352 struct ia_css_nr_config *config){
2353 if (config == NULL)
2354 return;
2355
2356 assert(params != NULL);
2357 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_nr_config() enter: "
2358 "config=%p\n",config);
2359
2360 *config = params->nr_config;
2361
2362 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_nr_config() leave\n");
2363 ia_css_nr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2364 }
2365
2366 /* Code generated by genparam/gencode.c:gen_set_function() */
2367
2368 void
2369 ia_css_set_nr_config(struct ia_css_isp_parameters *params,
2370 const struct ia_css_nr_config *config)
2371 {
2372 if (config == NULL)
2373 return;
2374
2375 assert(params != NULL);
2376 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_nr_config() enter:\n");
2377 ia_css_nr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2378 params->nr_config = *config;
2379 params->config_changed[IA_CSS_BNR_ID] = true;
2380 params->config_changed[IA_CSS_NR_ID] = true;
2381 #ifndef ISP2401
2382 params->config_changed[IA_CSS_NR_ID] = true;
2383
2384 #endif
2385 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_nr_config() leave: "
2386 "return_void\n");
2387 }
2388
2389 /* Code generated by genparam/gencode.c:gen_get_function() */
2390
2391 static void
2392 ia_css_get_gc_config(const struct ia_css_isp_parameters *params,
2393 struct ia_css_gc_config *config){
2394 if (config == NULL)
2395 return;
2396
2397 assert(params != NULL);
2398 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_gc_config() enter: "
2399 "config=%p\n",config);
2400
2401 *config = params->gc_config;
2402
2403 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_gc_config() leave\n");
2404 ia_css_gc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2405 }
2406
2407 /* Code generated by genparam/gencode.c:gen_set_function() */
2408
2409 void
2410 ia_css_set_gc_config(struct ia_css_isp_parameters *params,
2411 const struct ia_css_gc_config *config)
2412 {
2413 if (config == NULL)
2414 return;
2415
2416 assert(params != NULL);
2417 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_gc_config() enter:\n");
2418 ia_css_gc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2419 params->gc_config = *config;
2420 params->config_changed[IA_CSS_GC_ID] = true;
2421 #ifndef ISP2401
2422 params->config_changed[IA_CSS_GC_ID] = true;
2423
2424 #endif
2425 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_gc_config() leave: "
2426 "return_void\n");
2427 }
2428
2429 /* Code generated by genparam/gencode.c:gen_get_function() */
2430
2431 static void
2432 ia_css_get_sdis_horicoef_config(const struct ia_css_isp_parameters *params,
2433 struct ia_css_dvs_coefficients *config){
2434 if (config == NULL)
2435 return;
2436
2437 assert(params != NULL);
2438 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_horicoef_config() enter: "
2439 "config=%p\n",config);
2440
2441 *config = params->dvs_coefs;
2442
2443 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_horicoef_config() leave\n");
2444 ia_css_sdis_horicoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2445 }
2446
2447 /* Code generated by genparam/gencode.c:gen_set_function() */
2448
2449 void
2450 ia_css_set_sdis_horicoef_config(struct ia_css_isp_parameters *params,
2451 const struct ia_css_dvs_coefficients *config)
2452 {
2453 if (config == NULL)
2454 return;
2455
2456 assert(params != NULL);
2457 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis_horicoef_config() enter:\n");
2458 ia_css_sdis_horicoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2459 params->dvs_coefs = *config;
2460 params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
2461 params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
2462 params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
2463 params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
2464 #ifndef ISP2401
2465 params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
2466
2467 #endif
2468 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis_horicoef_config() leave: "
2469 "return_void\n");
2470 }
2471
2472 /* Code generated by genparam/gencode.c:gen_get_function() */
2473
2474 static void
2475 ia_css_get_sdis_vertcoef_config(const struct ia_css_isp_parameters *params,
2476 struct ia_css_dvs_coefficients *config){
2477 if (config == NULL)
2478 return;
2479
2480 assert(params != NULL);
2481 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_vertcoef_config() enter: "
2482 "config=%p\n",config);
2483
2484 *config = params->dvs_coefs;
2485
2486 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_vertcoef_config() leave\n");
2487 ia_css_sdis_vertcoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2488 }
2489
2490 /* Code generated by genparam/gencode.c:gen_set_function() */
2491
2492 void
2493 ia_css_set_sdis_vertcoef_config(struct ia_css_isp_parameters *params,
2494 const struct ia_css_dvs_coefficients *config)
2495 {
2496 if (config == NULL)
2497 return;
2498
2499 assert(params != NULL);
2500 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis_vertcoef_config() enter:\n");
2501 ia_css_sdis_vertcoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2502 params->dvs_coefs = *config;
2503 params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
2504 params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
2505 params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
2506 params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
2507 #ifndef ISP2401
2508 params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
2509
2510 #endif
2511 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis_vertcoef_config() leave: "
2512 "return_void\n");
2513 }
2514
2515 /* Code generated by genparam/gencode.c:gen_get_function() */
2516
2517 static void
2518 ia_css_get_sdis_horiproj_config(const struct ia_css_isp_parameters *params,
2519 struct ia_css_dvs_coefficients *config){
2520 if (config == NULL)
2521 return;
2522
2523 assert(params != NULL);
2524 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_horiproj_config() enter: "
2525 "config=%p\n",config);
2526
2527 *config = params->dvs_coefs;
2528
2529 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_horiproj_config() leave\n");
2530 ia_css_sdis_horiproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2531 }
2532
2533 /* Code generated by genparam/gencode.c:gen_set_function() */
2534
2535 void
2536 ia_css_set_sdis_horiproj_config(struct ia_css_isp_parameters *params,
2537 const struct ia_css_dvs_coefficients *config)
2538 {
2539 if (config == NULL)
2540 return;
2541
2542 assert(params != NULL);
2543 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis_horiproj_config() enter:\n");
2544 ia_css_sdis_horiproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2545 params->dvs_coefs = *config;
2546 params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
2547 params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
2548 params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
2549 params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
2550 #ifndef ISP2401
2551 params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
2552
2553 #endif
2554 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis_horiproj_config() leave: "
2555 "return_void\n");
2556 }
2557
2558 /* Code generated by genparam/gencode.c:gen_get_function() */
2559
2560 static void
2561 ia_css_get_sdis_vertproj_config(const struct ia_css_isp_parameters *params,
2562 struct ia_css_dvs_coefficients *config){
2563 if (config == NULL)
2564 return;
2565
2566 assert(params != NULL);
2567 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_vertproj_config() enter: "
2568 "config=%p\n",config);
2569
2570 *config = params->dvs_coefs;
2571
2572 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis_vertproj_config() leave\n");
2573 ia_css_sdis_vertproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2574 }
2575
2576 /* Code generated by genparam/gencode.c:gen_set_function() */
2577
2578 void
2579 ia_css_set_sdis_vertproj_config(struct ia_css_isp_parameters *params,
2580 const struct ia_css_dvs_coefficients *config)
2581 {
2582 if (config == NULL)
2583 return;
2584
2585 assert(params != NULL);
2586 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis_vertproj_config() enter:\n");
2587 ia_css_sdis_vertproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2588 params->dvs_coefs = *config;
2589 params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
2590 params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
2591 params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
2592 params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
2593 #ifndef ISP2401
2594 params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
2595
2596 #endif
2597 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis_vertproj_config() leave: "
2598 "return_void\n");
2599 }
2600
2601 /* Code generated by genparam/gencode.c:gen_get_function() */
2602
2603 static void
2604 ia_css_get_sdis2_horicoef_config(const struct ia_css_isp_parameters *params,
2605 struct ia_css_dvs2_coefficients *config){
2606 if (config == NULL)
2607 return;
2608
2609 assert(params != NULL);
2610 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_horicoef_config() enter: "
2611 "config=%p\n",config);
2612
2613 *config = params->dvs2_coefs;
2614
2615 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_horicoef_config() leave\n");
2616 ia_css_sdis2_horicoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2617 }
2618
2619 /* Code generated by genparam/gencode.c:gen_set_function() */
2620
2621 void
2622 ia_css_set_sdis2_horicoef_config(struct ia_css_isp_parameters *params,
2623 const struct ia_css_dvs2_coefficients *config)
2624 {
2625 if (config == NULL)
2626 return;
2627
2628 assert(params != NULL);
2629 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis2_horicoef_config() enter:\n");
2630 ia_css_sdis2_horicoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2631 params->dvs2_coefs = *config;
2632 params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
2633 params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
2634 params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
2635 params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
2636 #ifndef ISP2401
2637 params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
2638
2639 #endif
2640 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis2_horicoef_config() leave: "
2641 "return_void\n");
2642 }
2643
2644 /* Code generated by genparam/gencode.c:gen_get_function() */
2645
2646 static void
2647 ia_css_get_sdis2_vertcoef_config(const struct ia_css_isp_parameters *params,
2648 struct ia_css_dvs2_coefficients *config){
2649 if (config == NULL)
2650 return;
2651
2652 assert(params != NULL);
2653 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_vertcoef_config() enter: "
2654 "config=%p\n",config);
2655
2656 *config = params->dvs2_coefs;
2657
2658 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_vertcoef_config() leave\n");
2659 ia_css_sdis2_vertcoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2660 }
2661
2662 /* Code generated by genparam/gencode.c:gen_set_function() */
2663
2664 void
2665 ia_css_set_sdis2_vertcoef_config(struct ia_css_isp_parameters *params,
2666 const struct ia_css_dvs2_coefficients *config)
2667 {
2668 if (config == NULL)
2669 return;
2670
2671 assert(params != NULL);
2672 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis2_vertcoef_config() enter:\n");
2673 ia_css_sdis2_vertcoef_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2674 params->dvs2_coefs = *config;
2675 params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
2676 params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
2677 params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
2678 params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
2679 #ifndef ISP2401
2680 params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
2681
2682 #endif
2683 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis2_vertcoef_config() leave: "
2684 "return_void\n");
2685 }
2686
2687 /* Code generated by genparam/gencode.c:gen_get_function() */
2688
2689 static void
2690 ia_css_get_sdis2_horiproj_config(const struct ia_css_isp_parameters *params,
2691 struct ia_css_dvs2_coefficients *config){
2692 if (config == NULL)
2693 return;
2694
2695 assert(params != NULL);
2696 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_horiproj_config() enter: "
2697 "config=%p\n",config);
2698
2699 *config = params->dvs2_coefs;
2700
2701 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_horiproj_config() leave\n");
2702 ia_css_sdis2_horiproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2703 }
2704
2705 /* Code generated by genparam/gencode.c:gen_set_function() */
2706
2707 void
2708 ia_css_set_sdis2_horiproj_config(struct ia_css_isp_parameters *params,
2709 const struct ia_css_dvs2_coefficients *config)
2710 {
2711 if (config == NULL)
2712 return;
2713
2714 assert(params != NULL);
2715 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis2_horiproj_config() enter:\n");
2716 ia_css_sdis2_horiproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2717 params->dvs2_coefs = *config;
2718 params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
2719 params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
2720 params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
2721 params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
2722 #ifndef ISP2401
2723 params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
2724
2725 #endif
2726 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis2_horiproj_config() leave: "
2727 "return_void\n");
2728 }
2729
2730 /* Code generated by genparam/gencode.c:gen_get_function() */
2731
2732 static void
2733 ia_css_get_sdis2_vertproj_config(const struct ia_css_isp_parameters *params,
2734 struct ia_css_dvs2_coefficients *config){
2735 if (config == NULL)
2736 return;
2737
2738 assert(params != NULL);
2739 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_vertproj_config() enter: "
2740 "config=%p\n",config);
2741
2742 *config = params->dvs2_coefs;
2743
2744 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_sdis2_vertproj_config() leave\n");
2745 ia_css_sdis2_vertproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2746 }
2747
2748 /* Code generated by genparam/gencode.c:gen_set_function() */
2749
2750 void
2751 ia_css_set_sdis2_vertproj_config(struct ia_css_isp_parameters *params,
2752 const struct ia_css_dvs2_coefficients *config)
2753 {
2754 if (config == NULL)
2755 return;
2756
2757 assert(params != NULL);
2758 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_sdis2_vertproj_config() enter:\n");
2759 ia_css_sdis2_vertproj_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2760 params->dvs2_coefs = *config;
2761 params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
2762 params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
2763 params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
2764 params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
2765 #ifndef ISP2401
2766 params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
2767
2768 #endif
2769 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_sdis2_vertproj_config() leave: "
2770 "return_void\n");
2771 }
2772
2773 /* Code generated by genparam/gencode.c:gen_get_function() */
2774
2775 static void
2776 ia_css_get_r_gamma_config(const struct ia_css_isp_parameters *params,
2777 struct ia_css_rgb_gamma_table *config){
2778 if (config == NULL)
2779 return;
2780
2781 assert(params != NULL);
2782 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_r_gamma_config() enter: "
2783 "config=%p\n",config);
2784
2785 *config = params->r_gamma_table;
2786
2787 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_r_gamma_config() leave\n");
2788 ia_css_r_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2789 }
2790
2791 /* Code generated by genparam/gencode.c:gen_set_function() */
2792
2793 void
2794 ia_css_set_r_gamma_config(struct ia_css_isp_parameters *params,
2795 const struct ia_css_rgb_gamma_table *config)
2796 {
2797 if (config == NULL)
2798 return;
2799
2800 assert(params != NULL);
2801 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_r_gamma_config() enter:\n");
2802 ia_css_r_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2803 params->r_gamma_table = *config;
2804 params->config_changed[IA_CSS_R_GAMMA_ID] = true;
2805 #ifndef ISP2401
2806 params->config_changed[IA_CSS_R_GAMMA_ID] = true;
2807
2808 #endif
2809 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_r_gamma_config() leave: "
2810 "return_void\n");
2811 }
2812
2813 /* Code generated by genparam/gencode.c:gen_get_function() */
2814
2815 static void
2816 ia_css_get_g_gamma_config(const struct ia_css_isp_parameters *params,
2817 struct ia_css_rgb_gamma_table *config){
2818 if (config == NULL)
2819 return;
2820
2821 assert(params != NULL);
2822 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_g_gamma_config() enter: "
2823 "config=%p\n",config);
2824
2825 *config = params->g_gamma_table;
2826
2827 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_g_gamma_config() leave\n");
2828 ia_css_g_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2829 }
2830
2831 /* Code generated by genparam/gencode.c:gen_set_function() */
2832
2833 void
2834 ia_css_set_g_gamma_config(struct ia_css_isp_parameters *params,
2835 const struct ia_css_rgb_gamma_table *config)
2836 {
2837 if (config == NULL)
2838 return;
2839
2840 assert(params != NULL);
2841 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_g_gamma_config() enter:\n");
2842 ia_css_g_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2843 params->g_gamma_table = *config;
2844 params->config_changed[IA_CSS_G_GAMMA_ID] = true;
2845 #ifndef ISP2401
2846 params->config_changed[IA_CSS_G_GAMMA_ID] = true;
2847
2848 #endif
2849 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_g_gamma_config() leave: "
2850 "return_void\n");
2851 }
2852
2853 /* Code generated by genparam/gencode.c:gen_get_function() */
2854
2855 static void
2856 ia_css_get_b_gamma_config(const struct ia_css_isp_parameters *params,
2857 struct ia_css_rgb_gamma_table *config){
2858 if (config == NULL)
2859 return;
2860
2861 assert(params != NULL);
2862 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_b_gamma_config() enter: "
2863 "config=%p\n",config);
2864
2865 *config = params->b_gamma_table;
2866
2867 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_b_gamma_config() leave\n");
2868 ia_css_b_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2869 }
2870
2871 /* Code generated by genparam/gencode.c:gen_set_function() */
2872
2873 void
2874 ia_css_set_b_gamma_config(struct ia_css_isp_parameters *params,
2875 const struct ia_css_rgb_gamma_table *config)
2876 {
2877 if (config == NULL)
2878 return;
2879
2880 assert(params != NULL);
2881 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_b_gamma_config() enter:\n");
2882 ia_css_b_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2883 params->b_gamma_table = *config;
2884 params->config_changed[IA_CSS_B_GAMMA_ID] = true;
2885 #ifndef ISP2401
2886 params->config_changed[IA_CSS_B_GAMMA_ID] = true;
2887
2888 #endif
2889 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_b_gamma_config() leave: "
2890 "return_void\n");
2891 }
2892
2893 /* Code generated by genparam/gencode.c:gen_get_function() */
2894
2895 static void
2896 ia_css_get_xnr_table_config(const struct ia_css_isp_parameters *params,
2897 struct ia_css_xnr_table *config){
2898 if (config == NULL)
2899 return;
2900
2901 assert(params != NULL);
2902 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr_table_config() enter: "
2903 "config=%p\n",config);
2904
2905 *config = params->xnr_table;
2906
2907 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr_table_config() leave\n");
2908 ia_css_xnr_table_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2909 }
2910
2911 /* Code generated by genparam/gencode.c:gen_set_function() */
2912
2913 void
2914 ia_css_set_xnr_table_config(struct ia_css_isp_parameters *params,
2915 const struct ia_css_xnr_table *config)
2916 {
2917 if (config == NULL)
2918 return;
2919
2920 assert(params != NULL);
2921 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_xnr_table_config() enter:\n");
2922 ia_css_xnr_table_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2923 params->xnr_table = *config;
2924 params->config_changed[IA_CSS_XNR_TABLE_ID] = true;
2925 #ifndef ISP2401
2926 params->config_changed[IA_CSS_XNR_TABLE_ID] = true;
2927
2928 #endif
2929 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_xnr_table_config() leave: "
2930 "return_void\n");
2931 }
2932
2933 /* Code generated by genparam/gencode.c:gen_get_function() */
2934
2935 static void
2936 ia_css_get_formats_config(const struct ia_css_isp_parameters *params,
2937 struct ia_css_formats_config *config){
2938 if (config == NULL)
2939 return;
2940
2941 assert(params != NULL);
2942 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_formats_config() enter: "
2943 "config=%p\n",config);
2944
2945 *config = params->formats_config;
2946
2947 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_formats_config() leave\n");
2948 ia_css_formats_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2949 }
2950
2951 /* Code generated by genparam/gencode.c:gen_set_function() */
2952
2953 void
2954 ia_css_set_formats_config(struct ia_css_isp_parameters *params,
2955 const struct ia_css_formats_config *config)
2956 {
2957 if (config == NULL)
2958 return;
2959
2960 assert(params != NULL);
2961 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_formats_config() enter:\n");
2962 ia_css_formats_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2963 params->formats_config = *config;
2964 params->config_changed[IA_CSS_FORMATS_ID] = true;
2965 #ifndef ISP2401
2966 params->config_changed[IA_CSS_FORMATS_ID] = true;
2967
2968 #endif
2969 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_formats_config() leave: "
2970 "return_void\n");
2971 }
2972
2973 /* Code generated by genparam/gencode.c:gen_get_function() */
2974
2975 static void
2976 ia_css_get_xnr_config(const struct ia_css_isp_parameters *params,
2977 struct ia_css_xnr_config *config){
2978 if (config == NULL)
2979 return;
2980
2981 assert(params != NULL);
2982 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr_config() enter: "
2983 "config=%p\n",config);
2984
2985 *config = params->xnr_config;
2986
2987 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr_config() leave\n");
2988 ia_css_xnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
2989 }
2990
2991 /* Code generated by genparam/gencode.c:gen_set_function() */
2992
2993 void
2994 ia_css_set_xnr_config(struct ia_css_isp_parameters *params,
2995 const struct ia_css_xnr_config *config)
2996 {
2997 if (config == NULL)
2998 return;
2999
3000 assert(params != NULL);
3001 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_xnr_config() enter:\n");
3002 ia_css_xnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3003 params->xnr_config = *config;
3004 params->config_changed[IA_CSS_XNR_ID] = true;
3005 #ifndef ISP2401
3006 params->config_changed[IA_CSS_XNR_ID] = true;
3007
3008 #endif
3009 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_xnr_config() leave: "
3010 "return_void\n");
3011 }
3012
3013 /* Code generated by genparam/gencode.c:gen_get_function() */
3014
3015 static void
3016 ia_css_get_xnr3_config(const struct ia_css_isp_parameters *params,
3017 struct ia_css_xnr3_config *config){
3018 if (config == NULL)
3019 return;
3020
3021 assert(params != NULL);
3022 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr3_config() enter: "
3023 "config=%p\n",config);
3024
3025 *config = params->xnr3_config;
3026
3027 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_xnr3_config() leave\n");
3028 ia_css_xnr3_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3029 }
3030
3031 /* Code generated by genparam/gencode.c:gen_set_function() */
3032
3033 void
3034 ia_css_set_xnr3_config(struct ia_css_isp_parameters *params,
3035 const struct ia_css_xnr3_config *config)
3036 {
3037 if (config == NULL)
3038 return;
3039
3040 assert(params != NULL);
3041 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_xnr3_config() enter:\n");
3042 ia_css_xnr3_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3043 params->xnr3_config = *config;
3044 params->config_changed[IA_CSS_XNR3_ID] = true;
3045 #ifndef ISP2401
3046 params->config_changed[IA_CSS_XNR3_ID] = true;
3047
3048 #endif
3049 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_xnr3_config() leave: "
3050 "return_void\n");
3051 }
3052
3053 /* Code generated by genparam/gencode.c:gen_get_function() */
3054
3055 static void
3056 ia_css_get_s3a_config(const struct ia_css_isp_parameters *params,
3057 struct ia_css_3a_config *config){
3058 if (config == NULL)
3059 return;
3060
3061 assert(params != NULL);
3062 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_s3a_config() enter: "
3063 "config=%p\n",config);
3064
3065 *config = params->s3a_config;
3066
3067 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_s3a_config() leave\n");
3068 ia_css_s3a_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3069 }
3070
3071 /* Code generated by genparam/gencode.c:gen_set_function() */
3072
3073 void
3074 ia_css_set_s3a_config(struct ia_css_isp_parameters *params,
3075 const struct ia_css_3a_config *config)
3076 {
3077 if (config == NULL)
3078 return;
3079
3080 assert(params != NULL);
3081 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_s3a_config() enter:\n");
3082 ia_css_s3a_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3083 params->s3a_config = *config;
3084 params->config_changed[IA_CSS_BH_ID] = true;
3085 params->config_changed[IA_CSS_S3A_ID] = true;
3086 #ifndef ISP2401
3087 params->config_changed[IA_CSS_S3A_ID] = true;
3088
3089 #endif
3090 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_s3a_config() leave: "
3091 "return_void\n");
3092 }
3093
3094 /* Code generated by genparam/gencode.c:gen_get_function() */
3095
3096 static void
3097 ia_css_get_output_config(const struct ia_css_isp_parameters *params,
3098 struct ia_css_output_config *config){
3099 if (config == NULL)
3100 return;
3101
3102 assert(params != NULL);
3103 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_output_config() enter: "
3104 "config=%p\n",config);
3105
3106 *config = params->output_config;
3107
3108 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_get_output_config() leave\n");
3109 ia_css_output_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3110 }
3111
3112 /* Code generated by genparam/gencode.c:gen_set_function() */
3113
3114 void
3115 ia_css_set_output_config(struct ia_css_isp_parameters *params,
3116 const struct ia_css_output_config *config)
3117 {
3118 if (config == NULL)
3119 return;
3120
3121 assert(params != NULL);
3122 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_output_config() enter:\n");
3123 ia_css_output_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
3124 params->output_config = *config;
3125 params->config_changed[IA_CSS_OUTPUT_ID] = true;
3126 #ifndef ISP2401
3127 params->config_changed[IA_CSS_OUTPUT_ID] = true;
3128
3129 #endif
3130 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_set_output_config() leave: "
3131 "return_void\n");
3132 }
3133
3134 /* Code generated by genparam/gencode.c:gen_global_access_function() */
3135
3136 void
3137 ia_css_get_configs(struct ia_css_isp_parameters *params,
3138 const struct ia_css_isp_config *config)
3139 {
3140 ia_css_get_dp_config(params, config->dp_config);
3141 ia_css_get_wb_config(params, config->wb_config);
3142 ia_css_get_tnr_config(params, config->tnr_config);
3143 ia_css_get_ob_config(params, config->ob_config);
3144 ia_css_get_de_config(params, config->de_config);
3145 ia_css_get_anr_config(params, config->anr_config);
3146 ia_css_get_anr2_config(params, config->anr_thres);
3147 ia_css_get_ce_config(params, config->ce_config);
3148 ia_css_get_ecd_config(params, config->ecd_config);
3149 ia_css_get_ynr_config(params, config->ynr_config);
3150 ia_css_get_fc_config(params, config->fc_config);
3151 ia_css_get_cnr_config(params, config->cnr_config);
3152 ia_css_get_macc_config(params, config->macc_config);
3153 ia_css_get_ctc_config(params, config->ctc_config);
3154 ia_css_get_aa_config(params, config->aa_config);
3155 ia_css_get_yuv2rgb_config(params, config->yuv2rgb_cc_config);
3156 ia_css_get_rgb2yuv_config(params, config->rgb2yuv_cc_config);
3157 ia_css_get_csc_config(params, config->cc_config);
3158 ia_css_get_nr_config(params, config->nr_config);
3159 ia_css_get_gc_config(params, config->gc_config);
3160 ia_css_get_sdis_horicoef_config(params, config->dvs_coefs);
3161 ia_css_get_sdis_vertcoef_config(params, config->dvs_coefs);
3162 ia_css_get_sdis_horiproj_config(params, config->dvs_coefs);
3163 ia_css_get_sdis_vertproj_config(params, config->dvs_coefs);
3164 ia_css_get_sdis2_horicoef_config(params, config->dvs2_coefs);
3165 ia_css_get_sdis2_vertcoef_config(params, config->dvs2_coefs);
3166 ia_css_get_sdis2_horiproj_config(params, config->dvs2_coefs);
3167 ia_css_get_sdis2_vertproj_config(params, config->dvs2_coefs);
3168 ia_css_get_r_gamma_config(params, config->r_gamma_table);
3169 ia_css_get_g_gamma_config(params, config->g_gamma_table);
3170 ia_css_get_b_gamma_config(params, config->b_gamma_table);
3171 ia_css_get_xnr_table_config(params, config->xnr_table);
3172 ia_css_get_formats_config(params, config->formats_config);
3173 ia_css_get_xnr_config(params, config->xnr_config);
3174 ia_css_get_xnr3_config(params, config->xnr3_config);
3175 ia_css_get_s3a_config(params, config->s3a_config);
3176 ia_css_get_output_config(params, config->output_config);
3177 }
3178
3179 /* Code generated by genparam/gencode.c:gen_global_access_function() */
3180
3181 void
3182 ia_css_set_configs(struct ia_css_isp_parameters *params,
3183 const struct ia_css_isp_config *config)
3184 {
3185 ia_css_set_dp_config(params, config->dp_config);
3186 ia_css_set_wb_config(params, config->wb_config);
3187 ia_css_set_tnr_config(params, config->tnr_config);
3188 ia_css_set_ob_config(params, config->ob_config);
3189 ia_css_set_de_config(params, config->de_config);
3190 ia_css_set_anr_config(params, config->anr_config);
3191 ia_css_set_anr2_config(params, config->anr_thres);
3192 ia_css_set_ce_config(params, config->ce_config);
3193 ia_css_set_ecd_config(params, config->ecd_config);
3194 ia_css_set_ynr_config(params, config->ynr_config);
3195 ia_css_set_fc_config(params, config->fc_config);
3196 ia_css_set_cnr_config(params, config->cnr_config);
3197 ia_css_set_macc_config(params, config->macc_config);
3198 ia_css_set_ctc_config(params, config->ctc_config);
3199 ia_css_set_aa_config(params, config->aa_config);
3200 ia_css_set_yuv2rgb_config(params, config->yuv2rgb_cc_config);
3201 ia_css_set_rgb2yuv_config(params, config->rgb2yuv_cc_config);
3202 ia_css_set_csc_config(params, config->cc_config);
3203 ia_css_set_nr_config(params, config->nr_config);
3204 ia_css_set_gc_config(params, config->gc_config);
3205 ia_css_set_sdis_horicoef_config(params, config->dvs_coefs);
3206 ia_css_set_sdis_vertcoef_config(params, config->dvs_coefs);
3207 ia_css_set_sdis_horiproj_config(params, config->dvs_coefs);
3208 ia_css_set_sdis_vertproj_config(params, config->dvs_coefs);
3209 ia_css_set_sdis2_horicoef_config(params, config->dvs2_coefs);
3210 ia_css_set_sdis2_vertcoef_config(params, config->dvs2_coefs);
3211 ia_css_set_sdis2_horiproj_config(params, config->dvs2_coefs);
3212 ia_css_set_sdis2_vertproj_config(params, config->dvs2_coefs);
3213 ia_css_set_r_gamma_config(params, config->r_gamma_table);
3214 ia_css_set_g_gamma_config(params, config->g_gamma_table);
3215 ia_css_set_b_gamma_config(params, config->b_gamma_table);
3216 ia_css_set_xnr_table_config(params, config->xnr_table);
3217 ia_css_set_formats_config(params, config->formats_config);
3218 ia_css_set_xnr_config(params, config->xnr_config);
3219 ia_css_set_xnr3_config(params, config->xnr3_config);
3220 ia_css_set_s3a_config(params, config->s3a_config);
3221 ia_css_set_output_config(params, config->output_config);
3222 }
3223