xref: /OK3568_Linux_fs/external/rockit/tgi/sdk/conf/aicamera_uvc_rkvo.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_30": {
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_6": {
69            "node_opts": {
70                "node_name"       : "rkrga"
71            },
72            "node_opts_extra": {
73                "node_buff_type"  : 0,
74                "node_buff_count" : 3,
75                "node_buff_size"  : 614400
76            },
77            "stream_opts": {
78                "stream_input"    : "eptz_clip_in",
79                "stream_output"   : "eptz_clip_out",
80                "stream_fmt_in"   : "image:nv12",
81                "stream_fmt_out"  : "image:nv12",
82                "stream_mode_in"  : "remain_newest"
83            },
84            "stream_opts_extra": {
85                "opt_trans_rect"  : "(0,0,1920,1080)->(0,0,1280,720)",
86                "opt_trans_rotate": 0
87            }
88        },
89        "node_7": {
90            "node_opts": {
91                "node_name"       : "link_output"
92            },
93            "node_opts_extra": {
94                "node_buff_type"  : 1,
95                "node_buff_count" : 0
96            },
97            "stream_opts": {
98                "stream_input"    : "uvc_link_out_in",
99                "stream_output"   : "uvc_link_out_out",
100                "stream_fmt_in"   : "image:nv12",
101                "stream_fmt_out"  : "image:nv12"
102            }
103        },
104        "node_9": {
105            "node_opts": {
106                "node_name"       : "rkvo"
107            },
108            "node_opts_extra": {
109                "node_buff_type"  : 1,
110                "node_buff_count" : 0
111            },
112            "stream_opts": {
113                "stream_input"    : "vo_in",
114                "stream_output"   : "vo_out",
115                "stream_fmt_in"   : "image:nv12",
116                "stream_fmt_out"  : "image:nv12"
117            }
118        },
119        "node_31": {
120            "node_opts": {
121                "node_name"       : "rkrga"
122            },
123            "node_opts_extra": {
124                "node_buff_type"  : 0,
125                "node_buff_count" : 3,
126                "node_buff_size"  : 614400
127            },
128            "stream_opts": {
129                "stream_input"    : "rkvo_in",
130                "stream_output"   : "rkvo_out",
131                "stream_fmt_in"   : "image:nv12",
132                "stream_fmt_out"  : "image:nv12",
133                "stream_mode_in"  : "remain_newest"
134            },
135            "stream_opts_extra": {
136                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,720,1280)",
137                "opt_trans_rotate": 1
138            }
139        },
140        "default_mode_link": "rkvo",
141        "link_0": {
142            "link_name"          : "uvc",
143            "link_ship"          : "0,7-30,31,9"
144        },
145        "link_1": {
146            "link_name"          : "rkvo",
147            "link_ship"          : "30,31,9"
148        },
149        "link_2": {
150            "link_name"          : "uvc_zoom",
151            "link_ship"          : "1,3,6,7"
152        }
153    }
154}
155