#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
TEST_P(DatarateTestLarge, DenoiserLevels) { … }
TEST_P(DatarateTestLarge, DenoiserOffOn) { … }
#endif
TEST_P(DatarateTestLarge, BasicBufferModel) { … }
TEST_P(DatarateTestLarge, ChangingDropFrameThresh) { … }
TEST_P(DatarateTestLarge, DropFramesMultiThreads) { … }
class DatarateTestRealTime : public DatarateTestLarge { … };
#if CONFIG_TEMPORAL_DENOISING
TEST_P(DatarateTestRealTime, DenoiserLevels) { … }
TEST_P(DatarateTestRealTime, DenoiserOffOn) { … }
#endif
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(…) …;
}