Lines Matching refs:VideoFormat
139 const std::vector<VideoFormat>* VideoCapturer::GetSupportedFormats() const { in GetSupportedFormats()
143 bool VideoCapturer::StartCapturing(const VideoFormat& capture_format) { in StartCapturing()
184 rtc::scoped_ptr<VideoFormat> capture_format_when_paused( in Pause()
185 capture_format_ ? new VideoFormat(*capture_format_) : NULL); in Pause()
213 bool VideoCapturer::Restart(const VideoFormat& capture_format) { in Restart()
257 const std::vector<VideoFormat>& formats) { in SetSupportedFormats()
262 bool VideoCapturer::GetBestCaptureFormat(const VideoFormat& format, in GetBestCaptureFormat()
263 VideoFormat* best_format) { in GetBestCaptureFormat()
266 const std::vector<VideoFormat>* supported_formats = GetSupportedFormats(); in GetBestCaptureFormat()
273 std::vector<VideoFormat>::const_iterator best = supported_formats->end(); in GetBestCaptureFormat()
274 std::vector<VideoFormat>::const_iterator i; in GetBestCaptureFormat()
301 void VideoCapturer::ConstrainSupportedFormats(const VideoFormat& max_format) { in ConstrainSupportedFormats()
302 max_format_.reset(new VideoFormat(max_format)); in ConstrainSupportedFormats()
333 VideoFormat* last_captured_frame_format) { in GetStats()
363 VideoFormat::IntervalToFps(capture_format_->interval) : in OnFrameCaptured()
503 const VideoFormat adapted_format = in OnFrameCaptured()
580 int64_t VideoCapturer::GetFormatDistance(const VideoFormat& desired, in GetFormatDistance()
581 const VideoFormat& supported) { in GetFormatDistance()
621 float supported_fps = VideoFormat::IntervalToFpsFloat(supported.interval); in GetFormatDistance()
623 supported_fps - VideoFormat::IntervalToFpsFloat(desired.interval); in GetFormatDistance()
651 VideoFormat::IntervalToFpsFloat(desired.interval) * 28.f / 30.f : in GetFormatDistance()
652 VideoFormat::IntervalToFpsFloat(desired.interval) * 23.f / 30.f; in GetFormatDistance()
675 std::vector<VideoFormat>::iterator iter = filtered_supported_formats_.begin(); in UpdateFilteredSupportedFormats()
691 bool VideoCapturer::ShouldFilterFormat(const VideoFormat& format) const { in ShouldFilterFormat()