Kornel
d23e3fc586
Update release token
2020-09-29 11:41:33 +01:00
Kornel Lesiński
f1d512de2f
Make test output match turbojpeg tests
2020-09-29 11:41:14 +01:00
dofuuz
751ce7d9f3
Automate Windows build and deploy (with PNG support) ( #379 )
2020-09-29 11:40:16 +01:00
Kornel
ffea183e55
Response to the rumor mill
2020-09-29 10:32:19 +01:00
dofuuz
3fed7e016b
Add PNG support to cjpeg shared build
2020-09-20 23:11:41 +01:00
Kornel Lesiński
8fb32c0a39
Work around fussy zlib on macOS
2020-08-15 19:36:42 +01:00
Kornel Lesiński
b3e739028a
Merge libjpeg-turbo 2.0.5
...
* tag '2.0.5':
TurboJPEG: Make global error handling thread-safe
ChangeLog.md: Add missing sub-header for 2.0.5
ChangeLog.md: List CVE ID fixed by previous commit
rdppm.c: Fix buf overrun caused by bad binary PPM
Build: Add missing jpegtran-icc test dependency
rdswitch.c: Eliminate spaces before semicolons
TJCompressor.compress(int): Fix YUV-to-JPEG error
Bump version to 2.0.5; Document previous commit
MIPS DSPr2: Work around various 'make test' errors
MIPS DSPr2: Fix compiler warning with -mdspr2
MIPS SIMD: Always honor JSIMD_FORCE* env vars
Test: Honor CMAKE_CROSSCOMPILING_EMULATOR variable
2020-08-15 19:36:31 +01:00
Chan, Danny
6d95c51adf
Fix markdown format
2020-03-11 14:31:37 +00:00
NancyLi1013
5ea5482872
Add vcpkg installation instructions ( #353 )
...
* Add vcpkg installation instructions
2020-02-26 10:51:25 +00:00
Kornel Lesiński
1d2320994d
Merge remote-tracking branch 'turbo/master'
...
* turbo/master: (105 commits)
makemacpkg.in: Allow universal DMG w/o ARMv8 arch
Remove more unnecessary NULL checks before free()
Eliminate unnecessary NULL checks before tjFree()
Eliminate unnecessary NULL checks before free()
simd/arm64/jsimd_neon.S: Fix checkstyle issue
tjTransform(): Use instance err. for bad crop spec
README.md, package specs: Various tweaks
djpeg.c: Fix compiler warning w/o mem. src manager
ARMv8 SIMD: Support execute-only memory (XOM)
Travis: Use MacPorts instead of Homebrew
Huffman enc.: Fix very rare local buffer overrun
TurboJPEG: Fix erroneous subsampling detection
ChangeLog.md: List CVE IDs for specific fixes
tjDecompressToYUV*(): Fix OOB write/double free
64-bit tjbench: Fix signed int overflow/segfault
Fix copyright header formatting buglets
example.txt: Avoid undefined setjmp() behavior
Mac: Support hiding SIMD fct symbols w/ NASM 2.14+
TJBench: Fix output with -componly -quiet
Build: Don't require ASM_NASM if !REQUIRE_SIMD
...
2020-02-13 10:45:55 +00:00
Hugo Locurcio
bbb7550709
Improve grammar in cjpeg's -nojfif help message
2019-08-12 18:48:12 +01:00
Kornel
d48cfe591f
Disable PNG on Windows
2019-06-18 00:00:38 +01:00
Diego Sanchez
68564c0f9e
Adds extern "C" to transupp.h
2019-05-30 14:18:52 +02:00
Kornel
de4cbb5c21
Default to PNG enabled
2019-05-18 17:39:48 +01:00
Kornel
72473266b8
Fix appveyor link
2019-04-24 15:56:40 +01:00
Kornel
a5ad46b9f8
Change unsupported format message
...
To be sure it's not coming from the old cjpeg
2019-04-24 15:54:33 +01:00
Mozilla-GitHub-Standards
351d5d08fa
Add Mozilla Code of Conduct file
...
Fixes #330 .
_(Message COC002)_
2019-03-28 23:12:17 +00:00
Kornel
426de82d0c
Bump version
...
Due to CMake change
2019-03-15 12:49:56 +00:00
Leonard Hecker
f27167f20c
Fixed broken PNG_SUPPORTED flag ( #326 )
2019-02-13 19:42:25 +00:00
Kornel
a214094b37
Update README.md
2019-01-23 17:36:50 +00:00
Ewout ter Hoeven
83fcf7b9e9
Fix Appveyor configuration ( #323 )
...
* Fix cmake target and re-add msbuild
2019-01-23 17:24:30 +00:00
Kornel
8a885c5443
Update appveyor.yml
2019-01-23 17:18:04 +00:00
Ewout ter Hoeven
ae5c15eb59
Add continuous integration on Windows with AppVeyor ( #322 )
...
* Create appveyor.yml
2019-01-23 17:10:19 +00:00
Gary Zhang
254909fab5
fix issue #315 jddctmgr.c contains mixed declaration, which MSVC can't accept.
2018-11-30 10:19:05 +00:00
Kornel
fbef50bc8b
Removed broken link
2018-11-15 18:11:56 +00:00
Kornel
add6158e96
Merge pull request #275 from mozilla/idct-selector
...
Make IDCT method customizable
2018-11-15 16:05:51 +00:00
Kornel
65aaecd2d5
Link with libm
2018-11-15 15:17:17 +00:00
Kornel
cfb7138523
Update readme
2018-11-14 00:10:13 +00:00
Kornel
8217fd5478
Merge tag '2.0.0'
...
* tag '2.0.0': (160 commits)
Clarify Android Windows build instructions
Bump revision to 2.0.0
Build: Don't use @rpath with OS X 10.4 builds
Fix JPEG spec references per ISO/ITU-T suggestions
Fix int overflow when decompr. corrupt prog. JPEG
cjpeg: Fix OOB read caused by malformed 8-bit BMP
Build: Preserve CMake exe suffix from cmd line
Honor CMake exe suffix when inst. static builds
README.ijg: Clarification regarding JPEG 2000/XR
BUILDING.md: Correct iOS/Android examples
Build: Detect whether compiler supports DSPr2
Fix jpeg_skip_scanlines() segfault w/merged upsamp
Fix infinite loop in partial image decompression
tjLoadImage(): Fix FPE triggered by malformed BMP
TurboJPEG: Handle JERR_BMP*,JERR_PPM* error codes
Fix CVE-2018-11813
Travis: Use SKS keyserver pool
Additional code formatting tweaks
Java: Further style refinements
Java: Reformat code per checkstyle recommendations
...
2018-11-11 16:13:59 +00:00
Hugo Cuvillier
103c6c3276
Adds initial mozjpeg.podspec
2018-11-10 15:47:08 +00:00
Kornel
9a1d32095b
Merge pull request #308 from bolknote/master
...
Fix errors while build rpm package (CentOS 7.x)
2018-10-12 13:54:23 +01:00
Evgeny Stepanischev
17ed160078
Fix errors while build rpm package (CentOS 7.x)
2018-10-12 12:37:50 +03:00
Kornel
5c064c6ba5
Merge pull request #303 from garyzyg/issue-302
...
fix issue #302 rdpng.c contains mixed declaration, which MSVC can't a…
2018-08-24 12:50:24 +01:00
Gary Zhang
9454cd365a
fix issue #302 rdpng.c contains mixed declaration, which MSVC can't accept.
2018-08-24 09:37:22 +08:00
Konstantin Kopachev
86a9bd1b08
Prefer smaller file only on non-image changing operations
...
When cli arguments request image-changing operation (like transform, scans or arith coding) to be applied, force output result file, even if it has bigger filesize than original
2018-07-31 10:11:20 +01:00
Konstantin Kopachev
a4a721fce5
Only use mem-based io if it is supported
2018-07-31 10:11:20 +01:00
Puyan Lotfi
7678cba140
Fixing compiler warning -Wmissing-prototypes
...
jdatadst.c:252:1: warning: no previous prototype for function 'jpeg_mem_dest_internal' [-Wmissing-prototypes]
2018-06-10 16:35:46 +03:00
Kornel
3820eb1e2d
Merge pull request #290 from solvingj/patch-2
...
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
2018-06-07 15:09:07 +01:00
Jerry
d23bf13189
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
...
This change is proposed to enable cases where this library and it's CMakeLists.txt are included in other projects/CMakeLists.txt files as a dependency via the add_subdirectory method, for example: add_subdirectory(mozjpeg). There are several reasons and workflows which "wrap" third party projects/builds using this method, including many enterprise build/devops pipelines.
This change will have no effect on users building mozjpeg by itself as usual, it very simply enables the wrapping use cases.
2018-06-07 08:53:21 -04:00
Kornel
f7aeafaf00
Merge pull request #287 from JosePineiro/master
...
Add -nojfif param
2018-06-05 01:24:09 +01:00
JosePineiro
fce0382181
Add -nojfif param
...
With this parem do not write JFIF APP0 marker segment. Reduce size in 18 bytes. This is a mandatory marker, but no error in know programs if are lost. Safe for web use.
2018-06-04 21:06:40 +02:00
Kornel
b85de60a9f
Merge pull request #280 from vvuk/master
...
Add optional PNG support to CMake build
2018-03-14 00:14:18 +00:00
Vladimir Vukicevic
e73ee60a8f
Add optional PNG support to CMake build
2018-03-13 16:58:33 -07:00
Kornel
f918646f9a
Merge pull request #276 from mozilla/merge-1.5.3
...
Merge libjpeg-turbo 1.5.3
2017-12-29 20:34:31 +00:00
Kornel
365bc1ce11
Make IDCT method customizable
2017-12-23 01:29:16 +00:00
Kornel
836e711c38
Merge tag '1.5.3'
...
Tag 1.5.3 release
* tag '1.5.3': (29 commits)
Fix whitespace errors
jpeg_crop_scanlines: Handle gray images w/ samp!=1
Fix lib state when skipping to end of 1-scan image
Travis: Work around xcode7.3 image bug
TJExample: Fix array index OOB w/ 4:1:1 JPEG input
Code formatting tweaks
Uniquify tjbenchtest log file names based on args
TJExample.java: Don't ignore mistyped args
Doc tweak: TJFLAG_ACCURATEDCT is the first flag
tjbench.exe: Fix decompression access violation
ChangeLog.md: buglet
Build: Fix `make dist`
Further partial image decompression fixes
TJBench/TJUnitTest: Don't ignore mistyped args
TurboJPEG C: Code formatting tweaks
djpeg -crop: Exit gracefully with non-PPM formats
Prevent "unmappable character" error in Java build
Fix PowerPC 32-bit RPM build
Fix 32-bit RPM build w/ newer RHEL/Fedora releases
Packaging: Use parallel make when rebuilding SRPM
...
2017-12-23 01:10:55 +00:00
Kornel
f154ccc091
Version bump
2017-07-10 11:58:14 +01:00
Kornel
9be7a47841
Merge tag '1.5.2'
...
Tag 1.5.2 release
* tag '1.5.2': (54 commits)
x86: Fix "short jump is out of range" w/ NASM<2.04
TurboJPEG: Document xform issue w/ big marker data
Java TJBench: Fix parsing of -warmup argument
Build: Disable warmup in TJBench regression tests
TJBench: Improve consistency of results
TurboJPEG: C API documentation buglet
TJBench: Code formatting tweaks
TJBench: Fix errors when decomp. files w/ ICC data
BUILDING.md: Include Android/x86 build recipes
Travis: Fix OS X build
Restore compatibility with older autoconf releases
Attribute ARM runtime detection code to Nokia
Honor max_memory_to_use/JPEGMEM/-maxmemory
AppVeyor: Fix CI build
TurboJPEG: Fix potential memory leaks
Always tweak EXIF w/h tags w/ lossless transforms
Fix error w/ lossless crop & libjpeg v7 emulation
Include jpeg_skip/crop_scanlines() in jpeg7.dll
libjpeg.txt: Include partial decomp. in TOC
Slightly de-confusify cjpeg, jpegtran usage info
...
2017-07-10 11:54:52 +01:00
Kornel
4d77515bc9
Merge pull request #263 from lambdapioneer/fix_dcscanopt2
...
Calculate jpeg_simple_progression nscans correctly
2017-07-06 12:21:29 +01:00
Daniel Hugenroth
fb27709ab1
Calculate jpeg_simple_progression nscans correctly
2017-07-06 11:18:19 +01:00
Kornel
a9bfef2a57
Reset scans to value expected by the TJ API
...
Fixes #260
2017-05-25 16:32:23 +01:00
Kornel
12909e6a0f
Merge pull request #258 from pornel/turbo151
...
Update to libjpeg-turbo 1.5.1
2017-05-25 16:30:09 +01:00
Kornel
60a61a34fc
Ignore test temp files
2017-05-25 16:28:56 +01:00
Kornel
216ccd6702
Merge pull request #259 from pornel/pngtiny
...
Embed an sRGB profile if PNG had an sRGB chunk
2017-05-21 22:35:31 +01:00
Kornel
88e99ac246
Embed an sRGB profile if PNG had an sRGB chunk
2017-05-11 13:56:06 +01:00
Kornel
78e3171864
Merge pull request #254 from pornel/pngicc
...
Preserve ICC profile when converting from PNG
2017-05-01 15:26:05 +01:00
Kornel
72d249b89c
Merge pull request #253 from pornel/master
...
Expanded readme
2017-05-01 13:36:38 +01:00
Kornel
075a1e1afc
Copy ICC profile from PNG to JPEG
2017-04-30 15:02:57 +01:00
Kornel
2dd5ae7b83
Support G+A PNG (without alpha of course)
2017-04-30 15:02:57 +01:00
Kornel
e95be67503
Prevent overflows in large PNGs
2017-04-30 15:02:57 +01:00
Kornel
ec4255bb74
Expanded readme
2017-04-30 14:06:30 +01:00
Kornel
cfff992fc6
Merge pull request #251 from lambdapioneer/fix_dcscanopt
...
Calculate jpeg_simple_progression nscans correctly when dc_scan_opt_mode
2017-04-24 10:56:12 +01:00
Daniel Hugenroth
31d957d25a
Calculate jpeg_simple_progression nscans correctly with respect to dc_scan_opt_mode
2017-04-21 17:23:50 +01:00
Kornel
41dd774c1f
Merge pull request #243 from pornel/autosample
...
Guess default chroma subsampling setting from the quality setting
2017-04-14 21:29:02 +02:00
Kornel Lesiński
1374cdfabe
JPEG_C_PARAM_SUPPORTED to allow detection of the API
...
Fixes #165
2017-03-18 23:17:47 +00:00
Kornel Lesiński
3a86fa5b22
If there is no explicit subsample argument, guess the default from the quality setting
2017-03-18 15:33:11 +00:00
Kornel Lesiński
499bd1da89
Merge tag '1.5.1'
...
Tag 1.5.1 release
* tag '1.5.1':
ARM64 NEON: Fix another ABI conformance issue
Build: Remove ARMv6 support from 'make iosdmg'
Fix out-of-bounds write in partial decomp. feature
Silence additional UBSan warnings
Fix unsigned int overflow in libjpeg memory mgr.
TurboJPEG: Decomp. 4:2:2/4:4:0 JPEGs w/unusual SFs
Silence pedantic GCC6 code formatting warnings
Use plain upsampling if merged isn't accelerated
Implement h1v2 fancy upsampling
Fix AArch64 ABI conformance issue in SIMD code
Don't install libturbojpeg.pc if TJPEG disabled
Linux/PPC: Only enable AltiVec if CPU supports it
ARM/MIPS: Change the behavior of JSIMD_FORCE*
Bump version to 1.5.1 to prepare for new commits
2017-03-12 17:01:41 +00:00
Kornel Lesiński
527477ae43
Add file to cmake
2017-02-14 11:58:56 +00:00
Kornel Lesiński
3b1b5646d4
Bump version
2017-02-13 21:03:13 +00:00
Kornel
cd81708ba9
Merge pull request #226 from inian/master
...
Update baseline defn in usage.txt
2016-11-11 20:02:24 +00:00
Inian Parameshwaran
f5c596e8f2
Update baseline defn in usage.txt
2016-11-10 16:32:24 +00:00
Kornel
6ee36adc4e
Merge pull request #213 from tmatth/yuvjpeg_crash
...
yuvjpeg: fix NULL dereference on invalid format string
2016-07-15 17:08:15 +01:00
Tristan Matthews
24d2c9de3d
yuvjpeg: fix NULL dereference on invalid format string
...
(cherry picked from daala commit 82e51ebb8545d99316dbeaeeef3d7b5a929702e8)
2016-07-15 10:58:32 -04:00
Josh Aas
4b8d1ee39e
Merge pull request #206 from pornel/temppool
...
Use temporary pool for internal recompression
2016-07-11 14:12:19 -05:00
Josh Aas
fb16334315
Merge pull request #210 from pornel/turbo150
...
Libjpeg-turbo 1.5.0
2016-07-11 14:12:00 -05:00
Kornel Lesiński
5ff20ca303
Allocate from temporary image pool to avoid leaking mem mgr
2016-06-08 01:08:11 +01:00
Kornel Lesiński
dbbf6185a9
Merge tag '1.5.0'
...
Tag 1.5.0 release
* tag '1.5.0':
1.5.0
BUILDING.md: More NASM/YASM clarifications
Format copyright headers more consistently
BUILDING.txt: Clarify NASM build requirements
Don't allow opaque source/dest mgrs to be swapped
Build: Add integer version macro to jconfig.h
Build: Don't allow jpeg-7+ emul. w/o arith coding
ARMv7 SIMD: Fix clang compatibility (Part 2)
ARMv7 SIMD: Fix clang compatibility
Fix CMake fallback BUILD var on non-U.S. machines
2016-06-08 00:59:37 +01:00
Kornel
e4e091a184
Merge pull request #207 from mozilla/jpg-yuv-cleanup
...
Cleanup for jpegyuv and yuvjpeg
2016-05-25 17:30:36 +01:00
Josh Aas
730f65fd4a
Merge pull request #180 from tmatth/unused
...
Drop unused includes
2016-05-25 13:52:28 +02:00
Josh Aas
5e01695e2d
Cleanup for jpegyuv and yuvjpeg
2016-05-25 13:36:12 +02:00
Kornel
a53303b82e
Merge pull request #205 from pornel/libjpeg-turbo-master
...
Merge with new libjpeg-turbo repository
2016-05-13 17:20:23 +01:00
Kornel Lesiński
8f21330ed5
Use turbo settings in md5 tests
2016-05-05 18:20:25 +01:00
Kornel Lesiński
ec333d5bbd
Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo
...
* libjpeg-turbo/master: (140 commits)
Increase severity of tjDecompressToYUV2() bug desc
Catch libjpeg errors in tjDecompressToYUV2()
BUILDING.md: Fix "... OR ..." indentation again
BUILDING.md: Fix confusing Windows build reqs
ChangeLog.md: Improve readability of plain text
change.log: Refer users to ChangeLog.md
Markdown version of ChangeLog.txt
Rename ChangeLog.txt
README.md: Link to BUILDING.md
BUILDING.md and README.md: Cosmetic tweaks
ChangeLog: "1.5 beta1" --> "1.4.90 (1.5 beta1)"
Java: Fix parallel make with autotools
Win/x64: Fix improper callee save of xmm8-xmm11
Bump TurboJPEG C API revision to 1.5
ChangeLog: Mention jpeg_crop_scanline() function
1.5 beta1
Fix v7/v8-compatible build
libjpeg API: Partial scanline decompression
Build: Make the NASM autoconf variable persistent
Use consistent/modern code formatting for dbl ptrs
...
2016-04-28 01:08:01 +01:00
Kornel Lesiński
4d8f239872
Merge remote-tracking branch 'libjpeg-turbo/1.4.x' into libjpeg-turbo
...
* libjpeg-turbo/1.4.x: (94 commits)
CMakeLists.txt: Clarify that Un*x isn't supported
Catch libjpeg errors in tjDecompressToYUV2()
cjpeg: Fix buf overrun caused by bad bin PPM input
Add version/build info to global string table
Ensure that default Huffman tables are initialized
Fix memory leak when running tjunittest -yuv
Prevent overread when decoding malformed JPEG
Guard against wrap-around in alloc functions
Fix Visual C++ compiler warnings
rdppm.c: formatting tweaks
jmemmgr.c: formatting tweaks
TurboJPEG: Avoid dangling pointers
Update Android build instr. for ARMv8, PIE, etc.
Makefile.am: formatting tweak
Update build instructions for new autoconf, GitHub
1.4.3
Regression: Allow co-install of 32-bit/64-bit RPMs
Build: Use FILEPATH type for NASM CMake variable
Comment formatting tweaks
Fix 'make dist'
...
2016-04-28 00:50:50 +01:00
Kornel Lesiński
667fb53e3f
Merge tag '1.4.1' into libjpeg-turbo
...
Tag 1.4.1 release
* tag '1.4.1': (427 commits)
Now that the TurboJPEG API is reporting libjpeg warnings as errors, an "Invalid SOS parameters for sequential JPEG" warning surfaced in tjDecodeYUV*(). This was caused by the Se member of jpeg_decompress_struct being set to 0 (it is normally set to a non-zero value when the start-of-scan markers are read, but there are no SOS markers in this case, because we're not actually decompressing a JPEG file.)
Fix a segfault that occured in the MIPS DSPr2 fancy upsampling routine when downsampled_width==3. Because the DSPr2 code unrolls the loop for the middle columns (refer to jdsample.c), it has the effect of performing two column iterations, and that only works properly if the number of columns (minus the first and last) is >= 2. For the specific case of downsampled_width==3, this patch skips to the second iteration of the unrolled column loop.
If a warning (such as "Premature end of JPEG file") is triggered in the underlying libjpeg API, make sure that the TurboJPEG API function returns -1. Unlike errors, however, libjpeg warnings do not make the TurboJPEG functions abort.
Back out r1555 and r1548. Using setenv() didn't fix the iOS simulator issue. It just replaced an undefined _putenv$UNIX2003 symbol with an undefined _setenv$UNIX2003 symbol. The correct solution seems to be to use -D_NONSTD_SOURCE when generating our official builds.
Fix the Windows build. I remember now why I used putenv() originally-- because Windows doesn't have setenv(). We could use _putenv_s(), but older versions of MinGW don't have that either. Fortunately, since all of the environment values we're setting in turbojpeg.c are static, we can just map setenv() to putenv() using a macro. NOTE: we still have to use _putenv_s() in turbojpeg-jni.c, but at least people who may need to build with an older version of MinGW can still do so by disabling the Java build.
Allow building only static or only shared libraries on Windows
__WORDSIZE doesn't seem to be available on platforms other than Mac or Linux, and best practices are for user-level code not to rely on it anyhow, since it's meant to be an internal macro. Fortunately, autoconf already has a way of determining the word size at configure time, so it can be passed into the compiler. This should work on any platform and has been tested on all of the Un*x platforms we support (Linux, Mac, FreeBSD, Solaris.)
Unless you define _ANSI_SOURCE, then putenv() on Mac is renamed to putenv$UNIX2003(), and this causes problems when trying to link an i386 iOS application (for the simulator) against the TurboJPEG static library. It's easiest to just use setenv() instead.
Fix a bug in the 64-bit Huffman encoder that Google discovered when encoding some very specific (and proprietary) aerial images using quality=98, an optimized Huffman table, and the ISLOW DCT. These images were causing the Huffman bit buffer to overflow, because the code for encoding the DC coefficient was using the equivalent of the 32-bit version of EMIT_BITS(). Thus, when 64-bit code was used, the DC coefficient code was not properly checking how many bits were in the buffer before attempting to add more bits to it. This issue appears to have existed in all versions of libjpeg-turbo.
Restore backward compatibility with MSVC < 2010 (broken by r1541)
Oops. OS X doesn't define __WORDSIZE unless you include stdint.h, so apparently the Huffman codec hasn't ever been fully accelerated on 64-bit OS X.
Allow the executables and libraries outside of the sharedlib/ directory to be linked against msvcr*.dll instead of libcmt*.lib. This is reported to be necessary when building libjpeg-turbo for use with C#.
Surround the usage of getenv() in the TurboJPEG API with #ifndef NO_GETENV so that developers can add -DNO_GETENV to the C flags when building for platforms that don't have getenv(). Currently this is known to be necessary when building for Windows Phone.
If libjpeg-turbo is configured with a non-default prefix, such as /usr, then use the docdir variable defined by autoconf 2.60 and later, if available. This will, for instance, install the documentation under /usr/share/doc/libjpeg-turbo by default if prefix=/usr, unless docdir is overridden. When using earlier versions of autoconf, docdir is set to ${datadir}/doc, as it always has been.
Enable silent build rules for the NASM objects, if the source is configured with automake 1.11 or later. NOTE: the build still spits out "error: ignoring unknown tag NASM" for each object, but unfortunately, if we remove "--tag NASM" from the command line, the build breaks under older versions of automake (it aborts with "unable to infer tagged configuration.")
Set the RPM and deb architecture properly on non-x86 platforms.
Come on, Cohaagen, you got what you want. Give these people air!
Oops. Need to set the alpha channel when using TYPE_4BYTE_ABGR*. This has no bearing on the actual tests, but it prevents the PNG pre-encode reference images for those tests from being blank.
Oops. The MIPS SIMD implementations of h2v1 and h2v2 upsampling were not checking for DSPr2 support, so running 'djpeg -nosmooth' on a non-DSPr2-enabled platform caused an "illegal instruction" error.
Introduce fast paths to speed up NULL color conversion somewhat, particularly when using 64-bit code; on the decompression side, the "slow path" also now use an approach similar to that of the compression side (with the component loop outside of the column loop rather than inside.) This is faster when using 32-bit code.
...
2016-04-28 00:45:08 +01:00
Kornel Lesiński
a22ab9f3df
Merge remote-tracking branch 'origin/master' into libjpeg-turbo
...
* origin/master: (108 commits)
Bump version number to 3.1.
jpegyuv: fix memory leak when path is invalid
jpegyuv: fix memory leak when @image_buffer allocation fails
yuvjpeg: fix memory leak when @image_buffer allocation fails
jpegtran: Do not leak the input and output buffers
Fix previous commit
Scan optimization: return error when unable to copy data buffer
cjpeg option for baseline quant tables
Fix #153
rdpng: convert 16-bit input to 8-bit
Larger number of DC trellis candidates
Fix overflow issue #157
Const on getters
Const on simple getters and copy source
Expanded .gitignore
Add pkg-config requirement
Re-order links.
Declare inbuffer const
Oops. Delete the duplicate copy of [lib]turbojpeg.dll in the binary directory when uninstalling the package.
Get rid of changelog file that we don't update.
...
2016-04-27 23:35:38 +01:00
Kornel Lesiński
1a830d52a4
Merge commit 'eca0637c8150d3d1c08a60c64d7ee16eaea4b198' into libjpeg-turbo
...
* commit 'eca0637c8150d3d1c08a60c64d7ee16eaea4b198':
Remove trailing spaces
Another oops. tjBufSizeYUV2() should return -1 if width < 1.
Oops. tjPlaneSizeYUV() should return -1 if componentID > 0 and subsamp==TJSAMP_GRAY.
When building libjpeg-turbo on Un*x systems, INT32 is usually typedef'ed to long, not int, so we need to specify an int pointer when doing a 4-byte write to the RGB565 output buffer. On little endian systems, this doesn't matter, but when you write a 32-bit int to a 64-bit long pointer address on a big endian system, you are writing to the upper 4 bytes, not the lower 4 bytes. NOTE: this will probably break on big endian systems that use 16-bit ints (are there any of those still around?)
Fix Windows build
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines are now abstracted in a separate file, with separate little-endian and big-endian versions defined at compile time through the use of macros (this is similar to how the colorspace extension routines work.) This allows big-endian machines to take advantage of the same performance optimizations as little-endian machines, and it retains the performance on little-endian machines, since the conditional branch for endianness is at a very coarse-grained level.
Fix build on OS X PowerPC platforms
Oops. Forgot to alter the version header in the change log to indicate the release of 1.4 beta.
Create 1.4.x branch
2016-04-27 23:34:59 +01:00
Kornel Lesiński
c5a46f7e9f
Merge commit '445d9b4196aed7d3d2915609267666314e63fc50' into libjpeg-turbo
2016-04-27 23:32:38 +01:00
Kornel Lesiński
d8d5f06dd9
Merge commit '0a9a25265484a09fd9eaadc4f5de336942acd19e' into libjpeg-turbo
2016-04-27 23:28:13 +01:00
Kornel Lesiński
93060bf32e
Merge commit '662bf6ba7b70dfc727de7c186dec594e58f00ad1' into libjpeg-turbo
2016-04-27 23:28:01 +01:00
Kornel Lesiński
d5e22710be
Merge commit '73821bff789450b6dc665a7508e3fb38ee9ff99b' into libjpeg-turbo
2016-04-27 23:27:15 +01:00
Kornel Lesiński
2d06b326b6
Merge commit '71539b3e1324f51e29b08fe9e0412c596fd6f0ec' into libjpeg-turbo
2016-04-27 23:26:42 +01:00
Kornel Lesiński
fd825574d1
Merge commit '0cfc4c17b740cb2cbb11f9d85c8ab3745d5b913a' into libjpeg-turbo
2016-04-27 23:26:12 +01:00
Tristan Matthews
0f87064d26
jpegyuv: drop write-only errno
2015-07-02 16:30:32 -04:00
Tristan Matthews
0fb7725000
Drop unused includes from jpegyuv and yuvjpeg
2015-07-02 16:29:07 -04:00
DRC
a8af72437e
Now that the TurboJPEG API is reporting libjpeg warnings as errors, an "Invalid SOS parameters for sequential JPEG" warning surfaced in tjDecodeYUV*(). This was caused by the Se member of jpeg_decompress_struct being set to 0 (it is normally set to a non-zero value when the start-of-scan markers are read, but there are no SOS markers in this case, because we're not actually decompressing a JPEG file.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1564 632fc199-4ca6-4c93-a231-07263d6284db
2015-06-08 18:31:34 +00:00
DRC
d0fc58eb15
Fix a segfault that occured in the MIPS DSPr2 fancy upsampling routine when downsampled_width==3. Because the DSPr2 code unrolls the loop for the middle columns (refer to jdsample.c), it has the effect of performing two column iterations, and that only works properly if the number of columns (minus the first and last) is >= 2. For the specific case of downsampled_width==3, this patch skips to the second iteration of the unrolled column loop.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1562 632fc199-4ca6-4c93-a231-07263d6284db
2015-06-08 17:41:34 +00:00
DRC
b3954883af
If a warning (such as "Premature end of JPEG file") is triggered in the underlying libjpeg API, make sure that the TurboJPEG API function returns -1. Unlike errors, however, libjpeg warnings do not make the TurboJPEG functions abort.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1561 632fc199-4ca6-4c93-a231-07263d6284db
2015-06-01 19:22:41 +00:00
Josh Aas
5198654f73
Bump version number to 3.1.
2015-05-18 09:28:09 -05:00
DRC
f24385c465
Back out r1555 and r1548. Using setenv() didn't fix the iOS simulator issue. It just replaced an undefined _putenv$UNIX2003 symbol with an undefined _setenv$UNIX2003 symbol. The correct solution seems to be to use -D_NONSTD_SOURCE when generating our official builds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1557 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-17 15:56:18 +00:00
DRC
a19f3a9c7a
Fix the Windows build. I remember now why I used putenv() originally-- because Windows doesn't have setenv(). We could use _putenv_s(), but older versions of MinGW don't have that either. Fortunately, since all of the environment values we're setting in turbojpeg.c are static, we can just map setenv() to putenv() using a macro. NOTE: we still have to use _putenv_s() in turbojpeg-jni.c, but at least people who may need to build with an older version of MinGW can still do so by disabling the Java build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1555 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-16 04:18:21 +00:00
DRC
c15c2d88ef
Allow building only static or only shared libraries on Windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1553 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-15 22:08:21 +00:00
DRC
63ba814364
__WORDSIZE doesn't seem to be available on platforms other than Mac or Linux, and best practices are for user-level code not to rely on it anyhow, since it's meant to be an internal macro. Fortunately, autoconf already has a way of determining the word size at configure time, so it can be passed into the compiler. This should work on any platform and has been tested on all of the Un*x platforms we support (Linux, Mac, FreeBSD, Solaris.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1550 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-15 19:09:44 +00:00
DRC
83649cc19b
Unless you define _ANSI_SOURCE, then putenv() on Mac is renamed to putenv$UNIX2003(), and this causes problems when trying to link an i386 iOS application (for the simulator) against the TurboJPEG static library. It's easiest to just use setenv() instead.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1548 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-15 18:23:59 +00:00
DRC
ed600dbb53
Fix a bug in the 64-bit Huffman encoder that Google discovered when encoding some very specific (and proprietary) aerial images using quality=98, an optimized Huffman table, and the ISLOW DCT. These images were causing the Huffman bit buffer to overflow, because the code for encoding the DC coefficient was using the equivalent of the 32-bit version of EMIT_BITS(). Thus, when 64-bit code was used, the DC coefficient code was not properly checking how many bits were in the buffer before attempting to add more bits to it. This issue appears to have existed in all versions of libjpeg-turbo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1547 632fc199-4ca6-4c93-a231-07263d6284db
2015-05-06 22:41:12 +00:00
Kornel
0d2908a62b
Merge pull request #173 from tmatth/jpegyuv_leak
...
jpegyuv: fix memory leak when path is invalid
2015-05-06 01:35:10 +02:00
Tristan Matthews
ee39375c85
jpegyuv: fix memory leak when path is invalid
2015-05-04 09:45:24 -04:00
Kornel
50d4088439
Merge pull request #172 from tmatth/jpegyuv_leak
...
jpegyuv: fix memory leak when @image_buffer allocation fails
2015-05-04 14:22:37 +02:00
Tristan Matthews
7e8ed0d448
jpegyuv: fix memory leak when @image_buffer allocation fails
...
Make sure @yuv_buffer is freed before return.
2015-05-03 21:35:39 -04:00
DRC
5698542e24
Restore backward compatibility with MSVC < 2010 (broken by r1541)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1543 632fc199-4ca6-4c93-a231-07263d6284db
2015-04-30 09:05:53 +00:00
Arjun Sreedharan
6c1538470f
yuvjpeg: fix memory leak when @image_buffer allocation fails
...
Make sure @yuv_buffer is freed before return.
Signed-off-by: Arjun Sreedharan <arjun024@gmail.com >
2015-04-25 02:17:45 +05:30
DRC
e080e5d90b
Oops. OS X doesn't define __WORDSIZE unless you include stdint.h, so apparently the Huffman codec hasn't ever been fully accelerated on 64-bit OS X.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1541 632fc199-4ca6-4c93-a231-07263d6284db
2015-04-22 08:43:04 +00:00
Vittorio Giovara
6b05623682
jpegtran: Do not leak the input and output buffers
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2015-04-16 16:30:34 +01:00
Frank Bossen
c716918d0a
Fix previous commit
...
Define JERR_UNSUPPORTED_SUSPEND in correct header file
2015-04-08 01:36:02 +02:00
Frank Bossen
619c20d5e8
Scan optimization: return error when unable to copy data buffer
...
#166 describes an issue where I/O suspension is not properly handled in
scan optimization. Supporting I/O suspension may be difficult to
achieve here, thus return an error to make it explicit that I/O
suspension is unsupported.
2015-04-02 17:45:01 -05:00
Frank Bossen
f8a5b80cb0
cjpeg option for baseline quant tables
...
Add command line option -quant-baseline to cjpeg to force quantization
table entries to be in 1-255 range for JPEG baseline compatibility. See
related discussion in #145
2015-03-23 14:05:13 -05:00
Frank Bossen
cc11b90b22
Fix #153
...
Make sure BMP height and width don't exceed positive signed 32-bit
range even when 64-bit variables are being used.
2015-03-23 13:33:14 -05:00
DRC
48dde8baf1
Allow the executables and libraries outside of the sharedlib/ directory to be linked against msvcr*.dll instead of libcmt*.lib. This is reported to be necessary when building libjpeg-turbo for use with C#.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1539 632fc199-4ca6-4c93-a231-07263d6284db
2015-03-19 19:27:40 +00:00
Josh Aas
0629d2a00d
Merge pull request #149 from pornel/constinput
...
Declare inbuffer `const`
2015-03-13 20:16:17 -07:00
Kornel
32ba839c57
Merge pull request #164 from tmatth/fix_16bit_input
...
rdpng: convert 16-bit input to 8-bit
2015-03-13 20:10:00 +00:00
Tristan Matthews
1da5cf4251
rdpng: convert 16-bit input to 8-bit
...
This is instead of assuming 8-bit input and producing borked images.
2015-03-13 13:23:45 -05:00
DRC
54e17215e6
Surround the usage of getenv() in the TurboJPEG API with #ifndef NO_GETENV so that developers can add -DNO_GETENV to the C flags when building for platforms that don't have getenv(). Currently this is known to be necessary when building for Windows Phone.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1537 632fc199-4ca6-4c93-a231-07263d6284db
2015-02-23 19:19:40 +00:00
DRC
4e67edff34
If libjpeg-turbo is configured with a non-default prefix, such as /usr, then use the docdir variable defined by autoconf 2.60 and later, if available. This will, for instance, install the documentation under /usr/share/doc/libjpeg-turbo by default if prefix=/usr, unless docdir is overridden. When using earlier versions of autoconf, docdir is set to ${datadir}/doc, as it always has been.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1535 632fc199-4ca6-4c93-a231-07263d6284db
2015-02-23 19:06:44 +00:00
DRC
cdd9ffb65b
Enable silent build rules for the NASM objects, if the source is configured with automake 1.11 or later. NOTE: the build still spits out "error: ignoring unknown tag NASM" for each object, but unfortunately, if we remove "--tag NASM" from the command line, the build breaks under older versions of automake (it aborts with "unable to infer tagged configuration.")
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1534 632fc199-4ca6-4c93-a231-07263d6284db
2015-02-23 19:03:29 +00:00
DRC
39c8b666f9
Set the RPM and deb architecture properly on non-x86 platforms.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1531 632fc199-4ca6-4c93-a231-07263d6284db
2015-02-20 20:12:15 +00:00
Frank Bossen
fbf0a5fbc5
Larger number of DC trellis candidates
...
See #147
Couldn't merge provided patch, so rewrote it. Also applies change to
quantize_trellis_arith()
2015-02-12 20:01:42 +01:00
fbossen
da75d56d6c
Merge pull request #152 from jodiecunningham/master
...
Add pkg-config requirement to documentation
2015-02-12 19:31:49 +01:00
Frank Bossen
02939f53a0
Fix overflow issue #157
...
DCT coefficients are clipped when preprocessing for deringing is used
as they can overflow
2015-02-12 12:50:12 +01:00
Josh Aas
39b950076a
Merge pull request #148 from pornel/libjpeg-turbo
...
Libjpeg turbo 1.4
2015-02-11 16:49:19 -08:00
Josh Aas
c0f5e0b702
Merge pull request #154 from pornel/gitignore
...
Expanded .gitignore
2015-02-11 16:47:13 -08:00
DRC
f5f176dd5d
Come on, Cohaagen, you got what you want. Give these people air!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1528 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-28 00:26:28 +00:00
DRC
2c814300b5
Oops. Need to set the alpha channel when using TYPE_4BYTE_ABGR*. This has no bearing on the actual tests, but it prevents the PNG pre-encode reference images for those tests from being blank.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1525 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-27 20:59:16 +00:00
Kornel Lesiński
4966e1eec5
Const on getters
2015-01-24 16:28:31 +00:00
Kornel Lesiński
67753d1298
Const on simple getters and copy source
2015-01-24 16:28:29 +00:00
Kornel Lesiński
f446e5d5c7
Expanded .gitignore
2015-01-24 12:56:39 +00:00
Jodie Cunningham
0c8bf27a3c
Add pkg-config requirement
...
Related to issue #99
2015-01-21 22:20:37 -06:00
DRC
5fc2839d45
Oops. The MIPS SIMD implementations of h2v1 and h2v2 upsampling were not checking for DSPr2 support, so running 'djpeg -nosmooth' on a non-DSPr2-enabled platform caused an "illegal instruction" error.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1523 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-21 17:42:28 +00:00
DRC
701768b9c2
Introduce fast paths to speed up NULL color conversion somewhat, particularly when using 64-bit code; on the decompression side, the "slow path" also now use an approach similar to that of the compression side (with the component loop outside of the column loop rather than inside.) This is faster when using 32-bit code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1521 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-20 10:33:32 +00:00
DRC
7a2bb989f2
Some clarifications (actually MIPS doesn't implement the float DCT/IDCT using SIMD instructions)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1517 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 07:16:53 +00:00
DRC
a614b4af9f
Make the floating point regression tests optional. It has been known for quite some time that these tests do not always generate the same results unless there is full SIMD coverage of the floating point algorithms in libjpeg-turbo. Further research reveals that there are basically three expected results: the results from our SSE SIMD extensions (which are slightly more accurate than the C code), results from the C code when running on a 32-bit FPU (or when using SSE instructions on an x86-64 CPU, which is the default with GCC), and results from the C code when running on a 64-bit FPU (which presumably uses double-precision arithmetic by default.) There is basically no way to determine which type of math will be used prior to run time, so it's best to just let the developers specify which result they expect on their particular system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1515 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:53:36 +00:00
DRC
00eb5cdeab
In the process of developing the AltiVec extensions, it was discovered that the normal regression tests aren't sufficient to test the behavior of the library with very small image sizes and when compressing from/decompressing to a subregion of a larger image buffer. Thus, an additional regression test was added that takes advantage of the tiled compression/decompression feature in tjbench. This is being back-ported to the 1.4.x branch primarily to verify that there are no lingering issues in the existing SIMD extensions.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1514 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:45:54 +00:00
DRC
dc42b5460e
Add separate pseudo-targets for the TurboJPEG and libjpeg regression tests, for those times when you just don't want to sit through 11 iterations of TJUnitTest to find out that your algorithm is broken.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1513 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:37:03 +00:00
DRC
ec86e2a9ad
Bump copyright year
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1512 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:34:08 +00:00
DRC
999ba67714
Add the ability to benchmark YCCK JPEG compression/decompression. This is particularly useful since that is the only way to test the performance of the "plain" upsampling routines, which are accelerated on some platforms.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1511 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:29:52 +00:00
DRC
4d1d6adfaa
1.4.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1510 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-16 06:17:05 +00:00
Josh Aas
0aea1da9f0
Re-order links.
2015-01-12 12:18:58 -08:00
DRC
dde3b9e4be
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1494 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-12 08:36:37 +00:00
Kornel Lesiński
85e2e0f9c2
Declare inbuffer const
2015-01-08 00:53:35 +00:00
Kornel Lesiński
f2ec34de52
Merge branch 'libjpeg-turbo'
...
* libjpeg-turbo: (39 commits)
Oops. Delete the duplicate copy of [lib]turbojpeg.dll in the binary directory when uninstalling the package.
AltiVec SIMD implementation of sample conversion and integer quantization
Document the fact that the AltiVec implementation uses the same modified algorithms as the SSE2 implementation
Use intrinsics for loading/storing data in the DCT/IDCT functions. This has no effect on the performance of the aligned loads/stores, but it makes it more obvious what that code is doing. Using intrinsics for the unaligned stores in the inverse DCT functions increases overall decompression performance by 1-2%.
AltiVec SIMD implementation of RGB-to-Grayscale color conversion
Remove unneeded code; Make sure jccolor-altivec.o will be rebuilt if jccolext-altivec.c changes.
AltiVec SIMD implementation of RGB-to-YCC color conversion
Make test a phony target so things don't go haywire if there is a file named test.c in the current directory.
Maintain the traditional order of the regression tests while allowing the TurboJPEG and libjpeg portions to be executed separately
Make comments more consistent
Add a "quicktest" pseudo-target, for those times when you just don't want to sit through 11 iterations of TJUnitTest.
Cosmetic tweaks to the PowerPC SIMD stubs
Split AltiVec algorithms into separate files for ease of maintenance; Rename constants using lowercase so they are not confused with macros
Optimizations to the AltiVec DCT algorithms (pre-compute constants and combine multiply/add operations)
AltiVec SIMD implementation of slow integer inverse DCT
Use macros to allocate constants statically, rather than reading them from a table using vec_splat*(). This improves code readability and probably improves performance a bit as well.
Swap the order of the IFAST and ISLOW FDCT functions so that it matches the order of the prototypes in jsimd.h and the stubs in jsimd_powerpc.c.
Include ARMv8 binaries when generating a combined OS X/iOS package using 'make iosdmg'
In the output of the configure script, indicate whether gas-preprocessor.pl is being used along with the assembler.
Modify the ARM64 assembly file so that it uses only syntax that the clang assembler in XCode 5.x can understand. These changes should all be cosmetic in nature-- they do not change the meaning or readability of the code nor the ability to build it for Linux. Actually, the code is now more in compliance with the ARM64 programming manual. In addition to these changes, there were a couple of instructions that clang simply doesn't support, so gas-preprocessor.pl was modified so that it now converts those into equivalent instructions that clang can handle.
...
Conflicts:
BUILDING.txt
ChangeLog.txt
cjpeg.c
jpegtran.c
2015-01-07 23:33:49 +00:00
DRC
5e8fd24131
Oops. Delete the duplicate copy of [lib]turbojpeg.dll in the binary directory when uninstalling the package.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1482 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-07 05:47:08 +00:00
DRC
daab3e4ec4
Oops. Delete the duplicate copy of [lib]turbojpeg.dll in the binary directory when uninstalling the package.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1477 632fc199-4ca6-4c93-a231-07263d6284db
2015-01-07 01:19:49 +00:00
Josh Aas
71441f322e
Get rid of changelog file that we don't update.
2014-12-30 13:59:44 -06:00
Josh Aas
aa20343efd
Update README.md with 3.0 announcement
2014-12-30 13:58:28 -06:00
Frank Bossen
7faa703ebf
Remove unused variables
...
Fixes #142
2014-12-30 08:31:42 +01:00
Josh Aas
e4189accd3
Add instructions for building from release tarball, no autoreconf required.
2014-12-29 18:55:10 -06:00
Frank Bossen
5ba6c7effb
Check range of integer values in PPM text file
...
Add checks in PPM text file reading to make sure values are within the
specified range.
Fixes #141
2014-12-29 19:42:20 +01:00
Frank Bossen
bf506e11b7
Check image size when reading targa file
...
Throw an error when image width or height is 0 when reading a targa file
Solves #140
2014-12-29 18:38:36 +01:00
Frank Bossen
cdb6c34e1c
Fix overflow issue in DCT
...
Replace add/sub with their saturating equivalent to avoid overflow.
Should resolve #139
2014-12-29 18:23:51 +01:00
Frank Bossen
576eef0509
Fix compilation issue
...
Issue arose when C_ARITH_CODING_SUPPORTED was undefined
2014-12-26 17:49:25 -05:00
DRC
f654cf0e2c
AltiVec SIMD implementation of sample conversion and integer quantization
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1474 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-23 04:14:54 +00:00
DRC
70d831dc0d
Document the fact that the AltiVec implementation uses the same modified algorithms as the SSE2 implementation
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1473 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-23 02:42:59 +00:00
DRC
510e67c542
Use intrinsics for loading/storing data in the DCT/IDCT functions. This has no effect on the performance of the aligned loads/stores, but it makes it more obvious what that code is doing. Using intrinsics for the unaligned stores in the inverse DCT functions increases overall decompression performance by 1-2%.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1472 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 16:04:17 +00:00
DRC
243aba148e
AltiVec SIMD implementation of RGB-to-Grayscale color conversion
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1471 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 14:10:33 +00:00
DRC
2a4e7f1bc3
Remove unneeded code; Make sure jccolor-altivec.o will be rebuilt if jccolext-altivec.c changes.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1470 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 13:57:30 +00:00
DRC
6a244cb514
AltiVec SIMD implementation of RGB-to-YCC color conversion
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1469 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 13:42:26 +00:00
DRC
2ee9faef10
Make test a phony target so things don't go haywire if there is a file named test.c in the current directory.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1468 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 13:41:18 +00:00
DRC
a07787f423
Maintain the traditional order of the regression tests while allowing the TurboJPEG and libjpeg portions to be executed separately
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1467 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 13:15:08 +00:00
DRC
ace9d06b9e
Make comments more consistent
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1466 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 01:38:01 +00:00
DRC
752ee33e86
Add a "quicktest" pseudo-target, for those times when you just don't want to sit through 11 iterations of TJUnitTest.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1465 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 01:32:51 +00:00
DRC
d44ffd9db0
Cosmetic tweaks to the PowerPC SIMD stubs
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1464 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 01:10:11 +00:00
DRC
598cd994f3
Split AltiVec algorithms into separate files for ease of maintenance; Rename constants using lowercase so they are not confused with macros
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1463 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-22 01:00:42 +00:00
Frank Bossen
fa628eff6a
Refine rate estimation in trellis quant
...
Account for the more elaborate context modeling used for coding the DC
coefficient differences
2014-12-21 21:36:06 +01:00
Frank Bossen
933289f509
Clean up trellis code
...
Avoid code duplication in computation of DC delta rate in trellis
quantization for arithmetic coding
2014-12-21 12:46:43 +01:00
Frank Bossen
888d4075ee
Refine rate estimate in trellis
...
Take into account cutoff parameter to switch between sets of contexts
for rate estimation in arithmetic coding version of trellis quantization
2014-12-21 10:38:50 +01:00
Frank Bossen
4802ddd7f7
Partial fix for #138
...
Initial implementation of trellis quantization for arithmetic coding.
The rate computation does not yet implement all rules of the entropy
coder and may thus be suboptimal.
2014-12-21 01:52:41 +01:00
Josh Aas
9d8efde83b
Take upstream r1455 to fix issue #95 .
2014-12-20 13:21:16 -06:00
DRC
ddd54ff8a8
Optimizations to the AltiVec DCT algorithms (pre-compute constants and combine multiply/add operations)
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1462 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-20 03:32:59 +00:00
Frank Bossen
8a178239bd
Partial fix for #138
...
Fix pass number computation in scan optimization to support case where
Huffman table optimization is not done, e.g. when arithmetic coding is
used
Enable combination of arithmetic coding and scan optimization
(previously disabled)
2014-12-20 04:23:39 +01:00
Frank Bossen
6c08ceb2ef
Temp fix for #138
...
Disable scan optimization and trellis quantization when arithmetic
coding is used
2014-12-20 04:03:14 +01:00
DRC
0d435698f4
AltiVec SIMD implementation of slow integer inverse DCT
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1461 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-20 01:17:39 +00:00
DRC
63c1674ebc
Use macros to allocate constants statically, rather than reading them from a table using vec_splat*(). This improves code readability and probably improves performance a bit as well.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1460 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-20 01:16:26 +00:00
DRC
864600d707
Swap the order of the IFAST and ISLOW FDCT functions so that it matches the order of the prototypes in jsimd.h and the stubs in jsimd_powerpc.c.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1459 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-20 01:14:38 +00:00
Frank Bossen
4ac7101056
No scan opt if custom scan
...
Disables scan pattern optimization (JBOOLEAN_OPTIMIZE_SCANS extension
parameter) if a custom scan pattern is provided.
Fixes #137
2014-12-20 00:48:07 +01:00
DRC
4efb529bb7
Include ARMv8 binaries when generating a combined OS X/iOS package using 'make iosdmg'
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1458 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:28:00 +00:00
DRC
f8e8039204
In the output of the configure script, indicate whether gas-preprocessor.pl is being used along with the assembler.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1457 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:25:03 +00:00
DRC
aa805bc89f
Modify the ARM64 assembly file so that it uses only syntax that the clang assembler in XCode 5.x can understand. These changes should all be cosmetic in nature-- they do not change the meaning or readability of the code nor the ability to build it for Linux. Actually, the code is now more in compliance with the ARM64 programming manual. In addition to these changes, there were a couple of instructions that clang simply doesn't support, so gas-preprocessor.pl was modified so that it now converts those into equivalent instructions that clang can handle.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1456 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:23:52 +00:00
DRC
81a64020e3
Remove reference to install.txt, which we do not include from the IJG distribution
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1455 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:19:31 +00:00
DRC
1fd5232cb6
Document that the ARMv8/iOS issues are now fixed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1454 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:18:46 +00:00
DRC
9af41ac451
Remove reference to install.txt, which we do not include from the IJG distribution
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1453 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 18:07:04 +00:00
Josh Aas
ed363b90ec
Merge pull request #136 from tony2001/master
...
port upstream fix for local buffer overflow
2014-12-19 11:45:08 -06:00
DRC
6b4fa1bba7
Include ARMv8 binaries when generating a combined OS X/iOS package using 'make iosdmg'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1452 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 17:34:30 +00:00
DRC
376fac2dc8
In the output of the configure script, indicate whether gas-preprocessor.pl is being used along with the assembler.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1451 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 15:40:21 +00:00
DRC
a05011ddbc
Modify the ARM64 assembly file so that it uses only syntax that the clang assembler in XCode 5.x can understand. These changes should all be cosmetic in nature-- they do not change the meaning or readability of the code nor the ability to build it for Linux. Actually, the code is now more in compliance with the ARM64 programming manual. In addition to these changes, there were a couple of instructions that clang simply doesn't support, so gas-preprocessor.pl was modified so that it now converts those into equivalent instructions that clang can handle.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1450 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 15:36:39 +00:00
DRC
a546be5141
Add iOS architectures to the shared libraries generated by the Mac/iOS packaging system. I have no idea how useful this is for "standard" iOS application development, but it is useful in a jailbreak environment, and iOS 8 supposedly allows shared libs in "official" apps as well.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1448 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 10:46:00 +00:00
DRC
b4ecf9c867
Add iOS architectures to the shared libraries generated by the Mac/iOS packaging system. I have no idea how useful this is for "standard" iOS application development, but it is useful in a jailbreak environment, and iOS 8 supposedly allows shared libs in "official" apps as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1447 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 10:44:09 +00:00
DRC
75ca8cf867
1.4.0
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1446 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-19 09:35:11 +00:00
DRC
c7dadd2d0b
AltiVec SIMD implementation of fast integer inverse DCT
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1445 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-18 10:12:29 +00:00
DRC
7475e59637
Further cleanup of the AltiVec forward DCT code:
...
-- Use macros to represent the fast FDCT constants, to facilitate comparing the AltiVec implementation of the algorithm with the SSE2 implementation.
-- Rename slow FDCT constants for consistency.
-- Use vec_sra() in all cases in the slow FDCT code. The SSE2 implementation uses psraw, which is an arithmetic shift, so we need to do likewise with AltiVec. Using vec_sr() hasn't caused any problems yet, but it is conceivable that it might cause different behavior in certain corner cases.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1444 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-18 09:49:39 +00:00
DRC
25e40dc42c
AltiVec SIMD implementation of slow integer forward DCT; Clean up fast integer forward DCT code so that it is easier to see how it derives from the SSE2 code and to make it play more nicely with the slow FDCT code.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1443 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-17 08:04:39 +00:00
DRC
296c8bad7e
Fix cosmetic issues in AltiVec comments
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1442 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-17 08:00:29 +00:00
Frank Bossen
8b7ffebe42
Fix filename in C file header
2014-12-17 07:53:18 +09:00
Frank Bossen
a6b1bda094
Consider vertical gradient in DC trellis
...
Add extension parameter JFLOAT_TRELLIS_DELTA_DC_WEIGHT that controls
how distortion is calculated in DC trellis quantization. The parameter
defines weighting between actual distortion of DC and distortion of
vertical gradient of DC.
By default the parameter is 0.0 and has no effect.
Addresses #117
2014-12-17 07:51:12 +09:00
Antony Dovgal
a06aeb25f2
port upstream fix for local buffer overflow
...
r1425
Fix Huffman local buffer overrun discovered by Debian developers when
attempting to transform a junk image using ImageMagick:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768369
2014-12-16 13:52:33 +03:00
DRC
fa01dcb519
Partially fix 'make dist'
...
This incorporates an upstream fix to add jdmrg565.c to the tarball created
by 'make dist', as well as a fix to add the new jcmaster.h file to same. There
are still some mozjpeg-specific files that aren't added when doing 'make dist'.
I'll let someone else worry about those. This patch mainly ensures that any
files that might be eventually adopted upstream are included.
2014-12-14 06:00:40 -06:00
DRC
166aa51f5f
Merge pull request #134 from dcommander/unit_test_fixes
...
Unit test fixes
2014-12-14 05:52:36 -06:00
DRC
37d08441ab
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1441 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-14 11:47:49 +00:00
DRC
6b99f99b88
Fix 'make dist'
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1440 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-14 11:47:08 +00:00
DRC
3bc0839d7f
Restore full bitwise compatibility with libjpeg-turbo when -revert is used
...
mozjpeg should produce identical output to libjpeg-turbo when the JCP_FASTEST
compression profile is used. That means that that profile needs to revert to
the default libjpeg quantization/Huffman tables as well as disable mozjpeg's
duplicate table checking feature. This patch also adds -revert to any instance
of cjpeg and jpegtran called by 'make test' (or ctest on Windows), so that
those tests actually work again. The tests aren't useful for regression
testing the mozjpeg extensions, but at least they can now be used to regression
test the underlying code.
2014-12-14 05:31:57 -06:00
DRC
7432a53e2b
Introduce a TJ_REVERT environment variable, which reverts the behavior of the TurboJPEG API to libjpeg[-turbo] defaults.
...
This serves the same purpose as the -revert switch in cjpeg. It is primarily
included for testing purposes.
2014-12-14 04:43:02 -06:00
DRC
f645002fb6
Fix double free of cinfo->master caused by the extension framework modifications
...
There was an oversight in the extension framework. jpeg_start_compress() can
be called multiple times between the time that a compress structure is created
and the time it is destroyed. If this happened, then the following sequence
would occur:
-- heap alloc of master struct within jpeg_create_compress()
-- heap free of master struct within jinit_c_master_control()
-- static alloc of extended master struct (JPOOL_IMAGE) within
jinit_c_master_control()
-- free extended master struct in jpeg_finish_compress()
-- jinit_c_master_control() now sees that cinfo->master is set and tries to
free it, even though it has already been freed. Chaos ensues.
The fix involved breaking out the extended master struct into a header so that
jpeg_create_compress() can go ahead and allocate it to the correct size, thus
eliminating the need to free and reallocate it in jinit_c_master_control().
Further, the master struct is now created in the permanent pool, so it will
survive until the compression struct is destroyed. Further,
jinit_c_master_control() now resets all fields in the master struct that
are not related to the extension parameters.
2014-12-14 03:59:44 -06:00
fbossen
0123dd2472
Merge pull request #133 from dcommander/jpeg_set_compress_profile
...
Change JBOOLEAN_USE_MOZ_DEFAULTS to an integer parameter
2014-12-14 17:21:21 +09:00
DRC
668bb847d5
Rename jccompat.c to jcext.c
...
"jcext" is a bit more descriptive, since this code is primarily intended to
extend the libjpeg API. It does so in a backward-ABI-compatible manner, but
"jccompat" could be misinterpreted to mean that the code is providing backward
compatibility at the code level..
2014-12-14 02:02:26 -06:00
DRC
3e2cf6909c
Convert JBOOLEAN_USE_MOZ_DEFAULTS into an integer "compression profile" parameter
...
This eliminates JBOOLEAN_USE_MOZ_DEFAULTS and replaces it with
JINT_COMPRESS_PROFILE, a more flexible and descriptive parameter. Currently,
this new parameter works in much the same way as the old-- it changes the
behavior of jpeg_set_defaults(). It currently supports only two values
(max. compression, i.e. mozjpeg defaults, and fastest, i.e. libjpeg-turbo
defaults), but it can be extended in the future with additional profiles that
balance compression ratio with performance.
2014-12-14 01:56:26 -06:00
Frank Bossen
f8dd3830eb
Fix trellis / no Huffman opt combination
...
Enabling trellis and disabling Huffman table optimization was causing a
"Bogus buffer control mode" error as reported in #111
2014-12-09 21:24:53 -05:00
Frank Bossen
c51334f4d0
Add clarification re usage of scan optimization
2014-12-09 16:22:40 -05:00
DRC
da6b7c2ede
Fix typos in test names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1439 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-08 23:23:41 +00:00
DRC
779f5622aa
Fix typos in test names
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1438 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-08 23:22:53 +00:00
Josh Aas
6d172465cc
Drop executable bit for README-turbo.txt
2014-12-08 13:28:32 -06:00
Frank Bossen
fa6d5a29da
Check quantization table index
...
Fixes #130
2014-12-07 23:10:52 -05:00
Frank Bossen
79929eae12
Fix argument name mismatch #128
2014-12-07 23:10:52 -05:00
Josh Aas
ef62d51374
Merge pull request #126 from dcommander/doc-tweaks
...
Tweak mozjpeg README file
2014-12-07 11:18:20 -06:00
Josh Aas
2c19e8cb79
Merge pull request #131 from tmatth/unused_but_set
...
jpegyuv: fix unused but set warning
2014-12-07 10:30:52 -06:00
Josh Aas
00ace7679a
Bump mozjpeg version to 3.0
2014-12-07 10:15:45 -06:00
Tristan Matthews
775862809b
jpegyuv: fix unused but set warning
2014-12-07 02:49:17 -05:00
Kornel Lesiński
0cbef40560
Remove unused code
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1436 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-05 01:36:34 +00:00
Kornel Lesiński
aed7d4661e
Fix build when INPUT_SMOOTHING_SUPPORTED is undefined
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1434 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-05 01:36:27 +00:00
DRC
bbaa3afe23
Wordsmith mozjpeg README file
...
This includes more descriptive text for the project summary (the same
text that is in the package descriptions), a more thorough description of the
libjpeg API extensibility framework, reformatting to improve readability
(particularly on 80-column terminals), and numerous grammar tweaks.
2014-12-01 15:50:00 -06:00
DRC
727fbf0183
Remove unused code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1437 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-01 20:13:12 +00:00
DRC
41d4acba88
Fix build when INPUT_SMOOTHING_SUPPORTED is undefined
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1435 632fc199-4ca6-4c93-a231-07263d6284db
2014-12-01 19:54:15 +00:00
Frank Bossen
413ac73d98
Add documentation for mozjpeg
...
A brief explanation is provided for the parameters introduced in
mozjpeg
2014-11-29 19:20:33 -05:00
Frank Bossen
faa4c44453
Use single parameter for DC scan opt mode
...
JBOOLEAN_ONE_DC_SCAN and JBOOLEAN_SEP_DC_SCAN are merged into a single
parameter JINT_DC_SCAN_OPT_MODE
Default behavior is modified to use one DC scan per component
2014-11-29 19:15:46 -05:00
Frank Bossen
5dae26de7c
Remove access to parameter that shouldn't be exposed
2014-11-28 15:06:30 -05:00
Frank Bossen
2a41c84487
Fix C comment style
2014-11-28 08:10:20 -05:00
Frank Bossen
675ad04262
Merge branch 'qtable'
...
Conflicts:
jcparam.c (resolved)
2014-11-27 16:16:35 -05:00
Frank Bossen
30ef0977be
Clean up qtable code and change defaults
2014-11-27 16:11:57 -05:00
DRC
de852420c0
Some software also needs the FAR macro. Ugh. Also wordsmithing.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1433 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-25 10:09:33 +00:00
DRC
f854e668e6
Some software also needs the FAR macro. Ugh. Also wordsmithing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1432 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-25 10:07:43 +00:00
DRC
c1afc7921d
Restore the JPP() and JMETHOD() macros. Even though libjpeg-turbo doesn't use them anymore, other software apparently does:
...
https://bugzilla.redhat.com/show_bug.cgi?id=1164815
https://bugs.kde.org/show_bug.cgi?id=340944
https://bugzilla.mozilla.org/show_bug.cgi?id=1093615
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1431 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-25 09:48:54 +00:00
DRC
86496e9b58
Restore the JPP() and JMETHOD() macros. Even though libjpeg-turbo doesn't use them anymore, other software apparently does:
...
https://bugzilla.redhat.com/show_bug.cgi?id=1164815
https://bugs.kde.org/show_bug.cgi?id=340944
https://bugzilla.mozilla.org/show_bug.cgi?id=1093615
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1430 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-25 09:48:15 +00:00
fbossen
c5c47edfd2
Merge pull request #123 from dcommander/cjpeg-djpeg-jpegtran-version
...
Print the library version and exit whenever -version is passed to cjpeg, djpeg, or jpegtran
2014-11-24 16:59:54 -05:00
DRC
9fb04f5945
Oops. Include the tjPlane*() functions in the mapfile so that they are exposed in the shared library on ELF systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1429 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 23:56:26 +00:00
DRC
a9cad80d19
Oops. Include the tjPlane*() functions in the mapfile so that they are exposed in the shared library on ELF systems.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1428 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 23:55:25 +00:00
DRC
1d3037ebe1
Fix Huffman local buffer overrun discovered by Debian developers when attempting to transform a junk image using ImageMagick:
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768369
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1426 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 22:09:30 +00:00
DRC
3d30031772
Fix Huffman local buffer overrun discovered by Debian developers when attempting to transform a junk image using ImageMagick:
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768369
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1427 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 22:24:41 +00:00
DRC
f03d5df238
Fix Huffman local buffer overrun discovered by Debian developers when attempting to transform a junk image using ImageMagick:
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768369
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1425 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 22:07:05 +00:00
DRC
f20cba1bb0
Print the library version and exit whenever -version is passed to cjpeg, djpeg, or jpegtran.
2014-11-21 22:26:15 -06:00
DRC
0e9c14e1bb
Fix whitespace issues introduced with previous commit.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1424 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 04:25:42 +00:00
DRC
b7178cee71
Fix whitespace issues introduced with previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1423 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 04:25:04 +00:00
DRC
63645d9161
Print the library version and exit whenever -version is passed to cjpeg, djpeg, or jpegtran.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1422 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 04:04:38 +00:00
DRC
602f5bea74
Print the library version and exit whenever -version is passed to cjpeg, djpeg, or jpegtran.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1421 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-22 04:03:21 +00:00
DRC
10c3e5d44e
Make TJCompressor.close() and TJDecompressor.close() idempotent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1420 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-21 15:35:33 +00:00
DRC
ea3df2f662
Sometimes the sampling factors in grayscale images can be > 1 (for instance, if compressing using 'cjpeg -sample 2x2 -grayscale'.) Technically, sampling factors have no meaning with grayscale JPEGs, and the libjpeg decompressor ignores them in that case. Thus, the TurboJPEG decompressor should ignore them as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1419 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-21 15:33:19 +00:00
fbossen
f46c7875dd
Merge pull request #122 from dcommander/mozjpeg-defaults
...
Use mozjpeg defaults by default
2014-11-20 15:38:58 -05:00
DRC
9cb270a216
Use mozjpeg defaults by default
...
Since mozjpeg is now backward ABI-compatible with libjpeg[-turbo], it is now
possible to temporarily load mozjpeg into a binary application and cause that
application to generate uber-compressed JPEGs (at the expense of an extreme
performance loss, of course.) For instance, someone could do
LD_LIBRARY_PATH=/opt/mozjpeg/lib convert blah_blah_blah
to make ImageMagick use mozjpeg instead of the system's pre-installed JPEG
library (libjpeg-turbo, in most cases.) However, this only makes sense if
mozjpeg is actually producing different behavior by default than libjpeg-turbo.
Currently it isn't. Currently it requires the application to set
JBOOLEAN_USE_MOZ_DEFAULTS to TRUE in order to enable the mozjpeg-specific
behavior, but of course applications that were built to use libjpeg[-turbo]
won't do that. Thus, this patch sets use_moz_defaults to TRUE by default,
requiring an application to explicitly set it to FALSE in order to revert to
the libjpeg[-turbo] behavior (makes sense, since the only applications that
would need to revert to the libjpeg[-turbo] behavior would be mozjpeg-aware
applications.)
Note that we discussed the possibility of adding a function
(jpeg_revert_defaults()), which would act the same as jpeg_set_defaults() does
in libjpeg[-turbo]. This is a good solution for implementing the -revert
switch in cjpeg, but unfortunately it doesn't work for jpegtran. The reason
is that jpeg_set_defaults() is called within the body of
jpeg_copy_critical_parameters(), which is part of the API. So yet again,
if mozjpeg were loaded into a non-mozjpeg-aware application at run time, it
would be desirable for jpeg_copy_critical_parameters() to set the parameters
to mozjpeg defaults. That means that, in order to implement the -revert
switch in jpegtran, it would be necessary to introduce a new function
(jpeg_revert_critical_parameters(), perhaps). It seems cleaner to just keep
using the JBOOLEAN_USE_MOZ_DEFAULTS parameter to control the behavior of
jpeg_set_defaults(), even though this represents a minor abuse of the libjpeg
API (jpeg_set_defaults() is technically supposed to set all of the parameters
to defaults, irrespective of any previous state. However, as long as we
document that JBOOLEAN_USE_MOZ_DEFAULTS works differently, then it should be
OK.)
2014-11-19 23:31:20 -06:00
DRC
d1e39740b2
Sometimes the sampling factors in grayscale images can be > 1 (for instance, if compressing using 'cjpeg -sample 2x2 -grayscale'.) Technically, sampling factors have no meaning with grayscale JPEGs, and the libjpeg decompressor ignores them in that case. Thus, the TurboJPEG decompressor should ignore them as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1418 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-19 00:55:28 +00:00
DRC
24ad6a0179
Sometimes the sampling factors in grayscale images can be > 1 (for instance, if compressing using 'cjpeg -sample 2x2 -grayscale'.) Technically, sampling factors have no meaning with grayscale JPEGs, and the libjpeg decompressor ignores them in that case. Thus, the TurboJPEG decompressor should ignore them as well.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1417 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-19 00:54:39 +00:00
Josh Aas
e6dd72874e
Merge pull request #121 from dcommander/libjpeg-turbo-diff-review
...
Documentation and code cleanup from DRC
2014-11-18 17:58:36 -06:00
DRC
c77eb27cb1
Make TJCompressor.close() and TJDecompressor.close() idempotent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1416 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-18 21:45:34 +00:00
DRC
60ba1963fe
Make TJCompressor.close() and TJDecompressor.close() idempotent
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1415 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-18 21:45:02 +00:00
DRC
7139f6c961
Uses clz and bsr instructions for bit counting on ARM64 platforms as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1414 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-18 15:56:43 +00:00
DRC
f7067a9e73
Uses clz and bsr instructions for bit counting on ARM64 platforms as well.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1413 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-18 15:53:34 +00:00
Josh Aas
445d9b4196
Merge pull request #120 from pornel/libjpeg-turbo
...
Libjpeg turbo sync
2014-11-17 22:52:38 -06:00
Frank Bossen
f3db724c2d
Merge branch 'master' into qtable
...
Conflicts:
cjpeg.c
jcdctmgr.c
jcparam.c
jpeglib.h
rdswitch.c
2014-11-12 14:15:12 -10:00
Frank Bossen
a8e56d39e5
Merge pull request #119
...
Define constant for number of DC trellis candidates
2014-11-12 13:37:53 -10:00
fbossen
1c5a481dfa
Merge pull request #118 from dcommander/master
...
Backward ABI compatibility with libjpeg-turbo
2014-11-12 13:31:34 -10:00
Kornel Lesiński
3554fdb9cf
Merge branch 'libjpeg-turbo'
...
* libjpeg-turbo:
Remove trailing spaces
Another oops. tjBufSizeYUV2() should return -1 if width < 1.
Oops. tjPlaneSizeYUV() should return -1 if componentID > 0 and subsamp==TJSAMP_GRAY.
The AltiVec code actually works on 32-bit PowerPC platforms as well, so change the "powerpc64" token to "powerpc". Also clean up the shift code, which wasn't building properly on OS X.
AltiVec SIMD implementation of fast forward DCT
Bump version to 1.5 alpha1 to prepare for new features
When building libjpeg-turbo on Un*x systems, INT32 is usually typedef'ed to long, not int, so we need to specify an int pointer when doing a 4-byte write to the RGB565 output buffer. On little endian systems, this doesn't matter, but when you write a 32-bit int to a 64-bit long pointer address on a big endian system, you are writing to the upper 4 bytes, not the lower 4 bytes. NOTE: this will probably break on big endian systems that use 16-bit ints (are there any of those still around?)
Fix Windows build
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines are now abstracted in a separate file, with separate little-endian and big-endian versions defined at compile time through the use of macros (this is similar to how the colorspace extension routines work.) This allows big-endian machines to take advantage of the same performance optimizations as little-endian machines, and it retains the performance on little-endian machines, since the conditional branch for endianness is at a very coarse-grained level.
Fix build on OS X PowerPC platforms
Oops. Forgot to alter the version header in the change log to indicate the release of 1.4 beta.
2014-11-08 16:36:45 +00:00
DRC
da5d474c11
Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1412 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-06 09:32:38 +00:00
DRC
e3ce6852a6
Remove trailing spaces
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1411 632fc199-4ca6-4c93-a231-07263d6284db
2014-11-06 09:32:06 +00:00
DRC
3c85fc4bb1
Document the fact that the "age number" of the mozjpeg version of libjpeg is one higher (because it introduces new functions into the API)
2014-11-06 01:49:14 -06:00
DRC
017339f715
Change name of Mac package to com.mozilla.mozjpeg to avoid conflicts with libjpeg-turbo Mac package
2014-11-06 01:40:12 -06:00
DRC
63eb69de62
Remove unused code in TJBench
...
The merge from libjpeg-turbo 1.4 somehow failed here, and this function from
1.3 was left hanging.
2014-11-06 01:30:06 -06:00
DRC
ebc7c3a760
Reconcile indentation, whitespace, and other code formatting with libjpeg-turbo.
...
For whatever reason, some of these files didn't get fully merged from
libjpeg-turbo 1.4. They still contained tab characters and other formatting
conventions from libjpeg-turbo 1.3. This patch also fixes some obvious
indentation errors in the mozjpeg-specific code. There is more formatting work
that needs to be done to the mozjpeg-specific code, to fix line overruns,
incorrect operator whitespace, and other issues that make it not consistent
with the libjpeg/libjpeg-turbo code.
2014-11-06 01:14:11 -06:00
DRC
5f1960f38c
Fix a buglet introduced in the libjpeg-turbo changelog by mozjpeg
2014-11-05 20:54:20 -06:00
DRC
6b236241d2
Change "libmozjpeg" to "mozjpeg" in packaging and install functions
...
This might be slightly more controversial, since it changes the CMake and
autotools project names and the binaty package names to "mozjpeg", and it
changes the default install directory to /opt/mozjpeg. To me, this makes much
more sense, but it does represent a change in operational behavior, which is
why I put it in a separate commit.
2014-11-05 20:47:54 -06:00
DRC
4618c247df
Various wordsmithing and cosmetic changes to remove libjpeg-turbo-specific information
...
This patch does the following:
-- Implements some (hopefully non-controversial) changes to the package
descriptions, in order to prevent confusion (the existing descriptions from
libjpeg-turbo are not appropriate for mozjpeg.)
-- Replaces "libmozjpeg" with "mozjpeg" in all documentation and comments. The project is called "mozjpeg", and it doesn't actually generate a library called
"libmozjpeg", so it doesn't make sense to use "libmozjpeg" to describe it.
-- Replaces "MozJPEG" with "TurboJPEG" in all documentation and comments.
"MozJPEG" appears to have been the product of blindly searching/replacing
instances of "Turbo". TurboJPEG is the name of the API, and that name still
applies to the implementation in mozjpeg. Furthermore, the TurboJPEG libraries
are still called "libturbojpeg" in mozjpeg.
-- Attempts to remove build instructions that are irrelevant or not applicable
to mozjpeg. Further work possibly needs to be done here-- for instance, it
doesn't make much sense to have build instructions for mobile devices when the
library is not intended to be used for decoding.
-- Changes the vendor in the DEB and RPM files from "The libmozjpeg Project" to
"Mozilla Research".
-- Changes the source tarball location in the RPM spec file to correctly point
to the release tarball on github.
-- Changes the source directory in the RPM spec file to "mozjpeg-%{version}",
which is the actual name of the source directory in the mozjpeg tarballs.
2014-11-05 20:10:37 -06:00
DRC
7e27264523
Use tabs in the DLL definition files, per Microsoft conventions.
2014-11-05 17:17:04 -06:00
DRC
644fbcef01
Update the example code to demonstrate the use of the new extension parameter
...
accessor function.
2014-11-05 10:57:25 -06:00
DRC
90f94c9ec8
Rebase the DLL function ordinals for the ABI compatibility accessor functions.
...
The ABI compatibility feature was developed by the current maintainer of
libjpeg-turbo with an eye toward eventual inclusion in libjpeg-turbo (once
other features are added to libjpeg-turbo that necessitate the inclusion.)
Thus, it is easy to ensure that the DLL function ordinals will be synchronized
between libjpeg-turbo and mozjpeg. However, it still makes sense to allow for
a little bit of breathing room, just in case. Thus, this patch uses ordinals
starting at 200 for the accessor functions. It would probably make sense to
start the equivalent decompressor get/set functions at ordinal 300, once they
are implemented.
2014-11-05 02:37:41 -06:00
DRC
29165500c9
Fix build error encountered when using MS Visual C++ (it doesn't support C99) -- at least not the version of MSVC++ I'm using.)
2014-11-04 01:59:19 -06:00
DRC
db2986c96f
Restore backward ABI compatibility with libjpeg/libjpeg-turbo by moving the mozjpeg-specific parameters into the opaque jpeg_comp_master struct and implementing generic accessor functions for getting/setting those parameters. These functions can be used upstream, if the need for them arises in libjpeg-turbo, and they can also be easily extended to cover future extensions to the decompressor. Note that, in order to use jpeg_comp_master as a repository for extension parameters, cinfo->master is now allocated within the body of jpeg_CreateCompress(). It is later re-allocated in jinit_c_master_control(), because that function (and others in jcmaster.c) use an extended form of jpeg_comp_master, but the existing extension parameters are copied into the new master instance. Similar modifications would need to be made to the decompressor to support the same type of extension framework.
2014-11-04 01:58:52 -06:00
Frank Bossen
7b008bdf12
Add switch to cjpeg to select quant table
...
Replace -flat command line argument with more generic -quant_table
argument that selects one of several predefined quantization tables
2014-10-30 15:13:13 +01:00
Frank Bossen
8a12b6a6a0
Adjust lambda parameters
...
Parameters were retuned for grayscale and quality range 0-100
2014-10-30 14:52:41 +01:00
Frank Bossen
02fc068dc8
Add quantization tables
...
Add various quantization tables suggested in #84
Still need to do chroma
2014-10-29 16:10:48 +01:00
DRC
c42b9ca3ef
Another oops. tjBufSizeYUV2() should return -1 if width < 1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1410 632fc199-4ca6-4c93-a231-07263d6284db
2014-10-23 19:08:14 +00:00
DRC
338ac421d7
Another oops. tjBufSizeYUV2() should return -1 if width < 1.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1409 632fc199-4ca6-4c93-a231-07263d6284db
2014-10-23 19:07:25 +00:00
DRC
86d57c6787
Oops. tjPlaneSizeYUV() should return -1 if componentID > 0 and subsamp==TJSAMP_GRAY.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1408 632fc199-4ca6-4c93-a231-07263d6284db
2014-10-23 18:54:42 +00:00
DRC
1083a3bffb
Oops. tjPlaneSizeYUV() should return -1 if componentID > 0 and subsamp==TJSAMP_GRAY.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1407 632fc199-4ca6-4c93-a231-07263d6284db
2014-10-23 18:53:20 +00:00
Frank Bossen
e581ede148
Fix mixed code/declarations
2014-09-30 11:22:08 -04:00
Frank Bossen
36b2fecd0c
Merge branch 'floatovershoot' of https://github.com/pornel/mozjpeg into pornel-floatovershoot
...
Conflicts:
jcdctmgr.c (resolved)
2014-09-30 10:57:09 -04:00
Frank Bossen
83d6a8e643
Add new quantization tables
...
New quantization tables tuned for PSNR-HVS are added.
Per-coefficient lambda weights are now derived based on the
quantization table entries.
2014-09-30 10:24:52 -04:00
Josh Aas
9de0e03f2f
Merge pull request #108 from pornel/c89
...
C89 compat
2014-09-25 13:51:43 -05:00
Kornel Lesiński
873b390172
C89 compat
2014-09-25 10:11:45 -07:00
Kornel
6948e6c2bf
Merge pull request #105 from dwbuiten/windowsfixes
...
Windows Fixes
2014-09-16 11:45:55 +01:00
Derek Buitenhuis
d81d671d36
Windows: Add jpeg_float_quality_scaling to exported symbols
...
Windows requires exported symbols to be explicitly declared.
Also, use a very large ordinal number so that any future symbols
added by IJG or TurboJPEG will not break ABI.
Fixes #104 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2014-09-16 10:45:45 +01:00
Derek Buitenhuis
7434b5eb2f
Fix permissions on Windows-only files
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2014-09-16 10:43:43 +01:00
fbossen
bf061b4a1c
Merge pull request #101 from pornel/splinederinging
...
Deringing via overshoot clipping
2014-09-15 08:18:34 -04:00
Kornel Lesiński
d0755fa501
Estimate maximum useful overshoot from quantization table
2014-09-15 00:11:29 +01:00
Josh Aas
c88ce1aa16
Merge pull request #103 from pornel/dctargfix
...
Added missing braces
2014-09-14 09:30:10 -05:00
Kornel Lesiński
c629ccd7d9
Added missing braces
2014-09-14 14:14:30 +01:00
Frank Bossen
41ebea736d
Make provisions for more default quant tables
2014-09-09 16:06:32 -04:00
Kornel Lesiński
2db4ee73ff
C89 compatibility
2014-09-08 20:08:08 +01:00
Kornel Lesiński
bda865e181
Merge remote-tracking branch 'mozilla/master' into HEAD
2014-09-08 20:07:46 +01:00
Josh Aas
a914cb2d9f
Merge pull request #102 from pornel/turbo
...
Libjpeg-turbo merge
2014-09-08 10:31:21 -05:00
Kornel Lesiński
9f785697e4
Script for git-svn reinitialization
2014-09-07 20:50:07 +01:00
Kornel Lesiński
662bf6ba7b
Merge libjpeg-turbo r1390
...
* commit '73edb3d734a628fd88994bc974dc6737a58bd956': (45 commits)
Rename the ARM64 assembly file to match the C file
Fix several mathematical issues discovered in the ARM64 NEON code while running the extended regression tests introduced in r1267. Specific comments can be found in the original patches: https://sourceforge.net/p/libjpeg-turbo/patches/64/
Reformat code per Siarhei's original patch (to clearly indicate that the offset instructions are completely independent) and add Siarhei as an individual author (he no longer works for Nokia.)
Clarify forward compatibility of iOS/ARM builds
ARM64 NEON SIMD support for YCC-to-RGB565 conversion
ARM NEON SIMD support for YCC-to-RGB565 conversion, and optimizations to the existing YCC-to-RGB conversion code:
Ensure that tjFree() is used for any JPEG buffers that might have been dynamically allocated by the compress/transform functions. To keep things simple, we use tjAlloc() for the statically-allocated buffer as well, so that tjFree() can always be used to free the buffer, regardless of whether it was allocated by tjbench or by the TurboJPEG library. This fixes crashes that occurred on Windows when running tjunittest or tjbench with the -alloc flag.
Revert r1335 and r1336. It was a valiant effort, but on Windows, xmm8-xmm15 are non-volatile, and the overhead of pushing them onto the stack at the beginning of each function and popping them at the end was causing worse performance (in the neighborhood of 3-5%) than just using the work areas and limiting the register usage to xmm0-xmm7. Best to leave the SSE2 code alone. We can optimize the register usage for AVX2, once that port takes place.
Windows doesn't have setenv(). Go, go Gadget Macros.
1.4 beta1
Fix 'make dist'
Don't use sudo when building a Debian package unless the user is non-root
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.
.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail (http://llvm.org/bugs/show_bug.cgi?id=20424 ).
Extend tjbenchtest so that it tests the dynamic JPEG buffer allocation feature in TurboJPEG. Disable the tiling feature in TJBench whenever dynamic buffer allocation is enabled (because the tiling feature requires a separate buffer for each tile, using it successfully with dynamic buffer allocation would require a separate TurboJPEG compressor instance for each tile, and it's not worth going to that trouble right now.)
Run the TurboJPEG conformance tests out of a directory in /tmp (for improved performance, if the source directory is on a remote file share.) Fix an issue in TJBench.java that prevented it from working properly if the source image resided in a directory with a dot in the name.
Oops
Subtle point, but dest->outbuffer is a pointer to the address of the JPEG buffer, which is stored in the calling program. Thus, *(dest->outbuffer) will always equal *outbuffer. We need to compare *outbuffer with dest->buffer instead to determine if the pointer is being reused.
If the output buffer in the TurboJPEG destination manager was allocated by the destination manager and is being reused from a previous compression operation, then we need to get the buffer size from the previous operation, since the calling program doesn't know the actual buffer size.
Actually, we need to increase the size of BUFSIZE, not just the size of _buffer. The previous patch might have cause problems if, for instance, state->free_in_buffer was 127 but 129 bytes were compressed. In that case, only 127 of the 129 bytes would have been written to the file. Also document the fix.
...
Conflicts:
CMakeLists.txt
Makefile.am
configure.ac
jcdctmgr.c
release/deb-control.tmpl
sharedlib/CMakeLists.txt
simd/CMakeLists.txt
turbojpeg.c
2014-09-07 18:21:19 +01:00
Kornel Lesiński
a7eb278df1
Merge mozjpeg into libjpeg-turbo
...
* origin/master: (23 commits)
Update .gitignore
.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail (http://llvm.org/bugs/show_bug.cgi?id=20424 ).
Enable DC trellis by default
Avoid double inline attribute
Detect libpng
Implement DHT Merging
Add .gitignore for autotools files
Check memory alloc success
Update cjpeg usage text
Implement DQT merging
Fix issue with scan printout
Get rid of unnecessary and obsolete platform configuration instructions.
Add error checks for malloc calls that don't already have them. Issue #87 .
yuvjpeg: fix trivial leak
Parse quality as float
PNG reading support
Fix issue with DC trellis
Add option to split DC scans
Add trellis for DC
Bump version to 2.1.
...
Conflicts:
BUILDING.txt
cdjpeg.h
jcdctmgr.c
jchuff.h
jcmarker.c
jcmaster.c
jconfig.txt
jpeglib.h
rdswitch.c
2014-09-07 18:20:38 +01:00
Kornel Lesiński
71539b3e13
Merge libjpeg-turbo r1325
...
* commit 'b8d044a666056d4d8d28d7a5d0805ac32b619b36': (58 commits)
Big oops. wrjpgcom on Windows was being built using the rdjpgcom source.
Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters. Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file.
Remove VMS-specific code
Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX.
We don't support non-ANSI C compilers
Allow for building the MIPS DSPr2 extensions if the host is mips-* as well as mipsel-*. The DSPr2 extensions are little endian, so we still have to check that the compiler defines __MIPSEL__ before enabling them. This paves the way for supporting big-endian MIPS, and in the near term, it allows the SIMD extensions to be built with Sourcery CodeBench.
SIMD-accelerated int upsample routine for MIPS DSPr2
Fix MIPS build
libjpeg-turbo has never supported non-ANSI compilers, so get rid of the crufty SIZEOF() macro. It was not being used consistently anyhow, so it would not have been possible to build prior releases of libjpeg-turbo using the broken compilers for which that macro was designed.
Remove MS-DOS code and information, and adjust copyright headers to reflect the removal of features in r1307 and r1308. libjpeg-turbo has never supported MS-DOS, nor is it even possible for us to do so.
Further copyright header cleanup
Further copyright header cleanup
Get rid of the HAVE_PROTOTYPES configuration option, as well as the related JMETHOD and JPP macros. libjpeg-turbo has never supported compilers that don't handle prototypes. Doing so requires ansi2knr, which isn't even supported in the IJG code anymore.
Remove all of the NEED_SHORT_EXTERNAL_NAMES stuff. There is scant information available as to which linkers ever had a 15-character global symbol name limit. AFAICT, it might have been a VMS and/or a.out BSD thing, but none of those platforms have ever been supported by libjpeg-turbo (nor are such systems supported by other open source libraries of this nature.)
Clean up code formatting in the SIMD interface functions
SIMD-accelerated NULL convert routine for MIPS DSPr2
Fix build, which was broken by the checkin of the MIPS DSPr2 accelerated smooth downsampling routine. Until/unless other platforms include SIMD support for that function, it's just easier to #ifdef around it rather than adding stubs for the other platforms.
Fix error in MIPS DSPr2 accelerated smooth downsample routine
SIMD-accelerated h2v2 smooth downsampling routine for MIPS DSPr2
Minor tweak to improve code readability
...
Conflicts:
BUILDING.txt
CMakeLists.txt
Makefile.am
cdjpeg.h
cjpeg.1
cjpeg.c
configure.ac
djpeg.1
example.c
jccoefct.c
jcdctmgr.c
jchuff.c
jchuff.h
jcinit.c
jcmaster.c
jcparam.c
jcphuff.c
jidctflt.c
jpegint.h
jpeglib.h
jversion.h
libjpeg.txt
rdswitch.c
simd/CMakeLists.txt
tjbench.c
turbojpeg.c
usage.txt
wrjpgcom.c
2014-09-07 16:59:11 +01:00
Kornel Lesiński
564022ebda
Merge mozjpeg into libjpeg-turbo
...
* commit '1aa50b71d9453328ad30cce85baaf7ef87864197':
Use precomputed table
Improve floating point DCT
Update doc re: various DCT implementations
Fix build for wrjpgcom
Conflicts:
jchuff.c
2014-09-07 16:51:55 +01:00
Kornel Lesiński
f9d1fcdf6f
Merge libjpeg-turbo r1220
...
* commit '93ddfcfc1a814789ed64d967a6118616753bb9d5': (65 commits)
Use clz/bsr instructions on ARM for bit counting rather than the lookup table (reduces memory footprint and can improve performance in some cases.)
Make iOS build instructions more generic and applicable to all versions of Xcode; modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1.
Update build instructions to reflect the use of pkgbuild/productbuild
Remove any claims of support for OS X 10.4 "Tiger" (the packaging system overhaul produces packages that require Leopard or later, and I haven't been able to test Tiger for years anyhow.) Update TurboJPEG shared library version.
Migrate Mac packaging system to pkgbuild, since PackageMaker is no longer supported.
Remove the sections about replacing libjpeg at run time and compile time. These were written before O/S distributions started shipping libjpeg-turbo, and they are either pedantic or no longer relevant. Also remove any text that assumes the use of our official project binaries. Notes specific to the official binaries have been moved into the project wiki.
Fix Windows build
Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository.
39dbc2db9718f9af2f62eb486fd73328fe8bf5e8
Fix 'make dist'
RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir. Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it.
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC
Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough.
Extend YUVImage class to allow reuse of the same buffer with different metadata; port TJBench changes that treat YUV encoding/decoding as an intermediate step of the JPEG compression/decompression pipeline rather than a separate test case; add YUV encode/decode tests to the Java version of tjbenchtest
formatting tweaks
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet; formatting tweak
Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError.
Generate the Java documentation using javadoc 7, to improve readability.
This should have been checked in with the previous commit.
...
Conflicts:
BUILDING.txt
configure.ac
jversion.h
release/Info.plist.in
release/ReadMe.rtf
tjbench.c
turbojpeg.c
2014-09-07 16:50:54 +01:00
Kornel Lesiński
5d2d1d4c47
Merge mozjpeg into libjpeg-turbo
...
* mozjpeg: (94 commits)
Disable scan optimization if no scan given
Fixed mozjpeg build with Visual C++ 2010
Added few error messages in cjpeg
Fix trellis for nonprogressive mode (#69 )
Bugfix: AM_PROG_AR is not recognized by older automake, so only use it when defined
Bump version number for 2.0, make this version 2.0.1.
Update MS-SSIM tuning
Fix #64
Updating yuvjpeg and jpegyuv to match Daala tools.
Fix #56
Silence compiler warning
Silence compiler warning
Improve support of JPEG input in cjpeg
Fix issue with JPEG read in cjpeg
Add support for JPEG input in cjpeg
Fix #50
Disable trellis in jpegtran
Update version to 2.0pre.
Use single DC scan by default
Add configure check for libm/pow. Fixes Linux build issue.
...
2014-09-07 16:06:59 +01:00
Kornel Lesiński
bdbb0138b9
Merge mozjpeg into libjpeg-turbo
...
* commit '72b66f9c77b3e4ae363b21e48145f635cec0b193':
Initial commit of libjpeg-turbo plus readme edits.
2014-09-07 14:31:24 +01:00
DRC
78c2093bd4
The AltiVec code actually works on 32-bit PowerPC platforms as well, so change the "powerpc64" token to "powerpc". Also clean up the shift code, which wasn't building properly on OS X.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1406 632fc199-4ca6-4c93-a231-07263d6284db
2014-09-05 07:23:12 +00:00
DRC
a2cc95b827
AltiVec SIMD implementation of fast forward DCT
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1405 632fc199-4ca6-4c93-a231-07263d6284db
2014-09-05 06:33:42 +00:00
DRC
7129fc6299
Bump version to 1.5 alpha1 to prepare for new features
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1404 632fc199-4ca6-4c93-a231-07263d6284db
2014-09-04 18:51:31 +00:00
DRC
a97939ec77
When building libjpeg-turbo on Un*x systems, INT32 is usually typedef'ed to long, not int, so we need to specify an int pointer when doing a 4-byte write to the RGB565 output buffer. On little endian systems, this doesn't matter, but when you write a 32-bit int to a 64-bit long pointer address on a big endian system, you are writing to the upper 4 bytes, not the lower 4 bytes. NOTE: this will probably break on big endian systems that use 16-bit ints (are there any of those still around?)
...
This patch also removes an unneeded macro from jdmerge.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1403 632fc199-4ca6-4c93-a231-07263d6284db
2014-09-04 17:35:22 +00:00
DRC
16db1b3f76
When building libjpeg-turbo on Un*x systems, INT32 is usually typedef'ed to long, not int, so we need to specify an int pointer when doing a 4-byte write to the RGB565 output buffer. On little endian systems, this doesn't matter, but when you write a 32-bit int to a 64-bit long pointer address on a big endian system, you are writing to the upper 4 bytes, not the lower 4 bytes. NOTE: this will probably break on big endian systems that use 16-bit ints (are there any of those still around?)
...
This patch also removes an unneeded macro from jdmerge.c.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1402 632fc199-4ca6-4c93-a231-07263d6284db
2014-09-04 17:28:28 +00:00
Kornel Lesiński
fdbbf10e90
Use more integers in Catmull-Rom
2014-09-03 16:31:28 +01:00
Kornel Lesiński
ecb17510f0
Deringing via overshoot clipping
2014-09-02 02:42:59 +01:00
DRC
bc649a29c0
Fix Windows build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1401 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 22:01:05 +00:00
DRC
33a9675dd3
Fix Windows build
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1400 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 22:00:33 +00:00
DRC
82d2050470
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines are now abstracted in a separate file, with separate little-endian and big-endian versions defined at compile time through the use of macros (this is similar to how the colorspace extension routines work.) This allows big-endian machines to take advantage of the same performance optimizations as little-endian machines, and it retains the performance on little-endian machines, since the conditional branch for endianness is at a very coarse-grained level.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1399 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 20:37:50 +00:00
DRC
a4d5a6bb1c
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines are now abstracted in a separate file, with separate little-endian and big-endian versions defined at compile time through the use of macros (this is similar to how the colorspace extension routines work.) This allows big-endian machines to take advantage of the same performance optimizations as little-endian machines, and it retains the performance on little-endian machines, since the conditional branch for endianness is at a very coarse-grained level.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1398 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 20:33:49 +00:00
DRC
7cd94b7ef9
Fix build on OS X PowerPC platforms
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1397 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 13:55:08 +00:00
DRC
730ddfba3d
Fix build on OS X PowerPC platforms
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1396 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 13:52:09 +00:00
DRC
3f97ede419
Fix build on OS X PowerPC platforms
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1395 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 13:51:18 +00:00
DRC
12513c1340
Oops. Forgot to alter the version header in the change log to indicate the release of 1.4 beta.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1394 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 13:48:45 +00:00
DRC
ba88b106d5
Oops. Forgot to alter the version header in the change log to indicate the release of 1.4 beta.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1393 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-30 13:47:51 +00:00
DRC
11ceef67d5
Create 1.4.x branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1391 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-29 02:39:35 +00:00
DRC
2ef1bec37f
Rename the ARM64 assembly file to match the C file
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1390 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-29 01:53:17 +00:00
DRC
e9ea853284
Rename the ARM64 assembly file to match the C file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1390 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-29 01:53:17 +00:00
DRC
a1cea09935
Fix several mathematical issues discovered in the ARM64 NEON code while running the extended regression tests introduced in r1267. Specific comments can be found in the original patches:
...
https://sourceforge.net/p/libjpeg-turbo/patches/64/
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1389 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-29 01:49:59 +00:00
DRC
efeca65349
Fix several mathematical issues discovered in the ARM64 NEON code while running the extended regression tests introduced in r1267. Specific comments can be found in the original patches:
...
https://sourceforge.net/p/libjpeg-turbo/patches/64/
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1389 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-29 01:49:59 +00:00
Frank Bossen
c0756e6119
Update .gitignore
2014-08-28 14:17:20 -04:00
Josh Aas
8b9eb07a36
Merge pull request #100 from ehsan/clang-as
...
.func/.endfunc are only necessary when generating STABS debug info, whic...
2014-08-26 14:10:48 -05:00
dcommander
2a21ae7463
.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail ( http://llvm.org/bugs/show_bug.cgi?id=20424 ).
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1375 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-26 14:56:33 -04:00
Josh Aas
cd1bee49e1
Merge pull request #96 from dwbuiten/gitignore
...
Add .gitignore for autotools files
2014-08-26 12:32:58 -05:00
fbossen
df3ace7e9c
Merge pull request #97 from dwbuiten/dhtmerge
...
Implement DHT Merging
2014-08-25 21:49:16 +02:00
DRC
33a4b3d400
Reformat code per Siarhei's original patch (to clearly indicate that the offset instructions are completely independent) and add Siarhei as an individual author (he no longer works for Nokia.)
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1388 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-25 15:26:09 +00:00
DRC
c8b99a298e
Reformat code per Siarhei's original patch (to clearly indicate that the offset instructions are completely independent) and add Siarhei as an individual author (he no longer works for Nokia.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1388 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-25 15:26:09 +00:00
DRC
fe0750f0d2
Clarify forward compatibility of iOS/ARM builds
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1387 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 17:48:17 +00:00
DRC
82070439ab
Clarify forward compatibility of iOS/ARM builds
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1387 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 17:48:17 +00:00
DRC
a92d31df00
ARM64 NEON SIMD support for YCC-to-RGB565 conversion
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1386 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 15:57:38 +00:00
DRC
1dbceb51c9
ARM64 NEON SIMD support for YCC-to-RGB565 conversion
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1386 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 15:57:38 +00:00
DRC
b052d67eb1
ARM NEON SIMD support for YCC-to-RGB565 conversion, and optimizations to the existing YCC-to-RGB conversion code:
...
-----
aee36252be .patch
From aee36252be20054afce371a92406fc66ba6627b5 Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com >
Date: Wed, 13 Aug 2014 03:50:22 +0300
Subject: [PATCH] ARM: Faster NEON yuv->rgb conversion for Krait and Cortex-A15
The older code was developed and tested only on ARM Cortex-A8 and ARM Cortex-A9.
Tuning it for newer ARM processors can introduce some speed-up (up to 20%).
The performance of the inner loop (conversion of 8 pixels) improves from
~27 cycles down to ~22 cycles on Qualcomm Krait 300, and from ~20 cycles
down to ~18 cycles on ARM Cortex-A15.
The performance remains exactly the same on ARM Cortex-A7 (~58 cycles),
ARM Cortex-A8 (~25 cycles) and ARM Cortex-A9 (~30 cycles) processors.
Also use larger indentation in the source code for separating two independent
instruction streams.
-----
a5efdbf22c .patch
From a5efdbf22ce9c1acd4b14a353cec863c2c57557e Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com >
Date: Wed, 13 Aug 2014 07:23:09 +0300
Subject: [PATCH] ARM: NEON optimized yuv->rgb565 conversion
The performance of the inner loop (conversion of 8 pixels):
* ARM Cortex-A7: ~55 cycles
* ARM Cortex-A8: ~28 cycles
* ARM Cortex-A9: ~32 cycles
* ARM Cortex-A15: ~20 cycles
* Qualcomm Krait: ~24 cycles
Based on the Linaro rgb565 patch from
https://sourceforge.net/p/libjpeg-turbo/patches/24/
but implements better instructions scheduling.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1385 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 15:47:51 +00:00
DRC
d166012ae3
ARM NEON SIMD support for YCC-to-RGB565 conversion, and optimizations to the existing YCC-to-RGB conversion code:
...
-----
aee36252be .patch
From aee36252be20054afce371a92406fc66ba6627b5 Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com >
Date: Wed, 13 Aug 2014 03:50:22 +0300
Subject: [PATCH] ARM: Faster NEON yuv->rgb conversion for Krait and Cortex-A15
The older code was developed and tested only on ARM Cortex-A8 and ARM Cortex-A9.
Tuning it for newer ARM processors can introduce some speed-up (up to 20%).
The performance of the inner loop (conversion of 8 pixels) improves from
~27 cycles down to ~22 cycles on Qualcomm Krait 300, and from ~20 cycles
down to ~18 cycles on ARM Cortex-A15.
The performance remains exactly the same on ARM Cortex-A7 (~58 cycles),
ARM Cortex-A8 (~25 cycles) and ARM Cortex-A9 (~30 cycles) processors.
Also use larger indentation in the source code for separating two independent
instruction streams.
-----
a5efdbf22c .patch
From a5efdbf22ce9c1acd4b14a353cec863c2c57557e Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com >
Date: Wed, 13 Aug 2014 07:23:09 +0300
Subject: [PATCH] ARM: NEON optimized yuv->rgb565 conversion
The performance of the inner loop (conversion of 8 pixels):
* ARM Cortex-A7: ~55 cycles
* ARM Cortex-A8: ~28 cycles
* ARM Cortex-A9: ~32 cycles
* ARM Cortex-A15: ~20 cycles
* Qualcomm Krait: ~24 cycles
Based on the Linaro rgb565 patch from
https://sourceforge.net/p/libjpeg-turbo/patches/24/
but implements better instructions scheduling.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1385 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-23 15:47:51 +00:00
DRC
578c3f67d7
Ensure that tjFree() is used for any JPEG buffers that might have been dynamically allocated by the compress/transform functions. To keep things simple, we use tjAlloc() for the statically-allocated buffer as well, so that tjFree() can always be used to free the buffer, regardless of whether it was allocated by tjbench or by the TurboJPEG library. This fixes crashes that occurred on Windows when running tjunittest or tjbench with the -alloc flag.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1384 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 19:59:51 +00:00
DRC
7ff92d811b
Ensure that tjFree() is used for any JPEG buffers that might have been dynamically allocated by the compress/transform functions. To keep things simple, we use tjAlloc() for the statically-allocated buffer as well, so that tjFree() can always be used to free the buffer, regardless of whether it was allocated by tjbench or by the TurboJPEG library. This fixes crashes that occurred on Windows when running tjunittest or tjbench with the -alloc flag.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1383 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 19:27:28 +00:00
DRC
3eed295c43
Ensure that tjFree() is used for any JPEG buffers that might have been dynamically allocated by the compress/transform functions. To keep things simple, we use tjAlloc() for the statically-allocated buffer as well, so that tjFree() can always be used to free the buffer, regardless of whether it was allocated by tjbench or by the TurboJPEG library. This fixes crashes that occurred on Windows when running tjunittest or tjbench with the -alloc flag.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1383 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 19:27:28 +00:00
DRC
d0d81e9c3a
Revert r1335 and r1336. It was a valiant effort, but on Windows, xmm8-xmm15 are non-volatile, and the overhead of pushing them onto the stack at the beginning of each function and popping them at the end was causing worse performance (in the neighborhood of 3-5%) than just using the work areas and limiting the register usage to xmm0-xmm7. Best to leave the SSE2 code alone. We can optimize the register usage for AVX2, once that port takes place.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1382 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 18:30:44 +00:00
DRC
19a5f802bc
Revert r1335 and r1336. It was a valiant effort, but on Windows, xmm8-xmm15 are non-volatile, and the overhead of pushing them onto the stack at the beginning of each function and popping them at the end was causing worse performance (in the neighborhood of 3-5%) than just using the work areas and limiting the register usage to xmm0-xmm7. Best to leave the SSE2 code alone. We can optimize the register usage for AVX2, once that port takes place.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1382 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 18:30:44 +00:00
DRC
7930a77eaa
Don't use sudo when building a Debian package unless the user is non-root
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1381 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 17:21:09 +00:00
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
29875d2597
Windows doesn't have setenv(). Go, go Gadget Macros.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1380 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 15:39:32 +00:00
DRC
2d055dc7c7
1.4 beta1
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1379 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:22:00 +00:00
DRC
810aa1f188
1.4 beta1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1379 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:22:00 +00:00
DRC
50a3df621e
Fix 'make dist'
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1378 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:19:12 +00:00
DRC
d0b65844c2
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1378 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:19:12 +00:00
DRC
ea0f2c2811
Don't use sudo when building a Debian package unless the user is non-root
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1377 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:15:08 +00:00
DRC
5c5de61c13
Don't use sudo when building a Debian package unless the user is non-root
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1377 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 14:15:08 +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
004427c071
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1376 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 13:43:33 +00:00
DRC
83052612d0
.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail ( http://llvm.org/bugs/show_bug.cgi?id=20424 ).
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1375 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 11:31:46 +00:00
DRC
c079546d32
.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail ( http://llvm.org/bugs/show_bug.cgi?id=20424 ).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1375 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 11:31:46 +00:00
DRC
2bbe593b31
Extend tjbenchtest so that it tests the dynamic JPEG buffer allocation feature in TurboJPEG. Disable the tiling feature in TJBench whenever dynamic buffer allocation is enabled (because the tiling feature requires a separate buffer for each tile, using it successfully with dynamic buffer allocation would require a separate TurboJPEG compressor instance for each tile, and it's not worth going to that trouble right now.)
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1374 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 03:04:06 +00:00
DRC
328e088030
Extend tjbenchtest so that it tests the dynamic JPEG buffer allocation feature in TurboJPEG. Disable the tiling feature in TJBench whenever dynamic buffer allocation is enabled (because the tiling feature requires a separate buffer for each tile, using it successfully with dynamic buffer allocation would require a separate TurboJPEG compressor instance for each tile, and it's not worth going to that trouble right now.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1374 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 03:04:06 +00:00
DRC
c62f3f40be
Run the TurboJPEG conformance tests out of a directory in /tmp (for improved performance, if the source directory is on a remote file share.) Fix an issue in TJBench.java that prevented it from working properly if the source image resided in a directory with a dot in the name.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1373 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 03:00:37 +00:00
DRC
d37548299f
Run the TurboJPEG conformance tests out of a directory in /tmp (for improved performance, if the source directory is on a remote file share.) Fix an issue in TJBench.java that prevented it from working properly if the source image resided in a directory with a dot in the name.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1373 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 03:00:37 +00:00
DRC
cdeb7db034
Extend tjbenchtest so that it tests the dynamic JPEG buffer allocation feature in TurboJPEG. Disable the tiling feature in TJBench whenever dynamic buffer allocation is enabled (because the tiling feature requires a separate buffer for each tile, using it successfully with dynamic buffer allocation would require a separate TurboJPEG compressor instance for each tile, and it's not worth going to that trouble right now.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1372 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 02:57:34 +00:00
DRC
d66dc1084c
Run the TurboJPEG conformance tests out of a directory in /tmp (for improved performance, if the source directory is on a remote file share.) Fix an issue in TJBench.java that prevented it from working properly if the source image resided in a directory with a dot in the name.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1371 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-22 02:51:16 +00:00
DRC
ebfee8203a
Oops
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1370 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 22:16:25 +00:00
DRC
0a8555ea59
Oops
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1370 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 22:16:25 +00:00
DRC
4dec5210ef
Subtle point, but dest->outbuffer is a pointer to the address of the JPEG buffer, which is stored in the calling program. Thus, *(dest->outbuffer) will always equal *outbuffer. We need to compare *outbuffer with dest->buffer instead to determine if the pointer is being reused.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1369 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 22:15:19 +00:00
DRC
ae9446b98f
Subtle point, but dest->outbuffer is a pointer to the address of the JPEG buffer, which is stored in the calling program. Thus, *(dest->outbuffer) will always equal *outbuffer. We need to compare *outbuffer with dest->buffer instead to determine if the pointer is being reused.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1369 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 22:15:19 +00:00
DRC
bc4d369b49
If the output buffer in the TurboJPEG destination manager was allocated by the destination manager and is being reused from a previous compression operation, then we need to get the buffer size from the previous operation, since the calling program doesn't know the actual buffer size.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1368 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 15:51:47 +00:00
DRC
334b1963f7
If the output buffer in the TurboJPEG destination manager was allocated by the destination manager and is being reused from a previous compression operation, then we need to get the buffer size from the previous operation, since the calling program doesn't know the actual buffer size.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1368 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 15:51:47 +00:00
DRC
d4a32f71d4
Actually, we need to increase the size of BUFSIZE, not just the size of _buffer. The previous patch might have cause problems if, for instance, state->free_in_buffer was 127 but 129 bytes were compressed. In that case, only 127 of the 129 bytes would have been written to the file. Also document the fix.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1367 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 03:40:37 +00:00
DRC
f63d1609dc
Actually, we need to increase the size of BUFSIZE, not just the size of _buffer. The previous patch might have cause problems if, for instance, state->free_in_buffer was 127 but 129 bytes were compressed. In that case, only 127 of the 129 bytes would have been written to the file. Also document the fix.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1367 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 03:40:37 +00:00
DRC
0e5f88dbe1
Actually, we need to increase the size of BUFSIZE, not just the size of _buffer. The previous patch might have cause problems if, for instance, state->free_in_buffer was 127 but 129 bytes were compressed. In that case, only 127 of the 129 bytes would have been written to the file. Also document the fix.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1366 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 03:38:14 +00:00
DRC
c4ac1e2b15
Fix an extremely rare crash that can occur when compressing a very high-frequency MCU using quality 100 and no subsampling, and when dynamically allocating the JPEG buffer in the destination manager. Even with a test program designed specifically to reproduce the crash, it only occurred once in about 25 million iterations. More details here: https://sourceforge.net/p/libjpeg-turbo/bugs/64
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1365 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 01:55:22 +00:00
DRC
6bce2c22c7
Fix an extremely rare crash that can occur when compressing a very high-frequency MCU using quality 100 and no subsampling, and when dynamically allocating the JPEG buffer in the destination manager. Even with a test program designed specifically to reproduce the crash, it only occurred once in about 25 million iterations. More details here: https://sourceforge.net/p/libjpeg-turbo/bugs/64
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1364 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 01:53:47 +00:00
DRC
4d117e06bc
Fix an extremely rare crash that can occur when compressing a very high-frequency MCU using quality 100 and no subsampling, and when dynamically allocating the JPEG buffer in the destination manager. Even with a test program designed specifically to reproduce the crash, it only occurred once in about 25 million iterations. More details here: https://sourceforge.net/p/libjpeg-turbo/bugs/64
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1364 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-21 01:53:47 +00:00
DRC
bbe6136281
Wordsmithing & clarifications
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1363 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 16:02:49 +00:00
DRC
9c318c0884
Wordsmithing & clarifications
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1363 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 16:02:49 +00:00
DRC
7c0efc8589
Document the existence of the new ARM64 SIMD code
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1362 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 15:40:43 +00:00
DRC
25651f6eb5
Document the existence of the new ARM64 SIMD code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1362 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 15:40:43 +00:00
DRC
f4543c7379
Properly detect the need for gas-preprocessor.pl when building for ARM64
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1361 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 13:14:46 +00:00
DRC
dfe0538662
Properly detect the need for gas-preprocessor.pl when building for ARM64
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1361 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-20 13:14:46 +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
3d037a5c72
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1360 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-17 12:23:49 +00:00
Frank Bossen
5f27ff790b
Enable DC trellis by default
2014-08-17 10:43:59 +02:00
Josh Aas
d3c8cde986
Merge pull request #89 from pornel/floatq
...
Parse quality as float
2014-08-15 14:18:36 -05: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
ef5d1ea229
Make the wrapped functions static
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1359 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 16:40:56 +00:00
DRC
150b5c4a90
Make the wrapped functions static
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1358 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 16:40:34 +00:00
DRC
a86aee5113
Whitespace formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1357 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 16:20:59 +00:00
DRC
f79cc2214e
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1356 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 16:20:06 +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
948d9d0492
Whitespace formatting tweaks
...
git-svn-id: svn+ssh://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
f58a0d4174
Add descriptions to help sort out which function goes with which version of the API.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1354 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 16:07:15 +00:00
DRC
870d4403eb
Add descriptions to help sort out which function goes with which version of the API.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1353 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 15:40:02 +00:00
DRC
e9897e4200
Compiler warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1352 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 14:44:09 +00:00
DRC
ba67ec6270
Fix build broken by r1349
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1351 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 14:40:36 +00:00
DRC
0c28bca095
Fix build broken by r1349
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1351 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 14:40:36 +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
efd7674c11
Compiler warnings
...
git-svn-id: svn+ssh://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
c6262663b5
Restore backward compatibility between libjpeg-turbo 1.3.x JAR and the new JNI library
...
git-svn-id: svn+ssh://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
aac7f6575a
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1348 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-15 13:18:58 +00:00
Josh Aas
fc76d48701
Merge pull request #98 from pornel/inlineinline
...
Avoid double inline attribute
2014-08-14 21:57:44 -05:00
Josh Aas
df9b78ab5c
Merge pull request #90 from pornel/png
...
PNG reading support
2014-08-14 21:54:31 -05:00
Kornel Lesiński
2e08021a9f
Avoid double inline attribute
2014-08-14 22:16:31 +01:00
Kornel Lesiński
ad67be3b36
Detect libpng
2014-08-14 22:16:10 +01:00
DRC
b94560c4a8
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1347 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-14 17:24:01 +00:00
Derek Buitenhuis
873a32e8d0
Implement DHT Merging
...
The current way multipass works, write_scan_header() seems to be called
multiple times, so only DC tables get merged, however, this will still
merge AC tables if possible.
Implements the second half of #30 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2014-08-14 18:19:29 +01: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
4209d3496d
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1346 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-14 16:54:04 +00:00
Derek Buitenhuis
6ab56c195e
Add .gitignore for autotools files
...
This makes development work less error prone when committing.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2014-08-14 15:45:18 +01:00
Frank Bossen
2e7c6109ff
Check memory alloc success
2014-08-13 16:33:45 +02:00
Frank Bossen
b2092f33c3
Update cjpeg usage text
2014-08-13 16:29:12 +02:00
Frank Bossen
c87576eb09
Merge branch 'dctrellis'
2014-08-13 16:21:39 +02:00
fbossen
fbff4b9500
Merge pull request #88 from dwbuiten/dqtmerge
...
Implement DQT merging
2014-08-13 16:15:09 +02:00
Derek Buitenhuis
d3a58a33cd
Implement DQT merging
...
See #30 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2014-08-13 15:07:08 +01:00
Frank Bossen
05a5f4a9cc
Fix issue with scan printout
...
Incorrect values of scan parameter Al were printed out in verbose mode
2014-08-13 15:35:29 +02:00
DRC
4db50792eb
Oops. Parameter name is "strides", not "stride"
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1345 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-12 15:52:51 +00:00
DRC
8c2c415847
Reformat TurboJPEG C API documentation to improve ease of maintenance and to make it more consistent with the javadoc formatting; fix minor error in tjCompressFromYUV() prototype.
...
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1344 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-18 01:40:23 +01:00
DRC
1475ca8fe2
Oops. Parameter name is "strides", not "stride"
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1345 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-12 15:52:51 +00:00
DRC
f7b5dd1e41
Reformat TurboJPEG C API documentation to improve ease of maintenance and to make it more consistent with the javadoc formatting; fix minor error in tjCompressFromYUV() prototype.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1344 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-12 15:06:30 +00:00
Josh Aas
5b9d498fa0
Get rid of unnecessary and obsolete platform configuration instructions.
2014-08-11 14:09:11 -05:00
DRC
ab62cf7ba5
Extend the TurboJPEG C API to support handling YUV images stored in separate image planes instead of a unified buffer
2014-08-11 18:05:41 +00:00
DRC
257745ba05
Extend the TurboJPEG C API to support handling YUV images stored in separate image planes instead of a unified buffer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1343 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-11 18:05:41 +00:00
DRC
22505838cb
Clean up and consolidate notes regarding the YUV image format. This also corrects a factual error regarding the padding of the luminance plane-- because we now support 4:1:1, the component width is not necessarily padded to the nearest multiple of 2 if horizontal subsampling is used.
2014-08-10 20:12:17 +00:00
DRC
66f830135f
Clean up and consolidate notes regarding the YUV image format. This also corrects a factual error regarding the padding of the luminance plane-- because we now support 4:1:1, the component width is not necessarily padded to the nearest multiple of 2 if horizontal subsampling is used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1342 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-10 20:12:17 +00:00
DRC
11fe81d0df
Clean up notes using the doxygen @note command
2014-08-10 18:30:52 +00:00
DRC
ed028a6575
Clean up notes using the doxygen @note command
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1341 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-10 18:30:52 +00:00
DRC
63c66d2131
Clean up notes using the doxygen @note command
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1340 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-10 17:25:51 +00:00
DRC
0b8d990cef
Make the documentation more readable by displaying fixed-width text (which is used to refer to variables and functions) in a different color.
2014-08-10 16:43:31 +00:00
DRC
0b58a07f5e
Make the documentation more readable by displaying fixed-width text (which is used to refer to variables and functions) in a different color.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1339 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-10 16:43:31 +00:00
DRC
108f603748
Fix a display issue in the documentation for tjDecompress2() (doxygen treats a star at the beginning of the line as a list bullet); make the documentation more readable by displaying fixed-width text (which is used to refer to variables and functions) in a different color.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1338 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-10 16:39:32 +00:00
DRC
ceb4712807
12-bit JPEG support
2014-08-09 23:06:07 +00:00
DRC
6304683a66
12-bit JPEG support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1337 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-09 23:06:07 +00:00
DRC
3c50582e77
Oops. The Windows version of collect_args/uncollect_args uses rsp, so we still need the rsp prologue/epilogue, despite the fact that we aren't using the stack as a work area. This fixes a segfault on Windows caused by r1335.
2014-08-09 22:58:18 +00:00
DRC
6ca1aab2f7
Oops. The Windows version of collect_args/uncollect_args uses rsp, so we still need the rsp prologue/epilogue, despite the fact that we aren't using the stack as a work area. This fixes a segfault on Windows caused by r1335.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1336 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-09 22:58:18 +00:00
DRC
b7efc273a0
Attempt to improve performance by refactoring the compression-side color conversion and DCT algorithms so that they take full advantage of the additional registers available with 64-bit SSE2. This produces a somewhat yawn-worthy speedup of 2-3%, but at least the code is a lot more readable now.
2014-08-09 14:30:28 +00:00
DRC
f493ae8ff3
Attempt to improve performance by refactoring the compression-side color conversion and DCT algorithms so that they take full advantage of the additional registers available with 64-bit SSE2. This produces a somewhat yawn-worthy speedup of 2-3%, but at least the code is a lot more readable now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1335 632fc199-4ca6-4c93-a231-07263d6284db
2014-08-09 14:30:28 +00:00
Josh Aas
39bd663c71
Add error checks for malloc calls that don't already have them. Issue #87 .
2014-08-07 22:42:08 -05:00
Josh Aas
1dc81a3bae
Merge pull request #92 from tmatth/fix_yuvjpeg_leak
...
yuvjpeg: fix trivial leak
2014-08-07 10:23:25 -05:00
Tristan Matthews
3a379eda44
yuvjpeg: fix trivial leak
...
Cherry-picked from daala 91c1dfd8ec30fda886c31f00678eaf074e3e4a6c
2014-08-06 20:52:23 -04:00
Kornel Lesiński
5f434e6053
Parse quality as float
2014-08-04 21:35:51 +01:00
Kornel Lesiński
d11fc3c7c8
PNG reading support
2014-08-04 01:18:00 +01:00
Frank Bossen
7464e5fe76
Fix issue with DC trellis
2014-08-01 16:03:26 -04:00
Frank Bossen
33f39a2818
Add option to split DC scans
...
Command line option -split-dc-scan is added to code DC scans
independently (instead of interleaved). It should be determined whether
this option introduces any decoder compatibility issues ( see #83 )
Option -multidcscan is renamed to -opt-dc-scan
2014-07-31 15:26:38 -04:00
Frank Bossen
049e5c80b9
Add trellis for DC
...
Add option to apply trellis quantization to the DC coefficients ( see
#57 ). May need further refinement to make sure block order during
trellis optimization matches order during coding.
2014-07-31 12:11:36 -04:00
Josh Aas
594b7258cc
Bump version to 2.1.
2014-07-29 09:12:48 -05:00
fbossen
0533b31891
Merge pull request #79 from arjun024/devel
...
more logical flow of control if trellis_quant enabled
2014-07-25 09:02:45 -04:00
Arjun Sreedharan
cca53c920d
more logical flow of control if trellis_quant enabled
...
if trellis_quant is enabled, increment total number of
passes by optimization beginning pass number.
Signed-off-by: Arjun Sreedharan <arjun024@gmail.com >
2014-07-25 17:33:35 +05:30
Josh Aas
5901802871
Update README.md with link to 2.0 announcement and mailing list.
2014-07-24 16:39:26 -05:00
Frank Bossen
fbef31f76d
Add option to disable progressive coding in cjpeg
...
Redefine baseline option in cjpeg to actually create a baseline JPEG
file by disabling progressive coding
2014-07-24 17:09:27 -04:00
Frank Bossen
1aa50b71d9
Use precomputed table
...
From jpeglib-turbo r1221:
Integrate a slightly modified version of Mozilla's patch for
precomputing the bit-counting LUT. This is useful if the table needs
to be shared among multiple processes, although the primary reason for
doing that is reduced footprint on mobile devices, which are probably
already covered by the clz intrinsic code.
2014-07-24 10:50:59 -04:00
Frank Bossen
3adc64a4cb
Improve floating point DCT
...
From libjpeg-turbo r1288
Port the more accurate (and slightly faster) floating point IDCT
implementation from jpeg-8a and later. New research revealed that the
SSE/SSE2 floating point IDCT implementation was actually more accurate
than the jpeg-6b implementation, not less, which is why its
mathematical results have always differed from those of the jpeg-6b
implementation. This patch brings the accuracy of the C code in line
with that of the SSE/SSE2 code.
2014-07-23 10:26:46 -04:00
Frank Bossen
ccb1d12f53
Update doc re: various DCT implementations
...
From libjpeg-turbo r1287
2014-07-23 10:23:24 -04:00
DRC
82b8751482
Fix performance and other issues uncovered in testing with actual ARM64 hardware; formatting tweaks; remove NEON platform check (NEON is always available with ARMv8)
2014-07-23 14:14:14 +00:00
DRC
838e00fd54
Fix performance and other issues uncovered in testing with actual ARM64 hardware; formatting tweaks; remove NEON platform check (NEON is always available with ARMv8)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1333 632fc199-4ca6-4c93-a231-07263d6284db
2014-07-23 14:14:14 +00:00
Frank Bossen
c73a82c6aa
Fix build for wrjpgcom
...
See r1325 in libjpeg-turbo
2014-07-23 09:22:55 -04:00
Frank Bossen
b9f25333f6
Disable scan optimization if no scan given
...
Addresses segmentation fault issue in #69
2014-07-21 20:11:46 +02:00
Josh Aas
0f6b96c68e
Merge pull request #73 from pornel/master
...
Added few error messages in cjpeg
2014-07-21 11:23:20 -05:00
Josh Aas
eeea9ed397
Merge pull request #72 from jlongman/master
...
Bugfix: AM_PROG_AR is not recognized by older automake, so only use it w...
2014-07-21 11:21:30 -05:00
Josh Aas
b95528727f
Merge pull request #75 from pmed/master
...
Fixed mozjpeg build with Visual C++ 2010
2014-07-21 11:18:33 -05:00
Pavel Medvedev
d9605b0560
Fixed mozjpeg build with Visual C++ 2010
...
Moved several variable declarations out of inner scopes to the function scope to compile C code with Visual C++ 2010
2014-07-21 15:32:54 +04:00
Kornel Lesiński
40e6e8b2a2
Added few error messages in cjpeg
2014-07-20 16:11:59 +01:00
Frank Bossen
514307e9e6
Fix trellis for nonprogressive mode ( #69 )
...
Correct number of trellis passes when in nonprogressive mode
2014-07-18 18:10:56 +02:00
jlongman
7388a54647
Bugfix: AM_PROG_AR is not recognized by older automake, so only use it when defined
2014-07-17 14:16:24 -04:00
DRC
e1abc9a7ac
Include "Installed-Size" field in the deb-control file to prevent Ubuntu from complaining
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1330 632fc199-4ca6-4c93-a231-07263d6284db
2014-07-17 08:25:32 +00:00
DRC
24aeccff3e
Include "Installed-Size" field in the deb-control file to prevent Ubuntu from complaining
2014-07-17 08:24:58 +00:00
DRC
0409942a02
Include "Installed-Size" field in the deb-control file to prevent Ubuntu from complaining
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1329 632fc199-4ca6-4c93-a231-07263d6284db
2014-07-17 08:24:58 +00:00
Josh Aas
e7a135b930
Bump version number for 2.0, make this version 2.0.1.
2014-07-15 13:55:55 -05:00
Frank Bossen
62300280b5
Update MS-SSIM tuning
...
Change optimization parameters when tuning for MS-SSIM for better
performance
2014-07-10 16:55:53 +09:00
Frank Bossen
55e3e7e819
Fix #64
...
Setting a user-defined quality level in cjpeg was incorrectly setting
quantization table
2014-07-09 11:37:36 +09:00
Josh Aas
0c59a4daf6
Merge pull request #62 from negge/master
...
Updating yuvjpeg and jpegyuv to match Daala tools.
2014-07-07 13:07:07 -05:00
Nathan E. Egge
d47fa82ae8
Updating yuvjpeg and jpegyuv to match Daala tools.
...
Add support for jpeg images with non-multiple of 16 sizes.
2014-07-07 13:46:59 -04:00
Frank Bossen
c3b7375ad8
Fix #56
2014-06-26 12:45:03 -04:00
DRC
e2f5c7cab3
Add proper support for Borland compilers (Borland needs section names to be prefixed with an underscore, and it needs OMF object files.)
2014-06-22 21:14:39 +00:00
DRC
001189cb7a
Add proper support for Borland compilers (Borland needs section names to be prefixed with an underscore, and it needs OMF object files.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1328 632fc199-4ca6-4c93-a231-07263d6284db
2014-06-22 21:14:39 +00:00
DRC
24899de84c
Big oops. wrjpgcom on Windows was being built using the rdjpgcom source.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1326 632fc199-4ca6-4c93-a231-07263d6284db
2014-06-22 20:48:38 +00:00
DRC
8d4544b7bc
Big oops. wrjpgcom on Windows was being built using the rdjpgcom source.
2014-06-22 20:46:48 +00:00
DRC
60fe8fe525
Big oops. wrjpgcom on Windows was being built using the rdjpgcom source.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1325 632fc199-4ca6-4c93-a231-07263d6284db
2014-06-22 20:46:48 +00:00
DRC
fc742e8e19
Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters. Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1324 632fc199-4ca6-4c93-a231-07263d6284db
2014-06-22 20:38:54 +00:00
DRC
e3d3cc073d
Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters. Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file.
2014-06-22 20:36:50 +00:00
DRC
4272eec761
Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters. Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1323 632fc199-4ca6-4c93-a231-07263d6284db
2014-06-22 20:36:50 +00:00
Frank Bossen
b8c8ef9851
Silence compiler warning
...
gcc 4.8 was throwing 'foo' may be used uninitialized in this function
[-Wmaybe-uninitialized]
2014-06-04 16:31:27 +02:00
Frank Bossen
a9356f18b4
Silence compiler warning
2014-05-30 03:18:37 +02:00
Frank Bossen
5dc78b3681
Merge branch 'jpegin'
2014-05-30 03:15:46 +02:00
Frank Bossen
66bf3abec7
Improve support of JPEG input in cjpeg
...
Add macro JPEG_RAW_READER that defines whether to pass RAW sample data
from input to output JPEG files (hence preserving color space and
sampling). Macro is now disabled by default.
Add code to copy metadata from input to output JPEG, hence preserving
color profiles and other important information
2014-05-30 03:14:09 +02:00
DRC
b8f2b72acb
Remove VMS-specific code
2014-05-29 19:31:45 +00:00
DRC
0175589d46
Remove VMS-specific code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1322 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-29 19:31:45 +00:00
DRC
12c8d0c891
Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX.
...
We can't simply increase JMSG_LENGTH_MAX, because it is part of the libjpeg API, and it is generally assumed that a buffer of this length will be passed to format_message(). Thus, the easiest solution is simply to use a shorter copyright string for JMSG_COPYRIGHT.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1319 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-28 20:27:42 +00:00
DRC
7e6f1ee2d4
Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX.
...
We can't simply increase JMSG_LENGTH_MAX, because it is part of the libjpeg API, and it is generally assumed that a buffer of this length will be passed to format_message(). Thus, the easiest solution is simply to use a shorter copyright string for JMSG_COPYRIGHT.
2014-05-28 20:19:54 +00:00
DRC
4bd97823d3
Our copyright string is longer than JMSG_LENGTH_MAX, and this was causing a buffer overrun if output_message() was called with msg_code set to JMSG_COPYRIGHT, or if format_message() was called with msg_code set to JMSG_COPYRIGHT and with a buffer of length JMSG_LENGTH_MAX.
...
We can't simply increase JMSG_LENGTH_MAX, because it is part of the libjpeg API, and it is generally assumed that a buffer of this length will be passed to format_message(). Thus, the easiest solution is simply to use a shorter copyright string for JMSG_COPYRIGHT.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1318 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-28 20:19:54 +00:00
DRC
360ffd4441
We don't support non-ANSI C compilers
2014-05-21 04:13:09 +00:00
DRC
9b1ca0816c
We don't support non-ANSI C compilers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1317 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-21 04:13:09 +00:00
DRC
76ef3c5dda
Allow for building the MIPS DSPr2 extensions if the host is mips-* as well as mipsel-*. The DSPr2 extensions are little endian, so we still have to check that the compiler defines __MIPSEL__ before enabling them. This paves the way for supporting big-endian MIPS, and in the near term, it allows the SIMD extensions to be built with Sourcery CodeBench.
2014-05-19 19:13:22 +00:00
DRC
0045d0072b
Allow for building the MIPS DSPr2 extensions if the host is mips-* as well as mipsel-*. The DSPr2 extensions are little endian, so we still have to check that the compiler defines __MIPSEL__ before enabling them. This paves the way for supporting big-endian MIPS, and in the near term, it allows the SIMD extensions to be built with Sourcery CodeBench.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1316 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-19 19:13:22 +00:00
DRC
6263c1fc1b
SIMD-accelerated int upsample routine for MIPS DSPr2
2014-05-18 20:04:47 +00:00
DRC
7bd7012c98
SIMD-accelerated int upsample routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1315 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 20:04:47 +00:00
DRC
ecfbabdbf3
Fix MIPS build
2014-05-18 19:36:05 +00:00
DRC
3c9850814b
Fix MIPS build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1314 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 19:36:05 +00:00
DRC
46611eb0ee
libjpeg-turbo has never supported non-ANSI compilers, so get rid of the crufty SIZEOF() macro. It was not being used consistently anyhow, so it would not have been possible to build prior releases of libjpeg-turbo using the broken compilers for which that macro was designed.
2014-05-18 19:04:03 +00:00
DRC
66245aa735
libjpeg-turbo has never supported non-ANSI compilers, so get rid of the crufty SIZEOF() macro. It was not being used consistently anyhow, so it would not have been possible to build prior releases of libjpeg-turbo using the broken compilers for which that macro was designed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1313 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 19:04:03 +00:00
DRC
144e7b79e4
Remove MS-DOS code and information, and adjust copyright headers to reflect the removal of features in r1307 and r1308. libjpeg-turbo has never supported MS-DOS, nor is it even possible for us to do so.
2014-05-18 18:33:44 +00:00
DRC
5ad13790c2
Remove MS-DOS code and information, and adjust copyright headers to reflect the removal of features in r1307 and r1308. libjpeg-turbo has never supported MS-DOS, nor is it even possible for us to do so.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1312 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 18:33:44 +00:00
DRC
814fb56282
Further copyright header cleanup
2014-05-18 18:17:01 +00:00
DRC
9f6bb55f67
Further copyright header cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1311 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 18:17:01 +00:00
DRC
44e609fa3a
Further copyright header cleanup
2014-05-18 17:52:06 +00:00
DRC
e383334c0a
Further copyright header cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1310 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 17:52:06 +00:00
DRC
7ad4962b66
Further copyright header cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1309 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-18 17:51:00 +00:00
Frank Bossen
535b1ee3ef
Fix issue with JPEG read in cjpeg
...
Color space and sampling was not properly configured leading to errors
when encoding from a JPEG file.
2014-05-16 16:33:10 -04:00
Frank Bossen
e170b61137
Add support for JPEG input in cjpeg
2014-05-16 11:00:34 -04:00
DRC
f8301c92dd
Get rid of the HAVE_PROTOTYPES configuration option, as well as the related JMETHOD and JPP macros. libjpeg-turbo has never supported compilers that don't handle prototypes. Doing so requires ansi2knr, which isn't even supported in the IJG code anymore.
2014-05-16 10:43:44 +00:00
DRC
1aa56251a9
Get rid of the HAVE_PROTOTYPES configuration option, as well as the related JMETHOD and JPP macros. libjpeg-turbo has never supported compilers that don't handle prototypes. Doing so requires ansi2knr, which isn't even supported in the IJG code anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1308 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-16 10:43:44 +00:00
DRC
2c0b793539
Remove all of the NEED_SHORT_EXTERNAL_NAMES stuff. There is scant information available as to which linkers ever had a 15-character global symbol name limit. AFAICT, it might have been a VMS and/or a.out BSD thing, but none of those platforms have ever been supported by libjpeg-turbo (nor are such systems supported by other open source libraries of this nature.)
2014-05-15 20:30:16 +00:00
DRC
3854b5ef59
Remove all of the NEED_SHORT_EXTERNAL_NAMES stuff. There is scant information available as to which linkers ever had a 15-character global symbol name limit. AFAICT, it might have been a VMS and/or a.out BSD thing, but none of those platforms have ever been supported by libjpeg-turbo (nor are such systems supported by other open source libraries of this nature.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1307 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 20:30:16 +00:00
DRC
ef025d6c8c
Clean up code formatting in the SIMD interface functions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1306 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 19:46:48 +00:00
DRC
5d5b9a497b
Clean up code formatting in the SIMD interface functions
2014-05-15 19:45:11 +00:00
DRC
b284a473f7
Clean up code formatting in the SIMD interface functions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1305 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 19:45:11 +00:00
DRC
99de998e2c
SIMD-accelerated NULL convert routine for MIPS DSPr2
2014-05-15 18:26:01 +00:00
DRC
51b63d0931
SIMD-accelerated NULL convert routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1304 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 18:26:01 +00:00
DRC
b70fe7221e
Fix build, which was broken by the checkin of the MIPS DSPr2 accelerated smooth downsampling routine. Until/unless other platforms include SIMD support for that function, it's just easier to #ifdef around it rather than adding stubs for the other platforms.
2014-05-15 18:22:24 +00:00
DRC
f33b56330d
Fix build, which was broken by the checkin of the MIPS DSPr2 accelerated smooth downsampling routine. Until/unless other platforms include SIMD support for that function, it's just easier to #ifdef around it rather than adding stubs for the other platforms.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1303 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 18:22:24 +00:00
DRC
a37736dd43
Fix error in MIPS DSPr2 accelerated smooth downsample routine
2014-05-15 17:10:39 +00:00
DRC
ccee85d6e2
Fix error in MIPS DSPr2 accelerated smooth downsample routine
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1302 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-15 17:10:39 +00:00
DRC
c4c3ac6305
SIMD-accelerated h2v2 smooth downsampling routine for MIPS DSPr2
2014-05-14 15:00:10 +00:00
DRC
f069238be3
SIMD-accelerated h2v2 smooth downsampling routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1301 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-14 15:00:10 +00:00
DRC
f66c307c2e
Minor tweak to improve code readability
2014-05-14 14:57:43 +00:00
DRC
e7a9390725
Minor tweak to improve code readability
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1300 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-14 14:57:43 +00:00
DRC
147ae6f24c
Minor tweak to improve code readability
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1299 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-14 14:57:01 +00:00
DRC
4464a39363
The x86/x86-64 SIMD extensions were originally designed to accommodate changing the value of RGB_*, but this apparently broke when RGB-to-gray colorspace conversion was accelerated. Further, the ARM NEON extensions have always assumed that JCS_RGB behaves identically to JCS_EXT_RGB. Rather than fix these issues, it makes more sense to just stop claiming that we support changing the values of RGB_*, since doing so is no longer necessary.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1298 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-13 18:41:33 +00:00
DRC
38bfd451d5
SIMD-accelerated merged upsampling routines for MIPS DSPr2
2014-05-13 18:40:14 +00:00
DRC
b530bd1f33
SIMD-accelerated merged upsampling routines for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1297 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-13 18:40:14 +00:00
DRC
0297e2a61d
The x86/x86-64 SIMD extensions were originally designed to accommodate changing the value of RGB_*, but this apparently broke when RGB-to-gray colorspace conversion was accelerated. Further, the ARM NEON extensions have always assumed that JCS_RGB behaves identically to JCS_EXT_RGB. Rather than fix these issues, it makes more sense to just stop claiming that we support changing the values of RGB_*, since doing so is no longer necessary.
2014-05-13 18:38:36 +00:00
DRC
486d2a028a
The x86/x86-64 SIMD extensions were originally designed to accommodate changing the value of RGB_*, but this apparently broke when RGB-to-gray colorspace conversion was accelerated. Further, the ARM NEON extensions have always assumed that JCS_RGB behaves identically to JCS_EXT_RGB. Rather than fix these issues, it makes more sense to just stop claiming that we support changing the values of RGB_*, since doing so is no longer necessary.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1296 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-13 18:38:36 +00:00
DRC
cfbb147aad
Add support for decompressing to RGB565 (16-bit) pixels
2014-05-12 09:23:57 +00:00
DRC
295df8bdad
Add support for decompressing to RGB565 (16-bit) pixels
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1295 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-12 09:23:57 +00:00
DRC
e99d135774
Document -rgb option in djpeg man page; "gray-scale"="grayscale"
2014-05-12 09:09:40 +00:00
DRC
461283574a
Document -rgb option in djpeg man page; "gray-scale"="grayscale"
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1294 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-12 09:09:40 +00:00
DRC
646859004f
Document -rgb option in djpeg man page; "gray-scale"="grayscale"
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1293 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-12 09:08:39 +00:00
DRC
f413bb5fb7
Use 2-space indentation for the enums, to be consistent with the structs
2014-05-12 00:34:58 +00:00
DRC
df3ff573cc
Use 2-space indentation for the enums, to be consistent with the structs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1292 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-12 00:34:58 +00:00
DRC
a72597b837
Use 2-space indentation for the enums, to be consistent with the structs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1291 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-12 00:34:08 +00:00
DRC
1d434bfdc9
Document the fact that the fast integer FDCT is not fully accelerated for quality levels above 97 + additional wordsmithing
2014-05-11 23:15:52 +00:00
DRC
64c1c3b7ec
Document the fact that the fast integer FDCT is not fully accelerated for quality levels above 97 + additional wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1290 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 23:15:52 +00:00
DRC
c55d3622c8
Document the fact that the fast integer FDCT is not fully accelerated for quality levels above 97 + additional wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1289 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 23:14:43 +00:00
DRC
8b11360a8b
Port the more accurate (and slightly faster) floating point IDCT implementation from jpeg-8a and later. New research revealed that the SSE/SSE2 floating point IDCT implementation was actually more accurate than the jpeg-6b implementation, not less, which is why its mathematical results have always differed from those of the jpeg-6b implementation. This patch brings the accuracy of the C code in line with that of the SSE/SSE2 code.
2014-05-11 10:09:07 +00:00
DRC
7f3a5c18e6
Port the more accurate (and slightly faster) floating point IDCT implementation from jpeg-8a and later. New research revealed that the SSE/SSE2 floating point IDCT implementation was actually more accurate than the jpeg-6b implementation, not less, which is why its mathematical results have always differed from those of the jpeg-6b implementation. This patch brings the accuracy of the C code in line with that of the SSE/SSE2 code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1288 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 10:09:07 +00:00
DRC
e7fe0653e5
Provide a more thorough description of the trade-offs between the various DCT/IDCT algorithms, based on new resarch
2014-05-11 09:48:11 +00:00
DRC
eb590a6e25
Provide a more thorough description of the trade-offs between the various DCT/IDCT algorithms, based on new resarch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1287 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 09:48:11 +00:00
DRC
6b48fbd229
Provide a more thorough description of the trade-offs between the various DCT/IDCT algorithms, based on new resarch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1286 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 09:46:28 +00:00
DRC
311f16e848
Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1285 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-11 09:36:25 +00:00
Frank Bossen
ea4fad9aec
Fix #50
...
Make trellis work with DCT implementations other than the default:
scale and store transform coefficients for trellis
2014-05-10 14:59:58 -04:00
Frank Bossen
4b1094cc3a
Disable trellis in jpegtran
...
Trellis quantization is not supposed to be enabled in the jpegtran
application as it does not perform transform and quantization.
Should fix #49
2014-05-10 08:19:31 -04:00
DRC
84f9fbfe3e
Modify Windows build system to take into account new assembly file names
2014-05-10 10:10:03 +00:00
DRC
3b85b4e1bd
Modify Windows build system to take into account new assembly file names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1283 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-10 10:10:03 +00:00
DRC
1bd801a872
Using subdirectories unfortunately opened up a can of worms. In order to prevent object name conflicts, it is necessary to use the subdir-objects automake directive, but it simply doesn't work right on some of the versions of automake we still have to support. Another option would be to add a separate Makefile.am file to each subdirectory, but that requires maintaining a completely different set of build rules for each one. Fortunately, however, we're in the 21st century now, so we can use filenames longer than 8.3.
2014-05-10 09:53:34 +00:00
DRC
4528256c56
Using subdirectories unfortunately opened up a can of worms. In order to prevent object name conflicts, it is necessary to use the subdir-objects automake directive, but it simply doesn't work right on some of the versions of automake we still have to support. Another option would be to add a separate Makefile.am file to each subdirectory, but that requires maintaining a completely different set of build rules for each one. Fortunately, however, we're in the 21st century now, so we can use filenames longer than 8.3.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1282 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-10 09:53:34 +00:00
Josh Aas
3f1e5d6842
Update version to 2.0pre.
2014-05-09 22:11:12 -05:00
Frank Bossen
93da07241d
Merge branch 'trellis'
2014-05-09 18:28:26 -04:00
DRC
6af3f00efa
Re-organize the x86/x86-64 SIMD routines into separate folders by instruction set so we can name each routine similarly to its corresponding C file. This also makes it easier to add support for new instruction sets.
2014-05-09 20:14:26 +00:00
DRC
eeace92a35
Re-organize the x86/x86-64 SIMD routines into separate folders by instruction set so we can name each routine similarly to its corresponding C file. This also makes it easier to add support for new instruction sets.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1280 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-09 20:14:26 +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
b7a30f1186
Remove trailing spaces (+ one additional tab in TJUnitTest.java that was missed in the previous commit)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1279 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-09 18:06:58 +00:00
DRC
e45363d7c2
Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.)
2014-05-09 18:00:32 +00:00
DRC
16d7eeb944
Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1278 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-09 18:00:32 +00:00
Frank Bossen
87254c1c44
Use single DC scan by default
...
Value of cinfo->one_dc_scan is set to true by default to use a single
DC scan for all components.
Option -onedcscan is replaced by -multidcscan to enable multiple DC
scans.
While this change appears to degrade compression performance it
improves compatibility with a wider range of JPEG decoders.
2014-05-09 10:46:00 -04:00
DRC
ef1c66701a
Fix an error in the MIPS DSPr2 fancy upsampling routine
2014-05-09 14:45:55 +00:00
DRC
9a4231edfe
Fix an error in the MIPS DSPr2 fancy upsampling routine
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1277 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-09 14:45:55 +00:00
Josh Aas
a5195816f6
Add configure check for libm/pow. Fixes Linux build issue.
2014-05-08 22:25:29 -05:00
Frank Bossen
13e2115054
Add option to have single DC scan
...
Add option to have a single DC scan wherein all components are
interleaved when using progressive mode. This may resolve compatibility
issues raised in #29 and #48 .
This option is available through -onedcscan in cjpeg
2014-05-08 17:33:14 -04:00
Frank Bossen
8a99fcac80
Correct comment
2014-05-08 17:00:53 -04:00
Frank Bossen
061d42c272
Fix #47
...
When specifying -debug or -verbose in the cjpeg application the scans
selected by the scan optimization process are printed to stderr
2014-05-08 16:44:33 -04:00
Frank Bossen
d236890325
Update copyright headers/statements
2014-05-08 16:42:51 -04:00
Frank Bossen
c8e03dbda5
Fix issue with trellis and no scan opt
...
Disabling scan optimization with trellis enabled was leading to
incorrect results
2014-05-08 15:50:22 -04:00
DRC
f017a5de0f
Fix regression that caused 'make test' to fail with non-x86 SIMD code. The round-off error in the SIMD float DCT/IDCT routines only exists in the SSE and SSE2 implementations.
2014-05-07 06:02:57 +00:00
DRC
ffcbd29084
Fix regression that caused 'make test' to fail with non-x86 SIMD code. The round-off error in the SIMD float DCT/IDCT routines only exists in the SSE and SSE2 implementations.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1276 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-07 06:02:57 +00:00
DRC
e77bd79dc2
Shared the rm commands to reduce as much output noise as possible
2014-05-06 22:49:02 +00:00
DRC
b9e50a2b57
Shared the rm commands to reduce as much output noise as possible
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1275 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 22:49:02 +00:00
DRC
943adfb1fe
Redesign the libjpeg regression tests so that they fully cover all of the SIMD-accelerated algorithms (and most of the other ones as well)
2014-05-06 22:44:46 +00:00
DRC
8a13ae9f25
Redesign the libjpeg regression tests so that they fully cover all of the SIMD-accelerated algorithms (and most of the other ones as well)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1274 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 22:44:46 +00:00
DRC
67972b4ea0
Android build instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1273 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 21:59:31 +00:00
DRC
43e9cee4b2
Replace our custom version of Android.mk with instructions on how to build a libjpeg-turbo SDK for Android using autotools. Upon consulting with AOSP, it appears that Android.mk isn't really necessary except when building libjpeg-turbo for use by the Android platform itself, and it makes more sense for them to maintain the makefile for that purpose rather than for it to be upstreamed. ndk-build has serious limitations that prevent it from being used to generate static libjpeg-turbo libraries (mainly, it isn't possible to combine pre-built objects from one module into a static library for another module, which is necessary because the SIMD extensions sometimes have to be built with different CFLAGS than the rest of the code.) In general, it's just better not to introduce a new build system.
2014-05-06 21:03:35 +00:00
DRC
3f4fb1a62d
Replace our custom version of Android.mk with instructions on how to build a libjpeg-turbo SDK for Android using autotools. Upon consulting with AOSP, it appears that Android.mk isn't really necessary except when building libjpeg-turbo for use by the Android platform itself, and it makes more sense for them to maintain the makefile for that purpose rather than for it to be upstreamed. ndk-build has serious limitations that prevent it from being used to generate static libjpeg-turbo libraries (mainly, it isn't possible to combine pre-built objects from one module into a static library for another module, which is necessary because the SIMD extensions sometimes have to be built with different CFLAGS than the rest of the code.) In general, it's just better not to introduce a new build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1272 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 21:03:35 +00:00
DRC
59326a1491
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1271 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 20:56:01 +00:00
DRC
3b78447867
Wordsmithing
2014-05-06 20:53:25 +00:00
DRC
8a1f94b7b8
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1270 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 20:53:25 +00:00
DRC
7824f70008
SIMD-accelerated slow integer IDCT routine for MIPS DSPr2
2014-05-06 09:53:21 +00:00
DRC
fbde10ef57
SIMD-accelerated slow integer IDCT routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1269 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 09:53:21 +00:00
DRC
361192b972
Phrasing. Boom.
2014-05-06 09:41:08 +00:00
DRC
4ed09b89cf
Phrasing. Boom.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1268 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 09:41:08 +00:00
DRC
1c6030799d
Redesign the libjpeg regression tests so that they fully cover all of the SIMD-accelerated algorithms (and most of the other ones as well)
2014-05-06 08:58:11 +00:00
DRC
c0e5229b23
Redesign the libjpeg regression tests so that they fully cover all of the SIMD-accelerated algorithms (and most of the other ones as well)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1267 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-06 08:58:11 +00:00
DRC
6fc85ff960
First pass at an Android makefile
2014-05-05 20:55:24 +00:00
DRC
063d3128a8
First pass at an Android makefile
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1265 632fc199-4ca6-4c93-a231-07263d6284db
2014-05-05 20:55:24 +00:00
Frank Bossen
8b8d88c850
Improve cjpeg help text
...
List options related to trellis quantization in cjpeg help text
2014-05-05 11:38:43 -04:00
Frank Bossen
a5403fda93
Remove outdated and incorrect comment
2014-05-05 11:31:34 -04:00
Frank Bossen
c88aade31c
Revert type change
...
Revert type of use_moz_defaults to boolean
2014-04-30 14:54:18 -04:00
Frank Bossen
101df25fde
Modify trellis parameter defaults
...
Modify trellis parameters to optimize for PSNR-HVS by default
2014-04-29 14:03:34 -04:00
Frank Bossen
21b2f11a42
Fix issue with quantization matrix optimization
...
Update quantization matrix in trellis loop
2014-04-29 13:00:50 -04:00
Frank Bossen
cd3c32f15d
Update trellis optimization parameters
...
Slightly improved parameters are provided when optimizing for SSIM
metric
2014-04-29 12:33:46 -04:00
Frank Bossen
87d506416f
Fix issue when trellis is disabled
...
master->pass_number_scan_opt_base needs to be set to appropriate value
when trellis is disabled
2014-04-29 12:32:05 -04:00
Frank Bossen
b03b5797f4
Add optimization of quantization matrix
...
Optimizes quantization matrix by minimizing reconstruction error based
on quantized coefficients.
Feature is controlled by cinfo->trellis_q_opt; disabled by default.
2014-04-28 16:28:05 -04:00
Frank Bossen
e5f8575776
Add option to tune for MS-SSIM
...
Added -tune-ms-ssim option to cjpeg to tune for multiscale SSIM metric
2014-04-27 22:01:40 -04:00
Josh Aas
b36bec4d71
Merge pull request #44 from h0r14/master
...
turbojpeg warning [-Wattributes]
2014-04-27 20:47:01 -05:00
Horia Racoviceanu
62003f9ae5
turbojpeg warning [-Wattributes]
...
warning: always_inline function might not be inlinable
Patch from http://sourceforge.net/p/libjpeg-turbo/patches/56/
2014-04-27 02:39:59 +00:00
Josh Aas
7d7e24c60a
Merge pull request #43 from reubenhwk/cleanup_v2
...
Cleanup v2
2014-04-24 08:22:24 -05:00
Reuben Hawkins
b4c7d90b3f
bump version to v1.0.2
2014-04-23 20:19:47 -05:00
Reuben Hawkins
e4fa772b58
adjust_exif_parameters only needed in JPEG_LIB_VER > 70
...
The invocation of this function is wrapped in an ifdef JPEGLIB >70
but the definition of the function wasn't. This change adds the
ifdef around the function definition.
2014-04-23 20:19:47 -05:00
Reuben Hawkins
2086f28340
tjbench.c: return retval in funcs defining it
...
the throw macros set retval, but not all functions use/return this
value. This change, mainly to clean up compiler warnings, makes
those functions return a value.
2014-04-23 20:19:47 -05:00
DRC
f317d8fe84
We use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro) rather than CHAR_IS_UNSIGNED (defined by custom autoconf code in libjpeg that we didn't port over), although I doubt it matters on any of the platforms we support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1264 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 19:13:10 +00:00
DRC
a0908f87a5
We use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro) rather than CHAR_IS_UNSIGNED (defined by custom autoconf code in libjpeg that we didn't port over), although I doubt it matters on any of the platforms we support.
2014-04-20 19:11:52 +00:00
DRC
fda32bfb93
We use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro) rather than CHAR_IS_UNSIGNED (defined by custom autoconf code in libjpeg that we didn't port over), although I doubt it matters on any of the platforms we support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1263 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 19:11:52 +00:00
DRC
4c778664d0
Fix crashes and bogus output in the CMYK and decode-to-YUV features that occurred if JCS_EXTENSIONS wasn't defined.
2014-04-20 09:42:49 +00:00
DRC
fc6c8738e3
Fix crashes and bogus output in the CMYK and decode-to-YUV features that occurred if JCS_EXTENSIONS wasn't defined.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1260 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 09:42:49 +00:00
DRC
2732926d8d
Fix 'make dist'
2014-04-20 09:23:01 +00:00
DRC
fc42227f55
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1259 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 09:23:01 +00:00
DRC
dec1abe515
This patch accomplishes the following:
...
-- Auto-generates HAVE_LOCALE_H macro and adds it to jconfig.h (this is used by rdjpgcom.c.)
-- Reconciles the description and ordering of macros between config.h.in and jconfig.h.in, so the two files can be easily diffed.
-- Eliminates the use of the autoheader-generated config.h in the project and moves relevant internal-only macros into a new file, jconfigint.h. This is to avoid "already defined" warnings in files that were including both config.h (to get the internal autotools package information or the INLINE definition) and jconfig.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1258 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 09:17:11 +00:00
DRC
8c1d7c702e
This patch accomplishes the following:
...
-- Auto-generates HAVE_LOCALE_H macro and adds it to jconfig.h (this is used by rdjpgcom.c.)
-- Reconciles the description and ordering of macros between config.h.in and jconfig.h.in, so the two files can be easily diffed.
-- Eliminates the use of the autoheader-generated config.h in the project and moves relevant internal-only macros into a new file, jconfigint.h. This is to avoid "already defined" warnings in files that were including both config.h (to get the internal autotools package information or the INLINE definition) and jconfig.h.
2014-04-20 09:13:37 +00:00
DRC
6f7100360e
This patch accomplishes the following:
...
-- Auto-generates HAVE_LOCALE_H macro and adds it to jconfig.h (this is used by rdjpgcom.c.)
-- Reconciles the description and ordering of macros between config.h.in and jconfig.h.in, so the two files can be easily diffed.
-- Eliminates the use of the autoheader-generated config.h in the project and moves relevant internal-only macros into a new file, jconfigint.h. This is to avoid "already defined" warnings in files that were including both config.h (to get the internal autotools package information or the INLINE definition) and jconfig.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1257 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 09:13:37 +00:00
DRC
18f4486b9a
Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail. More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block:
...
delta = cur0 * 2;
cur0 += delta; /* form error * 3 */
errorptr[0] = (FSERROR) (bpreverr0 + cur0);
cur0 += delta; /* form error * 5 */
bpreverr0 = belowerr0 + cur0;
cur0 += delta; /* form error * 7 */
Each time cur0 is incremented by delta, the compiled code doubles the value of delta (WTF?!) Thus, by the time the end of the block is reached, cur0 is equal to 15 times its former self, not 7 times its former self as it should be. At any rate, it was a lot simpler to just refactor the code so that it uses multiplication.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1253 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 07:22:21 +00:00
DRC
4326901a92
1.3.2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1252 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 07:20:31 +00:00
DRC
faac204f30
Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail. More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block:
...
delta = cur0 * 2;
cur0 += delta; /* form error * 3 */
errorptr[0] = (FSERROR) (bpreverr0 + cur0);
cur0 += delta; /* form error * 5 */
bpreverr0 = belowerr0 + cur0;
cur0 += delta; /* form error * 7 */
Each time cur0 is incremented by delta, the compiled code doubles the value of delta (WTF?!) Thus, by the time the end of the block is reached, cur0 is equal to 15 times its former self, not 7 times its former self as it should be. At any rate, it was a lot simpler to just refactor the code so that it uses multiplication.
2014-04-20 06:57:52 +00:00
DRC
944cf32d5a
Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail. More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block:
...
delta = cur0 * 2;
cur0 += delta; /* form error * 3 */
errorptr[0] = (FSERROR) (bpreverr0 + cur0);
cur0 += delta; /* form error * 5 */
bpreverr0 = belowerr0 + cur0;
cur0 += delta; /* form error * 7 */
Each time cur0 is incremented by delta, the compiled code doubles the value of delta (WTF?!) Thus, by the time the end of the block is reached, cur0 is equal to 15 times its former self, not 7 times its former self as it should be. At any rate, it was a lot simpler to just refactor the code so that it uses multiplication.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1251 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-20 06:57:52 +00:00
DRC
473bc8edfc
Minor comment correction (we support the full range of IDCT scaling factors now.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1250 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-18 07:58:29 +00:00
DRC
682c2b69f9
Minor comment correction (we support the full range of IDCT scaling factors now.)
2014-04-18 07:57:48 +00:00
DRC
52076a7015
Minor comment correction (we support the full range of IDCT scaling factors now.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1249 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-18 07:57:48 +00:00
DRC
23a5f07202
Clarify how to do a 64-bit build using the Visual Studio IDE
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1248 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-18 07:50:17 +00:00
DRC
2dc2bbde66
Clarify how to do a 64-bit build using the Visual Studio IDE
2014-04-18 07:49:29 +00:00
DRC
09d26479de
Clarify how to do a 64-bit build using the Visual Studio IDE
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1247 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-18 07:49:29 +00:00
Reuben Hawkins
548aeb977d
turbojpeg.c: clean up warnings around getinstance
...
This macro defined two local variables, cinfo and dinfo, but both
aren't always used. Add a (void)cinfo; and (void)dinfo in there
to hush up the compiler.
2014-04-17 23:00:01 -05:00
Reuben Hawkins
b93b80b3aa
jcmaster.c: fix compiler warnings
...
* remove unused variable size[8]
* initialize base_scan_idx
2014-04-17 23:00:01 -05:00
Reuben Hawkins
706f2a8881
configure.ac: fix INLINE definition
...
The inline attribute must still be prefixed with 'inline' to work
correctly.
2014-04-17 23:00:01 -05:00
Reuben Hawkins
abffeb8390
configure.ac: enable silent build rules
...
Silent build rules make it much less likely for warnings to go by
unnoticed.
2014-04-17 23:00:01 -05:00
Reuben Hawkins
bd845c8691
configure.ac: fix some autoconf warnings
2014-04-17 23:00:01 -05:00
Reuben Hawkins
4e5e4787e4
configure.ac: use AC_LANG_SOURCE where appropriate
2014-04-17 23:00:01 -05:00
Reuben Hawkins
100ed0a5f9
bump version to v1.0.1
2014-04-17 23:00:01 -05:00
DRC
af64ac105f
Update Windows build instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1246 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-18 02:46:59 +00:00
DRC
d895eac10e
Update Windows build instructions
2014-04-17 20:05:03 +00:00
DRC
31bdb9940e
Update Windows build instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1245 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-17 20:05:03 +00:00
DRC
2d27a01e6d
Fix warnings about unused variables when building with GCC 4.8.x
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1242 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-17 00:47:18 +00:00
DRC
378f4528ad
Fix warnings about unused variables when building with GCC 4.8.x
2014-04-16 23:38:37 +00:00
DRC
abf87ed578
Fix warnings about unused variables when building with GCC 4.8.x
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1241 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-16 23:38:37 +00:00
DRC
7c0f91e4e6
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC; Unix EOL
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1240 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-16 23:37:23 +00:00
DRC
e223a7ee9e
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC; Unix EOL
2014-04-16 23:32:58 +00:00
DRC
161abb182e
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC; Unix EOL
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1239 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-16 23:32:58 +00:00
DRC
8f4115dc8c
Set the BUILD environment variable properly when building with MinGW implementations that lack a Unix shell (TDM-GCC, for instance); Only set CMP0022 if it is supported (older CMake implementations don't support it); Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1238 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-16 23:30:38 +00:00
DRC
2e3f284fa5
Set the BUILD environment variable properly when building with MinGW implementations that lack a Unix shell (TDM-GCC, for instance); Only set CMP0022 if it is supported (older CMake implementations don't support it); Remove trailing spaces
2014-04-16 23:29:38 +00:00
DRC
8c4107ca00
Set the BUILD environment variable properly when building with MinGW implementations that lack a Unix shell (TDM-GCC, for instance); Only set CMP0022 if it is supported (older CMake implementations don't support it); Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1237 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-16 23:29:38 +00:00
Frank Bossen
45c800e2d6
Fix #40
...
Improve code portability to deal with cases where:
- right shift is always unsigned
- size of int is not 32 bits
2014-04-15 18:17:09 +02:00
Frank Bossen
3fd6eec30b
Remove comment on portability
...
Derivation of sign value relies on shift right operator >> being an
arithmetic shift. It is thus not strictly portable since the C standard
defines the result of x >> y as "implementation-defined" when x is a
signed integer with a negative value.
2014-04-15 15:23:30 +02:00
Frank Bossen
d273dc190c
Fix #39
...
Avoid declaring variable in middle of code block
2014-04-15 15:07:55 +02:00
DRC
94d0aa2e4c
Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1236 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-15 03:43:44 +00:00
DRC
2dac0fbd04
Remove trailing spaces
2014-04-15 03:42:40 +00:00
DRC
16cc1be7a6
Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1235 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-15 03:42:40 +00:00
DRC
9e74f518bd
wordsmithing
2014-04-15 03:41:31 +00:00
DRC
f8ee35809f
wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1234 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-15 03:41:31 +00:00
DRC
222279a4f0
wordsmithing
2014-04-15 03:07:44 +00:00
DRC
2f59b4eac1
wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1233 632fc199-4ca6-4c93-a231-07263d6284db
2014-04-15 03:07:44 +00:00
fbossen
5d4e113b06
Merge pull request #38 from pengvado/master
...
36% faster encode_mcu_AC_first(), by eliminating an unpredictable branch in the inner loop
2014-04-15 01:57:12 +02:00
Loren Merritt
8db334cde2
36% faster encode_mcu_AC_first(), by eliminating an unpredictable branch in the inner loop
...
Which corresponds to 15% faster overall encoding in "progressive scan optimization" mode.
(And a negligible speedup in -fastcrush mode.)
2014-04-13 05:30:44 +00:00
Frank Bossen
1733487e17
Add option to perform multiple trellis quantization iterations
...
Multiple trellis iterations may improve coding performance as Huffman
tables are updated with each iteration. In practice the benefit appears
to be very minimal
2014-04-01 23:14:29 +02:00
Frank Bossen
2012e32f19
Update trellis quantization to support progressive coding mode
...
Trellis quantization is modified:
- to work on the configurable spectral range Ss to Se
- to optionally optimize runs of EOBs
- to optionally split optimization between 2 spectral ranges
In trellis quantization passes Huffman table code optimization is
modified such as to generable a valid code length for each possible
symbol by resetting frequency counters to 1 instead of 0
2014-04-01 20:14:37 +02:00
Josh Aas
f4c556031c
Merge pull request #32 from elfring/Complete_quoting_for_parameters_of_some_CMake_commands
...
Complete quoting for parameters of some CMake commands.
2014-04-01 11:46:48 -05:00
Markus Elfring
553e2cb89e
Bug #17 : Completed quoting for parameters of some CMake commands
...
A wiki article pointed out that whitespace will only be preserved for parameters
in CMake commands if passed strings will be appropriately quoted or escaped.
http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes .
Quoting was added so that more places should also handle file names correctly
which contain space characters or semicolons eventually.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net >
2014-04-01 17:47:42 +02:00
DRC
038cf66ab2
Integrate a slightly modified version of Mozilla's patch for precomputing the bit-counting LUT. This is useful if the table needs to be shared among multiple processes, although the primary reason for doing that is reduced footprint on mobile devices, which are probably already covered by the clz intrinsic code.
2014-03-28 18:50:30 +00:00
DRC
8acdd385cb
Integrate a slightly modified version of Mozilla's patch for precomputing the bit-counting LUT. This is useful if the table needs to be shared among multiple processes, although the primary reason for doing that is reduced footprint on mobile devices, which are probably already covered by the clz intrinsic code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1221 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-28 18:50:30 +00:00
DRC
a60728cb34
Use clz/bsr instructions on ARM for bit counting rather than the lookup table (reduces memory footprint and can improve performance in some cases.)
2014-03-28 18:33:25 +00:00
DRC
80ececa081
Use clz/bsr instructions on ARM for bit counting rather than the lookup table (reduces memory footprint and can improve performance in some cases.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1220 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-28 18:33:25 +00:00
Frank Bossen
4d0329b235
Add option to disable trellis quantization
2014-03-28 18:16:46 +01:00
Frank Bossen
199fffb759
Enable combination of trellis quantization and scan optimization
2014-03-28 12:42:37 +01:00
DRC
1d50153e84
Modify svn:ignore so that it lists only files generated in-tree by autoreconf -fiv. It's pretty much impossible to maintain an up-to-date list of files generated by the actual build, so we'll just assume that the user will do an out-of-tree build if they want to avoid cluttering up their 'svn status' display.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1219 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-27 20:47:39 +00:00
DRC
69c5bea97a
Modify svn:ignore so that it lists only files generated in-tree by autoreconf -fiv. It's pretty much impossible to maintain an up-to-date list of files generated by the actual build, so we'll just assume that the user will do an out-of-tree build if they want to avoid cluttering up their 'svn status' display.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1218 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-27 20:43:57 +00:00
Frank Bossen
0c7449c461
Fix #25
...
Scan pattern needs to be set again after changing colorspace
2014-03-27 14:31:35 +01:00
Frank Bossen
2906cbf6ed
Fix issue with jpegtran and RGB/CMYK colorspaces
...
Fixes issues #23 #24 #31
Note that the original jpgcrush script optimizes scans only for YCbCr
and grayscale color spaces. Scan optimization is thus disabled for RGB
and CMYK color spaces and behavior reverts to the fast mode of jpgcrush
which uses predefined scans
2014-03-27 11:58:24 +01:00
DRC
18edf4db70
Make iOS build instructions more generic and applicable to all versions of Xcode; modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1217 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-27 03:36:04 +00:00
DRC
5610bb1fec
Make iOS build instructions more generic and applicable to all versions of Xcode; modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1.
2014-03-27 03:35:21 +00:00
DRC
b190357c98
Make iOS build instructions more generic and applicable to all versions of Xcode; modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1216 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-27 03:35:21 +00:00
Frank Bossen
2de8e97989
Add option to use lambda weighting table
...
Different lambda values may be used for each frequency in DCT domain.
The weighting table is currently not configurable but can be
enabled/disabled with cinfo-> use_lambda_weight_tbl
2014-03-26 00:06:07 +01:00
Frank Bossen
6f168e4f80
Add parameters to cjpeg to tune for different metrics
...
-tune-psnr, -tune-ssim and -tune-hvs-psnr are added to cjpeg to control
the trellis quantization process and optimize output for PSNR, SSIM and
HVS-PSNR distortion metrics
2014-03-25 11:48:30 +01:00
DRC
86612bf441
Update build instructions to reflect the use of pkgbuild/productbuild
2014-03-25 05:27:16 +00:00
DRC
66b9aeb4f3
Update build instructions to reflect the use of pkgbuild/productbuild
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1215 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-25 05:27:16 +00:00
Frank Bossen
3e8afe7f94
Add option to control lambda parameter from command line
...
-lambda1 and -lambda2 command line parameters are added to cjpeg to
control trellis quantization
2014-03-24 20:51:46 +01:00
Josh Aas
7b66e2fa25
Merge pull request #26 from negge/rd
...
Adding scripts to generate rd-curves.
2014-03-24 14:07:29 -05:00
Frank Bossen
758ed27a05
Add option to use flat quantization table
...
Set cinfo->use_flat_quant_tbl to TRUE to use flat quantization table or
-flat option in cjpeg
2014-03-24 16:30:56 +01:00
Frank Bossen
d200b2c144
Initial implementation of trellis quantization
...
A new pass type trellis_pass is added. It defines a pass where trellis
quantization is done in the quantize_trellis() function.
Trellis quantization can be enabled by setting use_moz_defaults to 2 or
by using the -trellis option in cjpeg
Note that trellis does currently not work with scan optimization. Scan
optimization is disabled when trellis is enabled.
2014-03-23 21:06:01 +01:00
DRC
af19664571
Remove any claims of support for OS X 10.4 "Tiger" (the packaging system overhaul produces packages that require Leopard or later, and I haven't been able to test Tiger for years anyhow.) Update TurboJPEG shared library version.
2014-03-23 18:06:11 +00:00
DRC
b30b918b0f
Remove any claims of support for OS X 10.4 "Tiger" (the packaging system overhaul produces packages that require Leopard or later, and I haven't been able to test Tiger for years anyhow.) Update TurboJPEG shared library version.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1213 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-23 18:06:11 +00:00
DRC
aa411b107f
Migrate Mac packaging system to pkgbuild, since PackageMaker is no longer supported.
2014-03-23 17:53:07 +00:00
DRC
0195c26b3b
Migrate Mac packaging system to pkgbuild, since PackageMaker is no longer supported.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1212 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-23 17:53:07 +00:00
DRC
fdc2954e79
Remove the sections about replacing libjpeg at run time and compile time. These were written before O/S distributions started shipping libjpeg-turbo, and they are either pedantic or no longer relevant. Also remove any text that assumes the use of our official project binaries. Notes specific to the official binaries have been moved into the project wiki.
2014-03-23 15:21:20 +00:00
DRC
3b8d4263fc
Remove the sections about replacing libjpeg at run time and compile time. These were written before O/S distributions started shipping libjpeg-turbo, and they are either pedantic or no longer relevant. Also remove any text that assumes the use of our official project binaries. Notes specific to the official binaries have been moved into the project wiki.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1210 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-23 15:21:20 +00:00
DRC
87768cc42c
Fix Windows build
2014-03-22 23:03:03 +00:00
DRC
a3b8f11de4
Fix Windows build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1206 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-22 23:03:03 +00:00
DRC
166227c3c7
Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository.
2014-03-22 20:51:38 +00:00
DRC
305e0f1541
Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1204 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-22 20:51:38 +00:00
DRC
1cf34093b9
2014-03-22 20:43:03 +00:00
DRC
30a62f472f
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1203 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-22 20:43:03 +00:00
DRC
f33798a34d
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1202 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-22 20:42:01 +00:00
DRC
d10edbc1ee
Fix 'make dist'
2014-03-22 20:22:52 +00:00
DRC
6a9cbe75ed
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1201 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-22 20:22:52 +00:00
DRC
af49fce8d3
Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1195 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 23:34:53 +00:00
DRC
67599a5dc6
RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir. Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it.
2014-03-21 11:01:00 +00:00
DRC
4862b64557
RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir. Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1194 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 11:01:00 +00:00
DRC
396e070825
RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir. Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1193 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 11:00:00 +00:00
DRC
ea070355f5
Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1192 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:35:53 +00:00
DRC
dd12a235c5
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
2014-03-21 09:35:02 +00:00
DRC
5dc419c6bc
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1191 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:35:02 +00:00
DRC
97ba4bac6d
Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1190 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:33:49 +00:00
DRC
f5b95b3201
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1189 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:29:28 +00:00
DRC
92c7ae8911
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC
2014-03-21 09:23:41 +00:00
DRC
6e21536da0
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1188 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:23:41 +00:00
DRC
fcb749d773
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1187 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 09:22:21 +00:00
DRC
7bb4dbb81b
Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough.
2014-03-21 08:36:58 +00:00
DRC
2f79703e04
Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1186 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 08:36:58 +00:00
DRC
7b499d682e
Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1185 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-21 08:36:06 +00:00
Nathan E. Egge
5d332e6447
Adding scripts to generate rd-curves.
2014-03-17 19:30:43 -04:00
DRC
c4f4d18352
Extend YUVImage class to allow reuse of the same buffer with different metadata; port TJBench changes that treat YUV encoding/decoding as an intermediate step of the JPEG compression/decompression pipeline rather than a separate test case; add YUV encode/decode tests to the Java version of tjbenchtest
2014-03-17 11:14:52 +00:00
DRC
74437c2c0d
Extend YUVImage class to allow reuse of the same buffer with different metadata; port TJBench changes that treat YUV encoding/decoding as an intermediate step of the JPEG compression/decompression pipeline rather than a separate test case; add YUV encode/decode tests to the Java version of tjbenchtest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1184 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 11:14:52 +00:00
DRC
5e75573709
formatting tweaks
2014-03-17 10:40:10 +00:00
DRC
60b35b8714
formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1183 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 10:40:10 +00:00
DRC
5bfddde8fd
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet; formatting tweak
2014-03-17 10:19:42 +00:00
DRC
3c2910bc94
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet; formatting tweak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1182 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 10:19:42 +00:00
DRC
57a9436cec
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet; formatting tweak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1181 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 10:14:18 +00:00
DRC
b7d9250185
Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError.
2014-03-17 10:13:17 +00:00
DRC
eee4d881c1
Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1180 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 10:13:17 +00:00
DRC
2d3974f117
Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1179 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-17 10:12:11 +00:00
DRC
821a20d0e8
Generate the Java documentation using javadoc 7, to improve readability.
2014-03-16 23:12:25 +00:00
DRC
9c37b59d48
Generate the Java documentation using javadoc 7, to improve readability.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1178 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 23:12:25 +00:00
DRC
a35cc3acf8
This should have been checked in with the previous commit.
2014-03-16 22:59:51 +00:00
DRC
96f55a9797
This should have been checked in with the previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1177 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 22:59:51 +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
2b910d60be
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
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1176 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 22:56:26 +00:00
DRC
5c04be8c3d
Update (C) year
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1175 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 19:33:23 +00:00
DRC
3f40a7b13d
Don't use deprecated constructor
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1174 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 19:33:07 +00:00
DRC
e1ed715c47
Doc tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1173 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 18:43:42 +00:00
DRC
29c00b45fa
Go ahead and deprecate the old constructor in 1.3.1 instead of in 1.4, since it uses a deprecated method
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1172 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-16 18:00:59 +00:00
DRC
985f8d3bf9
Add @Deprecated to the deprecated Java methods, so javac will actually print deprecation warnings, as opposed to just listing the methods as deprecated in javadoc; remove the use of the deprecated methods by our own test programs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1171 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-15 13:25:11 +00:00
DRC
960ea8fb66
As with tjDecompressToYUV*(), tjCompressFromYUV() also conditionally uses an intermediate buffer if the source image dimensions do not fall on MCU boundaries.
2014-03-15 08:48:53 +00:00
DRC
7db7c4b433
As with tjDecompressToYUV*(), tjCompressFromYUV() also conditionally uses an intermediate buffer if the source image dimensions do not fall on MCU boundaries.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1170 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-15 08:48:53 +00:00
DRC
d56079bc7e
Remove unneeded/unused code
2014-03-14 08:59:27 +00:00
DRC
336154ad7e
Remove unneeded/unused code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1169 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-14 08:59:27 +00:00
DRC
80d2fe24c8
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.
2014-03-14 08:53:33 +00:00
DRC
d657ebcc92
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.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1168 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-14 08:53:33 +00:00
DRC
b0073a2851
Remove benchmarks. They were originally intended as a way of measuring overhead for small compress/decompress operations, but using TJBench with a small image is a better way to accomplish that.
2014-03-14 04:32:03 +00:00
DRC
9537c80920
Remove benchmarks. They were originally intended as a way of measuring overhead for small compress/decompress operations, but using TJBench with a small image is a better way to accomplish that.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1167 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-14 04:32:03 +00:00
DRC
68a89e0170
Formatting tweak
2014-03-14 04:27:03 +00:00
DRC
03d7b0bd81
Formatting tweak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1166 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-14 04:27:03 +00:00
DRC
5d4f2feeed
Oops. This code should not have been removed. It is necessary for generating the error images.
2014-03-14 04:15:43 +00:00
DRC
c4264cd007
Oops. This code should not have been removed. It is necessary for generating the error images.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1165 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-14 04:15:43 +00:00
DRC
3aa498b9e1
Actually, the issue with nightshot_iso_100 is unrelated to the image size. Reducing the size to 128x95, the same size as vgl_6548_0026, does not eliminate the problem. The issue seems to always occur when decompression scaling is enabled. It is unclear at this point whether this is a bug or expected behavior, but the pixels generated by the split decompression functions appear correct. They are just slightly different (but not visibly so) from the pixels generated by the monolithic decompression function.
2014-03-13 21:19:12 +00:00
DRC
f568823115
Actually, the issue with nightshot_iso_100 is unrelated to the image size. Reducing the size to 128x95, the same size as vgl_6548_0026, does not eliminate the problem. The issue seems to always occur when decompression scaling is enabled. It is unclear at this point whether this is a bug or expected behavior, but the pixels generated by the split decompression functions appear correct. They are just slightly different (but not visibly so) from the pixels generated by the monolithic decompression function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1164 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-13 21:19:12 +00:00
DRC
022952d37d
Add a mode to tjbenchtest for testing the YUV encoding/decoding functions
2014-03-13 20:48:38 +00:00
DRC
1c510cf11a
Add a mode to tjbenchtest for testing the YUV encoding/decoding functions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1163 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-13 20:48:38 +00:00
DRC
593bb84e41
If we have transformed a 4:2:2 or 4:4:0 image in any way that transposes the horizontal and vertical dimensions, then we need to inform the decompression function that the subsampling type has changed. Otherwise, tjDecodeYUV() will not produce correct results.
2014-03-13 20:33:43 +00:00
DRC
ae6746cab2
If we have transformed a 4:2:2 or 4:4:0 image in any way that transposes the horizontal and vertical dimensions, then we need to inform the decompression function that the subsampling type has changed. Otherwise, tjDecodeYUV() will not produce correct results.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1162 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-13 20:33:43 +00:00
Josh Aas
8d2a67c7dd
Merge pull request #6 from negge/yuv
...
Adding yuvjpeg and jpegyuv utilities.
2014-03-13 10:25:05 -05:00
Josh Aas
a4871a16c6
Add link to announcement blog post in README.
2014-03-13 10:21:32 -05:00
Josh Aas
e59db4fad5
Add license file to top-level dir.
2014-03-13 10:18:12 -05:00
Josh Aas
d12ca848a2
Windows build fix.
2014-03-13 10:01:11 -05:00
DRC
dbebf635b0
Whitespace tweaks
2014-03-13 08:32:20 +00:00
DRC
28383e8001
Whitespace tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1161 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-13 08:32:20 +00:00
DRC
0a1775882f
Whitespace tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1160 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-13 08:32:11 +00:00
DRC
2ed7138390
Execute warmup runs with tjTransform() as well
2014-03-12 07:17:23 +00:00
DRC
eead7fe19b
Execute warmup runs with tjTransform() as well
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1159 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-12 07:17:23 +00:00
DRC
88ae091ca1
Fix a couple of output formatting issues
2014-03-12 07:16:17 +00:00
DRC
1728190717
Fix a couple of output formatting issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1158 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-12 07:16:17 +00:00
DRC
009b6a50b5
Since we now have a complete set of YUV functions, TJBench can be greatly simplified. It now tests YUV encoding/decoding as an intermediate step of JPEG compression/decompression, which eliminates the need for a separate YUV mode. Several other things have been streamlined in the process.
2014-03-12 06:51:39 +00:00
DRC
f35c0b83c0
Since we now have a complete set of YUV functions, TJBench can be greatly simplified. It now tests YUV encoding/decoding as an intermediate step of JPEG compression/decompression, which eliminates the need for a separate YUV mode. Several other things have been streamlined in the process.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1157 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-12 06:51:39 +00:00
DRC
885da7cef9
Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile.
2014-03-12 06:17:12 +00:00
DRC
efb347cf12
Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1156 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-12 06:17:12 +00:00
DRC
311e4b7cd1
Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1155 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-12 06:15:51 +00:00
Josh Aas
030a805b5b
Update project README to state goals and clarify re: general JPEG library use.
2014-03-11 09:03:53 -05:00
DRC
395de92bd7
Wordsmithing & formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1154 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 09:46:50 +00:00
DRC
4bd85091a9
Back-port the -subsamp option from 1.4 rather than use the hackish approach of replacing 4:2:2 with 4:4:0. This has the added advantage of allowing the user to test only a specific level of subsampling.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1153 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 08:28:47 +00:00
DRC
6832bc2615
Oops. This was apparently the victim of an overly aggressive search/replace.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1152 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 08:25:59 +00:00
DRC
7f0bceb586
Silence warning in CMake 2.8.12 and later
2014-03-11 06:31:09 +00:00
DRC
7dc5d31417
Silence warning in CMake 2.8.12 and later
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1151 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 06:31:09 +00:00
DRC
05142f3fa8
Silence warning in CMake 2.8.12 and later
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1150 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 06:30:21 +00:00
DRC
e4552b8143
Fix the build of the Java classes when using MSVC 2010 and later. Something in the recesses of my brain is telling me that I tried this before and it failed under some circumstances, but it must have been a bug in an older CMake implementation. CMake 2.8.8 and later seem to work fine with this patch. This patch also updates the minimum required version to 2.8.8, because 2.8.8 fixed another issue that was preventing the SIMD code from building under MSVC 2010 and later.
2014-03-11 06:24:46 +00:00
DRC
0c0d0bc5b1
Fix the build of the Java classes when using MSVC 2010 and later. Something in the recesses of my brain is telling me that I tried this before and it failed under some circumstances, but it must have been a bug in an older CMake implementation. CMake 2.8.8 and later seem to work fine with this patch. This patch also updates the minimum required version to 2.8.8, because 2.8.8 fixed another issue that was preventing the SIMD code from building under MSVC 2010 and later.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1149 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 06:24:46 +00:00
DRC
624acb5168
Fix the build of the Java classes when using MSVC 2010 and later. Something in the recesses of my brain is telling me that I tried this before and it failed under some circumstances, but it must have been a bug in an older CMake implementation. CMake 2.8.8 and later seem to work fine with this patch. This patch also updates the minimum required version to 2.8.8, because 2.8.8 fixed another issue that was preventing the SIMD code from building under MSVC 2010 and later.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1148 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-11 06:21:46 +00:00
DRC
42af7fbde1
Fix Windows build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1147 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-10 21:38:11 +00:00
DRC
581c75f44c
Formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1146 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-10 21:37:54 +00:00
DRC
1cdf41108b
For now, punt on trying to support fancy upsampling in tjDecodeYUV(). Fancy upsampling requires context rows and other refinements, which are difficult to implement correctly with the algorithm we're using. Longer-term, supporting fancy upsampling would probably require using the main buffer that libjpeg allocates.
2014-03-10 20:14:53 +00:00
DRC
0d141f4844
For now, punt on trying to support fancy upsampling in tjDecodeYUV(). Fancy upsampling requires context rows and other refinements, which are difficult to implement correctly with the algorithm we're using. Longer-term, supporting fancy upsampling would probably require using the main buffer that libjpeg allocates.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1145 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-10 20:14:53 +00:00
DRC
adb33bb1a4
Fix additional uninitialized values reported by valgrind
2014-03-10 20:11:56 +00:00
DRC
4a9b7184e6
Fix additional uninitialized values reported by valgrind
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1144 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-10 20:11:56 +00:00
DRC
8419f05afa
When tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't been previously used to decompress a JPEG image), then it needs comps_in_scan, data_precision, and the quantization tables to be defined. This patch also extends TJUnitTest to check for this error.
2014-03-10 09:34:04 +00:00
DRC
c33bc1dab0
When tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't been previously used to decompress a JPEG image), then it needs comps_in_scan, data_precision, and the quantization tables to be defined. This patch also extends TJUnitTest to check for this error.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1143 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-10 09:34:04 +00:00
DRC
435f18d902
Silence valgrind false positives about uninitialized values. Even with this patch, valgrind still complains about uninitialized values when decompressing or decoding to a buffer with an alpha-enabled colorspace. Not sure why this happens, but it occurs in libjpeg-turbo 1.3 as well, and only when the x86/x86-64 SIMD code is being used. It is my belief that these remaining warnings are also false positives, because if the output buffer is memset to all 0's prior to invoking tjDecodeYUV()/tjDecompress(), no errors are reported. If any of the alpha channel bits were in fact not being initialized, then they would still be 0 after invoking tjDecodeYUV()/tjDecompress(), and TJUnitTest would report an error.
2014-03-08 20:50:35 +00:00
DRC
bb70930aa8
Silence valgrind false positives about uninitialized values. Even with this patch, valgrind still complains about uninitialized values when decompressing or decoding to a buffer with an alpha-enabled colorspace. Not sure why this happens, but it occurs in libjpeg-turbo 1.3 as well, and only when the x86/x86-64 SIMD code is being used. It is my belief that these remaining warnings are also false positives, because if the output buffer is memset to all 0's prior to invoking tjDecodeYUV()/tjDecompress(), no errors are reported. If any of the alpha channel bits were in fact not being initialized, then they would still be 0 after invoking tjDecodeYUV()/tjDecompress(), and TJUnitTest would report an error.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1142 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-08 20:50:35 +00:00
DRC
bac0f31e7c
Add a blank line before the alpha-enabled colorspace tests in order to improve readability
2014-03-08 20:32:37 +00:00
DRC
89e1e74994
Add a blank line before the alpha-enabled colorspace tests in order to improve readability
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1141 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-08 20:32:37 +00:00
DRC
b9b6a143b1
Add a blank line before the alpha-enabled colorspace tests in order to improve readability
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1140 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-08 20:31:31 +00:00
Josh Aas
0c48e5367b
Compile fix.
2014-03-07 16:12:04 +00:00
DRC
897a525e3f
Go ahead and call jinit_master_decompress() rather than trying to reproduce its functionality. That function does a few things that we were missing, including allocating the range limit table used by the plain C color conversion code.
2014-03-07 03:52:57 +00:00
DRC
61a2e1ed20
Go ahead and call jinit_master_decompress() rather than trying to reproduce its functionality. That function does a few things that we were missing, including allocating the range limit table used by the plain C color conversion code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1139 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-07 03:52:57 +00:00
DRC
2409fb9d03
Oops. We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code.
2014-03-06 20:07:03 +00:00
DRC
6bf156552e
Oops. We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1138 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-06 20:07:03 +00:00
DRC
63c56225ff
Oops. We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1136 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-06 19:51:29 +00:00
DRC
08b114849f
Fix regression introduced in r1128 that caused SIMD detection to malfunction for ARM platforms (and probably ARM64 and MIPS as well.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1135 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-06 09:29:25 +00:00
DRC
89c9791c8e
Fix regression introduced in r1122 that caused SIMD detection to malfunction for ARM platforms (and probably ARM64 and MIPS as well.)
2014-03-06 09:26:49 +00:00
DRC
0a92189a38
Fix regression introduced in r1122 that caused SIMD detection to malfunction for ARM platforms (and probably ARM64 and MIPS as well.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1134 632fc199-4ca6-4c93-a231-07263d6284db
2014-03-06 09:26:49 +00:00
Nathan E. Egge
7448ab4e82
Adding yuvjpeg and jpegyuv utilities.
2014-03-05 14:01:25 -05:00
fbossen
febf3466d4
Optimize scans by default only if Mozilla defaults enabled
2014-03-06 01:28:44 +09:00
fbossen
5523494348
Fix issue with num_components not set
...
Calls to jpeg_simple_progression() should be made after num_components
is set in a function such as jpeg_default_colorspace()
2014-03-06 00:55:52 +09:00
fbossen
3287e09390
Fix issue with -revert option in jpegtran
2014-03-05 12:47:44 +01:00
fbossen
c31dea2118
Merge branch 'crush'
2014-03-02 23:18:00 +01:00
DRC
b861ef600c
Fix unitialized value reported by valgrind (the upsampling routine used by 4:4:0 and 4:1:1 reads the value of component_index.)
2014-02-28 09:35:34 +00:00
DRC
fa6e45a67f
Fix unitialized value reported by valgrind (the upsampling routine used by 4:4:0 and 4:1:1 reads the value of component_index.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1133 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 09:35:34 +00:00
DRC
5c2f2cccb7
Implement a YUV decode function in the TurboJPEG API, to be symmetric with tjEncodeYUV().
2014-02-28 09:17:14 +00:00
DRC
fc300f03f9
Implement a YUV decode function in the TurboJPEG API, to be symmetric with tjEncodeYUV().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1132 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 09:17:14 +00:00
DRC
9961cd6aed
Remove benchmarks. They were originally intended as a way of measuring overhead for small compress/decompress operations, but using TJBench with a small image is a better way to accomplish that.
2014-02-28 09:06:42 +00:00
DRC
9649c114e6
Remove benchmarks. They were originally intended as a way of measuring overhead for small compress/decompress operations, but using TJBench with a small image is a better way to accomplish that.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1131 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 09:06:42 +00:00
DRC
6500625c07
Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.)
2014-02-28 05:34:02 +00:00
DRC
0eb9ce28ad
Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1130 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 05:34:02 +00:00
DRC
4f40a52c8e
Fix autoconf warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1128 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 05:26:24 +00:00
DRC
16ecf16f90
Use C-style comments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1127 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 05:23:26 +00:00
DRC
0fe79b8083
Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1126 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-28 05:19:43 +00:00
Josh Aas
c0aa2c01b7
Re-brand to libmozjpeg.
2014-02-27 15:26:48 -06:00
DRC
b7e14cbaca
Use C-style comments
2014-02-27 21:22:54 +00:00
DRC
b3106a1ec5
Use C-style comments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1125 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-27 21:22:54 +00:00
fbossen
e8376f242d
Fix indentation
2014-02-21 13:36:55 -05:00
fbossen
724d558ae3
Fix issue #2 clarify default status of options
...
With mozjpeg defaults, Huffman table optimisation and progressive
coding are enabled
2014-02-20 18:31:25 -05:00
DRC
005d7c52a7
Oops
2014-02-20 19:33:44 +00:00
DRC
4d98fc5d95
Oops
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1124 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-20 19:33:44 +00:00
fbossen
e9bbf66627
Enable mozjpeg defaults in sample apps and turbojpeg
2014-02-20 10:20:45 -05:00
fbossen
c3e2b3c933
Fix issue with uninitialised variable
2014-02-19 18:56:58 -05:00
fbossen
60e6c633fa
Fix condition for comparing with original size
2014-02-19 18:43:13 -05:00
fbossen
b6ddbefdd7
Update jpegtran to match jpgcrush behaviour
...
Modify jpegtran such as to revert to original file if scan optimisation
brings no compression benefit
2014-02-19 17:24:58 -05:00
fbossen
b346a5cc31
Move field
2014-02-19 16:49:57 -05:00
fbossen
c92da453f3
Implement pruning of search for best number of refinement layers
2014-02-19 16:42:38 -05:00
fbossen
8d0816e808
Reorder scan buffers to match jpgcrush order
2014-02-19 15:56:36 -05:00
fbossen
3d26a0a343
Regroup copying of scan buffers
2014-02-19 15:38:20 -05:00
fbossen
579d16b032
Add pruning of frequency split selection
...
Skip passes for frequency splitting if they are unlikely to provide
better results.
Moved related fields from cinfo to master object.
2014-02-19 15:12:23 -05:00
fbossen
5ca1602f2f
Clean up scan optimisation code
...
Remove code that was casting const to non-const
2014-02-19 13:36:00 -05:00
fbossen
e64d7453e9
Resolve mismatch with jpgcrush
...
Add early termination to search for best Al parameter
2014-02-15 09:13:03 -05:00
DRC
b9e72234e1
Older versions of automake don't support AM_PROG_AR, so only execute that macro if it exists.
2014-02-15 07:14:58 +00:00
DRC
6762c622b3
Older versions of automake don't support AM_PROG_AR, so only execute that macro if it exists.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1123 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-15 07:14:58 +00:00
DRC
618fb42ff1
Fix autoconf warnings
2014-02-15 07:02:04 +00:00
DRC
3c4b32337a
Fix autoconf warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1122 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-15 07:02:04 +00:00
fbossen
dff12f6b87
Fix issues with chroma scan optimisation
2014-02-14 18:57:15 -05:00
fbossen
a4137a6c14
Add support for scan optimisation of monochrome pictures
2014-02-14 18:12:51 -05:00
fbossen
fa9569fcec
Add command line parameter to control scan optimisation
2014-02-14 17:19:56 -05:00
fbossen
09fde9eaf6
Clean up scan optimisation code
...
Remove hard coded values and restructure code.
2014-02-14 17:11:56 -05:00
fbossen
71f953d0be
Clean up scan optimisation code
...
Lessen use of hardcoded values in luma search
2014-02-13 19:09:32 -05:00
fbossen
16c3cdb956
Initial version of scan optimisation
...
First implementation of scan optimisation as done by jpgcrush. Many
parameters are currently hardcoded which should be changed.
Implementation is missing for monochrome.
2014-02-13 16:55:56 -05:00
fbossen
1d3533fea1
Add mozjpeg defaults to jpegtran application
...
Make mozjpeg settings the default in the jpegtran application.
Behaviour can be reverted to old default settings using the -revert
command line option
2014-02-11 12:52:07 -05:00
fbossen
8e876747c8
Update cjpeg usage
...
Add -revert to the list of displayed options in cjpeg help message
2014-02-11 12:30:13 -05:00
fbossen
52925cfff2
Add fast jpgcrush mode
...
Add the fast mode of jpgcrush where:
- Huffman table optimisation is enabled
- Progressive coding mode is enabled
- New default scans are defined for progressive coding
2014-02-11 11:09:37 -05:00
DRC
2a10cbaa27
Fix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working properly if the source image was very tiny. Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer. This patch removes the call to jpeg_start_compress() in tjEncodeYUV2() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler. TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1120 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-11 09:56:12 +00:00
DRC
9ba6976321
Update copyright year in file header as well
2014-02-11 09:55:32 +00:00
DRC
6ee8b5ce48
Update copyright year in file header as well
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1119 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-11 09:55:32 +00:00
DRC
040c688263
Fix an issue that prevented tjEncodeYUV3() and TJCompressor.encodeYUV() from working properly if the source image was very tiny. Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer. This patch removes the call to jpeg_start_compress() in tjEncodeYUV3() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler. TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.)
2014-02-11 09:45:18 +00:00
DRC
c05b10176d
Fix an issue that prevented tjEncodeYUV3() and TJCompressor.encodeYUV() from working properly if the source image was very tiny. Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer. This patch removes the call to jpeg_start_compress() in tjEncodeYUV3() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler. TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1118 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-11 09:45:18 +00:00
DRC
d3d06f42c1
Update copyright notice to reflect recent SIMD contributions
2014-02-09 14:12:12 +00:00
DRC
78dd697afb
Update copyright notice to reflect recent SIMD contributions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1117 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-09 14:12:12 +00:00
DRC
994b9819ac
Further examination of the code reveals that this change is unnecessary. The histogram stores a count of each color in the image, so it will always contain at least one non-zero element, and thus the total can never be zero. Since the histogram is generated from the image data and not read from the header, there is no chance that header corruption would affect it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1116 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-07 19:06:03 +00:00
DRC
7d8ed9833e
Further examination of the code reveals that this change is unnecessary. The histogram stores a count of each color in the image, so it will always contain at least one non-zero element, and thus the total can never be zero. Since the histogram is generated from the image data and not read from the header, there is no chance that header corruption would affect it.
2014-02-07 19:05:07 +00:00
DRC
039b6c8041
Further examination of the code reveals that this change is unnecessary. The histogram stores a count of each color in the image, so it will always contain at least one non-zero element, and thus the total can never be zero. Since the histogram is generated from the image data and not read from the header, there is no chance that header corruption would affect it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1115 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-07 19:05:07 +00:00
DRC
72bad638c1
Fix several potential overflow issues identified by the community.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1114 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-06 19:31:50 +00:00
DRC
3d9105bb76
Formatting tweak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1113 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-06 19:31:23 +00:00
DRC
3317c65fb9
Fix several potential overflow issues identified by the community.
2014-02-06 19:30:32 +00:00
DRC
1f3d15a32d
Fix several potential overflow issues identified by the community.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1112 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-06 19:30:32 +00:00
DRC
7544a924e3
Remove trailing space
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1111 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-06 19:15:03 +00:00
DRC
bf417e56e0
Remove trailing space
2014-02-06 19:13:24 +00:00
DRC
f6903faab4
Remove trailing space
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1110 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-06 19:13:24 +00:00
DRC
890f35098a
Create a separate stub file for 64-bit ARM, since it currently implements only the decompression-related functions.
2014-02-05 19:03:41 +00:00
DRC
08b4ed7490
Create a separate stub file for 64-bit ARM, since it currently implements only the decompression-related functions.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1109 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-05 19:03:41 +00:00
DRC
1bb1e69186
First pass at ARMv8 64-bit NEON SIMD support
2014-02-05 08:15:44 +00:00
DRC
786bb7f8c9
First pass at ARMv8 64-bit NEON SIMD support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1108 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-05 08:15:44 +00:00
DRC
2935005850
Formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1107 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-05 07:40:00 +00:00
DRC
abb6a513fa
Formatting tweaks
2014-02-05 07:39:38 +00:00
DRC
974aa1692a
Formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1106 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-05 07:39:38 +00:00
DRC
671fea53d1
Remove trailing spaces
2014-02-01 06:17:31 +00:00
DRC
1aeba2fe5f
Remove trailing spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1105 632fc199-4ca6-4c93-a231-07263d6284db
2014-02-01 06:17:31 +00:00
DRC
857564d019
Some motion JPEG implementations generate "abbreviated JPEG streams" (JPEG images without the default tables included) for some or all of the video frames, in order to save space. When these are encountered, it is generally expected that they will be decompressed using the default Huffman tables, so libjpeg-turbo now does this unless the tables have been explicitly specified by an application.
2014-01-31 17:22:15 +00:00
DRC
07c0d68d9b
Some motion JPEG implementations generate "abbreviated JPEG streams" (JPEG images without the default tables included) for some or all of the video frames, in order to save space. When these are encountered, it is generally expected that they will be decompressed using the default Huffman tables, so libjpeg-turbo now does this unless the tables have been explicitly specified by an application.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1104 632fc199-4ca6-4c93-a231-07263d6284db
2014-01-31 17:22:15 +00:00
DRC
cbe20c302e
Include instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1102 632fc199-4ca6-4c93-a231-07263d6284db
2014-01-29 19:32:23 +00:00
DRC
4f4d870822
Include instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.
2014-01-29 19:31:09 +00:00
DRC
55e240198d
Include instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1101 632fc199-4ca6-4c93-a231-07263d6284db
2014-01-29 19:31:09 +00:00
Josh Aas
72b66f9c77
Initial commit of libjpeg-turbo plus readme edits.
2014-01-13 18:28:20 -06:00
DRC
540789427c
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r960.)
2013-11-25 21:12:23 +00:00
DRC
48706bff01
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r960.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1093 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-25 21:12:23 +00:00
DRC
ac79e9b1ee
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1092 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-25 21:08:47 +00:00
DRC
023ebb66c4
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1091 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-25 20:30:12 +00:00
DRC
3c8a31c9b5
Fix CVE-2013-6629 and CVE-2013-6630
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1089 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-21 18:32:48 +00:00
DRC
c5aefc3659
Fix CVE-2013-6629 and CVE-2013-6630
2013-11-21 18:31:08 +00:00
DRC
d1e8d536c8
Fix CVE-2013-6629 and CVE-2013-6630
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1088 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-21 18:31:08 +00:00
DRC
c85058008f
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1086 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-19 02:08:23 +00:00
DRC
12d34929ba
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1085 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-19 01:59:05 +00:00
DRC
dca89b0e4a
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1084 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-19 01:53:13 +00:00
DRC
97fbe04323
Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding. This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences listed in README-turbo.txt. Add regression tests for progressive+arithmetic JPEG files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1080 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-06 06:55:28 +00:00
DRC
db6e007c44
Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding. This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences listed in README-turbo.txt. Add regression tests for progressive+arithmetic JPEG files.
2013-11-06 06:50:38 +00:00
DRC
ac10ce0c8c
Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding. This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences listed in README-turbo.txt. Add regression tests for progressive+arithmetic JPEG files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1079 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-06 06:50:38 +00:00
DRC
bff45dffc1
Remove unnecessary whitespace
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1078 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-06 06:02:26 +00:00
DRC
2d4ca5d710
Remove unnecessary whitespace
2013-11-06 05:51:03 +00:00
DRC
69e08193f3
Remove unnecessary whitespace
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1076 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-06 05:51:03 +00:00
DRC
3b80b515fe
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding. Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.
2013-11-05 19:53:12 +00:00
DRC
cb2b0d6670
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding. Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1075 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-05 19:53:12 +00:00
DRC
61298968fa
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding. Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.
2013-11-04 23:07:54 +00:00
DRC
04508b8c4c
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding. Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1074 632fc199-4ca6-4c93-a231-07263d6284db
2013-11-04 23:07:54 +00:00
DRC
bd029eb0f7
Make environment variable syntax consistent between ARM and x86 code, and add an option to disable SIMD on x86 (this option will be added to the x86-64 code as well, but it makes more sense to add it when we add AVX support.)
2013-10-31 07:40:24 +00:00
DRC
fabf58ed48
Make environment variable syntax consistent between ARM and x86 code, and add an option to disable SIMD on x86 (this option will be added to the x86-64 code as well, but it makes more sense to add it when we add AVX support.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1073 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 07:40:24 +00:00
DRC
b767b5e6bb
Deprecate and undocument the FORCE{MMX|SSE|SSE2|SSE3} flags. These were originally introduced in TurboJPEG/IPP as a way to override the automatic CPU selection in the underlying IPP codec, which was closed source. They are not meaningful anymore, since libjpeg-turbo provides environment variables to accomplish the same thing and since it no longer necessarily uses x86 SIMD code behind the scenes.
2013-10-31 07:11:39 +00:00
DRC
7a0bc500e2
Deprecate and undocument the FORCE{MMX|SSE|SSE2|SSE3} flags. These were originally introduced in TurboJPEG/IPP as a way to override the automatic CPU selection in the underlying IPP codec, which was closed source. They are not meaningful anymore, since libjpeg-turbo provides environment variables to accomplish the same thing and since it no longer necessarily uses x86 SIMD code behind the scenes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1072 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 07:11:39 +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
a2c32ce513
Extend the TurboJPEG Java API to support compressing JPEG images from YUV planar images
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1071 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 05:04:51 +00:00
DRC
98e6ffb50c
Add 'tjunittest -yuv -alloc' test on Windows as well
2013-10-31 05:02:20 +00:00
DRC
cda9ea1e3b
Add 'tjunittest -yuv -alloc' test on Windows as well
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1070 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 05:02:20 +00:00
DRC
fca3a77590
r1065 broke the build on Windows, because getinstance() defines a variable. Thus, it needs to occur before the array initialization code.
2013-10-31 05:00:19 +00:00
DRC
ee1111ae8a
r1065 broke the build on Windows, because getinstance() defines a variable. Thus, it needs to occur before the array initialization code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1069 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 05:00:19 +00:00
DRC
2bdc88ba48
Clean up formatting code and rename the JPEG files generated during the YUV decode tests to reflect the fact that they are being generated from YUV source images.
2013-10-31 04:53:27 +00:00
DRC
c18c6f9fd6
Clean up formatting code and rename the JPEG files generated during the YUV decode tests to reflect the fact that they are being generated from YUV source images.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1068 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-31 04:53:27 +00:00
DRC
b3633e930b
Extend the TurboJPEG C API to support compressing JPEG images from YUV planar images
2013-10-30 23:02:57 +00:00
DRC
ad6e9649d5
Extend the TurboJPEG C API to support compressing JPEG images from YUV planar images
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1067 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-30 23:02:57 +00:00
DRC
8e4a07e20f
Oops
2013-10-30 22:21:58 +00:00
DRC
db5b90b145
Oops
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1066 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-30 22:21:58 +00:00
DRC
07eadec225
Fix a really subtle issue whereby an invalid free() could occur if a program called tjInitDecompress() and then accidentally passed the handle to tjEncodeYUV3(), or if a program called tjInitCompress() and then accidentally passed the handle to tjDecompressToYUV2().
2013-10-30 22:21:06 +00:00
DRC
fbff05b11c
Fix a really subtle issue whereby an invalid free() could occur if a program called tjInitDecompress() and then accidentally passed the handle to tjEncodeYUV3(), or if a program called tjInitCompress() and then accidentally passed the handle to tjDecompressToYUV2().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1065 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-30 22:21:06 +00:00
DRC
a601602d61
Fix a really subtle issue whereby an invalid free() could occur if a program called tjInitDecompress() and then accidentally passed the handle to tjEncodeYUV2(), or if a program called tjInitCompress() and then accidentally passed the handle to tjDecompressToYUV().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1064 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-30 22:12:37 +00:00
DRC
7d49d6c6b0
Fix logic error from r1039
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1063 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-26 00:32:23 +00:00
DRC
811d68b21b
Fix logic error from r1037
2013-10-26 00:29:53 +00:00
DRC
20a53a6419
Fix logic error from r1037
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1062 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-26 00:29:53 +00:00
DRC
f3fb703909
Fix a couple of issues with return value checking. JFREAD(), which wraps fread(), will never return -1. fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case. The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred. It would instead be (unsigned long)-1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1061 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-12 21:52:48 +00:00
DRC
2bf81e8eb7
Fix a couple of issues with return value checking. JFREAD(), which wraps fread(), will never return -1. fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case. The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred. It would instead be (unsigned long)-1.
2013-10-12 21:51:16 +00:00
DRC
d40310f531
Fix a couple of issues with return value checking. JFREAD(), which wraps fread(), will never return -1. fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case. The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred. It would instead be (unsigned long)-1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1060 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-12 21:51:16 +00:00
DRC
c6c8c7911f
SIMD-accelerated integer convsamp routine for MIPS DSPr2
2013-10-12 21:39:20 +00:00
DRC
3ea68ac65e
SIMD-accelerated integer convsamp routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1059 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-12 21:39:20 +00:00
DRC
3c6b1ba545
SIMD-accelerated floating point quantize and convsamp routines for MIPS DSPr2
2013-10-09 18:39:44 +00:00
DRC
7b0d18f239
SIMD-accelerated floating point quantize and convsamp routines for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1058 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-09 18:39:44 +00:00
DRC
b4832c620f
adjust DSPr2 performance claims
2013-10-08 02:32:07 +00:00
DRC
e6a43d1aa5
adjust DSPr2 performance claims
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1057 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-08 02:32:07 +00:00
DRC
10138c9d35
SIMD-accelerated fast integer inverse DCT routine for MIPS DSPr2
2013-10-08 02:18:59 +00:00
DRC
838af42eaf
SIMD-accelerated fast integer inverse DCT routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1056 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-08 02:18:59 +00:00
DRC
6addfed58b
SIMD-accelerated fast integer forward DCT routine for MIPS DSPr2
2013-10-08 02:11:21 +00:00
DRC
d4d76b46c8
SIMD-accelerated fast integer forward DCT routine for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1055 632fc199-4ca6-4c93-a231-07263d6284db
2013-10-08 02:11:21 +00:00
DRC
01f46504ee
SIMD-accelerated slow integer forward DCT and quantize routines for MIPS DSPr2
2013-09-30 18:13:27 +00:00
DRC
d820c88ab2
SIMD-accelerated slow integer forward DCT and quantize routines for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1054 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-30 18:13:27 +00:00
DRC
472ecea71e
Some of the IJG headers say "Modified by", so clarify that our "Modifications" are not referring to these.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1053 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:23:49 +00:00
DRC
e2563adb2e
Some of the IJG headers say "Modified by", so clarify that our "Modifications" are not referring to these.
2013-09-28 03:22:53 +00:00
DRC
c7e306f883
Some of the IJG headers say "Modified by", so clarify that our "Modifications" are not referring to these.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1052 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:22:53 +00:00
DRC
fa4e9b5926
Actually, the second bug was hidden by the first, so the initial ChangeLog entry was correct from the user's point of view.
2013-09-28 03:11:46 +00:00
DRC
33721ced53
Actually, the second bug was hidden by the first, so the initial ChangeLog entry was correct from the user's point of view.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1051 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:11:46 +00:00
DRC
3b0a4b86ac
Actually, the second bug was hidden by the first, so the initial ChangeLog entry was correct from the user's point of view.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1050 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:10:31 +00:00
DRC
dc0f3c179e
Fix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG. Didn't expect more than one scan.") when decoding progressive+arithmetic JPEGs generated by libjpeg-turbo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1049 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:04:01 +00:00
DRC
0ccc581b8c
Fix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG. Didn't expect more than one scan.") when decoding progressive+arithmetic JPEGs generated by libjpeg-turbo.
2013-09-28 03:03:04 +00:00
DRC
fbc4f5fdd4
Fix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG. Didn't expect more than one scan.") when decoding progressive+arithmetic JPEGs generated by libjpeg-turbo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1048 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-28 03:03:04 +00:00
DRC
198cc7c161
SIMD-accelerated 3/4 and 3/2 decompression scaling for MIPS DSPr2
2013-09-27 17:51:08 +00:00
DRC
95257c488f
SIMD-accelerated 3/4 and 3/2 decompression scaling for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1047 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-27 17:51:08 +00:00
DRC
f934fc621e
SIMD-accelerated 1/2 and 1/4 decompression scaling for MIPS DSPr2
2013-09-27 17:43:23 +00:00
DRC
e2da0467a6
SIMD-accelerated 1/2 and 1/4 decompression scaling for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1046 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-27 17:43:23 +00:00
DRC
154c2dc749
SIMD-optimized RGB-to-grayscale conversion for MIPS DSPr2
2013-09-27 17:39:57 +00:00
DRC
101197d2a2
SIMD-optimized RGB-to-grayscale conversion for MIPS DSPr2
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1045 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-27 17:39:57 +00:00
DRC
afb8fce223
Name the package *cygwin64.tar.bz2 when building on Cygwin64.
2013-09-26 07:29:20 +00:00
DRC
1c51826a70
Name the package *cygwin64.tar.bz2 when building on Cygwin64.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1044 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-26 07:29:20 +00:00
DRC
ac5b9e8b78
Name the package *cygwin64.tar.bz2 when building on Cygwin64.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1043 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-26 07:27:56 +00:00
DRC
8abacdbd4b
Fix segfault in MIPS DSPr2 upsample routines that occurred when doing 'make test'
2013-09-25 17:33:37 +00:00
DRC
159f02b3a9
Fix segfault in MIPS DSPr2 upsample routines that occurred when doing 'make test'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1040 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-25 17:33:37 +00:00
DRC
7452d682ef
Due to the way in which the configure script silently falls back to a non-SIMD build if SIMD can't be enabled, we accidentally released iOS ARM v7 and v7s binaries in 1.3.0 that did not contain NEON SIMD code, because gas-preprocessor.pl wasn't in the PATH. In order to prevent this from happening again, specifying --with-simd now has the effect of forcing a SIMD build, and if this argument is specified, any issues encountered while enabling SIMD are treated as fatal.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1039 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-25 05:24:46 +00:00
DRC
0a90c5d778
Due to the way in which the configure script silently falls back to a non-SIMD build if SIMD can't be enabled, we accidentally released iOS ARM v7 and v7s binaries in 1.3.0 that did not contain NEON SIMD code, because gas-preprocessor.pl wasn't in the PATH. In order to prevent this from happening again, specifying --with-simd now has the effect of forcing a SIMD build, and if this argument is specified, any issues encountered while enabling SIMD are treated as fatal.
2013-09-25 04:36:44 +00:00
DRC
20b1b0c547
Due to the way in which the configure script silently falls back to a non-SIMD build if SIMD can't be enabled, we accidentally released iOS ARM v7 and v7s binaries in 1.3.0 that did not contain NEON SIMD code, because gas-preprocessor.pl wasn't in the PATH. In order to prevent this from happening again, specifying --with-simd now has the effect of forcing a SIMD build, and if this argument is specified, any issues encountered while enabling SIMD are treated as fatal.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1037 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-25 04:36:44 +00:00
DRC
4b7c15f709
Clarify that the bug affects cjpeg as well as jpegtran.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1035 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-24 03:38:32 +00:00
DRC
1719c57186
Clarify that the bug affects cjpeg as well as jpegtran.
2013-09-24 03:37:29 +00:00
DRC
73dae02512
Clarify that the bug affects cjpeg as well as jpegtran.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1034 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-24 03:37:29 +00:00
DRC
792daa8548
We can't enable optimized entropy coding unless we're using Huffman coding. This fixes a bug whereby attempting to create a progressive JPEG with arithmetic coding would fail.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1032 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-24 03:21:38 +00:00
DRC
4aa11c8bb4
We can't enable optimized entropy coding unless we're using Huffman coding. This fixes a bug whereby attempting to create a progressive JPEG with arithmetic coding would fail.
2013-09-24 03:18:27 +00:00
DRC
aef8973ec7
We can't enable optimized entropy coding unless we're using Huffman coding. This fixes a bug whereby attempting to create a progressive JPEG with arithmetic coding would fail.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1031 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-24 03:18:27 +00:00
DRC
36b5ca24d3
The connect.apple.com alias has apparently been down for about a month
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1030 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-23 18:38:20 +00:00
DRC
59aa40fa79
The connect.apple.com alias has apparently been down for about a month
2013-09-23 18:37:34 +00:00
DRC
9f0b4a4bd3
The connect.apple.com alias has apparently been down for about a month
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1029 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-23 18:37:34 +00:00
DRC
54fffed01a
Oops. We need to delete the new copy of turbojpeg.dll in the binary directory. Also add quotes to InstDir to allow installing under "c:\Program Files\", and remove unnecessary quotes in the Delete directives.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1028 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-20 01:11:40 +00:00
DRC
11b9c8802c
In the Windows installer packages, place a duplicate copy of turbojpeg.dll in c:\libjpeg-turbo[-gcc][64]\bin. This is mainly to give installers an easy way to find the DLL for the purposes of bundling it. Specifically, this was necessary for TurboVNC, becuase 32-bit CMake running on 64-bit Windows cannot ever access the "real" c:\windows\system32 directory.
2013-09-19 22:57:18 +00:00
DRC
475ae72b0b
In the Windows installer packages, place a duplicate copy of turbojpeg.dll in c:\libjpeg-turbo[-gcc][64]\bin. This is mainly to give installers an easy way to find the DLL for the purposes of bundling it. Specifically, this was necessary for TurboVNC, becuase 32-bit CMake running on 64-bit Windows cannot ever access the "real" c:\windows\system32 directory.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1027 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-19 22:57:18 +00:00
DRC
87d6e984ff
In the Windows installer packages, place a duplicate copy of turbojpeg.dll in c:\libjpeg-turbo[-gcc][64]\bin. This is mainly to give installers an easy way to find the DLL for the purposes of bundling it. Specifically, this was necessary for TurboVNC, becuase 32-bit CMake running on 64-bit Windows cannot ever access the "real" c:\windows\system32 directory.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1026 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-19 22:55:57 +00:00
DRC
fa408f82d8
1.3.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1025 632fc199-4ca6-4c93-a231-07263d6284db
2013-09-19 09:36:03 +00:00
DRC
0213d619bf
Fix 'make dist'
2013-08-23 07:57:21 +00:00
DRC
446d58f4de
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1024 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 07:57:21 +00:00
DRC
04a34ea5bf
2013-08-23 07:46:07 +00:00
DRC
d60317df82
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1023 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 07:46:07 +00:00
DRC
ae0631474a
Oops. Forgot to implement access method for the colorspace & extend TJBench
2013-08-23 07:13:59 +00:00
DRC
f368bcab26
Oops. Forgot to implement access method for the colorspace & extend TJBench
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1022 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 07:13:59 +00:00
DRC
ff3d754f29
Wordsmithing
2013-08-23 06:38:59 +00:00
DRC
81d02327c8
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1021 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 06:38:59 +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
c0e571289a
Add CMYK support to the TurboJPEG Java API & clean up a few things in the C API
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1020 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 04:45:43 +00:00
DRC
24668df1df
Add CMYK support to the TurboJPEG C API
2013-08-23 02:49:25 +00:00
DRC
ee1972febe
Add CMYK support to the TurboJPEG C API
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1019 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-23 02:49:25 +00:00
DRC
9ad7a4c6ca
2013-08-20 00:17:26 +00:00
DRC
f625bf7117
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1018 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-20 00:17:26 +00:00
DRC
45b2cca4c0
Add 4:1:1 subsampling support in the TurboJPEG Java API
2013-08-18 11:04:21 +00:00
DRC
7bd1cf2566
Add 4:1:1 subsampling support in the TurboJPEG Java API
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1017 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 11:04:21 +00:00
DRC
423b7d78f0
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in TJBench; Wordsmithing; Disable timestamp in generated HTML files to make diffing and merging easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1016 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 10:47:07 +00:00
DRC
2296d513c1
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in TJBench; Wordsmithing; Disable timestamp in generated HTML files to make diffing and merging easier
2013-08-18 10:39:30 +00:00
DRC
af914fe8f6
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in TJBench; Wordsmithing; Disable timestamp in generated HTML files to make diffing and merging easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1015 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 10:39:30 +00:00
DRC
5ca8bf8738
Add 4:1:1 subsampling support in the TurboJPEG C API
2013-08-18 10:19:00 +00:00
DRC
6f58a183fa
Add 4:1:1 subsampling support in the TurboJPEG C API
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1014 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 10:19:00 +00:00
DRC
6bcd8f8345
Disable timestamp in generated HTML files to make diffing and merging easier.
2013-08-18 09:38:52 +00:00
DRC
d5641a02e8
Disable timestamp in generated HTML files to make diffing and merging easier.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1013 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:38:52 +00:00
DRC
81082f5929
Disable timestamp in generated HTML files to make diffing and merging easier.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1012 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:37:48 +00:00
DRC
f4cdf5e8a2
Wordsmithing
2013-08-18 09:31:45 +00:00
DRC
633934f421
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1011 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:31:45 +00:00
DRC
c25257c4ea
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1010 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:28:09 +00:00
DRC
b34b2ad711
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in tjbench.
2013-08-18 09:15:37 +00:00
DRC
e338413d35
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in tjbench.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1009 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:15:37 +00:00
DRC
ec61f52d87
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in tjbench.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1008 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:13:00 +00:00
DRC
39b9801063
Upgrade to Doxygen 1.8.3.1; Add note regarding the fact that 4:4:0 lacks full SIMD support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1007 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:02:42 +00:00
DRC
3fab7e7a13
Upgrade to Doxygen 1.8.3.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1006 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 09:00:15 +00:00
DRC
458a2dd64e
Upgrade to Doxygen 1.8.3.1
2013-08-18 08:47:03 +00:00
DRC
ed8ca2cc6c
Upgrade to Doxygen 1.8.3.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1005 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-18 08:47:03 +00:00
DRC
73aed2c20a
Remove stray closing bracket that prevented the use of this header in a C++ application
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1003 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-12 21:36:10 +00:00
DRC
e99b408fe6
Remove stray closing bracket that prevented the use of this header in a C++ application
2013-08-12 21:35:46 +00:00
DRC
f5a6d63edc
Remove stray closing bracket that prevented the use of this header in a C++ application
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1002 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-12 21:35:46 +00:00
DRC
0442d164dc
By default, install the libraries into /opt/libjpeg-turbo/lib32 on any 32-bit system, not just x86, and into /opt/libjpeg-turbo/lib64 on any 64-bit system, not just x86-64. In particular, this addresses an issue with building TurboVNC and VirtualGL on ARM systems.
2013-08-11 23:23:41 +00:00
DRC
0437a8f335
By default, install the libraries into /opt/libjpeg-turbo/lib32 on any 32-bit system, not just x86, and into /opt/libjpeg-turbo/lib64 on any 64-bit system, not just x86-64. In particular, this addresses an issue with building TurboVNC and VirtualGL on ARM systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1001 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-11 23:23:41 +00:00
DRC
75cbacff26
Document previous commit in the change log
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1000 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-11 23:04:34 +00:00
DRC
b05f1f177e
By default, install the libraries into /opt/libjpeg-turbo/lib32 on any 32-bit system, not just x86, and into /opt/libjpeg-turbo/lib64 on any 64-bit system, not just x86-64. In particular, this addresses an issue with building TurboVNC and VirtualGL on ARM systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@999 632fc199-4ca6-4c93-a231-07263d6284db
2013-08-11 22:57:19 +00:00
DRC
aa5a1808fe
SIMD support for performing upsampling using MIPS DSPr2 instructions
2013-07-27 21:50:02 +00:00
DRC
c10837d8a8
SIMD support for performing upsampling using MIPS DSPr2 instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@996 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-27 21:50:02 +00:00
DRC
3f2e3b11f0
SIMD support for performing downsampling using MIPS DSPr2 instructions
2013-07-27 21:48:18 +00:00
DRC
b481543bc7
SIMD support for performing downsampling using MIPS DSPr2 instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@995 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-27 21:48:18 +00:00
DRC
41e3657631
SIMD support for performing fancy upsampling using MIPS DSPr2 instructions
2013-07-27 21:44:14 +00:00
DRC
31087f88c7
SIMD support for performing fancy upsampling using MIPS DSPr2 instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@994 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-27 21:44:14 +00:00
DRC
64da9d6ba8
SIMD support for performing color conversion using MIPS DSPr2 instructions
2013-07-24 21:50:20 +00:00
DRC
5c4338be32
SIMD support for performing color conversion using MIPS DSPr2 instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@993 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-24 21:50:20 +00:00
DRC
9172810d28
Fix lintian warning about missing maintainer address when installing on recent Debian-based systems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@992 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-07 04:43:49 +00:00
DRC
6accd550fd
Fix lintian warning about missing maintainer address when installing on recent Debian-based systems
2013-07-07 04:42:56 +00:00
DRC
4432f84185
Fix lintian warning about missing maintainer address when installing on recent Debian-based systems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@991 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-07 04:42:56 +00:00
DRC
fb7587dad3
Use ELF64 object format on 64-bit kFreeBSD systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@990 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-03 14:22:09 +00:00
DRC
7421f92041
Use ELF64 object format on 64-bit kFreeBSD systems.
2013-07-03 14:21:49 +00:00
DRC
df6799e3b8
Use ELF64 object format on 64-bit kFreeBSD systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@989 632fc199-4ca6-4c93-a231-07263d6284db
2013-07-03 14:21:49 +00:00
DRC
9905afa24b
1.3.0
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@983 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-10 22:08:53 +00:00
DRC
22be928d5a
Fix incorrect data output and buffer overruns in the new tjDecompressToYUV2() function whenever scaling is used along with a 4:2:0 JPEG image; extend tjunittest and TJUnitTest to test for these issues.
2013-05-07 21:17:35 +00:00
DRC
a3dd57c615
Fix incorrect data output and buffer overruns in the new tjDecompressToYUV2() function whenever scaling is used along with a 4:2:0 JPEG image; extend tjunittest and TJUnitTest to test for these issues.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@982 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-07 21:17:35 +00:00
DRC
6586b254ee
Clean up the output of tjunittest and TJUnitTest
2013-05-04 23:41:33 +00:00
DRC
d4b8d9c33b
Clean up the output of tjunittest and TJUnitTest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@981 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-04 23:41:33 +00:00
DRC
4986652604
Clean up the output of tjunittest and TJUnitTest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@980 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-04 23:31:32 +00:00
DRC
cd5c8559d6
Make sure the RPM provides "libjpeg-turbo" as well, for backward compatibility (the TurboVNC RPM build, in particular, checks for this.)
2013-05-04 04:48:27 +00:00
DRC
af57f6f5f9
Make sure the RPM provides "libjpeg-turbo" as well, for backward compatibility (the TurboVNC RPM build, in particular, checks for this.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@979 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-04 04:48:27 +00:00
DRC
48f620c4f0
Make sure the RPM provides "libjpeg-turbo" as well, for backward compatibility (the TurboVNC RPM build, in particular, checks for this.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@978 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-01 06:03:53 +00:00
DRC
ca4751d1df
Fix 'make rpm'
2013-05-01 05:48:22 +00:00
DRC
3e21a7a9b2
Fix 'make rpm'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@977 632fc199-4ca6-4c93-a231-07263d6284db
2013-05-01 05:48:22 +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
084c4c039a
Extend the TurboJPEG Java API to support generating YUV images with arbitrary padding and to support image scaling when decompressing to YUV
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@975 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-28 01:32:52 +00:00
DRC
771fbdeb99
Fix backward compatibility between the Java classes and the 1.2.x JNI library (as long as the 1.3 Java features are not used.)
2013-04-27 23:25:17 +00:00
DRC
2d25f449a5
Fix backward compatibility between the Java classes and the 1.2.x JNI library (as long as the 1.3 Java features are not used.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@974 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 23:25:17 +00:00
DRC
7858477652
Fix backward compatibility between the Java classes and the 1.2.x JNI library (as long as the 1.3 Java features are not used.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@973 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 22:48:08 +00:00
DRC
52559c88b4
Bump the age number of the TurboJPEG DSO, because interfaces have been added.
2013-04-27 22:18:29 +00:00
DRC
04b5b27bc8
Bump the age number of the TurboJPEG DSO, because interfaces have been added.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@972 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 22:18:29 +00:00
DRC
7440604f2b
Correct misuse of the word "pitch" + more code formatting tweaks
2013-04-27 20:55:45 +00:00
DRC
bfa613b9a6
Correct misuse of the word "pitch" + more code formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@971 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 20:55:45 +00:00
DRC
30822f98f7
Correct misuse of the word "pitch" + more code formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@970 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 20:54:44 +00:00
DRC
aaa5ae742a
Code formatting tweaks
2013-04-27 12:38:20 +00:00
DRC
207b31b1c5
Code formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@969 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 12:38:20 +00:00
DRC
08fcac01e6
Code formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@968 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 12:36:07 +00:00
DRC
2f83944e9b
Java doc tweaks
2013-04-27 01:08:55 +00:00
DRC
89f8671eb0
Java doc tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@967 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 01:08:55 +00:00
DRC
aba6c404c3
Java doc tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@966 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-27 01:06:52 +00:00
DRC
5bede571dd
Not that it matters, because JNI uses dlopen()/dlsym() to load symbols, but for bookkeeping purposes, move the JNI symbols introduced in libjpeg-turbo 1.3 into a new section.
2013-04-26 23:43:15 +00:00
DRC
37915a690c
Not that it matters, because JNI uses dlopen()/dlsym() to load symbols, but for bookkeeping purposes, move the JNI symbols introduced in libjpeg-turbo 1.3 into a new section.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@965 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 23:43:15 +00:00
DRC
bd096ba10d
Oops
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@964 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 23:41:51 +00:00
DRC
e280cc2afd
Not that it matters, because JNI uses dlopen()/dlsym() to load symbols, but for bookkeeping purposes, move the JNI symbols introduced in libjpeg-turbo 1.3 into a new section.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@963 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 23:39:23 +00:00
DRC
da64629c62
Extend the TurboJPEG C API to support generating YUV images with arbitrary padding and to support image scaling when decompressing to YUV
2013-04-26 10:33:29 +00:00
DRC
cce0ccc931
Extend the TurboJPEG C API to support generating YUV images with arbitrary padding and to support image scaling when decompressing to YUV
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@962 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 10:33:29 +00:00
DRC
02cb7b444e
Wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@961 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 08:54:10 +00:00
DRC
afa79bd62f
Further doc tweaks
2013-04-26 08:46:46 +00:00
DRC
6e84abb54e
Further doc tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@960 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 08:46:46 +00:00
DRC
f0fe7e9603
Further doc tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@959 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 08:41:25 +00:00
DRC
c8a3df184e
Subtle point, but since libjpeg-turbo 1.3 now supports scaling factors > 1, the width and height specified in tjDecompress2() are not necessarily smaller than the JPEG width/height.
2013-04-26 05:35:22 +00:00
DRC
dcc68c41aa
Subtle point, but since libjpeg-turbo 1.3 now supports scaling factors > 1, the width and height specified in tjDecompress2() are not necessarily smaller than the JPEG width/height.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@958 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 05:35:22 +00:00
DRC
c39f2aa88f
Subtle point, but since libjpeg-turbo 1.3 now supports scaling factors > 1, the width and height specified in tjDecompress2() are not necessarily smaller than the JPEG width/height.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@957 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-26 05:32:32 +00:00
DRC
45b9c02bd7
Bump version to prepare for new features
2013-04-25 09:45:50 +00:00
DRC
94d6c1054f
Bump version to prepare for new features
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@956 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-25 09:45:50 +00:00
DRC
f64f027bae
Create 1.3.x branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@955 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-25 09:37:19 +00:00
DRC
9431d5c677
Fix I/O suspension. This little nugget of code was introduced in r30 as part of an early attempt to make buffered I/O work with the optimized Huffman codec. Ultimately, r32 reverted a lot of that mess and introduced much of the logic we now use, rendering this code unnecessary, but it was never reverted because it only causes problems when I/O suspension is used, and apparently no one has tried to do that with libjpeg-turbo until now.
2013-04-25 08:55:31 +00:00
DRC
99f9678f02
Fix I/O suspension. This little nugget of code was introduced in r30 as part of an early attempt to make buffered I/O work with the optimized Huffman codec. Ultimately, r32 reverted a lot of that mess and introduced much of the logic we now use, rendering this code unnecessary, but it was never reverted because it only causes problems when I/O suspension is used, and apparently no one has tried to do that with libjpeg-turbo until now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@954 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-25 08:55:31 +00:00
DRC
8e4bc5dfb0
For consistency, allow the name of the Mac and Cygwin packages to be overridden as well.
2013-04-24 23:39:37 +00:00
DRC
048f264cb1
For consistency, allow the name of the Mac and Cygwin packages to be overridden as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@953 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 23:39:37 +00:00
DRC
0803520704
Minor doc tweaks + ChangeLog update
2013-04-24 06:40:25 +00:00
DRC
3fc75a5734
Minor doc tweaks + ChangeLog update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@951 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 06:40:25 +00:00
DRC
61130e332a
In order to avoid a functional regression with previous releases, the JAR file needs to be able to load either the 64-bit or 32-bit JNI library on Un*x systems.
2013-04-24 06:21:24 +00:00
DRC
c436a02bb1
In order to avoid a functional regression with previous releases, the JAR file needs to be able to load either the 64-bit or 32-bit JNI library on Un*x systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@950 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 06:21:24 +00:00
DRC
3d625746d4
Move the TurboJPEG DLLs back into the system directory on Windows platforms. For Windows, it doesn't really simplify the build system to install these libraries in c:\libjpeg-turbo*, and it introduces potential problems with loading the JNI library. Specifically, if a user linked their Java app against the 64-bit libjpeg-turbo SDK and then used a 32-bit JVM at run time, they would not be able to load the 32-bit turbojpeg.dll without manipulating java.library.path or the PATH environment (and vice versa for building against the 32-bit libjpeg-turbo SDK and using a 64-bit JVM at run time.)
2013-04-24 05:26:42 +00:00
DRC
4c0c6ffee0
Move the TurboJPEG DLLs back into the system directory on Windows platforms. For Windows, it doesn't really simplify the build system to install these libraries in c:\libjpeg-turbo*, and it introduces potential problems with loading the JNI library. Specifically, if a user linked their Java app against the 64-bit libjpeg-turbo SDK and then used a 32-bit JVM at run time, they would not be able to load the 32-bit turbojpeg.dll without manipulating java.library.path or the PATH environment (and vice versa for building against the 32-bit libjpeg-turbo SDK and using a 64-bit JVM at run time.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@949 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 05:26:42 +00:00
DRC
b8614f5d9f
Older versions of automake don't support multiple _JAVA primaries, but we don't actually have to specify a "dist" primary, since the Java sources are already included under EXTRA_DIST.
2013-04-24 03:36:30 +00:00
DRC
9e646118bc
Older versions of automake don't support multiple _JAVA primaries, but we don't actually have to specify a "dist" primary, since the Java sources are already included under EXTRA_DIST.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@948 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 03:36:30 +00:00
DRC
931a4929bb
Fix 'make dist'
2013-04-24 03:15:23 +00:00
DRC
2bf41d5534
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@947 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-24 03:15:23 +00:00
DRC
2de2cf9e54
Further enhancements/fixes to the packaging system:
...
-- The Mac and Cygwin packages will now be created with the directory structure defined by the configure variables "prefix", "bindir", "libdir", etc., with the exception that the docs are always installed under /usr/share/doc/{package_name}-{version} on Cygwin and /Library/Documentation/{package_name} on Mac.
-- Fixed a duplicate filename warning when generating RPMs with the default prefix of /opt/libjpeg-turbo.
-- Moved the TurboJPEG libraries out of the system directory on Windows and Mac. It is no longer necessary to put them there, since we are not trying to be backward compatible with TurboJPEG/IPP anymore.
-- Fixed an issue whereby building the "installer" target on Windows would not build the Java JAR file, thus causing an error if the JAR had not been previously built.
-- Building the "install" target on Windows will now install libjpeg-turbo into c:\libjpeg-turbo[-gcc][64] (the same directories used by the installers.) This can be overridden by setting CMAKE_INSTALL_PREFIX.
-- The Java classes on all platforms will now look for the JNI library in the directory under which the build/packaging system installs it.
2013-04-23 22:29:00 +00:00
DRC
fb0ef0019b
Further enhancements/fixes to the packaging system:
...
-- The Mac and Cygwin packages will now be created with the directory structure defined by the configure variables "prefix", "bindir", "libdir", etc., with the exception that the docs are always installed under /usr/share/doc/{package_name}-{version} on Cygwin and /Library/Documentation/{package_name} on Mac.
-- Fixed a duplicate filename warning when generating RPMs with the default prefix of /opt/libjpeg-turbo.
-- Moved the TurboJPEG libraries out of the system directory on Windows and Mac. It is no longer necessary to put them there, since we are not trying to be backward compatible with TurboJPEG/IPP anymore.
-- Fixed an issue whereby building the "installer" target on Windows would not build the Java JAR file, thus causing an error if the JAR had not been previously built.
-- Building the "install" target on Windows will now install libjpeg-turbo into c:\libjpeg-turbo[-gcc][64] (the same directories used by the installers.) This can be overridden by setting CMAKE_INSTALL_PREFIX.
-- The Java classes on all platforms will now look for the JNI library in the directory under which the build/packaging system installs it.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@946 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-23 22:29:00 +00:00
DRC
f42e2be51a
Overhaul Linux/Unix packaging system, primarily to avoid conflicts with vendor-supplied libjpeg-turbo packages (such as in Fedora and RHEL 6.) This also streamlines the packaging system somewhat, since it is no longer necessary to move the TurboJPEG libraries into the system library directory. Relocating those libraries was originally done to provide backward compatibility with TurboJPEG/IPP, but that package is long obsolete, and the software that formerly used it has been linking statically with libjpeg-turbo for quite some time.
...
If the default prefix (/opt/libjpeg-turbo) is used, then we now always install 32-bit libraries in /opt/libjpeg-turbo/lib32 and 64-bit libraries in /opt/libjpeg-turbo/lib64 instead of trying to conform to the Debian or Red Hat conventions. The RPM and DEB packages will now be created with the directory structure defined by the configure variables "prefix", "bindir", "libdir", etc., with the exception that the docs are always installed under /usr/share/doc/{package_name}-{version}.
2013-04-19 04:25:14 +00:00
DRC
073c49ed39
Overhaul Linux/Unix packaging system, primarily to avoid conflicts with vendor-supplied libjpeg-turbo packages (such as in Fedora and RHEL 6.) This also streamlines the packaging system somewhat, since it is no longer necessary to move the TurboJPEG libraries into the system library directory. Relocating those libraries was originally done to provide backward compatibility with TurboJPEG/IPP, but that package is long obsolete, and the software that formerly used it has been linking statically with libjpeg-turbo for quite some time.
...
If the default prefix (/opt/libjpeg-turbo) is used, then we now always install 32-bit libraries in /opt/libjpeg-turbo/lib32 and 64-bit libraries in /opt/libjpeg-turbo/lib64 instead of trying to conform to the Debian or Red Hat conventions. The RPM and DEB packages will now be created with the directory structure defined by the configure variables "prefix", "bindir", "libdir", etc., with the exception that the docs are always installed under /usr/share/doc/{package_name}-{version}.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@944 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-19 04:25:14 +00:00
DRC
9f804a5590
Formatting tweaks
2013-04-11 05:17:53 +00:00
DRC
fe52f5efa5
Formatting tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@943 632fc199-4ca6-4c93-a231-07263d6284db
2013-04-11 05:17:53 +00:00
DRC
0af70afcea
Remove unneeded headers (cdef.h isn't available on all platforms) and change u_int32_t to unsigned int, since u_int32_t isn't available on all platforms. This fixes build issues on Solaris.
2013-03-30 20:54:15 +00:00
DRC
26ddbf432d
Remove unneeded headers (cdef.h isn't available on all platforms) and change u_int32_t to unsigned int, since u_int32_t isn't available on all platforms. This fixes build issues on Solaris.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@942 632fc199-4ca6-4c93-a231-07263d6284db
2013-03-30 20:54:15 +00:00
DRC
22c11c2e20
Grammar police
2013-03-23 21:35:41 +00:00
DRC
52e26f6330
Grammar police
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@941 632fc199-4ca6-4c93-a231-07263d6284db
2013-03-23 21:35:41 +00:00
DRC
9d0c277115
Document issues encountered when building on OS X 10.7 and later.
2013-03-23 09:57:03 +00:00
DRC
4d9d01c146
Document issues encountered when building on OS X 10.7 and later.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@939 632fc199-4ca6-4c93-a231-07263d6284db
2013-03-23 09:57:03 +00:00
DRC
c543f1b6f9
It's more correct to say "The Independent JPEG Group's software", since libjpeg-turbo emulates both the command-line and application programming interfaces.
2013-03-23 05:35:37 +00:00
DRC
3a034760e0
It's more correct to say "The Independent JPEG Group's software", since libjpeg-turbo emulates both the command-line and application programming interfaces.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@932 632fc199-4ca6-4c93-a231-07263d6284db
2013-03-23 05:35:37 +00:00
DRC
5f55e384a9
Add note about how to obtain PackageMaker if using recent Xcode releases.
2013-02-24 20:39:30 +00:00
DRC
9ec9d98b4b
Add note about how to obtain PackageMaker if using recent Xcode releases.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@931 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-24 20:39:30 +00:00
DRC
70d2cc0e04
Bump version for post-beta pre-releases
2013-02-22 06:58:31 +00:00
DRC
8d0f7753c6
Bump version for post-beta pre-releases
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@930 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-22 06:58:31 +00:00
DRC
7f90cedc40
2013-02-14 07:31:35 +00:00
DRC
39ac1cfc79
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@929 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-14 07:31:35 +00:00
DRC
be2b542bba
Trying to build ARM v7/v7s iOS binaries from the "official" libjpeg-turbo tarball (generated on RHEL4/autoconf 2.59/automake 1.9.2/libtool 1.5.6) using either Xcode 3.2.x or 4.5.x produces an error: "libtool: compile: unable to infer tagged configuration". Further study is warranted, but the most expedient way around it at the moment is to re-run autoconf on the OS X machine that is being used to generate the iOS binaries.
2013-02-11 03:38:53 +00:00
DRC
adfac40859
Trying to build ARM v7/v7s iOS binaries from the "official" libjpeg-turbo tarball (generated on RHEL4/autoconf 2.59/automake 1.9.2/libtool 1.5.6) using either Xcode 3.2.x or 4.5.x produces an error: "libtool: compile: unable to infer tagged configuration". Further study is warranted, but the most expedient way around it at the moment is to re-run autoconf on the OS X machine that is being used to generate the iOS binaries.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@928 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-11 03:38:53 +00:00
DRC
22c2e01d7a
Fix 'make dist'
2013-02-06 23:55:59 +00:00
DRC
82512e05b0
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@927 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-06 23:55:59 +00:00
DRC
8b3e32bf48
Include a C version of md5cmp rather than depending on an external md5sum binary, since md5sum is not available on all platforms (specifically, it doesn't exist on FreeBSD, and it has to be installed via MacPorts on OS X.)
2013-02-06 23:51:08 +00:00
DRC
3297fc34a0
Include a C version of md5cmp rather than depending on an external md5sum binary, since md5sum is not available on all platforms (specifically, it doesn't exist on FreeBSD, and it has to be installed via MacPorts on OS X.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@926 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-06 23:51:08 +00:00
DRC
1f63b8d9d1
Fix line break
2013-02-04 23:46:52 +00:00
DRC
2dd1c6ca8d
Fix line break
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@925 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-04 23:46:52 +00:00
DRC
0b818b4134
Include ARM v7s (iPhone 5, iPad 4) support in the universal libjpeg/libturbojpeg libraries distributed with our official binary package for OS X.
2013-02-04 22:29:57 +00:00
DRC
cd72e32e8c
Include ARM v7s (iPhone 5, iPad 4) support in the universal libjpeg/libturbojpeg libraries distributed with our official binary package for OS X.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@923 632fc199-4ca6-4c93-a231-07263d6284db
2013-02-04 22:29:57 +00:00
DRC
e160ae113f
Oops. Separate .def file is not needed when compiling with jpeg-8 API/ABI emulation.
2013-01-27 15:54:59 +00:00
DRC
84aee73599
Oops. Separate .def file is not needed when compiling with jpeg-8 API/ABI emulation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@922 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-27 15:54:59 +00:00
DRC
a0d29e0364
Wordsmith the project description
2013-01-23 01:32:25 +00:00
DRC
8e43940920
Wordsmith the project description
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@921 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-23 01:32:25 +00:00
DRC
cc4145ce2f
Actually, turbojpeg.c works with libjpeg as well
2013-01-22 13:56:34 +00:00
DRC
e94b3a80f2
Actually, turbojpeg.c works with libjpeg as well
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@920 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-22 13:56:34 +00:00
DRC
9f8a003137
Eliminated the awkward and confusing "TurboJPEG/OSS" designation, since there are no other active implementations of the TurboJPEG API anymore; don't refer to the libjpeg API library as "libjpeg-turbo" anymore, since that can be confusing; ARM v7s build instructions
2013-01-21 23:42:12 +00:00
DRC
34be67477f
Eliminated the awkward and confusing "TurboJPEG/OSS" designation, since there are no other active implementations of the TurboJPEG API anymore; don't refer to the libjpeg API library as "libjpeg-turbo" anymore, since that can be confusing; ARM v7s build instructions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@919 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-21 23:42:12 +00:00
DRC
fc9fec465f
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.
2013-01-19 06:43:27 +00:00
DRC
515fece330
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.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@918 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-19 06:43:27 +00:00
DRC
3252455c3f
New year, new copyright message
2013-01-19 01:16:38 +00:00
DRC
4965fd0a7c
New year, new copyright message
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@917 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-19 01:16:38 +00:00
DRC
a1c870d302
Fix several issues with SRPM generation: (1) ensure that all relevant configure arguments get passed down to the configure command line in the generated spec file, (2) adjust the file manifest in the spec to accommodate the differing "age" version whenever the in-memory source/dest managers are used, and (3) fix an issue with the value of SO_MAJOR_VERSION passed down to the configure command line in the generated spec file (SO_MAJOR_VERSION has to remain pure, so we use a different variable to pass down the combined "current+age" value to libtool in Makefile.am.)
2013-01-19 01:06:46 +00:00
DRC
d67d122db0
Fix several issues with SRPM generation: (1) ensure that all relevant configure arguments get passed down to the configure command line in the generated spec file, (2) adjust the file manifest in the spec to accommodate the differing "age" version whenever the in-memory source/dest managers are used, and (3) fix an issue with the value of SO_MAJOR_VERSION passed down to the configure command line in the generated spec file (SO_MAJOR_VERSION has to remain pure, so we use a different variable to pass down the combined "current+age" value to libtool in Makefile.am.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@916 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-19 01:06:46 +00:00
DRC
81de93c8a5
Since Windows doesn't use lazy loading, clarify that a Windows application that uses jpeg_mem_dest() or jpeg_mem_src() must use the DLL containing those functions at run time. Other wordsmithing
2013-01-19 00:13:57 +00:00
DRC
a30a027128
Since Windows doesn't use lazy loading, clarify that a Windows application that uses jpeg_mem_dest() or jpeg_mem_src() must use the DLL containing those functions at run time. Other wordsmithing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@915 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-19 00:13:57 +00:00
DRC
f46db556e3
Compiler warnings on Windows
2013-01-18 23:45:06 +00:00
DRC
afb0dcf565
Compiler warnings on Windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@914 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-18 23:45:06 +00:00
DRC
ba4a6c32f8
Implement in-memory source/destination managers even when not emulating the libjpeg v8 API/ABI
2013-01-18 23:42:31 +00:00
DRC
dc3556a0a1
Implement in-memory source/destination managers even when not emulating the libjpeg v8 API/ABI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@913 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-18 23:42:31 +00:00
DRC
6a9229ae96
Include justification for not supporting SmartScale, DCT scaling, and the libjpeg v9 ABI
2013-01-18 06:12:51 +00:00
DRC
0d605d57f4
Include justification for not supporting SmartScale, DCT scaling, and the libjpeg v9 ABI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@912 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-18 06:12:51 +00:00
DRC
8adaa68d4b
Subtle point, but the libjpeg v7+ API is not backward incompatible. That is, programs that were built against jpeg-6b can still build against jpeg-7+ with no issues. It's only the ABI that is backward incompatible, so the primary justification for implementing the emulation feature was to provide run-time (ABI) compatibility.
2013-01-18 06:02:10 +00:00
DRC
6ae33e0848
Subtle point, but the libjpeg v7+ API is not backward incompatible. That is, programs that were built against jpeg-6b can still build against jpeg-7+ with no issues. It's only the ABI that is backward incompatible, so the primary justification for implementing the emulation feature was to provide run-time (ABI) compatibility.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@911 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-18 06:02:10 +00:00
DRC
670d50d910
Say "do not include" rather than "omit", to be consistent with the CMake build system and the output of the configure script.
2013-01-17 21:48:11 +00:00
DRC
096a63bc8e
Say "do not include" rather than "omit", to be consistent with the CMake build system and the output of the configure script.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@909 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-17 21:48:11 +00:00
DRC
00113423f9
Include full readme for nightshot_iso_100
2013-01-13 21:11:50 +00:00
DRC
f59e5301a5
Include full readme for nightshot_iso_100
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@908 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 21:11:50 +00:00
DRC
647786ee51
The GNU version of md5sum is picky about the spacing
2013-01-13 12:49:57 +00:00
DRC
4b3e749f0f
The GNU version of md5sum is picky about the spacing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@907 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 12:49:57 +00:00
DRC
c4c137f5e9
Fix the x86 build with NASM 0.98. Since NASM 0.98 is the default version on OS X, we want to at least allow people to build 32-bit code with it, even though it can't properly build 64-bit code.
2013-01-13 12:12:53 +00:00
DRC
d7201e7dbe
Fix the x86 build with NASM 0.98. Since NASM 0.98 is the default version on OS X, we want to at least allow people to build 32-bit code with it, even though it can't properly build 64-bit code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@905 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 12:12:53 +00:00
DRC
eebb09941b
Fix 'make dist'
2013-01-13 11:40:58 +00:00
DRC
a1d135912d
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@904 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 11:40:58 +00:00
DRC
fdaa047891
Acknowledge the source of nightshot_iso_100.bmp
2013-01-13 11:30:12 +00:00
DRC
55a0e9175c
Acknowledge the source of nightshot_iso_100.bmp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@903 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 11:30:12 +00:00
DRC
ba01bcbbc5
Consolidate the MD5 sums into one location and add a --without-turbojpeg switch to the Un*x build to allow building libjpeg-turbo without the TurboJPEG/OSS wrapper library. These modifications were supposed to lay the ground work for adding compile-time-selectable 12-bit JPEG support, but unfortunately there are deeper issues that prevent the implementation of that feature right now (namely, some of the modifications made to the C code to support the SIMD code are apparently not 12-bit-friendly.)
2013-01-13 11:25:20 +00:00
DRC
71fb9568b9
Consolidate the MD5 sums into one location and add a --without-turbojpeg switch to the Un*x build to allow building libjpeg-turbo without the TurboJPEG/OSS wrapper library. These modifications were supposed to lay the ground work for adding compile-time-selectable 12-bit JPEG support, but unfortunately there are deeper issues that prevent the implementation of that feature right now (namely, some of the modifications made to the C code to support the SIMD code are apparently not 12-bit-friendly.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@902 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 11:25:20 +00:00
DRC
1e7853c0cc
In all fairness, breaking backward ABI compatibility was necessary in jpeg-7 and jpeg-8 due to the fact that the caller allocates the struct.
2013-01-13 11:05:25 +00:00
DRC
ffdedb5963
In all fairness, breaking backward ABI compatibility was necessary in jpeg-7 and jpeg-8 due to the fact that the caller allocates the struct.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@901 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 11:05:25 +00:00
DRC
af67ada048
Modify 'make test' so that it uses MD5 sums instead of reference images. This eliminates the need to check most of the test images into the repository, which keeps the source tarball to a reasonable size.
2013-01-13 03:00:25 +00:00
DRC
9c3d4cec36
Modify 'make test' so that it uses MD5 sums instead of reference images. This eliminates the need to check most of the test images into the repository, which keeps the source tarball to a reasonable size.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@900 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 03:00:25 +00:00
DRC
58c992a2ae
Also remove mention of install.txt and filelist.txt in the build system and README.
2013-01-13 01:19:09 +00:00
DRC
c2328db52d
Also remove mention of install.txt and filelist.txt in the build system and README.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@899 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 01:19:09 +00:00
DRC
cf55125611
install.txt contains no information relevant to libjpeg-turbo, and filelist.txt does not give any information that can't be gleaned by looking at the headers in the various source files.
2013-01-13 01:17:08 +00:00
DRC
2f54a1f3cb
install.txt contains no information relevant to libjpeg-turbo, and filelist.txt does not give any information that can't be gleaned by looking at the headers in the various source files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@898 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-13 01:17:08 +00:00
DRC
c27f55d6f9
2013-01-12 07:29:53 +00:00
DRC
59925ba3af
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@896 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-12 07:29:53 +00:00
DRC
b684672502
2013-01-12 07:28:35 +00:00
DRC
0428dc2cdc
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@895 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-12 07:28:35 +00:00
DRC
33fb70b328
2013-01-11 11:07:37 +00:00
DRC
9fe128871e
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@894 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-11 11:07:37 +00:00
DRC
ecc22a1007
Wordsmithing; Remove mention of TurboJPEG/IPP-- it is no longer a relevant comparison, since the version of IPP on which TurboJPEG/IPP was based is now quite old, and TurboJPEG/IPP is no longer distributed or supported by The VirtualGL Project; Include information about mathematical incompatibilities with jpeg-8
2013-01-10 11:47:39 +00:00
DRC
b69f25841b
Wordsmithing; Remove mention of TurboJPEG/IPP-- it is no longer a relevant comparison, since the version of IPP on which TurboJPEG/IPP was based is now quite old, and TurboJPEG/IPP is no longer distributed or supported by The VirtualGL Project; Include information about mathematical incompatibilities with jpeg-8
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@893 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-10 11:47:39 +00:00
DRC
5ae35d8a86
Prevent compiler warning on Windows if jmorecfg.h is included after the Windows headers, which also define FAR.
2013-01-06 17:59:42 +00:00
DRC
8ddd1ff301
Prevent compiler warning on Windows if jmorecfg.h is included after the Windows headers, which also define FAR.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@891 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-06 17:59:42 +00:00
DRC
6b041a9221
Spacing tweak
2013-01-01 11:41:44 +00:00
DRC
2b6cc565d2
Spacing tweak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@890 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 11:41:44 +00:00
DRC
13ac9e8554
Indicate our support for some of the jpeg-8d features, as well as arithmetic coding
2013-01-01 11:39:04 +00:00
DRC
2fbf7acccc
Indicate our support for some of the jpeg-8d features, as well as arithmetic coding
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@888 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 11:39:04 +00:00
DRC
5b620429e5
Undocument ansi2knr.c, since we don't include it
2013-01-01 11:12:20 +00:00
DRC
0f1f5f822b
Undocument ansi2knr.c, since we don't include it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@887 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 11:12:20 +00:00
DRC
628b982497
Merge some of the README changes from jpeg-8d and change the copyright and version strings to reflect that we use some of that code.
2013-01-01 10:56:38 +00:00
DRC
b5beb92a92
Merge some of the README changes from jpeg-8d and change the copyright and version strings to reflect that we use some of that code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@886 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:56:38 +00:00
DRC
41f0b53f18
Port RGB-to-Grayscale color transform from jpeg-8d
2013-01-01 10:52:29 +00:00
DRC
16ff890de7
Port RGB-to-Grayscale color transform from jpeg-8d
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@885 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:52:29 +00:00
DRC
e14730f6cc
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
2013-01-01 10:50:59 +00:00
DRC
383cd7265d
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@883 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:50:59 +00:00
DRC
674a037ec7
We now support the additional decompression scaling factors from jpeg-7
2013-01-01 10:47:02 +00:00
DRC
8e4f6724cb
We now support the additional decompression scaling factors from jpeg-7
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@882 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:47:02 +00:00
DRC
f914eb1111
Port the width/height force feature from jpegtran v8d.
2013-01-01 10:44:00 +00:00
DRC
b04e41592c
Port the width/height force feature from jpegtran v8d.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@881 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:44:00 +00:00
DRC
7d12636291
Add cjpeg -rgb option from jpeg-8d
2013-01-01 10:25:43 +00:00
DRC
19e408d256
Add cjpeg -rgb option from jpeg-8d
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@880 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:25:43 +00:00
DRC
f0f1ce1b7f
Minor modifications from jpeg-8d
2013-01-01 10:17:03 +00:00
DRC
83925d0427
Minor modifications from jpeg-8d
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@879 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:17:03 +00:00
DRC
ee4c7d28ab
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
2013-01-01 10:12:34 +00:00
DRC
6e5eac3ea7
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@877 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 10:12:34 +00:00
DRC
9c1aac4639
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
2013-01-01 09:49:47 +00:00
DRC
70796552c4
Further changes to the copyright/attribution notices to make it clear that our modified files are not part of the IJG's software.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@875 632fc199-4ca6-4c93-a231-07263d6284db
2013-01-01 09:49:47 +00:00
DRC
936ae5a813
1.2.90 (1.3 beta1)
2012-12-31 09:44:31 +00:00
DRC
ee67b71238
1.2.90 (1.3 beta1)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@874 632fc199-4ca6-4c93-a231-07263d6284db
2012-12-31 09:44:31 +00:00
DRC
de30fe9460
Change the copyright notices to make it clear that our modified files are not part of the IJG's software.
2012-12-31 02:42:18 +00:00
DRC
2cb8ab383d
Change the copyright notices to make it clear that our modified files are not part of the IJG's software.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@872 632fc199-4ca6-4c93-a231-07263d6284db
2012-12-31 02:42:18 +00:00
DRC
6683a2411a
Fix bug in unused code
2012-12-01 22:33:25 +00:00
DRC
8c5aa647d1
Fix bug in unused code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@870 632fc199-4ca6-4c93-a231-07263d6284db
2012-12-01 22:33:25 +00:00
DRC
e456841c1c
Use a more robust method of obtaining the build timestamp on Windows. 'wmic os get LocalDateTime' will always return the timestamp in the format we want (YYYYMMDD), whereas date /t is sensitive to locale. If wmic fails, then we fall back to using date /t, even though this means that the BUILD variable will end up in the incorrect format on some systems.
2012-10-12 09:29:44 +00:00
DRC
8be6348add
Use a more robust method of obtaining the build timestamp on Windows. 'wmic os get LocalDateTime' will always return the timestamp in the format we want (YYYYMMDD), whereas date /t is sensitive to locale. If wmic fails, then we fall back to using date /t, even though this means that the BUILD variable will end up in the incorrect format on some systems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@867 632fc199-4ca6-4c93-a231-07263d6284db
2012-10-12 09:29:44 +00:00
DRC
1b9184db5b
Fix MinGW build and remove duplication of effort
2012-10-02 06:47:37 +00:00
DRC
2610cd4d4a
Fix MinGW build and remove duplication of effort
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@864 632fc199-4ca6-4c93-a231-07263d6284db
2012-10-02 06:47:37 +00:00
DRC
8f94c2b084
2012-10-02 04:20:43 +00:00
DRC
92dd17f4c7
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@863 632fc199-4ca6-4c93-a231-07263d6284db
2012-10-02 04:20:43 +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
e0c15701d4
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.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@862 632fc199-4ca6-4c93-a231-07263d6284db
2012-09-24 02:27:55 +00:00
DRC
a6c9eaf155
If libturbojpeg.jnilib is not found on Mac systems, specifically look for it under /usr/lib, since /usr/lib isn't part of the default java.library.path on that platform.
2012-08-24 02:44:39 +00:00
DRC
3f0ffbc4b7
If libturbojpeg.jnilib is not found on Mac systems, specifically look for it under /usr/lib, since /usr/lib isn't part of the default java.library.path on that platform.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@861 632fc199-4ca6-4c93-a231-07263d6284db
2012-08-24 02:44:39 +00:00
DRC
f506e2cbb5
Fix build issues that occurred whenever the source directory contained the letters "col", "mer", or "gra".
2012-08-07 21:59:28 +00:00
DRC
5553c54e26
Fix build issues that occurred whenever the source directory contained the letters "col", "mer", or "gra".
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@859 632fc199-4ca6-4c93-a231-07263d6284db
2012-08-07 21:59:28 +00:00
DRC
05cd6e6ea0
Allow the libjpeg-turbo32 package to be used on MultiArch-compatible systems without overriding the linker path or LD_LIBRARY_PATH.
2012-08-07 18:44:24 +00:00
DRC
d669ea731f
Allow the libjpeg-turbo32 package to be used on MultiArch-compatible systems without overriding the linker path or LD_LIBRARY_PATH.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@858 632fc199-4ca6-4c93-a231-07263d6284db
2012-08-07 18:44:24 +00:00
DRC
0a9250c2c0
Oops. Add support for TJFLAG_FASTDCT to tjDecompressToYUV() as well.
2012-07-03 20:02:49 +00:00
DRC
7b1c86c3bd
Oops. Add support for TJFLAG_FASTDCT to tjDecompressToYUV() as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@856 632fc199-4ca6-4c93-a231-07263d6284db
2012-07-03 20:02:49 +00:00
DRC
019d51d4f1
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.
2012-06-29 23:46:38 +00:00
DRC
3cde27c244
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.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@851 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-29 23:46:38 +00:00
DRC
7b8366223a
More recent versions of autoconf add -traditional-cpp to the CPP flags, which causes jsimdcfg.inc.h to not preprocess correctly unless we expand all of the instances of the #definev macro.
2012-06-28 23:24:29 +00:00
DRC
ce6c0e7ebd
More recent versions of autoconf add -traditional-cpp to the CPP flags, which causes jsimdcfg.inc.h to not preprocess correctly unless we expand all of the instances of the #definev macro.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@847 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-28 23:24:29 +00:00
DRC
52ce04b193
Later versions of autoconf (specifically, the one shipped with Xcode 4.3) default to building x86-64, so it is necessary to override the host_alias to get a 32-bit build.
2012-06-28 23:21:13 +00:00
DRC
b4e2548e6b
Later versions of autoconf (specifically, the one shipped with Xcode 4.3) default to building x86-64, so it is necessary to override the host_alias to get a 32-bit build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@845 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-28 23:21:13 +00:00
DRC
b368b2f300
Provide further details about the regression
2012-06-18 00:09:19 +00:00
DRC
97e5be2e2e
Provide further details about the regression
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@842 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-18 00:09:19 +00:00
DRC
0651ee366b
Acknowledge the existence of 1.2.1
2012-06-15 22:00:47 +00:00
DRC
a8a481e690
Acknowledge the existence of 1.2.1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@840 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-15 22:00:47 +00:00
DRC
791e9b4316
Fixed regression caused by a bug in the 32-bit strict memory access code in jdmrgss2.asm (contributed by Chromium to stop valgrind from whining whenever the output buffer size was not evenly divisible by 16 bytes.) On Linux/x86, this regression caused incorrect pixels on the right-hand side of images whose rows were not 16-byte aligned, whenever fancy upsampling was used. This patch also enables the strict memory access code on all platforms, not just Linux (it does no harm on other platforms) and removes a couple of pcmpeqb instructions that were rendered unnecessary by r836.
2012-06-15 21:58:06 +00:00
DRC
c394d503ae
Fixed regression caused by a bug in the 32-bit strict memory access code in jdmrgss2.asm (contributed by Chromium to stop valgrind from whining whenever the output buffer size was not evenly divisible by 16 bytes.) On Linux/x86, this regression caused incorrect pixels on the right-hand side of images whose rows were not 16-byte aligned, whenever fancy upsampling was used. This patch also enables the strict memory access code on all platforms, not just Linux (it does no harm on other platforms) and removes a couple of pcmpeqb instructions that were rendered unnecessary by r836.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@839 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-15 21:58:06 +00:00
DRC
7702469e15
Eliminate the use of the MASKMOVDQU instruction, to speed up decompression performance by 10x on AMD Bobcat embedded processors (and ~5% on AMD desktop processors.)
2012-06-13 01:23:09 +00:00
DRC
1379c92f87
Eliminate the use of the MASKMOVDQU instruction, to speed up decompression performance by 10x on AMD Bobcat embedded processors (and ~5% on AMD desktop processors.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@836 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-13 01:23:09 +00:00
DRC
c19ea22c80
Add new JNI functions to mapfile so they will be visible on Linux
2012-06-08 08:25:17 +00:00
DRC
94e873fe9e
Add new JNI functions to mapfile so they will be visible on Linux
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@834 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-08 08:25:17 +00:00
DRC
b03457663d
Fix array size calculations
2012-06-07 09:38:57 +00:00
DRC
8c5d7e518d
Fix array size calculations
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@833 632fc199-4ca6-4c93-a231-07263d6284db
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
bd4c4babbd
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.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@832 632fc199-4ca6-4c93-a231-07263d6284db
2012-06-06 08:41:06 +00:00
DRC
8aab7a1dad
Guard against num_components being a ridiculous value due to a corrupt header
2012-05-30 20:34:42 +00:00
DRC
1385e05209
Guard against num_components being a ridiculous value due to a corrupt header
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@830 632fc199-4ca6-4c93-a231-07263d6284db
2012-05-30 20:34:42 +00:00
DRC
ca423d39a3
Preserve all 128 bits of xmm6 and xmm7
2012-04-26 19:48:33 +00:00
DRC
835da9597c
Preserve all 128 bits of xmm6 and xmm7
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@828 632fc199-4ca6-4c93-a231-07263d6284db
2012-04-26 19:48:33 +00:00
DRC
1086af6541
Fix memory leak in the colorspace emulation code
2012-04-26 03:18:49 +00:00
DRC
66f6b9b036
Fix memory leak in the colorspace emulation code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@827 632fc199-4ca6-4c93-a231-07263d6284db
2012-04-26 03:18:49 +00:00
DRC
7e768e9849
Provide the legacy unversioned libturbojpeg.so resource so that RPMs that dependended on older libjpeg-turbo distributions will still work.
2012-03-29 21:29:36 +00:00
DRC
e9081e7385
Provide the legacy unversioned libturbojpeg.so resource so that RPMs that dependended on older libjpeg-turbo distributions will still work.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@826 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-29 21:29:36 +00:00
DRC
9d7101c8f6
Emulate colorspace extensions if they are not present in the libjpeg API. This allows the TurboJPEG wrapper to be used with libjpeg rather than libjpeg-turbo. Not useful within the context of our project, but other projects prefer to include the TurboJPEG wrapper in-tree, and this allows them to be linked against either libjpeg-turbo or libjpeg.
2012-03-23 19:47:57 +00:00
DRC
7f52711afa
Emulate colorspace extensions if they are not present in the libjpeg API. This allows the TurboJPEG wrapper to be used with libjpeg rather than libjpeg-turbo. Not useful within the context of our project, but other projects prefer to include the TurboJPEG wrapper in-tree, and this allows them to be linked against either libjpeg-turbo or libjpeg.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@825 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 19:47:57 +00:00
DRC
c2dab98ea0
Get rid of the Solaris packaging system. Solaris packages are obsolete, only a handful of people were downloading those binaries, and maintaining the system was proving to be a pain.
2012-03-23 19:44:54 +00:00
DRC
7cfbea858c
Get rid of the Solaris packaging system. Solaris packages are obsolete, only a handful of people were downloading those binaries, and maintaining the system was proving to be a pain.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@824 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 19:44:54 +00:00
DRC
c17aa549ab
Ensure that tjDecompress2() exits cleanly if setDecompDefaults() fails
2012-03-23 19:37:40 +00:00
DRC
cfbf6426e7
Ensure that tjDecompress2() exits cleanly if setDecompDefaults() fails
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@822 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 19:37:40 +00:00
DRC
c650f3c220
Add a dummy version number to the TurboJPEG dynamic library on Unix systems so Linux distro maintainers will not reject it out of hand.
2012-03-23 03:24:39 +00:00
DRC
b217c71121
Add a dummy version number to the TurboJPEG dynamic library on Unix systems so Linux distro maintainers will not reject it out of hand.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@820 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 03:24:39 +00:00
DRC
25fc4cc39f
Get rid of the Solaris packaging system. Solaris packages are obsolete, only a handful of people were downloading those binaries, and maintaining the system was proving to be a pain.
2012-03-23 03:17:41 +00:00
DRC
5e46549148
Get rid of the Solaris packaging system. Solaris packages are obsolete, only a handful of people were downloading those binaries, and maintaining the system was proving to be a pain.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@819 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 03:17:41 +00:00
DRC
fee19c375b
"Sun Studio"="Oracle Solaris Studio"
2012-03-23 03:11:12 +00:00
DRC
6423e4993c
"Sun Studio"="Oracle Solaris Studio"
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@817 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 03:11:12 +00:00
DRC
65586bf2be
Fix universal DMG build
2012-03-23 00:50:09 +00:00
DRC
b9e9ca093a
Fix universal DMG build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@815 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-23 00:50:09 +00:00
DRC
f3e8b02df5
Visual Studio 2010 doesn't like the wildcard, so let CMake expand it instead.
2012-03-17 14:32:05 +00:00
DRC
e8dac6d863
Visual Studio 2010 doesn't like the wildcard, so let CMake expand it instead.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@812 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-17 14:32:05 +00:00
DRC
6de1345133
Fix the behavior of the alpha-enabled colorspace constants whenever libjpeg-turbo is built without SIMD support and merged upsampling is used.
2012-03-16 14:30:46 +00:00
DRC
2c607d528d
Fix the behavior of the alpha-enabled colorspace constants whenever libjpeg-turbo is built without SIMD support and merged upsampling is used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@810 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-16 14:30:46 +00:00
DRC
2a74bcdce4
Allow RGB JPEG files to be created/decoded when using the LJT colorspace extensions
2012-03-11 22:05:25 +00:00
DRC
cbe9d3a371
Allow RGB JPEG files to be created/decoded when using the LJT colorspace extensions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@808 632fc199-4ca6-4c93-a231-07263d6284db
2012-03-11 22:05:25 +00:00
DRC
c06e5f2928
Oops
2012-02-10 05:31:03 +00:00
DRC
cc90e31263
Oops
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@806 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 05:31:03 +00:00
DRC
2c6f3ed984
Move build dir. variables back into makemacpkg to avoid messing up the Solaris packaging system.
2012-02-10 03:39:43 +00:00
DRC
6841bdbcdb
Move build dir. variables back into makemacpkg to avoid messing up the Solaris packaging system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@803 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 03:39:43 +00:00
DRC
b7af9a7762
Don't include documentation in 32-bit supplemental package
2012-02-10 03:18:41 +00:00
DRC
93443d06a9
Don't include documentation in 32-bit supplemental package
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@802 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 03:18:41 +00:00
DRC
f52a5670da
Fix 'make dist'
2012-02-10 01:55:28 +00:00
DRC
2b1d58c39f
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@800 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:55:28 +00:00
DRC
33e613d948
iOS universal package was promoted to a 1.2 feature
2012-02-10 01:44:55 +00:00
DRC
e666645535
iOS universal package was promoted to a 1.2 feature
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@798 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:44:55 +00:00
DRC
a856d7bf70
RPM spec no longer uses %{_srcdir}
2012-02-10 01:39:28 +00:00
DRC
050ba6c841
RPM spec no longer uses %{_srcdir}
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@795 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:39:28 +00:00
DRC
5d0234739e
Install docs when doing 'make install' on Unix; Fix 'install' target on Windows; Include wizard.txt, example.c, and structure.txt in installed docs
2012-02-10 01:37:20 +00:00
DRC
cdf8deb55a
Install docs when doing 'make install' on Unix; Fix 'install' target on Windows; Include wizard.txt, example.c, and structure.txt in installed docs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@794 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:37:20 +00:00
DRC
aad846c416
'make iosdmg' now works with 32-bit builds as well
2012-02-10 01:24:26 +00:00
DRC
d09fd835a3
'make iosdmg' now works with 32-bit builds as well
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@792 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:24:26 +00:00
DRC
ba12191cc8
Clean up the iOS packaging mechanism so that ARM architectures can be added to i386-only builds as well.
2012-02-10 01:07:59 +00:00
DRC
6f9fad72a2
Clean up the iOS packaging mechanism so that ARM architectures can be added to i386-only builds as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@791 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-10 01:07:59 +00:00
DRC
4a2fe27cb6
Infrastructure for producing a universal x86-64/i386/ARM version of libjpeg.a and libturbojpeg.a on OS X, so that the same library can be used to build OS X and iOS apps
2012-02-09 09:23:30 +00:00
DRC
1c833ad8a5
Infrastructure for producing a universal x86-64/i386/ARM version of libjpeg.a and libturbojpeg.a on OS X, so that the same library can be used to build OS X and iOS apps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@789 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-09 09:23:30 +00:00
DRC
2aedbe637d
Merge description from README-turbo.txt into packages
2012-02-08 09:18:42 +00:00
DRC
272a395514
Merge description from README-turbo.txt into packages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@787 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-08 09:18:42 +00:00
DRC
05c7b00f1d
2012-02-07 20:39:33 +00:00
DRC
57a402e02e
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@779 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-07 20:39:33 +00:00
DRC
0441bdfd88
Wordsmithing and grammar
2012-02-07 00:15:42 +00:00
DRC
cd90164f77
Wordsmithing and grammar
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@778 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-07 00:15:42 +00:00
DRC
efbdb72ac3
Several clarifications regarding v7/v8 API/ABI support
2012-02-03 08:55:36 +00:00
DRC
f7737c3f76
Several clarifications regarding v7/v8 API/ABI support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@775 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-03 08:55:36 +00:00
DRC
92eb806f1d
Fix issue whereby libjpeg-turbo would report "fractional sampling not implemented" when attempting to use decompression scaling with a non-power-of-2 scaling ratio and a JPEG file that was compressed using an odd form of subsampling, such as 3x2.
2012-02-03 06:55:26 +00:00
DRC
a12d14eb90
Fix issue whereby libjpeg-turbo would report "fractional sampling not implemented" when attempting to use decompression scaling with a non-power-of-2 scaling ratio and a JPEG file that was compressed using an odd form of subsampling, such as 3x2.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@774 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-03 06:55:26 +00:00
DRC
dbfa2648d8
Accelerated 4:2:2 upsampling routine for ARM (improves performance ~20-30% when decompressing 4:2:2 JPEGs using fancy upsampling)
2012-02-02 22:32:45 +00:00
DRC
3ee09f164f
Accelerated 4:2:2 upsampling routine for ARM (improves performance ~20-30% when decompressing 4:2:2 JPEGs using fancy upsampling)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@773 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-02 22:32:45 +00:00
DRC
50b6c75d9d
Oops. Need to use -nosmooth so that the output matches the reference images generated by jpeg-8
2012-02-01 02:49:10 +00:00
DRC
53df93d14a
Oops. Need to use -nosmooth so that the output matches the reference images generated by jpeg-8
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@772 632fc199-4ca6-4c93-a231-07263d6284db
2012-02-01 02:49:10 +00:00
DRC
e74d1c77ea
Add more extensive TurboJPEG regression tests
2012-01-31 11:38:13 +00:00
DRC
5e2215842c
Add more extensive TurboJPEG regression tests
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@771 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 11:38:13 +00:00
DRC
016f5cdbcf
Add tests for the additional scaling factors
2012-01-31 11:09:11 +00:00
DRC
7ef20bf0a6
Add tests for the additional scaling factors
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@770 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 11:09:11 +00:00
DRC
40feae60f4
Fix 'make dist'
2012-01-31 10:49:23 +00:00
DRC
e840aab1fa
Fix 'make dist'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@769 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 10:49:23 +00:00
DRC
df1fccf695
Merge copyright messages into one string and change the run-time messages to avoid confusion (we are not technically based on the latest libjpeg, although we do borrow some code from it)
2012-01-31 10:47:02 +00:00
DRC
f58669bc0d
Merge copyright messages into one string and change the run-time messages to avoid confusion (we are not technically based on the latest libjpeg, although we do borrow some code from it)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@768 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 10:47:02 +00:00
DRC
2f7d48a87e
Combine all of the scaling tests using a for loop
2012-01-31 10:43:56 +00:00
DRC
ce2fed003b
Combine all of the scaling tests using a for loop
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@767 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 10:43:56 +00:00
DRC
da2b560b34
Incorporate a few upstream doc changes; grammar police; wordsmithing; Move -arithmetic into "switches for advanced users"; Additional documentation for IDCT scaling extensions
2012-01-31 10:19:29 +00:00
DRC
9542ab205c
Incorporate a few upstream doc changes; grammar police; wordsmithing; Move -arithmetic into "switches for advanced users"; Additional documentation for IDCT scaling extensions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@765 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 10:19:29 +00:00
DRC
faff5f4891
Move test images into their own subdirectory
2012-01-31 05:47:07 +00:00
DRC
580cdcd9bb
Move test images into their own subdirectory
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@761 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 05:47:07 +00:00
DRC
a112f12efd
Compiler warnings
2012-01-31 05:27:41 +00:00
DRC
44ee340ab5
Compiler warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@760 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-31 05:27:41 +00:00
DRC
5e805d2f4b
Expose new scaling factors in TurboJPEG API
2012-01-28 06:49:56 +00:00
DRC
688a25c4cc
Expose new scaling factors in TurboJPEG API
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@757 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-28 06:49:56 +00:00
DRC
030b6fc1c1
Document the new scaling factors
2012-01-28 06:49:22 +00:00
DRC
84d37a09b6
Document the new scaling factors
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@756 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-28 06:49:22 +00:00
DRC
88d2e0d792
Oops. Height of output buffer should equal scaled height, not JPEG height.
2012-01-28 06:31:21 +00:00
DRC
ea1ca03b75
Oops. Height of output buffer should equal scaled height, not JPEG height.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@754 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-28 06:31:21 +00:00
DRC
8644ed2a04
Support additional scaling factors when decompressing
2012-01-28 01:48:07 +00:00
DRC
67403cc55f
Support additional scaling factors when decompressing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@753 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-28 01:48:07 +00:00
DRC
a6b5eab50f
Oops. Need to handle cases in which num_components > n
2012-01-28 01:19:52 +00:00
DRC
b7478432f5
Oops. Need to handle cases in which num_components > n
...
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@752 632fc199-4ca6-4c93-a231-07263d6284db
2012-01-28 01:19:52 +00:00
DRC
9d14254225
Bump version to 1.2.80 (1.3 alpha1) to prepare for receiving new features
2012-01-27 22:12:49 +00:00
DRC
311728cd98
Be clear that we are only emulating the libjpeg v7/v8 API/ABI, not the library itself.
2012-01-27 09:52:20 +00:00
DRC
44e6c174ee
2012-01-27 09:42:51 +00:00
DRC
d2e0417960
Move -arithmetic into "switches for advanced users"
2012-01-27 09:39:46 +00:00
DRC
aa31d1d14b
Update upstream e-mail address
2012-01-27 09:27:20 +00:00
DRC
4cf0357c0f
Properly decompress erroneous CMYK/YCCK images whose K component has an ID of 1 instead of 4 (this is to support SumatraPDF)
2012-01-27 01:23:20 +00:00
DRC
0f654d4674
Move INLINE macro into config.h. That's really where it belongs anyhow, since it is used only internally, and putting it in jconfig.h was causing problems with DevIL.
2012-01-26 22:20:31 +00:00
DRC
14faccfa93
Grammar police
2012-01-17 22:56:22 +00:00
DRC
e420e3a19c
Subtle point, but TurboJPEG is the API and TurboJPEG/OSS is the library implementing that API.
2012-01-17 22:55:03 +00:00
DRC
5bd7a89f6a
Compiler warnings
2012-01-17 11:48:38 +00:00
DRC
230440c8e7
Add program that demonstrates how to check for the existence of the colorspace extensions
2011-12-19 15:01:55 +00:00
DRC
c1e4151607
Added new alpha channel colorspace constants/pixel formats, so applications can specify that they need the unused byte in a 4-component RGB output buffer set to 0xFF when decompressing.
2011-12-19 02:21:03 +00:00
DRC
67420f1fa1
Add LIBJPEG_TURBO_VERSION macro for checking the libjpeg-turbo version at compile time
2011-12-18 16:29:35 +00:00
DRC
51b8cd674a
"which"="that"
2011-12-15 13:12:59 +00:00
DRC
90d7c850fa
Fixed non-fatal out-of-bounds read in SSE2 SIMD code reported by valgrind when decompressing a JPEG image to a bitmap buffer whose size was not a multiple of 16 bytes.
2011-12-01 10:58:36 +00:00
DRC
8ec31e2fb2
Expose NASM variable in ccmake
2011-11-29 09:01:23 +00:00
DRC
e0eea893be
NASM automatically adds the current directory to the include path, but YASM doesn't, so we need to explicitly add it.
2011-11-29 08:58:27 +00:00
DRC
f2e5e59720
1.2.0
2011-11-29 08:53:32 +00:00
DRC
1df063383d
2011-11-01 17:14:22 +00:00
DRC
1b0a8cdd79
2011-10-28 06:45:53 +00:00
DRC
6fa79e5dbf
2011-10-28 06:45:06 +00:00
DRC
ed6a876521
2011-10-28 06:25:13 +00:00
DRC
16b1fdf84d
Fix 'make dist'
2011-10-27 23:25:28 +00:00
DRC
d8b3658cdf
iOS doesn't allow dynamic linking against non-system libs
2011-10-27 20:40:21 +00:00
DRC
d475ea928b
ARM + iOS instructions
2011-10-19 05:13:27 +00:00
DRC
c2e128f8c5
Make sure we don't call jpeg_destroy_[de]compress() on an uninitialized struct, as bad mojo can ensue.
2011-10-18 22:07:13 +00:00
DRC
9b0741512e
Fix compiler warning
2011-10-18 22:06:22 +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
de5d1ec4e4
Wordsmithing
2011-09-20 18:20:43 +00:00
DRC
91ad5467ab
Always link tjbench against jpeg-static instead of the JPEG DLL, since we are only using libjpeg for bitmap I/O
2011-09-20 05:41:54 +00:00
DRC
5d1cec9a79
Add TJCustomFilter to Windows build
2011-09-20 05:35:31 +00:00
DRC
bc1e5525b0
Add a couple of missing pages
2011-09-20 05:04:06 +00:00
DRC
f343d7332a
Implement custom filter callback in Java
2011-09-20 05:02:19 +00:00
DRC
1109f68db6
Fix 'make docs' with out-of-tree builds
2011-09-19 18:58:21 +00:00
DRC
50b3728013
Fix 'make headers' with out-of-tree builds
2011-09-19 18:47:00 +00:00
DRC
42df487a35
2011-09-17 00:41:14 +00:00
DRC
85a878bf07
Implement a custom DCT filter callback for lossless transforms
2011-09-17 00:18:31 +00:00
DRC
4a87a4a6bd
Eliminate "main is usually a function" warnings
2011-09-10 17:30:36 +00:00
DRC
066c44b341
Fill unused byte with 0xFF on Windows as well
2011-09-09 18:38:20 +00:00
DRC
ba8383452c
Use 8-bit write to avoid potential pointer aliasing issues (also, at least on x86, it's faster than the previous approach.)
2011-09-09 18:15:53 +00:00
DRC
d345306ecc
When decompressing to a 4-byte RGB buffer, set the unused byte to 0xFF so it can be interpreted as an opaque alpha channel.
2011-09-08 23:54:40 +00:00
DRC
edf4d637e1
Improve performance of non-SIMD color conversion routines and use global constants to define colorspace extension parameters
2011-09-07 06:31:00 +00:00
DRC
c02c1fa775
Fix compile error when JCS_EXTENSIONS!=1
2011-09-07 05:03:18 +00:00
DRC
a20f5d026a
Use descriptions from libjpeg v8
2011-09-07 03:26:06 +00:00
DRC
d3aa5c9f94
Back out CMYK-to-RGB conversions. There is really no way to properly do CMYK-to-RGB conversion without color management, which is out of scope for libjpeg-turbo. Applications wishing to do a trivial conversion, such as was implemented in these routines, can simply request CMYK output and do the trivial conversion themselves (or, even better, use an OSS color management library.) We should not encourage the use of in-library CMYK-to-RGB conversion as a substitute for color management.
2011-09-07 02:32:02 +00:00
DRC
e808882c95
Update Nokia contact info
2011-09-06 18:58:22 +00:00
DRC
a02a9af565
Improve performance of IFAST iDCT by changing the order of transpose and descale steps
2011-09-06 18:57:53 +00:00
DRC
061f96dc7d
Make ARM ISLOW iDCT faster on typical cases, and eliminate the possibility of 16-bit overflows when handling arbitrary coefficients.
2011-09-06 18:55:45 +00:00
DRC
00e258dedd
Improve the performance of YCbCr to RGB conversion on ARM
2011-08-24 23:27:44 +00:00
DRC
7672bd3ac5
NEON-accelerated slow integer inverse DCT
2011-08-22 13:48:01 +00:00
DRC
00a69f142a
NEON-accelerated quantization
2011-08-17 21:00:59 +00:00
DRC
adce3b2eeb
2011-08-17 20:59:56 +00:00
DRC
6070e60924
Use integer arithmetic for CMYK-to-RGB conversions
2011-08-16 01:39:05 +00:00
DRC
dbb92f2eee
Improve performance of ARM NEON IFAST iDCT
2011-08-15 08:36:51 +00:00
DRC
33ddbcc5b3
Oops
2011-08-12 19:31:09 +00:00
DRC
9227c0d77b
Add Nokia copyright (for ARM NEON code)
2011-08-12 19:30:21 +00:00
DRC
29b738d9b6
2011-08-12 19:28:28 +00:00
DRC
22b4359e42
ARM NEON-accelerated RGB-to-YCbCr conversion
2011-08-12 19:27:20 +00:00
DRC
35c1909f0b
Oops
2011-08-11 02:17:17 +00:00
DRC
8de30b8c28
CMYK/YCCK support
2011-08-11 02:16:44 +00:00
DRC
14dfb6b81d
Support for accelerated forward DCT using ARM NEON instructions
2011-08-11 02:15:31 +00:00
DRC
ce02d1d62a
Support for accelerated forward DCT using ARM NEON instructions
2011-08-10 23:31:13 +00:00
DRC
157c7635db
2011-07-26 09:22:16 +00:00
DRC
b10d6c827d
Don't include JAR file in 32-bit compatibility package
2011-07-19 09:52:11 +00:00
DRC
cf446479aa
Trying to out-clever ourselves by having autotools generate the deb-control file broke the 32-bit supplementary DEB, so revert to the method we used in LJT 1.0 to generate this file.
2011-07-19 09:29:01 +00:00
DRC
4658c17c9e
Windows doesn't have random()
2011-07-15 10:06:56 +00:00
DRC
869095444e
Use random noise to ensure that the JPEG image generated in the buffer size test exceeds the size of the uncompressed source image.
2011-07-12 06:22:06 +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
2bfd5d8c7d
Restore compatibility with the jpeg-6b error enum, even if arithmetic coding is enabled.
2011-06-21 06:13:16 +00:00
DRC
71be635a89
Prevent jmorecfg.h from re-defining INT32 and INT16 if those types have already been defined by the Windows system headers.
2011-06-21 04:56:02 +00:00
DRC
e3f7e75525
NEON-optimized 2x2 and 4x4 scaled iDCTs
2011-06-17 21:12:58 +00:00
DRC
b6fb92eeff
2011-06-15 02:43:42 +00:00
DRC
04dc101077
iOS ARM support
2011-06-14 22:17:37 +00:00
DRC
d02c734a19
iOS ARM support
2011-06-14 22:16:50 +00:00
DRC
9d5f6b9e33
Fix a minor ABI incompatibility caused by the introduction of new error constants into the enum in jerror.h.
2011-05-31 20:22:37 +00:00
DRC
de8be2e9f0
Re-factor checkBufYUV() function to more closely resemble re-factored checkBuf() function
2011-05-27 02:10:42 +00:00
DRC
64d644bcc3
Change the name of the pre-computed bits table to match its actual function
2011-05-26 11:28:22 +00:00
DRC
395bf7e218
turbojpegl.c=turbojpeg.c
2011-05-26 10:45:06 +00:00
DRC
67810edcf7
jpegtran on Windows needs the same fix as cjpeg and djpeg to eliminate errors when I/O redirection is used.
2011-05-25 06:02:50 +00:00
DRC
cd39e3abc1
Need to set TJFLAG_NOREALLOC for tjTransform()
2011-05-25 04:52:25 +00:00
DRC
14ae3e4959
Oops. Add the already-advertised -bmp option
2011-05-25 04:35:53 +00:00
DRC
ac31113152
MinGW seems to barf unless jinclude.h is included before jpeglib.h
2011-05-25 04:12:52 +00:00
DRC
42c015d5a2
"jpegut"="tjunittest" & "jpgtest"="tjbench"
2011-05-25 04:12:22 +00:00
DRC
49e17cd6a7
"jpegut"="tjunittest" & "jpgtest"="tjbench"
2011-05-25 03:54:56 +00:00
DRC
5e3346ba58
"jpegut"="tjunittest" & "jpgtest"="tjbench"
2011-05-25 03:52:22 +00:00
DRC
2bc15f6bac
Fix OS X uninstaller
2011-05-25 03:51:29 +00:00
DRC
1d4c5744a8
Add dynamic allocation test; Fix compression ratio output in quiet mode; Fix memory leak
2011-05-25 02:58:21 +00:00
DRC
24b83b5b0c
Remove wxWindows license files from packages
2011-05-24 17:33:06 +00:00
DRC
8e732e32be
Fix 'make dist'
2011-05-24 17:18:11 +00:00
DRC
e3086351f9
Fix 'make dist'
2011-05-24 17:14:43 +00:00
DRC
3ee533eb7c
Fix 'make dist'
2011-05-24 17:07:51 +00:00
DRC
626f00e5c8
Fix build on Windows
2011-05-24 17:03:51 +00:00
DRC
994f49d8c2
Added "See also" for tjAlloc() and tjFree()
2011-05-24 17:00:15 +00:00
DRC
411c62396d
Add new API functions, tjAlloc() and tjFree(), which allow memory to be allocated and freed using a method of the library's choosing. At the moment, the primary purpose for this is to avoid allocating/freeing memory across the DLL boundary on Windows.
2011-05-24 16:52:47 +00:00
DRC
4703b773af
Fix memory leak in new TurboJPEG auto-reallocation mode
2011-05-24 15:15:15 +00:00
DRC
2ff9d2a26d
Remove any references to the wxWindows Library License and VirtualGL copyrights
2011-05-24 14:13:01 +00:00
DRC
d25fe3fd18
Remove any references to the wxWindows Library License and VirtualGL copyrights
2011-05-24 14:12:07 +00:00
DRC
9682a6e036
Refactor uninstall script. No legacy code remains, so relicense under BSD-style license. Remove uninstall app from package for now, until we can come up with a new version that doesn't have any legacy code.
2011-05-24 13:59:14 +00:00
DRC
a501250666
Refactored to use new TurboJPEG API and new BMP library + additional cleanup. There is no legacy code remaining, so the refactored version of the program has been re-licensed under a BSD-style license.
2011-05-24 13:41:27 +00:00
DRC
9bfb9ee536
Add new API functions to JNI mapfile as well
2011-05-24 13:37:37 +00:00
DRC
8338344cf8
Need stdlib.h to get NULL on Linux
2011-05-24 13:37:01 +00:00
DRC
abeb01d5f1
Don't require buffer size to be preset if using TJFLAG_NOREALLOC
2011-05-24 10:17:32 +00:00
DRC
16d4cc3b34
Use tjutil instead of rrutil
2011-05-24 09:17:57 +00:00
DRC
7f352fc982
Add max, min functions
2011-05-24 09:17:43 +00:00
DRC
34e538a8ca
Prevent header from being included multiple times
2011-05-24 09:15:44 +00:00
DRC
3fbb13e0cd
Completely refactor BMP library so that it takes advantage of the existing BMP and PPM load/save routines in libjpeg
2011-05-24 09:13:17 +00:00
DRC
3bdddc666b
Simplify initialization code (we don't have to explicitly initialize a component to 0, because the whole buffer has already been initialized to 0)
2011-05-23 05:50:07 +00:00
DRC
c2ddde57c4
Refactor slightly to match new C code
2011-05-23 05:49:08 +00:00
DRC
7a8cefdb71
Clean up error messages; Fix lossless transformation; General cleanup
2011-05-22 13:55:56 +00:00
DRC
4fa973b836
Refactored jpegut to test the new TurboJPEG API. There is no legacy code remaining, so the refactored version of the program has been re-licensed under a BSD-style license.
2011-05-22 13:55:17 +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
6be4598bec
Remove duplicate entries
2011-05-21 14:23:30 +00:00
DRC
14a2cd0317
2011-05-10 22:14:38 +00:00
DRC
fcdffa2265
Not necessary to save r10 and r11, since these are scratch registers
2011-05-10 21:44:33 +00:00
DRC
d6e51e6cde
Can't assume that current directory is in PATH
2011-05-10 21:09:27 +00:00
DRC
ef534974a8
Include scaled decompression test images when doing 'make dist'
2011-05-10 21:05:49 +00:00
DRC
99799a6c29
ARM NEON support
2011-05-03 08:47:43 +00:00
DRC
a399b5bbea
YASM support
2011-05-03 06:32:41 +00:00
DRC
6f78dc30c5
Fix I/O redirection in cjpeg and djpeg on Windows
2011-05-02 00:37:32 +00:00
DRC
f84a4eb00d
New libjpeg-turbo domain
2011-04-27 00:32:24 +00:00
DRC
c3f61d6f57
2011-04-26 23:46:38 +00:00
DRC
65b1230f18
Update license text to reflect the newly-relicensed jchuff.c
2011-04-26 23:44:37 +00:00
DRC
ed7ec8322c
Re-factor and re-license under the libjpeg BSD-style license. Justification: the accelerated Huffman encoding optimizations in libjpeg-turbo were all developed by me as an independent developer. The structure of the inline Huffman encoding macros was originally borrowed from similar routines in the TurboJPEG/mediaLib codec, which is part of VirtualGL and TurboVNC. Thus, although the code for these macros was not copied verbatim, they were still thought to be a derivative work of TurboJPEG/mediaLib, and I assigned the copyright and license from TurboJPEG/mediaLib to them. I have re-written these routines from first principles by breaking down the libjpeg out-of-line routines. Although the new code bears algorithmic similarities to the TurboJPEG/mediaLib macros, it can now clearly be shown to be derived from the out-of-line routines and thus, in my opinion, it can no longer be considered a derivative of TurboJPEG/mediaLib. -- DRC
2011-04-26 22:08:31 +00:00
DRC
2540beb951
Add more comprehensive tests for IDCT scaling
2011-04-25 23:56:40 +00:00
DRC
431e5937b5
Eliminate excessive I/O overhead when reading BMP files in cjpeg
2011-04-25 22:47:44 +00:00
DRC
2fea4ae8bf
2011-04-25 22:46:25 +00:00
DRC
5d3d11ee66
2011-04-18 07:01:46 +00:00
DRC
bdc88147bb
Re-factor and re-license under the libjpeg BSD-style license. Justification: the accelerated Huffman decoding optimizations in libjpeg-turbo were all developed by me as an independent developer. The structure of the inline Huffman decoding macros was originally borrowed from similar routines in the TurboJPEG/mediaLib codec, which is part of VirtualGL and TurboVNC. Thus, although the code for these macros was not copied verbatim, they were still thought to be a derivative work of TurboJPEG/mediaLib, and I assigned the copyright and license from TurboJPEG/mediaLib to them. I have re-written these routines from first principles by breaking down the libjpeg out-of-line routines. Although the new code bears algorithmic similarities to the TurboJPEG/mediaLib macros, it can now clearly be shown to be derived from the out-of-line routines and thus, in my opinion, it can no longer be considered a derivative of TurboJPEG/mediaLib. -- DRC
2011-04-18 06:52:07 +00:00
DRC
47ce37c6b0
2011-04-17 15:29:17 +00:00
DRC
93598f71bb
The previous attempt to handle unexpected markers in the data stream caused breakage in applications that attempted to set bytes_in_buffer to a larger value than the actual size of the JPEG image. The latter behavior was causing the fast decoder to be used for the last MCU in the image under certain circumstances, and this sometimes caused the EOI marker to be encountered by the fast decoder, which was treating it as an "unexpected" marker and throwing an error. Now, the fast decoder simply hands off the decoding of the block to the slow decoder if any marker is encountered.
2011-04-16 18:53:26 +00:00
DRC
82c0d4c9e9
Update build instructions to reflect the fact that 32-bit LJT build doesn't work with NASM 0.99 or 2.00
2011-04-16 13:29:54 +00:00
DRC
a9300ce862
Use option() to handle configuration variables, so they will show up in the CMake GUI
2011-04-15 00:24:02 +00:00
DRC
4611077eab
Don't need MSVC definition in assembler code anymore
2011-04-07 05:27:29 +00:00
DRC
667766d07f
2011-04-05 07:01:26 +00:00
DRC
31a13fcbb2
Attempt to make build work with Visual Studio 2010 (still doesn't work if SIMD or Java are enabled-- see bug tracker)
2011-04-04 21:00:53 +00:00
DRC
10979fb0fe
Comment code
2011-04-04 04:56:24 +00:00
DRC
5bc9a1076e
Fix jpegoptim with v7 emulation as well
2011-04-03 07:08:18 +00:00
DRC
cc2cf7db19
Allow customization of Java compiler flags
2011-04-03 06:10:18 +00:00
DRC
d5a3955024
Ensure that image_width and image_height are initialized if libjpeg v8 emulation is enabled.
2011-04-02 05:37:49 +00:00
DRC
8b351a8fa6
Change build instructions and README to reflect the fact that the Java front-end classes are now part of the build and distribution
2011-04-02 05:17:12 +00:00
DRC
9a77f7f3ce
Add testclean target for cleaning up test images
2011-04-02 04:43:14 +00:00
DRC
9237ae5f3e
Fix compiler warning
2011-04-02 04:19:21 +00:00
DRC
0e72ee1ccc
Oops. Constructor should actually do something.
2011-04-02 03:43:12 +00:00
DRC
7e60806f34
Distribute TJLoader.java.in
2011-04-02 02:33:29 +00:00
DRC
115955e36e
Ensure that *gra*.asm is rebuilt whenever *gry*.asm changes.
2011-04-02 02:14:13 +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
d6d704d30d
Fix compiler warning with OpenJDK
2011-04-01 20:31:03 +00:00
DRC
3f8b9470a9
2011-04-01 11:26:10 +00:00
DRC
a391158b34
Include TurboJPEG/OSS Java wrapper JAR in Windows distribution packages
2011-04-01 11:13:11 +00:00
DRC
187e286f44
Fix regression bug that caused the "Installer" targets to fail when building from the MSVC IDE
2011-04-01 11:10:46 +00:00
DRC
1c610ebfa3
Modify build instructions to reflect the fact that the Java front-end classes are now built along with the JNI wrapper
2011-04-01 01:21:22 +00:00
DRC
5c4e594064
Fix 'make dist' so that it includes only what we need from java/ (it was errantly including java/Makefile)
2011-04-01 00:37:20 +00:00
DRC
d56b1c71cd
Build and package TurboJPEG/OSS Java wrapper into JAR file
2011-04-01 00:20:33 +00:00
DRC
2139a653b0
Use a different naming convention, to avoid conflict with jpegut
2011-03-31 20:58:03 +00:00
DRC
f634833a16
Use the same naming convention for the output files as the Java tests
2011-03-31 20:48:30 +00:00
DRC
892ed7e6b4
Clean up compiler warnings
2011-03-31 10:06:17 +00:00
DRC
977458e00d
make testclean should clean up .yuv and 4:4:0 files as well
2011-03-31 09:41:53 +00:00
DRC
76e7801a58
"JAVA_CFLAGS"="JNI_CFLAGS"
2011-03-31 08:03:26 +00:00
DRC
7ed5fe39c9
Get rid of unused IS_WIN32 conditional
2011-03-31 04:14:55 +00:00
DRC
35acffcf0c
Create local round up function for jmemmgr.c so we can revert the original argument types of jround_up() without breaking the build on 64-bit Windows.
2011-03-29 05:01:23 +00:00
DRC
1fbaddde3b
Clean up packaging system
2011-03-22 09:31:25 +00:00
DRC
51a4282abc
MinGW64 no longer prefixes symbols with underscores by default
2011-03-22 09:19:29 +00:00
DRC
bcfb6ed138
2011-03-18 05:59:07 +00:00
DRC
59fd32e903
Throw a warning if an unexpected marker is found in the middle of the JPEG data stream
2011-03-18 05:44:55 +00:00
DRC
efc012f0b5
Throw a warning if an unexpected marker is found in the middle of the JPEG data stream
2011-03-18 05:44:27 +00:00
DRC
d8cc0513ee
Fix compression from/decompression to TYPE_INT_{RGB|BGR} BufferedImages on big endian platforms
2011-03-17 07:39:25 +00:00
DRC
f90d1d84c7
More Java API cleanup
2011-03-16 00:02:53 +00:00
DRC
22faf366c3
Java code cleanup + Java docs
2011-03-15 20:52:02 +00:00
DRC
552dd27bde
tjTransform() was not working properly if r.w=0 or r.h=0
2011-03-15 20:09:47 +00:00
DRC
4c5eae3bd0
Wordsmithing
2011-03-15 19:33:43 +00:00
DRC
4a0cf492f4
Add notes about performance
2011-03-10 07:25:41 +00:00
DRC
ac0eff91f6
Add an option to display the output image
2011-03-07 09:59:08 +00:00
DRC
d04c64b75a
If a scaled-down JPEG output image is requested, we must decompress and recompress the transformed image.
2011-03-07 08:21:11 +00:00
DRC
d594af38e1
On Windows, long is 32-bit, so use jlong instead
2011-03-04 15:28:16 +00:00
DRC
fed7b30436
We actually don't need windows.h at all, and it makes both MinGW and VC++ unhappy because of conflicting macros (such as INT32 in jmorecfg.h)
2011-03-04 14:57:14 +00:00
DRC
32fa016937
MinGW already has snprintf(), so don't use our macro substitute there
2011-03-04 14:37:00 +00:00
DRC
5526cf13d0
Oops. Forgot to add TJTransform class
2011-03-04 14:10:29 +00:00
DRC
58a0845738
Include new grayscale SIMD routines in dist
2011-03-04 14:05:23 +00:00
DRC
0260fd6196
2011-03-04 13:46:55 +00:00
DRC
d5bc5379a4
Add access methods for getting at the JPEG buffer
2011-03-04 13:41:05 +00:00
DRC
c5efebc394
If transforming and outputting a JPEG file, output the transformed file directly instead of decompressing/recompressing it
2011-03-04 13:40:42 +00:00
DRC
15ff5c1feb
Add TJTransformer JNI functions to mapfile
2011-03-04 13:39:46 +00:00
DRC
696f25e052
Handle 4:4:0 (transposed 4:2:2 subsampling)
2011-03-04 13:04:24 +00:00
DRC
074a6f24bb
Handle 4:4:0 (transposed 4:2:2 subsampling)
2011-03-04 12:52:45 +00:00
DRC
89d167655e
Implement lossless cropping interface in Java
2011-03-04 10:13:59 +00:00
DRC
91332307b5
Don't need PAD() anymore
2011-03-04 10:01:22 +00:00
DRC
a43dd1aeb7
Print stack trace on error
2011-03-04 09:54:59 +00:00
DRC
e3c79837d1
Methods of a final class are automatically final
2011-03-04 09:15:07 +00:00
DRC
77f2cf4e75
Modify filename of decompressed output files to indicate that scaling was used
2011-03-04 04:14:47 +00:00
DRC
19f178b9f3
If losslessly transforming to grayscale, compute trimmed dimensions based on grayscale MCU size, not MCU size of source image
2011-03-04 03:38:47 +00:00
DRC
5e9da424a4
Tile generation did not work with TJXFORM_HFLIP, because the underlying transform code was using an in-place algorithm, which modified the source coefficients after the first tile was generated. Thus, create a new option which allows TurboJPEG to turn off the in-place horizontal flip if there are multiple transforms being performed from the same set of coefficients.
2011-03-04 03:20:34 +00:00
DRC
7e1d9c4e42
Transform tests; Variable benchmark time; General cleanup
2011-03-04 02:25:00 +00:00
DRC
3bcf42b4ac
Add an option to force grayscale->RGB conversion (needed for jpgtest regression test)
2011-03-03 16:58:47 +00:00
DRC
5e9c5f9ff7
Move per-format flag assignments to the actual TurboJPEG function calls
2011-03-02 10:30:29 +00:00
DRC
086cc1e5cc
Make the C version work more like the Java version
2011-03-02 10:13:55 +00:00
DRC
1873d021c7
Generate separate JPEG images for the YUV decode tests
2011-03-02 09:30:57 +00:00
DRC
4be061b162
Oops. Left out the all-important transform structures
2011-03-02 09:27:49 +00:00
DRC
66b6d80ed6
Since lossless transforms have such a high fixed performance cost, implement a mechanism for performing more than one at a time on the same source image.
2011-03-02 09:22:41 +00:00
DRC
92df122286
Wordsmithing and general cleanup
2011-03-02 09:05:09 +00:00
DRC
0c7b322efe
Fix Windows build; Add grayscale tests to Windows build; Add proper implementation of snprintf on Windows and use snprintf() in TurboJPEG library and tests instead of sprintf()
2011-03-02 02:17:30 +00:00
DRC
43f33a4d19
Fix compiler warnings in Visual C++
2011-03-02 01:30:38 +00:00
DRC
b02715c1b1
Fix compiler warnings in Visual C++
2011-03-02 01:27:26 +00:00
DRC
ef842c142c
Perform size checks on arrays
2011-03-02 01:09:20 +00:00
DRC
b58789cb91
Use new scaling API
2011-03-01 20:43:47 +00:00
DRC
95dfd2ab45
Make error handling more consistent with other TurboJPEG C code
2011-03-01 20:23:12 +00:00
DRC
581609cebd
Use "bailout" label to be more consistent with other TurboJPEG C code
2011-03-01 20:17:12 +00:00
DRC
e701ed74c0
Use consistent formatting conventions
2011-03-01 20:03:32 +00:00
DRC
ce03e93dfd
Add getScalingFactors() method to libturbojpeg version script
2011-03-01 10:20:23 +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
da6a1f6c76
Don't call jpeg_finish_compress() with YUV output, because it tries to insert an EOI marker right in the middle of our image data.
2011-03-01 08:23:53 +00:00
DRC
407cd22df3
2011-02-28 22:23:37 +00:00
DRC
43577eacf9
Unused variables
2011-02-28 10:51:55 +00:00
DRC
045e8f7f07
Improve performance a bit for the non-SIMD case
2011-02-27 10:51:20 +00:00
DRC
c17c5c8188
Improve performance a bit for the non-SIMD case
2011-02-27 10:26:08 +00:00
DRC
f2cb47a275
Add short names for RGB->grayscale MMX functions
2011-02-27 09:09:54 +00:00
DRC
a8bb67e5a9
Change filename in header
2011-02-27 07:59:38 +00:00
DRC
3c620745a7
Make Visual C++ happy
2011-02-27 00:08:06 +00:00
DRC
3f2ef301c4
Expose libjpeg lossless transform feature in TurboJPEG/OSS
2011-02-26 22:02:37 +00:00
DRC
28db388687
Fix compiler warnings
2011-02-26 21:20:46 +00:00
DRC
a3845bd44b
Enable full GCC compiler warnings by default
2011-02-26 21:12:36 +00:00
DRC
c8ddbca289
"tjScaledSize"="tjGetScaledSize" (again)
2011-02-26 20:15:27 +00:00
DRC
b8530db29f
Remove entry for tjScaledSize()
2011-02-26 20:04:23 +00:00
DRC
cc9133fadf
Include tjGetScaledSize() in version scripts
2011-02-26 19:59:01 +00:00
DRC
02156d7c53
"tjScaledSize"="tjGetScaledSize"
2011-02-26 19:53:58 +00:00
DRC
8b3f7c6ff0
Add RGB --> Grayscale YUV decoding test
2011-02-25 06:21:54 +00:00
DRC
cc8df443e6
2011-02-25 06:17:17 +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
7ce8dfe258
Oops. Committed some debugging code
2011-02-25 02:12:11 +00:00
DRC
3405865cd2
Replace the TJ_YUV flag with two new API functions
2011-02-25 02:08:23 +00:00
DRC
18f4b35de5
Tiling doesn't work with YUV encoding either
2011-02-25 00:26:07 +00:00
DRC
1630b15a0e
Fix various CR/LF issues
2011-02-25 00:25:31 +00:00
DRC
4dc725069a
Use a proper version script for libturbojpeg
2011-02-25 00:23:44 +00:00
DRC
2a07591e9b
Add line feed
2011-02-23 20:57:17 +00:00
DRC
6ce4882e2a
Numerous enhancements, including using the new BufferedImage support to read/write non-JPEG files
2011-02-23 20:51:54 +00:00
DRC
4e08a1d3bc
Check for invalid subsampling factor
2011-02-23 20:51:23 +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
8bde192230
Oops. dumpbuf() was displaying only red components.
2011-02-23 01:40:22 +00:00
DRC
e005c1f751
Test all YUV decode paths
2011-02-22 19:59:05 +00:00
DRC
e7c15f3e41
2011-02-22 10:28:18 +00:00
DRC
1a9a4d13c7
Streamline Java wrapper
2011-02-22 10:27:31 +00:00
DRC
892b81cb44
Add new functions to anonymous version script
2011-02-22 06:44:50 +00:00
DRC
38218222cd
Make the scaling API a bit more friendly
2011-02-22 06:41:29 +00:00
DRC
05c1af2f57
"TurboJPEG/OSS"="TurboJPEG", since the TurboJPEG header is used with other codecs besides libjpeg-turbo
2011-02-22 00:36:04 +00:00
DRC
9eecea2a8e
Add TJBUFSIZEYUV() convenience function
2011-02-22 00:16:14 +00:00
DRC
2c31f2b499
RGBA=RGBX, BGRA=BGRX, ABGR=XBGR, ARGB=XRGB
2011-02-19 18:10:05 +00:00
DRC
86eefe66a6
Implement "ultra quiet mode" for generating output that is easy to copy/paste into a spreadsheet
2011-02-19 18:06:09 +00:00
DRC
964a22d663
Wordsmithing
2011-02-19 17:57:08 +00:00
DRC
b457b5d42e
Include jpgtest in Unix/Linux distribution packages
2011-02-19 17:52:45 +00:00
DRC
400d484c41
Include libjpeg run-time programs and jpgtest in installer; Move documentation in SDK distribution packages into doc\ subdirectory
2011-02-19 17:50:23 +00:00
DRC
47ae9a3e0f
Disable CXX compiler check
2011-02-19 17:48:26 +00:00
DRC
22f9ca067c
Wordsmithed the project description
2011-02-18 22:47:32 +00:00
DRC
85712cb267
Distribute high-quality and grayscale test images
2011-02-18 22:46:05 +00:00
DRC
055ddf28b4
The API/ABI should be described as "libjpeg v8", not "libjpeg v8b", since there are multiple libjpeg releases with the same interface
2011-02-18 20:55:20 +00:00
DRC
ad02bb6032
Add high-quality JPEG tests to CMake build system
2011-02-18 20:52:57 +00:00
DRC
6262130033
Various doc tweaks
2011-02-18 20:51:10 +00:00
DRC
756095aaf0
The SIMD quantization algorithm does not produce correct results with the fast forward integer DCT and JPEG qualities >= 98, so for now, use the non-SIMD quantization function under those circumstances.
2011-02-18 20:50:08 +00:00
DRC
25299d0d2f
Updated (C)
2011-02-18 20:43:04 +00:00
DRC
439527e0b9
SIMD-accelerated RGB-to-Grayscale color conversion
2011-02-18 11:23:45 +00:00
DRC
a683760d1c
Expose TurboJPEG scaling features in Java wrapper
2011-02-16 03:26:48 +00:00
DRC
f46386f87d
Print scaled image size when performing verbose decompression test
2011-02-16 02:29:07 +00:00
DRC
10e445c341
Fix seg fault
2011-02-16 02:25:40 +00:00
DRC
e4f9ae630d
Test scaled decompression feature in TurboJPEG
2011-02-16 02:08:17 +00:00
DRC
8252677857
Use same naming scheme for output files as v1.1
2011-02-16 01:23:48 +00:00
DRC
452d7857cc
General code cleanup
2011-02-15 21:57:50 +00:00
DRC
b9e093c1a8
General code cleanup
2011-02-15 21:57:26 +00:00
DRC
aa8b75afa8
Added scaling API to TurboJPEG/OSS
2011-02-15 08:31:34 +00:00
DRC
50103b80ca
Ensure that YUV temp buffers get properly freed if a failure occurs
2011-02-15 05:26:28 +00:00
DRC
d850ff7386
Ensure that the exit status of the program indicates failure if one of the pixel value checks fails
2011-02-15 05:19:31 +00:00
DRC
d70d48ea3e
Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler
2011-02-15 04:04:02 +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
4c2c2e7467
New C version of jpgtest needs libm
2011-02-08 02:09:04 +00:00
DRC
1913d03c89
Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler
2011-02-07 08:06:16 +00:00
DRC
023d8b367d
2011-02-06 18:51:24 +00:00
DRC
f0512c5686
JNI expects symbols to either have both an underscore and an @ suffix or to have neither, so since MinGW doesn't add an underscore, we need to disable the suffix as well
2011-02-06 18:48:13 +00:00
DRC
62bb97b9ac
Update (C) message
2011-02-06 16:35:58 +00:00
DRC
2719c40abc
1.1.90
2011-02-06 16:11:41 +00:00
DRC
3bc6dc4305
Add java/ to dist
2011-02-06 15:58:22 +00:00
DRC
be2de6bc98
Propagate --with-jni down to RPM SPEC
2011-02-06 15:51:27 +00:00
DRC
a117c67704
Don't set BUILDJNILIB=1 or default JAVA_CFLAGS unless --with-jni is specified
2011-02-06 15:35:38 +00:00
DRC
74ff1aac8e
Build JNI wrapper on Windows
2011-02-05 06:01:18 +00:00
DRC
345c3eed92
2011-02-05 05:51:46 +00:00
DRC
3bfca02ca0
2011-02-05 05:41:18 +00:00
DRC
a4b6e4cd66
OS X Tiger requires that JNI libraries have the extension .jnilib, so create a sym link to make it happy
2011-02-05 04:41:36 +00:00
DRC
763f26b29a
2011-02-05 04:17:37 +00:00
DRC
4ac54c3cd6
Detect jni.h; Provide mechanism for adding include paths necessary to find it; Set intelligent defaults for Linux/Mac/Solaris
2011-02-04 22:16:41 +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
eaad60012a
1.1.90
2011-02-04 11:07:34 +00:00
DRC
36adfee700
Add JNI wrapper for TurboJPEG/OSS
2011-02-04 11:06:36 +00:00
DRC
b10fb30664
Oops. Committed debugging code
2011-02-02 06:02:38 +00:00
DRC
d83e1f8900
Clarify that the C wrappers fall under the same license as the rest of the SIMD code
2011-02-02 05:38:34 +00:00
DRC
26a69b1a29
Clarify that the C wrappers fall under the same license as the rest of the SIMD code
2011-02-02 05:31:16 +00:00
DRC
5a5af28b7c
Clarify that the C wrappers fall under the same license as the rest of the SIMD code
2011-02-02 05:29:19 +00:00
DRC
1dd9985842
2011-01-28 08:00:40 +00:00
DRC
6ca296de5d
2011-01-28 07:48:41 +00:00
DRC
21b5c4bc4d
The fast integer DCT degrades for qualities > 95, so use the slow integer DCT instead to ensure that perceptually lossless performance is maintained.
2011-01-25 06:52:31 +00:00
DRC
9ca11b80fc
Clarifications
2011-01-06 01:19:43 +00:00
DRC
2e1b59c09d
Eliminate all of the __memalign() mess and just handle the alignment ourselves
2011-01-05 23:35:53 +00:00
DRC
3c7c57b3ad
Ensure temp. buffers for YUV output are 16-byte aligned on 32-bit Windows
2011-01-05 22:33:24 +00:00
DRC
fd7105e1d6
Make arithmetic coding support status messages more clear
2011-01-04 21:40:11 +00:00
DRC
38b8c2f0ef
Further protect against invalid Huffman codes
2011-01-04 08:09:41 +00:00
DRC
6ac57da9cd
Include new tjDecompressHeader2() function
2010-12-14 19:48:38 +00:00
DRC
4d53f88ea5
2010-12-14 01:23:16 +00:00
DRC
4add559463
Added YUV decode functionality to the "decompress only" test
2010-12-14 01:22:00 +00:00
DRC
f0d2577482
Added extended tjDecompressHeader() function which can determine the type of subsampling used in the JPEG image
2010-12-14 01:21:29 +00:00
DRC
55a9cbffe7
Fix various memory corruption issues in the new JPEG->YUV feature
2010-12-11 06:01:11 +00:00
DRC
f54cc16225
If the output width/height are not an even number of MCU's, then use an intermediate buffer to ensure that the output format is XVideo-compatible
2010-12-10 10:58:49 +00:00
DRC
f80fb63847
Provide TJ_YUV option for tjDecompress() as well
2010-12-10 04:59:13 +00:00
DRC
33c17e84f2
Don't require quality argument when encoding to YUV
2010-12-09 10:01:57 +00:00
DRC
979a590374
Merge the TurboJPEG planar YUV encoding feature from VirtualGL 2.2
2010-11-24 04:02:37 +00:00
DRC
c0cfde855c
Hide internal SIMD symbols in libjpeg-turbo shared library
2010-11-23 20:42:48 +00:00
DRC
1f981a0210
Eliminate spurious global symbols
2010-11-23 18:00:46 +00:00
DRC
2e25b45529
Include arithmetic coding test files in dist
2010-11-23 17:13:02 +00:00
DRC
bdb1602e25
Allow arithmetic encoding/decoding to be disabled in CMake build
2010-11-23 17:11:06 +00:00
DRC
fe418b6240
Added configure options to disable arithmetic encoding/decoding
2010-11-23 06:50:14 +00:00
DRC
19e6975e90
Support arithmetic encoding and decoding
2010-11-23 05:49:54 +00:00
DRC
a97cc7c538
2010-11-23 04:46:59 +00:00
DRC
d06a3aec90
2010-11-22 19:51:42 +00:00
DRC
2f1473783f
RGBA=RGBX, etc.
2010-11-18 19:55:29 +00:00
DRC
a6ae163f09
Oops. Still need to explicitly make symlinks in this script, because prefix!=/opt/libjpeg-turbo
2010-11-17 23:14:53 +00:00
DRC
76f402f51b
Create /opt/libjpeg-turbo/lib32 and /opt/libjpeg-turbo/lib64 symlinks when doing 'make install'
2010-11-17 22:44:40 +00:00
DRC
b6d2ffa0c3
Fix invalid use of fpos_t
2010-11-13 05:31:25 +00:00
DRC
b6563b2d50
Document jpgtest decompress-only feature
2010-11-12 10:18:08 +00:00
DRC
024e30659f
Add option to test decompression only + clean up error handling
2010-11-12 10:14:11 +00:00
DRC
cd9000a034
Use version script for jpeg-6b emulation as well
2010-11-07 19:12:30 +00:00
DRC
24fd779ccf
Update header description for grayscale bitmap support
2010-11-04 22:42:18 +00:00
DRC
366f303099
Grayscale bitmap support in TurboJPEG/OSS
2010-11-04 22:39:59 +00:00
DRC
409b94e337
2010-11-04 22:22:30 +00:00
DRC
b4aae95e78
Allow Mac and Solaris packages to be built with v7/v8b emulated libraries
2010-10-21 19:47:06 +00:00
DRC
8705f11462
Emulate the version script in libjpeg v7/v8 shared libraries
2010-10-19 06:38:57 +00:00
DRC
627856c2cf
Accommodate spaces in CMAKE_BINARY_DIR
2010-10-18 09:46:27 +00:00
DRC
257a3bcf05
2010-10-18 08:41:11 +00:00
DRC
117bacff3a
1.0.90 (1.1 beta1)
2010-10-18 08:27:04 +00:00
DRC
d910129db9
Modify OS X universal binary creation process to give the user more control over the 32-bit fork (necessary for building universal binaries with libjpeg v7/v8b emulation, for instance)
2010-10-18 08:24:42 +00:00
DRC
e300354827
MinGW under Cygwin needs CMAKE_SYSTEM_NAME=Windows as well, since technically, we're cross-compiling
2010-10-18 07:56:14 +00:00
DRC
abd867408b
Cygwin is only supported with the autotools build system
2010-10-18 07:23:58 +00:00
DRC
7a4d1f0fdb
Additional information/corrections involving libjpeg v7/v8b emulation
2010-10-18 02:21:10 +00:00
DRC
89c9085fcd
Use built-in cmake compare_files function rather than GNU cmp (which isn't natively available on Windows)
2010-10-18 01:06:36 +00:00
DRC
71cbfe8860
Allow RPMs and SRPMs to be generated with v7/v8b emulation; Add CMake scripts and other missing files to source distribution
2010-10-18 00:15:31 +00:00
DRC
76a6ac5c44
Install headers as well
2010-10-17 07:28:08 +00:00
DRC
1040f1ac81
Windows packaging has been moved to the CMake build system, so remove it from autotools
2010-10-17 06:50:35 +00:00
DRC
4b8c2743fb
Document 'make install'
2010-10-16 22:04:29 +00:00
DRC
2413fda880
Allow installation from the build system (without needing to build an installer)
2010-10-16 21:55:14 +00:00
DRC
d91d48ed83
Eliminate redundant dependency statement; Notify user when SIMD is disabled
2010-10-16 21:27:38 +00:00
DRC
364c050c1a
Additional MinGW recipes
2010-10-16 21:02:54 +00:00
DRC
f228b139fa
Remove old Windows build system
2010-10-16 09:23:36 +00:00
DRC
6a6ac8951c
Document new CMake build system
2010-10-16 09:22:43 +00:00
DRC
deab46b949
Oops. Forgot to check in header templates
2010-10-16 08:52:55 +00:00
DRC
5b8f6495d1
Integrate installer build into CMake build system
2010-10-16 08:51:43 +00:00
DRC
edc8253164
Fix dependencies for the color conversion routines, which build other .asm files indirectly
2010-10-15 20:07:41 +00:00
DRC
8f91c754c8
Print error message if trying to do a native Unix build
2010-10-15 19:11:11 +00:00
DRC
e0b2920fdd
Unix LF
2010-10-15 08:43:32 +00:00
DRC
03c5cacaec
Allow nasm path to be overridden
2010-10-15 08:39:44 +00:00
DRC
d8d4b03bc5
Set version information for DLL's
2010-10-15 06:42:45 +00:00
DRC
ce23b96141
Export the correct symbols from the Windows DLL when built with libjpeg v7 or v8b emulation
2010-10-15 05:33:21 +00:00
DRC
75905554de
Use version suffix on Cygwin DLL as well
2010-10-15 04:58:13 +00:00
DRC
ea84d5dd61
Echo version and build
2010-10-15 04:55:13 +00:00
DRC
bb8322f4c8
First pass at a CMake build system
2010-10-15 03:43:24 +00:00
DRC
a478af780a
Space = Tab
2010-10-13 19:22:50 +00:00
DRC
21e8297c16
Oops. Should be single, not double = sign
2010-10-13 19:22:20 +00:00
DRC
0879ed8eaf
Document the libjpeg v7/v8 extensions
2010-10-12 03:02:31 +00:00
DRC
53c7d3bc82
Mention new v7/v8 extensions
2010-10-12 02:50:18 +00:00
DRC
7e08d60891
Document new v7/v8 features; .doc = .txt
2010-10-12 01:55:31 +00:00
DRC
1dc925aa11
Enable the use of separate luminance/chrominance quality scaling with libjpeg v6b code base as well
2010-10-11 23:36:04 +00:00
DRC
fd644379ed
Add sanity check in BMP reader module to avoid cjpeg crash for empty input
...
image
2010-10-10 07:27:26 +00:00
DRC
a119e8f8d0
Add sanity check in BMP reader module to avoid cjpeg crash for empty input
...
image; Support 32-bit BMPs
2010-10-10 07:25:16 +00:00
DRC
153f54b94f
Add option for setting luminance & chrominance quality independently (currently only works if using libjpeg v7 or v8 code base)
2010-10-10 07:21:55 +00:00
DRC
ddf1f74cc3
Display libjpeg-turbo version/copyrights in run-time programs
2010-10-10 06:54:21 +00:00
DRC
674ea621df
Add -raw option to rdjpgcom for outputting non-printable characters as-is; Make rdjpgcom locale-aware.
2010-10-10 06:04:05 +00:00
DRC
3576a86dfb
Fix byte order issue with 16bit PPM/PGM files
2010-10-10 06:01:00 +00:00
DRC
7a3ae15f7d
Fix transpose feature with jpeg v6b code base
2010-10-10 02:48:21 +00:00
DRC
be1aa6e080
Implement lossless crop feature from jpeg v7 and v8
2010-10-10 02:15:56 +00:00
DRC
8dc66668e6
Fix version numbers for v7/v8 shared libs
2010-10-10 00:40:37 +00:00
DRC
65ee62c698
Improve readability and flexibility of compatibility macros
2010-10-09 19:57:51 +00:00
DRC
ba825db7ad
Remove comments describing DCT scaling feature
2010-10-09 19:24:28 +00:00
DRC
c49c2e80e8
Oops. Forgot to include the new macro header
2010-10-09 19:09:41 +00:00
DRC
74e983609c
Bump revision to 1.1 alpha
2010-10-08 08:07:37 +00:00
DRC
aa25adaaa0
Bump revision to 1.1 alpha
2010-10-08 08:07:10 +00:00
DRC
d0d0f09d40
Added optional emulation of the jpeg-7 or jpeg-8b API/ABI's
2010-10-08 08:05:44 +00:00
DRC
0b1530e1e3
"OS/X" = "OS X"
2010-09-30 18:54:31 +00:00
DRC
b9d65553d7
Use testimgflt.ppm in Windows tests
2010-09-09 22:05:49 +00:00
DRC
1b6f7d3992
Require a full build prior to testing (this fixes a problem whereby running 'make test' on an unbuilt tree would fail)
2010-09-09 21:02:21 +00:00
DRC
30ce53edf9
Include testimgflt.ppm in distribution
2010-09-09 21:00:31 +00:00
DRC
c37c0d1195
Most of the "nosimd" test images no longer exist, so don't try to include them in the distribution
2010-09-09 20:40:35 +00:00
DRC
031227571f
1.0.1
2010-09-09 20:34:10 +00:00
DRC
5e8d78ff40
Remove simd/ prefix from #include (not necessary and was causing problems with Visual Studio project)
2010-09-06 17:37:12 +00:00
DRC
134d29791f
Automatically determine whether INCOMPLETE_TYPES_BROKEN should be defined
2010-08-21 21:14:17 +00:00
DRC
d982f7d040
Clarify licensing
2010-08-11 21:46:46 +00:00
DRC
8737bd492f
Strike that! Reverse it!
2010-08-07 16:27:56 +00:00
DRC
ddef5f56d3
No longer need separate test BMP for non-SIMD unit tests
2010-08-07 16:14:05 +00:00
DRC
09345b6eb4
Fix typo in SIMD dispatch routines which was causing 4:2:0 upsampling to
...
be used instead of 4:2:2 when decompressing JPEG images using SSE2 code
2010-08-07 16:06:56 +00:00
DRC
7dcc736177
Fix build with YASM
2010-08-03 18:45:11 +00:00
DRC
2f85b88bdf
Handle erroneous Huffman codes
2010-07-30 17:15:52 +00:00
DRC
84aba108d6
1.0.1
2010-07-30 15:28:22 +00:00
DRC
843e7306a1
Document NASM version requirement for 64-bit backward compatible build
2010-07-08 07:01:20 +00:00
DRC
1c7414ba64
We're no longer using the RM macro in Makefile.am, so it doesn't need to be substituted anymore
2010-07-08 05:41:47 +00:00
DRC
6e6910e89b
64-bit support doesn't just exist in 10.6.
2010-07-02 09:20:12 +00:00
DRC
3b5b551723
Log only changes to this source tree, not the external build scripts
2010-07-02 09:13:58 +00:00
DRC
7a4df47c41
2010-06-10 19:49:49 +00:00
DRC
faab86eecc
Not all platforms define RM
2010-06-10 19:44:56 +00:00
DRC
80a67be49b
Include non-SIMD test images in distribution
2010-06-10 18:56:27 +00:00
DRC
3f60381c7a
Don't require --without-simd to be specified on non-x86 architectures, and fix 'make test' on such architectures
2010-06-10 18:52:41 +00:00
DRC
6993ea56e9
1.0.0
2010-06-10 04:12:48 +00:00
DRC
7aa7b6dbec
Cygwin distribution package
2010-06-09 20:17:09 +00:00
DRC
3d9b2409ce
Cygwin package build
2010-06-09 20:16:04 +00:00
DRC
82b3873e31
Added bug tracker ID's
2010-06-05 06:58:22 +00:00
DRC
1edebfd17b
Oops
2010-06-05 03:09:17 +00:00
DRC
aaa3706132
Ensure that libdir is set properly during build and install so that the run-time library bindings for the binary programs will be correct
2010-06-05 03:00:36 +00:00
DRC
c840af9323
Remove bin and man directories when uninstalling package
2010-06-05 01:20:35 +00:00
DRC
bf617c729e
Distribute man pages in source tarball
2010-06-05 01:12:35 +00:00
DRC
7387b7409a
2010-06-05 01:03:23 +00:00
DRC
36a5d9d238
Install libjpeg run-time programs and man pages and include in Unix/Linux packages; Create a 32-bit compatibility package for amd64 Debian which has only the 32-bit libraries
2010-06-05 01:02:38 +00:00
DRC
83d312b3f5
Create sym. link from /opt/libjpeg-turbo/lib/64 to /opt/libjpeg-turbo/lib/amd64
2010-06-05 00:35:18 +00:00
DRC
66ecd42c6e
2010-06-05 00:22:32 +00:00
DRC
bb631abf79
Allow arbitrary package name to be specified
2010-06-05 00:02:23 +00:00
DRC
b0a89debf1
Install libjpeg run-time programs and man pages and include in Unix/Linux packages
2010-06-04 23:54:10 +00:00
DRC
e4451444a3
Some Linux platforms require -m32 in the LDFLAGS as well
2010-06-04 23:09:00 +00:00
DRC
e086462c22
Don't need to use sudo when building Solaris PKG or RPM's
2010-05-18 22:21:46 +00:00
DRC
f77287acae
Oops
2010-05-18 19:18:42 +00:00
DRC
85f7af7f92
Create sym links so that headers and static libs can always be found in the same place on Solaris, Linux, and Mac
2010-05-18 19:04:47 +00:00
DRC
fe51f97001
Go ahead and set the version to 1.0.0 so all interim builds will be release candidates
2010-05-18 17:31:32 +00:00
DRC
e480777a66
0.0.94
2010-05-18 05:32:01 +00:00
DRC
daddf82191
64-bit FreeBSD sets host_cpu to "amd64", not "x86_64". Handle that case so that configure will work without explicitly specifying --host.
2010-05-17 20:47:57 +00:00
DRC
6be102a7a4
Some systems (FreeBSD, in particular) don't define the RM macro in automake
2010-05-17 20:42:51 +00:00
DRC
d40bcf1723
Define TJ_411 so that VirtualGL <= 2.1.x and TurboVNC <= 0.6 can be built with the libjpeg-turbo SDK
2010-05-17 16:42:14 +00:00
DRC
8b4725152d
Updated Windows build information
2010-05-17 16:41:12 +00:00
DRC
9582b1cdee
Use new e-mail alias
2010-05-11 00:39:45 +00:00
DRC
7cdba23378
Only disable filesystem redirection in the 64-bit installers
2010-05-10 23:39:22 +00:00
DRC
68f4bb1ad4
Handle cases in which MinGW inexplicably builds the DLL as libjpeg-0.dll instead of libjpeg-62.dll
2010-05-10 22:20:14 +00:00
DRC
5b6447311e
Use "make nsi" instead of "make dist" to be consistent with MinGW build
2010-05-10 22:19:24 +00:00
DRC
0cc699da2a
Create separate packages for Win64 binaries
2010-05-10 22:18:10 +00:00
DRC
2a16fd79cc
2010-05-10 20:03:36 +00:00
DRC
0f7601bf85
xmm6-xmm15 must also be preserved by the callee; Win64 should fully work now
2010-04-23 15:41:34 +00:00
DRC
1d7eaef724
Win64 should fully work now
2010-04-21 17:20:12 +00:00
DRC
ac87162327
Use 64-bit holding buffer on Win64 for increased performance
2010-04-20 21:13:26 +00:00
DRC
7321ba352c
Updated (C)
2010-04-20 20:54:03 +00:00
DRC
c3a5da1def
Not sure why the cjpeg/djpeg image loaders got disabled, but re-enable them
2010-04-20 19:16:06 +00:00
DRC
ec65eee13b
Win64 (mostly) works now
2010-04-20 19:15:09 +00:00
DRC
d8f6cdb23b
Use correct filenames in headers
2010-04-20 18:20:13 +00:00
DRC
199c556b18
0.0.93
2010-04-20 18:12:38 +00:00
DRC
719a2b62ad
Only have to use 32-bit mov for r14, since it is populated from the stack
2010-04-19 18:58:07 +00:00
DRC
fcbd92d31e
Attempt to fix Win64 issues
2010-04-17 21:57:25 +00:00
DRC
20e5edecac
0.0.92
2010-04-13 07:56:24 +00:00
DRC
c2bfb82eb7
Added FreeBSD build instructions
2010-04-10 05:53:35 +00:00
DRC
f3a31100ec
Fix x86-64 build on FreeBSD systems
2010-04-06 20:05:39 +00:00
DRC
fe706f6e28
I'm not sure why, but this was necessary in order to return the 32-bit performance to the 0.0.90 baseline
2010-03-20 22:38:53 +00:00
DRC
0d30199d2b
Clarify license description
2010-03-20 20:00:51 +00:00
DRC
30d3cc5854
Add ChangeLog to repository
2010-03-15 11:40:31 +00:00
DRC
c6838b243e
Fix data corruption issues when decompressing large JPEG images and/or using buffered I/O. Specifically, decode_mcu_fast() can potentially process more than 1 MCU, so make sure there is enough space in the buffer to accommodate this case. Otherwise, the buffer pointer goes negative, and bad mojo ensues. Also, the fast decoder's method of handling unread markers doesn't make libjpeg's restart handler happy, so disable fast decode when restarts are used.
2010-03-15 11:34:58 +00:00
DRC
56e1973681
Include ChangeLog.txt in dist
2010-03-03 09:37:58 +00:00
DRC
efe0be8eeb
Bump version number
2010-03-03 09:36:31 +00:00
DRC
a0609a5e50
Don't allow code path to be forced on a system that doesn't support it
2010-03-03 08:46:29 +00:00
DRC
0298a12bd8
Bleepin' Windows uses LLP64, not LP64
2010-02-26 23:01:19 +00:00
DRC
689114d5ef
Oops. Debian users might like documentation as well.
2010-02-25 20:14:10 +00:00
DRC
bb4cee56c8
Clarify the DLL hell problem
2010-02-25 06:21:12 +00:00
DRC
5c8514046b
Install jpeg62.dll in SDK directory, not Windows system directory. Also, check whether SDK is already installed prior to re-installing
2010-02-25 05:52:44 +00:00
DRC
ea3b2ebdc8
Ensure static libs are built with PIC
2010-02-24 21:27:32 +00:00
DRC
5926e27a45
Visual C++ libraries can't be made to work with MinGW because of the dependency on msvcr90.dll, so build a separate installer for MinGW libraries
2010-02-24 07:24:26 +00:00
DRC
c139c254e6
4.0 is significantly slower than 4.1+
2010-02-24 00:30:00 +00:00
DRC
aebd271f92
Get rid of cjpeg/djpeg-specific #defines
2010-02-23 23:54:28 +00:00
DRC
14b2ea965a
We don't actually need to use GCC 4.0 to do a backward compatible build, and it slows things down relative to GCC 4.2
2010-02-23 23:23:42 +00:00
DRC
bab8a11dd8
Fix Windows package script to accommodate new output directory for VC build
2010-02-23 22:56:05 +00:00
DRC
dafd6e3e76
Fix compiler warning about ending struct with a comma
2010-02-23 21:43:21 +00:00
DRC
e8b4d69f1a
Make sure CFLAGS, CXXFLAGS, LDFLAGS, and host_alias are unset to get a 32-bit build
2010-02-23 20:17:48 +00:00
DRC
659295da13
Oops. Didn't mean to commit the debug statement
2010-02-23 10:39:07 +00:00
DRC
b8c4739843
For some unknown reason, the sym link and the actual file get flipped around whenever you do 'make install'. Make sure the script handles both cases.
2010-02-23 10:22:33 +00:00
DRC
9f90f4835e
Compile properly with C++
2010-02-23 08:12:38 +00:00
DRC
a443f36e44
Oops. Missing test image
2010-02-22 22:57:45 +00:00
DRC
90965c3d7e
Fix 'make dist' since we added new test images
2010-02-22 22:50:13 +00:00
DRC
3ee7a1103f
Added additional documentation for flags
2010-02-22 08:35:19 +00:00
DRC
f72fb65759
Make TJ_FORCE* options work correctly
2010-02-22 08:34:44 +00:00
DRC
852575c603
A bit better solution for 64-bit cleanliness
2010-02-22 06:14:05 +00:00
DRC
3a2d3ad1c5
Clarify Win64 issue
2010-02-22 04:55:23 +00:00
DRC
7e2aebae6b
Use the C library DLL only with jpeg62.dll where it is needed. Build turbojpeg.dll with the static C library to maintain backward compatibility with TurboJPEG/IPP
2010-02-22 04:51:09 +00:00
DRC
04a22b9409
Speed up make testclean
2010-02-22 04:12:06 +00:00
DRC
f626e49ae2
Added note about this being an outdated document
2010-02-21 15:45:00 +00:00
DRC
bd8a138197
Add note about texinfo dependency in NASM build
2010-02-19 21:51:26 +00:00
DRC
5fe77ba686
Remove debug output
2010-02-19 07:01:23 +00:00
DRC
b079982e2c
test depends on jpegut as well
2010-02-19 07:00:30 +00:00
DRC
34e8ec1eef
Unfortunately, we have to use the DLL version of the C library to avoid crashes in cjpeg
2010-02-19 06:59:18 +00:00
DRC
8dcefc5dbd
Oops. DLL object was misnamed and thus wasn't getting removed on 'make clean'
2010-02-19 06:56:53 +00:00
DRC
40b41cfd6a
Improve unit tests
2010-02-19 06:56:03 +00:00
DRC
22659e40da
Improve unit tests
2010-02-19 05:12:39 +00:00
DRC
69ec314fb5
MinGW64 requires that the functions be prefixed with an underscore. Visual C++ apparently doesn't
2010-02-18 13:14:29 +00:00
DRC
b50c3ca33f
First attempt at Win64 support
2010-02-18 13:03:41 +00:00
DRC
b96fd4daa4
dumpbuf() should have void return type
2010-02-18 05:12:58 +00:00
DRC
c3574b2b38
Oops. Leftover bugs from the 64-bit port (cause seg fault when using JDCT_FLOAT or JDCT_IFAST when decompressing)
2010-02-18 04:14:14 +00:00
DRC
e25f0c337c
Exit with non-zero status if an error is encountered
2010-02-18 00:40:17 +00:00
DRC
feca7e5b6f
Sun Studio recipes
2010-02-17 02:25:06 +00:00
DRC
ede97ef4b4
Build Sun packages
2010-02-17 02:24:02 +00:00
DRC
f37c1f3363
Make sure existing .deb file is removed prior to building new one
2010-02-17 01:08:37 +00:00
DRC
4c24ec5383
Replace clunky doexit() mechanism with a better means of error trapping
2010-02-17 01:07:46 +00:00
DRC
def5d225f9
Oops. Need to use %dir to list directories
2010-02-17 00:56:59 +00:00
DRC
3b9219b882
Build libturbojpeg.so using mapfile on Solaris
2010-02-16 22:40:26 +00:00
DRC
00c5bcbd7b
Set default optimization flags to -xO5 if using Sun Studio
2010-02-16 22:35:25 +00:00
DRC
9c5f5a5314
Fix build with Sun Studio
2010-02-16 22:34:12 +00:00
DRC
0d88231511
Install additional documentation
2010-02-16 05:54:00 +00:00
DRC
668d21fe80
Split build instructions into a new file and add SDK usage notes to README-turbo.txt
2010-02-16 05:29:10 +00:00
DRC
af894dd7be
Make sure directories under /opt/libjpeg-turbo get deleted when uninstalling RPM
2010-02-16 05:04:46 +00:00
DRC
27c9e4290d
Build TurboJPEG/OSS with a version script to prevent any non-global symbols from being accessible (this is to protect against potential namespace conflicts when preloading it into an application via VirtualGL.)
2010-02-16 05:03:51 +00:00
DRC
70d9c0bd55
Create Windows installer
2010-02-15 17:10:36 +00:00
DRC
f40efc062f
Keep dllexport symbols out of static lib
2010-02-15 17:07:46 +00:00
DRC
16299d15a8
Add mechanism for building universal (i386/x86-64) binaries on Snow Leopard
2010-02-15 16:14:26 +00:00
DRC
68e57edef5
Use more appropriate temp. directory name
2010-02-15 15:16:58 +00:00
DRC
ff6f4bcf88
Add mechanism for creating Mac packages
2010-02-15 14:57:18 +00:00
DRC
e35e2360e5
Use a cleaner method of arg checking that works with set -u
2010-02-15 13:32:09 +00:00
DRC
cb2dd6c427
Instructions for Tiger-compatible build on Leopard/Snow Leopard
2010-02-15 13:27:17 +00:00
DRC
1798b82a86
Oops. This should have been included with r100
2010-02-15 12:08:46 +00:00
DRC
6b0f9283dd
Add mechanism for creating DEB packages
2010-02-15 12:06:27 +00:00
DRC
79fc8d851e
Actually, we only need to 'make dist-gzip' prior to building the SRPM
2010-02-15 11:36:46 +00:00
DRC
eda68dbd6a
Add mechanism for creating RPMs
2010-02-15 11:32:23 +00:00
DRC
b754ae7260
Should really use $(srcdir) here
2010-02-15 11:10:08 +00:00
DRC
f7f66301b2
Change default prefix to /opt/libjpeg-turbo
2010-02-15 11:08:57 +00:00
DRC
bfa7c1f2ee
Don't need Visual C++ project file
2010-02-15 11:07:33 +00:00
DRC
615df6941d
Change package name & version
2010-02-15 11:05:53 +00:00
DRC
4b24e9833c
Make sure 'make dist' includes everything we want (and nothing we don't)
2010-02-15 11:04:51 +00:00
DRC
1a275c641e
More missing files from jpeg-6b
2010-02-15 10:49:01 +00:00
Thomas G. Lane
41f55c093a
The Independent JPEG Group's JPEG software v6b
2014-09-07 20:00:00 +01:00
Thomas G. Lane
16c97143f3
The Independent JPEG Group's JPEG software v6a
2014-09-07 20:00:00 +01:00
Thomas G. Lane
0baf670330
The Independent JPEG Group's JPEG software v6
2014-09-07 20:00:00 +01:00
Thomas G. Lane
357eba2331
The Independent JPEG Group's JPEG software v5b
2014-09-07 20:00:00 +01:00
Thomas G. Lane
54656d1d59
The Independent JPEG Group's JPEG software v5a
2014-09-07 20:00:00 +01:00
Thomas G. Lane
c5414ae082
The Independent JPEG Group's JPEG software v5
2014-09-07 20:00:00 +01:00
Thomas G. Lane
24b8211e9f
The Independent JPEG Group's JPEG software v4a
2014-09-07 20:00:00 +01:00
Thomas G. Lane
f14f1a0dc3
The Independent JPEG Group's JPEG software v4
2014-09-07 20:00:00 +01:00
Thomas G. Lane
9821061877
The Independent JPEG Group's JPEG software v3
2014-09-07 20:00:00 +01:00
Thomas G. Lane
98f16a9b4d
The Independent JPEG Group's JPEG software v2
2014-09-07 20:00:00 +01:00
Thomas G. Lane
7a9a82bf06
The Independent JPEG Group's JPEG software v1
2014-09-07 20:00:00 +01:00
DRC
db1a243631
Reflect the fact that CFLAGS=CXXFLAGS=-O3 by default
2010-02-14 08:02:55 +00:00
DRC
55e8d83a10
Set CFLAGS=CXXFLAGS=-O3 if using GCC and the flags are not already set
2010-02-14 07:39:07 +00:00
DRC
5838d99dfe
builddir isn't always defined
2010-02-14 02:15:52 +00:00
DRC
825d07f5d5
License info + updated performance claims
2010-02-13 23:06:03 +00:00
DRC
64462a3578
Enable (i.e. fix) VPATH and out-of-tree builds
2010-02-13 22:55:05 +00:00
DRC
36db4985d5
Instructions for cross compiling MinGW libs on Cygwin
2010-02-12 23:24:21 +00:00
DRC
4240858f53
Build instructions
2010-02-12 22:52:37 +00:00
DRC
ea1c8a3360
MinGW uses autoconf 2.56
2010-02-12 22:22:01 +00:00
DRC
c65c17f5ea
Visual C++ build
2010-02-12 09:37:20 +00:00
DRC
392b89a5a5
Clean up test detritus
2010-02-12 06:27:34 +00:00
DRC
3b1c09417f
Re-add relevant files and tests from libjpeg v6b
2010-02-12 06:01:49 +00:00
DRC
f222c7547c
Restore --without-simd option for testing purposes
2010-02-12 05:37:07 +00:00
DRC
444950fec8
Do not build libturbojpeg as a versioned library
2010-02-12 04:34:41 +00:00
DRC
3ca410784c
Oops. Still need to #define WITH_SIMD
2010-02-12 04:28:29 +00:00
DRC
4c1c7f5a52
Make SIMD build compulsory (otherwise, what's the point?)
2010-02-11 06:57:57 +00:00
DRC
2e069ba879
Build shared libraries by default; Include libturbojpeg in distribution
2010-02-11 06:39:32 +00:00
DRC
c61c02e031
Oops. Use EGREP instead of GREP, because GREP is not available in earlier versions of autotools
2010-02-05 09:19:13 +00:00
DRC
05e874048b
Fix build problems on Solaris 10
2010-01-29 07:14:57 +00:00
DRC
4f2536e187
Enable 64-bit libjpeg/SIMD build on Solaris
2010-01-28 23:57:53 +00:00
DRC
7d3a698e52
Use the correct version to name the shared library, and if the shared library build is enabled, allow the headers to be installed
2010-01-28 22:18:41 +00:00
DRC
49933cde47
Allow building libjpeg.so if --enable-shared is passed to configure (but disable shared library build by default)
2010-01-28 05:34:53 +00:00
Adam Tkac
63c18bbe6c
[Bugfix] Mark stack as non-executable in NASM code.
2010-01-27 10:10:23 +00:00
DRC
1fee9f05fb
Enable 64-bit build on Snow Leopard
2009-10-08 09:41:39 +00:00
DRC
b2c532f62d
Work around alignment issue with OS X linker which was causing problems on Leopard and Snow Leopard
2009-10-08 09:04:56 +00:00
DRC
9a6243c913
Some systems (notably OS X Leopard) have fls() already, so rename ours to avoid conflict
2009-10-01 22:26:14 +00:00
DRC
4d289a4912
Not all platforms define __WORDSIZE
2009-09-28 08:19:40 +00:00
DRC
5b3da6d4e3
Greatly improve performance of Huffman decoding
2009-09-28 00:33:02 +00:00
DRC
95de778c46
Significantly improve grayscale performance
2009-09-24 06:18:25 +00:00
Adam Tkac
f585c78fe6
Merge unified_buildsys branch to trunk (r3892 - r3898)
2009-09-14 13:07:14 +00:00
DRC
164cb4004b
Update (C) notice and fix line feed in usage instructions
2009-09-03 01:35:12 +00:00
Peter Åstrand
cb9c102ddb
Corrected last patch: Use jsimd_none.c instead of jsimd_i386.c on
...
VC/Windows at this point.
2009-08-19 14:20:46 +00:00
Peter Åstrand
0cae220381
Windows build fixes:
...
* Use jsimd_i386.c instead of the attic jsimd.c
* Corrected include of jsimd.h in jsimd_i386.c.
2009-08-19 13:53:48 +00:00
DRC
389975d9ee
Unfortunately, the previous enhancements made an invalid assumption about the code sizes, which caused "DCT out of range" errors in the decoder. Was able to fix 64-bit without losing any performance, but unfortunately had to revert 32-bit back to its previous behavior for now.
2009-08-06 08:58:48 +00:00
DRC
a1a5989d85
Update copyrights to indicate files modified with colorspace extensions
2009-08-06 08:32:00 +00:00
DRC
8311c51c07
Oops. Clean up a couple of remaining 32-bit memory accesses
2009-08-06 07:51:26 +00:00
DRC
2691a24539
Improve compression performance by 15-20%
2009-07-30 08:35:06 +00:00
Pierre Ossman
1bd552079d
Make our Makefile.am a bit easier to convert to a standalone one by
...
indicating which headers are the public ones.
2009-07-10 12:59:14 +00:00
Pierre Ossman
daa07a8ac3
Make sure bmp.h gets distributed.
2009-07-10 12:56:00 +00:00
Pierre Ossman
7a9b1adb5f
Make sure the indirectly used assembly files get packaged.
2009-07-10 12:47:13 +00:00
Pierre Ossman
769c80420b
Make x86_64 SIMD code PIC friendly
...
Use RIP relative addressing as that works in both PIC and non-PIC mode.
2009-06-29 12:58:48 +00:00
Pierre Ossman
6212076d91
Clean up SIMD glue code
...
The SIMD glue code has gotten a bit #ifdef heavy so clean it up by having
one file for each possible SIMD arch. This also allows a simplification of
the x86_64 code as SSE/SSE2 is always known to exist on that arch.
2009-06-29 11:20:42 +00:00
Pierre Ossman
c8eee1dffe
Remove unused variable.
2009-06-26 14:10:33 +00:00
Pierre Ossman
88617301e9
Improve the messages for the SIMD configuration test now that we support
...
more than one arch.
2009-06-26 14:09:47 +00:00
DRC
33d5bcb4f3
Add back in cjpeg and djpeg utilities for testing purposes
2009-06-25 20:41:17 +00:00
DRC
9b74d3f224
64-bit SIMD acceleration
2009-06-25 20:38:31 +00:00
DRC
5cac289deb
Fix dependencies for merged upsampling code
2009-06-25 20:33:51 +00:00
DRC
cf75c6f1be
Test fast upsampling
...
"4:1:1 = 4:2:0"
2009-04-05 21:53:20 +00:00
DRC
b0716b6875
Add colorspace extensions to merged upsampling routines
2009-04-05 21:51:25 +00:00
DRC
adce982c72
Remove unnecessary code
2009-04-05 21:47:40 +00:00
DRC
d8d563f60a
Oops. jcolsamp.inc should be included from j[c|d]clr[mmx|ss2].asm so it received the effect of the redefined RGB_* macros
2009-04-04 15:25:45 +00:00
DRC
9cc9035c67
Oops. jcolsamp.inc needs to be included from j[c|d]clr[mmx|ss2].asm so that it receives the effect of the redefined RGB_* macros
2009-04-04 15:22:14 +00:00
Adam Tkac
af9ce6951a
Don't install test programs, build them only.
2009-04-03 14:54:40 +00:00
Adam Tkac
c689a22bb0
Check if C++ compiler is present.
2009-04-03 14:47:50 +00:00
DRC
65b7cbecf3
Include low-level unit tests borrowed from VirtualGL
2009-04-03 12:04:24 +00:00
DRC
f7e0f6d5f5
Implement new colorspaces to allow directly compressing from/decompressing to RGB/RGBX/BGR/BGRX/XBGR/XRGB without conversion
2009-04-03 12:00:51 +00:00
DRC
6b7eeb745c
Add environment variables to force MMX/SSE2 code path selection
2009-04-03 11:27:17 +00:00
DRC
3901fbb143
Fix build for RGB_PIXELSIZE==4
2009-04-01 20:02:14 +00:00
DRC
bf9f8d041b
Eliminate backward incompatibility that required empty_output_buffer() to handle cases in which the buffer wasn't 100% full
2009-03-16 23:58:30 +00:00
Pierre Ossman
a63544a357
Work around subdirectory bug in older automake.
...
Older versions of automake doesn't properly support no-recursive make.
Reimplement the build system by having a local Makefile.am in the
simd/ directory.
2009-03-16 13:34:18 +00:00
DRC
98d1d692b5
Fix broken buffered I/O (to make cjpeg work)
2009-03-14 01:21:13 +00:00
Adam Tkac
de4b417a81
Make source compilable via GNU autotools which are part of RHEL 5.
2009-03-13 13:58:44 +00:00
Adam Tkac
de0008d00e
Revert r3657 (import of autogenerated) files.
2009-03-13 13:44:18 +00:00
Pierre Ossman
89e518a098
Add new simd files to Visual Studio project file.
2009-03-13 12:24:28 +00:00
Pierre Ossman
59641bb95f
Move variable init around a bit to please crappy compilers.
2009-03-13 12:17:26 +00:00
Pierre Ossman
a06a8bc928
Don't mix LOCAL() and qualifiers.
2009-03-13 12:16:51 +00:00
DRC
0a22f153ea
Include Huffman codec optimizations borrowed from TurboJPEG
2009-03-12 17:24:27 +00:00
Adam Tkac
4a7a6cc081
Import autogenerated files for unix/ and common/ subdirs to make source
...
compilable without GNU autotools.
2009-03-11 11:14:37 +00:00
Pierre Ossman
093fe3bb51
Add SSE2 SIMD implementation of computationally intensive routines.
2009-03-09 13:34:17 +00:00
Pierre Ossman
205cdc87d4
Add SSE SIMD implementation of computationally intensive routines.
2009-03-09 13:31:56 +00:00
Pierre Ossman
a5cccc9dbf
Most SIMD implementations need 16 byte alignment
2009-03-09 13:30:47 +00:00
Pierre Ossman
c7de3b4d83
Make sure the work space memory is properly aligned
...
We use the heap allocators to avoid having more than one implementation
of the alignment logic.
2009-03-09 13:29:37 +00:00
Pierre Ossman
9a4a8bb721
Add 3DNow SIMD implementation of computationally intensive routines.
2009-03-09 13:28:10 +00:00
Pierre Ossman
649fe159ce
Add MMX SIMD implementation of computationally intensive routines.
2009-03-09 13:25:30 +00:00
Pierre Ossman
e1594812ac
"Optimise" quantization step by replacing the division by a multiplication.
...
This has no measurable difference right now but makes it possible to do
SIMD implementations of this stage.
2009-03-09 13:23:04 +00:00
Pierre Ossman
863946aebd
Implement x86 SIMD framework
...
Add NASM support and stub routine for detecting SIMD extensions.
2009-03-09 13:21:27 +00:00
Pierre Ossman
c5cf41164a
Framework for supporting SIMD acceleration
...
Designed to impose minimal changes on the "normal" code.
2009-03-09 13:15:56 +00:00
Pierre Ossman
a4f55b50c9
Split up the forward DCT routine into three stages
...
Divide it into sample conversion, DCT and quantization in order to
easily provide alternative implementations of each stage.
2009-03-09 10:37:20 +00:00
Pierre Ossman
d7bacc0721
Improve memory allocater alignment handling
...
Fix some broken assumptions and allow any alignment, not just those
associated with C types.
2009-03-09 10:34:53 +00:00
Pierre Ossman
f1962bc0ce
Explain the config header voodoo.
2009-03-06 15:30:42 +00:00
Pierre Ossman
8622727c09
Don't test for GNU malloc as we don't need it (or even check the result
...
of the test).
2009-03-06 15:00:56 +00:00
Peter Åstrand
ebd6166488
Renamed README_TightVNC.txt as README_TigerVNC.txt
2009-03-03 12:04:47 +00:00
Peter Åstrand
f83b43b7c9
Rebrand the source as TigerVNC. It is my hope that this patch is
...
minimal but still complete. The rebranding was done using a script:
find trunk -name .svn -prune -o -type f -exec rep.sh \{\} \;
pushd trunk
svn revert doc/TODO doc/registered-codes.txt doc/ft-protocol-problems.txt doc/rfbtight.tex
perl -pi -e 's|tightvnc|tigervnc|g' unix/configure.ac win/configure.ac unix/README
With rep.sh looking like:
perl -pi -e 's|TightVNC|TigerVNC|g' "$@"
perl -pi -e 's|www\.tightvnc\.com/bugs\.html|www\.tigervnc\.org|g' "$@"
perl -pi -e 's|www\.tightvnc\.com|www\.tigervnc\.org|g' "$@"
perl -pi -e 's|devteam\@tightvnc\.com|tigervnc-devel\@lists\.sourceforge\.net|g' "$@"
perl -pi -e 's|TigerVNC Team|TightVNC Team|g' "$@"
perl -pi -e 's|TigerVNC Group|TightVNC Group|g' "$@"
perl -pi -e 's|TigerVNC protocol|TightVNC protocol|g' "$@"
perl -pi -e 's|TigerVNC-specific|TightVNC-specific|g' "$@"
perl -pi -e 's|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TigerVNC|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TightVNC|g' "$@"
perl -pi -e 's|TigerVNC vendor|TightVNC vendor|g' "$@"
perl -pi -e 's|TigerVNC extension|TightVNC extension|g' "$@"
perl -pi -e 's|protocolTigerVNC|protocolTightVNC|g' "$@"
perl -pi -e 's|TigerVNC additions were|TightVNC additions were|g' "$@"
perl -pi -e 's|TigerVNC 1\.2|TightVNC 1\.2|g' "$@"
perl -pi -e 's|TigerVNC authentication type|TightVNC authentication type|g' "$@"
2009-02-27 10:12:14 +00:00
Peter Åstrand
e2796477e6
This should be the final modification to restore a working Visual
...
Studio build. A static jconfig.h has been re-added, but in a separate
directory, to avoid clash with jconfig.h generated by configure
script. Also, jconfig.h now includes the inline macro. jpeg.dsp has
been modified to search in the "win" subdir, to find jconfig.h.
This patch is in spirit similar to r121.
2008-12-02 09:56:26 +00:00
Adam Tkac
c653640b0d
[Bugfix] Include man files and more jpeg libraries in tarball
2008-10-22 11:19:25 +00:00
Adam Tkac
2d830a0e0c
Add headers to Makefile.am-s to fix "make dist" command in common/* subtree
2008-06-18 15:29:19 +00:00
Adam Tkac
6687665312
- introduced common/jpeg/jconfig.h.in - minimal jconfig.h template
2008-04-14 13:11:58 +00:00
Adam Tkac
d88cc24540
- introduced common/jpeg/{configure.ac,Makefile.am}
...
- removed autogenerated stuff (jconfig.h, configure, config.guess, config.sub, jconfig.h, install-sh)
- minor macros changes in jchuff.c, jcphuff.c, jmorecfg.h (same with configure produced macros)
2008-04-03 13:29:28 +00:00
Constantin Kaplinsky
3347727ebb
Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow.
2006-05-25 05:01:55 +00:00