#include "media/capture/video/linux/video_capture_device_factory_webrtc.h"
#include "base/feature_list.h"
#include "media/capture/capture_switches.h"
#include "media/capture/video/linux/video_capture_device_webrtc.h"
#include "third_party/webrtc/modules/video_capture/video_capture_factory.h"
namespace media {
struct { … } constexpr kSupportedFormats[] = …;
VideoCaptureDeviceFactoryWebRtc::VideoCaptureDeviceFactoryWebRtc() = default;
VideoCaptureDeviceFactoryWebRtc::~VideoCaptureDeviceFactoryWebRtc() = default;
VideoCaptureErrorOrDevice VideoCaptureDeviceFactoryWebRtc::CreateDevice(
const VideoCaptureDeviceDescriptor& device_descriptor) { … }
void VideoCaptureDeviceFactoryWebRtc::FinishGetDevicesInfo() { … }
void VideoCaptureDeviceFactoryWebRtc::GetDevicesInfo(
GetDevicesInfoCallback callback) { … }
void VideoCaptureDeviceFactoryWebRtc::OnInitialized(
webrtc::VideoCaptureOptions::Status status) { … }
bool VideoCaptureDeviceFactoryWebRtc::IsAvailable() { … }
webrtc::VideoType
VideoCaptureDeviceFactoryWebRtc::WebRtcVideoTypeFromChromiumPixelFormat(
VideoPixelFormat pixel_format) { … }
VideoPixelFormat
VideoCaptureDeviceFactoryWebRtc::WebRtcVideoTypeToChromiumPixelFormat(
webrtc::VideoType video_type) { … }
}