-
Notifications
You must be signed in to change notification settings - Fork 16
/
arch_386.go
231 lines (205 loc) · 5.22 KB
/
arch_386.go
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
//go:build linux && 386
// +build linux,386
/////////////////////////////////////////////////////
// //
// !!! THIS IS A GENERATED FILE, DO NOT EDIT !!! //
// //
/////////////////////////////////////////////////////
package v4l
const (
vidioc_querycap = 0x80685600
vidioc_gFmt = 0xc0cc5604
vidioc_sFmt = 0xc0cc5605
vidioc_gParm = 0xc0cc5615
vidioc_sParm = 0xc0cc5616
vidioc_reqbufs = 0xc0145608
vidioc_querybuf = 0xc0445609
vidioc_qbuf = 0xc044560f
vidioc_dqbuf = 0xc0445611
vidioc_streamon = 0x40045612
vidioc_streamoff = 0x40045613
vidioc_cropcap = 0xc02c563a
vidioc_sCrop = 0x4014563c
vidioc_enumstd = 0xc0405619
vidioc_enumFmt = 0xc0405602
vidioc_enumFramesizes = 0xc02c564a
vidioc_enumFrameintervals = 0xc034564b
vidioc_queryctrl = 0xc0445624
vidioc_querymenu = 0xc02c5625
vidioc_gCtrl = 0xc008561b
vidioc_sCtrl = 0xc008561c
)
const (
size_capability = 104
size_format = 204
size_streamparm = 204
size_requestbuffers = 20
size_buffer = 68
size_int = 4
size_cropcap = 44
size_crop = 20
size_standard = 64
size_fmtdesc = 64
size_frmsizeenum = 44
size_frmivalenum = 52
size_queryctrl = 68
size_querymenu = 44
size_control = 8
)
const (
offs_capability_driver = 0
size_capability_driver = 16
offs_capability_card = 16
size_capability_card = 32
offs_capability_busInfo = 48
size_capability_busInfo = 32
offs_capability_version = 80
offs_capability_capabilities = 84
offs_capability_deviceCaps = 88
)
const (
offs_format_typ = 0
offs_format_fmt = 4
)
const (
offs_pixFormat_width = 0
offs_pixFormat_height = 4
offs_pixFormat_pixelformat = 8
offs_pixFormat_field = 12
offs_pixFormat_bytesperline = 16
offs_pixFormat_sizeimage = 20
offs_pixFormat_colorspace = 24
offs_pixFormat_priv = 28
offs_pixFormat_flags = 32
offs_pixFormat_ycbcrEnc = 36
offs_pixFormat_quantization = 40
offs_pixFormat_xferFunc = 44
)
const (
offs_streamparm_typ = 0
offs_streamparm_parm = 4
)
const (
offs_captureparm_capability = 0
offs_captureparm_capturemode = 4
offs_captureparm_timeperframe = 8
offs_captureparm_extendedmode = 16
offs_captureparm_readbuffers = 20
)
const (
offs_requestbuffers_count = 0
offs_requestbuffers_typ = 4
offs_requestbuffers_memory = 8
)
const (
offs_buffer_index = 0
offs_buffer_typ = 4
offs_buffer_bytesused = 8
offs_buffer_flags = 12
offs_buffer_field = 16
offs_buffer_timecode = 28
offs_buffer_sequence = 44
offs_buffer_memory = 48
offs_buffer_offset = 52
offs_buffer_length = 56
)
const (
offs_cropcap_typ = 0
offs_cropcap_bounds = 4
offs_cropcap_defrect = 20
offs_cropcap_pixelaspect = 36
)
const (
offs_crop_typ = 0
offs_crop_c = 4
)
const (
offs_fract_numerator = 0
offs_fract_denominator = 4
)
const (
offs_timecode_typ = 0
offs_timecode_flags = 4
offs_timecode_frames = 8
offs_timecode_seconds = 9
offs_timecode_minutes = 10
offs_timecode_hours = 11
offs_timecode_userbits = 12
)
const (
offs_rect_left = 0
offs_rect_top = 4
offs_rect_width = 8
offs_rect_height = 12
)
const (
offs_standard_index = 0
offs_standard_id = 4
offs_standard_name = 12
size_standard_name = 24
offs_standard_frameperiod = 36
offs_standard_framelines = 44
)
const (
offs_fmtdesc_index = 0
offs_fmtdesc_typ = 4
offs_fmtdesc_flags = 8
offs_fmtdesc_description = 12
size_fmtdesc_description = 32
offs_fmtdesc_pixelformat = 44
)
const (
offs_frmsizeenum_index = 0
offs_frmsizeenum_pixelFormat = 4
offs_frmsizeenum_typ = 8
offs_frmsizeenum_discrete = 12
offs_frmsizeenum_stepwise = 12
)
const (
offs_frmsizeDiscrete_width = 0
offs_frmsizeDiscrete_height = 4
)
const (
offs_frmsizeStepwise_minWidth = 0
offs_frmsizeStepwise_maxWidth = 4
offs_frmsizeStepwise_stepWidth = 8
offs_frmsizeStepwise_minHeight = 12
offs_frmsizeStepwise_maxHeight = 16
offs_frmsizeStepwise_stepHeight = 20
)
const (
offs_frmivalenum_index = 0
offs_frmivalenum_pixelFormat = 4
offs_frmivalenum_width = 8
offs_frmivalenum_height = 12
offs_frmivalenum_typ = 16
offs_frmivalenum_discrete = 20
offs_frmivalenum_stepwise = 20
)
const (
offs_frmivalStepwise_min = 0
offs_frmivalStepwise_max = 8
offs_frmivalStepwise_step = 16
)
const (
offs_queryctrl_id = 0
offs_queryctrl_typ = 4
offs_queryctrl_name = 8
size_queryctrl_name = 32
offs_queryctrl_minimum = 40
offs_queryctrl_maximum = 44
offs_queryctrl_step = 48
offs_queryctrl_defaultValue = 52
offs_queryctrl_flags = 56
)
const (
offs_querymenu_id = 0
offs_querymenu_index = 4
offs_querymenu_name = 8
size_querymenu_name = 32
offs_querymenu_value = 8
)
const (
offs_control_id = 0
offs_control_value = 4
)