Home | History | Annotate | Download | only in libtiff

Lines Matching full:tiff

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.0
114 converters to JPEG, and/or to new-style JPEG compression inside TIFF.
255 TIFF* tif;
349 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap);
350 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap);
351 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags);
353 static int OJPEGFixupTags(TIFF* tif);
354 static int OJPEGSetupDecode(TIFF* tif);
355 static int OJPEGPreDecode(TIFF* tif, uint16 s);
356 static int OJPEGPreDecodeSkipRaw(TIFF* tif);
357 static int OJPEGPreDecodeSkipScanlines(TIFF* tif);
358 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
359 static int OJPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc);
360 static int OJPEGDecodeScanlines(TIFF* tif, uint8* buf, tmsize_t cc);
361 static void OJPEGPostDecode(TIFF* tif, uint8* buf, tmsize_t cc);
362 static int OJPEGSetupEncode(TIFF* tif);
363 static int OJPEGPreEncode(TIFF* tif, uint16 s);
364 static int OJPEGEncode(TIFF
365 static int OJPEGPostEncode(TIFF* tif);
366 static void OJPEGCleanup(TIFF* tif);
368 static void OJPEGSubsamplingCorrect(TIFF* tif);
369 static int OJPEGReadHeaderInfo(TIFF* tif);
370 static int OJPEGReadSecondarySos(TIFF* tif, uint16 s);
371 static int OJPEGWriteHeaderInfo(TIFF* tif);
372 static void OJPEGLibjpegSessionAbort(TIFF* tif);
374 static int OJPEGReadHeaderInfoSec(TIFF* tif);
375 static int OJPEGReadHeaderInfoSecStreamDri(TIFF* tif);
376 static int OJPEGReadHeaderInfoSecStreamDqt(TIFF* tif);
377 static int OJPEGReadHeaderInfoSecStreamDht(TIFF* tif);
378 static int OJPEGReadHeaderInfoSecStreamSof(TIFF* tif, uint8 marker_id);
379 static int OJPEGReadHeaderInfoSecStreamSos(TIFF* tif);
380 static int OJPEGReadHeaderInfoSecTablesQTable(TIFF* tif);
381 static int OJPEGReadHeaderInfoSecTablesDcTable(TIFF* tif);
382 static int OJPEGReadHeaderInfoSecTablesAcTable(TIFF* tif);
392 static int OJPEGWriteStream(TIFF* tif, void** mem, uint32* len);
393 static void OJPEGWriteStreamSoi(TIFF* tif, void** mem, uint32* len);
394 static void OJPEGWriteStreamQTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
395 static void OJPEGWriteStreamDcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
396 static void OJPEGWriteStreamAcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
397 static void OJPEGWriteStreamDri(TIFF* tif, void** mem, uint32* len);
398 static void OJPEGWriteStreamSof(TIFF* tif, void** mem, uint32* len);
399 static void OJPEGWriteStreamSos(TIFF* tif, void** mem, uint32* len);
400 static int OJPEGWriteStreamCompressed(TIFF* tif, void** mem, uint32* len);
401 static void OJPEGWriteStreamRst(TIFF* tif, void** mem, uint32* len);
402 static void OJPEGWriteStreamEoi(TIFF* tif, void** mem, uint32* len);
410 extern void jpeg_encap_unwind(TIFF* tif);
417 static void jpeg_encap_unwind(TIFF* tif);
429 TIFFInitOJPEG(TIFF* tif, int scheme)
492 OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap)
534 OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap)
621 OJPEGPrintDir(TIFF* tif, FILE* fd, long flags)
661 OJPEGFixupTags(TIFF* tif)
668 OJPEGSetupDecode(TIFF* tif)
676 OJPEGPreDecode(TIFF* tif, uint16 s)
740 OJPEGPreDecodeSkipRaw(TIFF* tif)
773 OJPEGPreDecodeSkipScanlines(TIFF* tif)
796 OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s)
820 OJPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc)
875 OJPEGDecodeScanlines(TIFF* tif, uint8* buf, tmsize_t cc)
900 OJPEGPostDecode(TIFF* tif, uint8* buf, tmsize_t cc)
915 OJPEGSetupEncode(TIFF* tif)
923 OJPEGPreEncode(TIFF* tif, uint16 s)
932 OJPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s)
943 OJPEGPostEncode(TIFF* tif)
951 OJPEGCleanup(TIFF* tif)
998 OJPEGSubsamplingCorrect(TIFF* tif)
1039 TIFFWarningExt(tif->tif_clientdata,module,"Subsampling tag is not set, yet subsampling inside JPEG data does not match default values [2,2] (nor any other values allowed in TIFF); assuming subsampling inside JPEG data is correct and desubsampling inside JPEG decompression");
1041 TIFFWarningExt(tif->tif_clientdata,module,"Subsampling inside JPEG data does not match subsampling tag values [%d,%d] (nor any other values allowed in TIFF); assuming subsampling inside JPEG data is correct and desubsampling inside JPEG decompression",mh,mv);
1046 TIFFWarningExt(tif->tif_clientdata,module,"Subsampling values [%d,%d] are not allowed in TIFF",sp->subsampling_hor,sp->subsampling_ver);
1053 OJPEGReadHeaderInfo(TIFF* tif)
1115 OJPEGReadSecondarySos(TIFF* tif, uint16 s)
1165 OJPEGWriteHeaderInfo(TIFF* tif)
1259 OJPEGLibjpegSessionAbort(TIFF* tif)
1268 OJPEGReadHeaderInfoSec(TIFF* tif)
1399 OJPEGReadHeaderInfoSecStreamDri(TIFF* tif)
1420 OJPEGReadHeaderInfoSecStreamDqt(TIFF* tif)
1482 OJPEGReadHeaderInfoSecStreamDht(TIFF* tif)
1559 OJPEGReadHeaderInfoSecStreamSof(TIFF* tif, uint8 marker_id)
1711 OJPEGReadHeaderInfoSecStreamSos(TIFF* tif)
1759 OJPEGReadHeaderInfoSecTablesQTable(TIFF* tif)
1818 OJPEGReadHeaderInfoSecTablesDcTable(TIFF* tif)
1887 OJPEGReadHeaderInfoSecTablesAcTable(TIFF* tif)
2151 OJPEGWriteStream(TIFF* tif, void** mem, uint32* len)
2224 OJPEGWriteStreamSoi(TIFF* tif, void** mem, uint32* len)
2236 OJPEGWriteStreamQTable(TIFF* tif, uint8 table_index, void** mem, uint32* len)
2248 OJPEGWriteStreamDcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len)
2260 OJPEGWriteStreamAcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len)
2272 OJPEGWriteStreamDri(TIFF* tif, void** mem, uint32* len)
2291 OJPEGWriteStreamSof(TIFF* tif, void** mem, uint32* len)
2327 OJPEGWriteStreamSos(TIFF* tif, void** mem, uint32* len)
2359 OJPEGWriteStreamCompressed(TIFF* tif, void** mem, uint32* len)
2392 OJPEGWriteStreamRst(TIFF* tif, void** mem, uint32* len)
2407 OJPEGWriteStreamEoi(TIFF* tif, void** mem, uint32* len)
2484 jpeg_encap_unwind(TIFF* tif)
2496 TIFFWarningExt(((TIFF*)(cinfo->client_data))->tif_clientdata,"LibJpeg","%s",buffer);
2504 TIFFErrorExt(((TIFF*)(cinfo->client_data))->tif_clientdata,"LibJpeg","%s",buffer);
2505 jpeg_encap_unwind((TIFF*)(cinfo->client_data));
2517 TIFF* tif=(TIFF*)cinfo->client_data;
2534 TIFF* tif=(TIFF*)cinfo->client_data;
2547 TIFF* tif=(TIFF*)cinfo->client_data;