FileAC3 Class Reference

#include <fileac3.h>

Inherits FileBase.

Collaboration diagram for FileAC3:

Collaboration graph
[legend]

Public Member Functions

 FileAC3 (Asset *asset, File *file)
 ~FileAC3 ()
int reset_parameters_derived ()
int open_file (int rd, int wr)
int close_file ()
int write_samples (double **buffer, int64_t len)

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

Private Attributes

AVCodeccodec
AVCodecContextcodec_context
FILE * fd
int16_t * temp_raw
int temp_raw_allocated
int temp_raw_size
unsigned char * temp_compressed
int compressed_allocated

Detailed Description

Definition at line 12 of file fileac3.h.


Constructor & Destructor Documentation

FileAC3::FileAC3 ( Asset asset,
File file 
)

Definition at line 12 of file fileac3.C.

References FileBase::reset_parameters().

Here is the call graph for this function:

FileAC3::~FileAC3 (  ) 

Definition at line 18 of file fileac3.C.

References close_file().

Here is the call graph for this function:


Member Function Documentation

int FileAC3::reset_parameters_derived (  )  [virtual]

Reimplemented from FileBase.

Definition at line 23 of file fileac3.C.

References codec, codec_context, compressed_allocated, fd, temp_compressed, temp_raw, temp_raw_allocated, and temp_raw_size.

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

Definition at line 35 of file fileac3.C.

References AC3ConfigAudio::create_objects(), BC_WindowBase::run_window(), and window.

Referenced by File::get_options().

Here is the call graph for this function:

int FileAC3::check_sig (  )  [static]

Definition at line 52 of file fileac3.C.

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

int FileAC3::close_file (  )  [virtual]

Reimplemented from FileBase.

Definition at line 105 of file fileac3.C.

References avcodec_close(), FileBase::close_file(), codec, codec_context, fclose(), fd, FileBase::reset_parameters(), temp_compressed, and temp_raw.

Referenced by ~FileAC3().

Here is the call graph for this function:

int FileAC3::write_samples ( double **  buffer,
int64_t  len 
) [virtual]


Field Documentation

AVCodec* FileAC3::codec [private]

Definition at line 30 of file fileac3.h.

Referenced by close_file(), open_file(), and reset_parameters_derived().

Definition at line 31 of file fileac3.h.

Referenced by close_file(), open_file(), reset_parameters_derived(), and write_samples().

FILE* FileAC3::fd [private]

Definition at line 32 of file fileac3.h.

Referenced by close_file(), open_file(), reset_parameters_derived(), and write_samples().

int16_t* FileAC3::temp_raw [private]

Definition at line 33 of file fileac3.h.

Referenced by close_file(), reset_parameters_derived(), and write_samples().

Definition at line 34 of file fileac3.h.

Referenced by reset_parameters_derived(), and write_samples().

int FileAC3::temp_raw_size [private]

Definition at line 35 of file fileac3.h.

Referenced by reset_parameters_derived(), and write_samples().

unsigned char* FileAC3::temp_compressed [private]

Definition at line 36 of file fileac3.h.

Referenced by close_file(), reset_parameters_derived(), and write_samples().

Definition at line 37 of file fileac3.h.

Referenced by reset_parameters_derived(), and write_samples().


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

Generated on Mon Apr 28 14:24:48 2008 for Cinelerra by  doxygen 1.5.5