LeviLamina
Loading...
Searching...
No Matches
TransportFeedback.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/FunctionView.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class TimeDelta; }
11namespace webrtc { class Timestamp; }
12namespace webrtc::rtcp { class CommonHeader; }
13// clang-format on
14
15namespace webrtc::rtcp {
16
18public:
19 // TransportFeedback inner types declare
20 // clang-format off
21 struct LastChunk;
22 class ReceivedPacket;
23 // clang-format on
24
25 // TransportFeedback inner types define
26 struct LastChunk {
27 public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI void AppendTo(::std::vector<uchar>*) const;
31
32 MCNAPI void Clear();
33
34 MCNAPI void Decode(ushort, uint64);
35
36 MCNAPI void DecodeOneBit(ushort, uint64);
37
38 MCNAPI void DecodeRunLength(ushort, uint64);
39
40 MCNAPI void DecodeTwoBit(ushort, uint64);
41
42 MCNAPI bool Empty() const;
43
44 MCNAPI ushort EncodeLast() const;
45
46 MCNAPI ushort EncodeOneBit() const;
47
48 MCNAPI ushort EncodeRunLength() const;
49
50 MCNAPI ushort EncodeTwoBit(uint64) const;
51
52 MCNAPI LastChunk();
53 // NOLINTEND
54
55 public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor();
59 // NOLINTEND
60 };
61
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCNAPI ::webrtc::Timestamp BaseTime() const;
68
69 MCNAPI void Clear();
70
71 MCNAPI void ForAllPackets(::rtc::FunctionView<void(ushort, ::webrtc::TimeDelta)>) const;
72
73 MCNAPI ::webrtc::TimeDelta GetBaseDelta(::webrtc::Timestamp) const;
74
75 MCNAPI uint64 PaddingLength() const;
76
78
80
81 MCNAPI explicit TransportFeedback(bool);
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCNAPI void* $ctor();
88
89 MCNAPI void* $ctor(bool);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
98
99} // namespace webrtc::rtcp
Definition FunctionView.h:8
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition CommonHeader.h:7
Definition TransportFeedback.h:62
Definition TransportFeedback.h:17
MCAPI::webrtc::Timestamp BaseTime() const
MCAPI uint64 PaddingLength() const
static MCAPI void ** $vftable()
MCAPI void ForAllPackets(::rtc::FunctionView< void(ushort, ::webrtc::TimeDelta)>) const
MCAPI::webrtc::TimeDelta GetBaseDelta(::webrtc::Timestamp) const
MCAPI bool Parse(::webrtc::rtcp::CommonHeader const &)
Definition TransportFeedback.h:26
MCAPI void DecodeTwoBit(ushort, uint64)
MCAPI void DecodeRunLength(ushort, uint64)
MCAPI void AppendTo(::std::vector< uchar > *) const
MCAPI void DecodeOneBit(ushort, uint64)
MCAPI ushort EncodeTwoBit(uint64) const