Slight refactor to put ScalingFactor into its own class (mainly because the $ in the class name was wreaking havoc on the build scripts, but also to add a few convenience methods to it) and to create a separate loader class so we can provide a .jar file with the MinGW distribution that loads the correct DLL

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@557 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-04-02 02:09:03 +00:00
parent 86e51f2268
commit b2f9415a63
30 changed files with 504 additions and 243 deletions

View File

@@ -151,7 +151,7 @@ public class TJTransformer extends TJDecompressor {
TJTransform[] transforms, int flags) throws Exception;
static {
System.loadLibrary("turbojpeg");
TJLoader.load();
}
private int[] transformedSizes = null;