-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisp_param_conf.h
116 lines (112 loc) · 3.39 KB
/
isp_param_conf.h
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/**
******************************************************************************
* @file isp_param_conf.h
* @author AIS Application Team
* @brief Header file for IQT parameters of the ISP middleware.
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under SLA0044 terms that can be found here:
* https://www.st.com/resource/en/license_agreement/SLA0044.txt
*
* THIS FILE WAS GENERATED BY THE IQ TUNING TOOL ON 2023-10-11 15:25:40
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ISP_PARAM_CONF__H
#define __ISP_PARAM_CONF__H
/* DCMIPP ISP configuration for IMX335 sensor */
static const ISP_IQParamTypeDef ISP_IQParamCacheInit_IMX335 = {
.sensorGainStatic = {
.gain = 0,
},
.sensorExposureStatic = {
.exposure = 0,
},
.AECAlgo = {
.enable = 1,
.exposureCompensation = 0,
},
.statRemoval = {
.enable = 0,
.nbHeadLines = 0,
.nbValidLines = 0,
},
.badPixelStatic = {
.enable = 0,
.strength = 0,
},
.badPixelAlgo = {
.enable = 0,
.threshold = 0,
},
.blackLevelStatic = {
.enable = 1,
.BLCR = 12,
.BLCG = 12,
.BLCB = 12,
},
.demosaicing = {
.enable = 1,
.type = 0,
.peak = 2,
.lineV = 4,
.lineH = 4,
.edge = 6,
},
.ispGainStatic = {
.enable = 0,
.ispGainR = 0,
.ispGainG = 0,
.ispGainB = 0,
},
.colorConvStatic = {
.enable = 0,
.coeff = { { 0, 0, 0, }, { 0, 0, 0, }, { 0, 0, 0, }, }
},
.AWBAlgo = {
.enable = 1,
.id = { "A", "TL84", "D50", "D65", "Free slot", },
.referenceColorTemp = { 2856, 4000, 5000, 6500, 0, },
.ispGainR = { 140000000, 177000000, 220000000, 245000000, 0, },
.ispGainG = { 100000000, 100000000, 100000000, 100000000, 0, },
.ispGainB = { 275000000, 235000000, 180000000, 155000000, 0, },
.coeff = {
{ { 151460000, -102340000, 50892000, }, { -85991000, 210980000, -24984000, }, { 25000000, -261000000, 341000000, }, },
{ { 155134500, -69370000, 13106000, }, { -38671000, 167689800, -33936000, }, { 5546200, -66770000, 159944200, }, },
{ { 180080000, -64840000, -15230000, }, { -35550000, 169920000, -34380000, }, { 9770000, -95700000, 185940000, }, },
{ { 180080000, -64840000, -15230000, }, { -35550000, 169920000, -34380000, }, { 9770000, -95700000, 185940000, }, },
{ { 0, 0, 0, }, { 0, 0, 0, }, { 0, 0, 0, }, },
},
},
.contrast = {
.enable = 0,
.coeff.LUM_0 = 0,
.coeff.LUM_32 = 0,
.coeff.LUM_64 = 0,
.coeff.LUM_96 = 0,
.coeff.LUM_128 = 0,
.coeff.LUM_160 = 0,
.coeff.LUM_192 = 0,
.coeff.LUM_224 = 0,
.coeff.LUM_256 = 0,
},
.statAreaStatic = {
.X0 = 648,
.Y0 = 486,
.XSize = 1296,
.YSize = 972,
},
.gamma = {
.enablePipe1 = 1,
.enablePipe2 = 1,
},
};
static const ISP_IQParamTypeDef* ISP_IQParamCacheInit[] = {
&ISP_IQParamCacheInit_IMX335
};
#endif /* __ISP_PARAM_CONF__H */