Home
last modified time | relevance | path

Searched refs:capturer (Results 1 – 25 of 69) sorted by relevance

123

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java241 static public void release(VideoCapturerAndroid capturer) { in release() argument
242 assertNotNull(capturer); in release()
243 capturer.dispose(); in release()
244 assertTrue(capturer.isReleased()); in release()
247 static public void startCapturerAndRender(VideoCapturerAndroid capturer) in startCapturerAndRender() argument
251 factory.createVideoSource(capturer, new MediaConstraints()); in startCapturerAndRender()
259 assertTrue(capturer.isReleased()); in startCapturerAndRender()
262 static public void switchCamera(VideoCapturerAndroid capturer) throws InterruptedException { in switchCamera() argument
265 factory.createVideoSource(capturer, new MediaConstraints()); in switchCamera()
271 capturer.switchCamera(new VideoCapturerAndroid.CameraSwitchHandler() { in switchCamera()
[all …]
DVideoCapturerAndroidTest.java95 VideoCapturerAndroid capturer = VideoCapturerAndroid.create( in testCreateNonExistingCamera() local
97 assertNull(capturer); in testCreateNonExistingCamera()
105 VideoCapturerAndroid capturer = in testStartVideoCapturer() local
107 VideoCapturerAndroidTestFixtures.startCapturerAndRender(capturer); in testStartVideoCapturer()
113 VideoCapturerAndroid capturer = in testStartVideoCapturerUsingTextures() local
115 VideoCapturerAndroidTestFixtures.startCapturerAndRender(capturer); in testStartVideoCapturerUsingTextures()
125 VideoCapturerAndroid capturer = in testStartFrontFacingVideoCapturer() local
127 VideoCapturerAndroidTestFixtures.startCapturerAndRender(capturer); in testStartFrontFacingVideoCapturer()
140 VideoCapturerAndroid capturer = in testStartBackFacingVideoCapturer() local
142 VideoCapturerAndroidTestFixtures.startCapturerAndRender(capturer); in testStartBackFacingVideoCapturer()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_unittest.cc65 rtc::scoped_ptr<MouseCursorMonitor> capturer( in TEST_F() local
69 assert(capturer.get()); in TEST_F()
70 capturer->Init(this, MouseCursorMonitor::SHAPE_AND_POSITION); in TEST_F()
71 capturer->Capture(); in TEST_F()
104 rtc::scoped_ptr<MouseCursorMonitor> capturer( in TEST_F() local
107 assert(capturer.get()); in TEST_F()
109 capturer->Init(this, MouseCursorMonitor::SHAPE_AND_POSITION); in TEST_F()
110 capturer->Capture(); in TEST_F()
119 rtc::scoped_ptr<MouseCursorMonitor> capturer( in TEST_F() local
123 assert(capturer.get()); in TEST_F()
[all …]
/external/webrtc/talk/media/devices/
Ddevicemanager.cc193 VideoCapturer* capturer = MaybeConstructFakeVideoCapturer(device); in CreateVideoCapturer() local
194 if (capturer) { in CreateVideoCapturer()
195 return capturer; in CreateVideoCapturer()
202 capturer = video_device_capturer_factory_->Create(device); in CreateVideoCapturer()
203 if (!capturer) { in CreateVideoCapturer()
209 capturer->set_enable_camera_list(has_max); in CreateVideoCapturer()
211 capturer->ConstrainSupportedFormats(video_format); in CreateVideoCapturer()
213 return capturer; in CreateVideoCapturer()
221 FileVideoCapturer* capturer = new FileVideoCapturer; in MaybeConstructFakeVideoCapturer() local
222 if (!capturer->Init(device)) { in MaybeConstructFakeVideoCapturer()
[all …]
Ddevicemanager_unittest.cc399 scoped_ptr<cricket::VideoCapturer> capturer(dm->CreateScreenCapturer( in TEST() local
401 EXPECT_FALSE(capturer.get() == NULL); in TEST()
423 scoped_ptr<cricket::VideoCapturer> capturer(dm->CreateScreenCapturer( in TEST() local
425 EXPECT_FALSE(capturer.get() == NULL); in TEST()
432 scoped_ptr<cricket::VideoCapturer> capturer( in TEST_F() local
435 capturer->set_enable_camera_list(true); in TEST_F()
436 EXPECT_TRUE(capturer->GetBestCaptureFormat(kHdFormat, &best_format)); in TEST_F()
442 scoped_ptr<cricket::VideoCapturer> capturer( in TEST_F() local
445 capturer->set_enable_camera_list(true); in TEST_F()
446 EXPECT_TRUE(capturer->GetBestCaptureFormat(kHdFormat, &best_format)); in TEST_F()
[all …]
/external/webrtc/webrtc/test/
Dframe_generator_capturer.cc29 FrameGeneratorCapturer* capturer = new FrameGeneratorCapturer( in Create() local
32 if (!capturer->Init()) { in Create()
33 delete capturer; in Create()
37 return capturer; in Create()
47 FrameGeneratorCapturer* capturer = new FrameGeneratorCapturer( in CreateFromYuvFile() local
52 if (!capturer->Init()) { in CreateFromYuvFile()
53 delete capturer; in CreateFromYuvFile()
57 return capturer; in CreateFromYuvFile()
/external/webrtc/talk/session/media/
Dchannelmanager.cc66 : capturer(c), in CaptureStateParams()
68 cricket::VideoCapturer* capturer; member
449 VideoCapturer* capturer) const { in GetSupportedFormats()
450 ASSERT(capturer != NULL); in GetSupportedFormats()
453 this, capturer, &formats)); in GetSupportedFormats()
458 VideoCapturer* capturer, in GetSupportedFormats_w() argument
460 const std::vector<VideoFormat>* formats = capturer->GetSupportedFormats(); in GetSupportedFormats_w()
470 VideoCapturer* capturer, const VideoFormat& video_format) { in StartVideoCapture() argument
473 capture_manager_.get(), capturer, video_format)); in StartVideoCapture()
487 VideoCapturer* capturer, const VideoFormat& video_format) { in StopVideoCapture() argument
[all …]
Dchannelmanager.h141 VideoCapturer* capturer) const;
159 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer);
160 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer);
210 void OnVideoCaptureStateChange(VideoCapturer* capturer,
213 VideoCapturer* capturer,
/external/webrtc/talk/app/webrtc/objc/
DRTCAVFoundationVideoSource.mm40 rtc::scoped_ptr<webrtc::AVFoundationVideoCapturer> capturer;
41 capturer.reset(new webrtc::AVFoundationVideoCapturer());
43 factory.nativeFactory->CreateVideoSource(capturer.release(),
49 return self.capturer->GetUseBackCamera();
53 self.capturer->SetUseBackCamera(useBackCamera);
57 return self.capturer->GetCaptureSession();
60 - (webrtc::AVFoundationVideoCapturer*)capturer { method
61 cricket::VideoCapturer* capturer = self.videoSource->GetVideoCapturer();
65 static_cast<webrtc::AVFoundationVideoCapturer*>(capturer);
DRTCVideoCapturer.mm52 rtc::scoped_ptr<cricket::VideoCapturer> capturer(
55 [[RTCVideoCapturer alloc] initWithCapturer:capturer.release()];
63 - (id)initWithCapturer:(cricket::VideoCapturer*)capturer {
65 _capturer.reset(capturer);
/external/autotest/server/cros/clique_lib/
Dclique_runner.py182 def _cleanup(self, dut_objects, dut_locker, ap_locker, capturer, argument
197 capturer.close()
227 capturer = site_linux_system.LinuxSystem(
265 capturer, conn_workers)
269 ap, ap_spec, capturer, job)
272 capturer, conn_workers)
281 capturer, conn_workers)
287 capturer, conn_workers)
295 capturer=capturer,
309 capturer, conn_workers)
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturerfactory.cc35 rtc::scoped_ptr<WebRtcVideoCapturer> capturer( in Create() local
37 if (!capturer->Init(device)) { in Create()
40 return capturer.release(); in Create()
Dwebrtcvideoengine2_unittest.cc283 cricket::FakeVideoCapturer capturer; in TEST_F() local
301 EXPECT_TRUE(channel->SetCapturer(kSsrc, &capturer)); in TEST_F()
304 EXPECT_FALSE(capturer.GetApplyRotation()); in TEST_F()
309 EXPECT_TRUE(capturer.GetApplyRotation()); in TEST_F()
313 cricket::FakeVideoCapturer capturer; in TEST_F() local
325 EXPECT_TRUE(channel->SetCapturer(kSsrc, &capturer)); in TEST_F()
334 EXPECT_FALSE(capturer.GetApplyRotation()); in TEST_F()
339 EXPECT_TRUE(capturer.GetApplyRotation()); in TEST_F()
378 cricket::FakeVideoCapturer capturer; in TEST_F() local
379 EXPECT_TRUE(channel->SetCapturer(kSsrc, &capturer)); in TEST_F()
[all …]
/external/autotest/server/cros/network/
Dchaos_clique_utils.py243 def scan_for_networks(ssid, capturer, ap_spec): argument
256 wifi_if = capturer.get_wlanif(freq, 'managed')
257 capturer.host.run('%s link set %s up' % (capturer.cmd_ip, wifi_if))
259 networks = capturer.iw_runner.wait_for_scan_result(
261 capturer.remove_interface(wifi_if)
265 def return_available_networks(ap, capturer, job, ap_spec): argument
276 networks = scan_for_networks(ap.ssid, capturer, ap_spec)
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DVideoCapturer.java38 Object capturer = nativeCreateVideoCapturer(deviceName); in create() local
39 if (capturer != null) in create()
40 return (VideoCapturer) (capturer); in create()
/external/autotest/server/cros/chaos_lib/
Dchaos_runner.py74 capturer = site_linux_system.LinuxSystem(capture_host, {},
159 ap, capturer, job, self._ap_spec)
168 capturer.host.reboot()
169 capturer = site_linux_system.LinuxSystem(
205 capturer=capturer,
228 capturer.close()
/external/webrtc/talk/app/webrtc/
Dremotevideocapturer_unittest.cc74 void OnStateChange(VideoCapturer* capturer, in OnStateChange() argument
76 EXPECT_EQ(&capturer_, capturer); in OnStateChange()
80 void OnVideoFrame(VideoCapturer* capturer, const VideoFrame* frame) { in OnVideoFrame() argument
81 EXPECT_EQ(&capturer_, capturer); in OnVideoFrame()
Dvideosource.cc299 explicit FrameInputWrapper(cricket::VideoCapturer* capturer) in FrameInputWrapper() argument
300 : capturer_(capturer) { in FrameInputWrapper()
331 cricket::VideoCapturer* capturer, in Create() argument
335 ASSERT(capturer != NULL); in Create()
337 channel_manager, capturer, remote)); in Create()
343 cricket::VideoCapturer* capturer, in VideoSource() argument
346 video_capturer_(capturer), in VideoSource()
457 void VideoSource::OnStateChange(cricket::VideoCapturer* capturer, in OnStateChange() argument
459 if (capturer == video_capturer_.get()) { in OnStateChange()
Dvideosource.h68 cricket::VideoCapturer* capturer,
92 cricket::VideoCapturer* capturer,
98 void OnStateChange(cricket::VideoCapturer* capturer,
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/
Dnetwork_WiFi_ChaosLongConnect.py20 def run_once(self, capturer, capturer_frequency, capturer_ht_type, host, argument
44 capturer.start_capture(capturer_frequency, ht_type=capturer_ht_type)
74 capturer.stop_capture(save_dir=self.outputdir,
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/
Dnetwork_WiFi_ChaosConnectDisconnect.py19 def run_once(self, capturer, capturer_frequency, capturer_ht_type, argument
41 capturer.start_capture(capturer_frequency, ht_type=capturer_ht_type)
64 capturer.stop_capture(save_dir=self.outputdir,
/external/autotest/client/site_tests/video_GlitchDetection/
Dvideo_GlitchDetection.py62 capturer = chameleon_video_capturer.ChameleonVideoCapturer(
65 with capturer:
85 raw_test_checksums = capturer.capture_only(
122 capturer.write_images(test_indices, constants.TEST_DIR,
184 paths = capturer.write_images(store_indices,
/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java302 final Capturer capturer = new Capturer(); in testNotifiedKeysOfAllBindTypes() local
306 bindListener(Matchers.any(), capturer); in testNotifiedKeysOfAllBindTypes()
326 capturer.getAsSetAndClear()); in testNotifiedKeysOfAllBindTypes()
330 assertEquals(of(Key.get(Foo.class)), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
334 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
336 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
340 assertEquals(of(Key.get(JitFoo2P.class), Key.get(JitFoo2.class)), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
342 assertEquals(of(Key.get(JitFoo2P.class), Key.get(JitFoo2.class)), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
346 assertEquals(of(Key.get(Foo.class, named("pi"))), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
350 assertEquals(of(Key.get(Foo.class, named("cxtr"))), capturer.getAndClear()); in testNotifiedKeysOfAllBindTypes()
[all …]
/external/autotest/server/site_tests/network_WiFi_CliqueLongConnect/
Dnetwork_WiFi_CliqueLongConnect.py20 def run_once(self, capturer, capturer_frequency, capturer_ht_type, argument
50 test_params = { 'capturer': capturer,
/external/autotest/server/site_tests/network_WiFi_CliqueConnectDisconnect/
Dnetwork_WiFi_CliqueConnectDisconnect.py20 def run_once(self, capturer, capturer_frequency, capturer_ht_type, argument
52 test_params = { 'capturer': capturer,

123