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

PluginAClient Class Reference

#include <pluginaclient.h>

Inheritance diagram for PluginAClient:

PluginClient PluginAClientLAD List of all members.

Public Member Functions

 PluginAClient (PluginServer *server)
virtual ~PluginAClient ()
int get_render_ptrs ()
int init_realtime_parameters ()
int is_audio ()
virtual int process_realtime (int64_t size, double **input_ptr, double **output_ptr)
virtual int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
virtual int process_buffer (int64_t size, double **buffer, int64_t start_position, int sample_rate)
virtual int process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate)
virtual int process_loop (double *buffer, int64_t &write_length)
virtual int process_loop (double **buffers, int64_t &write_length)
int plugin_process_loop (double **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_samples (double *buffer, int channel, int64_t start_position, int64_t len)
int read_samples (double *buffer, int64_t start_position, int64_t len)
int read_samples (double *buffer, int channel, int sample_rate, int64_t start_position, int64_t len)
int get_project_samplerate ()
int get_samplerate ()
int64_t local_to_edl (int64_t position)
int64_t edl_to_local (int64_t position)
void send_render_gui (void *data, int size)
void plugin_render_gui (void *data, int size)
virtual void render_gui (void *data, int size)

Public Attributes

ArrayList< float ** > input_ptr_master
ArrayList< float ** > output_ptr_master
float ** input_ptr_render
float ** output_ptr_render
int project_sample_rate
int sample_rate

Detailed Description

Definition at line 9 of file pluginaclient.h.


Constructor & Destructor Documentation

PluginAClient::PluginAClient PluginServer server  ) 
 

Definition at line 9 of file pluginaclient.C.

References PluginServer::edl, project_sample_rate, EDLSession::sample_rate, sample_rate, and EDL::session.

PluginAClient::~PluginAClient  )  [virtual]
 

Definition at line 27 of file pluginaclient.C.


Member Function Documentation

int64_t PluginAClient::edl_to_local int64_t  position  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 139 of file pluginaclient.C.

References get_project_samplerate(), and sample_rate.

int PluginAClient::get_project_samplerate  ) 
 

Reimplemented from PluginClient.

Definition at line 203 of file pluginaclient.C.

References project_sample_rate.

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

int PluginAClient::get_render_ptrs  ) 
 

Definition at line 37 of file pluginaclient.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 PluginAClient::get_samplerate  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 208 of file pluginaclient.C.

References sample_rate.

int PluginAClient::init_realtime_parameters  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 59 of file pluginaclient.C.

References PluginServer::edl, project_sample_rate, EDLSession::sample_rate, PluginClient::server, and EDL::session.

int PluginAClient::is_audio  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 31 of file pluginaclient.C.

int64_t PluginAClient::local_to_edl int64_t  position  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 130 of file pluginaclient.C.

References get_project_samplerate(), and sample_rate.

int PluginAClient::plugin_get_parameters  )  [virtual]
 

Reimplemented from PluginClient.

Definition at line 123 of file pluginaclient.C.

References get_project_samplerate(), PluginClient::plugin_get_parameters(), and sample_rate.

int PluginAClient::plugin_process_loop double **  buffers,
int64_t &  write_length
[virtual]
 

Reimplemented from PluginClient.

Definition at line 148 of file pluginaclient.C.

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

void PluginAClient::plugin_render_gui void *  data,
int  size
[virtual]
 

Reimplemented from PluginClient.

Definition at line 198 of file pluginaclient.C.

References render_gui().

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

Reimplemented from PluginClient.

Definition at line 111 of file pluginaclient.C.

References get_project_samplerate(), PluginClient::plugin_start_loop(), and sample_rate.

int PluginAClient::process_buffer int64_t  size,
double *  buffer,
int64_t  start_position,
int  sample_rate
[virtual]
 

Definition at line 94 of file pluginaclient.C.

References process_realtime(), read_samples(), and PluginClient::source_position.

int PluginAClient::process_buffer int64_t  size,
double **  buffer,
int64_t  start_position,
int  sample_rate
[virtual]
 

Definition at line 79 of file pluginaclient.C.

References process_realtime(), read_samples(), PluginClient::source_position, and PluginClient::total_in_buffers.

Referenced by PluginServer::process_buffer().

virtual int PluginAClient::process_loop double **  buffers,
int64_t &  write_length
[inline, virtual]
 

Definition at line 45 of file pluginaclient.h.

virtual int PluginAClient::process_loop double *  buffer,
int64_t &  write_length
[inline, virtual]
 

Definition at line 44 of file pluginaclient.h.

int PluginAClient::process_realtime int64_t  size,
double *  input_ptr,
double *  output_ptr
[virtual]
 

Reimplemented in PluginAClientLAD.

Definition at line 72 of file pluginaclient.C.

int PluginAClient::process_realtime int64_t  size,
double **  input_ptr,
double **  output_ptr
[virtual]
 

Reimplemented in PluginAClientLAD.

Definition at line 65 of file pluginaclient.C.

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

int PluginAClient::read_samples double *  buffer,
int  channel,
int  sample_rate,
int64_t  start_position,
int64_t  len
 

Definition at line 179 of file pluginaclient.C.

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

int PluginAClient::read_samples double *  buffer,
int64_t  start_position,
int64_t  len
 

Definition at line 169 of file pluginaclient.C.

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

int PluginAClient::read_samples double *  buffer,
int  channel,
int64_t  start_position,
int64_t  len
 

Definition at line 158 of file pluginaclient.C.

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

Referenced by process_buffer().

virtual void PluginAClient::render_gui void *  data,
int  size
[inline, virtual]
 

Definition at line 88 of file pluginaclient.h.

Referenced by plugin_render_gui().

void PluginAClient::send_render_gui void *  data,
int  size
 

Definition at line 193 of file pluginaclient.C.

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


Member Data Documentation

ArrayList<float**> PluginAClient::input_ptr_master
 

Definition at line 88 of file pluginaclient.h.

Referenced by get_render_ptrs().

float** PluginAClient::input_ptr_render
 

Definition at line 94 of file pluginaclient.h.

Referenced by get_render_ptrs().

ArrayList<float**> PluginAClient::output_ptr_master
 

Definition at line 92 of file pluginaclient.h.

Referenced by get_render_ptrs().

float** PluginAClient::output_ptr_render
 

Definition at line 95 of file pluginaclient.h.

Referenced by get_render_ptrs().

int PluginAClient::project_sample_rate
 

Definition at line 97 of file pluginaclient.h.

Referenced by get_project_samplerate(), PluginAClientLAD::init_plugin(), init_realtime_parameters(), PluginAClient(), and PluginServer::process_buffer().

int PluginAClient::sample_rate
 

Definition at line 102 of file pluginaclient.h.

Referenced by edl_to_local(), get_samplerate(), local_to_edl(), plugin_get_parameters(), plugin_start_loop(), PluginAClient(), and PluginServer::process_buffer().


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