1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_GC_HOST_H
8 #define __IA_CSS_GC_HOST_H
9 
10 #include "ia_css_gc_param.h"
11 #include "ia_css_gc_table.host.h"
12 
13 extern const struct ia_css_gc_config default_gc_config;
14 extern const struct ia_css_ce_config default_ce_config;
15 
16 void
17 ia_css_gc_encode(
18     struct sh_css_isp_gc_params *to,
19     const struct ia_css_gc_config *from,
20     unsigned int size);
21 
22 void
23 ia_css_gc_vamem_encode(
24     struct sh_css_isp_gc_vamem_params *to,
25     const struct ia_css_gamma_table *from,
26     unsigned int size);
27 
28 void
29 ia_css_ce_encode(
30     struct sh_css_isp_ce_params *to,
31     const struct ia_css_ce_config *from,
32     unsigned int size);
33 
34 #ifndef IA_CSS_NO_DEBUG
35 void
36 ia_css_gc_dump(
37     const struct sh_css_isp_gc_params *gc,
38     unsigned int level);
39 
40 void
41 ia_css_ce_dump(
42     const struct sh_css_isp_ce_params *ce,
43     unsigned int level);
44 
45 void
46 ia_css_gc_debug_dtrace(
47     const struct ia_css_gc_config *config,
48     unsigned int level);
49 
50 void
51 ia_css_ce_debug_dtrace(
52     const struct ia_css_ce_config *config,
53     unsigned int level);
54 
55 #endif
56 
57 #endif /* __IA_CSS_GC_HOST_H */
58