Linux-libre 4.15.7-gnu
[librecmc/linux-libre.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / gc / gc_1.0 / ia_css_gc.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_GC_HOST_H
16 #define __IA_CSS_GC_HOST_H
17
18 #include "ia_css_gc_param.h"
19 #include "ia_css_gc_table.host.h"
20
21 extern const struct ia_css_gc_config default_gc_config;
22 extern const struct ia_css_ce_config default_ce_config;
23
24 void
25 ia_css_gc_encode(
26         struct sh_css_isp_gc_params *to,
27         const struct ia_css_gc_config *from,
28         unsigned size);
29
30 void
31 ia_css_gc_vamem_encode(
32         struct sh_css_isp_gc_vamem_params *to,
33         const struct ia_css_gamma_table *from,
34         unsigned size);
35
36 void
37 ia_css_ce_encode(
38         struct sh_css_isp_ce_params *to,
39         const struct ia_css_ce_config *from,
40         unsigned size);
41
42 #ifndef IA_CSS_NO_DEBUG
43 void
44 ia_css_gc_dump(
45         const struct sh_css_isp_gc_params *gc,
46         unsigned level);
47
48 void
49 ia_css_ce_dump(
50         const struct sh_css_isp_ce_params *ce,
51         unsigned level);
52
53 void
54 ia_css_gc_debug_dtrace(
55         const struct ia_css_gc_config *config,
56         unsigned level);
57
58 void
59 ia_css_ce_debug_dtrace(
60         const struct ia_css_ce_config *config,
61         unsigned level);
62
63 #endif
64
65 #endif /* __IA_CSS_GC_HOST_H */