Diffstat (limited to 'core/multimedia/opieplayer/libmpeg3/mpeg3private.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libmpeg3/mpeg3private.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/mpeg3private.h b/core/multimedia/opieplayer/libmpeg3/mpeg3private.h new file mode 100644 index 0000000..f0e11aa --- a/dev/null +++ b/core/multimedia/opieplayer/libmpeg3/mpeg3private.h | |||
@@ -0,0 +1,62 @@ | |||
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 MPEG3PRIVATE_H | ||
21 | #define MPEG3PRIVATE_H | ||
22 | |||
23 | #include "mpeg3atrack.h" | ||
24 | #include "mpeg3css.h" | ||
25 | #include "mpeg3io.h" | ||
26 | #include "mpeg3private.inc" | ||
27 | #include "mpeg3title.h" | ||
28 | #include "mpeg3vtrack.h" | ||
29 | |||
30 | struct mpeg3_rec | ||
31 | { | ||
32 | mpeg3_fs_t *fs; /* Store entry path here */ | ||
33 | mpeg3_demuxer_t *demuxer; /* Master tables */ | ||
34 | |||
35 | /* Media specific */ | ||
36 | int has_audio; | ||
37 | int has_video; | ||
38 | int total_astreams; | ||
39 | int total_vstreams; | ||
40 | mpeg3_atrack_t *atrack[MPEG3_MAX_STREAMS]; | ||
41 | mpeg3_vtrack_t *vtrack[MPEG3_MAX_STREAMS]; | ||
42 | |||
43 | /* Only one of these is set to 1 to specify what kind of stream we have. */ | ||
44 | int is_transport_stream; | ||
45 | int is_program_stream; | ||
46 | int is_audio_stream; /* Elemental stream */ | ||
47 | int is_video_stream; /* Elemental stream */ | ||
48 | long packet_size; | ||
49 | /* Type and stream for getting current percentage */ | ||
50 | int last_type_read; /* 1 - audio 2 - video */ | ||
51 | int last_stream_read; | ||
52 | |||
53 | int program; /* Number of program to play */ | ||
54 | int cpus; | ||
55 | int have_mmx; | ||
56 | }; | ||
57 | |||
58 | typedef struct mpeg3_rec mpeg3_t; | ||
59 | |||
60 | |||
61 | |||
62 | #endif | ||