Delete unused methods in VCMFrameBuffer and VCMSessionInfo.

Bug: None
Change-Id: Ia97bb14ac9fa1a31dae248fc5a0f58e07b588ec7
Reviewed-on: https://webrtc-review.googlesource.com/82164
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23566}
This commit is contained in:
Niels Möller
2018-06-08 15:17:41 +02:00
committed by Commit Bot
parent 6d19180030
commit 425f713d24
4 changed files with 2 additions and 76 deletions

View File

@ -39,17 +39,11 @@ class VCMFrameBuffer : public VCMEncodedFrame {
// State
// Get current state of frame
VCMFrameBufferStateEnum GetState() const;
// Get current state and timestamp of frame
VCMFrameBufferStateEnum GetState(uint32_t& timeStamp) const;
void PrepareForDecode(bool continuous);
bool IsRetransmitted() const;
bool IsSessionComplete() const;
bool HaveFirstPacket() const;
bool HaveLastPacket() const;
int NumPackets() const;
// Makes sure the session contain a decodable stream.
void MakeSessionDecodable();
// Sequence numbers
// Get lowest packet sequence number in frame
@ -61,7 +55,6 @@ class VCMFrameBuffer : public VCMEncodedFrame {
int TemporalId() const;
bool LayerSync() const;
int Tl0PicId() const;
bool NonReference() const;
std::vector<NaluInfo> GetNaluInfos() const;
@ -77,10 +70,7 @@ class VCMFrameBuffer : public VCMEncodedFrame {
int64_t LatestPacketTimeMs() const;
webrtc::FrameType FrameType() const;
void SetPreviousFrameLoss();
// The number of packets discarded because the decoder can't make use of them.
int NotDecodablePackets() const;
private:
void SetState(VCMFrameBufferStateEnum state); // Set state of frame