diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-22 14:53:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-22 14:53:15 +0000 |
commit | 742308f3e3646dd27ef9679ba2ae8756a2a64f7c (patch) | |
tree | 6e8f4d279b8c647b3e5f8f9974352cbe177d7b6a /apps/include/tiff.h | |
parent | 4a6bae6e0114f9856d6b31228faf9cc14144f1f2 (diff) | |
download | nuttx-742308f3e3646dd27ef9679ba2ae8756a2a64f7c.tar.gz nuttx-742308f3e3646dd27ef9679ba2ae8756a2a64f7c.tar.bz2 nuttx-742308f3e3646dd27ef9679ba2ae8756a2a64f7c.zip |
Add TIFF unit test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3969 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/include/tiff.h')
-rw-r--r-- | apps/include/tiff.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 <nuttx/config.h> +#include <sys/types.h> #include <nuttx/nx/nxglib.h> /************************************************************************************ @@ -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 */ |