]> granicus.if.org Git - libvpx/commitdiff
Use speed 2 on superframe test.
authorAlex Converse <aconverse@google.com>
Fri, 25 Mar 2016 23:11:17 +0000 (16:11 -0700)
committerAlex Converse <aconverse@google.com>
Sat, 26 Mar 2016 00:48:21 +0000 (00:48 +0000)
No need to do avoid shortcuts when all we are testing is the superframe
syntax. Decreases the run time up the VP10 version of the test from 22
seconds to 3 seconds on my machine.

Change-Id: If0c3551cbb8af8b803e02629e803e5f09da76cd1

test/superframe_test.cc

index 360e97c2e499b5dddb8596f1b3b6433ce786b32d..4fc9555aa2d90d2546d73acaf52b4cebcbfae130 100644 (file)
@@ -47,6 +47,7 @@ class SuperframeTest : public ::libvpx_test::EncoderTest,
                                   libvpx_test::Encoder *encoder) {
     if (video->frame() == 1) {
       encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
+      encoder->Control(VP8E_SET_CPUUSED, 2);
     }
   }