1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __IA_CSS_XNR_HOST_H
17 #define __IA_CSS_XNR_HOST_H
18 
19 #include "sh_css_params.h"
20 
21 #include "ia_css_xnr_param.h"
22 #include "ia_css_xnr_table.host.h"
23 
24 extern const struct ia_css_xnr_config default_xnr_config;
25 
26 void
27 ia_css_xnr_table_vamem_encode(
28     struct sh_css_isp_xnr_vamem_params *to,
29     const struct ia_css_xnr_table *from,
30     unsigned int size);
31 
32 void
33 ia_css_xnr_encode(
34     struct sh_css_isp_xnr_params *to,
35     const struct ia_css_xnr_config *from,
36     unsigned int size);
37 
38 void
39 ia_css_xnr_table_debug_dtrace(
40     const struct ia_css_xnr_table *s3a,
41     unsigned int level);
42 
43 void
44 ia_css_xnr_debug_dtrace(
45     const struct ia_css_xnr_config *config,
46     unsigned int level);
47 
48 #endif /* __IA_CSS_XNR_HOST_H */
49