35 TIFFNoEncode(
TIFF* tif,
const char* method)
41 "%s %s encoding is not implemented",
45 "Compression scheme %u %s encoding is not implemented",
54 (void) pp; (void) cc; (void) s;
55 return (TIFFNoEncode(tif,
"scanline"));
61 (void) pp; (void) cc; (void) s;
62 return (TIFFNoEncode(tif,
"strip"));
68 (void) pp; (void) cc; (void) s;
69 return (TIFFNoEncode(tif,
"tile"));
73 TIFFNoDecode(
TIFF* tif,
const char* method)
79 "%s %s decoding is not implemented",
83 "Compression scheme %u %s decoding is not implemented",
91 (void) pp; (void) cc; (void) s;
92 return (TIFFNoDecode(tif,
"scanline"));
98 (void) pp; (void) cc; (void) s;
99 return (TIFFNoDecode(tif,
"strip"));
105 (void) pp; (void) cc; (void) s;
106 return (TIFFNoDecode(tif,
"tile"));
114 "Compression algorithm does not support random access");
121 (void) tif; (void) s;
125 static int _TIFFtrue(
TIFF* tif) { (void) tif;
return (1); }
126 static void _TIFFvoid(
TIFF* tif) { (void) tif; }
164 return (c ? (*c->
init)(tif, scheme) : 1);
176 static codec_t* registeredCODECS = NULL;
184 for (cd = registeredCODECS; cd; cd = cd->
next)
206 cd->
next = registeredCODECS;
207 registeredCODECS = cd;
210 "No space to register compression scheme %s", name);
222 for (pcd = ®isteredCODECS; (cd = *pcd); pcd = &cd->
next)
229 "Cannot remove compression scheme %s; not registered", c->
name);
252 for (cd = registeredCODECS; cd; cd = cd->
next) {
TIFFCodeMethod tif_decoderow
int _TIFFNoStripEncode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
TIFFPreMethod tif_predecode
TIFFCodec _TIFFBuiltinCODECS[]
TIFFCodeMethod tif_encodestrip
TIFFCodeMethod tif_encoderow
int(* TIFFInitMethod)(TIFF *, int)
int _TIFFNoRowEncode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
int _TIFFNoSeek(TIFF *tif, uint32 off)
int _TIFFNoTileEncode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
void _TIFFmemcpy(tdata_t d, const tdata_t s, tsize_t c)
TIFFCodec * TIFFRegisterCODEC(uint16 scheme, const char *name, TIFFInitMethod init)
int _TIFFNoStripDecode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
TIFFCodeMethod tif_decodestrip
TIFFCodeMethod tif_encodetile
int _TIFFNoPreCode(TIFF *tif, tsample_t s)
TIFFTileMethod tif_deftilesize
TIFFPreMethod tif_preencode
uint32 _TIFFDefaultStripSize(TIFF *tif, uint32 s)
TIFFBoolMethod tif_postencode
int _TIFFNoTileDecode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
void * _TIFFrealloc(tdata_t p, tsize_t s)
int _TIFFNoRowDecode(TIFF *tif, tidata_t pp, tsize_t cc, tsample_t s)
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
TIFFCodec * TIFFGetConfiguredCODECs()
TIFFCodeMethod tif_decodetile
const TIFFCodec * TIFFFindCODEC(uint16 scheme)
TIFFVoidMethod tif_cleanup
void _TIFFmemset(tdata_t p, int v, tsize_t c)
void _TIFFSetDefaultCompressionState(TIFF *tif)
void _TIFFDefaultTileSize(TIFF *tif, uint32 *tw, uint32 *th)
void TIFFUnRegisterCODEC(TIFFCodec *c)
int TIFFSetCompressionScheme(TIFF *tif, int scheme)
int TIFFIsCODECConfigured(uint16 scheme)
void * _TIFFmalloc(tsize_t s)
void _TIFFfree(tdata_t p)
TIFFBoolMethod tif_setupencode
TIFFStripMethod tif_defstripsize
TIFFBoolMethod tif_setupdecode