Go to file
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
2014-09-07 16:59:11 +01:00
2014-09-07 16:50:54 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-02-27 15:26:48 -06:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:51:55 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:50:54 +01:00
2014-09-07 16:59:11 +01:00
2014-05-18 17:52:06 +00:00
2014-07-23 10:26:46 -04:00
2014-07-24 10:50:59 -04:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-03-13 10:18:12 -05:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-05-29 19:31:45 +00:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-03-14 08:59:27 +00:00
2014-09-07 16:59:11 +01:00
2014-09-07 16:59:11 +01:00
2014-06-26 12:45:03 -04:00

Mozilla JPEG Encoder Project

This project's goal is to reduce the size of JPEG files without reducing quality or compatibility with the vast majority of the world's deployed decoders.

The idea is to reduce transfer times for JPEGs on the Web, thus reducing page load times.

'mozjpeg' is not intended to be a general JPEG library replacement. It makes tradeoffs that are intended to benefit Web use cases and focuses solely on improving encoding. It is best used as part of a Web encoding workflow. For a general JPEG library (e.g. your system libjpeg), especially if you care about decoding, we recommend libjpeg-turbo.

For more information, see the project announcement:

https://blog.mozilla.org/research/2014/03/05/introducing-the-mozjpeg-project/

Languages
C 54.6%
Assembly 26.7%
HTML 8.9%
Java 4.4%
CMake 2.4%
Other 2.9%