#include <remux.h>
Definition at line 353 of file include/vdr/remux.h.
◆ cPatPmtParser() [1/2]
cPatPmtParser::cPatPmtParser |
( |
bool |
UpdatePrimaryDevice = false | ) |
|
◆ cPatPmtParser() [2/2]
cPatPmtParser::cPatPmtParser |
( |
bool |
UpdatePrimaryDevice = false | ) |
|
◆ Alang() [1/2]
const char * cPatPmtParser::Alang |
( |
int |
i | ) |
const |
|
inline |
◆ Alang() [2/2]
const char * cPatPmtParser::Alang |
( |
int |
i | ) |
const |
|
inline |
◆ AncillaryPageId() [1/2]
uint16_t cPatPmtParser::AncillaryPageId |
( |
int |
i | ) |
const |
|
inline |
◆ AncillaryPageId() [2/2]
uint16_t cPatPmtParser::AncillaryPageId |
( |
int |
i | ) |
const |
|
inline |
◆ Apid() [1/2]
int cPatPmtParser::Apid |
( |
int |
i | ) |
const |
|
inline |
◆ Apid() [2/2]
int cPatPmtParser::Apid |
( |
int |
i | ) |
const |
|
inline |
◆ Apids() [1/2]
const int * cPatPmtParser::Apids |
( |
void |
| ) |
const |
|
inline |
◆ Apids() [2/2]
const int * cPatPmtParser::Apids |
( |
void |
| ) |
const |
|
inline |
◆ Atype() [1/2]
int cPatPmtParser::Atype |
( |
int |
i | ) |
const |
|
inline |
◆ Atype() [2/2]
int cPatPmtParser::Atype |
( |
int |
i | ) |
const |
|
inline |
◆ Completed() [1/2]
bool cPatPmtParser::Completed |
( |
void |
| ) |
|
|
inline |
◆ Completed() [2/2]
bool cPatPmtParser::Completed |
( |
void |
| ) |
|
|
inline |
Returns true if the PMT has been completely parsed.
Definition at line 412 of file remux.h.
References completed.
◆ CompositionPageId() [1/2]
uint16_t cPatPmtParser::CompositionPageId |
( |
int |
i | ) |
const |
|
inline |
◆ CompositionPageId() [2/2]
uint16_t cPatPmtParser::CompositionPageId |
( |
int |
i | ) |
const |
|
inline |
◆ Dlang() [1/2]
const char * cPatPmtParser::Dlang |
( |
int |
i | ) |
const |
|
inline |
◆ Dlang() [2/2]
const char * cPatPmtParser::Dlang |
( |
int |
i | ) |
const |
|
inline |
◆ Dpid() [1/2]
int cPatPmtParser::Dpid |
( |
int |
i | ) |
const |
|
inline |
◆ Dpid() [2/2]
int cPatPmtParser::Dpid |
( |
int |
i | ) |
const |
|
inline |
◆ Dpids() [1/2]
const int * cPatPmtParser::Dpids |
( |
void |
| ) |
const |
|
inline |
◆ Dpids() [2/2]
const int * cPatPmtParser::Dpids |
( |
void |
| ) |
const |
|
inline |
◆ Dtype() [1/2]
int cPatPmtParser::Dtype |
( |
int |
i | ) |
const |
|
inline |
◆ Dtype() [2/2]
int cPatPmtParser::Dtype |
( |
int |
i | ) |
const |
|
inline |
◆ GetVersions() [1/2]
bool cPatPmtParser::GetVersions |
( |
int & |
PatVersion, |
|
|
int & |
PmtVersion |
|
) |
| const |
◆ GetVersions() [2/2]
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.
◆ IsPmtPid() [1/2]
bool cPatPmtParser::IsPmtPid |
( |
int |
Pid | ) |
const |
|
inline |
◆ IsPmtPid() [2/2]
bool cPatPmtParser::IsPmtPid |
( |
int |
Pid | ) |
const |
|
inline |
Returns true if Pid the one of the PMT pids as defined by the current PAT.
If no PAT has been received yet, false will be returned.
Definition at line 400 of file remux.h.
References pmtPids.
◆ ParsePat() [1/2]
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 627 of file remux.c.
References SI::PAT::associationLoop, SI::CRCSection::CheckCRCAndParse(), dbgpatpmt, esyslog, SI::NumberedSection::getCurrentNextIndicator(), SI::NumberedSection::getLastSectionNumber(), SI::PAT::Association::getPid(), SI::NumberedSection::getSectionNumber(), SI::PAT::Association::getServiceId(), SI::PAT::getTransportStreamId(), SI::NumberedSection::getVersionNumber(), SI::PAT::Association::isNITPid(), MAX_PMT_PIDS, patVersion, pmtPids, and TsPayloadOffset().
Referenced by cIndexFileGenerator::Action(), cFileName::GetLastPatPmtVersions(), ParsePatPmt(), cDevice::PlayTs(), and cDevice::StillPicture().
◆ ParsePat() [2/2]
void cPatPmtParser::ParsePat |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the PAT data from the single TS packet in Data.
Length is always TS_SIZE.
◆ ParsePatPmt() [1/2]
bool cPatPmtParser::ParsePatPmt |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
◆ ParsePatPmt() [2/2]
bool cPatPmtParser::ParsePatPmt |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Parses the given Data (which may consist of several TS packets, typically an entire frame) and extracts the PAT and PMT.
Returns true if a valid PAT/PMT has been detected.
◆ ParsePmt() [1/2]
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 659 of file remux.c.
References SI::AC3DescriptorTag, alangs, ancillaryPageIds, apids, atypes, SI::CRCSection::CheckCRCAndParse(), cDevice::ClrAvailableTracks(), completed, 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::DescriptorLoop::getNext(), SI::PMT::getPCRPid(), SI::PMT::Stream::getPid(), SI::NumberedSection::getSectionNumber(), SI::PMT::getServiceId(), SI::PMT::Stream::getStreamType(), SI::SubtitlingDescriptor::Subtitling::getSubtitlingType(), SI::NumberedSection::getVersionNumber(), I18nNormalizeLanguageCode(), SI::ISO639LanguageDescriptorTag, SI::SubtitlingDescriptor::Subtitling::languageCode, SI::ISO639LanguageDescriptor::languageCode, SI::ISO639LanguageDescriptor::Language::languageCode, SI::ISO639LanguageDescriptor::languageLoop, MAXAPIDS, MAXDPIDS, MAXLANGCODE1, MAXSPIDS, 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, TsPayloadOffset(), TsPayloadStart(), ttAudio, ttDolby, ttSubtitle, updatePrimaryDevice, cSetup::UseDolbyDigital, vpid, and vtype.
Referenced by cIndexFileGenerator::Action(), cFileName::GetLastPatPmtVersions(), ParsePatPmt(), cDevice::PlayTs(), and cDevice::StillPicture().
◆ ParsePmt() [2/2]
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.
◆ Ppid() [1/2]
int cPatPmtParser::Ppid |
( |
void |
| ) |
const |
|
inline |
◆ Ppid() [2/2]
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 406 of file remux.h.
References ppid.
◆ Reset() [1/2]
void cPatPmtParser::Reset |
( |
void |
| ) |
|
◆ Reset() [2/2]
void cPatPmtParser::Reset |
( |
void |
| ) |
|
Resets the parser.
This function must be called whenever a new stream is parsed.
◆ SectionLength() [1/2]
int cPatPmtParser::SectionLength |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
inlineprotected |
◆ SectionLength() [2/2]
int cPatPmtParser::SectionLength |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
inlineprotected |
◆ Slang() [1/2]
const char * cPatPmtParser::Slang |
( |
int |
i | ) |
const |
|
inline |
◆ Slang() [2/2]
const char * cPatPmtParser::Slang |
( |
int |
i | ) |
const |
|
inline |
◆ Spid() [1/2]
int cPatPmtParser::Spid |
( |
int |
i | ) |
const |
|
inline |
◆ Spid() [2/2]
int cPatPmtParser::Spid |
( |
int |
i | ) |
const |
|
inline |
◆ Spids() [1/2]
const int * cPatPmtParser::Spids |
( |
void |
| ) |
const |
|
inline |
◆ Spids() [2/2]
const int * cPatPmtParser::Spids |
( |
void |
| ) |
const |
|
inline |
◆ SubtitlingType() [1/2]
uchar cPatPmtParser::SubtitlingType |
( |
int |
i | ) |
const |
|
inline |
◆ SubtitlingType() [2/2]
uchar cPatPmtParser::SubtitlingType |
( |
int |
i | ) |
const |
|
inline |
◆ Vpid() [1/2]
int cPatPmtParser::Vpid |
( |
void |
| ) |
const |
|
inline |
◆ Vpid() [2/2]
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 403 of file remux.h.
References vpid.
◆ Vtype() [1/2]
int cPatPmtParser::Vtype |
( |
void |
| ) |
const |
|
inline |
◆ Vtype() [2/2]
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 409 of file remux.h.
References vtype.
◆ alangs
char cPatPmtParser::alangs |
|
private |
◆ ancillaryPageIds
uint16_t cPatPmtParser::ancillaryPageIds |
|
private |
◆ apids
◆ atypes
int cPatPmtParser::atypes |
|
private |
◆ completed
bool cPatPmtParser::completed |
|
private |
◆ compositionPageIds
uint16_t cPatPmtParser::compositionPageIds |
|
private |
◆ dlangs
char cPatPmtParser::dlangs |
|
private |
◆ dpids
◆ dtypes
int cPatPmtParser::dtypes |
|
private |
◆ patVersion
int cPatPmtParser::patVersion |
|
private |
◆ pmt
◆ pmtPids
int cPatPmtParser::pmtPids |
|
private |
◆ pmtSize
int cPatPmtParser::pmtSize |
|
private |
◆ pmtVersion
int cPatPmtParser::pmtVersion |
|
private |
◆ ppid
◆ slangs
char cPatPmtParser::slangs |
|
private |
◆ spids
◆ subtitlingTypes
uchar cPatPmtParser::subtitlingTypes |
|
private |
◆ updatePrimaryDevice
bool cPatPmtParser::updatePrimaryDevice |
|
private |
◆ vpid
◆ vtype
The documentation for this class was generated from the following files: