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

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

Issue 897063002: Revert "libvpx: Pull from upstream" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « source/libvpx/test/resize_test.cc ('k') | source/libvpx/test/test.mk » ('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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 #if HAVE_SSSE3 1227 #if HAVE_SSSE3
1228 #if CONFIG_USE_X86INC 1228 #if CONFIG_USE_X86INC
1229 #if CONFIG_VP8_ENCODER 1229 #if CONFIG_VP8_ENCODER
1230 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3; 1230 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3;
1231 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( 1231 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values(
1232 make_tuple(16, 16, sad_16x16_sse3, -1))); 1232 make_tuple(16, 16, sad_16x16_sse3, -1)));
1233 #endif // CONFIG_VP8_ENCODER 1233 #endif // CONFIG_VP8_ENCODER
1234 #endif // CONFIG_USE_X86INC 1234 #endif // CONFIG_USE_X86INC
1235 #endif // HAVE_SSSE3 1235 #endif // HAVE_SSSE3
1236 1236
1237 #if HAVE_AVX2
1237 #if CONFIG_VP9_ENCODER 1238 #if CONFIG_VP9_ENCODER
1238 #if HAVE_AVX2
1239 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2; 1239 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2;
1240 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2; 1240 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2;
1241 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values( 1241 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values(
1242 make_tuple(32, 32, sad_32x32x4d_avx2, -1), 1242 make_tuple(32, 32, sad_32x32x4d_avx2, -1),
1243 make_tuple(64, 64, sad_64x64x4d_avx2, -1))); 1243 make_tuple(64, 64, sad_64x64x4d_avx2, -1)));
1244 #endif // CONFIG_VP9_ENCODER
1244 #endif // HAVE_AVX2 1245 #endif // HAVE_AVX2
1245 1246
1246 #if HAVE_NEON
1247 const SadMxNx4Func sad_16x16x4d_neon = vp9_sad16x16x4d_neon;
1248 const SadMxNx4Func sad_32x32x4d_neon = vp9_sad32x32x4d_neon;
1249 const SadMxNx4Func sad_64x64x4d_neon = vp9_sad64x64x4d_neon;
1250 INSTANTIATE_TEST_CASE_P(NEON, SADx4Test, ::testing::Values(
1251 make_tuple(16, 16, sad_16x16x4d_neon, -1),
1252 make_tuple(32, 32, sad_32x32x4d_neon, -1),
1253 make_tuple(64, 64, sad_64x64x4d_neon, -1)));
1254 #endif // HAVE_NEON
1255 #endif // CONFIG_VP9_ENCODER
1256
1257 } // namespace 1247 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/resize_test.cc ('k') | source/libvpx/test/test.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698