Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edl.inc
index 944d76c5b0c47f5f44d32d3eee4babb38739aeac..8b9e73037e34d85cd2eb9426aa44c9b67038f6fd 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
@@ -36,6 +37,54 @@ class EDL;
 #define LOAD_ASSETS    0x00000080
 #define LOAD_SESSION   0x00000100
 
+// Copy flags
+#define COPY_ALL               0x00000001
+#define COPY_LENGTH            0x00000002
+#define COPY_LOCAL_SESSION     0x00000004
+#define COPY_SESSION           0x00000008
+#define COPY_VIDEO_CONFIG      0x00000010
+#define COPY_AUDIO_CONFIG      0x00000020
+#define COPY_FOLDERS           0x00000040
+#define COPY_ALL_ASSETS                0x00000080
+#define COPY_USED_ASSETS       0x00000100
+#define COPY_NESTED_EDL                0x00000200
+#define COPY_CLIPS             0x00000400
+#define COPY_VWINDOWS          0x00000800
+#define COPY_MIXERS            0x00001000
+#define COPY_LABELS            0x00002000
+#define COPY_EDITS             0x00004000
+#define COPY_AUTOS             0x00008000
+#define COPY_PLUGINS           0x00010000
+
+#define COPY_ALWAYS ( \
+ COPY_LOCAL_SESSION | \
+ COPY_SESSION | \
+ COPY_VIDEO_CONFIG | \
+ COPY_AUDIO_CONFIG | \
+ COPY_FOLDERS | \
+ COPY_NESTED_EDL )
+
+#define COPY_TRACKS ( \
+ COPY_EDITS | \
+ COPY_AUTOS | \
+ COPY_PLUGINS )
+
+#define COPY_EDL ( \
+ COPY_ALL | \
+ COPY_ALWAYS | \
+ COPY_ALL_ASSETS | \
+ COPY_CLIPS | \
+ COPY_VWINDOWS | \
+ COPY_MIXERS | \
+ COPY_LABELS | \
+ COPY_TRACKS )
+
+#define COPY_CLIPBOARD ( \
+ COPY_LENGTH | \
+ COPY_ALWAYS | \
+ COPY_USED_ASSETS | \
+ COPY_LABELS | \
+ COPY_TRACKS )
 
 #define EDITING_MODES 2
 
@@ -77,6 +126,8 @@ class EDL;
 #define ASSETS_ICON_LIST 3
 #define FOLDERS_TEXT 0
 #define FOLDERS_ICONS 1
+#define ASSET_MAX_WIDTH 32767
+#define ASSET_MAX_HEIGHT 32767
 
 #define ASSET_COLUMNS 2
 
@@ -103,17 +154,37 @@ class EDL;
 #define CWINDOW_MASK_CONTROL_IN 0x15
 #define CWINDOW_MASK_CONTROL_OUT 0x16
 #define CWINDOW_MASK_TRANSLATE 0x17
+#define CWINDOW_MASK_ROTATE 0x18
+#define CWINDOW_MASK_SCALE 0x19
 
 // Inclusive limits for zoom panel
 #define MIN_ZOOM_TIME 1
 #define MAX_ZOOM_TIME 0x100000
 #define DEFAULT_ZOOM_TIME 1024
+#define DEFAULT_ZOOM_TRACK 64
 #define MIN_AMP_ZOOM 8
-#define MAX_AMP_ZOOM 262144
-#define MIN_TRACK_ZOOM 32
-#define MAX_TRACK_ZOOM 1024
+#define MAX_AMP_ZOOM 8192
+#define MIN_TRACK_ZOOM 8
+#define MAX_TRACK_ZOOM 8192
 
 #define MAX_PAN 1.0
 #define PAN_RADIUS 50
 
+#define COLLECT_EFFECTS_RECORD 1
+#define COLLECT_EFFECTS_MULTIPLE 2
+#define COLLECT_EFFECTS_MISSING 3
+#define COLLECT_EFFECTS_EMPTY 4
+#define COLLECT_EFFECTS_MASTER 5
+
+#define INSERT_EFFECTS_RECORD 1
+#define INSERT_EFFECTS_TYPE 2
+#define INSERT_EFFECTS_MULTIPLE 3
+#define INSERT_EFFECTS_MISSING 4
+#define INSERT_EFFECTS_EXTRA 5
+#define INSERT_EFFECTS_MASTER 6
+
+#define PROXY_INACTIVE 0
+#define PROXY_ACTIVE   1
+#define PROXY_DISABLED 2
+
 #endif