Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
Native Acceleration
In order to improve the computation speed of image processing applications, the JAI comes with both Java code and native code for many platforms. If the JVM finds the native code, then that will be used. If the native code is not available, the Java code will be used. Thus, the JAI package is able to provide optimized implementations for different platforms that can take advantage of each platform's capabilities. You can find the difference between the native implementation and the Java implementation for a particular application by simply removing the native code libraries. For instance, on a Solaris SPARC platform, they will be located in the Java home directly under jre/lib/sparc. You will know you are using only the Java ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access