2004-08-28 00:46:05 +00:00
|
|
|
// EDL version 0.6
|
2002-12-23 00:33:22 +00:00
|
|
|
|
|
|
|
#ifndef EDLH
|
|
|
|
#define EDLH
|
|
|
|
|
|
|
|
#define EDL_SKIP 0
|
|
|
|
#define EDL_MUTE 1
|
2004-08-28 00:46:05 +00:00
|
|
|
#define EDL_ERROR -1
|
|
|
|
#define EDL_MUTE_START 1
|
|
|
|
#define EDL_MUTE_END 0
|
2002-12-23 00:33:22 +00:00
|
|
|
|
|
|
|
struct edl_record {
|
|
|
|
float start_sec;
|
|
|
|
long start_frame;
|
|
|
|
float stop_sec;
|
|
|
|
long stop_frame;
|
|
|
|
float length_sec;
|
|
|
|
long length_frame;
|
|
|
|
short action;
|
2004-08-28 00:46:05 +00:00
|
|
|
short mute_state;
|
2002-12-23 00:33:22 +00:00
|
|
|
struct edl_record* next;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct edl_record* edl_record_ptr;
|
|
|
|
|
2005-01-29 12:24:43 +00:00
|
|
|
extern char *edl_filename; // file to extract EDL entries from (-edl)
|
|
|
|
extern char *edl_output_filename; // file to put EDL entries in (-edlout)
|
2004-08-28 00:46:05 +00:00
|
|
|
|
|
|
|
int edl_check_mode(void); // we cannot do -edl and -edlout at the same time
|
2004-09-17 02:28:44 +00:00
|
|
|
int edl_count_entries(void); // returns total number of entries needed
|
|
|
|
int edl_parse_file(edl_record_ptr edl_records); // fills EDL stack
|
2004-08-28 00:46:05 +00:00
|
|
|
|
2002-12-23 00:33:22 +00:00
|
|
|
#endif
|