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

/*
 *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include <string>

#include "gtest/gtest.h"

#include "./vpx_config.h"
#include "./y4menc.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 void write_image_file(const vpx_image_t *img, FILE *file) {}

class Y4mVideoSourceTest : public ::testing::TestWithParam<Y4mTestParam>,
                           public ::libvpx_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) {}

}  // namespace