2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __IA_CSS_XNR3_0_11_HOST_H
16 #define __IA_CSS_XNR3_0_11_HOST_H
18 #include "ia_css_xnr3_0_11_param.h"
19 #include "ia_css_xnr3_0_11_types.h"
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.
26 extern const struct ia_css_xnr3_0_11_config default_xnr3_0_11_config;
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
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,
39 /* (void) = ia_css_xnr3_0_11_encode(*to, *from)
40 * -----------------------------------------------
41 * DMEM Encode Function to translate UV parameters from userspace into ISP space
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,
49 /* (void) = ia_css_xnr3_0_11_debug_dtrace(*config, level)
50 * -----------------------------------------------
51 * Dummy Function added as the tool expects it
54 ia_css_xnr3_0_11_debug_dtrace(
55 const struct ia_css_xnr3_0_11_config *config,
58 #endif /* __IA_CSS_XNR3_0_11_HOST_H */