Change-Id: If8d0b57acc6b41c28c7a331e41db44d2 Signed-off-by: zenin1504 <me.zenin1504.dev@gmail.com>
693 lines
20 KiB
JSON
693 lines
20 KiB
JSON
{
|
|
"PipelineName": "DualBokehSnapshot",
|
|
"NodesList": {
|
|
"Node": [
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlineformatconvertor",
|
|
"NodeInstance": "FormatConvertorInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue": 120
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.anchor",
|
|
"NodeInstance": "AnchorInstance1",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.movieeffect",
|
|
"NodeInstance": "MovieEffectInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.filter",
|
|
"NodeInstance": "FilterInstance0"
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.filter",
|
|
"NodeInstance": "FilterInstance1"
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.watermark",
|
|
"NodeInstance": "WatermarkInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":128
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.swjpegencode",
|
|
"NodeInstance": "swjpegInstance1",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":2176,
|
|
"__comment__":"CUSTOMSIZE_MODE|YUV2JPEG_MODE"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.jpegrAggr",
|
|
"NodeInstance": "jpegrAggrInstance"
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlinemfnr",
|
|
"NodeInstance": "MfnrInstance0",
|
|
"InputFormat": "RAW10",
|
|
"OutputFormat": "YUV420_NV12",
|
|
"NodeProperty": [
|
|
{
|
|
"NodePropertyName": "NodeMask",
|
|
"NodePropertyValue": 262
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.midualcamallinone",
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":131216
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlineb2y",
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthM",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlineb2y",
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthA",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":132
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlineb2y",
|
|
"NodeInstance": "BayerRaw2YuvInstanceForRGB",
|
|
"NodeProperty": [
|
|
{
|
|
"NodePropertyName": "NodeMask",
|
|
"NodePropertyValue": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.virtual",
|
|
"NodeInstance": "virtualInstance4",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":560
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.virtual",
|
|
"NodeInstance": "virtualInstance5",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":512
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.virtual",
|
|
"NodeInstance": "virtualInstance6",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":512
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.capdepth",
|
|
"NodeInstance": "CapdepthInstance0",
|
|
"OutputBufferNeedCheck" : false,
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":128
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.capbokeh",
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":128
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "",
|
|
"NodeInstance": "virtualSinkbuffer2",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":1536
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.portraitrepair",
|
|
"NodeInstance": "PortraitRepairInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.tsskinbeautifier",
|
|
"NodeInstance": "CapbeautyInstance0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.beautydeformation",
|
|
"NodeInstance": "CapbeautydeformationInstance0"
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlinejpeg",
|
|
"NodeInstance": "JpegInstanceFinal0",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":132
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"NodeName": "com.xiaomi.plugin.offlinejpeg",
|
|
"NodeInstance": "JpegInstanceFinal1",
|
|
"NodeProperty":[
|
|
{
|
|
"NodePropertyName":"NodeMask",
|
|
"NodePropertyValue":4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"PortLinkages": {
|
|
"Link": [
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "SourceBuffer0",
|
|
"PortFormat": "RAW10"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FormatConvertorInstance0",
|
|
"PortFormat": "RAW10"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FormatConvertorInstance0",
|
|
"PortFormat": "RAW16",
|
|
"OutputBufferNumber": "FollowInPut"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance4",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance4",
|
|
"PortFormat": "RAW16",
|
|
"OutputBufferNumber": "FollowInPut"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "virtualInstance4",
|
|
"PortFormat": "RAW16",
|
|
"OutputBufferNumber": "FollowInPut"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthM",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "virtualInstance4"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "AnchorInstance1"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "AnchorInstance1"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "MfnrInstance0",
|
|
"PortFormat": "RAW10"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "MfnrInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "virtualInstance6"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "SourceBuffer1",
|
|
"PortFormat": "RAW10"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthA",
|
|
"PortFormat": "RAW10",
|
|
"PortFollowType":1,
|
|
"FollowPortId":1
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "RGB161616"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForRGB",
|
|
"PortFormat": "RGB161616"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForRGB",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance6"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "RAW16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance5",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance5",
|
|
"PortFormat": "RAW16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthM",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "virtualInstance5",
|
|
"PortFormat": "RAW16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthA",
|
|
"PortFormat": "RAW16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthM",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthA",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "CapdepthInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "BayerRaw2YuvInstanceForDepthA",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "AllinOneInstance0",
|
|
"PortFormat": "Y16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "Y16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapdepthInstance0",
|
|
"PortFormat": "Y16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "Y16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "virtualInstance6"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "PortraitRepairInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "PortraitRepairInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbeautyInstance0",
|
|
"PortFormat": "YUV420_NV12",
|
|
"BufferType": "Gralloc"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbeautyInstance0",
|
|
"PortFormat": "YUV420_NV12",
|
|
"BufferType": "Gralloc"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "virtualInstance6"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapdepthInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "Y16"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "virtualSinkbuffer2"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "virtualSinkbuffer2"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "CapbeautydeformationInstance0",
|
|
"PortFormat": "Y16"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbeautydeformationInstance0",
|
|
"PortFormat": "YUV420_NV12",
|
|
"BufferType": "Gralloc"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "CapbeautydeformationInstance0",
|
|
"PortFormat": "YUV420_NV12",
|
|
"BufferType": "Gralloc"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FilterInstance0",
|
|
"BufferType": "Gralloc"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FilterInstance0",
|
|
"BufferType": "Gralloc"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "MovieEffectInstance0",
|
|
"PortFormat": "YUV420_NV12",
|
|
"PortFollowType":2,
|
|
"FollowPortId":0
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "MovieEffectInstance0"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "WatermarkInstance0"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "WatermarkInstance0"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "JpegInstanceFinal0",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 2,
|
|
"NodeInstance": "WatermarkInstance0"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 3,
|
|
"NodeInstance": "jpegrAggrInstance"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 3,
|
|
"NodeInstance": "WatermarkInstance0"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 4,
|
|
"NodeInstance": "jpegrAggrInstance"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "WatermarkInstance0"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "swjpegInstance1"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "swjpegInstance1",
|
|
"PortFormat": "BLOB"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "jpegrAggrInstance",
|
|
"PortFormat": "BLOB"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "JpegInstanceFinal0",
|
|
"PortFormat": "BLOB",
|
|
"PortFollowType":2,
|
|
"FollowPortId":0
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "jpegrAggrInstance",
|
|
"PortFormat": "BLOB"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "jpegrAggrInstance",
|
|
"PortFormat": "BLOB"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "SinkBuffer0",
|
|
"PortFormat": "BLOB",
|
|
"ChildPipeline": "SdkSnapshot",
|
|
"ChildJsonName": "sdksnapshot.json",
|
|
"ChildSrcNodePortId":0,
|
|
"ChildSrcNode":"virtualInstanceSdk"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "CapbokehInstance0",
|
|
"PortFormat": "YUV420_NV12"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FilterInstance1",
|
|
"BufferType": "Gralloc"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "FilterInstance1",
|
|
"BufferType": "Gralloc"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "JpegInstanceFinal1",
|
|
"PortFormat": "YUV420_NV12"
|
|
}
|
|
},
|
|
{
|
|
"SrcPort": {
|
|
"PortId": 0,
|
|
"NodeInstance": "JpegInstanceFinal1",
|
|
"PortFormat": "BLOB"
|
|
},
|
|
"DstPort": {
|
|
"PortId": 1,
|
|
"NodeInstance": "SinkBuffer1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"FeaturePipelineList": {
|
|
"FileName": [
|
|
{
|
|
"FeaturePipelineFile": "preanchorallinonedualbokehsnapshot.json"
|
|
}
|
|
]
|
|
}
|
|
}
|