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#include "ia_css_types.h"
17#include "sh_css_defs.h"
18#include "ia_css_debug.h"
19#include "sh_css_frac.h"
20
21#include "ia_css_macc.host.h"
22
23const struct ia_css_macc_config default_macc_config = {
24	1,
25};
26
27void
28ia_css_macc_encode(
29    struct sh_css_isp_macc_params *to,
30    const struct ia_css_macc_config *from,
31    unsigned int size)
32{
33	(void)size;
34	to->exp = from->exp;
35}
36
37void
38ia_css_macc_dump(
39    const struct sh_css_isp_macc_params *macc,
40    unsigned int level);
41
42void
43ia_css_macc_debug_dtrace(
44    const struct ia_css_macc_config *config,
45    unsigned int level)
46{
47	ia_css_debug_dtrace(level,
48			    "config.exp=%d\n",
49			    config->exp);
50}
51