Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libjpeg-turbo
/
cf775bf78906dfab3423ae554218b6be6a4f269a
/
turbojpeg-jni.c
efe28ce
Compiler warnings
by DRC
· 13 years ago
06420c4
Oops. Don't try to use custom filter at the C level unless it is defined at the Java level.
by DRC
· 13 years ago
f546711
Implement custom filter callback in Java
by DRC
· 13 years ago
9b49f0e
Re-work TJBUFSIZE() to take into account the level of chrominance subsampling
by DRC
· 13 years ago
4db92ad
Need to set TJFLAG_NOREALLOC for tjTransform()
by DRC
· 13 years ago
25b995a
Clean up constants so that flags, pixel formats, etc. are clearly differentiated; Update documentation accordingly; Name the enums to make it easier to reference them in the docs and clean up the references accordingly; Set Doxygen option to force a detailed description for the constants to always be generated
by DRC
· 13 years ago
9b28def
Completely refactored the TurboJPEG C API so that it uses pixel formats instead of the clunky pixel size + flags combination to define the pixel size and component order. tjCompress2() and tjTransform() can also now grow the JPEG buffer as needed, which can allow programs to save memory by not pre-allocating the "worst-case" buffer size calculated by TJBUFSIZE(). Converted API documentation to Doxygen. There is no legacy code remaining, so the refactored version of the library has been re-licensed under a BSD-style license.
by DRC
· 13 years ago
b2f9415
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
by DRC
· 13 years ago
92549de
Java code cleanup + Java docs
by DRC
· 13 years ago
23da0c0
On Windows, long is 32-bit, so use jlong instead
by DRC
· 13 years ago
e857301
Implement lossless cropping interface in Java
by DRC
· 13 years ago
e6ab539
Fix compiler warnings in Visual C++
by DRC
· 14 years ago
6acf52b
Perform size checks on arrays
by DRC
· 14 years ago
109a578
tjGetScaledSize() would never be able to accommodate scaling factors > 1, so replace it with a function that returns a list of fractional scaling factors that TurboJPEG supports.
by DRC
· 14 years ago
1a3dbe6
Unused variables
by DRC
· 14 years ago
1b1e886
"tjScaledSize"="tjGetScaledSize"
by DRC
· 14 years ago
4f1580c
Implement YUV encode/decode methods at the Java level; Remove some of the arguments from the Java API and replace with get/set methods; General API cleanup; Fix BufferedImage grayscale tests in TJUnitTest
by DRC
· 14 years ago
84a1bcc
Support for compressing from/decompressing to a BufferedImage in the Java wrapper
by DRC
· 14 years ago
3bad53f
More JNI cleanup + added unit test and fixed bugs uncovered by it
by DRC
· 14 years ago
36336fc
Streamline Java wrapper
by DRC
· 14 years ago
b28fc57
Make the scaling API a bit more friendly
by DRC
· 14 years ago
e1303ef
Expose TurboJPEG scaling features in Java wrapper
by DRC
· 14 years ago
c5a4199
Restructure Java classes into their own package
by DRC
· 14 years ago
2413cb8
Use Java capitalization conventions
by DRC
· 14 years ago
9af1aed
Eliminate compiler warnings in Sun Studio
by DRC
· 14 years ago
5ccb982
JNI interface changed for TJ class, since it only has static methods now
by DRC
· 14 years ago
f8e0055
Add JNI wrapper for TurboJPEG/OSS
by DRC
· 14 years ago