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

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

Issue 478033002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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/cq_test.cc ('k') | source/libvpx/test/decode_api_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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 2), 599 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 2),
600 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3))); 600 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3)));
601 #endif 601 #endif
602 602
603 #if HAVE_SSSE3 603 #if HAVE_SSSE3
604 INSTANTIATE_TEST_CASE_P( 604 INSTANTIATE_TEST_CASE_P(
605 SSSE3, Trans16x16DCT, 605 SSSE3, Trans16x16DCT,
606 ::testing::Values( 606 ::testing::Values(
607 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0))); 607 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0)));
608 #endif 608 #endif
609
610 #if HAVE_AVX2
611 // TODO(jzern): these prototypes can be removed after the avx2 versions are
612 // reenabled in vp9_rtcd_defs.pl.
613 extern "C" {
614 void vp9_fdct16x16_avx2(const int16_t *input, int16_t *output, int stride);
615 void vp9_fht16x16_avx2(const int16_t *input, int16_t *output, int stride,
616 int tx_type);
617 }
618 INSTANTIATE_TEST_CASE_P(
619 DISABLED_AVX2, Trans16x16DCT,
620 ::testing::Values(
621 make_tuple(&vp9_fdct16x16_avx2,
622 &vp9_idct16x16_256_add_c, 0)));
623 INSTANTIATE_TEST_CASE_P(
624 AVX2, Trans16x16HT,
625 ::testing::Values(
626 make_tuple(&vp9_fht16x16_avx2, &vp9_iht16x16_256_add_c, 3)));
627 INSTANTIATE_TEST_CASE_P(
628 DISABLED_AVX2, Trans16x16HT,
629 ::testing::Values(
630 make_tuple(&vp9_fht16x16_avx2, &vp9_iht16x16_256_add_c, 0),
631 make_tuple(&vp9_fht16x16_avx2, &vp9_iht16x16_256_add_c, 1),
632 make_tuple(&vp9_fht16x16_avx2, &vp9_iht16x16_256_add_c, 2)));
633 #endif
634 } // namespace 609 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/cq_test.cc ('k') | source/libvpx/test/decode_api_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698