Delete unused class Vp9SsMap
Appears unused since https://codereview.webrtc.org/1426813002 Bug: webrtc:7408 Change-Id: I13b8c35548314705eaf31ff2366636f358fef718 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133203 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27645}
This commit is contained in:
@ -68,40 +68,6 @@ class FrameList
|
||||
void Reset(UnorderedFrameList* free_frames);
|
||||
};
|
||||
|
||||
class Vp9SsMap {
|
||||
public:
|
||||
typedef std::map<uint32_t, GofInfoVP9, TimestampLessThan> SsMap;
|
||||
Vp9SsMap();
|
||||
~Vp9SsMap();
|
||||
|
||||
bool Insert(const VCMPacket& packet);
|
||||
void Reset();
|
||||
|
||||
// Removes SS data that are older than |timestamp|.
|
||||
// The |timestamp| should be an old timestamp, i.e. packets with older
|
||||
// timestamps should no longer be inserted.
|
||||
void RemoveOld(uint32_t timestamp);
|
||||
|
||||
bool UpdatePacket(VCMPacket* packet);
|
||||
void UpdateFrames(FrameList* frames);
|
||||
|
||||
// Public for testing.
|
||||
// Returns an iterator to the corresponding SS data for the input |timestamp|.
|
||||
bool Find(uint32_t timestamp, SsMap::iterator* it);
|
||||
|
||||
private:
|
||||
// These two functions are called by RemoveOld.
|
||||
// Checks if it is time to do a clean up (done each kSsCleanupIntervalSec).
|
||||
bool TimeForCleanup(uint32_t timestamp) const;
|
||||
|
||||
// Advances the oldest SS data to handle timestamp wrap in cases where SS data
|
||||
// are received very seldom (e.g. only once in beginning, second when
|
||||
// IsNewerTimestamp is not true).
|
||||
void AdvanceFront(uint32_t timestamp);
|
||||
|
||||
SsMap ss_map_;
|
||||
};
|
||||
|
||||
class VCMJitterBuffer {
|
||||
public:
|
||||
VCMJitterBuffer(Clock* clock, std::unique_ptr<EventWrapper> event);
|
||||
|
Reference in New Issue
Block a user