54 #include "TransportSection.h"
70 static int defaultProgramNumber;
71 static int defaultProgramPid;
74 unsigned int currentPid;
75 unsigned int currentCarouselId;
76 unsigned int carouselComponentTag;
81 map<unsigned int, unsigned int> pat;
83 vector<unsigned int> unprocessedPmts;
86 map<unsigned int, Pmt*> programs;
94 bool hasStreamType(
short streamType);
95 int getPidByStreamType(
short streamType);
96 unsigned int getNextPid();
97 unsigned int getNextCarouselId();
98 unsigned int getCarouselComponentTag();
99 bool hasProgramNumber(
unsigned int programNumber);
100 bool hasPid(
unsigned int pid);
101 Pmt* getPmtByProgramNumber(
unsigned int programNumber);
102 unsigned int getTSId();
103 void setTSId(
unsigned int newTSId);
104 unsigned int getNumOfPrograms();
105 void addProgram(
unsigned int pid,
unsigned int programNumber);
106 void addPmt(
Pmt* program);
107 void replacePmt(
unsigned int pid,
Pmt* newPmt);
108 unsigned int getFirstProgramNumber();
109 unsigned int getProgramNumberByPid(
unsigned int pid);
110 short getStreamType(
unsigned int pid);
111 bool isSectionType(
unsigned int pid);
113 static void resetPayload(
char* payload,
int size);
115 bool processSectionPayload();
116 bool hasUnprocessedPmt();
117 vector<unsigned int>* getUnprocessedPmtPids();
118 map<unsigned int, Pmt*>* getProgramsInfo();
119 void checkConsistency();
120 unsigned int getDefaultProgramPid();
121 unsigned int getDefaultMainVideoPid();
122 unsigned int getDefaultMainAudioPid();
123 unsigned int getDefaultMainCarouselPid();
125 unsigned short createPatStreamByProgramPid(
unsigned short pid,
char** dataStream);
Definition: TransportSection.h:72