PaInt32 PaUtil_Generate16BitTriangularDither(PaUtilTriangularDitherGenerator *state)
Calculate 2 LSB dither signal with a triangular distribution. Ranged for adding to a 1 bit right-shif...
Definition: pa_dither.c:65
 
unsigned int PaUint32
Definition: pa_types.h:84
 
Definition of 16 and 32 bit integer types (PaInt16, PaInt32 etc) 
 
signed int PaInt32
Definition: pa_types.h:83
 
float PaUtil_GenerateFloatTriangularDither(PaUtilTriangularDitherGenerator *state)
Calculate 2 LSB dither signal with a triangular distribution. Ranged for adding to a pre-scaled float...
Definition: pa_dither.c:93
 
PaUint32 randSeed1
Definition: pa_dither.h:63
 
PaUint32 randSeed2
Definition: pa_dither.h:64
 
struct PaUtilTriangularDitherGenerator PaUtilTriangularDitherGenerator
State needed to generate a dither signal. 
 
PaUint32 previous
Definition: pa_dither.h:62
 
void PaUtil_InitializeTriangularDitherState(PaUtilTriangularDitherGenerator *state)
Initialize dither state. 
Definition: pa_dither.c:57
 
State needed to generate a dither signal. 
Definition: pa_dither.h:61