hvirtual/cinelerra/filetiff.C File Reference

#include "asset.h"
#include "edit.h"
#include "file.h"
#include "filetiff.h"
#include "interlacemodes.h"
#include "language.h"
#include "vframe.h"
#include "mainerror.h"
#include <stdint.h>
#include <string.h>
#include <unistd.h>

Include dependency graph for filetiff.C:

Go to the source code of this file.

Functions

static tsize_t tiff_read (thandle_t ptr, tdata_t buf, tsize_t size)
static tsize_t tiff_write (thandle_t ptr, tdata_t buf, tsize_t size)
static toff_t tiff_seek (thandle_t ptr, toff_t off, int whence)
static int tiff_close (thandle_t ptr)
static toff_t tiff_size (thandle_t ptr)
static int tiff_mmap (thandle_t ptr, tdata_t *pbase, toff_t *psize)
void tiff_unmap (thandle_t ptr, tdata_t base, toff_t size)


Function Documentation

static int tiff_close ( thandle_t  ptr  )  [static]

Definition at line 262 of file filetiff.C.

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

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

Definition at line 273 of file filetiff.C.

References FileTIFFUnit::data, VFrame::get_compressed_size(), and VFrame::get_data().

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

Here is the call graph for this function:

static tsize_t tiff_read ( thandle_t  ptr,
tdata_t  buf,
tsize_t  size 
) [static]

Definition at line 216 of file filetiff.C.

References FileTIFFUnit::data, VFrame::get_compressed_size(), VFrame::get_data(), memcpy, and FileTIFFUnit::offset.

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

Here is the call graph for this function:

static toff_t tiff_seek ( thandle_t  ptr,
toff_t  off,
int  whence 
) [static]

Definition at line 244 of file filetiff.C.

References FileTIFFUnit::data, VFrame::get_compressed_size(), and FileTIFFUnit::offset.

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

Here is the call graph for this function:

static toff_t tiff_size ( thandle_t  ptr  )  [static]

Definition at line 267 of file filetiff.C.

References FileTIFFUnit::data, and VFrame::get_compressed_size().

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

Here is the call graph for this function:

void tiff_unmap ( thandle_t  ptr,
tdata_t  base,
toff_t  size 
)

Definition at line 281 of file filetiff.C.

Referenced by FileTIFF::read_frame(), and FileTIFF::write_frame().

static tsize_t tiff_write ( thandle_t  ptr,
tdata_t  buf,
tsize_t  size 
) [static]


Generated on Mon Apr 28 13:54:25 2008 for Cinelerra by  doxygen 1.5.5