MythTV
master
|
Used to access header of a TSPacket. More...
#include <tspacket.h>
Public Member Functions | |
TSHeader () | |
TSHeader (int cc) | |
void | InitHeader (const unsigned char *header) |
bool | HasSync () const |
bool | TransportError () const |
bool | PayloadStart () const |
bool | Priority () const |
unsigned int | PID () const |
unsigned int | ScramblingControl () const |
unsigned int | AdaptationFieldControl () const |
unsigned int | ContinuityCounter () const |
bool | Scrambled () const |
bool | HasAdaptationField () const |
bool | HasPayload () const |
void | SetTransportError (bool err) |
void | SetPayloadStart (bool start) |
void | SetPriority (bool priority) |
void | SetPID (unsigned int pid) |
void | SetScrambled (unsigned int scr) |
void | SetAdaptationFieldControl (unsigned int afc) |
void | SetContinuityCounter (unsigned int cc) |
const unsigned char * | data () const |
unsigned char * | data () |
Static Public Attributes | |
static const unsigned int | kHeaderSize = 4 |
static const unsigned char | kPayloadOnlyHeader [4] |
Private Attributes | |
unsigned char | _tsdata [4] |
Used to access header of a TSPacket.
This class is also used to determine which PID a PESPacket arrived on.
Definition at line 23 of file tspacket.h.
|
inline |
Definition at line 26 of file tspacket.h.
|
inlineexplicit |
Definition at line 34 of file tspacket.h.
|
inline |
Definition at line 43 of file tspacket.h.
Referenced by TSPacket::CreatePayloadOnlyPacket().
|
inline |
Definition at line 57 of file tspacket.h.
Referenced by TSPacket::toString().
|
inline |
Definition at line 60 of file tspacket.h.
Referenced by FirewireDevice::ProcessPATPacket(), TSStreamData::ProcessTSPacket(), FirewireRecorder::ProcessTSPacket(), MPEGStreamData::ProcessTSPacket(), and TSPacket::toString().
|
inline |
Definition at line 63 of file tspacket.h.
Referenced by PESPacket::AddTSPacket(), MPEGStreamData::AssemblePSIP(), DTVRecorder::FindH264Keyframes(), DTVRecorder::FindMPEG2Keyframes(), PSIPTable::InitPESPacket(), DTVRecorder::ProcessAudioTSPacket(), FirewireDevice::ProcessPATPacket(), PTSListener::ProcessTSPacket(), DTVRecorder::ProcessVideoTSPacket(), and TSPacket::toString().
|
inline |
Definition at line 65 of file tspacket.h.
Referenced by TSPacket::toString().
|
inline |
Definition at line 67 of file tspacket.h.
Referenced by PESPacket::AddTSPacket(), MPEGStreamData::AssemblePSIP(), ATSCStreamData::DeleteCachedTable(), MPEGStreamData::HandleTSTables(), DTVRecorder::ProcessAVTSPacket(), MPEGStreamData::ProcessEncryptedPacket(), FirewireDevice::ProcessPATPacket(), TSStreamData::ProcessTSPacket(), MpegRecorder::ProcessTSPacket(), FirewireRecorder::ProcessTSPacket(), DTVRecorder::ProcessTSPacket(), MPEGStreamData::ProcessTSPacket(), DTVRecorder::ProcessVideoTSPacket(), return_4096_block(), and TSPacket::toString().
|
inline |
Definition at line 71 of file tspacket.h.
Referenced by TSPacket::toString().
|
inline |
Definition at line 77 of file tspacket.h.
Referenced by TSPacket::toString().
|
inline |
Definition at line 83 of file tspacket.h.
Referenced by PESPacket::AddTSPacket(), MPEGStreamData::CreatePATSingleProgram(), MPEGStreamData::CreatePMTSingleProgram(), DTVRecorder::HandleSingleProgramPAT(), DTVRecorder::HandleSingleProgramPMT(), DTVRecorder::ProcessAVTSPacket(), DTVRecorder::ProcessTSPacket(), PSIPTable::PSIPTable(), and TSPacket::toString().
|
inline |
Definition at line 86 of file tspacket.h.
Referenced by MPEGStreamData::HandleTSTables(), MPEGStreamData::ProcessEncryptedPacket(), FirewireDevice::ProcessPATPacket(), TSStreamData::ProcessTSPacket(), FirewireRecorder::ProcessTSPacket(), and MPEGStreamData::ProcessTSPacket().
|
inline |
Definition at line 87 of file tspacket.h.
Referenced by TSPacket::AFCOffset(), and FirewireRecorder::ProcessTSPacket().
|
inline |
Definition at line 88 of file tspacket.h.
Referenced by DTVRecorder::FindH264Keyframes(), DTVRecorder::FindMPEG2Keyframes(), DTVRecorder::ProcessAudioTSPacket(), FirewireDevice::ProcessPATPacket(), FirewireRecorder::ProcessTSPacket(), MPEGStreamData::ProcessTSPacket(), and DTVRecorder::ProcessVideoTSPacket().
|
inline |
Definition at line 90 of file tspacket.h.
|
inline |
Definition at line 93 of file tspacket.h.
|
inline |
Definition at line 96 of file tspacket.h.
|
inline |
Definition at line 99 of file tspacket.h.
Referenced by PESPacket::GetAsTSPackets().
|
inline |
Definition at line 103 of file tspacket.h.
|
inline |
Definition at line 106 of file tspacket.h.
|
inline |
Definition at line 109 of file tspacket.h.
Referenced by MPEGStreamData::CreatePATSingleProgram(), MPEGStreamData::CreatePMTSingleProgram(), PESPacket::GetAsTSPackets(), DTVRecorder::HandleSingleProgramPAT(), DTVRecorder::HandleSingleProgramPMT(), and MpegRecorder::ProcessTSPacket().
|
inline |
Definition at line 113 of file tspacket.h.
Referenced by PESPacket::AddTSPacket(), MPEGStreamData::AssemblePSIP(), DTVRecorder::BufferedWrite(), ProgramAssociationTable::CreateBlank(), ProgramMapTable::CreateBlank(), DTVRecorder::FindH264Keyframes(), DTVRecorder::FindMPEG2Keyframes(), PESPacket::GetAsTSPackets(), PSIPTable::InitPESPacket(), PTSListener::ProcessTSPacket(), PSIPTable::PSIPTable(), and TSPacket::toString().
|
inline |
Definition at line 114 of file tspacket.h.
|
static |
Definition at line 116 of file tspacket.h.
Referenced by PESPacket::AddTSPacket().
|
static |
Definition at line 117 of file tspacket.h.
|
private |
Definition at line 119 of file tspacket.h.