]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr3_0_5/ia_css_xnr3_0_5_param.h
staging/atomisp: Add support for the Intel IPU v2
[mirror_ubuntu-jammy-kernel.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / xnr / xnr3_0_5 / ia_css_xnr3_0_5_param.h
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_5_PARAM_H
16 #define __IA_CSS_XNR3_0_5_PARAM_H
17
18 #include "type_support.h"
19 #include "vmem.h" /* needed for VMEM_ARRAY */
20
21 /* XNR3.0.5 filter size */
22 #define XNR_FILTER_SIZE 5
23
24 /*
25 * STRUCT sh_css_isp_xnr3_0_5_vmem_params
26 * -----------------------------------------------
27 * XNR3.0.5 ISP VMEM parameters
28 */
29 struct sh_css_isp_xnr3_0_5_vmem_params {
30 VMEM_ARRAY(x, ISP_VEC_NELEMS);
31 VMEM_ARRAY(a, ISP_VEC_NELEMS);
32 VMEM_ARRAY(b, ISP_VEC_NELEMS);
33 VMEM_ARRAY(c, ISP_VEC_NELEMS);
34 };
35
36 /*
37 * STRUCT sh_css_isp_xnr3_0_5_params
38 * -----------------------------------------------
39 * XNR3.0.5 ISP parameters
40 */
41 struct sh_css_isp_xnr3_0_5_params {
42 int32_t weight_y0;
43 int32_t weight_u0;
44 int32_t weight_v0;
45 int32_t weight_ydiff;
46 int32_t weight_udiff;
47 int32_t weight_vdiff;
48 };
49
50 #endif /*__IA_CSS_XNR3_0_5_PARAM_H */