From 343ffa8b210eb1493b0523b3c3251bf3059c5942 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Tue, 11 Jan 2005 15:40:26 +0000 Subject: [PATCH] Move the color conversion routines in the 'extern "C"' section as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=727 --- libtiff/tiffio.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libtiff/tiffio.h b/libtiff/tiffio.h index 6c1c7717..48b38752 100644 --- a/libtiff/tiffio.h +++ b/libtiff/tiffio.h @@ -1,4 +1,4 @@ -/* $Id: tiffio.h,v 1.40 2004-11-21 16:12:08 dron Exp $ */ +/* $Id: tiffio.h,v 1.41 2005-01-11 15:40:26 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -168,16 +168,6 @@ typedef struct { /* CIE Lab 1976->RGB support */ float Yb2b[CIELABTORGB_TABLE_RANGE + 1]; /* Conversion of Yb to b */ } TIFFCIELabToRGB; -extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB*, TIFFDisplay *, float*); -extern void TIFFCIELabToXYZ(TIFFCIELabToRGB *, uint32, int32, int32, - float *, float *, float *); -extern void TIFFXYZToRGB(TIFFCIELabToRGB *, float, float, float, - uint32 *, uint32 *, uint32 *); - -extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB*, float*, float*); -extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB *, uint32, int32, int32, - uint32 *, uint32 *, uint32 *); - /* * RGBA-style image support. */ @@ -490,6 +480,16 @@ extern TIFFTagMethods *TIFFAccessTagMethods( TIFF * ); extern void *TIFFGetClientInfo( TIFF *, const char * ); extern void TIFFSetClientInfo( TIFF *, void *, const char * ); +extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB*, TIFFDisplay *, float*); +extern void TIFFCIELabToXYZ(TIFFCIELabToRGB *, uint32, int32, int32, + float *, float *, float *); +extern void TIFFXYZToRGB(TIFFCIELabToRGB *, float, float, float, + uint32 *, uint32 *, uint32 *); + +extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB*, float*, float*); +extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB *, uint32, int32, int32, + uint32 *, uint32 *, uint32 *); + #if defined(c_plusplus) || defined(__cplusplus) } #endif