| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 const sixtap_predict_fn_t sixtap_16x16_c = vp8_sixtap_predict16x16_c; | 186 const sixtap_predict_fn_t sixtap_16x16_c = vp8_sixtap_predict16x16_c; |
| 187 const sixtap_predict_fn_t sixtap_8x8_c = vp8_sixtap_predict8x8_c; | 187 const sixtap_predict_fn_t sixtap_8x8_c = vp8_sixtap_predict8x8_c; |
| 188 const sixtap_predict_fn_t sixtap_8x4_c = vp8_sixtap_predict8x4_c; | 188 const sixtap_predict_fn_t sixtap_8x4_c = vp8_sixtap_predict8x4_c; |
| 189 const sixtap_predict_fn_t sixtap_4x4_c = vp8_sixtap_predict4x4_c; | 189 const sixtap_predict_fn_t sixtap_4x4_c = vp8_sixtap_predict4x4_c; |
| 190 INSTANTIATE_TEST_CASE_P( | 190 INSTANTIATE_TEST_CASE_P( |
| 191 C, SixtapPredictTest, ::testing::Values( | 191 C, SixtapPredictTest, ::testing::Values( |
| 192 make_tuple(16, 16, sixtap_16x16_c), | 192 make_tuple(16, 16, sixtap_16x16_c), |
| 193 make_tuple(8, 8, sixtap_8x8_c), | 193 make_tuple(8, 8, sixtap_8x8_c), |
| 194 make_tuple(8, 4, sixtap_8x4_c), | 194 make_tuple(8, 4, sixtap_8x4_c), |
| 195 make_tuple(4, 4, sixtap_4x4_c))); | 195 make_tuple(4, 4, sixtap_4x4_c))); |
| 196 #if HAVE_NEON |
| 197 const sixtap_predict_fn_t sixtap_16x16_neon = vp8_sixtap_predict16x16_neon; |
| 198 const sixtap_predict_fn_t sixtap_8x8_neon = vp8_sixtap_predict8x8_neon; |
| 199 const sixtap_predict_fn_t sixtap_8x4_neon = vp8_sixtap_predict8x4_neon; |
| 200 INSTANTIATE_TEST_CASE_P( |
| 201 NEON, SixtapPredictTest, ::testing::Values( |
| 202 make_tuple(16, 16, sixtap_16x16_neon), |
| 203 make_tuple(8, 8, sixtap_8x8_neon), |
| 204 make_tuple(8, 4, sixtap_8x4_neon))); |
| 205 #endif |
| 196 #if HAVE_MMX | 206 #if HAVE_MMX |
| 197 const sixtap_predict_fn_t sixtap_16x16_mmx = vp8_sixtap_predict16x16_mmx; | 207 const sixtap_predict_fn_t sixtap_16x16_mmx = vp8_sixtap_predict16x16_mmx; |
| 198 const sixtap_predict_fn_t sixtap_8x8_mmx = vp8_sixtap_predict8x8_mmx; | 208 const sixtap_predict_fn_t sixtap_8x8_mmx = vp8_sixtap_predict8x8_mmx; |
| 199 const sixtap_predict_fn_t sixtap_8x4_mmx = vp8_sixtap_predict8x4_mmx; | 209 const sixtap_predict_fn_t sixtap_8x4_mmx = vp8_sixtap_predict8x4_mmx; |
| 200 const sixtap_predict_fn_t sixtap_4x4_mmx = vp8_sixtap_predict4x4_mmx; | 210 const sixtap_predict_fn_t sixtap_4x4_mmx = vp8_sixtap_predict4x4_mmx; |
| 201 INSTANTIATE_TEST_CASE_P( | 211 INSTANTIATE_TEST_CASE_P( |
| 202 MMX, SixtapPredictTest, ::testing::Values( | 212 MMX, SixtapPredictTest, ::testing::Values( |
| 203 make_tuple(16, 16, sixtap_16x16_mmx), | 213 make_tuple(16, 16, sixtap_16x16_mmx), |
| 204 make_tuple(8, 8, sixtap_8x8_mmx), | 214 make_tuple(8, 8, sixtap_8x8_mmx), |
| 205 make_tuple(8, 4, sixtap_8x4_mmx), | 215 make_tuple(8, 4, sixtap_8x4_mmx), |
| (...skipping 15 matching lines...) Expand all Loading... |
| 221 const sixtap_predict_fn_t sixtap_8x4_ssse3 = vp8_sixtap_predict8x4_ssse3; | 231 const sixtap_predict_fn_t sixtap_8x4_ssse3 = vp8_sixtap_predict8x4_ssse3; |
| 222 const sixtap_predict_fn_t sixtap_4x4_ssse3 = vp8_sixtap_predict4x4_ssse3; | 232 const sixtap_predict_fn_t sixtap_4x4_ssse3 = vp8_sixtap_predict4x4_ssse3; |
| 223 INSTANTIATE_TEST_CASE_P( | 233 INSTANTIATE_TEST_CASE_P( |
| 224 SSSE3, SixtapPredictTest, ::testing::Values( | 234 SSSE3, SixtapPredictTest, ::testing::Values( |
| 225 make_tuple(16, 16, sixtap_16x16_ssse3), | 235 make_tuple(16, 16, sixtap_16x16_ssse3), |
| 226 make_tuple(8, 8, sixtap_8x8_ssse3), | 236 make_tuple(8, 8, sixtap_8x8_ssse3), |
| 227 make_tuple(8, 4, sixtap_8x4_ssse3), | 237 make_tuple(8, 4, sixtap_8x4_ssse3), |
| 228 make_tuple(4, 4, sixtap_4x4_ssse3))); | 238 make_tuple(4, 4, sixtap_4x4_ssse3))); |
| 229 #endif | 239 #endif |
| 230 } // namespace | 240 } // namespace |
| OLD | NEW |