| 1 | // Copyright (c) 2019-2020, The rav1e contributors. All rights reserved |
| 2 | // |
| 3 | // This source code is subject to the terms of the BSD 2 Clause License and |
| 4 | // the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
| 5 | // was not distributed with this source code in the LICENSE file, you can |
| 6 | // obtain it at www.aomedia.org/license/software. If the Alliance for Open |
| 7 | // Media Patent License 1.0 was not distributed with this source code in the |
| 8 | // PATENTS file, you can obtain it at www.aomedia.org/license/patent. |
| 9 | |
| 10 | cfg_if::cfg_if! { |
| 11 | if #[cfg(nasm_x86_64)] { |
| 12 | #[macro_use] |
| 13 | mod x86; |
| 14 | pub use x86::*; |
| 15 | } else if #[cfg(asm_neon)] { |
| 16 | #[macro_use] |
| 17 | mod aarch64; |
| 18 | pub use aarch64::*; |
| 19 | } else { |
| 20 | mod rust; |
| 21 | pub use rust::*; |
| 22 | } |
| 23 | } |
| 24 | |