#ifndef CHROME_BROWSER_UI_VIEWS_MEDIA_PREVIEW_CAMERA_PREVIEW_VIDEO_FORMAT_COMPARISON_H_
#define CHROME_BROWSER_UI_VIEWS_MEDIA_PREVIEW_CAMERA_PREVIEW_VIDEO_FORMAT_COMPARISON_H_
#include <vector>
namespace gfx {
class Size;
}
namespace media {
struct VideoCaptureFormat;
}
namespace video_format_comparison {
inline constexpr float kDefaultFrameRate = …;
inline constexpr float kDefaultAspectRatio = …;
float GetFrameAspectRatio(const gfx::Size& frame_size);
media::VideoCaptureFormat GetClosestVideoFormat(
const std::vector<media::VideoCaptureFormat>& formats,
const int view_width,
const float target_frame_rate = kDefaultFrameRate);
}
#endif