LeviLamina
Loading...
Searching...
No Matches
VideoFrame.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/VideoRotation.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class ColorSpace; }
12namespace webrtc { class RtpPacketInfos; }
13namespace webrtc { class Timestamp; }
14namespace webrtc { class VideoFrameBuffer; }
15// clang-format on
16
17namespace webrtc {
18
20public:
21 // VideoFrame inner types declare
22 // clang-format off
23 class Builder;
24 struct ProcessingTime;
25 struct RenderParameters;
26 struct UpdateRect;
27 // clang-format on
28
29 // VideoFrame inner types define
30 struct UpdateRect {
31 public:
32 // member variables
33 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
42 UpdateRect& operator=(UpdateRect const&);
43 UpdateRect(UpdateRect const&);
44 UpdateRect();
45 };
46
48 public:
49 // member variables
50 // NOLINTBEGIN
53 // NOLINTEND
54
55 public:
56 // prevent constructor by default
57 ProcessingTime& operator=(ProcessingTime const&);
60 };
61
63 public:
64 // member variables
65 // NOLINTBEGIN
68 // NOLINTEND
69
70 public:
71 // prevent constructor by default
72 RenderParameters& operator=(RenderParameters const&);
75 };
76
77 class Builder {
78 public:
79 // member variables
80 // NOLINTBEGIN
93 // NOLINTEND
94
95 public:
96 // prevent constructor by default
97 Builder& operator=(Builder const&);
98 Builder(Builder const&);
99
100 public:
101 // member functions
102 // NOLINTBEGIN
103 MCAPI Builder();
104
105 MCAPI ::webrtc::VideoFrame build();
106
107 MCAPI ::webrtc::VideoFrame::Builder& set_id(ushort);
108
109 MCAPI ::webrtc::VideoFrame::Builder& set_rotation(::webrtc::VideoRotation);
110
111 MCAPI ::webrtc::VideoFrame::Builder& set_timestamp_us(int64);
112
113 MCAPI ::webrtc::VideoFrame::Builder&
114 set_video_frame_buffer(::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer> const&);
115
116 MCAPI ~Builder();
117 // NOLINTEND
118
119 public:
120 // constructor thunks
121 // NOLINTBEGIN
122 MCAPI void* $ctor();
123 // NOLINTEND
124
125 public:
126 // destructor thunk
127 // NOLINTBEGIN
128 MCAPI void $dtor();
129 // NOLINTEND
130 };
131
132public:
133 // member variables
134 // NOLINTBEGIN
148 // NOLINTEND
149
150public:
151 // prevent constructor by default
152 VideoFrame& operator=(VideoFrame const&);
153 VideoFrame();
154
155public:
156 // member functions
157 // NOLINTBEGIN
158 MCAPI VideoFrame(::webrtc::VideoFrame const&);
159
160 MCAPI VideoFrame(
161 ushort,
163 int64,
164 ::std::optional<::webrtc::Timestamp> const&,
165 ::std::optional<::webrtc::Timestamp> const&,
166 uint,
167 int64,
168 ::webrtc::VideoRotation,
169 ::std::optional<::webrtc::ColorSpace> const&,
171 ::std::optional<::webrtc::VideoFrame::UpdateRect> const&,
173 );
174
175 MCAPI int height() const;
176
177 MCAPI int width() const;
178
179 MCAPI ~VideoFrame();
180 // NOLINTEND
181
182public:
183 // constructor thunks
184 // NOLINTBEGIN
185 MCAPI void* $ctor(::webrtc::VideoFrame const&);
186
187 MCAPI void* $ctor(
188 ushort,
190 int64,
191 ::std::optional<::webrtc::Timestamp> const&,
192 ::std::optional<::webrtc::Timestamp> const&,
193 uint,
194 int64,
195 ::webrtc::VideoRotation,
196 ::std::optional<::webrtc::ColorSpace> const&,
198 ::std::optional<::webrtc::VideoFrame::UpdateRect> const&,
200 );
201 // NOLINTEND
202
203public:
204 // destructor thunk
205 // NOLINTBEGIN
206 MCAPI void $dtor();
207 // NOLINTEND
208};
209
210} // namespace webrtc
Definition RtpPacketInfos.h:15
Definition VideoFrame.h:77
Definition VideoFrame.h:19
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition VideoFrame.h:47
Definition VideoFrame.h:62
Definition VideoFrame.h:30