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

Unified Diff: webrtc/modules/video_coding/main/source/codec_timer.h

Issue 1414693006: Add DecodedImageCallback::Decoded() function with custom decode time value. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: addressed comments. Created 5 years, 1 month 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
Index: webrtc/modules/video_coding/main/source/codec_timer.h
diff --git a/webrtc/modules/video_coding/main/source/codec_timer.h b/webrtc/modules/video_coding/main/source/codec_timer.h
index 9268e8d8171b8463f01f1504c1fcfd244fc41457..347218f9a0a9b627dbddab78cf521809f1031a6a 100644
--- a/webrtc/modules/video_coding/main/source/codec_timer.h
+++ b/webrtc/modules/video_coding/main/source/codec_timer.h
@@ -35,8 +35,8 @@ class VCMCodecTimer
public:
VCMCodecTimer();
- // Updates and returns the max filtered decode time.
- int32_t StopTimer(int64_t startTimeMs, int64_t nowMs);
+ // Updates the max filtered decode time.
+ void MaxFilter(int32_t newDecodeTimeMs, int64_t nowMs);
// Empty the list of timers.
void Reset();
@@ -46,7 +46,6 @@ public:
private:
void UpdateMaxHistory(int32_t decodeTime, int64_t now);
- void MaxFilter(int32_t newTime, int64_t nowMs);
void ProcessHistory(int64_t nowMs);
int32_t _filteredMax;
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc ('k') | webrtc/modules/video_coding/main/source/codec_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698