#include <gri_float_to_char.h>
#include <math.h>
Defines | |
#define | _ISOC9X_SOURCE |
Functions | |
void | gri_float_to_char (const float *in, char *out, int nsamples) |
#define _ISOC9X_SOURCE |
void gri_float_to_char | ( | const float * | in, | |
char * | out, | |||
int | nsamples | |||
) |
convert array of floats to chars with rounding and saturation.
Referenced by gr_float_to_char::work().