X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fdelayvideo%2Fdelayvideo.h;h=9eebc293b222e10a7a8f6eb66552ee8fb0330204;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hp=69823fb5dc196c7e7a28f647a9410a23d6c3dc2a;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/delayvideo/delayvideo.h b/cinelerra-5.1/plugins/delayvideo/delayvideo.h index 69823fb5..9eebc293 100644 --- a/cinelerra-5.1/plugins/delayvideo/delayvideo.h +++ b/cinelerra-5.1/plugins/delayvideo/delayvideo.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef DELAYVIDEO_H @@ -42,13 +42,13 @@ class DelayVideoConfig { public: DelayVideoConfig(); - + int equivalent(DelayVideoConfig &that); void copy_from(DelayVideoConfig &that); - void interpolate(DelayVideoConfig &prev, - DelayVideoConfig &next, - int64_t prev_frame, - int64_t next_frame, + void interpolate(DelayVideoConfig &prev, + DelayVideoConfig &next, + int64_t prev_frame, + int64_t next_frame, int64_t current_frame); // kjb - match defined update() type of float instead of double. @@ -61,15 +61,15 @@ class DelayVideoSlider : public BC_TumbleTextBox { public: DelayVideoSlider(DelayVideoWindow *window, - DelayVideo *plugin, - int x, + DelayVideo *plugin, + int x, int y); - + int handle_event(); - + DelayVideo *plugin; DelayVideoWindow *window; - + }; @@ -78,10 +78,10 @@ class DelayVideoWindow : public PluginClientWindow public: DelayVideoWindow(DelayVideo *plugin); ~DelayVideoWindow(); - + void create_objects(); void update_gui(); - + DelayVideo *plugin; DelayVideoSlider *slider; }; @@ -96,7 +96,7 @@ class DelayVideo : public PluginVClient public: DelayVideo(PluginServer *server); ~DelayVideo(); - + PLUGIN_CLASS_MEMBERS(DelayVideoConfig); int process_realtime(VFrame *input_ptr, VFrame *output_ptr); int is_realtime();