hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
    "pipe_0": {
        "node_0": {
            "node_opts": {
                "node_name"       : "rkisp"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 4,
                "node_buff_size"  : 1382400
            },
            "stream_opts": {
                "stream_output"   : "isp_scale_0",
                "stream_fmt_out"  : "image:nv12"
            },
            "stream_opts_extra": {
                "opt_entity_name" : "rkispp_scale0",
                "opt_width"       : 1280,
                "opt_height"      : 720,
                "opt_vir_width"   : 1280,
                "opt_vir_height"  : 720,
                "opt_buf_type"    : 1,
                "opt_mem_type"    : 4,
                "opt_use_libv4l2" : 1,
                "opt_colorspace"  : 0
            }
        },
        "node_1": {
            "node_opts": {
                "node_name"       : "rkrga"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 8,
                "node_buff_size"  : 1382400
            },
            "stream_opts": {
                "stream_input"    : "image:nv12_0",
                "stream_output"   : "image:nv12_1",
                "stream_fmt_in"   : "image:nv12",
                "stream_fmt_out"  : "image:nv12"
            },
            "stream_opts_extra": {
                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,1280,720)",
                "opt_trans_rotate": 0
            }
        },
        "node_10": {
            "node_opts": {
                "node_name"       : "rkisp"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 4,
                "node_buff_size"  : 460800
            },
            "stream_opts": {
                "stream_output"   : "isp_scale_1",
                "stream_fmt_out"  : "image:nv12"
            },
            "stream_opts_extra": {
                "opt_entity_name" : "rkispp_scale2",
                "opt_width"       : 640,
                "opt_height"      : 480,
                "opt_vir_width"   : 640,
                "opt_vir_height"  : 480,
                "opt_buf_type"    : 1,
                "opt_mem_type"    : 4,
                "opt_use_libv4l2" : 1,
                "opt_colorspace"  : 0
            }
        },
        "node_11": {
            "node_opts": {
                "node_name"       : "rockx"
            },
            "node_opts_extra": {
                "node_buff_type"  : 1,
                "node_buff_count" : 0
            },
            "stream_opts": {
                "stream_input"    : "image:nv12_10",
                "stream_output"   : "image:rect_10",
                "stream_fmt_in"   : "image:nv12",
                "stream_fmt_out"  : "image:rect"
            },
            "stream_opts_extra": {
                "opt_rockx_model" : "rockx_face_detect",
                "opt_width"      : 640,
                "opt_height"     : 480,
                "opt_md_roi_cnt"  : 5,
                "opt_md_roi_rect" : "none"
            }
        },
        "node_12": {
            "node_opts": {
                "node_name"       : "rkeptz"
            },
            "node_opts_extra": {
                "node_buff_type"  : 1,
                "node_buff_count" : 0
            },
            "stream_opts": {
                "stream_input_0"  : "image:nv12_0",
                "stream_input_1"  : "image:rect_10",
                "stream_output"   : "image:nv12_12",
                "stream_fmt_in_0" : "image:nv12",
                "stream_fmt_in_1" : "image:rect",
                "stream_fmt_out"  : "image:nv12"
            },
            "stream_opts_extra": {
                "opt_width"       : 1280,
                "opt_height"      : 720,
                "opt_clip_width"  : 640,
                "opt_clip_height" : 480
            }
        },
        "node_13": {
            "node_opts": {
                "node_name"       : "rkrga"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 8,
                "node_buff_size"  : 614400
            },
            "stream_opts": {
                "stream_input"    : "image:nv12_12",
                "stream_output"   : "image:nv12_13",
                "stream_fmt_in"   : "image:nv12",
                "stream_fmt_out"  : "image:nv12"
            },
            "stream_opts_extra": {
                "opt_trans_rect"  : "(0,0,1280,720)->(0,0,640,480)",
                "opt_trans_rotate": 0
            }
        }
    }
}