occulus
occulus

Reputation: 17012

Integration or build instructions for libjpeg-turbo on Android

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?

Upvotes: 6

Views: 4032

Answers (4)

Roberto Andrade
Roberto Andrade

Reputation: 1853

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.

Upvotes: 0

Tom Gall
Tom Gall

Reputation: 141

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)

Upvotes: 9

occulus
occulus

Reputation: 17012

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

Also found this info:

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

Upvotes: 1

Mārtiņš Možeiko
Mārtiņš Možeiko

Reputation: 12927

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

Upvotes: 0

Related Questions