Reset an encoder prior to encoding new data
#include <pps.h> void pps_encoder_reset(pps_encoder_t *encoder);
libpps
The function pps_encoder_reset() resets an encoder prior to encoding new data. It's typically preferred to call pps_encoder_reset() rather than pps_encoder_cleanup() if the encoder is to be reused because by using pps_encoder_reset() the encoder will eventually acquire a buffer large enough such that it will require no subsequent memory allocation.
None.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |