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_CSC_HOST_H
8 #define __IA_CSS_CSC_HOST_H
9 
10 #include "ia_css_csc_types.h"
11 #include "ia_css_csc_param.h"
12 
13 extern const struct ia_css_cc_config default_cc_config;
14 
15 void
16 ia_css_encode_cc(
17     struct sh_css_isp_csc_params *to,
18     const struct ia_css_cc_config *from,
19     unsigned int size);
20 
21 void
22 ia_css_csc_encode(
23     struct sh_css_isp_csc_params *to,
24     const struct ia_css_cc_config *from,
25     unsigned int size);
26 
27 #ifndef IA_CSS_NO_DEBUG
28 void
29 ia_css_cc_dump(
30     const struct sh_css_isp_csc_params *csc, unsigned int level,
31     const char *name);
32 
33 void
34 ia_css_csc_dump(
35     const struct sh_css_isp_csc_params *csc,
36     unsigned int level);
37 
38 void
39 ia_css_cc_config_debug_dtrace(
40     const struct ia_css_cc_config *config,
41     unsigned int level);
42 
43 #define ia_css_csc_debug_dtrace ia_css_cc_config_debug_dtrace
44 #endif
45 
46 #endif /* __IA_CSS_CSC_HOST_H */
47