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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/playout_delay_oracle.h

Issue 3010223002: Update thread annotiation macros in modules to use RTC_ prefix (Closed)
Patch Set: Created 3 years, 3 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
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
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 uint16_t seq_num); 56 uint16_t seq_num);
57 57
58 void OnReceivedRtcpReportBlocks(const ReportBlockList& report_blocks); 58 void OnReceivedRtcpReportBlocks(const ReportBlockList& report_blocks);
59 59
60 private: 60 private:
61 // The playout delay information is updated from the encoder thread(s). 61 // The playout delay information is updated from the encoder thread(s).
62 // The sequence number feedback is updated from the worker thread. 62 // The sequence number feedback is updated from the worker thread.
63 // Guards access to data across multiple threads. 63 // Guards access to data across multiple threads.
64 rtc::CriticalSection crit_sect_; 64 rtc::CriticalSection crit_sect_;
65 // The current highest sequence number on which playout delay has been sent. 65 // The current highest sequence number on which playout delay has been sent.
66 int64_t high_sequence_number_ GUARDED_BY(crit_sect_); 66 int64_t high_sequence_number_ RTC_GUARDED_BY(crit_sect_);
67 // Indicates whether the playout delay should go on the next frame. 67 // Indicates whether the playout delay should go on the next frame.
68 bool send_playout_delay_ GUARDED_BY(crit_sect_); 68 bool send_playout_delay_ RTC_GUARDED_BY(crit_sect_);
69 // Sender ssrc. 69 // Sender ssrc.
70 uint32_t ssrc_ GUARDED_BY(crit_sect_); 70 uint32_t ssrc_ RTC_GUARDED_BY(crit_sect_);
71 // Sequence number unwrapper. 71 // Sequence number unwrapper.
72 SequenceNumberUnwrapper unwrapper_ GUARDED_BY(crit_sect_); 72 SequenceNumberUnwrapper unwrapper_ RTC_GUARDED_BY(crit_sect_);
73 // Playout delay values on the next frame if |send_playout_delay_| is set. 73 // Playout delay values on the next frame if |send_playout_delay_| is set.
74 PlayoutDelay playout_delay_ GUARDED_BY(crit_sect_); 74 PlayoutDelay playout_delay_ RTC_GUARDED_BY(crit_sect_);
75 75
76 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle); 76 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle);
77 }; 77 };
78 78
79 } // namespace webrtc 79 } // namespace webrtc
80 80
81 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ 81 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h ('k') | webrtc/modules/rtp_rtcp/source/receive_statistics_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698