GNU Linux-libre 4.14.324-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / xnr / xnr_1.0 / ia_css_xnr.host.h
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_XNR_HOST_H
16 #define __IA_CSS_XNR_HOST_H
17
18 #include "sh_css_params.h"
19
20 #include "ia_css_xnr_param.h"
21 #include "ia_css_xnr_table.host.h"
22
23 extern const struct ia_css_xnr_config default_xnr_config;
24
25 void
26 ia_css_xnr_table_vamem_encode(
27         struct sh_css_isp_xnr_vamem_params *to,
28         const struct ia_css_xnr_table *from,
29         unsigned size);
30
31 void
32 ia_css_xnr_encode(
33         struct sh_css_isp_xnr_params *to,
34         const struct ia_css_xnr_config *from,
35         unsigned size);
36
37 void
38 ia_css_xnr_table_debug_dtrace(
39         const struct ia_css_xnr_table *s3a,
40         unsigned level);
41
42 void
43 ia_css_xnr_debug_dtrace(
44         const struct ia_css_xnr_config *config,
45         unsigned level);
46
47 #endif /* __IA_CSS_XNR_HOST_H */