FileJPEG Class Reference

#include <filejpeg.h>

Inherits FileList.

Collaboration diagram for FileJPEG:

Collaboration graph
[legend]

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)

Data Fields

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

Here is the call graph for this function:


Member Function Documentation

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

Here is the call graph for this function:

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

Referenced by File::get_options().

Here is the call graph for this function:

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

Definition at line 99 of file filejpeg.C.

References BC_RGB888, BC_YUV420P, BC_YUV422, BC_YUV422P, and BC_YUV888.

Referenced by File::get_best_colormodel().

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

Reimplemented from FileBase.

Definition at line 93 of file filejpeg.C.

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

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

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(), QUICKTIME_JPEG, and Asset::vcodec.

Here is the call graph for this function:

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

Reimplemented from FileList.

Definition at line 175 of file filejpeg.C.

References FileBase::asset, BC_ILACE_MODE_NOTINTERLACED, eprintf, fclose(), fopen(), Asset::height, Asset::interlace_mode, Asset::path, TRUE, and Asset::width.

Here is the call graph for this function:

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

Reimplemented from FileList.

Definition at line 234 of file filejpeg.C.


Field Documentation

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 Mon Apr 28 14:25:09 2008 for Cinelerra by  doxygen 1.5.5