Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / maskauto.h
index 7ebb15672a9816a94a97834442678dc271b22992..6af17c3ab34f8e1ddb4a23f21da4513b0b83a097 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * 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
@@ -49,9 +50,8 @@ class MaskCoord { public: double x, y, z; };
 class MaskEdge : public ArrayList<MaskCoord>
 {
 public:
-       MaskCoord &append() { return ArrayList<MaskCoord>::append(); }
        MaskCoord &append(double x, double y, double z=0) {
-               MaskCoord &c = append();
+               MaskCoord &c = ArrayList<MaskCoord>::append();
                c.x = x;  c.y = y;  c.z = z;
                return c;
        }
@@ -81,6 +81,8 @@ public:
 };
 
 #define FEATHER_MAX 100
+// GL reg limit 1024 incls shader param list
+#define MAX_FEATHER 1000
 
 class SubMask
 {
@@ -96,8 +98,8 @@ public:
        void dump(FILE *fp);
 
        char name[BCSTRLEN];
-       float fader; // -100 - 100
-       float feather; // -100 - 100
+       float fader;
+       float feather;
        MaskPoints points;
        MaskAuto *keyframe;
 };