MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | Friends
TSPacket Class Reference

Used to access the data of a Transport Stream packet. More...

#include <tspacket.h>

Inheritance diagram for TSPacket:
TSHeader TS8VSBEmissionPacket TSDVBEmissionPacket TSISDBEmissionPacket

List of all members.

Public Member Functions

 TSPacket ()
TSPacketCreateClone () 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 TSPacketCreatePayloadOnlyPacket ()

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 TSPacketkNullPacket

Private Attributes

unsigned char _tspayload [184]

Friends

class PESPacket

Detailed Description

Used to access the data of a Transport Stream packet.

See also:
TSHeader, PESPacket, HDTVRecorder

Definition at line 127 of file tspacket.h.


Constructor & Destructor Documentation

TSPacket::TSPacket ( ) [inline]

Definition at line 132 of file tspacket.h.


Member Function Documentation

static TSPacket* TSPacket::CreatePayloadOnlyPacket ( ) [inline, static]
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]
unsigned int TSPacket::StartOfFieldPointer ( ) const [inline]

Definition at line 173 of file tspacket.h.

Referenced by MPEGStreamData::AssemblePSIP(), and PESPacket::InitPESPacket().

Definition at line 175 of file tspacket.h.

Referenced by CreatePayloadOnlyPacket().

QString TSPacket::toString ( void  ) const

Definition at line 37 of file tspacket.cpp.


Friends And Related Function Documentation

friend class PESPacket [friend]

Definition at line 129 of file tspacket.h.


Member Data Documentation

const unsigned int TSPacket::kSize = 188 [static]
const unsigned int TSPacket::kPayloadSize = 188-4 [static]
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]
Initial value:
    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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends