OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Structures | Namespaces | Functions
tiff_util.hh File Reference
#include <ost/stdint.hh>
#include <tiff.h>
#include <tiffio.h>
#include <boost/filesystem.hpp>
#include <ost/img/alg/normalizer_factory.hh>
#include <ost/io/img/image_format.hh>

Go to the source code of this file.

Data Structures

struct  tiff_warning_handler_wrapper
 
class  complexint32
 
class  complexint16
 
class  complexint8
 

Namespaces

 ost
 
 ost::io
 
 ost::io::detail
 

Functions

void tiff_warning_handler (const char *mod, const char *fmt, va_list ap)
 
tsize_t CustomTIFFReadProcIStream (thandle_t thandle, tdata_t tdata, tsize_t tsize)
 
tsize_t CustomTIFFReadProcOStream (thandle_t thandle, tdata_t tdata, tsize_t tsize)
 
tsize_t CustomTIFFWriteProcIStream (thandle_t thandle, tdata_t tdata, tsize_t tsize)
 
tsize_t CustomTIFFWriteProcOStream (thandle_t thandle, tdata_t tdata, tsize_t tsize)
 
toff_t CustomTIFFSeekProcIStream (thandle_t thandle, toff_t toff, int dir)
 
toff_t CustomTIFFSeekProcOStream (thandle_t thandle, toff_t toff, int dir)
 
int CustomTIFFCloseProc (thandle_t thandle)
 
toff_t CustomTIFFSizeProcIStream (thandle_t thandle)
 
toff_t CustomTIFFSizeProcOStream (thandle_t thandle)
 
int CustomTIFFMapFileProc (thandle_t thandle, tdata_t *tdata, toff_t *toff)
 
void CustomTIFFUnmapFileProc (thandle_t thandle, tdata_t tdata, toff_t toff)
 
template<typename IN_TYPE , typename OUT_TYPE , class IST >
void do_tiff_read (tdata_t buf, unsigned int rps, unsigned int width, IST *is, unsigned int &current_row, uint16_t spp)
 
template<typename IN_TYPE , typename OUT_TYPE , class IST >
void do_tiff_write (TIFF *tif, IST *is, unsigned int rowsperstrip, unsigned int width, unsigned int height, unsigned int strip, const img::NormalizerPtr &nptr)