#include <fileavi.h>
Inheritance diagram for FileAVI:

Public Member Functions | |
| FileAVI (Asset *asset, File *file) | |
| ~FileAVI () | |
| int | get_best_colormodel (int driver, int colormodel) |
| int | open_file (int rd, int wr) |
| int | close_file () |
| void | reset () |
| int | set_audio_position (int64_t x) |
| int | set_video_position (int64_t x) |
| int | write_samples (double **buffer, int64_t len) |
| int | write_frames (VFrame ***frames, int len) |
| int | write_compressed_frame (VFrame *buffer) |
| int | read_compressed_frame (VFrame *buffer) |
| int64_t | compressed_frame_size () |
| int | read_samples (double *buffer, int64_t len) |
| int | read_frame (VFrame *frame) |
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, int lock_compressor) |
| static char * | vcodec_to_fourcc (char *input, char *output) |
| static char * | fourcc_to_vcodec (char *input, char *output) |
| static char * | acodec_to_fourcc (char *input, char *output) |
| static char * | fourcc_to_acodec (char *input, char *output) |
| static int | cmodel_bc_to_avi (int input) |
| static void | initialize_avifile () |
Private Member Functions | |
| int | open_avifile_in (Asset *asset) |
| int | open_arne2_in (Asset *asset) |
| int | open_arne1_in (Asset *asset) |
| int | open_lavtools_in (Asset *asset) |
| int | open_avifile_out (Asset *asset) |
| int | open_arne2_out (Asset *asset) |
| int | open_arne1_out (Asset *asset) |
| int | open_lavtools_out (Asset *asset) |
Static Private Member Functions | |
| static int | check_sig_arne2 (Asset *asset, int &score) |
| static int | check_sig_arne1 (Asset *asset, int &score) |
| static int | check_sig_lavtools (Asset *asset, int &score) |
| static int | check_sig_avifile (Asset *asset, int &score) |
Private Attributes | |
| unsigned char * | temp_audio |
| int64_t | temp_allocated |
| int | source_cmodel |
Definition at line 20 of file fileavi.h.
|
||||||||||||
|
Definition at line 53 of file fileavi.C. References reset(). |
|
|
Definition at line 59 of file fileavi.C. References close_file(). |
|
||||||||||||
|
Definition at line 210 of file fileavi.C. References initialize_avifile(). Referenced by AVIACodecList::handle_event(). |
|
|
Definition at line 64 of file fileavi.C. References check_sig_arne1(), check_sig_arne2(), check_sig_avifile(), and check_sig_lavtools(). Referenced by open_file(). |
|
||||||||||||
|
Definition at line 118 of file fileavi.C. Referenced by check_sig(). |
|
||||||||||||
|
Definition at line 113 of file fileavi.C. Referenced by check_sig(). |
|
||||||||||||
|
Definition at line 128 of file fileavi.C. References Asset::path. Referenced by check_sig(). |
|
||||||||||||
|
Definition at line 123 of file fileavi.C. Referenced by check_sig(). |
|
|
Reimplemented from FileBase. Definition at line 516 of file fileavi.C. References reset(), and temp_audio. Referenced by open_avifile_in(), open_avifile_out(), and ~FileAVI(). |
|
|
Definition at line 527 of file fileavi.C. Referenced by open_avifile_out(). |
|
|
Reimplemented from FileBase. |
|
||||||||||||
|
Definition at line 237 of file fileavi.C. References initialize_avifile(). |
|
||||||||||||
|
Definition at line 182 of file fileavi.C. References initialize_avifile(). |
|
||||||||||||
|
Definition at line 555 of file fileavi.C. Referenced by open_avifile_out(). |
|
||||||||||||||||||||||||||||
|
Definition at line 569 of file fileavi.C. References AVIConfigVideo::create_objects(), and AVIConfigAudio::create_objects(). Referenced by File::get_options(). |
|
|
Definition at line 265 of file fileavi.C. Referenced by acodec_to_fourcc(), fourcc_to_acodec(), fourcc_to_vcodec(), AVIConfigVideo::generate_attributelist(), AVIConfigVideo::generate_codeclist(), AVIConfigAudio::generate_codeclist(), AVIConfigVideo::set_current_attribute(), and vcodec_to_fourcc(). |
|
|
Definition at line 489 of file fileavi.C. Referenced by open_file(). |
|
|
Definition at line 397 of file fileavi.C. Referenced by open_file(). |
|
|
Definition at line 484 of file fileavi.C. Referenced by open_file(). |
|
|
Definition at line 391 of file fileavi.C. Referenced by open_file(). |
|
|
Definition at line 412 of file fileavi.C. References Asset::audio_data, Asset::audio_length, Asset::bits, Asset::channels, close_file(), Asset::dump(), fourcc, Asset::frame_rate, Asset::height, Asset::interlace_mode, Asset::layers, MAX_STREAMS, Asset::path, Asset::sample_rate, source_cmodel, Asset::vcodec, Asset::video_data, Asset::video_length, and Asset::width. Referenced by open_file(). |
|
|
Definition at line 337 of file fileavi.C. References Asset::audio_data, Asset::channels, close_file(), cmodel_bc_to_avi(), Asset::frame_rate, get_best_colormodel(), Asset::height, Asset::layers, MAX_STREAMS, Asset::path, Asset::sample_rate, Asset::vcodec, Asset::video_data, and Asset::width. Referenced by open_file(). |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 283 of file fileavi.C. References FileBase::asset, check_sig(), Asset::format, open_arne1_in(), open_arne1_out(), open_arne2_in(), open_arne2_out(), open_avifile_in(), open_avifile_out(), open_lavtools_in(), and open_lavtools_out(). |
|
|
Definition at line 494 of file fileavi.C. Referenced by open_file(). |
|
|
Definition at line 402 of file fileavi.C. Referenced by open_file(). |
|
|
Reimplemented from FileBase. |
|
|
Reimplemented from FileBase. Definition at line 664 of file fileavi.C. References FileBase::asset, File::current_layer, FileBase::file, Asset::height, source_cmodel, and Asset::width. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 619 of file fileavi.C. References FileBase::asset, Asset::bits, Asset::channels, File::current_channel, FileBase::file, temp_allocated, and temp_audio. |
|
|
Definition at line 544 of file fileavi.C. References temp_allocated, and temp_audio. Referenced by close_file(), and FileAVI(). |
|
|
Reimplemented from FileBase. Definition at line 598 of file fileavi.C. References FileBase::asset, Asset::audio_length, File::current_layer, and FileBase::file. |
|
|
Reimplemented from FileBase. Definition at line 609 of file fileavi.C. References FileBase::asset, File::current_layer, FileBase::file, and Asset::video_length. |
|
||||||||||||
|
Definition at line 156 of file fileavi.C. References initialize_avifile(). Referenced by AVIVCodecList::handle_event(). |
|
|
Reimplemented from FileBase. |
|
||||||||||||
|
Reimplemented from FileBase. |
|
||||||||||||
|
Reimplemented from FileBase. |
|
|
Definition at line 95 of file fileavi.h. Referenced by open_avifile_in(), and read_frame(). |
|
|
Definition at line 94 of file fileavi.h. Referenced by read_samples(), and reset(). |
|
|
Definition at line 93 of file fileavi.h. Referenced by close_file(), read_samples(), and reset(). |
1.4.4