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
139 public:
140 // member variables
141 // NOLINTBEGIN
146 // NOLINTEND
147
148 public:
149 // prevent constructor by default
150 LossNotification& operator=(LossNotification const&);
153 };
154
156 public:
157 // member variables
158 // NOLINTBEGIN
160 // NOLINTEND
161
162 public:
163 // prevent constructor by default
164 Capabilities& operator=(Capabilities const&);
166 Capabilities();
167 };
168
169 struct Settings {
170 public:
171 // member variables
172 // NOLINTBEGIN
177 // NOLINTEND
178
179 public:
180 // prevent constructor by default
181 Settings& operator=(Settings const&);
182 Settings(Settings const&);
183 Settings();
184 };
185
186public:
187 // virtual functions
188 // NOLINTBEGIN
189 // vIndex: 0
190 virtual ~VideoEncoder() = default;
191
192 // vIndex: 1
193 virtual void SetFecControllerOverride(::webrtc::FecControllerOverride*);
194
195 // vIndex: 3
196 virtual int InitEncode(::webrtc::VideoCodec const*, int, uint64);
197
198 // vIndex: 2
199 virtual int InitEncode(::webrtc::VideoCodec const*, ::webrtc::VideoEncoder::Settings const&);
200
201 // vIndex: 4
202 virtual int RegisterEncodeCompleteCallback(::webrtc::EncodedImageCallback*) = 0;
203
204 // vIndex: 5
205 virtual int Release() = 0;
206
207 // vIndex: 6
208 virtual int Encode(::webrtc::VideoFrame const&, ::std::vector<::webrtc::VideoFrameType> const*) = 0;
209
210 // vIndex: 7
211 virtual void SetRates(::webrtc::VideoEncoder::RateControlParameters const&) = 0;
212
213 // vIndex: 8
214 virtual void OnPacketLossRateUpdate(float);
215
216 // vIndex: 9
217 virtual void OnRttUpdate(int64);
218
219 // vIndex: 10
220 virtual void OnLossNotification(::webrtc::VideoEncoder::LossNotification const&);
221
222 // vIndex: 11
223 virtual ::webrtc::VideoEncoder::EncoderInfo GetEncoderInfo() const = 0;
224 // NOLINTEND
225
226public:
227 // virtual function thunks
228 // NOLINTBEGIN
229
230 // NOLINTEND
231};
232
233} // 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:155
Definition VideoEncoder.h:89
Definition VideoEncoder.h:138
Definition VideoEncoder.h:33
Definition VideoEncoder.h:114
Definition VideoEncoder.h:48
Definition VideoEncoder.h:169