#include "media/capture/video_capture_types.h"
#include <ostream>
#include "base/check.h"
#include "base/ranges/algorithm.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "media/base/limits.h"
namespace media {
static VideoPixelFormat const kSupportedCapturePixelFormats[] = …;
VideoCaptureFormat::VideoCaptureFormat()
: … { … }
VideoCaptureFormat::VideoCaptureFormat(const gfx::Size& frame_size,
float frame_rate,
VideoPixelFormat pixel_format)
: … { … }
bool VideoCaptureFormat::IsValid() const { … }
std::string VideoCaptureFormat::ToString(const VideoCaptureFormat& format) { … }
bool VideoCaptureFormat::ComparePixelFormatPreference(
const VideoPixelFormat& lhs,
const VideoPixelFormat& rhs) { … }
VideoCaptureParams::VideoCaptureParams()
: … { … }
bool VideoCaptureParams::IsValid() const { … }
std::string VideoCaptureParams::SuggestedConstraints::ToString() const { … }
VideoCaptureParams::SuggestedConstraints
VideoCaptureParams::SuggestConstraints() const { … }
std::ostream& operator<<(
std::ostream& os,
const VideoCaptureParams::SuggestedConstraints& constraints) { … }
}