Lines Matching refs:tif

35 TIFFNoEncode(TIFF* tif, char* method)
37 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression);
41 TIFFError(tif->tif_name,
45 TIFFError(tif->tif_name, "%s %s encoding is not implemented",
50 TIFFError(tif->tif_name,
52 tif->tif_dir.td_compression, method);
58 _TIFFNoRowEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
61 return (TIFFNoEncode(tif, "scanline"));
65 _TIFFNoStripEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
68 return (TIFFNoEncode(tif, "strip"));
72 _TIFFNoTileEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
75 return (TIFFNoEncode(tif, "tile"));
79 TIFFNoDecode(TIFF* tif, char* method)
81 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression);
84 TIFFError(tif->tif_name, "%s %s decoding is not implemented",
87 TIFFError(tif->tif_name,
89 tif->tif_dir.td_compression, method);
94 _TIFFNoRowDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
97 return (TIFFNoDecode(tif, "scanline"));
101 _TIFFNoStripDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
104 return (TIFFNoDecode(tif, "strip"));
108 _TIFFNoTileDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s)
111 return (TIFFNoDecode(tif, "tile"));
115 _TIFFNoSeek(TIFF* tif, uint32 off)
118 TIFFError(tif->tif_name,
124 _TIFFNoPreCode(TIFF* tif, tsample_t s)
126 (void) tif; (void) s;
130 static int _TIFFtrue(TIFF* tif) { (void) tif; return (1); }
131 static void _TIFFvoid(TIFF* tif) { (void) tif; }
134 _TIFFSetDefaultCompressionState(TIFF* tif)
136 tif->tif_setupdecode = _TIFFtrue;
137 tif->tif_predecode = _TIFFNoPreCode;
138 tif->tif_decoderow = _TIFFNoRowDecode;
139 tif->tif_decodestrip = _TIFFNoStripDecode;
140 tif->tif_decodetile = _TIFFNoTileDecode;
141 tif->tif_setupencode = _TIFFtrue;
142 tif->tif_preencode = _TIFFNoPreCode;
143 tif->tif_postencode = _TIFFtrue;
144 tif->tif_encoderow = _TIFFNoRowEncode;
145 tif->tif_encodestrip = _TIFFNoStripEncode;
146 tif->tif_encodetile = _TIFFNoTileEncode;
147 tif->tif_close = _TIFFvoid;
148 tif->tif_seek = _TIFFNoSeek;
149 tif->tif_cleanup = _TIFFvoid;
150 tif->tif_defstripsize = _TIFFDefaultStripSize;
151 tif->tif_deftilesize = _TIFFDefaultTileSize;
152 tif->tif_flags &= ~TIFF_NOBITREV;
156 TIFFSetCompressionScheme(TIFF* tif, int scheme)
160 _TIFFSetDefaultCompressionState(tif);
167 return (c ? (*c->init)(tif, scheme) : 1);
201 _TIFFmalloc(tif, sizeof(codec_t)+ sizeof(TIFFCodec)+strlen(name)+1);
229 _TIFFfree(tif, cd);