chromium/third_party/libvpx/source/libvpx/test/vp8_datarate_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 "./vpx_config.h"
#include "gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/i420_video_source.h"
#include "test/util.h"
#include "test/y4m_video_source.h"
#include "vpx/vpx_encoder.h"

namespace {

class DatarateTestLarge
    : public ::libvpx_test::EncoderTest,
      public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {};

#if CONFIG_TEMPORAL_DENOISING
// Check basic datarate targeting, for a single bitrate, but loop over the
// various denoiser settings.
TEST_P(DatarateTestLarge, DenoiserLevels) {}

// Check basic datarate targeting, for a single bitrate, when denoiser is off
// and on.
TEST_P(DatarateTestLarge, DenoiserOffOn) {}
#endif  // CONFIG_TEMPORAL_DENOISING

TEST_P(DatarateTestLarge, BasicBufferModel) {}

TEST_P(DatarateTestLarge, ChangingDropFrameThresh) {}

TEST_P(DatarateTestLarge, DropFramesMultiThreads) {}

class DatarateTestRealTime : public DatarateTestLarge {};

#if CONFIG_TEMPORAL_DENOISING
// Check basic datarate targeting, for a single bitrate, but loop over the
// various denoiser settings.
TEST_P(DatarateTestRealTime, DenoiserLevels) {}

// Check basic datarate targeting, for a single bitrate, when denoiser is off
// and on.
TEST_P(DatarateTestRealTime, DenoiserOffOn) {}
#endif  // CONFIG_TEMPORAL_DENOISING

TEST_P(DatarateTestRealTime, BasicBufferModel) {}

TEST_P(DatarateTestRealTime, ChangingDropFrameThresh) {}

TEST_P(DatarateTestRealTime, DropFramesMultiThreads) {}

TEST_P(DatarateTestRealTime, MultiThreadsPSNR) {}

TEST_P(DatarateTestRealTime, RegionOfInterest) {}

TEST_P(DatarateTestRealTime, GFBoost) {}

TEST_P(DatarateTestRealTime, NV12) {}

VP8_INSTANTIATE_TEST_SUITE();
VP8_INSTANTIATE_TEST_SUITE();
}  // namespace