LeviLamina
Loading...
Searching...
No Matches
VideoEncoder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/VideoFrameType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class EncodedImageCallback; }
11namespace webrtc { class FecControllerOverride; }
12namespace webrtc { class VideoCodec; }
13namespace webrtc { class VideoFrame; }
14// clang-format on
15
16namespace webrtc {
17
19public:
20 // VideoEncoder inner types declare
21 // clang-format off
22 struct Capabilities;
23 struct EncoderInfo;
24 struct LossNotification;
25 struct QpThresholds;
28 struct ScalingSettings;
29 struct Settings;
30 // clang-format on
31
32 // VideoEncoder inner types define
33 struct QpThresholds {
34 public:
35 // member variables
36 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 QpThresholds& operator=(QpThresholds const&);
46 };
47
49 public:
50 // ScalingSettings inner types declare
51 // clang-format off
52 struct KOff;
53 // clang-format on
54
55 // ScalingSettings inner types define
56 struct KOff {};
57
58 public:
59 // member variables
60 // NOLINTBEGIN
63 // NOLINTEND
64
65 public:
66 // prevent constructor by default
67 ScalingSettings& operator=(ScalingSettings const&);
70 };
71
73 public:
74 // member variables
75 // NOLINTBEGIN
80 // NOLINTEND
81
82 public:
83 // prevent constructor by default
87 };
88
89 struct EncoderInfo {
90 public:
91 // member variables
92 // NOLINTBEGIN
105 // NOLINTEND
106
107 public:
108 // prevent constructor by default
109 EncoderInfo& operator=(EncoderInfo const&);
110 EncoderInfo(EncoderInfo const&);
111 EncoderInfo();
112 };
113
115 public:
116 // member variables
117 // NOLINTBEGIN
122 // NOLINTEND
123
124 public:
125 // prevent constructor by default
129
130 public:
131 // virtual functions
132 // NOLINTBEGIN
133 // vIndex: 0
134 virtual ~RateControlParameters() = default;
135 // NOLINTEND
136
137 public:
138 // destructor thunk
139 // NOLINTBEGIN
140
141 // NOLINTEND
142 };
143
145 public:
146 // member variables
147 // NOLINTBEGIN
152 // NOLINTEND
153
154 public:
155 // prevent constructor by default
156 LossNotification& operator=(LossNotification const&);
159 };
160
162 public:
163 // member variables
164 // NOLINTBEGIN
166 // NOLINTEND
167
168 public:
169 // prevent constructor by default
170 Capabilities& operator=(Capabilities const&);
172 Capabilities();
173 };
174
175 struct Settings {
176 public:
177 // member variables
178 // NOLINTBEGIN
183 // NOLINTEND
184
185 public:
186 // prevent constructor by default
187 Settings& operator=(Settings const&);
188 Settings(Settings const&);
189 Settings();
190 };
191
192public:
193 // virtual functions
194 // NOLINTBEGIN
195 // vIndex: 0
196 virtual ~VideoEncoder() = default;
197
198 // vIndex: 1
199 virtual void SetFecControllerOverride(::webrtc::FecControllerOverride*);
200
201 // vIndex: 3
202 virtual int InitEncode(::webrtc::VideoCodec const*, int, uint64);
203
204 // vIndex: 2
205 virtual int InitEncode(::webrtc::VideoCodec const*, ::webrtc::VideoEncoder::Settings const&);
206
207 // vIndex: 4
208 virtual int RegisterEncodeCompleteCallback(::webrtc::EncodedImageCallback*) = 0;
209
210 // vIndex: 5
211 virtual int Release() = 0;
212
213 // vIndex: 6
214 virtual int Encode(::webrtc::VideoFrame const&, ::std::vector<::webrtc::VideoFrameType> const*) = 0;
215
216 // vIndex: 7
217 virtual void SetRates(::webrtc::VideoEncoder::RateControlParameters const&) = 0;
218
219 // vIndex: 8
220 virtual void OnPacketLossRateUpdate(float);
221
222 // vIndex: 9
223 virtual void OnRttUpdate(int64);
224
225 // vIndex: 10
226 virtual void OnLossNotification(::webrtc::VideoEncoder::LossNotification const&);
227
228 // vIndex: 11
229 virtual ::webrtc::VideoEncoder::EncoderInfo GetEncoderInfo() const = 0;
230 // NOLINTEND
231
232public:
233 // destructor thunk
234 // NOLINTBEGIN
235
236 // NOLINTEND
237
238public:
239 // virtual function thunks
240 // NOLINTBEGIN
241
242 // NOLINTEND
243};
244
245} // namespace webrtc
Definition EncodedImageCallback.h:13
Definition FecControllerOverride.h:7
Definition VideoCodec.h:7
Definition VideoEncoder.h:18
Definition VideoFrame.h:19
Definition Alias.h:14
Definition VideoEncoder.h:161
Definition VideoEncoder.h:89
Definition VideoEncoder.h:144
Definition VideoEncoder.h:33
Definition VideoEncoder.h:114
Definition VideoEncoder.h:48
Definition VideoEncoder.h:175