OpenStructure
Data Structures | Namespaces | Typedefs | 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_t
class  complexint16
class  complexint8

Namespaces

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

Typedefs

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

Functions

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