#include "media/formats/webm/webm_projection_parser.h"
#include "base/check.h"
#include "base/logging.h"
#include "media/formats/webm/webm_constants.h"
namespace {
int64_t INVALID_PROJECTION_TYPE = …;
double INVALID_ANGLE = …;
bool IsValidAngle(double val, double min, double max) { … }
bool IsValidProjectionType(int64_t projection_type_code) { … }
}
namespace media {
WebMProjectionParser::WebMProjectionParser(MediaLog* media_log)
: … { … }
WebMProjectionParser::~WebMProjectionParser() = default;
void WebMProjectionParser::Reset() { … }
bool WebMProjectionParser::OnUInt(int id, int64_t val) { … }
bool WebMProjectionParser::OnFloat(int id, double val) { … }
bool WebMProjectionParser::Validate() const { … }
}