Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
br::pucrio::telemidia::ginga::core::tsparser::TSPacket Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::tsparser::TSPacket:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::tsparser::TSPacket:
Collaboration graph
[legend]

Public Member Functions

 TSPacket (char *packetData)
 
 TSPacket (bool sectionType, char *payload, unsigned char payloadSize)
 
bool isConstructionFailed ()
 
unsigned short getPid ()
 
char getPacketData (char **dataStream)
 
void getPayload (char streamData[TS_PAYLOAD_SIZE])
 
void getPayload2 (char streamData[TS_PAYLOAD_SIZE])
 
unsigned char getPayloadSize ()
 
unsigned char getPayloadSize2 ()
 
bool getStartIndicator ()
 
unsigned char getPointerField ()
 
unsigned char getAdaptationFieldControl ()
 
unsigned char getContinuityCounter ()
 
void setPid (unsigned short pid)
 
void setContinuityCounter (unsigned int counter)
 
void print ()
 
void setPacketCount (unsigned int count)
 
unsigned int getPacketCount ()
 

Protected Member Functions

bool create (char data[TS_PACKET_SIZE])
 
char updateStream ()
 

Protected Attributes

char syncByte
 
bool transportErrorIndication
 
bool payloadUnitStartIndicator
 
bool transportPriority
 
unsigned short pid
 
unsigned char transportScramblingControl
 
unsigned int adaptationFieldControl
 
unsigned char continuityCounter
 
unsigned char pointerField
 
bool streamUpdated
 
unsigned int packetCount
 
char * stream
 
char payload [TS_PAYLOAD_SIZE]
 
char payload2 [TS_PAYLOAD_SIZE]
 
TSAdaptationFieldtsaf
 
unsigned char payloadSize
 
unsigned char payloadSize2
 
bool isSectionType
 
bool constructionFailed
 

Static Protected Attributes

static const unsigned int FUTURE_USE = 0
 
static const unsigned int PAYLOAD_ONLY = 1
 
static const unsigned int NO_PAYLOAD = 2
 
static const unsigned int ADAPT_PAYLOAD = 3
 

Additional Inherited Members

- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::tsparser::ITSPacket
static const unsigned char TS_PACKET_SIZE = 188
 
static const unsigned char TS_PAYLOAD_SIZE = TS_PACKET_SIZE - 4
 
static const unsigned char TS_PACKET_SYNC_BYTE = 0x47
 

The documentation for this class was generated from the following files: