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

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

Issue 668403002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 2 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/partial_idct_test.cc ('k') | source/libvpx/test/svc_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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 #if CONFIG_VP8_ENCODER 618 #if CONFIG_VP8_ENCODER
619 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3; 619 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3;
620 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( 620 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values(
621 make_tuple(16, 16, sad_16x16_sse3))); 621 make_tuple(16, 16, sad_16x16_sse3)));
622 #endif // CONFIG_VP8_ENCODER 622 #endif // CONFIG_VP8_ENCODER
623 #endif // CONFIG_USE_X86INC 623 #endif // CONFIG_USE_X86INC
624 #endif // HAVE_SSSE3 624 #endif // HAVE_SSSE3
625 625
626 #if HAVE_AVX2 626 #if HAVE_AVX2
627 #if CONFIG_VP9_ENCODER 627 #if CONFIG_VP9_ENCODER
628 const SadMxNVp9Func sad_64x64_avx2_vp9 = vp9_sad64x64_avx2;
629 const SadMxNVp9Func sad_64x32_avx2_vp9 = vp9_sad64x32_avx2;
630 const SadMxNVp9Func sad_32x64_avx2_vp9 = vp9_sad32x64_avx2;
631 const SadMxNVp9Func sad_32x32_avx2_vp9 = vp9_sad32x32_avx2;
632 const SadMxNVp9Func sad_32x16_avx2_vp9 = vp9_sad32x16_avx2;
633 const SadMxNVp9Param avx2_vp9_tests[] = {
634 make_tuple(64, 64, sad_64x64_avx2_vp9),
635 make_tuple(64, 32, sad_64x32_avx2_vp9),
636 make_tuple(32, 64, sad_32x64_avx2_vp9),
637 make_tuple(32, 32, sad_32x32_avx2_vp9),
638 make_tuple(32, 16, sad_32x16_avx2_vp9),
639 };
640 INSTANTIATE_TEST_CASE_P(AVX2, SADVP9Test, ::testing::ValuesIn(avx2_vp9_tests));
641
628 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2; 642 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2;
629 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2; 643 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2;
630 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values( 644 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values(
631 make_tuple(32, 32, sad_32x32x4d_avx2), 645 make_tuple(32, 32, sad_32x32x4d_avx2),
632 make_tuple(64, 64, sad_64x64x4d_avx2))); 646 make_tuple(64, 64, sad_64x64x4d_avx2)));
633 #endif // CONFIG_VP9_ENCODER 647 #endif // CONFIG_VP9_ENCODER
634 #endif // HAVE_AVX2 648 #endif // HAVE_AVX2
635 649
636 } // namespace 650 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/partial_idct_test.cc ('k') | source/libvpx/test/svc_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698