OLD | NEW |
1 /* Copyright (c) 2010 Xiph.Org Foundation | 1 /* Copyright (c) 2010 Xiph.Org Foundation |
2 * Copyright (c) 2013 Parrot */ | 2 * Copyright (c) 2013 Parrot */ |
3 /* | 3 /* |
4 Redistribution and use in source and binary forms, with or without | 4 Redistribution and use in source and binary forms, with or without |
5 modification, are permitted provided that the following conditions | 5 modification, are permitted provided that the following conditions |
6 are met: | 6 are met: |
7 | 7 |
8 - Redistributions of source code must retain the above copyright | 8 - Redistributions of source code must retain the above copyright |
9 notice, this list of conditions and the following disclaimer. | 9 notice, this list of conditions and the following disclaimer. |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 opus_val32 celt_pitch_xcorr_edsp(const opus_val16 *_x, const opus_val16 *_y, | 45 opus_val32 celt_pitch_xcorr_edsp(const opus_val16 *_x, const opus_val16 *_y, |
46 opus_val32 *xcorr, int len, int max_pitch); | 46 opus_val32 *xcorr, int len, int max_pitch); |
47 # endif | 47 # endif |
48 | 48 |
49 # if !defined(OPUS_HAVE_RTCD) | 49 # if !defined(OPUS_HAVE_RTCD) |
50 # define OVERRIDE_PITCH_XCORR (1) | 50 # define OVERRIDE_PITCH_XCORR (1) |
51 # define celt_pitch_xcorr(_x, _y, xcorr, len, max_pitch, arch) \ | 51 # define celt_pitch_xcorr(_x, _y, xcorr, len, max_pitch, arch) \ |
52 ((void)(arch),PRESUME_NEON(celt_pitch_xcorr)(_x, _y, xcorr, len, max_pitch)) | 52 ((void)(arch),PRESUME_NEON(celt_pitch_xcorr)(_x, _y, xcorr, len, max_pitch)) |
53 # endif | 53 # endif |
54 | 54 |
55 # endif | 55 #else /* Start !FIXED_POINT */ |
| 56 /* Float case */ |
| 57 #if defined(OPUS_ARM_NEON_INTR) |
| 58 void celt_pitch_xcorr_float_neon(const opus_val16 *_x, const opus_val16 *_y, |
| 59 opus_val32 *xcorr, int len, int max_pitch); |
| 60 #if !defined(OPUS_HAVE_RTCD) |
| 61 #define OVERRIDE_PITCH_XCORR (1) |
| 62 # define celt_pitch_xcorr(_x, _y, xcorr, len, max_pitch, arch) \ |
| 63 ((void)(arch),celt_pitch_xcorr_float_neon(_x, _y, xcorr, len, max_pitch)) |
| 64 #endif |
| 65 #endif |
56 | 66 |
| 67 #endif /* end !FIXED_POINT */ |
57 #endif | 68 #endif |
OLD | NEW |