DRC
|
00696236df
|
Windows doesn't have setenv(). Go, go Gadget Macros.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1380 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-22 15:39:32 +00:00 |
|
DRC
|
04962caf3a
|
Add a set of undocumented environment variables and Java system properties that allow compression features of libjpeg that are not normally exposed in the TurboJPEG API to be enabled. These features are not normally exposed because, for the most part, they aren't "turbo" features, but it is still useful to be able to benchmark them without modifying the code.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1376 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-22 13:43:33 +00:00 |
|
DRC
|
ce6f3d8cd2
|
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
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1360 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-17 12:23:49 +00:00 |
|
DRC
|
804440b2e1
|
Make the wrapped functions static
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1359 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 16:40:56 +00:00 |
|
DRC
|
608dfddd22
|
Whitespace formatting tweaks
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1355 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 16:08:12 +00:00 |
|
DRC
|
370aaa61fd
|
Add descriptions to help sort out which function goes with which version of the API.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1354 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 16:07:15 +00:00 |
|
DRC
|
b83bfa68a9
|
Compiler warnings
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1350 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 14:40:05 +00:00 |
|
DRC
|
7def1fcf5b
|
Restore backward compatibility between libjpeg-turbo 1.3.x JAR and the new JNI library
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1349 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 14:01:21 +00:00 |
|
DRC
|
91c739f541
|
Allow the int pixel versions of the various TurboJPEG JNI functions to share the same code as the byte pixel versions.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1348 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-15 13:18:58 +00:00 |
|
DRC
|
e9ccb2ff22
|
Clean up exception handling in the JNI code. The exception is actually not thrown until the function exits, so we can let the code fall through to bailout: if the TurboJPEG C function fails. Also, per the JNI spec, no other JNI functions can be called between GetPrimitiveArrayCritical() and ReleasePrimitiveArrayCritical(). This hasn't caused any problems thus far, but better safe than sorry.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1346 632fc199-4ca6-4c93-a231-07263d6284db
|
2014-08-14 16:54:04 +00:00 |
|
DRC
|
0d25e86574
|
Remove trailing spaces (+ one additional tab in TJUnitTest.java that was missed in the previous commit)
|
2014-05-09 18:06:58 +00:00 |
|
DRC
|
9e9df11625
|
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
|
2014-03-16 22:56:26 +00:00 |
|
DRC
|
a7fa97cda5
|
Extend the TurboJPEG Java API to support compressing JPEG images from YUV planar images
|
2013-10-31 05:04:51 +00:00 |
|
DRC
|
0fb3247f9a
|
Add CMYK support to the TurboJPEG Java API & clean up a few things in the C API
|
2013-08-23 04:45:43 +00:00 |
|
DRC
|
4fcdeb795d
|
Extend the TurboJPEG Java API to support generating YUV images with arbitrary padding and to support image scaling when decompressing to YUV
|
2013-04-28 01:32:52 +00:00 |
|
DRC
|
7440604f2b
|
Correct misuse of the word "pitch" + more code formatting tweaks
|
2013-04-27 20:55:45 +00:00 |
|
DRC
|
1b9184db5b
|
Fix MinGW build and remove duplication of effort
|
2012-10-02 06:47:37 +00:00 |
|
DRC
|
70d3c1aeec
|
Add a Java version of TJBench and extend the TurboJPEG Java API to support it (this involved adding a polymorphic method in TJCompressor that accepts x and y offsets into a larger buffer, similar to the previous modification that had been done to TJDecompressor.)
|
2012-09-24 02:27:55 +00:00 |
|
DRC
|
b03457663d
|
Fix array size calculations
|
2012-06-07 09:38:57 +00:00 |
|
DRC
|
448d12d298
|
Add x, y parameters to TJDecompressor so that it can be used to decompress to an arbitrary position in the destination image (TurboVNC needs this.)
|
2012-06-06 08:41:06 +00:00 |
|
DRC
|
5bd7a89f6a
|
Compiler warnings
|
2012-01-17 11:48:38 +00:00 |
|
DRC
|
211ab00fc4
|
Oops. Don't try to use custom filter at the C level unless it is defined at the Java level.
|
2011-09-26 18:46:09 +00:00 |
|
DRC
|
f343d7332a
|
Implement custom filter callback in Java
|
2011-09-20 05:02:19 +00:00 |
|
DRC
|
489864aefa
|
Re-work TJBUFSIZE() to take into account the level of chrominance subsampling
|
2011-07-12 03:17:23 +00:00 |
|
DRC
|
cd39e3abc1
|
Need to set TJFLAG_NOREALLOC for tjTransform()
|
2011-05-25 04:52:25 +00:00 |
|
DRC
|
3ec2702bfc
|
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
|
2011-05-21 15:34:54 +00:00 |
|
DRC
|
aa92628cd4
|
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.
|
2011-05-21 14:37:15 +00:00 |
|
DRC
|
90a42bb4d2
|
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
|
2011-04-02 02:09:03 +00:00 |
|
DRC
|
22faf366c3
|
Java code cleanup + Java docs
|
2011-03-15 20:52:02 +00:00 |
|
DRC
|
d594af38e1
|
On Windows, long is 32-bit, so use jlong instead
|
2011-03-04 15:28:16 +00:00 |
|
DRC
|
89d167655e
|
Implement lossless cropping interface in Java
|
2011-03-04 10:13:59 +00:00 |
|
DRC
|
43f33a4d19
|
Fix compiler warnings in Visual C++
|
2011-03-02 01:30:38 +00:00 |
|
DRC
|
ef842c142c
|
Perform size checks on arrays
|
2011-03-02 01:09:20 +00:00 |
|
DRC
|
be085e08b3
|
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.
|
2011-03-01 09:53:07 +00:00 |
|
DRC
|
43577eacf9
|
Unused variables
|
2011-02-28 10:51:55 +00:00 |
|
DRC
|
02156d7c53
|
"tjScaledSize"="tjGetScaledSize"
|
2011-02-26 19:53:58 +00:00 |
|
DRC
|
8755a6805a
|
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
|
2011-02-25 06:11:03 +00:00 |
|
DRC
|
a311c1cd21
|
Support for compressing from/decompressing to a BufferedImage in the Java wrapper
|
2011-02-23 12:09:56 +00:00 |
|
DRC
|
4802041125
|
More JNI cleanup + added unit test and fixed bugs uncovered by it
|
2011-02-23 02:20:49 +00:00 |
|
DRC
|
1a9a4d13c7
|
Streamline Java wrapper
|
2011-02-22 10:27:31 +00:00 |
|
DRC
|
38218222cd
|
Make the scaling API a bit more friendly
|
2011-02-22 06:41:29 +00:00 |
|
DRC
|
a683760d1c
|
Expose TurboJPEG scaling features in Java wrapper
|
2011-02-16 03:26:48 +00:00 |
|
DRC
|
7404770855
|
Restructure Java classes into their own package
|
2011-02-08 06:54:36 +00:00 |
|
DRC
|
b56211da74
|
Use Java capitalization conventions
|
2011-02-08 02:11:37 +00:00 |
|
DRC
|
c20ba350ad
|
Eliminate compiler warnings in Sun Studio
|
2011-02-04 22:13:14 +00:00 |
|
DRC
|
5cc45fd6df
|
JNI interface changed for TJ class, since it only has static methods now
|
2011-02-04 11:22:15 +00:00 |
|
DRC
|
36adfee700
|
Add JNI wrapper for TurboJPEG/OSS
|
2011-02-04 11:06:36 +00:00 |
|