Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added config/ubuntu/adl/gc5035.aiqb
Binary file not shown.
12,081 changes: 12,081 additions & 0 deletions config/ubuntu/adl/gcss/graph_settings_gc5035.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/ubuntu/adl/libcamhal_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<!-- The value format of availableSensors is "sensor name"-wf/uf-"CSI port ID".
wf is word facing, and uf is user facing.
-->
<availableSensors value="ov13b10-wf-2,ov13b10-uf-1,ov8856-wf-2,ov8856-uf-1,ov01a10-uf-1,ov01a10-uf-2,ov02c10-uf-1,ov02c10-uf-2,ov2740-uf-1,hm2170-uf-1,hi556-uf-1,ov01a1s-uf-1"/>
<availableSensors value="gc5035-uf-3,ov13b10-wf-2,ov13b10-uf-1,ov8856-wf-2,ov8856-uf-1,ov01a10-uf-1,ov01a10-uf-2,ov02c10-uf-1,ov02c10-uf-2,ov2740-uf-1,hm2170-uf-1,hi556-uf-1,ov01a1s-uf-1"/>
</Common>
</CameraSettings>
249 changes: 249 additions & 0 deletions config/ubuntu/adl/sensors/gc5035-uf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
<?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="gc5035-uf" description="gc5035 as sensor.">
<MediaCtlConfig id="0" ConfigMode="AUTO" outputWidth="2592" outputHeight="1944" format="V4L2_PIX_FMT_SGRBG10"> <!-- RAW10 BE capture -->
<format name="gc5035 $I2CBUS" pad="0" width="2592" height="1944" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI-2 $CSI_PORT" pad="0" width="2592" height="1944" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI2 BE SOC 0" pad="0" width="2592" height="1944" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<format name="Intel IPU6 CSI2 BE SOC 0" pad="1" width="2592" height="1944" format="V4L2_MBUS_FMT_SGRBG10_1X10"/>
<selection name="Intel IPU6 CSI2 BE SOC 0" pad="1" target="V4L2_SEL_TGT_CROP" left="0" top="0" width="2592" height="1944"/>

<link srcName="gc5035 $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="Intel IPU6 BE SOC capture 0" videoNodeType="VIDEO_GENERIC"/>
<videonode name="Intel IPU6 CSI-2 $CSI_PORT" videoNodeType="VIDEO_ISYS_RECEIVER"/>
<videonode name="gc5035 $I2CBUS" videoNodeType="VIDEO_PIXEL_ARRAY"/>
</MediaCtlConfig>

<StaticMetadata>
<!-- format,widthxheight,field(none:0,alternate:7),mcId -->
<supportedStreamConfig value="V4L2_PIX_FMT_NV12,1280x720,0,0,
V4L2_PIX_FMT_NV12,1920x1080,0,0,
V4L2_PIX_FMT_NV12,1280x960,0,0,
V4L2_PIX_FMT_NV12,1600x1200,0,0,
V4L2_PIX_FMT_NV12,640x480,0,0,
V4L2_PIX_FMT_NV12,2560x1440,0,0,
V4L2_PIX_FMT_NV12,2560x1920,0,0,
V4L2_PIX_FMT_NV12,640x360,0,0,
V4L2_PIX_FMT_NV12,320x240,0,0,
V4L2_PIX_FMT_SGRBG10,2592x1944,0,0,
V4L2_PIX_FMT_NV12,4096x3072,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="AUTO,MACRO,CONTINUOUS_VIDEO,CONTINUOUS_PICTURE,OFF"/>

<!-- 0:FALSE, 1: TRUE -->
<ae.lockAvailable value="1"/>
<awb.lockAvailable value="1"/>
<!-- 0: OFF, 1: AUTO, 2: USE_SCENE_MODE, 3: OFF_KEEP_STATE -->
<control.availableModes value="0,1"/>
<!-- 0: DISABLE, 1: FACE_PRIORITY -->
<control.availableSceneModes value="1"/>
<control.maxRegions value="1,0,1"/>
<!-- 0: OFF, 1: SMPLE, 2: FULL -->
<statistics.info.availableFaceDetectModes value="0"/>
<statistics.info.maxFaceCount value="0"/>

<sensor.orientation value="0"/>
<sensor.info.sensitivityRange value="49,800"/>
<!-- microsecond -->
<sensor.info.exposureTimeRange value="100,100000"/> <!-- align with supportedAeExposureTimeRange -->

<!-- Blow static metadata are for camera HAL V3 -->
<sensor.info.activeArraySize value="0,0,2592,1944"/>
<sensor.info.pixelArraySize value="2592x1944"/>
<!-- 4208x1.12um 3120x1.12um -->
<sensor.info.physicalSize value="3.67,2.76"/>
<!-- 0: off, 1: solid color, 2: color bars -->
<sensor.availableTestPatternModes value="0,2"/>
<!-- 0:RGGB, 1:GRBG, 2:GBRG, 3:BGGR, 4:RGB -->
<sensor.info.colorFilterArrangement value="2"/>

<!-- shading 0:OFF,1:FAST,2:HIGH_QUALITY-->
<shading.availableModes value="0,1,2"/>

<!-- Lens -->
<lens.facing value="0"/>
<!-- Lens info -->
<lens.info.availableApertures value="2.0"/>
<lens.info.availableFilterDensities value="0.0"/>
<lens.info.availableFocalLengths value="2.48"/>
<lens.info.availableOpticalStabilization value="0"/>
<lens.info.hyperfocalDistance value="1.37"/>
<lens.info.minimumFocusDistance value="20.0"/>
<lens.info.shadingMapSize value="63,47"/>
<!-- 0:UNCALIBRATED, 1:APPROXIMATE, 2:CALIBRATED -->
<lens.info.focusDistanceCalibration value="1"/>

<!-- raw, yuv, jpeg -->
<request.maxNumOutputStreams value="1,3,1"/>
<!-- 0: No input, 1: 1 input stream (YUV or RAW), 2: 2 input streams (YUV and RAW) -->
<request.maxNumInputStreams value="1"/>
<request.pipelineMaxDepth value="6"/>
<!-- 0:backward, 1:manual_sensor, 2:manual_pso_processing, 3:raw, 4:zsl, 5:read_sensor_settings, 6:burst_capture, 7: yuv reprocessing -->
<request.availableCapabilities value="0,1,2,4,5,6"/>

<!-- input fmt, output fmt number, output fmts; fmt: YCbCr_420_888:0x23 (35), IMPLEMENTATION_DEFINED:0x22 (34), Blob:0x21 (33) -->
<scaler.availableInputOutputFormatsMap value="34,2,33,35"/>
<!-- [width, height, raw-out-size] -->
<sensor.opaqueRawSize value="2592,1944,100"/>
<!-- available stream configurations: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, type: output(0)|input(1) -->
<scaler.availableStreamConfigurations value="
33,2592x1944,0,
33,1920x1080,0,
33,1600x1200,0,
33,1280x960,0,
33,1280x720,0,
33,640x480,0,
33,640x360,0,
33,320x240,0,
35,2592x1944,0,
35,1920x1080,0,
35,1600x1200,0,
35,1280x960,0,
35,1280x720,0,
35,640x480,0,
35,640x360,0,
35,320x240,0,
34,2592x1944,0,
34,2592x1944,1,
34,1920x1080,0,
34,1600x1200,0,
34,1280x960,0,
34,1280x720,0,
34,640x480,0,
34,640x360,0,
34,320x240,0" />
<!-- minimum frame duration: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, duration:(ns) -->
<scaler.availableMinFrameDurations value="
33,2592x1944,66666666,
33,1920x1080,33333333,
33,1600x1200,33333333,
33,1280x960,33333333,
33,1280x720,33333333,
33,640x480,33333333,
33,640x360,33333333,
33,320x240,33333333,
35,2592x1944,66666666,
35,1920x1080,33333333,
35,1600x1200,33333333,
35,1280x960,33333333,
35,1280x720,33333333,
35,640x480,33333333,
35,640x360,33333333,
35,320x240,33333333,
34,2592x1944,66666666,
34,1920x1080,33333333,
34,1600x1200,33333333,
34,1280x960,33333333,
34,1280x720,33333333,
34,640x480,33333333,
34,640x360,33333333,
34,320x240,33333333" />
<!-- maximum stall duration: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, duration:(ns) -->
<scaler.availableStallDurations value="
33,2592x1944,66666666,
33,1920x1080,33333333,
33,1600x1200,33333333,
33,1280x960,33333333,
33,1280x720,33333333,
33,640x480,33333333,
33,640x360,33333333,
33,320x240,33333333" />

<jpeg.maxSize value="7558272"/> <!-- 2592*1944*1.5 -->
<jpeg.availableThumbnailSizes value="0,0,320,180,320,240"/> <!-- INCREASING ORDER -->

<!-- 0:off, 1:fast, 2:high_quality, 3:zero_shutter_lag -->
<edge.availableEdgeModes value="0,1,2,3"/>
<!-- 0:off, 1:fast, 2:high_quality -->
<hotPixel.availableHotPixelModes value="1,2"/>
<!-- 0:off, 1:fast, 2:high_quality, 3:minimal, 4:zero_shutter_lag -->
<noiseReduction.availableNoiseReductionModes value="0,1,2,4"/>
<tonemap.maxCurvePoints value="1024"/>
<!-- 0:contrast_curve, 1:fast, 2:high_quality, 3:gamma_value, 4:preset_curve -->
<tonemap.availableToneMapModes value="1,2,3,4"/>
<!-- Number of frames -->
<reprocess.maxCaptureStall value="4"/>
<!-- 0:limited, 1:full, 2:legacy, 3:level3 -->
<info.supportedHardwareLevel value="1"/>
<!-- 0:per-frame, -1:unknown, other positive number:frame count -->
<sync.maxLatency value="0"/>
</StaticMetadata>

<supportedTuningConfig value="NORMAL,VIDEO,gc5035,
STILL_CAPTURE,VIDEO,gc5035"/>

<!-- 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="2592x1944"/> <!-- ascending order request -->
<supportedISysFormat value="V4L2_PIX_FMT_SGRBG10"/>
<enableAIQ value="true"/>
<iSysRawFormat value="V4L2_PIX_FMT_SGRBG10"/>
<maxRawDataNum value="32"/>
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
<initialSkipFrame value="0"/>
<exposureLag value="2"/>
<gainLag value="2"/>
<digitalGainLag value="0"/>
<ltmGainLag value="1"/>
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
<pipeSwitchDelayFrame value="60"/>
<graphSettingsFile value="graph_settings_gc5035.xml"/>
<graphSettingsType value="dispersed"/>
<enablePSysProcessor value="true"/>
<dvsType value="IMG_TRANS"/>
<nvmDeviceInfo value="NVM,1680"/>
<lensName value="dw9714"/>
<lensHwType value="LENS_VCM_HW"/>
<testPatternMap value="Off,0,ColorBars,2"/>
<AlgoRunningRate value="AE,0.2,AWB,0.2"/> <!-- AE running rate is 0.2, AWB running rate is 0.2. -->
<enableAiqd value = "true"/>
<useCrlModule value = "false"/>
<pslOutputMapForRotation value="2592x1944@2592x1944,1920x1080@1920x1080,1600x1200@1600x1200,
1280x960@1280x960,1280x720@1280x720,640x480@1280x960,640x360@1280x720,320x240@640x480"/>

<maxRequestsInflight value="6"/>
<faceEngineRunningInterval value="10"/>
<faceEngineRunningIntervalNoFace value="10"/>
<faceEngineVendor value="1"/> <!-- pvl face detection:0, google facessd:1 -->
<faceEngineByIPU value="true"/>
<psysAlignWithSof value="true"/>
<psysBundleWithAic value="true"/>
<skipFrameV4L2Error value="true"/>
<isISYSCompression value="true"/>
<isPSACompression value="true"/>
</Sensor>
</CameraSettings>
Loading