GNU Linux-libre 4.14.313-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / output / output_1.0 / ia_css_output.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_OUTPUT_HOST_H
16 #define __IA_CSS_OUTPUT_HOST_H
17
18 #include "ia_css_frame_public.h"
19 #include "ia_css_binary.h"
20
21 #include "ia_css_output_types.h"
22 #include "ia_css_output_param.h"
23
24 extern const struct ia_css_output_config default_output_config;
25
26 void
27 ia_css_output_encode(
28         struct sh_css_isp_output_params *to,
29         const struct ia_css_output_config *from,
30         unsigned size);
31
32 void
33 ia_css_output_config(
34         struct sh_css_isp_output_isp_config      *to,
35         const struct ia_css_output_configuration *from,
36         unsigned size);
37
38 void
39 ia_css_output0_config(
40         struct sh_css_isp_output_isp_config       *to,
41         const struct ia_css_output0_configuration *from,
42         unsigned size);
43
44 void
45 ia_css_output1_config(
46         struct sh_css_isp_output_isp_config       *to,
47         const struct ia_css_output1_configuration *from,
48         unsigned size);
49
50 void
51 ia_css_output_configure(
52         const struct ia_css_binary     *binary,
53         const struct ia_css_frame_info *from);
54
55 void
56 ia_css_output0_configure(
57         const struct ia_css_binary     *binary,
58         const struct ia_css_frame_info *from);
59
60 void
61 ia_css_output1_configure(
62         const struct ia_css_binary     *binary,
63         const struct ia_css_frame_info *from);
64
65 void
66 ia_css_output_dump(
67         const struct sh_css_isp_output_params *output,
68         unsigned level);
69
70 void
71 ia_css_output_debug_dtrace(
72         const struct ia_css_output_config *config,
73         unsigned level);
74
75 #endif /* __IA_CSS_OUTPUT_HOST_H */