/external/ImageMagick/PerlMagick/t/tiff/ |
write.t | 3 # Test writing TIFF images 15 chdir 't/tiff' || die 'Cd failed'; 21 testReadWrite( 'input_16.tiff', 22 'output_16.tiff', 31 testReadWrite( 'input_256.tiff', 32 'output_256.tiff', 42 testReadWrite( 'input_16_matte.tiff', 43 'output_16_matte.tiff', 52 testReadWrite( 'input_256_matte.tiff', 53 'output_256_matte.tiff', [all...] |
read.t | 3 # Test reading TIFF images 15 chdir 't/tiff' || die 'Cd failed'; 21 testRead ( 'input_mono.tiff', 29 testRead( 'input_16.tiff', 37 testRead( 'input_16_matte.tiff', 45 testRead( 'input_256.tiff', 54 testRead( 'input_256_matte.tiff', 63 testRead( 'input_256_planar_contig.tiff', 72 testRead( 'input_256_planar_separate.tiff', 81 testRead( 'input_truecolor.tiff', [all...] |
/external/pdfium/third_party/libtiff/ |
tiffio.h | 31 * TIFF I/O Library Definitions. 33 #include "tiff.h" 37 * TIFF is defined as an incomplete type to hide the 40 typedef struct tiff TIFF; 46 * in tiff.h. Note also that the varargs interface used 48 * tiff.h directly. 200 TIFF* tif; /* image handle */ 251 typedef int (*TIFFInitMethod)(TIFF*, int); 281 typedef void (*TIFFExtendProc)(TIFF*); [all...] |
tiffiop.h | 93 typedef void (*TIFFVoidMethod)(TIFF*); 94 typedef int (*TIFFBoolMethod)(TIFF*); 95 typedef int (*TIFFPreMethod)(TIFF*, uint16); 96 typedef int (*TIFFCodeMethod)(TIFF* tif, uint8* buf, tmsize_t size, uint16 sample); 97 typedef int (*TIFFSeekMethod)(TIFF*, uint32); 98 typedef void (*TIFFPostMethod)(TIFF* tif, uint8* buf, tmsize_t size); 99 typedef uint32 (*TIFFStripMethod)(TIFF*, uint32); 100 typedef void (*TIFFTileMethod)(TIFF*, uint32*, uint32*); 102 struct tiff { struct 321 extern int _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) [all...] |
tif_extension.c | 28 * TIFF Library. 36 int TIFFGetTagListCount( TIFF *tif ) 44 uint32 TIFFGetTagListEntry( TIFF *tif, int tag_index ) 56 ** This provides read/write access to the TIFFTagMethods within the TIFF 58 ** TIFF structure. 60 TIFFTagMethods *TIFFAccessTagMethods( TIFF *tif ) 66 void *TIFFGetClientInfo( TIFF *tif, const char *name ) 80 void TIFFSetClientInfo( TIFF *tif, void *data, const char *name )
|
tif_compress.c | 28 * TIFF Library 35 TIFFNoEncode(TIFF* tif, const char* method) 52 _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 59 _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 66 _TIFFNoTileEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 73 TIFFNoDecode(TIFF* tif, const char* method) 89 _TIFFNoFixupTags(TIFF* tif) 96 _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 103 _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 110 _TIFFNoTileDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s [all...] |
tif_open.c | 28 * TIFF Library. 72 TIFF* 86 TIFF *tif; 119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1)); 121 TIFFErrorExt(clientdata, module, "%s: Out of memory (TIFF structure)", name); 125 tif->tif_name = (char *)tif + sizeof (TIFF); 171 * TIFF but only supports some brain dead idea of what the 172 * vendor thinks TIFF is): 183 * 'h' read TIFF header only, do not load the first IF [all...] |
tif_dirwrite.c | 28 * TIFF Library. 39 extern void TIFFCvtNativeToIEEEFloat(TIFF* tif, uint32 n, float* fp); 40 extern void TIFFCvtNativeToIEEEDouble(TIFF* tif, uint32 n, double* dp); 43 static int TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff); 45 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, double* value); 47 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value); 50 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, char* value); 51 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, uint8* value); 53 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 value); 55 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, uint8* value) [all...] |
tif_close.c | 28 * TIFF Library. 38 * Auxiliary function to free the TIFF structure. Given structure will be 43 * @param tif A TIFF pointer. 47 TIFFCleanup(TIFF* tif) 113 * Close a previously opened TIFF file. 119 * @param tif A TIFF pointer. 123 TIFFClose(TIFF* tif)
|
tif_predict.c | 28 * TIFF Library. 37 static int horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc); 38 static int horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc); 39 static int horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc); 40 static int swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc); 41 static int swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc); 42 static int horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc); 43 static int horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc); 44 static int horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc); 45 static int swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc) [all...] |
tif_dumpmode.c | 28 * TIFF Library. 35 DumpFixupTags(TIFF* tif) 45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 113 DumpModeSeek(TIFF* tif, uint32 nrows) 124 TIFFInitDumpMode(TIFF* tif, int scheme)
|
0008-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch | 5 @@ -69,7 +69,7 @@ _TIFFCheckRealloc(TIFF* tif, void* buffer,
|
tif_strip.c | 28 * TIFF Library. 38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample) 61 TIFFNumberOfStrips(TIFF* tif) 78 TIFFVStripSize64(TIFF* tif, uint32 nrows) 130 TIFFVStripSize(TIFF* tif, uint32 nrows) 149 TIFFRawStripSize64(TIFF* tif, uint32 strip) 174 TIFFRawStripSize(TIFF* tif, uint32 strip) 203 TIFFStripSize64(TIFF* tif) 212 TIFFStripSize(TIFF* tif) 234 TIFFDefaultStripSize(TIFF* tif, uint32 request [all...] |
tiff.h | 1 /* $Id: tiff.h,v 1.70 2016-01-23 21:20:34 erouault Exp $ */ 33 * Tag Image File Format (TIFF) 47 * http://www.awaresystems.be/imaging/tiff/bigtiff.html 91 * TIFF header. 95 uint16 tiff_version; /* TIFF version number */ 99 uint16 tiff_version; /* TIFF version number */ 104 uint16 tiff_version; /* TIFF version number */ 146 * TIFF Tag Definitions. 163 #define COMPRESSION_CCITT_T4 3 /* CCITT T.4 (TIFF 6 name) */ 165 #define COMPRESSION_CCITT_T6 4 /* CCITT T.6 (TIFF 6 name) * [all...] |
0025-upstream-OOM-gtTileContig.patch | 169 TIFF* tif = img->tif; 239 @@ -442,18 +442,17 @@ TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample) 250 -TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 251 +static tmsize_t TIFFReadEncodedStripGetStripSize(TIFF* tif, uint32 strip, uint16* pplane) 262 @@ -465,23 +464,37 @@ TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 293 +TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 306 @@ -510,6 +523,50 @@ TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 317 +_TIFFReadEncodedStripAndAllocBuffer(TIFF* tif, uint32 strip, 355 TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size, 357 @@ -939,6 +996,78 @@ TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size [all...] |
tif_ojpeg.c | 3 /* WARNING: The type of JPEG encapsulation defined by the TIFF Version 6.0 10 The code is carefully crafted to robustly read all gathered JPEG-in-TIFF 12 fail on some. If you encounter problems, please report them on the TIFF 15 Please read the file called "TIFF Technical Note #2" if you need to be 16 convinced this compression scheme is bad and breaks TIFF. That document 18 and from AWare Systems' TIFF section 19 <http://www.awaresystems.be/imaging/tiff.html>. It is also absorbed 21 supported by the TIFF community. 72 in new-style JPEG-in-TIFF, though, or even more so, actually, the YCbCrsubsampling 88 striles, as is also probably the most likely interpretation of the original TIFF 6. [all...] |
/external/ImageMagick/coders/ |
tiff.c | 13 % Read/Write TIFF Image Format % 95 # include "tiff.h" 243 % magick string, is TIFF. 364 Write raw CCITT Group 4 wrapped as a TIFF image file. 409 Read TIFF image. 580 static void TIFFGetProfiles(TIFF *tiff,Image *image,MagickBooleanType ping, 593 if ((TIFFGetField(tiff,TIFFTAG_ICCPROFILE,&length,&profile) == 1) && 598 if ((TIFFGetField(tiff,TIFFTAG_PHOTOSHOP,&length,&profile) == 1) && 603 if ((TIFFGetField(tiff,TIFFTAG_RICHTIFFIPTC,&length,&profile) == 1) & 1112 *tiff; local 2451 *tiff; local 3123 *tiff; local [all...] |
/external/dng_sdk/source/ |
dng_orientation.h | 31 // different than the TIFF orientation encoding ("TIFF"). 67 void SetTIFF (uint32 tiff); 82 static dng_orientation TIFFtoDNG (uint32 tiff) 87 result.SetTIFF (tiff);
|
dng_tag_codes.h | 21 // TIFF tags 50706 through 50741 registered at: 22 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 25 // TIFF tags 50778 through 50781 registered at: 26 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 29 // TIFF tags 50827 through 50834 registered at: 30 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 33 // TIFF tag number 50879 registered at: 34 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 37 // TIFF compression numbers 34892 through 34895 registered at: 38 // http://partners.adobe.com/asn/tech/tiff/tiffregister.js [all...] |
dng_image_writer.h | 1046 /// dng_stream in TIFF or DNG format. 1084 /// Write a dng_image to a dng_stream in TIFF format. 1086 /// \param stream The dng_stream on which to write the TIFF. 1090 /// \param negative or metadata If non-NULL, EXIF, IPTC, and XMP metadata from this negative is written to TIFF. 1091 /// \param space If non-null and color space has an ICC profile, TIFF will be tagged with this 1093 /// \param resolution If non-NULL, TIFF will be tagged with this resolution. 1094 /// \param thumbnail If non-NULL, will be stored in TIFF as preview image. 1095 /// \param imageResources If non-NULL, will image resources be stored in TIFF as well. 1096 /// \param metadataSubset The subset of metadata (e.g., copyright only) to include in the TIFF. 1122 /// Write a dng_image to a dng_stream in TIFF format [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
TiffEntry.h | 36 * This class holds a single TIFF IFD entry. 47 * size for the TIFF Value field (4 bytes), and should be word aligned. 54 * Get the count set for this entry. This corresponds to the TIFF Count 60 * Get the tag id set for this entry. This corresponds to the TIFF Tag 66 * Get the type set for this entry. This corresponds to the TIFF Type 78 * Get the value for this entry. This corresponds to the TIFF Value 90 * Force the type used here to be a valid TIFF type.
|
TiffWritable.h | 33 * TiffWritable subclasses represent TIFF metadata objects that can be written 34 * to an EndianOutput object. This is used for TIFF entries and IFDs. 44 * relative to the beginning of the TIFF header, and is word aligned.
|
TiffWriter.h | 43 * This class holds a collection of TIFF IFDs that can be written as a 46 * This maps to the TIFF header structure that is logically composed of: 47 * - An 8-byte file header containing an endianness indicator, the TIFF 49 * - A list of TIFF IFD structures. 62 * (highest precedence) TIFF/EP > DNG > EXIF 2.3 > TIFF 6.0 83 * Write a TIFF header containing each IFD set. This will recursively 97 * Write a TIFF header containing each IFD set. This will recursively 110 * Get the total size in bytes of the TIFF header. This includes all 131 * This tag must be defined in one of the definition vectors this TIFF write [all...] |
/external/ImageMagick/PerlMagick/ |
MANIFEST | 514 t/tiff/input_16_matte.tiff 515 t/tiff/input_16.tiff 516 t/tiff/input_256_matte.tiff 517 t/tiff/input_256_planar_contig.tiff 518 t/tiff/input_256_planar_separate.tiff [all...] |
/frameworks/av/media/img_utils/src/ |
TiffEntry.cpp | 41 ALOGE("%s: Value of type 'ifd' is not valid for tag with TIFF type %d.", 51 ALOGE("%s: Value of type 'uint8_t' is not valid for tag with TIFF type %d.", 61 ALOGE("%s: Value of type 'int8_t' is not valid for tag with TIFF type %d.", 71 ALOGE("%s: Value of type 'uint16_t' is not valid for tag with TIFF type %d.", 81 ALOGE("%s: Value of type 'int16_t' is not valid for tag with TIFF type %d.", 91 ALOGE("%s: Value of type 'uint32_t' is not valid for tag with TIFF type %d.", 101 ALOGE("%s: Value of type 'int32_t' is not valid for tag with TIFF type %d.", 111 ALOGE("%s: Value of type 'double' is not valid for tag with TIFF type %d.", 121 ALOGE("%s: Value of type 'float' is not valid for tag with TIFF type %d.",
|