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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
<!--
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>ov13855_common</ISPCommon>
<PostProc>ov13855_postproc</PostProc>
</ChromatixName>
<ChromatixName special_mode_mask="FLASH">
<CPPSnapshot>ov13855_cpp_snapshot</CPPSnapshot>
</ChromatixName>
<ChromatixName special_mode_mask="ZOOM_UPSCALE">
<CPPSnapshot>ov13855_cpp_us_chromatix</CPPSnapshot>
</ChromatixName>
<ChromatixName special_mode_mask="ZOOM_DOWNSCALE">
<CPPSnapshot>ov13855_cpp_ds_chromatix</CPPSnapshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>ov13855_snapshot</ISPPreview>
<ISPSnapshot>ov13855_snapshot</ISPSnapshot>
<ISPVideo>ov13855_video_full</ISPVideo>
<CPPPreview>ov13855_cpp_snapshot</CPPPreview>
<CPPSnapshot>ov13855_cpp_snapshot</CPPSnapshot>
<CPPVideo>ov13855_cpp_video_full</CPPVideo>
<CPPLiveshot>ov13855_cpp_snapshot</CPPLiveshot>
<A3Preview>ov13855_zsl_preview_bu64297</A3Preview>
<A3Video>ov13855_zsl_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>ov13855_snapshot</ISPPreview>
<ISPSnapshot>ov13855_snapshot</ISPSnapshot>
<ISPVideo>ov13855_video_full</ISPVideo>
<CPPPreview>ov13855_cpp_snapshot</CPPPreview>
<CPPSnapshot>ov13855_cpp_snapshot</CPPSnapshot>
<CPPVideo>ov13855_cpp_video_full</CPPVideo>
<CPPLiveshot>ov13855_cpp_snapshot</CPPLiveshot>
<A3Preview>ov13855_zsl_preview_bu64297</A3Preview>
<A3Video>ov13855_zsl_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>ov13855_preview</ISPPreview>
<ISPSnapshot>ov13855_preview</ISPSnapshot>
<ISPVideo>ov13855_default_video</ISPVideo>
<CPPPreview>ov13855_cpp_preview</CPPPreview>
<CPPSnapshot>ov13855_cpp_preview</CPPSnapshot>
<CPPVideo>ov13855_cpp_video</CPPVideo>
<CPPLiveshot>ov13855_cpp_liveshot</CPPLiveshot>
<A3Preview>ov13855_default_preview_bu64297</A3Preview>
<A3Video>ov13855_default_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>ov13855_preview</ISPPreview>
<ISPSnapshot>ov13855_preview</ISPSnapshot>
<ISPVideo>ov13855_default_video</ISPVideo>
<CPPPreview>ov13855_cpp_preview</CPPPreview>
<CPPSnapshot>ov13855_cpp_preview</CPPSnapshot>
<CPPVideo>ov13855_cpp_video</CPPVideo>
<CPPLiveshot>ov13855_cpp_liveshot</CPPLiveshot>
<A3Preview>ov13855_default_preview_bu64297</A3Preview>
<A3Video>ov13855_default_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4">
<ISPPreview>ov13855_hfr_60</ISPPreview>
<ISPSnapshot>ov13855_hfr_60</ISPSnapshot>
<ISPVideo>ov13855_hfr_60</ISPVideo>
<CPPPreview>ov13855_cpp_hfr_60</CPPPreview>
<CPPSnapshot>ov13855_cpp_hfr_60</CPPSnapshot>
<CPPVideo>ov13855_cpp_hfr_60</CPPVideo>
<CPPLiveshot>ov13855_cpp_hfr_60</CPPLiveshot>
<A3Preview>ov13855_hfr_60_bu64297</A3Preview>
<A3Video>ov13855_hfr_60_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5">
<ISPPreview>ov13855_hfr_90</ISPPreview>
<ISPSnapshot>ov13855_hfr_90</ISPSnapshot>
<ISPVideo>ov13855_hfr_90</ISPVideo>
<CPPPreview>ov13855_cpp_hfr_90</CPPPreview>
<CPPSnapshot>ov13855_cpp_hfr_90</CPPSnapshot>
<CPPVideo>ov13855_cpp_hfr_90</CPPVideo>
<CPPLiveshot>ov13855_cpp_hfr_90</CPPLiveshot>
<A3Preview>ov13855_hfr_90_bu64297</A3Preview>
<A3Video>ov13855_hfr_90_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6">
<ISPPreview>ov13855_hfr_120</ISPPreview>
<ISPSnapshot>ov13855_hfr_120</ISPSnapshot>
<ISPVideo>ov13855_hfr_120</ISPVideo>
<CPPPreview>ov13855_cpp_hfr_120</CPPPreview>
<CPPSnapshot>ov13855_cpp_hfr_120</CPPSnapshot>
<CPPVideo>ov13855_cpp_hfr_120</CPPVideo>
<CPPLiveshot>ov13855_cpp_hfr_120</CPPLiveshot>
<A3Preview>ov13855_hfr_120_bu64297</A3Preview>
<A3Video>ov13855_hfr_120_bu64297</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
|