Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: source/libvpx/test/vp9_ethread_test.cc

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/vp9_end_to_end_test.cc ('k') | source/libvpx/test/vp9_lossless_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/vp9_ethread_test.cc
diff --git a/source/libvpx/test/vp9_ethread_test.cc b/source/libvpx/test/vp9_ethread_test.cc
index 20d58957abdd2b2c398fbe625cfc4ec82bd6bfb1..63f6dfea73f8af4ed04d3f40b9e46acc9a52d9e6 100644
--- a/source/libvpx/test/vp9_ethread_test.cc
+++ b/source/libvpx/test/vp9_ethread_test.cc
@@ -18,11 +18,11 @@
#include "test/y4m_video_source.h"
namespace {
-class VP9EncoderThreadTest
+class VPxEncoderThreadTest
: public ::libvpx_test::EncoderTest,
public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
protected:
- VP9EncoderThreadTest()
+ VPxEncoderThreadTest()
: EncoderTest(GET_PARAM(0)),
encoder_initialized_(false),
tiles_(2),
@@ -36,7 +36,7 @@ class VP9EncoderThreadTest
md5_.clear();
}
- virtual ~VP9EncoderThreadTest() {
+ virtual ~VPxEncoderThreadTest() {
delete decoder_;
}
@@ -105,7 +105,7 @@ class VP9EncoderThreadTest
std::vector<std::string> md5_;
};
-TEST_P(VP9EncoderThreadTest, EncoderResultTest) {
+TEST_P(VPxEncoderThreadTest, EncoderResultTest) {
std::vector<std::string> single_thr_md5, multi_thr_md5;
::libvpx_test::Y4mVideoSource video("niklas_1280_720_30.y4m", 15, 20);
@@ -130,8 +130,13 @@ TEST_P(VP9EncoderThreadTest, EncoderResultTest) {
}
VP9_INSTANTIATE_TEST_CASE(
- VP9EncoderThreadTest,
+ VPxEncoderThreadTest,
::testing::Values(::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood,
::libvpx_test::kRealTime),
::testing::Range(1, 9));
+
+VP10_INSTANTIATE_TEST_CASE(
+ VPxEncoderThreadTest,
+ ::testing::Values(::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood),
+ ::testing::Range(1, 3));
} // namespace
« no previous file with comments | « source/libvpx/test/vp9_end_to_end_test.cc ('k') | source/libvpx/test/vp9_lossless_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698