Home
last modified time | relevance | path

Searched refs:capture_state (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/talk/media/base/
Dcapturemanager.cc192 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StartVideoCapture() local
193 if (capture_state) { in StartVideoCapture()
194 const int ref_count = capture_state->IncCaptureStartRef(); in StartVideoCapture()
200 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture()
206 capture_state = GetCaptureState(video_capturer); in StartVideoCapture()
207 ASSERT(capture_state != NULL); in StartVideoCapture()
208 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture()
209 if (!StartWithBestCaptureFormat(capture_state, video_capturer)) { in StartVideoCapture()
210 UnregisterVideoCapturer(capture_state); in StartVideoCapture()
219 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StopVideoCapture() local
[all …]
Dcapturemanager_unittest.cc71 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in CaptureManagerTest
74 cricket::CaptureState capture_state) { in OnCapturerStateChange() argument
75 capture_state_ = capture_state; in OnCapturerStateChange()
103 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
115 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
167 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
183 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
Dvideocapturer_unittest.cc79 cricket::CaptureState capture_state) { in OnStateChange() argument
80 capture_state_ = capture_state; in OnStateChange()
83 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in VideoCapturerTest
105 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
108 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
122 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
129 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
145 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
154 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
157 EXPECT_EQ(cricket::CS_RUNNING, capture_state()); in TEST_F()
[all …]
Dvideocapturer.cc174 if (capture_state() == CS_PAUSED) { in Pause()
177 bool is_running = capture_state() == CS_STARTING || in Pause()
178 capture_state() == CS_RUNNING; in Pause()
192 if (capture_state() != CS_PAUSED) { in Pause()
Dfakescreencapturerfactory.h60 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function
Dcapturemanager.h94 void UnregisterVideoCapturer(VideoCapturerState* capture_state);
Dvideocapturer.h213 CaptureState capture_state() const { in capture_state() function
/external/webrtc/talk/app/webrtc/
Dremotevideocapturer.cc41 if (capture_state() == cricket::CS_RUNNING) { in Start()
44 return capture_state(); in Start()
53 if (capture_state() == cricket::CS_STOPPED) { in Stop()
65 return capture_state() == cricket::CS_RUNNING; in IsRunning()
Dremotevideocapturer_unittest.cc67 CaptureState capture_state() const { in capture_state() function in RemoteVideoCapturerTest
75 CaptureState capture_state) { in OnStateChange() argument
77 capture_state_ = capture_state; in OnStateChange()
93 EXPECT_TRUE_WAIT((cricket::CS_RUNNING == capture_state()), kMaxWaitMs); in TEST_F()
100 EXPECT_TRUE_WAIT((cricket::CS_STOPPED == capture_state()), kMaxWaitMs); in TEST_F()
Dvideosource.h99 cricket::CaptureState capture_state);
Dvideosource.cc458 cricket::CaptureState capture_state) { in OnStateChange() argument
460 SetState(GetReadyState(capture_state)); in OnStateChange()
/external/webrtc/talk/session/media/
Dchannel_unittest.cc2291 EXPECT_EQ_WAIT(cricket::CS_STOPPED, screen_capturer_factory->capture_state(), in TEST_F()