adding the code documentation guide lines
[mplayer/glamo.git] / edl.h
blob1bc8e58159bdc12e7adf1ded7402f058ca4e9dce
1 // EDL version 0.6
3 #ifndef EDLH
4 #define EDLH
6 #define EDL_SKIP 0
7 #define EDL_MUTE 1
8 #define EDL_ERROR -1
9 #define EDL_MUTE_START 1
10 #define EDL_MUTE_END 0
12 struct edl_record {
13 float start_sec;
14 long start_frame;
15 float stop_sec;
16 long stop_frame;
17 float length_sec;
18 long length_frame;
19 short action;
20 short mute_state;
21 struct edl_record* next;
24 typedef struct edl_record* edl_record_ptr;
26 char *edl_filename; // file to extract edl entries from (-edl)
27 char *edl_output_filename; // file to put edl entries in (-edlout)
29 int edl_check_mode(void); // we cannot do -edl and -edlout at the same time
30 int edl_count_entries(void); // returns total No of entries needed
31 int edl_parse_file(edl_record_ptr edl_records); // fills edl stack
33 #endif