1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #include "ia_css_types.h"
8 #include "ia_css_conversion.host.h"
9 
10 const struct ia_css_conversion_config default_conversion_config = {
11 	0,
12 	0,
13 	0,
14 	0,
15 };
16 
17 void
ia_css_conversion_encode(struct sh_css_isp_conversion_params * to,const struct ia_css_conversion_config * from,unsigned int size)18 ia_css_conversion_encode(
19     struct sh_css_isp_conversion_params *to,
20     const struct ia_css_conversion_config *from,
21     unsigned int size)
22 {
23 	(void)size;
24 	to->en     = from->en;
25 	to->dummy0 = from->dummy0;
26 	to->dummy1 = from->dummy1;
27 	to->dummy2 = from->dummy2;
28 }
29