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