Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dmedia_optimization.h103 void UpdateIncomingFrameRate() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
105 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
106 void UpdateSentBitrate(int64_t now_ms) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
107 void UpdateSentFramerate() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
111 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
117 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
120 bool CheckStatusForQMchange() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
123 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
128 void CheckSuspendConditions() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
138 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_);
104 CriticalSectionWrapper* crit_sect_;
106 bool master_ GUARDED_BY(crit_sect_);
107 TimestampExtrapolator* ts_extrapolator_ GUARDED_BY(crit_sect_);
108 VCMCodecTimer codec_timer_ GUARDED_BY(crit_sect_);
109 uint32_t render_delay_ms_ GUARDED_BY(crit_sect_);
110 uint32_t min_playout_delay_ms_ GUARDED_BY(crit_sect_);
111 uint32_t jitter_delay_ms_ GUARDED_BY(crit_sect_);
[all …]
Dtiming.cc23 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VCMTiming()
46 delete crit_sect_; in ~VCMTiming()
50 CriticalSectionScoped cs(crit_sect_); in Reset()
61 CriticalSectionScoped lock(crit_sect_); in ResetDecodeTime()
66 CriticalSectionScoped cs(crit_sect_); in set_render_delay()
71 CriticalSectionScoped cs(crit_sect_); in set_min_playout_delay()
76 CriticalSectionScoped cs(crit_sect_); in SetJitterDelay()
87 CriticalSectionScoped cs(crit_sect_); in UpdateCurrentDelay()
126 CriticalSectionScoped cs(crit_sect_); in UpdateCurrentDelay()
143 CriticalSectionScoped cs(crit_sect_); in StopDecodeTimer()
[all …]
Djitter_buffer.cc128 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VCMJitterBuffer()
176 delete crit_sect_; in ~VCMJitterBuffer()
181 crit_sect_->Enter(); in CopyFrom()
182 rhs.crit_sect_->Enter(); in CopyFrom()
226 rhs.crit_sect_->Leave(); in CopyFrom()
227 crit_sect_->Leave(); in CopyFrom()
242 CriticalSectionScoped cs(crit_sect_); in Start()
267 crit_sect_->Enter(); in Stop()
280 crit_sect_->Leave(); in Stop()
287 CriticalSectionScoped cs(crit_sect_); in Running()
[all …]
Dmedia_optimization.cc78 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in MediaOptimization()
117 CriticalSectionScoped lock(crit_sect_.get()); in Reset()
151 CriticalSectionScoped lock(crit_sect_.get()); in SetEncodingData()
206 CriticalSectionScoped lock(crit_sect_.get()); in SetTargetRates()
323 CriticalSectionScoped lock(crit_sect_.get()); in EnableProtectionMethod()
336 CriticalSectionScoped lock(crit_sect_.get()); in InputFrameRate()
346 CriticalSectionScoped lock(crit_sect_.get()); in SentFrameRate()
357 CriticalSectionScoped lock(crit_sect_.get()); in SentBitRate()
365 CriticalSectionScoped lock(crit_sect_.get()); in SentFrameCount()
375 CriticalSectionScoped lock(crit_sect_.get()); in UpdateWithEncodedData()
[all …]
Dreceiver.cc32 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VCMReceiver()
43 delete crit_sect_; in ~VCMReceiver()
47 CriticalSectionScoped cs(crit_sect_); in Reset()
63 CriticalSectionScoped cs(crit_sect_); in Initialize()
228 CriticalSectionScoped cs(crit_sect_); in SetNackMode()
246 CriticalSectionScoped cs(crit_sect_); in NackMode()
286 CriticalSectionScoped cs(crit_sect_); in State()
299 CriticalSectionScoped cs(crit_sect_); in SetMinReceiverDelay()
328 CriticalSectionScoped cs(crit_sect_); in UpdateState()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dneteq_impl.h212 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
223 int* num_channels) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
233 bool* play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
245 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
253 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
259 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
265 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
268 int DoExpand(bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
275 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
282 bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dacm_receiver.h318 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
329 scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
331 int last_audio_decoder_ GUARDED_BY(crit_sect_);
332 AudioFrame::VADActivity previous_audio_activity_ GUARDED_BY(crit_sect_);
333 int current_sample_rate_hz_ GUARDED_BY(crit_sect_);
334 ACMResampler resampler_ GUARDED_BY(crit_sect_);
337 int16_t audio_buffer_[AudioFrame::kMaxDataSizeSamples] GUARDED_BY(crit_sect_);
338 scoped_ptr<Nack> nack_ GUARDED_BY(crit_sect_);
339 bool nack_enabled_ GUARDED_BY(crit_sect_);
340 CallStatistics call_stats_ GUARDED_BY(crit_sect_);
Dacm_receiver.cc120 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in AcmReceiver()
163 CriticalSectionScoped lock(crit_sect_.get()); in SetInitialDelay()
207 CriticalSectionScoped lock(crit_sect_.get()); in current_sample_rate_hz()
266 CriticalSectionScoped lock(crit_sect_.get()); in InsertPacket()
352 CriticalSectionScoped lock(crit_sect_.get()); in GetAudio()
393 CriticalSectionScoped lock(crit_sect_.get()); in GetAudio()
488 CriticalSectionScoped lock(crit_sect_.get()); in AddCodec()
534 CriticalSectionScoped lock(crit_sect_.get()); in EnableVad()
540 CriticalSectionScoped lock(crit_sect_.get()); in DisableVad()
552 CriticalSectionScoped lock(crit_sect_.get()); in RemoveAllCodecs()
[all …]
Daudio_coding_module_unittest.cc83 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()) {} in PacketizationCallbackStub()
92 CriticalSectionScoped lock(crit_sect_.get()); in SendData()
99 CriticalSectionScoped lock(crit_sect_.get()); in num_calls()
104 CriticalSectionScoped lock(crit_sect_.get()); in last_payload_len_bytes()
109 CriticalSectionScoped lock(crit_sect_.get()); in SwapBuffers()
114 int num_calls_ GUARDED_BY(crit_sect_);
115 std::vector<uint8_t> last_payload_vec_ GUARDED_BY(crit_sect_);
116 const scoped_ptr<CriticalSectionWrapper> crit_sect_; member in webrtc::PacketizationCallbackStub
306 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in AudioCodingModuleMtTest()
338 CriticalSectionScoped lock(crit_sect_.get()); in TestDone()
[all …]
Daudio_coding_module_unittest_oldapi.cc82 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()) {} in PacketizationCallbackStub()
91 CriticalSectionScoped lock(crit_sect_.get()); in SendData()
98 CriticalSectionScoped lock(crit_sect_.get()); in num_calls()
103 CriticalSectionScoped lock(crit_sect_.get()); in last_payload_len_bytes()
108 CriticalSectionScoped lock(crit_sect_.get()); in SwapBuffers()
113 int num_calls_ GUARDED_BY(crit_sect_);
114 std::vector<uint8_t> last_payload_vec_ GUARDED_BY(crit_sect_);
115 const scoped_ptr<CriticalSectionWrapper> crit_sect_; member in webrtc::PacketizationCallbackStub
307 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in AudioCodingModuleMtTestOldApi()
338 CriticalSectionScoped lock(crit_sect_.get()); in TestDone()
[all …]
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_channel_group.cc41 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in WrappingBitrateEstimator()
58 CriticalSectionScoped cs(crit_sect_.get()); in IncomingPacket()
64 CriticalSectionScoped cs(crit_sect_.get()); in Process()
69 CriticalSectionScoped cs(crit_sect_.get()); in TimeUntilNextProcess()
74 CriticalSectionScoped cs(crit_sect_.get()); in OnRttUpdate()
79 CriticalSectionScoped cs(crit_sect_.get()); in RemoveStream()
85 CriticalSectionScoped cs(crit_sect_.get()); in LatestEstimate()
90 CriticalSectionScoped cs(crit_sect_.get()); in GetStats()
95 CriticalSectionScoped cs(crit_sect_.get()); in SetConfig()
107 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get()) { in PickEstimatorFromHeader()
[all …]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dcondition_variable_unittest.cc36 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in Baton()
44 delete crit_sect_; in ~Baton()
53 CriticalSectionScoped cs(crit_sect_); in Pass()
64 CriticalSectionScoped cs(crit_sect_); in Grab()
83 if (!cond_var_->SleepCS(*crit_sect_, timeout_ms)) { in WaitUntilBatonOffered()
107 not_timeout = cond_var_->SleepCS(*crit_sect_, timeout_ms); in TakeBatonIfStillFree()
126 CriticalSectionWrapper* crit_sect_; member in webrtc::__anon626468170111::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::__anon7806b82a0111::ProtectedCount
Dtrace_posix.cc37 : crit_sect_(*CriticalSectionWrapper::CreateCriticalSection()) { in TracePosix()
44 delete &crit_sect_; in ~TracePosix()
60 CriticalSectionScoped lock(&crit_sect_); in AddTime()
/external/webrtc/src/system_wrappers/source/
Dcondition_variable_unittest.cc40 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in Baton()
48 delete crit_sect_; in ~Baton()
59 CriticalSectionScoped cs(crit_sect_); in Pass()
71 CriticalSectionScoped cs(crit_sect_); in Grab()
91 if (!cond_var_->SleepCS(*crit_sect_, timeout_ms)) { in WaitUntilBatonOffered()
118 not_timeout = cond_var_->SleepCS(*crit_sect_, timeout_ms); in TakeBatonIfStillFree()
138 CriticalSectionWrapper* crit_sect_; member in webrtc::__anon7265587b0111::Baton
Dcritical_section_unittest.cc46 : crit_sect_(crit_sect), in ProtectedCount()
51 CriticalSectionScoped cs(crit_sect_); in Increment()
57 CriticalSectionScoped cs(crit_sect_); in Count()
62 CriticalSectionWrapper* crit_sect_; member in webrtc::__anon21883f8e0111::ProtectedCount
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc29 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in FecReceiverImpl()
75 CriticalSectionScoped cs(crit_sect_.get()); in AddReceivedRedPacket()
210 crit_sect_->Enter(); in ProcessReceivedFec()
216 crit_sect_->Leave(); in ProcessReceivedFec()
221 crit_sect_->Enter(); in ProcessReceivedFec()
224 crit_sect_->Leave(); in ProcessReceivedFec()
236 crit_sect_->Leave(); in ProcessReceivedFec()
241 crit_sect_->Enter(); in ProcessReceivedFec()
244 crit_sect_->Leave(); in ProcessReceivedFec()
Drtp_payload_registry.cc19 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in RTPPayloadRegistry()
70 CriticalSectionScoped cs(crit_sect_.get()); in RegisterReceivePayload()
134 CriticalSectionScoped cs(crit_sect_.get()); in DeRegisterReceivePayload()
188 CriticalSectionScoped cs(crit_sect_.get()); in ReceivePayloadType()
230 CriticalSectionScoped cs(crit_sect_.get()); in RtxEnabled()
235 CriticalSectionScoped cs(crit_sect_.get()); in IsRtx()
266 CriticalSectionScoped cs(crit_sect_.get()); in RestoreOriginalPacket()
284 CriticalSectionScoped cs(crit_sect_.get()); in SetRtxSsrc()
290 CriticalSectionScoped cs(crit_sect_.get()); in SetRtxPayloadType()
297 CriticalSectionScoped cs(crit_sect_.get()); in IsRed()
[all …]
Drtp_receiver_audio.cc54 CriticalSectionScoped lock(crit_sect_.get()); in SetTelephoneEventForwardToDecoder()
60 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventForwardToDecoder()
66 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventPayloadType()
73 CriticalSectionScoped lock(crit_sect_.get()); in CNGPayloadType()
160 CriticalSectionScoped lock(crit_sect_.get()); in OnNewPayloadTypeCreated()
210 CriticalSectionScoped lock(crit_sect_.get()); in GetPayloadTypeFrequency()
257 CriticalSectionScoped cs(crit_sect_.get()); in Energy()
302 CriticalSectionScoped lock(crit_sect_.get()); in ParseAudioCodecSpecific()
347 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/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/
Drtp_payload_registry.h104 CriticalSectionScoped cs(crit_sect_.get()); in ResetLastReceivedPayloadTypes()
118 CriticalSectionScoped cs(crit_sect_.get()); in red_payload_type()
122 CriticalSectionScoped cs(crit_sect_.get()); in ulpfec_payload_type()
126 CriticalSectionScoped cs(crit_sect_.get()); in last_received_payload_type()
130 CriticalSectionScoped cs(crit_sect_.get()); in set_last_received_payload_type()
135 CriticalSectionScoped cs(crit_sect_.get()); in last_received_media_payload_type()
150 scoped_ptr<CriticalSectionWrapper> crit_sect_; variable
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_logging.cc63 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
68 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
73 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalContext()
78 CriticalSectionScoped cs(crit_sect_.get()); in SetGlobalEnable()
83 CriticalSectionScoped cs(crit_sect_.get()); in Log()
98 CriticalSectionScoped cs(crit_sect_.get()); in Plot()
109 : crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in Logging()
134 CriticalSectionScoped cs(crit_sect_.get()); in PushState()
147 CriticalSectionScoped cs(crit_sect_.get()); in PopState()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dvcm_payload_sink_factory.cc126 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in VcmPayloadSinkFactory()
129 assert(crit_sect_.get()); in VcmPayloadSinkFactory()
139 CriticalSectionScoped cs(crit_sect_.get()); in Create()
182 CriticalSectionScoped cs(crit_sect_.get()); in DecodeAndProcessAll()
194 CriticalSectionScoped cs(crit_sect_.get()); in ProcessAll()
204 CriticalSectionScoped cs(crit_sect_.get()); in DecodeAll()
215 CriticalSectionScoped cs(crit_sect_.get()); in Remove()
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.cc91 scoped_ptr<CriticalSectionWrapper> crit_sect_; member in webrtc::__anon15f302e20111::RemoteBitrateEstimatorSingleStream
103 crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), in RemoteBitrateEstimatorSingleStream()
116 CriticalSectionScoped cs(crit_sect_.get()); in IncomingPacket()
165 CriticalSectionScoped cs(crit_sect_.get()); in UpdateEstimate()
209 CriticalSectionScoped cs(crit_sect_.get()); in OnRttUpdate()
214 CriticalSectionScoped cs(crit_sect_.get()); in RemoveStream()
222 CriticalSectionScoped cs(crit_sect_.get()); in LatestEstimate()

12