VRender Class Reference

#include <vrender.h>

Inherits CommonRender.

Collaboration diagram for VRender:

Collaboration graph
[legend]

Public Member Functions

 VRender (RenderEngine *renderengine)
 VRender (MWindow *mwindow, RenderEngine *renderengine)
 ~VRender ()
VirtualConsolenew_vconsole_object ()
int get_total_tracks ()
Modulenew_module (Track *track)
int arm_playback (int64_t current_position, int64_t input_length, int64_t module_render_fragment, int64_t playback_buffer, int track_w, int track_h, int output_w, int output_h)
void run ()
int wait_for_startup ()
int start_playback ()
int get_datatype ()
int process_buffer (VFrame *video_out, int64_t input_position, int last_buffer)
int process_buffer (int64_t input_position)
int flash_output ()
void get_render_strategy (Edit *&playable_edit, int &colormodel, int &use_vconsole, int64_t position)
int get_use_vconsole (Edit *&playable_edit, int64_t position, int &get_use_vconsole)
int get_colormodel (Edit *&playable_edit, int use_vconsole, int use_brender)
int insert_timecode (Edit *&playable_edit, int64_t position, VFrame *output)
int64_t tounits (double position, int round)
double fromunits (int64_t position)

Data Fields

int64_t session_frame
int track_w
int track_h
int output_w
int output_h
int64_t vmodule_render_fragment
int64_t playback_buffer
VFramevideo_out
int64_t output_offset
VFrameinput_temp
VFrametransition_temp
OverlayFrameoverlayer
int64_t source_length
int first_frame

Private Member Functions

int init_device_buffers ()

Private Attributes

Timer timer
int64_t framerate_counter
Timer framerate_timer
int render_strategy

Detailed Description

Definition at line 13 of file vrender.h.


Constructor & Destructor Documentation

VRender::VRender ( RenderEngine renderengine  ) 

VRender::VRender ( MWindow mwindow,
RenderEngine renderengine 
)

VRender::~VRender (  ) 

Definition at line 48 of file vrender.C.

References input_temp, overlayer, and transition_temp.


Member Function Documentation

VirtualConsole * VRender::new_vconsole_object (  )  [virtual]

Reimplemented from CommonRender.

Definition at line 56 of file vrender.C.

References CommonRender::renderengine.

int VRender::get_total_tracks (  )  [virtual]

Reimplemented from CommonRender.

Definition at line 61 of file vrender.C.

References RenderEngine::edl, CommonRender::renderengine, Tracks::total_video_tracks(), and EDL::tracks.

Here is the call graph for this function:

Module * VRender::new_module ( Track track  )  [virtual]

Reimplemented from CommonRender.

Definition at line 66 of file vrender.C.

References CommonRender::renderengine.

int VRender::arm_playback ( int64_t  current_position,
int64_t  input_length,
int64_t  module_render_fragment,
int64_t  playback_buffer,
int  track_w,
int  track_h,
int  output_w,
int  output_h 
)

void VRender::run (  )  [virtual]

int VRender::wait_for_startup (  ) 

Definition at line 623 of file vrender.C.

int VRender::start_playback (  ) 

Definition at line 613 of file vrender.C.

References RenderEngine::command, TransportCommand::realtime, CommonRender::renderengine, and Thread::start().

Referenced by RenderEngine::start_video().

Here is the call graph for this function:

int VRender::get_datatype (  )  [virtual]

Reimplemented from CommonRender.

Definition at line 607 of file vrender.C.

References TRACK_VIDEO.

int VRender::process_buffer ( VFrame video_out,
int64_t  input_position,
int  last_buffer 
)

int VRender::process_buffer ( int64_t  input_position  ) 

int VRender::flash_output (  ) 

Definition at line 71 of file vrender.C.

References RenderEngine::edl, CommonRender::renderengine, RenderEngine::video, video_out, and VideoDevice::write_buffer().

Referenced by run().

Here is the call graph for this function:

void VRender::get_render_strategy ( Edit *&  playable_edit,
int &  colormodel,
int &  use_vconsole,
int64_t  position 
)

int VRender::get_use_vconsole ( Edit *&  playable_edit,
int64_t  position,
int &  get_use_vconsole 
)

int VRender::get_colormodel ( Edit *&  playable_edit,
int  use_vconsole,
int  use_brender 
)

int VRender::insert_timecode ( Edit *&  playable_edit,
int64_t  position,
VFrame output 
)

int64_t VRender::tounits ( double  position,
int  round 
) [virtual]

Reimplemented from CommonRender.

Definition at line 633 of file vrender.C.

References RenderEngine::edl, EDLSession::frame_rate, CommonRender::renderengine, Units::round(), EDL::session, and Units::to_int64().

Here is the call graph for this function:

double VRender::fromunits ( int64_t  position  )  [virtual]

Reimplemented from CommonRender.

Definition at line 641 of file vrender.C.

References RenderEngine::edl, EDLSession::frame_rate, CommonRender::renderengine, and EDL::session.

Referenced by run().

int VRender::init_device_buffers (  )  [private]

Definition at line 597 of file vrender.C.

References render_strategy, CommonRender::renderengine, RenderEngine::video, and video_out.


Field Documentation

Definition at line 71 of file vrender.h.

Referenced by run(), RenderEngine::session_position(), and VRender().

Definition at line 74 of file vrender.h.

Definition at line 74 of file vrender.h.

Definition at line 76 of file vrender.h.

Definition at line 76 of file vrender.h.

Definition at line 78 of file vrender.h.

Referenced by VRender().

Definition at line 80 of file vrender.h.

Referenced by VRender().

Definition at line 84 of file vrender.h.

Definition at line 87 of file vrender.h.

Referenced by VModule::import_frame(), VRender(), and ~VRender().

Definition at line 89 of file vrender.h.

Referenced by VModule::render(), VRender(), and ~VRender().

Definition at line 91 of file vrender.h.

Referenced by VModule::import_frame(), VirtualVNode::render_projector(), VRender(), and ~VRender().

Definition at line 96 of file vrender.h.

Definition at line 99 of file vrender.h.

Referenced by run().

Timer VRender::timer [private]

Definition at line 103 of file vrender.h.

Referenced by run().

int64_t VRender::framerate_counter [private]

Definition at line 106 of file vrender.h.

Referenced by run(), and VRender().

Definition at line 107 of file vrender.h.

Referenced by run().

int VRender::render_strategy [private]

Definition at line 108 of file vrender.h.

Referenced by init_device_buffers(), and VRender().


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

Generated on Mon Apr 28 14:50:02 2008 for Cinelerra by  doxygen 1.5.5