2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
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/iefd2_6/ia_css_iefd2_6.host.h"
56 #include "isp/kernels/dpc2/ia_css_dpc2.host.h"
57 #include "isp/kernels/eed1_8/ia_css_eed1_8.host.h"
58 #include "isp/kernels/bnlm/ia_css_bnlm.host.h"
59 #include "isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.h"
60 /* Generated code: do not edit or commmit. */
62 #include "ia_css_pipeline.h"
63 #include "ia_css_isp_params.h"
64 #include "ia_css_debug.h"
65 #include "assert_support.h"
67 /* Code generated by genparam/gencode.c:gen_process_function() */
72 const struct ia_css_pipeline_stage
*stage
,
73 struct ia_css_isp_parameters
*params
)
75 assert(params
!= NULL
);
78 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.aa
.size
;
80 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.aa
.offset
;
83 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_aa() enter:\n");
85 ia_css_aa_encode((struct sh_css_isp_aa_params
*)
86 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
89 params
->isp_params_changed
= true;
90 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
92 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_aa() leave:\n");
98 /* Code generated by genparam/gencode.c:gen_process_function() */
103 const struct ia_css_pipeline_stage
*stage
,
104 struct ia_css_isp_parameters
*params
)
106 assert(params
!= NULL
);
109 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.anr
.size
;
111 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.anr
.offset
;
114 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_anr() enter:\n");
116 ia_css_anr_encode((struct sh_css_isp_anr_params
*)
117 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
120 params
->isp_params_changed
= true;
121 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
123 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_anr() leave:\n");
129 /* Code generated by genparam/gencode.c:gen_process_function() */
134 const struct ia_css_pipeline_stage
*stage
,
135 struct ia_css_isp_parameters
*params
)
137 assert(params
!= NULL
);
140 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.anr2
.size
;
142 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.anr2
.offset
;
145 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_anr2() enter:\n");
147 ia_css_anr2_vmem_encode((struct ia_css_isp_anr2_params
*)
148 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
151 params
->isp_params_changed
= true;
152 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
154 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_anr2() leave:\n");
160 /* Code generated by genparam/gencode.c:gen_process_function() */
165 const struct ia_css_pipeline_stage
*stage
,
166 struct ia_css_isp_parameters
*params
)
168 assert(params
!= NULL
);
171 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bh
.size
;
173 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bh
.offset
;
176 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bh() enter:\n");
178 ia_css_bh_encode((struct sh_css_isp_bh_params
*)
179 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
182 params
->isp_params_changed
= true;
183 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
185 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bh() leave:\n");
190 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->hmem0
.bh
.size
;
192 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->hmem0
.bh
.offset
;
195 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bh() enter:\n");
197 ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params
*)
198 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_HMEM0
].address
[offset
],
201 params
->isp_params_changed
= true;
202 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_HMEM0
] = true;
204 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bh() leave:\n");
210 /* Code generated by genparam/gencode.c:gen_process_function() */
215 const struct ia_css_pipeline_stage
*stage
,
216 struct ia_css_isp_parameters
*params
)
218 assert(params
!= NULL
);
221 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.cnr
.size
;
223 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.cnr
.offset
;
226 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_cnr() enter:\n");
228 ia_css_cnr_encode((struct sh_css_isp_cnr_params
*)
229 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
232 params
->isp_params_changed
= true;
233 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
235 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_cnr() leave:\n");
241 /* Code generated by genparam/gencode.c:gen_process_function() */
246 const struct ia_css_pipeline_stage
*stage
,
247 struct ia_css_isp_parameters
*params
)
249 assert(params
!= NULL
);
252 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.crop
.size
;
254 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.crop
.offset
;
257 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_crop() enter:\n");
259 ia_css_crop_encode((struct sh_css_isp_crop_isp_params
*)
260 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
261 ¶ms
->crop_config
,
263 params
->isp_params_changed
= true;
264 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
266 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_crop() leave:\n");
272 /* Code generated by genparam/gencode.c:gen_process_function() */
277 const struct ia_css_pipeline_stage
*stage
,
278 struct ia_css_isp_parameters
*params
)
280 assert(params
!= NULL
);
283 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.csc
.size
;
285 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.csc
.offset
;
288 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_csc() enter:\n");
290 ia_css_csc_encode((struct sh_css_isp_csc_params
*)
291 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
294 params
->isp_params_changed
= true;
295 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
297 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_csc() leave:\n");
303 /* Code generated by genparam/gencode.c:gen_process_function() */
308 const struct ia_css_pipeline_stage
*stage
,
309 struct ia_css_isp_parameters
*params
)
311 assert(params
!= NULL
);
314 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.dp
.size
;
316 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.dp
.offset
;
319 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_dp() enter:\n");
321 ia_css_dp_encode((struct sh_css_isp_dp_params
*)
322 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
325 params
->isp_params_changed
= true;
326 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
328 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_dp() leave:\n");
334 /* Code generated by genparam/gencode.c:gen_process_function() */
339 const struct ia_css_pipeline_stage
*stage
,
340 struct ia_css_isp_parameters
*params
)
342 assert(params
!= NULL
);
345 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bnr
.size
;
347 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bnr
.offset
;
350 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bnr() enter:\n");
352 ia_css_bnr_encode((struct sh_css_isp_bnr_params
*)
353 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
356 params
->isp_params_changed
= true;
357 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
359 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bnr() leave:\n");
365 /* Code generated by genparam/gencode.c:gen_process_function() */
370 const struct ia_css_pipeline_stage
*stage
,
371 struct ia_css_isp_parameters
*params
)
373 assert(params
!= NULL
);
376 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.de
.size
;
378 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.de
.offset
;
381 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_de() enter:\n");
383 ia_css_de_encode((struct sh_css_isp_de_params
*)
384 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
387 params
->isp_params_changed
= true;
388 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
390 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_de() leave:\n");
396 /* Code generated by genparam/gencode.c:gen_process_function() */
401 const struct ia_css_pipeline_stage
*stage
,
402 struct ia_css_isp_parameters
*params
)
404 assert(params
!= NULL
);
407 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ecd
.size
;
409 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ecd
.offset
;
412 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ecd() enter:\n");
414 ia_css_ecd_encode((struct sh_css_isp_ecd_params
*)
415 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
418 params
->isp_params_changed
= true;
419 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
421 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ecd() leave:\n");
427 /* Code generated by genparam/gencode.c:gen_process_function() */
430 ia_css_process_formats(
432 const struct ia_css_pipeline_stage
*stage
,
433 struct ia_css_isp_parameters
*params
)
435 assert(params
!= NULL
);
438 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.formats
.size
;
440 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.formats
.offset
;
443 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_formats() enter:\n");
445 ia_css_formats_encode((struct sh_css_isp_formats_params
*)
446 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
447 ¶ms
->formats_config
,
449 params
->isp_params_changed
= true;
450 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
452 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_formats() leave:\n");
458 /* Code generated by genparam/gencode.c:gen_process_function() */
463 const struct ia_css_pipeline_stage
*stage
,
464 struct ia_css_isp_parameters
*params
)
466 assert(params
!= NULL
);
469 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.fpn
.size
;
471 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.fpn
.offset
;
474 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_fpn() enter:\n");
476 ia_css_fpn_encode((struct sh_css_isp_fpn_params
*)
477 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
480 params
->isp_params_changed
= true;
481 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
483 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_fpn() leave:\n");
489 /* Code generated by genparam/gencode.c:gen_process_function() */
494 const struct ia_css_pipeline_stage
*stage
,
495 struct ia_css_isp_parameters
*params
)
497 assert(params
!= NULL
);
500 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.gc
.size
;
502 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.gc
.offset
;
505 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_gc() enter:\n");
507 ia_css_gc_encode((struct sh_css_isp_gc_params
*)
508 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
511 params
->isp_params_changed
= true;
512 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
514 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_gc() leave:\n");
519 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.gc
.size
;
521 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.gc
.offset
;
524 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_gc() enter:\n");
526 ia_css_gc_vamem_encode((struct sh_css_isp_gc_vamem_params
*)
527 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM1
].address
[offset
],
530 params
->isp_params_changed
= true;
531 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM1
] = true;
533 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_gc() leave:\n");
539 /* Code generated by genparam/gencode.c:gen_process_function() */
544 const struct ia_css_pipeline_stage
*stage
,
545 struct ia_css_isp_parameters
*params
)
547 assert(params
!= NULL
);
550 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ce
.size
;
552 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ce
.offset
;
555 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ce() enter:\n");
557 ia_css_ce_encode((struct sh_css_isp_ce_params
*)
558 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
561 params
->isp_params_changed
= true;
562 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
564 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ce() leave:\n");
570 /* Code generated by genparam/gencode.c:gen_process_function() */
573 ia_css_process_yuv2rgb(
575 const struct ia_css_pipeline_stage
*stage
,
576 struct ia_css_isp_parameters
*params
)
578 assert(params
!= NULL
);
581 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.yuv2rgb
.size
;
583 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.yuv2rgb
.offset
;
586 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_yuv2rgb() enter:\n");
588 ia_css_yuv2rgb_encode((struct sh_css_isp_csc_params
*)
589 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
590 ¶ms
->yuv2rgb_cc_config
,
592 params
->isp_params_changed
= true;
593 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
595 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_yuv2rgb() leave:\n");
601 /* Code generated by genparam/gencode.c:gen_process_function() */
604 ia_css_process_rgb2yuv(
606 const struct ia_css_pipeline_stage
*stage
,
607 struct ia_css_isp_parameters
*params
)
609 assert(params
!= NULL
);
612 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.rgb2yuv
.size
;
614 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.rgb2yuv
.offset
;
617 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_rgb2yuv() enter:\n");
619 ia_css_rgb2yuv_encode((struct sh_css_isp_csc_params
*)
620 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
621 ¶ms
->rgb2yuv_cc_config
,
623 params
->isp_params_changed
= true;
624 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
626 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_rgb2yuv() leave:\n");
632 /* Code generated by genparam/gencode.c:gen_process_function() */
635 ia_css_process_r_gamma(
637 const struct ia_css_pipeline_stage
*stage
,
638 struct ia_css_isp_parameters
*params
)
640 assert(params
!= NULL
);
643 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem0
.r_gamma
.size
;
645 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem0
.r_gamma
.offset
;
648 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_r_gamma() enter:\n");
650 ia_css_r_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params
*)
651 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM0
].address
[offset
],
652 ¶ms
->r_gamma_table
,
654 params
->isp_params_changed
= true;
655 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM0
] = true;
657 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_r_gamma() leave:\n");
663 /* Code generated by genparam/gencode.c:gen_process_function() */
666 ia_css_process_g_gamma(
668 const struct ia_css_pipeline_stage
*stage
,
669 struct ia_css_isp_parameters
*params
)
671 assert(params
!= NULL
);
674 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.g_gamma
.size
;
676 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.g_gamma
.offset
;
679 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_g_gamma() enter:\n");
681 ia_css_g_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params
*)
682 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM1
].address
[offset
],
683 ¶ms
->g_gamma_table
,
685 params
->isp_params_changed
= true;
686 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM1
] = true;
688 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_g_gamma() leave:\n");
694 /* Code generated by genparam/gencode.c:gen_process_function() */
697 ia_css_process_b_gamma(
699 const struct ia_css_pipeline_stage
*stage
,
700 struct ia_css_isp_parameters
*params
)
702 assert(params
!= NULL
);
705 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem2
.b_gamma
.size
;
707 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem2
.b_gamma
.offset
;
710 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_b_gamma() enter:\n");
712 ia_css_b_gamma_vamem_encode((struct sh_css_isp_rgb_gamma_vamem_params
*)
713 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM2
].address
[offset
],
714 ¶ms
->b_gamma_table
,
716 params
->isp_params_changed
= true;
717 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM2
] = true;
719 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_b_gamma() leave:\n");
725 /* Code generated by genparam/gencode.c:gen_process_function() */
730 const struct ia_css_pipeline_stage
*stage
,
731 struct ia_css_isp_parameters
*params
)
733 assert(params
!= NULL
);
736 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.uds
.size
;
738 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.uds
.offset
;
741 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_uds() enter:\n");
743 ia_css_uds_encode((struct sh_css_sp_uds_params
*)
744 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
747 params
->isp_params_changed
= true;
748 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
750 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_uds() leave:\n");
756 /* Code generated by genparam/gencode.c:gen_process_function() */
761 const struct ia_css_pipeline_stage
*stage
,
762 struct ia_css_isp_parameters
*params
)
764 assert(params
!= NULL
);
767 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.raa
.size
;
769 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.raa
.offset
;
772 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_raa() enter:\n");
774 ia_css_raa_encode((struct sh_css_isp_aa_params
*)
775 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
778 params
->isp_params_changed
= true;
779 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
781 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_raa() leave:\n");
787 /* Code generated by genparam/gencode.c:gen_process_function() */
792 const struct ia_css_pipeline_stage
*stage
,
793 struct ia_css_isp_parameters
*params
)
795 assert(params
!= NULL
);
798 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.s3a
.size
;
800 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.s3a
.offset
;
803 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_s3a() enter:\n");
805 ia_css_s3a_encode((struct sh_css_isp_s3a_params
*)
806 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
809 params
->isp_params_changed
= true;
810 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
812 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_s3a() leave:\n");
818 /* Code generated by genparam/gencode.c:gen_process_function() */
823 const struct ia_css_pipeline_stage
*stage
,
824 struct ia_css_isp_parameters
*params
)
826 assert(params
!= NULL
);
829 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ob
.size
;
831 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ob
.offset
;
834 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ob() enter:\n");
836 ia_css_ob_encode((struct sh_css_isp_ob_params
*)
837 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
839 ¶ms
->stream_configs
.ob
, size
);
840 params
->isp_params_changed
= true;
841 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
843 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ob() leave:\n");
848 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.ob
.size
;
850 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.ob
.offset
;
853 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ob() enter:\n");
855 ia_css_ob_vmem_encode((struct sh_css_isp_ob_vmem_params
*)
856 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
858 ¶ms
->stream_configs
.ob
, size
);
859 params
->isp_params_changed
= true;
860 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
862 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ob() leave:\n");
868 /* Code generated by genparam/gencode.c:gen_process_function() */
871 ia_css_process_output(
873 const struct ia_css_pipeline_stage
*stage
,
874 struct ia_css_isp_parameters
*params
)
876 assert(params
!= NULL
);
879 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.output
.size
;
881 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.output
.offset
;
884 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_output() enter:\n");
886 ia_css_output_encode((struct sh_css_isp_output_params
*)
887 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
888 ¶ms
->output_config
,
890 params
->isp_params_changed
= true;
891 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
893 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_output() leave:\n");
899 /* Code generated by genparam/gencode.c:gen_process_function() */
904 const struct ia_css_pipeline_stage
*stage
,
905 struct ia_css_isp_parameters
*params
)
907 assert(params
!= NULL
);
910 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sc
.size
;
912 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sc
.offset
;
915 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sc() enter:\n");
917 ia_css_sc_encode((struct sh_css_isp_sc_params
*)
918 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
921 params
->isp_params_changed
= true;
922 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
924 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sc() leave:\n");
930 /* Code generated by genparam/gencode.c:gen_process_function() */
935 const struct ia_css_pipeline_stage
*stage
,
936 struct ia_css_isp_parameters
*params
)
938 assert(params
!= NULL
);
941 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bds
.size
;
943 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.bds
.offset
;
946 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bds() enter:\n");
948 ia_css_bds_encode((struct sh_css_isp_bds_params
*)
949 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
952 params
->isp_params_changed
= true;
953 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
955 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_bds() leave:\n");
961 /* Code generated by genparam/gencode.c:gen_process_function() */
966 const struct ia_css_pipeline_stage
*stage
,
967 struct ia_css_isp_parameters
*params
)
969 assert(params
!= NULL
);
972 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.tnr
.size
;
974 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.tnr
.offset
;
977 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_tnr() enter:\n");
979 ia_css_tnr_encode((struct sh_css_isp_tnr_params
*)
980 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
983 params
->isp_params_changed
= true;
984 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
986 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_tnr() leave:\n");
992 /* Code generated by genparam/gencode.c:gen_process_function() */
997 const struct ia_css_pipeline_stage
*stage
,
998 struct ia_css_isp_parameters
*params
)
1000 assert(params
!= NULL
);
1003 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.macc
.size
;
1005 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.macc
.offset
;
1008 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_macc() enter:\n");
1010 ia_css_macc_encode((struct sh_css_isp_macc_params
*)
1011 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1012 ¶ms
->macc_config
,
1014 params
->isp_params_changed
= true;
1015 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1017 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_macc() leave:\n");
1023 /* Code generated by genparam/gencode.c:gen_process_function() */
1026 ia_css_process_sdis_horicoef(
1028 const struct ia_css_pipeline_stage
*stage
,
1029 struct ia_css_isp_parameters
*params
)
1031 assert(params
!= NULL
);
1034 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis_horicoef
.size
;
1036 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis_horicoef
.offset
;
1039 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_horicoef() enter:\n");
1041 ia_css_sdis_horicoef_vmem_encode((struct sh_css_isp_sdis_hori_coef_tbl
*)
1042 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
1045 params
->isp_params_changed
= true;
1046 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
1048 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_horicoef() leave:\n");
1054 /* Code generated by genparam/gencode.c:gen_process_function() */
1057 ia_css_process_sdis_vertcoef(
1059 const struct ia_css_pipeline_stage
*stage
,
1060 struct ia_css_isp_parameters
*params
)
1062 assert(params
!= NULL
);
1065 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis_vertcoef
.size
;
1067 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis_vertcoef
.offset
;
1070 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_vertcoef() enter:\n");
1072 ia_css_sdis_vertcoef_vmem_encode((struct sh_css_isp_sdis_vert_coef_tbl
*)
1073 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
1076 params
->isp_params_changed
= true;
1077 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
1079 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_vertcoef() leave:\n");
1085 /* Code generated by genparam/gencode.c:gen_process_function() */
1088 ia_css_process_sdis_horiproj(
1090 const struct ia_css_pipeline_stage
*stage
,
1091 struct ia_css_isp_parameters
*params
)
1093 assert(params
!= NULL
);
1096 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis_horiproj
.size
;
1098 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis_horiproj
.offset
;
1101 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_horiproj() enter:\n");
1103 ia_css_sdis_horiproj_encode((struct sh_css_isp_sdis_hori_proj_tbl
*)
1104 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1107 params
->isp_params_changed
= true;
1108 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1110 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_horiproj() leave:\n");
1116 /* Code generated by genparam/gencode.c:gen_process_function() */
1119 ia_css_process_sdis_vertproj(
1121 const struct ia_css_pipeline_stage
*stage
,
1122 struct ia_css_isp_parameters
*params
)
1124 assert(params
!= NULL
);
1127 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis_vertproj
.size
;
1129 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis_vertproj
.offset
;
1132 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_vertproj() enter:\n");
1134 ia_css_sdis_vertproj_encode((struct sh_css_isp_sdis_vert_proj_tbl
*)
1135 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1138 params
->isp_params_changed
= true;
1139 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1141 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis_vertproj() leave:\n");
1147 /* Code generated by genparam/gencode.c:gen_process_function() */
1150 ia_css_process_sdis2_horicoef(
1152 const struct ia_css_pipeline_stage
*stage
,
1153 struct ia_css_isp_parameters
*params
)
1155 assert(params
!= NULL
);
1158 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis2_horicoef
.size
;
1160 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis2_horicoef
.offset
;
1163 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_horicoef() enter:\n");
1165 ia_css_sdis2_horicoef_vmem_encode((struct sh_css_isp_sdis_hori_coef_tbl
*)
1166 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
1167 ¶ms
->dvs2_coefs
,
1169 params
->isp_params_changed
= true;
1170 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
1172 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_horicoef() leave:\n");
1178 /* Code generated by genparam/gencode.c:gen_process_function() */
1181 ia_css_process_sdis2_vertcoef(
1183 const struct ia_css_pipeline_stage
*stage
,
1184 struct ia_css_isp_parameters
*params
)
1186 assert(params
!= NULL
);
1189 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis2_vertcoef
.size
;
1191 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.sdis2_vertcoef
.offset
;
1194 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_vertcoef() enter:\n");
1196 ia_css_sdis2_vertcoef_vmem_encode((struct sh_css_isp_sdis_vert_coef_tbl
*)
1197 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
1198 ¶ms
->dvs2_coefs
,
1200 params
->isp_params_changed
= true;
1201 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
1203 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_vertcoef() leave:\n");
1209 /* Code generated by genparam/gencode.c:gen_process_function() */
1212 ia_css_process_sdis2_horiproj(
1214 const struct ia_css_pipeline_stage
*stage
,
1215 struct ia_css_isp_parameters
*params
)
1217 assert(params
!= NULL
);
1220 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis2_horiproj
.size
;
1222 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis2_horiproj
.offset
;
1225 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_horiproj() enter:\n");
1227 ia_css_sdis2_horiproj_encode((struct sh_css_isp_sdis_hori_proj_tbl
*)
1228 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1229 ¶ms
->dvs2_coefs
,
1231 params
->isp_params_changed
= true;
1232 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1234 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_horiproj() leave:\n");
1240 /* Code generated by genparam/gencode.c:gen_process_function() */
1243 ia_css_process_sdis2_vertproj(
1245 const struct ia_css_pipeline_stage
*stage
,
1246 struct ia_css_isp_parameters
*params
)
1248 assert(params
!= NULL
);
1251 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis2_vertproj
.size
;
1253 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.sdis2_vertproj
.offset
;
1256 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_vertproj() enter:\n");
1258 ia_css_sdis2_vertproj_encode((struct sh_css_isp_sdis_vert_proj_tbl
*)
1259 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1260 ¶ms
->dvs2_coefs
,
1262 params
->isp_params_changed
= true;
1263 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1265 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_sdis2_vertproj() leave:\n");
1271 /* Code generated by genparam/gencode.c:gen_process_function() */
1276 const struct ia_css_pipeline_stage
*stage
,
1277 struct ia_css_isp_parameters
*params
)
1279 assert(params
!= NULL
);
1282 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.wb
.size
;
1284 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.wb
.offset
;
1287 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_wb() enter:\n");
1289 ia_css_wb_encode((struct sh_css_isp_wb_params
*)
1290 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1293 params
->isp_params_changed
= true;
1294 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1296 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_wb() leave:\n");
1302 /* Code generated by genparam/gencode.c:gen_process_function() */
1307 const struct ia_css_pipeline_stage
*stage
,
1308 struct ia_css_isp_parameters
*params
)
1310 assert(params
!= NULL
);
1313 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.nr
.size
;
1315 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.nr
.offset
;
1318 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_nr() enter:\n");
1320 ia_css_nr_encode((struct sh_css_isp_ynr_params
*)
1321 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1324 params
->isp_params_changed
= true;
1325 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1327 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_nr() leave:\n");
1333 /* Code generated by genparam/gencode.c:gen_process_function() */
1338 const struct ia_css_pipeline_stage
*stage
,
1339 struct ia_css_isp_parameters
*params
)
1341 assert(params
!= NULL
);
1344 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.yee
.size
;
1346 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.yee
.offset
;
1349 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_yee() enter:\n");
1351 ia_css_yee_encode((struct sh_css_isp_yee_params
*)
1352 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1353 ¶ms
->yee_config
,
1355 params
->isp_params_changed
= true;
1356 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1358 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_yee() leave:\n");
1364 /* Code generated by genparam/gencode.c:gen_process_function() */
1369 const struct ia_css_pipeline_stage
*stage
,
1370 struct ia_css_isp_parameters
*params
)
1372 assert(params
!= NULL
);
1375 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ynr
.size
;
1377 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ynr
.offset
;
1380 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ynr() enter:\n");
1382 ia_css_ynr_encode((struct sh_css_isp_yee2_params
*)
1383 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1384 ¶ms
->ynr_config
,
1386 params
->isp_params_changed
= true;
1387 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1389 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ynr() leave:\n");
1395 /* Code generated by genparam/gencode.c:gen_process_function() */
1400 const struct ia_css_pipeline_stage
*stage
,
1401 struct ia_css_isp_parameters
*params
)
1403 assert(params
!= NULL
);
1406 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.fc
.size
;
1408 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.fc
.offset
;
1411 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_fc() enter:\n");
1413 ia_css_fc_encode((struct sh_css_isp_fc_params
*)
1414 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1417 params
->isp_params_changed
= true;
1418 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1420 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_fc() leave:\n");
1426 /* Code generated by genparam/gencode.c:gen_process_function() */
1431 const struct ia_css_pipeline_stage
*stage
,
1432 struct ia_css_isp_parameters
*params
)
1434 assert(params
!= NULL
);
1437 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ctc
.size
;
1439 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.ctc
.offset
;
1442 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ctc() enter:\n");
1444 ia_css_ctc_encode((struct sh_css_isp_ctc_params
*)
1445 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1446 ¶ms
->ctc_config
,
1448 params
->isp_params_changed
= true;
1449 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1451 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ctc() leave:\n");
1456 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem0
.ctc
.size
;
1458 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem0
.ctc
.offset
;
1461 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ctc() enter:\n");
1463 ia_css_ctc_vamem_encode((struct sh_css_isp_ctc_vamem_params
*)
1464 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM0
].address
[offset
],
1467 params
->isp_params_changed
= true;
1468 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM0
] = true;
1470 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_ctc() leave:\n");
1476 /* Code generated by genparam/gencode.c:gen_process_function() */
1479 ia_css_process_xnr_table(
1481 const struct ia_css_pipeline_stage
*stage
,
1482 struct ia_css_isp_parameters
*params
)
1484 assert(params
!= NULL
);
1487 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.xnr_table
.size
;
1489 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vamem1
.xnr_table
.offset
;
1492 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr_table() enter:\n");
1494 ia_css_xnr_table_vamem_encode((struct sh_css_isp_xnr_vamem_params
*)
1495 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VAMEM1
].address
[offset
],
1498 params
->isp_params_changed
= true;
1499 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VAMEM1
] = true;
1501 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr_table() leave:\n");
1507 /* Code generated by genparam/gencode.c:gen_process_function() */
1512 const struct ia_css_pipeline_stage
*stage
,
1513 struct ia_css_isp_parameters
*params
)
1515 assert(params
!= NULL
);
1518 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.xnr
.size
;
1520 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.xnr
.offset
;
1523 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr() enter:\n");
1525 ia_css_xnr_encode((struct sh_css_isp_xnr_params
*)
1526 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1527 ¶ms
->xnr_config
,
1529 params
->isp_params_changed
= true;
1530 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1532 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr() leave:\n");
1538 /* Code generated by genparam/gencode.c:gen_process_function() */
1541 ia_css_process_xnr3(
1543 const struct ia_css_pipeline_stage
*stage
,
1544 struct ia_css_isp_parameters
*params
)
1546 assert(params
!= NULL
);
1549 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.xnr3
.size
;
1551 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->dmem
.xnr3
.offset
;
1554 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr3() enter:\n");
1556 ia_css_xnr3_encode((struct sh_css_isp_xnr3_params
*)
1557 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_DMEM
].address
[offset
],
1558 ¶ms
->xnr3_config
,
1560 params
->isp_params_changed
= true;
1561 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_DMEM
] = true;
1563 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr3() leave:\n");
1569 unsigned size
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.xnr3
.size
;
1571 unsigned offset
= stage
->binary
->info
->mem_offsets
.offsets
.param
->vmem
.xnr3
.offset
;
1574 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr3() enter:\n");
1576 ia_css_xnr3_vmem_encode((struct sh_css_isp_xnr3_vmem_params
*)
1577 &stage
->binary
->mem_params
.params
[IA_CSS_PARAM_CLASS_PARAM
][IA_CSS_ISP_VMEM
].address
[offset
],
1578 ¶ms
->xnr3_config
,
1580 params
->isp_params_changed
= true;
1581 params
->isp_mem_params_changed
[pipe_id
][stage
->stage_num
][IA_CSS_ISP_VMEM
] = true;
1583 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_process_xnr3() leave:\n");
1590 /* Code generated by genparam/gencode.c:gen_param_process_table() */
1592 void (* ia_css_kernel_process_param
[IA_CSS_NUM_PARAMETER_IDS
])(
1594 const struct ia_css_pipeline_stage
*stage
,
1595 struct ia_css_isp_parameters
*params
) = {
1598 ia_css_process_anr2
,
1601 ia_css_process_crop
,
1607 ia_css_process_formats
,
1611 ia_css_process_yuv2rgb
,
1612 ia_css_process_rgb2yuv
,
1613 ia_css_process_r_gamma
,
1614 ia_css_process_g_gamma
,
1615 ia_css_process_b_gamma
,
1620 ia_css_process_output
,
1624 ia_css_process_macc
,
1625 ia_css_process_sdis_horicoef
,
1626 ia_css_process_sdis_vertcoef
,
1627 ia_css_process_sdis_horiproj
,
1628 ia_css_process_sdis_vertproj
,
1629 ia_css_process_sdis2_horicoef
,
1630 ia_css_process_sdis2_vertcoef
,
1631 ia_css_process_sdis2_horiproj
,
1632 ia_css_process_sdis2_vertproj
,
1639 ia_css_process_xnr_table
,
1641 ia_css_process_xnr3
,
1644 /* Code generated by genparam/gencode.c:gen_get_function() */
1647 ia_css_get_dp_config(const struct ia_css_isp_parameters
*params
,
1648 struct ia_css_dp_config
*config
){
1652 assert(params
!= NULL
);
1653 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_dp_config() enter: "
1654 "config=%p\n",config
);
1656 *config
= params
->dp_config
;
1658 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_dp_config() leave\n");
1659 ia_css_dp_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1662 /* Code generated by genparam/gencode.c:gen_set_function() */
1665 ia_css_set_dp_config(struct ia_css_isp_parameters
*params
,
1666 const struct ia_css_dp_config
*config
)
1671 assert(params
!= NULL
);
1672 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_dp_config() enter:\n");
1673 ia_css_dp_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1674 params
->dp_config
= *config
;
1675 params
->config_changed
[IA_CSS_DP_ID
] = true;
1677 params
->config_changed
[IA_CSS_DP_ID
] = true;
1680 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_dp_config() leave: "
1684 /* Code generated by genparam/gencode.c:gen_get_function() */
1687 ia_css_get_wb_config(const struct ia_css_isp_parameters
*params
,
1688 struct ia_css_wb_config
*config
){
1692 assert(params
!= NULL
);
1693 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_wb_config() enter: "
1694 "config=%p\n",config
);
1696 *config
= params
->wb_config
;
1698 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_wb_config() leave\n");
1699 ia_css_wb_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1702 /* Code generated by genparam/gencode.c:gen_set_function() */
1705 ia_css_set_wb_config(struct ia_css_isp_parameters
*params
,
1706 const struct ia_css_wb_config
*config
)
1711 assert(params
!= NULL
);
1712 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_wb_config() enter:\n");
1713 ia_css_wb_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1714 params
->wb_config
= *config
;
1715 params
->config_changed
[IA_CSS_WB_ID
] = true;
1717 params
->config_changed
[IA_CSS_WB_ID
] = true;
1720 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_wb_config() leave: "
1724 /* Code generated by genparam/gencode.c:gen_get_function() */
1727 ia_css_get_tnr_config(const struct ia_css_isp_parameters
*params
,
1728 struct ia_css_tnr_config
*config
){
1732 assert(params
!= NULL
);
1733 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_tnr_config() enter: "
1734 "config=%p\n",config
);
1736 *config
= params
->tnr_config
;
1738 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_tnr_config() leave\n");
1739 ia_css_tnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1742 /* Code generated by genparam/gencode.c:gen_set_function() */
1745 ia_css_set_tnr_config(struct ia_css_isp_parameters
*params
,
1746 const struct ia_css_tnr_config
*config
)
1751 assert(params
!= NULL
);
1752 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_tnr_config() enter:\n");
1753 ia_css_tnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1754 params
->tnr_config
= *config
;
1755 params
->config_changed
[IA_CSS_TNR_ID
] = true;
1757 params
->config_changed
[IA_CSS_TNR_ID
] = true;
1760 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_tnr_config() leave: "
1764 /* Code generated by genparam/gencode.c:gen_get_function() */
1767 ia_css_get_ob_config(const struct ia_css_isp_parameters
*params
,
1768 struct ia_css_ob_config
*config
){
1772 assert(params
!= NULL
);
1773 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ob_config() enter: "
1774 "config=%p\n",config
);
1776 *config
= params
->ob_config
;
1778 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ob_config() leave\n");
1779 ia_css_ob_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1782 /* Code generated by genparam/gencode.c:gen_set_function() */
1785 ia_css_set_ob_config(struct ia_css_isp_parameters
*params
,
1786 const struct ia_css_ob_config
*config
)
1791 assert(params
!= NULL
);
1792 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_ob_config() enter:\n");
1793 ia_css_ob_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1794 params
->ob_config
= *config
;
1795 params
->config_changed
[IA_CSS_OB_ID
] = true;
1797 params
->config_changed
[IA_CSS_OB_ID
] = true;
1800 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_ob_config() leave: "
1804 /* Code generated by genparam/gencode.c:gen_get_function() */
1807 ia_css_get_de_config(const struct ia_css_isp_parameters
*params
,
1808 struct ia_css_de_config
*config
){
1812 assert(params
!= NULL
);
1813 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_de_config() enter: "
1814 "config=%p\n",config
);
1816 *config
= params
->de_config
;
1818 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_de_config() leave\n");
1819 ia_css_de_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1822 /* Code generated by genparam/gencode.c:gen_set_function() */
1825 ia_css_set_de_config(struct ia_css_isp_parameters
*params
,
1826 const struct ia_css_de_config
*config
)
1831 assert(params
!= NULL
);
1832 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_de_config() enter:\n");
1833 ia_css_de_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1834 params
->de_config
= *config
;
1835 params
->config_changed
[IA_CSS_DE_ID
] = true;
1837 params
->config_changed
[IA_CSS_DE_ID
] = true;
1840 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_de_config() leave: "
1844 /* Code generated by genparam/gencode.c:gen_get_function() */
1847 ia_css_get_anr_config(const struct ia_css_isp_parameters
*params
,
1848 struct ia_css_anr_config
*config
){
1852 assert(params
!= NULL
);
1853 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_anr_config() enter: "
1854 "config=%p\n",config
);
1856 *config
= params
->anr_config
;
1858 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_anr_config() leave\n");
1859 ia_css_anr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1862 /* Code generated by genparam/gencode.c:gen_set_function() */
1865 ia_css_set_anr_config(struct ia_css_isp_parameters
*params
,
1866 const struct ia_css_anr_config
*config
)
1871 assert(params
!= NULL
);
1872 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_anr_config() enter:\n");
1873 ia_css_anr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1874 params
->anr_config
= *config
;
1875 params
->config_changed
[IA_CSS_ANR_ID
] = true;
1877 params
->config_changed
[IA_CSS_ANR_ID
] = true;
1880 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_anr_config() leave: "
1884 /* Code generated by genparam/gencode.c:gen_get_function() */
1887 ia_css_get_anr2_config(const struct ia_css_isp_parameters
*params
,
1888 struct ia_css_anr_thres
*config
){
1892 assert(params
!= NULL
);
1893 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_anr2_config() enter: "
1894 "config=%p\n",config
);
1896 *config
= params
->anr_thres
;
1898 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_anr2_config() leave\n");
1899 ia_css_anr2_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1902 /* Code generated by genparam/gencode.c:gen_set_function() */
1905 ia_css_set_anr2_config(struct ia_css_isp_parameters
*params
,
1906 const struct ia_css_anr_thres
*config
)
1911 assert(params
!= NULL
);
1912 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_anr2_config() enter:\n");
1913 ia_css_anr2_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1914 params
->anr_thres
= *config
;
1915 params
->config_changed
[IA_CSS_ANR2_ID
] = true;
1917 params
->config_changed
[IA_CSS_ANR2_ID
] = true;
1920 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_anr2_config() leave: "
1924 /* Code generated by genparam/gencode.c:gen_get_function() */
1927 ia_css_get_ce_config(const struct ia_css_isp_parameters
*params
,
1928 struct ia_css_ce_config
*config
){
1932 assert(params
!= NULL
);
1933 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ce_config() enter: "
1934 "config=%p\n",config
);
1936 *config
= params
->ce_config
;
1938 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ce_config() leave\n");
1939 ia_css_ce_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1942 /* Code generated by genparam/gencode.c:gen_set_function() */
1945 ia_css_set_ce_config(struct ia_css_isp_parameters
*params
,
1946 const struct ia_css_ce_config
*config
)
1951 assert(params
!= NULL
);
1952 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_ce_config() enter:\n");
1953 ia_css_ce_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1954 params
->ce_config
= *config
;
1955 params
->config_changed
[IA_CSS_CE_ID
] = true;
1957 params
->config_changed
[IA_CSS_CE_ID
] = true;
1960 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_ce_config() leave: "
1964 /* Code generated by genparam/gencode.c:gen_get_function() */
1967 ia_css_get_ecd_config(const struct ia_css_isp_parameters
*params
,
1968 struct ia_css_ecd_config
*config
){
1972 assert(params
!= NULL
);
1973 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ecd_config() enter: "
1974 "config=%p\n",config
);
1976 *config
= params
->ecd_config
;
1978 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ecd_config() leave\n");
1979 ia_css_ecd_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1982 /* Code generated by genparam/gencode.c:gen_set_function() */
1985 ia_css_set_ecd_config(struct ia_css_isp_parameters
*params
,
1986 const struct ia_css_ecd_config
*config
)
1991 assert(params
!= NULL
);
1992 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_ecd_config() enter:\n");
1993 ia_css_ecd_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
1994 params
->ecd_config
= *config
;
1995 params
->config_changed
[IA_CSS_ECD_ID
] = true;
1997 params
->config_changed
[IA_CSS_ECD_ID
] = true;
2000 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_ecd_config() leave: "
2004 /* Code generated by genparam/gencode.c:gen_get_function() */
2007 ia_css_get_ynr_config(const struct ia_css_isp_parameters
*params
,
2008 struct ia_css_ynr_config
*config
){
2012 assert(params
!= NULL
);
2013 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ynr_config() enter: "
2014 "config=%p\n",config
);
2016 *config
= params
->ynr_config
;
2018 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ynr_config() leave\n");
2019 ia_css_ynr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2022 /* Code generated by genparam/gencode.c:gen_set_function() */
2025 ia_css_set_ynr_config(struct ia_css_isp_parameters
*params
,
2026 const struct ia_css_ynr_config
*config
)
2031 assert(params
!= NULL
);
2032 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_ynr_config() enter:\n");
2033 ia_css_ynr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2034 params
->ynr_config
= *config
;
2035 params
->config_changed
[IA_CSS_YNR_ID
] = true;
2037 params
->config_changed
[IA_CSS_YNR_ID
] = true;
2040 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_ynr_config() leave: "
2044 /* Code generated by genparam/gencode.c:gen_get_function() */
2047 ia_css_get_fc_config(const struct ia_css_isp_parameters
*params
,
2048 struct ia_css_fc_config
*config
){
2052 assert(params
!= NULL
);
2053 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_fc_config() enter: "
2054 "config=%p\n",config
);
2056 *config
= params
->fc_config
;
2058 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_fc_config() leave\n");
2059 ia_css_fc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2062 /* Code generated by genparam/gencode.c:gen_set_function() */
2065 ia_css_set_fc_config(struct ia_css_isp_parameters
*params
,
2066 const struct ia_css_fc_config
*config
)
2071 assert(params
!= NULL
);
2072 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_fc_config() enter:\n");
2073 ia_css_fc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2074 params
->fc_config
= *config
;
2075 params
->config_changed
[IA_CSS_FC_ID
] = true;
2077 params
->config_changed
[IA_CSS_FC_ID
] = true;
2080 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_fc_config() leave: "
2084 /* Code generated by genparam/gencode.c:gen_get_function() */
2087 ia_css_get_cnr_config(const struct ia_css_isp_parameters
*params
,
2088 struct ia_css_cnr_config
*config
){
2092 assert(params
!= NULL
);
2093 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_cnr_config() enter: "
2094 "config=%p\n",config
);
2096 *config
= params
->cnr_config
;
2098 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_cnr_config() leave\n");
2099 ia_css_cnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2102 /* Code generated by genparam/gencode.c:gen_set_function() */
2105 ia_css_set_cnr_config(struct ia_css_isp_parameters
*params
,
2106 const struct ia_css_cnr_config
*config
)
2111 assert(params
!= NULL
);
2112 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_cnr_config() enter:\n");
2113 ia_css_cnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2114 params
->cnr_config
= *config
;
2115 params
->config_changed
[IA_CSS_CNR_ID
] = true;
2117 params
->config_changed
[IA_CSS_CNR_ID
] = true;
2120 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_cnr_config() leave: "
2124 /* Code generated by genparam/gencode.c:gen_get_function() */
2127 ia_css_get_macc_config(const struct ia_css_isp_parameters
*params
,
2128 struct ia_css_macc_config
*config
){
2132 assert(params
!= NULL
);
2133 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_macc_config() enter: "
2134 "config=%p\n",config
);
2136 *config
= params
->macc_config
;
2138 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_macc_config() leave\n");
2139 ia_css_macc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2142 /* Code generated by genparam/gencode.c:gen_set_function() */
2145 ia_css_set_macc_config(struct ia_css_isp_parameters
*params
,
2146 const struct ia_css_macc_config
*config
)
2151 assert(params
!= NULL
);
2152 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_macc_config() enter:\n");
2153 ia_css_macc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2154 params
->macc_config
= *config
;
2155 params
->config_changed
[IA_CSS_MACC_ID
] = true;
2157 params
->config_changed
[IA_CSS_MACC_ID
] = true;
2160 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_macc_config() leave: "
2164 /* Code generated by genparam/gencode.c:gen_get_function() */
2167 ia_css_get_ctc_config(const struct ia_css_isp_parameters
*params
,
2168 struct ia_css_ctc_config
*config
){
2172 assert(params
!= NULL
);
2173 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ctc_config() enter: "
2174 "config=%p\n",config
);
2176 *config
= params
->ctc_config
;
2178 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_ctc_config() leave\n");
2179 ia_css_ctc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2182 /* Code generated by genparam/gencode.c:gen_set_function() */
2185 ia_css_set_ctc_config(struct ia_css_isp_parameters
*params
,
2186 const struct ia_css_ctc_config
*config
)
2191 assert(params
!= NULL
);
2192 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_ctc_config() enter:\n");
2193 ia_css_ctc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2194 params
->ctc_config
= *config
;
2195 params
->config_changed
[IA_CSS_CTC_ID
] = true;
2197 params
->config_changed
[IA_CSS_CTC_ID
] = true;
2200 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_ctc_config() leave: "
2204 /* Code generated by genparam/gencode.c:gen_get_function() */
2207 ia_css_get_aa_config(const struct ia_css_isp_parameters
*params
,
2208 struct ia_css_aa_config
*config
){
2212 assert(params
!= NULL
);
2213 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_aa_config() enter: "
2214 "config=%p\n",config
);
2216 *config
= params
->aa_config
;
2218 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_aa_config() leave\n");
2219 ia_css_aa_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2222 /* Code generated by genparam/gencode.c:gen_set_function() */
2225 ia_css_set_aa_config(struct ia_css_isp_parameters
*params
,
2226 const struct ia_css_aa_config
*config
)
2231 assert(params
!= NULL
);
2232 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_aa_config() enter:\n");
2233 ia_css_aa_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2234 params
->aa_config
= *config
;
2235 params
->config_changed
[IA_CSS_AA_ID
] = true;
2237 params
->config_changed
[IA_CSS_AA_ID
] = true;
2240 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_aa_config() leave: "
2244 /* Code generated by genparam/gencode.c:gen_get_function() */
2247 ia_css_get_yuv2rgb_config(const struct ia_css_isp_parameters
*params
,
2248 struct ia_css_cc_config
*config
){
2252 assert(params
!= NULL
);
2253 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_yuv2rgb_config() enter: "
2254 "config=%p\n",config
);
2256 *config
= params
->yuv2rgb_cc_config
;
2258 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_yuv2rgb_config() leave\n");
2259 ia_css_yuv2rgb_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2262 /* Code generated by genparam/gencode.c:gen_set_function() */
2265 ia_css_set_yuv2rgb_config(struct ia_css_isp_parameters
*params
,
2266 const struct ia_css_cc_config
*config
)
2271 assert(params
!= NULL
);
2272 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_yuv2rgb_config() enter:\n");
2273 ia_css_yuv2rgb_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2274 params
->yuv2rgb_cc_config
= *config
;
2275 params
->config_changed
[IA_CSS_YUV2RGB_ID
] = true;
2277 params
->config_changed
[IA_CSS_YUV2RGB_ID
] = true;
2280 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_yuv2rgb_config() leave: "
2284 /* Code generated by genparam/gencode.c:gen_get_function() */
2287 ia_css_get_rgb2yuv_config(const struct ia_css_isp_parameters
*params
,
2288 struct ia_css_cc_config
*config
){
2292 assert(params
!= NULL
);
2293 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_rgb2yuv_config() enter: "
2294 "config=%p\n",config
);
2296 *config
= params
->rgb2yuv_cc_config
;
2298 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_rgb2yuv_config() leave\n");
2299 ia_css_rgb2yuv_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2302 /* Code generated by genparam/gencode.c:gen_set_function() */
2305 ia_css_set_rgb2yuv_config(struct ia_css_isp_parameters
*params
,
2306 const struct ia_css_cc_config
*config
)
2311 assert(params
!= NULL
);
2312 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_rgb2yuv_config() enter:\n");
2313 ia_css_rgb2yuv_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2314 params
->rgb2yuv_cc_config
= *config
;
2315 params
->config_changed
[IA_CSS_RGB2YUV_ID
] = true;
2317 params
->config_changed
[IA_CSS_RGB2YUV_ID
] = true;
2320 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_rgb2yuv_config() leave: "
2324 /* Code generated by genparam/gencode.c:gen_get_function() */
2327 ia_css_get_csc_config(const struct ia_css_isp_parameters
*params
,
2328 struct ia_css_cc_config
*config
){
2332 assert(params
!= NULL
);
2333 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_csc_config() enter: "
2334 "config=%p\n",config
);
2336 *config
= params
->cc_config
;
2338 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_csc_config() leave\n");
2339 ia_css_csc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2342 /* Code generated by genparam/gencode.c:gen_set_function() */
2345 ia_css_set_csc_config(struct ia_css_isp_parameters
*params
,
2346 const struct ia_css_cc_config
*config
)
2351 assert(params
!= NULL
);
2352 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_csc_config() enter:\n");
2353 ia_css_csc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2354 params
->cc_config
= *config
;
2355 params
->config_changed
[IA_CSS_CSC_ID
] = true;
2357 params
->config_changed
[IA_CSS_CSC_ID
] = true;
2360 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_csc_config() leave: "
2364 /* Code generated by genparam/gencode.c:gen_get_function() */
2367 ia_css_get_nr_config(const struct ia_css_isp_parameters
*params
,
2368 struct ia_css_nr_config
*config
){
2372 assert(params
!= NULL
);
2373 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_nr_config() enter: "
2374 "config=%p\n",config
);
2376 *config
= params
->nr_config
;
2378 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_nr_config() leave\n");
2379 ia_css_nr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2382 /* Code generated by genparam/gencode.c:gen_set_function() */
2385 ia_css_set_nr_config(struct ia_css_isp_parameters
*params
,
2386 const struct ia_css_nr_config
*config
)
2391 assert(params
!= NULL
);
2392 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_nr_config() enter:\n");
2393 ia_css_nr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2394 params
->nr_config
= *config
;
2395 params
->config_changed
[IA_CSS_BNR_ID
] = true;
2396 params
->config_changed
[IA_CSS_NR_ID
] = true;
2398 params
->config_changed
[IA_CSS_NR_ID
] = true;
2401 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_nr_config() leave: "
2405 /* Code generated by genparam/gencode.c:gen_get_function() */
2408 ia_css_get_gc_config(const struct ia_css_isp_parameters
*params
,
2409 struct ia_css_gc_config
*config
){
2413 assert(params
!= NULL
);
2414 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_gc_config() enter: "
2415 "config=%p\n",config
);
2417 *config
= params
->gc_config
;
2419 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_gc_config() leave\n");
2420 ia_css_gc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2423 /* Code generated by genparam/gencode.c:gen_set_function() */
2426 ia_css_set_gc_config(struct ia_css_isp_parameters
*params
,
2427 const struct ia_css_gc_config
*config
)
2432 assert(params
!= NULL
);
2433 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_gc_config() enter:\n");
2434 ia_css_gc_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2435 params
->gc_config
= *config
;
2436 params
->config_changed
[IA_CSS_GC_ID
] = true;
2438 params
->config_changed
[IA_CSS_GC_ID
] = true;
2441 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_gc_config() leave: "
2445 /* Code generated by genparam/gencode.c:gen_get_function() */
2448 ia_css_get_sdis_horicoef_config(const struct ia_css_isp_parameters
*params
,
2449 struct ia_css_dvs_coefficients
*config
){
2453 assert(params
!= NULL
);
2454 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_horicoef_config() enter: "
2455 "config=%p\n",config
);
2457 *config
= params
->dvs_coefs
;
2459 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_horicoef_config() leave\n");
2460 ia_css_sdis_horicoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2463 /* Code generated by genparam/gencode.c:gen_set_function() */
2466 ia_css_set_sdis_horicoef_config(struct ia_css_isp_parameters
*params
,
2467 const struct ia_css_dvs_coefficients
*config
)
2472 assert(params
!= NULL
);
2473 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis_horicoef_config() enter:\n");
2474 ia_css_sdis_horicoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2475 params
->dvs_coefs
= *config
;
2476 params
->config_changed
[IA_CSS_SDIS_HORICOEF_ID
] = true;
2477 params
->config_changed
[IA_CSS_SDIS_VERTCOEF_ID
] = true;
2478 params
->config_changed
[IA_CSS_SDIS_HORIPROJ_ID
] = true;
2479 params
->config_changed
[IA_CSS_SDIS_VERTPROJ_ID
] = true;
2481 params
->config_changed
[IA_CSS_SDIS_HORICOEF_ID
] = true;
2484 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis_horicoef_config() leave: "
2488 /* Code generated by genparam/gencode.c:gen_get_function() */
2491 ia_css_get_sdis_vertcoef_config(const struct ia_css_isp_parameters
*params
,
2492 struct ia_css_dvs_coefficients
*config
){
2496 assert(params
!= NULL
);
2497 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_vertcoef_config() enter: "
2498 "config=%p\n",config
);
2500 *config
= params
->dvs_coefs
;
2502 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_vertcoef_config() leave\n");
2503 ia_css_sdis_vertcoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2506 /* Code generated by genparam/gencode.c:gen_set_function() */
2509 ia_css_set_sdis_vertcoef_config(struct ia_css_isp_parameters
*params
,
2510 const struct ia_css_dvs_coefficients
*config
)
2515 assert(params
!= NULL
);
2516 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis_vertcoef_config() enter:\n");
2517 ia_css_sdis_vertcoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2518 params
->dvs_coefs
= *config
;
2519 params
->config_changed
[IA_CSS_SDIS_HORICOEF_ID
] = true;
2520 params
->config_changed
[IA_CSS_SDIS_VERTCOEF_ID
] = true;
2521 params
->config_changed
[IA_CSS_SDIS_HORIPROJ_ID
] = true;
2522 params
->config_changed
[IA_CSS_SDIS_VERTPROJ_ID
] = true;
2524 params
->config_changed
[IA_CSS_SDIS_VERTCOEF_ID
] = true;
2527 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis_vertcoef_config() leave: "
2531 /* Code generated by genparam/gencode.c:gen_get_function() */
2534 ia_css_get_sdis_horiproj_config(const struct ia_css_isp_parameters
*params
,
2535 struct ia_css_dvs_coefficients
*config
){
2539 assert(params
!= NULL
);
2540 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_horiproj_config() enter: "
2541 "config=%p\n",config
);
2543 *config
= params
->dvs_coefs
;
2545 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_horiproj_config() leave\n");
2546 ia_css_sdis_horiproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2549 /* Code generated by genparam/gencode.c:gen_set_function() */
2552 ia_css_set_sdis_horiproj_config(struct ia_css_isp_parameters
*params
,
2553 const struct ia_css_dvs_coefficients
*config
)
2558 assert(params
!= NULL
);
2559 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis_horiproj_config() enter:\n");
2560 ia_css_sdis_horiproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2561 params
->dvs_coefs
= *config
;
2562 params
->config_changed
[IA_CSS_SDIS_HORICOEF_ID
] = true;
2563 params
->config_changed
[IA_CSS_SDIS_VERTCOEF_ID
] = true;
2564 params
->config_changed
[IA_CSS_SDIS_HORIPROJ_ID
] = true;
2565 params
->config_changed
[IA_CSS_SDIS_VERTPROJ_ID
] = true;
2567 params
->config_changed
[IA_CSS_SDIS_HORIPROJ_ID
] = true;
2570 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis_horiproj_config() leave: "
2574 /* Code generated by genparam/gencode.c:gen_get_function() */
2577 ia_css_get_sdis_vertproj_config(const struct ia_css_isp_parameters
*params
,
2578 struct ia_css_dvs_coefficients
*config
){
2582 assert(params
!= NULL
);
2583 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_vertproj_config() enter: "
2584 "config=%p\n",config
);
2586 *config
= params
->dvs_coefs
;
2588 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis_vertproj_config() leave\n");
2589 ia_css_sdis_vertproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2592 /* Code generated by genparam/gencode.c:gen_set_function() */
2595 ia_css_set_sdis_vertproj_config(struct ia_css_isp_parameters
*params
,
2596 const struct ia_css_dvs_coefficients
*config
)
2601 assert(params
!= NULL
);
2602 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis_vertproj_config() enter:\n");
2603 ia_css_sdis_vertproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2604 params
->dvs_coefs
= *config
;
2605 params
->config_changed
[IA_CSS_SDIS_HORICOEF_ID
] = true;
2606 params
->config_changed
[IA_CSS_SDIS_VERTCOEF_ID
] = true;
2607 params
->config_changed
[IA_CSS_SDIS_HORIPROJ_ID
] = true;
2608 params
->config_changed
[IA_CSS_SDIS_VERTPROJ_ID
] = true;
2610 params
->config_changed
[IA_CSS_SDIS_VERTPROJ_ID
] = true;
2613 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis_vertproj_config() leave: "
2617 /* Code generated by genparam/gencode.c:gen_get_function() */
2620 ia_css_get_sdis2_horicoef_config(const struct ia_css_isp_parameters
*params
,
2621 struct ia_css_dvs2_coefficients
*config
){
2625 assert(params
!= NULL
);
2626 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_horicoef_config() enter: "
2627 "config=%p\n",config
);
2629 *config
= params
->dvs2_coefs
;
2631 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_horicoef_config() leave\n");
2632 ia_css_sdis2_horicoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2635 /* Code generated by genparam/gencode.c:gen_set_function() */
2638 ia_css_set_sdis2_horicoef_config(struct ia_css_isp_parameters
*params
,
2639 const struct ia_css_dvs2_coefficients
*config
)
2644 assert(params
!= NULL
);
2645 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis2_horicoef_config() enter:\n");
2646 ia_css_sdis2_horicoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2647 params
->dvs2_coefs
= *config
;
2648 params
->config_changed
[IA_CSS_SDIS2_HORICOEF_ID
] = true;
2649 params
->config_changed
[IA_CSS_SDIS2_VERTCOEF_ID
] = true;
2650 params
->config_changed
[IA_CSS_SDIS2_HORIPROJ_ID
] = true;
2651 params
->config_changed
[IA_CSS_SDIS2_VERTPROJ_ID
] = true;
2653 params
->config_changed
[IA_CSS_SDIS2_HORICOEF_ID
] = true;
2656 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis2_horicoef_config() leave: "
2660 /* Code generated by genparam/gencode.c:gen_get_function() */
2663 ia_css_get_sdis2_vertcoef_config(const struct ia_css_isp_parameters
*params
,
2664 struct ia_css_dvs2_coefficients
*config
){
2668 assert(params
!= NULL
);
2669 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_vertcoef_config() enter: "
2670 "config=%p\n",config
);
2672 *config
= params
->dvs2_coefs
;
2674 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_vertcoef_config() leave\n");
2675 ia_css_sdis2_vertcoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2678 /* Code generated by genparam/gencode.c:gen_set_function() */
2681 ia_css_set_sdis2_vertcoef_config(struct ia_css_isp_parameters
*params
,
2682 const struct ia_css_dvs2_coefficients
*config
)
2687 assert(params
!= NULL
);
2688 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis2_vertcoef_config() enter:\n");
2689 ia_css_sdis2_vertcoef_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2690 params
->dvs2_coefs
= *config
;
2691 params
->config_changed
[IA_CSS_SDIS2_HORICOEF_ID
] = true;
2692 params
->config_changed
[IA_CSS_SDIS2_VERTCOEF_ID
] = true;
2693 params
->config_changed
[IA_CSS_SDIS2_HORIPROJ_ID
] = true;
2694 params
->config_changed
[IA_CSS_SDIS2_VERTPROJ_ID
] = true;
2696 params
->config_changed
[IA_CSS_SDIS2_VERTCOEF_ID
] = true;
2699 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis2_vertcoef_config() leave: "
2703 /* Code generated by genparam/gencode.c:gen_get_function() */
2706 ia_css_get_sdis2_horiproj_config(const struct ia_css_isp_parameters
*params
,
2707 struct ia_css_dvs2_coefficients
*config
){
2711 assert(params
!= NULL
);
2712 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_horiproj_config() enter: "
2713 "config=%p\n",config
);
2715 *config
= params
->dvs2_coefs
;
2717 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_horiproj_config() leave\n");
2718 ia_css_sdis2_horiproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2721 /* Code generated by genparam/gencode.c:gen_set_function() */
2724 ia_css_set_sdis2_horiproj_config(struct ia_css_isp_parameters
*params
,
2725 const struct ia_css_dvs2_coefficients
*config
)
2730 assert(params
!= NULL
);
2731 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis2_horiproj_config() enter:\n");
2732 ia_css_sdis2_horiproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2733 params
->dvs2_coefs
= *config
;
2734 params
->config_changed
[IA_CSS_SDIS2_HORICOEF_ID
] = true;
2735 params
->config_changed
[IA_CSS_SDIS2_VERTCOEF_ID
] = true;
2736 params
->config_changed
[IA_CSS_SDIS2_HORIPROJ_ID
] = true;
2737 params
->config_changed
[IA_CSS_SDIS2_VERTPROJ_ID
] = true;
2739 params
->config_changed
[IA_CSS_SDIS2_HORIPROJ_ID
] = true;
2742 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis2_horiproj_config() leave: "
2746 /* Code generated by genparam/gencode.c:gen_get_function() */
2749 ia_css_get_sdis2_vertproj_config(const struct ia_css_isp_parameters
*params
,
2750 struct ia_css_dvs2_coefficients
*config
){
2754 assert(params
!= NULL
);
2755 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_vertproj_config() enter: "
2756 "config=%p\n",config
);
2758 *config
= params
->dvs2_coefs
;
2760 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_sdis2_vertproj_config() leave\n");
2761 ia_css_sdis2_vertproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2764 /* Code generated by genparam/gencode.c:gen_set_function() */
2767 ia_css_set_sdis2_vertproj_config(struct ia_css_isp_parameters
*params
,
2768 const struct ia_css_dvs2_coefficients
*config
)
2773 assert(params
!= NULL
);
2774 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_sdis2_vertproj_config() enter:\n");
2775 ia_css_sdis2_vertproj_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2776 params
->dvs2_coefs
= *config
;
2777 params
->config_changed
[IA_CSS_SDIS2_HORICOEF_ID
] = true;
2778 params
->config_changed
[IA_CSS_SDIS2_VERTCOEF_ID
] = true;
2779 params
->config_changed
[IA_CSS_SDIS2_HORIPROJ_ID
] = true;
2780 params
->config_changed
[IA_CSS_SDIS2_VERTPROJ_ID
] = true;
2782 params
->config_changed
[IA_CSS_SDIS2_VERTPROJ_ID
] = true;
2785 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_sdis2_vertproj_config() leave: "
2789 /* Code generated by genparam/gencode.c:gen_get_function() */
2792 ia_css_get_r_gamma_config(const struct ia_css_isp_parameters
*params
,
2793 struct ia_css_rgb_gamma_table
*config
){
2797 assert(params
!= NULL
);
2798 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_r_gamma_config() enter: "
2799 "config=%p\n",config
);
2801 *config
= params
->r_gamma_table
;
2803 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_r_gamma_config() leave\n");
2804 ia_css_r_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2807 /* Code generated by genparam/gencode.c:gen_set_function() */
2810 ia_css_set_r_gamma_config(struct ia_css_isp_parameters
*params
,
2811 const struct ia_css_rgb_gamma_table
*config
)
2816 assert(params
!= NULL
);
2817 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_r_gamma_config() enter:\n");
2818 ia_css_r_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2819 params
->r_gamma_table
= *config
;
2820 params
->config_changed
[IA_CSS_R_GAMMA_ID
] = true;
2822 params
->config_changed
[IA_CSS_R_GAMMA_ID
] = true;
2825 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_r_gamma_config() leave: "
2829 /* Code generated by genparam/gencode.c:gen_get_function() */
2832 ia_css_get_g_gamma_config(const struct ia_css_isp_parameters
*params
,
2833 struct ia_css_rgb_gamma_table
*config
){
2837 assert(params
!= NULL
);
2838 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_g_gamma_config() enter: "
2839 "config=%p\n",config
);
2841 *config
= params
->g_gamma_table
;
2843 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_g_gamma_config() leave\n");
2844 ia_css_g_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2847 /* Code generated by genparam/gencode.c:gen_set_function() */
2850 ia_css_set_g_gamma_config(struct ia_css_isp_parameters
*params
,
2851 const struct ia_css_rgb_gamma_table
*config
)
2856 assert(params
!= NULL
);
2857 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_g_gamma_config() enter:\n");
2858 ia_css_g_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2859 params
->g_gamma_table
= *config
;
2860 params
->config_changed
[IA_CSS_G_GAMMA_ID
] = true;
2862 params
->config_changed
[IA_CSS_G_GAMMA_ID
] = true;
2865 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_g_gamma_config() leave: "
2869 /* Code generated by genparam/gencode.c:gen_get_function() */
2872 ia_css_get_b_gamma_config(const struct ia_css_isp_parameters
*params
,
2873 struct ia_css_rgb_gamma_table
*config
){
2877 assert(params
!= NULL
);
2878 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_b_gamma_config() enter: "
2879 "config=%p\n",config
);
2881 *config
= params
->b_gamma_table
;
2883 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_b_gamma_config() leave\n");
2884 ia_css_b_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2887 /* Code generated by genparam/gencode.c:gen_set_function() */
2890 ia_css_set_b_gamma_config(struct ia_css_isp_parameters
*params
,
2891 const struct ia_css_rgb_gamma_table
*config
)
2896 assert(params
!= NULL
);
2897 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_b_gamma_config() enter:\n");
2898 ia_css_b_gamma_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2899 params
->b_gamma_table
= *config
;
2900 params
->config_changed
[IA_CSS_B_GAMMA_ID
] = true;
2902 params
->config_changed
[IA_CSS_B_GAMMA_ID
] = true;
2905 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_b_gamma_config() leave: "
2909 /* Code generated by genparam/gencode.c:gen_get_function() */
2912 ia_css_get_xnr_table_config(const struct ia_css_isp_parameters
*params
,
2913 struct ia_css_xnr_table
*config
){
2917 assert(params
!= NULL
);
2918 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr_table_config() enter: "
2919 "config=%p\n",config
);
2921 *config
= params
->xnr_table
;
2923 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr_table_config() leave\n");
2924 ia_css_xnr_table_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2927 /* Code generated by genparam/gencode.c:gen_set_function() */
2930 ia_css_set_xnr_table_config(struct ia_css_isp_parameters
*params
,
2931 const struct ia_css_xnr_table
*config
)
2936 assert(params
!= NULL
);
2937 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_xnr_table_config() enter:\n");
2938 ia_css_xnr_table_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2939 params
->xnr_table
= *config
;
2940 params
->config_changed
[IA_CSS_XNR_TABLE_ID
] = true;
2942 params
->config_changed
[IA_CSS_XNR_TABLE_ID
] = true;
2945 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_xnr_table_config() leave: "
2949 /* Code generated by genparam/gencode.c:gen_get_function() */
2952 ia_css_get_formats_config(const struct ia_css_isp_parameters
*params
,
2953 struct ia_css_formats_config
*config
){
2957 assert(params
!= NULL
);
2958 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_formats_config() enter: "
2959 "config=%p\n",config
);
2961 *config
= params
->formats_config
;
2963 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_formats_config() leave\n");
2964 ia_css_formats_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2967 /* Code generated by genparam/gencode.c:gen_set_function() */
2970 ia_css_set_formats_config(struct ia_css_isp_parameters
*params
,
2971 const struct ia_css_formats_config
*config
)
2976 assert(params
!= NULL
);
2977 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_formats_config() enter:\n");
2978 ia_css_formats_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
2979 params
->formats_config
= *config
;
2980 params
->config_changed
[IA_CSS_FORMATS_ID
] = true;
2982 params
->config_changed
[IA_CSS_FORMATS_ID
] = true;
2985 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_formats_config() leave: "
2989 /* Code generated by genparam/gencode.c:gen_get_function() */
2992 ia_css_get_xnr_config(const struct ia_css_isp_parameters
*params
,
2993 struct ia_css_xnr_config
*config
){
2997 assert(params
!= NULL
);
2998 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr_config() enter: "
2999 "config=%p\n",config
);
3001 *config
= params
->xnr_config
;
3003 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr_config() leave\n");
3004 ia_css_xnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3007 /* Code generated by genparam/gencode.c:gen_set_function() */
3010 ia_css_set_xnr_config(struct ia_css_isp_parameters
*params
,
3011 const struct ia_css_xnr_config
*config
)
3016 assert(params
!= NULL
);
3017 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_xnr_config() enter:\n");
3018 ia_css_xnr_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3019 params
->xnr_config
= *config
;
3020 params
->config_changed
[IA_CSS_XNR_ID
] = true;
3022 params
->config_changed
[IA_CSS_XNR_ID
] = true;
3025 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_xnr_config() leave: "
3029 /* Code generated by genparam/gencode.c:gen_get_function() */
3032 ia_css_get_xnr3_config(const struct ia_css_isp_parameters
*params
,
3033 struct ia_css_xnr3_config
*config
){
3037 assert(params
!= NULL
);
3038 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr3_config() enter: "
3039 "config=%p\n",config
);
3041 *config
= params
->xnr3_config
;
3043 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_xnr3_config() leave\n");
3044 ia_css_xnr3_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3047 /* Code generated by genparam/gencode.c:gen_set_function() */
3050 ia_css_set_xnr3_config(struct ia_css_isp_parameters
*params
,
3051 const struct ia_css_xnr3_config
*config
)
3056 assert(params
!= NULL
);
3057 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_xnr3_config() enter:\n");
3058 ia_css_xnr3_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3059 params
->xnr3_config
= *config
;
3060 params
->config_changed
[IA_CSS_XNR3_ID
] = true;
3062 params
->config_changed
[IA_CSS_XNR3_ID
] = true;
3065 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_xnr3_config() leave: "
3069 /* Code generated by genparam/gencode.c:gen_get_function() */
3072 ia_css_get_s3a_config(const struct ia_css_isp_parameters
*params
,
3073 struct ia_css_3a_config
*config
){
3077 assert(params
!= NULL
);
3078 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_s3a_config() enter: "
3079 "config=%p\n",config
);
3081 *config
= params
->s3a_config
;
3083 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_s3a_config() leave\n");
3084 ia_css_s3a_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3087 /* Code generated by genparam/gencode.c:gen_set_function() */
3090 ia_css_set_s3a_config(struct ia_css_isp_parameters
*params
,
3091 const struct ia_css_3a_config
*config
)
3096 assert(params
!= NULL
);
3097 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_s3a_config() enter:\n");
3098 ia_css_s3a_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3099 params
->s3a_config
= *config
;
3100 params
->config_changed
[IA_CSS_BH_ID
] = true;
3101 params
->config_changed
[IA_CSS_S3A_ID
] = true;
3103 params
->config_changed
[IA_CSS_S3A_ID
] = true;
3106 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_s3a_config() leave: "
3110 /* Code generated by genparam/gencode.c:gen_get_function() */
3113 ia_css_get_output_config(const struct ia_css_isp_parameters
*params
,
3114 struct ia_css_output_config
*config
){
3118 assert(params
!= NULL
);
3119 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_output_config() enter: "
3120 "config=%p\n",config
);
3122 *config
= params
->output_config
;
3124 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_get_output_config() leave\n");
3125 ia_css_output_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3128 /* Code generated by genparam/gencode.c:gen_set_function() */
3131 ia_css_set_output_config(struct ia_css_isp_parameters
*params
,
3132 const struct ia_css_output_config
*config
)
3137 assert(params
!= NULL
);
3138 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE
, "ia_css_set_output_config() enter:\n");
3139 ia_css_output_debug_dtrace(config
, IA_CSS_DEBUG_TRACE
);
3140 params
->output_config
= *config
;
3141 params
->config_changed
[IA_CSS_OUTPUT_ID
] = true;
3143 params
->config_changed
[IA_CSS_OUTPUT_ID
] = true;
3146 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE
, "ia_css_set_output_config() leave: "
3150 /* Code generated by genparam/gencode.c:gen_global_access_function() */
3153 ia_css_get_configs(struct ia_css_isp_parameters
*params
,
3154 const struct ia_css_isp_config
*config
)
3156 ia_css_get_dp_config(params
, config
->dp_config
);
3157 ia_css_get_wb_config(params
, config
->wb_config
);
3158 ia_css_get_tnr_config(params
, config
->tnr_config
);
3159 ia_css_get_ob_config(params
, config
->ob_config
);
3160 ia_css_get_de_config(params
, config
->de_config
);
3161 ia_css_get_anr_config(params
, config
->anr_config
);
3162 ia_css_get_anr2_config(params
, config
->anr_thres
);
3163 ia_css_get_ce_config(params
, config
->ce_config
);
3164 ia_css_get_ecd_config(params
, config
->ecd_config
);
3165 ia_css_get_ynr_config(params
, config
->ynr_config
);
3166 ia_css_get_fc_config(params
, config
->fc_config
);
3167 ia_css_get_cnr_config(params
, config
->cnr_config
);
3168 ia_css_get_macc_config(params
, config
->macc_config
);
3169 ia_css_get_ctc_config(params
, config
->ctc_config
);
3170 ia_css_get_aa_config(params
, config
->aa_config
);
3171 ia_css_get_yuv2rgb_config(params
, config
->yuv2rgb_cc_config
);
3172 ia_css_get_rgb2yuv_config(params
, config
->rgb2yuv_cc_config
);
3173 ia_css_get_csc_config(params
, config
->cc_config
);
3174 ia_css_get_nr_config(params
, config
->nr_config
);
3175 ia_css_get_gc_config(params
, config
->gc_config
);
3176 ia_css_get_sdis_horicoef_config(params
, config
->dvs_coefs
);
3177 ia_css_get_sdis_vertcoef_config(params
, config
->dvs_coefs
);
3178 ia_css_get_sdis_horiproj_config(params
, config
->dvs_coefs
);
3179 ia_css_get_sdis_vertproj_config(params
, config
->dvs_coefs
);
3180 ia_css_get_sdis2_horicoef_config(params
, config
->dvs2_coefs
);
3181 ia_css_get_sdis2_vertcoef_config(params
, config
->dvs2_coefs
);
3182 ia_css_get_sdis2_horiproj_config(params
, config
->dvs2_coefs
);
3183 ia_css_get_sdis2_vertproj_config(params
, config
->dvs2_coefs
);
3184 ia_css_get_r_gamma_config(params
, config
->r_gamma_table
);
3185 ia_css_get_g_gamma_config(params
, config
->g_gamma_table
);
3186 ia_css_get_b_gamma_config(params
, config
->b_gamma_table
);
3187 ia_css_get_xnr_table_config(params
, config
->xnr_table
);
3188 ia_css_get_formats_config(params
, config
->formats_config
);
3189 ia_css_get_xnr_config(params
, config
->xnr_config
);
3190 ia_css_get_xnr3_config(params
, config
->xnr3_config
);
3191 ia_css_get_s3a_config(params
, config
->s3a_config
);
3192 ia_css_get_output_config(params
, config
->output_config
);
3195 /* Code generated by genparam/gencode.c:gen_global_access_function() */
3198 ia_css_set_configs(struct ia_css_isp_parameters
*params
,
3199 const struct ia_css_isp_config
*config
)
3201 ia_css_set_dp_config(params
, config
->dp_config
);
3202 ia_css_set_wb_config(params
, config
->wb_config
);
3203 ia_css_set_tnr_config(params
, config
->tnr_config
);
3204 ia_css_set_ob_config(params
, config
->ob_config
);
3205 ia_css_set_de_config(params
, config
->de_config
);
3206 ia_css_set_anr_config(params
, config
->anr_config
);
3207 ia_css_set_anr2_config(params
, config
->anr_thres
);
3208 ia_css_set_ce_config(params
, config
->ce_config
);
3209 ia_css_set_ecd_config(params
, config
->ecd_config
);
3210 ia_css_set_ynr_config(params
, config
->ynr_config
);
3211 ia_css_set_fc_config(params
, config
->fc_config
);
3212 ia_css_set_cnr_config(params
, config
->cnr_config
);
3213 ia_css_set_macc_config(params
, config
->macc_config
);
3214 ia_css_set_ctc_config(params
, config
->ctc_config
);
3215 ia_css_set_aa_config(params
, config
->aa_config
);
3216 ia_css_set_yuv2rgb_config(params
, config
->yuv2rgb_cc_config
);
3217 ia_css_set_rgb2yuv_config(params
, config
->rgb2yuv_cc_config
);
3218 ia_css_set_csc_config(params
, config
->cc_config
);
3219 ia_css_set_nr_config(params
, config
->nr_config
);
3220 ia_css_set_gc_config(params
, config
->gc_config
);
3221 ia_css_set_sdis_horicoef_config(params
, config
->dvs_coefs
);
3222 ia_css_set_sdis_vertcoef_config(params
, config
->dvs_coefs
);
3223 ia_css_set_sdis_horiproj_config(params
, config
->dvs_coefs
);
3224 ia_css_set_sdis_vertproj_config(params
, config
->dvs_coefs
);
3225 ia_css_set_sdis2_horicoef_config(params
, config
->dvs2_coefs
);
3226 ia_css_set_sdis2_vertcoef_config(params
, config
->dvs2_coefs
);
3227 ia_css_set_sdis2_horiproj_config(params
, config
->dvs2_coefs
);
3228 ia_css_set_sdis2_vertproj_config(params
, config
->dvs2_coefs
);
3229 ia_css_set_r_gamma_config(params
, config
->r_gamma_table
);
3230 ia_css_set_g_gamma_config(params
, config
->g_gamma_table
);
3231 ia_css_set_b_gamma_config(params
, config
->b_gamma_table
);
3232 ia_css_set_xnr_table_config(params
, config
->xnr_table
);
3233 ia_css_set_formats_config(params
, config
->formats_config
);
3234 ia_css_set_xnr_config(params
, config
->xnr_config
);
3235 ia_css_set_xnr3_config(params
, config
->xnr3_config
);
3236 ia_css_set_s3a_config(params
, config
->s3a_config
);
3237 ia_css_set_output_config(params
, config
->output_config
);