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

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

Issue 290653003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 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
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 ::testing::Values( 306 ::testing::Values(
307 make_tuple(&vp9_fdct8x8_c, &vp9_idct8x8_64_add_c, 0))); 307 make_tuple(&vp9_fdct8x8_c, &vp9_idct8x8_64_add_c, 0)));
308 INSTANTIATE_TEST_CASE_P( 308 INSTANTIATE_TEST_CASE_P(
309 C, FwdTrans8x8HT, 309 C, FwdTrans8x8HT,
310 ::testing::Values( 310 ::testing::Values(
311 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 0), 311 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 0),
312 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 1), 312 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 1),
313 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 2), 313 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 2),
314 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 3))); 314 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 3)));
315 315
316 #if HAVE_NEON 316 #if HAVE_NEON_ASM
317 INSTANTIATE_TEST_CASE_P( 317 INSTANTIATE_TEST_CASE_P(
318 NEON, FwdTrans8x8DCT, 318 NEON, FwdTrans8x8DCT,
319 ::testing::Values( 319 ::testing::Values(
320 make_tuple(&vp9_fdct8x8_c, &vp9_idct8x8_64_add_neon, 0))); 320 make_tuple(&vp9_fdct8x8_c, &vp9_idct8x8_64_add_neon, 0)));
321 INSTANTIATE_TEST_CASE_P( 321 INSTANTIATE_TEST_CASE_P(
322 DISABLED_NEON, FwdTrans8x8HT, 322 DISABLED_NEON, FwdTrans8x8HT,
323 ::testing::Values( 323 ::testing::Values(
324 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 0), 324 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 0),
325 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 1), 325 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 1),
326 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 2), 326 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 2),
327 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 3))); 327 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 3)));
328 #endif 328 #endif
329 329
330 #if HAVE_SSE2 330 #if HAVE_SSE2
331 INSTANTIATE_TEST_CASE_P( 331 INSTANTIATE_TEST_CASE_P(
332 SSE2, FwdTrans8x8DCT, 332 SSE2, FwdTrans8x8DCT,
333 ::testing::Values( 333 ::testing::Values(
334 make_tuple(&vp9_fdct8x8_sse2, &vp9_idct8x8_64_add_sse2, 0))); 334 make_tuple(&vp9_fdct8x8_sse2, &vp9_idct8x8_64_add_sse2, 0)));
335 INSTANTIATE_TEST_CASE_P( 335 INSTANTIATE_TEST_CASE_P(
336 SSE2, FwdTrans8x8HT, 336 SSE2, FwdTrans8x8HT,
337 ::testing::Values( 337 ::testing::Values(
338 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 0), 338 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 0),
339 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 1), 339 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 1),
340 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 2), 340 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 2),
341 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3))); 341 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3)));
342 #endif 342 #endif
343
344 #if HAVE_SSSE3 && ARCH_X86_64
345 INSTANTIATE_TEST_CASE_P(
346 SSSE3, FwdTrans8x8DCT,
347 ::testing::Values(
348 make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0)));
349 #endif
343 } // namespace 350 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698