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_OB_HOST_H
17 #define __IA_CSS_OB_HOST_H
18 
19 #include "ia_css_ob_types.h"
20 #include "ia_css_ob_param.h"
21 
22 extern const struct ia_css_ob_config default_ob_config;
23 
24 void
25 ia_css_ob_configure(
26     struct sh_css_isp_ob_stream_config *config,
27     unsigned int isp_pipe_version,
28     unsigned int raw_bit_depth);
29 
30 void
31 ia_css_ob_encode(
32     struct sh_css_isp_ob_params *to,
33     const struct ia_css_ob_config *from,
34     const struct sh_css_isp_ob_stream_config *config,
35     unsigned int size);
36 
37 void
38 ia_css_ob_vmem_encode(
39     struct sh_css_isp_ob_vmem_params *to,
40     const struct ia_css_ob_config *from,
41     const struct sh_css_isp_ob_stream_config *config,
42     unsigned int size);
43 
44 void
45 ia_css_ob_dump(
46     const struct sh_css_isp_ob_params *ob,
47     unsigned int level);
48 
49 void
50 ia_css_ob_debug_dtrace(
51     const struct ia_css_ob_config *config, unsigned int level)
52 ;
53 
54 #endif /* __IA_CSS_OB_HOST_H */
55