FileTIFF Class Reference

#include <filetiff.h>

Inherits FileList.

Collaboration diagram for FileTIFF:

Collaboration graph
[legend]

Public Types

enum  {
  NONE, RGB_888, RGB_161616, RGBA_8888,
  RGBA_16161616, RGB_FLOAT, RGBA_FLOAT, GREYSCALE,
  LZW, PACK_BITS, DEFLATE, JPEG
}

Public Member Functions

 FileTIFF (Asset *asset, File *file)
 ~FileTIFF ()
int can_copy_from (Edit *edit, int64_t position)
int colormodel_supported (int colormodel)
int get_best_colormodel (Asset *asset, int driver)
int read_frame_header (char *path)
int read_frame (VFrame *output, VFrame *input)
int write_frame (VFrame *frame, VFrame *data, FrameWriterUnit *unit)
FrameWriterUnitnew_writer_unit (FrameWriter *writer)

Static Public Member Functions

static void get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int audio_options, int video_options)
static int check_sig (Asset *asset)
static char * compression_to_str (int value)
static char * cmodel_to_str (int value)

Data Fields

Mutexunit_lock

Detailed Description

Definition at line 14 of file filetiff.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NONE 
RGB_888 
RGB_161616 
RGBA_8888 
RGBA_16161616 
RGB_FLOAT 
RGBA_FLOAT 
GREYSCALE 
LZW 
PACK_BITS 
DEFLATE 
JPEG 

Definition at line 36 of file filetiff.h.


Constructor & Destructor Documentation

FileTIFF::FileTIFF ( Asset asset,
File file 
)

Definition at line 14 of file filetiff.C.

References FileList::temp, and Asset::video_data.

FileTIFF::~FileTIFF (  ) 

Definition at line 21 of file filetiff.C.

References FileList::temp.


Member Function Documentation

void FileTIFF::get_parameters ( BC_WindowBase parent_window,
Asset asset,
BC_WindowBase *&  format_window,
int  audio_options,
int  video_options 
) [static]

Definition at line 27 of file filetiff.C.

References TIFFConfigVideo::create_objects(), BC_WindowBase::run_window(), and window.

Referenced by File::get_options().

Here is the call graph for this function:

int FileTIFF::check_sig ( Asset asset  )  [static]

Definition at line 44 of file filetiff.C.

References fclose(), fopen(), fread(), and Asset::path.

Referenced by File::open_file().

Here is the call graph for this function:

char * FileTIFF::compression_to_str ( int  value  )  [static]

Definition at line 80 of file filetiff.C.

References DEFLATE, JPEG, LZW, NONE, and PACK_BITS.

char * FileTIFF::cmodel_to_str ( int  value  )  [static]

Definition at line 95 of file filetiff.C.

References GREYSCALE, RGB_161616, RGB_888, RGB_FLOAT, RGBA_16161616, RGBA_8888, and RGBA_FLOAT.

int FileTIFF::can_copy_from ( Edit edit,
int64_t  position 
) [virtual]

Reimplemented from FileBase.

Definition at line 113 of file filetiff.C.

References Edit::asset, and Asset::format.

int FileTIFF::colormodel_supported ( int  colormodel  )  [virtual]

int FileTIFF::get_best_colormodel ( Asset asset,
int  driver 
)

int FileTIFF::read_frame_header ( char *  path  )  [virtual]

int FileTIFF::read_frame ( VFrame output,
VFrame input 
) [virtual]

int FileTIFF::write_frame ( VFrame frame,
VFrame data,
FrameWriterUnit unit 
) [virtual]

FrameWriterUnit * FileTIFF::new_writer_unit ( FrameWriter writer  )  [virtual]

Reimplemented from FileList.

Definition at line 530 of file filetiff.C.


Field Documentation

Definition at line 56 of file filetiff.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:25:46 2008 for Cinelerra by  doxygen 1.5.5