Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit e97f161

Browse files
committed
Merge commit 'v8d'
2 parents b3611af + c30ae10 commit e97f161

76 files changed

Lines changed: 8544 additions & 5320 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile.am

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
3838
makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
3939
makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
4040
maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
41-
makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
42-
makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
43-
makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
44-
makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
45-
makefile.vms makvms.opt
41+
makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.v10 \
42+
makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 makecfil.v10 \
43+
makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 makervcx.v10 \
44+
makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac makcjpeg.st \
45+
makdjpeg.st makljpeg.st maktjpeg.st makefile.manx makefile.sas \
46+
makefile.mms makefile.vms makvms.opt
4647

4748
# Configuration files
4849
CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
@@ -118,7 +119,7 @@ uninstall-local:
118119
# Run tests
119120
test: check-local
120121
check-local:
121-
$(RM) testout*
122+
rm -f testout*
122123
./djpeg -dct int -ppm -outfile testout.ppm $(srcdir)/testorig.jpg
123124
./djpeg -dct int -bmp -colors 256 -outfile testout.bmp $(srcdir)/testorig.jpg
124125
./cjpeg -dct int -outfile testout.jpg $(srcdir)/testimg.ppm

Makefile.in

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Makefile.in generated by automake 1.11.1 from Makefile.am.
1+
# Makefile.in generated by automake 1.11.2 from Makefile.am.
22
# @configure_input@
33

44
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5-
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6-
# Inc.
5+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6+
# Foundation, Inc.
77
# This Makefile.in is free software; the Free Software Foundation
88
# gives unlimited permission to copy and/or distribute it,
99
# with or without modifications, as long as this notice is preserved.
@@ -83,6 +83,12 @@ am__nobase_list = $(am__nobase_strip_setup); \
8383
am__base_list = \
8484
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
8585
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
86+
am__uninstall_files_from_dir = { \
87+
test -z "$$files" \
88+
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
89+
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
90+
$(am__cd) "$$dir" && rm -f $$files; }; \
91+
}
8692
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
8793
"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)"
8894
LTLIBRARIES = $(lib_LTLIBRARIES)
@@ -205,6 +211,7 @@ LN_S = @LN_S@
205211
LTLIBOBJS = @LTLIBOBJS@
206212
MAINT = @MAINT@
207213
MAKEINFO = @MAKEINFO@
214+
MANIFEST_TOOL = @MANIFEST_TOOL@
208215
MEMORYMGR = @MEMORYMGR@
209216
MKDIR_P = @MKDIR_P@
210217
NM = @NM@
@@ -232,6 +239,7 @@ abs_builddir = @abs_builddir@
232239
abs_srcdir = @abs_srcdir@
233240
abs_top_builddir = @abs_top_builddir@
234241
abs_top_srcdir = @abs_top_srcdir@
242+
ac_ct_AR = @ac_ct_AR@
235243
ac_ct_CC = @ac_ct_CC@
236244
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
237245
am__include = @am__include@
@@ -264,7 +272,6 @@ libdir = @libdir@
264272
libexecdir = @libexecdir@
265273
localedir = @localedir@
266274
localstatedir = @localstatedir@
267-
lt_ECHO = @lt_ECHO@
268275
mandir = @mandir@
269276
mkdir_p = @mkdir_p@
270277
oldincludedir = @oldincludedir@
@@ -321,11 +328,12 @@ MKFILES = configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
321328
makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
322329
makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
323330
maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
324-
makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
325-
makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
326-
makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
327-
makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
328-
makefile.vms makvms.opt
331+
makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.v10 \
332+
makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 makecfil.v10 \
333+
makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 makervcx.v10 \
334+
makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac makcjpeg.st \
335+
makdjpeg.st makljpeg.st maktjpeg.st makefile.manx makefile.sas \
336+
makefile.mms makefile.vms makvms.opt
329337

330338

331339
# Configuration files
@@ -394,7 +402,7 @@ all: jconfig.h
394402

395403
.SUFFIXES:
396404
.SUFFIXES: .c .lo .o .obj
397-
am--refresh:
405+
am--refresh: Makefile
398406
@:
399407
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
400408
@for dep in $?; do \
@@ -430,10 +438,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
430438
$(am__aclocal_m4_deps):
431439

432440
jconfig.h: stamp-h1
433-
@if test ! -f $@; then \
434-
rm -f stamp-h1; \
435-
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
436-
else :; fi
441+
@if test ! -f $@; then rm -f stamp-h1; else :; fi
442+
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
437443

438444
stamp-h1: $(srcdir)/jconfig.cfg $(top_builddir)/config.status
439445
@rm -f stamp-h1
@@ -621,26 +627,23 @@ mostlyclean-kr:
621627
.c.o:
622628
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
623629
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
624-
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
625-
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
630+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
626631
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
627-
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
632+
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
628633

629634
.c.obj:
630635
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
631636
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
632-
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
633-
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
637+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
634638
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
635-
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
639+
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
636640

637641
.c.lo:
638642
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
639643
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
640-
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
641-
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
644+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
642645
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
643-
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
646+
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
644647
@MEMORYMGR@_.c: @MEMORYMGR@.c $(ANSI2KNR)
645648
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/@MEMORYMGR@.c; then echo $(srcdir)/@MEMORYMGR@.c; else echo @MEMORYMGR@.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
646649
cdjpeg_.c: cdjpeg.c $(ANSI2KNR)
@@ -848,9 +851,7 @@ uninstall-man1:
848851
sed -n '/\.1[a-z]*$$/p'; \
849852
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
850853
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
851-
test -z "$$files" || { \
852-
echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
853-
cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
854+
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
854855
install-includeHEADERS: $(include_HEADERS)
855856
@$(NORMAL_INSTALL)
856857
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
@@ -868,9 +869,7 @@ uninstall-includeHEADERS:
868869
@$(NORMAL_UNINSTALL)
869870
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
870871
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
871-
test -n "$$files" || exit 0; \
872-
echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
873-
cd "$(DESTDIR)$(includedir)" && rm -f $$files
872+
dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
874873

875874
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
876875
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -944,10 +943,15 @@ install-am: all-am
944943

945944
installcheck: installcheck-am
946945
install-strip:
947-
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
948-
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
949-
`test -z '$(STRIP)' || \
950-
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
946+
if test -z '$(STRIP)'; then \
947+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
948+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
949+
install; \
950+
else \
951+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
952+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
953+
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
954+
fi
951955
mostlyclean-generic:
952956

953957
clean-generic:
@@ -1071,7 +1075,7 @@ uninstall-local:
10711075
# Run tests
10721076
test: check-local
10731077
check-local:
1074-
$(RM) testout*
1078+
rm -f testout*
10751079
./djpeg -dct int -ppm -outfile testout.ppm $(srcdir)/testorig.jpg
10761080
./djpeg -dct int -bmp -colors 256 -outfile testout.bmp $(srcdir)/testorig.jpg
10771081
./cjpeg -dct int -outfile testout.jpg $(srcdir)/testimg.ppm

README

Lines changed: 43 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The Independent JPEG Group's JPEG software
22
==========================================
33

4-
README for release 8a of 28-Feb-2010
4+
README for release 8d of 15-Jan-2012
55
====================================
66

77
This distribution contains the eighth public release of the Independent JPEG
@@ -13,7 +13,8 @@ Bill Allombert, Jim Boucher, Lee Crocker, Bob Friesenhahn, Ben Jackson,
1313
Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi, Ge' Weijers,
1414
and other members of the Independent JPEG Group.
1515

16-
IJG is not affiliated with the official ISO JPEG standards committee.
16+
IJG is not affiliated with the ISO/IEC JTC1/SC29/WG1 standards committee
17+
(also known as JPEG, together with ITU-T SG16).
1718

1819

1920
DOCUMENTATION ROADMAP
@@ -114,7 +115,7 @@ with respect to this software, its quality, accuracy, merchantability, or
114115
fitness for a particular purpose. This software is provided "AS IS", and you,
115116
its user, assume the entire risk as to its quality and accuracy.
116117

117-
This software is copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding.
118+
This software is copyright (C) 1991-2012, Thomas G. Lane, Guido Vollbeding.
118119
All Rights Reserved except as specified below.
119120

120121
Permission is hereby granted to use, copy, modify, and distribute this
@@ -222,9 +223,11 @@ Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
222223
Continuous-tone Still Images, Part 2: Compliance testing" and has document
223224
numbers ISO/IEC IS 10918-2, ITU-T T.83.
224225
IJG JPEG 8 introduces an implementation of the JPEG SmartScale extension
225-
which is specified in a contributed document at ITU and ISO with title "ITU-T
226-
JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced Image Coding", April
227-
2006, Geneva, Switzerland. The latest version of the document is Revision 3.
226+
which is specified in two documents: A contributed document at ITU and ISO
227+
with title "ITU-T JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced
228+
Image Coding", April 2006, Geneva, Switzerland. The latest version of this
229+
document is Revision 3. And a contributed document ISO/IEC JTC1/SC29/WG1 N
230+
5799 with title "Evolution of JPEG", June/July 2011, Berlin, Germany.
228231

229232
The JPEG standard does not specify all details of an interchangeable file
230233
format. For the omitted details we follow the "JFIF" conventions, revision
@@ -254,8 +257,8 @@ ARCHIVE LOCATIONS
254257
The "official" archive site for this software is www.ijg.org.
255258
The most recent released version can always be found there in
256259
directory "files". This particular version will be archived as
257-
http://www.ijg.org/files/jpegsrc.v8a.tar.gz, and in Windows-compatible
258-
"zip" archive format as http://www.ijg.org/files/jpegsr8a.zip.
260+
http://www.ijg.org/files/jpegsrc.v8d.tar.gz, and in Windows-compatible
261+
"zip" archive format as http://www.ijg.org/files/jpegsr8d.zip.
259262

260263
The JPEG FAQ (Frequently Asked Questions) article is a source of some
261264
general information about JPEG.
@@ -281,11 +284,16 @@ ITU JPEG (Study Group 16) meeting in Geneva, Switzerland.
281284
Thank to Thomas Wiegand and Gary Sullivan for inviting me to the
282285
Joint Video Team (MPEG & ITU) meeting in Geneva, Switzerland.
283286

287+
Thank to Thomas Richter and Daniel Lee for inviting me to the
288+
ISO/IEC JTC1/SC29/WG1 (also known as JPEG, together with ITU-T SG16)
289+
meeting in Berlin, Germany.
290+
284291
Thank to John Korejwa and Massimo Ballerini for inviting me to
285292
fruitful consultations in Boston, MA and Milan, Italy.
286293

287294
Thank to Hendrik Elstner, Roland Fassauer, Simone Zuck, Guenther
288-
Maier-Gerber, and Walter Stoeber for corresponding business development.
295+
Maier-Gerber, Walter Stoeber, Fred Schmitz, and Norbert Braunagel
296+
for corresponding business development.
289297

290298
Thank to Nico Zschach and Dirk Stelling of the technical support team
291299
at the Digital Images company in Halle for providing me with extra
@@ -303,17 +311,35 @@ design and development of this singular software package.
303311
FILE FORMAT WARS
304312
================
305313

306-
The ISO JPEG standards committee actually promotes different formats like
307-
"JPEG 2000" or "JPEG XR" which are incompatible with original DCT-based
308-
JPEG and which are based on faulty technologies. IJG therefore does not
309-
and will not support such momentary mistakes (see REFERENCES).
310-
We have little or no sympathy for the promotion of these formats. Indeed,
311-
one of the original reasons for developing this free software was to help
312-
force convergence on common, interoperable format standards for JPEG files.
314+
The ISO/IEC JTC1/SC29/WG1 standards committee (also known as JPEG, together
315+
with ITU-T SG16) currently promotes different formats containing the name
316+
"JPEG" which is misleading because these formats are incompatible with
317+
original DCT-based JPEG and are based on faulty technologies.
318+
IJG therefore does not and will not support such momentary mistakes
319+
(see REFERENCES).
320+
There exist also distributions under the name "OpenJPEG" promoting such
321+
kind of formats which is misleading because they don't support original
322+
JPEG images.
323+
We have no sympathy for the promotion of inferior formats. Indeed, one of
324+
the original reasons for developing this free software was to help force
325+
convergence on common, interoperable format standards for JPEG files.
313326
Don't use an incompatible file format!
314327
(In any case, our decoder will remain capable of reading existing JPEG
315328
image files indefinitely.)
316329

330+
Furthermore, the ISO committee pretends to be "responsible for the popular
331+
JPEG" in their public reports which is not true because they don't respond to
332+
actual requirements for the maintenance of the original JPEG specification.
333+
334+
There are currently distributions in circulation containing the name
335+
"libjpeg" which claim to be a "derivative" or "fork" of the original
336+
libjpeg, but don't have the features and are incompatible with formats
337+
supported by actual IJG libjpeg distributions. Furthermore, they
338+
violate the license conditions as described under LEGAL ISSUES above.
339+
We have no sympathy for the release of misleading and illegal
340+
distributions derived from obsolete code bases.
341+
Don't use an obsolete code base!
342+
317343

318344
TO DO
319345
=====
@@ -322,4 +348,4 @@ Version 8 is the first release of a new generation JPEG standard
322348
to overcome the limitations of the original JPEG specification.
323349
More features are being prepared for coming releases...
324350

325-
Please send bug reports, offers of help, etc. to jpeg-info@uc.ag.
351+
Please send bug reports, offers of help, etc. to jpeg-info@jpegclub.org.

0 commit comments

Comments
 (0)