Home
last modified time | relevance | path

Searched refs:crit_sect_ (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl.h212 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
224 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
234 bool* play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
246 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
251 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
259 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
265 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
271 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
274 int DoExpand(bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
282 bool fast_accelerate) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization.h95 void UpdateIncomingFrameRate() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
97 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
98 void UpdateSentBitrate(int64_t now_ms) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
99 void UpdateSentFramerate() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
103 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
109 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
112 bool CheckStatusForQMchange() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
115 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
120 void CheckSuspendConditions() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
130 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
[all …]
Dtiming.h98 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
100 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
101 uint32_t TargetDelayInternal() const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
106 CriticalSectionWrapper* crit_sect_; variable
108 bool master_ GUARDED_BY(crit_sect_);
109 TimestampExtrapolator* ts_extrapolator_ GUARDED_BY(crit_sect_);
110 VCMCodecTimer codec_timer_ GUARDED_BY(crit_sect_);
111 uint32_t render_delay_ms_ GUARDED_BY(crit_sect_);
112 uint32_t min_playout_delay_ms_ GUARDED_BY(crit_sect_);
113 uint32_t jitter_delay_ms_ GUARDED_BY(crit_sect_);
[all …]
Djitter_buffer.h232 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
238 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
242 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
248 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
253 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
254 VCMFrameBuffer* NextFrame() const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
259 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
263 bool HandleTooLargeNackList() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
265 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
270 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
[all …]
Dtiming.cc24 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VCMTiming()
52 delete crit_sect_; in ~VCMTiming()
56 CriticalSectionScoped cs(crit_sect_); in UpdateHistograms()
79 CriticalSectionScoped cs(crit_sect_); in Reset()
90 CriticalSectionScoped lock(crit_sect_); in ResetDecodeTime()
95 CriticalSectionScoped cs(crit_sect_); in set_render_delay()
100 CriticalSectionScoped cs(crit_sect_); in set_min_playout_delay()
105 CriticalSectionScoped cs(crit_sect_); in SetJitterDelay()
116 CriticalSectionScoped cs(crit_sect_); in UpdateCurrentDelay()
157 CriticalSectionScoped cs(crit_sect_); in UpdateCurrentDelay()
[all …]
Djitter_buffer.cc221 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VCMJitterBuffer()
271 delete crit_sect_; in ~VCMJitterBuffer()
303 CriticalSectionScoped cs(crit_sect_); in Start()
328 crit_sect_->Enter(); in Stop()
348 crit_sect_->Leave(); in Stop()
354 CriticalSectionScoped cs(crit_sect_); in Running()
359 CriticalSectionScoped cs(crit_sect_); in Flush()
376 CriticalSectionScoped cs(crit_sect_); in FrameStatistics()
381 CriticalSectionScoped cs(crit_sect_); in num_packets()
386 CriticalSectionScoped cs(crit_sect_); in num_duplicated_packets()
[all …]
Dmedia_optimization.cc76 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in MediaOptimization()
115 CriticalSectionScoped lock(crit_sect_.get()); in Reset()
149 CriticalSectionScoped lock(crit_sect_.get()); in SetEncodingData()
195 CriticalSectionScoped lock(crit_sect_.get()); in SetTargetRates()
303 CriticalSectionScoped lock(crit_sect_.get()); in SetProtectionMethod()
308 CriticalSectionScoped lock(crit_sect_.get()); in InputFrameRate()
318 CriticalSectionScoped lock(crit_sect_.get()); in SentFrameRate()
329 CriticalSectionScoped lock(crit_sect_.get()); in SentBitRate()
340 CriticalSectionScoped lock(crit_sect_.get()); in UpdateWithEncodedData()
392 CriticalSectionScoped lock(crit_sect_.get()); in EnableQM()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.h109 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
113 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
116 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
122 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
125 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
128 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
130 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
131 RemoteBitrateObserver* observer_ GUARDED_BY(crit_sect_.get());
133 Ssrcs ssrcs_ GUARDED_BY(crit_sect_.get());
134 rtc::scoped_ptr<InterArrival> inter_arrival_ GUARDED_BY(crit_sect_.get());
[all …]
Dremote_bitrate_estimator_single_stream.h50 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get());
53 SHARED_LOCKS_REQUIRED(crit_sect_.get());
56 SsrcOveruseEstimatorMap overuse_detectors_ GUARDED_BY(crit_sect_.get());
57 RateStatistics incoming_bitrate_ GUARDED_BY(crit_sect_.get());
58 rtc::scoped_ptr<AimdRateControl> remote_rate_ GUARDED_BY(crit_sect_.get());
59 RemoteBitrateObserver* observer_ GUARDED_BY(crit_sect_.get());
60 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
62 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get());
Dremote_bitrate_estimator_single_stream.cc55 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in RemoteBitrateEstimatorSingleStream()
78 CriticalSectionScoped cs(crit_sect_.get()); in IncomingPacket()
126 CriticalSectionScoped cs(crit_sect_.get()); in Process()
138 CriticalSectionScoped cs_(crit_sect_.get()); in TimeUntilNextProcess()
189 CriticalSectionScoped cs(crit_sect_.get()); in OnRttUpdate()
194 CriticalSectionScoped cs(crit_sect_.get()); in RemoveStream()
205 CriticalSectionScoped cs(crit_sect_.get()); in LatestEstimate()
236 CriticalSectionScoped cs(crit_sect_.get()); in SetMinBitrate()
/external/webrtc/webrtc/call/
Dbitrate_allocator.h83 const BitrateObserver* observer) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
84 ObserverBitrateMap AllocateBitrates() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
87 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
90 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
92 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
94 BitrateObserverConfList bitrate_observers_ GUARDED_BY(crit_sect_);
95 bool bitrate_observers_modified_ GUARDED_BY(crit_sect_);
96 bool enforce_min_bitrate_ GUARDED_BY(crit_sect_);
97 uint32_t last_bitrate_bps_ GUARDED_BY(crit_sect_);
98 uint8_t last_fraction_loss_ GUARDED_BY(crit_sect_);
[all …]
Dcongestion_controller.cc44 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in WrappingBitrateEstimator()
56 CriticalSectionScoped cs(crit_sect_.get()); in IncomingPacket()
62 CriticalSectionScoped cs(crit_sect_.get()); in Process()
67 CriticalSectionScoped cs(crit_sect_.get()); in TimeUntilNextProcess()
72 CriticalSectionScoped cs(crit_sect_.get()); in OnRttUpdate()
77 CriticalSectionScoped cs(crit_sect_.get()); in RemoveStream()
83 CriticalSectionScoped cs(crit_sect_.get()); in LatestEstimate()
88 CriticalSectionScoped cs(crit_sect_.get()); in GetStats()
93 CriticalSectionScoped cs(crit_sect_.get()); in SetMinBitrate()
100 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get()) { in PickEstimatorFromHeader()
[all …]
Dbitrate_allocator.cc27 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in BitrateAllocator()
38 CriticalSectionScoped lock(crit_sect_.get()); in OnNetworkChanged()
67 CriticalSectionScoped lock(crit_sect_.get()); in AddBitrateObserver()
99 CriticalSectionScoped lock(crit_sect_.get()); in RemoveBitrateObserver()
113 CriticalSectionScoped lock(crit_sect_.get()); in GetMinMaxBitrateSumBps()
132 CriticalSectionScoped lock(crit_sect_.get()); in EnforceMinBitrate()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receiver.h280 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
284 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
286 const Decoder* last_audio_decoder_ GUARDED_BY(crit_sect_);
287 AudioFrame::VADActivity previous_audio_activity_ GUARDED_BY(crit_sect_);
288 ACMResampler resampler_ GUARDED_BY(crit_sect_);
291 rtc::scoped_ptr<int16_t[]> audio_buffer_ GUARDED_BY(crit_sect_);
292 rtc::scoped_ptr<int16_t[]> last_audio_buffer_ GUARDED_BY(crit_sect_);
293 CallStatistics call_stats_ GUARDED_BY(crit_sect_);
296 std::map<uint8_t, Decoder> decoders_ GUARDED_BY(crit_sect_);
299 bool resampled_last_output_frame_ GUARDED_BY(crit_sect_);
[all …]
Dacm_receiver.cc122 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in AcmReceiver()
160 CriticalSectionScoped lock(crit_sect_.get()); in last_packet_sample_rate_hz()
174 CriticalSectionScoped lock(crit_sect_.get()); in InsertPacket()
219 CriticalSectionScoped lock(crit_sect_.get()); in GetAudio()
320 CriticalSectionScoped lock(crit_sect_.get()); in AddCodec()
369 CriticalSectionScoped lock(crit_sect_.get()); in EnableVad()
375 CriticalSectionScoped lock(crit_sect_.get()); in DisableVad()
387 CriticalSectionScoped lock(crit_sect_.get()); in RemoveAllCodecs()
407 CriticalSectionScoped lock(crit_sect_.get()); in RemoveCodec()
425 CriticalSectionScoped lock(crit_sect_.get()); in set_id()
[all …]
Daudio_coding_module_unittest_oldapi.cc98 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()) {} in PacketizationCallbackStubOldApi()
106 CriticalSectionScoped lock(crit_sect_.get()); in SendData()
116 CriticalSectionScoped lock(crit_sect_.get()); in num_calls()
121 CriticalSectionScoped lock(crit_sect_.get()); in last_payload_len_bytes()
126 CriticalSectionScoped lock(crit_sect_.get()); in last_frame_type()
131 CriticalSectionScoped lock(crit_sect_.get()); in last_payload_type()
136 CriticalSectionScoped lock(crit_sect_.get()); in last_timestamp()
141 CriticalSectionScoped lock(crit_sect_.get()); in SwapBuffers()
146 int num_calls_ GUARDED_BY(crit_sect_);
147 FrameType last_frame_type_ GUARDED_BY(crit_sect_);
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc29 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in FecReceiverImpl()
45 CriticalSectionScoped cs(crit_sect_.get()); in GetPacketCounter()
80 CriticalSectionScoped cs(crit_sect_.get()); in AddReceivedRedPacket()
222 crit_sect_->Enter(); in ProcessReceivedFec()
228 crit_sect_->Leave(); in ProcessReceivedFec()
233 crit_sect_->Enter(); in ProcessReceivedFec()
236 crit_sect_->Leave(); in ProcessReceivedFec()
249 crit_sect_->Leave(); in ProcessReceivedFec()
254 crit_sect_->Enter(); in ProcessReceivedFec()
257 crit_sect_->Leave(); in ProcessReceivedFec()
Drtp_payload_registry.cc19 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in RTPPayloadRegistry()
71 CriticalSectionScoped cs(crit_sect_.get()); in RegisterReceivePayload()
126 CriticalSectionScoped cs(crit_sect_.get()); in DeRegisterReceivePayload()
180 CriticalSectionScoped cs(crit_sect_.get()); in ReceivePayloadType()
222 CriticalSectionScoped cs(crit_sect_.get()); in RtxEnabled()
227 CriticalSectionScoped cs(crit_sect_.get()); in IsRtx()
268 CriticalSectionScoped cs(crit_sect_.get()); in RestoreOriginalPacket()
297 CriticalSectionScoped cs(crit_sect_.get()); in SetRtxSsrc()
303 CriticalSectionScoped cs(crit_sect_.get()); in GetRtxSsrc()
310 CriticalSectionScoped cs(crit_sect_.get()); in SetRtxPayloadType()
[all …]
Drtp_receiver_audio.cc52 CriticalSectionScoped lock(crit_sect_.get()); in SetTelephoneEventForwardToDecoder()
58 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventForwardToDecoder()
64 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventPayloadType()
71 CriticalSectionScoped lock(crit_sect_.get()); in CNGPayloadType()
158 CriticalSectionScoped lock(crit_sect_.get()); in OnNewPayloadTypeCreated()
208 CriticalSectionScoped lock(crit_sect_.get()); in GetPayloadTypeFrequency()
251 CriticalSectionScoped cs(crit_sect_.get()); in Energy()
293 CriticalSectionScoped lock(crit_sect_.get()); in ParseAudioCodecSpecific()
338 CriticalSectionScoped lock(crit_sect_.get()); in ParseAudioCodecSpecific()
Drtp_receiver_strategy.cc20 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in RTPReceiverStrategy()
27 CriticalSectionScoped cs(crit_sect_.get()); in GetLastMediaSpecificPayload()
33 CriticalSectionScoped cs(crit_sect_.get()); in SetLastMediaSpecificPayload()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_logging.cc59 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
64 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
69 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
74 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalEnable()
79 CriticalSectionScoped cs(crit_sect_.get()); in Log()
98 CriticalSectionScoped cs(crit_sect_.get()); in Plot()
121 CriticalSectionScoped cs(crit_sect_.get()); in PlotBar()
134 CriticalSectionScoped cs(crit_sect_.get()); in PlotBaselineBar()
150 CriticalSectionScoped cs(crit_sect_.get()); in PlotErrorBar()
169 CriticalSectionScoped cs(crit_sect_.get()); in PlotLimitErrorBar()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_payload_registry.h125 CriticalSectionScoped cs(crit_sect_.get()); in ResetLastReceivedPayloadTypes()
139 CriticalSectionScoped cs(crit_sect_.get()); in red_payload_type()
143 CriticalSectionScoped cs(crit_sect_.get()); in ulpfec_payload_type()
147 CriticalSectionScoped cs(crit_sect_.get()); in last_received_payload_type()
151 CriticalSectionScoped cs(crit_sect_.get()); in set_last_received_payload_type()
156 CriticalSectionScoped cs(crit_sect_.get()); in last_received_media_payload_type()
161 CriticalSectionScoped cs(crit_sect_.get()); in use_rtx_payload_mapping_on_restore()
166 CriticalSectionScoped cs(crit_sect_.get()); in set_use_rtx_payload_mapping_on_restore()
181 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
/external/webrtc/webrtc/system_wrappers/source/
Dcondition_variable_unittest.cc39 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in Baton()
47 delete crit_sect_; in ~Baton()
56 CriticalSectionScoped cs(crit_sect_); in Pass()
67 CriticalSectionScoped cs(crit_sect_); in Grab()
86 if (!cond_var_->SleepCS(*crit_sect_, timeout_ms)) { in WaitUntilBatonOffered()
110 not_timeout = cond_var_->SleepCS(*crit_sect_, timeout_ms); in TakeBatonIfStillFree()
129 CriticalSectionWrapper* crit_sect_; member in webrtc::__anon466938020111::Baton
Dcritical_section_unittest.cc33 : crit_sect_(crit_sect), in ProtectedCount()
38 CriticalSectionScoped cs(crit_sect_); in Increment()
43 CriticalSectionScoped cs(crit_sect_); in Count()
48 CriticalSectionWrapper* crit_sect_; member in webrtc::__anon2a3091550111::ProtectedCount
/external/webrtc/webrtc/modules/video_coding/test/
Dvcm_payload_sink_factory.cc114 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VcmPayloadSinkFactory()
117 assert(crit_sect_.get()); in VcmPayloadSinkFactory()
127 CriticalSectionScoped cs(crit_sect_.get()); in Create()
164 CriticalSectionScoped cs(crit_sect_.get()); in DecodeAndProcessAll()
176 CriticalSectionScoped cs(crit_sect_.get()); in ProcessAll()
186 CriticalSectionScoped cs(crit_sect_.get()); in DecodeAll()
197 CriticalSectionScoped cs(crit_sect_.get()); in Remove()

12