mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[LIBTIFF]
* Introduce a main header. * Remove some unneeded inclusions. CORE-7716 svn path=/trunk/; revision=61318
This commit is contained in:
parent
282eceb38b
commit
5af51747bd
39 changed files with 80 additions and 53 deletions
4
reactos/dll/3rdparty/libtiff/precomp.h
vendored
Normal file
4
reactos/dll/3rdparty/libtiff/precomp.h
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef _LIBTIFF_PCH_
|
||||
#define _LIBTIFF_PCH_
|
||||
#include <tiffiop.h>
|
||||
#endif
|
5
reactos/dll/3rdparty/libtiff/tif_aux.c
vendored
5
reactos/dll/3rdparty/libtiff/tif_aux.c
vendored
|
@ -29,8 +29,9 @@
|
|||
*
|
||||
* Auxiliary Support Routines.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include "tif_predict.h"
|
||||
|
||||
#include <precomp.h>
|
||||
#include <tif_predict.h>
|
||||
#include <math.h>
|
||||
|
||||
uint32
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_close.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_close.c
vendored
|
@ -27,8 +27,8 @@
|
|||
/*
|
||||
* TIFF Library.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <string.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/************************************************************************/
|
||||
/* TIFFCleanup() */
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_codec.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_codec.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Builtin Compression Scheme Configuration Support.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static int NotConfigured(TIFF*, int);
|
||||
|
||||
|
|
2
reactos/dll/3rdparty/libtiff/tif_color.c
vendored
2
reactos/dll/3rdparty/libtiff/tif_color.c
vendored
|
@ -36,7 +36,7 @@
|
|||
* Color space conversion routines.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
#include <math.h>
|
||||
|
||||
/*
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_compress.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_compress.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Compression Scheme Configuration Support.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static int
|
||||
TIFFNoEncode(TIFF* tif, const char* method)
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_dir.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_dir.c
vendored
|
@ -30,7 +30,8 @@
|
|||
* Directory Tag Get & Set Routines.
|
||||
* (and also some miscellaneous stuff)
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* These are used in the backwards compatibility code...
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_dirinfo.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_dirinfo.c
vendored
|
@ -29,8 +29,8 @@
|
|||
*
|
||||
* Core Directory Tag Support.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* NOTE: THIS ARRAY IS ASSUMED TO BE SORTED BY TAG.
|
||||
|
|
2
reactos/dll/3rdparty/libtiff/tif_dirread.c
vendored
2
reactos/dll/3rdparty/libtiff/tif_dirread.c
vendored
|
@ -39,7 +39,7 @@
|
|||
* TIFFReadDirectory, so as to eliminate current possibly repetitive lookup.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#define IGNORE 0 /* tag placeholder used below */
|
||||
#define FAILED_FII ((uint32) -1)
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_dirwrite.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_dirwrite.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Directory Write Support Routines.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef HAVE_IEEEFP
|
||||
#define TIFFCvtNativeToIEEEFloat(tif, n, fp)
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_dumpmode.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_dumpmode.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* "Null" Compression Algorithm Support.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static int
|
||||
DumpFixupTags(TIFF* tif)
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_error.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_error.c
vendored
|
@ -27,7 +27,8 @@
|
|||
/*
|
||||
* TIFF Library.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL;
|
||||
|
||||
|
|
2
reactos/dll/3rdparty/libtiff/tif_extension.c
vendored
2
reactos/dll/3rdparty/libtiff/tif_extension.c
vendored
|
@ -31,7 +31,7 @@
|
|||
* application extension capabilities.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
int TIFFGetTagListCount( TIFF *tif )
|
||||
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_fax3.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_fax3.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef CCITT_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_flush.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_flush.c
vendored
|
@ -27,7 +27,8 @@
|
|||
/*
|
||||
* TIFF Library.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
int
|
||||
TIFFFlush(TIFF* tif)
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_getimage.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_getimage.c
vendored
|
@ -29,8 +29,8 @@
|
|||
*
|
||||
* Read and return a packed RGBA image.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static int gtTileContig(TIFFRGBAImage*, uint32*, uint32, uint32);
|
||||
static int gtTileSeparate(TIFFRGBAImage*, uint32*, uint32, uint32);
|
||||
|
|
2
reactos/dll/3rdparty/libtiff/tif_jbig.c
vendored
2
reactos/dll/3rdparty/libtiff/tif_jbig.c
vendored
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef JBIG_SUPPORT
|
||||
#include "jbig.h"
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_jpeg.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_jpeg.c
vendored
|
@ -27,7 +27,8 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#define VC_EXTRALEAN
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef JPEG_SUPPORT
|
||||
|
||||
/*
|
||||
|
|
2
reactos/dll/3rdparty/libtiff/tif_jpeg_12.c
vendored
2
reactos/dll/3rdparty/libtiff/tif_jpeg_12.c
vendored
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#if defined(JPEG_DUAL_MODE_8_12)
|
||||
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_luv.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_luv.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef LOGLUV_SUPPORT
|
||||
|
||||
/*
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_lzma.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_lzma.c
vendored
|
@ -23,7 +23,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef LZMA_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_lzw.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_lzw.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef LZW_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_next.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_next.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef NEXT_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_ojpeg.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_ojpeg.c
vendored
|
@ -123,7 +123,8 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#define VC_EXTRALEAN
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef OJPEG_SUPPORT
|
||||
|
||||
/* Configuration defines here are:
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_open.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_open.c
vendored
|
@ -27,7 +27,8 @@
|
|||
/*
|
||||
* TIFF Library.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* Dummy functions to fill the omitted client procedures.
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_packbits.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_packbits.c
vendored
|
@ -24,14 +24,14 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef PACKBITS_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
*
|
||||
* PackBits Compression Algorithm Support
|
||||
*/
|
||||
#include <stdio.h>
|
||||
|
||||
static int
|
||||
PackBitsPreEncode(TIFF* tif, uint16 s)
|
||||
|
|
5
reactos/dll/3rdparty/libtiff/tif_pixarlog.c
vendored
5
reactos/dll/3rdparty/libtiff/tif_pixarlog.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef PIXARLOG_SUPPORT
|
||||
|
||||
/*
|
||||
|
@ -92,8 +93,6 @@
|
|||
#include "tif_predict.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
/* Tables for converting to/from 11 bit coded values */
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_predict.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_predict.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Predictor Tag Support (used by multiple codecs).
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
#include "tif_predict.h"
|
||||
|
||||
#define PredictorState(tif) ((TIFFPredictorState*) (tif)->tif_data)
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_print.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_print.c
vendored
|
@ -29,10 +29,8 @@
|
|||
*
|
||||
* Directory Printing Support
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <precomp.h>
|
||||
|
||||
static void
|
||||
_TIFFprintAsciiBounded(FILE* fd, const char* cp, int max_chars);
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_read.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_read.c
vendored
|
@ -28,8 +28,8 @@
|
|||
* TIFF Library.
|
||||
* Scanline-oriented Read Support
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
int TIFFFillStrip(TIFF* tif, uint32 strip);
|
||||
int TIFFFillTile(TIFF* tif, uint32 tile);
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_strip.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_strip.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Strip-organized Image Support Routines.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* Compute which strip a (row,sample) value is in.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_swab.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_swab.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* XXX We assume short = 16-bits and long = 32-bits XXX
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
#ifndef TIFFSwabShort
|
||||
void
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_thunder.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_thunder.c
vendored
|
@ -24,8 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <assert.h>
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef THUNDER_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_tile.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_tile.c
vendored
|
@ -29,7 +29,8 @@
|
|||
*
|
||||
* Tiled Image Support Routines.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* Compute which tile an (x,y,z,s) value is in.
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_version.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_version.c
vendored
|
@ -22,7 +22,8 @@
|
|||
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
||||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static const char TIFFVersion[] = TIFFLIB_VERSION_STR;
|
||||
|
||||
|
|
3
reactos/dll/3rdparty/libtiff/tif_warning.c
vendored
3
reactos/dll/3rdparty/libtiff/tif_warning.c
vendored
|
@ -27,7 +27,8 @@
|
|||
/*
|
||||
* TIFF Library.
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
TIFFErrorHandlerExt _TIFFwarningHandlerExt = NULL;
|
||||
|
||||
|
|
9
reactos/dll/3rdparty/libtiff/tif_win32.c
vendored
9
reactos/dll/3rdparty/libtiff/tif_win32.c
vendored
|
@ -28,9 +28,14 @@
|
|||
* TIFF Library Win32-specific Routines. Adapted from tif_unix.c 4/5/95 by
|
||||
* Scott Wagner (wagner@itek.com), Itek Graphix, Rochester, NY USA
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <precomp.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winuser.h>
|
||||
#include <winnls.h>
|
||||
|
||||
static tmsize_t
|
||||
_tiffReadProc(thandle_t fd, void* buf, tmsize_t size)
|
||||
|
|
4
reactos/dll/3rdparty/libtiff/tif_write.c
vendored
4
reactos/dll/3rdparty/libtiff/tif_write.c
vendored
|
@ -29,8 +29,8 @@
|
|||
*
|
||||
* Scanline-oriented Write Support
|
||||
*/
|
||||
#include "tiffiop.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
#define STRIPINCR 20 /* expansion factor on strip array */
|
||||
|
||||
|
|
5
reactos/dll/3rdparty/libtiff/tif_zip.c
vendored
5
reactos/dll/3rdparty/libtiff/tif_zip.c
vendored
|
@ -24,7 +24,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "tiffiop.h"
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef ZIP_SUPPORT
|
||||
/*
|
||||
* TIFF Library.
|
||||
|
@ -49,8 +50,6 @@
|
|||
#include "tif_predict.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/*
|
||||
* Sigh, ZLIB_VERSION is defined as a string so there's no
|
||||
* way to do a proper check here. Instead we guess based
|
||||
|
|
Loading…
Reference in a new issue