aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/tdf/tdf_1.0/ia_css_tdf_param.h
blob: 9334f2e0698b40510d5cc445fc83c3e2972e076f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#ifndef __IA_CSS_TDF_PARAM_H
#define __IA_CSS_TDF_PARAM_H

#include "type_support.h"
#include "vmem.h" /* needed for VMEM_ARRAY */

struct ia_css_isp_tdf_vmem_params {
	VMEM_ARRAY(pyramid, ISP_VEC_NELEMS);
	VMEM_ARRAY(threshold_flat, ISP_VEC_NELEMS);
	VMEM_ARRAY(threshold_detail, ISP_VEC_NELEMS);
};

struct ia_css_isp_tdf_dmem_params {
	int32_t Epsilon_0;
	int32_t Epsilon_1;
	int32_t EpsScaleText;
	int32_t EpsScaleEdge;
	int32_t Sepa_flat;
	int32_t Sepa_Edge;
	int32_t Blend_Flat;
	int32_t Blend_Text;
	int32_t Blend_Edge;
	int32_t Shading_Gain;
	int32_t Shading_baseGain;
	int32_t LocalY_Gain;
	int32_t LocalY_baseGain;
};

#endif /* __IA_CSS_TDF_PARAM_H */