pps_encoder_reset()

Updated: October 26, 2022

Reset an encoder prior to encoding new data

Synopsis:

#include <sys/pps.h>
            
void pps_encoder_reset(pps_encoder_t *encoder);

Arguments:

encoder
A pointer to the PPS encoder structure.

Library:

libpps

Description:

The function pps_encoder_reset() resets an encoder prior to encoding new data. If you're going to reuse the encoder, it's typically better to call pps_encoder_reset() than pps_encoder_cleanup(); if you use pps_encoder_reset(), the encoder will eventually acquire a buffer large enough such that it will require no subsequent memory allocation.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes