+ Alternative between track mixing mechanism (using a low pass filter)
[melted] / src / framework / mlt_geometry.h
index 524d168..41cd013 100644 (file)
@@ -29,12 +29,12 @@ struct mlt_geometry_item_s
        int key;
        // The actual frame this corresponds to 
        int frame;
-       // The mix level
-       float mix;
-       // x,y are upper left
-       float x, y, w, h;
        // Distort
        int distort;
+       // x,y are upper left
+       float x, y, w, h, mix;
+       // Indicates which values are fixed
+       int f[ 5 ];
 };
 
 struct mlt_geometry_s
@@ -61,7 +61,8 @@ extern int mlt_geometry_insert( mlt_geometry self, mlt_geometry_item item );
 // Remove the key at the specified position
 extern int mlt_geometry_remove( mlt_geometry self, int position );
 // Get the key at the position or the next following
-extern int mlt_geometry_key( mlt_geometry self, mlt_geometry_item item, int position );
+extern int mlt_geometry_next_key( mlt_geometry self, mlt_geometry_item item, int position );
+extern int mlt_geometry_prev_key( mlt_geometry self, mlt_geometry_item item, int position );
 // Serialise the current geometry
 extern char *mlt_geometry_serialise_cut( mlt_geometry self, int in, int out );
 extern char *mlt_geometry_serialise( mlt_geometry self );