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/linux/ipu75xa/OV8856_CJAJ813_PTL.aiqb
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions config/linux/ipu75xa/libcamhal_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// The value format of availableSensors is "sensor name"-wf/uf-"CSI port ID".
// wf is word facing, and uf is user facing.
"availableSensors": [
"ov8856-wf-0",
"ov13b10-wf-0",
"ov13b10-uf-2",
"ov08x40-uf-0",
Expand Down
306 changes: 306 additions & 0 deletions config/linux/ipu75xa/sensors/ov8856-wf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,306 @@
//
// 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": "ov8856-wf",
"description": "ov8856 as sensor.",
"MediaCtlConfig": [
{
"id": 0 ,
"configMode": "AUTO",
"output": [3280, 2464],
"format": "V4L2_PIX_FMT_SGRBG10",
"formats": [
{
"name": "ov8856 $I2CBUS", "pad": 0, "width": 3280, "height": 2464,
"format": "V4L2_MBUS_FMT_SGRBG10_1X10"
},
{
"name": "Intel IPU7 CSI2 $CSI_PORT", "pad": 0, "width": 3280, "height": 2464,
"format": "V4L2_MBUS_FMT_SGRBG10_1X10"
}
],
"link": [
{
"srcName": "ov8856 $I2CBUS", "srcPad": 0, "sinkName": "Intel IPU7 CSI2 $CSI_PORT",
"sinkPad": 0, "enable": true
},
{
"srcName": "Intel IPU7 CSI2 $CSI_PORT", "srcPad": 1,
"sinkName": "Intel IPU7 ISYS Capture $CAP_N", "sinkPad": 0, "enable": true
}
],
"videonode": [
{
"name": "Intel IPU7 ISYS Capture $CAP_N", "videoNodeType": "VIDEO_GENERIC"
},
{
"name": "Intel IPU7 CSI2 $CSI_PORT", "videoNodeType": "VIDEO_ISYS_RECEIVER"
},
{
"name": "ov8856 $I2CBUS", "videoNodeType": "VIDEO_PIXEL_ARRAY"
}
]
}
],
"StaticMetadata": {
"supportedStreamConfig": [
{
"format": "V4L2_PIX_FMT_NV12", "size": [3264, 2448], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [1920, 1080], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [1600, 1200], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [1280, 960], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [1280, 720], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [640, 480], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [640, 360], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_NV12", "size": [320, 240], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [3264, 2448], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [1920, 1080], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [1600, 1200], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [1280, 960], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [1280, 720], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [640, 480], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [640, 360], "field": 0, "mcId": 0
},
{
"format": "V4L2_PIX_FMT_P010", "size": [320, 240], "field": 0, "mcId": 0
}
],
"supportedFeatures": [
"MANUAL_EXPOSURE", "MANUAL_WHITE_BALANCE", "IMAGE_ENHANCEMENT",
"NOISE_REDUCTION", "PER_FRAME_CONTROL", "SCENE_MODE" ],
"fpsRange": [ 15, 15, 24, 24, 15, 30, 30, 30 ],
"evRange": [ -6, 6 ],
"evStep": [ 1, 3 ],
"supportedAeMode": [ "AUTO", "MANUAL" ],
"supportedVideoStabilizationModes": ["OFF"],
"supportedSceneMode": ["NORMAL"],
"supportedAntibandingMode": [ "AUTO", "50Hz", "60Hz", "OFF" ],
"supportedAwbMode": [ "AUTO", "INCANDESCENT", "FLUORESCENT", "DAYLIGHT", "FULL_OVERCAST",
"PARTLY_OVERCAST", "SUNSET", "VIDEO_CONFERENCE", "MANUAL_CCT_RANGE", "MANUAL_WHITE_POINT",
"MANUAL_GAIN", "MANUAL_COLOR_TRANSFORM" ],
"supportedAfMode": [ "AUTO", "MACRO", "CONTINUOUS_VIDEO", "CONTINUOUS_PICTURE", "OFF" ],
"metadata":{
"ae.lockAvailable": [1],
"awb.lockAvailable": [1],
// 0: OFF, 1: AUTO, 2: USE_SCENE_MODE, 3: OFF_KEEP_STATE
"control.availableModes" : [ 0, 1 ],
// 0: DISABLE, 1: FACE_PRIORITY
"control.availableSceneModes": [1],
"control.maxRegions" : [ 1, 0, 1 ],
// 0: OFF, 1: SMPLE, 2: FULL
"statistics.info.availableFaceDetectModes" : [0],
"sensor.orientation" : [0],
// 49*16
"sensor.maxAnalogSensitivity" : [784],
"sensor.info.sensitivityRange" : [49,3057],
// align with supportedAeExposureTimeRange
"sensor.info.exposureTimeRange": [ 100, 100000 ],
"sensor.info.activeArraySize": [ 0, 0, 3280, 2464 ],
"sensor.info.pixelArraySize": [3280, 2464],
// 3280x1.12um 2464x1.12um
"sensor.info.physicalSize": [ 3.67, 2.76 ],
// 0: off, 1: solid color, 2: color bars
"sensor.availableTestPatternModes": [ 0, 2 ],
// 0:RGGB, 1:GRBG, 2:GBRG, 3:BGGR, 4:RGB
"sensor.info.colorFilterArrangement": [2],
// shading 0:OFF,1:FAST,2:HIGH_QUALITY
"shading.availableModes": [ 0, 1, 2 ],
"lens.facing": [1],
"lens.info.availableApertures": [2.0],
"lens.info.availableFilterDensities": [0.0],
"lens.info.availableFocalLengths": [2.48],
"lens.info.availableOpticalStabilization": [0],
"lens.info.hyperfocalDistance": [1.37],
"lens.info.minimumFocusDistance": [20.0],
"lens.info.shadingMapSize": [ 63, 47 ],
"lens.info.focusDistanceCalibration": [1],
// raw, yuv, jpeg
"request.maxNumOutputStreams": [ 1, 3, 1 ],
// 0: No input, 1: 1 input stream (YUV or RAW), 2: 2 input streams (YUV and RAW)
"request.maxNumInputStreams": [1],
"request.pipelineMaxDepth": [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": [ 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": [ 34, 2, 33, 35 ],
"sensor.opaqueRawSize": [3264, 2448, 100],
// available stream configurations: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, type: output(0)|input(1)
"scaler.availableStreamConfigurations": [
33, 3264, 2448, 0,
33, 1920, 1080, 0,
33, 1600, 1200, 0,
33, 1280, 960, 0,
33, 1280, 720, 0,
33, 640, 480, 0,
33, 640, 360, 0,
33, 320, 240, 0,
35, 3264, 2448, 0,
35, 1920, 1080, 0,
35, 1600, 1200, 0,
35, 1280, 960, 0,
35, 1280, 720, 0,
35, 640, 480, 0,
35, 640, 360, 0,
35, 320, 240, 0,
34, 3264, 2448, 0,
34, 3264, 2448, 1,
34, 1920, 1080, 0,
34, 1600, 1200, 0,
34, 1280, 960, 0,
34, 1280, 720, 0,
34, 640, 480, 0,
34, 640, 360, 0,
34, 320, 240, 0,
],
// minimum frame duration: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, duration:(ns)
"scaler.availableMinFrameDurations": [
33, 3264, 2448, 66666666,
33, 1920, 1080, 33333333,
33, 1600, 1200, 33333333,
33, 1280, 960, 33333333,
33, 1280, 720, 33333333,
33, 640, 480, 33333333,
33, 640, 360, 33333333,
33, 320, 240, 33333333,
35, 3264, 2448, 33333333,
35, 1920, 1080, 33333333,
35, 1600, 1200, 33333333,
35, 1280, 960, 33333333,
35, 1280, 720, 33333333,
35, 640, 480, 33333333,
35, 640, 360, 33333333,
35, 320, 240, 33333333,
34, 3264, 2448, 33333333,
34, 1920, 1080, 33333333,
34, 1600, 1200, 33333333,
34, 1280, 960, 33333333,
34, 1280, 720, 33333333,
34, 640, 480, 33333333,
34, 640, 360, 33333333,
34, 320, 240, 33333333,
],
// maximum stall duration: format: IMPLEMENTATION_DEFINED(34)|YCbCr_420_888:0x23(35)|BLOB(33), widthxheight, duration:(ns)
"scaler.availableStallDurations": [
33, 3264, 2448, 66666666,
33, 1920, 1080, 33333333,
33, 1600, 1200, 33333333,
33, 1280, 960, 33333333,
33, 1280, 720, 33333333,
33, 640, 480, 33333333,
33, 640, 360, 33333333,
33, 320, 240, 33333333,
],
// 3264*2448*1.5
"jpeg.maxSize": [11985408],
// INCREASING ORDER
"jpeg.availableThumbnailSizes": [ 0, 0, 320, 180, 320, 240 ],
// 0:off, 1:fast, 2:high_quality, 3:zero_shutter_lag
"edge.availableEdgeModes": [ 0, 1, 2, 3 ],
// 0:off, 1:fast, 2:high_quality
"hotPixel.availableHotPixelModes": [ 1, 2 ],
// 0:off, 1:fast, 2:high_quality, 3:minimal, 4:zero_shutter_lag
"noiseReduction.availableNoiseReductionModes": [ 0, 1, 2, 4 ],
"tonemap.maxCurvePoints": [1024],
// 0:contrast_curve, 1:fast, 2:high_quality, 3:gamma_value, 4:preset_curve
"tonemap.availableToneMapModes": [ 1, 2, 3, 4 ],
// Number of frames
"reprocess.maxCaptureStall": [4],
// 0:limited, 1:full, 2:legacy, 3:level3
"info.supportedHardwareLevel": [1],
// 0:per-frame, -1:unknown, other positive number:frame count
"sync.maxLatency": [0]
}
},
"supportedTuningConfig": [ ["NORMAL", "VIDEO", "OV8856_CJAJ813_PTL"], ["STILL_CAPTURE", "VIDEO", "OV8856_CJAJ813_PTL"]],
// The lard tags configuration. Every tag should be 4-characters.
// TuningMode, cmc tag, aiq tag, isp tag, others tag
"lardTags": [[ "VIDEO", "DFLT", "DFLT", "DFLT", "DFLT" ]],
// ascending order request
"supportedISysSizes": [[3280, 2464]],
"supportedISysFormat": ["V4L2_PIX_FMT_SGRBG10"],
"enableAIQ": true,
"iSysRawFormat": "V4L2_PIX_FMT_SGRBG10",
"maxRawDataNum": 32,
"initialSkipFrame": 1,
"exposureLag": 2,
"gainLag": 2,
"digitalGainLag": 0,
// There are 2 yuv color range mode, like full, reduced.
"yuvColorRangeMode": "full",
"pipeSwitchDelayFrame": 60,
"graphSettingsFile": "OV8856_CJAJ813.IPU75XA.bin",
"graphSettingsType": "dispersed",
"enablePSysProcessor": true,
"dvsType": "IMG_TRANS",
"nvmDeviceInfo": [ "NVM", 590],
"lensName": "dw9714",
"lensHwType": "LENS_VCM_HW",
"testPatternMap": { "Off": 0, "ColorBars": 1
},
"enableAiqd": true,
"useCrlModule": false,
"pslOutputMapForRotation": [
[[3264, 2448], [3264, 2448]],
[[1920, 1080], [1920, 1080]],
[[1600, 1200], [1600, 1200]],
[[1280, 960], [1280, 960]],
[[1280, 720], [1280, 720]],
[[ 640, 480], [1280, 960]],
[[ 640, 360], [1280, 720]],
[[ 320, 240], [ 640, 480]],
],
"maxRequestsInflight": 6,
"psysBundleWithAic": true,
"skipFrameV4L2Error": true,
"isISYSCompression": true,
"isPSACompression": true,
"usingMockPSys": false,
}
]
}
}
Loading