History

Reapply 'Amend and improve VP8 multithreading implementation'

Reapply this patch: ff0107f Amend and improve VP8 multithreading implementation Amended the patch to add a unit test, and fix an asan error. BUG=webm:851

Jim Bankoski committed 9 years ago

Commit 85a541a1 parent 121e1618 files · +161 −51Browse files

Showing the changes to test (1 of 8 files). Show all

Unified · Split

test/test_vector_test.cc+3−3
@@ -145,21 +145,21 @@ TEST_P(TestVectorTest, MD5Match) { · 144 unmodified lines
145145 ASSERT_NO_FATAL_FAILURE(RunLoop(video.get(), cfg));
146146 }
147147
148−// Test VP8 decode in serial mode with single thread and with 8 threads.
148+// Test VP8 decode in serial mode with single thread.
149149 // NOTE: VP8 only support serial mode.
150150 #if CONFIG_VP8_DECODER
151151 VP8_INSTANTIATE_TEST_CASE(
152152 TestVectorTest,
153153 ::testing::Combine(
154154 ::testing::Values(0), // Serial Mode.
155− ::testing::Values(1), // Single thread and 8 threads.
155+ ::testing::Values(1), // Single thread.
156156 ::testing::ValuesIn(libvpx_test::kVP8TestVectors,
157157 libvpx_test::kVP8TestVectors +
158158 libvpx_test::kNumVP8TestVectors)));
159159
160160 // Test VP8 decode in with different numbers of threads.
161161 INSTANTIATE_TEST_CASE_P(
162− DISABLED_VP8MultiThreaded, TestVectorTest,
162+ VP8MultiThreaded, TestVectorTest,
163163 ::testing::Combine(
164164 ::testing::Values(
165165 static_cast<const libvpx_test::CodecFactory *>(&libvpx_test::kVP8)),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t