Skip to content

Commit 5d58128

Browse files
authored
Merge pull request #129 from onceforall/ia_ipu6
ww45 release
2 parents 03cc5d5 + 58dbd36 commit 5d58128

22 files changed

+1652
-73
lines changed

config/linux/ipu6ep/sensors/isx031.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
</StaticMetadata>
7979
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
8080
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
81+
<vcAggregator value="TI960 a,0"/>
8182
<enableAIQ value="false"/>
8283
</Sensor>
8384

@@ -144,6 +145,7 @@
144145
</StaticMetadata>
145146
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
146147
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
148+
<vcAggregator value="TI960 a,1"/>
147149
<enableAIQ value="false"/>
148150
</Sensor>
149151

@@ -210,6 +212,7 @@
210212
</StaticMetadata>
211213
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
212214
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
215+
<vcAggregator value="TI960 a,2"/>
213216
<enableAIQ value="false"/>
214217
</Sensor>
215218

@@ -276,6 +279,7 @@
276279
</StaticMetadata>
277280
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
278281
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
282+
<vcAggregator value="TI960 a,3"/>
279283
<enableAIQ value="false"/>
280284
</Sensor>
281285

@@ -342,6 +346,7 @@
342346
</StaticMetadata>
343347
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
344348
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
349+
<vcAggregator value="TI960 b,0"/>
345350
<enableAIQ value="false"/>
346351
</Sensor>
347352

@@ -408,6 +413,7 @@
408413
</StaticMetadata>
409414
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
410415
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
416+
<vcAggregator value="TI960 b,1"/>
411417
<enableAIQ value="false"/>
412418
</Sensor>
413419

@@ -474,6 +480,7 @@
474480
</StaticMetadata>
475481
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
476482
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
483+
<vcAggregator value="TI960 b,2"/>
477484
<enableAIQ value="false"/>
478485
</Sensor>
479486

@@ -540,6 +547,7 @@
540547
</StaticMetadata>
541548
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
542549
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
550+
<vcAggregator value="TI960 b,3"/>
543551
<enableAIQ value="false"/>
544552
</Sensor>
545-
</CameraSettings>
553+
</CameraSettings>

config/linux/ipu6epmtl/libcamhal_profile.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<availableSensors value="ov05c10-uf-4,ov08x40-uf-0,ov13b10-uf-0,ov13b10-wf-4,ov5675-uf-4,ov01a1s-uf-0,ov01a10-uf-0,ov01a10-uf-4,
2323
ov02c10-uf-0,ov02c10-uf-1,ov02c10-uf-4,ov02e10-uf-1,ov02e10-uf-4,
2424
hm2170-uf-0,hm2170-uf-1,hm2170-uf-4,hm2172-uf-1,hm2172-uf-4,hi556-uf-1,
25-
imx390,ar0234-1-0,ar0234-2-4,external_source,ar0234_usb,lt6911uxc,lt6911uxe-1-0,lt6911uxe-2-4"/>
25+
imx390,imx390-1-0,imx390-2-0,imx390-3-0,imx390-4-0,imx390-5-4,imx390-6-4,ar0234-1-0,ar0234-2-4,
26+
external_source,ar0234_usb,lt6911uxc,lt6911uxe-1-0,lt6911uxe-2-4"/>
2627
</Common>
2728
</CameraSettings>
+258
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!-- Copyright (C) 2024 Intel Corporation.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
<CameraSettings>
18+
<Sensor name="imx390-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
19+
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
20+
<format name="imx390 a" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
21+
<format name="TI960 a" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
22+
<format name="TI960 a" pad="4" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
23+
<format name="Intel IPU6 CSI2 0" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
24+
<format name="Intel IPU6 CSI2 0" pad="1" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
25+
26+
<link srcName="imx390 a" srcPad="0" sinkName="TI960 a" sinkPad="0" enable="true"/>
27+
<link srcName="TI960 a" srcPad="4" sinkName="Intel IPU6 CSI2 0" sinkPad="0" enable="true"/>
28+
<link srcName="Intel IPU6 CSI2 0" srcPad="1" sinkName="Intel IPU6 ISYS Capture 0" sinkPad="0" enable="true"/>
29+
30+
<route name="TI960 a" sinkPad="0" sinkStream="0" srcPad="4" srcStream="0" flag="1"/>
31+
<route name="Intel IPU6 CSI2 0" sinkPad="0" sinkStream="0" srcPad="1" srcStream="0" flag="1"/>
32+
33+
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
34+
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
35+
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
36+
</MediaCtlConfig>
37+
<StaticMetadata>
38+
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
39+
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
40+
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
41+
<supportedFeatures value="MANUAL_EXPOSURE,
42+
MANUAL_WHITE_BALANCE,
43+
IMAGE_ENHANCEMENT,
44+
NOISE_REDUCTION,
45+
PER_FRAME_CONTROL,
46+
SCENE_MODE"/>
47+
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
48+
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
49+
<fpsRange value="10,30"/>
50+
<evRange value="-6,6"/>
51+
<evStep value="1,3"/>
52+
<supportedAeMode value="AUTO,MANUAL"/>
53+
<supportedVideoStabilizationModes value="OFF"/>
54+
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
55+
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
56+
<supportedAfMode value="OFF"/>
57+
</StaticMetadata>
58+
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
59+
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
60+
<!-- The lard tags configuration. Every tag should be 4-characters. -->
61+
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
62+
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
63+
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
64+
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
65+
<enableAIQ value="true"/>
66+
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
67+
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
68+
<initialSkipFrame value="1"/>
69+
<exposureLag value="2"/>
70+
<gainLag value="1"/>
71+
<ltmGainLag value="1"/>
72+
<maxRequestsInflight value="6"/>
73+
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
74+
<pipeSwitchDelayFrame value="60"/>
75+
<graphSettingsFile value="graph_settings_imx390.xml"/>
76+
<graphSettingsType value="coupled"/>
77+
<enablePSysProcessor value="true"/>
78+
<useCrlModule value="true"/>
79+
<sensorAwb value="true"/>
80+
<sensorAe value="true"/>
81+
<hdrExposureNum value="2"/>
82+
<hdrGainType value="multi-dg-and-direct-ag"/>
83+
<runIspAlways value="true"/>
84+
<vcAggregator value="TI960 a,0"/>
85+
<reqWaitTimeoutNs value="2000000000"/>
86+
</Sensor>
87+
88+
<Sensor name="imx390x2-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
89+
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
90+
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
91+
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
92+
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
93+
</MediaCtlConfig>
94+
<StaticMetadata>
95+
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
96+
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
97+
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
98+
<supportedFeatures value="MANUAL_EXPOSURE,
99+
MANUAL_WHITE_BALANCE,
100+
IMAGE_ENHANCEMENT,
101+
NOISE_REDUCTION,
102+
PER_FRAME_CONTROL,
103+
SCENE_MODE"/>
104+
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
105+
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
106+
<fpsRange value="10,30"/>
107+
<evRange value="-6,6"/>
108+
<evStep value="1,3"/>
109+
<supportedAeMode value="AUTO,MANUAL"/>
110+
<supportedVideoStabilizationModes value="OFF"/>
111+
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
112+
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
113+
<supportedAfMode value="OFF"/>
114+
</StaticMetadata>
115+
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
116+
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
117+
<!-- The lard tags configuration. Every tag should be 4-characters. -->
118+
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
119+
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
120+
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
121+
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
122+
<enableAIQ value="true"/>
123+
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
124+
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
125+
<initialSkipFrame value="1"/>
126+
<exposureLag value="2"/>
127+
<gainLag value="1"/>
128+
<ltmGainLag value="1"/>
129+
<maxRequestsInflight value="6"/>
130+
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
131+
<pipeSwitchDelayFrame value="60"/>
132+
<graphSettingsFile value="graph_settings_imx390.xml"/>
133+
<graphSettingsType value="coupled"/>
134+
<enablePSysProcessor value="true"/>
135+
<useCrlModule value="true"/>
136+
<sensorAwb value="true"/>
137+
<sensorAe value="true"/>
138+
<hdrExposureNum value="2"/>
139+
<hdrGainType value="multi-dg-and-direct-ag"/>
140+
<runIspAlways value="true"/>
141+
<vcAggregator value="TI960 a,0"/>
142+
<reqWaitTimeoutNs value="2000000000"/>
143+
</Sensor>
144+
145+
<Sensor name="imx390x4-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
146+
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
147+
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
148+
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
149+
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
150+
</MediaCtlConfig>
151+
<StaticMetadata>
152+
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
153+
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
154+
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
155+
<supportedFeatures value="MANUAL_EXPOSURE,
156+
MANUAL_WHITE_BALANCE,
157+
IMAGE_ENHANCEMENT,
158+
NOISE_REDUCTION,
159+
PER_FRAME_CONTROL,
160+
SCENE_MODE"/>
161+
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
162+
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
163+
<fpsRange value="10,30"/>
164+
<evRange value="-6,6"/>
165+
<evStep value="1,3"/>
166+
<supportedAeMode value="AUTO,MANUAL"/>
167+
<supportedVideoStabilizationModes value="OFF"/>
168+
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
169+
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
170+
<supportedAfMode value="OFF"/>
171+
</StaticMetadata>
172+
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
173+
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
174+
<!-- The lard tags configuration. Every tag should be 4-characters. -->
175+
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
176+
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
177+
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
178+
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
179+
<enableAIQ value="true"/>
180+
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
181+
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
182+
<initialSkipFrame value="1"/>
183+
<exposureLag value="2"/>
184+
<gainLag value="1"/>
185+
<ltmGainLag value="1"/>
186+
<maxRequestsInflight value="6"/>
187+
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
188+
<pipeSwitchDelayFrame value="60"/>
189+
<graphSettingsFile value="graph_settings_imx390.xml"/>
190+
<graphSettingsType value="coupled"/>
191+
<enablePSysProcessor value="true"/>
192+
<useCrlModule value="true"/>
193+
<sensorAwb value="true"/>
194+
<sensorAe value="true"/>
195+
<hdrExposureNum value="2"/>
196+
<hdrGainType value="multi-dg-and-direct-ag"/>
197+
<runIspAlways value="true"/>
198+
<vcAggregator value="TI960 a,0"/>
199+
<reqWaitTimeoutNs value="2000000000"/>
200+
</Sensor>
201+
202+
<Sensor name="imx390x6-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
203+
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
204+
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
205+
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
206+
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
207+
</MediaCtlConfig>
208+
<StaticMetadata>
209+
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
210+
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
211+
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
212+
<supportedFeatures value="MANUAL_EXPOSURE,
213+
MANUAL_WHITE_BALANCE,
214+
IMAGE_ENHANCEMENT,
215+
NOISE_REDUCTION,
216+
PER_FRAME_CONTROL,
217+
SCENE_MODE"/>
218+
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
219+
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
220+
<fpsRange value="10,30"/>
221+
<evRange value="-6,6"/>
222+
<evStep value="1,3"/>
223+
<supportedAeMode value="AUTO,MANUAL"/>
224+
<supportedVideoStabilizationModes value="OFF"/>
225+
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
226+
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
227+
<supportedAfMode value="OFF"/>
228+
</StaticMetadata>
229+
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
230+
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
231+
<!-- The lard tags configuration. Every tag should be 4-characters. -->
232+
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
233+
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
234+
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
235+
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
236+
<enableAIQ value="true"/>
237+
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
238+
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
239+
<initialSkipFrame value="1"/>
240+
<exposureLag value="2"/>
241+
<gainLag value="1"/>
242+
<ltmGainLag value="1"/>
243+
<maxRequestsInflight value="6"/>
244+
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
245+
<pipeSwitchDelayFrame value="60"/>
246+
<graphSettingsFile value="graph_settings_imx390.xml"/>
247+
<graphSettingsType value="coupled"/>
248+
<enablePSysProcessor value="true"/>
249+
<useCrlModule value="true"/>
250+
<sensorAwb value="true"/>
251+
<sensorAe value="true"/>
252+
<hdrExposureNum value="2"/>
253+
<hdrGainType value="multi-dg-and-direct-ag"/>
254+
<runIspAlways value="true"/>
255+
<vcAggregator value="TI960 a,0"/>
256+
<reqWaitTimeoutNs value="2000000000"/>
257+
</Sensor>
258+
</CameraSettings>

0 commit comments

Comments
 (0)