Passed
Branch master (5b9119)
by manny
02:05
created

obspython   F

Complexity

Total Complexity 1294

Size/Duplication

Total Lines 6455
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1294
eloc 5158
dl 0
loc 6455
rs 0.8
c 0
b 0
f 0

How to fix   Complexity   

Complexity

Complex classes like obspython often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.

Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.

1
# This file was automatically generated by SWIG (http://www.swig.org).
2
# Version 3.0.12
3
#
4
# Do not make changes to this file unless you know what you are doing--modify
5
# the SWIG interface file instead.
6
7
from sys import version_info as _swig_python_version_info
8
if _swig_python_version_info >= (2, 7, 0):
9
    def swig_import_helper():
10
        import importlib
11
        pkg = __name__.rpartition('.')[0]
12
        mname = '.'.join((pkg, '_obspython')).lstrip('.')
13
        try:
14
            return importlib.import_module(mname)
15
        except ImportError:
16
            return importlib.import_module('_obspython')
17
    _obspython = swig_import_helper()
18
    del swig_import_helper
19
elif _swig_python_version_info >= (2, 6, 0):
20
    def swig_import_helper():
21
        from os.path import dirname
22
        import imp
23
        fp = None
24
        try:
25
            fp, pathname, description = imp.find_module('_obspython', [dirname(__file__)])
26
        except ImportError:
27
            import _obspython
28
            return _obspython
29
        try:
30
            _mod = imp.load_module('_obspython', fp, pathname, description)
31
        finally:
32
            if fp is not None:
33
                fp.close()
34
        return _mod
35
    _obspython = swig_import_helper()
36
    del swig_import_helper
37
else:
38
    import _obspython
39
del _swig_python_version_info
40
41
try:
42
    _swig_property = property
43
except NameError:
44
    pass  # Python < 2.2 doesn't have 'property'.
45
46
try:
47
    import builtins as __builtin__
48
except ImportError:
49
    import __builtin__
50
51
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
52
    if (name == "thisown"):
53
        return self.this.own(value)
54
    if (name == "this"):
55
        if type(value).__name__ == 'SwigPyObject':
56
            self.__dict__[name] = value
57
            return
58
    method = class_type.__swig_setmethods__.get(name, None)
59
    if method:
60
        return method(self, value)
61
    if (not static):
62
        if _newclass:
63
            object.__setattr__(self, name, value)
64
        else:
65
            self.__dict__[name] = value
66
    else:
67
        raise AttributeError("You cannot add attributes to %s" % self)
68
69
70
def _swig_setattr(self, class_type, name, value):
71
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)
72
73
74
def _swig_getattr(self, class_type, name):
75
    if (name == "thisown"):
76
        return self.this.own()
77
    method = class_type.__swig_getmethods__.get(name, None)
78
    if method:
79
        return method(self)
80
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
81
82
83
def _swig_repr(self):
84
    try:
85
        strthis = "proxy of " + self.this.__repr__()
86
    except __builtin__.Exception:
87
        strthis = ""
88
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
89
90
try:
91
    _object = object
92
    _newclass = 1
93
except __builtin__.Exception:
94
    class _object:
95
        pass
96
    _newclass = 0
97
98
99
def blog(log_level: 'int', message: 'char const *') -> "void":
100
    return _obspython.blog(log_level, message)
101
blog = _obspython.blog
102
GS_MAX_TEXTURES = _obspython.GS_MAX_TEXTURES
103
GS_POINTS = _obspython.GS_POINTS
104
GS_LINES = _obspython.GS_LINES
105
GS_LINESTRIP = _obspython.GS_LINESTRIP
106
GS_TRIS = _obspython.GS_TRIS
107
GS_TRISTRIP = _obspython.GS_TRISTRIP
108
GS_UNKNOWN = _obspython.GS_UNKNOWN
109
GS_A8 = _obspython.GS_A8
110
GS_R8 = _obspython.GS_R8
111
GS_RGBA = _obspython.GS_RGBA
112
GS_BGRX = _obspython.GS_BGRX
113
GS_BGRA = _obspython.GS_BGRA
114
GS_R10G10B10A2 = _obspython.GS_R10G10B10A2
115
GS_RGBA16 = _obspython.GS_RGBA16
116
GS_R16 = _obspython.GS_R16
117
GS_RGBA16F = _obspython.GS_RGBA16F
118
GS_RGBA32F = _obspython.GS_RGBA32F
119
GS_RG16F = _obspython.GS_RG16F
120
GS_RG32F = _obspython.GS_RG32F
121
GS_R16F = _obspython.GS_R16F
122
GS_R32F = _obspython.GS_R32F
123
GS_DXT1 = _obspython.GS_DXT1
124
GS_DXT3 = _obspython.GS_DXT3
125
GS_DXT5 = _obspython.GS_DXT5
126
GS_R8G8 = _obspython.GS_R8G8
127
GS_ZS_NONE = _obspython.GS_ZS_NONE
128
GS_Z16 = _obspython.GS_Z16
129
GS_Z24_S8 = _obspython.GS_Z24_S8
130
GS_Z32F = _obspython.GS_Z32F
131
GS_Z32F_S8X24 = _obspython.GS_Z32F_S8X24
132
GS_UNSIGNED_SHORT = _obspython.GS_UNSIGNED_SHORT
133
GS_UNSIGNED_LONG = _obspython.GS_UNSIGNED_LONG
134
GS_BACK = _obspython.GS_BACK
135
GS_FRONT = _obspython.GS_FRONT
136
GS_NEITHER = _obspython.GS_NEITHER
137
GS_BLEND_ZERO = _obspython.GS_BLEND_ZERO
138
GS_BLEND_ONE = _obspython.GS_BLEND_ONE
139
GS_BLEND_SRCCOLOR = _obspython.GS_BLEND_SRCCOLOR
140
GS_BLEND_INVSRCCOLOR = _obspython.GS_BLEND_INVSRCCOLOR
141
GS_BLEND_SRCALPHA = _obspython.GS_BLEND_SRCALPHA
142
GS_BLEND_INVSRCALPHA = _obspython.GS_BLEND_INVSRCALPHA
143
GS_BLEND_DSTCOLOR = _obspython.GS_BLEND_DSTCOLOR
144
GS_BLEND_INVDSTCOLOR = _obspython.GS_BLEND_INVDSTCOLOR
145
GS_BLEND_DSTALPHA = _obspython.GS_BLEND_DSTALPHA
146
GS_BLEND_INVDSTALPHA = _obspython.GS_BLEND_INVDSTALPHA
147
GS_BLEND_SRCALPHASAT = _obspython.GS_BLEND_SRCALPHASAT
148
GS_NEVER = _obspython.GS_NEVER
149
GS_LESS = _obspython.GS_LESS
150
GS_LEQUAL = _obspython.GS_LEQUAL
151
GS_EQUAL = _obspython.GS_EQUAL
152
GS_GEQUAL = _obspython.GS_GEQUAL
153
GS_GREATER = _obspython.GS_GREATER
154
GS_NOTEQUAL = _obspython.GS_NOTEQUAL
155
GS_ALWAYS = _obspython.GS_ALWAYS
156
GS_STENCIL_FRONT = _obspython.GS_STENCIL_FRONT
157
GS_STENCIL_BACK = _obspython.GS_STENCIL_BACK
158
GS_STENCIL_BOTH = _obspython.GS_STENCIL_BOTH
159
GS_KEEP = _obspython.GS_KEEP
160
GS_ZERO = _obspython.GS_ZERO
161
GS_REPLACE = _obspython.GS_REPLACE
162
GS_INCR = _obspython.GS_INCR
163
GS_DECR = _obspython.GS_DECR
164
GS_INVERT = _obspython.GS_INVERT
165
GS_POSITIVE_X = _obspython.GS_POSITIVE_X
166
GS_NEGATIVE_X = _obspython.GS_NEGATIVE_X
167
GS_POSITIVE_Y = _obspython.GS_POSITIVE_Y
168
GS_NEGATIVE_Y = _obspython.GS_NEGATIVE_Y
169
GS_POSITIVE_Z = _obspython.GS_POSITIVE_Z
170
GS_NEGATIVE_Z = _obspython.GS_NEGATIVE_Z
171
GS_FILTER_POINT = _obspython.GS_FILTER_POINT
172
GS_FILTER_LINEAR = _obspython.GS_FILTER_LINEAR
173
GS_FILTER_ANISOTROPIC = _obspython.GS_FILTER_ANISOTROPIC
174
GS_FILTER_MIN_MAG_POINT_MIP_LINEAR = _obspython.GS_FILTER_MIN_MAG_POINT_MIP_LINEAR
175
GS_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = _obspython.GS_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT
176
GS_FILTER_MIN_POINT_MAG_MIP_LINEAR = _obspython.GS_FILTER_MIN_POINT_MAG_MIP_LINEAR
177
GS_FILTER_MIN_LINEAR_MAG_MIP_POINT = _obspython.GS_FILTER_MIN_LINEAR_MAG_MIP_POINT
178
GS_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = _obspython.GS_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR
179
GS_FILTER_MIN_MAG_LINEAR_MIP_POINT = _obspython.GS_FILTER_MIN_MAG_LINEAR_MIP_POINT
180
GS_ADDRESS_CLAMP = _obspython.GS_ADDRESS_CLAMP
181
GS_ADDRESS_WRAP = _obspython.GS_ADDRESS_WRAP
182
GS_ADDRESS_MIRROR = _obspython.GS_ADDRESS_MIRROR
183
GS_ADDRESS_BORDER = _obspython.GS_ADDRESS_BORDER
184
GS_ADDRESS_MIRRORONCE = _obspython.GS_ADDRESS_MIRRORONCE
185
GS_TEXTURE_2D = _obspython.GS_TEXTURE_2D
186
GS_TEXTURE_3D = _obspython.GS_TEXTURE_3D
187
GS_TEXTURE_CUBE = _obspython.GS_TEXTURE_CUBE
188
class gs_device_loss(_object):
189
    __swig_setmethods__ = {}
190
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_device_loss, name, value)
191
    __swig_getmethods__ = {}
192
    __getattr__ = lambda self, name: _swig_getattr(self, gs_device_loss, name)
193
    __repr__ = _swig_repr
194
    __swig_setmethods__["device_loss_release"] = _obspython.gs_device_loss_device_loss_release_set
195
    __swig_getmethods__["device_loss_release"] = _obspython.gs_device_loss_device_loss_release_get
196
    if _newclass:
197
        device_loss_release = _swig_property(_obspython.gs_device_loss_device_loss_release_get, _obspython.gs_device_loss_device_loss_release_set)
198
    __swig_setmethods__["device_loss_rebuild"] = _obspython.gs_device_loss_device_loss_rebuild_set
199
    __swig_getmethods__["device_loss_rebuild"] = _obspython.gs_device_loss_device_loss_rebuild_get
200
    if _newclass:
201
        device_loss_rebuild = _swig_property(_obspython.gs_device_loss_device_loss_rebuild_get, _obspython.gs_device_loss_device_loss_rebuild_set)
202
    __swig_setmethods__["data"] = _obspython.gs_device_loss_data_set
203
    __swig_getmethods__["data"] = _obspython.gs_device_loss_data_get
204
    if _newclass:
205
        data = _swig_property(_obspython.gs_device_loss_data_get, _obspython.gs_device_loss_data_set)
206
207
    def __init__(self):
208
        this = _obspython.new_gs_device_loss()
209
        try:
210
            self.this.append(this)
211
        except __builtin__.Exception:
212
            self.this = this
213
    __swig_destroy__ = _obspython.delete_gs_device_loss
214
    __del__ = lambda self: None
215
gs_device_loss_swigregister = _obspython.gs_device_loss_swigregister
216
gs_device_loss_swigregister(gs_device_loss)
217
218
class gs_monitor_info(_object):
219
    __swig_setmethods__ = {}
220
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_monitor_info, name, value)
221
    __swig_getmethods__ = {}
222
    __getattr__ = lambda self, name: _swig_getattr(self, gs_monitor_info, name)
223
    __repr__ = _swig_repr
224
    __swig_setmethods__["rotation_degrees"] = _obspython.gs_monitor_info_rotation_degrees_set
225
    __swig_getmethods__["rotation_degrees"] = _obspython.gs_monitor_info_rotation_degrees_get
226
    if _newclass:
227
        rotation_degrees = _swig_property(_obspython.gs_monitor_info_rotation_degrees_get, _obspython.gs_monitor_info_rotation_degrees_set)
228
    __swig_setmethods__["x"] = _obspython.gs_monitor_info_x_set
229
    __swig_getmethods__["x"] = _obspython.gs_monitor_info_x_get
230
    if _newclass:
231
        x = _swig_property(_obspython.gs_monitor_info_x_get, _obspython.gs_monitor_info_x_set)
232
    __swig_setmethods__["y"] = _obspython.gs_monitor_info_y_set
233
    __swig_getmethods__["y"] = _obspython.gs_monitor_info_y_get
234
    if _newclass:
235
        y = _swig_property(_obspython.gs_monitor_info_y_get, _obspython.gs_monitor_info_y_set)
236
    __swig_setmethods__["cx"] = _obspython.gs_monitor_info_cx_set
237
    __swig_getmethods__["cx"] = _obspython.gs_monitor_info_cx_get
238
    if _newclass:
239
        cx = _swig_property(_obspython.gs_monitor_info_cx_get, _obspython.gs_monitor_info_cx_set)
240
    __swig_setmethods__["cy"] = _obspython.gs_monitor_info_cy_set
241
    __swig_getmethods__["cy"] = _obspython.gs_monitor_info_cy_get
242
    if _newclass:
243
        cy = _swig_property(_obspython.gs_monitor_info_cy_get, _obspython.gs_monitor_info_cy_set)
244
245
    def __init__(self):
246
        this = _obspython.new_gs_monitor_info()
247
        try:
248
            self.this.append(this)
249
        except __builtin__.Exception:
250
            self.this = this
251
    __swig_destroy__ = _obspython.delete_gs_monitor_info
252
    __del__ = lambda self: None
253
gs_monitor_info_swigregister = _obspython.gs_monitor_info_swigregister
254
gs_monitor_info_swigregister(gs_monitor_info)
255
256
class gs_tvertarray(_object):
257
    __swig_setmethods__ = {}
258
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_tvertarray, name, value)
259
    __swig_getmethods__ = {}
260
    __getattr__ = lambda self, name: _swig_getattr(self, gs_tvertarray, name)
261
    __repr__ = _swig_repr
262
    __swig_setmethods__["width"] = _obspython.gs_tvertarray_width_set
263
    __swig_getmethods__["width"] = _obspython.gs_tvertarray_width_get
264
    if _newclass:
265
        width = _swig_property(_obspython.gs_tvertarray_width_get, _obspython.gs_tvertarray_width_set)
266
    __swig_setmethods__["array"] = _obspython.gs_tvertarray_array_set
267
    __swig_getmethods__["array"] = _obspython.gs_tvertarray_array_get
268
    if _newclass:
269
        array = _swig_property(_obspython.gs_tvertarray_array_get, _obspython.gs_tvertarray_array_set)
270
271
    def __init__(self):
272
        this = _obspython.new_gs_tvertarray()
273
        try:
274
            self.this.append(this)
275
        except __builtin__.Exception:
276
            self.this = this
277
    __swig_destroy__ = _obspython.delete_gs_tvertarray
278
    __del__ = lambda self: None
279
gs_tvertarray_swigregister = _obspython.gs_tvertarray_swigregister
280
gs_tvertarray_swigregister(gs_tvertarray)
281
282
class gs_vb_data(_object):
283
    __swig_setmethods__ = {}
284
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_vb_data, name, value)
285
    __swig_getmethods__ = {}
286
    __getattr__ = lambda self, name: _swig_getattr(self, gs_vb_data, name)
287
    __repr__ = _swig_repr
288
    __swig_setmethods__["num"] = _obspython.gs_vb_data_num_set
289
    __swig_getmethods__["num"] = _obspython.gs_vb_data_num_get
290
    if _newclass:
291
        num = _swig_property(_obspython.gs_vb_data_num_get, _obspython.gs_vb_data_num_set)
292
    __swig_setmethods__["points"] = _obspython.gs_vb_data_points_set
293
    __swig_getmethods__["points"] = _obspython.gs_vb_data_points_get
294
    if _newclass:
295
        points = _swig_property(_obspython.gs_vb_data_points_get, _obspython.gs_vb_data_points_set)
296
    __swig_setmethods__["normals"] = _obspython.gs_vb_data_normals_set
297
    __swig_getmethods__["normals"] = _obspython.gs_vb_data_normals_get
298
    if _newclass:
299
        normals = _swig_property(_obspython.gs_vb_data_normals_get, _obspython.gs_vb_data_normals_set)
300
    __swig_setmethods__["tangents"] = _obspython.gs_vb_data_tangents_set
301
    __swig_getmethods__["tangents"] = _obspython.gs_vb_data_tangents_get
302
    if _newclass:
303
        tangents = _swig_property(_obspython.gs_vb_data_tangents_get, _obspython.gs_vb_data_tangents_set)
304
    __swig_setmethods__["colors"] = _obspython.gs_vb_data_colors_set
305
    __swig_getmethods__["colors"] = _obspython.gs_vb_data_colors_get
306
    if _newclass:
307
        colors = _swig_property(_obspython.gs_vb_data_colors_get, _obspython.gs_vb_data_colors_set)
308
    __swig_setmethods__["num_tex"] = _obspython.gs_vb_data_num_tex_set
309
    __swig_getmethods__["num_tex"] = _obspython.gs_vb_data_num_tex_get
310
    if _newclass:
311
        num_tex = _swig_property(_obspython.gs_vb_data_num_tex_get, _obspython.gs_vb_data_num_tex_set)
312
    __swig_setmethods__["tvarray"] = _obspython.gs_vb_data_tvarray_set
313
    __swig_getmethods__["tvarray"] = _obspython.gs_vb_data_tvarray_get
314
    if _newclass:
315
        tvarray = _swig_property(_obspython.gs_vb_data_tvarray_get, _obspython.gs_vb_data_tvarray_set)
316
317
    def __init__(self):
318
        this = _obspython.new_gs_vb_data()
319
        try:
320
            self.this.append(this)
321
        except __builtin__.Exception:
322
            self.this = this
323
    __swig_destroy__ = _obspython.delete_gs_vb_data
324
    __del__ = lambda self: None
325
gs_vb_data_swigregister = _obspython.gs_vb_data_swigregister
326
gs_vb_data_swigregister(gs_vb_data)
327
328
329
def gs_vbdata_create() -> "struct gs_vb_data *":
330
    return _obspython.gs_vbdata_create()
331
gs_vbdata_create = _obspython.gs_vbdata_create
332
333
def gs_vbdata_destroy(data: 'gs_vb_data') -> "void":
334
    return _obspython.gs_vbdata_destroy(data)
335
gs_vbdata_destroy = _obspython.gs_vbdata_destroy
336
class gs_sampler_info(_object):
337
    __swig_setmethods__ = {}
338
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_sampler_info, name, value)
339
    __swig_getmethods__ = {}
340
    __getattr__ = lambda self, name: _swig_getattr(self, gs_sampler_info, name)
341
    __repr__ = _swig_repr
342
    __swig_setmethods__["filter"] = _obspython.gs_sampler_info_filter_set
343
    __swig_getmethods__["filter"] = _obspython.gs_sampler_info_filter_get
344
    if _newclass:
345
        filter = _swig_property(_obspython.gs_sampler_info_filter_get, _obspython.gs_sampler_info_filter_set)
346
    __swig_setmethods__["address_u"] = _obspython.gs_sampler_info_address_u_set
347
    __swig_getmethods__["address_u"] = _obspython.gs_sampler_info_address_u_get
348
    if _newclass:
349
        address_u = _swig_property(_obspython.gs_sampler_info_address_u_get, _obspython.gs_sampler_info_address_u_set)
350
    __swig_setmethods__["address_v"] = _obspython.gs_sampler_info_address_v_set
351
    __swig_getmethods__["address_v"] = _obspython.gs_sampler_info_address_v_get
352
    if _newclass:
353
        address_v = _swig_property(_obspython.gs_sampler_info_address_v_get, _obspython.gs_sampler_info_address_v_set)
354
    __swig_setmethods__["address_w"] = _obspython.gs_sampler_info_address_w_set
355
    __swig_getmethods__["address_w"] = _obspython.gs_sampler_info_address_w_get
356
    if _newclass:
357
        address_w = _swig_property(_obspython.gs_sampler_info_address_w_get, _obspython.gs_sampler_info_address_w_set)
358
    __swig_setmethods__["max_anisotropy"] = _obspython.gs_sampler_info_max_anisotropy_set
359
    __swig_getmethods__["max_anisotropy"] = _obspython.gs_sampler_info_max_anisotropy_get
360
    if _newclass:
361
        max_anisotropy = _swig_property(_obspython.gs_sampler_info_max_anisotropy_get, _obspython.gs_sampler_info_max_anisotropy_set)
362
    __swig_setmethods__["border_color"] = _obspython.gs_sampler_info_border_color_set
363
    __swig_getmethods__["border_color"] = _obspython.gs_sampler_info_border_color_get
364
    if _newclass:
365
        border_color = _swig_property(_obspython.gs_sampler_info_border_color_get, _obspython.gs_sampler_info_border_color_set)
366
367
    def __init__(self):
368
        this = _obspython.new_gs_sampler_info()
369
        try:
370
            self.this.append(this)
371
        except __builtin__.Exception:
372
            self.this = this
373
    __swig_destroy__ = _obspython.delete_gs_sampler_info
374
    __del__ = lambda self: None
375
gs_sampler_info_swigregister = _obspython.gs_sampler_info_swigregister
376
gs_sampler_info_swigregister(gs_sampler_info)
377
378
class gs_display_mode(_object):
379
    __swig_setmethods__ = {}
380
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_display_mode, name, value)
381
    __swig_getmethods__ = {}
382
    __getattr__ = lambda self, name: _swig_getattr(self, gs_display_mode, name)
383
    __repr__ = _swig_repr
384
    __swig_setmethods__["width"] = _obspython.gs_display_mode_width_set
385
    __swig_getmethods__["width"] = _obspython.gs_display_mode_width_get
386
    if _newclass:
387
        width = _swig_property(_obspython.gs_display_mode_width_get, _obspython.gs_display_mode_width_set)
388
    __swig_setmethods__["height"] = _obspython.gs_display_mode_height_set
389
    __swig_getmethods__["height"] = _obspython.gs_display_mode_height_get
390
    if _newclass:
391
        height = _swig_property(_obspython.gs_display_mode_height_get, _obspython.gs_display_mode_height_set)
392
    __swig_setmethods__["bits"] = _obspython.gs_display_mode_bits_set
393
    __swig_getmethods__["bits"] = _obspython.gs_display_mode_bits_get
394
    if _newclass:
395
        bits = _swig_property(_obspython.gs_display_mode_bits_get, _obspython.gs_display_mode_bits_set)
396
    __swig_setmethods__["freq"] = _obspython.gs_display_mode_freq_set
397
    __swig_getmethods__["freq"] = _obspython.gs_display_mode_freq_get
398
    if _newclass:
399
        freq = _swig_property(_obspython.gs_display_mode_freq_get, _obspython.gs_display_mode_freq_set)
400
401
    def __init__(self):
402
        this = _obspython.new_gs_display_mode()
403
        try:
404
            self.this.append(this)
405
        except __builtin__.Exception:
406
            self.this = this
407
    __swig_destroy__ = _obspython.delete_gs_display_mode
408
    __del__ = lambda self: None
409
gs_display_mode_swigregister = _obspython.gs_display_mode_swigregister
410
gs_display_mode_swigregister(gs_display_mode)
411
412
class gs_rect(_object):
413
    __swig_setmethods__ = {}
414
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_rect, name, value)
415
    __swig_getmethods__ = {}
416
    __getattr__ = lambda self, name: _swig_getattr(self, gs_rect, name)
417
    __repr__ = _swig_repr
418
    __swig_setmethods__["x"] = _obspython.gs_rect_x_set
419
    __swig_getmethods__["x"] = _obspython.gs_rect_x_get
420
    if _newclass:
421
        x = _swig_property(_obspython.gs_rect_x_get, _obspython.gs_rect_x_set)
422
    __swig_setmethods__["y"] = _obspython.gs_rect_y_set
423
    __swig_getmethods__["y"] = _obspython.gs_rect_y_get
424
    if _newclass:
425
        y = _swig_property(_obspython.gs_rect_y_get, _obspython.gs_rect_y_set)
426
    __swig_setmethods__["cx"] = _obspython.gs_rect_cx_set
427
    __swig_getmethods__["cx"] = _obspython.gs_rect_cx_get
428
    if _newclass:
429
        cx = _swig_property(_obspython.gs_rect_cx_get, _obspython.gs_rect_cx_set)
430
    __swig_setmethods__["cy"] = _obspython.gs_rect_cy_set
431
    __swig_getmethods__["cy"] = _obspython.gs_rect_cy_get
432
    if _newclass:
433
        cy = _swig_property(_obspython.gs_rect_cy_get, _obspython.gs_rect_cy_set)
434
435
    def __init__(self):
436
        this = _obspython.new_gs_rect()
437
        try:
438
            self.this.append(this)
439
        except __builtin__.Exception:
440
            self.this = this
441
    __swig_destroy__ = _obspython.delete_gs_rect
442
    __del__ = lambda self: None
443
gs_rect_swigregister = _obspython.gs_rect_swigregister
444
gs_rect_swigregister(gs_rect)
445
446
GS_SHADER_PARAM_UNKNOWN = _obspython.GS_SHADER_PARAM_UNKNOWN
447
GS_SHADER_PARAM_BOOL = _obspython.GS_SHADER_PARAM_BOOL
448
GS_SHADER_PARAM_FLOAT = _obspython.GS_SHADER_PARAM_FLOAT
449
GS_SHADER_PARAM_INT = _obspython.GS_SHADER_PARAM_INT
450
GS_SHADER_PARAM_STRING = _obspython.GS_SHADER_PARAM_STRING
451
GS_SHADER_PARAM_VEC2 = _obspython.GS_SHADER_PARAM_VEC2
452
GS_SHADER_PARAM_VEC3 = _obspython.GS_SHADER_PARAM_VEC3
453
GS_SHADER_PARAM_VEC4 = _obspython.GS_SHADER_PARAM_VEC4
454
GS_SHADER_PARAM_INT2 = _obspython.GS_SHADER_PARAM_INT2
455
GS_SHADER_PARAM_INT3 = _obspython.GS_SHADER_PARAM_INT3
456
GS_SHADER_PARAM_INT4 = _obspython.GS_SHADER_PARAM_INT4
457
GS_SHADER_PARAM_MATRIX4X4 = _obspython.GS_SHADER_PARAM_MATRIX4X4
458
GS_SHADER_PARAM_TEXTURE = _obspython.GS_SHADER_PARAM_TEXTURE
459
460
def gs_effect_destroy(effect: 'gs_effect_t *') -> "void":
461
    return _obspython.gs_effect_destroy(effect)
462
gs_effect_destroy = _obspython.gs_effect_destroy
463
464
def gs_effect_get_technique(effect: 'gs_effect_t const *', name: 'char const *') -> "gs_technique_t *":
465
    return _obspython.gs_effect_get_technique(effect, name)
466
gs_effect_get_technique = _obspython.gs_effect_get_technique
467
468
def gs_effect_get_current_technique(effect: 'gs_effect_t const *') -> "gs_technique_t *":
469
    return _obspython.gs_effect_get_current_technique(effect)
470
gs_effect_get_current_technique = _obspython.gs_effect_get_current_technique
471
472
def gs_technique_begin(technique: 'gs_technique_t *') -> "size_t":
473
    return _obspython.gs_technique_begin(technique)
474
gs_technique_begin = _obspython.gs_technique_begin
475
476
def gs_technique_end(technique: 'gs_technique_t *') -> "void":
477
    return _obspython.gs_technique_end(technique)
478
gs_technique_end = _obspython.gs_technique_end
479
480
def gs_technique_begin_pass(technique: 'gs_technique_t *', arg2: 'size_t') -> "bool":
481
    return _obspython.gs_technique_begin_pass(technique, arg2)
482
gs_technique_begin_pass = _obspython.gs_technique_begin_pass
483
484
def gs_technique_begin_pass_by_name(technique: 'gs_technique_t *', name: 'char const *') -> "bool":
485
    return _obspython.gs_technique_begin_pass_by_name(technique, name)
486
gs_technique_begin_pass_by_name = _obspython.gs_technique_begin_pass_by_name
487
488
def gs_technique_end_pass(technique: 'gs_technique_t *') -> "void":
489
    return _obspython.gs_technique_end_pass(technique)
490
gs_technique_end_pass = _obspython.gs_technique_end_pass
491
492
def gs_technique_get_pass_by_idx(technique: 'gs_technique_t const *', arg2: 'size_t') -> "gs_epass_t *":
493
    return _obspython.gs_technique_get_pass_by_idx(technique, arg2)
494
gs_technique_get_pass_by_idx = _obspython.gs_technique_get_pass_by_idx
495
496
def gs_technique_get_pass_by_name(technique: 'gs_technique_t const *', name: 'char const *') -> "gs_epass_t *":
497
    return _obspython.gs_technique_get_pass_by_name(technique, name)
498
gs_technique_get_pass_by_name = _obspython.gs_technique_get_pass_by_name
499
500
def gs_effect_get_num_params(effect: 'gs_effect_t const *') -> "size_t":
501
    return _obspython.gs_effect_get_num_params(effect)
502
gs_effect_get_num_params = _obspython.gs_effect_get_num_params
503
504
def gs_effect_get_param_by_idx(effect: 'gs_effect_t const *', param: 'size_t') -> "gs_eparam_t *":
505
    return _obspython.gs_effect_get_param_by_idx(effect, param)
506
gs_effect_get_param_by_idx = _obspython.gs_effect_get_param_by_idx
507
508
def gs_effect_get_param_by_name(effect: 'gs_effect_t const *', name: 'char const *') -> "gs_eparam_t *":
509
    return _obspython.gs_effect_get_param_by_name(effect, name)
510
gs_effect_get_param_by_name = _obspython.gs_effect_get_param_by_name
511
512
def gs_param_get_num_annotations(param: 'gs_eparam_t const *') -> "size_t":
513
    return _obspython.gs_param_get_num_annotations(param)
514
gs_param_get_num_annotations = _obspython.gs_param_get_num_annotations
515
516
def gs_param_get_annotation_by_idx(param: 'gs_eparam_t const *', annotation: 'size_t') -> "gs_eparam_t *":
517
    return _obspython.gs_param_get_annotation_by_idx(param, annotation)
518
gs_param_get_annotation_by_idx = _obspython.gs_param_get_annotation_by_idx
519
520
def gs_param_get_annotation_by_name(param: 'gs_eparam_t const *', name: 'char const *') -> "gs_eparam_t *":
521
    return _obspython.gs_param_get_annotation_by_name(param, name)
522
gs_param_get_annotation_by_name = _obspython.gs_param_get_annotation_by_name
523
524
def gs_effect_loop(effect: 'gs_effect_t *', name: 'char const *') -> "bool":
525
    return _obspython.gs_effect_loop(effect, name)
526
gs_effect_loop = _obspython.gs_effect_loop
527
528
def gs_effect_update_params(effect: 'gs_effect_t *') -> "void":
529
    return _obspython.gs_effect_update_params(effect)
530
gs_effect_update_params = _obspython.gs_effect_update_params
531
532
def gs_effect_get_viewproj_matrix(effect: 'gs_effect_t const *') -> "gs_eparam_t *":
533
    return _obspython.gs_effect_get_viewproj_matrix(effect)
534
gs_effect_get_viewproj_matrix = _obspython.gs_effect_get_viewproj_matrix
535
536
def gs_effect_get_world_matrix(effect: 'gs_effect_t const *') -> "gs_eparam_t *":
537
    return _obspython.gs_effect_get_world_matrix(effect)
538
gs_effect_get_world_matrix = _obspython.gs_effect_get_world_matrix
539
540
def gs_effect_set_bool(param: 'gs_eparam_t *', val: 'bool') -> "void":
541
    return _obspython.gs_effect_set_bool(param, val)
542
gs_effect_set_bool = _obspython.gs_effect_set_bool
543
544
def gs_effect_set_float(param: 'gs_eparam_t *', val: 'float') -> "void":
545
    return _obspython.gs_effect_set_float(param, val)
546
gs_effect_set_float = _obspython.gs_effect_set_float
547
548
def gs_effect_set_int(param: 'gs_eparam_t *', val: 'int') -> "void":
549
    return _obspython.gs_effect_set_int(param, val)
550
gs_effect_set_int = _obspython.gs_effect_set_int
551
552
def gs_effect_set_matrix4(param: 'gs_eparam_t *', val: 'matrix4') -> "void":
553
    return _obspython.gs_effect_set_matrix4(param, val)
554
gs_effect_set_matrix4 = _obspython.gs_effect_set_matrix4
555
556
def gs_effect_set_vec2(param: 'gs_eparam_t *', val: 'vec2') -> "void":
557
    return _obspython.gs_effect_set_vec2(param, val)
558
gs_effect_set_vec2 = _obspython.gs_effect_set_vec2
559
560
def gs_effect_set_vec3(param: 'gs_eparam_t *', val: 'vec3') -> "void":
561
    return _obspython.gs_effect_set_vec3(param, val)
562
gs_effect_set_vec3 = _obspython.gs_effect_set_vec3
563
564
def gs_effect_set_vec4(param: 'gs_eparam_t *', val: 'vec4') -> "void":
565
    return _obspython.gs_effect_set_vec4(param, val)
566
gs_effect_set_vec4 = _obspython.gs_effect_set_vec4
567
568
def gs_effect_set_texture(param: 'gs_eparam_t *', val: 'gs_texture_t *') -> "void":
569
    return _obspython.gs_effect_set_texture(param, val)
570
gs_effect_set_texture = _obspython.gs_effect_set_texture
571
572
def gs_effect_set_val(param: 'gs_eparam_t *', val: 'void const *', size: 'size_t') -> "void":
573
    return _obspython.gs_effect_set_val(param, val, size)
574
gs_effect_set_val = _obspython.gs_effect_set_val
575
576
def gs_effect_set_default(param: 'gs_eparam_t *') -> "void":
577
    return _obspython.gs_effect_set_default(param)
578
gs_effect_set_default = _obspython.gs_effect_set_default
579
580
def gs_effect_get_val_size(param: 'gs_eparam_t *') -> "size_t":
581
    return _obspython.gs_effect_get_val_size(param)
582
gs_effect_get_val_size = _obspython.gs_effect_get_val_size
583
584
def gs_effect_get_val(param: 'gs_eparam_t *') -> "void *":
585
    return _obspython.gs_effect_get_val(param)
586
gs_effect_get_val = _obspython.gs_effect_get_val
587
588
def gs_effect_get_default_val_size(param: 'gs_eparam_t *') -> "size_t":
589
    return _obspython.gs_effect_get_default_val_size(param)
590
gs_effect_get_default_val_size = _obspython.gs_effect_get_default_val_size
591
592
def gs_effect_get_default_val(param: 'gs_eparam_t *') -> "void *":
593
    return _obspython.gs_effect_get_default_val(param)
594
gs_effect_get_default_val = _obspython.gs_effect_get_default_val
595
596
def gs_effect_set_next_sampler(param: 'gs_eparam_t *', sampler: 'gs_samplerstate_t *') -> "void":
597
    return _obspython.gs_effect_set_next_sampler(param, sampler)
598
gs_effect_set_next_sampler = _obspython.gs_effect_set_next_sampler
599
600
def gs_effect_set_color(param: 'gs_eparam_t *', argb: 'uint32_t') -> "void":
601
    return _obspython.gs_effect_set_color(param, argb)
602
gs_effect_set_color = _obspython.gs_effect_set_color
603
604
def gs_texrender_create(format: 'enum gs_color_format', zsformat: 'enum gs_zstencil_format') -> "gs_texrender_t *":
605
    return _obspython.gs_texrender_create(format, zsformat)
606
gs_texrender_create = _obspython.gs_texrender_create
607
608
def gs_texrender_destroy(texrender: 'gs_texrender_t *') -> "void":
609
    return _obspython.gs_texrender_destroy(texrender)
610
gs_texrender_destroy = _obspython.gs_texrender_destroy
611
612
def gs_texrender_begin(texrender: 'gs_texrender_t *', cx: 'uint32_t', cy: 'uint32_t') -> "bool":
613
    return _obspython.gs_texrender_begin(texrender, cx, cy)
614
gs_texrender_begin = _obspython.gs_texrender_begin
615
616
def gs_texrender_end(texrender: 'gs_texrender_t *') -> "void":
617
    return _obspython.gs_texrender_end(texrender)
618
gs_texrender_end = _obspython.gs_texrender_end
619
620
def gs_texrender_reset(texrender: 'gs_texrender_t *') -> "void":
621
    return _obspython.gs_texrender_reset(texrender)
622
gs_texrender_reset = _obspython.gs_texrender_reset
623
624
def gs_texrender_get_texture(texrender: 'gs_texrender_t const *') -> "gs_texture_t *":
625
    return _obspython.gs_texrender_get_texture(texrender)
626
gs_texrender_get_texture = _obspython.gs_texrender_get_texture
627
GS_BUILD_MIPMAPS = _obspython.GS_BUILD_MIPMAPS
628
GS_DYNAMIC = _obspython.GS_DYNAMIC
629
GS_RENDER_TARGET = _obspython.GS_RENDER_TARGET
630
GS_GL_DUMMYTEX = _obspython.GS_GL_DUMMYTEX
631
GS_DUP_BUFFER = _obspython.GS_DUP_BUFFER
632
GS_SHARED_TEX = _obspython.GS_SHARED_TEX
633
GS_SHARED_KM_TEX = _obspython.GS_SHARED_KM_TEX
634
GS_SUCCESS = _obspython.GS_SUCCESS
635
GS_ERROR_FAIL = _obspython.GS_ERROR_FAIL
636
GS_ERROR_MODULE_NOT_FOUND = _obspython.GS_ERROR_MODULE_NOT_FOUND
637
GS_ERROR_NOT_SUPPORTED = _obspython.GS_ERROR_NOT_SUPPORTED
638
class gs_window(_object):
639
    __swig_setmethods__ = {}
640
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_window, name, value)
641
    __swig_getmethods__ = {}
642
    __getattr__ = lambda self, name: _swig_getattr(self, gs_window, name)
643
    __repr__ = _swig_repr
644
645
    def __init__(self):
646
        this = _obspython.new_gs_window()
647
        try:
648
            self.this.append(this)
649
        except __builtin__.Exception:
650
            self.this = this
651
    __swig_destroy__ = _obspython.delete_gs_window
652
    __del__ = lambda self: None
653
gs_window_swigregister = _obspython.gs_window_swigregister
654
gs_window_swigregister(gs_window)
655
656
class gs_init_data(_object):
657
    __swig_setmethods__ = {}
658
    __setattr__ = lambda self, name, value: _swig_setattr(self, gs_init_data, name, value)
659
    __swig_getmethods__ = {}
660
    __getattr__ = lambda self, name: _swig_getattr(self, gs_init_data, name)
661
    __repr__ = _swig_repr
662
    __swig_setmethods__["window"] = _obspython.gs_init_data_window_set
663
    __swig_getmethods__["window"] = _obspython.gs_init_data_window_get
664
    if _newclass:
665
        window = _swig_property(_obspython.gs_init_data_window_get, _obspython.gs_init_data_window_set)
666
    __swig_setmethods__["cx"] = _obspython.gs_init_data_cx_set
667
    __swig_getmethods__["cx"] = _obspython.gs_init_data_cx_get
668
    if _newclass:
669
        cx = _swig_property(_obspython.gs_init_data_cx_get, _obspython.gs_init_data_cx_set)
670
    __swig_setmethods__["cy"] = _obspython.gs_init_data_cy_set
671
    __swig_getmethods__["cy"] = _obspython.gs_init_data_cy_get
672
    if _newclass:
673
        cy = _swig_property(_obspython.gs_init_data_cy_get, _obspython.gs_init_data_cy_set)
674
    __swig_setmethods__["num_backbuffers"] = _obspython.gs_init_data_num_backbuffers_set
675
    __swig_getmethods__["num_backbuffers"] = _obspython.gs_init_data_num_backbuffers_get
676
    if _newclass:
677
        num_backbuffers = _swig_property(_obspython.gs_init_data_num_backbuffers_get, _obspython.gs_init_data_num_backbuffers_set)
678
    __swig_setmethods__["format"] = _obspython.gs_init_data_format_set
679
    __swig_getmethods__["format"] = _obspython.gs_init_data_format_get
680
    if _newclass:
681
        format = _swig_property(_obspython.gs_init_data_format_get, _obspython.gs_init_data_format_set)
682
    __swig_setmethods__["zsformat"] = _obspython.gs_init_data_zsformat_set
683
    __swig_getmethods__["zsformat"] = _obspython.gs_init_data_zsformat_get
684
    if _newclass:
685
        zsformat = _swig_property(_obspython.gs_init_data_zsformat_get, _obspython.gs_init_data_zsformat_set)
686
    __swig_setmethods__["adapter"] = _obspython.gs_init_data_adapter_set
687
    __swig_getmethods__["adapter"] = _obspython.gs_init_data_adapter_get
688
    if _newclass:
689
        adapter = _swig_property(_obspython.gs_init_data_adapter_get, _obspython.gs_init_data_adapter_set)
690
691
    def __init__(self):
692
        this = _obspython.new_gs_init_data()
693
        try:
694
            self.this.append(this)
695
        except __builtin__.Exception:
696
            self.this = this
697
    __swig_destroy__ = _obspython.delete_gs_init_data
698
    __del__ = lambda self: None
699
gs_init_data_swigregister = _obspython.gs_init_data_swigregister
700
gs_init_data_swigregister(gs_init_data)
701
702
GS_DEVICE_OPENGL = _obspython.GS_DEVICE_OPENGL
703
GS_DEVICE_DIRECT3D_11 = _obspython.GS_DEVICE_DIRECT3D_11
704
705
def gs_get_device_name() -> "char const *":
706
    return _obspython.gs_get_device_name()
707
gs_get_device_name = _obspython.gs_get_device_name
708
709
def gs_get_device_type() -> "int":
710
    return _obspython.gs_get_device_type()
711
gs_get_device_type = _obspython.gs_get_device_type
712
713
def gs_enum_adapters(callback: 'bool (*)(void *,char const *,uint32_t)', param: 'void *') -> "void":
714
    return _obspython.gs_enum_adapters(callback, param)
715
gs_enum_adapters = _obspython.gs_enum_adapters
716
717
def gs_create(graphics: 'graphics_t **', module: 'char const *', adapter: 'uint32_t') -> "int":
718
    return _obspython.gs_create(graphics, module, adapter)
719
gs_create = _obspython.gs_create
720
721
def gs_destroy(graphics: 'graphics_t *') -> "void":
722
    return _obspython.gs_destroy(graphics)
723
gs_destroy = _obspython.gs_destroy
724
725
def gs_enter_context(graphics: 'graphics_t *') -> "void":
726
    return _obspython.gs_enter_context(graphics)
727
gs_enter_context = _obspython.gs_enter_context
728
729
def gs_leave_context() -> "void":
730
    return _obspython.gs_leave_context()
731
gs_leave_context = _obspython.gs_leave_context
732
733
def gs_get_context() -> "graphics_t *":
734
    return _obspython.gs_get_context()
735
gs_get_context = _obspython.gs_get_context
736
737
def gs_get_device_obj() -> "void *":
738
    return _obspython.gs_get_device_obj()
739
gs_get_device_obj = _obspython.gs_get_device_obj
740
741
def gs_matrix_push() -> "void":
742
    return _obspython.gs_matrix_push()
743
gs_matrix_push = _obspython.gs_matrix_push
744
745
def gs_matrix_pop() -> "void":
746
    return _obspython.gs_matrix_pop()
747
gs_matrix_pop = _obspython.gs_matrix_pop
748
749
def gs_matrix_identity() -> "void":
750
    return _obspython.gs_matrix_identity()
751
gs_matrix_identity = _obspython.gs_matrix_identity
752
753
def gs_matrix_transpose() -> "void":
754
    return _obspython.gs_matrix_transpose()
755
gs_matrix_transpose = _obspython.gs_matrix_transpose
756
757
def gs_matrix_set(matrix: 'matrix4') -> "void":
758
    return _obspython.gs_matrix_set(matrix)
759
gs_matrix_set = _obspython.gs_matrix_set
760
761
def gs_matrix_get(dst: 'matrix4') -> "void":
762
    return _obspython.gs_matrix_get(dst)
763
gs_matrix_get = _obspython.gs_matrix_get
764
765
def gs_matrix_mul(matrix: 'matrix4') -> "void":
766
    return _obspython.gs_matrix_mul(matrix)
767
gs_matrix_mul = _obspython.gs_matrix_mul
768
769
def gs_matrix_rotquat(rot: 'quat') -> "void":
770
    return _obspython.gs_matrix_rotquat(rot)
771
gs_matrix_rotquat = _obspython.gs_matrix_rotquat
772
773
def gs_matrix_rotaa(rot: 'struct axisang const *') -> "void":
774
    return _obspython.gs_matrix_rotaa(rot)
775
gs_matrix_rotaa = _obspython.gs_matrix_rotaa
776
777
def gs_matrix_translate(pos: 'vec3') -> "void":
778
    return _obspython.gs_matrix_translate(pos)
779
gs_matrix_translate = _obspython.gs_matrix_translate
780
781
def gs_matrix_scale(scale: 'vec3') -> "void":
782
    return _obspython.gs_matrix_scale(scale)
783
gs_matrix_scale = _obspython.gs_matrix_scale
784
785
def gs_matrix_rotaa4f(x: 'float', y: 'float', z: 'float', angle: 'float') -> "void":
786
    return _obspython.gs_matrix_rotaa4f(x, y, z, angle)
787
gs_matrix_rotaa4f = _obspython.gs_matrix_rotaa4f
788
789
def gs_matrix_translate3f(x: 'float', y: 'float', z: 'float') -> "void":
790
    return _obspython.gs_matrix_translate3f(x, y, z)
791
gs_matrix_translate3f = _obspython.gs_matrix_translate3f
792
793
def gs_matrix_scale3f(x: 'float', y: 'float', z: 'float') -> "void":
794
    return _obspython.gs_matrix_scale3f(x, y, z)
795
gs_matrix_scale3f = _obspython.gs_matrix_scale3f
796
797
def gs_render_start(b_new: 'bool') -> "void":
798
    return _obspython.gs_render_start(b_new)
799
gs_render_start = _obspython.gs_render_start
800
801
def gs_render_stop(mode: 'enum gs_draw_mode') -> "void":
802
    return _obspython.gs_render_stop(mode)
803
gs_render_stop = _obspython.gs_render_stop
804
805
def gs_render_save() -> "gs_vertbuffer_t *":
806
    return _obspython.gs_render_save()
807
gs_render_save = _obspython.gs_render_save
808
809
def gs_vertex2f(x: 'float', y: 'float') -> "void":
810
    return _obspython.gs_vertex2f(x, y)
811
gs_vertex2f = _obspython.gs_vertex2f
812
813
def gs_vertex3f(x: 'float', y: 'float', z: 'float') -> "void":
814
    return _obspython.gs_vertex3f(x, y, z)
815
gs_vertex3f = _obspython.gs_vertex3f
816
817
def gs_normal3f(x: 'float', y: 'float', z: 'float') -> "void":
818
    return _obspython.gs_normal3f(x, y, z)
819
gs_normal3f = _obspython.gs_normal3f
820
821
def gs_color(color: 'uint32_t') -> "void":
822
    return _obspython.gs_color(color)
823
gs_color = _obspython.gs_color
824
825
def gs_texcoord(x: 'float', y: 'float', unit: 'int') -> "void":
826
    return _obspython.gs_texcoord(x, y, unit)
827
gs_texcoord = _obspython.gs_texcoord
828
829
def gs_vertex2v(v: 'vec2') -> "void":
830
    return _obspython.gs_vertex2v(v)
831
gs_vertex2v = _obspython.gs_vertex2v
832
833
def gs_vertex3v(v: 'vec3') -> "void":
834
    return _obspython.gs_vertex3v(v)
835
gs_vertex3v = _obspython.gs_vertex3v
836
837
def gs_normal3v(v: 'vec3') -> "void":
838
    return _obspython.gs_normal3v(v)
839
gs_normal3v = _obspython.gs_normal3v
840
841
def gs_color4v(v: 'vec4') -> "void":
842
    return _obspython.gs_color4v(v)
843
gs_color4v = _obspython.gs_color4v
844
845
def gs_texcoord2v(v: 'vec2', unit: 'int') -> "void":
846
    return _obspython.gs_texcoord2v(v, unit)
847
gs_texcoord2v = _obspython.gs_texcoord2v
848
849
def gs_get_input() -> "input_t *":
850
    return _obspython.gs_get_input()
851
gs_get_input = _obspython.gs_get_input
852
853
def gs_get_effect() -> "gs_effect_t *":
854
    return _obspython.gs_get_effect()
855
gs_get_effect = _obspython.gs_get_effect
856
857
def gs_effect_create_from_file(file: 'char const *', error_string: 'char **') -> "gs_effect_t *":
858
    return _obspython.gs_effect_create_from_file(file, error_string)
859
gs_effect_create_from_file = _obspython.gs_effect_create_from_file
860
861
def gs_effect_create(effect_string: 'char const *', filename: 'char const *', error_string: 'char **') -> "gs_effect_t *":
862
    return _obspython.gs_effect_create(effect_string, filename, error_string)
863
gs_effect_create = _obspython.gs_effect_create
864
865
def gs_vertexshader_create_from_file(file: 'char const *', error_string: 'char **') -> "gs_shader_t *":
866
    return _obspython.gs_vertexshader_create_from_file(file, error_string)
867
gs_vertexshader_create_from_file = _obspython.gs_vertexshader_create_from_file
868
869
def gs_pixelshader_create_from_file(file: 'char const *', error_string: 'char **') -> "gs_shader_t *":
870
    return _obspython.gs_pixelshader_create_from_file(file, error_string)
871
gs_pixelshader_create_from_file = _obspython.gs_pixelshader_create_from_file
872
873
def gs_texture_create_from_file(file: 'char const *') -> "gs_texture_t *":
874
    return _obspython.gs_texture_create_from_file(file)
875
gs_texture_create_from_file = _obspython.gs_texture_create_from_file
876
877
def gs_create_texture_file_data(file: 'char const *', format: 'enum gs_color_format *', cx: 'uint32_t *', cy: 'uint32_t *') -> "uint8_t *":
878
    return _obspython.gs_create_texture_file_data(file, format, cx, cy)
879
gs_create_texture_file_data = _obspython.gs_create_texture_file_data
880
GS_FLIP_U = _obspython.GS_FLIP_U
881
GS_FLIP_V = _obspython.GS_FLIP_V
882
883
def gs_draw_sprite(tex: 'gs_texture_t *', flip: 'uint32_t', width: 'uint32_t', height: 'uint32_t') -> "void":
884
    return _obspython.gs_draw_sprite(tex, flip, width, height)
885
gs_draw_sprite = _obspython.gs_draw_sprite
886
887
def gs_draw_sprite_subregion(tex: 'gs_texture_t *', flip: 'uint32_t', x: 'uint32_t', y: 'uint32_t', cx: 'uint32_t', cy: 'uint32_t') -> "void":
888
    return _obspython.gs_draw_sprite_subregion(tex, flip, x, y, cx, cy)
889
gs_draw_sprite_subregion = _obspython.gs_draw_sprite_subregion
890
891
def gs_draw_cube_backdrop(cubetex: 'gs_texture_t *', rot: 'quat', left: 'float', right: 'float', top: 'float', bottom: 'float', znear: 'float') -> "void":
892
    return _obspython.gs_draw_cube_backdrop(cubetex, rot, left, right, top, bottom, znear)
893
gs_draw_cube_backdrop = _obspython.gs_draw_cube_backdrop
894
895
def gs_reset_viewport() -> "void":
896
    return _obspython.gs_reset_viewport()
897
gs_reset_viewport = _obspython.gs_reset_viewport
898
899
def gs_set_2d_mode() -> "void":
900
    return _obspython.gs_set_2d_mode()
901
gs_set_2d_mode = _obspython.gs_set_2d_mode
902
903
def gs_set_3d_mode(fovy: 'double', znear: 'double', zvar: 'double') -> "void":
904
    return _obspython.gs_set_3d_mode(fovy, znear, zvar)
905
gs_set_3d_mode = _obspython.gs_set_3d_mode
906
907
def gs_viewport_push() -> "void":
908
    return _obspython.gs_viewport_push()
909
gs_viewport_push = _obspython.gs_viewport_push
910
911
def gs_viewport_pop() -> "void":
912
    return _obspython.gs_viewport_pop()
913
gs_viewport_pop = _obspython.gs_viewport_pop
914
915
def gs_texture_set_image(tex: 'gs_texture_t *', data: 'uint8_t const *', linesize: 'uint32_t', invert: 'bool') -> "void":
916
    return _obspython.gs_texture_set_image(tex, data, linesize, invert)
917
gs_texture_set_image = _obspython.gs_texture_set_image
918
919
def gs_cubetexture_set_image(cubetex: 'gs_texture_t *', side: 'uint32_t', data: 'void const *', linesize: 'uint32_t', invert: 'bool') -> "void":
920
    return _obspython.gs_cubetexture_set_image(cubetex, side, data, linesize, invert)
921
gs_cubetexture_set_image = _obspython.gs_cubetexture_set_image
922
923
def gs_perspective(fovy: 'float', aspect: 'float', znear: 'float', zfar: 'float') -> "void":
924
    return _obspython.gs_perspective(fovy, aspect, znear, zfar)
925
gs_perspective = _obspython.gs_perspective
926
927
def gs_blend_state_push() -> "void":
928
    return _obspython.gs_blend_state_push()
929
gs_blend_state_push = _obspython.gs_blend_state_push
930
931
def gs_blend_state_pop() -> "void":
932
    return _obspython.gs_blend_state_pop()
933
gs_blend_state_pop = _obspython.gs_blend_state_pop
934
935
def gs_reset_blend_state() -> "void":
936
    return _obspython.gs_reset_blend_state()
937
gs_reset_blend_state = _obspython.gs_reset_blend_state
938
939
def gs_swapchain_create(data: 'gs_init_data') -> "gs_swapchain_t *":
940
    return _obspython.gs_swapchain_create(data)
941
gs_swapchain_create = _obspython.gs_swapchain_create
942
943
def gs_resize(x: 'uint32_t', y: 'uint32_t') -> "void":
944
    return _obspython.gs_resize(x, y)
945
gs_resize = _obspython.gs_resize
946
947
def gs_get_size(x: 'uint32_t *', y: 'uint32_t *') -> "void":
948
    return _obspython.gs_get_size(x, y)
949
gs_get_size = _obspython.gs_get_size
950
951
def gs_get_width() -> "uint32_t":
952
    return _obspython.gs_get_width()
953
gs_get_width = _obspython.gs_get_width
954
955
def gs_get_height() -> "uint32_t":
956
    return _obspython.gs_get_height()
957
gs_get_height = _obspython.gs_get_height
958
959
def gs_texture_create(width: 'uint32_t', height: 'uint32_t', color_format: 'enum gs_color_format', levels: 'uint32_t', data: 'uint8_t const **', flags: 'uint32_t') -> "gs_texture_t *":
960
    return _obspython.gs_texture_create(width, height, color_format, levels, data, flags)
961
gs_texture_create = _obspython.gs_texture_create
962
963
def gs_cubetexture_create(size: 'uint32_t', color_format: 'enum gs_color_format', levels: 'uint32_t', data: 'uint8_t const **', flags: 'uint32_t') -> "gs_texture_t *":
964
    return _obspython.gs_cubetexture_create(size, color_format, levels, data, flags)
965
gs_cubetexture_create = _obspython.gs_cubetexture_create
966
967
def gs_voltexture_create(width: 'uint32_t', height: 'uint32_t', depth: 'uint32_t', color_format: 'enum gs_color_format', levels: 'uint32_t', data: 'uint8_t const **', flags: 'uint32_t') -> "gs_texture_t *":
968
    return _obspython.gs_voltexture_create(width, height, depth, color_format, levels, data, flags)
969
gs_voltexture_create = _obspython.gs_voltexture_create
970
971
def gs_zstencil_create(width: 'uint32_t', height: 'uint32_t', format: 'enum gs_zstencil_format') -> "gs_zstencil_t *":
972
    return _obspython.gs_zstencil_create(width, height, format)
973
gs_zstencil_create = _obspython.gs_zstencil_create
974
975
def gs_stagesurface_create(width: 'uint32_t', height: 'uint32_t', color_format: 'enum gs_color_format') -> "gs_stagesurf_t *":
976
    return _obspython.gs_stagesurface_create(width, height, color_format)
977
gs_stagesurface_create = _obspython.gs_stagesurface_create
978
979
def gs_samplerstate_create(info: 'gs_sampler_info') -> "gs_samplerstate_t *":
980
    return _obspython.gs_samplerstate_create(info)
981
gs_samplerstate_create = _obspython.gs_samplerstate_create
982
983
def gs_vertexshader_create(shader: 'char const *', file: 'char const *', error_string: 'char **') -> "gs_shader_t *":
984
    return _obspython.gs_vertexshader_create(shader, file, error_string)
985
gs_vertexshader_create = _obspython.gs_vertexshader_create
986
987
def gs_pixelshader_create(shader: 'char const *', file: 'char const *', error_string: 'char **') -> "gs_shader_t *":
988
    return _obspython.gs_pixelshader_create(shader, file, error_string)
989
gs_pixelshader_create = _obspython.gs_pixelshader_create
990
991
def gs_vertexbuffer_create(data: 'gs_vb_data', flags: 'uint32_t') -> "gs_vertbuffer_t *":
992
    return _obspython.gs_vertexbuffer_create(data, flags)
993
gs_vertexbuffer_create = _obspython.gs_vertexbuffer_create
994
995
def gs_indexbuffer_create(type: 'enum gs_index_type', indices: 'void *', num: 'size_t', flags: 'uint32_t') -> "gs_indexbuffer_t *":
996
    return _obspython.gs_indexbuffer_create(type, indices, num, flags)
997
gs_indexbuffer_create = _obspython.gs_indexbuffer_create
998
999
def gs_timer_create() -> "gs_timer_t *":
1000
    return _obspython.gs_timer_create()
1001
gs_timer_create = _obspython.gs_timer_create
1002
1003
def gs_timer_range_create() -> "gs_timer_range_t *":
1004
    return _obspython.gs_timer_range_create()
1005
gs_timer_range_create = _obspython.gs_timer_range_create
1006
1007
def gs_get_texture_type(texture: 'gs_texture_t const *') -> "enum gs_texture_type":
1008
    return _obspython.gs_get_texture_type(texture)
1009
gs_get_texture_type = _obspython.gs_get_texture_type
1010
1011
def gs_load_vertexbuffer(vertbuffer: 'gs_vertbuffer_t *') -> "void":
1012
    return _obspython.gs_load_vertexbuffer(vertbuffer)
1013
gs_load_vertexbuffer = _obspython.gs_load_vertexbuffer
1014
1015
def gs_load_indexbuffer(indexbuffer: 'gs_indexbuffer_t *') -> "void":
1016
    return _obspython.gs_load_indexbuffer(indexbuffer)
1017
gs_load_indexbuffer = _obspython.gs_load_indexbuffer
1018
1019
def gs_load_texture(tex: 'gs_texture_t *', unit: 'int') -> "void":
1020
    return _obspython.gs_load_texture(tex, unit)
1021
gs_load_texture = _obspython.gs_load_texture
1022
1023
def gs_load_samplerstate(samplerstate: 'gs_samplerstate_t *', unit: 'int') -> "void":
1024
    return _obspython.gs_load_samplerstate(samplerstate, unit)
1025
gs_load_samplerstate = _obspython.gs_load_samplerstate
1026
1027
def gs_load_vertexshader(vertshader: 'gs_shader_t *') -> "void":
1028
    return _obspython.gs_load_vertexshader(vertshader)
1029
gs_load_vertexshader = _obspython.gs_load_vertexshader
1030
1031
def gs_load_pixelshader(pixelshader: 'gs_shader_t *') -> "void":
1032
    return _obspython.gs_load_pixelshader(pixelshader)
1033
gs_load_pixelshader = _obspython.gs_load_pixelshader
1034
1035
def gs_load_default_samplerstate(b_3d: 'bool', unit: 'int') -> "void":
1036
    return _obspython.gs_load_default_samplerstate(b_3d, unit)
1037
gs_load_default_samplerstate = _obspython.gs_load_default_samplerstate
1038
1039
def gs_get_vertex_shader() -> "gs_shader_t *":
1040
    return _obspython.gs_get_vertex_shader()
1041
gs_get_vertex_shader = _obspython.gs_get_vertex_shader
1042
1043
def gs_get_pixel_shader() -> "gs_shader_t *":
1044
    return _obspython.gs_get_pixel_shader()
1045
gs_get_pixel_shader = _obspython.gs_get_pixel_shader
1046
1047
def gs_get_render_target() -> "gs_texture_t *":
1048
    return _obspython.gs_get_render_target()
1049
gs_get_render_target = _obspython.gs_get_render_target
1050
1051
def gs_get_zstencil_target() -> "gs_zstencil_t *":
1052
    return _obspython.gs_get_zstencil_target()
1053
gs_get_zstencil_target = _obspython.gs_get_zstencil_target
1054
1055
def gs_set_render_target(tex: 'gs_texture_t *', zstencil: 'gs_zstencil_t *') -> "void":
1056
    return _obspython.gs_set_render_target(tex, zstencil)
1057
gs_set_render_target = _obspython.gs_set_render_target
1058
1059
def gs_set_cube_render_target(cubetex: 'gs_texture_t *', side: 'int', zstencil: 'gs_zstencil_t *') -> "void":
1060
    return _obspython.gs_set_cube_render_target(cubetex, side, zstencil)
1061
gs_set_cube_render_target = _obspython.gs_set_cube_render_target
1062
1063
def gs_copy_texture(dst: 'gs_texture_t *', src: 'gs_texture_t *') -> "void":
1064
    return _obspython.gs_copy_texture(dst, src)
1065
gs_copy_texture = _obspython.gs_copy_texture
1066
1067
def gs_copy_texture_region(dst: 'gs_texture_t *', dst_x: 'uint32_t', dst_y: 'uint32_t', src: 'gs_texture_t *', src_x: 'uint32_t', src_y: 'uint32_t', src_w: 'uint32_t', src_h: 'uint32_t') -> "void":
1068
    return _obspython.gs_copy_texture_region(dst, dst_x, dst_y, src, src_x, src_y, src_w, src_h)
1069
gs_copy_texture_region = _obspython.gs_copy_texture_region
1070
1071
def gs_stage_texture(dst: 'gs_stagesurf_t *', src: 'gs_texture_t *') -> "void":
1072
    return _obspython.gs_stage_texture(dst, src)
1073
gs_stage_texture = _obspython.gs_stage_texture
1074
1075
def gs_begin_frame() -> "void":
1076
    return _obspython.gs_begin_frame()
1077
gs_begin_frame = _obspython.gs_begin_frame
1078
1079
def gs_begin_scene() -> "void":
1080
    return _obspython.gs_begin_scene()
1081
gs_begin_scene = _obspython.gs_begin_scene
1082
1083
def gs_draw(draw_mode: 'enum gs_draw_mode', start_vert: 'uint32_t', num_verts: 'uint32_t') -> "void":
1084
    return _obspython.gs_draw(draw_mode, start_vert, num_verts)
1085
gs_draw = _obspython.gs_draw
1086
1087
def gs_end_scene() -> "void":
1088
    return _obspython.gs_end_scene()
1089
gs_end_scene = _obspython.gs_end_scene
1090
GS_CLEAR_COLOR = _obspython.GS_CLEAR_COLOR
1091
GS_CLEAR_DEPTH = _obspython.GS_CLEAR_DEPTH
1092
GS_CLEAR_STENCIL = _obspython.GS_CLEAR_STENCIL
1093
1094
def gs_load_swapchain(swapchain: 'gs_swapchain_t *') -> "void":
1095
    return _obspython.gs_load_swapchain(swapchain)
1096
gs_load_swapchain = _obspython.gs_load_swapchain
1097
1098
def gs_clear(clear_flags: 'uint32_t', color: 'vec4', depth: 'float', stencil: 'uint8_t') -> "void":
1099
    return _obspython.gs_clear(clear_flags, color, depth, stencil)
1100
gs_clear = _obspython.gs_clear
1101
1102
def gs_present() -> "void":
1103
    return _obspython.gs_present()
1104
gs_present = _obspython.gs_present
1105
1106
def gs_flush() -> "void":
1107
    return _obspython.gs_flush()
1108
gs_flush = _obspython.gs_flush
1109
1110
def gs_set_cull_mode(mode: 'enum gs_cull_mode') -> "void":
1111
    return _obspython.gs_set_cull_mode(mode)
1112
gs_set_cull_mode = _obspython.gs_set_cull_mode
1113
1114
def gs_get_cull_mode() -> "enum gs_cull_mode":
1115
    return _obspython.gs_get_cull_mode()
1116
gs_get_cull_mode = _obspython.gs_get_cull_mode
1117
1118
def gs_enable_blending(enable: 'bool') -> "void":
1119
    return _obspython.gs_enable_blending(enable)
1120
gs_enable_blending = _obspython.gs_enable_blending
1121
1122
def gs_enable_depth_test(enable: 'bool') -> "void":
1123
    return _obspython.gs_enable_depth_test(enable)
1124
gs_enable_depth_test = _obspython.gs_enable_depth_test
1125
1126
def gs_enable_stencil_test(enable: 'bool') -> "void":
1127
    return _obspython.gs_enable_stencil_test(enable)
1128
gs_enable_stencil_test = _obspython.gs_enable_stencil_test
1129
1130
def gs_enable_stencil_write(enable: 'bool') -> "void":
1131
    return _obspython.gs_enable_stencil_write(enable)
1132
gs_enable_stencil_write = _obspython.gs_enable_stencil_write
1133
1134
def gs_enable_color(red: 'bool', green: 'bool', blue: 'bool', alpha: 'bool') -> "void":
1135
    return _obspython.gs_enable_color(red, green, blue, alpha)
1136
gs_enable_color = _obspython.gs_enable_color
1137
1138
def gs_blend_function(src: 'enum gs_blend_type', dest: 'enum gs_blend_type') -> "void":
1139
    return _obspython.gs_blend_function(src, dest)
1140
gs_blend_function = _obspython.gs_blend_function
1141
1142
def gs_blend_function_separate(src_c: 'enum gs_blend_type', dest_c: 'enum gs_blend_type', src_a: 'enum gs_blend_type', dest_a: 'enum gs_blend_type') -> "void":
1143
    return _obspython.gs_blend_function_separate(src_c, dest_c, src_a, dest_a)
1144
gs_blend_function_separate = _obspython.gs_blend_function_separate
1145
1146
def gs_depth_function(test: 'enum gs_depth_test') -> "void":
1147
    return _obspython.gs_depth_function(test)
1148
gs_depth_function = _obspython.gs_depth_function
1149
1150
def gs_stencil_function(side: 'enum gs_stencil_side', test: 'enum gs_depth_test') -> "void":
1151
    return _obspython.gs_stencil_function(side, test)
1152
gs_stencil_function = _obspython.gs_stencil_function
1153
1154
def gs_stencil_op(side: 'enum gs_stencil_side', fail: 'enum gs_stencil_op_type', zfail: 'enum gs_stencil_op_type', zpass: 'enum gs_stencil_op_type') -> "void":
1155
    return _obspython.gs_stencil_op(side, fail, zfail, zpass)
1156
gs_stencil_op = _obspython.gs_stencil_op
1157
1158
def gs_set_viewport(x: 'int', y: 'int', width: 'int', height: 'int') -> "void":
1159
    return _obspython.gs_set_viewport(x, y, width, height)
1160
gs_set_viewport = _obspython.gs_set_viewport
1161
1162
def gs_get_viewport(rect: 'gs_rect') -> "void":
1163
    return _obspython.gs_get_viewport(rect)
1164
gs_get_viewport = _obspython.gs_get_viewport
1165
1166
def gs_set_scissor_rect(rect: 'gs_rect') -> "void":
1167
    return _obspython.gs_set_scissor_rect(rect)
1168
gs_set_scissor_rect = _obspython.gs_set_scissor_rect
1169
1170
def gs_ortho(left: 'float', right: 'float', top: 'float', bottom: 'float', znear: 'float', zfar: 'float') -> "void":
1171
    return _obspython.gs_ortho(left, right, top, bottom, znear, zfar)
1172
gs_ortho = _obspython.gs_ortho
1173
1174
def gs_frustum(left: 'float', right: 'float', top: 'float', bottom: 'float', znear: 'float', zfar: 'float') -> "void":
1175
    return _obspython.gs_frustum(left, right, top, bottom, znear, zfar)
1176
gs_frustum = _obspython.gs_frustum
1177
1178
def gs_projection_push() -> "void":
1179
    return _obspython.gs_projection_push()
1180
gs_projection_push = _obspython.gs_projection_push
1181
1182
def gs_projection_pop() -> "void":
1183
    return _obspython.gs_projection_pop()
1184
gs_projection_pop = _obspython.gs_projection_pop
1185
1186
def gs_swapchain_destroy(swapchain: 'gs_swapchain_t *') -> "void":
1187
    return _obspython.gs_swapchain_destroy(swapchain)
1188
gs_swapchain_destroy = _obspython.gs_swapchain_destroy
1189
1190
def gs_texture_destroy(tex: 'gs_texture_t *') -> "void":
1191
    return _obspython.gs_texture_destroy(tex)
1192
gs_texture_destroy = _obspython.gs_texture_destroy
1193
1194
def gs_texture_get_width(tex: 'gs_texture_t const *') -> "uint32_t":
1195
    return _obspython.gs_texture_get_width(tex)
1196
gs_texture_get_width = _obspython.gs_texture_get_width
1197
1198
def gs_texture_get_height(tex: 'gs_texture_t const *') -> "uint32_t":
1199
    return _obspython.gs_texture_get_height(tex)
1200
gs_texture_get_height = _obspython.gs_texture_get_height
1201
1202
def gs_texture_get_color_format(tex: 'gs_texture_t const *') -> "enum gs_color_format":
1203
    return _obspython.gs_texture_get_color_format(tex)
1204
gs_texture_get_color_format = _obspython.gs_texture_get_color_format
1205
1206
def gs_texture_map(tex: 'gs_texture_t *', ptr: 'uint8_t **', linesize: 'uint32_t *') -> "bool":
1207
    return _obspython.gs_texture_map(tex, ptr, linesize)
1208
gs_texture_map = _obspython.gs_texture_map
1209
1210
def gs_texture_unmap(tex: 'gs_texture_t *') -> "void":
1211
    return _obspython.gs_texture_unmap(tex)
1212
gs_texture_unmap = _obspython.gs_texture_unmap
1213
1214
def gs_texture_is_rect(tex: 'gs_texture_t const *') -> "bool":
1215
    return _obspython.gs_texture_is_rect(tex)
1216
gs_texture_is_rect = _obspython.gs_texture_is_rect
1217
1218
def gs_texture_get_obj(tex: 'gs_texture_t *') -> "void *":
1219
    return _obspython.gs_texture_get_obj(tex)
1220
gs_texture_get_obj = _obspython.gs_texture_get_obj
1221
1222
def gs_cubetexture_destroy(cubetex: 'gs_texture_t *') -> "void":
1223
    return _obspython.gs_cubetexture_destroy(cubetex)
1224
gs_cubetexture_destroy = _obspython.gs_cubetexture_destroy
1225
1226
def gs_cubetexture_get_size(cubetex: 'gs_texture_t const *') -> "uint32_t":
1227
    return _obspython.gs_cubetexture_get_size(cubetex)
1228
gs_cubetexture_get_size = _obspython.gs_cubetexture_get_size
1229
1230
def gs_cubetexture_get_color_format(cubetex: 'gs_texture_t const *') -> "enum gs_color_format":
1231
    return _obspython.gs_cubetexture_get_color_format(cubetex)
1232
gs_cubetexture_get_color_format = _obspython.gs_cubetexture_get_color_format
1233
1234
def gs_voltexture_destroy(voltex: 'gs_texture_t *') -> "void":
1235
    return _obspython.gs_voltexture_destroy(voltex)
1236
gs_voltexture_destroy = _obspython.gs_voltexture_destroy
1237
1238
def gs_voltexture_get_width(voltex: 'gs_texture_t const *') -> "uint32_t":
1239
    return _obspython.gs_voltexture_get_width(voltex)
1240
gs_voltexture_get_width = _obspython.gs_voltexture_get_width
1241
1242
def gs_voltexture_get_height(voltex: 'gs_texture_t const *') -> "uint32_t":
1243
    return _obspython.gs_voltexture_get_height(voltex)
1244
gs_voltexture_get_height = _obspython.gs_voltexture_get_height
1245
1246
def gs_voltexture_get_depth(voltex: 'gs_texture_t const *') -> "uint32_t":
1247
    return _obspython.gs_voltexture_get_depth(voltex)
1248
gs_voltexture_get_depth = _obspython.gs_voltexture_get_depth
1249
1250
def gs_voltexture_get_color_format(voltex: 'gs_texture_t const *') -> "enum gs_color_format":
1251
    return _obspython.gs_voltexture_get_color_format(voltex)
1252
gs_voltexture_get_color_format = _obspython.gs_voltexture_get_color_format
1253
1254
def gs_stagesurface_destroy(stagesurf: 'gs_stagesurf_t *') -> "void":
1255
    return _obspython.gs_stagesurface_destroy(stagesurf)
1256
gs_stagesurface_destroy = _obspython.gs_stagesurface_destroy
1257
1258
def gs_stagesurface_get_width(stagesurf: 'gs_stagesurf_t const *') -> "uint32_t":
1259
    return _obspython.gs_stagesurface_get_width(stagesurf)
1260
gs_stagesurface_get_width = _obspython.gs_stagesurface_get_width
1261
1262
def gs_stagesurface_get_height(stagesurf: 'gs_stagesurf_t const *') -> "uint32_t":
1263
    return _obspython.gs_stagesurface_get_height(stagesurf)
1264
gs_stagesurface_get_height = _obspython.gs_stagesurface_get_height
1265
1266
def gs_stagesurface_get_color_format(stagesurf: 'gs_stagesurf_t const *') -> "enum gs_color_format":
1267
    return _obspython.gs_stagesurface_get_color_format(stagesurf)
1268
gs_stagesurface_get_color_format = _obspython.gs_stagesurface_get_color_format
1269
1270
def gs_stagesurface_map(stagesurf: 'gs_stagesurf_t *', data: 'uint8_t **', linesize: 'uint32_t *') -> "bool":
1271
    return _obspython.gs_stagesurface_map(stagesurf, data, linesize)
1272
gs_stagesurface_map = _obspython.gs_stagesurface_map
1273
1274
def gs_stagesurface_unmap(stagesurf: 'gs_stagesurf_t *') -> "void":
1275
    return _obspython.gs_stagesurface_unmap(stagesurf)
1276
gs_stagesurface_unmap = _obspython.gs_stagesurface_unmap
1277
1278
def gs_zstencil_destroy(zstencil: 'gs_zstencil_t *') -> "void":
1279
    return _obspython.gs_zstencil_destroy(zstencil)
1280
gs_zstencil_destroy = _obspython.gs_zstencil_destroy
1281
1282
def gs_samplerstate_destroy(samplerstate: 'gs_samplerstate_t *') -> "void":
1283
    return _obspython.gs_samplerstate_destroy(samplerstate)
1284
gs_samplerstate_destroy = _obspython.gs_samplerstate_destroy
1285
1286
def gs_vertexbuffer_destroy(vertbuffer: 'gs_vertbuffer_t *') -> "void":
1287
    return _obspython.gs_vertexbuffer_destroy(vertbuffer)
1288
gs_vertexbuffer_destroy = _obspython.gs_vertexbuffer_destroy
1289
1290
def gs_vertexbuffer_flush(vertbuffer: 'gs_vertbuffer_t *') -> "void":
1291
    return _obspython.gs_vertexbuffer_flush(vertbuffer)
1292
gs_vertexbuffer_flush = _obspython.gs_vertexbuffer_flush
1293
1294
def gs_vertexbuffer_flush_direct(vertbuffer: 'gs_vertbuffer_t *', data: 'gs_vb_data') -> "void":
1295
    return _obspython.gs_vertexbuffer_flush_direct(vertbuffer, data)
1296
gs_vertexbuffer_flush_direct = _obspython.gs_vertexbuffer_flush_direct
1297
1298
def gs_vertexbuffer_get_data(vertbuffer: 'gs_vertbuffer_t const *') -> "struct gs_vb_data *":
1299
    return _obspython.gs_vertexbuffer_get_data(vertbuffer)
1300
gs_vertexbuffer_get_data = _obspython.gs_vertexbuffer_get_data
1301
1302
def gs_indexbuffer_destroy(indexbuffer: 'gs_indexbuffer_t *') -> "void":
1303
    return _obspython.gs_indexbuffer_destroy(indexbuffer)
1304
gs_indexbuffer_destroy = _obspython.gs_indexbuffer_destroy
1305
1306
def gs_indexbuffer_flush(indexbuffer: 'gs_indexbuffer_t *') -> "void":
1307
    return _obspython.gs_indexbuffer_flush(indexbuffer)
1308
gs_indexbuffer_flush = _obspython.gs_indexbuffer_flush
1309
1310
def gs_indexbuffer_flush_direct(indexbuffer: 'gs_indexbuffer_t *', data: 'void const *') -> "void":
1311
    return _obspython.gs_indexbuffer_flush_direct(indexbuffer, data)
1312
gs_indexbuffer_flush_direct = _obspython.gs_indexbuffer_flush_direct
1313
1314
def gs_indexbuffer_get_data(indexbuffer: 'gs_indexbuffer_t const *') -> "void *":
1315
    return _obspython.gs_indexbuffer_get_data(indexbuffer)
1316
gs_indexbuffer_get_data = _obspython.gs_indexbuffer_get_data
1317
1318
def gs_indexbuffer_get_num_indices(indexbuffer: 'gs_indexbuffer_t const *') -> "size_t":
1319
    return _obspython.gs_indexbuffer_get_num_indices(indexbuffer)
1320
gs_indexbuffer_get_num_indices = _obspython.gs_indexbuffer_get_num_indices
1321
1322
def gs_indexbuffer_get_type(indexbuffer: 'gs_indexbuffer_t const *') -> "enum gs_index_type":
1323
    return _obspython.gs_indexbuffer_get_type(indexbuffer)
1324
gs_indexbuffer_get_type = _obspython.gs_indexbuffer_get_type
1325
1326
def gs_timer_destroy(timer: 'gs_timer_t *') -> "void":
1327
    return _obspython.gs_timer_destroy(timer)
1328
gs_timer_destroy = _obspython.gs_timer_destroy
1329
1330
def gs_timer_begin(timer: 'gs_timer_t *') -> "void":
1331
    return _obspython.gs_timer_begin(timer)
1332
gs_timer_begin = _obspython.gs_timer_begin
1333
1334
def gs_timer_end(timer: 'gs_timer_t *') -> "void":
1335
    return _obspython.gs_timer_end(timer)
1336
gs_timer_end = _obspython.gs_timer_end
1337
1338
def gs_timer_get_data(timer: 'gs_timer_t *', ticks: 'uint64_t *') -> "bool":
1339
    return _obspython.gs_timer_get_data(timer, ticks)
1340
gs_timer_get_data = _obspython.gs_timer_get_data
1341
1342
def gs_timer_range_destroy(timer: 'gs_timer_range_t *') -> "void":
1343
    return _obspython.gs_timer_range_destroy(timer)
1344
gs_timer_range_destroy = _obspython.gs_timer_range_destroy
1345
1346
def gs_timer_range_begin(range: 'gs_timer_range_t *') -> "void":
1347
    return _obspython.gs_timer_range_begin(range)
1348
gs_timer_range_begin = _obspython.gs_timer_range_begin
1349
1350
def gs_timer_range_end(range: 'gs_timer_range_t *') -> "void":
1351
    return _obspython.gs_timer_range_end(range)
1352
gs_timer_range_end = _obspython.gs_timer_range_end
1353
1354
def gs_timer_range_get_data(range: 'gs_timer_range_t *', disjoint: 'bool *', frequency: 'uint64_t *') -> "bool":
1355
    return _obspython.gs_timer_range_get_data(range, disjoint, frequency)
1356
gs_timer_range_get_data = _obspython.gs_timer_range_get_data
1357
1358
def gs_nv12_available() -> "bool":
1359
    return _obspython.gs_nv12_available()
1360
gs_nv12_available = _obspython.gs_nv12_available
1361
GS_USE_DEBUG_MARKERS = _obspython.GS_USE_DEBUG_MARKERS
1362
1363
def gs_debug_marker_begin(color: 'float const [4]', markername: 'char const *') -> "void":
1364
    return _obspython.gs_debug_marker_begin(color, markername)
1365
gs_debug_marker_begin = _obspython.gs_debug_marker_begin
1366
1367
def gs_debug_marker_begin_format(color: 'float const [4]', format: 'char const *') -> "void":
1368
    return _obspython.gs_debug_marker_begin_format(color, format)
1369
gs_debug_marker_begin_format = _obspython.gs_debug_marker_begin_format
1370
1371
def gs_debug_marker_end() -> "void":
1372
    return _obspython.gs_debug_marker_end()
1373
gs_debug_marker_end = _obspython.gs_debug_marker_end
1374
1375
def gs_get_format_bpp(format: 'enum gs_color_format') -> "uint32_t":
1376
    return _obspython.gs_get_format_bpp(format)
1377
gs_get_format_bpp = _obspython.gs_get_format_bpp
1378
1379
def gs_is_compressed_format(format: 'enum gs_color_format') -> "bool":
1380
    return _obspython.gs_is_compressed_format(format)
1381
gs_is_compressed_format = _obspython.gs_is_compressed_format
1382
1383
def gs_get_total_levels(width: 'uint32_t', height: 'uint32_t', depth: 'uint32_t') -> "uint32_t":
1384
    return _obspython.gs_get_total_levels(width, height, depth)
1385
gs_get_total_levels = _obspython.gs_get_total_levels
1386
class vec4(_object):
1387
    __swig_setmethods__ = {}
1388
    __setattr__ = lambda self, name, value: _swig_setattr(self, vec4, name, value)
1389
    __swig_getmethods__ = {}
1390
    __getattr__ = lambda self, name: _swig_getattr(self, vec4, name)
1391
    __repr__ = _swig_repr
1392
    __swig_setmethods__["x"] = _obspython.vec4_x_set
1393
    __swig_getmethods__["x"] = _obspython.vec4_x_get
1394
    if _newclass:
1395
        x = _swig_property(_obspython.vec4_x_get, _obspython.vec4_x_set)
1396
    __swig_setmethods__["y"] = _obspython.vec4_y_set
1397
    __swig_getmethods__["y"] = _obspython.vec4_y_get
1398
    if _newclass:
1399
        y = _swig_property(_obspython.vec4_y_get, _obspython.vec4_y_set)
1400
    __swig_setmethods__["z"] = _obspython.vec4_z_set
1401
    __swig_getmethods__["z"] = _obspython.vec4_z_get
1402
    if _newclass:
1403
        z = _swig_property(_obspython.vec4_z_get, _obspython.vec4_z_set)
1404
    __swig_setmethods__["w"] = _obspython.vec4_w_set
1405
    __swig_getmethods__["w"] = _obspython.vec4_w_get
1406
    if _newclass:
1407
        w = _swig_property(_obspython.vec4_w_get, _obspython.vec4_w_set)
1408
    __swig_setmethods__["ptr"] = _obspython.vec4_ptr_set
1409
    __swig_getmethods__["ptr"] = _obspython.vec4_ptr_get
1410
    if _newclass:
1411
        ptr = _swig_property(_obspython.vec4_ptr_get, _obspython.vec4_ptr_set)
1412
    __swig_setmethods__["m"] = _obspython.vec4_m_set
1413
    __swig_getmethods__["m"] = _obspython.vec4_m_get
1414
    if _newclass:
1415
        m = _swig_property(_obspython.vec4_m_get, _obspython.vec4_m_set)
1416
1417
    def __init__(self):
1418
        this = _obspython.new_vec4()
1419
        try:
1420
            self.this.append(this)
1421
        except __builtin__.Exception:
1422
            self.this = this
1423
    __swig_destroy__ = _obspython.delete_vec4
1424
    __del__ = lambda self: None
1425
vec4_swigregister = _obspython.vec4_swigregister
1426
vec4_swigregister(vec4)
1427
1428
1429
def vec4_zero(v: 'vec4') -> "void":
1430
    return _obspython.vec4_zero(v)
1431
vec4_zero = _obspython.vec4_zero
1432
1433
def vec4_set(dst: 'vec4', x: 'float', y: 'float', z: 'float', w: 'float') -> "void":
1434
    return _obspython.vec4_set(dst, x, y, z, w)
1435
vec4_set = _obspython.vec4_set
1436
1437
def vec4_copy(dst: 'vec4', v: 'vec4') -> "void":
1438
    return _obspython.vec4_copy(dst, v)
1439
vec4_copy = _obspython.vec4_copy
1440
1441
def vec4_from_vec3(dst: 'vec4', v: 'vec3') -> "void":
1442
    return _obspython.vec4_from_vec3(dst, v)
1443
vec4_from_vec3 = _obspython.vec4_from_vec3
1444
1445
def vec4_add(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1446
    return _obspython.vec4_add(dst, v1, v2)
1447
vec4_add = _obspython.vec4_add
1448
1449
def vec4_sub(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1450
    return _obspython.vec4_sub(dst, v1, v2)
1451
vec4_sub = _obspython.vec4_sub
1452
1453
def vec4_mul(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1454
    return _obspython.vec4_mul(dst, v1, v2)
1455
vec4_mul = _obspython.vec4_mul
1456
1457
def vec4_div(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1458
    return _obspython.vec4_div(dst, v1, v2)
1459
vec4_div = _obspython.vec4_div
1460
1461
def vec4_addf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1462
    return _obspython.vec4_addf(dst, v, f)
1463
vec4_addf = _obspython.vec4_addf
1464
1465
def vec4_subf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1466
    return _obspython.vec4_subf(dst, v, f)
1467
vec4_subf = _obspython.vec4_subf
1468
1469
def vec4_mulf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1470
    return _obspython.vec4_mulf(dst, v, f)
1471
vec4_mulf = _obspython.vec4_mulf
1472
1473
def vec4_divf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1474
    return _obspython.vec4_divf(dst, v, f)
1475
vec4_divf = _obspython.vec4_divf
1476
1477
def vec4_dot(v1: 'vec4', v2: 'vec4') -> "float":
1478
    return _obspython.vec4_dot(v1, v2)
1479
vec4_dot = _obspython.vec4_dot
1480
1481
def vec4_neg(dst: 'vec4', v: 'vec4') -> "void":
1482
    return _obspython.vec4_neg(dst, v)
1483
vec4_neg = _obspython.vec4_neg
1484
1485
def vec4_len(v: 'vec4') -> "float":
1486
    return _obspython.vec4_len(v)
1487
vec4_len = _obspython.vec4_len
1488
1489
def vec4_dist(v1: 'vec4', v2: 'vec4') -> "float":
1490
    return _obspython.vec4_dist(v1, v2)
1491
vec4_dist = _obspython.vec4_dist
1492
1493
def vec4_norm(dst: 'vec4', v: 'vec4') -> "void":
1494
    return _obspython.vec4_norm(dst, v)
1495
vec4_norm = _obspython.vec4_norm
1496
1497
def vec4_close(v1: 'vec4', v2: 'vec4', epsilon: 'float') -> "int":
1498
    return _obspython.vec4_close(v1, v2, epsilon)
1499
vec4_close = _obspython.vec4_close
1500
1501
def vec4_min(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1502
    return _obspython.vec4_min(dst, v1, v2)
1503
vec4_min = _obspython.vec4_min
1504
1505
def vec4_minf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1506
    return _obspython.vec4_minf(dst, v, f)
1507
vec4_minf = _obspython.vec4_minf
1508
1509
def vec4_max(dst: 'vec4', v1: 'vec4', v2: 'vec4') -> "void":
1510
    return _obspython.vec4_max(dst, v1, v2)
1511
vec4_max = _obspython.vec4_max
1512
1513
def vec4_maxf(dst: 'vec4', v: 'vec4', f: 'float') -> "void":
1514
    return _obspython.vec4_maxf(dst, v, f)
1515
vec4_maxf = _obspython.vec4_maxf
1516
1517
def vec4_abs(dst: 'vec4', v: 'vec4') -> "void":
1518
    return _obspython.vec4_abs(dst, v)
1519
vec4_abs = _obspython.vec4_abs
1520
1521
def vec4_floor(dst: 'vec4', v: 'vec4') -> "void":
1522
    return _obspython.vec4_floor(dst, v)
1523
vec4_floor = _obspython.vec4_floor
1524
1525
def vec4_ceil(dst: 'vec4', v: 'vec4') -> "void":
1526
    return _obspython.vec4_ceil(dst, v)
1527
vec4_ceil = _obspython.vec4_ceil
1528
1529
def vec4_to_rgba(src: 'vec4') -> "uint32_t":
1530
    return _obspython.vec4_to_rgba(src)
1531
vec4_to_rgba = _obspython.vec4_to_rgba
1532
1533
def vec4_to_bgra(src: 'vec4') -> "uint32_t":
1534
    return _obspython.vec4_to_bgra(src)
1535
vec4_to_bgra = _obspython.vec4_to_bgra
1536
1537
def vec4_from_rgba(dst: 'vec4', rgba: 'uint32_t') -> "void":
1538
    return _obspython.vec4_from_rgba(dst, rgba)
1539
vec4_from_rgba = _obspython.vec4_from_rgba
1540
1541
def vec4_from_bgra(dst: 'vec4', bgra: 'uint32_t') -> "void":
1542
    return _obspython.vec4_from_bgra(dst, bgra)
1543
vec4_from_bgra = _obspython.vec4_from_bgra
1544
1545
def vec4_transform(dst: 'vec4', v: 'vec4', m: 'matrix4') -> "void":
1546
    return _obspython.vec4_transform(dst, v, m)
1547
vec4_transform = _obspython.vec4_transform
1548
class vec3(_object):
1549
    __swig_setmethods__ = {}
1550
    __setattr__ = lambda self, name, value: _swig_setattr(self, vec3, name, value)
1551
    __swig_getmethods__ = {}
1552
    __getattr__ = lambda self, name: _swig_getattr(self, vec3, name)
1553
    __repr__ = _swig_repr
1554
    __swig_setmethods__["x"] = _obspython.vec3_x_set
1555
    __swig_getmethods__["x"] = _obspython.vec3_x_get
1556
    if _newclass:
1557
        x = _swig_property(_obspython.vec3_x_get, _obspython.vec3_x_set)
1558
    __swig_setmethods__["y"] = _obspython.vec3_y_set
1559
    __swig_getmethods__["y"] = _obspython.vec3_y_get
1560
    if _newclass:
1561
        y = _swig_property(_obspython.vec3_y_get, _obspython.vec3_y_set)
1562
    __swig_setmethods__["z"] = _obspython.vec3_z_set
1563
    __swig_getmethods__["z"] = _obspython.vec3_z_get
1564
    if _newclass:
1565
        z = _swig_property(_obspython.vec3_z_get, _obspython.vec3_z_set)
1566
    __swig_setmethods__["w"] = _obspython.vec3_w_set
1567
    __swig_getmethods__["w"] = _obspython.vec3_w_get
1568
    if _newclass:
1569
        w = _swig_property(_obspython.vec3_w_get, _obspython.vec3_w_set)
1570
    __swig_setmethods__["ptr"] = _obspython.vec3_ptr_set
1571
    __swig_getmethods__["ptr"] = _obspython.vec3_ptr_get
1572
    if _newclass:
1573
        ptr = _swig_property(_obspython.vec3_ptr_get, _obspython.vec3_ptr_set)
1574
    __swig_setmethods__["m"] = _obspython.vec3_m_set
1575
    __swig_getmethods__["m"] = _obspython.vec3_m_get
1576
    if _newclass:
1577
        m = _swig_property(_obspython.vec3_m_get, _obspython.vec3_m_set)
1578
1579
    def __init__(self):
1580
        this = _obspython.new_vec3()
1581
        try:
1582
            self.this.append(this)
1583
        except __builtin__.Exception:
1584
            self.this = this
1585
    __swig_destroy__ = _obspython.delete_vec3
1586
    __del__ = lambda self: None
1587
vec3_swigregister = _obspython.vec3_swigregister
1588
vec3_swigregister(vec3)
1589
1590
1591
def vec3_zero(v: 'vec3') -> "void":
1592
    return _obspython.vec3_zero(v)
1593
vec3_zero = _obspython.vec3_zero
1594
1595
def vec3_set(dst: 'vec3', x: 'float', y: 'float', z: 'float') -> "void":
1596
    return _obspython.vec3_set(dst, x, y, z)
1597
vec3_set = _obspython.vec3_set
1598
1599
def vec3_copy(dst: 'vec3', v: 'vec3') -> "void":
1600
    return _obspython.vec3_copy(dst, v)
1601
vec3_copy = _obspython.vec3_copy
1602
1603
def vec3_from_vec4(dst: 'vec3', v: 'vec4') -> "void":
1604
    return _obspython.vec3_from_vec4(dst, v)
1605
vec3_from_vec4 = _obspython.vec3_from_vec4
1606
1607
def vec3_add(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1608
    return _obspython.vec3_add(dst, v1, v2)
1609
vec3_add = _obspython.vec3_add
1610
1611
def vec3_sub(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1612
    return _obspython.vec3_sub(dst, v1, v2)
1613
vec3_sub = _obspython.vec3_sub
1614
1615
def vec3_mul(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1616
    return _obspython.vec3_mul(dst, v1, v2)
1617
vec3_mul = _obspython.vec3_mul
1618
1619
def vec3_div(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1620
    return _obspython.vec3_div(dst, v1, v2)
1621
vec3_div = _obspython.vec3_div
1622
1623
def vec3_addf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1624
    return _obspython.vec3_addf(dst, v, f)
1625
vec3_addf = _obspython.vec3_addf
1626
1627
def vec3_subf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1628
    return _obspython.vec3_subf(dst, v, f)
1629
vec3_subf = _obspython.vec3_subf
1630
1631
def vec3_mulf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1632
    return _obspython.vec3_mulf(dst, v, f)
1633
vec3_mulf = _obspython.vec3_mulf
1634
1635
def vec3_divf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1636
    return _obspython.vec3_divf(dst, v, f)
1637
vec3_divf = _obspython.vec3_divf
1638
1639
def vec3_dot(v1: 'vec3', v2: 'vec3') -> "float":
1640
    return _obspython.vec3_dot(v1, v2)
1641
vec3_dot = _obspython.vec3_dot
1642
1643
def vec3_cross(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1644
    return _obspython.vec3_cross(dst, v1, v2)
1645
vec3_cross = _obspython.vec3_cross
1646
1647
def vec3_neg(dst: 'vec3', v: 'vec3') -> "void":
1648
    return _obspython.vec3_neg(dst, v)
1649
vec3_neg = _obspython.vec3_neg
1650
1651
def vec3_len(v: 'vec3') -> "float":
1652
    return _obspython.vec3_len(v)
1653
vec3_len = _obspython.vec3_len
1654
1655
def vec3_dist(v1: 'vec3', v2: 'vec3') -> "float":
1656
    return _obspython.vec3_dist(v1, v2)
1657
vec3_dist = _obspython.vec3_dist
1658
1659
def vec3_norm(dst: 'vec3', v: 'vec3') -> "void":
1660
    return _obspython.vec3_norm(dst, v)
1661
vec3_norm = _obspython.vec3_norm
1662
1663
def vec3_close(v1: 'vec3', v2: 'vec3', epsilon: 'float') -> "bool":
1664
    return _obspython.vec3_close(v1, v2, epsilon)
1665
vec3_close = _obspython.vec3_close
1666
1667
def vec3_min(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1668
    return _obspython.vec3_min(dst, v1, v2)
1669
vec3_min = _obspython.vec3_min
1670
1671
def vec3_minf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1672
    return _obspython.vec3_minf(dst, v, f)
1673
vec3_minf = _obspython.vec3_minf
1674
1675
def vec3_max(dst: 'vec3', v1: 'vec3', v2: 'vec3') -> "void":
1676
    return _obspython.vec3_max(dst, v1, v2)
1677
vec3_max = _obspython.vec3_max
1678
1679
def vec3_maxf(dst: 'vec3', v: 'vec3', f: 'float') -> "void":
1680
    return _obspython.vec3_maxf(dst, v, f)
1681
vec3_maxf = _obspython.vec3_maxf
1682
1683
def vec3_abs(dst: 'vec3', v: 'vec3') -> "void":
1684
    return _obspython.vec3_abs(dst, v)
1685
vec3_abs = _obspython.vec3_abs
1686
1687
def vec3_floor(dst: 'vec3', v: 'vec3') -> "void":
1688
    return _obspython.vec3_floor(dst, v)
1689
vec3_floor = _obspython.vec3_floor
1690
1691
def vec3_ceil(dst: 'vec3', v: 'vec3') -> "void":
1692
    return _obspython.vec3_ceil(dst, v)
1693
vec3_ceil = _obspython.vec3_ceil
1694
1695
def vec3_plane_dist(v: 'vec3', p: 'struct plane const *') -> "float":
1696
    return _obspython.vec3_plane_dist(v, p)
1697
vec3_plane_dist = _obspython.vec3_plane_dist
1698
1699
def vec3_transform(dst: 'vec3', v: 'vec3', m: 'matrix4') -> "void":
1700
    return _obspython.vec3_transform(dst, v, m)
1701
vec3_transform = _obspython.vec3_transform
1702
1703
def vec3_rotate(dst: 'vec3', v: 'vec3', m: 'matrix3') -> "void":
1704
    return _obspython.vec3_rotate(dst, v, m)
1705
vec3_rotate = _obspython.vec3_rotate
1706
1707
def vec3_transform3x4(dst: 'vec3', v: 'vec3', m: 'matrix3') -> "void":
1708
    return _obspython.vec3_transform3x4(dst, v, m)
1709
vec3_transform3x4 = _obspython.vec3_transform3x4
1710
1711
def vec3_mirror(dst: 'vec3', v: 'vec3', p: 'struct plane const *') -> "void":
1712
    return _obspython.vec3_mirror(dst, v, p)
1713
vec3_mirror = _obspython.vec3_mirror
1714
1715
def vec3_mirrorv(dst: 'vec3', v: 'vec3', vec: 'vec3') -> "void":
1716
    return _obspython.vec3_mirrorv(dst, v, vec)
1717
vec3_mirrorv = _obspython.vec3_mirrorv
1718
1719
def vec3_rand(dst: 'vec3', positive_only: 'int') -> "void":
1720
    return _obspython.vec3_rand(dst, positive_only)
1721
vec3_rand = _obspython.vec3_rand
1722
class vec2(_object):
1723
    __swig_setmethods__ = {}
1724
    __setattr__ = lambda self, name, value: _swig_setattr(self, vec2, name, value)
1725
    __swig_getmethods__ = {}
1726
    __getattr__ = lambda self, name: _swig_getattr(self, vec2, name)
1727
    __repr__ = _swig_repr
1728
    __swig_setmethods__["x"] = _obspython.vec2_x_set
1729
    __swig_getmethods__["x"] = _obspython.vec2_x_get
1730
    if _newclass:
1731
        x = _swig_property(_obspython.vec2_x_get, _obspython.vec2_x_set)
1732
    __swig_setmethods__["y"] = _obspython.vec2_y_set
1733
    __swig_getmethods__["y"] = _obspython.vec2_y_get
1734
    if _newclass:
1735
        y = _swig_property(_obspython.vec2_y_get, _obspython.vec2_y_set)
1736
    __swig_setmethods__["ptr"] = _obspython.vec2_ptr_set
1737
    __swig_getmethods__["ptr"] = _obspython.vec2_ptr_get
1738
    if _newclass:
1739
        ptr = _swig_property(_obspython.vec2_ptr_get, _obspython.vec2_ptr_set)
1740
1741
    def __init__(self):
1742
        this = _obspython.new_vec2()
1743
        try:
1744
            self.this.append(this)
1745
        except __builtin__.Exception:
1746
            self.this = this
1747
    __swig_destroy__ = _obspython.delete_vec2
1748
    __del__ = lambda self: None
1749
vec2_swigregister = _obspython.vec2_swigregister
1750
vec2_swigregister(vec2)
1751
1752
1753
def vec2_zero(dst: 'vec2') -> "void":
1754
    return _obspython.vec2_zero(dst)
1755
vec2_zero = _obspython.vec2_zero
1756
1757
def vec2_set(dst: 'vec2', x: 'float', y: 'float') -> "void":
1758
    return _obspython.vec2_set(dst, x, y)
1759
vec2_set = _obspython.vec2_set
1760
1761
def vec2_copy(dst: 'vec2', v: 'vec2') -> "void":
1762
    return _obspython.vec2_copy(dst, v)
1763
vec2_copy = _obspython.vec2_copy
1764
1765
def vec2_add(dst: 'vec2', v1: 'vec2', v2: 'vec2') -> "void":
1766
    return _obspython.vec2_add(dst, v1, v2)
1767
vec2_add = _obspython.vec2_add
1768
1769
def vec2_sub(dst: 'vec2', v1: 'vec2', v2: 'vec2') -> "void":
1770
    return _obspython.vec2_sub(dst, v1, v2)
1771
vec2_sub = _obspython.vec2_sub
1772
1773
def vec2_mul(dst: 'vec2', v1: 'vec2', v2: 'vec2') -> "void":
1774
    return _obspython.vec2_mul(dst, v1, v2)
1775
vec2_mul = _obspython.vec2_mul
1776
1777
def vec2_div(dst: 'vec2', v1: 'vec2', v2: 'vec2') -> "void":
1778
    return _obspython.vec2_div(dst, v1, v2)
1779
vec2_div = _obspython.vec2_div
1780
1781
def vec2_addf(dst: 'vec2', v: 'vec2', f: 'float') -> "void":
1782
    return _obspython.vec2_addf(dst, v, f)
1783
vec2_addf = _obspython.vec2_addf
1784
1785
def vec2_subf(dst: 'vec2', v: 'vec2', f: 'float') -> "void":
1786
    return _obspython.vec2_subf(dst, v, f)
1787
vec2_subf = _obspython.vec2_subf
1788
1789
def vec2_mulf(dst: 'vec2', v: 'vec2', f: 'float') -> "void":
1790
    return _obspython.vec2_mulf(dst, v, f)
1791
vec2_mulf = _obspython.vec2_mulf
1792
1793
def vec2_divf(dst: 'vec2', v: 'vec2', f: 'float') -> "void":
1794
    return _obspython.vec2_divf(dst, v, f)
1795
vec2_divf = _obspython.vec2_divf
1796
1797
def vec2_neg(dst: 'vec2', v: 'vec2') -> "void":
1798
    return _obspython.vec2_neg(dst, v)
1799
vec2_neg = _obspython.vec2_neg
1800
1801
def vec2_dot(v1: 'vec2', v2: 'vec2') -> "float":
1802
    return _obspython.vec2_dot(v1, v2)
1803
vec2_dot = _obspython.vec2_dot
1804
1805
def vec2_len(v: 'vec2') -> "float":
1806
    return _obspython.vec2_len(v)
1807
vec2_len = _obspython.vec2_len
1808
1809
def vec2_dist(v1: 'vec2', v2: 'vec2') -> "float":
1810
    return _obspython.vec2_dist(v1, v2)
1811
vec2_dist = _obspython.vec2_dist
1812
1813
def vec2_minf(dst: 'vec2', v: 'vec2', val: 'float') -> "void":
1814
    return _obspython.vec2_minf(dst, v, val)
1815
vec2_minf = _obspython.vec2_minf
1816
1817
def vec2_min(dst: 'vec2', v: 'vec2', min_v: 'vec2') -> "void":
1818
    return _obspython.vec2_min(dst, v, min_v)
1819
vec2_min = _obspython.vec2_min
1820
1821
def vec2_maxf(dst: 'vec2', v: 'vec2', val: 'float') -> "void":
1822
    return _obspython.vec2_maxf(dst, v, val)
1823
vec2_maxf = _obspython.vec2_maxf
1824
1825
def vec2_max(dst: 'vec2', v: 'vec2', max_v: 'vec2') -> "void":
1826
    return _obspython.vec2_max(dst, v, max_v)
1827
vec2_max = _obspython.vec2_max
1828
1829
def vec2_abs(dst: 'vec2', v: 'vec2') -> "void":
1830
    return _obspython.vec2_abs(dst, v)
1831
vec2_abs = _obspython.vec2_abs
1832
1833
def vec2_floor(dst: 'vec2', v: 'vec2') -> "void":
1834
    return _obspython.vec2_floor(dst, v)
1835
vec2_floor = _obspython.vec2_floor
1836
1837
def vec2_ceil(dst: 'vec2', v: 'vec2') -> "void":
1838
    return _obspython.vec2_ceil(dst, v)
1839
vec2_ceil = _obspython.vec2_ceil
1840
1841
def vec2_close(v1: 'vec2', v2: 'vec2', epsilon: 'float') -> "int":
1842
    return _obspython.vec2_close(v1, v2, epsilon)
1843
vec2_close = _obspython.vec2_close
1844
1845
def vec2_norm(dst: 'vec2', v: 'vec2') -> "void":
1846
    return _obspython.vec2_norm(dst, v)
1847
vec2_norm = _obspython.vec2_norm
1848
class matrix4(_object):
1849
    __swig_setmethods__ = {}
1850
    __setattr__ = lambda self, name, value: _swig_setattr(self, matrix4, name, value)
1851
    __swig_getmethods__ = {}
1852
    __getattr__ = lambda self, name: _swig_getattr(self, matrix4, name)
1853
    __repr__ = _swig_repr
1854
    __swig_setmethods__["x"] = _obspython.matrix4_x_set
1855
    __swig_getmethods__["x"] = _obspython.matrix4_x_get
1856
    if _newclass:
1857
        x = _swig_property(_obspython.matrix4_x_get, _obspython.matrix4_x_set)
1858
    __swig_setmethods__["y"] = _obspython.matrix4_y_set
1859
    __swig_getmethods__["y"] = _obspython.matrix4_y_get
1860
    if _newclass:
1861
        y = _swig_property(_obspython.matrix4_y_get, _obspython.matrix4_y_set)
1862
    __swig_setmethods__["z"] = _obspython.matrix4_z_set
1863
    __swig_getmethods__["z"] = _obspython.matrix4_z_get
1864
    if _newclass:
1865
        z = _swig_property(_obspython.matrix4_z_get, _obspython.matrix4_z_set)
1866
    __swig_setmethods__["t"] = _obspython.matrix4_t_set
1867
    __swig_getmethods__["t"] = _obspython.matrix4_t_get
1868
    if _newclass:
1869
        t = _swig_property(_obspython.matrix4_t_get, _obspython.matrix4_t_set)
1870
1871
    def __init__(self):
1872
        this = _obspython.new_matrix4()
1873
        try:
1874
            self.this.append(this)
1875
        except __builtin__.Exception:
1876
            self.this = this
1877
    __swig_destroy__ = _obspython.delete_matrix4
1878
    __del__ = lambda self: None
1879
matrix4_swigregister = _obspython.matrix4_swigregister
1880
matrix4_swigregister(matrix4)
1881
1882
1883
def matrix4_copy(dst: 'matrix4', m: 'matrix4') -> "void":
1884
    return _obspython.matrix4_copy(dst, m)
1885
matrix4_copy = _obspython.matrix4_copy
1886
1887
def matrix4_identity(dst: 'matrix4') -> "void":
1888
    return _obspython.matrix4_identity(dst)
1889
matrix4_identity = _obspython.matrix4_identity
1890
1891
def matrix4_from_matrix3(dst: 'matrix4', m: 'matrix3') -> "void":
1892
    return _obspython.matrix4_from_matrix3(dst, m)
1893
matrix4_from_matrix3 = _obspython.matrix4_from_matrix3
1894
1895
def matrix4_from_quat(dst: 'matrix4', q: 'quat') -> "void":
1896
    return _obspython.matrix4_from_quat(dst, q)
1897
matrix4_from_quat = _obspython.matrix4_from_quat
1898
1899
def matrix4_from_axisang(dst: 'matrix4', aa: 'struct axisang const *') -> "void":
1900
    return _obspython.matrix4_from_axisang(dst, aa)
1901
matrix4_from_axisang = _obspython.matrix4_from_axisang
1902
1903
def matrix4_mul(dst: 'matrix4', m1: 'matrix4', m2: 'matrix4') -> "void":
1904
    return _obspython.matrix4_mul(dst, m1, m2)
1905
matrix4_mul = _obspython.matrix4_mul
1906
1907
def matrix4_determinant(m: 'matrix4') -> "float":
1908
    return _obspython.matrix4_determinant(m)
1909
matrix4_determinant = _obspython.matrix4_determinant
1910
1911
def matrix4_translate3v(dst: 'matrix4', m: 'matrix4', v: 'vec3') -> "void":
1912
    return _obspython.matrix4_translate3v(dst, m, v)
1913
matrix4_translate3v = _obspython.matrix4_translate3v
1914
1915
def matrix4_translate4v(dst: 'matrix4', m: 'matrix4', v: 'vec4') -> "void":
1916
    return _obspython.matrix4_translate4v(dst, m, v)
1917
matrix4_translate4v = _obspython.matrix4_translate4v
1918
1919
def matrix4_rotate(dst: 'matrix4', m: 'matrix4', q: 'quat') -> "void":
1920
    return _obspython.matrix4_rotate(dst, m, q)
1921
matrix4_rotate = _obspython.matrix4_rotate
1922
1923
def matrix4_rotate_aa(dst: 'matrix4', m: 'matrix4', aa: 'struct axisang const *') -> "void":
1924
    return _obspython.matrix4_rotate_aa(dst, m, aa)
1925
matrix4_rotate_aa = _obspython.matrix4_rotate_aa
1926
1927
def matrix4_scale(dst: 'matrix4', m: 'matrix4', v: 'vec3') -> "void":
1928
    return _obspython.matrix4_scale(dst, m, v)
1929
matrix4_scale = _obspython.matrix4_scale
1930
1931
def matrix4_inv(dst: 'matrix4', m: 'matrix4') -> "bool":
1932
    return _obspython.matrix4_inv(dst, m)
1933
matrix4_inv = _obspython.matrix4_inv
1934
1935
def matrix4_transpose(dst: 'matrix4', m: 'matrix4') -> "void":
1936
    return _obspython.matrix4_transpose(dst, m)
1937
matrix4_transpose = _obspython.matrix4_transpose
1938
1939
def matrix4_translate3v_i(dst: 'matrix4', v: 'vec3', m: 'matrix4') -> "void":
1940
    return _obspython.matrix4_translate3v_i(dst, v, m)
1941
matrix4_translate3v_i = _obspython.matrix4_translate3v_i
1942
1943
def matrix4_translate4v_i(dst: 'matrix4', v: 'vec4', m: 'matrix4') -> "void":
1944
    return _obspython.matrix4_translate4v_i(dst, v, m)
1945
matrix4_translate4v_i = _obspython.matrix4_translate4v_i
1946
1947
def matrix4_rotate_i(dst: 'matrix4', q: 'quat', m: 'matrix4') -> "void":
1948
    return _obspython.matrix4_rotate_i(dst, q, m)
1949
matrix4_rotate_i = _obspython.matrix4_rotate_i
1950
1951
def matrix4_rotate_aa_i(dst: 'matrix4', aa: 'struct axisang const *', m: 'matrix4') -> "void":
1952
    return _obspython.matrix4_rotate_aa_i(dst, aa, m)
1953
matrix4_rotate_aa_i = _obspython.matrix4_rotate_aa_i
1954
1955
def matrix4_scale_i(dst: 'matrix4', v: 'vec3', m: 'matrix4') -> "void":
1956
    return _obspython.matrix4_scale_i(dst, v, m)
1957
matrix4_scale_i = _obspython.matrix4_scale_i
1958
1959
def matrix4_translate3f(dst: 'matrix4', m: 'matrix4', x: 'float', y: 'float', z: 'float') -> "void":
1960
    return _obspython.matrix4_translate3f(dst, m, x, y, z)
1961
matrix4_translate3f = _obspython.matrix4_translate3f
1962
1963
def matrix4_rotate_aa4f(dst: 'matrix4', m: 'matrix4', x: 'float', y: 'float', z: 'float', rot: 'float') -> "void":
1964
    return _obspython.matrix4_rotate_aa4f(dst, m, x, y, z, rot)
1965
matrix4_rotate_aa4f = _obspython.matrix4_rotate_aa4f
1966
1967
def matrix4_scale3f(dst: 'matrix4', m: 'matrix4', x: 'float', y: 'float', z: 'float') -> "void":
1968
    return _obspython.matrix4_scale3f(dst, m, x, y, z)
1969
matrix4_scale3f = _obspython.matrix4_scale3f
1970
class matrix3(_object):
1971
    __swig_setmethods__ = {}
1972
    __setattr__ = lambda self, name, value: _swig_setattr(self, matrix3, name, value)
1973
    __swig_getmethods__ = {}
1974
    __getattr__ = lambda self, name: _swig_getattr(self, matrix3, name)
1975
    __repr__ = _swig_repr
1976
    __swig_setmethods__["x"] = _obspython.matrix3_x_set
1977
    __swig_getmethods__["x"] = _obspython.matrix3_x_get
1978
    if _newclass:
1979
        x = _swig_property(_obspython.matrix3_x_get, _obspython.matrix3_x_set)
1980
    __swig_setmethods__["y"] = _obspython.matrix3_y_set
1981
    __swig_getmethods__["y"] = _obspython.matrix3_y_get
1982
    if _newclass:
1983
        y = _swig_property(_obspython.matrix3_y_get, _obspython.matrix3_y_set)
1984
    __swig_setmethods__["z"] = _obspython.matrix3_z_set
1985
    __swig_getmethods__["z"] = _obspython.matrix3_z_get
1986
    if _newclass:
1987
        z = _swig_property(_obspython.matrix3_z_get, _obspython.matrix3_z_set)
1988
    __swig_setmethods__["t"] = _obspython.matrix3_t_set
1989
    __swig_getmethods__["t"] = _obspython.matrix3_t_get
1990
    if _newclass:
1991
        t = _swig_property(_obspython.matrix3_t_get, _obspython.matrix3_t_set)
1992
1993
    def __init__(self):
1994
        this = _obspython.new_matrix3()
1995
        try:
1996
            self.this.append(this)
1997
        except __builtin__.Exception:
1998
            self.this = this
1999
    __swig_destroy__ = _obspython.delete_matrix3
2000
    __del__ = lambda self: None
2001
matrix3_swigregister = _obspython.matrix3_swigregister
2002
matrix3_swigregister(matrix3)
2003
2004
2005
def matrix3_copy(dst: 'matrix3', m: 'matrix3') -> "void":
2006
    return _obspython.matrix3_copy(dst, m)
2007
matrix3_copy = _obspython.matrix3_copy
2008
2009
def matrix3_identity(dst: 'matrix3') -> "void":
2010
    return _obspython.matrix3_identity(dst)
2011
matrix3_identity = _obspython.matrix3_identity
2012
2013
def matrix3_from_quat(dst: 'matrix3', q: 'quat') -> "void":
2014
    return _obspython.matrix3_from_quat(dst, q)
2015
matrix3_from_quat = _obspython.matrix3_from_quat
2016
2017
def matrix3_from_axisang(dst: 'matrix3', aa: 'struct axisang const *') -> "void":
2018
    return _obspython.matrix3_from_axisang(dst, aa)
2019
matrix3_from_axisang = _obspython.matrix3_from_axisang
2020
2021
def matrix3_from_matrix4(dst: 'matrix3', m: 'matrix4') -> "void":
2022
    return _obspython.matrix3_from_matrix4(dst, m)
2023
matrix3_from_matrix4 = _obspython.matrix3_from_matrix4
2024
2025
def matrix3_mul(dst: 'matrix3', m1: 'matrix3', m2: 'matrix3') -> "void":
2026
    return _obspython.matrix3_mul(dst, m1, m2)
2027
matrix3_mul = _obspython.matrix3_mul
2028
2029
def matrix3_translate(dst: 'matrix3', m: 'matrix3', v: 'vec3') -> "void":
2030
    return _obspython.matrix3_translate(dst, m, v)
2031
matrix3_translate = _obspython.matrix3_translate
2032
2033
def matrix3_rotate(dst: 'matrix3', m: 'matrix3', q: 'quat') -> "void":
2034
    return _obspython.matrix3_rotate(dst, m, q)
2035
matrix3_rotate = _obspython.matrix3_rotate
2036
2037
def matrix3_rotate_aa(dst: 'matrix3', m: 'matrix3', aa: 'struct axisang const *') -> "void":
2038
    return _obspython.matrix3_rotate_aa(dst, m, aa)
2039
matrix3_rotate_aa = _obspython.matrix3_rotate_aa
2040
2041
def matrix3_scale(dst: 'matrix3', m: 'matrix3', v: 'vec3') -> "void":
2042
    return _obspython.matrix3_scale(dst, m, v)
2043
matrix3_scale = _obspython.matrix3_scale
2044
2045
def matrix3_transpose(dst: 'matrix3', m: 'matrix3') -> "void":
2046
    return _obspython.matrix3_transpose(dst, m)
2047
matrix3_transpose = _obspython.matrix3_transpose
2048
2049
def matrix3_inv(dst: 'matrix3', m: 'matrix3') -> "void":
2050
    return _obspython.matrix3_inv(dst, m)
2051
matrix3_inv = _obspython.matrix3_inv
2052
2053
def matrix3_mirror(dst: 'matrix3', m: 'matrix3', p: 'struct plane const *') -> "void":
2054
    return _obspython.matrix3_mirror(dst, m, p)
2055
matrix3_mirror = _obspython.matrix3_mirror
2056
2057
def matrix3_mirrorv(dst: 'matrix3', m: 'matrix3', v: 'vec3') -> "void":
2058
    return _obspython.matrix3_mirrorv(dst, m, v)
2059
matrix3_mirrorv = _obspython.matrix3_mirrorv
2060
2061
def matrix3_translate3f(dst: 'matrix3', m: 'matrix3', x: 'float', y: 'float', z: 'float') -> "void":
2062
    return _obspython.matrix3_translate3f(dst, m, x, y, z)
2063
matrix3_translate3f = _obspython.matrix3_translate3f
2064
2065
def matrix3_rotate_aa4f(dst: 'matrix3', m: 'matrix3', x: 'float', y: 'float', z: 'float', rot: 'float') -> "void":
2066
    return _obspython.matrix3_rotate_aa4f(dst, m, x, y, z, rot)
2067
matrix3_rotate_aa4f = _obspython.matrix3_rotate_aa4f
2068
2069
def matrix3_scale3f(dst: 'matrix3', m: 'matrix3', x: 'float', y: 'float', z: 'float') -> "void":
2070
    return _obspython.matrix3_scale3f(dst, m, x, y, z)
2071
matrix3_scale3f = _obspython.matrix3_scale3f
2072
class quat(_object):
2073
    __swig_setmethods__ = {}
2074
    __setattr__ = lambda self, name, value: _swig_setattr(self, quat, name, value)
2075
    __swig_getmethods__ = {}
2076
    __getattr__ = lambda self, name: _swig_getattr(self, quat, name)
2077
    __repr__ = _swig_repr
2078
    __swig_setmethods__["x"] = _obspython.quat_x_set
2079
    __swig_getmethods__["x"] = _obspython.quat_x_get
2080
    if _newclass:
2081
        x = _swig_property(_obspython.quat_x_get, _obspython.quat_x_set)
2082
    __swig_setmethods__["y"] = _obspython.quat_y_set
2083
    __swig_getmethods__["y"] = _obspython.quat_y_get
2084
    if _newclass:
2085
        y = _swig_property(_obspython.quat_y_get, _obspython.quat_y_set)
2086
    __swig_setmethods__["z"] = _obspython.quat_z_set
2087
    __swig_getmethods__["z"] = _obspython.quat_z_get
2088
    if _newclass:
2089
        z = _swig_property(_obspython.quat_z_get, _obspython.quat_z_set)
2090
    __swig_setmethods__["w"] = _obspython.quat_w_set
2091
    __swig_getmethods__["w"] = _obspython.quat_w_get
2092
    if _newclass:
2093
        w = _swig_property(_obspython.quat_w_get, _obspython.quat_w_set)
2094
    __swig_setmethods__["ptr"] = _obspython.quat_ptr_set
2095
    __swig_getmethods__["ptr"] = _obspython.quat_ptr_get
2096
    if _newclass:
2097
        ptr = _swig_property(_obspython.quat_ptr_get, _obspython.quat_ptr_set)
2098
    __swig_setmethods__["m"] = _obspython.quat_m_set
2099
    __swig_getmethods__["m"] = _obspython.quat_m_get
2100
    if _newclass:
2101
        m = _swig_property(_obspython.quat_m_get, _obspython.quat_m_set)
2102
2103
    def __init__(self):
2104
        this = _obspython.new_quat()
2105
        try:
2106
            self.this.append(this)
2107
        except __builtin__.Exception:
2108
            self.this = this
2109
    __swig_destroy__ = _obspython.delete_quat
2110
    __del__ = lambda self: None
2111
quat_swigregister = _obspython.quat_swigregister
2112
quat_swigregister(quat)
2113
2114
2115
def quat_identity(q: 'quat') -> "void":
2116
    return _obspython.quat_identity(q)
2117
quat_identity = _obspython.quat_identity
2118
2119
def quat_set(dst: 'quat', x: 'float', y: 'float', z: 'float', w: 'float') -> "void":
2120
    return _obspython.quat_set(dst, x, y, z, w)
2121
quat_set = _obspython.quat_set
2122
2123
def quat_copy(dst: 'quat', q: 'quat') -> "void":
2124
    return _obspython.quat_copy(dst, q)
2125
quat_copy = _obspython.quat_copy
2126
2127
def quat_add(dst: 'quat', q1: 'quat', q2: 'quat') -> "void":
2128
    return _obspython.quat_add(dst, q1, q2)
2129
quat_add = _obspython.quat_add
2130
2131
def quat_sub(dst: 'quat', q1: 'quat', q2: 'quat') -> "void":
2132
    return _obspython.quat_sub(dst, q1, q2)
2133
quat_sub = _obspython.quat_sub
2134
2135
def quat_mul(dst: 'quat', q1: 'quat', q2: 'quat') -> "void":
2136
    return _obspython.quat_mul(dst, q1, q2)
2137
quat_mul = _obspython.quat_mul
2138
2139
def quat_addf(dst: 'quat', q: 'quat', f: 'float') -> "void":
2140
    return _obspython.quat_addf(dst, q, f)
2141
quat_addf = _obspython.quat_addf
2142
2143
def quat_subf(dst: 'quat', q: 'quat', f: 'float') -> "void":
2144
    return _obspython.quat_subf(dst, q, f)
2145
quat_subf = _obspython.quat_subf
2146
2147
def quat_mulf(dst: 'quat', q: 'quat', f: 'float') -> "void":
2148
    return _obspython.quat_mulf(dst, q, f)
2149
quat_mulf = _obspython.quat_mulf
2150
2151
def quat_divf(dst: 'quat', q: 'quat', f: 'float') -> "void":
2152
    return _obspython.quat_divf(dst, q, f)
2153
quat_divf = _obspython.quat_divf
2154
2155
def quat_dot(q1: 'quat', q2: 'quat') -> "float":
2156
    return _obspython.quat_dot(q1, q2)
2157
quat_dot = _obspython.quat_dot
2158
2159
def quat_inv(dst: 'quat', q: 'quat') -> "void":
2160
    return _obspython.quat_inv(dst, q)
2161
quat_inv = _obspython.quat_inv
2162
2163
def quat_neg(dst: 'quat', q: 'quat') -> "void":
2164
    return _obspython.quat_neg(dst, q)
2165
quat_neg = _obspython.quat_neg
2166
2167
def quat_len(q: 'quat') -> "float":
2168
    return _obspython.quat_len(q)
2169
quat_len = _obspython.quat_len
2170
2171
def quat_dist(q1: 'quat', q2: 'quat') -> "float":
2172
    return _obspython.quat_dist(q1, q2)
2173
quat_dist = _obspython.quat_dist
2174
2175
def quat_norm(dst: 'quat', q: 'quat') -> "void":
2176
    return _obspython.quat_norm(dst, q)
2177
quat_norm = _obspython.quat_norm
2178
2179
def quat_close(q1: 'quat', q2: 'quat', epsilon: 'float') -> "bool":
2180
    return _obspython.quat_close(q1, q2, epsilon)
2181
quat_close = _obspython.quat_close
2182
2183
def quat_from_axisang(dst: 'quat', aa: 'struct axisang const *') -> "void":
2184
    return _obspython.quat_from_axisang(dst, aa)
2185
quat_from_axisang = _obspython.quat_from_axisang
2186
2187
def quat_from_matrix3(dst: 'quat', m: 'matrix3') -> "void":
2188
    return _obspython.quat_from_matrix3(dst, m)
2189
quat_from_matrix3 = _obspython.quat_from_matrix3
2190
2191
def quat_from_matrix4(dst: 'quat', m: 'matrix4') -> "void":
2192
    return _obspython.quat_from_matrix4(dst, m)
2193
quat_from_matrix4 = _obspython.quat_from_matrix4
2194
2195
def quat_get_dir(dst: 'vec3', q: 'quat') -> "void":
2196
    return _obspython.quat_get_dir(dst, q)
2197
quat_get_dir = _obspython.quat_get_dir
2198
2199
def quat_set_look_dir(dst: 'quat', dir: 'vec3') -> "void":
2200
    return _obspython.quat_set_look_dir(dst, dir)
2201
quat_set_look_dir = _obspython.quat_set_look_dir
2202
2203
def quat_log(dst: 'quat', q: 'quat') -> "void":
2204
    return _obspython.quat_log(dst, q)
2205
quat_log = _obspython.quat_log
2206
2207
def quat_exp(dst: 'quat', q: 'quat') -> "void":
2208
    return _obspython.quat_exp(dst, q)
2209
quat_exp = _obspython.quat_exp
2210
2211
def quat_interpolate(dst: 'quat', q1: 'quat', q2: 'quat', t: 'float') -> "void":
2212
    return _obspython.quat_interpolate(dst, q1, q2, t)
2213
quat_interpolate = _obspython.quat_interpolate
2214
2215
def quat_get_tangent(dst: 'quat', prev: 'quat', q: 'quat', next: 'quat') -> "void":
2216
    return _obspython.quat_get_tangent(dst, prev, q, next)
2217
quat_get_tangent = _obspython.quat_get_tangent
2218
2219
def quat_interpolate_cubic(dst: 'quat', q1: 'quat', q2: 'quat', m1: 'quat', m2: 'quat', t: 'float') -> "void":
2220
    return _obspython.quat_interpolate_cubic(dst, q1, q2, m1, m2, t)
2221
quat_interpolate_cubic = _obspython.quat_interpolate_cubic
2222
TRUE = _obspython.TRUE
2223
ON = _obspython.ON
2224
FALSE = _obspython.FALSE
2225
OFF = _obspython.OFF
2226
SCRIPT_DIR = _obspython.SCRIPT_DIR
2227
PYTHON_LIB = _obspython.PYTHON_LIB
2228
COMPILE_LUA = _obspython.COMPILE_LUA
2229
COMPILE_PYTHON = _obspython.COMPILE_PYTHON
2230
UI_ENABLED = _obspython.UI_ENABLED
2231
BUILD_CAPTIONS = _obspython.BUILD_CAPTIONS
2232
OBS_DATA_NULL = _obspython.OBS_DATA_NULL
2233
OBS_DATA_STRING = _obspython.OBS_DATA_STRING
2234
OBS_DATA_NUMBER = _obspython.OBS_DATA_NUMBER
2235
OBS_DATA_BOOLEAN = _obspython.OBS_DATA_BOOLEAN
2236
OBS_DATA_OBJECT = _obspython.OBS_DATA_OBJECT
2237
OBS_DATA_ARRAY = _obspython.OBS_DATA_ARRAY
2238
OBS_DATA_NUM_INVALID = _obspython.OBS_DATA_NUM_INVALID
2239
OBS_DATA_NUM_INT = _obspython.OBS_DATA_NUM_INT
2240
OBS_DATA_NUM_DOUBLE = _obspython.OBS_DATA_NUM_DOUBLE
2241
2242
def obs_data_create() -> "obs_data_t *":
2243
    return _obspython.obs_data_create()
2244
obs_data_create = _obspython.obs_data_create
2245
2246
def obs_data_create_from_json(json_string: 'char const *') -> "obs_data_t *":
2247
    return _obspython.obs_data_create_from_json(json_string)
2248
obs_data_create_from_json = _obspython.obs_data_create_from_json
2249
2250
def obs_data_create_from_json_file(json_file: 'char const *') -> "obs_data_t *":
2251
    return _obspython.obs_data_create_from_json_file(json_file)
2252
obs_data_create_from_json_file = _obspython.obs_data_create_from_json_file
2253
2254
def obs_data_create_from_json_file_safe(json_file: 'char const *', backup_ext: 'char const *') -> "obs_data_t *":
2255
    return _obspython.obs_data_create_from_json_file_safe(json_file, backup_ext)
2256
obs_data_create_from_json_file_safe = _obspython.obs_data_create_from_json_file_safe
2257
2258
def obs_data_addref(data: 'obs_data_t *') -> "void":
2259
    return _obspython.obs_data_addref(data)
2260
obs_data_addref = _obspython.obs_data_addref
2261
2262
def obs_data_release(data: 'obs_data_t *') -> "void":
2263
    return _obspython.obs_data_release(data)
2264
obs_data_release = _obspython.obs_data_release
2265
2266
def obs_data_get_json(data: 'obs_data_t *') -> "char const *":
2267
    return _obspython.obs_data_get_json(data)
2268
obs_data_get_json = _obspython.obs_data_get_json
2269
2270
def obs_data_save_json(data: 'obs_data_t *', file: 'char const *') -> "bool":
2271
    return _obspython.obs_data_save_json(data, file)
2272
obs_data_save_json = _obspython.obs_data_save_json
2273
2274
def obs_data_save_json_safe(data: 'obs_data_t *', file: 'char const *', temp_ext: 'char const *', backup_ext: 'char const *') -> "bool":
2275
    return _obspython.obs_data_save_json_safe(data, file, temp_ext, backup_ext)
2276
obs_data_save_json_safe = _obspython.obs_data_save_json_safe
2277
2278
def obs_data_apply(target: 'obs_data_t *', apply_data: 'obs_data_t *') -> "void":
2279
    return _obspython.obs_data_apply(target, apply_data)
2280
obs_data_apply = _obspython.obs_data_apply
2281
2282
def obs_data_erase(data: 'obs_data_t *', name: 'char const *') -> "void":
2283
    return _obspython.obs_data_erase(data, name)
2284
obs_data_erase = _obspython.obs_data_erase
2285
2286
def obs_data_clear(data: 'obs_data_t *') -> "void":
2287
    return _obspython.obs_data_clear(data)
2288
obs_data_clear = _obspython.obs_data_clear
2289
2290
def obs_data_set_string(data: 'obs_data_t *', name: 'char const *', val: 'char const *') -> "void":
2291
    return _obspython.obs_data_set_string(data, name, val)
2292
obs_data_set_string = _obspython.obs_data_set_string
2293
2294
def obs_data_set_int(data: 'obs_data_t *', name: 'char const *', val: 'long long') -> "void":
2295
    return _obspython.obs_data_set_int(data, name, val)
2296
obs_data_set_int = _obspython.obs_data_set_int
2297
2298
def obs_data_set_double(data: 'obs_data_t *', name: 'char const *', val: 'double') -> "void":
2299
    return _obspython.obs_data_set_double(data, name, val)
2300
obs_data_set_double = _obspython.obs_data_set_double
2301
2302
def obs_data_set_bool(data: 'obs_data_t *', name: 'char const *', val: 'bool') -> "void":
2303
    return _obspython.obs_data_set_bool(data, name, val)
2304
obs_data_set_bool = _obspython.obs_data_set_bool
2305
2306
def obs_data_set_obj(data: 'obs_data_t *', name: 'char const *', obj: 'obs_data_t *') -> "void":
2307
    return _obspython.obs_data_set_obj(data, name, obj)
2308
obs_data_set_obj = _obspython.obs_data_set_obj
2309
2310
def obs_data_set_array(data: 'obs_data_t *', name: 'char const *', array: 'obs_data_array_t *') -> "void":
2311
    return _obspython.obs_data_set_array(data, name, array)
2312
obs_data_set_array = _obspython.obs_data_set_array
2313
2314
def obs_data_set_default_string(data: 'obs_data_t *', name: 'char const *', val: 'char const *') -> "void":
2315
    return _obspython.obs_data_set_default_string(data, name, val)
2316
obs_data_set_default_string = _obspython.obs_data_set_default_string
2317
2318
def obs_data_set_default_int(data: 'obs_data_t *', name: 'char const *', val: 'long long') -> "void":
2319
    return _obspython.obs_data_set_default_int(data, name, val)
2320
obs_data_set_default_int = _obspython.obs_data_set_default_int
2321
2322
def obs_data_set_default_double(data: 'obs_data_t *', name: 'char const *', val: 'double') -> "void":
2323
    return _obspython.obs_data_set_default_double(data, name, val)
2324
obs_data_set_default_double = _obspython.obs_data_set_default_double
2325
2326
def obs_data_set_default_bool(data: 'obs_data_t *', name: 'char const *', val: 'bool') -> "void":
2327
    return _obspython.obs_data_set_default_bool(data, name, val)
2328
obs_data_set_default_bool = _obspython.obs_data_set_default_bool
2329
2330
def obs_data_set_default_obj(data: 'obs_data_t *', name: 'char const *', obj: 'obs_data_t *') -> "void":
2331
    return _obspython.obs_data_set_default_obj(data, name, obj)
2332
obs_data_set_default_obj = _obspython.obs_data_set_default_obj
2333
2334
def obs_data_set_autoselect_string(data: 'obs_data_t *', name: 'char const *', val: 'char const *') -> "void":
2335
    return _obspython.obs_data_set_autoselect_string(data, name, val)
2336
obs_data_set_autoselect_string = _obspython.obs_data_set_autoselect_string
2337
2338
def obs_data_set_autoselect_int(data: 'obs_data_t *', name: 'char const *', val: 'long long') -> "void":
2339
    return _obspython.obs_data_set_autoselect_int(data, name, val)
2340
obs_data_set_autoselect_int = _obspython.obs_data_set_autoselect_int
2341
2342
def obs_data_set_autoselect_double(data: 'obs_data_t *', name: 'char const *', val: 'double') -> "void":
2343
    return _obspython.obs_data_set_autoselect_double(data, name, val)
2344
obs_data_set_autoselect_double = _obspython.obs_data_set_autoselect_double
2345
2346
def obs_data_set_autoselect_bool(data: 'obs_data_t *', name: 'char const *', val: 'bool') -> "void":
2347
    return _obspython.obs_data_set_autoselect_bool(data, name, val)
2348
obs_data_set_autoselect_bool = _obspython.obs_data_set_autoselect_bool
2349
2350
def obs_data_set_autoselect_obj(data: 'obs_data_t *', name: 'char const *', obj: 'obs_data_t *') -> "void":
2351
    return _obspython.obs_data_set_autoselect_obj(data, name, obj)
2352
obs_data_set_autoselect_obj = _obspython.obs_data_set_autoselect_obj
2353
2354
def obs_data_get_string(data: 'obs_data_t *', name: 'char const *') -> "char const *":
2355
    return _obspython.obs_data_get_string(data, name)
2356
obs_data_get_string = _obspython.obs_data_get_string
2357
2358
def obs_data_get_int(data: 'obs_data_t *', name: 'char const *') -> "long long":
2359
    return _obspython.obs_data_get_int(data, name)
2360
obs_data_get_int = _obspython.obs_data_get_int
2361
2362
def obs_data_get_double(data: 'obs_data_t *', name: 'char const *') -> "double":
2363
    return _obspython.obs_data_get_double(data, name)
2364
obs_data_get_double = _obspython.obs_data_get_double
2365
2366
def obs_data_get_bool(data: 'obs_data_t *', name: 'char const *') -> "bool":
2367
    return _obspython.obs_data_get_bool(data, name)
2368
obs_data_get_bool = _obspython.obs_data_get_bool
2369
2370
def obs_data_get_obj(data: 'obs_data_t *', name: 'char const *') -> "obs_data_t *":
2371
    return _obspython.obs_data_get_obj(data, name)
2372
obs_data_get_obj = _obspython.obs_data_get_obj
2373
2374
def obs_data_get_array(data: 'obs_data_t *', name: 'char const *') -> "obs_data_array_t *":
2375
    return _obspython.obs_data_get_array(data, name)
2376
obs_data_get_array = _obspython.obs_data_get_array
2377
2378
def obs_data_get_default_string(data: 'obs_data_t *', name: 'char const *') -> "char const *":
2379
    return _obspython.obs_data_get_default_string(data, name)
2380
obs_data_get_default_string = _obspython.obs_data_get_default_string
2381
2382
def obs_data_get_default_int(data: 'obs_data_t *', name: 'char const *') -> "long long":
2383
    return _obspython.obs_data_get_default_int(data, name)
2384
obs_data_get_default_int = _obspython.obs_data_get_default_int
2385
2386
def obs_data_get_default_double(data: 'obs_data_t *', name: 'char const *') -> "double":
2387
    return _obspython.obs_data_get_default_double(data, name)
2388
obs_data_get_default_double = _obspython.obs_data_get_default_double
2389
2390
def obs_data_get_default_bool(data: 'obs_data_t *', name: 'char const *') -> "bool":
2391
    return _obspython.obs_data_get_default_bool(data, name)
2392
obs_data_get_default_bool = _obspython.obs_data_get_default_bool
2393
2394
def obs_data_get_default_obj(data: 'obs_data_t *', name: 'char const *') -> "obs_data_t *":
2395
    return _obspython.obs_data_get_default_obj(data, name)
2396
obs_data_get_default_obj = _obspython.obs_data_get_default_obj
2397
2398
def obs_data_get_default_array(data: 'obs_data_t *', name: 'char const *') -> "obs_data_array_t *":
2399
    return _obspython.obs_data_get_default_array(data, name)
2400
obs_data_get_default_array = _obspython.obs_data_get_default_array
2401
2402
def obs_data_get_autoselect_string(data: 'obs_data_t *', name: 'char const *') -> "char const *":
2403
    return _obspython.obs_data_get_autoselect_string(data, name)
2404
obs_data_get_autoselect_string = _obspython.obs_data_get_autoselect_string
2405
2406
def obs_data_get_autoselect_int(data: 'obs_data_t *', name: 'char const *') -> "long long":
2407
    return _obspython.obs_data_get_autoselect_int(data, name)
2408
obs_data_get_autoselect_int = _obspython.obs_data_get_autoselect_int
2409
2410
def obs_data_get_autoselect_double(data: 'obs_data_t *', name: 'char const *') -> "double":
2411
    return _obspython.obs_data_get_autoselect_double(data, name)
2412
obs_data_get_autoselect_double = _obspython.obs_data_get_autoselect_double
2413
2414
def obs_data_get_autoselect_bool(data: 'obs_data_t *', name: 'char const *') -> "bool":
2415
    return _obspython.obs_data_get_autoselect_bool(data, name)
2416
obs_data_get_autoselect_bool = _obspython.obs_data_get_autoselect_bool
2417
2418
def obs_data_get_autoselect_obj(data: 'obs_data_t *', name: 'char const *') -> "obs_data_t *":
2419
    return _obspython.obs_data_get_autoselect_obj(data, name)
2420
obs_data_get_autoselect_obj = _obspython.obs_data_get_autoselect_obj
2421
2422
def obs_data_get_autoselect_array(data: 'obs_data_t *', name: 'char const *') -> "obs_data_array_t *":
2423
    return _obspython.obs_data_get_autoselect_array(data, name)
2424
obs_data_get_autoselect_array = _obspython.obs_data_get_autoselect_array
2425
2426
def obs_data_array_create() -> "obs_data_array_t *":
2427
    return _obspython.obs_data_array_create()
2428
obs_data_array_create = _obspython.obs_data_array_create
2429
2430
def obs_data_array_addref(array: 'obs_data_array_t *') -> "void":
2431
    return _obspython.obs_data_array_addref(array)
2432
obs_data_array_addref = _obspython.obs_data_array_addref
2433
2434
def obs_data_array_release(array: 'obs_data_array_t *') -> "void":
2435
    return _obspython.obs_data_array_release(array)
2436
obs_data_array_release = _obspython.obs_data_array_release
2437
2438
def obs_data_array_count(array: 'obs_data_array_t *') -> "size_t":
2439
    return _obspython.obs_data_array_count(array)
2440
obs_data_array_count = _obspython.obs_data_array_count
2441
2442
def obs_data_array_item(array: 'obs_data_array_t *', idx: 'size_t') -> "obs_data_t *":
2443
    return _obspython.obs_data_array_item(array, idx)
2444
obs_data_array_item = _obspython.obs_data_array_item
2445
2446
def obs_data_array_push_back(array: 'obs_data_array_t *', obj: 'obs_data_t *') -> "size_t":
2447
    return _obspython.obs_data_array_push_back(array, obj)
2448
obs_data_array_push_back = _obspython.obs_data_array_push_back
2449
2450
def obs_data_array_insert(array: 'obs_data_array_t *', idx: 'size_t', obj: 'obs_data_t *') -> "void":
2451
    return _obspython.obs_data_array_insert(array, idx, obj)
2452
obs_data_array_insert = _obspython.obs_data_array_insert
2453
2454
def obs_data_array_push_back_array(array: 'obs_data_array_t *', array2: 'obs_data_array_t *') -> "void":
2455
    return _obspython.obs_data_array_push_back_array(array, array2)
2456
obs_data_array_push_back_array = _obspython.obs_data_array_push_back_array
2457
2458
def obs_data_array_erase(array: 'obs_data_array_t *', idx: 'size_t') -> "void":
2459
    return _obspython.obs_data_array_erase(array, idx)
2460
obs_data_array_erase = _obspython.obs_data_array_erase
2461
2462
def obs_data_has_user_value(data: 'obs_data_t *', name: 'char const *') -> "bool":
2463
    return _obspython.obs_data_has_user_value(data, name)
2464
obs_data_has_user_value = _obspython.obs_data_has_user_value
2465
2466
def obs_data_has_default_value(data: 'obs_data_t *', name: 'char const *') -> "bool":
2467
    return _obspython.obs_data_has_default_value(data, name)
2468
obs_data_has_default_value = _obspython.obs_data_has_default_value
2469
2470
def obs_data_has_autoselect_value(data: 'obs_data_t *', name: 'char const *') -> "bool":
2471
    return _obspython.obs_data_has_autoselect_value(data, name)
2472
obs_data_has_autoselect_value = _obspython.obs_data_has_autoselect_value
2473
2474
def obs_data_item_has_user_value(data: 'obs_data_item_t *') -> "bool":
2475
    return _obspython.obs_data_item_has_user_value(data)
2476
obs_data_item_has_user_value = _obspython.obs_data_item_has_user_value
2477
2478
def obs_data_item_has_default_value(data: 'obs_data_item_t *') -> "bool":
2479
    return _obspython.obs_data_item_has_default_value(data)
2480
obs_data_item_has_default_value = _obspython.obs_data_item_has_default_value
2481
2482
def obs_data_item_has_autoselect_value(data: 'obs_data_item_t *') -> "bool":
2483
    return _obspython.obs_data_item_has_autoselect_value(data)
2484
obs_data_item_has_autoselect_value = _obspython.obs_data_item_has_autoselect_value
2485
2486
def obs_data_unset_user_value(data: 'obs_data_t *', name: 'char const *') -> "void":
2487
    return _obspython.obs_data_unset_user_value(data, name)
2488
obs_data_unset_user_value = _obspython.obs_data_unset_user_value
2489
2490
def obs_data_unset_default_value(data: 'obs_data_t *', name: 'char const *') -> "void":
2491
    return _obspython.obs_data_unset_default_value(data, name)
2492
obs_data_unset_default_value = _obspython.obs_data_unset_default_value
2493
2494
def obs_data_unset_autoselect_value(data: 'obs_data_t *', name: 'char const *') -> "void":
2495
    return _obspython.obs_data_unset_autoselect_value(data, name)
2496
obs_data_unset_autoselect_value = _obspython.obs_data_unset_autoselect_value
2497
2498
def obs_data_item_unset_user_value(data: 'obs_data_item_t *') -> "void":
2499
    return _obspython.obs_data_item_unset_user_value(data)
2500
obs_data_item_unset_user_value = _obspython.obs_data_item_unset_user_value
2501
2502
def obs_data_item_unset_default_value(data: 'obs_data_item_t *') -> "void":
2503
    return _obspython.obs_data_item_unset_default_value(data)
2504
obs_data_item_unset_default_value = _obspython.obs_data_item_unset_default_value
2505
2506
def obs_data_item_unset_autoselect_value(data: 'obs_data_item_t *') -> "void":
2507
    return _obspython.obs_data_item_unset_autoselect_value(data)
2508
obs_data_item_unset_autoselect_value = _obspython.obs_data_item_unset_autoselect_value
2509
2510
def obs_data_first(data: 'obs_data_t *') -> "obs_data_item_t *":
2511
    return _obspython.obs_data_first(data)
2512
obs_data_first = _obspython.obs_data_first
2513
2514
def obs_data_item_byname(data: 'obs_data_t *', name: 'char const *') -> "obs_data_item_t *":
2515
    return _obspython.obs_data_item_byname(data, name)
2516
obs_data_item_byname = _obspython.obs_data_item_byname
2517
2518
def obs_data_item_next(item: 'obs_data_item_t **') -> "bool":
2519
    return _obspython.obs_data_item_next(item)
2520
obs_data_item_next = _obspython.obs_data_item_next
2521
2522
def obs_data_item_release(item: 'obs_data_item_t **') -> "void":
2523
    return _obspython.obs_data_item_release(item)
2524
obs_data_item_release = _obspython.obs_data_item_release
2525
2526
def obs_data_item_remove(item: 'obs_data_item_t **') -> "void":
2527
    return _obspython.obs_data_item_remove(item)
2528
obs_data_item_remove = _obspython.obs_data_item_remove
2529
2530
def obs_data_item_gettype(item: 'obs_data_item_t *') -> "enum obs_data_type":
2531
    return _obspython.obs_data_item_gettype(item)
2532
obs_data_item_gettype = _obspython.obs_data_item_gettype
2533
2534
def obs_data_item_numtype(item: 'obs_data_item_t *') -> "enum obs_data_number_type":
2535
    return _obspython.obs_data_item_numtype(item)
2536
obs_data_item_numtype = _obspython.obs_data_item_numtype
2537
2538
def obs_data_item_get_name(item: 'obs_data_item_t *') -> "char const *":
2539
    return _obspython.obs_data_item_get_name(item)
2540
obs_data_item_get_name = _obspython.obs_data_item_get_name
2541
2542
def obs_data_item_set_string(item: 'obs_data_item_t **', val: 'char const *') -> "void":
2543
    return _obspython.obs_data_item_set_string(item, val)
2544
obs_data_item_set_string = _obspython.obs_data_item_set_string
2545
2546
def obs_data_item_set_int(item: 'obs_data_item_t **', val: 'long long') -> "void":
2547
    return _obspython.obs_data_item_set_int(item, val)
2548
obs_data_item_set_int = _obspython.obs_data_item_set_int
2549
2550
def obs_data_item_set_double(item: 'obs_data_item_t **', val: 'double') -> "void":
2551
    return _obspython.obs_data_item_set_double(item, val)
2552
obs_data_item_set_double = _obspython.obs_data_item_set_double
2553
2554
def obs_data_item_set_bool(item: 'obs_data_item_t **', val: 'bool') -> "void":
2555
    return _obspython.obs_data_item_set_bool(item, val)
2556
obs_data_item_set_bool = _obspython.obs_data_item_set_bool
2557
2558
def obs_data_item_set_obj(item: 'obs_data_item_t **', val: 'obs_data_t *') -> "void":
2559
    return _obspython.obs_data_item_set_obj(item, val)
2560
obs_data_item_set_obj = _obspython.obs_data_item_set_obj
2561
2562
def obs_data_item_set_array(item: 'obs_data_item_t **', val: 'obs_data_array_t *') -> "void":
2563
    return _obspython.obs_data_item_set_array(item, val)
2564
obs_data_item_set_array = _obspython.obs_data_item_set_array
2565
2566
def obs_data_item_set_default_string(item: 'obs_data_item_t **', val: 'char const *') -> "void":
2567
    return _obspython.obs_data_item_set_default_string(item, val)
2568
obs_data_item_set_default_string = _obspython.obs_data_item_set_default_string
2569
2570
def obs_data_item_set_default_int(item: 'obs_data_item_t **', val: 'long long') -> "void":
2571
    return _obspython.obs_data_item_set_default_int(item, val)
2572
obs_data_item_set_default_int = _obspython.obs_data_item_set_default_int
2573
2574
def obs_data_item_set_default_double(item: 'obs_data_item_t **', val: 'double') -> "void":
2575
    return _obspython.obs_data_item_set_default_double(item, val)
2576
obs_data_item_set_default_double = _obspython.obs_data_item_set_default_double
2577
2578
def obs_data_item_set_default_bool(item: 'obs_data_item_t **', val: 'bool') -> "void":
2579
    return _obspython.obs_data_item_set_default_bool(item, val)
2580
obs_data_item_set_default_bool = _obspython.obs_data_item_set_default_bool
2581
2582
def obs_data_item_set_default_obj(item: 'obs_data_item_t **', val: 'obs_data_t *') -> "void":
2583
    return _obspython.obs_data_item_set_default_obj(item, val)
2584
obs_data_item_set_default_obj = _obspython.obs_data_item_set_default_obj
2585
2586
def obs_data_item_set_default_array(item: 'obs_data_item_t **', val: 'obs_data_array_t *') -> "void":
2587
    return _obspython.obs_data_item_set_default_array(item, val)
2588
obs_data_item_set_default_array = _obspython.obs_data_item_set_default_array
2589
2590
def obs_data_item_set_autoselect_string(item: 'obs_data_item_t **', val: 'char const *') -> "void":
2591
    return _obspython.obs_data_item_set_autoselect_string(item, val)
2592
obs_data_item_set_autoselect_string = _obspython.obs_data_item_set_autoselect_string
2593
2594
def obs_data_item_set_autoselect_int(item: 'obs_data_item_t **', val: 'long long') -> "void":
2595
    return _obspython.obs_data_item_set_autoselect_int(item, val)
2596
obs_data_item_set_autoselect_int = _obspython.obs_data_item_set_autoselect_int
2597
2598
def obs_data_item_set_autoselect_double(item: 'obs_data_item_t **', val: 'double') -> "void":
2599
    return _obspython.obs_data_item_set_autoselect_double(item, val)
2600
obs_data_item_set_autoselect_double = _obspython.obs_data_item_set_autoselect_double
2601
2602
def obs_data_item_set_autoselect_bool(item: 'obs_data_item_t **', val: 'bool') -> "void":
2603
    return _obspython.obs_data_item_set_autoselect_bool(item, val)
2604
obs_data_item_set_autoselect_bool = _obspython.obs_data_item_set_autoselect_bool
2605
2606
def obs_data_item_set_autoselect_obj(item: 'obs_data_item_t **', val: 'obs_data_t *') -> "void":
2607
    return _obspython.obs_data_item_set_autoselect_obj(item, val)
2608
obs_data_item_set_autoselect_obj = _obspython.obs_data_item_set_autoselect_obj
2609
2610
def obs_data_item_set_autoselect_array(item: 'obs_data_item_t **', val: 'obs_data_array_t *') -> "void":
2611
    return _obspython.obs_data_item_set_autoselect_array(item, val)
2612
obs_data_item_set_autoselect_array = _obspython.obs_data_item_set_autoselect_array
2613
2614
def obs_data_item_get_string(item: 'obs_data_item_t *') -> "char const *":
2615
    return _obspython.obs_data_item_get_string(item)
2616
obs_data_item_get_string = _obspython.obs_data_item_get_string
2617
2618
def obs_data_item_get_int(item: 'obs_data_item_t *') -> "long long":
2619
    return _obspython.obs_data_item_get_int(item)
2620
obs_data_item_get_int = _obspython.obs_data_item_get_int
2621
2622
def obs_data_item_get_double(item: 'obs_data_item_t *') -> "double":
2623
    return _obspython.obs_data_item_get_double(item)
2624
obs_data_item_get_double = _obspython.obs_data_item_get_double
2625
2626
def obs_data_item_get_bool(item: 'obs_data_item_t *') -> "bool":
2627
    return _obspython.obs_data_item_get_bool(item)
2628
obs_data_item_get_bool = _obspython.obs_data_item_get_bool
2629
2630
def obs_data_item_get_obj(item: 'obs_data_item_t *') -> "obs_data_t *":
2631
    return _obspython.obs_data_item_get_obj(item)
2632
obs_data_item_get_obj = _obspython.obs_data_item_get_obj
2633
2634
def obs_data_item_get_array(item: 'obs_data_item_t *') -> "obs_data_array_t *":
2635
    return _obspython.obs_data_item_get_array(item)
2636
obs_data_item_get_array = _obspython.obs_data_item_get_array
2637
2638
def obs_data_item_get_default_string(item: 'obs_data_item_t *') -> "char const *":
2639
    return _obspython.obs_data_item_get_default_string(item)
2640
obs_data_item_get_default_string = _obspython.obs_data_item_get_default_string
2641
2642
def obs_data_item_get_default_int(item: 'obs_data_item_t *') -> "long long":
2643
    return _obspython.obs_data_item_get_default_int(item)
2644
obs_data_item_get_default_int = _obspython.obs_data_item_get_default_int
2645
2646
def obs_data_item_get_default_double(item: 'obs_data_item_t *') -> "double":
2647
    return _obspython.obs_data_item_get_default_double(item)
2648
obs_data_item_get_default_double = _obspython.obs_data_item_get_default_double
2649
2650
def obs_data_item_get_default_bool(item: 'obs_data_item_t *') -> "bool":
2651
    return _obspython.obs_data_item_get_default_bool(item)
2652
obs_data_item_get_default_bool = _obspython.obs_data_item_get_default_bool
2653
2654
def obs_data_item_get_default_obj(item: 'obs_data_item_t *') -> "obs_data_t *":
2655
    return _obspython.obs_data_item_get_default_obj(item)
2656
obs_data_item_get_default_obj = _obspython.obs_data_item_get_default_obj
2657
2658
def obs_data_item_get_default_array(item: 'obs_data_item_t *') -> "obs_data_array_t *":
2659
    return _obspython.obs_data_item_get_default_array(item)
2660
obs_data_item_get_default_array = _obspython.obs_data_item_get_default_array
2661
2662
def obs_data_item_get_autoselect_string(item: 'obs_data_item_t *') -> "char const *":
2663
    return _obspython.obs_data_item_get_autoselect_string(item)
2664
obs_data_item_get_autoselect_string = _obspython.obs_data_item_get_autoselect_string
2665
2666
def obs_data_item_get_autoselect_int(item: 'obs_data_item_t *') -> "long long":
2667
    return _obspython.obs_data_item_get_autoselect_int(item)
2668
obs_data_item_get_autoselect_int = _obspython.obs_data_item_get_autoselect_int
2669
2670
def obs_data_item_get_autoselect_double(item: 'obs_data_item_t *') -> "double":
2671
    return _obspython.obs_data_item_get_autoselect_double(item)
2672
obs_data_item_get_autoselect_double = _obspython.obs_data_item_get_autoselect_double
2673
2674
def obs_data_item_get_autoselect_bool(item: 'obs_data_item_t *') -> "bool":
2675
    return _obspython.obs_data_item_get_autoselect_bool(item)
2676
obs_data_item_get_autoselect_bool = _obspython.obs_data_item_get_autoselect_bool
2677
2678
def obs_data_item_get_autoselect_obj(item: 'obs_data_item_t *') -> "obs_data_t *":
2679
    return _obspython.obs_data_item_get_autoselect_obj(item)
2680
obs_data_item_get_autoselect_obj = _obspython.obs_data_item_get_autoselect_obj
2681
2682
def obs_data_item_get_autoselect_array(item: 'obs_data_item_t *') -> "obs_data_array_t *":
2683
    return _obspython.obs_data_item_get_autoselect_array(item)
2684
obs_data_item_get_autoselect_array = _obspython.obs_data_item_get_autoselect_array
2685
2686
def obs_data_set_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2687
    return _obspython.obs_data_set_vec2(data, name, val)
2688
obs_data_set_vec2 = _obspython.obs_data_set_vec2
2689
2690
def obs_data_set_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2691
    return _obspython.obs_data_set_vec3(data, name, val)
2692
obs_data_set_vec3 = _obspython.obs_data_set_vec3
2693
2694
def obs_data_set_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2695
    return _obspython.obs_data_set_vec4(data, name, val)
2696
obs_data_set_vec4 = _obspython.obs_data_set_vec4
2697
2698
def obs_data_set_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2699
    return _obspython.obs_data_set_quat(data, name, val)
2700
obs_data_set_quat = _obspython.obs_data_set_quat
2701
2702
def obs_data_set_default_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2703
    return _obspython.obs_data_set_default_vec2(data, name, val)
2704
obs_data_set_default_vec2 = _obspython.obs_data_set_default_vec2
2705
2706
def obs_data_set_default_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2707
    return _obspython.obs_data_set_default_vec3(data, name, val)
2708
obs_data_set_default_vec3 = _obspython.obs_data_set_default_vec3
2709
2710
def obs_data_set_default_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2711
    return _obspython.obs_data_set_default_vec4(data, name, val)
2712
obs_data_set_default_vec4 = _obspython.obs_data_set_default_vec4
2713
2714
def obs_data_set_default_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2715
    return _obspython.obs_data_set_default_quat(data, name, val)
2716
obs_data_set_default_quat = _obspython.obs_data_set_default_quat
2717
2718
def obs_data_set_autoselect_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2719
    return _obspython.obs_data_set_autoselect_vec2(data, name, val)
2720
obs_data_set_autoselect_vec2 = _obspython.obs_data_set_autoselect_vec2
2721
2722
def obs_data_set_autoselect_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2723
    return _obspython.obs_data_set_autoselect_vec3(data, name, val)
2724
obs_data_set_autoselect_vec3 = _obspython.obs_data_set_autoselect_vec3
2725
2726
def obs_data_set_autoselect_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2727
    return _obspython.obs_data_set_autoselect_vec4(data, name, val)
2728
obs_data_set_autoselect_vec4 = _obspython.obs_data_set_autoselect_vec4
2729
2730
def obs_data_set_autoselect_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2731
    return _obspython.obs_data_set_autoselect_quat(data, name, val)
2732
obs_data_set_autoselect_quat = _obspython.obs_data_set_autoselect_quat
2733
2734
def obs_data_get_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2735
    return _obspython.obs_data_get_vec2(data, name, val)
2736
obs_data_get_vec2 = _obspython.obs_data_get_vec2
2737
2738
def obs_data_get_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2739
    return _obspython.obs_data_get_vec3(data, name, val)
2740
obs_data_get_vec3 = _obspython.obs_data_get_vec3
2741
2742
def obs_data_get_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2743
    return _obspython.obs_data_get_vec4(data, name, val)
2744
obs_data_get_vec4 = _obspython.obs_data_get_vec4
2745
2746
def obs_data_get_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2747
    return _obspython.obs_data_get_quat(data, name, val)
2748
obs_data_get_quat = _obspython.obs_data_get_quat
2749
2750
def obs_data_get_default_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2751
    return _obspython.obs_data_get_default_vec2(data, name, val)
2752
obs_data_get_default_vec2 = _obspython.obs_data_get_default_vec2
2753
2754
def obs_data_get_default_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2755
    return _obspython.obs_data_get_default_vec3(data, name, val)
2756
obs_data_get_default_vec3 = _obspython.obs_data_get_default_vec3
2757
2758
def obs_data_get_default_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2759
    return _obspython.obs_data_get_default_vec4(data, name, val)
2760
obs_data_get_default_vec4 = _obspython.obs_data_get_default_vec4
2761
2762
def obs_data_get_default_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2763
    return _obspython.obs_data_get_default_quat(data, name, val)
2764
obs_data_get_default_quat = _obspython.obs_data_get_default_quat
2765
2766
def obs_data_get_autoselect_vec2(data: 'obs_data_t *', name: 'char const *', val: 'vec2') -> "void":
2767
    return _obspython.obs_data_get_autoselect_vec2(data, name, val)
2768
obs_data_get_autoselect_vec2 = _obspython.obs_data_get_autoselect_vec2
2769
2770
def obs_data_get_autoselect_vec3(data: 'obs_data_t *', name: 'char const *', val: 'vec3') -> "void":
2771
    return _obspython.obs_data_get_autoselect_vec3(data, name, val)
2772
obs_data_get_autoselect_vec3 = _obspython.obs_data_get_autoselect_vec3
2773
2774
def obs_data_get_autoselect_vec4(data: 'obs_data_t *', name: 'char const *', val: 'vec4') -> "void":
2775
    return _obspython.obs_data_get_autoselect_vec4(data, name, val)
2776
obs_data_get_autoselect_vec4 = _obspython.obs_data_get_autoselect_vec4
2777
2778
def obs_data_get_autoselect_quat(data: 'obs_data_t *', name: 'char const *', val: 'quat') -> "void":
2779
    return _obspython.obs_data_get_autoselect_quat(data, name, val)
2780
obs_data_get_autoselect_quat = _obspython.obs_data_get_autoselect_quat
2781
2782
def obs_data_set_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2783
    return _obspython.obs_data_set_frames_per_second(data, name, fps, option)
2784
obs_data_set_frames_per_second = _obspython.obs_data_set_frames_per_second
2785
2786
def obs_data_set_default_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2787
    return _obspython.obs_data_set_default_frames_per_second(data, name, fps, option)
2788
obs_data_set_default_frames_per_second = _obspython.obs_data_set_default_frames_per_second
2789
2790
def obs_data_set_autoselect_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2791
    return _obspython.obs_data_set_autoselect_frames_per_second(data, name, fps, option)
2792
obs_data_set_autoselect_frames_per_second = _obspython.obs_data_set_autoselect_frames_per_second
2793
2794
def obs_data_get_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2795
    return _obspython.obs_data_get_frames_per_second(data, name, fps, option)
2796
obs_data_get_frames_per_second = _obspython.obs_data_get_frames_per_second
2797
2798
def obs_data_get_default_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2799
    return _obspython.obs_data_get_default_frames_per_second(data, name, fps, option)
2800
obs_data_get_default_frames_per_second = _obspython.obs_data_get_default_frames_per_second
2801
2802
def obs_data_get_autoselect_frames_per_second(data: 'obs_data_t *', name: 'char const *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2803
    return _obspython.obs_data_get_autoselect_frames_per_second(data, name, fps, option)
2804
obs_data_get_autoselect_frames_per_second = _obspython.obs_data_get_autoselect_frames_per_second
2805
2806
def obs_data_item_set_frames_per_second(item: 'obs_data_item_t **', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2807
    return _obspython.obs_data_item_set_frames_per_second(item, fps, option)
2808
obs_data_item_set_frames_per_second = _obspython.obs_data_item_set_frames_per_second
2809
2810
def obs_data_item_set_default_frames_per_second(item: 'obs_data_item_t **', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2811
    return _obspython.obs_data_item_set_default_frames_per_second(item, fps, option)
2812
obs_data_item_set_default_frames_per_second = _obspython.obs_data_item_set_default_frames_per_second
2813
2814
def obs_data_item_set_autoselect_frames_per_second(item: 'obs_data_item_t **', fps: 'struct media_frames_per_second', option: 'char const *') -> "void":
2815
    return _obspython.obs_data_item_set_autoselect_frames_per_second(item, fps, option)
2816
obs_data_item_set_autoselect_frames_per_second = _obspython.obs_data_item_set_autoselect_frames_per_second
2817
2818
def obs_data_item_get_frames_per_second(item: 'obs_data_item_t *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2819
    return _obspython.obs_data_item_get_frames_per_second(item, fps, option)
2820
obs_data_item_get_frames_per_second = _obspython.obs_data_item_get_frames_per_second
2821
2822
def obs_data_item_get_default_frames_per_second(item: 'obs_data_item_t *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2823
    return _obspython.obs_data_item_get_default_frames_per_second(item, fps, option)
2824
obs_data_item_get_default_frames_per_second = _obspython.obs_data_item_get_default_frames_per_second
2825
2826
def obs_data_item_get_autoselect_frames_per_second(item: 'obs_data_item_t *', fps: 'struct media_frames_per_second *', option: 'char const **') -> "bool":
2827
    return _obspython.obs_data_item_get_autoselect_frames_per_second(item, fps, option)
2828
obs_data_item_get_autoselect_frames_per_second = _obspython.obs_data_item_get_autoselect_frames_per_second
2829
2830
def obs_data_newref(data: 'obs_data_t *') -> "obs_data_t *":
2831
    return _obspython.obs_data_newref(data)
2832
obs_data_newref = _obspython.obs_data_newref
2833
OBS_SOURCE_TYPE_INPUT = _obspython.OBS_SOURCE_TYPE_INPUT
2834
OBS_SOURCE_TYPE_FILTER = _obspython.OBS_SOURCE_TYPE_FILTER
2835
OBS_SOURCE_TYPE_TRANSITION = _obspython.OBS_SOURCE_TYPE_TRANSITION
2836
OBS_SOURCE_TYPE_SCENE = _obspython.OBS_SOURCE_TYPE_SCENE
2837
OBS_BALANCE_TYPE_SINE_LAW = _obspython.OBS_BALANCE_TYPE_SINE_LAW
2838
OBS_BALANCE_TYPE_SQUARE_LAW = _obspython.OBS_BALANCE_TYPE_SQUARE_LAW
2839
OBS_BALANCE_TYPE_LINEAR = _obspython.OBS_BALANCE_TYPE_LINEAR
2840
OBS_ICON_TYPE_UNKNOWN = _obspython.OBS_ICON_TYPE_UNKNOWN
2841
OBS_ICON_TYPE_IMAGE = _obspython.OBS_ICON_TYPE_IMAGE
2842
OBS_ICON_TYPE_COLOR = _obspython.OBS_ICON_TYPE_COLOR
2843
OBS_ICON_TYPE_SLIDESHOW = _obspython.OBS_ICON_TYPE_SLIDESHOW
2844
OBS_ICON_TYPE_AUDIO_INPUT = _obspython.OBS_ICON_TYPE_AUDIO_INPUT
2845
OBS_ICON_TYPE_AUDIO_OUTPUT = _obspython.OBS_ICON_TYPE_AUDIO_OUTPUT
2846
OBS_ICON_TYPE_DESKTOP_CAPTURE = _obspython.OBS_ICON_TYPE_DESKTOP_CAPTURE
2847
OBS_ICON_TYPE_WINDOW_CAPTURE = _obspython.OBS_ICON_TYPE_WINDOW_CAPTURE
2848
OBS_ICON_TYPE_GAME_CAPTURE = _obspython.OBS_ICON_TYPE_GAME_CAPTURE
2849
OBS_ICON_TYPE_CAMERA = _obspython.OBS_ICON_TYPE_CAMERA
2850
OBS_ICON_TYPE_TEXT = _obspython.OBS_ICON_TYPE_TEXT
2851
OBS_ICON_TYPE_MEDIA = _obspython.OBS_ICON_TYPE_MEDIA
2852
OBS_ICON_TYPE_BROWSER = _obspython.OBS_ICON_TYPE_BROWSER
2853
OBS_ICON_TYPE_CUSTOM = _obspython.OBS_ICON_TYPE_CUSTOM
2854
OBS_MEDIA_STATE_NONE = _obspython.OBS_MEDIA_STATE_NONE
2855
OBS_MEDIA_STATE_PLAYING = _obspython.OBS_MEDIA_STATE_PLAYING
2856
OBS_MEDIA_STATE_OPENING = _obspython.OBS_MEDIA_STATE_OPENING
2857
OBS_MEDIA_STATE_BUFFERING = _obspython.OBS_MEDIA_STATE_BUFFERING
2858
OBS_MEDIA_STATE_PAUSED = _obspython.OBS_MEDIA_STATE_PAUSED
2859
OBS_MEDIA_STATE_STOPPED = _obspython.OBS_MEDIA_STATE_STOPPED
2860
OBS_MEDIA_STATE_ENDED = _obspython.OBS_MEDIA_STATE_ENDED
2861
OBS_MEDIA_STATE_ERROR = _obspython.OBS_MEDIA_STATE_ERROR
2862
OBS_SOURCE_VIDEO = _obspython.OBS_SOURCE_VIDEO
2863
OBS_SOURCE_AUDIO = _obspython.OBS_SOURCE_AUDIO
2864
OBS_SOURCE_ASYNC = _obspython.OBS_SOURCE_ASYNC
2865
OBS_SOURCE_ASYNC_VIDEO = _obspython.OBS_SOURCE_ASYNC_VIDEO
2866
OBS_SOURCE_CUSTOM_DRAW = _obspython.OBS_SOURCE_CUSTOM_DRAW
2867
OBS_SOURCE_INTERACTION = _obspython.OBS_SOURCE_INTERACTION
2868
OBS_SOURCE_COMPOSITE = _obspython.OBS_SOURCE_COMPOSITE
2869
OBS_SOURCE_DO_NOT_DUPLICATE = _obspython.OBS_SOURCE_DO_NOT_DUPLICATE
2870
OBS_SOURCE_DEPRECATED = _obspython.OBS_SOURCE_DEPRECATED
2871
OBS_SOURCE_DO_NOT_SELF_MONITOR = _obspython.OBS_SOURCE_DO_NOT_SELF_MONITOR
2872
OBS_SOURCE_CAP_DISABLED = _obspython.OBS_SOURCE_CAP_DISABLED
2873
OBS_SOURCE_CAP_OBSOLETE = _obspython.OBS_SOURCE_CAP_OBSOLETE
2874
OBS_SOURCE_MONITOR_BY_DEFAULT = _obspython.OBS_SOURCE_MONITOR_BY_DEFAULT
2875
OBS_SOURCE_SUBMIX = _obspython.OBS_SOURCE_SUBMIX
2876
OBS_SOURCE_CONTROLLABLE_MEDIA = _obspython.OBS_SOURCE_CONTROLLABLE_MEDIA
2877
class obs_source_audio_mix(_object):
2878
    __swig_setmethods__ = {}
2879
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_source_audio_mix, name, value)
2880
    __swig_getmethods__ = {}
2881
    __getattr__ = lambda self, name: _swig_getattr(self, obs_source_audio_mix, name)
2882
    __repr__ = _swig_repr
2883
    __swig_setmethods__["output"] = _obspython.obs_source_audio_mix_output_set
2884
    __swig_getmethods__["output"] = _obspython.obs_source_audio_mix_output_get
2885
    if _newclass:
2886
        output = _swig_property(_obspython.obs_source_audio_mix_output_get, _obspython.obs_source_audio_mix_output_set)
2887
2888
    def __init__(self):
2889
        this = _obspython.new_obs_source_audio_mix()
2890
        try:
2891
            self.this.append(this)
2892
        except __builtin__.Exception:
2893
            self.this = this
2894
    __swig_destroy__ = _obspython.delete_obs_source_audio_mix
2895
    __del__ = lambda self: None
2896
obs_source_audio_mix_swigregister = _obspython.obs_source_audio_mix_swigregister
2897
obs_source_audio_mix_swigregister(obs_source_audio_mix)
2898
2899
OBS_PROPERTIES_DEFER_UPDATE = _obspython.OBS_PROPERTIES_DEFER_UPDATE
2900
OBS_PROPERTY_INVALID = _obspython.OBS_PROPERTY_INVALID
2901
OBS_PROPERTY_BOOL = _obspython.OBS_PROPERTY_BOOL
2902
OBS_PROPERTY_INT = _obspython.OBS_PROPERTY_INT
2903
OBS_PROPERTY_FLOAT = _obspython.OBS_PROPERTY_FLOAT
2904
OBS_PROPERTY_TEXT = _obspython.OBS_PROPERTY_TEXT
2905
OBS_PROPERTY_PATH = _obspython.OBS_PROPERTY_PATH
2906
OBS_PROPERTY_LIST = _obspython.OBS_PROPERTY_LIST
2907
OBS_PROPERTY_COLOR = _obspython.OBS_PROPERTY_COLOR
2908
OBS_PROPERTY_BUTTON = _obspython.OBS_PROPERTY_BUTTON
2909
OBS_PROPERTY_FONT = _obspython.OBS_PROPERTY_FONT
2910
OBS_PROPERTY_EDITABLE_LIST = _obspython.OBS_PROPERTY_EDITABLE_LIST
2911
OBS_PROPERTY_FRAME_RATE = _obspython.OBS_PROPERTY_FRAME_RATE
2912
OBS_PROPERTY_GROUP = _obspython.OBS_PROPERTY_GROUP
2913
OBS_COMBO_FORMAT_INVALID = _obspython.OBS_COMBO_FORMAT_INVALID
2914
OBS_COMBO_FORMAT_INT = _obspython.OBS_COMBO_FORMAT_INT
2915
OBS_COMBO_FORMAT_FLOAT = _obspython.OBS_COMBO_FORMAT_FLOAT
2916
OBS_COMBO_FORMAT_STRING = _obspython.OBS_COMBO_FORMAT_STRING
2917
OBS_COMBO_TYPE_INVALID = _obspython.OBS_COMBO_TYPE_INVALID
2918
OBS_COMBO_TYPE_EDITABLE = _obspython.OBS_COMBO_TYPE_EDITABLE
2919
OBS_COMBO_TYPE_LIST = _obspython.OBS_COMBO_TYPE_LIST
2920
OBS_EDITABLE_LIST_TYPE_STRINGS = _obspython.OBS_EDITABLE_LIST_TYPE_STRINGS
2921
OBS_EDITABLE_LIST_TYPE_FILES = _obspython.OBS_EDITABLE_LIST_TYPE_FILES
2922
OBS_EDITABLE_LIST_TYPE_FILES_AND_URLS = _obspython.OBS_EDITABLE_LIST_TYPE_FILES_AND_URLS
2923
OBS_PATH_FILE = _obspython.OBS_PATH_FILE
2924
OBS_PATH_FILE_SAVE = _obspython.OBS_PATH_FILE_SAVE
2925
OBS_PATH_DIRECTORY = _obspython.OBS_PATH_DIRECTORY
2926
OBS_TEXT_DEFAULT = _obspython.OBS_TEXT_DEFAULT
2927
OBS_TEXT_PASSWORD = _obspython.OBS_TEXT_PASSWORD
2928
OBS_TEXT_MULTILINE = _obspython.OBS_TEXT_MULTILINE
2929
OBS_NUMBER_SCROLLER = _obspython.OBS_NUMBER_SCROLLER
2930
OBS_NUMBER_SLIDER = _obspython.OBS_NUMBER_SLIDER
2931
OBS_COMBO_INVALID = _obspython.OBS_COMBO_INVALID
2932
OBS_GROUP_NORMAL = _obspython.OBS_GROUP_NORMAL
2933
OBS_GROUP_CHECKABLE = _obspython.OBS_GROUP_CHECKABLE
2934
OBS_FONT_BOLD = _obspython.OBS_FONT_BOLD
2935
OBS_FONT_ITALIC = _obspython.OBS_FONT_ITALIC
2936
OBS_FONT_UNDERLINE = _obspython.OBS_FONT_UNDERLINE
2937
OBS_FONT_STRIKEOUT = _obspython.OBS_FONT_STRIKEOUT
2938
2939
def obs_properties_create() -> "obs_properties_t *":
2940
    return _obspython.obs_properties_create()
2941
obs_properties_create = _obspython.obs_properties_create
2942
2943
def obs_properties_create_param(param: 'void *', destroy: 'void (*)(void *)') -> "obs_properties_t *":
2944
    return _obspython.obs_properties_create_param(param, destroy)
2945
obs_properties_create_param = _obspython.obs_properties_create_param
2946
2947
def obs_properties_destroy(props: 'obs_properties_t *') -> "void":
2948
    return _obspython.obs_properties_destroy(props)
2949
obs_properties_destroy = _obspython.obs_properties_destroy
2950
2951
def obs_properties_set_flags(props: 'obs_properties_t *', flags: 'uint32_t') -> "void":
2952
    return _obspython.obs_properties_set_flags(props, flags)
2953
obs_properties_set_flags = _obspython.obs_properties_set_flags
2954
2955
def obs_properties_get_flags(props: 'obs_properties_t *') -> "uint32_t":
2956
    return _obspython.obs_properties_get_flags(props)
2957
obs_properties_get_flags = _obspython.obs_properties_get_flags
2958
2959
def obs_properties_set_param(props: 'obs_properties_t *', param: 'void *', destroy: 'void (*)(void *)') -> "void":
2960
    return _obspython.obs_properties_set_param(props, param, destroy)
2961
obs_properties_set_param = _obspython.obs_properties_set_param
2962
2963
def obs_properties_get_param(props: 'obs_properties_t *') -> "void *":
2964
    return _obspython.obs_properties_get_param(props)
2965
obs_properties_get_param = _obspython.obs_properties_get_param
2966
2967
def obs_properties_first(props: 'obs_properties_t *') -> "obs_property_t *":
2968
    return _obspython.obs_properties_first(props)
2969
obs_properties_first = _obspython.obs_properties_first
2970
2971
def obs_properties_get(props: 'obs_properties_t *', property: 'char const *') -> "obs_property_t *":
2972
    return _obspython.obs_properties_get(props, property)
2973
obs_properties_get = _obspython.obs_properties_get
2974
2975
def obs_properties_get_parent(props: 'obs_properties_t *') -> "obs_properties_t *":
2976
    return _obspython.obs_properties_get_parent(props)
2977
obs_properties_get_parent = _obspython.obs_properties_get_parent
2978
2979
def obs_properties_remove_by_name(props: 'obs_properties_t *', property: 'char const *') -> "void":
2980
    return _obspython.obs_properties_remove_by_name(props, property)
2981
obs_properties_remove_by_name = _obspython.obs_properties_remove_by_name
2982
2983
def obs_properties_apply_settings(props: 'obs_properties_t *', settings: 'obs_data_t *') -> "void":
2984
    return _obspython.obs_properties_apply_settings(props, settings)
2985
obs_properties_apply_settings = _obspython.obs_properties_apply_settings
2986
2987
def obs_properties_add_bool(props: 'obs_properties_t *', name: 'char const *', description: 'char const *') -> "obs_property_t *":
2988
    return _obspython.obs_properties_add_bool(props, name, description)
2989
obs_properties_add_bool = _obspython.obs_properties_add_bool
2990
2991
def obs_properties_add_int(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', min: 'int', max: 'int', step: 'int') -> "obs_property_t *":
2992
    return _obspython.obs_properties_add_int(props, name, description, min, max, step)
2993
obs_properties_add_int = _obspython.obs_properties_add_int
2994
2995
def obs_properties_add_float(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', min: 'double', max: 'double', step: 'double') -> "obs_property_t *":
2996
    return _obspython.obs_properties_add_float(props, name, description, min, max, step)
2997
obs_properties_add_float = _obspython.obs_properties_add_float
2998
2999
def obs_properties_add_int_slider(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', min: 'int', max: 'int', step: 'int') -> "obs_property_t *":
3000
    return _obspython.obs_properties_add_int_slider(props, name, description, min, max, step)
3001
obs_properties_add_int_slider = _obspython.obs_properties_add_int_slider
3002
3003
def obs_properties_add_float_slider(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', min: 'double', max: 'double', step: 'double') -> "obs_property_t *":
3004
    return _obspython.obs_properties_add_float_slider(props, name, description, min, max, step)
3005
obs_properties_add_float_slider = _obspython.obs_properties_add_float_slider
3006
3007
def obs_properties_add_text(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', type: 'enum obs_text_type') -> "obs_property_t *":
3008
    return _obspython.obs_properties_add_text(props, name, description, type)
3009
obs_properties_add_text = _obspython.obs_properties_add_text
3010
3011
def obs_properties_add_path(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', type: 'enum obs_path_type', filter: 'char const *', default_path: 'char const *') -> "obs_property_t *":
3012
    return _obspython.obs_properties_add_path(props, name, description, type, filter, default_path)
3013
obs_properties_add_path = _obspython.obs_properties_add_path
3014
3015
def obs_properties_add_list(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', type: 'enum obs_combo_type', format: 'enum obs_combo_format') -> "obs_property_t *":
3016
    return _obspython.obs_properties_add_list(props, name, description, type, format)
3017
obs_properties_add_list = _obspython.obs_properties_add_list
3018
3019
def obs_properties_add_color(props: 'obs_properties_t *', name: 'char const *', description: 'char const *') -> "obs_property_t *":
3020
    return _obspython.obs_properties_add_color(props, name, description)
3021
obs_properties_add_color = _obspython.obs_properties_add_color
3022
3023
def obs_properties_add_button2(props: 'obs_properties_t *', name: 'char const *', text: 'char const *', callback: 'obs_property_clicked_t', priv: 'void *') -> "obs_property_t *":
3024
    return _obspython.obs_properties_add_button2(props, name, text, callback, priv)
3025
obs_properties_add_button2 = _obspython.obs_properties_add_button2
3026
3027
def obs_properties_add_font(props: 'obs_properties_t *', name: 'char const *', description: 'char const *') -> "obs_property_t *":
3028
    return _obspython.obs_properties_add_font(props, name, description)
3029
obs_properties_add_font = _obspython.obs_properties_add_font
3030
3031
def obs_properties_add_editable_list(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', type: 'enum obs_editable_list_type', filter: 'char const *', default_path: 'char const *') -> "obs_property_t *":
3032
    return _obspython.obs_properties_add_editable_list(props, name, description, type, filter, default_path)
3033
obs_properties_add_editable_list = _obspython.obs_properties_add_editable_list
3034
3035
def obs_properties_add_frame_rate(props: 'obs_properties_t *', name: 'char const *', description: 'char const *') -> "obs_property_t *":
3036
    return _obspython.obs_properties_add_frame_rate(props, name, description)
3037
obs_properties_add_frame_rate = _obspython.obs_properties_add_frame_rate
3038
3039
def obs_properties_add_group(props: 'obs_properties_t *', name: 'char const *', description: 'char const *', type: 'enum obs_group_type', group: 'obs_properties_t *') -> "obs_property_t *":
3040
    return _obspython.obs_properties_add_group(props, name, description, type, group)
3041
obs_properties_add_group = _obspython.obs_properties_add_group
3042
3043
def obs_property_set_modified_callback2(p: 'obs_property_t *', modified: 'obs_property_modified2_t', priv: 'void *') -> "void":
3044
    return _obspython.obs_property_set_modified_callback2(p, modified, priv)
3045
obs_property_set_modified_callback2 = _obspython.obs_property_set_modified_callback2
3046
3047
def obs_property_modified(p: 'obs_property_t *', settings: 'obs_data_t *') -> "bool":
3048
    return _obspython.obs_property_modified(p, settings)
3049
obs_property_modified = _obspython.obs_property_modified
3050
3051
def obs_property_button_clicked(p: 'obs_property_t *', obj: 'void *') -> "bool":
3052
    return _obspython.obs_property_button_clicked(p, obj)
3053
obs_property_button_clicked = _obspython.obs_property_button_clicked
3054
3055
def obs_property_set_visible(p: 'obs_property_t *', visible: 'bool') -> "void":
3056
    return _obspython.obs_property_set_visible(p, visible)
3057
obs_property_set_visible = _obspython.obs_property_set_visible
3058
3059
def obs_property_set_enabled(p: 'obs_property_t *', enabled: 'bool') -> "void":
3060
    return _obspython.obs_property_set_enabled(p, enabled)
3061
obs_property_set_enabled = _obspython.obs_property_set_enabled
3062
3063
def obs_property_set_description(p: 'obs_property_t *', description: 'char const *') -> "void":
3064
    return _obspython.obs_property_set_description(p, description)
3065
obs_property_set_description = _obspython.obs_property_set_description
3066
3067
def obs_property_set_long_description(p: 'obs_property_t *', long_description: 'char const *') -> "void":
3068
    return _obspython.obs_property_set_long_description(p, long_description)
3069
obs_property_set_long_description = _obspython.obs_property_set_long_description
3070
3071
def obs_property_name(p: 'obs_property_t *') -> "char const *":
3072
    return _obspython.obs_property_name(p)
3073
obs_property_name = _obspython.obs_property_name
3074
3075
def obs_property_description(p: 'obs_property_t *') -> "char const *":
3076
    return _obspython.obs_property_description(p)
3077
obs_property_description = _obspython.obs_property_description
3078
3079
def obs_property_long_description(p: 'obs_property_t *') -> "char const *":
3080
    return _obspython.obs_property_long_description(p)
3081
obs_property_long_description = _obspython.obs_property_long_description
3082
3083
def obs_property_get_type(p: 'obs_property_t *') -> "enum obs_property_type":
3084
    return _obspython.obs_property_get_type(p)
3085
obs_property_get_type = _obspython.obs_property_get_type
3086
3087
def obs_property_enabled(p: 'obs_property_t *') -> "bool":
3088
    return _obspython.obs_property_enabled(p)
3089
obs_property_enabled = _obspython.obs_property_enabled
3090
3091
def obs_property_visible(p: 'obs_property_t *') -> "bool":
3092
    return _obspython.obs_property_visible(p)
3093
obs_property_visible = _obspython.obs_property_visible
3094
3095
def obs_property_next(p: 'obs_property_t **') -> "bool":
3096
    return _obspython.obs_property_next(p)
3097
obs_property_next = _obspython.obs_property_next
3098
3099
def obs_property_int_min(p: 'obs_property_t *') -> "int":
3100
    return _obspython.obs_property_int_min(p)
3101
obs_property_int_min = _obspython.obs_property_int_min
3102
3103
def obs_property_int_max(p: 'obs_property_t *') -> "int":
3104
    return _obspython.obs_property_int_max(p)
3105
obs_property_int_max = _obspython.obs_property_int_max
3106
3107
def obs_property_int_step(p: 'obs_property_t *') -> "int":
3108
    return _obspython.obs_property_int_step(p)
3109
obs_property_int_step = _obspython.obs_property_int_step
3110
3111
def obs_property_int_type(p: 'obs_property_t *') -> "enum obs_number_type":
3112
    return _obspython.obs_property_int_type(p)
3113
obs_property_int_type = _obspython.obs_property_int_type
3114
3115
def obs_property_int_suffix(p: 'obs_property_t *') -> "char const *":
3116
    return _obspython.obs_property_int_suffix(p)
3117
obs_property_int_suffix = _obspython.obs_property_int_suffix
3118
3119
def obs_property_float_min(p: 'obs_property_t *') -> "double":
3120
    return _obspython.obs_property_float_min(p)
3121
obs_property_float_min = _obspython.obs_property_float_min
3122
3123
def obs_property_float_max(p: 'obs_property_t *') -> "double":
3124
    return _obspython.obs_property_float_max(p)
3125
obs_property_float_max = _obspython.obs_property_float_max
3126
3127
def obs_property_float_step(p: 'obs_property_t *') -> "double":
3128
    return _obspython.obs_property_float_step(p)
3129
obs_property_float_step = _obspython.obs_property_float_step
3130
3131
def obs_property_float_type(p: 'obs_property_t *') -> "enum obs_number_type":
3132
    return _obspython.obs_property_float_type(p)
3133
obs_property_float_type = _obspython.obs_property_float_type
3134
3135
def obs_property_float_suffix(p: 'obs_property_t *') -> "char const *":
3136
    return _obspython.obs_property_float_suffix(p)
3137
obs_property_float_suffix = _obspython.obs_property_float_suffix
3138
3139
def obs_property_text_type(p: 'obs_property_t *') -> "enum obs_text_type":
3140
    return _obspython.obs_property_text_type(p)
3141
obs_property_text_type = _obspython.obs_property_text_type
3142
3143
def obs_property_text_monospace(p: 'obs_property_t *') -> "enum obs_text_type":
3144
    return _obspython.obs_property_text_monospace(p)
3145
obs_property_text_monospace = _obspython.obs_property_text_monospace
3146
3147
def obs_property_path_type(p: 'obs_property_t *') -> "enum obs_path_type":
3148
    return _obspython.obs_property_path_type(p)
3149
obs_property_path_type = _obspython.obs_property_path_type
3150
3151
def obs_property_path_filter(p: 'obs_property_t *') -> "char const *":
3152
    return _obspython.obs_property_path_filter(p)
3153
obs_property_path_filter = _obspython.obs_property_path_filter
3154
3155
def obs_property_path_default_path(p: 'obs_property_t *') -> "char const *":
3156
    return _obspython.obs_property_path_default_path(p)
3157
obs_property_path_default_path = _obspython.obs_property_path_default_path
3158
3159
def obs_property_list_type(p: 'obs_property_t *') -> "enum obs_combo_type":
3160
    return _obspython.obs_property_list_type(p)
3161
obs_property_list_type = _obspython.obs_property_list_type
3162
3163
def obs_property_list_format(p: 'obs_property_t *') -> "enum obs_combo_format":
3164
    return _obspython.obs_property_list_format(p)
3165
obs_property_list_format = _obspython.obs_property_list_format
3166
3167
def obs_property_int_set_limits(p: 'obs_property_t *', min: 'int', max: 'int', step: 'int') -> "void":
3168
    return _obspython.obs_property_int_set_limits(p, min, max, step)
3169
obs_property_int_set_limits = _obspython.obs_property_int_set_limits
3170
3171
def obs_property_float_set_limits(p: 'obs_property_t *', min: 'double', max: 'double', step: 'double') -> "void":
3172
    return _obspython.obs_property_float_set_limits(p, min, max, step)
3173
obs_property_float_set_limits = _obspython.obs_property_float_set_limits
3174
3175
def obs_property_int_set_suffix(p: 'obs_property_t *', suffix: 'char const *') -> "void":
3176
    return _obspython.obs_property_int_set_suffix(p, suffix)
3177
obs_property_int_set_suffix = _obspython.obs_property_int_set_suffix
3178
3179
def obs_property_float_set_suffix(p: 'obs_property_t *', suffix: 'char const *') -> "void":
3180
    return _obspython.obs_property_float_set_suffix(p, suffix)
3181
obs_property_float_set_suffix = _obspython.obs_property_float_set_suffix
3182
3183
def obs_property_text_set_monospace(p: 'obs_property_t *', monospace: 'bool') -> "void":
3184
    return _obspython.obs_property_text_set_monospace(p, monospace)
3185
obs_property_text_set_monospace = _obspython.obs_property_text_set_monospace
3186
3187
def obs_property_list_clear(p: 'obs_property_t *') -> "void":
3188
    return _obspython.obs_property_list_clear(p)
3189
obs_property_list_clear = _obspython.obs_property_list_clear
3190
3191
def obs_property_list_add_string(p: 'obs_property_t *', name: 'char const *', val: 'char const *') -> "size_t":
3192
    return _obspython.obs_property_list_add_string(p, name, val)
3193
obs_property_list_add_string = _obspython.obs_property_list_add_string
3194
3195
def obs_property_list_add_int(p: 'obs_property_t *', name: 'char const *', val: 'long long') -> "size_t":
3196
    return _obspython.obs_property_list_add_int(p, name, val)
3197
obs_property_list_add_int = _obspython.obs_property_list_add_int
3198
3199
def obs_property_list_add_float(p: 'obs_property_t *', name: 'char const *', val: 'double') -> "size_t":
3200
    return _obspython.obs_property_list_add_float(p, name, val)
3201
obs_property_list_add_float = _obspython.obs_property_list_add_float
3202
3203
def obs_property_list_insert_string(p: 'obs_property_t *', idx: 'size_t', name: 'char const *', val: 'char const *') -> "void":
3204
    return _obspython.obs_property_list_insert_string(p, idx, name, val)
3205
obs_property_list_insert_string = _obspython.obs_property_list_insert_string
3206
3207
def obs_property_list_insert_int(p: 'obs_property_t *', idx: 'size_t', name: 'char const *', val: 'long long') -> "void":
3208
    return _obspython.obs_property_list_insert_int(p, idx, name, val)
3209
obs_property_list_insert_int = _obspython.obs_property_list_insert_int
3210
3211
def obs_property_list_insert_float(p: 'obs_property_t *', idx: 'size_t', name: 'char const *', val: 'double') -> "void":
3212
    return _obspython.obs_property_list_insert_float(p, idx, name, val)
3213
obs_property_list_insert_float = _obspython.obs_property_list_insert_float
3214
3215
def obs_property_list_item_disable(p: 'obs_property_t *', idx: 'size_t', disabled: 'bool') -> "void":
3216
    return _obspython.obs_property_list_item_disable(p, idx, disabled)
3217
obs_property_list_item_disable = _obspython.obs_property_list_item_disable
3218
3219
def obs_property_list_item_disabled(p: 'obs_property_t *', idx: 'size_t') -> "bool":
3220
    return _obspython.obs_property_list_item_disabled(p, idx)
3221
obs_property_list_item_disabled = _obspython.obs_property_list_item_disabled
3222
3223
def obs_property_list_item_remove(p: 'obs_property_t *', idx: 'size_t') -> "void":
3224
    return _obspython.obs_property_list_item_remove(p, idx)
3225
obs_property_list_item_remove = _obspython.obs_property_list_item_remove
3226
3227
def obs_property_list_item_count(p: 'obs_property_t *') -> "size_t":
3228
    return _obspython.obs_property_list_item_count(p)
3229
obs_property_list_item_count = _obspython.obs_property_list_item_count
3230
3231
def obs_property_list_item_name(p: 'obs_property_t *', idx: 'size_t') -> "char const *":
3232
    return _obspython.obs_property_list_item_name(p, idx)
3233
obs_property_list_item_name = _obspython.obs_property_list_item_name
3234
3235
def obs_property_list_item_string(p: 'obs_property_t *', idx: 'size_t') -> "char const *":
3236
    return _obspython.obs_property_list_item_string(p, idx)
3237
obs_property_list_item_string = _obspython.obs_property_list_item_string
3238
3239
def obs_property_list_item_int(p: 'obs_property_t *', idx: 'size_t') -> "long long":
3240
    return _obspython.obs_property_list_item_int(p, idx)
3241
obs_property_list_item_int = _obspython.obs_property_list_item_int
3242
3243
def obs_property_list_item_float(p: 'obs_property_t *', idx: 'size_t') -> "double":
3244
    return _obspython.obs_property_list_item_float(p, idx)
3245
obs_property_list_item_float = _obspython.obs_property_list_item_float
3246
3247
def obs_property_editable_list_type(p: 'obs_property_t *') -> "enum obs_editable_list_type":
3248
    return _obspython.obs_property_editable_list_type(p)
3249
obs_property_editable_list_type = _obspython.obs_property_editable_list_type
3250
3251
def obs_property_editable_list_filter(p: 'obs_property_t *') -> "char const *":
3252
    return _obspython.obs_property_editable_list_filter(p)
3253
obs_property_editable_list_filter = _obspython.obs_property_editable_list_filter
3254
3255
def obs_property_editable_list_default_path(p: 'obs_property_t *') -> "char const *":
3256
    return _obspython.obs_property_editable_list_default_path(p)
3257
obs_property_editable_list_default_path = _obspython.obs_property_editable_list_default_path
3258
3259
def obs_property_frame_rate_clear(p: 'obs_property_t *') -> "void":
3260
    return _obspython.obs_property_frame_rate_clear(p)
3261
obs_property_frame_rate_clear = _obspython.obs_property_frame_rate_clear
3262
3263
def obs_property_frame_rate_options_clear(p: 'obs_property_t *') -> "void":
3264
    return _obspython.obs_property_frame_rate_options_clear(p)
3265
obs_property_frame_rate_options_clear = _obspython.obs_property_frame_rate_options_clear
3266
3267
def obs_property_frame_rate_fps_ranges_clear(p: 'obs_property_t *') -> "void":
3268
    return _obspython.obs_property_frame_rate_fps_ranges_clear(p)
3269
obs_property_frame_rate_fps_ranges_clear = _obspython.obs_property_frame_rate_fps_ranges_clear
3270
3271
def obs_property_frame_rate_option_add(p: 'obs_property_t *', name: 'char const *', description: 'char const *') -> "size_t":
3272
    return _obspython.obs_property_frame_rate_option_add(p, name, description)
3273
obs_property_frame_rate_option_add = _obspython.obs_property_frame_rate_option_add
3274
3275
def obs_property_frame_rate_fps_range_add(p: 'obs_property_t *', min: 'struct media_frames_per_second', max: 'struct media_frames_per_second') -> "size_t":
3276
    return _obspython.obs_property_frame_rate_fps_range_add(p, min, max)
3277
obs_property_frame_rate_fps_range_add = _obspython.obs_property_frame_rate_fps_range_add
3278
3279
def obs_property_frame_rate_option_insert(p: 'obs_property_t *', idx: 'size_t', name: 'char const *', description: 'char const *') -> "void":
3280
    return _obspython.obs_property_frame_rate_option_insert(p, idx, name, description)
3281
obs_property_frame_rate_option_insert = _obspython.obs_property_frame_rate_option_insert
3282
3283
def obs_property_frame_rate_fps_range_insert(p: 'obs_property_t *', idx: 'size_t', min: 'struct media_frames_per_second', max: 'struct media_frames_per_second') -> "void":
3284
    return _obspython.obs_property_frame_rate_fps_range_insert(p, idx, min, max)
3285
obs_property_frame_rate_fps_range_insert = _obspython.obs_property_frame_rate_fps_range_insert
3286
3287
def obs_property_frame_rate_options_count(p: 'obs_property_t *') -> "size_t":
3288
    return _obspython.obs_property_frame_rate_options_count(p)
3289
obs_property_frame_rate_options_count = _obspython.obs_property_frame_rate_options_count
3290
3291
def obs_property_frame_rate_option_name(p: 'obs_property_t *', idx: 'size_t') -> "char const *":
3292
    return _obspython.obs_property_frame_rate_option_name(p, idx)
3293
obs_property_frame_rate_option_name = _obspython.obs_property_frame_rate_option_name
3294
3295
def obs_property_frame_rate_option_description(p: 'obs_property_t *', idx: 'size_t') -> "char const *":
3296
    return _obspython.obs_property_frame_rate_option_description(p, idx)
3297
obs_property_frame_rate_option_description = _obspython.obs_property_frame_rate_option_description
3298
3299
def obs_property_frame_rate_fps_ranges_count(p: 'obs_property_t *') -> "size_t":
3300
    return _obspython.obs_property_frame_rate_fps_ranges_count(p)
3301
obs_property_frame_rate_fps_ranges_count = _obspython.obs_property_frame_rate_fps_ranges_count
3302
3303
def obs_property_frame_rate_fps_range_min(p: 'obs_property_t *', idx: 'size_t') -> "struct media_frames_per_second":
3304
    return _obspython.obs_property_frame_rate_fps_range_min(p, idx)
3305
obs_property_frame_rate_fps_range_min = _obspython.obs_property_frame_rate_fps_range_min
3306
3307
def obs_property_frame_rate_fps_range_max(p: 'obs_property_t *', idx: 'size_t') -> "struct media_frames_per_second":
3308
    return _obspython.obs_property_frame_rate_fps_range_max(p, idx)
3309
obs_property_frame_rate_fps_range_max = _obspython.obs_property_frame_rate_fps_range_max
3310
3311
def obs_property_group_type(p: 'obs_property_t *') -> "enum obs_group_type":
3312
    return _obspython.obs_property_group_type(p)
3313
obs_property_group_type = _obspython.obs_property_group_type
3314
3315
def obs_property_group_content(p: 'obs_property_t *') -> "obs_properties_t *":
3316
    return _obspython.obs_property_group_content(p)
3317
obs_property_group_content = _obspython.obs_property_group_content
3318
INTERACT_NONE = _obspython.INTERACT_NONE
3319
INTERACT_CAPS_KEY = _obspython.INTERACT_CAPS_KEY
3320
INTERACT_SHIFT_KEY = _obspython.INTERACT_SHIFT_KEY
3321
INTERACT_CONTROL_KEY = _obspython.INTERACT_CONTROL_KEY
3322
INTERACT_ALT_KEY = _obspython.INTERACT_ALT_KEY
3323
INTERACT_MOUSE_LEFT = _obspython.INTERACT_MOUSE_LEFT
3324
INTERACT_MOUSE_MIDDLE = _obspython.INTERACT_MOUSE_MIDDLE
3325
INTERACT_MOUSE_RIGHT = _obspython.INTERACT_MOUSE_RIGHT
3326
INTERACT_COMMAND_KEY = _obspython.INTERACT_COMMAND_KEY
3327
INTERACT_NUMLOCK_KEY = _obspython.INTERACT_NUMLOCK_KEY
3328
INTERACT_IS_KEY_PAD = _obspython.INTERACT_IS_KEY_PAD
3329
INTERACT_IS_LEFT = _obspython.INTERACT_IS_LEFT
3330
INTERACT_IS_RIGHT = _obspython.INTERACT_IS_RIGHT
3331
MOUSE_LEFT = _obspython.MOUSE_LEFT
3332
MOUSE_MIDDLE = _obspython.MOUSE_MIDDLE
3333
MOUSE_RIGHT = _obspython.MOUSE_RIGHT
3334
class obs_mouse_event(_object):
3335
    __swig_setmethods__ = {}
3336
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_mouse_event, name, value)
3337
    __swig_getmethods__ = {}
3338
    __getattr__ = lambda self, name: _swig_getattr(self, obs_mouse_event, name)
3339
    __repr__ = _swig_repr
3340
    __swig_setmethods__["modifiers"] = _obspython.obs_mouse_event_modifiers_set
3341
    __swig_getmethods__["modifiers"] = _obspython.obs_mouse_event_modifiers_get
3342
    if _newclass:
3343
        modifiers = _swig_property(_obspython.obs_mouse_event_modifiers_get, _obspython.obs_mouse_event_modifiers_set)
3344
    __swig_setmethods__["x"] = _obspython.obs_mouse_event_x_set
3345
    __swig_getmethods__["x"] = _obspython.obs_mouse_event_x_get
3346
    if _newclass:
3347
        x = _swig_property(_obspython.obs_mouse_event_x_get, _obspython.obs_mouse_event_x_set)
3348
    __swig_setmethods__["y"] = _obspython.obs_mouse_event_y_set
3349
    __swig_getmethods__["y"] = _obspython.obs_mouse_event_y_get
3350
    if _newclass:
3351
        y = _swig_property(_obspython.obs_mouse_event_y_get, _obspython.obs_mouse_event_y_set)
3352
3353
    def __init__(self):
3354
        this = _obspython.new_obs_mouse_event()
3355
        try:
3356
            self.this.append(this)
3357
        except __builtin__.Exception:
3358
            self.this = this
3359
    __swig_destroy__ = _obspython.delete_obs_mouse_event
3360
    __del__ = lambda self: None
3361
obs_mouse_event_swigregister = _obspython.obs_mouse_event_swigregister
3362
obs_mouse_event_swigregister(obs_mouse_event)
3363
3364
class obs_key_event(_object):
3365
    __swig_setmethods__ = {}
3366
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_key_event, name, value)
3367
    __swig_getmethods__ = {}
3368
    __getattr__ = lambda self, name: _swig_getattr(self, obs_key_event, name)
3369
    __repr__ = _swig_repr
3370
    __swig_setmethods__["modifiers"] = _obspython.obs_key_event_modifiers_set
3371
    __swig_getmethods__["modifiers"] = _obspython.obs_key_event_modifiers_get
3372
    if _newclass:
3373
        modifiers = _swig_property(_obspython.obs_key_event_modifiers_get, _obspython.obs_key_event_modifiers_set)
3374
    __swig_setmethods__["text"] = _obspython.obs_key_event_text_set
3375
    __swig_getmethods__["text"] = _obspython.obs_key_event_text_get
3376
    if _newclass:
3377
        text = _swig_property(_obspython.obs_key_event_text_get, _obspython.obs_key_event_text_set)
3378
    __swig_setmethods__["native_modifiers"] = _obspython.obs_key_event_native_modifiers_set
3379
    __swig_getmethods__["native_modifiers"] = _obspython.obs_key_event_native_modifiers_get
3380
    if _newclass:
3381
        native_modifiers = _swig_property(_obspython.obs_key_event_native_modifiers_get, _obspython.obs_key_event_native_modifiers_set)
3382
    __swig_setmethods__["native_scancode"] = _obspython.obs_key_event_native_scancode_set
3383
    __swig_getmethods__["native_scancode"] = _obspython.obs_key_event_native_scancode_get
3384
    if _newclass:
3385
        native_scancode = _swig_property(_obspython.obs_key_event_native_scancode_get, _obspython.obs_key_event_native_scancode_set)
3386
    __swig_setmethods__["native_vkey"] = _obspython.obs_key_event_native_vkey_set
3387
    __swig_getmethods__["native_vkey"] = _obspython.obs_key_event_native_vkey_get
3388
    if _newclass:
3389
        native_vkey = _swig_property(_obspython.obs_key_event_native_vkey_get, _obspython.obs_key_event_native_vkey_set)
3390
3391
    def __init__(self):
3392
        this = _obspython.new_obs_key_event()
3393
        try:
3394
            self.this.append(this)
3395
        except __builtin__.Exception:
3396
            self.this = this
3397
    __swig_destroy__ = _obspython.delete_obs_key_event
3398
    __del__ = lambda self: None
3399
obs_key_event_swigregister = _obspython.obs_key_event_swigregister
3400
obs_key_event_swigregister(obs_key_event)
3401
3402
XINPUT_MOUSE_LEN = _obspython.XINPUT_MOUSE_LEN
3403
OBS_KEY_LAST_VALUE = _obspython.OBS_KEY_LAST_VALUE
3404
class obs_key_combination(_object):
3405
    __swig_setmethods__ = {}
3406
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_key_combination, name, value)
3407
    __swig_getmethods__ = {}
3408
    __getattr__ = lambda self, name: _swig_getattr(self, obs_key_combination, name)
3409
    __repr__ = _swig_repr
3410
    __swig_setmethods__["modifiers"] = _obspython.obs_key_combination_modifiers_set
3411
    __swig_getmethods__["modifiers"] = _obspython.obs_key_combination_modifiers_get
3412
    if _newclass:
3413
        modifiers = _swig_property(_obspython.obs_key_combination_modifiers_get, _obspython.obs_key_combination_modifiers_set)
3414
    __swig_setmethods__["key"] = _obspython.obs_key_combination_key_set
3415
    __swig_getmethods__["key"] = _obspython.obs_key_combination_key_get
3416
    if _newclass:
3417
        key = _swig_property(_obspython.obs_key_combination_key_get, _obspython.obs_key_combination_key_set)
3418
3419
    def __init__(self):
3420
        this = _obspython.new_obs_key_combination()
3421
        try:
3422
            self.this.append(this)
3423
        except __builtin__.Exception:
3424
            self.this = this
3425
    __swig_destroy__ = _obspython.delete_obs_key_combination
3426
    __del__ = lambda self: None
3427
obs_key_combination_swigregister = _obspython.obs_key_combination_swigregister
3428
obs_key_combination_swigregister(obs_key_combination)
3429
cvar = _obspython.cvar
3430
OBS_INVALID_HOTKEY_ID = cvar.OBS_INVALID_HOTKEY_ID
3431
OBS_INVALID_HOTKEY_PAIR_ID = cvar.OBS_INVALID_HOTKEY_PAIR_ID
3432
3433
OBS_HOTKEY_REGISTERER_FRONTEND = _obspython.OBS_HOTKEY_REGISTERER_FRONTEND
3434
OBS_HOTKEY_REGISTERER_SOURCE = _obspython.OBS_HOTKEY_REGISTERER_SOURCE
3435
OBS_HOTKEY_REGISTERER_OUTPUT = _obspython.OBS_HOTKEY_REGISTERER_OUTPUT
3436
OBS_HOTKEY_REGISTERER_ENCODER = _obspython.OBS_HOTKEY_REGISTERER_ENCODER
3437
OBS_HOTKEY_REGISTERER_SERVICE = _obspython.OBS_HOTKEY_REGISTERER_SERVICE
3438
3439
def obs_hotkey_get_id(key: 'obs_hotkey_t const *') -> "obs_hotkey_id":
3440
    return _obspython.obs_hotkey_get_id(key)
3441
obs_hotkey_get_id = _obspython.obs_hotkey_get_id
3442
3443
def obs_hotkey_get_name(key: 'obs_hotkey_t const *') -> "char const *":
3444
    return _obspython.obs_hotkey_get_name(key)
3445
obs_hotkey_get_name = _obspython.obs_hotkey_get_name
3446
3447
def obs_hotkey_get_description(key: 'obs_hotkey_t const *') -> "char const *":
3448
    return _obspython.obs_hotkey_get_description(key)
3449
obs_hotkey_get_description = _obspython.obs_hotkey_get_description
3450
3451
def obs_hotkey_get_registerer_type(key: 'obs_hotkey_t const *') -> "obs_hotkey_registerer_t":
3452
    return _obspython.obs_hotkey_get_registerer_type(key)
3453
obs_hotkey_get_registerer_type = _obspython.obs_hotkey_get_registerer_type
3454
3455
def obs_hotkey_get_registerer(key: 'obs_hotkey_t const *') -> "void *":
3456
    return _obspython.obs_hotkey_get_registerer(key)
3457
obs_hotkey_get_registerer = _obspython.obs_hotkey_get_registerer
3458
3459
def obs_hotkey_get_pair_partner_id(key: 'obs_hotkey_t const *') -> "obs_hotkey_id":
3460
    return _obspython.obs_hotkey_get_pair_partner_id(key)
3461
obs_hotkey_get_pair_partner_id = _obspython.obs_hotkey_get_pair_partner_id
3462
3463
def obs_hotkey_binding_get_key_combination(binding: 'obs_hotkey_binding_t *') -> "obs_key_combination_t":
3464
    return _obspython.obs_hotkey_binding_get_key_combination(binding)
3465
obs_hotkey_binding_get_key_combination = _obspython.obs_hotkey_binding_get_key_combination
3466
3467
def obs_hotkey_binding_get_hotkey_id(binding: 'obs_hotkey_binding_t *') -> "obs_hotkey_id":
3468
    return _obspython.obs_hotkey_binding_get_hotkey_id(binding)
3469
obs_hotkey_binding_get_hotkey_id = _obspython.obs_hotkey_binding_get_hotkey_id
3470
3471
def obs_hotkey_binding_get_hotkey(binding: 'obs_hotkey_binding_t *') -> "obs_hotkey_t *":
3472
    return _obspython.obs_hotkey_binding_get_hotkey(binding)
3473
obs_hotkey_binding_get_hotkey = _obspython.obs_hotkey_binding_get_hotkey
3474
3475
def obs_hotkey_set_name(id: 'obs_hotkey_id', name: 'char const *') -> "void":
3476
    return _obspython.obs_hotkey_set_name(id, name)
3477
obs_hotkey_set_name = _obspython.obs_hotkey_set_name
3478
3479
def obs_hotkey_set_description(id: 'obs_hotkey_id', desc: 'char const *') -> "void":
3480
    return _obspython.obs_hotkey_set_description(id, desc)
3481
obs_hotkey_set_description = _obspython.obs_hotkey_set_description
3482
3483
def obs_hotkey_pair_set_names(id: 'obs_hotkey_pair_id', name0: 'char const *', name1: 'char const *') -> "void":
3484
    return _obspython.obs_hotkey_pair_set_names(id, name0, name1)
3485
obs_hotkey_pair_set_names = _obspython.obs_hotkey_pair_set_names
3486
3487
def obs_hotkey_pair_set_descriptions(id: 'obs_hotkey_pair_id', desc0: 'char const *', desc1: 'char const *') -> "void":
3488
    return _obspython.obs_hotkey_pair_set_descriptions(id, desc0, desc1)
3489
obs_hotkey_pair_set_descriptions = _obspython.obs_hotkey_pair_set_descriptions
3490
3491
def obs_hotkeys_set_audio_hotkeys_translations(mute: 'char const *', unmute: 'char const *', push_to_mute: 'char const *', push_to_talk: 'char const *') -> "void":
3492
    return _obspython.obs_hotkeys_set_audio_hotkeys_translations(mute, unmute, push_to_mute, push_to_talk)
3493
obs_hotkeys_set_audio_hotkeys_translations = _obspython.obs_hotkeys_set_audio_hotkeys_translations
3494
3495
def obs_hotkeys_set_sceneitem_hotkeys_translations(show: 'char const *', hide: 'char const *') -> "void":
3496
    return _obspython.obs_hotkeys_set_sceneitem_hotkeys_translations(show, hide)
3497
obs_hotkeys_set_sceneitem_hotkeys_translations = _obspython.obs_hotkeys_set_sceneitem_hotkeys_translations
3498
3499
def obs_hotkey_unregister(id: 'obs_hotkey_id') -> "void":
3500
    return _obspython.obs_hotkey_unregister(id)
3501
obs_hotkey_unregister = _obspython.obs_hotkey_unregister
3502
3503
def obs_hotkey_pair_unregister(id: 'obs_hotkey_pair_id') -> "void":
3504
    return _obspython.obs_hotkey_pair_unregister(id)
3505
obs_hotkey_pair_unregister = _obspython.obs_hotkey_pair_unregister
3506
3507
def obs_hotkey_load_bindings(id: 'obs_hotkey_id', combinations: 'obs_key_combination', num: 'size_t') -> "void":
3508
    return _obspython.obs_hotkey_load_bindings(id, combinations, num)
3509
obs_hotkey_load_bindings = _obspython.obs_hotkey_load_bindings
3510
3511
def obs_hotkey_load(id: 'obs_hotkey_id', data: 'obs_data_array_t *') -> "void":
3512
    return _obspython.obs_hotkey_load(id, data)
3513
obs_hotkey_load = _obspython.obs_hotkey_load
3514
3515
def obs_hotkeys_load_encoder(encoder: 'obs_encoder_t *', hotkeys: 'obs_data_t *') -> "void":
3516
    return _obspython.obs_hotkeys_load_encoder(encoder, hotkeys)
3517
obs_hotkeys_load_encoder = _obspython.obs_hotkeys_load_encoder
3518
3519
def obs_hotkeys_load_output(output: 'obs_output_t *', hotkeys: 'obs_data_t *') -> "void":
3520
    return _obspython.obs_hotkeys_load_output(output, hotkeys)
3521
obs_hotkeys_load_output = _obspython.obs_hotkeys_load_output
3522
3523
def obs_hotkeys_load_service(service: 'obs_service_t *', hotkeys: 'obs_data_t *') -> "void":
3524
    return _obspython.obs_hotkeys_load_service(service, hotkeys)
3525
obs_hotkeys_load_service = _obspython.obs_hotkeys_load_service
3526
3527
def obs_hotkeys_load_source(source: 'obs_source_t *', hotkeys: 'obs_data_t *') -> "void":
3528
    return _obspython.obs_hotkeys_load_source(source, hotkeys)
3529
obs_hotkeys_load_source = _obspython.obs_hotkeys_load_source
3530
3531
def obs_hotkey_pair_load(id: 'obs_hotkey_pair_id', data0: 'obs_data_array_t *', data1: 'obs_data_array_t *') -> "void":
3532
    return _obspython.obs_hotkey_pair_load(id, data0, data1)
3533
obs_hotkey_pair_load = _obspython.obs_hotkey_pair_load
3534
3535
def obs_hotkey_save(id: 'obs_hotkey_id') -> "obs_data_array_t *":
3536
    return _obspython.obs_hotkey_save(id)
3537
obs_hotkey_save = _obspython.obs_hotkey_save
3538
3539
def obs_hotkey_pair_save(id: 'obs_hotkey_pair_id', p_data0: 'obs_data_array_t **', p_data1: 'obs_data_array_t **') -> "void":
3540
    return _obspython.obs_hotkey_pair_save(id, p_data0, p_data1)
3541
obs_hotkey_pair_save = _obspython.obs_hotkey_pair_save
3542
3543
def obs_hotkeys_save_encoder(encoder: 'obs_encoder_t *') -> "obs_data_t *":
3544
    return _obspython.obs_hotkeys_save_encoder(encoder)
3545
obs_hotkeys_save_encoder = _obspython.obs_hotkeys_save_encoder
3546
3547
def obs_hotkeys_save_output(output: 'obs_output_t *') -> "obs_data_t *":
3548
    return _obspython.obs_hotkeys_save_output(output)
3549
obs_hotkeys_save_output = _obspython.obs_hotkeys_save_output
3550
3551
def obs_hotkeys_save_service(service: 'obs_service_t *') -> "obs_data_t *":
3552
    return _obspython.obs_hotkeys_save_service(service)
3553
obs_hotkeys_save_service = _obspython.obs_hotkeys_save_service
3554
3555
def obs_hotkeys_save_source(source: 'obs_source_t *') -> "obs_data_t *":
3556
    return _obspython.obs_hotkeys_save_source(source)
3557
obs_hotkeys_save_source = _obspython.obs_hotkeys_save_source
3558
3559
def obs_enum_hotkeys(func: 'obs_hotkey_enum_func', data: 'void *') -> "void":
3560
    return _obspython.obs_enum_hotkeys(func, data)
3561
obs_enum_hotkeys = _obspython.obs_enum_hotkeys
3562
3563
def obs_enum_hotkey_bindings(func: 'obs_hotkey_binding_enum_func', data: 'void *') -> "void":
3564
    return _obspython.obs_enum_hotkey_bindings(func, data)
3565
obs_enum_hotkey_bindings = _obspython.obs_enum_hotkey_bindings
3566
3567
def obs_hotkey_inject_event(hotkey: 'obs_key_combination', pressed: 'bool') -> "void":
3568
    return _obspython.obs_hotkey_inject_event(hotkey, pressed)
3569
obs_hotkey_inject_event = _obspython.obs_hotkey_inject_event
3570
3571
def obs_hotkey_enable_background_press(enable: 'bool') -> "void":
3572
    return _obspython.obs_hotkey_enable_background_press(enable)
3573
obs_hotkey_enable_background_press = _obspython.obs_hotkey_enable_background_press
3574
3575
def obs_hotkey_enable_strict_modifiers(enable: 'bool') -> "void":
3576
    return _obspython.obs_hotkey_enable_strict_modifiers(enable)
3577
obs_hotkey_enable_strict_modifiers = _obspython.obs_hotkey_enable_strict_modifiers
3578
3579
def obs_hotkey_set_callback_routing_func(func: 'obs_hotkey_callback_router_func', data: 'void *') -> "void":
3580
    return _obspython.obs_hotkey_set_callback_routing_func(func, data)
3581
obs_hotkey_set_callback_routing_func = _obspython.obs_hotkey_set_callback_routing_func
3582
3583
def obs_hotkey_trigger_routed_callback(id: 'obs_hotkey_id', pressed: 'bool') -> "void":
3584
    return _obspython.obs_hotkey_trigger_routed_callback(id, pressed)
3585
obs_hotkey_trigger_routed_callback = _obspython.obs_hotkey_trigger_routed_callback
3586
3587
def obs_hotkey_enable_callback_rerouting(enable: 'bool') -> "void":
3588
    return _obspython.obs_hotkey_enable_callback_rerouting(enable)
3589
obs_hotkey_enable_callback_rerouting = _obspython.obs_hotkey_enable_callback_rerouting
3590
3591
def obs_hotkey_update_atomic(func: 'obs_hotkey_atomic_update_func', data: 'void *') -> "void":
3592
    return _obspython.obs_hotkey_update_atomic(func, data)
3593
obs_hotkey_update_atomic = _obspython.obs_hotkey_update_atomic
3594
3595
def obs_key_to_str(key: 'obs_key_t', str: 'struct dstr *') -> "void":
3596
    return _obspython.obs_key_to_str(key, str)
3597
obs_key_to_str = _obspython.obs_key_to_str
3598
3599
def obs_key_combination_to_str(key: 'obs_key_combination', str: 'struct dstr *') -> "void":
3600
    return _obspython.obs_key_combination_to_str(key, str)
3601
obs_key_combination_to_str = _obspython.obs_key_combination_to_str
3602
3603
def obs_key_from_virtual_key(code: 'int') -> "obs_key_t":
3604
    return _obspython.obs_key_from_virtual_key(code)
3605
obs_key_from_virtual_key = _obspython.obs_key_from_virtual_key
3606
3607
def obs_key_to_virtual_key(key: 'obs_key_t') -> "int":
3608
    return _obspython.obs_key_to_virtual_key(key)
3609
obs_key_to_virtual_key = _obspython.obs_key_to_virtual_key
3610
3611
def obs_key_to_name(key: 'obs_key_t') -> "char const *":
3612
    return _obspython.obs_key_to_name(key)
3613
obs_key_to_name = _obspython.obs_key_to_name
3614
3615
def obs_key_from_name(name: 'char const *') -> "obs_key_t":
3616
    return _obspython.obs_key_from_name(name)
3617
obs_key_from_name = _obspython.obs_key_from_name
3618
3619
def obs_key_combination_is_empty(combo: 'obs_key_combination') -> "bool":
3620
    return _obspython.obs_key_combination_is_empty(combo)
3621
obs_key_combination_is_empty = _obspython.obs_key_combination_is_empty
3622
OBS_ORDER_MOVE_UP = _obspython.OBS_ORDER_MOVE_UP
3623
OBS_ORDER_MOVE_DOWN = _obspython.OBS_ORDER_MOVE_DOWN
3624
OBS_ORDER_MOVE_TOP = _obspython.OBS_ORDER_MOVE_TOP
3625
OBS_ORDER_MOVE_BOTTOM = _obspython.OBS_ORDER_MOVE_BOTTOM
3626
OBS_NO_DIRECT_RENDERING = _obspython.OBS_NO_DIRECT_RENDERING
3627
OBS_ALLOW_DIRECT_RENDERING = _obspython.OBS_ALLOW_DIRECT_RENDERING
3628
OBS_SCALE_DISABLE = _obspython.OBS_SCALE_DISABLE
3629
OBS_SCALE_POINT = _obspython.OBS_SCALE_POINT
3630
OBS_SCALE_BICUBIC = _obspython.OBS_SCALE_BICUBIC
3631
OBS_SCALE_BILINEAR = _obspython.OBS_SCALE_BILINEAR
3632
OBS_SCALE_LANCZOS = _obspython.OBS_SCALE_LANCZOS
3633
OBS_SCALE_AREA = _obspython.OBS_SCALE_AREA
3634
OBS_BOUNDS_NONE = _obspython.OBS_BOUNDS_NONE
3635
OBS_BOUNDS_STRETCH = _obspython.OBS_BOUNDS_STRETCH
3636
OBS_BOUNDS_SCALE_INNER = _obspython.OBS_BOUNDS_SCALE_INNER
3637
OBS_BOUNDS_SCALE_OUTER = _obspython.OBS_BOUNDS_SCALE_OUTER
3638
OBS_BOUNDS_SCALE_TO_WIDTH = _obspython.OBS_BOUNDS_SCALE_TO_WIDTH
3639
OBS_BOUNDS_SCALE_TO_HEIGHT = _obspython.OBS_BOUNDS_SCALE_TO_HEIGHT
3640
OBS_BOUNDS_MAX_ONLY = _obspython.OBS_BOUNDS_MAX_ONLY
3641
class obs_transform_info(_object):
3642
    __swig_setmethods__ = {}
3643
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_transform_info, name, value)
3644
    __swig_getmethods__ = {}
3645
    __getattr__ = lambda self, name: _swig_getattr(self, obs_transform_info, name)
3646
    __repr__ = _swig_repr
3647
    __swig_setmethods__["pos"] = _obspython.obs_transform_info_pos_set
3648
    __swig_getmethods__["pos"] = _obspython.obs_transform_info_pos_get
3649
    if _newclass:
3650
        pos = _swig_property(_obspython.obs_transform_info_pos_get, _obspython.obs_transform_info_pos_set)
3651
    __swig_setmethods__["rot"] = _obspython.obs_transform_info_rot_set
3652
    __swig_getmethods__["rot"] = _obspython.obs_transform_info_rot_get
3653
    if _newclass:
3654
        rot = _swig_property(_obspython.obs_transform_info_rot_get, _obspython.obs_transform_info_rot_set)
3655
    __swig_setmethods__["scale"] = _obspython.obs_transform_info_scale_set
3656
    __swig_getmethods__["scale"] = _obspython.obs_transform_info_scale_get
3657
    if _newclass:
3658
        scale = _swig_property(_obspython.obs_transform_info_scale_get, _obspython.obs_transform_info_scale_set)
3659
    __swig_setmethods__["alignment"] = _obspython.obs_transform_info_alignment_set
3660
    __swig_getmethods__["alignment"] = _obspython.obs_transform_info_alignment_get
3661
    if _newclass:
3662
        alignment = _swig_property(_obspython.obs_transform_info_alignment_get, _obspython.obs_transform_info_alignment_set)
3663
    __swig_setmethods__["bounds_type"] = _obspython.obs_transform_info_bounds_type_set
3664
    __swig_getmethods__["bounds_type"] = _obspython.obs_transform_info_bounds_type_get
3665
    if _newclass:
3666
        bounds_type = _swig_property(_obspython.obs_transform_info_bounds_type_get, _obspython.obs_transform_info_bounds_type_set)
3667
    __swig_setmethods__["bounds_alignment"] = _obspython.obs_transform_info_bounds_alignment_set
3668
    __swig_getmethods__["bounds_alignment"] = _obspython.obs_transform_info_bounds_alignment_get
3669
    if _newclass:
3670
        bounds_alignment = _swig_property(_obspython.obs_transform_info_bounds_alignment_get, _obspython.obs_transform_info_bounds_alignment_set)
3671
    __swig_setmethods__["bounds"] = _obspython.obs_transform_info_bounds_set
3672
    __swig_getmethods__["bounds"] = _obspython.obs_transform_info_bounds_get
3673
    if _newclass:
3674
        bounds = _swig_property(_obspython.obs_transform_info_bounds_get, _obspython.obs_transform_info_bounds_set)
3675
3676
    def __init__(self):
3677
        this = _obspython.new_obs_transform_info()
3678
        try:
3679
            self.this.append(this)
3680
        except __builtin__.Exception:
3681
            self.this = this
3682
    __swig_destroy__ = _obspython.delete_obs_transform_info
3683
    __del__ = lambda self: None
3684
obs_transform_info_swigregister = _obspython.obs_transform_info_swigregister
3685
obs_transform_info_swigregister(obs_transform_info)
3686
3687
class obs_video_info(_object):
3688
    __swig_setmethods__ = {}
3689
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_video_info, name, value)
3690
    __swig_getmethods__ = {}
3691
    __getattr__ = lambda self, name: _swig_getattr(self, obs_video_info, name)
3692
    __repr__ = _swig_repr
3693
    __swig_setmethods__["fps_num"] = _obspython.obs_video_info_fps_num_set
3694
    __swig_getmethods__["fps_num"] = _obspython.obs_video_info_fps_num_get
3695
    if _newclass:
3696
        fps_num = _swig_property(_obspython.obs_video_info_fps_num_get, _obspython.obs_video_info_fps_num_set)
3697
    __swig_setmethods__["fps_den"] = _obspython.obs_video_info_fps_den_set
3698
    __swig_getmethods__["fps_den"] = _obspython.obs_video_info_fps_den_get
3699
    if _newclass:
3700
        fps_den = _swig_property(_obspython.obs_video_info_fps_den_get, _obspython.obs_video_info_fps_den_set)
3701
    __swig_setmethods__["base_width"] = _obspython.obs_video_info_base_width_set
3702
    __swig_getmethods__["base_width"] = _obspython.obs_video_info_base_width_get
3703
    if _newclass:
3704
        base_width = _swig_property(_obspython.obs_video_info_base_width_get, _obspython.obs_video_info_base_width_set)
3705
    __swig_setmethods__["base_height"] = _obspython.obs_video_info_base_height_set
3706
    __swig_getmethods__["base_height"] = _obspython.obs_video_info_base_height_get
3707
    if _newclass:
3708
        base_height = _swig_property(_obspython.obs_video_info_base_height_get, _obspython.obs_video_info_base_height_set)
3709
    __swig_setmethods__["output_width"] = _obspython.obs_video_info_output_width_set
3710
    __swig_getmethods__["output_width"] = _obspython.obs_video_info_output_width_get
3711
    if _newclass:
3712
        output_width = _swig_property(_obspython.obs_video_info_output_width_get, _obspython.obs_video_info_output_width_set)
3713
    __swig_setmethods__["output_height"] = _obspython.obs_video_info_output_height_set
3714
    __swig_getmethods__["output_height"] = _obspython.obs_video_info_output_height_get
3715
    if _newclass:
3716
        output_height = _swig_property(_obspython.obs_video_info_output_height_get, _obspython.obs_video_info_output_height_set)
3717
    __swig_setmethods__["output_format"] = _obspython.obs_video_info_output_format_set
3718
    __swig_getmethods__["output_format"] = _obspython.obs_video_info_output_format_get
3719
    if _newclass:
3720
        output_format = _swig_property(_obspython.obs_video_info_output_format_get, _obspython.obs_video_info_output_format_set)
3721
    __swig_setmethods__["adapter"] = _obspython.obs_video_info_adapter_set
3722
    __swig_getmethods__["adapter"] = _obspython.obs_video_info_adapter_get
3723
    if _newclass:
3724
        adapter = _swig_property(_obspython.obs_video_info_adapter_get, _obspython.obs_video_info_adapter_set)
3725
    __swig_setmethods__["gpu_conversion"] = _obspython.obs_video_info_gpu_conversion_set
3726
    __swig_getmethods__["gpu_conversion"] = _obspython.obs_video_info_gpu_conversion_get
3727
    if _newclass:
3728
        gpu_conversion = _swig_property(_obspython.obs_video_info_gpu_conversion_get, _obspython.obs_video_info_gpu_conversion_set)
3729
    __swig_setmethods__["colorspace"] = _obspython.obs_video_info_colorspace_set
3730
    __swig_getmethods__["colorspace"] = _obspython.obs_video_info_colorspace_get
3731
    if _newclass:
3732
        colorspace = _swig_property(_obspython.obs_video_info_colorspace_get, _obspython.obs_video_info_colorspace_set)
3733
    __swig_setmethods__["range"] = _obspython.obs_video_info_range_set
3734
    __swig_getmethods__["range"] = _obspython.obs_video_info_range_get
3735
    if _newclass:
3736
        range = _swig_property(_obspython.obs_video_info_range_get, _obspython.obs_video_info_range_set)
3737
    __swig_setmethods__["scale_type"] = _obspython.obs_video_info_scale_type_set
3738
    __swig_getmethods__["scale_type"] = _obspython.obs_video_info_scale_type_get
3739
    if _newclass:
3740
        scale_type = _swig_property(_obspython.obs_video_info_scale_type_get, _obspython.obs_video_info_scale_type_set)
3741
3742
    def __init__(self):
3743
        this = _obspython.new_obs_video_info()
3744
        try:
3745
            self.this.append(this)
3746
        except __builtin__.Exception:
3747
            self.this = this
3748
    __swig_destroy__ = _obspython.delete_obs_video_info
3749
    __del__ = lambda self: None
3750
obs_video_info_swigregister = _obspython.obs_video_info_swigregister
3751
obs_video_info_swigregister(obs_video_info)
3752
3753
class obs_audio_info(_object):
3754
    __swig_setmethods__ = {}
3755
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_audio_info, name, value)
3756
    __swig_getmethods__ = {}
3757
    __getattr__ = lambda self, name: _swig_getattr(self, obs_audio_info, name)
3758
    __repr__ = _swig_repr
3759
    __swig_setmethods__["samples_per_sec"] = _obspython.obs_audio_info_samples_per_sec_set
3760
    __swig_getmethods__["samples_per_sec"] = _obspython.obs_audio_info_samples_per_sec_get
3761
    if _newclass:
3762
        samples_per_sec = _swig_property(_obspython.obs_audio_info_samples_per_sec_get, _obspython.obs_audio_info_samples_per_sec_set)
3763
    __swig_setmethods__["speakers"] = _obspython.obs_audio_info_speakers_set
3764
    __swig_getmethods__["speakers"] = _obspython.obs_audio_info_speakers_get
3765
    if _newclass:
3766
        speakers = _swig_property(_obspython.obs_audio_info_speakers_get, _obspython.obs_audio_info_speakers_set)
3767
3768
    def __init__(self):
3769
        this = _obspython.new_obs_audio_info()
3770
        try:
3771
            self.this.append(this)
3772
        except __builtin__.Exception:
3773
            self.this = this
3774
    __swig_destroy__ = _obspython.delete_obs_audio_info
3775
    __del__ = lambda self: None
3776
obs_audio_info_swigregister = _obspython.obs_audio_info_swigregister
3777
obs_audio_info_swigregister(obs_audio_info)
3778
3779
class obs_audio_data(_object):
3780
    __swig_setmethods__ = {}
3781
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_audio_data, name, value)
3782
    __swig_getmethods__ = {}
3783
    __getattr__ = lambda self, name: _swig_getattr(self, obs_audio_data, name)
3784
    __repr__ = _swig_repr
3785
    __swig_setmethods__["data"] = _obspython.obs_audio_data_data_set
3786
    __swig_getmethods__["data"] = _obspython.obs_audio_data_data_get
3787
    if _newclass:
3788
        data = _swig_property(_obspython.obs_audio_data_data_get, _obspython.obs_audio_data_data_set)
3789
    __swig_setmethods__["frames"] = _obspython.obs_audio_data_frames_set
3790
    __swig_getmethods__["frames"] = _obspython.obs_audio_data_frames_get
3791
    if _newclass:
3792
        frames = _swig_property(_obspython.obs_audio_data_frames_get, _obspython.obs_audio_data_frames_set)
3793
    __swig_setmethods__["timestamp"] = _obspython.obs_audio_data_timestamp_set
3794
    __swig_getmethods__["timestamp"] = _obspython.obs_audio_data_timestamp_get
3795
    if _newclass:
3796
        timestamp = _swig_property(_obspython.obs_audio_data_timestamp_get, _obspython.obs_audio_data_timestamp_set)
3797
3798
    def __init__(self):
3799
        this = _obspython.new_obs_audio_data()
3800
        try:
3801
            self.this.append(this)
3802
        except __builtin__.Exception:
3803
            self.this = this
3804
    __swig_destroy__ = _obspython.delete_obs_audio_data
3805
    __del__ = lambda self: None
3806
obs_audio_data_swigregister = _obspython.obs_audio_data_swigregister
3807
obs_audio_data_swigregister(obs_audio_data)
3808
3809
class obs_source_audio(_object):
3810
    __swig_setmethods__ = {}
3811
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_source_audio, name, value)
3812
    __swig_getmethods__ = {}
3813
    __getattr__ = lambda self, name: _swig_getattr(self, obs_source_audio, name)
3814
    __repr__ = _swig_repr
3815
    __swig_setmethods__["data"] = _obspython.obs_source_audio_data_set
3816
    __swig_getmethods__["data"] = _obspython.obs_source_audio_data_get
3817
    if _newclass:
3818
        data = _swig_property(_obspython.obs_source_audio_data_get, _obspython.obs_source_audio_data_set)
3819
    __swig_setmethods__["frames"] = _obspython.obs_source_audio_frames_set
3820
    __swig_getmethods__["frames"] = _obspython.obs_source_audio_frames_get
3821
    if _newclass:
3822
        frames = _swig_property(_obspython.obs_source_audio_frames_get, _obspython.obs_source_audio_frames_set)
3823
    __swig_setmethods__["speakers"] = _obspython.obs_source_audio_speakers_set
3824
    __swig_getmethods__["speakers"] = _obspython.obs_source_audio_speakers_get
3825
    if _newclass:
3826
        speakers = _swig_property(_obspython.obs_source_audio_speakers_get, _obspython.obs_source_audio_speakers_set)
3827
    __swig_setmethods__["format"] = _obspython.obs_source_audio_format_set
3828
    __swig_getmethods__["format"] = _obspython.obs_source_audio_format_get
3829
    if _newclass:
3830
        format = _swig_property(_obspython.obs_source_audio_format_get, _obspython.obs_source_audio_format_set)
3831
    __swig_setmethods__["samples_per_sec"] = _obspython.obs_source_audio_samples_per_sec_set
3832
    __swig_getmethods__["samples_per_sec"] = _obspython.obs_source_audio_samples_per_sec_get
3833
    if _newclass:
3834
        samples_per_sec = _swig_property(_obspython.obs_source_audio_samples_per_sec_get, _obspython.obs_source_audio_samples_per_sec_set)
3835
    __swig_setmethods__["timestamp"] = _obspython.obs_source_audio_timestamp_set
3836
    __swig_getmethods__["timestamp"] = _obspython.obs_source_audio_timestamp_get
3837
    if _newclass:
3838
        timestamp = _swig_property(_obspython.obs_source_audio_timestamp_get, _obspython.obs_source_audio_timestamp_set)
3839
3840
    def __init__(self):
3841
        this = _obspython.new_obs_source_audio()
3842
        try:
3843
            self.this.append(this)
3844
        except __builtin__.Exception:
3845
            self.this = this
3846
    __swig_destroy__ = _obspython.delete_obs_source_audio
3847
    __del__ = lambda self: None
3848
obs_source_audio_swigregister = _obspython.obs_source_audio_swigregister
3849
obs_source_audio_swigregister(obs_source_audio)
3850
3851
class obs_source_frame(_object):
3852
    __swig_setmethods__ = {}
3853
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_source_frame, name, value)
3854
    __swig_getmethods__ = {}
3855
    __getattr__ = lambda self, name: _swig_getattr(self, obs_source_frame, name)
3856
    __repr__ = _swig_repr
3857
    __swig_setmethods__["data"] = _obspython.obs_source_frame_data_set
3858
    __swig_getmethods__["data"] = _obspython.obs_source_frame_data_get
3859
    if _newclass:
3860
        data = _swig_property(_obspython.obs_source_frame_data_get, _obspython.obs_source_frame_data_set)
3861
    __swig_setmethods__["linesize"] = _obspython.obs_source_frame_linesize_set
3862
    __swig_getmethods__["linesize"] = _obspython.obs_source_frame_linesize_get
3863
    if _newclass:
3864
        linesize = _swig_property(_obspython.obs_source_frame_linesize_get, _obspython.obs_source_frame_linesize_set)
3865
    __swig_setmethods__["width"] = _obspython.obs_source_frame_width_set
3866
    __swig_getmethods__["width"] = _obspython.obs_source_frame_width_get
3867
    if _newclass:
3868
        width = _swig_property(_obspython.obs_source_frame_width_get, _obspython.obs_source_frame_width_set)
3869
    __swig_setmethods__["height"] = _obspython.obs_source_frame_height_set
3870
    __swig_getmethods__["height"] = _obspython.obs_source_frame_height_get
3871
    if _newclass:
3872
        height = _swig_property(_obspython.obs_source_frame_height_get, _obspython.obs_source_frame_height_set)
3873
    __swig_setmethods__["timestamp"] = _obspython.obs_source_frame_timestamp_set
3874
    __swig_getmethods__["timestamp"] = _obspython.obs_source_frame_timestamp_get
3875
    if _newclass:
3876
        timestamp = _swig_property(_obspython.obs_source_frame_timestamp_get, _obspython.obs_source_frame_timestamp_set)
3877
    __swig_setmethods__["format"] = _obspython.obs_source_frame_format_set
3878
    __swig_getmethods__["format"] = _obspython.obs_source_frame_format_get
3879
    if _newclass:
3880
        format = _swig_property(_obspython.obs_source_frame_format_get, _obspython.obs_source_frame_format_set)
3881
    __swig_setmethods__["color_matrix"] = _obspython.obs_source_frame_color_matrix_set
3882
    __swig_getmethods__["color_matrix"] = _obspython.obs_source_frame_color_matrix_get
3883
    if _newclass:
3884
        color_matrix = _swig_property(_obspython.obs_source_frame_color_matrix_get, _obspython.obs_source_frame_color_matrix_set)
3885
    __swig_setmethods__["full_range"] = _obspython.obs_source_frame_full_range_set
3886
    __swig_getmethods__["full_range"] = _obspython.obs_source_frame_full_range_get
3887
    if _newclass:
3888
        full_range = _swig_property(_obspython.obs_source_frame_full_range_get, _obspython.obs_source_frame_full_range_set)
3889
    __swig_setmethods__["color_range_min"] = _obspython.obs_source_frame_color_range_min_set
3890
    __swig_getmethods__["color_range_min"] = _obspython.obs_source_frame_color_range_min_get
3891
    if _newclass:
3892
        color_range_min = _swig_property(_obspython.obs_source_frame_color_range_min_get, _obspython.obs_source_frame_color_range_min_set)
3893
    __swig_setmethods__["color_range_max"] = _obspython.obs_source_frame_color_range_max_set
3894
    __swig_getmethods__["color_range_max"] = _obspython.obs_source_frame_color_range_max_get
3895
    if _newclass:
3896
        color_range_max = _swig_property(_obspython.obs_source_frame_color_range_max_get, _obspython.obs_source_frame_color_range_max_set)
3897
    __swig_setmethods__["flip"] = _obspython.obs_source_frame_flip_set
3898
    __swig_getmethods__["flip"] = _obspython.obs_source_frame_flip_get
3899
    if _newclass:
3900
        flip = _swig_property(_obspython.obs_source_frame_flip_get, _obspython.obs_source_frame_flip_set)
3901
    __swig_setmethods__["refs"] = _obspython.obs_source_frame_refs_set
3902
    __swig_getmethods__["refs"] = _obspython.obs_source_frame_refs_get
3903
    if _newclass:
3904
        refs = _swig_property(_obspython.obs_source_frame_refs_get, _obspython.obs_source_frame_refs_set)
3905
    __swig_setmethods__["prev_frame"] = _obspython.obs_source_frame_prev_frame_set
3906
    __swig_getmethods__["prev_frame"] = _obspython.obs_source_frame_prev_frame_get
3907
    if _newclass:
3908
        prev_frame = _swig_property(_obspython.obs_source_frame_prev_frame_get, _obspython.obs_source_frame_prev_frame_set)
3909
3910
    def __init__(self):
3911
        this = _obspython.new_obs_source_frame()
3912
        try:
3913
            self.this.append(this)
3914
        except __builtin__.Exception:
3915
            self.this = this
3916
    __swig_destroy__ = _obspython.delete_obs_source_frame
3917
    __del__ = lambda self: None
3918
obs_source_frame_swigregister = _obspython.obs_source_frame_swigregister
3919
obs_source_frame_swigregister(obs_source_frame)
3920
3921
class obs_source_frame2(_object):
3922
    __swig_setmethods__ = {}
3923
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_source_frame2, name, value)
3924
    __swig_getmethods__ = {}
3925
    __getattr__ = lambda self, name: _swig_getattr(self, obs_source_frame2, name)
3926
    __repr__ = _swig_repr
3927
    __swig_setmethods__["data"] = _obspython.obs_source_frame2_data_set
3928
    __swig_getmethods__["data"] = _obspython.obs_source_frame2_data_get
3929
    if _newclass:
3930
        data = _swig_property(_obspython.obs_source_frame2_data_get, _obspython.obs_source_frame2_data_set)
3931
    __swig_setmethods__["linesize"] = _obspython.obs_source_frame2_linesize_set
3932
    __swig_getmethods__["linesize"] = _obspython.obs_source_frame2_linesize_get
3933
    if _newclass:
3934
        linesize = _swig_property(_obspython.obs_source_frame2_linesize_get, _obspython.obs_source_frame2_linesize_set)
3935
    __swig_setmethods__["width"] = _obspython.obs_source_frame2_width_set
3936
    __swig_getmethods__["width"] = _obspython.obs_source_frame2_width_get
3937
    if _newclass:
3938
        width = _swig_property(_obspython.obs_source_frame2_width_get, _obspython.obs_source_frame2_width_set)
3939
    __swig_setmethods__["height"] = _obspython.obs_source_frame2_height_set
3940
    __swig_getmethods__["height"] = _obspython.obs_source_frame2_height_get
3941
    if _newclass:
3942
        height = _swig_property(_obspython.obs_source_frame2_height_get, _obspython.obs_source_frame2_height_set)
3943
    __swig_setmethods__["timestamp"] = _obspython.obs_source_frame2_timestamp_set
3944
    __swig_getmethods__["timestamp"] = _obspython.obs_source_frame2_timestamp_get
3945
    if _newclass:
3946
        timestamp = _swig_property(_obspython.obs_source_frame2_timestamp_get, _obspython.obs_source_frame2_timestamp_set)
3947
    __swig_setmethods__["format"] = _obspython.obs_source_frame2_format_set
3948
    __swig_getmethods__["format"] = _obspython.obs_source_frame2_format_get
3949
    if _newclass:
3950
        format = _swig_property(_obspython.obs_source_frame2_format_get, _obspython.obs_source_frame2_format_set)
3951
    __swig_setmethods__["range"] = _obspython.obs_source_frame2_range_set
3952
    __swig_getmethods__["range"] = _obspython.obs_source_frame2_range_get
3953
    if _newclass:
3954
        range = _swig_property(_obspython.obs_source_frame2_range_get, _obspython.obs_source_frame2_range_set)
3955
    __swig_setmethods__["color_matrix"] = _obspython.obs_source_frame2_color_matrix_set
3956
    __swig_getmethods__["color_matrix"] = _obspython.obs_source_frame2_color_matrix_get
3957
    if _newclass:
3958
        color_matrix = _swig_property(_obspython.obs_source_frame2_color_matrix_get, _obspython.obs_source_frame2_color_matrix_set)
3959
    __swig_setmethods__["color_range_min"] = _obspython.obs_source_frame2_color_range_min_set
3960
    __swig_getmethods__["color_range_min"] = _obspython.obs_source_frame2_color_range_min_get
3961
    if _newclass:
3962
        color_range_min = _swig_property(_obspython.obs_source_frame2_color_range_min_get, _obspython.obs_source_frame2_color_range_min_set)
3963
    __swig_setmethods__["color_range_max"] = _obspython.obs_source_frame2_color_range_max_set
3964
    __swig_getmethods__["color_range_max"] = _obspython.obs_source_frame2_color_range_max_get
3965
    if _newclass:
3966
        color_range_max = _swig_property(_obspython.obs_source_frame2_color_range_max_get, _obspython.obs_source_frame2_color_range_max_set)
3967
    __swig_setmethods__["flip"] = _obspython.obs_source_frame2_flip_set
3968
    __swig_getmethods__["flip"] = _obspython.obs_source_frame2_flip_get
3969
    if _newclass:
3970
        flip = _swig_property(_obspython.obs_source_frame2_flip_get, _obspython.obs_source_frame2_flip_set)
3971
3972
    def __init__(self):
3973
        this = _obspython.new_obs_source_frame2()
3974
        try:
3975
            self.this.append(this)
3976
        except __builtin__.Exception:
3977
            self.this = this
3978
    __swig_destroy__ = _obspython.delete_obs_source_frame2
3979
    __del__ = lambda self: None
3980
obs_source_frame2_swigregister = _obspython.obs_source_frame2_swigregister
3981
obs_source_frame2_swigregister(obs_source_frame2)
3982
3983
class obs_cmdline_args(_object):
3984
    __swig_setmethods__ = {}
3985
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_cmdline_args, name, value)
3986
    __swig_getmethods__ = {}
3987
    __getattr__ = lambda self, name: _swig_getattr(self, obs_cmdline_args, name)
3988
    __repr__ = _swig_repr
3989
    __swig_setmethods__["argc"] = _obspython.obs_cmdline_args_argc_set
3990
    __swig_getmethods__["argc"] = _obspython.obs_cmdline_args_argc_get
3991
    if _newclass:
3992
        argc = _swig_property(_obspython.obs_cmdline_args_argc_get, _obspython.obs_cmdline_args_argc_set)
3993
    __swig_setmethods__["argv"] = _obspython.obs_cmdline_args_argv_set
3994
    __swig_getmethods__["argv"] = _obspython.obs_cmdline_args_argv_get
3995
    if _newclass:
3996
        argv = _swig_property(_obspython.obs_cmdline_args_argv_get, _obspython.obs_cmdline_args_argv_set)
3997
3998
    def __init__(self):
3999
        this = _obspython.new_obs_cmdline_args()
4000
        try:
4001
            self.this.append(this)
4002
        except __builtin__.Exception:
4003
            self.this = this
4004
    __swig_destroy__ = _obspython.delete_obs_cmdline_args
4005
    __del__ = lambda self: None
4006
obs_cmdline_args_swigregister = _obspython.obs_cmdline_args_swigregister
4007
obs_cmdline_args_swigregister(obs_cmdline_args)
4008
4009
4010
def obs_find_data_file(file: 'char const *') -> "char *":
4011
    return _obspython.obs_find_data_file(file)
4012
obs_find_data_file = _obspython.obs_find_data_file
4013
4014
def obs_add_data_path(path: 'char const *') -> "void":
4015
    return _obspython.obs_add_data_path(path)
4016
obs_add_data_path = _obspython.obs_add_data_path
4017
4018
def obs_remove_data_path(path: 'char const *') -> "bool":
4019
    return _obspython.obs_remove_data_path(path)
4020
obs_remove_data_path = _obspython.obs_remove_data_path
4021
4022
def obs_startup(locale: 'char const *', module_config_path: 'char const *', store: 'profiler_name_store_t *') -> "bool":
4023
    return _obspython.obs_startup(locale, module_config_path, store)
4024
obs_startup = _obspython.obs_startup
4025
4026
def obs_shutdown() -> "void":
4027
    return _obspython.obs_shutdown()
4028
obs_shutdown = _obspython.obs_shutdown
4029
4030
def obs_initialized() -> "bool":
4031
    return _obspython.obs_initialized()
4032
obs_initialized = _obspython.obs_initialized
4033
4034
def obs_get_version() -> "uint32_t":
4035
    return _obspython.obs_get_version()
4036
obs_get_version = _obspython.obs_get_version
4037
4038
def obs_get_version_string() -> "char const *":
4039
    return _obspython.obs_get_version_string()
4040
obs_get_version_string = _obspython.obs_get_version_string
4041
4042
def obs_set_cmdline_args(argc: 'int', argv: 'char const *const *') -> "void":
4043
    return _obspython.obs_set_cmdline_args(argc, argv)
4044
obs_set_cmdline_args = _obspython.obs_set_cmdline_args
4045
4046
def obs_get_cmdline_args() -> "struct obs_cmdline_args":
4047
    return _obspython.obs_get_cmdline_args()
4048
obs_get_cmdline_args = _obspython.obs_get_cmdline_args
4049
4050
def obs_set_locale(locale: 'char const *') -> "void":
4051
    return _obspython.obs_set_locale(locale)
4052
obs_set_locale = _obspython.obs_set_locale
4053
4054
def obs_get_locale() -> "char const *":
4055
    return _obspython.obs_get_locale()
4056
obs_get_locale = _obspython.obs_get_locale
4057
4058
def obs_get_profiler_name_store() -> "profiler_name_store_t *":
4059
    return _obspython.obs_get_profiler_name_store()
4060
obs_get_profiler_name_store = _obspython.obs_get_profiler_name_store
4061
4062
def obs_reset_video(ovi: 'obs_video_info') -> "int":
4063
    return _obspython.obs_reset_video(ovi)
4064
obs_reset_video = _obspython.obs_reset_video
4065
4066
def obs_reset_audio(oai: 'obs_audio_info') -> "bool":
4067
    return _obspython.obs_reset_audio(oai)
4068
obs_reset_audio = _obspython.obs_reset_audio
4069
4070
def obs_get_video_info(ovi: 'obs_video_info') -> "bool":
4071
    return _obspython.obs_get_video_info(ovi)
4072
obs_get_video_info = _obspython.obs_get_video_info
4073
4074
def obs_get_audio_info(oai: 'obs_audio_info') -> "bool":
4075
    return _obspython.obs_get_audio_info(oai)
4076
obs_get_audio_info = _obspython.obs_get_audio_info
4077
4078
def obs_open_module(module: 'obs_module_t **', path: 'char const *', data_path: 'char const *') -> "int":
4079
    return _obspython.obs_open_module(module, path, data_path)
4080
obs_open_module = _obspython.obs_open_module
4081
4082
def obs_init_module(module: 'obs_module_t *') -> "bool":
4083
    return _obspython.obs_init_module(module)
4084
obs_init_module = _obspython.obs_init_module
4085
4086
def obs_log_loaded_modules() -> "void":
4087
    return _obspython.obs_log_loaded_modules()
4088
obs_log_loaded_modules = _obspython.obs_log_loaded_modules
4089
4090
def obs_get_module_file_name(module: 'obs_module_t *') -> "char const *":
4091
    return _obspython.obs_get_module_file_name(module)
4092
obs_get_module_file_name = _obspython.obs_get_module_file_name
4093
4094
def obs_get_module_name(module: 'obs_module_t *') -> "char const *":
4095
    return _obspython.obs_get_module_name(module)
4096
obs_get_module_name = _obspython.obs_get_module_name
4097
4098
def obs_get_module_author(module: 'obs_module_t *') -> "char const *":
4099
    return _obspython.obs_get_module_author(module)
4100
obs_get_module_author = _obspython.obs_get_module_author
4101
4102
def obs_get_module_description(module: 'obs_module_t *') -> "char const *":
4103
    return _obspython.obs_get_module_description(module)
4104
obs_get_module_description = _obspython.obs_get_module_description
4105
4106
def obs_get_module_binary_path(module: 'obs_module_t *') -> "char const *":
4107
    return _obspython.obs_get_module_binary_path(module)
4108
obs_get_module_binary_path = _obspython.obs_get_module_binary_path
4109
4110
def obs_get_module_data_path(module: 'obs_module_t *') -> "char const *":
4111
    return _obspython.obs_get_module_data_path(module)
4112
obs_get_module_data_path = _obspython.obs_get_module_data_path
4113
4114
def obs_add_module_path(bin: 'char const *', data: 'char const *') -> "void":
4115
    return _obspython.obs_add_module_path(bin, data)
4116
obs_add_module_path = _obspython.obs_add_module_path
4117
4118
def obs_load_all_modules() -> "void":
4119
    return _obspython.obs_load_all_modules()
4120
obs_load_all_modules = _obspython.obs_load_all_modules
4121
4122
def obs_post_load_modules() -> "void":
4123
    return _obspython.obs_post_load_modules()
4124
obs_post_load_modules = _obspython.obs_post_load_modules
4125
4126
def obs_enum_modules(callback: 'obs_enum_module_callback_t', param: 'void *') -> "void":
4127
    return _obspython.obs_enum_modules(callback, param)
4128
obs_enum_modules = _obspython.obs_enum_modules
4129
4130
def obs_module_load_locale(module: 'obs_module_t *', default_locale: 'char const *', locale: 'char const *') -> "lookup_t *":
4131
    return _obspython.obs_module_load_locale(module, default_locale, locale)
4132
obs_module_load_locale = _obspython.obs_module_load_locale
4133
4134
def obs_find_module_file(module: 'obs_module_t *', file: 'char const *') -> "char *":
4135
    return _obspython.obs_find_module_file(module, file)
4136
obs_find_module_file = _obspython.obs_find_module_file
4137
4138
def obs_module_get_config_path(module: 'obs_module_t *', file: 'char const *') -> "char *":
4139
    return _obspython.obs_module_get_config_path(module, file)
4140
obs_module_get_config_path = _obspython.obs_module_get_config_path
4141
4142
def obs_enum_source_types(idx: 'size_t', id: 'char const **') -> "bool":
4143
    return _obspython.obs_enum_source_types(idx, id)
4144
obs_enum_source_types = _obspython.obs_enum_source_types
4145
4146
def obs_enum_input_types(idx: 'size_t', id: 'char const **') -> "bool":
4147
    return _obspython.obs_enum_input_types(idx, id)
4148
obs_enum_input_types = _obspython.obs_enum_input_types
4149
4150
def obs_enum_input_types2(idx: 'size_t', id: 'char const **', unversioned_id: 'char const **') -> "bool":
4151
    return _obspython.obs_enum_input_types2(idx, id, unversioned_id)
4152
obs_enum_input_types2 = _obspython.obs_enum_input_types2
4153
4154
def obs_get_latest_input_type_id(unversioned_id: 'char const *') -> "char const *":
4155
    return _obspython.obs_get_latest_input_type_id(unversioned_id)
4156
obs_get_latest_input_type_id = _obspython.obs_get_latest_input_type_id
4157
4158
def obs_enum_filter_types(idx: 'size_t', id: 'char const **') -> "bool":
4159
    return _obspython.obs_enum_filter_types(idx, id)
4160
obs_enum_filter_types = _obspython.obs_enum_filter_types
4161
4162
def obs_enum_transition_types(idx: 'size_t', id: 'char const **') -> "bool":
4163
    return _obspython.obs_enum_transition_types(idx, id)
4164
obs_enum_transition_types = _obspython.obs_enum_transition_types
4165
4166
def obs_enum_output_types(idx: 'size_t', id: 'char const **') -> "bool":
4167
    return _obspython.obs_enum_output_types(idx, id)
4168
obs_enum_output_types = _obspython.obs_enum_output_types
4169
4170
def obs_enum_encoder_types(idx: 'size_t', id: 'char const **') -> "bool":
4171
    return _obspython.obs_enum_encoder_types(idx, id)
4172
obs_enum_encoder_types = _obspython.obs_enum_encoder_types
4173
4174
def obs_enum_service_types(idx: 'size_t', id: 'char const **') -> "bool":
4175
    return _obspython.obs_enum_service_types(idx, id)
4176
obs_enum_service_types = _obspython.obs_enum_service_types
4177
4178
def obs_enter_graphics() -> "void":
4179
    return _obspython.obs_enter_graphics()
4180
obs_enter_graphics = _obspython.obs_enter_graphics
4181
4182
def obs_leave_graphics() -> "void":
4183
    return _obspython.obs_leave_graphics()
4184
obs_leave_graphics = _obspython.obs_leave_graphics
4185
4186
def obs_get_audio() -> "audio_t *":
4187
    return _obspython.obs_get_audio()
4188
obs_get_audio = _obspython.obs_get_audio
4189
4190
def obs_get_video() -> "video_t *":
4191
    return _obspython.obs_get_video()
4192
obs_get_video = _obspython.obs_get_video
4193
4194
def obs_video_active() -> "bool":
4195
    return _obspython.obs_video_active()
4196
obs_video_active = _obspython.obs_video_active
4197
4198
def obs_set_output_source(channel: 'uint32_t', source: 'obs_source_t *') -> "void":
4199
    return _obspython.obs_set_output_source(channel, source)
4200
obs_set_output_source = _obspython.obs_set_output_source
4201
4202
def obs_get_output_source(channel: 'uint32_t') -> "obs_source_t *":
4203
    return _obspython.obs_get_output_source(channel)
4204
obs_get_output_source = _obspython.obs_get_output_source
4205
4206
def obs_enum_scenes(enum_proc: 'bool (*)(void *,obs_source_t *)', param: 'void *') -> "void":
4207
    return _obspython.obs_enum_scenes(enum_proc, param)
4208
obs_enum_scenes = _obspython.obs_enum_scenes
4209
4210
def obs_enum_outputs(enum_proc: 'bool (*)(void *,obs_output_t *)', param: 'void *') -> "void":
4211
    return _obspython.obs_enum_outputs(enum_proc, param)
4212
obs_enum_outputs = _obspython.obs_enum_outputs
4213
4214
def obs_enum_encoders(enum_proc: 'bool (*)(void *,obs_encoder_t *)', param: 'void *') -> "void":
4215
    return _obspython.obs_enum_encoders(enum_proc, param)
4216
obs_enum_encoders = _obspython.obs_enum_encoders
4217
4218
def obs_enum_services(enum_proc: 'bool (*)(void *,obs_service_t *)', param: 'void *') -> "void":
4219
    return _obspython.obs_enum_services(enum_proc, param)
4220
obs_enum_services = _obspython.obs_enum_services
4221
4222
def obs_get_source_by_name(name: 'char const *') -> "obs_source_t *":
4223
    return _obspython.obs_get_source_by_name(name)
4224
obs_get_source_by_name = _obspython.obs_get_source_by_name
4225
4226
def obs_get_output_by_name(name: 'char const *') -> "obs_output_t *":
4227
    return _obspython.obs_get_output_by_name(name)
4228
obs_get_output_by_name = _obspython.obs_get_output_by_name
4229
4230
def obs_get_encoder_by_name(name: 'char const *') -> "obs_encoder_t *":
4231
    return _obspython.obs_get_encoder_by_name(name)
4232
obs_get_encoder_by_name = _obspython.obs_get_encoder_by_name
4233
4234
def obs_get_service_by_name(name: 'char const *') -> "obs_service_t *":
4235
    return _obspython.obs_get_service_by_name(name)
4236
obs_get_service_by_name = _obspython.obs_get_service_by_name
4237
OBS_EFFECT_DEFAULT = _obspython.OBS_EFFECT_DEFAULT
4238
OBS_EFFECT_DEFAULT_RECT = _obspython.OBS_EFFECT_DEFAULT_RECT
4239
OBS_EFFECT_OPAQUE = _obspython.OBS_EFFECT_OPAQUE
4240
OBS_EFFECT_SOLID = _obspython.OBS_EFFECT_SOLID
4241
OBS_EFFECT_BICUBIC = _obspython.OBS_EFFECT_BICUBIC
4242
OBS_EFFECT_LANCZOS = _obspython.OBS_EFFECT_LANCZOS
4243
OBS_EFFECT_BILINEAR_LOWRES = _obspython.OBS_EFFECT_BILINEAR_LOWRES
4244
OBS_EFFECT_PREMULTIPLIED_ALPHA = _obspython.OBS_EFFECT_PREMULTIPLIED_ALPHA
4245
OBS_EFFECT_REPEAT = _obspython.OBS_EFFECT_REPEAT
4246
OBS_EFFECT_AREA = _obspython.OBS_EFFECT_AREA
4247
4248
def obs_get_base_effect(effect: 'enum obs_base_effect') -> "gs_effect_t *":
4249
    return _obspython.obs_get_base_effect(effect)
4250
obs_get_base_effect = _obspython.obs_get_base_effect
4251
4252
def obs_get_signal_handler() -> "signal_handler_t *":
4253
    return _obspython.obs_get_signal_handler()
4254
obs_get_signal_handler = _obspython.obs_get_signal_handler
4255
4256
def obs_get_proc_handler() -> "proc_handler_t *":
4257
    return _obspython.obs_get_proc_handler()
4258
obs_get_proc_handler = _obspython.obs_get_proc_handler
4259
4260
def obs_render_main_texture() -> "void":
4261
    return _obspython.obs_render_main_texture()
4262
obs_render_main_texture = _obspython.obs_render_main_texture
4263
4264
def obs_render_main_texture_src_color_only() -> "void":
4265
    return _obspython.obs_render_main_texture_src_color_only()
4266
obs_render_main_texture_src_color_only = _obspython.obs_render_main_texture_src_color_only
4267
4268
def obs_get_main_texture() -> "gs_texture_t *":
4269
    return _obspython.obs_get_main_texture()
4270
obs_get_main_texture = _obspython.obs_get_main_texture
4271
4272
def obs_set_master_volume(volume: 'float') -> "void":
4273
    return _obspython.obs_set_master_volume(volume)
4274
obs_set_master_volume = _obspython.obs_set_master_volume
4275
4276
def obs_get_master_volume() -> "float":
4277
    return _obspython.obs_get_master_volume()
4278
obs_get_master_volume = _obspython.obs_get_master_volume
4279
4280
def obs_save_source(source: 'obs_source_t *') -> "obs_data_t *":
4281
    return _obspython.obs_save_source(source)
4282
obs_save_source = _obspython.obs_save_source
4283
4284
def obs_load_source(data: 'obs_data_t *') -> "obs_source_t *":
4285
    return _obspython.obs_load_source(data)
4286
obs_load_source = _obspython.obs_load_source
4287
4288
def obs_source_save(source: 'obs_source_t *') -> "void":
4289
    return _obspython.obs_source_save(source)
4290
obs_source_save = _obspython.obs_source_save
4291
4292
def obs_source_load(source: 'obs_source_t *') -> "void":
4293
    return _obspython.obs_source_load(source)
4294
obs_source_load = _obspython.obs_source_load
4295
4296
def obs_load_sources(array: 'obs_data_array_t *', cb: 'obs_load_source_cb', private_data: 'void *') -> "void":
4297
    return _obspython.obs_load_sources(array, cb, private_data)
4298
obs_load_sources = _obspython.obs_load_sources
4299
4300
def obs_save_sources() -> "obs_data_array_t *":
4301
    return _obspython.obs_save_sources()
4302
obs_save_sources = _obspython.obs_save_sources
4303
4304
def obs_save_sources_filtered(cb: 'obs_save_source_filter_cb', data: 'void *') -> "obs_data_array_t *":
4305
    return _obspython.obs_save_sources_filtered(cb, data)
4306
obs_save_sources_filtered = _obspython.obs_save_sources_filtered
4307
OBS_OBJ_TYPE_INVALID = _obspython.OBS_OBJ_TYPE_INVALID
4308
OBS_OBJ_TYPE_SOURCE = _obspython.OBS_OBJ_TYPE_SOURCE
4309
OBS_OBJ_TYPE_OUTPUT = _obspython.OBS_OBJ_TYPE_OUTPUT
4310
OBS_OBJ_TYPE_ENCODER = _obspython.OBS_OBJ_TYPE_ENCODER
4311
OBS_OBJ_TYPE_SERVICE = _obspython.OBS_OBJ_TYPE_SERVICE
4312
4313
def obs_obj_get_type(obj: 'void *') -> "enum obs_obj_type":
4314
    return _obspython.obs_obj_get_type(obj)
4315
obs_obj_get_type = _obspython.obs_obj_get_type
4316
4317
def obs_obj_get_id(obj: 'void *') -> "char const *":
4318
    return _obspython.obs_obj_get_id(obj)
4319
obs_obj_get_id = _obspython.obs_obj_get_id
4320
4321
def obs_obj_invalid(obj: 'void *') -> "bool":
4322
    return _obspython.obs_obj_invalid(obj)
4323
obs_obj_invalid = _obspython.obs_obj_invalid
4324
4325
def obs_obj_get_data(obj: 'void *') -> "void *":
4326
    return _obspython.obs_obj_get_data(obj)
4327
obs_obj_get_data = _obspython.obs_obj_get_data
4328
4329
def obs_enum_audio_monitoring_devices(cb: 'obs_enum_audio_device_cb', data: 'void *') -> "void":
4330
    return _obspython.obs_enum_audio_monitoring_devices(cb, data)
4331
obs_enum_audio_monitoring_devices = _obspython.obs_enum_audio_monitoring_devices
4332
4333
def obs_set_audio_monitoring_device(name: 'char const *', id: 'char const *') -> "bool":
4334
    return _obspython.obs_set_audio_monitoring_device(name, id)
4335
obs_set_audio_monitoring_device = _obspython.obs_set_audio_monitoring_device
4336
4337
def obs_get_audio_monitoring_device(name: 'char const **', id: 'char const **') -> "void":
4338
    return _obspython.obs_get_audio_monitoring_device(name, id)
4339
obs_get_audio_monitoring_device = _obspython.obs_get_audio_monitoring_device
4340
4341
def obs_add_raw_video_callback(conversion: 'struct video_scale_info const *', callback: 'void (*)(void *,struct video_data *)', param: 'void *') -> "void":
4342
    return _obspython.obs_add_raw_video_callback(conversion, callback, param)
4343
obs_add_raw_video_callback = _obspython.obs_add_raw_video_callback
4344
4345
def obs_remove_raw_video_callback(callback: 'void (*)(void *,struct video_data *)', param: 'void *') -> "void":
4346
    return _obspython.obs_remove_raw_video_callback(callback, param)
4347
obs_remove_raw_video_callback = _obspython.obs_remove_raw_video_callback
4348
4349
def obs_get_video_frame_time() -> "uint64_t":
4350
    return _obspython.obs_get_video_frame_time()
4351
obs_get_video_frame_time = _obspython.obs_get_video_frame_time
4352
4353
def obs_get_active_fps() -> "double":
4354
    return _obspython.obs_get_active_fps()
4355
obs_get_active_fps = _obspython.obs_get_active_fps
4356
4357
def obs_get_average_frame_time_ns() -> "uint64_t":
4358
    return _obspython.obs_get_average_frame_time_ns()
4359
obs_get_average_frame_time_ns = _obspython.obs_get_average_frame_time_ns
4360
4361
def obs_get_frame_interval_ns() -> "uint64_t":
4362
    return _obspython.obs_get_frame_interval_ns()
4363
obs_get_frame_interval_ns = _obspython.obs_get_frame_interval_ns
4364
4365
def obs_get_total_frames() -> "uint32_t":
4366
    return _obspython.obs_get_total_frames()
4367
obs_get_total_frames = _obspython.obs_get_total_frames
4368
4369
def obs_get_lagged_frames() -> "uint32_t":
4370
    return _obspython.obs_get_lagged_frames()
4371
obs_get_lagged_frames = _obspython.obs_get_lagged_frames
4372
4373
def obs_nv12_tex_active() -> "bool":
4374
    return _obspython.obs_nv12_tex_active()
4375
obs_nv12_tex_active = _obspython.obs_nv12_tex_active
4376
4377
def obs_apply_private_data(settings: 'obs_data_t *') -> "void":
4378
    return _obspython.obs_apply_private_data(settings)
4379
obs_apply_private_data = _obspython.obs_apply_private_data
4380
4381
def obs_set_private_data(settings: 'obs_data_t *') -> "void":
4382
    return _obspython.obs_set_private_data(settings)
4383
obs_set_private_data = _obspython.obs_set_private_data
4384
4385
def obs_get_private_data() -> "obs_data_t *":
4386
    return _obspython.obs_get_private_data()
4387
obs_get_private_data = _obspython.obs_get_private_data
4388
OBS_TASK_UI = _obspython.OBS_TASK_UI
4389
OBS_TASK_GRAPHICS = _obspython.OBS_TASK_GRAPHICS
4390
4391
def obs_queue_task(type: 'enum obs_task_type', task: 'obs_task_t', param: 'void *', wait: 'bool') -> "void":
4392
    return _obspython.obs_queue_task(type, task, param, wait)
4393
obs_queue_task = _obspython.obs_queue_task
4394
4395
def obs_set_ui_task_handler(handler: 'obs_task_handler_t') -> "void":
4396
    return _obspython.obs_set_ui_task_handler(handler)
4397
obs_set_ui_task_handler = _obspython.obs_set_ui_task_handler
4398
4399
def obs_view_create() -> "obs_view_t *":
4400
    return _obspython.obs_view_create()
4401
obs_view_create = _obspython.obs_view_create
4402
4403
def obs_view_destroy(view: 'obs_view_t *') -> "void":
4404
    return _obspython.obs_view_destroy(view)
4405
obs_view_destroy = _obspython.obs_view_destroy
4406
4407
def obs_view_set_source(view: 'obs_view_t *', channel: 'uint32_t', source: 'obs_source_t *') -> "void":
4408
    return _obspython.obs_view_set_source(view, channel, source)
4409
obs_view_set_source = _obspython.obs_view_set_source
4410
4411
def obs_view_get_source(view: 'obs_view_t *', channel: 'uint32_t') -> "obs_source_t *":
4412
    return _obspython.obs_view_get_source(view, channel)
4413
obs_view_get_source = _obspython.obs_view_get_source
4414
4415
def obs_view_render(view: 'obs_view_t *') -> "void":
4416
    return _obspython.obs_view_render(view)
4417
obs_view_render = _obspython.obs_view_render
4418
4419
def obs_display_create(graphics_data: 'gs_init_data', backround_color: 'uint32_t') -> "obs_display_t *":
4420
    return _obspython.obs_display_create(graphics_data, backround_color)
4421
obs_display_create = _obspython.obs_display_create
4422
4423
def obs_display_destroy(display: 'obs_display_t *') -> "void":
4424
    return _obspython.obs_display_destroy(display)
4425
obs_display_destroy = _obspython.obs_display_destroy
4426
4427
def obs_display_resize(display: 'obs_display_t *', cx: 'uint32_t', cy: 'uint32_t') -> "void":
4428
    return _obspython.obs_display_resize(display, cx, cy)
4429
obs_display_resize = _obspython.obs_display_resize
4430
4431
def obs_display_add_draw_callback(display: 'obs_display_t *', draw: 'void (*)(void *,uint32_t,uint32_t)', param: 'void *') -> "void":
4432
    return _obspython.obs_display_add_draw_callback(display, draw, param)
4433
obs_display_add_draw_callback = _obspython.obs_display_add_draw_callback
4434
4435
def obs_display_remove_draw_callback(display: 'obs_display_t *', draw: 'void (*)(void *,uint32_t,uint32_t)', param: 'void *') -> "void":
4436
    return _obspython.obs_display_remove_draw_callback(display, draw, param)
4437
obs_display_remove_draw_callback = _obspython.obs_display_remove_draw_callback
4438
4439
def obs_display_set_enabled(display: 'obs_display_t *', enable: 'bool') -> "void":
4440
    return _obspython.obs_display_set_enabled(display, enable)
4441
obs_display_set_enabled = _obspython.obs_display_set_enabled
4442
4443
def obs_display_enabled(display: 'obs_display_t *') -> "bool":
4444
    return _obspython.obs_display_enabled(display)
4445
obs_display_enabled = _obspython.obs_display_enabled
4446
4447
def obs_display_set_background_color(display: 'obs_display_t *', color: 'uint32_t') -> "void":
4448
    return _obspython.obs_display_set_background_color(display, color)
4449
obs_display_set_background_color = _obspython.obs_display_set_background_color
4450
4451
def obs_display_size(display: 'obs_display_t *', width: 'uint32_t *', height: 'uint32_t *') -> "void":
4452
    return _obspython.obs_display_size(display, width, height)
4453
obs_display_size = _obspython.obs_display_size
4454
4455
def obs_source_get_display_name(id: 'char const *') -> "char const *":
4456
    return _obspython.obs_source_get_display_name(id)
4457
obs_source_get_display_name = _obspython.obs_source_get_display_name
4458
4459
def obs_source_create(id: 'char const *', name: 'char const *', settings: 'obs_data_t *', hotkey_data: 'obs_data_t *') -> "obs_source_t *":
4460
    return _obspython.obs_source_create(id, name, settings, hotkey_data)
4461
obs_source_create = _obspython.obs_source_create
4462
4463
def obs_source_create_private(id: 'char const *', name: 'char const *', settings: 'obs_data_t *') -> "obs_source_t *":
4464
    return _obspython.obs_source_create_private(id, name, settings)
4465
obs_source_create_private = _obspython.obs_source_create_private
4466
4467
def obs_source_duplicate(source: 'obs_source_t *', desired_name: 'char const *', create_private: 'bool') -> "obs_source_t *":
4468
    return _obspython.obs_source_duplicate(source, desired_name, create_private)
4469
obs_source_duplicate = _obspython.obs_source_duplicate
4470
4471
def obs_source_addref(source: 'obs_source_t *') -> "void":
4472
    return _obspython.obs_source_addref(source)
4473
obs_source_addref = _obspython.obs_source_addref
4474
4475
def obs_source_release(source: 'obs_source_t *') -> "void":
4476
    return _obspython.obs_source_release(source)
4477
obs_source_release = _obspython.obs_source_release
4478
4479
def obs_weak_source_addref(weak: 'obs_weak_source_t *') -> "void":
4480
    return _obspython.obs_weak_source_addref(weak)
4481
obs_weak_source_addref = _obspython.obs_weak_source_addref
4482
4483
def obs_weak_source_release(weak: 'obs_weak_source_t *') -> "void":
4484
    return _obspython.obs_weak_source_release(weak)
4485
obs_weak_source_release = _obspython.obs_weak_source_release
4486
4487
def obs_source_get_ref(source: 'obs_source_t *') -> "obs_source_t *":
4488
    return _obspython.obs_source_get_ref(source)
4489
obs_source_get_ref = _obspython.obs_source_get_ref
4490
4491
def obs_source_get_weak_source(source: 'obs_source_t *') -> "obs_weak_source_t *":
4492
    return _obspython.obs_source_get_weak_source(source)
4493
obs_source_get_weak_source = _obspython.obs_source_get_weak_source
4494
4495
def obs_weak_source_get_source(weak: 'obs_weak_source_t *') -> "obs_source_t *":
4496
    return _obspython.obs_weak_source_get_source(weak)
4497
obs_weak_source_get_source = _obspython.obs_weak_source_get_source
4498
4499
def obs_weak_source_references_source(weak: 'obs_weak_source_t *', source: 'obs_source_t *') -> "bool":
4500
    return _obspython.obs_weak_source_references_source(weak, source)
4501
obs_weak_source_references_source = _obspython.obs_weak_source_references_source
4502
4503
def obs_source_remove(source: 'obs_source_t *') -> "void":
4504
    return _obspython.obs_source_remove(source)
4505
obs_source_remove = _obspython.obs_source_remove
4506
4507
def obs_source_removed(source: 'obs_source_t const *') -> "bool":
4508
    return _obspython.obs_source_removed(source)
4509
obs_source_removed = _obspython.obs_source_removed
4510
4511
def obs_source_get_output_flags(source: 'obs_source_t const *') -> "uint32_t":
4512
    return _obspython.obs_source_get_output_flags(source)
4513
obs_source_get_output_flags = _obspython.obs_source_get_output_flags
4514
4515
def obs_get_source_output_flags(id: 'char const *') -> "uint32_t":
4516
    return _obspython.obs_get_source_output_flags(id)
4517
obs_get_source_output_flags = _obspython.obs_get_source_output_flags
4518
4519
def obs_get_source_defaults(id: 'char const *') -> "obs_data_t *":
4520
    return _obspython.obs_get_source_defaults(id)
4521
obs_get_source_defaults = _obspython.obs_get_source_defaults
4522
4523
def obs_get_source_properties(id: 'char const *') -> "obs_properties_t *":
4524
    return _obspython.obs_get_source_properties(id)
4525
obs_get_source_properties = _obspython.obs_get_source_properties
4526
4527
def obs_is_source_configurable(id: 'char const *') -> "bool":
4528
    return _obspython.obs_is_source_configurable(id)
4529
obs_is_source_configurable = _obspython.obs_is_source_configurable
4530
4531
def obs_source_configurable(source: 'obs_source_t const *') -> "bool":
4532
    return _obspython.obs_source_configurable(source)
4533
obs_source_configurable = _obspython.obs_source_configurable
4534
4535
def obs_source_properties(source: 'obs_source_t const *') -> "obs_properties_t *":
4536
    return _obspython.obs_source_properties(source)
4537
obs_source_properties = _obspython.obs_source_properties
4538
4539
def obs_source_update(source: 'obs_source_t *', settings: 'obs_data_t *') -> "void":
4540
    return _obspython.obs_source_update(source, settings)
4541
obs_source_update = _obspython.obs_source_update
4542
4543
def obs_source_video_render(source: 'obs_source_t *') -> "void":
4544
    return _obspython.obs_source_video_render(source)
4545
obs_source_video_render = _obspython.obs_source_video_render
4546
4547
def obs_source_get_width(source: 'obs_source_t *') -> "uint32_t":
4548
    return _obspython.obs_source_get_width(source)
4549
obs_source_get_width = _obspython.obs_source_get_width
4550
4551
def obs_source_get_height(source: 'obs_source_t *') -> "uint32_t":
4552
    return _obspython.obs_source_get_height(source)
4553
obs_source_get_height = _obspython.obs_source_get_height
4554
4555
def obs_filter_get_parent(filter: 'obs_source_t const *') -> "obs_source_t *":
4556
    return _obspython.obs_filter_get_parent(filter)
4557
obs_filter_get_parent = _obspython.obs_filter_get_parent
4558
4559
def obs_filter_get_target(filter: 'obs_source_t const *') -> "obs_source_t *":
4560
    return _obspython.obs_filter_get_target(filter)
4561
obs_filter_get_target = _obspython.obs_filter_get_target
4562
4563
def obs_source_default_render(source: 'obs_source_t *') -> "void":
4564
    return _obspython.obs_source_default_render(source)
4565
obs_source_default_render = _obspython.obs_source_default_render
4566
4567
def obs_source_filter_add(source: 'obs_source_t *', filter: 'obs_source_t *') -> "void":
4568
    return _obspython.obs_source_filter_add(source, filter)
4569
obs_source_filter_add = _obspython.obs_source_filter_add
4570
4571
def obs_source_filter_remove(source: 'obs_source_t *', filter: 'obs_source_t *') -> "void":
4572
    return _obspython.obs_source_filter_remove(source, filter)
4573
obs_source_filter_remove = _obspython.obs_source_filter_remove
4574
4575
def obs_source_filter_set_order(source: 'obs_source_t *', filter: 'obs_source_t *', movement: 'enum obs_order_movement') -> "void":
4576
    return _obspython.obs_source_filter_set_order(source, filter, movement)
4577
obs_source_filter_set_order = _obspython.obs_source_filter_set_order
4578
4579
def obs_source_get_settings(source: 'obs_source_t const *') -> "obs_data_t *":
4580
    return _obspython.obs_source_get_settings(source)
4581
obs_source_get_settings = _obspython.obs_source_get_settings
4582
4583
def obs_source_get_name(source: 'obs_source_t const *') -> "char const *":
4584
    return _obspython.obs_source_get_name(source)
4585
obs_source_get_name = _obspython.obs_source_get_name
4586
4587
def obs_source_set_name(source: 'obs_source_t *', name: 'char const *') -> "void":
4588
    return _obspython.obs_source_set_name(source, name)
4589
obs_source_set_name = _obspython.obs_source_set_name
4590
4591
def obs_source_get_type(source: 'obs_source_t const *') -> "enum obs_source_type":
4592
    return _obspython.obs_source_get_type(source)
4593
obs_source_get_type = _obspython.obs_source_get_type
4594
4595
def obs_source_get_id(source: 'obs_source_t const *') -> "char const *":
4596
    return _obspython.obs_source_get_id(source)
4597
obs_source_get_id = _obspython.obs_source_get_id
4598
4599
def obs_source_get_unversioned_id(source: 'obs_source_t const *') -> "char const *":
4600
    return _obspython.obs_source_get_unversioned_id(source)
4601
obs_source_get_unversioned_id = _obspython.obs_source_get_unversioned_id
4602
4603
def obs_source_get_signal_handler(source: 'obs_source_t const *') -> "signal_handler_t *":
4604
    return _obspython.obs_source_get_signal_handler(source)
4605
obs_source_get_signal_handler = _obspython.obs_source_get_signal_handler
4606
4607
def obs_source_get_proc_handler(source: 'obs_source_t const *') -> "proc_handler_t *":
4608
    return _obspython.obs_source_get_proc_handler(source)
4609
obs_source_get_proc_handler = _obspython.obs_source_get_proc_handler
4610
4611
def obs_source_set_volume(source: 'obs_source_t *', volume: 'float') -> "void":
4612
    return _obspython.obs_source_set_volume(source, volume)
4613
obs_source_set_volume = _obspython.obs_source_set_volume
4614
4615
def obs_source_get_volume(source: 'obs_source_t const *') -> "float":
4616
    return _obspython.obs_source_get_volume(source)
4617
obs_source_get_volume = _obspython.obs_source_get_volume
4618
4619
def obs_source_get_speaker_layout(source: 'obs_source_t *') -> "enum speaker_layout":
4620
    return _obspython.obs_source_get_speaker_layout(source)
4621
obs_source_get_speaker_layout = _obspython.obs_source_get_speaker_layout
4622
4623
def obs_source_set_balance_value(source: 'obs_source_t *', balance: 'float') -> "void":
4624
    return _obspython.obs_source_set_balance_value(source, balance)
4625
obs_source_set_balance_value = _obspython.obs_source_set_balance_value
4626
4627
def obs_source_get_balance_value(source: 'obs_source_t const *') -> "float":
4628
    return _obspython.obs_source_get_balance_value(source)
4629
obs_source_get_balance_value = _obspython.obs_source_get_balance_value
4630
4631
def obs_source_set_sync_offset(source: 'obs_source_t *', offset: 'int64_t') -> "void":
4632
    return _obspython.obs_source_set_sync_offset(source, offset)
4633
obs_source_set_sync_offset = _obspython.obs_source_set_sync_offset
4634
4635
def obs_source_get_sync_offset(source: 'obs_source_t const *') -> "int64_t":
4636
    return _obspython.obs_source_get_sync_offset(source)
4637
obs_source_get_sync_offset = _obspython.obs_source_get_sync_offset
4638
4639
def obs_source_enum_active_sources(source: 'obs_source_t *', enum_callback: 'obs_source_enum_proc_t', param: 'void *') -> "void":
4640
    return _obspython.obs_source_enum_active_sources(source, enum_callback, param)
4641
obs_source_enum_active_sources = _obspython.obs_source_enum_active_sources
4642
4643
def obs_source_enum_active_tree(source: 'obs_source_t *', enum_callback: 'obs_source_enum_proc_t', param: 'void *') -> "void":
4644
    return _obspython.obs_source_enum_active_tree(source, enum_callback, param)
4645
obs_source_enum_active_tree = _obspython.obs_source_enum_active_tree
4646
4647
def obs_source_active(source: 'obs_source_t const *') -> "bool":
4648
    return _obspython.obs_source_active(source)
4649
obs_source_active = _obspython.obs_source_active
4650
4651
def obs_source_showing(source: 'obs_source_t const *') -> "bool":
4652
    return _obspython.obs_source_showing(source)
4653
obs_source_showing = _obspython.obs_source_showing
4654
OBS_SOURCE_FLAG_UNUSED_1 = _obspython.OBS_SOURCE_FLAG_UNUSED_1
4655
OBS_SOURCE_FLAG_FORCE_MONO = _obspython.OBS_SOURCE_FLAG_FORCE_MONO
4656
4657
def obs_source_set_flags(source: 'obs_source_t *', flags: 'uint32_t') -> "void":
4658
    return _obspython.obs_source_set_flags(source, flags)
4659
obs_source_set_flags = _obspython.obs_source_set_flags
4660
4661
def obs_source_get_flags(source: 'obs_source_t const *') -> "uint32_t":
4662
    return _obspython.obs_source_get_flags(source)
4663
obs_source_get_flags = _obspython.obs_source_get_flags
4664
4665
def obs_source_set_audio_mixers(source: 'obs_source_t *', mixers: 'uint32_t') -> "void":
4666
    return _obspython.obs_source_set_audio_mixers(source, mixers)
4667
obs_source_set_audio_mixers = _obspython.obs_source_set_audio_mixers
4668
4669
def obs_source_get_audio_mixers(source: 'obs_source_t const *') -> "uint32_t":
4670
    return _obspython.obs_source_get_audio_mixers(source)
4671
obs_source_get_audio_mixers = _obspython.obs_source_get_audio_mixers
4672
4673
def obs_source_inc_showing(source: 'obs_source_t *') -> "void":
4674
    return _obspython.obs_source_inc_showing(source)
4675
obs_source_inc_showing = _obspython.obs_source_inc_showing
4676
4677
def obs_source_inc_active(source: 'obs_source_t *') -> "void":
4678
    return _obspython.obs_source_inc_active(source)
4679
obs_source_inc_active = _obspython.obs_source_inc_active
4680
4681
def obs_source_dec_showing(source: 'obs_source_t *') -> "void":
4682
    return _obspython.obs_source_dec_showing(source)
4683
obs_source_dec_showing = _obspython.obs_source_dec_showing
4684
4685
def obs_source_dec_active(source: 'obs_source_t *') -> "void":
4686
    return _obspython.obs_source_dec_active(source)
4687
obs_source_dec_active = _obspython.obs_source_dec_active
4688
4689
def obs_source_enum_filters(source: 'obs_source_t *', callback: 'obs_source_enum_proc_t', param: 'void *') -> "void":
4690
    return _obspython.obs_source_enum_filters(source, callback, param)
4691
obs_source_enum_filters = _obspython.obs_source_enum_filters
4692
4693
def obs_source_get_filter_by_name(source: 'obs_source_t *', name: 'char const *') -> "obs_source_t *":
4694
    return _obspython.obs_source_get_filter_by_name(source, name)
4695
obs_source_get_filter_by_name = _obspython.obs_source_get_filter_by_name
4696
4697
def obs_source_copy_filters(dst: 'obs_source_t *', src: 'obs_source_t *') -> "void":
4698
    return _obspython.obs_source_copy_filters(dst, src)
4699
obs_source_copy_filters = _obspython.obs_source_copy_filters
4700
4701
def obs_source_enabled(source: 'obs_source_t const *') -> "bool":
4702
    return _obspython.obs_source_enabled(source)
4703
obs_source_enabled = _obspython.obs_source_enabled
4704
4705
def obs_source_set_enabled(source: 'obs_source_t *', enabled: 'bool') -> "void":
4706
    return _obspython.obs_source_set_enabled(source, enabled)
4707
obs_source_set_enabled = _obspython.obs_source_set_enabled
4708
4709
def obs_source_muted(source: 'obs_source_t const *') -> "bool":
4710
    return _obspython.obs_source_muted(source)
4711
obs_source_muted = _obspython.obs_source_muted
4712
4713
def obs_source_set_muted(source: 'obs_source_t *', muted: 'bool') -> "void":
4714
    return _obspython.obs_source_set_muted(source, muted)
4715
obs_source_set_muted = _obspython.obs_source_set_muted
4716
4717
def obs_source_push_to_mute_enabled(source: 'obs_source_t *') -> "bool":
4718
    return _obspython.obs_source_push_to_mute_enabled(source)
4719
obs_source_push_to_mute_enabled = _obspython.obs_source_push_to_mute_enabled
4720
4721
def obs_source_enable_push_to_mute(source: 'obs_source_t *', enabled: 'bool') -> "void":
4722
    return _obspython.obs_source_enable_push_to_mute(source, enabled)
4723
obs_source_enable_push_to_mute = _obspython.obs_source_enable_push_to_mute
4724
4725
def obs_source_get_push_to_mute_delay(source: 'obs_source_t *') -> "uint64_t":
4726
    return _obspython.obs_source_get_push_to_mute_delay(source)
4727
obs_source_get_push_to_mute_delay = _obspython.obs_source_get_push_to_mute_delay
4728
4729
def obs_source_set_push_to_mute_delay(source: 'obs_source_t *', delay: 'uint64_t') -> "void":
4730
    return _obspython.obs_source_set_push_to_mute_delay(source, delay)
4731
obs_source_set_push_to_mute_delay = _obspython.obs_source_set_push_to_mute_delay
4732
4733
def obs_source_push_to_talk_enabled(source: 'obs_source_t *') -> "bool":
4734
    return _obspython.obs_source_push_to_talk_enabled(source)
4735
obs_source_push_to_talk_enabled = _obspython.obs_source_push_to_talk_enabled
4736
4737
def obs_source_enable_push_to_talk(source: 'obs_source_t *', enabled: 'bool') -> "void":
4738
    return _obspython.obs_source_enable_push_to_talk(source, enabled)
4739
obs_source_enable_push_to_talk = _obspython.obs_source_enable_push_to_talk
4740
4741
def obs_source_get_push_to_talk_delay(source: 'obs_source_t *') -> "uint64_t":
4742
    return _obspython.obs_source_get_push_to_talk_delay(source)
4743
obs_source_get_push_to_talk_delay = _obspython.obs_source_get_push_to_talk_delay
4744
4745
def obs_source_set_push_to_talk_delay(source: 'obs_source_t *', delay: 'uint64_t') -> "void":
4746
    return _obspython.obs_source_set_push_to_talk_delay(source, delay)
4747
obs_source_set_push_to_talk_delay = _obspython.obs_source_set_push_to_talk_delay
4748
4749
def obs_source_add_audio_capture_callback(source: 'obs_source_t *', callback: 'obs_source_audio_capture_t', param: 'void *') -> "void":
4750
    return _obspython.obs_source_add_audio_capture_callback(source, callback, param)
4751
obs_source_add_audio_capture_callback = _obspython.obs_source_add_audio_capture_callback
4752
4753
def obs_source_remove_audio_capture_callback(source: 'obs_source_t *', callback: 'obs_source_audio_capture_t', param: 'void *') -> "void":
4754
    return _obspython.obs_source_remove_audio_capture_callback(source, callback, param)
4755
obs_source_remove_audio_capture_callback = _obspython.obs_source_remove_audio_capture_callback
4756
OBS_DEINTERLACE_MODE_DISABLE = _obspython.OBS_DEINTERLACE_MODE_DISABLE
4757
OBS_DEINTERLACE_MODE_DISCARD = _obspython.OBS_DEINTERLACE_MODE_DISCARD
4758
OBS_DEINTERLACE_MODE_RETRO = _obspython.OBS_DEINTERLACE_MODE_RETRO
4759
OBS_DEINTERLACE_MODE_BLEND = _obspython.OBS_DEINTERLACE_MODE_BLEND
4760
OBS_DEINTERLACE_MODE_BLEND_2X = _obspython.OBS_DEINTERLACE_MODE_BLEND_2X
4761
OBS_DEINTERLACE_MODE_LINEAR = _obspython.OBS_DEINTERLACE_MODE_LINEAR
4762
OBS_DEINTERLACE_MODE_LINEAR_2X = _obspython.OBS_DEINTERLACE_MODE_LINEAR_2X
4763
OBS_DEINTERLACE_MODE_YADIF = _obspython.OBS_DEINTERLACE_MODE_YADIF
4764
OBS_DEINTERLACE_MODE_YADIF_2X = _obspython.OBS_DEINTERLACE_MODE_YADIF_2X
4765
OBS_DEINTERLACE_FIELD_ORDER_TOP = _obspython.OBS_DEINTERLACE_FIELD_ORDER_TOP
4766
OBS_DEINTERLACE_FIELD_ORDER_BOTTOM = _obspython.OBS_DEINTERLACE_FIELD_ORDER_BOTTOM
4767
4768
def obs_source_set_deinterlace_mode(source: 'obs_source_t *', mode: 'enum obs_deinterlace_mode') -> "void":
4769
    return _obspython.obs_source_set_deinterlace_mode(source, mode)
4770
obs_source_set_deinterlace_mode = _obspython.obs_source_set_deinterlace_mode
4771
4772
def obs_source_get_deinterlace_mode(source: 'obs_source_t const *') -> "enum obs_deinterlace_mode":
4773
    return _obspython.obs_source_get_deinterlace_mode(source)
4774
obs_source_get_deinterlace_mode = _obspython.obs_source_get_deinterlace_mode
4775
4776
def obs_source_set_deinterlace_field_order(source: 'obs_source_t *', field_order: 'enum obs_deinterlace_field_order') -> "void":
4777
    return _obspython.obs_source_set_deinterlace_field_order(source, field_order)
4778
obs_source_set_deinterlace_field_order = _obspython.obs_source_set_deinterlace_field_order
4779
4780
def obs_source_get_deinterlace_field_order(source: 'obs_source_t const *') -> "enum obs_deinterlace_field_order":
4781
    return _obspython.obs_source_get_deinterlace_field_order(source)
4782
obs_source_get_deinterlace_field_order = _obspython.obs_source_get_deinterlace_field_order
4783
OBS_MONITORING_TYPE_NONE = _obspython.OBS_MONITORING_TYPE_NONE
4784
OBS_MONITORING_TYPE_MONITOR_ONLY = _obspython.OBS_MONITORING_TYPE_MONITOR_ONLY
4785
OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT = _obspython.OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT
4786
4787
def obs_source_set_monitoring_type(source: 'obs_source_t *', type: 'enum obs_monitoring_type') -> "void":
4788
    return _obspython.obs_source_set_monitoring_type(source, type)
4789
obs_source_set_monitoring_type = _obspython.obs_source_set_monitoring_type
4790
4791
def obs_source_get_monitoring_type(source: 'obs_source_t const *') -> "enum obs_monitoring_type":
4792
    return _obspython.obs_source_get_monitoring_type(source)
4793
obs_source_get_monitoring_type = _obspython.obs_source_get_monitoring_type
4794
4795
def obs_source_get_private_settings(item: 'obs_source_t *') -> "obs_data_t *":
4796
    return _obspython.obs_source_get_private_settings(item)
4797
obs_source_get_private_settings = _obspython.obs_source_get_private_settings
4798
4799
def obs_source_get_type_data(source: 'obs_source_t *') -> "void *":
4800
    return _obspython.obs_source_get_type_data(source)
4801
obs_source_get_type_data = _obspython.obs_source_get_type_data
4802
4803
def obs_source_draw_set_color_matrix(color_matrix: 'matrix4', color_range_min: 'vec3', color_range_max: 'vec3') -> "void":
4804
    return _obspython.obs_source_draw_set_color_matrix(color_matrix, color_range_min, color_range_max)
4805
obs_source_draw_set_color_matrix = _obspython.obs_source_draw_set_color_matrix
4806
4807
def obs_source_draw(image: 'gs_texture_t *', x: 'int', y: 'int', cx: 'uint32_t', cy: 'uint32_t', flip: 'bool') -> "void":
4808
    return _obspython.obs_source_draw(image, x, y, cx, cy, flip)
4809
obs_source_draw = _obspython.obs_source_draw
4810
4811
def obs_source_output_video(source: 'obs_source_t *', frame: 'obs_source_frame') -> "void":
4812
    return _obspython.obs_source_output_video(source, frame)
4813
obs_source_output_video = _obspython.obs_source_output_video
4814
4815
def obs_source_output_video2(source: 'obs_source_t *', frame: 'obs_source_frame2') -> "void":
4816
    return _obspython.obs_source_output_video2(source, frame)
4817
obs_source_output_video2 = _obspython.obs_source_output_video2
4818
4819
def obs_source_set_async_rotation(source: 'obs_source_t *', rotation: 'long') -> "void":
4820
    return _obspython.obs_source_set_async_rotation(source, rotation)
4821
obs_source_set_async_rotation = _obspython.obs_source_set_async_rotation
4822
4823
def obs_source_preload_video(source: 'obs_source_t *', frame: 'obs_source_frame') -> "void":
4824
    return _obspython.obs_source_preload_video(source, frame)
4825
obs_source_preload_video = _obspython.obs_source_preload_video
4826
4827
def obs_source_preload_video2(source: 'obs_source_t *', frame: 'obs_source_frame2') -> "void":
4828
    return _obspython.obs_source_preload_video2(source, frame)
4829
obs_source_preload_video2 = _obspython.obs_source_preload_video2
4830
4831
def obs_source_show_preloaded_video(source: 'obs_source_t *') -> "void":
4832
    return _obspython.obs_source_show_preloaded_video(source)
4833
obs_source_show_preloaded_video = _obspython.obs_source_show_preloaded_video
4834
4835
def obs_source_output_audio(source: 'obs_source_t *', audio: 'obs_source_audio') -> "void":
4836
    return _obspython.obs_source_output_audio(source, audio)
4837
obs_source_output_audio = _obspython.obs_source_output_audio
4838
4839
def obs_source_update_properties(source: 'obs_source_t *') -> "void":
4840
    return _obspython.obs_source_update_properties(source)
4841
obs_source_update_properties = _obspython.obs_source_update_properties
4842
4843
def obs_source_get_frame(source: 'obs_source_t *') -> "struct obs_source_frame *":
4844
    return _obspython.obs_source_get_frame(source)
4845
obs_source_get_frame = _obspython.obs_source_get_frame
4846
4847
def obs_source_release_frame(source: 'obs_source_t *', frame: 'obs_source_frame') -> "void":
4848
    return _obspython.obs_source_release_frame(source, frame)
4849
obs_source_release_frame = _obspython.obs_source_release_frame
4850
4851
def obs_source_process_filter_begin(filter: 'obs_source_t *', format: 'enum gs_color_format', allow_direct: 'enum obs_allow_direct_render') -> "bool":
4852
    return _obspython.obs_source_process_filter_begin(filter, format, allow_direct)
4853
obs_source_process_filter_begin = _obspython.obs_source_process_filter_begin
4854
4855
def obs_source_process_filter_end(filter: 'obs_source_t *', effect: 'gs_effect_t *', width: 'uint32_t', height: 'uint32_t') -> "void":
4856
    return _obspython.obs_source_process_filter_end(filter, effect, width, height)
4857
obs_source_process_filter_end = _obspython.obs_source_process_filter_end
4858
4859
def obs_source_process_filter_tech_end(filter: 'obs_source_t *', effect: 'gs_effect_t *', width: 'uint32_t', height: 'uint32_t', tech_name: 'char const *') -> "void":
4860
    return _obspython.obs_source_process_filter_tech_end(filter, effect, width, height, tech_name)
4861
obs_source_process_filter_tech_end = _obspython.obs_source_process_filter_tech_end
4862
4863
def obs_source_skip_video_filter(filter: 'obs_source_t *') -> "void":
4864
    return _obspython.obs_source_skip_video_filter(filter)
4865
obs_source_skip_video_filter = _obspython.obs_source_skip_video_filter
4866
4867
def obs_source_add_active_child(parent: 'obs_source_t *', child: 'obs_source_t *') -> "bool":
4868
    return _obspython.obs_source_add_active_child(parent, child)
4869
obs_source_add_active_child = _obspython.obs_source_add_active_child
4870
4871
def obs_source_remove_active_child(parent: 'obs_source_t *', child: 'obs_source_t *') -> "void":
4872
    return _obspython.obs_source_remove_active_child(parent, child)
4873
obs_source_remove_active_child = _obspython.obs_source_remove_active_child
4874
4875
def obs_source_send_mouse_click(source: 'obs_source_t *', event: 'obs_mouse_event', type: 'int32_t', mouse_up: 'bool', click_count: 'uint32_t') -> "void":
4876
    return _obspython.obs_source_send_mouse_click(source, event, type, mouse_up, click_count)
4877
obs_source_send_mouse_click = _obspython.obs_source_send_mouse_click
4878
4879
def obs_source_send_mouse_move(source: 'obs_source_t *', event: 'obs_mouse_event', mouse_leave: 'bool') -> "void":
4880
    return _obspython.obs_source_send_mouse_move(source, event, mouse_leave)
4881
obs_source_send_mouse_move = _obspython.obs_source_send_mouse_move
4882
4883
def obs_source_send_mouse_wheel(source: 'obs_source_t *', event: 'obs_mouse_event', x_delta: 'int', y_delta: 'int') -> "void":
4884
    return _obspython.obs_source_send_mouse_wheel(source, event, x_delta, y_delta)
4885
obs_source_send_mouse_wheel = _obspython.obs_source_send_mouse_wheel
4886
4887
def obs_source_send_focus(source: 'obs_source_t *', focus: 'bool') -> "void":
4888
    return _obspython.obs_source_send_focus(source, focus)
4889
obs_source_send_focus = _obspython.obs_source_send_focus
4890
4891
def obs_source_send_key_click(source: 'obs_source_t *', event: 'obs_key_event', key_up: 'bool') -> "void":
4892
    return _obspython.obs_source_send_key_click(source, event, key_up)
4893
obs_source_send_key_click = _obspython.obs_source_send_key_click
4894
4895
def obs_source_set_default_flags(source: 'obs_source_t *', flags: 'uint32_t') -> "void":
4896
    return _obspython.obs_source_set_default_flags(source, flags)
4897
obs_source_set_default_flags = _obspython.obs_source_set_default_flags
4898
4899
def obs_source_get_base_width(source: 'obs_source_t *') -> "uint32_t":
4900
    return _obspython.obs_source_get_base_width(source)
4901
obs_source_get_base_width = _obspython.obs_source_get_base_width
4902
4903
def obs_source_get_base_height(source: 'obs_source_t *') -> "uint32_t":
4904
    return _obspython.obs_source_get_base_height(source)
4905
obs_source_get_base_height = _obspython.obs_source_get_base_height
4906
4907
def obs_source_audio_pending(source: 'obs_source_t const *') -> "bool":
4908
    return _obspython.obs_source_audio_pending(source)
4909
obs_source_audio_pending = _obspython.obs_source_audio_pending
4910
4911
def obs_source_get_audio_timestamp(source: 'obs_source_t const *') -> "uint64_t":
4912
    return _obspython.obs_source_get_audio_timestamp(source)
4913
obs_source_get_audio_timestamp = _obspython.obs_source_get_audio_timestamp
4914
4915
def obs_source_get_audio_mix(source: 'obs_source_t const *', audio: 'obs_source_audio_mix') -> "void":
4916
    return _obspython.obs_source_get_audio_mix(source, audio)
4917
obs_source_get_audio_mix = _obspython.obs_source_get_audio_mix
4918
4919
def obs_source_set_async_unbuffered(source: 'obs_source_t *', unbuffered: 'bool') -> "void":
4920
    return _obspython.obs_source_set_async_unbuffered(source, unbuffered)
4921
obs_source_set_async_unbuffered = _obspython.obs_source_set_async_unbuffered
4922
4923
def obs_source_async_unbuffered(source: 'obs_source_t const *') -> "bool":
4924
    return _obspython.obs_source_async_unbuffered(source)
4925
obs_source_async_unbuffered = _obspython.obs_source_async_unbuffered
4926
4927
def obs_source_set_async_decoupled(source: 'obs_source_t *', decouple: 'bool') -> "void":
4928
    return _obspython.obs_source_set_async_decoupled(source, decouple)
4929
obs_source_set_async_decoupled = _obspython.obs_source_set_async_decoupled
4930
4931
def obs_source_async_decoupled(source: 'obs_source_t const *') -> "bool":
4932
    return _obspython.obs_source_async_decoupled(source)
4933
obs_source_async_decoupled = _obspython.obs_source_async_decoupled
4934
4935
def obs_source_set_audio_active(source: 'obs_source_t *', show: 'bool') -> "void":
4936
    return _obspython.obs_source_set_audio_active(source, show)
4937
obs_source_set_audio_active = _obspython.obs_source_set_audio_active
4938
4939
def obs_source_audio_active(source: 'obs_source_t const *') -> "bool":
4940
    return _obspython.obs_source_audio_active(source)
4941
obs_source_audio_active = _obspython.obs_source_audio_active
4942
4943
def obs_source_get_last_obs_version(source: 'obs_source_t const *') -> "uint32_t":
4944
    return _obspython.obs_source_get_last_obs_version(source)
4945
obs_source_get_last_obs_version = _obspython.obs_source_get_last_obs_version
4946
4947
def obs_source_media_play_pause(source: 'obs_source_t *', pause: 'bool') -> "void":
4948
    return _obspython.obs_source_media_play_pause(source, pause)
4949
obs_source_media_play_pause = _obspython.obs_source_media_play_pause
4950
4951
def obs_source_media_restart(source: 'obs_source_t *') -> "void":
4952
    return _obspython.obs_source_media_restart(source)
4953
obs_source_media_restart = _obspython.obs_source_media_restart
4954
4955
def obs_source_media_stop(source: 'obs_source_t *') -> "void":
4956
    return _obspython.obs_source_media_stop(source)
4957
obs_source_media_stop = _obspython.obs_source_media_stop
4958
4959
def obs_source_media_next(source: 'obs_source_t *') -> "void":
4960
    return _obspython.obs_source_media_next(source)
4961
obs_source_media_next = _obspython.obs_source_media_next
4962
4963
def obs_source_media_previous(source: 'obs_source_t *') -> "void":
4964
    return _obspython.obs_source_media_previous(source)
4965
obs_source_media_previous = _obspython.obs_source_media_previous
4966
4967
def obs_source_media_get_duration(source: 'obs_source_t *') -> "int64_t":
4968
    return _obspython.obs_source_media_get_duration(source)
4969
obs_source_media_get_duration = _obspython.obs_source_media_get_duration
4970
4971
def obs_source_media_get_time(source: 'obs_source_t *') -> "int64_t":
4972
    return _obspython.obs_source_media_get_time(source)
4973
obs_source_media_get_time = _obspython.obs_source_media_get_time
4974
4975
def obs_source_media_set_time(source: 'obs_source_t *', ms: 'int64_t') -> "void":
4976
    return _obspython.obs_source_media_set_time(source, ms)
4977
obs_source_media_set_time = _obspython.obs_source_media_set_time
4978
4979
def obs_source_media_get_state(source: 'obs_source_t *') -> "enum obs_media_state":
4980
    return _obspython.obs_source_media_get_state(source)
4981
obs_source_media_get_state = _obspython.obs_source_media_get_state
4982
4983
def obs_source_media_started(source: 'obs_source_t *') -> "void":
4984
    return _obspython.obs_source_media_started(source)
4985
obs_source_media_started = _obspython.obs_source_media_started
4986
4987
def obs_source_media_ended(source: 'obs_source_t *') -> "void":
4988
    return _obspython.obs_source_media_ended(source)
4989
obs_source_media_ended = _obspython.obs_source_media_ended
4990
OBS_TRANSITION_SOURCE_A = _obspython.OBS_TRANSITION_SOURCE_A
4991
OBS_TRANSITION_SOURCE_B = _obspython.OBS_TRANSITION_SOURCE_B
4992
4993
def obs_transition_get_source(transition: 'obs_source_t *', target: 'enum obs_transition_target') -> "obs_source_t *":
4994
    return _obspython.obs_transition_get_source(transition, target)
4995
obs_transition_get_source = _obspython.obs_transition_get_source
4996
4997
def obs_transition_clear(transition: 'obs_source_t *') -> "void":
4998
    return _obspython.obs_transition_clear(transition)
4999
obs_transition_clear = _obspython.obs_transition_clear
5000
5001
def obs_transition_get_active_source(transition: 'obs_source_t *') -> "obs_source_t *":
5002
    return _obspython.obs_transition_get_active_source(transition)
5003
obs_transition_get_active_source = _obspython.obs_transition_get_active_source
5004
OBS_TRANSITION_MODE_AUTO = _obspython.OBS_TRANSITION_MODE_AUTO
5005
OBS_TRANSITION_MODE_MANUAL = _obspython.OBS_TRANSITION_MODE_MANUAL
5006
5007
def obs_transition_start(transition: 'obs_source_t *', mode: 'enum obs_transition_mode', duration_ms: 'uint32_t', dest: 'obs_source_t *') -> "bool":
5008
    return _obspython.obs_transition_start(transition, mode, duration_ms, dest)
5009
obs_transition_start = _obspython.obs_transition_start
5010
5011
def obs_transition_set(transition: 'obs_source_t *', source: 'obs_source_t *') -> "void":
5012
    return _obspython.obs_transition_set(transition, source)
5013
obs_transition_set = _obspython.obs_transition_set
5014
5015
def obs_transition_set_manual_time(transition: 'obs_source_t *', t: 'float') -> "void":
5016
    return _obspython.obs_transition_set_manual_time(transition, t)
5017
obs_transition_set_manual_time = _obspython.obs_transition_set_manual_time
5018
5019
def obs_transition_set_manual_torque(transition: 'obs_source_t *', torque: 'float', clamp: 'float') -> "void":
5020
    return _obspython.obs_transition_set_manual_torque(transition, torque, clamp)
5021
obs_transition_set_manual_torque = _obspython.obs_transition_set_manual_torque
5022
OBS_TRANSITION_SCALE_MAX_ONLY = _obspython.OBS_TRANSITION_SCALE_MAX_ONLY
5023
OBS_TRANSITION_SCALE_ASPECT = _obspython.OBS_TRANSITION_SCALE_ASPECT
5024
OBS_TRANSITION_SCALE_STRETCH = _obspython.OBS_TRANSITION_SCALE_STRETCH
5025
5026
def obs_transition_set_scale_type(transition: 'obs_source_t *', type: 'enum obs_transition_scale_type') -> "void":
5027
    return _obspython.obs_transition_set_scale_type(transition, type)
5028
obs_transition_set_scale_type = _obspython.obs_transition_set_scale_type
5029
5030
def obs_transition_get_scale_type(transition: 'obs_source_t const *') -> "enum obs_transition_scale_type":
5031
    return _obspython.obs_transition_get_scale_type(transition)
5032
obs_transition_get_scale_type = _obspython.obs_transition_get_scale_type
5033
5034
def obs_transition_set_alignment(transition: 'obs_source_t *', alignment: 'uint32_t') -> "void":
5035
    return _obspython.obs_transition_set_alignment(transition, alignment)
5036
obs_transition_set_alignment = _obspython.obs_transition_set_alignment
5037
5038
def obs_transition_get_alignment(transition: 'obs_source_t const *') -> "uint32_t":
5039
    return _obspython.obs_transition_get_alignment(transition)
5040
obs_transition_get_alignment = _obspython.obs_transition_get_alignment
5041
5042
def obs_transition_set_size(transition: 'obs_source_t *', cx: 'uint32_t', cy: 'uint32_t') -> "void":
5043
    return _obspython.obs_transition_set_size(transition, cx, cy)
5044
obs_transition_set_size = _obspython.obs_transition_set_size
5045
5046
def obs_transition_get_size(transition: 'obs_source_t const *', cx: 'uint32_t *', cy: 'uint32_t *') -> "void":
5047
    return _obspython.obs_transition_get_size(transition, cx, cy)
5048
obs_transition_get_size = _obspython.obs_transition_get_size
5049
5050
def obs_transition_enable_fixed(transition: 'obs_source_t *', enable: 'bool', duration_ms: 'uint32_t') -> "void":
5051
    return _obspython.obs_transition_enable_fixed(transition, enable, duration_ms)
5052
obs_transition_enable_fixed = _obspython.obs_transition_enable_fixed
5053
5054
def obs_transition_fixed(transition: 'obs_source_t *') -> "bool":
5055
    return _obspython.obs_transition_fixed(transition)
5056
obs_transition_fixed = _obspython.obs_transition_fixed
5057
5058
def obs_transition_get_time(transition: 'obs_source_t *') -> "float":
5059
    return _obspython.obs_transition_get_time(transition)
5060
obs_transition_get_time = _obspython.obs_transition_get_time
5061
5062
def obs_transition_force_stop(transition: 'obs_source_t *') -> "void":
5063
    return _obspython.obs_transition_force_stop(transition)
5064
obs_transition_force_stop = _obspython.obs_transition_force_stop
5065
5066
def obs_transition_video_render(transition: 'obs_source_t *', callback: 'obs_transition_video_render_callback_t') -> "void":
5067
    return _obspython.obs_transition_video_render(transition, callback)
5068
obs_transition_video_render = _obspython.obs_transition_video_render
5069
5070
def obs_transition_video_render_direct(transition: 'obs_source_t *', target: 'enum obs_transition_target') -> "bool":
5071
    return _obspython.obs_transition_video_render_direct(transition, target)
5072
obs_transition_video_render_direct = _obspython.obs_transition_video_render_direct
5073
5074
def obs_transition_audio_render(transition: 'obs_source_t *', ts_out: 'uint64_t *', audio: 'obs_source_audio_mix', mixers: 'uint32_t', channels: 'size_t', sample_rate: 'size_t', mix_a_callback: 'obs_transition_audio_mix_callback_t', mix_b_callback: 'obs_transition_audio_mix_callback_t') -> "bool":
5075
    return _obspython.obs_transition_audio_render(transition, ts_out, audio, mixers, channels, sample_rate, mix_a_callback, mix_b_callback)
5076
obs_transition_audio_render = _obspython.obs_transition_audio_render
5077
5078
def obs_transition_swap_begin(tr_dest: 'obs_source_t *', tr_source: 'obs_source_t *') -> "void":
5079
    return _obspython.obs_transition_swap_begin(tr_dest, tr_source)
5080
obs_transition_swap_begin = _obspython.obs_transition_swap_begin
5081
5082
def obs_transition_swap_end(tr_dest: 'obs_source_t *', tr_source: 'obs_source_t *') -> "void":
5083
    return _obspython.obs_transition_swap_end(tr_dest, tr_source)
5084
obs_transition_swap_end = _obspython.obs_transition_swap_end
5085
5086
def obs_scene_create(name: 'char const *') -> "obs_scene_t *":
5087
    return _obspython.obs_scene_create(name)
5088
obs_scene_create = _obspython.obs_scene_create
5089
5090
def obs_scene_create_private(name: 'char const *') -> "obs_scene_t *":
5091
    return _obspython.obs_scene_create_private(name)
5092
obs_scene_create_private = _obspython.obs_scene_create_private
5093
OBS_SCENE_DUP_REFS = _obspython.OBS_SCENE_DUP_REFS
5094
OBS_SCENE_DUP_COPY = _obspython.OBS_SCENE_DUP_COPY
5095
OBS_SCENE_DUP_PRIVATE_REFS = _obspython.OBS_SCENE_DUP_PRIVATE_REFS
5096
OBS_SCENE_DUP_PRIVATE_COPY = _obspython.OBS_SCENE_DUP_PRIVATE_COPY
5097
5098
def obs_scene_duplicate(scene: 'obs_scene_t *', name: 'char const *', type: 'enum obs_scene_duplicate_type') -> "obs_scene_t *":
5099
    return _obspython.obs_scene_duplicate(scene, name, type)
5100
obs_scene_duplicate = _obspython.obs_scene_duplicate
5101
5102
def obs_scene_addref(scene: 'obs_scene_t *') -> "void":
5103
    return _obspython.obs_scene_addref(scene)
5104
obs_scene_addref = _obspython.obs_scene_addref
5105
5106
def obs_scene_release(scene: 'obs_scene_t *') -> "void":
5107
    return _obspython.obs_scene_release(scene)
5108
obs_scene_release = _obspython.obs_scene_release
5109
5110
def obs_scene_get_source(scene: 'obs_scene_t const *') -> "obs_source_t *":
5111
    return _obspython.obs_scene_get_source(scene)
5112
obs_scene_get_source = _obspython.obs_scene_get_source
5113
5114
def obs_scene_from_source(source: 'obs_source_t const *') -> "obs_scene_t *":
5115
    return _obspython.obs_scene_from_source(source)
5116
obs_scene_from_source = _obspython.obs_scene_from_source
5117
5118
def obs_scene_find_source(scene: 'obs_scene_t *', name: 'char const *') -> "obs_sceneitem_t *":
5119
    return _obspython.obs_scene_find_source(scene, name)
5120
obs_scene_find_source = _obspython.obs_scene_find_source
5121
5122
def obs_scene_find_source_recursive(scene: 'obs_scene_t *', name: 'char const *') -> "obs_sceneitem_t *":
5123
    return _obspython.obs_scene_find_source_recursive(scene, name)
5124
obs_scene_find_source_recursive = _obspython.obs_scene_find_source_recursive
5125
5126
def obs_scene_find_sceneitem_by_id(scene: 'obs_scene_t *', id: 'int64_t') -> "obs_sceneitem_t *":
5127
    return _obspython.obs_scene_find_sceneitem_by_id(scene, id)
5128
obs_scene_find_sceneitem_by_id = _obspython.obs_scene_find_sceneitem_by_id
5129
5130
def obs_scene_enum_items(scene: 'obs_scene_t *', callback: 'bool (*)(obs_scene_t *,obs_sceneitem_t *,void *)', param: 'void *') -> "void":
5131
    return _obspython.obs_scene_enum_items(scene, callback, param)
5132
obs_scene_enum_items = _obspython.obs_scene_enum_items
5133
5134
def obs_scene_reorder_items(scene: 'obs_scene_t *', item_order: 'obs_sceneitem_t *const *', item_order_size: 'size_t') -> "bool":
5135
    return _obspython.obs_scene_reorder_items(scene, item_order, item_order_size)
5136
obs_scene_reorder_items = _obspython.obs_scene_reorder_items
5137
class obs_sceneitem_order_info(_object):
5138
    __swig_setmethods__ = {}
5139
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_sceneitem_order_info, name, value)
5140
    __swig_getmethods__ = {}
5141
    __getattr__ = lambda self, name: _swig_getattr(self, obs_sceneitem_order_info, name)
5142
    __repr__ = _swig_repr
5143
    __swig_setmethods__["group"] = _obspython.obs_sceneitem_order_info_group_set
5144
    __swig_getmethods__["group"] = _obspython.obs_sceneitem_order_info_group_get
5145
    if _newclass:
5146
        group = _swig_property(_obspython.obs_sceneitem_order_info_group_get, _obspython.obs_sceneitem_order_info_group_set)
5147
    __swig_setmethods__["item"] = _obspython.obs_sceneitem_order_info_item_set
5148
    __swig_getmethods__["item"] = _obspython.obs_sceneitem_order_info_item_get
5149
    if _newclass:
5150
        item = _swig_property(_obspython.obs_sceneitem_order_info_item_get, _obspython.obs_sceneitem_order_info_item_set)
5151
5152
    def __init__(self):
5153
        this = _obspython.new_obs_sceneitem_order_info()
5154
        try:
5155
            self.this.append(this)
5156
        except __builtin__.Exception:
5157
            self.this = this
5158
    __swig_destroy__ = _obspython.delete_obs_sceneitem_order_info
5159
    __del__ = lambda self: None
5160
obs_sceneitem_order_info_swigregister = _obspython.obs_sceneitem_order_info_swigregister
5161
obs_sceneitem_order_info_swigregister(obs_sceneitem_order_info)
5162
5163
5164
def obs_scene_reorder_items2(scene: 'obs_scene_t *', item_order: 'obs_sceneitem_order_info', item_order_size: 'size_t') -> "bool":
5165
    return _obspython.obs_scene_reorder_items2(scene, item_order, item_order_size)
5166
obs_scene_reorder_items2 = _obspython.obs_scene_reorder_items2
5167
5168
def obs_scene_add(scene: 'obs_scene_t *', source: 'obs_source_t *') -> "obs_sceneitem_t *":
5169
    return _obspython.obs_scene_add(scene, source)
5170
obs_scene_add = _obspython.obs_scene_add
5171
5172
def obs_scene_atomic_update(scene: 'obs_scene_t *', func: 'obs_scene_atomic_update_func', data: 'void *') -> "void":
5173
    return _obspython.obs_scene_atomic_update(scene, func, data)
5174
obs_scene_atomic_update = _obspython.obs_scene_atomic_update
5175
5176
def obs_sceneitem_addref(item: 'obs_sceneitem_t *') -> "void":
5177
    return _obspython.obs_sceneitem_addref(item)
5178
obs_sceneitem_addref = _obspython.obs_sceneitem_addref
5179
5180
def obs_sceneitem_release(item: 'obs_sceneitem_t *') -> "void":
5181
    return _obspython.obs_sceneitem_release(item)
5182
obs_sceneitem_release = _obspython.obs_sceneitem_release
5183
5184
def obs_sceneitem_remove(item: 'obs_sceneitem_t *') -> "void":
5185
    return _obspython.obs_sceneitem_remove(item)
5186
obs_sceneitem_remove = _obspython.obs_sceneitem_remove
5187
5188
def obs_sceneitem_get_scene(item: 'obs_sceneitem_t const *') -> "obs_scene_t *":
5189
    return _obspython.obs_sceneitem_get_scene(item)
5190
obs_sceneitem_get_scene = _obspython.obs_sceneitem_get_scene
5191
5192
def obs_sceneitem_get_source(item: 'obs_sceneitem_t const *') -> "obs_source_t *":
5193
    return _obspython.obs_sceneitem_get_source(item)
5194
obs_sceneitem_get_source = _obspython.obs_sceneitem_get_source
5195
5196
def obs_sceneitem_select(item: 'obs_sceneitem_t *', select: 'bool') -> "void":
5197
    return _obspython.obs_sceneitem_select(item, select)
5198
obs_sceneitem_select = _obspython.obs_sceneitem_select
5199
5200
def obs_sceneitem_selected(item: 'obs_sceneitem_t const *') -> "bool":
5201
    return _obspython.obs_sceneitem_selected(item)
5202
obs_sceneitem_selected = _obspython.obs_sceneitem_selected
5203
5204
def obs_sceneitem_locked(item: 'obs_sceneitem_t const *') -> "bool":
5205
    return _obspython.obs_sceneitem_locked(item)
5206
obs_sceneitem_locked = _obspython.obs_sceneitem_locked
5207
5208
def obs_sceneitem_set_locked(item: 'obs_sceneitem_t *', lock: 'bool') -> "bool":
5209
    return _obspython.obs_sceneitem_set_locked(item, lock)
5210
obs_sceneitem_set_locked = _obspython.obs_sceneitem_set_locked
5211
5212
def obs_sceneitem_set_pos(item: 'obs_sceneitem_t *', pos: 'vec2') -> "void":
5213
    return _obspython.obs_sceneitem_set_pos(item, pos)
5214
obs_sceneitem_set_pos = _obspython.obs_sceneitem_set_pos
5215
5216
def obs_sceneitem_set_rot(item: 'obs_sceneitem_t *', rot_deg: 'float') -> "void":
5217
    return _obspython.obs_sceneitem_set_rot(item, rot_deg)
5218
obs_sceneitem_set_rot = _obspython.obs_sceneitem_set_rot
5219
5220
def obs_sceneitem_set_scale(item: 'obs_sceneitem_t *', scale: 'vec2') -> "void":
5221
    return _obspython.obs_sceneitem_set_scale(item, scale)
5222
obs_sceneitem_set_scale = _obspython.obs_sceneitem_set_scale
5223
5224
def obs_sceneitem_set_alignment(item: 'obs_sceneitem_t *', alignment: 'uint32_t') -> "void":
5225
    return _obspython.obs_sceneitem_set_alignment(item, alignment)
5226
obs_sceneitem_set_alignment = _obspython.obs_sceneitem_set_alignment
5227
5228
def obs_sceneitem_set_order(item: 'obs_sceneitem_t *', movement: 'enum obs_order_movement') -> "void":
5229
    return _obspython.obs_sceneitem_set_order(item, movement)
5230
obs_sceneitem_set_order = _obspython.obs_sceneitem_set_order
5231
5232
def obs_sceneitem_set_order_position(item: 'obs_sceneitem_t *', position: 'int') -> "void":
5233
    return _obspython.obs_sceneitem_set_order_position(item, position)
5234
obs_sceneitem_set_order_position = _obspython.obs_sceneitem_set_order_position
5235
5236
def obs_sceneitem_set_bounds_type(item: 'obs_sceneitem_t *', type: 'enum obs_bounds_type') -> "void":
5237
    return _obspython.obs_sceneitem_set_bounds_type(item, type)
5238
obs_sceneitem_set_bounds_type = _obspython.obs_sceneitem_set_bounds_type
5239
5240
def obs_sceneitem_set_bounds_alignment(item: 'obs_sceneitem_t *', alignment: 'uint32_t') -> "void":
5241
    return _obspython.obs_sceneitem_set_bounds_alignment(item, alignment)
5242
obs_sceneitem_set_bounds_alignment = _obspython.obs_sceneitem_set_bounds_alignment
5243
5244
def obs_sceneitem_set_bounds(item: 'obs_sceneitem_t *', bounds: 'vec2') -> "void":
5245
    return _obspython.obs_sceneitem_set_bounds(item, bounds)
5246
obs_sceneitem_set_bounds = _obspython.obs_sceneitem_set_bounds
5247
5248
def obs_sceneitem_get_id(item: 'obs_sceneitem_t const *') -> "int64_t":
5249
    return _obspython.obs_sceneitem_get_id(item)
5250
obs_sceneitem_get_id = _obspython.obs_sceneitem_get_id
5251
5252
def obs_sceneitem_get_pos(item: 'obs_sceneitem_t const *', pos: 'vec2') -> "void":
5253
    return _obspython.obs_sceneitem_get_pos(item, pos)
5254
obs_sceneitem_get_pos = _obspython.obs_sceneitem_get_pos
5255
5256
def obs_sceneitem_get_rot(item: 'obs_sceneitem_t const *') -> "float":
5257
    return _obspython.obs_sceneitem_get_rot(item)
5258
obs_sceneitem_get_rot = _obspython.obs_sceneitem_get_rot
5259
5260
def obs_sceneitem_get_scale(item: 'obs_sceneitem_t const *', scale: 'vec2') -> "void":
5261
    return _obspython.obs_sceneitem_get_scale(item, scale)
5262
obs_sceneitem_get_scale = _obspython.obs_sceneitem_get_scale
5263
5264
def obs_sceneitem_get_alignment(item: 'obs_sceneitem_t const *') -> "uint32_t":
5265
    return _obspython.obs_sceneitem_get_alignment(item)
5266
obs_sceneitem_get_alignment = _obspython.obs_sceneitem_get_alignment
5267
5268
def obs_sceneitem_get_bounds_type(item: 'obs_sceneitem_t const *') -> "enum obs_bounds_type":
5269
    return _obspython.obs_sceneitem_get_bounds_type(item)
5270
obs_sceneitem_get_bounds_type = _obspython.obs_sceneitem_get_bounds_type
5271
5272
def obs_sceneitem_get_bounds_alignment(item: 'obs_sceneitem_t const *') -> "uint32_t":
5273
    return _obspython.obs_sceneitem_get_bounds_alignment(item)
5274
obs_sceneitem_get_bounds_alignment = _obspython.obs_sceneitem_get_bounds_alignment
5275
5276
def obs_sceneitem_get_bounds(item: 'obs_sceneitem_t const *', bounds: 'vec2') -> "void":
5277
    return _obspython.obs_sceneitem_get_bounds(item, bounds)
5278
obs_sceneitem_get_bounds = _obspython.obs_sceneitem_get_bounds
5279
5280
def obs_sceneitem_get_info(item: 'obs_sceneitem_t const *', info: 'obs_transform_info') -> "void":
5281
    return _obspython.obs_sceneitem_get_info(item, info)
5282
obs_sceneitem_get_info = _obspython.obs_sceneitem_get_info
5283
5284
def obs_sceneitem_set_info(item: 'obs_sceneitem_t *', info: 'obs_transform_info') -> "void":
5285
    return _obspython.obs_sceneitem_set_info(item, info)
5286
obs_sceneitem_set_info = _obspython.obs_sceneitem_set_info
5287
5288
def obs_sceneitem_get_draw_transform(item: 'obs_sceneitem_t const *', transform: 'matrix4') -> "void":
5289
    return _obspython.obs_sceneitem_get_draw_transform(item, transform)
5290
obs_sceneitem_get_draw_transform = _obspython.obs_sceneitem_get_draw_transform
5291
5292
def obs_sceneitem_get_box_transform(item: 'obs_sceneitem_t const *', transform: 'matrix4') -> "void":
5293
    return _obspython.obs_sceneitem_get_box_transform(item, transform)
5294
obs_sceneitem_get_box_transform = _obspython.obs_sceneitem_get_box_transform
5295
5296
def obs_sceneitem_get_box_scale(item: 'obs_sceneitem_t const *', scale: 'vec2') -> "void":
5297
    return _obspython.obs_sceneitem_get_box_scale(item, scale)
5298
obs_sceneitem_get_box_scale = _obspython.obs_sceneitem_get_box_scale
5299
5300
def obs_sceneitem_visible(item: 'obs_sceneitem_t const *') -> "bool":
5301
    return _obspython.obs_sceneitem_visible(item)
5302
obs_sceneitem_visible = _obspython.obs_sceneitem_visible
5303
5304
def obs_sceneitem_set_visible(item: 'obs_sceneitem_t *', visible: 'bool') -> "bool":
5305
    return _obspython.obs_sceneitem_set_visible(item, visible)
5306
obs_sceneitem_set_visible = _obspython.obs_sceneitem_set_visible
5307
class obs_sceneitem_crop(_object):
5308
    __swig_setmethods__ = {}
5309
    __setattr__ = lambda self, name, value: _swig_setattr(self, obs_sceneitem_crop, name, value)
5310
    __swig_getmethods__ = {}
5311
    __getattr__ = lambda self, name: _swig_getattr(self, obs_sceneitem_crop, name)
5312
    __repr__ = _swig_repr
5313
    __swig_setmethods__["left"] = _obspython.obs_sceneitem_crop_left_set
5314
    __swig_getmethods__["left"] = _obspython.obs_sceneitem_crop_left_get
5315
    if _newclass:
5316
        left = _swig_property(_obspython.obs_sceneitem_crop_left_get, _obspython.obs_sceneitem_crop_left_set)
5317
    __swig_setmethods__["top"] = _obspython.obs_sceneitem_crop_top_set
5318
    __swig_getmethods__["top"] = _obspython.obs_sceneitem_crop_top_get
5319
    if _newclass:
5320
        top = _swig_property(_obspython.obs_sceneitem_crop_top_get, _obspython.obs_sceneitem_crop_top_set)
5321
    __swig_setmethods__["right"] = _obspython.obs_sceneitem_crop_right_set
5322
    __swig_getmethods__["right"] = _obspython.obs_sceneitem_crop_right_get
5323
    if _newclass:
5324
        right = _swig_property(_obspython.obs_sceneitem_crop_right_get, _obspython.obs_sceneitem_crop_right_set)
5325
    __swig_setmethods__["bottom"] = _obspython.obs_sceneitem_crop_bottom_set
5326
    __swig_getmethods__["bottom"] = _obspython.obs_sceneitem_crop_bottom_get
5327
    if _newclass:
5328
        bottom = _swig_property(_obspython.obs_sceneitem_crop_bottom_get, _obspython.obs_sceneitem_crop_bottom_set)
5329
5330
    def __init__(self):
5331
        this = _obspython.new_obs_sceneitem_crop()
5332
        try:
5333
            self.this.append(this)
5334
        except __builtin__.Exception:
5335
            self.this = this
5336
    __swig_destroy__ = _obspython.delete_obs_sceneitem_crop
5337
    __del__ = lambda self: None
5338
obs_sceneitem_crop_swigregister = _obspython.obs_sceneitem_crop_swigregister
5339
obs_sceneitem_crop_swigregister(obs_sceneitem_crop)
5340
5341
5342
def obs_sceneitem_set_crop(item: 'obs_sceneitem_t *', crop: 'obs_sceneitem_crop') -> "void":
5343
    return _obspython.obs_sceneitem_set_crop(item, crop)
5344
obs_sceneitem_set_crop = _obspython.obs_sceneitem_set_crop
5345
5346
def obs_sceneitem_get_crop(item: 'obs_sceneitem_t const *', crop: 'obs_sceneitem_crop') -> "void":
5347
    return _obspython.obs_sceneitem_get_crop(item, crop)
5348
obs_sceneitem_get_crop = _obspython.obs_sceneitem_get_crop
5349
5350
def obs_sceneitem_set_scale_filter(item: 'obs_sceneitem_t *', filter: 'enum obs_scale_type') -> "void":
5351
    return _obspython.obs_sceneitem_set_scale_filter(item, filter)
5352
obs_sceneitem_set_scale_filter = _obspython.obs_sceneitem_set_scale_filter
5353
5354
def obs_sceneitem_get_scale_filter(item: 'obs_sceneitem_t *') -> "enum obs_scale_type":
5355
    return _obspython.obs_sceneitem_get_scale_filter(item)
5356
obs_sceneitem_get_scale_filter = _obspython.obs_sceneitem_get_scale_filter
5357
5358
def obs_sceneitem_force_update_transform(item: 'obs_sceneitem_t *') -> "void":
5359
    return _obspython.obs_sceneitem_force_update_transform(item)
5360
obs_sceneitem_force_update_transform = _obspython.obs_sceneitem_force_update_transform
5361
5362
def obs_sceneitem_defer_update_begin(item: 'obs_sceneitem_t *') -> "void":
5363
    return _obspython.obs_sceneitem_defer_update_begin(item)
5364
obs_sceneitem_defer_update_begin = _obspython.obs_sceneitem_defer_update_begin
5365
5366
def obs_sceneitem_defer_update_end(item: 'obs_sceneitem_t *') -> "void":
5367
    return _obspython.obs_sceneitem_defer_update_end(item)
5368
obs_sceneitem_defer_update_end = _obspython.obs_sceneitem_defer_update_end
5369
5370
def obs_sceneitem_get_private_settings(item: 'obs_sceneitem_t *') -> "obs_data_t *":
5371
    return _obspython.obs_sceneitem_get_private_settings(item)
5372
obs_sceneitem_get_private_settings = _obspython.obs_sceneitem_get_private_settings
5373
5374
def obs_scene_add_group(scene: 'obs_scene_t *', name: 'char const *') -> "obs_sceneitem_t *":
5375
    return _obspython.obs_scene_add_group(scene, name)
5376
obs_scene_add_group = _obspython.obs_scene_add_group
5377
5378
def obs_scene_insert_group(scene: 'obs_scene_t *', name: 'char const *', items: 'obs_sceneitem_t **', count: 'size_t') -> "obs_sceneitem_t *":
5379
    return _obspython.obs_scene_insert_group(scene, name, items, count)
5380
obs_scene_insert_group = _obspython.obs_scene_insert_group
5381
5382
def obs_scene_add_group2(scene: 'obs_scene_t *', name: 'char const *', signal: 'bool') -> "obs_sceneitem_t *":
5383
    return _obspython.obs_scene_add_group2(scene, name, signal)
5384
obs_scene_add_group2 = _obspython.obs_scene_add_group2
5385
5386
def obs_scene_insert_group2(scene: 'obs_scene_t *', name: 'char const *', items: 'obs_sceneitem_t **', count: 'size_t', signal: 'bool') -> "obs_sceneitem_t *":
5387
    return _obspython.obs_scene_insert_group2(scene, name, items, count, signal)
5388
obs_scene_insert_group2 = _obspython.obs_scene_insert_group2
5389
5390
def obs_scene_get_group(scene: 'obs_scene_t *', name: 'char const *') -> "obs_sceneitem_t *":
5391
    return _obspython.obs_scene_get_group(scene, name)
5392
obs_scene_get_group = _obspython.obs_scene_get_group
5393
5394
def obs_sceneitem_is_group(item: 'obs_sceneitem_t *') -> "bool":
5395
    return _obspython.obs_sceneitem_is_group(item)
5396
obs_sceneitem_is_group = _obspython.obs_sceneitem_is_group
5397
5398
def obs_sceneitem_group_get_scene(group: 'obs_sceneitem_t const *') -> "obs_scene_t *":
5399
    return _obspython.obs_sceneitem_group_get_scene(group)
5400
obs_sceneitem_group_get_scene = _obspython.obs_sceneitem_group_get_scene
5401
5402
def obs_sceneitem_group_ungroup(group: 'obs_sceneitem_t *') -> "void":
5403
    return _obspython.obs_sceneitem_group_ungroup(group)
5404
obs_sceneitem_group_ungroup = _obspython.obs_sceneitem_group_ungroup
5405
5406
def obs_sceneitem_group_ungroup2(group: 'obs_sceneitem_t *', signal: 'bool') -> "void":
5407
    return _obspython.obs_sceneitem_group_ungroup2(group, signal)
5408
obs_sceneitem_group_ungroup2 = _obspython.obs_sceneitem_group_ungroup2
5409
5410
def obs_sceneitem_group_add_item(group: 'obs_sceneitem_t *', item: 'obs_sceneitem_t *') -> "void":
5411
    return _obspython.obs_sceneitem_group_add_item(group, item)
5412
obs_sceneitem_group_add_item = _obspython.obs_sceneitem_group_add_item
5413
5414
def obs_sceneitem_group_remove_item(group: 'obs_sceneitem_t *', item: 'obs_sceneitem_t *') -> "void":
5415
    return _obspython.obs_sceneitem_group_remove_item(group, item)
5416
obs_sceneitem_group_remove_item = _obspython.obs_sceneitem_group_remove_item
5417
5418
def obs_sceneitem_get_group(scene: 'obs_scene_t *', item: 'obs_sceneitem_t *') -> "obs_sceneitem_t *":
5419
    return _obspython.obs_sceneitem_get_group(scene, item)
5420
obs_sceneitem_get_group = _obspython.obs_sceneitem_get_group
5421
5422
def obs_source_is_group(source: 'obs_source_t const *') -> "bool":
5423
    return _obspython.obs_source_is_group(source)
5424
obs_source_is_group = _obspython.obs_source_is_group
5425
5426
def obs_scene_is_group(scene: 'obs_scene_t const *') -> "bool":
5427
    return _obspython.obs_scene_is_group(scene)
5428
obs_scene_is_group = _obspython.obs_scene_is_group
5429
5430
def obs_sceneitem_group_enum_items(group: 'obs_sceneitem_t *', callback: 'bool (*)(obs_scene_t *,obs_sceneitem_t *,void *)', param: 'void *') -> "void":
5431
    return _obspython.obs_sceneitem_group_enum_items(group, callback, param)
5432
obs_sceneitem_group_enum_items = _obspython.obs_sceneitem_group_enum_items
5433
5434
def obs_group_from_source(source: 'obs_source_t const *') -> "obs_scene_t *":
5435
    return _obspython.obs_group_from_source(source)
5436
obs_group_from_source = _obspython.obs_group_from_source
5437
5438
def obs_sceneitem_defer_group_resize_begin(item: 'obs_sceneitem_t *') -> "void":
5439
    return _obspython.obs_sceneitem_defer_group_resize_begin(item)
5440
obs_sceneitem_defer_group_resize_begin = _obspython.obs_sceneitem_defer_group_resize_begin
5441
5442
def obs_sceneitem_defer_group_resize_end(item: 'obs_sceneitem_t *') -> "void":
5443
    return _obspython.obs_sceneitem_defer_group_resize_end(item)
5444
obs_sceneitem_defer_group_resize_end = _obspython.obs_sceneitem_defer_group_resize_end
5445
5446
def obs_output_get_display_name(id: 'char const *') -> "char const *":
5447
    return _obspython.obs_output_get_display_name(id)
5448
obs_output_get_display_name = _obspython.obs_output_get_display_name
5449
5450
def obs_output_create(id: 'char const *', name: 'char const *', settings: 'obs_data_t *', hotkey_data: 'obs_data_t *') -> "obs_output_t *":
5451
    return _obspython.obs_output_create(id, name, settings, hotkey_data)
5452
obs_output_create = _obspython.obs_output_create
5453
5454
def obs_output_addref(output: 'obs_output_t *') -> "void":
5455
    return _obspython.obs_output_addref(output)
5456
obs_output_addref = _obspython.obs_output_addref
5457
5458
def obs_output_release(output: 'obs_output_t *') -> "void":
5459
    return _obspython.obs_output_release(output)
5460
obs_output_release = _obspython.obs_output_release
5461
5462
def obs_weak_output_addref(weak: 'obs_weak_output_t *') -> "void":
5463
    return _obspython.obs_weak_output_addref(weak)
5464
obs_weak_output_addref = _obspython.obs_weak_output_addref
5465
5466
def obs_weak_output_release(weak: 'obs_weak_output_t *') -> "void":
5467
    return _obspython.obs_weak_output_release(weak)
5468
obs_weak_output_release = _obspython.obs_weak_output_release
5469
5470
def obs_output_get_ref(output: 'obs_output_t *') -> "obs_output_t *":
5471
    return _obspython.obs_output_get_ref(output)
5472
obs_output_get_ref = _obspython.obs_output_get_ref
5473
5474
def obs_output_get_weak_output(output: 'obs_output_t *') -> "obs_weak_output_t *":
5475
    return _obspython.obs_output_get_weak_output(output)
5476
obs_output_get_weak_output = _obspython.obs_output_get_weak_output
5477
5478
def obs_weak_output_get_output(weak: 'obs_weak_output_t *') -> "obs_output_t *":
5479
    return _obspython.obs_weak_output_get_output(weak)
5480
obs_weak_output_get_output = _obspython.obs_weak_output_get_output
5481
5482
def obs_weak_output_references_output(weak: 'obs_weak_output_t *', output: 'obs_output_t *') -> "bool":
5483
    return _obspython.obs_weak_output_references_output(weak, output)
5484
obs_weak_output_references_output = _obspython.obs_weak_output_references_output
5485
5486
def obs_output_get_name(output: 'obs_output_t const *') -> "char const *":
5487
    return _obspython.obs_output_get_name(output)
5488
obs_output_get_name = _obspython.obs_output_get_name
5489
5490
def obs_output_start(output: 'obs_output_t *') -> "bool":
5491
    return _obspython.obs_output_start(output)
5492
obs_output_start = _obspython.obs_output_start
5493
5494
def obs_output_stop(output: 'obs_output_t *') -> "void":
5495
    return _obspython.obs_output_stop(output)
5496
obs_output_stop = _obspython.obs_output_stop
5497
OBS_OUTPUT_DELAY_PRESERVE = _obspython.OBS_OUTPUT_DELAY_PRESERVE
5498
5499
def obs_output_set_delay(output: 'obs_output_t *', delay_sec: 'uint32_t', flags: 'uint32_t') -> "void":
5500
    return _obspython.obs_output_set_delay(output, delay_sec, flags)
5501
obs_output_set_delay = _obspython.obs_output_set_delay
5502
5503
def obs_output_get_delay(output: 'obs_output_t const *') -> "uint32_t":
5504
    return _obspython.obs_output_get_delay(output)
5505
obs_output_get_delay = _obspython.obs_output_get_delay
5506
5507
def obs_output_get_active_delay(output: 'obs_output_t const *') -> "uint32_t":
5508
    return _obspython.obs_output_get_active_delay(output)
5509
obs_output_get_active_delay = _obspython.obs_output_get_active_delay
5510
5511
def obs_output_force_stop(output: 'obs_output_t *') -> "void":
5512
    return _obspython.obs_output_force_stop(output)
5513
obs_output_force_stop = _obspython.obs_output_force_stop
5514
5515
def obs_output_active(output: 'obs_output_t const *') -> "bool":
5516
    return _obspython.obs_output_active(output)
5517
obs_output_active = _obspython.obs_output_active
5518
5519
def obs_output_get_flags(output: 'obs_output_t const *') -> "uint32_t":
5520
    return _obspython.obs_output_get_flags(output)
5521
obs_output_get_flags = _obspython.obs_output_get_flags
5522
5523
def obs_get_output_flags(id: 'char const *') -> "uint32_t":
5524
    return _obspython.obs_get_output_flags(id)
5525
obs_get_output_flags = _obspython.obs_get_output_flags
5526
5527
def obs_output_defaults(id: 'char const *') -> "obs_data_t *":
5528
    return _obspython.obs_output_defaults(id)
5529
obs_output_defaults = _obspython.obs_output_defaults
5530
5531
def obs_get_output_properties(id: 'char const *') -> "obs_properties_t *":
5532
    return _obspython.obs_get_output_properties(id)
5533
obs_get_output_properties = _obspython.obs_get_output_properties
5534
5535
def obs_output_properties(output: 'obs_output_t const *') -> "obs_properties_t *":
5536
    return _obspython.obs_output_properties(output)
5537
obs_output_properties = _obspython.obs_output_properties
5538
5539
def obs_output_update(output: 'obs_output_t *', settings: 'obs_data_t *') -> "void":
5540
    return _obspython.obs_output_update(output, settings)
5541
obs_output_update = _obspython.obs_output_update
5542
5543
def obs_output_can_pause(output: 'obs_output_t const *') -> "bool":
5544
    return _obspython.obs_output_can_pause(output)
5545
obs_output_can_pause = _obspython.obs_output_can_pause
5546
5547
def obs_output_pause(output: 'obs_output_t *', pause: 'bool') -> "bool":
5548
    return _obspython.obs_output_pause(output, pause)
5549
obs_output_pause = _obspython.obs_output_pause
5550
5551
def obs_output_paused(output: 'obs_output_t const *') -> "bool":
5552
    return _obspython.obs_output_paused(output)
5553
obs_output_paused = _obspython.obs_output_paused
5554
5555
def obs_output_get_settings(output: 'obs_output_t const *') -> "obs_data_t *":
5556
    return _obspython.obs_output_get_settings(output)
5557
obs_output_get_settings = _obspython.obs_output_get_settings
5558
5559
def obs_output_get_signal_handler(output: 'obs_output_t const *') -> "signal_handler_t *":
5560
    return _obspython.obs_output_get_signal_handler(output)
5561
obs_output_get_signal_handler = _obspython.obs_output_get_signal_handler
5562
5563
def obs_output_get_proc_handler(output: 'obs_output_t const *') -> "proc_handler_t *":
5564
    return _obspython.obs_output_get_proc_handler(output)
5565
obs_output_get_proc_handler = _obspython.obs_output_get_proc_handler
5566
5567
def obs_output_set_media(output: 'obs_output_t *', video: 'video_t *', audio: 'audio_t *') -> "void":
5568
    return _obspython.obs_output_set_media(output, video, audio)
5569
obs_output_set_media = _obspython.obs_output_set_media
5570
5571
def obs_output_audio(output: 'obs_output_t const *') -> "audio_t *":
5572
    return _obspython.obs_output_audio(output)
5573
obs_output_audio = _obspython.obs_output_audio
5574
5575
def obs_output_set_mixer(output: 'obs_output_t *', mixer_idx: 'size_t') -> "void":
5576
    return _obspython.obs_output_set_mixer(output, mixer_idx)
5577
obs_output_set_mixer = _obspython.obs_output_set_mixer
5578
5579
def obs_output_get_mixer(output: 'obs_output_t const *') -> "size_t":
5580
    return _obspython.obs_output_get_mixer(output)
5581
obs_output_get_mixer = _obspython.obs_output_get_mixer
5582
5583
def obs_output_set_mixers(output: 'obs_output_t *', mixers: 'size_t') -> "void":
5584
    return _obspython.obs_output_set_mixers(output, mixers)
5585
obs_output_set_mixers = _obspython.obs_output_set_mixers
5586
5587
def obs_output_get_mixers(output: 'obs_output_t const *') -> "size_t":
5588
    return _obspython.obs_output_get_mixers(output)
5589
obs_output_get_mixers = _obspython.obs_output_get_mixers
5590
5591
def obs_output_set_video_encoder(output: 'obs_output_t *', encoder: 'obs_encoder_t *') -> "void":
5592
    return _obspython.obs_output_set_video_encoder(output, encoder)
5593
obs_output_set_video_encoder = _obspython.obs_output_set_video_encoder
5594
5595
def obs_output_set_audio_encoder(output: 'obs_output_t *', encoder: 'obs_encoder_t *', idx: 'size_t') -> "void":
5596
    return _obspython.obs_output_set_audio_encoder(output, encoder, idx)
5597
obs_output_set_audio_encoder = _obspython.obs_output_set_audio_encoder
5598
5599
def obs_output_get_video_encoder(output: 'obs_output_t const *') -> "obs_encoder_t *":
5600
    return _obspython.obs_output_get_video_encoder(output)
5601
obs_output_get_video_encoder = _obspython.obs_output_get_video_encoder
5602
5603
def obs_output_get_audio_encoder(output: 'obs_output_t const *', idx: 'size_t') -> "obs_encoder_t *":
5604
    return _obspython.obs_output_get_audio_encoder(output, idx)
5605
obs_output_get_audio_encoder = _obspython.obs_output_get_audio_encoder
5606
5607
def obs_output_set_service(output: 'obs_output_t *', service: 'obs_service_t *') -> "void":
5608
    return _obspython.obs_output_set_service(output, service)
5609
obs_output_set_service = _obspython.obs_output_set_service
5610
5611
def obs_output_get_service(output: 'obs_output_t const *') -> "obs_service_t *":
5612
    return _obspython.obs_output_get_service(output)
5613
obs_output_get_service = _obspython.obs_output_get_service
5614
5615
def obs_output_set_reconnect_settings(output: 'obs_output_t *', retry_count: 'int', retry_sec: 'int') -> "void":
5616
    return _obspython.obs_output_set_reconnect_settings(output, retry_count, retry_sec)
5617
obs_output_set_reconnect_settings = _obspython.obs_output_set_reconnect_settings
5618
5619
def obs_output_get_total_bytes(output: 'obs_output_t const *') -> "uint64_t":
5620
    return _obspython.obs_output_get_total_bytes(output)
5621
obs_output_get_total_bytes = _obspython.obs_output_get_total_bytes
5622
5623
def obs_output_get_frames_dropped(output: 'obs_output_t const *') -> "int":
5624
    return _obspython.obs_output_get_frames_dropped(output)
5625
obs_output_get_frames_dropped = _obspython.obs_output_get_frames_dropped
5626
5627
def obs_output_get_total_frames(output: 'obs_output_t const *') -> "int":
5628
    return _obspython.obs_output_get_total_frames(output)
5629
obs_output_get_total_frames = _obspython.obs_output_get_total_frames
5630
5631
def obs_output_set_preferred_size(output: 'obs_output_t *', width: 'uint32_t', height: 'uint32_t') -> "void":
5632
    return _obspython.obs_output_set_preferred_size(output, width, height)
5633
obs_output_set_preferred_size = _obspython.obs_output_set_preferred_size
5634
5635
def obs_output_get_width(output: 'obs_output_t const *') -> "uint32_t":
5636
    return _obspython.obs_output_get_width(output)
5637
obs_output_get_width = _obspython.obs_output_get_width
5638
5639
def obs_output_get_height(output: 'obs_output_t const *') -> "uint32_t":
5640
    return _obspython.obs_output_get_height(output)
5641
obs_output_get_height = _obspython.obs_output_get_height
5642
5643
def obs_output_get_id(output: 'obs_output_t const *') -> "char const *":
5644
    return _obspython.obs_output_get_id(output)
5645
obs_output_get_id = _obspython.obs_output_get_id
5646
5647
def obs_output_output_caption_text1(output: 'obs_output_t *', text: 'char const *') -> "void":
5648
    return _obspython.obs_output_output_caption_text1(output, text)
5649
obs_output_output_caption_text1 = _obspython.obs_output_output_caption_text1
5650
5651
def obs_output_output_caption_text2(output: 'obs_output_t *', text: 'char const *', display_duration: 'double') -> "void":
5652
    return _obspython.obs_output_output_caption_text2(output, text, display_duration)
5653
obs_output_output_caption_text2 = _obspython.obs_output_output_caption_text2
5654
5655
def obs_output_get_congestion(output: 'obs_output_t *') -> "float":
5656
    return _obspython.obs_output_get_congestion(output)
5657
obs_output_get_congestion = _obspython.obs_output_get_congestion
5658
5659
def obs_output_get_connect_time_ms(output: 'obs_output_t *') -> "int":
5660
    return _obspython.obs_output_get_connect_time_ms(output)
5661
obs_output_get_connect_time_ms = _obspython.obs_output_get_connect_time_ms
5662
5663
def obs_output_reconnecting(output: 'obs_output_t const *') -> "bool":
5664
    return _obspython.obs_output_reconnecting(output)
5665
obs_output_reconnecting = _obspython.obs_output_reconnecting
5666
5667
def obs_output_set_last_error(output: 'obs_output_t *', message: 'char const *') -> "void":
5668
    return _obspython.obs_output_set_last_error(output, message)
5669
obs_output_set_last_error = _obspython.obs_output_set_last_error
5670
5671
def obs_output_get_last_error(output: 'obs_output_t *') -> "char const *":
5672
    return _obspython.obs_output_get_last_error(output)
5673
obs_output_get_last_error = _obspython.obs_output_get_last_error
5674
5675
def obs_output_get_supported_video_codecs(output: 'obs_output_t const *') -> "char const *":
5676
    return _obspython.obs_output_get_supported_video_codecs(output)
5677
obs_output_get_supported_video_codecs = _obspython.obs_output_get_supported_video_codecs
5678
5679
def obs_output_get_supported_audio_codecs(output: 'obs_output_t const *') -> "char const *":
5680
    return _obspython.obs_output_get_supported_audio_codecs(output)
5681
obs_output_get_supported_audio_codecs = _obspython.obs_output_get_supported_audio_codecs
5682
5683
def obs_output_get_type_data(output: 'obs_output_t *') -> "void *":
5684
    return _obspython.obs_output_get_type_data(output)
5685
obs_output_get_type_data = _obspython.obs_output_get_type_data
5686
5687
def obs_output_set_video_conversion(output: 'obs_output_t *', conversion: 'struct video_scale_info const *') -> "void":
5688
    return _obspython.obs_output_set_video_conversion(output, conversion)
5689
obs_output_set_video_conversion = _obspython.obs_output_set_video_conversion
5690
5691
def obs_output_set_audio_conversion(output: 'obs_output_t *', conversion: 'struct audio_convert_info const *') -> "void":
5692
    return _obspython.obs_output_set_audio_conversion(output, conversion)
5693
obs_output_set_audio_conversion = _obspython.obs_output_set_audio_conversion
5694
5695
def obs_output_can_begin_data_capture(output: 'obs_output_t const *', flags: 'uint32_t') -> "bool":
5696
    return _obspython.obs_output_can_begin_data_capture(output, flags)
5697
obs_output_can_begin_data_capture = _obspython.obs_output_can_begin_data_capture
5698
5699
def obs_output_initialize_encoders(output: 'obs_output_t *', flags: 'uint32_t') -> "bool":
5700
    return _obspython.obs_output_initialize_encoders(output, flags)
5701
obs_output_initialize_encoders = _obspython.obs_output_initialize_encoders
5702
5703
def obs_output_begin_data_capture(output: 'obs_output_t *', flags: 'uint32_t') -> "bool":
5704
    return _obspython.obs_output_begin_data_capture(output, flags)
5705
obs_output_begin_data_capture = _obspython.obs_output_begin_data_capture
5706
5707
def obs_output_end_data_capture(output: 'obs_output_t *') -> "void":
5708
    return _obspython.obs_output_end_data_capture(output)
5709
obs_output_end_data_capture = _obspython.obs_output_end_data_capture
5710
5711
def obs_output_signal_stop(output: 'obs_output_t *', code: 'int') -> "void":
5712
    return _obspython.obs_output_signal_stop(output, code)
5713
obs_output_signal_stop = _obspython.obs_output_signal_stop
5714
5715
def obs_output_get_pause_offset(output: 'obs_output_t *') -> "uint64_t":
5716
    return _obspython.obs_output_get_pause_offset(output)
5717
obs_output_get_pause_offset = _obspython.obs_output_get_pause_offset
5718
5719
def obs_encoder_get_display_name(id: 'char const *') -> "char const *":
5720
    return _obspython.obs_encoder_get_display_name(id)
5721
obs_encoder_get_display_name = _obspython.obs_encoder_get_display_name
5722
5723
def obs_video_encoder_create(id: 'char const *', name: 'char const *', settings: 'obs_data_t *', hotkey_data: 'obs_data_t *') -> "obs_encoder_t *":
5724
    return _obspython.obs_video_encoder_create(id, name, settings, hotkey_data)
5725
obs_video_encoder_create = _obspython.obs_video_encoder_create
5726
5727
def obs_audio_encoder_create(id: 'char const *', name: 'char const *', settings: 'obs_data_t *', mixer_idx: 'size_t', hotkey_data: 'obs_data_t *') -> "obs_encoder_t *":
5728
    return _obspython.obs_audio_encoder_create(id, name, settings, mixer_idx, hotkey_data)
5729
obs_audio_encoder_create = _obspython.obs_audio_encoder_create
5730
5731
def obs_encoder_addref(encoder: 'obs_encoder_t *') -> "void":
5732
    return _obspython.obs_encoder_addref(encoder)
5733
obs_encoder_addref = _obspython.obs_encoder_addref
5734
5735
def obs_encoder_release(encoder: 'obs_encoder_t *') -> "void":
5736
    return _obspython.obs_encoder_release(encoder)
5737
obs_encoder_release = _obspython.obs_encoder_release
5738
5739
def obs_weak_encoder_addref(weak: 'obs_weak_encoder_t *') -> "void":
5740
    return _obspython.obs_weak_encoder_addref(weak)
5741
obs_weak_encoder_addref = _obspython.obs_weak_encoder_addref
5742
5743
def obs_weak_encoder_release(weak: 'obs_weak_encoder_t *') -> "void":
5744
    return _obspython.obs_weak_encoder_release(weak)
5745
obs_weak_encoder_release = _obspython.obs_weak_encoder_release
5746
5747
def obs_encoder_get_ref(encoder: 'obs_encoder_t *') -> "obs_encoder_t *":
5748
    return _obspython.obs_encoder_get_ref(encoder)
5749
obs_encoder_get_ref = _obspython.obs_encoder_get_ref
5750
5751
def obs_encoder_get_weak_encoder(encoder: 'obs_encoder_t *') -> "obs_weak_encoder_t *":
5752
    return _obspython.obs_encoder_get_weak_encoder(encoder)
5753
obs_encoder_get_weak_encoder = _obspython.obs_encoder_get_weak_encoder
5754
5755
def obs_weak_encoder_get_encoder(weak: 'obs_weak_encoder_t *') -> "obs_encoder_t *":
5756
    return _obspython.obs_weak_encoder_get_encoder(weak)
5757
obs_weak_encoder_get_encoder = _obspython.obs_weak_encoder_get_encoder
5758
5759
def obs_weak_encoder_references_encoder(weak: 'obs_weak_encoder_t *', encoder: 'obs_encoder_t *') -> "bool":
5760
    return _obspython.obs_weak_encoder_references_encoder(weak, encoder)
5761
obs_weak_encoder_references_encoder = _obspython.obs_weak_encoder_references_encoder
5762
5763
def obs_encoder_set_name(encoder: 'obs_encoder_t *', name: 'char const *') -> "void":
5764
    return _obspython.obs_encoder_set_name(encoder, name)
5765
obs_encoder_set_name = _obspython.obs_encoder_set_name
5766
5767
def obs_encoder_get_name(encoder: 'obs_encoder_t const *') -> "char const *":
5768
    return _obspython.obs_encoder_get_name(encoder)
5769
obs_encoder_get_name = _obspython.obs_encoder_get_name
5770
5771
def obs_get_encoder_codec(id: 'char const *') -> "char const *":
5772
    return _obspython.obs_get_encoder_codec(id)
5773
obs_get_encoder_codec = _obspython.obs_get_encoder_codec
5774
5775
def obs_get_encoder_type(id: 'char const *') -> "enum obs_encoder_type":
5776
    return _obspython.obs_get_encoder_type(id)
5777
obs_get_encoder_type = _obspython.obs_get_encoder_type
5778
5779
def obs_encoder_get_codec(encoder: 'obs_encoder_t const *') -> "char const *":
5780
    return _obspython.obs_encoder_get_codec(encoder)
5781
obs_encoder_get_codec = _obspython.obs_encoder_get_codec
5782
5783
def obs_encoder_get_type(encoder: 'obs_encoder_t const *') -> "enum obs_encoder_type":
5784
    return _obspython.obs_encoder_get_type(encoder)
5785
obs_encoder_get_type = _obspython.obs_encoder_get_type
5786
5787
def obs_encoder_set_scaled_size(encoder: 'obs_encoder_t *', width: 'uint32_t', height: 'uint32_t') -> "void":
5788
    return _obspython.obs_encoder_set_scaled_size(encoder, width, height)
5789
obs_encoder_set_scaled_size = _obspython.obs_encoder_set_scaled_size
5790
5791
def obs_encoder_scaling_enabled(encoder: 'obs_encoder_t const *') -> "bool":
5792
    return _obspython.obs_encoder_scaling_enabled(encoder)
5793
obs_encoder_scaling_enabled = _obspython.obs_encoder_scaling_enabled
5794
5795
def obs_encoder_get_width(encoder: 'obs_encoder_t const *') -> "uint32_t":
5796
    return _obspython.obs_encoder_get_width(encoder)
5797
obs_encoder_get_width = _obspython.obs_encoder_get_width
5798
5799
def obs_encoder_get_height(encoder: 'obs_encoder_t const *') -> "uint32_t":
5800
    return _obspython.obs_encoder_get_height(encoder)
5801
obs_encoder_get_height = _obspython.obs_encoder_get_height
5802
5803
def obs_encoder_get_sample_rate(encoder: 'obs_encoder_t const *') -> "uint32_t":
5804
    return _obspython.obs_encoder_get_sample_rate(encoder)
5805
obs_encoder_get_sample_rate = _obspython.obs_encoder_get_sample_rate
5806
5807
def obs_encoder_set_preferred_video_format(encoder: 'obs_encoder_t *', format: 'enum video_format') -> "void":
5808
    return _obspython.obs_encoder_set_preferred_video_format(encoder, format)
5809
obs_encoder_set_preferred_video_format = _obspython.obs_encoder_set_preferred_video_format
5810
5811
def obs_encoder_get_preferred_video_format(encoder: 'obs_encoder_t const *') -> "enum video_format":
5812
    return _obspython.obs_encoder_get_preferred_video_format(encoder)
5813
obs_encoder_get_preferred_video_format = _obspython.obs_encoder_get_preferred_video_format
5814
5815
def obs_encoder_defaults(id: 'char const *') -> "obs_data_t *":
5816
    return _obspython.obs_encoder_defaults(id)
5817
obs_encoder_defaults = _obspython.obs_encoder_defaults
5818
5819
def obs_encoder_get_defaults(encoder: 'obs_encoder_t const *') -> "obs_data_t *":
5820
    return _obspython.obs_encoder_get_defaults(encoder)
5821
obs_encoder_get_defaults = _obspython.obs_encoder_get_defaults
5822
5823
def obs_get_encoder_properties(id: 'char const *') -> "obs_properties_t *":
5824
    return _obspython.obs_get_encoder_properties(id)
5825
obs_get_encoder_properties = _obspython.obs_get_encoder_properties
5826
5827
def obs_encoder_properties(encoder: 'obs_encoder_t const *') -> "obs_properties_t *":
5828
    return _obspython.obs_encoder_properties(encoder)
5829
obs_encoder_properties = _obspython.obs_encoder_properties
5830
5831
def obs_encoder_update(encoder: 'obs_encoder_t *', settings: 'obs_data_t *') -> "void":
5832
    return _obspython.obs_encoder_update(encoder, settings)
5833
obs_encoder_update = _obspython.obs_encoder_update
5834
5835
def obs_encoder_get_extra_data(encoder: 'obs_encoder_t const *', extra_data: 'uint8_t **', size: 'size_t *') -> "bool":
5836
    return _obspython.obs_encoder_get_extra_data(encoder, extra_data, size)
5837
obs_encoder_get_extra_data = _obspython.obs_encoder_get_extra_data
5838
5839
def obs_encoder_get_settings(encoder: 'obs_encoder_t const *') -> "obs_data_t *":
5840
    return _obspython.obs_encoder_get_settings(encoder)
5841
obs_encoder_get_settings = _obspython.obs_encoder_get_settings
5842
5843
def obs_encoder_set_video(encoder: 'obs_encoder_t *', video: 'video_t *') -> "void":
5844
    return _obspython.obs_encoder_set_video(encoder, video)
5845
obs_encoder_set_video = _obspython.obs_encoder_set_video
5846
5847
def obs_encoder_set_audio(encoder: 'obs_encoder_t *', audio: 'audio_t *') -> "void":
5848
    return _obspython.obs_encoder_set_audio(encoder, audio)
5849
obs_encoder_set_audio = _obspython.obs_encoder_set_audio
5850
5851
def obs_encoder_video(encoder: 'obs_encoder_t const *') -> "video_t *":
5852
    return _obspython.obs_encoder_video(encoder)
5853
obs_encoder_video = _obspython.obs_encoder_video
5854
5855
def obs_encoder_audio(encoder: 'obs_encoder_t const *') -> "audio_t *":
5856
    return _obspython.obs_encoder_audio(encoder)
5857
obs_encoder_audio = _obspython.obs_encoder_audio
5858
5859
def obs_encoder_active(encoder: 'obs_encoder_t const *') -> "bool":
5860
    return _obspython.obs_encoder_active(encoder)
5861
obs_encoder_active = _obspython.obs_encoder_active
5862
5863
def obs_encoder_get_type_data(encoder: 'obs_encoder_t *') -> "void *":
5864
    return _obspython.obs_encoder_get_type_data(encoder)
5865
obs_encoder_get_type_data = _obspython.obs_encoder_get_type_data
5866
5867
def obs_encoder_get_id(encoder: 'obs_encoder_t const *') -> "char const *":
5868
    return _obspython.obs_encoder_get_id(encoder)
5869
obs_encoder_get_id = _obspython.obs_encoder_get_id
5870
5871
def obs_get_encoder_caps(encoder_id: 'char const *') -> "uint32_t":
5872
    return _obspython.obs_get_encoder_caps(encoder_id)
5873
obs_get_encoder_caps = _obspython.obs_get_encoder_caps
5874
5875
def obs_encoder_get_caps(encoder: 'obs_encoder_t const *') -> "uint32_t":
5876
    return _obspython.obs_encoder_get_caps(encoder)
5877
obs_encoder_get_caps = _obspython.obs_encoder_get_caps
5878
5879
def obs_encoder_packet_ref(dst: 'struct encoder_packet *', src: 'struct encoder_packet *') -> "void":
5880
    return _obspython.obs_encoder_packet_ref(dst, src)
5881
obs_encoder_packet_ref = _obspython.obs_encoder_packet_ref
5882
5883
def obs_encoder_packet_release(packet: 'struct encoder_packet *') -> "void":
5884
    return _obspython.obs_encoder_packet_release(packet)
5885
obs_encoder_packet_release = _obspython.obs_encoder_packet_release
5886
5887
def obs_encoder_create_rerouted(encoder: 'obs_encoder_t *', reroute_id: 'char const *') -> "void *":
5888
    return _obspython.obs_encoder_create_rerouted(encoder, reroute_id)
5889
obs_encoder_create_rerouted = _obspython.obs_encoder_create_rerouted
5890
5891
def obs_encoder_paused(output: 'obs_encoder_t const *') -> "bool":
5892
    return _obspython.obs_encoder_paused(output)
5893
obs_encoder_paused = _obspython.obs_encoder_paused
5894
5895
def obs_encoder_get_last_error(encoder: 'obs_encoder_t *') -> "char const *":
5896
    return _obspython.obs_encoder_get_last_error(encoder)
5897
obs_encoder_get_last_error = _obspython.obs_encoder_get_last_error
5898
5899
def obs_encoder_set_last_error(encoder: 'obs_encoder_t *', message: 'char const *') -> "void":
5900
    return _obspython.obs_encoder_set_last_error(encoder, message)
5901
obs_encoder_set_last_error = _obspython.obs_encoder_set_last_error
5902
5903
def obs_service_get_display_name(id: 'char const *') -> "char const *":
5904
    return _obspython.obs_service_get_display_name(id)
5905
obs_service_get_display_name = _obspython.obs_service_get_display_name
5906
5907
def obs_service_create(id: 'char const *', name: 'char const *', settings: 'obs_data_t *', hotkey_data: 'obs_data_t *') -> "obs_service_t *":
5908
    return _obspython.obs_service_create(id, name, settings, hotkey_data)
5909
obs_service_create = _obspython.obs_service_create
5910
5911
def obs_service_create_private(id: 'char const *', name: 'char const *', settings: 'obs_data_t *') -> "obs_service_t *":
5912
    return _obspython.obs_service_create_private(id, name, settings)
5913
obs_service_create_private = _obspython.obs_service_create_private
5914
5915
def obs_service_addref(service: 'obs_service_t *') -> "void":
5916
    return _obspython.obs_service_addref(service)
5917
obs_service_addref = _obspython.obs_service_addref
5918
5919
def obs_service_release(service: 'obs_service_t *') -> "void":
5920
    return _obspython.obs_service_release(service)
5921
obs_service_release = _obspython.obs_service_release
5922
5923
def obs_weak_service_addref(weak: 'obs_weak_service_t *') -> "void":
5924
    return _obspython.obs_weak_service_addref(weak)
5925
obs_weak_service_addref = _obspython.obs_weak_service_addref
5926
5927
def obs_weak_service_release(weak: 'obs_weak_service_t *') -> "void":
5928
    return _obspython.obs_weak_service_release(weak)
5929
obs_weak_service_release = _obspython.obs_weak_service_release
5930
5931
def obs_service_get_ref(service: 'obs_service_t *') -> "obs_service_t *":
5932
    return _obspython.obs_service_get_ref(service)
5933
obs_service_get_ref = _obspython.obs_service_get_ref
5934
5935
def obs_service_get_weak_service(service: 'obs_service_t *') -> "obs_weak_service_t *":
5936
    return _obspython.obs_service_get_weak_service(service)
5937
obs_service_get_weak_service = _obspython.obs_service_get_weak_service
5938
5939
def obs_weak_service_get_service(weak: 'obs_weak_service_t *') -> "obs_service_t *":
5940
    return _obspython.obs_weak_service_get_service(weak)
5941
obs_weak_service_get_service = _obspython.obs_weak_service_get_service
5942
5943
def obs_weak_service_references_service(weak: 'obs_weak_service_t *', service: 'obs_service_t *') -> "bool":
5944
    return _obspython.obs_weak_service_references_service(weak, service)
5945
obs_weak_service_references_service = _obspython.obs_weak_service_references_service
5946
5947
def obs_service_get_name(service: 'obs_service_t const *') -> "char const *":
5948
    return _obspython.obs_service_get_name(service)
5949
obs_service_get_name = _obspython.obs_service_get_name
5950
5951
def obs_service_defaults(id: 'char const *') -> "obs_data_t *":
5952
    return _obspython.obs_service_defaults(id)
5953
obs_service_defaults = _obspython.obs_service_defaults
5954
5955
def obs_get_service_properties(id: 'char const *') -> "obs_properties_t *":
5956
    return _obspython.obs_get_service_properties(id)
5957
obs_get_service_properties = _obspython.obs_get_service_properties
5958
5959
def obs_service_properties(service: 'obs_service_t const *') -> "obs_properties_t *":
5960
    return _obspython.obs_service_properties(service)
5961
obs_service_properties = _obspython.obs_service_properties
5962
5963
def obs_service_get_type(service: 'obs_service_t const *') -> "char const *":
5964
    return _obspython.obs_service_get_type(service)
5965
obs_service_get_type = _obspython.obs_service_get_type
5966
5967
def obs_service_update(service: 'obs_service_t *', settings: 'obs_data_t *') -> "void":
5968
    return _obspython.obs_service_update(service, settings)
5969
obs_service_update = _obspython.obs_service_update
5970
5971
def obs_service_get_settings(service: 'obs_service_t const *') -> "obs_data_t *":
5972
    return _obspython.obs_service_get_settings(service)
5973
obs_service_get_settings = _obspython.obs_service_get_settings
5974
5975
def obs_service_get_url(service: 'obs_service_t const *') -> "char const *":
5976
    return _obspython.obs_service_get_url(service)
5977
obs_service_get_url = _obspython.obs_service_get_url
5978
5979
def obs_service_get_key(service: 'obs_service_t const *') -> "char const *":
5980
    return _obspython.obs_service_get_key(service)
5981
obs_service_get_key = _obspython.obs_service_get_key
5982
5983
def obs_service_get_username(service: 'obs_service_t const *') -> "char const *":
5984
    return _obspython.obs_service_get_username(service)
5985
obs_service_get_username = _obspython.obs_service_get_username
5986
5987
def obs_service_get_password(service: 'obs_service_t const *') -> "char const *":
5988
    return _obspython.obs_service_get_password(service)
5989
obs_service_get_password = _obspython.obs_service_get_password
5990
5991
def obs_service_apply_encoder_settings(service: 'obs_service_t *', video_encoder_settings: 'obs_data_t *', audio_encoder_settings: 'obs_data_t *') -> "void":
5992
    return _obspython.obs_service_apply_encoder_settings(service, video_encoder_settings, audio_encoder_settings)
5993
obs_service_apply_encoder_settings = _obspython.obs_service_apply_encoder_settings
5994
5995
def obs_service_get_type_data(service: 'obs_service_t *') -> "void *":
5996
    return _obspython.obs_service_get_type_data(service)
5997
obs_service_get_type_data = _obspython.obs_service_get_type_data
5998
5999
def obs_service_get_id(service: 'obs_service_t const *') -> "char const *":
6000
    return _obspython.obs_service_get_id(service)
6001
obs_service_get_id = _obspython.obs_service_get_id
6002
6003
def obs_service_get_output_type(service: 'obs_service_t const *') -> "char const *":
6004
    return _obspython.obs_service_get_output_type(service)
6005
obs_service_get_output_type = _obspython.obs_service_get_output_type
6006
6007
def obs_source_frame_init(frame: 'obs_source_frame', format: 'enum video_format', width: 'uint32_t', height: 'uint32_t') -> "void":
6008
    return _obspython.obs_source_frame_init(frame, format, width, height)
6009
obs_source_frame_init = _obspython.obs_source_frame_init
6010
6011
def obs_source_frame_free(frame: 'obs_source_frame') -> "void":
6012
    return _obspython.obs_source_frame_free(frame)
6013
obs_source_frame_free = _obspython.obs_source_frame_free
6014
6015
def obs_source_frame_create(format: 'enum video_format', width: 'uint32_t', height: 'uint32_t') -> "struct obs_source_frame *":
6016
    return _obspython.obs_source_frame_create(format, width, height)
6017
obs_source_frame_create = _obspython.obs_source_frame_create
6018
6019
def obs_source_frame_destroy(frame: 'obs_source_frame') -> "void":
6020
    return _obspython.obs_source_frame_destroy(frame)
6021
obs_source_frame_destroy = _obspython.obs_source_frame_destroy
6022
6023
def obs_source_frame_copy(dst: 'obs_source_frame', src: 'obs_source_frame') -> "void":
6024
    return _obspython.obs_source_frame_copy(dst, src)
6025
obs_source_frame_copy = _obspython.obs_source_frame_copy
6026
6027
def obs_source_get_icon_type(id: 'char const *') -> "enum obs_icon_type":
6028
    return _obspython.obs_source_get_icon_type(id)
6029
obs_source_get_icon_type = _obspython.obs_source_get_icon_type
6030
CALL_PARAM_TYPE_VOID = _obspython.CALL_PARAM_TYPE_VOID
6031
CALL_PARAM_TYPE_INT = _obspython.CALL_PARAM_TYPE_INT
6032
CALL_PARAM_TYPE_FLOAT = _obspython.CALL_PARAM_TYPE_FLOAT
6033
CALL_PARAM_TYPE_BOOL = _obspython.CALL_PARAM_TYPE_BOOL
6034
CALL_PARAM_TYPE_PTR = _obspython.CALL_PARAM_TYPE_PTR
6035
CALL_PARAM_TYPE_STRING = _obspython.CALL_PARAM_TYPE_STRING
6036
CALL_PARAM_IN = _obspython.CALL_PARAM_IN
6037
CALL_PARAM_OUT = _obspython.CALL_PARAM_OUT
6038
class calldata(_object):
6039
    __swig_setmethods__ = {}
6040
    __setattr__ = lambda self, name, value: _swig_setattr(self, calldata, name, value)
6041
    __swig_getmethods__ = {}
6042
    __getattr__ = lambda self, name: _swig_getattr(self, calldata, name)
6043
    __repr__ = _swig_repr
6044
    __swig_setmethods__["stack"] = _obspython.calldata_stack_set
6045
    __swig_getmethods__["stack"] = _obspython.calldata_stack_get
6046
    if _newclass:
6047
        stack = _swig_property(_obspython.calldata_stack_get, _obspython.calldata_stack_set)
6048
    __swig_setmethods__["size"] = _obspython.calldata_size_set
6049
    __swig_getmethods__["size"] = _obspython.calldata_size_get
6050
    if _newclass:
6051
        size = _swig_property(_obspython.calldata_size_get, _obspython.calldata_size_set)
6052
    __swig_setmethods__["capacity"] = _obspython.calldata_capacity_set
6053
    __swig_getmethods__["capacity"] = _obspython.calldata_capacity_get
6054
    if _newclass:
6055
        capacity = _swig_property(_obspython.calldata_capacity_get, _obspython.calldata_capacity_set)
6056
    __swig_setmethods__["fixed"] = _obspython.calldata_fixed_set
6057
    __swig_getmethods__["fixed"] = _obspython.calldata_fixed_get
6058
    if _newclass:
6059
        fixed = _swig_property(_obspython.calldata_fixed_get, _obspython.calldata_fixed_set)
6060
6061
    def __init__(self):
6062
        this = _obspython.new_calldata()
6063
        try:
6064
            self.this.append(this)
6065
        except __builtin__.Exception:
6066
            self.this = this
6067
    __swig_destroy__ = _obspython.delete_calldata
6068
    __del__ = lambda self: None
6069
calldata_swigregister = _obspython.calldata_swigregister
6070
calldata_swigregister(calldata)
6071
6072
6073
def calldata_init(data: 'calldata') -> "void":
6074
    return _obspython.calldata_init(data)
6075
calldata_init = _obspython.calldata_init
6076
6077
def calldata_clear(data: 'calldata') -> "void":
6078
    return _obspython.calldata_clear(data)
6079
calldata_clear = _obspython.calldata_clear
6080
6081
def calldata_init_fixed(data: 'calldata', stack: 'uint8_t *', size: 'size_t') -> "void":
6082
    return _obspython.calldata_init_fixed(data, stack, size)
6083
calldata_init_fixed = _obspython.calldata_init_fixed
6084
6085
def calldata_free(data: 'calldata') -> "void":
6086
    return _obspython.calldata_free(data)
6087
calldata_free = _obspython.calldata_free
6088
6089
def calldata_get_data(data: 'calldata', name: 'char const *', out: 'void *', size: 'size_t') -> "bool":
6090
    return _obspython.calldata_get_data(data, name, out, size)
6091
calldata_get_data = _obspython.calldata_get_data
6092
6093
def calldata_set_data(data: 'calldata', name: 'char const *', arg3: 'void const *', new_size: 'size_t') -> "void":
6094
    return _obspython.calldata_set_data(data, name, arg3, new_size)
6095
calldata_set_data = _obspython.calldata_set_data
6096
6097
def calldata_create() -> "calldata_t *":
6098
    return _obspython.calldata_create()
6099
calldata_create = _obspython.calldata_create
6100
6101
def calldata_destroy(cd: 'calldata') -> "void":
6102
    return _obspython.calldata_destroy(cd)
6103
calldata_destroy = _obspython.calldata_destroy
6104
6105
def calldata_get_int(data: 'calldata', name: 'char const *', val: 'long long *') -> "bool":
6106
    return _obspython.calldata_get_int(data, name, val)
6107
calldata_get_int = _obspython.calldata_get_int
6108
6109
def calldata_get_float(data: 'calldata', name: 'char const *', val: 'double *') -> "bool":
6110
    return _obspython.calldata_get_float(data, name, val)
6111
calldata_get_float = _obspython.calldata_get_float
6112
6113
def calldata_get_bool(data: 'calldata', name: 'char const *', val: 'bool *') -> "bool":
6114
    return _obspython.calldata_get_bool(data, name, val)
6115
calldata_get_bool = _obspython.calldata_get_bool
6116
6117
def calldata_get_ptr(data: 'calldata', name: 'char const *', p_ptr: 'void *') -> "bool":
6118
    return _obspython.calldata_get_ptr(data, name, p_ptr)
6119
calldata_get_ptr = _obspython.calldata_get_ptr
6120
6121
def calldata_get_string(data: 'calldata', name: 'char const *', str: 'char const **') -> "bool":
6122
    return _obspython.calldata_get_string(data, name, str)
6123
calldata_get_string = _obspython.calldata_get_string
6124
6125
def calldata_int(data: 'calldata', name: 'char const *') -> "long long":
6126
    return _obspython.calldata_int(data, name)
6127
calldata_int = _obspython.calldata_int
6128
6129
def calldata_float(data: 'calldata', name: 'char const *') -> "double":
6130
    return _obspython.calldata_float(data, name)
6131
calldata_float = _obspython.calldata_float
6132
6133
def calldata_bool(data: 'calldata', name: 'char const *') -> "bool":
6134
    return _obspython.calldata_bool(data, name)
6135
calldata_bool = _obspython.calldata_bool
6136
6137
def calldata_ptr(data: 'calldata', name: 'char const *') -> "void *":
6138
    return _obspython.calldata_ptr(data, name)
6139
calldata_ptr = _obspython.calldata_ptr
6140
6141
def calldata_string(data: 'calldata', name: 'char const *') -> "char const *":
6142
    return _obspython.calldata_string(data, name)
6143
calldata_string = _obspython.calldata_string
6144
6145
def calldata_set_int(data: 'calldata', name: 'char const *', val: 'long long') -> "void":
6146
    return _obspython.calldata_set_int(data, name, val)
6147
calldata_set_int = _obspython.calldata_set_int
6148
6149
def calldata_set_float(data: 'calldata', name: 'char const *', val: 'double') -> "void":
6150
    return _obspython.calldata_set_float(data, name, val)
6151
calldata_set_float = _obspython.calldata_set_float
6152
6153
def calldata_set_bool(data: 'calldata', name: 'char const *', val: 'bool') -> "void":
6154
    return _obspython.calldata_set_bool(data, name, val)
6155
calldata_set_bool = _obspython.calldata_set_bool
6156
6157
def calldata_set_ptr(data: 'calldata', name: 'char const *', ptr: 'void *') -> "void":
6158
    return _obspython.calldata_set_ptr(data, name, ptr)
6159
calldata_set_ptr = _obspython.calldata_set_ptr
6160
6161
def calldata_set_string(data: 'calldata', name: 'char const *', str: 'char const *') -> "void":
6162
    return _obspython.calldata_set_string(data, name, str)
6163
calldata_set_string = _obspython.calldata_set_string
6164
6165
def proc_handler_create() -> "proc_handler_t *":
6166
    return _obspython.proc_handler_create()
6167
proc_handler_create = _obspython.proc_handler_create
6168
6169
def proc_handler_destroy(handler: 'proc_handler_t *') -> "void":
6170
    return _obspython.proc_handler_destroy(handler)
6171
proc_handler_destroy = _obspython.proc_handler_destroy
6172
6173
def proc_handler_add(handler: 'proc_handler_t *', decl_string: 'char const *', proc: 'proc_handler_proc_t', data: 'void *') -> "void":
6174
    return _obspython.proc_handler_add(handler, decl_string, proc, data)
6175
proc_handler_add = _obspython.proc_handler_add
6176
6177
def proc_handler_call(handler: 'proc_handler_t *', name: 'char const *', params: 'calldata') -> "bool":
6178
    return _obspython.proc_handler_call(handler, name, params)
6179
proc_handler_call = _obspython.proc_handler_call
6180
6181
def signal_handler_create() -> "signal_handler_t *":
6182
    return _obspython.signal_handler_create()
6183
signal_handler_create = _obspython.signal_handler_create
6184
6185
def signal_handler_destroy(handler: 'signal_handler_t *') -> "void":
6186
    return _obspython.signal_handler_destroy(handler)
6187
signal_handler_destroy = _obspython.signal_handler_destroy
6188
6189
def signal_handler_add(handler: 'signal_handler_t *', signal_decl: 'char const *') -> "bool":
6190
    return _obspython.signal_handler_add(handler, signal_decl)
6191
signal_handler_add = _obspython.signal_handler_add
6192
6193
def signal_handler_add_array(handler: 'signal_handler_t *', signal_decls: 'char const **') -> "bool":
6194
    return _obspython.signal_handler_add_array(handler, signal_decls)
6195
signal_handler_add_array = _obspython.signal_handler_add_array
6196
6197
def signal_handler_connect_ref(handler: 'signal_handler_t *', signal: 'char const *', callback: 'signal_callback_t', data: 'void *') -> "void":
6198
    return _obspython.signal_handler_connect_ref(handler, signal, callback, data)
6199
signal_handler_connect_ref = _obspython.signal_handler_connect_ref
6200
6201
def signal_handler_signal(handler: 'signal_handler_t *', signal: 'char const *', params: 'calldata') -> "void":
6202
    return _obspython.signal_handler_signal(handler, signal, params)
6203
signal_handler_signal = _obspython.signal_handler_signal
6204
class base_allocator(_object):
6205
    __swig_setmethods__ = {}
6206
    __setattr__ = lambda self, name, value: _swig_setattr(self, base_allocator, name, value)
6207
    __swig_getmethods__ = {}
6208
    __getattr__ = lambda self, name: _swig_getattr(self, base_allocator, name)
6209
    __repr__ = _swig_repr
6210
    __swig_setmethods__["malloc"] = _obspython.base_allocator_malloc_set
6211
    __swig_getmethods__["malloc"] = _obspython.base_allocator_malloc_get
6212
    if _newclass:
6213
        malloc = _swig_property(_obspython.base_allocator_malloc_get, _obspython.base_allocator_malloc_set)
6214
    __swig_setmethods__["realloc"] = _obspython.base_allocator_realloc_set
6215
    __swig_getmethods__["realloc"] = _obspython.base_allocator_realloc_get
6216
    if _newclass:
6217
        realloc = _swig_property(_obspython.base_allocator_realloc_get, _obspython.base_allocator_realloc_set)
6218
    __swig_setmethods__["free"] = _obspython.base_allocator_free_set
6219
    __swig_getmethods__["free"] = _obspython.base_allocator_free_get
6220
    if _newclass:
6221
        free = _swig_property(_obspython.base_allocator_free_get, _obspython.base_allocator_free_set)
6222
6223
    def __init__(self):
6224
        this = _obspython.new_base_allocator()
6225
        try:
6226
            self.this.append(this)
6227
        except __builtin__.Exception:
6228
            self.this = this
6229
    __swig_destroy__ = _obspython.delete_base_allocator
6230
    __del__ = lambda self: None
6231
base_allocator_swigregister = _obspython.base_allocator_swigregister
6232
base_allocator_swigregister(base_allocator)
6233
6234
6235
def base_set_allocator(defs: 'base_allocator') -> "void":
6236
    return _obspython.base_set_allocator(defs)
6237
base_set_allocator = _obspython.base_set_allocator
6238
6239
def bmalloc(size: 'size_t') -> "void *":
6240
    return _obspython.bmalloc(size)
6241
bmalloc = _obspython.bmalloc
6242
6243
def brealloc(ptr: 'void *', size: 'size_t') -> "void *":
6244
    return _obspython.brealloc(ptr, size)
6245
brealloc = _obspython.brealloc
6246
6247
def bfree(ptr: 'void *') -> "void":
6248
    return _obspython.bfree(ptr)
6249
bfree = _obspython.bfree
6250
6251
def base_get_alignment() -> "int":
6252
    return _obspython.base_get_alignment()
6253
base_get_alignment = _obspython.base_get_alignment
6254
6255
def bnum_allocs() -> "long":
6256
    return _obspython.bnum_allocs()
6257
bnum_allocs = _obspython.bnum_allocs
6258
6259
def bmemdup(ptr: 'void const *', size: 'size_t') -> "void *":
6260
    return _obspython.bmemdup(ptr, size)
6261
bmemdup = _obspython.bmemdup
6262
6263
def bzalloc(size: 'size_t') -> "void *":
6264
    return _obspython.bzalloc(size)
6265
bzalloc = _obspython.bzalloc
6266
6267
def bstrdup_n(str: 'char const *', n: 'size_t') -> "char *":
6268
    return _obspython.bstrdup_n(str, n)
6269
bstrdup_n = _obspython.bstrdup_n
6270
6271
def bwstrdup_n(str: 'wchar_t const *', n: 'size_t') -> "wchar_t *":
6272
    return _obspython.bwstrdup_n(str, n)
6273
bwstrdup_n = _obspython.bwstrdup_n
6274
6275
def bstrdup(str: 'char const *') -> "char *":
6276
    return _obspython.bstrdup(str)
6277
bstrdup = _obspython.bstrdup
6278
6279
def bwstrdup(str: 'wchar_t const *') -> "wchar_t *":
6280
    return _obspython.bwstrdup(str)
6281
bwstrdup = _obspython.bwstrdup
6282
S__LINE__ = _obspython.S__LINE__
6283
INT_CUR_LINE = _obspython.INT_CUR_LINE
6284
FILE_LINE = _obspython.FILE_LINE
6285
LOG_ERROR = _obspython.LOG_ERROR
6286
LOG_WARNING = _obspython.LOG_WARNING
6287
LOG_INFO = _obspython.LOG_INFO
6288
LOG_DEBUG = _obspython.LOG_DEBUG
6289
6290
def base_get_log_handler(handler: 'log_handler_t *', param: 'void **') -> "void":
6291
    return _obspython.base_get_log_handler(handler, param)
6292
base_get_log_handler = _obspython.base_get_log_handler
6293
6294
def base_set_log_handler(handler: 'log_handler_t', param: 'void *') -> "void":
6295
    return _obspython.base_set_log_handler(handler, param)
6296
base_set_log_handler = _obspython.base_set_log_handler
6297
6298
def base_set_crash_handler(handler: 'void (*)(char const *,va_list,void *)', param: 'void *') -> "void":
6299
    return _obspython.base_set_crash_handler(handler, param)
6300
base_set_crash_handler = _obspython.base_set_crash_handler
6301
OBS_FRONTEND_EVENT_STREAMING_STARTING = _obspython.OBS_FRONTEND_EVENT_STREAMING_STARTING
6302
OBS_FRONTEND_EVENT_STREAMING_STARTED = _obspython.OBS_FRONTEND_EVENT_STREAMING_STARTED
6303
OBS_FRONTEND_EVENT_STREAMING_STOPPING = _obspython.OBS_FRONTEND_EVENT_STREAMING_STOPPING
6304
OBS_FRONTEND_EVENT_STREAMING_STOPPED = _obspython.OBS_FRONTEND_EVENT_STREAMING_STOPPED
6305
OBS_FRONTEND_EVENT_RECORDING_STARTING = _obspython.OBS_FRONTEND_EVENT_RECORDING_STARTING
6306
OBS_FRONTEND_EVENT_RECORDING_STARTED = _obspython.OBS_FRONTEND_EVENT_RECORDING_STARTED
6307
OBS_FRONTEND_EVENT_RECORDING_STOPPING = _obspython.OBS_FRONTEND_EVENT_RECORDING_STOPPING
6308
OBS_FRONTEND_EVENT_RECORDING_STOPPED = _obspython.OBS_FRONTEND_EVENT_RECORDING_STOPPED
6309
OBS_FRONTEND_EVENT_SCENE_CHANGED = _obspython.OBS_FRONTEND_EVENT_SCENE_CHANGED
6310
OBS_FRONTEND_EVENT_SCENE_LIST_CHANGED = _obspython.OBS_FRONTEND_EVENT_SCENE_LIST_CHANGED
6311
OBS_FRONTEND_EVENT_TRANSITION_CHANGED = _obspython.OBS_FRONTEND_EVENT_TRANSITION_CHANGED
6312
OBS_FRONTEND_EVENT_TRANSITION_STOPPED = _obspython.OBS_FRONTEND_EVENT_TRANSITION_STOPPED
6313
OBS_FRONTEND_EVENT_TRANSITION_LIST_CHANGED = _obspython.OBS_FRONTEND_EVENT_TRANSITION_LIST_CHANGED
6314
OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGED = _obspython.OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGED
6315
OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED = _obspython.OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED
6316
OBS_FRONTEND_EVENT_PROFILE_CHANGED = _obspython.OBS_FRONTEND_EVENT_PROFILE_CHANGED
6317
OBS_FRONTEND_EVENT_PROFILE_LIST_CHANGED = _obspython.OBS_FRONTEND_EVENT_PROFILE_LIST_CHANGED
6318
OBS_FRONTEND_EVENT_EXIT = _obspython.OBS_FRONTEND_EVENT_EXIT
6319
OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTING = _obspython.OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTING
6320
OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTED = _obspython.OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTED
6321
OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPING = _obspython.OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPING
6322
OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPED = _obspython.OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPED
6323
OBS_FRONTEND_EVENT_STUDIO_MODE_ENABLED = _obspython.OBS_FRONTEND_EVENT_STUDIO_MODE_ENABLED
6324
OBS_FRONTEND_EVENT_STUDIO_MODE_DISABLED = _obspython.OBS_FRONTEND_EVENT_STUDIO_MODE_DISABLED
6325
OBS_FRONTEND_EVENT_PREVIEW_SCENE_CHANGED = _obspython.OBS_FRONTEND_EVENT_PREVIEW_SCENE_CHANGED
6326
OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP = _obspython.OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP
6327
OBS_FRONTEND_EVENT_FINISHED_LOADING = _obspython.OBS_FRONTEND_EVENT_FINISHED_LOADING
6328
OBS_FRONTEND_EVENT_RECORDING_PAUSED = _obspython.OBS_FRONTEND_EVENT_RECORDING_PAUSED
6329
OBS_FRONTEND_EVENT_RECORDING_UNPAUSED = _obspython.OBS_FRONTEND_EVENT_RECORDING_UNPAUSED
6330
OBS_FRONTEND_EVENT_TRANSITION_DURATION_CHANGED = _obspython.OBS_FRONTEND_EVENT_TRANSITION_DURATION_CHANGED
6331
6332
def obs_frontend_streaming_start() -> "void":
6333
    return _obspython.obs_frontend_streaming_start()
6334
obs_frontend_streaming_start = _obspython.obs_frontend_streaming_start
6335
6336
def obs_frontend_streaming_stop() -> "void":
6337
    return _obspython.obs_frontend_streaming_stop()
6338
obs_frontend_streaming_stop = _obspython.obs_frontend_streaming_stop
6339
6340
def obs_frontend_streaming_active() -> "bool":
6341
    return _obspython.obs_frontend_streaming_active()
6342
obs_frontend_streaming_active = _obspython.obs_frontend_streaming_active
6343
6344
def obs_frontend_recording_start() -> "void":
6345
    return _obspython.obs_frontend_recording_start()
6346
obs_frontend_recording_start = _obspython.obs_frontend_recording_start
6347
6348
def obs_frontend_recording_stop() -> "void":
6349
    return _obspython.obs_frontend_recording_stop()
6350
obs_frontend_recording_stop = _obspython.obs_frontend_recording_stop
6351
6352
def obs_frontend_recording_active() -> "bool":
6353
    return _obspython.obs_frontend_recording_active()
6354
obs_frontend_recording_active = _obspython.obs_frontend_recording_active
6355
6356
def obs_frontend_recording_pause(pause: 'bool') -> "void":
6357
    return _obspython.obs_frontend_recording_pause(pause)
6358
obs_frontend_recording_pause = _obspython.obs_frontend_recording_pause
6359
6360
def obs_frontend_recording_paused() -> "bool":
6361
    return _obspython.obs_frontend_recording_paused()
6362
obs_frontend_recording_paused = _obspython.obs_frontend_recording_paused
6363
6364
def obs_frontend_replay_buffer_start() -> "void":
6365
    return _obspython.obs_frontend_replay_buffer_start()
6366
obs_frontend_replay_buffer_start = _obspython.obs_frontend_replay_buffer_start
6367
6368
def obs_frontend_replay_buffer_save() -> "void":
6369
    return _obspython.obs_frontend_replay_buffer_save()
6370
obs_frontend_replay_buffer_save = _obspython.obs_frontend_replay_buffer_save
6371
6372
def obs_frontend_replay_buffer_stop() -> "void":
6373
    return _obspython.obs_frontend_replay_buffer_stop()
6374
obs_frontend_replay_buffer_stop = _obspython.obs_frontend_replay_buffer_stop
6375
6376
def obs_frontend_replay_buffer_active() -> "bool":
6377
    return _obspython.obs_frontend_replay_buffer_active()
6378
obs_frontend_replay_buffer_active = _obspython.obs_frontend_replay_buffer_active
6379
6380
def obs_frontend_open_projector(type: 'char const *', monitor: 'int', geometry: 'char const *', name: 'char const *') -> "void":
6381
    return _obspython.obs_frontend_open_projector(type, monitor, geometry, name)
6382
obs_frontend_open_projector = _obspython.obs_frontend_open_projector
6383
6384
def obs_frontend_save() -> "void":
6385
    return _obspython.obs_frontend_save()
6386
obs_frontend_save = _obspython.obs_frontend_save
6387
6388
def obs_frontend_defer_save_begin() -> "void":
6389
    return _obspython.obs_frontend_defer_save_begin()
6390
obs_frontend_defer_save_begin = _obspython.obs_frontend_defer_save_begin
6391
6392
def obs_frontend_defer_save_end() -> "void":
6393
    return _obspython.obs_frontend_defer_save_end()
6394
obs_frontend_defer_save_end = _obspython.obs_frontend_defer_save_end
6395
6396
def obs_frontend_get_streaming_output() -> "obs_output_t *":
6397
    return _obspython.obs_frontend_get_streaming_output()
6398
obs_frontend_get_streaming_output = _obspython.obs_frontend_get_streaming_output
6399
6400
def obs_frontend_get_recording_output() -> "obs_output_t *":
6401
    return _obspython.obs_frontend_get_recording_output()
6402
obs_frontend_get_recording_output = _obspython.obs_frontend_get_recording_output
6403
6404
def obs_frontend_get_replay_buffer_output() -> "obs_output_t *":
6405
    return _obspython.obs_frontend_get_replay_buffer_output()
6406
obs_frontend_get_replay_buffer_output = _obspython.obs_frontend_get_replay_buffer_output
6407
6408
def obs_frontend_get_profile_config() -> "config_t *":
6409
    return _obspython.obs_frontend_get_profile_config()
6410
obs_frontend_get_profile_config = _obspython.obs_frontend_get_profile_config
6411
6412
def obs_frontend_get_global_config() -> "config_t *":
6413
    return _obspython.obs_frontend_get_global_config()
6414
obs_frontend_get_global_config = _obspython.obs_frontend_get_global_config
6415
6416
def obs_frontend_set_streaming_service(service: 'obs_service_t *') -> "void":
6417
    return _obspython.obs_frontend_set_streaming_service(service)
6418
obs_frontend_set_streaming_service = _obspython.obs_frontend_set_streaming_service
6419
6420
def obs_frontend_get_streaming_service() -> "obs_service_t *":
6421
    return _obspython.obs_frontend_get_streaming_service()
6422
obs_frontend_get_streaming_service = _obspython.obs_frontend_get_streaming_service
6423
6424
def obs_frontend_save_streaming_service() -> "void":
6425
    return _obspython.obs_frontend_save_streaming_service()
6426
obs_frontend_save_streaming_service = _obspython.obs_frontend_save_streaming_service
6427
6428
def obs_frontend_preview_program_mode_active() -> "bool":
6429
    return _obspython.obs_frontend_preview_program_mode_active()
6430
obs_frontend_preview_program_mode_active = _obspython.obs_frontend_preview_program_mode_active
6431
6432
def obs_frontend_set_preview_program_mode(enable: 'bool') -> "void":
6433
    return _obspython.obs_frontend_set_preview_program_mode(enable)
6434
obs_frontend_set_preview_program_mode = _obspython.obs_frontend_set_preview_program_mode
6435
6436
def obs_frontend_preview_program_trigger_transition() -> "void":
6437
    return _obspython.obs_frontend_preview_program_trigger_transition()
6438
obs_frontend_preview_program_trigger_transition = _obspython.obs_frontend_preview_program_trigger_transition
6439
6440
def obs_frontend_set_preview_enabled(enable: 'bool') -> "void":
6441
    return _obspython.obs_frontend_set_preview_enabled(enable)
6442
obs_frontend_set_preview_enabled = _obspython.obs_frontend_set_preview_enabled
6443
6444
def obs_frontend_preview_enabled() -> "bool":
6445
    return _obspython.obs_frontend_preview_enabled()
6446
obs_frontend_preview_enabled = _obspython.obs_frontend_preview_enabled
6447
6448
def obs_frontend_get_current_preview_scene() -> "obs_source_t *":
6449
    return _obspython.obs_frontend_get_current_preview_scene()
6450
obs_frontend_get_current_preview_scene = _obspython.obs_frontend_get_current_preview_scene
6451
6452
def obs_frontend_set_current_preview_scene(scene: 'obs_source_t *') -> "void":
6453
    return _obspython.obs_frontend_set_current_preview_scene(scene)
6454
obs_frontend_set_current_preview_scene = _obspython.obs_frontend_set_current_preview_scene
6455
# This file is compatible with both classic and new-style classes.
6456
6457
6458