I am trying to use libjpeg-turbo with NEON enabled on odroid having linux environment.
I followed the instruction given in this http://cubieboard.blogspot.in/2013/02/raspbian-opencv-libjpeg-turbo.html post however didn't notice any change in image capture.(using libjpeg-turbo-1.5.1)
From this link https://github.com/praveenofpersia/Pandboard-ES/wiki/Building-OpenCV-2.4.x-with-full-hardware-optimization-for-the-Pandaboard-ES i came to the conclusion that NEON has to be explicitly enabled using cflags.
Thus i looked through BUILDING.md in libjpeg-turbo there are instructions which provide cflags to enable NEON:
IOS_CFLAGS="-march=armv7 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon".
However these are for ios not for linux.
So can anyone suggest me how to include flags to enable SIMD(NEON) in libjpeg-turbo in odroid with linux environment.