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

Side by Side Diff: webrtc/modules/video_coding/inter_frame_delay.cc

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/video_coding/main/source/inter_frame_delay.h" 11 #include "webrtc/modules/video_coding/inter_frame_delay.h"
12 12
13 namespace webrtc { 13 namespace webrtc {
14 14
15 VCMInterFrameDelay::VCMInterFrameDelay(int64_t currentWallClock) 15 VCMInterFrameDelay::VCMInterFrameDelay(int64_t currentWallClock)
16 { 16 {
17 Reset(currentWallClock); 17 Reset(currentWallClock);
18 } 18 }
19 19
20 // Resets the delay estimate 20 // Resets the delay estimate
21 void 21 void
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // This difference will probably be less than -2^31 if we have had a backwar d wrap around. 105 // This difference will probably be less than -2^31 if we have had a backwar d wrap around.
106 // Since it is cast to a Word32, it should be positive. 106 // Since it is cast to a Word32, it should be positive.
107 else if (static_cast<int32_t>(_prevTimestamp - timestamp) > 0) 107 else if (static_cast<int32_t>(_prevTimestamp - timestamp) > 0)
108 { 108 {
109 // Backward wrap around 109 // Backward wrap around
110 _wrapArounds--; 110 _wrapArounds--;
111 } 111 }
112 } 112 }
113 113
114 } 114 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/inter_frame_delay.h ('k') | webrtc/modules/video_coding/internal_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698