8e8b85f7ea872578c0eb9fcce0a0d5f5fccf966b
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] /
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 #ifndef __IA_CSS_XNR3_0_11_HOST_H
16 #define __IA_CSS_XNR3_0_11_HOST_H
17
18 #include "ia_css_xnr3_0_11_param.h"
19 #include "ia_css_xnr3_0_11_types.h"
20
21 /*
22 * Default kernel parameters (weights). In general, default is bypass mode or as close
23 * to the ineffective values as possible. Due to the chroma down+upsampling,
24 * perfect bypass mode is not possible for xnr3.
25 */
26 extern const struct ia_css_xnr3_0_11_config default_xnr3_0_11_config;
27
28
29 /* (void) = ia_css_xnr3_0_11_vmem_encode(*to, *from)
30 * -----------------------------------------------
31 * VMEM Encode Function to translate UV parameters from userspace into ISP space
32 */
33 void
34 ia_css_xnr3_0_11_vmem_encode(
35 struct sh_css_isp_xnr3_0_11_vmem_params *to,
36 const struct ia_css_xnr3_0_11_config *from,
37 unsigned size);
38
39 /* (void) = ia_css_xnr3_0_11_encode(*to, *from)
40 * -----------------------------------------------
41 * DMEM Encode Function to translate UV parameters from userspace into ISP space
42 */
43 void
44 ia_css_xnr3_0_11_encode(
45 struct sh_css_isp_xnr3_0_11_params *to,
46 const struct ia_css_xnr3_0_11_config *from,
47 unsigned size);
48
49 /* (void) = ia_css_xnr3_0_11_debug_dtrace(*config, level)
50 * -----------------------------------------------
51 * Dummy Function added as the tool expects it
52 */
53 void
54 ia_css_xnr3_0_11_debug_dtrace(
55 const struct ia_css_xnr3_0_11_config *config,
56 unsigned level);
57
58 #endif /* __IA_CSS_XNR3_0_11_HOST_H */