From 742308f3e3646dd27ef9679ba2ae8756a2a64f7c Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 22 Sep 2011 14:53:15 +0000 Subject: Add TIFF unit test git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3969 42af7a65-404d-4744-a932-0658087f49c3 --- apps/include/tiff.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'apps/include/tiff.h') diff --git a/apps/include/tiff.h b/apps/include/tiff.h index 2b3415d51..353005599 100644 --- a/apps/include/tiff.h +++ b/apps/include/tiff.h @@ -44,6 +44,7 @@ ************************************************************************************/ #include +#include #include /************************************************************************************ @@ -78,9 +79,9 @@ /* Values for the IFD tag type */ #define IFD_TAG_NEWSUBFILETYPE 254 /* NewSubfileType, LONG */ -# define TAG_SUBFILETYPE_REDUCED (1 << 0) /* Bit 0: Reduced resolution verson of image */ -# define TAG_SUBFILETYPE_SINGLE (1 << 1) /* Bit 1: Single page of a multi-page image */ -# define TAG_SUBFILETYPE_TRANSP (1 << 2) /* Bit 2: Defines a transparency mask for image */ +# define TAG_NEWSUBFILETYPE_REDUCED (1 << 0) /* Bit 0: Reduced resolution verson of image */ +# define TAG_NEWSUBFILETYPE_SINGLE (1 << 1) /* Bit 1: Single page of a multi-page image */ +# define TAG_NEWSUBFILETYPE_TRANSP (1 << 2) /* Bit 2: Defines a transparency mask for image */ #define IFD_TAG_SUBFILETYPE 255 /* SubfileType, SHORT */ # define TAG_SUBFILETYPE_FULL 1 /* Full-resolution image data */ # define TAG_SUBFILETYPE_REDUCED 2 /* Reduced-resolution image data */ @@ -97,7 +98,7 @@ # define TAG_COMP_T6 4 /* CCITT T.6 bi-level encoding */ # define TAG_COMP_LZW 5 /* LZW */ # define TAG_COMP_JPEG 6 /* LZW */ -# define TAG_COMP_NONE 32773 /* PackBits compression */ +# define TAG_COMP_PACKBITS 32773 /* PackBits compression */ #define IFD_TAG_PMI 262 /* PhotometricInterpretation, SHORT (Required) */ # define TAG_PMI_WHITE 0 /* WhiteIsZero */ # define TAG_PMI_BLACK 1 /* BlackIsZero */ -- cgit v1.2.3