Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PluginVClient Class Reference

#include <pluginvclient.h>

Inheritance diagram for PluginVClient:

PluginClient List of all members.

Public Member Functions

 PluginVClient (PluginServer *server)
virtual ~PluginVClient ()
int get_render_ptrs ()
int init_realtime_parameters ()
int delete_nonrealtime_parameters ()
int is_video ()
virtual int process_realtime (VFrame **input, VFrame **output)
virtual int process_realtime (VFrame *input, VFrame *output)
virtual int process_buffer (VFrame **frame, int64_t start_position, double frame_rate)
virtual int process_buffer (VFrame *frame, int64_t start_position, double frame_rate)
void plugin_render_gui (void *data)
virtual void render_gui (void *data)
void send_render_gui (void *data)
virtual int process_loop (VFrame **buffers)
virtual int process_loop (VFrame *buffer)
int plugin_process_loop (VFrame **buffers, int64_t &write_length)
int plugin_start_loop (int64_t start, int64_t end, int64_t buffer_size, int total_buffers)
int plugin_get_parameters ()
int read_frame (VFrame *buffer, int channel, int64_t start_position)
int read_frame (VFrame *buffer, int64_t start_position)
int read_frame (VFrame *buffer, int channel, int64_t start_position, double frame_rate)
VFrame * new_temp (int w, int h, int color_model)
void age_temp ()
double get_project_framerate ()
double get_framerate ()
int64_t local_to_edl (int64_t position)
int64_t edl_to_local (int64_t position)

Public Attributes

VFrame *** video_in
VFrame *** video_out
ArrayList< VFrame *** > input_ptr_master
ArrayList< VFrame *** > output_ptr_master
VFrame *** input_ptr_render
VFrame *** output_ptr_render
double project_frame_rate
double frame_rate
int project_color_model
int use_float
int use_alpha
int use_interpolation
float aspect_w
float aspect_h
VFrame * temp

Detailed Description

Definition at line 17 of file pluginvclient.h.


Constructor & Destructor Documentation

PluginVClient::PluginVClient PluginServer server  ) 
 

Definition at line 9 of file pluginvclient.C.

References PluginServer::edl, frame_rate, EDLSession::frame_rate, project_frame_rate, EDL::session, temp, video_in, and video_out.

PluginVClient::~PluginVClient  )  [virtual]
 

Definition at line 29 of file pluginvclient.C.

References temp.


Member Function Documentation

void PluginVClient::age_temp  ) 
 

Definition at line 58 of file pluginvclient.C.

References PLUGIN_MAX_H, PLUGIN_MAX_W, and temp.

Referenced by PluginServer::process_buffer(), and PluginServer::process_transition().

int PluginVClient::delete_nonrealtime_parameters  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 91 of file pluginvclient.C.

References PluginClient::in_buffer_size, PluginClient::out_buffer_size, PluginClient::total_in_buffers, PluginClient::total_out_buffers, video_in, and video_out.

int64_t PluginVClient::edl_to_local int64_t  position  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 210 of file pluginvclient.C.

References frame_rate, and get_project_framerate().

double PluginVClient::get_framerate  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 268 of file pluginvclient.C.

References frame_rate.

double PluginVClient::get_project_framerate  ) 
 

Reimplemented from PluginClient.

Definition at line 263 of file pluginvclient.C.

References project_frame_rate.

Referenced by edl_to_local(), local_to_edl(), plugin_get_parameters(), and plugin_start_loop().

int PluginVClient::get_render_ptrs  ) 
 

Definition at line 70 of file pluginvclient.C.

References PluginClient::double_buffer_in_render, PluginClient::double_buffer_out_render, input_ptr_master, input_ptr_render, PluginClient::offset_in_render, PluginClient::offset_out_render, output_ptr_master, output_ptr_render, PluginClient::total_in_buffers, and PluginClient::total_out_buffers.

int PluginVClient::init_realtime_parameters  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 116 of file pluginvclient.C.

References EDLSession::aspect_h, aspect_h, EDLSession::aspect_w, aspect_w, EDLSession::color_model, PluginServer::edl, EDLSession::frame_rate, project_color_model, project_frame_rate, PluginClient::server, and EDL::session.

int PluginVClient::is_video  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 34 of file pluginvclient.C.

int64_t PluginVClient::local_to_edl int64_t  position  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 201 of file pluginvclient.C.

References frame_rate, and get_project_framerate().

VFrame * PluginVClient::new_temp int  w,
int  h,
int  color_model
 

Definition at line 39 of file pluginvclient.C.

References temp.

int PluginVClient::plugin_get_parameters  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 195 of file pluginvclient.C.

References frame_rate, get_project_framerate(), and PluginClient::plugin_get_parameters().

int PluginVClient::plugin_process_loop VFrame **  buffers,
int64_t &  write_length
[virtual]
 

Reimplemented from PluginClient.

Definition at line 218 of file pluginvclient.C.

References PluginClient::is_multichannel(), and PluginClient::process_loop().

void PluginVClient::plugin_render_gui void *  data  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 173 of file pluginvclient.C.

References render_gui().

int PluginVClient::plugin_start_loop int64_t  start,
int64_t  end,
int64_t  buffer_size,
int  total_buffers
[virtual]
 

Reimplemented from PluginClient.

Definition at line 183 of file pluginvclient.C.

References frame_rate, get_project_framerate(), and PluginClient::plugin_start_loop().

int PluginVClient::process_buffer VFrame *  frame,
int64_t  start_position,
double  frame_rate
[virtual]
 

Definition at line 148 of file pluginvclient.C.

References process_realtime(), and read_frame().

int PluginVClient::process_buffer VFrame **  frame,
int64_t  start_position,
double  frame_rate
[virtual]
 

Definition at line 137 of file pluginvclient.C.

References PluginClient::is_multichannel(), process_realtime(), read_frame(), and PluginClient::total_in_buffers.

Referenced by PluginServer::process_buffer().

virtual int PluginVClient::process_loop VFrame *  buffer  )  [inline, virtual]
 

Definition at line 60 of file pluginvclient.h.

virtual int PluginVClient::process_loop VFrame **  buffers  )  [inline, virtual]
 

Definition at line 59 of file pluginvclient.h.

int PluginVClient::process_realtime VFrame *  input,
VFrame *  output
[virtual]
 

Definition at line 131 of file pluginvclient.C.

int PluginVClient::process_realtime VFrame **  input,
VFrame **  output
[virtual]
 

Definition at line 125 of file pluginvclient.C.

Referenced by process_buffer(), and PluginServer::process_transition().

int PluginVClient::read_frame VFrame *  buffer,
int  channel,
int64_t  start_position,
double  frame_rate
 

Definition at line 251 of file pluginvclient.C.

References PluginServer::read_frame(), and PluginClient::server.

int PluginVClient::read_frame VFrame *  buffer,
int64_t  start_position
 

Definition at line 243 of file pluginvclient.C.

References PluginServer::read_frame(), and PluginClient::server.

int PluginVClient::read_frame VFrame *  buffer,
int  channel,
int64_t  start_position
 

Definition at line 234 of file pluginvclient.C.

References PluginServer::read_frame(), and PluginClient::server.

Referenced by process_buffer().

virtual void PluginVClient::render_gui void *  data  )  [inline, virtual]
 

Definition at line 56 of file pluginvclient.h.

Referenced by plugin_render_gui().

void PluginVClient::send_render_gui void *  data  ) 
 

Definition at line 178 of file pluginvclient.C.

References PluginServer::send_render_gui(), and PluginClient::server.


Member Data Documentation

float PluginVClient::aspect_h
 

Definition at line 130 of file pluginvclient.h.

Referenced by init_realtime_parameters().

float PluginVClient::aspect_w
 

Definition at line 130 of file pluginvclient.h.

Referenced by init_realtime_parameters().

double PluginVClient::frame_rate
 

Definition at line 125 of file pluginvclient.h.

Referenced by edl_to_local(), get_framerate(), local_to_edl(), plugin_get_parameters(), plugin_start_loop(), PluginVClient(), and PluginServer::process_buffer().

ArrayList<VFrame***> PluginVClient::input_ptr_master
 

Definition at line 112 of file pluginvclient.h.

Referenced by get_render_ptrs().

VFrame*** PluginVClient::input_ptr_render
 

Definition at line 116 of file pluginvclient.h.

Referenced by get_render_ptrs().

ArrayList<VFrame***> PluginVClient::output_ptr_master
 

Definition at line 113 of file pluginvclient.h.

Referenced by get_render_ptrs().

VFrame*** PluginVClient::output_ptr_render
 

Definition at line 117 of file pluginvclient.h.

Referenced by get_render_ptrs().

int PluginVClient::project_color_model
 

Definition at line 126 of file pluginvclient.h.

Referenced by init_realtime_parameters().

double PluginVClient::project_frame_rate
 

Definition at line 120 of file pluginvclient.h.

Referenced by get_project_framerate(), init_realtime_parameters(), PluginVClient(), and PluginServer::process_buffer().

VFrame* PluginVClient::temp
 

Definition at line 133 of file pluginvclient.h.

Referenced by age_temp(), new_temp(), PluginVClient(), and ~PluginVClient().

int PluginVClient::use_alpha
 

Definition at line 128 of file pluginvclient.h.

int PluginVClient::use_float
 

Definition at line 127 of file pluginvclient.h.

int PluginVClient::use_interpolation
 

Definition at line 129 of file pluginvclient.h.

VFrame*** PluginVClient::video_in
 

Definition at line 109 of file pluginvclient.h.

Referenced by delete_nonrealtime_parameters(), and PluginVClient().

VFrame *** PluginVClient::video_out
 

Definition at line 109 of file pluginvclient.h.

Referenced by delete_nonrealtime_parameters(), and PluginVClient().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:22 2006 for Cinelerra-svn by  doxygen 1.4.4