[FFmpeg-devel] [PATCH] ac3dec: fix non-optimal dithering of zero bit mantissas

madshi madshi at gmail.com
Sat Jan 5 22:26:07 CET 2013

2013/1/5 Michael Niedermayer <michaelni at gmx.at>
> divisions are slow, i would suggest:
> mantissa = (((av_lfg_get(&s->dith_state)>>8)*181)>>8) - 5931008
> (untested, thus testing is needed and welcome)

Looks good to me.

Best regards, Mathias.

More information about the ffmpeg-devel mailing list