www.pudn.com > NETVIDEO.rar > mpeg3private.h


#ifndef MPEG3PRIVATE_H 
#define MPEG3PRIVATE_H 
 
#include "mpeg3atrack.h" 
#include "mpeg3css.h" 
#include "mpeg3io.h" 
#include "mpeg3private.inc" 
#include "mpeg3title.h" 
#include "mpeg3vtrack.h" 
 
typedef struct 
{ 
	mpeg3_fs_t *fs;      /* Store entry path here */ 
	mpeg3_demuxer_t *demuxer;        /* Master tables */ 
 
/* Media specific */ 
	int total_astreams; 
	int total_vstreams; 
	mpeg3_atrack_t *atrack[MPEG3_MAX_STREAMS]; 
	mpeg3_vtrack_t *vtrack[MPEG3_MAX_STREAMS]; 
 
	uint64_t **frame_offsets; 
	uint64_t **sample_offsets; 
	uint64_t **keyframe_numbers; 
	int *total_frame_offsets; 
	int *total_sample_offsets; 
	int *total_keyframe_numbers; 
 
/* Only one of these is set to 1 to specify what kind of stream we have. */ 
	int is_transport_stream; 
	int is_program_stream; 
	int is_ifo_file; 
	int is_audio_stream;         /* Elemental stream */ 
	int is_video_stream;         /* Elemental stream */ 
// > 0 if known otherwise determine empirically for every packet 
	long packet_size; 
/* Type and stream for getting current percentage */ 
	int last_type_read;  /* 1 - audio   2 - video */ 
	int last_stream_read; 
 
	int program;  /* Number of program to play */ 
	int cpus; 
	int seekable; /* Filesystem is seekable */ 
} mpeg3_t; 
 
 
 
 
#endif