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

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

Issue 2234783002: Cleaned out candidateSet member from TMMBRHelp class (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove now unused include 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/rtcp_sender.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 ecae946f97d31a9bd3dabd83f40e544f7b99d60a..e08856e40c76a15e4e525447ec334575cd7380e7 100644
--- a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h
+++ b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h
@@ -41,21 +41,14 @@ class TMMBRSet : public std::vector<rtcp::TmmbItem> {
class TMMBRHelp {
public:
- TMMBRSet* CandidateSet();
-
- TMMBRSet* VerifyAndAllocateCandidateSet(const uint32_t minimumSize);
- std::vector<rtcp::TmmbItem> FindTMMBRBoundingSet();
+ static std::vector<rtcp::TmmbItem> FindBoundingSet(
+ std::vector<rtcp::TmmbItem> candidates);
static bool IsOwner(const std::vector<rtcp::TmmbItem>& bounding,
uint32_t ssrc);
- bool CalcMinBitRate(uint32_t* minBitrateKbit) const;
-
- static void FindBoundingSet(std::vector<rtcp::TmmbItem> candidates,
- std::vector<rtcp::TmmbItem>* bounding_set);
-
- private:
- TMMBRSet _candidateSet;
+ static uint64_t CalcMinBitrateBps(
+ const std::vector<rtcp::TmmbItem>& candidates);
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.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