shithub: libvpx

Download patch

ref: 655fbd1b4ac8617b836dddb597e54c0f83c27400
parent: a0befb93e7150f72afe57aa5b7f7df3308690cef
author: Alex Converse <[email protected]>
date: Wed Oct 1 07:40:34 EDT 2014

Add a 1x1 enc/dec test.

Change-Id: I777f49a3c2c2aaa04ae23904396bd7254e1afd8c

--- a/test/frame_size_tests.cc
+++ b/test/frame_size_tests.cc
@@ -84,4 +84,13 @@
   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