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

Side by Side Diff: source/libvpx/test/dct32x32_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 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 251 #if HAVE_NEON_ASM
252 INSTANTIATE_TEST_CASE_P( 252 INSTANTIATE_TEST_CASE_P(
253 NEON, Trans32x32Test, 253 NEON, Trans32x32Test,
254 ::testing::Values( 254 ::testing::Values(
255 make_tuple(&vp9_fdct32x32_c, 255 make_tuple(&vp9_fdct32x32_c,
256 &vp9_idct32x32_1024_add_neon, 0), 256 &vp9_idct32x32_1024_add_neon, 0),
257 make_tuple(&vp9_fdct32x32_rd_c, 257 make_tuple(&vp9_fdct32x32_rd_c,
258 &vp9_idct32x32_1024_add_neon, 1))); 258 &vp9_idct32x32_1024_add_neon, 1)));
259 #endif 259 #endif
260 260
261 #if HAVE_SSE2 261 #if HAVE_SSE2
262 INSTANTIATE_TEST_CASE_P( 262 INSTANTIATE_TEST_CASE_P(
263 SSE2, Trans32x32Test, 263 SSE2, Trans32x32Test,
264 ::testing::Values( 264 ::testing::Values(
265 make_tuple(&vp9_fdct32x32_sse2, 265 make_tuple(&vp9_fdct32x32_sse2,
266 &vp9_idct32x32_1024_add_sse2, 0), 266 &vp9_idct32x32_1024_add_sse2, 0),
267 make_tuple(&vp9_fdct32x32_rd_sse2, 267 make_tuple(&vp9_fdct32x32_rd_sse2,
268 &vp9_idct32x32_1024_add_sse2, 1))); 268 &vp9_idct32x32_1024_add_sse2, 1)));
269 #endif 269 #endif
270 270
271 #if HAVE_AVX2 271 #if HAVE_AVX2
272 INSTANTIATE_TEST_CASE_P( 272 INSTANTIATE_TEST_CASE_P(
273 AVX2, Trans32x32Test, 273 AVX2, Trans32x32Test,
274 ::testing::Values( 274 ::testing::Values(
275 make_tuple(&vp9_fdct32x32_avx2, 275 make_tuple(&vp9_fdct32x32_avx2,
276 &vp9_idct32x32_1024_add_sse2, 0), 276 &vp9_idct32x32_1024_add_sse2, 0),
277 make_tuple(&vp9_fdct32x32_rd_avx2, 277 make_tuple(&vp9_fdct32x32_rd_avx2,
278 &vp9_idct32x32_1024_add_sse2, 1))); 278 &vp9_idct32x32_1024_add_sse2, 1)));
279 #endif 279 #endif
280 } // namespace 280 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698