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_CTC2_HOST_H
17 #define __IA_CSS_CTC2_HOST_H
18 
19 #include "ia_css_ctc2_param.h"
20 #include "ia_css_ctc2_types.h"
21 
22 extern const struct ia_css_ctc2_config default_ctc2_config;
23 
24 /*Encode Functions to translate parameters from userspace into ISP space*/
25 
26 void ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to,
27 			     const struct ia_css_ctc2_config *from,
28 			     size_t size);
29 
30 void ia_css_ctc2_encode(struct ia_css_isp_ctc2_dmem_params *to,
31 			struct ia_css_ctc2_config *from,
32 			size_t size);
33 
34 #endif /* __IA_CSS_CTC2_HOST_H */
35