monochrome 2025.3.18__py3-none-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- monochrome/__init__.py +39 -0
- monochrome/__main__.py +6 -0
- monochrome/_version.py +21 -0
- monochrome/data/Monochrome.app/Contents/Info.plist +239 -0
- monochrome/data/Monochrome.app/Contents/MacOS/Monochrome +0 -0
- monochrome/data/Monochrome.app/Contents/Resources/Monochrome.icns +0 -0
- monochrome/data/Monochrome.app/Contents/Resources/npy-logo.icns +0 -0
- monochrome/fbs/Array3DataChunkf.py +90 -0
- monochrome/fbs/Array3DataChunku16.py +90 -0
- monochrome/fbs/Array3DataChunku8.py +90 -0
- monochrome/fbs/Array3Meta.py +284 -0
- monochrome/fbs/Array3MetaFlow.py +121 -0
- monochrome/fbs/ArrayDataType.py +9 -0
- monochrome/fbs/BitRange.py +17 -0
- monochrome/fbs/CloseVideo.py +52 -0
- monochrome/fbs/Color.py +47 -0
- monochrome/fbs/ColorMap.py +18 -0
- monochrome/fbs/Data.py +17 -0
- monochrome/fbs/DictEntry.py +65 -0
- monochrome/fbs/Filepaths.py +70 -0
- monochrome/fbs/OpacityFunction.py +15 -0
- monochrome/fbs/PointsVideo.py +173 -0
- monochrome/fbs/Quit.py +38 -0
- monochrome/fbs/Root.py +68 -0
- monochrome/fbs/VideoExport.py +143 -0
- monochrome/fbs/VideoExportFormat.py +8 -0
- monochrome/fbs/__init__.py +0 -0
- monochrome/ipc.py +653 -0
- monochrome-2025.3.18.dist-info/METADATA +185 -0
- monochrome-2025.3.18.dist-info/RECORD +33 -0
- monochrome-2025.3.18.dist-info/WHEEL +6 -0
- monochrome-2025.3.18.dist-info/entry_points.txt +3 -0
- monochrome-2025.3.18.dist-info/licenses/LICENSE.md +19 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
import flatbuffers
|
6
|
+
from flatbuffers.compat import import_numpy
|
7
|
+
from typing import Any
|
8
|
+
np = import_numpy()
|
9
|
+
|
10
|
+
class Filepaths(object):
|
11
|
+
__slots__ = ['_tab']
|
12
|
+
|
13
|
+
@classmethod
|
14
|
+
def GetRootAs(cls, buf, offset: int = 0):
|
15
|
+
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
16
|
+
x = Filepaths()
|
17
|
+
x.Init(buf, n + offset)
|
18
|
+
return x
|
19
|
+
|
20
|
+
@classmethod
|
21
|
+
def GetRootAsFilepaths(cls, buf, offset=0):
|
22
|
+
"""This method is deprecated. Please switch to GetRootAs."""
|
23
|
+
return cls.GetRootAs(buf, offset)
|
24
|
+
# Filepaths
|
25
|
+
def Init(self, buf: bytes, pos: int):
|
26
|
+
self._tab = flatbuffers.table.Table(buf, pos)
|
27
|
+
|
28
|
+
# Filepaths
|
29
|
+
def File(self, j: int):
|
30
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
31
|
+
if o != 0:
|
32
|
+
a = self._tab.Vector(o)
|
33
|
+
return self._tab.String(a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
|
34
|
+
return ""
|
35
|
+
|
36
|
+
# Filepaths
|
37
|
+
def FileLength(self) -> int:
|
38
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
39
|
+
if o != 0:
|
40
|
+
return self._tab.VectorLen(o)
|
41
|
+
return 0
|
42
|
+
|
43
|
+
# Filepaths
|
44
|
+
def FileIsNone(self) -> bool:
|
45
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
46
|
+
return o == 0
|
47
|
+
|
48
|
+
def FilepathsStart(builder: flatbuffers.Builder):
|
49
|
+
builder.StartObject(1)
|
50
|
+
|
51
|
+
def Start(builder: flatbuffers.Builder):
|
52
|
+
FilepathsStart(builder)
|
53
|
+
|
54
|
+
def FilepathsAddFile(builder: flatbuffers.Builder, file: int):
|
55
|
+
builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(file), 0)
|
56
|
+
|
57
|
+
def AddFile(builder: flatbuffers.Builder, file: int):
|
58
|
+
FilepathsAddFile(builder, file)
|
59
|
+
|
60
|
+
def FilepathsStartFileVector(builder, numElems: int) -> int:
|
61
|
+
return builder.StartVector(4, numElems, 4)
|
62
|
+
|
63
|
+
def StartFileVector(builder, numElems: int) -> int:
|
64
|
+
return FilepathsStartFileVector(builder, numElems)
|
65
|
+
|
66
|
+
def FilepathsEnd(builder: flatbuffers.Builder) -> int:
|
67
|
+
return builder.EndObject()
|
68
|
+
|
69
|
+
def End(builder: flatbuffers.Builder) -> int:
|
70
|
+
return FilepathsEnd(builder)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
from enum import IntEnum
|
6
|
+
class OpacityFunction(IntEnum):
|
7
|
+
NONE = 0
|
8
|
+
LINEAR = 1
|
9
|
+
LINEAR_R = 2
|
10
|
+
CENTERED = 3
|
11
|
+
FIXED_100 = 4
|
12
|
+
FIXED_75 = 5
|
13
|
+
FIXED_50 = 6
|
14
|
+
FIXED_25 = 7
|
15
|
+
FIXED_0 = 8
|
@@ -0,0 +1,173 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
import flatbuffers
|
6
|
+
from flatbuffers.compat import import_numpy
|
7
|
+
from typing import Any
|
8
|
+
from .Color import Color
|
9
|
+
from typing import Optional
|
10
|
+
np = import_numpy()
|
11
|
+
|
12
|
+
class PointsVideo(object):
|
13
|
+
__slots__ = ['_tab']
|
14
|
+
|
15
|
+
@classmethod
|
16
|
+
def GetRootAs(cls, buf, offset: int = 0):
|
17
|
+
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
18
|
+
x = PointsVideo()
|
19
|
+
x.Init(buf, n + offset)
|
20
|
+
return x
|
21
|
+
|
22
|
+
@classmethod
|
23
|
+
def GetRootAsPointsVideo(cls, buf, offset=0):
|
24
|
+
"""This method is deprecated. Please switch to GetRootAs."""
|
25
|
+
return cls.GetRootAs(buf, offset)
|
26
|
+
# PointsVideo
|
27
|
+
def Init(self, buf: bytes, pos: int):
|
28
|
+
self._tab = flatbuffers.table.Table(buf, pos)
|
29
|
+
|
30
|
+
# PointsVideo
|
31
|
+
def Name(self) -> Optional[str]:
|
32
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
33
|
+
if o != 0:
|
34
|
+
return self._tab.String(o + self._tab.Pos)
|
35
|
+
return None
|
36
|
+
|
37
|
+
# PointsVideo
|
38
|
+
def ParentName(self) -> Optional[str]:
|
39
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
|
40
|
+
if o != 0:
|
41
|
+
return self._tab.String(o + self._tab.Pos)
|
42
|
+
return None
|
43
|
+
|
44
|
+
# PointsVideo
|
45
|
+
def PointsData(self, j: int):
|
46
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
|
47
|
+
if o != 0:
|
48
|
+
a = self._tab.Vector(o)
|
49
|
+
return self._tab.Get(flatbuffers.number_types.Float32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
|
50
|
+
return 0
|
51
|
+
|
52
|
+
# PointsVideo
|
53
|
+
def PointsDataAsNumpy(self):
|
54
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
|
55
|
+
if o != 0:
|
56
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float32Flags, o)
|
57
|
+
return 0
|
58
|
+
|
59
|
+
# PointsVideo
|
60
|
+
def PointsDataLength(self) -> int:
|
61
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
|
62
|
+
if o != 0:
|
63
|
+
return self._tab.VectorLen(o)
|
64
|
+
return 0
|
65
|
+
|
66
|
+
# PointsVideo
|
67
|
+
def PointsDataIsNone(self) -> bool:
|
68
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
|
69
|
+
return o == 0
|
70
|
+
|
71
|
+
# PointsVideo
|
72
|
+
def TimeIdxs(self, j: int):
|
73
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
|
74
|
+
if o != 0:
|
75
|
+
a = self._tab.Vector(o)
|
76
|
+
return self._tab.Get(flatbuffers.number_types.Uint32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
|
77
|
+
return 0
|
78
|
+
|
79
|
+
# PointsVideo
|
80
|
+
def TimeIdxsAsNumpy(self):
|
81
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
|
82
|
+
if o != 0:
|
83
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Uint32Flags, o)
|
84
|
+
return 0
|
85
|
+
|
86
|
+
# PointsVideo
|
87
|
+
def TimeIdxsLength(self) -> int:
|
88
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
|
89
|
+
if o != 0:
|
90
|
+
return self._tab.VectorLen(o)
|
91
|
+
return 0
|
92
|
+
|
93
|
+
# PointsVideo
|
94
|
+
def TimeIdxsIsNone(self) -> bool:
|
95
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
|
96
|
+
return o == 0
|
97
|
+
|
98
|
+
# PointsVideo
|
99
|
+
def Color(self) -> Optional[Color]:
|
100
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
|
101
|
+
if o != 0:
|
102
|
+
x = o + self._tab.Pos
|
103
|
+
obj = Color()
|
104
|
+
obj.Init(self._tab.Bytes, x)
|
105
|
+
return obj
|
106
|
+
return None
|
107
|
+
|
108
|
+
# PointsVideo
|
109
|
+
def PointSize(self):
|
110
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
|
111
|
+
if o != 0:
|
112
|
+
return self._tab.Get(flatbuffers.number_types.Float32Flags, o + self._tab.Pos)
|
113
|
+
return 0.0
|
114
|
+
|
115
|
+
def PointsVideoStart(builder: flatbuffers.Builder):
|
116
|
+
builder.StartObject(6)
|
117
|
+
|
118
|
+
def Start(builder: flatbuffers.Builder):
|
119
|
+
PointsVideoStart(builder)
|
120
|
+
|
121
|
+
def PointsVideoAddName(builder: flatbuffers.Builder, name: int):
|
122
|
+
builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
|
123
|
+
|
124
|
+
def AddName(builder: flatbuffers.Builder, name: int):
|
125
|
+
PointsVideoAddName(builder, name)
|
126
|
+
|
127
|
+
def PointsVideoAddParentName(builder: flatbuffers.Builder, parentName: int):
|
128
|
+
builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(parentName), 0)
|
129
|
+
|
130
|
+
def AddParentName(builder: flatbuffers.Builder, parentName: int):
|
131
|
+
PointsVideoAddParentName(builder, parentName)
|
132
|
+
|
133
|
+
def PointsVideoAddPointsData(builder: flatbuffers.Builder, pointsData: int):
|
134
|
+
builder.PrependUOffsetTRelativeSlot(2, flatbuffers.number_types.UOffsetTFlags.py_type(pointsData), 0)
|
135
|
+
|
136
|
+
def AddPointsData(builder: flatbuffers.Builder, pointsData: int):
|
137
|
+
PointsVideoAddPointsData(builder, pointsData)
|
138
|
+
|
139
|
+
def PointsVideoStartPointsDataVector(builder, numElems: int) -> int:
|
140
|
+
return builder.StartVector(4, numElems, 4)
|
141
|
+
|
142
|
+
def StartPointsDataVector(builder, numElems: int) -> int:
|
143
|
+
return PointsVideoStartPointsDataVector(builder, numElems)
|
144
|
+
|
145
|
+
def PointsVideoAddTimeIdxs(builder: flatbuffers.Builder, timeIdxs: int):
|
146
|
+
builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(timeIdxs), 0)
|
147
|
+
|
148
|
+
def AddTimeIdxs(builder: flatbuffers.Builder, timeIdxs: int):
|
149
|
+
PointsVideoAddTimeIdxs(builder, timeIdxs)
|
150
|
+
|
151
|
+
def PointsVideoStartTimeIdxsVector(builder, numElems: int) -> int:
|
152
|
+
return builder.StartVector(4, numElems, 4)
|
153
|
+
|
154
|
+
def StartTimeIdxsVector(builder, numElems: int) -> int:
|
155
|
+
return PointsVideoStartTimeIdxsVector(builder, numElems)
|
156
|
+
|
157
|
+
def PointsVideoAddColor(builder: flatbuffers.Builder, color: Any):
|
158
|
+
builder.PrependStructSlot(4, flatbuffers.number_types.UOffsetTFlags.py_type(color), 0)
|
159
|
+
|
160
|
+
def AddColor(builder: flatbuffers.Builder, color: Any):
|
161
|
+
PointsVideoAddColor(builder, color)
|
162
|
+
|
163
|
+
def PointsVideoAddPointSize(builder: flatbuffers.Builder, pointSize: float):
|
164
|
+
builder.PrependFloat32Slot(5, pointSize, 0.0)
|
165
|
+
|
166
|
+
def AddPointSize(builder: flatbuffers.Builder, pointSize: float):
|
167
|
+
PointsVideoAddPointSize(builder, pointSize)
|
168
|
+
|
169
|
+
def PointsVideoEnd(builder: flatbuffers.Builder) -> int:
|
170
|
+
return builder.EndObject()
|
171
|
+
|
172
|
+
def End(builder: flatbuffers.Builder) -> int:
|
173
|
+
return PointsVideoEnd(builder)
|
monochrome/fbs/Quit.py
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
import flatbuffers
|
6
|
+
from flatbuffers.compat import import_numpy
|
7
|
+
from typing import Any
|
8
|
+
np = import_numpy()
|
9
|
+
|
10
|
+
class Quit(object):
|
11
|
+
__slots__ = ['_tab']
|
12
|
+
|
13
|
+
@classmethod
|
14
|
+
def GetRootAs(cls, buf, offset: int = 0):
|
15
|
+
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
16
|
+
x = Quit()
|
17
|
+
x.Init(buf, n + offset)
|
18
|
+
return x
|
19
|
+
|
20
|
+
@classmethod
|
21
|
+
def GetRootAsQuit(cls, buf, offset=0):
|
22
|
+
"""This method is deprecated. Please switch to GetRootAs."""
|
23
|
+
return cls.GetRootAs(buf, offset)
|
24
|
+
# Quit
|
25
|
+
def Init(self, buf: bytes, pos: int):
|
26
|
+
self._tab = flatbuffers.table.Table(buf, pos)
|
27
|
+
|
28
|
+
def QuitStart(builder: flatbuffers.Builder):
|
29
|
+
builder.StartObject(0)
|
30
|
+
|
31
|
+
def Start(builder: flatbuffers.Builder):
|
32
|
+
QuitStart(builder)
|
33
|
+
|
34
|
+
def QuitEnd(builder: flatbuffers.Builder) -> int:
|
35
|
+
return builder.EndObject()
|
36
|
+
|
37
|
+
def End(builder: flatbuffers.Builder) -> int:
|
38
|
+
return QuitEnd(builder)
|
monochrome/fbs/Root.py
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
import flatbuffers
|
6
|
+
from flatbuffers.compat import import_numpy
|
7
|
+
from typing import Any
|
8
|
+
from flatbuffers.table import Table
|
9
|
+
from typing import Optional
|
10
|
+
np = import_numpy()
|
11
|
+
|
12
|
+
class Root(object):
|
13
|
+
__slots__ = ['_tab']
|
14
|
+
|
15
|
+
@classmethod
|
16
|
+
def GetRootAs(cls, buf, offset: int = 0):
|
17
|
+
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
18
|
+
x = Root()
|
19
|
+
x.Init(buf, n + offset)
|
20
|
+
return x
|
21
|
+
|
22
|
+
@classmethod
|
23
|
+
def GetRootAsRoot(cls, buf, offset=0):
|
24
|
+
"""This method is deprecated. Please switch to GetRootAs."""
|
25
|
+
return cls.GetRootAs(buf, offset)
|
26
|
+
# Root
|
27
|
+
def Init(self, buf: bytes, pos: int):
|
28
|
+
self._tab = flatbuffers.table.Table(buf, pos)
|
29
|
+
|
30
|
+
# Root
|
31
|
+
def DataType(self):
|
32
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
33
|
+
if o != 0:
|
34
|
+
return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
|
35
|
+
return 0
|
36
|
+
|
37
|
+
# Root
|
38
|
+
def Data(self) -> Optional[flatbuffers.table.Table]:
|
39
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
|
40
|
+
if o != 0:
|
41
|
+
obj = Table(bytearray(), 0)
|
42
|
+
self._tab.Union(obj, o)
|
43
|
+
return obj
|
44
|
+
return None
|
45
|
+
|
46
|
+
def RootStart(builder: flatbuffers.Builder):
|
47
|
+
builder.StartObject(2)
|
48
|
+
|
49
|
+
def Start(builder: flatbuffers.Builder):
|
50
|
+
RootStart(builder)
|
51
|
+
|
52
|
+
def RootAddDataType(builder: flatbuffers.Builder, dataType: int):
|
53
|
+
builder.PrependUint8Slot(0, dataType, 0)
|
54
|
+
|
55
|
+
def AddDataType(builder: flatbuffers.Builder, dataType: int):
|
56
|
+
RootAddDataType(builder, dataType)
|
57
|
+
|
58
|
+
def RootAddData(builder: flatbuffers.Builder, data: int):
|
59
|
+
builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(data), 0)
|
60
|
+
|
61
|
+
def AddData(builder: flatbuffers.Builder, data: int):
|
62
|
+
RootAddData(builder, data)
|
63
|
+
|
64
|
+
def RootEnd(builder: flatbuffers.Builder) -> int:
|
65
|
+
return builder.EndObject()
|
66
|
+
|
67
|
+
def End(builder: flatbuffers.Builder) -> int:
|
68
|
+
return RootEnd(builder)
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# automatically generated by the FlatBuffers compiler, do not modify
|
2
|
+
|
3
|
+
# namespace: fbs
|
4
|
+
|
5
|
+
import flatbuffers
|
6
|
+
from flatbuffers.compat import import_numpy
|
7
|
+
from typing import Any
|
8
|
+
from typing import Optional
|
9
|
+
np = import_numpy()
|
10
|
+
|
11
|
+
class VideoExport(object):
|
12
|
+
__slots__ = ['_tab']
|
13
|
+
|
14
|
+
@classmethod
|
15
|
+
def GetRootAs(cls, buf, offset: int = 0):
|
16
|
+
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
17
|
+
x = VideoExport()
|
18
|
+
x.Init(buf, n + offset)
|
19
|
+
return x
|
20
|
+
|
21
|
+
@classmethod
|
22
|
+
def GetRootAsVideoExport(cls, buf, offset=0):
|
23
|
+
"""This method is deprecated. Please switch to GetRootAs."""
|
24
|
+
return cls.GetRootAs(buf, offset)
|
25
|
+
# VideoExport
|
26
|
+
def Init(self, buf: bytes, pos: int):
|
27
|
+
self._tab = flatbuffers.table.Table(buf, pos)
|
28
|
+
|
29
|
+
# VideoExport
|
30
|
+
def Recording(self) -> Optional[str]:
|
31
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
32
|
+
if o != 0:
|
33
|
+
return self._tab.String(o + self._tab.Pos)
|
34
|
+
return None
|
35
|
+
|
36
|
+
# VideoExport
|
37
|
+
def Filepath(self) -> Optional[str]:
|
38
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
|
39
|
+
if o != 0:
|
40
|
+
return self._tab.String(o + self._tab.Pos)
|
41
|
+
return None
|
42
|
+
|
43
|
+
# VideoExport
|
44
|
+
def Description(self) -> Optional[str]:
|
45
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
|
46
|
+
if o != 0:
|
47
|
+
return self._tab.String(o + self._tab.Pos)
|
48
|
+
return None
|
49
|
+
|
50
|
+
# VideoExport
|
51
|
+
def Format(self):
|
52
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
|
53
|
+
if o != 0:
|
54
|
+
return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos)
|
55
|
+
return 0
|
56
|
+
|
57
|
+
# VideoExport
|
58
|
+
def Fps(self):
|
59
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
|
60
|
+
if o != 0:
|
61
|
+
return self._tab.Get(flatbuffers.number_types.Float32Flags, o + self._tab.Pos)
|
62
|
+
return 0.0
|
63
|
+
|
64
|
+
# VideoExport
|
65
|
+
def TStart(self):
|
66
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
|
67
|
+
if o != 0:
|
68
|
+
return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos)
|
69
|
+
return 0
|
70
|
+
|
71
|
+
# VideoExport
|
72
|
+
def TEnd(self):
|
73
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
|
74
|
+
if o != 0:
|
75
|
+
return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos)
|
76
|
+
return 0
|
77
|
+
|
78
|
+
# VideoExport
|
79
|
+
def CloseAfterCompletion(self):
|
80
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
|
81
|
+
if o != 0:
|
82
|
+
return bool(self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
|
83
|
+
return False
|
84
|
+
|
85
|
+
def VideoExportStart(builder: flatbuffers.Builder):
|
86
|
+
builder.StartObject(8)
|
87
|
+
|
88
|
+
def Start(builder: flatbuffers.Builder):
|
89
|
+
VideoExportStart(builder)
|
90
|
+
|
91
|
+
def VideoExportAddRecording(builder: flatbuffers.Builder, recording: int):
|
92
|
+
builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(recording), 0)
|
93
|
+
|
94
|
+
def AddRecording(builder: flatbuffers.Builder, recording: int):
|
95
|
+
VideoExportAddRecording(builder, recording)
|
96
|
+
|
97
|
+
def VideoExportAddFilepath(builder: flatbuffers.Builder, filepath: int):
|
98
|
+
builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(filepath), 0)
|
99
|
+
|
100
|
+
def AddFilepath(builder: flatbuffers.Builder, filepath: int):
|
101
|
+
VideoExportAddFilepath(builder, filepath)
|
102
|
+
|
103
|
+
def VideoExportAddDescription(builder: flatbuffers.Builder, description: int):
|
104
|
+
builder.PrependUOffsetTRelativeSlot(2, flatbuffers.number_types.UOffsetTFlags.py_type(description), 0)
|
105
|
+
|
106
|
+
def AddDescription(builder: flatbuffers.Builder, description: int):
|
107
|
+
VideoExportAddDescription(builder, description)
|
108
|
+
|
109
|
+
def VideoExportAddFormat(builder: flatbuffers.Builder, format: int):
|
110
|
+
builder.PrependInt32Slot(3, format, 0)
|
111
|
+
|
112
|
+
def AddFormat(builder: flatbuffers.Builder, format: int):
|
113
|
+
VideoExportAddFormat(builder, format)
|
114
|
+
|
115
|
+
def VideoExportAddFps(builder: flatbuffers.Builder, fps: float):
|
116
|
+
builder.PrependFloat32Slot(4, fps, 0.0)
|
117
|
+
|
118
|
+
def AddFps(builder: flatbuffers.Builder, fps: float):
|
119
|
+
VideoExportAddFps(builder, fps)
|
120
|
+
|
121
|
+
def VideoExportAddTStart(builder: flatbuffers.Builder, tStart: int):
|
122
|
+
builder.PrependInt32Slot(5, tStart, 0)
|
123
|
+
|
124
|
+
def AddTStart(builder: flatbuffers.Builder, tStart: int):
|
125
|
+
VideoExportAddTStart(builder, tStart)
|
126
|
+
|
127
|
+
def VideoExportAddTEnd(builder: flatbuffers.Builder, tEnd: int):
|
128
|
+
builder.PrependInt32Slot(6, tEnd, 0)
|
129
|
+
|
130
|
+
def AddTEnd(builder: flatbuffers.Builder, tEnd: int):
|
131
|
+
VideoExportAddTEnd(builder, tEnd)
|
132
|
+
|
133
|
+
def VideoExportAddCloseAfterCompletion(builder: flatbuffers.Builder, closeAfterCompletion: bool):
|
134
|
+
builder.PrependBoolSlot(7, closeAfterCompletion, 0)
|
135
|
+
|
136
|
+
def AddCloseAfterCompletion(builder: flatbuffers.Builder, closeAfterCompletion: bool):
|
137
|
+
VideoExportAddCloseAfterCompletion(builder, closeAfterCompletion)
|
138
|
+
|
139
|
+
def VideoExportEnd(builder: flatbuffers.Builder) -> int:
|
140
|
+
return builder.EndObject()
|
141
|
+
|
142
|
+
def End(builder: flatbuffers.Builder) -> int:
|
143
|
+
return VideoExportEnd(builder)
|
File without changes
|