chromium/media/base/video_aspect_ratio.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/base/video_aspect_ratio.h"

#include <cmath>
#include <limits>

namespace media {

VideoAspectRatio::VideoAspectRatio(Type type, int width, int height) {}

// static
VideoAspectRatio VideoAspectRatio::PAR(int width, int height) {}

// static
VideoAspectRatio VideoAspectRatio::DAR(int width, int height) {}

VideoAspectRatio::VideoAspectRatio(const gfx::Rect& visible_rect,
                                   const gfx::Size& natural_size) {}

bool VideoAspectRatio::operator==(const VideoAspectRatio& other) const {}

bool VideoAspectRatio::IsValid() const {}

gfx::Size VideoAspectRatio::GetNaturalSize(
    const gfx::Rect& visible_rect) const {}

}  // namespace media