PackageRenderer Class Reference

#include <packagerenderer.h>

Inherited by FarmPackageRenderer, and MainPackageRenderer.

Collaboration diagram for PackageRenderer:

Collaboration graph
[legend]

Public Member Functions

 PackageRenderer ()
 ~PackageRenderer ()
int initialize (MWindow *mwindow, EDL *edl, Preferences *preferences, Asset *default_asset, ArrayList< PluginServer * > *plugindb)
int render_package (RenderPackage *package)
int direct_copy_possible (EDL *edl, int64_t current_position, Track *playable_track, Edit *&playable_edit, File *file)
int direct_frame_copy (EDL *edl, int64_t &video_position, File *file, int &result)
virtual int get_master ()
virtual int get_result ()
virtual void set_result (int value)
virtual void set_progress (int64_t total_samples)
virtual int set_video_map (int64_t position, int value)
virtual int progress_cancelled ()
void create_output ()
void create_engine ()
void do_audio ()
void do_video ()
void stop_engine ()
void stop_output ()
void close_output ()

Data Fields

EDLedl
Preferencespreferences
Assetdefault_asset
ArrayList< PluginServer * > * plugindb
Assetasset
double ** audio_output
int64_t audio_position
int64_t audio_preroll
int64_t audio_read_length
Filefile
int result
VFrame *** video_output
MWindowmwindow
double * audio_output_ptr [MAX_CHANNELS]
CICacheaudio_cache
CICachevideo_cache
VFramecompressed_output
AudioOutConfigaconfig
VideoOutConfigvconfig
PlayableTracksplayable_tracks
RenderEnginerender_engine
RenderPackagepackage
TransportCommandcommand
int direct_frame_copying
VideoDevicevideo_device
VFramevideo_output_ptr
int64_t video_preroll
int64_t video_position
int64_t video_read_length
int64_t video_write_length
int64_t video_write_position

Detailed Description

Definition at line 50 of file packagerenderer.h.


Constructor & Destructor Documentation

PackageRenderer::PackageRenderer (  ) 

Definition at line 65 of file packagerenderer.C.

References aconfig, audio_cache, command, vconfig, and video_cache.

PackageRenderer::~PackageRenderer (  ) 

Definition at line 74 of file packagerenderer.C.

References aconfig, audio_cache, command, vconfig, and video_cache.


Member Function Documentation

int PackageRenderer::initialize ( MWindow mwindow,
EDL edl,
Preferences preferences,
Asset default_asset,
ArrayList< PluginServer * > *  plugindb 
)

int PackageRenderer::render_package ( RenderPackage package  ) 

int PackageRenderer::direct_copy_possible ( EDL edl,
int64_t  current_position,
Track playable_track,
Edit *&  playable_edit,
File file 
)

int PackageRenderer::direct_frame_copy ( EDL edl,
int64_t &  video_position,
File file,
int &  result 
)

int PackageRenderer::get_master (  )  [virtual]

Reimplemented in MainPackageRenderer.

Definition at line 776 of file packagerenderer.C.

int PackageRenderer::get_result (  )  [virtual]

Reimplemented in MainPackageRenderer, and FarmPackageRenderer.

Definition at line 782 of file packagerenderer.C.

Referenced by do_video(), and render_package().

void PackageRenderer::set_result ( int  value  )  [virtual]

Reimplemented in MainPackageRenderer, and FarmPackageRenderer.

Definition at line 787 of file packagerenderer.C.

Referenced by render_package().

void PackageRenderer::set_progress ( int64_t  total_samples  )  [virtual]

Reimplemented in MainPackageRenderer, and FarmPackageRenderer.

Definition at line 791 of file packagerenderer.C.

Referenced by render_package().

int PackageRenderer::set_video_map ( int64_t  position,
int  value 
) [virtual]

Reimplemented in FarmPackageRenderer.

Definition at line 795 of file packagerenderer.C.

Referenced by direct_frame_copy(), do_video(), and stop_output().

int PackageRenderer::progress_cancelled (  )  [virtual]

Reimplemented in MainPackageRenderer.

Definition at line 799 of file packagerenderer.C.

Referenced by do_video(), and render_package().

void PackageRenderer::create_output (  ) 

void PackageRenderer::create_engine (  ) 

void PackageRenderer::do_audio (  ) 

void PackageRenderer::do_video (  ) 

void PackageRenderer::stop_engine (  ) 

Definition at line 436 of file packagerenderer.C.

References playable_tracks, and render_engine.

Referenced by render_package().

void PackageRenderer::stop_output (  ) 

void PackageRenderer::close_output (  ) 

Definition at line 477 of file packagerenderer.C.

References asset, File::close_file(), Garbage::delete_object(), file, mwindow, SigHandler::pull_file(), and MWindow::sighandler.

Referenced by render_package().

Here is the call graph for this function:


Field Documentation

Definition at line 98 of file packagerenderer.h.

Referenced by render_package().

Definition at line 99 of file packagerenderer.h.

Referenced by create_engine(), create_output(), and do_video().

Definition at line 100 of file packagerenderer.h.

Referenced by create_engine(), create_output(), and render_package().

Definition at line 101 of file packagerenderer.h.

Referenced by create_engine().

Definition at line 105 of file packagerenderer.h.

Referenced by do_audio().

Definition at line 106 of file packagerenderer.h.

Referenced by create_engine(), do_audio(), and render_package().

Definition at line 107 of file packagerenderer.h.

Referenced by create_engine(), and do_audio().

Definition at line 108 of file packagerenderer.h.

Referenced by create_engine(), do_audio(), and render_package().

Definition at line 112 of file packagerenderer.h.

Referenced by do_video().

Definition at line 115 of file packagerenderer.h.

Referenced by close_output(), create_engine(), create_output(), do_video(), and stop_output().

double* PackageRenderer::audio_output_ptr[MAX_CHANNELS]

Definition at line 116 of file packagerenderer.h.

Referenced by do_audio().

Definition at line 117 of file packagerenderer.h.

Referenced by create_engine(), initialize(), PackageRenderer(), and ~PackageRenderer().

Definition at line 119 of file packagerenderer.h.

Referenced by create_engine(), direct_frame_copy(), and stop_output().

Definition at line 120 of file packagerenderer.h.

Referenced by create_engine(), initialize(), PackageRenderer(), and ~PackageRenderer().

Definition at line 121 of file packagerenderer.h.

Referenced by create_engine(), initialize(), PackageRenderer(), and ~PackageRenderer().

Definition at line 123 of file packagerenderer.h.

Referenced by create_engine(), direct_copy_possible(), and stop_engine().

Definition at line 124 of file packagerenderer.h.

Referenced by create_engine(), do_audio(), do_video(), and stop_engine().

Definition at line 125 of file packagerenderer.h.

Referenced by create_engine(), create_output(), do_video(), and stop_output().

Definition at line 127 of file packagerenderer.h.

Referenced by create_engine(), direct_frame_copy(), and do_video().

Definition at line 128 of file packagerenderer.h.

Referenced by create_engine(), do_video(), and stop_output().

Definition at line 129 of file packagerenderer.h.

Referenced by do_video().

Definition at line 130 of file packagerenderer.h.

Referenced by create_engine(), direct_frame_copy(), and do_video().

Definition at line 131 of file packagerenderer.h.

Referenced by create_engine(), do_video(), render_package(), and stop_output().

Definition at line 132 of file packagerenderer.h.

Referenced by do_video(), and render_package().

Definition at line 133 of file packagerenderer.h.

Referenced by create_engine(), and do_video().

Definition at line 134 of file packagerenderer.h.

Referenced by create_engine(), direct_frame_copy(), do_video(), and stop_output().


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

Generated on Mon Apr 28 14:34:19 2008 for Cinelerra by  doxygen 1.5.5