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_YNR_HOST_H
8 #define __IA_CSS_YNR_HOST_H
9 
10 #include "ia_css_ynr_types.h"
11 #include "ia_css_ynr_param.h"
12 
13 extern const struct ia_css_nr_config default_nr_config;
14 extern const struct ia_css_ee_config default_ee_config;
15 
16 void
17 ia_css_nr_encode(
18     struct sh_css_isp_ynr_params *to,
19     const struct ia_css_nr_config *from,
20     unsigned int size);
21 
22 void
23 ia_css_yee_encode(
24     struct sh_css_isp_yee_params *to,
25     const struct ia_css_yee_config *from,
26     unsigned int size);
27 
28 void
29 ia_css_nr_dump(
30     const struct sh_css_isp_ynr_params *ynr,
31     unsigned int level);
32 
33 void
34 ia_css_yee_dump(
35     const struct sh_css_isp_yee_params *yee,
36     unsigned int level);
37 
38 void
39 ia_css_nr_debug_dtrace(
40     const struct ia_css_nr_config *config,
41     unsigned int level);
42 
43 void
44 ia_css_ee_debug_dtrace(
45     const struct ia_css_ee_config *config,
46     unsigned int level);
47 
48 void
49 ia_css_init_ynr_state(
50     void/*struct sh_css_isp_ynr_vmem_state*/ * state,
51     size_t size);
52 #endif /* __IA_CSS_YNR_HOST_H */
53