LeviLamina
Loading...
Searching...
No Matches
ForwardErrorCorrection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/FecMaskType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class FecHeaderReader; }
11namespace webrtc { class FecHeaderWriter; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // ForwardErrorCorrection inner types declare
19 // clang-format off
20 class Packet;
21 class ProtectedPacket;
23 // clang-format on
24
25 // ForwardErrorCorrection inner types define
26 class Packet {
27 public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI Packet();
31 // NOLINTEND
32
33 public:
34 // constructor thunks
35 // NOLINTBEGIN
36 MCAPI void* $ctor();
37 // NOLINTEND
38
39 public:
40 // vftables
41 // NOLINTBEGIN
42 MCAPI static void** $vftable();
43 // NOLINTEND
44 };
45
47 public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI ~ProtectedPacket();
51 // NOLINTEND
52
53 public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58 };
59
61 public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI ~ReceivedFecPacket();
65 // NOLINTEND
66
67 public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCAPI void $dtor();
71 // NOLINTEND
72 };
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI int
78 EncodeFec(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&, uchar, int, bool, ::webrtc::FecMaskType, ::std::list<::webrtc::ForwardErrorCorrection::Packet*>*);
79
80 MCAPI void FinalizeFecHeaders(uint64, uint, ushort);
81
83 ::std::unique_ptr<::webrtc::FecHeaderReader>,
84 ::std::unique_ptr<::webrtc::FecHeaderWriter>,
85 uint,
86 uint
87 );
88
89 MCAPI void
90 GenerateFecPayloads(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&, uint64);
91
92 MCAPI int
93 InsertZerosInPacketMasks(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&, uint64);
94
95 MCAPI uint64 MaxPacketOverhead() const;
96
98 // NOLINTEND
99
100public:
101 // static functions
102 // NOLINTBEGIN
103 MCAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection> CreateFlexfec(uint, uint);
104
105 MCAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection> CreateUlpfec(uint);
106
107 MCAPI static int NumFecPackets(int, int);
108
109 MCAPI static ushort ParseSequenceNumber(uchar const*);
110
111 MCAPI static uint ParseSsrc(uchar const*);
112
113 MCAPI static void
115
116 MCAPI static void
118 // NOLINTEND
119
120public:
121 // constructor thunks
122 // NOLINTBEGIN
123 MCAPI void*
124 $ctor(::std::unique_ptr<::webrtc::FecHeaderReader>, ::std::unique_ptr<::webrtc::FecHeaderWriter>, uint, uint);
125 // NOLINTEND
126
127public:
128 // destructor thunk
129 // NOLINTBEGIN
130 MCAPI void $dtor();
131 // NOLINTEND
132};
133
134} // namespace webrtc
Definition ForwardErrorCorrection.h:26
Definition ForwardErrorCorrection.h:46
Definition ForwardErrorCorrection.h:60
Definition ForwardErrorCorrection.h:16