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_FPN_HOST_H
17 #define __IA_CSS_FPN_HOST_H
18 
19 #include "ia_css_binary.h"
20 #include "ia_css_fpn_types.h"
21 #include "ia_css_fpn_param.h"
22 
23 void
24 ia_css_fpn_encode(
25     struct sh_css_isp_fpn_params *to,
26     const struct ia_css_fpn_table *from,
27     unsigned int size);
28 
29 void
30 ia_css_fpn_dump(
31     const struct sh_css_isp_fpn_params *fpn,
32     unsigned int level);
33 
34 int ia_css_fpn_config(struct sh_css_isp_fpn_isp_config      *to,
35 		      const struct ia_css_fpn_configuration *from,
36 		      unsigned int size);
37 
38 int ia_css_fpn_configure(const struct ia_css_binary     *binary,
39 			 const struct ia_css_frame_info *from);
40 
41 #endif /* __IA_CSS_FPN_HOST_H */
42