34 seed = seed* 1664525 + 1013904223;
40 v = ((double)seed) / UINT_MAX;
41 seed = seed*1664525 + 1013904223;
42 v-= ((double)seed) / UINT_MAX;
57 v = (- tmp[i] + 2*tmp[i+1] - tmp[i+2]) / sqrt(6);
106 for (i=0;
filters[i].coefs; i++) {
111 for (j=0; j<f->
len; j++)
118 av_log(s,
AV_LOG_WARNING,
"Requested noise shaping dither not available at this sampling rate, using triangular hp dither\n");
134 #define TEMPLATE_DITHER_S16
136 #undef TEMPLATE_DITHER_S16
138 #define TEMPLATE_DITHER_S32
140 #undef TEMPLATE_DITHER_S32
142 #define TEMPLATE_DITHER_FLT
144 #undef TEMPLATE_DITHER_FLT
146 #define TEMPLATE_DITHER_DBL
148 #undef TEMPLATE_DITHER_DBL