OpenStructure
Data Structures | Typedefs | Functions
ost::io::detail Namespace Reference

Data Structures

struct  SerializeWriteHelper
 
struct  SerializeWriteHelper< false, T >
 
struct  SerializeWriteHelper< true, T >
 
struct  SerializeHelper
 
struct  SerializeHelper< false, T >
 
struct  SerializeHelper< true, T >
 
struct  tiff_warning_handler_wrapper
 
class  complexint32
 
class  complexint16
 
class  complexint8
 

Typedefs

typedef void(* TIFFWarningHandler) (const char *, const char *, va_list)
 

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)
 
bool DLLEXPORT_OST_IO FilenameEndsWith (const String &target, const String &probe)
 

Typedef Documentation

◆ TIFFWarningHandler

typedef void(* TIFFWarningHandler)(const char *, const char *, va_list)

Definition at line 33 of file tiff_util.hh.

Function Documentation

◆ CustomTIFFCloseProc()

int CustomTIFFCloseProc ( thandle_t  thandle)

◆ CustomTIFFMapFileProc()

int CustomTIFFMapFileProc ( thandle_t  thandle,
tdata_t *  tdata,
toff_t *  toff 
)

◆ CustomTIFFReadProcIStream()

tsize_t CustomTIFFReadProcIStream ( thandle_t  thandle,
tdata_t  tdata,
tsize_t  tsize 
)

◆ CustomTIFFReadProcOStream()

tsize_t CustomTIFFReadProcOStream ( thandle_t  thandle,
tdata_t  tdata,
tsize_t  tsize 
)

◆ CustomTIFFSeekProcIStream()

toff_t CustomTIFFSeekProcIStream ( thandle_t  thandle,
toff_t  toff,
int  dir 
)

◆ CustomTIFFSeekProcOStream()

toff_t CustomTIFFSeekProcOStream ( thandle_t  thandle,
toff_t  toff,
int  dir 
)

◆ CustomTIFFSizeProcIStream()

toff_t CustomTIFFSizeProcIStream ( thandle_t  thandle)

◆ CustomTIFFSizeProcOStream()

toff_t CustomTIFFSizeProcOStream ( thandle_t  thandle)

◆ CustomTIFFUnmapFileProc()

void CustomTIFFUnmapFileProc ( thandle_t  thandle,
tdata_t  tdata,
toff_t  toff 
)

◆ CustomTIFFWriteProcIStream()

tsize_t CustomTIFFWriteProcIStream ( thandle_t  thandle,
tdata_t  tdata,
tsize_t  tsize 
)

◆ CustomTIFFWriteProcOStream()

tsize_t CustomTIFFWriteProcOStream ( thandle_t  thandle,
tdata_t  tdata,
tsize_t  tsize 
)

◆ do_tiff_read()

void do_tiff_read ( tdata_t  buf,
unsigned int  rps,
unsigned int  width,
IST *  is,
unsigned int &  current_row,
uint16_t  spp 
)

Definition at line 106 of file tiff_util.hh.

◆ do_tiff_write()

void do_tiff_write ( TIFF *  tif,
IST *  is,
unsigned int  rowsperstrip,
unsigned int  width,
unsigned int  height,
unsigned int  strip,
const img::NormalizerPtr nptr 
)

Definition at line 119 of file tiff_util.hh.

◆ FilenameEndsWith()

bool DLLEXPORT_OST_IO ost::io::detail::FilenameEndsWith ( const String target,
const String probe 
)

◆ tiff_warning_handler()

void tiff_warning_handler ( const char *  mod,
const char *  fmt,
va_list  ap 
)