<div dir="ltr">Hi,<div><br></div><div style>How can I get FFmpeg to detect and use ARM Neon code at runtime? </div><div style><br></div><div style>Problem:</div><div style><br></div><div style>If I compile with -mfpu=neon then FFmpeg blows up with SIGILL (ILLOPTPC) when run on a non-Neon CPU. </div>
<div style>If I compile with -mfpu=vfvp3 then FFmpeg runs fine, but presumably without the optimized code because this is what I currently have and I am getting performance complaints...</div><div style><br></div><div style>
<br></div><div style><br></div><div style>Would it be possible for FFmpeg to detect Neon at runtime? This is for Android and the Android NDK does includes a demo project that shows how to do CPU feature detection at runtime... that's the easy bit. I don't know how or where to begin updating FFmpeg to use it.</div>
<div style><br></div><div style><br></div><div style>Thanks,</div><div style><br></div><div style><br></div><div style>Reuben</div><div style><br></div>







</div>