[opus] NEON detection under iOs

Victor Cherepanov victor.v.cherepanov at gmail.com
Thu May 24 18:37:15 UTC 2018


Thank you for a great work. Opus codec works great under many platforms.
I have found a small performance issue under iOS platform.
If the macro OPUS_HAVE_RTCD is not set, then encoder doesn't use some _neon
functions at low bitrates (up to 64k). If the macro is set, then the
compiler hits the error at opus/celt/arm/armcpu.c:153 (a function for
detection missed). Being compared to Android version performance
degradation is ~30%.
Detection NEON under iOS is a bit tricky, because there is no API for it. I
added compiler-time detection.
I made a commit into github repository. Attached please find patch for it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20180524/bd43f469/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0369-Detection-of-ARM-NEON-for-Apple-platform.patch
Type: application/octet-stream
Size: 925 bytes
Desc: not available
URL: <http://lists.xiph.org/pipermail/opus/attachments/20180524/bd43f469/attachment-0001.obj>

More information about the opus mailing list