Lines Matching defs:dither
40 #include "dither.h"
60 int mute_dither_threshold; // threshold for disabling dither
66 DitherState *state; // dither states for each channel
73 void (*quantize)(int16_t *dst, const float *src, float *dither, int len);
124 static void quantize_c(int16_t *dst, const float *src, float *dither, int len)
128 dst[i] = av_clip_int16(lrintf(src[i] * S16_SCALE + dither[i]));
177 float *dither = &state->noise_buf[state->noise_buf_ptr];
201 dst[i] = av_clip_int16(lrintf(sample + dither[i]));
372 "for triangular_ns dither. using triangular_hp instead.\n");
393 "dither s16 buffer");
405 "dither flt buffer");
422 silence to avoid replacing digital silence with quiet dither noise */
426 /* initialize dither states */