1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14 
15 #include "ia_css_types.h"
16 #include "sh_css_defs.h"
17 #include "ia_css_debug.h"
18 #include "sh_css_frac.h"
19 
20 #include "ia_css_macc.host.h"
21 
22 const struct ia_css_macc_config default_macc_config = {
23 	1,
24 };
25 
26 void
27 ia_css_macc_encode(
28     struct sh_css_isp_macc_params *to,
29     const struct ia_css_macc_config *from,
30     unsigned int size)
31 {
32 	(void)size;
33 	to->exp = from->exp;
34 }
35 
36 void
37 ia_css_macc_dump(
38     const struct sh_css_isp_macc_params *macc,
39     unsigned int level);
40 
41 void
42 ia_css_macc_debug_dtrace(
43     const struct ia_css_macc_config *config,
44     unsigned int level)
45 {
46 	ia_css_debug_dtrace(level,
47 			    "config.exp=%d\n",
48 			    config->exp);
49 }
50