blob: 928fc11b94fba4c4caa41c38b86dff3e969be259 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cobalt/media/base/hdr_metadata.h"
namespace cobalt {
namespace media {
MasteringMetadata::MasteringMetadata()
: primary_r_chromaticity_x(0),
primary_r_chromaticity_y(0),
primary_g_chromaticity_x(0),
primary_g_chromaticity_y(0),
primary_b_chromaticity_x(0),
primary_b_chromaticity_y(0),
white_point_chromaticity_x(0),
white_point_chromaticity_y(0),
luminance_max(0),
luminance_min(0) {}
MasteringMetadata::MasteringMetadata(const MasteringMetadata& rhs) {
*this = rhs;
}
HDRMetadata::HDRMetadata() : max_cll(0), max_fall(0) {}
HDRMetadata::HDRMetadata(const HDRMetadata& rhs) { *this = rhs; }
} // namespace media
} // namespace cobalt