54 using namespace ::br::pucrio::telemidia::ginga::core::tsparser::si;
56 #include "ITSPacket.h"
57 #include "tsparser/TSAdaptationField.h"
80 bool transportErrorIndication;
89 bool payloadUnitStartIndicator;
93 bool transportPriority;
109 unsigned char transportScramblingControl;
117 static const unsigned int FUTURE_USE = 0;
118 static const unsigned int PAYLOAD_ONLY = 1;
119 static const unsigned int NO_PAYLOAD = 2;
120 static const unsigned int ADAPT_PAYLOAD = 3;
121 unsigned int adaptationFieldControl;
126 unsigned char continuityCounter;
137 unsigned char pointerField;
140 unsigned int packetCount;
145 char payload[TS_PAYLOAD_SIZE];
146 char payload2[TS_PAYLOAD_SIZE];
148 unsigned char payloadSize;
149 unsigned char payloadSize2;
151 bool constructionFailed;
161 unsigned char payloadSize);
167 void releaseStream();
170 bool create(
char data[TS_PACKET_SIZE]);
174 bool isConstructionFailed();
175 unsigned short getPid();
176 char getPacketData(
char** dataStream);
177 void getPayload(
char streamData[TS_PAYLOAD_SIZE]);
178 void getPayload2(
char streamData[TS_PAYLOAD_SIZE]);
179 unsigned char getPayloadSize();
180 unsigned char getPayloadSize2();
181 bool getStartIndicator();
182 unsigned char getPointerField();
183 unsigned char getAdaptationFieldControl();
184 unsigned char getContinuityCounter();
185 void setPid(
unsigned short pid);
186 void setContinuityCounter(
unsigned int counter);
188 void setPacketCount(
unsigned int count);
189 unsigned int getPacketCount();
Definition: TSPacket.h:68
Definition: TSAdaptationField.h:68
Definition: ITSPacket.h:59