peridot: Import from V816.0.5.0.UNPMIXM
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
//for algomask
|
||||
//bit[0] enable support mfnr/hdr/sr/mfbokeh
|
||||
//bit[1] enable anchor up :pre anchor
|
||||
//bit[2] enbale anchor down
|
||||
//bit[3] enable frame Resuse
|
||||
//bit[4] monitor First Shutter
|
||||
//bit[5] monitor Final Shutter
|
||||
//bit[6] monitor Final Buffer
|
||||
//bit[7] reserve
|
||||
//bit[8-15] control reserve
|
||||
//bit[16-31] reserve
|
||||
{
|
||||
"enableDSACMoudle" : false,
|
||||
"forceEnableDSACStorage" : false,
|
||||
"UsePropPriority": true,
|
||||
"enableGalleryComplete": false,
|
||||
"MFNRMask" : 17,
|
||||
"HDRMask" : 17,
|
||||
"SRMask" : 17,
|
||||
"MFNRBokehMask" : 1,
|
||||
"MfnrBokehMultiNumber" : 5,
|
||||
"enableLoadMeta" : true,
|
||||
"enableDumpMeta" : false,
|
||||
"SDCardWriteType" : 2,
|
||||
"MaxStorageNum" : 50,
|
||||
"MinWbAvailBuf" : 2
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"PipelineName": "DualBokehJpegSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,332 @@
|
||||
{
|
||||
"PipelineName": "DualBokehSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.capbokeh",
|
||||
"NodeInstance": "CapbokehInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":270
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance1",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.capdepth",
|
||||
"NodeInstance": "CapdepthInstance0",
|
||||
"OutputBufferNeedCheck" : false,
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":132
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcrawhdr",
|
||||
"NodeInstance": "CaphdrInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcsoftsll",
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
||||
"NodeInstance": "CapbeautyInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.anchor",
|
||||
"NodeInstance": "anchorInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.virtual",
|
||||
"NodeInstance": "virtualInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":512
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpyCustomization",
|
||||
"NodeInstance": "MemcpyCustomizationInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"pluginMode",
|
||||
"NodePropertyValue":2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpyCustomization",
|
||||
"NodeInstance": "MemcpyCustomizationInstance1",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"pluginMode",
|
||||
"NodePropertyValue":2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "anchorInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "anchorInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "virtualInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "virtualInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "MemcpyCustomizationInstance1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyCustomizationInstance1"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapdepthInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "virtualInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CaphdrInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CaphdrInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance1",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance1",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapbeautyInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapbeautyInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapbokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SourceBuffer1"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyCustomizationInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "virtualInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "MemcpyCustomizationInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyCustomizationInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "CapdepthInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapdepthInstance0",
|
||||
"PortFormat": "Y16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "CapbokehInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "CapbokehInstance0",
|
||||
"PortFormat": "Y16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "SinkBuffer2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "CapbokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer0",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "CapbokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SinkBuffer1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,534 @@
|
||||
{
|
||||
"ModeList":
|
||||
{
|
||||
"Mode": [
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
// 0x9010, StreamConfigModeThirdCamera
|
||||
"SessionOpMode": 65290,
|
||||
"VendorOpMode": 36866,
|
||||
"LensFacing": 60,
|
||||
"FeatureMask" : 16625,
|
||||
//0x40f1 mihalMfnr/hdr/sr/srhdr/beauty/rawhdr
|
||||
"Signature": "Normal",
|
||||
"StreamConfig": [
|
||||
// yuv stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of tele
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of tele4x
|
||||
{
|
||||
"roleId": 23,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of ultra wide for mihal mfnr
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of wide for mihal mfnr
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of tele for mihal mfnr
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of tele4x for mihal mfnr
|
||||
{
|
||||
"roleId": 23,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of ultra wide for supernight
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of wide for supernight
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of tele for supernight
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of tele4x for supernight
|
||||
{
|
||||
"roleId": 23,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65290,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 36880,
|
||||
"LensFacing": 1,
|
||||
"FeatureMask" : 49170,
|
||||
//0xC012 vendorMfnr/bokeh/beauty/hdr
|
||||
"Signature": "Normal",
|
||||
"StreamConfig": [
|
||||
// yuv stream
|
||||
{
|
||||
"ratio": 0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65292,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 32778,
|
||||
"LensFacing": [0,21,20,23],
|
||||
"FeatureMask" : 258,
|
||||
//0x102 vendorMfnr/sn
|
||||
"Signature": "SuperNight",
|
||||
"StreamConfig": [
|
||||
// raw stream
|
||||
{
|
||||
"ratio": 0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream
|
||||
{
|
||||
"ratio": 0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65292,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 32778,
|
||||
"LensFacing": 64,
|
||||
"FeatureMask" : 258,
|
||||
"Signature": "SuperNight",
|
||||
"BufferLimitCnt": 8,
|
||||
"VendorSnapshotBufferQueueSize": 20,
|
||||
"StreamConfig": [
|
||||
// raw16 stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65292,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 32778,
|
||||
"LensFacing": 1,
|
||||
"FeatureMask" : 258,
|
||||
//0x102 vendorMfnr/sn
|
||||
"Signature": "SuperNight",
|
||||
"StreamConfig": [
|
||||
// yuv stream
|
||||
{
|
||||
"ratio": 0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
// 0x9000, StreamConfigModeAlgoDual
|
||||
"SessionOpMode": 65298,
|
||||
"VendorOpMode": 36864,
|
||||
"Signature": "Bokeh",
|
||||
"LensFacing": 60,
|
||||
"BufferLimitCnt": 6,
|
||||
"VendorSnapshotBufferQueueSize": 17,
|
||||
"FlushWaitTimeMs": 4000,
|
||||
"FeatureMask" : 33040,
|
||||
//0x8110 bokeh/hdr/sn
|
||||
"StreamConfig": [
|
||||
// yuv stream of master
|
||||
{
|
||||
// BokehCamSig::masterYuv
|
||||
"bokehSig": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of slave
|
||||
{
|
||||
// BokehCamSig::slaveYuv
|
||||
"bokehSig": 2,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of master for sebokeh
|
||||
{
|
||||
// BokehCamSig::masterRaw
|
||||
"bokehSig": 1,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of slave for sebokeh
|
||||
{
|
||||
// BokehCamSig::slaveRaw
|
||||
"bokehSig": 3,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
// 0x9000, StreamConfigModeAlgoDual
|
||||
"SessionOpMode": 65301,
|
||||
"VendorOpMode": 36864,
|
||||
"Signature": "Bokeh2x",
|
||||
"LensFacing": 60,
|
||||
"BufferLimitCnt": 6,
|
||||
"VendorSnapshotBufferQueueSize": 17,
|
||||
"FlushWaitTimeMs": 4000,
|
||||
"FeatureMask" : 33040,
|
||||
//0x8110 bokeh/hdr/sn
|
||||
"StreamConfig": [
|
||||
// yuv stream of master
|
||||
{
|
||||
// BokehCamSig::masterYuv
|
||||
"bokehSig": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of slave
|
||||
{
|
||||
// BokehCamSig::slaveYuv
|
||||
"bokehSig": 2,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of master for sebokeh
|
||||
{
|
||||
// BokehCamSig::masterRaw
|
||||
"bokehSig": 1,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw10 stream of slave for sebokeh
|
||||
{
|
||||
// BokehCamSig::slaveRaw
|
||||
"bokehSig": 3,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 37,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65298,
|
||||
"VendorOpMode": 36880,
|
||||
"Signature": "FrontBokeh",
|
||||
"LensFacing": 1,
|
||||
"FeatureMask" : 32768,
|
||||
"StreamConfig": [
|
||||
// yuv stream
|
||||
{
|
||||
"ratio": 0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
// BitMaskYCbCr10bitFormat / BitMaskPreviewHWFormat / BitMaskBlobFormat / BitMaskYCbCrFormat / BitMaskPreviewFormat
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65297,
|
||||
"VendorOpMode": 32817,
|
||||
"Signature": "VideoNight",
|
||||
"FeatureMask" : 18,
|
||||
"VideoMode": true,
|
||||
"LensFacing": 0,
|
||||
"AllowStreamsMask": [
|
||||
13,7
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65293,
|
||||
"VendorOpMode": 32793,
|
||||
"Signature": "SdkVideoEIS",
|
||||
"FeatureMask" : 16,
|
||||
"VideoMode": true,
|
||||
"LensFacing": [ 0,21 ],
|
||||
"AllowStreamsMask": [
|
||||
13,7,1,3,5,9
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65293,
|
||||
"VendorOpMode": 37382,
|
||||
"Signature": "SdkVideoEIS",
|
||||
"FeatureMask" : 16,
|
||||
"VideoMode": true,
|
||||
"LensFacing": 60,
|
||||
"AllowStreamsMask": [
|
||||
13,7,1,3,5,9
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65302,
|
||||
"VendorOpMode": 32772,
|
||||
"Signature": "SdkVideoEISV3",
|
||||
"FeatureMask" : 64,
|
||||
"VideoMode": true,
|
||||
"LensFacing": 60,
|
||||
"AllowStreamsMask": [
|
||||
13,7
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65296,
|
||||
"VendorOpMode": 37380,
|
||||
"Signature": "VideoHDR",
|
||||
"FeatureMask" : 17,
|
||||
"VideoMode": true,
|
||||
"LensFacing": 0,
|
||||
"AllowStreamsMask": [
|
||||
13,7
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65299,
|
||||
"VendorOpMode": 32793,
|
||||
"Signature": "VideoNormal",
|
||||
"FeatureMask" : 52,
|
||||
"VideoMode": true,
|
||||
"LensFacing": [ 0,1,21 ],
|
||||
"AllowStreamsMask": [
|
||||
13,7
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65303,
|
||||
// 0x9002, StreamConfigModeAlgoDualSAT
|
||||
"VendorOpMode": 36866,
|
||||
"LensFacing": 64,
|
||||
"FeatureMask" : 432,
|
||||
"Signature": "SdkAuto",
|
||||
"BufferLimitCnt": 12,
|
||||
"VendorSnapshotBufferQueueSize": 30,
|
||||
"StreamConfig": [
|
||||
// raw16 stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::SDK
|
||||
"CameraUser": 1,
|
||||
"SessionOpMode": 65303,
|
||||
// 0x9001, StreamConfigModeQCFALite
|
||||
"VendorOpMode": 36865,
|
||||
// 0x8005, StreamConfigModeMiuiZslFront
|
||||
"MialgoOpMode": 32773,
|
||||
"LensFacing": 1,
|
||||
"Signature": "SingleFront",
|
||||
"BufferLimitCnt": 3,
|
||||
"FlushWaitTimeMs": 4000,
|
||||
// 0001 0010, 0x12, vendorMfnr/hdr
|
||||
"FeatureMask" : 18,
|
||||
"StreamConfig": [
|
||||
// yuv stream for front single camera
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"PipelineName": "FrontBokehSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.frontbokeh",
|
||||
"NodeInstance": "FrontBokehInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcportraitrawhdr",
|
||||
"NodeInstance": "RawHDRInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.swflip",
|
||||
"NodeInstance": "SwflipInstance"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
||||
"NodeInstance": "SkinBeautifierInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "RawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "RawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "FrontBokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "FrontBokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "FrontBokehInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SinkBuffer1",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "FrontBokehInstance0",
|
||||
"PortFormat": "Y16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 2,
|
||||
"NodeInstance": "SinkBuffer2",
|
||||
"PortFormat": "Y16"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"PipelineName": "FrontSingleSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.swflip",
|
||||
"NodeInstance": "SwflipInstance"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcportraitrawhdr",
|
||||
"NodeInstance": "RawHDRInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
||||
"NodeInstance": "SkinBeautifierInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcfrontsll",
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "RawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "RawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"PipelineName": "FrontSuperNightSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcfrontsll",
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.swflip",
|
||||
"NodeInstance": "SwflipInstance"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
||||
"NodeInstance": "SkinBeautifierInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftFrontSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"PipelineName": "FrontSuperNightSnapshotJpeg",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.swflip",
|
||||
"NodeInstance": "SwflipInstance"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SwflipInstance",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"PipelineName": "manualsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.ldc",
|
||||
"NodeInstance": "LDCInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.depurple",
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"PipelineName": "miuicamerayuv2heic",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "HeicInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "HeicInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "HeicInstance0",
|
||||
"PortFormat": "BLOB"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "HeicInstance0",
|
||||
"PortFormat": "IMPLEMENTATION_DEFINED"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SinkBuffer1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"PipelineName": "miuicamerayuv2jpeg",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "JpegInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstance0",
|
||||
"PortFormat": "BLOB"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
{
|
||||
//配置参数bit查看文档https://xiaomi.f.mioffice.cn/docx/doxk4QZRkDH9sXoGD8qIx7waOog
|
||||
"MaxMFNRCount":[3,3],//MFNR并行任务
|
||||
"HighQualityQuickShotSupport":["0x343DF37","0x343DF37"],//[低端,高端]
|
||||
"QuickShotDelayTimeMask":["0x88028222222038","0x78024222222033"],
|
||||
"QuickviewMask":"0x42F07",
|
||||
"DevCondition":{ //触发资源应急
|
||||
"PhtType":"0x016",//[1,2,5] 10110
|
||||
"PSI":0//psi触发转B2Y
|
||||
},
|
||||
"SpecialPerf":[//特殊场景触发可选择指定帧shot2shot
|
||||
{
|
||||
"PerfIndic":0,
|
||||
"SupportType":[9],
|
||||
"ShutterIndex":[0]
|
||||
},
|
||||
{
|
||||
"PerfIndic":1,//关键字 0 S2S \ 1 S2G
|
||||
"SupportType":[3],//夜景
|
||||
"ShutterIndex":[0] //0:第一帧 1:最后一帧
|
||||
}
|
||||
],
|
||||
"PhotographerInfoMap":[
|
||||
{
|
||||
//MIVIFull 0001 \MFNRFull 0010 \mihalmfnrfull 0100\quickshot 1000
|
||||
//原模式:hdr
|
||||
"PhtType":[1],
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"MaxMIVICount":[2,2],//后处理任务数
|
||||
"PSILimit":15.0,
|
||||
"PSIMIVICount":1
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[0],//切B2Y
|
||||
"SupportModeType": [1], // 1:MODE_CAPTURE
|
||||
"NewFrames":[1],
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":0,//0低端 1高端 2无限制
|
||||
"ConditionType":0,//与
|
||||
"ConditionInc":"0x09",// QuickClick && lackBuffer 触发 (11001)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
},
|
||||
{
|
||||
"NewType":[0],//切B2Y
|
||||
"SupportModeType": [1], // 1:MODE_CAPTURE
|
||||
"NewFrames":[1],
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":0,//0低端 1高端 2无限制
|
||||
"ConditionType":0,//与
|
||||
"ConditionInc":"0x300",// highmemoryPressure
|
||||
"ConditionCam":0 // 0rear 1front 2无限制
|
||||
}
|
||||
},
|
||||
{
|
||||
"NewType":[8,9],//切MFNR (vendor/mihal)
|
||||
"SupportModeType": [1], // 1:MODE_CAPTURE
|
||||
"NewFrames":[1,5],// (vendor 1 ,mihal 5)根据是否上移决定
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":2,//0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x01",// MIVIFull 触发 (0001)
|
||||
"ConditionCam":0 //0rear 1front 2无限制
|
||||
}
|
||||
},
|
||||
{
|
||||
"NewType":[8,9],//切MFNR (vendor/mihal)
|
||||
"SupportModeType": [1], // 1:MODE_CAPTURE
|
||||
"NewFrames":[1,5],// (vendor 1 ,mihal 5)根据是否上移决定
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":2,//0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x09",//QcuickClick | (QcuickClick && MIVIFull) 触发 (1001)
|
||||
"ConditionCam":1 //0rear 1front 2无限制
|
||||
}
|
||||
},
|
||||
{
|
||||
"NewType":[10],//Bokeh
|
||||
"SupportModeType": [2], // 2:MODE_PORTRAIT
|
||||
"NewFrames":[1],
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":2,//0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x09",//QcuickClick | (QcuickClick && MIVIFull) 触发 (1001)
|
||||
"ConditionCam":1 //0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//原模式:sr或hdrsr
|
||||
"PhtType":[2,5],
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"ZoomRatio":[0.0,9.9],
|
||||
"MaxMIVICount":[2,2]//后处理任务数
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[8,9],//切MFNR (vendor/mihal)
|
||||
"NewFrames":[1,5],// (vendor 1 ,mihal 5)根据是否上移决定
|
||||
"Condition"://条件
|
||||
{
|
||||
"DevVersion":2, //0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x09",// MIVIFull && QuickClick 触发 (1001)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//原模式:sn
|
||||
"PhtType":[3],
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"MaxMIVICount":[3,3]//后处理任务数
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[8,9],//根据是否 上移决定
|
||||
"NewFrames":[1,5],
|
||||
"Condition":
|
||||
{
|
||||
"DevVersion":2,
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x08", // QuickClick (1000)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//原模式:HdrBokeh
|
||||
"PhtType":[12],
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"MaxMIVICount":[1,1]//后处理任务数
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[10],//根据是否 上移决定
|
||||
"NewFrames":[2],
|
||||
"Condition":
|
||||
{
|
||||
"DevVersion":2,
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x11", // MIVIFull (10001)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"PhtType":[8],//vendor mfnr
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"MaxMIVICount":[3,3]//后处理任务数
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[0],//根据是否 上移决定
|
||||
"NewFrames":[1],
|
||||
"Condition":
|
||||
{
|
||||
"DevVersion":2,
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x02", // VendorMfnrFull 触发 (0010)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"PhtType":[9],//mihal mfnr
|
||||
"QuickShotConfig"://触发条件
|
||||
{
|
||||
"MaxMIVICount":[3,3]//后处理任务数
|
||||
},
|
||||
"QuickShotTypeUpdate":
|
||||
[
|
||||
{
|
||||
"NewType":[0],//切B2Y
|
||||
"NewFrames":[1],
|
||||
"Condition":
|
||||
{
|
||||
"DevVersion":2, //0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x04",// MihalMFNRFull (0100)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
},
|
||||
{
|
||||
"NewType":[9],//不切
|
||||
"NewFrames":[5],//设置为5帧
|
||||
"Condition":
|
||||
{
|
||||
"DevVersion":2, //0低端 1高端 2无限制
|
||||
"ConditionType":1,//或
|
||||
"ConditionInc":"0x08",// AppQuickSnapshot (1000)
|
||||
"ConditionCam":2 // 0rear 1front 2无限制
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"offlinedebugmask" : 0,
|
||||
"Soc" : "QCOM",
|
||||
"SupportBinaryLog": true,
|
||||
"NightBokehConcurrencyProcess" : false,
|
||||
"OpenLIFO" : 1
|
||||
}
|
||||
@@ -0,0 +1,316 @@
|
||||
/*
|
||||
phgType (refer to: mihal/Photographer.h)
|
||||
format: (refer to: system/core/include/system/graphics-base-vx.x.h)
|
||||
|
||||
enum PhgType {
|
||||
Photographer_SIMPLE = 0,
|
||||
Photographer_HDR = 1,
|
||||
Photographer_SR = 2,
|
||||
Photographer_SN = 3,
|
||||
Photographer_BURST = 4,
|
||||
Photographer_HDRSR = 5,
|
||||
Photographer_FUSION = 6,
|
||||
Photographer_SR_FUSION = 7,
|
||||
Photographer_VENDOR_MFNR = 8,
|
||||
Photographer_MIHAL_MFNR = 9,
|
||||
Photographer_BOKEH = 10,
|
||||
// NOTE: on MTK platform, Photographer_BOKEH_MD means MD bokeh + MIHAL MFNR
|
||||
Photographer_BOKEH_MD = 11,
|
||||
Photographer_BOKEH_HDR = 12,
|
||||
Photographer_BOKEH_SE = 13,
|
||||
Photographer_BOKEH_MD_SN = 14,
|
||||
Photographer_BOKEH_MD_HDR = 15,
|
||||
Photographer_BOKEH_MIHAL_MFNR = 16,
|
||||
Photographer_BOKEH_VENDOR_MFNR = 17,
|
||||
Photographer_SINGLE_BOKEH_MIHAL_MFNR = 18,
|
||||
Photographer_SINGLE_BOKEH_VENDOR_MFNR = 19,
|
||||
Photographer_SINGLE_BOKEH = 20,
|
||||
Photographer_MANUAL = 21,
|
||||
Photographer_AINR = 22,
|
||||
Photographer_HD_AINR = 23,
|
||||
Photographer_HD_UPSCALE = 24,
|
||||
Photographer_HD_MFNR = 25,
|
||||
Photographer_HD_REMOSAIC_MFNR = 26,
|
||||
Photographer_HD_REMOSAIC_MFNR_HDR = 27,
|
||||
// new type on N1
|
||||
Photographer_DepthExtend = 28,
|
||||
Photographer_TypeNums,
|
||||
};
|
||||
*/
|
||||
|
||||
{
|
||||
"RoleIdList": {
|
||||
"CameraRole" : [
|
||||
{
|
||||
// RoleIdRearWide
|
||||
"RoleId" : 0,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 1,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 3,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 9,
|
||||
"format" : [37]
|
||||
},
|
||||
{
|
||||
"phgType" : 22,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 23,
|
||||
"format" : [32]
|
||||
}
|
||||
],
|
||||
//"FovCropZoomRatio" : 1.1216,
|
||||
"XCFASnapshotThreshold": [
|
||||
{"xcfaShortGain" : 3.0},
|
||||
{"xcfaLuxIndex" : 180.0},
|
||||
{"xcfaAdrcGain" : 3.0},
|
||||
{"xcfaDarkRatio" : 0.25},
|
||||
{"flashModeSingle" : 1},
|
||||
{"flashModeTorch" : 2}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdFront
|
||||
"RoleId" : 1,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 1,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 3,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 8,
|
||||
"format" : [35]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdRearTele
|
||||
"RoleId" : 20,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 1,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 3,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 9,
|
||||
"format" : [37]
|
||||
},
|
||||
{
|
||||
"phgType" : 22,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 23,
|
||||
"format" : [32]
|
||||
}
|
||||
],
|
||||
"FakeSatZoomStart" : 10.0,
|
||||
"FakeSatZoomStop" : 150.0,
|
||||
"FakeSatLuxIndex" : 65536.0,
|
||||
"FakeSatShortGain" : 5.0,
|
||||
"FakeSatAdrcGain" : 100.0,
|
||||
"FakeSatImageSizes":[
|
||||
{
|
||||
"FrameRatio" : 1.00,
|
||||
"ImageSizes" : [
|
||||
{
|
||||
"type" : 1,
|
||||
"width" : 1920,
|
||||
"height" : 1920
|
||||
},
|
||||
{
|
||||
"type" : 2,
|
||||
"width" : 1920,
|
||||
"height" : 1920
|
||||
},
|
||||
{
|
||||
"type" : 3,
|
||||
"width" : 3072,
|
||||
"height" : 3072
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"FrameRatio" : 1.33,
|
||||
"ImageSizes" : [
|
||||
{
|
||||
"type" : 1,
|
||||
"width" : 2560,
|
||||
"height" : 1920
|
||||
},
|
||||
{
|
||||
"type" : 2,
|
||||
"width" : 2560,
|
||||
"height" : 1920
|
||||
},
|
||||
{
|
||||
"type" : 3,
|
||||
"width" : 4080,
|
||||
"height" : 3072
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"FrameRatio" : 1.77,
|
||||
"ImageSizes" : [
|
||||
{
|
||||
"type" : 1,
|
||||
"width" : 2560,
|
||||
"height" : 1440
|
||||
},
|
||||
{
|
||||
"type" : 2,
|
||||
"width" : 2560,
|
||||
"height" : 1440
|
||||
},
|
||||
{
|
||||
"type" : 3,
|
||||
"width" : 4080,
|
||||
"height" : 2296
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"FrameRatio" : 2.22,
|
||||
"ImageSizes" : [
|
||||
{
|
||||
"type" : 1,
|
||||
"width" : 2560,
|
||||
"height" : 1152
|
||||
},
|
||||
{
|
||||
"type" : 2,
|
||||
"width" : 2560,
|
||||
"height" : 1152
|
||||
},
|
||||
{
|
||||
"type" : 3,
|
||||
"width" : 4080,
|
||||
"height" : 1836
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"FovCropZoomRatio" : 1.242,
|
||||
"XCFASnapshotThreshold": [
|
||||
{"xcfaShortGain" : 2.0},
|
||||
{"xcfaLuxIndex" : 230.0},
|
||||
{"flashModeSingle" : 1},
|
||||
{"flashModeTorch" : 2}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdRearUltra
|
||||
"RoleId" : 21,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 1,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 3,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 9,
|
||||
"format" : [37]
|
||||
},
|
||||
{
|
||||
"phgType" : 22,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 23,
|
||||
"format" : [32]
|
||||
}
|
||||
],
|
||||
"XCFASnapshotThreshold": [
|
||||
{"xcfaShortGain" : 2.0},
|
||||
{"xcfaLuxIndex" : 230.0},
|
||||
{"xcfaAdrcGain" : 3.0},
|
||||
{"flashModeSingle" : 1},
|
||||
{"flashModeTorch" : 2}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdRearUltra
|
||||
"RoleId" : 64,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 1,
|
||||
"format" : [35]
|
||||
},
|
||||
{
|
||||
"phgType" : 3,
|
||||
"format" : [32]
|
||||
},
|
||||
{
|
||||
"phgType" : 9,
|
||||
"format" : [37]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdRearBokeh2x
|
||||
"RoleId" : 61,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 10,
|
||||
"format" : [35, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 11,
|
||||
"format" : [35, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 12,
|
||||
"format" : [32, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 13,
|
||||
// master: raw16, slave: raw10
|
||||
"format" : [32]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// RoleIdRearBokeh1x
|
||||
"RoleId" : 63,
|
||||
"PhgStreamFormat": [
|
||||
{
|
||||
"phgType" : 10,
|
||||
"format" : [35, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 11,
|
||||
"format" : [35, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 12,
|
||||
"format" : [32, 35]
|
||||
},
|
||||
{
|
||||
"phgType" : 13,
|
||||
// master: raw16, slave: raw10
|
||||
"format" : [32]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,450 @@
|
||||
{
|
||||
"ModeList": {
|
||||
"Mode": [
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9002, StreamConfigModeAlgoDualSAT
|
||||
"VendorOpMode": 36866,
|
||||
// 0x8001, StreamConfigModeSAT
|
||||
"MialgoOpMode": 32769,
|
||||
"LensFacing": 0,
|
||||
"Signature": "Sat",
|
||||
"BufferLimitCnt": 12,
|
||||
"VendorSnapshotBufferQueueSize": 30,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// vendorMfnr/burst/hdr/sr/hdrsr/rawhdr/sn/fakesat
|
||||
// 0x2 0x4 0x10 0x20 0x40 0x80 0x100 0x200
|
||||
// 0011 1111 0110, 0x3F6
|
||||
"FeatureMask" : 1014,
|
||||
"StreamConfig": [
|
||||
// normal yuv stream of ultra wide
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of wide
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// normal yuv stream of tele
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of ultra wide for supernight
|
||||
{
|
||||
"roleId": 21,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of wide for supernight
|
||||
{
|
||||
"roleId": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of tele for supernight
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// special yuv stream of tele for fakesat stream usecase 0x10001
|
||||
{
|
||||
"roleId": 20,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"stream_use_case": 65537,
|
||||
"dataSpace": 146931712,
|
||||
"isFakeSat": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9000, StreamConfigModeAlgoDual
|
||||
"VendorOpMode": 36864,
|
||||
// 0x8002, StreamConfigModeBokeh
|
||||
"MialgoOpMode": 32770,
|
||||
"LensFacing": 0,
|
||||
"Signature": "DualBokeh",
|
||||
"BufferLimitCnt": 8,
|
||||
// Bokeh 27/3, HDRBokeh 28/7, SNBokeh 24/8
|
||||
"VendorSnapshotBufferQueueSize": [15,29],
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// 0001 1001 0000, 0x190, sn/rawhdr/hdr
|
||||
"FeatureMask" : 400,
|
||||
"StreamConfig": [
|
||||
// yuv stream of master
|
||||
{
|
||||
// BokehCamSig::masterYuv
|
||||
"bokehSig": 0,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// yuv stream of slave
|
||||
{
|
||||
// BokehCamSig::slaveYuv
|
||||
"bokehSig": 2,
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": true,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream of master for sebokeh
|
||||
{
|
||||
// BokehCamSig::masterRaw
|
||||
"bokehSig": 1,
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": true,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9003, StreamConfigModeAlgoSingleRTB
|
||||
"VendorOpMode": 36867,
|
||||
// 0x8002, StreamConfigModeBokeh
|
||||
"MialgoOpMode": 32770,
|
||||
"LensFacing": 1,
|
||||
"Signature": "SingleBokeh",
|
||||
"BufferLimitCnt": 6,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// 0x12 -> VendorMfnr 0x2 HDR 0x10
|
||||
"FeatureMask" : 146,
|
||||
"StreamConfig": [
|
||||
// yuv stream for front single bokeh
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw stream for front single bokeh rawhdr
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9001, StreamConfigModeQCFALite
|
||||
"VendorOpMode": 36865,
|
||||
// 0x8005, StreamConfigModeMiuiZslFront
|
||||
"MialgoOpMode": 32773,
|
||||
"LensFacing": 1,
|
||||
"Signature": "SingleFront",
|
||||
"BufferLimitCnt": 6,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
"VendorSnapshotBufferQueueSize": 24,
|
||||
// 0x92 -> VendorMfnr 0x2 HDR 0x10 FeatureRawHDR 0x80 FeatureSNFront = 0x100
|
||||
"FeatureMask" : 402,
|
||||
"StreamConfig": [
|
||||
// yuv stream for front single camera
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw stream for Front rawhdr
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 32778,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"MialgoOpMode": 32778,
|
||||
"LensFacing": 0,
|
||||
"Signature": "RearSuperNight",
|
||||
"BufferLimitCnt": 13,
|
||||
"VendorSnapshotBufferQueueSize": [31, 37],
|
||||
"FlushWaitTimeMs": [700, 4000],
|
||||
// 0001 0000 0010, 0x102, HDR 0x10, RawHDR 0x80, vendorMfnr/sn/hdr/rawhdr
|
||||
"FeatureMask" : 402,
|
||||
// "SupportFovCropCameras": [0, 20], // RoleId: RoleIdRearWide, RoleIdRearTele
|
||||
"StreamConfig": [
|
||||
// yuv stream for mfnr
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream for sn
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"VendorOpMode": 32778,
|
||||
// 0x800A, StreamConfigModeMiuiSuperNight
|
||||
"MialgoOpMode": 32778,
|
||||
"LensFacing": 1,
|
||||
"Signature": "FrontSuperNight",
|
||||
"BufferLimitCnt": 8,
|
||||
"VendorSnapshotBufferQueueSize": 20,
|
||||
"FlushWaitTimeMs": [700, 4000],
|
||||
"IsVendorLowCaps": true,
|
||||
// 0001 0000 0010, 0x102, vendorMfnr/sn
|
||||
"FeatureMask" : 258,
|
||||
"StreamConfig": [
|
||||
// yuv stream for mfnr
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw stream for SN
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9004, StreamConfigModeAlgoQCFAMFNR
|
||||
"VendorOpMode": 36868,
|
||||
// 0x9004, StreamConfigModeAlgoQcfaMfnr
|
||||
"MialgoOpMode": 36868,
|
||||
"LensFacing": 0,
|
||||
"Signature": "SuperHD",
|
||||
"BufferLimitCnt": 1,
|
||||
"FlushWaitTimeMs":[4000, 4000],
|
||||
// 0010, 0x2, vendorMfnr
|
||||
"FeatureMask" : 2,
|
||||
// "SupportFovCropCameras": [20], // RoleId: RoleIdRearTele
|
||||
"StreamConfig": [
|
||||
// yuv stream for remosiac full size
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712,
|
||||
"isRemosaic": true
|
||||
},
|
||||
// yuv stream for binning size
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9007, StreamConfigModeAlgoManualSuperHD
|
||||
"VendorOpMode": 36871,
|
||||
// 0x9007, StreamConfigModeAlgoManualSuperHD
|
||||
"MialgoOpMode": 36871,
|
||||
"LensFacing": 0,
|
||||
"Signature": "ManualSuperHD",
|
||||
"BufferLimitCnt": 1,
|
||||
"FlushWaitTimeMs": [700, 4000],
|
||||
// 0010, 0x2, vendorMfnr
|
||||
"FeatureMask" : 2,
|
||||
// "SupportFovCropCameras": [20], // RoleId: RoleIdRearTele
|
||||
"StreamConfig": [
|
||||
// yuv stream for remosiac full size
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712,
|
||||
"isRemosaic": true
|
||||
},
|
||||
// yuv stream for binning size
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x900b, StreamConfigModeAlgoUltraRaw
|
||||
"VendorOpMode": 36875,
|
||||
// 0x900b, StreamConfigModeAlgoUltraRaw
|
||||
"MialgoOpMode": 36875,
|
||||
"LensFacing": 0,
|
||||
"Signature": "UltraRaw",
|
||||
"BufferLimitCnt": 8,
|
||||
"VendorSnapshotBufferQueueSize": 20,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// FeatureHDR = 0x10, FeatureSN = 0x100, FeatureAINR = 0x400
|
||||
"FeatureMask" : 1424,
|
||||
"StreamConfig": [
|
||||
// raw16 stream
|
||||
{
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x900C, StreamConfigModeAlgoManualHdUltraRaw
|
||||
"VendorOpMode": 36876,
|
||||
// 0x900C, StreamConfigModeAlgoManualHdUltraRaw
|
||||
"MialgoOpMode": 36876,
|
||||
"LensFacing": 0,
|
||||
"Signature": "50MUltraRaw",
|
||||
"BufferLimitCnt": 1,
|
||||
"VendorSnapshotBufferQueueSize": 6,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// FeatureAINR = 0x400
|
||||
"FeatureMask" : 1024,
|
||||
"StreamConfig": [
|
||||
// raw16 stream
|
||||
{
|
||||
"ratio": 1.33,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712,
|
||||
"isRemosaic": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9008, StreamConfigModeAlgoManual
|
||||
"VendorOpMode": 36872,
|
||||
// 0x9008, StreamConfigModeAlgoManual
|
||||
"MialgoOpMode": 36872,
|
||||
"LensFacing": 0,
|
||||
"Signature": "Professional",
|
||||
"BufferLimitCnt": 1,
|
||||
"FlushWaitTimeMs": [700, 4000],
|
||||
// 0010, 0x2, vendorMfnr
|
||||
"FeatureMask" : 2,
|
||||
// "SupportFovCropCameras": [20], // RoleId: RoleIdRearTele
|
||||
"StreamConfig": [
|
||||
// yuv stream
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// CameraUser::MIUI
|
||||
"CameraUser": 0,
|
||||
// 0x9005, StreamConfigModeAlgoNormal
|
||||
"VendorOpMode": 36869,
|
||||
// 0x8001, StreamConfigModeSAT
|
||||
"MialgoOpMode": 32769,
|
||||
"LensFacing": 0,
|
||||
"Signature": "Single",
|
||||
"VendorSnapshotBufferQueueSize": 30,
|
||||
"BufferLimitCnt": 12,
|
||||
"FlushWaitTimeMs": [4000, 4000],
|
||||
// vendorMfnr/burst/hdr/sr/hdrsr/rawhdr/sn
|
||||
// 0x2 0x4 0x10 0x20 0x40 0x80 0x100
|
||||
// 0001 1111 0110, 0x1F6
|
||||
"FeatureMask" : 502,
|
||||
"StreamConfig": [
|
||||
// normal yuv stream
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 35,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
},
|
||||
// raw16 stream
|
||||
{
|
||||
"ratio": 0.0,
|
||||
"isPhysicalStream": false,
|
||||
"format": 32,
|
||||
"usage": 3,
|
||||
"dataSpace": 146931712
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"PipelineName": "normalsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0",
|
||||
"OutputBufferNumber": 1
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
device:ishtar
|
||||
some quick reference:
|
||||
|
||||
stream format: (for complete list, refer to: system/core/include/system/graphics-base-vx.x.h)
|
||||
HAL_PIXEL_FORMAT_RGBA_8888 = 1,
|
||||
HAL_PIXEL_FORMAT_RGBX_8888 = 2,
|
||||
HAL_PIXEL_FORMAT_RGB_888 = 3,
|
||||
HAL_PIXEL_FORMAT_RGB_565 = 4,
|
||||
HAL_PIXEL_FORMAT_BGRA_8888 = 5,
|
||||
HAL_PIXEL_FORMAT_YCBCR_422_SP = 16,
|
||||
HAL_PIXEL_FORMAT_YCRCB_420_SP = 17,
|
||||
HAL_PIXEL_FORMAT_YCBCR_422_I = 20,
|
||||
HAL_PIXEL_FORMAT_RGBA_FP16 = 22,
|
||||
HAL_PIXEL_FORMAT_RAW16 = 32,
|
||||
HAL_PIXEL_FORMAT_BLOB = 33,
|
||||
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED = 34,
|
||||
HAL_PIXEL_FORMAT_YCBCR_420_888 = 35,
|
||||
HAL_PIXEL_FORMAT_RAW_OPAQUE = 36,
|
||||
HAL_PIXEL_FORMAT_RAW10 = 37,
|
||||
HAL_PIXEL_FORMAT_RAW12 = 38,
|
||||
HAL_PIXEL_FORMAT_RGBA_1010102 = 43,
|
||||
HAL_PIXEL_FORMAT_Y8 = 538982489,
|
||||
HAL_PIXEL_FORMAT_Y16 = 540422489,
|
||||
HAL_PIXEL_FORMAT_YV12 = 842094169,
|
||||
|
||||
stream dataspace: (for complete list, refer to: system/core/include/system/graphics-base-vx.x.h)
|
||||
HAL_DATASPACE_JFIF = 257,
|
||||
HAL_DATASPACE_V0_JFIF = 146931712, // ((STANDARD_BT601_625 | TRANSFER_SMPTE_170M) | RANGE_FULL)
|
||||
*/
|
||||
|
||||
{
|
||||
"enableBokehOptimize": 0,
|
||||
"supportFrontBokehDepthScale": true,
|
||||
"supportDownCapture": true,
|
||||
"supportSortResult": false,
|
||||
"supportRemosaicMfnrQuickShot": true,
|
||||
// When APP supports DownCapture, mihal needs to discard the useless snapshot request front Burst.
|
||||
"InternalPreviewBufferQueueSize": 36,
|
||||
"MockCameraFwkStreamMaxBufferQueueSize": 30,
|
||||
// when mihal allocate a stream's GraBuffer, it will refresh a timer.
|
||||
// If no one else request the stream's GraBuffer for "BufferReclaimWaitMilliseconds",
|
||||
// then the idle buffers of that stream will be reclaimed to save memory
|
||||
"BufferReclaimWaitMilliseconds": 3000,
|
||||
// this is the time you wait for some buffers to get released when all the buffers of the
|
||||
// stream you are requesting are busy
|
||||
"RequestGraBufferTimeOutMilliseconds": 300,
|
||||
"InternalSnapshotStreamProperty": {
|
||||
"UpScaleSizeFactor": 2,
|
||||
"InternalRawStreamAspectRatio": 1.33,
|
||||
// NOTE: the sensor supported yuv output resolution
|
||||
// resolution of streams sent by framework should be in this option list with ± tolerance
|
||||
"YuvStreamResolutionOptions": {
|
||||
"AspectRatioList": [1, 1.12851, 1.33333, 1.77777, 2.22222],
|
||||
// the tolerance shouldn't be too small. otherwise, mihal will choose the wrong
|
||||
// resolution. for example, in L2, when do Sr+Hdr, if you change frame ratio as 3:4,
|
||||
// then Qcom expects ouput stream size as 4080X3072, but 4080/3072=1.328125
|
||||
// which is not 4/3=1.33333. Therefore, we need some tolerance
|
||||
"Tolerance": 0.005
|
||||
},
|
||||
"RawStreamResolutionOptions": {
|
||||
"AspectRatioList": [1, 1.33, 1.77, 2.22],
|
||||
"Tolerance": 0.3
|
||||
}
|
||||
},
|
||||
"supportMiviFullSceneRawCB": false,
|
||||
"FeatureList": {
|
||||
"FeatureHDR": {
|
||||
// in normal hdr mode(not stagger hdr), we need to send mutiple requests
|
||||
// to vendor and merge these requests in mialgoengine, this variable sets
|
||||
// the minimum number of requests needed by mialgoengine to do
|
||||
// HDR processing, if the number of ev values returned by hdr checker is
|
||||
// less than this value, then this HDR snapshot is problematic
|
||||
"MinNumOfSnapshotRequiredByYuvHDR": 3,
|
||||
"MinNumOfSnapshotRequiredByRawHDR": 6,
|
||||
// please refer to function applyHdrParameter in:
|
||||
// packages/apps/MiuiCamera/src/com/android/camera2/MiCamera2ShotParallelBurst.java
|
||||
"shouldApplyAElock": true
|
||||
},
|
||||
"FeatureSR": {
|
||||
"NumOfSnapshotRequiredBySR": 8
|
||||
},
|
||||
"FeatureSRHDR": {
|
||||
"NumOfSnapshotRequiredBySRHDR": 10,
|
||||
"DefaultExpValuesOfSRHDR": [0, 0, 0, 0, 0, 0, 0, 0, -6, 6]
|
||||
},
|
||||
"FeatureSN": {
|
||||
"supportMfnrForSn": false
|
||||
},
|
||||
"FeatureAINR": {
|
||||
"NumOfSnapshotRequiredByAINR": 6,
|
||||
"LimitTimeByHDUltrRawUpper": 7000,
|
||||
"LimitTimeByHDUltrRawLower": 4000
|
||||
},
|
||||
"FeatureFusion": {
|
||||
"SrFusionZoomRegion": {
|
||||
"lowerBound": 3.0,
|
||||
"upperBound": 5.0
|
||||
},
|
||||
"MfnrFusionZoomRegion": {
|
||||
"lowerBound": 0.6,
|
||||
"upperBound": 1.0
|
||||
}
|
||||
},
|
||||
"FeatureHD": {
|
||||
// in K1, under superHD mode we want to use mfnr to get a high quality image
|
||||
// but if we set exposure time to a large value, it will take very long time to
|
||||
// snapshot, so we need to disable mfnr when we set a long exposure time.
|
||||
// this variable is the max exposure time to allow mfnr. the unit is nano second.
|
||||
"MfnrMaxExpTime": 250000000,
|
||||
// used in function findBiggestResolution()
|
||||
"SuperResolutionImageRatio": {
|
||||
"width": 4,
|
||||
"height": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
// you can't just keep sending tasks to mialgoengine, we need to confine the num
|
||||
// of task in process, (one task means one photographer)
|
||||
"MialgoTaskCapacity": 10, // the total resource in mialgo
|
||||
"MialgoTaskConsumption": {
|
||||
// the entries below show the reources cost by various photographer per snapshot.
|
||||
// If the sum of these resource reaches "MialgoCapacity", we will stop the app
|
||||
// This value supports input of one or two digits:
|
||||
// 2 or [2] (both low memory and high memory, the cost is 2.)
|
||||
// [8, 2] (The cost is 8 for low memory device and 2 for high memory device.)
|
||||
"Photographer": 1,
|
||||
"BokehPhotographer": [4,2],
|
||||
"MDBokehPhotographer": 2,
|
||||
"HdrBokehPhotographer": [4,2],
|
||||
"SEBokehPhotographer": [4,2],
|
||||
"HdrPhotographer": 3,
|
||||
"HwmfPhotographer": 1,
|
||||
"SupernightPhotographer": 4,
|
||||
"RawSupernightPhotographer": [4,3],
|
||||
"SrPhotographer": 4,
|
||||
"SrHdrPhotographer": 5,
|
||||
"FusionPhotographer": 3,
|
||||
"ProfessionalPhotographer": 1,
|
||||
"BurstPhotographer": 0,
|
||||
"AINRPhotographer": 4,
|
||||
"HdAINRPhotographer": 6
|
||||
},
|
||||
"BokehStaticRemosaicSwitch": {
|
||||
"Full": {
|
||||
"masterEnable": false,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"Bust": {
|
||||
"masterEnable": false,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"35mm": {
|
||||
"masterEnable": false,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"50mm": {
|
||||
"masterEnable": true,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"75mm": {
|
||||
"masterEnable": false,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"90mm": {
|
||||
"masterEnable": false,
|
||||
"slaveEnable": false
|
||||
},
|
||||
"duration": 30000,
|
||||
// Due to memory pressure, only N3 with 8G RAM need to choose binning mode for slave lens, please check.
|
||||
"SlaveRAMControl": true
|
||||
},
|
||||
"BokehStaticFallback": {
|
||||
"Full": {
|
||||
"enable": false
|
||||
},
|
||||
"Bust": {
|
||||
"enable": true
|
||||
},
|
||||
"35mm": {
|
||||
"enable": false
|
||||
},
|
||||
"50mm": {
|
||||
"enable": false
|
||||
},
|
||||
"75mm": {
|
||||
"enable": true
|
||||
},
|
||||
"90mm": {
|
||||
"enable": true
|
||||
},
|
||||
"duration": 30000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,218 @@
|
||||
{
|
||||
"PipelineName": "rearsupernightsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcsoftsll",
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcrawhdr",
|
||||
"NodeInstance": "ArcRawHDRInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 262
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.depurple",
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.ldc",
|
||||
"NodeInstance": "LDCInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcRawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcRawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
}, "DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"PipelineName": "satburstsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BurstJpegInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":258
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BurstJpegInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BurstJpegInstance0",
|
||||
"PortFormat": "BLOB"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,399 @@
|
||||
{
|
||||
"PipelineName": "SatSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.sr",
|
||||
"NodeInstance": "SrInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcsoftsll",
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.hdr",
|
||||
"NodeInstance": "HDRInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.arcrawhdr",
|
||||
"NodeInstance": "ArcRawHDRInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":262
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "IdealRaw2YuvExtendInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BayerRaw2YuvInstance2",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":62
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
||||
"NodeInstance": "SkinBeautifierInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.ldc",
|
||||
"NodeInstance": "LDCInstance0"
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.depurple",
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.mawaiie",
|
||||
"NodeInstance": "aiieInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SourceBuffer1"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance2",
|
||||
"PortFormat": "RAW10"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance2",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"OutputBufferNumber": "FollowInPut"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "HDRInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "P010"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "P010",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcRawHDRInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcRawHDRInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "ArcsoftSLLInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvExtendInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "IdealRaw2YuvExtendInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "HDRInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "HDRInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType": 2,
|
||||
"FollowPortId": 0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "DepurpleInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SkinBeautifierInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"NodeInstance": "aiieInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "aiieInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer",
|
||||
"ChildPipeline": "SdkSnapshot",
|
||||
"ChildJsonName": "sdksnapshot.json",
|
||||
"ChildSrcNodePortId":0,
|
||||
"ChildSrcNode":"virtualInstanceSdk"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"PipelineName": "SatSnapshotJpeg",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.sr",
|
||||
"NodeInstance": "SrInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.mialgoellc",
|
||||
"NodeInstance": "MiAlgoELLCInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"NodeProperty": [
|
||||
{
|
||||
"NodePropertyName": "NodeMask",
|
||||
"NodePropertyValue": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":262
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "JpegInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "P010"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "P010",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "SrInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 1,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "YuvReprocessInstance0",
|
||||
"PortFormat": "YUV420_NV12",
|
||||
"PortFollowType":2,
|
||||
"FollowPortId":0
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MiAlgoELLCInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MiAlgoELLCInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsTintlessInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "OfflineStatsAWBIdealInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "RAW16"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "BayerRaw2YuvInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "PortraitRepairInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstance0",
|
||||
"PortFormat": "BLOB"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"PipelineName": "SdkSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.virtual",
|
||||
"NodeInstance": "virtualInstanceSdk",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":512
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "EcoYUVReprocessInstanceSdk",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.offlinepostproc",
|
||||
"NodeInstance": "JpegInstanceSdk",
|
||||
"NodeProperty":[
|
||||
{
|
||||
"NodePropertyName":"NodeMask",
|
||||
"NodePropertyValue":4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "virtualInstanceSdk",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "virtualInstanceSdk",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "EcoYUVReprocessInstanceSdk",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "EcoYUVReprocessInstanceSdk",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstanceSdk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "JpegInstanceSdk",
|
||||
"PortFormat": "BLOB"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
// if enableBokehOptimize is opened, then in hdr, se and MD bokeh, only anchor frame
|
||||
// will take slave stream buffer to qcom
|
||||
"enableBokehOptimize": 1,
|
||||
// if two stream sizes are different from each other but within this threshold, then we
|
||||
// still consider that these two stream sizes are identical
|
||||
"streamSizeDifferenceThreshold": 50,
|
||||
"InternalPreviewBufferQueueSize": 20,
|
||||
"FwkStreamMaxBufferQueueSize": 8,
|
||||
"MockCameraFwkStreamMaxBufferQueueSize": 8,
|
||||
"MockCameraMaxInviteThreshold": 6,
|
||||
"MillisecondsWaitingForMockRequest": 30000,
|
||||
"MillisecondsWaitingForFlush": 4000,
|
||||
"ModeList": {
|
||||
// spatial alignment mode(aka: muti camera mode)
|
||||
"SatMode": {
|
||||
"InternalSnapshotBufferQueueSize": 8
|
||||
},
|
||||
"ProfessionalMode": {
|
||||
// if the buffer queue size is 0, Qcom will override this to 8
|
||||
"InternalSnapshotBufferQueueSize": 0,
|
||||
"MillisecondsWaitingForFlush": 100
|
||||
},
|
||||
"BokehMode": {
|
||||
"InternalSnapshotBufferQueueSize": 0
|
||||
},
|
||||
"SuperNightMode": {
|
||||
"InternalSnapshotBufferQueueSize": 0,
|
||||
"MillisecondsWaitingForFlush": 300
|
||||
},
|
||||
"SuperHDMode": {
|
||||
"InternalSnapshotBufferQueueSize": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"PipelineName": "superhdsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.ldc",
|
||||
"NodeInstance": "LDCInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "LDCInstance0",
|
||||
"PortFormat": "YUV420_NV12"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"PipelineName": "DualBokehYuvSnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"PipelineName": "thirdpartyjpegsnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"PipelineName": "thirdpartyrawsupernightjpeg",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"PipelineName": "thirdpartyrawsupernightyuv",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"PipelineName": "thirdpartysnapshot",
|
||||
"NodesList": {
|
||||
"Node": [
|
||||
{
|
||||
"NodeName": "com.xiaomi.plugin.memcpy",
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PortLinkages": {
|
||||
"Link": [
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SourceBuffer"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"SrcPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "MemcpyInstance0"
|
||||
},
|
||||
"DstPort": {
|
||||
"PortId": 0,
|
||||
"NodeInstance": "SinkBuffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Reference in New Issue
Block a user