14

I'm a beginner in Android. My friend heard "Neon". So I did Google and found this

Referring it, Neon is related to multimedia for Android OS or all mobile OS, is it? Please share me more.

Sathyajith Bhat
  • 21,321
  • 22
  • 95
  • 134
soclose
  • 2,773
  • 12
  • 51
  • 60

3 Answers3

17

Neon is an ARM co-processor, meant for vector processing. Neon is used for multimedia data processing. It is an optional co-processor, the Android Linux kernel may or may not have support for this. (Eclair days)

However if Google provides any Android Application APIs to access Neon, then you can safely use it in your application.

Sathyajith Bhat
  • 21,321
  • 22
  • 95
  • 134
Shash316
  • 2,218
  • 18
  • 19
15

NEON is extremely powerful and easy to program. It doesn't solve performance issues, but simply eliminates them in most cases.

NEON intrinsics suck performance-wise, I suggest writing native codes for NEON.

  • Java : pistol
  • C/C++ : assault rifle
  • Assembly : machine gun
  • NEON : vulcan cannon, or A-10 tank killer

Honestly, I'm not exaggerating in any way. NEON is THAT powerful.

Jake 'Alquimista' LEE
  • 6,197
  • 2
  • 17
  • 25
0

There is an official usage example in the NDK source reproduced at: https://github.com/android/platform_development/tree/android-6.0.1_r16/ndk/samples/hello-neon

It is used from NDK, so the interesting files are the .c files under jni/.

You can build and install it with:

ndk-build
android update project -p . -t android-22
ant clean
ant debug
ant installd
Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985