| OLD | NEW | 
|---|
| 1 /* Copyright (c) 2015 Xiph.Org Foundation | 1 /* Copyright (c) 2015 Xiph.Org Foundation | 
| 2    Written by Viswanath Puttagunta */ | 2    Written by Viswanath Puttagunta */ | 
| 3 /** | 3 /** | 
| 4    @file fft_arm.h | 4    @file fft_arm.h | 
| 5    @brief ARM Neon Intrinsic optimizations for fft using NE10 library | 5    @brief ARM Neon Intrinsic optimizations for fft using NE10 library | 
| 6  */ | 6  */ | 
| 7 | 7 | 
| 8 /* | 8 /* | 
| 9    Redistribution and use in source and binary forms, with or without | 9    Redistribution and use in source and binary forms, with or without | 
| 10    modification, are permitted provided that the following conditions | 10    modification, are permitted provided that the following conditions | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | 27    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | 
| 28    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | 28    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | 
| 29    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 29    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 
| 30    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 30    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 31 */ | 31 */ | 
| 32 | 32 | 
| 33 | 33 | 
| 34 #if !defined(FFT_ARM_H) | 34 #if !defined(FFT_ARM_H) | 
| 35 #define FFT_ARM_H | 35 #define FFT_ARM_H | 
| 36 | 36 | 
| 37 #include "config.h" |  | 
| 38 #include "kiss_fft.h" | 37 #include "kiss_fft.h" | 
| 39 | 38 | 
| 40 #if defined(HAVE_ARM_NE10) | 39 #if defined(HAVE_ARM_NE10) | 
| 41 | 40 | 
| 42 int opus_fft_alloc_arm_neon(kiss_fft_state *st); | 41 int opus_fft_alloc_arm_neon(kiss_fft_state *st); | 
| 43 void opus_fft_free_arm_neon(kiss_fft_state *st); | 42 void opus_fft_free_arm_neon(kiss_fft_state *st); | 
| 44 | 43 | 
| 45 void opus_fft_neon(const kiss_fft_state *st, | 44 void opus_fft_neon(const kiss_fft_state *st, | 
| 46                    const kiss_fft_cpx *fin, | 45                    const kiss_fft_cpx *fin, | 
| 47                    kiss_fft_cpx *fout); | 46                    kiss_fft_cpx *fout); | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 63    ((void)(arch), opus_fft_neon(_st, _fin, _fout)) | 62    ((void)(arch), opus_fft_neon(_st, _fin, _fout)) | 
| 64 | 63 | 
| 65 #define opus_ifft(_st, _fin, _fout, arch) \ | 64 #define opus_ifft(_st, _fin, _fout, arch) \ | 
| 66    ((void)(arch), opus_ifft_neon(_st, _fin, _fout)) | 65    ((void)(arch), opus_ifft_neon(_st, _fin, _fout)) | 
| 67 | 66 | 
| 68 #endif /* OPUS_HAVE_RTCD */ | 67 #endif /* OPUS_HAVE_RTCD */ | 
| 69 | 68 | 
| 70 #endif /* HAVE_ARM_NE10 */ | 69 #endif /* HAVE_ARM_NE10 */ | 
| 71 | 70 | 
| 72 #endif | 71 #endif | 
| OLD | NEW | 
|---|