vdr 2.6.1
|
Go to the source code of this file.
Classes | |
class | cPatFilter |
Functions | |
void | GetCaDescriptors (int Source, int Transponder, int ServiceId, const int *CaSystemIds, cDynamicBuffer &Buffer, int EsPid) |
int | GetCaPids (int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, int *Pids) |
int | GetPmtPid (int Source, int Transponder, int ServiceId) |
void GetCaDescriptors | ( | int | Source, |
int | Transponder, | ||
int | ServiceId, | ||
const int * | CaSystemIds, | ||
cDynamicBuffer & | Buffer, | ||
int | EsPid | ||
) |
Gets all CA descriptors for a given channel.
Copies all available CA descriptors for the given Source, Transponder and ServiceId into the provided buffer. Only those CA descriptors are copied that match one of the given CA system IDs (or all of them, if CaSystemIds is 0xFFFF).
int GetCaPids | ( | int | Source, |
int | Transponder, | ||
int | ServiceId, | ||
const int * | CaSystemIds, | ||
int | BufSize, | ||
int * | Pids | ||
) |
Gets all CA pids for a given channel.
Copies all available CA pids from the CA descriptors for the given Source, Transponder and ServiceId into the provided buffer at Pids (at most BufSize - 1 entries, the list will be zero-terminated). Only the CA pids of those CA descriptors are copied that match one of the given CA system IDs (or all of them, if CaSystemIds is 0xFFFF). Returns the number of pids copied into Pids (0 if no CA descriptors are available), or -1 if BufSize was too small to hold all CA pids.