From: Alex Converse Date: Wed, 1 Oct 2014 18:40:34 +0000 (-0700) Subject: Add a 1x1 enc/dec test. X-Git-Tag: v1.4.0~685^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=655fbd1b4ac8617b836dddb597e54c0f83c27400;p=libvpx Add a 1x1 enc/dec test. Change-Id: I777f49a3c2c2aaa04ae23904396bd7254e1afd8c --- diff --git a/test/frame_size_tests.cc b/test/frame_size_tests.cc index 1c9a52297..95cc66adc 100644 --- a/test/frame_size_tests.cc +++ b/test/frame_size_tests.cc @@ -84,4 +84,13 @@ TEST_F(VP9FrameSizeTestsLarge, ValidSizes) { ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); #endif } + +TEST_F(VP9FrameSizeTestsLarge, OneByOneVideo) { + ::libvpx_test::RandomVideoSource video; + + video.SetSize(1, 1); + video.set_limit(2); + expected_res_ = VPX_CODEC_OK; + ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); +} } // namespace