FileEXR Class Reference

#include <fileexr.h>

Inherits FileList.

Collaboration diagram for FileEXR:

Collaboration graph
[legend]

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)
int64_t 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)

Data Fields

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 BC_RGB_FLOAT, 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().

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(), BC_WindowBase::run_window(), and window.

Referenced by File::get_options().

Here is the call graph for this function:

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

Definition at line 245 of file fileexr.C.

References BC_RGB_FLOAT, BC_RGBA_FLOAT, and Asset::exr_use_alpha.

Referenced by File::get_best_colormodel().

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

Reimplemented from FileBase.

Definition at line 240 of file fileexr.C.

References native_cmodel.

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

int FileEXR::read_frame ( VFrame frame,
VFrame data 
) [virtual]

int64_t 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.

Here is the call graph for this function:

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

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

Reimplemented from FileList.

Definition at line 519 of file fileexr.C.

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::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.

Here is the call graph for this function:

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().


Field Documentation

Definition at line 44 of file fileexr.h.

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

Definition at line 45 of file fileexr.h.

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

Definition at line 46 of file fileexr.h.

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

Definition at line 47 of file fileexr.h.

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

Definition at line 48 of file fileexr.h.

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


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

Generated on Mon Apr 28 14:24:59 2008 for Cinelerra by  doxygen 1.5.5