17 #define MAXPMTENTRIES 64 30 int MakePmtId(
int PmtPid,
int Sid) {
return PmtPid | (Sid << 16); }
31 bool PmtVersionChanged(
int PmtPid,
int Sid,
int Version,
bool SetNewVersion =
false);
48 int GetCaPids(
int Source,
int Transponder,
int ServiceId,
const int *CaSystemIds,
int BufSize,
int *Pids);
57 int GetPmtPid(
int Source,
int Transponder,
int ServiceId);
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)
Processes the data delivered to this filter.
void GetCaDescriptors(int Source, int Transponder, int ServiceId, const int *CaSystemIds, cDynamicBuffer &Buffer, int EsPid)
Gets all CA descriptors for a given channel.
int GetPmtPid(int Source, int Transponder, int ServiceId)
Gets the Pid of the PMT in which the CA descriptors for this channel are defined.
void SwitchToNextPmtPid(void)
int MakePmtId(int PmtPid, int Sid)
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
int GetCaPids(int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, int *Pids)
Gets all CA pids for a given channel.
int pmtVersion[MAXPMTENTRIES]
bool PmtVersionChanged(int PmtPid, int Sid, int Version, bool SetNewVersion=false)