dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / edge / edge.h
index 6e44d3684c5117685b9e2bbffff99171cea6ffd6..5fddd98298ec23e396209a770adaf5ecc9e0dad5 100644 (file)
@@ -1,21 +1,21 @@
 /*
  * CINELERRA
  * Copyright (C) 1997-2014 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * 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
- * 
+ *
  */
 
 
@@ -36,14 +36,10 @@ public:
 
        int equivalent(EdgeConfig &that);
        void copy_from(EdgeConfig &that);
-       void interpolate(EdgeConfig &prev, 
-               EdgeConfig &next, 
-               long prev_frame, 
-               long next_frame, 
-               long current_frame);
+       void interpolate(EdgeConfig &prev, EdgeConfig &next,
+               long prev_frame, long next_frame, long current_frame);
        void limits();
 
-
        int amount;
 };
 
@@ -51,8 +47,7 @@ class EdgePackage : public LoadPackage
 {
 public:
        EdgePackage();
-       int y1;
-       int y2;
+       int y1, y2;
 };
 
 class EdgeUnit : public LoadClient
@@ -70,16 +65,14 @@ class EdgeEngine : public LoadServer
 {
 public:
        EdgeEngine(Edge *plugin,
-               int total_clients, 
+               int total_clients,
                int total_packages);
        ~EdgeEngine();
 
        void init_packages();
-       void process(VFrame *dst, VFrame *src);
 
        LoadClient* new_client();
        LoadPackage* new_package();
-       VFrame *src, *dst;
        Edge *plugin;
 };
 
@@ -100,12 +93,8 @@ public:
                double frame_rate);
 
        EdgeEngine *engine;
-       VFrame *temp;
+       VFrame *src, *dst;
+       int w, h, color_model, bpp;
 };
 
-
-
 #endif
-
-
-