Function caerPolarityEventValidate
Defined in File polarity.h
Function Documentation
-
static inline void caerPolarityEventValidate(caerPolarityEvent event, caerPolarityEventPacket packet)
Validate the current event by setting its valid bit to true and increasing the event packet’s event count and valid event count. Only works on events that are invalid. DO NOT CALL THIS AFTER HAVING PREVIOUSLY ALREADY INVALIDATED THIS EVENT, the total count will be incorrect.
- Parameters:
event – a valid PolarityEvent pointer. Cannot be NULL.
packet – the PolarityEventPacket pointer for the packet containing this event. Cannot be NULL.