#include <filemov.h>
Inheritance diagram for FileMOV:

Public Member Functions | |
| FileMOV (Asset *asset, File *file) | |
| ~FileMOV () | |
| int | open_file (int rd, int wr) |
| int | close_file () |
| void | asset_to_format () |
| void | format_to_asset () |
| int64_t | get_video_length () |
| int64_t | get_audio_length () |
| 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) |
| int64_t | compressed_frame_size () |
| int | read_compressed_frame (VFrame *buffer) |
| int | write_compressed_frame (VFrame *buffer) |
| int | read_frame (VFrame *frame) |
| int | read_samples (double *buffer, int64_t len) |
| int | colormodel_supported (int colormodel) |
| int | can_copy_from (Edit *edit, int64_t position) |
| void | set_frame_start (int64_t offset) |
Static Public Member Functions | |
| static void | get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int audio_options, int video_options, int lock_compressor) |
| static int | check_sig (Asset *asset) |
| static int | get_best_colormodel (Asset *asset, int driver) |
| static char * | strtocompression (char *string) |
| static char * | compressiontostr (char *string) |
| static void | fix_codecs (Asset *asset) |
Private Member Functions | |
| void | new_audio_temp (int64_t len) |
| int | read_raw (char *buffer, int64_t samples, int track) |
| int | read_raw (VFrame *frame, float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2, int use_float, int interpolate) |
| int | reset_parameters_derived () |
Private Attributes | |
| int | quicktime_atracks |
| int | quicktime_vtracks |
| quicktime_t * | fd |
| int | depth |
| int64_t | frames_correction |
| int64_t | samples_correction |
| ArrayList< ThreadStruct * > | threadframes |
| int | total_threadframes |
| int | current_threadframe |
| Mutex * | threadframe_lock |
| FileMOVThread ** | threads |
| char | prefix_path [1024] |
| int | suffix_number |
| float ** | temp_float |
| int64_t | temp_allocated |
Friends | |
| class | FileMOVThread |
Definition at line 35 of file filemov.h.
|
||||||||||||
|
|
|
|
Definition at line 94 of file filemov.C. References close_file(), and threadframe_lock. |
|
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 498 of file filemov.C. References Edit::asset, fd, Asset::format, FileBase::match4(), and Asset::vcodec. |
|
|
Definition at line 146 of file filemov.C. References Asset::path. Referenced by File::open_file(). |
|
|
Reimplemented from FileBase. Definition at line 228 of file filemov.C. References FileBase::asset, Asset::channels, FileBase::close_file(), File::cpus, fd, FileBase::file, Asset::frame_rate, FileBase::reset_parameters(), FileMOVThread::stop_encoding(), temp_float, threadframes, threads, and FileBase::wr. Referenced by ~FileMOV(). |
|
|
Reimplemented from FileBase. |
|
|
Reimplemented from FileBase. Definition at line 960 of file filemov.C. References File::current_frame, File::current_layer, fd, and FileBase::file. |
|
|
Definition at line 1105 of file filemov.C. References _, DIV3_NAME, DIVX_NAME, DV_NAME, H263_NAME, H264_NAME, HV60_NAME, HV64_NAME, IMA4_NAME, FileBase::match4(), MJPA_NAME, MP3_NAME, MP4A_NAME, MP4V_NAME, PNGA_NAME, QTJPEG_NAME, RAW_NAME, RGB_NAME, RGBA_NAME, TWOS_NAME, ULAW_NAME, VORBIS_NAME, YUV411_NAME, YUV420_NAME, YUV422_NAME, YUV444_10BIT_NAME, YUV444_NAME, and YUVA4444_NAME. Referenced by RecordGUI::create_objects(), and MOVConfigVideo::create_objects(). |
|
|
Definition at line 129 of file filemov.C. Referenced by asset_to_format(), and get_parameters(). |
|
|
Definition at line 376 of file filemov.C. References Asset::acodec, FileBase::asset, Asset::audio_data, Asset::audio_length, Asset::bits, Asset::channels, depth, fd, Asset::format, Asset::frame_rate, Asset::height, Asset::interlace_mode, Asset::layers, Asset::sample_rate, Asset::vcodec, Asset::video_data, Asset::video_length, and Asset::width. Referenced by open_file(). |
|
|
Definition at line 537 of file filemov.C. References fd, and samples_correction. |
|
||||||||||||
|
Definition at line 422 of file filemov.C. References FileBase::match4(), and Asset::vcodec. Referenced by File::get_best_colormodel(). |
|
||||||||||||||||||||||||||||
|
Definition at line 100 of file filemov.C. References MOVConfigVideo::create_objects(), MOVConfigAudio::create_objects(), and fix_codecs(). Referenced by File::get_options(). |
|
|
|
|
|
Definition at line 567 of file filemov.C. References FileBase::asset, Asset::channels, temp_allocated, and temp_float. Referenced by read_samples(), and write_samples(). |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 169 of file filemov.C. References _, FileBase::asset, asset_to_format(), File::cpus, Asset::divx_use_deblocking, fd, FileBase::file, format_to_asset(), FileBase::match4(), Asset::path, prefix_path, read_frame(), set_video_position(), suffix_number, Asset::tcstart, and Asset::vcodec. |
|
|
Reimplemented from FileBase. Definition at line 966 of file filemov.C. References File::current_frame, File::current_layer, fd, and FileBase::file. |
|
|
Reimplemented from FileBase. Definition at line 908 of file filemov.C. References File::current_frame, File::current_layer, fd, and FileBase::file. Referenced by open_file(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 994 of file filemov.C. References File::current_frame, File::current_layer, fd, and FileBase::file. |
|
||||||||||||||||
|
|
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 1030 of file filemov.C. References File::current_channel, fd, FileBase::file, new_audio_temp(), and temp_float. |
|
|
Reimplemented from FileBase. Definition at line 152 of file filemov.C. References depth, fd, frames_correction, FileBase::prev_track, quicktime_atracks, quicktime_vtracks, samples_correction, temp_allocated, temp_float, and threads. |
|
|
Reimplemented from FileBase. Definition at line 545 of file filemov.C. References FileBase::asset, Asset::audio_length, and fd. |
|
|
Definition at line 267 of file filemov.C. References fd. |
|
|
Reimplemented from FileBase. Definition at line 555 of file filemov.C. References FileBase::asset, File::current_layer, fd, FileBase::file, and Asset::video_length. Referenced by open_file(). |
|
|
Definition at line 1068 of file filemov.C. References _, DIV3_NAME, DIVX_NAME, DV_NAME, H263_NAME, H264_NAME, HV60_NAME, HV64_NAME, IMA4_NAME, MJPA_NAME, MP3_NAME, MP4A_NAME, MP4V_NAME, PNG_NAME, PNGA_NAME, QTJPEG_NAME, RAW_NAME, RGB_NAME, RGBA_NAME, TWOS_NAME, ULAW_NAME, VORBIS_NAME, YUV411_NAME, YUV420_NAME, YUV422_NAME, YUV444_10BIT_NAME, YUV444_NAME, and YUVA4444_NAME. Referenced by MOVConfigVideoPopup::handle_event(), and MOVConfigAudioPopup::handle_event(). |
|
|
Reimplemented from FileBase. Definition at line 980 of file filemov.C. References File::current_layer, fd, and FileBase::file. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 636 of file filemov.C. References FileBase::asset, File::cpus, File::current_frame, current_threadframe, FileMOVThread::encode_buffer(), fd, FileBase::file, FileMOVThread, Asset::format, Asset::frame_rate, Asset::height, Asset::layers, FileBase::match4(), FileMOVThread::start_encoding(), threadframes, threads, total_threadframes, Asset::vcodec, and Asset::width. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 588 of file filemov.C. References FileBase::asset, Asset::channels, fd, new_audio_temp(), Asset::sample_rate, and temp_float. |
|
|
Definition at line 41 of file filemov.h. Referenced by write_frames(). |
|
|
Definition at line 104 of file filemov.h. Referenced by FileMOVThread::run(), and write_frames(). |
|
|
Definition at line 96 of file filemov.h. Referenced by asset_to_format(), format_to_asset(), and reset_parameters_derived(). |
|
|
Definition at line 95 of file filemov.h. Referenced by asset_to_format(), can_copy_from(), close_file(), compressed_frame_size(), format_to_asset(), get_audio_length(), open_file(), read_compressed_frame(), read_frame(), read_raw(), read_samples(), reset_parameters_derived(), set_audio_position(), set_frame_start(), set_video_position(), write_compressed_frame(), write_frames(), and write_samples(). |
|
|
Definition at line 97 of file filemov.h. Referenced by reset_parameters_derived(). |
|
|
Definition at line 108 of file filemov.h. Referenced by open_file(). |
|
|
Definition at line 92 of file filemov.h. Referenced by asset_to_format(), and reset_parameters_derived(). |
|
|
Definition at line 93 of file filemov.h. Referenced by asset_to_format(), and reset_parameters_derived(). |
|
|
Definition at line 98 of file filemov.h. Referenced by get_audio_length(), and reset_parameters_derived(). |
|
|
Definition at line 109 of file filemov.h. Referenced by open_file(). |
|
|
Definition at line 113 of file filemov.h. Referenced by new_audio_temp(), and reset_parameters_derived(). |
|
|
Definition at line 112 of file filemov.h. Referenced by close_file(), new_audio_temp(), read_samples(), reset_parameters_derived(), and write_samples(). |
|
|
Definition at line 105 of file filemov.h. Referenced by FileMOVThread::run(), and ~FileMOV(). |
|
|
Definition at line 101 of file filemov.h. Referenced by close_file(), FileMOVThread::run(), and write_frames(). |
|
|
Definition at line 107 of file filemov.h. Referenced by close_file(), reset_parameters_derived(), and write_frames(). |
|
|
Definition at line 103 of file filemov.h. Referenced by FileMOVThread::run(), and write_frames(). |
1.4.4