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 |
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 #if HAVE_SSSE3 | 1227 #if HAVE_SSSE3 |
1228 #if CONFIG_USE_X86INC | 1228 #if CONFIG_USE_X86INC |
1229 #if CONFIG_VP8_ENCODER | 1229 #if CONFIG_VP8_ENCODER |
1230 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3; | 1230 const SadMxNFunc sad_16x16_sse3 = vp8_sad16x16_sse3; |
1231 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( | 1231 INSTANTIATE_TEST_CASE_P(SSE3, SADTest, ::testing::Values( |
1232 make_tuple(16, 16, sad_16x16_sse3, -1))); | 1232 make_tuple(16, 16, sad_16x16_sse3, -1))); |
1233 #endif // CONFIG_VP8_ENCODER | 1233 #endif // CONFIG_VP8_ENCODER |
1234 #endif // CONFIG_USE_X86INC | 1234 #endif // CONFIG_USE_X86INC |
1235 #endif // HAVE_SSSE3 | 1235 #endif // HAVE_SSSE3 |
1236 | 1236 |
| 1237 #if CONFIG_VP9_ENCODER |
1237 #if HAVE_AVX2 | 1238 #if HAVE_AVX2 |
1238 #if CONFIG_VP9_ENCODER | |
1239 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2; | 1239 const SadMxNx4Func sad_64x64x4d_avx2 = vp9_sad64x64x4d_avx2; |
1240 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2; | 1240 const SadMxNx4Func sad_32x32x4d_avx2 = vp9_sad32x32x4d_avx2; |
1241 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values( | 1241 INSTANTIATE_TEST_CASE_P(AVX2, SADx4Test, ::testing::Values( |
1242 make_tuple(32, 32, sad_32x32x4d_avx2, -1), | 1242 make_tuple(32, 32, sad_32x32x4d_avx2, -1), |
1243 make_tuple(64, 64, sad_64x64x4d_avx2, -1))); | 1243 make_tuple(64, 64, sad_64x64x4d_avx2, -1))); |
1244 #endif // CONFIG_VP9_ENCODER | |
1245 #endif // HAVE_AVX2 | 1244 #endif // HAVE_AVX2 |
1246 | 1245 |
| 1246 #if HAVE_NEON |
| 1247 const SadMxNx4Func sad_16x16x4d_neon = vp9_sad16x16x4d_neon; |
| 1248 const SadMxNx4Func sad_32x32x4d_neon = vp9_sad32x32x4d_neon; |
| 1249 const SadMxNx4Func sad_64x64x4d_neon = vp9_sad64x64x4d_neon; |
| 1250 INSTANTIATE_TEST_CASE_P(NEON, SADx4Test, ::testing::Values( |
| 1251 make_tuple(16, 16, sad_16x16x4d_neon, -1), |
| 1252 make_tuple(32, 32, sad_32x32x4d_neon, -1), |
| 1253 make_tuple(64, 64, sad_64x64x4d_neon, -1))); |
| 1254 #endif // HAVE_NEON |
| 1255 #endif // CONFIG_VP9_ENCODER |
| 1256 |
1247 } // namespace | 1257 } // namespace |
OLD | NEW |