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_DP_HOST_H
17 #define __IA_CSS_DP_HOST_H
18 
19 #include "ia_css_dp_types.h"
20 #include "ia_css_dp_param.h"
21 
22 extern const struct ia_css_dp_config default_dp_config;
23 
24 /* ISP2401 */
25 extern const struct ia_css_dp_config default_dp_10bpp_config;
26 
27 void
28 ia_css_dp_encode(
29     struct sh_css_isp_dp_params *to,
30     const struct ia_css_dp_config *from,
31     unsigned int size);
32 
33 void
34 ia_css_dp_dump(
35     const struct sh_css_isp_dp_params *dp,
36     unsigned int level);
37 
38 void
39 ia_css_dp_debug_dtrace(
40     const struct ia_css_dp_config *config,
41     unsigned int level);
42 
43 void
44 ia_css_init_dp_state(
45     void/*struct sh_css_isp_dp_vmem_state*/ * state,
46     size_t size);
47 
48 #endif /* __IA_CSS_DP_HOST_H */
49