Commit 239bb16f authored by James Zern's avatar James Zern
Browse files

lossless_test: mark tests as Large

Change-Id: I619b365d636737da8b1a322bab3be973de53200d
parent b5818b77
...@@ -21,17 +21,17 @@ namespace { ...@@ -21,17 +21,17 @@ namespace {
const int kMaxPsnr = 100; const int kMaxPsnr = 100;
class LosslessTest : public ::libvpx_test::EncoderTest, class LosslessTestLarge : public ::libvpx_test::EncoderTest,
public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> { public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
protected: protected:
LosslessTest() LosslessTestLarge()
: EncoderTest(GET_PARAM(0)), : EncoderTest(GET_PARAM(0)),
psnr_(kMaxPsnr), psnr_(kMaxPsnr),
nframes_(0), nframes_(0),
encoding_mode_(GET_PARAM(1)) { encoding_mode_(GET_PARAM(1)) {
} }
virtual ~LosslessTest() {} virtual ~LosslessTestLarge() {}
virtual void SetUp() { virtual void SetUp() {
InitializeConfig(); InitializeConfig();
...@@ -69,7 +69,7 @@ class LosslessTest : public ::libvpx_test::EncoderTest, ...@@ -69,7 +69,7 @@ class LosslessTest : public ::libvpx_test::EncoderTest,
libvpx_test::TestMode encoding_mode_; libvpx_test::TestMode encoding_mode_;
}; };
TEST_P(LosslessTest, TestLossLessEncoding) { TEST_P(LosslessTestLarge, TestLossLessEncoding) {
const vpx_rational timebase = { 33333333, 1000000000 }; const vpx_rational timebase = { 33333333, 1000000000 };
cfg_.g_timebase = timebase; cfg_.g_timebase = timebase;
cfg_.rc_target_bitrate = 2000; cfg_.rc_target_bitrate = 2000;
...@@ -87,7 +87,7 @@ TEST_P(LosslessTest, TestLossLessEncoding) { ...@@ -87,7 +87,7 @@ TEST_P(LosslessTest, TestLossLessEncoding) {
EXPECT_GE(psnr_lossless, kMaxPsnr); EXPECT_GE(psnr_lossless, kMaxPsnr);
} }
TEST_P(LosslessTest, TestLossLessEncoding444) { TEST_P(LosslessTestLarge, TestLossLessEncoding444) {
libvpx_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 5); libvpx_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 5);
cfg_.g_profile = 1; cfg_.g_profile = 1;
...@@ -104,7 +104,7 @@ TEST_P(LosslessTest, TestLossLessEncoding444) { ...@@ -104,7 +104,7 @@ TEST_P(LosslessTest, TestLossLessEncoding444) {
EXPECT_GE(psnr_lossless, kMaxPsnr); EXPECT_GE(psnr_lossless, kMaxPsnr);
} }
TEST_P(LosslessTest, TestLossLessEncodingCtrl) { TEST_P(LosslessTestLarge, TestLossLessEncodingCtrl) {
const vpx_rational timebase = { 33333333, 1000000000 }; const vpx_rational timebase = { 33333333, 1000000000 };
cfg_.g_timebase = timebase; cfg_.g_timebase = timebase;
cfg_.rc_target_bitrate = 2000; cfg_.rc_target_bitrate = 2000;
...@@ -124,7 +124,7 @@ TEST_P(LosslessTest, TestLossLessEncodingCtrl) { ...@@ -124,7 +124,7 @@ TEST_P(LosslessTest, TestLossLessEncodingCtrl) {
} }
VP10_INSTANTIATE_TEST_CASE(LosslessTest, VP10_INSTANTIATE_TEST_CASE(LosslessTestLarge,
::testing::Values(::libvpx_test::kOnePassGood, ::testing::Values(::libvpx_test::kOnePassGood,
::libvpx_test::kTwoPassGood)); ::libvpx_test::kTwoPassGood));
} // namespace } // namespace
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment