| 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 #include <math.h> | 11 #include <math.h> |
| 12 #include <stdlib.h> | 12 #include <stdlib.h> |
| 13 #include <string.h> | 13 #include <string.h> |
| 14 #include "test/acm_random.h" | 14 #include "test/acm_random.h" |
| 15 #include "test/util.h" | 15 #include "test/util.h" |
| 16 #include "third_party/googletest/src/include/gtest/gtest.h" | 16 #include "third_party/googletest/src/include/gtest/gtest.h" |
| 17 extern "C" { | 17 extern "C" { |
| 18 #include "./vpx_config.h" | 18 #include "./vpx_config.h" |
| 19 #include "./vpx_rtcd.h" | 19 #include "./vp8_rtcd.h" |
| 20 #include "vpx/vpx_integer.h" | 20 #include "vpx/vpx_integer.h" |
| 21 #include "vpx_mem/vpx_mem.h" | 21 #include "vpx_mem/vpx_mem.h" |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| 25 | 25 |
| 26 typedef void (*sixtap_predict_fn_t)(uint8_t *src_ptr, | 26 typedef void (*sixtap_predict_fn_t)(uint8_t *src_ptr, |
| 27 int src_pixels_per_line, | 27 int src_pixels_per_line, |
| 28 int xoffset, | 28 int xoffset, |
| 29 int yoffset, | 29 int yoffset, |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 const sixtap_predict_fn_t sixtap_8x4_ssse3 = vp8_sixtap_predict8x4_ssse3; | 213 const sixtap_predict_fn_t sixtap_8x4_ssse3 = vp8_sixtap_predict8x4_ssse3; |
| 214 const sixtap_predict_fn_t sixtap_4x4_ssse3 = vp8_sixtap_predict4x4_ssse3; | 214 const sixtap_predict_fn_t sixtap_4x4_ssse3 = vp8_sixtap_predict4x4_ssse3; |
| 215 INSTANTIATE_TEST_CASE_P( | 215 INSTANTIATE_TEST_CASE_P( |
| 216 SSSE3, SixtapPredictTest, ::testing::Values( | 216 SSSE3, SixtapPredictTest, ::testing::Values( |
| 217 make_tuple(16, 16, sixtap_16x16_ssse3), | 217 make_tuple(16, 16, sixtap_16x16_ssse3), |
| 218 make_tuple(8, 8, sixtap_8x8_ssse3), | 218 make_tuple(8, 8, sixtap_8x8_ssse3), |
| 219 make_tuple(8, 4, sixtap_8x4_ssse3), | 219 make_tuple(8, 4, sixtap_8x4_ssse3), |
| 220 make_tuple(4, 4, sixtap_4x4_ssse3))); | 220 make_tuple(4, 4, sixtap_4x4_ssse3))); |
| 221 #endif | 221 #endif |
| 222 } // namespace | 222 } // namespace |
| OLD | NEW |