Commit ff633939 authored by fanjuan's avatar fanjuan

update acme_doc_release

parent dcd16985
{
"doc": "user",
"version": "2.0.16.0",
"#module": "ENUM: 0 - isp, 1 - filter",
"#alwayson": "ENUM: 0 - disable, 1 - AOR, 2 - DEEP",
"module": 0,
"#top": "BOOL: 0 - OFF, 1 - ON",
"top": {
"hdmi": 0,
"vi": 0,
"ispm": 0,
"ispd": 1,
"savelog": 0,
"savestream": 0,
"alwayson": 0,
"is4K": 0
},
"sensor": {
"#img_mode": "ENUM: 0 - MIPI_LINEAR_MAXRES, 1 - MIPI_HDR_MAXRES, 2 - SPI_MAXRES, 3 - DVP_MAXRES, 4 - MIPI_LINEAR_BINNING, 5 - MODE_EXT1",
"#fps": "NUM: 0 - use default, otherwise - actual fps",
"support": [
{ "lib": "libsns_os04d10_soc30.so", "device": 0, "img_mode": 0, "fps": 14.29, "mirror": 0,"flip": 0, "obj": "g_stSnsOs04d10Obj" }
]
},
"config": {
"#ispfile": "0: color_out; 1:color_in_diff; 2:aisp; 3: DN_out; 4:DN_in_diff; 5:DN_night;6:wdr_out; 7:wdr_in_diff;",
"ispfile": [ "/acme/conf/4d10/os04d10_4M_Color_Outdoor.bin","/acme/conf/4d10/os04d10_4M_Color_Outdoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Indoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Aisp_diff.bin", "/acme/conf/4d10/os04d10_4M_Black_diff.bin","/acme/conf/4d10/os04d10_4M_Color_Aisp_diff_Light.bin"],
"algfile": "/acme/conf/4d10/aisp_4M.bin"
},
"filter": {
"ispm_fps": 15,
"ispd_fps": 15,
"jpeg_depth": 3,
"vnne_depth": 3,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 1920, "height": 1080 },
"scale": { "width": 960, "height": 540 }
},
"vi": {
"src_fps": 15, "dst_fps": 15, "depth": 0, "mdscale": 2, "rotation": 0,
"gating": { "enable": 0, "vi": 1, "isp": 1, "vpu": 1 },
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"pipe": { "bayer": "BGGR" },
"tpg": { "enable": 0, "pattern": "V", "bayer": "BGGR", "motion": 0 },
"record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 }
},
"yuv": { "enable": 0, "channel": 0, "mode": 2, "depth": 0, "record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 } },
"svp": [
{
"enable": 0, "channel": 2, "mode": 1, "detect": "trigger",
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"modefile": "/acme/conf/facial_feature_extraction_1M_klasym-a8w8.hir"
},
{
"enable": 1, "channel": 3, "mode": 1, "detect": "npu",
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"lib": "libsvp_yolox.so", "intf": "SA_SVP_Postprocess_YOLOX", "modefile": "/acme/conf/object-detection-nas075_person_face_car.hir"
},
{
"enable": 0, "channel": 3, "mode": 1, "detect": "vnne",
"confthreshold": [0.6, 0.6], "outsel": 0, "filterparams": [0,0,0,0,0,0,0,0,0],
"lib": "libsvp_vnne.so", "intf": "SA_SVP_Postprocess_VNNE", "modefile": "/acme/conf/object-detection_vnne_qat-w6a8-mmdet_superacme_person_pytorch.bin"
},
{
"enable": 0, "channel": 3, "mode": 1, "detect": "md",
"delay": 0,
"roi": [
{ "valid": 1, "sensi": 6, "x0": 0, "y0": 0, "x1": 320, "y1": 0, "x2": 320, "y2": 180, "x3": 0, "y3": 180 }
]
}
],
"osd": {
"#align": "left-top, right-top, right-bottom, left-bottom, center",
"#full": "enable--ENUM:, 1 - vpss, 2 - YUV(only work on manual mode)",
"workmode": "D",
"font": { "family": "/acme/bin/simhei.ttf", "size": 32 },
"logo": [ { "enable": 0,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 256, "height": 128 },
"point": { "x": 0, "y": 0 },
"align": "left-top",
"file": "/acme/bin/x_venc_logo_256_128.bgra" } ],
"mark": [ { "enable": 1,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 256, "height": 128 },
"point": { "x": 0, "y": 0 },
"align": "left-top",
"file": "/acme/bin/logo256x128.2bpp" } ],
"text": [ { "enable": 1,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 600, "height": 64 },
"point": { "x": 0, "y": 0 },
"align": "right-bottom",
"invert": { "enable": 0, "rect": { "x": 0, "y": 0, "width": 600, "height": 64 } } } ],
"full":[ { "enable": 0,
"channel": 1,
"type": 1 } ]
},
"#wakeup/mode": "ENUM: 0 - isplite, 1 - raw",
"wakeup": {
"mode": 1, "memlen": 50331648,
"totaltime": 1000, "maxtime": 600,
"lerance": 20, "firstlevel": 0, "secondlevel": 0,
"lampdownfreqlmit":10, "lampupfreqlmit":10,
"exptime": 20000, "again": 1024, "dgain": 1024, "ispgain": 1024,
"autotarget": 1, "target": 64, "range": 10,
"isotarget": [ 64, 64, 64, 64, 65, 66, 69, 72, 75, 75, 75, 75, 75, 75, 75, 75 ]
},
"#format": "1 - aac(frmlen=1024,bitrate=32000), 2 - g711(frmlen=160,bitrate=8000)",
"audio": {
"devid": 0,
"ai": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"ao": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"aenc": { "enable": 0, "rtsp": 1, "format": 2, "ps": 0, "samplerate": 16000, "bitwidth": 16, "soundmode": 1, "bitrate": 8000 },
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
},
"jpeg": [
{
"enable": 0, "rtsp": 0, "dump": 0,
"source": { "mode": 0, "channel": 2 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "qp": 80 }, "#encode/profile": "0 - BaseLine",
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
}
],
"h264": [
{
"enable": 0, "rtsp": 0, "sei": 0, "ps": 0,
"source": { "mode": 0, "channel": 1, "sync": 0 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 2, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - BaseLine, 1 - MP, 2 - HP",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 }
}
],
"h265": [
{
"enable": 1, "rtsp": 1, "sei": 0, "ps": 0,
"source": { "mode": 1, "channel": 1, "sync": 1 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - MP",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
}
],
"vpss": [
{ "channel": 0, "src_fps": 15, "dest_fps": 15, "depth": 2, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 } },
{ "channel": 1, "src_fps": 15, "dest_fps": 15, "depth": 2, "scale": { "width": 2560, "height": 1440 } },
{ "channel": 2, "src_fps": 15, "dest_fps": 15, "depth": 2, "scale": { "width": 2560, "height": 1440 } },
{ "channel": 3, "src_fps": 15, "dest_fps": 15, "depth": 3, "scale": { "width": 640, "height": 384 } }
],
"app_isp": {
"sysmaxgain": [2457600, 2457600, 2457600, 2457600, 38, 36],
"aetarget": [46, 46, 43, 41, 39, 38, 36, 34, 32, 32, 32, 32, 30, 30, 30, 30],
"aetargetblack": [38, 38, 38, 38, 38, 36, 34, 32, 30, 30, 30, 30, 30, 30, 30, 30],
"aetargetwdr": [53, 53, 51, 49, 46, 44, 42, 40, 38, 38, 38, 38, 35, 35, 35, 35],
"aetargethdr": [42, 42, 40, 39, 38, 36, 34, 32, 30, 30, 30, 30, 28, 28, 28, 28],
"SnsStartRoute":0,
"adjStep":14,
"StartGainNode":1025,
"StartShutMax":1000000,
"maxIntimeEnable":1,
"maxIntimeAo":1000000,
"maxIntimeNor":200000,
"SenceSwitch":1,
"sd": {
"u8LogLevel":0,
"enOpType":0,
"stManual":{
"u8SceneCoarse":1,
"u8Scene":4,
"f32SceneBlend":1.5
},
"stAuto":{
"s32SundayThresh":12568,
"s32CloudyMinThresh":6000,
"s32CloudyMaxThresh":11568,
"s32IndoorMinThresh":-1200,
"s32IndoorMaxThresh":2000,
"s32IndoorMinCloudyThresh":10668,
"s32IndoorMaxCloudyThresh":11069,
"s32LowLumIndoorThresh":-500,
"s32LowLumThresh":-2500,
"s32AeShutterLowThresh":2,
"s32AeShutterHighThresh":1,
"s32B2dLowThresh":550,
"s32B2dHighThresh":10000,
"s32FarDistanceThresh":500,
"s32NearDistanceThresh":500,
"s32TempLowThresh":500,
"s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10,
"u8InitCount":7,
"u8InitScene":4,
"f32InitSceneBlend":0,
"u8InitSceneCoarse":1
},
"enAinrOpType":0,
"stAinrManual":{},
"stAinrAuto":{
"u32AinrOnIsoThr":13000,
"u32AinrOffIsoThr":12600
},
"stWdrAttr":{
"bEnable":1,
"u32WdrToLinearThr":10,
"u32LinearToWdrThr":50,
"u32EvDiffThr":5,
"u32DrDiffThr":5,
"u32WdrEnvLumaThr":11400,
"u32LinearEnvLumaThr":11400
}
} ,
"icr": {
"u16IrRGgain":276,
"u16IrBGgain":266,
"u16MaxGainDistance":350,
"stLumaParam":{
"u16MinVisibleRatio":250,
"astThrParam":[
{
"u32C2bLumaThr":591000,
"u32B2cLumaThr":39000,
"u32B2cNightLumaThr":7,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
},
{
"u32C2bLumaThr":564000,
"u32B2cLumaThr":39300,
"u32B2cNightLumaThr":5,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
},
{
"u32C2bLumaThr":536400,
"u32B2cLumaThr":39600,
"u32B2cNightLumaThr":3,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
}
]
},
"stDebugParam":{
"u16PrintInterval":0
}
},
"lamp": {
"stlampIr":{
"u32DiffTolerance":2,
"u16OffRatio":820,
"astStepLut":[
{
"u32Diff":1,
"s32Step":10
},
{
"u32Diff":20,
"s32Step":50
},
{
"u32Diff":40,
"s32Step":100
},
{
"u32Diff":80,
"s32Step":300
}
],
"astThrParam":[
{
"u32OnISO":31000,
"u32OffISO":6500,
"u32TargetISO":22800,
"u16EVOff":130
},
{
"u32OnISO":30000,
"u32OffISO":6800,
"u32TargetISO":22800,
"u16EVOff":130
},
{
"u32OnISO":29000,
"u32OffISO":7100,
"u32TargetISO":22800,
"u16EVOff":130
}
]
},
"stlampWl":{
"u32DiffTolerance":1,
"u16OffRatio":980,
"astStepLut":[
{
"u32Diff":1,
"s32Step":15
},
{
"u32Diff":10,
"s32Step":100
},
{
"u32Diff":40,
"s32Step":500
},
{
"u32Diff":80,
"s32Step":1000
}
],
"astThrParam":[
{
"u32OnISO":59200,
"u32OffISO":8000,
"u32TargetISO":25600,
"u16EVOff":130
},
{
"u32OnISO":56200,
"u32OffISO":11000,
"u32TargetISO":25600,
"u16EVOff":130
},
{
"u32OnISO":53200,
"u32OffISO":14000,
"u32TargetISO":25600,
"u16EVOff":130
}
]
},
"u8RunInterval":7,
"stEnvCompareParam":{
"bEnvCompare":0,
"u16HistBinRatioOn":1014,
"u16StdRatioOn":973,
"u16HistBinRatioOff":1014,
"u16StdRatioOff":973,
"s32RecordValidPeriod":7200
},
"stDebugParam":{
"u16PrintInterval":0
}
},
"#nightMode": "0 - day, 1 - auto(day/night)",
"#lightOff": "0 - open lamp, 1 - close lamp",
"#lightFrqWl": "wl max [0~100]",
"#lightFrqIR": "ir max [0~100]",
"stLedCtlParam":{
"wdrMode":0,
"wdrSwitchMode":0,
"sensitivity":1,
"nightMode":0,
"lightOff":0,
"lightFrqWl":100,
"lightFrqIR":100,
"lightDownFrqWl":0,
"lightDownFrqIR":0,
"icrLampMode":0,
"icrEn":0,
"lampType":0,
"lampLuma":0
},
"stIspTest":{
"enable":0,
"index":1,
"skipnum":5
}
},
"debug": {
"hdr": 0,
"gdc": 0,
"#iso": "0 - AUTO, otherwise - Manual. Range 100 - 3276800",
"iso": 0,
"#ct": "0 - AUTO, otherwise - Manual. Range 1000 - 10000",
"ct": 0,
"#hdr_gain": "0 - AUTO, otherwise - Manual. Range 32 - 1024",
"hdr_gain": 0,
"#ctrl": "0 -AUTO, 1 - Manual",
"ctrl": 0,
"fe": {
"bypass_crop": 1,
"bypass_rcrop": 1,
"bypass_fpn": 1,
"bypass_linear": 1,
"bypass_blc": 0,
"bypass_dg": 1,
"bypass_raw2l": 1,
"bypass_raw2l_binning": 0,
"bypass_raw2l_bayer2l": 1,
"bypass_binning": 1,
"bypass_lsc": 1
},
"be": {
"bypass_raw2y": 1,
"bypass_hdr": 1,
"bypass_grgb": 0,
"bypass_blc": 0,
"bypass_md": 1,
"bypass_dg": 0,
"bypass_lsc": 0,
"bypass_wb": 0,
"bypass_cfa": 0,
"bypass_pfc": 0,
"bypass_fcs": 0,
"bypass_ccm": 0,
"bypass_gtm": 1,
"bypass_lut2d": 1,
"bypass_de": 0,
"bypass_gamma": 0,
"bypass_rgb2yuv": 0,
"bypass_gme": 1,
"bypass_aiisp_pre": 1,
"bypass_aiisp_post": 1,
"bypass_aiisp": 1,
"bypass_rawnf": 0,
"bypass_dpc0": 0,
"bypass_dpc1": 1,
"bypass_ltm": 0,
"bypass_cds": 1,
"bypass_obc": 1
},
"pe": {
"bypass_preee": 1,
"bypass_tnr": 0,
"bypass_yuvnf": 0,
"bypass_postee": 0,
"bypass_texstat": 1,
"bypass_yuvlut2d": 1,
"bypass_pyrrec": 0,
"bypass_pyrdec": 0,
"bypass_petop": 0
}
}
}
{
"doc": "user",
"version": "2.0.16.0",
"#module": "ENUM: 0 - isp, 1 - filter",
"#alwayson": "ENUM: 0 - disable, 1 - AOR, 2 - DEEP",
"module": 0,
"#top": "BOOL: 0 - OFF, 1 - ON",
"top": {
"hdmi": 0,
"vi": 0,
"ispm": 0,
"ispd": 1,
"savelog": 0,
"savestream": 0,
"alwayson": 1,
"is4K": 0
},
"sensor": {
"#img_mode": "ENUM: 0 - MIPI_LINEAR_MAXRES, 1 - MIPI_HDR_MAXRES, 2 - SPI_MAXRES, 3 - DVP_MAXRES, 4 - MIPI_LINEAR_BINNING, 5 - MODE_EXT1",
"#fps": "NUM: 0 - use default, otherwise - actual fps",
"support": [
{ "lib": "libsns_os04d10_soc30.so", "device": 0, "img_mode": 0, "fps": 5.0, "mirror": 0,"flip": 0, "obj": "g_stSnsOs04d10Obj" }
]
},
"config": {
"#ispfile": "0: color_out; 1:color_in_diff; 2:aisp; 3: DN_out; 4:DN_in_diff; 5:DN_night;6:wdr_out; 7:wdr_in_diff;",
"ispfile": [ "/acme/conf/4d10/os04d10_4M_Color_Outdoor.bin","/acme/conf/4d10/os04d10_4M_Color_Outdoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Indoor_diff.bin", "/acme/conf/4d10/os04d10_4M_Color_Aisp_diff.bin", "/acme/conf/4d10/os04d10_4M_Black_diff.bin","/acme/conf/4d10/os04d10_4M_Color_Aisp_diff_Light.bin"],
"algfile": "/acme/conf/4d10/aisp_4M.bin"
},
"filter": {
"ispm_fps": 5,
"ispd_fps": 5,
"jpeg_depth": 3,
"vnne_depth": 3,
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"binning": { "width": 1920, "height": 1080 },
"scale": { "width": 960, "height": 540 }
},
"vi": {
"src_fps": 5, "dst_fps": 5, "depth": 0, "mdscale": 2, "rotation": 0,
"gating": { "enable": 0, "vi": 1, "isp": 1, "vpu": 1 },
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"pipe": { "bayer": "BGGR" },
"tpg": { "enable": 0, "pattern": "V", "bayer": "BGGR", "motion": 0 },
"record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 }
},
"yuv": { "enable": 0, "channel": 0, "mode": 2, "depth": 0, "record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 } },
"svp": [
{
"enable": 0, "channel": 2, "mode": 1, "detect": "trigger",
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"modefile": "/acme/conf/facial_feature_extraction_1M_klasym-a8w8.hir"
},
{
"enable": 0, "channel": 3, "mode": 1, "detect": "npu",
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"lib": "libsvp_yolox.so", "intf": "SA_SVP_Postprocess_YOLOX", "modefile": "/acme/conf/object-detection-nas075_person_face_car.hir"
},
{
"enable": 1, "channel": 3, "mode": 1, "detect": "vnne",
"confthreshold": [0.6, 0.6], "outsel": 0, "filterparams": [0,0,0,0,0,0,0,0,0],
"lib": "libsvp_vnne.so", "intf": "SA_SVP_Postprocess_VNNE", "modefile": "/acme/conf/object-detection_vnne_qat-w6a8-mmdet_superacme_person_pytorch.bin"
},
{
"enable": 1, "channel": 3, "mode": 1, "detect": "md",
"delay": 0,
"roi": [
{ "valid": 1, "sensi": 6, "x0": 0, "y0": 0, "x1": 320, "y1": 0, "x2": 320, "y2": 180, "x3": 0, "y3": 180 }
]
}
],
"osd": {
"#align": "left-top, right-top, right-bottom, left-bottom, center",
"#full": "enable--ENUM:, 1 - vpss, 2 - YUV(only work on manual mode)",
"workmode": "D",
"font": { "family": "/acme/bin/simhei.ttf", "size": 32 },
"logo": [ { "enable": 0,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 256, "height": 128 },
"point": { "x": 0, "y": 0 },
"align": "left-top",
"file": "/acme/bin/x_venc_logo_256_128.bgra" } ],
"mark": [ { "enable": 1,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 256, "height": 128 },
"point": { "x": 0, "y": 0 },
"align": "left-top",
"file": "/acme/bin/logo256x128.2bpp" } ],
"text": [ { "enable": 1,
"channel": 1,
"rect": { "x": 16, "y": 16, "width": 600, "height": 64 },
"point": { "x": 0, "y": 0 },
"align": "right-bottom",
"invert": { "enable": 0, "rect": { "x": 0, "y": 0, "width": 600, "height": 64 } } } ],
"full":[ { "enable": 0,
"channel": 1,
"type": 1 } ]
},
"#wakeup/mode": "ENUM: 0 - isplite, 1 - raw",
"wakeup": {
"mode": 1, "memlen": 50331648,
"totaltime": 1000, "maxtime": 600,
"lerance": 20, "firstlevel": 0, "secondlevel": 0,
"lampdownfreqlmit":10, "lampupfreqlmit":10,
"exptime": 20000, "again": 1024, "dgain": 1024, "ispgain": 1024,
"autotarget": 1, "target": 64, "range": 10,
"isotarget": [ 64, 64, 64, 64, 65, 66, 69, 72, 75, 75, 75, 75, 75, 75, 75, 75 ]
},
"#format": "1 - aac(frmlen=1024,bitrate=32000), 2 - g711(frmlen=160,bitrate=8000)",
"audio": {
"devid": 0,
"ai": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"ao": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"aenc": { "enable": 0, "rtsp": 1, "format": 2, "ps": 0, "samplerate": 16000, "bitwidth": 16, "soundmode": 1, "bitrate": 8000 },
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
},
"jpeg": [
{
"enable": 0, "rtsp": 0, "dump": 0,
"source": { "mode": 0, "channel": 2 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "qp": 80 }, "#encode/profile": "0 - BaseLine",
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
}
],
"h264": [
{
"enable": 0, "rtsp": 0, "sei": 0, "ps": 0,
"source": { "mode": 0, "channel": 1, "sync": 0 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 2, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - BaseLine, 1 - MP, 2 - HP",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 }
}
],
"h265": [
{
"enable": 1, "rtsp": 1, "sei": 0, "ps": 0,
"source": { "mode": 0, "channel": 1, "sync": 0 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - MP",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
}
],
"vpss": [
{ "channel": 0, "src_fps": 5, "dest_fps": 5, "depth": 2, "crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 } },
{ "channel": 1, "src_fps": 5, "dest_fps": 5, "depth": 2, "scale": { "width": 2560, "height": 1440 } },
{ "channel": 2, "src_fps": 5, "dest_fps": 5, "depth": 2, "scale": { "width": 2560, "height": 1440 } },
{ "channel": 3, "src_fps": 5, "dest_fps": 5, "depth": 2, "scale": { "width": 416, "height": 416 } }
],
"app_isp": {
"sysmaxgain": [2457600, 2457600, 2457600, 2457600, 38, 36],
"aetarget": [46, 46, 43, 41, 39, 38, 36, 34, 32, 32, 32, 32, 30, 30, 30, 30],
"aetargetblack": [38, 38, 38, 38, 38, 36, 34, 32, 30, 30, 30, 30, 30, 30, 30, 30],
"aetargetwdr": [53, 53, 51, 49, 46, 44, 42, 40, 38, 38, 38, 38, 35, 35, 35, 35],
"aetargethdr": [42, 42, 40, 39, 38, 36, 34, 32, 30, 30, 30, 30, 28, 28, 28, 28],
"SnsStartRoute":0,
"adjStep":14,
"StartGainNode":1025,
"StartShutMax":1000000,
"maxIntimeEnable":1,
"maxIntimeAo":1000000,
"maxIntimeNor":200000,
"SenceSwitch":1,
"sd": {
"u8LogLevel":0,
"enOpType":0,
"stManual":{
"u8SceneCoarse":1,
"u8Scene":4,
"f32SceneBlend":1.5
},
"stAuto":{
"s32SundayThresh":12568,
"s32CloudyMinThresh":6000,
"s32CloudyMaxThresh":11568,
"s32IndoorMinThresh":-1200,
"s32IndoorMaxThresh":2000,
"s32IndoorMinCloudyThresh":10668,
"s32IndoorMaxCloudyThresh":11069,
"s32LowLumIndoorThresh":-500,
"s32LowLumThresh":-2500,
"s32AeShutterLowThresh":2,
"s32AeShutterHighThresh":1,
"s32B2dLowThresh":550,
"s32B2dHighThresh":10000,
"s32FarDistanceThresh":500,
"s32NearDistanceThresh":500,
"s32TempLowThresh":500,
"s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10,
"u8InitCount":7,
"u8InitScene":4,
"f32InitSceneBlend":0,
"u8InitSceneCoarse":1
},
"enAinrOpType":0,
"stAinrManual":{},
"stAinrAuto":{
"u32AinrOnIsoThr":13000,
"u32AinrOffIsoThr":12600
},
"stWdrAttr":{
"bEnable":1,
"u32WdrToLinearThr":10,
"u32LinearToWdrThr":50,
"u32EvDiffThr":5,
"u32DrDiffThr":5,
"u32WdrEnvLumaThr":11400,
"u32LinearEnvLumaThr":11400
}
} ,
"icr": {
"u16IrRGgain":276,
"u16IrBGgain":266,
"u16MaxGainDistance":350,
"stLumaParam":{
"u16MinVisibleRatio":250,
"astThrParam":[
{
"u32C2bLumaThr":4763000,
"u32B2cLumaThr":39000,
"u32B2cNightLumaThr":7,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":1000000
},
{
"u32C2bLumaThr":4655000,
"u32B2cLumaThr":39300,
"u32B2cNightLumaThr":5,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":1000000
},
{
"u32C2bLumaThr":4545000,
"u32B2cLumaThr":39600,
"u32B2cNightLumaThr":3,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":1000000
}
]
},
"stDebugParam":{
"u16PrintInterval":0
}
},
"lamp": {
"stlampIr":{
"u32DiffTolerance":2,
"u16OffRatio":820,
"astStepLut":[
{
"u32Diff":1,
"s32Step":10
},
{
"u32Diff":20,
"s32Step":50
},
{
"u32Diff":40,
"s32Step":100
},
{
"u32Diff":80,
"s32Step":300
}
],
"astThrParam":[
{
"u32OnISO":31000,
"u32OffISO":6500,
"u32TargetISO":22800,
"u16EVOff":130
},
{
"u32OnISO":30000,
"u32OffISO":6800,
"u32TargetISO":22800,
"u16EVOff":130
},
{
"u32OnISO":29000,
"u32OffISO":7100,
"u32TargetISO":22800,
"u16EVOff":130
}
]
},
"stlampWl":{
"u32DiffTolerance":2,
"u16OffRatio":980,
"astStepLut":[
{
"u32Diff":1,
"s32Step":10
},
{
"u32Diff":10,
"s32Step":50
},
{
"u32Diff":30,
"s32Step":100
},
{
"u32Diff":40,
"s32Step":300
}
],
"astThrParam":[
{
"u32OnISO":104800,
"u32OffISO":8000,
"u32TargetISO":90000,
"u16EVOff":130
},
{
"u32OnISO":102400,
"u32OffISO":11000,
"u32TargetISO":90000,
"u16EVOff":130
},
{
"u32OnISO":100000,
"u32OffISO":14000,
"u32TargetISO":90000,
"u16EVOff":130
}
]
},
"u8RunInterval":7,
"stEnvCompareParam":{
"bEnvCompare":1,
"u16HistBinRatioOn":1014,
"u16StdRatioOn":973,
"u16HistBinRatioOff":1014,
"u16StdRatioOff":973,
"s32RecordValidPeriod":7200
},
"stDebugParam":{
"u16PrintInterval":0
}
},
"#nightMode": "0 - day, 1 - auto(day/night)",
"#lightOff": "0 - open lamp, 1 - close lamp",
"#lightFrqWl": "wl max [0~100]",
"#lightFrqIR": "ir max [0~100]",
"stLedCtlParam":{
"wdrMode":0,
"wdrSwitchMode":0,
"sensitivity":1,
"nightMode":0,
"lightOff":0,
"lightFrqWl":20,
"lightFrqIR":100,
"lightDownFrqWl":0,
"lightDownFrqIR":0,
"icrLampMode":0,
"icrEn":0,
"lampType":0,
"lampLuma":0
},
"stIspTest":{
"enable":0,
"index":1,
"skipnum":5
}
},
"debug": {
"hdr": 0,
"gdc": 0,
"#iso": "0 - AUTO, otherwise - Manual. Range 100 - 3276800",
"iso": 0,
"#ct": "0 - AUTO, otherwise - Manual. Range 1000 - 10000",
"ct": 0,
"#hdr_gain": "0 - AUTO, otherwise - Manual. Range 32 - 1024",
"hdr_gain": 0,
"#ctrl": "0 -AUTO, 1 - Manual",
"ctrl": 0,
"fe": {
"bypass_crop": 1,
"bypass_rcrop": 1,
"bypass_fpn": 1,
"bypass_linear": 1,
"bypass_blc": 0,
"bypass_dg": 1,
"bypass_raw2l": 1,
"bypass_raw2l_binning": 0,
"bypass_raw2l_bayer2l": 1,
"bypass_binning": 1,
"bypass_lsc": 1
},
"be": {
"bypass_raw2y": 1,
"bypass_hdr": 1,
"bypass_grgb": 0,
"bypass_blc": 0,
"bypass_md": 1,
"bypass_dg": 0,
"bypass_lsc": 0,
"bypass_wb": 0,
"bypass_cfa": 0,
"bypass_pfc": 0,
"bypass_fcs": 0,
"bypass_ccm": 0,
"bypass_gtm": 1,
"bypass_lut2d": 1,
"bypass_de": 0,
"bypass_gamma": 0,
"bypass_rgb2yuv": 0,
"bypass_gme": 1,
"bypass_aiisp_pre": 1,
"bypass_aiisp_post": 1,
"bypass_aiisp": 1,
"bypass_rawnf": 0,
"bypass_dpc0": 0,
"bypass_dpc1": 1,
"bypass_ltm": 0,
"bypass_cds": 1,
"bypass_obc": 1
},
"pe": {
"bypass_preee": 1,
"bypass_tnr": 0,
"bypass_yuvnf": 0,
"bypass_postee": 0,
"bypass_texstat": 1,
"bypass_yuvlut2d": 1,
"bypass_pyrrec": 0,
"bypass_pyrdec": 0,
"bypass_petop": 0
}
}
}
\ No newline at end of file
{
"doc": "user",
"version": "2.0.14.0",
"version": "2.0.16.0",
"#module": "ENUM: 0 - isp, 1 - filter",
"#alwayson": "ENUM: 0 - disable, 1 - AOR, 2 - DEEP",
"module": 0,
......@@ -37,7 +37,7 @@
"scale": { "width": 960, "height": 540 }
},
"vi": {
"src_fps": 15, "dst_fps": 15, "depth": 0, "mdscale": 2,
"src_fps": 15, "dst_fps": 15, "depth": 25, "mdscale": 2, "rotation": 0,
"gating": { "enable": 0, "vi": 1, "isp": 1, "vpu": 1 },
"crop": { "x": 0, "y": 0, "width": 2560, "height": 1440 },
"pipe": { "bayer": "BGGR" },
......@@ -48,12 +48,12 @@
"svp": [
{
"enable": 0, "channel": 2, "mode": 1, "detect": "trigger",
"confthreshold": [0.6, 0.6, 0.6],
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"modefile": "/acme/conf/facial_feature_extraction_1M_klasym-a8w8.hir"
},
{
"enable": 1, "channel": 3, "mode": 1, "detect": "npu",
"confthreshold": [0.6, 0.6, 0.6],
"confthreshold": [0.6, 0.6, 0.6, 0.6],
"lib": "libsvp_yolox.so", "intf": "SA_SVP_Postprocess_YOLOX", "modefile": "/acme/conf/object-detection-nas075_person_face_car.hir"
},
{
......@@ -101,12 +101,14 @@
"mode": 1, "memlen": 50331648,
"totaltime": 1000, "maxtime": 600,
"lerance": 20, "firstlevel": 0, "secondlevel": 0,
"lampdownfreqlmit":10, "lampupfreqlmit":10,
"exptime": 20000, "again": 1024, "dgain": 1024, "ispgain": 1024,
"autotarget": 1, "target": 64, "range": 10,
"isotarget": [ 64, 64, 64, 64, 65, 66, 69, 72, 75, 75, 75, 75, 75, 75, 75, 75 ]
},
"#format": "1 - aac(frmlen=1024,bitrate=32000), 2 - g711(frmlen=160,bitrate=8000)",
"audio": {
"devid": 0,
"ai": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"ao": { "enable": 0, "frmlen": 160, "samplerate": 16000, "bitwidth": 16, "soundmode": 1 },
"aenc": { "enable": 0, "rtsp": 1, "format": 2, "ps": 0, "samplerate": 16000, "bitwidth": 16, "soundmode": 1, "bitrate": 8000 },
......@@ -125,12 +127,12 @@
"enable": 0, "rtsp": 0, "sei": 0, "ps": 0,
"source": { "mode": 0, "channel": 1, "sync": 0 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 2, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - BaseLine, 1 - MP, 2 - HP",
"gop": { "mode": 0, "numb": 0, "length": 15, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 30, 50, 100, 110 ]
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100, "segment": 0 }
}
......@@ -140,12 +142,12 @@
"enable": 1, "rtsp": 1, "sei": 0, "ps": 0,
"source": { "mode": 1, "channel": 1, "sync": 1 }, "#source/mode": "0 - online, 1 - manual, 2 - offline",
"encode": { "profile": 0, "width": 2560, "height": 1440, "skip_enable": 1, "forceIDR": 0 }, "#encode/profile": "0 - MP",
"gop": { "mode": 0, "numb": 0, "length": 15, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"gop": { "mode": 0, "numb": 0, "length": 60, "layer": 2, "drop": 2, "ltrc": 0 }, "#gop/mode": "0 - default, 1 - pyramidal, 2 - lowdelayP, 3 - lowdelayB, 4 - adaptive, 5 - svc-t(effect on layer & drop)",
"#bitrate/mode": "0 - constQP, 1 - CBR, 2 - VBR, 5 - AVBR",
"bitrate": {
"mode": 1, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"mode": 2, "avg": 2048000, "max": 3072000, "maxframe": 2048000,
"initQP": 30, "minPQP": 10, "maxPQP": 45, "minIQP": 10, "maxIQP": 45,
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 30, 50, 100, 110 ]
"maxPicBits": 0, "maxIPicBits": 0, "mvPercent": [ 2, 6, 30 ], "brCoef": [ 50, 70, 100, 120 ]
},
"record": { "enable": 0, "frames": 0, "size": 100 , "segment": 0 }
}
......@@ -176,7 +178,7 @@
"stManual":{
"u8SceneCoarse":1,
"u8Scene":4,
"f32SceneBlend":1.5
"f32SceneBlend":0
},
"stAuto":{
"s32SundayThresh":12568,
......@@ -196,6 +198,10 @@
"s32NearDistanceThresh":500,
"s32TempLowThresh":500,
"s32TempHighThresh":500,
"u8BacklightEn":0,
"f32BacklightB2mBvK":-6,
"u32BacklightB2mBvB":25000,
"s32BacklightM2dThd":1500,
"u16TFrame":10,
"u8InitCount":7,
"u8InitScene":4,
......@@ -205,72 +211,49 @@
"enAinrOpType":0,
"stAinrManual":{},
"stAinrAuto":{
"u32AinrOnIsoThr":13000,
"u32AinrOffIsoThr":12600
"u32AinrOnIsoThr":14500,
"u32AinrOffIsoThr":10000
},
"stWdrAttr":{
"bEnable":1,
"bEnable":0,
"u32WdrToLinearThr":10,
"u32LinearToWdrThr":50,
"u32EvDiffThr":5,
"u32DrDiffThr":5
"u32DrDiffThr":4,
"u32WdrEnvLumaThr":11400,
"u32LinearEnvLumaThr":11400
}
} ,
"icr": {
"acAlgName":"luma",
"u16IrRGgain":276,
"u16IrBGgain":266,
"u16MaxGainDistance":350,
"stVoltParam":{
"bIsIrEnable":0,
"u16MinVisibleRatio":410,
"astThrParam":[
{
"u32C2bVoltThr":13238272,
"u32B2cVoltThr":11141120,
"u16C2bEvThr":75,
"u16B2cEvThr":85,
"u16C2bTooLowEvThr":14
},
{
"u32C2bVoltThr":12910592,
"u32B2cVoltThr":10813440,
"u16C2bEvThr":80,
"u16B2cEvThr":90,
"u16C2bTooLowEvThr":22
},
{
"u32C2bVoltThr":12582912,
"u32B2cVoltThr":10485760,
"u16C2bEvThr":85,
"u16B2cEvThr":95,
"u16C2bTooLowEvThr":28
}
]
},
"stLumaParam":{
"u16MinVisibleRatio":250,
"u16MinVisibleRatio":450,
"astThrParam":[
{
"u32C2bLumaThr":536400,
"u32B2cLumaThr":39000,
"u32B2cNightLumaThr":7,
"u32C2bLumaThr":385000,
"u32B2cLumaThr":150000,
"u32B2cNightLumaThr":3,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
},
{
"u32C2bLumaThr":564000,
"u32B2cLumaThr":39300,
"u32B2cNightLumaThr":5,
"u32C2bLumaThr":390000,
"u32B2cLumaThr":152000,
"u32B2cNightLumaThr":2,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
},
{
"u32C2bLumaThr":591000,
"u32B2cLumaThr":39600,
"u32B2cNightLumaThr":3,
"u32C2bLumaThr":395000,
"u32B2cLumaThr":154000,
"u32B2cNightLumaThr":1,
"u32B2cLumaRatio":1331,
"u32B2cMaxLumaRatio":716
"u32B2cMaxLumaRatio":716,
"u32MaxExpTime":200000
}
]
},
......@@ -302,21 +285,21 @@
],
"astThrParam":[
{
"u32OnISO":29000,
"u32OnISO":39000,
"u32OffISO":6500,
"u32TargetISO":22800,
"u32TargetISO":12800,
"u16EVOff":130
},
{
"u32OnISO":30000,
"u32OnISO":40000,
"u32OffISO":6800,
"u32TargetISO":22800,
"u32TargetISO":12800,
"u16EVOff":130
},
{
"u32OnISO":31000,
"u32OnISO":41000,
"u32OffISO":7100,
"u32TargetISO":22800,
"u32TargetISO":12800,
"u16EVOff":130
}
]
......@@ -388,6 +371,8 @@
"lightOff":0,
"lightFrqWl":100,
"lightFrqIR":100,
"lightDownFrqWl":0,
"lightDownFrqIR":0,
"icrLampMode":0,
"icrEn":0,
"lampType":0,
......
SD_ATTR_S g_astSdlibAttr[MEDIA_PIPE_MAX] = {
{
.u8LogLevel = 0,
.enOpType = 0,
.stManual = {0},
.stAuto =
{
.s32SundayThresh = 10000,
.s32CloudyMinThresh = 2500,
.s32CloudyMaxThresh = 9000,
.s32IndoorMinThresh = -1568,
.s32IndoorMaxThresh = -568,
.s32IndoorMinCloudyThresh = 4000,
.s32IndoorMaxCloudyThresh = 4500,
.s32LowLumIndoorThresh = -2100,
.s32LowLumThresh = -2200,
.s32AeShutterLowThresh = 2,
.s32AeShutterHighThresh = 1,
.s32B2dLowThresh = 490,
.s32B2dHighThresh = 10000,
.s32FarDistanceThresh = 500,
.s32NearDistanceThresh = 500,
.s32TempLowThresh = 500,
.s32TempHighThresh = 500,
.u8BacklightEn = 0,
.f32BacklightB2mBvK = -16,
.u32BacklightB2mBvB = 45600,
.s32BacklightM2dThd = 1000,
.u16TFrame = 128,
.u8InitCount = 7,
.u8InitScene = 4,
.f32InitSceneBlend = 0,
.u8InitSceneCoarse = 1
},
.enAinrOpType = 0,
.stAinrManual = {0},
.stAinrAuto =
{
.u32AinrOnIsoThr = 102400,
.u32AinrOffIsoThr = 102400
},
.stWdrAttr =
{
.bEnable = 0,
.u32WdrToLinearThr = 60,
.u32LinearToWdrThr = 100,
.u32EvDiffThr = 9,
.u32DrDiffThr = 4,
.u32WdrEnvLumaThr = 11400,
.u32LinearEnvLumaThr = 11400
}
},
{
.u8LogLevel = 0,
.enOpType = 0,
.stManual = {0},
.stAuto =
{
.s32SundayThresh = 10000,
.s32CloudyMinThresh = 2500,
.s32CloudyMaxThresh = 9000,
.s32IndoorMinThresh = -1568,
.s32IndoorMaxThresh = -568,
.s32IndoorMinCloudyThresh = 4000,
.s32IndoorMaxCloudyThresh = 4500,
.s32LowLumIndoorThresh = -2100,
.s32LowLumThresh = -2200,
.s32AeShutterLowThresh = 2,
.s32AeShutterHighThresh = 1,
.s32B2dLowThresh = 490,
.s32B2dHighThresh = 10000,
.s32FarDistanceThresh = 500,
.s32NearDistanceThresh = 500,
.s32TempLowThresh = 500,
.s32TempHighThresh = 500,
.u16TFrame = 128,
.u8InitCount = 7,
.u8InitScene = 4,
.f32InitSceneBlend = 0,
.u8InitSceneCoarse = 1
},
.enAinrOpType = 0,
.stAinrManual = {0},
.stAinrAuto =
{
.u32AinrOnIsoThr = 102400,
.u32AinrOffIsoThr = 102400
},
.stWdrAttr =
{
.bEnable = 0,
.u32WdrToLinearThr = 60,
.u32LinearToWdrThr = 100,
.u32EvDiffThr = 9,
.u32DrDiffThr = 4,
.u32WdrEnvLumaThr = 11400,
.u32LinearEnvLumaThr = 11400
}
}
};
\ No newline at end of file
......@@ -15,8 +15,8 @@
"Rotation 0:0,1:90,2:180,3:270",
"FilterColor 0:off,1:pink,2:blue,3:cowboy,4:cyantone,5:prettypure,6:moody"
],
"ViDev": 0, "MaxFps": 15.0, "MinFps": 15.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 1, "DebugCmd": 0,"OtpEn": 1,"OtpAwbEn": 0,"OtpLscEn": 1,
"ViDev": 0, "MaxFps": 15.0, "MinFps": 10.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0, "SharpenLevel": 50, "NoiseLevel": 50,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 1, "DebugCmd": 0,"OtpEn": 0,"OtpAwbEn": 0,"OtpLscEn": 0,
"Gdc":
{
"#note": [
......@@ -35,13 +35,13 @@
"cameraK": [1948.74, 0.000000, 1792.85, 0.000000, 1948.74, 1358.23, 0.000000, 0.000000, 1.000000],
"undistortCoefs": [-0.0477259, 0.0533227, -0.000961971, 0.00244155, -0.020744]
},
"IspFile": [ "/mnt/sdcard/12M_linear_Outdoor.bin",
"/mnt/sdcard/12M_linear_Indoor_diff.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin"],
"IspFile": [ "/acme/conf/imx681/bin/12M_linear_Outdoor.bin",
"/acme/conf/imx681/bin/12M_linear_Indoor_diff.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin"],
"AinrFile": "/acme/conf/imx681/imx681_v02_008_250_rtl.bin",
"ProEnable": 0, "ISO": 100, "AWBCt": 5000, "SportEnable": 0, "MaxIntTime": 30000,
"venc": [
......@@ -90,7 +90,7 @@
"ImageFile": "/acme/bin/logo256x128.bgra"
},
{
"Enable": 0, "Type": 2, "Style": 1,
"Enable": 1, "Type": 2, "Style": 1,
"X":32, "Y": 1000, "Width": 1888, "Height": 48,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": ""
......@@ -123,7 +123,7 @@
"BokehEnable": 0, "MFNREnable": 0, "HDREnable": 0, "ZSLEnable": 0, "SceneDtEnable": 0, "IspIterateNum": 0, "BurstShotNum":0,
"BeautyEnable": 0, "Strength": 50,
"CaptureEnable": 1, "CaptureFormat": 1, "CaptureFilePath": "/mnt/sdcard",
"ThumbEnable": 1, "ThumbWidth": 512, "ThumbHeight": 384, "ThumbFormat": 1, "ThumbFilePath": "/mnt/sdcard",
"ThumbEnable": 0, "ThumbWidth": 512, "ThumbHeight": 384, "ThumbFormat": 1, "ThumbFilePath": "/mnt/sdcard",
"EvEnable": 0, "EvEnMode":0, "EVNum": 0, "EvSaveFormat": 0,
"EV": [0,0,0,0,0,0,0,0,0,0]
},
......@@ -173,7 +173,7 @@
],
"Detect": [
{
"Enable": 0,
"Enable": 1,
"DevType": 1,
"SvpChn": 0,
"ModelFile": "/acme/conf/deploy_vnne_face_exp3_yuv444_a8w6.bin",
......
{
"doc": "media",
"version": "1.0.0.1",
"#note": [
"scene: capture,record,captureaddrecord,visual"
],
"scene": "record",
"video": {
"#note0": [
"SensorType 0:4d10,1:4a10,2:2n10,3:imx681,4:5l10,5:sc535,6:4j10,7:4l10,8:imx681_lp",
"SensorMode 0:linear,1:hdr"
],
"SensorType": 8, "SensorMode": 0,
"#note1": [
"Rotation 0:0,1:90,2:180,3:270",
"FilterColor 0:off,1:pink,2:blue,3:cowboy,4:cyantone,5:prettypure,6:moody"
],
"ViDev": 0, "MaxFps": 29.0, "MinFps": 29.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0, "SharpenLevel": 50, "NoiseLevel": 50,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 1, "DebugCmd": 0,"OtpEn": 0,"OtpAwbEn": 0,"OtpLscEn": 0,"TpgEn": 0,"BinningLoc": 1,
"Gdc":
{
"#note": [
"bGdcEn 0:disable, 1:enable undistortion",
"Rotation 0->0, 1->90, 2->180, 3->270",
"FovScale: calib result",
"UndistortScale: undistort level, 0:no undistort; 1:full undistort",
"cameraK: camera intrinsic matrix",
"undistortCoefs: wide:k1,k2,p1,p2,k3,k4,k5,k6; fisheys:k0,k1,k2,k3"
],
"bGdcEn": 0,
"Rotation": 0,
"bFishEye": 0,
"FovScale": 1.0,
"UndistortScale": 1.0,
"cameraK": [2005.7305, 0.000000, 1307.7425, 0.000000, 2005.3343, 725.1173, 0.000000, 0.000000, 1.000000],
"undistortCoefs": [20.2289239, 8.70511799, -0.00236280463, -0.00261569320, 5.47216753, 20.4867706, 16.0324546, 10.3635631]
},
"IspFile": [ "/acme/conf/imx681/bin/3M_linear_Outdoor.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin"],
"AinrFile": "/acme/conf/imx681/imx681_v02_008_250_rtl.bin",
"ProEnable": 0, "ISO": 100, "AWBCt": 5000, "SportEnable": 0, "MaxIntTime": 30000,
"venc": [
{
"#note-capture channel": [
"Qp jpeg:0-100;heif:0-51",
"SmartEncoder 0:none,1:roi,2:qp"
],
"Qp": 26,
"Width": 4032, "Height": 3024, "Bitrate": 8192000, "SmartEncoder": 0, "SmartSEI": 0,
"#note-record region": [
"Type 0:image,1:time,2:time and debug info"
],
"region": [
{
"Enable": 0, "Type": 0,
"X": 32, "Y": 32, "Width": 256, "Height": 128,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": "/acme/bin/logo256x128.bgra"
},
{
"Enable": 1, "Type": 2, "Style": 1,
"X":32, "Y": 32, "Width": 1888, "Height": 64,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": ""
}
]
},
{
"#note-record channel": [
"CodeType 0:h264,1:h265,2:jpeg",
"Qp jpeg:0-100;heif:0-51",
"RcMode 0:constQP,1:cbr,2:vbr,3:low latency,4:capped vbr,5:adaptive vbr,7:min br,63:bypass,64:jpeg fxiQP",
"SmartEncoder 0:none,1:roi,2:QP"
],
"CodeType": 1, "Qp": 26, "RcMode": 2,
"Width": 2016, "Height": 1512, "Bitrate": 15360000, "SmartEncoder": 0, "SmartSEI": 0,
"#note-record region": [
"Type 0:image,1:time,2:time and debug info"
],
"region": [
{
"Enable": 0, "Type": 0,
"X": 32, "Y": 32, "Width": 256, "Height": 128,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": "/acme/bin/logo256x128.bgra"
},
{
"Enable": 0, "Type": 2, "Style": 1,
"X":32, "Y": 1360, "Width": 1888, "Height": 48,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": ""
}
]
}
],
"sd":
{
"#note": [
"SdMode 0:auto,1:manual",
"SceneType 0:outdoor,1:indoor,2:ainr,8:backlight",
"WdrMode 0:linear,1:hdr,2:auto",
"StrategyMode 0:normal,1:blc,2:hs"
],
"SdMode": 1, "SceneType": 0, "WdrMode": 0,
"MaxInttimeEnable": 0, "IntTimeMax": 30000,
"RoiEnable": 0, "X": 0, "Y": 0, "Width": 1920, "Height": 1080,
"StrategyMode": 0, "Strength": 100,
"FlickerEnable": 0, "Frequency": 50
}
},
"capture":
{
"#note": [
"CaptureFormat 0:jpeg,1:heif",
"ThumbFormat 0:jpeg,1:heif"
],
"BokehEnable": 0, "MFNREnable": 0, "HDREnable": 0, "ZSLEnable": 0,"SceneDtEnable": 0,
"BeautyEnable": 0, "Strength": 50,
"CaptureEnable": 1, "CaptureFormat": 1, "CaptureFilePath": "/mnt/sdcard",
"ThumbEnable": 1, "ThumbWidth": 384, "ThumbHeight": 216, "ThumbFormat": 1, "ThumbFilePath": "/mnt/sdcard",
"EvEnable": 0, "EVNum": 0, "EvSaveFormat": 0,
"EV": [0,0,0,0,0,0,0,0,0,0]
},
"record":
{
"eis":
{
"#note": [
"EISMode 0:disable, 1:imu_enable, 2:eis_enable",
"RSTime: rollingshutter time, s",
"CameraOutK:camera-imu extrinsic matrix",
"ImuCalibData: imu calib data, bias(accX, accY, accZ, gyroX, gyroY, gyroZ, radius, cam-imu time offset)"
],
"EISMode": 0,
"RSTime": 0.018294,
"CameraOutK": [0.0, -1.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, -1.0],
"ImuCalibData": [0, 0, 0, 0, 0, 0, 9.83855, 0.0065]
},
"audio":
{
"#note": [
"SampleRate 8000 16000 32000 48000",
"SoundMode 1:mono,2:stereo",
"EncType 0:lcaac,1:g711a,2:g711u,3:pcm"
],
"AudioEnable": 0,
"SampleRate": 16000,
"SoundMode": 1,
"EncType": 0,
"VqeEnable": 0,"VqeParamFile": "/acme/bin/vqe.bin"
},
"#note": [
"RecordFormat 0:mp4,1:h265,2:h264,3:jpg",
"ThumbFormat 0:jpeg,1:heif"
],
"RecordEnable": 1, "RecordFormat": 1, "RecordFilePath": "/mnt/sdcard",
"ThumbEnable": 1, "ThumbWidth": 384, "ThumbHeight": 216, "ThumbFormat": 0, "ThumbFilePath": "/mnt/sdcard"
},
"svp":
{
"#note-svp": [
"DevType 0:NPU,1:VNNE",
"PreProcessType 0:WARPAFFINE,1:CROPANDRESIZE,2:STRAIGHTEN",
"OutputType 0:RAW,1:RECT,2:POLYGON,3:TEXT",
"TriggerClassId -1:Whole image detection, >=0:Specify target trigger",
"ConfThreshold & NmsThreshold Only Detect Model Needed"
],
"Detect": [
{
"Enable": 0,
"DevType": 1,
"SvpChn": 0,
"ModelFile": "/acme/conf/deploy_vnne_face_exp3_yuv444_a8w6.bin",
"ModelSize" : {
"Width": 416,
"Height": 256
},
"OutputType": 1,
"PostProcessLib": "/acme/lib/libsvp_vnne.so",
"Param": {
"ConfThreshold": [0.5],
"NmsThreshold": 0.65
}
},
{
"Enable": 0
}
],
"SmartDependChn": 0,
"SmartSync": 0,
"SmartAE": 0,
"SmartAEClassId": 0,
"TriggerMoveThreshold": 0,
"Structured": [
{
"Enable": 0
},
{
"Enable": 0
}
],
"StructuredSize": {
"Width": 0,
"Height": 0
}
},
"visual":
{
"#note": [
"EncTpye 0:h264, 1:h265, 2:jpeg",
"Binning Width: max 960, Height: max 536, from Crop size of 1/2 1/4, eg: 2560/4=640 && 1408/4=352, 1920/2=960 && 1072/2=536",
"DumpStreamNum 0:disable, n:save n frames",
"DumpStreamFilePath : h264/h265 stream file path to save"
],
"Fps": 30.0,
"EncTpye": 1,
"Crop": { "X": 0, "Y": 0, "Width": 1920, "Height": 1072 },
"Binning": { "Enable": 1, "Width": 960, "Height": 536 },
"DumpStreamNum": 0, "DumpStreamFilePath": "/mnt/sdcard/"
}
}
......@@ -15,8 +15,8 @@
"Rotation 0:0,1:90,2:180,3:270",
"FilterColor 0:off,1:pink,2:blue,3:cowboy,4:cyantone,5:prettypure,6:moody"
],
"ViDev": 0, "MaxFps": 5.0, "MinFps": 5.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 2, "DebugCmd": 0,"OtpEn": 1,"OtpAwbEn": 0,"OtpLscEn": 1,
"ViDev": 0, "MaxFps": 5.0, "MinFps": 5.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0, "SharpenLevel": 50, "NoiseLevel": 50,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 2, "DebugCmd": 0,"OtpEn": 0,"OtpAwbEn": 0,"OtpLscEn": 0,
"Gdc":
{
"#note": [
......@@ -35,13 +35,13 @@
"cameraK": [1948.74, 0.000000, 1792.85, 0.000000, 1948.74, 1358.23, 0.000000, 0.000000, 1.000000],
"undistortCoefs": [-0.0477259, 0.0533227, -0.000961971, 0.00244155, -0.020744]
},
"IspFile": [ "/mnt/sdcard/12M_linear_Outdoor.bin",
"/mnt/sdcard/12M_linear_Indoor_diff.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin"],
"IspFile": [ "/acme/conf/imx681/bin/12M_linear_Outdoor.bin",
"/acme/conf/imx681/bin/12M_linear_Indoor_diff.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin"],
"AinrFile": "/acme/conf/imx681/imx681_v02_008_250_rtl.bin",
"ProEnable": 0, "ISO": 100, "AWBCt": 5000, "SportEnable": 0, "MaxIntTime": 30000,
"venc": [
......@@ -77,8 +77,8 @@
"RcMode 0:constQP,1:cbr,2:vbr,3:low latency,4:capped vbr,5:adaptive vbr,7:min br,63:bypass,64:jpeg fxiQP",
"SmartEncoder 0:none,1:roi,2:QP"
],
"CodeType": 1, "Qp": 26, "RcMode": 2,
"Width": 960, "Height": 720, "Bitrate": 1024000, "SmartEncoder": 0, "SmartSEI": 0,
"CodeType": 1, "Qp": 26, "RcMode": 0,
"Width": 1920, "Height": 1080, "Bitrate": 4096000, "SmartEncoder": 0, "SmartSEI": 0,
"#note-record region": [
"Type 0:image,1:time,2:time and debug info"
],
......@@ -172,7 +172,7 @@
],
"Detect": [
{
"Enable": 0,
"Enable": 1,
"DevType": 1,
"SvpChn": 0,
"ModelFile": "/acme/conf/deploy_vnne_face_exp3_yuv444_a8w6.bin",
......
......@@ -15,8 +15,8 @@
"Rotation 0:0,1:90,2:180,3:270",
"FilterColor 0:off,1:pink,2:blue,3:cowboy,4:cyantone,5:prettypure,6:moody"
],
"ViDev": 0, "MaxFps": 29.0, "MinFps": 29.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 3, "DebugCmd": 0,"OtpEn": 1,"OtpAwbEn": 0,"OtpLscEn": 1,"BinningLoc": 1,
"ViDev": 0, "MaxFps": 29.0, "MinFps": 29.0, "Mirror": 0, "Flip": 0, "PyrOff": 0, "TnrOff": 0, "AinrOff": 0, "GtmOff": 0, "LtmOff": 0, "SharpenLevel": 50, "NoiseLevel": 50,
"FilterColor": 0, "ViDumpDepth": 1, "VpssDumpDepth": 1, "DebugCmd": 0,"OtpEn": 0,"OtpAwbEn": 0,"OtpLscEn": 0,"BinningLoc": 1,
"Gdc":
{
"#note": [
......@@ -35,13 +35,13 @@
"cameraK": [2005.7305, 0.000000, 1307.7425, 0.000000, 2005.3343, 725.1173, 0.000000, 0.000000, 1.000000],
"undistortCoefs": [20.2289239, 8.70511799, -0.00236280463, -0.00261569320, 5.47216753, 20.4867706, 16.0324546, 10.3635631]
},
"IspFile": [ "/mnt/sdcard/3M_linear_Outdoor.bin",
"/mnt/sdcard/3M_linear_Indoor_diff.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin",
"/mnt/sdcard/tmp.bin"],
"IspFile": [ "/acme/conf/imx681/bin/3M_linear_Outdoor.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin",
"/acme/conf/imx681/bin/tmp.bin"],
"AinrFile": "/acme/conf/imx681/imx681_v02_008_250_rtl.bin",
"ProEnable": 0, "ISO": 100, "AWBCt": 5000, "SportEnable": 0, "MaxIntTime": 30000,
"venc": [
......@@ -63,8 +63,8 @@
"ImageFile": "/acme/bin/logo256x128.bgra"
},
{
"Enable": 0, "Type": 2, "Style": 1,
"X":32, "Y": 2896, "Width": 1888, "Height": 48,
"Enable": 1, "Type": 2, "Style": 1,
"X":32, "Y": 32, "Width": 1888, "Height": 64,
"Color0": 16777215, "Color1": 6171602, "Color2": 16745541,
"ImageFile": ""
}
......@@ -106,7 +106,7 @@
"WdrMode 0:linear,1:hdr,2:auto",
"StrategyMode 0:normal,1:blc,2:hs"
],
"SdMode": 0, "SceneType": 0, "WdrMode": 0,
"SdMode": 1, "SceneType": 0, "WdrMode": 0,
"MaxInttimeEnable": 0, "IntTimeMax": 30000,
"RoiEnable": 0, "X": 0, "Y": 0, "Width": 1920, "Height": 1080,
"StrategyMode": 0, "Strength": 100,
......@@ -193,7 +193,7 @@
],
"SmartDependChn": 0,
"SmartSync": 0,
"SmartAE": 1,
"SmartAE": 0,
"SmartAEClassId": 0,
"TriggerMoveThreshold": 0,
"Structured": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment