qtiffio.cpp File Reference

Go to the source code of this file.

Functions

static tsize_t tiff_read (thandle_t handle, tdata_t data, tsize_t size)
 QIODevice / libtiff read wrapper.
static tsize_t tiff_write (thandle_t handle, tdata_t data, tsize_t size)
 QIODevice / libtiff write wrapper.
static toff_t tiff_seek (thandle_t handle, toff_t offset, int whence)
 QIODevice / libtiff seek wrapper.
static int tiff_close (thandle_t)
 QIODevice / libtiff close wrapper.
static toff_t tiff_size (thandle_t handle)
 QIODevice / libtiff size wrapper.
static int tiff_mmap (thandle_t, tdata_t *, toff_t *)
 QIODevice / libtiff mmap wrapper.
static void tiff_unmap (thandle_t, tdata_t, toff_t)
 QIODevice / libtiff write wrapper.
static void read_tiff_image (QImageIO *iio)
 QImageIO read handler for TIFF files.
static void write_tiff_image (QImageIO *iio)
 QImageIO write handler for TIFF files.
void qInitTiffIO ()
 Add TIFF format capability to QImage.


Function Documentation

static tsize_t tiff_read ( thandle_t  handle,
tdata_t  data,
tsize_t  size 
) [static]

QIODevice / libtiff read wrapper.

Definition at line 33 of file qtiffio.cpp.

Referenced by read_tiff_image().

static tsize_t tiff_write ( thandle_t  handle,
tdata_t  data,
tsize_t  size 
) [static]

QIODevice / libtiff write wrapper.

Definition at line 40 of file qtiffio.cpp.

Referenced by read_tiff_image().

static toff_t tiff_seek ( thandle_t  handle,
toff_t  offset,
int  whence 
) [static]

QIODevice / libtiff seek wrapper.

Returns:
the current file position. libtiff wants that.

Definition at line 49 of file qtiffio.cpp.

Referenced by read_tiff_image().

static int tiff_close ( thandle_t   )  [static]

QIODevice / libtiff close wrapper.

This is a dummy, the IO device's owner will close it.

Definition at line 66 of file qtiffio.cpp.

Referenced by read_tiff_image().

static toff_t tiff_size ( thandle_t  handle  )  [static]

QIODevice / libtiff size wrapper.

Definition at line 72 of file qtiffio.cpp.

Referenced by read_tiff_image().

static int tiff_mmap ( thandle_t  ,
tdata_t *  ,
toff_t *   
) [static]

QIODevice / libtiff mmap wrapper.

Warning:
always returns MAP_FAILED.

Definition at line 80 of file qtiffio.cpp.

Referenced by read_tiff_image().

static void tiff_unmap ( thandle_t  ,
tdata_t  ,
toff_t   
) [static]

QIODevice / libtiff write wrapper.

Warning:
because you can't mmap, this is a dummy.

Definition at line 87 of file qtiffio.cpp.

Referenced by read_tiff_image().

static void read_tiff_image ( QImageIO *  iio  )  [static]

QImageIO read handler for TIFF files.

Definition at line 92 of file qtiffio.cpp.

Referenced by qInitTiffIO().

static void write_tiff_image ( QImageIO *  iio  )  [static]

QImageIO write handler for TIFF files.

Definition at line 170 of file qtiffio.cpp.

Referenced by qInitTiffIO().

void qInitTiffIO (  ) 

Add TIFF format capability to QImage.

Definition at line 180 of file qtiffio.cpp.

Referenced by mythplugin_init().


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5