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 "ia_css_conversion.host.h"
18
19const struct ia_css_conversion_config default_conversion_config = {
20	0,
21	0,
22	0,
23	0,
24};
25
26void
27ia_css_conversion_encode(
28    struct sh_css_isp_conversion_params *to,
29    const struct ia_css_conversion_config *from,
30    unsigned int size)
31{
32	(void)size;
33	to->en     = from->en;
34	to->dummy0 = from->dummy0;
35	to->dummy1 = from->dummy1;
36	to->dummy2 = from->dummy2;
37}
38