Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dcapturemanager.cc172 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StartVideoCapture() local
173 if (capture_state) { in StartVideoCapture()
174 const int ref_count = capture_state->IncCaptureStartRef(); in StartVideoCapture()
180 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture()
186 capture_state = GetCaptureState(video_capturer); in StartVideoCapture()
187 ASSERT(capture_state != NULL); in StartVideoCapture()
188 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture()
189 if (!StartWithBestCaptureFormat(capture_state, video_capturer)) { in StartVideoCapture()
190 UnregisterVideoCapturer(capture_state); in StartVideoCapture()
198 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StopVideoCapture() local
[all …]
Dcapturemanager_unittest.cc72 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in CaptureManagerTest
75 cricket::CaptureState capture_state) { in OnCapturerStateChange() argument
76 capture_state_ = capture_state; in OnCapturerStateChange()
107 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
123 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()
197 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
213 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
Dvideocapturer_unittest.cc99 cricket::CaptureState capture_state) { in OnStateChange() argument
100 capture_state_ = capture_state; in OnStateChange()
103 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in VideoCapturerTest
126 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
129 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
143 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
150 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
166 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
175 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
178 EXPECT_EQ(cricket::CS_RUNNING, capture_state()); in TEST_F()
[all …]
Dfakescreencapturerfactory.h60 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function
Dvideocapturer.cc178 if (capture_state() == CS_PAUSED) { in Pause()
181 bool is_running = capture_state() == CS_STARTING || in Pause()
182 capture_state() == CS_RUNNING; in Pause()
196 if (capture_state() != CS_PAUSED) { in Pause()
Dcapturemanager.h101 void UnregisterVideoCapturer(VideoCapturerState* capture_state);
Dvideocapturer.h214 CaptureState capture_state() const { in capture_state() function
/external/chromium_org/third_party/libjingle/source/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.h89 cricket::CaptureState capture_state);
Dvideosource.cc456 cricket::CaptureState capture_state) { in OnStateChange() argument
458 SetState(GetReadyState(capture_state)); in OnStateChange()
/external/chromium_org/chrome/browser/extensions/api/tab_capture/
Dtab_capture_registry.cc54 TabCaptureState capture_state() const { in capture_state() function in extensions::TabCaptureRegistry::LiveRequest
198 if (request->capture_state() != tab_capture::TAB_CAPTURE_STATE_STOPPED && in AddRequest()
199 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_ERROR) { in AddRequest()
228 (request->capture_state() != tab_capture::TAB_CAPTURE_STATE_NONE && in VerifyRequest()
229 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_PENDING)) in VerifyRequest()
293 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_PENDING && in OnRequestUpdate()
294 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_NONE && in OnRequestUpdate()
295 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_STOPPED && in OnRequestUpdate()
296 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_ERROR) { in OnRequestUpdate()
/external/chromium_org/remoting/host/
Dcast_video_capturer_adapter.cc118 if (capture_state() == cricket::CS_PAUSED) in Pause()
121 bool running = capture_state() == cricket::CS_STARTING || in Pause()
122 capture_state() == cricket::CS_RUNNING; in Pause()
140 if (capture_state() != cricket::CS_PAUSED || !GetCaptureFormat() || in Pause()
162 DCHECK_NE(capture_state(), cricket::CS_STOPPED); in Stop()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannel_unittest.cc2442 EXPECT_EQ_WAIT(cricket::CS_STOPPED, screen_capturer_factory->capture_state(), in TEST_F()