Lines Matching refs:capturer
158 // return a fake video capturer device.
193 VideoCapturer* capturer = MaybeConstructFakeVideoCapturer(device);
194 if (capturer) {
195 return capturer;
199 LOG(LS_ERROR) << "No video capturer factory for devices.";
202 capturer = video_device_capturer_factory_->Create(device);
203 if (!capturer) {
209 capturer->set_enable_camera_list(has_max);
211 capturer->ConstrainSupportedFormats(video_format);
213 return capturer;
218 // TODO(hellner): Throw out the creation of a file video capturer once the
221 FileVideoCapturer* capturer = new FileVideoCapturer;
222 if (!capturer->Init(device)) {
223 delete capturer;
226 LOG(LS_INFO) << "Created file video capturer " << device.name;
227 capturer->set_repeat(FileVideoCapturer::kForever);
228 return capturer;
232 YuvFramesCapturer* capturer = new YuvFramesCapturer();
233 capturer->Init();
234 return capturer;
258 LOG(LS_ERROR) << "No video capturer factory for screens.";