I’m looking for a fast DSP library for Android. It looks as though using FFTW or some other native library with JNI may be my best option. I’ve used JTransforms, and it appears to be competitive with DSP libraries for x86 and other platforms, but it’s limited strictly to doing FFTs.
Acceptable answers include (and hopefully be backed up with something more than anecdotal evidence if possible):
- Confirm that a native solution with JNI is my best bet
- A suggestion for a fast Java non-JNI solution exists
- No good solution yet exists.
The target medium is image data.
I think you’re looking for Java libraries rather than just Android libraries. Most algorithms I programmed on Android were either pure Java or sometimes JNI. You don’t always notice the difference in performance between the two and it’s hard to put my finger on what exact cases JNI works faster in. I believe most java libraries (if they’re purely computational) should run just fine on an Android.