Lines Matching refs:capturer
193 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()
223 delete capturer; in MaybeConstructFakeVideoCapturer()
227 capturer->set_repeat(FileVideoCapturer::kForever); in MaybeConstructFakeVideoCapturer()
228 return capturer; in MaybeConstructFakeVideoCapturer()
232 YuvFramesCapturer* capturer = new YuvFramesCapturer(); in MaybeConstructFakeVideoCapturer() local
233 capturer->Init(); in MaybeConstructFakeVideoCapturer()
234 return capturer; in MaybeConstructFakeVideoCapturer()