Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: webrtc/modules/rtp_rtcp/source/tmmbr_help.h

Issue 2254703003: Remove TMMBRSet class (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Feedback Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/tmmbr_help.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/tmmbr_help.h
diff --git a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h
index e08856e40c76a15e4e525447ec334575cd7380e7..9bd09c325141d22b64c90df95654fa68dd4d5042 100644
--- a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h
+++ b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h
@@ -16,28 +16,6 @@
#include "webrtc/typedefs.h"
namespace webrtc {
-class TMMBRSet : public std::vector<rtcp::TmmbItem> {
- public:
- void VerifyAndAllocateSet(uint32_t minimumSize);
- void VerifyAndAllocateSetKeepingData(uint32_t minimumSize);
- // Number of valid data items in set.
- uint32_t lengthOfSet() const { return size(); }
- // Presently allocated max size of set.
- uint32_t sizeOfSet() const { return capacity(); }
- void clearSet() { clear(); }
- uint32_t Tmmbr(int i) const { return (*this)[i].bitrate_bps() / 1000; }
- uint32_t PacketOH(int i) const { return (*this)[i].packet_overhead(); }
- uint32_t Ssrc(int i) const { return (*this)[i].ssrc(); }
- void SetEntry(unsigned int i,
- uint32_t tmmbrSet,
- uint32_t packetOHSet,
- uint32_t ssrcSet);
-
- void AddEntry(uint32_t tmmbrSet, uint32_t packetOHSet, uint32_t ssrcSet);
-
- // Remove one entry from table, and move all others down.
- void RemoveEntry(uint32_t sourceIdx);
-};
class TMMBRHelp {
public:
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/tmmbr_help.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698