Diffstat (limited to 'core/multimedia/opieplayer/libmpeg3/mpeg3title.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libmpeg3/mpeg3title.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/mpeg3title.h b/core/multimedia/opieplayer/libmpeg3/mpeg3title.h new file mode 100644 index 0000000..a853217 --- a/dev/null +++ b/core/multimedia/opieplayer/libmpeg3/mpeg3title.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | #ifndef MPEG3TITLE_H | ||
21 | #define MPEG3TITLE_H | ||
22 | |||
23 | #include "mpeg3io.h" | ||
24 | |||
25 | typedef struct | ||
26 | { | ||
27 | long start_byte; | ||
28 | double start_time; | ||
29 | double absolute_start_time; | ||
30 | double absolute_end_time; | ||
31 | long end_byte; | ||
32 | double end_time; | ||
33 | int program; | ||
34 | } mpeg3demux_timecode_t; | ||
35 | |||
36 | typedef struct | ||
37 | { | ||
38 | struct mpeg3_rec *file; | ||
39 | mpeg3_fs_t *fs; | ||
40 | long total_bytes; /* Total bytes in file. Critical for seeking and length. */ | ||
41 | /* Timecode table */ | ||
42 | mpeg3demux_timecode_t *timecode_table; | ||
43 | long timecode_table_size; /* Number of entries */ | ||
44 | long timecode_table_allocation; /* Number of available slots */ | ||
45 | } mpeg3_title_t; | ||
46 | |||
47 | #endif | ||