Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libjpeg-turbo
/
refs/heads/int/11/fp3
/
java
/
TJExample.java
3993b37
Update libjpeg-turbo to 2.0.0
by Leon Scroggins III
· 6 years ago
bd7903e
Update libjpeg-turbo to 1.5.3
by Leon Scroggins III
· 6 years ago
6eb7d37
libjpeg-turbo: Upgrade to 1.5.1
by Alex Naidis
· 8 years ago
40dd314
Refactored YUVImage Java class so that it supports both unified YUV image buffers as well as separate YUV image planes; modified the JNI functions accordingly and added new helper functions to the TurboJPEG C API (tjPlaneWidth(), tjPlaneHeight(), tjPlaneSizeYUV()) to facilitate those modifications; changed potentially confusing "component width" and "component height" terms to "plane width" and "plane height" and modified variable names in turbojpeg.c to reflect this; numerous other documentation tweaks
by DRC
· 10 years ago
fc26b65
Extend the YUV decode functionality to the TurboJPEG Java API, and port the TJUnitTest modifications that treat YUV encoding/decoding as an intermediate step of the JPEG compression/decompression pipeline rather than a separate test case; Add the ability to encode YUV images from an arbitrary position in a large image buffer; Significantly refactor the handling of YUV images; numerous doc tweaks; other Java API cleanup and usability improvements
by DRC
· 10 years ago
b148139
Streamline the BufferedImage functionality in the compressor so that it works the same way as compressing a "normal" image, and deprecate the old BufferedImage methods and other redundant methods. Eliminate the use of deprecated features in the test programs.
by DRC
· 10 years ago
67bee86
Code formatting tweaks
by DRC
· 11 years ago
98ca1c3
ImageIO.read() returns null if the input image type is not supported (which occurs when trying to read a PPM file), so output a friendly error instead of letting the next line throw a null pointer exception.
by DRC
· 11 years ago
73d74c1
Add flags to the TurboJPEG API that allow the caller to force the use of either the fast or the accurate DCT/IDCT algorithms in the underlying codec.
by DRC
· 12 years ago
f546711
Implement custom filter callback in Java
by DRC
· 13 years ago
b0428a7
Fix compiler warning
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
4f8c295
Clean up compiler warnings
by DRC
· 13 years ago
2c74e51
More Java API cleanup
by DRC
· 13 years ago
92549de
Java code cleanup + Java docs
by DRC
· 13 years ago
16c7077
Add an option to display the output image
by DRC
· 13 years ago
1da67e1
If a scaled-down JPEG output image is requested, we must decompress and recompress the transformed image.
by DRC
· 13 years ago
7d4b001
If transforming and outputting a JPEG file, output the transformed file directly instead of decompressing/recompressing it
by DRC
· 13 years ago
e857301
Implement lossless cropping interface in Java
by DRC
· 13 years ago
5528b55
Use new scaling API
by DRC
· 13 years ago
f7f3ea4
Use consistent formatting conventions
by DRC
· 13 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
· 13 years ago
0ad78a6
Add line feed
by DRC
· 13 years ago
026f7ce
Numerous enhancements, including using the new BufferedImage support to read/write non-JPEG files
by DRC
· 13 years ago
3bad53f
More JNI cleanup + added unit test and fixed bugs uncovered by it
by DRC
· 13 years ago
36336fc
Streamline Java wrapper
by DRC
· 13 years ago
b28fc57
Make the scaling API a bit more friendly
by DRC
· 13 years ago
e1303ef
Expose TurboJPEG scaling features in Java wrapper
by DRC
· 13 years ago
c5a4199
Restructure Java classes into their own package
by DRC
· 13 years ago
2413cb8
Use Java capitalization conventions
by DRC
· 13 years ago
[Renamed (87%) from java/tjexample.java]
f8e0055
Add JNI wrapper for TurboJPEG/OSS
by DRC
· 13 years ago