summaryrefslogtreecommitdiffstats
path: root/common/jpeg
Commit message (Collapse)AuthorAgeFilesLines
* 0.0.92DRC2010-04-131-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4021 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix amd64 build on FreeBSDDRC2010-04-131-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4020 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use libjpeg-turbo version marker to indicate which version this directory is ↵DRC2010-03-211-1/+1
| | | | | | synchronized with git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4013 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix data corruption issues when decompressing large JPEG images and/or using ↵DRC2010-03-211-1/+6
| | | | | | 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. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4012 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't allow code path to be forced on a system that doesn't support itDRC2010-03-031-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4000 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Merge other changes from libjpeg-turbo 0.0.90DRC2010-02-263-52/+37
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3999 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make TJ_FORCE* work properlyDRC2010-02-263-8/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3998 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Expletive deleted] Windows is LLP64, not LP64DRC2010-02-2610-27/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3997 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Exit with non-zero status if any error was encounteredDRC2010-02-221-14/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3996 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Not that it matters at the moment, but Win64 can address up to 64 processorsDRC2010-02-221-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3995 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This should make the codec work on Win64 (but doesn't for unknown reasons)DRC2010-02-2212-23/+81
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3994 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix data type so that it is compatible with Win64 as well.Pierre Ossman2010-02-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3992 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The SIMD routines need some work before they will work on Win64, so disablePierre Ossman2010-02-181-2/+11
| | | | | | | them there for now. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3991 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Configure nasm properly for Win64.Pierre Ossman2010-02-181-1/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3990 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Leftover bugs from the 64-bit port (cause seg fault when using ↵DRC2010-02-183-3/+3
| | | | | | JDCT_FLOAT or JDCT_IFAST when decompressing) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3989 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set default optimization to -xO5 when using Sun StudioDRC2010-02-161-0/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3988 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build on Sun StudioDRC2010-02-162-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3987 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set CFLAGS=CXXFLAGS=-O3 if the flags are not otherwise specified (this ↵DRC2010-02-141-0/+11
| | | | | | benefits jchuff.c and jdhuff.c) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3986 3789f03b-4d11-0410-bbf8-ca57d06f2519
* turbojpeg.h isn't part of the libjpeg.a sourceDRC2010-02-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3985 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix VPATH and out-of-tree buildsDRC2010-02-142-7/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* It works on 2.56 as wellDRC2010-02-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3983 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Back out r3958 and r3959. They aren't needed anymore, because the ↵DRC2010-02-052-13/+0
| | | | | | libjpeg-turbo SourceForge project is online, and they broke libvnc.so git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3964 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Use EGREP instead of GREP, because GREP is not available in earlier ↵DRC2010-02-051-1/+1
| | | | | | versions of autotools git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3962 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build problems on Solaris 10DRC2010-01-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3961 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable 64-bit libjpeg/SIMD build on SolarisDRC2010-01-281-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3960 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the correct version to name the shared library, and if the shared ↵DRC2010-01-281-2/+3
| | | | | | library build is enabled, allow the headers to be installed git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3959 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow building libjpeg.so if --enable-shared is passed to configure (but ↵DRC2010-01-282-0/+12
| | | | | | disable shared library build by default) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3958 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Mark stack as non-executable in NASM code.Adam Tkac2010-01-271-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3956 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Enable 64-bit build on Snow LeopardDRC2009-10-083-3/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3911 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Work around alignment issue with OS X linker which was causing problems on ↵DRC2009-10-0845-0/+148
| | | | | | Leopard and Snow Leopard git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3910 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some systems (notably OS X Leopard) have fls() already, so rename ours to ↵DRC2009-10-011-2/+2
| | | | | | avoid conflict git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3903 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Not all platforms define __WORDSIZEDRC2009-09-281-2/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3902 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Greatly improve performance of Huffman decodingDRC2009-09-282-99/+269
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3901 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improve grayscale performanceDRC2009-09-242-14/+95
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3900 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix tarball generation via `make dist`.Adam Tkac2009-09-071-10/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3898 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update (C) notice and fix line feed in usage instructionsDRC2009-09-031-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3888 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Corrected last patch: Use jsimd_none.c instead of jsimd_i386.c onPeter Åstrand2009-08-191-1/+1
| | | | | | | | VC/Windows at this point. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3876 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Windows build fixes: Peter Åstrand2009-08-192-2/+2
| | | | | | | | | | * Use jsimd_i386.c instead of the attic jsimd.c * Corrected include of jsimd.h in jsimd_i386.c. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3875 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Unfortunately, the previous enhancements made an invalid assumption about ↵DRC2009-08-061-16/+9
| | | | | | 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. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3871 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update copyrights to indicate files modified with colorspace extensionsDRC2009-08-067-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3870 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Clean up a couple of remaining 32-bit memory accessesDRC2009-08-062-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3869 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improve compression performance by 15-20%DRC2009-07-301-21/+101
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3868 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make our Makefile.am a bit easier to convert to a standalone one byPierre Ossman2009-07-101-0/+1
| | | | | | | indicating which headers are the public ones. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3867 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure bmp.h gets distributed.Pierre Ossman2009-07-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3866 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the indirectly used assembly files get packaged.Pierre Ossman2009-07-101-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3865 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make x86_64 SIMD code PIC friendlyPierre Ossman2009-06-2911-247/+247
| | | | | | | Use RIP relative addressing as that works in both PIC and non-PIC mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3864 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clean up SIMD glue codePierre Ossman2009-06-297-321/+1033
| | | | | | | | | 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. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3862 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused variable.Pierre Ossman2009-06-261-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3861 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improve the messages for the SIMD configuration test now that we supportPierre Ossman2009-06-261-3/+3
| | | | | | | more than one arch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3860 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add back in cjpeg and djpeg utilities for testing purposesDRC2009-06-2516-1/+5118
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3859 3789f03b-4d11-0410-bbf8-ca57d06f2519