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_FORMATS_HOST_H
17 #define __IA_CSS_FORMATS_HOST_H
18 
19 #include "ia_css_formats_types.h"
20 #include "ia_css_formats_param.h"
21 
22 extern const struct ia_css_formats_config default_formats_config;
23 
24 void
25 ia_css_formats_encode(
26     struct sh_css_isp_formats_params *to,
27     const struct ia_css_formats_config *from,
28     unsigned int size);
29 #ifndef IA_CSS_NO_DEBUG
30 /* FIXME: See BZ 4427 */
31 void
32 ia_css_formats_dump(
33     const struct sh_css_isp_formats_params *formats,
34     unsigned int level);
35 #endif
36 
37 #ifndef IA_CSS_NO_DEBUG
38 /* FIXME: See BZ 4427 */
39 void
40 ia_css_formats_debug_dtrace(
41     const struct ia_css_formats_config *formats,
42     unsigned int level);
43 #endif /*IA_CSS_NO_DEBUG*/
44 
45 #endif /* __IA_CSS_FORMATS_HOST_H */
46