1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_FORMATS_HOST_H
8 #define __IA_CSS_FORMATS_HOST_H
9 
10 #include "ia_css_formats_types.h"
11 #include "ia_css_formats_param.h"
12 
13 extern const struct ia_css_formats_config default_formats_config;
14 
15 void
16 ia_css_formats_encode(
17     struct sh_css_isp_formats_params *to,
18     const struct ia_css_formats_config *from,
19     unsigned int size);
20 #ifndef IA_CSS_NO_DEBUG
21 /* FIXME: See BZ 4427 */
22 void
23 ia_css_formats_dump(
24     const struct sh_css_isp_formats_params *formats,
25     unsigned int level);
26 #endif
27 
28 #ifndef IA_CSS_NO_DEBUG
29 /* FIXME: See BZ 4427 */
30 void
31 ia_css_formats_debug_dtrace(
32     const struct ia_css_formats_config *formats,
33     unsigned int level);
34 #endif /*IA_CSS_NO_DEBUG*/
35 
36 #endif /* __IA_CSS_FORMATS_HOST_H */
37