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

Unified Diff: webrtc/modules/video_coding/jitter_buffer.h

Issue 2073073003: Remove some dead code from VCMJitterBuffer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | webrtc/modules/video_coding/jitter_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/jitter_buffer.h
diff --git a/webrtc/modules/video_coding/jitter_buffer.h b/webrtc/modules/video_coding/jitter_buffer.h
index a3e9ace91ecc8ef34269753e550dee3abb3e8681..66f0ffe4c1af0adc1348df6b23c342d6e8dbc68e 100644
--- a/webrtc/modules/video_coding/jitter_buffer.h
+++ b/webrtc/modules/video_coding/jitter_buffer.h
@@ -129,10 +129,6 @@ class VCMJitterBuffer {
// was started.
FrameCounts FrameStatistics() const;
- // The number of packets discarded by the jitter buffer because the decoder
- // won't be able to decode them.
- int num_not_decodable_packets() const;
-
// Gets number of packets received.
int num_packets() const;
@@ -145,12 +141,6 @@ class VCMJitterBuffer {
// Statistics, Calculate frame and bit rates.
void IncomingRateStatistics(unsigned int* framerate, unsigned int* bitrate);
- // Checks if the packet sequence will be complete if the next frame would be
- // grabbed for decoding. That is, if a frame has been lost between the
- // last decoded frame and the next, or if the next frame is missing one
- // or more packets.
- bool CompleteSequenceWithNextFrame();
-
// Wait |max_wait_time_ms| for a complete frame to arrive.
// If found, a pointer to the frame is returned. Returns nullptr otherwise.
VCMEncodedFrame* NextCompleteFrame(uint32_t max_wait_time_ms);
@@ -208,7 +198,6 @@ class VCMJitterBuffer {
// Set decode error mode - Should not be changed in the middle of the
// session. Changes will not influence frames already in the buffer.
void SetDecodeErrorMode(VCMDecodeErrorMode error_mode);
- int64_t LastDecodedTimestamp() const;
VCMDecodeErrorMode decode_error_mode() const { return decode_error_mode_; }
void RegisterStatsCallback(VCMReceiveStatisticsCallback* callback);
« no previous file with comments | « no previous file | webrtc/modules/video_coding/jitter_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698