Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mpeg3private.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 ** Copyright (C) 2000 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 #ifndef MPEG3PRIVATE_H
00021 #define MPEG3PRIVATE_H
00022 
00023 #include "mpeg3atrack.h"
00024 #include "mpeg3css.h"
00025 #include "mpeg3io.h"
00026 #include "mpeg3private.inc"
00027 #include "mpeg3title.h"
00028 #include "mpeg3vtrack.h"
00029 
00030 struct mpeg3_rec
00031 {
00032         mpeg3_fs_t *fs;      /* Store entry path here */
00033         mpeg3_demuxer_t *demuxer;        /* Master tables */
00034 
00035 /* Media specific */
00036         int has_audio;
00037         int has_video;
00038         int total_astreams;
00039         int total_vstreams;
00040         mpeg3_atrack_t *atrack[MPEG3_MAX_STREAMS];
00041         mpeg3_vtrack_t *vtrack[MPEG3_MAX_STREAMS];
00042 
00043 /* Only one of these is set to 1 to specify what kind of stream we have. */
00044         int is_transport_stream;
00045         int is_program_stream;
00046         int is_audio_stream;         /* Elemental stream */
00047         int is_video_stream;         /* Elemental stream */
00048         long packet_size;
00049 /* Type and stream for getting current percentage */
00050         int last_type_read;  /* 1 - audio   2 - video */
00051         int last_stream_read;
00052 
00053         int program;  /* Number of program to play */
00054         int cpus;
00055         int have_mmx;
00056 };
00057 
00058 typedef struct mpeg3_rec mpeg3_t;
00059 
00060 
00061 
00062 #endif

Generated on Sat Nov 5 16:15:37 2005 for OPIE by  doxygen 1.4.2