From 581ccbd1c133ca267803729132a61ff191087ce1 Mon Sep 17 00:00:00 2001 From: liu-xingkai Date: Mon, 11 Sep 2023 17:09:00 +0800 Subject: [PATCH] Modify the naming style of variables in the pipeline hcs Signed-off-by: liu-xingkai --- .../uhdf/camera/pipeline_core/config.hcs | 588 +++++++++--------- .../porting-khdvk_3566b-on_standard-demo.md | 10 +- 2 files changed, 299 insertions(+), 299 deletions(-) diff --git a/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs b/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs index 8985a23..8e3db19 100755 --- a/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs +++ b/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs @@ -5,18 +5,18 @@ root { template node_spec { name = ""; status = ""; - stream_type = ""; + streamType = ""; template port_spec { name = ""; - peer_port_name = ""; - peer_port_node_name = ""; + peerPortName = ""; + peerPortNodeName = ""; direction = 0; width = 0; height = 0; format = 0; usage = 0x10000000000000; - need_allocation = 0; - buffer_count = 0; + needAllocation = 0; + bufferCount = 0; } } } @@ -27,8 +27,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; width = 0; height = 0; @@ -40,25 +40,25 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } sink :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } @@ -70,8 +70,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; width = 0; height = 0; @@ -83,20 +83,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } @@ -105,36 +105,36 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } } @@ -146,8 +146,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; width = 0; height = 0; @@ -159,20 +159,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#1"; + peerPortName = "in0"; + peerPortNodeName = "fork#1"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "ipp#0"; + peerPortName = "in0"; + peerPortNodeName = "ipp#0"; direction = 1; } } @@ -181,20 +181,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } @@ -203,14 +203,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -219,14 +219,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#1"; + peerPortName = "out0"; + peerPortNodeName = "fork#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -235,14 +235,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "ipp#0"; + peerPortName = "out0"; + peerPortNodeName = "ipp#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "in0"; + peerPortNodeName = "RKExif#0"; direction = 1; } } @@ -251,47 +251,47 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#2"; + peerPortName = "in0"; + peerPortNodeName = "sink#2"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#1"; + peerPortName = "out1"; + peerPortNodeName = "fork#1"; direction = 0; } } sink_3 :: node_spec { name = "sink#2"; status = "new"; - stream_type = "snapshot"; + streamType = "snapshot"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "out0"; + peerPortNodeName = "RKExif#0"; direction = 0; } } @@ -303,8 +303,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; width = 0; height = 0; @@ -316,20 +316,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#1"; + peerPortName = "in0"; + peerPortNodeName = "fork#1"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "stability#0"; + peerPortName = "in0"; + peerPortNodeName = "stability#0"; direction = 1; } } @@ -338,14 +338,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -354,20 +354,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } @@ -376,14 +376,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#1"; + peerPortName = "out0"; + peerPortNodeName = "fork#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -392,47 +392,47 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "stability#0"; + peerPortName = "out0"; + peerPortNodeName = "stability#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#2"; + peerPortName = "in0"; + peerPortNodeName = "sink#2"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#1"; + peerPortName = "out1"; + peerPortNodeName = "fork#1"; direction = 0; } } sink_3 :: node_spec { name = "sink#2"; status = "new"; - stream_type = "video"; + streamType = "video"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } } @@ -444,8 +444,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; width = 0; height = 0; @@ -457,20 +457,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "RKFace#0"; + peerPortName = "in0"; + peerPortNodeName = "RKFace#0"; direction = 1; } } @@ -479,14 +479,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -495,36 +495,36 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "analyze"; + streamType = "analyze"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKFace#0"; + peerPortName = "out0"; + peerPortNodeName = "RKFace#0"; direction = 0; } } @@ -536,19 +536,19 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } sink :: node_spec { name = "sink#0"; status = "new"; - stream_type = "snapshot"; + streamType = "snapshot"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } } @@ -560,8 +560,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; } } @@ -570,20 +570,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "ipp#0"; + peerPortName = "in0"; + peerPortNodeName = "ipp#0"; direction = 1; } } @@ -592,14 +592,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -608,14 +608,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -624,14 +624,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "ipp#0"; + peerPortName = "out0"; + peerPortNodeName = "ipp#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "in0"; + peerPortNodeName = "RKExif#0"; direction = 1; } } @@ -640,36 +640,36 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "snapshot"; + streamType = "snapshot"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "out0"; + peerPortNodeName = "RKExif#0"; direction = 0; } } @@ -681,8 +681,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; } } @@ -691,20 +691,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#1"; + peerPortName = "in0"; + peerPortNodeName = "fork#1"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "ipp#0"; + peerPortName = "in0"; + peerPortNodeName = "ipp#0"; direction = 1; } } @@ -713,20 +713,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "RKFace#0"; + peerPortName = "in0"; + peerPortNodeName = "RKFace#0"; direction = 1; } } @@ -735,14 +735,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -751,14 +751,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -767,14 +767,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "ipp#0"; + peerPortName = "out0"; + peerPortNodeName = "ipp#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "in0"; + peerPortNodeName = "RKExif#0"; direction = 1; } } @@ -783,14 +783,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } @@ -799,47 +799,47 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#1"; + peerPortName = "out1"; + peerPortNodeName = "fork#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#2"; + peerPortName = "in0"; + peerPortNodeName = "sink#2"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "snapshot"; + streamType = "snapshot"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "out0"; + peerPortNodeName = "RKExif#0"; direction = 0; } } sink_3 :: node_spec { name = "sink#2"; status = "new"; - stream_type = "analyze"; + streamType = "analyze"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKFace#0"; + peerPortName = "out0"; + peerPortNodeName = "RKFace#0"; direction = 0; } } @@ -851,8 +851,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; width = 0; height = 0; @@ -864,20 +864,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#1"; + peerPortName = "in0"; + peerPortNodeName = "fork#1"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#2"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#2"; direction = 1; } } @@ -886,20 +886,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "ipp#0"; + peerPortName = "in0"; + peerPortNodeName = "ipp#0"; direction = 1; } } @@ -908,14 +908,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#1"; + peerPortName = "out1"; + peerPortNodeName = "fork#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -924,14 +924,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#1"; + peerPortName = "out0"; + peerPortNodeName = "fork#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -940,14 +940,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "ipp#0"; + peerPortName = "out0"; + peerPortNodeName = "ipp#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "in0"; + peerPortNodeName = "RKExif#0"; direction = 1; } } @@ -956,14 +956,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#2"; + peerPortName = "in0"; + peerPortNodeName = "sink#2"; direction = 1; } } @@ -972,47 +972,47 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "snapshot"; + streamType = "snapshot"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKExif#0"; + peerPortName = "out0"; + peerPortNodeName = "RKExif#0"; direction = 0; } } sink_3 :: node_spec { name = "sink#2"; status = "new"; - stream_type = "video"; + streamType = "video"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#2"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#2"; direction = 0; } } @@ -1024,8 +1024,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; + peerPortName = "in0"; + peerPortNodeName = "fork#0"; direction = 1; } } @@ -1034,20 +1034,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#0"; direction = 1; } out_port_1 :: port_spec { name = "out1"; - peer_port_name = "in0"; - peer_port_node_name = "stability#0"; + peerPortName = "in0"; + peerPortNodeName = "stability#0"; direction = 1; } } @@ -1056,14 +1056,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peerPortName = "out1"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "in0"; + peerPortNodeName = "RKCodec#1"; direction = 1; } } @@ -1072,14 +1072,14 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peerPortName = "out0"; + peerPortNodeName = "fork#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } @@ -1088,36 +1088,36 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "stability#0"; + peerPortName = "out0"; + peerPortNodeName = "stability#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#1"; + peerPortName = "in0"; + peerPortNodeName = "sink#1"; direction = 1; } } sink_1 :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#0"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#0"; direction = 0; } } sink_2 :: node_spec { name = "sink#1"; status = "new"; - stream_type = "video"; + streamType = "video"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "RKCodec#1"; + peerPortName = "out0"; + peerPortNodeName = "RKCodec#1"; direction = 0; } } @@ -1129,14 +1129,14 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in1"; - peer_port_node_name = "merge#0"; + peerPortName = "in1"; + peerPortNodeName = "merge#0"; direction = 1; width = 0; height = 0; format = 0; - need_allocation = 1; - buffer_count = 8; + needAllocation = 1; + bufferCount = 8; } } v4l2_source :: node_spec { @@ -1144,8 +1144,8 @@ root { status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "merge#0"; + peerPortName = "in0"; + peerPortNodeName = "merge#0"; direction = 1; } } @@ -1154,20 +1154,20 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } in_port_1 :: port_spec { name = "in1"; - peer_port_name = "out0"; - peer_port_node_name = "uvc#0"; + peerPortName = "out0"; + peerPortNodeName = "uvc#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "ipp#0"; + peerPortName = "in0"; + peerPortNodeName = "ipp#0"; direction = 1; } } @@ -1176,25 +1176,25 @@ root { status = "new"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "merge#0"; + peerPortName = "out0"; + peerPortNodeName = "merge#0"; direction = 0; } out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; } } sink :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "ipp#0"; + peerPortName = "out0"; + peerPortNodeName = "ipp#0"; direction = 0; } } diff --git a/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md b/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md index a5209f3..0560f83 100644 --- a/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md +++ b/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md @@ -2146,8 +2146,8 @@ vendor/kaihong/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs为pip status = "new"; out_port_0 :: port_spec { name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "sink#0"; + peerPortName = "in0"; + peerPortNodeName = "sink#0"; direction = 1; width = 0; height = 0; @@ -2157,11 +2157,11 @@ vendor/kaihong/khdvk_3566b/hdf_config/uhdf/camera/pipeline_core/config.hcs为pip sink :: node_spec { name = "sink#0"; status = "new"; - stream_type = "preview"; + streamType = "preview"; in_port_0 :: port_spec { name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; + peerPortName = "out0"; + peerPortNodeName = "v4l2_source#0"; direction = 0; } } -- Gitee