vdr 2.8.3
cPatPmtMaker Class Reference

Public Member Functions

 cPatPmtMaker (cComponents *Components)
void ResetPids (void)
USE bool ListPids (void)
void MakePatPmt (void)
void SetVpid (int Vpid, int Vtype)
void SetApid (int Apid, int Atype, int Index)
void SetDpid (int Dpid, int Dtype, int Index)
void SetSpid (int Spid, uchar Stype, uint16_t CompositionPageId, int Index)
Public Member Functions inherited from cPatPmtGenerator
 cPatPmtGenerator (const cChannel *Channel=NULL)
void SetVersions (int PatVersion, int PmtVersion)
void SetPids (int Vpid, int Vtype, int Ppid, int Tpid, const int *Apids, const int *Atypes, const char Alangs[][MAXLANGCODE2], const int *Dpids, const int *Dtypes, const char Dlangs[][MAXLANGCODE2], const int *Spids, const uchar *Stypes, const char Slangs[][MAXLANGCODE2], const uint16_t *CompositionPageIds, const uint16_t *AncillaryPageIds)
void SetChannel (const cChannel *Channel)
uchar * GetPat (void)
uchar * GetPmt (int &Index)
int GetPatPmtSize (void)
int GetPatPmt (uchar *Dest, int Size)

Private Attributes

int vpid
int vtype
int ppid
cVector< int > apids
cVector< int > atypes
char alangs [MAXAPIDS][MAXLANGCODE2]
cVector< int > dpids
cVector< int > dtypes
char dlangs [MAXDPIDS][MAXLANGCODE2]
cVector< int > spids
cVector< uchar > stypes
char slangs [MAXSPIDS][MAXLANGCODE2]
cVector< uint16_t > compositionPageIds
cVector< bool > usedPids
cComponents * components

Additional Inherited Members

Protected Member Functions inherited from cPatPmtGenerator
int MakeStream (uchar *Target, uchar Type, int Pid)
int MakeAC3Descriptor (uchar *Target, uchar Type)
int MakeSubtitlingDescriptor (uchar *Target, const char *Language, uchar SubtitlingType, uint16_t CompositionPageId, uint16_t AncillaryPageId)
int MakeLanguageDescriptor (uchar *Target, const char *Language)
int MakeCRC (uchar *Target, const uchar *Data, int Length)
void GeneratePmtPid (int Vpid, int Ppid, int Tpid, const int *Apids, const int *Dpids, const int *Spids)
void GeneratePat (void)

Detailed Description

Definition at line 728 of file pes2ts.c.

Constructor & Destructor Documentation

◆ cPatPmtMaker()

cPatPmtMaker::cPatPmtMaker ( cComponents * Components)

Definition at line 756 of file pes2ts.c.

References components, and ResetPids().

Member Function Documentation

◆ ListPids()

bool cPatPmtMaker::ListPids ( void )

Definition at line 780 of file pes2ts.c.

References alangs, apids, atypes, compositionPageIds, dlangs, dpids, dtypes, Error(), Info(), slangs, spids, stypes, vpid, and vtype.

Referenced by cPes2TsConverter::ListPids().

◆ MakePatPmt()

void cPatPmtMaker::MakePatPmt ( void )

◆ ResetPids()

void cPatPmtMaker::ResetPids ( void )

◆ SetApid()

void cPatPmtMaker::SetApid ( int Apid,
int Atype,
int Index )

◆ SetDpid()

void cPatPmtMaker::SetDpid ( int Dpid,
int Dtype,
int Index )

◆ SetSpid()

void cPatPmtMaker::SetSpid ( int Spid,
uchar Stype,
uint16_t CompositionPageId,
int Index )

◆ SetVpid()

void cPatPmtMaker::SetVpid ( int Vpid,
int Vtype )

Definition at line 809 of file pes2ts.c.

References MakePatPmt(), ppid, vpid, and vtype.

Referenced by cPes2TsConverter::ProcessPesPacket().

Member Data Documentation

◆ alangs

char cPatPmtMaker::alangs[MAXAPIDS][MAXLANGCODE2]
private

Definition at line 735 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetApid().

◆ apids

cVector<int> cPatPmtMaker::apids
private

Definition at line 733 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetApid().

◆ atypes

cVector<int> cPatPmtMaker::atypes
private

Definition at line 734 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetApid().

◆ components

cComponents* cPatPmtMaker::components
private

Definition at line 744 of file pes2ts.c.

Referenced by cPatPmtMaker(), SetApid(), SetDpid(), and SetSpid().

◆ compositionPageIds

cVector<uint16_t> cPatPmtMaker::compositionPageIds
private

Definition at line 742 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetSpid().

◆ dlangs

char cPatPmtMaker::dlangs[MAXDPIDS][MAXLANGCODE2]
private

Definition at line 738 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetDpid().

◆ dpids

cVector<int> cPatPmtMaker::dpids
private

Definition at line 736 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetDpid().

◆ dtypes

cVector<int> cPatPmtMaker::dtypes
private

Definition at line 737 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetDpid().

◆ ppid

int cPatPmtMaker::ppid
private

Definition at line 732 of file pes2ts.c.

Referenced by MakePatPmt(), ResetPids(), and SetVpid().

◆ slangs

char cPatPmtMaker::slangs[MAXSPIDS][MAXLANGCODE2]
private

Definition at line 741 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetSpid().

◆ spids

cVector<int> cPatPmtMaker::spids
private

Definition at line 739 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetSpid().

◆ stypes

cVector<uchar> cPatPmtMaker::stypes
private

Definition at line 740 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetSpid().

◆ usedPids

cVector<bool> cPatPmtMaker::usedPids
private

Definition at line 743 of file pes2ts.c.

Referenced by ResetPids(), SetApid(), SetDpid(), and SetSpid().

◆ vpid

int cPatPmtMaker::vpid
private

Definition at line 730 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetVpid().

◆ vtype

int cPatPmtMaker::vtype
private

Definition at line 731 of file pes2ts.c.

Referenced by ListPids(), MakePatPmt(), ResetPids(), and SetVpid().


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