summaryrefslogtreecommitdiff
path: root/video_engine/overuse_frame_detector.h
diff options
context:
space:
mode:
authorasapersson@webrtc.org <asapersson@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-20 13:51:40 +0000
committerasapersson@webrtc.org <asapersson@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-20 13:51:40 +0000
commit4747585bba09508c7475bf1e5f70a0b981175d9f (patch)
tree401bfb41670130bdcfd64662836e1ee8840cbf54 /video_engine/overuse_frame_detector.h
parent3051951c0e66a04914085e9fa0d28c6564642ba9 (diff)
downloadwebrtc-4747585bba09508c7475bf1e5f70a0b981175d9f.tar.gz
Added ViE API for getting overuse measure.
R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3129005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5141 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/overuse_frame_detector.h')
-rw-r--r--video_engine/overuse_frame_detector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/video_engine/overuse_frame_detector.h b/video_engine/overuse_frame_detector.h
index 4717a606..4c2d1295 100644
--- a/video_engine/overuse_frame_detector.h
+++ b/video_engine/overuse_frame_detector.h
@@ -71,6 +71,8 @@ class OveruseFrameDetector : public Module {
// Called for each captured frame.
void FrameCaptured(int width, int height);
+ int last_capture_jitter_ms();
+
// Implements Module.
virtual int32_t TimeUntilNextProcess() OVERRIDE;
virtual int32_t Process() OVERRIDE;
@@ -105,6 +107,8 @@ class OveruseFrameDetector : public Module {
// Number of pixels of last captured frame.
int num_pixels_;
+ int last_capture_jitter_ms_;
+
DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector);
};