#include <remux.h>
Detailed Description
Definition at line 213 of file include/vdr/remux.h.
Constructor & Destructor Documentation
cPatPmtParser::cPatPmtParser |
( |
bool |
UpdatePrimaryDevice = false | ) |
|
cPatPmtParser::cPatPmtParser |
( |
bool |
UpdatePrimaryDevice = false | ) |
|
Member Function Documentation
const char* cPatPmtParser::Alang |
( |
int |
i | ) |
const |
|
inline |
const char* cPatPmtParser::Alang |
( |
int |
i | ) |
const |
|
inline |
uint16_t cPatPmtParser::AncillaryPageId |
( |
int |
i | ) |
const |
|
inline |
uint16_t cPatPmtParser::AncillaryPageId |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Apid |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Apid |
( |
int |
i | ) |
const |
|
inline |
const int* cPatPmtParser::Apids |
( |
void |
| ) |
const |
|
inline |
const int* cPatPmtParser::Apids |
( |
void |
| ) |
const |
|
inline |
int cPatPmtParser::Atype |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Atype |
( |
int |
i | ) |
const |
|
inline |
uint16_t cPatPmtParser::CompositionPageId |
( |
int |
i | ) |
const |
|
inline |
uint16_t cPatPmtParser::CompositionPageId |
( |
int |
i | ) |
const |
|
inline |
const char* cPatPmtParser::Dlang |
( |
int |
i | ) |
const |
|
inline |
const char* cPatPmtParser::Dlang |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Dpid |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Dpid |
( |
int |
i | ) |
const |
|
inline |
const int* cPatPmtParser::Dpids |
( |
void |
| ) |
const |
|
inline |
const int* cPatPmtParser::Dpids |
( |
void |
| ) |
const |
|
inline |
int cPatPmtParser::Dtype |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Dtype |
( |
int |
i | ) |
const |
|
inline |
bool cPatPmtParser::GetVersions |
( |
int & |
PatVersion, |
|
|
int & |
PmtVersion |
|
) |
| const |
bool cPatPmtParser::GetVersions |
( |
int & |
PatVersion, |
|
|
int & |
PmtVersion |
|
) |
| const |
Returns true if a valid PAT/PMT has been parsed and stores the current version numbers in the given variables.
void cPatPmtParser::ParsePat |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the PAT data from the single TS packet in Data.
Length is always TS_SIZE.
Definition at line 445 of file remux.c.
References SI::PAT::associationLoop, SI::CRCSection::CheckCRCAndParse(), dbgpatpmt, esyslog, SI::NumberedSection::getCurrentNextIndicator(), SI::NumberedSection::getLastSectionNumber(), SI::StructureLoop< T >::getNext(), SI::PAT::Association::getPid(), SI::NumberedSection::getSectionNumber(), SI::PAT::Association::getServiceId(), SI::PAT::getTransportStreamId(), SI::NumberedSection::getVersionNumber(), SI::PAT::Association::isNITPid(), patVersion, pmtPid, and TsPayloadOffset().
Referenced by cIndexFileGenerator::Action(), cFileName::GetLastPatPmtVersions(), cDevice::PlayTs(), and cDevice::StillPicture().
void cPatPmtParser::ParsePat |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the PAT data from the single TS packet in Data.
Length is always TS_SIZE.
void cPatPmtParser::ParsePmt |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the PMT data from the single TS packet in Data.
Length is always TS_SIZE. The PMT may consist of several TS packets, which are delivered to the parser through several subsequent calls to ParsePmt(). The whole PMT data will be processed once the last packet has been received.
Definition at line 474 of file remux.c.
References SI::AC3DescriptorTag, alangs, ancillaryPageIds, apids, atypes, SI::CRCSection::CheckCRCAndParse(), cDevice::ClrAvailableTracks(), compositionPageIds, dbgpatpmt, dlangs, dpids, dtypes, SI::EnhancedAC3DescriptorTag, cDevice::EnsureAudioTrack(), cDevice::EnsureSubtitleTrack(), esyslog, SI::SubtitlingDescriptor::Subtitling::getAncillaryPageId(), SI::SubtitlingDescriptor::Subtitling::getCompositionPageId(), SI::NumberedSection::getCurrentNextIndicator(), SI::Descriptor::getDescriptorTag(), SI::NumberedSection::getLastSectionNumber(), SI::StructureLoop< T >::getNext(), SI::DescriptorLoop::getNext(), SI::PMT::getPCRPid(), SI::PMT::Stream::getPid(), SI::NumberedSection::getSectionNumber(), SI::PMT::getServiceId(), SI::PMT::Stream::getStreamType(), SI::SubtitlingDescriptor::Subtitling::getSubtitlingType(), SI::TeletextDescriptor::Teletext::getTeletextMagazineNumber(), SI::TeletextDescriptor::Teletext::getTeletextPageNumber(), SI::TeletextDescriptor::Teletext::getTeletextType(), SI::NumberedSection::getVersionNumber(), I18nNormalizeLanguageCode(), SI::ISO639LanguageDescriptorTag, SI::TeletextDescriptor::Teletext::languageCode, SI::SubtitlingDescriptor::Subtitling::languageCode, SI::ISO639LanguageDescriptor::languageCode, SI::ISO639LanguageDescriptor::Language::languageCode, SI::ISO639LanguageDescriptor::languageLoop, MAXAPIDS, MAXDPIDS, MAXLANGCODE1, MAXSPIDS, MAXTXTPAGES, pmt, pmtSize, pmtVersion, ppid, cDevice::PrimaryDevice(), SectionLength(), cDevice::SetAvailableTrack(), Setup, slangs, spids, SI::PMT::Stream::streamDescriptors, SI::PMT::streamLoop, strn0cpy(), SI::SubtitlingDescriptorTag, SI::SubtitlingDescriptor::subtitlingLoop, subtitlingTypes, SI::TeletextDescriptorTag, SI::TeletextDescriptor::teletextLoop, teletextSubtitlePages, totalTtxtSubtitlePages, tpid, TsPayloadOffset(), TsPayloadStart(), ttAudio, ttDolby, ttSubtitle, tTeletextSubtitlePage::ttxtMagazine, tTeletextSubtitlePage::ttxtPage, tTeletextSubtitlePage::ttxtType, updatePrimaryDevice, cSetup::UseDolbyDigital, vpid, and vtype.
Referenced by cIndexFileGenerator::Action(), cFileName::GetLastPatPmtVersions(), cDevice::PlayTs(), and cDevice::StillPicture().
void cPatPmtParser::ParsePmt |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the PMT data from the single TS packet in Data.
Length is always TS_SIZE. The PMT may consist of several TS packets, which are delivered to the parser through several subsequent calls to ParsePmt(). The whole PMT data will be processed once the last packet has been received.
int cPatPmtParser::PmtPid |
( |
void |
| ) |
const |
|
inline |
Returns the PMT pid as defined by the current PAT.
If no PAT has been received yet, -1 will be returned.
Definition at line 258 of file remux.h.
References pmtPid.
int cPatPmtParser::PmtPid |
( |
void |
| ) |
const |
|
inline |
int cPatPmtParser::Ppid |
( |
void |
| ) |
const |
|
inline |
int cPatPmtParser::Ppid |
( |
void |
| ) |
const |
|
inline |
Returns the PCR pid as defined by the current PMT, or 0 if no PCR pid has been detected, yet.
Definition at line 264 of file remux.h.
References ppid.
void cPatPmtParser::Reset |
( |
void |
| ) |
|
void cPatPmtParser::Reset |
( |
void |
| ) |
|
Resets the parser.
This function must be called whenever a new stream is parsed.
int cPatPmtParser::SectionLength |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
inlineprotected |
int cPatPmtParser::SectionLength |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
inlineprotected |
const char* cPatPmtParser::Slang |
( |
int |
i | ) |
const |
|
inline |
const char* cPatPmtParser::Slang |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Spid |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::Spid |
( |
int |
i | ) |
const |
|
inline |
const int* cPatPmtParser::Spids |
( |
void |
| ) |
const |
|
inline |
const int* cPatPmtParser::Spids |
( |
void |
| ) |
const |
|
inline |
uchar cPatPmtParser::SubtitlingType |
( |
int |
i | ) |
const |
|
inline |
uchar cPatPmtParser::SubtitlingType |
( |
int |
i | ) |
const |
|
inline |
int cPatPmtParser::TotalTeletextSubtitlePages |
( |
| ) |
const |
|
inline |
int cPatPmtParser::TotalTeletextSubtitlePages |
( |
| ) |
const |
|
inline |
int cPatPmtParser::Tpid |
( |
void |
| ) |
|
|
inline |
Returns the teletext pid as defined by the current PMT, or 0 if no teletext pid has been detected, yet.
Definition at line 270 of file remux.h.
References tpid.
int cPatPmtParser::Tpid |
( |
void |
| ) |
|
|
inline |
int cPatPmtParser::Vpid |
( |
void |
| ) |
const |
|
inline |
int cPatPmtParser::Vpid |
( |
void |
| ) |
const |
|
inline |
Returns the video pid as defined by the current PMT, or 0 if no video pid has been detected, yet.
Definition at line 261 of file remux.h.
References vpid.
int cPatPmtParser::Vtype |
( |
void |
| ) |
const |
|
inline |
Returns the video stream type as defined by the current PMT, or 0 if no video stream type has been detected, yet.
Definition at line 267 of file remux.h.
References vtype.
int cPatPmtParser::Vtype |
( |
void |
| ) |
const |
|
inline |
Member Data Documentation
char cPatPmtParser::alangs |
|
private |
uint16_t cPatPmtParser::ancillaryPageIds |
|
private |
int cPatPmtParser::atypes |
|
private |
uint16_t cPatPmtParser::compositionPageIds |
|
private |
char cPatPmtParser::dlangs |
|
private |
int cPatPmtParser::dtypes |
|
private |
int cPatPmtParser::patVersion |
|
private |
int cPatPmtParser::pmtPid |
|
private |
int cPatPmtParser::pmtSize |
|
private |
int cPatPmtParser::pmtVersion |
|
private |
char cPatPmtParser::slangs |
|
private |
uchar cPatPmtParser::subtitlingTypes |
|
private |
int cPatPmtParser::totalTtxtSubtitlePages |
|
private |
bool cPatPmtParser::updatePrimaryDevice |
|
private |
The documentation for this class was generated from the following files: