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

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

Issue 181493009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/dct16x16_test.cc ('k') | source/libvpx/test/error_resilience_test.cc » ('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) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 242
243 using std::tr1::make_tuple; 243 using std::tr1::make_tuple;
244 244
245 INSTANTIATE_TEST_CASE_P( 245 INSTANTIATE_TEST_CASE_P(
246 C, Trans32x32Test, 246 C, Trans32x32Test,
247 ::testing::Values( 247 ::testing::Values(
248 make_tuple(&vp9_fdct32x32_c, &vp9_idct32x32_1024_add_c, 0), 248 make_tuple(&vp9_fdct32x32_c, &vp9_idct32x32_1024_add_c, 0),
249 make_tuple(&vp9_fdct32x32_rd_c, &vp9_idct32x32_1024_add_c, 1))); 249 make_tuple(&vp9_fdct32x32_rd_c, &vp9_idct32x32_1024_add_c, 1)));
250 250
251 #if HAVE_NEON
252 INSTANTIATE_TEST_CASE_P(
253 NEON, Trans32x32Test,
254 ::testing::Values(
255 make_tuple(&vp9_fdct32x32_c,
256 &vp9_idct32x32_1024_add_neon, 0),
257 make_tuple(&vp9_fdct32x32_rd_c,
258 &vp9_idct32x32_1024_add_neon, 1)));
259 #endif
260
251 #if HAVE_SSE2 261 #if HAVE_SSE2
252 INSTANTIATE_TEST_CASE_P( 262 INSTANTIATE_TEST_CASE_P(
253 SSE2, Trans32x32Test, 263 SSE2, Trans32x32Test,
254 ::testing::Values( 264 ::testing::Values(
255 make_tuple(&vp9_fdct32x32_sse2, 265 make_tuple(&vp9_fdct32x32_sse2,
256 &vp9_idct32x32_1024_add_sse2, 0), 266 &vp9_idct32x32_1024_add_sse2, 0),
257 make_tuple(&vp9_fdct32x32_rd_sse2, 267 make_tuple(&vp9_fdct32x32_rd_sse2,
258 &vp9_idct32x32_1024_add_sse2, 1))); 268 &vp9_idct32x32_1024_add_sse2, 1)));
259 #endif 269 #endif
260 270
261 #if HAVE_AVX2 271 #if HAVE_AVX2
262 INSTANTIATE_TEST_CASE_P( 272 INSTANTIATE_TEST_CASE_P(
263 AVX2, Trans32x32Test, 273 AVX2, Trans32x32Test,
264 ::testing::Values( 274 ::testing::Values(
265 make_tuple(&vp9_fdct32x32_avx2, 275 make_tuple(&vp9_fdct32x32_avx2,
266 &vp9_idct32x32_1024_add_sse2, 0), 276 &vp9_idct32x32_1024_add_sse2, 0),
267 make_tuple(&vp9_fdct32x32_rd_avx2, 277 make_tuple(&vp9_fdct32x32_rd_avx2,
268 &vp9_idct32x32_1024_add_sse2, 1))); 278 &vp9_idct32x32_1024_add_sse2, 1)));
269 #endif 279 #endif
270 } // namespace 280 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/dct16x16_test.cc ('k') | source/libvpx/test/error_resilience_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698