Skip to content

Commit

Permalink
Merge pull request #76 from ccgjimlai/main
Browse files Browse the repository at this point in the history
Port sensor files from IPU6EP to IPU6EPMTL
  • Loading branch information
hao-yao authored Sep 6, 2023
2 parents 7964af4 + 0accc80 commit 6148c91
Show file tree
Hide file tree
Showing 29 changed files with 51,326 additions and 1 deletion.
Binary file added config/linux/ipu6epmtl/HI556_1BG502T3_ADL.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/HI556_CJFLE25_ADL.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/HM2170_1SG205N3_ADL.aiqb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added config/linux/ipu6epmtl/HM2170_CJFME18_ADL.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/OV02C10_1BG203N3_ADL.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/OV02C10_1SG204N3_ADL.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/OV02C10_CIFME14_ADL.aiqb
Binary file not shown.
12,689 changes: 12,689 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_HI556_1BG502T3_ADL.xml

Large diffs are not rendered by default.

12,689 changes: 12,689 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_HI556_CJFLE25_ADL.xml

Large diffs are not rendered by default.

2,507 changes: 2,507 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_HM2170_1SG205N3_ADL.xml

Large diffs are not rendered by default.

2,507 changes: 2,507 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_HM2170_CJFME18_ADL.xml

Large diffs are not rendered by default.

4,077 changes: 4,077 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_OV02C10_1BG203N3_ADL.xml

Large diffs are not rendered by default.

4,077 changes: 4,077 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_OV02C10_1SG204N3_ADL.xml

Large diffs are not rendered by default.

4,077 changes: 4,077 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_OV02C10_CIFME14_ADL.xml

Large diffs are not rendered by default.

2,507 changes: 2,507 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_hm2170_1SG205N3_ADL.xml

Large diffs are not rendered by default.

1,915 changes: 1,915 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_ov01a10.xml

Large diffs are not rendered by default.

3,040 changes: 3,040 additions & 0 deletions config/linux/ipu6epmtl/gcss/graph_settings_ov01a1s.xml

Large diffs are not rendered by default.

Binary file added config/linux/ipu6epmtl/hi556.aiqb
Binary file not shown.
4 changes: 3 additions & 1 deletion config/linux/ipu6epmtl/libcamhal_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<version value="1.0"/>
<platform value="IPU6"/>
<!-- The value format of availableSensors is "sensor name"-wf/uf-"CSI port ID". -->
<availableSensors value="ov13b10-uf-0,ov13b10-wf-4,ov5675-uf-2,hm2172-uf-0,imx390,ar0234,external_source,ar0234_usb,lt6911uxc,lt6911uxe"/>
<availableSensors value="ov13b10-uf-0,ov13b10-wf-4,ov5675-uf-2,ov01a1s-uf-1,ov01a10-uf-1,ov01a10-uf-2,ov02c10-uf-1,ov02c10-uf-2,
hm2170-uf-1,hm2170-uf-2,hm2172-uf-0,hi556-uf-1,
imx390,ar0234,external_source,ar0234_usb,lt6911uxc,lt6911uxe"/>
</Common>
</CameraSettings>
Binary file added config/linux/ipu6epmtl/ov01a10.aiqb
Binary file not shown.
Binary file added config/linux/ipu6epmtl/ov01a1s.aiqb
Binary file not shown.
8 changes: 8 additions & 0 deletions config/linux/ipu6epmtl/psys_policy_profiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,12 @@ limitations under the License.

<pipe_executor name="ipu6_full_still" pgs="isa_lb_stills,post_gdc_stills"/>
</graph>
<graph id="100204">
<!-- op_modes: 0-disabled, 2-coupled. see ia_cipf_css.h in libiacss -->
<pipe_executor name="ipu6_full_video" pgs="isa_lb_video_bayer,post_gdc_ir_video"/>
<pipe_executor name="ipu6_full_video1" pgs="isa_lb_rgbir_video_bayer"/>
<pipe_executor name="ipu6_full_video2" pgs="post_gdc_video_bayer"/>

<pipe_executor name="ipu6_full_still" pgs="isa_lb_ir_stills,post_gdc_stills"/>
</graph>
</PsysPolicyConfig>
489 changes: 489 additions & 0 deletions config/linux/ipu6epmtl/sensors/hi556-uf.xml

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions config/linux/ipu6epmtl/sensors/hm2170-uf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (C) 2022 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="hm2170-uf" description="hm2170 sensor.">
<MediaCtlConfig id="0" ConfigMode="AUTO" outputWidth="1928" outputHeight="1088" format="V4L2_PIX_FMT_SGRBG10"> <!-- RAW10 BE capture -->
<format name="hm2170 $I2CBUS" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI-2 $CSI_PORT" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI2 BE SOC 0" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>

<link srcName="hm2170 $I2CBUS" srcPad="0" sinkName="Intel IPU6 CSI-2 $CSI_PORT" sinkPad="0" enable="true"/>
<link srcName="Intel IPU6 CSI-2 $CSI_PORT" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 0" sinkPad="0" enable="true"/>
<link srcName="Intel IPU6 CSI2 BE SOC 0" srcPad="1" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>

<videonode name="hm2170 $I2CBUS" videoNodeType="VIDEO_PIXEL_ARRAY"/>
<videonode name="Intel IPU6 CSI-2 $CSI_PORT" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="Intel IPU6 BE SOC capture 0" videoNodeType="VIDEO_GENERIC"/>
</MediaCtlConfig>

<StaticMetadata>
<!-- format,widthxheight,field(none:0,alternate:7),mcId -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1280x720,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,0,
V4L2_PIX_FMT_NV12,640x480,0,0,
V4L2_PIX_FMT_NV12,640x360,0,0,
V4L2_PIX_FMT_NV12,320x240,0,0,
V4L2_PIX_FMT_SGRBG10,1920x1080,0,0,
V4L2_PIX_FMT_NV12,1920x1080,0,0"/>

<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<fpsRange value="15,15,24,24,15,30,30,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedSceneMode value="NORMAL"/>
<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,HM2170_1SG205N3_ADL,
STILL_CAPTURE,VIDEO,HM2170_1SG205N3_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="1928x1088"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG10"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG10"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="0"/>
<exposureLag value="2"/>
<gainLag value="2"/>
<digitalGainLag value="3"/>
<ltmGainLag value="1"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<graphSettingsFile value="graph_settings_HM2170_1SG205N3_ADL.xml"/>
<graphSettingsType value="dispersed"/>
<enablePSysProcessor value="true"/>
<dvsType value="IMG_TRANS"/>
<enableAiqd value = "true"/>
<useCrlModule value = "false"/>
<maxRequestsInflight value="6"/>
</Sensor>
<Sensor name="hm2170-uf" description="hm2170 sensor.">
<MediaCtlConfig id="0" ConfigMode="AUTO" outputWidth="1928" outputHeight="1088" format="V4L2_PIX_FMT_SGRBG10"> <!-- RAW10 BE capture -->
<format name="hm2170 $I2CBUS" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI-2 $CSI_PORT" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI2 BE SOC 0" pad="0" width="1928" height="1088" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>

<link srcName="hm2170 $I2CBUS" srcPad="0" sinkName="Intel IPU6 CSI-2 $CSI_PORT" sinkPad="0" enable="true"/>
<link srcName="Intel IPU6 CSI-2 $CSI_PORT" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 0" sinkPad="0" enable="true"/>
<link srcName="Intel IPU6 CSI2 BE SOC 0" srcPad="1" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>

<videonode name="hm2170 $I2CBUS" videoNodeType="VIDEO_PIXEL_ARRAY"/>
<videonode name="Intel IPU6 CSI-2 $CSI_PORT" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="Intel IPU6 BE SOC capture 0" videoNodeType="VIDEO_GENERIC"/>
</MediaCtlConfig>

<StaticMetadata>
<!-- format,widthxheight,field(none:0,alternate:7),mcId -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1280x720,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,0,
V4L2_PIX_FMT_NV12,640x480,0,0,
V4L2_PIX_FMT_NV12,640x360,0,0,
V4L2_PIX_FMT_NV12,320x240,0,0,
V4L2_PIX_FMT_SGRBG10,1920x1080,0,0,
V4L2_PIX_FMT_NV12,1920x1080,0,0"/>

<supportedFeatures value="MANUAL_EXPOSURE,
MANUAL_WHITE_BALANCE,
IMAGE_ENHANCEMENT,
NOISE_REDUCTION,
PER_FRAME_CONTROL,
SCENE_MODE"/>
<fpsRange value="15,15,24,24,15,30,30,30"/>
<evRange value="-6,6"/>
<evStep value="1,3"/>
<supportedAeMode value="AUTO,MANUAL"/>
<supportedVideoStabilizationModes value="OFF"/>
<supportedSceneMode value="NORMAL"/>
<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,HM2170_CJFME18_ADL,
STILL_CAPTURE,VIDEO,HM2170_CJFME18_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="1928x1088"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG10"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG10"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="0"/>
<exposureLag value="2"/>
<gainLag value="2"/>
<digitalGainLag value="3"/>
<ltmGainLag value="1"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<graphSettingsFile value="graph_settings_HM2170_CJFME18_ADL.xml"/>
<graphSettingsType value="dispersed"/>
<enablePSysProcessor value="true"/>
<dvsType value="IMG_TRANS"/>
<enableAiqd value = "true"/>
<useCrlModule value = "false"/>
<maxRequestsInflight value="6"/>
</Sensor>
</CameraSettings>
Loading

0 comments on commit 6148c91

Please sign in to comment.