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

Side by Side Diff: webrtc/modules/video_coding/nack_module.h

Issue 1814753002: Moved sequence number specific operations from mod_ops.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_coding/histogram.cc ('k') | webrtc/modules/video_coding/nack_module.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 #ifndef WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_
13 13
14 #include <map> 14 #include <map>
15 #include <vector> 15 #include <vector>
16 #include <set> 16 #include <set>
17 17
18 #include "webrtc/base/criticalsection.h" 18 #include "webrtc/base/criticalsection.h"
19 #include "webrtc/base/mod_ops.h"
20 #include "webrtc/base/thread_annotations.h" 19 #include "webrtc/base/thread_annotations.h"
21 #include "webrtc/modules/include/module.h" 20 #include "webrtc/modules/include/module.h"
22 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 21 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
23 #include "webrtc/modules/video_coding/packet.h" 22 #include "webrtc/modules/video_coding/packet.h"
24 #include "webrtc/modules/video_coding/histogram.h" 23 #include "webrtc/modules/video_coding/histogram.h"
24 #include "webrtc/modules/video_coding/sequence_number_util.h"
25 #include "webrtc/system_wrappers/include/clock.h" 25 #include "webrtc/system_wrappers/include/clock.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 class NackModule : public Module { 29 class NackModule : public Module {
30 public: 30 public:
31 NackModule(Clock* clock, 31 NackModule(Clock* clock,
32 NackSender* nack_sender, 32 NackSender* nack_sender,
33 KeyFrameRequestSender* keyframe_request_sender); 33 KeyFrameRequestSender* keyframe_request_sender);
34 34
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool running_ GUARDED_BY(crit_); 93 bool running_ GUARDED_BY(crit_);
94 bool initialized_ GUARDED_BY(crit_); 94 bool initialized_ GUARDED_BY(crit_);
95 int64_t rtt_ms_ GUARDED_BY(crit_); 95 int64_t rtt_ms_ GUARDED_BY(crit_);
96 uint16_t last_seq_num_ GUARDED_BY(crit_); 96 uint16_t last_seq_num_ GUARDED_BY(crit_);
97 int64_t next_process_time_ms_ GUARDED_BY(crit_); 97 int64_t next_process_time_ms_ GUARDED_BY(crit_);
98 }; 98 };
99 99
100 } // namespace webrtc 100 } // namespace webrtc
101 101
102 #endif // WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ 102 #endif // WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/histogram.cc ('k') | webrtc/modules/video_coding/nack_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698