GNU Linux-libre 4.14.303-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / tdf / tdf_1.0 / ia_css_tdf_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_TDF_PARAM_H
16 #define __IA_CSS_TDF_PARAM_H
17
18 #include "type_support.h"
19 #include "vmem.h" /* needed for VMEM_ARRAY */
20
21 struct ia_css_isp_tdf_vmem_params {
22         VMEM_ARRAY(pyramid, ISP_VEC_NELEMS);
23         VMEM_ARRAY(threshold_flat, ISP_VEC_NELEMS);
24         VMEM_ARRAY(threshold_detail, ISP_VEC_NELEMS);
25 };
26
27 struct ia_css_isp_tdf_dmem_params {
28         int32_t Epsilon_0;
29         int32_t Epsilon_1;
30         int32_t EpsScaleText;
31         int32_t EpsScaleEdge;
32         int32_t Sepa_flat;
33         int32_t Sepa_Edge;
34         int32_t Blend_Flat;
35         int32_t Blend_Text;
36         int32_t Blend_Edge;
37         int32_t Shading_Gain;
38         int32_t Shading_baseGain;
39         int32_t LocalY_Gain;
40         int32_t LocalY_baseGain;
41 };
42
43 #endif /* __IA_CSS_TDF_PARAM_H */