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

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

Issue 23600008: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 3 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/test_vector_test.cc ('k') | source/libvpx/test/vp9_subtract_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 #include <stdlib.h> 10 #include <stdlib.h>
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 INSTANTIATE_TEST_CASE_P( 476 INSTANTIATE_TEST_CASE_P(
477 MMX, VP9VarianceTest, 477 MMX, VP9VarianceTest,
478 ::testing::Values(make_tuple(2, 2, variance4x4_mmx), 478 ::testing::Values(make_tuple(2, 2, variance4x4_mmx),
479 make_tuple(3, 3, variance8x8_mmx), 479 make_tuple(3, 3, variance8x8_mmx),
480 make_tuple(3, 4, variance8x16_mmx), 480 make_tuple(3, 4, variance8x16_mmx),
481 make_tuple(4, 3, variance16x8_mmx), 481 make_tuple(4, 3, variance16x8_mmx),
482 make_tuple(4, 4, variance16x16_mmx))); 482 make_tuple(4, 4, variance16x16_mmx)));
483 #endif 483 #endif
484 484
485 #if HAVE_SSE2 485 #if HAVE_SSE2
486 #if CONFIG_USE_X86INC
486 const vp9_variance_fn_t variance4x4_sse2 = vp9_variance4x4_sse2; 487 const vp9_variance_fn_t variance4x4_sse2 = vp9_variance4x4_sse2;
487 const vp9_variance_fn_t variance4x8_sse2 = vp9_variance4x8_sse2; 488 const vp9_variance_fn_t variance4x8_sse2 = vp9_variance4x8_sse2;
488 const vp9_variance_fn_t variance8x4_sse2 = vp9_variance8x4_sse2; 489 const vp9_variance_fn_t variance8x4_sse2 = vp9_variance8x4_sse2;
489 const vp9_variance_fn_t variance8x8_sse2 = vp9_variance8x8_sse2; 490 const vp9_variance_fn_t variance8x8_sse2 = vp9_variance8x8_sse2;
490 const vp9_variance_fn_t variance8x16_sse2 = vp9_variance8x16_sse2; 491 const vp9_variance_fn_t variance8x16_sse2 = vp9_variance8x16_sse2;
491 const vp9_variance_fn_t variance16x8_sse2 = vp9_variance16x8_sse2; 492 const vp9_variance_fn_t variance16x8_sse2 = vp9_variance16x8_sse2;
492 const vp9_variance_fn_t variance16x16_sse2 = vp9_variance16x16_sse2; 493 const vp9_variance_fn_t variance16x16_sse2 = vp9_variance16x16_sse2;
493 const vp9_variance_fn_t variance16x32_sse2 = vp9_variance16x32_sse2; 494 const vp9_variance_fn_t variance16x32_sse2 = vp9_variance16x32_sse2;
494 const vp9_variance_fn_t variance32x16_sse2 = vp9_variance32x16_sse2; 495 const vp9_variance_fn_t variance32x16_sse2 = vp9_variance32x16_sse2;
495 const vp9_variance_fn_t variance32x32_sse2 = vp9_variance32x32_sse2; 496 const vp9_variance_fn_t variance32x32_sse2 = vp9_variance32x32_sse2;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 make_tuple(3, 4, subpel_avg_variance8x16_sse2), 590 make_tuple(3, 4, subpel_avg_variance8x16_sse2),
590 make_tuple(4, 3, subpel_avg_variance16x8_sse2), 591 make_tuple(4, 3, subpel_avg_variance16x8_sse2),
591 make_tuple(4, 4, subpel_avg_variance16x16_sse2), 592 make_tuple(4, 4, subpel_avg_variance16x16_sse2),
592 make_tuple(4, 5, subpel_avg_variance16x32_sse2), 593 make_tuple(4, 5, subpel_avg_variance16x32_sse2),
593 make_tuple(5, 4, subpel_avg_variance32x16_sse2), 594 make_tuple(5, 4, subpel_avg_variance32x16_sse2),
594 make_tuple(5, 5, subpel_avg_variance32x32_sse2), 595 make_tuple(5, 5, subpel_avg_variance32x32_sse2),
595 make_tuple(5, 6, subpel_avg_variance32x64_sse2), 596 make_tuple(5, 6, subpel_avg_variance32x64_sse2),
596 make_tuple(6, 5, subpel_avg_variance64x32_sse2), 597 make_tuple(6, 5, subpel_avg_variance64x32_sse2),
597 make_tuple(6, 6, subpel_avg_variance64x64_sse2))); 598 make_tuple(6, 6, subpel_avg_variance64x64_sse2)));
598 #endif 599 #endif
600 #endif
599 601
600 #if HAVE_SSSE3 602 #if HAVE_SSSE3
603 #if CONFIG_USE_X86INC
604
601 const vp9_subpixvariance_fn_t subpel_variance4x4_ssse3 = 605 const vp9_subpixvariance_fn_t subpel_variance4x4_ssse3 =
602 vp9_sub_pixel_variance4x4_ssse3; 606 vp9_sub_pixel_variance4x4_ssse3;
603 const vp9_subpixvariance_fn_t subpel_variance4x8_ssse3 = 607 const vp9_subpixvariance_fn_t subpel_variance4x8_ssse3 =
604 vp9_sub_pixel_variance4x8_ssse3; 608 vp9_sub_pixel_variance4x8_ssse3;
605 const vp9_subpixvariance_fn_t subpel_variance8x4_ssse3 = 609 const vp9_subpixvariance_fn_t subpel_variance8x4_ssse3 =
606 vp9_sub_pixel_variance8x4_ssse3; 610 vp9_sub_pixel_variance8x4_ssse3;
607 const vp9_subpixvariance_fn_t subpel_variance8x8_ssse3 = 611 const vp9_subpixvariance_fn_t subpel_variance8x8_ssse3 =
608 vp9_sub_pixel_variance8x8_ssse3; 612 vp9_sub_pixel_variance8x8_ssse3;
609 const vp9_subpixvariance_fn_t subpel_variance8x16_ssse3 = 613 const vp9_subpixvariance_fn_t subpel_variance8x16_ssse3 =
610 vp9_sub_pixel_variance8x16_ssse3; 614 vp9_sub_pixel_variance8x16_ssse3;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 make_tuple(3, 4, subpel_avg_variance8x16_ssse3), 679 make_tuple(3, 4, subpel_avg_variance8x16_ssse3),
676 make_tuple(4, 3, subpel_avg_variance16x8_ssse3), 680 make_tuple(4, 3, subpel_avg_variance16x8_ssse3),
677 make_tuple(4, 4, subpel_avg_variance16x16_ssse3), 681 make_tuple(4, 4, subpel_avg_variance16x16_ssse3),
678 make_tuple(4, 5, subpel_avg_variance16x32_ssse3), 682 make_tuple(4, 5, subpel_avg_variance16x32_ssse3),
679 make_tuple(5, 4, subpel_avg_variance32x16_ssse3), 683 make_tuple(5, 4, subpel_avg_variance32x16_ssse3),
680 make_tuple(5, 5, subpel_avg_variance32x32_ssse3), 684 make_tuple(5, 5, subpel_avg_variance32x32_ssse3),
681 make_tuple(5, 6, subpel_avg_variance32x64_ssse3), 685 make_tuple(5, 6, subpel_avg_variance32x64_ssse3),
682 make_tuple(6, 5, subpel_avg_variance64x32_ssse3), 686 make_tuple(6, 5, subpel_avg_variance64x32_ssse3),
683 make_tuple(6, 6, subpel_avg_variance64x64_ssse3))); 687 make_tuple(6, 6, subpel_avg_variance64x64_ssse3)));
684 #endif 688 #endif
689 #endif
685 #endif // CONFIG_VP9_ENCODER 690 #endif // CONFIG_VP9_ENCODER
686 691
687 } // namespace vp9 692 } // namespace vp9
688 693
689 } // namespace 694 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/test_vector_test.cc ('k') | source/libvpx/test/vp9_subtract_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698