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 MCNAPI Builder();
104
105 MCNAPI ::webrtc::VideoFrame build();
106
107 MCNAPI ::webrtc::VideoFrame::Builder& set_id(ushort id);
108
109 MCNAPI ::webrtc::VideoFrame::Builder& set_rotation(::webrtc::VideoRotation rotation);
110
111 MCNAPI ::webrtc::VideoFrame::Builder& set_timestamp_us(int64 timestamp_us);
112
113 MCNAPI ::webrtc::VideoFrame::Builder&
115
116 MCNAPI ~Builder();
117 // NOLINTEND
118
119 public:
120 // constructor thunks
121 // NOLINTBEGIN
122 MCNAPI void* $ctor();
123 // NOLINTEND
124
125 public:
126 // destructor thunk
127 // NOLINTBEGIN
128 MCNAPI 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
159
161 ushort id,
163 int64 timestamp_us,
164 ::std::optional<::webrtc::Timestamp> const& capture_time_identifier,
165 ::std::optional<::webrtc::Timestamp> const& reference_time,
166 uint timestamp_rtp,
167 int64 ntp_time_ms,
168 ::webrtc::VideoRotation rotation,
169 ::std::optional<::webrtc::ColorSpace> const& color_space,
170 ::webrtc::VideoFrame::RenderParameters const& render_parameters,
171 ::std::optional<::webrtc::VideoFrame::UpdateRect> const& update_rect,
172 ::webrtc::RtpPacketInfos packet_infos
173 );
174
175 MCNAPI int height() const;
176
177 MCNAPI int width() const;
178
179 MCNAPI ~VideoFrame();
180 // NOLINTEND
181
182public:
183 // constructor thunks
184 // NOLINTBEGIN
185 MCNAPI void* $ctor(::webrtc::VideoFrame const&);
186
187 MCNAPI void* $ctor(
188 ushort id,
190 int64 timestamp_us,
191 ::std::optional<::webrtc::Timestamp> const& capture_time_identifier,
192 ::std::optional<::webrtc::Timestamp> const& reference_time,
193 uint timestamp_rtp,
194 int64 ntp_time_ms,
195 ::webrtc::VideoRotation rotation,
196 ::std::optional<::webrtc::ColorSpace> const& color_space,
197 ::webrtc::VideoFrame::RenderParameters const& render_parameters,
198 ::std::optional<::webrtc::VideoFrame::UpdateRect> const& update_rect,
199 ::webrtc::RtpPacketInfos packet_infos
200 );
201 // NOLINTEND
202
203public:
204 // destructor thunk
205 // NOLINTBEGIN
206 MCNAPI void $dtor();
207 // NOLINTEND
208};
209
210} // namespace webrtc
Definition RtpPacketInfos.h:15
Definition VideoFrame.h:77
MCAPI::webrtc::VideoFrame::Builder & set_id(ushort id)
MCAPI::webrtc::VideoFrame::Builder & set_rotation(::webrtc::VideoRotation rotation)
MCAPI::webrtc::VideoFrame::Builder & set_timestamp_us(int64 timestamp_us)
MCAPI::webrtc::VideoFrame::Builder & set_video_frame_buffer(::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer > const &buffer)
MCAPI::webrtc::VideoFrame build()
Definition VideoFrame.h:19
MCAPI VideoFrame(::webrtc::VideoFrame const &)
MCAPI int height() const
MCAPI void * $ctor(::webrtc::VideoFrame const &)
MCAPI void * $ctor(ushort id, ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer > const &buffer, int64 timestamp_us, ::std::optional<::webrtc::Timestamp > const &capture_time_identifier, ::std::optional<::webrtc::Timestamp > const &reference_time, uint timestamp_rtp, int64 ntp_time_ms, ::webrtc::VideoRotation rotation, ::std::optional<::webrtc::ColorSpace > const &color_space, ::webrtc::VideoFrame::RenderParameters const &render_parameters, ::std::optional<::webrtc::VideoFrame::UpdateRect > const &update_rect, ::webrtc::RtpPacketInfos packet_infos)
MCAPI void $dtor()
MCAPI VideoFrame(ushort id, ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer > const &buffer, int64 timestamp_us, ::std::optional<::webrtc::Timestamp > const &capture_time_identifier, ::std::optional<::webrtc::Timestamp > const &reference_time, uint timestamp_rtp, int64 ntp_time_ms, ::webrtc::VideoRotation rotation, ::std::optional<::webrtc::ColorSpace > const &color_space, ::webrtc::VideoFrame::RenderParameters const &render_parameters, ::std::optional<::webrtc::VideoFrame::UpdateRect > const &update_rect, ::webrtc::RtpPacketInfos packet_infos)
MCAPI int width() const
Definition scoped_refptr.h:8
Definition buffer.h:5
Definition Alias.h:14
Definition VideoFrame.h:47
Definition VideoFrame.h:62
Definition VideoFrame.h:30