Home
last modified time | relevance | path

Searched refs:tif_flags (Results 1 – 25 of 34) sorted by relevance

12

/external/opencv3/3rdparty/libtiff/
Dtif_open.c157 tif->tif_flags = FILLORDER_MSB2LSB;
159 tif->tif_flags |= TIFF_MAPPED;
163 tif->tif_flags |= STRIPCHOP_DEFAULT;
223 tif->tif_flags |= TIFF_SWAB;
229 tif->tif_flags |= TIFF_SWAB;
233 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
237 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
241 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
246 tif->tif_flags |= TIFF_MAPPED;
250 tif->tif_flags &= ~TIFF_MAPPED;
[all …]
Dtif_flush.c46 if( (tif->tif_flags & TIFF_DIRTYSTRIP) in TIFFFlush()
47 && !(tif->tif_flags & TIFF_DIRTYDIRECT) in TIFFFlush()
61 tif->tif_flags &= ~TIFF_DIRTYSTRIP; in TIFFFlush()
62 tif->tif_flags &= ~TIFF_BEENWRITING; in TIFFFlush()
75 tif->tif_flags &= ~TIFF_DIRTYSTRIP; in TIFFFlush()
76 tif->tif_flags &= ~TIFF_BEENWRITING; in TIFFFlush()
82 if ((tif->tif_flags & (TIFF_DIRTYDIRECT|TIFF_DIRTYSTRIP)) in TIFFFlush()
101 if ((tif->tif_flags & TIFF_BEENWRITING) == 0) in TIFFFlushData()
103 if (tif->tif_flags & TIFF_POSTENCODE) { in TIFFFlushData()
104 tif->tif_flags &= ~TIFF_POSTENCODE; in TIFFFlushData()
Dtif_write.c38 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),0,module))
40 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),1,module))
42 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \
65 tif->tif_flags |= TIFF_BUF4WRITE; /* not strictly sure this is right*/ in TIFFWriteScanline()
120 if ((tif->tif_flags & TIFF_CODERSETUP) == 0) { in TIFFWriteScanline()
123 tif->tif_flags |= TIFF_CODERSETUP; in TIFFWriteScanline()
140 tif->tif_flags |= TIFF_POSTENCODE; in TIFFWriteScanline()
220 tif->tif_flags |= TIFF_BUF4WRITE; in TIFFWriteEncodedStrip()
224 if ((tif->tif_flags & TIFF_CODERSETUP) == 0) { in TIFFWriteEncodedStrip()
227 tif->tif_flags |= TIFF_CODERSETUP; in TIFFWriteEncodedStrip()
[all …]
Dtif_read.c69 if ((tif->tif_flags & TIFF_MYBUFFER) == 0) { in TIFFFillStripPartial()
96 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
124 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
150 (tif->tif_flags & TIFF_NOBITREV) == 0) { in TIFFFillStripPartial()
151 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
372 assert((tif->tif_flags&TIFF_NOREADRAW)==0); in TIFFReadRawStrip1()
454 if (tif->tif_flags&TIFF_NOREADRAW) in TIFFReadRawStrip()
498 if ((tif->tif_flags&TIFF_NOREADRAW)==0) in TIFFFillStrip()
517 || (tif->tif_flags & TIFF_NOBITREV))) { in TIFFFillStrip()
529 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillStrip()
[all …]
Dtif_dirread.c794 if (!(tif->tif_flags&TIFF_BIGTIFF)) in TIFFReadDirEntryArray()
802 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryArray()
820 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryArray()
905 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
923 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
941 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
959 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
977 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
995 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
1084 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntrySbyteArray()
[all …]
Dtif_dirwrite.c230 if (!(tif->tif_flags&TIFF_BIGTIFF)) in TIFFRewriteDirectory()
259 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
268 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
318 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
334 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
383 if (tif->tif_flags & TIFF_POSTENCODE) in TIFFWriteDirectorySec()
385 tif->tif_flags &= ~TIFF_POSTENCODE; in TIFFWriteDirectorySec()
402 && (tif->tif_flags & TIFF_BEENWRITING) != 0 ) in TIFFWriteDirectorySec()
411 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) in TIFFWriteDirectorySec()
420 tif->tif_flags &= ~(TIFF_BEENWRITING|TIFF_BUFFERSETUP); in TIFFWriteDirectorySec()
[all …]
Dtif_dir.c196 if (tif->tif_flags & TIFF_SWAB) { in _TIFFVSetField()
222 tif->tif_flags &= ~TIFF_CODERSETUP; in _TIFFVSetField()
274 if (tif->tif_flags & TIFF_PERSAMPLE) in _TIFFVSetField()
280 if (tif->tif_flags & TIFF_PERSAMPLE) in _TIFFVSetField()
343 tif->tif_flags |= TIFF_ISTILED; in _TIFFVSetField()
354 tif->tif_flags |= TIFF_ISTILED; in _TIFFVSetField()
394 if ((tif->tif_flags & TIFF_INSUBIFD) == 0) { in _TIFFVSetField()
435 tif->tif_flags |= TIFF_PERSAMPLE; in _TIFFVSetField()
437 tif->tif_flags &= ~TIFF_PERSAMPLE; in _TIFFVSetField()
670 tif->tif_flags |= TIFF_DIRTYDIRECT; in _TIFFVSetField()
[all …]
Dtiffiop.h101 uint32 tif_flags; member
208 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0)
209 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0)
210 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0)
211 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0)
Dtif_jbig.c190 tif->tif_flags |= TIFF_NOBITREV; in TIFFInitJBIG()
191 tif->tif_flags &= ~TIFF_MAPPED; in TIFFInitJBIG()
Dtif_jpeg_12.c47 tif->tif_flags |= TIFF_NOBITREV; /* no bit reversal, please */ in TIFFReInitJPEG_12()
Dtif_close.c72 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup()
Dtif_predict.c139 if (tif->tif_flags & TIFF_SWAB) { in PredictorSetupDecode()
170 if (tif->tif_flags & TIFF_SWAB) { in PredictorSetupDecode()
659 tif->tif_flags |= TIFF_DIRTYDIRECT; in PredictorVSetField()
Dtif_print.c482 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
489 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
Dtif_compress.c157 tif->tif_flags &= ~(TIFF_NOBITREV|TIFF_NOREADRAW); in _TIFFSetDefaultCompressionState()
/external/pdfium/third_party/libtiff/
Dtif_open.c157 tif->tif_flags = FILLORDER_MSB2LSB;
159 tif->tif_flags |= TIFF_MAPPED;
163 tif->tif_flags |= STRIPCHOP_DEFAULT;
223 tif->tif_flags |= TIFF_SWAB;
229 tif->tif_flags |= TIFF_SWAB;
233 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
237 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
241 tif->tif_flags = (tif->tif_flags &~ TIFF_FILLORDER) |
246 tif->tif_flags |= TIFF_MAPPED;
250 tif->tif_flags &= ~TIFF_MAPPED;
[all …]
Dtif_flush.c46 if( (tif->tif_flags & TIFF_DIRTYSTRIP) in TIFFFlush()
47 && !(tif->tif_flags & TIFF_DIRTYDIRECT) in TIFFFlush()
61 tif->tif_flags &= ~TIFF_DIRTYSTRIP; in TIFFFlush()
62 tif->tif_flags &= ~TIFF_BEENWRITING; in TIFFFlush()
75 tif->tif_flags &= ~TIFF_DIRTYSTRIP; in TIFFFlush()
76 tif->tif_flags &= ~TIFF_BEENWRITING; in TIFFFlush()
82 if ((tif->tif_flags & (TIFF_DIRTYDIRECT|TIFF_DIRTYSTRIP)) in TIFFFlush()
101 if ((tif->tif_flags & TIFF_BEENWRITING) == 0) in TIFFFlushData()
103 if (tif->tif_flags & TIFF_POSTENCODE) { in TIFFFlushData()
104 tif->tif_flags &= ~TIFF_POSTENCODE; in TIFFFlushData()
Dtif_write.c38 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),0,module))
40 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),1,module))
42 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \
65 tif->tif_flags |= TIFF_BUF4WRITE; /* not strictly sure this is right*/ in TIFFWriteScanline()
124 if ((tif->tif_flags & TIFF_CODERSETUP) == 0) { in TIFFWriteScanline()
127 tif->tif_flags |= TIFF_CODERSETUP; in TIFFWriteScanline()
144 tif->tif_flags |= TIFF_POSTENCODE; in TIFFWriteScanline()
224 tif->tif_flags |= TIFF_BUF4WRITE; in TIFFWriteEncodedStrip()
233 if ((tif->tif_flags & TIFF_CODERSETUP) == 0) { in TIFFWriteEncodedStrip()
236 tif->tif_flags |= TIFF_CODERSETUP; in TIFFWriteEncodedStrip()
[all …]
Dtif_read.c69 if ((tif->tif_flags & TIFF_MYBUFFER) == 0) { in TIFFFillStripPartial()
96 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
124 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
150 (tif->tif_flags & TIFF_NOBITREV) == 0) { in TIFFFillStripPartial()
151 assert((tif->tif_flags&TIFF_BUFFERMMAP)==0); in TIFFFillStripPartial()
372 assert((tif->tif_flags&TIFF_NOREADRAW)==0); in TIFFReadRawStrip1()
454 if (tif->tif_flags&TIFF_NOREADRAW) in TIFFReadRawStrip()
498 if ((tif->tif_flags&TIFF_NOREADRAW)==0) in TIFFFillStrip()
517 || (tif->tif_flags & TIFF_NOBITREV))) { in TIFFFillStrip()
529 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillStrip()
[all …]
Dtif_dirread.c794 if (!(tif->tif_flags&TIFF_BIGTIFF)) in TIFFReadDirEntryArray()
802 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryArray()
820 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryArray()
905 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
923 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
941 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
959 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
977 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
995 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntryByteArray()
1084 if (tif->tif_flags&TIFF_SWAB) in TIFFReadDirEntrySbyteArray()
[all …]
Dtif_dirwrite.c230 if (!(tif->tif_flags&TIFF_BIGTIFF)) in TIFFRewriteDirectory()
259 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
268 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
318 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
334 if (tif->tif_flags & TIFF_SWAB) in TIFFRewriteDirectory()
383 if (tif->tif_flags & TIFF_POSTENCODE) in TIFFWriteDirectorySec()
385 tif->tif_flags &= ~TIFF_POSTENCODE; in TIFFWriteDirectorySec()
402 && (tif->tif_flags & TIFF_BEENWRITING) != 0 ) in TIFFWriteDirectorySec()
411 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) in TIFFWriteDirectorySec()
420 tif->tif_flags &= ~(TIFF_BEENWRITING|TIFF_BUFFERSETUP); in TIFFWriteDirectorySec()
[all …]
Dtif_dir.c198 if (tif->tif_flags & TIFF_SWAB) { in _TIFFVSetField()
224 tif->tif_flags &= ~TIFF_CODERSETUP; in _TIFFVSetField()
276 if (tif->tif_flags & TIFF_PERSAMPLE) in _TIFFVSetField()
282 if (tif->tif_flags & TIFF_PERSAMPLE) in _TIFFVSetField()
351 tif->tif_flags |= TIFF_ISTILED; in _TIFFVSetField()
362 tif->tif_flags |= TIFF_ISTILED; in _TIFFVSetField()
402 if ((tif->tif_flags & TIFF_INSUBIFD) == 0) { in _TIFFVSetField()
443 tif->tif_flags |= TIFF_PERSAMPLE; in _TIFFVSetField()
445 tif->tif_flags &= ~TIFF_PERSAMPLE; in _TIFFVSetField()
678 tif->tif_flags |= TIFF_DIRTYDIRECT; in _TIFFVSetField()
[all …]
Dtiffiop.h106 uint32 tif_flags; member
213 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0)
214 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0)
215 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0)
216 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0)
Dtif_close.c72 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup()
Dtif_predict.c141 if (tif->tif_flags & TIFF_SWAB) { in PredictorSetupDecode()
172 if (tif->tif_flags & TIFF_SWAB) { in PredictorSetupDecode()
220 if (tif->tif_flags & TIFF_SWAB) { in PredictorSetupEncode()
689 tif->tif_flags |= TIFF_DIRTYDIRECT; in PredictorVSetField()
Dtif_print.c484 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()
491 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory()

12