aboutsummaryrefslogtreecommitdiffstats
path: root/common/jpeg
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 64-bit SIMD accelerationDRC2009-06-2524-4/+7272
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3858 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix dependencies for merged upsampling codeDRC2009-06-251-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3857 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Test fast upsamplingDRC2009-04-054-10/+23
| | | | | | | "4:1:1 = 4:2:0" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3757 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add colorspace extensions to merged upsampling routinesDRC2009-04-057-993/+1353
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3756 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unnecessary codeDRC2009-04-051-6/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. jcolsamp.inc should be included from j[c|d]clr[mmx|ss2].asm so it ↵DRC2009-04-044-2/+4
| | | | | | received the effect of the redefined RGB_* macros git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. jcolsamp.inc needs to be included from j[c|d]clr[mmx|ss2].asm so that ↵DRC2009-04-044-2/+4
| | | | | | it receives the effect of the redefined RGB_* macros git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3752 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't install test programs, build them only.Adam Tkac2009-04-031-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3751 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Check if C++ compiler is present.Adam Tkac2009-04-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3750 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include low-level unit tests borrowed from VirtualGLDRC2009-04-039-1/+1972
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3745 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement new colorspaces to allow directly compressing from/decompressing ↵DRC2009-04-0319-1889/+2486
| | | | | | to RGB/RGBX/BGR/BGRX/XBGR/XRGB without conversion git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3744 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add environment variables to force MMX/SSE2 code path selectionDRC2009-04-031-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3743 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build for RGB_PIXELSIZE==4DRC2009-04-011-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3734 3789f03b-4d11-0410-bbf8-ca57d06f2519
* iEliminate backward incompatibility which required empty_output_buffer() to ↵DRC2009-03-162-21/+46
| | | | | | handle cases in which the buffer wasn't 100% full git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3680 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Work around subdirectory bug in older automake.Pierre Ossman2009-03-1636-83/+88
| | | | | | | | | 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. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3679 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix broken buffered I/O (to make cjpeg work)DRC2009-03-142-9/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3678 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make source compilable via GNU autotools which are part of RHEL 5.Adam Tkac2009-03-131-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3676 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert r3657 (import of autogenerated) files.Adam Tkac2009-03-1310-38639/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add new simd files to Visual Studio project file.Pierre Ossman2009-03-131-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3671 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move variable init around a bit to please crappy compilers.Pierre Ossman2009-03-131-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3670 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't mix LOCAL() and qualifiers.Pierre Ossman2009-03-131-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3669 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include Huffman codec optimizations borrowed from TurboJPEGDRC2009-03-121-109/+147
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3664 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Import autogenerated files for unix/ and common/ subdirs to make sourceAdam Tkac2009-03-1110-0/+38639
| | | | | | | | compilable without GNU autotools. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add SSE2 SIMD implementation of computationally intensive routines.Pierre Ossman2009-03-0920-22/+6897
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3653 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add SSE SIMD implementation of computationally intensive routines.Pierre Ossman2009-03-0910-5/+1223
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3652 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Most SIMD implementations need 16 byte alignmentPierre Ossman2009-03-091-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3651 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the work space memory is properly alignedPierre Ossman2009-03-092-3/+33
| | | | | | | | We use the heap allocators to avoid having more than one implementation of the alignment logic. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3650 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add 3DNow SIMD implementation of computationally intensive routines.Pierre Ossman2009-03-099-1/+1114
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3649 3789f03b-4d11-0410-bbf8-ca57d06f2519