Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FileEXR Class Reference

#include <fileexr.h>

Inheritance diagram for FileEXR:

FileList FileBase List of all members.

Public Types

enum  {
  NONE, PIZ, ZIP, ZIPS,
  RLE, PXR24
}

Public Member Functions

 FileEXR (Asset *asset, File *file)
 ~FileEXR ()
int colormodel_supported (int colormodel)
int read_frame_header (char *path)
int read_frame (VFrame *frame, VFrame *data)
int get_memory_usage ()
int write_frame (VFrame *frame, VFrame *data, FrameWriterUnit *unit)
FrameWriterUnitnew_writer_unit (FrameWriter *writer)

Static Public Member Functions

static int check_sig (Asset *asset, char *test)
static void get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int audio_options, int video_options)
static int get_best_colormodel (Asset *asset, int driver)
static char * compression_to_str (int compression)
static int str_to_compression (char *string)
static int compression_to_exr (int compression)

Public Attributes

int native_cmodel
int is_yuv
float * temp_y
float * temp_u
float * temp_v

Detailed Description

Definition at line 9 of file fileexr.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
NONE 
PIZ 
ZIP 
ZIPS 
RLE 
PXR24 

Definition at line 30 of file fileexr.h.


Constructor & Destructor Documentation

FileEXR::FileEXR Asset asset,
File file
 

Definition at line 150 of file fileexr.C.

References is_yuv, native_cmodel, temp_u, temp_v, and temp_y.

FileEXR::~FileEXR  ) 
 

Definition at line 160 of file fileexr.C.

References temp_u, temp_v, and temp_y.


Member Function Documentation

int FileEXR::check_sig Asset asset,
char *  test
[static]
 

Definition at line 212 of file fileexr.C.

Referenced by File::open_file().

int FileEXR::colormodel_supported int  colormodel  )  [virtual]
 

Reimplemented from FileBase.

Definition at line 240 of file fileexr.C.

References native_cmodel.

int FileEXR::compression_to_exr int  compression  )  [static]
 

Definition at line 181 of file fileexr.C.

References NONE, PIZ, PXR24, RLE, ZIP, and ZIPS.

Referenced by write_frame().

char * FileEXR::compression_to_str int  compression  )  [static]
 

Definition at line 167 of file fileexr.C.

References NONE, PIZ, PXR24, RLE, ZIP, and ZIPS.

Referenced by str_to_compression().

int FileEXR::get_best_colormodel Asset asset,
int  driver
[static]
 

Definition at line 245 of file fileexr.C.

References Asset::exr_use_alpha.

Referenced by File::get_best_colormodel().

int FileEXR::get_memory_usage  )  [virtual]
 

Reimplemented from FileList.

Definition at line 253 of file fileexr.C.

References FileBase::asset, FileList::get_memory_usage(), Asset::height, temp_y, and Asset::width.

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

Definition at line 224 of file fileexr.C.

References EXRConfigVideo::create_objects().

Referenced by File::get_options().

FrameWriterUnit * FileEXR::new_writer_unit FrameWriter writer  )  [virtual]
 

Reimplemented from FileList.

Definition at line 519 of file fileexr.C.

int FileEXR::read_frame VFrame *  frame,
VFrame *  data
[virtual]
 

Reimplemented from FileList.

Definition at line 308 of file fileexr.C.

References FileBase::asset, FileBase::file, Asset::height, is_yuv, temp_u, temp_v, temp_y, and Asset::width.

int FileEXR::read_frame_header char *  path  )  [virtual]
 

Reimplemented from FileList.

Definition at line 261 of file fileexr.C.

References FileBase::asset, FileBase::file, Asset::height, Asset::interlace_mode, is_yuv, native_cmodel, and Asset::width.

int FileEXR::str_to_compression char *  string  )  [static]
 

Definition at line 195 of file fileexr.C.

References compression_to_str(), NONE, PIZ, PXR24, RLE, ZIP, and ZIPS.

int FileEXR::write_frame VFrame *  frame,
VFrame *  data,
FrameWriterUnit unit
[virtual]
 

Reimplemented from FileList.

Definition at line 436 of file fileexr.C.

References FileBase::asset, compression_to_exr(), Asset::exr_compression, Asset::exr_use_alpha, FileBase::file, Asset::height, native_cmodel, EXRUnit::temp_frame, and Asset::width.


Member Data Documentation

int FileEXR::is_yuv
 

Definition at line 45 of file fileexr.h.

Referenced by FileEXR(), read_frame(), and read_frame_header().

int FileEXR::native_cmodel
 

Definition at line 44 of file fileexr.h.

Referenced by colormodel_supported(), FileEXR(), read_frame_header(), and write_frame().

float* FileEXR::temp_u
 

Definition at line 47 of file fileexr.h.

Referenced by FileEXR(), read_frame(), and ~FileEXR().

float* FileEXR::temp_v
 

Definition at line 48 of file fileexr.h.

Referenced by FileEXR(), read_frame(), and ~FileEXR().

float* FileEXR::temp_y
 

Definition at line 46 of file fileexr.h.

Referenced by FileEXR(), get_memory_usage(), read_frame(), and ~FileEXR().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:14 2006 for Cinelerra-svn by  doxygen 1.4.4