1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14 
15 #ifndef __IA_CSS_TNR_HOST_H
16 #define __IA_CSS_TNR_HOST_H
17 
18 #include "ia_css_binary.h"
19 #include "ia_css_tnr_state.h"
20 #include "ia_css_tnr_types.h"
21 #include "ia_css_tnr_param.h"
22 
23 extern const struct ia_css_tnr_config default_tnr_config;
24 
25 void
26 ia_css_tnr_encode(
27     struct sh_css_isp_tnr_params *to,
28     const struct ia_css_tnr_config *from,
29     unsigned int size);
30 
31 void
32 ia_css_tnr_dump(
33     const struct sh_css_isp_tnr_params *tnr,
34     unsigned int level);
35 
36 void
37 ia_css_tnr_debug_dtrace(
38     const struct ia_css_tnr_config *config,
39     unsigned int level);
40 
41 void
42 ia_css_tnr_config(
43     struct sh_css_isp_tnr_isp_config      *to,
44     const struct ia_css_tnr_configuration *from,
45     unsigned int size);
46 
47 void
48 ia_css_tnr_configure(
49     const struct ia_css_binary     *binary,
50     const struct ia_css_frame * const *frames);
51 
52 void
53 ia_css_init_tnr_state(
54     struct sh_css_isp_tnr_dmem_state *state,
55     size_t size);
56 #endif /* __IA_CSS_TNR_HOST_H */
57