Question

Various pages can be found on the internet mentioning libjpeg-turbo for Android (example). They all point at the repository here, and say to read ANDROID.txt for build instructions. There's no such text file in the repository though. Is this repository the official place to go to get libjpeg-turbo for Android? If so, where are the build/integration instructions?

Was it helpful?

Solution 2

My bad, the file's in a branch in that repository.

Also found this info:

https://wiki.linaro.org/BenjaminGaignard/libjpeg-turboAndSkia

OTHER TIPS

I ported libjpeg-turbo for use in android a number of months back.

You can find the code here:

http://git.linaro.org/gitweb?p=people/tomgall/libjpeg-turbo/libjpeg-turbo.git;a=shortlog;h=refs/heads/android

Android.txt is there etc. Just moved out the external/jpeg directory and replace with this named exactly the same external/jpeg, it'll build and run fine.

Plan to push this into ASOP fairly soon. (I know cyanogenmod is also considering it currently)

Use Makefile.am file to see what files you need to compile and write that in your own Android.mk makefile.

Just found the following question and answers which seem pretty detailed on answering this. Actually trying it out right now as my use case is to embed this into an application and not recompile Android to use this instead of the built-in libjpeg.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top