Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016, Alliance for Open Media. All rights reserved |
| 3 | * |
| 4 | * This source code is subject to the terms of the BSD 2 Clause License and |
| 5 | * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
| 6 | * was not distributed with this source code in the LICENSE file, you can |
| 7 | * obtain it at www.aomedia.org/license/software. If the Alliance for Open |
| 8 | * Media Patent License 1.0 was not distributed with this source code in the |
| 9 | * PATENTS file, you can obtain it at www.aomedia.org/license/patent. |
| 10 | */ |
| 11 | |
Steinar Midtskogen | c38afed | 2016-10-18 08:04:28 +0200 | [diff] [blame] | 12 | #ifndef AOM_DSP_AOM_AOM_SIMD_H_ |
| 13 | #define AOM_DSP_AOM_AOM_SIMD_H_ |
Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 14 | |
| 15 | #include <stdint.h> |
| 16 | |
| 17 | #if defined(_WIN32) |
| 18 | #include <intrin.h> |
| 19 | #endif |
| 20 | |
| 21 | #include "./aom_config.h" |
Steinar Midtskogen | c38afed | 2016-10-18 08:04:28 +0200 | [diff] [blame] | 22 | #include "./aom_simd_inline.h" |
Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 23 | |
| 24 | #if HAVE_NEON |
Steinar Midtskogen | 045d413 | 2016-10-18 12:20:05 +0200 | [diff] [blame] | 25 | #include "simd/v256_intrinsics_arm.h" |
Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 26 | #elif HAVE_SSE2 |
Steinar Midtskogen | 045d413 | 2016-10-18 12:20:05 +0200 | [diff] [blame] | 27 | #include "simd/v256_intrinsics_x86.h" |
Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 28 | #else |
Steinar Midtskogen | 045d413 | 2016-10-18 12:20:05 +0200 | [diff] [blame] | 29 | #include "simd/v256_intrinsics.h" |
Steinar Midtskogen | a5f8ea1 | 2016-08-03 13:17:33 +0200 | [diff] [blame] | 30 | #endif |
| 31 | |
Steinar Midtskogen | c38afed | 2016-10-18 08:04:28 +0200 | [diff] [blame] | 32 | #endif // AOM_DSP_AOM_AOM_SIMD_H_ |