Mercurial > mplayer.hg
annotate edl.h @ 14490:c6ac7e795262
100l, no endian conversion on floats!
author | reimar |
---|---|
date | Thu, 13 Jan 2005 21:56:06 +0000 |
parents | 567875b88aab |
children | 7a80c6ac5058 |
rev | line source |
---|---|
13168 | 1 // EDL version 0.6 |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
2 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
3 #ifndef EDLH |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
4 #define EDLH |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
5 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
6 #define EDL_SKIP 0 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
7 #define EDL_MUTE 1 |
13168 | 8 #define EDL_ERROR -1 |
9 #define EDL_MUTE_START 1 | |
10 #define EDL_MUTE_END 0 | |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
11 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
12 struct edl_record { |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
13 float start_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
14 long start_frame; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
15 float stop_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
16 long stop_frame; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
17 float length_sec; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
18 long length_frame; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
19 short action; |
13168 | 20 short mute_state; |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
21 struct edl_record* next; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
22 }; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
23 |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
24 typedef struct edl_record* edl_record_ptr; |
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
25 |
13358
567875b88aab
Hardcoded EDL messages moved to help_mp-en.h, Doxygen comments added, patch
diego
parents:
13168
diff
changeset
|
26 char *edl_filename; // file to extract EDL entries from (-edl) |
567875b88aab
Hardcoded EDL messages moved to help_mp-en.h, Doxygen comments added, patch
diego
parents:
13168
diff
changeset
|
27 char *edl_output_filename; // file to put EDL entries in (-edlout) |
13168 | 28 |
29 int edl_check_mode(void); // we cannot do -edl and -edlout at the same time | |
13358
567875b88aab
Hardcoded EDL messages moved to help_mp-en.h, Doxygen comments added, patch
diego
parents:
13168
diff
changeset
|
30 int edl_count_entries(void); // returns total number of entries needed |
567875b88aab
Hardcoded EDL messages moved to help_mp-en.h, Doxygen comments added, patch
diego
parents:
13168
diff
changeset
|
31 int edl_parse_file(edl_record_ptr edl_records); // fills EDL stack |
13168 | 32 |
8531
1aa2c9b460af
Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents:
diff
changeset
|
33 #endif |