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 MCNAPI Packet();
31 // NOLINTEND
32
33 public:
34 // constructor thunks
35 // NOLINTBEGIN
36 MCNAPI void* $ctor();
37 // NOLINTEND
38
39 public:
40 // vftables
41 // NOLINTBEGIN
42 MCNAPI static void** $vftable();
43 // NOLINTEND
44 };
45
47 public:
48 // member functions
49 // NOLINTBEGIN
51 // NOLINTEND
52
53 public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCNAPI void $dtor();
57 // NOLINTEND
58 };
59
61 public:
62 // member functions
63 // NOLINTBEGIN
65 // NOLINTEND
66
67 public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72 };
73
74public:
75 // prevent constructor by default
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI int EncodeFec(
82 ::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&,
83 uchar,
84 int,
85 bool,
86 ::webrtc::FecMaskType,
87 ::std::list<::webrtc::ForwardErrorCorrection::Packet*>*
88 );
89
90 MCNAPI void FinalizeFecHeaders(uint64, uint, ushort);
91
93 ::std::unique_ptr<::webrtc::FecHeaderReader>,
94 ::std::unique_ptr<::webrtc::FecHeaderWriter>,
95 uint,
96 uint
97 );
98
99 MCNAPI void
100 GenerateFecPayloads(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&, uint64);
101
102 MCNAPI int
103 InsertZerosInPacketMasks(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>> const&, uint64);
104
105 MCNAPI uint64 MaxPacketOverhead() const;
106
108 // NOLINTEND
109
110public:
111 // static functions
112 // NOLINTBEGIN
113 MCNAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection> CreateFlexfec(uint, uint);
114
115 MCNAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection> CreateUlpfec(uint);
116
117 MCNAPI static int NumFecPackets(int, int);
118
119 MCNAPI static ushort ParseSequenceNumber(uchar const*);
120
121 MCNAPI static uint ParseSsrc(uchar const*);
122
123 MCNAPI static void
125
126 MCNAPI static void XorPayloads(
128 uint64,
129 uint64,
131 );
132 // NOLINTEND
133
134public:
135 // constructor thunks
136 // NOLINTBEGIN
137 MCNAPI void*
138 $ctor(::std::unique_ptr<::webrtc::FecHeaderReader>, ::std::unique_ptr<::webrtc::FecHeaderWriter>, uint, uint);
139 // NOLINTEND
140
141public:
142 // destructor thunk
143 // NOLINTBEGIN
144 MCNAPI void $dtor();
145 // NOLINTEND
146};
147
148} // namespace webrtc
Definition ForwardErrorCorrection.h:26
Definition ForwardErrorCorrection.h:46
Definition ForwardErrorCorrection.h:60
Definition ForwardErrorCorrection.h:16
MCAPI ForwardErrorCorrection(::std::unique_ptr<::webrtc::FecHeaderReader >, ::std::unique_ptr<::webrtc::FecHeaderWriter >, uint, uint)
MCAPI int EncodeFec(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &, uchar, int, bool, ::webrtc::FecMaskType, ::std::list<::webrtc::ForwardErrorCorrection::Packet * > *)
MCAPI int InsertZerosInPacketMasks(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &, uint64)
MCAPI void * $ctor(::std::unique_ptr<::webrtc::FecHeaderReader >, ::std::unique_ptr<::webrtc::FecHeaderWriter >, uint, uint)
MCAPI uint64 MaxPacketOverhead() const
static MCAPI ::std::unique_ptr<::webrtc::ForwardErrorCorrection > CreateFlexfec(uint, uint)
static MCAPI ushort ParseSequenceNumber(uchar const *)
MCAPI void FinalizeFecHeaders(uint64, uint, ushort)
static MCAPI ::std::unique_ptr<::webrtc::ForwardErrorCorrection > CreateUlpfec(uint)
static MCAPI uint ParseSsrc(uchar const *)
static MCAPI int NumFecPackets(int, int)
static MCAPI void XorHeaders(::webrtc::ForwardErrorCorrection::Packet const &, ::webrtc::ForwardErrorCorrection::Packet *)
MCAPI void GenerateFecPayloads(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &, uint64)
static MCAPI void XorPayloads(::webrtc::ForwardErrorCorrection::Packet const &, uint64, uint64, ::webrtc::ForwardErrorCorrection::Packet *)