xref: /OK3568_Linux_fs/external/rockit/tgi/sdk/conf/aicamera_uvc_zoom_rockx.json (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1{
2    "pipe_0": {
3        "node_0": {
4            "node_opts": {
5                "node_name"       : "rkisp"
6            },
7            "node_opts_extra": {
8                "node_buff_type"  : 0,
9                "node_buff_count" : 3,
10                "node_buff_size"  : 1382400
11            },
12            "stream_opts": {
13                "stream_output"   : "isp_scale_0",
14                "stream_fmt_out"  : "image:nv12"
15            },
16            "stream_opts_extra": {
17                "opt_entity_name" : "rkispp_scale0",
18                "opt_width"       : 1280,
19                "opt_height"      : 720,
20                "opt_vir_width"   : 1280,
21                "opt_vir_height"  : 720,
22                "opt_buf_type"    : 1,
23                "opt_mem_type"    : 4,
24                "opt_use_libv4l2" : 1,
25                "opt_colorspace"  : 0
26            }
27        },
28        "node_2": {
29            "node_opts": {
30                "node_name"       : "rkisp"
31            },
32            "node_opts_extra": {
33                "node_buff_type"  : 0,
34                "node_buff_count" : 3,
35                "node_buff_size"  : 1382400
36            },
37            "stream_opts": {
38                "stream_output"   : "isp_scale_1",
39                "stream_fmt_out"  : "image:nv12"
40            },
41            "stream_opts_extra": {
42                "opt_entity_name" : "rkispp_scale1",
43                "opt_width"       : 640,
44                "opt_height"      : 360,
45                "opt_vir_width"   : 640,
46                "opt_vir_height"  : 360,
47                "opt_buf_type"    : 1,
48                "opt_mem_type"    : 4,
49                "opt_use_libv4l2" : 1,
50                "opt_colorspace"  : 0
51            }
52        },
53        "node_3": {
54            "node_opts": {
55                "node_name"       : "rkzoom"
56            },
57            "node_opts_extra": {
58                "node_buff_type"  : 1,
59                "node_buff_count" : 0
60            },
61            "stream_opts": {
62                "stream_input"    : "zoom_ctl_in",
63                "stream_output"   : "zoom_ctl_out",
64                "stream_fmt_in"   : "image:nv12",
65                "stream_fmt_out"  : "image:nv12"
66            }
67        },
68        "node_7": {
69            "node_opts": {
70                "node_name"       : "link_output"
71            },
72            "node_opts_extra": {
73                "node_buff_type"  : 1,
74                "node_buff_count" : 0
75            },
76            "stream_opts": {
77                "stream_input"    : "uvc_link_out_in",
78                "stream_output"   : "uvc_link_out_out",
79                "stream_fmt_in"   : "image:nv12",
80                "stream_fmt_out"  : "image:nv12"
81            }
82        },
83        "node_10": {
84            "node_opts": {
85                "node_name"       : "rkrga"
86            },
87            "node_opts_extra": {
88                "node_buff_type"  : 0,
89                "node_buff_count" : 3,
90                "node_buff_size"  : 1382400
91            },
92            "stream_opts": {
93                "stream_input"    : "nn_data_in",
94                "stream_output"   : "nn_data_out",
95                "stream_fmt_in"   : "image:nv12",
96                "stream_fmt_out"  : "image:nv12",
97                "stream_mode_in"  : "remain_newest"
98            },
99            "stream_opts_extra": {
100                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,1280,720)",
101                "opt_trans_rotate": 0
102            }
103        },
104        "node_8": {
105            "node_opts": {
106                "node_name"       : "link_output"
107            },
108            "node_opts_extra": {
109                "node_buff_type"  : 1,
110                "node_buff_count" : 0
111            },
112            "stream_opts": {
113                "stream_input"    : "nn_link_out_in",
114                "stream_output"   : "nn_link_out_out",
115                "stream_fmt_in"   : "image:nv12",
116                "stream_fmt_out"  : "image:nv12"
117            }
118        },
119        "node_11": {
120            "node_opts": {
121                "node_name"       : "rockx"
122            },
123            "node_opts_extra": {
124                "node_buff_type"  : 1,
125                "node_buff_count" : 2
126            },
127            "stream_opts": {
128                "stream_input"    : "face_detect_in",
129                "stream_output"   : "face_detect_out",
130                "stream_fmt_in"   : "image:nv12",
131                "stream_fmt_out"  : "nn:stream_ai",
132                "stream_mode_in"  : "remain_newest"
133            },
134            "stream_opts_extra": {
135                "opt_rockx_model" : "rockx_face_detect"
136            }
137        },
138        "node_12": {
139            "node_opts": {
140                "node_name"       : "rockx"
141            },
142            "node_opts_extra": {
143                "node_buff_type"  : 1,
144                "node_buff_count" : 2
145            },
146            "stream_opts": {
147                "stream_input"    : "face_landmark_in",
148                "stream_output"   : "face_landmark_out",
149                "stream_fmt_in"   : "image:nv12",
150                "stream_fmt_out"  : "nn:stream_ai",
151                "stream_mode_in"  : "remain_newest"
152            },
153            "stream_opts_extra": {
154                "opt_rockx_model" : "rockx_face_landmark"
155            }
156        },
157        "node_13": {
158            "node_opts": {
159                "node_name"       : "rockx"
160            },
161            "node_opts_extra": {
162                "node_buff_type"  : 1,
163                "node_buff_count" : 2
164            },
165            "stream_opts": {
166                "stream_input"    : "body_in",
167                "stream_output"   : "body_out",
168                "stream_fmt_in"   : "image:nv12",
169                "stream_fmt_out"  : "nn:stream_ai",
170                "stream_mode_in"  : "remain_newest"
171            },
172            "stream_opts_extra": {
173                "opt_rockx_model" : "rockx_pose_body_v2"
174            }
175        },
176        "node_1000": {
177            "node_opts": {
178                "node_name"       : "link_output"
179            },
180            "node_opts_extra": {
181                "node_buff_type"  : 1,
182                "node_buff_count" : 0
183            },
184            "stream_opts": {
185                "stream_input"    : "st_asteria_link_in",
186                "stream_output"   : "st_asteria_link_out",
187                "stream_fmt_in"   : "nn:stream_ai",
188                "stream_fmt_out"  : "nn:stream_ai"
189            }
190        },
191        "node_6": {
192            "node_opts": {
193                "node_name"       : "rkrga"
194            },
195            "node_opts_extra": {
196                "node_buff_type"  : 0,
197                "node_buff_count" : 2,
198                "node_buff_size"  : 115200
199            },
200            "stream_opts": {
201                "stream_input"    : "rga_in",
202                "stream_output"   : "rga_out",
203                "stream_fmt_in"   : "image:nv12",
204                "stream_fmt_out"  : "image:nv12"
205            },
206            "stream_opts_extra": {
207                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,320,240)",
208                "opt_trans_rotate": 0
209            }
210        },
211        "default_mode_link": "none",
212        "link_0": {
213            "link_name"          : "uvc",
214            "link_ship"          : "0,7"
215        },
216        "link_1": {
217            "link_name"          : "nn_isp",
218            "link_ship"          : "2,8-8,11,1000-8,12,1000-8,13,1000"
219        },
220        "link_2": {
221            "link_name"          : "nn_linkout",
222            "link_ship"          : "10,8-8,11,1000-8,12,1000-8,13,1000"
223        },
224        "link_4": {
225            "link_name"          : "uvc_zoom",
226            "link_ship"          : "1,3,6,7-6,10"
227        }
228    }
229}
230