version 1.9, 2001/04/25 16:17:05
|
version 1.10, 2001/04/30 15:58:29
|
Line 189 typedef struct {
|
Line 189 typedef struct {
|
n = p->next; free (p); p = n; \ |
n = p->next; free (p); p = n; \ |
} } |
} } |
|
|
|
/* Supported input file types */ |
|
typedef enum { |
|
ct_packetized, /* packetized elementary stream */ |
|
ct_program, /* program stream */ |
|
ct_transport, /* transport stream */ |
|
ct_unknown |
|
} content_type; |
|
|
|
/* stream data types, dependend on buffer contents */ |
|
typedef enum { |
|
sd_data, /* PES packet */ |
|
sd_map, /* mapreference containing descriptors */ |
|
sd_unparsedsi, /* TS packet containing raw partial SI sections */ |
|
sd_unknown |
|
} streamdata_type; |
|
|
/* Reference descriptors as these are parsed from PSI */ |
/* Reference descriptors as these are parsed from PSI */ |
typedef struct { |
typedef struct { |
int programnumber; |
int programnumber; |
Line 228 typedef struct tssidescr {
|
Line 244 typedef struct tssidescr {
|
short pid_high; |
short pid_high; |
} tssi_descr; |
} tssi_descr; |
|
|
/* Supported input file types */ |
|
typedef enum { |
|
ct_none, |
|
ct_packetized, |
|
ct_program, |
|
ct_transport, |
|
ct_unknown |
|
} content_type; |
|
|
|
/* Source file */ |
/* Source file */ |
typedef struct { |
typedef struct { |
refr_data data; |
refr_data data; |
Line 250 typedef struct {
|
Line 257 typedef struct {
|
int total; /* split total (skipped, used, wasted) */ |
int total; /* split total (skipped, used, wasted) */ |
int sequence; /* source counter for PES sequence */ |
int sequence; /* source counter for PES sequence */ |
short opendatastreams; |
short opendatastreams; |
short openmapstreams; |
short openotherstreams; |
char *append_name; |
char *append_name; |
int append_filerefnum; |
int append_filerefnum; |
int append_repeatitions; |
int append_repeatitions; |
Line 325 typedef struct streamdescr {
|
Line 332 typedef struct streamdescr {
|
byte *elemdvld[NUMBER_ELEMD]; /* as valid for out */ |
byte *elemdvld[NUMBER_ELEMD]; /* as valid for out */ |
byte elemdescr[MAX_PSI_SIZE]; |
byte elemdescr[MAX_PSI_SIZE]; |
/*what if a stream is leftupper corner in one prog, but elsewhere in another?*/ |
/*what if a stream is leftupper corner in one prog, but elsewhere in another?*/ |
boolean isamap; |
streamdata_type streamdata; |
union { |
union { |
struct { |
struct { |
struct streamdescr *mapstream; |
struct streamdescr *mapstream; |
Line 348 typedef struct streamdescr {
|
Line 355 typedef struct streamdescr {
|
int psi_length; |
int psi_length; |
byte psi_data[MAX_PSI_SIZE+TS_PACKET_SIZE]; |
byte psi_data[MAX_PSI_SIZE+TS_PACKET_SIZE]; |
} m; |
} m; |
|
struct { |
|
t_msec delta; |
|
} usi; |
} u; |
} u; |
} stream_descr; |
} stream_descr; |
|
|