#include "cast/streaming/resolution.h"
#include <utility>
#include "absl/strings/str_split.h"
#include "cast/streaming/message_fields.h"
#include "platform/base/error.h"
#include "util/json/json_helpers.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
namespace {
static constexpr char kWidth[] = …;
static constexpr char kHeight[] = …;
static constexpr char kFrameRate[] = …;
bool FrameRateEquals(double a, double b) { … }
}
bool Resolution::TryParse(const Json::Value& root, Resolution* out) { … }
bool Resolution::IsValid() const { … }
Json::Value Resolution::ToJson() const { … }
bool Resolution::operator==(const Resolution& other) const { … }
bool Resolution::operator!=(const Resolution& other) const { … }
bool Resolution::IsSupersetOf(const Resolution& other) const { … }
bool Dimensions::TryParse(const Json::Value& root, Dimensions* out) { … }
bool Dimensions::IsValid() const { … }
Json::Value Dimensions::ToJson() const { … }
bool Dimensions::operator==(const Dimensions& other) const { … }
bool Dimensions::operator!=(const Dimensions& other) const { … }
bool Dimensions::IsSupersetOf(const Dimensions& other) const { … }
}