Skip to content

Commit

Permalink
Merge pull request #129 from onceforall/ia_ipu6
Browse files Browse the repository at this point in the history
ww45 release
  • Loading branch information
onceforall authored Oct 25, 2024
2 parents 03cc5d5 + 58dbd36 commit 5d58128
Show file tree
Hide file tree
Showing 22 changed files with 1,652 additions and 73 deletions.
10 changes: 9 additions & 1 deletion config/linux/ipu6ep/sensors/isx031.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 a,0"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -144,6 +145,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 a,1"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -210,6 +212,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 a,2"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -276,6 +279,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 a,3"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -342,6 +346,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 b,0"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -408,6 +413,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 b,1"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -474,6 +480,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 b,2"/>
<enableAIQ value="false"/>
</Sensor>

Expand Down Expand Up @@ -540,6 +547,7 @@
</StaticMetadata>
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<supportedISysFormat value="V4L2_PIX_FMT_UYVY"/>
<vcAggregator value="TI960 b,3"/>
<enableAIQ value="false"/>
</Sensor>
</CameraSettings>
</CameraSettings>
3 changes: 2 additions & 1 deletion config/linux/ipu6epmtl/libcamhal_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<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,
ov02c10-uf-0,ov02c10-uf-1,ov02c10-uf-4,ov02e10-uf-1,ov02e10-uf-4,
hm2170-uf-0,hm2170-uf-1,hm2170-uf-4,hm2172-uf-1,hm2172-uf-4,hi556-uf-1,
imx390,ar0234-1-0,ar0234-2-4,external_source,ar0234_usb,lt6911uxc,lt6911uxe-1-0,lt6911uxe-2-4"/>
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,
external_source,ar0234_usb,lt6911uxc,lt6911uxe-1-0,lt6911uxe-2-4"/>
</Common>
</CameraSettings>
258 changes: 258 additions & 0 deletions config/linux/ipu6epmtl/sensors/imx390-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (C) 2024 Intel Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<CameraSettings>
<Sensor name="imx390-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
<format name="imx390 a" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
<format name="TI960 a" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
<format name="TI960 a" pad="4" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
<format name="Intel IPU6 CSI2 0" pad="0" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>
<format name="Intel IPU6 CSI2 0" pad="1" width="1920" height="1200" format="V4L2_MBUS_FMT_SGRBG12_1X12" stream="0"/>

<link srcName="imx390 a" srcPad="0" sinkName="TI960 a" sinkPad="0" enable="true"/>
<link srcName="TI960 a" srcPad="4" sinkName="Intel IPU6 CSI2 0" sinkPad="0" enable="true"/>
<link srcName="Intel IPU6 CSI2 0" srcPad="1" sinkName="Intel IPU6 ISYS Capture 0" sinkPad="0" enable="true"/>

<route name="TI960 a" sinkPad="0" sinkStream="0" srcPad="4" srcStream="0" flag="1"/>
<route name="Intel IPU6 CSI2 0" sinkPad="0" sinkStream="0" srcPad="1" srcStream="0" flag="1"/>

<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
</MediaCtlConfig>
<StaticMetadata>
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
<fpsRange value="10,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
<supportedAfMode value="OFF"/>
</StaticMetadata>
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
<!-- The lard tags configuration. Every tag should be 4-characters. -->
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="1"/>
<exposureLag value="2"/>
<gainLag value="1"/>
<ltmGainLag value="1"/>
<maxRequestsInflight value="6"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<pipeSwitchDelayFrame value="60"/>
<graphSettingsFile value="graph_settings_imx390.xml"/>
<graphSettingsType value="coupled"/>
<enablePSysProcessor value="true"/>
<useCrlModule value="true"/>
<sensorAwb value="true"/>
<sensorAe value="true"/>
<hdrExposureNum value="2"/>
<hdrGainType value="multi-dg-and-direct-ag"/>
<runIspAlways value="true"/>
<vcAggregator value="TI960 a,0"/>
<reqWaitTimeoutNs value="2000000000"/>
</Sensor>

<Sensor name="imx390x2-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
</MediaCtlConfig>
<StaticMetadata>
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
<fpsRange value="10,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
<supportedAfMode value="OFF"/>
</StaticMetadata>
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
<!-- The lard tags configuration. Every tag should be 4-characters. -->
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="1"/>
<exposureLag value="2"/>
<gainLag value="1"/>
<ltmGainLag value="1"/>
<maxRequestsInflight value="6"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<pipeSwitchDelayFrame value="60"/>
<graphSettingsFile value="graph_settings_imx390.xml"/>
<graphSettingsType value="coupled"/>
<enablePSysProcessor value="true"/>
<useCrlModule value="true"/>
<sensorAwb value="true"/>
<sensorAe value="true"/>
<hdrExposureNum value="2"/>
<hdrGainType value="multi-dg-and-direct-ag"/>
<runIspAlways value="true"/>
<vcAggregator value="TI960 a,0"/>
<reqWaitTimeoutNs value="2000000000"/>
</Sensor>

<Sensor name="imx390x4-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
</MediaCtlConfig>
<StaticMetadata>
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
<fpsRange value="10,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
<supportedAfMode value="OFF"/>
</StaticMetadata>
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
<!-- The lard tags configuration. Every tag should be 4-characters. -->
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="1"/>
<exposureLag value="2"/>
<gainLag value="1"/>
<ltmGainLag value="1"/>
<maxRequestsInflight value="6"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<pipeSwitchDelayFrame value="60"/>
<graphSettingsFile value="graph_settings_imx390.xml"/>
<graphSettingsType value="coupled"/>
<enablePSysProcessor value="true"/>
<useCrlModule value="true"/>
<sensorAwb value="true"/>
<sensorAe value="true"/>
<hdrExposureNum value="2"/>
<hdrGainType value="multi-dg-and-direct-ag"/>
<runIspAlways value="true"/>
<vcAggregator value="TI960 a,0"/>
<reqWaitTimeoutNs value="2000000000"/>
</Sensor>

<Sensor name="imx390x6-1" description="imx390 sensor" virtualChannel="true" vcGroupId="0">
<MediaCtlConfig id="0" mediaCfg="1" ConfigMode="AUTO" outputWidth="1920" outputHeight="1200" format="V4L2_PIX_FMT_SGRBG12">
<videonode name="Intel IPU6 ISYS Capture 0" videoNodeType="VIDEO_GENERIC"/>
<videonode name="Intel IPU6 CSI2 0" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="imx390 a" videoNodeType="VIDEO_PIXEL_ARRAY"/>
</MediaCtlConfig>
<StaticMetadata>
<!-- list of stream config info. Meanings of each part is "format,widthxheight,field(0 is none, 7 is alternate),mcId" -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1920x1200,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,1"/>
<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<supportedAeExposureTimeRange value="AUTO"/> <!--scene_mode,min_exposure_time,max_exposure_time -->
<supportedAeGainRange value="AUTO,1,32"/> <!--scene_mode,min_gain,max_gain -->
<fpsRange value="10,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedAntibandingMode value="AUTO,50Hz,60Hz,OFF"/>
<supportedAwbMode value="AUTO,INCANDESCENT,FLUORESCENT,DAYLIGHT,FULL_OVERCAST,PARTLY_OVERCAST,SUNSET,VIDEO_CONFERENCE,MANUAL_CCT_RANGE,MANUAL_WHITE_POINT,MANUAL_GAIN,MANUAL_COLOR_TRANSFORM"/>
<supportedAfMode value="OFF"/>
</StaticMetadata>
<supportedTuningConfig value="NORMAL,VIDEO,IMX390_HDR_ADL,
STILL_CAPTURE,VIDEO,IMX390_HDR_ADL"/>
<!-- The lard tags configuration. Every tag should be 4-characters. -->
<!-- <TuningMode, cmc tag, aiq tag, isp tag, others tag> -->
<lardTags value="VIDEO,DFLT,DFLT,DFLT,DFLT"/>
<supportedISysSizes value="1280x960,1920x1200"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG12"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG12"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="1"/>
<exposureLag value="2"/>
<gainLag value="1"/>
<ltmGainLag value="1"/>
<maxRequestsInflight value="6"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<pipeSwitchDelayFrame value="60"/>
<graphSettingsFile value="graph_settings_imx390.xml"/>
<graphSettingsType value="coupled"/>
<enablePSysProcessor value="true"/>
<useCrlModule value="true"/>
<sensorAwb value="true"/>
<sensorAe value="true"/>
<hdrExposureNum value="2"/>
<hdrGainType value="multi-dg-and-direct-ag"/>
<runIspAlways value="true"/>
<vcAggregator value="TI960 a,0"/>
<reqWaitTimeoutNs value="2000000000"/>
</Sensor>
</CameraSettings>
Loading

0 comments on commit 5d58128

Please sign in to comment.