/external/webrtc/webrtc/video/ |
D | receive_statistics_proxy.h | 94 void UpdateHistograms() EXCLUSIVE_LOCKS_REQUIRED(crit_); 98 mutable rtc::CriticalSection crit_; variable 99 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_); 100 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); 101 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); 102 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); 103 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_); 104 SampleCounter render_width_counter_ GUARDED_BY(crit_); 105 SampleCounter render_height_counter_ GUARDED_BY(crit_); 106 SampleCounter decode_time_counter_ GUARDED_BY(crit_); [all …]
|
D | overuse_frame_detector.h | 103 void UpdateCpuOveruseMetrics() EXCLUSIVE_LOCKS_REQUIRED(crit_); 107 void AddProcessingTime(int elapsed_ms) EXCLUSIVE_LOCKS_REQUIRED(crit_); 113 bool FrameTimeoutDetected(int64_t now) const EXCLUSIVE_LOCKS_REQUIRED(crit_); 114 bool FrameSizeChanged(int num_pixels) const EXCLUSIVE_LOCKS_REQUIRED(crit_); 116 void ResetAll(int num_pixels) EXCLUSIVE_LOCKS_REQUIRED(crit_); 122 mutable rtc::CriticalSection crit_; variable 131 CpuOveruseMetrics metrics_ GUARDED_BY(crit_); 134 int64_t num_process_times_ GUARDED_BY(crit_); 136 int64_t last_capture_time_ GUARDED_BY(crit_); 139 int num_pixels_ GUARDED_BY(crit_); [all …]
|
D | receive_statistics_proxy.cc | 76 rtc::CritScope lock(&crit_); in GetStats() 81 rtc::CritScope lock(&crit_); in OnIncomingPayloadType() 87 rtc::CritScope lock(&crit_); in OnDecoderImplementationName() 92 rtc::CritScope lock(&crit_); in OnIncomingRate() 105 rtc::CritScope lock(&crit_); in OnDecoderTiming() 122 rtc::CritScope lock(&crit_); in RtcpPacketTypesCounterUpdated() 131 rtc::CritScope lock(&crit_); in StatisticsUpdated() 141 rtc::CritScope lock(&crit_); in CNameChanged() 152 rtc::CritScope lock(&crit_); in DataCountersUpdated() 161 rtc::CritScope lock(&crit_); in OnDecodedFrame() [all …]
|
D | send_statistics_proxy.h | 128 void PurgeOldStats() EXCLUSIVE_LOCKS_REQUIRED(crit_); 130 EXCLUSIVE_LOCKS_REQUIRED(crit_); 134 mutable rtc::CriticalSection crit_; variable 135 VideoEncoderConfig::ContentType content_type_ GUARDED_BY(crit_); 136 VideoSendStream::Stats stats_ GUARDED_BY(crit_); 137 uint32_t last_sent_frame_timestamp_ GUARDED_BY(crit_); 138 std::map<uint32_t, StatsUpdateTimes> update_times_ GUARDED_BY(crit_); 139 rtc::ExpFilter encode_time_ GUARDED_BY(crit_); 169 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
|
D | payload_router.cc | 21 : crit_(CriticalSectionWrapper::CreateCriticalSection()), in PayloadRouter() 33 CriticalSectionScoped cs(crit_.get()); in SetSendingRtpModules() 42 CriticalSectionScoped cs(crit_.get()); in set_active() 47 CriticalSectionScoped cs(crit_.get()); in active() 59 CriticalSectionScoped cs(crit_.get()); in RoutePayload() 79 CriticalSectionScoped cs(crit_.get()); in SetTargetSendBitrates() 92 CriticalSectionScoped cs(crit_.get()); in MaxPayloadLength()
|
D | send_statistics_proxy.cc | 163 rtc::CritScope lock(&crit_); in SetContentType() 172 rtc::CritScope lock(&crit_); in OnEncoderImplementationName() 177 rtc::CritScope lock(&crit_); in OnOutgoingRate() 184 rtc::CritScope lock(&crit_); in CpuOveruseMetricsUpdated() 189 rtc::CritScope lock(&crit_); in OnSuspendChange() 194 rtc::CritScope lock(&crit_); in GetStats() 233 rtc::CritScope lock(&crit_); in OnInactiveSsrc() 245 rtc::CritScope lock(&crit_); in OnSetRates() 261 rtc::CritScope lock(&crit_); in OnSendEncodedImage() 318 rtc::CritScope lock(&crit_); in OnIncomingFrame() [all …]
|
D | encoder_state_feedback.cc | 50 : crit_(CriticalSectionWrapper::CreateCriticalSection()), in EncoderStateFeedback() 60 CriticalSectionScoped lock(crit_.get()); in AddEncoder() 68 CriticalSectionScoped lock(crit_.get()); in RemoveEncoder() 84 CriticalSectionScoped lock(crit_.get()); in OnReceivedIntraFrameRequest() 93 CriticalSectionScoped lock(crit_.get()); in OnReceivedSLI() 102 CriticalSectionScoped lock(crit_.get()); in OnReceivedRPSI() 112 CriticalSectionScoped lock(crit_.get()); in OnLocalSsrcChanged()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | voice_detection_impl.h | 44 rtc::CriticalSection* const crit_; variable 45 bool enabled_ GUARDED_BY(crit_) = false; 46 bool stream_has_voice_ GUARDED_BY(crit_) = false; 47 bool using_external_vad_ GUARDED_BY(crit_) = false; 48 Likelihood likelihood_ GUARDED_BY(crit_) = kLowLikelihood; 49 int frame_size_ms_ GUARDED_BY(crit_) = 10; 50 size_t frame_size_samples_ GUARDED_BY(crit_) = 0; 51 int sample_rate_hz_ GUARDED_BY(crit_) = 0; 52 rtc::scoped_ptr<Vad> vad_ GUARDED_BY(crit_);
|
D | voice_detection_impl.cc | 35 : crit_(crit) { in VoiceDetectionImpl() 42 rtc::CritScope cs(crit_); in Initialize() 56 rtc::CritScope cs(crit_); in ProcessCaptureAudio() 82 rtc::CritScope cs(crit_); in Enable() 91 rtc::CritScope cs(crit_); in is_enabled() 96 rtc::CritScope cs(crit_); in set_stream_has_voice() 103 rtc::CritScope cs(crit_); in stream_has_voice() 110 rtc::CritScope cs(crit_); in set_likelihood() 138 rtc::CritScope cs(crit_); in likelihood() 143 rtc::CritScope cs(crit_); in set_frame_size_ms() [all …]
|
D | noise_suppression_impl.h | 42 rtc::CriticalSection* const crit_; variable 43 bool enabled_ GUARDED_BY(crit_) = false; 44 Level level_ GUARDED_BY(crit_) = kModerate; 45 size_t channels_ GUARDED_BY(crit_) = 0; 46 int sample_rate_hz_ GUARDED_BY(crit_) = 0; 47 std::vector<rtc::scoped_ptr<Suppressor>> suppressors_ GUARDED_BY(crit_);
|
D | level_estimator_impl.cc | 20 : crit_(crit), rms_(new RMSLevel()) { in LevelEstimatorImpl() 27 rtc::CritScope cs(crit_); in Initialize() 33 rtc::CritScope cs(crit_); in ProcessStream() 44 rtc::CritScope cs(crit_); in Enable() 53 rtc::CritScope cs(crit_); in is_enabled() 58 rtc::CritScope cs(crit_); in RMS()
|
D | noise_suppression_impl.cc | 49 : crit_(crit) { in NoiseSuppressionImpl() 56 rtc::CritScope cs(crit_); in Initialize() 73 rtc::CritScope cs(crit_); in AnalyzeCaptureAudio() 89 rtc::CritScope cs(crit_); in ProcessCaptureAudio() 112 rtc::CritScope cs(crit_); in Enable() 121 rtc::CritScope cs(crit_); in is_enabled() 143 rtc::CritScope cs(crit_); in set_level() 153 rtc::CritScope cs(crit_); in level() 158 rtc::CritScope cs(crit_); in speech_probability()
|
D | high_pass_filter_impl.cc | 89 : crit_(crit) { in HighPassFilterImpl() 90 RTC_DCHECK(crit_); in HighPassFilterImpl() 100 rtc::CritScope cs(crit_); in Initialize() 106 rtc::CritScope cs(crit_); in ProcessCaptureAudio() 120 rtc::CritScope cs(crit_); in Enable() 131 rtc::CritScope cs(crit_); in is_enabled()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | logging_unittest.cc | 26 CriticalSectionScoped cs(crit_.get()); in Print() 40 : crit_(CriticalSectionWrapper::CreateCriticalSection()), in LoggingTest() 54 CriticalSectionScoped cs(crit_.get()); in TearDown() 58 rtc::scoped_ptr<CriticalSectionWrapper> crit_; member in webrtc::__anon8de184290111::LoggingTest 60 TraceLevel level_ GUARDED_BY(crit_); 61 std::ostringstream expected_log_ GUARDED_BY(crit_); 66 CriticalSectionScoped cs(crit_.get()); in TEST_F() 71 cv_->SleepCS(*crit_.get(), 2000); in TEST_F()
|
D | trace_impl.h | 94 EXCLUSIVE_LOCKS_REQUIRED(crit_); 96 TraceCallback* callback_ GUARDED_BY(crit_); 97 uint32_t row_count_text_ GUARDED_BY(crit_); 98 uint32_t file_count_text_ GUARDED_BY(crit_); 100 const rtc::scoped_ptr<FileWrapper> trace_file_ GUARDED_BY(crit_); 101 rtc::CriticalSection crit_; variable
|
/external/webrtc/talk/media/base/ |
D | fakenetworkinterface.h | 65 rtc::CritScope cs(&crit_); in SetConferenceMode() 71 rtc::CritScope cs(&crit_); in NumRtpBytes() 80 rtc::CritScope cs(&crit_); in NumRtpBytes() 87 rtc::CritScope cs(&crit_); in NumRtpPackets() 92 rtc::CritScope cs(&crit_); in NumRtpPackets() 99 rtc::CritScope cs(&crit_); in NumSentSsrcs() 105 rtc::CritScope cs(&crit_); in GetRtpPacket() 113 rtc::CritScope cs(&crit_); in NumRtcpPackets() 119 rtc::CritScope cs(&crit_); in GetRtcpPacket() 133 rtc::CritScope cs(&crit_); in SendPacket() [all …]
|
D | fakevideorenderer.h | 51 rtc::CritScope cs(&crit_); in SetSize() 60 rtc::CritScope cs(&crit_); in RenderFrame() 85 rtc::CritScope cs(&crit_); in width() 89 rtc::CritScope cs(&crit_); in height() 93 rtc::CritScope cs(&crit_); in num_set_sizes() 97 rtc::CritScope cs(&crit_); in num_rendered_frames() 101 rtc::CritScope cs(&crit_); in black_frame() 166 mutable rtc::CriticalSection crit_; variable
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_sender_video.h | 106 const rtc::scoped_ptr<CriticalSectionWrapper> crit_; variable 110 int32_t _retransmissionSettings GUARDED_BY(crit_); 114 bool fec_enabled_ GUARDED_BY(crit_); 115 int8_t red_payload_type_ GUARDED_BY(crit_); 116 int8_t fec_payload_type_ GUARDED_BY(crit_); 117 FecProtectionParams delta_fec_params_ GUARDED_BY(crit_); 118 FecProtectionParams key_fec_params_ GUARDED_BY(crit_); 119 ProducerFec producer_fec_ GUARDED_BY(crit_);
|
D | bitrate.cc | 20 crit_(CriticalSectionWrapper::CreateCriticalSection()), in Bitrate() 36 CriticalSectionScoped cs(crit_.get()); in Update() 42 CriticalSectionScoped cs(crit_.get()); in PacketRate() 47 CriticalSectionScoped cs(crit_.get()); in BitrateLast() 52 CriticalSectionScoped cs(crit_.get()); in BitrateNow() 70 CriticalSectionScoped cs(crit_.get()); in time_last_rate_update() 78 CriticalSectionScoped cs(crit_.get()); in Process()
|
D | ssrc_database.cc | 33 CriticalSectionScoped lock(crit_.get()); in CreateSSRC() 45 CriticalSectionScoped lock(crit_.get()); in RegisterSSRC() 50 CriticalSectionScoped lock(crit_.get()); in ReturnSSRC() 55 : crit_(CriticalSectionWrapper::CreateCriticalSection()), random_(Seed()) {} in SSRCDatabase()
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log.cc | 93 void StartLoggingLocked() EXCLUSIVE_LOCKS_REQUIRED(crit_); 95 void StopLoggingLocked() EXCLUSIVE_LOCKS_REQUIRED(crit_); 98 void HandleEvent(rtclog::Event* event) EXCLUSIVE_LOCKS_REQUIRED(crit_); 101 void StoreToFile(rtclog::Event* event) EXCLUSIVE_LOCKS_REQUIRED(crit_); 105 EXCLUSIVE_LOCKS_REQUIRED(crit_); 107 rtc::CriticalSection crit_; 108 rtc::scoped_ptr<FileWrapper> file_ GUARDED_BY(crit_) = 110 rtc::PlatformFile platform_file_ GUARDED_BY(crit_) = 112 rtclog::EventStream stream_ GUARDED_BY(crit_); 113 std::deque<rtclog::Event> recent_log_events_ GUARDED_BY(crit_); [all …]
|
/external/webrtc/webrtc/base/ |
D | criticalsection.cc | 19 InitializeCriticalSection(&crit_); in CriticalSection() 33 DeleteCriticalSection(&crit_); in ~CriticalSection() 41 EnterCriticalSection(&crit_); in Enter() 58 return TryEnterCriticalSection(&crit_) != FALSE; in TryEnter() 77 LeaveCriticalSection(&crit_); in Leave() 95 return crit_.OwningThread == in CurrentThreadIsOwner() 108 return crit_.LockCount != -1; in IsLocked()
|
D | messagequeue.cc | 63 ASSERT(!crit_.CurrentThreadIsOwner()); in AddInternal() 65 CritScope cs(&crit_); in AddInternal() 77 ASSERT(!crit_.CurrentThreadIsOwner()); // See note above. in RemoveInternal() 85 CritScope cs(&crit_); in RemoveInternal() 108 ASSERT(!crit_.CurrentThreadIsOwner()); // See note above. in ClearInternal() 110 CritScope cs(&crit_); in ClearInternal() 205 CritScope cs(&crit_); in Get() 290 CritScope cs(&crit_); in Post() 328 CritScope cs(&crit_); in DoDelayPost() 343 CritScope cs(&crit_); in GetDelay() [all …]
|
D | asyncinvoker.h | 167 rtc::CritScope cs(&crit_); 180 rtc::CritScope cs(&crit_); 195 rtc::CritScope cs(&crit_); 210 rtc::CritScope cs(&crit_); 222 CriticalSection crit_; variable 223 Thread* thread_ GUARDED_BY(crit_); 224 AsyncInvoker invoker_ GUARDED_BY(crit_);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/ |
D | after_initialization_fixture.h | 31 : crit_(webrtc::CriticalSectionWrapper::CreateCriticalSection()), in LoopBackTransport() 65 webrtc::CriticalSectionScoped lock(crit_.get()); in AddChannel() 88 webrtc::CriticalSectionScoped lock(crit_.get()); in StorePacket() 113 webrtc::CriticalSectionScoped lock(crit_.get()); in SendPackets() 146 const rtc::scoped_ptr<webrtc::CriticalSectionWrapper> crit_; variable 149 std::deque<Packet> packet_queue_ GUARDED_BY(crit_.get()); 151 std::map<uint32_t, int> channels_ GUARDED_BY(crit_.get());
|