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

Side by Side Diff: source/libvpx/test/vp9_thread_test.cc

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/vp9_subtract_test.cc ('k') | source/libvpx/test/webm_video_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 TEST(VP9DecodeMTTest, MTDecode2) { 135 TEST(VP9DecodeMTTest, MTDecode2) {
136 static const struct { 136 static const struct {
137 const char *name; 137 const char *name;
138 const char *expected_md5; 138 const char *expected_md5;
139 } files[] = { 139 } files[] = {
140 { "vp90-2-08-tile_1x2_frame_parallel.webm", 140 { "vp90-2-08-tile_1x2_frame_parallel.webm",
141 "68ede6abd66bae0a2edf2eb9232241b6" }, 141 "68ede6abd66bae0a2edf2eb9232241b6" },
142 { "vp90-2-08-tile_1x4_frame_parallel.webm", 142 { "vp90-2-08-tile_1x4_frame_parallel.webm",
143 "368ebc6ebf3a5e478d85b2c3149b2848" }, 143 "368ebc6ebf3a5e478d85b2c3149b2848" },
144 { "vp90-2-08-tile_1x8_frame_parallel.webm",
145 "17e439da2388aff3a0f69cb22579c6c1" },
144 }; 146 };
145 147
146 for (int i = 0; i < static_cast<int>(sizeof(files) / sizeof(files[0])); ++i) { 148 for (int i = 0; i < static_cast<int>(sizeof(files) / sizeof(files[0])); ++i) {
147 for (int t = 2; t <= 4; ++t) { 149 for (int t = 2; t <= 8; ++t) {
148 EXPECT_STREQ(files[i].expected_md5, DecodeFile(files[i].name, t).c_str()) 150 EXPECT_STREQ(files[i].expected_md5, DecodeFile(files[i].name, t).c_str())
149 << "threads = " << t; 151 << "threads = " << t;
150 } 152 }
151 } 153 }
152 } 154 }
153 155
154 INSTANTIATE_TEST_CASE_P(Synchronous, VP9WorkerThreadTest, ::testing::Bool()); 156 INSTANTIATE_TEST_CASE_P(Synchronous, VP9WorkerThreadTest, ::testing::Bool());
155 157
156 } // namespace 158 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/vp9_subtract_test.cc ('k') | source/libvpx/test/webm_video_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698