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

FileJPEG Class Reference

#include <filejpeg.h>

Inheritance diagram for FileJPEG:

FileList FileBase List of all members.

Public Member Functions

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

Static Public Member Functions

static int check_sig (Asset *asset)
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)

Public Attributes

void * decompressor

Detailed Description

Definition at line 8 of file filejpeg.h.


Constructor & Destructor Documentation

FileJPEG::FileJPEG Asset asset,
File file
 

Definition at line 17 of file filejpeg.C.

References decompressor.

FileJPEG::~FileJPEG  ) 
 

Definition at line 23 of file filejpeg.C.

References decompressor.


Member Function Documentation

int FileJPEG::can_copy_from Edit edit,
int64_t  position
[virtual]
 

Reimplemented from FileBase.

Definition at line 78 of file filejpeg.C.

References Edit::asset, Asset::format, FileBase::match4(), and Asset::vcodec.

int FileJPEG::check_sig Asset asset  )  [static]
 

Definition at line 29 of file filejpeg.C.

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

Referenced by File::open_file().

int FileJPEG::colormodel_supported int  colormodel  )  [virtual]
 

Reimplemented from FileBase.

Definition at line 93 of file filejpeg.C.

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

Definition at line 99 of file filejpeg.C.

Referenced by File::get_best_colormodel().

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

Definition at line 61 of file filejpeg.C.

References JPEGConfigVideo::create_objects().

Referenced by File::get_options().

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

Reimplemented from FileList.

Definition at line 233 of file filejpeg.C.

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

Reimplemented from FileList.

Definition at line 210 of file filejpeg.C.

References FileBase::asset, decompressor, Asset::height, and Asset::width.

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

Reimplemented from FileList.

Definition at line 171 of file filejpeg.C.

References FileBase::asset, fclose(), fopen(), Asset::height, Asset::interlace_mode, and Asset::width.

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

Reimplemented from FileList.

Definition at line 133 of file filejpeg.C.

References FileBase::asset, JPEGUnit::compressor, Asset::height, Asset::jpeg_quality, and Asset::width.


Member Data Documentation

void* FileJPEG::decompressor
 

Definition at line 30 of file filejpeg.h.

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


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