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

FileDV Class Reference

#include <filedv.h>

Inheritance diagram for FileDV:

FileBase List of all members.

Public Member Functions

 FileDV (Asset *asset, File *file)
 ~FileDV ()
int reset_parameters_derived ()
int open_file (int rd, int wr)
int close_file ()
int close_file_derived ()
int64_t get_video_position ()
int64_t get_audio_position ()
int set_video_position (int64_t x)
int set_audio_position (int64_t x)
int write_samples (double **buffer, int64_t len)
int write_frames (VFrame ***frames, int len)
int read_compressed_frame (VFrame *buffer)
int write_compressed_frame (VFrame *buffers)
int64_t compressed_frame_size ()
int read_samples (double *buffer, int64_t len)
int read_frame (VFrame *frame)
int colormodel_supported (int colormodel)
int can_copy_from (Edit *edit, int64_t position)
int calculate_samples (int frame_count)

Static Public Member Functions

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

Private Attributes

FILE * stream
dv_decoder_t * decoder
dv_encoder_t * encoder
int64_t audio_position
int64_t video_position
unsigned char * output
unsigned char * input
int output_size
int64_t audio_offset
int64_t video_offset
int samples_offset [4]
int frames_written
int16_t ** audio_buffer
int samples_in_buffer
int isPAL
int current_frame

Detailed Description

Definition at line 16 of file filedv.h.


Constructor & Destructor Documentation

FileDV::FileDV Asset asset,
File file
 

FileDV::~FileDV  ) 
 


Member Function Documentation

int FileDV::calculate_samples int  frame_count  ) 
 

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

Reimplemented from FileBase.

static int FileDV::check_sig Asset asset  )  [static]
 

Referenced by File::open_file().

int FileDV::close_file  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::close_file_derived  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::colormodel_supported int  colormodel  )  [virtual]
 

Reimplemented from FileBase.

int64_t FileDV::compressed_frame_size  )  [virtual]
 

Reimplemented from FileBase.

int64_t FileDV::get_audio_position  )  [virtual]
 

Reimplemented from FileBase.

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

Referenced by File::get_best_colormodel().

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

Referenced by File::get_options().

int64_t FileDV::get_video_position  )  [virtual]
 

Reimplemented from FileBase.

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

Reimplemented from FileBase.

int FileDV::read_compressed_frame VFrame *  buffer  )  [virtual]
 

Reimplemented from FileBase.

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

Reimplemented from FileBase.

int FileDV::read_samples double *  buffer,
int64_t  len
[virtual]
 

Reimplemented from FileBase.

int FileDV::reset_parameters_derived  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::set_audio_position int64_t  x  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::set_video_position int64_t  x  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::write_compressed_frame VFrame *  buffers  )  [virtual]
 

Reimplemented from FileBase.

int FileDV::write_frames VFrame ***  frames,
int  len
[virtual]
 

Reimplemented from FileBase.

int FileDV::write_samples double **  buffer,
int64_t  len
[virtual]
 

Reimplemented from FileBase.


Member Data Documentation

int16_t** FileDV::audio_buffer [private]
 

Definition at line 67 of file filedv.h.

int64_t FileDV::audio_offset [private]
 

Definition at line 63 of file filedv.h.

int64_t FileDV::audio_position [private]
 

Definition at line 58 of file filedv.h.

int FileDV::current_frame [private]
 

Definition at line 70 of file filedv.h.

dv_decoder_t* FileDV::decoder [private]
 

Definition at line 56 of file filedv.h.

dv_encoder_t* FileDV::encoder [private]
 

Definition at line 57 of file filedv.h.

int FileDV::frames_written [private]
 

Definition at line 66 of file filedv.h.

unsigned char* FileDV::input [private]
 

Definition at line 61 of file filedv.h.

int FileDV::isPAL [private]
 

Definition at line 69 of file filedv.h.

unsigned char* FileDV::output [private]
 

Definition at line 60 of file filedv.h.

int FileDV::output_size [private]
 

Definition at line 62 of file filedv.h.

int FileDV::samples_in_buffer [private]
 

Definition at line 68 of file filedv.h.

int FileDV::samples_offset[4] [private]
 

Definition at line 65 of file filedv.h.

FILE* FileDV::stream [private]
 

Definition at line 50 of file filedv.h.

int64_t FileDV::video_offset [private]
 

Definition at line 64 of file filedv.h.

int64_t FileDV::video_position [private]
 

Definition at line 59 of file filedv.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 8 13:39:14 2006 for Cinelerra-svn by  doxygen 1.4.4