FileYUV Class Reference

#include <fileyuv.h>

Inherits FileBase.

Collaboration diagram for FileYUV:

Collaboration graph
[legend]

Public Member Functions

 FileYUV (Asset *asset, File *file)
 ~FileYUV ()
int open_file (int rd, int wr)
int colormodel_supported (int colormodel)
int read_frame (VFrame *frame)
int write_frames (VFrame ***frame, int len)
int can_copy_from (Edit *edit, int64_t position)
int close_file ()
int set_video_position (int64_t x)
void ensure_temp (int width, int height)

Static Public Member Functions

static void get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int video_options, FormatTools *format)
static int check_sig (Asset *asset)
static int get_best_colormodel (Asset *asset, int driver)

Private Attributes

VFrametemp
YUVStreamstream
Assetincoming_asset
FFMPEGffmpeg
int pipe_latency

Detailed Description

Definition at line 14 of file fileyuv.h.


Constructor & Destructor Documentation

FileYUV::FileYUV ( Asset asset,
File file 
)

Definition at line 20 of file fileyuv.C.

References Asset::byte_order, ffmpeg, Asset::format, pipe_latency, stream, and temp.

FileYUV::~FileYUV (  ) 

Definition at line 31 of file fileyuv.C.

References stream.


Member Function Documentation

void FileYUV::get_parameters ( BC_WindowBase parent_window,
Asset asset,
BC_WindowBase *&  format_window,
int  video_options,
FormatTools format 
) [static]

int FileYUV::open_file ( int  rd,
int  wr 
) [virtual]

int FileYUV::check_sig ( Asset asset  )  [static]

Definition at line 263 of file fileyuv.C.

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

Referenced by File::open_file().

Here is the call graph for this function:

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

Definition at line 295 of file fileyuv.C.

References BC_YUV420P.

Referenced by File::get_best_colormodel().

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

Reimplemented from FileBase.

Definition at line 302 of file fileyuv.C.

int FileYUV::read_frame ( VFrame frame  )  [virtual]

int FileYUV::write_frames ( VFrame ***  frame,
int  len 
) [virtual]

int FileYUV::can_copy_from ( Edit edit,
int64_t  position 
) [virtual]

Reimplemented from FileBase.

Definition at line 278 of file fileyuv.C.

References Edit::asset, FFMPEG::codec_id(), CODEC_ID_NONE, Asset::format, incoming_asset, and Asset::vcodec.

Here is the call graph for this function:

int FileYUV::close_file (  )  [virtual]

int FileYUV::set_video_position ( int64_t  x  )  [virtual]

Reimplemented from FileBase.

Definition at line 114 of file fileyuv.C.

References YUVStream::seek_frame(), and stream.

Here is the call graph for this function:

void FileYUV::ensure_temp ( int  width,
int  height 
)

Definition at line 324 of file fileyuv.C.

References BC_YUV420P, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), and temp.

Referenced by close_file(), read_frame(), and write_frames().

Here is the call graph for this function:


Field Documentation

VFrame* FileYUV::temp [private]

Definition at line 40 of file fileyuv.h.

Referenced by check_sig(), close_file(), ensure_temp(), FileYUV(), read_frame(), and write_frames().

Definition at line 42 of file fileyuv.h.

Referenced by can_copy_from(), close_file(), and write_frames().

FFMPEG* FileYUV::ffmpeg [private]

Definition at line 43 of file fileyuv.h.

Referenced by close_file(), FileYUV(), and write_frames().

int FileYUV::pipe_latency [private]

Definition at line 44 of file fileyuv.h.

Referenced by close_file(), FileYUV(), and write_frames().


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

Generated on Mon Apr 28 14:25:53 2008 for Cinelerra by  doxygen 1.5.5