Used to access the data of a Transport Stream packet. More...
#include <tspacket.h>
Public Member Functions | |
| TSPacket () | |
| TSPacket * | CreateClone () const |
| void | InitPayload (const unsigned char *payload) |
| void | InitPayload (const unsigned char *payload, uint size) |
| unsigned int | AFCOffset () const |
| unsigned int | StartOfFieldPointer () const |
| void | SetStartOfFieldPointer (uint sof) |
| QString | toString () const |
Static Public Member Functions | |
| static TSPacket * | CreatePayloadOnlyPacket () |
Static Public Attributes | |
| static const unsigned int | kSize = 188 |
| static const unsigned int | kPayloadSize = 188-4 |
| static const unsigned int | kDVBEmissionSize = 204 |
| static const unsigned int | kISDBEmissionSize = 204 |
| static const unsigned int | k8VSBEmissionSize = 208 |
| static const TSPacket * | kNullPacket |
Private Attributes | |
| unsigned char | _tspayload [184] |
Friends | |
| class | PESPacket |
Used to access the data of a Transport Stream packet.
Definition at line 127 of file tspacket.h.
| TSPacket::TSPacket | ( | ) | [inline] |
Definition at line 132 of file tspacket.h.
| static TSPacket* TSPacket::CreatePayloadOnlyPacket | ( | ) | [inline, static] |
Definition at line 134 of file tspacket.h.
Referenced by ProgramMapTable::CreateBlank(), and ProgramAssociationTable::CreateBlank().
| TSPacket* TSPacket::CreateClone | ( | ) | const [inline] |
Definition at line 143 of file tspacket.h.
Referenced by MpegRecorder::ProcessTSPacket().
| void TSPacket::InitPayload | ( | const unsigned char * | payload | ) | [inline] |
Definition at line 149 of file tspacket.h.
| void TSPacket::InitPayload | ( | const unsigned char * | payload, | |
| uint | size | |||
| ) | [inline] |
Definition at line 155 of file tspacket.h.
| unsigned int TSPacket::AFCOffset | ( | ) | const [inline] |
Definition at line 168 of file tspacket.h.
Referenced by MPEGStreamData::AssemblePSIP(), DTVRecorder::FindH264Keyframes(), DTVRecorder::FindMPEG2Keyframes(), PESPacket::InitPESPacket(), and PTSListener::ProcessTSPacket().
| unsigned int TSPacket::StartOfFieldPointer | ( | ) | const [inline] |
Definition at line 173 of file tspacket.h.
Referenced by MPEGStreamData::AssemblePSIP(), and PESPacket::InitPESPacket().
| void TSPacket::SetStartOfFieldPointer | ( | uint | sof | ) | [inline] |
Definition at line 175 of file tspacket.h.
Referenced by CreatePayloadOnlyPacket().
| QString TSPacket::toString | ( | void | ) | const |
Definition at line 37 of file tspacket.cpp.
friend class PESPacket [friend] |
Definition at line 129 of file tspacket.h.
const unsigned int TSPacket::kSize = 188 [static] |
Definition at line 180 of file tspacket.h.
Referenced by IPTVRecorder::AddData(), FirewireRecorder::AddData(), MPEGStreamData::AssemblePSIP(), FirewireDevice::BroadcastToListeners(), DTVRecorder::BufferedWrite(), DTVRecorder::DTVRecorder(), DTVRecorder::FindH264Keyframes(), DTVRecorder::FindMPEG2Keyframes(), PESPacket::GetAsTSPackets(), IPTVFeederUDP::Open(), IPTVFeederRTSP::Open(), IPTVFeederRTP::Open(), IPTVFeederFile::Open(), ASIStreamHandler::Open(), MpegRecorder::OpenV4L2DeviceAsInput(), PESPacket::PESPacket(), MPEGStreamData::ProcessData(), PTSListener::ProcessTSPacket(), MPEGStreamData::ResyncStream(), HDHRStreamHandler::run(), CetonStreamHandler::run(), DVBStreamHandler::RunTS(), and LinuxFirewireDevice::SetAVStreamBufferSize().
const unsigned int TSPacket::kPayloadSize = 188-4 [static] |
Definition at line 181 of file tspacket.h.
Referenced by PESPacket::AddTSPacket(), ProgramAssociationTable::CreateBlank(), PESPacket::GetAsTSPackets(), and InitPayload().
const unsigned int TSPacket::kDVBEmissionSize = 204 [static] |
Definition at line 182 of file tspacket.h.
Referenced by ASIStreamHandler::Open().
const unsigned int TSPacket::kISDBEmissionSize = 204 [static] |
Definition at line 183 of file tspacket.h.
const unsigned int TSPacket::k8VSBEmissionSize = 208 [static] |
Definition at line 184 of file tspacket.h.
const TSPacket * TSPacket::kNullPacket [static] |
reinterpret_cast<const TSPacket*>(NULL_PACKET_BYTES)
Definition at line 185 of file tspacket.h.
unsigned char TSPacket::_tspayload[184] [private] |
Definition at line 187 of file tspacket.h.
Referenced by CreatePayloadOnlyPacket().
1.6.3