Data Structures | |
struct | PIDFilterSimpleFilter_t |
Structure describing a simple PID filter that just checks the PID of the packet matches one contained in the pids array. More... | |
Defines | |
#define | MAX_PIDS 20 |
Maximum number of PIDs that can be added to a Simple PID Filter. | |
Functions | |
int | PIDFilterSimpleFilter (PIDFilter_t *pidfilter, void *arg, uint16_t pid, TSPacket_t *packet) |
Function to set as the filterpacket callback when using a SimplePIDFilter_t. |
int PIDFilterSimpleFilter | ( | PIDFilter_t * | pidfilter, | |
void * | arg, | |||
uint16_t | pid, | |||
TSPacket_t * | packet | |||
) |
Function to set as the filterpacket callback when using a SimplePIDFilter_t.
This is the function to use along with a SimplePIDFilter_t instance as the user arg, when you want to use a simple filter callback that just checks the PID of the packet is one of the specified PIDs.