chromium/third_party/libaom/source/libaom/test/y4m_test.cc

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#include <string>

#include "config/aom_config.h"

#include "common/y4menc.h"
#include "gtest/gtest.h"
#include "test/md5_helper.h"
#include "test/util.h"
#include "test/y4m_video_source.h"

namespace {

string;

static const unsigned int kWidth =;
static const unsigned int kHeight =;
static const unsigned int kFrames =;

struct Y4mTestParam {};

const Y4mTestParam kY4mTestVectors[] =;

static const int PLANES_YUV[] =;

class Y4mVideoSourceTest : public ::testing::TestWithParam<Y4mTestParam>,
                           public ::libaom_test::Y4mVideoSource {};

TEST_P(Y4mVideoSourceTest, SourceTest) {}

INSTANTIATE_TEST_SUITE_P();

class Y4mVideoWriteTest : public Y4mVideoSourceTest {};

TEST_P(Y4mVideoWriteTest, WriteTest) {}

INSTANTIATE_TEST_SUITE_P();

static const char kY4MRegularHeader[] =;

TEST(Y4MHeaderTest, RegularHeader) {}

// Testing that headers over 100 characters can be parsed.
static const char kY4MLongHeader[] =;

TEST(Y4MHeaderTest, LongHeader) {}

static const char kY4MFullRangeHeader[] =;

TEST(Y4MHeaderTest, FullRangeHeader) {}

TEST(Y4MHeaderTest, WriteStudioColorRange) {}

TEST(Y4MHeaderTest, WriteFullColorRange) {}

}  // namespace