aboutsummaryrefslogtreecommitdiff
path: root/libjpeg.txt
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-15 20:30:16 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-15 20:30:16 +0000
commit2af0178c4650df2f2b6dd8186ac84de275c0bf5c (patch)
treee420c86d7dd82969041e08a958be85456b75f9e8 /libjpeg.txt
parentb393201f0ec0370a6690a003d0869a7dee7e9c63 (diff)
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://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1307 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'libjpeg.txt')
-rw-r--r--libjpeg.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/libjpeg.txt b/libjpeg.txt
index 5f203d6..73c5e1d 100644
--- a/libjpeg.txt
+++ b/libjpeg.txt
@@ -2949,11 +2949,7 @@ The sample applications cjpeg and djpeg can support 12-bit mode only for PPM
and GIF file formats; you must disable the other file formats to compile a
12-bit cjpeg or djpeg. (install.txt has more information about that.)
At present, a 12-bit library can handle *only* 12-bit images, not both
-precisions. (If you need to include both 8- and 12-bit libraries in a single
-application, you could probably do it by defining NEED_SHORT_EXTERNAL_NAMES
-for just one of the copies. You'd have to access the 8-bit and 12-bit copies
-from separate application source files. This is untested ... if you try it,
-we'd like to hear whether it works!)
+precisions.
Note that a 12-bit library always compresses in Huffman optimization mode,
in order to generate valid Huffman tables. This is necessary because our
@@ -3035,10 +3031,6 @@ heavily dependent on stdio.) malloc and free are called only from the memory
manager "back end" module, so you can use a different memory allocator by
replacing that one file.
-The code generally assumes that C names must be unique in the first 15
-characters. However, global function names can be made unique in the
-first 6 characters by defining NEED_SHORT_EXTERNAL_NAMES.
-
More info about porting the code may be gleaned by reading jconfig.txt,
jmorecfg.h, and jinclude.h.