| OLD | NEW |
| 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 |
| 11 | 11 |
| 12 #include <string.h> | 12 #include <string.h> |
| 13 #include <limits.h> | 13 #include <limits.h> |
| 14 #include <stdio.h> | 14 #include <stdio.h> |
| 15 | 15 |
| 16 extern "C" { | 16 extern "C" { |
| 17 #include "./vpx_config.h" | 17 #include "./vpx_config.h" |
| 18 #include "./vpx_rtcd.h" | 18 #include "./vp8_rtcd.h" |
| 19 #include "vp8/common/blockd.h" | 19 #include "vp8/common/blockd.h" |
| 20 #include "vpx_mem/vpx_mem.h" | 20 #include "vpx_mem/vpx_mem.h" |
| 21 } | 21 } |
| 22 | 22 |
| 23 #include "test/acm_random.h" | 23 #include "test/acm_random.h" |
| 24 #include "test/util.h" | 24 #include "test/util.h" |
| 25 #include "third_party/googletest/src/include/gtest/gtest.h" | 25 #include "third_party/googletest/src/include/gtest/gtest.h" |
| 26 | 26 |
| 27 | 27 |
| 28 typedef unsigned int (*sad_m_by_n_fn_t)(const unsigned char *source_ptr, | 28 typedef unsigned int (*sad_m_by_n_fn_t)(const unsigned char *source_ptr, |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 make_tuple(8, 8, sad_8x8_wmt), | 241 make_tuple(8, 8, sad_8x8_wmt), |
| 242 make_tuple(4, 4, sad_4x4_wmt))); | 242 make_tuple(4, 4, sad_4x4_wmt))); |
| 243 #endif | 243 #endif |
| 244 #if HAVE_SSSE3 | 244 #if HAVE_SSSE3 |
| 245 const sad_m_by_n_fn_t sad_16x16_sse3 = vp8_sad16x16_sse3; | 245 const sad_m_by_n_fn_t sad_16x16_sse3 = vp8_sad16x16_sse3; |
| 246 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( | 246 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( |
| 247 make_tuple(16, 16, sad_16x16_sse3))); | 247 make_tuple(16, 16, sad_16x16_sse3))); |
| 248 #endif | 248 #endif |
| 249 | 249 |
| 250 } // namespace | 250 } // namespace |
| OLD | NEW |