Commit 951fe296 authored by Ben Boeckel's avatar Ben Boeckel

Merge branch 'upstream-tiff' into libtiff-import

* upstream-tiff:
  tiff 2016-07-11 (fb8cca2c)
parents 1f09d356 3065a031
This diff is collapsed.
Active Libtiff Committers
-------------------------
Frank Warmerdam (fwarmerdam): warmerdam@pobox.com
Andrey Kiselev (dron): dron@ak4719.spb.edu
Bob Friesenhahn (bfriesen): bfriesen@simple.dallas.tx.us
Joris Van Damme (joris): info@awaresystems.be
Lee Howard (faxguy): faxguy@howardsilvan.com
Olivier Paquet (olivier): olivier.paquet@gmail.com
Tom Lane (tgl): tgl@sss.pgh.pa.us
Even Rouault (erouault): even.rouault@spatialys.com
This diff is collapsed.
$Header$
TIFF Software Distribution
--------------------------
This file is just a placeholder; all the documentation is now in
HTML in the html directory. To view the documentation point your
favorite WWW viewer at html/index.html;
e.g.
firefox html/index.html
If you don't have an HTML viewer then you can read the HTML source
or fetch a PostScript version of this documentation from the directory
ftp://ftp.remotesensing.org/pub/libtiff/
If you can't hack either of these options then basically what you
want to do is:
% ./configure
% make
% su
# make install
More information, email contacts, and mailing list information can be
found online at http://www.remotesensing.org/libtiff/.
Use and Copyright
-----------------
Silicon Graphics has seen fit to allow us to give this work away. It
is free. There is no support or guarantee of any sort as to its
operations, correctness, or whatever. If you do anything useful with
all or parts of it you need to honor the copyright notices. I would
also be interested in knowing about it and, hopefully, be acknowledged.
The legal way of saying that is:
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.
Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided
that (i) the above copyright notices and this permission notice appear in
all copies of the software and related documentation, and (ii) the names of
Sam Leffler and Silicon Graphics may not be used in any advertising or
publicity relating to the software without the specific, prior written
permission of Sam Leffler and Silicon Graphics.
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
OF THIS SOFTWARE.
This diff is collapsed.
# CMake build for libtiff
#
# Copyright © 2015 Open Microscopy Environment / University of Dundee
# Written by Roger Leigh <rleigh@codelibre.net>
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
# Generate headers
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tif_config.h.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/tif_config.h
@ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tiffconf.h.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/tiffconf.h
@ONLY)
extra_dist(
SConstruct
tif_config.h-vms
tif_config.vc.h
tif_config.wince.h
tiffconf.vc.h
tiffconf.wince.h
libtiff.def
libtiff.map
libtiffxx.map)
set(tiff_HEADERS
tiff.h
tiffio.h
tiffvers.h
# XXX(kitware): install mangling header
vtk_tiff_mangle.h)
set(tiff_noinst_HEADERS
t4.h
tif_dir.h
tif_predict.h
tiffiop.h
uvcode.h)
set(nodist_tiff_HEADERS
${CMAKE_CURRENT_BINARY_DIR}/tiffconf.h)
set(tiff_SOURCES
tif_aux.c
tif_close.c
tif_codec.c
tif_color.c
tif_compress.c
tif_dir.c
tif_dirinfo.c
tif_dirread.c
tif_dirwrite.c
tif_dumpmode.c
tif_error.c
tif_extension.c
tif_fax3.c
tif_fax3sm.c
tif_flush.c
tif_getimage.c
tif_jbig.c
tif_jpeg.c
tif_jpeg_12.c
tif_luv.c
tif_lzma.c
tif_lzw.c
tif_next.c
tif_ojpeg.c
tif_open.c
tif_packbits.c
tif_pixarlog.c
tif_predict.c
tif_print.c
tif_read.c
tif_strip.c
tif_swab.c
tif_thunder.c
tif_tile.c
tif_version.c
tif_warning.c
tif_write.c
tif_zip.c)
if (BUILD_SHARED_LIBS)
set(tiff_DEFS
libtiff.def)
endif ()
if(WIN32_IO)
extra_dist(tif_unix.c)
list(APPEND tiff_SOURCES tif_win32.c)
add_definitions(-DUSE_WIN32_FILEIO)
else()
extra_dist(tif_win32.c)
list(APPEND tiff_SOURCES tif_unix.c)
endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${TIFF_INCLUDES})
if (FALSE) # XXX(kitware): mangle library name
add_library(tiff ${tiff_SOURCES} ${tiff_HEADERS} ${nodist_tiff_HEADERS}
${tiff_port_SOURCES} ${tiff_DEFS})
target_link_libraries(tiff ${TIFF_LIBRARY_DEPS})
set_target_properties(tiff PROPERTIES SOVERSION ${SO_COMPATVERSION})
endif ()
vtk_add_library(vtktiff ${tiff_SOURCES} ${tiff_HEADERS} ${nodist_tiff_HEADERS}
${tiff_port_SOURCES} ${tiff_DEFS})
target_link_libraries(vtktiff ${TIFF_LIBRARY_DEPS})
set_target_properties(vtktiff PROPERTIES SOVERSION ${SO_COMPATVERSION})
if(NOT CYGWIN)
# This property causes shared libraries on Linux to have the full version
# encoded into their final filename. We disable this on Cygwin because
# it causes cygz-${TIFF_FULL_VERSION}.dll to be created when cygz.dll
# seems to be the default.
if (FALSE) # XXX(kitware): mangle library name
set_target_properties(tiff PROPERTIES VERSION ${SO_VERSION})
endif ()
set_target_properties(vtktiff PROPERTIES VERSION ${SO_VERSION})
endif()
if(HAVE_LD_VERSION_SCRIPT)
if (FALSE) # XXX(kitware): mangle library name
set_target_properties(tiff PROPERTIES LINK_FLAGS
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libtiff.map")
endif ()
set_target_properties(vtktiff PROPERTIES LINK_FLAGS
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libtiff.map")
endif()
if (FALSE) # XXX(kitware): mangle library name
install(TARGETS tiff
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
endif ()
install(TARGETS vtktiff
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
if (NOT_VTK_INSTALL_NO_DEVELOPMENT) # XXX(kitware): install headers when VTK does
install(FILES ${tiff_HEADERS} ${nodist_tiff_HEADERS}
DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
endif ()
# $Id$
# Tag Image File Format (TIFF) Software
#
# Copyright (C) 2005, Andrey Kiselev <dron@ak4719.spb.edu>
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
# This file contains rules to build software with the SCons tool
# (see the http://www.scons.org/ for details on SCons).
# Import globally defined options
Import([ 'env', 'idir_lib' ])
SRCS = [ \
'tif_aux.c', \
'tif_close.c', \
'tif_codec.c', \
'tif_color.c', \
'tif_compress.c', \
'tif_dir.c', \
'tif_dirinfo.c', \
'tif_dirread.c', \
'tif_dirwrite.c', \
'tif_dumpmode.c', \
'tif_error.c', \
'tif_extension.c', \
'tif_fax3.c', \
'tif_fax3sm.c', \
'tif_flush.c', \
'tif_getimage.c', \
'tif_jbig.c', \
'tif_jpeg.c', \
'tif_luv.c', \
'tif_lzw.c', \
'tif_next.c', \
'tif_ojpeg.c', \
'tif_open.c', \
'tif_packbits.c', \
'tif_pixarlog.c', \
'tif_predict.c', \
'tif_print.c', \
'tif_read.c', \
'tif_strip.c', \
'tif_swab.c', \
'tif_thunder.c', \
'tif_tile.c', \
'tif_unix.c', \
'tif_version.c', \
'tif_warning.c', \
'tif_write.c', \
'tif_zip.c' ]
StaticLibrary('tiff', SRCS)
SharedLibrary('tiff', SRCS)
EXPORTS vtk_TIFFAccessTagMethods
vtk_TIFFCIELabToRGBInit
vtk_TIFFCIELabToXYZ
vtk_TIFFCheckTile
vtk_TIFFCheckpointDirectory
vtk_TIFFCleanup
vtk_TIFFClientOpen
vtk_TIFFClientdata
vtk_TIFFClose
vtk_TIFFComputeStrip
vtk_TIFFComputeTile
vtk_TIFFCreateCustomDirectory
vtk_TIFFCreateDirectory
vtk_TIFFCreateEXIFDirectory
vtk_TIFFCurrentDirOffset
vtk_TIFFCurrentDirectory
vtk_TIFFCurrentRow
vtk_TIFFCurrentStrip
vtk_TIFFCurrentTile
vtk_TIFFDataWidth
vtk_TIFFDefaultStripSize
vtk_TIFFDefaultTileSize
vtk_TIFFError
vtk_TIFFErrorExt
vtk_TIFFFdOpen
vtk_TIFFFieldDataType
vtk_TIFFFieldName
vtk_TIFFFieldPassCount
vtk_TIFFFieldReadCount
vtk_TIFFFieldTag
vtk_TIFFFieldWithName
vtk_TIFFFieldWithTag
vtk_TIFFFieldWriteCount
vtk_TIFFFileName
vtk_TIFFFileno
vtk_TIFFFindCODEC
vtk_TIFFFindField
vtk_TIFFFlush
vtk_TIFFFlushData
vtk_TIFFFreeDirectory
vtk_TIFFGetBitRevTable
vtk_TIFFGetClientInfo
vtk_TIFFGetCloseProc
vtk_TIFFGetConfiguredCODECs
vtk_TIFFGetField
vtk_TIFFGetFieldDefaulted
vtk_TIFFGetMapFileProc
vtk_TIFFGetMode
vtk_TIFFGetReadProc
vtk_TIFFGetSeekProc
vtk_TIFFGetSizeProc
vtk_TIFFGetTagListCount
vtk_TIFFGetTagListEntry
vtk_TIFFGetUnmapFileProc
vtk_TIFFGetVersion
vtk_TIFFGetWriteProc
vtk_TIFFIsBigEndian
vtk_TIFFIsByteSwapped
vtk_TIFFIsCODECConfigured
vtk_TIFFIsMSB2LSB
vtk_TIFFIsTiled
vtk_TIFFIsUpSampled
vtk_TIFFLastDirectory
vtk_TIFFMergeFieldInfo
vtk_TIFFNumberOfDirectories
vtk_TIFFNumberOfStrips
vtk_TIFFNumberOfTiles
vtk_TIFFOpen
vtk_TIFFOpenW
vtk_TIFFPrintDirectory
vtk_TIFFRGBAImageBegin
vtk_TIFFRGBAImageEnd
vtk_TIFFRGBAImageGet
vtk_TIFFRGBAImageOK
vtk_TIFFRasterScanlineSize
vtk_TIFFRasterScanlineSize64
vtk_TIFFRawStripSize
vtk_TIFFRawStripSize64
vtk_TIFFReadBufferSetup
vtk_TIFFReadCustomDirectory
vtk_TIFFReadDirectory
vtk_TIFFReadEXIFDirectory
vtk_TIFFReadEncodedStrip
vtk_TIFFReadEncodedTile
vtk_TIFFReadRGBAImage
vtk_TIFFReadRGBAImageOriented
vtk_TIFFReadRGBAStrip
vtk_TIFFReadRGBATile
vtk_TIFFReadRawStrip
vtk_TIFFReadRawTile
vtk_TIFFReadScanline
vtk_TIFFReadTile
vtk_TIFFRegisterCODEC
vtk_TIFFReverseBits
vtk_TIFFRewriteDirectory
vtk_TIFFScanlineSize
vtk_TIFFScanlineSize64
vtk_TIFFSetClientInfo
vtk_TIFFSetClientdata
vtk_TIFFSetCompressionScheme
vtk_TIFFSetDirectory
vtk_TIFFSetErrorHandler
vtk_TIFFSetErrorHandlerExt
vtk_TIFFSetField
vtk_TIFFSetFileName
vtk_TIFFSetFileno
vtk_TIFFSetMode
vtk_TIFFSetSubDirectory
vtk_TIFFSetTagExtender
vtk_TIFFSetWarningHandler
vtk_TIFFSetWarningHandlerExt
vtk_TIFFSetWriteOffset
vtk_TIFFSetupStrips
vtk_TIFFStripSize
vtk_TIFFStripSize64
vtk_TIFFSwabArrayOfDouble
vtk_TIFFSwabArrayOfFloat
vtk_TIFFSwabArrayOfLong
vtk_TIFFSwabArrayOfLong8
vtk_TIFFSwabArrayOfShort
vtk_TIFFSwabArrayOfTriples
vtk_TIFFSwabDouble
vtk_TIFFSwabFloat
vtk_TIFFSwabLong
vtk_TIFFSwabLong8
vtk_TIFFSwabShort
vtk_TIFFTileRowSize
vtk_TIFFTileRowSize64
vtk_TIFFTileSize
vtk_TIFFTileSize64
vtk_TIFFUnRegisterCODEC
vtk_TIFFUnlinkDirectory
vtk_TIFFUnsetField
vtk_TIFFVGetField
vtk_TIFFVGetFieldDefaulted
vtk_TIFFVSetField
vtk_TIFFVStripSize
vtk_TIFFVStripSize64
vtk_TIFFVTileSize
vtk_TIFFVTileSize64
vtk_TIFFWarning
vtk_TIFFWarningExt
vtk_TIFFWriteBufferSetup
vtk_TIFFWriteCheck
vtk_TIFFWriteCustomDirectory
vtk_TIFFWriteDirectory
vtk_TIFFWriteEncodedStrip
vtk_TIFFWriteEncodedTile
vtk_TIFFWriteRawStrip
vtk_TIFFWriteRawTile
vtk_TIFFWriteScanline
vtk_TIFFWriteTile
vtk_TIFFXYZToRGB
vtk_TIFFYCbCrToRGBInit
vtk_TIFFYCbCrtoRGB
vtk__TIFFCheckMalloc
vtk__TIFFCheckRealloc
vtk__TIFFRewriteField
vtk__TIFFfree
vtk__TIFFmalloc
vtk__TIFFmemcmp
vtk__TIFFmemcpy
vtk__TIFFmemset
vtk__TIFFrealloc
/* "$Id$ */
/*
* Copyright (c) 1991-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that (i) the above copyright notices and this permission notice appear in
* all copies of the software and related documentation, and (ii) the names of
* Sam Leffler and Silicon Graphics may not be used in any advertising or
* publicity relating to the software without the specific, prior written
* permission of Sam Leffler and Silicon Graphics.
*
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
*
* IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
* ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
* OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
* WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*/
/* Initialise fax decoder tables
* Decoder support is derived, with permission, from the code
* in Frank Cringle's viewfax program;
* Copyright (C) 1990, 1995 Frank D. Cringle.
*/
#include "tif_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "tif_fax3.h"
#ifndef HAVE_GETOPT
extern int getopt(int, char**, char*);
#endif
#define streq(a,b) (strcmp(a,b) == 0)
/* NB: can't use names in tif_fax3.h 'cuz they are declared const */
TIFFFaxTabEnt MainTable[128];
TIFFFaxTabEnt WhiteTable[4096];
TIFFFaxTabEnt BlackTable[8192];
struct proto {
uint16 code; /* right justified, lsb-first, zero filled */
uint16 val; /* (pixel count)<<4 + code width */
};
static struct proto Pass[] = {
{ 0x0008, 4 },
{ 0, 0 }
};
static struct proto Horiz[] = {
{ 0x0004, 3 },
{ 0, 0 }
};
static struct proto V0[] = {
{ 0x0001, 1 },
{ 0, 0 }
};
static struct proto VR[] = {
{ 0x0006, (1<<4)+3 },
{ 0x0030, (2<<4)+6 },
{ 0x0060, (3<<4)+7 },
{ 0, 0 }
};
static struct proto VL[] = {
{ 0x0002, (1<<4)+3 },
{ 0x0010, (2<<4)+6 },
{ 0x0020, (3<<4)+7 },
{ 0, 0 }
};
static struct proto Ext[] = {
{ 0x0040, 7 },
{ 0, 0 }
};
static struct proto EOLV[] = {
{ 0x0000, 7 },
{ 0, 0 }
};
static struct proto MakeUpW[] = {
{ 0x001b, 1029 },
{ 0x0009, 2053 },
{ 0x003a, 3078 },
{ 0x0076, 4103 },
{ 0x006c, 5128 },
{ 0x00ec, 6152 },
{ 0x0026, 7176 },
{ 0x00a6, 8200 },
{ 0x0016, 9224 },
{ 0x00e6, 10248 },
{ 0x0066, 11273 },
{ 0x0166, 12297 },
{ 0x0096, 13321 },
{ 0x0196, 14345 },
{ 0x0056, 15369 },
{ 0x0156, 16393 },
{ 0x00d6, 17417 },
{ 0x01d6, 18441 },
{ 0x0036, 19465 },
{ 0x0136, 20489 },
{ 0x00b6, 21513 },
{ 0x01b6, 22537 },
{ 0x0032, 23561 },
{ 0x0132, 24585 },
{ 0x00b2, 25609 },
{ 0x0006, 26630 },
{ 0x01b2, 27657 },
{ 0, 0 }
};
static struct proto MakeUpB[] = {
{ 0x03c0, 1034 },
{ 0x0130, 2060 },
{ 0x0930, 3084 },
{ 0x0da0, 4108 },
{ 0x0cc0, 5132 },
{ 0x02c0, 6156 },
{ 0x0ac0, 7180 },
{ 0x06c0, 8205 },
{ 0x16c0, 9229 },
{ 0x0a40, 10253 },
{ 0x1a40, 11277 },
{ 0x0640, 12301 },
{ 0x1640, 13325 },
{ 0x09c0, 14349 },
{ 0x19c0, 15373 },
{ 0x05c0, 16397 },
{ 0x15c0, 17421 },
{ 0x0dc0, 18445 },
{ 0x1dc0, 19469 },
{ 0x0940, 20493 },
{ 0x1940, 21517 },
{ 0x0540, 22541 },
{ 0x1540, 23565 },
{ 0x0b40, 24589 },
{ 0x1b40, 25613 },
{ 0x04c0, 26637 },
{ 0x14c0, 27661 },
{ 0, 0 }
};
static struct proto MakeUp[] = {
{ 0x0080, 28683 },
{ 0x0180, 29707 },
{ 0x0580, 30731 },
{ 0x0480, 31756 },
{ 0x0c80, 32780 },
{ 0x0280, 33804 },
{ 0x0a80, 34828 },
{ 0x0680, 35852 },
{ 0x0e80, 36876 },
{ 0x0380, 37900 },
{ 0x0b80, 38924 },
{ 0x0780, 39948 },
{ 0x0f80, 40972 },
{ 0, 0 }
};
static struct proto TermW[] = {
{ 0x00ac, 8 },
{ 0x0038, 22 },
{ 0x000e, 36 },
{ 0x0001, 52 },
{ 0x000d, 68 },
{ 0x0003, 84 },
{ 0x0007, 100 },
{ 0x000f, 116 },
{ 0x0019, 133 },
{ 0x0005, 149 },
{ 0x001c, 165 },
{ 0x0002, 181 },
{ 0x0004, 198 },
{ 0x0030, 214 },
{ 0x000b, 230 },
{ 0x002b, 246 },
{ 0x0015, 262 },
{ 0x0035, 278 },
{ 0x0072, 295 },
{ 0x0018, 311 },
{ 0x0008, 327 },
{ 0x0074, 343 },
{ 0x0060, 359 },