chromium/media/base/video_color_space.cc

// Copyright 2017 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_color_space.h"

#include "base/strings/stringprintf.h"

namespace media {

VideoColorSpace::PrimaryID VideoColorSpace::GetPrimaryID(int primary) {}

VideoColorSpace::TransferID VideoColorSpace::GetTransferID(int transfer) {}

VideoColorSpace::MatrixID VideoColorSpace::GetMatrixID(int matrix) {}

VideoColorSpace::VideoColorSpace() = default;

VideoColorSpace::VideoColorSpace(PrimaryID primaries,
                                 TransferID transfer,
                                 MatrixID matrix,
                                 gfx::ColorSpace::RangeID range)
    :{}

VideoColorSpace::VideoColorSpace(int primaries,
                                 int transfer,
                                 int matrix,
                                 gfx::ColorSpace::RangeID range)
    :{}

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

bool VideoColorSpace::operator!=(const VideoColorSpace& other) const {}

bool VideoColorSpace::IsSpecified() const {}

gfx::ColorSpace VideoColorSpace::ToGfxColorSpace() const {}

gfx::ColorSpace VideoColorSpace::GuessGfxColorSpace() const {}

std::string VideoColorSpace::ToString() const {}

VideoColorSpace VideoColorSpace::REC709() {}
VideoColorSpace VideoColorSpace::REC601() {}
VideoColorSpace VideoColorSpace::JPEG() {}

// static
VideoColorSpace VideoColorSpace::FromGfxColorSpace(
    const gfx::ColorSpace& color_space) {}

gfx::ColorSpace VideoColorSpace::ToGfxColorSpaceInternal(
    bool allow_guessing) const {}

}  // namespace