xref: /OK3568_Linux_fs/external/rockit/tgi/sdk/conf/aicamera_uvc_zoom_stasteria.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"       : 1280,
44                "opt_height"      : 720,
45                "opt_vir_width"   : 1280,
46                "opt_vir_height"  : 720,
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"       : "st_asteria"
122            },
123            "node_opts_extra": {
124                "node_buff_type"  : 1,
125                "node_buff_count" : 2
126            },
127            "stream_opts": {
128                "stream_input"    : "st_asteria_in",
129                "stream_output"   : "st_asteria_out",
130                "stream_fmt_in"   : "image:nv12",
131                "stream_fmt_out"  : "nn:stasteria",
132                "stream_mode_in"  : "remain_newest"
133            },
134            "stream_opts_extra": {
135                "opt_stasteria_mode"       : "video",
136                "opt_stasteria_sup_mode"   : "video",
137                "opt_stasteria_scene"      : "scene_nn",
138                "opt_stasteria_sup_detect" : "face,face_distance,face_attribute,face_feature,hand,body"
139            }
140        },
141        "node_1000": {
142            "node_opts": {
143                "node_name"       : "link_output"
144            },
145            "node_opts_extra": {
146                "node_buff_type"  : 1,
147                "node_buff_count" : 0
148            },
149            "stream_opts": {
150                "stream_input"    : "st_asteria_link_in",
151                "stream_output"   : "st_asteria_link_out",
152                "stream_fmt_in"   : "nn:stasteria",
153                "stream_fmt_out"  : "nn:stasteria"
154            }
155        },
156        "node_6": {
157            "node_opts": {
158                "node_name"       : "rkrga"
159            },
160            "node_opts_extra": {
161                "node_buff_type"  : 0,
162                "node_buff_count" : 2,
163                "node_buff_size"  : 115200
164            },
165            "stream_opts": {
166                "stream_input"    : "rga_in",
167                "stream_output"   : "rga_out",
168                "stream_fmt_in"   : "image:nv12",
169                "stream_fmt_out"  : "image:nv12"
170            },
171            "stream_opts_extra": {
172                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,320,240)",
173                "opt_trans_rotate": 0
174            }
175        },
176        "default_mode_link": "none",
177        "link_0": {
178            "link_name"          : "uvc",
179            "link_ship"          : "0,7"
180        },
181        "link_1": {
182            "link_name"          : "nn_isp",
183            "link_ship"          : "2,8,11,1000"
184        },
185        "link_2": {
186            "link_name"          : "nn_linkout",
187            "link_ship"          : "10,8,11,1000"
188        },
189        "link_4": {
190            "link_name"          : "uvc_zoom",
191            "link_ship"          : "1,3,6,7-6,10"
192        }
193    }
194}
195