[LIBTIFF]

* Introduce a main header.
* Remove some unneeded inclusions.
CORE-7716

svn path=/trunk/; revision=61318
This commit is contained in:
Amine Khaldi 2013-12-21 14:07:54 +00:00
parent 282eceb38b
commit 5af51747bd
39 changed files with 80 additions and 53 deletions

View file

@ -0,0 +1,4 @@
#ifndef _LIBTIFF_PCH_
#define _LIBTIFF_PCH_
#include <tiffiop.h>
#endif

View file

@ -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

View file

@ -27,8 +27,8 @@
/*
* TIFF Library.
*/
#include "tiffiop.h"
#include <string.h>
#include <precomp.h>
/************************************************************************/
/* TIFFCleanup() */

View file

@ -29,7 +29,8 @@
*
* Builtin Compression Scheme Configuration Support.
*/
#include "tiffiop.h"
#include <precomp.h>
static int NotConfigured(TIFF*, int);

View file

@ -36,7 +36,7 @@
* Color space conversion routines.
*/
#include "tiffiop.h"
#include <precomp.h>
#include <math.h>
/*

View file

@ -29,7 +29,8 @@
*
* Compression Scheme Configuration Support.
*/
#include "tiffiop.h"
#include <precomp.h>
static int
TIFFNoEncode(TIFF* tif, const char* method)

View file

@ -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...

View file

@ -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.

View file

@ -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)

View file

@ -29,7 +29,8 @@
*
* Directory Write Support Routines.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef HAVE_IEEEFP
#define TIFFCvtNativeToIEEEFloat(tif, n, fp)

View file

@ -29,7 +29,8 @@
*
* "Null" Compression Algorithm Support.
*/
#include "tiffiop.h"
#include <precomp.h>
static int
DumpFixupTags(TIFF* tif)

View file

@ -27,7 +27,8 @@
/*
* TIFF Library.
*/
#include "tiffiop.h"
#include <precomp.h>
TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL;

View file

@ -31,7 +31,7 @@
* application extension capabilities.
*/
#include "tiffiop.h"
#include <precomp.h>
int TIFFGetTagListCount( TIFF *tif )

View file

@ -24,7 +24,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef CCITT_SUPPORT
/*
* TIFF Library.

View file

@ -27,7 +27,8 @@
/*
* TIFF Library.
*/
#include "tiffiop.h"
#include <precomp.h>
int
TIFFFlush(TIFF* tif)

View file

@ -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);

View file

@ -32,7 +32,7 @@
*
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef JBIG_SUPPORT
#include "jbig.h"

View file

@ -27,7 +27,8 @@
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRALEAN
#include "tiffiop.h"
#include <precomp.h>
#ifdef JPEG_SUPPORT
/*

View file

@ -1,5 +1,5 @@
#include "tiffiop.h"
#include <precomp.h>
#if defined(JPEG_DUAL_MODE_8_12)

View file

@ -24,7 +24,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef LOGLUV_SUPPORT
/*

View file

@ -23,7 +23,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef LZMA_SUPPORT
/*
* TIFF Library.

View file

@ -24,7 +24,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef LZW_SUPPORT
/*
* TIFF Library.

View file

@ -24,7 +24,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <precomp.h>
#ifdef NEXT_SUPPORT
/*
* TIFF Library.

View file

@ -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:

View file

@ -27,7 +27,8 @@
/*
* TIFF Library.
*/
#include "tiffiop.h"
#include <precomp.h>
/*
* Dummy functions to fill the omitted client procedures.

View file

@ -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)

View file

@ -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 */

View file

@ -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)

View file

@ -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);

View file

@ -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);

View file

@ -29,7 +29,8 @@
*
* Strip-organized Image Support Routines.
*/
#include "tiffiop.h"
#include <precomp.h>
/*
* Compute which strip a (row,sample) value is in.

View file

@ -29,7 +29,8 @@
*
* XXX We assume short = 16-bits and long = 32-bits XXX
*/
#include "tiffiop.h"
#include <precomp.h>
#ifndef TIFFSwabShort
void

View file

@ -24,8 +24,8 @@
* OF THIS SOFTWARE.
*/
#include "tiffiop.h"
#include <assert.h>
#include <precomp.h>
#ifdef THUNDER_SUPPORT
/*
* TIFF Library.

View file

@ -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.

View file

@ -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;

View file

@ -27,7 +27,8 @@
/*
* TIFF Library.
*/
#include "tiffiop.h"
#include <precomp.h>
TIFFErrorHandlerExt _TIFFwarningHandlerExt = NULL;

View file

@ -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)

View file

@ -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 */

View file

@ -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