Lines Matching refs:dither
28 ** Rule number 1 is to only apply dither when going from a larger bitwidth
31 ** Need to apply dither on all conversions marked X below.
90 pdither = psf->dither ; /* This may be NULL. */
92 /* Turn off dither on read. */
108 /* Turn off dither on write. */
124 /* Turn on dither on read if asked. */
127 pdither = psf->dither = calloc (1, sizeof (DITHER_DATA)) ;
151 /* Turn on dither on write if asked. */
154 pdither = psf->dither = calloc (1, sizeof (DITHER_DATA)) ;
221 if ((pdither = psf->dither) == NULL)
261 if ((pdither = psf->dither) == NULL)
307 if ((pdither = psf->dither) == NULL)
352 if ((pdither = psf->dither) == NULL)
446 DO_NOT_USE_sf_dither_short (const SF_DITHER_INFO *dither, const short *in, short *out, int frames, int channels)
449 if (! dither)
452 switch (dither->type & SFD_TYPEMASK)
468 DO_NOT_USE_sf_dither_int (const SF_DITHER_INFO *dither, const int *in, int *out, int frames, int channels)
471 if (! dither)
474 switch (dither->type & SFD_TYPEMASK)
490 DO_NOT_USE_sf_dither_float (const SF_DITHER_INFO *dither, const float *in, float *out, int frames, int channels)
493 if (! dither)
496 switch (dither->type & SFD_TYPEMASK)
512 DO_NOT_USE_sf_dither_double (const SF_DITHER_INFO *dither, const double *in, double *out, int frames, int channels)
515 if (! dither)
518 switch (dither->type & SFD_TYPEMASK)