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

FileCR2 Class Reference

#include <filecr2.h>

Inheritance diagram for FileCR2:

FileBase List of all members.

Public Member Functions

 FileCR2 (Asset *asset, File *file)
 ~FileCR2 ()
void reset ()
int open_file (int rd, int wr)
int close_file ()
int read_frame (VFrame *frame)
int colormodel_supported (int colormodel)

Static Public Member Functions

static int check_sig (Asset *asset)

Private Member Functions

void format_to_asset ()

Detailed Description

Definition at line 26 of file filecr2.h.


Constructor & Destructor Documentation

FileCR2::FileCR2 Asset asset,
File file
 

Definition at line 12 of file filecr2.C.

References reset().

FileCR2::~FileCR2  ) 
 

Definition at line 18 of file filecr2.C.

References close_file().


Member Function Documentation

int FileCR2::check_sig Asset asset  )  [static]
 

Definition at line 28 of file filecr2.C.

References cr2_mutex, dcraw_main(), and Asset::path.

Referenced by File::open_file().

int FileCR2::close_file  )  [virtual]
 

Reimplemented from FileBase.

Definition at line 69 of file filecr2.C.

Referenced by ~FileCR2().

int FileCR2::colormodel_supported int  colormodel  )  [virtual]
 

Reimplemented from FileBase.

Definition at line 109 of file filecr2.C.

void FileCR2::format_to_asset  )  [private]
 

Definition at line 74 of file filecr2.C.

References FileBase::asset, dcraw_info, Asset::frame_rate, Asset::height, Asset::layers, Asset::video_data, Asset::video_length, and Asset::width.

Referenced by open_file().

int FileCR2::open_file int  rd,
int  wr
[virtual]
 

Reimplemented from FileBase.

Definition at line 49 of file filecr2.C.

References FileBase::asset, cr2_mutex, dcraw_main(), format_to_asset(), and Asset::path.

int FileCR2::read_frame VFrame *  frame  )  [virtual]
 

Reimplemented from FileBase.

Definition at line 84 of file filecr2.C.

References FileBase::asset, cr2_mutex, dcraw_alpha, dcraw_data, dcraw_main(), and Asset::path.

void FileCR2::reset  ) 
 

Definition at line 24 of file filecr2.C.

Referenced by FileCR2().


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