PluginVClient Class Reference

#include <pluginvclient.h>

Inherits PluginClient.

Inherited by _1080to540Main, _720to480Main, AgingMain, BandSlideMain, BandWipeMain, BlurMain, BlurZoomMain, BrightnessMain, BurnMain, ChromaKey, ChromaKeyHSV, ColorBalanceMain, Decimate, DeInterlaceMain, DelayVideo, DenoiseMJPEG, DenoiseVideo, DiffKey, DissolveMain, DotMain, DownSampleMain, FieldFrame, FlashMain, FlipMain, FrameField, FreezeFrameMain, GammaMain, GradientMain, HistogramMain, HoloMain, HueEffect, InterpolatePixelsMain, InterpolateVideo, InvertMain, InvertVideoEffect, IrisSquareMain, IVTCMain, LinearBlurMain, LiveVideo, LoopVideo, MotionBlurMain, MotionMain, OilEffect, OilMain, Overlay, PerspectiveMain, PolarEffect, PolarMain, QuarkMain, RadialBlurMain, ReFrame, ReframeRT, Reroute, ReverseVideo, RGB601Main, RotateEffect, ScaleMain, SelTempAvgMain, ShapeWipeMain, SharpenMain, ShiftInterlaceMain, SlideMain, SvgMain, SwapMain, ThresholdMain, TimeAvgMain, TimeFrontMain, TitleMain, TranslateMain, UnsharpMain, VideoScopeEffect, WaveEffect, WhirlEffect, WhirlMain, WipeMain, YUVEffect, YUVMain, and ZoomBlurMain.

Collaboration diagram for PluginVClient:

Collaboration graph
[legend]

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, int use_opengl=0)
int run_opengl ()
virtual int handle_opengl ()
VFrameget_input (int channel=0)
VFrameget_output (int channel=0)
int next_effect_is (char *title)
int prev_effect_is (char *title)
VFramenew_temp (int w, int h, int color_model)
void age_temp ()
VFrameget_temp ()
double get_project_framerate ()
double get_framerate ()
int64_t local_to_edl (int64_t position)
int64_t edl_to_local (int64_t position)

Data Fields

VFrame *** video_in
VFrame *** video_out
ArrayList< VFrame *** > input_ptr_master
ArrayList< VFrame *** > output_ptr_master
VFrame *** input_ptr_render
VFrame *** output_ptr_render
VFrame ** input
VFrame ** output
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
VFrametemp

Detailed Description

Definition at line 16 of file pluginvclient.h.


Constructor & Destructor Documentation

PluginVClient::PluginVClient ( PluginServer server  ) 

PluginVClient::~PluginVClient (  )  [virtual]

Definition at line 29 of file pluginvclient.C.

References temp.


Member Function Documentation

int PluginVClient::get_render_ptrs (  ) 

int PluginVClient::init_realtime_parameters (  )  [virtual]

int PluginVClient::delete_nonrealtime_parameters (  )  [virtual]

int PluginVClient::is_video (  )  [virtual]

Reimplemented from PluginClient.

Reimplemented in BandSlideMain, BandWipeMain, DissolveMain, FlashMain, IrisSquareMain, ShapeWipeMain, SlideMain, and WipeMain.

Definition at line 34 of file pluginvclient.C.

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

Definition at line 130 of file pluginvclient.C.

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

int PluginVClient::process_realtime ( VFrame input,
VFrame output 
) [virtual]

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

Reimplemented in DiffKey, MotionMain, Overlay, Reroute, and TimeFrontMain.

Definition at line 142 of file pluginvclient.C.

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

Referenced by PluginServer::process_buffer().

Here is the call graph for this function:

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

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

Reimplemented from PluginClient.

Definition at line 178 of file pluginvclient.C.

References render_gui().

Here is the call graph for this function:

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

Reimplemented in Decimate, DeInterlaceMain, GammaMain, HistogramMain, ThresholdMain, and VideoScopeEffect.

Definition at line 56 of file pluginvclient.h.

Referenced by plugin_render_gui().

void PluginVClient::send_render_gui ( void *  data  ) 

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

Definition at line 59 of file pluginvclient.h.

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

Reimplemented in _720to480Main, and ReFrame.

Definition at line 60 of file pluginvclient.h.

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

Reimplemented from PluginClient.

Definition at line 223 of file pluginvclient.C.

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

Here is the call graph for this function:

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 188 of file pluginvclient.C.

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

Here is the call graph for this function:

int PluginVClient::plugin_get_parameters (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 200 of file pluginvclient.C.

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

Here is the call graph for this function:

int PluginVClient::read_frame ( VFrame buffer,
int  channel,
int64_t  start_position 
)

int PluginVClient::read_frame ( VFrame buffer,
int64_t  start_position 
)

Definition at line 281 of file pluginvclient.C.

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

Here is the call graph for this function:

int PluginVClient::read_frame ( VFrame buffer,
int  channel,
int64_t  start_position,
double  frame_rate,
int  use_opengl = 0 
)

Definition at line 289 of file pluginvclient.C.

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

Here is the call graph for this function:

int PluginVClient::run_opengl (  ) 

int PluginVClient::handle_opengl (  )  [virtual]

VFrame * PluginVClient::get_input ( int  channel = 0  ) 

Definition at line 250 of file pluginvclient.C.

References input.

Referenced by DissolveMain::handle_opengl(), and RotateEffect::process_buffer().

VFrame * PluginVClient::get_output ( int  channel = 0  ) 

int PluginVClient::next_effect_is ( char *  title  ) 

int PluginVClient::prev_effect_is ( char *  title  ) 

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

Definition at line 39 of file pluginvclient.C.

References VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), and temp.

Referenced by RotateEffect::process_buffer(), InterpolatePixelsMain::process_buffer(), and ScaleMain::process_buffer().

Here is the call graph for this function:

void PluginVClient::age_temp (  ) 

Definition at line 58 of file pluginvclient.C.

References VFrame::get_h(), VFrame::get_w(), PLUGIN_MAX_H, PLUGIN_MAX_W, and temp.

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

Here is the call graph for this function:

VFrame * PluginVClient::get_temp (  ) 

double PluginVClient::get_project_framerate (  ) 

Reimplemented from PluginClient.

Definition at line 303 of file pluginvclient.C.

References project_frame_rate.

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

double PluginVClient::get_framerate (  )  [virtual]

int64_t PluginVClient::local_to_edl ( int64_t  position  )  [virtual]

Reimplemented from PluginClient.

Definition at line 206 of file pluginvclient.C.

References frame_rate, get_project_framerate(), and Units::round().

Referenced by ReframeRT::process_buffer().

Here is the call graph for this function:

int64_t PluginVClient::edl_to_local ( int64_t  position  )  [virtual]

Reimplemented from PluginClient.

Definition at line 215 of file pluginvclient.C.

References frame_rate, get_project_framerate(), and Units::round().

Referenced by ReframeRT::process_buffer(), and LoopVideo::process_buffer().

Here is the call graph for this function:


Field Documentation

Definition at line 131 of file pluginvclient.h.

Referenced by delete_nonrealtime_parameters(), and PluginVClient().

Definition at line 131 of file pluginvclient.h.

Referenced by delete_nonrealtime_parameters(), and PluginVClient().

Definition at line 134 of file pluginvclient.h.

Referenced by get_render_ptrs().

Definition at line 135 of file pluginvclient.h.

Referenced by get_render_ptrs().

Definition at line 138 of file pluginvclient.h.

Referenced by get_render_ptrs().

Definition at line 139 of file pluginvclient.h.

Referenced by get_render_ptrs().

Reimplemented in BlurMain, BrightnessMain, ChromaKey, ChromaKeyHSV, DelayVideo, DownSampleMain, FieldFrame, GradientMain, HistogramMain, HueEffect, IVTCMain, LinearBlurMain, MotionBlurMain, OilEffect, PerspectiveMain, PolarEffect, RadialBlurMain, SharpenMain, TimeFrontMain, TitleMain, VideoScopeEffect, WaveEffect, WhirlEffect, and ZoomBlurMain.

Definition at line 143 of file pluginvclient.h.

Referenced by get_input(), SelTempAvgMain::nextkeyframeisoffsetrestart(), LiveVideo::process_buffer(), ScaleMain::process_buffer(), PluginServer::process_buffer(), TranslateMain::process_realtime(), SvgMain::process_realtime(), PluginServer::process_transition(), YUVEffect::read_data(), WipeMain::read_data(), UnsharpMain::read_data(), TranslateMain::read_data(), TimeAvgMain::read_data(), SwapMain::read_data(), SvgMain::read_data(), SlideMain::read_data(), ShiftInterlaceMain::read_data(), ShapeWipeMain::read_data(), RotateEffect::read_data(), RGB601Main::read_data(), ReverseVideo::read_data(), Reroute::read_data(), ReframeRT::read_data(), Overlay::read_data(), MotionMain::read_data(), LoopVideo::read_data(), LiveVideo::read_data(), IrisSquareMain::read_data(), InvertVideoEffect::read_data(), InterpolateVideo::read_data(), InterpolatePixelsMain::read_data(), GammaMain::read_data(), FreezeFrameMain::read_data(), FrameField::read_data(), FlipMain::read_data(), DiffKey::read_data(), DenoiseVideo::read_data(), SelTempAvgMain::read_data(), DenoiseMJPEG::read_data(), DeInterlaceMain::read_data(), Decimate::read_data(), ColorBalanceMain::read_data(), BandWipeMain::read_data(), BandSlideMain::read_data(), _720to480Main::read_data(), _1080to540Main::read_data(), and ScaleMain::read_data().

Reimplemented in BlurMain, BrightnessMain, ChromaKey, ChromaKeyHSV, DelayVideo, DownSampleMain, GradientMain, HistogramMain, HueEffect, IVTCMain, LinearBlurMain, MotionBlurMain, OilEffect, PerspectiveMain, PolarEffect, RadialBlurMain, SharpenMain, TimeFrontMain, TitleMain, WaveEffect, WhirlEffect, and ZoomBlurMain.

Definition at line 144 of file pluginvclient.h.

Referenced by get_output(), next_effect_is(), prev_effect_is(), Overlay::process_buffer(), ScaleMain::process_buffer(), PluginServer::process_buffer(), TranslateMain::process_realtime(), SvgMain::process_realtime(), PluginServer::process_transition(), YUVEffect::save_data(), WipeMain::save_data(), UnsharpMain::save_data(), TranslateMain::save_data(), TimeAvgMain::save_data(), SwapMain::save_data(), SvgMain::save_data(), SlideMain::save_data(), ShiftInterlaceMain::save_data(), ShapeWipeMain::save_data(), RotateEffect::save_data(), RGB601Main::save_data(), ReverseVideo::save_data(), Reroute::save_data(), ReframeRT::save_data(), Overlay::save_data(), MotionMain::save_data(), LoopVideo::save_data(), LiveVideo::save_data(), IrisSquareMain::save_data(), InvertVideoEffect::save_data(), InterpolateVideo::save_data(), InterpolatePixelsMain::save_data(), GammaMain::save_data(), FreezeFrameMain::save_data(), FrameField::save_data(), FlipMain::save_data(), FieldFrame::save_data(), DiffKey::save_data(), DenoiseVideo::save_data(), SelTempAvgMain::save_data(), DenoiseMJPEG::save_data(), DeInterlaceMain::save_data(), Decimate::save_data(), ColorBalanceMain::save_data(), BandWipeMain::save_data(), BandSlideMain::save_data(), _720to480Main::save_data(), _1080to540Main::save_data(), and ScaleMain::save_data().

Definition at line 154 of file pluginvclient.h.

Referenced by init_realtime_parameters(), and DelayVideo::reconfigure().

Definition at line 156 of file pluginvclient.h.

Definition at line 158 of file pluginvclient.h.

Definition at line 160 of file pluginvclient.h.

Definition at line 162 of file pluginvclient.h.

Referenced by init_realtime_parameters(), and ShapeWipeMain::read_pattern_image().

Definition at line 163 of file pluginvclient.h.

Referenced by init_realtime_parameters(), and ShapeWipeMain::read_pattern_image().


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

Generated on Mon Apr 28 14:36:52 2008 for Cinelerra by  doxygen 1.5.5